Name | pyspamhauscli JSON |
Version |
1.1
JSON |
| download |
home_page | None |
Summary | A simple Python script to interact with Spamhaus APIs from CLI |
upload_time | 2025-09-07 13:28:53 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3 |
license | None |
keywords |
spamhaus
spam
haus
api
cli
malware
phishing
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
pyspamhauscli
=============
Description
-----------
A simple Python script to interact with Spamhaus APIs from cli.
Usage
-----
```
$ python3 pyspamhauscli.py -h
usage: pyspamhauscli.py [-h] [-k API_KEY] [-a {submit,get_threats_types,get_subs_list,get_subs_counter}] [-i INPUT_FILE] [-r REASON]
version: 1.1
options:
-h, --help show this help message and exit
common parameters:
-k, --api-key API_KEY
API key (could either be provided in the "SECRET_SPAMHAUS_API_KEY" env var)
-a, --action {submit,get_threats_types,get_subs_list,get_subs_counter}
Action to do on Spamhaus (default 'submit')
'submit' action parameters:
-i, --input-file INPUT_FILE
Input file (list of newline-separated FQDN or URL or IP or email address)
-r, --reason REASON Reason to use (max length 255 characters)
```
Changelog
---------
* version 1.1 - 2025-09-07: Publication on pypi.org
Copyright and license
---------------------
pyspamhauscli is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
pyspamhauscli is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License along with pyspamhauscli.
If not, see http://www.gnu.org/licenses/.
Contact
-------
* Thomas Debize < tdebize at mail d0t com >
Raw data
{
"_id": null,
"home_page": null,
"name": "pyspamhauscli",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "spamhaus, spam, haus, api, cli, malware, phishing",
"author": null,
"author_email": "tdebize@mail.com",
"download_url": "https://files.pythonhosted.org/packages/58/b6/b30e0b29f7555a000f7ff6abf7244f94a14735a653ed6bcccd03c28c2782/pyspamhauscli-1.1.tar.gz",
"platform": null,
"description": "pyspamhauscli\n=============\n\nDescription\n-----------\nA simple Python script to interact with Spamhaus APIs from cli.\n\n\nUsage\n-----\n```\n$ python3 pyspamhauscli.py -h\nusage: pyspamhauscli.py [-h] [-k API_KEY] [-a {submit,get_threats_types,get_subs_list,get_subs_counter}] [-i INPUT_FILE] [-r REASON]\n\nversion: 1.1\n\noptions:\n -h, --help show this help message and exit\n\ncommon parameters:\n -k, --api-key API_KEY\n API key (could either be provided in the \"SECRET_SPAMHAUS_API_KEY\" env var)\n -a, --action {submit,get_threats_types,get_subs_list,get_subs_counter}\n Action to do on Spamhaus (default 'submit')\n\n'submit' action parameters:\n -i, --input-file INPUT_FILE\n Input file (list of newline-separated FQDN or URL or IP or email address)\n -r, --reason REASON Reason to use (max length 255 characters)\n```\n \n\nChangelog\n---------\n* version 1.1 - 2025-09-07: Publication on pypi.org\n\nCopyright and license\n---------------------\n\npyspamhauscli is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\npyspamhauscli is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. \n\nSee the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with pyspamhauscli. \nIf not, see http://www.gnu.org/licenses/.\n\nContact\n-------\n* Thomas Debize < tdebize at mail d0t com >\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple Python script to interact with Spamhaus APIs from CLI",
"version": "1.1",
"project_urls": {
"Homepage": "https://github.com/maaaaz/pyspamhauscli"
},
"split_keywords": [
"spamhaus",
" spam",
" haus",
" api",
" cli",
" malware",
" phishing"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "dd06ec472bef8003ba190eccfc3dab5e4fa6906c9f9d719e52b5989f49f375e7",
"md5": "1cea284d59453c4511e9d5d02b013c48",
"sha256": "33e761c87b6f5f147db1a429e5b02fb5d51e86b577826b6fe5e2328009715930"
},
"downloads": -1,
"filename": "pyspamhauscli-1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1cea284d59453c4511e9d5d02b013c48",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 5123,
"upload_time": "2025-09-07T13:28:51",
"upload_time_iso_8601": "2025-09-07T13:28:51.996341Z",
"url": "https://files.pythonhosted.org/packages/dd/06/ec472bef8003ba190eccfc3dab5e4fa6906c9f9d719e52b5989f49f375e7/pyspamhauscli-1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "58b6b30e0b29f7555a000f7ff6abf7244f94a14735a653ed6bcccd03c28c2782",
"md5": "7b17983848cc851e9c86eb0219bb65c6",
"sha256": "1f252227a600c1a3a798c9c58a89420961943c258157e5b09ef75c3d56409f18"
},
"downloads": -1,
"filename": "pyspamhauscli-1.1.tar.gz",
"has_sig": false,
"md5_digest": "7b17983848cc851e9c86eb0219bb65c6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 4345,
"upload_time": "2025-09-07T13:28:53",
"upload_time_iso_8601": "2025-09-07T13:28:53.052240Z",
"url": "https://files.pythonhosted.org/packages/58/b6/b30e0b29f7555a000f7ff6abf7244f94a14735a653ed6bcccd03c28c2782/pyspamhauscli-1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-07 13:28:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "maaaaz",
"github_project": "pyspamhauscli",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyspamhauscli"
}