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("example/example.ttf")

text = n.obfuscate("test")

b64_font = n.render()

Putting it together

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.4.tar.gz (13.5 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.4-py3-none-any.whl (13.5 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for noscrape-1.0.4.tar.gz
Algorithm Hash digest
SHA256 cf41270f1d0aa01e30d25db4d466d55a43579616b597fd7d72e5769db860bd6d
MD5 b97f874e8545abbf4cec9de9c99b4bd5
BLAKE2b-256 966478728941b243cc448d4accaae9bb656a33c0e49e54569448f873a697c85d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for noscrape-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 09afb79896031b8f7380eeff332b17e947dc02b45586e28307bbabb270560779
MD5 0335af84b68c598d9d56460433ac3175
BLAKE2b-256 f0392acb865ccfb22ba683ddf52559c48f7572cf7734da6d27ba7fa0484b54ac

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