Skip to main content

CyberPlain is a defensive cybersecurity toolkit for Python and the command line. It uses normal English in its names, output, errors, and documentation so beginners can understand what a check did and experienced practitioners can automate it.

Learn neural networks

For a tiny, dependency-free neural network, describe the layer sizes, give it examples, and ask it a question:

from cyberplain import learn_xor

brain = learn_xor()
print(brain.predict([1, 0]))  # close to 1: true
print(brain.predict([1, 1]))  # close to 0: false

Use NeuralNetwork(2, 3, 1) to build your own network from scratch. fit() returns the error history, while weights and biases stay visible so learners can see what practice changes.

Metadata

Release files for cyberplain 0.3.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 cyberplain 0.3.0
File Size Uploaded
cyberplain-0.3.0.tar.gz 28.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cyberplain 0.3.0
File Interpreter ABI Platform
cyberplain-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.7 kB

Release files / cyberplain-0.3.0.tar.gz

Download URL cyberplain-0.3.0.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2a40cbc6cd72a3e3899e11b7981198a0a28dd2040caeaea0160af1aa737662dd
BLAKE2b-256 checksum
How to use checksums
aa4fc0e0af8042d96300900d025b8b8742679fdd7cf5f81439b6cc2b8925b5bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release files / cyberplain-0.3.0-py3-none-any.whl

Download URL cyberplain-0.3.0-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fab1e3b7d111ef37ffc1c41b5a11c18a2de55ea8ada39f417cc3ac7a9ccc7f1
BLAKE2b-256 checksum
How to use checksums
a52c65b3df205881b541b21ae5c5727dfacbaf85d9a687c51eb3ddecf85b20cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

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