Gingerino
This is a proof of concept
Installation
pip install gingerino
Usage
from dataclasses import dataclass
from typing import Literal
from gingerino import parserino
@dataclass
class UserInfo:
name: str
age: int
unit: Literal["years", "months"]
template = "{{ name }} is {{ age }} {{ unit }} old"
user = parserino(UserInfo, template, "Marco is 24 years old")
print(user.name, user.age)
# Marco 24
Metadata
Release files for gingerino 0.1.6
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 |
|---|---|---|---|---|
| gingerino-0.1.6.tar.gz | 4.6 kB | Without provenance | Details for gingerino-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gingerino-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for gingerino-0.1.6-py3-none-any.whl |
Total release size: 8.0 kB
Release files / gingerino-0.1.6.tar.gz
| Download URL | gingerino-0.1.6.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4af5aa25a78135b80a73cf6a2514333769aebd83055cc01af85ab154e17b0ee
|
|
BLAKE2b-256 checksum How to use checksums |
263d37f069a57c4e370f7450bbeb6d80bc50591d1cbfebefa96d858aa6c1684e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.2
|
Release files / gingerino-0.1.6-py3-none-any.whl
| Download URL | gingerino-0.1.6-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4adafca0814af1912e074ccb7ec38b704e236bb6fa35532e58fffa7bd5a1f131
|
|
BLAKE2b-256 checksum How to use checksums |
ba61c04b0fb3d8900278a9ff634e8a5079636d421c9c6afe53e96b0f8a5b968e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.2
|
Security for gingerino 0.1.6
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.