Skip to main content

Devinci PyConfig

Devinci PyConfig is a Python toolkit for managing configuration properties in Python applications. It provides a simple way to load configuration settings from a configuration file and access them as attributes.

Installation

You can install Devinci PyConfig using pip:

pip install devinci_pyconfig

Usage

Importing

You can import the Config class from the package:

from devinci_pyconfig import PyConfig

Initializing

To use the Config class, you can initialize it with the path to your configuration file (optional, defaults to 'config.ini'):

config = PyConfig()

Accessing Configuration Settings

Once initialized, you can access your configuration settings as attributes of the Config instance. For example, if your configuration file (config.ini) contains the following:

[Database]
host = localhost
port = 5432
username = user
password = password123

You can access these settings in your Python code like this:

print(config.database_host)  # Output: localhost
print(config.database_port)  # Output: 5432
print(config.database_username)  # Output: user
print(config.database_password)  # Output: password123

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Feel free to customize this README with additional information or instructions specific to your package.

Metadata

Release files for devinci-pyconfig 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for devinci-pyconfig 0.1
File Size Uploaded Provenance Actions
devinci_pyconfig-0.1.tar.gz 2.9 kB Without provenance Details for devinci_pyconfig-0.1.tar.gz

Release files / devinci_pyconfig-0.1.tar.gz

Download URL devinci_pyconfig-0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6581d5dad9f7821deb4de86550bf7fda41acf5eaa7297fdeaabf96a880a3a0b8
BLAKE2b-256 checksum
How to use checksums
6e7f70e45da56c2afb4ceb53af8b4a6ccf3faa96158deb0019d5aef710228233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Security for devinci-pyconfig 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page