# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# ## Initial Setup

# +
import syft as sy
import torch as th

# create owner login
sy.login().setup(email="<EMAIL>", password="<PASSWORD>", domain_name="Domain")
# -

# ### Log in as Owner

domain = sy.login(email="<EMAIL>", password="<PASSWORD>")

# ### Upload a Dataset

dataset = domain.datasets.create('diabetes-dataset.tar.gz')

domain.datasets

domain.datasets[0]

# ### Create a Data Compliance Officer 

domain.roles.all(pandas=True)

domain.users.create(
    email="<EMAIL>", password="<PASSWORD>", role="Compliance Officer"
)

domain.users.all(pandas=True)



StarcoderdataJupyterScriptsDedupFiltered