Author: Deep Learner
A powerful Python REPL calculator
This is a calculator with a complex source that includes a small AST, a parserand a tokenizer. This is a personal project done in 2 days to understand howoperator precedence works and to practice my rusty skills of making interpreters. This project has no external dependencies and should work with minimumPython 3.8 and newer versions of the Python interpreter. Features Complex but small and understandable source code. Implemented in less than 450LoC Supports all basic operations (sum, substraction, multiplication, division) […]
Read moreData depth inference with python
This readme will guide you through the use of the code in this repository. The code in this repository is for nonparametric prior-free and likelihood-free posterior inference. We named this method: Inference with consonant structures via data peeling As the name suggests, this method construct consonant confidence structures directly from data using a procedure name data peeling. When to use this code? The probability distribution of the data-generating mechanism, $P_{X}$ is multivariate (d>2) The distribution family (e.g. lognormal) of $P_{X}$ […]
Read moreDjango-serverless-cron – A Django app with a simpler approach running cron jobs
django-serverless-cron is a Django app with a simpler approach running cron jobs. This is done through exposing a HTTP endpoint to invoke the jobs that allows you to run any task without having to manage always-on infrastructure. There is also an option to run jobs via management commands and the Django admin. Why? This is essentially a replacement/supplement for a traditional OS ‘cron’ or ‘job scheduler’ system: Serverless cron jobs no-longer a pain. Schedule jobs to run at a frequency […]
Read moreData for Datamodels: Predicting Predictions with Training Data
Here we provide the data used in the paper “Datamodels: Predicting Predictions with Training Data” (arXiv, Blog). Note that all of the data below is stored on Amazon S3 using the “requester pays” option to avoid a blowup in our data transfer costs (we put estimated AWS costs below)—if you are on a budget and do not mind waiting a bit longer, please contact us at [email protected] and we can try to arrange a free (but slower) transfer. Citation To […]
Read moreBot to trade on future with MACD entry and ATR close position, no stop-loss
Introduction:This bot is only for xrp, When you run this bot, Please do not trade any other kraken future pairs at same time. Installation clone this repositorygit clone https://github.com/memsjava/xrp-kraken-future-bot.gitcd xrp-kraken-future-bot/ edit the key files, paste inside your future kraken keysFutures_Private_Key and Futures_Public_Key Install dependancy: then now you can run it. Dont forget to add some xrp in your trading future account.python main.py Enjoy 🙂 GitHub View Github
Read moreLightweight auth middleware for FastAPI that just works. Fits most auth workflows with only a few lines of code
We at Code Specialist love FastAPI for its simplicity and feature-richness. Though we were a bit staggered by the poor documentation and integrationof auth-concepts. That’s why we wrote a FastAPI Auth Middleware. It integrates seamlessly into FastAPI applications and requires minimum configuration. It is builtupon Starlette and thereby requires no dependencies you do not have included anyway. Caution: This is a middleware to plug in existing authentication. Even though we offer some sample code, this package assumes you already have […]
Read moreAn experimental script to perform bulk parsing of arbitrary file features with YARA and console logging
This script is named after Ronnie Coleman, and peforms bulk lifts on arbitary file features using YARA console logging. Requirements Notes This was really designed for me to bulk build an on-demand table for file features I wanted, and to see the values I specified using YARA’s own technology. This allows me to quickly view, stack, organize the “surface area” of a file so I can turn around with the ones I want and create YARA rules. This is a […]
Read morechem: collection of mostly python code for molecular visualization, QM/MM, FEP, etc
chem: collection of mostly python code for molecular visualization, QM/MM, FEP, etc. Very long-term goal is something like enzyme design. Intended for interactive use from standard python prompt. Major features: 3D visualization of molecular geometry, orbitals, ESP, etc. fast OpenGL volume and isosurface rendering oriented toward analysis and debugging of calculations rather than presentation QM/MM driver supporting electrostatic embedding with various charge shifting schemes DLC/HDLC/Redundant internal coordinates transition state search (Dimer method, Lanczos method), reaction path optimization (NEB) read/write .pdb, […]
Read moreAn MQA (Studio, originalSampleRate) identifier for lossless flac files written in Python
An MQA (Studio, originalSampleRate) identifier for “lossless” flac files written in Python. About The Project This project is a port of the awesome C++ project MQA_identifier by@purpl3F0x and mqaid byredsudo. Getting Started Prerequisites Installation Clone the repo git clone https://github.com/Dniel97/MQA-identifier-python.git && cd MQA-identifier-python Install the requirements pip3 install -r requirements.txt Usage python3 mqa-identifier-python.py “path/to/flac/files”
Read more