Ryan: a configuration language for the practical programmer
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file ryan_lang-0.2.4.tar.gz
.
File metadata
- Download URL: ryan_lang-0.2.4.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 029fd4952275c024082efc505ce1658437d6ddd92ffcbb8d48a1575e7127bfb0 |
|
MD5 | 95fc27d0ee5811fbcdd4c8c668664ca9 |
|
BLAKE2b-256 | c4491c1e507ad8a2eab9c689442666584ff3bcdd7fdf03c95233e96c7aa4d0a9 |
File details
Details for the file ryan_lang-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ryan_lang-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 572.3 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52a18f8f8828a05fc6bb6ede72361de75638bbe21e527c5d46a6d3631559dcca |
|
MD5 | 7f1d0616ecadf631224ac01f9d0956c9 |
|
BLAKE2b-256 | 1b1b3a45275df759f11ce145dbd8c79c650e791aa2d62264fce67c5482a0d229 |
File details
Details for the file ryan_lang-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ryan_lang-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 572.3 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43a6cd6f73b933a73cf7eb261a7c2891d713e4050d4b6e4ceee20ed295366622 |
|
MD5 | 0d42d4b3af6690fd570c933831dceed8 |
|
BLAKE2b-256 | 232abe03327b6f662fcaa70d75252b8fd7be42df8a6e7cc886b1e468ea70863c |
File details
Details for the file ryan_lang-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ryan_lang-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 572.3 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8baae8c1d6a3e067916ef699826e52d80de0795b03ac8a9e3609e9e18aac58c3 |
|
MD5 | 4c313fa00be79d0740e0141e28d108a8 |
|
BLAKE2b-256 | fea7ec80abd5d9f88ff1fc335ef2a1f26d62bb7d856a166f93698136d22ba290 |
File details
Details for the file ryan_lang-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ryan_lang-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 572.3 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdc3af464cf3f9f8263ae3ea12054a86098978edca1528fe3e1beaae687af3bf |
|
MD5 | 87b581ef2af0317b1bb34148415cea86 |
|
BLAKE2b-256 | ef38013e1d4a9436332c90016fcdcd9471ca84f6ece98b1d32d49a7bc6f771e1 |
File details
Details for the file ryan_lang-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ryan_lang-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 572.3 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f2749d33fc65036060dceeabc3cb31cd74298faab219d53bd3b4fbdbd478f28 |
|
MD5 | 28fcbbd054752d56e54f59d0c90074c5 |
|
BLAKE2b-256 | 856aa36cb37c35aed570ea5ee2a6d6c88762726b8d1717156e57962bfd77eafa |
File details
Details for the file ryan_lang-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ryan_lang-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 572.7 kB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551787efd7fe553033e733d0521c841a5e3cd85d5bdba048b1e3317f654b2e96 |
|
MD5 | d0e52980662071c36a5885f4f8502460 |
|
BLAKE2b-256 | f3c3980cab337d2e8caa9bc7d8a653fe7ef74a9cad4aab36b70b8c88924e4985 |