datatable-faker


Namedatatable-faker JSON
Version 0.1.7 PyPI version JSON
download
home_pagehttps://github.com/Agent-Hellboy/datatable-faker
SummaryLibrary to generate fake datatable for unittest
upload_time2023-08-01 05:05:21
maintainer
docs_urlNone
authorPrince Roshan
requires_python>=3.7
licenseMIT
keywords faker datatable-faker
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            datatable-faker
================

Library to generate fake datatable for unittest

.. image:: https://img.shields.io/pypi/v/datatable-faker
   :target: https://pypi.python.org/pypi/datatable-faker/

.. image:: https://github.com/Agent-Hellboy/datatable-faker/actions/workflows/python-publish.yml/badge.svg
    :target: https://github.com/Agent-Hellboy/datatable-faker/

.. image:: https://img.shields.io/pypi/pyversions/datatable-faker.svg
   :target: https://pypi.python.org/pypi/datatable-faker/

.. image:: https://img.shields.io/pypi/l/datatable-faker.svg
   :target: https://pypi.python.org/pypi/datatable-faker/

.. image:: https://pepy.tech/badge/datatable-faker
   :target: https://pepy.tech/project/datatable-faker

.. image:: https://img.shields.io/pypi/format/datatable-faker.svg
   :target: https://pypi.python.org/pypi/datatable-faker/


Installation
============

::

   for stable version
      - pip install datatable-faker

   for developement
      - git clone https://github.com/Agent-Hellboy/datatable-faker
      - cd datatable-faker
      - python -m venv .venv
      - source .venv/bin/activate
      

Example
=======

.. code:: py

    from dataclasses import dataclass

    @dataclass()
    class Heartbeat:
        serialNumber: str
        cbsdId: str
        grantId: str
        grantState: str
        carrier: int
        maxEirp: int

    from datatable_faker import generate_fake_data

    fake_data = generate_fake_data(Heartbeat)
    print(fake_data)
    
    Heartbeat(serialNumber='economic', cbsdId='pull', grantId='save', grantState='same', carrier=729, maxEirp=1792)

Contributing
============

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Agent-Hellboy/datatable-faker",
    "name": "datatable-faker",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "faker,datatable-faker",
    "author": "Prince Roshan",
    "author_email": "princekrroshan01@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/89/95/3d58cf988bd454b87302b300d5bf36459fc4b126730246d687bc27b521ef/datatable-faker-0.1.7.tar.gz",
    "platform": null,
    "description": "datatable-faker\n================\n\nLibrary to generate fake datatable for unittest\n\n.. image:: https://img.shields.io/pypi/v/datatable-faker\n   :target: https://pypi.python.org/pypi/datatable-faker/\n\n.. image:: https://github.com/Agent-Hellboy/datatable-faker/actions/workflows/python-publish.yml/badge.svg\n    :target: https://github.com/Agent-Hellboy/datatable-faker/\n\n.. image:: https://img.shields.io/pypi/pyversions/datatable-faker.svg\n   :target: https://pypi.python.org/pypi/datatable-faker/\n\n.. image:: https://img.shields.io/pypi/l/datatable-faker.svg\n   :target: https://pypi.python.org/pypi/datatable-faker/\n\n.. image:: https://pepy.tech/badge/datatable-faker\n   :target: https://pepy.tech/project/datatable-faker\n\n.. image:: https://img.shields.io/pypi/format/datatable-faker.svg\n   :target: https://pypi.python.org/pypi/datatable-faker/\n\n\nInstallation\n============\n\n::\n\n   for stable version\n      - pip install datatable-faker\n\n   for developement\n      - git clone https://github.com/Agent-Hellboy/datatable-faker\n      - cd datatable-faker\n      - python -m venv .venv\n      - source .venv/bin/activate\n      \n\nExample\n=======\n\n.. code:: py\n\n    from dataclasses import dataclass\n\n    @dataclass()\n    class Heartbeat:\n        serialNumber: str\n        cbsdId: str\n        grantId: str\n        grantState: str\n        carrier: int\n        maxEirp: int\n\n    from datatable_faker import generate_fake_data\n\n    fake_data = generate_fake_data(Heartbeat)\n    print(fake_data)\n    \n    Heartbeat(serialNumber='economic', cbsdId='pull', grantId='save', grantState='same', carrier=729, maxEirp=1792)\n\nContributing\n============\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Library to generate fake datatable for unittest",
    "version": "0.1.7",
    "project_urls": {
        "Homepage": "https://github.com/Agent-Hellboy/datatable-faker"
    },
    "split_keywords": [
        "faker",
        "datatable-faker"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c1c09f1f4f509a5c5d63e926ba91faf073269726e2a720bc294d63d9e79faed9",
                "md5": "f6b6087260c20e83b95ebe5417029552",
                "sha256": "4210c1f1b33389cac7117db3f97146b31437cfa03b325300e0ee36f9b52ffee3"
            },
            "downloads": -1,
            "filename": "datatable_faker-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f6b6087260c20e83b95ebe5417029552",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 3220,
            "upload_time": "2023-08-01T05:05:19",
            "upload_time_iso_8601": "2023-08-01T05:05:19.778709Z",
            "url": "https://files.pythonhosted.org/packages/c1/c0/9f1f4f509a5c5d63e926ba91faf073269726e2a720bc294d63d9e79faed9/datatable_faker-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "89953d58cf988bd454b87302b300d5bf36459fc4b126730246d687bc27b521ef",
                "md5": "374b8614223f9f39e4e228c536016e06",
                "sha256": "76ae09ef2e1d09354b04a6136520a269ae6ec5157c862a67c0fdda8b5e7c9cf7"
            },
            "downloads": -1,
            "filename": "datatable-faker-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "374b8614223f9f39e4e228c536016e06",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3006,
            "upload_time": "2023-08-01T05:05:21",
            "upload_time_iso_8601": "2023-08-01T05:05:21.552774Z",
            "url": "https://files.pythonhosted.org/packages/89/95/3d58cf988bd454b87302b300d5bf36459fc4b126730246d687bc27b521ef/datatable-faker-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-01 05:05:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Agent-Hellboy",
    "github_project": "datatable-faker",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "datatable-faker"
}
        
Elapsed time: 1.54489s