blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
497b09aec342a86f55cb820435ec603f2aab872a
07fbdae51275b4bab2074524fc4c1ae58ac53d08
/List's/Lists Basics/Exercise/Solutions/10. Bread Factory.py
ef0ba277e0e12230313d1b24fb7eeaa1489595d6
[]
no_license
rimisarK-blue/Python-Fundamental-knowledge
85c2afa4401f848c9919f672c7fa3d54a43e761f
a182fb1c7c3ce11f9e26ce0afefe5c2069d70e8d
refs/heads/main
2023-03-09T02:08:34.411768
2021-02-15T20:19:52
2021-02-15T20:19:52
326,009,707
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
events = input().split('|') energy = 100 coins = 100 good_day = True for com in events: command, value = com.split('-') value = int(value) if command == 'rest': if energy == 100: print("You gained 0 energy.") print(f"Current energy: 100.") elif energy + value >...
[ "rimisark92@gmail.com" ]
rimisark92@gmail.com
23afbdc21f3c52e6711d6a97008f609df14f55bf
a2ad46d4995b2dbe182e645a15b7d5a7047d3b56
/2018.12.05.provetta/all-CMS-submissions-2018-12-05/2018-12-05.12:18:30.099314.VR437605.conta_multipli.py
e4d78f797d2d4c80a6e99aaa5ded613795628fb5
[]
no_license
romeorizzi/temi_prog_public
ccf634a0291dd943b503f8dc57ed03de4d9b1a68
e9e3e98d4a9a3cddec45d514180b83fd5004fe7b
refs/heads/master
2020-04-09T04:27:35.687265
2019-03-25T14:04:04
2019-03-25T14:04:04
160,024,031
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
""" * user: VR437605 * fname: ANNALISA * lname: DETTORI * task: conta_multipli * score: 100.0 * date: 2018-12-05 12:18:30.099314 """ #!/usr/bin/env python3 # Template per soluzione conta_multipli from __future__ import print_function import sys if sys.version_info < (3, 0): input = raw_input # in python2, l'eq...
[ "romeo.rizzi@univr.it" ]
romeo.rizzi@univr.it
92b81bdb559bb6564ba8c3e3179d1324f1e77352
93748d5565259361cdf880745f5f0242a02a37e0
/src/server/views/UserView.py
1f1e004b0b6400c2b5bd42298272b2a9520aa706
[ "Apache-2.0" ]
permissive
daniel3303/sirs-project
38a8aca51a376f91564f73be6ef9e40b0fce94b5
38a36ecf2373775c3a866f185dacb7597ad1e3cc
refs/heads/master
2020-04-06T19:42:11.915440
2018-12-13T07:13:42
2018-12-13T07:13:42
157,746,365
0
0
null
null
null
null
UTF-8
Python
false
false
1,468
py
from django.shortcuts import render from django.http import HttpResponse from django.http import JsonResponse from django.views import View from django.core import serializers from django.contrib.auth import authenticate import json from server.models import User class UserView(View): def get(self, request): ...
[ "daniel-oliveira-11@hotmail.com" ]
daniel-oliveira-11@hotmail.com
972a80ddb62fce85cc2a79f484049e457cf38d69
29cc07e52f8b31549df8900a9d3da155914c200a
/Client/Config.py
6c229304e59517945da22d02f6bc9703bf09ea48
[]
no_license
ingnelson/get-tunnel-py
c0a8a87054b60b81e351b6356212e6ba2a4740ae
2560a950b944ba9586a42d3fca064ecdc36bddc4
refs/heads/master
2021-10-24T03:41:29.102157
2019-03-21T19:49:25
2019-03-21T19:49:25
261,303,786
1
0
null
2020-05-04T21:52:31
2020-05-04T21:52:30
null
UTF-8
Python
false
false
476
py
import base64 class Config: def __init__(self, target, hostHeader, password, serverHostPort): self.target = target if len(hostHeader) == 0: self.hostHeader = None else: self.hostHeader = hostHeader if len(password) == 0: self.password = None ...
[ "ailton.novais@corregedoria.df" ]
ailton.novais@corregedoria.df
a439ef9d883b1ab7920ba877d8585795143600ec
c4d3466458d386dda17ab382ec5ae9dd5f3a7405
/Graph/bfs/bfs.py
8bf1415f743ef6c976a13994f3e1e296e2dde6ff
[]
no_license
faramarz-hosseini/Algorithms
1db8dcc07f4c6baf7c22d525d7f1a46dc2311d16
c51d7a48ac34f1433074295003609a451a2803e4
refs/heads/master
2023-03-14T19:53:25.712288
2021-03-20T13:00:39
2021-03-20T13:00:39
349,725,028
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
n = int(input()) m = int(input()) edges = [] q_nums = [] for _ in range(m): edges.append(list(map(int, input().split()))) q = int(input()) for _ in range(q): q_nums.append(list(map(int, input().split()))) class Graph: def __init__(self, nodes_count, edges_count, edges): self.nodes_count = nodes_co...
[ "moein.mirzaei@cafebazaar.ir" ]
moein.mirzaei@cafebazaar.ir
1152f9facac5c0cb34d89abe0989f056a54199fe
0ab3ab2cda94a700f015ff172ef37abc3402ed75
/drawfromfile.py
3150dd3f92c114e2f97a979d71243be2403f76c8
[]
no_license
mikerr/laserPOV
719c85493f8a4dc05e92267695e9e0804aac0b64
215ee38db2c3a2ff6e92e1c4f5aa18615ec76839
refs/heads/master
2016-09-06T07:49:40.767385
2015-04-11T20:49:39
2015-04-11T20:49:39
33,660,512
1
0
null
null
null
null
UTF-8
Python
false
false
879
py
#!/usr/bin/python import subprocess,time file = open('drawing','r') x,y = [], [] for line in file: row = line.split() x.append(row[0]) y.append(row[1]) SPEED = 0.09 REPS = 10 XOFFSET = 160 YOFFSET = 110 for loop in range (REPS): for i in range (len(x)): xpos = int(x[i]) + XOFFSET ypos = int(y[i])...
[ "pi@raspberrypi.(none)" ]
pi@raspberrypi.(none)
a7d31f45a48d70fbdb87cc92dfb0bfe2a7e60989
39de8c1d3dc87361d3d0048c02a50d6aacd0769d
/gallery/urls.py
34165fc9eaa6311bf17f7514ce8034500ec0b1e2
[]
no_license
yeamin21/ubayy
9890360fd5aca869e9101e67c6fd3bcfc5244629
d2c071bcc5df0d74917b95f8566c50178bad5425
refs/heads/main
2023-06-15T18:29:46.052379
2021-07-05T21:55:52
2021-07-05T21:55:52
370,625,462
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from django.http.request import QueryDict from django.urls import path from .views import CreateProduct, ProductDetails, ProductList app_name = 'gallery' urlpatterns = [ path('', ProductList.as_view(), name='list'), path('posts/<user>/', ProductList.as_view(), name='listself'), path('product/<pk>/', Product...
[ "yeamin21@outlook.com" ]
yeamin21@outlook.com
cd9cfd4cc9d87b805776c185af32ddc03ec9aa44
5cdaff662ccbdf0d6a17f9796352c923bde1f590
/mysql/zsgc.py
d92dafe50f13e67a702f88de33608db90c4d4200
[]
no_license
renxiaoqi/JingDong
bcf7fc418d6c9adcc23cf39b048d929c9f01995b
8b9fb0dab6ea26dec55472bb750258a827aba74b
refs/heads/master
2020-09-29T09:44:25.482051
2019-12-10T03:19:51
2019-12-10T03:19:51
227,012,840
0
0
null
null
null
null
UTF-8
Python
false
false
1,545
py
import pymysql class Util: __conn = None __cursor = None # 创建连接 @classmethod def __get_conn(cls): if cls.__conn is None: cls.__conn = pymysql.connect(host="127.0.0.1", user="root", password="root", ...
[ "renxiaoqi1222@163.com" ]
renxiaoqi1222@163.com
18f628bb34251a5e0265796a5d0ad8c3fc787498
ca505019c94aec2a3f02675147689f9025fffc75
/class_0601_리스트.py
67df47354a402af6c2a68cc9dcf95b161d287803
[]
no_license
broship0821/pythonbasic
f7efef7ee1e2b4f2e69dfca6d2cdb1689680b186
891c713d6c1cd3c9863b8fbb0f5b3493f077731f
refs/heads/master
2022-10-21T01:56:20.068706
2020-06-15T07:22:31
2020-06-15T07:22:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,743
py
# ###리스트 # 리스트는 데이터의 목록을 다루는 자료형 # []대괄호로 명명한다 # 리스트 안에는 어떠한 자료형도 포함시킬수 있음 C는 같은 자료형만 가능 # 변수가 많아지면 관리해야할 사항이 많아지고 실수할 확률이 높아짐 # 리스트는 연속적으로 되있어서 데이터 가져오기 편함 # 리스트를 가져올때는 인덱스를 사용 0번부터 # ls = [500, 200, 300, 400] # Sum = 0 # print("ls:", ls) # print("ls[0]:", ls[0]) # print("ls[1]:", ls[1]) # print("ls[2]:", ls[2]) # ...
[ "gudqo1995@naver.com" ]
gudqo1995@naver.com
aaa9b0cd3ab96bdc110c54a91d771b1e93dced88
6251c24d4118d9bd743c1660be8cf3f697a0cb1b
/simple_calculator_using_python/main.py
c01e8cf26f64059df1888c47a882f0e4cf6e9943
[]
no_license
kohinoor12/Simple_calculator_using_python
67947663bd1170466a5a42daf5baa70b966d9927
b17fb323e92a169201331e133eb33aa716b60da2
refs/heads/master
2022-10-20T14:38:20.943211
2020-06-26T09:47:36
2020-06-26T09:47:36
275,120,208
0
0
null
null
null
null
UTF-8
Python
false
false
6,765
py
import tkinter import tkinter as tk from tkinter import messagebox # setting up the tkinter window root = tkinter.Tk() root.geometry("250x400+300+300") root.resizable(0,0) root.title("Calculator") val = "" A = 0 operator = "" # function for numerical button clicked def btn_1_isclicked(): global...
[ "noreply@github.com" ]
kohinoor12.noreply@github.com
462e7fa139213f3626fb0387c7ce113c72553c75
520ee398e5b1c24a44c62d639679b230afbba2b5
/problem2.py
7d690068dfe209030ebebb962ca9732e5d2c4700
[]
no_license
HydroZA/Project_Euler
1603e938552ff137b49f087e9299203fba51abc8
75c946d1e47fd583feebcfa0b8e4327793e6783a
refs/heads/master
2020-12-23T21:50:20.261339
2020-01-30T19:19:19
2020-01-30T19:19:19
237,286,164
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
#Problem 2 #Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: # #1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... # #By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-...
[ "jmslegge0@gmail.com" ]
jmslegge0@gmail.com
e82b8f60c7041d1ec12de66c1232989ec0bbaae1
896794d2ac6cd846ab81bee896831c2186897c7e
/qa/rpc-tests/merkle_blocks.py
6b00f7bbf63642fb2e0f3addc36927e15775bf17
[ "MIT" ]
permissive
pepcash/Pepcash-MN
d15fa60db6a9488f50eea400a5de2d7bae0c193c
1ee89bc76f7f4f6354b7419a20c8532bbbc816d5
refs/heads/master
2020-03-19T14:49:29.694653
2018-06-09T09:25:58
2018-06-09T09:25:58
136,641,223
0
0
null
null
null
null
UTF-8
Python
false
false
4,055
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test merkleblock fetch/validation # from test_framework.test_framework import BitcoinTestFramework f...
[ "marquisogre@gmail.com" ]
marquisogre@gmail.com
095aa9c799dfc36066b3dcd4c9527c9ba3197cfc
9c89fc160f6a8d3c55a58385e8e24bb1d0d5e508
/helpers/psc.py
ad2ceb050b7736c20fb8d57c11648afd11fd046e
[]
no_license
mpmbq2/StimPy
72559a84e0a4670ba5c2aaa9cdda870d073d24f8
ff47e2a619f744d2e233caae74d5a0ed1a1c011d
refs/heads/master
2020-12-31T07:32:31.964213
2018-06-13T16:53:01
2018-06-13T16:53:01
80,551,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
import numpy as np import pandas as pd import stf import stfio """Pseudocode describing the PSC analysis process to be used: 1) PSC object created by user, pointing to MetaData object 2) Psc.proceed() method called to open first file in list 3) User prompted to select traces to use for channel 1 cell 1 ...
[ "mpmbq2@gmail.com" ]
mpmbq2@gmail.com
1cbb9f01ef2201a746f5699df2bc97856ab41c02
a79ba703611779e23d42c2be04cabd7c43a795fc
/log_utils/jlog.py
c0ab1d70f1e6f86e0479bbd4fa0e3737c8286fdb
[]
no_license
airjason13/pyTestMulticast
89f19370c7f3716615ef26b192738f247afbf7b5
a2c1e8c35c57abd03c77c1cd4808b37f7e33bab1
refs/heads/main
2023-05-03T22:45:42.247025
2021-05-27T10:16:53
2021-05-27T10:16:53
367,759,110
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
import logging import os from logging.handlers import RotatingFileHandler FORMAT = '%(asctime)s %(name)-12s %(levelname)s : %(message)s' def logging_init(s, log_level): try: logging.basicConfig(level=log_level, format=FORMAT) log = logging.getLogger(s) os.makedirs('log', exist_ok=True) ...
[ "airjason13@gmail.com" ]
airjason13@gmail.com
f1fe68306f6c1e9af39926fb8fa2bb9d1638168f
16df3eb8b83df2bfed7e0516e0d9385b39f47f89
/walle/model/server.py
42aa9e5673d408c54553103df20d67a88276d517
[ "Apache-2.0" ]
permissive
fu648126437/walle-web
3732545db54e7669659a899b4fca39aca397ea36
a306f8212a2671411125f61a850b5869d315e283
refs/heads/master
2020-04-08T11:22:42.945715
2018-11-27T08:15:24
2018-11-27T08:15:24
159,303,729
2
0
null
2018-11-27T08:46:00
2018-11-27T08:45:59
null
UTF-8
Python
false
false
3,816
py
# -*- coding: utf-8 -*- """ walle-web :copyright: © 2015-2019 walle-web.io :created time: 2018-11-24 06:15:11 :author: wushuiyong@walle-web.io """ from datetime import datetime from sqlalchemy import String, Integer, DateTime from walle.model.database import SurrogatePK, db, Model from walle.service.e...
[ "861459320@qq.com" ]
861459320@qq.com
2dab3c4572f599087e9a031e18e2bfaff929b373
3258b071acd981bdab785c6de0de89db3e40ac97
/useradd.py
da4638eecca129fa3beeb7ebb91c0bd6e9b01992
[]
no_license
urQlikIp/gittest
449695ed42b8600fd75dd8c0a273c70740e63675
e3b42a95d5adf36be5bb4605dd90411b829fb6a4
refs/heads/master
2023-04-12T04:22:43.571939
2020-08-28T03:04:19
2020-08-28T03:04:19
363,427,870
1
0
null
null
null
null
UTF-8
Python
false
false
789
py
import time,http.client from common.Login_Background import Log class user_add: def add(self): sessionid = Log().login() url = '/TinyShop_v1.7/index.php?con=customer&act=customer_save' param = 'name=哈哈la&password=123456&repassword=123456&email=1lahjdycbbr2%40tiny.com&' \ 'rea...
[ "niexie19960405@126.com" ]
niexie19960405@126.com
ae5f8fa2f0055b22974ed3c8865abea3b4050980
1306fad75658a9f83320243b64ffd570586007a4
/Files1.py
1244d47863794ad56737d6237cc6a45f3a1891fb
[]
no_license
sandhya74/Python
9447bad37bf18188ae2d20ab173591de18f90556
e4a1bae1ee023dee89cb83a697483e087d6cad3d
refs/heads/master
2023-07-06T17:42:20.457180
2021-08-12T10:21:22
2021-08-12T10:21:22
345,895,148
0
1
null
null
null
null
UTF-8
Python
false
false
592
py
#f=open("demo.txt","a") #f.write("hi") #f.close() #f=open("demo.txt","r") #print(f.read()) """ fp = open("demo.txt", "w") for _ in range(10): fp.write("Edureka is a platform for developing market based skills \n") fp.close() """ """ fp=open("demo.txt","a") for _ in range(5): fp.write("hello\n") fp.close() ...
[ "sandhiya@5gindia.net" ]
sandhiya@5gindia.net
0e7737cccb51a80b11f78c5e07adef62d4d64487
e61fa7205d3d01787ca0b3d512efa67a94c1105b
/Raspberry/config.py
ea6164f0af539e884b8d16c78501a11231c89ffb
[]
no_license
cyrilvincent/IoT
4d95c6def9d4c822edee71d547e8b151846f26ee
d73a4d78501975beeeddc9fd90704f5982f66a66
refs/heads/master
2021-12-28T08:42:50.088460
2021-09-09T10:12:33
2021-09-09T10:12:33
215,299,703
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
mac="00:0E:EA:CF:47:5A" usb="COM4" usb2="COM5"
[ "contact@cyrilvincent.com" ]
contact@cyrilvincent.com
7137d606dfc5163eb516e2df441af37841898baf
4247840118d743435a9f6fe59020fc6c57a89c6a
/3.BAYES/bayes.py
d0e39a2032a691679b388a81f470dbe087cd4e1d
[]
no_license
TotallyFine/ML-In-Action
c65fb90fa7fa6fa47c5eb9cfbb6d97d9eccabff1
2a25efb3e9f2137049a17e97740a39b27770e6ec
refs/heads/master
2020-03-22T20:10:26.041995
2018-07-12T03:37:45
2018-07-12T03:37:45
140,578,261
0
0
null
null
null
null
UTF-8
Python
false
false
7,663
py
# coding:utf-8 # 朴素贝叶斯方法进行分类,不会直接给出类别只会给出概率 # 在数据较少的情况下仍然有效,可以处理多类别问题 # 对输入数据的准备方式比较敏感 # 有大量特征时,绘制特征作用不大,此时使用直方图效果更好 # 如果每个特征需要N个样本,那么10个特征就需要N**10个样本 # 对于包含1000个特征的词汇表将需要N**1000个样本 # 所需要的样本数会随着特征数目增大而迅速增长 # 但是如果特征之间相互独立,那么样本数就可以减少到1000*N # 当然实际中并不是这个样子的,而朴素贝叶斯就直接当成了独立 # 这也是朴素的原因,朴素贝叶斯的另一个假设是每个特征同等重要 # 这份代码实现的功能是根据一...
[ "2278650208@qq.com" ]
2278650208@qq.com
28768b939d37f3492aab2f6c7d61c2166d775a84
89aa0190f9e902b9a7990f90d584e9f290f77f66
/Finished Game/Game5/gameDemo.py
aa7514098accbe0ddf5425cf039a922d04112513
[]
no_license
ElvedinDzihanovic/BluBlu
d88a12f666313268876345a7c40eb192c3c8d1ae
b4491a6b8ffacaf3ab53f7f2ff7ee8beb43372e5
refs/heads/master
2020-04-28T19:40:14.054412
2019-04-11T14:29:29
2019-04-11T14:29:29
175,518,573
0
0
null
null
null
null
UTF-8
Python
false
false
4,043
py
import sys #Change the following line sys.path.append('opencv\build\python\2.7') import numpy as np import cv2 import socket import time UDP_IP = "127.0.0.1" UDP_PORT = 5065 print "UDP target IP:", UDP_IP print "UDP target port:", UDP_PORT #print "message:", MESSAGE sock = socket.socket(socket.AF_INET, # Internet...
[ "elvedin.dzihanovic@edu.fit.ba" ]
elvedin.dzihanovic@edu.fit.ba
b351ca90b3b3097863f1e9c4d1db09cc08919070
d4ffc8822d1a3efd2d513636851e6258ae43d84d
/Line_task.py
ab8982c08f911b9d90988e70a66490b88116400e
[ "MIT" ]
permissive
joshuaLei/ROV
05c9cd5517b21293f2b29f4a925c5151c68ca1fc
9af22e66bc3a3d855fb1fc3902e1deef1f4b989a
refs/heads/master
2020-04-27T06:43:55.323086
2019-05-22T09:25:36
2019-05-22T09:25:36
174,116,370
0
0
null
null
null
null
UTF-8
Python
false
false
5,804
py
import cv2 as cv import time import random import math #from video import Video class ImageTool(object): def __init__(self): #self.video1 = cv.VideoCapture(1) #self.video2 = Video(port=4777) self.frame = None self.pause = False self.mode = 0 self.srcframe = None ...
[ "joshualei06@gmail.com" ]
joshualei06@gmail.com
5e4e4b99d01da7a4993b8896434ad8b652c976f1
616f369bdd502396594e009781b45bcbf8968946
/SwordToOffer/PrintList.py
74aeeeade26632b7c9df584971f56f5f4945c751
[]
no_license
ryan623555007/interview-python
f75b1f03cd067b879e3bf122711b9e380f129b2b
cedb03a43dc2e9cdd8a5077a7802d04caafe55b9
refs/heads/master
2020-03-23T22:05:57.051982
2018-07-27T21:30:16
2018-07-27T21:30:16
142,152,782
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
class ListNode: def __init__(self, x=None): self.val = x self.next = None class Solution: def printList(self, listNode): if not listNode: return [] result = [] while listNode.next is not None: result.extend([listNode.val]) listNode = l...
[ "623555007@qq.com" ]
623555007@qq.com
a85ca73047ac8b70960d9f1fc9b2a54f698a1a3e
3f2fb2e887194105919c75166615100d73bf6785
/test.py
574f73e29895537114fb4a1e0dd602879efc6ff2
[ "MIT" ]
permissive
hermesfeet/summarize_text
7007be904cadaff41621eec3d0d9e8ddae1d4ff4
ce2d42f065f01a4ff5b16df5f0fa12cd3c9eeb3d
refs/heads/master
2020-04-29T14:01:14.886436
2019-03-18T02:04:24
2019-03-18T02:04:24
176,184,031
0
0
null
null
null
null
UTF-8
Python
false
false
3,185
py
#!/usr/bin/python # -*- coding: utf-8 -*- from textteaser.textteaser import TextTeaser # article source: https://blogs.dropbox.com/developers/2015/03/limitations-of-the-get-method-in-http/ title = "Limitations of the GET method in HTTP" text = "We spend a lot of time thinking about web API design, and we learn a lot ...
[ "hermesfeet@gmail.com" ]
hermesfeet@gmail.com
54babb345d5504b38949a02ef542b19c5f8afd30
3e8c7cc3c41a1db10f65800e999fa7976c4ee0d3
/old/server/urls.py
eda76961fcf6f905fdbb81c6aca4c7cc6a50202a
[]
no_license
oryband/gov-review
070313ab92de211ded2ff7a16ac4305274053a38
c176d0e104d1303ec923447d883743ad18230d47
refs/heads/master
2021-01-19T18:33:17.941539
2016-01-18T19:48:22
2016-01-18T19:48:22
5,661,620
1
0
null
null
null
null
UTF-8
Python
false
false
505
py
from django.conf.urls.defaults import patterns, include, url # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', url(r'^', include('gov_inspector.urls')), # Uncomment the next line to enable the admin: # url(r'^admin/', ...
[ "oryband@gmail.com" ]
oryband@gmail.com
ea37b3a336b7925ac1e8dccd5a4d05ee874e0c6f
88f0db4c85649101cc845a0afb71e428cc758c2f
/blog/app/migrations/0002_auto_20200517_1624.py
897826f240e236c0e5adb8379b80dc1bac7e3e67
[]
no_license
pmjabcd/django_blog
1271732bb7458345339af7870466198592ca1578
e64c6ae179d71beff7d692d4a04ec55f94473917
refs/heads/master
2023-07-18T22:48:14.890381
2020-05-17T08:59:06
2020-05-17T08:59:06
264,620,818
0
0
null
2021-09-22T19:13:03
2020-05-17T08:57:23
Python
UTF-8
Python
false
false
542
py
# Generated by Django 3.0.6 on 2020-05-17 07:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AddField( model_name='article', name='category', fiel...
[ "wisely_@naver.com" ]
wisely_@naver.com
d27208389d6ba8b4e8b86ffee2adb7a585b2ae5e
15745463dda76d2f9419200aef24736521a07c1c
/src/descriptores.py
981d3d460ffcdbdd4c53f5962d3efb4fbf2926db
[]
no_license
jjdenis/diagrama_caja
7b27ae0e40bdb8901c4692aa34bc2c6db1af563d
dd31dbf629d91cd2997c4e39af5b8edf705c53af
refs/heads/master
2020-05-23T05:07:24.401821
2017-03-15T07:37:56
2017-03-15T07:37:56
84,751,320
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
#!/usr/bin/env python # -*- coding: utf-8 -*- class Descriptors(object): def __init__(self, valores): self.maximo = max(valores) self.ultimo = valores[-1] valores = sorted(valores) num_valores = len(valores) self.media = sum(valores) / num_valores index = int(...
[ "jjdenis@gmail.com" ]
jjdenis@gmail.com
27a647aa0325fc6672f392661ec6acbcdbc62d55
63802a7c72a77489f0acb415550069627c198166
/EmployerPanel/forms.py
9d487dd70bf6327e827925920c93d5725ee161fb
[]
no_license
amit1992321/Placementcellautomation
36e24944296d2efaf11aa286e5c20381d882dc82
ac9dc8f78d03c65e8ba4723875f95b024bcbd421
refs/heads/master
2020-06-08T22:18:22.483068
2019-06-23T07:24:57
2019-06-23T07:24:57
193,316,348
2
0
null
null
null
null
UTF-8
Python
false
false
2,090
py
from django import forms import datetime from . import models from django.forms import formset_factory class EmployerForm(forms.ModelForm): class Meta: model = models.Employer fields = ['user', 'mobile', 'alternate_mobile', 'company_details'] class JobPostForm(forms.ModelForm): class Meta: ...
[ "noreply@github.com" ]
amit1992321.noreply@github.com
68cf3e5e2413d7edeffddb03c066dfb7a3e78310
4e187a73d451f8c500955098e8f7d466b90d05de
/Flasky0.1.py
299910de2cdaa6ebb388c7732ee6b2261932d8dc
[]
no_license
LinZiYU1996/Flask_Login
21c3592b6116ca49a17bab98eb4171ea4721b551
420d540cf18f4627054ecf589872611e6e6ff8b6
refs/heads/master
2021-01-02T08:48:38.669567
2017-08-02T03:14:37
2017-08-02T03:14:37
99,066,660
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
from flask import Flask,render_template,flash,url_for,redirect from flask_bootstrap import Bootstrap from flask_moment import Moment from flask_wtf import FlaskForm from flask_login import LoginManager,login_user,UserMixin,logout_user,login_required from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app...
[ "2669093302@qq.com" ]
2669093302@qq.com
037e50418658ee008115d34ac0001eac2e505af5
c4c9e81e9af2db426ed4cbfb3523664f927e5d5a
/0x16-rotate_2d_matrix/0-rotate_2d_matrix.py
f7d1b9cfb812aef67ce2cb1094d59a869f290153
[]
no_license
Eddyszh/holbertonschool-interview
3d4ffcca64464ce5c416d8f4bf2f83364fc14787
b4ee82a46215757d2a1d5b69184f893f6c48f6a5
refs/heads/main
2023-04-21T09:26:16.485898
2021-05-27T22:20:00
2021-05-27T22:20:00
319,394,819
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
#!/usr/bin/python3 """ Module rotate 2d matrix """ def rotate_2d_matrix(matrix): """Rotates 2d matrix""" n = len(matrix) for x in range(0, int(n / 2)): for y in range(x, n-x-1): temp = matrix[x][y] matrix[x][y] = matrix[n-1-y][x] matrix[n-1-y][x] = matrix[n-1-x]...
[ "eddyszh@gmail.com" ]
eddyszh@gmail.com
757bb5db334a4b6518bf2b293c9f9cc451d67ebf
5891051796778cfb44a255248ce38789bfef9e70
/P_base/python_pdf/kp.py
1849b1e321f912c79b6c02533938157eb9a214ea
[]
no_license
Faithlmy/Python_base
cc546a5d86b123e102a69df1227cde9b6e567493
5a43557e6375dc9dbe5f6701d7c10e549873a5ab
refs/heads/master
2021-01-01T17:07:04.097978
2018-03-31T16:44:01
2018-03-31T16:44:01
98,000,621
0
0
null
null
null
null
UTF-8
Python
false
false
2,258
py
#!/usr/bin/env python3 # encoding: utf-8 import sys import importlib importlib.reload(sys) from pdfminer.pdfparser import PDFParser,PDFDocument from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.converter import PDFPageAggregator from pdfminer.layout import LTTextBoxHorizontal,LAPara...
[ "lmengyy@126.com" ]
lmengyy@126.com
1bab715b0c564a7a2941200a68f23a04ab4bfd58
be2c022b270522fe24475b794d53a3fd973a5de1
/영동/05_11049_행렬 곱셈 순서.py
9a26a4594789aceefcc502611d23e25d9aedf66e
[]
no_license
zeroistfilm/week04
ea4a358be0931fe28202b7ce543ed246536a1c50
fdb5985e2d899c8b1a60cb81d660937304fa5bcb
refs/heads/main
2023-02-09T09:35:27.795180
2021-01-07T02:29:28
2021-01-07T02:29:28
325,717,500
1
0
null
null
null
null
UTF-8
Python
false
false
562
py
# https://www.acmicpc.net/problem/11049 import sys #sys.stdin = open("input.txt", "r") N = int(sys.stdin.readline()) M = [0 for i in range(N+1)] for i in range(N): a,b = map(int, sys.stdin.readline().split()) M[i]=a M[i+1] = b Matrix = [[0 for i in range(N)] for i in range(N)] for i in range(1,N): r...
[ "zeroistfilm@naver.com" ]
zeroistfilm@naver.com
b7588d77781e80e9850aab062925583a8dbd38b0
3104a6b3218dc99638e8f541669988a16fe778b7
/data.py
3e6fc1753790f7a32761e5a8e8009973afe80613
[]
no_license
faaizuddin/Basic-Data-Preprocessing
ab5ae7e4b2626576afc44b23000333682f79ec17
5f232ea436ec015e345421d0a701b10ae0280743
refs/heads/master
2021-06-29T15:13:56.828395
2020-12-12T11:59:48
2020-12-12T11:59:48
182,529,592
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
#creating column names for airq402 data nc=["City1","City2","Average Fair","Distance","Avg Weekly Passengers","Market Leading Airline","Market Share","Average Fair","Low Price Airline","Market Share","Price"] #header names airq402=pd.read_csv("http://www.stat.ufl.edu/~winner/data/airq402.dat", names=nc, sep="\s+", hea...
[ "noreply@github.com" ]
faaizuddin.noreply@github.com
dc72b2bde8cad68dee72340a53e427e8b6ea6c23
06513636eb9253fc7652f605c3cc05b284bc2a8d
/CH_3_EX_3_3.py
295756ee25524d64cea48c6efa5ea859a860585a
[]
no_license
jch427/directed-study
70981aeab148687786c465dde5b42e84837480fe
069a303ea5303c767e027170f57c83cf3be78114
refs/heads/master
2020-09-19T10:44:36.700123
2020-03-27T00:24:57
2020-03-27T00:24:57
224,225,744
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
# how many iteams? 5 # how many messages? 5 # how many prints? 5 # are they all in the same message/print? no car = ['tesla', 'ford', 'honda', 'GMC', 'doge'] message = f'the new {car[0].title()} truck is unlike any other befor it.' message2 = f'comparied to the old{car[1].title()} F150 it is very interesting.' ...
[ "noreply@github.com" ]
jch427.noreply@github.com
4e5e6edbef06d2952e8fc4d14209df3765306d1b
600bed5ab71bdf29b6ce7f14bcfb996455e0356d
/contested_shots.py
91f538ef264fb98480c0d62f0d86004501effbe7
[]
no_license
shardul17/Shot-Quality
3519de5144c511327aa2cdaeb8768c8a43f96423
28265eb6147588441af59d2e4629cbb607f28e70
refs/heads/master
2020-07-09T05:21:53.461514
2019-08-23T02:52:31
2019-08-23T02:52:31
203,892,097
0
1
null
null
null
null
UTF-8
Python
false
false
6,813
py
from selenium import webdriver from pandas import * import pandas import numpy as np import matplotlib.pyplot as plt from sqlalchemy import * import pickle path_to_chromedriver = 'chromedriver.exe' # Path to access a chrome driver browser = webdriver.Chrome(executable_path=path_to_chromedriver) url = 'ht...
[ "noreply@github.com" ]
shardul17.noreply@github.com
23f2b61b669a1d020a56fe2145e8e5b58625908e
0e89b2c2f0f281b110ae283de6471600bee6d0a5
/style-token-master/StyleToken.py
d756ac548fd2626e1efa898fdf2440f56dc4c854
[]
no_license
vmwaregit/sublime_common_packages
556f0165eb83d930fe9ac98faef98f433d2269e3
06ca7204c5967fe1f8381fd99356249a5f6f07b5
refs/heads/master
2021-01-19T08:05:03.020537
2013-07-13T13:20:11
2013-07-13T13:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,297
py
import sublime, sublime_plugin REGION_NAME = 'StyleTokenListener' MAX_STYLES = 10 cs_settings = sublime.load_settings('StyleToken.sublime-settings') styles = [cs_settings.get('styletoken_style'+ str(i+1), 'invalid') for i in range(MAX_STYLES)] class TokenStyleCommand(sublime_plugin.TextCommand): def run(...
[ "ee6662@gmail.com" ]
ee6662@gmail.com
6f1fe808bbdf4766f29cd182eb50f6b82f93229a
f6f9facdef2ba878951239f0ff207c3dbee4aad7
/NewTest2.py
c38555e6f1dbec702a564b502fb61228684e70f5
[]
no_license
ssmaximilian/Maps2
bd9a3b458a6e24fe3d11f04a6e041e3ca99a82ce
419ba51a66fdc33651c515b4e23499ed6d6ca65a
refs/heads/master
2022-11-17T06:31:52.717753
2020-07-19T16:39:59
2020-07-19T16:39:59
280,901,091
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
import pandas as pd import numpy as np from IPython.display import display import sqlite3 from sqlalchemy import create_engine import string from statsmodels.stats.multicomp import pairwise_tukeyhsd from scipy import stats import chart_studio as py from plotly.tools import FigureFactory as FF from plotly.graph_objs imp...
[ "noreply@github.com" ]
ssmaximilian.noreply@github.com
fa43c1fe25521c71355b2ab08a11fffd84cbf13f
be5ca49e9fe765b24c284e70f0f03094b280f294
/tests/__init__.py
0dbda16f325bb8e4c2fdf51dd24bd705147891f8
[ "Apache-2.0" ]
permissive
salesking/salesking_python_sdk
584e37ed39057854b44172869ca1a1c88fb20f91
0d5a95c5ee4e16a85562ceaf67bb11b55e47ee4c
refs/heads/master
2021-01-10T21:50:06.639171
2015-02-01T18:40:53
2015-02-01T18:40:53
7,263,808
0
0
null
2013-06-18T14:06:51
2012-12-20T20:28:20
Python
UTF-8
Python
false
false
864
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import os import tempfile import unittest import logging ## logging LEVELS = {'debug': logging.DEBUG, 'info': logging.INFO, 'warning': logging.WARNING, 'error': logging.ERROR, 'critical': logging.CRITICAL} ...
[ "frank.bieniek@produktlaunch.de" ]
frank.bieniek@produktlaunch.de
4c502425af4a0552d4ca6a8d65160670dab7b1f4
a44cf7658e9c8f7805972a43caeb549d1edb86b8
/vp/migrations/0094_auto_20191021_1923.py
4f08b67e91648f2b377acf221cfd3b0646ebfdd4
[]
no_license
almazim/vagonpodarkov
11c36a51996c53909a762b2776239bce9a87932f
37a724f7eb7dde62558ec226df3e9b829ae84fa0
refs/heads/master
2020-11-29T23:38:27.657192
2019-12-26T10:03:18
2019-12-26T10:03:18
230,240,476
0
0
null
null
null
null
UTF-8
Python
false
false
1,699
py
# Generated by Django 2.2.6 on 2019-10-21 19:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('vp', '0093_remove_sweets_sweet'), ] operations = [ migrations.CreateModel( name='TypeBox', ...
[ "alimzagrick@gmail.com" ]
alimzagrick@gmail.com
fa8d95911c385ecc64e8c6de19551c72cc6d6c37
d40ee0fed27e784c56ce7257ddc91c10bc34b7c0
/node_modules/bson-ext/build/config.gypi
f525d312e28569aded5ce63fb7cfae8529a26f4d
[ "Apache-2.0" ]
permissive
arizona2014/Knowledgebase
3360f2efd11009515138a8558162eb73fce054db
25bdb002180d564d69b8960c24cece92c0f497f6
refs/heads/master
2021-01-10T13:55:03.000203
2016-04-20T15:06:58
2016-04-20T15:06:58
53,052,849
0
0
null
null
null
null
UTF-8
Python
false
false
3,784
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "host_arch": "x64", "icu_data_file": "icudt56l.dat", "icu_da...
[ "andy.lisac@gmail.com" ]
andy.lisac@gmail.com
af2aab80153959b6e9323af29d3835ba863fc16d
3d1f5b69d9db15744b9f927634be002716419ddf
/b105_data_parallel.py
92524a90aa03e37ca21f2dd558370bdc1bdd6b19
[]
no_license
yexiaoqi/pytorch_learn
5e87a3e85cbbbecc79fe75893a4a774cd35dbad7
bf4c76de44d763580d4584d86387fb43763a4456
refs/heads/master
2023-02-07T07:30:06.863002
2020-12-31T07:51:10
2020-12-31T07:51:10
322,521,073
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
import torch import torch.nn as nn from torch.utils.data import Dataset,DataLoader input_size=5 output_size=2 batch_size=30 data_size=100 device=torch.device("cuda:0" if torch.cuda.is_available() else "cpu") class RandomDataset(Dataset): def __init__(self,size,length): self.len=length self.data=...
[ "angel7ge7@163.com" ]
angel7ge7@163.com
f96729b38a64cf05d84ab0e508ac4cb889ce989b
ce348e6f43e0eeb83a171f73dc924b95c121fe7f
/backend/sharedstory_24977/wsgi.py
58a5c6babe8473b4c0580a501312c526f0f7ed5c
[]
no_license
crowdbotics-apps/sharedstory-24977
ec19e35d67d0119dac3d30521e2aef050f60fa8c
2dbd37503ab449981acbfb86f98d54580b4d6a92
refs/heads/master
2023-03-23T15:31:00.793794
2021-03-11T16:01:22
2021-03-11T16:01:22
346,757,867
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for sharedstory_24977 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9a160c81fd980b2b5ae5b90944c631d5206f7566
5cd660b97c88b76f26ed5f349ebbec105567ba0e
/apps/sync/migrations/0006_auto_20180928_0813.py
064716445484660e3687ca5509ca1c4be8c6096d
[]
no_license
JaredAvila/Django-Project
4b42f6e9cc804cc9a8522d6f03098a6dd868af88
bed080a72c320018999ca4f749084c32779d864a
refs/heads/master
2020-03-30T05:12:56.678091
2018-10-29T22:59:56
2018-10-29T22:59:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-09-28 15:13 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('sync', '0005_post_postrecipe'), ] operations = [ ...
[ "jared.c.avila@gmail.com" ]
jared.c.avila@gmail.com
8120afa2fa7f150d257ef6033deff9fcab1f8f81
7085f2fa4a519bf5cc831313f45b8ca9cb619e73
/main.py
8d03510c11a869f1ff3a6e95899abc106e9709e7
[]
no_license
andrewbates09/maxit
f3916560d365862c9f05ad5872cc069b64f92231
3f488907b9aae92cf5f24f051e879e30ac6c9a14
refs/heads/master
2016-09-06T14:57:10.072112
2013-12-04T19:43:06
2013-12-04T19:43:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
#!/usr/bin/python3 import playmaxit # import testmaxit # import curses def controlMaxit(): userChoice = 0 anyKey = 0 while (userChoice != 2) : playmaxit.clearScreen() print('Welcome to the Most Awesome Xciting Inside Terminal game (MAXIT)!\n\n' 'Options\n' '\t1....
[ "andrewbates09@gmail.com" ]
andrewbates09@gmail.com
1ea20151d1db0d31a7b702522a6280ebbe9f68b6
2f519f09a296616846089f2ae405adeb8877fb5d
/mnist_seq.py
e80f100bd383f4b037b1badb0862c4fe233cc984
[]
no_license
GMADHURIDSP/Convolutional-Neural-Networks
c025912433c5f991e59b0f14c5f6fdb1a04bfb35
d753215f958fce2b098d4f993854358dc2ba3c91
refs/heads/master
2022-11-07T14:05:49.189633
2020-06-18T15:18:03
2020-06-18T15:18:03
273,272,851
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense from keras.layers import Dropout from keras.layers import Flatten from keras.layers.convolutional import Conv2D from keras.layers.convolutional import MaxPooling2D from keras.utils import np_utils (x_train, y_tra...
[ "noreply@github.com" ]
GMADHURIDSP.noreply@github.com
f8c70c1da41cfea53b6d1f02569fd71e0439f618
35e00d1996515ccf3151067ff28ff3357078f0b6
/samples/generated_samples/pubsub_v1_generated_schema_service_validate_message_async.py
add86c6fa8941035f2205bc30efda5abdc9894e2
[ "Apache-2.0" ]
permissive
googleapis/python-pubsub
5bb18674307bd89236a61c0d7c5079f10e19467e
1b9724324c58d27bcee42020b751cda58d80fddb
refs/heads/main
2023-09-03T13:14:22.894233
2023-08-28T13:18:36
2023-08-28T13:18:36
226,992,581
321
195
Apache-2.0
2023-09-10T23:29:10
2019-12-10T00:09:52
Python
UTF-8
Python
false
false
1,876
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
05ce1b3fbd1318701f6cf0e64b26c7245bdb8cee
e4697742d4b745b5ce56537ccb7f852a481b2bb7
/venv/bin/python-config
931e68da668c19880b05905d5be9f5f5326f7a71
[]
no_license
AbrarQuazi/Project-Midas-Stock-Prediction-Web-App
fde1b6b76b05af988a77b5dd27552931ac103aec
45331718659b32e190432c7ff622f0a303da9484
refs/heads/master
2022-12-20T04:53:35.258381
2017-09-01T02:50:44
2017-09-01T02:50:44
98,698,506
0
0
null
2022-06-21T21:13:53
2017-07-29T00:50:37
Python
UTF-8
Python
false
false
2,362
#!/Users/abrarquazi/Desktop/stock_web_app/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if s...
[ "aquazi1109@gmail.com" ]
aquazi1109@gmail.com
8ae3347d2a89108558a061fa27bf203aa8ebfd4b
1b0e6de5485339a3b5dfff461d6239a3ac57a982
/SpecialistAI/health/form_utilities.py
f74dafd220b5d4cb3e3ad02d7d50c11a4073ffc4
[]
no_license
moemursi/DJango-AI-Medical-assistant
fd48b5e68033d71fc880f58903b89ceadca5d0d9
bb5108cddb81e5909a172b29ba9628b524a04d60
refs/heads/master
2022-12-22T10:41:15.323896
2020-07-16T12:54:50
2020-07-16T12:54:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,141
py
# Class which is responsible for everything regarding forms, # I.e. sanitisation, # email being valid, # password matching and much more. import re from django.core import validators from django.core.exceptions import ValidationError from django.contrib.admin import models from django.contrib.contenttypes.models impor...
[ "bulmer.neville@hotmail.co.uk" ]
bulmer.neville@hotmail.co.uk
b5c4683595506c36f2bbe83636e6d3b5240a13b2
9404f0134c580cb18df4de6e434f4a6f83d1cd33
/tfidf/tokenizer.py
6473eec7812e1d55b8e80165689a1a11509e934c
[]
no_license
xyh97/JingDong-Dialog-Challenge
77a1c7fee0bed551d39eef79b79049ddac1f74fc
95c137e09606c39b5f8dd36c25f5baf178835ef0
refs/heads/master
2020-04-03T01:53:10.980316
2018-10-27T08:23:01
2018-10-27T08:23:01
154,941,380
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
# -*- coding: utf-8 -*- import jieba from tfidf.util import read_lines _STOP_WORDS_FP = 'stop_words.txt' class Tokenizer: def __init__(self): self.stop_words = [i for i in read_lines(_STOP_WORDS_FP) if i] def cut_for_search(self, sentence, filter_stop_word=True): tokens = jieba.cut_for_searc...
[ "xiongyh@zju.edu.cn" ]
xiongyh@zju.edu.cn
80092859c0ed3666cab7996e9c378ca9e0e5a49a
7fcaf22d5880692598a38cad6f682795cbc13bf8
/knowlege.py
7135215a9601832aef3a8bd925a18afe7c2687cb
[]
no_license
xiaolong-liang/paralleldao
f0e6b57a519ffed604397a8e39d9598f02af8029
22ea10434746efedf4998c3b3e3b2489c6b55b13
refs/heads/main
2023-04-17T03:57:08.187886
2021-04-27T11:11:04
2021-04-27T11:11:04
359,088,908
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
class Knowlege(object): def ask(self, stmt): pass def update(self, stmt): pass class Belief(Knowlege): pass class Intent(Knowlege): pass class Governance(Knowlege): pass
[ "dreammakerlxl@gmail.com" ]
dreammakerlxl@gmail.com
ebb234d79ad5026002b45235c64c948c60818cae
f1f53fc9fdcc627492eff0a5dec96d3f72c6bcd1
/app.py
b77d88c3b43de568526c20cbed6e343a96436062
[]
no_license
corneliussteven/Camera-RaspberryPi
3f1b00fdaa29a56890c30f5de3b97ba88215ab78
883c1773975e6e676416ecc827c149d1cd4315b3
refs/heads/master
2020-04-11T05:36:33.774618
2016-09-13T06:48:53
2016-09-13T06:48:53
68,079,792
0
0
null
null
null
null
UTF-8
Python
false
false
3,249
py
#!flask/bin/python from flask import Flask, jsonify, abort from flask import make_response from flask import request from flask import url_for from flask.ext.httpauth import HTTPBasicAuth from flask import Blueprint auth = HTTPBasicAuth() app = Flask(__name__) def make_public_task(task): new_task = {} for f...
[ "cornelius steven" ]
cornelius steven
899d61119110a0fdcdba377335475e797ba20c50
34b1ab46a70fe81143874a40d6493c0254f1e5c9
/python/flask_test_1.py
f8dd69799b9f664d6d21726091262f35e8b32f44
[]
no_license
yama1968/Spikes
5f974a20812dbd88f789cabf7720826d358f8e76
498b0cacfc23627ecee743f012a6fda6451cda7f
refs/heads/master
2021-06-06T00:33:33.637745
2020-11-14T18:49:25
2020-11-14T18:49:25
29,531,065
2
0
null
2020-11-12T21:13:21
2015-01-20T13:29:35
Jupyter Notebook
UTF-8
Python
false
false
232
py
# -*- coding: utf-8 -*- """ Éditeur de Spyder Ceci est un script temporaire. """ from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ == "__main__": app.run()
[ "ymartel@gmail.com" ]
ymartel@gmail.com
1f4ddfa1c8bc8ae0575ee67ac34d8226efa92e7e
e1efc8e0b0e4629dea61504fbc816c0527691bd9
/3.jvm/24-静态分派.py
4057e69948dec7c7341531bc1d10fa9e78285067
[]
no_license
xiongmengmeng/xmind-technology
2bb67a0bf92cfd660cac01f8ab3a2454423ccba5
e2fdb6987ef805a65f0a4feb52d84383853f4b77
refs/heads/main
2023-07-31T07:10:29.868120
2021-09-11T08:18:17
2021-09-11T08:18:17
307,636,242
3
1
null
null
null
null
UTF-8
Python
false
false
3,314
py
import os,sys parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0,parentdir) import xmind xmind_name="jvm" w = xmind.load(os.path.dirname(os.path.abspath(__file__))+"\\"+xmind_name+".xmind") s2=w.createSheet() s2.setTitle("静态分派") r2=s2.getRootTopic() r2.setTitle("静态分派") cont...
[ "xiongmengmeng@qipeipu.com" ]
xiongmengmeng@qipeipu.com
cb90ab6fc8b20634eb92c304e768e063589475be
887198d9dd6ec287f5c2fff96fb4c32295ab15a5
/app.py
00928a9e6756afad85cac26c606d61892fb57e89
[]
no_license
thejoby/dogDoor
28c9b695f8c2dac0493aa3a28cbee609a9da705f
e588a80ae208fc704f5da245ece99b6f0a3974ab
refs/heads/master
2021-01-04T12:59:42.633377
2020-02-16T04:54:53
2020-02-16T04:54:53
240,561,092
0
0
null
2020-02-15T08:01:44
2020-02-14T17:15:48
Python
UTF-8
Python
false
false
1,259
py
from flask import Flask, request import time import datetime import RPi.GPIO as GPIO import sys app = Flask(__name__) @app.route('/') def index(): now = datetime.datetime.now() return 'Flask app is running at: %s' % (now) @app.route('/open', methods=['GET','POST']) def open(): if request.method == 'GE...
[ "thejoby@gmail.com" ]
thejoby@gmail.com
aa7ae0c68281ac9ce0ab5270f0a8c3357b63d971
3f287644cedc068e11d0d770e58a66771a721b97
/TrainingExtensions/tensorflow/src/python/aimet_tensorflow/defs.py
eb9d2e516eddb45adcd051bf5cb9ba5f3c9dacf4
[ "BSD-3-Clause" ]
permissive
Rohan-Chaudhury/aimet
a1c3d1f6b688a45bc333398cf23bba3d8cffad55
1c38cac8cc0fd32dca40ce5e39940805d29f7a4a
refs/heads/develop
2023-04-03T08:57:13.982404
2021-04-01T22:35:01
2021-04-01T22:35:01
332,067,268
0
0
NOASSERTION
2021-04-01T22:35:02
2021-01-22T21:32:36
Python
UTF-8
Python
false
false
7,393
py
# /usr/bin/env python3.5 # -*- mode: python -*- # ============================================================================= # @@-COPYRIGHT-START-@@ # # Copyright (c) 2018-2020, Qualcomm Innovation Center, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modifica...
[ "quic_bharathr@quicinc.com" ]
quic_bharathr@quicinc.com
ce699701faac3603c92fb933fe420ff5f4c0f5ed
374dc7e7d3244a16b0ea5e616db81738bc6ad7ff
/Blog-Website/webapps/grumblr/views.py
9ecf18c6c9b45eef1460ad74a80bd2618a8bbe2c
[]
no_license
calvinlee619/Projects
018660c3631e133359aab10622d906ef9a17bf32
d5f3ba6e3aa16b6c920d9a523a22526a365f1a1c
refs/heads/master
2021-01-12T18:17:31.960738
2016-08-23T15:57:04
2016-08-23T15:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,024
py
from mimetypes import guess_type from django.contrib.auth.tokens import default_token_generator from django.http import Http404, HttpResponse from django.shortcuts import render, redirect,get_object_or_404 from django.core.exceptions import ObjectDoesNotExist from django.core.urlresolvers import reverse # Decrator to ...
[ "kangw@andrew.cmu.edu" ]
kangw@andrew.cmu.edu
948b79a6176688f080bc49d0afa3edff51db7ac5
eeddbee377f4ae39513fdc9e2fc111b378d15fb0
/MD5sig/deleteRe.py
441b4d55e329ccc07f5d0cda1b7fb817939be7e3
[]
no_license
Viwilla/MD5sig
af9811957ea8f421a047d75a0c5707da8ccbef99
3598b4e42f893d878d98c752093a4f87cf8e61b4
refs/heads/master
2021-01-10T15:23:18.364356
2015-12-03T05:29:33
2015-12-03T05:29:33
47,310,132
1
1
null
null
null
null
GB18030
Python
false
false
844
py
import os,sys,os.path #import MySQLdb reload(sys) sys.setdefaultencoding('utf-8') if __name__=="__main__": md5total = [] md5 = [] count = 0 count1 =0 counttotal= 0 file1 = open ("MD5Sig.txt","r") file2 = open("MD5Sig2.txt","a+") lines = file1.readlines() for line in lines: ...
[ "954116843@qq.com" ]
954116843@qq.com
115fbb012b26456b279ce1b38eb085e54238ee4e
a15f8d9f509cdee635ccc822adf13908af47de51
/pytagged/_mode.py
75e86983d3dc7e32f1f9c8453951fd63d370cd5d
[ "MIT" ]
permissive
ntn9995/pytagged
97eb0323b229c2b281f186dc26dabeed44d50c30
bee423751ec63519abed1810af3326d5fa9770d3
refs/heads/master
2022-11-23T22:09:39.774184
2020-07-23T09:18:41
2020-07-23T09:18:41
279,422,157
0
0
MIT
2020-07-16T08:56:11
2020-07-13T22:10:50
Python
UTF-8
Python
false
false
135
py
from enum import Enum class Mode(Enum): """Enum for PyTagged cli mode """ DEFAULT = 0 PRINTONLY = 1 BENCHMARK = 2
[ "ngocnguyen9995@gmail.com" ]
ngocnguyen9995@gmail.com
8152f5de1e216e50d57f2ee029225b5144c4beb2
ed2be337ce4b8a3c772862fce99ec99416784a62
/play/models.py
c889f87afcafa52f0ca12af45ece8a4485629983
[ "MIT" ]
permissive
fraferra/PlayPaloAltoServer
e5ecc7557a02b2b14750e929f656a121984a560f
a7128d363efd6059007df2c9da77f7bd033f7987
refs/heads/master
2020-05-20T05:30:19.020450
2014-07-08T02:34:14
2014-07-08T02:34:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,899
py
from django.db import models from datetime import date from django import forms from django.contrib.auth.models import User,UserManager from django.utils import timezone from django.db.models.signals import post_save from django.utils.translation import ugettext as _ from utils import * from social_auth.models import U...
[ "fraferra@cisco.com" ]
fraferra@cisco.com
a1d28dddbbd1f06c8bf3597513d5a740a98a5dcd
786c0d355e04c885c196d421b74b53fa98ca2d0e
/test.py
f27358e2c62b03540f773611db597677ec2541ff
[]
no_license
underwatersaloon/bot.match
9b071b3668797d61350d32290c12fe511d3e0a81
caf2e4c3c2d60cc738cee788bc80aca69311a8a5
refs/heads/master
2020-04-24T17:54:17.547743
2019-02-27T03:01:44
2019-02-27T03:01:44
172,162,639
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
from ship_test import ship def prShip(lst): for i in lst: print('capID : {}, boat Index : {}, boat name : {}'.format(i.captain,i.index,i.subject)) def main(): capIds=[i+1000 for i in range(10)] capNames=['captain no.' + str(capIds[i]) for i in range(10)] crewIds=[i+10 for i in range(40)] ...
[ "m123oo@naver.com" ]
m123oo@naver.com
0968061f1cd254b767175a9dfbd30f5d783bcc15
92a9ac5f4e66e37a6b07c1ed8cfa02966b66ed0e
/project.py
6319f17892be739a28c0d19da5636980c267bf2f
[ "CC-BY-2.0" ]
permissive
dakshvarshneya/itemCatalog
6898c53b9dfec596384eef05c3803f4a68e0fcd2
056bfa10896a35929eb8dff29911730e06df09ac
refs/heads/master
2021-01-20T08:38:21.734878
2018-10-01T09:06:31
2018-10-01T09:06:31
101,568,599
0
1
null
2018-10-01T09:06:32
2017-08-27T17:26:37
Python
UTF-8
Python
false
false
17,664
py
from flask import Flask, render_template from flask import url_for, request, redirect, flash, jsonify, make_response from flask import session as login_session from sqlalchemy import create_engine, asc, desc from sqlalchemy.orm import sessionmaker from database_setup import * from oauth2client.client import flow_from_c...
[ "dakshvarshneya5@gmail.com" ]
dakshvarshneya5@gmail.com
1694e7e6f39b764c68f5192514499aab84206a67
7e133bf590000ad6bc06c18c77f174373f05af3b
/questao11.py
674ba232f746316bfb7905dd3e1ae36545a0a493
[]
no_license
LucasFerreira06/Exercicio1---Prova-2BIM
a716ed669b89b822fc431b0c25ed7a4f2c397168
6c9a97aa2fbf333b165df84b00a2a9a1836d2166
refs/heads/master
2020-12-05T03:11:33.581597
2016-09-04T01:52:05
2016-09-04T01:52:05
66,965,708
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
Numero1 = int(input("Digite um número:")) Numero2 = int(input("Digite um número:")) Soma = 0 for Numero1 in range(Numero1 + 1,Numero2): print(Numero1) Soma = Soma + Numero1 print("A soma dos números é:",Soma)
[ "lucasnatacao@gmail.com" ]
lucasnatacao@gmail.com
3d73e4bb4071a04e2289b417ddc0a5cbbc0b927b
1293877cc3fde664f0b3b56a67f83ceff27e91f6
/Leopold_Olivia/test.py
8257fbdae1cefe37223d671bacbb8efd672207ba
[]
no_license
obalderes/pd7-miniproject1
dbf5bd1d83100bcbcab9c9829880f5f3d8569180
7f89f376cd8ce804f39e73b065ab4df176e7ca75
refs/heads/master
2021-01-20T23:03:45.774203
2012-10-21T23:28:52
2012-10-21T23:28:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
import mongo def testing123(): #we will test our methods am i right!? mongo.newStory("Jets") mongo.addLine("Jets" , "The Jets lost today...again.") if __name__=="__main__": testing123()
[ "leopoldsg94@gmail.com" ]
leopoldsg94@gmail.com
fec6a3aa31a220c668b93a5b34d034e735fbae41
233087c1eb99e1d13f80de6f43d2cc3264aa9ca6
/polyaxon_cli/cli/version.py
e1a7f0433468d235fe651db2f75bb5fd16ca9f7f
[ "MIT" ]
permissive
DXist/polyaxon-cli
e33cd3b3633df5b21b9eb3cc48d7a6affed8e4ec
0b01512548f9faea77fb60cb7c6bd327e0638b13
refs/heads/master
2020-07-08T07:02:43.248549
2019-08-15T16:00:05
2019-08-15T16:04:31
203,601,306
0
0
MIT
2019-08-21T14:27:56
2019-08-21T14:27:56
null
UTF-8
Python
false
false
5,988
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import sys import click from polyaxon_deploy.operators.pip import PipOperator from polyaxon_cli import pkg from polyaxon_cli.client import PolyaxonClient from polyaxon_cli.client.exceptions import ( AuthorizationError, ...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
505fdfd9abfb20f8f910c8177095e34659135c1c
a5e60d6bdc5ffa932e9d2638ee56e88ed4c07fc7
/df_websockets/__init__.py
3bbf7505c0fc1eea26fb8bed553558cc70657926
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
webclinic017/df_websockets
c5d82afe90e475731e61186fa8df39897c64252e
f0d072c4d6f2ddfa8bf17dd408236553fc154731
refs/heads/master
2023-04-16T05:45:42.293330
2021-04-16T08:50:42
2021-04-16T08:50:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
# ############################################################################## # This file is part of df_websockets # # # # Copyright (C) 2020 Matthieu Gallet <github@19pouces.net> ...
[ "github@19pouces.net" ]
github@19pouces.net
7bf946dbafdf97b8a37a69fc222646baade45db5
2452d22a7aacf49d473dc414f6cc750af9857f8b
/src/facio/run.py
c7d8ffa7980c7db33fab17f031b7edfaa05c931a
[ "BSD-2-Clause" ]
permissive
krak3n/Facio
ce507edb0df5e161453ff04c402febeecd48e98a
65ec0d078b133f0de77bfb7bc1c037acda63c193
refs/heads/master
2020-05-19T11:16:24.545548
2013-08-19T08:26:19
2013-08-19T08:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,332
py
# -*- coding: utf-8 -*- """ .. module:: facio.run :synopsis: Runs the Facio template process. """ import os from facio.base import BaseFacio from facio.config import (HOOKS_FILE_NAME, Settings, CommandLineInterface, ConfigurationFile) f...
[ "hello@chris.reeves.io" ]
hello@chris.reeves.io
d555bbcd2c811c9d1ec8cb0c3f6cdd62d05c4a97
951e36478d75044ba1895da343bc3930de4bd37c
/cone_side_code/source/various_tests/die.py
e85e8d8a424f99e56255f3d65c1d4fe828d10a69
[]
no_license
orion2166/ConeDroneApp
76c8f01b371a11da26e57a57869f5f91af49967f
af7b920e59b6501714e4560cf40f107148b26354
refs/heads/master
2023-01-23T15:49:49.115007
2020-12-03T12:58:44
2020-12-03T12:58:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
import signal import sys import RPi.GPIO as GPIO from smbus2 import SMBus #using smbus2 by Karl-Petter Lindegaard (I2C messaging) import time import sensor import schedule import indicator GPIO.setwarnings(False) indicator.clearLEDS() indicator.lowerFlag()
[ "h38383838@tamu.edu" ]
h38383838@tamu.edu
f9cf49601f28234a3dc2bbac71ed62fd49b12ede
9dc77d85384f8a888e7d1699c2e519cafe7f8491
/person/views.py
69ece19fecbf722c83d4f0a363231e59cfc2219f
[]
no_license
ChaseKnowlden/2021SpringGroup1
e5e93ebaf477ba87f7742f89cb5d990a720c74fa
fb820e5e852386310866894c7a6f289dff225ce1
refs/heads/master
2023-05-27T06:31:32.194596
2021-05-30T15:02:19
2021-05-30T15:02:19
375,468,835
0
0
null
2021-06-09T19:37:28
2021-06-09T19:32:07
null
UTF-8
Python
false
false
1,920
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. from .models import Person import requests import json numberPerson = 10 PERSON_API = 'https://randomuser.me/api/?results='+str(numberPerson) def person(response,id): person = Person() person.name = "bilal" ...
[ "4teko7@gmail.com" ]
4teko7@gmail.com
18a82c0623cf3f9a43a6f936f07e388b4f2de0f4
9e4fe0016f8d322f1911df4c4fcfc07d090d4ef3
/lab7/codingbat/warmup-2/5.py
c003f9559abfe1a21ddf9a3315526fea109d8ffa
[]
no_license
WooWooNursat/Python
e84055fed32aeee2d32dcd49dad6fe10ae02bb33
b37e6ceb46b4fe068c9e989c1cde3c1cf8ad42f9
refs/heads/master
2021-04-04T03:43:48.143976
2020-04-17T05:58:17
2020-04-17T05:58:17
248,422,200
0
1
null
null
null
null
UTF-8
Python
false
false
199
py
def last2(str): if len(str) < 2: return 0 last2 = str[len(str)-2:] count = 0 for i in range(len(str)-2): sub = str[i:i+2] if sub == last2: count = count + 1 return count
[ "noreply@github.com" ]
WooWooNursat.noreply@github.com
d6be6ba7b30d8faaec1895bb04e32de8fc239c7e
3f507c5cd0386f3e4a7310f2675ae5ebb9c81426
/manage_site/migrations/0004_auto_20180715_1404.py
51e7e200d4dd7fdd9f57082b7c0adb32f20d5445
[ "Apache-2.0" ]
permissive
Chocomilk-Leo/FITA
aa6af2b34ca032558393f06bb5a4dbacc464e4e6
f2b04c9e40da11ed35732e9f69fc24ac5c31bc70
refs/heads/master
2020-04-15T01:39:16.363443
2018-10-30T04:43:02
2018-10-30T04:43:02
164,285,474
1
0
Apache-2.0
2019-01-06T07:33:23
2019-01-06T07:33:23
null
UTF-8
Python
false
false
452
py
# Generated by Django 2.0.6 on 2018-07-15 14:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('manage_site', '0003_auto_20180715_1338'), ] operations = [ migrations.AlterField( model_name='indexcourse', name='im...
[ "1227085585@qq.com" ]
1227085585@qq.com
1be13eebadb30837a50498bf56c567f3ae17a166
4f00c6a08db5755b294bd519b9377866f5ff6c19
/src/tests/google/appengine/api/xmpp/xmpp_service_stub.py
8071acee686aa1637f430255e904c727b3a3af37
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cooljeanius/cauliflowervest
02035a8455b1dde469ebfd0b202c02456820a679
a9bc209b610a927083bf16274d8451c6c45227bf
refs/heads/main
2022-12-24T15:28:30.616604
2020-09-25T23:55:15
2020-09-25T23:55:15
303,812,548
1
0
Apache-2.0
2023-09-04T16:48:46
2020-10-13T19:46:58
Python
UTF-8
Python
false
false
5,161
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "egall@gwmail.gwu.edu" ]
egall@gwmail.gwu.edu
0dfab621a2eb3a0f601ca535af21b6bf1120739f
5c1de66937151f56c739ed8b9ea4309c28e333c6
/maxfw/core/api.py
e513d0746ecf471d9e4205ae99b3073ac6200b3a
[ "Apache-2.0" ]
permissive
cclauss/MAX-Framework
40b0259da1aa84a4550ac897afb595142353bf85
2bc9c090058557a5ce863bbf19a18c7c47a78695
refs/heads/master
2020-04-09T12:21:36.033643
2018-11-29T01:08:07
2018-11-29T01:08:07
160,346,052
0
0
null
2018-12-04T11:20:13
2018-12-04T11:20:13
null
UTF-8
Python
false
false
977
py
from .app import MAX_API from flask_restplus import Resource, Model, fields, reqparse from werkzeug.datastructures import FileStorage METADATA_SCHEMA = MAX_API.model('ModelMetadata', { 'id': fields.String(required=True, description='Model identifier'), 'name': fields.String(required=True, description='...
[ "djalova@us.ibm.com" ]
djalova@us.ibm.com
6736e09edf00b418607e71443127f44af7ec6cea
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/DXS3326GSR-SWL3MGMT-MIB.py
b6967e401b97f5dc7cbce020ce7e6f82e3f21569
[ "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
43,774
py
# # PySNMP MIB module DXS3326GSR-SWL3MGMT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DXS3326GSR-SWL3MGMT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:40:25 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
638ad0a44f682b5e0f02d9d651d4f490a4ac7d49
a8c0664b02ff552620bcee32846ef27686559361
/validation/model.euler/euler-rayleigh.py
2b912c8e2b276622c1c38b165adc70962292cdea
[]
no_license
ZhaoMY93/flowdyn
6d8f22b71ab5a733bcb465ae52dc3c3216750c0b
60625cc089fc17b7647a36ab98525c189a744f14
refs/heads/master
2023-06-20T23:42:48.673591
2021-06-05T13:21:12
2021-06-05T13:21:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
# -*- coding: utf-8 -*- """ test integration methods """ import time import cProfile from pylab import * import numpy as np from flowdyn.mesh import * from flowdyn.field import * from flowdyn.xnum import * from flowdyn.integration import * import flowdyn.modelphy.euler as euler import flowdyn.modeldisc as mod...
[ "jeremie.gressier@isae.fr" ]
jeremie.gressier@isae.fr
8c049759037ec8218f98e394232db59d2162c027
f79c7d8e68f520ccf27db7139dcdf7ade54d37d6
/zerebralweb/goals/models.py
ec1233be4414a9835c09ba45eaa4bead5742cd73
[]
no_license
JackMcGrath/Zerebral-Rewards
84385693f9a34a30b98abca1908ff7dea7776a13
cf0044985a43e7801f8b6ff9e80873d2a63b7473
refs/heads/master
2020-04-10T04:00:24.988277
2013-09-11T18:41:45
2013-09-11T18:41:45
11,531,890
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
from django.db import models from badges.models import Badge class Goal(models.Model): name = models.CharField(max_length=100) description = models.CharField(max_length=500) point_cost = models.DecimalField(max_digits=15, decimal_places=2) # can this goal be earned? active = models.BooleanField(...
[ "ericb@ericbarch.com" ]
ericb@ericbarch.com
cee4a664fcc22aa71cfe586182065adf4a6ac247
0510d945b39e504fd9533d7aca630a46cea1d724
/Francisco_Carvalho/loginSystem.py
aa0f9867236503e0cf56a561f7fd7cb550a80b53
[]
no_license
HackerSchool/HS_Recrutamento_Python
b6d7c099aa6f5bc2325be5e3b0a8fa0e4d439b4a
5d77d4f0e59da8d69edf02f03d9dd888e83fc33a
refs/heads/main
2023-08-28T10:55:31.567770
2021-11-09T11:03:54
2021-11-09T11:03:54
425,946,545
1
1
null
2021-11-08T18:36:36
2021-11-08T18:15:41
null
UTF-8
Python
false
false
1,211
py
class LoginSystem: def __init__(self): self.currentUsername = "" self.loggedIn = False self.users = dict() def logOut(self): if(self.loggedIn): self.currentUsername = "" self.loggedIn = False else: raise Exception("Not logged in") ...
[ "francisco.parreira.fonseca@gmail.com" ]
francisco.parreira.fonseca@gmail.com
f7b4ee0dbde59d9bfb30f2f86c1500ec367ab637
b557c7e9554e2d18f92b9b5f069839998c288737
/tests_diff_between_times.py
ac47236d75f40655ef35303190e3177f567f4f50
[]
no_license
davidone/misc
a50ed21ef61c40605ce21ea796167eda4f6da009
43a82a70f4378ad1cf1b91ba6b74a94c17ed4626
refs/heads/master
2021-09-27T22:55:24.120783
2021-09-15T13:20:50
2021-09-15T13:20:50
18,870,704
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
import pytest import diff_between_times def test_validate_date(): val = ('2021-09-15 00:00:00') assert diff_between_times.validate_date(None, None, val) == val with pytest.raises(Exception): val = ('2021-09-15 00:') assert diff_between_times.validate_date(None, None, val) sinc...
[ "noreply@github.com" ]
davidone.noreply@github.com
6d4956a0ac9bb6cca1d3e068b2f69a2948fa6cc7
79b51123340f8fc97066c1647f536cb16e3308ec
/main/migrations/0005_auto_20180516_2301.py
cf1c6f0fade9f0751f2d2eb6f32650eba076e751
[]
no_license
ox1230/capl
1edb9bd130cba0133d0106e411545d79a7fd881f
7f81937795699381b1df26e524a5e52d909ce462
refs/heads/master
2021-07-12T09:01:18.888306
2018-11-01T16:30:44
2018-11-01T16:30:44
132,298,555
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
# Generated by Django 2.0.4 on 2018-05-16 14:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0004_auto_20180516_2300'), ] operations = [ migrations.AlterField( model_name='category', name='maxi', ...
[ "ox11223300@hanmail.net" ]
ox11223300@hanmail.net
6a2b4d88152101f141b37064f7b8551c398301f3
513c664ac7e7b7aa34750c8fd21ca0cb2f9df309
/Legacy Code/Display_weather.py
b4496dbae4d0a4eec4a169a5a0d1c5e2fbc345c0
[]
no_license
BirchPrat/Raspi-Infodisplay
656474533def8d7394b1e164ffbf658fdfc2f14e
de8f88752c6d59a63d8c0c2dc4a1b127344d7d50
refs/heads/master
2023-08-29T06:46:44.618313
2021-10-13T09:49:35
2021-10-13T09:49:35
327,003,999
0
0
null
null
null
null
UTF-8
Python
false
false
10,522
py
# Weather Display## ################### # Importing necessary python libraries import time import json import subprocess import requests from random import choice import sys sys.path.insert(1, '/home/pi/Desktop/PythonCode/Api_cred/') import cred import digitalio import board #Import for the temperature reader from ...
[ "birchprat@gmail.com" ]
birchprat@gmail.com
9a239cb2175eaae59444de0eb0c36e3ab608a4f9
f6f24b57f4e3f5fdcea8006615d1c59f6d4adb06
/router/poc/poc-publisher.py
b3d3c932ed69cfaa72bc398c210453654817f1a5
[]
no_license
jeffmurphy/cif-v2
542640a59462193fa1ecda887b6391e98d8e57be
09bd6694688cfb6c962d9adb97f564eea97097a7
refs/heads/master
2021-01-10T20:59:40.681466
2013-12-31T17:52:12
2013-12-31T17:52:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,118
py
#!/usr/bin/python # # poc-publisher proof of concept # # poc-publisher [-c 5656] [-p 5657] [-r cif-router:5555] [-t #] [-c #] [-m name] [-h] # -c control port (REQ - for inbound messages) # -p publisher port (PUB) # -r cif-router hostname:port # -t secs between publishing messages (decimal like 0.5 ...
[ "jcmurphy@jeffmurphy.org" ]
jcmurphy@jeffmurphy.org
0547381d2254684900dcf79141d5b76f75c00912
65fce73a1e6a36718238cdef09a17493b19532a0
/8/swagger_client/__init__.py
d6ffda23006c1131e1217a75ca10767be0046ebb
[ "Apache-2.0" ]
permissive
apitore/apitore-sdk-python
eb419589609efb86bd279cd1733c2a03cdc03680
c0814c5635ddd09e9a20fcb155b62122bee41d33
refs/heads/master
2020-03-21T10:06:34.557781
2018-06-23T21:26:27
2018-06-23T21:26:27
138,434,217
3
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
# coding: utf-8 # flake8: noqa """ Word2Vec APIs Word2Vec.<BR />[Endpoint] https://api.apitore.com/api/8 # noqa: E501 OpenAPI spec version: 1.0.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import # import apis into sdk package from s...
[ "keigoht@gmail.com" ]
keigoht@gmail.com
ed8d86ed590ce25d40ea9e13bcd9f423cfe2d0a5
989272dc1df2c994fa5e6ade63f844320e8def5a
/Using Regular Expression.py
49943b9779543edb06fd89abbf2971eb13c5bd91
[]
no_license
Mohiuddin-LU/Identifying-diabetic-users-in-twitter
b0d10ab5a65cc2e6b50280a190cf1172e8fc0b20
5e7611f0e45bbcfc2bb4d3c401dc6c3d90b0dacb
refs/heads/master
2020-09-07T08:26:16.225955
2020-03-11T14:42:15
2020-03-11T14:42:15
220,722,319
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 10 14:50:05 2020 @author: mabdulq """ import re def accuracy(count0, count1): total = count0+count1 return (count1/total)*100 #reading label and text from a separate files f = open("text.txt", "r") l = open("label.txt", "r") count0 = 0 count1 = 0 for i in range(1...
[ "55677245+mohiuddin02@users.noreply.github.com" ]
55677245+mohiuddin02@users.noreply.github.com
2f50c5d8fbaf7359990e0e5264f56327e41de7cc
0e2a58dce33bb412f19d019b98168d68af9bdeec
/model.py
9d1eb91c29159a77b3e6e6ab01503bc436ef9099
[]
no_license
Naveenprabaharan/Salary_Prediction
0ea2810a177b7c0d3de8f4044970f35d51efa820
c36cf19545667c4e330cb08bb273c45afa74b06a
refs/heads/master
2023-08-23T16:16:10.834688
2021-10-23T15:39:28
2021-10-23T15:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression import pickle # MODEL TRAINING: # dataset = pd.read_csv('__demo\Salary_Data.csv') # X = dataset.iloc[:, :-1].values # y = dataset.iloc[:, -1].va...
[ "you@example.com" ]
you@example.com
9ab304a7e81f8015e16701fc650f207c2421c33b
d5e5c7e2fab03ecdb074435ea7a0d249e0da1514
/sso_auth/authentication.py
476c94c36bcb3001d0ade4be15ab04fd317cf7a9
[]
no_license
th3abhi97/sso_auth
9be8dc116ae7eb57004cf9577a8d3a15953782e5
ad6cd34ef82a1cb3a9318ee875c0260c4808a7a4
refs/heads/master
2022-01-09T04:13:27.700722
2017-10-16T22:35:42
2017-10-16T22:35:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
from rest_framework_sso import claims def create_authorization_payload(session_token, user, **kwargs): return { claims.TOKEN: claims.TOKEN_AUTHORIZATION, claims.SESSION_ID: session_token.pk, claims.USER_ID: user.username, }
[ "abhi3@uw.edu" ]
abhi3@uw.edu
269593f796418ca7ab97be96aa100357de24da16
9622f1a3511ed13c79b109a92e57fed837c3f592
/recursion1/reverse_string.py
ed5be07b56f627e48fa27710f1165e9876c284e4
[]
no_license
elugens/leet-code-python
fb484ea52aa0dbef62d57d31a8a904e367e563f4
53e67e63078d629f19ed9b307b867eed912c1cec
refs/heads/main
2023-08-07T20:58:35.001224
2021-09-20T18:32:25
2021-09-20T18:32:25
408,557,125
1
0
null
null
null
null
UTF-8
Python
false
false
168
py
def reverseString(s): left, right = 0, len(s) - 1 while left < right: s[left], s[right] = s[right], s[left] left, right = left + 1, right - 1
[ "elugens@gmail.com" ]
elugens@gmail.com
e407f871a1483c7da6a8d86f78c3ebf7f0942aeb
d2e822f47779dff3cec81e1c9e71f381a6ceb0f0
/COURS/python/TP3/TP3 Ex2.py
66b3a89b0c21ad0ebdee99bde9ba26dd50bd92d8
[]
no_license
BrandidiCH4O4/Code-des-cours
fe019ba211785ade42d54fc1238d4944bb178373
ac9eb6bf9042f2ceaca5e8e5a6de49848395bffb
refs/heads/main
2023-01-21T02:03:51.412532
2020-12-02T13:41:19
2020-12-02T13:41:19
309,106,429
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
"""Ex 2-- Travail avec des chaînes""" ####################################################################################### #1: phrase=input("Entrer une phrase: ") lettre1=input("Entrer une première lettre: ") lettre2=input("Entrer une seconde lettre: ") x=0 y=0 for ch in phrase: if ch==lettre1: ...
[ "noreply@github.com" ]
BrandidiCH4O4.noreply@github.com
33ca4b9212fc1ec9f22bed0a9e440b4ae4f4f446
8338a6e2ae38b81baa0616eab9327b80a8a24b74
/onlinelda/json_handler/jsonify.py
eaae24af162baeeb65916fef21622fc12354226a
[]
no_license
LeandroOrdonez/Topicalizer
0b95f7b05d3e608e2f71e0ead44db591f0339299
62407827030d1e107ba454a0d4c1363da993d939
refs/heads/master
2021-01-19T14:56:28.275086
2014-09-27T03:04:32
2014-09-27T03:04:32
11,018,828
0
0
null
null
null
null
UTF-8
Python
false
false
4,548
py
#!/usr/bin/python # jsonify.py: Generates a JSON file from the per-document topic # distribution fitted by onlineldavb.py # # Copyright (C) 2013 Leandro Ordonez # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free So...
[ "leandro.ordonez.ante@gmail.com" ]
leandro.ordonez.ante@gmail.com
82a8b3eab92e0cf6cf8a43a66206a1eef88a20d0
2212a32833776a5d5d2164d8efd11bd18bd3f768
/tf_agents/networks/sequential_test.py
001323efb5ecede3876c8fdbfa391b5b484a47d9
[ "Apache-2.0" ]
permissive
tensorflow/agents
f39805fb98ef9af712dcaff3ba49e1ac6d42804b
eca1093d3a047e538f17f6ab92ab4d8144284f23
refs/heads/master
2023-08-14T04:56:30.774797
2023-08-02T17:43:44
2023-08-02T17:44:09
157,936,206
2,755
848
Apache-2.0
2023-07-26T02:35:32
2018-11-17T00:29:12
Python
UTF-8
Python
false
false
9,811
py
# coding=utf-8 # Copyright 2020 The TF-Agents Authors. # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
143f92c1451594cde84b625fb24f6ce60b314439
e7495daa51d48087da2cb1fb81e917d4923645e0
/src/control_app (stable)/venv/bin/f2py
01341ca47ad253e7725511c52003d92451b51ecf
[]
no_license
sebastiandlc/UCF-Duct-Inspection-Bot
a200a103b463cc40f1a31e5ff447bbd3a894d56d
26499cccf3be393c7ff523a821ecbf84ca9941a6
refs/heads/main
2023-08-11T05:15:04.861545
2021-10-01T20:35:05
2021-10-01T20:35:05
412,609,020
0
0
null
null
null
null
UTF-8
Python
false
false
450
#!/home/spiderbotgold/SeniorDesignSpiderBot/catkin_ws/src/robot_gui_bridge/gui/venv/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'numpy==1.17.2','console_scripts','f2py' __requires__ = 'numpy==1.17.2' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-sc...
[ "sebastian.dlc@outlook.com" ]
sebastian.dlc@outlook.com
abf95e0dd4723e91a880d13b55defe3ee4660537
241579b4dba7e87bb5c3766da59b9f7bc796711e
/my_answers.py
95736b80d4c7f236b394940a2d4c8e70b36a1e9a
[]
no_license
jmuras/bike-sharing
beac76075157391e9db352165a61f71d00513079
e4ec3dac9488710be3efc21eee169d0ee424279f
refs/heads/master
2021-01-04T22:11:37.182253
2020-02-15T20:07:46
2020-02-15T20:07:46
240,780,021
0
0
null
null
null
null
UTF-8
Python
false
false
5,982
py
import numpy as np class NeuralNetwork(object): def __init__(self, input_nodes, hidden_nodes, output_nodes, learning_rate): # Set number of nodes in input, hidden and output layers. self.input_nodes = input_nodes self.hidden_nodes = hidden_nodes self.output_nodes = output_nodes ...
[ "noreply@github.com" ]
jmuras.noreply@github.com
d973653f84166354990b4df25cb162438aa56b9e
ed9b286cc1fba177abae3449540e95cde558b7e3
/tests/unit/test_logging.py
57a6cff2087deaf7e117e341b0311904534212d9
[ "Apache-2.0" ]
permissive
AndrewNg/anchore
e706f0a0c47e298be3295d1aa6d167ec58788cd2
308e91881be65dd546dbfc79b9d3982b501252a8
refs/heads/master
2020-09-29T04:58:03.114023
2019-12-09T20:07:08
2019-12-09T20:07:08
226,957,427
0
0
Apache-2.0
2019-12-09T20:06:16
2019-12-09T20:06:15
null
UTF-8
Python
false
false
2,428
py
import logging import unittest import anchore.cli.logs import anchore.cli.common import anchore.util class TestLogging (unittest.TestCase): @staticmethod def do_generic(some_logger, name=None): assert isinstance(some_logger, logging.Logger) some_logger.debug('debug message - ' + name) ...
[ "nurmi@anchore.com" ]
nurmi@anchore.com
f66ea93a627b6da3eb08a72f0648757437501aaf
b06497b1d7cb19c03572e48a71b663185134b41b
/電子辭典client.py
d5b5ccfe516abdd9b45a9c6f77b95104addcaf43
[]
no_license
wangdizzy/dictionary
b88f0e77adbbe1e96cd2ea77ac5ee1279eecdc57
e64f43532b38af04357a4caac8e3d9aa30fe5e80
refs/heads/master
2020-04-17T11:11:57.153416
2019-01-19T09:54:08
2019-01-19T09:54:08
166,531,368
0
0
null
null
null
null
UTF-8
Python
false
false
3,511
py
import socket import sys import os import signal import time import pymysql #發送連接請求 def main(): HOST = sys.argv[1] PORT = int(sys.argv[2]) s = socket.socket() s.connect((HOST,PORT)) while True: print(''' ============歡迎使用============ | 1.註冊 2.登入 3.退出 | ...
[ "kw65045566@gmail.com" ]
kw65045566@gmail.com
3f1fb4bbc6d2b5185a78deac4d61e6f99e71d675
6023b767f104d51288fed3e872777f4b974f083d
/4948.py
a1c036c2b0386239e0cdf05b50457a56ce356411
[]
no_license
andyjung2104/BOJ-source-codes
daff7b804469473b898fb58500a1c8cff542b52e
a97b5e2b4bfb6d26fac67bb94d3d259836d875d3
refs/heads/main
2023-07-19T02:30:13.806978
2021-09-13T01:03:06
2021-09-13T01:03:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
import sys def pri(n): sieve=[True]*n m=int(n**.5) for j in range(4,n,2): sieve[j]=False for i in range(3,m+1,2): if sieve[i]: for j in range(2*i,n,i): sieve[j]=False sieve[0]=False sieve[1]=False return sieve a=[] while True: n=...
[ "noreply@github.com" ]
andyjung2104.noreply@github.com
630a17eceb74a3892bd59ab00b61f09ff63f75c5
949ebd7bc2ab1526b3d535def4c90c80fab907f0
/Decision_Tree_Classification/decision_tree_classification_f1score.py
543282a5320bd6834cdfb946ee193307187f8799
[]
no_license
mbhushan/ml
1c5c0d79f56dbc374f5163a032900da14ca5bc58
89441760c489bb265339bcdcbe975888686fc8a5
refs/heads/master
2021-05-15T05:31:47.801454
2018-05-12T17:34:23
2018-05-12T17:34:23
116,192,180
0
0
null
null
null
null
UTF-8
Python
false
false
3,358
py
# Decision Tree Classification # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Social_Network_Ads.csv') X = dataset.iloc[:, [2, 3]].values y = dataset.iloc[:, 4].values # Splitting the dataset into the Training set and Te...
[ "manibhushan.cs@gmail.com" ]
manibhushan.cs@gmail.com
8e47ffdb9a7ff9e64f74027eb4f68986a2bc1daa
712a0540264285214915e9fbd11c1d569622388b
/src/testFindAppAPI.py
49db3cefd7f05cfccee98fc8ba38854769aaed50
[]
no_license
helloluzhengfei/unitestAPI
ebd7c940aaa78024d538b2aee02609562588e225
4980104a260eefb02bc109e73a1540f8dcf3b54d
refs/heads/master
2021-01-11T20:54:02.137663
2017-01-18T07:25:47
2017-01-18T07:25:47
79,206,416
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
#coding=GBK import unittest from testFindApp import testFindApp if __name__ == '__main__': #unittest.main() suite = unittest.TestLoader().loadTestsFromTestCase(testFindApp) unittest.TextTestRunner(verbosity=2).run(suite)
[ "1101113045@qq.com" ]
1101113045@qq.com
d5d172753e17d1517f9584944e14c6b55bd48f89
69aebd774103a7eccbd2a175002f3dda15734c5e
/result/server.py
e74460e3e49f79a49d096dc71c8dccff2a15e4b2
[]
no_license
AimeTPGM/BackendAPIsGenerator
b90c855ba852325e157837fe8da0f635dff3222c
6843894e535c53cd92750c31b202922e5239d50a
refs/heads/master
2021-01-02T22:49:22.821832
2017-10-11T15:54:42
2017-10-11T15:54:42
99,402,976
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
from flask import Flask app = Flask(__name__) ########## # Description: # Req: get # Params: # Return: ########## @app.route("/test") def test() return ########## # Description: # Req: post # Params: # Return: ########## @app.route("/lol") def lol() return if __name__ == "__main__": app.run(host='0.0.0.0',por...
[ "aim.ske09@gmail.com" ]
aim.ske09@gmail.com
8cdb24abd262545c7c71d44a9a66849c7c8fa418
8142f6ef075773be82e34d181d89ce07e6547139
/api/database/migrations/0008_comment.py
5054f0f1aa5f92463295cbfd9975df9b191c18ac
[]
no_license
Dazhuzhu-github/ASTA_website
686e532681b9d4a332e152b728ead6fc758a932b
0de1914f1b3a5b274860e52e34ac5170f63c4088
refs/heads/master
2023-03-23T00:18:32.706136
2020-10-11T16:41:42
2020-10-11T16:41:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
# Generated by Django 3.0.2 on 2020-08-12 13:08 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('database', '0007_auto_20200812_1703'), ] operations = [ migrations.CreateM...
[ "suikasxt@gmail.com" ]
suikasxt@gmail.com
66e136cb864afc7b488c438d5291b80ea8ba357f
1ba81f525d5e743dec31b9f8d9ffa29d59db38db
/manage.py
80655c30fd495f7c62b912dcb614d1289a2ea543
[]
no_license
apricotdonut/ConUHacks-text-recognition-server
2dda327d12d8ac25a22e9957e2bd3d8661122040
425a80bbfdb50da6c38711cc6feb6fe38266e76d
refs/heads/master
2022-12-25T01:26:34.931228
2020-01-26T18:54:54
2020-01-26T18:54:54
236,197,189
0
2
null
2022-12-11T21:59:15
2020-01-25T16:37:52
Python
UTF-8
Python
false
false
628
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', 'NLServer.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impor...
[ "robbie.knowles@ucc.on.ca" ]
robbie.knowles@ucc.on.ca
7c7f7d2371dc7a44fc32612820e0a7fc07035ce6
b068787bc14c2963a9035abdc17850b6d656f59c
/lib_communication/testCommunication.py
f34d2495b7a789f08e96a67cda2ef1f4d192cd5e
[]
no_license
dariodotti/ICT4LIFE_ABD_indoor
b1f8f0b57b0c0fddf7d17d80db4be9b97f8c2158
c1a32a5eeb5e00ac22121ae87eac540eb58319fb
refs/heads/master
2021-07-09T15:49:49.738915
2020-09-19T10:56:15
2020-09-19T10:56:15
74,750,804
0
1
null
2018-07-02T08:56:10
2016-11-25T10:54:51
Python
UTF-8
Python
false
false
444
py
from communication.communication import Communication from communication.domain.messageValueObject import MessageVO if __name__ == '__main__': try: message_content = MessageVO(title='test', text="prueba envio", uuid_to="d20d7fc0-c0eb-4d49-8551-745bc149594e", priority="HIGH")...
[ "dario.dotti@maastrichtuniversity.nl" ]
dario.dotti@maastrichtuniversity.nl
f2828219a52b0c680cb628ac7cd9cf04db168ac8
91654c7365c42424b57d5c7304f0f7f944cb1ea7
/ballena_custodio/app6.py
03d97957974533c70888cc863447cac61d2a0746
[]
no_license
Antonio2401/t09_ballena.ramos
8d9824a9e1fbd5828f34299aa91759ee2fcd8fb5
966696339446abba4eb7774ebb06827f36c4d14e
refs/heads/master
2020-11-27T03:30:13.230560
2019-12-20T15:34:21
2019-12-20T15:34:21
229,287,697
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
import libreria import os x=int(os.sys.argv[1]) y=int(os.sys.argv[2]) res=libreria.raiz_cuadrada(x,y) print("la raiz cuadrada es :",res)
[ "aballenac@unprg.edu.pe" ]
aballenac@unprg.edu.pe
7cae145eeb1765e1dc1249a7c25c4f9b5a5a80c0
2612f336d667a087823234daf946f09b40d8ca3d
/python/lib/Lib/site-packages/django/utils/formats.py
c23a37cb2b51c0f4fca23725608c0e1326cc71ee
[ "Apache-2.0" ]
permissive
tnorbye/intellij-community
df7f181861fc5c551c02c73df3b00b70ab2dd589
f01cf262fc196bf4dbb99e20cd937dee3705a7b6
refs/heads/master
2021-04-06T06:57:57.974599
2018-03-13T17:37:00
2018-03-13T17:37:00
125,079,130
2
0
Apache-2.0
2018-03-13T16:09:41
2018-03-13T16:09:41
null
UTF-8
Python
false
false
6,513
py
import decimal import datetime from django.conf import settings from django.utils.translation import get_language, to_locale, check_for_language from django.utils.importlib import import_module from django.utils.encoding import smart_str from django.utils import dateformat, numberformat, datetime_safe from django.util...
[ "dmitry.trofimov@jetbrains.com" ]
dmitry.trofimov@jetbrains.com