newby
Creates a new project folder from templates.
Installation
Install by running pip install newby in the root folder.
Running, and options
[!NOTE] Only the creation of Python projects is supported currently.
Run using newby python <project name>.
When run for the first time, you will be asked to set the default author, python manager (pip, pipenv or pyenv), and license (mit, unlicense and boost).
The default values can be changed to using the options below.
The following options are available:
| Option | Description |
|---|---|
| --author, -a | Specify the name of the author, and save as the default author |
| --author-tmp, -t | [Flag] Specify that the author name will not save as the default author |
| --license, -l | Specify the license, and save as the default license. Currently supports mit, unlicense and boost |
| --license-tmp, -k | [Flag] Specify that the license will not be set as default |
| --manager, -m | Specify the python package manager (and virtual environment). Currently supports pyenv, pip, pipenv. If pip is chosen, the virtual environment will be created using virtualenv. |
| --venv, -v | [Flag] Creates a virtual environment using the default manager. |
| --install, -i | [Flag] Install the newby project. If --venv is set, this will be installed in the virtual environment that is created. |
| --git, -g | [Flag] Initialises git if this flag is set |
| --precommit, -p | [Flag] Install pre-commit hooks if this flag is set. This requires the --git flag. |
Example
Suppose you run:
newby python hello_world -vipg -at 'Random Author' -m pyenv
This will:
- Create a project
hello_world, - Set the default manager to
pipenv, - Create a virtual environment,
- Install the current project in this virtual environment,
- Create and install pre-commit hooks,
- Initialise git, and
- Temporarily set the author to
Random Author; i.e. it won't override the default author.
Metadata
Release files for newby 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| newby-0.0.2.tar.gz | 12.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| newby-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.7 kB
Release files / newby-0.0.2.tar.gz
| Download URL | newby-0.0.2.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00c9ab8fd36a0b2ceb6136f9a88d71f0e5b58675e8f46a83f0b0ef3f31816bee
|
|
BLAKE2b-256 checksum How to use checksums |
90c4c480eaf054c35b8d72a8cfcf2f0cb6635e322ff97d9659d47092b03deef0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / newby-0.0.2-py3-none-any.whl
| Download URL | newby-0.0.2-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a5a9eba421f49c3f6bce83c4736f42f28e0f7d6ca59000e88976316f8203c22
|
|
BLAKE2b-256 checksum How to use checksums |
5346db1b88bd8ee007f0de1046585cc5f06aa3fcd88a964ecd93b119f86f34fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Security for newby 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.