gone
Make stuff disappear
Table of Contents
Installation
pip install gone
Usage
The gone module provides three decorators to manipulate function input and output:
args: Absorbs all input arguments and calls the decorated function without them.result: Discards the result of the decorated function.inout: Absorbs all input arguments and discards the result of the decorated function.
Usage Example
import gone
@gone.args
def greet():
return "Hello World"
greet(1, 2, key=3) # Result: Hello, world!
@gone.result
def add(a, b):
return a + b
print(add(1, 2)) # Output: None
@gone.inout
def display_message():
print("This will print, but inputs and outputs are ignored.")
return "ignored"
display_message("ignored input") # Output: This will print, but inputs and outputs are ignored; Returns: None
License
gone is distributed under the terms of the MIT license.
Metadata
Release files for gone 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 | |
|---|---|---|---|
| gone-0.1.0.tar.gz | 65.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gone-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.1 MB
Release files / gone-0.1.0.tar.gz
| Download URL | gone-0.1.0.tar.gz |
|---|---|
| Size | 65.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cd4a01d97dc9b59468c32f7a661d9f3b7d40c8680f1cf656bb32957effa4ffc
|
|
BLAKE2b-256 checksum How to use checksums |
e0414d9eaa12a79a4e4da60397fadb2d7be2502d150b488293127bc31264f5ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Release files / gone-0.1.0-py3-none-any.whl
| Download URL | gone-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c494f0f39161061ed955c6bd06e3d64b030989e8ef143a67e430cb7a170c9d81
|
|
BLAKE2b-256 checksum How to use checksums |
6381baaebb7f1a26336188722848a11ba30dac91df20f6af0027aa0b7021bd04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|