Metadata-Version: 2.4
Name: roul
Version: 0.1.3
Summary: ROUL Library
Home-page: http://github.com/DoyunShin/roul
Author: DoyunShin
Author-email: op@doyun.me
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# roul

`roul` is a comprehensive collection of various utility tools for Python, including high-performance ASN lookups, IP management, and more.

## Usage

### ASN Lookup

```python
import roul.asn

# Set User-Agent as required by data providers
roul.asn.UA = "YourProject contact@example.com"

# Sync data
roul.asn.update()

# Search
asn = roul.asn.search_asn_as_ip("1.1.1.1")
name = roul.asn.search_asn_name(asn)
print(f"ASN: {asn}, Name: {name}")
```

## License

Apache License 2.0
