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
c0b352d65bcc7cffa27d85eda27cabe182ef1540
b30b121fed8089429f6f0abbb83f85a84230ecdc
/opentutorials_python2/opentutorials_python2/18_ClassMember/5_static_and_classmethod_difference.py
bbca054e932c10576eb7a0baa240b892ce2a152d
[ "MIT" ]
permissive
dongrami0425/opentutorials_python_basic
04fcbad5ef15801ffeb5bdb732330b1a9103550d
c7faee4f63720659280c3222ba5abfe27740d1f4
refs/heads/master
2022-12-24T09:38:56.732932
2019-11-05T14:21:50
2019-11-05T14:21:50
199,796,010
0
1
null
2022-12-11T04:51:41
2019-07-31T06:43:29
Python
UTF-8
Python
false
false
1,087
py
#2. @classmethod์™€ @staticmethod ์˜ ์ฐจ์ด #classmethod์™€ static๋ฉ”์†Œ๋“œ์˜ ์ฐจ์ด๋Š” ์ƒ์†์—์„œ ๋‘๋“œ๋Ÿฌ์ง€๊ฒŒ ์ฐจ์ด๊ฐ€ ๋‚ฉ๋‹ˆ๋‹ค. class Language: default_language = "English" def __init__(self): self.show = '๋‚˜์˜ ์–ธ์–ด๋Š”' + self.default_language @classmethod def class_my_language(cls): return cls() @sta...
[ "ldm8191@outlook.kr" ]
ldm8191@outlook.kr
f56a6565f52a791f256819a034985bb020a002a9
5802f92fd2b5db4e0cf2d26d1065e019d642710a
/TrainWord2VecModel.py
af02312a84d51d625edea6b10652ac99f1078de9
[]
no_license
xudaashuai/CommentTag
64f4144f64027004c343ea74503d96a984629a14
b97a7fe396273d19de5392f67c221a4538926eb7
refs/heads/master
2020-06-03T07:16:19.654955
2017-08-19T10:43:59
2017-08-19T10:43:59
94,120,679
1
1
null
null
null
null
UTF-8
Python
false
false
175
py
from gensim.models import word2vec from gensim.models import Word2Vec sentences = word2vec.Text8Corpus("result.txt") model = Word2Vec(sentences, size=200) model.save("modle")
[ "kitaharakasusa@gmail.com" ]
kitaharakasusa@gmail.com
a42e0f404a06eceeff048e1750ca7e2890973dfc
7da3fe4ea12be962b574c8be63c35014df0d2faf
/facade.py
7f78edabd4455cfb95a3de2bfdde477d571562e5
[]
no_license
hanmiton/patronesDise-o
2a4b581fc90a512bf7db26f728a17ce0f48eef83
523d993dfc60318e4af4a4dbc7fa236b9ae0bc94
refs/heads/master
2020-04-18T16:54:08.084782
2016-09-01T06:16:29
2016-09-01T06:16:29
66,985,551
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
class Scanner: def __init__(self): self.name = "Scanner" class Parser: def __init__(self): self.name = "Parser" class Compiler: def __init__(self): self.name = "Compiler" self.scanner = Scanner() self.parser = Parser() def compile(self): print("Compiling ...") print("Scanning %...
[ "hanmilton_12@outlook.com" ]
hanmilton_12@outlook.com
c0474becc0c7f964e582da615406555736dbaf11
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/17/usersdata/132/6773/submittedfiles/lecker.py
4b0c09bdee76966f8925264740fabe32156d6d34
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# -*- coding: utf-8 -*- from __future__ import division import math a= input(' digite um valor:') b= input(' digite um valor:') c= input(' digite um valor:') d= input(' digite um valor:') if a>b>c>d: print('S') if a>b>c<d: print('N') if a>b<c>d: print('N') if a>b<c<d: print('N') if a<b>c>d: print('S...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1a42fb96c060aad5dbe67039c35daa8124b30746
2ba333903f6f3aadb226c1f45e91a4bed9437b4b
/annai_QC/QC_annai_moleculo.py
c75244b6dc0b1fa5c5346b97bc94f946649f5184
[]
no_license
gerikson/Wellderly_analysis
0ea5418693a0a742b67149c41a118138612338fa
7a8a0ce2294c7aef5b8d21901a501ff6382ad0f0
refs/heads/master
2020-04-09T23:55:41.777807
2015-12-16T18:12:41
2015-12-16T18:12:41
40,500,297
0
0
null
null
null
null
UTF-8
Python
false
false
8,215
py
""" QC combined data from annai """ import os, sys, gzip, datetime def main(): combinedfile = "/gpfs/group/stsi/data/projects/wellderly/annai/merged-recode.vcf.gz" #CG_file = "/gpfs/group/stsi/data/projects/wellderly/annai/wellderly_601CG_chr21.vcf.gz" #illumina_file = "/gpfs/group/stsi/data/projects/wellderly/an...
[ "galina.erikson@gmail.com" ]
galina.erikson@gmail.com
259385db0681b0834e18817ea71cdff4f66cd8bf
7dd99d174bf5ef39e85c337636d1961d2aa65e43
/demos/System_Dynamics/Compartment_Models/run.py
6b3a25ce9d983a966ee8674e5a000292c99b61ec
[ "MIT" ]
permissive
JEJodesty/demos
adde38f0b2e5eee06c07da8c409b1a35a5c818eb
714210b6350c03b048b412e589e2de638e10efb7
refs/heads/main
2023-05-01T07:35:11.631137
2021-05-18T19:57:02
2021-05-18T19:57:02
358,014,609
1
1
MIT
2021-05-13T21:53:29
2021-04-14T19:08:29
Jupyter Notebook
UTF-8
Python
false
false
826
py
# The following imports NEED to be in the exact order from cadCAD.engine import ExecutionMode, ExecutionContext, Executor # Simulation configs, input any new simulations here from sir import config from seir import config from seird import config from stochastic_seir import config from cadCAD import configs import p...
[ "pedro.kretz@gmail.com" ]
pedro.kretz@gmail.com
ad850f89b9cefdefa8fe0dc904c93d6d8ff5f986
bcb3e281f43592514f560ce78fb8203c10d0b1a1
/python_study/test1/ex1.py
2a8aec150c1d34f93877e493e669dc04370f2823
[]
no_license
young-guwang/Python-study
4ee10c1fc5c4c60e0c568ded762787e46860e932
66fd2e6bc54aec2daecb56782b611990c6a11e75
refs/heads/main
2023-03-02T07:36:10.399633
2021-02-05T10:51:20
2021-02-05T10:51:20
334,839,326
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
# a = 9 # b = 9 # c = 81 # c = a * b # print(str(a) + " * " + str(b) + " = " + str(c)) # ๊ตฌ๊ตฌ๋‹จ~! # from 1 to 9 # list : ๋ฐฐ์—ด + ์ˆœ์„œ, tuple #FD # a = [1, 2, 3, 4, 5, 6, 7, 8, 9] # b = [1, 2, 3, 4, 5, 6, 7, 8, 9] # n = 0 # for i in a: # print (str(i),"๋‹จ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.") # for j in b: # ...
[ "noreply@github.com" ]
noreply@github.com
8006472fafd35039a460963220c27ff67be47c1f
b6a79ae5312dd1a69b043aeb5466bc3b6bffa6aa
/graph/test_undirected_cycles.py
6604a6d85451c836fa44ba4b7be2765e7c1292ae
[]
no_license
vchub/daily-python
5f54aedf77aba34ddc48ca06f9133990c2e82b0a
7d7740f4db4f8500c84eff353420c61242321f2e
refs/heads/master
2022-12-12T08:35:27.416071
2020-08-25T18:26:06
2020-08-25T18:26:06
290,292,008
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
from typing import Dict, List, Set E = int G = Dict[E, List[E]] def remove_edge(g: G, u, v: E): print('removing', g, u, v) g[u].remove(v) g[v].remove(u) def have_cycle(g: G) -> bool: """Given an undirected graph, determine if it contains a cycle.""" g = g.copy() visited: Set[E] = set() ...
[ "vlad.chub@gmail.com" ]
vlad.chub@gmail.com
762d413dfed2afc0a57a40569bdad80ff618e3da
1c6e5f57958c68c7fe3a90f1ebdbd92af7fc338b
/test/test_fix_txt_repre.py
4ccec6a3c4aebcdd409c7ac50a49620538d483ef
[]
no_license
vecin2/cedtask
5c1c164f6db369ecbcdb4f796358a8025c0d57c9
b246812c80646eb200e36952bc98dad399217514
refs/heads/master
2020-08-27T10:34:23.213610
2019-10-31T16:37:23
2019-10-31T16:37:23
217,335,089
0
0
null
null
null
null
UTF-8
Python
false
false
4,552
py
import os import sys import pytest from io import StringIO from test.utils.fake_logging import FakeLogger import os from fix_txtfield_repr import ComposeForm,Form,WebTextfieldVisitor,main osep=str(os.sep) class WebTextfieldFixer(object): def __init__(folderpath): self.folderpath = folderpath def setup_f...
[ "vecin2@gmail.com" ]
vecin2@gmail.com
d4a602b855a0fcdbeac7315bc5c60cf07d9bc30d
c1179ad71036c75c7ea5b2af4c16dbc1c5742a37
/result_printer.py
8a73798a6f433d0e64a66b9e95893d0939a6fa9e
[]
no_license
0x17/RegenerationPlanning
3891c5f278e2b1ee74f73213f62b9f1a963cf85a
000c6ba2b35cf2abf2eeb84a864f2031cb17ab63
refs/heads/master
2023-01-18T17:38:53.143587
2020-11-15T09:35:29
2020-11-15T09:35:29
310,016,022
0
0
null
null
null
null
UTF-8
Python
false
false
2,007
py
def print_results(instance, res_dict): print(f'\nCosts of this regeneration plan are in total {res_dict["total_costs"]} monetary units') def inc(tpl): return tuple(v + 1 for v in tpl) def named(index_names, tpl): assert (len(index_names) == len(tpl)) return '(' + ';'.join(f'{index_...
[ "andreschnabel@me.com" ]
andreschnabel@me.com
9dd84ee88531af0e90794a4e5dee2a4dfd9c9fcf
980411f64c20090688e99db46fb58e5b40bafe43
/tests/test_VQVAE.py
9ed177abb9e9953cfacbd1333811fad9be9846ba
[ "Apache-2.0" ]
permissive
clementchadebec/benchmark_VAE
2120a53e9b23c40e510476be94c05ea3eb3fc255
ca556473adcd1b6000a01d6b48a19d8f54b87e96
refs/heads/main
2023-08-17T23:32:58.501035
2023-07-19T18:58:36
2023-07-19T18:58:36
412,850,368
1,394
125
Apache-2.0
2023-09-14T18:01:45
2021-10-02T16:26:24
Python
UTF-8
Python
false
false
23,288
py
import os from copy import deepcopy import pytest import torch from pythae.customexception import BadInheritanceError from pythae.models import VQVAE, AutoModel, VQVAEConfig from pythae.models.base.base_utils import ModelOutput from pythae.models.vq_vae.vq_vae_utils import Quantizer, QuantizerEMA from pythae.pipeline...
[ "noreply@github.com" ]
noreply@github.com
b14cb662e1ef5c119b901ef6f94e4fb77a16d473
267a80a328617df91cc363d27ddf6005a4c39b6b
/magSensor.py
f41a38d1219015834a72392597b5c76f55f401cc
[]
no_license
zhuanghui-lin/Engr16200_Robot
621956bbd8e26ab5117f615d8891efb3721d587b
689250d052a4aa0fe7d1e94477f4fef9790823d8
refs/heads/main
2023-04-09T20:00:27.383617
2021-04-25T19:18:53
2021-04-25T19:18:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
import brickpi3 import grovepi import math import sys import time from IMUCode.MPU9250 import MPU9250 mpu = MPU9250() mag = 0 magX = 0 magY = 0 magZ = 0 class magSensor: def __init__(self): self.mag = 0 self.magX = 0 self.magY = 0 self.magZ = 0 # Update magnetic readings ...
[ "noreply@github.com" ]
noreply@github.com
72c8b92dc0a4369e6cf8d052d43193eedd59fa84
4aa0e062fdd5060eeea7d105c3c63131bf5bbf9d
/O(n).py
c924396d2d5db1016648e26d106942dd6a302c3e
[]
no_license
sotosgeo/Maximum-Sub-array
2b008dac2262cb3c936fabdc62107fe3e883c36e
8cb83fac0adc1d545e83121938757123552cb966
refs/heads/main
2023-03-15T02:25:14.543552
2021-03-28T10:58:53
2021-03-28T10:58:53
345,147,736
0
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
import random import timeit random.seed(1059310) def makeArray(len,n): return [random.randint(-n, n) for _ in range(len)] data_set_1 = makeArray(10000000,100) data_set_2 = makeArray(20000000,100) def MaxSubFastest(A): t0 = timeit.default_timer() best_start = best_end = 0 max_sum = 0 s = 0 ...
[ "sotirisgeo99@gmail.com" ]
sotirisgeo99@gmail.com
513fa22c0783cc4363ef9e798fec60ad275beb3a
5c2f13d22ff5a6348b3cb9fd64c071f53d1386e2
/venv/Scripts/rst2odt.py
4342f92e00ddbc12aab546c996e08b0594ce6a66
[]
no_license
Domainsun/duplicate
0e0f4897003b935859c4ed40af79aa39799c4e83
15773f7a02c84be8997f35875dc98a2bda54afc0
refs/heads/master
2023-05-25T06:19:46.323714
2018-10-24T03:47:39
2018-10-24T03:47:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
#!E:\PyWorkSpace\duplicate\venv\Scripts\python.exe # $Id: rst2odt.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. """ A front end to the Docutils Publisher, producing OpenOffice documents. """ import sys try: import...
[ "sunlongyue@foxmail.com" ]
sunlongyue@foxmail.com
f0e6b61eb7d637ead18e45acdf7853796a0d916d
bb01d52526b23fd7dca08f2f90a43bc83efdbefb
/gym_snake/__init__.py
6f3d38c7d361862232e37d9f11c4ab9f14463dd3
[]
no_license
Xyzrr/rl-snake
6f202f0914a6a388a00e31a41a28762c827f8b24
74ffb5d33f0a5216f6f8f87d487911d5967630f3
refs/heads/master
2021-08-27T22:53:07.267791
2021-08-01T12:35:32
2021-08-01T12:35:32
183,715,305
3
2
null
null
null
null
UTF-8
Python
false
false
107
py
from gym.envs.registration import register register(id='snake-v0', entry_point='gym_snake.envs:SnakeEnv')
[ "johnqian@xyzrr.localdomain" ]
johnqian@xyzrr.localdomain
a506c46467e4562eaec2431f7bc7348fc991d68b
a4e41b84931ba69d7d8548a7df0ca4fe68ed02b5
/view/customer_test.py
6ab1159cf42343e130a8f828604dc27e840080ab
[]
no_license
LittleDeveloper-CSharp/typography_rmp
b05869b735df1c72c6d0c11addb6b1c68fda62f3
6a0e50f7ffbdc51b609761be3bf23920721682b3
refs/heads/master
2023-04-13T21:36:22.589576
2021-04-25T20:05:52
2021-04-25T20:05:52
361,526,716
0
0
null
null
null
null
UTF-8
Python
false
false
3,927
py
import models.customer from tkinter import Entry, END, Button, Label, Frame, VERTICAL from tkinter.ttk import Treeview, Scrollbar class CustomerWindow: def fill_tree_view(self): self.list_customer = models.customer.select_customer() for item in self.list_customer: self.tree_view_custome...
[ "test" ]
test
a499fc3f6eeb1da341e4f5a00591691e0a68f9ef
58476939a543b2ddd02f622b5dc3fc99ed989e7f
/blog/migrations/0001_initial.py
41e71c200f2cd800372d49413b5ef7d73d1aac04
[]
no_license
mohomoso/project3
02300836061f98728fab83b7f65b0d28d428beb7
85d5a57eda9a7661fd36021053ea459dfd7dd9df
refs/heads/main
2023-06-07T19:18:03.950581
2021-06-17T13:43:17
2021-06-17T13:43:17
377,847,160
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
# Generated by Django 3.2.4 on 2021-06-15 09:27 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...
[ "mohomo91@gmail.com" ]
mohomo91@gmail.com
d4e9882f0b458feca784d3299525657490284648
af9cad6e49d1661f9eec63469fed1ed11900338c
/pima.py
90f83f351f6c85d3d260e2d45afc5c416ad02fcf
[]
no_license
nenduru1/Keras
4bbcb333da8402eb466d99cc12e155c78f44c776
7a80d4c59592c978d74eacb06dc7d8d645608082
refs/heads/master
2021-01-01T06:23:57.062584
2017-07-23T05:26:09
2017-07-23T05:26:09
96,587,128
0
0
null
null
null
null
UTF-8
Python
false
false
4,700
py
# -*- coding: utf-8 -*- """ Created on Sun Jul 09 15:12:26 2017 @author: o222069 """ from keras.models import Sequential from keras.layers import Dense import numpy as np seed=7 np.random.seed(seed) data=np.loadtxt('pima-indians-diabetes.csv',delimiter=',') X=data[:,0:8] y=data[:,8] from sklearn....
[ "noreply@github.com" ]
noreply@github.com
6166b2a83a2462a277fa3d98c11ab5bb77feb804
69da9dd8765b712ffa37a83e2609817f1422960e
/GUI_FINAL/Database.py
577f88b682cd9edb063e5ad3405f1f9e87f65c98
[]
no_license
jpcadena/MPLS-VPN-L3
d609017a7dc103e84a924fa1ba2e1c856d81164f
9ce8a2d5e7a959292dbc1dbef5b3b534dd76234c
refs/heads/master
2021-05-05T14:15:09.671882
2018-02-07T05:35:25
2018-02-07T05:35:25
118,469,218
0
2
null
2018-02-07T05:30:59
2018-01-22T14:37:50
Python
UTF-8
Python
false
false
717
py
import sqlite3 """Script individual, al ser corrido se actualiza la tabla de usuarios y contraseรฑas del aplicativo. Reemplazar en los campos โ€˜USUARIOโ€™ โ€˜PRIVILEGIOโ€™ โ€˜CONTRASENAโ€™ por las credenciales de la persona que desea agregar a la base de datos.""" def createTable(): connection = sqlite3.connect('login.db...
[ "noreply@github.com" ]
noreply@github.com
1771d1f42f0c50aabd382deac1e3d624d7a693c2
fb5bff7f4c49fad87cdc0d6958bf874f7b4ad0e9
/raw/sedimenting_bed/sedimentation_velocities/plot_v_front_vs_v_X-DFA.py
f00c5a1d3280836ded8dc3979033f5b688e26464
[]
no_license
ManuelBaur/PhD_defense_talk
6678a0d261ce70861253c08c718a4dab3010c5f5
e31ff1731ea3b1b2f6a6a455e2299b2813fba1fd
refs/heads/master
2022-11-18T02:32:14.477830
2020-07-20T07:16:28
2020-07-20T07:16:28
274,673,588
0
0
null
null
null
null
UTF-8
Python
false
false
2,774
py
######################################################### #### read and rescale data measured by Manuel Escobedo #### according to factor from beam hardening correction ######################################################## import numpy as np import matplotlib as mpl mpl.use('Agg') ## needed to create plots when ru...
[ "baur.manuel@gmx.de" ]
baur.manuel@gmx.de
a7375dd8afb3de48935cfbdf70f64d8723bde3c5
f6ee9b47bd93f81da946d0e50eedbd6ed6f122db
/step_a_basic/file/file.py
90831c30984854ea449c5ca77a1ef46a99d6d5b5
[]
no_license
samanalishiri/python-tutorial-basic
b0e50c6e5243229388a807bcee4db6c9ff4b3003
4a1d00fe6ba56769967e1af48fbd64ebf0edb0dc
refs/heads/master
2020-04-10T10:02:50.649117
2019-03-26T21:50:49
2019-03-26T21:50:49
160,954,221
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
import os from operator import itemgetter # Saman Alishiri samanalishiri@gmail.com files = os.listdir('./') python_files = [name for name in files if name.endswith('.py')] sorted_files = sorted(python_files, key=lambda file: file) for file in sorted_files: print(file) print('#####################################...
[ "samanalishiri@gmail.com" ]
samanalishiri@gmail.com
050b92002ed36ae06083ba938f6d02ed2827a17f
5ecaded45e28c1041c1986c13db446806a28b3ee
/function-arguments/learn-python-function-arguments/positional-argument-unpacking.py
15f83e9c8a7c4b9fe6c11866c9e470762c69f06a
[]
no_license
109658067/Python3_Codecademy
12206ec74e8dc95cc1200491b4ed75b856bfb25e
8480912c6dd15649b3c51f4c205afdd253ea462b
refs/heads/master
2022-09-15T18:21:26.742741
2020-06-04T05:48:58
2020-06-04T05:48:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from os.path import join path_segment_1 = "/Home/User" path_segment_2 = "Codecademy/videos" path_segment_3 = "cat_videos/surprised_cat.mp4" # join all three of the paths here! print(join(path_segment_1, path_segment_2, path_segment_3)) def myjoin(*args): joined_string = args[0] for arg in args[1:]: joined_st...
[ "9368802+NiteshMistry@users.noreply.github.com" ]
9368802+NiteshMistry@users.noreply.github.com
ef04fa7558db1abf96f0e872cff52824c23cefd8
4171b71ed3bd59f0d848198918747b11002a1b49
/main/migrations/0012_producto_fecha_alta.py
fcb6f274d70f21d71e5e341f6b5440a173c650e6
[]
no_license
Diegodelias/TPFINAL-DESWEB-PYTHON-JS-polotic-2021-TPFINAL
8eec78c7d552f1eef1391ca1d8f26a829c140706
c002fbf15d71ae43152d3b591092d6ab89c01f13
refs/heads/main
2023-07-02T19:55:36.551487
2021-08-06T22:20:29
2021-08-06T22:20:29
382,195,301
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
# Generated by Django 3.2.4 on 2021-06-13 18:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0011_auto_20210613_1150'), ] operations = [ migrations.AddField( model_name='producto', name='fecha_alta', ...
[ "diegodelias@gmail.com" ]
diegodelias@gmail.com
3104d31753275b258384397ba7df0b4952de8c04
9f9ea209ee6429dc574b2c45b94890b6e7b84f20
/assignment3/multiply.py
4112275fc9b38d98bd70b6793be33d744dfbfbd3
[]
no_license
udemirezen/datasci_course_materials
1f1cc82827727738a15ded871fdcc1a2e495414a
e55e7a3f474e65cdcde07f87445502b1373ab103
refs/heads/master
2020-12-25T09:47:45.402813
2014-07-18T22:26:49
2014-07-18T22:26:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
import MapReduce import sys """ Matrix Python Script By Umut DEMiREZEN.... A 5X5 B 5x5 Result 5X5 """ mr = MapReduce.MapReduce() def mapper(record): # key: matrix (a,b) # value: i,j,value key = record[0] if key=='a':#since it's A*B mr.emit_intermediate(key, [record[1],record[2],reco...
[ "umut@didem.umutdemirezen.com" ]
umut@didem.umutdemirezen.com
a3ef3dc38b52f29e8062e790c1459889be36ea19
93a79bb3d2f94b95f45dbc87b7efc77598ab32f4
/extract.py
a29ed226c73dbc58d0ea3e002aecdbbdd4e7a955
[]
no_license
forest-snow/cl2final
2026cb670928e2a857bb2cef822e63a55ef93182
07162fdbc5e29897bc06a1cc815a4e65cad69bde
refs/heads/master
2020-03-12T02:23:23.919146
2018-05-19T03:45:58
2018-05-19T03:45:58
130,401,195
0
0
null
null
null
null
UTF-8
Python
false
false
4,879
py
import pickle from user import User, Post from gensim import corpora import numpy as np import multiprocessing.pool # call on get_exploratory_data() to get exploratory data # change paths PATH_SW = '/Users/myuan/Box Sync/LING_773_Final_Project/umd_reddit_suicidewatch_dataset/' PATH_USER_INFO = '/Users/myuan/Deskt...
[ "myuan@vpn-058.umiacs.umd.edu" ]
myuan@vpn-058.umiacs.umd.edu
0003c2297c1495ccc44a04b288a33319f48c4b73
52a3beeb07ad326115084a47a9e698efbaec054b
/horizon-manila-lease.py
1581d1595db3ca80cdc426413cd5941385cba107
[]
no_license
bopopescu/sample_scripts
3dade0710ecdc8f9251dc60164747830f8de6877
f9edce63c0a4d636f672702153662bd77bfd400d
refs/heads/master
2022-11-17T19:19:34.210886
2018-06-11T04:14:27
2018-06-11T04:14:27
282,088,840
0
0
null
2020-07-24T00:57:31
2020-07-24T00:57:31
null
UTF-8
Python
false
false
19,983
py
# Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 OpenStack Foundation # Copyright 2012 Nebula, Inc. # Copyright (c) 2012 X.commerce, a business unit of eBay Inc. # # Licensed under the Apach...
[ "Suhaib.Chishti@exponential.com" ]
Suhaib.Chishti@exponential.com
7b780b55fb9c56c28c0863e891a6a7247e189041
9d33337187a8ccfc88269e8774c6450dd2587733
/restaurants/migrations/0007_auto_20180317_1702.py
0b61472c223a30b48576c2d6ba23f222d0aabc62
[]
no_license
mauryahdx/muypicky
80cdfec41449d99eed74942975fbd455653f478c
a85213e8989b70cb17d0b58137ec90b34a5d2273
refs/heads/master
2021-04-09T17:34:29.739915
2018-03-18T12:11:12
2018-03-18T12:11:12
125,600,786
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-03-17 17:02 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('restaurants', '0006_restaurantlocation_timestamp'), ] operations = [ migrat...
[ "suryamourya@iiitdmj.ac.in" ]
suryamourya@iiitdmj.ac.in
dc55651adbffad521879c30bf2544d1f19ac7c98
472370808bd279442f25b1bb96c20e8a164d3b06
/train_k7.py
772ef38767cbcb6b81ba9125cae686aaaed5a87c
[]
no_license
Qidian213/Emotion_challenge
d2983a078aa6c0ff76d052d0120acc9f387ecb6d
b214c532a4b079d6654507d2865ec65336ead65e
refs/heads/master
2021-08-28T20:58:45.547325
2021-08-18T11:10:46
2021-08-18T11:10:46
246,117,379
0
0
null
null
null
null
UTF-8
Python
false
false
5,430
py
import os import logging import torch import torch.optim import numpy as np from torch.optim import lr_scheduler from datasets import make_dataloader,RandomSampler,train_collate from torch.utils.data import DataLoader import torch.nn.functional as F from torch.nn.parallel.data_parallel import data_parallel from model i...
[ "xhx1247786632@gmail.com" ]
xhx1247786632@gmail.com
261ebb5b15dce2626a147fd2bec537c2833f670b
a8cff0e12ec74a913d4e81283fb207053bb0d3c4
/Slicing.py
09bd0a66c928d941546b543740fba7219098e45b
[]
no_license
sb1989/fyp
3b62ada000940691f2c8fc89e112dd3080428fd5
2e3f1829fb6a0a7be6be76b1c79aee8f71947145
refs/heads/master
2020-05-29T17:09:59.283256
2016-01-28T10:12:49
2016-01-28T10:12:49
50,574,507
0
0
null
null
null
null
UTF-8
Python
false
false
3,011
py
import math import pandas as pd import datetime import os #Constants WINDOW_DURATION = 10000 # miliseconds #GRAVITY_EARTH = 9.80665 def compute_mean(df, window_counter): grouped = df.groupby(['window id']) outputCSV = pd.DataFrame() outputCSV["window id"] ="" # ouptuCSV["rel_time_sec"]="" outputC...
[ "54c6a1b+3.02" ]
54c6a1b+3.02
c0f9dbecd67de39faf7a200cd391cce07c3eb470
c80e4dea4548de89d32f2abd6ca58812670ecc7b
/scripts/regal/RegalDispatch.py
49aa3451931469377a6fd4c1f560c3bfcb014de4
[ "Unlicense", "MIT", "LicenseRef-scancode-glut", "BSD-3-Clause", "SGI-B-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
chinmaygarde/regal
971699cc8d991633b7257ce9ced2b4d65dd6d9b2
db0832075bd78241afe003b9c1b8f6ac0051370b
refs/heads/master
2021-01-17T04:42:10.354459
2012-10-10T09:08:13
2012-10-10T09:08:13
6,150,566
1
0
null
null
null
null
UTF-8
Python
false
false
5,311
py
#!/usr/bin/python -B from string import Template, upper, replace from ApiUtil import outputCode from ApiUtil import typeIsVoid from ApiCodeGen import * from RegalDispatchLog import apiDispatchFuncInitCode from RegalDispatchEmu import dispatchSourceTemplate from RegalContextInfo import cond ########################...
[ "nigels@users.sourceforge.net" ]
nigels@users.sourceforge.net
33c6de1543d69b0ff3313c5278248ae637c56557
6b0ee2046e84fd8b866d8eb712775ee97e3c62d2
/venv/bin/sphinx-autogen
fb82df0e37bf4c097da0fcae09e7e9f276dda382
[]
no_license
aarongerig/sna_ad_analysis
a1341b653a5abb2d697cb60cb1babce6b76f44d3
d432701467c79ad97abca76d8f1643acc0781e3b
refs/heads/master
2022-10-07T20:43:46.558078
2020-06-13T14:52:32
2020-06-13T14:52:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
267
#!/Users/aarongerig/git/sna_ad_analysis/venv/bin/python # -*- coding: utf-8 -*- import re import sys from sphinx.ext.autosummary.generate import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "a.gerig@w-vision.ch" ]
a.gerig@w-vision.ch
62dc2f691f02557e27c4503955f81f9e4f1f31f7
2daf82c49d1c26d07a1be586f05e947a845aa5cd
/offline/preproc_to_cxi.py
b504618c0d6b6be2d2acbd82e2833779de4544c4
[]
no_license
TammeWollweber/xfel2013
63f01de98e10002a26c40cbcd9c04f627c279253
f97b826a712f045882581110317dfba8a6994245
refs/heads/master
2020-05-25T04:16:56.416263
2017-12-11T18:27:25
2017-12-11T18:27:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,432
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys, os import argparse import datetime import csv import subprocess import h5py import numpy as np sys.path.insert(0, '/gpfs/exfel/u/usr/SPB/201701/p002013/sbobkov/xfel2013/offline') import combine_modules BASE_EXP_FOLDER = '/gpfs/exfel/d/raw/SPB/201701/p002013/'...
[ "jonas.sellberg@naturalcycles.com" ]
jonas.sellberg@naturalcycles.com
5b7cc4476300d195ed7f2a305a7db60edd92fcc5
dc40794d0d17f4ee552d58621c4340e60a998d68
/leetcode/python/remove-all-adjacent-duplicates-in-string.py
c6153b82c0e4c1b7c2a2b2f055323d3690212110
[]
no_license
lsom11/coding-challenges
26e67e440bea4c42a0f28051653290f2cb08d0e7
4c127fdeb2ccbbdcdee0c8cd5d5ba47631508479
refs/heads/master
2021-11-23T11:40:37.516896
2021-10-27T15:50:35
2021-10-27T15:50:35
193,889,529
1
3
null
2020-10-27T12:59:54
2019-06-26T11:15:27
Python
UTF-8
Python
false
false
238
py
class Solution: def removeDuplicates(self, S): stack = [] for s in S: if not stack or s != stack[-1]: stack += [s] else: stack.pop() return ''.join(stack)
[ "lucwsomers@gmail.com" ]
lucwsomers@gmail.com
164b1e83705e2d3d0e0cb9a24232a24c3bdcb6d4
3ee0941c0dbb373c823f9864a8a34542cbd83d8e
/TPIA2/Chess/__init__.py
1776b1db358c8d3c55e869244830100263357a21
[]
no_license
flyman15/TP_IA
ecdf7f554373d48af9ffedd06b5f5ffb309dbbc5
1b4b2d389968875021cf2867c95375f6637d6a75
refs/heads/master
2021-08-19T07:33:07.840936
2018-11-29T12:42:11
2018-11-29T12:42:11
147,473,434
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
from ChessGame import ChessGame from Feval_Chess import feval1
[ "jqzhang_7@foxmail.com" ]
jqzhang_7@foxmail.com
499b72d0cff99aaa9f84cb5cc8c6100ef9538ef0
d057ab47375ac4f3229a323d7f0e81221ee3afff
/myvenv/Lib/site-packages/wordcount/wordcount.py
19987d05258dc96bdfb395b3df870e55a33db6db
[]
no_license
emibgo2/Django-Project
c47a44e37c3c3714af5630692c4036b433ac89b8
a1dd870b92d4cfc5346679a4330ea8e015fae7b3
refs/heads/master
2023-05-06T12:44:46.131260
2021-05-30T18:14:51
2021-05-30T18:14:51
370,045,440
2
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
import argparse import os parser = argparse.ArgumentParser(description='Get Word Count from file') parser.add_argument('--infile',help="Enter the Name of Input File") parser.add_argument('--outfile',help="Enter the Name of Output File") args = parser.parse_args() infile,outfile = None, None class WordCount: ''' ...
[ "emibgo2@naver.com" ]
emibgo2@naver.com
fc557c2e09d10031c83eddb47dd214c290b3f41b
5150bcb94ff2c28d11f0a3ff1b9e2b5b9daa5071
/MyDjangoProj/wsgi.py
abf4689442c96e33d6a01fe078a37240d8246bbc
[]
no_license
naveenyadav31/MyRepo
9b18b9da94b070aa443286c960dec73a3b98e9e8
276cbee96a1d837bdd20342f4e5f2ddccebe7965
refs/heads/master
2023-04-29T22:33:46.810966
2019-09-05T19:28:10
2019-09-05T19:28:10
206,618,739
0
0
null
2023-04-21T20:36:51
2019-09-05T17:19:12
Python
UTF-8
Python
false
false
401
py
""" WSGI config for MyDjangoProj project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "naveenyadav31.ny@gmail.com" ]
naveenyadav31.ny@gmail.com
a546ee4be1ee84e313d68e198080db36f7f49e86
68655eaa5f978c8311d05647481ef2e3160cbf6c
/count.py
4d5a97af1f033fdc5a221b641f655bc6936146bb
[]
no_license
Seanny123/simple_count
e2e7b3a70a8f263093aeb7f389dfb35f076e8406
1c293375d3b254224bf2e9eeba347fd14e3cfbaf
refs/heads/master
2021-09-01T08:50:53.263818
2017-12-26T02:59:37
2017-12-26T02:59:37
108,788,862
0
0
null
null
null
null
UTF-8
Python
false
false
6,121
py
from vocab import gen_vocab, state_vocab from mem_net import MemNet from assoc_net import Cleanup, HeteroMap import nengo_spa as spa from nengo_spa import sym, ifmax, dot import nengo from nengo.presets import ThresholdingEnsembles import numpy as np thresh_conf = ThresholdingEnsembles(0.25) from constants import * ...
[ "seanaubin@gmail.com" ]
seanaubin@gmail.com
f34d14af7cc3d7656075a6f983d023dc4388ce0c
1e81b193123d6db9204ad5f54432bda8af36dc3d
/heroku/app.py
a0594a82058cfc01599a759f25d11401a0ae7ac5
[]
no_license
russsik1/Agunda_bot
7e93492d9afddc13f01c8c4c5cc87db681a798b4
a671c070a8ab2998123fa61c77e4ba1caf59ed1d
refs/heads/master
2021-01-11T20:13:43.303808
2017-01-16T01:05:37
2017-01-16T01:05:37
79,069,228
0
0
null
null
null
null
UTF-8
Python
false
false
2,924
py
# -*- coding: utf-8 -*- import telebot import os from flask import Flask, request from config import agunda_token from config import agunda_botan_key import config import requests import botan bot = telebot.TeleBot(agunda_token) server = Flask(__name__) @bot.message_handler(commands=['start']) def echo_message(mess...
[ "salagati1@gmail.com" ]
salagati1@gmail.com
bd496d7453e0b996cc3696c6393b0b0d3b5cfaf3
12d18a482d4a2eb73fa35f028fd0d86921a517b2
/Dynamic Programming/MinNumberOfCoinsForChange/minNumberOfCoinsForChange_solution.py
6a42c30eb1a0ec236f3fb9f2527d829c85d4504d
[]
no_license
nikhil-2017/DataStructure
12fcd763420527c84cff4c5c4d1eb822f827638f
18e5004a4b0ef607649db892537be7ec6049f6a3
refs/heads/master
2023-06-06T11:22:59.774416
2021-06-14T19:59:42
2021-06-14T19:59:42
285,903,404
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
# O(nd) time | O(n) space def minNumberOfCoinsForChange(n, denoms): numOfCoins = [float("inf") for amount in range(n+1)] numOfCoins[0] = 0 for denom in denoms: for amount in range(len(numOfCoins)): if denom <= amount: numOfCoins[amount] = min(numOfCoins[amount], 1 ...
[ "noreply@github.com" ]
noreply@github.com
c81bb76d4424087f1e11dff7943277a527b06583
5a450f0541697c2a7278faebb808c97ff635299e
/image_helper/tests/test_app/models.py
1ed3224602c8be6d500f61f0e1ac39ea7d7a5df5
[ "BSD-3-Clause" ]
permissive
madisona/django-image-helper
fe4b7fce5e9b8a3595ffa085343b7d41b034df85
8f601f0824bedad7410ab82c739d2b91ffa70684
refs/heads/master
2021-05-16T03:00:37.977394
2021-04-04T11:57:35
2021-04-04T11:57:35
3,320,783
1
1
BSD-3-Clause
2021-04-01T11:51:02
2012-02-01T01:24:22
Python
UTF-8
Python
false
false
216
py
from django.db import models from image_helper.fields import SizedImageField class TestModel(models.Model): image = SizedImageField( upload_to='test_images', size=(220, 150), thumbnail_size=(100, 100))
[ "noreply@github.com" ]
noreply@github.com
1625d6d485f79fe3202f62e31700826202c99011
48c1795e49c1808b186871fb16c11e7a99e29087
/router.py
62ee821fd55a46411eee3fd0fff10496ab61cb70
[ "MIT" ]
permissive
micahbeech/hitron-cli
4d6eac5fbd9d3824f8c03957d23f246c83e306b4
0ac2d09b03eb038f824b2427a66e28b14b80ee89
refs/heads/master
2023-03-02T02:49:26.869905
2021-02-14T01:42:51
2021-02-14T01:42:51
338,685,944
2
0
null
null
null
null
UTF-8
Python
false
false
7,303
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from webhelper import WebHelper from webhelper import InteractionException import logging class Credential: """ Stores credentials for login Attributes ---------- username : str the username used for login ...
[ "micahleboldbeech@icloud.com" ]
micahleboldbeech@icloud.com
fbcddc132dcffc204732649bd21e80f5e57eac8e
0743fb50c4f2f1248dfd16de026a497fe5c9b6eb
/kNN/kNN.py
76863c7e39b6f63380fd93eb39b4dd6755ad0de3
[]
no_license
wxjing4me/MachineLearningDemo
2f4dab79fe28cf9da60ebadc6ba44038aba92423
b340e5543bfc03a301904bf03e6a0fbd3df284e9
refs/heads/master
2021-03-30T22:48:34.082330
2018-03-08T08:43:12
2018-03-08T08:43:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,483
py
#-*- coding:utf-8 -*- import csv import random import math random.seed(1) # ่ฝฝๅ…ฅๆ•ฐๆฎๆ–‡ไปถ๏ผŒ็”Ÿๆˆๆ•ฐๆฎ้›† def loadCsv(filename): lines = csv.reader(open(filename, "rb")) dataset = list(lines) for i in range(len(dataset)): dataset[i] = [float(x) for x in dataset[i]] return dataset # ๅฐ†ๆ•ฐๆฎ้›†ๅˆ†ไธบ่ฎญ็ปƒ้›†ๅ’Œๆต‹่ฏ•้›† def splitDataset(dataset, spl...
[ "wxjhappy04@163.com" ]
wxjhappy04@163.com
60bcd56aa03b18bf5c3231b57c88a262654effd5
b995a8793951954c9400708411d90247e4470ed8
/balanced-binary-tree.py
0742adce9f0fdd3e67b659a1f039883a5cad9352
[]
no_license
dianaevergreen/1337code
5e782b72e8edc1250abbbbfc37fc6fbe83407305
0297c25492edb597c2c5210c83a2410df907ec90
refs/heads/master
2021-01-13T16:32:45.852251
2017-01-19T06:57:33
2017-01-19T06:57:33
79,422,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None flag = True class Solution(object): def Balanced(self, root): if root is None: return 0 global flag if n...
[ "noreply@github.com" ]
noreply@github.com
8257e2e8157015ef95f33c5f7785f5aef2c3375c
170026ff5b435027ce6e4eceea7fff5fd0b02973
/glycan_profiling/serialize/base.py
b71b0e0048d9fda6a2af63717a16b06d6e733fa8
[ "Apache-2.0" ]
permissive
mstim/glycresoft
78f64ae8ea2896b3c4f4c185e069387824e6c9f5
1d305c42c7e6cba60326d8246e4a485596a53513
refs/heads/master
2022-12-24T23:44:53.957079
2020-09-29T13:38:20
2020-09-29T13:38:20
276,471,357
0
0
NOASSERTION
2020-07-01T20:04:43
2020-07-01T20:04:42
null
UTF-8
Python
false
false
1,397
py
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import ( Column, Numeric, Integer, String, ForeignKey, PickleType, Boolean) from sqlalchemy.orm import validates from sqlalchemy.orm.session import object_session Base = declarative_base() def Mass(index=True): return Column(Numeric(...
[ "mobiusklein@gmail.com" ]
mobiusklein@gmail.com
570b3e7425911bb1015aa72da24b6775e9a9cf9f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03030/s750969702.py
3af20d6d293086c39ad8ce1585af7340da080628
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
n = int(input()) lst = [] for i in range(n): s, p = input().split() lst.append([s, -(int(p)), i+1]) lst.sort() for i in range(n): print(lst[i][2])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
483c1d3ba1072e3762c01fd4dfc8c44d3985187b
4fe016498f92cf23fb726d95c0502acc94170e1f
/dynamic-templates/task1/app/urls.py
ce683f45eaeae5595576a8236a8c366c31132137
[]
no_license
alexbaldr/Django
650d91952a8a04b48577499cc834509310eb5f13
73588a3ca566835e521de42f10da5160205e3606
refs/heads/master
2023-01-23T04:35:36.920333
2020-11-14T17:45:06
2020-11-14T17:45:06
296,635,258
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
"""app URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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-based vie...
[ "baldr11@mail.ru" ]
baldr11@mail.ru
225f6f7ac6d8a956898ec0430a4a71947c5abd01
3556aa59ef476e191447fdc50028102260cb49c6
/tetris/tetris.py
5bd44f8f0c9596a801353284be6c5e574e5bbdc9
[]
no_license
patrick333/typical-python-games
2d0994b97fa29a0adb6c76ee8ed7ae13f4f2a2d0
090944a3730132dce2fbfd08c574fb470842d8b8
refs/heads/master
2016-09-05T11:29:13.988517
2014-01-05T04:25:37
2014-01-05T04:25:37
15,154,965
1
0
null
null
null
null
UTF-8
Python
false
false
13,097
py
import pygame,random,sys from pygame import * ''' Do not use pygame collision test. stillGroup will merge with grid. ''' black = ( 0, 0, 0) white = ( 255, 255, 255) cyan=(0, 255, 255) #I yellow=(255,255,0) #O purple=(128,0,128) #T green=( 0, 255, 0) #S red=(255,0,0) #Z blue=(0,...
[ "shaopeihui1@gmail.com" ]
shaopeihui1@gmail.com
5a1531e3ab03bca5ad92b86fd67eda6eaa285b9a
13acfcb4a300d6c9f40c79f56175c74b0f673c3f
/ILI9341/examples/01_basic/05a_println.py
9be665576366149f3decadc57fbec3e13c34cad2
[]
no_license
mchobby/pyboard_drive
821d7fce0f6791877397159cdf3c0636916628ae
8e32dc68b131d31aba38087588883fac26534d0f
refs/heads/master
2021-01-18T16:13:50.127858
2016-04-10T19:43:21
2016-04-10T19:43:21
55,912,768
1
0
null
2016-04-10T17:25:57
2016-04-10T17:25:56
Python
UTF-8
Python
false
false
1,103
py
# The driver allows you to draw text (string) on the screen. # Text drawing has the following feature: # * Support of various font # * Support for text color (and background color) # * Cursor blinking # * Draw from position (x,y) # from lcd import * from fonts.arial_14 import Arial_14 import pyb l = LCD( rate...
[ "info@mchobby.be" ]
info@mchobby.be
c299e16ce34ffeb1148dfd55fa4638c3a2563f1a
459459455360106416bbfa4cc5a8ac6cfaee3190
/env01/bin/wheel
ab2d88b9fccca3cbe2785d2cf17b70249a90a739
[]
no_license
Adriano-Capobianco/my-first-blog
bc510d8a049184e2345d34ea8516197736b2a5df
7922e68dedd62f73a4f44374c83c376d7d7fbc26
refs/heads/master
2020-06-08T18:14:24.489867
2019-06-23T01:09:29
2019-06-23T01:09:29
188,479,444
1
0
null
null
null
null
UTF-8
Python
false
false
246
#!/home/adriano/development/django/env01/bin/python3 # -*- 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())
[ "adriano.capobianco@gmail.com" ]
adriano.capobianco@gmail.com
7d889d5b19c85029af2e92025bc79c755a0bc991
bc57bab6318bb1102d41f81eaddfa34d8c365a4a
/fisrtspider/fisrtspider/settings.py
3521da4deba6e12b42742f74d4e4295082a83d24
[]
no_license
gaomengsuijia/scrapy
d72d7a3f950623d40d18dc5e8c0568e4b5d820fd
50f3190da25333cf0724d798bd35600de31c9e36
refs/heads/master
2020-03-07T04:30:47.414084
2018-03-29T09:24:49
2018-03-29T09:24:49
127,268,221
0
0
null
null
null
null
UTF-8
Python
false
false
3,123
py
# -*- coding: utf-8 -*- # Scrapy settings for fisrtspider project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/t...
[ "hu@126.com" ]
hu@126.com
7a92b80dd4dc7749ba2f919c289624908bf2d789
4b38f4544837c2628e3235a5d1b1b4461d766155
/trackmania/containers/track_info.py
8b998703c44e1afd66d6a08eb9ba21c87ebeed49
[]
no_license
Jubast/JBot_py
9e62ccf18e2065e1deedb9305f2e1a787ea5df52
f1a83d32f850e6403a22cae87d2da834429c1d85
refs/heads/master
2020-03-22T19:55:03.777882
2018-07-11T10:32:31
2018-07-11T10:32:31
111,411,735
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
class TrackInfo: def __init__(self, author="", track_name="", track_syle="", track_length="", track_url="", track_image_url="", track_thumbnail_url=""): self.TrackAuthor = author self.TrackName = track_name self.TrackStyle = track_syle self.TrackLength = track_length self.Tra...
[ "30406814+Jubast@users.noreply.github.com" ]
30406814+Jubast@users.noreply.github.com
653e17acfffa6600b0f915f3b7999cddec73c0ba
8f7fbf054e349c6c48c6d40c23ad2e40ef684139
/anotacoes_curso/poo/desafio_loja.py
2dcb4fad7149a274d7eacda01ea5fc58171f9f79
[]
no_license
yanfonseca/python_cod3r
3760c0104c21dc54c0ea3f667366e8cf2999e906
48305d7f72517e6fa1562c1829b56f1215153426
refs/heads/main
2022-12-19T17:09:14.359178
2020-10-20T23:25:30
2020-10-20T23:25:30
305,855,763
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
from datetime import datetime from loja import Cliente, Vendedor, Compra def main(): cliente = Cliente('Maria Lima', 44) vendedor = Vendedor('Pedro Garrido', 36, 5000) compra1 = Compra(vendedor, datetime.now(), 512) compra2 = Compra(vendedor, datetime(2020, 7, 15), 256) cliente.registrar_...
[ "yan@DESKTOP-GC70006.localdomain" ]
yan@DESKTOP-GC70006.localdomain
e3e90f54f9104742435093629e30fe04f253b3bc
a49e1ae96a91bc3593d2b8782e021fe4ded4767e
/halla/stats.py
55b81f347fb0227b7a9890b4f9bd38931121eaac
[ "MIT" ]
permissive
brianmorganpalmer/halla
6a6d0b28b7707e662191bbffd9c015d02d770170
d51315a2905e282a250a6c7f5c6c7a7c4e180b6d
refs/heads/master
2021-01-12T16:33:43.627670
2016-10-19T16:46:30
2016-10-19T16:46:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
66,647
py
#!/usr/bin/env python """ unified statistics module """ # native python import exceptions from exceptions import ArithmeticError, ValueError from itertools import compress from itertools import product import itertools import math from numpy import array , std, log2 import numpy from numpy.random import shuffle...
[ "gholamali_rahnavard@localhost" ]
gholamali_rahnavard@localhost
60d6cd47ad578e75e44331085a5d539b39c1c523
5cf23685b3ccdc940e26cef3229f4ad8d0e4f14d
/python-remote-container/src/effective/04/31.py
ffe1aa841495f327448c02403bdd9eb632c058f9
[]
no_license
zakizaki-ri9/python-sandbox
d52fa377d6a06f4f92e943ba8f2823076e44ba86
b411430db913ea0d1c5998627e37ab0108d634c0
refs/heads/master
2022-12-28T21:52:08.474915
2020-10-11T06:50:54
2020-10-11T06:50:54
261,090,085
0
0
null
null
null
null
UTF-8
Python
false
false
3,177
py
import os from typing import Callable, Generator, Iterator, List class Anti: @classmethod def get_percentages(cls, data_path: str) -> List[float]: it = cls.__read_visits(data_path=data_path) percentages = cls.__normalize(it) return percentages @classmethod def __normalize(cls,...
[ "kic.yuuki@gmail.com" ]
kic.yuuki@gmail.com
2ac940a50aa1d15fc718bf8b90c5ccc3d1e3d7df
1b832bfc532e3a43211d98534178174678c75d51
/cfg.py
447048ace5ebdd6c5479eaa6d7d3adb7100a7ae1
[]
no_license
copleston/context-free-grammar-parser
92f148b797d0aaac29aef5f6236afbd74c8d3b61
b1f2babf53f5bf49ab3ffcd5b392e16667ef3143
refs/heads/master
2023-02-07T09:47:50.874910
2017-03-31T15:52:26
2017-03-31T15:52:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,324
py
import cfg_reader from pprint import pprint from collections import OrderedDict import string import itertools import copy import sys class CFG(): def __init__(self, v_in, t_in, r_in, s_in): self.variables = v_in self.terminals = t_in self.rules_0 = r_in self.start_0 = s_in self.rules = OrderedDict([("S0", ...
[ "o.copleston@gmail.com" ]
o.copleston@gmail.com
bdda75106fa100c660d6c0a46bd0c97e693254ec
f0c92395d087bf2a346e33e639db88c7e3ef8f75
/food.py
05123c3ccf5b7c622427b614a804e3014cadf027
[]
no_license
Razouletuo/snake_game
599f7f79a59d889a0d8e09ab17efff05c26b48be
71c617e37fce69b89424aeff2ebdbc0bbea24719
refs/heads/master
2023-03-08T08:57:12.262571
2021-02-23T16:48:40
2021-02-23T16:48:40
341,620,227
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
from turtle import Turtle import random class Food(Turtle): def __init__(self): super().__init__() self.shape("circle") self.penup() self.shapesize(0.5, 0.5) self.color("yellow") self.speed("fastest") self.refresh() def refresh(self): random_x =...
[ "razounoudi123@gmail.com" ]
razounoudi123@gmail.com
6ca479bcdf4e9c8908115b2b62bd2584bc93d313
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/comp/rthyper.py
71878443385b40d056e3b9550a6af0f2bd67120c
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
5,085
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
ec9052f9b3b57c6ececab06587a0783d262a8772
978ce659f02e631801c659c763f5f99b207a6a9e
/data_preprocess/prognostic/sample_patch_x4.py
5d7aeacaa08263ce4a24d359750000cb96726358
[ "Apache-2.0" ]
permissive
jixing475/HCC_Prognostic
88e8e5248b6f72fcc6a10d86957f1c937ad49e69
c5624612bec88bc62e52c757472db44ded267199
refs/heads/master
2023-01-21T04:30:50.554815
2020-11-24T09:13:20
2020-11-24T09:13:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,907
py
import os import time import numpy as np from openslide import OpenSlide from multiprocessing import Pool import cv2 import csv import random import sys sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../../') path_list = "./data/npy/" file_path_txt = "./data/txt/x4.txt" path_patch = "./data/...
[ "wangxiaodong1021@gmail.com" ]
wangxiaodong1021@gmail.com
f0f087b6038adabe9dd441b1f66a3363ba2b7669
901ad3d2f4da2e927048e3278dadb99e46ee159f
/binding.gyp
060cbd034c346d23f6a993c7920c432bae26c62a
[ "MIT" ]
permissive
corish/node-db4bix
9526b03c40ca12649d76ac252a7b8dc4623e1b83
f5326027e788ecbdef24e55308a43c9c1b0c6b31
refs/heads/master
2020-12-08T14:43:08.163343
2020-01-10T07:07:14
2020-01-10T07:07:14
233,008,742
0
0
MIT
2020-01-13T09:42:32
2020-01-10T09:07:57
null
UTF-8
Python
false
false
1,661
gyp
{ "targets": [ { "target_name": "libzbxpreproc", "type": "static_library", "include_dirs": [ "preprocessor/zabbix/include", ], "sources": [ "./preprocessor/zabbix/src/zabbix_server/preprocessor/item_preproc.c", "./preprocessor/zabbix/src/zabbix_server/preproce...
[ "Strannix.Vagabondan@gmail.com" ]
Strannix.Vagabondan@gmail.com
af9eddc49be1aca7d89c90d718c00769081bb7a9
6066ccfd93c1c2b6883797477af6a8c12bb7feaf
/Robione_na_zajeciach/wyjatki.py
9c18c5ee91eb24029746c25810fc57abf952d9b8
[]
no_license
AgnieszkaCwiek/Zajecia_1
2fe0311167e7caf1a645f19a3ceb96d3131c23cf
d79b2af489ad174e2f07032e6ea43b16318cc914
refs/heads/master
2020-04-09T05:43:57.387964
2019-01-06T12:01:59
2019-01-06T12:01:59
160,076,868
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
import urllib.request import datetime try: stream = urllib.request.urlopen("https://www.actris" + pl): print(stream.read()) except urllib.request.HTTPError as err: print("Bล‚ฤ…d HTTP") except urllib.request.ContentTooShortError: print("Odpowiedลบ serwera za krรณtka") except Exception as err: with o...
[ "agacwiek1792@gmail.com" ]
agacwiek1792@gmail.com
3b60170e89299a0ad76c189b6fc9111dfbac6dff
20313b0ba319c6af919b5d782fed84a6e5aa4a66
/server.py
3700cf182db42743b123c3c60be15cac02c9a1e0
[ "Unlicense" ]
permissive
alik604/myPyBackDoor
814b5b8cc8c2b03e8155f157aee66689642ea8e3
b1ebea0728d34911bc39d5a3f633bf422562fe9d
refs/heads/master
2022-06-22T09:21:33.562320
2022-05-31T23:04:28
2022-05-31T23:04:28
166,714,810
34
14
null
2019-12-08T19:14:50
2019-01-20T22:09:24
Python
UTF-8
Python
false
false
3,858
py
# https://www.youtube.com/watch?v=-goH6bhyxmA&feature=youtube_video_deck import socket s = socket.socket() host = socket.gethostname() port = 8080 s.bind((host, port)) print("\nServer is currently running @", host) print("Waiting for incoming connections") s.listen(1) conn, addr = s.accept() print(addr, "Has connecte...
[ "alik9807274@gmail.com" ]
alik9807274@gmail.com
e09190703b034135b7d47117bfcf2d18944d76a7
3ec94a14aa85b454f61fc667ed3d398fe7915b3d
/Computer.py
8379cdd58a9e52107960eefa71a967ab340a91cc
[]
no_license
AurelienCaille/JeuDuVirus
bd41df989e5861ccb0877c355e05d4c05947cc69
c9b6fd21e9147aada5e1ba7a8a81f9fdef336256
refs/heads/master
2021-01-23T07:59:52.342669
2017-02-21T12:09:16
2017-02-21T12:09:16
80,519,779
0
0
null
null
null
null
UTF-8
Python
false
false
3,414
py
import random from Player import Player TRIALS = 4 # 4 become long class Computer(Player): """ class representating a computer wich can play the VirusGame """ def __init__(self, name, color): super().__init__(name, color) def play(self, grid): """ Compute the best move to play """ ...
[ "aur-lien@hotmail.fr" ]
aur-lien@hotmail.fr
07d85bc48b7aef4f34e224228e7271515c99901c
ffad2a50d566fe755cca2a2aae652c58a6b08c66
/manage.py
0857525cb3a588e585cc8cf0732318421947565d
[]
no_license
adiram17/pyanysite
04dc48c3f02e1f80262d893a50bc4354e4f3a725
b7f2a66fb636bb409820d07da1b6760453a9d60e
refs/heads/master
2022-04-19T16:28:51.341707
2020-04-17T09:55:29
2020-04-17T09:55:29
256,464,835
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'pyanysite.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impo...
[ "adi.ramadhan@sigma.co.id" ]
adi.ramadhan@sigma.co.id
26e57573d537f466e1c58f08b8618156ee6d3d6a
25916a84a0db13347fd28fafb65fdac4466d9d3f
/shop/views.py
6dc6c498fbf344b7f86da54562ef6d7e95f1e700
[]
no_license
Eduardo-Lucas/vendas
a156fc4bfbeb7e5478e80bdb87265d8605f6ea92
be87ee7fe950d71fb2969ab26c84f38aac921142
refs/heads/master
2020-03-12T01:59:24.073594
2018-04-20T16:47:58
2018-04-20T16:47:58
130,390,244
0
0
null
null
null
null
UTF-8
Python
false
false
1,435
py
from rest_framework import viewsets from shop.models import Category, Product, FormaPagamento, PrazoPagamento, Cliente from shop.serializers import CategorySerializer, ProductSerializer, FormaPagamentoSerializer, \ PrazoPagamentoSerializer, ClienteSerializer class CategoryViewSet(viewsets.ModelViewSet): """ ...
[ "[eduardolucas40@gmail.com]" ]
[eduardolucas40@gmail.com]
dca40ba0806c0a30cccfd3eaceabbff3b1d7d0e5
cf167010fa9f5b7c2bf2ec70ebee9abb8ca114e4
/src/ArchivedScripts/Filtering/GetRetweetMentionRates.py
bd9e2538c54cb62e4213342d94be5e153c5239e3
[ "MIT" ]
permissive
tapilab/is-rbabayan
3ed3fa038679dfb742a3b3b56f8c71f0626c0a17
b7ca6fc46c16955137713cef5091d9ef1c9216a0
refs/heads/master
2021-01-21T13:14:28.281610
2016-05-05T19:59:58
2016-05-05T19:59:58
47,776,808
0
0
null
null
null
null
UTF-8
Python
false
false
3,240
py
''' INPUT Parameters: - A directory name that contains immigrant objects - A directory name that contains the tweet files ''' import tweepy import pickle import os import sys from datetime import datetime import time import operator class Immigrant(object): def __init__(self,user_id, immigration_date...
[ "rojin.babayan@gmail.com" ]
rojin.babayan@gmail.com
8dc0e50388c434725eeeec2707d6d4577e324678
f5ac2185c850e3724601fad80decbe3937d5013a
/polls/urls.py
2c13d7193c2fbc79c53d1c9f73a2071ae11bfbbf
[]
no_license
jjvein/mysite
aa64ab6251507cc3648cb88fe9ef7904dfd23217
84a8603a0959859615273e35212545095ca6e97c
refs/heads/master
2021-01-10T09:10:45.599018
2016-01-03T01:16:04
2016-01-03T01:16:04
48,929,613
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
from django.conf.urls import url from . import views app_name = 'polls' urlpatterns = [ # ex /polls/ url(r'^$', views.index, name='index'), url(r'^(?P<question_id>[0-9]+)/$', views.detail, name='detail'), url(r'^(?P<question_id>[0-9]+)/results/$', views.results, name='results'), url(r'^(?P<question...
[ "vein1992@.163.com" ]
vein1992@.163.com
f5096b0a985aaa68dcd40237e613d9458ebead14
f768a969feb64461e6a4d17ce4a5ed9ffe145c79
/level_two/decorators.py
d091253bea11d4bf5f1723864ac3662d3a2a1223
[]
no_license
baronntambwe/Python
f3538f02188b9d79b43037123c3d6dde83c66b43
7daa734190fea6327149b2085f402aeef3f8e698
refs/heads/master
2020-09-16T12:03:30.315331
2020-02-01T11:06:15
2020-02-01T11:06:15
223,762,892
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# Nested function def hello(name ="baron"): print("Hello called") def greet(): return "Greeting called" def bye(): return "Bye called" if name == "baron": return greet else: return bye x = hello() #print(x()) # Function as argument def helloThere(): ...
[ "baronbabutuke@gmail.com" ]
baronbabutuke@gmail.com
1f9e3a787105ca81fb17444d9e75f407eab044e2
232c2b82fd3c86f471b1ce680952c142cfd016b1
/2. control_structure.py
5b4d426388506368ba2e865a04716ea3324019cb
[]
no_license
martafrak/Python_Course
510c03121614aad23145c2444db83720e79eb997
7a1f37d206efcbf45965419c4120b2f2a4efd495
refs/heads/master
2020-03-31T10:17:34.667770
2018-11-26T18:47:16
2018-11-26T18:47:16
152,129,752
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
# control structure - python #1. exercise x = input("x = ") y = input("y = ") if x < y: print("x is less than y") elif x == y: print("x is equal y") else: print("x is greater than y") print("Done") #2. exercise K = x < y print(type(K)) if K: print("True") else: print("False") print(K) #3. exer...
[ "marta.frak94@gmail.com" ]
marta.frak94@gmail.com
e9d83c8705ef9924f300da3ebc893e0ab011dab0
610a3122da569ef9199c0f0f9ea032422ddb5ea9
/model/inceptiontime.py
4a88cf2a464ff4b4325c543df0b9c511ba56d100
[ "MIT" ]
permissive
lixiaoyu0575/physionet_challenge2020_pytorch
77b666f12d221925b7fc8fc1f0ed47e145691be1
39b5aeeead440eaa88d6fdaf4a8a70c15373e062
refs/heads/master
2023-02-05T04:48:40.711271
2020-12-28T09:55:55
2020-12-28T09:55:55
262,982,501
2
0
null
null
null
null
UTF-8
Python
false
false
28,786
py
import torch import torch.nn as nn from ptflops import get_model_complexity_info import torch.nn.init as init def correct_sizes(sizes): corrected_sizes = [s if s % 2 != 0 else s - 1 for s in sizes] return corrected_sizes def pass_through(X): return X class SELayer(nn.Module): def __init__(self, chann...
[ "1036758468@qq.com" ]
1036758468@qq.com
dcb3932f2a7e4e205d171558dc467be3b2898022
4a59616d25cb569fde9e4275e8c31a7344f9808a
/data_process/generatejobparallelismSC.py
37f399e306c0e76b026423feee1e8d498409c32d
[]
no_license
SherlockCausal/Sherlock
88de70e189e109dfd704b1fe0fcc0e91b03c2a7a
cac2205fc64e90148adbe3e96cf85431319a2926
refs/heads/master
2022-11-28T05:28:10.658462
2020-08-17T22:10:43
2020-08-17T22:10:43
265,648,781
0
0
null
null
null
null
UTF-8
Python
false
false
2,150
py
import pandas as pd import numpy as np import pickle jobeventsdirectory = '/scratch/avinashrao/causal-inference/clusterdata-2011-2/job_events/' taskeventsdirectory = '/scratch/avinashrao/causal-inference/clusterdata-2011-2/task_events/' outdirectory = '/scratch/avinashrao/causal-inference/clusterdata-2011-2/' jobSCou...
[ "65677880+SherlockCausal@users.noreply.github.com" ]
65677880+SherlockCausal@users.noreply.github.com
6223095c22e96f60f9d02343387a206b03fdb4e0
88ff45a923621f17217f42a6989d5d4b4c845640
/DL-OBS-Server/dlobs/lib/python3.6/io.py
169e3b4a0052fb8b702e43eb5d16ad7bb716954e
[]
no_license
CarsonChen1129/DL-OnlineBankingSystem
abb76f6b707f7d9c11bdfe3074ce43679b51410a
a2fdddb706442b3e7dc1bd238fb778cd7fa8dda8
refs/heads/master
2021-08-30T09:42:33.969516
2017-12-17T08:59:46
2017-12-17T08:59:46
109,445,260
1
0
null
null
null
null
UTF-8
Python
false
false
43
py
/Users/tonyqin/anaconda/lib/python3.6/io.py
[ "shenlinq@andrew.cmu.edu" ]
shenlinq@andrew.cmu.edu
82df333588a3e39a0db7f11d13cad1ff66a807cd
3db42fad1ff0836a948544c520d0190e3329044e
/entertainment_center.py
5032699560109da349bdcc580246d2e4287b0d86
[]
no_license
Bhagwan11/movie-hub
347496d42be70499f82fc0b479a4d0a014e76e40
3e78d56df7902f35ffb929880f35195e6393cefd
refs/heads/master
2021-04-15T11:50:40.153404
2018-03-29T15:59:27
2018-03-29T15:59:27
126,167,001
0
0
null
null
null
null
UTF-8
Python
false
false
2,078
py
from media import Movie import fresh_tomatoes '''-----------Create Movie instances-----------''' the_intern = Movie("The Intern", "A CEO gets a 70 year old intern.", "https://upload.wikimedia.org/wikipedia/en/c/c9/" "The_Intern_Poster.jpg", "https://www...
[ "noreply@github.com" ]
noreply@github.com
70d79955bc6a0c1c85b69b4bd25c4cd38ba5ee4b
c4e74cb97febd177ea5795e0010ff575560209ad
/udemy-dl.py
f4c5a11b8d0bda0d844157c912741f3c5eeb51f7
[ "MIT" ]
permissive
Simerpreet-K/udemy-dl
2a0f403def1ba5daa7649df44d61ecdd0b7e5ae6
df0c99ec007f34854745c035878a23e2b971e232
refs/heads/master
2020-03-17T08:48:58.605904
2018-05-15T02:57:09
2018-05-15T02:57:09
133,450,817
0
0
MIT
2018-05-15T02:56:02
2018-05-15T02:56:02
null
UTF-8
Python
false
false
80,016
py
#!/usr/bin/python # -*- coding: utf-8 -*- import os import sys import time import udemy import argparse from pprint import pprint from udemy import __version__ from udemy._colorized import * from udemy._compat import pyver from udemy._getpass import GetPass from udemy._vtt2srt import WebVtt2Srt from udemy._progress i...
[ "r0oth3x49@gmail.com" ]
r0oth3x49@gmail.com
e83819f479bb454551e90f58d18627dd134541f4
9ef8674d3db67d49923ee48d6b0117e5527b8538
/core/settings.py
01e40616a8929137e29894756c3e648f9991893a
[ "MIT" ]
permissive
vrcmarcos/django-http-model
691dd99b469063199a00bff5d3b4cb567cf7ac5f
f7f1904760064b4cb642ca3c417eb93c50ca5642
refs/heads/master
2021-07-04T14:01:30.252457
2020-02-12T04:46:41
2020-02-12T04:46:41
88,807,394
4
1
MIT
2021-06-10T18:12:12
2017-04-20T01:32:18
Python
UTF-8
Python
false
false
3,101
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 1.10.2. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os #...
[ "vrcmarcos@gmail.com" ]
vrcmarcos@gmail.com
d5399fe5eab2c1f28901a5fcbbeb47550fdef5f4
2451d90094e08e6726e13d19d6b214c5d03320fb
/anti-spoof/eval/verification.py
53bd1ecd9eec1373a23037f487d9475f1a7e51dc
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
hudmgy/insightface
7689fa3fc5c4cc31398ebe374e5022d5a7eaf38c
2ebc87e1bde3d4ef04bc0d4498038a0bc01b0ddc
refs/heads/master
2021-07-08T17:44:46.903489
2020-09-01T07:27:09
2020-09-01T07:27:09
186,923,596
1
0
MIT
2019-05-16T00:48:55
2019-05-16T00:48:55
null
UTF-8
Python
false
false
22,553
py
"""Helper for evaluation on the Labeled Faces in the Wild dataset """ # MIT License # # Copyright (c) 2016 David Sandberg # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restric...
[ "hudmgy@163.com" ]
hudmgy@163.com
3bb928a0974e878569164738ce987fd892555254
5ab0bf131473034efcdd495f9393c781658de97c
/batch_conll.py
cf3662c4fe4e988f44b20d8838d36d64649358b5
[]
no_license
YamaguchiShuhei/conll
3e58bd82ef68046911c53bee5999acdd84015803
d9c1b4a10eeb0bb292cb6d892a289bdc0c82e880
refs/heads/master
2021-01-20T18:09:59.002650
2016-07-07T12:59:01
2016-07-07T12:59:01
62,805,067
0
0
null
null
null
null
UTF-8
Python
false
false
5,268
py
import tensorflow as tf import numpy as np import collections import time import sys import os import random def _read_words(filename): f = tf.gfile.GFile(filename, "r") word = [] chunk = [] for line in f.readlines(): if len(line)>3: pair = line.strip().split("\t") word.append(pair...
[ "c8cd@i.softbank.jp" ]
c8cd@i.softbank.jp
cd4ff30a6049d709d05f14a491299de304bd48ab
53da64bb22fb6868bb1c4cb9014215fbda855952
/python-hello/hello/operations/get_operations.py
840661fa8b0050d3fde8b91c5f09b4e140888d44
[]
no_license
jds2001/autorest-helloworld
9206a7cad96ca19baf4886197263eccc2997326d
3bc40c9db1a65a0e6af7691f7043ecc32188b8b2
refs/heads/master
2020-04-22T16:35:57.983783
2019-04-23T22:08:12
2019-04-23T22:08:12
170,513,341
0
0
null
null
null
null
UTF-8
Python
false
false
2,318
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "jonstanley@gmail.com" ]
jonstanley@gmail.com
5b448b17c2bb4fab48b4c36401f991bc4562e280
84c6570a1182135837ada6e1ba1c4eef32de3d56
/blog/migrations/0008_auto_20150315_1526.py
718f68f9a872001869ccded0e619e4bd10e530e0
[]
no_license
sleepyliu/mySite
e642871858a978532f19a1228943b0627098619b
b452869cf011260aa59a2d7ed8a1cafbb8f2bde3
refs/heads/master
2020-12-30T10:36:51.059705
2015-03-15T08:56:23
2015-03-15T08:56:23
31,692,738
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0007_auto_20150315_1301'), ] operations = [ migrations.CreateModel( name='Tag', fields=[ ...
[ "lingjie26@126.com" ]
lingjie26@126.com
d5b88f8629f9f6924631d18a30e861b74631cacc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_354/ch118_2020_10_05_20_26_56_452982.py
e6c9398b5afb5dea7dc4d9be024f67529850913e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
import math def reflexao_total_interna(n1,n2,o2): y=(n2*math.sin(math.radians(o2)))/n1 if y > 1: return True else: return False
[ "you@example.com" ]
you@example.com
31cc256c5c48f8f108aebbc668b02473408ab0fc
0f9f8e8478017da7c8d408058f78853d69ac0171
/python3/l0203_remove_linked_list_elements.py
11775486cd12a337eda8f3139c2959e183cdbebc
[]
no_license
sprax/1337
dc38f1776959ec7965c33f060f4d43d939f19302
33b6b68a8136109d2aaa26bb8bf9e873f995d5ab
refs/heads/master
2022-09-06T18:43:54.850467
2020-06-04T17:19:51
2020-06-04T17:19:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from common import ListNode class Solution: def removeElements(self, head: ListNode, val: int) -> ListNode: p = dummy = ListNode(0) dummy.next = head while p.next: if p.next.val == val: p.next = p.next.next else: p = p.next ret...
[ "zhoulv82@gmail.com" ]
zhoulv82@gmail.com
9643470711f485d5c2f85849e763301f4bcb63fa
026a1329782ff71ae92a6f3d0403dfdefd8fa518
/database/insert.py
d15d5a4935d7a14a97416c2c3ba79889360c3b7a
[]
no_license
pkray91/laravel
ad3e75b406e319e6ee6d04c0a134248d9cb09431
a05015e2c98dc31c533244f618e56fc8a4599eb7
refs/heads/master
2021-02-04T23:36:12.074340
2020-02-28T09:40:43
2020-02-28T09:40:43
243,720,654
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
import mysql.connector con = mysql.connector.connect(host="localhost",user="root",passwd="",database="python_db"); mycur = con.cursor(); query="insert into employee(name,email) values(%s,%s)"; val= ('mohan','moss@gmail.com') mycur.execute(query,val); con.commit(); print("data inserted");
[ "pk.ray91@gmail.com" ]
pk.ray91@gmail.com
ae68f1a23327797aa2ff5c75eae89c01509d34c3
996e00f5f71b83e408d254ff59ff0b488eb08050
/grafik/migrations/0002_auto_20180625_1003.py
5c50a8ce53df403d7bbd51e29dc1dc7f39ba2e0b
[ "BSD-3-Clause" ]
permissive
kurniantoska/medicalwebapp_project
adcd772556fcf955807c83114d3f0b6a68f723a8
a2e36a44b598ad2989c207f950a89c02d987e00d
refs/heads/master
2022-12-09T20:38:15.421998
2018-07-01T12:03:12
2018-07-01T12:03:12
139,322,931
1
0
BSD-3-Clause
2021-06-10T20:31:09
2018-07-01T11:20:30
HTML
UTF-8
Python
false
false
828
py
# Generated by Django 2.0.6 on 2018-06-25 02:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('grafik', '0001_initial'), ] operations = [ migrations.AlterField( model_name='passenger', name='embark...
[ "alternative.xen@gmail.com" ]
alternative.xen@gmail.com
de1d862114c872e5f09b54b5e1dc31c7351e789c
bfbc51d48bcf63751eeefbb63fd1101d3eeca1c4
/2019/project1/group03/project/Classfication/wuyue/resnet.py
5dd1caabfdfbc1a619a6d3c24a62078164392968
[]
no_license
natibutu/deeplearning-math.github.io
b55cd1e6154f33db2b120003f1f0e487b9752d4d
a99407764f97291d351a618bb269dcd3b3294249
refs/heads/master
2023-01-30T11:27:18.038973
2020-12-16T11:46:59
2020-12-16T11:46:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,428
py
from torchvision.models.resnet import ResNet, BasicBlock import torchvision.models as models from torchvision.datasets import MNIST import time from torch import nn, optim import torch from torchvision.transforms import Compose, ToTensor, Normalize, Resize from torch.utils.data import DataLoader import os impo...
[ "yuany@ust.hk" ]
yuany@ust.hk
602b6ea6ed36b546890e8f441681e7990e44e120
8d792eaa59fd1426e371966263628531afa2c467
/financial_package/balance_sheet_ht.py
a9f7b70e5200658434bb932aeba7154ee85f1b40
[]
no_license
primalrun/ht_financial_package
34a9e5e1068c35fb672d66121ed5902c3203158f
a84743cfd363375a1610ec1a3d19b6549295dc03
refs/heads/master
2023-03-21T06:57:22.517368
2023-03-09T16:59:15
2023-03-09T16:59:15
102,786,603
0
0
null
null
null
null
UTF-8
Python
false
false
11,977
py
import sql_retrieve from dateutil import relativedelta from openpyxl.styles import Font from openpyxl.styles import PatternFill from openpyxl.styles import Alignment from openpyxl.worksheet.page import PageMargins from datetime import datetime from openpyxl.styles import Border from openpyxl.styles import Side ...
[ "noreply@github.com" ]
noreply@github.com
4ebd918ef0dd971e378472cae7901bbe42fafe04
da32fd6186b4b28feed4dd9ed8b2fbc5a2f8fcf5
/IDE/IDE_LAB_4/IDE_LAB_4/settings.py
c71db55ee0c1768277507d20a8d3c71804d22f47
[]
no_license
TUM-FAF/FAF-121-Gira-Dumitru
8ee6ab3bf68f83664fdbf6f0b07a39d3ab9443d3
bd7eb94696ebbd150ad398cba3d39e35af8e8272
refs/heads/master
2016-09-06T16:04:00.118676
2014-06-19T21:54:32
2014-06-19T21:54:32
20,217,960
0
4
null
null
null
null
UTF-8
Python
false
false
2,055
py
""" Django settings for IDE_LAB_4 project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) ...
[ "id1mka03@gmail.com" ]
id1mka03@gmail.com
1475ef4246f7fa53f3c62743eb184813f1ca00c7
a190758d4f8607d8f69ada74150c8eeefa0ff85b
/python/titanic_binary_tf.py
d907aea281e4361698747f3ad9125ec3ce7e2c2e
[]
no_license
MattSkiff/first_repo
b3d854426f2e257a790e39247693fc378d28dd57
a1b827c246771157ec8b260b1bb537ee888dee49
refs/heads/master
2021-06-19T19:35:02.758906
2021-02-16T03:27:40
2021-02-16T03:27:40
172,861,596
0
0
null
null
null
null
UTF-8
Python
false
false
5,729
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 10 16:13:50 2019 Script Template from Kaggle: https://www.kaggle.com/realshijjang/tensorflow-binary-classification-with-sigmoid/data @author: user """ import matplotlib.pyplot as plt import tensorflow as tf import os import numpy as np import pandas as pd import io import ...
[ "42245625+MattSkiff@users.noreply.github.com" ]
42245625+MattSkiff@users.noreply.github.com
62a0bd7737541d34762574cc5c6dea4df398ac9a
66a8a5fceaa748db9d6576f9bc4c407e8ef9190c
/tests/configsetup.py
23328b5a37935221515b73c080b481b2acae8755
[ "MIT" ]
permissive
pcollinson/nftfw
d0e954f044aea92285eaf7ee0d223a81367a0571
43e48d46089113e09c3a267c255d3102f3dddac7
refs/heads/master
2022-09-26T06:08:26.847154
2022-08-10T09:55:16
2022-08-10T09:55:16
252,955,811
31
3
null
null
null
null
UTF-8
Python
false
false
1,302
py
""" Setup the configuration file for the tests Using sys/config.ini But running using installed module """ from pathlib import Path from shutil import copytree import pytest from nftfw import config def config_init(config_file='data/config.ini'): """ Open config give it the test config file fina...
[ "11645080+pcollinson@users.noreply.github.com" ]
11645080+pcollinson@users.noreply.github.com
0f7952fa4f510a7389f26cd5d8bd47b03efbf014
da72d7ffe4d158b226e3b3d9aabe900d0d232394
/mlir/test/Integration/Dialect/SparseTensor/taco/unit_test_tensor_core.py
f6289e537ed130c0ddee468701653d8c6031e13d
[ "NCSA", "LLVM-exception", "Apache-2.0" ]
permissive
ddcc/llvm-project
19eb04c2de679abaa10321cc0b7eab1ff4465485
9376ccc31a29f2b3f3b33d6e907599e8dd3b1503
refs/heads/next
2023-03-20T13:20:42.024563
2022-08-05T20:02:46
2022-08-05T19:14:06
225,963,333
0
0
Apache-2.0
2021-08-12T21:45:43
2019-12-04T21:49:26
C++
UTF-8
Python
false
false
16,586
py
# RUN: SUPPORTLIB=%mlir_runner_utils_dir/libmlir_c_runner_utils%shlibext %PYTHON %s | FileCheck %s from string import Template import numpy as np import os import sys import tempfile _SCRIPT_PATH = os.path.dirname(os.path.abspath(__file__)) sys.path.append(_SCRIPT_PATH) from tools import mlir_pytaco from tools impor...
[ "bixia@google.com" ]
bixia@google.com
c1ab5fa5f7f00692f52740a91812acb31ab96c66
d7a10ebe8ccc583c517f3049c56d5d8a4710afe3
/code_new/public/parse_dbc_file.py
2cef014568419d2b65d33207984e33c03f351112
[]
no_license
hhxxss0722/double
624b68f4a0b068956d05f7ba5090a64a2cfa3c54
97c2e4217849f1f666e2454b54ac1c8781aa9170
refs/heads/master
2022-07-08T04:43:36.342822
2018-09-07T03:39:36
2018-09-07T03:39:36
147,653,679
0
0
null
2022-06-21T21:28:29
2018-09-06T09:55:26
HTML
UTF-8
Python
false
false
12,591
py
# -*- coding: utf-8 -*- """parseDBC module""" import re import chardet from public.sig_class import * from public.message_class import * from public.utility import * from public.formula_class import * _alarm_sig_prefix = 'alarm_' GROUP_SIG_LIST = [] valid_encode_list = ['ascii', 'utf-8'] # all_si...
[ "17991147@qq.com" ]
17991147@qq.com
8cbb7ad3b65c316f22beb9e3e318cc02fa185f83
d200ed5aeb8f6c4c94b2ec9cebe554a3f2c07979
/apps/day10/assign4/p1/p3/m3.py
20296766700d97ff0459ab260af72f52e6013395
[]
no_license
sanjaybalagam/summer_2019_gvp_balagamsanjay
d3b58fb6089ac3e540248d40e4c020e2f948c2f5
d32d14d25a16f4dd8eb312257b5d87cbc1d3c48b
refs/heads/master
2020-06-03T15:27:38.138419
2019-06-18T08:57:09
2019-06-18T08:57:09
191,628,779
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
import logging def f4(): logging.info('p1.m3.f4 info msg') logging.warning('p1.m2.f4 WARNING msg') logging.error('p1.m2.f4 ERROR msg') logging.critical('p1.m2.m4 CRITICAL msg')
[ "balagamsanjay@gmail.com" ]
balagamsanjay@gmail.com
a85936ec234127243476ed150e317b33f2431a3c
8f0aa0b8b8a9c9a8884fa6cb769ee34639e2f355
/lending_library/lender_profile/models.py
ea35d7bdcd283a51b6d3d6541fb9033377044c57
[]
no_license
datatalking/django-lender-401d7
3f9e2b46e73a0efd17c082b87edf4705ad7ddded
64eae040c4c778cb96e2dedbdb2de5dc2bc1223b
refs/heads/master
2020-03-11T17:16:31.631481
2017-11-30T23:11:14
2017-11-30T23:11:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class LenderProfile(models.Model): location = models.CharField(max_length=200, blank=True, null=True) user = models.OneToOneField(User, related_name='profile')
[ "nhuntwalker@gmail.com" ]
nhuntwalker@gmail.com
60c18c0038ece1c4e06fb7add77c2b69682bd187
04f542cb6b4764be4b1bda6323075b9c85df09b3
/my_blog/urls.py
2fcb962914298caefdddb49bd2aee1cccf7dc703
[]
no_license
rosekimani/django-assignments
7b95436c790db3dcce062d8eb903c373abc53156
e86e750238a7e1edc4072818ab5b191aeee83688
refs/heads/master
2021-01-01T18:10:39.106459
2017-07-25T06:29:59
2017-07-25T06:29:59
98,270,835
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
"""my_blog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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...
[ "rosekimani620@gmail.com" ]
rosekimani620@gmail.com
a1730b0036d7737aea484625171644187585d455
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5630113748090880_0/Python/Dog/mainB.py
8ad199a6e9d658b1e59232341d93ba4eca935dc0
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
793
py
#! /usr/bin/env python3 import sys def solve(numbers): counts = dict((n, 0) for n in set(numbers)) for n in numbers: counts[n] += 1 row = list() for (n, c) in counts.items(): if c % 2 == 1: row.append(n) return ' '.join(map(str, sorted(row))) #########################...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
3019ab1e786304658b31b6f2f4192e384f90c3ca
ea38af53a77a1731d9036446989977ca8e308ede
/elo.py
5feeab153bf9870a461e64926fcb2c137c41fc3e
[ "MIT" ]
permissive
bfish510/FootballEloTest
22566dbda5abc10c294c926ccaa91f80e8de9156
34ac16ecfbad9a6a5d00caceb5909b795911aca4
refs/heads/master
2020-12-24T18:03:15.026839
2013-11-24T11:49:37
2013-11-24T11:49:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,522
py
csvFile = open('data.csv', 'r') results = open('results.txt', 'w') teamRatingsFile = open('ratings.txt', 'w') ratings = open('ratingsGraph.csv', 'w') ratingsGraph = {} games = [] #bounds earliestYear = 2012 latestYear = 2013 postSeasonGames = True preSeasonGames = False regularSeasonGames = True useTeamFilter = Fa...
[ "billfischer510@gmail.com" ]
billfischer510@gmail.com
22e72773fe272aa2d6ff0d53342e794d05b4136b
83b1bd9bed68e65f1d2c3a24163255974b4d004f
/orbits.py
8fcf5cd4a2a41ae8c2f4d59ab9688167b9004381
[]
no_license
Sukkoria/laser_demoparty_cookie
b1d79c415b51126303a95f828cecc87a4491ee8a
bfda42cdebf6c5d7582da271b6ffdfc3e744c0aa
refs/heads/master
2021-05-02T09:54:44.783504
2018-02-08T16:53:41
2018-02-08T16:53:41
120,786,034
0
0
null
null
null
null
UTF-8
Python
false
false
2,281
py
""" Orbits generators by Sam Neurohack from /team/laser """ from globalVars import * import frame import sys, math, random class Orbits(object): def __init__(self): self.width = screen_size[0] self.height = screen_size[1] # elliptical orbit equation : r = (SemiMajorAxis*(1 -...
[ "sukkoria@gmx.fr" ]
sukkoria@gmx.fr
0480de31fa8374c05cecf776dc5f07449d15f22e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/2141.py
e328217501accf9709c862aaf76b4cc5c0f26338
[]
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
455
py
from string import maketrans import sys def trans(input): alpha = "abcdefghijklmnopqrstuvwxyz" trans = "yhesocvxduiglbkrztnwjpfmaq" transtab = maketrans(alpha,trans) return input.translate(transtab) if __name__ == "__main__": f = sys.stdin if len(sys.argv) >= 2: fn = sys.argv[1] if fn != '-': ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
4f9404a849c04d5312cfb48b53a1e301bdd2b199
b7a452f0748455a8965aeb5188ca7c2285be9cb6
/__temp_migrations/main/0010_auto_20210211_1224.py
1fd7feccf072d442d8948a4da3da4fd2fc653436
[]
no_license
CarlMenger/DP_Stefunko
1c4fb45a03965d8285b6d9ac36c1da88c30252fd
5491c9b3b506216cd230c164aff90ad0ea6a4e69
refs/heads/main
2023-03-08T16:24:19.443080
2021-02-25T14:41:06
2021-02-25T14:41:06
331,343,354
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
# Generated by Django 2.2.12 on 2021-02-11 11:24 from django.db import migrations import otree.db.models class Migration(migrations.Migration): dependencies = [ ('main', '0009_auto_20210209_2110'), ] operations = [ migrations.AlterField( model_name='player', name...
[ "56433847+CarlMenger@users.noreply.github.com" ]
56433847+CarlMenger@users.noreply.github.com
5326a03c579aa60eca70ccc490e2ce6b66223d77
15f0514701a78e12750f68ba09d68095172493ee
/Python3/488.py
2fe4101ca082c932b0960dd56c0a27563aed247f
[ "MIT" ]
permissive
strengthen/LeetCode
5e38c8c9d3e8f27109b9124ae17ef8a4139a1518
3ffa6dcbeb787a6128641402081a4ff70093bb61
refs/heads/master
2022-12-04T21:35:17.872212
2022-11-30T06:23:24
2022-11-30T06:23:24
155,958,163
936
365
MIT
2021-11-15T04:02:45
2018-11-03T06:47:38
null
UTF-8
Python
false
false
3,473
py
__________________________________________________________________________________________________ sample 28 ms submission class Solution: def findMinStep(self, board: str, hand: str) -> int: from collections import Counter balls_count = Counter(hand) return self.dfs(board,...
[ "strengthen@users.noreply.github.com" ]
strengthen@users.noreply.github.com
dd9ac21ba1fb5bced046fac8d050cf79d2b20897
fb28a622b21f5127c83c7fe6193b6312294b2dbe
/apps/order/migrations/0010_auto_20190729_0947.py
911a373cc6830572f340789dd65c5e59e26d2a0d
[]
no_license
laoyouqing/video
0cd608b1f9d3a94da4a537867fafce6f7dcd1297
9aa7ecf17f0145437408a8c979f819bb61617294
refs/heads/master
2022-12-19T11:02:01.343892
2019-08-21T04:00:13
2019-08-21T04:00:13
203,500,521
0
0
null
2022-12-08T06:03:17
2019-08-21T03:40:13
Python
UTF-8
Python
false
false
536
py
# Generated by Django 2.1.1 on 2019-07-29 01:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('order', '0009_auto_20190729_0941'), ] operations = [ migrations.AlterField( model_name='ordergo...
[ "lingo.lin@foxmail.com" ]
lingo.lin@foxmail.com
36e68e75428939a34c98673c61a39bd65ec6d328
211d936c72615bd6ce02eb953a1d918dca975e8d
/Data/Machine_Learning/fix-census-tract-strings.py
8d08a944c1a3b355eb2af63a7e58fc21765684df
[]
no_license
skortchmark9/stop-and-frisk
0eb4092e15c9906e6aa22c79177db3faab6552f1
9a8a479972657318d8e3276d91de74c60cad94cc
refs/heads/master
2020-12-08T16:21:09.402021
2015-05-13T04:38:58
2015-05-13T04:38:58
33,514,476
0
1
null
null
null
null
UTF-8
Python
false
false
579
py
import csv reader = csv.reader(open('clean-race-by-census-tract.csv', 'rU')) writer = csv.writer(open('full-race-by-census-tract.csv', 'w')) next(reader, None) for l in reader: fips = '{0:03d}'.format(int(l[0])) tract = '{0:06d}'.format(int(l[1])) writer.writerow([fips+tract] + l[2:]) reader = csv.reader(open(...
[ "alexa_van_hattum@brown.edu" ]
alexa_van_hattum@brown.edu