An Open source home automation platform talking with python

Home Assistant Home Assistant is the world’s largest home automation platform talking with over 1700 different devices and services. Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the section on architecture and the section on […]

Read more

A Fast, Extensible Progress Bar for Python and CLI

tqdm tqdm derives from the Arabic word taqaddum (تقدّم) which can mean “progress,” and is an abbreviation for “I love you so much” in Spanish (te quiero demasiado). Instantly make your loops show a smart progress meter – just wrap any iterable with tqdm(iterable), and you’re done! from tqdm import tqdm for i in tqdm(range(10000)): … 76%|████████████████████████ | 7568/10000 [00:33<00:10, 229.00it/s] trange(N) can be also used as a convenient shortcut for tqdm(range(N)). It can also be executed as a module […]

Read more

A python library that helps you read text from an unknown charset encoding

Charset Normalizer Library that help you read text from unknown charset encoding. Project motivated by chardet, I’m trying to resolve the issue by taking another approach. All IANA character set names for which the Python core library provides codecs are supported. Introduction This library aim to assist you in finding what encoding suit the best to content. It DOES NOT try to uncover the originating encoding, in fact this program does not care about it. By originating we means the […]

Read more

Modeling the Intrinsic Information Flow between Dialogue Utterances

DialoFlow This repository contains the code and pre-trained models for our ACL 2021 paper Conversations are not Flat: Modeling the Intrinsic Information Flow between Dialogue Utterances. We propose the DialoFlow, a new paradigm to construct the dynamic information flow in the dialogue history by addressing the semantic influence brought about by each utterance. Besides, we design an automatic reference-free evaluation metric Flow Score based on the pre-trained DialoFlow for interactive dialogue quality evaluation. DialoFlow We will release the code and […]

Read more

NeRF Meta-Learning with PyTorch

nerf-meta is a PyTorch re-implementation of NeRF experiments from the paper “Learned Initializations for Optimizing Coordinate-Based Neural Representations”. Simply by initializing NeRF with meta-learned weights, we can achieve: Environment Python 3.8 PyTorch 1.8 NumPy, imageio, imageio-ffmpeg Photo Tourism Starting from a meta-initialized NeRF, we can interpolate between camera pose, focal length, aspect ratio and scene appearance. The videos below are generated with a 5 layer only NeRF, trained for ~100k iterations. Your browser does not support the video tag.Your browser […]

Read more

Visual, reactive testing library for Julia

PlutoTest.jl (alpha release) A macro @test that you can use to verify your code’s correctness. But instead of just saying “Pass” or “Fail”, let’s try to show you why a test failed. ✨ time travel ✨ to replay the execution step-by-step ⭐️ multimedia display ⭐️ to make results easy to read Try this demo in your browser First, update Pluto to at least 0.14.5! Next, add this package like so: julia> import Pkg; Pkg.add(Pkg.PackageSpec(url=”https://github.com/JuliaPluto/PlutoTest.jl”)) julia> using PlutoTest julia> @test 1 […]

Read more

Download videos from Youtube and other platforms through a Telegram Bot

ytdl-bot Download videos from YouTube and other platforms through a Telegram Bot. Usage: https://t.me/benny_ytdlbot Send link from YouTube directly to the bot. Any platform supported by youtube-dl will also work. fast download and upload. Many thanks to FastTelethon andJasonKhew96‘s contribution on this! ads free – I’ll never send ads to you, also I don’t even print logs that will identify you.So feel free to download any type of video from any website. support progress bar Normal clone code and update […]

Read more

Use AI to generate a optimized stock portfolio

AIPortfolio Logo Use AI, Modern Portfolio Theory, and Monte Carlo simulation’s to generate a optimized stock portfolio that minimizes risk while maximizing returns. How does it work? The app works by pulling the stock close data from the yahoo finance api. We then calculate the log returns and the volitility of the data to see what the overall trend for the stocks look like. We then generate random portfolio weights and use scipy to maximize a function that calculates the […]

Read more

A Neural Algorithm of Artistic Style implementation – Neural Style Transfer

ArtiStyle To quote authors Leon A. Gatys, Alexander S. Ecker, Matthias Bethge, “in light of the striking similarities between performance-optimised artificial neural networks and biological vision, our work offers a path forward to an algorithmic understanding of how humans create and perceive artistic imagery. The idea of Neural Style Transfer is taking a white noise as an input image, changing the input in such a way that it resembles the content of the content image and the texture/artistic style of […]

Read more

Python with the scientific stack compiled to WebAssembly

Pyodide Pyodide may be used in any context where you want to run Python inside a web browser. Pyodide brings the Python 3.8 runtime to the browser via WebAssembly, along with the Python scientific stack including NumPy, Pandas, Matplotlib, SciPy, and scikit-learn. The packages directory lists over 75 packages which are currently available. In addition it’s possible to install pure Python wheels from PyPi. Pyodide provides transparent conversion of objects between Javascript and Python. When used inside a browser, Python […]

Read more
1 18 19 20 21 22 30