Skip to main content

Python toolz, by Alex Ioannides (AI).

Project description

aitoolz

Various Python tools, by Alex Ioannides (AI). Some of them might be useful for artificial intelligence, some of them might not.

Installing

aitoolz has yet to be released to PyPI. In the meantime, the best way to install it is directly from this repo, which you can do via

pip install pip@git+https://github.com/alexioannides/aitoolz

Features

A brief overview of the core tools:

Template Python Package Projects

The aitoolz.make_project module exposes the create_python_pkg_project function that can create empty Python package projects to speed-up development. This includes:

  • Executable tests via PyTest.
  • Fully configured code formatting and checking using Ruff and Black.
  • Fully configured static type checking using MyPy.
  • Dev task automation using Nox.
  • Fully configured CI using GitHub Actions.

This is an opinionated setup that reflects how I like to develop projects. This can also be called from the command line using the Make Empty Project (MEP) command - e.g.,

mep my_package

Where my_package can be replaced with any valid Python module name. Either of these commands will create a directory structure and skeleton files,

my_package
├── .github
│   └── workflows
│       └── python-package.yml
├── .gitignore
├── README.md
├── noxfile.py
├── pyproject.toml
├── src
│   └── my_package
│       ├── __init__.py
│       └── hello_world.py
└── tests
    └── test_hello_world.py

This has been tested to be installable and for all dev tasks automated with Nox to pass - use nox --list to see them all.

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

aitoolz-0.1.0.dev4.tar.gz (21.8 kB view hashes)

Uploaded Source

Built Distribution

aitoolz-0.1.0.dev4-py3-none-any.whl (22.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page