🔗
URL Shortener
I built code quality tools into project (linting, formatting, type annotation checks)
I built code quality tools into project (linting, formatting, type annotation checks)
pyshorteners. I will also build an example with bringing a different library into the codebase.projects\url_shortenerpython -m venv venvvenv\Scripts\activatepip install -r requirements.txtpython app/main.py(venv) python-beginner-projects\projects\url_shortener>`python app/main.py`
Enter the URL you want to shorten: https://www.bing.com/search?q=bing&cvid=e42b0995bcd045849a216437b88847be&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRg8MgYIAhBFGDwyBggDEEUYPDIGCAQQRRg8MgYIBRBFGDzSAQczOTlqMGo0qAIIsAIB&FORM=ANAB01&PC=U531
Shortened URL: https://tinyurl.com/275h2qwv
I built code quality tools into project (linting, formatting, type annotation checks)
ruff check . - linterruff check --fix - fix lintingruff format - formattingmypy . - type annotation checkingAuthor: justinjohnson-dev Last Update: 05/25/2024
No — it uses pyshorteners/requests to call a live URL-shortening API and depends on pywin32.