Skip to main content

Pylint Tests

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.

Metadata

Release files for f-bomb 0.0.2

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

Source distribution (sdist)

Source distribution for f-bomb 0.0.2
File Size Uploaded
f_bomb-0.0.2.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for f-bomb 0.0.2
File Interpreter ABI Platform
f_bomb-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / f_bomb-0.0.2.tar.gz

Download URL f_bomb-0.0.2.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d340fded3bab33b9d824ac7ba35f4c99d3a8139d86d0f486e5c051bdb356953f
BLAKE2b-256 checksum
How to use checksums
f12c2e45f050b461050fa030ceb7afeacc07ec3f2847bc5684f2210dd3a24eeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / f_bomb-0.0.2-py3-none-any.whl

Download URL f_bomb-0.0.2-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0817b0ff6fa07158512ad9790da109271189072540b763f0101d5b819a6121f9
BLAKE2b-256 checksum
How to use checksums
f3505d2f0f871cc029798b6881cc1190f57ccb66fe90b4cfc480be7b5c9c0179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.3

2 release files

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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