Deploy a STAC API and a dynamic mosaic tiler API using AWS CDK

Earth Observation API Deploy a STAC API and a dynamic mosaic tiler API using AWS CDK. Source Code: https://github.com/developmentseed/eoAPI Deployment The stack is deployed by the AWS CDK utility. Under the hood, CDK will create the deployment packages required for AWS Lambda, upload it to AWS, and handle the creation of the Lambda and API Gateway resources. Install CDK and connect to your AWS account. This step is only necessary once per AWS account.

Read more

A github template to start a Flask Project

A full feature Flask project template. See also Python-Project-Template for a lean, low dependency Python app. HOW TO USE THIS TEMPLATE DO NOT FORK this is meant to be used from Use this template feature. Click on Use this template Give a name to your project(e.g. my_awesome_project recommendation is to use all lowercase and underscores separation for repo names.) Wait until the first run of CI finishes(Github Actions will process the template and commit to your new repo) If you […]

Read more

A Python library and command line interface for training deep neural networks from biological sequence data such as genomes

Selene is a Python library and command line interface for training deep neural networks from biological sequence data such as genomes. Please see our release notes for the latest updates to Selene. Installation We recommend using Selene with Python 3.6 or above. Package installation should only take a few minutes (less than 10 minutes, typically ~2-3 minutes) with any of these methods (conda, pip, source). First, install PyTorch. If you have an NVIDIA GPU, install a version of PyTorch that […]

Read more

A Web scraping library and command-line tool for text discovery and extraction

Description Trafilatura is a Python package and command-line tool which seamlessly downloads, parses, and scrapes web page data: it can extract metadata, main body text and comments while preserving parts of the text formatting and page structure. The output can be converted to different formats. Distinguishing between a whole page and the page’s essential parts can help to alleviate many quality problems related to web text processing, by dealing with    

Read more

Python News: What’s New From August 2021?

Summer holidays have ended, and it’s back to school again. While it was a time of leisure and getting disconnected from the virtual world for many of us, the Python maintainers and contributors have been busy working during that same period. Just in August 2021, the Python community saw three new Python releases, bringing some important security fixes, optimizations, and brand-new features. Let’s dive into the biggest Python news from the past month! Python 3.10 Is Almost Ready On August […]

Read more

Django-admin fixture generator command

django-admin commands which generate fixture data for your given apps’s models using Mimesis data generator. requirementspip install django pip install mimesis pip install pyyaml pip install colorama installationpip intall mockangoINSTALLED_APPS = [ … ‘mockango’, ] usage app_labels(positional): labels of app you need fixture data for them –num(optional)(default=10): number of object generate for each model –foramt(optional)(default=yaml): format of fixture file –locale(optional)(default=en): supported mimesis localespython manage.py generatedata posts –num 5 –format yaml –locale fa examples models.pyclass Post(models.Model): title = models.Charfield(max_length=200) text = […]

Read more

Simple FIX protocol implementation for Python

FIX (Financial Information eXchange) Protocol is a widely-used, text-based protocol for interaction between parties in financial trading. Banks, brokers, clearing firms, exchanges, and other general market participants use FIX protocol for all phases of electronic trading. Typically, a FIX implementation exists as a FIX Engine: a standalone service that acts as a gateway for other applications (matching engines, trading algos, etc) and implements the FIX protocol. The most popular Open Source FIX engine is probably one of the versions of […]

Read more

A simple display manager app for the WaveShare 2.7in e-Paper Display

A simple display manager app for the WaveShare 2.7in e-Paper HAT Screens The app provides a number of screens that can be displayed on the e-paper HAT, and allows switching between them with the builtin buttons. The included screens are: uptime – a system info viewer affirmations – display positive affirmations (or whatever kind you want, really) fortune – shows a random fortune from the fortune database (requires the fortune-mod package) Install fortune-mod with this command: sudo apt install fortune-mod […]

Read more
1 28 29 30 31 32 48