Skip to main content

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

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.13.1.tar.gz (9.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: customjson-2.13.1.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.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for customjson-2.13.1.tar.gz
Algorithm Hash digest
SHA256 68ac36f7f7182f1ffb590bb53eb095985989770cfb17afa61cf523587ae77cd3
MD5 6a45da19e1f0c29c614efdc75ca53ec0
BLAKE2b-256 db628a82ba222f71663be6a32f87c6c0160daeeb4886342449d64bbefcf26fea

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.13.1 This release

1 file

2.13.0

1 file

2.12.1

1 file

2.12.0

1 file

2.11.2

1 file

2.11.1

1 file

2.11.0

1 file

2.10.1

1 file

2.10.0

1 file

2.9.0

1 file

2.8.0

1 file

2.7.0

1 file

2.6.0

1 file

2.5.0

1 file

2.4.5

1 file

2.4.4

1 file

2.4.3

1 file

2.4.2

1 file

2.4.0

1 file

2.3.3

1 file

2.3.2

1 file

2.3.1

1 file

2.2.0

1 file

2.1.0

1 file

2.0.0

1 file

1.10.1

1 file

1.10.0

1 file

1.9.2

1 file

1.9.0

1 file

1.8.0

1 file

1.7.0

1 file

1.6.0

1 file

1.5.0

1 file

1.4.0

1 file

1.3.0

1 file

1.2.0

1 file

1.1.4

1 file

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

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