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.15.tar.gz
.
File metadata
- Download URL: dataset_manager-0.0.15.tar.gz
- Upload date:
- Size: 8.3 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 | e6b39ce981f65f85b1df15102b1c4332ab3b63c719342ab8d129955899600e04 |
|
MD5 | 86676bad58ebc06ea847534ca1753108 |
|
BLAKE2b-256 | ae31613d0ec1115e9ee44ae4a8de1b88bc7a53821fca34224be2c85521b27957 |
File details
Details for the file dataset_manager-0.0.15-py3-none-any.whl
.
File metadata
- Download URL: dataset_manager-0.0.15-py3-none-any.whl
- Upload date:
- Size: 16.5 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 | 4eacb3f9f5f5296c35963a0796940635c4a4db72ab38afa709ff94b947eb403f |
|
MD5 | 3b5a9a21d195edef90847b5e9d1526d8 |
|
BLAKE2b-256 | 69b0badc6234893a4ef748df267b7c03e46277602040203a971a5258372395d3 |