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
Built Distribution
File details
Details for the file babichjacob_store-0.5.0.tar.gz
.
File metadata
- Download URL: babichjacob_store-0.5.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/5.15.0-1034-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdd24533e0a6915d888b19277df5f4823a7007767ed127418095e41091bc295b |
|
MD5 | e1f539fc2cc85f775167bd04cae1eef5 |
|
BLAKE2b-256 | 8e6e8079b9415a731b457a219beaea79ea88dc1a5eaa8dd01856456159b363aa |
File details
Details for the file babichjacob_store-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: babichjacob_store-0.5.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/5.15.0-1034-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8445c275f123d53fc5c15436dcb5d18d7c9d48c97fcd195d06edcd536f959c60 |
|
MD5 | 02e03ac75b1c34591fb0717bc51655af |
|
BLAKE2b-256 | 723385fa880e08fef80ee1d91bbe171b6958eb3efa84ec7915452f373a0b26fa |