seq_id stringlengths 4 11 | text stringlengths 113 2.92M | repo_name stringlengths 4 125 ⌀ | sub_path stringlengths 3 214 | file_name stringlengths 3 160 | file_ext stringclasses 18
values | file_size_in_byte int64 113 2.92M | program_lang stringclasses 1
value | lang stringclasses 93
values | doc_type stringclasses 1
value | stars int64 0 179k ⌀ | dataset stringclasses 3
values | pt stringclasses 78
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
2424873677 | from odoo import fields, models
class SaleOrder(models.Model):
_inherit = 'sale.order'
partner_shipping_academy_id = fields.Many2one(
'res.partner.academy',
related='partner_shipping_id.academy_id',
string="Shipping Partner's Academy",
store=True,
)
| decgroupe/odoo-addons-dec | sale_partner_academy/models/sale_order.py | sale_order.py | py | 297 | python | en | code | 2 | github-code | 1 |
23003400753 | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''
@author: Maribel Acosta
@author: Fabian Floeck
@author: Michael Ruster
'''
from structures import Text
from structures.Paragraph import Paragraph
def analyseParagraphsInRevision(revision_curr, revision_prev, text_curr, revisions):
# Hash table.
paragraphs_ht = {}
... | 0nse/WikiWho | functions/analyseParagraphsInRevision.py | analyseParagraphsInRevision.py | py | 4,922 | python | en | code | null | github-code | 1 |
4759169692 | import asyncio, time
from bleak import BleakClient
import config
globalData = bytearray()
globalDataLen = 0
# Called by COM notification
def callback(sender, data):
global globalData
global globalDataLen
# Did notification come from the right handle?
if sender == config.COM_CHAR_HANDLE:
... | Balu3142/playbrush | dataReader.py | dataReader.py | py | 3,309 | python | en | code | 0 | github-code | 1 |
17610685125 | import pandas as pd
import numpy as np
from sklearn.metrics import f1_score
import matplotlib.pyplot as plt
from sklearn.model_selection import cross_validate,KFold
import path
from typing import Callable
DATA_DIR=path.Path("../data/")
ARTIFACT_DIR=path.Path("../artifacts/")
def evaluate(y_test,pred):
return f1_sc... | rajagurunath/avp_loan | scripts/evaluate.py | evaluate.py | py | 1,152 | python | en | code | 0 | github-code | 1 |
5027879252 | def count_one(n):
"""Counts the number of 1s in the digits of n
>>> count_one(7007)
0
>>> count_one(123)
1
>>> count_one(161)
2
>>> count_one(1)
1
"""
all_but_last, last = n // 10, n % 10
increment_one = 1 if last == 1 else 0
if all_but_last == 0:
return in... | paulghaddad/bradfield_programming | cs61a-2018/midterm_1/control_structures_q3.py | control_structures_q3.py | py | 454 | python | en | code | 0 | github-code | 1 |
34504178164 | import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
date = pd.read_csv('Distance.txt')
cabeza = date.columns.tolist()
head=int(cabeza[0])
plt.hist(datos, bins=10, edgecolor='black')
y= datos.max().max()
plt.xlim(0, y+0.01)
print(datos.max().max())
plt.xlabel('Valores')
plt.ylabel('Frecuencia')
plt... | ALdoMartineCh16/La_maldicion_de_la_dimensionalidad | histograma.py | histograma.py | py | 407 | python | es | code | 0 | github-code | 1 |
33761205713 | '''
There are n flights that are labeled from 1 to n.
You are given an array of flight bookings bookings, where bookings[i] = [firsti, lasti, seatsi] represents a booking for flights firsti through lasti (inclusive) with seatsi seats reserved for each flight in the range.
Return an array answer of length n, where ans... | lou6891/leetcode_challenges | 2._Medium/challenge_1109.py | challenge_1109.py | py | 1,198 | python | en | code | 0 | github-code | 1 |
38065950765 | class Solution:
def permuteUnique(self, nums: List[int]) -> List[List[int]]:
results = []
# * Sorting for dedupe.
nums.sort()
def dfs(remaining, perm):
if not remaining:
results.append(perm[:])
return
rest = remain... | HongyuHe/leetcode-new-round | backtracking/47_backtrack_dedupe.py | 47_backtrack_dedupe.py | py | 1,086 | python | en | code | 6 | github-code | 1 |
9798701676 | n,x,y,z = map(int,input().split())
A = list(map(int,input().split()))
B = list(map(int,input().split()))
gokaku = [False]*n
sugaku = {}
eigo = {}
total = {}
for i in range(n):
sugaku[i] = A[i]
eigo[i] = B[i]
total[i] = A[i]+B[i]
sugaku2 = sorted(sugaku.items(), key=lambda x:x[1], reverse=True)
for i in... | yojiroo/Competitive-Programing | ABC/260/260b.py | 260b.py | py | 756 | python | en | code | 0 | github-code | 1 |
12194676789 | # Databricks notebook source
# MAGIC %%capture
# MAGIC !pip install tf_slim
# COMMAND ----------
import os
import pickle
import numpy as np
from core import TEST_K, SEED, DATA_CLEAN_PATH, RES_PATH, SAVEMODEL_PATH
from core.neural_based_methods.ncf.ncf_recommender import NCFRecommender
from utils.evaluation import g... | ymengxu/KP_RecSys_Eval | run_ncf.py | run_ncf.py | py | 4,589 | python | en | code | 0 | github-code | 1 |
12289421102 | class Solution:
def maxArea(self, height):
maxArea = 0
l, r = 0, len(height) - 1
while l < r:
currArea = min(height[l], height[r]) * (r - l)
maxArea = max(maxArea, currArea)
if height[l] < height[r]:
l += 1
else:
... | ramirezfernando/leetcode | 11. Container With Most Water/submission.py | submission.py | py | 435 | python | en | code | 0 | github-code | 1 |
72515200035 | # -*- coding: utf-8 -*-
"""
Created on Wed Sep 1 14:06:44 2021
@author: oryan
"""
import numpy as np
class Gas_Dist:
def MN_Dist(r1,r2,n1,n,Gas_Mass,x0,Sec_Initial_Coords):
# First, need to define conversion to physical units.
DU = 15
R = np.zeros(n)
Particle_Weights = np.zeros(n)... | AstroORyan/APySPAM_MCMC | APySPAM_MCMC/Gas_Dist.py | Gas_Dist.py | py | 1,775 | python | en | code | 0 | github-code | 1 |
74538785312 | import os
import subprocess
import sys
import pytest
from conftest import cache_clear
import chartpress
from chartpress import PRERELEASE_PREFIX, yaml
def check_version(tag):
chartpress._fix_chart_version(tag, strict=True)
def test_git_repo_fixture(git_repo):
# assert we use the git repo as our current wo... | jupyterhub/chartpress | tests/test_repo_interactions.py | test_repo_interactions.py | py | 18,231 | python | en | code | 50 | github-code | 1 |
74240834914 | import json
from tqdm import tqdm
import fileUtils
DATA_PATH = fileUtils.get_data_path()
RESULTS_CSV = fileUtils.get_csv_results_file()
POLICY_RESULTS_JSON = fileUtils.get_policy_results_file()
data_directories = fileUtils.get_data_dirs()
for directory in tqdm(data_directories):
admin_file_path = fileUtils.get_ad... | TvOuwerkerk/evading-policy | Analysis/deleteResults.py | deleteResults.py | py | 867 | python | en | code | 1 | github-code | 1 |
12614948759 | import psycopg2
import md5
from moot.base import Base
class UserAlreadyExistsException(Exception):
def __init__(self, err):
self.err = err
def __str__(self):
return 'Exception: ' + self.err
class NoUserExistsException(Exception):
def __init__(self, err):
self.err = err
def __s... | erinbleiweiss/Moot | moot/moot/mootdao.py | mootdao.py | py | 7,906 | python | en | code | 0 | github-code | 1 |
74137148193 | """Functions and utilities used to format the databases."""
import numpy as np
import jax.numpy as jnp
from scipy.integrate import quadrature
import tools21cm as t2c
def apply_uv_coverage(Box_uv, uv_bool):
"""Apply UV coverage to the data.
Args:
Box_uv: data box in Fourier space
uv_bool: mask... | dprelogo/21cmRNN | rnn21cm/database.py | database.py | py | 5,543 | python | en | code | 0 | github-code | 1 |
40029726088 | import turtle
def square(x, y, size, col):
turtle.color(col)
turtle.penup()
turtle.goto(x, y)
turtle.pendown()
turtle.begin_fill()
for n in range(4):
turtle.fd(size)
turtle.left(90)
turtle.end_fill()
square(40, 200, 240, 'red')
square(-100, 240, 160, 'purple')
square(-260, ... | jozsefKecskesi/Python-projects | CreateGraphics/squareDef.py | squareDef.py | py | 339 | python | en | code | 0 | github-code | 1 |
35755402245 | import pandas as pd
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager
from ... | Dave-170/SIA_Checker_0.5 | mian.py | mian.py | py | 3,987 | python | en | code | 0 | github-code | 1 |
39155053663 | import cv2
def getFrame(videoPath, svPath):
cap = cv2.VideoCapture(videoPath)
numFrame = 0
list_file = svPath + '/test.txt'
f = open(list_file, 'w')
while numFrame < 300:
numFrame += 1
if cap.grab():
flag, frame = cap.retrieve()
if not flag:
... | ZL92/Traffic-Violation-Detection | lane-detection/mp4tolist.py | mp4tolist.py | py | 1,809 | python | en | code | 0 | github-code | 1 |
30922424427 | import logging
import pyrax
import sys
# import pyconru # @UnusedImport
logger = logging.getLogger(__name__)
if __name__ == '__main__':
# check authentication
logger.debug('authenticated: %s' % pyrax.identity.authenticated)
cs = pyrax.cloudservers
server_name = "pyconru-%s" % pyrax.utils.random_a... | siso/pyconru | pyconru/cloudservernew.py | cloudservernew.py | py | 884 | python | en | code | 0 | github-code | 1 |
70752864673 | with open('day06.txt') as file:
pop = [int(x) for x in file.readline().split(',')]
bins = [0] * 9
for p in pop:
bins[p] += 1
def simulate(bins, days):
for day in range(days):
new_bins = [0] * len(bins)
for i in range(8):
new_bins[i] += bins[i + 1]
new_bins[8] += bins[0]... | blat-blatnik/Advent-of-Code | 2021/day06.py | day06.py | py | 472 | python | en | code | 0 | github-code | 1 |
15576073954 | # Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
def binaryTreePaths(self, root):
"""
:type root: TreeNode
:rtype: List[str]
"""
t... | quetzaluz/codesnippets | python/leetcode/binary-tree-paths.py | binary-tree-paths.py | py | 916 | python | en | code | 0 | github-code | 1 |
34506093536 | from telegram.ext import Updater, MessageHandler, Filters, CommandHandler, ConversationHandler, CallbackContext
from telegram import Update
# Definindo os estados da conversa
INICIO, AGUARDANDO_MENSAGEM = range(2)
# Função para iniciar a conversa
def iniciar(update: Update, context: CallbackContext) -> int:
... | MaykonSulivan/bot_telegram | bot.py | bot.py | py | 1,615 | python | pt | code | 0 | github-code | 1 |
24363628668 | import os
import sys
import requests
import subprocess
def pause_for_effect():
# Pause execution so the user sees what happened
try:
raw_input()
except NameError:
input()
def parse_version(v):
try:
return [int(part) for part in v.split('.')]
except ValueError:
re... | sindrig/spoppy | spoppy/update_checker.py | update_checker.py | py | 2,558 | python | en | code | 12 | github-code | 1 |
36157341873 | #opens the file file.txt in read mode and extract the contents
f = open("d:/file_sample.txt","r")
str1 = f.read()
print ("File open sucessfully and contents in file is :",str1)
f.close() # Close the file
if f :
str2 = f.read()
print ("File open sucessfully and contents in file is :",str2)
else:
print (... | sumitkhandelwal/Python-Problem-Solving-Approach | Unit 6/close_example.py | close_example.py | py | 346 | python | en | code | 0 | github-code | 1 |
34736497418 | """
Return a DataFrame containing the mould analysis dataset.
Takes a DataFrame as input and applies functions from thefuzz and Levenshtien
libraries, returning the mould analysis dataset DataFrame.
Typical usage:
```
from steps.fuzzy_lookup import get_fuzzy_lookup
get_fuzzy_lookup(df, key_... | Pobl-Group/mould-analysis | steps/fuzzy_lookup.py | fuzzy_lookup.py | py | 3,084 | python | en | code | 7 | github-code | 1 |
22870875130 | x = 5678
y = 1234
def karatsuba(x, y):
n = min(len(str(x)), len(str(y)))
if n == 1:
return int(x*y)
a = int(x/(10**(n/2)))
b = int(x - a*10**(n/2))
c = int(y/(10**(n/2)))
d = int(y - c*10**(n/2))
c1 = karatsuba(a, c)
c2 = karatsuba(b, d)
c3 = karatsuba(a+b, c+d)
... | nayem-cosmic/contest_programming | algorithms_specialization_stanford/01-karatsuba/karatsuba.py | karatsuba.py | py | 420 | python | en | code | 0 | github-code | 1 |
11479830806 | import os
os.environ["CUDA_VISIBLE_DEVICES"]="0"
import numpy as np
import cv2
import io
import requests
from PIL import Image
import pdb
from skimage.transform import resize
import matplotlib.pyplot as plt
import math
import random
import collections
import xml.etree.ElementTree as ET
from sklearn.metrics import pre... | santoshreddy254/Localization-of-Objects-Using-Unsupervised-Representation-Learning-and-Object-Proposal-Techniques | utils/gradcam.py | gradcam.py | py | 8,719 | python | en | code | 2 | github-code | 1 |
15101106035 | import os
import sys
from functools import *
import heapq
os.chdir(os.path.dirname(sys.argv[0]))
print(
"""~~~
""")
with open("input.txt", "r") as file:
lines = file.read().splitlines()
width = len(lines[0])
inputmap = "".join(lines)
end = inputmap.index("E")
heightmap = [ord(c) - ord("a") f... | Nallebeorn/aoc22 | day12/day12b.py | day12b.py | py | 2,115 | python | en | code | 0 | github-code | 1 |
73564766754 | from CSP import Constraint, ConstraintSatisfactionProblem, print_sudoku
from typing import Dict, List, Optional
import time
import json
# A map constraint is a two way constraint between two variables
class MapConstraint(Constraint[str, str]):
def __init__(self, place1: str, place2: str) -> None:
super().... | grubtub19/ConstraintSatisfactionSolver | CSP_Runner.py | CSP_Runner.py | py | 5,744 | python | en | code | 0 | github-code | 1 |
70205773474 | '''
Given an integer array nums where the elements are sorted in ascending order, convert it to a height-balanced binary search tree.
A height-balanced binary tree is a binary tree in which the depth of the two subtrees of every node never differs by more than one.
Example 1:
Input: nums = [-10,-3,0,5,9]
Output: [0... | hanseul-jeong/Coding_test | LeetCode/108_Convert-Sorted-Array-to-Binary-Search-Tree.py | 108_Convert-Sorted-Array-to-Binary-Search-Tree.py | py | 1,023 | python | en | code | 0 | github-code | 1 |
36148631825 | # File names
OTUS = "log10_relative_OTU_all.csv"
LABELS = "class_labels.csv"
# Hyper-parameter grid for training classifiers
svm_hyper_parameters = [{'C': [2 ** s for s in range(-4, 4, 1)], 'kernel': ['linear']},
{'C': [2 ** s for s in range(-4, 4, 1)], 'gamma': ['scale', 'auto'], 'kernel': ['r... | minoh0201/DeepGeni | config.py | config.py | py | 837 | python | en | code | 0 | github-code | 1 |
13044635908 | import pytest
import logging
import tempfile
from iotile.core.hw.hwmanager import HardwareManager
from iotile.core.hw.transport.adapter.sync_wrapper import SynchronousLegacyWrapper
from iotile.core.hw.transport import VirtualDeviceAdapter
from iotile.core.utilities import BackgroundEventLoop
from iotile_transport_socke... | iotile/coretools | transport_plugins/socket_lib/test/unix/conftest.py | conftest.py | py | 2,316 | python | en | code | 14 | github-code | 1 |
1667367088 | import cv2
import numpy as np
import torch
from Pytorch_model.model_process import create_model
from Pytorch_model.model_process import load_model
from utils.image import get_affine_transform
import time
from torchvision.models.resnet import resnet18
from torch2trt.torch2trt import torch2trt
class BaseDetector(objec... | kobewangSky/CenterNet_TensorRT_Nano | detectors/base_detector.py | base_detector.py | py | 5,302 | python | en | code | 7 | github-code | 1 |
16239699644 | import torch
import torch.nn as nn
import torch.nn.functional as F
from modeling.sync_batchnorm.batchnorm import SynchronizedBatchNorm2d
from modeling.aspp import build_aspp
from modeling.decoder import build_decoder
from modeling.backbone import build_backbone
from operations import ABN, NaiveBN
class DeepLab(nn.Mod... | NoamRosenberg/autodeeplab | modeling/deeplab.py | deeplab.py | py | 2,542 | python | en | code | 306 | github-code | 1 |
19988464891 | # -*- coding: utf-8 -*-
import base64
from odoo import models, fields, api, tools
from odoo.modules.module import get_resource_path
#这个要去掉,直接利用odoo的,在设置中设置
class AnodooProduct(models.Model):
_name = 'anodoo.product'
_description = '产品描述和配置,单例实体'
_rec_name = 'product_name'
_order = 'id'
def _... | anodoo/anodoo | base/anodoo_base/models/base_models.py | base_models.py | py | 3,949 | python | zh | code | 12 | github-code | 1 |
5008352545 | # take 3 inputs from User and find the max
num_1, num_2, num_3 = input('Enter the 3 numbers : ').split()
num_1 = int(num_1)
num_2 = int(num_2)
num_3 = int(num_3)
# if num_1 > (num_2 and num_3):
# print(f'{num_1} is greater')
# elif num_2 > (num_3 and num_1):
# print(f'{num_2} is greater')
# else:
# print(... | mayankcs211/Python_Coding_Practice_old | If_else/max_of_three_numbers.py | max_of_three_numbers.py | py | 522 | python | en | code | 0 | github-code | 1 |
8095027836 | import torch
import torch.nn as nn
import torch.optim as optim
import torchvision
import torchvision.transforms as transforms
import os
import argparse
from resnet import ResNet, BasicBlock
from utils import progress_bar
# Set up argument parser
parser = argparse.ArgumentParser(description='PyTorch CIFAR10 Training')
... | fredc1/hpml-lab2 | lab2.py | lab2.py | py | 2,586 | python | en | code | 0 | github-code | 1 |
26207056174 | from lib.model.Analysis import Analysis
import base64
import jinja2
import os
dirname = os.path.realpath(os.path.dirname(os.path.realpath(__file__))+'/../../')
class ReportGenerator:
@staticmethod
def b64encode(text):
return base64.b64encode(text).decode('utf8')
def generate(self, path, param)... | Areizen/Android-Malware-Sandbox | lib/report/ReportGenerator.py | ReportGenerator.py | py | 1,319 | python | en | code | 265 | github-code | 1 |
14666186834 | # Imported Libraries
import numpy as np
import matplotlib.pyplot as plt
'''
I want to compute the sum over time of the mass density for radiation form black hole accretion and from HMXB emission. This is a replica of
figure 10 from Jeon et al. 2014.
'''
'''
Importing data files of the highest lines from the top and ... | higgins4286/First-Population-of-Stars | Xray_Jeon_Replica.py | Xray_Jeon_Replica.py | py | 2,961 | python | en | code | 0 | github-code | 1 |
44084478838 | # Data Extraction packages
import os
import requests
from bs4 import BeautifulSoup
# stats per champion
def extract_stats():
filename = "data/stats.txt"
if os.path.isfile(filename):
return
stats_per_champion_url = 'https://www.op.gg/statistics/ajax2/champion/'
stats_response = requests.post(... | jgabrielmaia-old/champion-pool-simplex | extraction/stats.py | stats.py | py | 1,498 | python | en | code | 1 | github-code | 1 |
30036989484 | #!/usr/bin/env python3
import json
import os
import codecs
from werkzeug.utils import secure_filename
from flask import Flask, render_template, request, flash, redirect, send_from_directory, make_response, Markup
app = Flask(__name__)
app.secret_key = "super secret key"
app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * ... | cwirks01/NLP_Project | Lib/Dev/main_test.py | main_test.py | py | 1,371 | python | en | code | 1 | github-code | 1 |
41573344919 | import torch
import torch.nn as nn
from torch import optim
import torch.nn.functional as F
class myRNN(nn.Module):
def __init__(self,input_size,hidden_size,num_layers):
super(RNN, self).__init__()
self.rnn = nn.RNN(
input_size=input_size,
hidden_size=hidden_size, # RNN隐藏神经... | stellar749/Singing-voice-conversion | Model.py | Model.py | py | 734 | python | en | code | 4 | github-code | 1 |
26767590300 | #!/usr/bin/env python
# coding: utf-8
# In[1]:
#Output
# In[2]:
import cv2
import os
from glob import *
# In[3]:
list_of_dirs = glob('./data/*/**.mp4')
list_of_dirs
# In[4]:
list_of_dirs[0].split('\\')
# In[5]:
# alp_name = list_of_dirs[0].split('\\')[1]
# d_name = 'frame/'+str(alp_name)
# try:
# ... | MdOmarFaruque/CNN-models-on-a-custom-Datastet | 01_extract_image_.py | 01_extract_image_.py | py | 2,388 | python | en | code | 1 | github-code | 1 |
36590913381 | from example.example_data import documents
from vectorizer.dictionary_builder import load_dictionary
from vectorizer.tfidf_vectorizer import build_TfIdfModel_from_list_of_texts, save_tfidf_model, convert_text_to_tfidf
file_dictionary = '/tmp/example.dict'
output_tfidf_model_filename = '/tmp/example.tfidf'
dict=load_di... | jonysugianto/textvectorizer | src/example/example_tfidf_vectorizer.py | example_tfidf_vectorizer.py | py | 589 | python | en | code | 1 | github-code | 1 |
1646893490 | import asyncio
import os
import shutil
from typing import Dict, FrozenSet, List
from uuid import UUID
from ai.backend.common.types import BinarySize
from ai.backend.storage.abc import CAP_QUOTA, CAP_VFOLDER
from ..exception import ExecutionError
from ..types import FSUsage, Optional, VFolderCreationOptions
from ..vfs... | grosa1/backend.ai | src/ai/backend/storage/cephfs/__init__.py | __init__.py | py | 3,348 | python | en | code | null | github-code | 1 |
22504967969 | import sys
input = sys.stdin.readline
N, M, R = map(int, input().split())
arr = [[0] * M for _ in range(N)]
for i in range(N):
arr[i] = list(map(int, input().split()))
half = min(N, M) // 2
for _ in range(R):
for i in range(half):
x, y = i, i
tmp = arr[i][i]
for j in... | Kminwo-o/BaekJoon-Algorithm | 백준/Silver/16926. 배열 돌리기 1/배열 돌리기 1.py | 배열 돌리기 1.py | py | 1,022 | python | en | code | 0 | github-code | 1 |
31104160827 | import sys
import subprocess
import time
from datetime import timedelta
def run_blastx(dna_reads_path, protein_db_path, output_path, time_log_path):
"""
Run BLASTx to align DNA reads to a protein database and record the execution time.
Parameters:
dna_reads_path (str): Path to the DNA reads file.
... | khe9370/Computational_Genomics_Final_Project | simple_diamond/blastx.py | blastx.py | py | 1,637 | python | en | code | 0 | github-code | 1 |
13763175260 | # [백준]11047번-그리디-동전0-S4
# https://github.com/irishNoah/Algorithm-Study
# https://www.acmicpc.net/problem/11047
n, k = map(int, input().split())
money = []
for _ in range(n):
value = int(input())
money.append(value)
money.reverse()
cnt = 0 # 동전 개수
while True:
for i in range(0, n):
if k == 0:
... | irishNoah/Algorithm-Study | 알고리즘/파이썬(Python)/001-그리디/001-[백준]11047번-그리디-동전0-S4.py | 001-[백준]11047번-그리디-동전0-S4.py | py | 498 | python | en | code | 4 | github-code | 1 |
9991795351 | from tkinter import*
from tkinter import ttk
from PIL import Image, ImageTk
from attendance import Attendance
from student import Student
import os
from face_recognition import Face_Recognition
from train import Train
class Face_Recognition_System_Student:
def __init__(self,root):
self.root=root
... | KhushiGoyal123/face-recognition-student-attendance-system | main_student.py | main_student.py | py | 3,603 | python | en | code | 1 | github-code | 1 |
1319477455 | hours=int(input("Please Enter no. of hours you have worked in a week (HOURS): "))
if hours<=40:
c=hours*12
if hours>40:
c=40*12+(hours-40)*1.5*12
if c<=300:
tax=c*0.15
elif c>300 and c<=450:
tax=300*0.15+(c-300)*0.20
else:
tax=300*0.15+150*0.20+(c-450)*0.25
net=c-tax
print("Your gross salary after ... | scorpion231/PythonWork | Weekluy Salary.py | Weekluy Salary.py | py | 350 | python | en | code | 0 | github-code | 1 |
39510975628 | N,P,limit = map(int,input().split())
if N == 0:
print(1)
else:
num_list = list(map(int,input().split()))
num_list.sort(reverse=True)
rank_list = []
for i in num_list:
if len(rank_list) == limit:
break
else:
rank_list.append(i)
rank_length = len(ra... | choikeunyoung/algorithm | 백준/Silver 4/1205.py | 1205.py | py | 960 | python | en | code | 1 | github-code | 1 |
24401078948 | import tensorflow as tf
import numpy as np
from mnist import MNIST
from feature_forcing import FFGAN
slim = tf.contrib.slim
class MnistGanTrainer:
def __init__(self, batch_size, save_dest):
mndata = MNIST('./')
images, labels = mndata.load_training()
images = np.array(images, dtype=np.float32)
labe... | Thenerdstation/EyeTracking | MnistGan/train_ffmnist.py | train_ffmnist.py | py | 1,479 | python | en | code | 2 | github-code | 1 |
9621780474 | import os
import glob
from bs4 import BeautifulSoup,Comment
import urllib.request
import requests
import json
uri = "https://www.carcomplaints.com/"
#read the webpage and store it as a string
webpage = urllib.request.urlopen(uri).read()
soup = BeautifulSoup(webpage,'html.parser')
#find all the <a> tags which consis... | ShreyashAF2704/RaH-Project | Scrapers/Cars_Complaint_Scraper.py | Cars_Complaint_Scraper.py | py | 7,859 | python | en | code | 0 | github-code | 1 |
25502975655 | from code import Code
from js_util import JsUtil
from model import *
from schema_util import *
import os
import sys
import re
NOTE = """// NOTE: The format of types has changed. 'FooType' is now
// 'chrome.%s.FooType'.
// Please run the closure compiler before committing changes.
// See https://chromium.googlesourc... | hanpfei/chromium-net | tools/json_schema_compiler/js_externs_generator.py | js_externs_generator.py | py | 5,885 | python | en | code | 289 | github-code | 1 |
1585741629 | from typing import Optional
from decimal import Decimal
from validator_collection import validators
from highcharts_core.metaclasses import HighchartsMeta
class LinkOptions(HighchartsMeta):
"""Link style options."""
def __init__(self, **kwargs):
self._color = None
self._dash_style = None
... | highcharts-for-python/highcharts-core | highcharts_core/options/plot_options/link.py | link.py | py | 2,114 | python | en | code | 40 | github-code | 1 |
31502791827 | import numpy as np
from pymer4.models import Lm, Lmer
from pymer4.simulate import simulate_lm, simulate_lmm
def test_simulate_lm():
# Simulate some data
num_obs = 500
num_coef = 3
coef_vals = [10, 2.2, -4.1, 3]
mus = [10.0, 3.0, 2.0]
corrs = 0.1
data, b = simulate_lm(num_obs, num_coef, co... | ejolly/pymer4 | pymer4/tests/test_simulate.py | test_simulate.py | py | 3,218 | python | en | code | 163 | github-code | 1 |
12095751954 | # -*- coding: utf-8 -*-
import azureml.core
from azureml.core import Experiment, Workspace
def main():
print('Testing Azure ML with a standalone Python script')
# Load the workspace from the saved config file
ws = Workspace.from_config()
print('Ready to use Azure ML {} to work with {}'.format(azur... | ThordurPall/MLOpsExercises | src/azure/azure_test_standalone_script.py | azure_test_standalone_script.py | py | 1,173 | python | en | code | 0 | github-code | 1 |
73800279393 | import sys
import re
import numpy as np
#####
#Read data
#####
text_file = open("input.txt", "r")
lines = text_file.readlines()
#####
# get my ticket
#####
myticket=[]
seen=False
for i in range(len(lines)):
if lines[i].strip("\n")=="your ticket:": #stop when this is observed
seen=True
else:
if lines[i].strip... | harriscw/advent_of_code_2020 | day16/part2.py | part2.py | py | 3,820 | python | en | code | 0 | github-code | 1 |
30739211294 | from typing import List
from fastapi import APIRouter, HTTPException
from ..models.user import User
from ..models.review import UserReview, Movie
from ..schemas.review import (
MovieResponseModel, MovieRequestModel, ReviewRequestModel, ReviewRequestPutModel, ReviewResponseModel
)
router = APIRouter(prefix='/revie... | Zozi96/api-fast | app/routers/review.py | review.py | py | 2,606 | python | en | code | 0 | github-code | 1 |
16337023748 | from re import compile
short_name = "WatchSeries"
full_name = "WatchSeries.to"
class host_scraper(object):
def __init__(self, possible_hostsites):
possible_hostsites.append([full_name,short_name])
def program_search_vars(self):
self.search_url = "http://thewatchseries.to/search/"
self.search_name = "div"
... | theredwillow/VideoTool | scrapers/WatchSeries.py | WatchSeries.py | py | 1,420 | python | en | code | 0 | github-code | 1 |
16557611915 | # https://www.acmicpc.net/problem/1018
# Solved Date: 20.04.30.
import sys
read = sys.stdin.readline
def check_board(board, y, x):
black_start = 0
# y가 짝수이면 black과 다를 때 / 홀수이면 black과 같을 때 증가
black = "BWBWBWBW"
for dy in range(8):
if dy % 2 == 0:
for dx in range(8):
... | imn00133/algorithm | BaekJoonOnlineJudge/SolvedACClass/Class2/baekjoon_1018.py | baekjoon_1018.py | py | 1,234 | python | en | code | 0 | github-code | 1 |
31637283761 | import json
from starter.objects import Starter, default_workflow_params
from starter.starter_helper import NullRequiredDataException
"""
Amazon SWF PostPerfectPublication starter, for API and Lens publishing etc.
"""
class starter_PostPerfectPublication(Starter):
def __init__(self, settings=None, logger=None):
... | elifesciences/elife-bot | starter/starter_PostPerfectPublication.py | starter_PostPerfectPublication.py | py | 1,674 | python | en | code | 19 | github-code | 1 |
2420650377 | from odoo import fields, models, api
from odoo.addons import decimal_precision as dp
class MrpBom(models.Model):
_inherit = 'mrp.bom'
cost_price = fields.Float(
compute='_compute_cost_price',
digits=dp.get_precision('Purchase Price'),
)
@api.multi
@api.depends('bom_line_ids.cost_... | decgroupe/odoo-addons-dec | mrp_bom_prices/models/mrp_bom.py | mrp_bom.py | py | 488 | python | en | code | 2 | github-code | 1 |
32395021882 | from django.db import models
#import datetime
# Create your models here.
BLACKLISTED_SHORTCUT_NAMES = ("admin","api")
class shortcut(models.Model):
shortcut_key = models.CharField(max_length=20,help_text="Key of the shortcut")
shortcut_value = models.URLField(help_text="The target of the shortcut") # URL of ... | Emojigit/shortcuts | main/models.py | models.py | py | 1,447 | python | en | code | 0 | github-code | 1 |
704341784 | import requests
from bs4 import BeautifulSoup
import json
link=requests.get("https://www.rottentomatoes.com/top/bestofrt/top_100_animation_movies/")
data=BeautifulSoup(link.text,"html.parser")
def movieData():
list=[]
x=0
mainDiv=data.find("div",class_="body_main container")
subDiv=mainDiv.find("table",... | Deepa-DD/web_scraping | Task1.py | Task1.py | py | 1,279 | python | en | code | 0 | github-code | 1 |
40286952032 |
## 3행 4열 2차원 배열 만드는 방법!!
if 0:
a = [ [0] * 4 for x in range(3) ]
print(a)
print('========================================')
## 문제 A4: [TST]지능형 기차
if 0:
## a = [0] * 4
people = [0] * 5
for i in range(4):
## a[i] = list(map(int ,input().split()))
a = list(map(int ,... | superf2t/TIL | PYTHON/BASIC_PYTHON/수업내용/0/day2.py | day2.py | py | 8,515 | python | ko | code | 1 | github-code | 1 |
34652128255 | from django import template
from selia_templates.custom_tags.components.base import ComplexNode
def tab(parser, token):
content = parser.parse(('endtab',))
parser.delete_first_token()
try:
_, url = token.split_contents()
except ValueError:
raise template.TemplateSyntaxError(
... | CONABIO-audio/selia-templates | selia_templates/custom_tags/components/navbars.py | navbars.py | py | 522 | python | en | code | 0 | github-code | 1 |
72359494754 | import os
from pickle import TRUE
import string
from tkinter import INSERT, Tk, TkVersion, ttk, Frame, PhotoImage
from tkinter import Button, Entry, Label, Menu, Scrollbar, Text
from tkinter import messagebox, filedialog, Toplevel, colorchooser
from tkinter import font, BooleanVar
import tkinter
import tkinter as tk
fr... | EngCocs/Loch | EjemploAnalizadoSintactico/Editor.py | Editor.py | py | 11,122 | python | es | code | 0 | github-code | 1 |
24383884368 | from parsing_tools import parse_wrapper
from merge_and_evaluate_tools import merge_files, normalizer
import os
raw_path = os.path.join(os.getcwd(), '..', 'data', 'raw')
clean_path = os.path.join(os.getcwd(), '..', 'data')
merge_path = os.path.join(os.getcwd(), '..', 'data', 'clean')
if __name__ == '__main__':... | crahal/NHSSpend | chpi/src/chpi_main.py | chpi_main.py | py | 881 | python | en | code | 4 | github-code | 1 |
22034815063 | import os
import cv2
from WordSegmentation import wordSegmentation, prepareImg
def main():
"""reads images from data/ and outputs the word-segmentation to out/"""
# read input images from 'in' directory
path = os.getcwd()
imgFiles = os.listdir(path + '/out/')
direc = 'segmented words'
os.mkdir(os.path.join(path,... | sanchitjain002/Handwritten | main1.py | main1.py | py | 2,286 | python | en | code | 0 | github-code | 1 |
2036561592 | import numpy as np
import gudhi
import gudhi.representations
import cv2
from skimage.feature import local_binary_pattern
def img_gray(path):
img = cv2.imread(path)
h,w = img.shape[:2] #获取图片的high和wide
img_gray=np.zeros([h,w],img.dtype) #创建一张和当前图片大小一样的单通道图片
for i in range(h):
for j in range(w):
m... | Yuhan0524/TDA_face_morph_detection | get_features.py | get_features.py | py | 1,594 | python | en | code | 1 | github-code | 1 |
30025220732 | import csv
import datetime
def mark_attendance(student_id):
timestamp = datetime.datetime.now()
date = timestamp.date()
time = timestamp.time()
attendance_file = f"attendance_{date}.csv"
file_exists = check_file_exists(attendance_file)
with open(attendance_file, mode='a', newline='... | JAINMOHIT23/PROJECT-Bharat-Intern | PROJECT/attendance tracking.py | attendance tracking.py | py | 1,135 | python | en | code | 0 | github-code | 1 |
39616087477 | __author__ = 'jeremyma'
import os
import cPickle
from frontend import frontend
import sys, pdb
import config
import time
import numpy as np
from scipy.misc import logsumexp
from gmmmc import GMM
import sklearn.mixture
from gmmmc import MarkovChain, AnnealedImportanceSampling
import logging
import bob.bio.gmm.algorithm
... | jeremy-ma/bayesian-speaker-verification | system/mcmc_system.py | mcmc_system.py | py | 9,837 | python | en | code | 3 | github-code | 1 |
30766428537 | import logging
from django.core.exceptions import ObjectDoesNotExist
from django.forms.models import model_to_dict
from core.services.file_interface.file_interface import FileInterface
from core.services.git_interface.git_auth import OAuth2Token
from core.models import Folder, FolderRepo, File
# from core.services.t... | meoook/Abyss-Translate | back/core/services/folder_interface.py | folder_interface.py | py | 7,781 | python | en | code | 0 | github-code | 1 |
41946848811 | from sulley import *
import sys
########################################################################################################################
s_initialize("HTTP VERBS BASIC")
s_group("verbs", values=["GET", "HEAD"])
if s_block_start("body", group="verbs"):
s_static(" ")
s_delim(" ")
s_static("/"... | dankamongmen/sprezzos-world | packaging/nginx/debian/modules/naxsi/contrib/testing_units_fuzzer/http.py | http.py | py | 4,275 | python | en | code | 25 | github-code | 1 |
28775949765 | import sys
input = sys.stdin.readline
n, m = map(int, input().split())
nums = [i for i in range(1, n + 1)]
visited = [False] * n
data = []
def dfs(length):
if length == m:
print(*data)
return
for i in range(n):
data.append(nums[i])
dfs(length + 1)
data.pop()
dfs(0)
| jiyoon127/algorithm_study | DFS|BFS/N과_M(3).py | N과_M(3).py | py | 293 | python | en | code | 0 | github-code | 1 |
19688470711 | class _SimpulPohonBiner(object):
def __init__(self, data):
self.data = data
self.kiri = None
self.kanan = None
# membuat simpul dan mengisi data
A = _SimpulPohonBiner('Ambarawa')
B = _SimpulPohonBiner('Bantul')
C = _SimpulPohonBiner('Cimahi')
D = _SimpulPohonBiner('Denpasar')
E = _S... | naufalha/Praktikum-algoritma-dan-struktur-data | modul9/simpul_pohon_biner.py | simpul_pohon_biner.py | py | 918 | python | id | code | 0 | github-code | 1 |
23402421906 | import pp
'''
import urllib
import json
'''
#code to run
import math
#Computation to Run
def mers_list(range_open,range_close):
def is_prime(numArg):
num = int(numArg)
x = int(math.ceil(math.sqrt(num)) + 1)
for numToChk in range(2,x ):
print("[Test %s] Iterating %s modulo %s "... | Michael-Naguib/Mersenne | distribute/distributionServer.py | distributionServer.py | py | 3,132 | python | en | code | 0 | github-code | 1 |
30710772616 | import sys
sys.stdin = open('input.txt', 'r')
T = 2 #테스트케이스 갯수
for tc in range(1,T+1): #테스트케이스를 for문으로 돌리자
moji = input() #당장은 필요없는 값. 프린트할 때 테스트케이스 갯수 셀 때만 필요
N = 100 #100*100인 정사각형
arr = [list(map(int,input().split())) for _ in range(N)] #인풋받아서 배열만들기
minV = 99999
minH = 999
for h in range(1,... | sunnyyong2/algorithm | sunny/보충문제2/보충문제2.py | 보충문제2.py | py | 813 | python | ko | code | 0 | github-code | 1 |
5928114479 | import math
import torch
from ocpmodels.modules.scaling import ScaleFactor
from .atom_update_block import AtomUpdateBlock
from .base_layers import Dense, ResidualLayer
from .efficient import EfficientInteractionBilinear
from .embedding_block import EdgeEmbedding
class InteractionBlock(torch.nn.Module):
"""
... | Open-Catalyst-Project/ocp | ocpmodels/models/gemnet_oc/layers/interaction_block.py | interaction_block.py | py | 23,399 | python | en | code | 518 | github-code | 1 |
30533875447 | from django import template
register = template.Library()
@register.filter
def rating(digit):
try:
digit = int(digit/2)
value = [1 for x in range(digit)]
for i in range(len(value),5):
value.append(0)
return value
except:
return [00000] | SkyRiS3s/Database-Project | blog/templatetags/extra_tags.py | extra_tags.py | py | 297 | python | en | code | 0 | github-code | 1 |
31193783461 | import pandas as pd
import numpy as np
from fastai.tabular.all import *
# Reading the datasets from excel sheet
training_set_total = pd.read_csv("../datafiles/1988.csv", skipinitialspace=True)
#test_set = pd.read_csv("../datafiles/1987.csv", skipinitialspace=True)
#create dictionary of all of the data
for file in os.... | mctimm/CS521 | FlightNeuralNet.py | FlightNeuralNet.py | py | 3,481 | python | en | code | 0 | github-code | 1 |
2427092929 | from src.dataset.create_dataset import DataframePrepAllMod
from src.constants.constants import *
from src.model.model import ConvModel, train_cp
from src.utils.cross_val import TrainTestSplitter
from src.utils.utils import *
import tensorflow as tf
import argparse
import os
def main(args):
device = "GPU" if tf.... | dheerajpr97/Explainable-AI-Non-EEG | train.py | train.py | py | 5,465 | python | en | code | 0 | github-code | 1 |
26940616488 | from common import read
from prime import is_prime
'''
main block that accepts upper and lower limit.
Finds the prime numbers within this range.
'''
def main() :
lower = read('Enter the lower range.\n')
upper = read('Enter the upper range.\n')
print(f'\nPrime numbers within the range ({lower},{upper}) are:... | Vi5iON/Cumulation | prime_series.py | prime_series.py | py | 476 | python | en | code | 0 | github-code | 1 |
34277876627 | from django.urls import path
from .views import (
PostList, PostSearch, PostDetail, PostCreate, PostUpdate,
PostDelete, AppointmentView, CategoryListView, subscribe,
)
from django.contrib.auth.views import LogoutView, LoginView
from django.contrib.auth.decorators import login_required
from sign.views imp... | dimasiksergeevi4/newspaper | news/urls.py | urls.py | py | 1,530 | python | en | code | 0 | github-code | 1 |
5139072916 | import speech_recognition as sr
import sys
import os
import time
os.system('espeak "{}"'.format("hello shivang, we welcome you to this device, Have a great time"))
os.system('espeak "{}"'.format("When you want to close your devise please say stop"))
os.system('espeak "{}"'.format("Say start to start your devise")... | 32shivang/Blind-Eye | speech_to_text.py | speech_to_text.py | py | 1,185 | python | en | code | 0 | github-code | 1 |
19706165449 | from django.test import TestCase
from .forms import RecipeDetail
class TestForms(TestCase):
def test_recipe_detail(self):
form = RecipeDetail({'name': '', 'ingredients': '', 'directions': ''})
self.assertFalse(form.is_valid())
self.assertIn('name', form.errors.keys())
self.assertE... | Kat24C/recipe | recipes/test_forms.py | test_forms.py | py | 623 | python | en | code | 0 | github-code | 1 |
22873473584 | from playwright.sync_api import sync_playwright
from time import sleep
def clicker(path):
page.click(path)
def input_text(path, text):
page.fill(path, text)
email = "your email"
senha = "your key"
while True:
print('start btc')
with sync_playwright() as p:
browser = p.chromium.launch()
... | AllanCristiano/botFreeBtcNoCaptcha | main.py | main.py | py | 1,062 | python | en | code | 0 | github-code | 1 |
36021889611 | number = int(input("Enter a number: "))
def isPrime(number):
if(number==1):
return False
for i in range (2,number):
if(number%i==0):
return False
return True
if(isPrime(number)):
print("Prime Number.")
else:
print("Not Prime!") | BBTK-2020-2021-Dersleri/Python | Ders5-11.12.2020/Example3-isPrimeNumber.py | Example3-isPrimeNumber.py | py | 280 | python | en | code | 6 | github-code | 1 |
30491801057 | __author__ = 'breddels'
import logging
logger = logging.getLogger("vaex.file")
import vaex.file.other
def can_open(path, *args, **kwargs):
for name, class_ in list(vaex.file.other.dataset_type_map.items()):
if class_.can_open(path, *args):
return True
def open(path, *args, **kwargs):
dataset_class = None
fo... | Al33Bundy/Vaex | vaex/file/__init__.py | __init__.py | py | 639 | python | en | code | 0 | github-code | 1 |
11910534693 | from flask import jsonify, request
from app.models import Manufacturer, Pharmacokinetic_properties, Token
from app import db
def updatePharmacokinetic():
'''update pharmacokinetic properties record'''
data = request.get_json()
token = request.headers['TOKEN']
id=int(data['id'])
t=Token.query.... | the1Prince/drug_repo | app/updates/updatePharmacokineticProps.py | updatePharmacokineticProps.py | py | 1,978 | python | en | code | 0 | github-code | 1 |
35110283677 | import threading
from mqtt_utils import publish_single #, subscribe_callback
import config
import time
import json
import paho.mqtt.client as mqtt
import ssl
import config
class ApproveThread(threading.Thread):
def __init__(self, gameId, amount_of_players, cb, playerId=None, amountXRT=0):
super(ApproveThr... | Vourhey/aira-monopoly-server | approve.py | approve.py | py | 2,272 | python | en | code | 1 | github-code | 1 |
71015854435 | from collections import deque
class TreeNode:
def __init__(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.right = right
class Codec:
def serialize(self, root) -> str:
if not root:
return '[]'
ans = []
q = deque()
... | yskang/AlgorithmPractice | libs/leet_code_utils.py | leet_code_utils.py | py | 1,580 | python | en | code | 1 | github-code | 1 |
9930223943 | from tqdm import tqdm
import json
import numpy as np
import torch
import torch.nn as nn
LABEL2ID = {
"NO-LABEL": 0,
"обеспечение исполнения контракта": 1,
"обеспечение гарантийных обязательств": 2
}
class TokenCLFModel(torch.nn.Module):
def __init__(self, pretrained_model, droupout=0.5, num_clas... | aebogdanova/text-fragment-extraction | scripts/TokenCLF/train.py | train.py | py | 6,755 | python | en | code | 0 | github-code | 1 |
5478844130 | #!/usr/bin/python
# coding=utf-8
'''
在终端中输入字符串,将字符串重写入名称为参数一的文件中,当以#为一行输入时,结束本程序
'''
import sys
f = open(sys.argv[1],'w+')
while True:
str = sys.stdin.readline() # NOTE: 将终端的标准输入流的一行赋值给str
if str == '#\n': # NOTE: 当读取到该行只有一个#时,结束程序
break
f.write(str)
f.close()
| jasonfight/backup | HOME/笔记/待整理笔记/文件操作代码-T/file.py | file.py | py | 443 | python | zh | code | 0 | github-code | 1 |
4026843996 | from math import ceil # mathライブラリからceil(切り上げ)をインポート
str1 = 'パタトクカシー'
list1 = []
for i in range(ceil(len(str1) / 2)): # 文字数/2 回ループ(余り切り上げ)
list1 += str1[i * 2]
result = ''.join(list1) # リストを文字列に戻してresultとする
print(result) | TNMR-m/NLP100knock | 01-2.py | 01-2.py | py | 345 | python | ja | code | 1 | github-code | 1 |
24231103307 | # We are U19886
## Imports & pre-proceessing
import os
import networkx as nx
import matplotlib.pyplot as plt
from matplotlib import pylab
import numpy as np
import pickle
os.chdir('desktop/ELU 501 data science')
## Loading the graph
G = nx.read_gexf("mediumLinkedin.gexf")
## Loading the data
colleges = {}
locat... | mehdah/ELU-501-Data-Science | ELU 501 Challenge 1.py | ELU 501 Challenge 1.py | py | 3,106 | python | en | code | 0 | github-code | 1 |
35462627946 | import argparse
import cv2
import random
import time
#constructing arguements
ap=argparse.ArgumentParser()
ap.add_argument("-i","--image",required=True,help="path to the input image")
ap.add_argument("-m","--method",type=str,default="fast",choices=["fast","quality"],help="selective search method")
args=vars(ap.parse_a... | Gaurav4604/MachineLearning-mainly-object-detection | Selective Search using OpenCV/selective_search.py | selective_search.py | py | 1,713 | python | en | code | 1 | github-code | 1 |
16877735445 | # -*- coding: utf-8 -*-
from openerp.osv import osv, fields
class connection_config(osv.osv):
_name = 'connection.config'
_description = 'Connection Config'
def get_connection(self, cr, uid, ids, field_name, arg, context=None):
"""
Record name is the name of the record (to be synchron... | TinPlusIT05/tms | addons/app-trobz-hr/__unported__/trobz_fingerprint/model/connection_config.py | connection_config.py | py | 1,195 | python | en | code | 0 | github-code | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.