
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
.. image:: https://img.shields.io/badge/python-3-green.svg :target: https://www.python.org/ :alt: Python3
.. image:: https://img.shields.io/pypi/v/confcompiler :target: https://pypi.org/project/confcompiler/ :alt: PyPI
.. image:: https://img.shields.io/pypi/format/confcompiler :target: https://pypi.org/project/confcompiler/ :alt: PyPI format
.. image:: https://img.shields.io/pypi/dd/confcompiler :target: https://pypi.org/project/confcompiler/ :alt: PyPI downloads
.. image:: https://img.shields.io/pypi/status/confcompiler :target: https://pypi.org/project/confcompiler/ :alt: PyPI downloads
Supported Data Types
.. code-block::
- Str
- Int
- Float
- Bool
- Tuple
- List
- Dict
- Complex
- Bytes
Read Data
~~~~~~~~~
.. code-block:: pycon
>>> from confcompiler import ConfRead
>>>
>>> Hostname = ConfRead('Config.conf', 'Hostname')
>>> Hostname
127.0.0.1
>>> type(Hostname)
<class 'str'>
>>>
>>> Connected = ConfRead('Config.conf', 'Connected')
>>> Connected
True
>>> type(Connected)
<class 'bool'>
Write Data
~~~~~~~~~~
.. code-block:: pycon
>>> from confcompiler import ConfWrite
>>>
>>> ConfWrite('Config.conf', 'Hostname', '127.0.0.1')
>>> ConfWrite('Config.conf', 'Connected', True)
.conf Cheat Sheat
~~~~~~~~~~~~~~~~~
.. code-block::
Commenting - All comments must start with '#' and must be on
there on line, you cannot comment a line with
data involved.
Variables - Data must start with a variable name then continued
with '=' after that the data.
Data Types - Str, Int, Float, Bool, Tuple, List, Dict, Complex, Bytes
FAQs
Compile, Read and update your .conf file in python
We found that confcompiler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.