Skip to main content

Federated learning and data analytics that just works



Python versions PyPI Latest Release PyPI Downloads Code style: black security: bandit pyrefly type checked flake8 license

Table of Contents

Using the Docker images

There is a docker image for running a pod (ghcr.io/bitfount/pod:stable).

The image requires a config.yaml file to be provided to them, by default it will try to load it from /mount/config/config.yaml inside the docker container. You can provide this file easily by mounting/binding a volume to the container, how you do this may vary depending on your platform/environment (Docker/docker-compose/ECS), if you have any problems doing this then feel free to reach out to us.

Alternative you could copy a config file into a stopped container using docker cp.

If you're using a CSV data source then you'll also need to mount your data to the container, this will need to be mounted at the path specified in your config, for simplicity it's easiest put your config and your CSV in the same directory and then mount it to the container.

Once your container is running you will need to check the logs and complete the login step, allowing your container to authenticate with Bitfount. The process is the same as when running locally (e.g. the tutorials), except that we can't open the login page automatically for you.

Running the Python code

Installation

Where to get it

Binary installers for the latest released version are available at the Python Package Index (PyPI).

pip install bitfount

If you are planning on using the bitfount package with Jupyter Notebooks, we recommend you install the splinter package bitfount[tutorials] which will make sure you are running compatible jupyter dependencies.

pip install 'bitfount[tutorials]'

Installation from sources

To install bitfount from source you need to create a python virtual environment.

In the bitfount directory (same one where you found this file after cloning the git repo), execute:

uv sync

For MacOS you may also need to install libomp:

brew install libomp

Getting started (Tutorials)

In order to run the tutorials, you also need to install the tutorial requirements:

uv sync --group tutorial

To get started using the Bitfount package in a federated setting, we recommend that you start with our tutorials. Run jupyter notebookand open up the first tutorial in the "Connecting Data & Creating Pods folder: running_a_pod.ipynb

Federated training scripts

Some simple scripts have been provided to run a Pod or Modelling job from a config file.

⚠️ If you are running from a source install (such as from git clone) you will need to use python -m scripts.<script_name> rather than use bitfount <script_name> directly.

To run a pod:

bitfount run_pod --path_to_config_yaml=<CONFIG_FILE>

To run a modelling job:

bitfount run_modeller --path_to_config_yaml=<CONFIG_FILE>

License

The license for this software is available in the LICENSE file. This can be found in the Github Repository, as well as inside the Docker image.

Metadata

Release files for bitfount 12.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bitfount 12.0.0
File Size Uploaded
bitfount-12.0.0.tar.gz 3.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for bitfount 12.0.0
File Interpreter ABI Platform
bitfount-12.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 MB

Release files / bitfount-12.0.0.tar.gz

Download URL bitfount-12.0.0.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
7d4c868d5b320c9638b1487e9084d5677576e8017a0d7deffa9af88cf6364801
BLAKE2b-256 checksum
How to use checksums
299471c7f5fa0c308a569c57bd331cc204702dda9edb2a8558137ebb3ea1694f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / bitfount-12.0.0-py3-none-any.whl

Download URL bitfount-12.0.0-py3-none-any.whl
Size 4.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b9dec66e47cc462956e41a18f45f0a167f3495eeb7c4c527474d60ea24d8f2cb
BLAKE2b-256 checksum
How to use checksums
491a06cdb55eb9c0c65db434d21b1f16a3b131f0da41f0b3c15d730bf9c43b8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

12.0.0 This release

2 release files

11.2.0

2 release files

11.1.0

2 release files

10.0.1

2 release files

10.0.0

2 release files

9.0.0

2 release files

8.0.0

2 release files

7.2.0

2 release files

7.1.0

2 release files

7.0.0

2 release files

6.2.0

2 release files

6.1.0

2 release files

6.0.0

2 release files

5.3.0

2 release files

5.2.0

2 release files

5.1.0

2 release files

5.0.0

2 release files

4.1.1

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.18

2 release files

0.6.15

2 release files

0.6.14

2 release files

0.6.10

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.85

2 release files

0.5.84

2 release files

0.5.83

2 release files

0.5.82

2 release files

0.5.79

2 release files

0.5.78

2 release files

0.5.77

2 release files

0.5.73

2 release files

0.5.72

2 release files

0.5.71

2 release files

0.5.65

2 release files

0.5.63

2 release files

0.5.62

2 release files

0.5.61

2 release files

0.5.58

2 release files

0.5.57

2 release files

0.5.56

2 release files

0.5.53

2 release files

0.5.52

2 release files

0.5.50

2 release files

0.5.49

2 release files

0.5.48

2 release files

0.5.47

2 release files

0.5.46

2 release files

0.5.41

2 release files

0.5.38

2 release files

0.5.37

2 release files

0.5.35

2 release files

0.5.34

2 release files

0.5.33

2 release files

0.5.31

2 release files

0.5.29

2 release files

0.5.28

2 release files

0.5.27

2 release files

0.5.26

2 release files

0.5.25

2 release files

0.5.23

2 release files

0.5.22

2 release files

0.5.19

2 release files

0.5.16

2 release files

0.5.15

2 release files

0.5.14

2 release files

0.5.13

2 release files

0.5.12

2 release files

0.5.11

2 release files

0.5.10

2 release files

0.5.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page