fxmacrodata-platform-core 0.1.0__py3-none-any.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.
- fxmacrodata_platform_core/__init__.py +4 -0
- fxmacrodata_platform_core/core.py +268 -0
- fxmacrodata_platform_core/mcp-tools.json +4291 -0
- fxmacrodata_platform_core/operations.json +5770 -0
- fxmacrodata_platform_core/py.typed +0 -0
- fxmacrodata_platform_core-0.1.0.dist-info/METADATA +56 -0
- fxmacrodata_platform_core-0.1.0.dist-info/RECORD +10 -0
- fxmacrodata_platform_core-0.1.0.dist-info/WHEEL +5 -0
- fxmacrodata_platform_core-0.1.0.dist-info/licenses/LICENSE +21 -0
- fxmacrodata_platform_core-0.1.0.dist-info/top_level.txt +1 -0
|
File without changes
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fxmacrodata-platform-core
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Public-contract data adapters for FXMacroData platform integrations
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Requires-Python: >=3.10
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Requires-Dist: fxmacrodata-public-client==0.1.1
|
|
10
|
+
Dynamic: license-file
|
|
11
|
+
|
|
12
|
+
# FXMacroData platform core
|
|
13
|
+
|
|
14
|
+
Read documented FXMacroData operations into lossless records for data platforms.
|
|
15
|
+
The package adds a stable tabular projection while preserving complete response
|
|
16
|
+
envelopes, source links, original values, release timestamps and revisions.
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
from fxmacrodata_platform_core import read, schemas
|
|
20
|
+
|
|
21
|
+
batch = read("release_calendar", {"currency": "usd"})
|
|
22
|
+
records = batch.records()
|
|
23
|
+
table_rows = batch.rows()
|
|
24
|
+
original_response = batch.payload
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
USD catalogue, recent macro history and calendar provide a no-key evaluation
|
|
28
|
+
workflow subject to the public service's limits and delay. For subscribed access,
|
|
29
|
+
provision a secret environment variable and pass only its name:
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
batch = read("indicator_history", {"currency": "eur", "indicator": "policy_rate"},
|
|
33
|
+
api_key_env="FXMACRODATA_API_KEY")
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Omitting `api_key_env` explicitly uses anonymous access. Credentials are sent in
|
|
37
|
+
headers, never operation arguments. Errors omit provider response text and URLs.
|
|
38
|
+
The package sends requests only through the public client to documented service
|
|
39
|
+
origins.
|
|
40
|
+
|
|
41
|
+
`schemas()` returns every packaged operation's input schema. Offset-paginated
|
|
42
|
+
REST operations download complete available histories within `max_pages` and
|
|
43
|
+
reject partial initial offsets. Calendar snapshot/version operations follow cursors
|
|
44
|
+
within the same archive checkpoint, retaining every original page. Other MCP tools
|
|
45
|
+
and finite SSE captures preserve their bounded public response. Use
|
|
46
|
+
`complete_history=False` for an individual history page or explicit continuation.
|
|
47
|
+
|
|
48
|
+
`record_json` and `response_json` preserve parsed public JSON except credential
|
|
49
|
+
redaction. JSON number tokens use the public Python client's numeric parser;
|
|
50
|
+
their original lexical precision is not guaranteed. Source numbers supplied as
|
|
51
|
+
strings retain their precision. `value` is an approximate floating-point
|
|
52
|
+
convenience; `value_text` represents the parsed source value. Empty responses produce one envelope
|
|
53
|
+
row with `record_json` set to JSON `null`. No publication time or future date is
|
|
54
|
+
inferred. A stable content hash identifies repeated records, without a fetch clock.
|
|
55
|
+
|
|
56
|
+
[FXMacroData documentation](https://fxmacrodata.com/documentation/reference?utm_source=github&utm_medium=referral&utm_campaign=platform-core&utm_content=readme)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
fxmacrodata_platform_core/__init__.py,sha256=rM8gbdcJu9UkVgpj6H6GuoqCECtbRxzAnStNCJmC_XM,275
|
|
2
|
+
fxmacrodata_platform_core/core.py,sha256=Z6nEp_Zknw_GhLP2IeL-2Sn7xVyD_6jffdzsLDbLJNc,12404
|
|
3
|
+
fxmacrodata_platform_core/mcp-tools.json,sha256=AbHRr1eGABOGeXDQz84YNvaCVG9c_jIPtheGtAdMUuE,160491
|
|
4
|
+
fxmacrodata_platform_core/operations.json,sha256=sv0zWuFsI6rVa6i6IaatvhURIN7ZBlomaFGLZzAuZP4,152446
|
|
5
|
+
fxmacrodata_platform_core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
fxmacrodata_platform_core-0.1.0.dist-info/licenses/LICENSE,sha256=rklK7Fl8aL1eWGubsrozZ7rCNTsN-MATw4M6LQIMv10,1092
|
|
7
|
+
fxmacrodata_platform_core-0.1.0.dist-info/METADATA,sha256=bXEVzTlRL-YJpbqwTWgBfCn18YR7GZNxJbVWfnUkow4,2688
|
|
8
|
+
fxmacrodata_platform_core-0.1.0.dist-info/WHEEL,sha256=16fc_9Rp854SLcdhaDEjr0u65p0e3FhZxihNgcnCE98,91
|
|
9
|
+
fxmacrodata_platform_core-0.1.0.dist-info/top_level.txt,sha256=BUPhulO2ng1HIuxP34gnVcOUD9468uE3uOXEQV3U4Ng,26
|
|
10
|
+
fxmacrodata_platform_core-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Robert Tidball
|
|
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.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
fxmacrodata_platform_core
|