DAM4ML CLIENT LIBRARY
This is the dam4ml client library.
Installation
pip install dam4ml
(Ugh, pretty is, uh?)
Basic usage
from dam4ml import client
from dam4ml import transforms
# Login to DAM4ML
dataset = client.connect("mnist", api_key="")
# (optional) Pre-load the whole dataset for offline performance.
# This will take a while but will improve further performance.
dataset.load()
# (optional) You can pre-filter your dataset. See DAM4ML website
# for more information about how to build your filter
filter = {
"tag_slug": "test",
}
# Iterate through all dataset items
for item in dataset.as_dict(**filter):
# ...process each dataset item here.
pass
# Convert dataset to a pynum array
dataset.as_pynum(**filter)
# Even better, simulate what Keras' load_dataset() method would do:
pn_dataset = dataset.as_pynum()
(x_train, y_train) = pn_dataset[]
(x_val, y_val) = pn_dataset[]
Metadata
Release files for dam4ml 1.0.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 |
|---|---|---|---|---|
| dam4ml-1.0.0.tar.gz | 3.5 kB | Without provenance | Details for dam4ml-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dam4ml-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for dam4ml-1.0.0-py3-none-any.whl |
Total release size: 7.7 kB
Release files / dam4ml-1.0.0.tar.gz
| Download URL | dam4ml-1.0.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
332c1c85146737e5cfc0a8b0424a6908b582666a9c4d78da726f4931ef629898
|
|
BLAKE2b-256 checksum How to use checksums |
c2d5358aa7977f294ccdabf082af75ebf2154d7336cc40b61d30b8d615a6bc95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
|
Release files / dam4ml-1.0.0-py3-none-any.whl
| Download URL | dam4ml-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36579e47a86961ea8aeafa1a59924fd54c8557073d403b823b3c99b74c51e9d9
|
|
BLAKE2b-256 checksum How to use checksums |
6467ffe5ac7b8fbe128dcc5780426f97caa8ad5743ab316ddc1aa039ffb05369
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
|
Security for dam4ml 1.0.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.