Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A library for accessing City Hall Setting Server

Project description

This is the python library for City Hall Enterprise Settings Server

ABOUT

This project is written in Python 2.7 and can be installed using:
pip install cityhall

USAGE

The intention is to use the built-in City Hall web site for actual settings management, and then use this library for consuming those settings, in an application. As such, there are only a few commands to be familiar with:

from cityhall import Settings

cityhallSettings = Settings(url, user, password) - Must be called to
initiate a session with City Hall. The password should be in plaintext, it will be hashed by the library.

cityhallSettings.logout() - To be called when the session is over.

cityhallSettings.get() - This should be the way to retrieve a value.
To get the value of ‘/some_app/value1’, use:
cityhallSettings.Get(‘/some_app/value1’)

For more in depth information about this library, please check the wiki.

LICENSE

City Hall source files are made available under the terms of the GNU Affero General Public License (AGPL).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cityhall, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size cityhall-0.0.11.tar.gz (6.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page