Xtract SDK v0.0.5
Packaging: Creating file group objects for downstream data packaging.
Here we have a number of data elements that need to be defined.
Group: a collection of files and extractor to be executed on the collection of files. Groups need not have mutually exclusive sets of files. A group is also intitialized with an empty metadata dictionary.
from xtract_sdk.packagers import Group, Family, FamilyBatch
group1 = Group(files=[{'path': 12388550508, 'mdata': {}}], parser='image'}
group2 = Group(files=[{'path': 14546663235, 'mdata': {}}], parser='image'}
Family: a collection of groups such that all files in the group are mutually exclusive. This grouping is useful for parallelizing the download and extraction of separate groups that may contain the same files. You can easily add Group objects to a family as follows:
fam = Family()
fam.add_group(group1)
fam.add_group(group2)
FamilyBatch: If the number of groups in a family is generally small, you may want to batch the families to increase application performance. In order to do this, you may add any number of families to a FamilyBatch that enables users to iterate over families. The family_batch can be directly read by the downloader that will batch-fetch all files therein.
fam_batch=FamilyBatch()
fam_batch.add_family(fam)
Downloaders: coming soon!
Metadata
Release files for xtract-sdk 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xtract_sdk-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for xtract_sdk-0.0.6-py3-none-any.whl |
Release files / xtract_sdk-0.0.6-py3-none-any.whl
| Download URL | xtract_sdk-0.0.6-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c55cedf87e06f2f068dafe00168deaa42fca082cce01d42c96ddfb9b03563168
|
|
BLAKE2b-256 checksum How to use checksums |
bceceab5aa3c63d6f328b78812e6bd9a1a7e9dcc1c2125e1a0222f3e3906fa0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.7
|
Security for xtract-sdk 0.0.6
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.