Skip to main content

A project templating utility for Python.

Project description

nusex

PyPi version PyPI pyversions PyPI - Implementation PyPI - Status PyPI - Downloads

Maintenance GitHub Release Date GitHub last commit Read the Docs License

A project templating utility for Python.

CPython versions 3.6 through 3.11-dev and PyPy versions 3.6 and 3.7 are officially supported. PyPy 3.8 support is unknown.

Features

  • An easy-to-use CLI (command-line interface)
  • Dynamic templating using placeholder variables
  • Template extensions for use during the whole development lifecycle
  • A profile system for those who maintain personal and organisation-owned projects
  • Automatic dependency installation
  • Premade templates for applications and packages
  • No dependencies!

Installation

You need Python 3.6.0 or greater to run nusex.

To install the latest stable version of nusex, use the following command:

pip install nusex

You can also install the latest development version using the following command:

pip install git+https://github.com/nusex/nusex@develop

You may need to prefix these commands with a call to the Python interpreter depending on your OS and Python configuration.

Quickstart

Before you can build and deploy templates with nusex, you need to initialise it. You only need to do this once, and not for every new project. To initialise nusex, use the following command:

nsx init

Some premade templates will be downloaded for you to experiment with. You can deploy these templates with the following command(s):

# For general applications
nsx deploy simple_app

# For PyPI packages
nsx deploy simple_pkg

To learn how to build templates of your own, read the documentation.

Contributing

nusex is open to contributions. To find out where to get started, have a look at the contributing guide.

License

The nusex module for Python is licensed under the BSD 3-Clause License.

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

nusex-1.0.0.dev2.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

nusex-1.0.0.dev2-py3-none-any.whl (38.7 kB view details)

Uploaded Python 3

File details

Details for the file nusex-1.0.0.dev2.tar.gz.

File metadata

  • Download URL: nusex-1.0.0.dev2.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for nusex-1.0.0.dev2.tar.gz
Algorithm Hash digest
SHA256 91d586dc8bea6647c303ffb8ddda9f3fd6d6e7d97b909a7baa6fe5032abb83b5
MD5 90884a4db685567dbce0a68eda73a0d8
BLAKE2b-256 3c1a79d64383376502185ceb1a82d95536a512beac8bd10405995f3e243a5840

See more details on using hashes here.

File details

Details for the file nusex-1.0.0.dev2-py3-none-any.whl.

File metadata

  • Download URL: nusex-1.0.0.dev2-py3-none-any.whl
  • Upload date:
  • Size: 38.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for nusex-1.0.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 93f2367967cb3c1ce401e5a77562969d53f040b8cb05fa05d321c3ff1d1b22ba
MD5 23ab84c7957cfea17e299a88b60696a9
BLAKE2b-256 03b27ab47a50840ac9f2f263c5c5779c3e76e186f6e4b46e2d0537065942e438

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