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.0

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:

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.dev.aws.singtel.com
repository = /repository/pypi
username = <your username>
password = <your password or access token>

[credentials-write]
host = nexus.dev.aws.singtel.com
repository = /repository/pypi-releases
username = <your username>
password = <your password>

Alternatively, you may have the enviroment variables already defined:

NEXUS_SERVER="https://nexus.dev.aws.singtel.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.1.tar.gz (6.7 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.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_build_tools-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 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.1.tar.gz
Algorithm Hash digest
SHA256 b37772a3d3cb22fe0ce13b15f2b6426055ef3200b0ee913cccd48dbb8463c458
MD5 6112f218b12148e27d732aee631ff134
BLAKE2b-256 65f41e243e133f5fdc4c3ceb469c12d7e8998f43b4c1f3954d08be8fb09ac5ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_build_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c27467e2927f80ec3909fbcc46e95e4ba7a924423057473128069db2532bc59f
MD5 84c159d3579f4b0a5a64964cad8b5ab3
BLAKE2b-256 cdd21b342338444eecd3e2aa0369421314f7a7444623c2b9c27a2f852cacbdff

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