Skip to main content

Cybersecure Easy

A small beginner-friendly Python facade for common defensive security operations. It gives common tasks readable names while keeping their underlying tools visible. It is a starter wrapper, not a replacement for learning the tools or a claim that one library covers every item in a security stack.

Install

From this folder:

python -m pip install -e ".[network,web,crypto]"

Install all supported optional Python dependencies with python -m pip install -e ".[all]". Some tasks also need external tools: Nmap for scan_ports, Bandit for audit_python, and Node.js/npm for audit_dependencies. Socket, Snyk, Helmet, Express, bcrypt, Argon2, JWT, Zod, CORS, Paramiko, Impacket, TensorFlow and similar ecosystems remain their own tools/frameworks; this package does not silently install or wrap all of them.

Examples

from cybersecure import Cybersecure

# Sends a TCP SYN to a private or loopback address (may need administrator rights).
Cybersecure.send_packet(Ip="127.0.0.1", Port=80)

# Scan only your private/loopback host.
print(Cybersecure.scan_ports(Ip="192.168.1.10", Ports="22,80,443"))

print(Cybersecure.get_page(URL="https://example.com")["status"])
print(Cybersecure.extract_links(URL="https://example.com"))
print(Cybersecure.sha256(File="download.bin"))

blob = Cybersecure.encrypt_text(Text="hello", Password="use a long unique passphrase")
print(Cybersecure.decrypt_text(Encrypted=blob, Password="use a long unique passphrase"))

print(Cybersecure.audit_python(PathToCode="./src"))
print(Cybersecure.audit_dependencies(PathToProject="./web-app"))
print(Cybersecure.express_security_template())  # starter code for a separate Express app

Network helpers accept loopback and private IPs by default. For an authorized public target only, explicitly set CYBERSECURE_ALLOW_PUBLIC_TARGETS=1. Get written authorization before sending traffic or scanning any system. HTTP helpers only fetch pages and do not fuzz or exploit endpoints. Never use this package to access systems without permission. Secret material and passwords are never logged by this package.

Metadata

Release files for cybersecure-easy 0.1.0

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

Source distribution (sdist)

Source distribution for cybersecure-easy 0.1.0
File Size Uploaded
cybersecure_easy-0.1.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cybersecure-easy 0.1.0
File Interpreter ABI Platform
cybersecure_easy-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / cybersecure_easy-0.1.0.tar.gz

Download URL cybersecure_easy-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3ca4f1ea4f1f36c75b18c8c480d4b18a11d498dbdcf61529ded523bd3155802a
BLAKE2b-256 checksum
How to use checksums
9b27060ea746a8ba3148482c6f3e01f040a4eae062bae9a547109e7647738b18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / cybersecure_easy-0.1.0-py3-none-any.whl

Download URL cybersecure_easy-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
945544bf8f184489d36e9060c2e4de68f6bb2521f620d80b3243adaa3c88bdda
BLAKE2b-256 checksum
How to use checksums
bb702d456447ffbb2c43ac64a71fcafaa41efeeac0360d90f47eeba4de89085a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 This release

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