Skip to main content

A package to obfuscate text using Unicode Private Use Area characters

Project description

noscrape Wrapper

Overview

Welcome to the official documentation for noscrape! This wrapper simplifies the integration of noscrape into your Python projects. noscrape is a tool designed to prevent web scraping by obfuscating HTML elements using true-type fonts with shuffled unicodes.

Concept

The primary mechanism behind noscrape is the utilization of true-type fonts. noscrape generates a new version with shuffled unicodes, making it impossible to reverse-calculate them. Additionally, glyph-paths inside the font are obfuscated by randomly shifting them slightly.

Platform Implementation

noscrape is implemented using platform-specific binaries optimized for different operating systems and architectures. These binaries include:

  • noscrape_darwin_arm64
  • noscrape_darwin_x86_64
  • noscrape_linux_arm64
  • noscrape_linux_x86_64
  • noscrape_windows_x86_64.exe

These binaries serve as the core engine of noscrape, handling the generation of obfuscated text using true-type fonts with shuffled unicodes.

Wrapper Implementations

Wrapper implementations provided in languages such as PHP, Java, and Node.js facilitate communication with the noscrape binaries. They collect input data, call the appropriate noscrape binary based on the host platform, pass the input data for obfuscation, and return the obfuscated text or other outputs.

Installation

You can install the noscrape wrapper using pip:

pip install noscrape

Usage

from noscrape import noscrape

n = noscrape.Noscrape("example/example.ttf")

text = n.obfuscate("test")

b64_font = n.render()

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

noscrape-1.0.1.tar.gz (11.1 MB view details)

Uploaded Source

Built Distribution

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

noscrape-1.0.1-py3-none-any.whl (11.1 MB view details)

Uploaded Python 3

File details

Details for the file noscrape-1.0.1.tar.gz.

File metadata

  • Download URL: noscrape-1.0.1.tar.gz
  • Upload date:
  • Size: 11.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.6

File hashes

Hashes for noscrape-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3d0d24bcffaf1b19c14c0fbc50f90ea1fc19392e897e4c62300a50bafee37aa5
MD5 d7901169b6533091d8a8bc67c91a7af8
BLAKE2b-256 19627efa6c25ca0061b8fbf20e80490dfa0c331de1c37ba61ea3cbb7dc4993ac

See more details on using hashes here.

File details

Details for the file noscrape-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: noscrape-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.6

File hashes

Hashes for noscrape-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 606fa206c74a68284f707244561cfac35f61ec586e80196713c0f851706fabc0
MD5 e6f8b919abd34dcc64dc4131ce9c0c9e
BLAKE2b-256 1b873d550688fc0c24272007f85ad8d86fd1c58efa02a5e3ad82748375a8b4b1

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