Metadata-Version: 2.4
Name: fondsweb-scraper
Version: 0.1.0
Summary: Web scraper for ETF data from fondsweb website.
Project-URL: Homepage, https://github.com/asmaier/fondsweb
Author-email: asmaier <asmaier@web.de>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Natural Language :: German
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Office/Business :: Financial :: Investment
Requires-Python: >=3.12
Requires-Dist: cloudscraper>=1.2.71
Requires-Dist: lxml>=5.4.0
Requires-Dist: pandas>=2.2.3
Description-Content-Type: text/markdown

# fondsweb-scraper

Web scraper for ETF data from fondsweb website.

## Setup project
The project needs `uv` for package management. To install on e.g. Mac OS X do

    $ brew install uv

Then you can initialize the project

    $ uv sync

## Run linter and tests

    $ uv run ruff check
    $ uv run pytest -s

## Teardown project

    $ rm -r .venv uv.lock

## Upload to PyPi
Before you can upload packages to PyPi you need to create an account at PyPi, activate 2FA (e.g. use Ente Authenticator)
and create an API-Token. Then you can configure `uv` to use the API-Token like

    $ uv auth login upload.pypi.org
    username: __token__
    password: <your-api-token>

You can then build and upload the package to PyPi simply by

    $ uv build                         # will build both sdist and wheel 
    $ uv publish --username __token__  # by default publishes to PyPi

To test if your package was successfully published you can do

    $ uv run --with "fondsweb-scraper==<your-version>" --no-project -- python -c "import fondsweb"
