Skip to content

pkg-rick is a python library for the config file type, pkg, made by apple that enhances config files like xml, json, yaml and coding languages like go, java, kotlin, swift into one optimized intruiging masterpiece.

Notifications You must be signed in to change notification settings

CyberForgeX/pgk-rick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PKG-Rick Logo

PKG-Rick Package

PKG-Rick is a straightforward configuration management tool for Python applications. It simplifies configuration handling with a sleek, modern approach inspired by languages like Go, Swift, Java, and Kotlin.

Installation

Install PKG-Rick with pip:

pip install pgk-rick

Usage

Here's how you can use PKG-Rick in your project:

import pkg_rick

# Read configuration from file
config = pkg_rick.read_config('path/to/config.file')

# Modify configuration as needed
# ...

# Write configuration to a new file
pkg_rick.write_config(config, 'path/to/new_config.file')

Features

  • Simplified Configuration: PKG-Rick simplifies configuration handling with an easy-to-understand design.

  • Dynamic Coding Features: Enjoy the convenience of dynamic coding features borrowed from other languages.

  • Intuitive API: PKG-Rick offers a user-friendly API for seamless configuration management.

Quick Start

Get started quickly with PKG-Rick as an example usage:

import pkg_rick

# Create a new configuration instance
config = pkg_rick.ConfigParser()

# Set configuration values dynamically
config.set('database.host', 'localhost')
config.set('database.port', 3306)
config.set('database.username', 'user')
config.set('database.password', 'password')

# Retrieve configuration values
db_host = config.get('database.host')
db_port = config.get('database.port')
db_username = config.get('database.username')
db_password = config.get('database.password')

print(f"Database Host: {db_host}")
print(f"Database Port: {db_port}")
print(f"Database Username: {db_username}")
print(f"Database Password: {db_password}")

Documentation

For more details, check out the documentation and examples [here].

Contributing

We welcome contributions! If you want to contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Write your code and add tests if applicable.
  4. Submit a pull request with a clear description of your changes.

Support and Feedback

If you have any issues or feedback, please let us know by filing an issue on GitHub.

License

PKG-Rick is licensed under the MIT License.

Acknowledgements

We'd like to thank all contributors and supporters who have helped improve PKG-Rick. Your contributions are invaluable!

About

pkg-rick is a python library for the config file type, pkg, made by apple that enhances config files like xml, json, yaml and coding languages like go, java, kotlin, swift into one optimized intruiging masterpiece.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages