Skip to main content

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


Download files

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

Source Distribution

stptls-0.3.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

stptls-0.3.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file stptls-0.3.0.tar.gz.

File metadata

  • Download URL: stptls-0.3.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

Hashes for stptls-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b0b5c2ae9a29ae48471c7798c78ac2f5cc6a446b51140355d780ab3f77ccecd6
MD5 bd587e7911358bb787a05af18b1a851e
BLAKE2b-256 0b42e173847d2569320d5e83864cf5d135633d71530e99702f64741fb50860b5

See more details on using hashes here.

File details

Details for the file stptls-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: stptls-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for stptls-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29745d9fd5f6688b0b949899ee8f931bab7586338d9d27e8a10cd30dd0e0712f
MD5 0542eb828742cb64327b01615f322694
BLAKE2b-256 ef8e8db37c1409fa84bcf8ac292348e9772fc19b11d052e15a542cec61c9fd63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page