Skip to main content

ShadowB

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 fro : 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
qrcode.scan_qrcode("qr.png")             # -> decoded text (str)

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.1

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.1
File Size Uploaded Provenance Actions
shadowb-0.1.tar.gz 20.6 kB Without provenance Details for shadowb-0.1.tar.gz

Built distribution (wheel)

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

Total release size: 47.2 kB

Release files / shadowb-0.1.tar.gz

Download URL shadowb-0.1.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
73e04d4bf4e8b7f56ecd2d6e6ec7a5606ed0c7ab5bf2b0275c4a4a07b889bcad
BLAKE2b-256 checksum
How to use checksums
28feb1ef4930a089b56c577f05f4f7cd6cd4bfd39d7489af6448ddefca192f98
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.1-py3-none-any.whl

Download URL shadowb-0.1-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a879822caa2980707c55c8f243de8d1a0283ce2853e98f8294b4e270b2637dd1
BLAKE2b-256 checksum
How to use checksums
a9579cd8df586ff03cfe01170e8258b901d61fe97df0038e5ec4d0285ca1501c
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.1

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