Python News: What’s New From May 2021?

If you want to get up to speed on what happened in the world of Python in May 2021, then you’ve come to the right place to get your news! May was a month of big events. The Pallets Projects, home to popular frameworks like Flask and Click, released new major versions of all six of its core projects. The Python Software Foundation (PSF) hosted PyCon US 2021, a virtual conference that delivered an authentic in-person experience. Let’s dive into […]

Read more

Convenient script for trading with python

quick_trade convenient script for trading with python. used: ├──ta by Darío López Padial (Bukosabino https://github.com/bukosabino/ta) ├──tensorflow (https://github.com/tensorflow/tensorflow) ├──pykalman (https://github.com/pykalman/pykalman) ├──plotly (https://github.com/plotly/plotly.py) ├──scipy (https://github.com/scipy/scipy) ├──pandas (https://github.com/pandas-dev/pandas) ├──numpy (https://github.com/numpy/numpy) └──iexfinance (https://github.com/addisonlynch/iexfinance) Algo-trading system with python. customize your strategy! import quick_trade.trading_sys as qtr from quick_trade import brokers import yfinance as yf import ccxt class My_trader(qtr.Trader): def strategy_sell_and_hold(self): ret = [] for i in self.df[‘Close’].values: ret.append(qtr.utils.SELL) self.returns = ret self.set_credit_leverages(1.0) self.set_open_stop_and_take() return ret a = My_trader(‘MSFT’, df=yf.download(‘MSFT’, start=’2019-01-01′)) a.set_pyplot() a.set_client(brokers.TradingClient(ccxt.binance())) a.strategy_sell_and_hold() a.backtest() find the […]

Read more

Custom integration to use Lobe with cameras in Home Assistant

Lobe This is a Home Assistant custom component for Lobe. Lobe is an AI tool that can classify images. This component lets you easily use an exported model along with another server to classify a camera entity’s feed with it. Installation Use HACS for the integration. You’ll also need a seperate server. Steps to install on another server: Install the Lobe library. Install Flask. Export a Tensorflow Lite model into a folder on the server. Copy over app.py and change […]

Read more

An EDA tool to Layout Integrated Circuits

gdsfactory gdsfactory is an EDA (electronics design automation) tool to Layout Integrated Circuits. It is based on phidl and gdspy and provides you with functions to build your GDSII components, PDKs and masks for different foundries. You just need to adapt the functions to your foundry and build your own library of elements (see UBC PDK example). gdsfactory provides you with: functions easily adaptable to define components functions to route electrical ports to pads and optical ports grating couplers functions […]

Read more

A pure python implementation of multicast DNS service discovery

python-zeroconf This is fork of pyzeroconf, Multicast DNS Service Discovery for Python, originally by Paul Scott-Murphy (https://github.com/paulsm/pyzeroconf), modified by William McBrine (https://github.com/wmcbrine/pyzeroconf). Compatible with: Compared to some other Zeroconf/Bonjour/Avahi Python packages, python-zeroconf: isn’t tied to Bonjour or Avahi doesn’t use D-Bus doesn’t force you to use particular event loop or Twisted is pip-installable has PyPI distribution Python compatibility Versioning This project’s versions follow the following pattern: MAJOR.MINOR.PATCH. MAJOR version has been 0 so far MINOR version is incremented on backward […]

Read more

A Python package implementing various colour checker detection algorithms

Colour – Checker Detection A Python package implementing various colour checker detection algorithms and related utilities. 1 Features The following colour checker detection algorithms are implemented: 2 Installation Because of their size, the resources dependencies needed to run the various examples and unit tests are not provided within the Pypi package. They are separately available as Git Submodules when cloning the repository. 2.1 Primary Dependencies Colour – Checker Detection requires various dependencies in order to run: 2.2 Pypi Once the […]

Read more

A Straightforward Markdown Journal with python

Pepys Pepys is a journaling application that utilises markdown for writing and storing the journal entries. Markdown Highlighting Pepys provides highlighting for key Markdown syntax in a clean and focus-driven design. Bold is bold, code is clear from text, and tags and urls don’t clutter your view. Inbuilt HTML Preview With a click of a button your markdown is rendered with links all clickable, images viewable, and even iframes are interactable. Markdown Shortcuts Pepys features tools to add tables and […]

Read more

HDRI / Radiance image processing algorithms for Python

Colour – HDRI A Python package implementing various HDRI / Radiance image processing algorithms. 1 Features The following features are available: HDRI / Radiance Image Generation Debevec (1997) Camera Response Function Computation Grossberg (2003) Histogram Based Image Sampling Variance Minimization Light Probe Sampling Global Tonemapping Operators Adobe DNG SDK Colour Processing Absolute Luminance Calibration Digital Still Camera (DSC) Exposure Model Raw Processing Helpers 2 Installation Because of their size, the resources dependencies needed to run the various examples and unit […]

Read more

An asynchronous Python script made for the Python Discord Pixels event

Python Discord Pixels An asynchronous Python script made for the Python Discord Pixels event. Usage Create an image.png RGBA image with your pattern. Transparent pixels will be ignored. Get your token here. pip install -r requirements.txt -U python pixels.py token1 token2 … You can also set the PIXELS_TOKENS environment variable to token1:token2:… and run the script without any arguments. It’s not recommended to use more than 2 tokens, because you will get rate limited by Cloudflare. Heroku You can run […]

Read more

A 3D structural engineering finite element library for Python

PyNite An easy to use linear elastic 3D structural engineering finite element analysis library for Python. 3D static analysis of elastic structures. P-Δ analysis of frame type structures. Member point loads, linearly varying distributed loads, and nodal loads are supported. Classify loads by load case and create load combinations from load cases. Produces shear, moment, and deflection results and diagrams for each member. Tension-only and compression-only elements. Springs: two-way, tension-only, and compression-only. Quadrilateral plate elements (based on an isoparametric formulation). […]

Read more
1 599 600 601 602 603 906