Skip to main content

Lightbulb WTF

This is a joke project (but working somehow).

I just wanted to mess around to see how much I could mess with lightbulb command declaration syntax.

Usage

Commands are declared like generics using square brackets ([]) as the construction method.

A basic command:

import lightbulb
from lightbulb.ext.wtf import *

bot = lightbulb.BotApp(...)

async def foo_callback(ctx):
    await ctx.respond("Bar")


cmd = Command[
    Implements[lightbulb.PrefixCommand],
    Name["foo"],
    Description["test command"],
    Executes[foo_callback]
]

bot.command(cmd)
bot.run()

Metadata

Release files for lightbulb-ext-wtf 0.1.0

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

Source distribution (sdist)

Source distribution for lightbulb-ext-wtf 0.1.0
File Size Uploaded Provenance Actions
lightbulb-ext-wtf-0.1.0.tar.gz 7.4 kB Without provenance Details for lightbulb-ext-wtf-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lightbulb-ext-wtf 0.1.0
File Interpreter ABI Platform Actions
lightbulb_ext_wtf-0.1.0-py3-none-any.whl Python 3 none any Details for lightbulb_ext_wtf-0.1.0-py3-none-any.whl

Total release size: 15.8 kB

Release files / lightbulb-ext-wtf-0.1.0.tar.gz

Download URL lightbulb-ext-wtf-0.1.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9adcaee82b028a7f2e71ad8d5cbe8753515c0a15ffb23875e01919fa03ec23bc
BLAKE2b-256 checksum
How to use checksums
cbb0a459f248feb81675a2bc47f906aa61f931289eb2505c8d3cecb8bc6170a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / lightbulb_ext_wtf-0.1.0-py3-none-any.whl

Download URL lightbulb_ext_wtf-0.1.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd0aff3d4ff4cb8ac4ca04b0ff45d21b5a954ac984b8416351ac6ef212b2f0aa
BLAKE2b-256 checksum
How to use checksums
79fc78be30359a4fc42922204ca747c0834679f3740570098ed07f66db579cd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Security for lightbulb-ext-wtf 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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