New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blink-config

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blink-config

A hot-reload configuration dictionary

0.0.4
PyPI
Maintainers
1

Author: Stalin License: MIT Platform: UNKNOWN Classifier: Programming Language :: Python :: 3 Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Requires-Python: >=3.6 Provides-Extra: ini Provides-Extra: toml Provides-Extra: xml Provides-Extra: yaml License-File: LICENSE

blink

==========

A hot-reload configuration dictionary

Introduction

blink allows you to create configuration dictionary to your python

program which autoupdates when your file changes. Usually when you load

a config file, the loaded dictionary is stored in memory and when the

actual config file changes, those changes are not reflected in memory.

blink can help you with that problem by updating your config

dictionary based on file changes safely.

You can access configuration exactly how you access your dictionary in

python.

How to use

Just import

.. code:: python

from blink import Config

config = Config("config.json")

and use it like a normal dictionary!

.. code:: python

val = config["key1"]["subkey1"]

print(config["number"])

FAQs

Did you know?

Socket

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.

Install

Related posts