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

Uploaded Source

Built Distribution

jsonthat-0.3.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jsonthat-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f0584bd0764300cd8ce6d6668eeb36af98f8644531cb32e932a647152d023a43
MD5 a797d05298b5293cbc61790880f69f87
BLAKE2b-256 d2a00b2ee3487a2778a37c5c575d5db86f47c6202de1e7be1878cd36601c5b8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsonthat-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.6.26-linuxkit

File hashes

Hashes for jsonthat-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66e5d10c7811be99c4a18c3d7673fbf61030e5e092b637e26721706c7466002c
MD5 e5487ac334017737422c6a2043229b0e
BLAKE2b-256 8c214bd93ddea41fd9264ed61a670fc9dbd8ec87b01ccbc2ffa7238691ccf4ae

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