Perform numpy
-like analysis on data
that remains in someone else's
server
✅ Linux
✅ macOS
* ✅ Windows
†‡
$ pip install --pre syft -f https://whls.blob.core.windows.net/unstable/index.html
# from Jupyter / Python
import syft as sy
sy.requires(">=0.8-beta")
node = sy.orchestra.launch(name="my-domain", port=8080, dev_mode=True, reset=True)
# or from the command line
$ syft launch --name=my-domain --port=8080 --reset=True
Starting syft-node server on 0.0.0.0:8080
import syft as sy
sy.requires(">=0.8-beta")
domain_client = sy.login(port=8080, email="[email protected]", password="changethis")
-
Install our handy 🛵 cli tool which makes deploying a Domain or Gateway server a one-liner:
pip install -U hagrid
-
Then run our interactive jupyter Install 🧙🏽♂️ WizardBETA:
hagrid quickstart
-
In the tutorial you will learn how to install and deploy:
PySyft
= ournumpy
-like 🐍 Python library for computing onprivate data
in someone else'sDomain
PyGrid
= our 🐳docker
/ 🐧vm
Domain
&Gateway
Servers whereprivate data
lives -
During quickstart we will deploy
PyGrid
to localhost with 🐳docker
, however 🛵 HAGrid can deploy topodman
or a 🐧ubuntu
VM onazure
/gcp
/ANY_IP_ADDRESS
by using 🔨ansible
†
- HAGrid 0.3 Requires: 🐍
python
🐙git
- Run:pip install -U hagrid
- Interactive Install 🧙🏽♂️ WizardBETA Requires 🛵
hagrid
: - Run:hagrid quickstart
†Windows
does not supportansible
, preventing some remote deployment targets - PySyft 0.8 Requires: 🐍
python 3.8 - 3.10
- Run:pip install -U syft
*macOS
Apple Silicon users might need cmake:brew install cmake
‡Windows
users must run this first:pip install jaxlib==0.3.14 -f https://whls.blob.core.windows.net/unstable/index.html
- PyGrid Requires: 🐳
docker
or 🐧ubuntu
VM - Run:hagrid launch ...
0.8.0
(Beta) - dev
branch 👈🏽
0.7.0
(Stable) - Course 3 Updated
Deprecated:
PySyft and PyGrid use the same version
and its best to match them up where possible. We release weekly betas which can be used in each context:
PySyft (Stable): pip install -U syft
PyGrid (Stable) hagrid launch ... tag=latest
PySyft (Beta): pip install -U syft --pre
PyGrid (Beta): hagrid launch ... tag=beta
HAGrid is a cli / deployment tool so the latest version of hagrid
is usually the best.
Syft
is OpenMined's open source
stack that provides secure
and private
Data Science in Python. Syft decouples private data
from model training, using techniques like Federated Learning, Differential Privacy, and Encrypted Computation. This is done with a numpy
-like interface and integration with Deep Learning
frameworks, so that you as a Data Scientist
can maintain your current workflow while using these new privacy-enhancing techniques
.
Syft
allows a Data Scientist
to ask questions
about a dataset
and, within privacy limits
set by the data owner
, get answers
to those questions
, all without obtaining a copy
of the data itself. We call this process Remote Data Science
. It means in a wide variety of domains
across society, the current risks
of sharing information (copying
data) with someone such as, privacy invasion, IP theft and blackmail will no longer prevent the vast benefits
such as innovation, insights and scientific discovery which secure access will provide.
No more cold calls to get access
to a dataset. No more weeks of wait times
to get a result
on your query
. It also means 1000x more data
in every domain. PySyft opens the doors to a streamlined Data Scientist workflow
, all with the individual's privacy
at its heart.
|
|
|
OpenMined and Syft appreciates all contributors, if you would like to fix a bug or suggest a new feature, please see our guidelines.
|
|
---|
OpenMined
is a fiscally sponsored 501(c)(3)
in the USA. We are funded by our generous supporters on Open Collective.
Syft is under active development and is not yet ready for pilots on private data without our assistance. As early access participants, please contact us via Slack or email if you would like to ask a question or have a use case that you would like to discuss.
Apache License 2.0
Person icons created by Freepik - Flaticon