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

Uploaded Source

Built Distribution

jsonthat-0.3.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jsonthat-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f1efb0aa6594b9dd38ecfedefc6e5044c46fec37efe6f0a156a549550c5763f5
MD5 f4c05868ca88bbc211339cf1f3514a4f
BLAKE2b-256 ae2619edf0fe1074ffd005058fe68cf015b3d94be70ae85f9b8dd85d682fefcf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jsonthat-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73abc5e22829f98c07716f5054d28466ba89bdb7ada823a93689c64c98b3ec6c
MD5 10bb374074fc959121b4d78e96dc96ce
BLAKE2b-256 ff45e6e65fe822f069c143a0861b7876fd45b7a83f811d8a00b831cbcbff6121

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