security.md


Namesecurity.md JSON
Version 0.2.3 PyPI version JSON
download
home_pagehttps://github.com/camptocamp/c2cciutils
SummaryCommon utilities for Camptocamp CI
upload_time2024-09-06 14:18:30
maintainerNone
docs_urlNone
authorCamptocamp
requires_python>=3.9
licenseFreeBSD
keywords ci
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## SECURITY.md

Tools used to parse standardize [SECURITY.md](https://github.com/sbrunner/security.md/wiki/SECURITY.md) files.

## 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/0a/70/9aa1506587b3b73067d2adf3c80c57e9f75270ac5e1fd3c06a7b32303c37/security_md-0.2.3.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## 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": "0.2.3",
    "project_urls": {
        "Homepage": "https://github.com/camptocamp/c2cciutils",
        "Repository": "https://github.com/camptocamp/c2cciutils"
    },
    "split_keywords": [
        "ci"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0506a806026b60770f292ea5cdb972339455c1a6a623ec6105b11f0754a3e7a4",
                "md5": "cf88360eff80bd0da8dea81042c4d27b",
                "sha256": "e95e454d7c7b9786a7af16c8d5fa657cdad575d76b74c69d4b1f3f88548bbd82"
            },
            "downloads": -1,
            "filename": "security_md-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cf88360eff80bd0da8dea81042c4d27b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4143,
            "upload_time": "2024-09-06T14:18:29",
            "upload_time_iso_8601": "2024-09-06T14:18:29.419948Z",
            "url": "https://files.pythonhosted.org/packages/05/06/a806026b60770f292ea5cdb972339455c1a6a623ec6105b11f0754a3e7a4/security_md-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a709aa1506587b3b73067d2adf3c80c57e9f75270ac5e1fd3c06a7b32303c37",
                "md5": "ab2ffcdb09c9ff8960e97459fdc615cc",
                "sha256": "cc766d03b01d1f5e49ed616480cc5f92469eb5e278466f71066b7acbd011adad"
            },
            "downloads": -1,
            "filename": "security_md-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "ab2ffcdb09c9ff8960e97459fdc615cc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 3792,
            "upload_time": "2024-09-06T14:18:30",
            "upload_time_iso_8601": "2024-09-06T14:18:30.638965Z",
            "url": "https://files.pythonhosted.org/packages/0a/70/9aa1506587b3b73067d2adf3c80c57e9f75270ac5e1fd3c06a7b32303c37/security_md-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-06 14:18:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "camptocamp",
    "github_project": "c2cciutils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "security.md"
}
        
Elapsed time: 0.84848s