Saravanan666/pypi-org huggingface dataset:
Package: iptables-exporter
Iptables exporterA Prometheus exporter that collects traffic data from iptables rules.Installationpip install iptables-exporterUsageTest run:iptables-exporter --dump-dataRun iptables-exporter:iptables-exporter --port 9119Point your browser tohttp://localhost:9119/metricsDockerdocker run --net=host --cap-add=NET_ADMIN madron/iptables-exporterConfigure iptablesOptionally you can monitor specific rules by adding a comment starting withiptables-exporter:iptables -A INPUT --dport ssh -j ACCEPT -m comment --comment "iptables-exporter ssh traffic"collects packets and bytes counter:iptables_packets{ip_version="4",table="filter",chain="input",rule="ssh traffic"} 347.0
iptables_bytes{ip_version="4",table="filter",chain="input",rule="ssh traffic"} 44512.0More rules with same name:iptables -A INPUT -s 10.0.0.0/8     --dport ssh -j ACCEPT -m comment --comment "iptables-exporter ssh traffic"
iptables -A INPUT -s 172.16.0.0/12  --dport ssh -j ACCEPT -m comment --comment "iptables-exporter ssh traffic"
iptables -A INPUT -s 192.168.0.0/16 --dport ssh -j ACCEPT -m comment --comment "iptables-exporter ssh traffic"exports total packets and bytes for the 3 rules as they have same ip_version, table, chain and name.
Package: iptables-xt-recent-parser
iptables_xt_recent_parserUsed for converting jiffies from iptables xt_recent into timestamps.An example of xt_recent log can be like this, where only 2 syn connections in 20 seconds are allowed:export IPT=iptables
export SSH_PORT=22
export HITCOUNT=3 # 2 syn connection (<3)
export SECONDS=20 # in 20 seconds are allowed


# --rcheck: Check if the source address of the packet is  currently  in  the list.
# --update: Like  --rcheck,  except it will update the "last seen" timestamp if it matches.

$IPT -A INPUT -p tcp -m tcp --dport $SSH_PORT -m state --state NEW -m recent --set --name sshguys --rsource
$IPT -A INPUT -p tcp -m tcp --dport $SSH_PORT -m state  --state NEW  -m recent --rcheck --seconds $SECONDS --hitcount $HITCOUNT --rttl --name sshguys --rsource -j LOG --log-prefix "BLOCKED SSH (brute force)" --log-level 4 -m limit --limit 1/minute --limit-burst 5
$IPT -A INPUT -p tcp -m tcp --dport $SSH_PORT -m recent --rcheck --seconds $SECONDS --hitcount $HITCOUNT --rttl --name sshguys --rsource -j REJECT --reject-with tcp-reset
$IPT -A INPUT -p tcp -m tcp --dport $SSH_PORT -m recent --update --seconds $SECONDS --hitcount $HITCOUNT --rttl --name sshguys --rsource -j REJECT --reject-with tcp-reset
$IPT -A INPUT -p tcp -m tcp --dport $SSH_PORT -m state --state NEW,ESTABLISHED  -j ACCEPTIn syslog we can see blocked connections :Mar 26 14:06:41 cloudone-cla kernel: [5339977.637052] BLOCKED SSH (brute force)IN=eth0 OUT= MAC=00:50:56:92:00:04:00:14:c2:61:09:be:08:00 SRC=95.142.177.153 DST=160.97.104.18 LEN=60 TOS=0x00 PREC=0x00 TTL=50 ID=42489 DF PROTO=TCP SPT=44636 DPT=22 WINDOW=29200 RES=0x00 SYN URGP=0UsageXT_RECENT python parser
<giuseppe.demarco@unical.it>

usage: ipt_recents [-h] [-f F] [-txt] [-csv]

optional arguments:
  -h, --help  show this help message and exit
  -f F        custom xt_recent path, default if omitted is:
              /proc/net/xt_recent/DEFAULT
  -txt        print it in human readable format
  -csv        print it in CSV formatOutputStandard readable view:
190.102.72.44, last seen: 2017-03-26 13:31:55 after 1 connections
187.112.185.153, last seen: 2017-03-26 13:28:07 after 2 connections
95.142.177.153, last seen: 2017-03-26 13:27:31 after 12 connections

CSV view:
ip_src;last_seen;connections;deltas_mean;delta_seconds
190.102.72.44;2017-03-26 13:31:55.462201;1;0;
187.112.185.153;2017-03-26 13:28:07.168819;2;0.0;0
95.142.177.153;2017-03-26 13:27:31.976049;12;1.7272727272727273;1,1,1,1,1,1,2,3,3,1,4In CSV format there are time delta mean and time delta in seconds, for every attempts.RequirementsPython3
Package: iptdump
AboutThis package allows you to describes firewall rules and dump it out, there is support for
iptables and ip6tables.Example Usage>>> import iptdump
>>> ipt = iptdump.Iptables()
>>> chain = ipt.table(iptdump.TABLE_FILTER).chain(iptdump.CHAIN_INPUT)
>>> chain.new().src('192.168.23.0/24').target(iptdump.TARGET_DROP)
<iptdump.Rule instance at 0x7f922dfb8cb0>
>>> print ipt.dump()
# Generated by python-iptdump v1b1 on Mon Dec  3 18:25:27 2012
*filter
:INPUT ACCEPT [0:0]
-A INPUT -s 192.168.23.0/24 -j DROP
COMMIT
# Completed on Mon Dec  3 18:25:27 2012
>>> ipt = iptdump.Ip6tables()
>>> chain = ipt.table(iptdump.TABLE_FILTER).chain(iptdump.CHAIN_INPUT)
>>> chain.new().src('fe80::/64').target(iptdump.TARGET_DROP)
<iptdump.Rule instance at 0x7f7ed18a1b48>
>>> print ipt.dump()
# Generated by python-iptdump v1b1 on Mon Dec  3 18:25:32 2012
*filter
:INPUT ACCEPT [0:0]
-A INPUT -s fe80::/64 -j DROP
COMMIT
# Completed on Mon Dec  3 18:25:32 2012
Package: ipTiger
ipTigeripTiger is an python package for find ip address details such as country name, city name, latitude and longitude etchow to installpip install ipTigerexample1from ipTiger import find_ip_details,detect_ip_address

find_ip_details()
>>>your ip address:  195.181.162.180
{'status': 'success', 'continent': 'North America', 'continentCode': 'NA', 'country': 'United States', 'countryCode': 'US', 'region': 'FL', 'regionName': 'Florida', 'city': 'Miami', 'district': '', 'zip': '33197', 'lat': 25.7689, 'lon': -80.1946, 'timezone': 'America/New_York', 'isp': 'Datacamp Limited', 'org': '', 'as': 'AS60068 Datacamp Limited', 'asname': 'CDN77', 'reverse': 'unn-195-181-162-180.cdn77.com', 'mobile': False, 'proxy': True, 'hosting': True, 'query': '195.181.162.180'}

detect_ip_address()
>>>your ip address:  195.181.162.180find_ip_detailsfind_ip_details() function give you details of your ip address such as country name, city name, latitude and longitude etc.detect_ip_addressdetect_ip_address() function will find your ip adrress only.example2here is an example if you want to find any specific details for ip addressfrom ipTiger import detect_ip_address,find_ip_details 

data = find_ip_details() 
print("country name: ", data["country"])
Package: iptocc
IPToCCGet ISO country code of IPv4/IPv6 address. Address lookup is done locally.LicenseVersionTravis CICoverageAppVeyorSupported versionsWheelImplementationStatusDownloadsShow your supportFeaturesNo external API callNo paid GeoIP serviceThread-safeOfflineTo learn about using IP addresses for geolocation, read theWikipedia articleto gain a basic understanding.InstallpipinstallIPToCCUsagefromiptoccimportget_country_codecountry_code=get_country_code('<IPv4/IPv6 address>')Databasesftp://ftp.afrinic.net/stats/afrinic/delegated-afrinic-extended-latestftp://ftp.arin.net/pub/stats/arin/delegated-arin-extended-latestftp://ftp.apnic.net/public/apnic/stats/apnic/delegated-apnic-extended-latestftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-extended-latestftp://ftp.ripe.net/pub/stats/ripencc/delegated-ripencc-extended-latestDependenciespandasipaddressbackports.functools_lru_cache import lru_cacheReferencesRIR Statistics Exchange FormatHow can I compile an IP address to country lookup database to make available for free?ISO 3166 Country CodesMaintainersRonie Martinez
Package: iptoolsjj
I have written my own python ip/subnet tool.
It works in both python 2 and 3.
It does not have dependencies except standard ‘re’ module.Use theese methods to conver ip mask formats and to check if ip/subnet belong to other subnet.
I made it partly for fun and to learn, so perhaps these are not the best, but they get the job done.
Checking if ip belongs to subnet is even a bit faster, than with tools from netaddr module.Methods provided:
- is_in_subnet : check if ip belongs to subnet
- is_in_range : check if ip belongs to ip range
- verify : check if ip or ip/netmask are valid
- get_subnet_ip : get subnet ip for some ip/mask
- mask255_to_dec : convert ip mask format
- dec_to_mask255 : convert ip mask format
- is_mask : check if ip mask is realInstalation:pip install iptoolsjjImport:import iptoolsjjExamples:Check if 192.168.10.10 is inside 192.168.10.0/22:print(iptoolsjj.is_in_subnet(‘192.168.10.10’, ‘192.168.10.0/22’))Check if 192.168.51.1 is between 192.168.50.100 and 192.168.60.50:print(iptoolsjj.is_in_range(‘192.168.50.100’,’192.168.60.50’,’192.168.51.1’))Verify if ip or ip with mask is valid:print(iptoolsjj.verify(‘192.168.1.22’))
print(iptoolsjj.verify(‘192.168.1.22/25’,’ip/mask’))
print(iptoolsjj.verify(‘192.168.1.22/255.255.255.128’,’ip/mask255’))Get subnet ip for given ip address:print(iptoolsjj.get_subnet_ip(‘191.123.1.36/27’))Convert mask ‘255.255.255.240’ to ‘28’:print(iptoolsjj.mask255_to_dec(‘255.255.255.240’))Convert mask ‘28’ to ‘[‘255’, ‘255’, ‘255’, ‘240’]’ (by default it’s list format):print(iptoolsjj.dec_to_mask255(28))orprint(iptoolsjj.dec_to_mask255(28,output=’string’))Check if mask is real mask in format xxx.xxx.xxx.xxx:print(is_mask(“255.255.255.0”))
Package: iptt
InterPlanetary Tunnel ToolkitProvides tools to communicate with existing network protocols over
IPFS tunnels (libp2p streams).iphttp: Command-line iphttp client (supports SSL)iphttpd: iphttp server (can serveaiohttpapps or just forward to an
existing HTTP service)pipinstall-UipttCheckout the documentationhere.iphttpiphttpis the command-line client. To make a simple GET request,
pass the PeerId with the HTTP path. Use–ssl(or-s) to use
SSL encryption:iphttpQmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/doc.txtiphttp-sQmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/doc.txtUse–maddrto pass the RPC APImultiaddrof yourkubonode (the
default multiaddr is/ip4/127.0.0.1/tcp/5001) :iphttp--maddr/dns4/localhost/tcp/5010\QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/summary.htmlInteractive mode: just pass a PeerId and all requests in the CLI
session will be based on that peer.iphttp-iQmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXcThe following commands are supported in interactive mode:get(path: str, q={}, h={}): HTTP GET request on pathpathwith queryqand HTTP headersh(dict)post(path: str, q={}, data={}, h={}): HTTP POST request on path with post datadata, HTTP queryq(dict) and HTTP headersh(dict)get('/')get('/',q={'arg1':4})get('/',h={'X-Important-Header':'some-value'})post('/form',q={'arg1':2},data={'message':'Form field data'})post('/form',data={'message':'Form field data'})iphttpdiphttpdallows you to register an IPFS P2P service for an
already running HTTP server, and can also serve an HTTP application
from a Python module (onlyaiohttpapps are supported right now).Example 1Servehttp://localhost:7000for the P2P protocol/x/ipfs-http/80/1.0iphttpd-llocalhost:80:7080Example 2Servehttp://localhost:8080for the P2P protocol/x/ipfs-http/8000/1.0iphttpd-llocalhost:8000:8080Example 3Serve an aiohttp application from Python moduleiphttpd_apps.helloworld:iphttpd--serve-aiohttpiphttpd_apps.helloworldYour module should implement the coroutinecreate_app(args)and return
anaiohttp.web.Applicationinstance that will be used to run the service
(see thehelloworldservice).Example 4Serve an application with SSL on port 8200:iphttpd-s--serve-aiohttpiphttpd_apps.helloworld--certiphttpd.io.pem--keyiphttpd.io-key.pem-llocalhost:443:8200Projects using ipttgalacteekLicenseGod bless HTTP, and God bless IPFSlicense.
Package: iptvname
IPTVgithub를 explore하는 도중 재미있는 url을 발견해서 만들어봤습니다.https://github.com/iptv-org/iptvCollection of publicly available IPTV channels from all over the worldJSON format으로 데이터를 제공해줍니다.전세계에 있는 지역과 채널의 카테고리를 기준으로 채널 이름을 검색할 수 있게 해줍니다.RequirementsPython 3.6+Installationpip install iptvname==0.0.2나라별 코드 정보채널별 카테고리 이름 정보
Package: iptvtools
IPTVToolsScripts currently provided:iptv-filterMerge from different resources.Check the tcp/udp connectivity.Filter by custom criteria, e.g. resolution.Match with templates and EPG.Format the url with UDPxy if provided.Unify channels' titles.Features planned on the road:Scan certain ip and port range to find new channels.Establish a lightweight database for routine maintenance.Besides, all scripts should be lightweight and able to keep running regularly after proper configuration.Last but not least, any ideas, comments and suggestions are welcome!PrerequisitesTo filter by stream information, e.g., resolution/height,ffmpeg(orffprobemore precisely) is needed, please install according to thedocumentation.Installationpipinstall-UiptvtoolsUsagePlease refer to thedocumentationwhile some useful information inwiki.
Package: ipush
ipush向 APP、微信平台推送通知。
支持往Telegram、钉钉群、飞书群、Lark 群、Bark、Chanify、PushDeer、PushPlus、Showdoc、息知、Alertzy、Notify推送消息。使用说明安装依赖pipinstall-Uipush创建notify对象，并发送消息fromipushimportDingtalknotify=Dingtalk("token","secret")notify.send("iPush test")支持平台状态国内平台官网备注✔荐钉钉群机器人https://open.dingtalk.com/✔荐飞书群机器人https://open.feishu.cn/✔荐Lark 群机器人https://open.larksuite.com/✔荐Barkhttps://day.app/2021/06/barkfaq/仅支持iOS✔Chanifyhttps://www.chanify.net/仅支持iOS✔PushDeerhttps://www.pushdeer.com/✔荐企业微信群机器人https://developer.work.weixin.qq.com////基于微信公众号\\✔PushPlushttps://www.pushplus.plus/✔Showdochttps://push.showdoc.com.cn/✔息知https://xz.qqoq.net/✔聚合云推https://tui.juhe.cn/聚合推送。支持邮箱、微信公众号、钉钉机器人、WebHook、企业微信、Bark状态国外平台官网备注✔荐Telegramhttps://core.telegram.org/bots/创建Bot后，将 Bot 添加至群组或频道，再添加获取 ChatId 的机器人进群组(可移除)，即可获得ChatId✔Alertzyhttps://alertzy.app/✔Notifyhttps://notify.dev/安装手机 APP，复制设备 ID（Settings -> Device ID），输入到Playground，获取二维码，再使用手机 APP 扫描开发1. 前置开发环境使用Rye作为包管理工具2. 开发流程安装依赖包：# 同步ryesync代码检测与格式化：# 检测ryeruncheck# 格式化ryerunformat单元测试：# rye testryeruntests# pytestpython-mpytest# 打印测试报告python-mpytest-s仓库镜像https://git.jetsung.com/idev/pypushhttps://framagit.org/idev/pypushhttps://github.com/idevsig/pypush
Package: iputil
iputilProvide some useful util functions and a tool (ip2region) for ip processing.Installpip3installiputilPython usageimportiputil# Get Region by IPiputil.get_region("60.30.1.1")# return string '中国|0|天津|天津|联通'Although region data in this program will update with the@ip2regionrepo, or your can specify your own data source:importiputil# Set Region sourceiputil.set_region_source(data_file="ip2region.db")# Get Region by IPiputil.get_region("60.30.1.1")# return string '中国|0|天津|天津|联通'ToolsAn independent tool namedip2regionwill be install in your path.Typingip2regionwill start a prompt:$ip2region
ip>192.168.0.1[192.168.0.1]0|0|0|内网IP|内网IP

ip>60.30.1.1[60.30.1.1]中国|0|天津|天津|联通

ip>120.100.0.1[120.100.0.1]中国|0|台湾|台北|0ip>8.8.8.8[8.8.8.8]美国|0|0|0|谷歌

ip>$ip2region-h
usage:ip2region[-h][-ipIP]IPtoRegion

optionalarguments:-h,--helpshowthishelpmessageandexit-ipIP,--ipIPSearchspecifyIPReflinkThanks to@ip2region.
Package: iputils
iputilsiputils is the wrapper of ipaddress.py, easy for use.Installpip install iputilsUsagefromiputilsimportIPUtilsprint(IPUtils.is_valid("1988.0.0.1/22"))print(IPUtils.is_ipv4("199.201.90.100/22"))print(IPUtils.is_ipv6("2001::1/64"))print(IPUtils.is_network("2001::/64"))print(IPUtils.get_network_addr("199.201.90.100/22"))print(IPUtils.with_prefix("199.201.90.100/255.255.252.0"))andmore...seetheapidocsKeywords: IPv4,IPv6
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Package: ipuz
ipuzPython library for reading and writing ipuz puzzle files. The specification
for the ipuz file format can be found at:http://www.ipuz.org/. The ipuz file
format supports representing various types of puzzles, including crossword,
sudoku and word search. This Python library provides validation and wrapping
around the puzzle data.As the puzzle is inherently JSON data it is the application’s responsibility
to ensure that the JSON satisfies the constraints of the PuzzleKind prior to
writing the puzzle. This library provides validation and additional
functionality that you might want to use.The library supports Python 3.6, 3.7, 3.8 and 3.9.ipuz is a trademark of Puzzazz, Inc., used with permission.DocumentationDocumentation can be found athttp://ipuz.readthedocs.org/en/latest/.
Package: ipv4ac
IPv4ACInternet Protocol Version 4 Address Check is a simple module provides a function to check if an IPv4 address has correct format.InstallingInstall the module bypip(checkhow to use pip):$ python3 -m pip install ipv4acA simple example# Import the function from the modulefromipv4acimportipv4_address_check# Set an IPv4 addressip_address='192.168.100.1'# Use the function to check the addresscheck_result=ipv4_address_check(ip_address)
Package: ipv4helper
IPv4HelperHandle and manipulate IPv4 CIDRs in a simple fashion, including generating CIDR ranges and viewing general subnet information.Installationpip install ipv4helperUsageProvide an IPv4 address, and optionally the CIDR it resides in (otherwise "/32" will be appended to the given IP).from ipv4helper import IPv4Helper
i = IPv4Helper("127.144.4.9/28")
print(i.subnet_summary)
for x in i.ip_range_generator():
	print(x)

# snipped output
# ...
# 127.144.4.9/28
# CIDR                    28
# Mask                    255.255.255.240
# Binary Mask             11110000
# Range                   127.144.4.0 - 127.144.4.15
# Blocksize               16
# Subnet Addresses        16
# Usable Addresses        14
# ACL Wildcard            0.0.0.15
# Octet Incremented       4
# Octet Masked            1
# ...
# 127.144.4.0
# 127.144.4.1
# 127.144.4.2
# 127.144.4.3
# 127.144.4.4
# ...Available Attributesblocksize
cidr
given_ip
given_cidr
given_ip_first_octet
given_ip_second_octet
given_ip_third_octet
given_ip_fourth_octet
iparg
mask
mask_binary
octet # position to be incremented
mask_octet # position to be masked
subnets # dictionary of general subnet information
subnet_summary
subnet_addresses
usable_addresses
subnet_info # dictionary
subnet_json # json
subnet_min_ip
subnet_max_ip
subnet_max_octet
subnet_min_octet
wildcardAvailable Generator Functionsoctet_generator()
ip_range_generator()Integration with IPv4MutateGitHubPyPifrom ipv4helper import IPv4Helper
from ipv4mutate import IPv4Mutate
i = IPv4Helper("127.144.4.9/28")
for x in i.ip_range_generator():
	z = IPv4Mutate(x)
	print(z.mutate_hex)

# snipped output
# ...
# 0x7f.0x90.0x4.0x0
# 0x7f.0x90.0x4.0x1
# 0x7f.0x90.0x4.0x2
# 0x7f.0x90.0x4.0x3
# ...Important Notes"/0" is not supported in this version, but it will be "soon"TODObetter internal naming convention/0 supportintegrate with IPv4Mutate and IPv6Helper
Package: ipv4mutate
IPv4Mutateperforms various mutations on IPv4 addresses, such as converting to binary, hex, octal, urlencoded, and moreInstallationpip install ipv4mutateUsagefrom ipv4mutate import IPv4Mutate
i = IPv4Mutate("127.0.5.7")
print(i.mutate_hex)Available Attributesmutate_binary
mutate_dotted_hex
mutate_hex
mutate_octal
mutate_octal_padded
mutate_zero_padded
mutate_zero_stripped
mutate_urlencoded
mutate_decimalExample Output (viatest-ipv4mutate-usage-example.py)IP: 127.0.5.7
        mutate_binary            01111111.00000000.00000101.00000111
        mutate_dotted_hex        0x7f.0x0.0x5.0x7
        mutate_hex               0x7f000507
        mutate_octal             0177.00.05.07
        mutate_octal_padded      0000000000000000000177.000000000000000000000.00000005.00000000007
        mutate_zero_padded       127.000.005.007
        mutate_zero_stripped     127.5.7
        mutate_urlencoded        %31%32%37%2e%30%2e%35%2e%37
        mutate_decimal           2130707719Integration with IPv4HelperGitHubPyPifrom ipv4helper import IPv4Helper
from ipv4mutate import IPv4Mutate
i = IPv4Helper("127.144.4.9/28")
for x in i.ip_range_generator():
	z = IPv4Mutate(x)
	print(z.mutate_hex)

# snipped output
# ...
# 0x7f.0x90.0x4.0x0
# 0x7f.0x90.0x4.0x1
# 0x7f.0x90.0x4.0x2
# 0x7f.0x90.0x4.0x3
# ...
Package: ipv4ToLocation.py
ipv4ToLocation.py--------You can use this model to find ipAddress' LocationSupport better for chinese ipAddressSource:```pythonimport ipv4ToLocationprint(ipv4ToLocation.findIP("192.168.199.1"))print(ipv4ToLocation.findIP("114.114.114.114"))```Output:{'area': '对方和您在同一内部网', 'country': '局域网'}{'area': '信风网络科技有限公司公众DNS服务器', 'country': '江苏省南京市'}
Package: ipv64
How to installThe libary is avilable atpypi.orgpip install ipv64orpython -m pip install ipv64How to updatepip install ipv64 --upgradeorpython -m pip install ipv64 --upgradeHow to runINFOThe Script didNOTrun in a loop, you need to run it manually.
The Script isNOTable to handle praefix - only the main domain can be updatedWindowsUpdate A and AAAA record if possiblepython -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPELinuxUpdate A and AAAA record if possible/usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPErun with croncheck every minute with cron* * * * * /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -uh ACCOUNT_UPDATE_TOKEN -d DISCORD_WEBHOOKcheck every 30 seconds with cron* * * * * /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE
* * * * * sleep 30; /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPEHelpusage:ipv64.py[-h]-dDOMAIN-kKEY-tTYPEUpdatetheIPforadomainonipv64.netoptions:-h,--helpshowthishelpmessageandexit-dDOMAIN,--domainDOMAINThedomaintoupdate(e.g.test.ipv64.net)-kKEY,--keyKEYYouripv64AccountUpdateToken-tTYPE,--typeTYPETheUpdateType(AorAAAA)```
Package: ipwebcam
This is a simple script that helps in accessing the image from the Android App
IPWebcam and to be able to display it in pygameRequirementsopencv 2numpypygameUsageimportsysimportpygamefromIPWebCamimport*pygame.init()clock=pygame.time.Clock()screen=pygame.display.set_mode((176,144))ipcam=IPWEBCAM('192.168.1.103:8080')# thats the server address shown on the IP webcam, don't add 'http://' the class adds itrun=Truewhilerun:foreventinpygame.event.get():ifevent.type==pygame.QUIT:run=Falsepygame.quit()sys.exit()screen.blit(ipcam.get_pygame_image(),(0,0))pygame.display.flip()clock.tick(0)FeaturesCamera SwapOverlay controlFlash light controlSet qualitySet orientationSet resolutionZoom
Package: ipwg
Ian's Password Generatoripwg is a password generator that can produce
passwords of any length and with required types
of characters.A commandline tool is also available for all your
commandline task needs.Quick StartpipinstallipwgFor commandline use, you are all set. just run:# 10 is the number of characters.ipwg10# See all the optionsipwg-hFor use in your own code:fromipwgimportGenerator# You can customize your charsets globallyGenerator.specials='!@#$'generator=Generator(enable_all=True)generator.specials_count=1# generate a 10 character long password with# at least 1 of !@#$pwd=generator.create_password(10)
Package: ipwhere
ipwhereIP geo location command line tool (relies on 3rd-party to provide actual
location).Unlike with previous versionsipwheredoes not require an API key starting
on version 2.0.2.No API key requiredipwhereuseshttps://ip-api.comfor resolving locations.  They provide a free
service that does not require an API key and grants up to 45 requests per minute
from a given IP address.Query FrequencyIf possible, use local caching as well.  This will help you extend the number of
requests per minute fromipwhere.ipwhere makes a single query per call.  Future versions may implement local
caching to/tmpor similar.