Manage and automatize datasets for data science projects.
Project description
Dataset Manager
Manage and automatize your datasets for your project with YAML files.
How it Works
This project create a file called identifier.yaml in your dataset directory with these fields:
source: https://raw.githubusercontent.com/pcsanwald/kaggle-titanic/master/train.csv
description: this dataset is a test dataset
format: csv
identifier: is the identifier for dataset reference is the file name with yaml extension.
source: is location from dataset.
description: describe your dataset to remember later.
Each dataset is a YAML file inside dataset directory.
Installing
With pip just:
pip install dataset_manager
With conda:
conda install dataset_manager
Using
You can manage your datasets with a list of commands and integrate with Pandas or other data analysis tool.
List all Datasets
Return a List with all Datasets from dataset path
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.list_datasets()
Get one Dataset
Get Dataset line as dict
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.get_dataset(identifier)
Create a Dataset
Create a Dataset with every information you want inside dataset_path defined.
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.create_dataset(identifier, source, description, **kwargs)
Remove a Dataset
Remove Dataset from dataset_path
from dataset_manager import DatasetManager
manager = DatasetManager(dataset_path)
manager.remove_dataset(identifier)
Contributing
Just make pull request and be happy!
Let's grow together ;)
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
File details
Details for the file dataset_manager-0.0.13.tar.gz
.
File metadata
- Download URL: dataset_manager-0.0.13.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc7fafab66878ece2833b3cea62959321a8681747687d5f895f45dcf53b5057a |
|
MD5 | 78a2bff002f862c6597400812aa3b9c8 |
|
BLAKE2b-256 | e93d2b3e8af84c57cd10c7f491f07d081c0b18a46c31419b87d9cd2406041931 |
File details
Details for the file dataset_manager-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: dataset_manager-0.0.13-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f64287dd0c1605c3a441f0e186bc248b86c3806c8105faa2b1925ba7296a5af6 |
|
MD5 | 39faea2429cc7aa41c9c2c43ed4db21c |
|
BLAKE2b-256 | 836c533ff6d0a084d22095ecc63d56162731c48c5998e39645d54edc892e853c |