-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improved version number management. * README linting. * Fixed #32 * Updated CHANGELOG * Finished CHANGELOG migration. * CHANGELOG updates. * Dependency Updates. * Fixed help message in stats.py. * Fixed help message in build.py. * Fixed help message for check.py * CHANGELOG update. * Merge remote-tracking branch 'origin/main' into changelog
- Loading branch information
Showing
13 changed files
with
392 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
# Changelog | ||
|
||
<!---------------------------------------------------------------------> | ||
|
||
## [1.2.0][1.2.0] - 2025-01-11 | ||
|
||
### Changed | ||
|
||
* Implement [tomli compatability layer][tomli]. | ||
* Optimize version numbering. | ||
|
||
### Added | ||
|
||
* Add statistics for a given country. ([#32][issue32]) | ||
* Establish and maintain a proper changelog. | ||
|
||
### Fixed | ||
|
||
* Lint documentation. | ||
* Display properly sorted options when getting help. | ||
|
||
<!---------------------------------------------------------------------> | ||
|
||
## [1.1.3][1.1.3] - 2024-12-19 | ||
|
||
### Added | ||
|
||
* Add the ability to compact ipsum entries into /24 subnets. | ||
|
||
### Fixed | ||
|
||
* Improve input validation. | ||
* Lint documentation. | ||
* Refactor and optimize code. | ||
|
||
<!---------------------------------------------------------------------> | ||
|
||
## [1.1.2][1.1.2] - 2024-12-02 | ||
|
||
### Changed | ||
|
||
* Tune binary search algorithm. | ||
* Enhance `banip check` with prettier output using [rich][rich]. | ||
|
||
### Fixed | ||
|
||
* Lint documentation. | ||
|
||
<!---------------------------------------------------------------------> | ||
|
||
## [1.1.1][1.1.1] - 2024-11-15 | ||
|
||
### Changed | ||
|
||
* Get better output with the [rich][rich] library. | ||
|
||
<!---------------------------------------------------------------------> | ||
|
||
## [1.1.0][1.1.0] - 2024-10-23 | ||
|
||
### Changed | ||
|
||
* Refine display of final metrics. | ||
|
||
### Fixed | ||
|
||
* Refactor code for better maintainability. | ||
|
||
<!---------------------------------------------------------------------> | ||
|
||
## [1.0.2][1.0.2] - 2024-08-09 | ||
|
||
### Changed | ||
|
||
* Optimize binary search. ([#13][issue13]) | ||
* Bumped tqdm library to v4.66.5. | ||
|
||
### Added | ||
|
||
* Add functionality to remove IP addresses captured in a subnets. | ||
* Add license and acknowledgements for the tqmd library | ||
|
||
### Fixed | ||
|
||
* Fix calculation error in summary metrics. | ||
* Choose Better Variable Names. ([#14][issue14]) | ||
* Improve IP checking to include membership in subnets. ([#15][issue15]) | ||
|
||
<!---------------------------------------------------------------------> | ||
|
||
## [1.0.1][1.0.1] - 2024-07-30 | ||
|
||
### Added | ||
|
||
* Add separate command line option to display version information. | ||
* Add additional help indicators to the subcommands. | ||
|
||
### Fixed | ||
|
||
* Refactor code for better maintainability. | ||
|
||
<!---------------------------------------------------------------------> | ||
|
||
## [1.0.0][1.0.0] - 2024-03-15 | ||
|
||
### Changed | ||
|
||
* Update documentation with page anchors. | ||
|
||
### Added | ||
|
||
* Introduce a plugin architecture. | ||
|
||
### Fixed | ||
|
||
* Fixed uncaught exception. | ||
* Lint documentation. | ||
|
||
<!---------------------------------------------------------------------> | ||
|
||
## [0.1.0][0.1.0] - 2024-05-12 | ||
|
||
_Initial Release._ | ||
|
||
[0.1.0]: https://github.com/geozeke/banip/releases/tag/v0.1.0 | ||
[1.0.0]: https://github.com/geozeke/banip/releases/tag/V1.0.0 | ||
[1.0.1]: https://github.com/geozeke/banip/releases/tag/v1.0.1 | ||
[1.0.2]: https://github.com/geozeke/banip/releases/tag/v1.0.2 | ||
[issue13]: https://github.com/geozeke/banip/issues/13 | ||
[issue14]: https://github.com/geozeke/banip/issues/14 | ||
[issue15]: https://github.com/geozeke/banip/issues/15 | ||
[1.1.0]: https://github.com/geozeke/banip/releases/tag/v1.1.0 | ||
[1.1.1]: https://github.com/geozeke/banip/releases/tag/v1.1.1 | ||
[rich]: https://github.com/Textualize/rich | ||
[1.1.2]: https://github.com/geozeke/banip/releases/tag/v1.1.2 | ||
[1.1.3]: https://github.com/geozeke/banip/releases/tag/v1.1.3 | ||
[tomli]: https://pypi.org/project/tomli/ | ||
[1.2.0]: https://github.com/geozeke/banip/releases/tag/v1.2.0 | ||
[issue32]: https://github.com/geozeke/banip/issues/32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
[project] | ||
name = "banip" | ||
version = "1.1.3" | ||
version = "1.2.0" | ||
description = "Create a list of banned IPs for specific countries" | ||
license = {file = "LICENSE"} | ||
readme = {file = "README.md", content-type = "text/markdown"} | ||
requires-python = ">=3.12,<3.13" | ||
dependencies = [ | ||
"banip", | ||
"rich>=13.9.4", | ||
"tomli>=1.1.0 ; python_full_version < '3.11'", | ||
] | ||
authors = [ | ||
{name = "Peter Nardi", email = "[email protected]"}, | ||
] | ||
|
||
[dependency-groups] | ||
dev = [ | ||
"mypy>=1.13.0", | ||
"ruff>=0.7.1", | ||
] | ||
|
||
[tool.ruff.lint.isort] | ||
force-single-line = true | ||
|
||
|
@@ -26,12 +33,6 @@ banip = "banip.app:main" | |
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[dependency-groups] | ||
dev = [ | ||
"mypy>=1.13.0", | ||
"ruff>=0.7.1", | ||
] | ||
|
||
[tool.hatch.build] | ||
exclude = [ | ||
".gitignore", | ||
|
@@ -40,3 +41,6 @@ exclude = [ | |
"samples/**", | ||
"uv.lock", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel.force-include] | ||
"./pyproject.toml" = "banip/pyproject.toml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.