
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
datamint
Advanced tools
A library for interacting with the Datamint API, designed for efficient data management, processing and Deep Learning workflows.
A comprehensive Python SDK for interacting with the Datamint platform, providing seamless integration for medical imaging workflows, dataset management, and machine learning experiments.
See the full documentation at https://sonanceai.github.io/datamint-python-api/
[!NOTE] We recommend using a virtual environment to avoid package conflicts.
pip install -U datamint
We recommend that you install Datamint in a dedicated virtual environment, to avoid conflicting with your system packages.
For instance, create the enviroment once with python3 -m venv datamint-env and then activate it whenever you need it with:
Create the environment (one-time setup):
python3 -m venv datamint-env
Activate the environment (run whenever you need it):
| Platform | Command |
|---|---|
| Linux/macOS | source datamint-env/bin/activate |
| Windows CMD | datamint-env\Scripts\activate.bat |
| Windows PowerShell | datamint-env\Scripts\Activate.ps1 |
Install the package:
pip install datamint
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:
Run datamint-config in the terminal and follow the instructions. See command_line_tools for more details.
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"
| Resource | Description |
|---|---|
| 🚀 Getting Started | Step-by-step setup and basic usage |
| 📖 API Reference | Complete API documentation |
| 🔥 PyTorch Integration | ML workflow integration |
| 💡 Examples | Practical usage examples |
Full documentation at command_line_tools.
Upload DICOM files with anonymization:
datamint-upload /path/to/dicoms --recursive --channel "training-data" --publish --tag "my_data_tag"
It anonymizes by default.
# Interactive setup
datamint-config
# Set API key
datamint-config --api-key "your-key"
If you encounter SSL certificate verification errors like:
SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
1. Upgrade certifi:
pip install --upgrade certifi
2. Set environment variables:
export SSL_CERT_FILE=$(python -m certifi)
export REQUESTS_CA_BUNDLE=$(python -m certifi)
3. Run your script:
python your_script.py
Option 1: Use Custom CA Bundle
from datamint import Api
api = Api(verify_ssl="/path/to/your/ca-bundle.crt")
Option 2: Disable SSL Verification (Development Only)
from datamint import Api
# ⚠️ WARNING: Only use in development with self-signed certificates
api = Api(verify_ssl=False)
FAQs
A library for interacting with the Datamint API, designed for efficient data management, processing and Deep Learning workflows.
We found that datamint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.