IamPython
290 subscribers
148 photos
13 videos
8 files
195 links
This is Python based telegram group for web developers, Artificial intelligence, webscraping, Datascience, Data analysis, Ethical Hacking and more. You will learn lot insights and useful information
Download Telegram
Join now
You don't really need a virtualenv

When you develop a Python project, you need to install the project's dependencies.

Problem:

Virtualenvs help us isolate project dependencies, but things get tricky when it comes to nested venvs: One installs the virtualenv manager(like Pipenv or Poetry) using a venv encapsulated Python, and creates more venvs using the tool which is based on an encapsulated Python. One day a minor release of Python is out and one has to check all those venvs and upgrade them if required before they can safely delete the out-dated Python version.


Solution:

PEP 582 -- Python local packages directory
PDM -- A new Python package manager and workflow tool that leverages PEP 582 to get rid of virtualenv entirely. It installs dependencies into the local package directory package and makes Python interpreters aware of it with a very simple step.

In PDM, PEP 582 is not mandatory, you can also stick with virtualenv. PDM can detect existing venvs but not create new ones.
Researchers From Google Brain Introduces Symbolic Programming And A Python Library Called PyGlove For Automated machine learning
Python facts

——

The "return" and "yield" keywords can only be used inside functions.

The "nonlocal" keyword can only be used in a nested scope.


In contract, a star import can only be used at the module level.


Of course, "continue" and "break" only make sense inside a loop:
We are having daily Datascience and AI sessions everyday evening at 9:30 PM IST

Pls join if you are interested
30th anniversary to Python! Celebrate 🎉 🍾

Come for the language, stay for the community 💙 💛

—- Python Developers
**** important

Python Steering Council is announced that
chosen to accept PEP 634, and its companion PEPs 635 and 636, collectively known as the
Pattern Matching PEPs.

Pattern matching feature is very challenging.

First time ever., long pending proposal was accepted and going to be a big change and will be ready for new release 3.10.

This is was proposed by Author of Python (he is one of the member for proposal )


Rejected proposals are 640 and 642.
MEETUP -Django Live Coding Project

Join Zoom Meeting
https://us02web.zoom.us/j/84127482955?pwd=SFpUVEZ2U2p2dCtsRzRYOFlnWFdQZz09

Meeting ID: 841 2748 2955
Passcode: robo


Django Food App development live
Please join if you interested
In another 10mins - you will understand python development
Now Google is making a $350,000 donation to support some Python Software Foundation (PSF) projects that aim to improve the supply-chain security of the Python ecosystem.Google steps up its sponsorship of one of the most popular and important languages for machine learning and artificial intelligence
Python integers are interesting because they are not just 32-bit or 64-bit integers that CPUs work with natively. Python integers are arbitrary-precision integers, also known as bignums. This means that they can be as large as we want, and their sizes are only limited by the amount of available memory.
PipeLayer is a lightweight Python pipeline framework. Define a series of steps, and chain them together to create modular applications.


pip install pipelayer



https://github.com/greater-than/PipeLayer
Google AI is Announced the release of TensorFlow 3D, a set of training and evaluation pipelines for state-of-the-art 3D semantic segmentation, object detection and instance segmentation, with support for distributed training
Python is introducing new keyword name called “match” which is similar to switch in C, C++, Java (not exact the same). It will land in next alpha release of 3.10. You can use this one with functions, without functions and even in classes.
Florence is a Python-based computational framework for the numerical simulations of multi-physics problems using the finite element methods.

Florence supports all major operating systems including Linux, macOS and Windows (under Cygwin/MinGW) under
• Python 2.7
• Python >= 3.5
• PyPy >= v5.7.0


pip install Florence


Doc : https://github.com/romeric/florence/wiki/1.-Getting-started-with-Florence
Do you know what is IIFE in Python ?

IIFE - immediately invoked function execution:

Which you can use in lambda expression passing args values immediate right to expression.


(lambda x, y, z: x + y + z)(1, 2, 3)


Note : IIFE is actually concept from JavaScript
When you understand Underscores in Python, You will be knowing following concepts as well.

◌Name Mangling
◌Private variables (there is no private variables )
◌Dunder or Special or Magic methods
◌Usage of _ (underscore) for variable