Sunday, November 29, 2020
Home Tags Python

Tag: Python

Guide to Concurrency in Python with Asyncio

Guide to Concurrency in Python with Asyncio

1
This is a quick guide to Python’s asyncio module and is based on Python version 3.8. Introduction asyncio concurrent.futures Event Loop Awaitables Coroutines Tasks Futures Running an asyncio program Running Async Code in the REPL Use another Event Loop Concurrent Functions Deprecated Functions Examples gather wait wait_for as_completed create_task Callbacks Pools Executors asyncio.Future vs concurrent.futures.Future…
Finance Python Library GitHub

Finance Python Library GitHub

0
pyfmpcloud is a Python wrapper library for the Financial Model Prep pro API (fmpcloud.io) Installation Use the package manager pip to install pyfmpcloud pip install pyfmpcloud --upgrade --no-cache-dir Alternatively, download and extract the *.tar.gz folder, and run the following command from the root directory in your shell: Usage pyfmpcloud contains a settings module and four…
Forked a small Python text calculator and added a LOT of features

Forked a small Python text calculator and added a LOT of...

0
Please, if you make a pull request add your username to CONTRIBUTORS.md This is a Python script I forked when I wanted to learn math in Python. Learning this has been very interesting. I always make my forked repositories better — and this one is no exception! Thanks for visiting! Note that morassuttia3 is me…
Daily birthday reminder email with Python and GitHub Actions

Daily birthday reminder email with Python and GitHub Actions

0
May 24, 2020 After forgetting yet another birthday, I decided to set up a simple daily email reminder system. It consists of a Python program that is scheduled to run daily using GitHub Actions. All the birthdays and other anniversaries are maintained in a csv file and the daily email is send using Sendgrid API.…
Security scanners for Python and Docker: from code to dependencies

Security scanners for Python and Docker: from code to dependencies

0
You don’t want to deploy insecure code to production—but it’s easy for mistakes and vulnerabilities to slip through. So you want some way to catch security issues automatically, without having to think about it. This is where security scanners come in. They won’t solve all your probems—you should still be using services that proactively point…
Show HN: Fil, a new Python memory profiler for data scientists, written in Rust

Show HN: Fil, a new Python memory profiler for data scientists,...

0
If your Python data pipeline is using too much memory, it can be very difficult to figure where exactly all that memory is going. And when you do make changes, it can be difficult to figure out if your changes helped. Yes, there are existing memory profilers for Python that help you measure memory usage,…
Show HN: Python Client for Blockchain Exchange API

Show HN: Python Client for Blockchain Exchange API

0
Table of Contents Generated with DocToc Last Update: 2020-05-17 Features Installation For general use For development Prerequisites for trading Demos Listen to all public channels Create market and limit orders TODO Features Subscribe to all websocket channels available at blockchain.com | exchage: Heartbeat ♥️ Orderbook L2 📘 Orderbook L3 📗 Prices 🏧 Symbols 🔣 Ticker…
Show HN: Python package to collect normalized news from almost any website

Show HN: Python package to collect normalized news from almost any...

5
Programmatically collect normalized news from (almost) any website. Filter by topic, country, or language. Created by newscatcherapi.com but you do not need anything from us or from anyone else to get the software going, it just works out of the box. Demo Motivation While working on newscatcherapi - JSON API to query news articles, I…