Nipistaa
A pincer library that provides templates commands for the Pincer API wrapper.
Usage example
import nipistaa
from nipistaa.templates import ping
from pincer import Client
@nipistaa.hook(ping, guild=1234567890)
class Bot(Client):
@Client.event
async def on_ready(self):
print('Logged in as', self.bot)
if __name__ == '__main__':
Bot('...').run()
or even make it with bare python Client!
import nipistaa
from pincer import Client
Bot = nipistaa.hook('ping', guild=1234567890)(Client)
Bot('...').run()
want to use nipistaa withing a Cog? No problem.
from pincer import command
from pincer.objects import Embed, MessageContext
import nipistaa
from nipistaa.templates import ping
@nipistaa.hook(ping, guild=134567890)
class MyBeautifulCog:
# your own commands
@command
async def say(self, ctx: MessageContext, message: str):
return Embed(description=f"{ctx.author.user.mention} said:\n{message}")
setup = MyBeautifulCog
Metadata
Release files for nipistaa 0.1.0
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 | |
|---|---|---|---|---|
| nipistaa-0.1.0.tar.gz | 4.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nipistaa-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / nipistaa-0.1.0.tar.gz
| Download URL | nipistaa-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51b951fbb6f607bb01bb1c144e857cf9c33a7593af2cb689abceb752891fdcfe
|
|
BLAKE2b-256 checksum How to use checksums |
522315fce64ba1e8c12b90dd3804206018746b52ddd3495c2040373e69c61b6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / nipistaa-0.1.0-py3-none-any.whl
| Download URL | nipistaa-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35468471d85af43dec2d4792f14349a658a42eb588dad1602a0259450a3199f4
|
|
BLAKE2b-256 checksum How to use checksums |
df15cb220fd72271f36da022f47339db9e00c8561ad959ad0b9da71fd2b904fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for nipistaa 0.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.