← All articles

SData guide

Using Maycee Retail Dataset with Python

Connect to your licensed Maycee Retail Dataset access with Python while keeping credentials out of notebooks and source control.

29 August 2026 SData

Maycee Retail Dataset is designed for practical analytics, data engineering, business intelligence, and AI evaluation work. Licensed access includes an S3 bucket and prefix that define the data available to your organisation.

Keep your delivery details private. Store the access key, secret access key, bucket, and prefix in environment variables or an approved secrets manager. Do not commit them to a repository, paste them into tickets, or share them in screenshots.

The Python example below lists a small number of objects under the prefix supplied with your licence. It does not change data. From there, use your preferred tools to read the approved files, build a local prototype, or load the data into an authorised analytics environment.

Your licence defines the permitted use and data scope. If a value is missing or access does not behave as expected, contact SData rather than trying to broaden the S3 policy or share credentials with another person.

Local setup

Set the values from your SData delivery details in your environment. Do not put access credentials in source control, notebooks shared with others, or screenshots.

import os

import boto3

s3 = boto3.client("s3", region_name=os.environ["AWS_DEFAULT_REGION"])
response = s3.list_objects_v2(
    Bucket=os.environ["MAYCEE_S3_BUCKET"],
    Prefix=os.environ["MAYCEE_S3_PREFIX"],
    MaxKeys=25,
)

for item in response.get("Contents", []):
    print(item["Key"])

Need access or help choosing a tier?

Review the Maycee Retail Dataset product page or contact SData for product and enterprise enquiries.