Skip to main content

API for BlueSky social network

Project description

blueskysocial

blueskysocial is a Python library for managing social media posts and images. It provides a Client class for interacting with social media platforms, as well as classes for representing posts and images.

Installation

To install blueskysocial, you can use pip:

pip install blueskysocial

Usage

from blueskysocial import Client, Post, Image

client = Client(user_name, password)
client.authenticate()

image = Image('path/to/image.jpg', alt_text='This is an image.')
post = Post('Hello, world!', 'This is my first post.', images=[image])
client.post(post)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

blueskysocial is licensed under the MIT License. See LICENSE for more information.

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

blueskysocial-1.0.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

blueskysocial-1.0.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file blueskysocial-1.0.0.tar.gz.

File metadata

  • Download URL: blueskysocial-1.0.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for blueskysocial-1.0.0.tar.gz
Algorithm Hash digest
SHA256 02fed14a29804f45dc7f9420613fff532b145a00bd64643a19e1ca519163401e
MD5 4db8417b1dc35ddf2031dd14da302730
BLAKE2b-256 e252e5a722746439482befb7c619f424793b51b9521f313cbc052a285e24ab4b

See more details on using hashes here.

File details

Details for the file blueskysocial-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for blueskysocial-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb3a1936e0d8425dc474288ed345ff0f5331d93a43c5816ac8d4af9d8fac091e
MD5 223a78ae3fe4145dedda0ffa78d73318
BLAKE2b-256 7c9c1c0d0c1515a2ea5de47505e3ac51f57b72bf73af17ee48ca57ddf0d9e5dd

See more details on using hashes here.

Supported by

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