Skip to main content

ShadowB

ShadowB Logo

ShadowB is an all-in-one Python toolkit that bundles a wide range of everyday utilities — system info, image steganography, temporary email, QR codes, CAPTCHA generation, password tools, file safety checks, and more — into a single, easy-to-import package.

Instead of installing and learning a dozen different libraries for a dozen small tasks, ShadowB collects the most commonly needed helper functions in one place.

100% open source. No telemetry, no analytics, no external server. Every function runs locally on the user's own machine — nothing is collected or transmitted by the library's maintainers.


Installation

pip install ShadowB

Table of Contents


core

Basic package metadata and bootstrapping.

from ShadowB import core

core.start()        # run core app for : create passwords or usernames / organize the working files
core.owner()        # -> "Adem mzoughi"
core.team()         # -> "Adem mzoughi, Berlin, Shadow"
core.hp()           # print help / usage info
core.vr()           # print current version

getD

Local system & network diagnostics — useful for things like monitoring your own machine's load, debugging your own network setup, or quick scripting.

from ShadowB import getD

getD.my_ip()             # your public IP address
getD.my_data()           # IP, country, and basic PC specs (CPU/RAM, etc.)
getD.get_cookies(filename)   # export your own browser's cookies to a local .txt file
getD.scan_open_ports()    # check which ports are open on a given website
getD.whm()                # print the current working directory (e.g. C:/Users/Pc/Desktop)

⚠️ get_cookies() reads cookies from your own browser profile and scan_open_ports() should only be run against hosts you own or are authorized to test. See Responsible Use.


Look up whether a username exists on a given platform.

from ShadowB import search

search.forgot.search_by_username(app, username)
# returns True (and prints the profile link) or False
# app: ".insta" | ".fc" | ".yt"

captcha

Generate CAPTCHA images.

from ShadowB import captcha

captcha.generate_captcha("captcha") # image name

qrcode

Generate and read QR codes.

from ShadowB import qrcode

qrcode.generate_qrcode(text, "qr")   # create a QR code image

mail

Disposable email creation and sending (Gmail SMTP).

from ShadowB import mail

mail.create_email()                      # -> email, password, token
mail.get_msj(token)                      # -> list of received messages (id, subject, body, ...)
mail.send_msj(sender, app_password, to, subject, body)   # send via Gmail SMTP

safe

File inspection and sanitation helpers.

from ShadowB import safe

safe.safeFile(file)              # -> True / False
safe.size(file)                  # -> file size
safe.name(file)                  # -> file name
safe.ext(file)                   # -> file extension
safe.clean(file, check_list)     # -> True / False
safe.cleanText(text, check_list) # -> True / False

image

Metadata and steganography utilities.

from ShadowB import image

image.expMetadata(img)          # read EXIF / metadata
image.check_img(img)            # -> True / False (contains hidden text/file)
image.extr_file(img)            # extract a hidden file from the image
image.extr_text(img)            # extract hidden text from the image
image.removeMetadata(img)       # strip metadata (useful before sharing photos)
image.hide_text(img, text)      # embed hidden text into the image
image.hide_file(img, file)      # embed a hidden file into the image

passwords

from ShadowB import passwords

passwords.check_strenght(password)   # rate password strength
passwords.create_password()          # generate a strong password

⚖️ Responsible Use

ShadowB is a general-purpose utility library, similar in spirit to combining tools like requests, browser_cookie3, psutil, python-nmap, and Pillow-based steganography helpers into one package. It performs no network exfiltration on its own and contacts no third-party server.

That said, several functions are powerful and should be used responsibly:

  • Only run get_cookies() against your own browser profile.
  • Only use scan_open_ports() on systems/websites you own or are explicitly authorized to test.
  • Respect each platform's Terms of Service and applicable privacy laws when using search.forgot.search_by_username.
  • Don't use the steganography functions (hide_text, hide_file) to conceal malicious payloads or to deceive other people.

You are responsible for complying with local laws and the terms of any service you interact with through this library.


📄 License

This project is licensed under the MIT License.


👤 Author

Adem mzoughi — 2026/23/06

Metadata

Release files for ShadowB 0.4

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

Source distribution (sdist)

Source distribution for ShadowB 0.4
File Size Uploaded Provenance Actions
shadowb-0.4.tar.gz 20.3 kB Without provenance Details for shadowb-0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ShadowB 0.4
File Interpreter ABI Platform Actions
shadowb-0.4-py3-none-any.whl Python 3 none any Details for shadowb-0.4-py3-none-any.whl

Total release size: 46.1 kB

Release files / shadowb-0.4.tar.gz

Download URL shadowb-0.4.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
768c11d12c2abd8b0e68f9741497c4b626da24e06a2e4fc328bd3a4569a87d12
BLAKE2b-256 checksum
How to use checksums
bfc9da76bba2e5b1603c44e60ca133f174efb6f27801d6d2b48968a6ca44183d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.8

Release files / shadowb-0.4-py3-none-any.whl

Download URL shadowb-0.4-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa0659d28cb7446475023a39933541d9d8b40fd8adc8ecb60bb60f4eebbbc327
BLAKE2b-256 checksum
How to use checksums
c913900a710bf60b67a526f9d42a23e1d0528dff532fffff961959830ad67167
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.8

Security for ShadowB 0.4

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.

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