Skip to main content

pastdotdev

Official SDK for the past.dev Memory API.

This package is the reserved official Python client published by Past Corp. Install it as pastdotdev — the brand is past.dev (with the dot), never a bare "past".

Install

pip install pastdotdev

Usage

from pastdotdev import PastClient

client = PastClient(api_key="...", base_url="https://api.past.dev")

client.ingest({
    "content": "Nadia confirmed the pilot ships March 14. Budget is 32k.",
    "timestamp": "2026-02-03T09:00:00Z",
    "group": "acme-pilot",
})

evidence = client.recall({"query": "what is the Acme pilot budget?"})
result = client.answer({"query": "what is the Acme pilot budget?"})

ingest POSTs /api/v1/ingest. Pass an ingestion id (or {"id": "..."} without content) to GET /api/v1/ingest/{id} and poll until settled is true. recall and answer POST /api/v1/recall and /api/v1/answer.

Homepage: https://past.dev

This 0.0.1 release is the reserved official package. The Memory API is in early access; request a key at https://past.dev.

Metadata

Release files for pastdotdev 0.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 pastdotdev 0.0.1
File Size Uploaded Provenance
pastdotdev-0.0.1.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pastdotdev 0.0.1
File Interpreter ABI Platform
pastdotdev-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / pastdotdev-0.0.1.tar.gz

Download URL pastdotdev-0.0.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b41bddf03cb88da0b6fc48ae193f1596b6ba1809cf8072a3e1f1acfe80a866ef
BLAKE2b-256 checksum
How to use checksums
9e8c3663669d5e6580a9434ed5e6bf7db37be04d87c2b283978a9f47982df9e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release files / pastdotdev-0.0.1-py3-none-any.whl

Download URL pastdotdev-0.0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74d41642d8b793a8d84bde71dfcaea50257c17248ae3c1cfab58a506b2e58954
BLAKE2b-256 checksum
How to use checksums
6f026562c5f6e7056e28792056f682f53c0f0c5f741b286be3dfd6784b98579a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Security for pastdotdev 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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