SDK for interacting with the jtheta.ai API
Project description
SDK for accessing the jtheta.ai API.
🧠 jtheta
SDK for accessing the jtheta.ai API — making it easy to manage datasets, request annotations, and automate your AI pipeline.
📆 Installation
Install the SDK with pip:
pip install jtheta
🚀 Getting Started
Step 1: Login into https://app.jtheta.ai/ & Create the workspace.
Step 2: On Workspace dashboard click the Crete API key option in left sidebar.
Step 3: Copy the api key
import jtheta
# Initialize with your API key
jtheta.init("your_api_key_here")
# Validate your API key
print(jtheta.validate_key())
# Create a new project
#jtheta.create_project("project_title","project_category")
project = jtheta.create_project("My Project", "image")
# Upload images and create a dataset
#jtheta.create_dataset("dataset_name","license","project_name","image_paths"=["image path"])
dataset = jtheta.create_dataset("MyDataset", "MIT", "My Project", ["image1.jpg", "image2.jpg"])
#Upload more images
#jtheta.upload_images("dataset_id","project_name","images"="image1.jpg")
upload_image = jtheta.upload_images(231,"My Project","image1.jpg")
# Get list of Annotators
jtheta.get_annotators()
# Get list of Reviewers
jtheta.get_reviewers()
# Request annotation
#jtheta.request_annotation("dataset_id","project_name","assigned_annotator","assigned_reviewer","labels"=[{"label": class_label, "type": "Bounding Boxes"},{"label": class_label, "type": "Polygons"},{"label": class_label, "type": "Instance Segmentation"},{"label": class_label, "type": "Semantic Segmentation"}],allow_class_creation=True,auto_annotation=True)
jtheta.request_annotation("My Project", dataset["id"], "annotator@example.com", "reviewer@example.com", [{"label": "car", "type": "Bounding Boxes"},{"label": "truck", "type": "Polygons"}], True, False)
# Download dataset
jtheta.download_dataset(dataset["id"], format="csv", version="1.0", save_path="annotations.csv")
📚 Features
- ✅ Project and dataset creation
- 📄 Image upload
- 🔍 Annotation request and monitoring
- ⬇️ Dataset export
- 🢑 Retrieve annotators and reviewers
📬 Support & Feedback
Have questions or feature requests? Reach out!
📧 Email: contact@jtheta.ai 🌐 Website: jtheta.ai
🌐 Connect with us
📝 License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jtheta-0.1.1.tar.gz.
File metadata
- Download URL: jtheta-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dae6262a9169eef4d7e3fe54ac650ffaae20583c4934ed352c63582c1170555
|
|
| MD5 |
c2c697340758b2132d10836cb8f2b084
|
|
| BLAKE2b-256 |
be420347d8015728907a0f398d27de4baf51b8be8f1fa11bd984fc870d0c4528
|
File details
Details for the file jtheta-0.1.1-py3-none-any.whl.
File metadata
- Download URL: jtheta-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5955ceed64ebf3c64fe2cb3cc17d89af5fcdf41a6153f7dca366e25578a89f5f
|
|
| MD5 |
28a07b48476edcb1b56e41a577a0fc4e
|
|
| BLAKE2b-256 |
5087020bfbdafbbcf7b4eb1e8a5fb82bd57899d985f0074abd4a15b9d1ab0d0a
|