Skip to main content

A Python implementation of svelte/store

Project description

💾 Store

This library is a Python implementation of svelte/store.

💻 Installation

This package is published to PyPI as babichjacob-store.

🛠 Usage

from store import writable

my_store = writable(17)
my_store.subscribe(lambda value: print(f"Store value changed to {value}"))
my_store.set(23)

# readable and derived are also available but I didn't feel like documenting them because this is just for myself

😵 Help! I have a question

Create an issue and I'll try to help.

😡 Fix! There is something that needs improvement

Create an issue or pull request and I'll try to fix.

📄 License

MIT

🙏 Attribution

This README was generated with ❤️ by readme-md-generator

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

babichjacob_store-0.5.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

babichjacob_store-0.5.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

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