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

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.12.2
File Size Uploaded Provenance Actions
atproto_lexicons-2026.12.2.tar.gz 1.5 MB With provenance Details for atproto_lexicons-2026.12.2.tar.gz

Built distribution (wheel)

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

Total release size: 5.1 MB

Release files / atproto_lexicons-2026.12.2.tar.gz

Download URL atproto_lexicons-2026.12.2.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
8f517b3c5254e2fcba69e284cb732672d8896e9db4bdeb7dcec5d91125250cac
BLAKE2b-256 checksum
How to use checksums
10e6f774ec870512a4c74da83a02109f6ba6587f5fb41cd7073774d0da9a30c8
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 Dec 2, 2026.

Transparency log

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

Download URL atproto_lexicons-2026.12.2-py3-none-any.whl
Size 3.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c24cc1843938f3505d35a6505063052d0447f8c871e8e99cb9a3ddac5bff6b9f
BLAKE2b-256 checksum
How to use checksums
49d469c11859995016be4d31d0c9d997db36fbea8ccae7bff5da676cdbf29447
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 Dec 2, 2026.

Transparency log

Security for atproto-lexicons 2026.12.2

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.12.2.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 Dec 2, 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