Skip to main content

No project description provided

Project description

Darklock

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


img.png

Upload Python Package


Installation

pip install darklock

Usage

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

Install the darklock for the service you want to restrict.

import darklock

darklock.network.install()
darklock.os.install()

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

import darklock

darklock.network.uninstall()
darklock.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.4.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

darklock-0.1.4-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: darklock-0.1.4.tar.gz
  • Upload date:
  • Size: 17.2 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.4.tar.gz
Algorithm Hash digest
SHA256 23c42abe1334c26112eef0a4be80bc8a0ce42067b49c9605b2b759eab58a9688
MD5 725add9ed27cd9e00ed3ba863b205f4d
BLAKE2b-256 d745265678254bb01a2e853c345e5c2f619e42ba498547e8843440c12a8fa8d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: darklock-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 17.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2d0954d428b54844cbeed2a7f790dddf7c85bb306e65ef108ef03a7fb36ac85c
MD5 7cb3f5a00f23934c4a06f4c4383f5405
BLAKE2b-256 06344a8b3d39ecebf6662ad34cb2ef26286f8ca3c68c5016319c4da974a5c9e3

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