![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
nconf-etcd2
Advanced tools
An nconf backend store for Etcd2
npm install nconf nconf-etcd2 --save
An ETCD2 backend for nconf
var Store = require('nconf-etcd2')
var s = new Store({namespace:'test'});
var assert = require('assert')
s.load(function(err,data){
assert.equal( err, null )
s.set('a:b:c:d',2);
s.save(function( err ){
s.store = {};
s.load( function(e,d){
assert.equal( 2,~~s.get('a:b:c:d') );
done();
});
});
});
var nconf = require('nconf');
var Etcd = require('nconf-etcd2'); // tries to attach to the nconf instance
nconf.use('etcd', { /* options */ });
nconf.load(console.log);
var nconf = require('nconf');
var Etcd = require('nconf-etcd2'); // tries to attach to the nconf instance
nconf.use('etcd', { namespace:'test', hosts:['192.168.0.1:4001', '10.50.5.1:4001']});
nconf.load();
nconf.set( 'a:b:c', 1);
nconf.save(); // Saved to etc!
var nconf = require('nconf');
var Etcd = require('nconf-etcd2'); // tries to attach to the nconf instance
nconf.use('etcd', { namespace:'test:foo', hosts:['192.168.0.1:4001', '10.50.5.1:4001']});
nconf.load();
nconf.get( 'a:b:c');
nconf.save(); // Saved to etc!
var nconf = require('nconf');
var Etcd = require('nconf-etcd2'); // tries to attach to the nconf instance
nconf.use('etcd', { namespace:'test-nested', logicalSeparator:'-' hosts:['192.168.0.1:4001', '10.50.5.1:4001']});
nconf.load();
nconf.set( 'a-b-c', 1);
nconf.save(); // Saved to etc!
FAQs
An Etcd2 backend for nconf
The npm package nconf-etcd2 receives a total of 46 weekly downloads. As such, nconf-etcd2 popularity was classified as not popular.
We found that nconf-etcd2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.