smartcalc-saas-sec 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.
- smartcalc_saas_sec-0.1.0/PKG-INFO +23 -0
- smartcalc_saas_sec-0.1.0/README.md +13 -0
- smartcalc_saas_sec-0.1.0/pyproject.toml +18 -0
- smartcalc_saas_sec-0.1.0/setup.cfg +4 -0
- smartcalc_saas_sec-0.1.0/smartcalc_saas_sec/__init__.py +1 -0
- smartcalc_saas_sec-0.1.0/smartcalc_saas_sec/cli.py +12 -0
- smartcalc_saas_sec-0.1.0/smartcalc_saas_sec.egg-info/PKG-INFO +23 -0
- smartcalc_saas_sec-0.1.0/smartcalc_saas_sec.egg-info/SOURCES.txt +9 -0
- smartcalc_saas_sec-0.1.0/smartcalc_saas_sec.egg-info/dependency_links.txt +1 -0
- smartcalc_saas_sec-0.1.0/smartcalc_saas_sec.egg-info/entry_points.txt +2 -0
- smartcalc_saas_sec-0.1.0/smartcalc_saas_sec.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: smartcalc-saas-sec
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Zero-dependency HTTP security header & TTFB latency scorer CLI for SaaS apps.
|
|
5
|
+
Project-URL: Homepage, https://edgeandpower-alt.github.io/smart-calc-hub/
|
|
6
|
+
Project-URL: CloudAPI, https://apify.com/smartcalclabs/saas-ssl-security-auditor
|
|
7
|
+
Project-URL: ProSuite, https://edgepower.gumroad.com/l/fofgjz
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# ⚡ smartcalc-saas-sec
|
|
12
|
+
|
|
13
|
+
Zero-dependency HTTP security header & TTFB latency scorer CLI for SaaS apps.
|
|
14
|
+
|
|
15
|
+
## Install & Run
|
|
16
|
+
```bash
|
|
17
|
+
pip install smartcalc-saas-sec
|
|
18
|
+
saas-sec --help
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Managed Cloud API & Offline Pro Studio
|
|
22
|
+
- ☁️ **Cloud Automation Bot (Apify Store)**: [https://apify.com/smartcalclabs/saas-ssl-security-auditor](https://apify.com/smartcalclabs/saas-ssl-security-auditor)
|
|
23
|
+
- 📦 **Zero-Install Offline App + CSV Sheets ($5.99)**: [https://edgepower.gumroad.com/l/fofgjz](https://edgepower.gumroad.com/l/fofgjz)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# ⚡ smartcalc-saas-sec
|
|
2
|
+
|
|
3
|
+
Zero-dependency HTTP security header & TTFB latency scorer CLI for SaaS apps.
|
|
4
|
+
|
|
5
|
+
## Install & Run
|
|
6
|
+
```bash
|
|
7
|
+
pip install smartcalc-saas-sec
|
|
8
|
+
saas-sec --help
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Managed Cloud API & Offline Pro Studio
|
|
12
|
+
- ☁️ **Cloud Automation Bot (Apify Store)**: [https://apify.com/smartcalclabs/saas-ssl-security-auditor](https://apify.com/smartcalclabs/saas-ssl-security-auditor)
|
|
13
|
+
- 📦 **Zero-Install Offline App + CSV Sheets ($5.99)**: [https://edgepower.gumroad.com/l/fofgjz](https://edgepower.gumroad.com/l/fofgjz)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "smartcalc-saas-sec"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Zero-dependency HTTP security header & TTFB latency scorer CLI for SaaS apps."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
|
|
12
|
+
[project.urls]
|
|
13
|
+
Homepage = "https://edgeandpower-alt.github.io/smart-calc-hub/"
|
|
14
|
+
CloudAPI = "https://apify.com/smartcalclabs/saas-ssl-security-auditor"
|
|
15
|
+
ProSuite = "https://edgepower.gumroad.com/l/fofgjz"
|
|
16
|
+
|
|
17
|
+
[project.scripts]
|
|
18
|
+
saas-sec = "smartcalc_saas_sec.cli:main"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import json, sys, time, urllib.request
|
|
2
|
+
HDRS = ["strict-transport-security", "content-security-policy", "x-frame-options", "x-content-type-options", "referrer-policy"]
|
|
3
|
+
def main():
|
|
4
|
+
if "--help" in sys.argv or "-h" in sys.argv:
|
|
5
|
+
print("Usage: saas-sec https://your-saas.com"); return
|
|
6
|
+
u = sys.argv[1] if len(sys.argv)>1 else "https://edgeandpower-alt.github.io/smart-calc-hub/"
|
|
7
|
+
t0 = time.perf_counter()
|
|
8
|
+
r = urllib.request.urlopen(urllib.request.Request(u, headers={"User-Agent":"smartcalc-saas-sec/0.1"}), timeout=15)
|
|
9
|
+
ms = round((time.perf_counter()-t0)*1000, 1)
|
|
10
|
+
lh = {k.lower(): v for k, v in r.headers.items()}
|
|
11
|
+
pres = [h for h in HDRS if h in lh]
|
|
12
|
+
print(json.dumps({"url":u,"status":r.status,"ttfb_ms":ms,"score":len(pres)*20,"present":pres}, indent=2))
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: smartcalc-saas-sec
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Zero-dependency HTTP security header & TTFB latency scorer CLI for SaaS apps.
|
|
5
|
+
Project-URL: Homepage, https://edgeandpower-alt.github.io/smart-calc-hub/
|
|
6
|
+
Project-URL: CloudAPI, https://apify.com/smartcalclabs/saas-ssl-security-auditor
|
|
7
|
+
Project-URL: ProSuite, https://edgepower.gumroad.com/l/fofgjz
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# ⚡ smartcalc-saas-sec
|
|
12
|
+
|
|
13
|
+
Zero-dependency HTTP security header & TTFB latency scorer CLI for SaaS apps.
|
|
14
|
+
|
|
15
|
+
## Install & Run
|
|
16
|
+
```bash
|
|
17
|
+
pip install smartcalc-saas-sec
|
|
18
|
+
saas-sec --help
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Managed Cloud API & Offline Pro Studio
|
|
22
|
+
- ☁️ **Cloud Automation Bot (Apify Store)**: [https://apify.com/smartcalclabs/saas-ssl-security-auditor](https://apify.com/smartcalclabs/saas-ssl-security-auditor)
|
|
23
|
+
- 📦 **Zero-Install Offline App + CSV Sheets ($5.99)**: [https://edgepower.gumroad.com/l/fofgjz](https://edgepower.gumroad.com/l/fofgjz)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
smartcalc_saas_sec/__init__.py
|
|
4
|
+
smartcalc_saas_sec/cli.py
|
|
5
|
+
smartcalc_saas_sec.egg-info/PKG-INFO
|
|
6
|
+
smartcalc_saas_sec.egg-info/SOURCES.txt
|
|
7
|
+
smartcalc_saas_sec.egg-info/dependency_links.txt
|
|
8
|
+
smartcalc_saas_sec.egg-info/entry_points.txt
|
|
9
|
+
smartcalc_saas_sec.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
smartcalc_saas_sec
|