Skip to main content

lex.atproto.blue: third-party lexicons, ready to import. Atmosphere lexicons for the atproto Python SDK.

Typed models and client methods for third-party lexicons, rebuilt daily
Catalog • SDK documentation • PyPI • Discord Bluesky API

Python models and clients for third-party AT Protocol lexicons, generated for the atproto SDK.

The SDK ships the Bluesky and core atproto lexicons. Everything else on the network is someone's own lexicon: Teal.fm plays, Tangled repos, Leaflet documents, and so on. This package has them generated ahead of time, so you do not have to download schemas and run codegen yourself.

Browse the services and their lexicons at lex.atproto.blue, or see SUPPORTED.md for the plain list.

Install

pip install atproto-lexicons

It needs Python 3.9 or newer and installs the atproto SDK (0.0.75 or newer) with it.

Use

AtprotoLexiconsClient is the SDK's Client with the extra namespaces attached. Everything the SDK client does still works.

from atproto_lexicons import models
from atproto_lexicons.client import AtprotoLexiconsClient

client = AtprotoLexiconsClient()
client.login('handle.example.com', 'app-password')

# a third-party record
play = models.FmTealFeedPlay.Record(track_name='Song', played_time=client.get_current_time_iso())
client.fm.teal.feed.play.create(client.me.did, play)

# the namespaces of the SDK are still there
client.app.bsky.feed.post.create(
    client.me.did, models.AppBskyFeedPost.Record(text='hi', created_at=client.get_current_time_iso())
)

To add the namespaces to a client you already have:

from atproto import Client
from atproto_lexicons.client import attach_namespaces

client = Client()
attach_namespaces(client)

Async works the same way through atproto_lexicons.async_client.

The exact client path and model name of every lexicon are in the catalog: find the service, open it, and copy them.

Things to know

  • Versions are dates. A release is a snapshot of what the services published that day. A service can change its schema at any time, and the next release follows it. Pin the version if you need stability.
  • Not every lexicon is valid. Invalid ones are skipped, and a reference to something that does not exist becomes an untyped field. SUPPORTED.md shows where that happened.
  • Lexicons the SDK already ships are left to the SDK. They are not generated a second time: import their models from atproto, as the catalog shows for each of them.
  • This project is not affiliated with the listed services. The schemas belong to their authors. If you run one of them and want it removed or fixed, write in the discussions of the atproto SDK.

Getting help

Questions, bug reports, wrong models and missing services all go to the discussions of the atproto SDK. The SDK itself is documented at atproto.blue.

Contributing

Contributions of all sizes are welcome. The most useful one is a new service. CONTRIBUTING.md explains how to add one, how the package is built and how to work on the tooling and the website.

License

MIT. See LICENSE.

The license covers the tooling and the generated code. The schemas in lexicons/ are stored unmodified and belong to the services that publish them.

Metadata

Release files for atproto-lexicons 2026.11.14

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

Source distribution (sdist)

Source distribution for atproto-lexicons 2026.11.14
File Size Uploaded Provenance Actions
atproto_lexicons-2026.11.14.tar.gz 1.4 MB With provenance Details for atproto_lexicons-2026.11.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for atproto-lexicons 2026.11.14
File Interpreter ABI Platform Actions
atproto_lexicons-2026.11.14-py3-none-any.whl Python 3 none any Details for atproto_lexicons-2026.11.14-py3-none-any.whl

Total release size: 4.8 MB

Release files / atproto_lexicons-2026.11.14.tar.gz

Download URL atproto_lexicons-2026.11.14.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
33c8b3db75d4747c1b15747526a83485e7971cd181e10bb94272c2ca6aac5b36
BLAKE2b-256 checksum
How to use checksums
feb3a4e268dc86cf4f4dad327038d10611245c756cbc2c219c99079c19f1b2a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / atproto_lexicons-2026.11.14-py3-none-any.whl

Download URL atproto_lexicons-2026.11.14-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
949376e7d287728ebd9118fd2cbefbe7f30628649d82badfe2e5808f7a03232d
BLAKE2b-256 checksum
How to use checksums
69c6f64ee738caf5415c05604428aa87a20a466092b2c367c1c62d07d3f3518e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for atproto-lexicons 2026.11.14

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for atproto_lexicons-2026.11.14.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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