Skip to main content

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).

Metadata

Release files for cityhall 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cityhall 0.0.10
File Size Uploaded
cityhall-0.0.10.tar.gz 6.8 kB Details

Release files / cityhall-0.0.10.tar.gz

Download URL cityhall-0.0.10.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
66744f40d9a1c2eec3c48b9acdf7ddf568fe4492cb3458262384013194da0fce
BLAKE2b-256 checksum
How to use checksums
8d6a95a9eff2254ea0e325d9dcf44d8f96f70a98f26e5e7462f86198028587b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.0.11

1 release file

This release

0.0.10 This release

1 release file

0.0.5

1 release file

0.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page