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.53.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.53-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: basicnn-2026.4.13.10.53.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.53.tar.gz
Algorithm Hash digest
SHA256 ed065419a4d66d81e9de08294a380e1ebe856dfdaf24ba9f458dc8e56fd3aceb
MD5 b04f3b198717a5d53b36d50341654ca5
BLAKE2b-256 fb2e6f6d7ed209d1a2e20d7ba44733fc16f554a624c88c923abd9cf483accf85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basicnn-2026.4.13.10.53-py3-none-any.whl
Algorithm Hash digest
SHA256 d789ddd979631033dd3d49e00e8bd2d3d59794e9e6307e1cbd68dff09a41c83a
MD5 5cb273fbbda7e88ba00cea43618c6a8b
BLAKE2b-256 10f995b5c97207b52dc75039ffb6257b603613b2b58a63c1eb87e43e500942bc

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