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

Uploaded Source

Built Distribution

darklock-0.1.6-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for darklock-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c0d7ebd52b685dcceb6f75e7ba84bdf9875785476f71235eb96f0e9b53e31f1f
MD5 47eedfe3c8c1269b1ad9fff06c9d66d1
BLAKE2b-256 c58b4311b367fdd929773e5107cc70effdeea64e30ee8183da567a0905c69ae4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for darklock-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 37c0aaeb9deedeb88e63ae0a807bb77e5e11c4b11a170ccad2d74014f260f4f2
MD5 cc2cde855bce90299b188b9278f841aa
BLAKE2b-256 d74e97fae728fc882c7414324bfdf0acd1e4c52bc67c1288f81142cd6df6e8ea

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