Skip to main content

Misskey.py

PRs Welcome MIT License Python test codecov Documentation Status

This script is Python library for Misskey Instance.

This library is only available in Python3.

Misskey is made by syuilo.


How to install

Use pip (Recommend)

pip install Misskey.py
# or
pip3 install Misskey.py

usage

import library (init)

from misskey import Misskey

mk = Misskey("misskey.io")  # Input instance address (If leaved no attribute, it sets "misskey.io")

# Let's note!
mk.notes_create(
    text="Hello Misskey.py!"
)

Use token key

from misskey import Misskey

# If use the token
mk = Misskey("misskey.io", i="abcdef123...")

Create token

from misskey import Misskey, MiAuth

auth = MiAuth("misskey.io", name="misskey.py")
# Get Authentication URL, then send to client browser
url = auth.generate_url()
# After permission granted, run this function
token = auth.check()
# To use misskey.py with created token, please below
misskey = Misskey("misskey.io", i=token)  # or: misskey = misskey("misskey.io", i=auth.token)

Other

Pull requests are HUGE WELCOME!

We hope you will contribute to the completion of the library by all means.

Metadata

Release files for Misskey.py 4.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for Misskey.py 4.1.0
File Interpreter ABI Platform Actions
Misskey.py-4.1.0-py3-none-any.whl Python 3 none any Details for Misskey.py-4.1.0-py3-none-any.whl

Release files / Misskey.py-4.1.0-py3-none-any.whl

Download URL Misskey.py-4.1.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d118891d0cd59d7e8942870ab2145c78221ec9ea0c9a79e309a473f0a8db96fe
BLAKE2b-256 checksum
How to use checksums
8eb97803ea7ce79f63095fd764807fbe17cd6453c18e64cd9e3331afd7fecbb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Security for Misskey.py 4.1.0

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