Singleton types.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install solussolus
Singleton types.
Installing
Python 3.8 or above is required.
pip
Installing the library with pip is quite simple:
$ pip install solus
Alternatively, the library can be installed from source:
$ git clone https://github.com/nekitdev/solus.git
$ cd solus
$ python -m pip install .
poetry
You can add solus as a dependency with the following command:
$ poetry add solus
Or by directly specifying it in the configuration like so:
[tool.poetry.dependencies]
solus = "^1.2.2"
Alternatively, you can add it directly from the source:
[tool.poetry.dependencies.solus]
git = "https://github.com/nekitdev/solus.git"
Examples
Default
Singleton type is used to create singletons.