aiodiscover


Nameaiodiscover JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/bdraco/aiodiscover
SummaryDiscover hosts by arp and ptr lookup
upload_time2024-03-13 22:50:57
maintainer
docs_urlNone
authorJ. Nick Koston
requires_python>=3.7
licenseApache Software License 2.0
keywords aiodiscover
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Async Host discovery

[![Build Status](https://github.com/bdraco/aiodiscover/workflows/Build%20Main/badge.svg)](https://github.com/bdraco/aiodiscover/actions)
[![Documentation](https://github.com/bdraco/aiodiscover/workflows/Documentation/badge.svg)](https://bdraco.github.io/aiodiscover/)
[![Code Coverage](https://codecov.io/gh/bdraco/aiodiscover/branch/main/graph/badge.svg)](https://codecov.io/gh/bdraco/aiodiscover)

Discover hosts by arp and ptr lookup

---

## Features

-   Discover hosts on the network via ARP and PTR lookup

## Quick Start

```python
import asyncio
import pprint
from aiodiscover import DiscoverHosts

discover_hosts = DiscoverHosts()
hosts = asyncio.run(discover_hosts.async_discover())
pprint.pprint(hosts)
```

## Installation

**Stable Release:** `pip install aiodiscover`<br>
**Development Head:** `pip install git+https://github.com/bdraco/aiodiscover.git`

## Documentation

For full package documentation please visit [bdraco.github.io/aiodiscover](https://bdraco.github.io/aiodiscover).

## Development

See [CONTRIBUTING.md](CONTRIBUTING.md) for information related to developing the code.

## The Four Commands You Need To Know

1. `pip install -e .[dev]`

    This will install your package in editable mode with all the required development
    dependencies (i.e. `tox`).

2. `make build`

    This will run `tox` which will run all your tests in both Python 3.7
    and Python 3.8 as well as linting your code.

3. `make clean`

    This will clean up various Python and build generated files so that you can ensure
    that you are working in a clean environment.

4. `make docs`

    This will generate and launch a web browser to view the most up-to-date
    documentation for your Python package.

#### Additional Optional Setup Steps:

-   Turn your project into a GitHub repository:
    -   Make an account on [github.com](https://github.com)
    -   Go to [make a new repository](https://github.com/new)
    -   _Recommendations:_
        -   _It is strongly recommended to make the repository name the same as the Python
            package name_
        -   _A lot of the following optional steps are *free* if the repository is Public,
            plus open source is cool_
    -   After a GitHub repo has been created, run the commands listed under:
        "...or push an existing repository from the command line"
-   Register your project with Codecov:
    -   Make an account on [codecov.io](https://codecov.io)(Recommended to sign in with GitHub)
        everything else will be handled for you.
-   Ensure that you have set GitHub pages to build the `gh-pages` branch by selecting the
    `gh-pages` branch in the dropdown in the "GitHub Pages" section of the repository settings.
    ([Repo Settings](https://github.com/bdraco/aiodiscover/settings))
-   Register your project with PyPI:
    -   Make an account on [pypi.org](https://pypi.org)
    -   Go to your GitHub repository's settings and under the
        [Secrets tab](https://github.com/bdraco/aiodiscover/settings/secrets/actions),
        add a secret called `PYPI_TOKEN` with your password for your PyPI account.
        Don't worry, no one will see this password because it will be encrypted.
    -   Next time you push to the branch `main` after using `bump2version`, GitHub
        actions will build and deploy your Python package to PyPI.

#### Suggested Git Branch Strategy

1. `main` is for the most up-to-date development, very rarely should you directly
   commit to this branch. GitHub Actions will run on every push and on a CRON to this
   branch but still recommended to commit to your development branches and make pull
   requests to main. If you push a tagged commit with bumpversion, this will also release to PyPI.
2. Your day-to-day work should exist on branches separate from `main`. Even if it is
   just yourself working on the repository, make a PR from your working branch to `main`
   so that you can ensure your commits don't break the development head. GitHub Actions
   will run on every push to any branch or any pull request from any branch to any other
   branch.
3. It is recommended to use "Squash and Merge" commits when committing PR's. It makes
   each set of changes to `main` atomic and as a side effect naturally encourages small
   well defined PR's.


**Apache Software License 2.0**




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/bdraco/aiodiscover",
    "name": "aiodiscover",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "aiodiscover",
    "author": "J. Nick Koston",
    "author_email": "nick@koston.org",
    "download_url": "https://files.pythonhosted.org/packages/f6/77/fdfdac2f363c83633d6af3d94dc11ca401d723576634cf06f2ea7e3274d5/aiodiscover-2.0.0.tar.gz",
    "platform": null,
    "description": "# Async Host discovery\n\n[![Build Status](https://github.com/bdraco/aiodiscover/workflows/Build%20Main/badge.svg)](https://github.com/bdraco/aiodiscover/actions)\n[![Documentation](https://github.com/bdraco/aiodiscover/workflows/Documentation/badge.svg)](https://bdraco.github.io/aiodiscover/)\n[![Code Coverage](https://codecov.io/gh/bdraco/aiodiscover/branch/main/graph/badge.svg)](https://codecov.io/gh/bdraco/aiodiscover)\n\nDiscover hosts by arp and ptr lookup\n\n---\n\n## Features\n\n-   Discover hosts on the network via ARP and PTR lookup\n\n## Quick Start\n\n```python\nimport asyncio\nimport pprint\nfrom aiodiscover import DiscoverHosts\n\ndiscover_hosts = DiscoverHosts()\nhosts = asyncio.run(discover_hosts.async_discover())\npprint.pprint(hosts)\n```\n\n## Installation\n\n**Stable Release:** `pip install aiodiscover`<br>\n**Development Head:** `pip install git+https://github.com/bdraco/aiodiscover.git`\n\n## Documentation\n\nFor full package documentation please visit [bdraco.github.io/aiodiscover](https://bdraco.github.io/aiodiscover).\n\n## Development\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for information related to developing the code.\n\n## The Four Commands You Need To Know\n\n1. `pip install -e .[dev]`\n\n    This will install your package in editable mode with all the required development\n    dependencies (i.e. `tox`).\n\n2. `make build`\n\n    This will run `tox` which will run all your tests in both Python 3.7\n    and Python 3.8 as well as linting your code.\n\n3. `make clean`\n\n    This will clean up various Python and build generated files so that you can ensure\n    that you are working in a clean environment.\n\n4. `make docs`\n\n    This will generate and launch a web browser to view the most up-to-date\n    documentation for your Python package.\n\n#### Additional Optional Setup Steps:\n\n-   Turn your project into a GitHub repository:\n    -   Make an account on [github.com](https://github.com)\n    -   Go to [make a new repository](https://github.com/new)\n    -   _Recommendations:_\n        -   _It is strongly recommended to make the repository name the same as the Python\n            package name_\n        -   _A lot of the following optional steps are *free* if the repository is Public,\n            plus open source is cool_\n    -   After a GitHub repo has been created, run the commands listed under:\n        \"...or push an existing repository from the command line\"\n-   Register your project with Codecov:\n    -   Make an account on [codecov.io](https://codecov.io)(Recommended to sign in with GitHub)\n        everything else will be handled for you.\n-   Ensure that you have set GitHub pages to build the `gh-pages` branch by selecting the\n    `gh-pages` branch in the dropdown in the \"GitHub Pages\" section of the repository settings.\n    ([Repo Settings](https://github.com/bdraco/aiodiscover/settings))\n-   Register your project with PyPI:\n    -   Make an account on [pypi.org](https://pypi.org)\n    -   Go to your GitHub repository's settings and under the\n        [Secrets tab](https://github.com/bdraco/aiodiscover/settings/secrets/actions),\n        add a secret called `PYPI_TOKEN` with your password for your PyPI account.\n        Don't worry, no one will see this password because it will be encrypted.\n    -   Next time you push to the branch `main` after using `bump2version`, GitHub\n        actions will build and deploy your Python package to PyPI.\n\n#### Suggested Git Branch Strategy\n\n1. `main` is for the most up-to-date development, very rarely should you directly\n   commit to this branch. GitHub Actions will run on every push and on a CRON to this\n   branch but still recommended to commit to your development branches and make pull\n   requests to main. If you push a tagged commit with bumpversion, this will also release to PyPI.\n2. Your day-to-day work should exist on branches separate from `main`. Even if it is\n   just yourself working on the repository, make a PR from your working branch to `main`\n   so that you can ensure your commits don't break the development head. GitHub Actions\n   will run on every push to any branch or any pull request from any branch to any other\n   branch.\n3. It is recommended to use \"Squash and Merge\" commits when committing PR's. It makes\n   each set of changes to `main` atomic and as a side effect naturally encourages small\n   well defined PR's.\n\n\n**Apache Software License 2.0**\n\n\n\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "Discover hosts by arp and ptr lookup",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/bdraco/aiodiscover"
    },
    "split_keywords": [
        "aiodiscover"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "514c853180309939d9f5b217fff75bb603a9a0a72f76b7c6d587aba48f6d0c00",
                "md5": "9f064bf88e492f37eae2568505c6eac7",
                "sha256": "cb937823e334d9283459d7a4113d4535fc8b1ec2331e8ac9b34806b99d692554"
            },
            "downloads": -1,
            "filename": "aiodiscover-2.0.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9f064bf88e492f37eae2568505c6eac7",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 9301,
            "upload_time": "2024-03-13T22:50:55",
            "upload_time_iso_8601": "2024-03-13T22:50:55.182322Z",
            "url": "https://files.pythonhosted.org/packages/51/4c/853180309939d9f5b217fff75bb603a9a0a72f76b7c6d587aba48f6d0c00/aiodiscover-2.0.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f677fdfdac2f363c83633d6af3d94dc11ca401d723576634cf06f2ea7e3274d5",
                "md5": "55d24e17f23b104fe5952691a864d630",
                "sha256": "73846ff8b85abaffaaa0ad4fad5965b76c7d518878ecdd0e5dcf1126d77a57c7"
            },
            "downloads": -1,
            "filename": "aiodiscover-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "55d24e17f23b104fe5952691a864d630",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 13257,
            "upload_time": "2024-03-13T22:50:57",
            "upload_time_iso_8601": "2024-03-13T22:50:57.006484Z",
            "url": "https://files.pythonhosted.org/packages/f6/77/fdfdac2f363c83633d6af3d94dc11ca401d723576634cf06f2ea7e3274d5/aiodiscover-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-13 22:50:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bdraco",
    "github_project": "aiodiscover",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "aiodiscover"
}
        
Elapsed time: 0.33726s