Skip to main content

Shortcuts for use with Python stdlib HTTP and FTP

Project description

sc4net

License Python QA Coverage Publish Docs pre-commit

Network helpers for HTTP(S) and FTP downloads, with convenience JSON and ZIP readers.

Installation

pip install sc4net

Security

Please report vulnerabilities according to SECURITY.md.

How to contribute

git clone git@github.com:kelsoncm/sc4.git ~/projetos/PESSOAL/sc4net
code ~/projetos/PESSOAL/sc4net

Pre-commit

This repository uses pre-commit to run quality checks before each commit and coverage regression checks before each push.

Setup:

python -m venv .venv
.venv\bin\activate
.\.venv\Scripts\Activate.ps1
pip install --upgrade pip uv
uv pip install --upgrade -e ".[dev]"
pre-commit install
pre-commit install --hook-type pre-push

Run manually:

pre-commit run --all-files
pre-commit run --hook-stage pre-push --all-files

Hooks:

  • pre-commit: black, isort, bandit, flake8 (with flake8-bandit)
  • pre-push:
    1. Runs pytest --cov=sc4net --cov-report=xml to produce coverage.xml
    2. pytest-coverage-gate reads coverage.xml, compares against .coverage-baseline (2 decimal places), blocks the push on regression and updates the baseline on improvement
  • GitHub Actions only: semgrep SAST

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

sc4net-1.2.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

sc4net-1.2.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file sc4net-1.2.0.tar.gz.

File metadata

  • Download URL: sc4net-1.2.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sc4net-1.2.0.tar.gz
Algorithm Hash digest
SHA256 9835ceab84675bb31dbd3e1cdf88cfa86bd764314c249c75ebcbb7567969bb93
MD5 7187ac4eb2a2ca416404c0ff7c364c76
BLAKE2b-256 6422c9e390ddcfbd45ee280cc5d78e261c32c4134f2cddea35d2732c82e3a256

See more details on using hashes here.

Provenance

The following attestation bundles were made for sc4net-1.2.0.tar.gz:

Publisher: publish.yml on kelsoncm/python-sc4net

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sc4net-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: sc4net-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sc4net-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e896927e8f4bad711f439d63991131b5f784835b22c40aab6b61e43dd49c1db6
MD5 926b5f561beabb37099d285213f51dd3
BLAKE2b-256 c703006c3e6bec9ca729395ee8e55b8155129f482a9bd1800c132122aa86ec90

See more details on using hashes here.

Provenance

The following attestation bundles were made for sc4net-1.2.0-py3-none-any.whl:

Publisher: publish.yml on kelsoncm/python-sc4net

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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