https://github.com/johndevlopment/jsignal
A Pythonic implementation of the observer pattern.
https://github.com/johndevlopment/jsignal
design-patterns observer-pattern python python-library python3
Last synced: about 1 year ago
JSON representation
A Pythonic implementation of the observer pattern.
- Host: GitHub
- URL: https://github.com/johndevlopment/jsignal
- Owner: JohnDevlopment
- License: mit
- Created: 2024-02-28T11:25:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-29T01:46:07.000Z (over 2 years ago)
- Last Synced: 2024-02-29T12:52:34.052Z (over 2 years ago)
- Topics: design-patterns, observer-pattern, python, python-library, python3
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsignal
A Pythonic implementation of the observer pattern.
# Installation
Installing this package is very simple. It can be installed with `pip` in two different ways. One is to install via the directory or url.
```shell
# Download from a directory
git clone https://github.com/JohnDevlopment/jsignal.git
cd jsignal
pip install .
```
```shell
# Download directly from a url
pip install https://github.com/JohnDevlopment/jsignal.git
```
The other is to install one of the wheels, which can be downloaded from the [releases](/releases). Let's say you downloaded `jsignal-1.0.0-py3-none-any.whl`. Well, the commandline looks like this:
```shell
pip install jsignal-1.0.0-py3-none-any.whl
```
## Requirements
`jsignal` currently requires Python version 3.9 or above. Its main dependencies are:
* `typing-extensions`
* `icecream` (optional, for debugging)
* `pytest` (optional, for testing)
* `pytest-cov` (optional, for testing)
* `poetry` (to build from source)