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

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.26
File Size Uploaded Provenance Actions
atproto_lexicons-2026.11.26.tar.gz 1.6 MB With provenance Details for atproto_lexicons-2026.11.26.tar.gz

Built distribution (wheel)

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

Total release size: 5.2 MB

Release files / atproto_lexicons-2026.11.26.tar.gz

Download URL atproto_lexicons-2026.11.26.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
f4bfa125e2157d5c772a1c9717e01237ca257e1162b5e6e0aa382275cb20f829
BLAKE2b-256 checksum
How to use checksums
3bdada8b5b2f5e57e2df44d16ba156403e17d05c74ad9295d5772cb38426d0a0
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 26, 2026.

Transparency log

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

Download URL atproto_lexicons-2026.11.26-py3-none-any.whl
Size 3.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d7df0c0ca49a0247e79c6aab8db7d3abfc82f474b732ed050031af3c76912431
BLAKE2b-256 checksum
How to use checksums
5231189073e1215d97287b12321bf6dbd731a0098c6322dbd7c401963c6405b3
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 26, 2026.

Transparency log

Security for atproto-lexicons 2026.11.26

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.26.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 26, 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