Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
/ devtools Public archive

A Starlette site that has tools for me to use. First tool is a PyPi checker using HTTPX async calls.

License

Notifications You must be signed in to change notification settings

devsetgo/devtools

Repository files navigation

Python:

Code style: black Python 3.8

CI/CD Pipeline:

codecov Actions Status

SonarCloud:

Maintainability Rating Reliability Rating Quality Gate Status Bugs

Pypi Requirements Checker

I got tired of trying to check if there is a new version of a library for projects. So I created a way to drop my requirements.txt into a box and then call Pypi to get the lastest version.

Notes

Python 3.8 or higher

How to User

  • git clone https://github.com/devsetgo/devtools.git
  • create virtual environment
    • Linux: python3 -m venv env
    • Windows: virtualenv env
  • start virtual environment
    • Linux: source env/bin/activate
    • Windows: env\scripts\activate
  • Install App requirements
    • cd app/
    • Linux: pip3 install -r requirments.txt or ./scripts/install
    • Windows: pip install -r requirements.txt
  • Place *your requirements.txt in the data folder
  • Run application
    • Linux:
    $ ./scripts/dev_run.sh
    • Windows:
    uvicorn main:app --port 5000 --reload
    • Docker:
    $ docker run mikeryan56 pypi-checker:latest

Browser localhost:5000 (or where ever you have it running)

Try The App

Sample to copy into tool

httpx
starlette==0.11.0