Skip to main content

Extracts import dependencies from a Jsonnet file

Project description

get-jsonnet-dependencies

Extracts import dependencies from a Jsonnet file

Usage

> pip install get-jsonnet-dependencies
> get-jsonnet-dependencies -
> local thing = import "thing.jsonnet";
thing.jsonnet
> local amoguise = import @"C:\Users\sus\Documents\amoguise.libsonnet";
C:\Users\sus\Documents\amoguise.libsonnet
> local a = import "a.jsonnet"; local b = importstr "b.txt";
a.jsonnet
b.txt

Pass a list of files to extract dependencies from

Passing - means to take extract dependencies from stdin

No arguments means get-jsonnet-dependencies -

Note that imports spanning multiple lines won't be found by this script

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

get-jsonnet-dependencies-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

get_jsonnet_dependencies-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file get-jsonnet-dependencies-0.1.0.tar.gz.

File metadata

  • Download URL: get-jsonnet-dependencies-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.7 Windows/10

File hashes

Hashes for get-jsonnet-dependencies-0.1.0.tar.gz
Algorithm Hash digest
SHA256 726214a835d6b8eda1cc9581ec0c9f8a78d32d36b004b6bf3ff563943451352e
MD5 70e23484933440371918d1682a417337
BLAKE2b-256 86ab706938685426cd7bd1021bbaef17445f2789fb470e2a81338f6ac1555f4c

See more details on using hashes here.

File details

Details for the file get_jsonnet_dependencies-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for get_jsonnet_dependencies-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e38b00b765dcb0e5b664c282549971b41da136b9c7ca27db2b305cd44b7c526
MD5 223568cbad349fe06f1f9fdfee7bc17e
BLAKE2b-256 44f2017acf429423bcadb2ae7de2f35d6e7f31b0abcc9c88edc7c1fa9f4b7f89

See more details on using hashes here.

Supported by

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