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.1.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.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stptls-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 d6a89bb4283660323acf19187cc7147f9741a4f6e7de96435293188be417b2ae
MD5 cce6f74596a98861f3e2a0ecfbb0e832
BLAKE2b-256 48f9b4e6a4576e7cff14eb73f7cd5a777d9324dfd67d89985a737fec00ecbae6

See more details on using hashes here.

File details

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

File metadata

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

Hashes for stptls-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2afa6809e6ea1923ea74c231067c169e9b60615730610eb45a08ebec6e71b523
MD5 234bc411713ec2f734b3123248a5e421
BLAKE2b-256 d9b993a88a059e56ea9b376d157955f6914942a825218e4e2e6f75f93abfdcd2

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