cbmc.py
Unofficial 麥塊匿名發文平台 API Wrapper for Python
Installation
pip install cbmc.py
Usage
# Import the library
from cbmc import AsyncCbmc, SyncCbmc
api = SyncCbmc()
# Obtain post with post id, raise cbmc.NotFound if not found
api.get_post(1)
# List recent posts, maximum 300 posts.
api.get_posts()
# Directly call the method also works
# Creating an instance is not required, but it is recommended for future updates.
# (some planned new features will require that)
SyncCbmc.get_post(1)
# Also available in async
async def main():
await AsyncCbmc.get_post(1)
await AsyncCbmc.get_posts()
Documentation
Credits
- 麥塊匿名發文平台 API Documents: CBMC API Docs
- Inspired by HansHans135's cbmc library.
License
This project is licensed under MIT License. See the LICENSE for more details.
Metadata
Release files for cbmc.py 0.0.4
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 |
|---|---|---|---|---|
| cbmc.py-0.0.4.tar.gz | 7.9 kB | Without provenance | Details for cbmc.py-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cbmc.py-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for cbmc.py-0.0.4-py3-none-any.whl |
Total release size: 18.6 kB
Release files / cbmc.py-0.0.4.tar.gz
| Download URL | cbmc.py-0.0.4.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a12aeffa6286327c4cbd8817f22f1b1ac0fe73d88114e9a6163c617ddf665dbf
|
|
BLAKE2b-256 checksum How to use checksums |
3e0840c648ea783db37be88a4ac2bbb4769e29101f665b3f9b67a001cf5c3e03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / cbmc.py-0.0.4-py3-none-any.whl
| Download URL | cbmc.py-0.0.4-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28f088dea07b425677ebde0c6d1dd322aef16273d62f008d9db6e3985fb2da4f
|
|
BLAKE2b-256 checksum How to use checksums |
f2f74dda3be606fabe62e39a024d215f00b059515d84557a72459f677a0091e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for cbmc.py 0.0.4
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.