Python microframework for building nature-inspired algorithms

NiaPy Nature-inspired algorithms are a very popular tool for solving optimization problems. Numerous variants of nature-inspired algorithms have been developed (paper 1, paper 2) since the beginning of their era. To prove their versatility, those were tested in various domains on various applications, especially when they are hybridized, modified or adapted. However, implementation of nature-inspired algorithms is sometimes a difficult, complex and tedious task. In order to break this wall, NiaPy is intended for simple and quick use, without spending […]

Read more

A python based command line tool to compare Github Users or Repositories

gitcomp A simple python package with a CLI to compare GitHub users and repositories by associating a git_score to each entry which is a weighted sum of features mapped to a score. git_score for a user is calculated on the basis of followers, followers to following ratio, number of public gists and number of organisations a user is part of. For a public repository, the determining factors are number of forks, if the repository itself is forked or not, number […]

Read more

A super lightweight Lagrangian model for calculating millions of trajectories using ERA5 data

Easy-ERA5-Trck Easy-ERA5-Trck is a super lightweight Lagrangian model for calculating thousands (even millions) of trajectories simultaneously and efficiently using ERA5 data sets. It can implement super simplified equations of 3-D motion to accelerate integration, and use python multiprocessing to parallelize the integration tasks. Due to its simplification and parallelization, Easy-ERA5-Trck performs great speed in tracing massive air parcels, which makes areawide tracing possible. Another version using WRF output to drive the model can be found here. Caution: Trajectory calculation is […]

Read more

Remote control your Greenbone Vulnerability Manager

The Greenbone Vulnerability Management Tools gvm-tools are a collection of tools that help with remote controlling a Greenbone Security Manager (GSM) appliance and its underlying Greenbone Vulnerability Management (GVM) framework. The tools aid in accessing the communication protocols GMP (Greenbone Management Protocol) and OSP (Open Scanner Protocol). This module is comprised of interactive and non-interactive clients. The programming language Python is supported directly for interactive scripting. But it is also possible to issue remote GMP/OSP commands without programming in Python. […]

Read more

Machine Translation Weekly 81: Unsupervsied MT and Parallel Sentence Mining

This week I am going to briefly comment on a paper that uses unsupervised machine translation to improve unsupervised scoring for parallel data mining. The title of the paper is Unsupervised Multilingual Sentence Embeddings for Parallel Corpus Mining, it has authors from Charles University and the University of the Basque Country and will appear at this year’s ACL student research workshop. The idea of the paper is quite simple. They took XLM, a BERT-like model that was trained for 100 […]

Read more

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
1 614 615 616 617 618 912