civic.json-cli is a command line interface that helps make civic.json easier to use. This tool will let you:
Install a civic.json template to your repository
Validate one that’s already there.
It implements the civic.json (extended) specification, a (backwards compatible) modification to BetaNYC’s original civic.json specification. The update aims to broaden civic.json’s user base to include civic hackers inside and outside of government.
You can read more about that on the civic.json (extended) homepage or in its GitHub repository.
Dependencies
Python 2.7 or 3.3+
jsonschema to validate civic.json files against the schema
requests to get the schema and template files from GitHub and ensure they’re up to date
An active internet connection
Use
Create a civic.json file
Run civicjson init from the base directory of your repository to initialize a civic.json file (with explanatory text).
Validate a civic.json file
Run civicjson validate from the folder containing your civic.json file. If there are any errors, it will output them to the console.
Release files for civicjson 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| civicjson-0.1.1.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| civicjson-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / civicjson-0.1.1.tar.gz
| Download URL | civicjson-0.1.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74a13b7e1f7057dda5341cd6126d42b55dfbc4503c5c1c12c7d15af6748cb4c9
|
|
BLAKE2b-256 checksum How to use checksums |
210c90e835643cea545856a2d551d2aa76b6ffebf516e0803a195ec996ac5bf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / civicjson-0.1.1-py2.py3-none-any.whl
| Download URL | civicjson-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
10cf708e93eb1060f631bcbb05de4301d4d8e91b3c9a2b0c5e1e92ef218c8ce9
|
|
BLAKE2b-256 checksum How to use checksums |
c219da86f17097a20bae95612964b404bb032b6504c9ce88972748dbc90dd8c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |