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
c09f88c25686fb1faac2e42d494e7f86ee7d7702
ae0c2806c009263fbd608b1381d96eb378ff115b
/aizynthfinder/utils/models.py
30f964dcb6fcb867dfd6a421ad9798c733115492
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yinxx/aizynthfinder
45efcbafcf1d11199ec997129bc6a44ad4365952
20a7aed2db46e7df9dfeeaae0427f1e6e01b54e3
refs/heads/master
2023-06-25T00:21:36.983089
2021-07-26T08:52:47
2021-07-26T08:52:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,042
py
""" Module containing helper routines for using Keras and Tensorflow models """ from __future__ import annotations import functools import os from typing import TYPE_CHECKING import numpy as np import requests import grpc import tensorflow as tf from google.protobuf.json_format import MessageToDict from tensorflow_ser...
[ "samuel.genheden@gmail.com" ]
samuel.genheden@gmail.com
93f4ab82289a1cae7bd28c9673a3261468fa1ea4
bf1cf014b2965fb8d38f7a58cc812dcd65719ed9
/Other/bfs.py
5b6e888e47f512b80377dd550e7902822ea62a5c
[]
no_license
imthefrizzlefry/PythonPractice
c07408592b0f5234217ec448cd2b81415332afbc
954a25e77435d97a1a0f12c38568ee68686e6960
refs/heads/master
2021-02-20T16:23:56.483052
2020-06-13T08:08:54
2020-06-13T08:08:54
245,341,475
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
def BFS(s, Adj): level = {s:0} parent = {s:None} i=1 frontier = [s] while frontier: next=[] for u in frontier: for v in Adj[u]: if v not in level: level[v] = i parent[v] = u next.append(v) ...
[ "imthefrizzlefry@gmail.com" ]
imthefrizzlefry@gmail.com
aa15d2821db84d76f0d3d14f1a925ab2dafb08e2
ad5b54e8578a85270035fc4020a1c143f040bc88
/accounts/urls.py
8400662b63951436769a75eb44404dfd475df9af
[]
no_license
7990satyam200/flickclone
18c6e181bc9daaaea0f75e7f6838df3e99d818be
0e461030e55c445b27dcc9216af9a0941266fcb2
refs/heads/master
2022-12-09T08:02:07.814093
2020-07-22T14:06:38
2020-07-22T14:06:38
142,027,713
0
0
null
2022-09-23T22:30:00
2018-07-23T14:43:40
CSS
UTF-8
Python
false
false
571
py
from django.urls import path, include from .views import profile, signup, myhome from django.contrib.auth import views urlpatterns = [ #path('signup', user_creation, name = 'signup'), path('signup', signup, name = 'signup'), path('', myhome, name= 'home'), #path('register', register, name= 'register' )...
[ "satyammishrastanford@gmail.com" ]
satyammishrastanford@gmail.com
680c9979e7e3ba578be70bbc89a825ccf18bbc4b
770989d54a53a431a9fc7b5d292c109e534176ac
/InterviewQ/reverseNum.py
a351afdca76f79380bb8be1c0364a3358abc1a5e
[]
no_license
pawansingh10/PracticeDemo
7d21c9cd2007213b25ae972f22cfa08cf8ccaa40
ea6a74c12ea5964a04ceffaa2976638b4cf82a70
refs/heads/master
2022-12-09T15:31:05.428684
2020-09-02T11:00:28
2020-09-02T11:00:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
def reverse(n): temp=n reverse=0 while n>0: rem=n%10 reverse=(reverse*10)+rem n=n//10 return f'Reverse of {temp} is {reverse}' n=int(input("Enter a num:")) print(reverse(n))
[ "pawansinghkk109@gmail.com" ]
pawansinghkk109@gmail.com
0821372ed21e443f9b92543cf15566b5b9260d3d
3c24d61873e985e0979b7c43e979f03f8122eb61
/ControlPanel/migrations/0002_auto_20171023_0906.py
fada7f7052571621d3db3207ce134fecee265d46
[]
no_license
Mansuete/Rozklad
83209bc9dc16f95a95bfbaf438004732326d558a
300fa33939a1c26eb1f063c2f00fded9bca0a944
refs/heads/master
2021-08-10T15:09:59.062022
2017-11-12T18:21:26
2017-11-12T18:21:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-10-23 06:06 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ControlPanel', '0001_initial'), ] operations = [ ...
[ "mansuete98@gmail.com" ]
mansuete98@gmail.com
771c4877e1e56e8d4e5f76036070730611638a89
59d4f15f524bf7942691ce535bab896001bd6d88
/src/sw/allotmentclub/alembic/versions/add_ah_signature_e2cfe9da21cf.py
b0ac2dcc31778b36bc4cd79f5b46d1d011f49b60
[ "ZPL-2.1", "MIT" ]
permissive
sweh/sw.allotmentclub.backend
93dfc667799a3dd7dd7cfcccb175cf61cb94721d
eb7f108e9e5d36b59e771cce105c3a68e421a90b
refs/heads/master
2023-08-05T02:36:06.186518
2023-07-30T11:57:28
2023-07-30T11:57:28
121,388,106
2
0
NOASSERTION
2023-06-30T22:26:17
2018-02-13T13:51:22
Python
UTF-8
Python
false
false
765
py
"""Add ah signature Revision ID: e2cfe9da21cf Revises: 897a3181401e Create Date: 2020-10-15 07:20:57.570537 """ from alembic import op import base64 import pkg_resources # revision identifiers, used by Alembic. revision = 'e2cfe9da21cf' down_revision = '897a3181401e' def upgrade(): signature = base64.b64encod...
[ "sebastian@wehrmann.de" ]
sebastian@wehrmann.de
93eebe7837cbbf5e07c5ae15e3fc60d134c2473b
0649b9aad2cc17e2e535795732ab5adb891401c2
/src/landmarks/models.py
4c526a7db2fceccadb5ad3544b712cff509f6a1d
[]
no_license
abdallahokasha/django-demo
501ee66ff39db03571488a74a8f556088e1f4f53
0485e7b55bbe5bbacf258b1aabd2a2bb222052f5
refs/heads/master
2021-06-11T15:53:58.912483
2020-06-20T10:03:39
2020-06-20T10:03:39
143,612,888
0
0
null
2021-06-10T20:43:41
2018-08-05T12:56:53
Python
UTF-8
Python
false
false
663
py
from __future__ import unicode_literals from django.db import models from django_countries.fields import CountryField # Create your models here. class Landmark(models.Model): title = models.CharField(max_length=50, unique=True) description = models.TextField(max_length=500) country = CountryField() la...
[ "abdookasha56@gmail.com" ]
abdookasha56@gmail.com
5409791ba70015c93c1ee6d56aeb7b933d972ae7
8edc5c687d8c18951f770d4d5debd1324d28c06d
/archive/logistic_regression.py
a1bafe0ea7247884c77a9e0de10cc18439d86768
[]
no_license
geerc/bracketlytics
cac14ea3fef921f9ad254c942312852565784ef6
2a0253a90763f1164e241f8b49a6f2f8dd5ab0de
refs/heads/master
2021-06-10T04:02:19.615815
2021-04-06T14:19:19
2021-04-06T14:19:19
152,919,933
0
0
null
null
null
null
UTF-8
Python
false
false
13,040
py
import numpy as np import pandas as pd import seaborn as sb import functions from queue import * from pandas import Series, DataFrame from pylab import rcParams from sklearn import preprocessing from sklearn.linear_model import LogisticRegression from sklearn.model_selection import train_test_split from sklearn import...
[ "geerc@allegheny.edu" ]
geerc@allegheny.edu
91639f4cb58fb98baf23043a134799e43c477abe
07dd30282dfebd49f085aa9a1ef8eec86249fc13
/Recruitment/apps/home/migrations/0012_company_companyemail.py
d4436a09ca72072a5ef499ddd6af784d7e1f5efb
[]
no_license
tkhto/Recruitment
4af6e1cf3668e10deb9c714ac6b25440ac007182
8e551d417b6ba0143bd9636a85ea46ebaba944f4
refs/heads/master
2021-05-25T07:55:54.023581
2020-04-01T08:51:45
2020-04-01T08:51:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
# Generated by Django 2.2.8 on 2020-03-25 12:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0011_banners'), ] operations = [ migrations.AddField( model_name='company', name='companyEmail', ...
[ "11789014@qq.com" ]
11789014@qq.com
2e0ccc75e8c2d4ee4a8d8c0cbb29d30c6e44106e
bdd7779b8fd15e96ed09111843e3f202108b78fd
/cos1.py
e12c34abc8d6e5f995c2b104df912270bdd3a28f
[]
no_license
s22624-pjwstk/konsulatacje
aa63216e96e5cfa1a25ab27853cad2920ab8b1f9
8742f806d8ca8413a4a833017cdcfc1ef436e78a
refs/heads/main
2023-03-27T07:04:18.569441
2021-03-30T19:41:54
2021-03-30T19:41:54
353,121,341
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
def cos(x): print(x) cos(2) def zewnetrzna(a): def wewnetrzna(): print(a) wewnetrzna() zewnetrzna(3) def operator(s): def plus(a,b): return a+b def minus(a,b): return a-b if s=="+": return plus elif s=="-": return minus o=opera...
[ "noreply@github.com" ]
noreply@github.com
16e59e20f7df9e8f624ab2a4d96bc91cbdf7ad6f
b5b3c006a6dcd607df2546d30e7789225b3699c7
/optionstrading/nysedump100.py
de79ccafaaa0526537bad3580ba41b2c2a946ab5
[]
no_license
webclinic017/mypython
df3467f6d977f75640f68d7ccdf33c5772632b31
2bddc5ad8201a5a9fd962409b83a6dd20de67aea
refs/heads/master
2023-02-05T03:56:05.240956
2020-12-31T06:09:45
2020-12-31T06:09:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,369
py
import numpy as np import seaborn as sns import pandas as pd import matplotlib.pyplot as plt import basictools as bt import pandas_datareader as pdr import yfinance as yf import os import time sns.set(style="whitegrid") stocklist=[] with open('nsdqlist') as f: for i in f.readlines(): stocklist.append(i.rep...
[ "owenyang15@gmail.com" ]
owenyang15@gmail.com
fd9e511e51c72e0a1353b2c0bc7ae8c41207336b
5593282e0e1b2e3c1f19e06a6d9d8ee66bb06544
/learning_site/courses/urls.py
68a571a60615678420982dcf8c5543661e9037de
[]
no_license
aliglaser/django_basics
e9921c7adbe7107feb8d6776b78eeed565758768
72afc874724517eab7aa08902600da377d0acd6e
refs/heads/master
2020-03-20T20:05:24.338912
2018-06-17T16:32:34
2018-06-17T16:32:34
137,669,721
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
from django.contrib import admin from django.urls import path from django.conf.urls import url from . import views app_name = "courses" urlpatterns = [ path('', views.course_list, name="course_list"), path('<course_pk>/<step_pk>/', views.step_detail, name="step_detail"), path('<int:pk>/', views.course_detail, na...
[ "nurinuriprettynuri@gmail.com" ]
nurinuriprettynuri@gmail.com
3b181b6db3bb75bc674258d94064ebebd1809799
4c435f68c026b578f4564cc321353bb3d7ec1685
/day7-字符串和常用的数据结构/exam/double_ball.py
ca48de308d2dd3833f45d47efd1cfd434fde0bad
[]
no_license
Keekuun/my-pthon-100
a8a0e4fdd1f5264aadcf7302779ecbb968378481
ca3a703966f2c2d06761d960839d9ffecc9108f3
refs/heads/master
2020-05-18T23:59:37.153200
2019-06-02T08:48:58
2019-06-02T08:48:58
184,725,421
1
1
null
null
null
null
UTF-8
Python
false
false
810
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ created on 2019/5/5 @user: Keekuun 功能描述: 双色球选号 """ from random import randrange, randint, sample def display(balls): """ 输出列表中的双色球号码 """ for index, ball in enumerate(balls): if index == len(balls) - 1: print('|', end=' ') ...
[ "1315815604@qq.com" ]
1315815604@qq.com
d1e8f367dd86118abe6879d5f86109637b40400a
3b36a274dc6b6aa4417fc6d859436d5f50f208b7
/KMP.py
3b82377f2029ab61c092e42a95ed8f8d7ceaddb9
[]
no_license
saife245/ALGORITHM-AND-DATA-STRUCTURE
66baca2ba63d3b2cffcdafc19cd82913d18f47be
cd7145beaf0973463805abff5c498b98e2e88c80
refs/heads/master
2020-03-28T06:16:26.058603
2018-11-17T18:26:15
2018-11-17T18:26:15
147,824,324
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
def KMP(pattern, string): m = len(pattern) n = len(string) s = [0]*(n) j = 0 calc_next(pattern, m, s) i = 0 while i < n: if pattern[j] == string[i]: i += 1 j += 1 if j == m: print ("Found at " + str(i-j)) ...
[ "noreply@github.com" ]
noreply@github.com
ac9cbff6616993fe2ea2f872485ef2cd05863776
419873dd3b7412f704b1a7907b64a60b44cedf39
/python/树/1448. 统计二叉树中好节点的数目.py
00d74027dba7eea0cc91e63759b58e33a3e74545
[]
no_license
Weless/leetcode
0585c5bfa260713f44dabc51fa58ebf8a10e7814
0566622daa5849f7deb0cfdc6de2282fb3127f4c
refs/heads/master
2021-11-13T07:59:20.299920
2021-10-25T02:09:53
2021-10-25T02:09:53
203,720,668
0
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def goodNodes(self, root: TreeNode) -> int: if not root: return 0 from collections import deque queue = deque() ...
[ "twzcxx1@163.com" ]
twzcxx1@163.com
1e0b285cb8ac7fcbc73604eb8496ee2d461f6df6
9397cd77704723787d6646152d9829ad2ed7057c
/scripts/codeserver/stop.py
949aaabc931391e562773c3fbfeeeb42f6837713
[ "Apache-2.0" ]
permissive
cloudify-examples/cloudify-rolling-upgrade
028f5f4021c26ed3790c0be9ce3351ebb5e1bb24
b2edc632f3ee5b4cf2fd2ee018ac814cfaed6c6b
refs/heads/master
2021-01-17T10:22:59.410566
2016-10-20T10:34:34
2016-10-20T10:34:34
57,342,216
2
2
null
2016-10-20T10:34:34
2016-04-29T00:17:34
Python
UTF-8
Python
false
false
531
py
# # Start process that serves code to rolling upgrade process. In a # "real" system, this would be external to this blueprint # import time import sys import os import subprocess import traceback from cloudify import ctx from cloudify.state import ctx_parameters as p def stop(): ctx.logger.info("stopping codeserver...
[ "dewayne@gigaspaces.com" ]
dewayne@gigaspaces.com
17371c0c05eb0a54d12cfae1089ffbf4af13250e
0a2167a58687db61423fa71dc3982194c8dbf3a4
/photo_upload_js/search/urls.py
57e7e59472bb8529fa18d1bbca7daf94b1e18388
[]
no_license
nilldiggonto/js_with_django3
e6728192bc45313b43fc8c1696207ee0eb990445
ec8df007732ada06aba8956460a2ecb0d5f20b27
refs/heads/main
2023-03-13T18:17:13.465079
2021-03-01T12:43:40
2021-03-01T12:43:40
338,062,634
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
from django.urls import path from .views import SearchListView,post_with_photo_view urlpatterns = [ path('',SearchListView.as_view(),name='search-list'), path('up/',post_with_photo_view,name='up-post'), ]
[ "nilldiggonto@gmail.com" ]
nilldiggonto@gmail.com
726b58567c2d9b96312f1a2247fda43614f50976
1eedb7439266cc63df179aac8fae28cdcf83b3d5
/nuwe_data_viewer/plugin/project_explorer/model/container_node.py
311b62d82ec1eb6b6954727a6b4e65bfa9ca2073
[]
no_license
perillaroc/nuwe-data-viewer
6f11d19de920bbe2c9937ee4c3169cbe20dfafcc
12a49844980946f07523f87786b054aa6d9c2e10
refs/heads/master
2020-03-27T04:59:41.085059
2019-05-11T14:24:44
2019-05-11T14:24:44
145,986,751
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
# coding: utf-8 from nuwe_data_viewer.plugin.project_explorer.model.node import Node class ContainerNode(Node): def __init__(self, display_name="", node_id=None): Node.__init__(self, display_name, node_id)
[ "perillaroc@gmail.com" ]
perillaroc@gmail.com
f09d106fdba174b4d50bd24e47c76d79bcff3de6
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/galex_j16155+5048/sdB_galex_j16155+5048_coadd.py
910403f482b6eda6d8e12bdf3a0cae2ad2051389
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[243.88925,50.807131], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_galex_j16155+5048/sdB_galex_j16155+5048_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCUR...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
c30195e20830c6a9fff035c49fb0fb984e4a74c3
1be9a0eb0d5a359f6602e940e251cb5f926c5d3b
/accounts/urls.py
ff35917108298c8f30d271239109626d80048147
[]
no_license
Ashish138200/SocialMC
5d6420eb3d6102b3c5916407b8316fdcc8a2d4c8
a945ab99d0a34d68994ad6946e40b0712a2ca510
refs/heads/master
2023-07-15T07:18:28.352298
2021-08-26T10:36:37
2021-08-26T10:36:37
288,792,754
0
1
null
2020-12-15T18:48:40
2020-08-19T17:18:07
Python
UTF-8
Python
false
false
501
py
from django.urls import path from django.contrib.auth import views as auth_views from . import views app_name = 'accounts' urlpatterns = [ path(r'login',auth_views.LoginView.as_view(template_name='accounts/login.html'),name='login'), # Display the login form and handle the login action. path(r'logout/$', a...
[ "ashish.chaurasia_ccv18@gla.ac.in" ]
ashish.chaurasia_ccv18@gla.ac.in
f23afbc4e4161baef516abce0a35323d97d2e03e
afd9fcd9b15602167d8b09a7fcc32b2e6454c25b
/models/discriminator.py
e0d4fecf6eba078ebbcc89be9c94940e84070413
[]
no_license
Andrewsher/cincgan
3bcecc0d140bc540b031651737f4cc8c7e996a68
a99c78881bef25459cf8d31ebd3605e11c9ed17a
refs/heads/master
2022-04-19T19:50:33.627938
2020-04-05T07:45:17
2020-04-05T07:45:17
221,356,193
2
0
null
null
null
null
UTF-8
Python
false
false
3,813
py
from torch import nn import torch.nn.functional as F class Discriminator_lr(nn.Module): def __init__(self, in_channels=1, in_h=16, in_w=16): super(Discriminator_lr, self).__init__() self.conv1 = nn.Conv2d(in_channels=in_channels, out_channels=64, kernel_size=3, padding=1) self.conv2 = nn.C...
[ "30388833+Andrewsher@users.noreply.github.com" ]
30388833+Andrewsher@users.noreply.github.com
23776c548405a31bbc4586662ae2da0f5154d617
dd50e92d9d05f00d96aefd61e1422f1897397af1
/venv/Scripts/futurize-script.py
482848934b8f88ae0adfafc67a6dc8fcb065b8d9
[]
no_license
zrxingchen/bwshop
ca60f55a948b64a07df4b31d6dc8b26bae0ceb4b
53d5bee96adf8b7fea8f560907555f2b4068b6ce
refs/heads/master
2022-07-29T21:19:49.183645
2020-05-23T07:54:15
2020-05-23T07:54:15
266,286,628
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
#!D:\BWshop\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','futurize' __requires__ = 'future==0.18.2' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "2425277916@qq.com" ]
2425277916@qq.com
520f84d54ac2da80bd3c31865bc75383a40b08e6
77f9dc39ea7bbf904201ccfda9a806ce8c68605d
/hamiltonian_cycle/erdos_renyi_model_generation.py
fce71db43449b9c453ae3476eddd7a16fdb42fa8
[]
no_license
TzuriR/Complex-Networks
c5787ab5be27d9c4356dd12e36deb5f0f11a8ac0
76cd862193e699799d87177a19b7cd792eaf7a52
refs/heads/main
2023-06-05T10:43:02.045696
2021-06-23T18:36:26
2021-06-23T18:36:26
308,382,110
2
0
null
null
null
null
UTF-8
Python
false
false
2,428
py
import networkx as nx import matplotlib.pyplot as plt # Generate graph def gen_graph(n, p): g = nx.generators.random_graphs.erdos_renyi_graph(n, p) print("g.nodes:", g.nodes) print("g.edges:", g.edges) nx.draw(g, with_labels=True) plt.savefig("simple_path.png") plt.show() '''...
[ "noreply@github.com" ]
noreply@github.com
fb3a5e9f5dce86eb789b96780d23bfa15143549e
f48b15249ffe83bb7aaa5c808fc133ee1e3779d1
/clustertracking/constraints.py
09859930c059bdc0ca95ba1ffb629dc83db8674a
[]
no_license
caspervdw/clustertracking
15aff332c6524bad265637e547d8f40e563d8991
2a45f71ed84bd2c31b001a7ce2f25e58798659c6
refs/heads/master
2020-05-22T04:14:47.724621
2017-03-14T14:20:40
2017-03-14T14:20:40
64,404,511
0
0
null
2016-09-27T11:09:48
2016-07-28T14:57:36
Python
UTF-8
Python
false
false
6,727
py
from __future__ import division, print_function, absolute_import import six import numpy as np from .utils import validate_tuple from .fitfunc import vect_to_params from warnings import warn def _wrap_fun(func, params_const, modes, ids=None): def wrapped(vect, *args, **kwargs): params = vect_to_params(ve...
[ "caspervdw@gmail.com" ]
caspervdw@gmail.com
111628150e762a86920296bd8ea444544424cdbd
f1c51fb8638dcf8876b376c7574f777956812f8a
/product/migrations/0002_auto_20170910_2136.py
a79959aa08bdc6963bb9188ccc79c34ef6ead83c
[]
no_license
toshunster/mudhaa
1ca4cadd84b506588ef35bcf7dea643243cbf681
f2607ed314d8a57978dcb18365ae76858d62b745
refs/heads/master
2022-12-11T18:33:37.042636
2017-10-21T20:21:00
2017-10-21T20:21:00
103,202,463
0
0
null
2022-12-08T00:36:09
2017-09-12T00:32:59
JavaScript
UTF-8
Python
false
false
3,286
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-09-10 21:36 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import vendor.items.fields class Migration(migrations.Migration): dependencies = [ ('product', '0001_initial'), ] ...
[ "a.kukhtichev@mail.ru" ]
a.kukhtichev@mail.ru
57809b70323bdda9468df6f71f4fb499da34d2fc
655396f38912107eb94cef5a20e2f5073ba9b380
/app/blueprints/shop/routes.py
54b75999ee221d0b2fc8941d0a1e8de8ce039add
[]
no_license
btnewman7/PizzaBook
5b10656774ddf6740ec2dbf4cb460e79ae779958
0d5036666884d1d3ab5dab28030c79cd397a3979
refs/heads/master
2023-02-04T22:01:17.623014
2020-12-28T20:35:21
2020-12-28T20:35:21
325,065,118
0
0
null
null
null
null
UTF-8
Python
false
false
2,287
py
from app import db from .import bp as shop from flask import render_template, redirect, url_for, request, flash, session, jsonify, current_app as app from .models import Product, Category, Cart from app.blueprints.authentication.models import User from flask_login import login_required, current_user from datetime impor...
[ "btnewman7@gmail.com" ]
btnewman7@gmail.com
97179fb73975045ce078f06639e479f9e51d03b7
67a4d71c2f46069ee1c9da574fe13e503db4b67d
/pych-eight/8_6to8_8.py
f0637e14fef50e186e12dc07428c48cefab82c13
[]
no_license
2648226350/Python_learn
3804c545755e17ecdc45d671d2f5b0899a59b034
87c362120124fcd23d14c0bdd4c72e7b8e2d48ba
refs/heads/master
2023-07-11T22:00:12.683588
2021-08-16T13:58:19
2021-08-16T13:58:19
396,794,228
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
#8-6 def city_country(name, country): print("'"+name.title()+", "+country.title()+"'") city_country('Santiago', 'Chile') city_country('Peking', 'China') city_country('London', 'England') #8-7 def make_album(singer, album, number = 0): if number != 0: return {singer:album,'number':number} else: ...
[ "2648226350@qq.com" ]
2648226350@qq.com
04b8ed50c24c320d25836ef6911aab27ca4dc7b7
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/NOKIA-ENHANCED-SNMP-SOLUTION-SUITE-PM-IRP.py
da7cb8b996dbd193802a4c80260e2d37c3f3b78e
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
17,953
py
# # PySNMP MIB module NOKIA-ENHANCED-SNMP-SOLUTION-SUITE-PM-IRP (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NOKIA-ENHANCED-SNMP-SOLUTION-SUITE-PM-IRP # Produced by pysmi-0.3.4 at Wed May 1 14:23:28 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user da...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
14e91d5ff3559bb2e7cbecab0ad3db1f1db77c3b
323317f286577a719f2bdaecd9f1afa820c0b9a5
/1588 - Sum of All Odd Length Subarrays.py
abbb31ae6381b2dbf42b691a6dbe8f7b74680598
[]
no_license
AlexisDongMariano/leetcode
e896a69e58c438c3e9a0c7319fc69e2e4182fc9e
db9d529d935bc5e730c194b2c8bf9008bc65d8ca
refs/heads/main
2023-04-09T10:17:27.036420
2021-04-26T06:03:31
2021-04-26T06:03:31
329,826,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
# ============================== # Information # ============================== # Title: 1588 - Sum of All Odd Length Subarrays # Link: https://leetcode.com/problems/sum-of-all-odd-length-subarrays/ # Difficulty: Easy # Language: Python # Problem: # Given an array of positive integers arr, calculate the sum ...
[ "alexisdongmariano@gmail.com" ]
alexisdongmariano@gmail.com
767c2bfac9638826491205fbf82df7b3dfcd3672
6169a0af24553278c9493c9ac14d2351e9085afd
/tests/providers/pagerduty/hooks/test_pagerduty_events.py
3c68ba8247954e373fa2502a56287ba653a750a3
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
Nextdoor/airflow
c994f8fbaf48bebd891300f44dd78a58fd0b057b
863ec46e25ea49d6d5b006d8fd3a83f50aa9db79
refs/heads/master
2023-06-12T19:25:58.052324
2023-01-20T17:43:14
2023-01-20T17:43:14
54,076,271
7
8
Apache-2.0
2023-06-05T20:38:53
2016-03-17T00:34:45
Python
UTF-8
Python
false
false
2,285
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
noreply@github.com
854a55f2e40b628ef1f15c8ccb0cc9d75eb0bcfd
a9d8a58ed7a950fee3ee6514f33da7fd47c54906
/Dev1.py
4969e1ee84cdd06ebfc168ce8e1d494d2845a1b4
[]
no_license
sms632/PrincessRescue
68cf5c696457735f08af6bd525b0ec89f0df1356
e143a54b03fb130ee14461381fcbc8c0df7edc4b
refs/heads/master
2016-09-05T16:49:26.556629
2014-02-18T03:50:36
2014-02-18T03:50:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,034
py
from livewires import games import random games.init(screen_width = 850, screen_height = 850, fps = 50) class Grid(games.Sprite): image = games.load_image("graphics/emptyGrid.png") name = "Empty" def __init__(self, x, y): super(Grid, self).__init__(image = Grid.image, ...
[ "sms632@gmail.com" ]
sms632@gmail.com
a3a6a41f385fb6a0269c8f974db2ab292bb42810
1faf8c112d6e98afe64b4df91d0f7e730c27e0a7
/XGBoost.py
de02efabcb90c37c67df39faed48c72a41baa07d
[]
no_license
Shinarthas/XGBoost
eff309c3dced28fc127b4024c5d6f3e745a3d76d
46e221abc23dc67fb7588fa37f18277e7df92240
refs/heads/master
2022-12-05T01:55:12.501075
2020-08-19T21:06:55
2020-08-19T21:06:55
288,837,727
0
0
null
null
null
null
UTF-8
Python
false
false
2,250
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd dataset = pd.read_csv('Data.csv') X = dataset.iloc[:, :-1].values # все кроме последней колонки y = dataset.iloc[:, -1].values # только последняя колонка # разодьем данные на тестовые и проверочные from sklearn.model_selection import train_test_...
[ "tttaaabbb@gmail.com" ]
tttaaabbb@gmail.com
dd1221db4a088cf90bcdefff2c489c4642863126
9c3934402046850104523e9d942d62e42175b512
/theblog/urls.py
e8d6cd26d99ae97986d6defb2b4be29934047079
[]
no_license
Dekatron322/myblog
39954bf26ac7468dae2e888aba1a1855a0832835
4d4118eecb458dc53073cd8c3ff9eaa0235926c8
refs/heads/master
2022-06-18T07:01:57.218863
2020-05-08T08:35:57
2020-05-08T08:35:57
262,269,197
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
from django.urls import path, include from .import views urlpatterns = [ path('', views.index, name="index"), path('blog/', views.blog, name="post-list"), path('post/<id>/', views.post, name="post-detail"), path('search/', views.search, name='search'), path('tinymce/', include('tinymce.urls'))...
[ "muritalaibrahim097@gmail.com" ]
muritalaibrahim097@gmail.com
ba63a3a0d366b8dda91ff26b399b9d95d20616da
f4878f730033b8a4780bcca5c957232fdcbe132f
/backend/cron_service/apps.py
fd8595ddd05bac11e77707007ae0819e6224d33d
[]
no_license
edwardsujono/information_retrieval
d29b007d19a8c687d314a65aa87442bc3c19239b
8b4a2ca7483c855e173eae43aac65d2b9dc0ee1d
refs/heads/master
2022-12-13T03:23:16.804343
2018-06-27T09:07:56
2018-06-27T09:07:56
120,317,716
0
0
null
2022-11-04T19:17:50
2018-02-05T14:45:22
Python
UTF-8
Python
false
false
98
py
from django.apps import AppConfig class CronServiceConfig(AppConfig): name = 'cron_service'
[ "edwardsujono81@gmail.com" ]
edwardsujono81@gmail.com
d1f4fd1c4dac2532a9b867e1f6f280506af13056
4cc40da438b404be9f5fdaa35fddd8fb9fb3d46b
/branched-CNN.py
f276948126dd1984a779a042df787cb6630d7f4c
[]
no_license
vlimant/summer16-NikolausHowe
266e993864342b13e0f12cf70a313a192e2488db
b58fe9b4ffa068dd6584d8ce5d9bada83c40f0b6
refs/heads/master
2021-01-17T10:18:01.519593
2016-06-14T18:10:06
2016-06-14T18:10:06
59,652,326
0
1
null
null
null
null
UTF-8
Python
false
false
1,417
py
# coding: utf-8 # # Branched Convolutional NN # Import io functions import setGPU0 from io_functions import * from draw_functions import * # ## Prepare the data train_data, test_data, train_labels, test_labels = train_test(shape=(1, 20, 20, 25), split=0.33) # ## Create and train the model model1 = Sequential() mo...
[ "root@titans.hep.caltech.edu" ]
root@titans.hep.caltech.edu
d28a215ec3464b1ddb53f92fdd49c009a6fe2f10
40cfe070ef7e11b98ca89b2507fb74180bc31970
/train.py
923c4c200cf5a9d8145ce491a8341ba55fce16f0
[]
no_license
Cx-x-x-x/4Models
7b609d1d21cf4e971c91c18a02fdbce717b4d775
fd200b37bcf73fbad0ef033d6b9a99d341e60cd2
refs/heads/master
2022-10-08T23:42:01.805481
2020-06-12T09:20:30
2020-06-12T09:20:30
271,168,885
0
0
null
null
null
null
UTF-8
Python
false
false
7,205
py
import os import argparse import time from tensorboardX import SummaryWriter import torch from torch import nn import torchvision from torch import optim from torchvision import transforms from torchvision.datasets import ImageFolder from torch.utils.data import DataLoader from config import device, ...
[ "1004058940@qq.com" ]
1004058940@qq.com
2e8d96e368d310b51d62e922dc251c8951687ea3
8a00b3895a626cf539a526b62c517deea06971d4
/stage.py
9d9b0332b17a9699b9cb20e7429128322ce4261e
[ "MIT" ]
permissive
SJang1/korea-president-petition-crawler
f77083cdfaa7efc38b4e39966259c47f310613d9
a377b098562a2c22748c437fd320cc8f7aabcdcb
refs/heads/master
2020-04-22T13:23:50.183111
2019-02-13T00:45:48
2019-02-13T00:45:48
170,407,752
1
0
null
null
null
null
UTF-8
Python
false
false
806
py
import requests from bs4 import BeautifulSoup import time import os codes = ["522031"] def crawl(code): url = "https://www1.president.go.kr/petitions/{}".format(code) data = requests.get(url) return data.content def user(string): httprequest = BeautifulSoup(string, "html.parser") wrapuser = http...
[ "noreply@github.com" ]
noreply@github.com
0578556910a5e7586de81a51629b513859639bf0
c56adc19280a64644db0610e123770b5a81f7cd0
/tools/tools_in_py/model_editor.py
32c5ddbb23b610f08e54150a9d9244d65d60616b
[]
no_license
misabelber/LMC
060eeb57d2a546812a0e421596a88a741415eb79
df1d054842c0831e473298d9878df0ade8edefdb
refs/heads/master
2020-03-14T10:51:40.707716
2019-06-13T12:37:51
2019-06-13T12:37:51
131,577,794
1
3
null
2018-06-12T08:48:34
2018-04-30T09:30:32
C
UTF-8
Python
false
false
775
py
import gammalib import math import numpy as np #Open model file models = gammalib.GModels("../../models/LMC_model.xml") centerRA = 80.0 centerDEC = -69.5 centerRA = math.radians(centerRA) centerDEC = math.radians(centerDEC) for model in models: name = model.name() tipo = model.type() if tipo=="PointSour...
[ "m.isabel.bernardos@gmail.com" ]
m.isabel.bernardos@gmail.com
3d656918b0a1a22e90490255d65024864c89b8db
795e311122381d25101f459c4f6f95e3ffa32981
/day3/sz1.py
18c7a3be5c48ef0ad83c978b383e690db13a2d09
[]
no_license
ljyxy1997/winter
7567df5eb55cf69b0cc17e898cb5bda0e7a5e578
c0f9228fc4c4ea91bacbb234d1351a8d1779b3a8
refs/heads/master
2023-04-13T21:32:49.337124
2021-04-27T12:17:06
2021-04-27T12:17:06
362,072,003
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
temp = input('猜测我设定的值') num=int(temp) while num!=8: num=int(input('错了,再来一次')) if num==8: print('厉害') else: if num>8: print('太大了') else: print('太小了') print('结束')
[ "ljyxy1997@163.com" ]
ljyxy1997@163.com
08631b60708e517e228451d1629faaf2e74402f4
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-6757.py
b4b3b9f3005553b5202d6d4dff1c2e95e4d0376b
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,289
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
089fa62ac91f6bcb54a71d72d585c63e4ec9ea6f
0c4c05487cc51269527e7be876257a7bc90af2c9
/setup.py
4c9deb5e69d54a4f65299810e9cecd4268406a81
[]
no_license
brightendavid/image_test
87f214c026909d797f7b43b75b9b8762d5108480
8fee89276a2b39fc9abe29a565c44d88e6e9b79f
refs/heads/master
2021-09-02T05:23:10.608047
2017-12-30T19:02:48
2017-12-30T19:02:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext setup( name = 'ela', version = '1.0', author = 'Shreyash Sharma', # The ext modules interface the cpp code with the python one: ext_modules=[ Extension("ela", source...
[ "shreyneil@yahoo.co.in" ]
shreyneil@yahoo.co.in
f446b6c8b2833b421592915d637db99761f2c596
18aee5d93a63eab684fe69e3aa0abd1372dd5d08
/python/paddle/nn/layer/distance.py
e2fb10f252f1008f0ddc5e41e1e48afbedb8d67c
[ "Apache-2.0" ]
permissive
Shixiaowei02/Paddle
8d049f4f29e281de2fb1ffcd143997c88078eadb
3d4d995f26c48f7792b325806ec3d110fc59f6fc
refs/heads/develop
2023-06-26T06:25:48.074273
2023-06-14T06:40:21
2023-06-14T06:40:21
174,320,213
2
1
Apache-2.0
2022-12-28T05:14:30
2019-03-07T10:09:34
C++
UTF-8
Python
false
false
3,333
py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
noreply@github.com
094e3921b57c77c4982b0f0a93f74df051c9f37b
ae2ad8f6361a79f332a79ff5a130eceb71a8be82
/main.py
113defaef88a49fe87ab609a293be7209114ddc7
[]
no_license
guipuglia/MoodleEpsReview
a419a8874bd7d007463d5243e67896146b60349f
9e6a47093fd86817ebe5901edd1a37512bd77d2e
refs/heads/master
2021-01-10T18:26:38.756145
2011-11-11T16:49:51
2011-11-11T16:49:51
1,973,361
0
0
null
null
null
null
UTF-8
Python
false
false
3,266
py
# -*- coding: utf-8 -*- import Login import Parser import Student def defineGrades(login): p = Parser.Parser(login.open('http://paca.ime.usp.br/grade/report/grader/index.php?id=491&perpage=100&page=0&sortitemid=firstname')) table = p.clean('table','id', 'user-grades') listSt = p.getStudentsGrades(table) pp = Par...
[ "guiipuglia@gamil.com" ]
guiipuglia@gamil.com
caa4c2efe44602245bbd886dd1a4469c34199a3b
0a67e192610eb82779131314de3302452bf542cc
/checkout/views.py
85bbe441b11f0789565468ffa84983135a8fa1cb
[]
no_license
Code-Institute-Submissions/SaraSanchezz-4MilestoneProject_OctResub
ad6894f486b6b5cfd652c05fcc056257b960f35e
4f9d2b0ec22a4502096199623c43683648a219ba
refs/heads/master
2023-08-22T00:32:08.503641
2021-10-24T11:05:22
2021-10-24T11:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,898
py
from django.shortcuts import ( render, redirect, reverse, get_object_or_404, HttpResponse) from django.views.decorators.http import require_POST from django.contrib import messages from django.conf import settings from .forms import OrderForm from .models import Order, OrderLineItem from products.models import Pr...
[ "sarasanrodrigo@gmail.com" ]
sarasanrodrigo@gmail.com
50ddef3e12604adbe00d3db3058a99758b1c10a0
e02af62b3d0b8737a728b8169b91c37b7b99d0ab
/main.py
43fc35413573f68d256ac16ab919537e9c42fe30
[]
no_license
z9fr/DOS-Attack-Script
debaa6f7e7d04caaa658407d16208e4da2c32927
098920523bf5c152a86e1e32a8298f908f7f24fe
refs/heads/main
2023-03-22T01:45:19.137301
2021-03-22T18:51:46
2021-03-22T18:51:46
313,788,301
11
5
null
null
null
null
UTF-8
Python
false
false
1,604
py
import socket import threading #target_ip = '195.20.52.179' #fake_ip = '182.21.20.32' #port = 80 print("\n\n") print(" +-------------------------------------+") print(" | nov, 18th, 2020 |") print(" | This is a simple DOS attack script |") print(" | Github: htt...
[ "noreply@github.com" ]
noreply@github.com
cc7d477682c93f80dadceaf8917cd2381faf4d91
3cbf2c8d87e7cd187a94059ae985289319661343
/starschema.py
dd0a62a95fd8359b1c84e40502db1e3ef8e7abcd
[]
no_license
SkNuwanTissera/Wtrainer
a8c6173ea18818826df118f2204f2187cfda4cd5
36dc5a669c8a617ebf8425dc51b388f954dcbd2c
refs/heads/master
2022-11-26T21:33:46.119592
2020-08-01T05:35:49
2020-08-01T05:35:49
283,975,245
1
1
null
null
null
null
UTF-8
Python
false
false
5,230
py
####################################################################### # READ THIS BEFORE EXECUTION ####################################################################### # This script will delete the current db file and create a new db file # with all new data in JSON. This has an limitation when it comes to # addin...
[ "nuwan.tissera@my.sliit.lk" ]
nuwan.tissera@my.sliit.lk
951368bbcf5ba887bbf79ec62af53c593f6f56e3
4ba1d93c5930afca3c5831504f02403999df1d9c
/Forecasting_cococola.py
955a8bcb152f483b33b183188453502b9de1b00e
[]
no_license
Isiribn/Forecasting
39273142f93cc657e1e77ac05180c55b4b1287db
ddb8065aa2a677e5ac42a7a7248ec953843341ba
refs/heads/main
2023-04-01T05:57:44.900968
2021-04-09T11:28:58
2021-04-09T11:28:58
356,242,339
0
0
null
null
null
null
UTF-8
Python
false
false
2,661
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import pandas as pd data=pd.read_excel('CocaCola_Sales_Rawdata.xlsx') data.head() # In[2]: data.shape # In[3]: data.isnull().any() # In[4]: data.duplicated().any() # In[5]: data.info() # In[6]: data.describe() # In[7]: data.hist() # In[10]: i...
[ "noreply@github.com" ]
noreply@github.com
563546f5b953d8a2b7b512856a99df5b88aef108
bc23a3734e3ae3be64c6e5a1ae94204552d1a554
/Arrays and Strings/06_findAinBOfString.py
7556ff9313cf7b568601a6be3437ae664db28a80
[]
no_license
mmrraju/Coding-interview-preparation
c3c2fc91c5ccbb383f4672af4ea77f169281529c
738949fe7bc6e50d4bd55ac0b2b47c002ca0f464
refs/heads/main
2023-08-29T16:06:46.990849
2021-10-20T07:15:46
2021-10-20T07:15:46
408,050,819
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
""" Given two stings ransomNote and magazine, return true if ransomNote can be constructed from magazine and false otherwise. Each letter in magazine can only be used once in ransomNote """ magazine = input() ransomNote = input() def isMagazineInRansomNote(magazine, ransomNote): d = {} for ch in maga...
[ "noreply@github.com" ]
noreply@github.com
46733eaf24c7a1380cffa1e8c03d6f2273e2c0eb
5a6e6741fe7c64cb99b6fbff66ab332d3563ffa9
/src/interaction/dot.py
3e15b615f1a9f926b58d39b9c4882b45fb67e862
[]
no_license
gowhale/braille-pi
06c9fdf05f0bc5a8ae3f2c18cb74e2c487e103dc
d184e7cc2f4cc6f339186a85057922706fc69a8a
refs/heads/dev
2023-07-18T05:27:21.156461
2021-08-27T14:01:08
2021-08-27T14:01:08
320,604,946
0
0
null
2021-08-16T12:52:21
2020-12-11T15:02:02
Python
UTF-8
Python
false
false
1,376
py
import RPi.GPIO as GPIO from random import randrange class Dot (): """This class links the hardware's dots to the code's dots. Attributes: gpio_pin (Int) Value of the GPIO pin each dot is connected to. braille_dot (Int) Which dot out of 6 this object represents. value ...
[ "gabewhale@gmail.com" ]
gabewhale@gmail.com
d7c0287fb7a3ef5af824015f71ad03d55a1bcc74
83714c643612926730641c95a2a656a3ac1a38be
/dsp_hw4/demo8_exe6/echo_input_output.py
f5e27f1ecff0794466479f7c4f070d315d5e9f1e
[]
no_license
maying0120/Dsp-Lab-NYU6183
122a71f0ec63acf844861ea1b398045998d5bf8f
0a6cdf5ea899caaab50e8b69b73d2755112b045c
refs/heads/master
2023-01-14T11:37:24.525234
2020-11-22T06:00:41
2020-11-22T06:00:41
314,956,844
1
1
null
null
null
null
UTF-8
Python
false
false
2,674
py
# echo_with_mic_input.py import pyaudio import wave import struct from myfunctions import clip16 WIDTH = 2 # Number of bytes per sample CHANNELS = 1 # mono RATE = 16000 # Sampling rate (frames/second) DURATION = 2 # duration of processing (seconds) N_samples = DURATION *...
[ "maying012@gmail.com0" ]
maying012@gmail.com0
7e8f54959ba00bb2e701fd4aa3e06bdcd1633614
1cfc8c4b48a85feeab5c45199e69454cc7e01f75
/facebook_downloader/cli.py
47124b08787a3c6bc60c9c1dedfc867e804f15f5
[ "MIT" ]
permissive
swapnil-altsmedia/facebook-ads-performance-downloader
7b2b220bc2cf6c20e4fb1ce1c111248a4298af59
b60927e8e3b79516de950d2660c8dc5eb410ee48
refs/heads/master
2021-01-19T20:06:07.486724
2017-03-01T09:55:20
2017-03-13T16:23:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
"""Command line interface for facebook downloader""" from functools import partial import click from facebook_downloader import config, downloader def config_option(config_function): """Helper decorator that turns an option function into a cli option""" return lambda function: \ click.option('--' ...
[ "hendrik.makait@project-a.com" ]
hendrik.makait@project-a.com
71430c67e95fb12ba1c50e236cd10864470a4b1f
a06fe2de2e7644fe51da23b672d512f471c2cd95
/prueba.py
843decea70e907e3c30b0d217458426e4583b5b2
[]
no_license
ANVRRT/Intelligent-Business-Advisor_OutDated
7d9d1963e8c9819fffdabc67da6c7900ef322dd8
2c647f2a742a309992b9b2f6797eece9ebd78b51
refs/heads/main
2023-06-29T23:48:30.867779
2021-08-09T21:02:03
2021-08-09T21:02:03
390,874,182
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
import numpy as np import pandas as pd i=1 arch=pd.read_csv('./Supuestosgenerales/Generales/Categorias/categorias.csv') for i in range (1,6): arch[f"Año {i}"]="" arch.loc[0,f'Año {i}']='0' arch.to_csv("./Supuestosgenerales/Generales/Categorias/categorias2.csv", index=False) print(arch)
[ "albertonavarreteramirez@gmail.com" ]
albertonavarreteramirez@gmail.com
202b635cea301604ed59c0033bda3fbb572bbf3f
9407c2981b6fe999891af411678cf69a29f1be2d
/ups/__init__.py
dcdfa402dd8381ee01ec46e3d84469ad91c76c68
[]
no_license
tedshroyer/python-ship
91f8a0e60d16ac5d08761e943ce043cf3e8d9d83
966dc4a4e85fd2771a664d0d065f62b53cc56f5c
refs/heads/master
2021-01-17T22:02:28.904997
2011-12-21T21:30:04
2011-12-21T21:30:04
2,279,935
1
0
null
null
null
null
UTF-8
Python
false
false
12,397
py
import logging logger = logging.getLogger(__name__) import datetime import StringIO import binascii import urllib2 SERVICES = [ ('03', 'UPS Ground'), ('11', 'UPS Standard'), ('01', 'UPS Next Day'), ('14', 'UPS Next Day AM'), ('13', 'UPS Next Day Air Saver'), ('02', 'UPS 2nd Day'), ('59', '...
[ "tedshroyer@gmail.com" ]
tedshroyer@gmail.com
6bdbf8c569a7e5e03f81924aa3e808424180af0e
8354d7f388d1ceb4c270b1b3023ab0bd3fbb91f2
/recordLoggerId.py
9798ebffefb5a8442e8c6f87ad7f377786878633
[]
no_license
vathymut/pynha
bc901ed4c3da65e033695232fe9afe2f3f7e7ba4
37041a0aa4b1e2401b730c82f0d85e30ad7ef8d6
refs/heads/master
2020-05-25T09:50:11.880983
2015-01-20T19:46:39
2015-01-20T19:46:39
28,049,487
0
0
null
null
null
null
UTF-8
Python
false
false
7,633
py
# -*- coding: utf-8 -*- """ @author: Vathy M. Kamulete """ from __future__ import division from ioFunc import gen_issuer_names, create_issuer_dir, safe_delete, create_dir from contextlib import contextmanager from os import walk, remove, getcwd, chdir from os.path import dirname, abspath, join, exists import csv # D...
[ "vathymut@gmail.com" ]
vathymut@gmail.com
61b29b234ac538819a506f9b35ad04235d880747
6e1f550b71e212cec90f070e2e9a1dd714de55d6
/setup.py
1586e43ed05c743040c5c403f039e0139055220a
[ "MIT" ]
permissive
wbond/gears-libsass
b4f7986ffa642b79a5b1ab3125c9d9056d6777fc
a861089306572b5250c3d3716abd916dc140fa20
refs/heads/master
2020-04-10T06:21:20.079859
2018-12-07T17:09:42
2018-12-07T17:09:42
160,851,933
1
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
import os from setuptools import setup, find_packages def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() setup( name='gears-libsass', version='0.1.0', url='https://github.com/wbond/gears-libsass', license='MIT', author='Will Bond', author_email='wil...
[ "will@wbond.net" ]
will@wbond.net
9cf95ea8c8587547eda0ba121e569f8022e1aa55
19172e15355d4ef8ae4622d0ed6993c0cd4d80ea
/watchmen/pipeline/single/stage/unit/utils/units_func.py
1092797ba1dbe85e75457093d67cdc1b76bc612d
[ "MIT" ]
permissive
TSRAW/watchmen-matryoshka-doll
d5b50fc4014fbea11c2765f377ca904d17a4c579
ab17e36a0f26f8e461296a222e6f7f2a4532c877
refs/heads/master
2023-03-18T05:40:08.354019
2021-03-17T15:52:34
2021-03-17T15:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,313
py
from datetime import datetime from watchmen.common.constants import parameter_constants, pipeline_constants from watchmen.topic.factor.factor import Factor from watchmen.topic.topic import Topic INSERT = "insert" UPDATE = "update" SEQUENCE = "sequence" NUMBER = "number" UNSIGNED = "unsigned" # 0 & positive TEXT = ...
[ "luke0623@outlook.com" ]
luke0623@outlook.com
97d31bc99318da98c36566bc2f7a502e1953d6d9
54e4c1a57765519c77d04fc02112c7f3bbacc595
/prob_1317.py
11e01b22fc965fafc4a81f4f1b4e4ef0ee88e358
[]
no_license
Hrishikesh-3459/leetCode
80a864228a8a2ae41ac2623f970a13f409234eed
42def57b8f70d179ca688314ae43747fc1e410a0
refs/heads/master
2023-05-07T01:37:19.375229
2021-05-25T01:58:05
2021-05-25T01:58:05
254,803,743
1
0
null
null
null
null
UTF-8
Python
false
false
744
py
class Solution: def sortString(self, s: str) -> str: x = list(s) ans = [] ans_2 = [] fin = [] count = 0 while True: for i in sorted(x): if (i not in ans): ans.append(i) count +=1 x...
[ "noreply@github.com" ]
noreply@github.com
fc49527e3308118e7a6f32d4d744ba81f26db2a1
a7a5f39c2e95ac1317c6cd786517e028991c779a
/Analysis/use_cases.py
4a67fd300ba050e038fc21fb12c1fcdc508eeaf5
[]
no_license
wojtunikd/requml-py
3a8eb259b70b9e604a0cdd150b47c81dd54e77d2
11c67050eae5447d484e75eae600173dd1cae446
refs/heads/main
2023-07-16T18:22:13.806273
2021-08-29T15:52:07
2021-08-29T15:52:07
380,573,135
0
0
null
null
null
null
UTF-8
Python
false
false
8,980
py
from Analysis.preprocessing import removePunctuation, getDomainSpecificWords, getPOSExclusion, getDependencyPhrases, recogniseAndRemoveBenefit from nltk import WordNetLemmatizer, word_tokenize, pos_tag from nltk.corpus import wordnet from nltk.corpus.reader.wordnet import WordNetError import spacy import copy nlp = ...
[ "wojtunikdw@gmail.com" ]
wojtunikdw@gmail.com
5b384065ee295c094d90ceb2aaf40d6d07405bed
f9a12a55058bca917d794e47151dc62fd0593e74
/testCases/search_functionality.py
ab4230c8063f72ad3f87a5e291d33249ad2f2a62
[]
no_license
RakshaKShetty/google_search_Func
a206f4c20fd31533f06ff862c14cb55eb98cd9d2
ab64958b975ef530a8c93495ef32c00195e52ee1
refs/heads/main
2023-04-10T17:45:21.120518
2021-04-01T05:03:09
2021-04-01T05:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
from selenium import webdriver import time from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome(executable_path="D:\Drivers\chromedriver.exe") driver.set_page_load_timeout("10") driver.get("https://www.google.com/") driver.maximize_window() que = driver.find_element_by_name("q") que.send_keys("Sof...
[ "rasharaksha@gmail.com" ]
rasharaksha@gmail.com
ea01c65d112a128bd1b7639e3c9175ad83806d63
c3ead530bd898c3cf42b3687ae74911bd02bdb7a
/turbulence_closure_les/utils.py
45b2c7094c1c3a564e56ffbe29ccb031687afb9a
[]
no_license
chandanbose/PAR-RL
19fc2b545de7a0cd10bb9efee307b7b211fa9130
043fd4f8f4834626c7d400dd4eabfa46521d9320
refs/heads/master
2022-12-09T05:18:49.366495
2020-09-23T17:28:30
2020-09-23T17:28:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,406
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Feb 17 21:45:02 2020 @author: suraj """ import numpy as np from numpy.random import seed seed(1) import pyfftw from scipy import integrate from scipy import linalg import matplotlib.pyplot as plt import time as tm import matplotlib.ticker as ticker imp...
[ "surajp92@vt.edu" ]
surajp92@vt.edu
18ba5290a9a85aa635408ceba37bbb7ee9cd17dc
da47f92a3595f8883a734c195545f2746ddefa36
/social-distance-detector Edge/Mobilnet/detect_video_social_distance_streaming.py
57ccad9d6e13b5e9d79172866c9d48736e7b92ab
[]
no_license
Eufalo/Social-Distance-Detector
b2e2a146b47cfb84636ae31d2556e28987ccad58
e165e08079f397271cf7c773e4d76b5b12c66332
refs/heads/master
2022-12-16T06:14:54.375563
2020-09-17T22:01:31
2020-09-17T22:01:31
296,444,322
0
0
null
null
null
null
UTF-8
Python
false
false
7,779
py
# USAGE # python detect_video.py --model mobilenet_ssd_v2/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite --labels mobilenet_ssd_v2/coco_labels.txt # import the necessary packages from edgetpu.detection.engine import DetectionEngine from scipy.spatial import distance as dist import birdView_tranform as bd_vie_t...
[ "adrian.gallegosanchez@gmail.com" ]
adrian.gallegosanchez@gmail.com
4b0cd507b0fe4a7edf15fe8c9200e2b3b34115f5
59522e46a73630181f19251b8bfef90e497c2f82
/coop_cms/apps/test_app/forms.py
a28945b3361774cf45cf14979bb0f7de7f2e8161
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ljean/coop_cms
9befe74edda007686007f8566cd2555856099ae8
9e6c70afb61b57dc0326fbb64f9d6b19c04f48a1
refs/heads/master
2023-07-11T16:02:35.945029
2023-06-30T12:16:26
2023-06-30T12:16:26
5,846,409
3
5
NOASSERTION
2019-08-30T10:55:02
2012-09-17T19:53:56
Python
UTF-8
Python
false
false
1,084
py
# -*- coding: utf-8 -*- """forms""" import floppyforms as forms from coop_html_editor.widgets import get_inline_html_widget from ...forms.articles import NewArticleForm, ArticleSettingsForm from ...forms.base import InlineHtmlEditableModelForm from ...forms.newsletters import NewsletterSettingsForm from .models imp...
[ "ljean@apidev.fr" ]
ljean@apidev.fr
ac377b70a426b10934be128abc5faaeed5e06d15
6ee04bffb8da70a9165cf653ffe6cfadc9db3e2d
/exercicios/vp2/funcao10.py
0817a913cba3605080882f0483fcd06a4bdf2f09
[]
no_license
dudumendes/fundamentos-programacao-20192
3a222a54d4912c7f690b71a4ed8d451dc2148c5b
88bc4c56a02b907c60b8054d2807eea8547e5c79
refs/heads/master
2020-07-07T14:41:34.715156
2019-11-26T14:05:29
2019-11-26T14:05:29
203,378,337
1
1
null
null
null
null
UTF-8
Python
false
false
252
py
def saudar(nome) : print("Ola, " + nome) def crazyFunction(x , y) : x = 2 * y + 3 * x ** (1/2) y = x * y + 10 return [x , y] resultado = crazyFunction(144, 20) print("x = ", resultado[0]) print("y = ", resultado[1]) saudar("Adamor")
[ "eduardomendes@Eduardos-MacBook-Pro.local" ]
eduardomendes@Eduardos-MacBook-Pro.local
f8458def60b40aa310866e09606019c8ff2c8aff
f65a4f7cb42ae5e8c00b1daa5a0b3eb3ec2a7b60
/recognition/models.py
646abef020d26203e6cf3314cbef5157b95405c9
[]
no_license
AbdelLoughlam/PFE_Projet
cffd4cb59d9a0f42b82504d8ce34c9f43881f0c5
4d266ab00dbc9278edd25cfea528f18f2bf2ada3
refs/heads/main
2023-06-24T11:46:58.033027
2021-07-23T12:34:23
2021-07-23T12:34:23
371,154,310
4
0
null
null
null
null
UTF-8
Python
false
false
304
py
from django.db import models from django.db import models from django.contrib.auth.models import User # # Create your models here. # class Student(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE, primary_key=True) def __str__(self): return self.user.username
[ "loughlamabdel@gmail.com" ]
loughlamabdel@gmail.com
9db5b75d65860c2837340291129b71ff7b1509c0
c59b7bc356de12827774d3bca79558aba738e1dc
/TODO/testTcp.py
755ace8831ea084e73f9dc2d2f2eeb8b0b96e514
[]
no_license
yishan33/tinyTreasure
0e24a860bbe47c993ac790564e6e75783b520e66
06a2e8e9ffa5f334daba0f79fc689e97603f5bc5
refs/heads/master
2020-05-19T22:37:36.966028
2015-11-17T02:59:43
2015-11-17T02:59:43
39,127,456
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
#!/usr/bin/python import socket import select port = 1111 index = 1 serverSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) serverSocket.bind(('192.168.1.158', port)) serverSocket.listen(10) print 'server is working...' while True: client, addr = serverSocket.accept() print 'already have client---...
[ "ljl@BMImatoMac-mini.local" ]
ljl@BMImatoMac-mini.local
3330299963393125d538e86655ae557251ea76fc
e1a9c0cbb1d40aed46e3c97a16133584a1e8b327
/JE_todo/todo_app/migrations/0001_initial.py
928cc1f98715580ccdedc637a7c4470a750078be
[]
no_license
timfilipowski88/random_projects
f9177b60773a324f6c52c398adea4632c2ad5b54
a8993be59626534d4f393fb109d31ff36ab66beb
refs/heads/master
2023-04-28T20:51:26.844964
2021-05-15T04:49:32
2021-05-15T04:49:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
# Generated by Django 2.2 on 2021-03-28 22:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='List', fields=[ ('id', models.AutoField(auto_...
[ "timfilipowski88@gmail.com" ]
timfilipowski88@gmail.com
b393f63f6ac9ee26aceb40dd7bb00e64e25785d3
d806dd4a6791382813d2136283a602207fb4b43c
/sirius/blueprints/api/remote_service/tula/passive/childbirth/views.py
1e86681447f1b9f6b1e9f4f7d3e504d827b7a501
[]
no_license
MarsStirner/sirius
5bbf2a03dafb7248db481e13aff63ff989fabbc2
8839460726cca080ca8549bacd3a498e519c8f96
refs/heads/master
2021-03-24T12:09:14.673193
2017-06-06T16:28:53
2017-06-06T16:28:53
96,042,947
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
#! coding:utf-8 """ @author: BARS Group @date: 03.10.2016 """ import sys from flask import request from sirius.blueprints.api.remote_service.tula.app import module from sirius.blueprints.api.remote_service.tula.entities import TulaEntityCode from sirius.blueprints.api.remote_service.tula.passive.childbirth.xform im...
[ "paschenko@bars-open.ru" ]
paschenko@bars-open.ru
c6569d076ffb391b828b0b0ad13e3266739a768b
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/attestation/v20210601preview/_enums.py
647247b71cec4cfaee5ae075082eafac95c1b2cc
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
921
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from enum import Enum __all__ = [ 'PrivateEndpointServiceConnectionStatus', 'PublicNetworkAccessType', ] class PrivateEndpointServiceConnect...
[ "noreply@github.com" ]
noreply@github.com
0db5944ca26ded9a495afea5174be02aae5227b6
4671a70af604078c1c75ec11721620c091ee2873
/bootcampBot_2.py
7d12196e0688da826a29181db98821e546114d8f
[]
no_license
raheels88/DiscordPY_Bootcamp
a02b11a7755e2e3ebe402c86ba8071e77ec89f8a
50bf5de85aa8c3180d49c4c7f35b87714ed3fe40
refs/heads/main
2023-07-15T17:22:42.551506
2021-08-18T18:29:21
2021-08-18T18:29:21
396,949,602
1
1
null
null
null
null
UTF-8
Python
false
false
1,125
py
import discord import os from yahoo_fin import stock_info as si #import yahoo_fin Python package - used to scrape stock price data from Yahoo Finance client = discord.Client() @client.event async def on_ready(): print('Beep Boop Beep...{0.user}'.format(client) + ' is online') #### MAKE YOUR BOT FETCH LI...
[ "noreply@github.com" ]
noreply@github.com
0c0a1446e1f0184e7126eb177937b571e856de8d
84a96dbd96e926ebb5c658e3cb897db276c32d6c
/tensorflow/python/ops/ragged/ragged_segment_op_test.py
d29708a5f5d98360502b4aef830d8d7c69c18c5c
[ "Apache-2.0" ]
permissive
MothCreations/gavlanWheels
bc9189092847369ad291d1c7d3f4144dd2239359
01d8a43b45a26afec27b971f686f79c108fe08f9
refs/heads/master
2022-12-06T09:27:49.458800
2020-10-13T21:56:40
2020-10-13T21:56:40
249,206,716
6
5
Apache-2.0
2022-11-21T22:39:47
2020-03-22T14:57:45
C++
UTF-8
Python
false
false
9,618
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
636287a026b036c4db22cc1f8fbad2a93d1e3f6b
90e39e45d469bb5dd9cb36805a88c97f41c147de
/2-do_deploy_web_static.py
5fc6c711832e5b59a00fa0831b049af1e986aac4
[]
no_license
Noeuclides/AirBnB_clone_v2
372b3d01ba76d41a79dca166d6ca7d471749a07d
13fac5127af0149e7bef9a94b70e6d2746eeb4fd
refs/heads/master
2020-07-03T19:16:10.404783
2019-09-11T00:42:29
2019-09-11T00:42:29
202,020,044
0
2
null
2019-08-19T03:08:39
2019-08-12T22:44:22
Python
UTF-8
Python
false
false
1,700
py
#!/usr/bin/python3 from datetime import datetime from fabric.api import * from os import path '''automatize with fabric ''' '''env.user = 'localhost' ''' env.hosts = ['35.231.53.89', '35.190.176.186'] def do_pack(): '''making a pack on web_static folder ''' now = datetime.now() file = 'web_static_' +...
[ "euclidesnoeuclides@gmail.com" ]
euclidesnoeuclides@gmail.com
d6c678a5c8917fadd314e706e27629319dcc78b8
0a8198af8ca152a26b7bbbf0006bf19f37cd3a0c
/modules/zuul/files/zuul-test-repo.py
3b790b81f2975da22887495a663e7fbc2a6cf5f4
[]
no_license
dkuspawono/puppet
938f05ea77cea35059d6ff1eb0b4c2b89a170a00
75e0dd3698efa8e7cf95f6ef1348d16a299faa82
refs/heads/production
2021-05-12T01:27:57.528282
2019-08-03T01:15:51
2019-08-03T01:15:51
117,557,149
0
0
null
2018-08-23T11:51:02
2018-01-15T14:42:53
Puppet
UTF-8
Python
false
false
2,172
py
#!/usr/bin/env python2 """Easily trigger zuul pipelines for a Gerrit repository.""" # Copyright 2015 Legoktm # # 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/lic...
[ "dzahn@wikimedia.org" ]
dzahn@wikimedia.org
6ccc7f4bb583c7554918ac244ca1883a446d6583
8f2c55a2530c3e59dab5907c0044c618b88dd09b
/_pydevd_bundle/pydevd_reload.py
507e73be2481c064a04777f28cadb48cc7177f70
[ "Apache-2.0", "EPL-1.0" ]
permissive
fabioz/PyDev.Debugger
5a9c6d4c09be85a0e2d9fb93567fd65faf04c81d
26864816cbfcf002a99913bcc31ebef48042a4ac
refs/heads/main
2023-08-18T01:08:34.323363
2023-04-15T11:15:47
2023-04-15T11:15:47
21,870,144
363
126
Apache-2.0
2023-07-30T23:03:31
2014-07-15T18:01:12
Python
UTF-8
Python
false
false
15,773
py
""" Based on the python xreload. Changes ====================== 1. we don't recreate the old namespace from new classes. Rather, we keep the existing namespace, load a new version of it and update only some of the things we can inplace. That way, we don't break things such as singletons or end up with a second repres...
[ "fabiofz@gmail.com" ]
fabiofz@gmail.com
77e3a3bf9a976c804784f6bbc248d5188678a70b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_fawn.py
260afb89b3b0bae13a38db08457adb7aad8566e8
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
#calss header class _FAWN(): def __init__(self,): self.name = "FAWN" self.definitions = [u'a young deer', u'a pale yellowish-brown colour'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.jsondat...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
45403bc3673f7fdd17f2e29878219415405ea12a
9e538305f9263d86e780a4a3f205c972f658f54d
/src/order/models/managers.py
7b7538f837adf7cf43e89ce2fef561ffcab76f9c
[]
no_license
tanjibpa/mednet
bb188582b0d90407015622b34f0291557acb1919
19a7535d583077fec7b7030c298fceb4c4df3207
refs/heads/main
2023-05-26T07:44:27.615506
2021-06-10T06:30:19
2021-06-10T06:30:19
355,774,065
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from django.db import models class SupplierOrderList(models.Manager): def supplier_order(self): return super().get_queryset().filter(producer__org_type="supplier")
[ "ikram.tanjib@gmail.com" ]
ikram.tanjib@gmail.com
db87634dbf1ae027564cb30f9a51121feedec819
9d3ec78e89bd3352fc037c338c6c741a2baf88d1
/projectrepair/models/shop_model.py
57872549a4f7aedfd85c1870ea1215e9d39e5900
[]
no_license
suhas7reddy/IBHAckathon-Repair-28
7842b62f67cfd7e52db541433e7bd8e96b1a3c6b
ce0f838a16afa0dacea52a5cecdc6200356f6118
refs/heads/master
2022-01-21T20:31:53.688141
2019-07-22T18:57:23
2019-07-22T18:57:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,091
py
from flask import Flask from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from werkzeug.security import generate_password_hash, check_password_hash engine = create_engine("mysql+pymysql://starlord:qwerty@127.0.0.1/toufique?host=localhost?port=3306", echo=True) Base = declara...
[ "palashsk2.sk@live.com" ]
palashsk2.sk@live.com
9e29ecd5d2c63293fd57b88908b3776ca586eed6
921cc4c193089aac55e1f7a7b71f065529f82047
/example_simulation.py
2167ca29ac42e48063f5b16760f1378230282798
[ "MIT" ]
permissive
zshwuhan/TiDeH
a4bd5dbf8eadf8ef8d0540cef3acc51d71a45104
23bc22f83925d06149933d715127d17819a62012
refs/heads/master
2023-03-16T20:59:19.433326
2020-12-30T09:39:40
2020-12-30T09:39:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
""" This code generates a retweet dataset based on Time-Dependent Hawkes process (TiDeH). Then, the model parameters are estimated from the dataset. Inputs are 1) Model parameters of TiDeH (p_0, r_0, phi_0, t_m). 2) Observation time (= obs_time). Outputs are 1) Estimate of model parameters of TiDeH (p_0, r_0, phi_0, ...
[ "sebaruehl@gmail.com" ]
sebaruehl@gmail.com
4fb3594ea95eb143e256712a4f0ff5e30ff4aa43
4c6e41781679cd487283824609bd4133f22fae95
/gui/Experiment/groundStation/win_Home.py
d26fc9a653d65e1e6e252e3ee36e84a15a09b5f7
[]
no_license
Rachmitah/Final-Project
4b65aaecf2158e2e3caf22b37176c4c23252c60c
52a71d9750b42e36c8e4c2ea9949d2d2c43aac48
refs/heads/master
2021-09-19T16:54:17.492266
2018-07-29T16:02:23
2018-07-29T16:02:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- import sys from PyQt5.QtWidgets import QMainWindow, QAction, qApp, QApplication from PyQt5.QtGui import QIcon class Example(QMainWindow): def __init__(self): super().__init__() self.initUI() def initUI(self): exitAction = QAc...
[ "mangatkk@gmail.com" ]
mangatkk@gmail.com
617c1aed9193403c0aede29ae9f4b16fbb7c1144
6c8e93ba0f2742c5cc59c4c0b03a04f3992619e2
/MOOGabund.py
b904b37cf359334f28140dd40da32da939bf0b6e
[]
no_license
christinagilligan/MetalPoorStars
192aecd8ab803c222af4bfe59fffe1fa13df4c4f
5571c1cd0cbfa05434f593b7ad6ab77f9d1de667
refs/heads/master
2020-03-22T04:14:19.800174
2018-07-16T18:05:15
2018-07-16T18:05:15
139,483,767
0
0
null
null
null
null
UTF-8
Python
false
false
2,002
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon May 7 15:07:30 2018 @author: christinagilligan """ #convert csv to a MOOG input file import csv import numpy as np import matplotlib.pyplot as plt ion=[] wavelength=[] eqwA=[] eqwmA=[] Notes=[] extra1=[] extra2=[] extra3=[] extra4=[] extra5=[] #cha...
[ "christinagilligan@gmail.com" ]
christinagilligan@gmail.com
8f45cff222fbcf136ef6cdd1fe4f7f7808ae38d0
61e698839a4a355a26023542c3c277fa72a52387
/ZJU-Python/CH3/ch3-5.py
3ea059aa708f84d52ddd63ec89c09e3ff02ecce1
[]
no_license
JiahuiQiu/Python-Learning
b51fd224bf3228b858d7dc5db76fd8852ebbee4a
9d704e51e2e9f3121117e9170e840e1df4879e0e
refs/heads/master
2021-04-16T18:11:37.903225
2021-02-11T06:38:10
2021-02-11T06:38:10
249,374,606
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
# -*- coding: utf-8 -*- """ 字符转换 本题要求提取一个字符串中的所有数字字符('0'……'9'),将其转换为一个整数输出。 输入格式: 输入在一行中给出一个不超过80个字符且以回车结束的字符串。 输出格式: 在一行中输出转换后的整数。题目保证输出不超过长整型范围。 输入样例: free82jeep5 输出样例: 825 """ a = input() s1 = "" s2 = "0123456789" for i in list(a): if i in s2: s1 += i print(int(s1))
[ "noreply@github.com" ]
noreply@github.com
57334a3b2339be3bc7d8390a3d7b5d968de8ed90
c6553cfb21edc9da3b441eb9b9e67eea47c42680
/top50check.py
6ad93e8843476253ec6d703c7c87558250448c69
[]
no_license
vishruthvipra/spam-detector
c70315e34af6553ee45faa7a526d3a1e6198ac80
6a2f3fe2967468f438a5eb66caf00ec8bb93767e
refs/heads/master
2020-04-03T18:27:21.512856
2018-10-31T02:18:10
2018-10-31T02:18:10
155,484,911
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
TRIALA = '/Users/vishruthkrishnaprasad/Downloads/IR/ASSGN7/result/decision_tree_train_performance_trial_a' TRIALB = '/Users/vishruthkrishnaprasad/Downloads/IR/ASSGN7/result/decision_tree_train_performance_trial_b' OUTPUTTOTAL = '/Users/vishruthkrishnaprasad/Downloads/IR/ASSGN7/output_total' def main(): f = open(T...
[ "krishnaprasad.v@husky.neu.edu" ]
krishnaprasad.v@husky.neu.edu
b7cbd5a455bd6dcba44b9d1f0d98e19cd9264524
86b670d48d6f497136c9386a6637bb2b4c35a655
/GenerateLibrary/generateScaffolds.py
c5928887f09126cf833bc80e7effaffe476616ab
[]
no_license
nbisaria/RNAfold
11ff6ffc1792c8b998b3a28b1c3040fc694696b4
ed9828549a243b9d1a654c743ae392ebaba12737
refs/heads/master
2020-04-02T07:11:31.489686
2018-11-06T23:42:29
2018-11-06T23:42:29
154,185,399
0
0
null
2018-10-26T21:40:23
2018-10-22T17:22:21
Python
UTF-8
Python
false
false
2,805
py
import RNA import subprocess import pandas as pd import imp from random import random imp.load_source("walkerrandom",("/lab/bartel1_ata/nbisaria/RNAfold/subfunctions/walkerrandom.py")) from walkerrandom import Walkerrandom from collections import defaultdict imp.load_source("general",("/lab/bartel1_ata/nbisaria/RNAfold...
[ "nbisaira@gmail.com" ]
nbisaira@gmail.com
2f956f1da85659a14cb9e78cec49ba3da20a8935
bf9f01c390ba5e1448c461d4e22c404cddf30ddd
/cardano_wrapper/wrappers/WalletWrap.py
a0e4d569a9c8249c3826c4090aa08b8f769ffe41
[]
no_license
Mercurial/cardano-wrapper
0f25251570d057b8dad483f1484d563aea875123
0c5c89848e42e15deadb13e657063070bc620d3d
refs/heads/main
2023-05-09T06:35:55.542452
2021-05-27T04:55:19
2021-05-27T04:55:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,605
py
import json import time from os import path import requests import yaml import subprocess from cardano_wrapper.wrappers.AddressWrap import AddressWrap from cardano_wrapper.utils import bcolors class WalletWrap(object): def __init__(self): """This object wraps the Cardano Wallet API so that we can use Pyth...
[ "vishal.h.lall@gmail.com" ]
vishal.h.lall@gmail.com
d2efcc764e27da871a5ee47f86deb93305ffb268
4ac0636ef316ed10e4f5286d4311969f28a93adf
/ntech.py
79504af7a61e2b464ca394e26d0c2f3cbec415a7
[]
no_license
smothly/algorithm-solving
9afad7bb6bf9c7117c0c9fecba5a827ec5e7d927
7a72f091a2de1e6af44343ffff79ab11a7a3bac9
refs/heads/master
2022-12-23T12:24:14.837968
2020-10-03T14:52:42
2020-10-03T14:52:42
263,236,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
def solution(flowers): answer = 0 # sort flowers.sort(key=lambda x:(x[0], x[1])) new_days = [] # 겹치는 부분을 합치는 과정 for i in range(len(flowers)-1): if flowers[i][1] >= flowers[i+1][0]: new_days.append((flowers[i][0], flowers[i+1][1])) else: ...
[ "seungho546@naver.com" ]
seungho546@naver.com
6af689639ddfcb358242510a287fa6c89aca2e3a
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/LArCalorimeter/LArCalibTools/share/LArMCConditions2Ntuple.py
1a35ffa4835cfb273b6320e18243c2bfdc57f847
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
6,483
py
import AthenaCommon.AtlasUnixGeneratorJob #use MC event selector from string import split,join ## get a handle to the default top-level algorithm sequence from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() #Input Parameters: # PoolFiles: sequence of pool files to read from though CondProx...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
ff99c5b38da07f2441b44b40a4551a011355c801
df100f181d9564bc3641dfec45726ac1cc1b2325
/剑指offer/33.第一个只出现一次的字符/code2.py
53b3b23a1aa9e81810711f85bca9b99e7fa8d470
[]
no_license
forthlsss/codeForInterview
83efe7d5e0e9f150abae2d84f50829d99034dae1
10791dfc3c34f0a236a386fe9a91f46d725bded5
refs/heads/master
2020-12-03T12:32:51.071062
2020-01-14T06:49:48
2020-01-14T06:49:48
231,318,350
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
def FirstNotRepeatingChar(s): # write code here map = {} for i in range(len(s)): map[s[i]] = map.get(s[i], 0) + 1 for i in range(len(s)): if map[s[i]] == 1: return i return -1 print(FirstNotRepeatingChar('abac'))
[ "noreply@github.com" ]
noreply@github.com
e1ba67a60183bb2601c60345b23bedce84b2c2b2
b13df72a0259b298a47b7c98d8c183789eea02d6
/pacpac/parapred/plotting.py
ed89623074a96810a96708a16f416ae507e7a66d
[ "MIT", "BSD-3-Clause" ]
permissive
aretasg/pacpac
c7f679e34f2c4a8b11f5d16669db052a6f73efd2
3d0e2beb82a55e4632270d9578e93a096c9f0ecf
refs/heads/main
2023-04-19T06:06:18.190562
2022-04-23T00:00:53
2022-04-23T00:00:53
333,276,229
6
3
BSD-3-Clause
2021-07-27T12:12:14
2021-01-27T02:13:06
Python
UTF-8
Python
false
false
5,256
py
from sklearn import metrics import numpy as np import matplotlib.pyplot as plt def plot_stats(history, plot_filename="stats.pdf"): plt.figure() plt.rc("text", usetex=True) plt.rc("font", family="sans-serif") plt.title("Metrics vs number of epochs") plt.subplot(3, 1, 1) plt.plot(history.histor...
[ "gasp@Aretass-MacBook-Pro.local" ]
gasp@Aretass-MacBook-Pro.local
66a4c5f13e1dc79c7ef110ee7f36ab90411658d1
3a6cf9261ca5e58468622f49cfa109d65f7b4eda
/src/python/spikes/stereo.py
3bfe579ce6e4881dbb41e9f01fcc2026dd9dddab
[]
no_license
romilly/cluster-hat
a6784f85da5287466a73ef61a0111063bcd171b1
a872da5bfa6ab2cb666095ab6845bafa5d4badca
refs/heads/master
2021-05-09T13:30:34.743067
2018-01-30T15:11:35
2018-01-30T15:11:35
119,036,856
1
0
null
null
null
null
UTF-8
Python
false
false
295
py
import numpy as np import cv2 from matplotlib import pyplot as plt imgL = cv2.imread('images/p1-image1.jpg',0) imgR = cv2.imread('images/p2-image1.jpg',0) stereo = cv2.StereoBM_create(numDisparities=16, blockSize=15) disparity = stereo.compute(imgL,imgR) plt.imshow(disparity,'gray') plt.show()
[ "romilly.cocking@gmail.com" ]
romilly.cocking@gmail.com
335a917f993a2444982d969d5168c22b7ae98d6d
6d5fd2e7b9a66e17593a490a80e96e95d36436a3
/src/profiles/signals.py
81924a9d88eb4f0810a55822910c9384d971ed0a
[]
no_license
Husain-Jinia/Django-Report-Generator
f38276b47c263824b2f6794d793ff63872ba31fc
277a06584e7d333d9380f213abc217e29ecafd17
refs/heads/master
2023-04-20T06:05:13.294836
2021-05-15T08:01:11
2021-05-15T08:01:11
365,412,503
2
0
null
null
null
null
UTF-8
Python
false
false
376
py
from .models import Profile from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver @receiver(post_save, sender=User) def post_save_create_profile(sender, instance, created, **kwargs): print(sender) print(instance) print(created) i...
[ "husainjinia0201@gmail.com" ]
husainjinia0201@gmail.com
a18d18d5499fe363256254b60eafa134abbde7af
91af92779be5fa5cea94a835543173d0c907b1e5
/Lab4/src/flnn_one_channel_with_autoencoder.py
60f603a1a7c43f9cd35d95f790f94f61e4bd0b49
[]
no_license
mabean/DeepLearning
fe9579683804a7b86d82256528cc3ad2899abe7a
9438d5aeb5c6ba7f24a7cb0e6b3afb253e43f93f
refs/heads/master
2021-09-01T08:00:14.231043
2017-12-25T22:06:56
2017-12-25T22:06:56
109,853,089
0
1
null
2017-12-25T22:06:57
2017-11-07T15:22:17
Python
UTF-8
Python
false
false
4,831
py
import sys sys.path.append('../../data/') import tfrecords_reader as reader from tfrecords_converter import rgb_to_y import tensorflow as tf import numpy as np batch_size = 30 test_batch_size = 30 batches_count = 1000 tests_count = 100 features_size = 256 * 256 hidden_layer1_size = 1000 hidden_layer2_size = 300 class...
[ "bespalov.maxim.a@gmail.com" ]
bespalov.maxim.a@gmail.com
4dcec4c4fe540cd895c7929f3502d6567240ec98
ae0014e2bd7700d6b9c63055a74b0f68752c72bd
/interdiction/win.py
d49fb575a207bb129edd302cee2e7f2c90b7a144
[]
no_license
Anderson-Cooper/Elite-Py
f8659f01e35c33455b1c52610fdfe88c54860523
af10235446c94ba5a8a454014b18d34faec21840
refs/heads/master
2023-07-24T02:08:39.986386
2020-02-28T00:01:32
2020-02-28T00:01:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
print("You DEMOLISHED your enemy, you used his ship parts to repair your ship, And you have his court hearing soon so you will be taken to A-96-A")
[ "apollopulk@gmail.com" ]
apollopulk@gmail.com
ddf22e15b1dca17e2d83a188596d14e2a2085f9d
3e2dc3be3361c25680adb450a0010a5c3069670d
/pets.py
401d48f17adb1fce2a80cc9bc0ae3d35063d7dc7
[]
no_license
PrashishMan/python_init
0880b6eb9a0dfd853c79a300d31cc67e1c1f3d6d
5edc9c28efc75684476cde319262a6ae5054fcb8
refs/heads/master
2020-06-15T08:25:52.157207
2019-07-04T13:37:10
2019-07-04T13:37:10
195,248,324
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
from inheritance import b class Pet: allowed = ["cat", "dog", "fish", "gecko"] @classmethod def class_attribute(cls): print(cls.allowed) def __init__(self, name, species): if species.lower() not in Pet.allowed: raise ValueError(f"You cannot have a {species} pet") self.name = name self.species = species...
[ "prashishmansingh@Prashishs-MacBook-Pro.local" ]
prashishmansingh@Prashishs-MacBook-Pro.local
9fa9501354ccb47bd2b1c9941aa2838909db9cae
f6b50c0f68ec0c7a239ea8cf2e05b6eaa718372d
/cha1数据结构和算法/1.7字典排序.py
bcdaec1df117a165581bda26c5f5aef07f4a59af
[]
no_license
Pluto13579/Python3-cookbook
23e05abc15fbd95b4a61b2f2905996e4e0883ebb
0ba46aa98035a7ce63ccca4e15f0bc7130f88372
refs/heads/master
2020-04-10T21:46:25.473564
2019-01-27T05:49:46
2019-01-27T05:49:46
161,306,056
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
#collections模块中的OrderDict类可以用来控制一个字典中元素的顺序。 #OrderedDict内部维护着一个根据键插入顺序排序的双向链表。每当插入一个新元素都会放到链表的尾部。 #对于一个已存在的键的重复赋值不会改变键的顺序。 #需要注意的是一个OrderedDict的大小是一个普通字典的两倍,因为内部维护着另外一个链表。 # from collections import OrderedDict d = OrderedDict() d['foo'] = 1 d['bar'] = 2 d['spam'] = 3 d['grok'] = 4 for key in d: # Outputs "foo 1", ...
[ "1134369366@qq.com" ]
1134369366@qq.com
807657e50b6e6f7c7877b940ddd11fcf6634620e
60a33ff566330b0bfcfa09efb8ede669afb1a800
/example/docs/conf.py
7f504b31adccd76ab3c6e21ff9546b0526827dee
[ "MIT" ]
permissive
clayrisser/pipedoc
20674b0daf41ff7aece40b71b7505653b3142fdb
7e21e68641e5368d7f7d60d539d674d4d73bac5e
refs/heads/main
2023-08-03T12:43:45.288494
2023-07-13T11:32:31
2023-07-13T11:32:31
238,533,996
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
# from sphinx_markdown_parser.parser import MarkdownParser from recommonmark.transform import AutoStructify author = 'Jam Risser' copyright = '2020, '+author description = '' doc_root = 'https://github.com/rtfd/recommonmark/tree/master/doc/' html_static_path = ['_static'] html_theme = 'sphinx_rtd_theme' project = 'pip...
[ "jam@codejam.ninja" ]
jam@codejam.ninja
fdfcc529f6d09a71f492eb3dcbb32d0cd8eccb2a
2e5b5b3dacd4853ec335bf7026a24e2d294c98ce
/python-backend/controller/__init__.py
e742fdbf3dc8d2d1c2c3699953b00cf2d39107ab
[]
no_license
DyvakYA/python-reactjs
19f75bd6278a3f4c4fcfaedf3d5c64a8e85febf2
3d0af66148caafb3e4450acd38a34ad6a092ed24
refs/heads/master
2020-04-27T21:01:15.508287
2019-03-10T17:50:47
2019-03-10T17:50:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# Import the Framework from flask import Flask from flask_restful import Api from .connection import get_connection from .user_controller import User from .user_controller import Users # Create the instance of Flask app = Flask(__name__) # Create the API api = Api(app) api.add_resource(Users, '/users') api.add_res...
[ "dyvakyurii@gmail.com" ]
dyvakyurii@gmail.com
b968c173c17ee7e0970eab6d6e3ee7ba4a7e8ab9
ca77e9e45d666771c7b0897e7e3093b3d3c12f65
/random_scripts/update_costs/update_wo_costs.py
20ad1cd9856990dbe5c11c2b9e38c6a9d2275cf5
[]
no_license
2gDigitalPost/custom
46175d3a3fc4c3be21dc20203ff0a48fb93b5639
6a3a804ef4ef6178044b70ad1e4bc5c56ab42d8d
refs/heads/master
2020-04-04T07:40:17.962611
2016-12-28T18:35:28
2016-12-28T18:35:28
39,648,283
0
0
null
null
null
null
UTF-8
Python
false
false
6,309
py
import os, sys, math, hashlib, getopt, tacticenv, time def kill_mul_spaces(origstrg): newstrg = '' for word in origstrg.split(): newstrg=newstrg+' '+word return newstrg def make_data_dict(file_name): the_file = open(file_name, 'r') fields = [] data_dict = {} count = 0 for line i...
[ "topher.hughes@2gdigital.com" ]
topher.hughes@2gdigital.com
dd789a1204e77259fb9bd8ee205a84343a7c5853
37624df48e42799c07e65760f38ca6b9d31bf9e5
/python/sensor/weights/hx711py/avg.py
51bbbaf1b6c8544e421e17a0ad721feb484e2f56
[ "Apache-2.0" ]
permissive
DJ956/YoloBarcodeReader
f2ac330657430d1d1f9d02b9f1af76485b2afb13
148f387a8dce260a2dc54398702e20e0d6e6a7ac
refs/heads/master
2020-08-16T07:32:52.220478
2020-02-16T04:41:37
2020-02-16T04:41:37
215,473,285
1
0
null
null
null
null
UTF-8
Python
false
false
236
py
with open("log.txt", "r") as f: cnt = 1 line = f.readline() sum = float(line) while line: print(line.strip()) sum = sum + float(line.strip()) line = f.readline() cnt = cnt + 1 avg = sum / cnt print("AVG:{}".format(avg))
[ "dexter13576@gmail.com" ]
dexter13576@gmail.com
c5eccff0d3c5b636c09a0a75b58b010407af82e4
0e5b1f367fa867f16ef4bfb949e9139dd801030a
/notehub/apps.py
88f21271796aba9fb5ddad69dcba762e4b2541eb
[]
no_license
polgodia/NoteHub
88b4493b74f48feadef7800a0bb9434eea4796b0
9dddef321267899b4e6989e1166b2728af9a4f29
refs/heads/master
2023-05-02T03:27:14.486998
2020-03-28T20:08:15
2020-03-28T20:08:15
245,120,301
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
from django.apps import AppConfig class Django_App(AppConfig): name = 'notehub'
[ "pgs8@alumnes.udl.cat" ]
pgs8@alumnes.udl.cat
123f7dbef56d9142e08ed7b8ee92470e4423872f
ecc4e74a46f17120587a90cf63d6d29990865c3a
/Django_Level_Three/ProTwo/ProTwo/urls.py
0f227f7a243767cbb5d77a10555f69926a99c187
[]
no_license
darthVader18/my_django
5b67d273b15ae5ce7f4dc6dec12a7ccf746a4604
5e682e31cd1e7d1c54d5e4b672f7e8a9b5b98695
refs/heads/master
2020-06-26T21:42:49.369120
2020-03-24T09:50:14
2020-03-24T09:50:14
199,699,737
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
"""ProTwo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "50162503+darthVader18@users.noreply.github.com" ]
50162503+darthVader18@users.noreply.github.com
a64456fc0046b8a42ad60ddaa19ba450e3c4bfac
4a7804ee05485c345b4e3c39a0c96ed4012542ac
/editor/emacs/emacs-python/actions.py
b0523c81855ca5f5c430977b55c02381e42c60ee
[]
no_license
Erick-Pardus/Pardus
1fef143c117c62a40e3779c3d09f5fd49b5a6f5c
2693e89d53304a216a8822978e13f646dce9b1d3
refs/heads/master
2020-12-31T02:49:33.189799
2013-03-17T06:29:33
2013-03-17T06:29:33
17,247,989
2
0
null
null
null
null
UTF-8
Python
false
false
363
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import pisitools from pisi.actionsapi import get WorkDir = "python-mode.el-6.0.11" def install(): pisitools.insinto("/usr/share/emacs/si...
[ "namso-01@hotmail.it" ]
namso-01@hotmail.it