Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

refvar-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

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

Hashes for refvar-0.1.0.tar.gz
Algorithm Hash digest
SHA256 90ec30429ad1219f35749dd861f3cc47b43c5e9ff2a69477a0c9a023701282d5
MD5 6b598280ae57a0ccf392ff6b6a6ad3aa
BLAKE2b-256 c3ed9ca8aad2c8b9e0b51fa0149620593c20f432d60b60cee6697dff61eb0e04

See more details on using hashes here.

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

Hashes for refvar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 954c6b11c71f290c2f1a511bfbf4d85ff8a86ffe86ba7b3f2114dd4c193bea41
MD5 8adb5e4d2924b97dbbf5789b251798bf
BLAKE2b-256 917dd7b337f084cf03d16ca96a2827c4e98c7eab2d851f40f9038040cb47b440

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page