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 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.1.tar.gz (34.6 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.1-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: new_python_project-0.1.tar.gz
  • Upload date:
  • Size: 34.6 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.1.tar.gz
Algorithm Hash digest
SHA256 eb961073af657ba99f6840d5c05d6580b6d0e314f85e0c5a7ad0ea67358c0ce2
MD5 de1594f500a29f3126c5ba28432ec556
BLAKE2b-256 3217557127e42602bbaf2204bde48567ec1f96d676249a5fe2a2edc3b9c71a45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for new_python_project-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9818e63c325b1aefa7ad253f724d684dec44560e9ea79a1a67e19f12b55f9de8
MD5 794a9a8bd6a7a99e99fa3a95c798d95c
BLAKE2b-256 16062e20183819c7cd2b646edd1881db7446704616b64a91cab0249f3c864499

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