cems-nuclei


Namecems-nuclei JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryPython wrapper around NUCLEI's functionality.
upload_time2024-09-26 08:03:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License Copyright (c) 2023 CEMS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # NUCLEI

[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)

This repository is created by [CEMS BV](https://cemsbv.nl/) and helps the user to access and process API calls to
the [NUCLEI](https://nuclei.cemsbv.io/#/) environment.

# Installation

To install this package, including the `NucleiClient` library and its dependencies, run:

```bash
pip install cems-nuclei[client]
```

To skip the installation of the `NucleiClient` library, in case you do not need it (e.g. only use pure requests), run:

```bash
pip install cems-nuclei
```

## ENV VARS

To use `nuclei` add the follow ENV vars to your environment. Or provide them when asked.

```
* NUCLEI_TOKEN
    - Your NUCLEI user token
```

You can obtain your `NUCLEI_TOKEN` on [NUCLEI](https://nuclei.cemsbv.io/#/).
Go to `personal-access-tokens` and create a new user token.

# Contribution

## Environment

We recommend developing in Python3.9 with a clean virtual environment (using `virtualenv` or `conda`), installing the
requirements from the requirements.txt file:

Example using `virtualenv` and `pip` to install the dependencies in a new environment .env on Linux:

```bash
python -m venv .env
source activate .env/bin/activate
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install -e .
```

## Documentation

Build the docs:

```bash
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install .
sphinx-build -b html docs public
```

Note: You'll need to set the `NUCLEI_TOKEN` environmental variable.
You can get your token at: `https://cemsbv.crux-nuclei.com`

## Format

We format our code with black and isort.

```bash
black --config "pyproject.toml" src/nuclei tests
isort --settings-path "pyproject.toml" src/nuclei tests
```

## Lint

To maintain code quality we use the GitHub super-linter.

To run the linters locally, run the `run_super_linters.sh` bash script from the root directory.

## UnitTest

Test the software with the use of coverage:

```bash
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install .
coverage run -m pytest
```

## Requirements

Requirements are autogenerated by `pip-compile` with python 3.9

```bash
pip-compile --extra=test --extra=docs --extra=lint --extra=client --output-file=requirements.txt pyproject.toml
```

To update the requirements within the defined ranges, run:

```bash
pip-compile --upgrade --extra=test --extra=docs --extra=lint --extra=client --output-file=requirements.txt pyproject.toml
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cems-nuclei",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "API",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/2a/2c/9dfa3bb51080e591949404e1e87fe313d58e637f72b1ae4931d203551c4c/cems_nuclei-1.0.1.tar.gz",
    "platform": null,
    "description": "# NUCLEI\n\n[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)\n\nThis repository is created by [CEMS BV](https://cemsbv.nl/) and helps the user to access and process API calls to\nthe [NUCLEI](https://nuclei.cemsbv.io/#/) environment.\n\n# Installation\n\nTo install this package, including the `NucleiClient` library and its dependencies, run:\n\n```bash\npip install cems-nuclei[client]\n```\n\nTo skip the installation of the `NucleiClient` library, in case you do not need it (e.g. only use pure requests), run:\n\n```bash\npip install cems-nuclei\n```\n\n## ENV VARS\n\nTo use `nuclei` add the follow ENV vars to your environment. Or provide them when asked.\n\n```\n* NUCLEI_TOKEN\n    - Your NUCLEI user token\n```\n\nYou can obtain your `NUCLEI_TOKEN` on [NUCLEI](https://nuclei.cemsbv.io/#/).\nGo to `personal-access-tokens` and create a new user token.\n\n# Contribution\n\n## Environment\n\nWe recommend developing in Python3.9 with a clean virtual environment (using `virtualenv` or `conda`), installing the\nrequirements from the requirements.txt file:\n\nExample using `virtualenv` and `pip` to install the dependencies in a new environment .env on Linux:\n\n```bash\npython -m venv .env\nsource activate .env/bin/activate\npython -m pip install --upgrade pip setuptools\npip install -r requirements.txt\npip install -e .\n```\n\n## Documentation\n\nBuild the docs:\n\n```bash\npython -m pip install --upgrade pip setuptools\npip install -r requirements.txt\npip install .\nsphinx-build -b html docs public\n```\n\nNote: You'll need to set the `NUCLEI_TOKEN` environmental variable.\nYou can get your token at: `https://cemsbv.crux-nuclei.com`\n\n## Format\n\nWe format our code with black and isort.\n\n```bash\nblack --config \"pyproject.toml\" src/nuclei tests\nisort --settings-path \"pyproject.toml\" src/nuclei tests\n```\n\n## Lint\n\nTo maintain code quality we use the GitHub super-linter.\n\nTo run the linters locally, run the `run_super_linters.sh` bash script from the root directory.\n\n## UnitTest\n\nTest the software with the use of coverage:\n\n```bash\npython -m pip install --upgrade pip setuptools\npip install -r requirements.txt\npip install .\ncoverage run -m pytest\n```\n\n## Requirements\n\nRequirements are autogenerated by `pip-compile` with python 3.9\n\n```bash\npip-compile --extra=test --extra=docs --extra=lint --extra=client --output-file=requirements.txt pyproject.toml\n```\n\nTo update the requirements within the defined ranges, run:\n\n```bash\npip-compile --upgrade --extra=test --extra=docs --extra=lint --extra=client --output-file=requirements.txt pyproject.toml\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 CEMS  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Python wrapper around NUCLEI's functionality.",
    "version": "1.0.1",
    "project_urls": {
        "repository": "https://github.com/cemsbv/nuclei"
    },
    "split_keywords": [
        "api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "09a101ffaef526d00748d20cf9f8800f1346bd974ba7954fd1c62c8d69341cc8",
                "md5": "1a2224d6ff6ca986f764bd62fe58ea10",
                "sha256": "d11074bee36bc79b6d5eaf917f4990f5de7285e87d6f648c7556e0b7a090a122"
            },
            "downloads": -1,
            "filename": "cems_nuclei-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1a2224d6ff6ca986f764bd62fe58ea10",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10524,
            "upload_time": "2024-09-26T08:03:47",
            "upload_time_iso_8601": "2024-09-26T08:03:47.002322Z",
            "url": "https://files.pythonhosted.org/packages/09/a1/01ffaef526d00748d20cf9f8800f1346bd974ba7954fd1c62c8d69341cc8/cems_nuclei-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a2c9dfa3bb51080e591949404e1e87fe313d58e637f72b1ae4931d203551c4c",
                "md5": "1ddc580a7e544c8bc40e8bc572db34f6",
                "sha256": "492338d4810dabd5d2982f44456a56102ab9aaa8a41a260c56a8296f33617aea"
            },
            "downloads": -1,
            "filename": "cems_nuclei-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "1ddc580a7e544c8bc40e8bc572db34f6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 11689,
            "upload_time": "2024-09-26T08:03:48",
            "upload_time_iso_8601": "2024-09-26T08:03:48.150575Z",
            "url": "https://files.pythonhosted.org/packages/2a/2c/9dfa3bb51080e591949404e1e87fe313d58e637f72b1ae4931d203551c4c/cems_nuclei-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-26 08:03:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cemsbv",
    "github_project": "nuclei",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "lcname": "cems-nuclei"
}
        
Elapsed time: 0.40847s