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

Uploaded Python 3

File details

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

File metadata

  • Download URL: new_python_project-0.3.1.tar.gz
  • Upload date:
  • Size: 37.5 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.1.tar.gz
Algorithm Hash digest
SHA256 8a951eabe4df1c26455b4286322efe3e4f6cd361618701d793f926f3ce75404e
MD5 d2e142d220c005c29e8a9337708b7f31
BLAKE2b-256 6ecab2eb706b715b0e109af070c3b6bf93e3b4462c7d68cb068e30038042c7ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for new_python_project-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70abcf8513effbf27abe741cd180b9f7070b46baf193d8c0e76ab9ad5ff1042d
MD5 d013c6e15bf1c57a49de507b0c67b3fd
BLAKE2b-256 6bb5da1d4c88526cbab708253e68e73d4298be7b5a4c2f6f355f53b261b47f6a

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