Skip to main content

Cybersecure Easy 0.2.0

Complete source package with the existing security helpers, 120 lazy optional package adapters, and Virtual_Frame for generating iframe HTML. Requires Python 3.10 or newer.

Publish from Windows PowerShell

  1. Extract this ZIP and open the cybersecure-easy-0.2.0 folder.
  2. Check your project's current version at https://pypi.org/project/cybersecure-easy/. This package uses 0.2.0 as a proposed version; the current live version could not be verified when this ZIP was prepared. If necessary, choose a higher unused version in pyproject.toml before building. The extracted folder name need not change.
  3. If you have an existing project, preserve its license, author information, project URLs, and other release metadata. This reconstructed configuration does not assign a license or invent author metadata.
  4. Open PowerShell in this folder. Run:
powershell -ExecutionPolicy Bypass -File .\publish.ps1

The script installs build tools, runs local checks, removes only the build/dist folders here, builds fresh archives, checks their metadata, and uploads with Twine. When Twine prompts for a password, enter your project-scoped PyPI API token. The token is not hardcoded or stored by this script. If an upload partly succeeds, check PyPI before retrying; uploaded filenames cannot be reused.

To build and check without publishing:

powershell -ExecutionPolicy Bypass -File .\publish.ps1 -BuildOnly

Or run the commands manually, stopping on any failure:

python -m pip install --upgrade build twine
python selftest.py
python -m build
python -m twine check dist/*
python -m twine upload --username __token__ dist/*

After publishing:

python -m pip install --upgrade cybersecure-easy

Install optional integrations

The base package has no mandatory third-party dependencies. Install only what you use:

python -m pip install "cybersecure-easy[pkg-httpx,pkg-numpy]"
python -m pip install "cybersecure-easy[integrations-validation]"
python -m pip install "cybersecure-easy[network,web,crypto,yara]"

The all extra requests the original dependencies plus all 120 adapters. This is large and may need platform-specific tools or fail dependency resolution on some platforms. The complete dependency matrix has not been installation-tested. Individual extras are named pkg-<adapter-name-with-hyphens>; category extras are integrations-<category>. See PACKAGE_LIST.md.

Virtual_Frame

from pathlib import Path
from cybersecure import Cybersecure, Yes, No

frame = Cybersecure.Virtual_Frame(URL="https://example.com", Interactive=Yes)
Path("frame.html").write_text(frame.document(), encoding="utf-8")

# For a noninteractive frame:
readonly = Cybersecure.Virtual_Frame(URL="https://example.com", Interactive=No)

frame is an HTML string with a notebook HTML representation. The call does not open a browser or fetch the page. Open frame.html in a browser or use the HTML in a web template. Keyword arguments use = (not :).

Interactive frames use sandbox="allow-scripts allow-forms" by default. Read-only frames use an inert wrapper, disable pointer events/focus, and block scripts/forms. The sandbox can affect login, storage, or other website behavior. Websites can refuse embedding with CSP or X-Frame-Options; this helper does not bypass that. Custom Sandbox tokens grant extra capabilities explicitly for trusted content.

Package adapters

from cybersecure import Cybersecure

print(Cybersecure.packages())
print(Cybersecure.package_info("httpx"))
httpx = Cybersecure.httpx()  # lazy import; package must already be installed
array = Cybersecure.numpy("array", [1, 2, 3])
image = Cybersecure.pillow("Image.open", "photo.png")
print(Cybersecure.help())

Adapters expose native public attributes and callables, not simplified, security-reviewed replacements. Native return values and exceptions remain; async APIs still need to be awaited. Packages are never automatically installed. The original private-IP restrictions apply to send_packet/scan_ports, not to upstream APIs called through adapters. Only test systems you are authorized to test.

Existing audit helpers need Bandit installed separately; npm auditing requires Node.js/npm; port scanning needs the Nmap application. Packet sending can require administrator privileges and packet drivers.

Verification

Run python selftest.py. It checks iframe escaping, validation and interaction controls; dispatch for all 120 adapters with mock modules; missing-dependency errors; and an existing hashing helper. It also performs native smoke checks for Packaging, NumPy and PyYAML if installed. Passing these tests does not certify all 120 upstream packages or their combinations.

Metadata

Release files for cybersecure-easy 0.2.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.2.0
File Size Uploaded
cybersecure_easy-0.2.0.tar.gz 33.1 kB Details

Built distribution (wheel)

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

Total release size: 54.5 kB

Release files / cybersecure_easy-0.2.0.tar.gz

Download URL cybersecure_easy-0.2.0.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f287281290db6d4b0e2d2d0bcc384e07a791811db33f2186c844ce82217c8a5e
BLAKE2b-256 checksum
How to use checksums
b860164dd9b82b2bf2451768f16cdd34b7cc43e3c4b66da727f83aaee84e9637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL cybersecure_easy-0.2.0-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c25acf7cbb9c59fadebbf2adc423efa9f502f04fda572a1796c8f1d56238df44
BLAKE2b-256 checksum
How to use checksums
5e168773d8989ca1758358a4810a307c7a734e77888048ab12ad2c418507227a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

This release

0.2.0 This release

2 release files

0.1.0

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