Skip to main content

FRANÇAIS

Cette bibliothèque écrit des représentations d'objet dans un fichier texte et lit le fichier pour recréer les objets. Une représentation d'objet est une chaîne de caractères renvoyée par la fonction repr.

Contenu

La fonction write_reprs écrit des représentations d'objet dans un fichier texte. Chaque ligne du fichier est une représentation d'objet. Si le fichier spécifié existe déjà, cette fonction l'écrase.

Le générateur read_reprs lit un fichier texte contenant des représentations d'objet dans le but de recréer les objets. Chaque ligne du fichier doit être une représentation d'objet. Les lignes vides sont ignorées. Chaque itération de ce générateur produit un objet.

Pour plus d'informations, consultez la documentation des fonctions et les démos dans le dépôt de code source.

ENGLISH

This library writes object representations in a text file and reads the file to recreate the objects. An object representation is a string returned by function repr.

Content

Function write_reprs writes object representations in a text file. Each line in the file is an object representation. If the specified file already exists, this function overwrites it.

Generator read_reprs reads a text file that contains object representations to recreate the objects. Each line in the file must be an object representation. Empty lines are ignored. Each iteration of this generator yields one object.

For more information, consult the functions' documentation and the demos in the source code repository.

Metadata

Release files for repr-rw 3.0.5

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

Source distribution (sdist)

Source distribution for repr-rw 3.0.5
File Size Uploaded Provenance Actions
repr_rw-3.0.5.tar.gz 6.4 kB Without provenance Details for repr_rw-3.0.5.tar.gz

Release files / repr_rw-3.0.5.tar.gz

Download URL repr_rw-3.0.5.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
36c81d2026def51f2117b37517822efac6a3425c23ec7958909f3b2865ab2d7a
BLAKE2b-256 checksum
How to use checksums
b7fb1904d3135bab3bd13c9155c24e02120570c3341c40c1b918ac7b15ed097b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for repr-rw 3.0.5

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