blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
f571d7fd74861a01016aa8d5246617c43b02e16f
311f21fb14439cc6d09b8dcc1ade0070303092a1
/slt_Code/change_detection_new/getExcelData.py
8feacc66bca9b23409259a64f4fc520b57613455
[]
no_license
janardangit/web_service
a1aeded8694ae78494b4a69d91b8cc16f37aeef3
6ca09d8b7b2e746e3c184f32e6bbb1e3be36bb86
refs/heads/master
2016-08-06T08:49:26.008001
2015-09-01T07:38:26
2015-09-01T07:38:26
41,724,349
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
#from openpyxl import Workbook, load_workbook import xlrd def __readExcelX(fname): #wb2 = load_workbook(fname) #sheets = wb2.get_sheet_names() #print sheets return def __readExcel(fname): wb = xlrd.open_workbook(fname) sheet = wb.sheet_by_index(0) sheets = wb.sheets() bookDict = {} ...
[ "tas@localhost.localdomain" ]
tas@localhost.localdomain
aafe85502a3639873aba5094ad36db7af8bc0de7
68a4c0522b3cec8458ec4d8fba032cb0e9cfcbbb
/data.py
a864b29370063d464c9d22194a97786fdd2aac17
[]
no_license
satorres1/Tarea4TI
80a7af4737cc8aa32ada31e206b29e5dc5f2b2bb
ade407c065bc33158371ff00f08b946a0766a3a6
refs/heads/main
2023-05-30T14:45:22.240451
2021-06-14T08:43:17
2021-06-14T08:43:17
376,757,759
0
0
null
null
null
null
UTF-8
Python
false
false
4,514
py
from gspread.models import Worksheet import requests import xml.etree.ElementTree as ET import pandas as pd import gspread import df2gspread as d2g from gspread_dataframe import get_as_dataframe, set_with_dataframe albania='http://tarea-4.2021-1.tallerdeintegracion.cl/gho_ALB.xml' nueva_zelanda='http://tarea-4.2021-1...
[ "satorres1@uc.cl" ]
satorres1@uc.cl
731934b122d5bcdc8e8a9343a05eec4b8e5f89b4
727f1bc2205c88577b419cf0036c029b8c6f7766
/out-bin/py/google/fhir/models/model_test.runfiles/com_google_fhir/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/signal/python/ops/window_ops.py
1ba1a5a2ec5ddd557b4b98870ad7721d7904c398
[ "Apache-2.0" ]
permissive
rasalt/fhir
55cf78feed3596a3101b86f9e9bbf6652c6ed4ad
d49883cc4d4986e11ca66058d5a327691e6e048a
refs/heads/master
2020-04-13T00:16:54.050913
2019-01-15T14:22:15
2019-01-15T14:22:15
160,260,223
0
0
Apache-2.0
2018-12-03T22:07:01
2018-12-03T22:07:01
null
UTF-8
Python
false
false
191
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/signal/python/ops/window_ops.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
eff87214ef891dd2b1e40fed52039191e02f5b3d
c8e5d2aa94b21a2102213176ff7cbeeb93dca89b
/multilayer_p_project1/classifier.py
f04438fd5c2eb2e1bfc1b65c31e3639cc1d8c43a
[]
no_license
jurajmaslej/neuronky
c67348e0606bd6e7bac78b19940eadda8ab2d530
6bbb55cd8d913a772b5aa3d18b0b63355cd986c8
refs/heads/master
2020-03-19T00:40:37.131584
2018-07-02T20:54:45
2018-07-02T20:54:45
135,496,040
0
0
null
null
null
null
UTF-8
Python
false
false
5,890
py
import numpy as np from mlp import * from util import * import data_handler class MLPRegressor(MLP): def __init__(self, dim_in, dim_hid, dim_out, validation_data, validation_label): super().__init__(dim_in, dim_hid, dim_out, validation_data, validation_label) ## functions def cost(self, targe...
[ "juraj.maslej@gmail.com" ]
juraj.maslej@gmail.com
0f78526bcafec34871cd9dace8e966cf5eb716ac
cf5077d06c5145d93b44c0c00bb93f93fbf4d59d
/static_page/middleware.py
b9781cdb1dd5bc55c28f71d93a202db0d403174c
[]
no_license
su-danny/famdates
16a9ee01d259c9978278415943d918fd47bdfc9e
301cf997985172c146d917c832390e0db57c03c5
refs/heads/master
2016-08-06T18:17:30.345319
2014-03-11T10:34:31
2014-03-11T10:34:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
from static_page.views import static_page from django.http import Http404 from django.conf import settings class StaticpageFallbackMiddleware(object): def process_response(self, request, response): if response.status_code != 404: return response # No need to check for a flatpage for non-404 re...
[ "su-tn@simpleunion.com" ]
su-tn@simpleunion.com
9e022ee4eb24c50cf3826993896166dd171db0fa
aba0055290156515e6befc47d06183dee2663aec
/tensorflow2/tf2cv/models/pnasnet.py
42c4d3657a4aec53bc30e3f77e60430c214ba3da
[ "MIT" ]
permissive
piyop/imgclsmob
f320aeb4675be57042cf661190e19d9299d46731
780dc56eddc95ce58c34eb6f6e48d2fb4c566571
refs/heads/master
2022-11-05T17:34:34.076150
2020-06-26T12:06:16
2020-06-26T12:06:16
275,135,197
1
0
MIT
2020-06-26T10:59:46
2020-06-26T10:59:45
null
UTF-8
Python
false
false
23,517
py
""" PNASNet for ImageNet-1K, implemented in TensorFlow. Original paper: 'Progressive Neural Architecture Search,' https://arxiv.org/abs/1712.00559. """ __all__ = ['PNASNet', 'pnasnet5large'] import os import tensorflow as tf import tensorflow.keras.layers as nn from .common import MaxPool2d, conv1x1, flatten...
[ "osemery@gmail.com" ]
osemery@gmail.com
45c3da155377e5eb40278aa304fefbe65f4e8e04
ac2142d192bde034ae3c6d7e07045c39d9a34aa3
/面试题/打乱一个排好序的list对象alist.py
2ce47af69449852469742a5d2902fec7d4baacc3
[]
no_license
budaLi/-500-
ee33a93a6c7f7d36e30a29dd1e12634034712d12
69c42389717f003198f652035bfc922eac8a6fef
refs/heads/master
2022-11-20T08:42:24.255264
2020-07-22T07:41:52
2020-07-22T07:41:52
281,352,944
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
# @Time : 2020/7/22 15:12 # @Author : Libuda # @FileName: 打乱一个排好序的list对象alist.py # @Software: PyCharm list = list(range(1,100)) import random def shuffle(list): # 要注意 不会返回 random.shuffle(list) return list if __name__ == '__main__': res = shuffle(list) print(res)
[ "1364826576@qq.com" ]
1364826576@qq.com
28c8ccf78fb493260749111e0f7eaf2d01e32a19
8767c6db0699133e96447f56624dadb9eb89ef32
/Leetcode/Factorial Trailing Zeroes.py
eac9d8fd54aa18ad4ab426a8ff54e14fef7191ef
[]
no_license
ran0527/Coding
8667f34e568fa16e38d5050be0d1f9f892b1051f
e613aea74c43274793653eb160b36b12db1fb605
refs/heads/master
2021-01-10T05:37:53.348116
2015-12-01T21:54:04
2015-12-01T21:54:04
45,228,996
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
class Solution(object): def trailingZeroes(self, n): """ :type n: int :rtype: int """ i = 5 result = 0 while n >= i: result += n / i i *= 5 return result
[ "lindashi527@gmail.com" ]
lindashi527@gmail.com
db786b96b9bd2c680d18def2be8b505743bdebec
715239e1d30f384ec040fe0cd49053252420ec15
/exampleSite/local_public.py
2a365d6d0a38cedee9b0fcc0fabbbd435763b537
[ "MIT" ]
permissive
brangpd/hugo-xmin
cac3dfec737e3621f4b06b25931876990d651e6c
08264a4a30d6bf2fc08a9e89309892d3b5ceb604
refs/heads/master
2023-08-18T14:13:53.689813
2021-10-12T04:51:12
2021-10-12T04:51:12
284,719,103
0
0
MIT
2020-08-03T14:16:18
2020-08-03T14:16:17
null
UTF-8
Python
false
false
205
py
import os import tempfile def get_local_public_dir(): return '{tempdir}{sep}{public}'.format( tempdir=tempfile.gettempdir(), sep=os.path.sep, public='hugo_local_public' )
[ "brangpd@outlook.com" ]
brangpd@outlook.com
7faf1390cd057e273a7e64857234173695677762
3aafaa865594aa58d056a79fdae4d0658774d3ab
/setup.py
eede62ba499ebbc973b5357cc960f237d47318d5
[ "Apache-2.0", "MIT", "Intel" ]
permissive
asamarah1/lpot
56aac0d46692e1864de2f06390ab435cd079e741
881bde402db387b04c2f33cc96fb817f47c4d623
refs/heads/master
2023-01-20T15:55:39.088923
2020-12-01T13:22:59
2020-12-01T14:25:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,520
py
from io import open from setuptools import find_packages, setup import re import sys try: filepath = './lpot/version.py' with open( filepath ) as version_file: __version__ ,= re.findall( '__version__ = "(.*)"', version_file.read() ) except Exception as error: assert False, "Error: Could not open '...
[ "feng.tian@intel.com" ]
feng.tian@intel.com
200fcefe0011f3bc6221235c3a84e460fd5bf3aa
fee22561b220389e14a5ba3c09d5795b92299e64
/article/migrations/0003_auto_20160325_1638.py
df39a190f838a857549b956e6a4eb772dd7af8fc
[]
no_license
zionchao/myhome
88687e369e24456eaab983c415d554bf64e15799
38343f9cc6c928f9622565a2c909b96b7e0942e3
refs/heads/master
2021-01-10T01:48:44.846660
2016-03-31T07:13:00
2016-03-31T07:13:00
54,965,012
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('article', '0002_auto_20160325_1621'), ] operations = [ migrations.AlterField( model_name='classification', ...
[ "zhangchao_a@sz-zhangchao-a.aspire.aspire-tech.com" ]
zhangchao_a@sz-zhangchao-a.aspire.aspire-tech.com
4c1b490c17b1790112416a464aac3b5646a91ef4
5ae8e983ec6159c82d6551ff8333ebe4ead3526d
/Hangman_Game/hangman.py
0526f1e36af3123952698f8a264bcbd17b97b377
[]
no_license
karan-47/turtle-python
0aa7d0ed9d66671a73d196a31f1b8a7fcf526239
70319407298b1721a98a5fe2a026dcc483d5a1f9
refs/heads/main
2023-04-10T10:32:09.402686
2021-04-25T15:01:11
2021-04-25T15:01:11
361,450,698
0
0
null
null
null
null
UTF-8
Python
false
false
3,849
py
import turtle alphabets = [] answer = "" current = "" guessedanswer = [] count = 10 clearedlist = [] isGuessed = False display_turtle = turtle.Turtle() display_turtle.hideturtle() display_turtle.speed(0) display_count = turtle.Turtle() display_count.hideturtle() display_count.speed(0) turtle.tra...
[ "noreply@github.com" ]
noreply@github.com
a0ff3272428bf429d2bdb5f83aef3f90e3f4a975
878365a0283fb353bf82b561e9004652b50c84bc
/SPN-DAG Project/Important/src/kNN.py
971ea003544a53de65c8e7497c8974e785472a0f
[ "BSD-3-Clause" ]
permissive
atcbosselut/spn-discriminative
7e844b97f38c607d4da9d5b5c8878042a45f98c0
9baca470dc17079bbbb1ec8c6426cb1ee7163373
refs/heads/master
2021-01-19T07:29:44.702944
2017-07-03T18:42:21
2017-07-03T18:42:21
28,318,902
0
0
null
null
null
null
UTF-8
Python
false
false
2,437
py
from __future__ import division import numpy as np import scipy as sp from scipy import linalg import cPickle import random as rd import SPN import Nodes import Tensors import Data import time import sklearn.neighbors as sk #Set Hyperparameters ...
[ "antoine.bosselut@gmail.com" ]
antoine.bosselut@gmail.com
7ab0180b3df108a22aee4895e8a24eeca98b83b3
8a43bcad26f266dab04b3430bb83c8ebe822bfd9
/기초알고리즘/조합,순열_알고리즘/combinations.py
11631f14ca49c05429dd376fbb4d507d783a0a0e
[]
no_license
Ha-Young/algorithm
e80b3b4dafc4f55bbfc38fb4f356c316d9307618
376a4f23d92d52ac30cd3817a37fb137c657a4af
refs/heads/master
2022-06-24T12:00:04.440801
2020-05-07T14:42:27
2020-05-07T14:42:27
250,194,650
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
# 조합 알고리즘 # 제네레이터 사용 def combinations(arr, r): for i in range(len(arr)): if r == 1: yield [arr[i]] else: for next in combinations(arr[i + 1:], r - 1): yield [arr[i]] + next combi = combinations([1,2,3,4,5],3) print(list(combi))
[ "hayeong28@naver.com" ]
hayeong28@naver.com
6667031e2bc9b493017b306fe5752e9c86966c61
bed0735d6e067d7d1491d463acf2409374abcd79
/content/migrations/0013_auto_20170529_0350.py
3d366602d69096a4f9b5cc30ea90f04a8a197eef
[]
no_license
bitapardaz/magia_wifi
9ba515c3e162989280336f214788bb4577b45bac
282978a64586af2486580ac56238aed3b35582f7
refs/heads/master
2021-01-22T23:05:28.511187
2017-05-30T04:13:00
2017-05-30T04:13:00
92,797,045
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-05-29 03:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('content', '0012_category_file_path'), ] operations = [ migrations.RemoveFie...
[ "pourranjbar.ar@gmail.com" ]
pourranjbar.ar@gmail.com
f655308c6590a8d2eec45dc2d83e1818e2d5ee36
c839bb0899fb6665f59e8ce8644d094035f3d3bc
/thomas/edsurface.py
b9d7010135378c14a9558ea623888256ac91f27f
[ "Apache-2.0" ]
permissive
ThomasDerZweifler/pyPro
53467f029c9ca057e546b2d74766927fd1657cf3
8bc6531483f08982b19c08a4cdb1a0c9dbd03737
refs/heads/master
2023-03-17T13:58:13.813111
2021-03-28T09:30:59
2021-03-28T09:30:59
280,870,639
0
1
null
null
null
null
UTF-8
Python
false
false
615
py
import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax = fig.add_subplot(111, projection='3d') # Create the mesh in polar coordinates and compute corresponding Z. r = np.linspace(0, 1.25, 50) p = np.linspace(0, 2*np.pi, 50) R, P = np.meshgrid(r, p) Z = ((R**2 - 1)**2) # Express the mesh in the car...
[ "thomasfunke71@googlemail.com" ]
thomasfunke71@googlemail.com
0440e6fe39352fb099147feba38f8f2123481e02
d1601687464225857b492f4b5009283932f91e2f
/student/urls.py
fc0f3c7e7bec0f53a5dc149d4e925f11c030978d
[]
no_license
Barolina/mp_06_08
010a4906153c297f21098ef90811dba1f1aacc0b
0f3e30ccb8fe178f11918836d958533365a1d99a
refs/heads/master
2021-06-28T20:09:38.345537
2017-09-19T08:50:55
2017-09-19T08:50:55
103,932,600
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# -*- coding: utf-8 -*- from django.conf.urls import url, include from django.contrib import admin from django.views.generic import TemplateView from material.frontend import urls as frontend_urls from student.views import AddStudentWizard, FORMS, StudentsView urlpatterns = [ url(r'^addstudent/$', AddStudentWiz...
[ "kittenlora@yandex.ru" ]
kittenlora@yandex.ru
28d8b073824c0f7153f5892108c1e04a83927893
086ab7897780542bb26b46fa10cd42e31319e496
/Marcas/Examen Marcas/Funciones.py
f5257464c8f77b277760462293841e5eb509cda6
[]
no_license
alexrr12341/1ASIR
2d75bffbaaabb773cf8f38e6f222889423c64387
5d148a30ebafce452957ada842e2511fae40fbbe
refs/heads/master
2021-07-22T19:30:18.646010
2021-07-10T09:16:36
2021-07-10T09:16:36
189,486,719
1
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
'''Nombre:Alejandro Rodríguez Rojas 1) Queremos gestionar los precios en un supermercado para ello vamos a crear dos pequeñas funciones: CalcularPrecio: Esta función recibe el nombre de un artículo, su precio y la cantidad que ha comprado el cliente, y devuelve el precio final. Para realizar el cálculo tenem...
[ "alexrodriguezrojas98@gmail.com" ]
alexrodriguezrojas98@gmail.com
b7fc81ac1762dbaa2af2112824262c538c6a3aaa
ea713b507484d485bfce58a5869e069fc679cce2
/Interpolation/0.2_convolutionMamba.py
37d55aacde51c4b51afd9e55b40b54aeb65ffdad
[]
no_license
TPhilippon/SATELITIMEscripts
e689bc83f5c71600c69beca82d40bf73b7ed05bc
5e97e21cccd9b335dc3b3926293798cb6880f8db
refs/heads/master
2020-12-24T18:23:18.544761
2016-06-06T13:44:38
2016-06-06T13:44:38
57,040,095
1
1
null
null
null
null
UTF-8
Python
false
false
4,376
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 26 14:55:40 2016 @author: terencephilippon """ import os,sys #from pyhdf.SD import SD, SDC from pylab import mpl as mpl from mpl_toolkits.axes_grid1 import make_axes_locatable #from netCDF4 import Dataset import matplotlib.pyplot as plt import numpy as np import scipy...
[ "terence.philippon@sfr.fr" ]
terence.philippon@sfr.fr
df1d2d6e5379d791010f6961de52b537702755ee
fa8c6888e3ccd25a605c971c9e2345cd5ce3d4b2
/FTacv_experiments/dispersion_class.py
28f5f0896ef19ec59e10fd7921f3f5ffee5509fd
[]
no_license
HOLL95/FTacV_2
c48b4c1827e2b58e5d4e519dae5df4b6db4077bd
e8e7dab1bbc7b6e2c62c3777b9de169593a5d586
refs/heads/master
2022-12-08T20:42:01.955678
2020-09-24T15:51:33
2020-09-24T15:51:33
179,301,880
0
0
null
null
null
null
UTF-8
Python
false
false
6,994
py
from scipy.stats import norm, lognorm import numpy as np import itertools import copy import math class dispersion: def __init__(self, simulation_options, optim_list): self.simulation_options=simulation_options if "dispersion_parameters" not in self.simulation_options: raise ValueError("...
[ "henney@clpc451.cs.ox.ac.uk" ]
henney@clpc451.cs.ox.ac.uk
38b714655a56fb14337d07fc43bdf153b0262b4c
63cf47ff7a2bf9b1c73d1874dc7182473e392d95
/0x08-python-more_classes/0-rectangle.py
28abf4d9dd6dafd5a69920366300443bcc6db82a
[]
no_license
paurbano/holbertonschool-higher_level_programming
cddbf9fd7145e3ba059df3d155312e0d9845abea
2c055b5240ddd5298996400d8f2a7bc4d33c0ea4
refs/heads/master
2020-09-29T04:14:33.125185
2020-05-16T05:18:42
2020-05-16T05:18:42
226,903,807
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
#!/usr/bin/python3 class Rectangle(): '''empty Class that define a rectangle''' pass
[ "paurbano@gmail.com" ]
paurbano@gmail.com
14853ce04e6da9955110846824a06e6f747aa1ca
f7719066ca2e8abdfc38e69d3747ffabe62d774a
/project/misc/baby_bakrepo/experiment_N_SECONDS_SPLIT/mfcc_0.0.py
f80ce7286dada090af02916c8ee4a8e70934572b
[]
no_license
wubinbai/2020
2ca5dfaee85d80621631ed034135429daf7bc025
bd99f5cf495f8a17532c1939aef7782b7f8e629f
refs/heads/master
2021-08-15T18:51:19.036470
2021-07-24T09:14:29
2021-07-24T09:14:29
231,207,351
0
0
null
null
null
null
UTF-8
Python
false
false
10,403
py
import numpy as np import config as cfg ## data_all.py imports import os import wave import librosa import numpy as np from tqdm import tqdm import pickle as pkl import librosa from sklearn.preprocessing import normalize import config as cfg ### end of data_all.py imports ### functions of data_all.py def extract_logme...
[ "wubinbai@yahoo.com" ]
wubinbai@yahoo.com
32fcd8b993858d0113216f757fc9230001723120
1b59d3bcc76401d86a0ea0d0e9cb60ccf9f6de5b
/test/py/test_parsemd.py
6a78290a1abbab3a2e3d5aa3a7b2cae63f7346ac
[ "Apache-2.0" ]
permissive
uogbuji/versa
baebe45018abed103eafdc1246d121cf7ae1907e
9fd34102d6c04eba8890c5bba1bcbfccecda097c
refs/heads/master
2022-05-09T11:16:51.960946
2022-04-19T15:37:41
2022-04-19T15:37:41
17,493,493
8
2
Apache-2.0
2022-04-12T16:02:19
2014-03-06T21:36:26
Python
UTF-8
Python
false
false
3,366
py
import os import logging from versa import I from versa.driver import memory from versa.serial import literate from versa.driver.memory import newmodel VERSA_BASEIRI = 'http://bibfra.me/purl/versa/' VERSA_LITERATE1 = """<!-- Test Versa literate model --> # @docheader * @iri: * @base: http://bibfra.me/vocab/ ...
[ "uche@ogbuji.net" ]
uche@ogbuji.net
7237aa4a102bc3d588885c99560fa78789531184
31226e1b0400dd5435ce91cf8602eb6858c2e1bc
/make_trajectory_graphic.py
3b8e4583538ba05d4f9cf976c69eb98096477461
[]
no_license
fmailhot/acq_evo_vh_phd
f14cb337b109e2cc9b244d0ffed9e2c985545213
c2312c5aac52790ac12a661cc011b652f76064c5
refs/heads/master
2021-09-28T09:51:22.905304
2018-11-16T14:56:37
2018-11-16T14:56:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,556
py
#!/usr/bin/python import sys from LIbPhon import LIbPhon from matplotlib import rc rc('font', **{'family': 'serif', 'serif': ['Palatino']}) import pylab as plt params = {'backend': 'ps', 'legend.fontsize': 14, 'xtick.labelsize': 14, 'ytick.labelsize': 14, 'text.usetex': True} plt...
[ "fred.mailhot@gmail.com" ]
fred.mailhot@gmail.com
2fbe178a8e92eaa3d97e9be259350bba2545582d
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_118/2987.py
8932bed90c351ccec4bf80077cad58a7b656c257
[]
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
831
py
from math import * import fileinput def isPalindrome(n): t = n r = 0 while(n > 0): r = r*10 + n%10 n = n//10 if(t == r): return(1) else: return(0) fairAndSquare_memo = {} def isFairAndSquare(n): if n in fairAndSquare_memo: return fairAndSquare_memo[n] if(isPalindrome(n) and modf(s...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
18fd2025d50c8970a17a74adb3741a9ec3e2e6e3
1fdeb21f10e99e4ce52da5d1a51a12ab78af6261
/send_mail.py
17b9c06d093569632160c3fb5dcb4c25ebc60968
[]
no_license
techgirlariin/scraping-stocks
8f040e8cf309387deae70fb122139abce567ecea
85dbc1c5afef5670c319239ee8993af8c723f068
refs/heads/master
2022-12-01T13:56:27.240277
2020-07-27T14:09:45
2020-07-27T14:09:45
282,904,164
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.base import MIMEBase from email import encoders from_add='aradhanapradhan27@gmail.com' to_add='aradhanapradhan55@gmail.com' subject = "Finance BY Aradhana" def send(filename): #header msg= MIM...
[ "aradhanapradhan27@gmail.com" ]
aradhanapradhan27@gmail.com
89cbf924f90063217548abf38a8aae1c32aa5837
b6b08275f058b8c4cad0a2dc37cb061fe1c776ba
/collective/leadingmedia/indexers.py
f5b531f14f5c832e64d14751be388b0f3a70d6b1
[]
no_license
intk/collective.media
0d4b07e9390bd896b1d9e5664094f667a72b0aad
3336946d2aeace8110ac305e81e9f98d62861f70
refs/heads/master
2021-01-19T05:19:39.039670
2014-11-07T11:25:14
2014-11-07T11:25:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
# Handling indexes from plone.indexer.decorator import indexer from collective.leadingmedia.interfaces import ICanContainMedia from plone.dexterity.interfaces import IDexterityContainer from plone.app.contenttypes.interfaces import ICollection, IFolder @indexer(IDexterityContainer) def hasMedia(object, **kw): ret...
[ "andreslb1@gmail.com" ]
andreslb1@gmail.com
52756449b9d37312fca86c6bc3c3f3aacfb0fdab
dbf137f3e42c3f963c7e02a7581bc56375900420
/Analysis/_scp_lpc.py
3fb039d449412804217a6d75a399ca39bf4549dd
[]
no_license
abdollah110/BoostedHTT
41dcc31ea864e0595441e981befc103caf9b6d84
55536aa0631f8423776080dc3ed7486f73408f47
refs/heads/master
2023-08-22T16:59:28.946116
2020-08-19T12:37:54
2020-08-19T12:37:54
181,378,000
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
import os import sys for i in sys.argv: print i os.system('scp %s cmslpc26.fnal.gov:/uscms_data/d3/abdollah/Analysis/Limit/CMSSW_8_1_0/src/auxiliaries/shapes/'%i)
[ "smohamadi@gmail.com" ]
smohamadi@gmail.com
32144e38a4a3e556fc65dad9a3425e538831844e
19564fe219ff687d5190f58edeb01887ed65091e
/pytrap/pytrap-data-access.py
8cd4e9e9399c1b6abd1ea0df40c33680a94fdf00
[ "BSD-3-Clause" ]
permissive
krkos/Nemea-Framework
24be5f1de43df0083ea6b2ab81329a6e583f2633
f9c3265724649968cdc260c3c4c4fbd548b304ff
refs/heads/master
2021-08-28T21:00:02.661192
2021-07-30T16:22:34
2021-07-30T16:22:34
245,998,946
1
0
null
2020-03-09T09:53:50
2020-03-09T09:53:50
null
UTF-8
Python
false
false
803
py
# coding: utf-8 import sys import pdb import pytrap ctx = pytrap.TrapCtx() ctx.init(sys.argv) ctx.setRequiredFmt(0) print("\nReceiving one UniRec message") try: a = ctx.recv(0) except pytrap.FormatChanged as e: fmt = ctx.getDataFmt(0) rec = pytrap.UnirecTemplate(fmt[1]) a = e.data del(e) print(rec...
[ "cejkat@cesnet.cz" ]
cejkat@cesnet.cz
7ec24322e91532daee50c59e27c003388a072525
eb85c96c3783be407b396956c13448d89f5e5fee
/building_more_python_design_patterns/7-python-design-patterns-building-more-m7-exercise-files/Composite/tree.py
db30708f1df216f30dbfb95537eec7637c234eb6
[]
no_license
ForeverDreamer/python_learning
83c2c290271dbf060ee1718140b8dfd128b82b20
ff905c4811ddb688f8ee44aed8c4d8067db6168b
refs/heads/master
2022-04-30T03:23:45.162498
2019-07-05T07:55:01
2019-07-05T07:55:01
181,037,513
1
0
null
2022-04-22T21:12:46
2019-04-12T15:41:44
Jupyter Notebook
UTF-8
Python
false
false
627
py
from collections import Iterable from functools import reduce from datetime import date from abs_composite import AbsComposite class Tree(Iterable, AbsComposite): def __init__(self, members): self.members = members def __iter__(self): return iter(self.members) def get_oldest(self): ...
[ "499361328@qq.com" ]
499361328@qq.com
1985108aa2ca37b00d6a95e9161685201a33adbc
03c42654c3fedca05a4627b8b6a228af9725bb88
/myproject/geno/admin.py
3e1862b9a2269245dcc0bb3fd0a82150d4f29cab
[]
no_license
ftconsult/geno
091c6848fe7316d6357a76e752b1f8baeca30145
794753f24b906def87ce85612ee8bb827dcc3430
refs/heads/master
2021-01-19T00:43:15.027690
2013-03-20T01:27:55
2013-03-20T01:27:55
8,880,236
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
import models from django.contrib import admin from myproject.geno.models import Nodo, NodoLog class NodoAdmin(admin.ModelAdmin): list_display = ('year_born','nombre','a_paterno','a_materno') search_fields = ('nombre','a_paterno','a_materno') admin.site.register(Nodo,NodoAdmin) admin.site.register(NodoLog)
[ "ferrerdallas@gmail.com" ]
ferrerdallas@gmail.com
3469bc511211215a25b8bff121d757849742b955
e23236b63dbcd74767ba2da627b2e0490faf45e9
/naanalmart/seller/migrations/0001_initial.py
17c9b8f9d23e38f1d1eb2ce21745027eff2b695c
[]
no_license
JanardhanReddyMeeniga/project
d964c738b3da5244c82887a7b272a7408f29864b
3d2b4ee55e5ea654d92ac27e946273d88a0317a4
refs/heads/master
2021-01-11T13:36:12.515735
2017-06-21T13:05:26
2017-06-21T13:05:26
95,003,898
0
0
null
null
null
null
UTF-8
Python
false
false
2,131
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('auth', '0006_require_contenttypes_0002'), ] operations = [ migrations.CreateModel( ...
[ "meenigajanardhanreddy@gmail.com" ]
meenigajanardhanreddy@gmail.com
4cae035dc2efad2ff69323b90c19e2423188273c
38aa92a75a52d17eb78705aa1e514a98f6ea16e5
/oldboyedu/memtest.py
1157611a4dc2ae486cb7383de7b2912e55db9ef5
[]
no_license
roguewang/python
89acc3e869a8ec372a298f7de86ed8ceec8fe6b7
0f3e9edb65d67d43c827d6d75325fb1dfcf8c124
refs/heads/master
2020-07-02T08:55:19.646488
2018-12-07T04:31:19
2018-12-07T04:31:19
66,704,129
1
0
null
null
null
null
UTF-8
Python
false
false
185
py
#!/usr/bin/env python # Author:rogue def fun(name1): print(name1) name1 = input("函数内的赋值:") print(name1) name = input("press any word:") fun(name) print(name)
[ "181668913@qq.com" ]
181668913@qq.com
42e034bc50a68991d35c7521feb74d490e5d4ff4
f66c0484ba5ad176fb006287a58fbcc824d58500
/14 - 236A - Boy or Girl.py
d6d56afcd22832322c9bbfc3ff313853aa3a9791
[]
no_license
love1024/codeforces-journery
a9388f2bb5d2fab6e89638e715120b3c2c219609
b7c121486f7e4ff132eb3bbf57200d3a95b8a668
refs/heads/main
2023-03-12T01:57:46.948788
2021-03-06T18:31:40
2021-03-06T18:31:40
323,282,208
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
""" Problem: http://codeforces.com/problemset/problem/236/A """ def solve(): # Take string input and convert to set and check even or odd string = input() if(len(set(string)) % 2 == 0): print("CHAT WITH HER!") else: print("IGNORE HIM!") if __name__ == '__main__': solve()
[ "kaler1024@gmail.com" ]
kaler1024@gmail.com
c72ec5d5e9f00aa58651292a079e78452986823d
ff1f833b6c8b7ac83213c1a517d2830104e75b64
/FlattenedFiles.py
f026b1bce28c742d85039dcb7f2b19593fcf328c
[]
no_license
rorymulcahey/MathSystems
215b5ca607172c118c863186c064e1333120c135
68c8580f5f012f402b40c69ac7c947a1c100a1ea
refs/heads/master
2020-03-17T08:25:41.159814
2018-06-04T16:33:14
2018-06-04T16:33:14
133,437,928
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
''' Flattened Files: string[] GetAllFiles(string[] paths, string rootPath) Given some array of file. Give a function that returns all paths with the given root path. '''
[ "34317184+brickrop2@users.noreply.github.com" ]
34317184+brickrop2@users.noreply.github.com
d2cf15d94e7122584dd7596ee2ce7b1ef5ff1eac
fb9f01b6200bd2576acf2d6ffd5782f91af995e6
/django_project/settings.py
453b88b44a55c18fb5035aa899912ab2a140c2db
[]
no_license
bigsandip/Django_Blog
5bc8277a1efa30c0efa8c6faf0038725a11f5b3d
a7181f6cd0554e5608250ec1c34ca69f3bcc8364
refs/heads/master
2022-11-24T12:56:52.948405
2020-01-02T15:10:47
2020-01-02T15:10:47
229,528,606
3
0
null
2022-11-22T04:56:27
2019-12-22T06:38:14
Python
UTF-8
Python
false
false
4,040
py
""" Django settings for django_project project. Generated by 'django-admin startproject' using Django 3.0. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import ...
[ "bigsandip@gmail.com" ]
bigsandip@gmail.com
1162fae836ec236f0544189549a2863490f0fc0c
bff3053fcc40995bbd8c8bf251042ada99d15427
/re Module - How to Write and Match Regular Expressions (Regex).py
6960e617c405862d01e742ef55bd6224d3deee8b
[]
no_license
iampaavan/Pure_Python
e67213eb42229614517c249b4f5b0a01c71c8ce9
e488b05ea526ab104ebc76a8e5e621301bed8827
refs/heads/master
2020-04-27T23:10:48.482213
2019-06-30T19:32:08
2019-06-30T19:32:08
174,765,589
1
0
null
2019-04-21T01:39:53
2019-03-10T01:39:13
Python
UTF-8
Python
false
false
1,750
py
import re text_to_search = ''' abcdefghijklmnopqurtuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 1234567890 Ha HaHa MetaCharacters (Need to be escaped): . ^ $ * + ? { } [ ] \ | ( ) paavan.com 321-555-4321 123.555.1234 123*555*1234 800-555-1234 900-555-1234 Mr. Schafer Mr Smith Ms Davis Mrs. Robinson Mr. T ca...
[ "noreply@github.com" ]
noreply@github.com
25fc4fe9e428fa70179a9f3a6a69991b043f20bc
c8d652dca4ca71e32482eefe17aeb9cf1d0b2b59
/practice/contagions/Hypergraph SI SIS SIR/SIR/Hypergraph_SIR_CP.py
2bac3efcb9592e5a31308583501ce7660fc1a869
[]
no_license
chqlee/Hypergraphs
6701e7273f35c0fcb32b4dd26138d4145c738669
42026f77b758168d59bc1d11ae643a5cadc7ce0d
refs/heads/master
2023-07-12T16:42:25.552346
2021-08-12T11:43:30
2021-08-12T11:43:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,422
py
# @Title : 超图上的传播 # @Author : tony # @Date : 2021/8/5 # @Dec : CP strategy import pandas as pd import numpy as np import matplotlib.pyplot as plt import time import random from tqdm import tqdm def constructMatrix(): """ 构造超图的点边矩阵 :return: 超图的点边矩阵 matrix """ matrix = np.random.randin...
[ "793715596@qq.com" ]
793715596@qq.com
d2d8c5342f11ff8d50bfa0ea3c1cc6e60990afbf
e0b47c8d885e43fb61a29320c83a85211c0389b3
/bio1/freq_with_mismatches.py
4c3f057f2601993b5452f4901cb171ac7a292877
[]
no_license
mdk2029/rl
f3e2ddad33b4045e0391baea1e3ca4edd91329a8
00be11906e63c47280f65c7c0d4ed9124a8946d5
refs/heads/master
2020-03-11T07:03:59.735123
2018-05-02T02:34:49
2018-05-02T02:34:49
54,302,264
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
import sys from freqArray import patternToNumber, numberToPattern from base import complement,hamming_neighborhood def freqarray_with_mismatches_reverse(genome,k,distance): all_kmers_freq = [0]*(pow(4,k)) max_freq = 0 for idx in xrange(0,len(genome)-k+1): for current in [genome[idx:idx+k], complem...
[ "mdk.2029@gmail.com" ]
mdk.2029@gmail.com
d30edb238944fcda7e202e56d3cdb666786c310f
10542df4e26a9553cad3bb973b746eebaf1cffdb
/relationship_extraction/binary_classification_rel/f1_binary_classification_rel.py
cd2c6070ffa32d7265736978e1ec60d5f3bdea38
[]
no_license
taotao033/information-extraction-baseline2.0
87ef4971a0ea364a55194106d8777f588bd4ad46
a788c8b8d1bd06f33d6bd4da1ae0fbe68087d0b3
refs/heads/master
2022-01-16T13:06:40.583319
2019-05-16T10:33:37
2019-05-16T10:33:40
186,995,416
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
from sklearn.metrics import f1_score, precision_score, recall_score, classification_report import numpy as np gold_file = './runs_logs/2019514/dev_gold.txt' prediction_file = './runs_logs/2019514/logs/predictions.txt' ture = [] with open(gold_file, 'r') as gold_f: for line in gold_f.readlines(): ture.appe...
[ "17633700633@163.com" ]
17633700633@163.com
94ec9cf8bb7d7c701718257565dd7a03589b7388
55e2bec3ad5a937a9914fcddec62827a84e50441
/frontend/keras.py
fa5964f8764667c40de77bdeba3e72bae489cf33
[ "MIT" ]
permissive
mp-chet/Neural-Network-Translator
b59ad4d1b71cdafb21dd1d25d8ed0c195666fc9a
5ce95d9d0a3603800bff2576760984d068ad841d
refs/heads/master
2021-05-21T17:35:00.334584
2020-03-29T14:05:06
2020-03-29T14:05:06
252,736,594
0
0
MIT
2020-04-03T13:15:25
2020-04-03T13:15:24
null
UTF-8
Python
false
false
1,841
py
from plugin_collection import FrontendPlugin import json class Keras(FrontendPlugin): """Keras frontend plugin transforms given Keras h5-file to the intermediate format""" def __init__(self): super().__init__('keras', 'Keras Frontend Plugin') def transform_to_intermediate_format(self, input): ...
[ "christoph.brandl.de@gmail.com" ]
christoph.brandl.de@gmail.com
c5a787c18a915d3a1cf69841583549dd5a9cc2cf
1f290bd29534a719ed94d30eea6a9bff241908af
/Find Minimum in Rotated Sorted Array.py
79e83a60738fd04332d195192b91b5e425a31f03
[]
no_license
nan0445/Leetcode-Python
3a838a9178cd86220ace85da2d6a8b084975552d
bccd0f6ebb00e9569093f8ec18ebf0e94035dce6
refs/heads/master
2020-03-18T18:19:19.010566
2018-08-11T02:17:36
2018-08-11T02:17:36
135,084,509
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
class Solution: def findMin(self, nums): """ :type nums: List[int] :rtype: int """ if nums[0]<=nums[-1]: return nums[0] l, r = 0, len(nums)-1 while l<r-1: mid = (l+r)//2 if nums[mid]>nums[r]: l = mid + 1 else...
[ "noreply@github.com" ]
noreply@github.com
12717307e45c601099299047d414b8dd0913ccb3
3e4071f68b45ab88c4110aacbf3c33e5f8bb60c9
/hyde/ast_printer.py
ef86f4d46bf6144557f21078d4f6f0e4080c0f11
[ "MIT" ]
permissive
ty-porter/hyde
661eb39802341939843cab16d3ae4de4da8c767d
69387e072e80adf2b2f72c3660da8093d6e2297c
refs/heads/main
2023-08-31T00:20:05.396617
2021-09-30T14:25:43
2021-09-30T14:25:43
405,208,896
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
from hyde.expressions import Visitor class ASTPrinter(Visitor): def generate(self, expr): return self.visit(expr) def print(self, expr): print(self.generate(expr)) def visit_binary(self, binary): return self.parenthesize(binary.operator.lexeme, binary.left, binary.right) def ...
[ "tyler.b.porter@gmail.com" ]
tyler.b.porter@gmail.com
90741935a4a1dc373bf6e279fe3a00a4291bba9a
f55353533f1fe1f0cbbf29f97e9222ae8d705937
/InstaFernando/manage.py
bb3a39c651da5e496ff7bfef99f12260cac89ffb
[]
no_license
fernandosfar/proyecto
9e75fbc3001d837dea6cc954e351d52460068b33
a9a28666494189e064dde7a9d1632e13e653e21e
refs/heads/master
2022-12-04T08:42:52.070826
2020-08-20T00:45:50
2020-08-20T00:45:50
275,403,478
0
0
null
null
null
null
UTF-8
Python
false
false
633
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', 'InstaFernando.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "67512139+fernandosfar@users.noreply.github.com" ]
67512139+fernandosfar@users.noreply.github.com
bfd3762733762e2ac2f360dfa7cf87d8b7043810
28a3483eb15fe904cf72ba63efd422058776cf61
/bissextile.py
12078bda5a1783fb6852b39fc55d0f42e92a7729
[]
no_license
cyaoyapi/bissextile
c8f77250e874cb0309d8ca9ee67e418671bc5d65
47874b26b0027f24e50191462de5682a48894c5c
refs/heads/master
2021-01-23T06:02:07.295380
2017-03-27T12:35:44
2017-03-27T12:35:44
86,333,489
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
#!/usr/bin/python #-*- coding:utf-8 -*- """Ce module vous permet de tester si une année est bissexitle ou pas""" print("Ce programme vous permet de tester si une année est bissexitle ou pas.\n") quitter = raw_input("Voulez-vous demarrez le programme ?\nTapez 'o' pour 'oui' et 'n' pour 'non'\n") while quitter.upper(...
[ "cyaoyapi@gmail.com" ]
cyaoyapi@gmail.com
1d1d7b72a08cd500f9882a19ec17f0ac932e83ba
e35a20601622605ccee79e8a15b424e04618a73f
/koku/reporting/models.py
6ebd2ea2722d8940ffc4892857cae18e0e30e3d9
[ "Apache-2.0" ]
permissive
erhwenkuo/koku
1e59796cc1a49e15c5f4c30bbcdf312e4b65db20
e3924c15240d97ba8852467016f3e10b2505f785
refs/heads/main
2023-08-10T21:46:55.484467
2021-09-10T19:31:48
2021-09-10T19:31:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,452
py
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """Models for cost entry tables.""" # flake8: noqa from reporting.currency.models import CurrencySettings from reporting.partition.models import PartitionedTable from reporting.provider.all.openshift.models import OCPAllComputeSummary from reportin...
[ "noreply@github.com" ]
noreply@github.com
e226ec01ee58cfd6403fc00dd962dcf900f3a5c2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03030/s415212285.py
b6d01ec72d51213db9fcd1d248a31bdd56180770
[]
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
343
py
N = int(input()) R = [input().split() for i in range(N)] R2 = [{'i':i+1, 's':R[i][0], 'p':int(R[i][1])} for i in range(N)] S = [] for r in R: if r[0] not in S: S.append(r[0]) S.sort() for s in S: rs = [r for r in R2 if r['s'] == s] sorted_rs = sorted(rs, key=lambda x:x['p'], reverse=True) for r in sorte...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c7cf457bd820b7994ff62baedbbfdfc38c0a4abb
eb7281135d73e253500421c0464329e12fcac3b1
/anvilCore/service_pb2.py
a2795dff5cd04bb3715d22f213be9f399f98338d
[]
no_license
ladybug-tools/honeybee-anvil
8f1820e4d17ef2314a534bb1c0afa00569a62e89
5be53caaf412d247ca88c90ebe4e193b2ff7a780
refs/heads/master
2021-11-20T04:55:33.967003
2018-01-03T00:51:31
2018-01-03T00:51:31
114,935,599
0
1
null
null
null
null
UTF-8
Python
false
true
40,120
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: anvilCore/service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection...
[ "sadeghipour@gmail.com" ]
sadeghipour@gmail.com
be4a4c4e765b75796466260e45263b74991714ce
982390f1f83cb0d1c0544434b376cac25fb0966a
/beakerx/beakerx/object/__init__.py
ddba819f8c7fa1cfa43de34c4f053f78729b3109
[ "Apache-2.0", "EPL-1.0", "MPL-2.0", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "MIT" ]
permissive
splicemachine/beakerx
a72365614eef98c94e37fdf7ba43e17447962b42
afce8900a08d6cbea540608f0c9c88af7b3f7bc0
refs/heads/master
2021-07-13T21:13:45.196374
2020-01-30T21:38:34
2020-01-30T21:38:34
236,809,369
1
0
Apache-2.0
2021-02-18T06:51:54
2020-01-28T18:34:30
Java
UTF-8
Python
false
false
645
py
# Copyright 2014 TWO SIGMA OPEN SOURCE, LLC # # 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 agre...
[ "litiezheng513@gmail.com" ]
litiezheng513@gmail.com
d07a279ceb53a60b79996d5a1dff2ba6f27a2bd8
1f9900bf0876bc70d9c02c59317c12193f727870
/Projeto/program.py
95369794cdfcf9677902819397d61e7fd7e67b69
[]
no_license
nhortensioUAL/ualap2021_grupo1
652ad5085ab9b7c7fa8cc67f39ab787fce5cb8ba
9e4fcc04d42141f3e0ad9a74094f567ec5367cb6
refs/heads/main
2023-02-25T16:11:20.059864
2021-02-01T21:26:08
2021-02-01T21:26:08
310,278,359
0
1
null
null
null
null
UTF-8
Python
false
false
119
py
from views import cli import sys if __name__ == "__main__": sys.stdout.reconfigure(encoding="UTF-8") cli.cli()
[ "30007613@students.ual.pt" ]
30007613@students.ual.pt
eeed939904651f42894f02c40e68bf68d1d98f7a
889a31c40749d9c3d7ac1e2b96f2fb4acce1b640
/index.py
21d1551c1b941f7a9da166c07bbcedc3207463fa
[ "MIT" ]
permissive
dogerish/mc-copy-paste
f0e0318a19ba0610d5f195f786b21da4771200ee
e256aa22d9474e14ace48749d06723b2d650ab2f
refs/heads/master
2023-06-26T17:30:57.889528
2021-07-26T00:59:26
2021-07-26T00:59:26
387,288,728
0
0
null
null
null
null
UTF-8
Python
false
false
1,287
py
# builtin import asyncio # third party from aioconsole import ainput # custom from utils import cfg, MCP from selection import copysel from commands import parse mc = MCP() async def cmdloop() -> None: try: parse(mc, cfg["autoexec"], fatal=True) except Exception as e: print(f"Error in autoexe...
[ "luca.filmstrip@gmail.com" ]
luca.filmstrip@gmail.com
842c3a971ee8072cd3907667b4b99dee4ad1446b
add72f4d6f9f7af1f437d19213c14efb218b2194
/glamkit_collections/migrations/0004_geographiclocation_slug.py
22f6e481c9855aeeb7ed0fd74eb7909ed143de04
[ "MIT" ]
permissive
ic-labs/django-icekit
6abe859f97c709fcf51207b54778501b50436ff7
c507ea5b1864303732c53ad7c5800571fca5fa94
refs/heads/develop
2022-08-08T21:26:04.144852
2018-01-08T02:55:17
2018-01-08T02:55:17
65,470,395
53
12
MIT
2022-07-06T19:59:39
2016-08-11T13:11:02
Python
UTF-8
Python
false
false
1,304
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models from django.template.defaultfilters import slugify from forms_builder.forms.utils import unique_slug def create_slugs(apps, _): GL = apps.get_model('glamkit_collections', 'GeographicLocation') for self i...
[ "greg@interaction.net.au" ]
greg@interaction.net.au
e2695b6d9241f820810b705e59de67da5f7a870b
a14c2c92722fff497d79baa6ce1e03cba6d3ab42
/root/localeinfo.py
f660406fe3309b6574f63af6e5010327b373b7e8
[]
no_license
MMOTutkunlari/AltyapiPack
f12c3789d9e9ca8ac131bd51d4653abda349832c
a7982d7ff9a162fc561d89f7be7d0a9c327ca04e
refs/heads/master
2023-07-10T00:17:57.170770
2021-04-30T14:39:18
2021-04-30T14:39:18
278,165,483
2
0
null
null
null
null
UHC
Python
false
false
32,904
py
import app import constInfo MAP_TRENT02 = "MAP_TRENT02" # 임시 MAP_WL = "MAP_WL" # 임시 MAP_NUSLUCK = "MAP_NUSLUCK" # 임시 MAP_TREE2 = "MAP_TREE2" BLEND_POTION_NO_TIME = "BLEND_POTION_NO_TIME" BLEND_POTION_NO_INFO = "BLEND_POTION_NO_INFO" APP_TITLE = "METIN2" GUILD_HEADQUARTER = "Main Building" GUILD_FACILITY = "Facilit...
[ "gs.eray.55@hotmail.com" ]
gs.eray.55@hotmail.com
f8510941bd63a0e9d1c3dc21992422e227aa330c
0aa2627e32c9fc5b81d76c0bd979ec741eb2094f
/Practice/A.Babintsev/Task_4/task4_5.py
8fa73362cb5dfe81c33780a9184b934a9057c8a1
[]
no_license
leksiam/PythonCourse
7548596f57273fe4f90f56f6fe7fc18e03f58b0a
f626c6ec636f712cb65e89afc63774abb86f9725
refs/heads/master
2020-08-28T20:42:31.485332
2019-10-25T22:25:25
2019-10-25T22:25:25
206,125,407
0
0
null
2019-09-03T16:44:19
2019-09-03T16:44:18
null
UTF-8
Python
false
false
556
py
""" Интерполировать некие шаблоны в строке. Есть строка с определенного вида форматированием. необходимо заменить в этой строке все вхождения шаблонов на их значение из словаря. """ str1 = 'Привет, rod_f nam_f!' dict1 = {'rod_m': 'дядя', 'rod_f': 'тетя', 'nam_m': 'Ваня', 'nam_f': 'Мотя'} fo...
[ "orlov@mera.ru" ]
orlov@mera.ru
cd3200f21c9114aabd3bf8de8f8f25fcd28713bd
f925499f896b012624118cfafd02fef76ff5075a
/src/testcase/GN_Y201H/case/GN_Y201H_NORMAL_TIMER/GN_Y201H_NORMAL_TIMER_001.py
db553092c8decb6ca656271e96b02093737f7c6e
[ "Apache-2.0" ]
permissive
maiyajj/AutoTest_script-Appium_Connect
f7c06db1d2f58682d1a9d6f534f7dd5fb65d766d
f9c2c42c281a9e2f984acb4a72dda0694b053f22
HEAD
2019-07-26T01:39:48.413753
2018-04-11T02:11:38
2018-04-11T02:11:38
112,449,369
30
22
null
null
null
null
UTF-8
Python
false
false
1,252
py
# coding=utf-8 from src.testcase.GN_Y201H.WidgetOperation import * class GNY201HNormalTimer1(WidgetOperation): @case_run(False) def run(self): self.case_module = u"普通定时(#246)" # 用例所属模块 self.case_title = u'在线状态,临界点1组开与1组关的定时执行状态检查' # 用例名称 self.zentao_id = "2079" # 禅道ID # 用例动作 ...
[ "1045373828@qq.com" ]
1045373828@qq.com
a1d5cc1ea0836818f5d5db326760c1213c307d11
033cd27a3b2c1e62525dc30c2e57b95bc06a497f
/C1/C1S10JSON/ZhengZe2.py
53dbae1c258b52bafd207bc78c8d7ff585985f75
[]
no_license
lpjlsing/LearnwithVS
4d2e24c30830c4eded5e30c570bdd6ca259a8eef
3551f3a398647eeb2dc4ad003c4d934c211b6baf
refs/heads/master
2020-05-31T10:49:11.845784
2019-09-30T08:19:43
2019-09-30T08:19:43
190,248,895
1
0
null
null
null
null
UTF-8
Python
false
false
1,995
py
""" 正则表达式 re.sub实现函数替换 re.search re.match 分组:group()函数:可以传递一个参数,指定获取的组号,默认为0 group(0)返回的是完整的匹配结果,跟有多少个组无关 """ import re s = 'ABC345629867396dGainWHAT' s1 = 'ABC345629867396dGainWHAT' def convert(value): matched = value.group() if int(matched) >= 6: # 需要先把字符数字转换为整数数字 return '9' ...
[ "lpjlsing@163.com" ]
lpjlsing@163.com
ea70a6ea9cfe96cf9c8ccaeae282c589bd2ace7a
dbffcac24ad03d4d21505b4161645e410304aa5d
/editor/dbloader.py
eb480b21c49cfb8e26dcb3f61eae1d50ef9b5b19
[]
no_license
evertqin/RogerBlog
c3e7c376f482b81eb876994e9ff7b74c94d2b65e
64e60195bbce0800a98af80956b3f16d7dafae97
refs/heads/master
2021-01-22T11:07:19.146197
2017-03-19T20:49:50
2017-03-19T20:49:50
36,478,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,438
py
#!/usr/local/bin/python3.4 # the purpose of this script is to help loading blog entries into the mongodb # will support following actions # 1) insert blog entries # 2) retrive certain entries # 3) update certain entry # 4) delete certain entry # blog entry structure from pymongo import MongoClient from bson.objectid i...
[ "evertqin@gmail.com" ]
evertqin@gmail.com
93fbf3872d3bc072632736a89eb7442b9e7c7fc2
a5616b991606bc76fe2a44b422a570f0acc7f9fa
/deep-learning-face-detection-class1/detect_faces.py
98f16ea53dc6be3010a868b894589f08aaa3d23e
[]
no_license
Adiiigo/ComputerVision
0c2b39f166dc38bce8ecdacbbf6a9ba2432ec214
dbfa9dc1b83ee9ddbadaaf9b8f6390855f369cba
refs/heads/master
2022-11-13T17:18:45.601706
2020-06-20T13:01:27
2020-06-20T13:01:27
272,775,008
0
0
null
null
null
null
UTF-8
Python
false
false
2,367
py
# USAGE python detect_faces.py --image rooster.jpg --prototxt deploy.prototxt.txt --model # res10_300x300_ssd_iter_140000.caffemodel # import the necessary packages import numpy as np import argparse import cv2 # construct the argument parse and parse the arguments ap = argparse.ArgumentParser() ap.add_argument("-i",...
[ "noreply@github.com" ]
noreply@github.com
716a4428e5e13bcb8880401933b12900fb520ba6
9fdb870bb8011ab7c7d37fb584a4b353f24629ac
/Deployment/pm_install/update_ip.py
21c1aa99902140f37362f4e3295abaa63af038af
[]
no_license
DeploymentHZ/zonekey
aacfee5d41e817be37a74248e1aa00330b27f0c8
5729f530a107b0f45fca449c3677c5a0d14f1b3b
refs/heads/master
2021-01-01T16:59:39.125116
2015-04-27T02:23:03
2015-04-27T02:23:03
33,844,168
0
0
null
null
null
null
UTF-8
Python
false
false
2,247
py
#!/usr/bin/python import os import re import ConfigParser import check_netfile from socket import socket, SOCK_DGRAM, AF_INET config=ConfigParser.ConfigParser() config.readfp(open('./conf/config.ini',"rb")) NetInterface=config.get("global",'NetInterface') ip=config.get("global",'ip') netmask=config.get("global",'netma...
[ "15910963100@163.com" ]
15910963100@163.com
9a8814ec3bdddcd2c38ad5fdae72c9647dea261a
90fb8ce0e374248214b4aa676dd0e6c2c8c21fc6
/kanga/cdaudio/cd.py
86b8cf5494d32998339240305fe13f19c9ac672e
[ "Apache-2.0" ]
permissive
dacut/kanga-cdaudio
7a4dc4ecd576770652a6dce624f15d682ae6321f
cb93c4d9a8104eac44ac41f2c4a9192dfe57eae6
refs/heads/master
2020-06-01T05:05:45.302932
2019-06-24T03:32:55
2019-06-24T03:32:55
190,648,123
1
0
null
null
null
null
UTF-8
Python
false
false
4,682
py
""" Constants in the CD audio world. """ from base64 import b64encode from enum import auto, Enum, IntFlag from hashlib import sha1 from typing import NamedTuple, Tuple SECONDS_PER_MINUTE = 60 FRAMES_PER_SECOND = 75 FRAMES_PER_MINUTE = FRAMES_PER_SECOND * SECONDS_PER_MINUTE BYTES_PER_FRAME = 2048 # Bytes per fram...
[ "dacut@kanga.org" ]
dacut@kanga.org
13f8adf1c5b6a70c92addcf66ba9d5242f299965
d8e88d6ee4bd75bbfbd16f9a5ee2cba1f85c524a
/report/migrations/0001_initial.py
150639e72f7975b45efcee2f37ea50e50b41cac6
[]
no_license
grahamgilbert/imagr_server
5c813f662086811d63026afa2d54e84d374fc309
7865954167aa0e007f415d8ffc520963b316e659
refs/heads/master
2021-06-27T03:28:57.393777
2017-02-09T00:56:14
2017-02-09T00:56:14
37,206,092
18
3
null
2017-02-09T00:56:15
2015-06-10T15:38:03
JavaScript
UTF-8
Python
false
false
566
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Computer', fields=[ ('id', models.AutoField(ver...
[ "graham@grahamgilbert.com" ]
graham@grahamgilbert.com
3e90bac4074c33e939a8c0524831f3abee050c39
2853afc099ad4e56e0b1a3304a74d5401eb6c268
/diffopt/tests/test_logreg.py
52fb8daca7d49d7abc66339158057da775ecd9be
[]
no_license
tomMoral/diffopt
6f0211129da66ced6f0245e45efd3b0a093b217c
e32f4584cecbb88683d0ad4e3a747df0a9c6287c
refs/heads/master
2022-04-05T11:30:09.275398
2020-02-07T01:50:00
2020-02-07T01:50:00
238,401,092
3
0
null
null
null
null
UTF-8
Python
false
false
4,239
py
import pytest import autograd.numpy as np from diffopt.logreg import LogReg from autograd import grad, jacobian def logreg_loss(x, D, z, lbda): res = - x * np.dot(D, z) return np.mean(np.log1p(np.exp(res))) + .5 * lbda * np.sum(z ** 2) def gradient_descent(x, D, lbda, step, n_iter): n, p = D.shape z...
[ "thomas.moreau.2010@gmail.com" ]
thomas.moreau.2010@gmail.com
b91185af076db82111f12b7f041c859ee9ad7af4
be9820090b95012d95f90deaa9f8007934dedc37
/scripts/longevity_analysis/dailyScansPlot.py
d530106a9fad1d4f13ca4cdf9629b735e4ad0b69
[]
no_license
apingault/webdcs-GIF
c97d4c0d6206976dddf0fce200798138b8d889d5
b4980bd72c9486ffc802a614013ca879edb01327
refs/heads/master
2020-04-02T17:36:59.124251
2018-09-15T10:11:53
2018-09-15T10:11:53
154,664,598
0
0
null
null
null
null
UTF-8
Python
false
false
5,789
py
import sys,os,glob import ROOT import MySQLdb import shutil from optparse import OptionParser from subprocess import call, check_output from array import array import ROOT ROOT.gROOT.SetBatch() ROOT.gStyle.SetOptStat(0) ROOT.gStyle.SetOptTitle(0) # load the GIFPP library execfile("GIFppLib.py") parser = OptionParse...
[ "webdcs@webdcs904a.dyndns.cern.ch" ]
webdcs@webdcs904a.dyndns.cern.ch
fcdd4b11c39b95c8a0ee94ecc2ef64ebe2ac8717
e9eed586eb25a8805411a0c1069f79fb70be957d
/Home/migrations/0021_auto_20190423_2056.py
10ea2db9049f62e62370fb769a5a163e8687c091
[ "MIT" ]
permissive
jay1999ke/PureQPA
61d250f85889867502a46f87385d825b764bab0c
c5ba6d7998d5fb1544b81bc076dbd19c3017fa9e
refs/heads/master
2020-04-24T18:05:00.321716
2019-06-21T17:39:51
2019-06-21T17:39:51
172,169,063
2
0
null
null
null
null
UTF-8
Python
false
false
372
py
# Generated by Django 2.1.5 on 2019-04-23 15:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Home', '0020_scoreexam_outof'), ] operations = [ migrations.AlterField( model_name='scoreexam', name='outof', ...
[ "jay1999ke@gmail.com" ]
jay1999ke@gmail.com
9e28733749a2689a4eb44106562c0bee9d47cee7
d721258b53f0f44b1010cb8e8efac8e2a5c96c26
/player/migrations/0009_move_activity_log.py
a3ede81b0cbaf3374740ff87efa489c26a11c33c
[ "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
kdechant/eamon
a6662285f51a6cad5797bb9be92ca709ae36921c
080a43aa80c3a1605c402e68616545a8e9c7975c
refs/heads/master
2023-05-24T08:20:18.551604
2022-08-14T10:27:01
2023-04-08T07:31:45
49,559,304
28
7
MIT
2023-03-14T21:09:55
2016-01-13T08:07:28
TypeScript
UTF-8
Python
false
false
665
py
# Generated by Django 3.2.12 on 2022-05-15 08:36 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('player', '0008_activitylog'), ] operations = [ migrations.RunSQL('SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0'), ...
[ "keith.dechant@gmail.com" ]
keith.dechant@gmail.com
5187813ddac759a286058ca54516eb8487319722
dd07c7d498e7f8193383b9e30b983d792d2f6708
/src/data/make_dataset_3.py
6fdd4c9462fa9e59349f2951953de14c0fe8b313
[]
no_license
saurabh-kataria/9-jhu
5b5d3ea94287db332dde1e45f44e4a164fb15a5b
fb00c5635a3662fd0f1ababfb31f7bfceeed5b2a
refs/heads/master
2020-03-18T10:41:37.997529
2018-04-11T17:56:16
2018-04-11T17:56:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,295
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jan 25 10:50:15 2018 @author: peter """ from torch.utils.data import DataLoader import os from src.data.data_functions import Data_synthesis_1, save_audio_ from src.features.features_functions import makedir from src.datasets.make_dataset_1 import sav...
[ "psf@ieee.org" ]
psf@ieee.org
070e718d595c6d3fb558b4037c8a23039926c5b7
7118408358390c53d13e2993a75cac4b8e745675
/unittests/heuristic_tests.py
5b94bc240d0e504d45cc2da5d3d32e6a25deb110
[]
no_license
wsgan001/repeated_pattern_discovery
aefcab272968c29ac461d767729fb3514d2efdc3
53e813743780bfdc9ca80ea7c2512b6df9fdf246
refs/heads/master
2020-03-31T04:19:20.364370
2018-03-27T08:21:40
2018-03-27T09:20:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
import unittest from tec import TEC from vector import Vector from dataset import Dataset import heuristics class HeuristicTest(unittest.TestCase): def test_bounding_box(self): dataset = Dataset('unittest_data/heuristics_test.csv') dataset = Dataset.sort_ascending(dataset) tec = TEC([Vect...
[ "otso.bjorklund@gmail.com" ]
otso.bjorklund@gmail.com
afb5a14d99e8e12b35967c08435773a376ea4b94
bb771867f01da0df9750dd0e06ac12c491326c57
/server.py
9a99e8ad64cc25eb3ea991a73a3dfae440aa51cb
[]
no_license
prasannakarki77/portfo
c373623ea6b62eff22e986e94d8e86d1defab1bb
8c5d2c8de93066f46e4c76f75874e7002b198a38
refs/heads/master
2023-01-12T04:56:56.782759
2020-11-18T08:11:50
2020-11-18T08:11:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
from flask import Flask, render_template, url_for, request, redirect import csv app = Flask(__name__) @app.route('/') def my_home(): return render_template('index.html') @app.route('/<string:page_name>') def html_page(page_name): return render_template(page_name) def write_to_file(data): with open('datab...
[ "prasanna.karki77@gmail.com" ]
prasanna.karki77@gmail.com
160692ada22f13ed67894780e73e61c7aff4f97c
de59ece5d773d8607ba7afe747088ff07062494c
/py-core/None/none.check-variable-is-none.py
b552c37b1721f7e771989f267bdcddc3d8d68aba
[]
no_license
loggar/py
4094c6919b040dfc0bb5453dc752145b5f3b46ba
1116969fa6de00bbc30fe8dcf6445aa46190e506
refs/heads/master
2023-08-21T16:47:41.721298
2023-08-14T16:12:27
2023-08-14T16:12:27
114,955,782
0
0
null
2023-07-20T15:11:04
2017-12-21T03:01:54
Python
UTF-8
Python
false
false
544
py
null_variable = None not_null_variable = 'Hello There!' # The is keyword if null_variable is None: print('null_variable is None') else: print('null_variable is not None') if not_null_variable is None: print('not_null_variable is None') else: print('not_null_variable is not None') # The == operator i...
[ "webnl@DT-Charly.koi.local" ]
webnl@DT-Charly.koi.local
21a3f7ff6f84770d3750f3c4df26b2baba6fd5a2
e8ebcccc0d810d0da1fe6dbec855a13e75f47f60
/plone/app/toolbar/testing.py
936139369f23a5de2c4d71fd89a49304b0ca54b1
[]
no_license
izak/plone.app.toolbar
3254be14c0ac769d2f0890e00821698b5d1db9db
1cbe514a9216bbbe6f6f42f7701523a9ee14d1f7
refs/heads/master
2021-01-16T21:31:08.976374
2012-02-28T12:53:41
2012-02-28T12:53:41
3,371,208
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
from plone.app.testing import PLONE_FIXTURE from plone.app.testing import PloneSandboxLayer from plone.app.testing import TEST_USER_NAME from plone.app.testing import TEST_USER_PASSWORD from plone.app.testing import applyProfile from plone.app.testing.layers import FunctionalTesting from plone.app.testing.layers import...
[ "rob@fourdigits.nl" ]
rob@fourdigits.nl
93835ef44bb55e7086e23d364a0db3f238cb6244
80ab0c5d43c4d65562c7d7918b477418d49c38de
/tutorial/tutorial_04.py
e421383039911da2c256a06f6be39bbdbf2ad413
[]
no_license
peterpeter5/shallot
7cb30c723417031bff8bb2ec4b0ab1dd3d5dd788
bd6be27ad73e648f148c4aa222306e8be4eef303
refs/heads/master
2021-08-17T03:08:56.523537
2020-04-18T10:23:54
2020-04-18T10:23:54
162,873,412
3
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
import time import asyncio from shallot import websocket, standard_not_found, build_server from shallot.response import ws_send from shallot.middlewares import wrap_routes, apply_middleware @websocket async def fan_in(request, receiver): async for message in receiver: # do something usefull. For example ...
[ "dev.peterpeter5@gmailcom" ]
dev.peterpeter5@gmailcom
1560783a20acc84a7d8df5bb1bed611ed7028089
e6d6a0a1998cc2cca6ae9ed6643bd6704ecd245e
/apps/orgs/migrations/0005_orginfo_is_famous.py
b7c90e23e23d3f1e35d1292b3383ca76118047a9
[]
no_license
a371057600/Guliedu-1
9341b5393360e9b9df67c0522d1e54c4aa21d474
22ebdd7dfb53d1e326ee2d586960bc0309633fb0
refs/heads/master
2020-06-11T23:25:55.664582
2018-11-25T00:39:25
2018-11-25T00:39:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-08-28 20:21 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orgs', '0004_auto_20180826_1017'), ] operations = [ migrations.AddField( ...
[ "503558564@qq.com" ]
503558564@qq.com
97f12a6f607074ec0cddd991b1b388544bee6cb3
ca773907880a5a15351c1b9fe7a9fbff9891631a
/netrunner/connections/__init__.py
9b4efc06a2cfa796622826bdd30039a6fc6c078a
[]
no_license
rbraddev/netrunner
88c32ade798ec126679b2d16497a816d73be84cb
964c145b940a7a80487616641c84b23af8d8884e
refs/heads/main
2023-08-11T08:52:40.164771
2021-09-24T09:00:03
2021-09-24T09:00:03
401,962,224
0
0
null
2021-09-21T17:27:16
2021-09-01T06:55:32
Python
UTF-8
Python
false
false
56
py
from netrunner.connections.ssh import SSH # noqa: F401
[ "ryan@rbradshaw.dev" ]
ryan@rbradshaw.dev
8c6b6ae33e61b724026b1fb0892ab0df127fccba
3784495ba55d26e22302a803861c4ba197fd82c7
/venv/lib/python3.6/site-packages/torchx/version.py
2075926507396aafc624de6753f05dc7d0a3619b
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
48
py
__version__ = '0.4.1' debug = False cuda = None
[ "luis20dr@gmail.com" ]
luis20dr@gmail.com
93e23d4818b5f7cf902ae367d5601fefa6793f76
d629301e2c41fc5d1c7f1a6ca4688117bbd93117
/RoBO/build/lib.linux-x86_64-2.7/robo/task/ml/var_size_data_freeze_convnet_cifar_2para.py
8aee0a32cc5ffe8e4fc2d1026ee3e5b2f0356565
[ "BSD-3-Clause" ]
permissive
mrenoon/datafreezethaw
db1dd377e9bf8c6fe22c442128e6d1eda1a3bb13
c2ce2e78bd98236618c99fe3453fc24389d48ead
refs/heads/master
2021-01-19T01:13:18.384209
2017-04-05T04:32:26
2017-04-05T04:32:26
87,232,729
5
0
null
null
null
null
UTF-8
Python
false
false
7,513
py
import numpy as np import time import theano import theano.tensor as T import lasagne import os, subprocess from lasagne.regularization import regularize_layer_params, l2, l1 from robo.task.base_task import BaseTask ROOT_ML_DIR = "/data/ml/" EXAMPLES_LINK = "/data/ml/RoBo/examples/" class VarSizeDataConvNetCifar(...
[ "vunguyenvyvp@gmail.com" ]
vunguyenvyvp@gmail.com
147dcdf93727142f1333c7fa452dc503f0d433c8
0f1a60e09c8db4b2914a7b6aca26576b9b991b97
/Урок 3. Практическое задание/urls.py
2827c0824c7e4ce28163b5798578c736fe8b1af4
[]
no_license
daniilro/python_patterns
798cccf87e49c9fb47ec8fbae2b0e59bc36067b8
89c3410be3607309fb1b3007a19ef71c5b9487d5
refs/heads/master
2023-04-26T04:26:17.459561
2021-05-19T14:10:25
2021-05-19T14:10:25
360,465,187
0
0
null
2021-04-24T09:55:07
2021-04-22T09:33:47
HTML
UTF-8
Python
false
false
597
py
''' ''' import time from datetime import date # Front controllers ############################################################# def fc_base(request): print("fc_base") request['timestamp'] = time.time() request['data'] = date.today() ############################################################# def fc_d...
[ "daniil_ro@mail.ru" ]
daniil_ro@mail.ru
139fa8c391640ecabacc71828360a09224f658ba
3ae0a536d08e871c5b67fafac3c068c15d53a792
/app/__init__.py
7ba5faa28dbde8964c239cf31c1aca7cc96d5765
[]
no_license
bethconna/Library
2034f359d8f9ec5fe70568b0cd7035c966baa3ae
ebea0f713404d54306a202fc4f1a0cd9a1212d93
refs/heads/master
2022-04-11T07:31:13.584455
2020-03-19T19:40:52
2020-03-19T19:40:52
248,577,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
# -*- coding:utf-8 -*- from flask import Flask from app.models.base import db from flask_login import LoginManager from flask_mail import Mail login_manager = LoginManager() mail = Mail() def create_app(): # app:flask全局只有一个 # flask静态文件夹:默认static_folder = 'statics' app = Flask(__name__) # 导入配置文件 ...
[ "44862046+bethconna@users.noreply.github.com" ]
44862046+bethconna@users.noreply.github.com
a32fbb9bc02d3dac7f26f8e022e0b96da9fc8686
837fb6ca890d109371bc60558327c007af1991f5
/mainEmtelco.py
3c6bc1721f608ed600dd279b06e9f31ccc9157ef
[]
no_license
JhomarDaza/Automatizaci-n
b73c6f0b80eda710bcf8d54710662cceb8144ae8
235e7ac26cd9891adeb5bb1f4a4a6799004dc42b
refs/heads/master
2022-12-10T13:13:48.061158
2020-09-05T19:49:43
2020-09-05T19:49:43
279,809,929
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
import time from selenium import webdriver from selenium.webdriver.support.ui import Select driver = webdriver.Chrome('chromedriver.exe') driver.get('http://automationpractice.com/index.php?controller=authentication') time.sleep(5) user_box = driver.find_element_by_id('email') pass_box = driver.find_element_by_id('pass...
[ "jhomardaza03@gmail.com" ]
jhomardaza03@gmail.com
7988181c24bb1148b29d1dd823e47e340401062f
5ddf2118455c8285bbfc657f3a2cabdf224beaf4
/modules/pose_estimator/head_position.py
322d9cc799efb10163e6baa700ca7ba677d323c3
[]
no_license
Vadbeg/human_pose_estimation
004b7ac49514561cc1615c94e44f8b8bb6547c41
64dbef23ab9e671f9ab039e14d86956a4d6e07a0
refs/heads/master
2023-04-27T12:22:26.941687
2021-05-13T23:38:23
2021-05-13T23:38:23
354,088,045
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
"""Module for checking if head position is good""" import math from typing import Tuple, List import numpy as np from modules.models.utils import get_annotated_facial_landmarks class HeadPositionChecker: def __init__(self, edge_value: float = 15.0): self.edge_value = edge_value self.max_value ...
[ "vadbeg@tut.by" ]
vadbeg@tut.by
26c2c8eb47aacbf4b90c8f01845dee35cd36f251
66b38de752573365d25ff637cdd7f69eb6afbc90
/text_normalizer/normalizer.py
e6d019a53e22860757b7abf3380c55bd4602ef9a
[]
no_license
mailtonfcarvalho/Thesaurus
211d3113bea0c245e5ecb93e6c096631bea5c6dc
e5c2d40cbf3fdae3a202cad9e6fe9f7cc07700f6
refs/heads/master
2020-06-16T04:57:27.636854
2019-07-06T02:45:34
2019-07-06T02:45:34
195,484,899
0
0
null
2019-10-31T05:15:30
2019-07-06T01:33:38
Python
UTF-8
Python
false
false
2,089
py
import nltk import re import string from unidecode import unidecode from utils import paths class Normalizer(object): @staticmethod def remove_html(text): return unidecode(re.sub(re.compile("<.*?>"), '', text)) @staticmethod def has_digit(sentence): return any(char.isdigit() for char ...
[ "mfc2@cin.ufpe.br" ]
mfc2@cin.ufpe.br
fcfa912fbbde293329c2a0f645dbbb9eb913faff
33d46ee082d496af1775c1124d0a5b61eeac6e43
/OldCode/Extra Files/helloworld.py
9579a7d359c45a1e021336c5ae4b47c225bac008
[]
no_license
SophiaMVaughn/Treeo
7355ab5eeb004bb13a4b79000374b9fad3dade3f
f619e2f673d13fb7852fee5874a0b7e3f68aba6f
refs/heads/master
2023-04-18T06:46:57.339396
2021-04-21T05:18:53
2021-04-21T05:18:53
264,577,585
0
1
null
null
null
null
UTF-8
Python
false
false
2,833
py
from flask import Flask from flask import Flask, flash, redirect, render_template, request, session, abort from password_strength import PasswordPolicy import password_strength app = Flask(__name__) @app.route("/") def index(): option = [] option.append("Provider1") option.append("Provider2") option.ap...
[ "copyedinteligence3@gmail.com" ]
copyedinteligence3@gmail.com
5433f326ab81dd4476ccb946c13c972d8677d656
930e9a18693fc56efa4f32c634290afed5034c3f
/build-time-graph.py
ce92d0f6407bfad6b9e6bc69494f261884092163
[]
no_license
doloopwhile/aggregate-jenkins-job
aa3a4b7d42a89182aead12b6a35f9cec2b39f3a5
5827862ee096b4f15f291b8a282938fc939c129d
refs/heads/master
2016-09-09T17:49:06.450128
2014-06-05T10:29:20
2014-06-05T10:29:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,778
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from argparse import ArgumentParser from pathlib import Path from urllib.parse import urljoin from urllib.request import urlopen import urllib.request from operator import itemgetter import pyjq as jq import math import webbrowser def main(): parser = ArgumentParse...
[ "kenji.omoto@hde.co.jp" ]
kenji.omoto@hde.co.jp
388fcbd63eb525dcea423f765b12cc6b3cc9a56f
4c57cd567f665e6350c8e49996e1ac51a9d059b0
/caffe_in/apps/cafe/models.py
6dfd47fd4b0e5551d1b009bcec264c1a78552729
[]
no_license
dayatz/caffe_in_project
ba568c4c3354f637db1388581ed06baede83d916
c884e8ba8fd9382b00c54ea698dbc0c2dbcaa2c9
refs/heads/master
2021-01-13T16:31:09.775539
2016-09-25T22:56:33
2016-09-25T22:56:33
69,189,378
0
0
null
null
null
null
UTF-8
Python
false
false
1,477
py
from django.db import models from versatileimagefield.fields import VersatileImageField class NameDescriptionMixin(models.Model): name = models.CharField(max_length=50) description = models.TextField() created = models.DateTimeField(auto_now_add=True) updated = models.DateTimeField(auto_now=True) ...
[ "dayat.py@gmail.com" ]
dayat.py@gmail.com
3bf45def4e1931283ba586eda4d1f670f7a94bca
81ffa8fd63ff894a2f8e65692c974ef5b7c2c259
/nn/data/Easy_Image_Annotation_Tool--master/Easy_Image_Annotation_Tool--master/Manual_Image_Annotation.py
f138cdc191597ceaccc9fb3dda4e65dadc764840
[]
no_license
n0lean/enet_deploy
73ef8ebffd6276eea66bbd3f89eb9f6dc5e52836
093f3e3c0471cbc0070b3fb063b4b0135c7a151f
refs/heads/master
2021-06-23T12:37:57.348175
2017-08-16T19:44:38
2017-08-16T19:44:38
100,507,587
0
0
null
null
null
null
UTF-8
Python
false
false
4,517
py
# Free Hand Drawing for image Annotation # Author :- Harish Pullagurla ( hpullag@ncsu.edu ) # Last Updated :- 19th March 2017 # How to use :- # 1. put images in the images folder # 2. draw pattern on image # 3. press Esc # 4. Enter the image label value # 5. Press 1 to continue annotating the same image # Handling erro...
[ "cpy19960205@zju.edu.cn" ]
cpy19960205@zju.edu.cn
fc65c7f5983670a239b99ce19baf7bf53c1ed218
37fc0a4886070ca56375393c05b6368060309273
/curves.py
b79fc0e11d7afca717bb795f477191331aa91b8c
[ "Apache-2.0" ]
permissive
Green-Resilience/Orchestration_HollyFerguson
86e8f56f8ae1d75c4d047f6f859146e9e164de48
238ab738a1a05e9bf716768490804f6d407715a1
refs/heads/master
2021-01-01T18:06:01.084692
2017-07-25T01:29:56
2017-07-25T01:29:56
98,250,052
0
0
null
null
null
null
UTF-8
Python
false
false
3,125
py
# ------------------------------------------------------------------------------- # Name: curves.py # Purpose: Use USGS data to create and query hazard curves # # Author: Holly Tina Ferguson hfergus2@nd.edu # # Created: 07/06/2017 # Copyright: (c) Holly Tina Ferguson 2017 # Licence: The Univer...
[ "Holly.T.Ferguson.57@nd.edu" ]
Holly.T.Ferguson.57@nd.edu
272435e3dc1c043b9bf0dafded30b3c2c4e0a782
bbb633cf5a156714fd072c116c802b0a45745513
/BasantBookFestival/BookFest/migrations/0002_book_link.py
43ed2b004e6e0136ea97a81917dbcc7fe941bdc9
[]
no_license
darmis007/Basant-Book-Festival-Backend
e41613885abcb385d80eb08057b13272b6658ef9
f3aca9e79d876f00d2fb312d9535922469fcd5df
refs/heads/main
2023-03-09T16:52:11.315240
2021-02-25T15:46:20
2021-02-25T15:46:20
329,369,536
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# Generated by Django 3.0.7 on 2021-01-27 14:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('BookFest', '0001_initial'), ] operations = [ migrations.AddField( model_name='book', name='link', field=...
[ "darshmishra3010@gmail.com" ]
darshmishra3010@gmail.com
8d26e14f8102dc796688c29472bb87e5230ae97d
a259e74299ddf20bb821a667f9656e8d25389651
/parser/lc_quad_linked.py
d9c61ba9a8646f52f6021311b60aa80da01c84c6
[]
no_license
karthi2016/query_generation
1dad6a5eff462768df46e0d130ee8067fe35617f
6290bdef582bb425d982b0dab2379484c23db724
refs/heads/master
2021-07-07T00:46:21.144462
2017-10-04T11:42:26
2017-10-04T11:42:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
import json import re from common.qapair import QApair from common.uri import Uri from kb.dbpedia import DBpedia from answerparser import AnswerParser class LC_Qaud_Linked: def __init__(self, path="./data/LC-QUAD/linked.json"): self.raw_data = [] self.qapairs = [] self.path = path ...
[ "hamid.zafar.tud@gmail.com" ]
hamid.zafar.tud@gmail.com
1ede98ce26d5624c114d96d33e1a04c1d3265fe8
969b2895158993c593596881e1957463111f95e1
/Mxnet/CNN/DenseNet/DenseBlock.py
efb41004bbb32263db035fe8ed2e1250a15ed7b1
[]
no_license
JYLFamily/Python_Study_Note
4f3fda1a4374df48db3aeeac2c27b8ef28673795
eb6d5a7f359e24659054b61a382668b3ef3e9234
refs/heads/master
2021-01-02T09:46:15.687725
2018-04-28T11:21:35
2018-04-28T11:21:35
99,296,027
2
0
null
null
null
null
UTF-8
Python
false
false
774
py
# coding:utf-8 from mxnet import nd from mxnet.gluon import nn def conv_block(channels): out = nn.Sequential() out.add( nn.BatchNorm(), nn.Activation("relu"), nn.Conv2D(channels, kernel_size=3, padding=1) ) return out class DenseBlock(nn.Block): # layers 这个 DenseBlock 中包...
[ "1579502635@qq.com" ]
1579502635@qq.com
7e2c40d30cf8b10bd6dd710e7ee833f008999675
44132a86288fb076e72b1ee9c1ddd711bb1af272
/DavinciStripping/MCSelDetachedN.py
58e564f349c4be492ec26b5091aa26ee3e6ebd67
[]
no_license
mboubdir/lhcb_analysis
40f00ac3e734513ec57a9a9f198a25c8b788c0d6
fbac1dbcf13d5a800327aa6b12847e7687dbe5f4
refs/heads/master
2020-04-17T18:41:05.883872
2019-01-21T17:36:50
2019-01-21T17:36:50
166,836,983
0
0
null
null
null
null
UTF-8
Python
false
false
7,922
py
# LHCb standard definitions # -*- coding: utf-8 -*- ## from os import environ ## import math from Gaudi.Configuration import * from GaudiKernel.SystemOfUnits import MeV, GeV, mm from GaudiConfUtils import ConfigurableGenerators from Configurables import FilterDesktop, CombineParticles, TupleToolDecayTreeFitter, TupleTo...
[ "noreply@github.com" ]
noreply@github.com
f6506f8e94f4a7cca99932feaaa520aeec30af64
6ce97c840d75672c2b880b5b249dd817f3a0e887
/utils.py
09a746b0496594b8d24d6de89d01f48204fc5c4f
[]
no_license
grzegorznowacki/tsp
b4c208ead9518dcf2c9975ec8ceb240155159885
6f1399c6a892cbde6b57d2912cd72b6077091946
refs/heads/master
2020-05-14T14:39:19.778549
2019-06-02T08:47:55
2019-06-02T08:47:55
181,837,816
0
0
null
null
null
null
UTF-8
Python
false
false
5,099
py
import csv import random from random import randint from itertools import groupby import algorithms_utils import numpy as np import matplotlib.pyplot as plt from config import * def load_file_to_list(input_file_path): points_list = [] with open(input_file_path) as csvfile: reader = csv.reader(csvfile)...
[ "grzegorznowack@gmail.com" ]
grzegorznowack@gmail.com
abfb14599399def4b82f686676637764d4d74c00
98f730ec6a43d8be4a34b0f2a44a9d35989d2287
/pynifi_client/models/prioritizer_types_entity.py
077f502372d2648325475e08fbe1e818db88e730
[]
no_license
scottwr98/pynifi-client
9337a4f322536ee466d419a788b8b5948cdc62d7
013ac2ffa591284a0d6cbb9ed552681cc6f91165
refs/heads/master
2020-04-18T08:47:03.680749
2017-11-04T23:59:58
2017-11-04T23:59:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,782
py
# coding: utf-8 """ NiFi Rest Api The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ...
[ "ajish@rootedinsights.com" ]
ajish@rootedinsights.com
66379b8547c3b4354da6d9e4f77292594852c4e9
5d2f12197894a7998e609c40bfb5dfcb6eb93382
/textbook-work/stacks_and_queues.py
dfc22ed71b3ba7431a9e67120d3d8330ba67d302
[]
no_license
dawes206/leet-code
cb5167c6e3f17c24dad9c4b69e5c5f98c9bb892c
d4895982ff07db0e44f7c30afb501f4ef9ecb9c2
refs/heads/master
2020-05-30T10:47:42.932138
2019-06-07T23:43:20
2019-06-07T23:43:20
189,681,692
0
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
class Stack(list): def __init__(self, size): self.top = 0 for i in [None]*size: self.append(i) def push(self,num): if self[self.top]==None: self[self.top] = num else: self.top = self.top + 1 self[self.top] = num def pop(self):...
[ "sw099y@att.com" ]
sw099y@att.com
cf1489565952ed71607ef160b9f9c9ee52dbdcbd
939abe018ff10248ae2236575b0d2f3410c096d4
/1 exercise-rekognition/FlaskApp/application.py
243a1aa360fe88e724ab5816137b9a864bb39108
[]
no_license
ge8/photo-app
f0bd911c4980dc58ff3156ad20a91e3971e648e6
c18e7f0c25629cd84e115615cbc630f87832e376
refs/heads/master
2020-03-22T16:51:32.227428
2018-08-22T13:55:03
2018-08-22T13:55:03
140,356,745
1
0
null
null
null
null
UTF-8
Python
false
false
5,393
py
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except # in compliance with the License. A copy of the License is located at # # https://aws.amazon.com/apache-2-0/ # # or in the "license" file accompa...
[ "grestaba@9801a79671c3.ant.amazon.com" ]
grestaba@9801a79671c3.ant.amazon.com
6bb39bf0814bcf4b4e5787dcdfa7a670bd2b8146
16fa0fd1cc6fa4f8996a626ab4cc625e5e33207c
/Contact_me/migrations/0001_initial.py
a75e17d6b2553a210609651e27dd2ba25621407f
[]
no_license
Arash3f/zoro_blog
ead1fba404f8140f4f7b13b23515fa280063072f
9157afe5352481b8befa15bdd2ef093297b52cf0
refs/heads/master
2023-07-19T04:31:27.348756
2021-08-29T00:30:45
2021-08-29T00:30:45
400,917,468
1
1
null
null
null
null
UTF-8
Python
false
false
993
py
# Generated by Django 3.2.6 on 2021-08-28 12:44 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Contact', fields=[ ('id', models.BigAutoFie...
[ "arash.alfooneh@gmail.com" ]
arash.alfooneh@gmail.com
c9b56f5d05836f4ddbd82f57359b3e2ec025ed94
46fdd2668392639d4f21e660ab3523958af17b30
/avgn/custom_parsing/bird_db.py
59e96922468691bb4969c4cf717359abc943a175
[ "MIT" ]
permissive
timsainb/avgn_paper
fe45d241597f9167e87f41123a405e9ca315663c
63e25ca535a230f96b7fb1017728ead6ee0bf36b
refs/heads/V2
2023-04-12T05:10:19.641026
2020-11-20T00:04:17
2020-11-20T00:04:17
192,464,252
39
17
MIT
2022-09-01T17:27:02
2019-06-18T04:19:23
Jupyter Notebook
UTF-8
Python
false
false
2,883
py
import librosa from avgn.utils.json import NoIndent, NoIndentEncoder import pandas as pd from datetime import datetime from praatio import tgio from avgn.utils.paths import DATA_DIR, ensure_dir from avgn.utils.audio import get_samplerate import json from datetime import time as dtt def generate_json(wavfile, DT_ID, ...
[ "timsainb@gmail.com" ]
timsainb@gmail.com
9eb1a6445fdf8895df59d5415988e23973d31f8d
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/object_tracking/SiamMask_for_Pytorch/experiments/siammask_sharp/custom.py
455d4557b8a40ebc871dd01fb38c856582b605f1
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
7,820
py
# Copyright (c) Facebook, Inc. and its affiliates. # Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "chenyong84@huawei.com" ]
chenyong84@huawei.com
5157e077ce5ffc745c29f7e368d3e5a341315683
394b9ab2160d7a04c01e1c0fac6bf8eb11cd443c
/morty.py
52dfbaabc8f0c582c8fb59422207bfb4f2d595e8
[]
no_license
skbmir/Morty
426fdb8ac142e7c683cab85d5336d717e6b13383
43fed219b2aa62486a1994dd9757a49646e788ae
refs/heads/master
2020-04-12T11:02:14.096657
2018-12-19T18:29:43
2018-12-19T18:29:43
162,447,936
0
0
null
null
null
null
UTF-8
Python
false
false
2,373
py
import os import time import random import re from slackclient import SlackClient class Morty(): def __init__(self, token): self.token = token self.id = -1 self.name = 'Morty' self._client = SlackClient(self.token) def connect(self): if self._client.rtm_connect(wit...
[ "sys32b@gmail.com" ]
sys32b@gmail.com
2f6d6e8502daa5a977294adc0b6e50a2d2e9437f
504f47c6421cb691e7b2381d46f2ed079bb1f6b4
/carlist/admin.py
2d6f24f99d384765d99f91e127268dc8d1460084
[]
no_license
kremerNK/cardealership
3e4dd10b338f9c5fd22351213b347216ac27d99b
e3c409187fc9e2acb6d61c215c38655d06922f5d
refs/heads/master
2022-05-31T21:24:45.065635
2020-04-28T18:37:22
2020-04-28T18:37:22
248,649,838
0
1
null
null
null
null
UTF-8
Python
false
false
120
py
from django.contrib import admin from .models import Vehicle # Register your models here. admin.site.register(Vehicle)
[ "easton08@protonmail.com" ]
easton08@protonmail.com
3f93d691c1cf7bd55311c6b0acb04564ea975929
d8b10ffdd20256520f551ae62779e4f604d60c3c
/Client1.py
785595993f807e9c8452abf473f96af7c5b2c047
[]
no_license
Ammar-Abid92/Chat-Application
4c7d6f8c852e2a3603cce9b1d34de47c740e4b0b
c8c22e3e049d069f3969b486dccbd479fc825df4
refs/heads/main
2023-04-03T17:23:59.812955
2021-04-07T16:11:33
2021-04-07T16:11:33
355,607,845
0
0
null
null
null
null
UTF-8
Python
false
false
6,038
py
# import all the required modules import socket import threading from tkinter import * from tkinter import font from tkinter import ttk # from chat import * PORT = 5000 SERVER = "192.168.0.153" ADDRESS = (SERVER, PORT) FORMAT = "utf-8" # Creating a new client socket and connect to the server client = so...
[ "noreply@github.com" ]
noreply@github.com
819377a42faca137e6f3c8552ba40278d718d397
61dfa0ac80a6979d135e969b5b7b78a370c16904
/analysis/sph/sph_to_grid.py
b8e2e61e6f5694b4914d9dc415446eab48893b98
[]
no_license
bvillasen/cosmo_tools
574d84f9c18d92d2a9610d1d156113730d80f5a4
6bb54534f2242a15a6edcf696f29a3cf22edd342
refs/heads/master
2021-07-13T06:43:32.902153
2020-10-05T21:17:30
2020-10-05T21:17:30
207,036,538
0
0
null
null
null
null
UTF-8
Python
false
false
10,248
py
import sys, os, time import numpy as np import h5py as h5 import matplotlib.pyplot as plt from scipy.spatial import KDTree cosmo_dir = os.path.dirname(os.path.dirname(os.getcwd())) + '/' subDirectories = [x[0] for x in os.walk(cosmo_dir)] sys.path.extend(subDirectories) from tools import * from sph_functions import * ...
[ "bvillasen@gmail.com" ]
bvillasen@gmail.com