librelingo_fakes
librelingo_fakes.fakes
This package contains fake data for testing LibreLingo-related packages.
The fake data is returned using the types from librelingo-types.
Usage
from librelingo_fakes import fakes
fakes.course1 # This is a Course() object
fakes.course2 # This is another Course() object
fakes.courseEmpty # This is an empty course
For the full list of fakes, use the autocomplete or check out the this file.
Customizing fakes
You can use fakes.customize to change some attributes on a fake object.
If you want to change the modules on fakes.course1, you'd do it like this:
fake_course = fakes.customize(fakes.course1, modules=[
fake_module_1, fake_module_2
])
number
number(max_value=10000)
Returns a 'random' non-negative integer. It is NOT cryptographically-secure.
Metadata
Release files for librelingo_fakes 3.2.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 |
|---|---|---|---|---|
| librelingo_fakes-3.2.1.tar.gz | 3.0 kB | Without provenance | Details for librelingo_fakes-3.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| librelingo_fakes-3.2.1-py3-none-any.whl | Python 3 | none | any | Details for librelingo_fakes-3.2.1-py3-none-any.whl |
Total release size: 7.0 kB
Release files / librelingo_fakes-3.2.1.tar.gz
| Download URL | librelingo_fakes-3.2.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c489bd558036fcf1b8358b5d671dba62681617551bc45ca4deada70132864e61
|
|
BLAKE2b-256 checksum How to use checksums |
dc6e79b8070c3085df5f14f5bd8cd003f038912f62a0124ac99dcef69c3267cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.15.1 CPython/3.11.8 Linux/6.8.7-zen1-1-zen
|
Release files / librelingo_fakes-3.2.1-py3-none-any.whl
| Download URL | librelingo_fakes-3.2.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ba7586719c5c1a5ada39d5fb0d4b187bb62ab03ae8b6b3dda5fcbbd78353546
|
|
BLAKE2b-256 checksum How to use checksums |
c986fb2cdf235913aa3a5fe79e3182044487e670156ac51b5096fff4baaca252
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.15.1 CPython/3.11.8 Linux/6.8.7-zen1-1-zen
|
Security for librelingo_fakes 3.2.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.