3LM
Have fun while learning!
So what is this exactly?
This is an attempt at creating a markup language.
3LM is a structure language parsed in Python.
It is used for defining hierarchial objects, intended mainly to help write structured content fast and with ease. Whether you are a scientist, a programmer or an educator, 3LM can be useful for you.
3LM is intended to be a language of use for an educational platform.
Installation
The recommended way to install is using PyPI
Installation through PyPI
Creating a virtual environment is very preferrable.
$ python -m venv venv
$ python -m pip install e3lm
Installation from Github
Not preferrable, but it works too :)
$ pip install git+https://github.com/knno/3lm.git#egg=e3lm
Configuration
# Environment variables and their default values.
E3LM_TEMP_DIRECTORY="tmp"
Usage
Basic example
You can run these in your terminal to make sure it works:
$ e3lm --version
$ e3lm --help
$ e3lm -d code0
$ e3lm -d code0 -p json
$ e3lm examples/lesson1
More examples:
# Interpret an example.3lm file.
$ e3lm example.3lm
# Interpret demo code1 and generate graphviz dot file and view graph image.
$ e3lm -d code1 -p dot view
# Benchmarking 20 times the demo code0 for 6 measurements.
$ e3lm -d code0 -b 6 20
Additional resources
Refer to the Wiki to learn the language.
TODO:
- Examination questions auto-extraction from 3lm files. (Could be a plugin.)
- Rewrite included out-of-the-box example codes and error codes.
- Add more tests.
- Benchmarking.
- Contrib plugins.
- Make publish ready documentation.
- Publish to PyPI.
More possibilities... See e3lm.todo
Metadata
Release files for e3lm 0.1.9
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 |
|---|---|---|---|---|
| e3lm-0.1.9.tar.gz | 44.4 kB | Without provenance | Details for e3lm-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| e3lm-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for e3lm-0.1.9-py3-none-any.whl |
Total release size: 94.2 kB
Release files / e3lm-0.1.9.tar.gz
| Download URL | e3lm-0.1.9.tar.gz |
|---|---|
| Size | 44.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
851ec097b116cde3944da062f6dcbdf394e6b43eb2605a72aba3179c87211a81
|
|
BLAKE2b-256 checksum How to use checksums |
419a1913f37686832bca17caa2c371b3ce963ad17739530af91d8cee21496fb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / e3lm-0.1.9-py3-none-any.whl
| Download URL | e3lm-0.1.9-py3-none-any.whl |
|---|---|
| Size | 49.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5749549feec661a339f24fddd1a5ee0e8ae276de05ebe09b4c16567e7c6c6515
|
|
BLAKE2b-256 checksum How to use checksums |
95f2678c3e5947ca02242507d7308e04f227ada497a7e0885b83d6ceb47c14e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for e3lm 0.1.9
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.