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.2.1.tar.gz (36.9 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.2.1-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: new_python_project-0.2.1.tar.gz
  • Upload date:
  • Size: 36.9 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.2.1.tar.gz
Algorithm Hash digest
SHA256 917abc2cc93804124142fefa1a3ea71448375558d14745795e5e5427b036f424
MD5 a0f90b273908944478881370d3718d02
BLAKE2b-256 fa1a97ead8cd18abf9087e7070e8c953e01f491b03538e2e9fe2f8d31f054042

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for new_python_project-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8dd2b6e37ca3983c98f3900490daf0fac640203cec89c2f24813dcc492b675b4
MD5 7a1878508db1ccc1f7edebbcc91498c5
BLAKE2b-256 448b5b4bc167e7081dc69d9597f70609c03f4eef8db68285022986926dd955fb

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