cybedtools 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cybedtools-0.0.1/.gitignore +6 -0
- cybedtools-0.0.1/LICENSE +21 -0
- cybedtools-0.0.1/PKG-INFO +49 -0
- cybedtools-0.0.1/README.md +23 -0
- cybedtools-0.0.1/pyproject.toml +40 -0
- cybedtools-0.0.1/src/cybedtools/__init__.py +21 -0
- cybedtools-0.0.1/src/cybedtools/py.typed +0 -0
- cybedtools-0.0.1/tests/test_import.py +30 -0
cybedtools-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ryan Straight
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: cybedtools
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Python interface to the cybedtools cross-framework cybersecurity workforce and learning frameworks graph. This first release reserves the name while the package is built.
|
|
5
|
+
Project-URL: Homepage, https://ryanstraight.github.io/cybedtools/
|
|
6
|
+
Project-URL: Repository, https://github.com/ryanstraight/cybedtools
|
|
7
|
+
Project-URL: Issues, https://github.com/ryanstraight/cybedtools/issues
|
|
8
|
+
Author-email: Ryan Straight <ryanstraight@arizona.edu>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: cybersecurity,frameworks,rdf,sparql,workforce
|
|
12
|
+
Classifier: Development Status :: 1 - Planning
|
|
13
|
+
Classifier: Intended Audience :: Education
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Topic :: Security
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.12
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: build>=1.2; extra == 'dev'
|
|
24
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
|
|
27
|
+
# cybedtools
|
|
28
|
+
|
|
29
|
+
cybedtools harmonizes cybersecurity workforce competency frameworks and cybersecurity-related learning frameworks into a single RDF graph with one shared vocabulary, so that roles, organizing units, and competency statements from different frameworks can be queried together instead of one document at a time.
|
|
30
|
+
|
|
31
|
+
## Status of this release
|
|
32
|
+
|
|
33
|
+
This is a placeholder. It installs, it imports, and it reports its version. It does not query anything yet. The release exists to reserve the `cybedtools` name on PyPI while the Python interface is built.
|
|
34
|
+
|
|
35
|
+
## Use the R package today
|
|
36
|
+
|
|
37
|
+
The mature interface is the R package, which builds the graph and ships the query helpers. It lives in the same repository: https://github.com/ryanstraight/cybedtools
|
|
38
|
+
|
|
39
|
+
## How the two packages will relate
|
|
40
|
+
|
|
41
|
+
The Python package will read the same published per-framework graph files that the R package produces, so both languages work from one set of data rather than two parallel builds. Function names and the column names of returned tables will match the R package, so one description in a paper covers both implementations.
|
|
42
|
+
|
|
43
|
+
## Licensing
|
|
44
|
+
|
|
45
|
+
The package code is MIT licensed. The framework content itself is not: each source framework keeps its own terms, and some of them restrict redistribution. Per-framework licensing is documented in `LICENSING.md` in the repository: https://github.com/ryanstraight/cybedtools/blob/main/LICENSING.md
|
|
46
|
+
|
|
47
|
+
## Citation
|
|
48
|
+
|
|
49
|
+
Cite the software through its concept DOI, which always resolves to the most recent version: https://doi.org/10.5281/zenodo.20076116
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# cybedtools
|
|
2
|
+
|
|
3
|
+
cybedtools harmonizes cybersecurity workforce competency frameworks and cybersecurity-related learning frameworks into a single RDF graph with one shared vocabulary, so that roles, organizing units, and competency statements from different frameworks can be queried together instead of one document at a time.
|
|
4
|
+
|
|
5
|
+
## Status of this release
|
|
6
|
+
|
|
7
|
+
This is a placeholder. It installs, it imports, and it reports its version. It does not query anything yet. The release exists to reserve the `cybedtools` name on PyPI while the Python interface is built.
|
|
8
|
+
|
|
9
|
+
## Use the R package today
|
|
10
|
+
|
|
11
|
+
The mature interface is the R package, which builds the graph and ships the query helpers. It lives in the same repository: https://github.com/ryanstraight/cybedtools
|
|
12
|
+
|
|
13
|
+
## How the two packages will relate
|
|
14
|
+
|
|
15
|
+
The Python package will read the same published per-framework graph files that the R package produces, so both languages work from one set of data rather than two parallel builds. Function names and the column names of returned tables will match the R package, so one description in a paper covers both implementations.
|
|
16
|
+
|
|
17
|
+
## Licensing
|
|
18
|
+
|
|
19
|
+
The package code is MIT licensed. The framework content itself is not: each source framework keeps its own terms, and some of them restrict redistribution. Per-framework licensing is documented in `LICENSING.md` in the repository: https://github.com/ryanstraight/cybedtools/blob/main/LICENSING.md
|
|
20
|
+
|
|
21
|
+
## Citation
|
|
22
|
+
|
|
23
|
+
Cite the software through its concept DOI, which always resolves to the most recent version: https://doi.org/10.5281/zenodo.20076116
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "cybedtools"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Python interface to the cybedtools cross-framework cybersecurity workforce and learning frameworks graph. This first release reserves the name while the package is built."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
license-files = ["LICENSE"]
|
|
12
|
+
requires-python = ">=3.12"
|
|
13
|
+
authors = [{ name = "Ryan Straight", email = "ryanstraight@arizona.edu" }]
|
|
14
|
+
keywords = ["cybersecurity", "workforce", "frameworks", "rdf", "sparql"]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Development Status :: 1 - Planning",
|
|
17
|
+
"Intended Audience :: Science/Research",
|
|
18
|
+
"Intended Audience :: Education",
|
|
19
|
+
"Topic :: Security",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Programming Language :: Python :: 3.13",
|
|
23
|
+
"Programming Language :: Python :: 3.14",
|
|
24
|
+
"Typing :: Typed",
|
|
25
|
+
]
|
|
26
|
+
dependencies = []
|
|
27
|
+
|
|
28
|
+
[project.optional-dependencies]
|
|
29
|
+
dev = ["pytest>=8", "build>=1.2"]
|
|
30
|
+
|
|
31
|
+
[project.urls]
|
|
32
|
+
Homepage = "https://ryanstraight.github.io/cybedtools/"
|
|
33
|
+
Repository = "https://github.com/ryanstraight/cybedtools"
|
|
34
|
+
Issues = "https://github.com/ryanstraight/cybedtools/issues"
|
|
35
|
+
|
|
36
|
+
[tool.hatch.build.targets.wheel]
|
|
37
|
+
packages = ["src/cybedtools"]
|
|
38
|
+
|
|
39
|
+
[tool.hatch.build.targets.sdist]
|
|
40
|
+
include = ["src", "tests", "README.md", "LICENSE", "pyproject.toml"]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"""Python interface to the cybedtools cross-framework cybersecurity workforce and learning frameworks graph.
|
|
2
|
+
|
|
3
|
+
This release is a placeholder that reserves the project name on PyPI. It exposes
|
|
4
|
+
no query functions yet. The R package at https://github.com/ryanstraight/cybedtools
|
|
5
|
+
is the working interface today.
|
|
6
|
+
|
|
7
|
+
Attributes
|
|
8
|
+
----------
|
|
9
|
+
__version__ : str
|
|
10
|
+
The installed distribution version, read from package metadata.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from importlib.metadata import PackageNotFoundError as _PackageNotFoundError
|
|
14
|
+
from importlib.metadata import version as _version
|
|
15
|
+
|
|
16
|
+
__all__ = ["__version__"]
|
|
17
|
+
|
|
18
|
+
try:
|
|
19
|
+
__version__ = _version("cybedtools")
|
|
20
|
+
except _PackageNotFoundError: # pragma: no cover - only when running from a source tree
|
|
21
|
+
__version__ = "0.0.0"
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""Smoke tests for the placeholder release."""
|
|
2
|
+
|
|
3
|
+
import tomllib
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
import cybedtools
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _pyproject_version() -> str:
|
|
10
|
+
"""Read the declared version from pyproject.toml.
|
|
11
|
+
|
|
12
|
+
Returns
|
|
13
|
+
-------
|
|
14
|
+
str
|
|
15
|
+
The version string declared in the ``[project]`` table.
|
|
16
|
+
"""
|
|
17
|
+
pyproject = Path(__file__).resolve().parent.parent / "pyproject.toml"
|
|
18
|
+
with pyproject.open("rb") as handle:
|
|
19
|
+
return tomllib.load(handle)["project"]["version"]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def test_version_is_non_empty_string() -> None:
|
|
23
|
+
"""The package exposes a non-empty version string."""
|
|
24
|
+
assert isinstance(cybedtools.__version__, str)
|
|
25
|
+
assert cybedtools.__version__ != ""
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def test_version_matches_pyproject() -> None:
|
|
29
|
+
"""The installed version matches the version declared in pyproject.toml."""
|
|
30
|
+
assert cybedtools.__version__ == _pyproject_version()
|