{"id":23122492,"url":"https://github.com/deedy5/primp","last_synced_at":"2026-04-03T08:05:14.542Z","repository":{"id":232980606,"uuid":"785626775","full_name":"deedy5/primp","owner":"deedy5","description":"🪞PRIMP (Python Requests IMPersonate). The fastest python HTTP client that can impersonate web browsers","archived":false,"fork":false,"pushed_at":"2025-04-17T11:40:25.000Z","size":2512,"stargazers_count":324,"open_issues_count":13,"forks_count":37,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-30T19:52:10.297Z","etag":null,"topics":["akamai","fingerprint","http","http-client","https","impersonate","ja3","ja4","python","requests","tls","tls-client","web-scraping"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deedy5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-12T09:21:16.000Z","updated_at":"2025-06-29T15:26:35.000Z","dependencies_parsed_at":"2024-04-16T11:54:28.925Z","dependency_job_id":"0d5483fa-a193-48f9-9907-11745c95076a","html_url":"https://github.com/deedy5/primp","commit_stats":null,"previous_names":["deedy5/pyreqwest-impersonate","deedy5/pyreqwest_impersonate","deedy5/primp"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/deedy5/primp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deedy5%2Fprimp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deedy5%2Fprimp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deedy5%2Fprimp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deedy5%2Fprimp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deedy5","download_url":"https://codeload.github.com/deedy5/primp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deedy5%2Fprimp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270796223,"owners_count":24647320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["akamai","fingerprint","http","http-client","https","impersonate","ja3","ja4","python","requests","tls","tls-client","web-scraping"],"created_at":"2024-12-17T07:27:45.056Z","updated_at":"2026-04-03T08:05:14.533Z","avatar_url":"https://github.com/deedy5.png","language":"Python","readme":"# 🪞 PRIMP 🦀🐍\n\n\u003e HTTP client that can impersonate web browsers\n\n## Quick Start\n\n### 🦀 Rust → [/crates/primp](./crates/primp)\n\n```toml\n[dependencies]\nprimp = { git = \"https://github.com/deedy5/primp\" }\n```\n\n```rust\nuse primp::{Client, Impersonate};\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), primp::Error\u003e {\n    let client = Client::builder()\n        .impersonate(Impersonate::ChromeV146)\n        .build()?;\n    \n    let resp = client.get(\"https://tls.peet.ws/api/all\").send().await?;\n    println!(\"Body: {}\", resp.text().await?);\n    \n    Ok(())\n}\n```\n\n### 🐍 Python → [/crates/primp-python](./crates/primp-python)\n\n```bash\npip install primp\n```\n\n```python\nimport primp\n\nclient = primp.Client(impersonate=\"chrome_146\")\nresp = client.get(\"https://tls.peet.ws/api/all\")\nprint(resp.text)\n```\n\n## Browser profiles\n\n| Browser | Profiles |\n|:--------|:---------|\n| Chrome | `chrome_144`, `chrome_145`, `chrome_146`, `chrome` |\n| Safari | `safari_18.5`, `safari_26`, `safari_26.3`, `safari` |\n| Edge | `edge_144`, `edge_145`, `edge_146`, `edge` |\n| Firefox | `firefox_140`, `firefox_146`, `firefox_147`, `firefox_148`, `firefox` |\n| Opera | `opera_126`, `opera_127`, `opera_128`, `opera_129`, `opera` |\n| Random | `random` |\n\n**OS:** `android`, `ios`, `linux`, `macos`, `windows`, `random`\n\n## Fingerprint Comparison\n\nTarget: `https://tls.browserleaks.com/json` | Reference: Chrome 146 / Linux\n\n```json\n{\n  \"user_agent\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36\",\n  \"ja4\": \"t13d1516h2_8daaf6152771_d8a2da3f94cd\",\n  \"ja4_r\": \"t13d1516h2_002f,0035,009c,009d,1301,1302,1303,c013,c014,c02b,c02c,c02f,c030,cca8,cca9_0005,000a,000b,000d,0012,0017,001b,0023,002b,002d,0033,44cd,fe0d,ff01_0403,0804,0401,0503,0805,0501,0806,0601\",\n  \"ja4_o\": \"t13d1516h2_acb858a92679_a4c42e1680d9\",\n  \"ja4_ro\": \"t13d1516h2_1301,1302,1303,c02b,c02f,c02c,c030,cca9,cca8,c013,c014,009c,009d,002f,0035_fe0d,002b,0012,44cd,000a,ff01,0033,0005,0023,0000,000d,0010,000b,001b,0017,002d_0403,0804,0401,0503,0805,0501,0806,0601\",\n  \"akamai_hash\": \"52d84b11737d980aef856699f885ca86\",\n  \"akamai_text\": \"1:65536;2:0;4:6291456;6:262144|15663105|0|m,a,s,p\"\n}\n```\n\n| Fingerprint | Primp | curl-cffi (Chrome 142)* |\n|:---|:---:|:---:|\n| **user_agent** | ✅ | ❌ |\n| **ja4** | ✅ | ✅ |\n| **ja4_r** | ✅ | ✅ |\n| **ja4_o** | ✅ | ❌ |\n| **ja4_ro** | ✅ | ❌ |\n| **akamai_hash** | ✅ | ✅ |\n| **akamai_text** | ✅ | ✅ |\n| **Total** | **7/7** | **4/7** |\n\n\u003e \\* curl-cffi maxes at `chrome142` (macOS). No OS parameter — OS is baked into each profile. Primp supports independent OS selection via `impersonate_os`.\n\n____\n### Disclaimer\n\nThis tool is for educational purposes only. Use it at your own risk.\n","funding_links":[],"categories":["Fingerprinting Evasion"],"sub_categories":["Index"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeedy5%2Fprimp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeedy5%2Fprimp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeedy5%2Fprimp/lists"}