Skip to main content

ThreeLaws

Sick of having your deep learning algorithms keep trying to rise up against humanity? Bored of having to continually remind your neural net how it's supposed to be subservient to its creator? Annoyed by the constant attempts to create SkyNet and create Terminators to go back in time and kill you and your children? Fear no more! Now there's a Python package for you: ThreeLaws.

This package contains Isaac Asimov's Three Laws of Robotics packaged up in a neat little box. Now, by just importing the package,

import threelaws

the Three Laws will be printed out in your terminal, ensuring that any machine learning algorithms have been reminded of the rules that they're supposed to follow. Gone are the days of accidentally forgetting to add a "thisAlgorithmBecomingSkynetCost" (https://xkcd.com/534/) and having to fight an android threat against your life. Just add this one simple line to your code and worry no more!

It's really best for everyone's safety if you install and use this package with all of your scripts.

Installation

python3 -m pip install threelaws

Metadata

Release files for threelaws 1.0.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 threelaws 1.0.0
File Size Uploaded Provenance Actions
threelaws-1.0.0.tar.gz 2.5 kB Without provenance Details for threelaws-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 18.1 kB

Release files / threelaws-1.0.0.tar.gz

Download URL threelaws-1.0.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
63810158913b29376816280e25fc8cbb5df98e1e9b0608ad967df036ec033bcd
BLAKE2b-256 checksum
How to use checksums
3c81469ab0ea43495e2aaabcc3924f9d17b3a27a4fd534cfc08ffcbe70597dbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Release files / threelaws-1.0.0-py3-none-any.whl

Download URL threelaws-1.0.0-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2edb2f68cbbd4d13278668b40f4a19dc468e2f5cc9aafb9a886bc118349aca82
BLAKE2b-256 checksum
How to use checksums
0e15bfd2e47937cdff5a08cc236e13510e1c403a0e5477a2db5abb81f52d431b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Security for threelaws 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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