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

Uploaded Source

Built Distribution

darklock-0.1.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: darklock-0.1.1.tar.gz
  • Upload date:
  • Size: 16.9 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.1.tar.gz
Algorithm Hash digest
SHA256 8e04622b86cb1510c63f75cea1aeb6dc19bc980ecbce24fa73520b2779550312
MD5 5b265ca75baabf7e606fccc175ceabaf
BLAKE2b-256 0eb70a111350d962d504a9d31911742dae9cf007ea65a0d6743a15fe058b7086

See more details on using hashes here.

File details

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

File metadata

  • Download URL: darklock-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c6042ba3fd0aa9a5c1171391cc01cd87f91bf6341ecc5fbf74c9508271f6264
MD5 2bd3edaa9a6ff1dbe45384ed4a656da4
BLAKE2b-256 74d157691c30da4d76be315936f9bf77b748cb88e4ace58a3abd4528bce7b85a

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