Skip to main content

Trytond-factories

Trytond-factories is a factory_trytond extension which uses factory_boy that allows to create Tryton ERP models with factories.

You can inherit ERP's core model factories to do some testing or to populate databases with some sample data.

How does it work?

Import this module and you will be able to create objects such as Company, Party, etc.

Here's an example with Tryton's model Company:

import trytond_factories

company = trytond_factories.Company.create(party__name='Example Company')

print(company)
>>> Pool().get('company.company')(1)

Metadata

Release files for trytond-factories 7.4.2

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

Source distribution (sdist)

Source distribution for trytond-factories 7.4.2
File Size Uploaded Provenance Actions
trytond_factories-7.4.2.tar.gz 22.3 kB Without provenance Details for trytond_factories-7.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trytond-factories 7.4.2
File Interpreter ABI Platform Actions
trytond_factories-7.4.2-py3-none-any.whl Python 3 none any Details for trytond_factories-7.4.2-py3-none-any.whl

Total release size: 50.0 kB

Release files / trytond_factories-7.4.2.tar.gz

Download URL trytond_factories-7.4.2.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9770da6ae93cb86a7933daf64fe4e346f37052ac5eab50de1424eafbe7e5773b
BLAKE2b-256 checksum
How to use checksums
1f9f2cd1508eac21806e0c3a3cfdd6d90745ee6196f05ea815072ca85187ef26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / trytond_factories-7.4.2-py3-none-any.whl

Download URL trytond_factories-7.4.2-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1e82cc36c3d29a7d857a7d484f5cd032ce050535df22125599a5dd7b97359bb
BLAKE2b-256 checksum
How to use checksums
24feef1b71429bc3d6aa2775bbe9abd00ce6bca296771b184e85b29533ad9077
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for trytond-factories 7.4.2

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.

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