seq_id
string
text
string
repo_name
string
sub_path
string
file_name
string
file_ext
string
file_size_in_byte
int64
program_lang
string
lang
string
doc_type
string
stars
int64
dataset
string
pt
string
api
list
14372065002
# -*- coding: utf-8 -*- from telebot import types import sqlite3 as sq from datetime import date import time import datetime import requests from bs4 import BeautifulSoup as Bs from telebot import TeleBot from fake_useragent import UserAgent import random from threading import Thread from config import * def get_proxy(...
NurAbain/kvartira_bishkek_1.0.0
parser_kvartiry.py
parser_kvartiry.py
py
36,966
python
ru
code
0
github-code
1
[ { "api_name": "random.choice", "line_number": 15, "usage_type": "call" }, { "api_name": "fake_useragent.UserAgent", "line_number": 21, "usage_type": "call" }, { "api_name": "requests.get", "line_number": 35, "usage_type": "call" }, { "api_name": "bs4.BeautifulSoup...
30710495366
import matplotlib matplotlib.use('Agg') import sys import pynbody import pynbody.plot as pp import pynbody.plot.sph as sph import matplotlib.pylab as plt import numpy as np import h5py as h5 pynbody.config['number_of_threads'] = 2 def make_plots(): output = int(sys.argv[1]) plot_type = sys.argv[2] cr = ...
ibutsky/synthetic_spectra
scripts/plotting/pynbody_plots.py
pynbody_plots.py
py
4,708
python
en
code
0
github-code
1
[ { "api_name": "matplotlib.use", "line_number": 2, "usage_type": "call" }, { "api_name": "pynbody.config", "line_number": 11, "usage_type": "attribute" }, { "api_name": "sys.argv", "line_number": 16, "usage_type": "attribute" }, { "api_name": "sys.argv", "line_...
7442842816
import requests import card import json import sys from bs4 import BeautifulSoup # Get Request for Webpage def card_page_init(card_webpage): response = requests.get(card_webpage) if response.status_code != 200: print("Error fetching page") exit() else: content = response.content ...
dm554/BuddyfightCardWebScraper
main.py
main.py
py
4,141
python
en
code
0
github-code
1
[ { "api_name": "requests.get", "line_number": 10, "usage_type": "call" }, { "api_name": "bs4.BeautifulSoup", "line_number": 16, "usage_type": "call" }, { "api_name": "card.Monster", "line_number": 95, "usage_type": "call" }, { "api_name": "card.Monster", "line_...
20741454900
import json import re import logging from __init__ import app def extract_dispatch_content(text): pattern = r'R9\.redux\.dispatch\((\{.+?\})\)' matches = re.findall(pattern, text, flags=re.DOTALL) return matches def add_quotes(json_str): # Agregar comillas a las claves de primer nivel regex_keys =...
danielurrutxua/easyflight
scrapi/app/search/service/sources/utils/kayak_parser.py
kayak_parser.py
py
1,665
python
es
code
1
github-code
1
[ { "api_name": "re.findall", "line_number": 8, "usage_type": "call" }, { "api_name": "re.DOTALL", "line_number": 8, "usage_type": "attribute" }, { "api_name": "re.sub", "line_number": 14, "usage_type": "call" }, { "api_name": "re.sub", "line_number": 18, "u...
74540232672
import os import re from traitlets import List, default from .base import BaseConverter from ..preprocessors import ( InstantiateTests, ClearOutput, CheckCellMetadata ) from traitlets.config.loader import Config from typing import Any from ..coursedir import CourseDirectory class GenerateSourceWithTests...
jupyter/nbgrader
nbgrader/converters/generate_source_with_tests.py
generate_source_with_tests.py
py
1,375
python
en
code
1,232
github-code
1
[ { "api_name": "base.BaseConverter", "line_number": 17, "usage_type": "name" }, { "api_name": "traitlets.default", "line_number": 19, "usage_type": "call" }, { "api_name": "traitlets.List", "line_number": 31, "usage_type": "call" }, { "api_name": "preprocessors.Ins...
32458720992
# CS5487 demo script for Programming Assignment 2 # # The script has been tested with python 2.7.6 # # It requires the following modules: # numpy 1.8.1 # matplotlib v1.3.1 # scipy 0.14.0 # Image (python image library) import pa2 import numpy as np import pylab as pl import scipy.io as sio from PIL import Image...
brookgao/Machine-Learning
Assignment2/Problem2/python/test_pa2.py
test_pa2.py
py
2,147
python
en
code
12
github-code
1
[ { "api_name": "PIL.Image.open", "line_number": 26, "usage_type": "call" }, { "api_name": "PIL.Image", "line_number": 26, "usage_type": "name" }, { "api_name": "pylab.subplot", "line_number": 27, "usage_type": "call" }, { "api_name": "pylab.imshow", "line_numbe...
3275424876
from typing import List from PyQt5 import QtGui import networkx as nx from commandbar.api import cmdutils from commandbar.commands.cmdexc import PrerequisitesError from commandbar.utils import objreg from mainwindow.graph_view import GraphView from mainwindow.mainwindow import MainWindow from tree_covers.pygraph.metric...
yairmol/graphui
commands/stretch.py
stretch.py
py
3,000
python
en
code
0
github-code
1
[ { "api_name": "mainwindow.mainwindow.MainWindow", "line_number": 13, "usage_type": "name" }, { "api_name": "commandbar.commands.cmdexc.PrerequisitesError", "line_number": 19, "usage_type": "call" }, { "api_name": "commandbar.commands.cmdexc.PrerequisitesError", "line_number":...
21106216381
# -*- coding: utf-8 -*- # This script goes through USFM files, generating a list of verses that contain properly marked footnotes. # Reports errors to stderr and issues.txt. # Set source_dir and usfmVersion to run. # Global variables source_dir = r'C:\DCS\Portuguese\pt-br_ulb' usfmVersion = 2 # if version 3.0 or g...
unfoldingWord-dev/tools
usfm/listFootnotes.py
listFootnotes.py
py
5,352
python
en
code
8
github-code
1
[ { "api_name": "re.compile", "line_number": 19, "usage_type": "call" }, { "api_name": "json.dumps", "line_number": 56, "usage_type": "call" }, { "api_name": "sys.stderr.write", "line_number": 105, "usage_type": "call" }, { "api_name": "sys.stderr", "line_number...
34623651816
# -*- coding: utf-8 -*- # + import argparse import datetime import random import time import pandas as pd from pathlib import Path import torch import torchvision.transforms as standard_transforms import numpy as np from PIL import Image import cv2 from crowd_datasets import build_dataset from engine import * from mo...
kookmin-sw/capstone-2023-26
headcount/CrowdCounting_P2PNet/run_test_stream.py
run_test_stream.py
py
4,511
python
en
code
7
github-code
1
[ { "api_name": "warnings.filterwarnings", "line_number": 21, "usage_type": "call" }, { "api_name": "argparse.ArgumentParser", "line_number": 24, "usage_type": "call" }, { "api_name": "time.time", "line_number": 45, "usage_type": "call" }, { "api_name": "os.environ"...
29341535711
import cv2 import numpy as np img = cv2.imread('/home/kanish/Documents/ICR advanced forms/Advanced handwritting samples/athul_scanned/525/525_2.png', 0) kernel = np.ones((5, 1), np.uint8) erosion = cv2.erode(img, kernel, iterations=1) cv2.imwrite('morphex.png', erosion) cv2.imshow('gray', erosion) cv2.waitKey(0)
kanishmathew777/image_processing
backend/image_processing_backend/scipy_width_path_finder/image_preprocessing/denosing.py
denosing.py
py
318
python
en
code
0
github-code
1
[ { "api_name": "cv2.imread", "line_number": 4, "usage_type": "call" }, { "api_name": "numpy.ones", "line_number": 6, "usage_type": "call" }, { "api_name": "numpy.uint8", "line_number": 6, "usage_type": "attribute" }, { "api_name": "cv2.erode", "line_number": 7,...
8202759653
import requests from bs4 import BeautifulSoup as soup def requesting_ip(): HEADERS = { 'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', #'Accept-Encoding':'gzip, deflate, br', 'Accept-Language':'en-US,en;q=0.5', 'Connection':'keep-alive', 'Upgrad...
DemolitionLovers/PythonCode
Requests-DDG.py
Requests-DDG.py
py
1,134
python
en
code
0
github-code
1
[ { "api_name": "requests.get", "line_number": 19, "usage_type": "call" }, { "api_name": "bs4.BeautifulSoup", "line_number": 20, "usage_type": "call" } ]
32601137836
#!/usr/bin/python3 from typing import List import json from bplib.butil import TreeNode, arr2TreeNode, btreeconnect class Solution: def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]: st = {} for n in nums1: if n not in st: st[n] = 0 st[n]...
negibokken/sandbox
leetcode/350_intersection_of_two_arrays_II/main.py
main.py
py
588
python
en
code
0
github-code
1
[ { "api_name": "typing.List", "line_number": 9, "usage_type": "name" }, { "api_name": "json.loads", "line_number": 23, "usage_type": "call" }, { "api_name": "json.loads", "line_number": 24, "usage_type": "call" } ]
7807302748
# importing Numpy package import numpy as np # To declare symbol variables x and y from sympy import symbols # You can't use numpy arrays for symbolical calculations with sympy. Instead, use a sympy Matrix # (https://stackoverflow.com/questions/68589864/matrix-determinant-symbolic-in-python) import sympy as sp...
Sergio-Ibarra-1795/Python-self-1
Primer_semestre/Mate/Determinant.py
Determinant.py
py
1,173
python
en
code
0
github-code
1
[ { "api_name": "numpy.array", "line_number": 14, "usage_type": "call" }, { "api_name": "numpy.linalg.det", "line_number": 23, "usage_type": "call" }, { "api_name": "numpy.linalg", "line_number": 23, "usage_type": "attribute" }, { "api_name": "sympy.symbols", "l...
38901553531
import os import traceback from prefect import flow from conf.config import DATA_DIR, DATASET_EXCEL_LINKS from src.utils import write_local_to_parquet from src.flows.pipeline_components import ingest_data_from_list_files, load_csv_dataset, save_dataset_to_csv, upload_to_gcs_bucket, write_data_google_bq @flow(name="en...
lironesamoun/data-engineering-capstone-project
src/flows/parameterized_flow_http_pipeline.py
parameterized_flow_http_pipeline.py
py
2,406
python
en
code
0
github-code
1
[ { "api_name": "conf.config.DATASET_EXCEL_LINKS", "line_number": 13, "usage_type": "name" }, { "api_name": "conf.config.DATA_DIR.joinpath", "line_number": 26, "usage_type": "call" }, { "api_name": "conf.config.DATA_DIR", "line_number": 26, "usage_type": "name" }, { ...
20962583832
from pyspark.sql import SparkSession from pyspark.sql import S Logger.getLogger("org").setLevel(Level.ERROR) sparkConf = newSparkConf() sparkConf.set("spark.app.name", "My Application 1") sparkConf.set("spark.master", "local[2]") spark = SparkSession.builder()\ .config(sparkConf)\ .getOrCreate() DDLString =...
Nishant-001/BigData_PySpark
week11assignment.py
week11assignment.py
py
750
python
en
code
0
github-code
1
[ { "api_name": "pyspark.sql.SparkSession.builder", "line_number": 9, "usage_type": "call" }, { "api_name": "pyspark.sql.SparkSession", "line_number": 9, "usage_type": "name" } ]
26021338569
from django.conf.urls.defaults import * from django.conf import settings from django.contrib import admin from seishinkan.website.feeds import NewsFeed, TerminFeed admin.autodiscover() feeds = { 'termine': TerminFeed, 'news': NewsFeed, } urlpatterns = patterns('', (r'^i18n/', include('django.conf.urls.i18n')...
marcusti/seishinkan
urls.py
urls.py
py
2,423
python
en
code
0
github-code
1
[ { "api_name": "django.contrib.admin.autodiscover", "line_number": 6, "usage_type": "call" }, { "api_name": "django.contrib.admin", "line_number": 6, "usage_type": "name" }, { "api_name": "seishinkan.website.feeds.TerminFeed", "line_number": 9, "usage_type": "name" }, ...
24893300426
# -*- coding: utf-8 -*- import scrapy from scrapy import Request from lxml import etree from WaiBaoSpider.utils.csvWriter import CSVDumper from WaiBaoSpider.utils.base import unicode_body, deal_ntr import os class LuAnSpider(scrapy.Spider): name = "luan" # base_url = "http://www.luan.gov.cn/nocache/supervisio...
jamesfyp/WaiBaoSpider
WaiBaoSpider/spiders/liuan.py
liuan.py
py
7,327
python
en
code
1
github-code
1
[ { "api_name": "scrapy.Spider", "line_number": 10, "usage_type": "attribute" }, { "api_name": "os.getcwd", "line_number": 14, "usage_type": "call" }, { "api_name": "os.path.exists", "line_number": 15, "usage_type": "call" }, { "api_name": "os.path", "line_numbe...
11196328840
import numpy as np from scipy import interpolate class SkeletonASCIIPhraser(object): def __init__(self, export_path): self.__export_path = export_path def save(self, beams): file = open(self.__export_path, 'w') self.__plot_analytical_skeleton_beams(file, beams) file...
Foxelmanian/ParametrizationSkeleton
SkeletonASCIIPhraser.py
SkeletonASCIIPhraser.py
py
11,419
python
en
code
0
github-code
1
[ { "api_name": "numpy.sqrt", "line_number": 49, "usage_type": "call" }, { "api_name": "numpy.array", "line_number": 50, "usage_type": "call" }, { "api_name": "numpy.sqrt", "line_number": 56, "usage_type": "call" }, { "api_name": "numpy.array", "line_number": 57...
29640416232
import datatable as dt import pytest import random import re from datatable import stype, f from datatable.internal import frame_integrity_check from tests import noop, random_string, assert_equals def test_issue_1912(): # Check that the expression `A==None` works if A is a string column DT = dt.Frame(A=["dfv...
h2oai/datatable
tests/munging/test-str.py
test-str.py
py
6,248
python
en
code
1,763
github-code
1
[ { "api_name": "datatable.Frame", "line_number": 12, "usage_type": "call" }, { "api_name": "datatable.f.A", "line_number": 13, "usage_type": "attribute" }, { "api_name": "datatable.f", "line_number": 13, "usage_type": "name" }, { "api_name": "pytest.raises", "l...
8595088170
import hashlib import zlib from PyQt5 import QtCore, QtGui, QtWidgets from file_browse import * data=[ {'Check':'','More':'','Details':'','@timestamp':'2023/03/12 12:00:00','Rule':'Enumeration of users or Groups','Severity':'low','Risk Score':'21','Reason':'process event with process dsmemberutil, parent proce...
marioara-biblioteca/IOC
file_scan.py
file_scan.py
py
5,566
python
en
code
0
github-code
1
[ { "api_name": "PyQt5.QtWidgets.QWidget", "line_number": 12, "usage_type": "attribute" }, { "api_name": "PyQt5.QtWidgets", "line_number": 12, "usage_type": "name" }, { "api_name": "PyQt5.QtWidgets.QVBoxLayout", "line_number": 15, "usage_type": "call" }, { "api_name...
29455061606
import pygame import field_and_pointer as fp import argparser as ap # Stack, field, pointer and the 2-input operators stackstack = [[]] the_field = fp.Field(fp.load_code()) pointer = fp.Pointer((0, 0), (1, 0)) operators = { "+": lambda x1, x2: stackstack[-1].append(x1 + x2), "-": lambda x1, x2: stackstack[-1]....
johanasplund/befunge-98
lib/initialize.py
initialize.py
py
2,188
python
en
code
1
github-code
1
[ { "api_name": "field_and_pointer.Field", "line_number": 7, "usage_type": "call" }, { "api_name": "field_and_pointer.load_code", "line_number": 7, "usage_type": "call" }, { "api_name": "field_and_pointer.Pointer", "line_number": 8, "usage_type": "call" }, { "api_na...
20599371961
from flask import Flask, request app = Flask(__name__) @app.route('/02-server') def server01_views(): return "This is my first response by Ajax" @app.route('/03-server') def server03_views(): uname = request.args['uname'] return "欢迎" + uname if __name__ == '__main__': app.run(debug=True)
demo112/1809
PythonWeb/Ajax/1809/Day01/1809self/run01.py
run01.py
py
316
python
en
code
0
github-code
1
[ { "api_name": "flask.Flask", "line_number": 3, "usage_type": "call" }, { "api_name": "flask.request.args", "line_number": 13, "usage_type": "attribute" }, { "api_name": "flask.request", "line_number": 13, "usage_type": "name" } ]
32942262031
import datetime import json import os import random import string import sys import time import urllib.request os.system("title WARP-PLUS-CLOUDFLARE By Tran Thai Tuan Anh") os.system('cls' if os.name == 'nt' else 'clear') print ("[+] About script: With this script, you can getting unlimited GB on Warp+") print ("[+] T...
tranthaituananh/mini_projects
buffKey_1111.py
buffKey_1111.py
py
2,770
python
en
code
1
github-code
1
[ { "api_name": "os.system", "line_number": 10, "usage_type": "call" }, { "api_name": "os.system", "line_number": 11, "usage_type": "call" }, { "api_name": "os.name", "line_number": 11, "usage_type": "attribute" }, { "api_name": "string.ascii_letters", "line_num...
40938120333
# This defines the model import torch.nn as nn from torchvision import models import torch.nn as nn import torch class MyEnsemble(nn.Module): def __init__(self, modelA, modelB, input): super(MyEnsemble, self).__init__() self.modelA = modelA self.modelB = modelB self.fc1 = nn.Li...
agossouema2011/WCEBleedGenChallenge_Colorlab_Team
Classification/model.py
model.py
py
1,124
python
en
code
0
github-code
1
[ { "api_name": "torch.nn.Module", "line_number": 11, "usage_type": "attribute" }, { "api_name": "torch.nn", "line_number": 11, "usage_type": "name" }, { "api_name": "torch.nn.Linear", "line_number": 17, "usage_type": "call" }, { "api_name": "torch.nn", "line_nu...
25449310072
from django.shortcuts import render from .models import AreaOfExpertise, Expert def browser(request): aoe = AreaOfExpertise.objects.all().order_by('field') experts = Expert.objects.all() institutes = set() for expert in experts: institutes.add(expert.institute) if expert.institute is not No...
ztimson/OACPL
expert_witnesses/views.py
views.py
py
1,066
python
en
code
0
github-code
1
[ { "api_name": "models.AreaOfExpertise.objects.all", "line_number": 7, "usage_type": "call" }, { "api_name": "models.AreaOfExpertise.objects", "line_number": 7, "usage_type": "attribute" }, { "api_name": "models.AreaOfExpertise", "line_number": 7, "usage_type": "name" },...
14282958757
import serial import numpy as np import matplotlib.pyplot as plt # シリアルポートの設定(必要に応じて変更) ser = serial.Serial('/dev/ttyACM0', 115200) # グラフの初期化 fig, ax = plt.subplots() x_data, y_data = [], [] line, = ax.plot(x_data, y_data, 'o', markersize=6) # 3秒間のデータを保持するためのリングバッファ max_data_points = 300 # 1秒あたり100データ点...
Altairu/raspberrypi
python/PCaruduino2.py
PCaruduino2.py
py
1,149
python
ja
code
0
github-code
1
[ { "api_name": "serial.Serial", "line_number": 6, "usage_type": "call" }, { "api_name": "matplotlib.pyplot.subplots", "line_number": 9, "usage_type": "call" }, { "api_name": "matplotlib.pyplot", "line_number": 9, "usage_type": "name" }, { "api_name": "matplotlib.py...
22377846455
from django import http from django.http.response import Http404, HttpResponseForbidden from rest_framework import viewsets, mixins, status from rest_framework.response import Response from rest_framework.decorators import action, api_view, permission_classes from django.shortcuts import get_object_or_404 from .model...
insper-education/devlife-support-api
core/views.py
views.py
py
8,481
python
en
code
0
github-code
1
[ { "api_name": "rest_framework.viewsets.ModelViewSet", "line_number": 14, "usage_type": "attribute" }, { "api_name": "rest_framework.viewsets", "line_number": 14, "usage_type": "name" }, { "api_name": "models.User.objects.all", "line_number": 15, "usage_type": "call" }, ...
2997714658
# -*- coding: utf-8 -*- import requests import os # 6000 is a large number to make sure we get all the components of a collection. Please do note that RISE also has a pagination feature, # which can be implemented by clients if they wish. per_page = 6000 # getting the list of collections that the user has access to: ...
RISE-MPIWG/hylg
FetchTextFromRISE.py
FetchTextFromRISE.py
py
2,253
python
en
code
1
github-code
1
[ { "api_name": "requests.get", "line_number": 10, "usage_type": "call" }, { "api_name": "requests.get", "line_number": 31, "usage_type": "call" }, { "api_name": "os.path.exists", "line_number": 34, "usage_type": "call" }, { "api_name": "os.path", "line_number":...
25500941930
from fastapi import HTTPException, status from odmantic.bson import ObjectId from typing import List # Import helpers from helpers.database import db # Import Models from models.currency import Currency async def currency_exists(cid: ObjectId, loc=None): if loc is None: loc = [] loc = ['body'] + loc...
arif-sajal/mondol-int-accounts-backend
validators/form/currencyExists.py
currencyExists.py
py
1,453
python
en
code
0
github-code
1
[ { "api_name": "odmantic.bson.ObjectId", "line_number": 12, "usage_type": "name" }, { "api_name": "helpers.database.db.find_one", "line_number": 17, "usage_type": "call" }, { "api_name": "models.currency.Currency", "line_number": 17, "usage_type": "argument" }, { "...
43652346391
from os import name from django.urls import path #from .views import HomePageView from . import views urlpatterns = [ path('',views.teacher_index,name='teacher'), # Homepag path('<slug:teacher_id>/<int:choice>/Classes/', views.teacher_home, name="teacher_home"), #Student Batches path('<slug:classid>/Students...
abidgulshahid/Department-Managment-System
teacher/urls.py
urls.py
py
1,885
python
en
code
1
github-code
1
[ { "api_name": "django.urls.path", "line_number": 6, "usage_type": "call" }, { "api_name": "django.urls.path", "line_number": 8, "usage_type": "call" }, { "api_name": "django.urls.path", "line_number": 9, "usage_type": "call" }, { "api_name": "django.urls.path", ...
35601265161
from extract_words import extract_words import gi gi.require_version('Gtk', '3.0') gi.require_version('WebKit', '3.0') from gi.repository import Gtk, Gdk, WebKit class MainWindow(Gtk.Window): def __init__(self): Gtk.Window.__init__(self, title='My Window Title') self.AUTHEN_CODE = None # authent...
qzhqzh/EnglishReadingCompanion
src-python/GUI.py
GUI.py
py
10,726
python
en
code
0
github-code
1
[ { "api_name": "gi.require_version", "line_number": 3, "usage_type": "call" }, { "api_name": "gi.require_version", "line_number": 4, "usage_type": "call" }, { "api_name": "gi.repository.Gtk.Window", "line_number": 8, "usage_type": "attribute" }, { "api_name": "gi.r...
44587979411
"""Control module for the Vapourtec R4 heater.""" from __future__ import annotations from collections import namedtuple from collections.abc import Iterable import aioserial import pint from loguru import logger from flowchem import ureg from flowchem.components.device_info import DeviceInfo from flowchem.components...
cambiegroup/flowchem
src/flowchem/devices/vapourtec/r4_heater.py
r4_heater.py
py
6,914
python
en
code
11
github-code
1
[ { "api_name": "flowchem.devices.flowchem_device.FlowchemDevice", "line_number": 28, "usage_type": "name" }, { "api_name": "aioserial.PARITY_NONE", "line_number": 34, "usage_type": "attribute" }, { "api_name": "aioserial.STOPBITS_ONE", "line_number": 35, "usage_type": "att...
40420378554
from pathlib import Path import numpy as np from collections import Counter from itertools import product DIRECTIONS = ("up", "down", "left", "right") ROTATIONS = (0, 90, 180, 270) def get_tile_borders(tile, dir="all"): borders = [] border = None for d in DIRECTIONS: if dir in [d, "all"]: ...
eirikhoe/advent-of-code
2020/20/sol.py
sol.py
py
8,548
python
en
code
0
github-code
1
[ { "api_name": "numpy.copy", "line_number": 46, "usage_type": "call" }, { "api_name": "numpy.array", "line_number": 84, "usage_type": "call" }, { "api_name": "numpy.uint8", "line_number": 84, "usage_type": "attribute" }, { "api_name": "numpy.round", "line_numbe...
43767212162
import re import datetime from .dean import Dean from bs4 import BeautifulSoup from freeclass.models import Classroom from course.models import Course from main import get_now_week class FreeClassroom: session = Dean().dean_session week = get_now_week() building_dict = { "1": "思源楼", "2": "...
jlytwhx/bjtubox_python
utils/freeclass.py
freeclass.py
py
3,277
python
en
code
5
github-code
1
[ { "api_name": "dean.Dean", "line_number": 11, "usage_type": "call" }, { "api_name": "main.get_now_week", "line_number": 12, "usage_type": "call" }, { "api_name": "bs4.BeautifulSoup", "line_number": 57, "usage_type": "call" }, { "api_name": "datetime.datetime.now",...
21642185259
#!/usr/bin/env python # coding: utf-8 # In[1]: import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns import pickle # In[2]: train=pd.read_csv('sales_train.csv') items=pd.read_csv('items.csv') shops=pd.read_csv('shops.csv') cats=pd.read_csv('item_categories.csv') # In[3]:...
rishabhagarwal8979/Predicting-Future-Sales-Web-API
model.py
model.py
py
7,422
python
en
code
0
github-code
1
[ { "api_name": "pandas.read_csv", "line_number": 18, "usage_type": "call" }, { "api_name": "pandas.read_csv", "line_number": 19, "usage_type": "call" }, { "api_name": "pandas.read_csv", "line_number": 20, "usage_type": "call" }, { "api_name": "pandas.read_csv", ...
5823107738
from PythonPrograms.Oblig2_A_star.Vertex import Vertex from PythonPrograms.Oblig2_A_star.Edge import Edge from PythonPrograms.Oblig2_A_star.Graph import Graph import pygame as pg ''' The AStar class inherits the Graph class ''' class AStar(Graph): """ # # delay: seconds between each iteration when visu...
HalilIbrahimKeser/AStarAndKalmanPython
PythonPrograms/Oblig2_A_star/AStar.py
AStar.py
py
18,462
python
en
code
0
github-code
1
[ { "api_name": "PythonPrograms.Oblig2_A_star.Graph.Graph", "line_number": 12, "usage_type": "name" }, { "api_name": "pandas.read_csv", "line_number": 75, "usage_type": "call" }, { "api_name": "pygame.init", "line_number": 108, "usage_type": "call" }, { "api_name": ...
9726738798
from flask import Response, Flask from time import sleep import random import prometheus_client from prometheus_client import Counter, Histogram app = Flask('prometheus-app') REQUESTS = Counter( 'requests', 'Application Request Count', ['endpoint'] ) TIMER = Histogram( 'slow', 'Slow Requests', ['endp...
leonekwolfik/python_devops
python-dla-devops-naucz-sie-bezlitosnie-skutecznej-automatyzacji-noah-gift-kennedy-behrman-alfredo-deza-grig-ghe/src/roz07-Monitoring/web.py
web.py
py
847
python
pl
code
0
github-code
1
[ { "api_name": "flask.Flask", "line_number": 7, "usage_type": "call" }, { "api_name": "prometheus_client.Counter", "line_number": 9, "usage_type": "call" }, { "api_name": "prometheus_client.Histogram", "line_number": 14, "usage_type": "call" }, { "api_name": "flask...
28013600994
import citations as cit import json from flask import Flask, request from flask_cors import CORS app = Flask(__name__) cors = CORS(app, resources={r"/api/*": {"origins": "*"}}) years = [ 2015, 2016, 2017, 2018, 2019 ] class_names = [ "-", "A", "B", "C", "D", "E", ] sectors = [ "MAT01", ...
robol/citation-count
citationserver.py
citationserver.py
py
2,855
python
en
code
0
github-code
1
[ { "api_name": "flask.Flask", "line_number": 6, "usage_type": "call" }, { "api_name": "flask_cors.CORS", "line_number": 7, "usage_type": "call" }, { "api_name": "citations.get_journals_classification", "line_number": 65, "usage_type": "call" }, { "api_name": "json....
16196933934
import time import random import zmq context = zmq.Context() zmq_socket = context.socket(zmq.PUSH) zmq_socket.connect("tcp://127.0.0.1:5557") # Start your result manager and workers before you start your producers consumer_id = random.randrange(1,10005) print("I am consumer #%s" % (consumer_id)) for num in range(200...
telminov/my_notes_for_various-_programlanguages
python/сокеты/ZMQ с очередями/Zmq/messaging_pattern/3.5/push_pull_(many_pushed)/push_.py
push_.py
py
423
python
en
code
0
github-code
1
[ { "api_name": "zmq.Context", "line_number": 6, "usage_type": "call" }, { "api_name": "zmq.PUSH", "line_number": 7, "usage_type": "attribute" }, { "api_name": "random.randrange", "line_number": 11, "usage_type": "call" }, { "api_name": "time.sleep", "line_numbe...
2759222029
# -*- coding: utf-8 -*- #------------------------------------------------------------------------------- # Author: chenhao # Date: 2020-09-13 # Description: #------------------------------------------------------------------------------- import torch import torch.nn as nn from torch.nn import functional as F clas...
chenhaoenen/FCTest
nlp/ChnSentiCorp_htl_all/src/model/textcnn.py
textcnn.py
py
2,010
python
en
code
0
github-code
1
[ { "api_name": "torch.nn.Module", "line_number": 11, "usage_type": "attribute" }, { "api_name": "torch.nn", "line_number": 11, "usage_type": "name" }, { "api_name": "torch.nn.Embedding", "line_number": 22, "usage_type": "call" }, { "api_name": "torch.nn", "line...
17885667606
import pytest from sqlalchemy import create_engine from sqlalchemy.orm import Session, sessionmaker import pdb from src import config from src.domain import model from src.services_layer import unit_of_work from src.adapters import repository @pytest.fixture def tear_down(): session_factory = postgres_db_session...
yellowBunnyy/audio_teka
tests/test_uow.py
test_uow.py
py
2,066
python
en
code
1
github-code
1
[ { "api_name": "pytest.fixture", "line_number": 12, "usage_type": "attribute" }, { "api_name": "src.domain.model.Title", "line_number": 21, "usage_type": "attribute" }, { "api_name": "src.domain.model", "line_number": 21, "usage_type": "name" }, { "api_name": "src....
22418570468
#!/usr/bin/env python3 import argparse import requests def parse_args(): parser = argparse.ArgumentParser() parser.add_argument("--url", type=str, default="http://0.0.0.0:8000/model") parser.add_argument("--host", type=str) parser.add_argument("--port", type=str) parser.add_argument("-n", "--name...
ktro2828/DenseMatching-API
example/load_model.py
load_model.py
py
1,046
python
en
code
0
github-code
1
[ { "api_name": "argparse.ArgumentParser", "line_number": 8, "usage_type": "call" }, { "api_name": "requests.post", "line_number": 26, "usage_type": "call" } ]
27537495283
import torch import torch.nn as nn import torch.nn.functional as F class CNN(nn.Module): def __init__(self, args, data, vectors): super(CNN, self).__init__() self.args = args self.word_emb = nn.Embedding(args.embed_num, args.embed_dim, padding_idx=1) # initialize word embedding with pretrained word2vec ...
UVa-NLP/HEDGE
cnn/cnn_model.py
cnn_model.py
py
1,848
python
en
code
30
github-code
1
[ { "api_name": "torch.nn.Module", "line_number": 6, "usage_type": "attribute" }, { "api_name": "torch.nn", "line_number": 6, "usage_type": "name" }, { "api_name": "torch.nn.Embedding", "line_number": 13, "usage_type": "call" }, { "api_name": "torch.nn", "line_n...
75168964833
"""This module includes dependencies.""" from fastapi import Header, status, HTTPException from settings import INTERNAL_CONFIGS def verify_api_key( x_auth: str = Header(description="API key"), x_from_name: str = Header(description="Name of services from where request is came"), ): """Check if user is l...
Monoboard/monoboard.api.auth
src/dependencies.py
dependencies.py
py
707
python
en
code
0
github-code
1
[ { "api_name": "fastapi.Header", "line_number": 9, "usage_type": "call" }, { "api_name": "fastapi.Header", "line_number": 10, "usage_type": "call" }, { "api_name": "settings.INTERNAL_CONFIGS.get", "line_number": 13, "usage_type": "call" }, { "api_name": "settings.I...
30262906364
import time from logging import getLogger from typing import Any, Dict, Optional, Tuple import numpy as np import torch import torch.nn as nn import torch.optim as optim from sklearn.metrics import confusion_matrix, f1_score from torch.utils.data import DataLoader from .meter import AverageMeter, ProgressMeter from ....
yiskw713/pytorch_template
src/libs/helper.py
helper.py
py
4,370
python
en
code
22
github-code
1
[ { "api_name": "logging.getLogger", "line_number": 17, "usage_type": "call" }, { "api_name": "typing.Dict", "line_number": 21, "usage_type": "name" }, { "api_name": "typing.Any", "line_number": 21, "usage_type": "name" }, { "api_name": "torch.nn.Module", "line_...
16662772162
#!/usr/bin/env python # coding: utf-8 # In[2]: import pandas as pd # In[3]: df=pd.read_csv(r'C:\Users\msid4\OneDrive\Desktop\cc\music.tsv',sep='\t',encoding='utf-8',error_bad_lines=False) # In[3]: df.head() # In[90]: df.shape # In[4]: import findspark # In[5]: findspark.init('C:\spark') # In[6]...
msid4459/Cloud-Computing-Spark_ML_MapReduce-project
stage2.py
stage2.py
py
2,337
python
en
code
0
github-code
1
[ { "api_name": "pandas.read_csv", "line_number": 13, "usage_type": "call" }, { "api_name": "findspark.init", "line_number": 37, "usage_type": "call" }, { "api_name": "pyspark.SparkConf", "line_number": 61, "usage_type": "call" }, { "api_name": "pyspark.SparkContext...
33082316879
import re from googletrans import Translator # Dòng chứa thông tin sinh viên student_info = "Full name: BUI HUY HOANG\nDoB\n11/12/2003\nGender: Male\nIntake\n2021-2024\nCourse: Bachelor\nMajor\nInformation and Communication Technology\nBI12-170\nValidity: 30/10/2024" # Tìm và ghép các phần của đối tượng lại với nhau...
Huyen165/ML2
Src/Identify_info.py
Identify_info.py
py
1,705
python
vi
code
0
github-code
1
[ { "api_name": "re.search", "line_number": 9, "usage_type": "call" }, { "api_name": "re.search", "line_number": 10, "usage_type": "call" }, { "api_name": "re.search", "line_number": 11, "usage_type": "call" }, { "api_name": "re.search", "line_number": 12, "...
2715638565
import os,glob from Bio import SeqIO import statistics import numpy as np from Bio.Seq import Seq import re vcf_folder = '/scratch/users/anniz44/genomes/donor_species/vcf_round2/merge/details/' output_folder = '/scratch/users/anniz44/genomes/donor_species/vcf_round2/BS/' target_TF = '%s/target.TF.faa'%(output_folder) ...
caozhichongchong/snp_finder
snp_finder/scripts/compareBS_coassembly.py
compareBS_coassembly.py
py
28,977
python
en
code
2
github-code
1
[ { "api_name": "Bio.SeqIO.parse", "line_number": 34, "usage_type": "call" }, { "api_name": "Bio.SeqIO", "line_number": 34, "usage_type": "name" }, { "api_name": "Bio.SeqIO.parse", "line_number": 96, "usage_type": "call" }, { "api_name": "Bio.SeqIO", "line_numbe...
35872126644
"""\ Reference Directive for L.E.A.R.N ================================= Author: Akshay Mestry <xa@mes3.dev> Created on: Friday, July 28 2023 Last updated on: Monday, July 31 2023 This module provides a custom directive for L.E.A.R.N's custom theme, that allows authors and contributors to add a dedicated references s...
xames3/learn
docs/source/_extensions/sphinx/ext/learn/references.py
references.py
py
5,586
python
en
code
8
github-code
1
[ { "api_name": "typing.Final", "line_number": 84, "usage_type": "attribute" }, { "api_name": "jinja2.Template", "line_number": 84, "usage_type": "attribute" }, { "api_name": "docutils.nodes.Element", "line_number": 99, "usage_type": "name" }, { "api_name": "docutil...
11742668018
import eval7 from tqdm import tqdm import traceback import sys from pprint import pprint sys.path.insert(0, "../") sys.path.insert(0, "../.libs") from pokereval import PokerEval pokereval = PokerEval() from pprint import pprint import numpy as np import operator from tqdm import tqdm import datetime import re rank = ...
jinyiabc/holdem_board_analyzer
hr/fictious_raise.py
fictious_raise.py
py
7,896
python
en
code
0
github-code
1
[ { "api_name": "sys.path.insert", "line_number": 6, "usage_type": "call" }, { "api_name": "sys.path", "line_number": 6, "usage_type": "attribute" }, { "api_name": "sys.path.insert", "line_number": 7, "usage_type": "call" }, { "api_name": "sys.path", "line_numbe...
19118236265
import pandas as pd import matplotlib.pyplot as plt # Load the CSV data into a DataFrame df = pd.read_csv("suicide_reates.csv") # Menu for user's choice print("Select a graph to display:") print("1. Bar Graph") print("2. Histogram") print("3. Scatter Plot") print("4. Line Graph") # Add Line Graph option choice = in...
praveenkumar-byte/ml
visualize.py
visualize.py
py
1,709
python
en
code
0
github-code
1
[ { "api_name": "pandas.read_csv", "line_number": 5, "usage_type": "call" }, { "api_name": "matplotlib.pyplot.figure", "line_number": 22, "usage_type": "call" }, { "api_name": "matplotlib.pyplot", "line_number": 22, "usage_type": "name" }, { "api_name": "matplotlib....
42895748829
import torch import pandas as pd import numpy as np from tqdm.notebook import tqdm from joblib import Parallel, delayed #conda install -c anaconda joblib class DatasetHandler: def __init__(self, dataframes, config_dict): """ cols_input, cols_target, dataframes_descriptions, keep_na=Fa...
DoriNiss/dust_prediction_using_deep_learning
packages/data_handlers/DatasetHandler.py
DatasetHandler.py
py
12,765
python
en
code
0
github-code
1
[ { "api_name": "pandas.date_range", "line_number": 58, "usage_type": "call" }, { "api_name": "pandas.DataFrame", "line_number": 59, "usage_type": "call" }, { "api_name": "numpy.isnan", "line_number": 94, "usage_type": "call" }, { "api_name": "numpy.expand_dims", ...
7900094304
from django.urls import path from . import views urlpatterns = [ path("", views.index, name="index"), path("login", views.login_view, name="login"), path("logout", views.logout_view, name="logout"), path("register", views.register, name="register"), path("allPosts",views.allPosts,name="allPosts")...
keshavanand/Network
network/urls.py
urls.py
py
702
python
en
code
0
github-code
1
[ { "api_name": "django.urls.path", "line_number": 7, "usage_type": "call" }, { "api_name": "django.urls.path", "line_number": 8, "usage_type": "call" }, { "api_name": "django.urls.path", "line_number": 9, "usage_type": "call" }, { "api_name": "django.urls.path", ...
29640359742
import math import pytest from datatable import f, dt, update from tests import assert_equals stypes_int = dt.ltype.int.stypes stypes_float = dt.ltype.real.stypes stypes_str = dt.ltype.str.stypes stypes_all = [dt.bool8, dt.obj64] + stypes_int + stypes_float + stypes_str #--------------------------------------------...
h2oai/datatable
tests/ijby/test-assign-scalar.py
test-assign-scalar.py
py
9,236
python
en
code
1,763
github-code
1
[ { "api_name": "datatable.dt.ltype", "line_number": 6, "usage_type": "attribute" }, { "api_name": "datatable.dt", "line_number": 6, "usage_type": "name" }, { "api_name": "datatable.dt.ltype", "line_number": 7, "usage_type": "attribute" }, { "api_name": "datatable.d...
27666235820
# -*- coding: utf-8 -*- import logging from .utils import parse_date from .config import Config import xmltodict logger = logging.getLogger() class XMLParser(object): def __init__(self, xml, config=None): self.xml = xml self.errors = None if config is None: config = Config()...
Japle/python-pagseguro
pagseguro/parsers.py
parsers.py
py
6,801
python
en
code
173
github-code
1
[ { "api_name": "logging.getLogger", "line_number": 9, "usage_type": "call" }, { "api_name": "config.Config", "line_number": 17, "usage_type": "call" }, { "api_name": "xmltodict.parse", "line_number": 24, "usage_type": "call" }, { "api_name": "utils.parse_date", ...
74356016992
# importint the necessary lirbraries # import tensorflow.keras as kerasfrom __future__ import print_function from __future__ import print_function import keras from keras.layers import Convolution2D from keras.layers import Flatten from keras.layers import Dense from keras.layers import Dropout from keras.layers impo...
Tobenna-KA/mimeai-api
api/src/capsule_net.py
capsule_net.py
py
15,008
python
en
code
0
github-code
1
[ { "api_name": "keras.layers.Layer", "line_number": 50, "usage_type": "attribute" }, { "api_name": "keras.layers", "line_number": 50, "usage_type": "name" }, { "api_name": "keras.backend.sqrt", "line_number": 59, "usage_type": "call" }, { "api_name": "keras.backend...
71632700195
import logging logging.basicConfig() logger = logging.getLogger() logger.setLevel(logging.INFO) def do_add_remove_maglev(test, table, add, remove, exp_table, exp_prev_ele_map): logger.info("===Add/Remove Maglev test===") if add: logger.info("Adding {} to the table.".format(add)) table.add(add...
futurewei-cloud/zeta
test/helper.py
helper.py
py
803
python
en
code
16
github-code
1
[ { "api_name": "logging.basicConfig", "line_number": 3, "usage_type": "call" }, { "api_name": "logging.getLogger", "line_number": 4, "usage_type": "call" }, { "api_name": "logging.INFO", "line_number": 5, "usage_type": "attribute" } ]
19986667975
import numpy as np import pandas as pd import sqlite3 from FoodTables.FoundationTable import FoundationTable from FoodTables.MarketTable import MarketTable VOLUME_CONVERSIONS_TABLE = "volume_conversions" MASS_CONVERSIONS_TABLE = "mass_conversions" FOOD_TABLE = "food" con = sqlite3.connect("data.sqlite") def reset_...
danzou56/food-data
make_db.py
make_db.py
py
1,128
python
en
code
0
github-code
1
[ { "api_name": "sqlite3.connect", "line_number": 12, "usage_type": "call" }, { "api_name": "pandas.read_csv", "line_number": 24, "usage_type": "call" }, { "api_name": "numpy.float64", "line_number": 24, "usage_type": "attribute" }, { "api_name": "pandas.concat", ...
35010952644
# 스포츠 기사 크롤링 import requests from bs4 import BeautifulSoup as bs from apps.resources.models import Article def crawling_entertain_news(): entertain_url = "https://entertain.naver.com" entertain_url_home = entertain_url + "/home" response = requests.get(entertain_url_home) soup = bs(response.text, ...
Billionaire-Project/four_hours_service
scheduler/news_crawling_entertain.py
news_crawling_entertain.py
py
1,835
python
en
code
0
github-code
1
[ { "api_name": "requests.get", "line_number": 14, "usage_type": "call" }, { "api_name": "bs4.BeautifulSoup", "line_number": 15, "usage_type": "call" }, { "api_name": "requests.get", "line_number": 31, "usage_type": "call" }, { "api_name": "bs4.BeautifulSoup", "...
26218292301
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('api', '0019_auto_20150121_1722'), ] operations = [ migrations.AlterField( model_name='contestentry', ...
mikeparisstuff/nostrajamus
api/migrations/0020_auto_20150122_0435.py
0020_auto_20150122_0435.py
py
474
python
en
code
1
github-code
1
[ { "api_name": "django.db.migrations.Migration", "line_number": 7, "usage_type": "attribute" }, { "api_name": "django.db.migrations", "line_number": 7, "usage_type": "name" }, { "api_name": "django.db.migrations.AlterField", "line_number": 14, "usage_type": "call" }, {...
32746010298
import numpy as np from PIL import Image import matplotlib.pyplot as plt class clusteredData(): def __init__(self,dataSet)-> None: self.__dataSet = dataSet self.__centriods,self.__belongsTo = elbowMethod(dataSet,8) #self.__centriods,self.__belongsTo = kmeans(3,dataSet) #self.plot() ...
danieljimenez1337/tlds-parser
kmeans_util.py
kmeans_util.py
py
4,685
python
en
code
1
github-code
1
[ { "api_name": "matplotlib.pyplot.subplots", "line_number": 17, "usage_type": "call" }, { "api_name": "matplotlib.pyplot", "line_number": 17, "usage_type": "name" }, { "api_name": "matplotlib.pyplot.show", "line_number": 26, "usage_type": "call" }, { "api_name": "m...
30289814434
import logging from google.cloud import secretmanager from google.cloud import pubsub # format logs formatter = '%(asctime)s - %(levelname)s - %(message)s' logging.basicConfig(format=formatter, level=logging.DEBUG) logging.basicConfig() logger = logging.getLogger(__name__) # get secrets secrets = secretmanager.Secret...
codefordemocracy/data
federal/fec/functions/federal_fec_ingest_queue_import/main.py
main.py
py
1,606
python
en
code
1
github-code
1
[ { "api_name": "logging.basicConfig", "line_number": 7, "usage_type": "call" }, { "api_name": "logging.DEBUG", "line_number": 7, "usage_type": "attribute" }, { "api_name": "logging.basicConfig", "line_number": 8, "usage_type": "call" }, { "api_name": "logging.getLo...
26385311712
import numpy as np # from sklearn.metrics import accuracy_score from sortedcontainers import SortedList import math import matplotlib.pyplot as plt class ml_model(object): """ Parameters ------------ method : str which ML lib learning_rate : float (default: 0.01) Learning rate (be...
u8913557/myDataScience
Model/ml_model.py
ml_model.py
py
21,075
python
en
code
0
github-code
1
[ { "api_name": "numpy.copy", "line_number": 51, "usage_type": "call" }, { "api_name": "numpy.copy", "line_number": 56, "usage_type": "call" }, { "api_name": "numpy.copy", "line_number": 59, "usage_type": "call" }, { "api_name": "numpy.random.randn", "line_numbe...
41304347612
import torch print(torch.__version__) torch.get_default_dtype() torch.get_num_threads() torch.set_default_dtype(torch.float64) torch.get_default_dtype() tensor_arr = torch.Tensor([[1, 2, 3], [4, 5, 6]]) torch.is_tensor(tensor_arr) torch.numel(tensor_arr) #Gives the number of elements in the tensor tensor_unin...
subhankar453/ExploringPyTorch
models/ExploringPyTorch.py
ExploringPyTorch.py
py
3,807
python
en
code
0
github-code
1
[ { "api_name": "torch.__version__", "line_number": 2, "usage_type": "attribute" }, { "api_name": "torch.get_default_dtype", "line_number": 3, "usage_type": "call" }, { "api_name": "torch.get_num_threads", "line_number": 4, "usage_type": "call" }, { "api_name": "tor...
24925249732
# -*- coding: utf-8 -*- import json import os from locale import getdefaultlocale from .internationalization import SUPPORTED_LANGUAGES _lang = getdefaultlocale()[0] for _supported_lang in SUPPORTED_LANGUAGES.keys(): if _lang in _supported_lang or _supported_lang in _lang: _lang = _supported_lang ...
Sa-RSt/WordByWord
wordbyword/settings.py
settings.py
py
1,265
python
en
code
0
github-code
1
[ { "api_name": "locale.getdefaultlocale", "line_number": 9, "usage_type": "call" }, { "api_name": "internationalization.SUPPORTED_LANGUAGES.keys", "line_number": 10, "usage_type": "call" }, { "api_name": "internationalization.SUPPORTED_LANGUAGES", "line_number": 10, "usage...
24000459929
from django import forms from .models import Booking from django.core.exceptions import ValidationError class BookingForm(forms.ModelForm): """Form for the booking model.""" class Meta: model = Booking fields = ( 'first_name', 'last_name', 'phone_number', ...
rocrill/velo_city
bookservice/forms.py
forms.py
py
613
python
en
code
0
github-code
1
[ { "api_name": "django.forms.ModelForm", "line_number": 6, "usage_type": "attribute" }, { "api_name": "django.forms", "line_number": 6, "usage_type": "name" }, { "api_name": "models.Booking", "line_number": 9, "usage_type": "name" }, { "api_name": "django.forms.Dat...
18204569793
from requests.exceptions import ReadTimeout from django.http import JsonResponse from ..keycloak_services import check_ldap_connection from ..keycloak_services import check_ldap_authentication from ..keycloak_services import request_access_token def process_request(request, parameter_keys, kc_call): token = req...
os2datascanner/os2datascanner
src/os2datascanner/projects/admin/import_services/views/keycloak_api_views.py
keycloak_api_views.py
py
1,718
python
en
code
8
github-code
1
[ { "api_name": "keycloak_services.request_access_token", "line_number": 11, "usage_type": "call" }, { "api_name": "django.http.JsonResponse", "line_number": 22, "usage_type": "call" }, { "api_name": "requests.exceptions.ReadTimeout", "line_number": 36, "usage_type": "name"...
19229736770
import ddt import unittest,requests @ddt.ddt class TestLogin(unittest.TestCase): @ddt.file_data(r'E:\login.yml') @ddt.unpack def test_run(self,**kwargs): method = kwargs.get('method') url = kwargs.get('url') data = kwargs.get('data',{}) header = kwargs.get('header',{}) is_json = kwargs.get('is_json',0) c...
hedyxy/APIauto
cases/TestLogin.py
TestLogin.py
py
683
python
en
code
0
github-code
1
[ { "api_name": "unittest.TestCase", "line_number": 4, "usage_type": "attribute" }, { "api_name": "requests.post", "line_number": 17, "usage_type": "call" }, { "api_name": "requests.post", "line_number": 19, "usage_type": "call" }, { "api_name": "requests.get", ...
10841797597
import logging from . import BinanceBrokers from .requests import unauthorizrd_request from core.config import ( BINANCE_SPOT_KLINES_URL, BINANCE_UM_KLINES_URL, BINANCE_CM_KLINES_URL, BINANCE_SPOT_MARKET_INFO_URL, BINANCE_UM_MARKET_INFO_URL, BINANCE_CM_MARKET_INFO_URL, ) async def get_kline...
Hudrolax/invest_tools
app/brokers/binance/market_data.py
market_data.py
py
1,915
python
en
code
0
github-code
1
[ { "api_name": "logging.getLogger", "line_number": 35, "usage_type": "call" }, { "api_name": "core.config.BINANCE_SPOT_KLINES_URL", "line_number": 43, "usage_type": "name" }, { "api_name": "core.config.BINANCE_UM_KLINES_URL", "line_number": 45, "usage_type": "name" }, ...
70205744354
''' 텔레포트 3 시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율 2 초 512 MB 303 122 101 43.348% 문제 수빈이는 크기가 무한대인 격자판 위에 살고 있다. 격자판의 각 점은 두 정수의 쌍 (x, y)로 나타낼 수 있다. 제일 처음에 수빈이의 위치는 (xs, ys)이고, 집이 위치한 (xe, ye)로 이동하려고 한다. 수빈이는 두 가지 방법으로 이동할 수 있다. 첫 번째 방법은 점프를 하는 것이다. 예를 들어 (x, y)에 있는 경우에 (x+1, y), (x-1, y), (x, y+1), (x, y-1)로 이동할 수 있다. 점프는 1초...
hanseul-jeong/Coding_test
Backjoon/단계별로풀어보기/12908.py
12908.py
py
3,661
python
ko
code
0
github-code
1
[ { "api_name": "sys.stdin.readline", "line_number": 31, "usage_type": "call" }, { "api_name": "sys.stdin", "line_number": 31, "usage_type": "attribute" }, { "api_name": "sys.stdin.readline", "line_number": 32, "usage_type": "call" }, { "api_name": "sys.stdin", ...
30058213410
# -*- coding: utf-8 -*- """ Created on Fri Mar 04 10:04:46 2016 @author: nfette A single effect LiBr absorption chiller model. """ import numpy as np import tabulate from scipy.optimize import fsolve from scipy.interpolate import PchipInterpolator from collections import namedtuple import CoolProp.CoolProp as CP from...
nfette/openACHP
src/libr3.py
libr3.py
py
36,513
python
en
code
8
github-code
1
[ { "api_name": "CoolProp.CoolProp.AbstractState", "line_number": 22, "usage_type": "call" }, { "api_name": "CoolProp.CoolProp", "line_number": 22, "usage_type": "name" }, { "api_name": "numpy.dtype", "line_number": 24, "usage_type": "call" }, { "api_name": "numpy.z...
16671735068
#!/usr/local/bin/python3 # -*- coding: utf-8 -*- # @Time : 2018/7/10 PM4:59 # @Author : L # @Email : L862608263@163.com # @File : google.py # @Software: PyCharm import json import urllib import urllib.request import urllib.parse import re def url_open(url, data=None): request = urllib.request.Request(ur...
SnowStorm-L/WebCrawler
Code/google/google_translate.py
google_translate.py
py
5,312
python
en
code
0
github-code
1
[ { "api_name": "urllib.request.Request", "line_number": 17, "usage_type": "call" }, { "api_name": "urllib.request", "line_number": 17, "usage_type": "attribute" }, { "api_name": "urllib.request.urlopen", "line_number": 21, "usage_type": "call" }, { "api_name": "url...
33970522684
import logging from typing import Any, Callable, Dict, Iterable, Iterator, Optional, Tuple, Union from swh.core.db import BaseDb from swh.model.model import ( BaseModel, Directory, DirectoryEntry, ExtID, RawExtrinsicMetadata, Release, Revision, Snapshot, SnapshotBranch, TargetTy...
SoftwareHeritage/swh-storage
swh/storage/backfill.py
backfill.py
py
20,163
python
en
code
6
github-code
1
[ { "api_name": "logging.getLogger", "line_number": 27, "usage_type": "call" }, { "api_name": "swh.core.db.BaseDb", "line_number": 172, "usage_type": "name" }, { "api_name": "typing.Dict", "line_number": 172, "usage_type": "name" }, { "api_name": "typing.Any", "...
36690171785
from collections import deque import heapq class TreeNode(object): def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution(object): def verticalTraversal(self, root): """ :type root: TreeNode :r...
lingerxu/leetcode-solutions
heapq.py
heapq.py
py
1,648
python
en
code
0
github-code
1
[ { "api_name": "collections.deque", "line_number": 16, "usage_type": "call" }, { "api_name": "heapq.heappush", "line_number": 26, "usage_type": "call" }, { "api_name": "heapq.heappop", "line_number": 35, "usage_type": "call" } ]
72537368994
from rest_framework import serializers from .models import Departman,Personel from django.utils.timezone import now class DepartmanSerializer(serializers.ModelSerializer): count = serializers.SerializerMethodField() class Meta: model = Departman fields = ( 'id', ...
dedeogluie/Personel_APP
personelApp/serializers.py
serializers.py
py
1,076
python
en
code
1
github-code
1
[ { "api_name": "rest_framework.serializers.ModelSerializer", "line_number": 11, "usage_type": "attribute" }, { "api_name": "rest_framework.serializers", "line_number": 11, "usage_type": "name" }, { "api_name": "rest_framework.serializers.SerializerMethodField", "line_number": ...
36367686593
# -*- coding: utf-8 -*- import numpy as np import os import h5py import logging from data_exchange import DataExchangeFile, DataExchangeEntry class Export(): def __init__(xtomo, data=None, data_white=None, data_dark=None, theta=None, hdf5_file_name=None, data_exchange_type=None,...
decarlof/syncpy
syncpy/dataexchange/xtomo/xtomo_exporter.py
xtomo_exporter.py
py
14,858
python
en
code
0
github-code
1
[ { "api_name": "os.path.abspath", "line_number": 114, "usage_type": "call" }, { "api_name": "os.path", "line_number": 114, "usage_type": "attribute" }, { "api_name": "os.path.dirname", "line_number": 115, "usage_type": "call" }, { "api_name": "os.path", "line_n...
5973276889
import os import logging import gzip from psycopg2 import sql from django.core.management.base import BaseCommand from django.db import connection from oac_search import models, pubmed logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO) class Command(BaseCommand): help ...
vpodpecan/pmcutils
oac_search/management/commands/search_export_fulltext.py
search_export_fulltext.py
py
2,276
python
en
code
0
github-code
1
[ { "api_name": "logging.basicConfig", "line_number": 12, "usage_type": "call" }, { "api_name": "logging.INFO", "line_number": 12, "usage_type": "attribute" }, { "api_name": "django.core.management.base.BaseCommand", "line_number": 15, "usage_type": "name" }, { "api...
25917719676
import csv import io import json import os.path import pickle from googleapiclient.discovery import build from googleapiclient.errors import HttpError from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request # If modifying these scopes, delete the file token.pickle. SC...
jchorl/auditor-functions
sheets/main.py
main.py
py
3,949
python
en
code
0
github-code
1
[ { "api_name": "os.path.getenv", "line_number": 15, "usage_type": "call" }, { "api_name": "os.path", "line_number": 15, "usage_type": "name" }, { "api_name": "os.path.getenv", "line_number": 16, "usage_type": "call" }, { "api_name": "os.path", "line_number": 16...
38219482418
from pynput import keyboard from score_following_game.agents.optimal_agent import OptimalAgent human_action = 1 def on_press(key): global human_action if key == keyboard.Key.left: human_action = 0 if key == keyboard.Key.right: human_action = 2 class HumanAgent(OptimalAgent): def _...
CPJKU/score_following_game
score_following_game/agents/human_agent.py
human_agent.py
py
603
python
en
code
47
github-code
1
[ { "api_name": "pynput.keyboard.Key", "line_number": 9, "usage_type": "attribute" }, { "api_name": "pynput.keyboard", "line_number": 9, "usage_type": "name" }, { "api_name": "pynput.keyboard.Key", "line_number": 12, "usage_type": "attribute" }, { "api_name": "pynpu...
21094423421
import random from datetime import datetime import pytest from june import paths from june.activity import activity_hierarchy from june.epidemiology.epidemiology import Epidemiology from june.epidemiology.infection import Immunity, InfectionSelector, InfectionSelectors from june.groups.leisure import leisure from june...
UNGlobalPulse/UNGP-settlement-modelling
test_camps/test_simulator.py
test_simulator.py
py
6,046
python
en
code
6
github-code
1
[ { "api_name": "camps.paths.camp_configs_path", "line_number": 25, "usage_type": "name" }, { "api_name": "camps.paths.camp_configs_path", "line_number": 26, "usage_type": "name" }, { "api_name": "random.sample", "line_number": 33, "usage_type": "call" }, { "api_nam...
8913177888
from django.urls import path from .views import cart_detail,cart_add,cart_remove app_name='shopping' urlpatterns = [ path('<int:cart_id>/',cart_detail,name='cart_detail'), path('add/<int:product_id>/', cart_add, name='cart_add'), path('remove/<int:product_id>/', cart_remove, name='cart_remove'), ]
UhuruV/group2_greenskiosk
greenskiosk/shopping/urls.py
urls.py
py
314
python
en
code
0
github-code
1
[ { "api_name": "django.urls.path", "line_number": 7, "usage_type": "call" }, { "api_name": "views.cart_detail", "line_number": 7, "usage_type": "argument" }, { "api_name": "django.urls.path", "line_number": 8, "usage_type": "call" }, { "api_name": "views.cart_add",...
13799406873
import argparse import trimesh import numpy as np import json from math import * import math import requests import geopandas as gpd from shapely import Polygon #TODO args better ap = argparse.ArgumentParser() ap.add_argument("--method", help="method of gps", type=str) ap.add_argument("--GPSFile", help="GPSFile", type...
Just-Kiel/MeshroomGeoNode
scripts/OSMBuildings.py
OSMBuildings.py
py
4,129
python
en
code
3
github-code
1
[ { "api_name": "argparse.ArgumentParser", "line_number": 12, "usage_type": "call" }, { "api_name": "json.load", "line_number": 26, "usage_type": "call" }, { "api_name": "math.radians", "line_number": 38, "usage_type": "call" }, { "api_name": "math.asinh", "line...
2548449685
"""Finetune 3D CNN.""" import os import argparse import itertools import time import math import random import builtins import warnings import string import numpy as np import pandas as pd from PIL import ImageFilter import torch import torch.nn as nn import torch.nn.parallel import torch.backends.cudnn as cudnn import...
guoshengcv/CACL
train_finetune.py
train_finetune.py
py
23,057
python
en
code
22
github-code
1
[ { "api_name": "random.uniform", "line_number": 40, "usage_type": "call" }, { "api_name": "PIL.ImageFilter.GaussianBlur", "line_number": 41, "usage_type": "call" }, { "api_name": "PIL.ImageFilter", "line_number": 41, "usage_type": "name" }, { "api_name": "math.cos"...
8118820886
# # Initiation à Pygame - Épisode 25 - Changer la vitesse de déplacement # # https://kreatuto.info # import pygame # Couleur du fond de la fenête COULEUR_FOND = (255, 255, 255) # Couleur de la zone de commande COULEUR_FOND_CMD = (211, 211, 211) # GRIS_CLAIR # Couleur d'affichage du texte dans la zone de commande C...
fred-lefevre/pygame
pygame-episode-25/changer-vitesse.py
changer-vitesse.py
py
4,932
python
fr
code
1
github-code
1
[ { "api_name": "pygame.init", "line_number": 24, "usage_type": "call" }, { "api_name": "pygame.font.Font", "line_number": 28, "usage_type": "call" }, { "api_name": "pygame.font", "line_number": 28, "usage_type": "attribute" }, { "api_name": "pygame.time.Clock", ...
8703812591
from __future__ import annotations import re import xml.etree.ElementTree as ET from datetime import datetime from operator import itemgetter from typing import TYPE_CHECKING from urllib.parse import urlparse import ds_caselaw_utils as caselawutils from caselawclient.Client import ( DEFAULT_USER_AGENT, Marklo...
nationalarchives/ds-caselaw-editor-ui
judgments/utils/__init__.py
__init__.py
py
6,412
python
en
code
1
github-code
1
[ { "api_name": "caselawclient.Client.MarklogicApiClient", "line_number": 23, "usage_type": "call" }, { "api_name": "django.conf.settings.MARKLOGIC_HOST", "line_number": 24, "usage_type": "attribute" }, { "api_name": "django.conf.settings", "line_number": 24, "usage_type": ...
72594416674
import torch import torch.nn as nn class UNet(nn.Module): """ add zero padding """ def __init__(self, num_classes=12): super(UNet, self).__init__() self.enc1_1 = self.CBR2d(in_channels=3, out_channels=64, kernel_size=3, stride=1, padding=1, bias=True) self.enc1_2 = self.CBR2d(in_...
bcaitech1/p3-ims-obd-doggum
sooho_seg/models/UNet.py
UNet.py
py
5,802
python
en
code
3
github-code
1
[ { "api_name": "torch.nn.Module", "line_number": 3, "usage_type": "attribute" }, { "api_name": "torch.nn", "line_number": 3, "usage_type": "name" }, { "api_name": "torch.nn.MaxPool2d", "line_number": 11, "usage_type": "call" }, { "api_name": "torch.nn", "line_n...
42577664395
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Oct 5 17:57 2021 @author: Pedro Vieira @description: Implements the test function for the DFFN network published in https://github.com/weiweisong415/Demo_DFFN_for_TGRS2018 """ import torch import torch.nn as nn from torch.utils.data import DataLoader i...
abandonsea/DFFN
test.py
test.py
py
5,216
python
en
code
6
github-code
1
[ { "api_name": "torch.device", "line_number": 26, "usage_type": "call" }, { "api_name": "torch.cuda.is_available", "line_number": 26, "usage_type": "call" }, { "api_name": "torch.cuda", "line_number": 26, "usage_type": "attribute" }, { "api_name": "utils.config.DFF...
31772141626
# coding=utf-8 import json import telegram import logging from telegram.error import NetworkError, Unauthorized from time import sleep TOKEN = '206483377:AAHnQ_ohMuvDhI5mfbDMrHKTnTGIi7YhT6A' # Ponemos nuestro Token generado con el @BotFather #bot.setWebhook('https://api.tekegram.org/bot/'+TOKEN+'/') def main(): ...
LucasHG94/VallaBot
vallaBotOld.py
vallaBotOld.py
py
1,480
python
en
code
0
github-code
1
[ { "api_name": "telegram.Bot", "line_number": 15, "usage_type": "call" }, { "api_name": "logging.basicConfig", "line_number": 29, "usage_type": "call" } ]
29644079936
from django import forms from django.contrib import admin from django.db import models from indexpage.models import Section, SubSection class SectionAdmin(admin.ModelAdmin): formfield_overrides = { models.TextField: {"widget": forms.Textarea(attrs={"class": "ckeditor"})}, } class Media: ...
Ernir/old.ernir.net
indexpage/admin.py
admin.py
py
801
python
en
code
0
github-code
1
[ { "api_name": "django.contrib.admin.ModelAdmin", "line_number": 7, "usage_type": "attribute" }, { "api_name": "django.contrib.admin", "line_number": 7, "usage_type": "name" }, { "api_name": "django.db.models.TextField", "line_number": 10, "usage_type": "attribute" }, ...
5746620273
import cv2 cap = cv2.VideoCapture(0) cap.set(cv2.CAP_PROP_FRAME_WIDTH,640) cap.set(cv2.CAP_PROP_FRAME_HEIGHT,480) cap1 = cv2.VideoCapture(1) cap1.set(cv2.CAP_PROP_FRAME_WIDTH,640) cap1.set(cv2.CAP_PROP_FRAME_HEIGHT,480) while(True): ret,frame = cap.read() ret2,frame2 = cap1.read() if ret2:...
chuchanhee/2022ESWContest_free_1009
Monitoring_robot.py
Monitoring_robot.py
py
581
python
en
code
0
github-code
1
[ { "api_name": "cv2.VideoCapture", "line_number": 3, "usage_type": "call" }, { "api_name": "cv2.CAP_PROP_FRAME_WIDTH", "line_number": 4, "usage_type": "attribute" }, { "api_name": "cv2.CAP_PROP_FRAME_HEIGHT", "line_number": 5, "usage_type": "attribute" }, { "api_na...
69850112355
#! /usr/bin/env python3 ######################################################################################## # # Script for generating a vocabulary file (character-based) on the transcriptions found # in one or more shard folders. # # Author(s): Nik Vaessen ##########################################################...
Loes5307/VocalAdversary2022
data_utility-main/data_utility/scripts/generate_character_vocabulary.py
generate_character_vocabulary.py
py
2,331
python
en
code
4
github-code
1
[ { "api_name": "data_utility.pipe.containers.WavAudioDataSample", "line_number": 33, "usage_type": "name" }, { "api_name": "data_utility.pipe.containers.WavAudioDataSample", "line_number": 34, "usage_type": "argument" }, { "api_name": "typing.Tuple", "line_number": 60, "us...
32017784263
"""Master Section for the Video Converter controller""" import threading import pexpect from config import CONFIG class VideoConverterBase: """Master Section for the Video Converter controller""" def __init__(self, pool_sema: threading.BoundedSemaphore, db_id: int): self.__thread = threading.Thread...
GaryTheBrown/Tackem
ripper/video_converter/base.py
base.py
py
3,543
python
en
code
0
github-code
1
[ { "api_name": "threading.BoundedSemaphore", "line_number": 12, "usage_type": "attribute" }, { "api_name": "threading.Thread", "line_number": 13, "usage_type": "call" }, { "api_name": "config.CONFIG", "line_number": 19, "usage_type": "name" }, { "api_name": "thread...
14719935805
import numpy as np import matplotlib.pyplot as plt import scipy.signal as sig #Opening file containing experiment data fin = open('/Users/ammaagyei/mu_code/Experiment1.txt') mytxt = fin.read() print(mytxt) #Splitting data on file into acceleration list, angular position list and time list t = [] acc = [] ang = [] i ...
ES2Spring2019-ComputinginEngineering/project-one-t2
ParsingData_Graphing_and_CalcuatingPeriod.py
ParsingData_Graphing_and_CalcuatingPeriod.py
py
1,956
python
en
code
0
github-code
1
[ { "api_name": "matplotlib.pyplot.figure", "line_number": 35, "usage_type": "call" }, { "api_name": "matplotlib.pyplot", "line_number": 35, "usage_type": "name" }, { "api_name": "matplotlib.pyplot.subplot", "line_number": 36, "usage_type": "call" }, { "api_name": "...
29443739493
############################################################################################ # # Cálculo do desvio padrão para as idades dos personagens dos Simpsons # # Cálculo do desvio padrão populacional e amostral para as idades dos personagens dos Simpsons: # As regras básicas para os cálculos de desvios padrã...
Grinduim/Bosch-2022.2
Bosch/InnoHub/Treinamento de IA/materiais/Exemplos_1/SIMPSONS_EXAMPLE/SIMPSONS_STANDARD_DEVIATION.py
SIMPSONS_STANDARD_DEVIATION.py
py
2,853
python
pt
code
0
github-code
1
[ { "api_name": "numpy.std", "line_number": 32, "usage_type": "call" }, { "api_name": "numpy.std", "line_number": 38, "usage_type": "call" }, { "api_name": "statistics.pstdev", "line_number": 46, "usage_type": "call" }, { "api_name": "statistics.stdev", "line_nu...
3978585491
from google.appengine.dist import use_library use_library('django', '1.1') from google.appengine.ext import webapp from google.appengine.ext.webapp import util import helpers import models import settings import appengine_utilities.sessions import oauth import logging class MainHandler(webapp.RequestHandler): d...
bruntonspall/sessionpicker
main.py
main.py
py
3,721
python
en
code
5
github-code
1
[ { "api_name": "google.appengine.dist.use_library", "line_number": 2, "usage_type": "call" }, { "api_name": "google.appengine.ext.webapp.RequestHandler", "line_number": 15, "usage_type": "attribute" }, { "api_name": "google.appengine.ext.webapp", "line_number": 15, "usage_...
18468768051
import numpy as np import matplotlib.pyplot as plt import sklearn import sklearn.datasets from init_utils import sigmoid, relu, compute_loss, forward_propagation, backward_propagation from init_utils import update_parameters, predict, load_dataset, plot_decision_boundary, predict_dec import numpy as np import matplot...
sum-coderepo/Optimization-Python
NeuralNetwork/Weight_Initialization.py
Weight_Initialization.py
py
14,724
python
en
code
2
github-code
1
[ { "api_name": "numpy.exp", "line_number": 25, "usage_type": "call" }, { "api_name": "numpy.maximum", "line_number": 38, "usage_type": "call" }, { "api_name": "numpy.dot", "line_number": 70, "usage_type": "call" }, { "api_name": "init_utils.relu", "line_number"...
3018338966
from setuptools import setup install_requires=[ 'cython >= 0.13', 'jinja2 >= 2.5', 'argparse', ] setup(name='protocyt', version='0.1.5', description="Fast python port of protobuf", long_description="Compiles protobuf files into python extension modules using cython", classifiers=[ ...
Evgenus/protocyt
setup.py
setup.py
py
1,136
python
en
code
24
github-code
1
[ { "api_name": "setuptools.setup", "line_number": 9, "usage_type": "call" } ]
10086144499
import pytest import mongomock import pymongo from dotenv.main import find_dotenv, load_dotenv from todo_app.app import create_app @pytest.fixture def client(): file_path = find_dotenv('.env.test') load_dotenv(file_path, override=True, verbose=True) with mongomock.patch(servers=(('fakemongo.com', 27017),)...
lawli01/DevOps-Course-Starter
tests/integration/test_app.py
test_app.py
py
1,071
python
en
code
0
github-code
1
[ { "api_name": "dotenv.main.find_dotenv", "line_number": 9, "usage_type": "call" }, { "api_name": "dotenv.main.load_dotenv", "line_number": 10, "usage_type": "call" }, { "api_name": "mongomock.patch", "line_number": 12, "usage_type": "call" }, { "api_name": "todo_a...
36634644803
# -*- coding: utf-8 -*- import scrapy from quotetutorial.items import QuoteItem class QuotesSpider(scrapy.Spider): name = "quotes" #指定spider的名称 allowed_domains = ["quotes.toscrape.com"] start_urls = ['http://quotes.toscrape.com/'] def parse(self, response): quotes = response.css('.quote') ...
Sylor-huang/quotetutorial
quotetutorial/spiders/quotes.py
quotes.py
py
1,268
python
zh
code
0
github-code
1
[ { "api_name": "scrapy.Spider", "line_number": 7, "usage_type": "attribute" }, { "api_name": "quotetutorial.items.QuoteItem", "line_number": 15, "usage_type": "call" }, { "api_name": "scrapy.Request", "line_number": 27, "usage_type": "call" } ]
8283102056
import GetOldTweets3 as got import time import datetime def got_func(search_word, search_lang,time_start, time_end): tweetcriteria = got.manager.TweetCriteria().setQuerySearch(search_word).setSince(time_start).setUntil(time_end).setLang(search_lang).setTopTweets(True).setMaxTweets(10) tweet = got.manag...
Swarnalathaa/Twitter
twitter_got.py
twitter_got.py
py
1,883
python
en
code
0
github-code
1
[ { "api_name": "GetOldTweets3.manager.TweetCriteria", "line_number": 7, "usage_type": "call" }, { "api_name": "GetOldTweets3.manager", "line_number": 7, "usage_type": "attribute" }, { "api_name": "GetOldTweets3.manager.TweetManager.getTweets", "line_number": 8, "usage_type...