Skip to main content

A library for interacting with the Datamint API, designed for efficient data management, processing and Deep Learning workflows.

Project description

Datamint python API

Build Status

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

datamint-2.3.0.tar.gz (112.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datamint-2.3.0-py3-none-any.whl (132.8 kB view details)

Uploaded Python 3

File details

Details for the file datamint-2.3.0.tar.gz.

File metadata

  • Download URL: datamint-2.3.0.tar.gz
  • Upload date:
  • Size: 112.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for datamint-2.3.0.tar.gz
Algorithm Hash digest
SHA256 b49a8fa55b68b6cae316a13dcf22b886d670caa90b4330c6f6e277f95c99989e
MD5 d5878161d965431bab35f9a596d136d2
BLAKE2b-256 2fbe1af31d3f17e56a0853828eb4a1c39031c7eb7ff00cddab1ce6472c16caf3

See more details on using hashes here.

Provenance

The following attestation bundles were made for datamint-2.3.0.tar.gz:

Publisher: release_pypi.yaml on SonanceAI/datamint-python-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datamint-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: datamint-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 132.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for datamint-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 962c9ce025cb8c7b1db4c7608561273de181b3887b6f879175c29b1ab40c858b
MD5 7400d15e702cb1ad9a3b999e01fab337
BLAKE2b-256 c3be66d43175f588e56cb4796a4b64596cb5e11b22df4eb096d11d2c0db6208d

See more details on using hashes here.

Provenance

The following attestation bundles were made for datamint-2.3.0-py3-none-any.whl:

Publisher: release_pypi.yaml on SonanceAI/datamint-python-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page