Skip to main content

Description

DataFed is a federated scientific data management system developed by Oak Ridge National Laboratories to facilitate FAIR data practices within supported experimental, compute, and analytics environments. The DataFed Python package provides both a command-line-interface (CLI) and a programming API for interacting with DataFed services.

Developers

For running datafed directly from the source folder located in the DataFed GitHub repository, without running a pip install of the package. Activate the python env. This might be installed at /opt/datafed/dependencies/python/bin if you used DataFed's provided dependency install scripts with the default location.

source /opt/datafed/dependencies/python/bin/activate

Run the following from the root of the DataFed repo. The generate_datafed script will generate default settings. the ENABLE_PYTHON_CLIENT is to make sure you actually build the python client. Many other default flags may be turned on, you can disable them if needed.

The build target will "pydatafed" is needed for compiling the protobuf files to python, you will need protobuf to be installed.

NOTE - You will need to rerun this command any times changes are made to the .proto files.

./scripts/generated_datafed.sh
/opt/datafed/dependencies/bin/cmake -S. -B build -DENABLE_PYTHON_CLIENT=ON
/opt/datafed/dependencies/bin/cmake --build build --target pydatafed

Move into the python/datafed_pkg folder and then you can execute the python cli tool directly with.

PYTHON_PATH=. ./scripts/datafed

Metadata

Release files for datafed 5.1.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 datafed 5.1.0
File Size Uploaded Provenance
datafed-5.1.0.tar.gz 85.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 296.1 kB

Release files / datafed-5.1.0.tar.gz

Download URL datafed-5.1.0.tar.gz
Size 85.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4e2eea0796926f2601081130779f851bde8b7cd856e9390405ecf698d9a3bcec
BLAKE2b-256 checksum
How to use checksums
da39df130d8e1ee586d40f2db295bc52661e09ee91c3089ef082a30e31255960
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / datafed-5.1.0-py3-none-any.whl

Download URL datafed-5.1.0-py3-none-any.whl
Size 210.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8334f265671c4966f33b045993788ef1e690b5030de122b7c0ab2e34df66bb8f
BLAKE2b-256 checksum
How to use checksums
6fe2ee8b7d85c3025b8ed48c66f21b79c48fda989767c9478dbfca0fb90a4928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for datafed 5.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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