scandi_reddit

ScandiReddit

Construction of a Scandinavian Reddit dataset.


Documentation License LastCommit Code Coverage

Developers:

  • Dan Saattrup Nielsen (dan.nielsen@alexandra.dk)

Installation

The package is available on PyPI, so you can install the package using your favourite package manager. For instance, pip install scandi_reddit or poetry add scandi_reddit.

Quick start

Simply run the command build in the terminal to build the dataset. This takes quite a while! See $ build --help for more information on all the settings.

View Source
"""
.. include:: ../../README.md
"""

import logging

import pkg_resources

# Fetches the version of the package as defined in pyproject.toml
__version__ = pkg_resources.get_distribution("scandi_reddit").version


# Set up logging
logging.basicConfig(
    level=logging.INFO,
    format="%(asctime)s [%(levelname)s] <%(name)s> %(message)s",
    datefmt="%Y-%m-%d %H:%M:%S",
)