A collection of Scrapy extensions and other utilities
Project description
Scrapy Extensions
Documentation: https://MarkusShepherd.github.io/scrapy-extensions
Source Code: https://github.com/MarkusShepherd/scrapy-extensions
PyPI: https://pypi.org/project/scrapy-extensions/
A collection of Scrapy extensions and other utilities
Installation
pip install scrapy-extensions
Development
- Clone this repository
- Requirements:
- Poetry
- Python 3.8+
- Create a virtual environment and install the dependencies
poetry install
- Activate the virtual environment
poetry shell
Testing
pytest
Documentation
The documentation is automatically generated from the content of the docs directory and from the docstrings of the public signatures of the source code. The documentation is updated and published as a Github Pages page automatically as part each release.
Releasing
Trigger the Draft release workflow (press Run workflow). This will update the changelog & version and create a GitHub release which is in Draft state.
Find the draft release from the GitHub releases and publish it. When a release is published, it'll trigger release workflow which creates PyPI release and deploys updated documentation.
Pre-commit
Pre-commit hooks run all the auto-formatting (ruff format
), linters (e.g. ruff
and mypy
), and other quality
checks to make sure the changeset is in good shape before a commit/push happens.
You can install the hooks with (runs for each commit):
pre-commit install
Or if you want them to run only for each push:
pre-commit install -t pre-push
Or if you want e.g. want to run all checks manually for all files:
pre-commit run --all-files
This project was generated using the wolt-python-package-cookiecutter template.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scrapy_extensions-1.0.2.tar.gz
.
File metadata
- Download URL: scrapy_extensions-1.0.2.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a29d9d250dc5a6a89f1cb64e7b795766e69c9400da22c6aef9c6ba2da282e64 |
|
MD5 | 866b41f13ebe3f400518d8baf7743c91 |
|
BLAKE2b-256 | e2de0bac8773915d910ac8415673b6c2b17d240c5f922a779c5899005e813e8b |
File details
Details for the file scrapy_extensions-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: scrapy_extensions-1.0.2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdd2d931e67af8ceb9bf71c5d1230ad93b7587ec0d0ebd3794f392c4cd5e72a1 |
|
MD5 | ed9b25cfe013bb3079dcb4ba447ee461 |
|
BLAKE2b-256 | 5ac41f7ad4d32d126e0108c215f68247198bb1b606d62269cee279498f59e02b |