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.0.tar.gz (37.8 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.0-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: new_python_project-0.2.0.tar.gz
  • Upload date:
  • Size: 37.8 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.0.tar.gz
Algorithm Hash digest
SHA256 2abbc4ee7b3dab41f44314c7311f0cadc09fbab272357e151a95d928f9a73647
MD5 db2cdf26db09a0494d12a9680e580467
BLAKE2b-256 2898852d76211d0e5fba69b002ef01dfdf1cc51412d5558bc4128a23eee2957a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for new_python_project-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 119ef85a99509a9af617a0f046b7ccfed201f96de50df9df5d07df010d307e26
MD5 9572d068900fb86af8ae48fb037cf4a5
BLAKE2b-256 f1e317ac99e8db3b3592024fb239d5fd90082731cdf8daae4ec561d903da4558

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