blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
5ccc2a1c9d9dab63566913441d5dfc0f592831d5
f60873276423c18df4a1b345d759fe69fde767c8
/reverse_int.py
0e0458e8434ec9df8d5f1633ab3c268bd938b145
[]
no_license
DexMerc/LeetCode
ed3bc0db1a2d5ff9dc81d91776b8499d504c1a2d
1e49067657ef71c8d38598efacbe0df1d3413719
refs/heads/master
2021-07-12T04:10:22.210424
2020-08-22T12:09:07
2020-08-22T12:09:07
193,313,281
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
class Solution(object): def reverse(self, x): """ :type x: int :rtype: int """ if x==0: return 0 x = str(x) temp = '' if x[0]=='-': x=x[1:] temp+='-' if x[0]=='0': x=x[1:] f...
[ "noreply@github.com" ]
noreply@github.com
69328e3a2ace3b4bd45417285243990e7b7e97e7
14695ffa2e3f1695a82a4e6e1ba8ec8f96708dbb
/musicleague/__init__.py
355a4d27e03355e17d175dadbc7196f500a87dd3
[]
no_license
jpziegler/musicleague
be0099bd1aa056d94dcf0a87e8e1b5ec227f9cf5
cf334c70b9a94927a2e4fd5588450d00bfabdd89
refs/heads/master
2022-11-09T20:01:42.035829
2020-06-26T17:10:22
2020-06-26T17:10:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
import logging import logmatic from flask import Flask from flask_moment import Moment from redis import Redis from rq import Queue from rq_scheduler import Scheduler from musicleague.analytics import NoopMixpanel from musicleague.environment import get_redis_url from musicleague.environment import get_secret_key f...
[ "nathandanielcoleman@gmail.com" ]
nathandanielcoleman@gmail.com
4f722b509ddebe40c0ab206f897ae0375196168e
c8f573eca67f01a058bf2bb0e3ae388432523e70
/06_jungol/132.py
4d3f2d713b6b599b4dfd83d21bb596044ea6a1b1
[]
no_license
nayulbak1/TIL
7339888e65012f4c94a775b80703f3ea3530d9dd
748148b2069de5bf33b91858c8e90f7d24b553e0
refs/heads/master
2023-05-03T05:46:40.893529
2019-09-16T08:57:48
2019-09-16T08:57:48
196,963,390
0
0
null
2023-04-21T20:37:09
2019-07-15T09:03:15
Jupyter Notebook
UTF-8
Python
false
false
100
py
n = int(input()) a = [] for i in range(1, n+1): if i % 5 == 0: a.append(i) print(sum(a))
[ "nayulbak1@gmail.com" ]
nayulbak1@gmail.com
6e0aac2a7595214d87e1fd0c6e350a34022d7300
8a223de74cf3d44d7b3275a3be3b4f8bebf0d9b8
/big.py
a63654aaed6d317bae9c002b9d4f5c3da5f1e39e
[]
no_license
sarureddi/j
cdb69fd5be90d140b20d1b2ad47ab3100e4776d9
6e2a4f8298990c787dc171d5d4e6e2e1424b8745
refs/heads/master
2020-05-31T22:23:28.208008
2019-06-04T17:03:55
2019-06-04T17:03:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
a,b=(input()).split() if(a>b): print(a) elif(a<b): print(b) else: print(a)
[ "noreply@github.com" ]
noreply@github.com
1ebe2e4ac83e20c056696863c0571c78bd2119e9
627eae28e8857327b9559dac07f857bd0d7a8607
/Day 5/Poisson_Distribution_1.py
225e2fce003625febc1b6b6fb1f4dc1ab2e76feb
[]
no_license
sreshtha10/10_Days_of_Statistics_Hackerrank
1f1c7dc12ac2059069a77cbfa37a0696368762e2
90e3cee0f4d1cf477ed2122f1751590c0c6ff5cb
refs/heads/master
2022-06-14T11:48:58.903170
2020-04-27T11:46:21
2020-04-27T11:46:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
#A Poisson Process meets the following criteria (in reality many phenomena modeled as #Poisson processes don’t meet these exactly): #Events are independent of each other. The occurrence of one event does not affect the #probability another event will occur. #The average rate (events per time period) is constant. #Two e...
[ "noreply@github.com" ]
noreply@github.com
faad4491aefe768572213c6f74473b9aeb0f9d69
94d6dcc7fbd894c379f6723b67981cf3155a3462
/d.py
de44b634c7ac2afeb7ce7f7965c005d1d4e47f3f
[]
no_license
sidheshwar-0802/Facial-recognition-based-attendance-system
34a3203434efedc1bfa6ed77c70c672f0a0bc1a4
ac0c759d45c632a62c3d19a14ba5639b5b50b513
refs/heads/master
2020-07-03T16:51:51.100031
2019-08-12T17:35:06
2019-08-12T17:35:06
201,975,944
1
0
null
null
null
null
UTF-8
Python
false
false
210
py
import mysql.connector mydb = mysql.connector.connect( host="localhost", user="yourusername", passwd="yourpassword" ) mycursor = mydb.cursor() mycursor.execute("CREATE DATABASE mydatabase")
[ "noreply@github.com" ]
noreply@github.com
579f9cdd764f516d3acae14fe2bbe0ae5e6f94b5
165d2e9a6d451b3a614a28629cca256f849b73ab
/notebooks/_solutions/case2_biodiversity_analysis21.py
087bcee2f2924c310bc97c9115dab1564054c9e1
[ "BSD-3-Clause" ]
permissive
DemeulemeesterT/DS-python-data-analysis
5b2439382571769dcc9b61fb3408a51552364c08
b4dd68b9c912c5d5c52c607aa117f5054449c73d
refs/heads/master
2023-05-07T16:51:31.426493
2021-05-31T07:24:38
2021-05-31T07:24:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
species_per_plot = survey_data.reset_index().pivot_table(index="name", columns="verbatimLocality", values="occurrenceID", aggfunc='count') # alte...
[ "jorisvandenbossche@gmail.com" ]
jorisvandenbossche@gmail.com
68ff0df836c8f900d4324b6e3770399ca4e02359
e48a3502146a0e9072ab09ca5dd378e9c81103f6
/cgi-bin/read.py
6c7dcab6bbeef7f1772695e111f615276d41cbe8
[]
no_license
kamilsudol/Techniki_internetowe
3cec1f04f91df6e6cbbd78209438dbdfc5001007
cc71d8d23844de987d352d2fdb686e856fa12138
refs/heads/master
2023-04-08T18:30:01.259957
2021-04-11T22:15:40
2021-04-11T22:15:40
304,760,601
0
1
null
null
null
null
UTF-8
Python
false
false
619
py
#!/usr/bin/python3 import cgi form = cgi.FieldStorage() text1 = form.getvalue("data1","(no data)") text2 = form.getvalue("data2","(no data)") text3 = form.getvalue("data3","(no data)") # print HTTP/HTML headers print ("Content-type: text/html") print () print ("<!DOCTYPE html>") print ("<html><head>") print ("<ti...
[ "61806373+kamilsudol@users.noreply.github.com" ]
61806373+kamilsudol@users.noreply.github.com
a2bbf8ea73a95fc8d489490e31c1766f68058750
cda6247cb4692f3d91c57dc616ba25b4a758f1b3
/gru_thsr/hsr/aux/test_db_read.py
159961362403739f402660cc4a9d969c3d0eec72
[]
no_license
piofel/HSR-GRU
6702fded91f7486af3bffc43d6b982ccc3b0bf80
eae4a1ac7d2ec80fe1344f3702ca4925caec39cb
refs/heads/master
2020-07-03T19:55:40.498370
2019-08-13T01:45:17
2019-08-13T01:45:17
202,032,005
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
from hsr.hsdb.metadata import get_metadata, get_database_filename from hsr.hsdb.db_reader import get_hs_description def test(rec_index): country_index = 37 md = get_metadata() dbf = get_database_filename(md, country_index) desc = get_hs_description(dbf, rec_index) print(desc)
[ "noreply@github.com" ]
noreply@github.com
1401b708e738bdf68f663d12f6a128f484f08f08
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/statistics_timeline_item.py
71106a07b0316521f9190c69730cb31447e4a86e
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,489
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class StatisticsTimelineItem: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attri...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
0a93512ce87a20ec81ea30b56d6dbeb9d05fb6a2
31de8214114df97031b757aaac237771bf61447f
/setup.py
f5977223d70a6414bc65f383992c74ee1dc18251
[]
no_license
streamsapp/streamslib
89a4133ac2aa1b94391835f49d6055ad5dcf1e40
b892ac6de5434b16522a424dd5e66b0d9eebabc2
refs/heads/master
2023-01-18T17:51:22.394777
2020-11-22T10:34:05
2020-11-22T10:34:05
266,301,068
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
from distutils.core import setup setup( name='streamslib', packages=['streamslib'], version='0.1', license='MIT', description='Library to interact with streamsapp.io', author='Howard Paget', author_email='contact@streamsapp.io', url='https://github.com/streamsapp/streamslib', keywords=['streamsapp.io...
[ "9295596+howardpaget@users.noreply.github.com" ]
9295596+howardpaget@users.noreply.github.com
ebeaa41949ad208e8502758aef59e8cde60bc2d8
9432765b185643801315fb68f4dc7c1e58c80edc
/main.py
1323512e1c1b488902bf67526afa8655855e34a7
[]
no_license
Cyro-blit/Alien-Shooter
ce22bdaafbaee90a5970a66fd71110faf4b80c33
901fdfb2702167ecf8283c9dbe3cf8c5bbf58828
refs/heads/master
2023-01-18T20:44:08.575323
2020-11-26T07:35:11
2020-11-26T07:35:11
316,141,998
0
0
null
null
null
null
UTF-8
Python
false
false
6,673
py
import pygame import sys import random from time import sleep from settings import Settings from ship import Ship from kecoa import Kecoa from star import Star from bullet import Bullet from game_stats import GameStats class AlienWorld: def __init__(self): pygame.init() self.my_settings = Setting...
[ "kemas.m.fatahillah@gmail.com" ]
kemas.m.fatahillah@gmail.com
d63d12e23a52921f34d12e3a1cdc0d1b61ad85ac
9249947c07f8addf64dd3d2a2f9f37d379f83921
/client_tools/svc/scratch.py
4b5fae33a95ec2120c0dc9b330a9788b34c10759
[ "MIT" ]
permissive
operepo/ope
eb71aa763d157416009d7c3052ace11852660e0a
018c82af46845315795c67c36801e2a128f515d5
refs/heads/master
2023-08-08T15:05:28.592589
2023-07-25T00:22:24
2023-07-25T00:22:24
96,855,111
12
11
MIT
2023-03-03T15:10:34
2017-07-11T05:42:14
Perl
UTF-8
Python
false
false
48,207
py
import pythoncom import win32serviceutil import win32service import win32event import servicemanager import socket import time import datetime import sys import os import logging import random from win32com.shell import shell, shellcon import ntsecuritycon import win32security import win32api import win32gui import win...
[ "ray@cmagic.biz" ]
ray@cmagic.biz
0f8b6e2add87248a3c250c97acef24ee10044d09
a734f9a0387ea6ce30d1c4f601900803cfbe9afa
/src/utils.py
b7a90cc094e6284612b6664a1b09047d65c36f76
[ "MIT" ]
permissive
braysia/epitope_barcoding
a6143812bfe96a5b35d1f294d0aabe3cbe80418f
f14f8477197f71b4761112ade1ca7218db56680c
refs/heads/master
2023-04-19T04:39:59.015002
2021-12-02T01:02:16
2021-12-02T01:02:16
83,598,214
1
1
null
null
null
null
UTF-8
Python
false
false
275
py
from collections import OrderedDict class ImageDict(OrderedDict): def __sub__(self, other): new = ImageDict() for key in self.iterkeys(): arr = self[key] - other[key] # arr[arr<0] = 0 new[key] = arr return new
[ "kudo@stanford.edu" ]
kudo@stanford.edu
a09f2a53df758af16a21a3f5a97336f5856bcb52
b5a6d0e09f9284437bbf8d9e4c60a6f1472a134b
/config.py
6a9f49682203dbfacc4948691381a40de029b2b7
[ "MIT" ]
permissive
Xrayez/godot-anl
5cb585ccd955c48bb7a9a9e500e78a722ec625ad
80157d005026b3d3de71fec9bd298a6bb4e35ac5
refs/heads/gd3
2022-08-27T17:41:46.688379
2022-08-05T05:11:35
2022-08-05T05:11:35
102,379,264
112
6
NOASSERTION
2020-10-09T21:07:08
2017-09-04T16:06:21
C++
UTF-8
Python
false
false
2,420
py
def can_build(env, platform): return True def configure(env): from SCons.Script import Variables, BoolVariable, Help opts = Variables() opts.Add(BoolVariable("anl_use_long_period", "Use a long-period hash for noise (>256) to avoid having repeated patterns " ...
[ "xrayez@gmail.com" ]
xrayez@gmail.com
b50bd07f40d67178d498fa6c74302b67033b403d
29c4c197c5abb89ab793f10528af59111267b521
/pythonProject/home_credit/test_case/run.py
b4eb2878a7be75a6ac62f3f7bee78bdd074e8f10
[]
no_license
xiongjun3/autoTest
b32ad4bfb7912152a09b73587ca093e32f39b7a0
be3fc72c1bc25835824dd964653b8cb45639c705
refs/heads/master
2022-02-19T05:06:44.552534
2022-02-14T07:22:02
2022-02-14T07:22:02
62,930,466
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
import pytest if __name__ == '__main__': # 运行所有测试用例,并生成报告,报告路径./result/ # pytest.main()中传入指令以执行测试用例 pytest.main(["test_case.py", "-sv", "--clean-alluredir","--alluredir", "result"]) browser = "chrome" domain = "https://dashboard.qa.axinan.com/" data = f""" browser={browser} domain={doma...
[ "412882383@qq.com" ]
412882383@qq.com
cc2d90b5c507367ae76264756846dcd49936d646
f9bfba4002964d24df97d20722e116b4f7cf52de
/recursor/atlas/chart.py
32d9c3f847990d5343b2ca0226ca7e4861424a89
[ "MIT" ]
permissive
OaklandPeters/recursor
a42ce77c190a3b537b671f88e74f9ecab81841ad
3a5eabd0b43e5ec2a66e6215a9bad70b4ab47c34
refs/heads/master
2020-04-05T23:35:29.259107
2015-04-24T21:39:16
2015-04-24T21:39:16
27,939,875
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
""" Standard implementation of Atlas class. Essentially just a list of dicts, with item access affecting sublists """
[ "oakland.peters@gmail.com" ]
oakland.peters@gmail.com
17f3abf5ca533dbc8b390f53ee34bd17b4f8b960
499d9f9dbfbdbd7d7c15b0674f799318ab3cfc2d
/course4/Week1/trie_matching/trie_matching.py
2ed98a0ba1948f642865468575cc01b9c97acf09
[]
no_license
05rs/Data-Structures-and-Algorithms-UCSD
b611570674fa919779cb3f62dac8808c518e4ff9
5f960b708b596fbd2662b17936c71cf1ea5202e6
refs/heads/master
2022-12-19T20:40:27.566064
2020-10-14T12:51:37
2020-10-14T12:51:37
266,060,018
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
#Uses python3 def build_trie(patterns): trie={} trie[0]={} index=1 for pattern in patterns: curr_node=trie[0] for letter in pattern: # print("Currently Processing",letter) if letter in curr_node.keys(): # if letter is in current paths outgoing from current node ...
[ "raghav1251999@gmail.com" ]
raghav1251999@gmail.com
fc7f96130086adfc9ad4a25f653c89d83852ef51
bf99b1b14e9ca1ad40645a7423f23ef32f4a62e6
/AtCoder/EducationalDP/n_2.py
cbed84f2ac5e605e38eb513f8cf7a89401c910ac
[]
no_license
y-oksaku/Competitive-Programming
3f9c1953956d1d1dfbf46d5a87b56550ff3ab3db
a3ff52f538329bed034d3008e051f30442aaadae
refs/heads/master
2021-06-11T16:14:12.635947
2021-05-04T08:18:35
2021-05-04T08:18:35
188,639,647
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
import numpy as np N = int(input()) A = np.array(input().split(), np.int64) Acum = np.zeros((N, N + 1), dtype=np.int64) for i in range(N): Acum[i, i + 1:] = A[i:].cumsum() dp = np.zeros((N, N + 1), dtype=np.int64) for length in range(2, N + 1): for left in range(N - length + 1): right = left + lengt...
[ "y.oksaku@stu.kanazawa-u.ac.jp" ]
y.oksaku@stu.kanazawa-u.ac.jp
8cc0d04f047505a1a618c35e0bbeaa8a06941afa
2a928a84c5469db9d7a2a2b0d3e6d017103734b4
/cli/commands/shell.py
17e96b1256369c9a375edaf89eb900d122266fc5
[]
no_license
austinbenincasa/Pymico
f5ab7c28ad1a4b1bc751de3452b3c97ca708cf5d
e5543724ae7ca7928e5a9d998279873d3271a564
refs/heads/master
2020-04-01T14:51:36.317490
2018-10-19T21:07:00
2018-10-19T21:07:00
153,311,030
0
0
null
null
null
null
UTF-8
Python
false
false
3,776
py
import argparse import sys from pypsi.shell import Shell from pypsi.core import Command from core.rpc import minionRPC_pb2 from pypsi.ansi import AnsiCodes from pypsi.commands.exit import ExitCommand from pypsi.core import Command, PypsiArgParser, CommandShortCircuit HelpTopic= "starts a interactive shell on ...
[ "noreply@github.com" ]
noreply@github.com
4c66e2b70c16b78d9bdba75e6a9de07321fd9a93
577e0a38eec06120bbda950352d19884446ac262
/octodus/decorators.py
ef9bce4cf70e22cb3d580001f102df7153976859
[]
no_license
gnufede/octodus
3d707f927cd556b0018537fecd9dcf7a3a767777
8a1e79786777fc8c25c448127ac50297cf0f38eb
refs/heads/master
2021-01-23T12:38:19.550915
2013-10-15T15:35:05
2013-10-15T15:35:05
13,105,534
0
1
null
null
null
null
UTF-8
Python
false
false
1,134
py
# -*- coding: utf-8 -*- from functools import wraps from flask import g, make_response, abort #redirect, url_for, flash, Markup, request, from flask.ext.login import current_user #login_required #from fbone.models import User #from flaskext.babel import gettext as _ def admin...
[ "gnu.fede@gmail.com" ]
gnu.fede@gmail.com
bc34681fd530d87f8de958eb30d88c342abbeffe
daee54824cb107f9b5749e3c12e7f09f544bac0e
/modules/readers/resources/python/rawVolumeRDRViewFrame.py
f809c2e9c0e1da779a57aa6d0deafd0a9ea6ba7c
[]
no_license
JoonVan/devide
8fa556d2b42c5ad70c3595303253f2a171de0312
586225d68b079e2a96007bd33784113b3a19a538
refs/heads/master
2020-12-26T06:25:01.744966
2017-01-22T19:47:50
2017-01-22T19:47:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,028
py
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- # generated by wxGlade 0.6.3 on Sat Feb 09 13:43:04 2008 import wx # begin wxGlade: extracode # end wxGlade class rawVolumeRDRViewFrame(wx.Frame): def __init__(self, *args, **kwds): # begin wxGlade: rawVolumeRDRViewFrame.__init__ kwds["style"] ...
[ "cpbotha@users.noreply.github.com" ]
cpbotha@users.noreply.github.com
102852e3762a3459527bfeaaf5209fbd07acaf95
e70e8f9f5c1b20fe36feab42ad4c2c34fc094069
/Python/Advanced OOP/Inheritance/Players and monsters/05. Knight.py
6e1783c65ccaa292e9d2cfcc4e9d7be7e99ab6ad
[ "MIT" ]
permissive
teodoramilcheva/softuni-software-engineering
9247ca2032915d8614017a3762d3752b3e300f37
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
refs/heads/main
2023-03-29T15:55:54.451641
2021-04-09T18:46:32
2021-04-09T18:46:32
333,551,625
0
0
null
2021-04-09T18:46:32
2021-01-27T20:30:18
Python
UTF-8
Python
false
false
68
py
from project.hero import Hero class Knight(Hero): pass
[ "noreply@github.com" ]
noreply@github.com
fdef98415d4111b4a016857fe9053a78822f45fc
ba5be4cd0cad9894a5355b36802d8b0ccb0d1315
/code/survey_opt.py
fba524a0b58f5bac7d6cc48ddc9e5bc1b7ec5443
[]
no_license
ArjanVermeulen97/thesis
0ece7d2f1e7c7047550a8e7e3d70b595a5a677e8
b7917b954e76a3ff7becdedba882931ad1421ef0
refs/heads/main
2023-08-24T09:32:23.051073
2021-10-07T07:48:08
2021-10-07T07:48:08
360,166,657
0
0
null
null
null
null
UTF-8
Python
false
false
7,377
py
# -*- coding: utf-8 -*- """ Created on Tue Sep 7 18:59:53 2021 @author: Arjan """ import numpy as np import pandas as pd import swifter from scipy import optimize from math import sqrt, exp, tan, log10, pi, acos, asin, sin, cos, tanh from observations import observation, detection, detection_prob from orbital import...
[ "Anterzhul@yahoo.com" ]
Anterzhul@yahoo.com
e287bec5baa329856553747340098ebee4ce390a
9dcec7f49181ccffb5cb347b6eed6ce36debb8b6
/common/performance.py
348f639dfd8f0a26163372dcc88fd8960faefb70
[]
no_license
954324919/PerMonkey
59eafe54632f70f246cedaa19f67882b00d0b5f8
491f7ff04ff81226f6dc8478bbaa4a2e382ade4d
refs/heads/master
2023-08-25T04:51:10.714736
2021-11-04T05:26:41
2021-11-04T05:26:41
424,482,215
0
0
null
null
null
null
UTF-8
Python
false
false
4,939
py
#coding=utf-8 from common.POUtils import ParseXml from common.CpuMem import CpuMem import pickle,os,shutil,xlwt,xlsxwriter from pyxlswriter import write_chart from root import PROJECT_ROOT PATH = lambda p: os.path.abspath( os.path.join(os.path.dirname(__file__), p) ) result=PROJECT_ROOT+"/result" class Performance(...
[ "954324919@qq.com" ]
954324919@qq.com
e4119ae7722326fe333b7f4c60cbe4806f0c7cd7
7146dbc50819db3638809539e077a82a6afd68c1
/BP_NN_based_on_AutoEncoder.py
6e7f91ff7dc8a7f06ce32de72ffdeeffb89c10a6
[]
no_license
shiluqiang/BP_NN_tensorflow
2d17e03a4c23566b3c26a517659191794fddb9e1
aef343b31ab5c1d9b78a8dec36d95fdca490dab9
refs/heads/master
2020-04-11T10:36:30.652088
2018-12-14T02:29:29
2018-12-14T02:29:29
161,720,820
2
0
null
null
null
null
UTF-8
Python
false
false
7,484
py
# -*- coding: utf-8 -*- """ Created on Fri Dec 7 11:49:44 2018 @author: lj """ import tensorflow as tf import numpy as np from tensorflow.examples.tutorials.mnist import input_data class Denoising_AutoEncoder(): def __init__(self,n_hidden,input_data,keep_prob): '''类参数定义 ''' ...
[ "noreply@github.com" ]
noreply@github.com
ba17d2acb58734a1b51f1deb90d67494a6b1add9
bc0d4bfe5c87ee7bfdbf2f06bfe29d45b6fed1be
/Project430/urls.py
2dcd2b0244119ede5ed22308d4ed0d190893915f
[]
no_license
carl-krikorian/BloomPolaris
5be342472d05bdf6c3e3452c9b47890742cefca6
59c89fd3cf5344c3d3c708e950ff1c6befbabf33
refs/heads/master
2023-01-01T22:19:03.941197
2020-10-10T21:51:56
2020-10-10T21:51:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
"""Project430 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "Lolxd69!" ]
Lolxd69!
607c9d7801db54dc18e2230c20cfde052a7254d0
599412f4847029f2d28b3487f7d85bff6217683b
/_verbal_emacs/_verbal_emacs.py
0c2468410577eb36fa75294bd7c4e479571941a2
[]
no_license
mzizzi/aenea-grammars
a3e9bc777e534638f4b7f99a0021839ede4d73ca
8b08bdd08b6369a4f2fff38530f635cc43efadae
refs/heads/master
2021-01-16T18:41:27.813119
2014-07-15T20:01:38
2014-07-15T20:01:38
22,661,492
0
0
null
null
null
null
UTF-8
Python
false
false
19,026
py
# Dragonfly module for controlling vim on Linux modelessly. All verbal commands # start and end in command mode, making it effective to combine voice and # keyboard. # LEADER = 'comma' import aenea.config import aenea.misc import aenea.vocabulary from aenea import ( Key, NoAction, Text ) from aenea....
[ "alex@aroper.net" ]
alex@aroper.net
0c4dc3b1082681e19694e0fad59d824a5dbb4286
22bbb588397748db4e0b86bfe73c888bcf42459b
/monkey_garden/garden/models.py
db5522a4355899681be970cb111c0188ed40ca25
[]
no_license
JooeunAhn/monkey-garden
7f403c25f8aff21cd79757753416d6c4059cdf11
690c0596800fb148036dff01d732283b3b5b2ebc
refs/heads/master
2022-12-18T00:55:34.620857
2017-08-05T23:52:54
2017-08-05T23:52:54
98,961,386
1
1
null
2022-12-08T00:43:29
2017-08-01T05:06:32
CSS
UTF-8
Python
false
false
2,141
py
from django.conf import settings from django.contrib.auth import get_user_model from django.db import models from django.db.models.signals import post_save from django.dispatch import receiver from accounts.models import Profile, UserDevice sub = lambda val: float(val) - 0.001 add = lambda val: float(val) + 0.001 c...
[ "jflow@hanyang.ac.kr" ]
jflow@hanyang.ac.kr
c288203e912adc9e9e6285c5e4cd4fab169fa1ca
62b6fc2a51bb9bfc7452f7977ea07e5e65c37aa7
/main.py
e06e62cb831343fae71bbaba8d6be148fdfe1fb9
[]
no_license
YarenNurArslan/K-NearestNeighbors
26af59b389f0c62a4dcb71d6445fa4263617e5ee
db1bd135ed9a95cd514a9e62898cf10b1b5f5288
refs/heads/main
2023-08-28T05:50:57.502802
2021-10-29T16:20:13
2021-10-29T16:20:13
422,614,683
1
0
null
null
null
null
UTF-8
Python
false
false
919
py
import pandas as pd import csv from sklearn.neighbors import KNeighborsClassifier from sklearn.model_selection import train_test_split read_file=pd.read_csv(r'C:/Users/yaren/OneDrive/Masaüstü/data/iris.data') read_file.to_csv(r'C:/Users/yaren/OneDrive/Masaüstü/data/datanew.csv', header=["sepal length","sepal wid...
[ "noreply@github.com" ]
noreply@github.com
f2244f5682ba1d0f03e2c7a41956ee2ade99726d
704e3e2c2150040efbecfbce03f29a2051d88fe0
/the_weather/the_weather/settings.py
6c52dbd12fc94e17987a23f9ae1e014b748b9ac4
[]
no_license
elineau45/Weather_App
22d8dc4857972d61506a2b243a0bea5d747c568d
117ddcf68c6f15f10aef788d1cee630ff2ca3477
refs/heads/master
2022-12-22T02:44:39.683697
2020-09-27T17:50:05
2020-09-27T17:50:05
299,043,474
0
0
null
null
null
null
UTF-8
Python
false
false
3,092
py
""" Django settings for the_weather project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pat...
[ "elineau.sylvain@gmail.com" ]
elineau.sylvain@gmail.com
ccbfc9f60ab8d4d715b77c759a308bcb9d2ff30c
da538178c74fc8fd5e91ee8fa5e25585fa29f8b2
/app/Fron_end/bd/migrations/0002_ips_intentos.py
538a1b4c1324d87d838458c9065715656f84a388
[ "MIT" ]
permissive
IsaiRL/Proyecto-PS
1791fcbc2046fe6a28f65b3af6ca3f8e5b58dde0
588a72710f9b2742943e83b46fb101940a6ca52b
refs/heads/master
2022-09-17T20:31:50.021814
2020-06-05T20:07:11
2020-06-05T20:07:11
258,356,693
0
0
MIT
2020-05-11T18:10:57
2020-04-23T23:39:17
Python
UTF-8
Python
false
false
364
py
# Generated by Django 3.0 on 2020-05-05 19:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bd', '0001_initial'), ] operations = [ migrations.AddField( model_name='ips', name='intentos', field=model...
[ "isairamires@gmail.com" ]
isairamires@gmail.com
6564f4093b1a148ae1df81d5d70bfef545717316
747f759311d404af31c0f80029e88098193f6269
/addons/etl_interface/etl_component/input/xml_in.py
a491b849e447f154b6d922032dbf9fd2564c96c9
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
81
py
/home/openerp/production/extra-addons/etl_interface/etl_component/input/xml_in.py
[ "geerish@omerp.net" ]
geerish@omerp.net
525d21120bc831606962dbff3324560c49125809
e0f674e8ff1d817e7370c8773d8b10685f76e463
/customers/migrations/0004_auto_20170527_2132.py
23b9d403b313d28b5d7e970de9b24a5f75a670da
[ "MIT" ]
permissive
venkat0708/BalajiVV
659a99740a403e71b75307b06425b533539ff289
ddf74d26a7ecae3f3bc5a902dcab09bf8f30e448
refs/heads/master
2021-01-23T05:34:58.166712
2018-04-01T19:17:18
2018-04-01T19:17:18
92,974,417
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-05-27 16:02 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('customers', '0003_auto_20170527_2129'), ] operations = [ migrations.AddFiel...
[ "eswar0077@gmail.com" ]
eswar0077@gmail.com
4bfc308c946a246ee95d91ee7a7b7353dfaf4b4f
8fe7f048911f67c9d02283d77b1c5ca87282be9f
/stkovrflo_Py_SortedMaps/smTest.py
97d397d4c7c30f2dbed5f181353e474745c66d07
[]
no_license
pygupta/aerospike-discuss
496028825648a091a3094ddf1f756b9844676ca4
8fad8f8ab4ffd337624d1e988c80c917f31c5ea0
refs/heads/master
2021-01-13T15:45:21.333180
2019-08-07T21:06:49
2019-08-07T21:06:49
76,892,824
1
1
null
null
null
null
UTF-8
Python
false
false
3,425
py
import aerospike from aerospike import predicates as p config = { 'hosts': [ ("localhost", 3000), ] } client = aerospike.client(config).connect() # Insert the records key = ("test", "demo", 'sm1') print "Define MAP_UNORDERED map policy" map_policy={'map_order':aerospike.MAP_UNORDERED} #map_policy={'map_sort':aerosp...
[ "gupta4453@gmail.com" ]
gupta4453@gmail.com
3f5d07f49ac3d6ab6fe010b1f1b8e61eb3c5f1b4
c4301555a09974925a481b86448b8bc13f1bf69a
/23.py
1a1c544940f9cef1715be0d992ebc1d1a6cd809d
[]
no_license
wonleing/python-challenge
41dbce070bffce27542e86168114a31e13f124db
afbf608f3dec9d49094c17fe2284c3fa88c609af
refs/heads/master
2021-01-24T01:14:41.227799
2019-05-22T16:04:12
2019-05-22T16:04:12
1,410,007
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
#!/usr/bin/python import os,sys for file in os.listdir("/usr/lib/python2.6"): if file.endswith(".py"): f = open("/usr/lib/python2.6/"+file) data = f.read() if not data.find("gur snpr bs") == -1: print "gur snpr bs is found in: ", file print data f.close() s='...
[ "wonleing@163.com" ]
wonleing@163.com
f5feb077e7378d0766772ff7df7298a1e8978591
61f48247d2205e90e0733aef9818e83bc2addcb7
/pytorch/pytorchVGG11Test.py
c5b9ceffe8e21f4ab257330e3fd553088f273c0a
[]
no_license
kimiaoi/Bat_Yubinaga
30a2a94def4aaa2bdcd4c10716ea829c8c217198
b667b57e65da172b1406d038413ed6adf539e7e3
refs/heads/master
2020-03-27T04:28:33.565058
2018-08-24T06:45:33
2018-08-24T06:45:33
145,943,334
0
0
null
null
null
null
UTF-8
Python
false
false
6,371
py
from __future__ import print_function import torch import torch.nn as nn import torch.utils.model_zoo as model_zoo import numpy as np import torch.optim as optim from os import listdir from os.path import isfile, join __all__ = [ 'VGG', 'vgg11', 'vgg11_bn', 'vgg13', 'vgg13_bn', 'vgg16', 'vgg16_bn', 'vgg19_bn',...
[ "vincent@kiki-iMac-Mid2011.local" ]
vincent@kiki-iMac-Mid2011.local
39011567a8e74d0c3d1a0fa36bbb225839194414
349dadbf45b7c12a3fe41c5e0421c0488b679919
/transformers/tests/test_trainer_seq2seq.py
dc4a11260d4c0fe61480ce2e944d48835dcfbbd3
[ "BSD-3-Clause", "CC0-1.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Apache-2.0" ]
permissive
salesforce/CodeRL
c772e408bac690527759f416ea22add4c97e5bec
51db4ff983d5376e62b9e7eba150316a651c80d9
refs/heads/main
2023-08-18T18:38:02.740995
2022-11-18T16:14:28
2022-11-18T16:14:28
508,912,853
412
52
BSD-3-Clause
2023-08-31T07:51:27
2022-06-30T02:54:36
Python
UTF-8
Python
false
false
4,859
py
# coding=utf-8 # Copyright 2020 the HuggingFace Inc. team. # # 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...
[ "hungle@salesforce.com" ]
hungle@salesforce.com
ce0adc468cf1494e45b9e314be89e2a86bf15a07
a345ea2097ff16da881c6958ecff9404f62ef6e7
/web/migrations/0002_publicacion.py
3896522568579cf7a62d861f4219b6611784ce2e
[]
no_license
JuPalmas/ET-GAY0101B
690d9b28e881c902554db040a08c650f96a90da5
02d2f0d1844323c4757f3e65cf5def8163263acf
refs/heads/master
2023-06-05T11:35:58.888863
2021-06-30T17:34:26
2021-06-30T17:34:26
375,421,443
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
# Generated by Django 3.1.2 on 2021-06-23 02:21 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "ahiizew@gmail.com" ]
ahiizew@gmail.com
a32c870fc23c1e0a0f16989118c4fb02930e3c65
0f7107ddc45da05ad0813cf9ee52e7b8f40f5be2
/influxdump/db.py
f67597cfecd4a1168e0ad155676977e624034968
[ "Apache-2.0" ]
permissive
hrbonz/influxdump
8614d5781dfdf32cbdeff4e8b97bd5b510e97561
8ca253328505202f62166225c7ab28f6cf8b6ed5
refs/heads/master
2021-06-19T20:45:48.182667
2017-05-15T07:56:37
2017-05-15T07:56:37
208,409,560
0
0
Apache-2.0
2019-09-14T08:09:40
2019-09-14T08:09:39
null
UTF-8
Python
false
false
3,809
py
# -*- coding: utf-8 -*- import re class InfluxDBClient(object): def __init__(self, host, port, user, pwd, db): import influxdb self._client = influxdb.InfluxDBClient( host=host, port=port, username=user, password=pwd, ...
[ "hr@bonz.org" ]
hr@bonz.org
b0914bfb223699b5b1e55591b0080efe663329aa
f94c2337607ef06856fcff8acd18e60059894e21
/src/program/consumers.py
9d141e87613bd88c6f795b85e8bcb5a01bc8c4e4
[]
no_license
coral/bornhack-website
d82446486db8523d0e059e82851ae80498b0bf2d
260a37af3c1cb4cd33dfc8cb80f6bd966b794c3d
refs/heads/master
2021-01-16T00:09:15.237955
2017-08-10T18:55:13
2017-08-10T18:55:13
99,955,304
0
0
null
2017-08-10T18:51:34
2017-08-10T18:51:34
null
UTF-8
Python
false
false
2,043
py
from channels.generic.websockets import JsonWebsocketConsumer from camps.models import Camp from .models import EventInstance, Favorite class ScheduleConsumer(JsonWebsocketConsumer): http_user = True def connection_groups(self, **kwargs): return ['schedule_users'] def connect(self, message, **k...
[ "valberg@orn.li" ]
valberg@orn.li
1a7ef256ba8ea571a01e17adb68675b5d33f76ee
755fb08c0b51fc5fa948e74be67b4318371ba085
/run_10_metrics_scrubbing.py
fa330b4aa537d27a78e2e6984e712d52d56d3295
[]
no_license
fBeyer89/LeiCA_LIFE
a3f43fd12a5f48b74f7ae52e3c3c2606530620e7
e9d02464a9e43b97cef9c7b753d88120cfbd6c94
refs/heads/master
2021-01-11T20:26:36.536016
2016-09-25T10:26:00
2016-09-25T10:26:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,914
py
''' wd ca 170MB/subj ''' import os from metrics.calc_metrics_scrubbing import calc_local_metrics from variables import template_dir, subjects_list, metrics_root_path, wd_root_path working_dir_base = os.path.join(wd_root_path, 'wd_metrics_scrubbing') in_data_root_path = os.path.join(metrics_root_path, 'metrics') ds_di...
[ "franz.liem" ]
franz.liem
d38bd4dc08cec7a26faf5dc5b0aaeeb2a5bb9046
a3d317eff462b487d2c497daf68699e5080cef94
/store/migrations/0001_initial.py
eee554eab417dc36ed401338f7b89c9debceaee9
[]
no_license
hyperkai/ec
e0b9e72f3fb4cddb340c7bfcd532e73b5d20ee50
a092c8aa190f4d645e0d5629f7575d405c48f2a3
refs/heads/master
2023-02-28T14:04:57.486984
2021-01-31T16:54:33
2021-01-31T16:54:33
332,188,781
0
0
null
null
null
null
UTF-8
Python
false
false
3,379
py
# Generated by Django 3.1.5 on 2021-01-26 01:44 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "kazya.ito.dream@gmail.com" ]
kazya.ito.dream@gmail.com
c433580cf26be0de035f05ff0fcb617cebf3f3d1
f64f32716943440bac86e403eb5c66af48f32739
/Python/TwoSum.py
c704467e4741e89145356b165746101a89238934
[]
no_license
dsha-sharma/Leetcode
0644ad4607610d0a5c0a314796c70f65f244888b
15105038a369bb37edf8c916f8d54f7f86eb7e63
refs/heads/main
2023-02-26T08:13:29.981901
2021-02-02T04:47:42
2021-02-02T04:47:42
327,220,893
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
''' Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory. You may assume all the characters consist of printable ascii characters. E...
[ "noreply@github.com" ]
noreply@github.com
7b556d3300a556eb26705e534580dee9b2478d42
88b0f614c91af8c00c2a132157cfd665dded48b1
/python/heritrix/core.py
f337575f81674894874b08afbed636010e462280
[]
no_license
lemurproject/clueweb12pp-core
74567939fd3066dbb461de106336ed513d2d6c7e
3f083e71838c9c3c7067d5ec137592b852d912a0
refs/heads/master
2016-09-05T10:15:57.081189
2013-08-20T17:51:35
2013-08-20T17:51:35
10,918,647
2
0
null
null
null
null
UTF-8
Python
false
false
333
py
''' Heritrix core files ''' import os def job_warc_files(heritrix_job_path): for root, dirs, files in os.walk(heritrix_job_path): for filename in files: if filename.find('warc.gz') >= 0 and filename.find('latest') < 0: yield os.path.join(root, filename) def is_response_record(record): return record.type =...
[ "shriphanip@gmail.com" ]
shriphanip@gmail.com
efa1b47c94f3c50f20c645894a5865c79d4ead5e
dcba1730fb7e24f05fcccf2b810487416c0dc471
/Api/zabbix_graph_api.py
794617b06bb3653268daa36c0ff5cf5d7cdedf94
[]
no_license
BJLIYANLIANG/CMDB
d8ad01b644f5eb0aa860c0b608dfed77b9174ef3
dcc062621b33250b66267c1c2eb1609c7eb06806
refs/heads/master
2021-06-19T04:30:03.742703
2017-04-14T09:31:01
2017-04-14T09:31:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
#!/usr/bin/env python #coding:utf-8 import urllib import urllib2 import cookielib class ZabbixGraph(object): def __init__(self, name, passwd, url="http://172.28.17.67/index.php"): self.url = url self.name = name self.passwd = passwd # 设置一个cookie处理器,它负责从服务器下载cookie到本地,并且在发...
[ "991700165@qq.com" ]
991700165@qq.com
feba029e1cf28cdccd895841bfc3adee4bebb98e
2cbb35e40b8cf96cdff8d9c8228756aad1de7e62
/image_read.py
2c1e1c54f26abc855b7cd091f5cae306502ce355
[]
no_license
ARVINDRAMBASKARAN/ECE-568
6bd74cea7fe85a13cf704c8a3ee1bf15df2c0f1d
8c429ad96f3367e19c2206dd808bced4ec1587b4
refs/heads/master
2020-05-16T01:14:19.765690
2019-05-02T22:29:21
2019-05-02T22:29:21
182,598,212
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
import numpy as np import cv2 img = cv2.imread("/home/pi/opencv/samples/data/ellipses.jpg"); cv2.imshow('image',img); cv2.waitKey(0);
[ "lf2ram@gmail.com" ]
lf2ram@gmail.com
feff2d30b310f10844aed4542aa6224d0fbf9c07
27d1b980ebf891cc34ca8f0f2aa7420722a95c98
/tests/cc/test_clang.py
9d92be823867a3cf523e6986c70a30ccbc621952
[ "Apache-2.0" ]
permissive
hgn/bcc
b577959b11aded7bf6ccaa15df7605d367ee5bf8
8010bf23ccf0ef9acd6596e47d24c62629977af6
refs/heads/master
2021-01-21T23:38:43.216793
2015-07-31T02:14:37
2015-07-31T02:14:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
#!/usr/bin/env python # Copyright (c) PLUMgrid, Inc. # Licensed under the Apache License, Version 2.0 (the "License") from bpf import BPF from unittest import main, TestCase class TestClang(TestCase): def test_complex(self): b = BPF(src_file="test_clang_complex.c", debug=0) fn = b.load_func("handl...
[ "bblanco@plumgrid.com" ]
bblanco@plumgrid.com
89f8dbce692f523fe4b4add92ab763aebb764dbb
bdc47ebbe3e125a48d3cfe762061f4b1070465c4
/mysite/fcuser/migrations/0001_initial.py
49fb63275f1f537773b58852b3526f7fe6aadb84
[]
no_license
swpheus/Django_prj
3de3d2b110e51087cdf89b95fc2b6ea3f63acf00
10b9af058f0b76c424e24ecd1996a49646948547
refs/heads/master
2020-07-21T17:17:14.019550
2019-09-21T03:00:36
2019-09-21T03:00:36
206,929,161
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# Generated by Django 2.2.4 on 2019-08-30 12:03 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Fcuser', fields=[ ('id', models.AutoField(a...
[ "swpheus1@naver.com" ]
swpheus1@naver.com
15573d9c6bfbf61da11b2229ec90239c37a3a308
6acca15738f2e93697e633a78f701062ec4d7e27
/pset6/sentiments/tweets
2643d4550539c4477e7a835a78e45e41d4b4b5c9
[]
no_license
karlsaintlucy/cs50
5a4a4d7c8a97e400c63182359784dcd39a5fb12b
0a232e5aa14c1ccd8998d290ba4acd015e2e1ee5
refs/heads/master
2020-04-18T04:30:25.162173
2019-01-23T20:57:48
2019-01-23T20:57:48
167,241,349
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
#!/usr/bin/env python3 import os import sys import helpers from analyzer import Analyzer from termcolor import colored def main(): """Implements sentiment analysis on a Twitter @user's last 50 tweets.""" # ensure proper usage if len(sys.argv) != 2: sys.exit("Usage: ./tweets @screen_name") ...
[ "karl.michael.johnson@gmail.com" ]
karl.michael.johnson@gmail.com
57d54ccd883abef363907b6e611532ccf2785099
265339006f8e5973f8c90265d50fc2c7f0b59f0c
/tests/backends/vk_test.py
262c5c62af896029e1d7bb3bb9a9788b6150d6b0
[ "Python-2.0", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
Diolor/python-social-auth
5d9a7e3c070ad0bb6c040f9ab00451f318226882
ba4e30d4a11b2e188954770bae4df9426d61a470
refs/heads/master
2021-01-18T09:01:07.290527
2013-09-22T17:10:15
2013-09-22T17:10:15
13,017,750
0
1
null
null
null
null
UTF-8
Python
false
false
907
py
#coding: utf-8 from __future__ import unicode_literals from social.exceptions import AuthUnknownError from social.p3 import urlencode from tests.oauth import OAuth2Test import json class VKOAuth2Test(OAuth2Test): backend_path = 'social.backends.vk.VKOAuth2' user_data_url = 'https://api.vk.com/method/users.get...
[ "boriskin@adwz.ru" ]
boriskin@adwz.ru
1fa159fc3242994e4c5012f910fd314436c5735a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_210/312.py
a4c44e7288c46a54c1f07b45e3b43b556f87655f
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,008
py
''' t = int(input()) # read a line with a single integer for b in range(1, t + 1): n = list(input()) eqInd = 0 for i in range(1, len(n)): if n[i] < n[i-1]: n[eqInd] = str(int(n[eqInd]) - 1) n[eqInd + 1:] = ['9'] * (len(n) - eqInd - 1) break ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2cdf6d145bba0bc4de9d8fa0095e3e022f2c348e
e098e61395b115e4722e7a593555ee701d4c99fd
/demo/demo/celery.py
f3af092f089825f5fc6ccf66f12c20d9cd4d5132
[]
no_license
davidmesquita/python-Django-demo
a462dc18f4b27c5edc690e7de7d7461103952487
d6795d1b8409142b4c5b5aa24db4516a3fe410d4
refs/heads/master
2023-06-10T22:27:22.736893
2021-07-04T23:03:59
2021-07-04T23:03:59
382,957,668
0
0
null
2021-07-04T22:11:15
2021-07-04T22:11:14
null
UTF-8
Python
false
false
368
py
import os from celery import Celery from django.conf import settings DJANGO_SETTINGS_MODULE = os.environ.get('DJANGO_SETTINGS_MODULE') if not DJANGO_SETTINGS_MODULE: os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'demo.settings.dev') app = Celery('demo') app.config_from_object('django.conf:settings') app.auto...
[ "zoejoyuliao@gmail.com" ]
zoejoyuliao@gmail.com
b5a1efea88c4052412c1196c23c61b762e375cc4
0a3e36845d798682614a733a2a52cd1a9aa4fc86
/mys.py
2d0136fcae0f0a23a48e01ae2cfefde0164b8398
[]
no_license
PRAVEEN100999/praveen-code-all
dddc139dbb34cad4f479b98ac8866c2e25d3d857
f5a788bd792ced6ae7367c1e4d608055a7fcfad6
refs/heads/master
2020-07-25T12:44:10.406327
2019-09-13T15:37:32
2019-09-13T15:37:32
208,293,951
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
import mysql.connector mydb = mysql.connector.connect( host = "localhost", user = "root", passwd = "kumar09", database = "ram" ) mycursor = mydb.cursor() # show database # mycursor.execute("show databases") # for i in mycursor: # print(i) #create table # mycursor.execute("CREATE TABLE kumar (i...
[ "praveen1009abu@gmail.com" ]
praveen1009abu@gmail.com
5c04bc43c47e68240dcf58ac436ae995004210b7
0a33cc0ebb67c51cc38750f0f04c3e6c088e3b1a
/tests/components/media_source/test_init.py
491b1972cb680ef2f8d91bc7ee511cd93d8951ad
[ "Apache-2.0" ]
permissive
robert-alfaro/home-assistant
e9bb08ad22a167ed226fb3de8f5b36acfc393548
4a53121b58b77a318f08c64ad2c5372a16b800e0
refs/heads/dev
2023-02-28T06:46:23.217246
2022-04-26T17:30:08
2022-04-26T17:30:08
115,894,662
4
0
Apache-2.0
2023-02-22T06:21:08
2018-01-01T02:00:35
Python
UTF-8
Python
false
false
7,917
py
"""Test Media Source initialization.""" from unittest.mock import Mock, patch import pytest import yarl from homeassistant.components import media_source from homeassistant.components.media_player import MEDIA_CLASS_DIRECTORY, BrowseError from homeassistant.components.media_source import const, models from homeassist...
[ "noreply@github.com" ]
noreply@github.com
140007c39730983eb3e3e6268c60549f6aa542dd
bda6096cac11807b195dc23b4f7d050bbd5618e8
/src/networkAnalysis/separation.py
20a565361a879c8d9f95102fa35797b35cb11df7
[ "MIT" ]
permissive
k2inno-tech/jupyter-genomics
603e0d5e33dfe0a029ebc3e5e11ea4b717c5635a
e644225257aac2c7adb777ebd7ffafdc8c0f0dd3
refs/heads/master
2021-06-01T09:47:52.937895
2016-07-11T22:37:33
2016-07-11T22:37:33
63,109,980
2
1
null
null
null
null
UTF-8
Python
false
false
6,641
py
#! /usr/bin/env python """ ----------------------------------------------------------------------- Based on code by: Joerg Menche Substantial modifications by: Brin Rosenthal (sbrosenthal@ucsd.edu) This code is based on the separation.py created by Joerg Menche in the paper: Uncovering Disease-Disease Relatio...
[ "kathleenfisch@gmail.com" ]
kathleenfisch@gmail.com
e0a9ab541318f9db731d835f7f2deb706da61938
f4241ec6f7d5632bda30bc73ed88d923c06db530
/pbspro/src/pbspro/util.py
726338f4c05bd8012399766e5d3334e1beff6045
[ "LicenseRef-scancode-generic-cla", "OpenPBS-2.3", "MIT" ]
permissive
Azure/cyclecloud-pbspro
a218bac005de35d6da9e19a55cadf7e2c48b4769
a9adb2e73d52d8be733bf0bac3d6b59bc7f6ebcf
refs/heads/master
2023-08-22T00:53:12.863042
2023-07-19T14:30:37
2023-07-19T14:30:37
144,634,186
11
18
MIT
2023-07-25T20:40:33
2018-08-13T21:10:29
Python
UTF-8
Python
false
false
577
py
import typing from typing import Dict if typing.TYPE_CHECKING: from pbspro.resource import PBSProResourceDefinition # noqa: F401 def filter_host_resources( resource_definitions: Dict[str, "PBSProResourceDefinition"] ) -> Dict[str, "PBSProResourceDefinition"]: return dict([(k, v) for k, v in resource_def...
[ "ryan.hamel@cyclecomputing.com" ]
ryan.hamel@cyclecomputing.com
2673f7a679c32787464288aeaaf3f84c4970adcd
1852cdc422fe605a379ab24368157a1b82e8f66f
/037_trunc_primes.py
2367585319fcdf307dc6473976ef2f6828dcd21d
[]
no_license
JesseAldridge/Euler
e96bd7995fd8da60ce4db3c1daa20a719778b4a2
ee23c562cfcf3187f8768264249a41470c9d6355
refs/heads/master
2021-01-16T19:35:53.064280
2014-07-06T01:20:26
2014-07-06T01:20:26
2,194,822
2
0
null
null
null
null
UTF-8
Python
false
false
710
py
def gen_primes(): ## http://stackoverflow.com/questions/567222/simple-prime-generator-in-python D = {} q = 2 while True: if q not in D: yield q D[q * q] = [q] else: for p in D[q]: D.setdefault(p + q, []).append(p) del D[q] q += 1 # Find the...
[ "JesseAldridge@gmail.com" ]
JesseAldridge@gmail.com
a0ffb1f3585a75f1ce734018f19303d8e44ea4eb
1e2afd391efc662363098011dcb500b8279656b6
/meiduo_mall/meiduo_mall/apps/orders/migrations/0002_auto_20190403_0910.py
5b8bb012988ca136214e4b2c2e66210cd2b9e961
[]
no_license
baixin999/mymd
c5269e70ebbb6fe26338a18f210dd7e0fc1fdfe0
267d5d18ba03d30b7255d4ee1f820b20cad6ed2c
refs/heads/master
2020-07-07T00:17:24.354799
2019-08-25T13:29:03
2019-08-25T13:29:03
203,183,555
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-04-03 09:10 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('orders', '0001_initial'),...
[ "324559937@qq.com" ]
324559937@qq.com
d9293b5bab4b6e233803745cb771722ddc65bff7
d36aaf2fbbfb58f6aa11978be0cca43531a56ba3
/rename_module.py
a9cdf9d7f1abacbead8d8c94fc2ae4299bb49f04
[]
no_license
Partha177/python
9848d93196055568dce56c6ef299689cd808d988
2a72541b88dcf4911bdbe2451f026c547b047183
refs/heads/master
2021-06-01T03:19:40.063921
2016-07-14T20:35:03
2016-07-14T20:35:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
import sys print(sys.path) import os print(os.path) os.mkdir(r"C:\Users\PAUL\Desktop\Partha") os.chdir(r"C:\Users\PAUL\Desktop\Partha") os.mkdir("Pritam") os.rmdir("Pritam") os.rename(r"C:\Users\PAUL\Desktop\lal.txt",r"C:\Users\PAUL\Desktop\pochi.txt") os.remove(r"C:\Users\PAUL\Desktop\pochi.txt")
[ "noreply@github.com" ]
noreply@github.com
00b22cbdc1d2811a356ae5fb59ad3e9f718883ca
cc9e8cea7ae126ae7e02a4fb3cce794fb1f2bf5a
/code/Wed-07/main.py
b65adabed18cd9a52fcfe91a41ca374fdfcc4e5a
[]
no_license
HamzaSalman/Wednesday-07
9ec09d240cbcc8ed7832b182ea4d2a71c087454e
1bd00dcfec762a1644f5581979294ab4d738395d
refs/heads/master
2020-12-24T12:41:16.593329
2016-11-05T23:16:38
2016-11-05T23:16:38
72,958,590
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
# Created by: Hamza Salman # Created on: November 2016 # Created for: ICS3U # This is the main scene from scene import * import ui from splash_scene import * # ..use when deploying app for Xcode and the App Store main_view = ui.View() scene_view = SceneView(frame = main_view.bounds, flex = 'WH') main_view.add_subv...
[ "hamza.salman@ocsbstudent.ca" ]
hamza.salman@ocsbstudent.ca
39949a0f6ca29ff66f90ece4f8fc39967d62ca70
d3d3afb3a4f3223cec07d3337d880fe7b3575aae
/blog/home/models.py
d70113253c933bfd972c6340099272d59159303d
[ "MIT" ]
permissive
vviolu/blog
ad3f475cd6b6be5d1e25b503e38b2b9d81684450
fef5beb20e205d9ae43fb2c5397bd7ba4e934f6a
refs/heads/main
2023-06-08T08:05:51.815704
2021-06-27T15:29:30
2021-06-27T15:29:30
366,703,700
0
0
null
null
null
null
UTF-8
Python
false
false
3,493
py
from django.db import models # Create your models here. from django.db import models from django.utils import timezone class ArticleCategory(models.Model): """ 文章分类 """ # 栏目标题 title = models.CharField(max_length=100, blank=True) # 创建时间 created = models.DateTimeField(default=timezone.now) ...
[ "@987654321" ]
@987654321
ee898a8219a29d065569ea7a3d1dc90e6507d516
a3fa25d5424c81e1d5aef431916be9759a88cf91
/src/main/python/lib/default/gtkgui/default_gui/runningactions.py
eb6950505cfa100e4dafd11ff9539c69900d75a3
[ "MIT" ]
permissive
emilybache/texttest-runner
e4d5385bfb2d7f543b9e9828fae90681f49e5c77
2d5c42b8d37699a2cbcb8f19af7c271d6ad1024a
refs/heads/master
2021-01-22T23:20:28.358273
2015-07-07T18:03:56
2015-07-07T18:03:56
17,683,055
0
0
null
null
null
null
UTF-8
Python
false
false
37,337
py
""" The various ways to launch the dynamic GUI from the static GUI """ import gtk, plugins, os, sys, stat from .. import guiplugins from copy import copy, deepcopy # Runs the dynamic GUI, but not necessarily with all the options available from the configuration class BasicRunningAction: runNumber = 1 def __i...
[ "emily@bacheconsulting.com" ]
emily@bacheconsulting.com
ad7e084a6d9a93aa4fb1a3f301bca4ccf1f50334
391342d7f8b498a7ffc943aca527fee10053027f
/cluster-bootstrap/eks_charts.py
5c24d487a299956aa98f118f22092d8652d998e8
[ "Apache-2.0" ]
permissive
jsamuel1/quickstart-eks-cdk-python
127735d098ed298117f6e012dfc3b92d3b7e16f0
2b93a066b3a2c57459acf6a1cff92695e3e6c8de
refs/heads/main
2023-07-11T05:11:57.389217
2021-08-06T01:46:05
2021-08-06T01:46:05
375,941,203
0
0
Apache-2.0
2021-06-11T07:29:02
2021-06-11T07:29:01
null
UTF-8
Python
false
false
1,973
py
""" Bastion """ from constructs import Construct from aws_cdk import ( Stack, RemovalPolicy, CfnOutput, Environment, App, aws_ec2 as ec2, aws_eks as eks, aws_iam as iam, aws_elasticsearch as es, aws_logs as logs, aws_certificatemanager as cm ) import os class EKSChart...
[ "sauhsoj@amazon.com" ]
sauhsoj@amazon.com
4184f6815e8024cbfe231495d20bed9465758b2f
7e22f20bf6dba8f2b4d0b82536bf18132fc8b09e
/utils/change_content.py
c9ba9731dc5effab3039d2f0483e5cfd9b854d31
[ "Apache-2.0" ]
permissive
amommendes/python-fluente
2f2dc084f0885d4c2a0fd9e86120cb90aec7c17e
04b3b257802c368acd313f93ef42aee8c4564d9c
refs/heads/master
2022-09-09T21:22:47.615140
2020-04-23T13:59:17
2020-04-23T13:59:17
246,715,246
0
0
Apache-2.0
2022-08-23T18:06:10
2020-03-12T01:20:31
Jupyter Notebook
UTF-8
Python
false
false
2,050
py
import os from collections import namedtuple import re import csv from pathlib import Path def _is_file(path_dir, child): return os.path.isfile(os.path.join(path_dir, child)) and (child != "__init__.py") and (child.split(".")[1] == "py") def _is_directory(path_dir, directory): return directory != "__pycache_...
[ "amommendes@hotmail.com" ]
amommendes@hotmail.com
c994e9588ddb9863412a93b03416f881104cb03e
7e4e2acb0cdd4dba7d23e15ce56cdc3e4842f601
/openstack/telemetry/v2/_proxy.py
f9265372a1af74b7c92e798ebfaed693919c7dcc
[ "Apache-2.0" ]
permissive
david-guyon/python-openstacksdk
99b2a52af9acf75b3df76438569477d2a46c1679
4a7c643b1b09904ac5ab8863a06a11e493a3d235
refs/heads/master
2021-05-28T23:06:46.337935
2015-02-26T23:12:53
2015-02-26T23:12:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,801
py
# 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 agreed to in writing, software # distributed under t...
[ "terrylhowe@gmail.com" ]
terrylhowe@gmail.com
01b76100f37bb24fea4ffc5030b27b9648cbe5a6
c2ee292408b41c9412e566836aaadcb5e2c12fec
/Test 1/Q1.py
94c4aa3e39b972d46163187407d882081be2c395
[]
no_license
rishky1997/Python-Practical-Test
c3c7ccc5cfceb6500aa57b4ba16a7e1d1a0b331a
09c41f9b5342cda93aaf97051b61d5a130ff71fc
refs/heads/master
2022-07-28T21:07:37.622076
2020-05-14T13:10:32
2020-05-14T13:10:32
263,916,196
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
#. Given a number count the total number of digits in a number no=int(input("Enter no.:")) n=no c=0 while n!=0: c+=1 n=n//10 print("No. of digits are:",c) #Reverse the following list using for loop list1 = [10, 20, 30, 40, 50] list2=[] for i in range(len(list1)-1,-1,-1): list2.append(list1[i]) for i in li...
[ "rishky1997@gmail.com" ]
rishky1997@gmail.com
bcebebd8fd7fa8d1af05d06a497a5404ba30127b
cf9ddc8a6fbf9561366324cbd1dcef8797fd589d
/noc/views.py
1458a9ccaef63f979509fc2899784a0c1d455c1a
[]
no_license
USCSU/Five9OnCallSys
8a31d8230662ed40fdfd905da1ef887651f06141
42c2905c0e02870feb1871f8f30b49095165a04f
refs/heads/master
2021-01-21T04:40:25.312684
2016-06-30T20:05:49
2016-06-30T20:05:49
54,160,249
0
0
null
null
null
null
UTF-8
Python
false
false
12,968
py
import smtplib import json import pytz from django.shortcuts import render from django.http import HttpResponse,HttpResponseRedirect from manager.models import department,employee,onDuty from noc.forms import NocOpsForm from noc.models import log,bridge import datetime from datetime import timedelta from sets import Se...
[ "chrissuusc@gmail.com" ]
chrissuusc@gmail.com
ca3aa4adc107683032e77e9d1df22364acfe304a
0e4dc82a94563dacb0c25d0d43fbcbe3def21f72
/259-3Sum-Smaller/Python/Solution01.py
d722b1e3406c547a4b5602fe95da262f1617fbce
[ "CC-BY-3.0", "MIT" ]
permissive
Eroica-cpp/LeetCode
3ce3b05b3098e8097c1090e2116b813efaadd2a3
07276bd11558f3d0e32bec768b09e886de145f9e
refs/heads/master
2021-06-20T05:41:30.506250
2017-03-16T05:17:39
2017-03-16T05:17:39
35,126,816
7
2
null
null
null
null
UTF-8
Python
false
false
1,478
py
#!/usr/bin/python """ ============================================================================== Author: Tao Li (taoli@ucsd.edu) Date: Aug 29, 2015 Question: 259-3Sum-Smaller Link: https://leetcode.com/problems/3sum-smaller/ ============================================================================== Gi...
[ "eroicacmcs@gmail.com" ]
eroicacmcs@gmail.com
0893b3e2b54a2ec051440bd93ad8979e9d0f1300
4186d08c196cdc6bef147383a5ed11b1b3f0c300
/clean.py
8b9c69f7023d116124c15ead9e965bcdabeac00c
[]
no_license
frengine/c00l3l1J5t
df0d6f2c9b7b1683d80fec7c65555f08e5da4723
b41b47a17f959bbbc0661ce966e35223ee7c080d
refs/heads/master
2020-05-19T19:49:34.065996
2019-06-04T11:44:07
2019-06-04T11:44:07
185,189,324
0
0
null
null
null
null
UTF-8
Python
false
false
1,334
py
import glob import os matches_startswith = [ "package", "import", "/*", "*", "//", "}", "@" ] matches_equals = [ "break", "continue", "else", ] def keep_essence_of_str(s): new_str = "" s = s.replace("\t", "").replace(" ", "").replace(";", "").replace("}", "").replace(...
[ "remi@remivm.butje.remi.im" ]
remi@remivm.butje.remi.im
cc4372401137f069aa2578547c5772da7a6c17d4
ee442d96463a30fe47875fb1a6b1e7453ef0c3a3
/handlecollision.py
ae077bfdefcd32c1e4e7d95cffb532cbcddd1918
[]
no_license
zhoj02/CzechJoinedWikidataAndDBpedia
953f12c922a5b0159d98dc216e1ad938ede4a84e
1730085f2dc276a512fa88559c78b5628fa8a4d8
refs/heads/main
2023-06-08T22:11:08.664710
2021-06-26T20:03:36
2021-06-26T20:03:36
379,649,667
0
0
null
null
null
null
UTF-8
Python
false
false
2,842
py
import pandas as pd import click import os from czechWDtoDBlibrary import createLastLineFile,parametrstartfrombeginning,\ parametrnameofrun, filesPath,filetype,joinedfiles,origindata from collide import collideData htmlStart = """<html> <head> <title>{0}</title> <link rel="stylesheet" href="https:/...
[ "noreply@github.com" ]
noreply@github.com
dd3a20098d88e344912ea8ebdcbe73f2756679de
77bdef08ad9e46295ca10e013139c4b6ea826da2
/django-wagtail/mysite/blog/models.py
ed8be178b3193c727e0aabfc9dd3fff363450da4
[]
no_license
badlydrawnrob/python-playground
f38abe77abc5e237cc53d10f2bd0566c59923aa1
2a4a0a168b62a36db6bd5086a516c48178419dc4
refs/heads/master
2020-12-02T08:09:20.316572
2019-02-06T20:25:37
2019-02-06T20:25:37
96,775,969
0
2
null
null
null
null
UTF-8
Python
false
false
3,357
py
from django import forms from django.db import models from modelcluster.fields import ParentalKey, ParentalManyToManyField from modelcluster.contrib.taggit import ClusterTaggableManager from taggit.models import TaggedItemBase from wagtail.wagtailcore.models import Page, Orderable from wagtail.wagtailcore.fields impo...
[ "rob@layermade.com" ]
rob@layermade.com
b7bd6d4e838e981a05ca85f3f88c282068ccbc8a
f6126b2ca2c3b7c77aaff6e93364c8568b821e15
/manage.py
496d5d744cdbf0cd26b865c0a39274498352f356
[]
no_license
afizing/GotApi
4f50649d84fa5baedf4eeb36efc657894f619e8b
1d204f51ece372f74de4515d25ac9b6266fba16c
refs/heads/master
2020-05-25T15:46:09.788001
2016-09-22T03:45:57
2016-09-22T03:45:57
68,882,052
1
0
null
null
null
null
UTF-8
Python
false
false
248
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Toppr.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "Afiz Shaik" ]
Afiz Shaik
012b600b4665822cf04a87bb3937b4fb8b6fb7a9
d7092fedffa8c5c63ed6876a87e17dac3bc55039
/actors/postgresql/snapshot.py
3ca31ad8cf14a090082a59b0de725e760819b9ca
[]
no_license
shaded-enmity/leapp-django-microservices
a07818e66306dc6c4a584675c8dc102d9407c87b
da0ac3450a9109b8281620fdd084e458acdbdcc8
refs/heads/master
2021-08-22T06:19:47.373841
2017-11-29T13:46:51
2017-11-29T13:46:51
112,480,646
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
from leapp import Actor as actor, object_with_parent, get_command_output def _data_export_command(db): cmd = 'sudo -u {system_user_id} PGPASSWORD={password} pg_dump -F t -U {user_id} {database_name}' return cmd.format(**db) for database in actor.get_input('postgresql_database'): export_command = _data_e...
[ "podvody@redhat.com" ]
podvody@redhat.com
64bec78da4f9613a704e778e9861c439a2f6da10
f281d0d6431c1b45c6e5ebfff5856c374af4b130
/DAY001~099/DAY84-BOJ7579-앱/ykim.py
57d20480ba6f75c21a3574aa7376c4bf95479268
[]
no_license
tachyon83/code-rhino
ec802dc91dce20980fac401b26165a487494adb4
b1af000f5798cd12ecdab36aeb9c7a36f91c1101
refs/heads/master
2022-08-13T09:10:16.369287
2022-07-30T11:27:34
2022-07-30T11:27:34
292,142,812
5
6
null
null
null
null
UTF-8
Python
false
false
799
py
import sys N,M=map(int,sys.stdin.readline().split()) #앱 m=list(map(int,sys.stdin.readline().split()))#메모리 c=list(map(int,sys.stdin.readline().split()))#비활성화 비용 result=[10001]*(M+1) result[0]=0 #M = 확보할 메모리 for i in range(N): rm=m[i]#해당 메모리를 제거할때 for j in range(M,-1,-1): if result[j]!=10001:#해당 값이있다면 ...
[ "noreply@github.com" ]
noreply@github.com
40fd3a424ce366164e63986b518fd63f14d16468
2a0efe30198c948982a85ea74c7e47ef9ecb4823
/pers/cyj/day11/shoot/person.py
124be128ac066503bc23040dc39c6c6912db87cf
[]
no_license
cyjhunnyboy/PythonTutorialProj
00151ed364807c6df54b1b0300cb622086128b74
c3a02e6fa2dd09bf5d7b47fd78a4d3a31356a39d
refs/heads/master
2023-02-23T18:35:45.481252
2021-01-25T11:13:45
2021-01-25T11:13:45
298,922,161
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
class Person(object): """人类""" def __init__(self, gun): self.gun = gun def fire(self): self.gun.shoot() def fillBullet(self, count): self.gun.bulletBox.bulletCount = count
[ "cyjhunnyboy@sina.com" ]
cyjhunnyboy@sina.com
013b530514ff32bce69915ff68589ee2cc02e2b5
92b579c4155a63915e91bc7ba7f0c949bbb4a319
/UNetRestoration/test.py
ccdfb96fa7c37bbdea1f79744aacf49312f5307c
[ "MIT" ]
permissive
BBBBBH-CMD/UWGAN_UIE
31670e340d6e322cdccd38a33fd948e387727182
80d39b46edc59047a267270f68a30444823c4b06
refs/heads/master
2023-03-20T22:26:50.991971
2020-07-02T16:16:42
2020-07-02T16:16:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,003
py
""" U-Net implementation of test phase Evaluation mode or Test mode """ import tensorflow as tf import numpy as np from scipy import misc import glob import time import os os.environ['CUDA_VISIBLE_DEVICES'] = '0' from unet_model import UNet test_path = '/media/wangnan/Data/UIE/data/Synthetic_water_near/' gen_path...
[ "noreply@github.com" ]
noreply@github.com
37ff1d3bd9ee1623f350f34a165c20e73f8d1b38
51684b82fa4d612a0ffe6ff0616cb4e8c441ec08
/reproducibility_project/lrc_shift_subproject/src/engines/gromacs/project.py
ce4f875b89c7c12776b04e0bc0cdb29a0ae2beea
[ "MIT" ]
permissive
emarinri/reproducibility_study
0b6ad04ff4f203b6cef0964aee1fbdb24b807d1f
3f4e1b15d2ec11a05922975f22232f62c89c5a10
refs/heads/main
2023-08-28T19:25:56.843574
2021-10-11T14:50:01
2021-10-11T14:50:01
399,192,589
0
0
MIT
2021-08-23T17:30:51
2021-08-23T17:30:50
null
UTF-8
Python
false
false
11,130
py
"""Setup for signac, signac-flow, signac-dashboard for this study.""" import os import pathlib import sys import flow import panedr import unyt as u from flow.environment import DefaultPBSEnvironment from reproducibility_project.src.analysis.equilibration import is_equilibrated from reproducibility_project.src.utils....
[ "noreply@github.com" ]
noreply@github.com
ed097403055efd0ece1042aed5ecd0f15c65bfe1
743443dd4a7aef84ebfc970ee701560e5149531d
/getLatestClose.py
7066dd556689d3057c90baaab52f0c1ffa7c8b17
[]
no_license
jstr045329/ib-data-acquisition
2124a0e9eccb57eee5053238cf2efe9425c15385
fcb5160dc8a755108c4440e63251ba251cc5a3d8
refs/heads/master
2020-03-23T18:20:29.481436
2018-07-22T15:36:04
2018-07-22T15:36:04
141,902,610
0
1
null
null
null
null
UTF-8
Python
false
false
9,715
py
#!/usr/bin/env python """Gets the most recent closing prices for all tickers. That's it. barLen = "close only". Author: Jim Strieter Date: 06/10/2018 Where: Scottsdale, AZ Copyright 2018 James J. Strieter""" ENABLE_REDUNDANCY_PREVENTION = False REDUNDANCY_PREVENTION_TERMS = ['ticker', 'epoch'] # Either None or ...
[ "jimstrieter@gmail.com" ]
jimstrieter@gmail.com
fd4adda182725ef64745c08d918d970f46b18070
fe86ada33072a7c73bb05cceddbac22d1c994cfb
/Basic_programs/triangle.py
290b00bc1eed0c4bfd32ade0d2df5530c0bfee1b
[]
no_license
Khushal-ag/Python_Programs
cb1bd93f62153eb6b945fafa42bb8363d4b3eaaf
c4e10ba9ed7fe96de614ae9778f922f37ba2d778
refs/heads/master
2023-06-16T19:36:50.592919
2021-07-15T17:15:55
2021-07-15T17:15:55
345,044,083
3
0
null
null
null
null
UTF-8
Python
false
false
404
py
import math a,b,c = map(int,input("Enter three sides -> ").split()) if a+b>c or b+c>a or c+a>b: print("VALID") if a==b and b==c and c==a: print("Equilateral triangle") elif (a==b and a==c) or (c==a and c==b) or (b==a and b==c): print("Isosceles triangle") else:print("Scalene triangle") ...
[ "starkhush5@gmail.com" ]
starkhush5@gmail.com
d8a209f8fec660b58abf72cb3b33b420aa69cf12
665d9bad46e68f779512640e582d2522867b0dba
/Linked List Problems/21. Merge Two Sorted Lists.py
48c4ac08963a9b30f419087ad340bcb3731dfc20
[]
no_license
RahatIbnRafiq/leetcodeProblems
6fd1e9726b14b7ad3571e5a4af5665b72f7aee0a
2d35590d189938e0705a21be110e75e0b209ea96
refs/heads/master
2021-11-25T11:58:20.498911
2021-11-25T00:43:04
2021-11-25T00:43:04
72,865,562
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def mergeTwoLists(self, l1, l2): d1,d2,d3 = ListNode(0),ListNode(0),ListNode(0) d1.next, d2.next = l1,l2 cur = d3 whi...
[ "rahat.rafiq@colorado.edu" ]
rahat.rafiq@colorado.edu
d5682b7c5e580fd3fa011a72d2c645216313ba26
0a3742eb3539abf59982f523cf7167f52844c536
/src/dcamp/role/root.py
dbcd9fb60418eae27e79cfa2af36213c3bc7a38c
[]
no_license
asiderop/dcamp
f69f9c850872191d68cedd5ac73365e837be1d74
bfca5a487ca326d169cffb6f2f916f0565f4ab48
refs/heads/master
2020-05-19T22:26:47.574194
2014-10-20T04:00:47
2014-10-20T04:01:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
from dcamp.role.role import RoleMixin from dcamp.service.configuration import Configuration from dcamp.service.management import Management from dcamp.service.filter import Filter from dcamp.service.aggregation import Aggregation class Root(RoleMixin): """ Root Role """ def __init__( self...
[ "alexander@thequery.net" ]
alexander@thequery.net
b2ec4727a510976913e4c09a99f60652e857be18
46002eca06740d1026e665c0dab2b740d5b23ca5
/home/serializers.py
db014e83501bcc071d6e3ff64816df9ede0b9e7c
[]
no_license
Riya-11/Blood-Bank-Management-System
8efb942cfd5687f065f7c90ac02e6f8d958717a6
383861f01f2d4b404e4fe0751a880c88df077aca
refs/heads/main
2021-06-18T01:47:09.946057
2021-02-25T05:15:39
2021-02-25T05:15:39
166,858,497
1
0
null
null
null
null
UTF-8
Python
false
false
3,631
py
from rest_framework import serializers from .models import * class UserSerializer(serializers.ModelSerializer): # address = UserAddressSerializer(required=True) class Meta: model = User fields = ('username', 'first_name', 'last_name', 'email') # fields='__all__' class U...
[ "riyashachijain@gmail.com" ]
riyashachijain@gmail.com
fda9e42ab364bf3d8f6cb8299b3aad1b2fe9ba3f
7128ab7c6248cc4c95e3f86f137eb78c002cb2f3
/week_02/storage.py
48ad852273a87692753483d88a71c1f3e12e90cb
[]
no_license
ANDREW-198/coursera_python
42fdd8a45c7b27bbf5628d4cdffe0a9716ec35e0
328076dda4358303cbe2fc67721712375f214b0d
refs/heads/master
2023-06-08T17:23:44.685682
2021-06-09T17:34:10
2021-06-09T17:34:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
import os import argparse import json def main(): if not os.path.exists("storage.data"): data = {} with open("storage.data", "w") as write_file: #create file storage.data json.dump(data, write_file) parser = argparse.ArgumentParser() parser.add_argument("--key") parser.add...
[ "”" ]
77d1b6b14ec4e15eceb3b3cb3df095166f40518e
88bbf27deb0b2a1b96985c0a94ff0b7a3d012820
/Feeds/migrations/0001_initial.py
4b9aaa549847b201a89bcbc92820989702ecc36c
[]
no_license
Code-Community99/Hiq-django
e8efb7d63bd4fc0bc8e2af193fdec9aaab0975b0
af62622648ad88f6e8d94e86a8dc5d6660e3bbe2
refs/heads/master
2022-12-14T01:12:45.218318
2020-05-18T23:29:35
2020-05-18T23:29:35
233,811,384
2
1
null
2022-12-08T03:34:53
2020-01-14T10:02:55
JavaScript
UTF-8
Python
false
false
783
py
# Generated by Django 3.0.2 on 2020-01-31 11:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('signup', '0001_initial'), ] operations = [ migrations.CreateModel( name='fe...
[ "duncansantiago18@gmail.com" ]
duncansantiago18@gmail.com
209b96dc03797d8bd214f19cf3f0b0d5674fce0d
78ef3d39ff71f4a03fa68efc1472291d74681be4
/EDA/EDA_plots.py
b9089bd1332964395cacbb6306929c95d9b07923
[ "MIT" ]
permissive
mirzask/coding_notes
c382337af3f27af4b4cc3eb2174d6d506b75e4a5
93ef268d5b8d02df11710231de50de82b270dca7
refs/heads/master
2020-04-03T00:27:34.579884
2018-11-28T18:13:16
2018-11-28T18:13:16
154,900,047
0
0
null
null
null
null
UTF-8
Python
false
false
2,371
py
import seaborn as sns import matplotlib.pyplot as plt import pandas as pd import numpy as np iris = pd.read_csv('https://raw.githubusercontent.com/uiuc-cse/data-fa14/gh-pages/data/iris.csv') # Plots # Matplotlib # # Histogram _ = plt.hist(iris[iris.species == 'versicolor']['petal_length']) _ = plt.xlabel('peta...
[ "mirzask@gmail.com" ]
mirzask@gmail.com
44f2d6b3d8046622ee7c6e36e6eecf65704733e8
0c8e1003b54e56c51e62dc1de67b7b2a4f06b1bc
/PyMysqlPool/mysql/connector/fabric/balancing.py
f9807f9319c39ef3877113c340a6b10c1b6ffeec
[ "MIT" ]
permissive
prezi/python-mysql-pool
255f2c3c7750bc6f2726a61f738eb496bda32383
7a5054eeac89bf2ee05f4fd8deaa2e416d5ed9c1
refs/heads/master
2023-04-14T08:38:12.913421
2018-12-14T09:32:59
2018-12-14T09:32:59
161,762,264
0
1
MIT
2023-04-07T09:35:27
2018-12-14T09:30:01
Python
UTF-8
Python
false
false
4,876
py
# MySQL Connector/Python - MySQL driver written in Python. # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. # MySQL Connector/Python is licensed under the terms of the GPLv2 # <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most # MySQL Connectors. There are special exceptio...
[ "lujunxu@baidu.com" ]
lujunxu@baidu.com
c73ca79fb395deff39354997c1774723890a89ad
d89a4bb6d6b77fa5bcf119933f2b90bd162af1b5
/main.py
f0e4c906b691bf98a05c80733a37d8bb44668824
[]
no_license
AlaskaJoslin/FacebookDataExplorer
b3a8dc919ca87fe33d013ef3cb7ac7b48ec66310
c83f9e0ed50a60b1020ac8f8186806e58ac15d8c
refs/heads/master
2022-07-16T14:53:20.202413
2020-05-18T04:08:16
2020-05-18T04:08:16
264,524,727
0
0
null
null
null
null
UTF-8
Python
false
false
2,295
py
#!/usr/bin/env python3 import argparse import logging import os from server import utils if __name__== "__main__": #Parse args parser = argparse.ArgumentParser(description='Analyze a facebook data dump for a user.') parser.add_argument('--zipfile', help='The zipfile to extract from') parser.add_argum...
[ "mlj.eagle@gmail.com" ]
mlj.eagle@gmail.com
4fc4f3d1c43b5acc3dab50e015ce9f3c187045bc
bd5d0f3cf0125cf38c815ea816c4953f97fc0be8
/oop_main.py
3e60cdf6c1e59d7352a4ef89a0632fcf73870630
[]
no_license
akeeawhite/unittest_conversion
b2f64ba4255e02cb23db7aaa1c8a748f1109532d
7299b92ecaf261ece22f5cfe21e38d8a5e096eee
refs/heads/master
2021-01-04T02:37:08.313928
2015-03-04T15:12:31
2015-03-04T15:12:31
31,653,758
0
0
null
null
null
null
UTF-8
Python
false
false
2,358
py
__author__ = 'Akeea' """ This program is to display a menu of conversion choices for the user. These choices include: Press 1 to convert Kilometers to Miles Press 2 to convert Meters to Yards Press 3 to convert centimeters to inches Press 4 to quit """ import unittest #Calculations class that calculates the numbers i...
[ "akeeawhite@gmail.com" ]
akeeawhite@gmail.com
37740be0fbf4d9a664ab04d6513552b0403ae818
7aed4029c9a8149aad133df44d6abfd306bcd70a
/2019/day14/part2.py
f1148a3e720303b85b452b53192a6170988be8c4
[]
no_license
janosgyerik/advent-of-code
b669902aa9efc0f8fded1012932602d9ccb693e7
dd12d0c31d6766abccaeebc5474f0855df66f561
refs/heads/master
2023-04-01T19:33:21.500017
2020-12-24T06:22:01
2020-12-24T06:22:01
160,064,435
0
0
null
2023-03-30T06:51:35
2018-12-02T16:02:21
Python
UTF-8
Python
false
false
2,108
py
#!/usr/bin/env python3 import sys from collections import defaultdict, deque from random import shuffle class FuelComputer: def __init__(self): self.outputs = {} self.stock = defaultdict(lambda: 0) def add_output(self, o_name, o_count): self.outputs[o_name] = (o_count, []) def ...
[ "info+kronos@janosgyerik.com" ]
info+kronos@janosgyerik.com
8abf0d510ba72fc3a8052dcc5dd840e749d5fe57
84bf0086bfe7af894bbfba353f1884ae9f31c335
/1123. Lowest Common Ancestor of Deepest Leaves/Python 3/solution.py
3ab86fe8912541cd5a9e096944789f1d46549a38
[]
no_license
HarrrrryLi/LeetCode
7625d9ec3d7854f72e7aeeb0292960af06a78d05
fe5c6936627c2459731ddda6f67422c217b3cc91
refs/heads/master
2020-04-12T23:57:12.387253
2020-01-16T02:22:26
2020-01-16T02:22:26
162,834,492
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def lcaDeepestLeaves(self, root: TreeNode) -> TreeNode: stack = collections.deque() path = set() path.add((root,...
[ "lfrharry@gmail.com" ]
lfrharry@gmail.com
d6583982aec283c8516ba9df00841fada35f8bff
8b75c16b18adaeccd58d0f933e64d6521d90697e
/machine_learning_algorithm/learn_rnn.py
96b9231fcf75068b529ca8f97142d86f102b6b0d
[]
no_license
elliottqian/ML_STUDY_P27_GIT
21a16bee9d6b9747e5743dc25cd174e046b6f0ce
38e2afab079ccc6acfe93adffbbebc2930d169a7
refs/heads/master
2021-01-20T21:12:48.794327
2017-01-08T16:24:12
2017-01-08T16:24:12
62,136,714
0
0
null
null
null
null
UTF-8
Python
false
false
4,994
py
# -*- coding: utf-8 -*- import sklearn import numpy as np import matplotlib from sklearn import datasets import matplotlib.pyplot as mpp import sklearn.linear_model u""" # 编写一个自己的前馈神经网络, # 输入是2维 # 输出是2维 # 中间隐含层可以自己选择 # 总共3层 """ def test_1(): # 读取sk里面的数据, 并且绘图 np.random.seed(0) X, y = datasets.make_moon...
[ "752004979@qq.com" ]
752004979@qq.com
6a77925e19d91eaed67900e2e238817e5b1b7ae6
2e70b3ce93762c5b66fba57f8b9cba37aacf0702
/new/event/migrations/0068_auto_20190604_0558.py
2b9ad4a849e0cdbfb1119ab88bfba5b068febf1e
[]
no_license
mahidul-islam/jamah
02be511fe119e8934ec7d5aa1eaa8e2b24fad246
c8ddf9a8094d33e8b1d6cb834eab3d9f18b1a9ea
refs/heads/master
2022-05-13T15:11:38.609550
2019-06-08T04:52:09
2019-06-08T04:52:09
184,331,276
2
0
null
2022-04-22T21:27:18
2019-04-30T21:04:06
Python
UTF-8
Python
false
false
536
py
# Generated by Django 2.2.1 on 2019-06-04 05:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('event', '0067_auto_20190602_1815'), ] operations = [ migrations.RenameField( model_name='eventmember', old_name='account', ...
[ "mizihan84@gmail.com" ]
mizihan84@gmail.com
32a95a956c933103116c08407eaefe421d08e1f1
d21ffe5e0da071a81a28c77ed8595b050ffb9181
/old_boy/网络基础/线程/基本用法/进程和线程的对比3.py
f549823b328b7716f18e567a51a2f869c97c37dd
[]
no_license
QingqinLi/hm
00f788e7efcee0a1970c7c9ade0a07e4d05ac8b4
691404dc5fc5530c3a7c44c902924dbef146e85e
refs/heads/master
2020-06-03T22:55:30.890333
2020-05-09T02:29:59
2020-05-09T02:29:59
191,765,040
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
from multiprocessing import Process from threading import Thread, Lock import time,os def func(): global num # num -= 1 tmp = num time.sleep(0.001) num = tmp - 1 if __name__ == '__main__': num = 100 t_l = [] for i in range(100): t = Thread(target=func) t.start() ...
[ "" ]
413f8f54b285348977371735d0e92794d6981ccd
6b9a8c946cbd71511352425fccbb81c82cb9ad39
/deploy/common/crypto.py
e440f81d864b98caf9a5a9c44eb15e74ae499b7e
[ "MIT" ]
permissive
blockchain-repo/blockchain-deploy
6f6d69aa303f470b8d711f12227a6db748894448
cb007168c880da2842aae19ccd51e57f6cc083f9
refs/heads/master
2021-08-19T16:54:59.446357
2017-02-15T02:08:44
2017-02-15T02:08:44
112,131,461
1
0
null
null
null
null
UTF-8
Python
false
false
554
py
# Separate all crypto code so that we can easily test several implementations import sha3 from cryptoconditions import crypto def hash_data(data): """Hash the provided data using SHA3-256""" return sha3.sha3_256(data.encode()).hexdigest() def generate_key_pair(): # TODO FOR CC: Adjust interface so that...
[ "wx_cs_db_88@163.com" ]
wx_cs_db_88@163.com
08c67a757962e09d60e1782ae5a7a8d9ab6cf340
768b188b1f6be6ddac7d579d9ffb076b41019fe2
/py_01.py
240a497f2facb75beaaefd49c9496c9526bea7b3
[]
no_license
cosmokerry/test2
04dcf0bb65de85fae300f971b0871790b9e23146
889d8c0610456b94b0a4e66221788336ffb9cbe7
refs/heads/master
2022-03-03T08:39:36.235239
2019-10-04T11:03:39
2019-10-04T11:03:39
212,547,166
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
print(''' 千寻你好,人们叫我'无脸男' 这个世界的人都选择无视我 只有你看到了我并和我打招呼 我感到很孤单,很孤单 你愿意和我成为朋友吗? ''') print( '千寻你好,人们叫我\'无脸男\'\n' '这个世界的人都选择无视我\n' '只有你看到了我并和我打招呼\n' '我感到很孤单,很孤独\n' '你愿意和我成为朋友吗?\n' )
[ "854442473@qq.com" ]
854442473@qq.com
de83a23717434f077f88e113fd01c3bab8a6fea2
4a41223e8c8ab33d83c6f213692c6097bb96540d
/eelbrain/_experiment/parc.py
9fc979de7443ed56f4acb4c9f91f8447365c11b2
[ "BSD-3-Clause" ]
permissive
rbaehr/Eelbrain
33ceeee24533581ab3e7569c31e0f6a6c6dfcda1
6301dc256e351fdbb58bbe13ab48fde7bfcf192a
refs/heads/master
2021-07-05T19:19:20.573231
2017-10-03T04:35:23
2017-10-03T04:35:23
104,907,464
0
0
null
2017-09-26T16:03:20
2017-09-26T16:03:20
null
UTF-8
Python
false
false
2,196
py
import re COMBINATION_PARC = 'combination' FS_PARC = 'subject_parc' # Parcellation that come with every MRI-subject FSA_PARC = 'fsaverage_parc' # Parcellation that comes with fsaverage SEEDED_PARC = 'seeded' SEEDED_PARC_RE = re.compile('(\w+)-(\d+)$') class Parcellation(object): make = False morph_from_fs...
[ "christianmbrodbeck@gmail.com" ]
christianmbrodbeck@gmail.com
333cb5a5a32213055bae5d19ccc5294d5f112d85
5b421c007198259bb220e652c521f90ac46910da
/league of legends API/trackers/MatchAppearanceDistribution.py
fbb215d93871e44b24523b71e29cc179f0ffb650
[]
no_license
ktswitala/datascience
67e5c6850967da46fe4e132113c5c41bb096f953
5bffc9170ab44628f789fb9eac83f5ae632aff76
refs/heads/master
2020-12-10T22:33:13.218778
2020-01-14T01:37:06
2020-01-14T01:37:06
233,731,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
from ..common import * class MatchAppearanceDistribution(object): def __init__(self, endpoint): self.appearances = collections.defaultdict(lambda: 0) for summoner in endpoint.summoners.query().project(includes=['summonerUUID']).execute(): self.appearances[summoner['summonerUUID']] = 0 def save(self): retu...
[ "59808993+ktswitala@users.noreply.github.com" ]
59808993+ktswitala@users.noreply.github.com
69e27cea29749aeb55b8285ea5472f561685d74c
fd9ce5afe2d1160e04071e0645eb823e90ed66bb
/tredis/__init__.py
f38a49bae5e190831d83b61c48569bf1f710f587
[]
no_license
haoxuu/tredis
b5efb1728ba94e7799547288623241706c9bd9f9
506c9a8e3d63b4a654e022f5d8127c8de4c82faf
refs/heads/master
2021-01-18T16:04:36.292451
2017-04-13T12:58:48
2017-04-13T12:58:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
""" TRedis ====== An asynchronous Redis client for Tornado """ from tredis.client import Client, RedisClient from tredis.exceptions import * from tredis.strings import BITOP_AND, BITOP_OR, BITOP_XOR, BITOP_NOT __version__ = '0.7.2'
[ "gavinr@aweber.com" ]
gavinr@aweber.com
4eebe69f6eb17ac0db185dfa84f1ab896d702cd5
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/3a4115ceaf044682aee09918ac6e23d1.py
b78aaaad71268364f91be3bfbc607b615372c346
[]
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
236
py
def hey(arg): arg = arg.strip() if arg == '': return 'Fine. Be that way!' elif arg.isupper(): return "Whoa, chill out!" elif arg.endswith('?'): return "Sure." else: return "Whatever."
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu