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.2.tar.gz (6.5 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.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_build_tools-0.1.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for simple_build_tools-0.1.2.tar.gz
Algorithm Hash digest
SHA256 be627a1fff9cdfdea652199da7fc6ff9d3befd572e16fc73f384c4b540ad3d1c
MD5 e061c72b9db4e9943edb8b2853967d8b
BLAKE2b-256 1ad56249247800eb44fdbf24ea106e8cbf30060a52e4cb969ede819c6997156c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_build_tools-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 54430994a01342c48af867f05cf98c1c3835b5fd18ac727dd84fc655b59102cc
MD5 69d63b767fa46ce5287c046925579481
BLAKE2b-256 3d500592a8d252dd7f5389a00cc752546d86792d0a46bc928d671e872d048b14

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