Skip to main content

No project description provided

Project description

customjson Build Status

This tool generates the "master" files that are used for the custom_updater and the custom_component_store

For the custom_updater it generates and update these jsonfiles:

For the custom_component_store it generates and updates ludeeus/data/custom-component-store/V1

Install

Require Python version 3.5.3+

python3 -m pip install -U customjson

Example

customjson --token aaabbbccc111222333 --mode component

CLI options

param alias description
--token -T An GitHub access_token with repo permissions.
--push -P Push a new repos.json file to the information repo.
--mode -M Must be card or component.
--version -V Print the installed version.

Add more resources

Components

The easiest way to add additional resources is to reuse the json file used by 'custom_updater' if yo have that.

Examples:

https://github.com/ludeeus/customjson/blob/f0fd9643a3a5af63c5dc02cd228dfad99796fe3e/customjson/components/custom_updater.py#L7-L16

But there are other ways if you look in the /customjson/components/ dir you can see different implementations that give more granular control.

cards

look in the /customjson/cards/ dir to see different implementations


BuyMeCoffee

Project details


Download files

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

Source Distribution

customjson-2.4.5.tar.gz (9.0 kB view details)

Uploaded Source

File details

Details for the file customjson-2.4.5.tar.gz.

File metadata

  • Download URL: customjson-2.4.5.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

File hashes

Hashes for customjson-2.4.5.tar.gz
Algorithm Hash digest
SHA256 c49c2ecf516059ca4bb18b8be77756dca75164a70902c2a52dd93ec47387c0ab
MD5 f173329a9f4e45067334c17a4e139b36
BLAKE2b-256 3df13b4fa10f4692e697b7b3d4f8a57b438ad74f5650a96b9585ae96f2a82b46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page