repo_name
stringlengths
7
96
language
stringclasses
1 value
created_at
timestamp[ns]
license
stringclasses
25 values
description
stringlengths
2
350
stars
int64
2
8.46k
forks
int64
0
1.86k
url
stringlengths
26
115
repo_code
list
amakerlife/LuoguMsgNotifier
python
2023-12-24T08:48:54
MIT License
在 Windows 上通知洛谷私信。
3
1
https://github.com/amakerlife/LuoguMsgNotifier
[ { "code": "import json\nimport websocket\nfrom win11toast import toast\nimport time\n\nwith open(\"cookie.txt\", \"r\") as file:\n _uid, __client_id = file.read().strip().split()\n\nheaders = {\n \"Cookie\": f\"_uid={_uid}; __client_id={__client_id}\"\n}\n\ncnt_reconnect = 0\nMAX_RECONNECTS = 5\n\n\ndef p...
aalekh-ul/social-shell
python
2023-12-26T16:07:17
GNU General Public License v3.0
A binary to chat with your Unix shells on IRC
3
0
https://github.com/aalekh-ul/social-shell
[ { "code": "import argparse\nimport socket\nimport os\nimport re\nimport subprocess\nimport time\nimport sys\n\n\ndef join_channel(channel):\n cmd = \"JOIN\"+\" \"+channel+\"\\r\\n\"\n ######print(cmd)#remove this lately\n ircsock.send(bytes(cmd,'UTF-8'))\n\n\ndef parseArgs(parser):\n parser.add_argu...
sinajunior/economy
python
2023-12-29T06:39:45
MIT License
economy bot for everyone
3
0
https://github.com/sinajunior/economy
[ { "code": "import discord\r\nimport random\r\nfrom random import randint\r\nfrom discord.ext import commands\r\nfrom discord.ui import View , Button , Select\r\nfrom discord import Color, Embed, Interaction, app_commands, ButtonStyle\r\nimport json\r\nfrom discord.ext.commands import cooldown, BucketType\r\nfro...
chaoren2357/gsplatstudio
python
2023-12-22T08:27:26
MIT License
a framework for 3d gaussian splatting experiment
3
0
https://github.com/chaoren2357/gsplatstudio
[ { "code": "__modules__ = {}\n\ndef register(name):\n def decorator(cls):\n __modules__[name] = cls\n return cls\n return decorator\n\ndef find(name):\n return __modules__[name]\n\nfrom . import data, models, systems\n\n", "path": "gsplatstudio/__init__.py", "repo_name": "chaoren23...
quexten/Resticat
python
2023-12-22T12:03:24
MIT License
A GTK4 & Restic Based Backup Tool
3
0
https://github.com/quexten/Resticat
[ { "code": "import gi\ngi.require_version('Gtk', '4.0')\ngi.require_version('Adw', '1')\n\nfrom gui.edit_view import EditView\nfrom gui.history_view import HistoryView\nfrom gui.schedule_view import ScheduleView\nfrom gui.status_view import StatusView\nfrom gui.restore_view import RestoreView\nfrom gui.edit_view...
ddjerqq/beam
python
2023-12-28T23:18:25
GNU General Public License v3.0
TikTok-Discord integration: Get instant video updates on Discord!
3
0
https://github.com/ddjerqq/beam
[ { "code": "import asyncio as aio\nfrom dotenv import load_dotenv\n\nfrom src.video_stream import VideoStream\nfrom util import get_env\n\n\nload_dotenv()\n\nAPP_ID = get_env(\"APP_ID\")\nCLIENT_KEY = get_env(\"CLIENT_KEY\")\nCLIENT_SECRET = get_env(\"CLIENT_SECRET\")\nWEBHOOK_ADDRESS = get_env(\"WEBHOOK_ADDRESS...
onestepai/api_rag
python
2023-12-28T03:13:03
Apache License 2.0
null
3
0
https://github.com/onestepai/api_rag
[ { "code": "import logging\r\nfrom ServiceOneStepCore.Utilities.MyEnvironment import MyEnvironment\r\n\r\n\r\nclass LoggerHelper(object):\r\n\r\n # log level\r\n LEVEL_CRITICAL = 'critical'\r\n LEVEL_WARNING = 'warning'\r\n LEVEL_INFO = 'info'\r\n LEVEL_NOTSET = 'notset'\r\n\r\n # log level val...
burritosoftware/Icecast-Scrobbler
python
2023-12-23T01:19:19
MIT License
An Icecast internet radio scrobbler for Last.fm, primarily designed for Friday Night Tracks
3
0
https://github.com/burritosoftware/Icecast-Scrobbler
[ { "code": "import requests\nimport os\nfrom dotenv import load_dotenv\nload_dotenv()\n\ndef get_status():\n response = requests.get(os.getenv(\"ICECAST_URL\") + \"/status-json.xsl\")\n if response.status_code == 200:\n json_data = response.json()\n return json_data\n else:\n print(...
dojekon/RiaVote
python
2023-12-25T19:47:41
GNU General Public License v3.0
null
3
0
https://github.com/dojekon/RiaVote
[ { "code": "import requests\r\nimport json\r\nimport threading\r\nimport time\r\nimport logging\r\nimport configparser\r\n\r\n# Настройка логгирования\r\nlogging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')\r\n\r\n# Задание общих параметров для запроса\r\nurl = 'https://ria...
DerwenAI/textgraphs
python
2023-12-25T11:42:53
MIT License
TextGraphs + LLMs + graph ML for entity extraction, linking, ranking, and constructing a lemma graph
3
1
https://github.com/DerwenAI/textgraphs
[ { "code": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n# pylint: disable=C0301\n\n\"\"\"\nHuggingFace Spaces demo of the `TextGraphs` library using Streamlit\n\nsee copyright/license https://huggingface.co/spaces/DerwenAI/textgraphs/blob/main/README.md\n\"\"\"\n\nimport pathlib\nimport time\nimport typing\n...
RogueEugor/Accessible_Real_Time_Forza_Companion
python
2023-12-31T13:27:55
MIT License
A blind and visually impaired accessible real time companion app for use with Forza Motorsports
3
0
https://github.com/RogueEugor/Accessible_Real_Time_Forza_Companion
[ { "code": "import pygame\r\nfrom pydub import AudioSegment\r\nfrom pydub.playback import play\r\nimport io\r\nimport socket\r\nimport struct\r\nimport math\r\nimport keyboard\r\nimport accessible_output2.outputs.auto\r\nimport threading\r\nimport concurrent.futures\r\nimport time\r\npygame.mixer.init()\r\n#Vari...
itzshukla/STRANGER-BANALL
python
2023-12-28T21:21:56
GNU General Public License v3.0
💫𝗦𝗧𝗥𝗔𝗡𝗚𝗘𝗥 ✨ 𝗕𝗔𝗡𝗔𝗟𝗟-𝗕𝗢𝗧 🌱🏵️𝗕𝗢𝗧 𝗠𝗔𝗗𝗘 𝗕𝗬🕊️ - 𝗦𝗛𝗨𝗞𝗟𝗔
3
0
https://github.com/itzshukla/STRANGER-BANALL
[ { "code": "import asyncio\r\nfrom pyrogram.errors.exceptions.flood_420 import FloodWait\r\nfrom pyrogram import Client,filters\r\nfrom pyrogram.types import *\r\nfrom .config import Config\r\nimport logging\r\nfrom pyrogram.errors import (\r\n ChatAdminRequired\r\n)\r\nlogging.basicConfig(\r\n level=loggi...
lc4337/avfcomp
python
2023-12-22T02:19:59
MIT License
cvf: the avf compressed format
3
1
https://github.com/lc4337/avfcomp
[ { "code": "\"\"\"Initialization for avfcomp package.\"\"\"\n\n__all__ = [\"AVFComp\", \"AVFDecomp\", \"CompHandler\"]\n\nfrom .comp import AVFComp\nfrom .decomp import AVFDecomp\nfrom .handler import CompHandler\n", "path": "avfcomp/__init__.py", "repo_name": "lc4337/avfcomp", "size": 183 }, { ...
koushik2299/AI-Resume-Reviewer
python
2023-12-30T02:39:33
MIT License
null
3
0
https://github.com/koushik2299/AI-Resume-Reviewer
[ { "code": "from dotenv import load_dotenv\n\nload_dotenv()\n\nimport streamlit as st\nimport os\nfrom PIL import Image\nimport io\nimport pdf2image\nimport base64\n\nimport google.generativeai as genai\n\nos.getenv(\"GOOGLE_API_KEY\")\ngenai.configure(api_key=os.getenv(\"GOOGLE_API_KEY\"))\n\ndef get_gemini_res...
Atlamillias/dearpygui-grid
python
2023-12-27T01:53:25
Other
null
3
0
https://github.com/Atlamillias/dearpygui-grid
[ { "code": "import sys\nimport numbers\nimport functools\nimport threading\nimport dataclasses\nimport math\nfrom array import array\nimport dearpygui.dearpygui as dearpygui\nfrom dearpygui._dearpygui import (\n get_item_configuration as _item_get_config,\n get_item_state as _item_get_state,\n configure...
synax10/akatsukirobot
python
2023-12-22T07:20:06
MIT License
null
3
0
https://github.com/synax10/akatsukirobot
[ { "code": "import logging\nimport os\nimport sys\nimport time\nimport ast\nimport base64\n\nimport telegram.ext as tg\nfrom aiohttp import ClientSession\nfrom pyrogram import Client, errors\nfrom telethon import TelegramClient\n\nStartTime = time.time()\n\n# enable logging\nlogging.basicConfig(\n format=\"%(...
synax10/WAIFU-HUSBANDO-CATCHER
python
2023-12-23T09:47:17
MIT License
null
3
0
https://github.com/synax10/WAIFU-HUSBANDO-CATCHER
[ { "code": "import logging \n\nfrom pyrogram import Client \n\nfrom telegram.ext import Application\nfrom motor.motor_asyncio import AsyncIOMotorClient\n\nfrom shivu.config import *\n\nlogging.basicConfig(\n format=\"%(asctime)s - %(levelname)s - %(name)s - %(message)s\",\n handlers=[logging.FileHandler(\...
Noubissie237/StockManagment
python
2023-12-29T11:13:34
MIT License
Ceci est un micro service fait avec DRF pour la gestion de la pharmacie d'un hospital
3
3
https://github.com/Noubissie237/StockManagment
[ { "code": "", "path": "StockManagment/App/__init__.py", "repo_name": "Noubissie237/StockManagment", "size": 0 }, { "code": "from django.contrib import admin\nfrom .models import *\n\nclass ClientModelAdmin(admin.ModelAdmin):\n list_display = ('user', 'name', 'email')\n\nclass CategoryMode...
dmarx/ComfyUI-TSP
python
2023-12-30T23:23:23
MIT License
Animation smoothing via frame permutation using Traveling Salesman optimization
3
0
https://github.com/dmarx/ComfyUI-TSP
[ { "code": "import os\nimport subprocess\nimport importlib.util\nimport sys\n\n# scavenged install sequence from https://github.com/FizzleDorf/ComfyUI_FizzNodes/blob/main/__init__.py\ndef is_installed(package, package_overwrite=None):\n try:\n spec = importlib.util.find_spec(package)\n except Module...
kokiez/raydium-convert-SOLorTokens
python
2023-12-29T12:35:38
MIT License
This is a simple script in python on how to convert Solana into tokens amount and vice versa.
3
0
https://github.com/kokiez/raydium-convert-SOLorTokens
[ { "code": "from construct import Int8ul\nfrom construct import Struct as cStruct\n\nPOOL_INFO_LAYOUT = cStruct(\n \"instruction\" / Int8ul,\n \"simulate_type\" / Int8ul\n)\n\n\n", "path": "layouts.py", "repo_name": "kokiez/raydium-convert-SOLorTokens", "size": 160 }, { "code": "\r\n\r...
Sen-Yao/RCS-Calculator
python
2023-12-24T02:32:49
MIT License
A python script to calculate radar cross section.
3
0
https://github.com/Sen-Yao/RCS-Calculator
[ { "code": "import math\nimport warnings\n\nfrom info_io import rcs_to_dB\n\n\nclass RCS_Table:\n def __init__(self, R, Ei):\n self.E_table = {}\n self.RCS_table = {}\n self.CST_table = {}\n self.total_RCS = None\n self.frequency = None\n self.frequency_str = ''\n ...
proger/nanokitchen
python
2023-12-27T12:13:00
Apache License 2.0
Parallel Associative Scan for Language Models
3
1
https://github.com/proger/nanokitchen
[ { "code": "# Adapted from https://github.com/HazyResearch/fly/tree/master/src/models/layers\n\nimport math\nimport torch\nimport torch.nn as nn\nfrom einops import rearrange\n\nfrom structured_linear import StructuredLinear\nfrom blockdiag_multiply import blockdiag_multiply\n\n\nclass BlockdiagLinear(Structured...
peng-1998/vary_fast_instance_segmentation_metrics
python
2023-12-31T06:16:23
MIT License
A fast implementation of a PyTorch-based evaluation metric for nuclear instance segmentation
3
0
https://github.com/peng-1998/vary_fast_instance_segmentation_metrics
[ { "code": "import torch\nfrom torch import Tensor\nfrom numpy import ndarray\n\n_device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')\n\n\ndef _check_input(*args: Tensor | ndarray):\n return tuple([torch.from_numpy(arg, dtype=torch.int16, device=_device) if isinstance(arg, ndarray) else arg ...
LZDQ/winterbridge
python
2023-12-22T18:16:23
Other
null
3
0
https://github.com/LZDQ/winterbridge
[ { "code": "from util import config, get_window_info, latest_info, cancel_t\nfrom winterbridge import sort_items, block_in, test\nimport threading\nimport time\n\nlogging.basicConfig(filename='server.log', level=logging.INFO, format='%(asctime)s:%(levelname)s:%(message)s')\n\nsensitivity_log = []\ntimestamp = []...
kglspl/klepar
python
2023-12-23T23:08:35
Other
Tool for exploring and adjusting flattened surfaces for purposes of Vesuvius Challenge (https://scrollprize.org/)
3
0
https://github.com/kglspl/klepar
[ { "code": "import argparse\nfrom collections import deque\nimport gc\nimport glob\nimport itertools\nimport json\nimport math\nimport os\nimport sys\nimport struct\nimport tempfile\nimport threading\nimport time\n\nfrom geometer import Plane, Point, Line\nimport h5py\nimport numpy as np\nfrom PIL import Image, ...
linancn/TianGong-AI-LangServe
python
2023-12-25T06:34:52
MIT License
TianGong-AI-LangServe
3
2
https://github.com/linancn/TianGong-AI-LangServe
[ { "code": "import os\n\nfrom dotenv import load_dotenv\nfrom langchain.agents import AgentExecutor\nfrom langchain.agents.format_scratchpad.openai_tools import (\n format_to_openai_tool_messages,\n)\nfrom langchain.agents.output_parsers.openai_tools import OpenAIToolsAgentOutputParser\nfrom langchain.chat_mo...
shs131566/triton-asr
python
2023-12-26T02:00:42
MIT License
null
3
0
https://github.com/shs131566/triton-asr
[ { "code": "from huggingface_hub import hf_hub_download\nimport os\n\nREPO_ID = \"pyannote/wespeaker-voxceleb-resnet34-LM\"\nFILENAME = \"pytorch_model.bin\"\n\nPATH = \"./server/models/wespeaker-resnet-34/1/\"\nfile = hf_hub_download(\n repo_id=REPO_ID,\n filename=FILENAME,\n local_dir=PATH,\n force...
karloskar/homeassistant-goecontroller-mqtt
python
2023-12-22T11:32:11
Apache License 2.0
A Home Assistant custom component for the go-eController
3
0
https://github.com/karloskar/homeassistant-goecontroller-mqtt
[ { "code": "", "path": "custom_components/__init__.py", "repo_name": "karloskar/homeassistant-goecontroller-mqtt", "size": 0 }, { "code": "\"\"\"The go-eController (MQTT) integration.\"\"\"\nfrom __future__ import annotations\n\nimport logging\n\nimport homeassistant.helpers.config_validation...
JurassikLizard/Tobmia
python
2023-12-23T22:57:25
MIT License
null
3
0
https://github.com/JurassikLizard/Tobmia
[ { "code": "import cv2\nimport numpy as np\nimport matplotlib.pyplot as plt\nfrom ultralytics import YOLO\nimport time\nimport torch\nfrom screenshot import shot\nimport os\n\ndirname = os.path.dirname(__file__)\n\n\ndef modify_img(img):\n square_size = max(img.shape[0], img.shape[1]) # get the larger dimens...
gmkung/Cheemera
python
2023-12-24T10:30:52
GNU Affero General Public License v3.0
A Node.js backend that exposes a Typescript implementation of the deCheem inference engine.
3
0
https://github.com/gmkung/Cheemera
[ { "code": "from typing import NamedTuple, List, Optional, Any, Dict,Set\nimport json\nimport hashlib\n\ndef explore_belief_set(request_body: Dict[str, Any]):\n try:\n explore = request_body['explore']\n belief_set = request_body['beliefSet']\n\n # Normalise to 'LET' scenarios\n no...
riqam/image-classifier-jankenponhf
python
2023-12-29T03:46:53
MIT License
This is a machine learning model that has been built with Tensorflow to classify images. The model is deployed on a hugging face using Streamlit which makes it appear as if the user is playing Jankenpon (Rock-Paper-Scissors) against the computer.
3
0
https://github.com/riqam/image-classifier-jankenponhf
[ { "code": "# Import libraries\r\nimport streamlit as st\r\nfrom PIL import Image\r\nimport numpy as np\r\nfrom tensorflow.keras.models import load_model\r\nfrom tensorflow.keras.preprocessing import image\r\n\r\n# Initialize the Jankenpon model from Hugging Face\r\nmodel_path = 'best_model.h5'\r\nclassifier = l...
T0kyoB0y/PotatoWidgets
python
2023-12-30T01:34:01
GNU General Public License v3.0
Widget system based on Python, using GTK+ and GtkLayerShell.
3
0
https://github.com/T0kyoB0y/PotatoWidgets
[ { "code": "from .__Import import *\n\n\nclass _LoopClass:\n def __init__(self):\n self.parser = argparse.ArgumentParser(\n description=\"Daemon de ejemplo con opciones.\"\n )\n self.parser.add_argument(\n \"--print\", dest=\"print_message\", help=\"Mensaje a imprimi...
0xn0ne/sensitive-helper
python
2023-12-26T03:30:39
Apache License 2.0
基于正则表达式的本地文件敏感信息数据挖掘助手。Regular Expression Based Data Mining Assistant for Local File Sensitive Information.
3
0
https://github.com/0xn0ne/sensitive-helper
[ { "code": "#!/bin/python3\n# _*_ coding:utf-8 _*_\n#\n# sensitive-helper.py\n# 本地文件敏感信息搜索工具\n\nimport base64\nimport binascii\nimport csv\nimport json\nimport pathlib\nimport re\nimport time\nfrom typing import Any, AnyStr, Dict, List, Union\n\nimport pandas\nimport tqdm\n\nfrom utils import compress, configura...
Mrflops/DigitalSteering
python
2023-12-27T22:57:59
MIT License
Steer without a wheel
3
0
https://github.com/Mrflops/DigitalSteering
[ { "code": "import time\nimport math\nimport cv2\nimport mediapipe as mp\nimport ctypes\n\nkeys = {'w': 0x11, 'a': 0x1E, 's': 0x1F, 'd': 0x20}\nmp_drawing = mp.solutions.drawing_utils\nmp_drawing_styles = mp.solutions.drawing_styles\nmp_hands = mp.solutions.hands\n\nfont = cv2.FONT_HERSHEY_SIMPLEX\nbkwrds = 0\nP...
Zerohertz/Streamlit-Quant
python
2023-12-26T11:29:06
MIT License
[Streamlit] Quant GUI
3
0
https://github.com/Zerohertz/Streamlit-Quant
[ { "code": "from lib import init, layout, report, sidebar, util, visual\n", "path": "lib/__init__.py", "repo_name": "Zerohertz/Streamlit-Quant", "size": 60 }, { "code": "import uuid\nfrom collections import defaultdict\n\nimport streamlit as st\nimport zerohertzLib as zz\n\n\ndef status():\n ...
ghostpepper108/ByteViper
python
2023-12-29T23:24:55
GNU General Public License v3.0
Proof of concept of how AI could be used by malwares
3
0
https://github.com/ghostpepper108/ByteViper
[ { "code": "import subprocess\nimport importlib\n\npackages = ['pandas','sentence_transformers', 'pickle', 'capstone', 'random_word', 'termcolor', 'Pyfiglet']\n\nfor package in packages:\n try:\n importlib.import_module(package)\n except ImportError:\n subprocess.run(['python', '-m', 'pip', 'install'...
molnarkares/kicad-tinbox
python
2023-12-22T15:09:59
Apache License 2.0
KiCad plugin to generate PCBs fitting in tin boxes
3
1
https://github.com/molnarkares/kicad-tinbox
[ { "code": "# Copyright (c) 2023 Karoly Molnar\r\n# Licensed under the Apache License, Version 2.0 (the \"License\");\r\n# you may not use this file except in compliance with the License.\r\n# You may obtain a copy of the License at\r\n#\r\n# http://www.apache.org/licenses/LICENSE-2.0\r\n#\r\n# Unless requir...
KasperskyLab/iShutdown
python
2023-12-22T12:26:48
MIT License
null
3
0
https://github.com/KasperskyLab/iShutdown
[ { "code": "# © 2023 AO Kaspersky Lab. All Rights Reserved.\n# Checks Sysdiagnose archives for traces of possible iOS infections using malware such as Pegasus\n\nimport os\nimport sys\nimport re\nimport tarfile\nfrom datetime import datetime\nfrom termcolor import colored\n\n\ndef count_occurrences(content, targ...
lvyufeng/uie_mindspore
python
2023-12-25T11:02:24
MIT License
null
3
0
https://github.com/lvyufeng/uie_mindspore
[ { "code": "\nimport collections\nimport json\nimport os\nimport unicodedata\nfrom shutil import copyfile\nfrom typing import Any, Dict, List, Optional, Tuple\n\nimport sentencepiece as spm\nfrom mindnlp.utils import requires_backends\nfrom mindnlp.transformers import PreTrainedTokenizerFast\nfrom mindnlp.transf...
acman/py_june
python
2023-12-23T09:36:46
MIT License
Python Help Forum
3
0
https://github.com/acman/py_june
[ { "code": "", "path": "categories/__init__.py", "repo_name": "acman/py_june", "size": 0 }, { "code": "from django.contrib import admin\n\nfrom categories.models import Category, MainCategory\n\nadmin.site.register(MainCategory)\nadmin.site.register(Category)\n", "path": "categories/admin...
andykras/gptbot
python
2023-12-30T00:18:20
MIT License
ChatGPT Telegram Bot: An interactive bot leveraging OpenAI's API to bring the conversational intelligence of ChatGPT directly into Telegram
3
0
https://github.com/andykras/gptbot
[ { "code": "from . import env\nfrom . import handlers\n", "path": "__init__.py", "repo_name": "andykras/gptbot", "size": 41 }, { "code": "import time\nimport asyncio\nfrom openai.types import beta\nfrom aiogram import types\nfrom .client import client, get_thread, get_assistant\nfrom .logger ...
cirebon-dev/chatrouter
python
2023-12-25T12:03:14
MIT License
Router for chatbot
3
0
https://github.com/cirebon-dev/chatrouter
[ { "code": "# -*-coding:utf8;-*-\nfrom typing import Any, Callable, Union\nimport re\nimport inspect\n\"\"\"\nSimple but useful router for chatbot.\n\"\"\"\n\n__author__ = \"guangrei\"\n__version__ = \"v1.0.1\"\n\n_data: dict = {} # chatrouter storage\ndata_user: Any = None # data user storage\n_start_template...
adamghill/django-unicorn-component
python
2023-12-27T01:17:07
MIT License
A template repository for a `Unicorn` component
3
0
https://github.com/adamghill/django-unicorn-component
[ { "code": "", "path": "django_unicorn_component/components/__init__.py", "repo_name": "adamghill/django-unicorn-component", "size": 0 }, { "code": "from django_unicorn.components import UnicornView\n\n\nclass HelloWorldView(UnicornView):\n pass\n", "path": "django_unicorn_component/co...
SaeedGoraya/OliviaMusicRoBot
python
2023-12-25T08:43:32
MIT License
null
3
40
https://github.com/SaeedGoraya/OliviaMusicRoBot
[ { "code": "# MIT License\n#\n# Copyright (c) 2023 AnonymousX1025\n#\n# Permission is hereby granted, free of charge, to any person obtaining a copy\n# of this software and associated documentation files (the \"Software\"), to deal\n# in the Software without restriction, including without limitation the rights\n...
ArchieSW/monitored-oncall
python
2023-12-26T21:30:05
BSD 2-Clause "Simplified" License
Форк сервиса LinkedIn OnCall для управлением дежурств, покрытый мониторингом. Домашние задания по курсу SRE в Тинькофф Академии
3
0
https://github.com/ArchieSW/monitored-oncall
[ { "code": "# -*- coding: utf-8 -*-\n#\n# Oncall documentation build configuration file, created by\n# sphinx-quickstart on Mon May 1 10:06:23 2017.\n#\n# This file is execfile()d with the current directory set to its\n# containing dir.\n#\n# Note that not all possible configuration values are present in this\n...
vladmandic/sd-extension-depth3d
python
2023-12-27T18:43:16
MIT License
SD.Next extension: Image to 3D scene
3
0
https://github.com/vladmandic/sd-extension-depth3d
[ { "code": "import math\nimport numpy as np\nimport pygltflib\nimport trimesh\nfrom PIL import Image\n\n\ndef quaternion_multiply(q1, q2):\n x1, y1, z1, w1 = q1\n x2, y2, z2, w2 = q2\n return [\n w1 * x2 + x1 * w2 + y1 * z2 - z1 * y2,\n w1 * y2 - x1 * z2 + y1 * w2 + z1 * x2,\n w1 * ...
Tongjilibo/bert4vector
python
2023-12-25T01:18:52
Apache License 2.0
向量计算、存储、检索、相似度计算
3
0
https://github.com/Tongjilibo/bert4vector
[ { "code": "from bert4vector.base import *\nfrom bert4vector.bert import *\nfrom bert4vector.faiss import *\nfrom bert4vector.utils import *\n\n__all__ = [\n 'BertVector',\n 'FaissVector',\n 'SentTransformersBertVector',\n 'SentTransformersFaissVector'\n]", "path": "bert4vector/__init__.py", ...
eshoyuan/WeChat-LLM
python
2023-12-25T16:00:47
Apache License 2.0
WeChat-LLM: Build a LLM that Mirrors Your Chat Style Using WeChat Conversations / 根据微信聊天记录定制私人聊天机器人
3
0
https://github.com/eshoyuan/WeChat-LLM
[ { "code": "# Constants\nfrom llama_index.indices.postprocessor import MetadataReplacementPostProcessor, SentenceTransformerRerank\nfrom llama_index.prompts import ChatPromptTemplate\nfrom llama_index.llms import OpenAI, ChatMessage, MessageRole\nfrom llama_index import Document, ServiceContext, VectorStoreIndex...
SamsungLabs/ShellRecontruction
python
2023-12-22T06:25:27
Other
[IROS 2022] Object Shell Reconstruction: Camera-centric Object Representation for Robotic Grasping
3
0
https://github.com/SamsungLabs/ShellRecontruction
[ { "code": "\"\"\"\nCopyright (c) 2023 Samsung Electronics Co., Ltd.\n\nLicensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License, (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at https://cre...
kvedes/hass-aarhus-waste
python
2023-12-24T12:04:39
MIT License
An integration for Home Assistant which shows time until different types of waste is collected by Kredsløb.
3
0
https://github.com/kvedes/hass-aarhus-waste
[ { "code": "\"\"\"\nUtility script to get the KVHX value for a property, by using the DAWA\naddress lookup API.\n\"\"\"\nimport urllib3\nimport json\nimport argparse\n\nparser = argparse.ArgumentParser()\nparser.add_argument(\"address\", help=\"Put in your address as free text\")\nargs = parser.parse_args()\n\nU...
eddiegulay/EchoSocket
python
2023-12-23T14:46:39
MIT License
This is an experiment on quicker ways to improve inference time when transfering data from client to server
3
0
https://github.com/eddiegulay/EchoSocket
[ { "code": "import socket\nimport time\n\ndef start_client():\n # Create a socket object\n client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n\n client_name = input(\"Enter your name: \")\n\n # Connect to the server\n client_socket.connect(('127.0.0.1', 8888))\n\n while True:\n ...
SAITPublic/BiRF
python
2023-12-28T02:08:29
Other
[NeurIPS 2023] Official PyTorch implementation of Binary Radiance Fields
3
0
https://github.com/SAITPublic/BiRF
[ { "code": "", "path": "lib/datasets/__init__.py", "repo_name": "SAITPublic/BiRF", "size": 0 }, { "code": "\"\"\"\n\"Copyright (C) 2021 Samsung Electronics Co. LTD\n\nThis software is a property of Samsung Electronics.\nNo part of this software, either material or conceptual may be copied or ...
didmar/whisper-api-server
python
2023-12-23T14:58:46
MIT License
Drop-in replacement for the OpenAI's Whisper API using the same API but running locally
3
0
https://github.com/didmar/whisper-api-server
[ { "code": "\"\"\"\nBased on https://github.com/morioka/tiny-openai-whisper-api\n\"\"\"\n\nimport os\nimport shutil\nfrom datetime import timedelta\nfrom functools import lru_cache\nfrom typing import Optional\n\nimport numpy as np\nimport uvicorn\nimport whisper\nfrom fastapi import FastAPI, Form, UploadFile, F...
BerdyAlexei/Patrick
python
2023-12-30T17:10:37
MIT License
An easy-to-use, open source, secure, lightweight and customizable password generator and manager.
3
0
https://github.com/BerdyAlexei/Patrick
[ { "code": "from json import load, dump\r\nfrom locale import getdefaultlocale\r\nfrom pathlib import Path\r\n\r\ndef loadFileAsText(path, name):\r\n return Path(path.format(name)).read_text()\r\n\r\ndef loadModificableFile(path : str, name : str, dictionary : dict):\r\n file = loadFileAsText(path, ...
pkariz/grin-explorer
python
2023-12-24T22:15:11
MIT License
Simple grin explorer
3
0
https://github.com/pkariz/grin-explorer
[ { "code": "", "path": "backend/__init__.py", "repo_name": "pkariz/grin-explorer", "size": 0 }, { "code": "default_app_config = 'backend.api.apps.AppsConfig'\n", "path": "backend/api/__init__.py", "repo_name": "pkariz/grin-explorer", "size": 51 }, { "code": "from django.co...
ebarthur/tkinter-grocery-app
python
2023-12-25T19:16:08
MIT License
I built a simple Grocery Store Management System in Python using the Tkinter library for the GUI and PostGreSQL for inventory keeping
3
0
https://github.com/ebarthur/tkinter-grocery-app
[ { "code": "import tkinter as tk\nfrom tkinter import ttk\nimport tkinter.messagebox\nimport tkinter.simpledialog\nimport psycopg2\nimport re\nimport matplotlib.pyplot as plt\nfrom matplotlib.backends.backend_tkagg import FigureCanvasTkAgg\n\nclass GroceryStoreManager:\n def __init__(self, root):\n sel...
g0ldyy/NameIt
python
2023-12-27T10:16:24
MIT License
cs2 external - fully written in Python
3
0
https://github.com/g0ldyy/NameIt
[ { "code": "version = \"1.0\"\r\ntitle = f\"[v{version}] NameIt\"\r\n\r\nimport win32gui, time, json, os, threading, psutil, win32process, win32api, win32con, random, requests, win32console, ctypes\r\nimport dearpygui.dearpygui as dpg\r\nimport pyMeow as pm\r\n\r\nuser32 = ctypes.WinDLL(\"user32\")\r\nconfigFile...
SerguiTeanc/Telegram-shop
python
2023-12-30T14:08:46
MIT License
This telegram bot is a store where users can replenish their balance and buy goods.
3
0
https://github.com/SerguiTeanc/Telegram-shop
[ { "code": "from .main import start_bot\n", "path": "bot/__init__.py", "repo_name": "SerguiTeanc/Telegram-shop", "size": 28 }, { "code": "from bot.database.main import Database\n", "path": "bot/database/__init__.py", "repo_name": "SerguiTeanc/Telegram-shop", "size": 39 }, { ...
Ming-er/Audio-Free-P-Tuning
python
2023-12-26T11:09:07
MIT License
null
3
0
https://github.com/Ming-er/Audio-Free-P-Tuning
[ { "code": "import random\nimport torchaudio\nfrom torch._six import string_classes\nimport collections\nimport re\nimport torch.nn.functional as F\nimport numpy as np\nfrom transformers import AutoTokenizer\nfrom models.clap import CLAP\nimport math\nimport torchaudio.transforms as T\nimport os\nimport torch\nf...
echickering/panos-to-scm
python
2023-12-29T02:39:24
ISC License
Migrate Panorama or Local PANOS config to Strata Cloud Manager
3
1
https://github.com/echickering/panos-to-scm
[ { "code": "'''\r\nISC License\r\n\r\nCopyright (c) 2022, Palo Alto Networks Inc.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted, provided that the above\r\ncopyright notice and this permission notice appear in all copies.\r\n\r\nT...
HaoES/transformers_from_scratch
python
2023-12-26T12:48:42
Apache License 2.0
Implementing a Transformer architecture from scratch using pytorch.
3
0
https://github.com/HaoES/transformers_from_scratch
[ { "code": "import torch\nimport torch.nn as nn\nimport math\n\n\nclass InputEmbeddings(nn.Module):\n def __init__(self, d_model: int, vocab_size: int):\n super().__init__()\n self.d_model = d_model\n self.vocab_size = vocab_size\n self.embedding = nn.Embedding(vocab_size, d_model)...
ylink-lfs/upwork-scraper-selenium
python
2023-12-26T15:48:39
GNU General Public License v3.0
An upwork website scraper powered by selenium and bs4 library written in Python. IT WORKS!
3
1
https://github.com/ylink-lfs/upwork-scraper-selenium
[ { "code": "import argparse\nimport logging\nimport os\nimport traceback\n\nimport scraper\nimport settings\nimport utils\n\n\ndef check_environment():\n try:\n if not os.path.exists(settings.WEBDRIVER_DIR):\n raise FileNotFoundError(f\"Webdriver not found at path {settings.WEBDRIVER_DIR}\")...
scraed/CharacteristicGuidanceWebUI
python
2023-12-27T13:23:33
Apache License 2.0
Provide large guidance scale correction for Stable Diffusion web UI (AUTOMATIC1111)
3
2
https://github.com/scraed/CharacteristicGuidanceWebUI
[ { "code": "import modules.scripts as scripts\r\nimport gradio as gr\r\n\r\nimport io\r\nimport json\r\nimport matplotlib.pyplot as plt\r\nfrom PIL import Image\r\nimport numpy as np\r\n\r\nimport torch\r\nfrom modules import prompt_parser, devices, sd_samplers_common\r\n\r\nfrom modules.shared import opts, stat...
adarshsankarrs/Traffic-Classification-OvS
python
2023-12-22T23:19:15
MIT License
A system that can employ machine learning methods involving logistic regression, K-Means clustering, KNN, SVC, Gaussian NB, and Random Forest Classifier to categorize DNS, Telnet, Ping, Voice, Game, and Video traffic flows based on packet and byte information.
3
0
https://github.com/adarshsankarrs/Traffic-Classification-OvS
[ { "code": "from operator import attrgetter\nfrom datetime import datetime\nfrom ryu.app import simple_switch_13\nfrom ryu.controller import ofp_event\nfrom ryu.controller.handler import MAIN_DISPATCHER, DEAD_DISPATCHER\nfrom ryu.controller.handler import set_ev_cls\nfrom ryu.lib import hub\n\n\nclass SimpleMoni...
CodeWithEmad/num2fa
python
2023-12-30T14:28:57
GNU Affero General Public License v3.0
A library to convert numbers into Persian numbers or words.
3
0
https://github.com/CodeWithEmad/num2fa
[ { "code": "__version__ = \"2.0.1\"\n", "path": "num2fa/__about__.py", "repo_name": "CodeWithEmad/num2fa", "size": 22 }, { "code": "from .converters.number_converter import change_numbers_defaults, numbers\nfrom .converters.word_converter import change_words_defaults, ordinal_words, words\n",...
RomySaputraSihananda/instagram-comment-scrapper
python
2023-12-30T10:21:44
MIT License
Get all comments from instagram post url or id
3
0
https://github.com/RomySaputraSihananda/instagram-comment-scrapper
[ { "code": "import os\n\nfrom requests import Session, Response\nfrom json import dumps\nfrom dotenv import load_dotenv\nfrom time import sleep\nfrom datetime import datetime\nfrom time import time\n\nfrom comment.helpers import logging\n\nclass Comment:\n def __init__(self, cookie: str = None) -> None:\n ...
Rubics-Xuan/Med-DANet
python
2023-12-28T07:26:55
Apache License 2.0
Med-DANet Series
3
0
https://github.com/Rubics-Xuan/Med-DANet
[ { "code": "import os\r\nimport torch\r\nfrom torch.utils.data import Dataset\r\nimport random\r\nimport numpy as np\r\nfrom torchvision.transforms import transforms\r\nimport pickle\r\nfrom scipy import ndimage\r\nfrom torch.nn import functional as F\r\nimport elasticdeform\r\n\r\n\r\n\r\ndef pkload(fname):\r\n...
Keni0lez/Nitro-gxGen
python
2023-12-28T17:04:59
MIT License
Discord Nitro generator (using api.discord.gx.games)
3
0
https://github.com/Keni0lez/Nitro-gxGen
[ { "code": "import requests\nimport time\nimport concurrent.futures\nimport os\nimport uuid\nimport ctypes\nfrom random import choice\nfrom requests.adapters import HTTPAdapter\nfrom requests.packages.urllib3.util.retry import Retry\n\nclass Counter:\n count = 0\n\ndef clear_console():\n os.system('cls' if...
the-seeds/cardinal
python
2023-12-26T14:16:40
Apache License 2.0
Build LLM Application with Local Documents
3
0
https://github.com/the-seeds/cardinal
[ { "code": "import os\nimport re\nfrom setuptools import setup, find_packages\n\n\ndef get_version():\n with open(os.path.join(\"src\", \"cardinal\", \"__init__.py\"), \"r\", encoding=\"utf-8\") as f:\n file_content = f.read()\n pattern = r\"{0}\\W*=\\W*\\\"([^\\\"]+)\\\"\".format(\"__version__\...
JINO-ROHIT/june
python
2023-12-28T16:27:43
Apache License 2.0
LLM Agent Assistants
3
0
https://github.com/JINO-ROHIT/june
[ { "code": "from june import Tools, Agent\n\nclass Sum:\n def __init__(self, a: float, b: float):\n self.a = a\n self.b = b\n \n @property\n def result(self) -> float:\n return self.a + self.b\n\nclass Product:\n def __init__(self, a: float, b: float):\n self.a = a\n ...
wh1t3r0s3lmao/Face-Recognition-Scripts
python
2023-12-22T20:24:14
Apache License 2.0
Some face recognition projects that ive decided to share with the world (:
2
1
https://github.com/wh1t3r0s3lmao/Face-Recognition-Scripts
[ { "code": "import face_recognition\r\nimport os.path\r\nimport matplotlib.pyplot as plt\r\nimport matplotlib.patches as patches\r\nfrom PIL import Image\r\n\r\nfile_path = input('Enter the file path of the image: ')\r\n\r\ndef face():\r\n image = face_recognition.load_image_file(file_path)\r\n face_locati...
Alex82dev/MTS_AI_API_DJANGO
python
2023-12-25T23:56:34
GNU General Public License v3.0
API, которое может принимать POST-запросы на /synthesize со следующим JSON-телом
2
0
https://github.com/Alex82dev/MTS_AI_API_DJANGO
[ { "code": "from django.http import JsonResponse\nfrom django.views.decorators.csrf import csrf_exempt\nimport os\nimport random\nimport grpc\nfrom dotenv import load_dotenv\nfrom keycloak import KeycloakOpenID\nfrom typing import Mapping\nimport tts_pb2\nimport tts_pb2_grpc\n\nload_dotenv()\n\nAPI_ADDRESS = os....
emrovsky/kahoot-joiner
python
2023-12-24T16:40:17
MIT License
a kahoot spammer entering the room with input +random number
2
0
https://github.com/emrovsky/kahoot-joiner
[ { "code": "import json\r\nimport random\r\nimport threading\r\nimport time\r\nimport uuid\r\n\r\nimport loguru\r\nimport random_strings\r\nimport requests\r\n\r\nimport solve_challange\r\nfrom websocket import create_connection\r\n\r\n\r\n\r\ndef join_game(game_id,player_name):\r\n\r\n try:\r\n l_data...
datrocity/pond
python
2023-12-24T13:05:58
BSD 3-Clause "New" or "Revised" License
A library to keep scientists from losing their minds: storage, versioning, and lineage of artifacts.
2
0
https://github.com/datrocity/pond
[ { "code": "# Configuration file for the Sphinx documentation builder.\n#\n# For the full list of built-in configuration values, see the documentation:\n# https://www.sphinx-doc.org/en/master/usage/configuration.html\n\n# -- Project information -----------------------------------------------------\n# https://www...
QuantumWarpCode/yt-dlp-dearrow
python
2023-12-28T03:59:39
MIT License
Post-processor plugin to use DeArrow video titles in YT-DLP
2
1
https://github.com/QuantumWarpCode/yt-dlp-dearrow
[ { "code": "from yt_dlp.postprocessor.common import PostProcessor\n\nSUPPORTED_EXTRACTORS = {\n 'Youtube',\n}\n\nclass DeArrowPP(PostProcessor):\n def run(self, info):\n extractor = info['extractor_key']\n if extractor not in SUPPORTED_EXTRACTORS:\n self.to_screen(f'{self.PP_NAME} ...
domi23/Discord-Music-Bot-
python
2023-12-24T11:11:13
The Unlicense
Discord Music Bot
2
0
https://github.com/domi23/Discord-Music-Bot-
[ { "code": "import discord\r\nfrom discord.ext import commands\r\nimport youtube_dl\r\nimport asyncio\r\nimport random\r\nfrom PIL import Image\r\n\r\nintents = discord.Intents.all()\r\nintents.members = True\r\nintents.messages = True\r\n\r\nbot = commands.Bot(command_prefix='%', intents=intents)\r\n\r\nbot.rem...
profcturner/four-in-a-row
python
2023-12-25T08:25:48
GNU General Public License v3.0
A game server for educational use, to implement a web based four in a row game
2
0
https://github.com/profcturner/four-in-a-row
[ { "code": "", "path": "fourinarow/__init__.py", "repo_name": "profcturner/four-in-a-row", "size": 0 }, { "code": "\"\"\"\nASGI config for fourinarow project.\n\nIt exposes the ASGI callable as a module-level variable named ``application``.\n\nFor more information on this file, see\nhttps://d...
demirogun/pyethnobiology
python
2023-12-25T01:06:51
MIT License
Ethnobiological data assessment tool
2
0
https://github.com/demirogun/pyethnobiology
[ { "code": "from .pyethnobiology import pyethnobiology\n\n__all__ = [\"pyethnobiology\"]", "path": "pyethnobiology/__init__.py", "repo_name": "demirogun/pyethnobiology", "size": 72 }, { "code": "import pandas as pd\n\nfrom pyethnobiology.visualization import RadialPlot\nfrom pyethnobiology.vi...
timkondratiev/RekordJog
python
2023-12-30T14:51:27
MIT License
Enable jog wheels and pitch control on third-party controllers to function with Rekordbox 6.
2
1
https://github.com/timkondratiev/RekordJog
[ { "code": "import math\nimport mido\n\n\nrtmidi = mido.Backend('mido.backends.rtmidi', load=True)\nmidi_inp = rtmidi.open_input(\"Allen&Heath Xone:4D XONE:4D\")\nmidi_out = rtmidi.open_output(\"PIONEER DDJ-SX\", True)\n\n# The JOG_MULTIPLIER is required for smooth jog operation. \n# Pioneer controllers seem to ...
10cks/Gemini4IDA
python
2023-12-25T01:29:03
MIT License
Gemini4IDA: Gemini for IDA disassembly and program analysis
2
0
https://github.com/10cks/Gemini4IDA
[ { "code": "# 可用代码\nimport idaapi\nimport ida_hexrays\nimport idc\nimport idautils\nimport os\nimport google.generativeai as genai \nfrom datetime import datetime\n\nos.environ['http_proxy'] = 'http://127.0.0.1:7890'\nos.environ['https_proxy'] = 'http://127.0.0.1:7890'\n\n # 填入自己的api_key\nAPI_KEY=''\ngenai.conf...
Zitronenjoghurt/Colonaut
python
2023-12-22T21:24:33
GNU General Public License v3.0
(active WIP) A little text-based game where you play an AI controlling a colony ship with cryogenically frozen colonists. You will have to find a suitable planet for habitation.
2
1
https://github.com/Zitronenjoghurt/Colonaut
[ { "code": "from src.game_flow.game_manager import GameManager\n\ngm = GameManager.get_instance()\ngm.start()", "path": "main.py", "repo_name": "Zitronenjoghurt/Colonaut", "size": 94 }, { "code": "", "path": "src/__init__.py", "repo_name": "Zitronenjoghurt/Colonaut", "size": 0 }...
ionextdebug/nipf
python
2023-12-31T12:08:39
MIT License
NOSTR facilities downloader
2
1
https://github.com/ionextdebug/nipf
[ { "code": "from urllib.request import urlretrieve\nimport sys\nimport os\nfrom zipfile import ZipFile \n\npath = os.getcwd()\norg_repository = sys.argv[1]\nfacility = sys.argv[2]\nfacility_zip = facility+\".zip\"\n\nnostr_facilities = os.path.join(path,\"nostr_facilities\")\nexists_nostr_facilities = os.path.ex...
karthicksivakumarp/color_detection_real_time_video
python
2023-12-29T15:25:12
GNU General Public License v3.0
Color Detection (Red, Yellow, Green, Blue, or Unknown) in Real-Time Video using OpenCV
2
0
https://github.com/karthicksivakumarp/color_detection_real_time_video
[ { "code": "import cv2\r\nimport numpy as np\r\n\r\n\r\ndef get_color_name(hue):\r\n # Define hue ranges for each color\r\n color_range = {\r\n \"Red\": (0, 15),\r\n \"Yellow\": (15, 45),\r\n \"Green\": (45, 90),\r\n \"Blue\": (90, 150),\r\n }\r\n # Check which color range...
Venkatnvs/google-gemini-bot
python
2023-12-25T06:09:02
MIT License
A Google Gemini Model for Text And Image ChatBot
2
0
https://github.com/Venkatnvs/google-gemini-bot
[ { "code": "from dotenv import load_dotenv\nload_dotenv()\n\nimport os\nimport streamlit as st\nimport google.generativeai as gai\n\ngai.configure(api_key=os.getenv(\"GOOGLE_API_KEY\"))\nmodel = gai.GenerativeModel(\"gemini-pro\")\nchat = model.start_chat(history=[])\n\ndef gemini_text_bot(question):\n if que...
QuiteAFancyEmerald/GD-Level-ID-Graphing-Utility
python
2023-12-28T04:57:39
MIT License
This tool that allows you to graph or export level IDs from the game Geometry Dash on a monthly, weekly or yearly basis. It fetches approximate ID values attached to a certain date from the GDHistory API site.
2
0
https://github.com/QuiteAFancyEmerald/GD-Level-ID-Graphing-Utility
[ { "code": "import requests\nimport matplotlib.pyplot as plt\nfrom datetime import datetime, timedelta\nimport random\nimport pandas as pd\nfrom matplotlib.ticker import FuncFormatter, MaxNLocator\n\ndef generate_random_date(year, month):\n if month == 0:\n year -= 1\n month = 12\n\n end_of_m...
JuliusE1402/better-VLC
python
2023-12-30T04:19:50
MIT License
Media Player with a Minimalist Approach
2
0
https://github.com/JuliusE1402/better-VLC
[ { "code": "import pygame\nimport sys\nfrom mutagen.mp3 import MP3\nfrom tkinter import Tk, filedialog\n\nRESOLUTION = (900, 600)\nSLIDER_POS = (30, 140)\nSLIDER_SIZE = (200, 10)\nHANDLE_RADIUS = 15\nTIME_BAR_POS = (30, 200)\nWHITE = (255, 255, 255)\nCOLOR_LIGHT = (170, 170, 170)\nBUTTON_COLOR = (100, 100, 100)\...
pewpewnowdie/discord-meme-boy
python
2023-12-24T15:58:46
MIT License
meme gen
2
0
https://github.com/pewpewnowdie/discord-meme-boy
[ { "code": "from moviepy.editor import *\nimport requests\nimport tempfile\n\ndef download_video(url):\n response = requests.get(url)\n if response.status_code == 200:\n with tempfile.NamedTemporaryFile(suffix='.mp4', delete=False) as temp_file:\n temp_file.write(response.content)\n ...
KhoiDOO/cvf_crawler
python
2023-12-29T16:18:37
MIT License
null
2
0
https://github.com/KhoiDOO/cvf_crawler
[ { "code": "from .core import CvF_Crawler\nfrom .interface import CvF_Crawler_Interface", "path": "cvf_crawler/__init__.py", "repo_name": "KhoiDOO/cvf_crawler", "size": 74 }, { "code": "import os, sys\nfrom typing import List\nimport requests\n\nfrom bs4 import BeautifulSoup\nfrom rich.progre...
daojiAnime/aio_retrying
python
2023-12-30T02:48:40
MIT License
Simple retrying for asyncio
2
0
https://github.com/daojiAnime/aio_retrying
[ { "code": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n# @Time : 2023/12/29 22:30\n# @Author : Daoji\n# @Email : daoji.chang@gmail.com\n# @File : async_retrying.py\n# @Description :\nimport asyncio\nimport inspect\nimport logging\nfrom functools import wraps, partial\nfrom typing im...
xIMRANx/secret_postcard
python
2023-12-30T07:57:10
MIT License
null
2
0
https://github.com/xIMRANx/secret_postcard
[ { "code": "", "path": "app/__init__.py", "repo_name": "xIMRANx/secret_postcard", "size": 0 }, { "code": "import asyncio\nimport logging\nimport git\n\nimport coloredlogs\nfrom aiogram import Bot, Dispatcher\nfrom aiogram.client.session.aiohttp import AiohttpSession\nfrom aiogram.client.teleg...
akkoaya/ArticleSpider
python
2023-12-29T15:05:22
MIT License
中文日报网,哔哩哔哩,知乎,博客园相关爬虫
2
0
https://github.com/akkoaya/ArticleSpider
[ { "code": "", "path": "ArticleSpider/__init__.py", "repo_name": "akkoaya/ArticleSpider", "size": 0 }, { "code": "# Define here the models for your scraped items\n#\n# See documentation in:\n# https://docs.scrapy.org/en/latest/topics/items.html\nfrom urllib import parse\n\nimport scrapy\nimpo...
mrpeerat/mReFinED
python
2023-12-27T03:30:48
Other
mReFinED: An Efficient End-to-End Multilingual Entity Linking System
2
0
https://github.com/mrpeerat/mReFinED
[ { "code": "", "path": "example_scripts/__init__.py", "repo_name": "mrpeerat/mReFinED", "size": 0 }, { "code": "import time\n\nimport torch.cuda\n\nfrom refined.evaluation.evaluation import get_datasets_obj\nfrom refined.inference.processor import Refined\n\nrefined = Refined.from_pretrained(...
wuhy68/Parameter-Efficient-MoE
python
2023-12-22T02:54:29
Apache License 2.0
null
2
0
https://github.com/wuhy68/Parameter-Efficient-MoE
[ { "code": "# coding=utf-8\n# Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved.\n#\n# This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX\n# and OPT implementations in this library. It has been modified from its\n# original forms to accommodate minor architectural dif...
da2el-ai/sd-d2-nai-prompt-convert
python
2023-12-22T15:35:11
MIT License
null
2
1
https://github.com/da2el-ai/sd-d2-nai-prompt-convert
[ { "code": "import math\nimport re\n# from pathlib import Path\n# import random\n# import yaml\n\nimport gradio as gr\n\nimport modules.scripts as scripts\nfrom modules.scripts import AlwaysVisible\n# from modules import shared\n# from scripts.setup import write_filename_list\nfrom modules.processing import Stab...
Yoldoshali/Python
python
2023-12-24T08:50:15
Apache License 2.0
100-days-of-code
2
0
https://github.com/Yoldoshali/Python
[ { "code": "print(\"Welcome to Band name generator!\")\r\ncity_name = input(\"What is your city name?\\n\")\r\npet_name = input(\"What's your pet's name?\\n\")\r\nprint(f\"Your band name could be {city_name} {pet_name}\")\r\n", "path": "day1/main.py", "repo_name": "Yoldoshali/Python", "size": 195 }...
ApiaoSamaa/task2
python
2023-12-27T11:48:51
MIT License
null
2
0
https://github.com/ApiaoSamaa/task2
[ { "code": "import torch\nfrom PIL import Image\nfrom lavis.models import load_model_and_preprocess\nimport glob\nfrom tqdm import tqdm\nfrom pathlib import Path\ndevice = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\n# loads BLIP caption base model, with finetuned checkpoints on MSCOCO capti...
Asa-Nisi-Masa/christmas-tree
python
2023-12-30T12:25:19
GNU General Public License v3.0
null
2
0
https://github.com/Asa-Nisi-Masa/christmas-tree
[ { "code": "", "path": "christmas_tree/__init__.py", "repo_name": "Asa-Nisi-Masa/christmas-tree", "size": 0 }, { "code": "from collections import defaultdict, namedtuple\nfrom pathlib import Path\nfrom typing import Dict, List, Optional\n\nimport cv2\nimport numpy as np\nfrom tqdm import tqdm...
cgeorg08/Drawing-CoCreative-Agent
python
2023-12-29T13:51:46
MIT License
null
2
0
https://github.com/cgeorg08/Drawing-CoCreative-Agent
[ { "code": "import numpy as np\r\nimport copy\r\nimport random\r\nimport helper\r\nimport time\r\n\r\nclass Agent:\r\n def __init__(self, width, height):\r\n self.width = width\r\n self.height = height\r\n self.grid = np.zeros((self.width, self.height),dtype=np.int8) # 2D array of cel...
YYJeffrey/july_server
python
2023-12-30T04:08:35
Apache License 2.0
WeChat Mina for Social Platform by Flask - 七月社交小程序-服务端
2
0
https://github.com/YYJeffrey/july_server
[ { "code": "# -*- coding: utf-8 -*-\n\"\"\"\n :copyright: (c) 2023 by Jeffrey.\n :license: Apache 2.0, see LICENSE for more details.\n\"\"\"\nimport atexit\nimport datetime\nimport fcntl\nimport logging\nimport os\nfrom logging.handlers import TimedRotatingFileHandler\n\nfrom dotenv import load_dotenv\nfro...
karthicksivakumarp/color_detection_region_highlight
python
2023-12-29T15:21:47
GNU General Public License v3.0
Real-Time Color Detection and Region Highlighting using OpenCV
2
0
https://github.com/karthicksivakumarp/color_detection_region_highlight
[ { "code": "import cv2\r\nimport numpy as np\r\nfrom PIL import Image\r\n\r\n\r\n# Function to determine HSV color range based on input BGR color\r\ndef get_limits(color):\r\n c = np.uint8([[color]]) # Convert BGR to numpy array\r\n hsvC = cv2.cvtColor(c, cv2.COLOR_BGR2HSV)\r\n\r\n hue = hsvC[0][0][0] ...