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

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.11
File Size Uploaded Provenance
cityhall-0.0.11.tar.gz 6.9 kB Without provenance Details

Release files / cityhall-0.0.11.tar.gz

Download URL cityhall-0.0.11.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f122f2b4c7ddb0babeb6738d7ecfeeea67a93eb779045b5556addb7e2ee1f023
BLAKE2b-256 checksum
How to use checksums
cf6913ced75df862bcc3684fae8933cf3b20e500f3cd86a57c3c0d737f699755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cityhall 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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