oratos 0.3.1__py3-none-win_amd64.whl
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.
|
Binary file
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: oratos
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Classifier: Development Status :: 4 - Beta
|
|
5
|
+
Classifier: Environment :: Console
|
|
6
|
+
Classifier: Intended Audience :: Developers
|
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
+
Classifier: Programming Language :: Rust
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Summary: Website visibility intelligence for SEO, accessibility, structured metadata, and AI readiness
|
|
13
|
+
Keywords: seo,accessibility,audit,html,llm
|
|
14
|
+
Home-Page: https://github.com/latentmeta/oratos
|
|
15
|
+
Author: latentmeta
|
|
16
|
+
License: MIT
|
|
17
|
+
Requires-Python: >=3.8
|
|
18
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
19
|
+
Project-URL: Homepage, https://github.com/latentmeta/oratos
|
|
20
|
+
Project-URL: Documentation, https://docs.rs/oratos
|
|
21
|
+
Project-URL: Repository, https://github.com/latentmeta/oratos
|
|
22
|
+
|
|
23
|
+
# Oratos
|
|
24
|
+
|
|
25
|
+
[](https://crates.io/crates/oratos)
|
|
26
|
+
[](https://docs.rs/oratos)
|
|
27
|
+
[](https://github.com/latentmeta/oratos/actions/workflows/ci.yml)
|
|
28
|
+
[](https://github.com/latentmeta/oratos/actions/workflows/code-quality.yml)
|
|
29
|
+
[](https://coveralls.io/github/latentmeta/oratos?branch=main)
|
|
30
|
+
[](https://github.com/latentmeta/oratos/blob/main/LICENSE)
|
|
31
|
+
[](https://github.com/latentmeta/oratos/blob/main/Cargo.toml)
|
|
32
|
+
|
|
33
|
+
**Website visibility intelligence** for SEO, accessibility, structured metadata, and AI readiness.
|
|
34
|
+
|
|
35
|
+
Oratos audits and improves websites without owning your workflow. It works on local HTML directories, static exports, and live URLs — useful in CI/CD like Credo, Sobelow, Ruff, or Lighthouse CI.
|
|
36
|
+
|
|
37
|
+
**v0.3.1** ships as a single Rust crate (CLI + library modules) with multi-ecosystem install paths that do **not** require Rust. API docs on [docs.rs](https://docs.rs/oratos) include this README.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Install
|
|
42
|
+
|
|
43
|
+
**No Rust required.** Pick your environment — full details in [docs/install.md](https://github.com/latentmeta/oratos/blob/main/docs/install.md).
|
|
44
|
+
|
|
45
|
+
### Linux / macOS
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
curl -fsSL https://raw.githubusercontent.com/latentmeta/oratos/main/scripts/install.sh | sh
|
|
49
|
+
# or: brew install latentmeta/tap/oratos
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Windows
|
|
53
|
+
|
|
54
|
+
```powershell
|
|
55
|
+
scoop bucket add latentmeta https://github.com/latentmeta/scoop-bucket
|
|
56
|
+
scoop install oratos
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Or download `oratos-v*-windows-x86_64.zip` from [Releases](https://github.com/latentmeta/oratos/releases), extract `oratos.exe`, and add it to your `PATH`.
|
|
60
|
+
|
|
61
|
+
### Version managers
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# mise
|
|
65
|
+
mise use -g github:latentmeta/oratos
|
|
66
|
+
|
|
67
|
+
# asdf
|
|
68
|
+
asdf plugin add oratos https://github.com/latentmeta/asdf-oratos.git
|
|
69
|
+
asdf install oratos latest
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### CI / language ecosystems
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
# GitHub Actions
|
|
76
|
+
- uses: latentmeta/oratos/.github/actions/setup-oratos@main
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
pip install oratos # PyPI
|
|
81
|
+
npm install -D @latentmeta/oratos # npm
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
```elixir
|
|
85
|
+
# mix.exs — only: [:dev, :test], runtime: false
|
|
86
|
+
{:oratos, "~> 0.3", only: [:dev, :test], runtime: false}
|
|
87
|
+
# then: mix oratos.audit ./priv/static
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Rust contributors
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
cargo install oratos
|
|
94
|
+
# or from a checkout:
|
|
95
|
+
cargo install --path crates/oratos
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Prebuilt binaries for Linux (x86_64/aarch64), macOS (Intel/Apple Silicon), and Windows are published on every `v*` tag with `SHA256SUMS`.
|
|
99
|
+
|
|
100
|
+
## Quick start
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
# Audit a static site directory
|
|
104
|
+
oratos audit examples/static_site
|
|
105
|
+
|
|
106
|
+
# JSON report for tooling
|
|
107
|
+
oratos audit examples/static_site --format json --output report.json
|
|
108
|
+
|
|
109
|
+
# CI gate: fail if overall score is below 85
|
|
110
|
+
oratos audit ./priv/static --fail-under 85
|
|
111
|
+
|
|
112
|
+
# Generate llms.txt draft
|
|
113
|
+
oratos generate llms examples/static_site
|
|
114
|
+
|
|
115
|
+
# LLM remediation prompt for a page
|
|
116
|
+
oratos prompt html examples/static_site/index.html
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## CLI
|
|
120
|
+
|
|
121
|
+
```text
|
|
122
|
+
oratos audit <target> [--format console|json|markdown|html|sarif] [--output PATH] [--fail-under SCORE] [--strict] [--crawl] [--changed-only] [--config PATH]
|
|
123
|
+
oratos generate llms <target> [--output PATH]
|
|
124
|
+
oratos generate metadata <target> [--output PATH]
|
|
125
|
+
oratos prompt html <file-or-url> [--output PATH]
|
|
126
|
+
oratos prompt phoenix <file-or-url> [--output PATH]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
`<target>` may be a directory (`./priv/static`, `./dist`), a single HTML file, or a URL (`https://example.com`).
|
|
130
|
+
|
|
131
|
+
**URL audits:** by default a URL fetches one page. Enable multi-page crawl with `--crawl` or `[crawl] enabled = true` in `oratos.toml` (see [Configuration](https://github.com/latentmeta/oratos/blob/main/docs/configuration.md)).
|
|
132
|
+
|
|
133
|
+
## What Oratos checks
|
|
134
|
+
|
|
135
|
+
- **SEO** — title, meta description, canonical, headings, Open Graph, Twitter cards, internal links
|
|
136
|
+
- **Accessibility** — alt text, `lang`, landmarks, form labels, link text
|
|
137
|
+
- **Structured data** — JSON-LD presence and syntax, WebPage/BreadcrumbList/ImageObject hints
|
|
138
|
+
- **LLM readiness** — `llms.txt`, extractable text, summaries, image descriptions
|
|
139
|
+
|
|
140
|
+
Scores are 0–100 per category. Overall score uses weights: SEO 30%, Accessibility 25%, Structured Data 25%, LLM Readiness 20%. Penalties: error −10, warning −5, info −1 (per category).
|
|
141
|
+
|
|
142
|
+
## Phoenix / Mix
|
|
143
|
+
|
|
144
|
+
Oratos does not replace Phoenix SEO libraries — it audits rendered HTML after prerendering or static export:
|
|
145
|
+
|
|
146
|
+
```elixir
|
|
147
|
+
# mix.exs
|
|
148
|
+
aliases: [
|
|
149
|
+
"seo.audit": ["cmd oratos audit ./priv/static --fail-under 85"],
|
|
150
|
+
"seo.report": ["cmd oratos audit ./priv/static --format html --output reports/oratos.html"]
|
|
151
|
+
]
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
See [docs/phoenix.md](https://github.com/latentmeta/oratos/blob/main/docs/phoenix.md) and [docs/ci.md](https://github.com/latentmeta/oratos/blob/main/docs/ci.md).
|
|
155
|
+
|
|
156
|
+
## Library
|
|
157
|
+
|
|
158
|
+
Use Oratos from Rust without shelling out to the CLI:
|
|
159
|
+
|
|
160
|
+
```toml
|
|
161
|
+
[dependencies]
|
|
162
|
+
oratos = "0.3"
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
```rust,no_run
|
|
166
|
+
use oratos::{audit_pages, load_pages, LoadOptions};
|
|
167
|
+
|
|
168
|
+
#[tokio::main]
|
|
169
|
+
async fn main() -> anyhow::Result<()> {
|
|
170
|
+
let pages = load_pages("examples/static_site", &LoadOptions::default()).await?;
|
|
171
|
+
let report = audit_pages("examples/static_site", &pages);
|
|
172
|
+
println!("overall score: {:.1}", report.scores.overall);
|
|
173
|
+
Ok(())
|
|
174
|
+
}
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
See [docs/architecture.md](https://github.com/latentmeta/oratos/blob/main/docs/architecture.md) for module layout. Upgrading from v0.2 split crates? See [v0.3.0 release notes](https://github.com/latentmeta/oratos/blob/main/release-notes-v0.3.0.md#upgrade-from-v020). Latest patch notes: [v0.3.1](https://github.com/latentmeta/oratos/blob/main/release-notes-v0.3.1.md).
|
|
178
|
+
|
|
179
|
+
## Documentation
|
|
180
|
+
|
|
181
|
+
- [Install](https://github.com/latentmeta/oratos/blob/main/docs/install.md)
|
|
182
|
+
- [Architecture](https://github.com/latentmeta/oratos/blob/main/docs/architecture.md)
|
|
183
|
+
- [Configuration](https://github.com/latentmeta/oratos/blob/main/docs/configuration.md)
|
|
184
|
+
- [Reports](https://github.com/latentmeta/oratos/blob/main/docs/reports.md) — includes [JSON schema](https://github.com/latentmeta/oratos/blob/main/docs/json-schema.md)
|
|
185
|
+
- [Rule catalog](https://github.com/latentmeta/oratos/blob/main/docs/rules.md)
|
|
186
|
+
- [Scoring](https://github.com/latentmeta/oratos/blob/main/docs/scoring.md)
|
|
187
|
+
- [CI/CD](https://github.com/latentmeta/oratos/blob/main/docs/ci.md)
|
|
188
|
+
- [Phoenix workflows](https://github.com/latentmeta/oratos/blob/main/docs/phoenix.md)
|
|
189
|
+
- [llms.txt](https://github.com/latentmeta/oratos/blob/main/docs/llms-txt.md)
|
|
190
|
+
- [Remediation prompts](https://github.com/latentmeta/oratos/blob/main/docs/remediation-prompts.md)
|
|
191
|
+
- [Tutorials](https://github.com/latentmeta/oratos/tree/main/docs/tutorials)
|
|
192
|
+
- [Publishing to crates.io](https://github.com/latentmeta/oratos/blob/main/docs/publishing.md)
|
|
193
|
+
- [Roadmap](https://github.com/latentmeta/oratos/blob/main/docs/roadmap.md)
|
|
194
|
+
- [Release notes (v0.3.1)](https://github.com/latentmeta/oratos/blob/main/release-notes-v0.3.1.md)
|
|
195
|
+
- [pre-commit](https://github.com/latentmeta/oratos/blob/main/docs/integrations/pre-commit.md) · [Node/Python](https://github.com/latentmeta/oratos/blob/main/docs/integrations/node-python.md)
|
|
196
|
+
|
|
197
|
+
## Development
|
|
198
|
+
|
|
199
|
+
```bash
|
|
200
|
+
cargo test
|
|
201
|
+
cargo clippy -- -D warnings
|
|
202
|
+
cargo fmt --check
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## License
|
|
206
|
+
|
|
207
|
+
MIT — see the [LICENSE file](https://github.com/latentmeta/oratos/blob/main/LICENSE).
|
|
208
|
+
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
oratos-0.3.1.dist-info/METADATA,sha256=tMUlvsYZH6B4WJ8F69M31qChUyErZw3ls3I7jesWPzk,8599
|
|
2
|
+
oratos-0.3.1.dist-info/WHEEL,sha256=LLQFiH3PDiV0Fx2rdtwgTAjjdTZOsQg2uytkqCh5Fbg,93
|
|
3
|
+
oratos-0.3.1.dist-info/licenses/LICENSE,sha256=sCtC15a469su_wiZ-4WOimKIGJ_FbaTr5gjIL5VSyJQ,1088
|
|
4
|
+
oratos-0.3.1.data/scripts/oratos.exe,sha256=I7sBSklqOUrn52izYRFtGmXXIl0cqdLP-6VQTRo-lUw,6813184
|
|
5
|
+
oratos-0.3.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 latentmeta
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|