Build Tools for Python Projects
Project description
Build Tools
Description
Tools to help you setup your python project to interact with the NEXUS server and provide other standard files.
Installation
To use this tool, install it with PIP.
pip install simple-build-tools
Usage
Once you have it installed, a script bt will be available to run on the command line in your Python environment, you can run one of the three commands:
bt -h
usage: bt [-h] {nexus,flake8,gitignore}
Tools to setup environment for Python Nexus
positional arguments:
{nexus,flake8,gitignore}
nexus: Setup project to use Nexus is PyPi source
flake8: Add a .flake8 config file to the project folder
gitignore: Add a stndard gitignore to thep roject folder
options:
-h, --help show this help message and exit
Command: bt nexus Setup the pip and poetry environment on your project to use the NEXUS server.
This requires either a "credentials.ini" file in the current folder, or environment varialbes.
credentials.ini
[credentials-read]
host = nexus.yourdomain.com
repository = /repository/pypi
username = <your username>
password = <your password or access token>
[credentials-write]
host = nexus.yourdomain.com
repository = /repository/pypi-releases
username = <your username>
password = <your password>
Alternatively, you may have the enviroment variables already defined:
NEXUS_SERVER="https://nexus.yourdomain.com"
NEXUS_USERNAME="<your username>"
NEXUS_PASSWORD="<your password or teken"
Command: bt flake8 Writes a basic .flake8 configuration file in your project folder. It will overwrite your existing file if you say "Yes" to the prompt.
Command: bt gitignore Writes a comprehensive .gitignore file in your project folder. It will overwrite your existing file if yo say "Yes" to the prompt.
Contributing
Guidelines for contributing to the project.
None: Have at it.
License
MIT
Take it, it's yours
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_build_tools-1.0.4.tar.gz.
File metadata
- Download URL: simple_build_tools-1.0.4.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18a9400bd49359b04dec4a49a8ba4c3578ed009fadcf3f6fe040fd59fb03483c
|
|
| MD5 |
eee56c74ee55773d0f6a3d1d32b20873
|
|
| BLAKE2b-256 |
bb4445c995bca315df9868f9f83e0fef8c99872d9fe727210d7447fd59e25370
|
File details
Details for the file simple_build_tools-1.0.4-py3-none-any.whl.
File metadata
- Download URL: simple_build_tools-1.0.4-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf782af333b314e6c4f6e7667acb8f1bdc557febc62de95153de68d12ace756e
|
|
| MD5 |
dff1e8fdf06014b8a93d50de012db59e
|
|
| BLAKE2b-256 |
31378ff0b932abf87f229407166f95fc65561e1e546bae6cfce70f98c723c316
|