# Pfrisk
## What is this? ##
This is the simplest module for quick work with proxy and ips. **The module allows you to work with proxy in just one line of** `code`, **without** the need **to manually getting geolocation, splitting ip:port, or getting ip from domain each time**
## Using
Let's import it first:
First, import everything from the library (use the `from `...` import *` construct).
Examples of all operations:
### proxy
Enabling proxy using the `enable_proxy()` function:
`Pfrisk.enable_proxy()`
Changing proxy settings using the `change_proxy(ip, port)` function:
ip = "127.0.0.1"
port = "8080"
Pfrisk.change_proxy(ip, port)
Disabling proxy using the `disable_proxy()` function:
`Pfrisk.disable_proxy()`
### ip
Getting ip range using the `get_iprange(ip_address, subnet_mask)` function:
ip_address = "173.194.222.100"
subnet_mask = '24'
Pfrisk.get_iprange()
Getting geolocation using the `get_geolocation(ip_address)` function:
ip_address = "173.194.222.100"
Pfrisk.get_geolocation(ip_address)
Getting ip from domain using the `get_ip_from_domain(domain_name)` function:
domain_name = "google.com"
Pfrisk.get_ip_from_domain(domain_name)
### helper
Getting free proxy using the `get_free_proxies()` function:
`Pfrisk.get_free_proxies()`
Getting free proxy using the `split_ip_port(ip_port_str)` function:
`Pfrisk.split_ip_port(ip_port_str)`
## Developer ##
My youtube: [link](http://www.youtube.com/@AkaruiNeko/)
My nickname: akaruineko
Raw data
{
"_id": null,
"home_page": "https://github.com/BrightCat14/Pfrisk",
"name": "pfrisk",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "proxy ips helping",
"author": "akaruineko",
"author_email": "brightcat1950@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/97/4a/bac9e673c6c9ebfe0fb4763966a964747df2b93c435514b53f421a2b17be/pfrisk-0.0.1.tar.gz",
"platform": null,
"description": "# Pfrisk\r\n## What is this? ##\r\nThis is the simplest module for quick work with proxy and ips. **The module allows you to work with proxy in just one line of** `code`, **without** the need **to manually getting geolocation, splitting ip:port, or getting ip from domain each time**\r\n\r\n\r\n## Using\r\nLet's import it first:\r\nFirst, import everything from the library (use the `from `...` import *` construct).\r\n\r\nExamples of all operations:\r\n\r\n### proxy\r\nEnabling proxy using the `enable_proxy()` function:\r\n\r\n`Pfrisk.enable_proxy()`\r\n\r\nChanging proxy settings using the `change_proxy(ip, port)` function:\r\n\r\n\r\n ip = \"127.0.0.1\"\r\n port = \"8080\"\r\n Pfrisk.change_proxy(ip, port)\r\n\r\n\r\nDisabling proxy using the `disable_proxy()` function:\r\n\r\n`Pfrisk.disable_proxy()`\r\n\r\n### ip\r\n\r\nGetting ip range using the `get_iprange(ip_address, subnet_mask)` function:\r\n\r\n ip_address = \"173.194.222.100\"\r\n subnet_mask = '24'\r\n Pfrisk.get_iprange()\r\n\r\nGetting geolocation using the `get_geolocation(ip_address)` function:\r\n\r\n ip_address = \"173.194.222.100\"\r\n Pfrisk.get_geolocation(ip_address)\r\n\r\nGetting ip from domain using the `get_ip_from_domain(domain_name)` function:\r\n\r\n domain_name = \"google.com\"\r\n Pfrisk.get_ip_from_domain(domain_name)\r\n\r\n### helper\r\nGetting free proxy using the `get_free_proxies()` function:\r\n\r\n`Pfrisk.get_free_proxies()`\r\n\r\nGetting free proxy using the `split_ip_port(ip_port_str)` function:\r\n\r\n`Pfrisk.split_ip_port(ip_port_str)`\r\n\r\n## Developer ##\r\nMy youtube: [link](http://www.youtube.com/@AkaruiNeko/) \r\n\r\nMy nickname: akaruineko\r\n",
"bugtrack_url": null,
"license": null,
"summary": "This is the simplest module for quick work with proxy.",
"version": "0.0.1",
"project_urls": {
"GitHub": "https://github.com/BrightCat14/Pfrisk",
"Homepage": "https://github.com/BrightCat14/Pfrisk"
},
"split_keywords": [
"proxy",
"ips",
"helping"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "739cc0c72f89d9b8c10d064ec4073803840970b5f4d1b0f581a91b845c38bcc8",
"md5": "b16433d538b3effca0f019c2dabd0325",
"sha256": "388dff3b3427688adc9251016ddc64f71ecfa9d501b5d3e7e4682d95ea9c1fc2"
},
"downloads": -1,
"filename": "pfrisk-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b16433d538b3effca0f019c2dabd0325",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3710,
"upload_time": "2024-07-13T19:35:13",
"upload_time_iso_8601": "2024-07-13T19:35:13.981589Z",
"url": "https://files.pythonhosted.org/packages/73/9c/c0c72f89d9b8c10d064ec4073803840970b5f4d1b0f581a91b845c38bcc8/pfrisk-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "974abac9e673c6c9ebfe0fb4763966a964747df2b93c435514b53f421a2b17be",
"md5": "b9310ee40c44592b94912ea48f58a00a",
"sha256": "7d80371b741e33e671c6b0879d134e1490f2cb87a00318a7846ee54c2d91cf22"
},
"downloads": -1,
"filename": "pfrisk-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "b9310ee40c44592b94912ea48f58a00a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3213,
"upload_time": "2024-07-13T19:35:15",
"upload_time_iso_8601": "2024-07-13T19:35:15.669104Z",
"url": "https://files.pythonhosted.org/packages/97/4a/bac9e673c6c9ebfe0fb4763966a964747df2b93c435514b53f421a2b17be/pfrisk-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-13 19:35:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "BrightCat14",
"github_project": "Pfrisk",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pfrisk"
}