https://github.com/kelsoncm/python-sc4net
Network helpers for HTTP(S) and FTP downloads, with convenience JSON and ZIP readers.
https://github.com/kelsoncm/python-sc4net
ftp http network python
Last synced: 9 days ago
JSON representation
Network helpers for HTTP(S) and FTP downloads, with convenience JSON and ZIP readers.
- Host: GitHub
- URL: https://github.com/kelsoncm/python-sc4net
- Owner: kelsoncm
- License: other
- Created: 2026-04-20T18:47:44.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-23T21:59:10.000Z (2 months ago)
- Last Synced: 2026-04-23T22:10:26.814Z (2 months ago)
- Topics: ftp, http, network, python
- Language: Python
- Homepage: https://kelsoncm.github.io/python-sc4net/
- Size: 275 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# sc4net
[](https://opensource.org/licenses/MIT)
[](https://pypi.org/project/sc4net/)
[](https://github.com/kelsoncm/python-sc4net/actions/workflows/qa.yml)
[](https://codecov.io/gh/kelsoncm/python-sc4net)
[](https://github.com/kelsoncm/python-sc4net/actions/workflows/publish.yml)
[](https://kelsoncm.github.io/python-sc4net/)
[](https://github.com/pre-commit/pre-commit)
Network helpers for HTTP(S) and FTP downloads, with convenience JSON and ZIP readers.
## Installation
```bash
pip install sc4net
```
## Security
Please report vulnerabilities according to [SECURITY.md](SECURITY.md).
## How to contribute
```bash
git clone git@github.com:kelsoncm/sc4.git ~/projetos/PESSOAL/sc4net
code ~/projetos/PESSOAL/sc4net
```
## Pre-commit
This repository uses [pre-commit](https://pre-commit.com/) to run quality checks
before each commit and coverage regression checks before each push.
Setup:
```bash
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:
```bash
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`](https://github.com/kelsoncm/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