Skip to main content

Get common config for different types of projects

Project description

config-getter

Holds common configuration files for different types of projects. Also provides a CLI to easily copy config into projects, available via PyPI.

Usage

config-getter python .github/workflows/checks.yml  # Add GitHub Action templates for checking Python projects
config-getter python Makefile  # Add Makefile with helpful Python commands
config-getter python .gitignore  # Add Python items into .gitignore

config-getter docker .dockerignore  # Add .dockerignore file
config-getter docker .gitignore  # Add Docker items into .gitignore

config-getter --help                # Show help text

In general, the format is config-getter <TECH> <CONFIG>.

A --force mode will override existing configuration.

Essentially the CLI just downloads the file from GitHub and places it correctly into the project.

Install

# Run in a temporary environment with uvx
uvx config-getter <TECH> <CONFIG>

# Install from source
git clone https://github.com/cooperellidge/get-config.git
make .venv
source .venv/bin/activate
config-getter <TECH> <CONFIG>

Future work

  • Appending configuration to existing files, including JSON
  • Custom configuration, e.g. point to other GitHub sources
  • Templating, so that you can pre-fill templates with things like project names
  • Documentation website, MkDocs hosted on GitHub Pages

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

config_getter-0.0.4.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

config_getter-0.0.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file config_getter-0.0.4.tar.gz.

File metadata

  • Download URL: config_getter-0.0.4.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.26

File hashes

Hashes for config_getter-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2078617fde356b978cd230abece0513ee89a4bc4c77ea5259f5533a97c2aead5
MD5 2d8b4b5fc77ea2a1ab33dc3f7d6f3d9c
BLAKE2b-256 93b799daaafdc6794b0026bfec4f8485e484198570923f34f674348241f5be3c

See more details on using hashes here.

File details

Details for the file config_getter-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for config_getter-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e0b3635106c72de9b85f6b4693cef6648dd9c68c524ab6feb7f6c5820faf8c44
MD5 74aa83ddccfed0f0a9e756bd1c4cd2d9
BLAKE2b-256 feeb0576ee04c5c03370be870280681664c1c4a2af36d480c9db2dc341a8bef8

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