User Tools

Site Tools


python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python [2020-11-15 12:35] – [General] mrkspython [2022-07-07 10:07] (current) – mrks
Line 5: Line 5:
   * [[https://www.fullstackpython.com/|Full Stack Python]]   * [[https://www.fullstackpython.com/|Full Stack Python]]
   * [[https://www.pyinstaller.org/|PyInstaller]]   * [[https://www.pyinstaller.org/|PyInstaller]]
-  * [[https://www.marc-richter.info/using-pyenv-to-manage-your-python-interpreters/|pyenv: Managing multiple Python versions]]+  * [[https://github.com/pyenv/pyenv#simple-python-version-management-pyenv|Simple Python Version Management: pyenv]] 
 +  * [[https://www.marc-richter.info/using-pyenv-to-manage-your-python-interpreters/|Using pyenv to manage your Python interpreters]]
  
 ===== Package Management and Virtual Environments ===== ===== Package Management and Virtual Environments =====
  
-==== Pipenv ==== +  * [[https://docs.python.org/3/library/venv.html|venv]] 
- +  * [[https://python-poetry.org/|Poetry]] 
-  * [[https://docs.pipenv.org/install/|Installing Pipenv]] +  * Pipenv 
-  * [[https://pipenv-fork.readthedocs.io/en/latest/basics.html|Basic Usage of Pipenv]] +    * [[https://docs.pipenv.org/install/|Installing Pipenv]] 
- +    * [[https://pipenv-fork.readthedocs.io/en/latest/basics.html|Basic Usage of Pipenv]] 
- +  * PIP 
-==== Pip ==== +    * [[https://pip.pypa.io/en/stable/user_guide/#user-installs|pip User Guide, User Installs]]: ''pip install %%--%%user SomePackage'' 
- +    * Pip behind a proxy 
-See [[https://pip.pypa.io/en/stable/user_guide/#user-installs|pip User Guide, User Installs]] +      * Explicitly specify proxy: ''pip %%--%%proxy=http://user:password@proxy.example.com:12345 some-package'' 
- +      * Using environment varialbes 
-==== Local package installation ==== +        * ''HTTP_PROXY=http://user:password@proxy.example.com:12345'' 
- +        * ''HTTPS_PROXY=http://user:password@proxy.example.com:12345'' 
-''pip install %%--%%user SomePackage'' +        * ''pip install some-package''
- +
-==== Pip behind a proxy ==== +
- +
-  * Explicitly specify proxy: ''pip %%--%%proxy=http://user:password@proxy.example.com:12345 some-package'' +
-  * Using environment varialbes +
-    * ''HTTP_PROXY=http://user:password@proxy.example.com:12345'' +
-    * ''pip install some-package''+
  
 ==== Without pip ==== ==== Without pip ====
Line 39: Line 33:
  
 The source of the package can then be placed within this folder. Packages consisting of only one file can be placed directly under site-packages with the respective package name. Packages containing of multiple files can be placed within a subfolder named according to the package, e.g. ''smb''. The package main file would then be the ''__init__.py'' within the ''smb'' folder. The source of the package can then be placed within this folder. Packages consisting of only one file can be placed directly under site-packages with the respective package name. Packages containing of multiple files can be placed within a subfolder named according to the package, e.g. ''smb''. The package main file would then be the ''__init__.py'' within the ''smb'' folder.
- 
- 
-==== Packages ==== 
- 
- 
-  * [[https://pysmb.readthedocs.io/en/latest/api/smb_SMBConnection.html|pysmb]] for accessing SMB/Samba network shares 
  
  
Line 63: Line 51:
   * [[https://docs.python.org/3/howto/logging-cookbook.html|Logging Cookbook]]   * [[https://docs.python.org/3/howto/logging-cookbook.html|Logging Cookbook]]
   * [[https://docs.python-guide.org/writing/logging/|Logging – The Hitchhiker's Guide to Python]]   * [[https://docs.python-guide.org/writing/logging/|Logging – The Hitchhiker's Guide to Python]]
 +
 +
 +===== Packages =====
 +
 +  * [[https://pypi.org/project/pip-licenses/|pip-licenses]]: Dump the software license list of Python packages installed with pip.
 +  * [[https://pysmb.readthedocs.io/en/latest/api/smb_SMBConnection.html|pysmb]] for accessing SMB/Samba network shares
 +  * [[https://fastapi.tiangolo.com/|FastAPI]] for creating APIs in Python
 +
 +
 +===== Miscellaneous =====
 +
 +  * [[http://skybert.net/python/developing-a-restful-micro-service-in-python/|Developing a RESTful micro service in Python]]
 +
 +
python.1605440120.txt.gz · Last modified: by mrks