Skip to main content

Create a Python project from a simple template

Project description

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.

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

new_python_project-0.3.0.tar.gz (38.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

new_python_project-0.3.0-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file new_python_project-0.3.0.tar.gz.

File metadata

  • Download URL: new_python_project-0.3.0.tar.gz
  • Upload date:
  • Size: 38.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for new_python_project-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a40b1a258ad8ed526049d42f7db85fc0b7ab5976d14afc832124c3f50d75961b
MD5 fcd2ca63b500f4ac3c7a532d499cd159
BLAKE2b-256 37ee92ad49f2e197d286d1202f2262211f68de9eea365fe547f4551d5e1ee10c

See more details on using hashes here.

File details

Details for the file new_python_project-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for new_python_project-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 430bc2c0864734aa43efdffa06c078c1a8c07135864a50c3cdd1d4ec5cfd2f82
MD5 63650436d045799171976dc1c5a828a4
BLAKE2b-256 4bd541b05a5288c21ad57ff5e8e1297332b810e6a613969706fe26c9f5fcf8b6

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