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.2.tar.gz (2.1 kB 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.2-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for noscrape-1.0.2.tar.gz
Algorithm Hash digest
SHA256 63bd9fea69e7f8fd5664525f3c553adfd8297062412e1bb070b09e1718b4652e
MD5 1bea19dbd6e8d0c4846032756a7d5188
BLAKE2b-256 4c8dce5d7362752cd3a1419d6f3d25331a94cc8a443b6e62de108fa4fe19c4f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: noscrape-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 de7f90a8ef6b3c901bf9c3e497e8dbebca5dfb44b764af14f26e412a3b3268de
MD5 e7300bb91b4467616dad44b1f960c3db
BLAKE2b-256 a855c339ac8d016361911cdb52cfe53d95c11627a0dd16adb754b294ca1821cc

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