Skip to main content

Transform plain text to JSON

Project description

json that

transform any raw text to json, using LLM.

Provider:

  • OpenAI
  • Claude AI
  • Mistral AI
  • Ollama (local)

installation

pip install jsonthat
jt --setup

usage

echo 'my name is jay' | jt
{
  "name": "Jay"
}
options:
    --schema   <json_schema_file> Pass a json schema to format the output
    --provider <provider>         Specify the LLM provider to use
    --stream                      Stream the output

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

jsonthat-0.4.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jsonthat-0.4.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file jsonthat-0.4.0.tar.gz.

File metadata

  • Download URL: jsonthat-0.4.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.1 Linux/6.12.5-linuxkit

File hashes

Hashes for jsonthat-0.4.0.tar.gz
Algorithm Hash digest
SHA256 51dbeeb4e31a2791a0be184f653aa361ba55b9be353c6d3a9d44896912796fef
MD5 ff89c7d7387cf3d7817fd1c8c33b38f7
BLAKE2b-256 2975379f44cad234fdfc18a5b8e7ca1a1e6e19b3afc7897d21163116af070353

See more details on using hashes here.

File details

Details for the file jsonthat-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: jsonthat-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.1 Linux/6.12.5-linuxkit

File hashes

Hashes for jsonthat-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7d77ad9b480b0481e697ed309751039b0171f49561cbab7914ff139af47f345
MD5 06abf53e87b7cef3d682ba4d8b5c678b
BLAKE2b-256 447e540002bf92ab4af831787831843b02c03ba168286ab0d913f26cc72e48d4

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