A Python package to generate realistic demo data in csv or json format.
Project description
# Ficto - Generate Realistic Demo Data
Ficto is a Python package that allows you to effortlessly generate realistic dummy data in CSV or JSON format. With Ficto, you can create datasets with various column types by simply specifying them in a YAML configuration file.
## Installation & Quick Start
To install Ficto, use the following pip command:
pip install ficto
Generate a dataset by providing a YAML configuration file, the number of rows, and the desired file format. For example, to generate a CSV file with 100 rows using a configuration file named config.yaml, run the following command:
ficto -d config.yaml -n 100 -f csv
## Features * Flexible Configuration: Customize your dataset by defining columns and their types in a YAML file. * Multiple Formats: Generate datasets in either CSV or JSON format. * Easy Installation: Install Ficto effortlessly with a single pip command. * Realistic Demo Data: Create realistic data for testing purpose. * Command-Line Interface (CLI): User-friendly CLI for quick and simple data generation.
## Usage 1. Create Configuration File: Create a YAML file (e.g., config.yaml) specifying the columns and their types.
You can find a template [here](https://github.com/taeefnajib/ficto/blob/main/config-template.yaml) containing all the types of column you can add to your dataset. To know more about each value type, kindly read the documentation.
Generate Data: Use the Ficto CLI to generate data based on your configuration.
ficto -d config.yaml -n 100 -f csv
This command generates a CSV file inside a newly created data folder with 100 rows of demo data based on your data configuration file (i.e.`config.yaml`).
## Documentation For more details and advanced usage, refer to the Ficto Documentation.
## How to Contribute We welcome contributions to Ficto! If you’d like to contribute, please follow these steps:
Fork the Repository: Click the “Fork” button on the top right corner of this repository.
Clone Your Fork: Clone the repository to your local machine.
git clone https://github.com/taeefnajib/ficto.git
Create a Branch: Create a new branch for your changes.
git checkout -b feature/new-feature
Make Changes: Make your desired changes in the code.
Commit Changes: Commit your changes with a descriptive commit message.
git commit -m “Add new feature”
Push Changes: Push your changes to your fork.
git push origin feature/new-feature
Create Pull Request: Create a pull request on the original repository to propose your changes.
Feedback and Review: Participate in the discussion and address any feedback provided.
Merge: Once your changes are approved, they will be merged into the main branch.
## License This project is licensed under the [MIT License](https://github.com/taeefnajib/ficto/blob/main/LICENSE)
Project details
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 ficto-0.0.8.tar.gz
.
File metadata
- Download URL: ficto-0.0.8.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa9689520a79bd3701ddc4ff640f66d469aa1c4e29f2c19f4bf2f1556bf95db7 |
|
MD5 | ff4916dc1c0fc307cfdc55a3cf2708cc |
|
BLAKE2b-256 | 80498b7d4ef240ad1942387c64b98633f50fbdc1e7762a72fb43b3677c6ccf00 |
File details
Details for the file ficto-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: ficto-0.0.8-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 831a52873753455fb51dec5fe0e3839343171b3a4385d0e5f4005e5da0414524 |
|
MD5 | a138c8c600d47cc9e9360eece9a95370 |
|
BLAKE2b-256 | 47a2baf09c29b4b412c79ad01cc18cb51f867d00a5181b32acf916d6e910066b |