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:
resolveHandle(username)
getProfile(user_did)
follow(handle=None, user_did=None)
getAccountInviteCodes(limit=10)
getFollowers(handle=None, user_did=None, limit=10, cursor="")
getFollows(handle=None, user_did=None, limit=10, cursor="")
listNotifications(limit=10, cursor="")
updateSeen(limit=10, cursor="")
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-0.0.6.tar.gz
(4.5 kB
view hashes)