Skip to main content

Check e-book files for security and privacy issues.

Project description

Screener

Check e-book files for security and privacy issues.

Screener is currently in early development. Please consider contributing if you have the time and know-how!

Motivation

E-books are great, but the common file formats have security and privacy issues. Most use web browser technologies like HTML, CSS, and JavaScript. Therefore, e-books are vulnerable to security and privacy issues that already exist on the web.

Screener aims to check e-book files for these issues so that you can read with peace of mind!

Features

  • Check e-book files for JavaScript tags.
  • Check e-book files for images with external sources to prevent tracking.
  • Supports .epub, .mobi, and .azw3 files.

Get started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Screener requires Python (version 3.10 is recommended), pip, and Poetry to be installed.

Installing

Copy the files in this repository and navigate to the repository directory. You can run the project with poetry run.

poetry run python -m screener

You can also run tests.

poetry run pytest

With coverage metrics:

poetry run coverage run -m pytest

Type-checking:

poetry run mypy screener/

This is the recommended way to install Screener for development and testing.

Alternative installation

If you would rather not use poetry run, you can use poetry export to create a requirements.txt file and install the packages directly using pip.

poetry export -f requirements.txt --output requirements.txt
pip install -r requirements.txt

You can then use Python as normal.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

At present, this project is in early development and needs extra security and privacy checks and wider file format support more than anything else.

Please make sure to update tests as appropriate.

Versioning

This project uses SemVer for versioning.

Authors

Screener was created by Tom Kuson (@tjkuson).

Licence

Screener is released under the LGPL version 3.

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

screener-0.2.2.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

screener-0.2.2-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file screener-0.2.2.tar.gz.

File metadata

  • Download URL: screener-0.2.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.3 Linux/6.2.15-300.fc38.x86_64

File hashes

Hashes for screener-0.2.2.tar.gz
Algorithm Hash digest
SHA256 434e4c1c7ac7afcb97b0dd63697aadda7d49443874e7308c73d4489b84da41c8
MD5 43f4f43bdd66288c0162f86e9cf9474e
BLAKE2b-256 e353d5bdfc5eacde9d70e7dbef4f37d86b741c55924fe4a5e2fa33e783ca7520

See more details on using hashes here.

File details

Details for the file screener-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: screener-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.3 Linux/6.2.15-300.fc38.x86_64

File hashes

Hashes for screener-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e86c07d3ab4dada58d9d5b36d5363104defc20166c114444db30137c46fbfb1
MD5 025a2d575a564d892683c0134e8b202f
BLAKE2b-256 d0d99c546ab34f1a775dd563490573604170b247d7222e6bc1c3b4035c3510b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page