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.18.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 atproto-lexicons 2026.11.18.1
File Size Uploaded Provenance Actions
atproto_lexicons-2026.11.18.1.tar.gz 1.5 MB With provenance Details for atproto_lexicons-2026.11.18.1.tar.gz

Built distribution (wheel)

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

Total release size: 4.9 MB

Release files / atproto_lexicons-2026.11.18.1.tar.gz

Download URL atproto_lexicons-2026.11.18.1.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
b0d53ecc15e8b59865d4c43c060b0c77fc6b38cbf6ecdaca9a146b0b747b26de
BLAKE2b-256 checksum
How to use checksums
f20f9dd83911b058c153d66784a36512bf5450472067bca551264aa5397afa96
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 18, 2026.

Transparency log

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

Download URL atproto_lexicons-2026.11.18.1-py3-none-any.whl
Size 3.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
11c29d57b9d6900a1b0a086a7ef8d9777526d6d0b412e78114210a74e1ac8e0f
BLAKE2b-256 checksum
How to use checksums
0f16dab5db1f3ef1a51967b252100e1c218d71ccff638865147b2b5668416f9e
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 18, 2026.

Transparency log

Security for atproto-lexicons 2026.11.18.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.

Full provenance

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

Select from 2 files

Attestation for atproto_lexicons-2026.11.18.1.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 18, 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