Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the chapter [PyTM-users](#PyTM-users) below for guidance on posting to the u

When reporting an issue, it's most helpful to provide the following information, where applicable:
* How does the problem look like and what steps reproduce it?
* Can you reproduce it using the latest [master](https://github.com/izar/pytm/tree/master)?
* Can you reproduce it using the latest [master](https://github.com/OWASP/pytm/tree/master)?
* What is your running environment? In particular:
* OS,
* Python version,
Expand All @@ -40,7 +40,7 @@ To regenerate test fixtures for `json.dumps` and report tests add a `print(outpu

Before you post to the [PyTM-users list](https://groups.google.com/forum/#!forum/pytm-users), make sure you look for existing solutions.

* [GitHub issues](https://github.com/izar/pytm/issues) tracker (some problems have been answered there),
* [GitHub issues](https://github.com/OWASP/pytm/issues) tracker (some problems have been answered there),

Found a post/issue with your exact problem, but with no answer?
Don't just leave a "me too" message - provide the details of your case.
Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![build+test](https://github.com/izar/pytm/workflows/build%2Btest/badge.svg)
![build+test](https://github.com/OWASP/pytm/workflows/build%2Btest/badge.svg)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/11093/badge)](https://www.bestpractices.dev/projects/11093)

# pytm: A Pythonic framework for threat modeling
Expand Down Expand Up @@ -431,7 +431,7 @@ Once a threat model is done and ready, the dreaded presentation stage comes in -



https://github.com/izar/pytm/assets/368769/30218241-c7cc-4085-91e9-bbec2843f838
https://github.com/OWASP/pytm/assets/368769/30218241-c7cc-4085-91e9-bbec2843f838



Expand Down
42 changes: 30 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,37 @@
[tool.poetry]
[project]
name = "pytm"
version = "1.3.1"
description = "A Pythonic framework for threat modeling"
authors = ["pytm Team"]
license = "MIT License"
readme = "README.md"
authors = [{ name = "pytm Team", email = "[email protected]" }]
license = "MIT"
requires-python = ">=3.9,<3.15"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Topic :: Security",
"Natural Language :: English",
]
dependencies = [
"pydantic>=2.10.0,<3.0.0",
]

[tool.poetry.dependencies]
python = "^3.9 || ^3.10 || ^3.11 || ^3.12 || ^3.13 || ^3.14"
pydantic = "^2.10.0"
[project.urls]
Homepage = "https://github.com/OWASP/pytm"

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.5"
black = "^25.9.0"
pdoc3 = "^0.11.6"
[dependency-groups]
dev = [
"pytest>=8.3.5,<9.0.0",
"black>=25.9.0,<26.0.0",
"pdoc3>=0.11.6,<0.12.0",
]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["pytm"]
3 changes: 0 additions & 3 deletions requirements-dev.txt

This file was deleted.

Empty file removed requirements.txt
Empty file.
42 changes: 0 additions & 42 deletions setup.py

This file was deleted.