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

Uploaded Source

Built Distribution

darklock-0.1.3-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: darklock-0.1.3.tar.gz
  • Upload date:
  • Size: 16.8 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.3.tar.gz
Algorithm Hash digest
SHA256 428eb80e55928c10f884452f71c0db6863cf75df68a170ced9f4b86cc3d54fe0
MD5 c2a9fee9838cc4934cd8db3faa63af68
BLAKE2b-256 bdf999c64f74229e7f2bd2a2206c5179d0c761e3f321d0399342c07a7782a65c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: darklock-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 17.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3739b6f99d4af6a9ef1cab7106a0c983e59b8daf2f96f8228b1565a3de73d51e
MD5 4f8535b31ee0a2ab4f546ce5d04611a2
BLAKE2b-256 dbf69193f131e5d4ec9ff9bc0730ce9cfb6653c91f231875d636887a664944ae

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