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
213 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
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
e2e11b153277bbe7211ce627527473ce902b023d
f9a882428ba58da780b3a89ce9186faff8a0143c
/Hackerrank/Bill Division.py
4293a7671d28383cd70ba5dfb2c127d136c5ebac
[]
no_license
Samyak2607/CompetitiveProgramming
5eaf4e616f32f457833a262701a6f8b2dca4c5d5
db1767e0ac9b53b69ed8034ef265c8a14b0b9717
refs/heads/master
2021-06-19T19:37:37.139347
2021-03-28T14:10:13
2021-03-28T14:10:13
196,148,649
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
def bonAppetit(bill, k, b): temp=sum(bill) temp=temp-bill[k] if temp//2==b: return 'Bon Appetit' return abs((temp//2)-b) for _ in range(int(input())): n,k=map(int,input().split()) bill=list(map(int,input().split())) b=int(input()) res=bonAppetit(bill, k, b) print(res)
[ "samyakjain0888@gmail.com" ]
samyakjain0888@gmail.com
66589b10ae7ca9569471c53354d4b22dedbf450e
4427be17604a2b25e3ed6ce643cecabf6d7b5516
/2021/day13.py
e87b4cd3387af619c5d3057ae91f6623f8b1cbc6
[]
no_license
shuckc/adventofcode
778d26ed5b5112cf942e1ed15bd057f190f9bb84
9f9a486b9b81d74dae1c5cae43b975b1d4e618ff
refs/heads/master
2021-12-14T20:52:20.501413
2021-12-14T14:07:09
2021-12-14T14:07:09
47,255,375
1
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
import numpy as np eg = """6,10 0,14 9,10 0,3 10,4 4,11 6,0 6,12 4,1 0,13 10,12 3,4 3,0 8,4 1,10 2,14 8,10 9,0 fold along y=7 fold along x=5 """ def parse(eg): numbers,instructions = eg.split("\n\n") numbers = np.fromiter(numbers.replace("\n", ",").split(","), int).reshape([-1,2]) #print(numbers) grid = np.zeros(...
[ "chris@shucksmith.co.uk" ]
chris@shucksmith.co.uk
2b612f6eea0c6ac37a27d2d8fb6083285ff16073
19bc4d44dc7303e23a6949b1bc7b98b65bcf80e9
/python/Linear Regression in Python/Simple Linear Regression/Linear Regression at Codecademy/script.py
661d035628a95c8b252a74e85e4a4024c02fe7a9
[]
no_license
henry1034/Challenge-Project-of-CodeCademy
c66190ff3a318e22f263fcf78344632773065c24
61ebe84696cec120393acca62b4fce4bdea0fb30
refs/heads/master
2023-07-04T01:04:16.978374
2021-07-29T17:27:56
2021-07-29T17:27:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,583
py
# Load libraries import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns import statsmodels.api as sm import codecademylib3 # Read in the data codecademy = pd.read_csv('codecademy.csv') # Print the first five rows print(codecademy.head()) # Create a scatter plot of score vs compl...
[ "noreply@github.com" ]
henry1034.noreply@github.com
d1a8b5e6c73dcc106af349846064f07e4d3a17f1
1716265268aae72b4f8842aa31c7ef64c44668b7
/apps/rss/fs_script/PCARI_RSS.py
1a1eec0e2101963b6c1d8413a9456abc2fc2a80e
[ "BSD-3-Clause" ]
permissive
pcarivbts/vbts-clientfiles
e9f4e7df46de1bc57a9bc2093056bdc9ea17dfff
3b5c5a959fcf4a2dbed30c348951ed213f4ae786
refs/heads/master
2020-03-11T07:29:25.297695
2020-02-26T02:49:28
2020-02-26T02:49:28
91,312,998
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
""" Copyright (c) 2015-present, Philippine-California Advanced Research Institutes- The Village Base Station Project (PCARI-VBTS). All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. """ from freeswitch import consoleLog fr...
[ "pcari.vbts@gmail.com" ]
pcari.vbts@gmail.com
d67cb6277c5180abb77f9cba3af67d2bd99dc8a0
ef66e297a49d04098d98a711ca3fda7b8a9a657c
/Python/9.2.2 use unbound superclass construction method.py
74daaf9ea6794b77af6bf03a25c5d3f357fe4796
[]
no_license
breezy1812/MyCodes
34940357954dad35ddcf39aa6c9bc9e5cd1748eb
9e3d117d17025b3b587c5a80638cb8b3de754195
refs/heads/master
2020-07-19T13:36:05.270908
2018-12-15T08:54:30
2018-12-15T08:54:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
class Bird: def __init__(self): self.hungry=True def eat(self): if self.hungry: print 'Aaaah...' self.hungry=False else: print 'No,thanks!' class SongBird(Bird): def __init__(self): Bird.__init__(self) self.sound='Squawk!' def sing(self): print self.sound sb=SongBird() sb.sing() sb.eat() sb.e...
[ "449195172@qq.com" ]
449195172@qq.com
c56f4e4fb4ccc6672145c456c1c1d50ffbfd1d54
eb91c2d2560a3e4ce35ebc2d6550f001579c03c5
/codeforces/1353/B.py
9f295a1f5fb9c4df31d57960b9fb7930b9a23708
[]
no_license
kamojiro/codeforces
0a3a40c8cab96a0257bb9d6ed53de217192cbabb
9e66297fa3025ba6731111ab855096d579e86c67
refs/heads/master
2021-07-07T11:47:42.373189
2020-08-15T14:45:36
2020-08-15T14:45:36
176,296,160
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
#import sys #input = sys.stdin.readline def main(): N = int( input()) for _ in range(N): n, k = map( int, input().split()) A = list( map( int, input().split())) B = list( map( int, input().split())) A.sort() B.sort(reverse=True) ans = 0 for i in range(n): ...
[ "tamagoma002@yahoo.co.jp" ]
tamagoma002@yahoo.co.jp
d8d125160792a97e1c2c5c39a0c928f1655589b2
250124d214f6834230314dfee4a5dd03713953a2
/part-2/2-iterators/9-Iterating_callables.py
0dcb235c2e78a05bf787172829de56522d7aafc5
[ "MIT" ]
permissive
boconlonton/python-deep-dive
3b26b913d1f6f2fdf451a8bc4f24a24d1bb85a64
c01591a4943c7b77d4d2cd90a8b23423280367a3
refs/heads/master
2023-08-30T21:20:12.240813
2021-09-29T22:21:26
2021-09-29T22:21:26
365,419,435
1
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
"""Iterating callables""" import random def counter(): i = 0 def inc(): nonlocal i i += 1 return i return inc class CallableIterator: def __init__(self, callable_, sentinel): self.callable = callable_ self.sentinel = sentinel self.is_consumed = False ...
[ "tan.truong@go2joy.vn" ]
tan.truong@go2joy.vn
4728b125fe5652384de390cd319d3215424f0142
051ee70862140fc6d9a5854dc5e9855dff2e1a97
/somescikit/linerRegression/test.py
43e45449a79b8eaddd945d442aabb076d278970f
[]
no_license
sunil3loq/cpptrials
44cf8a991009cd9379a21672aee9280f287a9096
0f3eb1e805c45fd60b9c1650991bd4a8ca80efbb
refs/heads/master
2021-01-19T05:25:28.480581
2015-12-29T13:36:40
2015-12-29T13:36:40
22,981,367
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
__author__ = 'sunil' import pandas as pd print help(pd.DataFrame)
[ "chidara@3loq.com" ]
chidara@3loq.com
ba05627578638cfac87bf13a82cc59a5f675c8c8
bc6b969ba9c75d4b7c9d7edf47e2d0ac90dcd972
/python/stl.py
40e85ed0d241bc8e8ebe2a2ad67c3d53a2e2c3b2
[]
no_license
jeoninhyuk/TIL
6b800d1c92643d118bf9627535d11c7679ee555d
d3c7927d456250369049fba6781e52c5cbe9ecfd
refs/heads/master
2020-05-27T18:55:01.415366
2019-06-21T05:43:37
2019-06-21T05:43:37
188,750,521
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# String Interpolation #a = '123' #new_a = f'{a}' # 1. 옛날 방식 #'%s %s' % ('one','two') #=> 'one two' # 2. pyformat #'{} {}'.format('one','two') #=> 'one two' # name = '홍길동' # eng_name = 'Hong' # # print('안녕하세요,{}입니다. my nme is {1}'.format(name, eng_name) # 3. f-string #a, b = 'one', two #f'{a} {b}' #=> 'one two' ...
[ "jeoninhyuk94@naver.com" ]
jeoninhyuk94@naver.com
8bb84a72bbd6de13b5d9c6549dbf73970d2d872b
b63f48ff34abc540880bdd80796d087cb3760b03
/sandstone/lib/tests/python/test_app.py
e5c9acb88a10280bbea8db8eb49d62d1b3074460
[ "MIT" ]
permissive
saurabhsood91/sandstone-ide
8ed272ee16c5597a3a916205c63848e487dc38ae
25b666c43d48163bb21c628129e118429788eb51
refs/heads/master
2021-01-11T07:57:52.736877
2016-10-25T18:45:41
2016-10-25T18:45:41
72,131,628
0
0
null
2016-10-27T17:26:17
2016-10-27T17:26:17
null
UTF-8
Python
false
false
2,346
py
import unittest import mock import os from tornado.web import StaticFileHandler import sandstone from sandstone.app import SandstoneApplication from sandstone.lib import ui_methods from sandstone.lib.handlers.main import MainHandler from sandstone.lib.handlers.pam_auth import PAMLoginHandler from sandstone import sett...
[ "sampedro@colorado.edu" ]
sampedro@colorado.edu
94a836f98274030034fc1d71f9ea205e92cb8242
9c8c8ae3842ec9a6f36730234c02f93f71ebda20
/vndk/tools/sourcedr/ninja/list_installed_module_under_source.py
3643e9d57df15529f03701ae39cfbbabc54bc9a2
[ "Apache-2.0" ]
permissive
batyrf/platform_development
437bc6560a062d0ce7b27bab17b78109a72b1773
d4f7efc0c58598e3fc02a1e4fe8e751bd4ae8f0a
refs/heads/master
2020-12-26T18:37:29.529464
2020-02-01T04:54:27
2020-02-01T04:54:27
237,598,759
3
0
null
2020-02-01T10:35:07
2020-02-01T10:35:06
null
UTF-8
Python
false
false
2,232
py
#!/usr/bin/env python3 import argparse import itertools import json import posixpath import re def match_any(regex, iterable): """Check whether any element in iterable matches regex.""" return any(regex.match(elem) for elem in iterable) class ModuleInfo(object): def __init__(self, module_info_path): ...
[ "loganchien@google.com" ]
loganchien@google.com
34e55c9eb4ff0873f56820e807557d8c6cb55bb7
214dde26c268d1d0b7991318c5e2d43aa27af89b
/visualization/capital_flow/app.py
9c72a241df388a8420f220fc97f2591d354deea3
[]
no_license
hellobiek/smart_deal_tool
f1846903ac402257bbe92bd23f9552970937d50e
ba8aad0a37843362f5833526921c6f700fb881f1
refs/heads/master
2022-09-04T04:41:34.598164
2022-08-04T22:04:09
2022-08-04T22:04:09
88,258,362
36
14
null
null
null
null
UTF-8
Python
false
false
14,214
py
# -*- coding: utf-8 -*- import os import sys from os.path import abspath, dirname sys.path.insert(0, dirname(dirname(dirname(abspath(__file__))))) import dash import dash_table import const as ct import pandas as pd import dash_core_components as dcc import dash_html_components as html from flask_caching import Cache f...
[ "hellobiek@gmail.com" ]
hellobiek@gmail.com
f9757cd5f5931e24e90a9be34c09ca15d7bdbedd
f0adca7cac7fb12cdb89e7e821559fe2603bf4bc
/src/234/recipe_234_02.py
029ab82d6382993f4d8564ed733634fc696da9c6
[]
no_license
eriamavro/python-recipe-src
dccfa06bc56fcc713f8da9e466f04d07c1f961f0
d14f3e4cd885515e9a9a7b8e3f064609c8e50fad
refs/heads/master
2023-02-13T02:08:44.531621
2021-01-14T12:03:05
2021-01-14T12:03:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
import requests import json payload = {'key1': 'value1', 'key2': 'value2'} url = "http://httpbin.org/post" r = requests.post(url, json=json.dumps(payload)) print(r.text)
[ "kurozumi.ta@gmail.com" ]
kurozumi.ta@gmail.com
089ad9072c71628b13f8d6e395b39dd3d4ce9127
9048a6c949b873091142d0e1f6360fcfd3b2ab4e
/recharge.py
c92b2db5eefb0d440f4fe8fa212599065653c665
[]
no_license
ayush5716/schoolproject
525cd0e7bb6e837c52fbbdec258e68e79620a290
78a012a94f7419ffa80d72873f05b0771f658657
refs/heads/master
2022-11-30T22:51:14.956445
2020-07-28T19:17:11
2020-07-28T19:17:11
283,304,268
0
0
null
2020-07-28T19:17:12
2020-07-28T19:10:08
null
UTF-8
Python
false
false
2,201
py
# -*- coding: utf-8 -*- """ Created on Fri Jul 24 16:32:38 2020 @author: ayush class 12B """ import csv with open('RECHARGE.csv','a',newline='') as afile: write=csv.writer(afile,lineterminator='\n') write.writerow(["Customer_Mobile","Recharge_Date","Recharge_Amount","Service_provider"]) def enter(): ...
[ "noreply@github.com" ]
ayush5716.noreply@github.com
a2bb3774baf6676fafd2e71ab388e0f6d6320176
68cce04ffbdd0840cd86aaf73551bd58dff016df
/RandomGenerator.py
2ba633955452201361a142abcb4f1b6e74f4bb80
[]
no_license
ignaciocaramuto/TP1_Simulacion
ff9d22a7412808a022a1893cc064c823afff737b
9829d449ec2268858b5f38e64a14d08e3d9dcdeb
refs/heads/master
2022-07-29T02:27:46.410114
2020-05-12T21:53:44
2020-05-12T21:53:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
776
py
import pylab as plt import numpy as np # LCG Implementation def lcg(a, c, m, initial_seed): seed = initial_seed while True: rand = (a * seed + c) % m seed = rand yield rand def random_sample(n, interval, seed = 20200420162000): lower, upper = interval[0], (interval[1]+1) samp...
[ "pereyramartinn@gmail.com" ]
pereyramartinn@gmail.com
9951bb6bb6601a27c6c70eacedafd833535407ea
2dae88207b8b424617f8e283ede17616e8009881
/Algorithms/Contests/MagicLines/polar.py
f304fbf0ba4fc9f54136fa9439aaff66f9f59e67
[]
no_license
ramvibhakar/hacker_rank
32083851190a40f969fd6a657633c68e7ecbe1d5
2b169b1cfbf43bc4aca0a4a6921f77befef7ab85
refs/heads/master
2016-09-10T09:31:05.397702
2015-06-25T11:27:18
2015-06-25T11:27:18
28,509,731
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
# Enter your code here. Read input from STDIN. Print output to STDOUT from math import hypot, atan2, pi def polar(x, y): k = 180.0 * atan2(y, x) / pi if k<0: k+=360 return k,hypot(x, y) n = int(raw_input()) ans1 = [] ans = [] for i in range(n): x,y = map(int,raw_input().split()) ans.append...
[ "ramvibhakar@gmail.com" ]
ramvibhakar@gmail.com
1c896176c54b9dd628a492f4f4369079f41e5962
ccbbc82efab60f11decd7632e30e79562e0f7dda
/hri_api/src/hri_api/util/robot_config_parser.py
02bc242d7886ddedad3f2d4f7ed458aa829e0c95
[ "BSD-3-Clause" ]
permissive
georgepar/hri
b26a0a2c5739017c6aa204e5b14e5f19295f0f2a
60e2713c0106a5ff05532f4c27eecb4fbf9f1e24
refs/heads/master
2021-01-22T06:02:21.014837
2014-10-19T11:04:35
2014-10-19T11:04:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
#!/usr/bin/env python import roslib roslib.load_manifest('hri_api') import yaml class RobotConfigParser(object): @staticmethod def load_robot_type(config_file_path): with open(config_file_path, 'r') as file: config = yaml.load(file) robot_type = config['robot']['type'] ...
[ "jdip004@aucklanduni.ac.nz" ]
jdip004@aucklanduni.ac.nz
b0a2b547e14de33c18ce4191d29376ac54166335
7d07a4453b6faad6cbc24d44caaa3ad1ab6ebe7f
/src/stc/gen_iface.py
8b43990623acd25d996466702a54e0b1819c0a57
[]
no_license
rickyzhang82/wxpython-src-2.9.4.0
5a7fff6156fbf9ec1f372a3c6afa860c59bf8ea8
c9269e81638ccb74ae5086557567592aaa2aa695
refs/heads/master
2020-05-24T12:12:13.805532
2019-05-17T17:34:34
2019-05-17T17:34:34
187,259,114
0
0
null
null
null
null
UTF-8
Python
false
false
32,001
py
#!/usr/bin/env python #---------------------------------------------------------------------------- # Name: gen_iface.py # Purpose: Generate stc.h and stc.cpp from the info in Scintilla.iface # # Author: Robin Dunn # # Created: 5-Sept-2000 # RCS-ID: $Id: gen_iface.py 71556 2012-05-25 09:48...
[ "rickyzhang@gmail.com" ]
rickyzhang@gmail.com
7be77a226991e8e5cd0cfa304d5c6e570a73c828
75eac06d5714843f1f4a1ead6d8a3164adcb9a61
/csqa/models/bert_sep.py
2f14af9e1c38b1fd04d1c54e957139e86b27b5be
[]
no_license
Shuailong/csqa
0b3b8de0fc139d84c4841a948fff69a3d0855326
bc03dfbb1abe8fd37feee2870210f4209ad1d6af
refs/heads/master
2022-01-04T17:52:53.909954
2020-03-28T04:59:45
2020-03-28T04:59:45
181,131,710
0
0
null
null
null
null
UTF-8
Python
false
false
6,157
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Author: Shuailong # @Email: liangshuailong@gmail.com # @Date: 2019-05-18 23:07:29 # @Last Modified by: Shuailong # @Last Modified time: 2019-05-18 23:07:39 import logging from typing import Any, Dict, List, Optional from overrides import overrides import torch from al...
[ "liangshuailong@gmail.com" ]
liangshuailong@gmail.com
3b8b3870dabed4b7af889b4f5e0cb43e93880dae
39d78a4215957a63602289f7ed2ad414f91cf604
/function_library.py
598a2305d336b52568e7ff688392fa900075711b
[]
no_license
ElinorBaker/Team9
61c2a194e60f4ae3c465429a9b49cca288a049f1
82685efa60ad8f226b41c1edf7638039f167eb46
refs/heads/main
2023-04-11T19:46:17.722515
2021-05-04T18:46:45
2021-05-04T18:46:45
359,920,347
1
0
null
null
null
null
UTF-8
Python
false
false
964
py
# Function 1: average def average(av): avg = sum(av)/len(av) return avg # Function 2: go back to MAIN MENU def another_stat(): top_loop_question = input("Would you like to go back to the MAIN MENU to see another statistic? (Y/N)").upper() if top_loop_question == "N": print("Goodbye!...
[ "lauk3158@gmail.com" ]
lauk3158@gmail.com
c2e8140fedf0f36838a456913d4b80fc6f7a9708
375aacf49a295e08b9b01fa4b7681fbb3a92d1c3
/forallpeople/dimensions.py
b5367fee5bc99cb706006cd209a9688623914b5b
[ "Apache-2.0" ]
permissive
bevi-rosso/forallpeople
5653386f69eeb2bb576d5a62231db39b77412b07
f3bb2da1aa505dfd1dd0335b8d58f74e1305542c
refs/heads/master
2023-02-26T03:21:54.368851
2021-01-13T05:02:33
2021-01-13T05:02:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
# Copyright 2020 Connor Ferster # 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 law or agree...
[ "CFerster@rjc.ca" ]
CFerster@rjc.ca
658eaf75d73117092aafab19e19d36afddfcf710
329e3aa7ee29f19e8648bd4807d43db23e77b70c
/src/sendmail.py
bce2f717864f0d63c3a01f147b090cf47884916a
[]
no_license
bowdbeg/payslip
cc013c1c48e5993e7a30bab9659c7b30f27bfd28
239a5f90df0ab4df0096bff37df6cd9a2d89e9d2
refs/heads/master
2022-12-30T14:42:50.328748
2020-10-17T15:47:17
2020-10-17T15:47:17
291,071,158
0
0
null
null
null
null
UTF-8
Python
false
false
4,932
py
""" Send E-Mail with GMail. Usage: sendmail.py <sender> <to> <subject> <message_text_file_path> [--attach_file_path=<file_path>] [--cc=<cc>] sendmail.py -h | --help sendmail.py --version Options: -h --help Show this screen. --version Show version. --attach_file_path=<file_path> Path of file ...
[ "bear.kohei@gmail.com" ]
bear.kohei@gmail.com
c618f3a535441e5c8587f2f8d2c91d6c2a046dd8
113f8ae533a75e9f2fdc1728661af0f19c8460a6
/books_app/books_app/settings.py
8f53b3a945f604d8a773d85e73cdd69c268b132c
[]
no_license
PeterM358/Python-web-2021
cf08beaa3330495afc53e640f4a2aaf0429049e9
a3b7e1d1be0cc85675aaff646917d4f5b7f97b00
refs/heads/master
2023-07-09T15:09:08.868548
2021-07-24T13:49:22
2021-07-24T13:49:22
382,328,747
0
0
null
null
null
null
UTF-8
Python
false
false
3,403
py
""" Django settings for books_app project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathl...
[ "estestveno" ]
estestveno
a89b111b84cc255fa97bb88a053f3f5a5369505e
6a2c2683279c5445e49d4a1490ba5e58ba6911f3
/vis/vis3.py
76c803011075c249bb07e297383c3c6d8f883445
[]
no_license
foongminwong/python-visualization-practice
ba3e59335719784a6d02f44483c59b43495f7716
ab593440aab01e8095abcb6442304bf620d028d0
refs/heads/master
2020-03-28T14:26:29.782317
2019-05-25T16:50:37
2019-05-25T16:50:37
148,486,862
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
from mpl_toolkits.mplot3d import Axes3D from mpl_toolkits.mplot3d.art3d import Poly3DCollection import matplotlib.pyplot as plt import numpy as np import bertini_real fig = plt.figure () ax = fig.add_subplot (1, 1, 1, projection = '3d', aspect = 1) sphere_data = bertini_real.data.ReadMostRecent(); sphere_tuples = sphe...
[ "wongfoongmin@hotmail.com" ]
wongfoongmin@hotmail.com
3b9aabeae147893871834d281d7beb6941d1650e
8b1faf5c239723317d530420ab679496c5b56b7c
/qwe.py
9c5874ac760fc1e6e62d07efe633268598a2c186
[]
no_license
mystery2828/pythonfiles
b42ccee621532e1900c580b684ecba17098c27dd
10ce88047f0226fcc6e49bc27a6af4b427e5b566
refs/heads/master
2021-07-23T14:34:43.967874
2021-07-07T17:14:24
2021-07-07T17:14:24
227,979,744
1
3
null
2020-10-03T08:51:31
2019-12-14T06:53:03
Python
UTF-8
Python
false
false
1,002
py
#code def numpair(s1,s2): count = 0 s2.sort() for ele in s1: for i in range(len(s2)): if ele != s2[i]: if ele == 0: break if ele>1: if s2[i]>ele: ...
[ "noreply@github.com" ]
mystery2828.noreply@github.com
4634ce50332a8d3d3fcb0fbb8f5602a8e407e4f8
30b3cefec980c94329dff3ddb6760b4c45fc630e
/testing_descriptor.py
f3bbbae21834f451a650d70f0efdf9ace708ef5e
[]
no_license
Ebajaj147/Image-Descriptor
c92d80f89d71cbe4f67be28cab043fe862dbad69
6f2223ab09bb0214a82dafd1dbcbffb3d243e5ed
refs/heads/main
2023-03-21T11:32:59.099966
2021-03-17T09:10:29
2021-03-17T09:10:29
346,029,546
0
0
null
null
null
null
UTF-8
Python
false
false
2,057
py
from keras.preprocessing.text import Tokenizer from keras.preprocessing.sequence import pad_sequences from keras.applications.xception import Xception from keras.models import load_model from pickle import load import numpy as np from PIL import Image import matplotlib.pyplot as plt import argparse ap = argparse.Argu...
[ "noreply@github.com" ]
Ebajaj147.noreply@github.com
52cf938030ca7e71c4454b452c5e3b75018fc9a7
cb6c37c49cc6caef094160ca132f80807e6db933
/flexiretail_ee_advance/models/purchase_order.py
b0854f4223e47c7a36f9119db6f0963f0fa24c4d
[]
no_license
Alimentosecocare/orange
07cb481c42fdc3e151d884255092842eeabae298
f67f64314777c7bf395126e6f6d019c381f3ef4d
refs/heads/master
2022-04-22T17:23:02.499574
2020-04-23T16:04:52
2020-04-23T16:04:52
258,229,315
0
3
null
null
null
null
UTF-8
Python
false
false
3,531
py
# -*- coding: utf-8 -*- ################################################################################# # Author : Acespritech Solutions Pvt. Ltd. (<www.acespritech.com>) # Copyright(c): 2012-Present Acespritech Solutions Pvt. Ltd. # All Rights Reserved. # # This program is copyright property of the author menti...
[ "54725593+RetargetingCL@users.noreply.github.com" ]
54725593+RetargetingCL@users.noreply.github.com
927b1fcf7f529b1079513b2b00e403baa8765239
ce3077f0cf4e8db7d8541e371193b3b6ace8da28
/cherrypy.wsgi
a685cdd89b9b79cde929c40b4d646965072bca15
[]
no_license
clarakosi/wsgi-benchmark
1989b5b6ba084462466b6085011a9f0b31f01d0c
200036807324b313f98997f301791514acf2720f
refs/heads/master
2020-04-08T17:27:34.307726
2018-12-05T16:18:16
2018-12-05T16:18:16
159,567,999
0
0
null
2018-12-05T16:23:14
2018-11-28T21:32:36
Python
UTF-8
Python
false
false
292
wsgi
from cheroot.wsgi import Server as WSGIServer, PathInfoDispatcher from app import application d = PathInfoDispatcher({'/': application}) server = WSGIServer(('0.0.0.0', 5000), d) if __name__ == '__main__': try: server.start() except KeyboardInterrupt: server.stop()
[ "candrewwani@gmail.com" ]
candrewwani@gmail.com
6d9189588d108e777f2567c9c3d9933cdcbceb17
5c3f1027aaf6265e09eebf473a688ff449e9c078
/Main.py
345044070dea01f0cda2a79a0588aebb2b801dce
[]
no_license
vedant-shukla/Instagram-User-Profiling
f8c6e8263c71ae9e84bb4e94dea75b0dcb0a520e
8dc024ef61c88bc5bc8aee6f61c87b162075c73c
refs/heads/master
2020-03-25T12:53:04.632400
2018-08-07T00:54:08
2018-08-07T00:54:08
143,798,854
0
0
null
null
null
null
UTF-8
Python
false
false
4,449
py
import six import copy import re import json import bs4 as bs from Login import * # from ImageWorker import ImageWorker PARSER = 'html.parser' meta_data = {} medias_queue = six.moves.queue.Queue() SHARED_DATA = re.compile(r'window._sharedData = ({[^\n]*});') TEMPLATE = re.compile(r'{([a-zA-Z]*)}') CODE_URL = re.com...
[ "13bce113@nirmauni.ac.in" ]
13bce113@nirmauni.ac.in
85297224463e89bbcee3a6b86337b908c5929cb2
8a0e14299d8b915c0a909cf9fa9a86589dc63d76
/python/ray/tune/automl/__init__.py
cab4c4de4dab106306090e7cdc11ee1396f99abd
[ "Apache-2.0", "MIT" ]
permissive
natashamjaques/ray
795e4271c3c5f3e261327afea40b81ffe6f362ac
aca9dd5ee7a8fef508a5383fdd26ad8ccdcb16e4
refs/heads/master
2020-04-12T05:58:15.680359
2019-03-06T22:08:10
2019-03-06T22:08:10
162,337,948
3
2
Apache-2.0
2018-12-18T19:47:02
2018-12-18T19:47:01
null
UTF-8
Python
false
false
464
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from ray.tune.automl.genetic_searcher import GeneticSearch from ray.tune.automl.search_policy import GridSearch, RandomSearch from ray.tune.automl.search_space import SearchSpace, \ ContinuousSpace, Discret...
[ "rliaw@berkeley.edu" ]
rliaw@berkeley.edu
0ceaa149f62c4d0ac1618af38585c3570814e82d
6aa7e203f278b9d1fd01244e740d5c944cc7c3d3
/airflow/providers/apache/kylin/hooks/kylin.py
59f6ce94ff23200923bd0942ba05a73279150f5b
[ "Apache-2.0", "BSD-3-Clause", "MIT", "Python-2.0" ]
permissive
laserpedro/airflow
83fc991d91749550b151c81876d9e7864bff3946
a28afa8172489e41ecf7c381674a0cb91de850ff
refs/heads/master
2023-01-02T04:55:34.030935
2020-10-24T15:55:11
2020-10-24T15:55:11
285,867,990
1
0
Apache-2.0
2020-08-07T15:56:49
2020-08-07T15:56:49
null
UTF-8
Python
false
false
2,795
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
laserpedro.noreply@github.com
d010fb79c796f34db9c3ccef04a23dd8ba9fc29a
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/8-loops_20200406005828.py
5e027ff5acfe70abba31bc7f2389a11006536d94
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
# A for loop is used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string). # Simple Loop # people = ['John', 'Mary', 'Anna', 'Margaret', 'Sylvia'] # for person in people: # print('Current person is: ', person) # Break # people1 = ['John', 'Mary', 'Anna', 'Margaret',...
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
f694103ad29e76cd74411c21fb687a6e63fcbdbf
6bda8a6e44d09397ada6ed222800e16f071674bf
/src/numdifftools/profiletools.py
4e6374add0e9bed8d01cf6a6f24116263cc71f59
[ "BSD-3-Clause" ]
permissive
pbrod/numdifftools
557af2ee288339737a9e005fb0485542c13e8891
4f62e51d4776cc6acbdfb6268482635a487b860c
refs/heads/master
2023-07-20T19:26:53.241589
2022-11-14T13:39:42
2022-11-14T13:39:42
17,676,169
237
52
BSD-3-Clause
2023-07-05T15:21:37
2014-03-12T17:31:06
Python
UTF-8
Python
false
false
5,763
py
""" This module is based on: https://zapier.com/engineering/profiling-python-boss/ See also: https://www.pythoncentral.io/measure-time-in-python-time-time-vs-time-clock/ """ from __future__ import absolute_import, print_function import inspect import cProfile from functools import wraps from timeit import default_tim...
[ "per.andreas.brodtkorb@gmail.com" ]
per.andreas.brodtkorb@gmail.com
a01a04b5ee23fefda29af42dbf1c20f8e38c55bf
e5ade004dcf04b3b0a3598d0496286879f30206e
/run_cai_thien.py
1a97037e36229da1effe6ee950796eb54610e673
[]
no_license
fkatonline/python-daotao
ea3bf8e77396547dd8d56fbfb294f54ef77b7bc4
91ffebbae719e995a87985c4bb8fe9c0d80e791f
refs/heads/master
2021-10-12T05:48:16.159908
2021-10-08T08:17:23
2021-10-08T08:17:23
238,109,828
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
from lich_thi_cai_thien import LichThi # i = 1 # for item in data: # bot.set_lich_tung_sinh_vien(item['mssv'], item['mahp'], item['gd'], item['thoi_gian']) # print(i, end=' ') # print(item) # i = i + 1 # bot.driver.quit() raw_data = """YY0312 CB0205 YY1907 DD0205 YY0402 CB0405 YY1716 YY1716 YY1009""" ...
[ "fkatonline@gmail.com" ]
fkatonline@gmail.com
2710cb22af5cac80f7a27b0cbd8720daac4d6440
41c6fceaf52da397f045b58e686d4b2065a73f6e
/demo3/routes/profile.py
211cbe5dcd33f9f699f1da880dbdd953150a48b5
[]
no_license
TaihouAnF/CSCC01_PickEasy_team01_project
269270cfec76691bcafd5a36ef8a72c6501ea069
307ea0dec7779d5614ad5757352aa5161be230d7
refs/heads/master
2023-07-26T21:41:59.767658
2020-08-16T22:26:19
2020-08-16T22:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,344
py
################################################### # # # Includes all routes to profile pages. # # # ################################################### from flask import Flask, render_template, request, redirect...
[ "noreply@github.com" ]
TaihouAnF.noreply@github.com
a7bba7e1fb6c729e6c1637759c62f88f35c6ff96
4bc29617a307de54a7fe300c8e863f03321bd003
/lib/python3.8/site-packages/trytond/__init__.py
4c039bb08254fc28ff51e691190a50d47b7b35e2
[]
no_license
Davidoff2103/tryton-training
f594970e77646f0ffeb42eb4f903252ff0b6c201
8d1ec4f2b623f7ca48f38bfda2ac15c01ded35a7
refs/heads/master
2023-06-01T11:55:05.400233
2021-06-09T10:06:56
2021-06-09T10:06:56
375,275,666
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. import os import time import warnings from email import charset __version__ = "5.0.35" os.environ['TZ'] = 'UTC' if hasattr(time, 'tzset'): time.tzset() if time.tzname[0]...
[ "davidoff.d777@gmail.com" ]
davidoff.d777@gmail.com
9d1c376c39f97015fb6195dde15ff62496f9487e
228e3a79fd9b1e5d737897df382114c264cf625b
/Agent3.py
0c698d22cfaa985679f4293fdc26dff390cf09a0
[]
no_license
duniahakim/Qwirkle
f11e3d47877bcfc8a5e0bd58cce7cfcd0dc10447
f58e9694532ccc0095b01350bb02c3a4ffa3b6ec
refs/heads/main
2023-01-10T05:29:34.845326
2020-11-09T23:58:30
2020-11-09T23:58:30
311,495,542
0
0
null
null
null
null
UTF-8
Python
false
false
3,565
py
import copy from Player import Player from Qwirkle import GameBoard from termcolor import colored class Agent3(Player): def print_tiles(self, tiles): tiles_output = '' for tile in tiles: tiles_output += colored(tile.shape, tile.color) + ' ' print('\n Your Tiles: %s' % tiles_o...
[ "noreply@github.com" ]
duniahakim.noreply@github.com
e0ba1b56a9d843c025074f4653b09ddf37e0ad77
65d58f994c4c4e94ec71fd371302180c92989daf
/script1.py
3a4cf1f4703f34faea9bef094bf0e87c5d9b9d65
[]
no_license
MattDawson2020/Python-Flaskwebapp
16b117266d6f74be9e864f1b8d66c9e496d8aae6
4bf1adf8a68d3d452bd43c468dff7ba980e64403
refs/heads/main
2023-06-22T16:31:54.292594
2021-07-27T15:09:45
2021-07-27T15:09:45
388,769,622
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
from flask import Flask, render_template #import flask class object from library app = Flask(__name__) # initilize flask object, __name__ assigns the name main to the app on this page, if imported it is assigned the name script1.py @app.route('/') #define the root route def home(): return render_template("home.h...
[ "mattdawson18@gmail.com" ]
mattdawson18@gmail.com
f14c83c39691d2fcf0613fdc1cd9d2637609162c
a0e16209959117cda0ee86b3beddf9ad3f0ea2c6
/migrations/versions/88e3f6b8529b_10a.py
f0334f801e824056692c43cec4b5bd854b328293
[]
no_license
kaishuibaicai/Flask-web-learning
fa5e28233e08d0ae2eb04e0d05b2ce6cb10d04d4
2b12390f7d117b5e089a02fbb31c5d264c3753ab
refs/heads/master
2020-12-02T19:42:00.326905
2017-08-21T07:27:20
2017-08-21T07:27:20
96,376,563
0
0
null
null
null
null
UTF-8
Python
false
false
1,137
py
"""10a Revision ID: 88e3f6b8529b Revises: 78397128412b Create Date: 2017-07-15 12:02:55.853313 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '88e3f6b8529b' down_revision = '78397128412b' branch_labels = None depends_on = None def upgrade(): # ### comman...
[ "a272251416@gmail.com" ]
a272251416@gmail.com
d9fab95d5078fae0fff3c58c49ac65828bc8dba4
e2085f5618b62e56eeadbc1bad3e9b8b2594df90
/Python/pythonCERNCourse/day1.py
dcdb2d1956a8ec3c91317eff4d767023d59a182b
[]
no_license
oviazlo/SelfSTUDY
cc03fe70cf8e9922d5c7d85849b8ce21a1e85679
96a4d1f68a3ad28f5f2356896cddb84653009fb8
refs/heads/master
2022-01-31T11:04:25.002475
2022-01-01T15:11:59
2022-01-01T15:11:59
132,145,772
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ def my_enumerate(sequence): """ docstring""" return zip(range(len(sequence)), sequence) print("standard implementation") for i, x in enumerate('hello'): print(f'{x} was in position {i}') print("custom implementation") for i, ...
[ "oleksandr.viazlo@cern.ch" ]
oleksandr.viazlo@cern.ch
049871996a5061351366db13bea9998b4ad5707d
a17bb41dc850f94f8fdb4dfb135a47d8c79f9d48
/DynClmpComposite.py
5a1d9ffa4e71e87967bec1e9a53d341d0ab98f64
[]
no_license
matthewperkins/plotting
93cb2e1df2ad5b0329fc0e7f2ab83f6e26ad1457
72132eb519743939955c037dc80ec162287cf772
refs/heads/master
2021-01-22T20:29:27.925659
2014-07-07T20:58:14
2014-07-07T20:58:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,512
py
from traits.api import HasTraits, Instance, Int, Float, Array, on_trait_change, Button from traitsui.api import View, Group, Item from enable.api import ColorTrait from enable.component_editor import ComponentEditor from chaco.api import marker_trait, Plot, ArrayPlotData, VPlotContainer from numpy import linspace, sin ...
[ "matthewhperkins@gmail.com" ]
matthewhperkins@gmail.com
cef31d1e6e9cb8cc1e29654e89b9cb2913b3a2e8
8c3f9dd66e04288cf745bfd700ba7a27347aa58e
/defang/defang.py
284a6dd7c0917d22288e1d78239da2f9f11b1927
[ "MIT" ]
permissive
ravewillow6383/data-structures-and-algorithms-python
df218b1fd70517f27801d52b57a64478b6ea2034
98533ee241a3ae452dab1ecb87aab39742005e35
refs/heads/master
2021-06-17T06:57:41.842210
2019-10-03T20:00:12
2019-10-03T20:00:12
195,877,165
0
0
MIT
2021-04-20T18:41:19
2019-07-08T19:52:47
Python
UTF-8
Python
false
false
241
py
def defang(address): if len(address) > 0: add_two = address.replace('.', '[.]') if len(address) > 0: return add_two if len(address) < 1: raise ValueError('I am sorry, that ip address is empty.')
[ "ravewillow6383@gmail.com" ]
ravewillow6383@gmail.com
dd9555e254f4da9a4f12b16a39b2913b8b128302
e54d61d6db1e61cf6caa414b6b7fdfb6fb17657a
/9-Flask知识点/笔记涉及项目代码/day03Tem/App/models.py
e8e839d7c4ad56b2891354c1f7bbc7a4bb2968d6
[]
no_license
chen12356/Linux-mysql-orm-tornado
6af83c317208cc9f58fab9e261dfe4af5197dc34
353a2f02c65099b1cdc2146c647cc63b8979fe15
refs/heads/master
2020-07-27T00:33:40.518997
2019-09-24T14:29:43
2019-09-24T14:29:43
208,810,381
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Info(db.Model): id = db.Column(db.Integer,primary_key=True,autoincrement=True) name = db.Column(db.String(20)) sex = db.Column(db.String(8)) age = db.Column(db.Integer) __tablename__ = 'emp_info'
[ "1406159466@qq.com" ]
1406159466@qq.com
2b56f5546d3e842e5db09a8df54c167b3dc36547
87591443dfb54390a1052a0c149abab23b7f414d
/CH00_补充随笔/4-2-4.损失函数.py
4311a3b129aaf35d286bd2803c91701f336f089f
[]
no_license
by777/fluentPython
1c12b4e27cd813dab68c9999741e956489c81bb7
38bced932755d53ab280e15fb083fffa13704e36
refs/heads/main
2023-04-04T01:59:39.255652
2021-04-16T06:29:50
2021-04-16T06:29:50
351,430,308
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
# -*- coding: utf-8 -*- # @TIME : 2021/3/25 19:11 # @AUTHOR : Xu Bai # @FILE : 4-2-4.损失函数.py # @DESCRIPTION : import torch as t from torch.autograd import Variable as V # batch_size=3,2个类别 score = V(t.randn(3, 3)) # 3个样本分别属于1,0,1类,label必须是LongTensor label = V(t.Tensor([1, 0, 1])).long() criterion = t.nn.CrossEntropyLo...
[ "1373953675@qq.com" ]
1373953675@qq.com
204ac2fd90638f66972c04d9ba39b0b16d53f4f6
024594e43b96314c48b01dfeb1c2d3c38a9a069d
/chapter7/detect_hog_svm.py
f955882ec275aa75fb35560f495ec62491fdd48d
[]
no_license
PLLLLLLL/OpenCV3-Python
8a7a246246ddc25fa8ae127de764fa6574e145c2
a916a83c3efe6c24be8ba4b7b1a59498c2d06e9b
refs/heads/master
2020-04-12T20:14:01.129354
2019-03-29T07:35:37
2019-03-29T07:35:37
162,729,999
1
0
null
null
null
null
UTF-8
Python
false
false
1,925
py
import cv2 import numpy as np from os.path import join datapath = "/home/d3athmast3r/dev/python/CarData/TrainImages/" def path(cls,i): return "%s/%s%d.pgm" % (datapath,cls,i+1) pos, neg = "pos-", "neg-" detect = cv2.xfeatures2d.SIFT_create() extract = cv2.xfeatures2d.SIFT_create() flann_params = dict(algorithm =...
[ "963029512@qq.com" ]
963029512@qq.com
cf68ebfab84f0da4056dfcede45a67a68f7f0db2
7e39a959e5d37f8ae342a031cbf551d415a331c8
/Month1/Xml_sax_parser_attr.py
ded5313c5f51e5473e39d3ea8b312f0b1e65a125
[]
no_license
ciecmoxia/moxiatest
82863a8af9580bf369af9007be0feb9fc6c7a08e
f06663a4c85006a5049bf2021d849106ce2f137d
refs/heads/main
2023-07-31T05:55:31.915694
2021-09-28T09:34:17
2021-09-28T09:34:17
329,915,200
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
import xml.sax class Peoson: #初始化对象 def __init__(self,name,age): self.name=name self.age=age def __str__(self): return 'Person name:{s.name},Person age:{s.age}'.format(s=self) class Myhandler(xml.sax.handler.ContentHandler):#继承 def __init__(self): self.persons=[] def startElement(self, tag_name, tag_attr...
[ "ciecmoxia@163.com" ]
ciecmoxia@163.com
14c7f9577956db004b7db590687e30e8fdba3192
ad0e853db635edc578d58891b90f8e45a72a724f
/rllib/examples/inference_and_serving/policy_inference_after_training.py
17f033847ec1c046e9d6f405d8517c6f099104ee
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
ericl/ray
8c93fc713af3b753215d4fe6221278700936e2db
e9a1c6d814fb1a81033809f56695030d651388f5
refs/heads/master
2023-08-31T11:53:23.584855
2023-06-07T21:04:28
2023-06-07T21:04:28
91,077,004
2
4
Apache-2.0
2023-01-11T17:19:10
2017-05-12T09:51:04
Python
UTF-8
Python
false
false
3,804
py
""" Example showing how you can use your trained policy for inference (computing actions) in an environment. Includes options for LSTM-based models (--use-lstm), attention-net models (--use-attention), and plain (non-recurrent) models. """ import argparse import gymnasium as gym import os import ray from ray import a...
[ "noreply@github.com" ]
ericl.noreply@github.com
4bd195e3df647270c6eea05e2cc3f7ac68928f9e
4852ff5fc90646473a62b2a57b54e0f4b1ad7818
/eval.py
79be7765a51046ec5a8eac4a01036afae6c03ee3
[]
no_license
gunterya/idss_pw3
f4765ac93733c1810af53d1c88e78d8a60c250b6
12844bd55edb8c67c9a0ae7121db1df17716da5c
refs/heads/master
2020-03-15T23:52:55.659581
2018-06-07T09:09:49
2018-06-07T09:09:49
132,402,637
2
3
null
2018-05-26T10:16:18
2018-05-07T03:32:52
Jupyter Notebook
UTF-8
Python
false
false
3,342
py
import itertools import numpy as np import matplotlib.pyplot as plt from sklearn.metrics import confusion_matrix class_names = ['HF presence', 'HF absence'] def eval(model, X, y, output_path): prediction = model.predict(X) # plot ROC curve plt.figure() plot_roc(y, prediction) plt.savefig(output_p...
[ "krotslya2@gmail.com" ]
krotslya2@gmail.com
fe0088ebf9df88a75d965d942d219349f3a68477
70bfe6d30059ea78f3e12921e1875773782453f6
/tencentcloud/vod/v20180717/errorcodes.py
2d03545d2145754adfdcd1419abaf7232659bc47
[ "Apache-2.0" ]
permissive
sangliangliang/tencentcloud-sdk-python
d28e308df871fc6a94d3afb59f3365a6cc865f1c
82c7fc4da7f5131688fc01dc90d4465b7b3b41a2
refs/heads/master
2023-08-03T21:44:05.595225
2021-09-13T01:10:52
2021-09-13T01:10:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,847
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. # # 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...
[ "tencentcloudapi@tenent.com" ]
tencentcloudapi@tenent.com
ff984b9b73b212e1cece1c76f68d4190532a0066
15bc63298145b7864a35a38c86253b8dbcba1c5d
/osakeseuranta/src/ui/user_view.py
de8efd8bd85779652f20fd02830fc5001988fae9
[]
no_license
jarisokka/ot-harjoitustyo
8c34f9994a70ef18d49e35a7d6c2ac38f0af2f56
33281fc7466a15b226b3a4e113faef2ea339a540
refs/heads/master
2023-04-30T00:30:47.291865
2021-05-11T08:10:43
2021-05-11T08:10:43
348,694,626
0
0
null
null
null
null
UTF-8
Python
false
false
10,399
py
from tkinter import * from tkinter import Tk, ttk, constants, messagebox, StringVar from services.stock_services import stock_services, InvalidValuesError, StockExistsError, GeneralError class UserView: def __init__(self, root, user): self._root = root self._user = user self._root.geometry(...
[ "sokkajar@gmail.com" ]
sokkajar@gmail.com
1ea7ec9cd6f0f33042d9eac704a7f47a193c0f13
8bcf973008b1d7549f59501a1667909848ea87dd
/Day0617/staff_info/bin/start.py
ff176549a916a65c76e64836aa50c52a7c6e5635
[]
no_license
simplesmall/Python-FullStack
74ffeb2119eecb7fcb21a136d01aaaf2bcc2c24c
210844ef6443a5543d49a20dbec2db9a9b960230
refs/heads/master
2022-12-17T00:56:40.515335
2019-11-15T02:07:57
2019-11-15T02:07:57
221,816,447
0
1
null
2022-12-13T19:22:26
2019-11-15T01:10:55
Python
UTF-8
Python
false
false
327
py
import sys import os # print(sys.path) #获取start.py的路径 #当前文件往上翻两层 staff_info project_path = os.path.dirname(os.path.dirname(__file__)) sys.path.append(project_path) #把staff_info添加到sys.path中 print(project_path) from core import main if __name__ == '__main__': main.home()
[ "simplesmall@outlook.com" ]
simplesmall@outlook.com
c2f331959148c7f2188f9d7d23486a0a3939935a
c763ed96250b1b7168625a279e5409efec888cc7
/backup_Dispersion.py
e300901e3ba1824bdee4e844a612c8cc6d51cb33
[]
no_license
rumbaugh/pythonscripts
1e63167c5ef831b4287fe080256e6bc1f9caa923
58b1d480371a75e197fedd8c45e0af91b3528d98
refs/heads/master
2020-12-24T12:00:46.203202
2017-06-26T20:26:21
2017-06-26T20:26:21
73,103,188
0
0
null
null
null
null
UTF-8
Python
false
false
17,510
py
#these functions calculate the dispersions as defined in Pelt et al. (1996,1998) #and used in Fassnacht et al. 1999 import time import numpy as np import sys def D_2_old(A,B,A_t,B_t,A_err,B_err,mu,tau): G_ref = np.append(np.zeros(len(A),dtype='int'),np.ones(len(B),dtype='int')) comb_flux = np.append(A,B*mu) ...
[ "takkyon13@gmail.com" ]
takkyon13@gmail.com
ceb3d6340e2218d1766db65a40ce31258490f3f8
7e5dedaafe433dc45feeb428885c37ac0ebe9f9b
/cnn.py
d29cc45e7557046b6f370cd6d10973fd08dcb6fe
[]
no_license
BalramKokkula/dogcatclassification
035672891918652f414a0bfc9a98d71a82f9fe10
a48dde37883ea971626a19753b14d6e2d6462775
refs/heads/master
2022-12-04T01:21:42.622774
2020-08-25T13:06:43
2020-08-25T13:06:43
289,666,302
0
0
null
null
null
null
UTF-8
Python
false
false
2,515
py
from keras.models import Sequential from keras.layers import Conv2D from keras.layers import MaxPooling2D from keras.layers import Flatten from keras.layers import Dense # Initialising the CNN classifier = Sequential() # Step 1 - Convolution classifier.add(Conv2D(32, (3, 3), input_shape = (64, 64, 3), activation = '...
[ "ballu4u1@gmail.com" ]
ballu4u1@gmail.com
71ba4ee7dbdb38f9f5e41c9b92d886fda6729209
91c7de67e656fec2b9c32b64e1b6ae88083a0283
/functional_tests/test_simple_list_creation.py
f5aee3c61fd7a18d274cbbaf40fa57f4feb504f4
[]
no_license
pohily/TDD
e0a85c60c5ee2e7388323ffb00b7fe81372431c1
60d2a0f9debfcc22be54d85e981aee23f8113563
refs/heads/master
2022-05-04T20:07:46.296627
2019-07-24T11:57:19
2019-07-24T11:57:19
189,567,223
0
0
null
2022-04-22T21:23:44
2019-05-31T09:28:16
JavaScript
UTF-8
Python
false
false
3,307
py
from .base import FunctionalTest from selenium import webdriver from selenium.webdriver.common.keys import Keys class NewVisitorTest(FunctionalTest): def test_can_start_a_list_for_one_user(self): # Edith has heard about a cool new online to-do app. She goes # to check out its homepage sel...
[ "mpohily@gmail.com" ]
mpohily@gmail.com
2ed9f83a79a48cfd95f2eb595c5dee45aee3f6df
1793cc93dda9abcfb511a3b6035bfdb47aee0ed9
/cli/__init__.py
55a92b05fdc75c21ba2172df49aa0c1fa970f977
[]
no_license
joaodlf/flask-boilerplate
3cbb0faab9168ab05cbd64684c6e208a29ce85de
4fc6770958806b613f8c23480fc9cd80f9e55b53
refs/heads/master
2021-04-28T15:18:54.839064
2019-05-11T19:53:23
2019-05-11T19:53:23
121,984,513
4
0
null
null
null
null
UTF-8
Python
false
false
2,528
py
import atexit import logging import os import logzero import pendulum import sentry_sdk from logzero import logger from sentry_sdk import capture_message from config import SENTRY_DSN from models.cli import Cli as CliModel class Cli: """The class every CLI job should inherit from. It creates/updates a c...
[ "jdlferreira90@gmail.com" ]
jdlferreira90@gmail.com
ac870263f8705e0386c2f031c4c9df30f3c6981c
23e7fa782f9169b45d3d9c4fb3c8b06f0804ff1d
/aula8/MongoDB/MongoFunctions.py
796c89fd21afec8d2a35137a8790745473196297
[]
no_license
rgleme/python_fundamentals
0a41847ba3b282d96355037650f2873312d77b3b
2dd7d4a376b8c79e6528aba7514e12d69a7a100d
refs/heads/master
2020-03-23T02:17:14.662863
2018-08-09T01:54:37
2018-08-09T01:54:37
140,966,610
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
#!/usr/bin/python from pymongo import MongoClient from datetime import datetime def registrar_logs(login,ip): try: client = MongoClient("127.0.0.1") db = client["admssh"] db.logs.insert({"administrador":login,"servidor":ip,"data":datetime.now()}) except Exception as e: print "Erro: %s"%e def listar_ultimos...
[ "rodolfo43@gmail.com" ]
rodolfo43@gmail.com
2f7ebcbf553e4d015196269d689ebb59930f2dd0
0cf3d67f4ed1a388fdcbeb150693279f75bb2ea2
/src/MuyPicky/settings/local.py
6df0fe5925f6090383ba3b66727b4eaf8577d7a9
[ "MIT" ]
permissive
thomasrjones211/django2
8da991a4820b5846f454f5f3689ad1c41687551c
135db5052836236e3f94063828d7f029e7702819
refs/heads/master
2021-01-19T14:18:42.876804
2017-08-22T06:34:12
2017-08-22T06:34:12
100,896,778
0
0
null
null
null
null
UTF-8
Python
false
false
3,119
py
""" Django settings for MuyPicky project. Generated by 'django-admin startproject' using Django 1.11.3. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import o...
[ "thomasrjones211@gmail.com" ]
thomasrjones211@gmail.com
8b7d5844b805f7521b51862be13a3d5c04a7be2c
5c200da6dcc7ef6ad2cf87ca2c89b3a8a5480acf
/clase_simulacion.py
318cb2df11765cadbf017857ed82b8384a7ad277
[]
no_license
DavidVillalobosG/TareaProgramadaTermo
d1a67bb7b125adcaedbd33f46f668dfa41b66890
0f33d24a8773fda2e34d98cdc1e82a8db005318f
refs/heads/master
2022-11-23T06:17:27.269729
2020-07-15T03:44:42
2020-07-15T03:44:42
279,751,840
0
0
null
null
null
null
UTF-8
Python
false
false
3,950
py
#Fecha de creación: 19/6/2020 9:30pm #Última actualización: 13/7/2020 #Versión 3.8.3 #Importación de librerías import tkinter as tk import numpy as np import matplotlib.pyplot as plt from funciones import calcularNuevaMatriz #Definición de la clase Simulacion class Simulacion: """Definición ...
[ "noreply@github.com" ]
DavidVillalobosG.noreply@github.com
e3ae23e183adf64fde585cc7af4664706cfcceab
eed9b3d099facd98b8a139681808997d60b4e19c
/decorator_opt_arg/decorators.py
4442035bdc787580a9d4d98b7258dade8ef37179
[]
no_license
pybites/blog_code
1240a3393a3672681d97c369711be6c7415d8c10
902ebb87e5f7a407714d0e399833f0331a1b915d
refs/heads/master
2022-12-10T19:50:57.718119
2020-08-08T17:13:15
2020-08-08T17:13:15
76,716,190
49
47
null
2022-11-22T01:54:20
2016-12-17T09:51:12
HTML
UTF-8
Python
false
false
514
py
from functools import wraps import time def sleep(seconds=None): def real_decorator(func): @wraps(func) def wrapper(*args, **kwargs): print('Sleeping for {} seconds'.format(seconds)) time.sleep(seconds if seconds else 1) return func(*args, **kwargs) retur...
[ "pybites@projects.bobbelderbos.com" ]
pybites@projects.bobbelderbos.com
5a92103a1953fe3eabb579d1a1438ffb4eecdb7d
a02c9c9d7142069df7c98671aad6061d605a7c41
/DFS/knock29.py
96311e01cbb12c361cd1fd7300eaf395cf920a7e
[]
no_license
aktsan/Atcoder_100knocks
223f5f967bc5e02d2af62ca8495612b0a35de1fb
c017f091b43df8f930c979ed85ea65b0bba42102
refs/heads/main
2023-01-30T20:21:03.147590
2020-12-10T12:37:57
2020-12-10T12:37:57
311,620,463
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
from collections import deque R,C = map(int,input().split()) sy,sx = map(int,input().split()) gy,gx = map(int,input().split()) #indexを揃えるため stage = [['nemui']]+[[['a']]+list(input()) for _ in range(R)] #時間を表す time = 0 #探索済み visited = [] #時間を記録する vector = [[0] * (C+1) for _ in range(R+1)] #探索方向 dir = [[0,1],[0,-1],[1,0]...
[ "aktbox6@yahoo.co.jp" ]
aktbox6@yahoo.co.jp
1e6f857dbc02d3f5719868bdd2287c9d73f2ae8a
6c68f36343b9a177c7c3e7062bd9d8892abc9487
/python_tutorial/basic/base3.py
b49eef92fac28aaf8d09a4047674b8c278ad4d32
[]
no_license
missasan/flask_python_tutorial
7373a90bc1b0a75d75ddca1b1d46ac5276f9710c
5bd9d541c084671653e53ee10a5432781d718a8c
refs/heads/main
2023-08-12T18:15:49.875356
2021-09-21T01:01:20
2021-09-21T01:01:20
379,757,392
0
0
null
2021-09-21T01:01:21
2021-06-24T00:02:35
Python
UTF-8
Python
false
false
230
py
# 論理型 is_animal = True if is_animal: print('動物です') is_man = True is_adult = True # or文 if is_man or is_adult: print('男か大人です') # and文 if is_man and is_adult: print('成人男性です')
[ "marukuteiimono@gmail.com" ]
marukuteiimono@gmail.com
6a02fca6a9a04cae32ecd20d9968794b9f89b69b
23e41c63a6f5d0a5d7491c3b2cf9a1d9b1e1653a
/active_subnets.py
c570d2ae6190e12a4a79278ef81337f5fa2c2fc8
[]
no_license
feabell/sanity_parser
0568c7ef3ef1759ad5f0e23976da7d208e761bd5
38aa5945c2bb7aeda1b86f5add3ebb8f892f3dc0
refs/heads/master
2020-03-06T20:26:15.208101
2018-03-27T22:30:00
2018-03-27T22:30:00
127,053,008
0
0
null
null
null
null
UTF-8
Python
false
false
2,362
py
import requests import re import os user = '' password = '' baseurl = 'https://sanity.vodafone.co.nz/' def get_leaf_from_tree(pageurl, leaflist): r = requests.get(baseurl + pageurl, auth=(user, password)) if 'ip_tree.php' in r.text or 'subnet_tree.php' in r.text: leaflines = r.text.splitlines() for li...
[ "feabell@gmail.com" ]
feabell@gmail.com
65ee59c7c08b8852c696c082da9dae5e5c712f37
c1a6e2b0b4ba380e6d7b8c5484309fbd1ffd6e43
/mp2/uttt.py
f7c77c37d8b12e71261306f2bc84c6f663ddedc5
[]
no_license
jasonwhwang/cs440
af001285e7aeef24902a02d757f316b5c04cc5dc
317469c417f965a684e50bf478a616819c6946e3
refs/heads/master
2020-04-19T01:15:07.489709
2019-05-02T23:13:21
2019-05-02T23:13:21
167,867,314
1
0
null
null
null
null
UTF-8
Python
false
false
18,182
py
from time import sleep from math import inf from random import randint class ultimateTicTacToe: def __init__(self): """ Initialization of the game. """ self.board=[['_','_','_','_','_','_','_','_','_'], ['_','_','_','_','_','_','_','_','_'], [...
[ "jasonwhwang@gmail.com" ]
jasonwhwang@gmail.com
342e7acc88ea1e98b7fe31f2e5223d18837b7c17
c343239aa2f687da61266e8d4d640866c8a5edce
/2022-python/day06/solution.py
6486c623b29203aa077a4aff6381f771e041f9f8
[]
no_license
erikiva/advent-of-code
e8f1b6fd7942d445834c7c8ed4a6e014d2cb7add
54443ed8b2dee7ccfc8c567d5d62c27b6d86be59
refs/heads/main
2023-01-10T01:45:14.236480
2022-12-25T21:24:25
2022-12-25T21:24:25
226,888,408
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
def part_both(data, length): for i in range(0, len(data)): if len(set(data[i:i+length])) == length: return i+length return 0
[ "natalia.vidal@automattic.com" ]
natalia.vidal@automattic.com
eede51ebc331fa51514c6f113c817b1613668960
ba7c9471429123c740bbc0b146245f5d1ce427ca
/blog/users/utils.py
88c730a5e98dfd6c3b278bc1113c8793b9dc2027
[]
no_license
pcoffey/Flask_Blog
37ac9cf4bd06e0cec44179e579760760c5d966e8
5941da349318ee7a7014f209a23c1be198573d3e
refs/heads/master
2020-03-24T19:56:10.683092
2018-08-02T02:05:53
2018-08-02T02:05:53
142,951,164
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
import os import secrets from PIL import Image from flask import url_for, current_app from flask_mail import Message from blog import mail def save_picture(form_picture): random_hex = secrets.token_hex(8) _, f_ext = os.path.splitext(form_picture.filename) picture_fn = random_hex + f_ext picture_path...
[ "pcoffey2@gmail.com" ]
pcoffey2@gmail.com
6c8073ba6c13a556daa80ca42d57430f7be963db
6daffb0191a719ab62fef050759f0e99e44d6203
/Superbowllish_CNN.py
a57a21f5dcda6f97eaf7c78c7a84592915fc9081
[]
no_license
Staytunedl/Superbowllish-CNN-
cdbe997efc6f3b4a2790af977d0daa373db2ab62
625679a8b61b585c3572693c72b9797021fa53a6
refs/heads/master
2020-07-09T18:49:57.332441
2019-08-23T19:01:08
2019-08-23T19:01:08
204,053,959
0
0
null
null
null
null
UTF-8
Python
false
false
3,975
py
from keras.preprocessing.image import ImageDataGenerator from keras.models import Sequential from keras.layers import Conv2D, MaxPooling2D from keras.layers import Activation, Dropout, Flatten, Dense from keras import backend as K from keras.preprocessing.image import img_to_array, load_img import numpy as np im...
[ "noreply@github.com" ]
Staytunedl.noreply@github.com
035b1c30c5a811cf38181ee197300dfdf2e01e7d
e9ba199fd5632e647183664ac5892a22251329d1
/Curso/Mundo 2/Desafio037.py
b1052623fc091f464879211ecf3b5387eba970ae
[]
no_license
Igor-Ferraz7/CursoEmVideo-Python
625aa694aa8e6d0d93d37a732dd1412097a735e8
e59d7abec5fb69b5c96999701d641054360d5ade
refs/heads/master
2023-04-30T14:28:43.532616
2021-05-05T23:56:43
2021-05-05T23:56:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
br = '\033[30m' vm = '\033[4;31m' vd = '\033[32m' a = '\033[33m' az = '\033[34m' r = '\033[35m' ci = '\033[36m' des = '\033[m' cvs = '\033[36mConversor\033[30m' print(f'{br}{cvs:=^78}') n = int(input(f'\033[4;36mDigite o número inteiro{des}: ')) bi = bin(n) oc = oct(n) he = hex(n) print(f'{br}[1] {a}Binário \n{br}[2] {...
[ "igorsousaferrazaraga2@gmail.com" ]
igorsousaferrazaraga2@gmail.com
7d2b33db4c8496d881166db313cdfc29ef465a34
a2bc17600cd0f637b2188ae0feeac58fe68ff82d
/tests/unit/test_lock.py
b9f953c717b37679f842b478931f5b511ddad87b
[ "Apache-2.0" ]
permissive
stealthycoin/lynk
0f8f7649e98b65d0fa0888ffd53f99460740a453
49e8aebdfe39d468722740d889632f7775b4e5fd
refs/heads/master
2020-04-09T22:02:00.237079
2019-01-18T00:08:32
2019-01-18T00:08:32
160,618,417
3
0
Apache-2.0
2019-01-18T00:08:33
2018-12-06T04:25:34
Python
UTF-8
Python
false
false
3,731
py
import json import pytest import mock from lynk.lock import Lock from lynk.techniques import BaseTechnique from lynk.refresh import LockRefresherFactory from lynk.refresh import LockRefresher from lynk.exceptions import LockNotGrantedError @pytest.fixture def create_lock(): def wrapped(name=None, technique=None...
[ "stealthycoin@users.noreply.github.com" ]
stealthycoin@users.noreply.github.com
d27c15c3aeb48b1eaf584f35d1acd2898bc4befa
128c6a5f23460b4352776685855485b90cedb8e7
/src/sleuth/lingo/.svn/text-base/typecheck.py.svn-base
af54484fb0068339921889c9d74452667e37bb2d
[]
no_license
swastikaB/pysleuth
e556035b21c9a77049ce45247b32b140724a2026
6fea8800c3e4540c75f9a210ff6b0322ed1a178f
refs/heads/master
2021-01-19T19:39:55.826284
2013-03-13T22:39:51
2013-03-13T22:39:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,894
from sleuth.common.exception import TypeException from sleuth.lingo.components import * from sleuth.lingo.types import * import sys import copy ''' First renames all variables within functions to prepend with function name, that way they do not clash. Then do standard unification as per Lecture 10 Sl...
[ "mkedlaya@cs.ucsb.edu" ]
mkedlaya@cs.ucsb.edu
feacf8b21b75444ab105e20141abc0c070263ae5
b97795e2e4a397fff0f74b2221baa09a963b0864
/script/jupyter_setup.py
2db62d2550853a4a11315622bad5cda0eef4eb21
[ "MIT" ]
permissive
lyltc1/ControlPractice
805537bf8d78821fb55977aaf7b01a83a215f38a
e88dd94494b178f98496b59125b35ccc5b08ccc7
refs/heads/master
2021-04-13T06:29:00.672881
2020-03-22T10:19:26
2020-03-22T10:19:26
249,143,573
0
0
null
null
null
null
UTF-8
Python
false
false
2,630
py
import sys import platform from IPython import get_ipython def setup_drake(): """Install drake (if necessary) and set up the path. On Google Colab: This will take a minute, but should only need to reinstall once every 12 hours. Colab will ask you to "Reset all runtimes", say no to save yourself ...
[ "870767645@qq.com" ]
870767645@qq.com
466fc433679f2ffd757047383ae1a1f4f49c622c
0fea5b92baacf23d89c2e1a218fc2b3a0e52cb8d
/python/Scraper/download_with_retry.py
faae0e727a2780f06cb177a061f9eb41db9328c0
[ "Apache-2.0" ]
permissive
davidgjy/arch-lib
d0d426c97584e38371db53869878eedbf95e748a
b4402b96d2540995a848e6c5f600b2d99847ded6
refs/heads/master
2021-01-20T09:07:20.706972
2018-02-12T11:53:34
2018-02-12T11:53:34
90,223,697
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
import urllib.request def download(url, num_retries=2): print('Downloading:', url) try: html = urllib.request.urlopen(url).read() except urllib.URLError as e: print('Download error:' % e.reason) html = None if num_retries > 0: if hasattr(e, 'code') and 500 <= e.code < 600: # recursively re...
[ "davidgjy@163.com" ]
davidgjy@163.com
a9e2383f7e2a435a177bc299495f2ad72c71be62
8d5f3ec2d50f1cb7d694a1016105bcf37b3dc829
/distinctcharacters.py
d0fe31912d0f98b3ae56ee7d51bdff55635bb86c
[]
no_license
SushantSriv/CODECHEF_python-codes
acbbabb33d1481d32f3b70b517927631703fa43f
a4524356e8d19ba1206e1688f9e307c7d462c213
refs/heads/master
2021-09-21T15:32:42.777321
2018-08-28T15:33:49
2018-08-28T15:33:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
for test in range(int(input())): s=input() print(len(list(set(s))))
[ "noreply@github.com" ]
SushantSriv.noreply@github.com
713275915abef8843f8041d6f606da3ed88339b9
f77593e9e9a112e85acd3c73c056a7466d76e15e
/request_delivery_installation/request_delivery_installation/urls.py
d15cc80688686b4ea06f1692684c43314ce8d0e5
[]
no_license
geethusuresh/reqest_installation
bf47c915aee1e1f7730ea858c000a6dd434a79fb
d047fa9f303273915651d0cbe03b7795f157f31c
refs/heads/master
2021-01-25T04:09:10.282831
2014-09-28T06:40:10
2014-09-28T06:40:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
from django.conf.urls import patterns, include, url from django.conf import settings from django.contrib.auth.decorators import login_required from django.contrib import admin admin.autodiscover() from web.views import * urlpatterns = patterns('', url(r'^$', login_required(Home.as_view()), name='home'), ...
[ "geethu@technomicssolutions.com" ]
geethu@technomicssolutions.com
b322ea2d72b18ac419fd10def38fddbe0d30c1b5
3522a0e5806f9a4727ed542aab8f1eff610728c7
/src/store/models/Tag.py
8bdd285037ae9feda1cece5c858ea56bc0a267f2
[ "MIT" ]
permissive
jswilson/range-tagger
f17cf82011cfef97cfec84522e9c0d70cc0e9fc0
0a60c7c44af5effb77ded80005bc7a066ca65c60
refs/heads/master
2020-07-07T03:43:43.542639
2019-09-02T22:05:28
2019-09-02T22:05:28
203,235,243
1
0
null
2019-09-02T17:25:38
2019-08-19T19:18:38
Python
UTF-8
Python
false
false
185
py
import uuid class Tag: def __init__(self, name): self.id = uuid.uuid4() self.name = name def __eq__(self, other): return str(self.id) == str(other.id)
[ "js.wilson@ymail.com" ]
js.wilson@ymail.com
819b17f1e0d7402b82de668bfef664f59a4fba1e
87aebf520931c1a94dc86c3af0806c7f439ccb65
/checkout/migrations/0005_auto_20210102_1730.py
8bf055961f2c008d388aa1e492c75f532d9af196
[]
no_license
Code-Institute-Submissions/beauty4u
4220071f40ae28bd30f8656c77956392800600c9
63c3f4d1692fd3228d2acc69ab2b700f9591ad5d
refs/heads/master
2023-02-27T00:58:29.271850
2021-01-30T14:24:43
2021-01-30T14:24:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
# Generated by Django 3.0.7 on 2021-01-02 17:30 from django.db import migrations import django_countries.fields class Migration(migrations.Migration): dependencies = [ ('checkout', '0004_auto_20201223_2255'), ] operations = [ migrations.AlterField( model_name='order', ...
[ "davidosongschool@gmail.com" ]
davidosongschool@gmail.com
ff7a8052353fba5d6f3f55a8adde037cec69a56c
96d6e8e34bc10c769a0407612deaeb6255dea449
/demos/time/time_service.py
efc9605cf52f1e0a480003dddc759c3d7e7933d2
[ "MIT" ]
permissive
tomerfiliba-org/rpyc
d02115577b478ee49b1348f68f6e6905832847f3
9632c6db04b321b2fbcef3b99760436633874c29
refs/heads/master
2023-08-06T16:30:42.277071
2023-06-10T01:55:50
2023-06-10T01:55:50
145,733
524
62
NOASSERTION
2023-06-10T01:55:51
2009-03-08T11:23:29
Python
UTF-8
Python
false
false
186
py
import time from rpyc import Service class TimeService(Service): def exposed_get_utc(self): return time.time() def exposed_get_time(self): return time.ctime()
[ "tomerf@il.ibm.com" ]
tomerf@il.ibm.com
1d478e60d70d7e060c9eea09d83b00c7e8bb0fee
fbe504abceda961d0ce168e4d54c9e51f6ba213f
/utils/model.py
af2bf3b0ebe2b6371522f1c4e2454021095ce1e7
[ "MIT" ]
permissive
SourabhSomdeve/ANN_implementation
0ad50be5637a508b9f1a134b27a34ebf5dc5d8f0
077b26fa447ceec6c586c2dde86d18ce3dca4b15
refs/heads/main
2023-08-18T00:19:50.657431
2021-10-01T15:09:46
2021-10-01T15:09:46
412,318,083
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
from contextlib import nullcontext import numpy as np import matplotlib.pyplot as plt import pandas as pd import seaborn as sns import tensorflow as tf import logging logger = logging.getLogger(__name__) class ANN_model(): def __init__(self,epochs): self.epochs = epochs self.model_clf = None ...
[ "sourabhsomdev@winjit.com" ]
sourabhsomdev@winjit.com
e138a5128d3e3e438bd4707a8f2d9b4478c022c6
74008bd3612b2bb8bc780d7b86dccaeba29f21a2
/Python/SoundingKeyboardMouse.py
7643ded824af208635403fed7caf15f9590f6b5d
[]
no_license
ATAccessGroup/Scripting-Recipes-for-AT
94c120c60add7a0746574d391f46a4681ae1ccfc
2becedf9c5aa5c9572fe5dfa302859bd74e9dfe3
refs/heads/master
2020-04-05T23:41:04.145809
2017-06-05T12:08:49
2017-06-05T12:08:49
4,162,779
2
0
null
null
null
null
UTF-8
Python
false
false
2,255
py
class _Getch: """Gets a single character from standard input. Does not echo to the screen.""" def __init__(self): try: self.impl = _GetchWindows() except ImportError: try: self.impl = _GetchMacCarbon() except AttributeError: se...
[ "willwade@gmail.com" ]
willwade@gmail.com
45149d5320d27687d7ff31975d14835cd619efa7
5d77833445b1ef95b5ca7b9a886f98cb38a16286
/code/9-12 TacotronDecoderwrapper.py
28ddda9aacb18edb2af96dfac848ac5941305610
[]
no_license
wangbin0227/TensorFlow_Engineering_Implementation
bbafa4933c3244b65f0d3a2625fd58a9f8726c34
cb787e359da9ac5a08d00cd2458fecb4cb5a3a31
refs/heads/master
2023-03-18T10:58:58.916184
2021-03-16T15:03:49
2021-03-16T15:03:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,362
py
""" @author: 代码医生工作室 @公众号:xiangyuejiqiren (内有更多优秀文章及学习资料) @来源: <深度学习之TensorFlow工程化项目实战>配套代码 (700+页) @配套代码技术支持:bbs.aianaconda.com (有问必答) """ import tensorflow as tf from tensorflow.python.framework import ops, tensor_shape from tensorflow.python.ops import array_ops, check_ops, rnn_cell_impl, tensor_array_ops fr...
[ "aianaconda@qq.com" ]
aianaconda@qq.com
0efcb951cae29071b43f4b4e3e8a409bd16f1465
dd6067dee3f89ae8ceb7fec024b67842c7656281
/comparator.py
5501a46e1aca830045c0c4f79d9a18ad93a32334
[]
no_license
JoanBas/CLUSTER
7d5b4876f522c0a932793e8c5c7ce29303ce9810
a0b7235f659d02b0aac6dc8bd4a04dd200da28e4
refs/heads/master
2021-01-11T05:49:37.306695
2017-06-21T17:03:14
2017-06-21T17:03:14
94,894,833
0
0
null
null
null
null
UTF-8
Python
false
false
2,354
py
from MODEL_multi_combined import MODEL import numpy as np import multiprocessing as mtp def two_options(): event_pairs=[["views","comments"],["edits","comments"]] for event_pair in event_pairs: total_means=[] for i in range(10): print "RONDA", i mu_increased_factors=[1.,...
[ "joan_bas@hotmail.com" ]
joan_bas@hotmail.com
42e5956217bb73d7bf84ce47a3cd84c808b6c11f
2130aa6efd199c612b03b0cd949375dd828dd218
/acoustid/data/submission.py
b3897ac10f2f83bd8c45d4bea70e680730d28066
[ "MIT" ]
permissive
bazo/acoustid-server
4774965b8a16555100c972c09582bb09ea10df3f
56b11f1bbd093e23970d9baae2a2655ecea34aee
refs/heads/master
2020-05-27T21:08:29.078822
2017-01-02T20:19:42
2017-01-02T20:19:42
83,599,159
1
0
null
2017-03-01T20:36:20
2017-03-01T20:36:20
null
UTF-8
Python
false
false
6,283
py
# Copyright (C) 2011 Lukas Lalinsky # Distributed under the MIT license, see the LICENSE file for details. import logging from sqlalchemy import sql from acoustid import tables as schema, const from acoustid.data.fingerprint import lookup_fingerprint, insert_fingerprint, inc_fingerprint_submission_count, FingerprintSe...
[ "lalinsky@gmail.com" ]
lalinsky@gmail.com
691d3c6b1bc19c12fae79418d90e9c0310fb8606
66e44eae3739e63cc9665d532ac1c394afdeabf1
/trxFit/trx/pagina/migrations/0013_auto_20171118_2153.py
8c266c605092b9c11af62f0cf5ab040073065cef
[]
no_license
juandiemore/trxFit
6928fda3a87e6e927b942c612cb9d56af40ec1ce
f8f5d7cad3556f76fefff58a0aa1c425a3af6d57
refs/heads/master
2021-08-17T01:57:24.356073
2017-11-20T17:07:02
2017-11-20T17:07:02
111,346,655
0
1
null
null
null
null
UTF-8
Python
false
false
433
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-11-19 02:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pagina', '0012_auto_20171118_2148'), ] operations = [ migrations.AlterField( ...
[ "33384270+juandiemore@users.noreply.github.com" ]
33384270+juandiemore@users.noreply.github.com
f5c2598a311a20bb0bc5d196fce0031e4e299713
44a76b217c9b07f4a5df507fc405bfefefa939f6
/Product_details/views.py
65dee59b171e8e27198562df0879150d61f81e68
[]
no_license
sameesayeed007/ecommercesite
140f35a7616d79502d3aa7d3d192f859dd23f1ff
1f832f357dc50e3e34d944d3750e07bdfd26e6ef
refs/heads/master
2023-02-10T02:02:19.736070
2021-01-06T11:16:13
2021-01-06T11:16:13
327,283,955
0
0
null
null
null
null
UTF-8
Python
false
false
320,265
py
from django.shortcuts import render from django.http import HttpResponse from django.http.response import JsonResponse from rest_framework.parsers import JSONParser from rest_framework import status import datetime from difflib import SequenceMatcher import json from Intense.models import ( Product, Order, Termina...
[ "sameesayeed880@gmail.com" ]
sameesayeed880@gmail.com
52af385f78f4d9e578bfe1d8e848885d90d97bd9
3adf57ec6763d53e2e762e67244dafb8553e86ec
/zoara_model_build_val.py
e11494aede0a40f4f87639ea38859ba9739d7886
[]
no_license
baronessvonblixen/bonfire-of-vanities
d7b330157092c2ccd2b9416be69cedcae9fc982a
622cac439a0917f0551891823a96404f452e0dae
refs/heads/master
2020-09-20T09:53:34.159053
2020-03-11T15:25:38
2020-03-11T15:25:38
224,442,901
2
0
null
null
null
null
UTF-8
Python
false
false
8,967
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jan 30 16:49:31 2020 @author: meghan """ start with importing data set as a dataframe in pandas import matplotlib.pyplot as plt import numpy as np import pandas as pd import matplotlib df_stalking_complete = pd.read_csv("/Users/meghan/Desktop/2006ST...
[ "58261016+baronessvonblixen@users.noreply.github.com" ]
58261016+baronessvonblixen@users.noreply.github.com
5e44160023e022affc7fdd6e109324020be79d42
da5ada14fae42304263d1e36ca8b8eeda289fe0a
/class_ex/rest_api/rest_modify.py
4f4514f7020cc8654efa9927ddcc25cfa9d0a248
[]
no_license
abhinav2938/Kirk_python-course
8588ba671f4c98a9adeeca783885d6fa2706909a
0bde7a2b09c67c628a9fc78dac773ec2603ae249
refs/heads/main
2023-01-22T18:13:10.668803
2020-11-25T18:20:11
2020-11-25T18:20:11
303,238,515
1
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
import requests import json import os from pprint import pprint from urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(category= InsecureRequestWarning) if __name__ == '__main__': #token = '63aa375e2590159ca3171c5269931043b85d33cf' token = os.environ['NETBOX_TOKEN'...
[ "abhinavkumar2938@gmail.com" ]
abhinavkumar2938@gmail.com
6b80cea06c20cf4f4964ca2ca80f3fbf8dc20096
8d84f3fbffb62fe7a217b740ffa6dd17804dfab4
/Lumberyard/1.7.0.0/dev/TestHyperealVR/AWS/project-code/AccessResourceHandler.py
661787255a03e5eb26a132e10f4a85e0a8d65d21
[]
no_license
inkcomic/AmazonHypereal
1fff1bcd5d75fc238a2c0f72fdc22c6419f1e883
e895c082a86490e80e8b7cb3efd66f737351200d
refs/heads/master
2021-01-21T05:13:57.951700
2017-03-15T16:45:26
2017-03-15T16:49:57
83,153,128
1
0
null
2017-03-15T16:49:59
2017-02-25T18:31:12
Python
UTF-8
Python
false
false
9,188
py
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or th...
[ "inkcomic@gmail.com" ]
inkcomic@gmail.com
25ef6c97fd596d1d2354d836019a500f2ecc8459
a1508558da875f6ea3c55840b44df74dfd8e5f54
/trade_free/portfolio/simple_portfolio.py
94769841a1f4946dcd4018c81dafdf1cb40da449
[ "Apache-2.0" ]
permissive
NewLanded/TradeFree
49cea6a17b5f3b4661d1c98a81e031123f02b3e6
f65122f5ed01cc1272fd2f03121ff3805a1967cb
refs/heads/master
2020-07-19T21:13:01.976587
2020-01-09T14:02:29
2020-01-09T14:02:29
206,515,265
2
2
Apache-2.0
2020-01-09T14:02:31
2019-09-05T08:36:58
Python
UTF-8
Python
false
false
6,922
py
import datetime import math import numpy as np from utils.constant_util import BUY, SELL from .abs_portfolio import AbsPortfolio from ..event import OrderEvent class SimplePortfolio(AbsPortfolio): """ 测试Portfolio, 向brokerage对象发送固定的交易数量, 不考虑风控或头寸 """ def __init__(self, start_date, event_queue, bars,...
[ "l1141041@163.com" ]
l1141041@163.com
099428a52dc8ac12fbc8b9aabf2094baabd54358
34932f10f59b05b82efdd4144c58cb09226330bc
/redditCrawler/reddit.py
2c96eef4808f046680575b5b4442eab39f24f292
[]
no_license
AkinoRito/Scrapy
be611b9e1e5cfc6c467e2ae89043753ddeae8817
476ce6d9ca5e621171076d142b79ed0a25b8d275
refs/heads/master
2020-04-12T01:51:58.278273
2019-04-22T02:53:20
2019-04-22T02:53:20
162,230,401
0
0
null
null
null
null
UTF-8
Python
false
false
2,755
py
from selenium import webdriver import time URL = 'https://www.reddit.com/r/THEMATRIXAI' RELOAD_TIMES = 50 OUTPUT_RESULT_PATH = 'C:\\Users\\gjy\\Desktop\\WORK\\crawler\\result000.csv' def main(): """ 1. initialize a webdriver 2. load and reload the web page 3. crawl data :return: """ brows...
[ "850219887@qq.com" ]
850219887@qq.com
4ad97214cab242cab7be5cd4232d8eca3d8ff676
89d920e8de469466f45172948082284b24ee8ca6
/sdt/bin/sdpostpipelineutils.py
4ea778b4bbc53e16782ee12c4bdf0fc87ea83537
[]
no_license
cedadev/synda
fb22cce909e8b4fb8e51e7ab506c337d6ec5d9d2
9b9fa5b9b13719e1307f093d208256e359e501af
refs/heads/master
2021-09-24T03:56:21.545769
2020-09-16T10:34:44
2020-09-16T10:34:44
187,797,897
1
0
null
2020-01-28T12:56:15
2019-05-21T08:45:47
Python
UTF-8
Python
false
false
1,918
py
#!/usr/bin/env python # -*- coding: ISO-8859-1 -*- ################################## # @program synda # @description climate models data transfer program # @copyright Copyright “(c)2009 Centre National de la Recherche Scientifique CNRS. # All Rights Reserved” # @license ...
[ "jerome@TOSH001.home" ]
jerome@TOSH001.home
ef26e4572a36ca6d9678ccc256904ec09d6b3688
2cff704d26840ca5d4f543c30acf0beb6edadda5
/rig/exp_functions.py
c09f6b3b7190adb8e432a2e53d1fa1f93707da6c
[ "MIT" ]
permissive
tgbugs/mlab
ff7b8ae366bb6abf5b71e39f020cc80b4079e774
dacc1663cbe714bb45c31b1b133fddb7ebcf5c79
refs/heads/master
2020-04-09T10:33:24.335267
2016-05-03T23:18:33
2016-05-03T23:18:33
12,688,098
0
0
null
null
null
null
UTF-8
Python
false
false
13,126
py
import re import datetime import inspect as ins from sys import stdout from time import sleep from debug import TDB,ploc try: import rpdb2 except: pass tdb=TDB() printD=tdb.printD printFD=tdb.printFuncDict tdbOff=tdb.tdbOff #file to consolidate all the different functions I want to execute using the xxx.Contr...
[ "tgbugs@gmail.com" ]
tgbugs@gmail.com
ec3da0a8ee514d27186134388ab0aeaa6ef2bb7b
16132279509374c6dd94693cfc637476449ee1d6
/leetcode/207. Course Schedule.py
e0147d3bc00e7096b833055b0925a7dad9b0cac9
[ "MIT" ]
permissive
isaiahnields/algorithms
89f1ee343e057b159a227f852b7591c408dd503a
065b95a007dab3f5e375e73a681e7a6e344b41f1
refs/heads/master
2020-03-28T20:08:50.662795
2019-02-25T20:32:59
2019-02-25T20:32:59
149,044,140
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
class Solution: def canFinish(self, numCourses, prerequisites): """ :type numCourses: int :type prerequisites: List[List[int]] :rtype: bool """ d = dict() for p in prerequisites: if p[0] in d: d[p[0]].append(p[1]) else: ...
[ "noreply@github.com" ]
isaiahnields.noreply@github.com
d916af6b9d7865400b4724d52ec1fd6dd4af6830
233c8f07d93ab3d759327669c0fa27291bd6713a
/forms/loginform.py
2f4fd4de79018ffdd854563b5c1c0c6ec4185d73
[]
no_license
Q1uLe/WEB_project
29e8087a06d92e06a50ff3a85b861cc5f56aa7d7
28b57e0ed85523c205bd9a84720d1e8bf021cdb0
refs/heads/master
2023-04-18T09:54:08.990818
2021-04-26T11:33:40
2021-04-26T11:33:40
352,029,999
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField from wtforms.validators import DataRequired class LoginForm(FlaskForm): username = StringField('Логин', validators=[DataRequired()], _name='username') password = PasswordField('Пароль', validators=[DataRe...
[ "abraahaam@yandex.ru" ]
abraahaam@yandex.ru
c2a00911624181706a89e7875616e367f73ced08
ae8531f97a4a457534fb5d77051c3eb8dcd96ae0
/chapter3/23extract_sections.py
d934392ef196460f9745ea6ef3f09dd51baf2ab0
[]
no_license
Taurin190/NLP100
a273bb3976d34d55eb7e75404d4e71a684e8ab5a
2d2de879aa289ff3c08ef8bfb1234b6e87030bdc
refs/heads/master
2021-06-25T09:49:26.303027
2020-11-02T23:29:28
2020-11-02T23:29:28
152,951,733
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# coding: utf-8 import json import re wiki_json = open("jawiki-country.json", "r") for wiki_line in wiki_json: wiki_info = json.loads(wiki_line) wiki_texts = wiki_info['text'].split("\n") for wiki_text in wiki_texts: category_name = re.search("(?<=====)\w+", wiki_text) if category_name is n...
[ "taura.koichi@gmail.com" ]
taura.koichi@gmail.com
ba257c7a32b2ec4aa2b22fc7c7b92e305f9f957d
5b3caf64b77161748d0929d244798a8fb914d9c5
/Python Excel Examples/GeneralApiDemo/convertInRequest.py
b196e1d1ec4e23d1a9d95f987f3a2b8969ea75af
[]
no_license
EiceblueCloud/Spire.Cloud.Excel
0d56864991eaf8d44c38f21af70db614b1d804b7
d9845d5cefd15a3ab408b2c9f80828a4767e2b82
refs/heads/master
2021-07-20T23:44:39.068568
2021-07-15T03:04:49
2021-07-15T03:04:49
230,225,396
1
1
null
null
null
null
UTF-8
Python
false
false
556
py
import spirecloudexcel from spirecloudexcel.configuration import Configuration as ExcelConfiguration from spirecloudexcel.api.general_api import GeneralApi appId = "your id" appKey = "your key" baseUrl = "https://api.e-iceblue.cn" configuration = ExcelConfiguration(appId, appKey,baseUrl) api = spirecloudexcel....
[ "noreply@github.com" ]
EiceblueCloud.noreply@github.com
5ffba38c4fd707487eff037c3eb11119b104b7a2
4273135a9c8fd46c47a6871506c02b98a37c5503
/example/python/lib_py/optparse_pylib_eg.py
6f129479321f532202f766db85eb527701950406
[]
no_license
xuyuanxin/notes
f31cd6c8bce0357f0ac4114da7330901fce49b41
d8fed981a2096843a62bb4a40aa677168e11f88e
refs/heads/master
2022-05-06T22:54:42.621373
2022-04-23T07:26:00
2022-04-23T07:26:00
25,041,042
2
2
null
2022-04-22T23:36:23
2014-10-10T15:18:08
C
UTF-8
Python
false
false
1,458
py
from optparse import OptionParser ''' <yourscript> --file=outfile -q <yourscript> -f outfile --quiet <yourscript> --quiet --file outfile <yourscript> -q -foutfile <yourscript> -qfoutfile ''' def main(): usage = "usage: %prog [options] arg" parser = OptionParser(usage) parser.add_option("-f", "...
[ "xxuyuanxin@163.com" ]
xxuyuanxin@163.com
8429023f1b3c30a87447a7c557bf8a050b626b9e
f1cb02057956e12c352a8df4ad935d56cb2426d5
/LeetCode/245. Shortest Word Distance III/Solution.py
fe576e1094fd4f1abf5f1fd442f98d9271e0048c
[]
no_license
nhatsmrt/AlgorithmPractice
191a6d816d98342d723e2ab740e9a7ac7beac4ac
f27ba208b97ed2d92b4c059848cc60f6b90ce75e
refs/heads/master
2023-06-10T18:28:45.876046
2023-05-26T07:46:42
2023-05-26T07:47:10
147,932,664
15
2
null
null
null
null
UTF-8
Python
false
false
768
py
class Solution: def shortestWordDistance(self, words: List[str], word1: str, word2: str) -> int: index = {} for i, word in enumerate(words): if word not in index: index[word] = [] index[word].append(i) ret = 10000000000 if word1 == word2: ...
[ "nphamcs@gmail.com" ]
nphamcs@gmail.com
261eda2a30079b27ec921e7697eff4cb976bf8c1
3e4e1f68baba766699792e8f8cef7f8bbf151688
/ex3.py
bc1e5a3bd98447229999c02d3f5089193d0bba5b
[]
no_license
ziz9/LearnPyHW
200def3ab98f00d92e98f826a79f1103398af73b
ec9e7739f483ca9506eafe0226596c4d64cd7cf8
refs/heads/master
2021-01-22T17:52:25.142097
2017-10-20T07:33:29
2017-10-20T07:33:29
85,038,496
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
# -×- coding: utf-8 -*- print "I will now count my chickens:" # why press the enter? 为什么空行? print "Hence",25+30/6 print "Roosters",100-25*3%4 print "Now I will count the eggs:" print 3+2+1-5+4%2-1/4+6 print "Is it true that 3+2<5-7?" print 3+2<5-7 print "What is 3+2?",3+2 print "What is 5-7?",5-7 print "Oh, that'...
[ "zizhenyan9@163.com" ]
zizhenyan9@163.com
621363e01caa5e24df6fd13cebcc5145e96fbf19
9f38bedf3a3365fdd8b78395930979a41330afc8
/branches/tycho/epic/tags/urls.py
071977120510f1a397fa09b46c9d6d3e92b0be87
[]
no_license
project-renard-survey/nwb
6a6ca10abb1e65163374d251be088e033bf3c6e0
612f215ac032e14669b3e8f75bc13ac0d4eda9dc
refs/heads/master
2020-04-01T16:11:01.156528
2015-08-03T18:30:34
2015-08-03T18:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
from django.conf.urls.defaults import * urlpatterns = patterns('epic.tags.views', (r'^$', 'index'), (r'^delete_tag/$', 'delete_tag'), (r'^add_tags_and_return_successful_tag_names/$', 'add_tags_and_return_successful_tag_names'), url( r'^(?P<tag_name>.+)/datarequests/$', 'view_dat...
[ "thgsmith@indiana.edu" ]
thgsmith@indiana.edu
d634e31486f5044b31ab168805511a33ded6ef6a
eacfc1c0b2acd991ec2cc7021664d8e79c9e58f6
/ccpnmr2.4/python/ccp/format/marvin/generalIO.py
21409931818e74a5fd154a4652c790008a1b86d2
[]
no_license
edbrooksbank/ccpnmr2.4
cfecb0896dcf8978d796e6327f7e05a3f233a921
f279ca9bb2d972b1ce075dad5fcc16e6f4a9496c
refs/heads/master
2021-06-30T22:29:44.043951
2019-03-20T15:01:09
2019-03-20T15:01:09
176,757,815
0
1
null
2020-07-24T14:40:26
2019-03-20T14:59:23
HTML
UTF-8
Python
false
false
2,522
py
""" ======================COPYRIGHT/LICENSE START========================== generalIO.py: General I/O information for marvin files Copyright (C) 2007 Wim Vranken (European Bioinformatics Institute) ======================================================================= This library is free software; you can redist...
[ "ejb66@le.ac.uk" ]
ejb66@le.ac.uk
8d9d0e317790133f034bcece449e9d1801f40422
f124cb2443577778d8708993c984eafbd1ae3ec3
/saleor/plugins/openid_connect/dataclasses.py
df281787eae5485c4eed4cc9fa9dc62b63f84957
[ "BSD-3-Clause" ]
permissive
quangtynu/saleor
ac467193a7779fed93c80251828ac85d92d71d83
5b0e5206c5fd30d81438b6489d0441df51038a85
refs/heads/master
2023-03-07T19:41:20.361624
2022-10-20T13:19:25
2022-10-20T13:19:25
245,860,106
1
0
BSD-3-Clause
2023-03-06T05:46:25
2020-03-08T17:44:18
Python
UTF-8
Python
false
false
316
py
from dataclasses import dataclass @dataclass class OpenIDConnectConfig: client_id: str client_secret: str enable_refresh_token: bool json_web_key_set_url: str authorization_url: str logout_url: str token_url: str user_info_url: str audience: str use_scope_permissions: bool
[ "noreply@github.com" ]
quangtynu.noreply@github.com