Pydantricks
Faker for pydantic models.
Start simple
>>> from pydantic import BaseModel
>>> from pydantricks import FieldFactory, ModelFactory
>>>
>>>
>>> class User(BaseModel):
... username: str
...
>>>
>>> class UserFactory(ModelFactory[User]):
... username = FieldFactory.field.user_name
...
>>> UserFactory()
User(username='qmiller')
>>> UserFactory()
User(username='harrisamanda')
>>> UserFactory()
User(username='jamesamy')
pydantricks support composed models as well.
Metadata
Release files for pydantricks 0.1.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 |
|---|---|---|---|---|
| pydantricks-0.1.1.tar.gz | 4.3 kB | Without provenance | Details for pydantricks-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydantricks-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pydantricks-0.1.1-py3-none-any.whl |
Total release size: 10.0 kB
Release files / pydantricks-0.1.1.tar.gz
| Download URL | pydantricks-0.1.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7362eeebcc7a6503db790d3fb579a118c6d04e02bfd59b9ad00a9f98d96b92c
|
|
BLAKE2b-256 checksum How to use checksums |
9539d3f3126e971ac92419d42be2bd4aa63779f6ece5f6d128ee95805c9f62de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.26.6 CPython/3.12.12 Linux/6.11.0-1018-azure
|
Release files / pydantricks-0.1.1-py3-none-any.whl
| Download URL | pydantricks-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8a36a2115a2de2057b94a8f35d6d1f9109d5d119ed7cafa896af6787b18f1e0
|
|
BLAKE2b-256 checksum How to use checksums |
e3b4ecfa3a04b261e826fbd54445ffb619134aba089253926f10b5948c941799
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.26.6 CPython/3.12.12 Linux/6.11.0-1018-azure
|
Security for pydantricks 0.1.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.