semvec/pypi-packages huggingface dataset:
cookie-pbs-test 0.0.3
testing my cookiecutter 
Requires Python: >=3.11,<4.0

# cookie-pbs-test

[![Release](https://img.shields.io/github/v/release/bsalanie/cookie-pbs-test)](https://img.shields.io/github/v/release/bsalanie/cookie-pbs-test)
[![Build status](https://img.shields.io/github/actions/workflow/status/bsalanie/cookie-pbs-test/main.yml?branch=main)](https://github.com/bsalanie/cookie-pbs-test/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/bsalanie/cookie-pbs-test/branch/main/graph/badge.svg)](https://codecov.io/gh/bsalanie/cookie-pbs-test)
[![Commit activity](https://img.shields.io/github/commit-activity/m/bsalanie/cookie-pbs-test)](https://img.shields.io/github/commit-activity/m/bsalanie/cookie-pbs-test)
[![License](https://img.shields.io/github/license/bsalanie/cookie-pbs-test)](https://img.shields.io/github/license/bsalanie/cookie-pbs-test)

testing my cookiecutter 

- **Github repository**: <https://github.com/bsalanie/cookie-pbs-test/>
- **Documentation** <https://bsalanie.github.io/cookie-pbs-test/>

## Getting started with your project

First, create a repository on GitHub with the same name as this project, and then run the following commands:

``` bash
git init -b main
git add .
git commit -m "init commit"
git remote add origin git@github.com:bsalanie/cookie-pbs-test.git
git push -u origin main
```

Finally, install the environment and the pre-commit hooks with 

```bash
make install
```

You are now ready to start development on your project! The CI/CD
pipeline will be triggered when you open a pull request, merge to main,
or when you create a new release.


## Releasing a new version

<!-- - Create an API Token on [Pypi](https://pypi.org/).
- Add the API Token to your projects secrets with the name `PYPI_TOKEN` by visiting 
[this page](https://github.com/bsalanie/cookie-pbs-test/settings/secrets/actions/new). -->
- Create a [new release](https://github.com/bsalanie/cookie-pbs-test/releases/new) on Github. 
Create a new tag in the form ``*.*.*``.

---

Repository initiated with [fpgmaas/cookiecutter-poetry](https://github.com/fpgmaas/cookiecutter-poetry).
dnslookup-module 1.0.0
A small package for checking the client's dns resulotion for A records
Requires Python: >=3.7

## DNSLookup
The DNSLookup module provides a simple interface for performing DNS lookups in Python. It allows you to easily retrieve the IP addresses associated with a given domain name.

### Installation
To install the DNSLookup module, simply clone the repository and run the following command:
```sh
git clone https://github.com/melihteke/dnslookup-module.git
```
### Usage
Here's an example of how to use the DNSLookup module to perform a DNS lookup:

```sh
pip install dnslookup-module
```


```sh
(.venv) MTeke1@APKM2W42362BA4 dnslookup-module % ipython
Python 3.8.9 (default, Apr 13 2022, 08:48:06) 
Type 'copyright', 'credits' or 'license' for more information
IPython 8.12.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from dnslookup import DNSLookup

In [2]: query = DNSLookup(domain="www.mteke.com")

In [3]: query.get_ip()
Out[3]: ['81.129.175.158']

In [4]: 

```

### API Reference
#### DNSLookup
The DNSLookup class represents a DNS lookup object.

##### Constructor
__init__(self, domain: str) -> None
Creates a new DNSLookup object for performing DNS lookups.

##### Arguments
domain (str): The domain name to look up.

##### Methods
get_ip(self) -> List[str]
Performs a DNS lookup and returns the IP address(es) associated with the domain.

##### Returns
list (str): A list of IP addresses associated with the domain.
Raises
socket.gaierror: If the DNS lookup fails.