Python wrapper for the Rust implementation of the Ryan configuration language.
For basic usage, this module provides two main functions: ryan.from_str, which reads
and executes a Ryan program from a string, and ryan.from_path, which reads and
executes a Ryan program from a file. If you are wondering, no function is needed for
serialization; you can use the standard json package for that (remeber: all JSON is
valid Ryan).
How to use Ryan
You can use Ryan in your project via pip:
pip install ryan-lang
Additionally, the Ryan CLI might be useful to have for testing and debugging. See the main page for the project for more information.
Resources for Ryan
- Main project page with more information.
- The Book of Ryan (WIP. New episodes every week!).
- Try out Ryan in your browser.
- The Rust docs also have good info, even if you don't care about Rust.
- Syntax highlighting for VSCode.
Limitations of this library
By now, only deserializing is supported. In the future, this wrapper might also get the full environment API exposed. If you have an usecase for that, please don't hesitate and open an issue in the Ryan repository.
Metadata
Release files for ryan-lang 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ryan_lang-0.2.4.tar.gz | 9.3 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| ryan_lang-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details |
| ryan_lang-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
| ryan_lang-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
| ryan_lang-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details |
| ryan_lang-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details |
| ryan_lang-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.17+ x86-64 | Details |
Total release size: 3.4 MB
Release files / ryan_lang-0.2.4.tar.gz
| Download URL | ryan_lang-0.2.4.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
029fd4952275c024082efc505ce1658437d6ddd92ffcbb8d48a1575e7127bfb0
|
|
BLAKE2b-256 checksum How to use checksums |
c4491c1e507ad8a2eab9c689442666584ff3bcdd7fdf03c95233e96c7aa4d0a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.3.0
|
Release files / ryan_lang-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ryan_lang-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 572.3 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
52a18f8f8828a05fc6bb6ede72361de75638bbe21e527c5d46a6d3631559dcca
|
|
BLAKE2b-256 checksum How to use checksums |
1b1b3a45275df759f11ce145dbd8c79c650e791aa2d62264fce67c5482a0d229
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.3.0
|
Release files / ryan_lang-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ryan_lang-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 572.3 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
43a6cd6f73b933a73cf7eb261a7c2891d713e4050d4b6e4ceee20ed295366622
|
|
BLAKE2b-256 checksum How to use checksums |
232abe03327b6f662fcaa70d75252b8fd7be42df8a6e7cc886b1e468ea70863c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.3.0
|
Release files / ryan_lang-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ryan_lang-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 572.3 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8baae8c1d6a3e067916ef699826e52d80de0795b03ac8a9e3609e9e18aac58c3
|
|
BLAKE2b-256 checksum How to use checksums |
fea7ec80abd5d9f88ff1fc335ef2a1f26d62bb7d856a166f93698136d22ba290
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.3.0
|
Release files / ryan_lang-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ryan_lang-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 572.3 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fdc3af464cf3f9f8263ae3ea12054a86098978edca1528fe3e1beaae687af3bf
|
|
BLAKE2b-256 checksum How to use checksums |
ef38013e1d4a9436332c90016fcdcd9471ca84f6ece98b1d32d49a7bc6f771e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.3.0
|
Release files / ryan_lang-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ryan_lang-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 572.3 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f2749d33fc65036060dceeabc3cb31cd74298faab219d53bd3b4fbdbd478f28
|
|
BLAKE2b-256 checksum How to use checksums |
856aa36cb37c35aed570ea5ee2a6d6c88762726b8d1717156e57962bfd77eafa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.3.0
|
Release files / ryan_lang-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ryan_lang-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 572.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
551787efd7fe553033e733d0521c841a5e3cd85d5bdba048b1e3317f654b2e96
|
|
BLAKE2b-256 checksum How to use checksums |
f3c3980cab337d2e8caa9bc7d8a653fe7ef74a9cad4aab36b70b8c88924e4985
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.3.0
|