Skip to main content

Darklock

Completely disable the internet and other services, only allowing whitelists through.


img.png


Installation

pip install lockdown

Usage

Import into your application at the top of the main entry file (e.g. main.py).

Install the lockdown for the service you want to restrict.

import lockdown

lockdown.network.install()
lockdown.os.install()

Uninstall the lockdown for the service you no longer want to restrict.

import lockdown

lockdown.network.uninstall()
lockdown.os.uninstall()

Testing

python -m unittest discover -s tests

Metadata

Release files for darklock 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 darklock 0.1.0
File Size Uploaded Provenance Actions
darklock-0.1.0.tar.gz 4.5 kB Without provenance Details for darklock-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.8 kB

Release files / darklock-0.1.0.tar.gz

Download URL darklock-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
78e3365676d22d40d6cb9b798754aa894fb1a4f15f9648bf803e94392989832f
BLAKE2b-256 checksum
How to use checksums
9925ed4a44c2a1133026a84e59f889a2c855501e7822a6fd8510d230232b0286
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

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

Download URL darklock-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7838dcdc703bef4dbc74740c18ad77857aada8422c8a74c6bfa98a20fbc7595
BLAKE2b-256 checksum
How to use checksums
e1e1226631ecd4272fad5b3c7a12c092dc9770a90a3705f9559908abead909d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for darklock 0.1.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

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