jinsi

JSON/YAML homoiconic templating language

MIT License

Downloads
783
Stars
18
Committers
2

Bot releases are visible (Hide)

jinsi - v0.19.1 Latest Release

Published by scravy over 1 year ago

  • fixed hash functions which require bytes, so string values are now encoded
jinsi - v0.19.0

Published by scravy over 1 year ago

  • Adds ::keys and ::values functions
jinsi - v0.18.0

Published by scravy over 1 year ago

  • Adds the ::match construct
jinsi - v0.17.4

Published by scravy over 1 year ago

  • Fixes an issue where !Condition would not correctly be translated into { "Condition": ... } but into { "Ref": ... }
jinsi - v0.17.3

Published by scravy almost 2 years ago

  • fix !GetAtt with Resource.Outputs.Key
jinsi - v0.17.0

Published by scravy over 3 years ago

  • removed dezimal dependency
  • improved date handling
  • keep track with python 3.10, works with alpha7
jinsi - v0.15.0

Published by scravy over 3 years ago

  • ::when with a string defaults to an expression just like in ::get now
jinsi - v0.14.1

Published by scravy over 3 years ago

  • fixes an issue in load_file - if no dict is passed, None is not taken to be an empty one, and subsequently fails.
jinsi - v0.14.0

Published by scravy over 3 years ago

  • Introduces ::case (#6)
jinsi - v0.13.0

Published by scravy over 3 years ago

  • Fixes #2
  • Improved exception handling when using ::else to circumvent exceptions
jinsi - v0.12.0

Published by scravy over 3 years ago

  • fixed ::select for lists and tuples
  • added ::integer, ::float conversions
  • added ::strip
  • ::select optionally can extract ranges now
  • added head, tail, last, init, flatten, and deepflatten
jinsi - v0.11.0

Published by scravy over 3 years ago

  • substitutions can now select paths (<<$select.some.path>>)
jinsi - v0.10.1

Published by scravy over 3 years ago

  • jinsi cli tool can now deal with multiple JSON object in e.g. json lines documents
  • jinsi cli tool can now deal with multiple YAML documents in a single input file
  • ::format: removed, every string is formatted by default now
  • ::verbatim: added (e.g. to prevent formatting or to use keys with ::)
  • ::ignore: added for making comments in objects possible

Functions added:

  • ::deepmerge
  • ::str_replace
  • ::json_serialize
  • ::json_read

v0.10.1 fixes an issue which was published just a few minutes before in v0.10.0

jinsi - v0.6.0

Published by scravy over 3 years ago

  • Use dezimal 0.4.0
  • Add util.load_all
jinsi - v0.5.1

Published by scravy over 3 years ago

  • Fix a bug in rtreat for converting number (new numtype option in load_*)
jinsi - v0.5.0

Published by scravy over 3 years ago

  • compatibility with Python ≥ 3.7, pypy-3.7
  • upped dependency on dezimal