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.5.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: darklock-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 8021389b06b0ef19c784d95473473e26502ad27302f57e2083cc0462150df713
MD5 9943d19acbe34def96ba5a94cbfd112a
BLAKE2b-256 e700af94bb0c2fcaf4d963b72b51f5333c84fa4c6e970acde6cddc87b5dc4c10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: darklock-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9f8db416f7572c49629fd03bbfbfca4c66237e2a516ace56139267db803425e6
MD5 ff5395a1c43486e9d6beae3d820d6b41
BLAKE2b-256 2f1ac123e633c7617444213c7bac74b5244b05023999592da002ee8726bca6ab

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