Skip to content

This repo searches craigslist for cars and saves results to an sql database.

License

Notifications You must be signed in to change notification settings

labeveryday/PorscheFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PorscheFinder

Porsche

This repo was created to find a Porsche 944 (Praying for a Turbo)! This car means a lot to me. My goal is to use python to find one that is in great shape and also has a good price!

Python Virtual Environment

When executing python code or installing python applications you should get into the practice of creating and managing python virtual environments. This will allow you to run different versions of a python library while avoiding version conflicts. My preferred tool for python virtual environments is venv There are tools out there. Remember to find what works best for you.

On Linux or Mac

python3 -m venv venv
source venv/bin/activate

On Windows

python3 -m venv venv
.\venv\Scripts\activate.bat

Install project requirements

Once you have your virtual environment setup install the python libraries that are required for this repo.

pip install -r requirements.txt

Example: Script in action

Now that you have everything installed and updated you can execute the script.

python main.py

kc

Note: This script has the ability to list search all cities or select from option of cities.

Example 2

Here's an example of searching from a list of cities.

python main.py --city

list1 list2

Example 3

To search all cities:

python main.py --all

NOTE: Performing this search

Sample output.

... Some output has been omitted.

NOTE: In VScode you have the ability to view sqlite by installing vscode-sqlite

db

About me

Introverted Network Automation Engineer that is changing lives as a Developer Advocate for Cisco DevNet. Pythons scripts are delicious. Especially at 2am on a Saturday night.

My hangouts:

About

This repo searches craigslist for cars and saves results to an sql database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages