Metadata-Version: 2.1
Name: hu_wiwi_grades
Version: 0.1.0
Summary: hu_wiwi_grades is a Python library for searching, viewing and scraping published students grading of the Faculty of Economics and Business Administration of the Humboldt University of Berlin
Home-page: https://github.com/NDelventhal/hu_wiwi_grades
Author: Niall Delventhal
Author-email: ni.delventhal@gmail.com
License: MIT
Download-URL: https://github.com/NDelventhal/hu_wiwi_grades/archive/v_010.tar.gz
Description: 
        
        <!-- TOC -->
        ## Table of Content
        - [hu_wiwi_grades](#hu_wiwi_grades) 
        - [Background](#background)
        - [Installation](#installation)
        - [Requirements](#requirements)
        - [Usage](#usage)
        - [License](#license)
        <!-- /TOC -->
        
        ## hu_wiwi_grades
        **hu_wiwi_grades** is a Python library for searching, viewing and scraping published students' grading of the Faculty of Economics and Business Administration of the Humboldt University of Berlin.
        
        Please note: The functionality maybe interrupted in case any changes in the publication occur or in case the website is not available.  
        
        ## Background
        
        This library was primarily created for testing/training purposes, such as extracting information from PDF files, writing and publishing of code. It nevertheless aims to offer a use-case. Current and historical grading information may be of interest for (prospective) students, examiners or potentially even employers.   
        
        ## Installation
        
        Available as soon as the package has been added to The Python Package Index (PyPI) (not supported yet!): 
        
        Use the package manager [pip](https://pip.pypa.io/en/stable/) to install hu_wiwi_grades
        
        ```bash
        pip install hu_wiwi_grades
        ```
        or through the author's Github repository 
        
        ```bash
        pip install git+https://github.com/NDelventhal/hu_wiwi_grades
        ```
        
        ## Requirements 
        
        The following libraries are required: 
        - tabula
        - pandas
        - numpy
        - requests 
        - beautifulsoup4
        
        These libraries can be installed via the package manager [pip](https://pip.pypa.io/en/stable/).
        
        ```bash
        pip install tabula numpy pandas requests bs4
        ```
        
        ## Usage
        
        ```python
        
        import hu_wiwi_grades as hu
        
        hu.list_sources() 
        # scrapes URL sources that list grading overviews and returns a dictionary containing the semesters as keys and the URLs as values. 
        
        df = hu.scrape_overview(exam = "Economics") 
        # Scrapes the latest grading overview and returns the overview or a subset based on the entered exam specification.
        # In this example solely "Finance" exams are returned. The exam arguments defaults to "" (no filtering).  
        
        df = hu.scrape_all_overviews(exam = "Valuation") 
        # Same as above, but instead of solely the latest overview all historical overviews are pulled. Typically, a few semesters are available.
        
        df = hu.get_grading(exam="", only_current_semester = True) 
        # Scrapes the grades from the URLs listed in the overview pages of either only the latest semester (only_current_semester = True) or all (only_current_semester = False). 
        # An exam filter may be specified as in the examples above or not.
        # Returns a dataframe listing the number of participants, the examiner and all grades as variables. 
        
        df2 = hu.prepare_for_analysis(df) 
        # Prepares the dataframe output of get_grading() for further analysis, such as visualisations, descriptive statistics or regression analysis.
        
        ```
        
        Further usuage examples are listed [here](https://github.com/NDelventhal/hu_wiwi_grades/blob/main/documentation/usage_examples.ipynb)
        
        ## License
        
        This project is licensed under the [MIT License](https://github.com/NDelventhal/hu_wiwi_grades/blob/main/LICENSE).
        
Platform: UNKNOWN
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
