A minimal reactive variable wrapper for Python.
Project description
ref
A minimal and elegant reactive variable for Python.
from ref import Ref
count = Ref(0)
print(count) # 0
count(10)
print(count) # 10
if count == 10:
print("Works!")
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
refvar-0.1.0.tar.gz
(1.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file refvar-0.1.0.tar.gz.
File metadata
- Download URL: refvar-0.1.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90ec30429ad1219f35749dd861f3cc47b43c5e9ff2a69477a0c9a023701282d5
|
|
| MD5 |
6b598280ae57a0ccf392ff6b6a6ad3aa
|
|
| BLAKE2b-256 |
c3ed9ca8aad2c8b9e0b51fa0149620593c20f432d60b60cee6697dff61eb0e04
|
File details
Details for the file refvar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: refvar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
954c6b11c71f290c2f1a511bfbf4d85ff8a86ffe86ba7b3f2114dd4c193bea41
|
|
| MD5 |
8adb5e4d2924b97dbbf5789b251798bf
|
|
| BLAKE2b-256 |
917dd7b337f084cf03d16ca96a2827c4e98c7eab2d851f40f9038040cb47b440
|