A conda-smithy repository for boost-histogram

Home: https://github.com/scikit-hep/boost-histogram Package license: BSD-3-Clause Feedstock license: BSD-3-Clause Summary: The official Boost.Histogram Python bindings. Provides fast, efficient histogramming with a variety of different storages combined with dozens of composable axes. Part of the Scikit-HEP family. Development: https://github.com/scikit-hep/boost-histogram Documentation: https://boost-histogram.readthedocs.io Drone Azure Name Downloads Version Platforms Installing boost-histogram from the conda-forge channel can be achieved by adding conda-forge to your channels with: conda config –add channels conda-forge conda config –set channel_priority strict Once the conda-forge channel has been enabled, boost-histogram can […]

Read more

Core Python libraries ported to MicroPython

This is a repository of libraries designed to be useful for writing MicroPython applications. The libraries here fall into four categories corresponding to the four top-level directories: python-stdlib: Compatible versions of modules from the Python Standard Library. These should be drop-in replacements for the Python libraries, although many have reduced functionality or missing methods or classes (which may not be an issue for many most cases). python-ecosys: Compatible, but reduced-functionality versions of modules from the larger Python ecosystem, for example […]

Read more

Python bindings for JIGSAW: a Delaunay-based unstructured mesh generator

JIGSAW: An unstructured mesh generator JIGSAW is an unstructured mesh generator and tessellation library; designed to generate high-quality triangulations and polyhedral decompositions of general planar, surface and volumetric domains. JIGSAW includes refinement-based algorithms for the construction of new meshes, optimisation-driven techniques for the improvement of existing grids, as well as routines to assemble (restricted) Delaunay tessellations, Voronoi complexes and Power diagrams. This package provides a Python based scripting interface to the underlying JIGSAW mesh generator, including a range of additional […]

Read more

Securely Deploy a Django App With Gunicorn, Nginx, & HTTPS

Taking a Django app from development to production is a demanding but rewarding process. This tutorial will take you through that process step by step, providing an in-depth guide that starts at square one with a no-frills Django application and adds in Gunicorn, Nginx, domain registration, and security-focused HTTP headers. After going over this tutorial, you’ll be better equipped to take your Django app into production and serve it to the world. To make the most out of this tutorial, […]

Read more

pdf_sprinkles: sprinkles text in your PDFs

pdf_sprinkles remotely OCRs a PDF with Google Cloud Document AI, and returns the result as a PDF with searchable text. It runs on the command-line or as a web server. The server version can be deployed to App Engine easily. pdf_sprinkles has only been tested with English-language text, but it should work for most European languages supported by the Document AI API today. It is known not to work with RTL languages and with CJK scripts currently. Installation pdf_sprinkles is […]

Read more

A python lib for generate random string and digits and special characters or A combination of them

a python lib for generate random string and digits and special characters or A combination of them installation 🛠 pip install python-random-strings options 🖇 Random Lower Case Random Upper Case Random Letters Random Digits Random Hex Digits Random Oct Digits Random Punctuation Random Printable Sample Code ✏️ from python_random_strings import random_strings a = random_strings.random_lowercase(6) print(a) a = random_strings.random_uppercase(6) print(a) a = random_strings.random_letters(6) print(a) a = random_strings.random_digits(6) print(a) a = random_strings.random_hexdigits(6) print(a) a = random_strings.random_octdigits(6) print(a) a = random_strings.random_punctuation(6) print(a) a […]

Read more

LED effects plugin for klipper

This plugin allows Klipper to run effects and animations on addressable LEDs, such as Neopixels, WS2812 or SK6812. The main work has been done by Paul “Mental” McGowan. Installation cd ~ git clone https://github.com/julianschill/klipper-led_effect.git cd klipper-led_effect ./install-led_effect.sh Configuration Documentation can be found here. GitHub View Github    

Read more

Yolo algorithm for detection + centroid tracker to track vehicles

Algorithm used : Yolo algorithm for detection + centroid tracker to track vehicles Backend : opencv and python Library required: opencv = ‘4.5.4-dev’ scipy = ‘1.4.1’ IMPORTANT: I hadn’t uploaded model weights and configuration files (which were used for object detection) here because those were already available in yolo_detection repo download yolo tiny weights , config file and coco.names file from here : [https://github.com/hasit73/yolo_detection] For detection i was using same code which was available in yolo_detection repo. 1) main.py Loading […]

Read more

The pos module and added QR code to pos receipt

In this repo i inherit the pos module and added QR code to pos receipt $ python odoo-bin scaffold 1 – Create new js class and put this code that defin a function referenced to odoo.define(‘point_of_sale.OrderReceipt’, function (require) { ‘use strict’; const PosComponent = require(‘point_of_sale.PosComponent’); const Registries = require(‘point_of_sale.Registries’); function myFunction(text) { return text } class OrderReceipt extends PosComponent { constructor() { console.log(“eslam faisal constructor”) super(…arguments); this._receiptEnv = this.props.order.getOrderReceiptEnv(); } willUpdateProps(nextProps) { this._receiptEnv = nextProps.order.getOrderReceiptEnv(); } get receipt() { return […]

Read more
1 368 369 370 371 372 928