Skip to main content

A python package for abstracting python class methods behind a fully functional layer intended for educational use in CMPSC 131 at The Pennsylvania State University

Project description

PSU Python

A python package for abstracting python class methods behind a fully functional layer. Intended for educational use in CMPSC 131 at The Pennsylvania State University. Packaged for distribution on PyPi

Usage

psu-python is packaged and available on PyPi. To use psu-python, install it with pip in your python environment:

pip install psu-python

You will now be able to import psu-python modules in your python code:

# import all functions
from psu_python import *
# or specific ones
from psu_python import to_lower, get_item

def main():
    ...

Developer Install

  1. Clone the repository

    git clone git@github.com:tedtasman/psu-python.git
    cd ./psu-python
    
  2. Create a virtual environment

    • MacOS / Linux:
      python3 -m venv .venv
      source ./.venv/bin/activate
      
    • Windows Powershell
      python -m venv .venv
      .\.venv\Scripts\activate
      
  3. Install psu-python locally in editable mode

    pip install -e .
    

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

psu_python-0.2.4.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psu_python-0.2.4-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file psu_python-0.2.4.tar.gz.

File metadata

  • Download URL: psu_python-0.2.4.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for psu_python-0.2.4.tar.gz
Algorithm Hash digest
SHA256 46308c45b4e891bf1ecb64bb5356295cd18c6abe4059f495f698167a609dcb84
MD5 0e5d7f3e76e96401347f3dad0e92094e
BLAKE2b-256 29a01c1ef9108e4be93281ee3acb39dea17ea5e15e91d8009b380e931a52407b

See more details on using hashes here.

File details

Details for the file psu_python-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: psu_python-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for psu_python-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 34713e0c860adab54dd9eeafeaba7d046e5d958cf7b05fc9ea7491281822e9de
MD5 23cdac5c2c8c3978bcfcf3f9363fc199
BLAKE2b-256 072ff48530e70e65d415557398a3dd4f7f89ed909192fa83bf1a99dcf51cba2c

See more details on using hashes here.

Supported by

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