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.7.24.tar.gz (5.1 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.7.24-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: basicnn-2026.5.15.7.24.tar.gz
  • Upload date:
  • Size: 5.1 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.7.24.tar.gz
Algorithm Hash digest
SHA256 827b6ba8608fb9ffb97c738bb324b6b0ed11a5cfe81181a5bd6f27db07aa5026
MD5 97b21c732dba78d9b0cc19ef49d6a5a2
BLAKE2b-256 a78b10e17f21aea2183a488389cb22350f9e2def14bf0819679a3c2c94d8d98e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basicnn-2026.5.15.7.24-py3-none-any.whl
Algorithm Hash digest
SHA256 14f21cb62a8877b263168170aa9f80f849a156034925a7a43a99e6bde0c1bbd9
MD5 9d87d6d379c160886863e7d803c8f350
BLAKE2b-256 805f5f5621b29151994d9d1a544aa7bcdc3fc5cdc77ab1e2181bee42b991c686

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