This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
RESURGENCE.PY | |
Python script for restarting a process on file changes. | |
Author: rwev (https://github.com/rwev) | |
See usage: | |
>python resurgence.py --help |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
BAW.PY | |
Implements the Barone-Adesi And Whaley model for the valuation of American options and their greeks. | |
""" | |
import numpy as _np | |
import cmath as _cm | |
# Option Styles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
CSVC.PY: Comma-Separated Value Combine | |
Combines all .csv files in the current directory into a single file if of same format. Preserves chronology of data as provided by filenames. | |
Author: rwev (https://github.com/rwev) | |
Built-in dependencies only. | |
USAGE: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
VANILLIZE.PY | |
Applies a naming standard to set of files specified by arguments. | |
Author: rwev (https://github.com/rwev) | |
Built-in dependencies only. | |
Optional command-line arguments: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
CSVP.PY: Comma-Separated Value Preview | |
Python script for previewing large CSV datasets without loading into memory. | |
Author: rwev (https://github.com/rwev) | |
Built-in dependencies only. | |
Provides a preview of CSV data, including header fields and a list of unique values for each, from the first N lines of the target file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
PACC.PY: Passwords, Accidentally | |
Python script for generating (password) strings of specified length and character composition. | |
Author: rwev (https://github.com/rwev) | |
Built-in dependencies only. | |
See usage: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
MBD.PY: MemBerDict | |
Implements MemBerDict, a nested dictionary-like object offering member attributes for faster access and improved code aesthetic. | |
Standard Python dictionaries can be converted to an MBD instance with convertDictToMBD, | |
enabling streamlined connection to many Python serialization libraries, whose load functions return a Python dictionary. | |
Similarly, an MBD instance can be converted to a Python dictionary to be fed to a serialization save. | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
ECONEV.PY: Economic Events | |
Python web-scraper for economic events on the Bloomberg Econoday calendar. | |
Saves result of scrape to plain text (in Eastern Time) for flexible processing by other applications. | |
Author: rwev (https://github.com/rwev) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type definitions for leaflet-openweathermap | |
// By rwev <https://github.com/rwev> | |
import * as L from 'leaflet'; | |
declare module 'leaflet' { | |
namespace OWM { | |
interface Clouds extends L.TileLayer {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from RGBtoXTerm256 import rgb2short | |
nord_colormap = { | |
# Polar Night black -> grey | |
"___nord00":"2E3440", | |
"___nord01":"3B4252", | |
"___nord02":"434C5E", | |
"___nord03":"4C566A", | |
# Snow Storm: grey -> white |
OlderNewer