Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Geni

ci

Geni helps you generate large-scale datasets.

import geni
from faker import Faker

fake = Faker()

# Create a generator
def generator() -> dict:
    return {
        "name": fake.name(),
        "age": fake.random_int(18, 99),
        "city": fake.city()
    }

geni.generate_file(generator, row=1000, output="data.csv")

The latest version

You can find the latest version to ...

git clone https://github.com/FabienArcellier/geni.git

Usage

Developper guideline

Add a dependency

bash poetry add requests

Install development environment

Use make to instanciate a python virtual environment in ./venv and install the python dependencies.

poetry install

Update release dependencies

Use make to instanciate a python virtual environment in ./venv and freeze dependencies version

poetry update update

Activate the python environment

When you setup the requirements, a venv directory on python 3 is created. To activate the venv, you have to execute :

poetry shell

Run the continuous integration process

Before commit or send a pull request, you have to execute pylint to check the syntax of your code and run the unit tests to validate the behavior.

$ poetry run alfred ci

Contributors

  • Fabien Arcellier

License

MIT License

Copyright (c) 2024-2024 Fabien Arcellier

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for gendit 1.0.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gendit 1.0.0a2
File Size Uploaded
gendit-1.0.0a2.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gendit 1.0.0a2
File Interpreter ABI Platform
gendit-1.0.0a2-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / gendit-1.0.0a2.tar.gz

Download URL gendit-1.0.0a2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3902f1fa9f2b62a815dac6e5237e3e7ec20bc28747c0f6c5eacdb2b6c561a084
BLAKE2b-256 checksum
How to use checksums
f7111529c5388678eb7945e7763fceef416abfabb00c39149d40d52058ba672e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-35-generic

Release files / gendit-1.0.0a2-py3-none-any.whl

Download URL gendit-1.0.0a2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b056f638cc806b7a2f6a18966ede56c082d06eed3e881641455cbc6c60fb88fd
BLAKE2b-256 checksum
How to use checksums
f3c767746ad45571927e85a153e5ea99c6a2cf9fbc893e1521c3416a043f8aaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-35-generic

Release history Release notifications | RSS feed

This release

1.0.0a2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page