Articles

Affichage des articles du avril, 2020

pip install psycopg2 Broken: openssl?

Image
in my case this was messing:  openssl brew install openssl export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/

What are Wheels in Python

Wheels  are  the new standard  of Python distribution and are intended to replace eggs. Support is offered in  pip >= 1.4  and  setuptools >= 0.8 . Advantages Faster installation for pure Python and native C extension packages. Avoids arbitrary code execution for installation. (Avoids setup.py) Installation of a C extension does not require a compiler on Linux, Windows or macOS. Allows better caching for testing and continuous integration. Creates .pyc files as part of installation to ensure they match the Python interpreter used. More consistent installs across platforms and machines. Source:  https://pythonwheels.com/

Removing pip cache

pip install psycopg2  --no-cache-dir  

Product Keynote (Flutter Interact '19) Adobe XD is really super powerful

Image

Async Method Call inside a Widget with Best Flutter Practices : Future Builder

Top Python Testing Frameworks

Pytest for functional testing The  pytest  framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. Link to the documentation:  https://docs.pytest.org/