Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.2.3 instead.

Official stlib plugins

build status Quality GitHub license

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stlib-plugins-1.2.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stlib_plugins-1.2.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file stlib-plugins-1.2.1.tar.gz.

File metadata

  • Download URL: stlib-plugins-1.2.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for stlib-plugins-1.2.1.tar.gz
Algorithm Hash digest
SHA256 d732acb14a366cdb7a48bd0999119f3d85f2058ab93f66acbeaae879b62ee753
MD5 7bf50d1dcffdc6c1f68c570107acaf30
BLAKE2b-256 2b8ad1dc1b5dcb37e5e93453666b70775e0e6759c1849d7a639556056d577acc

See more details on using hashes here.

File details

Details for the file stlib_plugins-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: stlib_plugins-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for stlib_plugins-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e6fcee41a2b92176a2a8e6c9a5852ede64bed0351ae6e30bc4998822bd1946e
MD5 d16604dc3a8ba27d39fa94a49b9f4874
BLAKE2b-256 170e0ccbfab1ca5b22f44d0e12305b2bb5f9c99dfd61bd28c5fc3056644a006d

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.3

2 files

1.2.2

2 files

This release

1.2.1 This release

2 files

1.2

2 files

1.1.2

2 files

1.1.1

2 files

1.1

2 files

0.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page