Skip to content

Commit c5becb1

Browse files
authored
Release 0.1.0-alpha.1 (#5)
Features: * Updated Version Tag * Made some changes to README.md * Removed benchmarks for now ( will put them back once the project matures a bit )
1 parent f298b90 commit c5becb1

14 files changed

+150
-1333
lines changed

README.md

Lines changed: 140 additions & 262 deletions
Large diffs are not rendered by default.

benchmarks/benchmark_requests.py

Lines changed: 0 additions & 914 deletions
This file was deleted.
-36 KB
Binary file not shown.
-111 KB
Binary file not shown.
-175 KB
Binary file not shown.
-37.4 KB
Binary file not shown.
-35.6 KB
Binary file not shown.

benchmarks/results_requests_macos.md

Lines changed: 0 additions & 140 deletions
This file was deleted.

pyproject.toml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "httpmorph"
7-
version = "0.1.0"
8-
description = "Morph into any browser - High-performance HTTP client with dynamic fingerprinting using C, io_uring, and BoringSSL"
7+
version = "0.1.0-alpha.1"
8+
description = "A Python HTTP client focused on mimicking browser fingerprints."
99
readme = "README.md"
1010
requires-python = ">=3.8"
1111
license = {text = "MIT"}
1212
authors = [
13-
{name = "Arman", email = "arman@bytetunnels.com"}
13+
{name = "Arman Hossain", email = "arman@bytetunnels.com"}
1414
]
1515
keywords = ["http", "https", "client", "performance", "anti-fingerprint", "tls", "ja3", "http2"]
1616
classifiers = [
@@ -45,13 +45,6 @@ dev = [
4545
"mypy>=1.0",
4646
"ruff>=0.7.0",
4747
]
48-
benchmark = [
49-
"requests>=2.31.0",
50-
"httpx>=0.25.0",
51-
"aiohttp>=3.9.0",
52-
"pycurl>=7.45.0",
53-
"matplotlib>=3.7.0",
54-
]
5548
build = [
5649
"setuptools>=68.0",
5750
"wheel",

src/bindings/_httpmorph.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ cdef class Client:
225225

226226
# Add default headers that will be added by C code if not present
227227
if 'User-Agent' not in request_headers:
228-
request_headers['User-Agent'] = 'httpmorph/0.1.0'
228+
request_headers['User-Agent'] = 'httpmorph/0.1.0-alpha.1'
229229
if 'Accept' not in request_headers:
230230
request_headers['Accept'] = '*/*'
231231
if 'Connection' not in request_headers:
@@ -464,7 +464,7 @@ cdef class Session:
464464
'safari': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15',
465465
'edge': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0',
466466
}
467-
default_ua = browser_user_agents.get(self._browser, 'httpmorph/0.1.0')
467+
default_ua = browser_user_agents.get(self._browser, 'httpmorph/0.1.0-alpha.1')
468468

469469
# Add browser-specific User-Agent header if not already set
470470
has_user_agent = False

0 commit comments

Comments
 (0)