All Projects → xyproto → setconf

xyproto / setconf

Licence: GPL-2.0 license
📗 Change settings in configuration text files

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
Roff
2310 projects
shell
77523 projects

Projects that are alternatives of or similar to setconf

Config
12 factor configuration as a typesafe struct in as little as two function calls
Stars: ✭ 251 (+543.59%)
Mutual labels:  configuration
konfsave
Easy saving and switching between multiple KDE configurations.
Stars: ✭ 42 (+7.69%)
Mutual labels:  configuration
Cfg-NET
An Alternative .NET Configuration Handler
Stars: ✭ 22 (-43.59%)
Mutual labels:  configuration
sitri
Sitri - powerful settings & configs for python
Stars: ✭ 20 (-48.72%)
Mutual labels:  configuration
Dark Souls Config Utility
All-in-one installer and configuration UI for various mods/fixes for Dark Souls™: Prepare to Die Edition.
Stars: ✭ 27 (-30.77%)
Mutual labels:  configuration
runtime-config-loader
This is an Angular library that provides an easy way to load a configuration JSON file for runtime configuration.
Stars: ✭ 32 (-17.95%)
Mutual labels:  configuration
Cleanenv
✨Clean and minimalistic environment configuration reader for Golang
Stars: ✭ 245 (+528.21%)
Mutual labels:  configuration
awesome-pro
Awesome WM 4.x themes configs
Stars: ✭ 91 (+133.33%)
Mutual labels:  configuration
Flex-AntiCheat
Flex AntiCheat - Optimized Configs For Multiple AntiCheats
Stars: ✭ 37 (-5.13%)
Mutual labels:  configuration
yii2-config-kit
Configuration kit for Yii applications
Stars: ✭ 24 (-38.46%)
Mutual labels:  configuration
dotfiles
Linux configuration files (dotfiles) and some useful scripts
Stars: ✭ 22 (-43.59%)
Mutual labels:  configuration
swift-declarative-configuration
Declarative configuration for your objects
Stars: ✭ 46 (+17.95%)
Mutual labels:  configuration
build-nginx
Fetches nginx and any optional third-party modules and dependencies you specify, such as openssl and PCRE and then configures and builds.
Stars: ✭ 48 (+23.08%)
Mutual labels:  configuration
pconf
Hierarchical python configuration with files, environment variables and command-line arguments.
Stars: ✭ 17 (-56.41%)
Mutual labels:  configuration
plebpack
Webpack configuration for the common people.
Stars: ✭ 13 (-66.67%)
Mutual labels:  configuration
Konfig
Simple config properties API for Kotlin
Stars: ✭ 249 (+538.46%)
Mutual labels:  configuration
config-webpack-plugin
💫 Merge one or more configuration files together with environment variables too.
Stars: ✭ 18 (-53.85%)
Mutual labels:  configuration
ox-ssh
SSH config export for org-mode
Stars: ✭ 33 (-15.38%)
Mutual labels:  configuration
tmux-conf
📝 TMUX Configuration for nerds with tpm
Stars: ✭ 31 (-20.51%)
Mutual labels:  configuration
nvim configration
Neovim diy develop enviroment.This project integrates neovim tmux zsh and some very useful plugs of them including YouCompleteMe FZF auto pairs nerdtree ncm2 and so on.
Stars: ✭ 22 (-43.59%)
Mutual labels:  configuration

setconf

Build Status

Setconf is a small utility for changing settings in configuration textfiles.

It has no dependencies except the built-in Python modules.

Pull requests are welcome.

Packaging status

Compile time features

  • It can be compiled to native with nuitka. Try these parameters: --exe --lto --python-version=2.7

TODO

  • A flag for changing the n'th occurence.
  • A cleaner way to handle arguments, without adding an external dependency.
  • A flag for commenting out keys (adding "# ")
  • A flag for removing a value instead of using ''.
  • A flag for removing both the key and the value.
  • Rewrite in a different language?
  • Optimize the code that is used for adding options with -a.
  • A way to add an option with -a after a given string occurs.
  • Test and fix the combination of -a and multiline markers.
  • Fix the behavior when " is the multiline marker and : the delimiter (the yml format).
  • Document which assignment symbols and comment markers are supported.
  • Refactor.
  • Support both #define and %define (ref asmttpd).
  • When changing settings in JSON files, a line may look like this: "go.formatTool": "gofmt",. Add a flag for being able to set the key and value without having to specify the quotes and the final comma.

Changes from 0.7.6 to 0.7.7

  • Apply fix for trailing newlines by @zappolowski (issue #16).
  • Also test with Python 3.8.

Changes from 0.7.5 to 0.7.6

  • Add test cases.
  • Allow uncommenting keys without providing a value.
  • Update documentation.

Changes from 0.7.4 to 0.7.5

  • Can now uncomment configuration options with the -u flag.
  • Uncommenting and setting values also works on Linux kernel configuration (#CONFIG_KERNEL_XY is not set to CONFIG_KERNEL_XY=y).

Changes from 0.7.3 to 0.7.4

  • Correctly formatted help text.

Changes from 0.7.2 to 0.7.3

  • Can change single-line #define values by using the -d flag.

Changes from 0.7.1 to 0.7.2

  • Fixed an issue that only happened on Python 3.2.
  • Several minor changes.

Changes from 0.7 to 0.7.1

  • Removed a dependency on chardet

Changes from 0.6.8 to 0.7

  • Fix issue #6, a failing testcase for +=.

Changes from 0.6.7 to 0.6.8

  • Deal mainly with bytes instead of strings.
  • Handle ISO-8859-1 (Latin1) better, for Python 3.

Changes from 0.6.6 to 0.6.7

  • Can use floating point numbers together with += and -=

Changes from 0.6.5 to 0.6.6

  • Fixed a problem with files without newline endings

Changes from 0.6.4 to 0.6.5

  • Can now use += or -= for increasing or decreasing integer values

Changes from 0.6.3 to 0.6.4

  • Better error messages when write permissions are denied

Changes from 0.6.2 to 0.6.3

  • Fixed a problem with -a that occurred when a key existed but was commented out
  • Added regression test

Changes from 0.6.1 to 0.6.2

  • Now runs on Python 2 and Python 3 (tested with 2.4, 2.5, 2.6, 2.7 and 3.3)

Changes from 0.6 to 0.6.1

  • Fixed a problem with the -a option
  • Creates the file when -a or --add is given, if needed

Changes from 0.5.3 to 0.6

  • Made -a add options only when not already present

Changes from 0.5.2 to 0.5.3

  • Made it compile with the latest version of shedskin
  • Added an option -a for adding keys/values to a file

Changes from 0.5.1 to 0.5.2

  • Fixed a problem with ascii/utf-8 encoding

Changes from 0.5 to 0.5.1

  • Fixed a problem with => assignments
  • Changed the way files are opened with open()
  • Added more tests relating to ascii/utf-8

Changes from 0.4 to 0.5

  • Add support for => as well
  • Fixed a bug where comments were not ignored for multiline values
  • New logo

Changes from 0.3.2 to 0.4 (released)

  • Ignored configuration options that are commented out

General information

  • License: GPL2
  • Author: Alexander F. Rødseth
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].