Skip to main content

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

The latest version is Version 0.1.2

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

simple_build_tools-0.1.3.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

simple_build_tools-0.1.3-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file simple_build_tools-0.1.3.tar.gz.

File metadata

  • Download URL: simple_build_tools-0.1.3.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

Hashes for simple_build_tools-0.1.3.tar.gz
Algorithm Hash digest
SHA256 350388be3112fcd7af3e59c95e81d1de895ed21078dcce4203497caf7eeff411
MD5 50d650eb7cda5448ef48c855d99e9d27
BLAKE2b-256 b761beda0bde6287ffa15b4ceda282422732b7c9ffdd88c26c0455288c186bf0

See more details on using hashes here.

File details

Details for the file simple_build_tools-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_build_tools-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d7c16b3c5f4a22f551f0091f7b2b51e9a285edf629d63f9be43db2f7eec82619
MD5 a9f89d65e905e91d93ba83ba73f1c702
BLAKE2b-256 bef791fe08d7ce6f0d27bfcbbe22cde6dd872bf7683f6f0d54f439611bd18e4b

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