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.6.tar.gz (15.5 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.6-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for config_getter-0.0.6.tar.gz
Algorithm Hash digest
SHA256 7fe919c4bb7db790527b3df3db38df55e7ab761ddcfbb9e8f63b21a2b7ee25fe
MD5 3c35879ae0aa9bcbe8834a1612889f83
BLAKE2b-256 4b3aa683e3f85770d68bc52412d78e26880c66f62f59922ee0bb73ec73e2c855

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for config_getter-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b32b01a2d96e0c90e247fb01852c5669771c73b0caabd83a43c4e69161b7d616
MD5 094a070d532d6af643a372b6968ca3b6
BLAKE2b-256 4cc48ffb769f189f07f6d323001fa1cbf83f3c5a48a19949054f7bc22a5ad43b

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