Skip to main content

Item Extractor

PyPI version Python versions

lightweight feature extraction that turns natural-language into structured JSON of type tasks, events, todos, etc...

Installation

Choose the installation method that fits your use case:

1. Standard Installation (Production / Inference)

If you only need to run existing agents, install the core package. This keeps the installation lightweight and bundles the standard spaCy en_core_web_md model automatically:

uv add item_extractor
# or via pip
pip install item_extractor

2. Notebook Installation (Development / Intent Classification Custom Agent Training)

If you want to use our interactive Jupyter Notebooks to design, benchmark, and train your own custom agent models, install the package with the notebook extra dependencies:

uv add "item_extractor[notebook]"
# or via pip
pip install "item_extractor[notebook]"

🚀 Quick Start (Core Library)

Use the built-in components to run an agent directly in your Python application:

from item_extractor import extract

items = extract("Organize the garage")
print(response) # Returns Todo(title='Organize the garage', description='', type=<ItemType.TODO: 'todo'>, completed=False)

🧠 Creating Custom Intent Classification Agent Model

If you installed the package with the [notebook] extras, you can create and fine-tune your own agent architectures.

  1. Clone this repository to access the starter templates:
    git clone https://github.com/UnknwnDev/item-extractor.git
    cd item_extractor
    
  2. Open notebooks/create_custom_agent.ipynb and follow the step-by-step guide to train your agent using spaCy embeddings, customize decision thresholds, and evaluate agent trajectories.

🛠️ Contribution & Local Setup

For developers looking to contribute to the codebase:

# Clone and sync all environment dependencies including notebook extras
git clone https://github.com/UnknwnDev/item-extractor.git
cd item_extractor
uv sync --extra notebook

# Run the test suite
uv run pytest

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Release files for item-extractor 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for item-extractor 1.0.0
File Size Uploaded
item_extractor-1.0.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for item-extractor 1.0.0
File Interpreter ABI Platform
item_extractor-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / item_extractor-1.0.0.tar.gz

Download URL item_extractor-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d78a71dd94f5230aa3e626184654d79bffd4ee98294cc70b84daaff6508aa475
BLAKE2b-256 checksum
How to use checksums
106c22e54d4a60ceab8642428a77230689bb4a95191bc7bf9f0038dcb7348c7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / item_extractor-1.0.0-py3-none-any.whl

Download URL item_extractor-1.0.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d07195f0044c362e88e1d8792578a6ffca1ef762392b3c7c910b72a21af4f6e6
BLAKE2b-256 checksum
How to use checksums
a6fc32b78f5da0bbd801592f5ff224ec08d7551c940954bcd4df2aaaf75d29a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

1.0.1

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page