yfinance-pl 0.7.2.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.
Files changed (44) hide show
  1. yfinance_pl-0.7.2.0/.github/workflows/docs.yml +93 -0
  2. yfinance_pl-0.7.2.0/.github/workflows/release.yml +67 -0
  3. yfinance_pl-0.7.2.0/.gitignore +265 -0
  4. yfinance_pl-0.7.2.0/.python-version +1 -0
  5. yfinance_pl-0.7.2.0/Cargo.lock +4390 -0
  6. yfinance_pl-0.7.2.0/Cargo.toml +18 -0
  7. yfinance_pl-0.7.2.0/LICENSE +21 -0
  8. yfinance_pl-0.7.2.0/PKG-INFO +215 -0
  9. yfinance_pl-0.7.2.0/README.md +185 -0
  10. yfinance_pl-0.7.2.0/docs/Makefile +14 -0
  11. yfinance_pl-0.7.2.0/docs/README/ES.md +179 -0
  12. yfinance_pl-0.7.2.0/docs/README/JA.md +179 -0
  13. yfinance_pl-0.7.2.0/docs/README/KO.md +179 -0
  14. yfinance_pl-0.7.2.0/docs/README/ZH.md +179 -0
  15. yfinance_pl-0.7.2.0/docs/make.bat +35 -0
  16. yfinance_pl-0.7.2.0/docs/source/_static/.nojekyll +0 -0
  17. yfinance_pl-0.7.2.0/docs/source/_static/language-switcher.json +27 -0
  18. yfinance_pl-0.7.2.0/docs/source/conf.py +48 -0
  19. yfinance_pl-0.7.2.0/docs/source/es/conf.py +48 -0
  20. yfinance_pl-0.7.2.0/docs/source/es/index.rst +84 -0
  21. yfinance_pl-0.7.2.0/docs/source/es/reference/index.rst +192 -0
  22. yfinance_pl-0.7.2.0/docs/source/index.rst +84 -0
  23. yfinance_pl-0.7.2.0/docs/source/ja/conf.py +48 -0
  24. yfinance_pl-0.7.2.0/docs/source/ja/index.rst +84 -0
  25. yfinance_pl-0.7.2.0/docs/source/ja/reference/index.rst +192 -0
  26. yfinance_pl-0.7.2.0/docs/source/ko/conf.py +48 -0
  27. yfinance_pl-0.7.2.0/docs/source/ko/index.rst +84 -0
  28. yfinance_pl-0.7.2.0/docs/source/ko/reference/index.rst +192 -0
  29. yfinance_pl-0.7.2.0/docs/source/reference/index.rst +205 -0
  30. yfinance_pl-0.7.2.0/docs/source/zh/conf.py +48 -0
  31. yfinance_pl-0.7.2.0/docs/source/zh/index.rst +84 -0
  32. yfinance_pl-0.7.2.0/docs/source/zh/reference/index.rst +192 -0
  33. yfinance_pl-0.7.2.0/examples/01_quick_start.py +10 -0
  34. yfinance_pl-0.7.2.0/examples/02_history.py +27 -0
  35. yfinance_pl-0.7.2.0/examples/03_company_info.py +22 -0
  36. yfinance_pl-0.7.2.0/examples/04_dividends_splits.py +21 -0
  37. yfinance_pl-0.7.2.0/examples/05_financials.py +33 -0
  38. yfinance_pl-0.7.2.0/examples/06_holders.py +25 -0
  39. yfinance_pl-0.7.2.0/examples/07_analysis.py +15 -0
  40. yfinance_pl-0.7.2.0/examples/08_options.py +28 -0
  41. yfinance_pl-0.7.2.0/pyproject.toml +72 -0
  42. yfinance_pl-0.7.2.0/python/yfinance_pl/__init__.py +48 -0
  43. yfinance_pl-0.7.2.0/src/lib.rs +710 -0
  44. yfinance_pl-0.7.2.0/uv.lock +666 -0
@@ -0,0 +1,93 @@
1
+ name: Deploy Documentation
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+
9
+ permissions:
10
+ contents: read
11
+ pages: write
12
+ id-token: write
13
+
14
+ concurrency:
15
+ group: "pages"
16
+ cancel-in-progress: false
17
+
18
+ jobs:
19
+ build:
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+
24
+ - name: Set up Python
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version: "3.12"
28
+
29
+ - name: Install dependencies
30
+ run: |
31
+ pip install sphinx pydata-sphinx-theme sphinx-copybutton
32
+
33
+ - name: Build English documentation
34
+ run: |
35
+ cd docs
36
+ sphinx-build -b html source build/html/en
37
+
38
+ - name: Build Japanese documentation
39
+ run: |
40
+ cd docs
41
+ sphinx-build -b html source/ja build/html/ja
42
+
43
+ - name: Build Chinese documentation
44
+ run: |
45
+ cd docs
46
+ sphinx-build -b html source/zh build/html/zh
47
+
48
+ - name: Build Korean documentation
49
+ run: |
50
+ cd docs
51
+ sphinx-build -b html source/ko build/html/ko
52
+
53
+ - name: Build Spanish documentation
54
+ run: |
55
+ cd docs
56
+ sphinx-build -b html source/es build/html/es
57
+
58
+ - name: Copy static files and create root redirect
59
+ run: |
60
+ mkdir -p docs/build/html/_static
61
+ cp docs/source/_static/language-switcher.json docs/build/html/_static/
62
+ cat > docs/build/html/index.html << 'EOF'
63
+ <!DOCTYPE html>
64
+ <html>
65
+ <head>
66
+ <meta charset="utf-8">
67
+ <meta http-equiv="refresh" content="0; url=en/">
68
+ <link rel="canonical" href="https://yfinance-pl.rmc-8.com/en/">
69
+ <title>Redirecting to yfinance-pl documentation</title>
70
+ </head>
71
+ <body>
72
+ <p>Redirecting to <a href="en/">English documentation</a>...</p>
73
+ </body>
74
+ </html>
75
+ EOF
76
+ echo "yfinance-pl.rmc-8.com" > docs/build/html/CNAME
77
+ touch docs/build/html/.nojekyll
78
+
79
+ - name: Upload artifact
80
+ uses: actions/upload-pages-artifact@v3
81
+ with:
82
+ path: docs/build/html
83
+
84
+ deploy:
85
+ environment:
86
+ name: github-pages
87
+ url: ${{ steps.deployment.outputs.page_url }}
88
+ runs-on: ubuntu-latest
89
+ needs: build
90
+ steps:
91
+ - name: Deploy to GitHub Pages
92
+ id: deployment
93
+ uses: actions/deploy-pages@v4
@@ -0,0 +1,67 @@
1
+ name: Release to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build:
13
+ runs-on: ${{ matrix.os }}
14
+ strategy:
15
+ matrix:
16
+ os: [ubuntu-latest, macos-latest, windows-latest]
17
+ python-version: ['3.10', '3.11', '3.12', '3.13']
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version: ${{ matrix.python-version }}
25
+
26
+ - name: Install Rust
27
+ uses: dtolnay/rust-action@stable
28
+
29
+ - name: Install protobuf (Ubuntu)
30
+ if: matrix.os == 'ubuntu-latest'
31
+ run: sudo apt-get install -y protobuf-compiler
32
+
33
+ - name: Install protobuf (macOS)
34
+ if: matrix.os == 'macos-latest'
35
+ run: brew install protobuf
36
+
37
+ - name: Install protobuf (Windows)
38
+ if: matrix.os == 'windows-latest'
39
+ run: choco install protoc
40
+
41
+ - name: Build wheels
42
+ uses: PyO3/maturin-action@v1
43
+ with:
44
+ args: --release --out dist
45
+
46
+ - name: Upload wheels
47
+ uses: actions/upload-artifact@v4
48
+ with:
49
+ name: wheels-${{ matrix.os }}-py${{ matrix.python-version }}
50
+ path: dist
51
+
52
+ publish:
53
+ needs: build
54
+ runs-on: ubuntu-latest
55
+ environment: pypi
56
+ permissions:
57
+ id-token: write
58
+ steps:
59
+ - name: Download wheels
60
+ uses: actions/download-artifact@v4
61
+ with:
62
+ pattern: wheels-*
63
+ path: dist
64
+ merge-multiple: true
65
+
66
+ - name: Publish to PyPI
67
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,265 @@
1
+ # Created by https://www.toptal.com/developers/gitignore/api/python,rust,macos,linux,windows
2
+ # Edit at https://www.toptal.com/developers/gitignore?templates=python,rust,macos,linux,windows
3
+
4
+ ### Linux ###
5
+ *~
6
+
7
+ # temporary files which can be created if a process still has a handle open of a deleted file
8
+ .fuse_hidden*
9
+
10
+ # KDE directory preferences
11
+ .directory
12
+
13
+ # Linux trash folder which might appear on any partition or disk
14
+ .Trash-*
15
+
16
+ # .nfs files are created when an open file is removed but is still being accessed
17
+ .nfs*
18
+
19
+ ### macOS ###
20
+ # General
21
+ .DS_Store
22
+ .AppleDouble
23
+ .LSOverride
24
+
25
+ # Icon must end with two \r
26
+ Icon
27
+
28
+
29
+ # Thumbnails
30
+ ._*
31
+
32
+ # Files that might appear in the root of a volume
33
+ .DocumentRevisions-V100
34
+ .fseventsd
35
+ .Spotlight-V100
36
+ .TemporaryItems
37
+ .Trashes
38
+ .VolumeIcon.icns
39
+ .com.apple.timemachine.donotpresent
40
+
41
+ # Directories potentially created on remote AFP share
42
+ .AppleDB
43
+ .AppleDesktop
44
+ Network Trash Folder
45
+ Temporary Items
46
+ .apdisk
47
+
48
+ ### macOS Patch ###
49
+ # iCloud generated files
50
+ *.icloud
51
+
52
+ ### Python ###
53
+ # Byte-compiled / optimized / DLL files
54
+ __pycache__/
55
+ *.py[cod]
56
+ *$py.class
57
+
58
+ # C extensions
59
+ *.so
60
+
61
+ # Distribution / packaging
62
+ .Python
63
+ build/
64
+ develop-eggs/
65
+ dist/
66
+ downloads/
67
+ eggs/
68
+ .eggs/
69
+ lib/
70
+ lib64/
71
+ parts/
72
+ sdist/
73
+ var/
74
+ wheels/
75
+ share/python-wheels/
76
+ *.egg-info/
77
+ .installed.cfg
78
+ *.egg
79
+ MANIFEST
80
+
81
+ # PyInstaller
82
+ # Usually these files are written by a python script from a template
83
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
84
+ *.manifest
85
+ *.spec
86
+
87
+ # Installer logs
88
+ pip-log.txt
89
+ pip-delete-this-directory.txt
90
+
91
+ # Unit test / coverage reports
92
+ htmlcov/
93
+ .tox/
94
+ .nox/
95
+ .coverage
96
+ .coverage.*
97
+ .cache
98
+ nosetests.xml
99
+ coverage.xml
100
+ *.cover
101
+ *.py,cover
102
+ .hypothesis/
103
+ .pytest_cache/
104
+ cover/
105
+
106
+ # Translations
107
+ *.mo
108
+ *.pot
109
+
110
+ # Django stuff:
111
+ *.log
112
+ local_settings.py
113
+ db.sqlite3
114
+ db.sqlite3-journal
115
+
116
+ # Flask stuff:
117
+ instance/
118
+ .webassets-cache
119
+
120
+ # Scrapy stuff:
121
+ .scrapy
122
+
123
+ # Sphinx documentation
124
+ docs/_build/
125
+
126
+ # PyBuilder
127
+ .pybuilder/
128
+ target/
129
+
130
+ # Jupyter Notebook
131
+ .ipynb_checkpoints
132
+
133
+ # IPython
134
+ profile_default/
135
+ ipython_config.py
136
+
137
+ # pyenv
138
+ # For a library or package, you might want to ignore these files since the code is
139
+ # intended to run in multiple environments; otherwise, check them in:
140
+ # .python-version
141
+
142
+ # pipenv
143
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
144
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
145
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
146
+ # install all needed dependencies.
147
+ #Pipfile.lock
148
+
149
+ # poetry
150
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
151
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
152
+ # commonly ignored for libraries.
153
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
154
+ #poetry.lock
155
+
156
+ # pdm
157
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
158
+ #pdm.lock
159
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
160
+ # in version control.
161
+ # https://pdm.fming.dev/#use-with-ide
162
+ .pdm.toml
163
+
164
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
165
+ __pypackages__/
166
+
167
+ # Celery stuff
168
+ celerybeat-schedule
169
+ celerybeat.pid
170
+
171
+ # SageMath parsed files
172
+ *.sage.py
173
+
174
+ # Environments
175
+ .env
176
+ .venv
177
+ env/
178
+ venv/
179
+ ENV/
180
+ env.bak/
181
+ venv.bak/
182
+
183
+ # Spyder project settings
184
+ .spyderproject
185
+ .spyproject
186
+
187
+ # Rope project settings
188
+ .ropeproject
189
+
190
+ # mkdocs documentation
191
+ /site
192
+
193
+ # mypy
194
+ .mypy_cache/
195
+ .dmypy.json
196
+ dmypy.json
197
+
198
+ # Pyre type checker
199
+ .pyre/
200
+
201
+ # pytype static type analyzer
202
+ .pytype/
203
+
204
+ # Cython debug symbols
205
+ cython_debug/
206
+
207
+ # PyCharm
208
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
209
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
210
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
211
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
212
+ #.idea/
213
+
214
+ ### Python Patch ###
215
+ # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
216
+ poetry.toml
217
+
218
+ # ruff
219
+ .ruff_cache/
220
+
221
+ # LSP config files
222
+ pyrightconfig.json
223
+
224
+ ### Rust ###
225
+ # Generated by Cargo
226
+ # will have compiled files and executables
227
+ debug/
228
+
229
+ # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
230
+ # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
231
+ Cargo.lock
232
+
233
+ # These are backup files generated by rustfmt
234
+ **/*.rs.bk
235
+
236
+ # MSVC Windows builds of rustc generate these, which store debugging information
237
+ *.pdb
238
+
239
+ ### Windows ###
240
+ # Windows thumbnail cache files
241
+ Thumbs.db
242
+ Thumbs.db:encryptable
243
+ ehthumbs.db
244
+ ehthumbs_vista.db
245
+
246
+ # Dump file
247
+ *.stackdump
248
+
249
+ # Folder config file
250
+ [Dd]esktop.ini
251
+
252
+ # Recycle Bin used on file shares
253
+ $RECYCLE.BIN/
254
+
255
+ # Windows Installer files
256
+ *.cab
257
+ *.msi
258
+ *.msix
259
+ *.msm
260
+ *.msp
261
+
262
+ # Windows shortcuts
263
+ *.lnk
264
+
265
+ # End of https://www.toptal.com/developers/gitignore/api/python,rust,macos,linux,windows
@@ -0,0 +1 @@
1
+ 3.13