Dataset versioning and management for ML projects.
Reason this release was yanked:
invalid package
Project description
datamole
Simple data versioning for ML projects. Track, version, and share your datasets with minimal overhead.
Features
- 🚀 Simple CLI interface (
dtmcommand) - 📦 Version datasets with automatic hashing
- 🏷️ Tag versions for easy reference
- 🔍 Smart lookup: pull by hash, prefix, or tag
- 💾 Multiple storage backends (local, GCS, S3, Azure)
- 🔒 Transaction-safe uploads
- 🤝 Collaboration-friendly with shared storage
Installation
pip install datamole
After installation, the dtm command will be available globally.
Quick Start
# Configure storage backend (one-time setup)
dtm config --backend local --remote-uri /path/to/shared/storage
# Initialize in your project
cd my-ml-project
dtm init
# Add your data and create a version
dtm add-version -m "Initial dataset" -t v1.0
# List versions
dtm list-versions
# Pull a specific version (by tag, hash, or prefix)
dtm pull v1.0
dtm pull abc123 # by hash prefix
dtm pull latest # pull current version
CLI Commands
Setup & Configuration
# Configure storage backend
dtm config --backend local --remote-uri /path/to/storage
# Initialize project
dtm init [--data-dir data] [--backend local] [--no-pull]
Version Management
# Create a new version
dtm add-version [-m "message"] [-t tag-name]
# Pull a version
dtm pull [version] [-f]
# List all versions
dtm list-versions
# Show current version
dtm current-version
Python API
from datamole.core import DataMole
# Initialize
dtm = DataMole()
dtm.init(data_dir="data", backend="local")
# Create versions
dtm.add_version(message="Initial dataset", tag="v1.0")
# Pull versions
dtm.pull("v1.0")
dtm.pull("abc123") # by hash prefix
dtm.pull() # pull current version
Storage Backends
- local: Local filesystem storage
- gcs: Google Cloud Storage (coming soon)
- s3: AWS S3 (coming soon)
- azure: Azure Blob Storage (coming soon)
Development
# Clone repository
git clone https://github.com/yourusername/datamole.git
cd datamole
# Install in development mode
uv pip install -e ".[dev]"
# Run tests
pytest
License
MIT
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
datamole_anshu_test-0.1.0.tar.gz
(25.3 kB
view details)
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 datamole_anshu_test-0.1.0.tar.gz.
File metadata
- Download URL: datamole_anshu_test-0.1.0.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32e3f29e6eb80986e2360dbefe84225fb7a511c4f6c66611ddad4f95be0c7776
|
|
| MD5 |
fa05a7f4aceaf94c1d7d723229864e38
|
|
| BLAKE2b-256 |
ecec99a51a9379518b4e24e398895ac6d635828d37853aa0e77499b37f1036a7
|
File details
Details for the file datamole_anshu_test-0.1.0-py3-none-any.whl.
File metadata
- Download URL: datamole_anshu_test-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1142b66794e0ea003dd095b6711ee1385b088a308a43692a4edb3b9e60be3479
|
|
| MD5 |
bdf5a4a44c252e39131eddfb26b96ae2
|
|
| BLAKE2b-256 |
bdc3a9c258ec6ca4edd23334f5c1a00ad90a46638fde0301877881086b7b4e45
|