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.6.tar.gz (4.5 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.6-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gokyuzu-0.0.6.tar.gz
  • Upload date:
  • Size: 4.5 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.6.tar.gz
Algorithm Hash digest
SHA256 b3bf3e42a7380ffa69e2a2aaeb83c002fe17687fda271a683a09e15b76e45f0c
MD5 17b6dc6ba67491ad13946a770c0e8445
BLAKE2b-256 5b790c0cd0096a5f9c6cfc8dc5a659375292f64f8392a44d93f8e94c443eb077

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gokyuzu-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ea18df953090bb74427d6a088241f578f25aed1f1c112da57a2777a267959636
MD5 e8c0485741887c413bc70f7acd433463
BLAKE2b-256 170fe91c132f9975f667d374f638779c00ce93b49816dd4e5f4f347adc684ebb

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