blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
a18d6a2dec529d3ec7e607d68fa268b6e10ab14f
fea398a9638acdfa2fb06e7a9695d5894452ded7
/0x03-python-data_structures/6-print_matrix_integer.py
94690f8578ca1d676f2b335b5640454178a148b3
[]
no_license
OscarDRT/holbertonschool-higher_level_programming
d15585aa93ced9bc04464ced9bfd4197e73c42fa
f57ef3344df6350bded78ffce975eea693e67727
refs/heads/master
2020-09-30T19:56:30.788311
2020-05-14T19:52:10
2020-05-14T19:52:10
227,360,960
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
#!/usr/bin/python3 def print_matrix_integer(matrix=[[]]): if (matrix): for i in range(len(matrix)): for j in range(len(matrix[i])): print("{:d}".format(matrix[i][j]), end='') if (j < len(matrix[i]) - 1): print(' ', end='') print()
[ "oscarnetworkingpro@gmail.com" ]
oscarnetworkingpro@gmail.com
fd7d056dca6eb683dac51fb9acb8977975310b3c
872cd13f25621825db0c598268ecd21b49cc2c79
/Lesson_11/unit_tests/test_client.py
10a7ec604a3caf9f471dcc27973a5e6aa6a5b511
[]
no_license
ss2576/client_server_applications_Python
c4e9ebe195d23c8ca73211894aa50a74014013d5
9b599e37e5dae5af3dca06e197916944f12129d5
refs/heads/master
2022-12-15T10:40:22.935880
2020-08-12T11:02:21
2020-08-12T11:02:21
271,764,749
0
0
null
2020-06-12T10:05:00
2020-06-12T09:52:03
Python
UTF-8
Python
false
false
1,934
py
import sys import os sys.path.append(os.path.join(os.getcwd(), '..')) from unittest import TestCase, main from common.classes import * from common.variables import * from common.utils import * from common.codes import * class TestJimClasses(TestCase): def test_request_dict(self): body = 'test' t...
[ "ss2576@mail.ru" ]
ss2576@mail.ru
2f07645844113c62897b33114cef7c03ca4b7b31
7d172bc83bc61768a09cc97746715b8ec0e13ced
/facebook/views.py
bc76a115e91554ace708d6e9fc2227bacf2b21cf
[]
no_license
shivam1111/jjuice
a3bcd7ee0ae6647056bdc62ff000ce6e6af27594
6a2669795ed4bb4495fda7869eeb221ed6535582
refs/heads/master
2020-04-12T05:01:27.981792
2018-11-08T13:00:49
2018-11-08T13:00:49
81,114,622
2
0
null
null
null
null
UTF-8
Python
false
false
581
py
from django.shortcuts import render from django.views import View from django.http import JsonResponse import requests from django.conf import settings class Ratings(View): def get(self, request, template_name="index.html"): response = {} payload ={ 'access_token':settings.FACEBOOK_ACC...
[ "shivam1111@gmail.com" ]
shivam1111@gmail.com
1dc802022a2096fe6390e9c8c00491b79e22fd57
c7a5448821669b2fdebf5c2a4eb0ea70bba545d3
/creme/optim/adam.py
3c29444f912d89f1b786e209b735cfb90c961960
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
brp-sara/creme
e5eb44e5d75cea0120c8fd17c20a963a1fe6c153
56c3baf6ee160015b72ab8ebedc0e03da32a6eae
refs/heads/master
2020-09-08T17:10:18.903069
2019-11-11T12:14:32
2019-11-11T12:14:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,834
py
import collections from . import base __all__ = ['Adam'] class Adam(base.Optimizer): """Adam optimizer. Example: :: >>> from creme import linear_model >>> from creme import metrics >>> from creme import model_selection >>> from creme import optim ...
[ "maxhalford25@gmail.com" ]
maxhalford25@gmail.com
81eff45dface1cc77149b38692253a13f88601ea
10d98fecb882d4c84595364f715f4e8b8309a66f
/neural_additive_models/nam_train.py
227023ece7cb38a085e91249181db0bf08cbda5e
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
14,352
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
0c84a9d6e3298e137bf520780a4fa47a312b78ad
2324d8e4544a9b813153ce0ed0f858972ea7f909
/135-分发糖果.py
fc857a4ba5410fc1316af0a1170fd5c03458002d
[]
no_license
Terry-Ma/Leetcode
af8a4ad8059975f8d12b0351610336f1f5f01097
cc7f41e2fb3ed5734c2a5af97e49a5bc17afbceb
refs/heads/master
2021-08-10T16:40:20.482851
2021-07-03T08:35:56
2021-07-03T08:35:56
225,814,239
0
1
null
null
null
null
UTF-8
Python
false
false
490
py
class Solution: def candy(self, ratings: List[int]) -> int: left = [1] * len(ratings) right = 1 for i in range(1, len(ratings)): if ratings[i] > ratings[i - 1]: left[i] = left[i - 1] + 1 res = left[-1] for i in range(len(ratings) - 2, -1, -1): ...
[ "rssmyq@aliyun.com" ]
rssmyq@aliyun.com
f61caaf7302bda93ce12e0e98e8ec61ca87ffdfc
cde11aea86ce9e1e370b02fb14553358b4aaab8b
/practice/hard/_51_disk_stacking.py
69b5dbd133b93eaa83f31887401f81f3562c17be
[]
no_license
pavankumarag/ds_algo_problem_solving_python
56f9a2bb64dd62f16028c3f49a72542b8588369a
cbd323de31f2f4a4b35334ce3249bb3e9525dbf8
refs/heads/master
2023-06-21T20:29:41.317005
2023-06-10T18:11:39
2023-06-10T18:11:39
223,919,558
2
1
null
2023-06-10T18:11:40
2019-11-25T10:16:27
Python
UTF-8
Python
false
false
780
py
""" Tower of Honoi we have three rods and n disks the objective of the puzzle is to move the entire stack to another rod, obeying the following simple rules: 1) Only one disk can be moved at a time. 2) Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack i.e. a disk...
[ "pavan.govindraj@nutanix.com" ]
pavan.govindraj@nutanix.com
ec25fbfa0846875e29b7c321050a45e0d6c05ffb
65e54ca14ac21d2c2572ba35ba351df5903cb667
/src/petronia/core/layout/binding/bootstrap.py
7fc0858f4fa68c43fe1e660bdcc50a8a0f177cf0
[ "MIT" ]
permissive
groboclown/petronia
29b93e88b82d2732bb529621ad8bff50334d36b9
486338023d19cee989e92f0c5692680f1a37811f
refs/heads/master
2022-07-25T10:08:58.468385
2020-01-23T14:59:03
2020-01-23T14:59:03
71,741,212
22
3
NOASSERTION
2022-07-13T15:27:32
2016-10-24T01:30:01
Python
UTF-8
Python
false
false
7,016
py
""" Bootstrap the hotkey bindings for the layout events. """ from typing import List from ....aid.std import i18n as _ from ....aid.std import ( EventBus, EventId, ParticipantId, ErrorReport, report_error, create_user_error, ) from ....aid.bootstrap import ( ANY_VERSION, create_singlet...
[ "matt@groboclown.net" ]
matt@groboclown.net
c1d39ebc5f1174152c28d88c2a6e92745f8fea7c
1e35944fcd9a0e2209e069fb0056f23597e3196c
/0x02-python-import_modules/4-hidden_discovery.py
9f95073b69cc6970c576aeb2f8a13779a4a17885
[]
no_license
sonnentag/holbertonschool-higher_level_programming
1496be9390f557cfa7a3e31bb74b208a7dfbb98f
5992e3c7ff97ab3fefe33bec5632bdca4d3d8a05
refs/heads/master
2022-12-23T12:47:02.957781
2020-09-25T04:01:27
2020-09-25T04:01:27
259,382,948
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
#!/usr/bin/python3 if __name__ == "__main__": import hidden_4 for func in dir(hidden_4): if func[1] != "_": print(func)
[ "zocle@zocle.net" ]
zocle@zocle.net
919078d7b56ca845ac4d22fcaa4f1a78a15a1fd6
8f4710009ca956bd3780cb423d9f4aa896d61183
/hsds/servicenode_lib.py
787f486f609faa18da7934fb8a1bc1f1498e4e69
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
murlock/hsds
b5482ee3f36680728f1b64034c2f6b9c3bd4cad7
9f5fc3cdb64017d07e34eb422eee5398553d213c
refs/heads/master
2020-06-18T06:35:06.817652
2019-07-09T02:01:06
2019-07-09T02:01:06
196,197,570
0
0
Apache-2.0
2019-07-10T12:02:51
2019-07-10T12:02:50
null
UTF-8
Python
false
false
10,606
py
############################################################################## # Copyright by The HDF Group. # # All rights reserved. # # # # Th...
[ "jreadey@hdfgroup.org" ]
jreadey@hdfgroup.org
b970cb7a9421a179fb53f5272a8b21908a4e9e7e
8b81588cea990aca1ecc4ce3fe45847cc46e7d00
/x11/library/libXScrnSaver/actions.py
676e427c37687edf597e963446797e167056b929
[]
no_license
Zaryob/SulinRepository
67a4a6d15d909422f73d5ec4bbc8bd16f40057a9
c89c643b9773d191996d721b262dd739e4203bc0
refs/heads/main
2021-06-12T19:30:34.281242
2019-04-18T17:56:24
2019-04-18T17:56:24
201,469,580
11
2
null
2021-06-02T16:51:13
2019-08-09T13:08:57
Roff
UTF-8
Python
false
false
507
py
# -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from inary.actionsapi import autotools from inary.actionsapi import inarytools from inary.actionsapi import get def setup(): autotools.autoreconf("-vif") autotools.configur...
[ "zaryob.dev@gmail.com" ]
zaryob.dev@gmail.com
2cacc35dad927239826dea74300b3926c7cc1092
cbca22133ba7c02ba0532bc046d7e6b0524c2f4c
/Matplotlib_With_PYQT/封装toolbar功能/fnag.py
5b9a1a4d3a75baf71b162e3e9c3e93eb74751638
[]
no_license
Inc175/ll_crowluya-Matplotlib_With_PYQT-master
a923c195121f5e1d382b702b6a9ea0732c60c204
dcf1fd6725f4fffd0b7ff6b9298cc3635735b30d
refs/heads/master
2021-09-24T23:58:02.044255
2018-10-05T16:00:11
2018-10-05T16:00:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
import sys import matplotlib import PyQt5.sip # matplotlib的键盘按压事件引入到pyqt5中 # from matplotlib.backend_bases import key_press_handler matplotlib.use("Qt5Agg") from PyQt5 import QtCore from PyQt5 import QtWidgets from PyQt5.QtWidgets import (QApplication, QMainWindow, QVBoxLayout, QSizePolicy, QAction, QLabel, ...
[ "s1107308633@gmail.com" ]
s1107308633@gmail.com
42e748ffc45d9278916009d2483b54f316602368
7133de159c5cdc06b92bc5b168fe193caf0bea2a
/packages/grid_control/parameters/psource_data.py
f2f1003f2b7798eb21834106677ade5e27e87a17
[]
no_license
thomas-mueller/grid-control
fac566c21bb79b0bd4439d36421a0c0b14bc8776
36f01d19b71c41c8dd55eddd190181db8849f920
refs/heads/master
2020-12-28T23:34:59.983357
2016-04-22T06:28:57
2016-04-22T06:28:57
56,689,010
0
0
null
2016-04-20T13:26:29
2016-04-20T13:26:29
null
UTF-8
Python
false
false
4,408
py
# | Copyright 2009-2016 Karlsruhe Institute of Technology # | # | 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 require...
[ "stober@cern.ch" ]
stober@cern.ch
819f916451d212969a294520210767ee7b4da40d
b3c47795e8b6d95ae5521dcbbb920ab71851a92f
/Leetcode/Algorithm/python/3000/02079-Watering Plants.py
4e375badaaf013ccb48f4140475ac47e3102f9c7
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Wizmann/ACM-ICPC
6afecd0fd09918c53a2a84c4d22c244de0065710
7c30454c49485a794dcc4d1c09daf2f755f9ecc1
refs/heads/master
2023-07-15T02:46:21.372860
2023-07-09T15:30:27
2023-07-09T15:30:27
3,009,276
51
23
null
null
null
null
UTF-8
Python
false
false
362
py
class Solution(object): def wateringPlants(self, plants, capacity): cur = capacity step = 0 for i, plant in enumerate(plants): if plant > cur: cur = capacity - plant step += i * 2 + 1 else: cur -= plant s...
[ "noreply@github.com" ]
Wizmann.noreply@github.com
4045d144a83b1c65582baa5d98f4ceece2698cd4
498a2d08c19eaf36945468e11fad1be97d62135b
/yaml_lsp/main.py
125cdb4ed5c7ac43fcdd5ddc1769dfca7aed8329
[ "BSD-3-Clause" ]
permissive
martinRenou/yaml-lsp
94f4dc1744b5e8a4763983725cf482a5ab3f1207
79186d50289d172d2dc5a8420f1dc2cad1046ce7
refs/heads/master
2023-08-25T08:40:39.172933
2021-04-08T14:37:04
2021-04-08T14:37:04
417,399,907
1
0
null
null
null
null
UTF-8
Python
false
false
864
py
import pathlib import shutil import subprocess import sys NODE_LOCATION = ( shutil.which("node") or shutil.which("node.exe") or shutil.which("node.cmd") ) NODE = str(pathlib.Path(NODE_LOCATION).resolve()) PATH_TO_BIN_JS = str( ( pathlib.Path(__file__).parent / 'node_modules' / 'yaml-la...
[ "martin.renou@gmail.com" ]
martin.renou@gmail.com
34df80d44954fbb824a9dad7091e6ee2e6eb9a0a
ac235a23f22be0d6f1818bb53902177f9969813a
/tests/datastreams/test_processor.py
d8b3879b0af52c14c14035455326ecafe89c7cd8
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
DataDog/dd-trace-py
f09d6d48c4c69aea68f999fc8a458ade5c6150cf
1e3bd6d4edef5cda5a0831a6a7ec8e4046659d17
refs/heads/1.x
2023-09-01T20:25:26.746324
2023-09-01T18:54:37
2023-09-01T18:54:37
61,572,326
461
426
NOASSERTION
2023-09-14T20:38:57
2016-06-20T18:52:23
Python
UTF-8
Python
false
false
3,013
py
import time from ddtrace.internal.datastreams.processor import ConsumerPartitionKey from ddtrace.internal.datastreams.processor import DataStreamsProcessor from ddtrace.internal.datastreams.processor import PartitionKey def test_data_streams_processor(): processor = DataStreamsProcessor("http://localhost:8126") ...
[ "noreply@github.com" ]
DataDog.noreply@github.com
a11414020e389e004fa7ba41d64bb7afc662c6ec
33cc37817d93dd784be2398c904c9b4cacf84c52
/Week5_Object_Oriented_Programming/Practice_Problems/currencies.py
1e40cb96d3c767ece8d29f152b283a21e682a68a
[]
no_license
M1c17/ICS_and_Programming_Using_Python
305e53561af27067998cb767ee5d566dfc02d33d
ee5127a272fbf19289a6a97cbe9b2ada2f7785ca
refs/heads/master
2020-07-02T00:04:28.574491
2019-08-09T00:16:11
2019-08-09T00:16:11
201,354,816
0
0
null
null
null
null
UTF-8
Python
false
false
3,217
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Feb 5 12:09:10 2019 @author: MASTER """ ''' The class "Ccy" can be used to define money values in various currencies. A Ccy instance has the string attributes 'unit' (e.g. 'CHF', 'CAD' od 'EUR' and the 'value' as a float. A currency object consists o...
[ "pictor117@gmail.com" ]
pictor117@gmail.com
f9c126902d927e7a260fb705bce0e1c27552cc30
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/309/usersdata/284/72935/submittedfiles/atm.py
bdf46aa78ba6d32e46748200a85c384c0a0db6f1
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
# -*- coding: utf-8 -*- from __future__ import division import math #COMECE SEU CODIGO AQUI v=int(input('digite o valor a ser sacado: ')) a=20 b=10 c=5 d=2 e=1 f=(v%a) g=(f%10) h=(g%5) i=(h%2) if v//a!=0: print(v//a) print(f//10) print(g//5) print(h//2) print(i//1)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1f96f72f233d70286289b429157d02f586e49a0c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/134/usersdata/228/53506/submittedfiles/escadarolante.py
b21aed3136bcf8b81ed533496221440ebca0f3d7
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
# -*- coding: utf-8 -*- def rolagem(lista): for i in range (0,len(lista)-2,1): tempo=10 if lista[i+1]<(lista[i]+10): tempo=tempo+(lista[i]-lista[i+1]) elif lista[i+1]>=(lista[i]+10): tempo=tempo+10 for i in range (len(lista)-1,len(lista)-2,1): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
07ee526ae4cc62f861473e517b4b79b7aba4d6be
8dc64db8a0d7ddb8778c8eae2dac9075b9a90e2b
/env/Lib/site-packages/pylint/checkers/variables.py
c7fd6318483362dc3ead1935ccf35244b261e505
[ "MIT" ]
permissive
theXtroyer1221/Cloud-buffer
c3992d1b543a1f11fde180f6f7d988d28b8f9684
37eabdd78c15172ea980b59d1aff65d8628cb845
refs/heads/master
2022-11-22T22:37:10.453923
2022-02-25T01:15:57
2022-02-25T01:15:57
240,901,269
1
1
MIT
2022-09-04T14:48:02
2020-02-16T14:00:32
HTML
UTF-8
Python
false
false
81,382
py
# Copyright (c) 2006-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> # Copyright (c) 2009 Mads Kiilerich <mads@kiilerich.com> # Copyright (c) 2010 Daniel Harding <dharding@gmail.com> # Copyright (c) 2011-2014, 2017 Google, Inc. # Copyright (c) 2012 FELD Boris <lothiraldan@gmail.com> # Copyright (c) 2013-2020 Cla...
[ "jaddou2005@gmail.com" ]
jaddou2005@gmail.com
97f9717024df32c598a14e0f724cbdbe3bf03874
08d316151302f7ba4ae841c15b7adfe4e348ddf1
/reviewboard/hostingsvcs/tests/test_sourceforge.py
f51901fb883aee02393c4d7033117c7503f6470d
[ "MIT" ]
permissive
LloydFinch/reviewboard
aa8cd21fac359d49b3dfc5a68c42b857c0c04bd8
563c1e8d4dfd860f372281dc0f380a0809f6ae15
refs/heads/master
2020-08-10T20:02:32.204351
2019-10-02T20:46:08
2019-10-02T20:46:08
214,411,166
2
0
MIT
2019-10-11T10:44:55
2019-10-11T10:44:54
null
UTF-8
Python
false
false
2,727
py
"""Unit tests for the SourceForge hosting service.""" from __future__ import unicode_literals from reviewboard.hostingsvcs.testing import HostingServiceTestCase class SourceForgeTests(HostingServiceTestCase): """Unit tests for the SourceForge hosting service.""" service_name = 'sourceforge' def test_s...
[ "christian@beanbaginc.com" ]
christian@beanbaginc.com
b2d53ffd5c0d66ff8ad6d790ce50cfb7e2ec15cd
04a97dbb2ab510ec64a944dd5aaf834271788a32
/django2/mysite/city_summary_stats.py
465ddd22ae68c7689bedb5da94be9e8d77ced5a7
[]
no_license
emilyding/ACE-cs122project
98d2b67aa8151b2649c4a980d6daf80fb9817898
5941d8de85770f3e1b05e0bdc5a4b1cd6f1d35f5
refs/heads/master
2021-01-11T17:19:25.243093
2017-03-14T21:25:18
2017-03-14T21:25:18
79,745,285
0
0
null
2017-03-10T20:16:16
2017-01-22T20:59:03
HTML
UTF-8
Python
false
false
6,330
py
# Summary City Data ''' Takes as an input a dictionary with the name of a city, and returns interesting summary statistics. Note that using the adjusted database will lead to errors identifying universally hated/acclaimed restaurants (as ratings of 1 or 5 will be adjusted slightly upwards or downwards) Usage: Call ge...
[ "amr@cs.uchicago.edu" ]
amr@cs.uchicago.edu
1068b7713ec020de5734f28062543b8079b9df6d
d62fbff86f8d4f332e843843bba7d07e2361554f
/Examples/tests/example_2_unittest.py
a4ecd8c88c26e34fb9560b454a023f409b1c0266
[]
no_license
haisfo/python-environments
e031850fa4e8778eea7c618d1eec74e723e615f1
73fb4dbe56f1ebbfba71d440ba3c953556688bf9
refs/heads/master
2022-12-27T19:51:13.046530
2020-10-16T00:11:28
2020-10-16T00:11:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
import unittest from rock_paper_scissors_buggy import determine_winner, game_over, YOU, COMP class TestWordGame(unittest.TestCase): def test_determine_winner(self): self.assertEqual(determine_winner('r', 'r'), None) self.assertEqual(determine_winner('r', 'p'), COMP) self.assertEqual(deter...
[ "ariannedee@gmail.com" ]
ariannedee@gmail.com
87000c88ad989e720e8303d6f29d9912748b2d30
254d38ad3d455b94170e4ef17045d6c10daee986
/doc_src/code_sample/case1_admin.py
f34ae1be6a6e05c2cdd7ae730c848ce4f701da26
[ "Apache-2.0" ]
permissive
giorgil/django-articleappkit
4d2108b6bb32e3089c61c5b81c55d7d6febf5acb
d301f2d511a65461eedbcc301955dafecba189ca
refs/heads/master
2019-07-06T06:43:47.256809
2017-10-19T18:10:40
2017-10-19T18:10:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
from django.contrib import admin from articleappkit.admin import (ArticleBaseAdmin, ARTICLE_BASE_FIELDSET, SINGLE_AUTHOR_FIELDSET, KEY_IMAGE_FIELDSET, PUBLISHING_FIELDSET) from .models import Story class StoryAdmin(ArticleBaseAdmin): fieldsets =...
[ "coreyoordt@gmail.com" ]
coreyoordt@gmail.com
8d9bbcf792afe8a014df437737fec5c542ae3093
259cc507d97bfeff84d21de3a0ab56640676a9eb
/venv1/Lib/site-packages/tensorflow/contrib/eager/python/checkpointable_utils.py
4a060f0c75f66abe18e471a6b7e2ccdaaba062c3
[ "MIT", "Apache-2.0" ]
permissive
Soum-Soum/Tensorflow_Face_Finder
c3ef71b6f718f6720b80f8760d28b6ca6e11e6d2
fec6c15d2df7012608511ad87f4b55731bf99478
refs/heads/master
2020-03-22T20:31:39.606644
2018-07-12T13:47:56
2018-07-12T13:47:56
140,607,068
0
0
null
null
null
null
UTF-8
Python
false
false
37,665
py
"""Utilities for working with Checkpointable objects.""" # Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
[ "pes.carceller@gmail.com" ]
pes.carceller@gmail.com
8f51ba00c95343b9bb716afd8882bf94bf4931e4
0c85cba348e9abace4f16dfb70531c70175dac68
/cloudroast/blockstorage/volumes_api/integration/compute/fixtures.py
caefc012dfe9f485b122f7e89da62af0983f99b6
[ "Apache-2.0" ]
permissive
RULCSoft/cloudroast
31157e228d1fa265f981ec82150255d4b7876af2
30f0e64672676c3f90b4a582fe90fac6621475b3
refs/heads/master
2020-04-04T12:20:59.388355
2018-11-02T21:32:27
2018-11-02T21:32:27
155,923,262
1
0
null
null
null
null
UTF-8
Python
false
false
17,788
py
""" Copyright 2013 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...
[ "jose.idar@rackspace.com" ]
jose.idar@rackspace.com
5d95d610ebbca94067bde0d1705a24306610257b
5a4436884af5341ce855c0e84866b972a0f61c05
/day2/functions/basics/2.py
0c74a24791d53e68bd3d08f432369d8dbfa42c55
[]
no_license
sreejithev/pythoncodes
74a420c4f025b893e27f17ba85632a4a096f17fd
70df14871a9687916d1c4ada76c055607f13e8ce
refs/heads/master
2021-01-21T20:59:47.056167
2017-06-19T09:43:17
2017-06-19T09:43:17
92,292,259
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
def sqr(x): return x*x print sqr(10,20)
[ "sreejithevwyd@gmail.com" ]
sreejithevwyd@gmail.com
856dc99df1b2a415589cdc169f574672bd782c91
2616952e9dcf7a996c691e5410551d89ec735943
/Python Basic for ML and DL Book3/Ensemble methods Ensemble Error diagram.py
2ec889de7b8cb72089d30d213d0d2065c1cbc6fa
[]
no_license
BaoBao0406/Machine-Learning
5c9f00c19422e7fead74d4f441fcc43556b62b78
c3e1c03301b41220c58a1bbda8f872638dc24104
refs/heads/master
2021-07-12T10:25:28.791579
2020-08-24T00:17:43
2020-08-24T00:17:43
197,107,543
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
from scipy.misc import comb import math def ensemble_error(n_classifier, error): k_start = int(math.ceil(n_classifier / 2.)) probs = [comb(n_classifier, k) * error**k * (1-error)**(n_classifier - k) for k in range(k_start, n_classifier + 1)] return sum(probs) ensemble_error(n_classifier=11, erro...
[ "46430379+BaoBao0406@users.noreply.github.com" ]
46430379+BaoBao0406@users.noreply.github.com
639a60840ad7e8b452e12cb388e417b5a2b16264
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/12143431.py
e56ad1dfbd9078ce9947efcd957b4a0ee3f23907
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,809
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/12143431.py generated: Fri, 27 Mar 2015 16:10:07 # # Event Type: 12143431 # # ASCII decay Descriptor: [B+ -> K+ (J/psi(1S) -> mu+ mu- {,gamma} {,gamma}) (eta -> gamma gamma)]cc # from Configurables import Generation Generation().EventType = 12143431 Gener...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
4c507eda6df4eec5409d9ba0f7c5c58dbe4adc2c
a8637de7c6e38c95cd19b46b45b3e00c42ae8140
/recruitments/forms.py
b4d18a84d6fec828e87868c360f345c9f5ccb4dd
[]
no_license
nishant57/edc
9c0d3d363882c44bc08dc4da47024e5e83731077
5ab9f6dc5d474b5071c7f027cd287c32a9d43501
refs/heads/master
2021-01-12T19:31:49.655509
2013-02-17T10:00:36
2013-02-17T10:00:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
from django.db import models from django.forms import ModelForm, Textarea from django import forms from constants import * from recruitments.models import Candidate, Setup from ckeditor.widgets import CKEditorWidget from django.core.exceptions import ObjectDoesNotExist class CandidateForm(forms.ModelForm): class ...
[ "axitkhurana@gmail.com" ]
axitkhurana@gmail.com
ea026000b6292aaf81ca75b7bc134d1a849290bd
ee561aa019a80f621007f82bdb21fe6ed8b6278f
/build/turtlebot3-melodic-devel/turtlebot3_navigation/catkin_generated/pkg.installspace.context.pc.py
2314ec5e0e068618e2ccde34da5357db5a46d171
[]
no_license
allanwhledu/agv_edu_prj
4fb5fbf14cf0a14edd57ee9bd87903dc25d4d4f2
643a8a96ca7027529332f25208350de78c07e33d
refs/heads/master
2020-09-23T23:32:54.430035
2019-12-04T07:47:55
2019-12-04T07:47:55
225,613,426
1
1
null
null
null
null
UTF-8
Python
false
false
388
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 = "turtlebot3_navigation" PROJECT_SPACE_...
[ "bitwanghaili@gmail.com" ]
bitwanghaili@gmail.com
3892f819ab9827f25746acaf5e7ddb23394850ca
f259ca399ab33b5c2e66ae07921711ea5917ac9e
/pytorch/sphereface.py
d6413d43827cf63587f8d89889c96b608aa81521
[]
no_license
jizhuoran/HyperTea_Maker
9a7930e1d6af995c8fdb9a15354eea5fc29f0806
2c3f8dfcb699495093165cd986eebedfb17a2433
refs/heads/master
2020-04-22T19:32:39.385611
2019-04-14T15:12:06
2019-04-14T15:12:48
170,610,900
4
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
# -*- coding: utf-8 -*- import torch from sphere20a import sphere20a as Model from hypertea_generator.hypertea_generator import HyperteaGenerator model = Model().train() precision = 'float' genetator = HyperteaGenerator(model, torch.ones((1, 3, 112, 96), dtype = torch.float), precision) output = genetator.get_net...
[ "jizr@connect.hku.hk" ]
jizr@connect.hku.hk
a3309f48dc0f1a5cf170079337921110045939e1
e823bc36af457f229f6879d6e6a3ef6247c129aa
/virtualenv/Lib/site-packages/twisted/conch/test/test_knownhosts.py
fd2cec16c516734dfc889451660e4fb395e172db
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
William-An/DFB_Final
e772fa979c41f2f83a4bf657cde499456215fb3b
49a9244c98116574676992ebecd1d9435e1d5b1e
refs/heads/master
2022-11-07T15:47:36.189057
2017-07-22T01:01:37
2017-07-22T01:01:43
97,426,562
1
1
MIT
2022-10-15T02:45:57
2017-07-17T02:21:42
Python
UTF-8
Python
false
false
49,361
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for L{twisted.conch.client.knownhosts}. """ from __future__ import absolute_import, division import os from binascii import Error as BinasciiError, b2a_base64, a2b_base64 from twisted.python.reflect import requireModule if requireMod...
[ "China_Aisa@live.com" ]
China_Aisa@live.com
e9dfb0e3bcc9bd274fa48b51fe6060bd14ae10b0
a6281073aaddf903d13d903e01ef8f6597e0c366
/RPWR/lookup/urls.py
5e482fdb24bd35e8a3820306e06da0aa9fab213c
[]
no_license
pronob1010/D152-Recipe-provider-with-Redis
9c92be028bef4260a26b876084fde6aa51662ea6
970b5f98da7e5e35de9fe8b9642d64e89daff809
refs/heads/main
2023-06-23T18:21:42.697646
2021-07-25T11:57:01
2021-07-25T11:57:01
389,307,045
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django.urls import path from . views import * urlpatterns = [ path('', index, name="index"), path('details/<int:pk>', details, name="details" ) ]
[ "pronobmozumder.info@gmail.com" ]
pronobmozumder.info@gmail.com
d5b6070866f6f4dc00662100e340c931bfb8608c
f6d7c30a7ed343e5fe4859ceaae1cc1965d904b7
/htdocs/submissions/d5b6070866f6f4dc00662100e340c931bfb8608c.py
a1b97dd53dd2bbaee95485fe137f502923b7d1af
[]
no_license
pycontest/pycontest.github.io
ed365ebafc5be5d610ff9d97001240289de697ad
606015cad16170014c41e335b1f69dc86250fb24
refs/heads/master
2021-01-10T04:47:46.713713
2016-02-01T11:03:46
2016-02-01T11:03:46
50,828,627
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
seven_seg=lambda x:"\n".join("".join(' |'[b/4&1]+' _'[b&2]+' |'[b&1]for b in[i>>3*int(e)for e in x])for i in[306775170,1060861645,524130191])+'\n'
[ "info@pycontest.net" ]
info@pycontest.net
28ac291d1ae4422fbc31b029ac29566e60bb06d6
aa01560e68a07033d4b24c4770966771349e2b4f
/src/jobs/migrations/0006_auto_20201209_1527.py
6892aa2f3a57b13172292e19d88ab9cece02673e
[]
no_license
fluffcoding/solitaireHR
a0a357e1b19b955caae8df11ca92188cad79e217
b97a29f9accc5b45cd62986b62673a6ba802771b
refs/heads/main
2023-04-05T11:46:41.855323
2021-04-26T04:57:27
2021-04-26T04:57:27
322,067,817
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
# Generated by Django 3.1.2 on 2020-12-09 15:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobs', '0005_jobapplication'), ] operations = [ migrations.AddField( model_name='jobapplication', name='applied', ...
[ "fluffcoding@gmail.com" ]
fluffcoding@gmail.com
be4dc6b82a739c6373f3f76ca9b40558b0e72d4b
f15449e438b0b799a3866ba21243924ce0e4fa2d
/survey/migrations/0026_auto__add_field_paper_step.py
d21b49cfb317dedb70e0a7dafc09a7da47aa375e
[]
no_license
xmduhan/qisite
46af79d0e4d1af814298862cfaa18c6f7ddf3a74
2c9d7513c3e0cd483341dc457a8d289e5e174f20
refs/heads/master
2021-01-17T08:44:29.826082
2020-02-07T11:22:29
2020-02-07T11:22:29
14,419,020
2
1
null
null
null
null
UTF-8
Python
false
false
22,819
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Paper.step' db.add_column(u'survey_paper', 'step', ...
[ "xmduhan@gmail.com" ]
xmduhan@gmail.com
0d04bd3854dda5ce09a0ee3aa7f1f60626f35220
0d5e4ad0a693492204aa6210c2de470b26732509
/commands/eztv_mininova.py
f03143d557ebdcff904fff885f927ad0d6d242bd
[]
no_license
enlavin/tvscrap
7d4ffe16a5af9f1747c021a0cc6bd187a5b0c91e
28d9baf1a2b2db4321b59747e85f1302f92f3a98
refs/heads/master
2020-04-29T10:20:45.150974
2015-04-26T18:11:26
2015-04-26T18:11:26
18,444,784
1
1
null
2015-04-28T20:24:58
2014-04-04T16:18:24
Python
UTF-8
Python
false
false
2,225
py
# -*- coding: utf-8 -*- # GNU General Public Licence (GPL) # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # This pro...
[ "devnull@localhost" ]
devnull@localhost
3fcdfddc6d13051a9dca15b880b1b4b6fe496fbc
d88397be1c6a31985bc2283280e743fd3b988dd1
/nncf/hw_config.py
1167773db5e48ea9112bf8784a671aa0ad028ed1
[ "Apache-2.0" ]
permissive
sshyran/openvino-nncf-pytorch
f5e09066a216fa786927937a91a0e6742f347660
fd02652950cd803a36f5283f5a5df999bb45433b
refs/heads/develop
2023-04-18T06:58:54.646669
2021-03-12T15:41:39
2021-03-12T15:41:39
347,374,166
0
0
Apache-2.0
2023-04-03T23:52:21
2021-03-13T13:11:32
null
UTF-8
Python
false
false
11,105
py
""" Copyright (c) 2020 Intel Corporation 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 writin...
[ "noreply@github.com" ]
sshyran.noreply@github.com
a95071156b455721a03968795e2f8b317dfe27a2
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/compute/instances/set_scheduling.py
978e800fe7a236c88bdf266e3ed098e87d9fc1bf
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
9,785
py
# -*- coding: utf-8 -*- # # Copyright 2014 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
8ec24f1b1554727d877bc3dc9f4884c8b5a7f4f7
eacb726dfb05071fa65877f44960826fb4561af0
/sqlshare_rest/test/api/permissions.py
94d9a5e8461143e0a4f8c64a1239dc5ff412df2c
[ "Apache-2.0" ]
permissive
uw-it-aca/sqlshare-rest
4d629cf13d058b2168c07ad69e451584bf63af49
e441ce9286a915586a68a0bfa3105f122d6ae18f
refs/heads/master
2020-04-06T06:30:45.900372
2019-09-13T17:32:43
2019-09-13T17:32:43
31,608,784
0
1
Apache-2.0
2019-09-13T17:32:44
2015-03-03T16:33:59
Python
UTF-8
Python
false
false
30,130
py
from django.test import TestCase from unittest2 import skipIf from django.db import connection from django.core import mail import json from testfixtures import LogCapture from sqlshare_rest.util.db import get_backend from sqlshare_rest.test import missing_url from django.test.utils import override_settings from django...
[ "pmichaud@uw.edu" ]
pmichaud@uw.edu
0bcde7ba149facae00a9e3c782315ca4ab3be275
637d2b471ab26a683cf67b259c58d2f9318a1bf2
/McUtils/Coordinerds/CoordinateSystems/ZMatrixToCartesian.py
790c2e356f7ad998828695adb0844d7da096249b
[ "MIT" ]
permissive
McCoyGroup/McUtils
9c1c3befcef88d6094961e23a894efb4d97c84b1
c7c3910e7cb5105c65b01ecb17a6668d126b2063
refs/heads/master
2023-08-18T16:24:17.718849
2023-08-11T23:10:21
2023-08-11T23:10:21
188,920,933
0
2
MIT
2022-12-15T19:17:02
2019-05-27T23:29:24
Python
UTF-8
Python
false
false
8,885
py
from .CoordinateSystemConverter import CoordinateSystemConverter from .CommonCoordinateSystems import CartesianCoordinates3D, ZMatrixCoordinates from ...Numputils import * import numpy as np class ZMatrixToCartesianConverter(CoordinateSystemConverter): """ A converter class for going from ZMatrix coordinates t...
[ "b3m2a1@gmail.com" ]
b3m2a1@gmail.com
1a254cdc13044408437afdc922e0f764e45c5795
0e9fad9c000430a735e10568644dc3e0c6a1de54
/curriculum_ctvt/input_mistakes.py
f578c6927d70e2f14f213a7c2b373d114132797e
[]
no_license
pedal-edu/curriculum-ctvt
54d489926f366b486a3e5663de444221a5924f92
2f8472627b9adceb90466f206f1131fdecc3a2e5
refs/heads/master
2023-04-01T20:17:58.542300
2021-03-25T13:54:51
2021-03-25T13:54:51
276,709,305
0
1
null
null
null
null
UTF-8
Python
false
false
671
py
from pedal.core.commands import gently, explain from pedal.cait.cait_api import * def unnecessary_cast(needed_casts): """ Args: needed_casts: List of casts that are necessary to this problem Returns: """ message = "Converting to {} is unnecessary in this problem" code = "ex_cast" ...
[ "acbart@vt.edu" ]
acbart@vt.edu
1c459705148d5b935a6f2166345b8b6e897b9b97
763774bbcd6aa6adf64bde5fbe9521a937785362
/tests/test_concise_keras.py
6203e9afeee825596836ae6f6bce515552396ef0
[ "MIT" ]
permissive
morphinggen/concise
969075dfbed99071fae53b0cba637bb5c25e3359
12078d75f37fe176bb7d221134b8b14aeb48e11f
refs/heads/master
2022-04-28T03:11:08.606943
2020-04-15T19:19:34
2020-04-15T19:19:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,079
py
""" test_concise_keras ---------------------------------- Tests for `concise_keras` module """ import keras from keras.models import model_from_json from concise.legacy.models import single_layer_pos_effect as concise_model from concise.eval_metrics import mse from sklearn.linear_model import LinearRegression import ...
[ "zigaavsec@gmail.com" ]
zigaavsec@gmail.com
a66f9c41196e481531527bb60b25dca5cff97b40
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/lib/python2.7/site-packages/numba/tests/test_lists.py
5e10c7df5ba329a8e6492e7b5fde5844df12789a
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
23,959
py
from __future__ import print_function from collections import namedtuple import contextlib import itertools import math import sys from numba.compiler import compile_isolated, Flags from numba import jit, types import numba.unittest_support as unittest from numba import testing from .support import TestCase, MemoryLe...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
92a176149b6adf9cc5a297e10f227ab9d00f6a35
ceed0a361e951b72c1a0fd8c50f093d66d6bfc31
/towel/__init__.py
15d8d2ec20144e03ccef873dbdd4d9c90f102e2e
[ "BSD-2-Clause" ]
permissive
jensneuhaus/towel
481914ea6c2a71021c890d8c3c74ff7659df4b88
a91039d71e458c7d59457e472cfe5bd6cad6a492
refs/heads/master
2020-12-11T05:44:40.220543
2015-09-03T08:56:24
2015-09-03T08:56:45
49,214,911
0
0
null
2016-01-07T16:10:05
2016-01-07T16:06:30
Python
UTF-8
Python
false
false
105
py
""" Towel - Keeping you DRY since 2010 """ VERSION = (0, 7, 0) __version__ = '.'.join(map(str, VERSION))
[ "mk@spinlock.ch" ]
mk@spinlock.ch
9a5ec1a187e75627e6dcb81ca8146aa919e1183d
69b4f343861f6fb366c8fbbe590376a1bdd0c658
/Tests.py
055c802f1a0a921b5024e5e83d059629edfe7772
[]
no_license
freQuensy23-coder/CaptchServiceAPI
81f8a705193b07892f65cdc05b84a8ac6961b286
85a8b3585a4c6e6b98ae5c11375567b9d4b4dbfa
refs/heads/main
2023-03-13T14:43:45.044766
2021-03-02T19:03:22
2021-03-02T19:03:22
341,452,481
1
0
null
null
null
null
UTF-8
Python
false
false
537
py
import unittest from generator import generate_font_image, generate_random_word, do_image_dim from PIL import Image class Tester(unittest.TestCase): def setUp(self) -> None: pass def test_get_font(self): # TODO for i in range(5555): generate_font_image() def test_gener...
[ "you@example.com" ]
you@example.com
6c2e15fe001ee7f4ada3747278a504be5e557b84
f4b79529109fbb4055f334d0d9c7c96cb0710447
/colour/examples/colorimetry/examples_photometry.py
1a933c8490479fed65be2c0deaf6b89803b4c56e
[ "BSD-3-Clause" ]
permissive
trevorandersen/colour
167381b3d03e506a270a8d2a519a164808995437
02b595b26313c4b4f55adc41d599f90c4c9edbcd
refs/heads/develop
2021-07-15T04:48:19.585586
2021-01-23T23:51:44
2021-01-23T23:51:44
230,421,054
0
0
BSD-3-Clause
2019-12-28T12:54:20
2019-12-27T10:10:30
null
UTF-8
Python
false
false
858
py
# -*- coding: utf-8 -*- """ Showcases *Photometry* computations. """ import colour from colour.utilities import message_box message_box('"Photometry" Computations') sd_light_source = colour.SDS_LIGHT_SOURCES['Neodimium Incandescent'] message_box(('Computing "Luminous Flux" for given spectral ' 'distribu...
[ "thomas.mansencal@gmail.com" ]
thomas.mansencal@gmail.com
395fa81b18711e219bc6cd2cb0dbbacfb2042d17
6230dd7501bb504643cb3b8d8d18889f4bc9e292
/web_frameworks/web_frameworks/settings.py
bbbc17a5d7ddd4c0c58cd449416a3ff2c7e94384
[ "MIT" ]
permissive
Minkov/python-web-frameworks-2020-11
f83a8560cbbcd06549bcacaca83de3af4824adc6
5857bb626792a9efe1f2d06677fa3779f5e2cc1d
refs/heads/main
2023-01-21T07:02:46.141981
2020-12-01T18:30:20
2020-12-01T18:30:20
310,352,954
4
0
null
null
null
null
UTF-8
Python
false
false
3,445
py
""" Django settings for web_frameworks project. Generated by 'django-admin startproject' using Django 3.1.3. 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/ """ from o...
[ "DonchoMinkov@gmail.com" ]
DonchoMinkov@gmail.com
12dff4722892f3042a30723dc845bff0321cbf83
c6f47e7e96c5a9f7f0f24026dffe60fbf5bb034d
/notebooks/pendigits/pendigits_dmkde_adp.py
5a1d32c2b06c4dcb647eb5bb198c15006267ab63
[]
no_license
Joaggi/anomaly-detection-density-matrix-kernel-density-estimation
762b2a944cef2ea06172834e6f445f02a52a7f89
34c3eb16fde9f2aad4daaaf233947c362b0f5416
refs/heads/master
2023-04-08T06:53:16.742624
2022-11-09T21:39:50
2022-11-09T21:39:50
425,664,863
1
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
current_path = "" try: import google.colab IN_COLAB = True except: IN_COLAB = False if IN_COLAB: import os import sys sys.path.append('submodules/qmc/') #sys.path.append('../../../../submodules/qmc/') print(sys.path) else: import sys sys.path.append('submodules/qmc/') ...
[ "oabustosb@unal.edu.co" ]
oabustosb@unal.edu.co
9867fe19d328e3fb7a896205afc9498f7e784422
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/Z8REdTE5P57f4q7dK_20.py
02025f57265a048945b02e93032e46722f6d5199
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
def collatz(n, r=[]): if not r: r = [n] if n == 1: return (len(r), max(*r)) n = n * 3 + 1 if n & 1 else n // 2 return collatz(n, r + [n])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d8d7c2533a436b336dde94b74fadb5d8c040b775
d05c946e345baa67e7894ee33ca21e24b8d26028
/general/data-cleaning-pandas/data_cleaning.py
7e03b3efd348f785821adfca186f950771cfa799
[ "MIT" ]
permissive
x4nth055/pythoncode-tutorials
327255550812f84149841d56f2d13eaa84efd42e
d6ba5d672f7060ba88384db5910efab1768c7230
refs/heads/master
2023-09-01T02:36:58.442748
2023-08-19T14:04:34
2023-08-19T14:04:34
199,449,624
1,858
2,055
MIT
2023-08-25T20:41:56
2019-07-29T12:35:40
Jupyter Notebook
UTF-8
Python
false
false
202
py
import pandas as pd # Config settings pd.set_option('max_columns', None) pd.set_option('max_rows', 12) # Import CSV data data_frames = pd.read_csv (r'simulated_data.csv') print(data_frames.head(10))
[ "fullclip@protonmail.com" ]
fullclip@protonmail.com
287ccbc12cf46d63d2972071600fb8ed009446d4
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_13227.py
4515d6bed05050aef381bac0d3fb8fb5bd8c6364
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
# Scrapy : spider which doesn't work allowed_domains
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
e87ab6118cff6287802446efa6e5b0769cb7256f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/82/usersdata/205/42973/submittedfiles/decimal2bin.py
1bdf2cb16de1f0f06f74293fae6aa792b5408320
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
# -*- coding: utf-8 -*- soma=0 i=0 while (n>0): resto=n%10 soma=soma+resto*(2**i) i=i+1 n=n//10 print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
19336d3be69f6065ae890b7c90e28de999166652
564fe9c8409d9ff4ba5f88dd36c0743d417767fa
/opsgenie_swagger/models/contact.py
8a11eaff8b7fc6180a2fc9809ec2522e53d44ade
[ "Apache-2.0" ]
permissive
criteo-forks/opsgenie-python-sdk
28cf4b2e5eb5f10df582cfd6393a0e952dee5102
2a3924a0bd779eab47937925eb5d42ffbbd751d4
refs/heads/master
2020-04-05T23:09:41.002143
2019-04-12T13:37:22
2019-04-12T13:37:22
65,009,459
0
2
null
2016-08-05T10:08:55
2016-08-05T10:08:55
null
UTF-8
Python
false
false
4,584
py
# coding: utf-8 """ OpsGenie REST API OpsGenie OpenAPI Specification # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from opsgenie_swagger.models.contact_status import ContactStatu...
[ "c.chary@criteo.com" ]
c.chary@criteo.com
ff3457af2885ad007f99f5934781e303b81c3a85
7b20e2f86c2bb2145ae9ca5bcd4b9ad1566e79b0
/ABC/ABC072/B.py
c1e5f4aca531a38a39572c87cb4b7882f3a478d9
[]
no_license
pto8913/KyoPro
5f5e769960dfec73af5b0f338f32659ff067094b
29ebc30a3d45fea273cb9034fba8311673a406dd
refs/heads/master
2021-06-13T16:43:40.275854
2021-03-23T00:02:25
2021-03-23T00:02:25
174,684,331
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
# URL: https://atcoder.jp/contests/abc072/tasks/abc072_b print(input()[::2])
[ "noreply@github.com" ]
pto8913.noreply@github.com
f81fa202ac030ed1854e85d1d468bada85820ad5
4d9e7425ea6902a45eeda81c5cd5ede7d44fd087
/examples/starwars/tests/test_connections.py
d266df33d782e73fb8019b1abe3fbbc0aa505e77
[ "MIT" ]
permissive
Salalem/graphene-neo4j
2258b29093337fd8981b880065b144dc4e6c145b
f2b99fa18b7367cf3a581d1f4a71fda16a1320fc
refs/heads/master
2023-08-08T06:57:41.749557
2019-06-14T16:22:14
2019-06-14T16:22:14
222,071,239
1
1
MIT
2023-07-22T21:45:41
2019-11-16T08:45:32
null
UTF-8
Python
false
false
1,441
py
import pytest from ..data import initialize from ..schema import schema pytestmark = pytest.mark.django_db def test_correct_fetch_first_ship_rebels(): initialize() query = ''' query RebelsShipsQuery { rebels { name, hero { name } ships(first: 1) { ...
[ "me@syrusakbary.com" ]
me@syrusakbary.com
50aa838108041994970b4a245b95fa893a34737f
66dd570bf5945dcbd183ed3c0cf897c0359cbccd
/python/python语法/pyexercise/Exercise05_09.py
e942db9fe0e15a945d4dac56ce26d7e5c0745b7a
[]
no_license
SamJ2018/LeetCode
302cc97626220521c8847d30b99858e63fa509f3
784bd0b1491050bbd80f5a0e2420467b63152d8f
refs/heads/master
2021-06-19T10:30:37.381542
2021-02-06T16:15:01
2021-02-06T16:15:01
178,962,481
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
tuition = 10000 count = 1 while count <= 10: tuition = tuition * 1.05; count += 1 print("Tuition in ten years is", tuition) sum = tuition for i in range(2, 5): tuition = tuition * 1.05 sum += tuition print("The four-year tuition in ten years is", sum)
[ "juksam@centos7.localdomain" ]
juksam@centos7.localdomain
017d0a8ffb2b9b577b8ef976168c48995c63e689
6df76f8a6fcdf444c3863e3788a2f4b2c539c22c
/django code/p105/p105/settings.py
a76b29db32f2d0ab4cdf3fc1733f20e72b6b2894
[]
no_license
basantbhandari/DjangoProjectsAsDocs
068e4a704fade4a97e6c40353edb0a4299bd9678
594dbb560391eaf94bb6db6dc07702d127010b88
refs/heads/master
2022-12-18T22:33:23.902228
2020-09-22T13:11:01
2020-09-22T13:11:01
297,651,728
1
0
null
null
null
null
UTF-8
Python
false
false
3,134
py
""" Django settings for p105 project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # Bu...
[ "36443209+basantbhandari@users.noreply.github.com" ]
36443209+basantbhandari@users.noreply.github.com
ccd9a13878867c64b046d0c2430669e314344e6b
259cc507d97bfeff84d21de3a0ab56640676a9eb
/venv1/Lib/site-packages/tensorflow/contrib/sparsemax/python/ops/sparsemax.py
ab6bdcb499055455ea400a70cb2c8dbe89ad712d
[ "MIT", "Apache-2.0" ]
permissive
Soum-Soum/Tensorflow_Face_Finder
c3ef71b6f718f6720b80f8760d28b6ca6e11e6d2
fec6c15d2df7012608511ad87f4b55731bf99478
refs/heads/master
2020-03-22T20:31:39.606644
2018-07-12T13:47:56
2018-07-12T13:47:56
140,607,068
0
0
null
null
null
null
UTF-8
Python
false
false
2,667
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "pes.carceller@gmail.com" ]
pes.carceller@gmail.com
c883e1a0a408db687bff3e281fefff765a1d8a66
c6ec292a52ea54499a35a7ec7bc042a9fd56b1aa
/Python/1102.py
2cae0a34d41306787e668057e921d884cf86347d
[]
no_license
arnabs542/Leetcode-38
ad585353d569d863613e90edb82ea80097e9ca6c
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
refs/heads/master
2023-02-01T01:18:45.851097
2020-12-19T03:46:26
2020-12-19T03:46:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
class Solution: def maximumMinimumPath(self, A: List[List[int]]) -> int: if not A or not A[0]: return 0 m, n = len(A), len(A[0]) visited = [[False] * n for _ in range(m)] mi = A[0][0] heap = [(-mi, 0, 0)] dx = [1, -1, 0, 0] dy = [0, 0, -1,...
[ "lo_vegood@126.com" ]
lo_vegood@126.com
b2385dc3272c957e8e027af6117d2102403e8702
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03243/s474613072.py
7218ea9f3043f0cb31d16a785cad563de5b7ff3f
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
n = int(input()) mul = lambda x: x * 100 + x * 10 + x if mul(n//100)>=n:ans = mul(n//100) else :ans = mul(n//100+1) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9fd32d09e3dee1b1d467de5785167d31fbc3ffa7
edcd74f8f65119bdbe737360c2ca33b4a6da160a
/python/problem-tree/longest_univalue_path.py
1278c1e329a7ad0dd71f2ab4433e53e2e009049e
[]
no_license
hyunjun/practice
72e83de6a1d5e04ddcd16526f16110ea2dd00373
5376dd48b1cefb4faba9d2ef6a8a497b6b1d6c67
refs/heads/master
2023-08-31T07:00:37.320351
2023-08-17T07:29:24
2023-08-17T07:29:24
2,704,126
3
2
null
2022-12-14T20:25:07
2011-11-03T18:28:44
Python
UTF-8
Python
false
false
8,459
py
# https://leetcode.com/problems/longest-univalue-path # https://leetcode.com/problems/longest-univalue-path/solution from TreeNode import TreeNode class Solution: # Wrong Answer def longestUnivaluePath0(self, root): if root is None: return 0 cur, stack, res = root, [], [] ...
[ "agapelover4u@yahoo.co.kr" ]
agapelover4u@yahoo.co.kr
77acc0d3cf53b10d4d349208c468bc9079016a6e
045cb1a5638c3575296f83471758dc09a8065725
/addons/sale_coupon/wizard/__init__.py
635af11d6b33d4b83895e11bf4abe859856175f1
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
# -*- coding: utf-8 -*- # Part of Harpiya. See LICENSE file for full copyright and licensing details. from . import sale_coupon_apply_code from . import sale_coupon_generate
[ "yasir@harpiya.com" ]
yasir@harpiya.com
290d56dcec1a58dca055cb026dc4d25f4b012abe
010aa27c9b532a98acba678ac61cd603b3d9fd2e
/cltk/lemmatize/latin/backoff.py
46497c4758d48485457d7a8704249d1724d404ec
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ashwanidv100/cltk
2e83e394139173a7024e6bb5d21e826986f9ab13
ddfdb530aa322ac73f7ad57f725c9a80ed1b56ff
refs/heads/master
2021-04-09T15:25:31.172534
2018-03-21T17:16:04
2018-03-21T17:16:04
125,635,475
1
0
MIT
2018-03-17T14:26:14
2018-03-17T14:08:35
Python
UTF-8
Python
false
false
23,168
py
"""Module for lemmatizing Latin—includes several classes for different lemmatizing approaches--based on training data, regex pattern matching, etc. These can be chained together using the backoff parameter. Also, includes a pre-built chain that uses models in latin_models_cltk repo called BackoffLatinLemmatizer. The ...
[ "kyle@kyle-p-johnson.com" ]
kyle@kyle-p-johnson.com
efefb440146c23d804a17792e39d091c1a94ae26
06476bc4cb7fc3ce378beb357fac7d5aacb87b3b
/Prototype/env/lib/python3.8/site-packages/Xlib/xobject/icccm.py
a328925ed9e58bccae33040d004ca1fabba4d98d
[ "MIT" ]
permissive
marc-ortuno/VOPEC
44d3a74d3e0686474dd57fcb21e845fd5fd48897
e7ed1f13cc1868a824f4036dd08ec6bed4266c08
refs/heads/main
2023-06-12T19:15:18.060897
2021-07-01T17:15:03
2021-07-01T17:15:03
344,433,646
0
0
MIT
2021-06-14T19:15:47
2021-03-04T10:22:05
Python
UTF-8
Python
false
false
3,441
py
# Xlib.xobject.icccm -- ICCCM structures # # Copyright (C) 2000 Peter Liljenberg <petli@ctrl-c.liu.se> # # This library 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 2.1 # of ...
[ "you@example.com" ]
you@example.com
a1ad11fe81cbafd2634f7e88da34d940617525ed
0728a2e165808cfe5651693a6e7f47804bfb085f
/get/2013/site/getmyad/tests/functional/test_private.py
bb8b9931e924edaa1d8c9b4539e9f53d599872dc
[]
no_license
testTemtProj/OLD_PROJECT
5b026e072017f5135159b0940370fda860241d39
9e5b165f4e8acf9003536e05dcefd33a5ae46890
refs/heads/master
2020-05-18T15:30:24.543319
2013-07-23T15:17:32
2013-07-23T15:17:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from getmyad.tests import * class TestPrivateController(TestController): def test_index(self): response = self.app.get(url(controller='private', action='index')) # Test response...
[ "Kyzmenko_Pavel@mail.ru" ]
Kyzmenko_Pavel@mail.ru
bb0ce9645fde1dd12f1cdcbc2c425aca062c074a
981fcfe446a0289752790fd0c5be24020cbaee07
/python2_Grammer/src/basic/zhengze/rool/字符集和数量/字符集/5_单个字符.py
a5c6ad067a51536c1c61d9cec1f9965226efcb1d
[]
no_license
lijianbo0130/My_Python
7ba45a631049f6defec3977e680cd9bd75d138d1
8bd7548c97d2e6d2982070e949f1433232db9e07
refs/heads/master
2020-12-24T18:42:19.103529
2016-05-30T03:03:34
2016-05-30T03:03:34
58,097,799
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
#coding=utf-8 ''' Created on 2015年8月4日 @author: Administrator ''' from __future__ import division import sys reload(sys) sys.setdefaultencoding('utf-8') # @UndefinedVariable import re # 单个字母 \w [A-Za-z0-9_] 包含 '_' # 非单词字符 \W lis=re.findall("\w", "_ppa")#\w 包含_ print lis # ['_', 'p', 'p', 'a']
[ "lijianbo0130@qq.com" ]
lijianbo0130@qq.com
f42bc817dcd318885005c9843c46c7c2fbb6a3a8
83934c40b2bd835464732345fa516b2c657a6259
/Pyrado/scripts/training/qq-su_bayrn_power_sim2sim.py
bb7f330fbe57985f6ca1ae10001237a0591dbaea
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
1abner1/SimuRLacra
e0427bf4f2459dcb992206d3b2f347beab68a5b4
d7e9cd191ccb318d5f1e580babc2fc38b5b3675a
refs/heads/master
2023-05-25T04:52:17.917649
2021-06-07T07:26:44
2021-06-07T07:26:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,840
py
# Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and # Technical University of Darmstadt. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source ...
[ "fabio.muratore@famura.net" ]
fabio.muratore@famura.net
04f3348dcba79ceb132538619203da84de297413
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/byte/Schema+Instance/NISTXML-SV-IV-atomic-byte-maxExclusive-3-1.py
2e778fde1dbab8cd334f90bfc4b9a342ede77976
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
260
py
from output.models.nist_data.atomic.byte.schema_instance.nistschema_sv_iv_atomic_byte_max_exclusive_3_xsd.nistschema_sv_iv_atomic_byte_max_exclusive_3 import NistschemaSvIvAtomicByteMaxExclusive3 obj = NistschemaSvIvAtomicByteMaxExclusive3( value=-128 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
849dc7bec027beb9388173ab0f4d7875af17de51
09c87fe780df6d1f9eb33799ed516a0bbd7ab1e3
/src/tests/python-in/testmodule_pynsource.py
735e0b98628d7ea19d2e62d5bcea3176a8213c7a
[]
no_license
abulka/pynsource
8ad412b85dc1acaeb83d7d34af8cc033c6baba91
979436525c57fdaeaa832e960985e0406e123587
refs/heads/master
2023-04-13T12:58:02.911318
2023-04-11T09:56:32
2023-04-11T09:56:32
32,249,425
271
46
null
2022-10-10T04:36:57
2015-03-15T07:21:43
Python
UTF-8
Python
false
false
3,827
py
# pynsource command line tool import os # from core_parser import * from generate_code.gen_asciiart import CmdLinePythonToAsciiArt from generate_code.gen_yuml import CmdLinePythonToYuml from generate_code.gen_delphi import CmdLinePythonToDelphi from generate_code.gen_java import CmdLinePythonToJava import messages ...
[ "abulka@gmail.com" ]
abulka@gmail.com
736177be6e62fa382ac47be5d33fbdc6148042ad
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_1/brkluk001/question2.py
3b83362c9673632335a5e01fda0b228f12c0c017
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
validity = 'invalid.' hours = eval(input('Enter the hours:\n')) minutes = eval(input('Enter the minutes:\n')) seconds = eval(input('Enter the seconds:\n')) if 0 <= hours <= 23: if 0 <= minutes <= 60: if 0 <= seconds <= 60: validity = 'valid.' print('Your time is',validity) ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
528771585ec232b3bbad088c1ceb97469132ec70
baaeb8c1d335e258fd49b5ef024ac39790fd660f
/backend/test/test_invite.py
8701475410a01fb8aadf206d8a29c2720cb644a6
[]
no_license
ReactARDev/React_Redux_Python
f0b80a9d2a603b38f8e144966bc899c5aa3690e6
afdb4a55f82fdff86686ad955448a4168d05c739
refs/heads/master
2021-10-10T19:28:05.142652
2019-01-15T21:24:06
2019-01-15T21:24:06
159,198,417
0
0
null
null
null
null
UTF-8
Python
false
false
24,757
py
import json import test_app import factories import pprint from app import db_session_users from schemas.base_users import User, UserAgency, UserFollowedEntity, MarketingCampaign, UserTopic, Subscription, UserFolder, AggregatedAnnotations num_of_default_agencies_at_signup = 5 class RegisterTest(test_app.AppTest): ...
[ "talentmobile9999@gmail.com" ]
talentmobile9999@gmail.com
1484c55af6358e41228214378c276a467a0cf6f7
b39d72ba5de9d4683041e6b4413f8483c817f821
/GeneVisualization/ass1/Lib/site-packages/itk/itkLiThresholdCalculatorPython.py
556f811f79e55e27f6ef3e8cafcd931ef76386cb
[]
no_license
ssalmaan/DataVisualization
d93a0afe1290e4ea46c3be5718d503c71a6f99a7
eff072f11337f124681ce08742e1a092033680cc
refs/heads/master
2021-03-13T05:40:23.679095
2020-03-11T21:37:45
2020-03-11T21:37:45
246,642,979
0
0
null
null
null
null
UTF-8
Python
false
false
29,840
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3, 0, 0): new_instancemethod = lambda func, inst, cls: _itkL...
[ "44883043+ssalmaan@users.noreply.github.com" ]
44883043+ssalmaan@users.noreply.github.com
a4edb019c8bb611867382bd41f3e6b01771f81a0
1ac2594314c0de24528b171c8f9120566a3cd4be
/tests/test_api/test_application_auth.py
0a6f5f693cb4951d759daff7ef217d31d039c1b5
[ "MIT" ]
permissive
Zheaoli/huskar
a4c7e7b02bef301b5283519b1e1608489d79d95b
395775c59c7da97c46efe9756365cad028b7c95a
refs/heads/master
2022-07-11T06:54:34.810211
2020-01-01T08:00:57
2020-01-01T08:00:57
218,746,862
0
0
MIT
2019-10-31T11:06:11
2019-10-31T11:06:10
null
UTF-8
Python
false
false
8,603
py
from __future__ import absolute_import from pytest import fixture, mark from huskar_api.models.auth import User, ApplicationAuth, Authority from ..utils import assert_response_ok @fixture def add_user(faker): def factory(names): for name in names: if isinstance(name, list): n...
[ "mozillazg101@gmail.com" ]
mozillazg101@gmail.com
d4d08f73436f51abbf9249999f8bd5b6dce1cb2a
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_add_campaign_feed_response_wrapper_body.py
2f27de5df0deda8130743c0c31f94739b41f8938
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
928
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import sys import unittest import baiduads from baiduads.campaignfeed.model.campaign_feed_type import CampaignFeedType globals()['CampaignFeedType'] = CampaignFeedType from baiduads.campaignfeed.m...
[ "tokimekiyxp@foxmail.com" ]
tokimekiyxp@foxmail.com
5e9f5edc1885013a836356ef125492c6de7d6b52
8ddda8fb6e5853126dcdafa3281c75071ada45c1
/vyperlogix/trees/BinarySearchTree/__init__.py
9e650390474f68b25b15dfda4a0d59db47884e97
[ "CC0-1.0" ]
permissive
raychorn/chrome_gui
a48f3f9d931922a018e894f891ccd952476cd1ee
f1fade70b61af12ee43c55c075aa9cfd32caa962
refs/heads/master
2022-12-19T19:46:04.656032
2020-10-08T14:45:14
2020-10-08T14:45:14
299,167,534
1
0
null
null
null
null
UTF-8
Python
false
false
5,463
py
__copyright__ = """\ (c). Copyright 2008-2020, Vyper Logix Corp., All Rights Reserved. Published under Creative Commons License (http://creativecommons.org/licenses/by-nc/3.0/) restricted to non-commercial educational use only., http://www.VyperLogix.com for details THE AUTHOR VYPER LOGIX CORP DISCLAIMS ALL WARRA...
[ "raychorn@gmail.com" ]
raychorn@gmail.com
47193ec756fca771cdefe437d9cfd48ad786e116
a9ac3c537fc778b34cb32d4528e2d1190e65e19e
/scripts/quantum_hall/plot_soi_vs_density.py
1d23715075d28101edc610eb3beca90b6a499c9b
[ "MIT" ]
permissive
wms269/shabanipy
9f770cfdf113ca8e8af69cd793be2f8bf9b0141a
1e751631e031c528e18d5e0d8ff4fa1457f4107e
refs/heads/master
2022-09-23T15:43:43.875608
2020-04-09T17:49:24
2020-04-09T17:49:24
265,638,022
1
0
MIT
2020-05-20T17:25:40
2020-05-20T17:25:39
null
UTF-8
Python
false
false
2,360
py
# -*- coding: utf-8 -*- """Plot Rashba and mobility vs density from extracted parameters. The csv file to read is expected to have been generated by extract_soi_from_wal.py """ # ============================================================================= # --- Parameters -------------------------------------------...
[ "marul@laposte.net" ]
marul@laposte.net
9c32089e5865258988d73e8474c68a70f34955e7
068d271e241d8cdb46dbf4243166e4b8ee7025b2
/Django/进阶部分/day67课上代码两个项目哦/day67/mysite67/app01/urls.py
59ca711f596bdc197689aaf3513219e0abe2620d
[]
no_license
caiqinxiong/python
f6e226e76cb62aac970bcfbcb6c8adfc64858b60
9029f6c528d2cb742b600af224e803baa74cbe6a
refs/heads/master
2023-05-26T19:41:34.911885
2020-05-15T09:02:08
2020-05-15T09:02:08
195,261,757
1
0
null
2021-06-10T23:33:33
2019-07-04T15:01:42
JavaScript
UTF-8
Python
false
false
338
py
from django.conf.urls import url from app01 import views urlpatterns = [ url(r'^home/', views.home, {"age": 18}, name="home"), # 位置参数 url(r'^book/([0-9]{2,4})/([a-zA-Z]{2})/$', views.book, name="book"), # 关键字参数 # url(r'^book/(?P<year>[0-9]{2,4})/(?P<title>[a-zA-Z]{2})/$', views.book, name="book") ]
[ "13269469526@163.com" ]
13269469526@163.com
28630e10caac44c62f98b0f86af906f33d97d559
b1f801f4f805467491c0b7c2db01c7806c10f4ea
/hockey/oilers.py
e86e659297f1c98fe3f825a975a73fb97d18d29d
[ "MIT" ]
permissive
Obliviatum/Trusty-cogs
2fd00effade8cb45c139a85aac53b791d1a278f9
f2297675f92b8cfc25993271b8ad6abccbec7230
refs/heads/master
2022-12-16T15:51:05.072770
2020-09-10T23:40:16
2020-09-10T23:40:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,178
py
import asyncio from phue import Bridge import functools class Oilers: def __init__(self, bot): self.bot = bot self.bridge = Bridge("192.168.50.123") self.lights = self.bridge.lights self.bridge2 = Bridge("192.168.50.163") self.lights2 = self.bridge2.lights self.cur_...
[ "TrustyJAID@gmail.com" ]
TrustyJAID@gmail.com
2b4d92d3292e81047c5230dabf58430a113fa1b0
453d2e699d218fdb3bc1e535a707988194ac6717
/dash/render/renderer.py
87d2dcebc49cfb1dfa4d0322c90249b714943d80
[ "MIT" ]
permissive
defgsus/thegame
d54ffcd343c7e1805d2c11e24cd38b02243e73d4
38a627d9108f1418b94b08831fd640dd87fbba83
refs/heads/master
2023-07-23T06:32:40.297591
2022-04-11T12:02:32
2022-04-11T12:02:32
127,875,178
1
0
MIT
2023-07-06T22:07:07
2018-04-03T08:21:31
Python
UTF-8
Python
false
false
3,349
py
import time import math from typing import Optional from pyglet import gl import glm from lib.opengl import * from lib.math import FollowFilter from .._path import ASSET_PATH from ..game import Game from .rs import GameRenderSettings from .tilemap_node import TileMapNode from .objects_node import ObjectsNode from .ob...
[ "s.berke@netzkolchose.de" ]
s.berke@netzkolchose.de
c8db3a8e226cb70ad8c96b08f2330917343112c1
58141d7fc37854efad4ad64c74891a12908192ed
/config/coconut/node_272.py
6b2d09a25a2e728fba4ec6858f853d862492788a
[]
no_license
stanleylio/fishie
b028a93b2093f59a8ceee4f78b55a91bb1f69506
0685045c07e4105934d713a0fd58c4bc28821ed6
refs/heads/master
2022-08-14T13:08:55.548830
2022-07-29T01:32:28
2022-07-29T01:32:28
30,433,819
8
1
null
null
null
null
UTF-8
Python
false
false
1,993
py
name = 'controller02' location = 'Coconut Island' note = "v0 code: {'neutral':0, 'heating':1, 'cooling':2, 'flush':3}" latitude = 21.4347 longitude = -157.7990 deployment_status = 'deployed' conf = [ { 'dbtag':'ts', 'description':'Device clock', 'interval':60, }, { 'dbtag':'...
[ "stanleylio@gmail.com" ]
stanleylio@gmail.com
c6e59b6836ac31b3775c83db628c1e1a2d0c6413
ece0d321e48f182832252b23db1df0c21b78f20c
/engine/2.80/scripts/freestyle/styles/split_at_highest_2d_curvatures.py
68a80d89ea7c7b23302858dd2ddfe88b93707121
[ "GPL-3.0-only", "Font-exception-2.0", "GPL-3.0-or-later", "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain-disclaimer", "Bitstream-Vera", "LicenseRef-scancode-blender-2010", "LGPL-2.1-or-later", "GPL-2.0-or-lat...
permissive
byteinc/Phasor
47d4e48a52fa562dfa1a2dbe493f8ec9e94625b9
f7d23a489c2b4bcc3c1961ac955926484ff8b8d9
refs/heads/master
2022-10-25T17:05:01.585032
2019-03-16T19:24:22
2019-03-16T19:24:22
175,723,233
3
1
Unlicense
2022-10-21T07:02:37
2019-03-15T00:58:08
Python
UTF-8
Python
false
false
1,852
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "admin@irradiate.net" ]
admin@irradiate.net
5d5f19e950b769abbcaddf745393f2ddc66ce44e
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/cyphon/cyphon/responder/couriers/migrations/0001_initial.py
63f51235b83605b3ed2479a1caecf6f191b6d741
[ "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-copyleft", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
2,005
py
# -*- coding: utf-8 -*- # Copyright 2017-2019 ControlScan, Inc. # # This file is part of Cyphon Engine. # # Cyphon Engine is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # Cyphon En...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
fe477ca8839d24ef5c701f59cf5ec4ec9470a23a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03547/s710097147.py
ae361a95c0c868de2d887122c718078902ffa546
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
X,Y = input().split() S=[X,Y] S.sort() if X==Y: print("=") else: if S[0]==X: print("<") elif S[0]==Y: print(">")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1194dfd86a3d043f09ac701fb4b1c43643524106
4da72085e8b3adc68a6ec967025caf9576a75363
/tapiriik/services/api.py
0d61cea0af5e343af7a8d1f00d2a42d8eb991179
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
blakearnold/tapiriik
ec9063b3bc234dccc5dc63fcbe2f31bbcabc6e96
bf2e803cc8825a6c21bf7eae115044683dc98837
refs/heads/master
2021-01-20T01:10:52.259265
2014-07-21T00:58:58
2014-07-21T00:58:58
18,734,981
0
1
null
null
null
null
UTF-8
Python
false
false
2,895
py
class ServiceExceptionScope: Account = "account" Service = "service" class ServiceException(Exception): def __init__(self, message, scope=ServiceExceptionScope.Service, block=False, user_exception=None): Exception.__init__(self, message) self.Message = message self.UserException = u...
[ "cpf@cpfx.ca" ]
cpf@cpfx.ca
24fa541ba8035e7771c837154211bd159e7bd92e
2d2c10ffa7aa5ee35393371e7f8c13b4fab94446
/projects/ai/reader/read-records.py
ad82b741cf38c8653e3c5b8df2f1402d4a8f7ed8
[]
no_license
faker2081/pikachu2
bec83750a5ff3c7b5a26662000517df0f608c1c1
4f06d47c7bf79eb4e5a22648e088b3296dad3b2d
refs/heads/main
2023-09-02T00:28:41.723277
2021-11-17T11:15:44
2021-11-17T11:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,377
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================== # \file inference.py # \author chenghuige # \date 2018-02-05 20:05:25.123740 # \Description # =============================================================...
[ "chenghuige@gmail.com" ]
chenghuige@gmail.com
ab23e48873e7ca764d6bfc1216f93ed33e7f1c28
69c185d0dfed894234506a1aa6c6bf863849c589
/web服务器最初引进/wsgi/ctime.py
ac9c1f737f07361c21f766c78184b8254b451ce7
[]
no_license
haha479/Socket_CS_project
19599edc47dda61a60afc55dae16a6b59c78fdd5
5b54ef8db0b10d63bf9e6f980a32a45c4055238a
refs/heads/master
2020-04-08T11:23:16.514181
2018-11-30T04:26:08
2018-11-30T04:26:08
159,304,060
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
import time #将返回给浏览器的数据解耦到次脚本文件中 def get_time(env,start_response): statu = "200 OK" headers = [('Content-Type', 'text/html')] start_response(statu,headers) return time.ctime() def get_love(env,start_response): statu = "200 OK" headers = [('Content-Type', 'text/html')] start_response(statu,headers) return "Lo...
[ "283275935@qq.com" ]
283275935@qq.com
91c211a6e01d7c3e851c89671af6973faa5c1296
8bc025f27f451f245bd371b66f3d58253e4587d3
/src/Foundation/Standard/practice12.py
9c2c3dd3ebc73f06f3f63c509ae4d052354cdf83
[ "MIT" ]
permissive
mryyomutga/PracticePython
8f2c5cdef074091eb8fcf76bd78800b959024e02
e191d73064248d0983344b137fbe6b69e5eb1d12
refs/heads/master
2021-05-15T14:31:16.365211
2017-10-29T04:46:51
2017-10-29T04:46:51
107,212,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
# -*- coding:utf-8 -*- # ジェネレータ # 処理の途中で値を返し、必要に応じて処理を再開できる def sample_generator(): print("call 1") yield "1st step" print("call 2") yield "2nd step" print("call 3") yield "3rd step" # ジェネレータオブジェクトを作成 gen_func = sample_generator() text = gen_func.__next__() # yieldまで実行 print(te...
[ "mryyomutga@gmail.com" ]
mryyomutga@gmail.com
7c69ed213923a672ef47819e263bc2c7a18b0dae
4f0385a90230c0fe808e8672bb5b8abcceb43783
/LNH/day4/Common module/06 sys module-FLS-MPB.py
8b07eaf64b395655b35a8a69cb85bf7d9ab01420
[]
no_license
lincappu/pycharmlearningproject
4084dab7adde01db9fa82a12769a67e8b26b3382
b501523e417b61373688ba12f11b384166baf489
refs/heads/master
2023-07-10T05:21:15.163393
2023-06-29T14:02:35
2023-06-29T14:02:35
113,925,289
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# !/usr/bin/env python3 # _*_coding:utf-8_*_ # __author__:FLS from pprint import pprint import sys print(sys.argv[0]) # 重定向标准输出: saveout=sys.stdout flog=open('t2.log.sh','w',encoding='utf-8') sys.stdout=flog print('12345323') flog.close() sys.stdout=saveout print('zhengcheng') print(sys.builtin_module_nam...
[ "lincappu@163.com" ]
lincappu@163.com
661ecdd01b1742556a9e7a99a743c13e13548b0f
06d3156837abec83be6e038e21ee4bfd0f6c0a23
/mysite/settings.py
be5097c4338860646302a2ba8e43adb57d314010
[]
no_license
Igorskie/my-first-blog
2f4c94380ab61024c009f24f6f7cf3d0ac0df0b3
431a35144803cb9768e597d945116c94ced6ea13
refs/heads/master
2020-07-06T01:14:07.806438
2019-08-17T08:03:57
2019-08-17T08:03:57
202,833,238
0
0
null
null
null
null
UTF-8
Python
false
false
3,181
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "you@example.com" ]
you@example.com
e72f0caffcab32a6b1d54c4d895be2149304c7d8
6b265b404d74b09e1b1e3710e8ea872cd50f4263
/Python/PyParsing/macro_expander.py
0c15b33b30ac328bf08b6d947d174a4f430e5943
[ "CC-BY-4.0" ]
permissive
gjbex/training-material
cdc189469ae2c7d43784ecdcb4bcca10ecbc21ae
e748466a2af9f3388a8b0ed091aa061dbfc752d6
refs/heads/master
2023-08-17T11:02:27.322865
2023-04-27T14:42:55
2023-04-27T14:42:55
18,587,808
130
60
CC-BY-4.0
2023-08-03T07:07:25
2014-04-09T06:35:58
Jupyter Notebook
UTF-8
Python
false
false
3,443
py
#!/usr/bin/env python from argparse import ArgumentParser, FileType import imp import sys import types from pyparsing import Regex, Literal, ZeroOrMore, Group class UndefinedMacroError(Exception): '''Class encoding an exception for an undefined macro encountered while parsing a text''' def __init__(s...
[ "geertjan.bex@uhasselt.be" ]
geertjan.bex@uhasselt.be
099cc4fda3d3ac97352d0deffc1bdb6a06428dc2
6c28060d11ec001b48a091760d0f883b23a72eaa
/notification/context_processor.py
cd66be1f866e7ca6946f8fafb29de4b9f29741eb
[]
no_license
s-soroosh/rose
8b37904781d382fbac58fbaf9668391dddee2fc7
1f7ab356656696de06c56f8a86808ae59474c649
refs/heads/master
2021-05-26T18:22:37.349231
2014-07-02T07:25:54
2014-07-02T07:25:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
from assign.models import Assign __author__ = 'soroosh' def notification(request): count = Assign.objects.filter(target__id=request.user.id, status='pending').count() return {'notifications_count': count}
[ "soroosh.sarabadani@gmail.com" ]
soroosh.sarabadani@gmail.com
0621261bead3ecfcb35630fd2ffb1926684431d1
0e647273cffc1fb6cbd589fa3c7c277b221ba247
/configs/hpt-pretrain/chexpert-r18/no_basetrain/5000-iters.py
eea6cd8ca1b09c010a379fe19bbf022ffb5a8f90
[ "Apache-2.0" ]
permissive
Berkeley-Data/OpenSelfSup
e9976bf011b69ebf918506ba184f464b1073ec13
221191b88d891de57725b149caf237ffef72e529
refs/heads/master
2023-05-12T07:34:52.268476
2021-04-08T00:58:37
2021-04-08T00:58:37
343,654,823
0
1
Apache-2.0
2021-04-08T00:58:37
2021-03-02T05:20:27
Python
UTF-8
Python
false
false
206
py
_base_="../base-chexpert-r18-config.py" # this will merge with the parent # epoch related total_iters=5000 checkpoint_config = dict(interval=total_iters) checkpoint_config = dict(interval=total_iters//2)
[ "taeil.goh@gmail.com" ]
taeil.goh@gmail.com
4b22bc1672d0cb5edf940c5940d9748062ae83bf
4c117ea3617a576ddd07d8ea8aaab1a925fc402f
/bin/Race/Statistic/StatPlotRace.py
4c58180d8fb9441a99b11f09fe6b364418a4f2eb
[]
no_license
452990729/Rep-seq
7be6058ba3284bea81282f2db7fd3bd7895173ba
e217b115791e0aba064b2426e4502a5c1b032a94
refs/heads/master
2021-12-11T14:27:46.912144
2019-06-04T03:49:40
2019-06-04T03:49:40
190,124,555
0
1
null
null
null
null
UTF-8
Python
false
false
10,436
py
#!/usr/bin/env python import re from glob import glob import os import sys import random from copy import deepcopy from collections import Counter import matplotlib matplotlib.use('Agg') from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D import numpy as np def get_cmap(n, name='hsv'): ''...
[ "452990729@qq.com" ]
452990729@qq.com
157d369702bec630b730984870fff4996b38d54e
b28df8f2cd9a4b4fe274eb1688e7410ae19f9da1
/kwippy/models/login.py
f89b8a0d9b01ef11b043d89d16a026f3e3f39269
[]
no_license
kwippy-com/kwippycore
ba2d8b584e2171fd5322446df409e6983e23409b
d0647405cf77c4490cb40194b35e385955d56707
refs/heads/master
2020-06-14T14:56:35.169865
2014-12-08T16:44:20
2014-12-08T16:44:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
from django.db import models from django.contrib.auth.models import * class Login(models.Model): user = models.ForeignKey(User) login_at = models.DateTimeField(auto_now_add=True) def __unicode__(self) : return '%s' % (self.user) class Meta: app_label="kwippy"
[ "dipankarsarkar@gmail.com" ]
dipankarsarkar@gmail.com
cce00240af79b52f5debad52fa91b451574aaca4
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/primat.py
30563ebedac47163924a1ceba50956c489a8723a
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
508
py
ii = [('CookGHP3.py', 2), ('CoolWHM2.py', 1), ('SadlMLP.py', 1), ('CookGHP.py', 2), ('ShawHDE.py', 1), ('LeakWTI2.py', 1), ('LeakWTI3.py', 4), ('ClarGE2.py', 3), ('ClarGE.py', 9), ('DaltJMA.py', 47), ('WestJIT2.py', 1), ('DibdTRL2.py', 1), ('WadeJEB.py', 6), ('FerrSDO2.py', 1), ('NewmJLP.py', 2), ('LeakWTI4.py', 9), ('...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
5566d9fe68f4a8e90970c0c0c27916071980e61a
2ec14fd1724fc8959e1d3a1b4d3f61d5c0cf6f48
/test/functional/feature_uacomment.py
e8b6937d62c8a3a6b6640d2715077b8465f8deaf
[ "MIT" ]
permissive
vitae-labs/Vitae
7ddf8142d1e663f406399ec17de1c7bbba5e32fd
fa301e714cb26e742cfe29164a25961f1ff6d52c
refs/heads/main
2022-07-28T15:48:24.765770
2022-01-29T06:13:19
2022-01-29T06:13:19
451,559,855
0
1
null
null
null
null
UTF-8
Python
false
false
1,769
py
#!/usr/bin/env python3 # Copyright (c) 2017-2019 The Bitcoin Core developers # Copyright (c) 2020-2021 The Vitae Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the -uacomment option.""" import re from te...
[ "hemant.singh.leu@gmail.com" ]
hemant.singh.leu@gmail.com
d09d651c8b884b3ed825d329a4531ec94b0b54d5
ad71c89863122dfb4093db0d9f9c40d962d567ff
/Week 10/3-HorizontalHistogram.py
487bedcb770ac0989049098209474854bb385e10
[]
no_license
jacktnp/PSIT60
8958e7cca278c81d2c5d3af6956728c35425628d
b63c63d8d9c1e97ce66bbb0b884b1f19fecf7b6b
refs/heads/master
2021-08-16T07:53:33.900161
2017-11-19T10:07:02
2017-11-19T10:07:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
""" PSIT Week 10 Wiput Pootong (60070090) HorizontalHistogram """ def main(): """ Display histogram of alphabets """ text = input() upper = {} lower = {} for char in text: if char.isupper(): if char not in upper: upper[char] = 0 upper[char] += 1 ...
[ "wiput.pootong@gmail.com" ]
wiput.pootong@gmail.com
c17ad1ba1dfe17e3fa802c32622852702517642a
3424161b573d2fe8873905d434d459a28336e87c
/head_soccer_06_3/source/database/mysql.py
fbb8e3d541273717b2f80f718259dc62c29cae0d
[]
no_license
newtonis/Head-Soccer-Network
412f7717b97bcb2216bc8086ef131e9e9a4f3908
fd76920c486fb4af903b0e92b0d014a7d254f124
refs/heads/master
2023-05-23T23:08:46.952852
2021-06-27T00:20:12
2021-06-27T00:20:12
30,889,769
2
1
null
null
null
null
UTF-8
Python
false
false
1,566
py
__author__ = 'Dylan' import _mysql import time try: con = _mysql.connect('db4free.net','grandt','1221dylan','headsoccerdb') except: print "[Info] Not able to reach internet" con = None class SQLEngine: def CheckDeadServers(self): actual = self.GetServers() for x in actual: ...
[ "newtonis.penguin@gmail.com" ]
newtonis.penguin@gmail.com