Fast IP address lookup

Overview

ipscoop

GitHub issues GitHub forks GitHub stars GitHub license PyPI - Python Version

Fast IP Scoop

Table of Contents

Installation

To install ipscoop, simply:

$ python3 -m pip install -U git+https://github.com/anbuhckr/ipscoop.git

or from source:

$ python3 setup.py install

CLI

Download db file for first time:

$ python3 -m ipscoop -data 8.8.8.8

Usage:

$ python3 -m ipscoop -h

Getting Started

#! /usr/bin/env python3

from ipscoop import IpScoop

#load ip
ip_scoop = IpScoop('8.8.8.8')

#all data 
print(f'data: {ip_scoop.data}')

#cidr
print(f'cidr: {ip_scoop.cidr}')

#range
print(f'range: {ip_scoop.range}')

#country
print(f'country: {ip_scoop.country}')

#timezone id 
print(f'timezoneid: {ip_scoop.tzid}')

#geo 
print(f'geo: {ip_scoop.geo}')

Ref

You might also like...
๐Ÿš€ A fast, flexible and lightweight Discord API wrapper for Python.
๐Ÿš€ A fast, flexible and lightweight Discord API wrapper for Python.

Krema A fast, flexible and lightweight Discord API wrapper for Python. Installation Unikorn unikorn add kremayard krema -no-confirmation Pip pip insta

Create Fast and easy image datasets using reddit

Reddit-Image-Scraper Reddit Reddit is an American Social news aggregation, web content rating, and discussion website. Reddit has been devided by topi

Python Library for Secp256k1 Bitcoin curve to do fast ECC calculation

secp256k1 Python Library for Secp256k1 Bitcoin curve to do fast ECC calculation Example Usage import secp256k1 as ice print('[C]',privatekey_to_addres

Beyonic API Python official client library simplified examples using Flask, Django and Fast API.
Beyonic API Python official client library simplified examples using Flask, Django and Fast API.

Beyonic API Python official client library simplified examples using Flask, Django and Fast API.

An Anime Themed Fast And Safe Group Managing Bot.
An Anime Themed Fast And Safe Group Managing Bot.

ฮž L I N ฮ› ๐Ÿ‘ธ A Powerful, Smart And Simple Group Manager bot Avaiilable a latest version as ฮž L I N ฮ› ๐Ÿ‘ธ on Telegram Self-hosting (For Devs) vps # Inst

A fast and expressive Craigslist API wrapper

pycraigslist A fast and expressive Craigslist API wrapper. โš  As of September 2021, it is believed that Craigslist added a rate-limiter. It is advised

RevSpotify is a fast, useful telegram bot to have Spotify music on Telegram.
RevSpotify is a fast, useful telegram bot to have Spotify music on Telegram.

RevSpotify A Telegram Bot that can download music from Spotify RevSpotify is a fast, useful telegram bot to have Spotify music on Telegram. โœจ Features

AWS Lambda Fast API starter application

AWS Lambda Fast API Fast API starter application compatible with API Gateway and Lambda Function. How to deploy it? Terraform AWS Lambda API is a reus

toldium is a modular, fast, reliable and customizable multiplatform bot library for your communities
toldium is a modular, fast, reliable and customizable multiplatform bot library for your communities

toldium The easy multiplatform bot toldium is a modular, fast, reliable and customizable multiplatform bot library for your communities, from a commun

Gathers data and displays metrics related to climate change and resource depletion on a PowerBI report.

Apocalypse Status Dashboard Purpose Climate change and resource depletion are grave long-term dangers. The code in this repository will pull data from

Summer Is Here 1 Nov 12, 2021
PyDottie is a version of Dottie.js written in Python 3.

PyDottie is a version of Dottie.js written in Python 3.

Jose Noriega 2 Nov 21, 2021
ANKIT-OS/TG-SESSION-GENERATOR-BOTbisTG-SESSION-GENERATOR-BOT a special repository. Its Is A Telegram Bot To Generate String Session

ANKIT-OS/TG-SESSION-GENERATOR-BOTbisTG-SESSION-GENERATOR-BOT a special repository. Its Is A Telegram Bot To Generate String Session

ANKIT KUMAR 1 Dec 26, 2021
Bavera is an extensive and extendable Python 3.x library for the Discord API

Bavera is an extensive and extendable Python 3.x library for the Discord API. Bavera boasts the following major features: Expressive, functiona

Bavera 1 Nov 17, 2021
Telegram ่ŠๅคฉๆฉŸๅ™จไบบ๏ผŒ่ฟฝ่นคmomo้™ๅƒนใ€้‡ๆ–ฐไธŠๆžถ

็ฐกไป‹ price-tracker-bot is a telegram bot that can trace the price on momoshop. ๅŠŸ่ƒฝ ้™ๅƒน้€š็Ÿฅ ไธŠๆžถ้€š็Ÿฅ ๆ”ถ่—ๅ•†ๅ“ ๆธ…็ฉบๅทฒๆ”ถ่—ๅ•†ๅ“ ้กฏ็คบ็›ฎๅ‰ๅทฒๆ”ถ่—ๅ•†ๅ“ Demo Bot Telegram bot search @momo_pr

92 Dec 28, 2022
Auto-Rollnumber-sender - Auto Rollnumber sender with python

Auto-Rollnumber-sender The above code fits better on my system but it can vary s

Riya Tripathi 2 Feb 14, 2022
troposphere - Python library to create AWS CloudFormation descriptions

troposphere - Python library to create AWS CloudFormation descriptions

4.8k Jan 06, 2023
Tomli is a Python library for parsing TOML

Tomli A lil' TOML parser Table of Contents generated with mdformat-toc Intro Installation Usage Parse a TOML string Parse a TOML file Handle invalid T

Taneli Hukkinen 315 Jan 04, 2023
Automatically Edits Videos and Uploads to Tiktok with 1 line of code.

TiktokAutoUploader - Open to code contributions Automatically Edits Videos and Uploads to Tiktok with 1 line of code. Setup pip install -r requirement

Michael Peres 199 Dec 27, 2022
Program that automates the bump of the Disboard Bot. Done 100% in Python with PyAutoGUI library

Auto-Discord-Bump Program that automates the bump of the Disboard Bot done 100% in python with PyAutoGUI How to configue You will need 3 things before

Mateus 1 Dec 19, 2021
A simple MTProto-based bot that can download various types of media (>10MB) on a local storage

TG Media Downloader Bot ๐Ÿค– A telegram bot based on Pyrogram that downloads on a local storage the following media files: animation, audio, document, p

Alessio Tudisco 11 Nov 01, 2022
Visualize size of directories, s3 buckets.

Dir Sizer This is a work in progress, right now consider this an Alpha or Proof of Concept level. dir_sizer is a utility to visualize the size of a di

Scott Seligman 13 Dec 08, 2022
Davide Gallitelli 3 Dec 21, 2021
Template to create a telegram bot in python

Template for Telegram Bot Template to create a telegram bot in python. How to Run Set your telegram bot token as environment variable TELEGRAM_BOT_TOK

PyTopia 10 Mar 07, 2022
Freqtrade 3commas wrapper for python

Freqtrade 3commas wrapper The aim of this project is to provide an easy way to integrate freqtrade with 3commas. The main reason someone would want to

Alex Babescu 43 Dec 17, 2022
A simple language translator with python and google translate api

Language translator with python A simple language translator with python and google translate api Install pip and python 3.9. All the required depende

0 Nov 11, 2021
GitHub Activity Generator - A script that helps you instantly generate a beautiful GitHub Contributions Graph for the last year.

GitHub Activity Generator A script that helps you instantly generate a beautiful GitHub Contributions Graph for the last year. Before ๐Ÿ˜ ๐Ÿ˜ถ ๐Ÿ˜’ After ?

1 Dec 30, 2021
An advanced telegram language translator bot

Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License - https://github.com/FayasNoushad/Translator-Bot-V3/blob/main/LICE

Fayas Noushad 19 Dec 24, 2022
Add members to unlimited telegram channels and groups

Program Features ๐Ÿ“Œ Coded with Python version 10. ๐Ÿ“Œ without the need for a proxy. ๐Ÿ“Œ without the need for a Telegram ID. ๐Ÿ“Œ Ability to add infinite p

hack4lx 10 Nov 25, 2022
A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram.

telegram-logger A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram. Requirements Python 3.6

Richard 13 Oct 06, 2022