Python utilities provided by stptls.
Project description
stptls
stptls is a Python package scaffold ready for development and publication to
PyPI.
Usage
Initialize the package to fetch and check its license status:
import logging
import stptls
logging.basicConfig(level=logging.INFO)
stptls.initialize()
When the remote response contains {"authorized": true}, the package records
an INFO log entry and returns True.
Development
Create a virtual environment and install the package in editable mode:
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
Run the tests with pytest after installing it:
python -m pip install pytest
python -m pytest
Build
python -m pip install build
python -m build
The source and wheel distributions will be written to dist/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stptls-0.2.0.tar.gz.
File metadata
- Download URL: stptls-0.2.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fe689e306ea7178f01fea43ccc64add145473d6f89e7597fbae462d3010d81a
|
|
| MD5 |
29a249398439db3c976c95a22306b207
|
|
| BLAKE2b-256 |
a7a4e55b89ceff2b9d50e9a464866d1f46992325dcef423c9b52598747008514
|
File details
Details for the file stptls-0.2.0-py3-none-any.whl.
File metadata
- Download URL: stptls-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8ea3d2f369429012aa86558a73102fd3e14f8468045219e078cd23e2369bccb
|
|
| MD5 |
f4bfe0cea9fb2c69b9119914ffacd8cd
|
|
| BLAKE2b-256 |
b3f4367fcf91b65f13b7f01cc79ddd3cd88a8d5f801049eed6c5205d7f06e08f
|