Skip to main content

Python project maker

https://github.com/rrthomas/new-python-project
© Reuben Thomas rrt@sc3d.org

This is a simple program which you can use to create a new Python project from a built-in template. It uses the Nancy templating system.

Installation

pip install new-python-project

Creating a new project

Run new-python-project DIRECTORY. The program will prompt you for basic information about the project, attempting to give sensible default values, and then create the project in the given directory.

You can add the --github option to automatically create a GitHub project.

You can also store project information in a TOML file; see sample.toml for a commented example.

See new-python-project --help for more information.

You can run your new program:

cd /path/to/new-project
make build
PYTHONPATH=. python -m project_name

The project is set up in a new git repository with a pyproject.toml and Makefile to build, test and publish it, and basic command-line handling.

Copyright and Disclaimer

new-python-project is copyright Reuben Thomas, and is free software, licensed under the GNU Public License version 3, or, at your option, any later version. See the file COPYING.

Metadata

Release files for new-python-project 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for new-python-project 0.3.1
File Size Uploaded
new_python_project-0.3.1.tar.gz 37.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for new-python-project 0.3.1
File Interpreter ABI Platform
new_python_project-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 81.1 kB

Release files / new_python_project-0.3.1.tar.gz

Download URL new_python_project-0.3.1.tar.gz
Size 37.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8a951eabe4df1c26455b4286322efe3e4f6cd361618701d793f926f3ce75404e
BLAKE2b-256 checksum
How to use checksums
6ecab2eb706b715b0e109af070c3b6bf93e3b4462c7d68cb068e30038042c7ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / new_python_project-0.3.1-py3-none-any.whl

Download URL new_python_project-0.3.1-py3-none-any.whl
Size 43.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70abcf8513effbf27abe741cd180b9f7070b46baf193d8c0e76ab9ad5ff1042d
BLAKE2b-256 checksum
How to use checksums
6bb5da1d4c88526cbab708253e68e73d4298be7b5a4c2f6f355f53b261b47f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page