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
96a369b5364a86c64fea69948449dae6ce12c2ee
0dd881b86146eff46a99e3100a12addcb5b1bde9
/No1047 Remove All Adjacent Duplicates In String.py
fa03ed30c38d34973f97d2798ccca0b6b0a2699f
[]
no_license
BaijingML/leetcode
8b04599ba6f1f9cf12fbb2726f6a1463a42f0a70
0ba37ea32ad71d9467f73da6f9e71971911f1d4c
refs/heads/master
2020-03-22T05:07:17.884441
2020-01-10T12:13:54
2020-01-10T12:13:54
138,399,745
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
#!/usr/bin/env python # encoding: utf-8 """ @version: python3.6 @Author : Zhangfusheng @Time : 2019/10/3 23:07 @File : No1047 Remove All Adjacent Duplicates In String @Software: PyCharm """ class Solution: def removeDuplicates(self, S: str) -> str: stack = [] for i in S: if stack...
[ "2670871693@qq.com" ]
2670871693@qq.com
c30d318cfddb193f968bec78863696786a1a7129
89a3dad201597d270d4e8be16d9f70fab8f85cd6
/backend/theme_20114/settings.py
fcdc6849ad455a2d8cc6e9cc97db66ec25efbd04
[]
no_license
crowdbotics-apps/theme-20114
f76a4edeb86a9edd7fb5bd10717f272ee32b3aa5
792eeea493fec39e700bf6495896ea0b487f6c34
refs/heads/master
2022-12-11T04:38:11.187545
2020-09-09T06:33:54
2020-09-09T06:33:54
293,898,286
0
0
null
null
null
null
UTF-8
Python
false
false
5,889
py
""" Django settings for theme_20114 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import o...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
145f4c97909c9fc237cf9c83434ba2761d63d0b9
071cb4ec0686d1bc57d6f8cde98c60f25cf31134
/aws_learn/tests/test_aws_learn.py
f1e35568ec4b33e2e095b05e542f287052e1c5be
[]
no_license
nmaswood/aws-learn
9aaef4f80e1088c33ae39038700bfb80f0c9d313
8db9451e2315f2196b40b138d5fe6758d27cba7f
refs/heads/master
2022-11-28T01:38:02.897138
2020-08-10T15:22:53
2020-08-10T15:22:53
285,590,649
1
0
null
null
null
null
UTF-8
Python
false
false
90
py
from aws_learn import __version__ def test_version(): assert __version__ == '0.1.0'
[ "nasrmaswood@gmail.com" ]
nasrmaswood@gmail.com
8d821a2f6270c7142c70114355a8fa7e0c718aa9
c7c1e268fa641ab97bb4f48d8e419ea918ed8b87
/sdf_tools.py
0f36f5655b4c7e38d579cc1a4055651849269416
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mnowotka/sdf_viewer
19fb7423af078af4e877641f2f5c864da13bb369
a0758930c3a19418d47e2f04cd9e41af287d837b
refs/heads/master
2021-01-15T14:01:48.633151
2014-11-03T09:34:21
2014-11-03T09:34:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,139
py
#!/usr/bin/env python2 #-*- coding: utf-8 -*- # sdf_tools.py # version: 2014-10-24 # author: Axel Pahl (APL) # contact: firstnamelastname at gmx dot de # license: BSD, see license.txt in this folder #============================================================================== # TODO: implement class-based version #...
[ "axelpahl@gmx.de" ]
axelpahl@gmx.de
80c084fbb4031808a343ceeb3a1008829761814d
cbab0c479f3e62c52a9176ea7a77905194955c29
/opself.py
7749246045b76f7f879130c3e91d5c73b0478a9e
[]
no_license
BNBLACK/TEAM
5594022d54ea1f1299ef68fb784cccdc902f237a
6b31e156b30cc65feebcc836b2499d78dc937ecd
refs/heads/master
2021-09-03T20:15:37.037942
2018-01-11T17:37:01
2018-01-11T17:37:01
117,129,799
0
0
null
null
null
null
UTF-8
Python
false
false
128,363
py
# -*- coding: utf-8 -*- import LINETCR from LINETCR.lib.curve.ttypes import * from datetime import datetime import time,random,sys,json,codecs,threading,glob,re cl = LINETCR.LINE() # Akun Utama cl.login(token="EoFtpQvJto4RyahKbGo2.LLIy/AtXKNKKpuyeC/gJKG.sSKrWha5PiSso9Sza3ZbS2nDvU4LY8+NHMxgftuSI1Q=") cl.loginResult() ...
[ "noreply@github.com" ]
BNBLACK.noreply@github.com
b10fe46da3a50affbd28dd5f9b3c06391bce5a7a
4670031febb4d97d76212f0cba0e6a6c55730ffe
/tests/plugins/filter/test_ipaddrs_in_ranges.py
6357d93b7f9bbef855769dae2673a1d2b091452e
[ "Apache-2.0" ]
permissive
moussdia/ceph-ansible
8039a050d93f073a93a137fd84e362a172351fee
6dcfdf17d43635fcd0dc658c199702945a1228dd
refs/heads/master
2022-12-18T19:57:30.390070
2020-09-18T14:03:13
2020-09-18T15:14:00
298,010,982
1
0
Apache-2.0
2020-09-23T15:18:35
2020-09-23T15:18:34
null
UTF-8
Python
false
false
1,525
py
import sys sys.path.append('./plugins/filter') import ipaddrs_in_ranges filter_plugin = ipaddrs_in_ranges.FilterModule() class TestIpaddrsInRanges(object): def test_one_ip_one_range(self): ips = ['10.10.10.1'] ranges = ['10.10.10.1/24'] result = filter_plugin.ips_in_ranges(ips, ranges) ...
[ "gabrioux@redhat.com" ]
gabrioux@redhat.com
027bd1b740da5376e54fca89e08fdec63b25fe77
d07deff7e448cd38e763e939c27d2bbbf884283c
/Actionable code/2018-07-30/Where_act_code_VAE_classif_alt.py
f14c4f997a59acf170cf1083232fc7622463b91b
[]
no_license
gdbmanu/git-aae-vae-gan
40175fd8586c6be439f9ccf10d20e5d579e9870d
5b3cd28c5c355307d02c31c19700703c4f770d9f
refs/heads/master
2021-05-11T12:16:33.180221
2018-08-03T15:27:06
2018-08-03T15:27:06
117,655,041
0
0
null
null
null
null
UTF-8
Python
false
false
21,493
py
batch_size = 50 test_batch_size = 1 valid_size = .2 epochs = 100 lr = 0.001 momentum = 0.48 no_cuda = True num_processes = 1 seed = 42 log_interval = 10 size = 64 LATENT_DIM = 64 mean = 0. std = 1. dimension = 25 verbose = False NB_LABEL = 10 #HIDDEN_SIZE = 1024 #256 BIAS_CONV = True BIAS_POS = False BIAS_LABEL = Fals...
[ "dauce@port-dauce.ec-m.fr" ]
dauce@port-dauce.ec-m.fr
57f943f09cb2f07405fdecf41fc8fb91788e7d5d
69b505c7c0bef3a12d03a84f6aa09c8bb04249bb
/9019.py
355cda97e290b396da40dbfc8f0fa7c533c62555
[]
no_license
cscim918/PS
68819dc8ad3d18427bbf2cb432ef2699243eb2c7
55a3cbf226b4885d25609c0e4ab877d4a4a00ffa
refs/heads/master
2023-03-10T09:14:00.576257
2021-02-24T03:30:56
2021-02-24T03:30:56
331,794,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
from collections import deque import sys input = sys.stdin.readline def bfs(): q = deque() q.append([a, ""]) while q: number, result = q.popleft() dn = (number * 2) % 10000 if dn == b: return result + "D" elif arr[dn] == 0: arr[dn] = 1 q....
[ "cscim918@gmail.com" ]
cscim918@gmail.com
efc25952ccf6616c059a4a035042cd8c36a4d1de
b0e67fbd4c42aba24f7d4bccb99e9aa037c0b7d5
/googlenet_regression/train.py
37225c5e78976f43cf1a58087d07336e983a3735
[]
no_license
gombru/SocialMediaWeakLabeling
f979aea8218be115758ff8e1e9a945a701ac99b9
518437903ba7370a4098303a41196a08f1d6a58e
refs/heads/master
2022-02-26T17:49:08.997335
2022-02-10T12:54:57
2022-02-10T12:54:57
84,461,511
15
4
null
null
null
null
UTF-8
Python
false
false
1,399
py
caffe_root = '../../caffe-master/' # this file should be run from {caffe_root}/examples (otherwise change this line) import sys sys.path.insert(0, caffe_root + 'python') import caffe from create_solver import create_solver from do_solve import do_solve from pylab import * import os caffe.set_device(1) caffe.set_mod...
[ "raulgombru@gmail.com" ]
raulgombru@gmail.com
684cde1f1985bc66f952c4ba692fa8e8e49eaef2
526fffaa6f8ae0e006002e83dee80c918185f896
/controllers/main.py
23d95aa2dcbd76f75ebfee83bda0ce038bf8fe1f
[]
no_license
mwiesman/WFSnapNSearch
162a26f5ac5a1d3af08c1a5d46fe81d1506b4bd9
0633503a7aa8275b3eb656176fc4c0cf0fe5b64e
refs/heads/master
2021-01-09T20:39:52.298911
2016-07-12T20:55:08
2016-07-12T20:55:08
62,180,061
0
0
null
null
null
null
UTF-8
Python
false
false
1,514
py
from flask import * import os main = Blueprint('main', __name__, template_folder='templates') @main.route('/', methods=['GET', 'POST']) def main_route(): validFormats = set(['png', 'jpg', 'bmp', 'gif']) # if (request.form.get("op") == "img_search"): # picFile = request.files.get("pic") # if picFile: # ...
[ "mfwiesman@gmail.com" ]
mfwiesman@gmail.com
04f1c6092d4b788eddd48501bf369547c8671d2e
e606a78fef5ef4aec3765a0a615223a82b5cec37
/wrf.py
fcee070c46891b22f7d97a319f72e452b7caaf6b
[]
no_license
everdaniel/pycode
aaeccfe690d3dd6c71365186496dd0bd14f7e3fa
35bd471bc82828685dd814cb690a43d42d0ffc42
refs/heads/master
2020-12-24T11:52:28.076786
2014-10-24T07:16:32
2014-10-24T07:16:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,247
py
#!/usr/bin/env python #encoding: utf-8 ''' module wrf V. Noel 2010 ''' import netCDF4 import numpy as np # private functions def _tk (p, tpot): f = 8.314472/29.19 tk = (tpot + 300)/((1000/(p/100))**f) return tk def _remap (var, lon, lat, lonorb, latorb): '''Extrait des profils verticaux WRF sur un...
[ "vincent.noel@gmail.com" ]
vincent.noel@gmail.com
1671d4ad9ebc853197422bf927268c0e5d000640
33e5c43b1473129aa9d21979486c169586843a3e
/TFM/Machine Translation/preprocesoPalabras.py
a70b95625ac1a0fad4eddbb09dfea5f8bf50be13
[]
no_license
jualora/MIARFID
503813f2311bd11f1824759dd0047ae014419fc6
1222c3dddc07e987101da8987f650c33c7e4bb80
refs/heads/master
2022-12-15T07:26:02.719420
2020-09-15T11:00:57
2020-09-15T11:00:57
271,645,401
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
import os import openpyxl import matplotlib.pyplot as plt from translate.storage.tmx import tmxfile for base, dirs, files in os.walk("./ParaProcesar"): datasets = files datasetCa = datasets[0] datasetEs = datasets[1] data_path_Ca = "./ParaProcesar/"+datasetCa data_path_Es = "./ParaProcesar/"+datasetEs ...
[ "jalopez@JALOPEZ.localdomain" ]
jalopez@JALOPEZ.localdomain
38812ef52de2dc2ad2207187a97207a4bfb5c913
c7644f32855785c8c1cb4b8ba00ab1732991f691
/4 - Conditional Operators/Input Validation/test/test_validation_with_if.py
2600a8c36a48d509f2ad32214d129a05692865de
[]
no_license
Babkock/python
6036212b52e989bb10eccd998b7e099cc58521a6
73272e448aabf2171c38c5adce1fa19d42009ea9
refs/heads/master
2020-07-09T12:53:42.588387
2019-12-06T22:55:59
2019-12-06T22:55:59
203,972,994
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
#!/usr/bin/python3 """ Tanner Babcock September 17, 2019 Module 4, Topic 4: Input Validation """ import unittest from validation_with_if import average class MyTestCase(unittest.TestCase): def test_input_validation_if(self): self.assertEqual(-1, average(-90, 90, 95)) self.assertEqual(-1, average(9...
[ "babkock@gmail.com" ]
babkock@gmail.com
505b43b7f22b92821ac90e953a3cbc2653b2ea87
ed939f4855e0086a5cb7a635df6276e7d555ce78
/bin/merge_bed.py
5ec612fe7aa87fe766586746f1e5d84cb1e1c7be
[ "MIT" ]
permissive
TreesLab/ICARES
c3fc8e48f56d67bf550c8b6e872692ed7e50f206
7c9844b37c770f2e6630b5899d473a0a4189fc64
refs/heads/master
2021-01-21T16:27:15.561681
2019-10-14T08:36:04
2019-10-14T08:36:04
54,468,163
0
1
MIT
2019-10-02T04:22:31
2016-03-22T11:00:47
Shell
UTF-8
Python
false
false
1,397
py
#! /usr/bin/env python2 import argparse def merge_bed(main_file, second_files): with open(main_file) as data_reader: main_data = [line.rstrip('\n').split('\t') for line in data_reader] for second_file in second_files: with open(second_file) as data_reader: second_data = [line....
[ "chiangtw112358@gmail.com" ]
chiangtw112358@gmail.com
92d458c9db4e12901388ea18e6213c115f1134bc
98948945b539491c75652850dc7e08e07c715840
/dm-templates/sap_db2-win/sap_db2-win.py
a48df956413e54da5311f8de081d17be45b02dc2
[]
no_license
Myouss/NW_HA
0f3ff7c58b082902b41093b951a395a4b9ea31e3
d278148476ac7990288273ea000c257c2fbc51f8
refs/heads/master
2020-04-29T17:54:58.973009
2019-03-18T15:42:53
2019-03-18T15:42:53
176,309,391
1
0
null
null
null
null
UTF-8
Python
false
false
9,843
py
# ------------------------------------------------------------------------ # Copyright 2018 Google Inc. # # 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/LICE...
[ "mohamed.youssef.dba@gmail.com" ]
mohamed.youssef.dba@gmail.com
87d1d60d5d57d73ae310dd1aeea6458ff6f348d8
b8fc8bb578fe381295363b8ee233adc413f81070
/tests/integration_tests.py
6500c3a2011fa0c8b1d2f5f9716d2cea1e43a26f
[]
no_license
Python3pkg/CssCoco
dbcf96b203e5c66b37ef0befb576a7b3b3b4407f
e652decacfccc7271112f02745558a86ed5349ac
refs/heads/master
2021-01-21T17:28:06.600227
2017-05-21T11:44:36
2017-05-21T11:44:36
91,952,956
0
0
null
2017-05-21T11:44:26
2017-05-21T11:44:26
null
UTF-8
Python
false
false
50,523
py
from unittest import TestCase import tests.helpers as helpers import csscoco.lang.analysis.violations as violations class TypeCheckerTests(TestCase): filename = 'test.coco' def setupFile(self, content): fo = open(self.filename, 'w') fo.write(content) fo.close() return fo ...
[ "boryana.goncharenko@gmail.com" ]
boryana.goncharenko@gmail.com
9df8149ee9d3fb219789b8f81b51d5b528283550
0c75ed6188f6c4e37c51779996e0d1bb142e7569
/example.py
66c868a4039794ab3bdf2d6f51b40c1892e44646
[ "MIT" ]
permissive
connorhsm/Aus-Bills
2bc3d7094a24541ffacb68087ecd1b44cf32af6e
2452a4596bddf86587acceada8198e82f65834af
refs/heads/master
2022-12-18T18:00:11.025964
2020-04-13T01:58:30
2020-04-13T01:58:30
285,990,540
0
0
MIT
2020-08-08T06:52:13
2020-08-08T06:52:12
null
UTF-8
Python
false
false
464
py
from ausbills.federal_parliment import all_bills, Bill import json import random outlist = [] for bill in all_bills: b_data = Bill(bill["id"]).data print(b_data["short_title"]) b_data["yes"] = 500 + int(random.random()*500) b_data["no"] = 500 + int(random.random()*500) b_data["ballotspec_hash"] = ...
[ "kip.crossing@gmail.com" ]
kip.crossing@gmail.com
d5ff49f09ad70e362bb4bcbf3835cb9fb3aa9c6c
86011f5700ae20117c5ac7f1e5defae324d955d9
/Inbox.py
6573c99da35c89347173e27cd6875069be22f6ff
[ "Apache-2.0" ]
permissive
maxtheaxe/pollen
bbc806f1ea0ec860b75c914f6aa381eb92a210a0
14588693a639ad38a35305d6c9ab92bd99b32355
refs/heads/main
2023-06-19T22:36:13.841719
2021-06-24T14:58:43
2021-06-24T14:58:43
304,699,444
7
0
null
2021-06-24T14:58:44
2020-10-16T17:48:09
Python
UTF-8
Python
false
false
2,703
py
import pgpy from MessageBox import MessageBox from Outbox import Outbox from ConversationManager import ConversationManager from TransitMessage import TransitMessage from Pocket import Pocket class Inbox(MessageBox): '''handles all aspects of incoming messages''' def __init__(self, messages = []): super().__init__...
[ "max.perrello@gmail.com" ]
max.perrello@gmail.com
5108a4792f75d0e3781150c471d7da2a6fd5e5f0
7dc4161819947091b1d15533e7d3fba4f4497885
/First Semester/2014_Gender.py
37cdb278ef398dfa51cd7a8981900d27ca343591
[]
no_license
StanleyLin-TW/IM-Project
40cf622cefa0cc7a02e98aa3f2035107b43da440
c8ce2e9cb0ae9cbd46bfa0ec57e09a7ef562eefd
refs/heads/master
2020-04-08T04:21:31.015276
2019-01-09T07:34:29
2019-01-09T07:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
import csv import time from datetime import datetime f1=open("/Users/StanleyLIn/Desktop/專題研究/2014.csv") f2=open("2014F_data.csv",'w') f3=open("2014M_data.csv",'w') writer_F= csv.writer(f2, delimiter=',',dialect='excel') writer_M= csv.writer(f3, delimiter=',',dialect='excel') count=0 for row in csv.DictReader(f1): coun...
[ "noreply@github.com" ]
StanleyLin-TW.noreply@github.com
137172e8f2fd0c2b998ef40b2f14358dcc834869
1087386a01ad19c9d24154f1b6410fcf7a158c2c
/Old/garbageClock.py
46043174793f4912a8be46e39c774cedf59aaacf
[ "MIT" ]
permissive
mkhouse/Weekday-Garbage-Clock
0e1d8550dc013d9e11d95d56fa53bcf3d62fbdc7
d4a0e49eb527364f4b45052e69099a264ade3800
refs/heads/main
2023-03-04T09:34:46.646832
2021-02-20T00:31:48
2021-02-20T00:31:48
317,043,185
0
0
null
null
null
null
UTF-8
Python
false
false
16,193
py
""" GARBAGE CLOCK for Adafruit Matrix Portal displays current time, date, day of week, garbage alert, and countdown to garbage day. Requires WiFi internet access. GARBAGE CLOCK written by Melissa House is derived from: MOON PHASE CLOCK for Adafruit Matrix Portal: displays current time, lunar phase and time of next moo...
[ "mkhouse@mac.com" ]
mkhouse@mac.com
d150eff8b16383dbb01dddcf72bb97a39b403dbe
501fbb652c238001075fbeb572648fee8e8ee113
/deploy/bootstrap/run/cega/conf.py
a343b7054e9a901315b1cce850c02e687abd54fd
[ "Apache-2.0" ]
permissive
jrambla/LocalEGA
9842187c59c21a99ceb0f71dd7c3741f4a54b873
201efdd8bf78d49bfebd40d9d40e91e502c362a7
refs/heads/master
2022-10-23T15:15:24.795251
2020-06-17T17:35:07
2020-06-17T17:35:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import os from urllib.parse import urlencode import configparser from ..defs import generate_mq_hash HOSTNAME_DOMAIN = os.getenv('HOSTNAME_DOMAIN','') cega_connection_params=urlencode({ 'heartbeat': 60, 'connection_attempts': 30, 'retry_delay':...
[ "frederic.haziza@crg.eu" ]
frederic.haziza@crg.eu
5744be3149b224d833b2493773ab92e6f4402abb
8b2654f2a81c9f57e68a2e5663dc2add1d4c2b04
/posts/admin.py
25465ddc5c0d6e9032bf8a0f01b3628b54cc6caf
[]
no_license
karan-singare/zappit
c555187261557961bedecfbf427951a9a89ff648
4c23a158c241aeace5a1daebd86fa6a4197e8239
refs/heads/master
2023-01-07T05:03:01.354214
2020-10-30T02:02:07
2020-10-30T02:02:07
308,485,178
1
0
null
null
null
null
UTF-8
Python
false
false
146
py
from django.contrib import admin from .models import Post, Vote # Register your models here. admin.site.register(Post) admin.site.register(Vote)
[ "karansingare@gmail.com" ]
karansingare@gmail.com
7773625d944e8d59829eec7f9ca851f2c5ca1fcf
a66f92f305956320b55c0a190506f57e3df45ac7
/notlar/draft/ingilizce/views.py
ffadfa52c54515af2001a48d465cdf1668b88ccb
[]
no_license
kopuskopecik/django-projects
a12380c37130cb20974c785a76a6f4a8fb18d238
4aceafaf5ff29761c3867c9f62c93c258d9c16ec
refs/heads/master
2022-12-05T11:41:53.904378
2020-08-24T18:35:51
2020-08-24T18:35:51
289,997,905
1
0
null
null
null
null
UTF-8
Python
false
false
3,565
py
from django.shortcuts import render, get_list_or_404, get_object_or_404, redirect from django.views.generic import CreateView, UpdateView, DetailView, ListView, TemplateView from django.contrib import messages from braces.views import LoginRequiredMixin from .models import Lesson from .forms import LessonForm from h...
[ "kopuskopecik@gmail.com" ]
kopuskopecik@gmail.com
7e7ffe412e8cbab13c6623a2ab6df0fad00f46da
fa5eb288a75b6aebc7c173008ce589e477f90d3e
/home/migrations/0019_gallery_gallerycategory.py
73db4125a3a317fb42e4f0d413a2c0bd4a019e9d
[]
no_license
Vincodetech/bhimbakend
4e5144afdf659be9245e3ab4cc8e383dbf161101
83bee6f8149eb61346b4a9acd15099fb8c14418d
refs/heads/master
2023-07-01T13:50:24.050025
2021-08-07T04:31:32
2021-08-07T04:31:32
345,263,606
0
0
null
2021-04-27T09:05:23
2021-03-07T05:08:22
CSS
UTF-8
Python
false
false
1,486
py
# Generated by Django 3.1.5 on 2021-02-04 10:30 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('home', '0018_auto_20210204_1111'), ] operations = [ migrations.CreateModel( nam...
[ "71717023+Vincodetech@users.noreply.github.com" ]
71717023+Vincodetech@users.noreply.github.com
19a4a211d8ed80a52b10fd768f5a871ea0221494
a5a5839e76f01b580c17fbaccbde8063731c99ee
/utils/mysql_module.py
6297e4f61c680f402d3851e89d36314b2ca1cdf8
[ "MIT" ]
permissive
digitalmoneybits2/DigitalMoneyBot
6804764a87840c101c5da7bcb405cb9de41bda2c
34808b18dfdccd8a2d91e2152fd3e92c9397010e
refs/heads/main
2023-02-18T01:25:37.329475
2021-01-19T19:08:50
2021-01-19T19:08:50
330,454,798
0
0
null
null
null
null
UTF-8
Python
false
false
23,455
py
import pymysql.cursors from utils import parsing from utils import rpc_module from utils import helpers from decimal import Decimal import datetime rpc = rpc_module.Rpc() class Mysql: """ Singleton helper for complex database methods """ instance = None def __init__(self): if not Mysql.i...
[ "noreply@github.com" ]
digitalmoneybits2.noreply@github.com
cf27c340335ab2e0a3a132df247a6f3df6dabda6
ddf05e11407709eab868bc3cf89e7e8eeb2c5a7a
/STLight/urls.py
c19e591395002bb1a7a6ca1227c8d171370bbc1f
[]
no_license
chocooi/STLight
75e48d0c355e2029730425b0d430f18c4a685e6f
2c600fabe19f2af5f9993fac268971dc43fe4b04
refs/heads/master
2021-01-20T15:03:27.256017
2017-05-31T09:38:39
2017-05-31T09:38:39
90,708,475
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
"""STLight URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "chocooi@naver.com" ]
chocooi@naver.com
5aeec2b010ee47d3d27f372c4a4383504b4d6508
24a01d1d9ebc1d873ef7227a7fdc9f7c8f217389
/Coursera_online/week2/test2.4.3.py
f637ece67de923f2b0b4ba2937c46f1563f3a804
[]
no_license
oknelvapi/GitPython
22b18b9034baabc6d2c58e362ff6a9794996ea87
b5b0890e178a224d063df89fb04e53b3fa0092a4
refs/heads/master
2021-01-18T17:31:15.028321
2017-12-01T15:14:39
2017-12-01T15:14:39
100,488,214
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
# Сума введеної послідовності num = int(input()) numSum = 0 i = 1 while num != 0: numSum += num num = int(input()) i += 1 print(numSum)
[ "eldhim@gmail.com" ]
eldhim@gmail.com
38bc0b12bcb9b7ecd503b6b57a2e931cec458b63
e14372adf86d3c4f9e73c9f7111db3215c696c3d
/1.入门/风变编程/好人卡.py
2c1a1a5dc863f8fde5b1c86a7a1579475d755b4b
[]
no_license
hewei-bit/PYTHON_learning
71ddd7560a52575528547187f4fb40f39a3cbbdb
18de8e5bdca165df5a5a4b5e0887846593656f4e
refs/heads/master
2022-12-02T13:38:05.907135
2020-08-13T04:57:41
2020-08-13T04:57:41
261,647,401
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> a = input('两人的关系是否已经达到了朋友之上,恋人未满') if a == '不是': print('进度条不够,再等等') elif a == '是': b = input('你是不是想和对方进一步发展') if b == '不是': print(...
[ "1003826976@qq.com" ]
1003826976@qq.com
256cff179bdf5d0bfdbf3b452f8219aa728a0d6f
c27d523ebcd05054067caf77499dbdf407e7b968
/base/exceptions.py
4b3b176f8ad9798c1fcf483e33a839766dca0c9a
[]
no_license
Sunrit07/rozprava-backend
1385a9dfd9c7ccf04e9aa10cde572b36a9b87545
02bfc05a87462c288d0bc2b4c1f5269668961960
refs/heads/main
2023-07-12T11:23:28.042728
2021-08-30T16:15:47
2021-08-30T16:15:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
class AlreadyExistsError(Exception): """Error raised when trying to operate over a data that already exists.""" pass
[ "sonicxxx7@gmail.com" ]
sonicxxx7@gmail.com
c6c39f9811a920af1cc67b65891fc0a83b982a9a
4a513ee1781ac98947cc69c340955b318af91e95
/구현 코드/순열 조합 알고리즘/외장함수로 배열 순열구하기.py
8715cbe4711ce75085d7fa2704f3dcb9fad3c60b
[]
no_license
atom015/algorithm
7843d71cee5b760acdb3b9d74f37a091133c9ced
ad94a3dd12cb23363fa401f9cc67b52b36317206
refs/heads/master
2023-03-05T09:35:06.282154
2021-02-24T18:39:42
2021-02-24T18:39:42
194,266,560
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
from itertools import permutations n = int(input()) #n개의 순열 arr = list(map(int,input().split())) li = permutations(arr,n) for i in li: print(i) #가능한 모든순서,반복없음
[ "zeezlelove@gmail.com" ]
zeezlelove@gmail.com
4839b48c723044dac92e8a9f02ee2d61cbdf805c
2053bf5708e2d1d07dcecfea3a74cee03c89759d
/12_django_rest_basic/coffeehouse/about/forms.py
c789cd9d14923d18052f2b23826327c21f9253a2
[]
no_license
alimp5/beginningdjango
59bcdf5f81cfa08187a8517706bc3c4f63c1f4bb
69dbaaced5d057a1f5a44ff2f3e43fe45bde4f10
refs/heads/master
2023-04-28T02:50:04.865078
2021-04-22T02:01:14
2021-04-22T02:01:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,194
py
from django import forms from coffeehouse.about.models import Contact import re class GenderField(forms.ChoiceField): def __init__(self, *args, **kwargs): super(GenderField, self).__init__(*args, **kwargs) self.error_messages = {"required":"Please select a gender, it's required"} ...
[ "daniel@webforefront.com" ]
daniel@webforefront.com
366c94d8e826c40a231a69859b6d3ddc9e132211
21767c2ea0e8443f9f5f765207548ac32fb8636b
/bin/easy_install-2.7
9a62f1a1a08fbab17de8923555b1468ed9cb5300
[]
no_license
mrrealer/supreme-garbanzo
177e2aba0a8101271fa53d522c77597c2a4f286a
286b2aa6a337eeacf6346b333ae4db14a49fee00
refs/heads/master
2021-01-10T06:11:43.564582
2016-02-28T03:41:41
2016-02-28T03:41:41
52,701,593
0
0
null
null
null
null
UTF-8
Python
false
false
282
7
#!/Users/dwaynesamuel/Desktop/Development/abc_project/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "dwayne.samuel@gmail.com" ]
dwayne.samuel@gmail.com
52410dcf72fa288ce1176afe24d90d99e395f1da
ee00ebe5e71c36b05fbff993b19e9723b963313f
/14_longestCommonPrefix.py
b9af545eab2b091169ffed02c384c7511ace36e5
[]
no_license
26XINXIN/leetcode
f365560d93604a28abf399707b333f3c11f924ec
78ed11f34fd03e9a188c9c6cb352e883016d05d9
refs/heads/master
2021-06-28T16:31:45.103879
2020-09-19T20:33:55
2020-09-19T20:33:55
144,975,903
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
class Solution: def longestCommonPrefix(self, strs): """ :type strs: List[str] :rtype: str """ if strs == []: return "" prefix = "" while self.not_empty(strs): first = list() for n in range(len(strs)): first...
[ "yangxin.nlp@bytedance.com" ]
yangxin.nlp@bytedance.com
15bbb15577f45c954e177b859c505b4e76b7bbc3
d327842178b02628896ecfcd1ea206b35cf39a7d
/translate.py
5dbee9a31af03ef6c07662dc0e93947dca39d439
[]
no_license
aditya278/Telegram-Translation-Chat-bot
a3d7bd302dc0908b8cdd3b68d763e2a754a74e82
2eccddf0463c4b81b6ef48235a281ec569d2b3a3
refs/heads/master
2020-07-11T21:51:18.517831
2019-08-27T08:06:45
2019-08-27T08:06:45
204,651,088
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from googletrans import Translator def Translation(msg, dest='en'): translator = Translator() translation = translator.translate(msg, dest) return translation.text
[ "aditya.shukla278@gmail.com" ]
aditya.shukla278@gmail.com
1d1825d15f2ba2d022bf23c66e7348bab2d20bdd
62d94c28c606e539e07109ea478cdb4f6d2c6414
/fbchat-terminal/chat.py
ade0de9f471ff3553c4e7e0d10e76f0d4448a98f
[]
no_license
afonsocarlos/fbchat-terminal
73fa68dd22036bbca6730f9e71228801b4ab0264
67e912386cc11ec58902d95aaa2812ed0178920c
refs/heads/master
2021-06-01T03:27:17.320902
2016-05-10T20:21:43
2016-05-10T20:21:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,942
py
# -*- coding: utf-8 -*- """ Terminal facebook messenger in python. obs: in case Windows command prompt exit with charmap codec error run the command chcp 65001 in it to fix the problem. """ from datetime import datetime from passlib.hash import pbkdf2_sha256 import fbchat import getpass impo...
[ "me@work.com" ]
me@work.com
b6fab749c9a3c76967b5b1e53ce4824db4122763
86429b67cb1f9c1573c162f451f6efbc1c76031f
/약수의합.py
16a2b336f67ebeda4844d47a03af08d9c39f3eff
[]
no_license
nothingct/BOJ_CodingTest
b6da172514d38882bcfeccb7c437231af61b6568
59dc72240355bbc1ed7c4b9cf4a51ba294e23c69
refs/heads/master
2023-07-19T01:37:10.112609
2021-08-11T19:56:18
2021-08-11T19:56:18
388,266,259
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
MAX = 1000000 f = [1] * (MAX+1) g = [0]* (MAX+1) for i in range(2,MAX+1): j=1 while i*j <=MAX: f[i*j] += i j+=1 for i in range(1,MAX+1): g[i] = g[i-1]+f[i] t= int(input()) ans = [] for _ in range(t): n= int(input()) ans.append(g[n]) print('\n'.join(map(str,ans))+'\n')
[ "nothingct@naver.com" ]
nothingct@naver.com
54d95c1e82c024a0402747adbc14b870c9ffec84
80308dc6fcbc87294d4ae96c4b30d0aac6e88d6a
/multifield_batch_update/setup_menus.py
9830921ba0279918a17ff3e4ef21ba33a3a77575
[ "Apache-2.0" ]
permissive
d3v3l0/anki_multifield_batch_update
0d2924b4d2c164d7aee5702fb6b648878da5aaea
4960a6e969256ff0df2ebf37312e80fa009fcddb
refs/heads/master
2022-01-07T00:08:58.959963
2019-07-16T04:54:29
2019-07-16T04:54:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
# Copyright 2019 Matthew Hayes # 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, s...
[ "matthew.terence.hayes@gmail.com" ]
matthew.terence.hayes@gmail.com
fc0c3a7b7f649ff965390dc90c2b147b96033a90
a1dece3e2195969b04b2751745d9b3aedf263a98
/2022/10/b.py
ce13e6fd84f3d6e757e6217d376776a23bf0f6e1
[]
no_license
vnil/advent-of-code
4804060365666413ee8601d8aa6fa82595c5f49f
f00940a5442b81f1eefa6dd65b5bd952c6ea03cc
refs/heads/main
2023-03-07T22:28:32.482267
2023-02-27T16:12:52
2023-02-27T16:12:52
225,295,002
0
0
null
2023-02-27T16:20:53
2019-12-02T05:45:38
Python
UTF-8
Python
false
false
906
py
# Take time to read # Consider different approaches # +-1 errors? # Got last item? from collections import Counter from collections import defaultdict, deque from pprint import pprint as pp from itertools import combinations from copy import deepcopy import math import sys filename = sys.argv[1] content = open(file...
[ "viktor.nilsson@tretton37.com" ]
viktor.nilsson@tretton37.com
8143669c1aa900477f7a438e23b893a33b80b9ca
7df236ea048a0cb5bdd0f5481ab5aaef2e681597
/tsl/api/views.py
c1553c55c5947b0afdb85633a7dc1140627fe7a3
[]
no_license
dominicsmorra/TSL-Project
722be409633bd3937d085f585d2058691037f2de
d5967d132c7fb31038de1bf17fd34c77c3101de4
refs/heads/master
2023-06-12T19:16:17.174211
2021-07-09T06:03:00
2021-07-09T06:03:00
383,884,142
0
0
null
null
null
null
UTF-8
Python
false
false
2,470
py
from rest_framework import status, permissions from rest_framework.response import Response from rest_framework_simplejwt.views import TokenObtainPairView from rest_framework.views import APIView from rest_framework.generics import ( ListAPIView, RetrieveAPIView, CreateAPIView, DestroyAPIView, Updat...
[ "dominicsmorra@gmail.com" ]
dominicsmorra@gmail.com
4c3bdb59f2ceb1a8d91f74e8f2fcc42912087c03
c87402ae301bdb163cdb7c8c8d1f4f8ba32aa519
/python/028.py
d145c6732e40eaed174cf374c0d111f2e5615c76
[]
no_license
jabagawee/Project-Euler
e22a6b6df6015919ffadb1f1374696b5b6d89353
01bccf9c7a5bb8ab57428ebbf0f375d8e2db8d9d
refs/heads/master
2021-01-23T13:41:36.045702
2014-04-24T01:01:10
2014-04-24T01:01:10
3,687,419
3
0
null
null
null
null
UTF-8
Python
false
false
145
py
ans, curr = 1, 1 SIZE = 1001 for x in xrange(1, (SIZE - 1) / 2 + 1): for y in xrange(4): curr += 2*x ans += curr print ans
[ "andrew@jabagawee.com" ]
andrew@jabagawee.com
2720e576fe35dc1f1645bec769b4faee289dcce9
acfef9ee466c33ef16697372513db5ee244ee4d2
/datasets/NIHE-Northern-Ireland-housing-bulletin/nihe-building-developement.py
7aba1e08d344f5036754f9356895d845e7ac3aad
[]
no_license
GSS-Cogs/family-homelessness
6695832fb34b3f78c7d86b67aa8977fb73c30ab6
4f89b3b319998ef61066da8396229719182a8362
refs/heads/master
2022-08-09T21:14:20.441818
2022-08-03T15:24:18
2022-08-03T15:24:18
251,271,212
1
0
null
2022-10-17T08:30:52
2020-03-30T10:23:41
Python
UTF-8
Python
false
false
8,022
py
#!/usr/bin/env python # coding: utf-8 # In[33]: from gssutils import * import json import datetime from pandas import ExcelWriter import pandas as pd from pathlib import Path def right(s, amount): return s[-amount:] def left(s, amount): return s[:amount] year = int(right(str(datetime.datetime.now().year),...
[ "jonathan.j.walters@gmail.com" ]
jonathan.j.walters@gmail.com
e713240de7ae59f0a0a0af423507413283cbcabb
6c53bda724a852ff7f99b44d4777ba1ee85bc76a
/testimport/testingimport.py
0f515e9307ded961ac0c6849c1d3869685236947
[]
no_license
Happy-Lama/Ambition
eb92f1c194a4a8c950e33233dac1a87c85986bf5
b8e1e3f595ae528aa1a7037e3e1b2a03a5066546
refs/heads/master
2022-04-10T07:19:28.135548
2020-03-28T10:01:17
2020-03-28T10:01:17
245,880,961
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
from MyFunctions import add print(add(1,2))
[ "kldenis2001@gmail.com" ]
kldenis2001@gmail.com
7db9b648d623bb3ae7d34cc2d55aeb3112bdd8a0
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/databoxedge/v20210201preview/get_mec_role.py
4e08fec53f2b3eaad31997b2c9c9689f86f8de67
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
5,958
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
9f579718f48595ddae2c729e936801f9fb340e39
2cadaf598a7d5cc98680a23d2aa7384223259c92
/src/solution_f25ffba3.py
5da0c0658d4a4fb5fe5e3719ecbad477a2093e46
[ "Apache-2.0" ]
permissive
emmetlee/ARC
0dcad958f9f204a695fa1476c057c769516ac633
8748321a54db6adc60595d92944d6f11e38f9be3
refs/heads/master
2020-09-12T05:11:47.277602
2019-12-01T21:24:01
2019-12-01T21:24:01
222,319,212
0
0
null
2019-11-17T22:11:45
2019-11-17T22:11:44
null
UTF-8
Python
false
false
2,185
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 27 23:26:33 2019 @author: emmetlee """ import sys import json import numpy as np def solve(grid): """Call solve() function """ #Open the json file passed into the solve function d1 = json.load (open(grid)) #Work out the shape and size of the in...
[ "emmetlee@avaya.com" ]
emmetlee@avaya.com
af8037882b5b9cd779f9d7cc0a06e7e7f6386acf
2e919a1e9f5d6b0ffef37b626d5dc97a5b2f63cd
/src/exceptions.py
380df767487eeb558edf1579046a045c2e41b44f
[]
no_license
lucasguerra91/some-python
c3992ac6c49f015bf14f37996ff3c8b0ed7b4d0a
0678e8d884e0641d592a3a457db11cc2085c8b27
refs/heads/master
2021-01-18T13:06:32.454114
2019-06-24T01:46:58
2019-06-24T01:46:58
80,723,911
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
try: print(5/0) except ZeroDivisionError: print("You can't divide by Zero!") # Ejemplo de try dentro de divisiones print("Give me two numbers, and i will divide them") print("Enter 'q' to quit. ") while True: first_number = input("\nFirst number: ") if first_number == 'q': break second_nu...
[ "guerra986@gmail.com" ]
guerra986@gmail.com
0bb8cc0c7e2ebe27c19854bab4f930bd934494f9
d8df81c37d267c21917e16a0df0931e9954d0f88
/virtual/bin/wheel
b8807cae90a68f035eb739418d0d872d70411bcf
[ "MIT" ]
permissive
njoanc/neighborhood
7ec639a8b74f02998031387500de2dcf88169f43
81658f4cdfe4dbfd4080d55d8136349be0da7c23
refs/heads/master
2021-09-09T06:24:18.735569
2020-05-17T14:12:40
2020-05-17T14:12:40
179,490,905
0
1
null
2021-09-08T00:56:49
2019-04-04T12:14:15
Python
UTF-8
Python
false
false
243
#!/home/wecode/Desktop/nextdoor/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "wecode@wecode" ]
wecode@wecode
ea4f1076b9bc672d07920d9619fbd9167214a8d7
395e0c9cd078210bc3313485d6f5ed8068b5e3a3
/test_redis/test_auth.py
25627e03ccd649cfb4addd1ce7b830ab08df6826
[]
no_license
skysbird/test-twemproxy
90709c548228250aea6501dacc0e9b340c167b32
c13bf76d6d73b1df0e8cdcda1b2ec13a8d5722b0
refs/heads/master
2020-12-06T19:08:58.446646
2014-12-03T05:14:48
2014-12-03T05:14:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,698
py
#!/usr/bin/env python #coding: utf-8 from common import * all_redis = [ RedisServer('127.0.0.5', 2100, '/tmp/r/redis-2100/', CLUSTER_NAME, 'redis-2100', auth = 'hellopasswd'), RedisServer('127.0.0.5', 2101, '/tmp/r/redis-2101/', CLUSTER_NAME, 'redis-2101', auth = 'hellopasswd'), ] nc = NutCra...
[ "idning@gmail.com" ]
idning@gmail.com
5cb56ab8c19aefca42ed1e81a29896f955cb110e
193a914d773346d62964c1257a1373c4bb9aaca6
/B045計算ドリル.py
88ec369e7879fd7ba3fc0db1c179e6ef9721f236
[]
no_license
hujuu/py-test
f32d6ce723b0c8bc12d61f6aadc9141bd34b9272
9b225f34b4a2e6be971fd909aec96698649a049b
refs/heads/master
2022-08-17T22:21:21.290603
2022-08-02T01:22:53
2022-08-02T01:22:53
19,423,217
6
2
null
null
null
null
UTF-8
Python
false
false
640
py
import random setting = input() set_data = setting.split() plus = int(set_data[0]) minus = int(set_data[1]) res = [] plus_count = 0 while plus_count < plus: left = random.randint(0, 99) right = random.randint(0, 99 - left) temp = [left, right] if temp not in res: res.append(temp) plus_count += 1 for g...
[ "out.of.the.base.sfc@gmail.com" ]
out.of.the.base.sfc@gmail.com
8860d334a01dc28063918c5dd36d0a8126459b73
34dd946a15565989e58f5e1ecc0812f01e7e6e8b
/lib/MailUserDistribution.py
e29dc5a08ace74780af92a59dbe14951eead8f61
[]
no_license
rainbowers/AutomaticUser
49194534bdd3c5c7b18bc9c68541dce9b4aa3333
82ae207f39b1771d7dfa1226cb1f44dba6bed313
refs/heads/main
2023-06-16T11:12:19.427792
2021-07-02T02:26:26
2021-07-02T02:26:26
381,607,982
1
0
null
null
null
null
UTF-8
Python
false
false
3,927
py
# -*- coding:utf-8 -*- __author__ = 'Rainbower' import pymysql from config.settings import Params import logging # 日志设置 LOG_FORMAT = "%(asctime)s %(levelname)s %(filename)s %(lineno)d %(message)s" logging.basicConfig(filename='../logs/debug.log', level=logging.INFO, format=LOG_FORMAT) class MailUserDistribution(...
[ "694484533@qq.com" ]
694484533@qq.com
60ac3506785fe460cf5314302f7df31e91c27fef
5a713577c8e10335de8c6e8dffc9390ec6cc5e59
/apps/beltexam/migrations/0001_initial.py
027cba91e3183b68306e881af8b34e9b2a236b79
[]
no_license
RRuais/belt_exam
76e18862ab3fb81e8c8a89d3e504d7826daeb36a
0357377e06d43e3a79b12e0097ad59176a3906af
refs/heads/master
2021-01-12T12:13:47.027120
2016-10-31T03:05:33
2016-10-31T03:05:33
72,379,388
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-30 20:40 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "richruais@gmail.com" ]
richruais@gmail.com
6089791cde362af5b1269ec38499d9fe9eee7e2f
87d5b21265c381104de8f45aa67842a4adc880eb
/3438. Find Right interval.py
daca0e5ac90173dd5e8a9a5b8a06529e6b0cc223
[]
no_license
MYMSSENDOG/leetcodes
ac047fe0d951e0946740cb75103fc94aae967166
8a52a417a903a0742034161471a084bc1e494d68
refs/heads/master
2020-09-23T16:55:08.579319
2020-09-03T19:44:26
2020-09-03T19:44:26
225,543,895
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
class Solution: def findRightInterval(self, intervals): for i, interval in enumerate(intervals): interval.append(i) s_intervals = sorted(intervals) intervals.sort(key = lambda x : x[1]) e_intervals = intervals s_idx = 0 ret = [-1] * len(intervals) ...
[ "fhqmtkfkd@naver.com" ]
fhqmtkfkd@naver.com
688356afd565f78fa2f2a9088532e9feabef2731
853e455782a944c4fed84b8f9bf4fa9a45d196d2
/paw-pics-app-backend/paw-pics-app-env/bin/rst2odt_prepstyles.py
1052d2337e554f5134b15457c2a2299685b1a27a
[ "MIT" ]
permissive
kevtraver1/Paw_Pics
de529393f7431e250000651884968d738e90f352
d8649c4d67dc4eaa4f977b8da8f594323e724067
refs/heads/master
2022-12-13T10:12:54.436541
2018-12-26T21:39:39
2018-12-26T21:39:39
163,121,838
0
0
MIT
2022-12-10T04:25:39
2018-12-26T01:14:52
Python
UTF-8
Python
false
false
1,779
py
#!/Users/ktravers/Documents/AWS_Paw_Pics/Paw_Pics/paw-pics-app-backend/paw-pics-app-env/bin/python3 # $Id: rst2odt_prepstyles.py 5839 2009-01-07 19:09:28Z dkuhlman $ # Author: Dave Kuhlman <dkuhlman@rexx.com> # Copyright: This module has been placed in the public domain. """ Fix a word-processor-generated styles.odt ...
[ "kevtraver1@gmail.com" ]
kevtraver1@gmail.com
21a818a1b4255fb5851b3a266529d7db81e8bec9
128bd6301b594bd3483f400fe7bb20fdb51f9e19
/codec/tqn.py
01b1513bf9afee342325ee0c0257c6affefff517
[]
no_license
Bakerjc-bgner/Parallel-SGD
a0c8a65f26d03cf04f6787adb98caa6134d7a37f
9678c74f8e361a686e3db121712cccfb4f5162e1
refs/heads/master
2023-02-17T11:08:17.371571
2020-11-13T07:54:43
2020-11-13T07:54:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,078
py
import numpy as np from codec.essential import BlockWeight from codec.interfaces import Codec, netEncapsulation from utils.constants import Parameter_Server def stochastic_ternarization(arr): """ Stochastic quantization implementation based on paper in NIPS: Alistarh et al. “QSGD: Communication-E...
[ "zzaddp@live.com" ]
zzaddp@live.com
2f3aeb4b0aa9b08d754e8194ba4c9812c27253a2
8c94fac8f49d0b3c54e985a610c166746a8e5f57
/app/templates/sa_types.py
71c7fc8bbbdc72f3942947f8f84b71113dc47f02
[ "MIT" ]
permissive
PuZheng/generator-flask-skeleton
cef932a62559ee29e1d16c3876d7e5705e7bd509
746b8347d3a5e2f6f88dbd1b33df68f6058d4383
refs/heads/master
2020-12-24T13:28:11.377335
2015-06-23T04:17:47
2015-06-23T04:17:47
30,238,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
# -*- coding: UTF-8 -*- import types class ChoiceType(types.TypeDecorator): ''' ChoiceType is used seperated the actual MAGIC NUMBER and representation, the user could only use the representation to read and write the field ''' impl = types.Integer def __init__(self, choices, *args, **kw): ...
[ "xiechao06@gmail.com" ]
xiechao06@gmail.com
5beb2b2bb1915d2a491d8f0434744c26066c0e23
c10a018274e84889659bc1aa98064e61c5399e94
/runs/out2/plot_carter.py
536edd15d6107c2b2c0363c957bbe2ed6ad7784a
[ "MIT" ]
permissive
natj/bender
9f0d86b5cac7e8bfa681a0e03f08996d3b9da5e8
41820faa301429721bd3d14eadd6f9b3ef620a9e
refs/heads/master
2020-04-04T06:01:29.155732
2017-11-27T12:19:25
2017-11-27T12:19:25
46,436,958
1
1
null
2016-02-05T16:46:17
2015-11-18T17:55:04
TeX
UTF-8
Python
false
false
9,067
py
#!/usr/bin/python from __future__ import division import sys import os import h5py import matplotlib import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1 import make_axes_locatable from mpl_toolkits.axes_grid1 import ImageGrid from matplotlib.patches import Ellipse from matplotlib.colors import LogNorm ...
[ "nattila.joonas@gmail.com" ]
nattila.joonas@gmail.com
c95c439e43cc1f9df41cfe9a8bc0fd4ccc988e75
d8d370a5bd11e19000829498c41eee0e45056f21
/Senado_API.py
d3969e35955f3fa6cc3093f215dff8ce1eee6269
[]
no_license
Ryukamusa/API_Senado
77db8b56ac4ea7977caaf2fcf623b488b1770250
bc74294ebdf15d0830a9ce4857093c7ea7b20e4b
refs/heads/master
2021-07-20T23:54:34.861744
2017-10-25T14:19:44
2017-10-25T14:19:44
108,268,118
0
0
null
null
null
null
UTF-8
Python
false
false
6,892
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Aug 8 18:12:35 2017 @author: helio """ #============================================================================== #============================================================================== # # 1a #=============================================...
[ "helio.mgl@gmail.com" ]
helio.mgl@gmail.com
9211cf3096169124aceb6966857aca70685f1434
671474dd27dd904b799d113a62af4ddd1d4d1d53
/leetcode/ContainMostWater.py
a81ce0bbedd3fc8c29750ca0bada2d26997dfc55
[]
no_license
babyrain045/pyproject
0663d96f715eb49c68457e60b7c40ef25c0400ba
e31dd17af01219d6a0eaa1153129a7b807ffdbbf
refs/heads/master
2021-10-24T11:26:21.922015
2019-03-25T15:36:54
2019-03-25T15:36:54
116,096,171
0
1
null
null
null
null
UTF-8
Python
false
false
918
py
a_list = [1,8,6,2,5,4,8,3,7] lenth = len(a_list) count = 1 r_index = -1 r_flag = a_list[r_index] area = 0 while(count - r_index <= lenth): if a_list[count-1] < a_list[r_index]: print(a_list[count-1],a_list[r_index]) r_wid = lenth + r_index + 1 up_area = (r_wid - count) * a_...
[ "am_crrr@qq.com" ]
am_crrr@qq.com
2be77f166383e055b27d557705bce9f9511b40c5
dce8035b3f68a862405a2907f509992ad084cbaf
/models/config_data.py
c6508f37ee8cfc4f8f01cb76d5f3f09f112d33dc
[ "MIT" ]
permissive
AlberLC/flananini
1ce97a17c9fd8d56f28318a1e58d4dbef9b5e594
0b3b2f8f12af89da67a1addd24d0274110738b47
refs/heads/main
2023-03-30T11:59:55.928477
2021-04-10T20:12:35
2021-04-10T20:12:35
349,248,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
import json from dataclasses import dataclass @dataclass class ConfigData: api_id = None api_hash = None phone = None email_name = None email_pass = None period = None n_emails = None send_to = None emails_to_check = [] def __init__(self): with open('config.json', 'a+'...
[ "alberlc@outlook.com" ]
alberlc@outlook.com
8f1ace82148eeb7f7d40c967c40b5fa627ed65dc
07a2d9a942402bc1b525af5baea96aa455d45604
/users/signals.py
841356d7b11aeb25d84f1ee5ed57bb88b7ad713e
[]
no_license
Vahid97/Devsearch
7c0b9085c362fe0282ff5082b29ea6d114c7c328
0c1677b1c1a343263eec46a0b9209f27e588e65e
refs/heads/master
2023-08-24T06:21:39.024279
2021-10-14T16:19:31
2021-10-14T16:19:31
415,063,270
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
from django.db.models.signals import post_save, post_delete from django.dispatch import receiver from django.contrib.auth.models import User from .models import Profile def createProfile(sender, instance, created, **kwargs): print("profile create triggered") if created: user = instance profil...
[ "vahidefendi5@gmail.com" ]
vahidefendi5@gmail.com
6a96f06a548d7b7272f54e5882dc0e37c7143af7
56e93249ee04b30f1f20fd40361e160504e7e5ac
/venv/bin/pip
8d532b612b036fe2cfab2965308b4a9d1c27a863
[]
no_license
elahe-dastan/AI-NLP-textClassification
f5683c0fe632e28a70d3191bd43ab469fd205705
03d2d3778c15c77d4dd361290ccade0aaad4b565
refs/heads/master
2022-04-09T10:20:48.186155
2020-03-01T10:35:26
2020-03-01T10:35:26
236,068,057
2
0
null
null
null
null
UTF-8
Python
false
false
395
#!/home/raha/PycharmProjects/NLP/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(...
[ "elahe.dstn@gmail.com" ]
elahe.dstn@gmail.com
e00b4d1e0425338317639ae69e1c7d45820b13fc
dbfc6a1fa80eeabb5773fdc31d5b0fabad5bdd02
/directory_unit/migrations/0004_auto_20151213_2022.py
3b29d5076464120cc5e4efa820c2dea5b0983262
[]
no_license
daaray/library_website
75803a655f391789235f70b8a552fbf79b18b428
589d594ef2bc874a1c84f32e3853400f4f40bd03
refs/heads/master
2020-12-30T13:59:48.061235
2017-05-09T20:39:41
2017-05-09T20:41:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('directory_unit', '0003_unitsupervisor'), ] operations = [ migrations.AlterModelOptions( name='directoryunit', ...
[ "jej@moss.lib.uchicago.edu" ]
jej@moss.lib.uchicago.edu
cc50e8cf7bfcdfdd3fa42fef1852bb043cd992f3
4a4b05119f116be2f674cf39e66944ae44f76f55
/rolldecayestimators/tests/__init__.py
714f8e93dcd2aa29643f667e5931f0b471622b68
[]
no_license
martinlarsalbert/rolldecay-estimators
a84ea4fc8dca2b8b7e6573c9b6e8d162809c6302
c74642ce2b5299d4aa849c277fbaf8688f79f760
refs/heads/master
2022-11-20T20:39:13.488465
2022-11-07T13:04:40
2022-11-07T13:04:40
237,425,836
1
0
null
null
null
null
UTF-8
Python
false
false
42
py
import os path = os.path.dirname(__file__)
[ "marale@kth.se" ]
marale@kth.se
8b14517720719953b2311219495656be8d43d63d
6458a9435dc52f73fee0c1b37c4ab6cfc41356fd
/davis/gif_gen.py
6e3242db5fa2b07be678bbdf757c829006f413de
[]
no_license
belaalb/frameGAN
3af57c8b812cd7c90b3d9cbccb6fc585a2068e19
8a58ddcc4a7f24f145e8dd1ab9ef37ea9cf64712
refs/heads/master
2020-03-19T23:03:20.378243
2019-05-29T01:46:41
2019-05-29T01:46:41
136,991,356
0
0
null
null
null
null
UTF-8
Python
false
false
1,529
py
import cv2 import numpy as np import math import glob import os from tqdm import trange def gif_gen(im_size=64,input_path="./results/", output_path='./davis_gif/'): if not os.path.exists(output_path): os.makedirs(output_path) classesDir = os.listdir(input_path) vcat = [] total = [] ...
[ "hrm@cin.ufpe.br" ]
hrm@cin.ufpe.br
0d0ce9e1b68e5d5eddb4e9de6d3f7d68284fd168
7b67d9e7ea01f43d0734860ea371419fd47f3a13
/test.py
18f11f80cb84c5c307d1ba2cff3ca6a560a73d51
[]
no_license
milanetf/variant_calling
915eeda82f330fc58f9fb6a7d995719f4a8947c5
1bcb4f182f8b15f2e60ad3031c60abdd421f3970
refs/heads/master
2020-03-22T13:26:46.627182
2018-07-09T15:05:26
2018-07-09T15:05:26
140,108,520
0
1
null
null
null
null
UTF-8
Python
false
false
3,148
py
"""Usage: test.py (-h --help) ... test.py -t <testType> ... testType: 1 variantCallingCore test 2 variantCalling test 3 addVarinatToIntVcArray test Options: -h --help | help -t testType | execute specified test """ import variant_calling import msvcrt from docopt import...
[ "noreply@github.com" ]
milanetf.noreply@github.com
610b5e884721abf6ec324e338013d09b0103064c
ce862c7ff3de8866a6ba1a445dbd099e7cc8f077
/frontend_render/views.py
3716f3b05a0f93540f949628509e69def47226e4
[]
no_license
TsingJyujing/ServerDash
288ce44d465c08132c947e2b83c9b107815b96ae
91ac73f848dc4ed4e000fd79198685810851e693
refs/heads/master
2021-01-13T07:55:53.904425
2017-12-27T14:26:22
2017-12-27T14:26:22
95,017,114
0
0
null
null
null
null
UTF-8
Python
false
false
2,194
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import string from django.shortcuts import render def get(req, key, default): try: return req.GET[key] except: return default def view_current(req): return render(req, "view_current.html") def view_his...
[ "yuanyifan1993@foxmail.com" ]
yuanyifan1993@foxmail.com
6fc802b1a8479f363d733f1f6ab7160b0e51f014
5c9a29f5a3bbaa328be5ead3f69a79cb4bfd6148
/GoState.py
22c577dbd82130783a2089ae903e4ea7008f2a23
[]
no_license
alaydshah/GoAI
546c2de431cdbfcc361c4f8fe55278a35e20fd6c
dc1f4b8931fc8abf677dac15a065899d2cecd64b
refs/heads/master
2022-04-08T18:27:31.464043
2020-03-27T23:30:09
2020-03-27T23:30:09
249,115,837
0
0
null
null
null
null
UTF-8
Python
false
false
2,232
py
from GoBoard import Board from GoMove import Move from GoPoint import Point from copy import deepcopy EMPTY, BLACK, WHITE = range(0, 3) class State: def __init__(self, board, p_state, next_player, move): self.board: Board = board self.previous_state: State = p_state self.next_player = ne...
[ "alaylien11@gmail.com" ]
alaylien11@gmail.com
2847b8fc07b0d1d4b7a080625656673b26af874b
d659810b24ebc6ae29a4d7fbb3b82294c860633a
/aliyun-python-sdk-ecs/aliyunsdkecs/__init__.py
35ecf57dbcca9c1abba51cbcd6779a7fa33dc5d4
[ "Apache-2.0" ]
permissive
leafcoder/aliyun-openapi-python-sdk
3dd874e620715173b6ccf7c34646d5cb8268da45
26b441ab37a5cda804de475fd5284bab699443f1
refs/heads/master
2023-07-31T23:22:35.642837
2021-09-17T07:49:51
2021-09-17T07:49:51
407,727,896
0
0
NOASSERTION
2021-09-18T01:56:10
2021-09-18T01:56:09
null
UTF-8
Python
false
false
22
py
__version__ = '4.24.8'
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
72a562a710202adb8ea56eb6eaf46f7950173472
2143b0593a92a705862e54a4c5da0f9fbf27d464
/project_B_q4.py
b04c1bd6e40b126ffb5c60195d30958a465bea3a
[]
no_license
TomDrnd/NN_Basic_Classification_and_Function_Approximation
eb17a3cb1ecc4e0c683969b36ab2aeb1cc2e836a
5a6dc1ecec2e2b0444d1710df70677979756f6da
refs/heads/master
2021-07-13T05:45:01.316792
2017-10-19T03:06:23
2017-10-19T03:06:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,307
py
import time import numpy as np import theano import theano.tensor as T import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D np.random.seed(10) epochs = 1000 batch_size = 32 no_hidden1 = 60 #num of neurons in hidden layer 1 no_hidden2 = 20 #num of neurons in next hidden layers learning_rate = 10**...
[ "noreply@github.com" ]
TomDrnd.noreply@github.com
f79c36b7ee1617a0ebd4a27bb4e854e57aab82ee
c337edfc8b93fe65b459e4da38ce8e8da3c5aa8b
/Lista 3/I-Beautiful.py
ac79a098b16d6a06fcda981867e065f92b930001
[]
no_license
nayarasps/AA-Iniciante-20.3
a0801599d4bc2db5b1f53146a5b9b5d67970679a
c0d7a474cf5831f383cc208a7ed8545f2c132a36
refs/heads/main
2023-01-01T17:03:00.041248
2020-10-19T03:34:46
2020-10-19T03:34:46
301,019,609
1
0
null
2020-10-19T03:34:47
2020-10-04T01:47:32
Python
UTF-8
Python
false
false
476
py
# @author Nayara Souza # UFCG - Universidade Federal de Campina Grande # AA - Basico n = int(input()) for i in range(n): v = int(input()) l = list(map(int, input().split())) s = '' da = {} e = v d = 0 for j in range(v): da[l[j]] = j for t in range(1,v+1): ...
[ "nayarasps10@gmail.com" ]
nayarasps10@gmail.com
9e92114db3572cb13555baf1a6ae66b4dd16ce66
571e7c2ef8298ae45e86c28eba46815dd1c87b61
/folioport/apps/account/migrations/0011_auto__chg_field_folioportuser_site.py
c175aad57b6272143ec753f7c0e73187c93451b5
[]
no_license
mmoravcik/folioport
c5baf50c1abc0919b4b210c7ff4cccf6684f57a2
1df6b9cbe533ca4cb1f8538c66975bbaaff3068a
refs/heads/master
2020-04-06T04:09:04.707884
2015-03-31T18:52:26
2015-03-31T18:52:26
4,400,112
0
0
null
2013-06-16T15:36:04
2012-05-21T23:47:21
Python
UTF-8
Python
false
false
3,707
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'FolioportUser.site' db.alter_column(u'account_folioportuser', 'site_id', self.gf('django....
[ "matus@potatolondon.com" ]
matus@potatolondon.com
003a685dd62d0fc0c3566edb06ab0528003a429a
39bc2aadd859051b59c82309ca08af53d8deecac
/src/awkward/_v2/forms/recordform.py
e99d450064824e0b4f96aa801dc3f3f932b89d1b
[ "BSD-3-Clause" ]
permissive
emg110/awkward-1.0
c626bfd1f91dc8b857bd5ca48098414c690d775d
8aa771b064f6d6b51872390cc2288aed8b952ed8
refs/heads/main
2023-08-01T12:35:08.333049
2021-09-23T20:38:38
2021-09-23T20:38:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,084
py
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE from __future__ import absolute_import try: from collections.abc import Iterable except ImportError: from collections import Iterable import awkward as ak from awkward._v2.forms.form import Form, _parameters_equal, nonvir...
[ "noreply@github.com" ]
emg110.noreply@github.com
2aaceb0750b723c6938838e69f0c254ae825d98f
1e41a85b4bc9ca847686a13ed729bc277a295f3e
/calculator_app/migrations/0001_initial.py
50edb92d4d54aa84a7cf0b87baca44d0a9cb84b8
[]
no_license
eileendwyer/django_calculator
6c6827556e227f03a5cb1d63a7ab41a6ad3b3f2f
25138b3244030a8bf83714b460d7f65e835be905
refs/heads/master
2021-01-16T20:38:42.796930
2016-06-16T12:03:55
2016-06-16T12:03:55
61,143,989
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-16 10:17 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): initial = True dependencies = [ migration...
[ "eolson@smalltalku.com" ]
eolson@smalltalku.com
02d1e68bba90632556650dfb07a3f9a032336629
47eb127f940d262bdd2a84fa61122fa30eae9fd0
/LibraryTest.py
e87b87ff3321b98a970aff958a30335cd1979252
[]
no_license
rpatelk/SimpleLibrary
df4e8133b3ebcc9adbc4b79fbef7de0988337c82
53c056677119a82a08c950a405c6ad9039677dc6
refs/heads/main
2023-03-30T02:25:11.124086
2021-04-03T22:49:30
2021-04-03T22:49:30
352,394,531
0
0
null
2021-04-03T22:49:01
2021-03-28T17:33:27
null
UTF-8
Python
false
false
2,858
py
import unittest from Book import Book from Library import Library # Test class for Library class # @author Raj Patel class BookTest(unittest.TestCase): # Tests the methods associated with library name. def test_name(self): b = Book("Hatchet", "Gary Paulsen", "Survival, Fiction", "61743") b2 =...
[ "rkpatel4@ncsu.edu" ]
rkpatel4@ncsu.edu
f0ca656cee2c4b280753d6bd9f26bbb9da0f3a6e
33c3b437c1018c8650de6346d51273acbdcc9331
/oms/handlers/check/check_content_type.py
886aac4aaa2f0d1d6f53c6ff445289a603a62063
[ "MIT" ]
permissive
guoxu3/oms_backend
09e8766f58d52a3e1bf047b41b9a3e1a249df2a3
8865a78bcf133339564568b40d879d7b516b4c96
refs/heads/master
2021-06-15T17:31:24.558954
2017-04-24T02:43:46
2017-04-24T02:43:46
68,985,344
2
1
null
null
null
null
UTF-8
Python
false
false
453
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from lib import verify def check_content_type(request): ok = True info = "" content_type = dict(request.headers)['Content-Type'] body = request.body if not verify.is_content_type_right(content_type): ok = False info = "Request content-t...
[ "guoxu3@qq.com" ]
guoxu3@qq.com
b46eab83eca8e1c46b34e189710aef24c51c03b9
39f5aee2c4d50ccb5beffca529a829b840eb9e63
/betrobot/grabbing/intelbet/downloading.py
47e1a632567605d43b0de73bcd2f39dd92e7dd11
[]
no_license
Gufran33/betrobot
24e65f6edca34c4d47e8cad24f75b571663d8749
6059e5f5ed56a014c40e718761a9649059a9c11d
refs/heads/master
2023-03-18T02:08:13.666394
2017-12-07T20:04:10
2017-12-07T20:04:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from betrobot.util.requests_util import requests_get def intelbet_get(*args, **kwargs): response = requests_get('www.intelbet.ru', *args, **kwargs) if response is None: return None return response.text
[ "kuraga333@mail.ru" ]
kuraga333@mail.ru
0ed6ce89cb3196a33d6854d121592735fa2cc028
194852f65ef166f765e1a80bb230cbea79ad3ea9
/example/Bomberman/Runtime/GING/__init__.py
b848d28fadf8a4c63dbabbf13f6c44b9d80f42a0
[]
no_license
limBuddies/GING
03f78bbd6d0b49e6991edca3a3e00a0824c0c907
b1a4ccde2b2958de85cd3edef3242904df5896b0
refs/heads/main
2023-04-28T17:34:39.685308
2021-05-19T22:47:24
2021-05-19T22:47:24
367,539,647
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
from .Vector2 import Vector2 from .Transform import Transform from .Sprite import Sprite from PyQt5.QtCore import Qt as KeyCode
[ "1048035187@qq.com" ]
1048035187@qq.com
d358bdae6b436fae0c7e1869e34bbdec63dd9da6
82e15a148febfb0f3202b6eecbbbf3195836729a
/AnomalyDetection/Clustering.py
e0ff41c2d3791e8df9d30af0725f122686d0c813
[]
no_license
jiafangdi-guang/Anomaly-Detection-in-Social-Networks
71316bd8ce53aa1acfdc1c613cc95f4364a13bda
c506c88cab2d61282dda6c2ced999c2693e66dbc
refs/heads/master
2022-11-28T20:40:07.084887
2020-07-29T03:35:18
2020-07-29T03:35:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
# -*- coding: utf-8 -*- # Created by saki on 2017/4/30. from sklearn.cluster import KMeans import numpy as np import string file = open('/Users/saki/Desktop/AnomalyDetection/feat/enron_feat.txt', 'r') n_nodes = 0 nodes = [] vectors = [] for line in file.readlines(): n_nodes += 1 array = line.split(' ') ...
[ "zuoqi.zhang@gmail.com" ]
zuoqi.zhang@gmail.com
641fdbba25341aa0ec1541b59c712c5065f0647f
1c435576fc0a91e484589a6f6959e5a455939e48
/main/models.py
5b4d79d9b19bc2ee7da6c124aefb2e9befcd4d5f
[]
no_license
yaena1223/hw5
503d27453344cc2a660b656d407bd545df13f14c
35b9e92119bb14d82311ba4aaa51993415d7dd40
refs/heads/main
2023-04-25T17:32:34.460265
2021-06-01T10:21:32
2021-06-01T10:21:32
372,784,428
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
from django.db import models # Create your models here. class Post(models.Model): id = models.AutoField(primary_key = True) title = models.CharField(max_length=200) writer = models.CharField(max_length=100) pub_date = models.DateTimeField() body = models.TextField() image = models.ImageField(u...
[ "rewrite_the_stars_@naver.com" ]
rewrite_the_stars_@naver.com
215416dff24ac71fb0ee6b5b123c03219240b7c2
dc29b57b9a025287574117a4e7c7fc27663d6063
/pydemo/src/thread/multiprocess.py
cba839f261a09fe087364507e0b5bbabafbe06fc
[]
no_license
bspeng922/pyutils
e4d0e988d5c168a3a9e97da2d09c6b714faa2c9a
4fa6c75a7159e03383c0f89d67d1ca37f3d0f0a5
refs/heads/master
2020-04-11T09:59:19.089455
2017-01-06T07:42:20
2017-01-06T07:42:20
7,434,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
import time import sys import urllib2 import HTMLParser from bs4 import BeautifulSoup import multiprocessing hosts = ["http://www.baidu.com", "http://www.amazon.com","http://www.ibm.com","http://www.pystack.org", "http://www.python.org","http://www.microsoft.com"] def read(host): try: ...
[ "bspeng922@gmail.com" ]
bspeng922@gmail.com
1d4c1a6ab1573020b7a7835556029878c3f1e9d6
2c238be39b551af4caf0aa1a32f32502b86e00f1
/examples/research_projects/seq2seq-distillation/_test_seq2seq_examples.py
0e27896b1c63a848b7017d0dbe687e5ef454a374
[ "Apache-2.0" ]
permissive
marinatricanico/transformers
eaeaf9bf6972e2083ec262c71fc77d06dfee1dbd
c89180a9de1fc2e98654812fd1c233c3bc6a8d43
refs/heads/master
2023-07-03T17:07:45.394194
2021-08-11T16:09:41
2021-08-11T16:09:41
395,073,287
1
0
Apache-2.0
2021-08-11T17:50:05
2021-08-11T17:50:04
null
UTF-8
Python
false
false
16,566
py
import argparse import logging import os import sys import tempfile from pathlib import Path import pytest import pytorch_lightning as pl import torch from torch import nn import lightning_base from convert_pl_checkpoint_to_hf import convert_pl_to_hf from distillation import distill_main from finetune import Summariz...
[ "noreply@github.com" ]
marinatricanico.noreply@github.com
9983502c4c9ae45ecd7ad425ed9c5b3e0fd0d181
67e76193d99323d2a2c5eb88265fb6495ab3e978
/oldexamples/eyetest.py
d2c0bb81c67ee1204047c11e2a9597c17dcc2c78
[ "MIT" ]
permissive
wh28325/DeepEEG
44348571ea4e5d9c21e0f0db26b5801cc29f4c1b
7e2461bb26975589c529110d691a41b6d184ca58
refs/heads/master
2023-01-23T00:56:10.590746
2020-09-08T03:53:19
2020-09-08T03:53:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
from utils import * data_dir = '/Users/kylemathewson/Desktop/' exp = 'bikepark' subs = [ '009'] sessions = ['quiet','traffic'] nsesh = len(sessions) event_id = {'Standard': 1, 'Target': 2} raw = LoadBVData(subs,sessions,data_dir,exp) raw.plot(scalings='auto') raw = GrattonEmcpRaw(raw) raw.plot(scalings='auto')
[ "kylemath@gmail.com" ]
kylemath@gmail.com
aa68a8225f735ee1ef00596abf186adb82c205d8
e5ff9d373c3cac523c734fc712db24aa5c7a448d
/백준/문자열/10809.py
562826e510b7a5ff82960aee6b220a82f67c112f
[]
no_license
yeonkyu-git/Algorithm
0cc97a2b4d0fb50c69afc5521c63ccbae7f44a4e
2b08691be7deade3efae67ce4d007c375525fbf9
refs/heads/master
2023-02-27T03:18:18.470695
2021-02-06T05:43:31
2021-02-06T05:43:31
333,090,224
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
import sys a = [-1 for i in range(26)] str_input = sys.stdin.readline().strip() for i in str_input: index_a = ord(i) - ord('a') if a[index_a] == -1: a[index_a] = str_input.index(i) print(' '.join(map(str, a)))
[ "dusrbpoiiij@naver.com" ]
dusrbpoiiij@naver.com
f103902997394e8ecae92439b358d9a30c7b74b0
72dc1482dd520eb43ad3671a06256d9fd9c73e74
/modules/Router.py
5bc66e16dabadadd3429a2e4e62cef8009527fd3
[]
no_license
mcdnmd/traceroute
63405d938bfae9c2dc85d3e5804f994820a7dc3b
71cebf65a5c30a16d890f8e730c99ad10d14ded3
refs/heads/main
2023-01-05T11:25:23.615100
2020-10-31T08:17:57
2020-10-31T08:17:57
306,633,748
0
0
null
null
null
null
UTF-8
Python
false
false
2,081
py
import socket import time from modules.SocketManager import SocketManager from modules.TerminalWriter import TerminalWriter class Router: def __init__(self, traceroute): self.traceroute = traceroute self.sockmanager = SocketManager(self.traceroute.timeout) self.terminal_writer = TerminalW...
[ "kpoltoradnev@gmail.com" ]
kpoltoradnev@gmail.com
a9add25a141fac2ee8d74f33a3cc8876fb27557a
b22e7e017332057581c7bbd36d0e497f793664ef
/string_to_integer.py
c0f25a0930c3c305e004c91147790cdbba8bf2a2
[ "MIT" ]
permissive
jungker/leetcode-python
dcbee029bdb34fdd60c9f013d817f91ca75b3b41
4b2e55fab829cf37ce211eac5884f8159e0ab8df
refs/heads/master
2021-01-19T11:57:09.074803
2017-04-20T02:15:20
2017-04-20T02:15:20
87,877,951
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
class Solution(object): def myAtoi(self, str): """ :type str: str :rtype: int """ size = len(str) if not size: return 0 i = 0 while str[i].isspace(): i += 1 sign = 1 if str[i] in {'+', '-'}: sign =...
[ "seek_zp@163.com" ]
seek_zp@163.com
d0dd83eb16141df7a2d15e1aa01dda85e39ae9bb
81c08aa2085e9de7371e97fedb65d377d4ddae7d
/examples/ais3_crackme/ais3_crackme.py
dbddf705c541d03e3a7977b7446b3dfd1869f180
[ "BSD-2-Clause" ]
permissive
heruix/r2angrdbg
3445b8288efaaa441fda469a094a66a64dc9afc7
963850ddcb04900cf4794dcb43bad0594014c05b
refs/heads/master
2020-03-23T10:23:56.831116
2018-07-17T18:54:55
2018-07-17T18:54:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
import r2pipe import r2angrdbg r2 = r2pipe.open("ais3_crackme") r2angrdbg.init(r2) r2.cmd("aaa") r2.cmd("ood DUMMY") r2.cmd("db 0x004005f9") r2.cmd("dc") sm = r2angrdbg.StateManager() sm.sim(sm["rax"], 100) m = sm.simulation_manager() m.explore(find=0x00400602, avoid=0x0040060e) conc = sm.concretize(m.found[0]) fo...
[ "andreafioraldi@gmail.com" ]
andreafioraldi@gmail.com
1e8d79071c151fcb5d0639009d17e3536e758394
db5d913635c74ef99faad2a1413704ef592f8ad7
/pset_pandas1_wine_reviews/check_imported_data/p3.py
e5de614c957c862d0f2956f27df3360e96e6b88c
[]
no_license
theelk801/pydev-psets
7ac4b77bfdbf484e85ea7959e846810f8064b217
8c4a178199782174252ca76c7ba40fcb355ceede
refs/heads/master
2020-05-07T11:37:09.578380
2019-05-14T21:34:45
2019-05-14T21:34:45
180,468,816
0
0
null
2019-04-10T00:14:42
2019-04-10T00:14:41
null
UTF-8
Python
false
false
328
py
""" Checking Imported Data III - DataFrame Labels """ import numpy as np import pandas as pd wine_reviews = pd.read_csv('raw_data/winemag-data-130k.csv') # Access the labels on the rows of data. # Access the labels on the columns of data. # Return the labels for the rows and columns in wine_reviews in one com...
[ "jgarreffa112@gmail.com" ]
jgarreffa112@gmail.com
fddffc59a31ae38afbe59b69911ad473cfcda4dd
bdbdcd7da09d518c95fabef409e8f3e22c47c28f
/Wiki_based/localizer.py
e63ad6190bcee0e4a41dbefa7129bffa767305bb
[ "MIT" ]
permissive
DrosoNeuro/Semester_Project
835871e866bd51a4fd2db2e8fbac5105514093e2
2de38eef4ae6b3c350f8b742021ff098ecb376c4
refs/heads/master
2020-05-09T10:25:22.667677
2018-01-11T14:19:40
2018-01-11T14:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,779
py
import wikipedia import pandas as pd import numpy as np import pickle import string import matplotlib.pyplot as plt from sklearn.feature_extraction.text import TfidfTransformer from sklearn.feature_extraction.text import CountVectorizer def top_tfidf_feats(row, features, top_n=25): ''' Get top n tfidf values in r...
[ "axel.uran@epfl.ch" ]
axel.uran@epfl.ch
9ca4e761dc05c607f6a8a2c2db93e5efbede6ca5
243a3415a9be9ac6df2c9198406291066ea16a8b
/url_threaded_fetch.py
1b51bb03f0e5690f21467e9aaffa365310d4c185
[]
no_license
Sandy4321/twitter-sentiments
0ebb6ad2c974ca56018a241972a19d861ec2af9a
4c4f96bf604f6c85437afb7a14cb9dad0a91defb
refs/heads/master
2021-01-16T18:04:41.536709
2012-04-02T17:33:45
2012-04-02T17:33:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
import Queue import threading import urllib2 import time from BeautifulSoup import BeautifulSoup hosts = [ "http://www.google.com", "http://www.greplin.com", "http://www.amazon.com", "http://apple.com", "http://www.techcrunch.com", "http://www.ibm.com" ] queue = Queue.Queue() class ThreadUrl(threading.Thread): de...
[ "syst3m.w0rm@gmail.com" ]
syst3m.w0rm@gmail.com
8ac7831c5ef9919ed5b2d70de3696fd28530bba2
6c26895f5a75a4a2dafe06f602a1b0432d4eca67
/v08000/script/Encoder.py
4a8ce5945b28e8d8fff380a43346adf4666e06b8
[]
no_license
konumaru/m5_forecasting_accuracy
fee426136577d8446fa6cd68a1100e8a58747d38
fdbffb48211a739783e0b70ae07807db819d8305
refs/heads/master
2022-11-12T13:27:27.874744
2020-06-26T06:47:57
2020-06-26T06:47:57
245,319,637
3
1
null
null
null
null
UTF-8
Python
false
false
2,055
py
import numpy as np import pandas as pd class GaussianTargetEncoder(): def __init__(self, group_cols, target_col="target", prior_cols=None): self.group_cols = group_cols self.target_col = target_col self.prior_cols = prior_cols def _get_prior(self, df): if self.prior_cols is N...
[ "konumaru1022@gmail.com" ]
konumaru1022@gmail.com
88a341d74a0a210628c3ee0eb3951051a972fb3b
6781c034d4745255e4c4290274147e3a578b2f51
/Github Version/Multihack Compiled.py
4b2d8f453fefab59d11efece85ff691dce6f0538
[]
no_license
mooncloset/CSGO
6dfcf9b608b8da31b0078a9b9d6ad3f9fc7429c0
3cdd6aa5d20e3d28bde37566659e8a9d6acca142
refs/heads/master
2020-05-16T01:54:37.511650
2019-05-01T00:15:19
2019-05-01T00:15:19
182,614,162
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
import keyboard import pymem import pymem.process import time import sys from multiprocessing import Process from Wallhack import wallhack from newbhoptesting import bhop #added 4/21/19 dwForceJump = (0x5188988) #offsets updated 4/27/19 dwLocalPlayer = (0xCD4774) m_fFlags = (0x104) dwEntityList = (0x4CE54EC...
[ "noreply@github.com" ]
mooncloset.noreply@github.com
fd8d4c23273bcef79b2690971aaeaaf9e5d9a8d3
9fa71d5834dae1c8900b3444f564b11326374d36
/packages/ipm_cloud_postgresql/frotas/rotinas_envio/buscaIdGerado.py
f130f69f3143dfdab0903ba72a3f64a2c03e2a98
[]
no_license
JoaoPauloLeal/toolbox
a85e726cfeb74603cb64d73c4af64757a9a60db7
924c063ba81395aeddc039a51f8365c02e527963
refs/heads/master
2023-06-07T02:17:42.069985
2021-06-28T19:06:40
2021-06-28T19:06:40
381,128,045
0
0
null
null
null
null
UTF-8
Python
false
false
2,903
py
import packages.ipm_cloud_postgresql.model as model import bth.interacao_cloud as interacao_cloud import json import logging from datetime import datetime tipo_registro = 'buscaIdGerado' sistema = 304 limite_lote = 100 url = "https://api.protocolo.betha.cloud/protocolo/service-layer/v1/api/documento" def iniciar_pro...
[ "joao.leal@betha.com.br" ]
joao.leal@betha.com.br
ca132e77807f48ce5e8809af652b09d928890e7e
c6ad15d5c05c4ae8b17f1ca67482c927aebe08b2
/getGameTorrent.py
656a1cc662b3fe2ed702bb12bdae54f579c93487
[]
no_license
tingmwu/python_spider
7d4fa8cebfb62441bb56e74d1d21020804446675
9933075a258cc0e873160166191d1085c6e9429b
refs/heads/master
2021-01-30T08:10:02.782447
2020-04-14T14:55:31
2020-04-14T14:55:31
243,495,064
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
import requests import json import re import os ``` 获取GBT小组游戏空间(http: // renxufeng.ys168.com /)的所有游戏种子 ``` menu_url = "http://cd.ys168.com/f_ht/ajcx/ml.aspx?cz=ml_dq&_dlmc=renxufeng&_dlmm=" menu = requests.get(menu_url).text # print(menu) r = re.compile('<li id="ml_(.*?)" .*?</li>') menu_id = re.findall(r, menu) f...
[ "tingmwu@163.com" ]
tingmwu@163.com
1f80863a8bd3dc8c97c4f31a4661e782490b8114
c25cd48cadfa3492ec238bb033d4ece681a216f4
/aula08ex25.py
35c9288d8f77ca4e7abadf22a0752d5a7cc8f897
[]
no_license
nobregagui/Guicodigo1
1647fcebee52bab2719ab798420bbbc9f53f24d3
6984c8fae3502e452481a68dc40f65605af8b454
refs/heads/master
2022-09-02T20:55:09.648612
2020-05-28T03:10:08
2020-05-28T03:10:08
267,476,906
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
name = input('Digite um nome: ').strip() print('silva' in name.lower())
[ "nobregagui8@gmail.com" ]
nobregagui8@gmail.com
7bdec58e10459198d2a9ce7f8a10735a8fd6537d
632747fbfbf1122497792291cb5a6a9f24add48d
/kurs/04_funkcje/zadania/zadanie7.py
d3f652fcca6946ce86cfd2b7ed83db9611d2851e
[]
no_license
mjoze/kurs_python
892ac4fab7f3b3fb1d88b236c362a7630a565af7
78ec0dda34a5450a4c47d79f3957c65dfbac0276
refs/heads/master
2020-08-07T10:54:56.198237
2020-04-30T15:31:50
2020-04-30T15:31:50
213,421,230
0
0
null
null
null
null
UTF-8
Python
false
false
2,171
py
""" Napisz program, który na podstawie numeru karty odpowie czy ma doczynienia z Visą, MasterCard, a może AmericanExpress. Co wiemy o tych numerach tych kart? All Visa card numbers start with a 4. New cards have 16 digits. Old cards have 13. MasterCard numbers either start with the numbers 51 through 55 or with the num...
[ "mirek.jozefiak@gmail.com" ]
mirek.jozefiak@gmail.com
83e8da5dc1fd4fbfef64bb7e13668ad6573c1d43
45b64f620e474ac6d6b2c04fbad2730f67a62b8e
/Varsity-Final-Project-by-Django-master/.history/project/quiz/views_20210424120959.py
0c72f460a7b6765c0935e951051cc7eeac3e5ad1
[]
no_license
ashimmitra/Final-Project
99de00b691960e25b1ad05c2c680015a439277e0
a3e1d3c9d377e7b95b3eaf4dbf757a84a3858003
refs/heads/master
2023-04-11T06:12:35.123255
2021-04-26T15:41:52
2021-04-26T15:41:52
361,796,607
0
0
null
null
null
null
UTF-8
Python
false
false
1,464
py
from django.shortcuts import render from quiz.models import Quiz from quiz.models import Bangla from quiz.models import Math from quiz.models import Science from quiz.models import GK from quiz.models import Mat from quiz.models import Sci from quiz.models import GNK #def welcome(request): #return render(request, ...
[ "34328617+ashimmitra@users.noreply.github.com" ]
34328617+ashimmitra@users.noreply.github.com
20ef3b12d7c50486b7a19f6fa772cd57ae8f4462
5f140a7a55e27200ea11a350778811359fcc90e9
/handlers/basic.py
aa949ad1d443166281e450a5b2ba3e379b076486
[]
no_license
BoyceYang/wsbs
da570abbdca8907dc248411ae70fd329faac2ea7
538a0ead4f9de647d80f79a5e023516c5460a300
refs/heads/master
2016-09-01T05:48:18.834134
2015-11-08T09:04:08
2015-11-08T09:04:08
45,722,677
1
0
null
null
null
null
UTF-8
Python
false
false
246
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import tornado.web class BasicHandler(tornado.web.RequestHandler): def __init__(self, application, request, **kwargs): super(BasicHandler, self).__init__(application, request, **kwargs)
[ "nicpick.yang@163.com" ]
nicpick.yang@163.com
24bb1d60d014e1290d927cd6244054e2867e1cf9
c356af0f374a064c3a0193f7050ffa0c4a698d65
/Resources/wsgi.py
d9075ed86eefad2fbcdcaf8f3bb49ac7ed2701c4
[ "MIT" ]
permissive
SuicideSin/Python2FullFlaskService
d6aebfcfd361df6eb8206540ba807d6429133791
a56f1cabbcf32a9fd184a22fb0b29e456a993f79
refs/heads/master
2022-01-20T23:20:49.322966
2019-07-18T15:34:58
2019-07-18T15:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
from MainService import app if __name__ == "__main__": app.run(host='0.0.0.0', port=8080)
[ "alexm.box@gmail.com" ]
alexm.box@gmail.com
aea32d24fb05c9015ddad497331ecd03e6a168ff
20d1107dfe7fcc9ad0309e3a0cbd07ab618dfb30
/All _stuff/Tíma dót/Float_junction.py
a75e16a40b292815cb6571553597c3dfa94e6f51
[]
no_license
helgistein/verk-5
e0755a4586e81096acae86411919b8684026b4bc
e231015c473a13bcd69205d96e35c9bf4d51cfa4
refs/heads/master
2020-03-27T23:30:51.342248
2018-12-06T13:39:05
2018-12-06T13:39:05
147,323,675
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
# is_float function definition goes here def is_float(s): try: float(s) return True except ValueError: return False # Do not change the lines below print(is_float('3.45')) print(is_float('3e4')) print(is_float('abc')) print(is_float('4')) print(is_float('.5'))
[ "helgisteinarolafsson@gmail.com" ]
helgisteinarolafsson@gmail.com
764c4c0f67ebb327c7d59004a389359e6f550f4d
6d88b7b4216d76aae19ac342189bf68456b3a993
/main.py
0cbfdaf6d22a8c5e05e44f92b6fccbc43a86e787
[]
no_license
MarcusMMO/keyboardspambot
a865f1b78ac47518ff48fbe3e2a1ca298bc56607
3087297a460f02a2877d6159b4f6c31b7310c85d
refs/heads/master
2022-12-24T19:31:53.624182
2020-10-02T13:34:49
2020-10-02T13:34:49
300,623,986
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
from selenium import webdriver import time from sys import platform if platform == "darwin": PATH = './chromedriver' elif platform == "win32": PATH = './chromedriver.exe' else: print('This Python Script is not compatible with your operating system...') exit() browser = webdriver.Chrome(PATH) browser...
[ "oosthuizenmarcus@gmail.com" ]
oosthuizenmarcus@gmail.com
b10863f7a0d0a4858ab55dcafc1350350938e9a5
0c061162f0a01b2711de1843db5a8e5ef69c8dce
/src/swarm_rescue/tuto_spg_jupyter/tuto_04_01_textures.py
6bc4109c6df6f599837a1c2d68ef5d4828f4097f
[ "MIT" ]
permissive
Cindy0725/swarm-rescue
a9206eeddaa99edff46d4fdfff48511108ac4bd1
ce323c90ccb4a25216c63abccd09d3f31eea1189
refs/heads/main
2023-09-05T15:01:20.237092
2021-11-18T13:10:30
2021-11-18T13:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,975
py
from simple_playgrounds.playground import SingleRoom from simple_playgrounds.engine import Engine from simple_playgrounds.element.elements.basic import Physical from simple_playgrounds.common.texture import ColorTexture, RandomUniformTexture, RandomTilesTexture, \ MultipleCenteredStripesTexture, CenteredRandomTiles...
[ "emmanuel.battesti@ensta-paris.fr" ]
emmanuel.battesti@ensta-paris.fr