Metadata-Version: 2.1
Name: babichjacob-store
Version: 0.3.0
Summary: A Python implementation of svelte/store
Home-page: https://github.com/babichjacob/python-store
License: MIT
Author: J or Jacob Babich
Author-email: jacobbabichpublic+git@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Project-URL: Repository, https://github.com/babichjacob/python-store
Description-Content-Type: text/markdown

<h1 align="center">💾 Store</h1>

This library is a Python implementation of `svelte/store`.

## 💻 Installation

This package is [published to PyPI as `babichjacob-store`](https://pypi.org/project/babichjacob-store/).

## 🛠 Usage

```py
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](https://github.com/kefranabg/readme-md-generator)_

