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.5.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.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: config_getter-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 f24e155f456eb9293671dd2126b75c7af34de079a1ee2b0327b44b18b236c00a
MD5 2b711744a337cb7533eeae75a4e13187
BLAKE2b-256 30d8e5a25ae1f2d4687da8c54db70d726d4d583df7592973ab984f13fec5205c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for config_getter-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a7b3662fce732f22e34d68826736575c1f77f535aec17a5ebf73fda06105f640
MD5 1bb6a09f407f94d02275a201014da4db
BLAKE2b-256 d47c36b31483aabcee566d22d40c45dc322a9e5b507d973ae467d3d025bd5084

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