Skip to main content

MiPAC

Discord server invite Ruff

Alt

Overview

日本語の README もあります

This library is the Core of MiPA.

MiPAC is an Api Wrapper that supports Misskey v11, 12, and 13. It absorbs API differences between versions, etc., which you don't have to worry about originally.

Support Status

Support status can be found [here](. /compiler/datas/support_status.md). If the endpoint you want to use is not supported, you may create an Issue to get priority support.

If you are using a non-official Fork and it is not working properly, please send us a link to your Fork repository and server in an Issue and we may be able to assist you.

Usage

MiPAC has two repositories, PyPi and its own repository, PyPi is released after it is relatively stable, while the own repository is built and released with each commit.

We hope you will use whichever you prefer. https://onedev.akarinext.org/yupix/mipac-sync/MiPAC/~packages

#stable build(recommended)
pip install mipac

#latest build
pip install --extra-index-url https://onedev.akarinext.org/yupix/mipac-sync/MiPAC/~pypi/simple/ mipac
import asyncio

from mipac.client import Client

async def main():
    client = Client(url, token)
    api = client.api
    note = await api.note.action.send('Hello World')
    print(note.author.name, note.content)

if __name__ == '__main__':
    asyncio.run(main())

Notes

Some server (instance) versions may not work properly.

One of the features of MiPAC is that it is created so that you do not have to worry about the changes that occur in each version of v11, v12, and v13 as much as possible. However, even in v13, which is the current latest version, some items have been removed or increased within v13. As a result, there may be some parts that have not been fully followed. Therefore, if you find such items, please send an Issue with the version of the server you are using and the name of the endpoint that cannot be used.

It is not expected that you will instantiate the model yourself

MiPAC models often take client as a keyword argument and use it to generate the api property. However, since it is a feature in the middle of support, that part may be omitted, and client may be added as a necessary argument to instantiate the model after release. Also, other arguments may be changed to update the model. Therefore, we will not notify you about changes in arguments via CHANGELOG or other means.

LICENSE

MiPAC is provided with MIT LICENSE.

FOSSA Status

Documentation * Discord Server

Metadata

Release files for mipac 0.8.1

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

Source distribution (sdist)

Source distribution for mipac 0.8.1
File Size Uploaded
mipac-0.8.1.tar.gz 441.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mipac 0.8.1
File Interpreter ABI Platform
mipac-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 602.4 kB

Release files / mipac-0.8.1.tar.gz

Download URL mipac-0.8.1.tar.gz
Size 441.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2352f76d0d26db9bdf289146f267b3ca3232f5b843c2513357c69830577e5dcd
BLAKE2b-256 checksum
How to use checksums
75da8c48c785f86d3bdc8d06f7a67e265fe3359f3d3bfdb92204c354114542fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / mipac-0.8.1-py3-none-any.whl

Download URL mipac-0.8.1-py3-none-any.whl
Size 161.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d34c232cfb031808ac479a41312a0559a1828c5b100ef1a51ff5c6d192d20c67
BLAKE2b-256 checksum
How to use checksums
1f8f5d6d99ae46478ce2f4622cc8bb9f94a1a3fba0657a62737ea5efc2cb0d06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.99

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.99

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

1 release file

0.0.2

1 release file

0.0.1

1 release file

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