Track GitHub stars per day over a date range to measure the open-source popularity of different repositories

Track GitHub stars per day over a date range to measure the open-source popularity of different repositories. Requirements PyGitHub is required to access the GitHub REST API via Python. This library enables you to manage GitHub resources such as repositories, user profiles, and organizations in your Python applications. Usage Update TOKEN to a valid GitHub access token in count_stars.py L15 and then run: Result When run on April 1st, 2022 result is:

Read more

Generalized Additive Models in Python with a Bayesian twist

A Generalized additive model is a predictive mathematical model defined as a sum of terms that are calibrated (fitted) with observation data. Generalized additive models form a surprisingly general framework for building models for both production software and scientific research. This Python package offers tools for building the model terms as decompositions of various basis functions. It is possible to model the terms e.g. as Gaussian processes (with reduced dimensionality) of various kernels, as piecewise linear functions, and as B-splines, […]

Read more

Script to draw an image onto r/place

About Script to draw an image onto r/place (https://www.reddit.com/r/place/) Requirements Python 3 (https://www.python.org/downloads/) How to Get App Client ID and App Secret Key You need to generate an app client id and app secret key in order to use this script. Steps: Visit https://www.reddit.com/prefs/apps Click “create (another) app” button at very bottom Select the “script” option and fill in the fields with anything Python Package Requirements Install requirements from ‘requirements.txt’ file. pip3 install -r requirements.txt Get Started Create a file […]

Read more

FAST Aiming at the problems of cumbersome steps and slow download speed of GNSS data

####Introduce FAST Aiming at the problems of cumbersome steps and slow download speed of GNSS data, a relatively complete set of integrated multi-source data download terminal software fast is developed. The software contains most of the data sources required in the process of GNSS scientific research and learning. The way of parallel download greatly improves the efficiency of download. Git Software features Multi platform: Support both windows and Linux systems; Abundant Resources: It basically includes the data sources required in […]

Read more

Put your art in perspective with vpype

vpype-perspective is a vpype plug-in to bring your 2D artwork in 3D space and render it in perspective. This project both aims to be a usable tool enabling new creative possibilities, and educational material demonstrating advanced uses of vpype and 3D computer graphics math basics. Installation IMPORTANT: vpype-perspective relies on the master branch of vpype and is not compatible with the latest release (vpype 1.9.0). The following instructions reflects this. Install/upgrade vpype to master: Note: installing on Apple silicon/M1 hardware […]

Read more

A library implementing C++’s custom literal suffixes using pure Python

A module implementing custom literal suffixes using pure Python. custom-literals mimics C++’s user-defined literals (UDLs) by defining literal suffixes that can be accessed as attributes of literal values, such as numeric constants, string literals and more. (c) RocketRace 2022-present. See LICENSE file for more. See the examples/ directory for more. Function decorator syntax: from custom_literals import literal from datetime import timedelta @literal(float, int, name=”s”) def seconds(self): return timedelta(seconds=self) @

Read more

Handwired mechanical keyboard generator

Klavgen is a handwired keyboard generator written in Python, on top of CadQuery. It produces keyboards (like on the left) and makes handwiring easy and organized via switch holders (on the right): Note: Klavgen is heavily work-in-progress and lots of stuff mey not be working. If you experience issues, please submit an Github issue. Benefits of building a keyboard with Klavgen: Generates all the shells and support structures you need for a keyboard, in a way that’s optimized for home […]

Read more
1 215 216 217 218 219 979