This is a set of functions to help with the management of atprotocols, and bluesky.
This is a set of functions to help with the management of atprotocols, and bluesky. It's a work in progress, especially as things change within the atproto repo.
My goal is to eventually package this up into a python library but for now, this will do.
Auth is handled by using your identifier / username and password and using those to create a session, however as to not store credentials in cleartext, we encrypt them using fernet. You'll find the steps below to get up and running:
In the tools directory, you'll find a script called crypto_helper.py that handles the creation of a key that will be used to encrypt and decrypt your credentials (so they're not in plaintext). It'll create a corresponding .secrets folder where it'll store a secret.key
Once its done, it'll output a string that looks like this b'<randomjunk>', copy and paste the entire thing into self.encrypted_credentials
This was created as just a collection of functions, in the APIHandler class, with the intention of making this its own Python package. I haven't looked too hard into how to make that work with the way I handle creds, but thats my next to do.
You should be able to call that class and its corresponding functions, and if your credentials are correct, everything should just work.
🌉 A bridge between decentralized social networks
💬 The social web translator
🏎️ Fast Python library to work with IPLD: DAG-CBOR, CID, CAR, multibase
The AT Protocol (🦋 Bluesky) SDK for Python 🐍
A collection of example projects and scripts for atproto development.
A script for auto-deleting Bluesky posts
Your Brand Here!
50K+ engaged viewers every month
Limited spots available!
📧 Contact us via email🦋 Contact us on Bluesky