Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pyconfs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyconfs

PyConfs, unified handling of configuration files for Python

  • 0.5.5
  • PyPI
  • Socket score

Maintainers
1

PyConfs

Unified handling of configuration files in Python

Latest version Python versions Code style: black Interrogate DocStrings unit_tests

Installing PyConfs

PyConfs is available at PyPI. You can install it using Pip:

$ python -m pip install pyconfs

Using PyConfs

A PyConfs Configuration is a dictionary-like object that unifies several different configuration file formats, including INI, JSON, TOML, and YAML.

Read a configuration from file:

from pyconfs import Configuration
cfg = Configuration.from_file("sample.json")

Access entries in a configuration:

package_name = cfg.name
first_name = cfg.author.firstname

Installing From Source

You can always download the latest version of PyConfs from GitHub. PyConfs uses Flit as a setup tool.

To install PyConfs from the downloaded source, run Flit:

$ python -m flit install --deps production

If you want to change and play with the PyConfs source code, you should install it in editable mode:

$ python -m flit install --symlink

Keywords

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc