tctimmeh / anyconf Goto Github PK
View Code? Open in Web Editor NEWPython config loader that can process many file formats
Python config loader that can process many file formats
for instance
[section.1]
blah = option
[section.2]
blah = option
should be available as config.section[0]
The getChildren API for xml config is currently returning a list of the names of the children. I believe it should be a dictionary of name -> child
When a stream is supplied, instead of a file name, inspect the file contents and try to guess what the file format is, then load the config file based on that guess
create a config factory that loads a config file of the correct type based on the file extension. i.e. .ini
would load with the IniConfig
, .xml
would load with the XmlConfig
, etc.
for instance, section1.section2 should appear as
config.section1.section2.options...
develop a plan for mapping yaml to the existing anyconf api and create an issue to describe each way that yaml will integrate with this library
develop a plan for mapping java properties files to the existing anyconf api and create an issue to describe each way that java properties will integrate with this library
user should be able to specify a list of paths that the library will search for config files.
for instance
[section]
opt.1 = blah
opt.2 = gra
should be available as config.section.opt[0]
The xml config doesn't currently include xml attribute attributes in the getChildren result. I believe it should.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.