Skip to content

Commit 1a07f54

Browse files
committed
pypi
1 parent 8c0a408 commit 1a07f54

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

pyproject.toml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
[build-system]
2+
requires = ["hatchling>=1.27"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "subnethostcount"
7+
version = "0.1.0"
8+
description = "Count usable IPv4 hosts across CIDR subnets and individual IP addresses."
9+
readme = "README.md"
10+
requires-python = ">=3.8"
11+
authors = [
12+
{ name = "Defensive Origins", email = "[email protected]" }
13+
]
14+
keywords = ["cidr", "subnet", "ipv4", "networking", "host count", "defensive origins"]
15+
classifiers = [
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3 :: Only",
18+
"Programming Language :: Python :: 3.8",
19+
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
"Environment :: Console",
24+
"Intended Audience :: System Administrators",
25+
"Topic :: System :: Networking",
26+
"Topic :: Utilities"
27+
]
28+
dependencies = []
29+
30+
[project.urls]
31+
Homepage = "https://github.com/DefensiveOrigins/SubnetHostCount"
32+
Source = "https://github.com/DefensiveOrigins/SubnetHostCount"
33+
"Issue Tracker" = "https://github.com/DefensiveOrigins/SubnetHostCount/issues"
34+
35+
[project.scripts]
36+
# Primary CLI name
37+
subnethostcount = "HostCount:main"
38+
39+
# Optional alias, if you want it
40+
cidr-host-count = "HostCount:main"
41+
42+
[tool.hatch.build]
43+
# Include the single-module script and the README in the built distributions
44+
include = [
45+
"HostCount.py",
46+
"README.md",
47+
]

0 commit comments

Comments
 (0)