{"id":26063708,"url":"https://github.com/mavrick-1/iyp_lib","last_synced_at":"2026-04-18T22:05:27.999Z","repository":{"id":214257776,"uuid":"736076767","full_name":"MAVRICK-1/IYP_Lib","owner":"MAVRICK-1","description":"demo IYP Lib","archived":false,"fork":false,"pushed_at":"2024-01-03T19:30:31.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T13:33:12.097Z","etag":null,"topics":[],"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/MAVRICK-1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-26T23:29:01.000Z","updated_at":"2024-08-11T01:10:44.000Z","dependencies_parsed_at":"2024-01-03T20:29:53.267Z","dependency_job_id":null,"html_url":"https://github.com/MAVRICK-1/IYP_Lib","commit_stats":null,"previous_names":["mavrick-1/iyp_lib"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAVRICK-1%2FIYP_Lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAVRICK-1%2FIYP_Lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAVRICK-1%2FIYP_Lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAVRICK-1%2FIYP_Lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MAVRICK-1","download_url":"https://codeload.github.com/MAVRICK-1/IYP_Lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242581179,"owners_count":20153028,"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","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":[],"created_at":"2025-03-08T17:18:28.841Z","updated_at":"2026-04-18T22:05:27.951Z","avatar_url":"https://github.com/MAVRICK-1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IYP (Internet Yellow Pages) Python Library\n\n## Overview\n\nThe IYP Python library is a lightweight query tool designed to simplify interactions with Neo4j DBMS. By encapsulating common query operations and providing a user-friendly interface, the library streamlines the process of retrieving and analyzing data from Neo4j databases.\n\n## Features\n\n### 1. Simplified Querying\n- Execute Cypher queries with minimal code and configuration.\n- Retrieve and Returns Pandas DataFrame Object . which can use for\n    - Data Exploring\n    - Data Selection and Indexing\n    -  Data Manipulation\n    -  Data Cleaning\n    -  Data Visualization\n    -  Data Transformation\n    -  Time Series Analysis\n    -  Advance Operation\n    -  Integration with Other Libraries\n-  Fetch nodes, relationships, and properties effortlessly.\n\n### 2. Flexible Output Options\n- Retrieve query results in both JSON .\n- Integrate seamlessly with other Python data manipulation libraries.\n\n### 3. User-friendly Interface\n- Designed for ease of use and rapid development.\n- Includes comprehensive documentation and examples for quick onboarding.\n\n### From source files\nGet the latest source files:\n```\ngit clone git@github.com:MAVRICK-1/IYP_Lib.git\n\n```\n\n## Installation\n\n#### Run the following commands in your terminal\n```cmd\ncd IYP_Lib\n\n```\n### To install the required packages\n```cmd\npip install -r requirements.txt\n\n\n```\n\n\n## To build it locally , Here's how you can create it\n\n### The wheel package is a build-package format for python\n\n```cmd\npip install wheel\n````\n### To create a wheel distribution using setup.py file\n```cmd\npython setup.py bdist_wheel\n```\n\n### Names for ASn\nFind 'Name' nodes directly connected to the node corresponding to any given ASn(Autonomous System Number).\n```python\nfrom IYP import AS #importing Library\n\nasnData=AS.asn(2497) #Taking the example of AS2497\nasnjson=asnData.json()#accuring the Json data\nprint(asnjson) #printing its value\nprint(\"Tabular Form :\")\nprint(asnData.table()) #printing the data into tabular form\nasnData.close() #Close the connection to the Neo4j database.\n```\n\u003ch3\u003e Output \u003c/h3\u003e\n\n```cmd\n[\n    {\n        \"a\": {\n            \"asn\": 2497\n        },\n        \"n\": {\n            \"name\": \"IIJ Internet Initiative Japan Inc.\"\n        }\n    },\n    {\n        \"a\": {\n            \"asn\": 2497\n        },\n        \"n\": {\n            \"name\": \"IIJ\"\n        }\n    },\n    {\n        \"a\": {\n            \"asn\": 2497\n        },\n        \"n\": {\n            \"name\": \"Internet Initiative Japan\"\n        }\n    },\n    {\n        \"a\": {\n            \"asn\": 2497\n        },\n        \"n\": {\n            \"name\": \"Internet Initiative Japan Inc.\"\n        }\n    },\n    {\n        \"a\": {\n            \"asn\": 2497\n        },\n        \"n\": {\n            \"name\": \"IIJ\"\n        }\n    },\n    {\n        \"a\": {\n            \"asn\": 2497\n        },\n        \"n\": {\n            \"name\": \"IIJ\"\n        }\n    }\n]\n\nTable Format:\n\n   Autonomus System Number                                name\n0                     2497  IIJ Internet Initiative Japan Inc.\n1                     2497                                 IIJ\n2                     2497           Internet Initiative Japan\n3                     2497      Internet Initiative Japan Inc.\n```\n\u003cbr\u003e\n\n### Country code of AS2497 in delegated files\nHere we search for a country node directly connected to AS2497's node and that\ncomes from NRO's delegated stats.\n```python\nfrom IYP import AS\ncountryCode=AS.as_country_code(2497) #Taking the example of AS2497\ncountryCodeJson=countryCode.json()#accuring the Json data\nprint(countryCodeJson) #printing its value\ncountryCode.table() #roughly printing the data into tabular form\ncountryCode.close() #Close the connection to the Neo4j database.\n```\n\u003ch3\u003eOutput\u003c/h3\u003e\n\n```cmd\n[\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"cc\": {\n            \"country_code\": \"JP\",\n            \"name\": \"Japan\",\n            \"alpha3\": \"JPN\"\n        }\n    }\n]\n\nTable Format:\n\n   Autonomus System Number Country Code   Name Alpha3\n0                     2497           JP  Japan    JPN\n\n```\n\n\u003cbr\u003e\n\n### Top domain names hosted by AS2497\nSelect domain names in top 50k rankings that resolves to an IP originated by\nAS2497.\n```python\nfrom IYP import AS\nasnDom=AS.top_dom_asn(2497) #Taking the example of AS2497\nasnDomJson=asnDom.json()#accuring the Json data\nprint(asnDomJson) #printing its value\nasnDom.table() #roughly printing the data into tabular form\nasnDom.close() #Close the connection to the Neo4j database.\n```\n\u003ch3\u003eOutput\u003c/h3\u003e\n\n```cmd\n[\n    {\n        \"dn\": {\n            \"name\": \"crea-tv.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.221.140.170\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.221.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"ndl.go.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"133.159.67.120\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"133.159.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"konami.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"210.149.81.150\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"210.149.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"yugioh-card.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"210.149.81.150\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"210.149.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"konami.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"210.149.81.150\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"210.149.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"yugioh-card.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"210.149.81.150\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"210.149.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"pia.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.214.74.78\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.214.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"pia.co.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.214.74.78\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.214.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"deqwas.net\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.214.162.7\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.214.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"deqwas.net\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.214.162.7\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.214.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"gamecity.ne.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.214.51.232\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.214.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"iij.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"203.180.140.77\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"203.180.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"iij.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"203.180.140.77\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"203.180.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"tetrabit.net\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"203.180.251.7\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"203.180.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"hi-ho.ne.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"58.138.168.104\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"58.138.128.0/18\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"hi-ho.ne.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"58.138.168.104\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"58.138.128.0/18\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"timescar.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"58.138.176.23\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"58.138.128.0/18\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"timescar.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"58.138.176.23\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"58.138.128.0/18\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"madamlive.tv\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.32.201.193\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.32.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"goo-net.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"163.49.4.15\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"163.49.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"goo-net.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"163.49.4.15\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"163.49.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"goobike.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"163.49.4.56\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"163.49.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"pinzuba.news\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"163.49.35.165\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"163.49.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"gendai.media\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"163.49.35.159\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"163.49.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"chugoku-np.co.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"163.49.35.121\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"163.49.0.0/16\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"tower.jp\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.238.233.84\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.238.192.0/18\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"tdk.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.238.239.243\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.238.192.0/18\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"tdk.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.238.239.243\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.238.192.0/18\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"hankyu-travel.com\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.238.233.175\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.238.192.0/18\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"webike.net\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.238.231.218\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.238.192.0/18\"\n        },\n        \"iij\": {\n            \"asn\": 2497\n        }\n    },\n    {\n        \"dn\": {\n            \"name\": \"webike.net\"\n        },\n        \"ip\": {\n            \"af\": 4,\n            \"ip\": \"202.238.231.218\"\n        },\n        \"pfx\": {\n            \"af\": 4,\n            \"prefix\": \"202.238.192.0/18\"\n\nTable Format:\n           Domain Name  AF               IP            Prefix  Autonomus System Number\n0           crea-tv.jp   4  202.221.140.170    202.221.0.0/16                     2497\n1            ndl.go.jp   4   133.159.67.120    133.159.0.0/16                     2497\n2           konami.com   4   210.149.81.150    210.149.0.0/16                     2497\n3      yugioh-card.com   4   210.149.81.150    210.149.0.0/16                     2497\n6               pia.jp   4    202.214.74.78    202.214.0.0/16                     2497\n7            pia.co.jp   4    202.214.74.78    202.214.0.0/16                     2497\n8           deqwas.net   4    202.214.162.7    202.214.0.0/16                     2497\n10      gamecity.ne.jp   4   202.214.51.232    202.214.0.0/16                     2497\n11              iij.jp   4   203.180.140.77    203.180.0.0/16                     2497\n13        tetrabit.net   4    203.180.251.7    203.180.0.0/16                     2497\n14         hi-ho.ne.jp   4   58.138.168.104   58.138.128.0/18                     2497\n16         timescar.jp   4    58.138.176.23   58.138.128.0/18                     2497\n18        madamlive.tv   4   202.32.201.193     202.32.0.0/16                     2497\n19         goo-net.com   4      163.49.4.15     163.49.0.0/16                     2497\n21         goobike.com   4      163.49.4.56     163.49.0.0/16                     2497\n22        pinzuba.news   4    163.49.35.165     163.49.0.0/16                     2497\n23        gendai.media   4    163.49.35.159     163.49.0.0/16                     2497\n24    chugoku-np.co.jp   4    163.49.35.121     163.49.0.0/16                     2497\n25            tower.jp   4   202.238.233.84  202.238.192.0/18                     2497\n26             tdk.com   4  202.238.239.243  202.238.192.0/18                     2497\n28   hankyu-travel.com   4  202.238.233.175  202.238.192.0/18                     2497\n29          webike.net   4  202.238.231.218  202.238.192.0/18                     2497\n31            tower.jp   4   202.238.233.87  202.238.192.0/18                     2497\n32   hankyu-travel.com   4  202.238.233.174  202.238.192.0/18                     2497\n33        athome.co.jp   4   220.156.137.21  220.156.128.0/19                     2497\n34           jprime.jp   4   202.238.151.94  202.238.128.0/18                     2497\n35      forzastyle.com   4   202.238.151.45  202.238.128.0/18                     2497\n36      toyokeizai.net   4   202.238.151.52  202.238.128.0/18                     2497\n38     gentosha-go.com   4  202.238.151.111  202.238.128.0/18                     2497\n39  okinawatimes.co.jp   4  202.238.151.129  202.238.128.0/18                     2497\n40          bunshun.jp   4  202.238.151.148  202.238.128.0/18                     2497\n41           afpbb.com   4   202.238.151.70  202.238.128.0/18                     2497\n42          limo.media   4   202.238.151.83  202.238.128.0/18                     2497\n43        president.jp   4   202.238.151.28  202.238.128.0/18                     2497\n44       mi-mollet.com   4   202.238.151.96  202.238.128.0/18                     2497\n45   skyperfectv.co.jp   4   210.148.90.150    210.148.0.0/16                     2497\n46        1024tera.com   4    210.148.85.59    210.148.0.0/16                     2497\n48         terabox.com   4    210.148.85.50    210.148.0.0/16                     2497\n52          diamond.jp   4  210.148.177.240    210.148.0.0/16                     2497\n54         4funbox.com   4     210.148.85.9    210.148.0.0/16                     2497\n55      teraboxapp.com   4    210.148.85.41    210.148.0.0/16                     2497\n57        nephobox.com   4    210.148.85.13    210.148.0.0/16                     2497\n59     tttturbonet.com   4    210.148.85.53    210.148.0.0/16                     2497\n61          ismedia.jp   4  210.148.177.150    210.148.0.0/16                     2497\n62         terabox.app   4    210.148.85.14    210.148.0.0/16                     2497\n64         kenwood.com   4   150.31.252.150     150.31.0.0/16                     2497\n66          tamiya.com   4     150.31.244.4     150.31.0.0/16                     2497\n67        2ndstreet.jp   4    150.31.179.81     150.31.0.0/16                     2497\n68             jvc.com   4   150.31.252.139     150.31.0.0/16                     2497\n69       japanet.co.jp   4   202.232.74.201    202.232.0.0/16                     2497\n70        family.co.jp   4    202.232.114.4    202.232.0.0/16                     2497\n71           iij.ad.jp   4    202.232.2.191    202.232.0.0/16                     2497\n73            suumo.jp   4      160.17.3.13     160.17.0.0/16                     2497\n75            zexy.net   4     160.17.1.144     160.17.0.0/16                     2497\n76       carsensor.net   4      160.17.8.24     160.17.0.0/16                     2497\n77        townwork.net   4       160.17.2.8     160.17.0.0/16                     2497\n78           jalan.net   4      160.17.5.13     160.17.0.0/16                     2497\n80        hotpepper.jp   4    160.17.98.198     160.17.0.0/16                     2497\n\n```\n\n\u003cbr\u003e\n\n### Countries of IXPs where AS2497 is present\nStarting from the node corresponding to AS2497, find IXPs where AS2497 is member\nof, and then the country corresponding to each IXP.\n\n```python\nfrom IYP import AS\nasnDom=AS.ixps_for_as(2497) #Taking the example of AS2497\nasnDomJson=asnDom.json()#accuring the Json data\nprint(asnDomJson) #printing its value\nasnDom.table() #roughly printing the data into tabular form\nasnDom.close() #Close the connection to the Neo4j database.\n```\n\u003ch3\u003eOutput\u003c/h3\u003e\n\n```cmd\n[\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"JPNAP Tokyo\"\n        },\n        \"cc\": {\n            \"country_code\": \"JP\",\n            \"name\": \"Japan\",\n            \"alpha3\": \"JPN\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"SIX Seattle\"\n        },\n        \"cc\": {\n            \"country_code\": \"US\",\n            \"name\": \"United States of America\",\n            \"alpha3\": \"USA\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"Equinix San Jose\"\n        },\n        \"cc\": {\n            \"country_code\": \"US\",\n            \"name\": \"United States of America\",\n            \"alpha3\": \"USA\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"Equinix Ashburn\"\n        },\n        \"cc\": {\n            \"country_code\": \"US\",\n            \"name\": \"United States of America\",\n            \"alpha3\": \"USA\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"Equinix Hong Kong\"\n        },\n        \"cc\": {\n            \"country_code\": \"HK\",\n            \"name\": \"Hong Kong\",\n            \"alpha3\": \"HKG\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"Equinix New York\"\n        },\n        \"cc\": {\n            \"country_code\": \"US\",\n            \"name\": \"United States of America\",\n            \"alpha3\": \"USA\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"HKIX\"\n        },\n        \"cc\": {\n            \"country_code\": \"HK\",\n            \"name\": \"Hong Kong\",\n            \"alpha3\": \"HKG\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"Equinix Singapore\"\n        },\n        \"cc\": {\n            \"country_code\": \"SG\",\n            \"name\": \"Singapore\",\n            \"alpha3\": \"SGP\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"DE-CIX Frankfurt\"\n        },\n        \"cc\": {\n            \"country_code\": \"DE\",\n            \"name\": \"Germany\",\n            \"alpha3\": \"DEU\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"SGIX\"\n        },\n        \"cc\": {\n            \"country_code\": \"SG\",\n            \"name\": \"Singapore\",\n            \"alpha3\": \"SGP\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"LINX LON1\"\n        },\n        \"cc\": {\n            \"country_code\": \"GB\",\n            \"name\": \"United Kingdom of Great Britain and Northern Ireland\",\n            \"alpha3\": \"GBR\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"Equinix Palo Alto\"\n        },\n        \"cc\": {\n            \"country_code\": \"US\",\n            \"name\": \"United States of America\",\n            \"alpha3\": \"USA\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"DIX-IE\"\n        },\n        \"cc\": {\n            \"country_code\": \"JP\",\n            \"name\": \"Japan\",\n            \"alpha3\": \"JPN\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"Equinix Los Angeles\"\n        },\n        \"cc\": {\n            \"country_code\": \"US\",\n            \"name\": \"United States of America\",\n            \"alpha3\": \"USA\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"NYIIX New York\"\n        },\n        \"cc\": {\n            \"country_code\": \"US\",\n            \"name\": \"United States of America\",\n            \"alpha3\": \"USA\"\n        }\n    },\n    {\n        \"iij\": {\n            \"asn\": 2497\n        },\n        \"ix\": {\n            \"name\": \"JPNAP Osaka\"\n        },\n        \"cc\": {\n            \"country_code\": \"JP\",\n            \"name\": \"Japan\",\n            \"alpha3\": \"JPN\"\n        }\n    }\n]\nTable Format:\n\n     ASn    Internet Exchange  Country Code                                       Country Name\n0   2497          JPNAP Tokyo            JP                                              Japan\n1   2497          SIX Seattle            US                           United States of America\n2   2497     Equinix San Jose            US                           United States of America\n3   2497      Equinix Ashburn            US                           United States of America\n4   2497    Equinix Hong Kong            HK                                          Hong Kong\n5   2497     Equinix New York            US                           United States of America\n6   2497                 HKIX            HK                                          Hong Kong\n7   2497    Equinix Singapore            SG                                          Singapore\n8   2497     DE-CIX Frankfurt            DE                                            Germany\n9   2497                 SGIX            SG                                          Singapore\n10  2497            LINX LON1            GB  United Kingdom of Great Britain and Northern I...\n11  2497    Equinix Palo Alto            US                           United States of America\n12  2497               DIX-IE            JP                                              Japan\n13  2497  Equinix Los Angeles            US                           United States of America\n14  2497       NYIIX New York            US                           United States of America\n15  2497          JPNAP Osaka            JP                                              Japan\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavrick-1%2Fiyp_lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmavrick-1%2Fiyp_lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavrick-1%2Fiyp_lib/lists"}