A library for interacting with the Datamint API, designed for efficient data management, processing and Deep Learning workflows.
Project description
Datamint python API
See the full documentation at https://sonanceai.github.io/datamint-python-api/
Installation
Datamint requires Python 3.10+. You can install/update Datamint and its dependencies using pip
pip install -U datamint
We recommend that you install Datamint in a dedicated virtual environment, to avoid conflicting with your system packages.
Create the enviroment once with python3 -m venv datamint-env and then activate it whenever you need it with:
source datamint-env/bin/activate(Linux/MAC)datamint-env\Scripts\activate.bat(Windows CMD)datamint-env\Scripts\Activate.ps1(Windows PowerShell)
Setup API key
To use the Datamint API, you need to setup your API key (ask your administrator if you don't have one). Use one of the following methods to setup your API key:
Method 1: Command-line tool (recommended)
Run datamint-config in the terminal and follow the instructions. See command_line_tools for more details.
Method 2: Environment variable
Specify the API key as an environment variable.
Bash:
export DATAMINT_API_KEY="my_api_key"
# run your commands (e.g., `datamint-upload`, `python script.py`)
Python:
import os
os.environ["DATAMINT_API_KEY"] = "my_api_key"
Method 3: Api constructor
Specify API key in the Api constructor:
from datamint import Api
api = Api(api_key='my_api_key')
Tutorials
You can find example notebooks in the notebooks folder:
and example scripts in examples folder:
Full documentation
See all functionalities in the full documentation at https://sonanceai.github.io/datamint-python-api/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datamint-2.0.1.tar.gz.
File metadata
- Download URL: datamint-2.0.1.tar.gz
- Upload date:
- Size: 109.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a91bda144ba7bbd4ef6cf6f1eaf7a16eab6162452062591aa796a6d6a2f45ca
|
|
| MD5 |
719e7ba4ef81917317127a864553ea61
|
|
| BLAKE2b-256 |
0658137dbc8b6ea5a64564d71347a504d2e8904e2f150de7cdabad7b5c77d65f
|
Provenance
The following attestation bundles were made for datamint-2.0.1.tar.gz:
Publisher:
release_pypi.yaml on SonanceAI/datamint-python-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datamint-2.0.1.tar.gz -
Subject digest:
5a91bda144ba7bbd4ef6cf6f1eaf7a16eab6162452062591aa796a6d6a2f45ca - Sigstore transparency entry: 535259509
- Sigstore integration time:
-
Permalink:
SonanceAI/datamint-python-api@fb36608657c8ec91d0637e7a3985d676c51cb1a6 -
Branch / Tag:
refs/tags/v2.0.1 - Owner: https://github.com/SonanceAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release_pypi.yaml@fb36608657c8ec91d0637e7a3985d676c51cb1a6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file datamint-2.0.1-py3-none-any.whl.
File metadata
- Download URL: datamint-2.0.1-py3-none-any.whl
- Upload date:
- Size: 129.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89712140a97319c31fae40bda13ae178ba6937ed7e64c58495dbf279d491e100
|
|
| MD5 |
61f47c9c41750b50932db99d33c84c56
|
|
| BLAKE2b-256 |
de16e27b1a32bff395d1b8071e016421b89725b4175c7b994ab44b69444c7c0f
|
Provenance
The following attestation bundles were made for datamint-2.0.1-py3-none-any.whl:
Publisher:
release_pypi.yaml on SonanceAI/datamint-python-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datamint-2.0.1-py3-none-any.whl -
Subject digest:
89712140a97319c31fae40bda13ae178ba6937ed7e64c58495dbf279d491e100 - Sigstore transparency entry: 535259547
- Sigstore integration time:
-
Permalink:
SonanceAI/datamint-python-api@fb36608657c8ec91d0637e7a3985d676c51cb1a6 -
Branch / Tag:
refs/tags/v2.0.1 - Owner: https://github.com/SonanceAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release_pypi.yaml@fb36608657c8ec91d0637e7a3985d676c51cb1a6 -
Trigger Event:
push
-
Statement type: