Skip to content

ayazamlani/top_starred_python_projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Top Starred Python Projects

About

Uses the GitHub API to retrieve the most starred public Python projects. Stores the list of repositories in a SQL database table with their respective repository ID, name, URL, created date, last push date, description, and number of stars.

ListView

DetailView


Built With

  • Django
  • Tailwind CSS

Getting Started

To get a local copy up and running, please follow these simple steps.

Pre-requisites

  1. Create a virtual environment python -m venv top_starred_env

  2. Enter the environment cd top_starred_env

  3. Activate the environment Windows: Scripts\activate Mac: source bin/activate

  4. Copy src Folder in to your new environment folder Click here to download OR

    git clone https://github.com/ayazamlani/top_starred_python_projects.git

new environment dir

  1. Enter the src directory cd top_starred_python_projects

Installation

  1. Install all of the necessary libraries pip install -r requirements.txt

  2. Enter the project cd python_projects

  3. Create the SQL DB

python manage.py migrate

  1. Start the dev server! python manage.py runserver

  2. In your browser, navigate to http://localhost:8000

Configuration

To change the number of results per page, Enter the main app folder and edit the settings .py file. cd python_projects

At the bottom of settings .py change the GITHUB_REPOSITORY_RESULTS_PER_PAGE variable

Github results per page

To check out the admin panel, stop the dev server and run the following command and go through the super user setup python manage.py createsuperuser

Now restart the dev server python manage.py runserver

Navigate to http://localhost:8000/admin/ to play with the admin dash

About

Uses the GitHub API to retrieve the most starred public Python projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published