blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
841ec67c6b8f49086b9082e331023721812821e4
f9d586d51825ebfe83736f188b0694b58d46f034
/jobutils.py
668ab47002237d5c5c7d84514336dc3e381295d6
[]
no_license
ricardoromanj/datawarehouseetl
d4e50ec6f4e3bec1539d349399efeb2e5a3e2202
002255e4177c4430fe07ea8ada17da40f25fd3a2
refs/heads/master
2021-09-17T04:53:12.350236
2018-06-28T03:44:34
2018-06-28T03:44:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,468
py
import datetime def printJobStart(jobname): now = datetime.datetime.now() print("") print(" ________ _____ ______ ___ ___ ") print("|\ ____\|\ _ \ _ \|\ \|\ \ ") print("\ \ \___|\ \ \ \__\ \ \ \ \ \ \ ") print(" \ \ \ \ \ \ |__| \ \ \ \ \ \ ") print("...
[ "r.rmn92@gmail.com" ]
r.rmn92@gmail.com
54b7fdf7282cb80922196e6544b75b92be496fc1
e527e4af59ea73997b919dc6dbc3547ee14e61de
/qr-code/qr-code.py
d7f265ef0222a36d0333dec18a1affcb9184276a
[]
no_license
whywidodo/belajar-python
4565d0ea2390d25df3aa02769cd3b4447159ee9d
cc48cb7591ea3c9bad70a7044ae8e76c2a34eeef
refs/heads/master
2023-04-06T13:31:00.221279
2021-04-02T10:37:09
2021-04-02T10:37:09
319,338,160
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
import qrcode from PIL import Image qr = qrcode.QRCode( version=2, error_correction=qrcode.constants.ERROR_CORRECT_H, box_size=20, border=4, ) data = 'https://karyane.com' qr.add_data(data) qr.make(fit=True) convert = qr.make_image(fill_color="black", back_color="white").convert('RGB') convert.save("...
[ "mr.wahyuwidodo@gmail.com" ]
mr.wahyuwidodo@gmail.com
f6df32ec5bcf9f925e01fe21accab9e9c3f90965
043720a6e65e0b2e8da8e1798d6c17035440c50e
/bin/uploader.py
2a6e8b4bcde9c60109d8684f9e3c65429b5201ae
[]
no_license
wsoyinka/certeduploader
ebf830e262ab6c5c1503917545f6b66114cd6c18
79c41281201c33eeaa2a87748fb02d5df8199926
refs/heads/master
2021-01-13T17:20:54.757465
2017-02-13T02:24:24
2017-02-13T02:24:24
81,776,200
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
#!/usr/bin/env python import certeduploader.uploader certeduploader.uploader.upload_file()
[ "wsoyinka@gmail.com" ]
wsoyinka@gmail.com
0de72ae1b8a75408d34f1cd297aec4aae70084a1
f96f2e7593d05ab022c6ad184da61065b224a57d
/16_password_generator.py
7ba30b3a1d61252b1d776838a6a1ce5218d721f3
[]
no_license
vlvs/pratusevich-exercises
62e71529af796159fa1b1434b22c052f38c33c5c
f6930ef3496eb3785abaa30e629ff811b78423f2
refs/heads/master
2021-06-24T20:33:10.515755
2021-03-18T17:38:15
2021-03-18T17:38:15
215,191,980
0
0
null
null
null
null
UTF-8
Python
false
false
1,917
py
''' Write a password generator. Strong passwords have a mix of lowercase letters, uppercase letters, numbers, and symbols. The passwords should be random, a new password should be generated every time the user asks for a new password. Include your run-time code in a main method. Extra: Ask the user how strong they ...
[ "vlvsjr@gmail.com" ]
vlvsjr@gmail.com
6f6a3f5a7244d69c773653f720280a184a73071d
6eb342c822ae8dc10b5a90e07ce879ff6cc7a779
/Examples/Python2/HighDynamicRange.py
23afa63f9e2507eddfb03f6ff82a45b942a94d1b
[]
no_license
btw1027/USB_CAM
f5f7bee7795ee355c4c7319537cbe26ce1cffa0f
11f0b33c9a2789cac6e7912232a442127052023c
refs/heads/master
2022-12-08T02:11:23.847174
2019-07-24T19:37:03
2019-07-24T19:37:03
198,698,667
1
0
null
2022-11-22T02:39:52
2019-07-24T19:35:16
Jupyter Notebook
UTF-8
Python
false
false
9,259
py
# ============================================================================= # Copyright (c) 2001-2018 FLIR Systems, Inc. All Rights Reserved. # # This software is the confidential and proprietary information of FLIR # Integrated Imaging Solutions, Inc. ("Confidential Information"). You # shall not disclose such Con...
[ "benjamin_wilks@brown.edu" ]
benjamin_wilks@brown.edu
fd1883d0963f4f3e119e56d8f842fab3aca4366b
3caa46fd763aafd94ec46a1faf9d0aa9fa858217
/back_end/urls.py
f1a765723ad5bc56a15c75e5d3a80434260383a7
[]
no_license
Kazathur92/pokeMaster-Back-End
2e2a02c06baa908289577b5a5c6c85379f1e8dfa
7ad8809609c4c7ecf4d9c28f778c2dc9a0ccd915
refs/heads/master
2020-04-24T14:19:33.567387
2019-03-20T15:34:25
2019-03-20T15:34:25
172,017,024
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
"""back_end URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "Gabmin21@hotmail.com" ]
Gabmin21@hotmail.com
099cc4fda3d3ac97352d0deffc1bdb6a06428dc2
6c28060d11ec001b48a091760d0f883b23a72eaa
/notification/context_processor.py
cd66be1f866e7ca6946f8fafb29de4b9f29741eb
[]
no_license
s-soroosh/rose
8b37904781d382fbac58fbaf9668391dddee2fc7
1f7ab356656696de06c56f8a86808ae59474c649
refs/heads/master
2021-05-26T18:22:37.349231
2014-07-02T07:25:54
2014-07-02T07:25:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
from assign.models import Assign __author__ = 'soroosh' def notification(request): count = Assign.objects.filter(target__id=request.user.id, status='pending').count() return {'notifications_count': count}
[ "soroosh.sarabadani@gmail.com" ]
soroosh.sarabadani@gmail.com
d954695fe65b1d734375cf15c176583be91d2ad8
8287c322bcbb39a6ead7c911a85b8bd4fa3ce429
/sparkFigure3.py
286a85cb81b7c91fb2677541112c02f50b230421
[]
no_license
YaminArefeen/sparkIsmrm2021
7e100f2ebbc171512746c5f4f26c68598119e04a
594032c8af31d43de61ced63da8bcc029af92a54
refs/heads/main
2023-02-15T03:02:26.422529
2021-01-05T17:16:25
2021-01-05T17:16:25
319,468,953
2
1
null
null
null
null
UTF-8
Python
false
false
12,738
py
#Code used to generate Figure 3 in the ISMRM abstract "Extending Scan-specific Artifact Reduction in K-space (SPARK) to Advanced Encoding and Reconstruction Schemes" (Yamin Arefeen et al.). Note, results may not be exact, as the initialization of neural network weights is not standardized across different runs of the ...
[ "noreply@github.com" ]
YaminArefeen.noreply@github.com
0ffffe8d297ffb2e1f1c45a9839eb983154cc594
bc7b8f90f35ef1fb6f4accf1e8258a502df31a5a
/unitframe/unitframe.py
68137035c1e4a7296190d3ba44c4bf2a9740128d
[ "MIT" ]
permissive
daviskirk/unitframe
97f6e4bf7d0d6d226bf34279bc51d32acdec0c1d
3021aa1d1a1f369360f16880e177f3fa44f29a77
refs/heads/master
2021-01-10T19:38:46.858405
2015-05-06T19:14:17
2015-05-06T19:14:17
34,793,682
1
0
null
null
null
null
UTF-8
Python
false
false
9,874
py
#!/usr/bin/env python """ Units """ import pandas as pd import numpy as np from collections import Sequence, Mapping, OrderedDict, Iterable from numbers import Number from functools import partial import operator from copy import deepcopy from pint import UnitRegistry, UndefinedUnitError, DimensionalityError UREG = U...
[ "davis.kirkendall@rwth-aachen.de" ]
davis.kirkendall@rwth-aachen.de
0621261bead3ecfcb35630fd2ffb1926684431d1
0e647273cffc1fb6cbd589fa3c7c277b221ba247
/configs/hpt-pretrain/chexpert-r18/no_basetrain/5000-iters.py
eea6cd8ca1b09c010a379fe19bbf022ffb5a8f90
[ "Apache-2.0" ]
permissive
Berkeley-Data/OpenSelfSup
e9976bf011b69ebf918506ba184f464b1073ec13
221191b88d891de57725b149caf237ffef72e529
refs/heads/master
2023-05-12T07:34:52.268476
2021-04-08T00:58:37
2021-04-08T00:58:37
343,654,823
0
1
Apache-2.0
2021-04-08T00:58:37
2021-03-02T05:20:27
Python
UTF-8
Python
false
false
206
py
_base_="../base-chexpert-r18-config.py" # this will merge with the parent # epoch related total_iters=5000 checkpoint_config = dict(interval=total_iters) checkpoint_config = dict(interval=total_iters//2)
[ "taeil.goh@gmail.com" ]
taeil.goh@gmail.com
cb18c48983d5d4f173a0a471bfd9297f0638df6e
ed98ce07c46a24fc884e6dddcd3e7b85ffdbcbba
/imgDownload.py
97f16060893b1b20a64d69c8fc00f4e148b185e8
[]
no_license
moumita-das/tensorflowExp
0f1e2f57582d4b8eaaac9547ed59f8cafa2dc448
54380fa51e148e4ec4bd72698af2fb5d630c66eb
refs/heads/master
2021-05-16T05:07:28.266160
2017-10-11T22:30:35
2017-10-11T22:30:35
106,287,610
0
0
null
null
null
null
UTF-8
Python
false
false
2,692
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import os import json import urllib2 import sys import time # adding path to geckodriver to the OS environment variable #os.environ["PATH"] += os.pathsep + os.getcwd() dir_path = os.path.dirname(os.path.realpath(__file__)) chrome_dir_path=o...
[ "noreply@github.com" ]
moumita-das.noreply@github.com
4b22bc1672d0cb5edf940c5940d9748062ae83bf
4c117ea3617a576ddd07d8ea8aaab1a925fc402f
/bin/Race/Statistic/StatPlotRace.py
4c58180d8fb9441a99b11f09fe6b364418a4f2eb
[]
no_license
452990729/Rep-seq
7be6058ba3284bea81282f2db7fd3bd7895173ba
e217b115791e0aba064b2426e4502a5c1b032a94
refs/heads/master
2021-12-11T14:27:46.912144
2019-06-04T03:49:40
2019-06-04T03:49:40
190,124,555
0
1
null
null
null
null
UTF-8
Python
false
false
10,436
py
#!/usr/bin/env python import re from glob import glob import os import sys import random from copy import deepcopy from collections import Counter import matplotlib matplotlib.use('Agg') from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D import numpy as np def get_cmap(n, name='hsv'): ''...
[ "452990729@qq.com" ]
452990729@qq.com
ca610dd346c5bd9069afea75db9310d0c62e1ae5
82150be796c525c18e4cc6d3293b5330887914d9
/NanoAODAnalyzer/pyroot/NtupleAnalyzer/Nesan/ZprimeToTT_read_helper.py
7361544347b1a46d73ff16ad89fd4685c5624541
[]
no_license
Ismah214/JetTaggingAnalysis
1c0c6f1a62480458e21830a9d67682f410bd40f3
1bdda858ae61535aaac274ac43192443f1611f7e
refs/heads/master
2023-03-17T23:03:54.254140
2021-03-02T05:08:10
2021-03-02T05:08:10
343,637,419
0
0
null
2021-03-02T04:28:36
2021-03-02T03:47:12
null
UTF-8
Python
false
false
3,152
py
import sys import os import glob import ROOT import plotter from collections import OrderedDict from array import array from PhysicsTools.NanoAODTools.postprocessing.framework.datamodel import Collection from PhysicsTools.NanoAODTools.postprocessing.framework.datamodel import Event from PhysicsTools.NanoA...
[ "nsubrama@lxplus753.cern.ch" ]
nsubrama@lxplus753.cern.ch
157d369702bec630b730984870fff4996b38d54e
b28df8f2cd9a4b4fe274eb1688e7410ae19f9da1
/kwippy/models/login.py
f89b8a0d9b01ef11b043d89d16a026f3e3f39269
[]
no_license
kwippy-com/kwippycore
ba2d8b584e2171fd5322446df409e6983e23409b
d0647405cf77c4490cb40194b35e385955d56707
refs/heads/master
2020-06-14T14:56:35.169865
2014-12-08T16:44:20
2014-12-08T16:44:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
from django.db import models from django.contrib.auth.models import * class Login(models.Model): user = models.ForeignKey(User) login_at = models.DateTimeField(auto_now_add=True) def __unicode__(self) : return '%s' % (self.user) class Meta: app_label="kwippy"
[ "dipankarsarkar@gmail.com" ]
dipankarsarkar@gmail.com
8ea3e10135ca0157f0da80e4b57c7db8fec6cd25
94fac88a1487fee0e44385fbb5617228e1179169
/run/run_all.py
d77000090fe5c205ca0a726b8352960476381372
[]
no_license
juxiaona/api_auto
ef835f710c4e3fcbd21f8cd5ef9f5fea66d72ef9
65a51dfd621cac31684381e9d1170b40287fe1e1
refs/heads/master
2021-05-16T05:18:09.085475
2018-04-14T03:04:18
2018-04-14T03:04:18
106,382,325
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
import sys sys.path.append('../') from common.testrunner import TestRunner from common.sendmail import SendMail if __name__ == '__main__': run_all=TestRunner("../test_cases","API Auto Test Report","Test case execution") run_all.run()
[ "juxiaona@xxkuaipao.com" ]
juxiaona@xxkuaipao.com
e0b8f7d22e753dfc6148fb80be247be49b79fd3e
ce44586089be9707221e8928265e255c47fea2bc
/bookmarks/api/serializers.py
7f8f65dbb153c252179a6d5a09c29a50937ad3f5
[ "MIT" ]
permissive
weTeams/linkding
8ac8a2d63d4334c31ffe63d3acbc28ec891992eb
1dabd0266b84a184c684eb32dff4d654a5195820
refs/heads/master
2023-08-12T12:49:36.982660
2021-10-16T03:49:56
2021-10-16T03:49:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,230
py
from rest_framework import serializers from bookmarks.models import Bookmark, Tag, build_tag_string from bookmarks.services.bookmarks import create_bookmark, update_bookmark from bookmarks.services.tags import get_or_create_tag class TagListField(serializers.ListField): child = serializers.CharField() class Bo...
[ "noreply@github.com" ]
weTeams.noreply@github.com
cce00240af79b52f5debad52fa91b451574aaca4
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/primat.py
30563ebedac47163924a1ceba50956c489a8723a
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
508
py
ii = [('CookGHP3.py', 2), ('CoolWHM2.py', 1), ('SadlMLP.py', 1), ('CookGHP.py', 2), ('ShawHDE.py', 1), ('LeakWTI2.py', 1), ('LeakWTI3.py', 4), ('ClarGE2.py', 3), ('ClarGE.py', 9), ('DaltJMA.py', 47), ('WestJIT2.py', 1), ('DibdTRL2.py', 1), ('WadeJEB.py', 6), ('FerrSDO2.py', 1), ('NewmJLP.py', 2), ('LeakWTI4.py', 9), ('...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
030b53ffcf1f68a4c58612e806754f9d93b449cf
a93fb346096f131ecfc37c1b6a2a2ce1b5f3ec1e
/machine_learning2/main.py
eb6ee6b4810379e4be5878b69e055605b7a75745
[]
no_license
AndreiCatalinN/university
a0bed78e4ed3b79453e9cc22b0b38ab529a8acf2
7d18c56f12bebbce7c42c016ca2831bba98c945b
refs/heads/master
2021-08-08T01:19:52.823214
2020-07-08T17:48:26
2020-07-08T17:48:26
199,484,150
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
import pandas as pd def traders_by_county(df): counties = df['county'].unique() for county in counties: fuel_stops = df['trading_name'][df['county'] == county] print(county, ' : ', fuel_stops.count()) def traders_by_county2(df): data = df.groupby(['county']).count() print(dat...
[ "c16733435@mydit.ie" ]
c16733435@mydit.ie
05d41fd3cc414a5c7cebfedef4c6663551478993
bc2f5e603a9e5542ecd3e23186e8f75b9b831be5
/demo/backtest/dynamicIndicatorDemo.py
05a009625a967e990d490b10c86067abc93ad3ed
[]
no_license
Gahyu96/xuefu
ba7335828432e8962f33d49e655cdeeb03f8e8ec
fa0414e15d0b2dba6f699ba40dbef21a2d7b9f38
refs/heads/master
2023-08-31T17:26:55.549193
2023-08-21T07:24:29
2023-08-21T07:24:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,021
py
# -*- coding: utf-8 -*- """ Created on 2017-07-20 1.这个demo包含两部分,主要演示动态计算指标,如日线的macd,其实在当日的过程中他的数据是不断变化的,macd 12,26这个指标使用的是前N-1日的 数据再加上当日该5分钟的close数据合并出来12,16日数据,当当日结束的时候,5分钟计算出来的数据和日线级别使用当日收盘价计算出的结果相等。 2.这里的例子使用布林带,使用的方法为原始的talib指标 3.pyalgotrade里面的dataSeries中获取数据list 代码为self.day_feed[instrument].getCloseDataSeries()._S...
[ "root123" ]
root123
f4cbb4ee12d7c959f1b26caaa16f6fa14aa4c28c
933105e728d41c6e9ad2e0b354e443d804b7d4dd
/stain_selection_gui.py
8734ac15e21d072fbdce72883e51d38d646cd804
[]
no_license
reillyp/Stain-Selection
f2ecf58bb807b1eed42c254fb7c2e12dc2610297
ec9155525da50816c6c4fb7022efea3904fa2137
refs/heads/main
2023-01-01T12:07:46.654344
2020-10-26T19:06:38
2020-10-26T19:06:38
307,396,157
0
0
null
null
null
null
UTF-8
Python
false
false
21,957
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # # GUI module generated by PAGE version 4.22 # in conjunction with Tcl version 8.6 # Sep 19, 2019 03:55:29 PM CDT platform: Windows NT # This is Rev 2 of Stain Selection GUI import sys try: import Tkinter as tk except ImportError: import tkint...
[ "noreply@github.com" ]
reillyp.noreply@github.com
4d415dba725c748bc58a7e00c0dbecaa6786ce03
0f67aafb602a50376790c86e3369652ca4dd9190
/src/main.py
5983bd81176f22c758a59ab28669b14231512805
[]
no_license
danilojpl/Q-Learning
1eec4834f604f577b52b1e62e5f697aed579cefe
020490057068b5ea6f6eb4314e3077333c44612b
refs/heads/main
2023-05-06T03:39:05.734396
2021-05-29T17:29:26
2021-05-29T17:29:26
370,101,023
0
0
null
null
null
null
UTF-8
Python
false
false
844
py
from config import GRID from treinar import Treinar from agente import estadoTerminal from grid import melhorCaminho def escolher(): x = input("linha: ") y = input("coluna: ") while estadoTerminal(int(x),int(y),GRID): print ("vaga ocupada, digite novamente: ") x = input("linha: ") ...
[ "danilo.duartejp@outlook.com" ]
danilo.duartejp@outlook.com
fbd5a0f6abb602e65d216522cbe43a9702dbb210
5bf614a818d6b62cfa7f6ee67a90082e2cf92824
/python/tools/camera_stats/server/utils/mongo_handle.py
51638d395c67b12da1dd92ea30726921b25231cc
[]
no_license
Jerry315/scripts
d28f37fe976e922a22699c3f9e778475f518d9ac
6ba57724311a465e733f21bed3578dcd246a4ac5
refs/heads/master
2022-12-06T13:15:31.039207
2020-08-29T02:18:26
2020-08-29T02:18:26
291,177,542
0
0
null
null
null
null
UTF-8
Python
false
false
5,068
py
# -*- coding: utf-8 -*- import json import time from schematics.models import Model from pymongo import ReturnDocument, MongoClient from settings import config # print config mongo_config = config['mongodb'] db_session = MongoClient(mongo_config['url'], connect=False,) db = db_session[mongo_config['db']] class BaseM...
[ "710899905@qq.com" ]
710899905@qq.com
bf0749712c8e51643cf50ef608885242ebd8e5df
7c1f6ef28991c681bfd30d2059533ccf471110d3
/myViewBox.py
b96c30ef780227c8e874dfcc69420ec478f475f9
[]
no_license
lolizz00/RF_TOOL
e546da667cca38402654519eeca4a4f836a427b4
a9c70cc93a64550f16ec33cddc00f615844c3979
refs/heads/master
2023-06-21T13:27:00.203422
2021-07-17T09:16:03
2021-07-17T09:16:03
360,627,973
0
0
null
null
null
null
UTF-8
Python
false
false
2,974
py
from pyqtgraph.Qt import QtGui, QtCore import numpy as np import pyqtgraph as pg from pyqtgraph.Point import Point from pyqtgraph import functions as fn from PyQt5.QtCore import pyqtSignal __all__ = ['ViewBox'] class CustomViewBox(pg.ViewBox): sigRangeSelect = pyqtSignal(QtCore.QRectF) def __init__(self, *...
[ "timofei.volkov@mail.ru" ]
timofei.volkov@mail.ru
f457f6e9c5266147f1d9d0e3d6d45eee4bff3159
17377d4a64ca42aee854097b26fa1ba088995a5a
/server.py
3c0b309bc0ff0fc151d4e9af80326353aa59b7cf
[]
no_license
grecabral/mmserver
dce4153439b390c5ef50e8c56440c195172e100d
4c2832987b32ce97f888eabc4116ecb114ad760a
refs/heads/master
2022-12-18T06:12:43.753463
2017-04-10T18:09:30
2017-04-10T18:09:30
294,192,491
1
0
null
null
null
null
UTF-8
Python
false
false
11,752
py
from config import * from server_config import * import logging import socket import sys from thread import * from time import time class clientWorker: def __init__(self, clientSock): self.clientSock = clientSock self.pingAvgMS = -1 self.localIP = "" # Get peer name of client(exte...
[ "csf2@cin.ufpe.br" ]
csf2@cin.ufpe.br
5566d9fe68f4a8e90970c0c0c27916071980e61a
2ec14fd1724fc8959e1d3a1b4d3f61d5c0cf6f48
/test/functional/feature_uacomment.py
e8b6937d62c8a3a6b6640d2715077b8465f8deaf
[ "MIT" ]
permissive
vitae-labs/Vitae
7ddf8142d1e663f406399ec17de1c7bbba5e32fd
fa301e714cb26e742cfe29164a25961f1ff6d52c
refs/heads/main
2022-07-28T15:48:24.765770
2022-01-29T06:13:19
2022-01-29T06:13:19
451,559,855
0
1
null
null
null
null
UTF-8
Python
false
false
1,769
py
#!/usr/bin/env python3 # Copyright (c) 2017-2019 The Bitcoin Core developers # Copyright (c) 2020-2021 The Vitae Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the -uacomment option.""" import re from te...
[ "hemant.singh.leu@gmail.com" ]
hemant.singh.leu@gmail.com
4f5bf9e4b0a644d5fc52e36b483901fb4267793f
fdec534f5ae2ab1fd6c14d84ce6f60bdc5fb9cc3
/demo.py
df94b86d20c360b43344e316dee88cef9f13e1a5
[]
no_license
nithinr07/neurosky-data-logger
7e555cb9fd7f2919dd3db942f2d9446944f7f69b
0436611110039b29fee44697e7ee78c62caa6acb
refs/heads/main
2023-03-07T18:02:57.174583
2021-02-22T14:11:43
2021-02-22T14:11:43
341,221,956
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from NeuroSkyPy.NeuroSkyPy import NeuroSkyPy from time import sleep import os os.system("sudo rfcomm connect /dev/rfcomm0 C4:64:E3:E6:E3:7D 1 &") sleep(3) neuropy = NeuroSkyPy("/dev/rfcomm0") neuropy.start() while(True): #neuropy.start() print("Attention = ", neuropy.attention) print("Loose Contact = ", ne...
[ "noreply@github.com" ]
nithinr07.noreply@github.com
d09d651c8b884b3ed825d329a4531ec94b0b54d5
ad71c89863122dfb4093db0d9f9c40d962d567ff
/Week 10/3-HorizontalHistogram.py
487bedcb770ac0989049098209474854bb385e10
[]
no_license
jacktnp/PSIT60
8958e7cca278c81d2c5d3af6956728c35425628d
b63c63d8d9c1e97ce66bbb0b884b1f19fecf7b6b
refs/heads/master
2021-08-16T07:53:33.900161
2017-11-19T10:07:02
2017-11-19T10:07:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
""" PSIT Week 10 Wiput Pootong (60070090) HorizontalHistogram """ def main(): """ Display histogram of alphabets """ text = input() upper = {} lower = {} for char in text: if char.isupper(): if char not in upper: upper[char] = 0 upper[char] += 1 ...
[ "wiput.pootong@gmail.com" ]
wiput.pootong@gmail.com
c17ad1ba1dfe17e3fa802c32622852702517642a
3424161b573d2fe8873905d434d459a28336e87c
/head_soccer_06_3/source/database/mysql.py
fbb8e3d541273717b2f80f718259dc62c29cae0d
[]
no_license
newtonis/Head-Soccer-Network
412f7717b97bcb2216bc8086ef131e9e9a4f3908
fd76920c486fb4af903b0e92b0d014a7d254f124
refs/heads/master
2023-05-23T23:08:46.952852
2021-06-27T00:20:12
2021-06-27T00:20:12
30,889,769
2
1
null
null
null
null
UTF-8
Python
false
false
1,566
py
__author__ = 'Dylan' import _mysql import time try: con = _mysql.connect('db4free.net','grandt','1221dylan','headsoccerdb') except: print "[Info] Not able to reach internet" con = None class SQLEngine: def CheckDeadServers(self): actual = self.GetServers() for x in actual: ...
[ "newtonis.penguin@gmail.com" ]
newtonis.penguin@gmail.com
7e4b7a5bdfb6d25d255b784d6a4bb658c8cefabc
5b878283551105da0585bdd6633654f2a1f93727
/run_dv_seq2seq.py
6a34ab8ef4be73a8e89d2ea2b551f359b2e58502
[ "MIT" ]
permissive
xuefei1/RWG_DV-Seq2Seq
5d3e8489aaafa03f2d9133f3d31dd3c8cfaadbcc
2bbcdbdb005839241538323281471183d5c1959b
refs/heads/master
2020-05-22T22:10:26.612804
2019-11-19T16:15:00
2019-11-19T16:15:00
186,541,479
5
1
null
null
null
null
UTF-8
Python
false
false
8,971
py
import utils.model_utils as mutil from utils.lang_utils import * from data_loaders import DVSeq2SeqDataLoader from model_dv_seq2seq import * from data.read_data import * from constants import * from params import prepare_params, merge_params from components import LRDecayOptimizer, get_masked_nll_criterion, get_nll_cri...
[ "xuefei1@ualberta.ca" ]
xuefei1@ualberta.ca
637080b209cceba9f9dabed353282427b275870c
e42c3356609b94cf69ec58b977a33039884bf887
/Qiskit/GHZ.py
ba9093e15fceeaedc2bc348430f784da446ff5cc
[]
no_license
arecibokck/Moonlight
dd146fcfad8dce3d501ab9dc41d8280898d9eb88
2e291c7fcee4d16d1578fe670de6de0504e4fcfe
refs/heads/master
2020-12-25T17:38:14.472308
2020-12-19T10:38:58
2020-12-19T10:38:58
42,864,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,545
py
import qiskit as qk import matplotlib.pyplot as plt import numpy as np import matplotlib.image as mpimg from matplotlib import gridspec # Define the Quantum and Classical Registers q = qk.QuantumRegister(3) c = qk.ClassicalRegister(3) # Build the circuit qcircuit = qk.QuantumCircuit(q, c) qcircuit.h(q[0]) qcircuit....
[ "arecibokck@gmail.com" ]
arecibokck@gmail.com
9263ed5ca2681646dd28b49829187f3ea45292f5
d3d9dfb2e8221c24f1de3a102edafc0f312561f7
/tests/obst/noguess/script
19068f5a601f2d68443a454df6b60edb2f0f991a
[]
no_license
stebulus/gmwbot
b099e0ed5271ac17777f04d950c3266866a5db70
6bd880f37b9060424e08058c1e3adf7da9f3d780
refs/heads/master
2020-06-05T07:21:32.266566
2014-08-12T00:35:36
2014-08-12T00:38:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
438
#!/usr/bin/env python from string import ascii_lowercase import gmwbot words = list(ascii_lowercase) g = gmwbot.obstguesser(words, [1]*len(words), [0]*(len(words)+1)) print g('p', 'r') try: print g('p', 'q') except gmwbot.NoGuessError, e: print type(e), e g = gmwbot.obstguesser_sjtbot2(words, [1]*len(words),...
[ "steven@amotlpaa.org" ]
steven@amotlpaa.org
5b2bb6915ae85da79bb36109143b4c62c8f98224
0077f37ce48e2b15d7b16454f25fe984972ea1e9
/alexSite/utils.py
fba2bbf3bffe178d114e2902c465df5106240eb9
[]
no_license
alex6xu/alexSite
7e39375cad28c31daffe894055b2df36d3602e8c
a68a8f5bbe6fb0d4492638997c5cfe02772ef42a
refs/heads/master
2020-07-05T18:09:40.341479
2019-07-20T15:19:51
2019-07-20T15:19:51
66,235,780
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
from typing import ( Any, Dict, Mapping, List, Tuple, Match, Callable, Type, Sequence, ) class ObjectDict(Dict[str, Any]): """Makes a dictionary behave like an object, with attribute-style access. """ def __getattr__(self, name: str) -> Any: try: re...
[ "permike@163.com" ]
permike@163.com
8a7206749b4cbf2bdd38e1d693156ba7dbd8f1cd
5e12fa68b2c3342d51204903f50fd69708ed095f
/313E/Assignment1b.py
2a2de1d3df074bfb4b413053bf228844fea13398
[]
no_license
xlyds/python-misc
657be4b380869e22c99172d6e5b86f815e561ab6
e2f8dc7ab22f3d69e2ac186977b43c1e5cbc87b9
refs/heads/master
2021-11-10T17:09:51.670255
2014-01-11T19:11:48
2014-01-11T19:11:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
# Files: Assignment1a.py # # Description: Draws a house # # Student's Name: Zach Tidwell # # Student's UT EID: zt659 # # Course Name: CS 313E # # Unique Number: 52295 # # Date Created: 9/14/11 # # Date Last Modified:9/14/11 ############################################### from turtle import * ...
[ "zftidwell@gmail.com" ]
zftidwell@gmail.com
dd79bea0677916fb08bd396f3d4f6a716264d86c
7152978f66223889e6285b7b05847b6388ad35d2
/day-07/question-060.py
fbad141ae3ee9e41fb05e3401a2eb71601df53eb
[]
no_license
martinleeq/python-100
8a65acf3ad8544bfe0abcdbc5bfcc9ee5231c2c4
695e5d2fba1d6174767b381bda4a24b2776f2711
refs/heads/master
2023-02-05T04:28:32.703367
2020-12-28T03:53:17
2020-12-28T03:53:17
322,327,007
4
0
null
null
null
null
UTF-8
Python
false
false
300
py
""" 问题60 f(n)=f(n-1)+100, 当n >0 f(0)=0, n=0 当给定一个n时,计算f(n)的值. """ while True: n = int(input('Input: ')) if n == 0: print(0) else: fn, fn1 = 0, 0 for i in range(1, n + 1): fn = fn1 + 100 fn1 = fn print(fn)
[ "martinleeq@hotmail.com" ]
martinleeq@hotmail.com
a97af72b318fdcde986eef86fb95de738a1d1561
cc4d19b685d77f9cdfb2a34492dd5ef84f0ab49e
/manage.py
685fa7a26023ff3b0874b82bdbc0241d5683ec28
[]
no_license
Zoli1212/videosharing
1eb424525b97286650e771f1b5e13b515d716fb2
7e1b2504f0faeab953ac4a48379af464dba35f57
refs/heads/master
2023-01-03T01:17:47.226223
2020-10-30T17:10:40
2020-10-30T17:10:40
308,698,489
0
0
null
null
null
null
UTF-8
Python
false
false
632
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', 'videosharing.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise I...
[ "43321960+Zoli1212@users.noreply.github.com" ]
43321960+Zoli1212@users.noreply.github.com
a1c8c70909a8fc1c7ae9cd1d3c59271506fb61df
cb73fe89463892c8c147c6995e220f5b1635fabb
/AtCoder Beginner Contest 174/q3.py
ac39b97c6a5853fd19f555ce923192f306771a27
[]
no_license
Haraboo0814/AtCoder
244f6fd17e8f6beee2d46fbfaea6a8e798878920
7ad794fd85e8d22d4e35087ed38f453da3c573ca
refs/heads/master
2023-06-15T20:08:37.348078
2021-07-17T09:31:30
2021-07-17T09:31:30
254,162,544
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
import sys from io import StringIO import unittest def resolve(): k = int(input()) x = 7 % k for i in range(1, k + 1): if x == 0: print(i) return x = (x * 10 + 7) % k print(-1) class TestClass(unittest.TestCase): def assertIO(self, input, output): ...
[ "harada-kyohei-fj@ynu.jp" ]
harada-kyohei-fj@ynu.jp
48664102dbf2fccbd738d7f41fde8645c5e6df09
8a90c218278329b824dbb1c9dedfa7549d04340a
/python/src/lib/python/pelix/ipopo/handlers/constants.py
ab0c376510101e4442007fb5af64f4d972c73ced
[ "Apache-2.0" ]
permissive
cohorte/cohorte-runtime
8155084a24c6212d407efc19f7c786cda3938c9a
686556cdde20beba77ae202de9969be46feed5e2
refs/heads/master
2021-10-24T02:35:04.294753
2019-03-21T13:08:41
2019-03-21T13:08:41
24,407,102
3
1
null
null
null
null
UTF-8
Python
false
false
6,688
py
#!/usr/bin/env python # -- Content-Encoding: UTF-8 -- """ iPOPO handlers constants and base classes :author: Thomas Calmant :copyright: Copyright 2014, isandlaTech :license: Apache License 2.0 :version: 0.5.7 :status: Beta .. Copyright 2014 isandlaTech Licensed under the Apache License, Version 2.0 (the "Li...
[ "dbassem@gmail.com" ]
dbassem@gmail.com
06aedfb3216e2eaac1c2235aa66ef85e9bef765f
f9318e10a48e9e87f7c1537c8f2e647dda677e4c
/octopus/modules/account/account.py
f4cf289eb6fd78bae031846b8ce19af629b05fda
[ "Apache-2.0" ]
permissive
JiscPER/magnificent-octopus
250579020ead7a8d8424e96a8c3e811b12cc4d90
e1be9a5f779a38122c5ad9d1d5365bb9a1dc2cf1
refs/heads/master
2023-07-20T00:27:26.018800
2016-01-22T16:07:24
2016-01-22T16:07:24
46,710,009
0
1
NOASSERTION
2023-07-10T11:22:43
2015-11-23T09:29:26
Python
UTF-8
Python
false
false
10,571
py
import uuid, json from flask import Blueprint, request, url_for, flash, redirect, make_response from flask import render_template, abort from flask.ext.login import login_user, logout_user, current_user, login_required from octopus.core import app from octopus.lib.webapp import ssl_required, request_wants_json, flash...
[ "richard@cottagelabs.com" ]
richard@cottagelabs.com
c3ff731e7c2a53423e89b6edc552126dacdd17d8
826f97c4c2d94503ff156a5fc33b60ef981509d8
/oj/settings.py
46335f3c2ad1048c138dbe3713c2685e0e73ece1
[ "MIT" ]
permissive
geek-Xie/OnlineJudge
ee0efb2b4b290cbfccf26de1177073cde7750995
5ed43489d39c4feea1ec688d36a557352e388e5f
refs/heads/master
2023-04-09T20:32:21.058744
2021-04-21T15:04:41
2021-04-21T15:04:41
357,925,316
0
0
null
null
null
null
UTF-8
Python
false
false
6,544
py
""" Django settings for oj project. Generated by 'django-admin startproject' using Django 1.11. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ import os import ra...
[ "504428538@qq.com" ]
504428538@qq.com
85467f0e87ac145734cbd7cf82630fdc79c4cc99
ec41aaf927a8c9e2f69ac6a2c5111beb447a71cf
/log_analysis.py
54cb355c10891efd5b2a9087822d3c8c09e3923b
[ "MIT" ]
permissive
rr2674/log_analysis
6450f13ec19a41ad58f379174ea7c293d2dbb3d4
e17428bdf2c56414b4e31bc53efa785fa856550c
refs/heads/master
2020-04-21T15:28:42.571933
2019-02-10T01:20:04
2019-02-10T01:20:04
169,670,654
0
0
null
null
null
null
UTF-8
Python
false
false
2,409
py
#!/usr/bin/env python3 import psycopg2 def do_query(db, query): cur = db.cursor() cur.execute(query) rows = cur.fetchall() cur.close() return rows def most_popular_three_articles(db): """ Q: Which articles have been accessed the most? This function will display a sorted list with ...
[ "rr2674@att.com" ]
rr2674@att.com
11bb0dda8e1159f8ca4f83f7f6caee2f1410bc1f
d56885aa49e6541932b1dba223f3a6aa1601ea5d
/TorrentDriveAdjuster.py
ec43eabb62f09c911199eee1d2d4facbe82d7d33
[ "MIT" ]
permissive
stevin05/SonarrDiskMultiplexer
6e11cea91e9da7b55318c11b85b93cbdf3993a34
21a74883aef176ab4275644c75ca5be4f1faec9a
refs/heads/master
2022-04-21T17:08:15.617696
2020-04-18T01:45:37
2020-04-18T01:45:37
256,647,795
1
0
null
null
null
null
UTF-8
Python
false
false
5,832
py
import os import sys from pathlib import Path import qbittorrentapi import logging import requests # Prerequisites: # 1. Install python # 2. Make sure python is in the system path (a check box on the installation) # 3. Install pip so you can grab the required packages # 4. pip install requests # 5. pip install qbittor...
[ "63887600+stevin05@users.noreply.github.com" ]
63887600+stevin05@users.noreply.github.com
f480fc8f2b9e68eea63991f2c1e899917ba3f613
c5148bc364dac753c0872bd5676027a30b260486
/build/lib/biosteam/units/decorators/_design.py
bd20530d6c47562af76bc4bada9d063ee6920593
[ "MIT", "NCSA", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ecoent/biosteam
86f47c713a2cae5d6261b6c2c7734ccf7a90fb4e
f1371386d089df3aa8ce041175f210c0318c1fe0
refs/heads/master
2021-02-24T14:10:23.158984
2020-03-05T03:43:17
2020-03-05T03:43:17
245,433,768
1
0
NOASSERTION
2020-03-06T13:59:27
2020-03-06T13:59:26
null
UTF-8
Python
false
false
4,647
py
# -*- coding: utf-8 -*- """ Created on Mon May 6 17:19:41 2019 @author: yoelr """ __all__ = ('design', 'add_design') # -*- coding: utf-8 -*- """ Created on Mon Jun 17 21:18:50 2019 @author: yoelr """ from thermosteam.base import stream_units_of_measure __all__ = ('design',) # %% Design Center class def _design(...
[ "yoelcortes@gmail.com" ]
yoelcortes@gmail.com
d29c454867dbde6d3ef0ab9681683aa9fb155672
cc2f58b01309b585e8ade99bc430d6f859f0e42d
/resources/independence_write_pyc.py
2330cdda2dc931f81e5bfd6800fd6a6933f50636
[]
no_license
orangepips/coding-the-matrix
4e758f3047432054a0763639bef418690dea580e
43ed47bf1febfcbc69fbdbcf9b4d2234512e4b1a
refs/heads/master
2021-09-04T04:48:29.146868
2018-01-16T01:27:13
2018-01-16T01:27:13
109,063,250
2
0
null
null
null
null
UTF-8
Python
false
false
22,331
py
def main(): # del globals()['_get_module'] import imp import base64 import marshal magic = imp.get_magic() if magic == b'\xee\x0c\r\n': # Python 3.4 pycData = b'7gwNCj16/FTtDQAA4wAAAAAAAAAAAAAAAAMAAABAAAAAc4YAAABkAABkAQBsAABaAABHZAIAZAMA\nhAAAZAMAgwIAWgEAZAQAZAUAZAYAhAEAWgIAZAcAZAgAhAAA...
[ "orangepips@gmail.com" ]
orangepips@gmail.com
e4ba016e8bb3ad6ec871723925cf265fadfb6d51
152bdbeb3057a084401df3c3cf83394f09decad7
/APAC-server.py
a94fe989fb0c45d3f6f04e97f6faefafae9057b5
[]
no_license
ramadas88/1-Ansible-Master
fbfd955ba860fd6d9cae1dbccfd74438814bfcd3
fdce7d78d0d38b5f9b460dd7674b154339d45504
refs/heads/master
2020-06-03T11:14:06.338454
2019-07-21T09:13:33
2019-07-21T09:13:33
191,546,490
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
import pandas as pd File_Name = "SpecificAlertCheck_2019-6-11_1617.csv" # List of Tuples students = [ ('jack', 34, 'Sydeny' , 'Australia') , ('Riti', 30, 'Delhi' , 'India' ) , ('Vikas', 31, 'Mumbai' , 'India' ) , ('Neelu', 32, 'Bangalore' , 'India' ) , ('John', 16, '...
[ "ramadas88@gmail.com" ]
ramadas88@gmail.com
a65c18a1683bd7269c63d79bd52543077f0c8c1a
fe1650eef4fc338ae31e206d6f0ce706bf943ba7
/VideoFusionGPU/frame/__init__.py
fe51af8832f1117bcd3350f4d26a087a82cf8765
[]
no_license
davidliyutong/360ParallelConvert
1341c8046a49a179eb2038dee80c33cc27b0c082
42c4fb46878f0355f39a3975309a98ffd2028bdd
refs/heads/master
2022-11-10T21:50:44.453403
2020-07-05T15:34:24
2020-07-05T15:34:24
277,330,157
1
0
null
null
null
null
UTF-8
Python
false
false
1,810
py
import numpy as np import numba.cuda as cuda from ..utils import sphere2cube, project class frame_processor(object): def __init__(self, frame_shape, view_shape=(1024, 2048, 3), block=(16, 16, 1)): self.valid = False self.view_shape = view_shape self.block_dim = block assert block[0...
[ "32391509+davidliyutong@users.noreply.github.com" ]
32391509+davidliyutong@users.noreply.github.com
4c351b046695fbd164014df647be4c83f03eaa06
5ee0b8b4d3c2b30d2674cc28079f56fe191f2176
/tests/integration/Common_test.py
31fd20b9a2d95db7bc23e874d929fa99dea45f87
[ "MIT" ]
permissive
dorrella/widget-rest
280d22ff7d622c857570d8a1b76f352fc46d95eb
6874fa1487cd1967707790ea365e4ace6f28f175
refs/heads/main
2023-06-12T03:10:30.193899
2021-07-03T19:30:59
2021-07-03T20:08:51
382,124,334
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
import os from pathlib import Path from tornado.testing import AsyncHTTPTestCase from WebApp.App import make_test_app dir_path = Path(os.path.dirname(os.path.realpath(__file__))) json_path = dir_path / "../../json" class TestMainHandlerSetup(AsyncHTTPTestCase): """dummy template that makes a test app and will ...
[ "alexdorrell9@gmail.com" ]
alexdorrell9@gmail.com
a54031a091dc8ef18fbd886a0d9a5de58b59c0fa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03326/s432961114.py
004e333b7354de53b77847c25af19fb0cad2aa12
[]
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
595
py
n,m = map(int, input().split()) ab = [list(map(int, input().split())) for _ in range(n)] import itertools nums = [0,1] ll = list(itertools.product(nums,repeat=3)) res = 0 for i in ll: temp =[] for j in range(n): if i[0]==0: x = ab[j][0] else: x = -ab[j][0] if i...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a511cf8f8dd6979263066a3d62441c835ddf669f
f090e7883e90fd96a4feab83703d702965efbf4a
/Blake/Chapter 1 - Python Basics/hello.py
d9ddb18ff18d1f6c03d68fd0a72001b19c9ca87c
[]
no_license
Kelley12/LearningPython
a83d09b155c6d79111f2830b44b8e49e6bbc1f2c
0ffcd1541d5b152b3359bca679e577365825d7e0
refs/heads/master
2021-01-20T14:03:44.707519
2018-09-07T21:06:42
2018-09-07T21:06:42
90,556,594
0
0
null
2017-08-23T12:37:26
2017-05-07T19:31:40
Python
UTF-8
Python
false
false
344
py
# This is the hello world program from Chapter 1 print('Hellow world!') print('What is your name?') name = input() print('It is nice to meet you, ' + name) print('The length of your name is ' + str(len(name))) print('What is your age?') age = input() print('In case you didn\'t know, you will be ' + str(int(age) + 1) ...
[ "blakekelley127@gmail.com" ]
blakekelley127@gmail.com
6f0fb9c49884e780a516de1d650e4a68ef9638bb
8937c4d452c98699610923f76a395a2247f576df
/demo/download_demo_data.py
849791f18789882a992f77b515e00bad9d872f31
[]
no_license
mistycheney/MouseBrainAtlas
812b204af06ed303f3c12d5c81edef50c8d9d1ed
bffbaa1ede9297084e64fc197716e63d5cb54275
refs/heads/master
2020-04-11T13:44:09.632311
2018-11-20T22:32:15
2018-11-20T22:32:15
20,377,173
3
9
null
2017-03-15T19:39:27
2014-06-01T12:42:08
Jupyter Notebook
UTF-8
Python
false
false
3,974
py
#! /usr/bin/env python import sys, os sys.path.append(os.path.join(os.environ['REPO_DIR'], 'utilities')) from utilities2015 import * from metadata import * from data_manager import * import argparse parser = argparse.ArgumentParser( formatter_class=argparse.RawDescriptionHelpFormatter, description='This scri...
[ "cyc3700@gmail.com" ]
cyc3700@gmail.com
7977bb1ce1d9a579b1e649b597c8cf721be29e0f
d61f93228649430cf38dd6b9cb0c66e870a10a9d
/scripts/x86_example.2.py
1a02b428954b9f038027a5c8d3dcc1cc0ee77f2b
[]
no_license
kr1tzy/unicorn_scripts
adf22da64d995aa37f75fbfd0062db1ac2b5df7e
509504e92cae4cdc195d3af02c9a42de52f4764f
refs/heads/master
2023-03-17T20:44:00.270903
2021-03-16T04:57:39
2021-03-16T04:57:39
210,704,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
""" Code + Stack rax starts with 0x1 (set on line 41) rbx starts with 0x2 (set on line 42) rcx starts with 0x3 (set on line 43) ``` push rcx [push rcx onto the stack] pop rax rax: 0x3 add rax, rbx rax: 0x5 ``` """ from unicorn import * from unicorn.x...
[ "noahkritz@gmail.com" ]
noahkritz@gmail.com
e5d11a77ce1c989514ae0215922f88d8f5fb9851
137b2969323f7fb20cf4b72bf24ff98339a410c8
/tutorial/2/cal_pi_python.py
c9c4f802a962d65871cd0ef97a9fb7dd63ca74cd
[]
no_license
kangheeyong/STUDY-make-lda-lib
c91b6d9a5bff7b25a0c00b63e61f93fbd60d2a8e
0f658032cf63922a0a5fc2fb5f34b8f22e97c94f
refs/heads/master
2021-02-12T06:27:27.900312
2020-04-03T10:56:21
2020-04-03T10:56:21
244,568,658
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
# calc_pi.py def recip_square(i): return 1. / i ** 2 def approx_pi(n=10000000): val = 0. for k in range(1, n + 1): val += recip_square(k) return (6 * val) ** .5 if __name__ == '__main__': approx_pi()
[ "cagojeiger@naver.com" ]
cagojeiger@naver.com
36c3cc1e845f99a9dc4bf7fe62ea02ee0001f7ec
cf4b4d6130a535093ce16a6fb55f98ba270e6b68
/utils/helper.py
5d09ffdff05ad53ec133d06b5036365caeeb09ef
[]
no_license
RafaelMaldivas/Mercadinho
98786e611b6d7982b04137ba5aa0ae26a8bd3221
5dd88070043c5bae7e78681f577bf1026c614e61
refs/heads/master
2023-09-03T14:10:54.750014
2021-11-03T03:51:09
2021-11-03T03:51:09
424,084,233
1
0
null
null
null
null
UTF-8
Python
false
false
216
py
def formata_float_str_moeda(valor: float) -> str: return f' R$ {valor:,.2f} ' def formata_qtd_gramas(valor: int) -> str: return f'{valor} gr' def formata_qtd_ml(valor: int) -> str: return f'{valor} mL'
[ "rafaelmaldivas@gmail.com" ]
rafaelmaldivas@gmail.com
5ca60b7b3e609676fcc11e9e3be95cb89d25509d
24e9c44e8c6ed93c1d977b32e1b5db125c3ef99f
/FinalProject/FinalProject/spiders/FinalProject.py
542dee394d515e011ebb16e5a9a6269fa1571151
[]
no_license
MariaMasood-1/IDCE302-01-S21_Final_Project
0e55a9fbb71c4ae1051e86f52c1e40149453855b
f91221845b0d239e87280a7cfc4cf6452769490b
refs/heads/main
2023-04-01T12:39:24.626173
2021-04-09T16:00:54
2021-04-09T16:00:54
355,973,300
0
0
null
null
null
null
UTF-8
Python
false
false
1,205
py
# Created by: Maria Masood # Date: 04/07/2021 # Description: built a spider to scrape the https://coronalenergy.com/solar-portfolio/?tag=Utility%20Scale to get #the list of solar projects in United states #importing libraries import scrapy from ..items import FinalprojectItem class Final_Project(scrapy.Spider): #in...
[ "mariamasood@Marias-MacBook-Air.local" ]
mariamasood@Marias-MacBook-Air.local
879b16bbb01c016b6e984839fa4a918be7adb5cf
f8e8e365c9cf58b61d72655bc2340baeaed5baff
/Leetcode/Python Solutions/Stack/largestRectangleinHistogram.py
39ee39bff0455b2a950049c9ecd1446682f4e05b
[ "MIT" ]
permissive
Mostofa-Najmus-Sakib/Applied-Algorithm
39a69f6b9ed113efe4a420d19cad79e0aa317637
bc656fd655617407856e0ce45b68585fa81c5035
refs/heads/master
2023-08-31T19:54:34.242559
2021-11-05T03:43:35
2021-11-05T03:43:35
412,263,430
0
0
MIT
2021-09-30T23:45:29
2021-09-30T23:45:25
null
UTF-8
Python
false
false
641
py
""" LeetCode Problem: 84. Largest Rectangle in Histogram Link: https://leetcode.com/problems/largest-rectangle-in-histogram/ Language: Python Written by: Mostofa Adib Shakib Time Complexity: O(N) Space Complexity: O(N) """ class Solution: def largestRectangleArea(self, heights: List[int]) -> int: heights....
[ "adibshakib@gmail.com" ]
adibshakib@gmail.com
d565798d45b6dc2a1ddcc9972a30cb2209295433
4ba7037a9102727c02f6ec967c1f2c745dd7056b
/crescente_decrescente.py
075b9760726f425adf880a61b4a2ff83164b4e4a
[ "MIT" ]
permissive
caique-alencar/coursera-python
546b7a331a179ce148780ee7ae71ff1634525b0b
57e669f8b7b4b79a4cb10ebd968df47fd6f93877
refs/heads/master
2020-04-23T11:48:32.510949
2019-08-28T22:04:30
2019-08-28T22:04:30
171,148,645
0
1
null
null
null
null
UTF-8
Python
false
false
764
py
# Função que verifica se os números estão em ordem decrescente def ordem_decrescente: decrescente = True anterior = int(input("Digite o primeiro número da sequência: ")) valor = 1 while valor != 0 and decrescente: valor = int(input("Digite o próximo número da sequência: ")) if valor ...
[ "caiquealeencar@gmail.com" ]
caiquealeencar@gmail.com
796354a3a2fb83e7672227b9ac336b3519d3659f
0c02c3a602c264e3203f4279fc3487abcf97d537
/Helper/CNN/convolution.py
e5b1957f9c78f7db96d1fc5bc99c3f58ae92ac8d
[]
no_license
suhaneshivam/Image-classification
ff2a43b06647ad00f13c9524366cafea8703f301
b81d6631141bb824b0a1a8fdd9ee07973a7f0c2c
refs/heads/main
2023-04-24T17:10:02.638080
2021-05-08T18:15:52
2021-05-08T18:15:52
364,997,426
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
import cv2 import numpy def Conv2d(image ,kernal): (kh ,kw) = kernal.shape[:2] (ih ,iw) = image.shape[:2] pad = (kh -1) //2 output = np.zeros((ih ,iw) ,dtype = "float32") image = cv2.copyMakeBorder(image ,pad ,pad ,pad ,pad ,cv2.BORDER_REPLICATE) for y in range(pad ,ih + pad): for x ...
[ "suhaneshivam82@gmail.com" ]
suhaneshivam82@gmail.com
7c0f136ffcd56de3056adde9a1237a0f37c7128a
9cd180fc7594eb018c41f0bf0b54548741fd33ba
/sdk/python/pulumi_azure_nextgen/storagesync/v20190601/cloud_endpoint.py
5c78675b69b623e9ab26c75f703f023c90e7a642
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MisinformedDNA/pulumi-azure-nextgen
c71971359450d03f13a53645171f621e200fe82d
f0022686b655c2b0744a9f47915aadaa183eed3b
refs/heads/master
2022-12-17T22:27:37.916546
2020-09-28T16:03:59
2020-09-28T16:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,839
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
e5fc77321af5eda8618f5073fec8b70ecdefc885
3bc2bd8137a6d32925a38ea6929be60cb977b2a6
/dags/fncore/tasks/neo4j_writer.py
1730a85dae045804a6a3b16ae6f15a0501614e95
[]
no_license
shermanelee92/hadoop-spark-hive
0d076997a25206ec939a2cfe0975b1f1acada9b0
f8b7e4c96fbdb19011c789f5ed3a8633eeefc042
refs/heads/master
2022-11-15T00:30:50.970724
2019-12-17T09:31:45
2019-12-17T09:31:45
212,046,752
1
1
null
2022-11-11T07:26:18
2019-10-01T08:26:57
Python
UTF-8
Python
false
false
15,712
py
# coding=utf-8 """ This module defines the airflow function to insert the data into the neo4j database. For each node list, the graph specification is parsed to identify which fields to hide (not to insert into the database), which fields that should be indexed for searching (and is replicated as a `_label` field), an...
[ "shermaneleeqianhui@gmail.com" ]
shermaneleeqianhui@gmail.com
d21803cc3e6025eb6eac8884a3604a3dfc0f2cfe
b0d7d91ccb7e388829abddb31b4aa04a2f9365cd
/archive-20200922/binary-search/first_bad_version2.py
62556ed0f8ac0ef51c7ea5298bc5dd50a4ec3b3f
[]
no_license
clarkngo/python-projects
fe0e0aa02896debe82d1e9de84b1ae7d00932607
139a20063476f9847652b334a8495b7df1e80e27
refs/heads/master
2021-07-02T10:45:31.242041
2020-10-25T08:59:23
2020-10-25T08:59:23
188,570,684
0
0
null
null
null
null
UTF-8
Python
false
false
1,351
py
# https://leetcode.com/problems/first-bad-version/submissions/ # You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality check. Since each version is developed based on the previous version, all the versions after a bad versio...
[ "clarkngo@gmail.com" ]
clarkngo@gmail.com
21418667a8fe05896963725a6a68685b6845f11a
468a20df682ba43484f1953797f343011f77d7c1
/app.py
31669bddb87e95ebaf2f6c422b3575cae13d671e
[ "MIT" ]
permissive
hchen13/capshelper
447006d363420e87a1ca4389ab1388b496495cdd
aea799c07064369642c3db557e939634c6c5da70
refs/heads/master
2020-03-21T21:09:30.904144
2018-06-29T03:20:30
2018-06-29T03:20:30
139,049,101
1
0
null
null
null
null
UTF-8
Python
false
false
1,922
py
import json import os from butler import Butler from butler.visualize import * from downloader import * from settings import ROOT_DIR butler = Butler() downloader = Downloader() main_coins = 'USDT BTC ETH'.split(" ") def update_watchlist(): watchlist = [] for counter in main_coins: coins = download...
[ "gradschool.hchen13@gmail.com" ]
gradschool.hchen13@gmail.com
63e2616cad769cc31ffedd1ff5bb10567e0943e6
33312d4112c506194476c8f74c6f861b0aa2c36d
/setup.py
a26143240b12b3d22a006500d2580f19cbe7d105
[ "MIT" ]
permissive
armenchester/check_spell
33b26cda5abf33b762729d351389828c79b2aef0
3c23e8978a820f8dfdbac70274c2c6e7effddf5f
refs/heads/master
2020-05-03T05:48:08.883659
2019-03-29T18:39:11
2019-03-29T18:39:11
178,454,945
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
import setuptools setuptools.setup( name='check_spell', version='0.1', description='Spell checker', url='https://github.com/armenchester/check_spell', author='Armen Khachatryan', author_email='armen.khachatryan88@gmail.com', license='MIT', packages=['check_spell'], include_package_d...
[ "armen.khachatryan@click2sure.co.za" ]
armen.khachatryan@click2sure.co.za
d1a8bf25ea2b3f1f66c839d53aa183941896b335
8560321b3503881b1403d6afe4bd926a0e997765
/Inheritance/ChineseChef.py
36732249734f1d214467460608a466b4b80768cb
[]
no_license
marzan-666/Learn-Python-Giraffe-Academy
ea08fff94c5306c1cbc8b4d38a19bcc9c5d83a07
dfe55342e5d5530056758fb6c71835b497e07c27
refs/heads/main
2023-01-13T16:18:31.154473
2020-10-20T07:32:24
2020-10-20T07:32:24
304,973,960
2
0
null
null
null
null
UTF-8
Python
false
false
665
py
'''class ChineseChef: def make_chicken(self): print("The chef makes a chicken ") def make_salad(self): print("The chef makes a salad ") def make_special_dish(self): print("The chef makes am orange chicken ") def make_fried_rice(self): print("The chef makes f...
[ "noreply@github.com" ]
marzan-666.noreply@github.com
edd291d16f305f9817ef9f141bdbff8329a968ab
3ccf564663ca3449b3f9969259e11af9cc822ee6
/bin/deprecated/auto_submit.py
4682c9d8bb3aaef063dbfdc46354578ea2480ae8
[ "NCSA" ]
permissive
DarkEnergySurvey/opstoolkit
bf1e08456e197f9742e03b98fcaae1a2ffd4490c
a180dba181fcddf38134a120f9a7dc26c7bb27e9
refs/heads/master
2023-04-20T07:59:30.600730
2021-05-06T20:35:33
2021-05-06T20:35:33
279,697,107
0
0
NCSA
2021-05-06T20:35:34
2020-07-14T21:30:55
Python
UTF-8
Python
false
false
1,395
py
#! /usr/bin/env python from sys import exit from argparse import ArgumentParser from despydb import DesDbi from opstoolkit import common # Stop current cron if still submitting previous jobs from previous cron common.stop_if_already_running() # Create command line arguments parser = ArgumentParser(description=__doc...
[ "gruendl@illinois.edu" ]
gruendl@illinois.edu
565eee867d5f4d638d1bf7d170afbac787e9b075
072ce9b6df838155351ebda46fa4d0640d1538fb
/instagram_scraper.py
8da917f6c66587a228df5bc44a44955cce9f3e8d
[]
no_license
andrebto/scrapper
fc36af9f63f83fe6bed80c9a9f21484e1ae62f4d
74420de75c8093fd1cca23ed20e1a7238baa6bb4
refs/heads/master
2020-07-30T02:49:10.834175
2019-09-22T03:49:02
2019-09-22T03:49:02
210,061,402
0
0
null
null
null
null
UTF-8
Python
false
false
2,775
py
import os import time import platform import math from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webd...
[ "andresouzabrito@MacBook-Air-de-Andre.local" ]
andresouzabrito@MacBook-Air-de-Andre.local
f7eef4e3e9515bade5f8e15383707084ab7ec8db
e0e2340254885d5f79c10d077d2d8f608ca313f1
/gym/migrations/0047_auto_20190422_1116.py
8ac71e0103b85ca1850f3dfbb262bec75e2f352f
[]
no_license
i32agval/GymLuis
87a8f278d137872cce009551032e6db0e4cec83f
5f4ae324f70a01e53a951330b0a3350a774f5b36
refs/heads/master
2023-09-01T13:33:42.921528
2020-03-16T12:18:56
2020-03-16T12:18:56
182,527,515
0
0
null
2023-08-28T17:19:30
2019-04-21T12:01:44
JavaScript
UTF-8
Python
false
false
2,413
py
# Generated by Django 2.2 on 2019-04-22 11:16 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('gym', '0046_auto_20190411_1003'), ] operations = [ migrations.AlterField( mo...
[ "i32agval@gmail.com" ]
i32agval@gmail.com
edfd582480b72d10d09c194a3b7b3e81e62b6e35
14b5679d88afa782dc5d6b35878ab043089a060a
/students/Siyang Liu/voicecontrol_changechoth/voice.py
7236b542f70ca123741e24926ba00368fad76e9a
[]
no_license
mutiangua/EIS2020
c541ef32623f67f9277945cd39cff3c02f06e4dd
92aa2711b763a2c93be238825c445bf2db8da391
refs/heads/master
2022-11-18T05:21:47.567342
2020-07-11T10:11:21
2020-07-11T10:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,374
py
import wave from aip import AipSpeech from xpinyin import Pinyin import pyaudio import os import cv2 CHUNK = 1024 FORMAT = pyaudio.paInt16 CHANNELS = 2 RATE = 8000 RECORD_SECONDS = 5 WAVE_OUTPUT_FILENAME = "audio.wav" APP_ID = '19165946' API_KEY = 'D7BqfDPOj9ORbG85FL5jOQjh' SECRET_KEY = 'skL4Mag0dGqus...
[ "noreply@github.com" ]
mutiangua.noreply@github.com
bc68b48bb109e91bc5ff876765120a0c7e48a010
fdfc64c4cab8b8e48f0912d280f9278cd0c6b281
/extolfirstblog/settings.py
318e364db4f3226fc8250f341e928bed13a8cd3d
[]
no_license
Extollian/Extol1stproject
789a7ee9a56721e908ebda21e0a25acd360ecde1
0206302955178956f11ef8f8e52094a69e368861
refs/heads/master
2021-01-20T00:05:00.047925
2017-04-22T14:18:15
2017-04-22T14:18:15
89,074,921
0
0
null
null
null
null
UTF-8
Python
false
false
3,178
py
""" Django settings for extolfirstblog project. Generated by 'django-admin startproject' using Django 1.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ impo...
[ "OLUWALONIMI EXTOL" ]
OLUWALONIMI EXTOL
f424ec4d5925055402ce8f2cc7626e7474386291
b28eaf11c4f3a97703d471c895fc1ee399e5d0d6
/produc/views.py
9eb3a9f61f63e7d4383a1ac27c08e9603b606837
[]
no_license
AleksandrBagdasarov/test
e6c255cc82bb7b5290d1e08752a51cff6c2c7911
4942c3d8d347afa40ad1b28fd06b400b4dc62c97
refs/heads/master
2022-07-19T19:25:36.629495
2020-05-24T10:13:40
2020-05-24T10:13:40
264,422,875
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
from django.shortcuts import render, get_object_or_404 from django.http import HttpResponse, HttpResponseRedirect from .models import Choice, Question from django.urls import reverse def index(request): latest_question_list = Question.objects.order_by('-pub_date')[:5] context = { 'latest_question_list'...
[ "sashabagdasarov@gmail.com" ]
sashabagdasarov@gmail.com
f702741ca387da78893353be313425648e5c6570
e3a467cc02d787746298babd760503bb5f1be288
/spistograms/functions/timeFractions_f.py
ea3ca1f92ded3f287faec4a97d8eba1866298140
[ "MIT" ]
permissive
benholtzman/specufex_post
b623d6aa9d8764baaef89dd5e6485b4a344ea7b4
3af4b93832c27e565c915f069502b45af4a1b6b7
refs/heads/main
2023-06-20T11:44:01.649541
2021-07-24T19:42:19
2021-07-24T19:42:19
385,685,563
1
0
null
null
null
null
UTF-8
Python
false
false
2,366
py
import pandas as pd import numpy as np # import sys # import scipy.io as sio from datetime import date as dt # replace the obspy version of UTCDateTime with this. #from obspy import UTCDateTime # a timestamp is defined (POSIX time) as the number of seconds elapsed since 1st of January 1970 # take in a CATALOG with c...
[ "holtzman.ben@gmail.com" ]
holtzman.ben@gmail.com
a32c453d00bce6981260df8196a4d274f334471c
64cbac4b5381d9692da08ff42d958d1149afa47d
/items/good/christ.py
b1c37207827cae78a9d904f17bb4d3f3fd37270b
[]
no_license
kolobok001/Uirs
3c4c78c255849a66da88a35263f7d18d1bf31c0c
b9ab1e672f3f60c62cef3d6879f3d8ceefa091b2
refs/heads/master
2020-04-10T05:50:56.215016
2019-06-19T16:39:41
2019-06-19T16:39:41
160,838,488
1
1
null
null
null
null
UTF-8
Python
false
false
385
py
from constants import * name = 'Крестик' description = ( 'Нательный крестик, который я нашел в одной из этих дверей. ' 'Не знаю, кто его носил, но он весь пропах вином.' ) tags = [ 'wine' ] price = 150 def on_pray(user, reply, god): if god == JESUS_NUM: user.gods_level[JESUS_NUM] += 1
[ "noreply@github.com" ]
kolobok001.noreply@github.com
5620b036428d4f45b653a56db980c5b73e788828
c507f9e311ef811be0d8c2a29d54357c5e607cb4
/tests/test_wildcharMatcher.py
35a6c85b8ff282458c99e6eb0f538b57fbfd01ef
[]
no_license
arturstaszczyk/SimpleRegEx
2040655474ac752bead9e68e2ade8a2411ed1629
fc383936e2b1e5ac60b00f067390f61cd5173aeb
refs/heads/master
2021-01-10T13:55:33.498359
2015-12-23T13:06:44
2015-12-23T13:06:44
48,392,886
0
0
null
null
null
null
UTF-8
Python
false
false
2,970
py
from unittest import TestCase from matchers.wildcharmatcher import WildcharMatcher from evaluator import Evaluator from regexexceptions import BadCondition, BadMatcher, NoModifier TOKEN = Evaluator.EVAL_TOKEN MOD = Evaluator.EVAL_MODIFIER COND = Evaluator.EVAL_CONDITION WILD = Evaluator.EVAL_WILDCHAR class TestWildch...
[ "astaszczyk@ganymede.eu" ]
astaszczyk@ganymede.eu
e3f642375f744b339a22ae151e053401dd729665
2e39f0bdfec5f05c866309eb9f3afd30dec43cf2
/afewords/www/afutils/security.py
26596e68d82a5bacf56c77a1e20efad018c37a45
[]
no_license
Earthson/afewords_base
8955fd5b3e961f684d162e62254bc579d83cbe91
70ae766e98fb9ef0ce993593872a17baba21fac9
HEAD
2016-08-03T18:39:04.585819
2013-04-22T14:42:27
2013-04-22T14:42:27
6,057,704
1
0
null
null
null
null
UTF-8
Python
false
false
2,382
py
#coding=utf-8 import re import hashlib import string import Image, ImageDraw, ImageFont, random from tornado.escape import url_escape from tornado.escape import xhtml_escape def encrypt(pwd): ''' first use MD5, the use SHA1, result is 40 byte ''' result = hashlib.md5(pwd).hexdigest() result = hashlib.sha1...
[ "Earthson.Lu@gmail.com" ]
Earthson.Lu@gmail.com
8e47cc4ed2580732246bd353878e69eab4730874
2273a2090aa058a121a7e27977d76feba6a76a6a
/lstm/dataset.py
8c86163f3f94e68fa1665971e34c4f7dabd2b701
[]
no_license
f-grimaldi/language_modelling
a80c0170e0f51e1d85a24642496f4679f6f5ab7a
57cd34083edd3ffc57db63c02fb94eb6a1104f84
refs/heads/master
2022-08-06T18:38:52.098710
2020-05-26T11:44:05
2020-05-26T11:44:05
267,021,963
0
0
null
null
null
null
UTF-8
Python
false
false
4,958
py
import re import torch import numpy as np import pandas as pd from torch.utils.data import Dataset, DataLoader from functools import reduce from torchvision import transforms from torch import optim, nn # -*- coding: utf-8 -*- class LOTRDataset(Dataset): def __init__(self, text, emb, transform=None): ...
[ "f.grimaldi.94@gmail.com" ]
f.grimaldi.94@gmail.com
fd3bf6fb10856deeb0a7d4ebb4e2ea8acf3217fc
72a30834234eee674a2e22e060dfb4457108e5f6
/db_migrate.py
9a04679fd0b8bc5d1827d66948f002cdb4aada9a
[]
no_license
wheresmyjetpack/krispr
153bf29603695a5f842b7ddd4fdd2f2d977c6452
49d6136176730305d96bc8e6e2c64d82a81f8cd5
refs/heads/master
2016-09-06T19:26:41.981860
2015-07-27T17:49:18
2015-07-27T17:49:18
39,209,200
2
1
null
2015-07-17T00:25:14
2015-07-16T16:52:45
Python
UTF-8
Python
false
false
858
py
#!flask/bin/python import imp from migrate.versioning import api from app import db from config import SQLALCHEMY_DATABASE_URI from config import SQLALCHEMY_MIGRATE_REPO v = api.db_version(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO) migration = SQLALCHEMY_MIGRATE_REPO + ('/versions/%03d_migration.py' % (v+1)) t...
[ "wheresmyjetpack03@gmail.com" ]
wheresmyjetpack03@gmail.com
4173480083053b81034cb8d69ad2bde659ed3885
df4d6fa5191ec7a211ea5859d5996518e4059bf8
/excel/settings.py
15750fd29b28588815e8cdba87acfca0f4d6e1d7
[]
no_license
Sainadh086/Auto-ML-
664f9e953fa042d7f687a2df6116148e2d83525b
67606ede063b98787a05def0da6e7891f0af479e
refs/heads/master
2022-11-24T10:13:15.245881
2020-06-09T02:14:13
2020-06-09T02:14:13
264,955,086
0
0
null
2020-06-09T02:15:00
2020-05-18T13:54:57
Python
UTF-8
Python
false
false
3,576
py
""" Django settings for excel project. Generated by 'django-admin startproject' using Django 1.11.26. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os ...
[ "varshan@pop-os.localdomain" ]
varshan@pop-os.localdomain
81c71b9b6f028d9fb81d2e31bbe2c89201b54127
27a681a4ea9922fb2785046f50bb4f7e9ffc3478
/checkout/admin.py
003521233a0b3c69e7bdf05f0c67be6936d568ab
[]
no_license
Dgoodwin92/boutique_ado_v1
ff7b7dc59da82bb336ded4a7db50f24cfde9f8b5
259bd164a33b5e065336dd84a9f552c59fc6c352
refs/heads/main
2023-08-18T03:21:42.026315
2021-09-18T21:04:19
2021-09-18T21:04:19
393,482,708
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
from django.contrib import admin from .models import Order, OrderLineItem class OrderLineItemAdminInline(admin.TabularInline): model = OrderLineItem readonly_fields = ('lineitem_total',) class OrderAdmin(admin.ModelAdmin): inlines = (OrderLineItemAdminInline,) readonly_fields = ('order_number', 'da...
[ "danielgoodwin85@gmail.com" ]
danielgoodwin85@gmail.com
753871694ec48ad0edc66732a60278684671fbf7
67159562155f448aef7fd06557c540d8c712f0fe
/buttom.py
052154c29c7643e2162046bd2f7dca06da3961df
[ "BSD-3-Clause" ]
permissive
mizunashi-sh/flappy-bird-remastered
dcb86bd0b203082362c60c21fa9bb898f809ce78
9fa876b25ba98fb576e19ad1bebdebc43fde11fb
refs/heads/master
2021-06-21T12:33:15.990257
2021-01-11T06:13:25
2021-01-11T06:13:25
163,739,859
2
0
null
2021-01-11T06:13:26
2019-01-01T13:46:15
Python
UTF-8
Python
false
false
668
py
import pygame class Buttom(): """表示按键的类""" def __init__(self, init_settings, screen): """初始化""" # 导入屏幕和默认设置 self.screen = screen self.init_settings = init_settings # 导入图片资源,获取rect self.image = pygame.image.load('resources/sprites/button_play.png')...
[ "noreply@github.com" ]
mizunashi-sh.noreply@github.com
dc2dd5439cb5bc87b057d15c4313f5adde3c50df
cebf2e5276e6d064d0ec86beaf1129fe0d0fd582
/days051-060/day059/capstone/blog.py
5a570cc0b88eb25417e462a8cc83d88159821495
[]
no_license
SheikhFahimFayasalSowrav/100days
532a71c5c790bc28b9fd93c936126a082bc415f5
0af9f2f16044facc0ee6bce96ae5e1b5f88977bc
refs/heads/master
2023-06-14T06:18:44.109685
2021-07-08T16:58:13
2021-07-08T16:58:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
import requests from flask import Flask, render_template app = Flask(__name__) posts = requests.get('https://api.npoint.io/a6ff5a040e0baf25233b').json() @app.route('/') def home(): return render_template('index.html', posts=posts) @app.route('/about') def about(): return render_template('about.html') @a...
[ "pullynnhah@icloud.com" ]
pullynnhah@icloud.com
2a0c9595b531f97a15f0c54fae714cd6d5289c02
2a45507fff25c42cad05b52d83d011fea0909be5
/Algorithms/Dynamic Problems/Python/FlodyWarshall.py
517051545da014551bfc3e4d0dffed6a2dec31db
[ "MIT" ]
permissive
Sharayu1071/Daily-Coding-DS-ALGO-Practice
dc8256e76d43952f679236df904f597908fbda13
2c424b33a1385085f97b98d6379d6cd9cc71b1bd
refs/heads/main
2023-08-30T17:49:44.312613
2021-10-03T04:21:21
2021-10-03T04:21:21
412,973,714
3
0
MIT
2021-10-03T04:18:20
2021-10-03T04:18:19
null
UTF-8
Python
false
false
1,410
py
#Python3 mplementation of FloydWarshall Algorithm #the below represents Number of Vertices in the main graph v=4 """Define infinity as the large enough value. This value will be used for verticles not connected to each other """ INF=99999 #the function solves all pair shortest path via # FloydWarshall Algori...
[ "noreply@github.com" ]
Sharayu1071.noreply@github.com
52b7a607ea4c0ad4fa6ee11a821e1a7a54c5b1a7
22060deec5b7a7506fd5b0135cb0d2992b36c543
/record_pset_solution.py
de8cf3651a336c41240e20163b0d344399c2e18b
[]
no_license
mrmwood/Reports_Project
6eaa1ff92331878eeb474c32c3ef174afcf4ceed
44e3bd69afea1de326347cb29ed3703d0266414a
refs/heads/master
2022-12-29T06:22:37.368634
2020-09-17T04:52:54
2020-09-17T04:52:54
296,219,120
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
class Record: def __init__(self,forename,surname,age,gender,cs_student): self.__forename = forename self.__surname = surname if not isinstance(age, int): raise TypeError("age must be an integer") else: self.__age = age self.__gender = gender i...
[ "Mark.Wood@dubaicollege.org" ]
Mark.Wood@dubaicollege.org
5cad545e3cb672684d3ce2ff7e81c469d9491420
6eedf3d66addff978a1ee3c3f56dd30965074b45
/OAuth2Info.py
5d2df12c71c025ad6b28cb9c44c1102d82645202
[]
no_license
Korpip/wagerbot-discord
f5406dfd15f63723b33ec59c76050a9e61529425
a048a196e487ae9bf19abf47bacde591bdcbc7d4
refs/heads/master
2022-04-13T05:31:39.629810
2020-04-12T01:38:57
2020-04-12T01:38:57
254,988,136
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
OTOKEN="Nyour discord oath here" bookiename = 'YOUR BOOKIE NAME HERE'
[ "noreply@github.com" ]
Korpip.noreply@github.com
f79ae7bdacbd52e84966912adfca625191377984
994aa173fe6acc8a467d4ed638de8dba29896156
/hw1.2.py
94fdf660a57700237aa72d1f145f94875460d70e
[]
no_license
jtyso3/PythonLabs
86da77d9ab42385c88ad8da4cef9b55f00d5213b
7762b01ed293f11c54c3afb6a1e57e74153039bf
refs/heads/master
2022-08-30T03:36:22.848175
2020-05-21T19:27:20
2020-05-21T19:27:20
265,932,029
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
user_name = 'Andy' print('Hello {}, it\'s nice to meet you!'.format (user_name))# Python 3.x print(f'Hello {user_name}, it\'s nice to meet you!')# Python 3.4+ shortcut print('Hello %s, it\'s nice to meet you!' % user_name) # Python 2.x method #Shortcuts insert variable user_name city = 'Minneapolis' temp = 6...
[ "noreply@github.com" ]
jtyso3.noreply@github.com
2f5dbc4d6359237f2b2c11a3424d947433948987
d9bdb48990671e63ca785a7f44cc8997ddd8ef43
/orders/migrations/0006_order_shipping_address.py
8292fded7fe8af23704f6e54c00351e2d4ddd667
[]
no_license
nikitagriu-site/ecommerce
1c537bfa021b330034204c6a6e5dd0d898087370
eda0e3036f87539499feaa807594f52211a00643
refs/heads/master
2023-05-03T23:01:53.888850
2021-05-19T18:07:26
2021-05-19T18:07:26
363,171,950
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# Generated by Django 3.2.2 on 2021-05-19 16:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('addresses', '0002_alter_address_state'), ('orders', '0005_auto_20210519_1148'), ] operations = [ mi...
[ "nikitagriu04@gmail.com" ]
nikitagriu04@gmail.com
53b3d735d92adf064d111c3474102b7708bdbd5e
027d6585e8d11f1c6c324bf3c916d27665df99be
/ge_kitchen/switch.py
be5017d69f6701fd5e23a0ab8cadc5945f3e5a5d
[ "MIT" ]
permissive
vinoboy/ha_components
024d25d6e02046ae408e2241e628bbc705ebc6da
296aeaf0e28b19b4d2345d12ce5597cb5c4eadce
refs/heads/master
2023-08-18T02:03:53.513845
2020-12-20T00:13:28
2020-12-20T00:13:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,001
py
"""GE Kitchen Sensor Entities""" import async_timeout import logging from typing import Callable, TYPE_CHECKING from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .binary_sensor import GeErdBinarySensor from ....
[ "ajmarks@gmail.com" ]
ajmarks@gmail.com
e2c8b9f9cd9488db86f12df603ef718af6cbff5c
b0e261e7d2450803a4683df86efb7ee6f5f48530
/huffman.py
f15abb4faa8932f2e7cd8f92bfb0e83c08040ba3
[]
no_license
kishorekdty/huffman-coding-in-python
239a93a24be2c5a9074619ca8f2af57e8318ba88
a6f0c9a0c6ef88c8f3c4f0082f831f29f5c78a76
refs/heads/master
2021-01-10T19:31:03.386305
2012-11-16T10:42:31
2012-11-16T10:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
def encode(string,tree): return encode0(string,tree,tree,"") def encode0(s,node,tree,op): if s=='': return op elif node.left==None: return encode0(s[1:],tree,tree,op) elif s[0] in node.left.chars: return encode0(s,node.left,tree,op+'0') else: return encode0(s,node.right,tree,op+'1') def decode(string,tr...
[ "kishorekdty@gmail.com" ]
kishorekdty@gmail.com
62d1181857d13939454f6c06a4c3709e546fb9ad
cb332a1a858ab48d470fd15528e0fb1e822fa2ae
/experiments/main.py
022d24d5f2926eca09a6422eff2b348c829e29c7
[]
no_license
fKunstner/limitations-empirical-fisher
f4c531ce5609e42d8649aaa7b86c8b0b669ef4fc
53344c835ef04386a4d7dfe0f80c32456219ab78
refs/heads/master
2021-08-18T04:18:28.205747
2020-06-02T07:00:15
2020-06-02T07:00:15
189,239,233
46
5
null
null
null
null
UTF-8
Python
false
false
2,310
py
import efplt import argparse def parse(): parser = argparse.ArgumentParser(description='Experiment Runner') def add_options_to_group(options, group): for c in options: group.add_argument(c[0], action="store_true", help=c[1]) experiment_choices = [ ["-misspec", "Misspecificati...
[ "frederik.kunstner@gmail.com" ]
frederik.kunstner@gmail.com
188071be1a6de7ac2995e9c25ac732518f7515bd
287c79013134237aba524d42edcffae0024f208f
/src/condition/nested if.py
08bb54dbe27b1fd6f82b60922d27464b62beacfc
[]
no_license
uCognitive/Python-Beginner
284c7694492dfb8a2fb466fa60ae59987c1d0b59
074fef0b52254b05704e4efc63c5656edc5d317c
refs/heads/master
2020-05-17T08:51:20.206070
2019-05-25T13:44:04
2019-05-25T13:44:04
183,617,862
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
# user input num1 = int(input("Enter 1st number: ")) num2 = int(input("Enter 2nd number: ")) num3 = int(input("Enter 3rd number: ")) if num1 > num2: #check if num1 > num2 if num1 > num3: # also num1 > num3 # if both condition true execute it print("Num1 is greatest") if num2 > num1:# check if n...
[ "junaidbashir392@gmail.com" ]
junaidbashir392@gmail.com
2aae9f58506d3fa32dc798f5db8b4868ac37ddcb
2fb81bd0c3630e3abdfae15bd66e36e1c44bb133
/P5/src/scripts/test/serialtest.py
f1a49d578680c4993d5c1c9353faa4378f5c57e9
[]
no_license
Elyteaa/P5
d5b444b934638d47d805e5fe30ba18e216908439
52085dd5f8e95fbd268a78fa812c2a2495d68753
refs/heads/master
2020-04-02T02:06:28.665287
2019-01-29T09:03:39
2019-01-29T09:03:39
153,892,013
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
#!/usr/bin/python import serial import codecs import binascii z1baudrate = 115200 z1port = '/dev/ttyUSB0' z1serial = serial.Serial(port=z1port, baudrate=z1baudrate, bytesize=serial.EIGHTBITS, stopbits=serial.STOPBITS_ONE) z1serial.timeout = None # set read timeout if z1serial.is_open: while True: size = z...
[ "noreply@github.com" ]
Elyteaa.noreply@github.com
f10d7ce8e9594a313ba184f1fd928cfaa91f49ac
8d9ae946828be05121cc9fb9d3f1d8fad1df0694
/NBAScraper/Schedule.py
c780e96d2c6f635a75bee8f4e3003c2fa124ac4b
[]
no_license
steven-wood/NNNBACrystalBall
661c5873db4203e2e49a6ac8ad521f6cc23f87af
35d6cd6cfa8c99bc0ead4d34d0cc766c2bfbd87f
refs/heads/master
2022-07-04T10:02:54.752574
2020-05-10T20:03:25
2020-05-10T20:03:25
262,860,084
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
import csv from . import Game from nba_api.stats.endpoints import leaguegamefinder def traverseSchedule(season, startDate, endDate, fileName): schedule = getSchedule(startDate, endDate) count = 0 for i in schedule: count = count + 1 a_file = open(fileName, "a") writer = csv.writer(a_file) writer.writerow(Ga...
[ "stevenator21@gmail.com" ]
stevenator21@gmail.com
fe00f02925c3a8356e9a607e1d9a04b6a5640953
6e2f8342f9e090c6715b85782adb457cf315813f
/main_server.py
5072ed7809e4e0f2fae4117add92aef2ee4ebd13
[]
no_license
RedExtreme12/Crypt_Lab_5
a19f8a8e81f1ab0fb83eb08441c013b08652c344
3f488e55db1eda75d5fc945745e8e081b2809b23
refs/heads/master
2022-09-02T20:20:14.216149
2020-05-20T20:12:42
2020-05-20T20:12:42
264,420,975
0
0
null
null
null
null
UTF-8
Python
false
false
1,667
py
# because i want to call python server_main.py directly import sys import RSA import os.path from send_recv_file import * sys.path.append("..") from sockets_classes.server_socket import * DESTINATION = 'server_recv' def get_ip_address(): """Вернуть IP-адрес компьютера. Фиктивное UDP-подключение к google'...
[ "red.extreme123456@gmail.com" ]
red.extreme123456@gmail.com
7e93cf8234c7feb67186068121a3741c38d4401b
acb3e776cc16ce56286548c40086326671dfe6e9
/Week5/app.py
7a411b78f0f9dbef5b5051d92d18f80fb4848193
[]
no_license
asherif844/machineLearningApps
f6f51184130870055f8e70a3d3d368c4ffecb82c
3e7db36797dfdc7ebcc83270f059e767c1e66072
refs/heads/master
2022-11-24T08:49:55.624649
2020-01-23T15:22:20
2020-01-23T15:22:20
211,682,033
1
0
null
2022-11-22T02:40:35
2019-09-29T15:14:36
Python
UTF-8
Python
false
false
486
py
from flask import Flask, render_template, request app = Flask(__name__) @app.route('/send', methods= ['GET', 'POST']) def send(): if request.method == 'POST': age2 = request.form['age'] gender2 = request.form['gender'] return render_template('age.html', jamaica=age2, gender = gender2) ...
[ "ahsherif@microsoft.com" ]
ahsherif@microsoft.com
97fc8efdd37ac848777c754d0a0f562ef40e6043
ec7002f525449dcd8eea8d9d440a6f852f0082f5
/crowdfunding/projects/migrations/0015_project_is_open.py
ea164216cb7095786fa32e0bd35df29850b64a20
[]
no_license
SamaraLove/drf
26298b6dc9a1765469581a04113fd4faf7988271
cf2aeebf396bbb683bca39246967d329ad6d0efd
refs/heads/master
2022-12-27T05:10:20.810984
2020-10-07T17:09:49
2020-10-07T17:09:49
290,483,321
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# Generated by Django 3.0.8 on 2020-10-07 17:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0014_remove_project_is_open'), ] operations = [ migrations.AddField( model_name='project', name='is_open...
[ "samara.love@bhp.com" ]
samara.love@bhp.com
04728dac8ac7baaf24256bca0d7bcd65d1fa24bd
ee244096ccf50cb55819c757d3a1d3ce0b180aec
/src/test/resources/PageObjectRepository/DEV4/MembershipPage.spec
81bac25ca0fc9e1c4d1f76b9c75da1e554b1d1cc
[]
no_license
AlphaRahul16/netProject
db92ee1c0239b2f36d9bfbe23ff8a4c31b8f9856
27db560c979aaf7e9e8e6ccea6be378f030c6ec7
refs/heads/master
2021-05-14T10:52:50.856187
2018-01-05T19:44:32
2018-01-05T19:44:32
116,354,506
0
0
null
null
null
null
UTF-8
Python
false
false
18,242
spec
Page Title: MembershipPage #Object Definitions ============================================================================================================================================== hd_sideBar xpath //a[text()='${Query Membership}'] hd_sideBarOuter ...
[ "A_Rawat@acs.org" ]
A_Rawat@acs.org
7d695bf1f23deb8841ef7cd5a72adfc4b94ec1e7
98f6007aa57d6df27a61fbc513332a2beaf4883e
/Black Hat/TcpServer.py
ec3dc9b8a5aaa25f6d8a0672e8b59795d365f23c
[]
no_license
Juntaran/Python
bf73996aaccd4f81b8b01a61e8f934c469e9a3c0
3f070812d7c824cb082c162f72269e9c15e44643
refs/heads/master
2021-07-10T15:38:38.637914
2016-11-16T13:11:17
2016-11-16T13:11:17
57,065,086
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
import socket import threading bind_ip = "127.0.0.1" bind_port = 9999 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind((bind_ip, bind_port)) #最大连接数设置为5 server.listen(5) print "[*] Listening on %s:%d" % (bind_ip, bind_port) #客户处理线程 def handle_client(client_socket): #打印客户端发送得到内容 request = ...
[ "jacinthmail@gmail.com" ]
jacinthmail@gmail.com
3db22d43778fbaf867ca5919c555e836ff02aa44
18f6708f6b42142f647d2f87b597147352b9a3eb
/leguess/eval/__init__.py
544ea7a943b38d52d4dc376d2d7c7ecb8a72fd56
[]
no_license
godpgf/leguess
a80acb272886ba3e2fee244bf30de4cc1ba1b44b
66c75e31cac43ad5b874e995c74358aef5ad9821
refs/heads/master
2020-07-14T11:33:13.468119
2020-02-28T07:29:44
2020-02-28T07:29:44
205,310,327
0
0
null
null
null
null
UTF-8
Python
false
false
3,445
py
from leguess.db import * from .hr import HR import numpy as np def eval_recm(hdfs_db, user_profile_db, test_act_list_path, recm_call_back, top_list, pred_act_type="download", pred_channel="jingxuan", exclude_act_type_list=["show"], offline_time=1*60*60, filter_item_set=None): # 评估召回和排序的命中率------------------------...
[ "yanyu4@Lenovo.com" ]
yanyu4@Lenovo.com
da28ee6be543449127c1b128c2ce343dac71c3b9
3e59df4e7fd5e30e541175c4ebdf0f7dcce569f3
/Analysis_Tools/Parsers/Current/Game_Predictor.py
e53980a7c312d8890bf0c6fceb7ed374f00b4e83
[]
no_license
BrianGoodman95/NFL-Game-Predictor-V1
0fde6c3edb762fae3f4578e12ee5161ee3aed3bf
dd98a92a6d772e4487b5d650ef4356dca9cd7e1e
refs/heads/master
2023-01-22T16:39:43.370694
2020-12-06T05:24:20
2020-12-06T05:24:20
262,611,954
0
0
null
2020-12-06T05:24:21
2020-05-09T16:27:06
HTML
UTF-8
Python
false
false
13,699
py
import pandas as pd import time import os import requests # from Analysis_Tools.Parsers import Latest_Data_Processor try: from Parsers.Current import Prediction_Helper from importlib import reload reload(Prediction_Helper) except: from Analysis_Tools.Parsers.Current import Prediction_Helper ''' Goal is...
[ "bgoodman1995@gmail.com" ]
bgoodman1995@gmail.com
4eaa041d0256e39539ed200f4a816597c3d3edad
ccbb5c8f53448af1a4721dbbfd06fc1ee72f58a9
/setup.py
4d756203887506c35187f9a7a08ac108a4b197af
[ "BSD-2-Clause" ]
permissive
jorisvandenbossche/spatialpandas
ed7c05e2d3e2c2223fdcbeaa78279edf200c5a80
b63ebe619b8b8692fe282662725d23a50007acd9
refs/heads/master
2020-09-07T22:55:03.581677
2019-11-04T22:50:48
2019-11-04T22:50:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from setuptools import setup, find_packages setup(name='spatialpandas', packages=find_packages(exclude=('tests',)), install_requires=['pandas', 'dask', 'numba', 'numpy'], tests_require=['pytest', 'hypothesis'])
[ "jon.mease@gmail.com" ]
jon.mease@gmail.com
4656f2feeb7c89ebd8df602f1b94004133bf7360
0be92b186c2b72238d421dd48fb636e946c504c4
/learning_templates/basic_app/urls.py
bb81c751224399d04cb0fc8f788f9a1a4156bd2b
[]
no_license
Dsignmind/django_templatesandfilters
9077dde525078db951dcffa98a0104449957825e
52753f8e5fc573ba0b4cc0546a17af0e089a7d85
refs/heads/master
2020-03-15T02:31:31.207269
2018-05-03T00:28:31
2018-05-03T00:28:31
131,920,067
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
from django.urls import path from basic_app import views #Template tagging app_name = 'basic_app' urlpatterns = [ path('relative/', views.relative, name='relative'), path('other/', views.other, name='other'), ]
[ "dsignmind@gmail.com" ]
dsignmind@gmail.com
24e78f3d711a2a56ad26099cf4a41d3680d679cf
5393cfde9689ba3d0ae286aa7058f0726f523502
/not_used/SMC_supreme/distribution/poisson.py
aeee80cb4bcca9ff6fe83ddd93cb0f5083cf1aa7
[]
no_license
amoretti86/PSVO
ee8fffa7c178390d894e658e83dc42f8043dadb0
ef71cb518073707a68de08ac89ddf21d2d978af4
refs/heads/master
2021-08-18T09:57:45.477907
2020-04-02T17:15:52
2020-04-02T17:15:52
151,204,035
7
2
null
null
null
null
UTF-8
Python
false
false
1,706
py
import numpy as np import tensorflow as tf from tensorflow_probability import distributions as tfd from distribution.base import distribution class poisson(distribution): # multivariate poisson distribution def __init__(self, transformation): self.transformation = transformation def sample(sel...
[ "zzwang@umich.edu" ]
zzwang@umich.edu
7fb0fdcff4227dc74d10c6bffc07eb836805e31f
f2889a13368b59d8b82f7def1a31a6277b6518b7
/661.py
020da6437c8f01ec4483274e593f6429a27683c4
[]
no_license
htl1126/leetcode
dacde03de5c9c967e527c4c3b29a4547154e11b3
c33559dc5e0bf6879bb3462ab65a9446a66d19f6
refs/heads/master
2023-09-01T14:57:57.302544
2023-08-25T15:50:56
2023-08-25T15:50:56
29,514,867
7
1
null
null
null
null
UTF-8
Python
false
false
548
py
class Solution: def imageSmoother(self, img: List[List[int]]) -> List[List[int]]: r, c = len(img), len(img[0]) ans = [[0] * c for _ in range(r)] for i in range(r): for j in range(c): t = size = 0 for x in range(-1, 2, 1): for y ...
[ "tlhuang@tlhuang.net" ]
tlhuang@tlhuang.net