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]"

How to use

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.1

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.1
File Size Uploaded
item_extractor-1.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

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

Total release size: 9.0 kB

Release files / item_extractor-1.0.1.tar.gz

Download URL item_extractor-1.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ec67e45cdbba954fe7ac4b9cb055fcf3209aa87e92f745a7fcc7076afea3803a
BLAKE2b-256 checksum
How to use checksums
d29503f6bfb237668bc47bd33f593dfcbdf598ac6c72fdd36773cacb1ec1c18c
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.1-py3-none-any.whl

Download URL item_extractor-1.0.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a13b50eb82332238cdf20b018995354f912eef48377de18a9fe7afadea30fdcc
BLAKE2b-256 checksum
How to use checksums
6975d93dc8c3a8bb4824f54915d77d17dd39454191ab9b3d3094a227f3b0398e
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

This release

1.0.1 This release

2 release files

1.0.0

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