When you need an f-bomb in your code, look no further.
Project description
F Bomb
If you've ever need to drop an F bomb in your code, we've got you covered. Drop a blunt, multilingual "F-bomb" in your Python code.
Installation
pip install f_bomb
Quick start
from f_bomb import F_Bomb
bomb = F_Bomb()
print(str(bomb)) # FUCK!
print(bomb.drop("fr")) # PUTAIN!
Usage
Choose a default language
from f_bomb import F_Bomb
bomb = F_Bomb("de")
print(bomb.drop()) # SCHEISSE!
Drop once in a specific language
from f_bomb import F_Bomb
bomb = F_Bomb()
print(bomb.drop("it")) # CAZZO!
Carpet bomb (intentionally noisy)
from f_bomb import F_Bomb
bomb = F_Bomb("en")
print(bomb.carpet_bomb()) # FUCK! plus a very large newline payload
API
F_Bomb(language: str = "en")
Creates a new bomb with a default language code.
drop(language: str | None = None) -> str
Returns the uppercase expletive for the provided language code, or the default.
carpet_bomb(language: str | None = None, amount: int = 100) -> str
Returns a single drop followed by a very large block of newlines.
Supported language codes
The library ships with a list of language codes mapped to strong profanities.
Examples: en, es, fr, de, it, pt, ru, ja, ko, zh.
Notes
- Language codes are lowercased internally.
- Unknown language codes raise
KeyError.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file f_bomb-0.0.1.tar.gz.
File metadata
- Download URL: f_bomb-0.0.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50a0578216547e457ad1fabe0764697458f6bd7049ebbb7d1c7a6387a5452b47
|
|
| MD5 |
c7428e367f7fae035268496b8efeebee
|
|
| BLAKE2b-256 |
6ae524e3b4b50aff80c09d2cfbfc6caf614751010cd63676ee6b5a0ff62190ec
|
Provenance
The following attestation bundles were made for f_bomb-0.0.1.tar.gz:
Publisher:
python-publish.yml on cgivre/f_bomb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
f_bomb-0.0.1.tar.gz -
Subject digest:
50a0578216547e457ad1fabe0764697458f6bd7049ebbb7d1c7a6387a5452b47 - Sigstore transparency entry: 871112826
- Sigstore integration time:
-
Permalink:
cgivre/f_bomb@cd9e659c2e0e422bfe75b48b75adfc312ef544a6 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/cgivre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cd9e659c2e0e422bfe75b48b75adfc312ef544a6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file f_bomb-0.0.1-py3-none-any.whl.
File metadata
- Download URL: f_bomb-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f533f2e8ef329a7ce073182a370b3c6b56eee7b9d6445d1a0d19f2929e5e00d
|
|
| MD5 |
72bcb3b1e3c927a26eb0666b272a829a
|
|
| BLAKE2b-256 |
5851c8972f8cf1df8d87f69ca171c3ed2cd84d6071a888bf73a1fb04509b0a3d
|
Provenance
The following attestation bundles were made for f_bomb-0.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on cgivre/f_bomb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
f_bomb-0.0.1-py3-none-any.whl -
Subject digest:
2f533f2e8ef329a7ce073182a370b3c6b56eee7b9d6445d1a0d19f2929e5e00d - Sigstore transparency entry: 871112872
- Sigstore integration time:
-
Permalink:
cgivre/f_bomb@cd9e659c2e0e422bfe75b48b75adfc312ef544a6 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/cgivre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cd9e659c2e0e422bfe75b48b75adfc312ef544a6 -
Trigger Event:
release
-
Statement type: