bsky.social client library
Project description
gokyuzu - bluesky python client
Gökyüzü - "sky" in Turkish - is a python client for the bluesky social network.
Install
pip install gokyuzu
Sample Usage
from gokyuzu import Bluesky
bsky = Bluesky("handle.bsky.social", "PASSWORD")
response = bsky.resolveHandle("handle.bsky.social")
print(response.json())
Documentation
List of Implemented API Calls:
createAccount(self, email, handle, password, inviteCode)getSession(self)getAccountInviteCodes(self, limit=10)getProfile(self, user_did)getProfiles(self, user_dids)getPopular(self, limit=10, cursor="")getTimeline(self, limit=10, cursor="", algorithm="reverse-chronological")getAuthorFeed(self, handle=None, user_did=None, limit=10, cursor="")getPostThread(self, post_id, limit=10, cursor="")getFollowers(self, handle=None, user_did=None, limit=10, cursor="")getFollows(self, handle=None, user_did=None, limit=10, cursor="")listNotifications(self, limit=10, cursor="")updateSeen(self, limit=10, cursor="")createRecord(self, repo, record, collection)deleteRecord(self, repo, record, collection)follow(self, handle=None, user_did=None)unfollow(self, handle=None, user_did=None)resolveHandle(self, handle)updateHandle(self, handle)
Development
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Running tests
python -m unittest
Publishing to PyPI
# Build for PyPI
python -m build
# Test PyPI
python -m twine upload --repository testpypi dist/*
pip install --index-url https://test.pypi.org/simple/ --no-deps gokyuzu
# PyPI
python -m twine upload dist/*
pip install gokyuzu
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gokyuzu-1.0.1.tar.gz
(6.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gokyuzu-1.0.1.tar.gz.
File metadata
- Download URL: gokyuzu-1.0.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fae62c1266d1e7ab75190e10c8463682bcadb4fae42f048032578fe40355b3c9
|
|
| MD5 |
794a27bdd44b245c304f60303b60d768
|
|
| BLAKE2b-256 |
adb491ad0f12267e200f8266b9c853babaaee668e793e668d83267530bd3b0cb
|
File details
Details for the file gokyuzu-1.0.1-py3-none-any.whl.
File metadata
- Download URL: gokyuzu-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b4321b69b58ac14fde1f1fae99a1d23789c383529334a8abb2d33fcb6ca9efb
|
|
| MD5 |
1992537e3a09454c42011e9d09bc5cc8
|
|
| BLAKE2b-256 |
f5abfdd09f40a432f9f4becc8f2c032f663a51641b2b2b445732ed38e42a4acf
|