🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

stptls

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stptls

Python utilities provided by stptls.

pipPyPI
Version
0.3.0
Weekly downloads
581
Maintainers
1

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/.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts