stix2nx 0.1.0__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.
@@ -0,0 +1,10 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(python:*)",
5
+ "Bash(pytest:*)",
6
+ "Bash(git add:*)",
7
+ "Bash(git commit:*)"
8
+ ]
9
+ }
10
+ }
@@ -0,0 +1,26 @@
1
+ ---
2
+ name: Bug Report
3
+ about: Report a bug in stix2nx
4
+ title: "[BUG] "
5
+ labels: bug
6
+ ---
7
+
8
+ **Describe the bug**
9
+ A clear description of what went wrong.
10
+
11
+ **To reproduce**
12
+ Steps or minimal code example that triggers the bug.
13
+
14
+ **STIX input**
15
+ If possible, include the STIX bundle (or a minimal subset) that caused the issue.
16
+ Paste inline or attach as a file.
17
+
18
+ **Expected behavior**
19
+ What you expected to happen.
20
+
21
+ **Environment**
22
+ - Python version:
23
+ - stix2nx version:
24
+ - stix2 version:
25
+ - networkx version:
26
+ - OS:
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: Feature Request
3
+ about: Suggest an enhancement
4
+ title: "[FEATURE] "
5
+ labels: enhancement
6
+ ---
7
+
8
+ **What are you trying to do?**
9
+ Describe the task or workflow.
10
+
11
+ **Why doesn't current functionality cover this?**
12
+ What's missing or inconvenient.
13
+
14
+ **Proposed solution**
15
+ If you have one in mind.
@@ -0,0 +1,26 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Set up Python ${{ matrix.python-version }}
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
+ - name: Install dependencies
23
+ run: |
24
+ pip install -e ".[dev]"
25
+ - name: Run tests
26
+ run: pytest -v
@@ -0,0 +1,13 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg-info/
4
+ dist/
5
+ build/
6
+ .eggs/
7
+ *.egg
8
+ .pytest_cache/
9
+ .tox/
10
+ venv/
11
+ .venv/
12
+ *.so
13
+ .DS_Store
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+
3
+ ## [0.1.0] - 2026-02-16
4
+
5
+ ### Added
6
+ - Initial release
7
+ - `stix_to_graph()` function converting STIX bundles to NetworkX graphs
8
+ - Support for STIX 2.0 and 2.1
9
+ - MultiDiGraph and DiGraph output options
10
+ - SCO inclusion/exclusion toggle
11
+ - Sightings as nodes with typed edges
12
+ - Multiple bundle merging
13
+ - MITRE ATT&CK integration test