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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: darklock-0.1.2.tar.gz
  • Upload date:
  • Size: 17.1 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.2.tar.gz
Algorithm Hash digest
SHA256 4d500ed9879abc43a95aac39ca96daea3e06a749592ea21513672b8d2db8613a
MD5 4c49a3dc22217d15eba0d8208fd33a8b
BLAKE2b-256 467d7f53c2f5cb8df019e9b4648f30478b775e218ae5a6ff71805ab5a3d20323

See more details on using hashes here.

File details

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

File metadata

  • Download URL: darklock-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d5a215febf685dae18b45b437b71a7f21f0a1d457010ef14e704dcad6da92bf
MD5 d2a8ac4bb23ed5a08f505cb0f1d23781
BLAKE2b-256 db61a57682268d4fe200510b87ff09a9c69536c4a9390243fd74a7eb5564e549

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