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: APIHandler constructor

Specify API key in the |APIHandlerClass| constructor:

from datamint import APIHandler
api = APIHandler(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

This version

1.7.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datamint-1.7.2.tar.gz (74.2 kB view details)

Uploaded Source

Built Distribution

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

datamint-1.7.2-py3-none-any.whl (83.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for datamint-1.7.2.tar.gz
Algorithm Hash digest
SHA256 18a987e4d39cfb1a91c83c13ca4725f81755c4df8bd23cdac99067f4fa4d29ab
MD5 296f583889125d1e09e9a7f2d7ef0298
BLAKE2b-256 4984d05f113753be3d3643a4d080f75b444cd0fea084d19ffa9f5930cdf7e10c

See more details on using hashes here.

Provenance

The following attestation bundles were made for datamint-1.7.2.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-1.7.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for datamint-1.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 46ad746ed536fcb89b08dd652305213a403cfbf47af8ce2a832f021bf8d1c60b
MD5 2a8c7ebc0c2d9825352dedd703aad058
BLAKE2b-256 1f4148273bd7856bc27e4f2ac35c07259f3091fa9aaf3ccadb9812b931ce594b

See more details on using hashes here.

Provenance

The following attestation bundles were made for datamint-1.7.2-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