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_arm64noscrape_darwin_x86_64noscrape_linux_arm64noscrape_linux_x86_64noscrape_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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file noscrape-1.0.0.tar.gz.
File metadata
- Download URL: noscrape-1.0.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
091732b7af51bc43d40e0e083bd371c48ee9bc2ccd37509b8f5a8025896a9b57
|
|
| MD5 |
bb3b74ca10a4c0f4d18d6aff6632ce4c
|
|
| BLAKE2b-256 |
1a49444f3ce0d2708a19368b6111b9b7d6dd10c8a8ec34499d71851a4d8a0eef
|
File details
Details for the file noscrape-1.0.0-py3-none-any.whl.
File metadata
- Download URL: noscrape-1.0.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f65183aaf156ebc24f4092b4faba034578fa9f9d5a9e99e13dba733defeed0c1
|
|
| MD5 |
29421174fabf6fbdf6167282eadd2cde
|
|
| BLAKE2b-256 |
c7b9da63ee4b9973dadf3c487dab3180b9082472d74671d0602b006f77218673
|