pyfunda 2.0.0__tar.gz → 2.1.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.
- pyfunda-2.1.0/.github/FUNDING.yml +1 -0
- pyfunda-2.1.0/.github/workflows/publish.yml +30 -0
- pyfunda-2.1.0/.gitignore +37 -0
- pyfunda-2.1.0/LICENSE +661 -0
- pyfunda-2.0.0/README.md → pyfunda-2.1.0/PKG-INFO +102 -5
- pyfunda-2.0.0/PKG-INFO → pyfunda-2.1.0/README.md +80 -26
- pyfunda-2.1.0/examples/analysis.ipynb +215 -0
- pyfunda-2.1.0/examples/export_to_csv.py +127 -0
- pyfunda-2.1.0/examples/new_listings_alert.py +117 -0
- pyfunda-2.1.0/examples/poll_new_listings.py +62 -0
- pyfunda-2.1.0/examples/price_history.py +79 -0
- pyfunda-2.1.0/examples/price_tracker.py +124 -0
- {pyfunda-2.0.0 → pyfunda-2.1.0}/funda/__init__.py +2 -2
- {pyfunda-2.0.0 → pyfunda-2.1.0}/funda/funda.py +161 -11
- pyfunda-2.1.0/funda/py.typed +0 -0
- {pyfunda-2.0.0 → pyfunda-2.1.0}/pyproject.toml +4 -4
- pyfunda-2.0.0/.gitignore +0 -10
- pyfunda-2.0.0/download_20k.py +0 -192
- pyfunda-2.0.0/download_listings.py +0 -243
- pyfunda-2.0.0/example.py +0 -13
- pyfunda-2.0.0/requirements.txt +0 -1
- pyfunda-2.0.0/test_100.json +0 -1
- pyfunda-2.0.0/uv.lock +0 -145
- {pyfunda-2.0.0 → pyfunda-2.1.0}/funda/listing.py +0 -0
- {pyfunda-2.0.0 → pyfunda-2.1.0}/test_all_flows.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
github: 0xMH
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
publish:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
|
|
14
|
+
- name: Install uv
|
|
15
|
+
uses: astral-sh/setup-uv@v4
|
|
16
|
+
|
|
17
|
+
- name: Get version
|
|
18
|
+
id: version
|
|
19
|
+
run: echo "version=$(grep '^version' pyproject.toml | cut -d'"' -f2)" >> $GITHUB_OUTPUT
|
|
20
|
+
|
|
21
|
+
- name: Build
|
|
22
|
+
run: uv build
|
|
23
|
+
|
|
24
|
+
- name: Publish to PyPI
|
|
25
|
+
run: uv publish --token ${{ secrets.PYPI_TOKEN }}
|
|
26
|
+
|
|
27
|
+
- name: Create GitHub Release
|
|
28
|
+
run: gh release create "v${{ steps.version.outputs.version }}" --title "v${{ steps.version.outputs.version }}" --generate-notes
|
|
29
|
+
env:
|
|
30
|
+
GH_TOKEN: ${{ github.token }}
|
pyfunda-2.1.0/.gitignore
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# Distribution / packaging
|
|
7
|
+
dist/
|
|
8
|
+
build/
|
|
9
|
+
*.egg-info/
|
|
10
|
+
*.egg
|
|
11
|
+
.eggs/
|
|
12
|
+
|
|
13
|
+
# Virtual environments
|
|
14
|
+
.venv/
|
|
15
|
+
venv/
|
|
16
|
+
env/
|
|
17
|
+
|
|
18
|
+
# Testing
|
|
19
|
+
.pytest_cache/
|
|
20
|
+
.coverage
|
|
21
|
+
htmlcov/
|
|
22
|
+
.tox/
|
|
23
|
+
|
|
24
|
+
# IDE
|
|
25
|
+
.idea/
|
|
26
|
+
.vscode/
|
|
27
|
+
*.swp
|
|
28
|
+
*.swo
|
|
29
|
+
*~
|
|
30
|
+
|
|
31
|
+
# OS
|
|
32
|
+
.DS_Store
|
|
33
|
+
Thumbs.db
|
|
34
|
+
|
|
35
|
+
# Project specific
|
|
36
|
+
*.json
|
|
37
|
+
uv.lock
|