blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
385aee105ef70b0597d7b7110dd3fece93ab0f46
9f9f5f35447bdd6b97f53a4501c31f9b8a18fee1
/code/main.py
a37d1229b74eda718102f7283f3bc6cfcddc54bf
[]
no_license
omidMemari/Graphical-Models-for-Inference
d36214cbd3b131e875ff755f22da921ed38bf97a
44616752ab735997b93d10eac0913c107274f527
refs/heads/master
2020-06-29T03:44:23.373935
2019-08-04T01:21:38
2019-08-04T01:21:38
200,431,277
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
from string import ascii_lowercase import numpy as np from ref_optimize import ref_optimize def read_train(filename): #function to read training data mapping = list(enumerate(ascii_lowercase)) mapping = { i[1]:i[0] for i in mapping } with open(filename, "r") as f: raw_data = f.read() raw_data = raw_data.split("...
[ "noreply@github.com" ]
noreply@github.com
7fd84e341731f0099dc64fe1a810fec10afbe7f9
810f29a3a5f681d28218fed75580ddd73ae94b44
/gplib.py
d2d38e218ce3640fdf2729f278849fe7c4001573
[ "MIT" ]
permissive
juancq/shape-deform
1ca633b302203a13645418e860e73eac37a97f4c
aff55147027fe3607b790d61d6cd018e76e04256
refs/heads/master
2021-01-16T17:48:58.949374
2017-08-16T09:26:11
2017-08-16T09:26:11
78,915,826
1
14
null
2017-05-30T03:33:36
2017-01-14T05:18:01
JavaScript
UTF-8
Python
false
false
47,610
py
# This file is part of DEAP. # # DEAP is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation, either version 3 of # the License, or (at your option) any later version. # # DEAP is distributed ...
[ "juancq@gmail.com" ]
juancq@gmail.com
a781d858c1e8c02c4bd691f9fe847fe576644d9a
c345c0777b12a1c79ac1c0899e265517b4276e6a
/mongodm/document.py
bf073ec30654e93957b3d8d2f66203ef5faf7c55
[]
no_license
ezekial4/mongodm
25477cb0269fd4a60e24abd208debeb518c69904
cd9c930494469c92b70db33005cf76b9c7aeaded
refs/heads/master
2021-01-22T17:58:13.296692
2010-10-10T14:04:26
2010-10-10T14:04:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
from mongodm.base import BaseDocument class Document(BaseDocument): pass class EmbeddedDocument(BaseDocument): pass
[ "jean-philippe.serafin@dev-solutions.fr" ]
jean-philippe.serafin@dev-solutions.fr
81b6e5b811ec388584eaa75528e0c1cda7f67453
22121f89b1b038ac22d00567320ae7a9216df854
/src/project/settings.py
d21f2307888b558aedc68392392d073f8a0b1964
[]
no_license
lyudmila-petrova/base-docker-django2
6b90414b172ff503f2050662f3b9b81eea3e8e94
9ac4723622bbe92269b5278efd52eb2c901a3f09
refs/heads/master
2020-04-16T11:28:13.537035
2019-01-13T17:55:18
2019-01-13T17:55:18
165,537,656
0
0
null
null
null
null
UTF-8
Python
false
false
3,203
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 2.1.3. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os #...
[ "ging74ru@gmail.com" ]
ging74ru@gmail.com
e30fa6506f350a97a745e086e428e4acb9a12c07
3deb007e8e5704c8f27d4afd14625dd47131320a
/radio_recorder/src/Player/myomxplayer.py
f98e62fbdb5463ea53e9432e124bd142985b8de1
[]
no_license
NABUKAT/radio_recorder
d9a2bbaf92d4af1845e024429ef6493cf9e686e7
fb84b6974b3a3ce487a5f2e2a1350651d20635e7
refs/heads/master
2021-06-24T07:57:45.220545
2020-12-20T01:21:02
2020-12-20T01:21:02
180,361,691
0
0
null
null
null
null
UTF-8
Python
false
false
2,898
py
# -*- coding: utf-8 -*- import os import signal import subprocess import time class MyOmxplayer: def newplay(self, filepath): self.stop() command = 'exec omxplayer -o alsa ' + filepath subprocess.Popen(command, shell=True, stdin=subprocess.PIPE) self.setState("play") def stop(s...
[ "mekakujira@infoseek.jp" ]
mekakujira@infoseek.jp
50ed5e211beb07bedfe62e50e7f6390c2f8e1611
b981653d94eb5f6468025570170ebbe8b360f3a3
/Assignment2/task3.py
21c34855e311b996c93aadf25bd01614f317d86a
[]
no_license
sophia-e/SP
6ede43a0e0c244457255a27e1c9ea76c9f2df401
fa84148000abd8a17dd1c20dae530f484c109e5d
refs/heads/master
2021-01-24T00:31:54.547253
2018-05-20T18:13:20
2018-05-20T18:13:20
122,767,685
0
0
null
2018-03-09T17:55:27
2018-02-24T18:30:45
Shell
UTF-8
Python
false
false
817
py
import sys def findMatrix(mat1,mat2): mat1 = [int(i) for i in mat1] # converting lst of str to int count=0 for row in range(7): for col in range(7): if mat1[count] is mat2[row][col] and mat1[count+1] is mat2[row][col+1] and mat1[count+2] is mat2[row+1][col] and mat1[count+3] is mat2[row+1][col+1]: ...
[ "noreply@github.com" ]
noreply@github.com
df838dbd39a8ceea717cda702aa7f1c9d5478024
7264c6b1b91548926cfa3f2da488e3df110c4040
/clean_data/splice_data.py
bdc53968bf524c2a69f239635369276aa5e9abb8
[]
no_license
sonalg49/crop-yield-prediction-project
78c5b610f25cd178bd7ab90e0662572d4cf8940e
5e1a25a3ae536576692b554ec6da1c306b59947a
refs/heads/master
2020-05-16T08:02:44.934968
2017-06-13T00:44:24
2017-06-13T00:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
import os import numpy as np import sys src = sys.argv[1] ref = sys.argv[2] dst = sys.argv[3] def splice_data(src, ref, dst): ref_data = np.load(os.path.expanduser(ref)) csv = np.genfromtxt(os.path.expanduser(src), delimiter=',') # Unpack the data from the .npz ref_index = ref_data['output_index'...
[ "msabini@stanford.edu" ]
msabini@stanford.edu
6751813df7cadcbc722015f087934164f1982cbe
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res_bw/scripts/common/lib/email/mime/nonmultipart.py
527fda5afdf5a3217564dd26d8a2f0384691bce1
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
730
py
# 2016.02.14 12:47:55 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/email/mime/nonmultipart.py """Base class for MIME type messages that are not multipart.""" __all__ = ['MIMENonMultipart'] from email import errors from email.mime.base import MIMEBase class MIMENonMultipart(MIMEBase): """Base...
[ "info@webium.sk" ]
info@webium.sk
93d1146e7a1e36b119bebab77ccc0082e0014b5b
cb9a320899c40b8111bb5d6958ffe4ce9db36415
/views.py
4201532fae2f9230ddb64f6285ca58d4b8cbe9ee
[]
no_license
smc98m/Time_Display
89c402435267e4f0adfff00d31635cb705594532
3b0e05efb0d3fa8945682343d2c7a6c569895d5f
refs/heads/master
2021-05-17T20:58:40.527270
2020-03-29T04:04:54
2020-03-29T04:04:54
250,949,894
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from django.shortcuts import render from time import localtime, strftime def index(request): context = { "time": strftime("%b %d, %Y %I:%M %p", localtime()) } return render(request,'index.html', context)
[ "stevecates78@gmail.com" ]
stevecates78@gmail.com
f93fb4cb2935ee90b00aaa233691b20fc3ec8674
a9d324ce2a39a77936450ffd7981329c431bab08
/NLP_QP_DAY1_22DEC_FINAL/mymaxent.py
e12be9c244f73c0aec0357d5c7b778acc1e32cad
[]
no_license
rashrag/nlp-eval-day1
a22ad5a8b88b5fe0445dcf6aae73f350ba30ffb2
3ee90a361cc49395a0fc1def8517406b322f2e4e
refs/heads/master
2020-05-31T06:33:21.375982
2014-12-22T09:55:54
2014-12-22T09:55:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,183
py
''' MyMaxEnt.py MaxEnt Classifier Author: Anantharaman Narayana Iyer Date: 21 Nov 2014 ''' import json import numpy import math import pickle from scipy.optimize import minimize as mymin import datetime # ---------------------------------------------------------------------------------------- # maxent implementation...
[ "rashmi.raghunandan93@gmail.com" ]
rashmi.raghunandan93@gmail.com
f36f95ecbfd8f569c0474782833e94cff1d6118f
d3a34d883da6a8eef07b0a0956a06ebe9549353d
/functions_secondary.py
f8a1120fb35813191d82c7211f6bec3f55160408
[]
no_license
BriBean/Functions
49999fa1fb03e4d18a44de89a808d380106f7cea
6769663853dad2ae1bba4d7ab01034f6db43da9c
refs/heads/master
2023-06-17T03:05:16.353381
2021-07-11T22:12:18
2021-07-11T22:12:18
383,827,837
0
0
null
null
null
null
UTF-8
Python
false
false
2,054
py
# --------------- Section 3 --------------- # # 1 | Fahrenheit to Celsius Conversion # # Fahrenheit is way we measure temperature and is commonly used in the United States, the Cayman Islands, and Liberia. # The other unit of measurement is celsius. Celsius is commonly used throughout the rest of the world. Since they ...
[ "86678213+BriBean@users.noreply.github.com" ]
86678213+BriBean@users.noreply.github.com
284b51d2f5405f72fc1aedcc1386ba663dd15b2d
533b446fe70eb6cd609aadb65a53a73f58471c21
/application/controllers/callback.py
9ef91ffdee2e225daf0f65095c9db5aa6ddb6e4d
[ "Apache-2.0" ]
permissive
suqi/mdpress
1db53e8ec2bfb1d4ea79fe29efeb9f91cd683f28
b7d03d84c234d527e70a254bf52f96b1868fe34b
refs/heads/master
2021-01-13T01:21:12.956530
2016-11-27T15:21:02
2016-11-27T15:21:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
#!/usr/bin/env python # encoding: utf-8 from flask import (request, Blueprint, send_from_directory, current_app as app, url_for, abort, redirect) callback_bp = Blueprint('callback', __name__, '/callback') @callback_bp.route('duoshuo', methods=['POST']) def duoshuo_callback(): pass
[ "liqianglau@outlook.com" ]
liqianglau@outlook.com
903a4c7882fc3b807bd0373c0f0d85497a3184e3
7d5d8492c2d88b88bdc57e3c32db038a7e7e7924
/MarkSim-DSSAT/batchSites.py
cd21af694dfdd39389f5cc92bd3284f2a55387b3
[]
no_license
CIAT-DAPA/dapa-climate-change
80ab6318d660a010efcd4ad942664c57431c8cce
2480332e9d61a862fe5aeacf6f82ef0a1febe8d4
refs/heads/master
2023-08-17T04:14:49.626909
2023-08-15T00:39:58
2023-08-15T00:39:58
39,960,256
15
17
null
null
null
null
UTF-8
Python
false
false
1,324
py
#Read in a data file and apply MarkSimGCM python script import sys, os import csv csvFile = sys.argv[1] model = sys.argv[2] # Dictionary models decDc = {"avr": "average", "bcc": "bccr_bcm2_0", "cnr": "cnrm_cm3", "csi": "csiro_mk3_5", "ech": "mpi_echam5", "inm": "inm_cm3_0", "mir": "miroc3_2_medres"} year...
[ "cenavarror@gmail.com" ]
cenavarror@gmail.com
6ac6afcab379b4e921ab4f97c473f228d7f8a37d
eb70555428f1bcc1e41f345c2d9f7f5530c9e295
/polleria/migrations/0004_invoices.py
9569c669b1e4fa9a9db773f0aad04b1c9f162767
[]
no_license
Suheidy19/Proyecto-parte-2
d3ebe62020c147ef0c2c6d3a629804772d0406c0
842e1cad0d340286de2bd9cd9b710675f35cd28c
refs/heads/main
2023-01-08T19:35:07.297337
2020-11-15T02:08:04
2020-11-15T02:08:04
312,938,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
# Generated by Django 3.1.2 on 2020-10-28 22:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('polleria', '0003_auto_20201028_1618'), ] operations = [ migrations.CreateModel( n...
[ "noreply@github.com" ]
noreply@github.com
04a89b48cb3d11d283f06aa2d0dd8ce0d886a918
e783070ae1c50e529fb97af90df2a2bbd2c561fa
/articledumper.py
a5631b689c7f1cc06db49d2655ef46888555f540
[]
no_license
observantdimension/twitter-bot-prediction-code
18113798a77e7e9740c53676d703e49335e83129
30b7ed839beae60e6e453d5e4100179540e96f32
refs/heads/master
2022-04-15T06:50:16.594715
2020-04-13T19:17:52
2020-04-13T19:17:52
255,409,697
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
import shared import json import typing from nytimes import api def collect_article_pages(params: dict, page_count: int = 10) -> typing.List[dict]: pages: typing.List[dict] = [] for i in range(page_count): params['page'] = i print("Fetching page index %d" % i) pages.append...
[ "noreply@github.com" ]
noreply@github.com
17cbd59404e6774d0093023cd921bea9c0b812b8
3e5e8d6c1b39d459f4e489db083bd437f88bf213
/path/path_server.py
f998079d6e3812562f8b43147012f9300ab9e3bd
[]
no_license
emonson/SamVis
37b4f92e482a5227520c4f6b95896ab35d0b71e5
98f1dc793bc6a0a38785cb279cd8d27a44807b8b
refs/heads/master
2020-06-04T03:04:53.257031
2014-10-30T17:34:39
2014-10-30T17:34:39
9,029,161
0
1
null
null
null
null
UTF-8
Python
false
false
5,354
py
import cherrypy import json from path_obj import PathObj import os import glob class ResourceIndex(object): def __init__(self, server_url, data_names): self.server_url = server_url self.data_names = data_names @cherrypy.expose def index(self): return self.to_html() @cherrypy....
[ "emonson@cs.duke.edu" ]
emonson@cs.duke.edu
a91f1a29d2b88913cdb79f5181f207f5e3eadd65
05e634a232574f676434dfa8e4183f3d0a1a4bc9
/paddlecv/ppcv/ops/connector/base.py
9d315823ec24a76a0e34664c97122662ff637792
[ "Apache-2.0" ]
permissive
PaddlePaddle/models
67ac00d93c5255ac64a9d80ae5be2e8927e47cee
8042c21b690ffc0162095e749a41b94dd38732da
refs/heads/release/2.4
2023-09-04T15:23:59.543625
2023-07-20T11:54:16
2023-07-20T11:54:16
88,868,842
7,633
3,597
Apache-2.0
2023-09-05T23:23:54
2017-04-20T13:30:15
Python
UTF-8
Python
false
false
1,062
py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
[ "noreply@github.com" ]
noreply@github.com
dde962a6155bab28965c2ed4dfa4a581508ce225
69d3680f881833a0a4906ad708eac11401bc03c6
/python3/2. 01背包问题.py
2741d3ecf6749f95de6819feb609bb510721b0ff
[]
no_license
menghuu/YALeetcode
21df4b5ea6cb0a249263b0ce2df37e7580477ddd
1959a884bb1cc9f2f1acb1ba6f413498ea0d1aca
refs/heads/master
2023-08-18T03:55:41.470428
2021-09-11T12:39:02
2021-09-11T12:39:02
269,104,152
1
0
null
null
null
null
UTF-8
Python
false
false
457
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2020 m <m@meng.hu> # # Distributed under terms of the MIT license. """ """ import sys N, V = map(int, sys.stdin.readline().strip().split()) # dps[j] dps = [0 for _ in range(V + 1)] # dps[i][j] for _ in range(N): v, w = map(int, sy...
[ "m@meng.hu" ]
m@meng.hu
28c3703bfafc76e25ef8fc5c9da913bae9874f5d
cc6154486d4546a1394aac53dc5cfa5b1c4dfd02
/docs/source/conf.py
24d6fc870cd9b14bf251caaaa8fe5c7eec8edf10
[ "BSD-3-Clause" ]
permissive
AustralianSynchrotron/tiled
3c4448030c5fb53c952790ad4c501291bf427214
307d2f3b7e9b841afdf5af716f218584e4c3d530
refs/heads/main
2023-08-29T04:19:20.768182
2021-10-14T00:38:00
2021-10-14T00:38:00
416,939,893
0
0
BSD-3-Clause
2021-10-14T00:36:20
2021-10-14T00:36:19
null
UTF-8
Python
false
false
9,066
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # tiled documentation build configuration file, created by # sphinx-quickstart on Thu Jun 28 12:35:56 2018. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # auto...
[ "dallan@bnl.gov" ]
dallan@bnl.gov
9e5e7c3a4ebae93fb0337ad9bac489c04c22b1bd
f444b54d57d4c98548e57aec73163ce5a591ebc3
/Pandas v2.py
15994d5e4571b39c0baf4ab11e2c00817ba21505
[]
no_license
whitebeard4708/MiniProjectCZ1003
8e238965737edf41f03708bfa8a262ea5a2c247a
d44e19e8c014803ca928f081e829d3eceedf3cad
refs/heads/master
2020-04-25T22:35:23.543020
2019-02-04T04:03:26
2019-02-04T04:03:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,064
py
import pandas as pd from pandas import DataFrame from load_data import * infocan = infocan.set_index('Canteen') df = df.set_index(['Canteen']) #takes in foodtype = ['Food1','food2' etc], pricerange = [lower, higher as floats/int], the search term # rating = int(1 to 5) or 0 if not specified def searchfood(food...
[ "noreply@github.com" ]
noreply@github.com
d78302d7816ed974d3920bbf60e021cd1e37969a
ae3b1315aa3b2bce2c893bb7a53c34a6d14e6a65
/myslabs/manage.py
1b0e7153493dd7368ff12d456a7098aac43dd7aa
[]
no_license
Durga592/projects
a3948e9ccc5a677548fec78c555d631dee16049d
a6c4556fa1f41f8bf434d811f5ec9c8c38689849
refs/heads/master
2020-03-23T08:13:55.097014
2018-09-25T07:23:09
2018-09-25T07:23:09
141,315,308
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myslabs.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "pillamdurga592@gmail.com" ]
pillamdurga592@gmail.com
5bd61c7c7efdab5323ed156dd3f98da017bb79ca
0c13436580d409218a644df4bde0f9499ebdc4b4
/CyberPi/Python with CyberPi 100(童芯派 ure 数学计算语音小助手 脱机运行版本).py
a105e0f9515395dd69328b71408065a64f789c7c
[ "MIT" ]
permissive
binfen1/PythonWithHardware
e4c3e32bc7326b9f84103bd4f55e82be2bbda6ba
3e5ae890cb7a8e5e2c5a636092aca9ce21728ab2
refs/heads/master
2023-04-13T01:56:15.835900
2021-04-30T14:57:31
2021-04-30T14:57:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
"""" 名称:100 童芯派 ure 数学计算语音小助手 脱机运行版本 硬件: 童芯派 使用童芯派的语音识别功能,MicroPython的ure模块对识别的结果进行处理。 实现提问数学计算题,并得出结果的功能。 但是只能实现两个整数之间的加减乘除运算。 这个程序仅支持离线模式进行运行。 使用到的API及功能解读: 1.import ure 导入ure模块 2.get = ure.match('(\d+)(乘以|加|减|除以)(\d+)',result[0:-1]) 根据定义的正则表达式对识别结果的数据进行处理。()的作用是对字符串进行分组。 并将结果存放在变量get当中。 3.get.group(1) 获取get变量当中指...
[ "36698850+SCSZCC@users.noreply.github.com" ]
36698850+SCSZCC@users.noreply.github.com
2d1bf385aa0af57dac548b94154d0021b5bcbf2c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_069/ch31_2019_09_28_01_31_28_102445.py
f9f4884fb86277a703c6d470865f3c6e798b155a
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
valor = float(input('Qual o valor da casa?' )) salario = float(input('Qual o seu salário? ')) tempo = int(input('Em quantos anos deseja pagar? ')) prestacao = valor/tempo*12 if salario >= 0.3*prestacao: print ('Empréstimo aprovado') else: print ('Empréstimo não aprovado')
[ "you@example.com" ]
you@example.com
3e023f193c68c9ab08ac4d6d2ac5f80e9f724559
28c598bf75f3ab287697c7f0ff1fb13bebb7cf75
/starter.mmo/genesis/spell/spellmain.py
170cb2340251bc0dc466557b56c4e020fc7eafc1
[]
no_license
keaysma/solinia_depreciated
4cb8811df4427261960af375cf749903d0ca6bd1
4c265449a5e9ca91f7acf7ac05cd9ff2949214ac
refs/heads/master
2020-03-25T13:08:33.913231
2014-09-12T08:23:26
2014-09-12T08:23:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from genesis.dbdict import DBSpellProto from mud.world.defines import * import invulnerability
[ "mixxit@soliniaonline.com" ]
mixxit@soliniaonline.com
4af02874af21fb00dd02a0dd7d887d70dff3dce6
9bae02fa92143f559e6005fc517062c25446d899
/OpenPose/utils/openpose_net.py
f1aa9fa7906748d3bc7609c477fe1b1e5e2bb7e4
[]
no_license
ark0723/MyProject
09a7242421dbfadd8d84789987afb26ff69b6554
b795cedca3a83ae65c3e5906251c700c68a4fed1
refs/heads/master
2022-06-04T22:20:34.161126
2022-05-11T03:39:49
2022-05-11T03:39:49
112,449,372
0
0
null
2022-03-07T19:03:59
2017-11-29T08:41:49
Jupyter Notebook
UTF-8
Python
false
false
6,659
py
# -*- coding: utf-8 -*- """openpose_net.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1pltq4eMG2H-0IrJXxbxkcTl6D5oqqIdD # OPENPOSE - consists of 7 modules: feature module, 6 stage modules 1. Feature module (VGG-19): 3x368x368 -> 128x46x46 2. S...
[ "ark0723@gmail.com" ]
ark0723@gmail.com
4db29c010ff2a27a08eb9c384fd84310ac6fabac
afa5a0272775814beca41aec74ede64aa767688b
/SearchFiles2.py
b307e86a439d7a078bdcfb321174ed3483e7f1b8
[]
no_license
WinterSong/webbbbb
2c9e04b525ecf95d86559f24daf6ae3ba3157ace
bc5ece4bcfb541baa1fe734c78558c8521f809d0
refs/heads/master
2021-01-22T23:20:44.478721
2014-11-07T14:11:05
2014-11-07T14:11:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,140
py
#!/usr/bin/env python #coding:gbk from lucene import \ QueryParser, IndexSearcher, StandardAnalyzer, SimpleFSDirectory, File, \ VERSION, initVM, Version, BooleanQuery, BooleanClause import lucene import jieba """ This script is loosely based on the Lucene (java implementation) demo class org.apache.lucene.dem...
[ "ol7650@sjtu.edu.cn" ]
ol7650@sjtu.edu.cn
5fef8ea7f91e094835ace56319fab0b154591baf
18ca2e0f98b98941ff9d9e098e0be89166c8b87c
/Abp/Cp17/c17_7_1_resizeAndAddLogo2.py
1e9e0f0d7ca76bb52331717c0a1cfcf67a729979
[]
no_license
masa-k0101/Self-Study_python
f20526a9cd9914c9906059678554285bfda0c932
72b364ad4da8485a201ebdaaa430fd2e95681b0a
refs/heads/master
2023-03-07T07:38:27.559606
2021-02-22T16:24:47
2021-02-22T16:24:47
263,381,292
1
0
null
2020-06-09T17:32:06
2020-05-12T15:47:48
Python
UTF-8
Python
false
false
1,571
py
#! python3 # -*- coding: utf-8 -*- # 演習プロジェクト 17.7.1用に改造 # resizeAndAddLogo2.py - カレントディレクトリのすべての画像を300x300に収まる # ようにサイズ変更し、catlogo.pngを右下に追加する。 import os from PIL import Image SQUARE_FIT_SIZE = 300 LOGO_FILENAME = 'catlogo.png' logo_im = Image.open(LOGO_FILENAME) logo_width, lo...
[ "noreply@github.com" ]
noreply@github.com
c22c01818686115aaa4f416dc26874227498f59a
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/004621ef8e2f9da82e0ed2be016e874230d93a0d-<profiles>-fix.py
a3ec5d59222b96ebf703c7962993fe499e3d1581
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
@property def profiles(self): 'Returns a list of profiles from the API\n\n The profiles are formatted so that they are usable in this module and\n are able to be compared by the Difference engine.\n\n Returns:\n list (:obj:`list` of :obj:`dict`): List of profiles.\n\n Ea...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
499dac698c394953c5ffd843f634492c13239252
7c235b03e1a20653fe6312a5fe8d4893f4e4d8d5
/manage.py
f14e58b2973ae14082ae86a197a6425935308cad
[ "MIT" ]
permissive
wwangwe/Django-Forms
b143eca6e715f69fa11c5fc775140257510abc80
ce38d711271e2c999a767acdeb60978bb37e77c1
refs/heads/master
2022-11-17T05:49:56.459768
2020-07-18T06:24:04
2020-07-18T06:24:04
280,128,432
0
0
null
null
null
null
UTF-8
Python
false
false
626
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', 'dforms.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportE...
[ "wangwetymothy@gmail.com" ]
wangwetymothy@gmail.com
f1be83c2dcca72d6de7b4abaf1022f182b522ed1
2cbfac9fe3650a35fc52054ca30114f0af075634
/whoYouServer/asgi.py
eb0ab884e1a641f6ce3ac8129fa94de197921290
[]
no_license
mgjeffries/WhoYou-Server
7b9bea5f4b288bc5778ac70f086a69fb974f5499
54d6c2922d80e9360e31e3a6e6921b7742c27cfe
refs/heads/main
2023-02-24T13:35:51.093925
2021-01-29T21:55:36
2021-01-29T21:55:36
320,330,393
0
0
null
2021-01-29T21:55:37
2020-12-10T16:36:53
Python
UTF-8
Python
false
false
401
py
""" ASGI config for whoYouServer project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "gib.jeffries@gmail.com" ]
gib.jeffries@gmail.com
149cbde05cc6385c66a90062e7ac22763bf9aed1
a03a7935a191d63bee76fd3b85a61ee27f98904a
/test/tests/databases/pdbdatabase.py
819adafd698290f378a6eb7b80bb41c8c6c1bf27
[]
no_license
cchriste/visit
57091c4a512ab87efd17c64c7494aa4cf01b7e53
c72c413f571e56b52fb7221955219f11f4ba19e3
refs/heads/master
2020-04-12T06:25:27.458132
2015-10-12T15:41:49
2015-10-12T15:41:49
10,111,791
5
1
null
null
null
null
UTF-8
Python
false
false
6,311
py
# ---------------------------------------------------------------------------- # CLASSES: nightly # # Test Case: pdbdatabase.py # # Tests: mesh - 2D,3D curvilinear, single domain # plots - Pseudocolor, Subset, Vector # operators - Clip # # Programmer: Brad Whitlock # Date: ...
[ "bonnell@18c085ea-50e0-402c-830e-de6fd14e8384" ]
bonnell@18c085ea-50e0-402c-830e-de6fd14e8384
2a37b57347e8945b94ea8041f9511b3b88e12a17
72af8e47d5786571bce1789fc047965de4f9ac92
/api/__init__.py
ad16f4c6968b0f0d9cc72ec542f4a5cc4cc4663a
[]
no_license
444thLiao/WES_pipelines
18d488e7c01ca618b8a6916979e2d8f64d1aa631
06365dc6d91b8c1861c053970e2823c322e5814d
refs/heads/master
2022-01-20T17:59:11.688758
2019-07-17T06:43:44
2019-07-17T06:43:44
93,579,804
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
import sys from os.path import dirname sys.path.insert(0,dirname(dirname(__file__))) from luigi_pipelines.share_luigi_tasks import PrintReads, Annovar1, Annovar2
[ "l0404th@gmail.com" ]
l0404th@gmail.com
31dc0215be6259d4808edc3c665771c8756d1ffe
5715ae1bdb14f2f736990f77a7a2fc4ffd8886df
/4.2join.py
fb8ea26f7c0f677a87e35b42f5eae8d4affaf055
[]
no_license
simgek/simge4.2
00da58a3a08fe7d60c3aa2483e3daad5fe54df74
08fb73875f2b2565119af29e20392a2427952106
refs/heads/master
2020-06-16T16:52:06.763892
2019-07-07T11:13:44
2019-07-07T11:13:44
195,641,719
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
# .join metinsel değerleri bibirine eklemek için kullanılır seperator verilebilir metin = list(input("lütfen bir metin giriniz : ")) print("-".join(metin))
[ "simge.karademir@hotmail.com" ]
simge.karademir@hotmail.com
d9df56bc05415594d4dace334232f9d8315b1664
3724a1b95e95e611cdd793d1af685f72dfea6b3e
/cloudcafe/networking/lbaas/lbaas_api/member/request.py
50bac7f74346701af31e6329bccdc59bba639105
[ "Apache-2.0" ]
permissive
kurhula/cloudcafe
1b1e41994959cf959a49e19fea5cbda893d9c9df
7d49cf6bfd7e1a6e5b739e7de52f2e18e5ccf924
refs/heads/master
2021-01-20T22:45:27.425724
2015-02-20T16:49:35
2015-02-20T16:49:35
31,156,531
0
1
null
2015-02-22T07:56:08
2015-02-22T07:56:07
null
UTF-8
Python
false
false
5,537
py
""" Copyright 2014 Rackspace 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 agreed to in writing, software dist...
[ "franklin.naval@RACKSPACE.COM" ]
franklin.naval@RACKSPACE.COM
7c5d0a108ce1a97c84572b1c05a6cc3f1bb972a3
5a4ae6581fa70025a3c6cd4a8d8b0e179f10a7dc
/tests/past_api09_temptable.py
4fe41861e916ce3471721c4d49d36b41444d3818
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
Dev4Data/datatest
b250a465f4c313ebe8d59a1d273e4e1ce4f86619
bf136eab23c2b6ea36c201e1446fca9243c3fba6
refs/heads/master
2023-08-03T00:36:34.362741
2021-12-05T17:44:33
2021-12-05T17:44:33
136,925,059
0
0
null
2018-06-11T12:44:50
2018-06-11T12:44:50
null
UTF-8
Python
false
false
18,160
py
# -*- coding: utf-8 -*- import itertools import sqlite3 import unittest import datatest._vendor.temptable as temptable from datatest._compatibility import collections from datatest._vendor.temptable import ( table_exists, new_table_name, normalize_names, normalize_default, create_table, get_col...
[ "shawnbrown@users.noreply.github.com" ]
shawnbrown@users.noreply.github.com
f10f7382284cc7417f013dca6a837b09938678e6
04240339913c78fafab49e6a521f0aa130cfbc21
/Arrayplusone.py
e1558c2165c62dc8619d12839274b2eaf37ed917
[]
no_license
IreneYay/WallB_hw
ab3f4a8f9a1922f562fbc6b5c1e675867e20a7ca
3f4246f03283427507992db83e87191be86c49d1
refs/heads/master
2020-07-31T05:03:34.304188
2019-09-24T04:37:37
2019-09-24T04:37:37
210,493,022
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
class Solution: def plusOne(self, digits: List[int]) -> List[int]: string = '' for digit in digits: string += str(digit) number = int(string) + 1 st_ls = list(str(number)) digits = [int(c) for c in st_ls] return digits
[ "noreply@github.com" ]
noreply@github.com
ef35d4d21c0c69a4d991e93868072dc6cf75a519
61d484ae68e40b89432f66f98164c811692ee612
/ThirdParty/protobuf-registry/python/protobufs/services/profile/actions/get_profile_stats_pb2.py
55e84806eed9e93479af3fa9b97e42596ef5d993
[ "MIT" ]
permissive
getcircle/luno-ios
2a29192c130c48415e55b50850e77a1a37f22ad1
d18260abb537496d86cf607c170dd5e91c406f0f
refs/heads/master
2021-05-01T04:01:52.647661
2016-12-05T04:54:08
2016-12-05T04:54:08
27,101,758
0
0
null
null
null
null
UTF-8
Python
false
true
4,563
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: protobufs/services/profile/actions/get_profile_stats.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_...
[ "mwhahn@gmail.com" ]
mwhahn@gmail.com
bba750f4f5d2b831e16a33244d5dcbf9e58ec1ac
87dcb103e48da1fd17233232a7b4ad1d79ae50d5
/svtplay-dl
c90f98e505eedf0ecbe8124fd1bd4cc58c18b091
[ "MIT" ]
permissive
gusseleet/svtplay-dl
9bd64ba5c83775a12496a3dcd42282e5171249ff
55d811286df237738802ac9754417a8fed21280f
refs/heads/master
2020-12-25T02:30:14.399785
2016-02-19T20:29:49
2016-02-19T20:29:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
166
#!/usr/bin/env python print("This file is no longer updated.") print("if you still want to use it. go to https://svtplay-dl.se/archive and download the latest one")
[ "j@i19.se" ]
j@i19.se
0ffa89efc32e90f5aa9e80ddf58aa573e6770b11
0c1fb6f18843b3bdd0ebc7d34a35c55010922951
/pynng/_version.py
5d856b66c7975b40096a5ac5a35c919444ae3d4b
[ "MIT" ]
permissive
zakharov/pynng
cfff875e4b3fa4b9401fb6acf4635d1e610d78c2
840bf1de2818173ebc131f981401579b2ad8114b
refs/heads/master
2020-09-15T05:08:16.652573
2019-10-23T03:01:17
2019-10-23T03:01:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
# This file is imported from __init__.py and exec'd from setup.py __version__ = "0.4.1+dev"
[ "cody.piersall@gmail.com" ]
cody.piersall@gmail.com
dbcc1064037ae36418934a0b135236fad0326cfb
6e730794b5e82de22dabcb9028abdeb0ffd30c47
/ReadUserList.py
25163ac77b4eeaeccc98a8b38b8211c0c3a326c4
[]
no_license
jclemite/MyFirstScripts
cd27d5f170422e0da4482f665741b089bab9b823
8ef2628469aec1b44a25fb4f4e773b593cb7911e
refs/heads/master
2021-03-10T06:15:16.856852
2020-03-11T00:30:04
2020-03-11T00:30:04
246,427,957
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
# Pull in the CSV file and store it to file csvfile = open("UserList.csv", "r") # Read the file to convert it into text to store in contents csvtext = csvfile.read() # Split the contents into a list of rows based on the newline csvtext.split("\n") # Loop through the rows in order to find which ones contain "229.62.2...
[ "jclemite@gmail.com" ]
jclemite@gmail.com
04c70b36f52803ba29d570ccd09024bc08ec178b
24629ce0770477cc32b2a071de8cabdacfc3f03c
/third_year/dsp/lab6/lab6_2.py
a2e731037970e1cd9c1f5bc4f6610e72cc0b1b0b
[ "BSD-2-Clause" ]
permissive
Snake266/labs
491cddfed084c4782f21a3e92efc78a79f1fcef8
baff6528ec0e58e76b65f060186fb750263cb53b
refs/heads/master
2022-07-10T11:25:44.537328
2022-05-19T20:42:54
2022-05-19T20:42:54
355,807,635
0
0
BSD-2-Clause
2021-12-27T18:47:42
2021-04-08T07:35:29
TeX
UTF-8
Python
false
false
1,540
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu May 19 19:07:54 2022 @author: georgii """ from numpy import arange, cos, pi, abs, angle from scipy.fft import fft from scipy import signal from matplotlib.pyplot import figure, plot, grid, \ xlabel, ylabel, stem, subplot, close, tight_layout, legend d...
[ "georgiiba26@gmail.com" ]
georgiiba26@gmail.com
527d91152c67b64677184dd95c6904afda81cf7d
690dba68a42554906bbe8bea890cff1a3c08c2a4
/prac4/practical_4_part1.py
b5b4128da1c9ab7257cab91e81f209f897ae88cd
[]
no_license
jhylands/csteach
4cb3bed1fb1fbe72ee1eea074f242fa00a5b820f
a10f63f253bac546ddddf4cdd55db89b38784f9f
refs/heads/master
2021-01-10T09:07:47.144984
2016-02-28T14:38:21
2016-02-28T14:38:21
51,590,520
0
0
null
null
null
null
UTF-8
Python
false
false
3,165
py
sampleText = ("As Python's creator, I'd like to say a few words about its "+ "origins, adding a bit of personal philosophy.\n"+ "Over six years ago, in December 1989, I was looking for a "+ "'hobby' programming project that would keep me occupied "+ "during th...
[ "jhh521@york.ac.uk" ]
jhh521@york.ac.uk
f4e7f0e88b95e72ed71b719cc5ec004ce4f3a78e
c84ba95b559d0d1fd142c88dffec3da45cb8e711
/backend/users/migrations/0003_auto_20210115_1652.py
04ad1b16a0cd2f76a84ca29e9d06e1ab48a24855
[]
no_license
crowdbotics-apps/insta-23855
4460bc7f00d52a86f9c30f90249e451957d4b145
c3abded4dc1a1dcaf201da48fe12d348468c7a02
refs/heads/master
2023-02-11T13:48:17.207924
2021-01-15T16:54:09
2021-01-15T16:54:09
329,785,617
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
# Generated by Django 2.2.17 on 2021-01-15 16:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0002_auto_20210115_0235'), ] operations = [ migrations.AddField( model_name='user', name='last_updated', ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
13c9726cece639eb23085d411129eaa87a551621
87e60b0504be11c6997f1b20b72e9428cc128342
/ana/magic/histo.py
ea1f01da27e77f8533bcff0d15645274f3f75b83
[]
no_license
brettviren/cowbells
70a85856fdfc54526c847f115d5dc01ec85ec215
1ceca86383f4f774d56c3f159658518242875bc6
refs/heads/master
2021-01-10T18:44:41.531525
2014-04-09T15:17:29
2014-04-09T15:17:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,839
py
#!/usr/bin/env python ''' Histogram store ''' from UserDict import DictMixin import ROOT class Histo(DictMixin): ''' Provide a dictionary interface to a TDirectory (TFile) for managing ROOT Histogram objects (any TNamed object, really). The TDirectory must be associated with a TFile opened with the ...
[ "bv@bnl.gov" ]
bv@bnl.gov
b800cd2c856c4a73d0296b6c72dc072970c0415a
b4c0d3d58eb74d3b154190d3febcb3fef691481b
/scheme_tokens.py
820da6c951ef9a288ff70fa4ff37d7b52b32c709
[]
no_license
ericwxia/eScheme
8da8ae105ed768857a40bc20820fffce05db3de3
4de6d95a05e9c53c2edb36519e83531a9b89e1a4
refs/heads/master
2016-08-11T07:20:02.143106
2015-12-22T15:06:23
2015-12-22T15:06:23
47,124,067
2
0
null
null
null
null
UTF-8
Python
false
false
4,647
py
"""The scheme_tokens module provides functions tokenize_line and tokenize_lines for converting (iterators producing) strings into (iterators producing) lists of tokens. A token may be: * A number (represented as an int or float) * A boolean (represented as a bool) * A symbol (represented as a string) * A deli...
[ "eric.w.xia@gmail.com" ]
eric.w.xia@gmail.com
6c589576ecac4794475e82ad5cf099ebc0984bd6
bddb35d71b3768dc6da19d8d22865b4a66a72569
/0x0A-python-inheritance/9-rectangle.py
7585c62c6ad8de111bb545b70b5ff934f9d8219a
[]
no_license
ollyimanishimwe/alx-higher_level_programming
70e67425bb1a44c8e9ccb81beeb1319fe5d846c4
c44a66ac2c6b71bf392f250380732ce18e501592
refs/heads/main
2023-07-28T21:09:41.830780
2021-09-30T01:26:18
2021-09-30T01:26:18
377,280,734
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
#!/usr/bin/python3 """Coordinates of a square""" BaseGeometry = __import__('7-base_geometry').BaseGeometry class Rectangle(BaseGeometry): """Coordinates of a square""" def __init__(self, width, height): """Method""" self.integer_validator("width", width) self.integer_validator("heigh...
[ "imanishimweolyy@gmail.com" ]
imanishimweolyy@gmail.com
4eb5f6a1973d51f56c5840b06100a56e3a8e22e8
957430fc737d07df115f80dae22ce5cd11096689
/restaurants/table/migrations/0001_initial.py
36d1e79ffd34d9c15c9e0a9377af92f001469bf6
[]
no_license
Hamza-abughazaleh/Restaurant
c6ac28c029d1d2c8eadcf0a61575c54d39273623
ecffb9a7bf11b115aa0d33617f61e72697f327cc
refs/heads/main
2023-06-19T09:09:03.268647
2021-07-16T19:45:33
2021-07-16T19:45:33
386,622,768
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
# Generated by Django 3.2.5 on 2021-07-14 19:25 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import table.validation class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USE...
[ "hamzaabughazaleh23@gmail.com" ]
hamzaabughazaleh23@gmail.com
6764d6567a70fd6c2f2886bcd6dfc1234234f72f
edf31957838a65e989d5eb5e8118254ac2413fc8
/parakeet/analysis/collect_vars.py
66543535c72ccdc08e79053098b7cefbdccc4db0
[ "BSD-3-Clause" ]
permissive
iskandr/parakeet
e35814f9030b9e8508a7049b62f94eee5b8c5296
d9089f999cc4a417d121970b2a447d5e524a3d3b
refs/heads/master
2021-07-18T19:03:05.666898
2019-03-13T17:20:20
2019-03-13T17:20:20
5,889,813
69
7
NOASSERTION
2021-07-17T21:43:03
2012-09-20T16:54:18
Python
UTF-8
Python
false
false
1,523
py
from .. syntax import Var, Tuple from syntax_visitor import SyntaxVisitor class SetCollector(SyntaxVisitor): def __init__(self): SyntaxVisitor.__init__(self) self.var_names = set([]) def visit_Var(self, expr): self.var_names.add(expr.name) def collect_var_names(expr): collector = SetCollector() c...
[ "alex.rubinsteyn@gmail.com" ]
alex.rubinsteyn@gmail.com
b6293e11242c694c26602b35f2ac13d2b23179dc
86da8478bd5b28045581445263fded606f592158
/tests/network/nano_node/data/http/empty_watching.py
c91229055452ec790f8826079b0f4474b6efc22f
[ "CC0-1.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Matoking/siliqua
c2053214187ed6a2a1d418daf7e43108770c731c
b943822631ab18dde85e95d1731ebd7ffd7ef14a
refs/heads/master
2020-08-28T02:59:53.841369
2019-11-18T17:00:26
2019-11-18T17:00:26
217,568,445
8
1
null
null
null
null
UTF-8
Python
false
false
384
py
from tests.network.nano_node.conftest import HTTPReplay DATA = [ HTTPReplay( { "action": "account_history", "account": "xrb_15n1wthxc5ndjnoufdfe8m4z5j973o6trzwbfys4cu4gtju5mh4xc918fout", "count": 500, "raw": True, "reverse": True }, ...
[ "jannepulk@gmail.com" ]
jannepulk@gmail.com
0da7ffb9dba9e439310bf1bcbf75e589d3e0994f
a840bc7137f4b52bb7037bf43dd3a299477826ad
/rdlcompiler/config.py
57594f1de9e938b347540421bc68ccbe2cd62316
[ "MIT" ]
permissive
MegabytePhreak/rdl
766d68948af021f976d761efb5e3084ea4d6c500
b97912751738da9fddb42a9155f5823716809fc0
refs/heads/master
2020-05-30T14:28:14.330827
2014-04-15T23:57:35
2014-04-15T23:57:35
15,353,986
4
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
__author__ = 'MegabytePhreak' import ConfigParser import sys import os.path class Config(ConfigParser.RawConfigParser, object): _cfg_defaults = { 'rdlcompiler': { 'outputs': 'verilog vhdl html c' }, 'preprocessor': { 'perl': 'perl', 'perlpp': '/home/me...
[ "roukemap@gmail.com" ]
roukemap@gmail.com
34f85ad410331a5914a2517ee3343c14572b7b59
7a2bfe09f7526c36fce304999fa47466b89fdec2
/profiles/models.py
7cbf380d6bb77aeabe96546b9fe12b082a1ed6fc
[]
no_license
Brachamul/fichier-jdem
179344ba64b830c3f6e352907e470a1db8d42a9b
f9b40657aea54db83b3abd3e7b38fec9260d34e9
refs/heads/master
2021-05-01T00:37:50.021517
2019-02-07T15:02:06
2019-02-07T15:02:06
58,691,054
0
0
null
2017-07-04T21:13:01
2016-05-13T02:01:05
Python
UTF-8
Python
false
false
2,247
py
from django.db import models from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist from django.db.models.signals import post_save from django.dispatch import receiver from fichiers_adherents.models import FichierAdherents, Adherent, Cnil, adherents_actuels class Member(m...
[ "barnaby.brachamul@gmail.com" ]
barnaby.brachamul@gmail.com
c65f1d22e75919aa6f2e0331224a469b38b07173
c2ef3d85a051ad804c85e2b6c0b8a80f3404e0ac
/node.py
1872ac0ee492e68677965835e9b95b4e1b71fb37
[]
no_license
nrjshka/blockchain
dbd3a0809811d491faa8f8d30221e4441ba23abc
48ffe50b86be7ea823f3465829633f4551a4d596
refs/heads/master
2021-05-08T19:47:35.614926
2018-01-28T17:58:40
2018-01-28T17:58:40
119,579,122
1
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
from block import Block from flask import Flask import sync import os import json node = Flask(__name__) node_blocks = sync.sync() @node.route('/blockchain.json', methods=['GET']) def blockchain(): ''' Shoots back the blockchain, which in our case, is a json list of hashes with the block information which...
[ "nrjshka@gmail.com" ]
nrjshka@gmail.com
43f14733dab7aeb55fa6638826d2082794833096
8d5c089e60786e69ad9ace52f9e8c213598ebdaa
/temp.py
d10f094e6c712446ab05ea6869df8ed6704055a7
[]
no_license
kkranze/sandbox
07182da2bcfce8068c5792636b1ffb670daec824
7f7ccb84a4c5394ba2f2dbb85a34ec90fe0dd78c
refs/heads/master
2021-08-29T10:53:34.845262
2017-12-13T19:38:56
2017-12-13T19:38:56
103,175,265
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
temp = input("what is the temp in celcius") temp = float(temp) isfreezing = temp <= 0.0 isnormal = temp < 100.0 and temp > 0.0 isgas = temp > 100.0 if(isfreezing): print("ice") elif(isnormal): print("water") elif(isgas): print("gas")
[ "kkranze@sjnma.org" ]
kkranze@sjnma.org
4ce536bc1b17dc9cebbe3a53d7364bca5d55f1f6
6db9df0fc8629ca61601d8b556d9389feaac657c
/1_introduction_au_langage_python/tri_rapide.py
cef8cd0fe84b5ee36cb7907986518140e2b90edc
[]
no_license
mba-tradelab/programmation_python_mathematiques
2297d618957cb22caaad4ab9f55640e12316eceb
8b79dffbe0a01ff67aed5d337a9d975f5e289866
refs/heads/main
2023-01-12T01:55:48.693084
2020-11-06T19:08:43
2020-11-06T19:08:43
248,700,679
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
#!/home/antounes/anaconda3/bin/python3 #-*- coding: Utf-8 -*- # Génération aléatoire d'une liste from random import randrange n = 20; liste = [randrange(100) for i in range(n)] # Tri rapide # On choisit un élément au hasard que l'on appelle "pivot" # On le met à sa place définitive en plaçant # tous les éléments qui ...
[ "matthieu.brito.antunes@gmail.com" ]
matthieu.brito.antunes@gmail.com
19f6b9fdafe10ff719637dbb61652a609ed9605b
31014d91da72a0912ab3a7553846a8b1e4bd3b65
/tests/__init__.py
e041fbcd3dc60614f74004e490c2deceeb5bbc9c
[ "MIT" ]
permissive
fossabot/covariance
4f65ca0e0f5babeee953fac7791d7656eab09ea8
29e53861a0141039fe4c48580b1785d0b1be263f
refs/heads/master
2020-05-04T05:40:36.262392
2019-04-02T03:17:15
2019-04-02T03:17:15
178,990,282
0
0
null
2019-04-02T03:17:10
2019-04-02T03:17:09
null
UTF-8
Python
false
false
1,198
py
# -*- coding: utf-8 -*- # # # tests/__init__.py # # # MIT License # # Copyright (c) 2019 Brandon Gomes # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without...
[ "bhgomes.github@gmail.com" ]
bhgomes.github@gmail.com
f6345fee883766347e8a49dfa0c93038f32995b2
48a7b266737b62da330170ca4fe4ac4bf1d8b663
/molsysmt/_private/digestion/argument/chi3.py
ef60e618382a4208ce40cd84eadebbd653dad6de
[ "MIT" ]
permissive
uibcdf/MolSysMT
ddab5a89b8ec2377f383884c5169d147cab01322
c3d713ba63db24eb8a2426115cf8d9cb3665d225
refs/heads/main
2023-08-08T15:04:16.217967
2023-08-04T05:49:56
2023-08-04T05:49:56
137,937,243
15
3
MIT
2023-06-04T20:27:06
2018-06-19T19:38:44
Python
UTF-8
Python
false
false
407
py
from ...exceptions import ArgumentError methods_bool_input = ["molsysmt.topology.get_dihedral_quartets.get_dihedral_quartets", "molsysmt.structure.get_dihedral_angles.get_dihedral_angles"] def digest_chi3(chi3, caller=None): if caller in methods_bool_input: if isinstance(chi3, bool): ...
[ "prada.gracia@gmail.com" ]
prada.gracia@gmail.com
84b627ba4602460bc55788ddd1b76ae755127542
df92c0be5acca5802948720c10420045c1a049af
/app/schemas/SchedualeSchema.py
b6f97ed936210fcc77a81913967d7208dc2fc4bb
[]
no_license
abdalmonem/ustBoardBackEnd
c7148977cc5d56970cd77ae81dbef73d09a10fe3
c718f8b0099b2cf6e155d3822d2501b50fd0db2c
refs/heads/master
2023-03-30T22:19:02.533159
2021-03-23T06:41:45
2021-03-23T06:41:45
314,628,364
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from marshmallow import fields from .. import ma class SchedualeSchema(ma.Schema): position = fields.Int() day = fields.Str() material_id = fields.Int()
[ "48384773+donato95@users.noreply.github.com" ]
48384773+donato95@users.noreply.github.com
da60dde1e796db0872b0c257e878c1ebb4826cda
ffff723a6c8527b45299a7e6aec3044c9b00e923
/PS/BOJ/1238/1238.py
599cad18df66ed2c7caf926d2eb19296b2ffb8d7
[]
no_license
JSYoo5B/TIL
8e3395a106656e090eeb0260fa0b0dba985d3beb
3f9ce4c65451512cfa2279625e44a844d476b68f
refs/heads/master
2022-03-14T09:15:59.828223
2022-02-26T01:30:41
2022-02-26T01:30:41
231,383,838
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
#!/usr/bin/env python3 import heapq INF = 10 ** 9 input = __import__('sys').stdin.readline heappush = heapq.heappush heappop = heapq.heappop def get_dist_to_others(edges, src): nodes_cnt = len(edges) dists = [INF for _ in range(nodes_cnt)] heap = [ [0, src] ] while len(heap) > 0: [dist, node...
[ "jsyoo5b@gmail.com" ]
jsyoo5b@gmail.com
58524a12b5b29b2ac831f2220fdc3e44327a3539
419226d826561d09f5fc645f1397116e153ba656
/1_a_bite_of_python/1/function_keyword.py
60d8a150d79a8d4d4c15719caaabba62aaca257d
[]
no_license
andrei-kozel/Python
6ed2a612637bc93a0578166d6e09afeecd4dac73
d6c88ee80af4fdd0d5dd9700af74d50ab3f85759
refs/heads/master
2022-01-22T03:15:22.055754
2019-08-19T15:38:56
2019-08-19T15:38:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
def func(a, b=5, c=10): print(f'a is {a}, and b is {b}, anc c is {c}') func(3,7) func(25, c=12)
[ "bexxxa38@gmail.com" ]
bexxxa38@gmail.com
25214108f46273f7f891dc6e191487fd672383d8
dfc5d42556bd61f69374d07b5ba0fe67f1aa6e92
/products/migrations/0003_auto_20201126_1129.py
a20010c73ba054f2903f9e9178f8fcef6080382f
[]
no_license
kosisoNBG/PyShop
c4981e6554926f227e3191cb86ee92e58367855a
50b8d8d0aceeddc877499a2ef7afa49c5dc53f9e
refs/heads/main
2023-03-20T05:22:54.931419
2021-03-09T21:43:37
2021-03-09T21:43:37
317,730,738
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
# Generated by Django 2.1 on 2020-11-26 11:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0002_offer'), ] operations = [ migrations.AlterField( model_name='offer', name='code', field=m...
[ "devinfavourigboagui@gmail.com" ]
devinfavourigboagui@gmail.com
398f21dbb2ac383e748ab1e06f2585696364df4e
aeca7d8d822df582590e688e76207a7986137c86
/backend/src/climate/urls.py
f5eae18431586953e3bc63b8d7fe79446b792c0c
[]
no_license
davidwonghk/climate-uk
4ae3ea1eb43d6143ed2749140d7d4e5a87d89df9
ece6997f8c2190bbfa43ada668a22d225619e0ac
refs/heads/master
2016-09-14T02:36:24.766722
2016-05-07T00:38:03
2016-05-07T00:38:03
58,213,119
1
4
null
null
null
null
UTF-8
Python
false
false
212
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'pull', views.pull, name='pull'), url(r'options', views.options, name='options'), url(r'^$', views.index, name='index'), ]
[ "josh1313@hotmail.com.hk" ]
josh1313@hotmail.com.hk
6cb691ce7051a76fc2ac3de30b342f0186007575
0a90b58451d66b02fec5426f63b1751150915a5e
/Chapter02/Exercise2.02/Exercise2.02_Unit_test.py
439bca457d8d1071fa9c92d5dd2cc76890e29c69
[]
no_license
PacktWorkshops/The-TensorFlow-Workshop
fc6405021ae94f33a812ba62906061ca6ac485c4
38b49594a9cd1b984132346cd8189561ca22cb12
refs/heads/master
2023-01-05T16:01:57.189386
2021-12-09T06:03:01
2021-12-09T06:03:01
246,982,908
37
37
null
2022-12-26T21:37:39
2020-03-13T03:45:38
Jupyter Notebook
UTF-8
Python
false
false
1,017
py
import import_ipynb import tensorflow as tf import pandas as pd class DataTest(tf.test.TestCase): def setUp(self): import Exercise2_02 super(DataTest, self).setUp() self.exercise = Exercise2_02 self.data = pd.read_csv('../Datasets/Bias_correction_ucl.csv') self.data['Date'...
[ "moocarme@gmail.com" ]
moocarme@gmail.com
546664dc944f734fde1b16887bc05cfe6763ff9b
65662b604fa40bdc6e8648e39ed201b0dd8ad6fd
/Python Specialization/Course 4/code/party4.py
257a2d0f8d47dc1b565fc7854b62718b830ad3d4
[ "MIT" ]
permissive
rubysubash/Coursera-Specializations
973f9dbc01774dae84d90b6b97870a6dfde674bc
88acc792bbee20e8d9b8d34ff6f7c3072236d6f3
refs/heads/master
2020-08-10T02:43:08.277860
2020-06-02T09:48:25
2020-06-02T09:48:25
214,237,214
0
0
MIT
2019-10-10T16:52:27
2019-10-10T16:52:27
null
UTF-8
Python
false
false
295
py
class PartyAnimal: x = 0 name = "" def __init__(self, nam): self.name = nam print self.name,"constructed" def party(self) : self.x = self.x + 1 print self.name,"party count",self.x s = PartyAnimal("Sally") s.party() j = PartyAnimal("Jim") j.party() s.party()
[ "amandalmia18@gmail.com" ]
amandalmia18@gmail.com
ecb6d93377151ec11094a9ee9ea738af7f894f94
76ffafb479781dd8fbdcb2bff092d80ecf48f478
/manage.py
3a53a1bc9d6c0c2d937e92341a4230b90c569fa4
[]
no_license
iheyou/hynovel
41cbaaccbe54ae189b9f88a86b6071541a2081f2
2a4a509b21499ac6e1b5e62de3b95e55ae5fa055
refs/heads/master
2021-04-26T22:03:19.368990
2018-03-06T13:36:22
2018-03-06T13:36:22
124,017,040
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "hynovel.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are ...
[ "heyou0812@gmail.com" ]
heyou0812@gmail.com
f79a47370c73e4ae2a6103c656dd82bb344c29fa
3cecba834146371131fd5a6b1600ddb60e7068bd
/StyleBookGenerator/generater/tst2.py
46fed96027b6e4e05c1f340a6e4ef5936c6f20e0
[]
no_license
woohyukkk/Giovanna_OS_inventory_auto_update_system
86e52af40beca91e21149b27931d156421cf90e9
3b31dd7f54151f7a45d9965faa0c4d03a1d1a5b7
refs/heads/master
2020-03-16T23:11:55.730752
2019-03-06T22:56:20
2019-03-06T22:56:20
133,066,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
from PIL import Image from PIL import ImageDraw from PIL import ImageFont import os import csv import sys font1="arial.ttf" def watermark_text(input_image_path,output_image_path,text, pos): photo = Image.open(input_image_path) #output_image_path=output_image_path[0:len(output_image_path)-4]+' with watermark.jp...
[ "woo328968014@gmail.com" ]
woo328968014@gmail.com
7ee6ce359ed6e1d813749604b80b9ad58f8c50d4
dadc87ea470cc3879aff2d2f2c7c43dcf93952d9
/ex7_2.py
21e121a5bffcd1ecc34b51bc6be9f998eaf141cf
[]
no_license
geminiwenxu/machine_learning_1
d084816248a6497a3e956c0202987e94af2e3613
186dc0af3a1b680b6ccd87d4c88065488d26e42b
refs/heads/master
2023-04-26T00:10:00.713162
2021-05-17T18:01:13
2021-05-17T18:01:13
368,276,453
0
0
null
null
null
null
UTF-8
Python
false
false
5,831
py
import numpy as np import scipy.stats as stats from matplotlib import pyplot as plt def label(theta): return "[%2.2f, %2.2f]" % (theta[0], theta[1]) def generate_data(size): x = np.random.uniform(low=-1.0, high=1.0, size=size) noise = np.random.normal(loc=0, scale=0.2, size=size) t_n_ls = [] for...
[ "41744366+geminiwenxu@users.noreply.github.com" ]
41744366+geminiwenxu@users.noreply.github.com
21ffc6d27d9a03f77715918767b026d41c14815c
47243c719bc929eef1475f0f70752667b9455675
/bungeni.main/branches/larry_pitcher_deliverance/bungeni/models/tests.py
7c17f7d64ffa4c2ab9651d6e6789e18dabdccf85
[]
no_license
malangalanga/bungeni-portal
bbf72ce6d69415b11287a8796b81d4eb6520f03a
5cf0ba31dfbff8d2c1b4aa8ab6f69c7a0ae9870d
refs/heads/master
2021-01-19T15:31:42.943315
2014-11-18T09:03:00
2014-11-18T09:03:00
32,453,405
0
0
null
null
null
null
UTF-8
Python
false
false
3,015
py
""" $Id$ """ from zope import interface from zope import component import unittest from zope.testing import doctest, doctestunit from zope.app.testing import placelesssetup, ztapi from zope.configuration import xmlconfig from bungeni.models import schema, interfaces from interfaces import IAssignmentFactory, IConte...
[ "larry.pitcher@gmail.com@fc5d704a-7d24-0410-8c4a-57ddeba10ffc" ]
larry.pitcher@gmail.com@fc5d704a-7d24-0410-8c4a-57ddeba10ffc
2739ca371bf7aae0357f49ca9d5c508308fc5c31
561bbdf5e7f3c0793dafff0adc818300a6d4331c
/fibonacci.py
572a45560ed0fa5f19a790f726a546b58be17ff1
[]
no_license
lakivisi-zz/lolo_bootcamp
b88c3826826485fe250e686eb96854ef13228f9d
7240def3d6ade683742ec2426037ef5d155bfeab
refs/heads/master
2021-06-01T05:58:20.789641
2016-06-20T09:01:58
2016-06-20T09:01:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
def fibonacci(x): fib_list = [] f = 1 i=0 while i<x: if i<=1: fib_list.append(f) else: f = fib_list[-1] + fib_list[-2] #says that f = the sum of the last two f's in the series fib_list.append(f) i+=1 else: return fib_list ...
[ "loiceandia@gmail.com" ]
loiceandia@gmail.com
08a048fd6fab92b806d56314736965328a16bd91
49d383fbda1dace5307303a0985e9331e42f310e
/ciTool/Potluck_cloudera/Testcases/solution/Platform/verify_java_version.py
b5b8c5faff23d0b53f4b2041fa0e236993f94984
[]
no_license
tarun-batra-guavus/qa
44248e6068b545354fc27ab754344b53fee65b3e
62c48b10e977c20b33e6f95e4aacf90d3dacd5e2
refs/heads/master
2021-01-01T15:23:35.112534
2017-07-18T15:01:11
2017-07-18T15:01:11
97,610,041
0
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
""" Purpose ======= Check that Java version on its respective Nodes are as User Specified Test Steps ========== 1. Goto to shell 2. Execute "rpm -qa | grep -i "componentName" | grep "version"" and check that Java version on all Ansible machines are as User Specified """ from potluck.nodes import connect, g...
[ "tarun.batra@tarun-batra.local" ]
tarun.batra@tarun-batra.local
9c4fb664ee8464c5663b6903fbc9af27727f27dd
56c3b5e54e7bda2ac2e5434c369b4b2e873dcd51
/tests/test_serializer.py
9ec1f3b6729e8fd21669db603a83b7c14ab0bfc8
[ "MIT" ]
permissive
SimonCqk/cannondb
6b3b484c2510642a32d483ece88a2f7fb2d0f7e0
6623a09ea90e45f062d5b784b262b0b49d57bee8
refs/heads/master
2021-04-25T19:06:14.353718
2018-12-17T06:04:11
2018-12-17T06:04:11
108,551,097
15
0
MIT
2018-04-24T07:53:29
2017-10-27T13:41:58
Python
UTF-8
Python
false
false
2,605
py
from uuid import UUID from cannondb.serializer import IntSerializer, FloatSerializer, DictSerializer, ListSerializer, StrSerializer, \ UUIDSerializer def test_int_serializer(): s = IntSerializer.serialize(1) assert IntSerializer.deserialize(s) == 1 s = IntSerializer.serialize(-1) assert IntSeriali...
[ "cqk0100@gmail.com" ]
cqk0100@gmail.com
f3d3656ff52a22f3564e6b11a4f4d47ead489ea1
bce26e2d316ba7bdb1ca03cf7ade28744b12a14a
/dice.py
24dc39fdcff5a5eab478fcfc4b1fdb5afbbd67a7
[]
no_license
bacevedo1/gabe2o2.github.io
3a587bbb9910e8a7c70a78709b16ccf16f599a3f
5586d341171c231ba76baf8614810563ccf04780
refs/heads/master
2020-04-01T13:56:21.290021
2015-05-27T17:33:34
2015-05-27T17:33:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
from random import randint number = {2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0, 10:0, 11:0, 12:0} for i in range(500): rolls = randint(1,6) + randint(1,6) number[rolls] += 1 for z in number: print (number[z]/500)
[ "ggomez@kippnyccp.org" ]
ggomez@kippnyccp.org
50927c688affde7e346ff92204989892dfd8072b
3e447787927f33dba9048ed9c9c870c43c356b9a
/eval/miscc/config.py
1443b2e9dde71be412fcc94345e51757769168fb
[ "MIT" ]
permissive
yliu-code/ATTNGANwithBERT
d41e84188ab053c1d5480397f59e2a861b41d307
f11a186a7f938ba3bf548326095640ca70ef34ec
refs/heads/master
2020-08-05T08:25:03.401140
2019-10-03T01:03:43
2019-10-03T01:03:43
212,464,049
11
4
null
null
null
null
UTF-8
Python
false
false
1,293
py
from __future__ import division from __future__ import print_function import os.path as osp import numpy as np from easydict import EasyDict as edict __C = edict() cfg = __C # Dataset name: flowers, birds __C.DATASET_NAME = 'google' __C.CONFIG_NAME = 'attn2' __C.DATA_DIR = '' __C.GPU_ID = 0 __C.CUDA = False __C.WOR...
[ "noreply@github.com" ]
noreply@github.com
60ed7a594f04db99923f3bfc26025c81208239d2
25b80ea321e5f336f4ffeb1ff3ca17a38ae7af3b
/Tourniquet 2019/Project Tourniquet.py
287d0a854ce675891ae4346b8e383cdf6980a6b5
[]
no_license
m4m6o/tourniquet2019
eb203bb6410841068f5bc7e1f9de0b6b2344eced
17628923d9ef0591ba83690abf27f026f96a9192
refs/heads/master
2020-08-27T11:06:17.575402
2019-10-24T19:05:46
2019-10-24T19:05:46
217,344,403
0
0
null
null
null
null
UTF-8
Python
false
false
8,152
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # подключаем нужные библиотеки import win32com.client as com_client # для записи РІ excel файл import xlrd # для чтения РёР· excel файла import shutil # для создания excel файла СЃ опоздавшР...
[ "noreply@github.com" ]
noreply@github.com
f496808570d534acea82cfe877a130b206da08d4
a973f336765a31550cc9661be57e0384c317fc38
/ejemplo3/proyectoUno/administrativo/urls.py
8ef4aee1be71fedb011dd6c3682a4c4b57228cee
[]
no_license
PlataformasWeb-P-AA2021/clase03-2bim-ricardoifc
0a40d61f351525ab87cb2ce1f0982804cb50df37
35c42f8e5c3420bfa66103dcb45a75c5b27d5a5a
refs/heads/main
2023-06-19T17:46:12.663825
2021-07-16T17:47:59
2021-07-16T17:47:59
377,869,143
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
""" Manejo de urls para la aplicación administrativo """ from django.urls import path # se importa las vistas de la aplicación from . import views urlpatterns = [ path('', views.index, name='index'), path('estudiante/<int:id>', views.obtener_estudiante, name='obtener_estudiante'),...
[ "66690702+github-classroom[bot]@users.noreply.github.com" ]
66690702+github-classroom[bot]@users.noreply.github.com
2ef3099dcf36cfaa0932749b69643b1c445f167e
ab2c96d266cd605c5502ef0d91fa60fd5bd1e7c7
/websocket_main.py
167e5961c1b629e2f2074a7cd311525b3de82b6d
[]
no_license
harsh8088/py_ocpp16
89341e0c042c78af13ea250327ccb0d494c6c5a5
6bfa4a91e0e8c5e79f3fc502a9d00aff57cad484
refs/heads/master
2023-03-22T18:28:50.551685
2021-03-16T07:41:51
2021-03-16T07:41:51
348,254,902
1
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
import asyncio import websockets from datetime import datetime from ocpp.routing import on from ocpp.v16 import ChargePoint as cp from ocpp.v16.enums import Action, RegistrationStatus from ocpp.v16 import call_result class MyChargePoint(cp): @on(Action.BootNotification) def on_boot_notitication(self, charge_p...
[ "52234750+ev-harsh@users.noreply.github.com" ]
52234750+ev-harsh@users.noreply.github.com
8a4b3bf9b7ba9364d6b9e042be5f9f11431cbad1
801afed7debbb04a0c6514719a8de02f6239893e
/lamb/ebnf/transformer/ExpansionTransformer.py
1768f80cc78722fd8eaf3fb06eb4b3a7746b68d2
[ "MIT" ]
permissive
lay-it-out/lamb
05006f271c3eaa5d94c2f163e749e3065aea06fe
3eff8bde37b8f912766ae3c29619b0ceee283009
refs/heads/main
2023-08-12T17:54:25.864682
2023-07-27T05:26:18
2023-07-27T05:26:18
662,709,022
1
0
null
null
null
null
UTF-8
Python
false
false
878
py
from typing import List from lamb.ebnf.ast import * def expand_rules(rules: List[RuleNode]) -> List[RuleNode]: ret = [] for rule in rules: if isinstance(rule.expression, BinaryExpressionNode) \ and rule.expression.op == BinaryExpressionNode.BinaryOp.OrOp: ret.append(RuleN...
[ "me@panda2134.site" ]
me@panda2134.site
83015a912a969bacc8ea47d07520f4cefab2b708
f80bcbb2db66f8e62c5f1a97d5109e9bd1f5c545
/ChangeSeries.py
dd142a3143ab349f1ea207a7b2ce67e83b20904d
[]
no_license
jeffcarter-github/PygorPro
79992796a094201ad8222f3ee8a81987a1de1bd8
91b3cd5d8faf57ab2743d7eb8db74316578bb95c
refs/heads/master
2021-01-10T09:02:11.764300
2016-02-16T16:57:06
2016-02-16T16:57:06
51,124,944
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
from GUI_Change_Series_Type import GUI_Change_Series_Type class ChangeSeries(GUI_Change_Series_Type): def __init__(self, lst_of_dataFrames): GUI_Change_Series_Type.__init__(self, lst_of_dataFrames) self.series_names = [] def on_dataFrame_choice(self, event): pass def on_series_se...
[ "email.jeff.carter@gmail.com" ]
email.jeff.carter@gmail.com
eefe20163388b5773ce3e6f6ef0646037a137ef0
b84d00866f9e2c607eb57f0be5701121ab873e2f
/venv/Scripts/easy_install-3.8-script.py
d388c40f7a007e537476f9dbfb44930c992ef232
[]
no_license
hugodoser/CitilinkParser
b585c60091c26d1c6aa328c6139050166a433995
a165098563a26afe281dc9dc371718974bf504ce
refs/heads/master
2022-11-07T07:29:50.750951
2020-06-29T12:40:04
2020-06-29T12:40:04
275,809,984
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
#!C:\Users\hugod\PycharmProjects\PriceParser\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\...
[ "elfimov@kg.ru" ]
elfimov@kg.ru
b7eca7ba03157b9c372ca880c6db2b32cc1b5fc8
b915cceeae1823a6a52a06acc1f33c6dfb88f509
/tworaven_apps/ta2_interfaces/ta2_score_solution_helper.py
0b8754c34ef0e8e4df69086bc4599c41076f97a9
[ "Apache-2.0" ]
permissive
ginfo-cflex/TwoRavens
0fdf71eafbfbc881b8659c4ad553764088a3199c
3c84367f1eea297b1d9ed2aecaefee52ca66d203
refs/heads/master
2022-06-30T11:37:11.156781
2020-03-23T17:49:52
2020-03-23T17:49:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,086
py
""" Used to assist with TA2 calls, specifically: (1) ScoreSolution (2) GetScoreSolutionResults (contains fitted_solution_id) """ import logging from django.conf import settings from tworaven_apps.ta2_interfaces.websocket_message import WebsocketMessage from tworaven_apps.raven_auth.models import User from tworaven_ap...
[ "noreply@github.com" ]
noreply@github.com
9a91cb2a6678a29e4113661c2a771527004beed2
3c097ba5122e40551c98cf89747e710eb453a91b
/pwd.py
75e03071ad194e730f09519700a40496b6df8f65
[]
no_license
ann056/password
63b447188e2680ad0f99c6e2ba863faf27a15727
0b0381e8d9800ca8296c4cb1b16ab95110172086
refs/heads/main
2023-06-03T08:11:19.393329
2021-06-19T03:52:16
2021-06-19T03:52:16
377,924,818
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
password = 'a12345' x = 3 while True: pwd = input('請輸入密碼:') if pwd == password: print('登入成功') else: x = x - 1 if x == 0: print('帳號鎖住') break else: print('登入錯誤! 還有', x, '次機會')
[ "ann9975656@gmail.com" ]
ann9975656@gmail.com
317189b0c669303bb76ab30ecad1df6240ef6bb7
f1f313c6c904d87d626dc8564ee5b80132dc5983
/codebase/model/modules.py
35d227fc04379827c51973d73508061b4a82f7c4
[]
no_license
counterfactuals/AmortizedCausalDiscovery
98875fcca1dbdbac1f9f2bdf9b0d8b893d9533c7
23a1cfb7dd2634ebb9e2f8f0bd5f0cc20ca0b131
refs/heads/master
2022-11-10T06:08:19.379156
2020-06-22T14:48:25
2020-06-22T14:48:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,421
py
import torch.nn as nn import torch.nn.functional as F import math import torch from model import utils class MLP(nn.Module): """Two-layer fully-connected ELU net with batch norm.""" def __init__(self, n_in, n_hid, n_out, do_prob=0.0, use_batch_norm=True, final_linear=False): super(MLP, self).__init__...
[ "idnix@web.de" ]
idnix@web.de
75a2fb525799df8a0e2d223697efd86e076313db
067973ace96c1d194eda3b6941a855ade08600f1
/robosuite/environments/sawyer_lift_vj.py
007c87919858ec0ca5d72e2de50f7e71c0a9316e
[ "MIT" ]
permissive
v1viswan/dexnet_rrt_planner_surreal_robosuite
b66f90d0c7bdb6d0ea1494fc97ba271967fc88f2
d66753963776ee4dd95b0b2b58a8618644e346f4
refs/heads/master
2020-11-24T09:13:53.541504
2019-12-14T18:40:05
2019-12-14T18:45:15
228,070,965
14
1
null
null
null
null
UTF-8
Python
false
false
13,672
py
from collections import OrderedDict import numpy as np from robosuite.utils.transform_utils import convert_quat from robosuite.environments.sawyer import SawyerEnv from robosuite.models.arenas import TableArena from robosuite.models.objects import BoxObject, BallObject from robosuite.models.robots import Sawyer from ...
[ "v1viswan@eng.ucsd.edu" ]
v1viswan@eng.ucsd.edu
153cfd01633ca97232addf13f8245fc820adc4df
6aa7e37718c98af578a0b30ad471800b0604b5e6
/splider/article_helper_test.py
811ae3d805383ca0916895666d186d580cba067f
[ "MIT" ]
permissive
WangHongshuo/Acfun_Comment_Splider
3a351aaef419f19b58f1be90bdef8f802587b735
64bf822e9ceb59e296e9add14fd3ec6564efc406
refs/heads/master
2020-08-06T00:25:49.231990
2020-01-05T15:36:42
2020-01-05T15:36:42
212,770,177
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
from article_helper import ArticleHelper from url_config import ARTICLE_ZONE def main(): article_helper = ArticleHelper() article_list = article_helper.get_article_list(ARTICLE_ZONE[0].get('list_id'), ARTICLE_ZONE[0].get('realmIds')) # 存入 articles sql的内容:aid(唯一), comment_count(用于判断是否更新comments sql) f...
[ "iswanghongshuo@foxmail.com" ]
iswanghongshuo@foxmail.com
b4576b0c26d7d39045f9bfb13fd5be9c1b1f2acc
e6b6a1b6b3552c26bedc6269683b02c4fe05691f
/tests/test_queue.py
0de8ccd430f5bf6247aafe4649025c1c3e0919d3
[ "BSD-3-Clause" ]
permissive
bwhmather/python-lalr
7f76d78a890150348e092f0b40b317763c1d530c
8a98db00c05ee7c13a5e5ec7b580d28e04cb43ca
refs/heads/master
2022-02-07T01:17:59.589355
2022-01-30T00:11:52
2022-01-30T00:11:52
63,543,499
1
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
import pytest from lalr.utils import Queue def test_iteration(): tasks = ["A", "B", "C", "D", "E", "F"] queue = Queue(tasks) assert [task for task in queue] == tasks def test_insertion_during_iteration(): queue = Queue([1]) for task in queue: if task >= 128: break ...
[ "bwhmather@bwhmather.com" ]
bwhmather@bwhmather.com
421acea2ffbf3cdace86642508a1e2820482a291
8bf7d1a0b1dec4b6807a02deeea1de7d1a8e1960
/hog.py
cdadd7fda0d7728f2676c1a70520fb345e92455d
[ "MIT" ]
permissive
mcflugen/hog
ff3a1c7525d1a75efcc437105c247dfb84cad821
937d8b81a8fe1a8bf50e5346f281e25c72ec6816
refs/heads/master
2020-05-17T10:39:23.195225
2015-01-31T21:47:36
2015-01-31T21:47:36
30,127,491
0
0
null
null
null
null
UTF-8
Python
false
false
3,441
py
#! /usr/bin/env python from __future__ import print_function import os import sys import types import pwd import time from collections import defaultdict from datetime import datetime, timedelta from stat import * import pandas def itertree(top): for root, dir, files in os.walk(top): for fname in files:...
[ "huttone@colorado.edu" ]
huttone@colorado.edu
90ae9d9dd84f0557e4e92628820240e1bd04d388
9460d90253e94197233ac121456f19fde194a969
/tests/tron/test_account.py
6e4523a2bf8aa13410d5ee5425b2f2c04e440104
[]
no_license
max-block/mb-tron
c64219cfb643946044a08eb87153d2a4a7811be7
560fb52716951d865bf991f33f9ff23bd02cebfb
refs/heads/master
2023-06-06T09:58:08.687966
2021-06-30T08:17:47
2021-06-30T08:17:47
375,305,203
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
from mb_tron.tron import account def test_generate_account(): acc1 = account.generate_account() acc2 = account.generate_account() assert acc1.address.startswith("T") assert acc2.address.startswith("T") assert acc1.address != acc2.address assert account.is_valid_address(acc1.address) assert...
[ "maxblock@pm.me" ]
maxblock@pm.me
a89cab30f1281c4b2bf90fe374743b37ded0ff69
d33f66545aec29582f353eee62b78739cf82fa74
/src/ingestCora.py
eec084cd69591076b5a67ede161a65147ca2ef5b
[]
no_license
calnick1/nodes2021-link-prediction
ad193d58e20e4ea8e562cc9313e0a2ba61a7629d
120c0b4bc1ef10473a6576531ddf88dd3e5b51ff
refs/heads/master
2023-06-04T14:25:38.895755
2021-06-17T15:17:51
2021-06-17T15:17:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
from neo4j import GraphDatabase cora_content = "../data/cora.content" cora_cites = "../data/cora.cites" subject_to_id = { "Neural_Networks": 0, "Rule_Learning": 1, "Reinforcement_Learning": 2, "Probabilistic_Methods": 3, "Theory": 4, "Genetic_Algorithms": 5, "Ca...
[ "breakanalysis@gmail.com" ]
breakanalysis@gmail.com
2e9288d48b1eb01dd9f89c442ac250c7f7eb7c21
c2ba09216f52b0e76576364355cc5e3c428d0710
/ctrip_scrapy/ctrip_scrapy/ctrip_redis_push/detail_parser.py
d56f86cf8ad58b73a8bf467f4ae943e6d6a77086
[]
no_license
hail-linda/Scientific-computing-2-hours-in-Python
cfe2dc41a941a46cf8eeb9878d59bef0933fa0d6
86f763bcb474ac588f449c73745c09cc9ccdfdc1
refs/heads/master
2023-04-21T10:02:07.547346
2021-05-17T18:53:39
2021-05-17T18:53:39
331,648,727
8
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
from parser import Parser from pymysql.err import InterfaceError import json class DetailParser(Parser): def run(self): sql = "SELECT id, response FROM house_detail_response WHERE status=0 AND parse_status=0" self.cursor.execute(sql) rows = self.cursor.fetchall() data = [] ...
[ "Lixinda128" ]
Lixinda128
768dc9a5cdbd9c14c1d015c30ad64f4d57ad601e
e3df0e321e8bcf6e7d70644dccf5ea4f109580e8
/byteprint/bp/core/installation/__init__.py
0c5eea7661b22396d08471f9c25d3c7e0e5e4a21
[ "MIT" ]
permissive
colingourlay/byteprint
65af7b9e01299c1e62f4cb03c5641e12fcf39860
184ddb5eac48a48507e20553f82b2f16c1a29fda
refs/heads/master
2021-01-13T02:25:56.834846
2010-05-20T14:47:53
2010-05-20T14:47:53
677,022
2
0
null
null
null
null
UTF-8
Python
false
false
243
py
from django.contrib.auth.models import User def is_installed(): try: superusers = User.objects.filter(is_superuser=True) if len(superusers) > 0: return True return False except: return False
[ "colin.j.gourlay@gmail.com" ]
colin.j.gourlay@gmail.com
39c5695cb627b2cbc775e29d5e8df89250bac8eb
dcb1fed6d771ccdc61200bc1be0bb6ab8713cbea
/build/offboard/catkin_generated/pkg.develspace.context.pc.py
1eae1684e503a10bdc1b59c200f2eef0a20b2e3e
[]
no_license
elisabetta42/Thesis
c006704626dc3aba2b487fdbf80ae64f543b2c82
2f0031ab3d439c7b2868b1f894018471032e7732
refs/heads/master
2021-05-14T02:12:11.095805
2018-06-17T23:40:33
2018-06-17T23:40:33
116,586,414
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "offboard" PROJECT_SPACE_DIR = "/home/...
[ "eseggioli@gmail.com" ]
eseggioli@gmail.com
a17ec0f94663044d8ad121c70920cb880c8289a6
9eaa705b0fe4d477cc41a2b849f1689fa2a664f2
/amisapp1/migrations/0050_lab_profile.py
5f7e4da49bff7d203a37a6cf03aba847b4ff1a56
[]
no_license
amit631308/check
c6d3b34b2a0075f376274c9929cfc9cda725b88a
e0c68f9386783d4d9837282f1df0c090b4173f77
refs/heads/master
2022-12-01T16:47:37.521328
2020-08-16T17:45:22
2020-08-16T17:45:22
287,515,465
1
0
null
2020-08-14T11:17:38
2020-08-14T11:17:38
null
UTF-8
Python
false
false
1,136
py
# Generated by Django 2.2.12 on 2020-08-16 15:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('amisapp1', '0049_auto_2...
[ "amit631308@gmail.com" ]
amit631308@gmail.com
69a1e8c4b1c4414aa0fd5bb630f5ed30027ae42c
cf5149e28346bef5d77d827ddbb3303fc4a89ff4
/bert4torch/lightmodel.py
dd1352373c5664ff83467f845f615b9d4013d713
[ "MIT" ]
permissive
yotofu/t5-pegasus-chinese
1e98794253f1e3253606868053a77f29aced679b
ef8de37ff2e2911ae308f5de937547a71945cdeb
refs/heads/main
2023-09-03T13:23:43.968272
2021-11-15T17:14:32
2021-11-15T17:14:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
import torch import pytorch_lightning as pl from pytorch_lightning.callbacks import Callback import datetime from pytorch_lightning.core.decorators import auto_move_data class LightModel(pl.LightningModule): def __init__(self, net, optimizer, loss_fn=None): super().__init__() self.net = net ...
[ "806416908@qq.com" ]
806416908@qq.com
6ca76d92bdd9bb5935e9736f4f2df6192bfd5e25
2a269e46075037eba48051f08ef2aa3df11c291b
/person/migrations/0001_initial.py
136a900ceaceae9b06f29f08673f2d2fad483cc9
[]
no_license
praneshsaminathan/Django-Multi-Tenant
755a9361c0c8d80cfcb2a39a1062641b130dae20
acb02b60c475c7abc1f80e8c032ea68245db7449
refs/heads/master
2023-02-02T04:43:51.705540
2020-12-13T12:14:35
2020-12-13T12:14:35
320,832,426
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# Generated by Django 3.1.4 on 2020-12-12 11:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='MyUser', fields=[ ('id', models.AutoField(a...
[ "pranesh" ]
pranesh
c28fcd27808d7a35e66beec85cb206831386a2a1
c582e3c7830c56030ceeea7de5e0ff8ab696a786
/DJANGO/Django Forms/1 Django Forms basics/views.py
56e0c26e0d02d0f506bb98fb579fc57c8278a0c5
[]
no_license
kubalisowski/Docs
e4e23d3eb94b8116c1045934d886489d582fca9e
54ce7261747ece0123dc5e977eb3df62a8240f4b
refs/heads/master
2022-12-11T19:37:17.515147
2019-11-01T21:14:42
2019-11-01T21:14:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
from django.shortcuts import render from . import forms ### might be also from basicapp import forms def index(request): ### just for index page return render(request, 'basicapp/index.html') def form_name_view(request): form = forms.FormName() ### Importing previously created class of form from form.py; e...
[ "kubalisowski94@gmail.com" ]
kubalisowski94@gmail.com
9bdf0b23533683e150f463573dbbc503fff15af3
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/auto_rig_pro/auto_rig_datas_export.py
0ad9f6059d3985af9e8018a74ef2027c38c661bb
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
{'eyelid_top.l': ('Transformation', (0.0, 0.0, 0.0, 0.0, 0.0, 1.5)), 'eyelid_bot.l': ('Transformation', (0.0, 0.0, 0.0, 0.0, 0.0, 1.5)), 'eyelid_top.r': ('Transformation', (0.0, 0.0, 0.0, 0.0, 0.0, 1.5)), 'eyelid_bot.r': ('Transformation', (0.0, 0.0, 0.0, 0.0, 0.0, 1.5)), 'c_foot_bank_01.r': ('Transformation', (0.0, 0....
[ "root@localhost.localdomain" ]
root@localhost.localdomain
1b1b516e13b61afed8cb370bb7337ae07d892668
217726212a0b93095737c0015153314afd725871
/podcasts/admin.py
0e43953e30a8d0589b55a540c01ef89f8aef676b
[ "Apache-2.0" ]
permissive
gitter-badger/tapedrive
e605fba7474e18dbb4081364981fd1fd2d1060fe
51ce4765b5e974ea19340ac2127a36597d8e7763
refs/heads/master
2020-03-16T19:17:14.556243
2018-05-10T13:52:59
2018-05-10T13:52:59
132,908,751
0
0
null
2018-05-10T14:04:32
2018-05-10T14:04:32
null
UTF-8
Python
false
false
527
py
from django.contrib import admin from .models import Podcast, Episode, EpisodePlaybackState # Register your models here. @admin.register(Podcast) class PodcastAdmin(admin.ModelAdmin): # fields = ('title', ) pass class PlaybackStateInline(admin.TabularInline): model = EpisodePlaybackState @admin.regist...
[ "mail@janwillhaus.de" ]
mail@janwillhaus.de
5dab7e3bfdea2a2c594b3dad9518850e875f603f
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/B/buttub/basic_twitter_scraper_179.py
43a79636f9de0b40da964a9dc909525b46726714
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,294
py
################################################################################### # Twitter scraper - designed to be forked and used for more interesting things ################################################################################### import scraperwiki import simplejson import urllib2 # Change QUERY to y...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
2ee9450d96743b4f874b933239d1ce2444821e2f
32617ad3bee46a9d5896fb05b07edbdcc77431b0
/RDFM_RAW/factorization_machine_online.py
40b2bed842d7d47b3c36a168e1363ced3a9dfd21
[]
no_license
andreblumenau/RDFM
21bbfc79afd644e803594cd4efddaf21579f8287
5dbf1b38c3b3aea29b21d846ebb841d264552ac2
refs/heads/master
2020-03-28T09:15:43.488559
2019-08-06T01:56:09
2019-08-06T01:56:09
148,024,495
0
0
null
null
null
null
UTF-8
Python
false
false
5,291
py
import numpy import cpu_learning from cpu_learning import optimize import gc from pre_process import DataProcessing #Talvez desnecessário from metrics import evaluate from metrics import evaluate_rmse class FactorizationMachine: def get_random_weight_matrix(self,number_of_features,number_of_latent_vectors...
[ "blumenau.andre@gmail.com" ]
blumenau.andre@gmail.com
602ecc8bdddf40e9c5c4b9d685bd1df5dec327b2
f89c7186b619d2196c53de268e616c324e3036a0
/telecomdata_userchurn_logregwithpca/src/models/model_evaluation.py
b8206f1de647b6fd5092d61eb6cc57f4a009052b
[]
no_license
naveenkumarbs/myPythonWorkspace
f03e6f981725e72bb1b5d6e4199c59296a1247c6
88e9f395b92c02951e8850cfad0ffb9bc14a182d
refs/heads/main
2023-08-22T07:10:56.802952
2021-10-31T13:59:47
2021-10-31T13:59:47
423,146,463
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
from sklearn import metrics def generateAccuracyScore(actual, predicted): accuracyScore = "{:2.2f}".format(metrics.accuracy_score(actual, predicted)) return accuracyScore def generateROC_AUC_Score(actual, predicted): roc_auc_score = "{:2.2f}".format(metrics.roc_auc_score(actual, predicted)) return r...
[ "naveenkumar.6027@gmail.com" ]
naveenkumar.6027@gmail.com
11eaad49e2f332332ac43910e59112ef2d27a95d
c0340c511cff5b40b4681c4d3238d807624c0323
/models/revision/branching_entropy/branching_direction_entropy.py
88c5d3c8f2bdf70871641d209a2d1963a11af595
[]
no_license
m-hahn/grammar-optim
5fa7ade47d2ad91f517c887ee2c65af24059069d
07a1a80692a504bcafc8120a21c4dc9066b495ee
refs/heads/master
2022-08-30T06:54:42.749264
2022-08-05T12:09:28
2022-08-05T12:09:28
156,456,167
13
2
null
null
null
null
UTF-8
Python
false
false
4,065
py
#/u/nlp/bin/stake.py -g 11.5g -s run-stats-pretrain2.json "python readDataDistEnglishGPUFree.py" import random import sys from math import log, exp from random import random, shuffle from corpusIterator_FuncHead import CorpusIteratorFuncHead languages = ["Hindi", "Swedish", "German", "Urdu", "English", "Spanish", ...
[ "mhahn29@gmail.com" ]
mhahn29@gmail.com