Skip to main content

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


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.7.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gokyuzu-0.0.7-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file gokyuzu-0.0.7.tar.gz.

File metadata

  • Download URL: gokyuzu-0.0.7.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for gokyuzu-0.0.7.tar.gz
Algorithm Hash digest
SHA256 50de5e3c22de27df3ab45cfe6799dc525b24e3c81896347941755255554c718b
MD5 4adc9aadb3506d7d32b4dc46a4bfce07
BLAKE2b-256 f8023a98dd191d2d795155cc667348016c463c740ce6460a947376665b38f516

See more details on using hashes here.

File details

Details for the file gokyuzu-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: gokyuzu-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for gokyuzu-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8ef4ef72cfcc5aa09a3309c78daa23c594cdefcfb01465b0ec0db4cdbbf853ab
MD5 6906e05cef190596c1dcc6672050907f
BLAKE2b-256 0433d2828aff250a5044977e61acd9ee293ac37c74951abcbe565a2bf056ce7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page