finvizp 0.2.2__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.
- finvizp-0.2.2/LICENSE +21 -0
- finvizp-0.2.2/PKG-INFO +171 -0
- finvizp-0.2.2/README.md +144 -0
- finvizp-0.2.2/pyproject.toml +89 -0
- finvizp-0.2.2/pyproject.toml.orig +64 -0
- finvizp-0.2.2/src/finvizp/__init__.py +229 -0
- finvizp-0.2.2/src/finvizp/_parsers/__init__.py +1 -0
- finvizp-0.2.2/src/finvizp/_parsers/calendar.py +209 -0
- finvizp-0.2.2/src/finvizp/_parsers/futures.py +199 -0
- finvizp-0.2.2/src/finvizp/_parsers/groups.py +152 -0
- finvizp-0.2.2/src/finvizp/_parsers/insider.py +159 -0
- finvizp-0.2.2/src/finvizp/_parsers/maps.py +277 -0
- finvizp-0.2.2/src/finvizp/_parsers/markets.py +398 -0
- finvizp-0.2.2/src/finvizp/_parsers/news.py +178 -0
- finvizp-0.2.2/src/finvizp/_parsers/quote.py +745 -0
- finvizp-0.2.2/src/finvizp/_parsers/screener.py +157 -0
- finvizp-0.2.2/src/finvizp/_parsers/statements.py +184 -0
- finvizp-0.2.2/src/finvizp/_parsers/symbols.py +243 -0
- finvizp-0.2.2/src/finvizp/_queries/groups.py +396 -0
- finvizp-0.2.2/src/finvizp/_queries/screener.py +590 -0
- finvizp-0.2.2/src/finvizp/_symbols.py +84 -0
- finvizp-0.2.2/src/finvizp/_sync.py +31 -0
- finvizp-0.2.2/src/finvizp/arrow.py +478 -0
- finvizp-0.2.2/src/finvizp/artifacts.py +414 -0
- finvizp-0.2.2/src/finvizp/cache.py +162 -0
- finvizp-0.2.2/src/finvizp/calendar.py +260 -0
- finvizp-0.2.2/src/finvizp/capabilities.json +555 -0
- finvizp-0.2.2/src/finvizp/capabilities.py +259 -0
- finvizp-0.2.2/src/finvizp/client.py +1297 -0
- finvizp-0.2.2/src/finvizp/crypto.py +223 -0
- finvizp-0.2.2/src/finvizp/earnings.py +349 -0
- finvizp-0.2.2/src/finvizp/errors.py +200 -0
- finvizp-0.2.2/src/finvizp/forex.py +281 -0
- finvizp-0.2.2/src/finvizp/futures.py +181 -0
- finvizp-0.2.2/src/finvizp/groups.py +364 -0
- finvizp-0.2.2/src/finvizp/insider.py +302 -0
- finvizp-0.2.2/src/finvizp/maps.py +235 -0
- finvizp-0.2.2/src/finvizp/models.py +157 -0
- finvizp-0.2.2/src/finvizp/news.py +275 -0
- finvizp-0.2.2/src/finvizp/quote.py +414 -0
- finvizp-0.2.2/src/finvizp/results.py +185 -0
- finvizp-0.2.2/src/finvizp/schema_registry.json +299 -0
- finvizp-0.2.2/src/finvizp/schemas.py +289 -0
- finvizp-0.2.2/src/finvizp/screener.py +590 -0
- finvizp-0.2.2/src/finvizp/screener_registry.json +7893 -0
- finvizp-0.2.2/src/finvizp/statements.py +522 -0
- finvizp-0.2.2/src/finvizp/symbols.py +217 -0
finvizp-0.2.2/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Volker Lorrmann
|
|
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.
|
finvizp-0.2.2/PKG-INFO
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: finvizp
|
|
3
|
+
Version: 0.2.2
|
|
4
|
+
Summary: Async, Arrow-native Python client for the public Finviz data surface.
|
|
5
|
+
Keywords: finviz,finance,stocks,pyarrow,async
|
|
6
|
+
Author: Volker Lorrmann
|
|
7
|
+
Author-email: Volker Lorrmann <volker.lorrmann@gmail.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Topic :: Office/Business :: Financial :: Investment
|
|
18
|
+
Requires-Dist: fastreq[curl]>=3.2.0
|
|
19
|
+
Requires-Dist: lxml>=6.0.0
|
|
20
|
+
Requires-Dist: pyarrow>=18.0.0
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Project-URL: Homepage, https://github.com/legout/finvizp
|
|
23
|
+
Project-URL: Repository, https://github.com/legout/finvizp
|
|
24
|
+
Project-URL: Issues, https://github.com/legout/finvizp/issues
|
|
25
|
+
Project-URL: Documentation, https://github.com/legout/finvizp/tree/main/docs
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# finvizp
|
|
29
|
+
|
|
30
|
+
[](https://github.com/legout/finvizp/actions/workflows/ci.yml)
|
|
31
|
+
[](https://www.python.org/)
|
|
32
|
+
[](LICENSE)
|
|
33
|
+
|
|
34
|
+
**Finviz for Python** — an unofficial, async-first, Arrow-native Finviz client
|
|
35
|
+
built on [`fastreq`](https://pypi.org/project/fastreq/), direct lxml, and
|
|
36
|
+
PyArrow.
|
|
37
|
+
|
|
38
|
+
> [!IMPORTANT]
|
|
39
|
+
> `finvizp` is not affiliated with, endorsed by, or sponsored by Finviz.
|
|
40
|
+
> Finviz is a trademark of its respective owner.
|
|
41
|
+
|
|
42
|
+
## Install
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
uv add finvizp # or: pip install finvizp
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Quick start
|
|
49
|
+
|
|
50
|
+
Async-first:
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
import asyncio
|
|
54
|
+
import finvizp
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
async def main() -> None:
|
|
58
|
+
async with finvizp.FinvizClient() as client:
|
|
59
|
+
universe = await finvizp.symbols_async(client=client)
|
|
60
|
+
bundle = await finvizp.quote_async("AAPL", client=client)
|
|
61
|
+
print(bundle.data.snapshot.num_rows)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
asyncio.run(main())
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Every operation has a **sync twin** (same name, no `_async` suffix) for
|
|
68
|
+
scripts and notebooks:
|
|
69
|
+
|
|
70
|
+
```python
|
|
71
|
+
import finvizp
|
|
72
|
+
|
|
73
|
+
matches = finvizp.search_symbols("APPLE")
|
|
74
|
+
income = finvizp.statements("AAPL", statement="IA") # IA/IQ/BA/BQ/CA/CQ
|
|
75
|
+
snap = finvizp.snapshot("AAPL") # cached, no 2nd request
|
|
76
|
+
quote = finvizp.quote("AAPL") # complete bundle
|
|
77
|
+
universe = finvizp.symbols()
|
|
78
|
+
finvizp.capabilities() # implemented/planned ledger
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Sync twins reject an active event loop; results, caching, and errors are
|
|
82
|
+
identical.
|
|
83
|
+
|
|
84
|
+
## What's implemented
|
|
85
|
+
|
|
86
|
+
| Milestone | Surface | Status |
|
|
87
|
+
|---|---|---|
|
|
88
|
+
| 0.1 | Symbols, statements, quote bundles, cache | ✅ |
|
|
89
|
+
| 0.2 | Screener, signals/earnings, registry drift tools | ✅ |
|
|
90
|
+
| 0.3 | Groups, spectrum, maps, news, insider, calendar | ✅ |
|
|
91
|
+
| 0.4 | Markets, artifacts (charts/spectrum), forex/crypto, futures | ✅ |
|
|
92
|
+
| 0.5 | Frozen-surface + finvizfinance parity audit | ✅ |
|
|
93
|
+
| 1.0 | Stable release | pending |
|
|
94
|
+
|
|
95
|
+
The full implemented/planned ledger lives in the
|
|
96
|
+
[capability matrix](docs/user/reference/capability-matrix.md) and
|
|
97
|
+
`finvizp.capabilities()`.
|
|
98
|
+
|
|
99
|
+
## Design in one screen
|
|
100
|
+
|
|
101
|
+
- **Async-first with sync twins** — one transport, no hidden event loops.
|
|
102
|
+
- **Arrow-native** — every dataset is a versioned, deterministic Arrow table.
|
|
103
|
+
- **Immutable `FetchResult[T]`** — full provenance, typed partial/error
|
|
104
|
+
diagnostics, no in-place mutation.
|
|
105
|
+
- **Complete compound bundles** — e.g. a quote page yields every relation in
|
|
106
|
+
one fetch; cache-preserving projections (`snapshot`, `ratings`, `news`,
|
|
107
|
+
`insider`, `peers`, `etf_holders`) never re-request.
|
|
108
|
+
- **Structured-first sources** — public JSON/XHR or embedded payloads when
|
|
109
|
+
same-tier, complete, direct, and snapshot-coherent; lxml parsing otherwise.
|
|
110
|
+
- **Explicit proxies, route-isolated auth, conservative pacing/retries,
|
|
111
|
+
bounded result caching, single-flight coalescing.** A per-client 429
|
|
112
|
+
circuit breaker trips after 3 consecutive rate limits and fails fast
|
|
113
|
+
(`CircuitOpenError`, no request sent) until the cooldown passes.
|
|
114
|
+
- **No** login/browser automation, bulk crawling, pandas contract,
|
|
115
|
+
persistence layer, telemetry, or entitlement bypass.
|
|
116
|
+
|
|
117
|
+
## Documentation
|
|
118
|
+
|
|
119
|
+
User docs (Diataxis — tutorials, how-to, reference, explanation), rendered
|
|
120
|
+
with [Zensical](https://zensical.org) from
|
|
121
|
+
[`docs/user/`](docs/user/):
|
|
122
|
+
|
|
123
|
+
| You want to… | Go to |
|
|
124
|
+
|---|---|
|
|
125
|
+
| Try it in 5 minutes | [Get started](docs/user/tutorials/get-started.md) |
|
|
126
|
+
| Use the sync API | [Use the sync API](docs/user/how-to/sync-api.md) |
|
|
127
|
+
| Set proxies / caching | [Proxies & cache](docs/user/how-to/proxies-and-cache.md) |
|
|
128
|
+
| Migrate from `finvizfinance` | [Migration guide](docs/user/how-to/migrate-from-finvizfinance.md) |
|
|
129
|
+
| Check a dataset's columns | [Arrow schemas](docs/user/reference/schemas-0.1.md) |
|
|
130
|
+
| Understand result envelopes | [Results](docs/user/reference/results.md) |
|
|
131
|
+
| See every capability + status | [Capability matrix](docs/user/reference/capability-matrix.md) |
|
|
132
|
+
|
|
133
|
+
Deep links: [screener](docs/user/reference/screener.md) ·
|
|
134
|
+
[screener registry](docs/user/reference/screener-registry.md) ·
|
|
135
|
+
[groups/maps/events](docs/user/reference/groups-maps-events.md) ·
|
|
136
|
+
[markets/artifacts](docs/user/reference/markets-and-artifacts.md) ·
|
|
137
|
+
[schema versioning](docs/user/reference/schema-versioning.md) ·
|
|
138
|
+
[keep your own history](docs/user/how-to/caller-owned-history.md) ·
|
|
139
|
+
[access & responsible use](docs/user/explanation/access-and-responsible-use.md)
|
|
140
|
+
|
|
141
|
+
Build the site locally:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
uv run zensical build --clean
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Background research (surface inventory, finvizfinance audit, Yahoo overlap,
|
|
148
|
+
snapshot-history semantics) lives under
|
|
149
|
+
[`docs/research/`](docs/research) and
|
|
150
|
+
[`docs/brainstorming/`](docs/brainstorming); the
|
|
151
|
+
[foundation design](docs/superpowers/specs/2026-08-27-finvizp-foundation-design.md)
|
|
152
|
+
tracks the approved architecture. Publication mechanics:
|
|
153
|
+
[`docs/publishing.md`](docs/publishing.md).
|
|
154
|
+
|
|
155
|
+
## Development
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
uv sync --all-groups
|
|
159
|
+
uv run pytest
|
|
160
|
+
uv run ruff format --check . && uv run ruff check .
|
|
161
|
+
uv run ty check src
|
|
162
|
+
uv build
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
## Access policy
|
|
166
|
+
|
|
167
|
+
Finviz public pages, Elite features, and export/API endpoints carry
|
|
168
|
+
different entitlements. `finvizp` does not automate login, solve challenges,
|
|
169
|
+
bypass access controls, or rotate proxies to evade limits. Callers are
|
|
170
|
+
responsible for valid access and data-use rights. See
|
|
171
|
+
[access & responsible use](docs/user/explanation/access-and-responsible-use.md).
|
finvizp-0.2.2/README.md
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# finvizp
|
|
2
|
+
|
|
3
|
+
[](https://github.com/legout/finvizp/actions/workflows/ci.yml)
|
|
4
|
+
[](https://www.python.org/)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
7
|
+
**Finviz for Python** — an unofficial, async-first, Arrow-native Finviz client
|
|
8
|
+
built on [`fastreq`](https://pypi.org/project/fastreq/), direct lxml, and
|
|
9
|
+
PyArrow.
|
|
10
|
+
|
|
11
|
+
> [!IMPORTANT]
|
|
12
|
+
> `finvizp` is not affiliated with, endorsed by, or sponsored by Finviz.
|
|
13
|
+
> Finviz is a trademark of its respective owner.
|
|
14
|
+
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
uv add finvizp # or: pip install finvizp
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Quick start
|
|
22
|
+
|
|
23
|
+
Async-first:
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
import asyncio
|
|
27
|
+
import finvizp
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
async def main() -> None:
|
|
31
|
+
async with finvizp.FinvizClient() as client:
|
|
32
|
+
universe = await finvizp.symbols_async(client=client)
|
|
33
|
+
bundle = await finvizp.quote_async("AAPL", client=client)
|
|
34
|
+
print(bundle.data.snapshot.num_rows)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
asyncio.run(main())
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Every operation has a **sync twin** (same name, no `_async` suffix) for
|
|
41
|
+
scripts and notebooks:
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
import finvizp
|
|
45
|
+
|
|
46
|
+
matches = finvizp.search_symbols("APPLE")
|
|
47
|
+
income = finvizp.statements("AAPL", statement="IA") # IA/IQ/BA/BQ/CA/CQ
|
|
48
|
+
snap = finvizp.snapshot("AAPL") # cached, no 2nd request
|
|
49
|
+
quote = finvizp.quote("AAPL") # complete bundle
|
|
50
|
+
universe = finvizp.symbols()
|
|
51
|
+
finvizp.capabilities() # implemented/planned ledger
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Sync twins reject an active event loop; results, caching, and errors are
|
|
55
|
+
identical.
|
|
56
|
+
|
|
57
|
+
## What's implemented
|
|
58
|
+
|
|
59
|
+
| Milestone | Surface | Status |
|
|
60
|
+
|---|---|---|
|
|
61
|
+
| 0.1 | Symbols, statements, quote bundles, cache | ✅ |
|
|
62
|
+
| 0.2 | Screener, signals/earnings, registry drift tools | ✅ |
|
|
63
|
+
| 0.3 | Groups, spectrum, maps, news, insider, calendar | ✅ |
|
|
64
|
+
| 0.4 | Markets, artifacts (charts/spectrum), forex/crypto, futures | ✅ |
|
|
65
|
+
| 0.5 | Frozen-surface + finvizfinance parity audit | ✅ |
|
|
66
|
+
| 1.0 | Stable release | pending |
|
|
67
|
+
|
|
68
|
+
The full implemented/planned ledger lives in the
|
|
69
|
+
[capability matrix](docs/user/reference/capability-matrix.md) and
|
|
70
|
+
`finvizp.capabilities()`.
|
|
71
|
+
|
|
72
|
+
## Design in one screen
|
|
73
|
+
|
|
74
|
+
- **Async-first with sync twins** — one transport, no hidden event loops.
|
|
75
|
+
- **Arrow-native** — every dataset is a versioned, deterministic Arrow table.
|
|
76
|
+
- **Immutable `FetchResult[T]`** — full provenance, typed partial/error
|
|
77
|
+
diagnostics, no in-place mutation.
|
|
78
|
+
- **Complete compound bundles** — e.g. a quote page yields every relation in
|
|
79
|
+
one fetch; cache-preserving projections (`snapshot`, `ratings`, `news`,
|
|
80
|
+
`insider`, `peers`, `etf_holders`) never re-request.
|
|
81
|
+
- **Structured-first sources** — public JSON/XHR or embedded payloads when
|
|
82
|
+
same-tier, complete, direct, and snapshot-coherent; lxml parsing otherwise.
|
|
83
|
+
- **Explicit proxies, route-isolated auth, conservative pacing/retries,
|
|
84
|
+
bounded result caching, single-flight coalescing.** A per-client 429
|
|
85
|
+
circuit breaker trips after 3 consecutive rate limits and fails fast
|
|
86
|
+
(`CircuitOpenError`, no request sent) until the cooldown passes.
|
|
87
|
+
- **No** login/browser automation, bulk crawling, pandas contract,
|
|
88
|
+
persistence layer, telemetry, or entitlement bypass.
|
|
89
|
+
|
|
90
|
+
## Documentation
|
|
91
|
+
|
|
92
|
+
User docs (Diataxis — tutorials, how-to, reference, explanation), rendered
|
|
93
|
+
with [Zensical](https://zensical.org) from
|
|
94
|
+
[`docs/user/`](docs/user/):
|
|
95
|
+
|
|
96
|
+
| You want to… | Go to |
|
|
97
|
+
|---|---|
|
|
98
|
+
| Try it in 5 minutes | [Get started](docs/user/tutorials/get-started.md) |
|
|
99
|
+
| Use the sync API | [Use the sync API](docs/user/how-to/sync-api.md) |
|
|
100
|
+
| Set proxies / caching | [Proxies & cache](docs/user/how-to/proxies-and-cache.md) |
|
|
101
|
+
| Migrate from `finvizfinance` | [Migration guide](docs/user/how-to/migrate-from-finvizfinance.md) |
|
|
102
|
+
| Check a dataset's columns | [Arrow schemas](docs/user/reference/schemas-0.1.md) |
|
|
103
|
+
| Understand result envelopes | [Results](docs/user/reference/results.md) |
|
|
104
|
+
| See every capability + status | [Capability matrix](docs/user/reference/capability-matrix.md) |
|
|
105
|
+
|
|
106
|
+
Deep links: [screener](docs/user/reference/screener.md) ·
|
|
107
|
+
[screener registry](docs/user/reference/screener-registry.md) ·
|
|
108
|
+
[groups/maps/events](docs/user/reference/groups-maps-events.md) ·
|
|
109
|
+
[markets/artifacts](docs/user/reference/markets-and-artifacts.md) ·
|
|
110
|
+
[schema versioning](docs/user/reference/schema-versioning.md) ·
|
|
111
|
+
[keep your own history](docs/user/how-to/caller-owned-history.md) ·
|
|
112
|
+
[access & responsible use](docs/user/explanation/access-and-responsible-use.md)
|
|
113
|
+
|
|
114
|
+
Build the site locally:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
uv run zensical build --clean
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Background research (surface inventory, finvizfinance audit, Yahoo overlap,
|
|
121
|
+
snapshot-history semantics) lives under
|
|
122
|
+
[`docs/research/`](docs/research) and
|
|
123
|
+
[`docs/brainstorming/`](docs/brainstorming); the
|
|
124
|
+
[foundation design](docs/superpowers/specs/2026-08-27-finvizp-foundation-design.md)
|
|
125
|
+
tracks the approved architecture. Publication mechanics:
|
|
126
|
+
[`docs/publishing.md`](docs/publishing.md).
|
|
127
|
+
|
|
128
|
+
## Development
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
uv sync --all-groups
|
|
132
|
+
uv run pytest
|
|
133
|
+
uv run ruff format --check . && uv run ruff check .
|
|
134
|
+
uv run ty check src
|
|
135
|
+
uv build
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## Access policy
|
|
139
|
+
|
|
140
|
+
Finviz public pages, Elite features, and export/API endpoints carry
|
|
141
|
+
different entitlements. `finvizp` does not automate login, solve challenges,
|
|
142
|
+
bypass access controls, or rotate proxies to evade limits. Callers are
|
|
143
|
+
responsible for valid access and data-use rights. See
|
|
144
|
+
[access & responsible use](docs/user/explanation/access-and-responsible-use.md).
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "finvizp"
|
|
3
|
+
version = "0.2.2"
|
|
4
|
+
description = "Async, Arrow-native Python client for the public Finviz data surface."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
requires-python = ">=3.11"
|
|
9
|
+
keywords = [
|
|
10
|
+
"finviz",
|
|
11
|
+
"finance",
|
|
12
|
+
"stocks",
|
|
13
|
+
"pyarrow",
|
|
14
|
+
"async",
|
|
15
|
+
]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3.11",
|
|
21
|
+
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Programming Language :: Python :: 3.13",
|
|
23
|
+
"Programming Language :: Python :: 3.14",
|
|
24
|
+
"Topic :: Office/Business :: Financial :: Investment",
|
|
25
|
+
]
|
|
26
|
+
dependencies = [
|
|
27
|
+
"fastreq[curl]>=3.2.0",
|
|
28
|
+
"lxml>=6.0.0",
|
|
29
|
+
"pyarrow>=18.0.0",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[[project.authors]]
|
|
33
|
+
name = "Volker Lorrmann"
|
|
34
|
+
email = "volker.lorrmann@gmail.com"
|
|
35
|
+
|
|
36
|
+
[project.urls]
|
|
37
|
+
Homepage = "https://github.com/legout/finvizp"
|
|
38
|
+
Repository = "https://github.com/legout/finvizp"
|
|
39
|
+
Issues = "https://github.com/legout/finvizp/issues"
|
|
40
|
+
Documentation = "https://github.com/legout/finvizp/tree/main/docs"
|
|
41
|
+
|
|
42
|
+
[dependency-groups]
|
|
43
|
+
dev = [
|
|
44
|
+
"mkdocstrings-python>=2.0.7",
|
|
45
|
+
"pytest>=8.0.0",
|
|
46
|
+
"pytest-asyncio>=0.24.0",
|
|
47
|
+
"ruff>=0.8.0",
|
|
48
|
+
"ty>=0.0.1a1",
|
|
49
|
+
"zensical>=0.0.57",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
[build-system]
|
|
53
|
+
requires = ["uv_build>=0.11.8,<0.12.0"]
|
|
54
|
+
build-backend = "uv_build"
|
|
55
|
+
|
|
56
|
+
[tool.uv.build-backend]
|
|
57
|
+
module-name = "finvizp"
|
|
58
|
+
module-root = "src"
|
|
59
|
+
|
|
60
|
+
[tool.pytest.ini_options]
|
|
61
|
+
asyncio_mode = "auto"
|
|
62
|
+
testpaths = ["tests"]
|
|
63
|
+
filterwarnings = [
|
|
64
|
+
"error",
|
|
65
|
+
"ignore::DeprecationWarning",
|
|
66
|
+
]
|
|
67
|
+
markers = [
|
|
68
|
+
"live_public: bounded opt-in checks against public Finviz surfaces",
|
|
69
|
+
"live_elite: bounded opt-in checks requiring legitimate authenticated state",
|
|
70
|
+
]
|
|
71
|
+
|
|
72
|
+
[tool.ruff]
|
|
73
|
+
target-version = "py311"
|
|
74
|
+
line-length = 100
|
|
75
|
+
|
|
76
|
+
[tool.ruff.lint]
|
|
77
|
+
select = [
|
|
78
|
+
"E",
|
|
79
|
+
"F",
|
|
80
|
+
"W",
|
|
81
|
+
"I",
|
|
82
|
+
"UP",
|
|
83
|
+
"B",
|
|
84
|
+
"SIM",
|
|
85
|
+
"RUF",
|
|
86
|
+
]
|
|
87
|
+
|
|
88
|
+
[tool.ty.environment]
|
|
89
|
+
python-version = "3.11"
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "finvizp"
|
|
3
|
+
version = "0.2.2"
|
|
4
|
+
description = "Async, Arrow-native Python client for the public Finviz data surface."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
authors = [{ name = "Volker Lorrmann", email = "volker.lorrmann@gmail.com" }]
|
|
9
|
+
requires-python = ">=3.11"
|
|
10
|
+
keywords = ["finviz", "finance", "stocks", "pyarrow", "async"]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
13
|
+
"Operating System :: OS Independent",
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"Programming Language :: Python :: 3.11",
|
|
16
|
+
"Programming Language :: Python :: 3.12",
|
|
17
|
+
"Programming Language :: Python :: 3.13",
|
|
18
|
+
"Programming Language :: Python :: 3.14",
|
|
19
|
+
"Topic :: Office/Business :: Financial :: Investment",
|
|
20
|
+
]
|
|
21
|
+
dependencies = ["fastreq[curl]>=3.2.0", "lxml>=6.0.0", "pyarrow>=18.0.0"]
|
|
22
|
+
|
|
23
|
+
[project.urls]
|
|
24
|
+
Homepage = "https://github.com/legout/finvizp"
|
|
25
|
+
Repository = "https://github.com/legout/finvizp"
|
|
26
|
+
Issues = "https://github.com/legout/finvizp/issues"
|
|
27
|
+
Documentation = "https://github.com/legout/finvizp/tree/main/docs"
|
|
28
|
+
|
|
29
|
+
[dependency-groups]
|
|
30
|
+
dev = [
|
|
31
|
+
"mkdocstrings-python>=2.0.7",
|
|
32
|
+
"pytest>=8.0.0",
|
|
33
|
+
"pytest-asyncio>=0.24.0",
|
|
34
|
+
"ruff>=0.8.0",
|
|
35
|
+
"ty>=0.0.1a1",
|
|
36
|
+
"zensical>=0.0.57",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
[build-system]
|
|
40
|
+
requires = ["uv_build>=0.11.8,<0.12.0"]
|
|
41
|
+
build-backend = "uv_build"
|
|
42
|
+
|
|
43
|
+
[tool.uv.build-backend]
|
|
44
|
+
module-name = "finvizp"
|
|
45
|
+
module-root = "src"
|
|
46
|
+
|
|
47
|
+
[tool.pytest.ini_options]
|
|
48
|
+
asyncio_mode = "auto"
|
|
49
|
+
testpaths = ["tests"]
|
|
50
|
+
filterwarnings = ["error", "ignore::DeprecationWarning"]
|
|
51
|
+
markers = [
|
|
52
|
+
"live_public: bounded opt-in checks against public Finviz surfaces",
|
|
53
|
+
"live_elite: bounded opt-in checks requiring legitimate authenticated state",
|
|
54
|
+
]
|
|
55
|
+
|
|
56
|
+
[tool.ruff]
|
|
57
|
+
target-version = "py311"
|
|
58
|
+
line-length = 100
|
|
59
|
+
|
|
60
|
+
[tool.ruff.lint]
|
|
61
|
+
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
|
|
62
|
+
|
|
63
|
+
[tool.ty.environment]
|
|
64
|
+
python-version = "3.11"
|