Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия |
develop:python:python [2024/03/27 22:33] – mirocow | develop:python:python [2025/07/08 13:27] (текущий) – [Repositories] mirocow |
---|
| |
====== Python ====== | ====== Python ====== |
| |
| * https://docs.python.org/3/ |
| * [[docs]] |
| |
===== Debian - установка ===== | ===== Debian - установка ===== |
| |
* apt-get install python python-dev python-support python-lxml, python-gevent openssl python-gevent-socketio python-psutil python-reconfigure python-daemon python-passlib python-requests python-dbus python-imaging stunnel apt-show-versions python-catcher python-exconsole | * apt-get install python python-dev python-support python-lxml, python-gevent openssl python-gevent-socketio python-psutil python-reconfigure python-daemon python-passlib python-requests python-dbus python-imaging stunnel apt-show-versions python-catcher python-exconsole |
* easy_install pip | |
| |
| |
* pip install -Iv http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.2/MySQL-python-1.2.2.tar.gz/download | * pip install -Iv http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.2/MySQL-python-1.2.2.tar.gz/download |
| |
| ===== Установка poetry пакетов (зависимостей) ===== |
| |
| * pip install poetry |
| * poetry add fastapi alchemy celery uvicorn sqlalchemy-utils debugpy pydantic alembic loguru |
==== Ключи: ==== | ==== Ключи: ==== |
| |
| |
<code bash>pip install git+https://github.com/wireservice/csvkit/archive/master.zip</code> | <code bash>pip install git+https://github.com/wireservice/csvkit/archive/master.zip</code> |
| |
===== Обновление pip пакетов ===== | ===== Обновление pip пакетов ===== |
| |
| |
==== Обновление всех пакетов ==== | ==== Обновление всех пакетов ==== |
| |
| |
<code bash> | <code bash> |
$ pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install --upgrade | $ pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install --upgrade |
</code> | </code> |
| |
===== Отладка ===== | ===== Отладка ===== |
| |
==== Repositories ==== | ==== Repositories ==== |
| |
* https://github.com/benoitc/gunicorn - WSGI HTTP Server for UNIX, fast clients and sleepy applications. | * gunicorn - https://github.com/benoitc/gunicorn - WSGI HTTP Server for UNIX, fast clients and sleepy applications. |
* https://github.com/celery/celery - ASGI Application. Distributed Task Queue (development branch) | * celery - https://github.com/celery/celery - ASGI Application. Distributed Task Queue (development branch) |
* https://github.com/django/django - The Web framework for perfectionists with deadlines. | * django - https://github.com/django/django - The Web framework for perfectionists with deadlines. |
* https://github.com/encode/starlette - The little ASGI framework that shines. | * starlette - https://github.com/encode/starlette - The little ASGI framework that shines. |
* https://github.com/encode/uvicorn - An ASGI web server, for Python. | * uvicorn - https://github.com/encode/uvicorn - An ASGI web server, for Python. |
* https://github.com/geopandas/geopandas - Python tools for geographic data | * geopandas - https://github.com/geopandas/geopandas - Python tools for geographic data |
* https://github.com/jonashaag/bjoern - A screamingly fast Python 2/3 WSGI server written in C. | * bjoern - https://github.com/jonashaag/bjoern - A screamingly fast Python 2/3 WSGI server written in C. |
* https://github.com/kvesteri/sqlalchemy-utils - Various utility functions and datatypes for SQLAlchemy. | * sqlalchemy-utils - https://github.com/kvesteri/sqlalchemy-utils - Various utility functions and datatypes for SQLAlchemy. |
* https://github.com/microsoft/debugpy - An implementation of the Debug Adapter Protocol for Python | * debugpy - https://github.com/microsoft/debugpy - An implementation of the Debug Adapter Protocol for Python |
* https://github.com/pallets/flask/ - The Python micro framework for building web applications | * flask - https://github.com/pallets/flask - The Python micro framework for building web applications |
* https://github.com/pydantic/pydantic - Data validation using Python type hints | * pydantic - https://github.com/pydantic/pydantic - Data validation using Python type hints |
* https://github.com/python-poetry/poetry - Python packaging and dependency management made easy | * poetry - https://github.com/python-poetry/poetry - Python packaging and dependency management made easy |
* https://github.com/sqlalchemy/alembic - A database migrations tool for SQLAlchemy. | * alembic - https://github.com/sqlalchemy/alembic - A database migrations tool for SQLAlchemy. |
* https://github.com/sqlalchemy/sqlalchemy - The Database Toolkit for Python | * [[alembic]] |
* https://github.com/tiangolo/fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production | * sqlalchemy - https://github.com/sqlalchemy/sqlalchemy - The Database Toolkit for Python |
* https://github.com/Toblerity/Fiona - Fiona reads and writes geographic data files | * fastapi - https://github.com/tiangolo/fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production |
* https://github.com/Pylons/pyramid - Pyramid - A Python web framework | * fiona - https://github.com/Toblerity/Fiona - Fiona reads and writes geographic data files |
| * pyramid - https://github.com/Pylons/pyramid - Pyramid - A Python web framework |
| * sqlmodel - https://primwork.cc/fastapi/sqlmodel |
| * faststream - https://github.com/airtai/faststream - FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis. |
| * click - Creating beautiful command line interfaces - https://click.palletsprojects.com/en/stable/ |
| |
| ==== Проекты ==== |
| |
| * https://github.com/taskiq-python/taskiq-faststream |
| |
| |
| ==== Template ==== |
| |
| * https://github.com/airtai/faststream-gen-template |
| * https://github.com/airtai/faststream-gen |
| * https://github.com/airtai/faststream-template |
| |
| ==== Быстрый старт / boilerplate ==== |
| |
| * https://github.com/igorbenav/FastAPI-boilerplate |
| * https://github.com/marcieltorres/python-boilerplate-project |
| * https://github.com/marcieltorres/fast-api-boilerplate-project |
| * https://github.com/nb-programmer/python-sample-fastapi |
| * https://github.com/Donnype/fastapi-template.git |
| * https://github.com/tiangolo/full-stack-fastapi-template |
| * https://github.com/teamhide/fastapi-boilerplate |
| * https://github.com/sanjit-sinha/TelegramBot-Boilerplate |
| * https://github.com/mansotra99/Fast-api-Boilerplate |
| * https://github.com/johnnymillergh/python_boilerplate |
| * https://github.com/4GeeksAcademy/flask-rest-hello |
| * https://github.com/gregory-lebl/python-mistral-fastapi-template |
| * https://github.com/deepmancer/microservice-docker-example |
| * https://github.com/Mindinventory/flask-boilerplate-structure |
| * https://github.com/ivozzo/ivozzo-pyBoilerplate |
| * https://github.com/Shahzayb/python-devtools-boilerplate |
| * https://github.com/dugite-code/python-boilerplates |
| * https://github.com/s3rius/FastAPI-template |
| * https://github.com/teamhide/fastapi-boilerplate |
| * https://github.com/jonra1993/fastapi-alembic-sqlmodel-async |
| * https://github.com/fastapi-mvc/fastapi-mvc |
| * https://github.com/igorbenav/SQLModel-boilerplate |
| * https://github.com/alexk1919/fastapi-motor-mongo-template |
| * https://github.com/jonasrenault/fastapi-react-mongodb-docker |
| * https://github.com/Donnype/fastapi-template |
| * https://github.com/uriyyo/fastapi-async-safe-dependencies |
| * https://github.com/fastapi-mvc/fastapi-mvc |
| * https://github.com/Steinbeck-Lab/cheminformatics-microservice |
| * https://github.com/artiz/beobachter |
| * https://github.com/marcieltorres/fast-api-boilerplate-project |
| * https://github.com/jpcadena/fastapi-graphql |
| * https://github.com/fastapi/fastapi-cli |
| * https://github.com/marcieltorres/python-boilerplate-project |
| * https://github.com/iam-abbas/FastAPI-Production-Boilerplate |
| * https://github.com/ankushjain2001/fastapi-react-mongodb |
| * https://github.com/allient/create-fastapi-project |
| * https://github.com/rafsaf/minimal-fastapi-postgres-template |
| * https://github.com/welel/fastapi-scaffold |
| * https://github.com/priyanshu-panwar/fastapi-utilities |
| * https://github.com/scraiber/fastapi-db-example |
| * https://github.com/suriya-mca/faststart.io |
| * https://github.com/bibektimilsina00/FastAPI-PgStarterKit |
| * https://github.com/jonasrenault/fastapi-react-mongodb-docker |
| * https://github.com/YeonwooSung/FastAPI_Templates |
| * https://github.com/fastapi/typer |
| * https://github.com/gaganpreet/fastapi-starter |
| * https://github.com/gaganpreet/fastapi-starter |
| * https://github.com/mongodb-labs/full-stack-fastapi-mongodb |
| * https://github.com/arthurhenrique/cookiecutter-fastapi |
| * https://github.com/hebertcisco/deploy-python-fastapi-in-vercel |
| * https://github.com/pog7x/fastapi-arch-tmpl |
| * https://github.com/chinmayshah99/fastapi-multitenant |
| * https://github.com/Sayanc2000/fastapi-multitenant |
| * https://git.homegu.com/rafsaf/minimal-fastapi-postgres-template |
| * https://git.homegu.com/alexpacio/python-webapp-boilerplate |
| * https://primwork.cc/fastapi/asyncer |
| * https://github.com/airtai/faststream-template |
| |
| |
==== Sites ==== | ==== Sites ==== |
| |
* https://github.com/viraptor/phply | * https://github.com/viraptor/phply |
| |
===== Сообщества ===== | ===== Сообщества ===== |
| |
===== Документация / Книги / Статьи / Инструменты для изучения языка ===== | ===== Документация / Книги / Статьи / Инструменты для изучения языка ===== |
| |
| * [[pages]] |
| * https://docs.python.org/3 :!: |
* https://docs.python.org/2.7 :!: | * https://docs.python.org/2.7 :!: |
* https://pythonworld.ru (Python 3) | * https://pythonworld.ru (Python 3) |
* http://xgu.ru/wiki/Python_%D0%B4%D0%BB%D1%8F_%D1%81%D0%B5%D1%82%D0%B5%D0%B2%D1%8B%D1%85_%D0%B8%D0%BD%D0%B6%D0%B5%D0%BD%D0%B5%D1%80%D0%BE%D0%B2 | * http://xgu.ru/wiki/Python_%D0%B4%D0%BB%D1%8F_%D1%81%D0%B5%D1%82%D0%B5%D0%B2%D1%8B%D1%85_%D0%B8%D0%BD%D0%B6%D0%B5%D0%BD%D0%B5%D1%80%D0%BE%D0%B2 |
* https://habrahabr.ru/post/207988/ | * https://habrahabr.ru/post/207988/ |
| * https://pythonru.com/osnovy |
| * https://pythonru.com/primery |
| * https://pythonru.com/biblioteki |
| * https://pythonru.com/baza-znanij |
| |
===== Видеоуроки ===== | ===== Видеоуроки ===== |
* http://pythonz.net/videos/ | * http://pythonz.net/videos/ |
* https://www.youtube.com/playlist?list=PLQAt0m1f9OHvv2wxPGSCWjgy1qER_FvB6 | * https://www.youtube.com/playlist?list=PLQAt0m1f9OHvv2wxPGSCWjgy1qER_FvB6 |
==== ENG ==== | * [[https://www.youtube.com/playlist?list=PLThir7bWH6DCO701N3QCqfpsq9BUi7niB|Мини-Курс Visual Studio Code для Python]] |
| * [[https://www.youtube.com/playlist?list=PLV0FNhq3XMOISm0bY1MIx5wCEtzgcQWNM|Python Pro - Fast Course / Быстрый Курс]] |
| |
| ===== Ссылки ===== |
| |
| {{topic>[python]}} |