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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2078617fde356b978cd230abece0513ee89a4bc4c77ea5259f5533a97c2aead5
|
|
| MD5 |
2d8b4b5fc77ea2a1ab33dc3f7d6f3d9c
|
|
| BLAKE2b-256 |
93b799daaafdc6794b0026bfec4f8485e484198570923f34f674348241f5be3c
|
File details
Details for the file config_getter-0.0.4-py3-none-any.whl.
File metadata
- Download URL: config_getter-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.26
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0b3635106c72de9b85f6b4693cef6648dd9c68c524ab6feb7f6c5820faf8c44
|
|
| MD5 |
74aa83ddccfed0f0a9e756bd1c4cd2d9
|
|
| BLAKE2b-256 |
feeb0576ee04c5c03370be870280681664c1c4a2af36d480c9db2dc341a8bef8
|