{"id":34072990,"url":"https://github.com/abbas-bachari/proxa","last_synced_at":"2025-12-30T16:27:18.588Z","repository":{"id":309644107,"uuid":"1037020924","full_name":"abbas-bachari/Proxa","owner":"abbas-bachari","description":"A simple yet powerful Python library for managing and validating proxies.","archived":false,"fork":false,"pushed_at":"2025-08-29T10:20:45.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-29T03:27:21.586Z","etag":null,"topics":["proxy","proxy-checker","proxy-manager","proxy-scraper","proxy-telegram"],"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/abbas-bachari.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,"zenodo":null}},"created_at":"2025-08-13T00:17:08.000Z","updated_at":"2025-08-29T10:20:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"d5529d2b-d040-448a-b20b-436f052486cf","html_url":"https://github.com/abbas-bachari/Proxa","commit_stats":null,"previous_names":["abbas-bachari/proxa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abbas-bachari/Proxa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbas-bachari%2FProxa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbas-bachari%2FProxa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbas-bachari%2FProxa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbas-bachari%2FProxa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abbas-bachari","download_url":"https://codeload.github.com/abbas-bachari/Proxa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbas-bachari%2FProxa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27723277,"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-12-14T02:00:11.348Z","response_time":56,"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":["proxy","proxy-checker","proxy-manager","proxy-scraper","proxy-telegram"],"created_at":"2025-12-14T08:32:19.551Z","updated_at":"2025-12-14T08:32:20.168Z","avatar_url":"https://github.com/abbas-bachari.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003eProxa\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003eA simple yet powerful Python library for managing and validating proxies.\u003ch2\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/abbas-bachari/proxa\"\u003e\u003cimg src=\"https://img.shields.io/badge/Python%20-3.8+-green?style=plastic\u0026logo=Python\" alt=\"Python\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/proxa/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/proxa?style=plastic\" alt=\"PyPI - Version\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/proxa/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/l/proxa?style=plastic\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://pepy.tech/project/proxa\"\u003e\u003cimg src=\"https://pepy.tech/badge/proxa?style=flat-plastic\" alt=\"Downloads\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 🛠️ Version 1.0.1\n\n### 📌 Features\n\n- ✅ Easy proxy parsing from strings, dictionaries, or files\n- 🔄 Automatic proxy rotation\n- 🔀 Shuffle proxy list randomly\n- 🧪 Built-in proxy checking with multiple IP lookup services\n- 📦 Ready-to-use formats for `requests`, `Telethon`, and more\n- ⚡ Lightweight and dependency-minimal\n\n## 📥 Installation\n\n```bash\npip install proxa\n```\n\n---\n\n## 🚀 Quick Start\n\n```python\nfrom proxa import ProxyManager\n\n# Initialize with a list of proxies\nmanager = ProxyManager([\n    \"http://user:pass@127.0.0.1:8080\",\n    \"socks5://10.10.1.0:3128\"\n])\n\n# Get the current proxy\nproxy=manager.current\n\nprint(proxy.url)\n\n# Rotate to the next proxy\nproxy=manager.next()\nprint(proxy.url)\n\n# Shuffle proxies to randomize order\nmanager.shuffle()\nprint(\"Proxies shuffled.\")\n\n\n# Check if proxy works and get IP info\nstatus, ip_info, error = proxy.check()\n\nif status:\n    print(\"Proxy is working. IP info:\", ip_info)\nelse:\n    print(\"Proxy check failed. Error:\", error)\n\n\n\n\n\n# Check if a proxy works\nworking_proxy = manager.get_working_proxy()\nif working_proxy:\n    print(\"Working proxy:\", working_proxy.url)\n    \n```\n\n## 🛠 Usage Examples\n\n### From a File\n\n```python\nmanager = ProxyManager(\"proxies.txt\")\n```\n\n### Add \u0026 Remove Proxies\n\n```python\nmanager.add(\"http://new-proxy.com:8080\")\nmanager.remove(\"http://user:pass@127.0.0.1:8080\")\n```\n\n---\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\n## 🌟 Contribute\n\nContributions are welcome!\n\n1. Fork the repo  \n2. Create your feature branch  \n3. Submit a pull request\n\n---\n\nMade with ❤️ by [Abbas Bachari](https://github.com/abbas-bachari)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabbas-bachari%2Fproxa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabbas-bachari%2Fproxa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabbas-bachari%2Fproxa/lists"}