OpenFaker
OpenFaker is a Python package that utilizes OpenAI's GPT series model to generate fake data.
This new project is rapidly underway, and we welcome any issues or pull requests.
Basic Usage
Install with pip:
pip install openfaker
Use faker.Faker() to create and initialize a faker generator, which can generate data by accessing properties named
after the type of data you want.
from openfaker import Faker
from openfaker.utils import setup_openai
setup_openai('<api-key>') # Get your API key from https://platform.openai.com/account/api-keys
faker = Faker()
faker.name()
# 'John Doe'
faker.address(2)
# ['426 Jordy Lodge', 'Cartwrightshire, SC 88120-6700']
Metadata
Release files for openfaker 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openfaker-0.0.1.tar.gz | 4.6 kB | Without provenance | Details for openfaker-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openfaker-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for openfaker-0.0.1-py3-none-any.whl |
Total release size: 9.8 kB
Release files / openfaker-0.0.1.tar.gz
| Download URL | openfaker-0.0.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc9cd552cc3f404ce195ac3ef708fa8bff0b8c396b2f629925991e957ad046dd
|
|
BLAKE2b-256 checksum How to use checksums |
a8d829cd96946781bafa6b52b0f14f39c001ef9a4788e247c947fd2c8a9ce936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / openfaker-0.0.1-py3-none-any.whl
| Download URL | openfaker-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37b89e69eb942571747ba69e4a8cad4f5206ab59627c569083df859d3d041390
|
|
BLAKE2b-256 checksum How to use checksums |
d47c8e9c1afd1795e7fd3a9c970aee4d986e5582c86e8a3b72b0192360eae2f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for openfaker 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.