Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

darklock-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

darklock-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file darklock-0.1.0.tar.gz.

File metadata

  • Download URL: darklock-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for darklock-0.1.0.tar.gz
Algorithm Hash digest
SHA256 78e3365676d22d40d6cb9b798754aa894fb1a4f15f9648bf803e94392989832f
MD5 860d80c2246f49098adfffdf7df10358
BLAKE2b-256 9925ed4a44c2a1133026a84e59f889a2c855501e7822a6fd8510d230232b0286

See more details on using hashes here.

File details

Details for the file darklock-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: darklock-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for darklock-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7838dcdc703bef4dbc74740c18ad77857aada8422c8a74c6bfa98a20fbc7595
MD5 5edd57afdf510a853905e02853673942
BLAKE2b-256 e1e1226631ecd4272fad5b3c7a12c092dc9770a90a3705f9559908abead909d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page