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
22d6aa526a13757becab9892c6105d5296d8252c
6bf15974e1f3dfcbf0baa3a3d7a36bd912e7dac6
/test/valve_switching_test.py
192b24401b5b9e18d4b322da0652c369a58e9d14
[]
no_license
airpartners/logger
2a717487e83d8e63bff425d6cfd14a7866eee186
c4e0633eeb906eda17993e37108bba9b3eab24eb
refs/heads/master
2023-03-25T19:28:30.993364
2021-03-22T04:19:02
2021-03-22T04:19:02
219,586,683
1
0
null
2021-03-22T04:19:03
2019-11-04T20:06:16
Python
UTF-8
Python
false
false
941
py
#!/usr/bin/env python3 """ Test associated with the three way valve switching functionality. """ import os import sys import time from common import get_config # Grab the dependency from the directory above. sys.path.append(os.path.realpath('..')) from serialdevices import ThreeWayValve def main(): """ Connect...
[ "anushadatar@gmail.com" ]
anushadatar@gmail.com
ec55f88674f05a156e66295d492dc41bf9f0b52a
80c46fe90e79d09c332da4406a65f5a8962ba1fc
/evo/migrations/0002_auto_20170403_0604.py
e04985fa972c25ce8bb45bd158f6dde650e3cf9a
[]
no_license
AkshaySharma-Akay/MyPress
bd747504c6f7c422608c24bd865569b0474f53e1
20436c02b3d773a96a0f4121fcdf9d5da3f6e281
refs/heads/master
2020-05-21T01:53:11.454240
2017-09-03T05:30:44
2017-09-03T05:30:44
84,554,079
1
0
null
null
null
null
UTF-8
Python
false
false
3,272
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-04-03 06:04 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "akshaysharmaak2@gmail.com" ]
akshaysharmaak2@gmail.com
1f4527a5429af7901752e0627b0b3563a636a125
5f79468ef79a53a97cbb965df99c30d5421501c6
/mro/lab4/1/test2.py
68f277d9ffe278e6dd8c878c6ca4c4abe2dd6a7b
[]
no_license
lstrzalk/legacy
d5e61502fd668b8d95df86aff41c76acc859e972
b1c69cfb567cfe641df7e09b0f93d6bf2e9d2f2c
refs/heads/master
2021-09-15T01:57:06.398445
2018-05-23T22:20:22
2018-05-23T22:20:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,284
py
import numpy as np import pylab as pl from sklearn.cluster import KMeans from scipy.spatial import distance from PIL import Image import csv from operator import itemgetter from sklearn.metrics import silhouette_samples, silhouette_score K = 9 H = 195 W = 134 I = 100 def compute_s(i, x, labels, clusters): norm_c...
[ "lukasz.strzalka94@gmail.com" ]
lukasz.strzalka94@gmail.com
ed2aff3a66672c8a682fc5200fdd435cdc11b20a
7386480f7e09101b0518cf1f92b5902726c8816e
/RTMinuit/minuit_html.py
46e3db8756e812009af255ede952105be3242ba4
[]
no_license
mattbellis/RTMinuit
51458bc9fd5a83895eba959c44895826e070741b
d67c35b9aaf904bed278d4ce237cc2e6cf9485dc
refs/heads/master
2020-12-25T03:00:43.769380
2012-05-21T19:09:56
2012-05-21T19:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,872
py
class MinuitHTMLResult: def __init__(self,m): """ :param m: :type m Minuit: """ self.varnames = m.varname self.values = m.values self.errors = m.errors self.mnerrors = m.minos_errors() def _repr_html_(self): tmp = [] header = u"""...
[ "piti118@gmail.com" ]
piti118@gmail.com
c724c4c515fcf1f003976d71c814c9be064e6192
baea5614a5a877af56495ab1d6085b1a3e25b59d
/manage.py
b2507f7c9d8fd56e68df20e15f043bf7058d7996
[]
no_license
awakestarling/ConCon
2da03a34ba6c04537a2f92f305b5175964dc7d21
8239bd2ecd55f80580606a517f3ac913066237d5
refs/heads/master
2016-08-12T02:39:00.690400
2016-02-12T17:51:59
2016-02-12T17:51:59
51,606,072
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "grisha.dp@gmail.com" ]
grisha.dp@gmail.com
de4d019cf164022898f2466c7ffb7d80085142ed
bb150497a05203a718fb3630941231be9e3b6a32
/models/Paddle2ONNX/ocr_v2/main_test.py
5e669c2b5e142253e0524cf4ddc5edf09bee4f17
[]
no_license
PaddlePaddle/PaddleTest
4fb3dec677f0f13f7f1003fd30df748bf0b5940d
bd3790ce72a2a26611b5eda3901651b5a809348f
refs/heads/develop
2023-09-06T04:23:39.181903
2023-09-04T11:17:50
2023-09-04T11:17:50
383,138,186
42
312
null
2023-09-13T11:13:35
2021-07-05T12:44:59
Python
UTF-8
Python
false
false
4,519
py
#!/bin/env python # -*- coding: utf-8 -*- # encoding=utf-8 vi:ts=4:sw=4:expandtab:ft=python """ main test """ import os import shutil import platform class OcrV2Test(object): """ test Ocr to onnx tipc """ def __init__(self): if os.path.exists("tipc_models_url_PaddleOCR_latest.txt"): ...
[ "825276847@qq.com" ]
825276847@qq.com
c7ff25f747ac1596f2d29e4e4dd0a1f2d59d67ec
c3ed98ef5faf0b7a9fb9ad4538b07a63d0059baa
/Question 4/Q6.py
578fb4100702ea4333e4111cceca43a8abdc1200
[]
no_license
ErinRJ/ML_Final
c2228a4e30ec1ff405141dcfb539e0bd790a3b80
478bdd6ec1f456548ef974058b1cb455e58dea09
refs/heads/master
2021-06-13T12:26:08.223406
2020-04-13T17:40:56
2020-04-13T17:40:56
254,434,231
0
0
null
null
null
null
UTF-8
Python
false
false
3,159
py
# which group provided more unified answers to the questions? # go through each question in the group import csv import groupSeparation from statistics import mean group_object = groupSeparation.Groups("../G1.csv", "../G2.csv", "../G3.csv", "../G4.csv") # find g1's average internal agreement g1_highest_values = [] #...
[ "erin.rutkowskijones@uoit.net" ]
erin.rutkowskijones@uoit.net
d7fff55e5019e9289ac54ee81bc8c3b1546d4e16
91a9f5a7afb398f4238527708cbc155dc972cbfa
/data_analysis/third_party_code/rrt.py
081eec2a0241365b13ab63425ad28e696f407a8b
[]
no_license
bddmodelcar/kzpy3.2
cd6f9bf6b7b8b920c79b4ee36c2592b992ae4332
b044b26649b19b240bd580feca20424a237374b1
refs/heads/master
2021-01-19T21:01:58.687712
2017-08-23T22:39:56
2017-08-23T22:39:56
101,243,308
0
1
null
2017-08-24T02:04:50
2017-08-24T02:04:50
null
UTF-8
Python
false
false
1,651
py
#!/usr/bin/env python # rrt.py # This program generates a simple rapidly # exploring random tree (RRT) in a rectangular region. # # Written by Steve LaValle # May 2011 import sys, random, math, pygame from pygame.locals import * from math import sqrt, cos, sin, atan2 # constants XDIM = 640 YDIM = 480 WINSIZE = [XDIM...
[ "karlzipser@berkeley.edu" ]
karlzipser@berkeley.edu
16eec80ce78aa696fd2396c731446151f4389a8b
1811d37ed6474ab7eaeafff3c82d3bb7c0466e3d
/parts/zodiac/zope/interface/tests/test_declarations.py
8bb3d87f13dddd842e81770795fb0b6a5d5c142f
[]
no_license
bernatcortina/zodiac
ed384fe96f6739d841a3a777d10bad4b33fd0e78
aa0ecb2c386fc5b54ff60ba94e0a1bc5a7493f17
refs/heads/master
2021-01-18T14:02:44.978553
2014-02-07T17:33:27
2014-02-07T17:33:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
/Users/Bernat/GitHub/zodiac/eggs/zope.interface-4.0.5-py2.7-macosx-10.9-intel.egg/zope/interface/tests/test_declarations.py
[ "bernatcortina@gmail.com" ]
bernatcortina@gmail.com
e950a96f99338a6581c70f7a239071ec9857cc9a
2876a5a8e7d50d97039b4e63c25f5eaf1cc20808
/src/odontology/person/migrations/0006_remove_patient_reciently_added.py
fa65de12e835d148fed6cd7e7a0620ba29ebeb5c
[ "Apache-2.0" ]
permissive
nanomolina/JP
6fcd01b75d71aa560781d4c0350ff76025f85f92
248a47bced4dac850f85d28968ddf279cd123400
refs/heads/master
2022-11-29T09:31:43.449654
2019-07-16T18:25:20
2019-07-16T18:25:20
51,620,989
2
0
Apache-2.0
2022-11-22T01:11:25
2016-02-12T22:33:24
HTML
UTF-8
Python
false
false
401
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-14 08:24 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('person', '0005_auto_20160214_0517'), ] operations = [ migrations.RemoveField( ...
[ "nanomolinacav@gmail.com" ]
nanomolinacav@gmail.com
ec6f2aa9f46031fe2b4e7abef4c1302d1c1116dd
b4ea052a5c9d9602ac7a3d7c3d341ef13c0f7b64
/tuple.py
9beabaddaeeddf86af319b30c7863c3ff432841a
[]
no_license
iehoshia/math
e74409d68ebd60d8deb1c4a41b0dc0dd96772b94
d9139fd7de15a10230fc3d76c0f57c5f66be66ef
refs/heads/master
2021-06-27T08:37:48.210371
2020-07-05T18:01:48
2020-07-05T18:01:48
221,271,881
0
0
null
2021-03-20T03:08:07
2019-11-12T17:16:35
Python
UTF-8
Python
false
false
137
py
msg = "('UserError', ('El campo de es obligatorio.', ''))" print(type(msg)) ts = eval(msg) print(type(ts)) print(ts[0]) print(ts[1][0])
[ "jepgez@gmail.com" ]
jepgez@gmail.com
536902aa44d7fda7d42026285dc4430c6bd5e55e
e57d7785276053332c633b57f6925c90ad660580
/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2021_04_01_preview/operations/_private_endpoint_connections_operations.py
d2a6e50bd6a44b4f4111b3ebe257923746ea36d5
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
20,701
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
adriananeci.noreply@github.com
8bfee7da88faea73219cb926f1e1b9f55d017bdf
ef9e2c30bed9d792d2c31df7664f2708d0e42e03
/makemigrrations/apps.py
8247153d05a1075e01e5c94df9120896440ac06d
[]
no_license
LandWhale2/lstagram
940c9c6b59c4d9539ea7104e086481f60e5a23c0
dd213a53b02c344384e4c9b13da51377c186807f
refs/heads/master
2020-07-24T18:46:14.397979
2019-11-27T05:22:16
2019-11-27T05:22:16
208,011,695
2
0
null
2020-06-05T23:00:57
2019-09-12T09:19:52
Python
UTF-8
Python
false
false
105
py
from django.apps import AppConfig class MakemigrrationsConfig(AppConfig): name = 'makemigrrations'
[ "landwhale@gimhyeogjin-ui-MacBookPro.local" ]
landwhale@gimhyeogjin-ui-MacBookPro.local
1a63b9733bef8ee25c2023b0a6329fc3fb9f34ae
f8be4b22f3ebfaa2831b5cff9be11ad2e28a0ee7
/Utils/local_to_utc.py
ff9af0ef038340d801b31be9540e1c512235c2c8
[]
no_license
eulertech/ADCIRC
7dd0ab260a0029930e862da6ebf428b46017e1f9
39b37165ea9cc2812705310786fdb711b452cdb3
refs/heads/master
2021-01-12T13:56:55.973002
2016-09-30T13:34:26
2016-09-30T13:34:26
68,929,877
2
3
null
null
null
null
UTF-8
Python
false
false
298
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 1 15:50:57 2016 e.g. local_to_utc(t.timetuple()) @author: liang.kuang """ import time,calendar import datetime def local_to_utc(t_tuple): secs = time.mktime(t_tuple) utcStruct = time.gmtime(secs) return datetime.datetime(*utcStruct[:6])
[ "kuangliangj@gmail.com" ]
kuangliangj@gmail.com
520b57931742209f0e016a0675198da10e88eb0f
f18cac85984be0584753f97e80df19b9475861ff
/Python/caiji/baidu_content.py
bbcf9c37a6cc3843f28e82e95b65ed30e97d8d0b
[]
no_license
1123sd/wangfeng
5f96ae5e5fe530ff10e50433db8e54d82dba89c6
b5e672297356fdbef00cd9b36aacd5f893f42fbe
refs/heads/master
2020-07-05T05:07:22.870757
2016-12-03T03:08:13
2016-12-03T03:10:24
73,534,693
0
0
null
null
null
null
UTF-8
Python
false
false
1,755
py
#!E:\Python\python.exe # -*- coding: UTF-8 -*- print "Content-type:text/html" print import urllib import urllib2 import re import MySQLdb class NewsContent: #init def __init__(self): self.url = "http://news.baidu.com/" #convert div to '' def tranTags(self, x): pattern =...
[ "13522426925@163.com" ]
13522426925@163.com
ad8d8422fd334475ada637f00f4d565b00ee1313
66f46346345363b12406169c09b3b6027dc076b9
/models/relations.py
e870b7b99ce09eebef955982ea9f27df988354bc
[]
no_license
anioki/RESTful_API
385c057787ee255659e99ec66717c5c1cb849116
8962ec48f28641c8050ccc7bc01f4e5edd117634
refs/heads/main
2023-06-08T11:19:25.895499
2021-06-19T10:24:32
2021-06-19T10:24:32
377,804,620
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
from core.__init__ import db # Table name -> 'association' # Columns: 'actor_id' -> db.Integer, db.ForeignKey -> 'actors.id', primary_key = True # 'movie_id' -> db.Integer, db.ForeignKey -> 'movies.id', primary_key = True association = db.Table('association', db.Column('actor_id', db.Integer, db.For...
[ "noreply@github.com" ]
anioki.noreply@github.com
742633558266fa37b27eae47482cb9eb49f487a8
619acd4f6bfe9248d05573446799a37cadfd6ed9
/AnisulIslamPython/PythonCode/relational operator1.py
c4a04aabe669a4700f0626e80e8df3593adf1c48
[]
no_license
Wahid259/Anisu-lslam
d959a1790fbc24040e1257803057d4c614ee5022
acba827e6a5226f962362de927d78ac756e62db7
refs/heads/master
2023-01-06T14:37:41.739499
2020-10-28T12:26:35
2020-10-28T12:26:35
308,007,466
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
print(30 > 20) print(30 < 20) print(30 >= 20) print(30 <= 20) print(30 == 20) print(30 != 20) print("Wahid"=="Wahid") print("Wahid"=="Setu")
[ "wahid259raj@gmail.com" ]
wahid259raj@gmail.com
b13b05f8a9aec681cfa801b10013bd7fa71dbd91
94f90a747dbc8a6bd8f06125261f2cd8bedee7b3
/InsertarDepartamento.py
d7126acd58c7850e6a5e71dc69a1207f23c216ca
[]
no_license
TudroVilin/PYTHON
f0b1e1b1e90bf6a2dfb6b57f94bcbb4a356cbb8b
cd1b3aadd8b8354b5fcf57eb0fff7054e7b198bd
refs/heads/master
2023-08-25T23:31:18.787632
2021-11-02T17:03:07
2021-11-02T17:03:07
419,002,825
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
import pyodbc servidor="LOCALHOST\SQLEXPRESS" bbdd="HOSPITAL" usuario="SA" password="azure" conexion=pyodbc.connect("Driver={ODBC Driver 17 for SQL Server}; Server="+servidor +"; DATABASE="+bbdd+";UID="+usuario+";PWD="+password) #Creamos el cursor cursor=conexion.cursor() sql="insert into dept values (66,'PROGRAMACION'...
[ "tudelavillafuerte@gmail.com" ]
tudelavillafuerte@gmail.com
e819121788f99a659085bc6c1071a7ca82badf97
50651dcad3662cf37ec4545af9aa51cfc6d4d1fa
/web/models.py
816d207a485528c7c048cea77998093a0815474f
[]
no_license
algot/python_skillbox_django
1f6922e561f2a7867f3b2cd512b623cf0682bbb4
7a68402ddb38425e79b6d5c7e50940464d6be165
refs/heads/master
2022-09-12T06:01:45.596346
2020-05-29T11:17:58
2020-05-29T11:17:58
266,778,743
0
0
null
2020-05-25T13:10:30
2020-05-25T12:53:50
Python
UTF-8
Python
false
false
296
py
from django.db import models class Article(models.Model): name = models.CharField(max_length=120) date = models.DateTimeField() text = models.TextField() class Comment(models.Model): article = models.ForeignKey(Article, on_delete=models.CASCADE) text = models.TextField()
[ "algot@ua.fm" ]
algot@ua.fm
f22ed5b0f8b9bbd13ec0b4821ebdc3e00954b0c3
85ba0cb18acc854d08397bb21c9a3fab143cf938
/sequence_labeling/slot_filling/save_model.py
c257bb73731fb6390cffc4832ebde85df40e87e8
[]
no_license
WustChuiChui/research
5eb2006a4febfd8db5a470cd64288fdb990bbc6b
69156370cc78d90984b7768f87c83b3486ec86b3
refs/heads/master
2020-04-18T06:42:13.351765
2019-05-30T10:39:52
2019-05-30T10:39:52
167,333,065
17
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
import os,sys,types import tensorflow as tf import traceback import argparse def save_model(checkpoint_prefix, output_node): with tf.Session() as sess: sess.run(tf.global_variables_initializer()) restore_saver = tf.train.import_meta_graph(checkpoint_prefix + '.meta') restore_saver.restore...
[ "wangjia8@xiaomi.com" ]
wangjia8@xiaomi.com
9fa7a19af8694cdd3a241a7f92a229b96883aa49
fc9c76f24487ded1d8be0f6fdb9aee13ab47bc1b
/frontend/sitemaps.py
aec0811f8cea2058da3b2ffdd8a306afc5679a67
[]
no_license
AllexxT/slmx
a47b56eaa93f6a07d4c0d79a55c91b6ee6320cb2
2722a2c068dbea3a3098c86ac24b3ad392b9e1be
refs/heads/master
2023-01-21T01:04:35.069742
2020-12-07T19:44:29
2020-12-07T19:44:29
294,269,829
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
from django.contrib.sitemaps import Sitemap from django.urls import reverse from catalog.models import Product class ProductSitemap(Sitemap): changefreq = 'weekly' priority = 0.9 def items(self): return Product.objects.all() class StaticSitemap(Sitemap): priority = 0.6 changefreq = 'wee...
[ "sanya92t@gmail.com" ]
sanya92t@gmail.com
4547b82e8b54d1cfd5b58f4c091505c9a500ca65
50e0ef2eb3a5fdf8f0d99e8235be3c67fd768cd6
/p2_1184386/antagonist.py
e4e33a01c0c7008b4615a3506ec7fd9472fd285a
[]
no_license
touqir14/Nexus_Game
537818be2c02f343d155fcdd7f270b5d314a3701
b6db5ca1ae04035ebeb016dd0a5bc59bf6aaa24f
refs/heads/master
2021-01-10T02:45:25.138201
2015-12-07T20:44:32
2015-12-07T20:44:32
47,577,499
0
0
null
null
null
null
UTF-8
Python
false
false
2,391
py
from pygame.sprite import GroupSingle import parameters as p import pygame from movable import Movable from odor import OdorSource import search_algorithms class Antagonist(Movable): """ RAWRRR!!!! all i want to do is eat the protagonist!! i will chase it forever! """ # give the antagonist an image ...
[ "mkjorgen2@gmail.com" ]
mkjorgen2@gmail.com
d7416113f8194d3a581290598276a247209b4c44
f0b9eb17c9701c2799f4e63ed16d0a155e3cf36d
/Week-1/advantage.py
e527363fa973c2451b0fb09b309ea4fffe77e6c9
[]
no_license
quannar178/python-datascientise
ced2ec2912bc7b1795193af2914689a75646b0ea
de98d298aa1466a4247fb25b605c0c91543bc2c6
refs/heads/master
2023-01-15T15:18:11.322359
2020-11-24T01:44:15
2020-11-24T01:44:15
312,523,991
0
0
null
null
null
null
UTF-8
Python
false
false
3,742
py
# Tạo 1 ứng dụng GUI đơn giản bằng PyQT hoặc tkinter. # Phần mềm thay vì nhận 2 tham số thì dùng GUI để chọn ảnh và vị trí lưu ảnh. import sys import os import cv2 from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class window(QWidget): def __init__(self, parent=None): su...
[ "quannar178" ]
quannar178
3dfdc013ca961e5a9e9ab75dde42733686e27fa5
c555a7cd050ac53969d236c487eacc32ffcc05c0
/lx-cities-manager/app.py
a7ed6921ce7bbb93066d463d9151d45b4b2973ad
[]
no_license
sherif-med/lx_cities_front
d1bfb1b68b01fc976e17f8b9b888911181a5ea6d
b84c700f02a243b6690e2861ef9bbb5b660f978d
refs/heads/master
2021-07-01T22:35:44.192262
2019-12-24T16:13:22
2019-12-24T16:13:22
229,089,705
0
0
null
2021-04-30T21:53:13
2019-12-19T15:58:34
Python
UTF-8
Python
false
false
3,237
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Dec 23 09:58:27 2019 @author: cherif """ from session import db_session, base_classes from formsModels import CityForm, ClassFeatureForm, ImageFileForm from flask import Flask, url_for, render_template, redirect, jsonify, request app = Flask(__name__,...
[ "macherif@luxcarta.com" ]
macherif@luxcarta.com
3cf8217474e271c55596b00c0d3f52313bb41882
ee35b894fcc423c1557f3c9bf252eba011e38bae
/moduleAcquisition/file_downloader.py
86f4cfc72c1655488d8f0be4557eeefd5006f092
[]
no_license
djiby26/covid19Project
081d2b4285eb0b9ab641a2f0ecfa172fd41433ca
d132fb0e6e1919e8e347d9a9d06b079e0ba3f6d1
refs/heads/master
2023-05-17T14:46:34.904657
2021-06-08T15:47:06
2021-06-08T15:47:06
368,955,716
0
1
null
2021-06-08T15:47:07
2021-05-19T17:51:50
Python
UTF-8
Python
false
false
2,320
py
import re import os import requests from urllib.request import urlopen, Request from bs4 import BeautifulSoup url1 = "https://sante.sec.gouv.sn/taxonomy/term/14" url2 = "https://sante.sec.gouv.sn/taxonomy/term/14?page=" def run_acq_code(): def getSoup(link): req = Request(link, headers={'User-Agent': 'M...
[ "38563985+djiby26@users.noreply.github.com" ]
38563985+djiby26@users.noreply.github.com
74504953ab5c6d97f32ba1e02f92914763d69f40
f574194e2f7419ed61871ac4aa3bf96d67d13214
/utils/metrics.py
8b0e1a1e0ad2db0d03baed9b88aba6725a811c8a
[]
no_license
erzhuoshao/DeepFlowGen
71d3f8c3ff77e56498adfbbfeeabc443266dccfa
fbe92cebd5eaae0bc22f5910a49496cde9443cba
refs/heads/main
2023-07-08T13:11:31.180187
2021-08-14T09:50:03
2021-08-14T09:50:03
395,955,556
3
0
null
null
null
null
UTF-8
Python
false
false
346
py
import numpy as np def get_MSE(pred, real): return np.mean(np.power(real - pred, 2)) def get_RMSE(pred, real): return np.sqrt(np.mean(np.power(real - pred, 2))) def get_MAE(pred, real): return np.mean(np.abs(real - pred)) def get_NRMSE(pred, real): return np.sqrt(np.mean(np.power(real - pred, 2)...
[ "shaoerzhuo@gmail.com" ]
shaoerzhuo@gmail.com
06b152174987680cac7ba9155c4cce368e1036a7
f505dffef3921994621f9003db9dcae05968a768
/xici.py
60fd3a82060fa92ddb9ca8e78ac9c7a024c8d361
[]
no_license
coolhayy1983/simpleproxy
9c8a9b5a781907c0a20c54c55ed4eb16eb76936b
b03e97b9eced2ba6f7884d718156e5e2cede24d3
refs/heads/master
2020-05-19T10:05:33.013242
2017-11-15T08:20:51
2017-11-15T08:20:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
import requests import re def xici(): url = 'http://www.xicidaili.com/nn/' user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" headers = {'User-Agent': user_agent} page = requests.get(url, headers=headers) pattern = re.compile('<tr class=.*?>.*?<td class="country">.*?</td>.*?<td>(.*?)</td>.*?...
[ "zone.cyc@gmail.com" ]
zone.cyc@gmail.com
159af85cf9300b29c3bc27913577e81b4240eb06
2b5a55d38732fbc927583fdda03fd2183eaaac43
/assignment3/util.py
9e2f99fc37f75d21757eb2a58db8579311e4d18d
[]
no_license
Madscba/cs4670
282cb299b9e853f18cce4ea682d077aa7d71b4de
b4fb49a050323d7aef2977ab7f4fe636357a20c0
refs/heads/master
2023-04-14T04:36:12.666157
2021-05-07T20:34:45
2021-05-07T20:34:45
341,425,510
0
0
null
null
null
null
UTF-8
Python
false
false
6,378
py
import numpy as np from math import floor import cv2 import time from scipy.sparse import csr_matrix from student import compute_photometric_stereo_impl, pyrup_impl, \ pyrdown_impl, project_impl, unproject_corners_impl, \ preprocess_ncc_impl, compute_ncc_impl def rerendering_error(lights, images, albedo, norma...
[ "iainpile@pop-os.localdomain" ]
iainpile@pop-os.localdomain
8901d9ed4e11f85384994fcb6d8c5f74096f8e02
9f5cdbfa966f9292c0ba4dc903e0b6ac55d692a3
/test servo control.py
83fe0e3d0bb70bfef19606507c6c11ba23d7ea1b
[]
no_license
ArkimCity/Smart-Factory-Monitoring-System
7b9f4d79df693d90460f0f29474daf0d5a9d0626
b77c16e52a57f355a3cb9181c0b0b8a538628953
refs/heads/main
2023-02-09T03:30:36.705716
2021-01-06T02:42:45
2021-01-06T02:42:45
346,209,772
1
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
import time import paho.mqtt.client as mqtt import RPi.GPIO as GPIO #callback which is executed when get CONNTACK response from server def on_connect(client, userdata, flags, rc): print("connected with result code "+str(rc)) client.subscribe("/servo") #subscribe "nodemcu" #callback which is executed when ...
[ "0712023@hanmail.net" ]
0712023@hanmail.net
4726a9648318951223d55b1babbd883a04e24c53
c9cfa876a88431f86120bd8a5347c9ae08d4d128
/cracking-codes-with-python/ch4/reverseCipher.py
6b0650e9273c128a53cc550a86595d14a7bb48a7
[]
no_license
mike-boya/learning-python
fadcddef6a6b51ef58c189327ae2a4b84c55030e
12e955407445c5a5b0c60e636f60ce75b52d4ec7
refs/heads/master
2021-05-05T20:43:04.202598
2018-02-10T07:13:26
2018-02-10T07:13:26
108,323,178
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
# Reverse Cipher # https://www.nostarch.com/crackingcodes (BSD Licensed) message = input('Enter Message: ') translated = '' i = len(message) - 1 while i >= 0: translated = translated + message[i] i = i - 1 print(translated)
[ "mikeboya35@gmail.com" ]
mikeboya35@gmail.com
052892718032f785bcd5f17fce9cfd9bc7fce298
c0c8439a8713c6e10ea9674d6034ecfff9f866de
/stooge.py
4b7ad8d2a8c98fe2f84e48c2b8b712f905b8d10a
[]
no_license
SmugZombie/Stooge
dfd5d3a7604300485927f263f25f0552d69e8ea4
d124ac5da0147ab52b16337486f623b7233cf4c8
refs/heads/master
2020-04-10T17:35:23.589201
2016-04-03T22:03:27
2016-04-03T22:03:27
51,340,796
0
0
null
null
null
null
UTF-8
Python
false
false
19,926
py
#!/usr/bin/env python # stooge.py - "one who plays a subordinate or compliant role to a principal" # Ron Egli Version="0.8.4" # github.com/smugzombie - stooge.us # Python Imports import json; import subprocess; import pprint; import argparse; import commands; import os; import re; import textwrap; ...
[ "ron@r-egli.com" ]
ron@r-egli.com
c86506e308ee5fa48f892a90389f04792c50600d
51388f681ef9b66ae177d4d402a503edae37f0d1
/api/data_refinery_api/management/commands/test_post_downloads_summary.py
f7b00b8984ee56dc693967d627f2efb6bacc97d4
[ "BSD-3-Clause" ]
permissive
aakash10292/refinebio
cda0dedabc53340a702ece40fafeac71312d227e
0f704ae7dd63bd2c5f9e2abca1e5002ec285f26d
refs/heads/master
2023-06-05T14:06:33.534957
2021-07-01T18:50:53
2021-07-01T18:50:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,651
py
from datetime import timedelta from unittest.mock import patch from django.test import TestCase from django.utils import timezone from data_refinery_api.management.commands.post_downloads_summary import post_downloads_summary from data_refinery_common.models import Dataset, DatasetAnnotation class DownloadsPostTest...
[ "kurt.wheeler91@gmail.com" ]
kurt.wheeler91@gmail.com
0c3beac9eefaaf965798302a4ea188b2a4c813c0
4ef1ef00a39d92dddd7d5dbeadb4d42fb136e25a
/helper.py
86473fd3a8c4d10e5d03be14a2dd73796223943c
[]
no_license
varnika2212/second
4726e828b7a1774a484f2dab26beaaf29e9e479c
afd2ec767bb1252034ac60e442d0faafb5c1da46
refs/heads/master
2023-04-01T09:49:38.162836
2021-04-08T18:29:23
2021-04-08T18:29:23
355,997,983
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
from datetime import datetime def validate(date_text): try: datetime.strptime(date_text,'%Y-%m-%dT%H:%M:%S%z') except ValueError: return False return True
[ "vdg2212@gmail.com" ]
vdg2212@gmail.com
8695258bcb0994b02a1fc3dd323032a6d297e174
012ee09ae7f2405e2a9580442ea601fd32c9a40c
/ex45.py
15b02c1de8b9cf2c59d005f04d3546b7555365db
[]
no_license
itpropaul/LearnPythonTheHardWay
d430e71dd79e7415a9ff366b0deadc58b12520e3
fe2c468b5081ddd622a8ae0c002725a54669c6de
refs/heads/master
2021-08-30T01:13:11.281222
2017-12-15T13:54:48
2017-12-15T13:54:48
104,492,752
0
0
null
null
null
null
UTF-8
Python
false
false
9,852
py
#modules from sys import exit import random import pickle import os import time def new_line(): print "\n" ################# G A M E D E S C R I P T I O N #################################### def game_description(): """This is a Memory Game. The Goals of this game are as follows: -Ability ...
[ "noreply@github.com" ]
itpropaul.noreply@github.com
714207687c2bdbd72d7b330ff96e59d45ee6f3a8
d1d7d73e50e7ed960d95cd927b092056a57c5082
/setup.py
6d559b5dc2a041fcf4cad6656cf8730943f5f1ec
[ "MIT" ]
permissive
gcwngo/RainbowSixSiege-Python-API
05c2c30db9d04d8da217c9424d9ba51946c5c5a0
ca3ed624bfab65693be4e820dd5aa1129d14fc49
refs/heads/master
2020-03-19T17:42:25.809468
2018-05-15T17:35:33
2018-05-15T17:35:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages import re, os requirements = [] with open('requirements.txt') as f: requirements = f.read().splitlines() version = '0.6.0' readme = '' with open('README.md') as f: readme = f.read() setup(name='r6sapi', author='billyoyo', url='ht...
[ "billyoyo@hotmail.co.uk" ]
billyoyo@hotmail.co.uk
f51b3ed91be8dcda6902f43bc031798a9fae3127
e51a1b2d7be7c23ce6321c8a143d6dcc0a892af1
/NodeClassification/ogbn-arxiv/toy.py
c30fb3aefb9b82c4ae2fa33a1f6299b5d6cda08f
[]
no_license
ZongyueQin/CS249
f2b73effcead49afbc7a839dfab1123dba46e2f4
a9b25bb1fa7964dc54ba18394ed4cc7f0fc330c5
refs/heads/main
2023-04-20T22:10:40.443357
2021-05-10T07:07:21
2021-05-10T07:07:21
345,286,535
2
1
null
null
null
null
UTF-8
Python
false
false
723
py
import os import numpy as np from ogb.nodeproppred import PygNodePropPredDataset from deeprobust.graph.data import Dataset, Dpr2Pyg, Pyg2Dpr import torch def idx2mask(idx, num_nodes): mask = np.zeros([num_nodes], dtype=np.bool_) mask[idx] = True return torch.tensor(mask, dtype=torch.bool) dataset = PygNod...
[ "qinzongyue@cs.ucla.edu" ]
qinzongyue@cs.ucla.edu
e6208c4eb4e3b7b6793547c8155874970c1be06b
926001c8b019baaa1de921f04fef9f156108aec3
/main_qa.py
3b8fce7f9711b6ee413283205253503e738fdbef
[]
no_license
kezhende/upload_KBQA
3adf7f29f00eb5643029a58bad0425217ea56968
fc9d58e5cac3d8c4975fe101f865b427391b739c
refs/heads/master
2020-06-23T09:08:33.196473
2019-05-07T00:47:47
2019-05-07T00:47:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,219
py
#! -*- coding:utf-8 -*- import math import pickle import jieba import gensim import pandas as pd import jieba.analyse import jieba.posseg # from KBQA_small_data_version1.simaple_kbqa_1.hellp_ltp import * from stanfordcorenlp import StanfordCoreNLP from KBQA_small_data_version1.kbqa.connectSQLServer import con...
[ "15870027641@163.com" ]
15870027641@163.com
bc824143660702ba1f130ff8889849198f2a58f4
b47d2af23df7ed334a96e41589bfc0b48429d5f7
/contact/__init__.py
68b6c3ad1ed669c7373f3bf3710337d79750b7f9
[]
no_license
AlfiyaZi/my_oscar_shop_alfa
ec31cb0b519ed6d53a470b7f5f0185e4a34bfba7
0e2888b0ff54c857c0ef54acf2e0911e333394be
refs/heads/master
2020-11-26T21:11:00.283358
2015-06-22T15:22:57
2015-06-22T15:22:57
37,067,361
1
0
null
null
null
null
UTF-8
Python
false
false
20
py
__author__ = 'alya'
[ "alfiya79@gmail.com" ]
alfiya79@gmail.com
5d3db07d149c00cc7414a4df271907e8a93c4a16
56008e15ee033951ccb672d33f0b4966457ae7d3
/docs/source/_themes/klink/setup.py
346f48c2775feeff1bebe6d2dc3b5c042ca5651d
[ "MIT" ]
permissive
pmorissette/bt
10db07401182491356191ec24339576f4eb71291
4282e2dcb1b78d54977eb1205b5c53bab639ff4c
refs/heads/master
2023-08-01T20:05:25.854753
2023-05-23T20:45:11
2023-05-23T20:45:11
21,006,723
1,835
442
MIT
2023-09-13T19:58:43
2014-06-19T16:06:28
Python
UTF-8
Python
false
false
382
py
from setuptools import setup from klink import __version__ setup( name='klink', version=__version__, url='https://github.com/pmorissette/klink', description='Klink is a simple and clean theme for creating Sphinx docs, inspired by jrnl', license='MIT', author='Philippe Morissette', author_em...
[ "pm@rdacap.com" ]
pm@rdacap.com
ded520cb8fc350f09929c0adf1efe4dce795bf08
1ec4ea39a5f57d6cef70a1073cfaa16ff918e3ac
/TestData/exelDemo.py
9bb28fa7f16414ade02553cdc34e9baa27e6f6d1
[]
no_license
sathya-sai/SeleniumFramework
769e1b4a109fe4be80d3e734f00dc248eaa092e9
7ded298835ba1bbc8013520c28701dcaae4f9d5e
refs/heads/master
2020-12-20T17:06:32.184913
2020-01-25T09:14:08
2020-01-25T09:14:08
236,148,332
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
import openpyxl book =openpyxl.load_workbook("/home/admin1/Downloads/python.xlsx") sheet =book.active Dict = {} cell =sheet.cell(row=1, column=2) print(cell.value) sheet.cell(row=2, column=2).value = "Rahul" print(sheet.cell(row=2, column=2).value) print(sheet.max_row) print(sheet.max_column) print(sheet['A5'].valu...
[ "sathyasai2691996@gmail.com" ]
sathyasai2691996@gmail.com
fa5eabb7522d591d27156f459cb8ebb917443357
6e8caeca7a50989733188a92aaefb0960102b92b
/fmge.py
9c2bf18607fdc3da4dfb83a038e809c662ed0677
[ "Apache-2.0" ]
permissive
winterwynne/fmge
27b6a56ef1e6cc91f59ffa187f70932a1e36b2fe
1d598a4535feb5b36bbf2423f16721619aae3cfb
refs/heads/master
2020-09-17T13:24:18.885410
2019-04-20T13:08:13
2019-04-20T13:08:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,671
py
""" Implementation of the Fuzzy Multilevel Graph Embedding algorithm: Muhammad Muzzamil Luqman, Jean-Yves Ramel, Josep Llados, Thierry Brouard, Fuzzy multilevel graph embedding, Pattern Recognition, Volume 46, Issue 2, February 2013, Pages 551-565, ISSN 0031-3203, http://dx.doi.org/10.1016/j.patcog.2012.07.029. (http:/...
[ "mahmoud.mabrouk@tu-berlin.de" ]
mahmoud.mabrouk@tu-berlin.de
9e8990687ba51ea99339c7f9c2ea469e1b5dd496
94c16bc1a7c1deac9ba752772d4af97aca4e9234
/leetcode/523. 连续的子数组和.py
4415a4ce78f944dedff79a86ca086b6cf0e95162
[]
no_license
BoatInTheRiver/codes_algorithm
440267bd9241a3e99736843b670606ab0715ef9c
668fb64d3bbf26b3a1f6c2b2cfae847933493e21
refs/heads/master
2023-01-04T08:57:36.509252
2020-11-01T03:42:36
2020-11-01T03:42:36
285,283,540
2
0
null
null
null
null
UTF-8
Python
false
false
740
py
#coding:utf-8 ''' 给定一个包含 非负数 的数组和一个目标 整数 k,编写一个函数来判断该数组是否含有连续的子数组,其大小至少为 2, 且总和为 k 的倍数,即总和为 n*k,其中 n 也是一个整数。 示例: 输入:[23,2,4,6,7], k = 6 输出:True 解释:[2,4] 是一个大小为 2 的子数组,并且和为 6。 ''' class Solution: def checkSubarraySum(self, nums, k): dic = {0: -1} s = 0 for i, num in enumerate(nums): ...
[ "4302791@qq.com" ]
4302791@qq.com
24c3588c7bfaf030d0ff19e8a4ae95bf19d6a7af
22f463496e429adeafe52bfd004bdd2cc911b548
/Złoty_ciąg.py
33f6009677350892c900ea204b6a9aca817f4493
[]
no_license
spec149/TestGit
819dfdb3fcfe63005f0d537d7d780937b6a1979c
c16b34889c1d965f4f7514843d479961617ca7bd
refs/heads/main
2023-01-22T18:17:16.051142
2020-12-07T12:44:50
2020-12-07T12:44:50
319,103,739
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
# -*- coding: utf-8 -*- j = 0 for i in range(1, 11): j = i+j print(j) for i in range(1, 11): print('Wartość liczby', i, 'podniesionej do sześcianu wynosi:', i**3)
[ "noreply@github.com" ]
spec149.noreply@github.com
94b669997a3323b0134fb232f7ee22fbcfc99aa8
630959d12868b88782c5b7f3177a6b62fca92bef
/TermProject/GA_Class.py
1eb0183b7f6df44ac52872d47182182e86f02209
[]
no_license
nesarasr/Optimisation-And-Heuristic-Methods--IM31012-IM39003
bbf9c7483cf14aff3cffdfb4cbc077c5793252ae
74f9d57c6c5a2e1de4f519b17d8c4ed3d66b4ee6
refs/heads/main
2023-04-30T00:53:45.380763
2021-04-20T17:51:13
2021-04-20T17:51:13
359,902,192
1
0
null
null
null
null
UTF-8
Python
false
false
6,821
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Apr 6 10:38:09 2021 @author: nesarasr """ """ GENETIC ALGORITHM CLASS """ import numpy as np class GA: # initializes the required paramers def __init__(self,df,D,K,N,PIC,rT,rD,population_size, generations,crossover_pro...
[ "noreply@github.com" ]
nesarasr.noreply@github.com
e14962d2b3e564e7d43115d9912f33e6df506437
612d6d1b0e8305a6decd1d4e2d096e3d712ab3b8
/mother_parsers.py
34a364add97a0cc6a6395302210b9c0b0334178c
[]
no_license
KitchenTable99/Kenya-Rainfall
0128571947af2d562171e4f5947df45eb6dcbdac
41940e1fb4088b63bc7b311614a241edab3d3f26
refs/heads/developer
2023-03-05T14:08:41.462652
2021-02-10T21:12:10
2021-02-10T21:12:10
278,727,277
1
0
null
2020-09-21T23:10:34
2020-07-10T20:28:37
Python
UTF-8
Python
false
false
5,778
py
# This file will create the appropriate csv file to represent birth data # Caleb Bitting (Colby Class of 2023) # Written for research for Professor Daniel LaFave at Colby College # import argparse import itertools import numpy as np import pandas as pd from tqdm import tqdm as progress class Mother(): master_df ...
[ "ccbitt23@colby.edu" ]
ccbitt23@colby.edu
4b6a289344396136f390ca4c0e685b2ce27c79e6
675ec51acadeb2112fa64bc090c41dd123d8b703
/problems/leetproblems/pipelines.py
e6128f43187b2c98bcf6dd53f7e2f7d337640d22
[]
no_license
bacazy/leetcode
d0a65fb76ac9e37f5ba548cc74e173d4b041a32a
ddb51836e2b4831bc18d3b7f792c66e0a1f9c276
refs/heads/master
2021-08-26T09:46:16.828072
2017-11-23T06:05:32
2017-11-23T06:05:32
108,978,900
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class LeetproblemsPipeline(object): def process_item(self, item, spider): return item
[ "gc_zhangcheng@126.com" ]
gc_zhangcheng@126.com
1e8bb5e1533a3ade0f934a468df7425ba9fba7a9
831113b8adcbd0a8a8ab5ed78c87ee81648d6019
/utils/seed_add.py
2e538dacbba6f453caa9426b7d185fbb4a944418
[]
no_license
buckinha/FireGirl2
8940afa13b139f26cfaf2754c79e37b299d74a76
909bb477ffd6cc74d3bc6297188798d52bbdb55f
refs/heads/master
2021-01-10T12:54:15.497268
2016-04-22T02:40:47
2016-04-22T02:40:47
51,882,317
1
0
null
null
null
null
UTF-8
Python
false
false
341
py
import random def seed_add(seed, value): #if the seed is None, normally that uses system time, but I can't add values to a None val #So here, grab a system-time-seeded random val instead, and use it for the base seed if not seed: random.seed(None) seed = random.randint(-1000000,1000000) ...
[ "hailey.buckingham@oregonstate.edu" ]
hailey.buckingham@oregonstate.edu
3b71545bbfa3cf0b81dc43c505f9b0ee6d8e556f
5ded398a05f59f08f2add076fa50e42bfcb5cc92
/home/migrations/0002_load_initial_data.py
3fb748150d45554121b7e71e3ea15175052fd015
[]
no_license
crowdbotics-apps/vool-22192
1dc764992f07ce542f6691693503375007175a6d
d8c48223d5df02577fe997f6a50fdbd83eb96dce
refs/heads/master
2023-01-09T11:42:10.989994
2020-11-01T19:20:38
2020-11-01T19:20:38
309,170,178
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "vool" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") home...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
30f8c99090912bd768c74d849e02e4c932b3ae47
2c872fedcdc12c89742d10c2f1c821eed0470726
/pbase/day03/jiangyi/day03/code/str2.py
414e203cb3fc038b2e548595d370a0630461fc59
[]
no_license
zuigehulu/AID1811
581c3c7a37df9fa928bc632e4891fc9bafe69201
10cab0869875290646a9e5d815ff159d0116990e
refs/heads/master
2020-04-19T16:33:04.174841
2019-01-30T07:58:24
2019-01-30T07:58:24
168,307,918
1
0
null
null
null
null
UTF-8
Python
false
false
192
py
# str.py print('ABC\n123') print('ABC\t123') print("ABCDE\rab") print("ABCDE\b\babcd") print("==ABCD==") print("==\x41\x42\x43\x44==") # ABCD print('\x68\x65\x6c\x6c\x6f') print("hello")
[ "442315617@qq.com" ]
442315617@qq.com
07c9a37fbf0761b97b8e162cfbb380a576048089
c7b8001b9b8a40e7ac630b33c22a7dd28bf9c23e
/fiber_mode/charts/urls.py
64f331083446242189b5739488bc02ccbf4e428f
[]
no_license
mskwarek/topt
c30265442f700828a3b7c6302c314bdb5f80b857
8f910c283a834eca68a5014cd2216ff2a99a34b5
refs/heads/master
2021-01-13T03:08:59.895943
2017-01-24T22:53:55
2017-01-24T22:53:55
77,408,639
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
from django.conf.urls import url from charts import views urlpatterns = [ url(r"^ajax/(?P<module>\w+)/(?P<function>\w+)/", views.ajax, name='ajax'), url(r'^$', views.index, name='index') ]
[ "m.skwarek@stud.elka.pw.edu.pl" ]
m.skwarek@stud.elka.pw.edu.pl
d2f91d9e02964c206df16fb3598b24bd1f3a4f8e
ee22ec2076a79e8de3011377fe205bc87163ab9f
/src/basic-c3/dockstring.py
5ada006cc7d290f3d8a9d64f64306ebce1e919b9
[]
no_license
n18018/programming-term2
039a95c67372a38a34e2aa8c5975045a9fc731be
86c455269eed312def529604e1ac3b00f476226c
refs/heads/master
2020-03-22T08:59:29.545280
2018-08-29T07:57:37
2018-08-29T07:57:37
139,806,131
0
0
null
2018-07-05T06:42:11
2018-07-05T06:42:11
null
UTF-8
Python
false
false
53
py
def a (hiki_1, hiki_2, hiki_3): ''' return i
[ "n18018@std.it-college.ac.jp" ]
n18018@std.it-college.ac.jp
a5b84ff16e6346b80b7b9b39877c97ee15388366
869074821ac8a1d36f8ed413577036c8796c4de0
/StanManager.py
9d94c908bfc3f5bfa244ea064fd348f572c731f6
[]
no_license
PablitoCho/CategoryPOV
3b55990221d2d476c006c996fe8858c239217b43
6b2895cdd0f4246dbde5420551e0c3b66c2be044
refs/heads/master
2021-05-17T22:34:20.674685
2017-11-19T13:11:53
2017-11-19T13:11:53
250,982,744
1
0
null
2020-03-29T08:06:17
2020-03-29T08:06:16
null
UTF-8
Python
false
false
846
py
import pystan import pandas as pd class StanManager(): """Controls input, process running, and output manipulation for CmdStan.""" def __init__(dump_path, output_path): pass def make_standumps(brand_seperated = True, data_to_dump): """Create standump files. Args: brand...
[ "gray.stanton@hartman-group.com" ]
gray.stanton@hartman-group.com
78e1a62a7d9bc744dc45dbe0d38dd29dc771fb2f
ba24806cbcf25e9216bfb1718e3b47abc6ebad39
/hoo/src/hoo/gps.py
2256128eba19d3a89da3a164d2e3d558085c7e8b
[]
no_license
jeking04/thesis_tools
1585523fe020e7db40d13f0f94f4c302e35c6f1a
3e8a92c3c643b865514a7c6b6ec59c7cec6e2fb2
refs/heads/master
2020-06-06T09:23:00.474660
2016-08-11T23:31:33
2016-08-11T23:31:33
38,890,399
1
0
null
null
null
null
UTF-8
Python
false
false
667
py
#!/usr/bin/env python class GPS(object): def __init__(self, R, rfunc): import numpy self.phi = (numpy.sqrt(5) - 1.)/2. self.a = self.phi*R.min_val + (1. - self.phi)*R.max_val self.b = (1. - self.phi)*R.min_val + self.phi*R.max_val self.rfunc = rfunc def __str__(self): ...
[ "jeking@andrew.cmu.edu" ]
jeking@andrew.cmu.edu
21aa8958edca79602fd8a9062a0ca2fb5d5a8527
c06d18ac5b87b3b82fc486454c422b119d6c1ee9
/src/demo/_tensorflow/notebooks/2_BasicModels/linear_regression.py
db1a4d9133a9a5e089a49002de6f171371fd87ae
[ "MIT" ]
permissive
tangermi/nlp
b3a4c9612e6049463bf12bc9abb7aff06a084ace
aa36b8b20e8c91807be73a252ff7799789514302
refs/heads/master
2022-12-09T12:33:15.009413
2020-04-03T04:03:24
2020-04-03T04:03:24
252,056,010
0
0
null
2022-12-08T07:26:55
2020-04-01T02:55:05
Jupyter Notebook
UTF-8
Python
false
false
2,211
py
# -*-coding:utf-8-*- from __future__ import absolute_import, division, print_function # %% import tensorflow as tf import numpy as np rng = np.random # %% # Parameters. learning_rate = 0.01#学习率 training_steps = 1000#总共训练次数 display_step = 50 # %% # Training Data. X = np.array([3.3, 4.4, 5.5, 6.71, 6.93, 4.168, 9....
[ "n10057862@qut.edu.au" ]
n10057862@qut.edu.au
9143e1cbbe22494451daa57eb795cafba2ef2bff
cfb705f3727ff2f53288269ae37bd2cb6687951d
/build/CAFCore/SFramework/CMakeFiles/SFrameworkpycGen.py
5c92ddbf3102a6b81ff16550aee99de8cd85f4ab
[]
no_license
alessio94/di-Higgs-analysis
395934df01190998057f7c81775209c5d32f906e
79c793cc819df7c8511c45f3efe6bdd10fd966bf
refs/heads/master
2023-02-17T05:44:59.997960
2023-02-13T18:02:42
2023-02-13T18:02:42
224,252,187
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
import py_compile; py_compile.compile( '/afs/cern.ch/work/a/apizzini/private/2022/nov/CAFbbll/CAFCore/SFramework/python/SFramework.py', cfile = '/afs/cern.ch/work/a/apizzini/private/2022/nov/CAFbbll/build/x86_64-centos7-gcc8-opt/python/SFramework/SFramework.pyc', doraise = True )
[ "alessiopizzini@gmail.com" ]
alessiopizzini@gmail.com
3afdb163afed7231e32920b9590fd0cfc32f09da
4da88470f157adc9528e5faf2f4a8dab726a6820
/Webdemo/Rojgaar/admin.py
13478b18751e766da03f577c7a9e5d2196a8f535
[]
no_license
gauritoshniwal123/website
1a3781b810557d72f7ac9f0a86bd9dde29cb0271
f8b8861be55bc3e975c07e7d414e59a197a6ea72
refs/heads/master
2023-03-23T02:37:23.601289
2021-03-14T09:36:42
2021-03-14T09:36:42
347,593,654
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from django.contrib import admin from .models import SRecruiter,LRecruiter,SJobseeker,LJobseeker admin.site.register(SRecruiter) admin.site.register(LRecruiter) admin.site.register(SJobseeker) admin.site.register(LJobseeker)
[ "gauritoshniwal555@gmail.com" ]
gauritoshniwal555@gmail.com
ba0427eb98f02a5a35e7433cba51438b3c5875a3
d98883fe1007111b8795ac5661e56758eca3b62e
/KindnessCafe/Landing/migrations/0001_initial.py
35b77710794fb5b5fe7a0a8b74e736fb7fa235bf
[]
no_license
pyDeb/KindnessCafe
7303464e3c0693b0586a4a32740d8b9b19299caf
6ff8dfe338aefd986edf67c382aff1a2920945d1
refs/heads/master
2022-12-29T16:16:35.796387
2021-04-19T00:03:14
2021-04-19T00:03:14
243,533,146
3
4
null
2022-12-08T09:48:09
2020-02-27T14:01:16
Python
UTF-8
Python
false
false
670
py
# Generated by Django 3.0.3 on 2020-12-06 02:27 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='LandingContent', fields=[ ('id', models.Aut...
[ "imananoosheh@gmail.com" ]
imananoosheh@gmail.com
295fe8aaffb1e189be863d7776727e6536e11fe0
c1dc311e4ffde054f97c5da10f4178b28ce2514f
/models.py
8a28bb289426627b07dc31f33dd486988155a021
[ "MIT" ]
permissive
dylanrainwater/UTK-Transcript-Manager
ee419edcc80b932dec4a952fdd45c43c7b53d2b8
9d23bf2091d46806374f847a733d71d9823a88ac
refs/heads/master
2021-09-05T09:35:11.190820
2018-01-26T04:31:29
2018-01-26T04:31:29
95,023,454
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
from peewee import * db = SqliteDatabase('calculator.db') class Profile(Model): """Profile Model holds name and GPA, has a one-to-many relationship with Course""" name = CharField(max_length=255, unique=True) GPA = DecimalField(default=0.0) class Meta: database = db class Course(Model): ...
[ "dylan.rainwater@cblproperties.com" ]
dylan.rainwater@cblproperties.com
d039483326f05db9afd0ba64eba7b581dee280ec
fc347406b479605236f5d49a13ab27a922e7f3e9
/Easy/0387-first-unique-character-in-a-string.py
6c2131b028efd9fdb9b3dfb372aa03f934005e88
[ "MIT" ]
permissive
sandychn/LeetCode-Solutions
0ebec09f977e15c10f3708796f63e6ef2495b50f
d0dd55d62b099c5b7db947822ab2111a4ecdc941
refs/heads/main
2023-08-10T22:30:21.399891
2021-10-07T16:31:49
2021-10-07T16:31:49
274,187,518
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
# -*- coding:utf8 -*- class Solution(object): def firstUniqChar(self, s): """ :type s: str :rtype: int """ count = [0] * 26 for ch in s: count[ord(ch) - ord('a')] += 1 for i, ch in enumerate(s): if count[ord(ch) - ord('a')]...
[ "sandychn@163.com" ]
sandychn@163.com
634d9bd84c1a1d8fe8a27469b319b4955d06d6d9
9fac7365158496f248aba141f8fd54aac2c0ae67
/backend/campuscoffee/notifications/models.py
fe01ad59a8b8ca3227b5b430e4c57d50d48027ef
[ "MIT" ]
permissive
maeng2418/CampusCoffee
3b454fa360bd005cfb212f55f269e47c4d7e7726
41a580656ea1579c6343ea3fad187f2be81c2baf
refs/heads/master
2020-05-29T12:37:05.699157
2020-01-21T02:41:41
2020-01-21T02:41:41
187,471,953
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
from django.db import models # Create your models here. from django.db import models from campuscoffee.users import models as user_models from campuscoffee.stores import models as store_models class Notification(store_models.TimeStampedModel): store = models.ForeignKey(user_models.User, on_delete=models.PROTECT...
[ "maeng2418@naver.com" ]
maeng2418@naver.com
3ae8830fd94c0cd38223d716948c6ba72b2243b7
cda43bf6a84f7e55fab26aa70cda934683a51fe5
/MyWork/moModel.py
f0583bfc4748b1285e8ed8c12677936f09f2dcf3
[]
no_license
nikolaosdionelis/NeuralNetworksNNs
abb55622882e31c8d130a8986868b3d19ede186f
8a217490ad5bb3f7fccf4002c6b43a06c1e562fc
refs/heads/master
2022-11-13T00:50:23.578197
2020-07-12T18:52:20
2020-07-12T18:52:20
279,042,013
5
1
null
null
null
null
UTF-8
Python
false
false
113,860
py
from __future__ import division from __future__ import print_function import os import time import math from glob import glob import tensorflow as tf import numpy as np from six.moves import xrange #import real_nvp.model as nvp import real_nvp.nn as nvp_op #import imageio #imageio.imwrite('filename.jpg', array) #fro...
[ "noreply@github.com" ]
nikolaosdionelis.noreply@github.com
701edda3fc08ca5e204e91994d360e36880706aa
532a28255249530c98eea8985cdcfb093dbf28b1
/testing/test_boxed.py
bee936735f1ff0a109346bf20f8150639e74bb0f
[ "MIT" ]
permissive
lukas-bednar/pytest-xdist-convert
8dc09ebae810344f8ebf031b3d04de4e9a62602c
255c0617159b611eaa94b80c7b61568c5c8ce082
refs/heads/master
2021-01-23T12:18:04.783539
2015-09-01T15:28:21
2015-09-01T15:28:21
41,746,483
1
0
null
2015-09-01T15:21:30
2015-09-01T15:21:30
null
UTF-8
Python
false
false
1,610
py
import pytest import os needsfork = pytest.mark.skipif(not hasattr(os, "fork"), reason="os.fork required") @needsfork def test_functional_boxed(testdir): p1 = testdir.makepyfile(""" import os def test_function(): os.kill(os.getpid(), 15) """) resu...
[ "holger@merlinux.eu" ]
holger@merlinux.eu
0fa6083c10d10d0fd237b63dd89a046cd5d7ecf6
61efd764ae4586b6b2ee5e6e2c255079e2b01cfc
/azure-graphrbac/azure/graphrbac/models/graph_error.py
0bfa9744e63d8b4251f72750eb08d46a828b3f80
[ "MIT" ]
permissive
AutorestCI/azure-sdk-for-python
a3642f53b5bf79d1dbb77851ec56f4cc0c5b3b61
60b0726619ce9d7baca41f6cd38f741d74c4e54a
refs/heads/master
2021-01-21T02:23:59.207091
2018-01-31T21:31:27
2018-01-31T21:31:27
55,251,306
4
3
null
2017-11-13T17:57:46
2016-04-01T17:48:48
Python
UTF-8
Python
false
false
1,392
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "autorestci@microsoft.com" ]
autorestci@microsoft.com
c066cc2e89856eeb69a4a3d7ca845a7e5a744844
d5a60a0b2ab9aac8e01ea9994e7a87d8759e9702
/sql.py
5731d929af0e19cf59383d7fd38bde114c87d475
[]
no_license
kdmgs110/Tweet-Analyser
72201ccd0c4d2c70725cf7d19b8cbf1d23ff4ca2
78375be905c0e5756118e0f9d450d7171fe3b436
refs/heads/master
2020-03-08T01:13:03.245105
2018-04-17T15:11:21
2018-04-17T15:11:21
127,824,661
4
0
null
null
null
null
UTF-8
Python
false
false
314
py
import sqlite3 DATABASE = 'database.db' conn = sqlite3.connect(DATABASE) #データベースに接続 c = conn.cursor() # データベースの作成 create_db_sql = """CREATE TABLE IF NOT EXISTS client(name string, client_id string, client_secret string, redirect_uri string)""" c.execute(create_db_sql)
[ "kdmgs110@gmail.com" ]
kdmgs110@gmail.com
8075119130f94c07e57befcfb0bb8a5b635241ae
be8778021ca3b6b291e396df8a04bdd787dd7fc4
/Day 18 - Hirst Spot Painting Generator/main.py
055983bd0b9ba06fb9711ccc321bb92fc8570c3b
[]
no_license
atena-data/Python-Bootcamp-Codes
eb0cb6f5a2a5edb3f95d30a568890afa418f2e89
9365ec6f10c893f31a50b56dde792461fb904018
refs/heads/main
2023-04-30T23:56:23.457165
2021-05-14T20:10:00
2021-05-14T20:10:00
319,782,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
import colorgram import turtle as t import random # change color mode to RGB t.colormode(255) point = t.Turtle() # # extract a list of colors from an image # colors = colorgram.extract("image.jpg", 30) # color_list = [] # for color in colors: # rgb = (color.rgb[0], color.rgb[1], color.rgb[2]) # color_list.appe...
[ "68478574+atena-data@users.noreply.github.com" ]
68478574+atena-data@users.noreply.github.com
0584bb10c38dba33bffbd8942a3bc1da49985993
d903801965f5a203360a989c5e5330160bb8f509
/pragmatics_2/settings/base.py
2de70505263bd2f12c487534bdb5eabadcb1482f
[]
no_license
matt700395/server_test
fbc63fe4a9aea29610089b3ec87dcf5834047d27
c21618bdf4d7f38889410d3204c15e4c61c15a54
refs/heads/master
2023-07-25T02:12:24.187475
2021-08-11T01:51:30
2021-08-11T01:51:30
387,237,779
0
0
null
null
null
null
UTF-8
Python
false
false
3,084
py
""" Django settings for pragmatics_2 project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ "gkgk" f...
[ "matt7003@korea.ac.kr" ]
matt7003@korea.ac.kr
29a21788ca82574da26794cebdeef91568b75301
50b7c96ccc8331887ee279a406c3c35a14a5ffbe
/blog/tests.py
53c315c074db952a4cd3caf6e1710760d54cfec9
[]
no_license
PeriGK/jinyuz-blog
8888389b0e5740cb40d41cf39914bc61887426ae
08ce6a4bb3856f76e2b4f0b8c4b93f730eb9de74
refs/heads/master
2021-07-25T01:34:48.337978
2017-11-04T19:57:43
2017-11-04T19:57:43
109,523,181
0
0
null
2017-11-04T19:15:42
2017-11-04T19:15:41
null
UTF-8
Python
false
false
3,262
py
from django.test import TestCase from .models import Post, Category, Author from django.contrib.auth.models import User from django.shortcuts import reverse class BlogTestCase(TestCase): def setUp(self): self.category = Category.objects.create(title="Test Category", slug="test-category") self.user ...
[ "jinyuzprodigy@gmail.com" ]
jinyuzprodigy@gmail.com
797f75d711c35e8f51c4b63311f9c718f07a6b4c
91b6b36c7eba4ef0f97eea76a32c297760e24034
/games/migrations/0001_initial.py
a999330944ff2ace8f32685de6c1ac1b44d755f4
[]
no_license
joescaos/Tienda-video-juegos
ddfbba3affdb4302077d205d1a6b408cc08cf670
8b05f15d655398f7efc77af126fe022fec6d3261
refs/heads/main
2023-02-11T05:43:33.950151
2021-01-07T03:06:01
2021-01-07T03:06:01
327,482,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
# Generated by Django 3.0.8 on 2020-07-04 19:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Game', fields=[ ('id', models.AutoField(aut...
[ "jxexcxo@gmail.com" ]
jxexcxo@gmail.com
ff1b3b0dca727f260be29d791c3eb863c60bb44c
e40111dda0ad509d474adfe4c52ae9b5525f388e
/show_weather/migrations/0001_initial.py
257aa28f000c8c31d9e0659e17bdad9c05474fe7
[]
no_license
XeyyamSherif/Weather-App
2fb997fcfb5a6885ffffbf05e6ebe2127fd2bccf
6de019cf289ff60d299b9f1e58c1f8c04fa3517f
refs/heads/master
2023-01-23T06:57:55.655632
2020-12-04T20:10:42
2020-12-04T20:10:42
318,623,089
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
<<<<<<< HEAD # Generated by Django 3.0.3 on 2020-03-01 14:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='added_cities', fields=[ ('id',...
[ "you@example.com" ]
you@example.com
3d2dfc7aea9fde464f13b5202bf279d6934d8173
6b66cb095ac4cd9ead2eab98f45af5558e7b28e4
/mxnet/unit_test.py
58cc4d513e267e855f75587af0a5fa8d5d5dcca1
[ "MIT" ]
permissive
Jiaolong/xnor-net
b5d5ffee0bb6f272a1298f3d80d0b6ce89eca6b4
97acda48e358659046fc0f69458789effea25688
refs/heads/master
2021-01-22T20:17:56.104899
2017-12-04T12:36:01
2017-12-04T12:36:01
85,303,815
11
7
null
null
null
null
UTF-8
Python
false
false
1,309
py
#! /usr/bin/env python #-------------------------------------------------- # Simple unit test on binarized convolution layer # # Written by Jiaolong Xu # Date: 03/17/17 # Copyright (c) 2017 #-------------------------------------------------- import numpy as np import mxnet as mx from bnn_layers import * data = mx.sy...
[ "jl.xu@ulsee.com" ]
jl.xu@ulsee.com
3a9491459c5d078d32933e3ae8b3410aa09cc12b
bedb7c4fd64ccf10f80e4cd7934e3b290f7c8c85
/week4_binary_search_trees/2_is_bst/is_bst_tests.py
fda8b7281558700dc63b6425d8a1bf214b4fd0d8
[]
no_license
basvasilich/study_data-structures
2f74cd74936848c388ab14eac3ee38cef9e96df7
3e126890df6675abb79d6ff7cc2a1d79014da723
refs/heads/master
2022-04-18T17:13:19.100690
2020-04-17T19:13:11
2020-04-17T19:13:11
246,841,397
1
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
import unittest from test_runner import test_runner from is_bst import IsBinarySearchTree class TestCheckBrackets(unittest.TestCase): def test_1(self): self.assertIs(IsBinarySearchTree([[4, 1, -1], [2, 2, 3], [1, -1, -1], [5, -1, -1]]), False) def test_2(self): self.assertIs( IsB...
[ "basvasilich@yandex.ru" ]
basvasilich@yandex.ru
02d57746d7b51ec673efb0edd4fd91b23b918b00
6f308801d6b17ee2500b7256ceb728c39793c825
/backend/usermanagement/utils/list_user_byemail.py
919c96f5c66179ac2fc83793889db185b644898c
[]
no_license
Manojakumarpanda-1995/backend_documentaion
53f297dc86bb12cdc526028a336be6c849ea3483
9ce51503074482e3bea386584496616abd6fdb36
refs/heads/master
2023-08-04T18:09:41.054351
2021-09-17T06:12:59
2021-09-17T06:12:59
392,740,003
0
0
null
null
null
null
UTF-8
Python
false
false
4,486
py
from usermanagement.models import Users # , AccessManagement, Roles # from usermanagement.utils.hash import encryption,decryption from django.conf import settings # import re import os import sys import logging import datetime # from organization.models import UserCompanyRole # from project.models import ProjectUsers...
[ "manojakumarpanda@momenttext.com" ]
manojakumarpanda@momenttext.com
746dbef62b516ff59dc04fa89bbb2f22bfa4ff8a
82c6dedfe9040b453c22c3f93f1a2c9a922c988b
/ClusterFind/cluster_dbscan_precomputed_neighbours.py
7a4f8cb9ec5f99d729549b5d0ffd0a3962f8b5cc
[]
no_license
njcuk9999/g_clustering
8d34439fd78ef7017c0414c932d21cd19fc6551c
20e6a6ab17c72c5652ae33125f7dabf4131aa8d5
refs/heads/master
2021-05-11T16:10:41.382938
2018-05-08T22:55:03
2018-05-08T22:55:03
117,753,516
0
0
null
null
null
null
UTF-8
Python
false
false
12,436
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ # CODE NAME HERE # CODE DESCRIPTION HERE Created on 2018-01-16 at 14:13 @author: cook Version 0.0.0 """ import numpy as np from astropy.table import Table from sklearn.cluster import DBSCAN from sklearn import metrics import random import matplotlib.pyplot as plt...
[ "neil.james.cook@gmail.com" ]
neil.james.cook@gmail.com
a67658f0ba4e3957c2b07e683cf18f9d800d4d49
962b7a864f6a85d4418292be2ad3f3c58ae89400
/docs/conf.py
1f83660b90ecd881682aa1743e2a7298a72d00e1
[ "MIT" ]
permissive
ArtusU/one_buy
eb415697d4d314f1a23f255b83486f75fa1f6adb
5d74a691f78f162eb6b16d9c3a2049043c36b0b0
refs/heads/master
2023-08-20T20:31:41.931260
2021-09-11T11:51:00
2021-09-11T11:51:00
405,059,103
0
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "artusrock@hotmail.com" ]
artusrock@hotmail.com
bb1ac22a487f48f5aecf8e085306bb195ad3fc8a
d73b8cb9b62369ae419d0b02970c85c18da5038a
/journal/urls.py
d5cb49bdb8ba20adb819ec2a7710c964286f2074
[]
no_license
Baindaer/musicware
f2e6fae482585f34d9fd857bf1f44fccd039a49d
ff013fcf4529752e25b37542bb5c6d6b7bf4b653
refs/heads/master
2020-03-28T00:47:44.455386
2019-06-07T02:26:42
2019-06-07T02:26:42
147,450,133
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('login', views.login, name='login'), path('composers', views.composers, name='composers'), path('practice_items', views.practice_items, name='practice_items'), path('playlists', views.playlis...
[ "tsjuancamilo@gmail.com" ]
tsjuancamilo@gmail.com
0d04fa2c27807dd543aa96a8eb34f13b5aa285a3
48b8ef4cb13195bd48c3bd741df407f4df7a7db1
/py2vega/functions/date_time.py
52cb563af5f98569f0a6115a6e91a96ee9e73dd4
[ "BSD-3-Clause" ]
permissive
QuantStack/py2vega
7c6d1e114e97f835ae2d3ef47950680d8a9b7e55
049f8a89adc4197a69a384160bbbb633c61abaf8
refs/heads/master
2021-06-22T22:38:32.885585
2021-03-03T09:46:31
2021-03-03T09:46:31
203,118,828
9
3
BSD-3-Clause
2021-03-03T08:32:02
2019-08-19T07:15:29
Python
UTF-8
Python
false
false
4,165
py
"""Module that implements mocking Vega date and time functions.""" date_time_functions = [ 'now', 'datetime', 'date', 'day', 'year', 'quarter', 'month', 'hours', 'minutes', 'seconds', 'milliseconds', 'time', 'timezoneoffset', 'utc', 'utcdate', 'utcday', 'utcyear', 'utcquarter', 'utcmonth', 'utchours', ...
[ "martin.renou@gmail.com" ]
martin.renou@gmail.com
0b1a26e949dcfbed3b5006d78250144ec2f90c2c
662dba68f08165832228ed01e86481f401d2eae1
/main.py
be3a805453c96102bf71c06bae17f945c6592ee7
[ "Unlicense" ]
permissive
Pi0ter/Python-OOP-project-2
aeb724673452e3e56d9d2c2771e6309aef58b169
41baa17aa4ccb4472b9e80a37f302de62aeba2f8
refs/heads/master
2020-05-31T13:20:45.879177
2019-06-16T16:56:37
2019-06-16T16:56:37
190,300,535
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
from drawing import * from menu import * if __name__ == "__main__": xd = Menu() xd.run() root.mainloop()
[ "noreply@github.com" ]
Pi0ter.noreply@github.com
e73773cbfdab75fcb44a65b743925c7e1ee00ad7
234a837871b58301ba40fc192f0ca9eb41874b1a
/lstmRNN_improved.py
9cd337955119005e3fb812e1f7e5d6b1f236baa9
[]
no_license
myers1091/BibleLSTM
e4228a7bbc5259f1e5a4558796b1b55a8318cba4
1678e211c096943e8bfbbc6b88dcf5c2c898bdad
refs/heads/master
2020-09-12T17:49:11.182018
2019-11-18T17:13:19
2019-11-18T17:13:19
222,500,754
0
0
null
null
null
null
UTF-8
Python
false
false
2,170
py
import numpy from keras.models import Sequential from keras.layers import Dense from keras.layers import Dropout from keras.layers import LSTM from keras.callbacks import ModelCheckpoint from keras.utils import np_utils import pickle #Import file and convert to lowercase filename = 'Data/The Book of Psalms.txt' raw_t...
[ "john@Johns-MacBook-Pro.local" ]
john@Johns-MacBook-Pro.local
2682f55aaf5210237ac86cccdd7b671bb2c8448f
f3a8b3072c37004cd99b33bc14a13c0b4d30888d
/deepspeed/runtime/config.py
b9ba6cf37cba4713a9f71ecdc516cf49a2c7a9ef
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
sangkeun00/DeepSpeed
5cc7448c43879698c275590b1fbad2be4e6df937
2805c3935ae02558f18a71a115185632b087da70
refs/heads/master
2023-04-14T15:25:33.689385
2021-04-16T21:40:23
2021-04-16T21:40:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,404
py
""" Copyright (c) Microsoft Corporation Licensed under the MIT license. """ import torch import json import copy from .constants import * from .fp16.loss_scaler import INITIAL_LOSS_SCALE, SCALE_WINDOW, DELAYED_SHIFT, MIN_LOSS_SCALE from .config_utils import get_scalar_param, dict_raise_error_on_duplicate_k...
[ "noreply@github.com" ]
sangkeun00.noreply@github.com
5f6c69da0a503be105e2795033fabf02309bb5fb
f0852023fe878d13f0ca559351782c6de97442b9
/sugrpkg/Experimental_bolus.py
8f3bbd457b8327ef0041d873b85f4a8a8bd3ad38
[ "LicenseRef-scancode-other-permissive" ]
permissive
kelly1210/Diabetes-Analysis
60c306145140f9174fc01a0517ba7ef9935b921f
c7ad2c746d4070f0a2beef46712529b536be21c7
refs/heads/master
2023-02-09T08:12:13.009873
2020-12-19T15:07:54
2020-12-19T15:07:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,707
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import os import multiprocessing as mp from functools import reduce, partial import pandas as pd import scipy import numpy as np import seaborn as sns import matplotlib.pyplot as plt import datetime as dt import copy import gc import warnings import statsmodels.api a...
[ "gmaganna.biomed@gmail.com" ]
gmaganna.biomed@gmail.com
1797cbb255dc3debffba5529df5ef44d11729187
fe33c07997830849eeb3d8651585af02e3755e7e
/pyro/contrib/randomvariable/random_variable.py
05d08238a5f74f493acf213865274c7e5ee2f414
[ "Apache-2.0" ]
permissive
dataronio/pyro
2f8423bbef94dc26be52cb820ebed6c293cf0ee1
2339ece6d020c6fd34f2b7ad9f9e0fdd093848fa
refs/heads/dev
2022-02-05T11:31:32.076775
2022-01-30T00:01:31
2022-01-30T00:01:31
159,904,265
0
0
NOASSERTION
2020-03-09T22:06:53
2018-12-01T03:15:50
Python
UTF-8
Python
false
false
5,426
py
# Copyright Contributors to the Pyro project. # SPDX-License-Identifier: Apache-2.0 from typing import Union from torch import Tensor from pyro.distributions import TransformedDistribution from pyro.distributions.transforms import ( AbsTransform, AffineTransform, ExpTransform, PowerTransform, Sig...
[ "noreply@github.com" ]
dataronio.noreply@github.com
66b2ddc4d0658c6b564857dc23239f919175c02e
e60c9720d1a95424e78d7e27d72758e76b21090c
/utf8.py
57baf971c916ddc71bb9f324a9b8adb496b575ff
[]
no_license
rmccampbell/PythonProjects
122a8a40d7e9917e0848a9efb9437f1e3f5fac7d
19c9b0f6fc99fd6a2190163d4b793e2e76e2972c
refs/heads/master
2023-07-20T00:24:27.527281
2023-07-11T07:28:58
2023-07-11T07:28:58
49,752,046
2
0
null
null
null
null
UTF-8
Python
false
false
1,349
py
def leading_1s(b): return 8 - (~b & 0xff).bit_length() ## i = 0 ## while b & 0x80: ## b <<= 1 ## i += 1 ## return i def decode_utf8(bs): cs = [] rem = 0 c = 0 for b in bs: n = leading_1s(b) if n == 0: if rem != 0: raise ValueError('...
[ "rmccampbell7@gmail.com" ]
rmccampbell7@gmail.com
41c61351b378ba7f92f5311b6e7ea63f676834df
c6227497c6324cc534ca5d77a9b6cbaeef9876b3
/graphic/jdraw/jdraw_yacctab.py
ad16169ced80a43747e7a9d894d7701125911a2a
[]
no_license
tomasz285/msc-thesis
bb18896a04230ce206edb9d66f37aa4207e57b11
bbd36f9831827931e7ba276cb37b26caec52aa7f
refs/heads/master
2021-01-10T02:44:56.733370
2016-02-16T21:26:18
2016-02-16T21:26:18
49,384,461
0
0
null
null
null
null
UTF-8
Python
false
false
8,003
py
# /home/tango-cs/taurus/taurus-3.6.0/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_yacctab.py # This file is automatically generated. Do not edit. _tabversion = '3.2' _lr_method = 'LALR' _lr_signature = '\x03\x1bS\x1d\xbf\x0c\xbe\xbaa\xfe\xbf\xb7G\x8d%\xb2' _lr_action_items = {'false':([36,48,],[39,39,]),'JDSWINGOBJE...
[ "kowal.tomaszk@gmail.com" ]
kowal.tomaszk@gmail.com
314ed0dd3ff14db1bf30f6389b4132d1b6dd601b
f00212ec7e870d4ce1ffde577755194c1e4228ff
/ExtractNewsArticles/pipelines.py
27a2c6ff1ec5e8cabb976c9c86cc3f7adbdef0af
[]
no_license
gopida/WebCrawler-NewsArticles
bb8dd69ff20bd28e88f00f13cc963ea27ad62df7
786c696a6af6d8d996d531f3f32f7e48839731ea
refs/heads/master
2023-05-26T20:20:50.705310
2021-06-15T06:41:12
2021-06-15T06:41:12
180,868,340
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class ExtractnewsarticlesPipeline(object): def process_item(self, item, spider): return item
[ "gopidaya91@gmail.com" ]
gopidaya91@gmail.com
5306c8ce78d29999776a31e33909e87526e0016b
2b206d802be8ac6b6c238c7f7b0afc59bd3ec47d
/evaluation/s3dis_merge.py
d4f7002c9aa9716b85df26a7ebbffd11c9e0011c
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
jtpils/PointCnn-1
62c0de24f63ca405ec360e1a63e0767143d4daca
bef3287a2f8886d472fa3970de47c654ab9df0bc
refs/heads/master
2020-06-09T06:50:20.190130
2019-04-10T14:55:38
2019-04-10T14:55:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,604
py
#!/usr/bin/python3 from __future__ import absolute_import from __future__ import division from __future__ import print_function import os,sys import plyfile import numpy as np import argparse import h5py def main(): parser = argparse.ArgumentParser() parser.add_argument('--datafolder', '-d',default='../../da...
[ "519710218@qq.com" ]
519710218@qq.com
2a42607304c997da7b4aa4c7611d17a3128629fb
c4f389bddd2f06dbe6cee8469d323f2e919b54af
/3.二叉树遍历.py
3ca46df421bc6a3e20043be098bc5ab2c9075c61
[]
no_license
moshuilanting/examination
a566eb4736296746836d543e4a5e1432b3d5ac1c
e80b136643f846ba5bd2421e8e7a7158157198bd
refs/heads/master
2020-03-29T21:40:18.314077
2019-07-17T05:48:17
2019-07-17T05:48:17
150,379,865
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
#二叉树的遍历 # coding: utf-8 class Solution: def __init__(self): self.ret = [] """ @param root: The root of binary tree. @return: Preorder in ArrayList which contains node values. """ def inorderTraversal(self, root): # write your code here if root is not None...
[ "noreply@github.com" ]
moshuilanting.noreply@github.com
d3e24d2e30dd2b4733cc2c7fd0a883b1c2096dfe
1d176007cd7472465c0075f9c695a97517c91fb3
/mnemmaj.py
6ed34d351f7951d44292d3969ae4f0f9543ef79d
[]
no_license
johtso/mnemonic_major
7e2c28e561cb1cdb54cf5f12c5cecf020e75bdca
770ec6c3151bee1279aa6a9cb3d88dbabc699a87
refs/heads/master
2023-06-07T22:03:53.818776
2021-06-30T22:32:37
2021-06-30T22:32:37
381,848,320
0
0
null
null
null
null
UTF-8
Python
false
false
2,068
py
from __future__ import with_statement from collections import defaultdict from itertools import combinations from utils import multi_split def valid_cut_combos(length, max_parts=None, min_part_len=1): """Find all possible ways in which a sequence could be split and return the indices of the split points. ...
[ "johtso@gmail.com" ]
johtso@gmail.com
150e1214de30c25ea2b8e3d0c0de0283a2141b3f
de737eab60baef152f557f17570051a0f0bc0905
/solar_output_prediction/views.py
d09ece48259d3fd36e5d713f4cea16b394600658
[]
no_license
snowdj/solar-calculator-django-app
72d27329b65bcc62c795cad474810423a97fe3fb
7440b5cd0cdef96450dd7ba57b51044de9bc44d6
refs/heads/master
2021-06-17T23:07:12.416140
2017-06-09T18:15:24
2017-06-09T18:15:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,419
py
from django.shortcuts import render from django.utils import timezone import sys sys.path.append("./lib") import nrel import inst_size_cost import pandas as pd import sqlite3 import os import pickle import numpy as np db_file = "./solar_logs.sqlite" conn = sqlite3.Connection(db_file, check_same_thread=False) # readin...
[ "evancasebaker@gmail.com" ]
evancasebaker@gmail.com
4beda2946a73009f70fc4dd66340e5f0ea19c0bb
a85f6acdfbc2c36ebc206e6f8bf56db11dce9dfc
/app/controller/base_controller.py
792bfd79ccce2133d31d04c0df068b18fa217e79
[]
no_license
flaviacomp/app-paem-db-restful
51a80800d2def8524c85ce9b142c0a30528f77df
30dab9220460159ed43b5a87a5ef604beb2ab23d
refs/heads/master
2023-06-04T18:13:59.012443
2021-06-24T20:25:15
2021-06-24T20:25:15
334,000,369
1
0
null
2021-05-25T22:33:44
2021-01-29T01:11:17
Python
UTF-8
Python
false
false
1,527
py
from ..util.http_status_code import OK, CREATED, BAD_REQUEST, NOT_FOUND_REQUEST class BaseController: @classmethod def get_by_id(cls, id, Model): model = Model.find_by_id(id) if not model: return {"message":"Not found this resource."}, NOT_FOUND_REQUEST return ...
[ "j.janilson12@gmail.com" ]
j.janilson12@gmail.com
1311ef916c2daecae891fb0a1fd07ed7261d3974
d302880316a4eb37952ac95fcfb6f4ae23979a41
/dict.py
c9cc2d86791c8e99a51064d368162e54cdfc0108
[]
no_license
sivaprakashSP/FlaskAPI-Stuffs
c87f71788c03c53ee219ce330c533034b04ac648
bcdfafb00734b77c9822219fbecebdb1aa6fc5ab
refs/heads/master
2023-02-13T22:30:40.375613
2021-01-11T15:36:20
2021-01-11T15:36:20
268,286,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
import flask from flask import request, jsonify import json app = flask.Flask(__name__) app.config["DEBUG"] = True # Create some test data for our catalog in the form of a list of dictionaries. books = [ {'id': 0, 'title': 'A Fire Upon the Deep', 'author': 'Vernor Vinge', 'first_sentence': 'The co...
[ "sivaprakashsp@gmail.com" ]
sivaprakashsp@gmail.com
356c3d0d2080ca4ad61b6ecd2046b5002212c549
0dd881b86146eff46a99e3100a12addcb5b1bde9
/weipinghui2019_zifuchuanxiangjia.py
9450013b2f20ba2c8819ba996bb4dcb91ebcc8c8
[]
no_license
BaijingML/leetcode
8b04599ba6f1f9cf12fbb2726f6a1463a42f0a70
0ba37ea32ad71d9467f73da6f9e71971911f1d4c
refs/heads/master
2020-03-22T05:07:17.884441
2020-01-10T12:13:54
2020-01-10T12:13:54
138,399,745
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
#!/usr/bin/env python # encoding: utf-8 """ @version: python3.6 @Author : Zhangfusheng @Time : 2019/8/18 12:04 @File : weipinghui2019_zifuchuanxiangjia @Software: PyCharm """ if __name__ == "__main__": s1, s2 = input(), input() result = "" add = 0 if len(s1) < len(s2): s1, s2 = s2, s1 ...
[ "2670871693@qq.com" ]
2670871693@qq.com
1ea74cfbd3b53b0c894c7dd71a87e27f86ff80c8
9b6bf19373f9f17c1e47d3570229385815d9ff1b
/teams_ptt/ptt_teams.py
3c22364d8307dae1714b70b6cf2cd7d0d128cab3
[]
no_license
harshkc03/ADIC_project
06e5c0123b04f2607324e490251fcbfe5a182044
09ac7f56f32a6153f2689e30b72e58574e5c688e
refs/heads/master
2021-07-16T12:12:13.485559
2021-06-05T19:37:11
2021-06-05T19:37:11
249,772,458
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
from pynput.keyboard import Key, Listener from playsound import playsound import subprocess import os #pactl list source-outputs id = 0 def get_id(): result = subprocess.run(['pactl', 'list', 'source-outputs'], stdout=subprocess.PIPE) out = result.stdout.decode('utf-8') sepa = out.split("\n") indices = [i for i,...
[ "harshkc2000@gmail.com" ]
harshkc2000@gmail.com
59f2f670e79a73f9a63ea201812ba33058fc67af
20b781bcd6a96ae071f35fdc317515b8defa0e3f
/bin/easy_install
e8222c852e76e62b3669155e32c2f5f93e4488eb
[]
no_license
catchmrbharath/blog-catchmrbharath
977a709bdbcc2ea6471b8535fd6f8b5e6be0972b
94fd2f6b3666d2f721d1c61107dfde2fccbcd233
refs/heads/master
2016-09-05T22:37:10.489654
2012-10-13T05:48:01
2012-10-13T05:48:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
327
#!/Users/bharathmr/pr/pelican-blog/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'distribute','console_scripts','easy_install' __requires__ = 'distribute' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('distribute', 'console_scripts', 'easy_install')()...
[ "catchmrbharath@gmail.com" ]
catchmrbharath@gmail.com
aa6d9a1822835aebdd5132c6ba6a72d4ff601275
c49590eb7f01df37c8ec5fef00d0ffc7250fa321
/openapi_client/models/market_details_quote.py
9be5f6cec718e266059c4b82e375d42004f2e4ce
[]
no_license
harshad5498/ks-orderapi-python
373a4b85a56ff97e2367eebd076f67f972e92f51
237da6fc3297c02e85f0fff1a34857aaa4c1d295
refs/heads/master
2022-12-09T19:55:21.938764
2020-09-03T05:22:51
2020-09-03T05:22:51
293,533,651
0
0
null
2020-09-07T13:19:25
2020-09-07T13:19:24
null
UTF-8
Python
false
false
3,151
py
# coding: utf-8 """ KS Trade API's The version of the OpenAPI document: 1.0 """ import pprint import re # noqa: F401 import six from openapi_client.configuration import Configuration class MarketDetailsQuote(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://op...
[ "thebhushanp@gmail.com" ]
thebhushanp@gmail.com
a00eaff7c43f2734cc5e34167a1e3b2535928b9c
3b9082ed8c0717d40165f5cc520937c23e9c49c0
/lib/streamifiers/public_suffix.py
672978920b94dfef4ec6ab269c416a679a78dd1c
[ "BSD-3-Clause" ]
permissive
CYBAI/compression-test
2915c0d929be4689ba0df3beb1c19d808aef1405
ea1306131e32f44f97b197550e7b3a5d7734ad0b
refs/heads/master
2021-03-20T07:55:10.844035
2019-01-19T05:11:25
2019-01-19T05:11:25
247,191,443
1
0
NOASSERTION
2020-03-14T01:31:04
2020-03-14T01:31:03
null
UTF-8
Python
false
false
1,103
py
#!/usr/bin/env python from collections import defaultdict from . import BaseStreamifier, Stream from publicsuffix import PublicSuffixList class Streamifier(BaseStreamifier): """ Use the Public Suffix List <http://publicsuffix.org> to split the messages into streams, one per direction per suffix. """ def _...
[ "mnot@mnot.net" ]
mnot@mnot.net
c7e195895a5762cd347b5b37da20a0cef43c963e
881684ef179da51fc68a7f448d7bc9257e9eb9c2
/LinsBlog/myblog/migrations/0005_auto_20200801_1658.py
3bb58d6aee0e6b2ff9bb0d49add2c9c23e7ccc04
[]
no_license
Sharlinlins/Project
cfefc0d3aa0049de1bc443dfb1e87971314a89f9
12771c53c1273e38944b9175d91698c0f1cf8d3c
refs/heads/master
2022-12-15T02:35:23.243564
2020-09-10T11:27:34
2020-09-10T11:27:34
294,388,516
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
# Generated by Django 3.0.8 on 2020-08-01 11:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myblog', '0004_auto_20200801_1529'), ] operations = [ migrations.AlterField( model_name='post', name='category', ...
[ "Sharlinlins@users.noreply.github.com" ]
Sharlinlins@users.noreply.github.com
83e9de6ec92bd6a3b5cc5d7590f02b53fef9d194
d51ae5ad901442f117f68cbac61551fed4e6b89d
/article/migrations/0006_auto_20200326_1225.py
655cf381053b0eba3b0008d6b94b5d1127c72bd0
[]
no_license
wmc-wmc/wmc-ex_2
933717da29ef830d81eda1540ac3551d7f131e32
eea9ead0f66bd68167f46f796d154733b6b28dbc
refs/heads/master
2021-02-13T00:41:14.541497
2020-12-24T00:35:27
2020-12-24T00:35:27
244,646,110
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# Generated by Django 2.2 on 2020-03-26 12:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('article', '0005_text_subject'), ] operations = [ migrations.AlterField( model_name='text', name='image', f...
[ "ting@TingdeMacBook-Pro.local" ]
ting@TingdeMacBook-Pro.local
2bdb1b2385181fd239dace5a48e5ffa805a4bd4e
3c582a006b945cd95974d910ab5b0ff551ab42fa
/tsuru_dashboard/auth/tests/test_change_password_form.py
7842f5c31e26fd2cb7f2eda76671938ed23b4712
[]
no_license
tsuru/tsuru-dashboard
f8be15a72366a5cefeadd4a3aac117ed760e85bc
c94b0b1a6ec30d7f59b939adcff41646bad00e87
refs/heads/master
2023-06-22T12:01:20.024933
2022-10-20T19:50:47
2022-10-20T19:50:47
5,112,553
119
60
null
2023-06-13T17:53:35
2012-07-19T16:31:42
Python
UTF-8
Python
false
false
1,514
py
from django.test import TestCase from django.forms import PasswordInput from tsuru_dashboard.auth.forms import ChangePasswordForm class ChangePasswordFormTest(TestCase): def test_form_is_valid(self): data = { "old": "old", "new": "new", "confirm": "new", } ...
[ "andrewsmedina@gmail.com" ]
andrewsmedina@gmail.com
9cc14a0d8484b7a1274d7519a78757f8a1879fbc
244ecfc2017a48c70b74556be8c188e7a4815848
/res_bw/scripts/common/lib/ctypes/test/test_numbers.py
d22b4be81fa25957e12f9a9ea14e9e9cab2b4b56
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
6,859
py
# 2015.11.18 12:02:44 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/ctypes/test/test_numbers.py from ctypes import * import unittest import struct def valid_ranges(*types): result = [] for t in types: fmt = t._type_ size = struct.calcsize(fmt) a = struct.unpack(fmt...
[ "info@webium.sk" ]
info@webium.sk
2c61d2a6b698b46867da354fa68394e9d35fb506
be9716e8a831305fa3b2fbedf96ee9aa8f3cfaff
/Heuristics/Better_HalideAutotuner.py
d0ae6c0cdd7ad0825fcc7d41ebc763aaa50d542a
[]
no_license
Ikraam/HalideAutotuner
0b94e1c3b8de25cb11e67f69bc4697cf8f0b0f66
19153b72d2496bcdda980d8546bc9868f653d624
refs/heads/master
2020-03-11T11:03:55.880834
2018-06-13T05:04:30
2018-06-13T05:04:30
129,960,042
2
0
null
2018-05-03T12:29:33
2018-04-17T20:17:01
Python
UTF-8
Python
false
false
14,100
py
import hashlib import Restrictions_.ReorderRestriction_ as RR import Restrictions_.ParallelRestriction_ as PR import Restrictions_.SplitRestriction_ as SR import Restrictions_.TileRestriction_ as TR import Restrictions_.ComputeAtRestriction_ as CR import Restrictions_.StoreAtRestriction_ as StR import Restrictions_.Vec...
[ "=" ]
=