## SECURITY.md
Tools used to parse standardize [SECURITY.md](https://github.com/sbrunner/security.md/wiki/SECURITY.md) files.
## Install
```bash
pip install security.md
```
## Usage
```python
from security_md import Security
security = Security("""
| Version | Supported Until | Alternate Tag |
| --------------- | --------------- | ------------- |
| 7.6 | 23/06/2025 | |
| 7.6-gdal3.7 | Best effort | |
| 7.6-gdal3.8 | Best effort | 7.6 |
| 7.6-gdal3.9 | Best effort | |
""")
print(security.headers)
print(security.raw)
for version in security.supported_versions():
print(version)
print(security.all_tags(version))
```
Raw data
{
"_id": null,
"home_page": "https://github.com/camptocamp/c2cciutils",
"name": "security.md",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "ci",
"author": "Camptocamp",
"author_email": "info@camptocamp.com",
"download_url": "https://files.pythonhosted.org/packages/bc/aa/93ae4c8d52b680401ae598cebb03230014be9d1ba863222b1217801eb8eb/security_md-1.0.0.tar.gz",
"platform": null,
"description": "## SECURITY.md\n\nTools used to parse standardize [SECURITY.md](https://github.com/sbrunner/security.md/wiki/SECURITY.md) files.\n\n## Install\n\n```bash\npip install security.md\n```\n\n## Usage\n\n```python\nfrom security_md import Security\n\nsecurity = Security(\"\"\"\n| Version | Supported Until | Alternate Tag |\n| --------------- | --------------- | ------------- |\n| 7.6 | 23/06/2025 | |\n| 7.6-gdal3.7 | Best effort | |\n| 7.6-gdal3.8 | Best effort | 7.6 |\n| 7.6-gdal3.9 | Best effort | |\n\"\"\")\nprint(security.headers)\nprint(security.raw)\nfor version in security.supported_versions():\n print(version)\n print(security.all_tags(version))\n```\n\n",
"bugtrack_url": null,
"license": "FreeBSD",
"summary": "Common utilities for Camptocamp CI",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/camptocamp/c2cciutils",
"Repository": "https://github.com/camptocamp/c2cciutils"
},
"split_keywords": [
"ci"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "43f01cbc3b2d7658876681a3a7a17fc6351407777d60bffad4557329e4aa229b",
"md5": "22262780297a965b24728390e8a55358",
"sha256": "813cf89038f4303dfedf6adc4ed435fad8b4f701a98ca4bd9c6b9b1210773ff2"
},
"downloads": -1,
"filename": "security_md-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "22262780297a965b24728390e8a55358",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 5053,
"upload_time": "2024-12-30T14:17:17",
"upload_time_iso_8601": "2024-12-30T14:17:17.114750Z",
"url": "https://files.pythonhosted.org/packages/43/f0/1cbc3b2d7658876681a3a7a17fc6351407777d60bffad4557329e4aa229b/security_md-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bcaa93ae4c8d52b680401ae598cebb03230014be9d1ba863222b1217801eb8eb",
"md5": "923a7bdcffc5e208d7cca8e8b2838845",
"sha256": "5acedaa2fd5f90fe907ebaaf9b47d1887f4ba26b57bebac1a7d97ac3bcc99c6b"
},
"downloads": -1,
"filename": "security_md-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "923a7bdcffc5e208d7cca8e8b2838845",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 4392,
"upload_time": "2024-12-30T14:17:19",
"upload_time_iso_8601": "2024-12-30T14:17:19.599477Z",
"url": "https://files.pythonhosted.org/packages/bc/aa/93ae4c8d52b680401ae598cebb03230014be9d1ba863222b1217801eb8eb/security_md-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-30 14:17:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "camptocamp",
"github_project": "c2cciutils",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "poetry",
"specs": [
[
"==",
"1.8.4"
]
]
},
{
"name": "poetry-plugin-export",
"specs": [
[
"==",
"1.8.0"
]
]
},
{
"name": "poetry-dynamic-versioning",
"specs": [
[
"==",
"1.4.1"
]
]
},
{
"name": "poetry-plugin-tweak-dependencies-version",
"specs": [
[
"==",
"1.5.2"
]
]
},
{
"name": "pre-commit",
"specs": [
[
"==",
"4.0.1"
]
]
}
],
"lcname": "security.md"
}