Semi Supervised Raw-to-Raw Mapping in python

raw2raw Project page for the paper Semi-Supervised Raw-to-Raw Mapping 2021. Mahmoud Afifi and Abdullah Abuolaim York University Project page of the paper Semi-Supervised Raw-to-Raw Mapping. Mahmoud Afifi and Abdullah Abuolaim. arXiv preprint arXiv:2106.13883, 2021. If you use this code, please cite our paper: @article{afifi2021raw2raw, title={Semi-Supervised Raw-to-Raw Mapping}, author={Afifi, Mahmoud and Abuolaim, Abdullah}, journal={arXiv preprint arXiv:2106.13883}, year={2021} } Abstract The raw-RGB colors of a camera sensor vary due to the spectral sensitivity differences across different sensor makes and models. This paper […]

Read more

Used to format docstrings in Python files or reStructuredText

Style-Doc Style-Doc is Black for Python docstrings and reStructuredText (rst). It can be used to format docstrings (Google docstring format) in Python files or reStructuredText. Installation Style-Doc is available at the Python Package Index (PyPI). It can be installed with pip: $ pip install style-doc Usage $ style-doc –help usage: style-doc [-h] [–max_len MAX_LEN] [–check_only] [–py_only] [–rst_only] files [files …] positional arguments: files The file(s) or folder(s) to restyle. optional arguments: -h, –help show this help message and exit –max_len […]

Read more

A flask server that fixes twitter embeds in discord

TwitFix very basic flask server that fixes twitter embeds in discord by using youtube-dl to grab the direct link to the MP4 file and embeds the link to it in a custom page, with link caching This does work! but I’m new to flask, so it can probably be improved a great deal. How to use (discord side) just put the url to the server, and directly after, the full URL to the tweet you want to embed I now […]

Read more

A google search engine dorker with HTTP toolkit built with python

domhttpx domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time. Install > git clone https://github.com/naufalardhani/domhttpx.git > cd domhttpx > pip3 install -r requirements.txt > python3 domhttpx.py –help Flags This will display help for the tool. Here are all the switches it supports. Flag Description Example -ip, –only-ip Show output as IP only domhttpx –only-ip -od, –only-domain Show output as domain only […]

Read more

A python parser to parse and investigate Digital Terrain Elevation Data files

DTED Parser This is a package written in pure python (with help from numpy) to parse and investigate Digital Terrain Elevation Data (DTED) files. This package is tested to work on Shuttle Radar Topography Mission (SRTM) DTED files (as far as I can tell these are the only publicly available DTED files). This can be used as a library to parse these files into numpy arrays and additionally exposes a CLI that can be used to investigate individual DTED files. […]

Read more

Add Chart.js visualizations to Django admin using a mixin class in python

django-admincharts Add Chart.js visualizations to your Django admin using a mixin class. Example from django.contrib import admin from .models import BillingAccount from admincharts.admin import AdminChartMixin from admincharts.utils import months_between_dates @admin.register(BillingAccount) class BillingAccountAdmin(AdminChartMixin, admin.ModelAdmin): def get_list_chart_data(self, queryset): if not queryset: return {} # Cannot reorder the queryset at this point earliest = min([x.ctime for x in queryset]) labels = [] totals = [] for b in months_between_dates(earliest, timezone.now()): labels.append(b.strftime(“%b %Y”)) totals.append( len( [ x for x in queryset if x.ctime.year == […]

Read more

Slack Wolt Notifier Build With Python

Slack Wolt Notifier A Slack bot that notifies you when a Wolt restaurant or venue is available for orders. How does it work? Slack supports bots that can automate tasks and run code, so why not use this awesome feature to notify users when their favorite restaurant on Wolt is available for orders? The bot is simply a Flask server that processes slash commands received from Slack to a pre-defined endpoint. When a user types /wolt [restaurant_name], the bot will […]

Read more

A mini imitation of GitHub Copilot using EleutherAI GPT-Neo-2.7B for Emacs

Second Mate An open-source, mini imitation of GitHub Copilot using EleutherAI GPT-Neo-2.7B (via Huggingface Model Hub) for Emacs. This is a much smaller model so will likely not be as effective as Copilot, but can still be interesting to play around with! Setup Inference End / Backend Set device to “cpu” or “cuda” in serve/server.py The “priming” is currently done in Python. If you want, modify it to another language or turn it off (priming subjectively seems to help). Launch […]

Read more

Yukki Multi Spam Bot For Telegram

Yukki Multi Spam Bot A Powerful Telethon Based Telegram Spam Bot. 🚀 Deploy on Heroku You can Use these API ID and API HASH while deploying String Session No Requirement of API ID and API HASH Generate on Repl Termux : sh -c “$(curl -fsSL https://da.gd/YukkiBot)” (Use python string_session.py next time to generate another string.) GitHub https://github.com/YukkiBot/YukkiMultiSpamBot    

Read more

A simple Notepad-like editor written in Python

monkepad A simple Notepad-like editor written in Python. Since MonkePad is written in one file, all your customization can be done without much trouble, and you can transfer it easily.Note: MonkePad should be run with python3 NOT python because of different module names between the versions. Modification MonkePad has multiple constants declared near the top of the file You can change these to fit your wants. For example: Building pip install pyinstaller pyinstaller –onefile monkepad.py GitHub https://github.com/monkelab/MonkePad    

Read more
1 558 559 560 561 562 912