A bot that posts a Hadith every hour on Twitter & Facebook with python

Hadith Every Hour A bot that posts a Hadith every hour on Twitter & Facebook. (Every 3 hours for now to avoid spamming) Status Currently posting the Hadiths from Sahih al-Bukhari in serial. Concept It’s really simple. GitHub action is written in this file. You can notice a scheduler – on: schedule: – cron: “0 */3 * * *” And the rest of the process is self explanatory. A tracker is used to put the latest posted Hadith number in […]

Read more

A python script for Homeassistant that counts down the days to birthdays

Date Countdown A python script for Homeassistant that counts down the days to birthdays, anniversaries etc Important note I no longer use homeassistant so if this script stops being compatible with homeassistant that will be the end of the line. That said, it hasn’t needed any maintenence in over a year and was working well so it will probably be fine to use for a long while yet. How it works This script creates a sensor that a counts down […]

Read more

A python package for simulation and gradient based parameter estimation in the context

SimPEG Simulation and Parameter Estimation in Geophysics – A python package for simulation and gradient based parameter estimation in the context of geophysical applications. The vision is to create a package for finite volume simulation with applications to geophysical imaging and subsurface flow. To enable the understanding of the many different components, this package has the following features: modular with respect to the spacial discretization, optimization routine, and geophysical problem built with the inverse problem in mind provides a framework […]

Read more

Spotify: Machine learning to personalize the user experience

This article was published as a part of the Data Science Blogathon. What is user engagement? User engagement is the quality of the user experience that emphasizes the positive aspect of the interaction so that the person who has got this positive experience will want to use the technology longer and often. This is one of the things that a lot of companies– internet companies– try to do. There’s various characteristic. What does it mean to be engaged? Spotify is focused. […]

Read more

A Python library for pulling data out of HTML and XML files

Beautiful Soup Beautiful Soup is a Python library for pulling data out of HTML and XML files. It works with your favorite parser to provide idiomatic ways of navigating, searching, and modifying the parse tree. It commonly saves programmers hours or days of work. These instructions illustrate all major features of Beautiful Soup 4, with examples. I show you what the library is good for, how it works, how to use it, how to make it do what you want, […]

Read more

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
1 654 655 656 657 658 935