Skip to main content

A modular basic neural network toolkit with dataset and filesystem helpers.

Project description

basicnn

basicnn is a modular Python package with three focused submodules:

  • basicnn.model: neural network related abstractions and utilities.
  • basicnn.dataset: general dataset and file-reading utilities.
  • basicnn.filesystem: filesystem and path handling helpers.

Install

Default install (includes all module dependencies):

pip install basicnn

You can also install with explicit module extras:

pip install "basicnn[model]"
pip install "basicnn[dataset]"
pip install "basicnn[filesystem]"
pip install "basicnn[all]"

For local development:

pip install -e .

For development tools:

pip install -e ".[dev]"

Auto Sync Dependencies

Use pipreqs-based sync script to avoid manual dependency maintenance:

python scripts/sync_deps.py

Optional mode examples:

python scripts/sync_deps.py --mode no-pin
python scripts/sync_deps.py --mode gt
python scripts/sync_deps.py --mode compat

The script updates these fields in pyproject.toml automatically:

  • project.dependencies
  • project.optional-dependencies.model
  • project.optional-dependencies.dataset
  • project.optional-dependencies.filesystem
  • project.optional-dependencies.all

Build package

python -m build

Upload to PyPI

python -m twine upload dist/*

One-Command Publish

Run this script to automatically:

  • set version to YYYY.MM.DD.HH.MM
  • build package artifacts
  • upload to configured PyPI repository
python scripts/publish.py

Publish to TestPyPI:

python scripts/publish.py --repository testpypi

You can copy .pypirc.example to ~/.pypirc and fill your token.

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

basicnn-2026.5.15.9.13.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

basicnn-2026.5.15.9.13-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file basicnn-2026.5.15.9.13.tar.gz.

File metadata

  • Download URL: basicnn-2026.5.15.9.13.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for basicnn-2026.5.15.9.13.tar.gz
Algorithm Hash digest
SHA256 0015a0ceb50a6547fef7a2bacfe47b5c0fcc8a0917108c54a4a72f353550167a
MD5 f4ff67e75636b00f47fd9e04e398b173
BLAKE2b-256 ac8aa7b6bc5bb715c68604c898ab6e59c7b4e0bf5fefcb1d3aa886376e339247

See more details on using hashes here.

File details

Details for the file basicnn-2026.5.15.9.13-py3-none-any.whl.

File metadata

File hashes

Hashes for basicnn-2026.5.15.9.13-py3-none-any.whl
Algorithm Hash digest
SHA256 4b085ad934607a0006d854c772bffca002f33bc653d102f2f5a9a8c33ceb040a
MD5 a747ff1fd9c59a75bbd5855cbb1d3ff4
BLAKE2b-256 3ad2bf90b311a2d517c82f9177a7be7c7503c783677fdf396f51aa6d2f140a3d

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