Pyliven
Pronounced /ˈpaɪlʌɪvɛn/
Pyliven is an initiative to add stateful computation in the Python programming language. With this package, your python variables with automatically update if a dependency variable is updated. It's a new way to calculate in python.
Use
Pyliven can be leveraged in multiple ways. One use-case can be to write formulae in python. Let's try with the classic Electrostatic force formula:
from pyliven.liven import LiveNum
k = 9e9
q1 = LiveNum(2e-3)
q2 = LiveNum(3e-3)
r = LiveNum(1)
Force = k*q1*q2/r**2
Now we can directly update any of q1, q2, and r, and the value of Force will update.
r.update(5)
print(Force)
You can find the complete documentation at https://keymii.github.io/pyliven
Metadata
Release files for pyliven 0.1.1
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 | |
|---|---|---|---|---|
| pyliven-0.1.1.tar.gz | 8.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyliven-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / pyliven-0.1.1.tar.gz
| Download URL | pyliven-0.1.1.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fa04f55e218a9967f45f37d7787563b4fc055f6173374933eb6a27a9c220d87
|
|
BLAKE2b-256 checksum How to use checksums |
e0ea2cfd1172427d4261a807da446bb6bd7edf89bbdc730628909f8899a877d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.6
|
Release files / pyliven-0.1.1-py3-none-any.whl
| Download URL | pyliven-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed5d466f876c636e4f3029eee52a4944d71a72605c34b2aadeefd90d87013c88
|
|
BLAKE2b-256 checksum How to use checksums |
e3205a072e9ee8392e152c3669a5ac2cdd0714f33feee4856cab9fa4f295a72e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.6
|
Security for pyliven 0.1.1
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.