Skip to main content

No project description provided

Project description

UCLA CLI

PyPI - Version PyPI - Python Version


UCLA CLI is a command-line tool for scraping data from UCLA's website, such as:

  • Course schedule information (list classes by department/requirement, class days/times)
  • Course enrollment info (spots left, waitlists, etc.)
  • and more! (whatever else I decide to add)

Why would you ever want this?

  • Scriptability - Web browsers are notoriously unscriptable, forcing you to go through tedious routines every day, click after click. With a command-line tool, it's easy to write scripts that automate boring tasks or empower you.
    • For example, you could script up an enrollment notifier (i.e. a free Coursicle replacement) using UCLA CLI in just a few lines!
  • Hacker Vibes - Be honest, you've been seeking a bit more terminal in your life.

Table of Contents

Installation

pip install ucla-cli

Getting Started

ucla classes 23F --subject MATH

Development

Design Goals

  • Front-end - This project just aims to be a front-end for UCLA's website, meaning faithfully retrieving the user-facing data from the website in a similar manner/structure as the website provides it.
  • Unix tool - This project aims to be a "good" CLI by following the conventions/philosophy of (modern) Unix command-line tools (in regards to option parsing, interactability, output format, etc.)

Related projects

  • Nathan Smith (creator of hotseat.io) has a post that describes scraping UCLA's course schedule. He uses the same scraping strategy but implemented in Go (with support for multiprocessing!).

License

ucla-cli is distributed under the terms of the MIT license.

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

ucla_cli-0.0.6.tar.gz (209.0 kB view details)

Uploaded Source

Built Distribution

ucla_cli-0.0.6-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file ucla_cli-0.0.6.tar.gz.

File metadata

  • Download URL: ucla_cli-0.0.6.tar.gz
  • Upload date:
  • Size: 209.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for ucla_cli-0.0.6.tar.gz
Algorithm Hash digest
SHA256 48abf2fa361858673455490926122178e98e3db0df52277f3e0f5d5e1563ce34
MD5 9ebacf7c0c948f58ac3af52f2d0d042b
BLAKE2b-256 63e47d057e65670227c37e56adac4ffee149db6463a6df6d68eb3969bf009f50

See more details on using hashes here.

File details

Details for the file ucla_cli-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ucla_cli-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for ucla_cli-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4fb34c4d06d5f14c2ffd610749c9f145be6557102e7ff06d7f873e01a9492880
MD5 c16069026f41081db2a4647c163eb14a
BLAKE2b-256 ebc027b30e725dae546f2bdeb3bc3a48e8437a0f8f3bdc3e1fde3976f2bb0a2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page