commodity-registry 0.1.4__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.
@@ -0,0 +1,285 @@
1
+ ### VisualStudioCode template
2
+ .vscode/*
3
+ !.vscode/settings.json
4
+ !.vscode/tasks.json
5
+ !.vscode/launch.json
6
+ !.vscode/extensions.json
7
+ !.vscode/*.code-snippets
8
+
9
+ # Local History for Visual Studio Code
10
+ .history/
11
+
12
+ # Built Visual Studio Code Extensions
13
+ *.vsix
14
+
15
+ ### JetBrains template
16
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
17
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
18
+
19
+ # User-specific stuff
20
+ .idea/**/workspace.xml
21
+ .idea/**/tasks.xml
22
+ .idea/**/usage.statistics.xml
23
+ .idea/**/dictionaries
24
+ .idea/**/shelf
25
+
26
+ # AWS User-specific
27
+ .idea/**/aws.xml
28
+
29
+ # Generated files
30
+ .idea/**/contentModel.xml
31
+
32
+ # Sensitive or high-churn files
33
+ .idea/**/dataSources/
34
+ .idea/**/dataSources.ids
35
+ .idea/**/dataSources.local.xml
36
+ .idea/**/sqlDataSources.xml
37
+ .idea/**/dynamic.xml
38
+ .idea/**/uiDesigner.xml
39
+ .idea/**/dbnavigator.xml
40
+
41
+ # Gradle
42
+ .idea/**/gradle.xml
43
+ .idea/**/libraries
44
+
45
+ # Gradle and Maven with auto-import
46
+ # When using Gradle or Maven with auto-import, you should exclude module files,
47
+ # since they will be recreated, and may cause churn. Uncomment if using
48
+ # auto-import.
49
+ # .idea/artifacts
50
+ # .idea/compiler.xml
51
+ # .idea/jarRepositories.xml
52
+ # .idea/modules.xml
53
+ # .idea/*.iml
54
+ # .idea/modules
55
+ # *.iml
56
+ # *.ipr
57
+
58
+ # CMake
59
+ cmake-build-*/
60
+
61
+ # Mongo Explorer plugin
62
+ .idea/**/mongoSettings.xml
63
+
64
+ # File-based project format
65
+ *.iws
66
+
67
+ # IntelliJ
68
+ out/
69
+
70
+ # mpeltonen/sbt-idea plugin
71
+ .idea_modules/
72
+
73
+ # JIRA plugin
74
+ atlassian-ide-plugin.xml
75
+
76
+ # Cursive Clojure plugin
77
+ .idea/replstate.xml
78
+
79
+ # SonarLint plugin
80
+ .idea/sonarlint/
81
+
82
+ # Crashlytics plugin (for Android Studio and IntelliJ)
83
+ com_crashlytics_export_strings.xml
84
+ crashlytics.properties
85
+ crashlytics-build.properties
86
+ fabric.properties
87
+
88
+ # Editor-based Rest Client
89
+ .idea/httpRequests
90
+
91
+ # Android studio 3.1+ serialized cache file
92
+ .idea/caches/build_file_checksums.ser
93
+
94
+ ### macOS template
95
+ # General
96
+ .DS_Store
97
+ .AppleDouble
98
+ .LSOverride
99
+
100
+ # Icon must end with two \r
101
+ Icon
102
+
103
+ # Thumbnails
104
+ ._*
105
+
106
+ # Files that might appear in the root of a volume
107
+ .DocumentRevisions-V100
108
+ .fseventsd
109
+ .Spotlight-V100
110
+ .TemporaryItems
111
+ .Trashes
112
+ .VolumeIcon.icns
113
+ .com.apple.timemachine.donotpresent
114
+
115
+ # Directories potentially created on remote AFP share
116
+ .AppleDB
117
+ .AppleDesktop
118
+ Network Trash Folder
119
+ Temporary Items
120
+ .apdisk
121
+
122
+ ### Python template
123
+ # Byte-compiled / optimized / DLL files
124
+ __pycache__/
125
+ *.py[cod]
126
+ *$py.class
127
+
128
+ # C extensions
129
+ *.so
130
+
131
+ # Distribution / packaging
132
+ .Python
133
+ build/
134
+ develop-eggs/
135
+ dist/
136
+ downloads/
137
+ eggs/
138
+ .eggs/
139
+ lib/
140
+ lib64/
141
+ parts/
142
+ sdist/
143
+ var/
144
+ wheels/
145
+ share/python-wheels/
146
+ *.egg-info/
147
+ .installed.cfg
148
+ *.egg
149
+ MANIFEST
150
+
151
+ # PyInstaller
152
+ # Usually these files are written by a python script from a template
153
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
154
+ *.manifest
155
+ *.spec
156
+
157
+ # Installer logs
158
+ pip-log.txt
159
+ pip-delete-this-directory.txt
160
+
161
+ # Unit test / coverage reports
162
+ htmlcov/
163
+ .tox/
164
+ .nox/
165
+ .coverage
166
+ .coverage.*
167
+ .cache
168
+ nosetests.xml
169
+ coverage.xml
170
+ *.cover
171
+ *.py,cover
172
+ .hypothesis/
173
+ .pytest_cache/
174
+ cover/
175
+
176
+ # Translations
177
+ *.mo
178
+ *.pot
179
+
180
+ # Django stuff:
181
+ *.log
182
+ local_settings.py
183
+ db.sqlite3
184
+ db.sqlite3-journal
185
+
186
+ # Flask stuff:
187
+ instance/
188
+ .webassets-cache
189
+
190
+ # Scrapy stuff:
191
+ .scrapy
192
+
193
+ # Sphinx documentation
194
+ docs/_build/
195
+
196
+ # PyBuilder
197
+ .pybuilder/
198
+ target/
199
+
200
+ # Jupyter Notebook
201
+ .ipynb_checkpoints
202
+
203
+ # IPython
204
+ profile_default/
205
+ ipython_config.py
206
+
207
+ # pyenv
208
+ # For a library or package, you might want to ignore these files since the code is
209
+ # intended to run in multiple environments; otherwise, check them in:
210
+ # .python-version
211
+
212
+ # pipenv
213
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
214
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
215
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
216
+ # install all needed dependencies.
217
+ #Pipfile.lock
218
+
219
+ # poetry
220
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
221
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
222
+ # commonly ignored for libraries.
223
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
224
+ #poetry.lock
225
+
226
+ # pdm
227
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
228
+ #pdm.lock
229
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
230
+ # in version control.
231
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
232
+ .pdm.toml
233
+ .pdm-python
234
+ .pdm-build/
235
+
236
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
237
+ __pypackages__/
238
+
239
+ # Celery stuff
240
+ celerybeat-schedule
241
+ celerybeat.pid
242
+
243
+ # SageMath parsed files
244
+ *.sage.py
245
+
246
+ # Environments
247
+ .env
248
+ .venv
249
+ env/
250
+ venv/
251
+ ENV/
252
+ env.bak/
253
+ venv.bak/
254
+
255
+ # Spyder project settings
256
+ .spyderproject
257
+ .spyproject
258
+
259
+ # Rope project settings
260
+ .ropeproject
261
+
262
+ # mkdocs documentation
263
+ /site
264
+
265
+ # mypy
266
+ .mypy_cache/
267
+ .dmypy.json
268
+ dmypy.json
269
+
270
+ # Pyre type checker
271
+ .pyre/
272
+
273
+ # pytype static type analyzer
274
+ .pytype/
275
+
276
+ # Cython debug symbols
277
+ cython_debug/
278
+
279
+ # PyCharm
280
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
281
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
282
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
283
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
284
+ #.idea/
285
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Roman Medvedev
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,41 @@
1
+ Metadata-Version: 2.4
2
+ Name: commodity-registry
3
+ Version: 0.1.4
4
+ Summary: Single source of truth for financial instrument data
5
+ Project-URL: Homepage, https://github.com/romamo/commodity-registry
6
+ Project-URL: Repository, https://github.com/romamo/commodity-registry
7
+ Project-URL: Issues, https://github.com/romamo/commodity-registry/issues
8
+ Author-email: Roman Medvedev <pypi@romavm.dev>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Requires-Python: >=3.10
12
+ Requires-Dist: pydantic-market-data>=0.1.9
13
+ Requires-Dist: pydantic>=2.0
14
+ Requires-Dist: pyyaml>=6.0
15
+ Provides-Extra: fetchers
16
+ Requires-Dist: py-ftmarkets>=0.1.2; extra == 'fetchers'
17
+ Requires-Dist: py-yfinance>=0.1.2; extra == 'fetchers'
18
+ Description-Content-Type: text/markdown
19
+
20
+ # Commodity Registry
21
+
22
+ Single source of truth for financial instrument data.
23
+ Used to map ISINs, Tickers, and Names to canonical commodity identifiers.
24
+
25
+ ## Installation
26
+
27
+ ```bash
28
+ uv tool install commodity-registry
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ ```bash
34
+ commodity-reg --help
35
+ ```
36
+
37
+ ### Linting
38
+
39
+ ```bash
40
+ commodity-reg lint --verify
41
+ ```
@@ -0,0 +1,22 @@
1
+ # Commodity Registry
2
+
3
+ Single source of truth for financial instrument data.
4
+ Used to map ISINs, Tickers, and Names to canonical commodity identifiers.
5
+
6
+ ## Installation
7
+
8
+ ```bash
9
+ uv tool install commodity-registry
10
+ ```
11
+
12
+ ## Usage
13
+
14
+ ```bash
15
+ commodity-reg --help
16
+ ```
17
+
18
+ ### Linting
19
+
20
+ ```bash
21
+ commodity-reg lint --verify
22
+ ```
@@ -0,0 +1,52 @@
1
+ [project]
2
+ name = "commodity-registry"
3
+ version = "0.1.4"
4
+ description = "Single source of truth for financial instrument data"
5
+ authors = [
6
+ { name = "Roman Medvedev", email = "pypi@romavm.dev" }
7
+ ]
8
+ license = "MIT"
9
+ requires-python = ">=3.10"
10
+ dependencies = [
11
+ "pydantic>=2.0",
12
+ "pyyaml>=6.0",
13
+ "pydantic-market-data>=0.1.9",
14
+ ]
15
+ readme = "README.md"
16
+
17
+ [project.urls]
18
+ Homepage = "https://github.com/romamo/commodity-registry"
19
+ Repository = "https://github.com/romamo/commodity-registry"
20
+ Issues = "https://github.com/romamo/commodity-registry/issues"
21
+
22
+ [project.optional-dependencies]
23
+ fetchers = [
24
+ "py-yfinance>=0.1.2",
25
+ "py-ftmarkets>=0.1.2",
26
+ ]
27
+
28
+ [project.scripts]
29
+ commodity-reg = "commodity_registry.cli:main"
30
+
31
+ [dependency-groups]
32
+ dev = [
33
+ "pytest>=8.0.0",
34
+ "ruff>=0.9.2",
35
+ ]
36
+
37
+ [build-system]
38
+ requires = ["hatchling"]
39
+ build-backend = "hatchling.build"
40
+
41
+ [tool.hatch.build.targets.wheel]
42
+ packages = ["src/commodity_registry"]
43
+
44
+ [tool.hatch.build.targets.sdist]
45
+ include = ["src/commodity_registry"]
46
+
47
+ [tool.ruff]
48
+ line-length = 100
49
+ target-version = "py310"
50
+
51
+ [tool.ruff.lint]
52
+ select = ["E", "F", "I", "UP", "B"]