data-factory-utils
A package for random utils for data factories.
Installation
This is a published package. Install using your favourite installation method.
uv add data-factory-utils
pip install data-factory-utils
Usage
Environment functions
This set of functions reads from your data factory dynamically. It should infer the environment you are in as well.
No matter how many times you initiate the class, it will re-use old variables. To do so...
from data_factory_utils.environment import Environment
env = Environment(use_web_identity=False, kube=False, local=False)
To return information about the environment (if we are in development with account number 0101010101):
env.account_no
# 0101010101
env.environment_name
# dev
env.is_prod
# False
To get an S3 bucket name (outputted as cloudpathlib's S3Path) (let us imagine here that the name is emds-dev-random-name-202512161154001309058001):
s3_random_name_bucket = env.get_full_bucket_url("random-name", full_prefix=True)
print(str(s3_random_name_bucket.bucket))
# emds-dev-random-name-202512161154001309058001
Metadata
Release files for data-factory-utils 3.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| data_factory_utils-3.6.0.tar.gz | 17.1 kB | Without provenance | Details for data_factory_utils-3.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| data_factory_utils-3.6.0-py3-none-any.whl | Python 3 | none | any | Details for data_factory_utils-3.6.0-py3-none-any.whl |
Total release size: 35.4 kB
Release files / data_factory_utils-3.6.0.tar.gz
| Download URL | data_factory_utils-3.6.0.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27df5c21323e8ccf6ca3fb981f673a4b4dab3f2edad46227a82d0ab1f0a8ed09
|
|
BLAKE2b-256 checksum How to use checksums |
1d3c483791d8db12839a7d9c4ba78fc3171cc4217271823fd37deb040cb37ad5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / data_factory_utils-3.6.0-py3-none-any.whl
| Download URL | data_factory_utils-3.6.0-py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e1121020fe950722043577f064a0bb17c7b81c97d6ec00e2632d0a9a5066dfe
|
|
BLAKE2b-256 checksum How to use checksums |
901cafab57861bd9112ca20d0f416f8d65e1e6fffcf05a4d415bf50eb06bdd57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for data-factory-utils 3.6.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.