Skip to main content

yni

A parser for the yni config file.

Example

test.py

from yni import Yni

parser = Yni.from_file('example.yni') # here we parse from a file

parser['foo']['bar'] # get the value of the key "bar" from the header "foo", returns "spam"
# or
parser.foo.bar # returns "spam"

Example 2

test_2.py

from yni import Yni

 string = """#foo
 [
     bar: spam
 ]"""

parser = Yni.from_string(string) # here we parse from a string

parser['foo']['bar'] # get the value of the key "bar" from the header "foo", returns "spam"
# or
parser.foo.bar # returns "spam"

yni file structure

example.yni

#foo
[
    bar: spam
]

Metadata

Release files for yni 0.1.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 yni 0.1.5
File Size Uploaded Provenance Actions
yni-0.1.5.tar.gz 9.6 kB Without provenance Details for yni-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yni 0.1.5
File Interpreter ABI Platform Actions
yni-0.1.5-cp38-cp38-manylinux_2_31_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.31+ x86-64 Details for yni-0.1.5-cp38-cp38-manylinux_2_31_x86_64.whl

Total release size: 19.5 kB

Release files / yni-0.1.5.tar.gz

Download URL yni-0.1.5.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
428ef5eafcb1362c655148d499e34da44ae91d890e91ed2bbe8f23355bc96383
BLAKE2b-256 checksum
How to use checksums
171dbbd896b30f627e032052d79c076d71e824f5f32680b50351c24f8a9dc28e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.8.10 Linux/5.15.0-52-generic

Release files / yni-0.1.5-cp38-cp38-manylinux_2_31_x86_64.whl

Download URL yni-0.1.5-cp38-cp38-manylinux_2_31_x86_64.whl
Size 9.9 kB
Tags CPython 3.8 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
bba890a59ec705e12b4a1f3bd633d3b8ddc632428e4a1be88530066a0b67f779
BLAKE2b-256 checksum
How to use checksums
74102ce69903871f22a090c52697b0903a80fa49fc41d5182e7fb21e13157d26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.8.10 Linux/5.15.0-52-generic

Security for yni 0.1.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