semvec/pypi-packages huggingface dataset:
spiegel-scraper 1.1.1
Scrape article metadata and comments from DER SPIEGEL
License: MIT

# spiegel-scraper
[![PyPI](https://img.shields.io/pypi/v/spiegel-scraper)](https://pypi.org/project/spiegel-scraper/)

Scrape articles and comments from DER SPIEGEL

## Setup
```bash
pip install spiegel-scraper
```

## Usage
```python
from datetime import date
import spiegel_scraper as spon

# list all articles from 2020-01-31
archive_entries = spon.archive.by_date(date(2020, 1, 31))
# or, for later replication, retrieve and scrape the html instead
archive_html = spon.archive.html_by_date(date(2020, 1, 31))
archive_entries_from_html = spon.archive.scrape_html(archive_html)

# fetch one article by url
article_url = archive_entries[0]['url']
article = spon.article.by_url(article_url)
# or alternatively using the html
article_html = spon.article.html_by_url(article_url)
article_from_html = spon.article.scrape_html(article_html)

# retrieve all comments for an article
comments = spon.comments.by_article_id(article['id'])
```
pyassembly 2.3
Creates an egg or a zip distribution with all its transitive dependencies
License: MIT
Keywords: egg,zip,transitive,dependencies,assembly

PyAssembly
===============================
pyassembly is the Python setup.py command. If you are familiar with fat or uber jar, than this command will come as no surprise for you. By installing and using it, you will get an "uber" egg or zip file, which will contain not only your project, but will also include all the dependencies you specified in you requirements.txt file, including the dependence of the dependencies (a.k.a. transitive dependencies), making it easy to create a self-contained distribution.


Installing
----------

.. code-block:: shell

	$ pip install pyassembly

Alternatively, you can include it into your requirements.txt file.


How to use
----------
Example for using the tool

.. code-block:: shell

	$ python setup.py pyassembly


How to get more options
-----------------------
After you installed the command you can get the list of options

.. code-block:: shell

	$ python setup.py pyassembly --help


Reporting Issues
----------------
If you have suggestions, bugs or other issues with this command - please open an issue or make a pull request.