Akkoma.py
Python wrapper for the Akkoma (https://akkoma.dev/AkkomaGang/akkoma) API.
# Register your app! This only needs to be done once. Uncomment the code and substitute in your information.
from akkoma import Akkoma
'''
client_id, client_secret = Akkoma.create_app(
'app_name',
to_file="app_clientcred.txt",
api_base_url = 'https://yourakkoma.instance'
)
'''
# Then login. This can be done every time, or use persisted.
from akkoma import Akkoma
akkoma = Akkoma(client_id = "app_clientcred.txt", api_base_url = 'https://yourakkoma.instance')
grant_type = 'password'
akkoma.log_in(
client_id,
client_secret,
grant_type,
'user',
'password',
to_file = "app_usercred.txt"
)
# To post, create an actual API instance.
from akkoma import Akkoma
akkoma = Akkoma(
access_token = 'app_usercred.txt',
api_base_url = 'https://yourakkoma.instance'
)
akkoma.status_post('Posting from python using Akkoma.py !')
Metadata
Release files for Akkoma.py 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Akkoma.py-0.1.6.tar.gz | 15.0 kB | Without provenance | Details for Akkoma.py-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Akkoma.py-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for Akkoma.py-0.1.6-py3-none-any.whl |
Total release size: 30.0 kB
Release files / Akkoma.py-0.1.6.tar.gz
| Download URL | Akkoma.py-0.1.6.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5eedf7dadb5fd4c948a4adb39a74ca9949b19be7ef08905b7cabe43e2f849a8e
|
|
BLAKE2b-256 checksum How to use checksums |
98bd949e61ee454a58462d9255db29fd5e6b00d9d42a013583ea900f0d736a6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / Akkoma.py-0.1.6-py3-none-any.whl
| Download URL | Akkoma.py-0.1.6-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38204d36d79280baf072e19ceb60128adc64238351823244a5df604eefa465cc
|
|
BLAKE2b-256 checksum How to use checksums |
7c6bc5607b35fc3486bfbeb496968d4c3b10d2757fb9aa33a6108bfab26612d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for Akkoma.py 0.1.6
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.