Skip to main content

microsky

A Bluesky client for Python and MicoroPython.

Usage

See microsky.py and the Bluesky HTTP API reference https://docs.bsky.app/docs/category/http-reference for usage.

Install

Python

pip install microsky

MicroPython

Go interactive shell and install with mip as follow.

>>> import mip
>>> mip.install("urequests")
>>> mip.install("https://github.com/nakagami/microsky/blob/master/microsky.py")

Example

Here is an example of doing the following

  • Retrieving a list of your posts

  • Post

  • Delete a post

import microsky

with microsky.createSession("xxx.bsky.social", "password") as session:
    print(session.listPosts(did=session.did))
    post = session.sendPost("Hello Bluesky!")
    print(post)
    print(session.listPosts(did=session.did))
    print("delete")
    print(session.deletePost(post["uri"]))
    print(session.listPosts(did=session.did))

Metadata

Release files for microsky 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for microsky 0.1.2
File Size Uploaded Provenance Actions
microsky-0.1.2.tar.gz 4.5 kB Without provenance Details for microsky-0.1.2.tar.gz

Release files / microsky-0.1.2.tar.gz

Download URL microsky-0.1.2.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e3617091b4c70ae90482a397bcec73338571d96ef40cb534c2ad2cacb7dc75a9
BLAKE2b-256 checksum
How to use checksums
bb346d1ae246b82682b97703e0160871ede7c8abbd18ca5e00e64ab2ffba29e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for microsky 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page