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.nn: 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[nn]"
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.nn
  • 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.4.13.10.59.tar.gz (5.0 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.4.13.10.59-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for basicnn-2026.4.13.10.59.tar.gz
Algorithm Hash digest
SHA256 48c941b24da4a78ed232d4e0a48aa473557379f31707ef7d8152da4e791fb347
MD5 609e345e02f039211e707335114f67b1
BLAKE2b-256 b678fe8a5092bd86a885404f76c527f4a1eca7b816cf2a7e9c08350054277a9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basicnn-2026.4.13.10.59-py3-none-any.whl
Algorithm Hash digest
SHA256 c0802aa4e37a79ff6b34f9206612b12a6eaefbbbd1a8ecbe7658b8f25e6e1e49
MD5 7a87ec434cdfc5e2cf1d765cef580f61
BLAKE2b-256 28eada872ad31bf7e69c9ee7c156af40ba7d7d7225734fc5cbed2f9bf5907100

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