semvec/pypi-packages huggingface dataset:
jaraco.util 15.0.0
General utility modules that supply commonly-used functionality
Requires Python: >=3.6

.. image:: https://img.shields.io/pypi/v/jaraco.util.svg
   :target: `PyPI link`_

.. image:: https://img.shields.io/pypi/pyversions/jaraco.util.svg
   :target: `PyPI link`_

.. _PyPI link: https://pypi.org/project/jaraco.util

.. image:: https://github.com/jaraco/jaraco.util/workflows/tests/badge.svg
   :target: https://github.com/jaraco/jaraco.util/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Code style: Black

.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
..    :target: https://skeleton.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2021-informational
   :target: https://blog.jaraco.com/skeleton

``jaraco.util`` contains a number of nominally useful, reusable classes
and functions. Each is designed to be intuitively named and
self-documenting (many with extensive doctests), though
the project is also documented with runnable tests.

Deprecation
-----------

In general, this grab-bag of routines is deprecated, with much of the
functionality moved or pending move to another, more appropriate home.
uiuc-api 0.1.4
A python wrapper for UIUC's official REST API for querying course data.
Requires Python: >=3.6

About
=====
`uiuc-api` is a simple python package which wraps UIUC's official REST API for querying data about courses. In addition, it deals with some of the annoyances of using the official API by providing some convient structures. Data from the official API is available in XML form, however, it is in an inconvienent-to-parse format. For instance, take the XML data for CS 173:
```xml
<label>Discrete Structures</label>

<description>Discrete mathematical structures frequently encountered in the study of Computer Science. Sets, propositions, Boolean algebra, induction, recursion, relations, functions, and graphs. Credit is not given for both CS 173 and MATH 213. Prerequisite: One of CS 125, ECE 220; one of MATH 220, MATH 221.</description>

<creditHours>3 hours.</creditHours>

<courseSectionInformation>Credit is not given for both CS 173 and MATH 213. Prerequisite: One of CS 125, ECE 220; one of MATH 220, MATH 221.</courseSectionInformation>

<classScheduleInformation>Students must register for a lecture and discussion section.</classScheduleInformation>
```
It is tedious, for example, to accurately parse out the prerequisites in a easy-to-manipulate form. `uiuc-api` does this for the user:
```py
>>> import uiuc_api as ua
>>> ua.get_course("CS 173").serialize()
```
Output:
```yaml
CS 173:
  subject: CS
  number: '173'
  hours: 3
  label: Discrete Structures
  description: 'Discrete mathematical structures frequently encountered in the study
    of Computer Science. Sets, propositions, Boolean algebra, induction, recursion,
    relations, functions, and graphs. Credit is not given for both CS 173 and MATH
    213. Prerequisite: One of CS 125, ECE 220; one of MATH 220, MATH 221.'
  schedule_info: 'Credit is not given for both CS 173 and MATH 213. Prerequisite:
    One of CS 125, ECE 220; one of MATH 220, MATH 221.'
  prereqs:
  - !!python/object/apply:builtins.frozenset
    - - ECE 220
      - CS 125
  - !!python/object/apply:builtins.frozenset
    - - MATH 220
      - MATH 221
  coreqs: []
  constraints: []
```
Installation
=========
Install the `uiuc_api`  module via pip (`uiuc-api` also works):
```bash
pip install uiuc_api
```
Documentation
=========
See https://uiuc-api.readthedocs.io/.