Official stlib plugins
Current plugins:
- SteamTrades
- SteamGifts
How to Create Plugins
Just create a new class by extending the class utils.Base from stlib.
Nothing special here, you can use stlib-plugins as an example.
How to Use Plugins
from stlib import plugins
# You can modify the default search path prior the plugin manager initialization
# Must be called before use any method from 'plugins' module
# Warning: Your custom search paths will take precedence over default search paths
plugins.add_search_paths(<mypath>, <anotherpath>, ...)
# You can get a list of all available plugins
all_plugins = plugins.get_available_plugins()
# You can check if there has a plugin called <plugin_name>
if plugins.has_plugin(<plugin_name>):
# So you can load the plugin by plugin name
plugin = plugins.get_plugin(<plugin_name>)
Default search paths are:
# For Windows:
<current_directory>\\plugins
%LOCALAPPDATA%\\stlib\\plugins
# For Linux:
<current_directory>/plugins
/usr/share/stlib/plugins
$HOME/.local/share/stlib/plugins
Metadata
Release files for stlib-plugins 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stlib-plugins-1.2.3.tar.gz | 6.7 kB | Without provenance | Details for stlib-plugins-1.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stlib_plugins-1.2.3-py3-none-any.whl | Python 3 | none | any | Details for stlib_plugins-1.2.3-py3-none-any.whl |
Total release size: 14.1 kB
Release files / stlib-plugins-1.2.3.tar.gz
| Download URL | stlib-plugins-1.2.3.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bb68163e3311369d5c0e904d17e926137e644be316bc81525b958309528f966
|
|
BLAKE2b-256 checksum How to use checksums |
280a7b9044f55336f2a0382ebbaa8e4512690de09977c37dc118e5f2c6c4bd92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / stlib_plugins-1.2.3-py3-none-any.whl
| Download URL | stlib_plugins-1.2.3-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71a6e6182f0b029797e6d2739ec560fa62fafd80aadadcd48ccfda14170bb070
|
|
BLAKE2b-256 checksum How to use checksums |
3ded95b960d8ed99e5405944904b2845d7731486cbc9706faeef12db61a2b157
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for stlib-plugins 1.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.