blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
83ce57670722076cf553de1a1b5798dc1a6a2754
d031af7dc049827c98efaf4a2795ce42a6b88190
/pyGPIO_2pin_km.py
94a610bbd04a3740a347ea602b3e783d2f2467bf
[]
no_license
JPWS2013/PhoenixRacing_RPi
0d40f32d4e207d38d5e67e7efc3368eb9010f813
024e03089622a24fabde6786c7570e0dd93ffb14
refs/heads/master
2021-01-15T17:28:19.890141
2013-07-23T01:59:37
2013-07-23T01:59:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,467
py
from __future__ import division import RPi.GPIO as GPIO import datetime import csv import os import db_wrapper def upload_dropbox(results_file, fig): db = db_wrapper.DropboxTerm() print results_file db.do_put(results_file, 'cvt_tests/'+results_file) db.do_put(fig, 'cvt_tests/'+fig) #setup the board l...
[ "arjun.aletty@gmail.com" ]
arjun.aletty@gmail.com
ba5e99dbdf6fc4f652300373267f71e812716625
e18e1e8f9fc0eccf1434dab62d4eeade52a804a6
/solvers/bfs_replan.py
7284ecb91867457e4774dfbb50d072a33c3c52a9
[]
no_license
tomsilver/camps
2c01394c3ff7bf397845e8df7567a80aa61f200b
c309a044d2bfc13016645bb3d21319961be964e1
refs/heads/main
2022-12-29T20:22:50.505946
2020-10-16T19:18:11
2020-10-16T19:18:11
304,717,731
13
0
null
null
null
null
UTF-8
Python
false
false
4,505
py
"""BFS solver with replanning. Can handle stochasticity. Assumes that the goal is reached when the environment gives done=True. """ import time import heapq from solvers import Solver from structs import LIMBO from settings import EnvConfig as ec class BFSReplan(Solver): """BFSReplan solver definition. """ ...
[ "tomssilver@gmail.com" ]
tomssilver@gmail.com
93477610d2947bacd127dc680439c5bc7f483708
ef0285c5db0f320b8ca7f6a1da4fdf882af42458
/sem6/ad50144124/project.py
c2996ab2ad40a0bc5acdd717610bf5714a006925
[]
no_license
ad50144124/mon_projet
a04f5eaff361ebce3fce0e78dad6e32aae3a5039
cf09ba40e8e3d8d7d6c0006e3237d45f441663d6
refs/heads/master
2021-01-10T14:47:03.189272
2016-04-04T10:39:11
2016-04-04T10:39:11
50,364,180
1
0
null
null
null
null
UTF-8
Python
false
false
2,211
py
# -*- coding: utf-8 -*- """ Éditeur de Spyder Ceci est un script temporaire. """ import soccersimulator,soccersimulator.settings from decorator import * from strategy import * from soccersimulator import BaseStrategy, SoccerAction from soccersimulator import SoccerTeam, SoccerMatch from soccersimulator import Vector...
[ "3407585@ppti-14-401-03.ufr-info-p6.jussieu.fr" ]
3407585@ppti-14-401-03.ufr-info-p6.jussieu.fr
8728e4f36b2bdc51ff896895408ea594eca9a249
108e5c9cf8ed492be4278ed8dca499747a0ff129
/db/models/user.py
27185b5898970b81d790c11eddb9dcc0247bf940
[]
no_license
vsymoniuk/telegramGameBot
60d7430de154ac492d9318f814f2dfd8f5a3629b
5bf8b6e1d5017183c654a60a1ce83754615ba9e2
refs/heads/master
2022-11-20T06:15:46.625345
2020-06-28T22:50:05
2020-06-28T22:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
from sqlalchemy import Column, Integer, String, ForeignKey, Boolean from sqlalchemy.orm import relationship, backref from .base import Base class User(Base): __tablename__ = 'users' id = Column(Integer, primary_key=True) name = Column(String) fullname = Column(String, default="") username = Colu...
[ "yaroslaw.klymko@gmail.com" ]
yaroslaw.klymko@gmail.com
c2318e643a408a8fa2cfdda79a0342ac2f2bd52b
b8d140ce82306ee4032af2d5b15c4229d42d7e5e
/crab/vendor/blackout.py
a5fa3578141581c249112371da078f8a263b9ff6
[ "MIT" ]
permissive
jdrese/crab
a387827512641ade632b655eea766431381ae670
3cd20dad1d4d44b03468d7828b87a28351cecf18
refs/heads/master
2022-06-30T09:56:36.461807
2020-05-14T07:46:13
2020-05-14T07:46:13
285,549,135
1
0
MIT
2020-08-06T11:08:16
2020-08-06T11:08:16
null
UTF-8
Python
false
false
3,006
py
""" Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of ...
[ "mike.malinowski@outlook.com" ]
mike.malinowski@outlook.com
d6cdeb85c2c728cec647a482d4b7f3bb21bb0366
a80047f86b96367c75fd24a43be67bb8202645aa
/tailor/models.py
00f95b7fe8b02f9d3e439941c5eebce2bbfdddc3
[ "MIT" ]
permissive
Albert-Byrone/Tailor_Hub
84deaee04809c56bb4d7638dfa800e434936c82a
0ab4402302d03f261ff00af79f84b62cbd241a27
refs/heads/master
2022-12-09T14:18:01.392545
2019-12-23T10:26:44
2019-12-23T10:26:44
224,847,452
0
0
MIT
2022-12-08T03:18:46
2019-11-29T12:10:07
Python
UTF-8
Python
false
false
6,060
py
from django.db import models from django.contrib.auth.models import User from django.shortcuts import reverse from pyuploadcare.dj.models import ImageField from django.db.models.signals import post_save from django.dispatch import receiver import datetime as datetime from django_countries.fields import CountryField fro...
[ "albertbyrone1677@gmail.com" ]
albertbyrone1677@gmail.com
c84e9d198db8ff8ec7ad9b742df879dc7ffc0a13
9c74dceac39e715238f3c1e89501bb8dd31c11a8
/Aniket/graph2.py
0cf66390f26715063d5926914fb278e1375cf812
[]
no_license
vkacker/ForensXMCH2018
1c585895328107c109795708b302d4b30710a548
39413fdae97dcc8edc0bc1274132953322bdb4bb
refs/heads/master
2021-09-21T02:14:34.268455
2018-08-19T15:37:49
2018-08-19T15:37:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,700
py
html.Div([ html.Div([ dcc.Graph( id='example-graph', figure={ 'data': [ {'x': [1, 2, 3], 'y': [4, 1, 2], 'type': 'bar', 'name': 'SF'}, {'x': [1, 2, 3], 'y': [2, 4, 5], 'type': 'bar', 'name': u'Montréa...
[ "bamaking128@gmail.com" ]
bamaking128@gmail.com
952603e0025d29067305943b57cb851c1d9d1eee
608d0d757bf1c89d3fe72ba16440a4b24af7d442
/homework_finalwork/work.py
e09cda349de38c72df5816cdf31aa38e2591c629
[]
no_license
mhq1065/respose
5ed08adc4e507b15924225c230f4e23dc83e90eb
e49e42930ccf2ae8efe1296c889dab1f0ca23645
refs/heads/master
2020-04-12T10:22:06.826424
2018-12-19T11:32:26
2018-12-19T11:32:26
162,427,929
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
import requests import json import sqlite3 def get_data(page):#获取原始用户评论数据 header = {'User-Agent': 'Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Mobile Safari/537.36'} url = "http://m.maoyan.com/review/v2/comments.json?movieId=249342&userId=-...
[ "mhq1065@qq.com" ]
mhq1065@qq.com
0d0d85ab16b1059e7c73105199f09389765f50c5
fbe98682e937d08535e14ac434208c887be39783
/mgd_ioms/mgd_rbac/models.py
24415f89fdc4cd09e3c51d719c3034c0b6829e58
[]
no_license
HuLight/jgtl
ee3552431bd30ab5a4bb995d8dc7d48592a66d9a
aaecd2565c53d225e623628d56eff382deb4f006
refs/heads/master
2022-10-03T23:22:52.513395
2020-03-21T12:31:04
2020-03-21T12:31:04
248,970,298
0
0
null
2022-09-16T18:19:37
2020-03-21T12:21:13
HTML
UTF-8
Python
false
false
3,367
py
from django.db import models from django.contrib.auth.models import AbstractUser class Menu(models.Model): """ 菜单 """ name = models.CharField(max_length=30, unique=True, verbose_name="菜单名") # unique=True, 这个字段在表中必须有唯一值. parent = models.ForeignKey("self", null=True, blank=True, on_delete=models.S...
[ "yhh2101@163.com" ]
yhh2101@163.com
c16d87aad5c12e73552775d7063b510229c7d2b4
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/word-count/c9dbb4f567ab4afa840dedb35209b154.py
3ac8cb50e479178794591a5bbba3d8776dab6ff1
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
220
py
""" Solution for "Word Count" Exercise """ def word_count(input): result = {} words = input.replace('\n',' ').split(' ') for word in words: if word != '': result[word] = result.get(word,0) + 1 return result
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
60fcc7583e7a4666ee84df1b89aa0de7c824794d
5c724d6e03e4194680c793718a4f72a58ca66bb1
/app/migrations/0015_auto_20180903_2010.py
75587dd9dfbf783469020f2e266a255f975a8bff
[]
no_license
tigrezhito1/bat
26002de4540bb4eac2751a31171adc45687f4293
0ea6b9b85e130a201c21eb6cbf09bc21988d6443
refs/heads/master
2020-05-02T07:13:06.936015
2019-03-26T15:04:17
2019-03-26T15:04:17
177,812,144
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-09-03 20:10 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0014_auto_20180903_1946'), ] operations = [ migrati...
[ "you@example.com" ]
you@example.com
dd83e536e6cf733840d182e9c94a1c74b58881bc
ca936f01bbecd4905e08abc9da25bd3e01e9761b
/rendertree.py
5304f90725c763a4e980e2c8fb7dc021f04ddb26
[]
no_license
kontactr/python-tree-and-graph
905bbe92f12ea96212063bcc77449bbbef88f695
75ddbbc0633fb7c5a3879f79942431c3877eda3d
refs/heads/master
2021-01-18T13:06:54.230442
2017-02-02T13:20:24
2017-02-02T13:20:24
80,726,587
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
# -*- coding: utf-8 -*- #from __future__ import unicode_literals from anytree import Node, RenderTree import pydot graph = pydot.Dot(graph_type='graph') gf_f = Node("gf_f") gm_f = Node("gm_f") gf_m = Node("gf_m") gm_m = Node("gm_m") f = Node("f",parent=gf_f) f = Node("f",parent=gf_m) m = Node("m",parent=...
[ "noreply@github.com" ]
kontactr.noreply@github.com
360d72b4e7fe1211157925b0fa7eb4173dc1f473
21f3e2f086b4a5f535c42995cea658cbdf0837f3
/practica1/answer8py.py
2d316088cb06ae812e9ea4d797f68976ade59007
[]
no_license
degracia911/uasd-emergencia
a0154032ce0bd1dfd155a30ec302b07eb5cfd7e9
8e3684412a20e088461750632d975541a084826d
refs/heads/master
2022-12-28T02:25:56.495219
2020-09-30T23:37:10
2020-09-30T23:37:10
293,353,426
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
'''Almacene monto, cantidad de cuotas, porcentaje de interes anual de un prestamo y calcule la cuota mensual. (Amortizar mediante el sistema frances)''' monto = 100000.00 cant_cuotas = 12 pia = 30 r = pia * monto /100 e = (monto - r )/ 12 print(float(e)
[ "ruddydegracia@gmail.com" ]
ruddydegracia@gmail.com
f4cb702bb909488b44205a7c3c85860429401cc4
0737b583899d7d5ddcbdda49731046036d65d998
/sven/settings.py
746ef6ac71a5df61f46113c3869cf2e519f9fb90
[]
no_license
martolini/sven_admin
71b8b6e84e0eae3d7e971a62e3715efac708b160
610183b2d995b1d1f6b1946c13e9b4c9070ef26f
refs/heads/master
2021-01-25T04:58:00.067439
2014-02-25T22:04:25
2014-02-25T22:04:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,190
py
# Django settings for sven project. import os import socket DEBUG = 'cauchy' not in socket.gethostname() TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS BASE_DIR = os.path.dirname(os.path.abspath(__file__)) if DEBUG: DATABASES = { 'default': { ...
[ "msroed@gmail.com" ]
msroed@gmail.com
9fdef289488f09abcc2b7641aa8a537ae0231dd7
e70d0bcc547d63b338ff51c253aa95d78ea99992
/xdl/test/python/unit_test/ps_ops/test_ps_pull_op.py
dfa1f106fecb5690866aa4d7d8629b0e15c3b2d8
[ "Apache-2.0" ]
permissive
niumeng07/x-deeplearning
2513f7ba823521c40e0346284f5dd0aca5562e40
6d3bc3ad4996ab8938c56d8a834af07a04dc2f67
refs/heads/master
2020-04-12T23:06:24.447833
2019-07-06T16:06:16
2019-07-06T16:06:16
162,808,758
2
0
Apache-2.0
2018-12-22T12:18:01
2018-12-22T12:17:59
null
UTF-8
Python
false
false
1,377
py
# Copyright (C) 2016-2018 Alibaba Group Holding Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "yue.song@alibaba-inc.com" ]
yue.song@alibaba-inc.com
488ff90b2f40c32aa80e7d917b87adac93351eb5
031cc92fb2f22b23a22f2c1c3cad82e0fd822082
/eval/eval.py
0315ae4b46e76d5b2fcecb19bb2cd0901de32bf6
[]
no_license
jianghan0213/PyTorch-BYOL
b740fb06d4ed2594e7afb257d31dc3227b36f740
e4055729d913a886096a3d6cce93a8e37526f73b
refs/heads/master
2023-06-07T21:21:16.487827
2021-06-25T07:04:28
2021-06-25T07:25:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,977
py
import os import torch import sys import yaml import torchvision from torchvision import transforms, datasets import numpy as np from sklearn import preprocessing from torch.utils.data.dataloader import DataLoader sys.path.append('../') from models.resnet_base_network import ResNet18 class LogisticRegr...
[ "1491078277@qq.com" ]
1491078277@qq.com
3bb2d3e29596e0164e2c2085bd56f2a995d832c3
f543d608c675af68601928328f36c51739d94eb8
/scripts/braker.py
b58f140f09ec4b63008ff48c829655e96d6969aa
[]
no_license
rongrong1314/lidar-montecarlo-pathplanning
a634fc2070abf8cb20623c3af64b3f21b559b01b
223c80ec1d623dd90d2ebcd955c9c9ebff4f2132
refs/heads/master
2022-12-02T09:56:26.539664
2020-08-18T18:21:42
2020-08-18T18:21:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
#!/usr/bin/env python import rospy from std_msgs.msg import Bool from pacmod_msgs.msg import PacmodCmd import time # pacmod_msgs/PacmodCmd enable_pub = rospy.Publisher('/pacmod/as_rx/enable', Bool, queue_size=10) brake_pub = rospy.Publisher('/pacmod/as_rx/brake_cmd', PacmodCmd, ...
[ "kazukishin@kazuki-macbook.local" ]
kazukishin@kazuki-macbook.local
0dc622251f91d229a93059dbc1470fb1b08fa036
cc43a517a1825a46e2474dd979c530daa0386f6e
/search-engine/query_parser.py
8cba207960945eca1682bb9f95ba2e03bc4f36a0
[]
no_license
keerthipendyala/Information-Retrieval
bc0152336ce29be1f135d8bbf39d088420c7133a
190b2dbf3f3c15972344375619f0a660b2860bb7
refs/heads/master
2020-03-29T16:51:10.816147
2018-09-24T16:13:52
2018-09-24T16:13:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,846
py
import xml.etree.ElementTree as ET from collections import OrderedDict import re import os from bs4 import BeautifulSoup queries=OrderedDict() query_file="cacm.query" query_xml="cacm_query.xml" folder="cacm/" parsed_path="parsed_corpus/" def clean(string): str=re.sub(r'(\[.+?\])', '', string) #removes citation ...
[ "pendyala.k@husky.neu.edu" ]
pendyala.k@husky.neu.edu
95b462c1589ad5fcc2afbb3b460ed427d4606ddf
ef8d6ba2afe24cd981eeb92624e838b6acc98166
/src/ckanext-delineate/setup.py
4b2815902ac1b31eff768239e15632773f5b8dd6
[ "BSD-3-Clause" ]
permissive
CI-WATER/portal
cd68cd8f514d10092faea3e78d4421819c9714c3
c61660c8389c7af82517cbd0154bc83f9737c4d1
refs/heads/master
2016-09-05T10:40:10.721184
2014-07-01T17:43:06
2014-07-01T17:43:06
20,502,671
1
0
null
null
null
null
UTF-8
Python
false
false
751
py
from setuptools import setup, find_packages version = '0.1' setup( name='ckanext-delineate', version=version, description="Watershed delineation extension", long_description="""\ """, classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='', author='Pabitra Dash', ...
[ "pkdash_reena@hotmail.com" ]
pkdash_reena@hotmail.com
5e6a0deb1992ee2d2915ebf090609c88dd903171
084d705b6cadf199570dfd862e2cd55d575693a7
/utils/nuc_stats.py
b98ddee2191179b74693624fb4c1040240658149
[]
no_license
andrewcboardman/aptamers
94d8e4e16a250b3cab0db4703b85d50e4a75278d
a296e8acb1bb7f64e6dd82326951b005798b37fd
refs/heads/master
2020-04-04T19:54:09.698652
2019-11-18T19:17:30
2019-11-18T19:17:30
156,225,206
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
from pysster.Data import Data import matplotlib.pyplot as plt data = Data(['mf_artificial_samples.fasta'],'ACGT') profile = sum((data.astype('int32') for data in data.data))/len(data.data) plt.switch_backend('TkAgg') plt.bar(range(1,41),profile[:,0]) plt.bar(range(1,41),profile[:,1],bottom=profile[:,0]) plt.bar(range(1...
[ "acb95@cam.ac.uk" ]
acb95@cam.ac.uk
a7896d94daadb140e6d3a09d2e940af892feae70
fb2ba196c33fa647909914533559485b716f24b6
/py/ReverseString.py
66fa736a9b1b85f808ea77057803a61e3fce95b8
[]
no_license
ZihengZZH/LeetCode
7d62ab7211004c0ee5fe49ef3adeb72c698da44f
96e2faaa8c18636c173883cca55b2c228c81477a
refs/heads/master
2021-06-04T05:31:03.306503
2020-03-07T03:07:28
2020-03-07T03:07:28
108,906,661
1
0
null
null
null
null
UTF-8
Python
false
false
660
py
''' Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh". NOTE: Try to avoid running-time-exceeded ''' class Solution(object): def reverseString(self,s): res = "" i = len(s)-1 while i >= 0: res += s[i] ...
[ "zihengzhang1025@gmail.com" ]
zihengzhang1025@gmail.com
29ade0802ba7f753dde50457d3d040b9d9b4e45a
a16feb303b7599afac19a89945fc2a9603ae2477
/Simple_Python/standard/traceback/traceback_6.py
98c71ab419e8207fcac4ff823ee242f3b6713f45
[]
no_license
yafeile/Simple_Study
d75874745ce388b3d0f9acfa9ebc5606a5745d78
c3c554f14b378b487c632e11f22e5e3118be940c
refs/heads/master
2021-01-10T22:08:34.636123
2015-06-10T11:58:59
2015-06-10T11:58:59
24,746,770
0
2
null
null
null
null
UTF-8
Python
false
false
263
py
#! /usr/bin/env/python # -*- coding:utf-8 -*- import traceback import sys from traceback_1 import call_function def f(): traceback.print_stack(file=sys.stdout) print 'Calling f() directly:' f() print print 'Calling f() from 3 levels deep:' call_function(f)
[ "zhuzhulang@126.com" ]
zhuzhulang@126.com
d44b6bb9da0fd77a4c7f48727cea45df47f2881d
b235dfe0a970b74df11c90c738ac4dc24361506a
/src/Sql_aat.py
82870b1ceeac58e1555edef71ed70952cc5e2819
[]
no_license
arturo-alatriste/sql_aat
7b3b3befb473b3833fa7344b7d7610713e4e3db5
c4e902705c0e78df8d95bdc413ea7bcacc60b16f
refs/heads/master
2020-04-22T02:25:47.599358
2019-02-11T01:46:32
2019-02-11T01:46:32
170,048,361
1
0
null
null
null
null
UTF-8
Python
false
false
1,312
py
''' ------------------------------------------------------------------------------- Description : This project is a useful library to run SQL queries on pandas dataframes. We can just give a query in plain Text and it can be executed. For example: import pandas as pd fro...
[ "noreply@github.com" ]
arturo-alatriste.noreply@github.com
1b075a4e8d7640d03ff61a2f0e63e6b28699aa4e
fc8ba9e7e7d1b46f113edfe54105a6d3b770cf4d
/Hello.py
6cc0f055945baf32dc259e520bdeb0e675660150
[]
no_license
hezhengfa/TestPycharm
9d91fb58807b7051a2ba22bc832e5adf0781f422
8fa1b84ba3debc73deaf58a826b6b9c14cecc4c2
refs/heads/master
2020-04-17T03:09:49.221291
2019-01-17T06:06:58
2019-01-17T06:06:58
166,169,480
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
print 'Hello world' print 'Test github Successfully!'
[ "hezhengfa123@gmail.com" ]
hezhengfa123@gmail.com
a53f2b3e268ed16d83380a3ccf0b8f51095dcb62
8fcbf2f2d0c7bbb6aef36815f6ad490c917d8530
/extractMut.py
62b8195f18d2c03d14f23a57e6e8fe32b4042f36
[]
no_license
rmehta1987/mutBOW
f0752f0a550af58c5354c93a8d595ccc965a6b14
6e634af0481986c97ae0bd770512b5e5c284a459
refs/heads/master
2020-07-12T11:06:10.661832
2019-08-28T17:06:30
2019-08-28T17:06:30
204,801,044
0
1
null
null
null
null
UTF-8
Python
false
false
5,076
py
import pandas as pd from operator import itemgetter import numpy as np import argparse def createOneDataFrame(path): ''' Creates a dataframe from a .maf file contaning mutation data Args: path: path to the maf file Returns: mutation_df a dataframe consiting of all the mutations ''' ...
[ "rmehta1987@outlook.com" ]
rmehta1987@outlook.com
0cb973af037c7d074b7cfbefc854bee39ac187aa
023f5bba7f117f1aa153b30b1e904612e1265497
/python/Test_API/Test_case/Test_case/test_api_vpn_8.167.py
911bb38c59a9f54f2ced34aabb0cf4e84df39fae
[]
no_license
heliangliang2/iyunxiao
4d987e474581a49a5197ae993a9a3f56d3bb0a7f
b732cf6641bfb2b52bd2cd1628331ffc3a5169b2
refs/heads/master
2020-04-04T00:06:43.010824
2018-11-11T06:54:18
2018-11-11T06:54:18
155,476,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,756
py
#conding:utf-8 import requests #禁用安全请求警告 #登录Jenkins url="https://172.18.8.167:8888/cgi-bin/index.cgi" header={ "Accept": "application/json, text/javascript, */*; q=0.01", "Accept-Encoding": "gzip, deflate", "Accept-Language": "zh-CN", # "User-Agent":" Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; r...
[ "2463731436@qq.com" ]
2463731436@qq.com
d7af9a0c88e28ef76bd358174e5b026502fcb910
956d2056e7cc56cc5ef2c6224a52a5e5c2987785
/utils/pyrrd/backend/external.py
69b49adb1b75d3f9cf03e1a3dd935cd127612bc0
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
AndriyZabavskyy/taf
60f7ff7476d6a7443a1e5a752778277f6629e65b
2007bf3fe66edfe704e485141c55caed54fe13aa
refs/heads/master
2021-05-20T01:01:23.835257
2020-04-10T08:31:15
2020-04-10T08:31:15
252,119,009
0
0
Apache-2.0
2020-04-01T08:40:24
2020-04-01T08:40:23
null
UTF-8
Python
false
false
11,722
py
""" Copyright (c) 2004-2008, AdytumSolutions, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditio...
[ "ross.b.brattain@intel.com" ]
ross.b.brattain@intel.com
22df3a45ebed1aaa000d917da4cf9f6d77c8ad8e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04001/s037589622.py
245a5174bd7db200bf673123ca5d544e43c7f7dc
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
#!/usr/bin python3 # -*- coding: utf-8 -*- def main(): S = input() l = len(S)-1 ret = 0 for i in range(2**l): fs = S[0] for j in range(l): if (i>>j & 1) == 1: fs += '+' fs += S[j+1] ret += eval(fs) print(ret) if __name__ == '__main__'...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
dc1007abb291bb034f6599134256533361787bf4
212d28a6a1b10431b1175183731227d59dc53bee
/Draw_permanent_states.py
c61a0ff2514dbad866f77f8ef47522857837f561
[]
no_license
Andrey905/PyGame_project
3fea8cf8eef401fe3a764b03a3d103fdeb242959
eee6d852a831a62b32342fe9ddf888727481b485
refs/heads/main
2023-03-03T07:04:37.579746
2021-02-04T18:02:40
2021-02-04T18:02:40
325,557,712
0
0
null
null
null
null
UTF-8
Python
false
false
2,207
py
import pygame class Draw_permanent_states: def __init__(self, screen, window_width, window_height, game_level): self.__window_width = window_width self.__window_height = window_height coin_surf = pygame.image.load('Coin.png') self.__coin_scale = pygame.transform.scale(coin_...
[ "noreply@github.com" ]
Andrey905.noreply@github.com
b05a64bfdc796daba55747b51fe84300a0cbd094
ab8db02202736bc7af2410154a9ab0c9f194f80e
/node_modules/serialport/build/config.gypi
c69ea50d4c9f9d27b5c6196316403446ca7d5575
[ "MIT" ]
permissive
Zerphed/zerphed.github.io
149b9be80426917aa7d70aaf091dc3334069d59b
48d663a6a4e77d5a9b24f88138bef1639e2b9b99
refs/heads/master
2021-01-20T04:30:22.060111
2015-06-02T18:47:51
2015-06-02T18:47:51
34,660,682
1
0
null
null
null
null
UTF-8
Python
false
false
4,059
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "icu_data_file": "icudt54l.dat", "icu_d...
[ "joonas.nissinen@aalto.fi" ]
joonas.nissinen@aalto.fi
03f1750148666fdc2a66424395ef053051ad8d67
59275d7e6f769511f2b0f1eb55311049cb977dfd
/tweets_read_v6.py
ce47a0d0fe79e4a1ffe7293200239058fb5daf00
[]
no_license
Warlang/cloud_computing
af9c93408213fb22ed5843fbe821da3f2a05155a
58739d6f25b6161b6b8f5e7ca7df51e363f56b95
refs/heads/master
2021-01-10T15:23:20.713784
2015-10-06T14:54:05
2015-10-06T14:54:05
43,367,296
0
0
null
null
null
null
UTF-8
Python
false
false
3,233
py
from flask import Flask import json import subprocess import sys import time #special for celery from celery import Celery app = Celery('tweets_read_v6', backend='amqp', broker='amqp://') #end of special # --- Attributes --- fname = 'tweets_16.txt' f = open(fname) #Open file stream list_of_words = ['han','hon','den'...
[ "thinker20" ]
thinker20
0150ee4b951d7aa98d33671a60f4da5d924e1da8
2de33ba731066a63352080dd19da1e4582bb00c4
/collective.project/collective/project/browser/create_iteration.py
d3c03e2dcb7ff08becb20002dd3249c618cfcb4f
[]
no_license
adam139/plonesrc
58f48e7cdfc8fbed7398011c40649f095df10066
cbf20045d31d13cf09d0a0b2a4fb78b96c464d20
refs/heads/master
2021-01-10T21:36:44.014240
2014-09-09T04:28:04
2014-09-09T04:28:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,139
py
from zope import interface, schema from z3c.form import form, field, button from plone.app.z3cform.layout import wrap_form from collective.project import projectMessageFactory as _ from collective.project.bbb import getSite from zope.schema import vocabulary from zope.interface import directlyProvides from zope.schema....
[ "plone@localhost.localdomain" ]
plone@localhost.localdomain
c6b2508756ca483742fc681caa459b0b1fe7fff9
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_wounder.py
b0d6cd04f474aad1a04a22fbffe4505de907b214
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from xai.brain.wordbase.verbs._wound import _WOUND #calss header class _WOUNDER(_WOUND, ): def __init__(self,): _WOUND.__init__(self) self.name = "WOUNDER" self.specie = 'verbs' self.basic = "wound" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
73b384d0b1fb7908b2521c4f150f93c076b807c7
10d17864a685c025bb77959545f74b797f1d6077
/capitulo 07/07.22.py
d7274f669aa67ce98579dc96a66e3b781eec34c2
[]
no_license
jcicerof/IntroducaoPython
02178d2dfcaa014587edbd3090c517089ccef7c2
02e619c7c17e74acdc3268fbfae9ab624a3601dd
refs/heads/master
2020-04-24T18:12:21.422079
2019-02-23T05:14:43
2019-02-23T05:14:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2019 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Segunda edição - Junho/2014 - ISBN 978-85-7522-408-3 # Terce...
[ "jose.cicero@gmail.com" ]
jose.cicero@gmail.com
c585072ddb9c6cccf258955047c633c5f013cc07
06c8b19c0b2e75271a8b866388a2b26b48abb02d
/codes/seeGlass.py
18a7bcafd8cebb74972f12f8adb4de9ad4cb8372
[]
no_license
FedeDavilaKurban/Multipoles
7fe73d2df3864acdd4c20e7aa0670165d390fe84
0185242b2bcf0d36648d7513c3240fab17462bed
refs/heads/master
2023-06-25T11:09:08.454284
2021-07-23T18:54:52
2021-07-23T18:54:52
252,025,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,350
py
from astropy.io import ascii from astropy import table from astropy.table import Table from nbodykit.lab import * import matplotlib.pyplot as plt import numpy as np ### #Visualize xy projection of one Glass ### box=1500. dtype=[('Position', ('f4', 3))] gcat=BinaryCatalog...
[ "fdavilakurban@unc.edu.ar" ]
fdavilakurban@unc.edu.ar
ba7d89130eefa370fa05fd79edc72c2a5e486c2a
23176ac222bcf5a4aa3188fd195b9f2eb8c05fc6
/ML/run_once/dataset_authors.py
2fccee98b41236ad6458fec3457ef5cc47ab0034
[]
no_license
edwardj4747/Automated-Approach-to-Dataset-Labeling
c0682b831ecfca4105177d52da0594e80e55e9d2
7efa9badd39026b2c3b10cd0981c86085e0d7516
refs/heads/master
2023-04-13T03:00:43.197253
2021-05-01T23:57:22
2021-05-01T23:57:22
332,786,315
1
1
null
2021-04-07T01:38:22
2021-01-25T15:09:44
Jupyter Notebook
UTF-8
Python
false
false
6,523
py
from collections import defaultdict import json import glob import re ''' Create a dictionary mapping of dataset: [author(s) of the dataset] as based on the metadata files ''' def dictionary_to_list(dataset_author_mapping, save=False): seen = set() unique_authors = [] for list_of_authors in dataset_a...
[ "edward.jahoda@gmail.com" ]
edward.jahoda@gmail.com
d5f8c770ce43647135663e3e1f2817e3f071c942
6a83bbff721594fd249b466c39b955feba41e13b
/baekjoon/3197.py
fcb885cac78715c7b6c258fb4bc888766ccc3f3c
[]
no_license
hololee/algorithm
9b59aafc93e35c37dedcd7369ba05d8b38db3477
ac337331ca4cd8132cc59d5e2164bfdc24573ef0
refs/heads/master
2023-07-02T05:33:09.915717
2021-08-04T08:59:05
2021-08-04T08:59:05
288,984,175
0
0
null
null
null
null
UTF-8
Python
false
false
5,089
py
# 200921 import sys from collections import deque class LakeMap(object): def __init__(self, lake, row, col): self.lake = lake self.row = row self.col = col self.check_positions = [[0 for c in range(col)] for r in range(row)] self.swan_position = [] self.melting_pos...
[ "lccandol@naver.cm" ]
lccandol@naver.cm
7d2d1b6103c5ea43b2cfe02b42cba943b94881a1
f5f7af219cd9122a0b381dfa113234116d839011
/202002发送微信信息.py
453370022770619ed27f0700813b815a31d137c0
[]
no_license
Victordpf/Victor-
fe03cef0ea74e00389e98731e6c47f5e36cbcbd4
ccdf94ec119a4d169743196f0d04d075942a3ce5
refs/heads/master
2021-01-01T01:07:02.823296
2020-02-17T12:47:12
2020-02-17T12:47:12
239,112,355
0
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
#! python3 """说明: 1、tongxunlu.png图片必须用通讯录显示页最下面的图片; 2、2020春节已经测试过,可以用""" import pyautogui,os,time,pyperclip from PIL import Image os.chdir('D:\\Python-Victor\\快速上手-用过的文件') pyautogui.PAUSE=0.5 time.sleep(6) text='拜年啦,拜年啦,鼠年来临之际,鹏飞祝您在鼠年:[此处有音乐]鹏程万里,飞黄腾达,身体健康,阖家安康,财运亨通,福星高照。' pyperclip.copy(text) #获取发消息焦点(由于会变动...
[ "noreply@github.com" ]
Victordpf.noreply@github.com
371af8cf202bc43ff32f5450e4bd1666cdb52069
8ec3db88a3463f1e8eb40af89966c8b093bad477
/capston/Filter.py
6afa20581cd1f6aab7bf4a082aa6f57273dec1df
[]
no_license
heyhobeach/capston
e2327619ce9a2a815829880d1dddb2caef31f288
5e733f91db2443bace4e962e77aa00a1b24b28df
refs/heads/main
2023-03-14T09:07:36.392743
2021-03-10T05:57:52
2021-03-10T05:57:52
314,143,340
0
0
null
null
null
null
UTF-8
Python
false
false
913
py
import Tkinter import tkMessageBox import os import subprocess import threading import time ################################################################################# def run_rosfilter(): subprocess.call("roslaunch turtlebot3_follow_filter turtlebot3_follow_filter.launch",shell=True) ##############...
[ "noreply@github.com" ]
heyhobeach.noreply@github.com
7173df93961f6ef1116d2a6295643f7aac0f90d7
9b77c449497b776f28c63305f1bd24617ebc1d9b
/rango/migrations/0004_auto_20170515_1130.py
791f4d0287a95e4db1bb4ca2c4106d345992f797
[]
no_license
XOyarz/tango_with_django_project
0c0416ad5188b1eeec90232feb6f7f6fa21b55fe
42e32403f1710a8400bd15bbd06cd76f511b9bd0
refs/heads/master
2020-12-30T13:39:49.415073
2017-05-20T12:41:12
2017-05-20T12:41:12
91,241,170
0
0
null
2017-05-17T13:50:25
2017-05-14T12:15:11
Python
UTF-8
Python
false
false
624
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-05-15 09:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rango', '0003_category_likes'), ] operations = [ migrations.AddField( ...
[ "xavier982@hotmai.com" ]
xavier982@hotmai.com
62054d2b77f9ee5d2bf2a7bd93ae6a176ff1e728
c87303cbb6eb1e511fa0776e2ecd076385dfe86f
/kivymd/icon_definitions.py
39c9abb5a1909acd83d31f546b027dd8e07b6e37
[]
no_license
barry-2710/youtube-downloader
52bf3e6a29fd9db93165671fad6cfe82fbeb70c0
360a38393500d193f5d32f0945bc127650a9cf9c
refs/heads/main
2023-02-07T21:52:39.687488
2020-12-30T06:56:23
2020-12-30T06:56:23
325,478,091
0
0
null
null
null
null
UTF-8
Python
false
false
134,445
py
""" Icon Definitions ================ Copyright (c) 2015 Andrés Rodríguez and KivyMD contributors - KivyMD library up to version 0.1.2 Copyright (c) 2019 Ivanov Yuri and KivyMD contributors - KivyMD library version 0.1.3 and higher For suggestions and questions: <kivydevelopment@gmail.com> This file is distr...
[ "73114649+barry-2710@users.noreply.github.com" ]
73114649+barry-2710@users.noreply.github.com
a15ba967a5a20d5c51a3fe4bd4b1b7ee046e37de
350db570521d3fc43f07df645addb9d6e648c17e
/0779_K-th_Symbol_in_Grammar/solution_test.py
954e62fd402ddafba1bf568523536c189f2aedf3
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
378
py
''' 779. K-th Symbol in Grammar Level: Medium https://leetcode.com/problems/k-th-symbol-in-grammar ''' import unittest class TestSum(unittest.TestCase): def test_sum(self): self.assertEqual(sum([1, 2, 3]), 6, "Should be 6") def test_sum_tuple(self): self.assertEqual(sum((1, 2, 2)), 6, "Sho...
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
729f9a3979e886e96caff217aede3262a8025832
4e3bd458f62b4184c3a09cd23cbba4c82d8c40e8
/Leetcode_Easy/169_Majority_Element.py
a46268a29f53f5a0a3e4e6795fae0c67883b5e64
[]
no_license
gaoyanwang/Algorithms_and_Data_Structures
07cc649c1e4b2604b7c845dda3f89696a818ede3
19a0171af20735e3233fc82b9a3e0ca4d7b9ae87
refs/heads/master
2020-04-15T12:48:03.144043
2016-11-17T06:12:38
2016-11-17T06:12:38
63,971,701
0
1
null
null
null
null
UTF-8
Python
false
false
438
py
class Solution(object): def majorityElement(self, nums): """ :type nums: List[int] :rtype: int """ candidate, count = None, 0 for e in nums: if count == 0: candidate, count = e, count + 1 elif e == candidate: cou...
[ "gaoyanwang68@gmail.com" ]
gaoyanwang68@gmail.com
4f7dbf9ae47f08b5c51baea7cc318e1300cd2c29
4d319be5778463ffe520811abee00a969e978e2b
/scrap/test.py
49e2d8b06a9ebb9ee321277c7f308f8184834e56
[]
no_license
dzhou121/scrap
22edc777c745c83b6c5d66b36eeea86814b13fb5
b7460c20a29c9de8809187bcbcce0494bb082cbf
refs/heads/master
2020-04-09T19:17:41.942641
2013-05-22T10:45:58
2013-05-22T10:45:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
import unittest import stubout class TestCase(unittest.TestCase): """ Base test case for all unit tests """ def setUp(self): """Run before each test method to initialize test environment.""" super(TestCase, self).setUp() self.stubs = stubout.StubOutForTesting() self.addCleanup...
[ "dzhou121@gmail.com" ]
dzhou121@gmail.com
ae5dfacd6fbc6b933807feff6753196811247728
2a8f90da3aecd8e0b420e5ca2c24c5987285b5ec
/model/pipeline.py
fc94d9e10bfa31bcbc158f04491d1fb045cfdd9d
[]
no_license
wangyuchen2020/AuxST
e5baedaf65c275bc2db8d83a9487080303c930f8
cf4057005ff09ffb51dd61d66668cbd587c2fe26
refs/heads/main
2023-09-02T15:19:40.623235
2021-11-09T09:46:04
2021-11-09T09:46:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,783
py
import torchvision import torch import utils from model import net def setup(train_patients, test_patients, args, device, cv = False): ### Get mean and std train_dataset = utils.dataloader.Spatial(train_patients, count_root='training/counts/', img_root='tr...
[ "xingjchen3-c@my.cityu.edu.hk" ]
xingjchen3-c@my.cityu.edu.hk
4923c8a25b7d427a7ea167fd7ee6c73d727d1ec9
328bc5a846fb951e1127f13706ad09e75b93b023
/0x00-python_variable_annotations/6-sum_mixed_list.py
83170218eebd6c944c0c665044909fc61438bccc
[]
no_license
MatriMariem/holbertonschool-web_back_end
37f39cc286d949e347baafee0697c8ad042dbb05
2ab609541ff8b45cdc923c24d629f160ddc6f3cf
refs/heads/master
2023-02-28T23:06:47.490221
2021-01-28T13:08:43
2021-01-28T13:08:43
305,419,798
0
1
null
null
null
null
UTF-8
Python
false
false
356
py
#!/usr/bin/env python3 """ a type-annotated function sum_mixed_list """ from typing import List, Union def sum_mixed_list(mxd_lst: List[Union[int, float]]) -> float: """ a type-annotated function sum_mixed_list that takes a list mxd_lst of floats and integers as argument and returns their sum as a flo...
[ "meriemmatri1994@gmail.com" ]
meriemmatri1994@gmail.com
b8a86f66e33ce501000bbf95b6ae197aee5b8fc3
24449fa092082f629c12d2420b5bfb7ea5a59979
/test/test_requests_factory.py
f2a81d3f569bef655c5125c1c285b0ba000040cc
[ "Apache-2.0" ]
permissive
hsdp/requests-factory
7925798c6832752b58d72a7ec2b744e4bf89c494
c622be218e1a54e8619de8f9a029a46c51d3f2de
refs/heads/master
2021-05-11T08:06:47.087250
2018-06-14T20:11:51
2018-06-14T20:11:51
118,041,211
2
0
null
null
null
null
UTF-8
Python
false
false
11,978
py
import six import json import requests import responses import requests_factory import websocket from unittest import TestCase from websocket import WebSocketConnectionClosedException from requests_factory import MIME_JSON, MIME_FORM from requests_factory import ( RequestMixin, Request, Response, RequestFactory...
[ "ajaso@hsdp.io" ]
ajaso@hsdp.io
26c69de60b556ed13a97ad0932632e28c17e451d
2ae838b8a40f5b2866cee4305ab94291c3942e95
/app/routes.py
41880e2d47fdf5f536fa5c34154dc8f3ec736aac
[]
no_license
pedromiguelmvs/bookshelf
1f0b529543cf555378722423d43403b865e662c4
2a1c539af97eceb75ea1271c3d6b84984d6909eb
refs/heads/main
2023-03-14T12:51:22.112898
2021-03-07T19:15:58
2021-03-07T19:15:58
345,430,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
from flask import render_template, request, redirect from app import app, db from app.models import Entry @app.route('/') @app.route('/index') def index(): entries = Entry.query.all() return render_template('index.html', entries=entries) @app.route('/add', methods=['POST']) def add(): if request.metho...
[ "pedromiguelmvs@gmail.com" ]
pedromiguelmvs@gmail.com
64899c99b053884b463b2aca741431e307f7b480
1919fc2555dbcb6b865fdef0cc44c56c6c47e2f0
/chapter_7/demo_7_2.py
8b2b373f88eeeae54cc30d598f1dd6d869f9e330
[]
no_license
ender8848/the_fluent_python
10f8dd98fcf206b04ea6d34f47ad5e35f896a3ac
058d59f6a11da34e23deb228e24a160d907f7643
refs/heads/master
2022-12-19T07:51:51.908127
2019-01-17T09:53:33
2019-01-17T09:53:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
''' 装饰器的一个关键特性是,它们在被装饰的函数定义之后立即运行。 这通常是在导入时(即 Python 加载模块时) , 如示例 7-2 中的 demo_7_2.py 模块所示。 ''' # registry 保存被 @register 装饰的函数引用 registry = [] # register 的参数是一个函数 def register(func): print('running register(%s)' % func) registry.append(func) return func @register def f1(): print('running f1()') @register de...
[ "js_huang@foxmail.com" ]
js_huang@foxmail.com
abee031f9dd8d4d4d9ab634022ebb1f4a6c78b3d
14f4d045750f7cf45252838d625b2a761d5dee38
/argo/argo/models/io_argoproj_workflow_v1alpha1_workflow.py
9004cddc944622ff5565d97235c12f3fc64c9b23
[]
no_license
nfillot/argo_client
cf8d7413d728edb4623de403e03d119fe3699ee9
c8cf80842f9eebbf4569f3d67b9d8eff4ba405fa
refs/heads/master
2020-07-11T13:06:35.518331
2019-08-26T20:54:07
2019-08-26T20:54:07
204,546,868
1
0
null
null
null
null
UTF-8
Python
false
false
8,259
py
# coding: utf-8 """ Argo No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v2.3.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from a...
[ "nfillot@weborama.com" ]
nfillot@weborama.com
de9f1199dc5aaa7e1cc8da79229dc61e059a54e2
25e2d5bb03c5b2534880ab41fb7de82d815f83da
/menpo/landmark/labels/__init__.py
36cab907dbfd7bbb95e2c5c10a432ae9e3e2fea5
[ "BSD-3-Clause" ]
permissive
justusschock/menpo
f4c4a15b62eab17f06387c5772af2699d52a9419
d915bec26de64a5711b96be75cd145661a32290e
refs/heads/master
2020-04-06T18:08:26.397844
2019-03-09T20:54:07
2019-03-09T20:54:07
157,687,031
0
0
NOASSERTION
2018-11-15T09:39:03
2018-11-15T09:39:03
null
UTF-8
Python
false
false
612
py
from .base import labeller from .human import * from .car import ( car_streetscene_20_to_car_streetscene_view_0_8, car_streetscene_20_to_car_streetscene_view_1_14, car_streetscene_20_to_car_streetscene_view_2_10, car_streetscene_20_to_car_streetscene_view_3_14, car_streetscene_20_to_car_streetscene_...
[ "patricksnape@gmail.com" ]
patricksnape@gmail.com
27a2982791e485a8d4a48f5bf1b30eb87d869ecc
d45b08745ab3f1e951485fa6b9f905be65f71da4
/programmers/kakao20_경주로건설.py
9bc2872919783233501f1b27d53f832c1fc7caf3
[]
no_license
HYUNMIN-HWANG/Algorithm_practice
d0a82e73a735e22a70c98fd4882b66929061bd6c
96b70fbea42ca11881546531fa6a9486e9a5289f
refs/heads/main
2023-04-25T05:40:24.126757
2021-05-08T13:42:56
2021-05-08T13:42:56
324,109,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
from collections import deque def solution(board): n = len(board) visited = [[1000000 for _ in range(n)] for _ in range(n)] ds = [[-1, 0], [1, 0], [0, 1], [0, -1]] q = deque() q.append((0, 0, 0, -1)) visited[0][0] = 0 while q: y, x, c, t = q.popleft() for i in range(4): ...
[ "hwangkei0212@gmail.com" ]
hwangkei0212@gmail.com
6530b1a86af8656cabde3c93041a1dcf7ce153bd
04bef44d27dc7b0557ab7c2e8f31c96c3c3f6563
/q65.py
8d07a2cfb5f6931d1a03084a7b9133324c699371
[]
no_license
shivraj8615/python
51f4c151276acf841a5f24396717b258ab42e61c
b843b72605054654487be46ef0d021ea036dbbe9
refs/heads/main
2023-06-20T04:06:03.189809
2021-07-13T04:10:11
2021-07-13T04:10:11
382,014,935
0
1
null
null
null
null
UTF-8
Python
false
false
1,477
py
#Write a program to prepare a simple registration form using tkinter library. from tkinter import * root = Tk() root.geometry('500x500') root.title("Registration Form") label_0 = Label(root, text="Registration form",width=20,font=("bold", 20)) label_0.place(x=90,y=53) label_1 = Label(root, text="FullName",width=20,...
[ "noreply@github.com" ]
shivraj8615.noreply@github.com
be64c747b3fe69288308a0d07504b003f86708b4
71b9ef710fc59c8b936dbbe849bc206809de15db
/vsa/vsa/legend.py
da4bda83b383c93c34d5ba4ea93751efa5b3607a
[]
no_license
HBPNeurorobotics/holographic
80f60e60ea13debf09e0384343abe5a4f194753e
4ab808125c66388578414a4827cdff87237c7e64
refs/heads/master
2021-09-25T02:10:44.930627
2018-10-16T20:46:05
2018-10-16T20:46:05
111,441,294
2
2
null
2018-05-17T11:57:15
2017-11-20T17:25:53
Jupyter Notebook
UTF-8
Python
false
false
404
py
import numpy as np import matplotlib.pyplot as plt def getLegend(v,start): sh = len(v) linestyles = ['-', '--', '-.', ':'] for i in range(sh): plt.plot(v[i], linestyles[3-i*4/sh], label=start + i * 0.01) plt.axis([0,len(v[0]),0,1.01]) plt.xlabel('Bindings') plt.ylabel('Accuracy') le...
[ "lesi@fzi.de" ]
lesi@fzi.de
fc982f99dc26de713c7111eef9973060e4bb5c17
a2b67c23c87b56972bd9c5c9e53581c2141ff52e
/bloc/block.py
d10b42ffb6e5ba0845d181e55ec5bded54c494b1
[ "MIT" ]
permissive
siddharthsudheer/Alysida
c10ddc6a3e6d03d2205239d7549ea4d87aad8608
9359f519e96a7af1608b5dfcdde5c81df720a03c
refs/heads/master
2021-05-07T00:00:51.122410
2018-02-18T02:53:28
2018-02-18T02:53:28
110,082,378
0
0
null
null
null
null
UTF-8
Python
false
false
8,738
py
#!/usr/bin/env python3 import hashlib import falcon import json import db.service as DBService from bloc.transaction import Transaction DIFFICULTY_TARGET = "000" class Block(object): def __init__( self, block_num=None, block_hash=None, prev_block_hash=None, ...
[ "siddharthsudheer@gmail.com" ]
siddharthsudheer@gmail.com
8653d1c1e2828d427d6f9be27a3a3c7da923e248
1e6d30ee31dfd41e8db5388b432d987cfee41406
/RsyncHelper.py
f26caf7b0fc89b6df3c96389efefe5b416b94122
[ "MIT" ]
permissive
UbiquitousPhoton/RsyncHelper
7ea25e4c694b5a5c30c575fe6c4947159d63685b
956ec21682bb899e2350ddb6a761780fe87e33fc
refs/heads/master
2020-09-21T20:01:33.799668
2020-01-24T16:50:23
2020-01-27T21:49:06
224,909,994
0
0
null
null
null
null
UTF-8
Python
false
false
15,052
py
#!/usr/bin/env python3 # MIT License # # Copyright (c) 2019 Paul Elliott # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rig...
[ "paul.elliott@arm.com" ]
paul.elliott@arm.com
3248d8abf873f771774003dc8d0226a2dff074f3
599069eeeae294950aab730ca8d4858ac1929a5c
/bemani/client/iidx/tricoro.py
1ea4a005f356b6586ed3b5e9f75655973ecc8b36
[]
no_license
ByteFun/bemaniutils
232d057d4b548f929af4da4f145565ad51482113
bd467a9b732a25a1c8aba75106dc459fbdff61b0
refs/heads/master
2020-12-04T07:45:45.503620
2019-12-08T21:57:08
2019-12-08T21:57:08
231,683,196
4
1
null
null
null
null
UTF-8
Python
false
false
31,071
py
import random import time from typing import Any, Dict, Optional, Tuple from bemani.client.base import BaseClient from bemani.protocol import Node class IIDXTricoroClient(BaseClient): NAME = 'TEST' def verify_shop_getname(self, lid: str) -> str: call = self.call_node() # Construct node ...
[ "dragonminded@dragonminded.com" ]
dragonminded@dragonminded.com
5c50e2dbdf7f07019552bfd372b5eb6d587ec5aa
7c2cb2a564b4401c78f1591f6afdb6001b667357
/13_force_fields_and_classical_md/4_mm_md/2_atomistic_md/2_Au_slab/case5/run_aa_md_state.py
fd1565ef26aa9a5b9f4c207006f672f8fb3333d8
[ "CC0-1.0" ]
permissive
compchem-cybertraining/Tutorials_Libra
9711d06f23d0017fc1cbc25a223e327e9584da96
6b004fea7b051b0060820facc7e884b377a32343
refs/heads/master
2023-07-06T18:24:07.237364
2023-07-02T23:57:33
2023-07-02T23:57:33
248,611,599
14
20
CC0-1.0
2023-06-11T16:18:26
2020-03-19T21:48:10
Jupyter Notebook
UTF-8
Python
false
false
4,696
py
#********************************************************************************* #* Copyright (C) 2016-2021 Alexey V. Akimov #* #* This file is distributed under the terms of the GNU General Public License #* as published by the Free Software Foundation, either version 3 of #* the License, or (at your option) an...
[ "alexvakimov@gmail.com" ]
alexvakimov@gmail.com
81b071b194eaf7cf41f099b4b2ae69ce0fdb01f6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03168/s984146914.py
d29e8d5cf735e05031e772be32479e5b3e032425
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
n = int(input()) ns = list(map(float, input().split())) dp = [[0 for j in range(n+1)] for i in range(n+1)] dp[0][0] = 1 for i in range(1,n+1): for j in range(0, i + 1): dp[i][j] = dp[i-1][j] * (1-ns[i-1]) + dp[i-1][j-1] * ns[i-1] print(sum(dp[-1][(n+1)//2:]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
bd9cc1a5c9620aa8b26ec5cdc7435b3997c6cc3c
e4ce5db8f1c6553cd57754220af8927c09a1e060
/translate_quest_yandextr.py
4a9bfb292b9a74f2dc828d1e50a55d5bc06a3b66
[]
no_license
brouhahaha/AutoSweData_LexTyp
319c510fc4fd931c5d5d0276f5997a7e7f92e0d1
c5dac050383c421c52e7c44012efc1b818d29084
refs/heads/master
2020-05-27T07:42:58.586884
2019-05-25T07:51:47
2019-05-25T07:51:47
188,534,401
0
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
import requests import json import xlrd def yandex_translate_single(to_translate, source_language, target_language, reverse=False): """ Обёртка яндексового апи :param to_translate: :param source_language: :param target_language: :param reverse: :return: """ if reverse: ...
[ "noreply@github.com" ]
brouhahaha.noreply@github.com
7e278af269e00141e916b6dc210047193bcf6c78
b7815ea6afd45613264f2aa65891eb073988a44f
/factorial.py
e732784c41b7a3a47a2124432eacaaadbb96346a
[]
no_license
CHAHAT-10/MINOR_PROGRAMS
6bd1c60f59d4e884a6cf58c5156ac305d34eea11
dfdbe46b8f436cacbb52f7322b8dd528078be764
refs/heads/main
2023-05-27T00:15:55.934209
2021-05-27T09:02:39
2021-05-27T09:02:39
371,307,829
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
num = int(input("enter a number")) factorial = 1 if num < 0: print("print sorry factorial does not exist for negative numbers") elif num == 0: print("the factorial of 0 is 1") else: for i in range(1,num + 1): factorial = factorial*i print("the factorial of",num,"is",factorial)
[ "noreply@github.com" ]
CHAHAT-10.noreply@github.com
f8ac4729b75813f0d45b9b4d76d44d6abf8465a5
4742c0a1531cfd87bee4f6e4fd61b382ddd18d0c
/ML/JX/RecommendationSystem/gram_matrix.py
6db234145de2cdf752496efa73172007d62ea831
[]
no_license
9321ass2/Assignment2
11601340afc2034a3884ed455829200fa0a45d2a
d065296f76875e542e9255202bad8b8cc123520a
refs/heads/master
2022-07-14T22:48:40.571536
2019-11-24T07:21:28
2019-11-24T07:21:28
220,911,487
1
2
null
2021-05-06T19:45:57
2019-11-11T05:58:27
CSS
UTF-8
Python
false
false
2,255
py
import numpy as np import pandas as pd import sys, os import math def sigmoid(x): return 1 / (1 + math.exp(-x)) def ESRB_cal(x, y): ESRB_dict = {'Unknown': 0, 'KA': -1, 'T': 13, 'E': - 1, 'AO': 18, 'EC': 3, 'M': 17, 'RP': -1, 'E10': 10} ESRB_all_age_list = ['Unknown', 'KA', 'E'...
[ "noreply@github.com" ]
9321ass2.noreply@github.com
8b19b20368b93de5e41cabbcfb10f95c3cc21443
f01fedea632515c6e523939689081e18f8b45699
/misc_workflow/run_gtools_make_matrices.py
e4919a8c015a54f743853e7342b569b23d860f55
[]
no_license
WeiSong-bio/Bioinformatics---------------
9c6e7a05e9234b03b9471421e8901c7ff65f7dfe
a7ab7b3536bb8cc7fbe902d854694c769a93170c
refs/heads/master
2020-06-16T01:01:24.602945
2018-07-25T22:22:41
2018-07-25T22:22:41
195,438,451
1
0
null
null
null
null
UTF-8
Python
false
false
6,567
py
#/usr/bin/env python ''' This script will run gtools in order to generate coverage matrices for a large number of bedgraphs with corresponding region BED files ''' import os import sys import csv import toolbox as tb # my custom functions class projectLocs: ''' An object class to hold locations of places i...
[ "noreply@github.com" ]
WeiSong-bio.noreply@github.com
54d8f05ce63ea914d42dba82847ed43f09ac4a41
43c99742cdedc23166ad0d7aeeb29b453826768f
/datensparsam/libs/pdf/reportlab_adaptor.py
44b12f737c2c4caa53409e997013d971e07cd605
[ "MIT" ]
permissive
mtub/datensparsam
1173dd9e8f5748aeb9b99d27d9427bba990a4ec0
7f746aaae0c384814a52f873d298dee4a2bcca3e
refs/heads/master
2021-01-18T07:46:45.963652
2013-03-08T13:09:06
2013-03-08T13:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
from reportlab.lib.pagesizes import letter from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer from reportlab.lib.styles import getSampleStyleSheet class SimplePdf(object): ''' Provides functionality to create simple PDF documents ''' __story = [] __styles = getSampleStyleSheet() __doc...
[ "jbspeakr@funkblocka.de" ]
jbspeakr@funkblocka.de
4e9a5e468a1a134f27cf4d23f2697ca995213d16
50c4d539719994c376bfef42d677a27c34c3b241
/Wk6_Hmwk/api_keys.py
dcf600fa5ed94ecfc577fa82604605fefa3f918f
[]
no_license
chell0011/Iban_DataBootCamp_HW
14799da96609e10ca7569263a4e77a9df20449d0
a301b4d9221ad6ce8b493db064828c615d210641
refs/heads/master
2020-06-01T20:39:23.196207
2019-08-24T21:55:07
2019-08-24T21:55:07
190,919,506
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
# OpenWeatherMap API Key api_key = "0ce87a1e44d5c82ea424167e377cda2e"
[ "chell0011@gmail.com" ]
chell0011@gmail.com
37cb1a55bf2943e3cb7f46d64c52de8169b903f0
11459f6d05c7091537570a63bb2654b3d3a5440c
/mlprodict/plotting/plotting_validate_graph.py
f30922b8ca4cda3cd369f447e8fb26caa3a256dd
[ "MIT" ]
permissive
xhochy/mlprodict
663e6ac21ae913d5dff59cfab938fc62f59d1c79
22ab05af3ff4a67f4390af1c44e349efa454f0d5
refs/heads/master
2023-08-11T00:53:24.133020
2021-09-24T15:52:46
2021-09-24T15:52:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,540
py
""" @file @brief Functions to help visualizing performances. """ import numpy import pandas def _model_name(name): """ Extracts the main component of a model, removes suffixes such ``Classifier``, ``Regressor``, ``CV``. @param name string @return shorter string """...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
659eeb3dcf4964f4ff9fedc3132d59bd627f00c4
22c8fcbf0a321cd5a20dd5bf583067c31c6747ef
/blackjack_function.py
d643fc2355b3f8d5ce8809c86d7266f2db55ac61
[]
no_license
lizoodharo/lizo-test-repo
5646264d30ce529dd5ae6461ef78880a34b5bc87
8f463533529a52b9eee8694b3c1dff2e11902f3f
refs/heads/master
2020-03-30T04:26:09.600728
2019-02-05T20:49:01
2019-02-05T20:49:01
150,742,454
0
0
null
null
null
null
UTF-8
Python
false
false
11,617
py
import random def blackjack(): black_jack = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10] card_type = ['of spades', ' of diamonds', ' of hearts', ' of clubs'] specialTen_cards = ["Jack", "King", "Queen"] House_favor = [1,2,3,3,4,5,6,7,8,9,10] User_favor = [1, 1, 2, 3, 3, 4, 5, 6, 7, 8, 9, 10] #bet = bet_am...
[ "noreply@github.com" ]
lizoodharo.noreply@github.com
ab25cc9d4cab4c0e131e57540685f03f68c4b4f0
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/fairseq/criterions/label_smoothed_cross_entropy_with_ctc.py
f2e8cdf3bfe0caea99125c6f9607dff9495891cf
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
3,403
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import math from dataclasses import dataclass, field import torch import torch.nn.functional as F from fairseq import utils from fairseq.log...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
a7262e42c628b8f7bfdf1ca4f951541635fd9991
782eee72a6f602639c0c9f5d2e98b4456665e0e1
/SIS/SIS Creator/SIS Creator/main.py
549b3c2f11fc3e1f41f19dc3d3e349906b0af1ca
[]
no_license
zhestkovda/SIS-PLC
1a8abb65d5436a9973f16e07dc60c51cded54b52
077bb966561d41eaf4a4b81e66c5c5c45887ca4f
refs/heads/master
2020-07-04T17:19:38.556457
2019-08-14T13:21:41
2019-08-14T13:21:41
202,352,761
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
import dbase import config import mainframe import text import wx def main(): app = wx.App() dbase.CheckDB() dlg = mainframe.MainFrame(None, title=text.MainTitle) dlg.CenterOnScreen() dlg.ShowModal() dlg.Destroy() app.MainLoop() if __name__ == '__main__': main()
[ "zhestkovda@gmail.com" ]
zhestkovda@gmail.com
d1f546681794e6a313737c2b6c0ecc037fcc1921
a79c9afff9afea0c64ce8efac5683bde4ef7eeb8
/apps/app_two/urls.py
46e912dd7bc1de957131647bfdebb35d948d591d
[]
no_license
kswelch53/login_registration
82e8a865125e903efbc624a3b7e3c5a4b6f98a60
364cfae780fe9f7e39c11dbe9e53e684d0798f5d
refs/heads/master
2021-05-12T08:48:04.707930
2018-01-13T00:11:50
2018-01-13T00:11:50
117,300,189
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
from django.conf.urls import url, include from . import views urlpatterns = [ # root route to index method in app_two url(r'^$', views.index, name='index'), ]
[ "kswelch53@gmail.com" ]
kswelch53@gmail.com
0027b8b768f766b7d648c9edeb2a8819a7e2df19
ca87752023af6d2cb576ddb45915ab64e2bdb3a1
/Search by word Method.py
0e1b3bfa8cb4a887597a62b0f118a0f891b69fe8
[]
no_license
YiqingFan/Music-Playlist-Creation
7839366790abf8b8dcfe56da93722cc25670bc1d
f333d32fbb8bc518d732b6f529481090ec2166d8
refs/heads/master
2021-12-14T09:06:53.104395
2021-12-08T02:21:58
2021-12-08T02:21:58
247,883,758
0
0
null
null
null
null
UTF-8
Python
false
false
6,204
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import pandas as pd import numpy as np # In[2]: data = pd.read_csv('reviews_Digital_Music.csv') # In[3]: data[:5] # 1.Classic Playlist # In[4]: search_classic = data[data.iloc[:,3].str.contains('classic')==True] # In[5]: random_classic = search_classic....
[ "noreply@github.com" ]
YiqingFan.noreply@github.com
1367392cb579fabd31cd0a289627c57077a7bda2
a53998e56ee06a96d59d97b2601fd6ec1e4124d7
/基础课/jichu/day19/multiple_inherit.py
97a196a49966ef3c0d0f854d88f992a637e776cf
[]
no_license
zh-en520/aid1901
f0ec0ec54e3fd616a2a85883da16670f34d4f873
a56f82d0ea60b2395deacc57c4bdf3b6bc73bd2e
refs/heads/master
2020-06-28T21:16:22.259665
2019-08-03T07:09:29
2019-08-03T07:09:29
200,344,127
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
class Car: def run(self,speed): print('汽车以',speed,'公里/小时的速度行驶') class Plane: def fly(self,height): print('飞机以海拔',height,'米的高度飞行') class PlaneCar(Car,Plane): '''PlaneCar为飞行汽车类''' p1 = PlaneCar() p1.fly(10000) p1.run(300)
[ "zh_en520@163.com" ]
zh_en520@163.com
9668e756e7eb9c8a7a635f2ff2af5e2a9284737f
d6d225186da3d8c8c834c336777db7b4c6a8f221
/spoj/power.py
577e558eb8c6b98d432a70c09b2feae1950b3b56
[]
no_license
ishantsharma29/Competitive-Programming
40bc8bbeb157e3b0b3ef234851c0dc617afc6b19
1978b21dae8a7cc27b482e11ff094d0b787846b0
refs/heads/master
2022-05-27T15:33:24.924740
2020-05-01T17:52:46
2020-05-01T17:52:46
260,514,111
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
import math def pow ( x , n ) : aux = 1 while n > 1 : if n & 1 : #odd aux *= x x*=x n =int (n/2) return x*aux 2nd method import math def pow( x, n): if n == 0: return 1 else: p=int(n/2) tmp=int(pow(x,p)) if n%2==1: q=tmp*tmp*x return (q) else: r=tmp*tmp return (r)
[ "ishantsharma29@gmail.com" ]
ishantsharma29@gmail.com
e7e90eb396092cbfdd8804bdc98e246f49e58d27
f2e70de60adb32014fc718647e00e221687c4055
/openacademy/models/models.py
18977c7d29a89790deb59ee8d4506deae8805181
[]
no_license
fawad4bros/Odoo13_employe_info
6a28f929cda1a3cb2c1ba1b665ba9565df3d2e37
40dd51c011726f49b331f29ffc2f7445877e5624
refs/heads/master
2023-04-05T10:01:42.591943
2021-04-04T06:58:47
2021-04-04T06:58:47
352,701,402
0
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
# -*- coding: utf-8 -*- from odoo import models, fields, api, exceptions class Course(models.Model): _name = 'openacademy.course' _description = 'OpenAcademy Courses' name = fields.Char(string="Title", required=True, help="Name of the Course") description = fields.Text() responsible_id = field...
[ "you@example.com" ]
you@example.com
2d7478ac2aba8c82308042a89be67810d784bb50
57c6d71cb82f00d51705e25e1d8b1c2a130cf7f7
/ex09_02.py
771b4846027e0ae2fdd11225849903907f44eed2
[]
no_license
jgramelb/Python-learning
80fda893324ce13ebe2657f69452c8a41c573ba4
ecc371178846686a659b06af9b1336b3ee5aaa47
refs/heads/master
2021-09-07T16:07:56.935425
2018-02-25T20:26:51
2018-02-25T20:26:51
109,454,537
0
1
null
null
null
null
UTF-8
Python
false
false
680
py
#Write a program that categorizes each mail message by which day of the week the commit was done fname = input('Enter a file name: ') try: fhandle = open(fname) except: print('File cannot be read', fname) exit() #look through lines in fhand countdct = dict() for line in fhandle: #p...
[ "noreply@github.com" ]
jgramelb.noreply@github.com
81b1a30eefb31497477c176e4f6c736ee7198f99
46ebae3a062a9a0622a11e1df6b9765caa5ad546
/udacify.py
142cde3f77078f0f3bee3eb98ebef1a8348b8e32
[]
no_license
bernblend/earlyPython
bcde46ceca59060b635797eb6a098eb398d40025
daa00b7846643082feba061a099234d6df7dfa56
refs/heads/master
2021-01-22T19:48:38.627953
2017-03-31T06:00:39
2017-03-31T06:00:39
85,241,496
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# Define a procedure, udacify, that takes as # input a string, and returns a string that # is an uppercase 'U' followed by the input string. # for example, when you enter # print udacify('dacians') # the output should be the string 'Udacians' def udacify(a): return "U" + a # Remove the hash, #, from infront of...
[ "bernblend@gmail.com" ]
bernblend@gmail.com
691c277ab69ffaa91064bea5ca920b354ffc9bf3
3bb5c0564fe751fc3a564275d2f8d83d12350399
/run.py
d0df95a28c93f4ca1381472b322bccc0420d8839
[]
no_license
antonays/dotbot_server
975ecced9f245e67358ed292c40bcfc97d565ee7
2da1bfae7880510495698ff9b668239294ef0a87
refs/heads/master
2021-01-13T07:16:23.896374
2016-10-30T18:16:23
2016-10-30T18:16:23
71,796,045
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
from app import app if __name__ == '__main__': app.run(debug=True)
[ "antonays@gmail.ccc" ]
antonays@gmail.ccc
a7f4897ef8d5a580352bade59d54cd0e8ba6c11e
557dc6987c75cc6e573519153f6ab304548dbd5d
/falldetect/training_util0506.py
bc4acd1923e81b8f0ca42b2d4eba3963de68c08d
[]
no_license
chanmi168/Fall-Detection-DAT
47f3b1c12afdbaa5f3f8ab0475192d97e8505174
6c2d48275d4271cf8f9e2a2565259a8aeb10a859
refs/heads/master
2021-12-23T19:02:00.004622
2021-12-20T22:15:24
2021-12-20T22:15:24
242,771,438
0
0
null
null
null
null
UTF-8
Python
false
false
37,665
py
import numpy as np import pandas as pd pd.set_option('display.max_columns', 500) from tqdm import tqdm_notebook as tqdm from IPython.display import display import os import sys sys.path.append('/content/drive/My Drive/中研院/repo/') from falldetect.utilities import * from falldetect.models import * from falldetect.datas...
[ "chanmi168@gmail.com" ]
chanmi168@gmail.com
b5c67701e84dfa41e36333c8a985bf9e72b01b6a
5ad6b1b7fead932860d7a1f5d1281c339ca4d487
/papermerge/contrib/admin/migrations/0001_initial.py
d389247d6f2852eb8cd071971030e581fc0c895c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only" ]
permissive
zhiliangpersonal/papermerge
da51fc7c6674a53e1c007e2eb70e5cc05de5da9e
56c10c889e1db4760a3c47f2374a63ec12fcec3b
refs/heads/master
2022-12-18T15:20:42.747194
2020-09-28T05:09:32
2020-09-28T05:09:32
299,205,072
1
0
Apache-2.0
2020-09-28T06:04:35
2020-09-28T06:04:34
null
UTF-8
Python
false
false
1,256
py
# Generated by Django 3.0.8 on 2020-08-28 11:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "eugen@papermerge.com" ]
eugen@papermerge.com
fea9f9355ffa68b4bed0ac5ce47c1766bc14e42c
740fbcea3be380d665d315654bfad501b3fdba5e
/download_pbp_stats.py
3eb5e115bff4bde72943b37ddd17fc28a98c0b6c
[]
no_license
astromberg/igwip
d6134db4098a3396775bc63eed4a2602698173ef
d9ce795e10c538a7efc96fa3f9e9f7027f2d7564
refs/heads/master
2021-01-17T12:47:51.391363
2017-10-02T20:59:34
2017-10-02T20:59:34
59,514,013
2
0
null
null
null
null
UTF-8
Python
false
false
2,046
py
import json import os import requests base_pbp_url = 'http://stats.nba.com/stats/playbyplayv2?StartPeriod=0&EndPeriod=0&tabView=playbyplay&GameID={game_id}' base_summary_url = 'http://stats.nba.com/stats/boxscoresummaryv2?GameID={game_id}' def make_all_game_ids(): game_ids = [] # 2002 -> 2015 for year in...
[ "andrew.stromberg@gmail.com" ]
andrew.stromberg@gmail.com
26a9de6da724ab0fc3139d25be7993a62422766b
d30ab5fec56c3b4dae987571b28a93c04788f208
/pytool/base/database.py
86384222bc746b87b35e817658fefa5a03e7d8e7
[]
no_license
Wizardyi/MyFirstProject
800d7d974c48fa444964235083432b7f04a34c15
a092f719c0e168e1ea65d3820a89e2d4313af737
refs/heads/master
2023-03-09T03:57:53.607241
2023-03-06T03:40:02
2023-03-06T03:40:02
227,306,815
0
0
null
null
null
null
UTF-8
Python
false
false
4,546
py
#encoding=utf-8 import pymysql class DbInfo: def __init__(self, id, host, port, user, password, dbName): self.id = id self.host = host self.port = port self.user = user self.password = password self.dbName = dbName self.connection = None def g...
[ "yangzhengxiong@hy.com" ]
yangzhengxiong@hy.com
4a666eed78a6aec1138beeb2dc875cc6e3a4aa25
a126dc77578447514baef588079faf47686a0d2d
/tmux_menu.py
decc545d4afed38315b4db6f553af1457495af82
[ "MIT" ]
permissive
dannyn/tmux_menu
51efea2a65edd6bcedcf6c78937393f2b2e0a044
219cb3e0350224c4007a4568309cc3bc23f5c088
refs/heads/master
2021-01-10T12:48:12.829071
2015-12-16T17:19:04
2015-12-16T17:19:04
48,123,376
1
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
#!/usr/bin/env python2 import subprocess from config import attached_icon, dettached_icon, execute_str def output_menu_entry(tinfo): label = "{} ({})".format(tinfo['name'], tinfo['num']) execute = execute_str.format(tinfo['name'], tinfo['attached']) if tinfo['attached']: icon = attached_icon ...
[ "daniel.noest@isprime.com" ]
daniel.noest@isprime.com
776a79e06db168075a74b60c56f6dbc81684f543
b5276565331a749270d1b8e03d98037d746cb2d1
/goodbye.py
e2f22f06ef48de3d3baf119ad88f8cac2787ef08
[ "MIT" ]
permissive
mustious/iGlass-infinity
588a416736f35038efe366ce8ebcb10cacf0794b
57f7fe90d34db37bef80432025a258960ad95c45
refs/heads/master
2023-08-14T23:44:39.092972
2021-10-11T11:13:05
2021-10-11T11:13:05
316,072,071
2
0
null
null
null
null
UTF-8
Python
false
false
914
py
import os import time import random import speak_out good_night_greetings = ["Have a good rest", "Sleep well Champ!"] good_day_greetings = ["Have a great day"] project_root_path = os.path.dirname(os.path.abspath(__file__)) goodbye_tone_path = ".tones/goodbye.wav" full_goodbye_tone_path = os.path.join(projec...
[ "mustious@gmail.com" ]
mustious@gmail.com
8739e22a33dda6ae085cc5b72409662c7872f05e
ce552e7f63b653bf41e3e14f8432fd7c277abe2e
/47.py
0e31e6f538f9b7d5025a21d2dcd0c71f67b0634c
[]
no_license
patrickgaskill/project-euler
6fe3b96697fa5aee4586b30084c758110f60d6f5
3d4bef30e58587a0748e6e2183302f1c01580c0c
refs/heads/master
2021-01-09T06:14:13.487634
2017-02-28T23:06:43
2017-02-28T23:06:43
80,942,497
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from functools import reduce from patrick import is_prime, factors ORDER = 4 def consec(n, k): return [n + i for i in range(k)] def prime_factors(n): return [f for f in factors(n) if is_prime(f)] n = 2 while True: if all(len(prime_factors(n)) >= ORDER for n in consec(n, ORDER)): print(n) ...
[ "patrick.gaskill@gmail.com" ]
patrick.gaskill@gmail.com
e3591ee47798db1dd1279f68760fd997bd52b117
817241e046e181d794bac9743187618ca39e8ffe
/dojodon/main/apps/store/views.py
ce86fde041033c7240c1b91ee168874a201c15a8
[]
no_license
theresa-e/python-django
0caac01d441331cbae6974644c730a0be5748f12
6d6206d5675f5e6b006b580d5ee406328ac8c0de
refs/heads/master
2020-03-18T13:07:49.311807
2018-06-21T20:12:42
2018-06-21T20:12:42
134,762,174
1
0
null
null
null
null
UTF-8
Python
false
false
2,419
py
from django.shortcuts import render, HttpResponse, redirect def index(request): print('*'*10, 'User reached store.', '*'*10) return render(request, 'store/index.html') def buy(request): print('*'*10, 'The form was submitted.', '*'*10) if 'price' not in request.session: request.session['price'...
[ "910theresa@gmail.com" ]
910theresa@gmail.com
f3101592843dec3b611e67273cc858134270ad80
7cfbb765e4eea3f292ba5b6c18bfc74465b15a6e
/Python3/199.binary-tree-right-side-view.py
fc6dcda84ad75417d04f3628ca6e56fc686649cd
[ "MIT" ]
permissive
canhetingsky/LeetCode
1f7aa6e40d7cbfd8d856a2ea32b0cb400f054bf7
67f4eaeb5746d361056d08df828c653f89dd9fdd
refs/heads/master
2021-06-23T17:15:27.363959
2020-05-05T07:01:01
2020-05-05T07:01:01
210,280,887
1
0
MIT
2021-03-25T23:08:16
2019-09-23T06:31:57
Python
UTF-8
Python
false
false
744
py
# # @lc app=leetcode id=199 lang=python3 # # [199] Binary Tree Right Side View # # @lc code=start # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def rightSideView(self, root: TreeNod...
[ "2380348167@qq.com" ]
2380348167@qq.com
bfb7729d6baa835c6f3512eb120c4f8deb00e490
473facf83b8249730a16930f82dcea1148bd4762
/code/jetbrains.py
ab1a923e2ebed25228876431a0febecc414b6fe2
[ "Unlicense" ]
permissive
JeongJuhyeon/knausj_talon
ee070dbe9df32a5f8ffce3459fd1817a474d1916
621e8ff718513af943e8fd282688183cf50518a4
refs/heads/master
2022-11-02T00:59:25.163331
2020-03-26T10:26:45
2020-03-26T10:26:45
250,298,215
0
0
Unlicense
2020-03-26T15:33:57
2020-03-26T15:33:56
null
UTF-8
Python
false
false
5,912
py
import os import os.path import requests import time from pathlib import Path from talon import ctrl, ui, Module, Context, actions, clip # Courtesy of https://github.com/anonfunc/talon-user/blob/master/apps/jetbrains.py extendCommands = [] # Each IDE gets its own port, as otherwise you wouldn't be able # to run two ...
[ "hbk619@users.noreply.github.com" ]
hbk619@users.noreply.github.com
afb4a6776800c824b79d049e407096a1afae0081
420cc006446a55fdfdbe2f4717e8a3347b83f2d1
/src/profile.py
ba383cffe53f53f99f76e9022ebc79d359f69ec3
[ "MIT" ]
permissive
alagroy-42/ShellProfiler
63a6a58ab04e4142e65f92780189efd02f6b9fd8
b65519a4753f8fea657e4a9eabacafe90ce6fe33
refs/heads/master
2023-01-27T11:34:39.208066
2020-12-09T14:52:51
2020-12-09T14:52:51
319,961,106
1
0
null
null
null
null
UTF-8
Python
false
false
2,510
py
class Profile: def __init__(self, yaml, name): default = { 'dir': '~', 'shell': True, 'process': None, } self.name = name for key in default: exists = False if key in list(yaml.keys()): setattr(self, ke...
[ "alagroy-@student.42.fr" ]
alagroy-@student.42.fr
7921a32b84ddb44c349ec5b8e0673ffa0c836199
ad5d454001a57b772c92df7ec53f21f100bdbee3
/src/finitestate/firmware/cve_matching.py
1469dacd0de89dc486bbe25344bb3455762f1c5b
[ "Apache-2.0" ]
permissive
FiniteStateInc/clearcode-toolkit
7c9a22880e40671ad3a1f287a5028c2358c5ee65
521c3a2ab9d9fa6d7b9059227c6af9d09b031c33
refs/heads/master
2023-02-23T00:08:21.468083
2020-12-29T22:03:54
2020-12-29T22:03:54
323,440,429
0
1
null
2020-12-29T22:03:55
2020-12-21T20:26:26
null
UTF-8
Python
false
false
5,923
py
from cpe import CPE from collections import namedtuple from functools import lru_cache from typing import List import re Match = namedtuple('Match', ['vulnerable', 'cpes']) # Empty/wildcard CPE parts: EMPTY_WILDCARD_CPE_SET = ('*', '-', '') def is_vulnerable(candidate_cpes, configurations): ''' This is the ...
[ "samuel.vidovich@gmail.com" ]
samuel.vidovich@gmail.com
f7ec9262556c781b9b6012b564217ce1539327e2
6cb833a1af5e3b9972f14b185cf32cfd67a14011
/tests/test_prototypes.py
f775504a7d497cf5f30614b748b271820c9d9859
[ "Apache-2.0" ]
permissive
claytondaley/basecrm-client
a83decd965b6e7cbcd32d33966536a84d280b028
b2fc056770cdf3e5b18eaaefe113e422c27f6791
refs/heads/master
2020-12-11T06:00:40.171967
2015-04-24T20:17:27
2015-04-24T20:17:27
16,652,586
0
0
null
null
null
null
UTF-8
Python
false
false
4,112
py
#!/usr/bin/env python """Test the functionality of Prototypes""" import logging logger = logging.getLogger(__name__) from mock import Mock from nose.tools import assert_raises, eq_ from prototype import Resource from tests.test_common import SAMPLES __author__ = 'Clayton Daley III' __copyright__ = "Copyright 2015, C...
[ "clayton.daley@gmail.com" ]
clayton.daley@gmail.com
84eab8503c1c534f656258ec0d6655c6fe03026a
4286f55c2b9509de9f5612c30a683fd4f226ebb5
/auth.py
9c3e7f9495125d5ddb2729d6208db490840fa98d
[]
no_license
teledima/slack-api-lab
19fc1d8c94b558461ea85af7ad82a31fa7e6733d
ca90d9bb12756e6e988614161056890ac9a7d667
refs/heads/master
2023-08-15T03:58:50.234452
2021-10-06T05:40:43
2021-10-06T05:40:43
407,602,541
0
0
null
2021-10-06T05:39:35
2021-09-17T16:05:38
Python
UTF-8
Python
false
false
2,522
py
from flask import Blueprint, render_template, request from slack_sdk.oauth import AuthorizeUrlGenerator, RedirectUriPageRenderer from slack_sdk import WebClient from slack_sdk.errors import SlackApiError from utils import set_document, encrypt_data import config auth_blueprint = Blueprint(name='auth_blueprint', import...
[ "teledima00@gmail.com" ]
teledima00@gmail.com
388bc894a96fc3f7fbbc3681698a2bad2de91d24
7c04fd0eae04ee10be2cc2353eca2fe05f03aca9
/test/test_yahoo.py
2feacb3be2c55a85b14402bed5018364510ffe17
[ "Apache-2.0" ]
permissive
seizetheday/chinese-stock-api
61ef5a5eea63dc252953db007b44b253d4bef438
7b5e4ebf6d8b2d5c4988a4f16c58c789cd210696
refs/heads/master
2023-06-24T06:32:50.243329
2022-02-15T15:18:31
2022-02-15T15:18:31
39,428,642
8
4
null
2022-02-15T15:18:32
2015-07-21T06:38:51
Python
UTF-8
Python
false
false
1,459
py
# Copyright (c) 2015 Walt Chen # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # system library import unittest import date...
[ "godsarmycy@gmail.com" ]
godsarmycy@gmail.com
a6b542e7e511f724ca9bd8be618b0f99fd0e6316
abc0abc576e374ed1ba87f87444c32a17800dcd3
/reference.py
58a0f9845294922571e2e2cb3d8e31620be36355
[]
no_license
AndNieves/RW3Translator
7181e5ca6edab69cdd49ff291495fec3e88e41db
2fb552c5c20167d57d8a0fb7dcc0742e49f4b4c7
refs/heads/master
2020-03-26T08:53:22.557471
2018-08-14T13:31:25
2018-08-14T13:31:25
144,724,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,553
py
createUniqueString = ''' --Create Unique String {str_key} EXEC dbo.CreateUniqueString '{str_key}' ''' createTranslation = ''' --Create {lang} Translation EXEC dbo.CreateTranslation '{str_key}', '{lang}', N'{lang_text}' ''' createFileString = ''' --Associating key str_key with page {page} EXEC dbo.CreateFileString '{s...
[ "andres.nieves@proquest.com" ]
andres.nieves@proquest.com
233b7aea0829594f9586d1fd8bf5686dee0fc188
ad62be112183a792200acf925c8119ece0908f6c
/Models/004 RNN Coins/BMK Coins.py
4520ebaefeb317474800540fd752bda3b4953d75
[]
no_license
rayjk21/TestPyCharm
24e6c108bf8f064d7ea072ba711f2a84a2725cec
aabb27a77e5630c4fe89bf127173e5b76485aa9b
refs/heads/master
2021-04-26T22:16:01.889688
2018-06-05T10:13:55
2018-06-05T10:13:55
124,057,158
0
0
null
null
null
null
UTF-8
Python
false
false
15,570
py
import numpy as np import pandas as pa import pandas as pd import aptecoPythonUtilities.utils_explore as my_exp import matplotlib.pyplot as plt import MyUtils.Embeddings as my_emb import MyUtils.utils_base as my import MyUtils.utils_prep as my_prep import MyUtils.utils_nn as my_nn model_path = r"C:\Users\rkirk\Docu...
[ "ray.kirk@apteco.com" ]
ray.kirk@apteco.com
2ab102f6b1f0987a79727c0244b361238f7271ca
6699aa437df9fe4fdeb9669941f70b335353a5e8
/setup.py
e56704d9b0a4f57b56892e9850a45996042a5a21
[ "MIT" ]
permissive
IRANKUND/Benefactor-challenge
ae203c19cad88e1df4d39f05714ccba1012519c6
78c364fcd9e776f50319e2de4eaf269d64a6508f
refs/heads/master
2023-03-01T18:59:19.283668
2021-02-10T13:45:48
2021-02-10T13:45:48
337,422,379
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('requirements.txt') as f: install_requires = f.read().strip().split('\n') # get version from __version__ variable in benefactor_challenge/__init__.py from benefactor_challenge import __version__ as version setup( name='benefactor_challen...
[ "andela@andelas-MBP-4" ]
andela@andelas-MBP-4
401fbe5d99ca5b697cf6e4628551e0606bc494b2
88c3f6dd1e62da124a9718f745ced22e28491d62
/fftEz.py
c25b9b2e6dcabd845d055ab68204f82a982161c7
[]
no_license
zhazhajust/THzScript
df79edfb72665074ec79684be17d8f63fdabaa49
005c4206c870aca430ffa794bfe3a485fff2b9c6
refs/heads/main
2023-07-15T18:43:43.169484
2021-08-20T13:11:29
2021-08-20T13:11:29
398,280,728
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
# -- coding: utf-8 -- import sdf import numpy as np import constant as const ### txtdir=const.txtdir xt=np.load(txtdir+"xtEz.npy") savedir = txtdir + "xfEz.npy" ### c = 3e8 micron = 1e-6 lamada = const.lamada #10.6 * micron gridnumber = const.Nx #2400 stop = const.stop #5889 #17000 dt_snapshot...
[ "251338258@qq.com" ]
251338258@qq.com
ae5ba2d5697bab3012e10ccebf8f6dc189520c79
ae219380fea7652ce9cf33888250cc61594375a5
/calculator.py
54ed16e484a451387dd6dd23d2f5e8ff1934c946
[]
no_license
SauravKanchan/workshop
8b192e3c1af2420e61f329261f3d9e1ad698365e
59edef37c97cccccad23aa990d7510299e6f59de
refs/heads/master
2020-07-25T18:57:07.976262
2019-09-15T09:56:23
2019-09-15T09:56:23
208,393,221
2
0
null
null
null
null
UTF-8
Python
false
false
641
py
choice = -1 ''' 1 is addition 2 is subtraction 3 is division 0 ''' ''' Task: Ensure that b is not 0 if user enters b as 0 then tell him that it is not possible. ''' while choice != 0: a=int(input("Enter your first number")) b=int(input("Enter your second number")) choice = int(input("Enter your choice")) ...
[ "sauravnk30@gmail.com" ]
sauravnk30@gmail.com
d0b24ef29387157deca60a94fb044d19327cb3f1
4c53b8cbdf9e900dd4adbedd0e2167890e373aa3
/tomato_control/tomato_control_three_version_two/tomato_controlPy.py
48948991be206b9c9a763b083732a9fdf84dac22
[]
no_license
AdrianSalcedo/Python_Code
08667ca57bf179fcccb51b46117264e19485e815
c3c10765aa8725552b5dac875f82585365d6711a
refs/heads/master
2020-07-10T10:04:11.307987
2019-11-25T17:42:12
2019-11-25T17:42:12
204,237,507
0
0
null
null
null
null
UTF-8
Python
false
false
2,425
py
from forward_backward_sweep import ForwardBackwardSweep from matplotlib import rcParams # rcParams['font.family'] = 'sans-serif' # rcParams['font.sans-serif'] = ['Tahoma'] params = { 'figure.titlesize': 10, 'axes.titlesize': 10, 'axes.labelsize': 10, 'font.size': 10, 'legend.fontsize': ...
[ "noreply@github.com" ]
AdrianSalcedo.noreply@github.com
34757da4411d0823effcccd1a88b96cea9eb401a
1ef536d93c6616f9793e57a9ebc6b44248d50202
/Unit of Measure/models/res_partner.py
6d1e384ef6259b088b57ea48681fdce6824c20e1
[]
no_license
mohamed4185/Express
157f21f8eba2b76042f4dbe09e4071e4411342ac
604aa39a68bfb41165549d605d40a27b9251d742
refs/heads/master
2022-04-12T17:04:05.407820
2020-03-09T14:02:17
2020-03-09T14:02:17
246,014,712
1
3
null
null
null
null
UTF-8
Python
false
false
461
py
# -*- coding: utf-8 -*- from odoo import api, fields ,models from odoo.exceptions import ValidationError import logging _logger = logging.getLogger(__name__) class ResPartner(models.Model): _inherit="uom.category" measure_type = fields.Selection([ ('unit', 'Units'), ('weight', 'Weight')...
[ "mohamed.abdelrahman@businessborderlines.com" ]
mohamed.abdelrahman@businessborderlines.com
401502d8d8b40bd00eb29a1d486ea9d4465a8eb3
a0cc82bef6e39617f88d5b64ad960593615bfa59
/wsgi.py
ed8a8c9bc5854819e56be7b2f9007832c9f63486
[]
no_license
RevengeComing/RatSnake
624b2563234daf83f62667160483bde5eb7e56a0
e8fbc3b58c2c1fb9e029da979baa51b5fae38a85
refs/heads/master
2021-01-11T17:43:46.816389
2018-03-05T16:04:24
2018-03-05T16:04:24
79,827,634
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
from ratsnake.app import create_app app = create_app() if __name__ == "__main__": app.run(debug=True)
[ "s.hamzelooy@gmail.com" ]
s.hamzelooy@gmail.com