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
b84f69d17500a6b6e66480a09d2e506741a67e4f
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_19/models/drive.py
e2fe31ce4291fc4979e0d6bf048a2339e25693f9
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
5,075
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.19 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
7d01691f5e000ba13aeeccf9312e3cefdfddc855
9b20743ec6cd28d749a4323dcbadb1a0cffb281b
/13_Deep_Learning_with_Python/19/lstm_time_steps.py
1283c01195769a1447ec35bedff7725a220e636c
[]
no_license
jggrimesdc-zz/MachineLearningExercises
6e1c7e1f95399e69bba95cdfe17c4f8d8c90d178
ee265f1c6029c91daff172b3e7c1a96177646bc5
refs/heads/master
2023-03-07T19:30:26.691659
2021-02-19T08:00:49
2021-02-19T08:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,859
py
# LSTM for international airline passengers problem with time step regression framing import math import matplotlib.pyplot as plt import numpy from keras.layers import Dense from keras.layers import LSTM from keras.models import Sequential from pandas import read_csv from sklearn.metrics import mean_squared_error from...
[ "jgrimes@jgrimes.tech" ]
jgrimes@jgrimes.tech
1ae2c3a8919afef2d631e0794ee6eecab9a5888f
eab1756b01717e81537133400f36aea4d7a0876f
/tf-tools/benchmark/runner/command_builder.py
d4b34049b1f2bcdbbf6b2fdceccecd77e713d4fd
[]
no_license
bearpelican/cluster
d677fe392ac1196b77e3f8fb79e530ec8371080f
2e316cf1def0b72b47f79a864ed3aa778c297b95
refs/heads/master
2020-03-21T06:52:57.514901
2018-08-10T10:20:26
2018-08-10T22:33:05
138,246,892
3
1
null
2018-06-22T02:51:07
2018-06-22T02:51:07
null
UTF-8
Python
false
false
7,114
py
import os import sys import six def BuildDistributedCommandWorker(run_config, worker_hosts, ps_hosts, task_index): """Build command to start distributed worker.""" run_script = 'python tf_cnn_benchmarks.py' # Build command line run_cmd_list = [] # Arguments with no name ch...
[ "yaroslavvb@gmail.com" ]
yaroslavvb@gmail.com
86772856d2c5510482c68baa6665fcd7c7d50caf
394b1db76725368ca12dd278b1c1df9d899bc8a0
/os_windows/tests/utils/test_hostutilsv2.py
f4e06782d4bdbb3f06da5290fd18791c79796903
[ "Apache-2.0" ]
permissive
cloudbase/os-windows
c40385ec895eecc161f22314f884efdf8f25428f
8dd9a41499653ea7c58e238877942ab1d4c46636
refs/heads/master
2020-04-10T00:31:36.251584
2015-08-25T10:27:56
2015-08-25T10:35:09
40,188,188
3
0
null
null
null
null
UTF-8
Python
false
false
1,056
py
# Copyright 2015 Cloudbase Solutions Srl # 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 r...
[ "cbelu@cloudbasesolutions.com" ]
cbelu@cloudbasesolutions.com
472ef39c8e0d17aa0563d154f2b83520c96a7d18
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py
46875398aaea7124274235521817c9d56f2c21fd
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
30,328
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
80e13d2af95cd5462e1764f65ce1ded8ffd89e4e
d2a181395347b6b7308cdbd9a411c79775a035c8
/pytorch_lightning/plugins/training_type/rpc.py
3e0f57daef001016989921d50c2da12e7a7b62c5
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
rephrase-ai/pytorch-lightning
d30d552288d1bf6f65a605e5c8893583ecc58862
8bd7b1bdd7d3f723822e78908033cf0a6743713a
refs/heads/master
2023-06-06T11:32:41.765882
2021-06-23T12:09:53
2021-06-23T12:09:53
291,268,679
2
0
Apache-2.0
2020-08-29T12:38:33
2020-08-29T12:38:32
null
UTF-8
Python
false
false
3,261
py
# Copyright The PyTorch Lightning team. # # 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 i...
[ "noreply@github.com" ]
rephrase-ai.noreply@github.com
a75fa0aba37d9381d3b761528cc6fad2d277652e
6109a95a284891792c35d0d19906ab8d1697f9c7
/src/dataprotection/azext_dataprotection/tests/latest/example_steps.py
9654f4d35a6e5fa556a3d4946a3c2835913c1df1
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Tatsinnit/azure-cli-extensions
3e5a1752edced00d7c33660027d2c17fae074569
a1959b123d4c11149adae2728ab5791949889d54
refs/heads/master
2022-10-05T17:40:10.825889
2022-03-16T10:33:56
2022-03-16T10:33:56
250,102,909
0
0
MIT
2020-03-25T22:12:01
2020-03-25T22:12:01
null
UTF-8
Python
false
false
20,433
py
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause...
[ "noreply@github.com" ]
Tatsinnit.noreply@github.com
7c7c4e68da3caf86da87c38fb14dcf4d477023a4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/LMoP4Jhpm9kx4WQ3a_14.py
f7fe5873aec7470accbad426e951318da5ec8cc7
[]
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
250
py
def is_ascending(s): for i in range(1, len(s)): lst = [s[i*n: i*n + i] for n in range(len(s) // i + 1)] lst = [int(e) for e in lst if e != ''] ​ if all(y - x == 1 for x, y in zip(lst, lst[1:])): return True ​ return False
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a69d582fd0ff9bd5736dd2b50fb7263eb0ba6105
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PyQt5/QtSensors/QTapReading.py
90f885cce966ee92282e40dd5d41e5e48defb82e
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
# encoding: utf-8 # module PyQt5.QtSensors # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\QtSensors.pyd # by generator 1.146 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import sip as __sip from .QSensorReading import QSensorReading class QTapReading(QSensorReading)...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
d34ea5df961bc06c215ecdc35ceb7571ba90f954
b41b996b4a14f11bb3d7676b4539725a93c2d586
/SourceCode/Codesignal-Selenium/SourceNew/Py3/reachNextLevel.py3
9306a5fd227852f974663f73646cf4d920439e19
[]
no_license
mquandvr/selenium
ee2c0e7febb15f4db4d33a8575726f67c48bde05
d7bb4c95d4d0756c66cbf3c69387318fc07219f2
refs/heads/master
2020-06-05T05:49:57.476867
2019-06-18T10:55:27
2019-06-18T10:55:27
192,335,493
0
0
null
null
null
null
UTF-8
Python
false
false
95
py3
def reachNextLevel(experience, threshold, reward): return experience + reward >= threshold
[ "11130052@st.hcmuaf.edu.vn" ]
11130052@st.hcmuaf.edu.vn
262cd0dc46847d04648a4e885b117deb1001dbfa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03186/s835774688.py
7de649546cf814816e30043e0cbcb99d069c59c8
[]
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
468
py
import sys stdin = sys.stdin sys.setrecursionlimit(10**5) def li(): return map(int, stdin.readline().split()) def li_(): return map(lambda x: int(x)-1, stdin.readline().split()) def lf(): return map(float, stdin.readline().split()) def ls(): return stdin.readline().split() def ns(): return stdin.readline().rstrip(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
338d49992e8c321760e04cde83b768ff90ec521f
91b3f9f1803161c22ff5bed3e5604a07d67728ac
/gui/my_tkinter/overlay/command_input_overlay.py
a4ac6c287484a6e7b51f0cab2c7f5e06517c6302
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
AndreTeixeira1998/TekkenBot
dab01fd022f91787f709241a17a903291e7089bd
015c601afbea5d75a46b3385f1d322b2655249b0
refs/heads/master
2023-07-17T16:52:14.182255
2021-04-22T17:29:55
2021-04-22T17:29:55
273,787,610
0
0
MIT
2020-06-20T21:34:27
2020-06-20T21:34:26
null
UTF-8
Python
false
false
19,390
py
#!/usr/bin/env python3 # Copyright (c) 2019, Alchemy Meister # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # ...
[ "jesusesma@gmail.com" ]
jesusesma@gmail.com
ad19f6436476f7945b4874af4415f1a452c5fc76
48afd1c0b32800e8539523a36430258b5be04c44
/plot-python/plotter.py
dbad609b9861ab70f285c883b96f3fdad907e7cb
[]
no_license
akondrahman/Miscellaneous
d89c38fb0e949d52b051374aa44156a8bb3dc323
9e19b8c392f2dd0460f8fea75714b51fb8365d87
refs/heads/master
2021-05-04T10:50:26.456531
2018-12-03T00:26:03
2018-12-03T00:26:03
45,482,179
0
0
null
null
null
null
UTF-8
Python
false
false
20,479
py
# -*- coding: utf-8 -*- """ Created on Fri Oct 23 17:34:03 2015 @author: akond """ def compareViaBoxPlot(posGroupParam, zeroGroupParam, negGroupParam, fileNameParam): import plotly.plotly as py import plotly.graph_objs as go from plotly.graph_objs import Layout, YAxis, Figure, Margin, Font #from plotly.g...
[ "akond.rahman.buet@gmail.com" ]
akond.rahman.buet@gmail.com
9cc8b305af932d8ef4ca515b03f203c01f5ff70e
737fb5941007346841e3f8f4d01788f0836fda83
/src/test/TestJson.py
2b17a69e976c2ef4acaf5fe5c0b2c4741c96405c
[]
no_license
fletch22/basketball_reference
ae7a1baddf395166f77c918d854e16d2df32d787
65cb4d513961266b19bb11cde90adb8290d84c8c
refs/heads/master
2020-05-09T15:25:40.320231
2019-04-13T22:05:14
2019-04-13T22:05:14
181,233,256
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
import os from unittest import TestCase from src import config class TestJon(TestCase): def test_one(self): season_four = os.path.join(config.NBA_MATCHES_DIR, '2003-2004')
[ "chris@fletch22.com" ]
chris@fletch22.com
02475cd9e8bd36b0da6e2828bbdaf6dd1ad2fc4a
d8c4854d7c4ebd3d643ff50878b6100aa34d2dc3
/venv/Lib/site-packages/numpoly/construct/compose.py
14fe1909555772046ff2e0b957295c7b0203a368
[]
no_license
quintelabm/PrmFitting
35a8b7463d5fddb834eac1901a27a258de0c0da0
b384b5bde0cbc2717bea936ddf151df619d8893b
refs/heads/master
2023-08-06T04:03:16.864147
2021-09-17T02:43:45
2021-09-17T02:43:45
221,717,745
0
0
null
null
null
null
UTF-8
Python
false
false
2,979
py
"""Compose polynomial from array of arrays of polynomials.""" import numpy import numpoly from .clean import postprocess_attributes def compose_polynomial_array( arrays, dtype=None, allocation=None, ): """ Compose polynomial from array of arrays of polynomials. Backend for `numpo...
[ "46576343+jessica-garbero@users.noreply.github.com" ]
46576343+jessica-garbero@users.noreply.github.com
a509c5b582fce0b4d759e02ed7a2230ad7515671
493a36f1f8606c7ddce8fc7fe49ce4409faf80be
/.history/B073040023/client_20210614205605.py
c068d8d382edec286c8db0557cd195042aa9cf64
[]
no_license
ZhangRRz/computer_network
f7c3b82e62920bc0881dff923895da8ae60fa653
077848a2191fdfe2516798829644c32eaeded11e
refs/heads/main
2023-05-28T02:18:09.902165
2021-06-15T06:28:59
2021-06-15T06:28:59
376,568,344
0
0
null
2021-06-13T14:48:36
2021-06-13T14:48:36
null
UTF-8
Python
false
false
6,118
py
import socket import threading import tcppacket import struct from time import sleep from receive import * # socket.socket() will create a TCP socket (default) # socket.socket(socket.AF_INET, socket.SOCK_STREAM) to explicitly define a TCP socket sock = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) # explicitly defin...
[ "tom95011@gmail.com" ]
tom95011@gmail.com
2f4a8226b999c8883b312096dfa8685db8257a66
6a0de589ede5802ee86540df573748c09d05ac21
/webserver/app/__init__.py
20b542edf3682b9d630dbc9d1082f39035552113
[ "MIT" ]
permissive
pansila/Auto-Test-System
1165db6c9f20b3e0be98edeee07d27ca5dc24794
541ff5afe996e8625a81aa9d7d2c341be6c2c640
refs/heads/master
2023-08-08T11:13:25.470373
2023-06-04T11:22:11
2023-06-04T11:22:11
171,233,669
19
5
MIT
2023-08-02T02:04:53
2019-02-18T07:14:41
Python
UTF-8
Python
false
false
4,188
py
import asyncio import os import unittest import motor.motor_asyncio import socketio from sanic import Blueprint, Sanic from sanic.log import logger from sanic_openapi import swagger_blueprint from sanic_limiter import Limiter, get_remote_address from sanic_cors import CORS from simple_bcrypt import Bcrypt from app.m...
[ "panzilla@163.com" ]
panzilla@163.com
01288ffdb7cd44293f7b9fa16746a226dfbff89a
d4e38b8a1438c0509f3f160a2ceb9aa166ac3ed1
/labs/lab3/my-venv3/lib/python3.6/operator.py
aeff9a4315d8c6408081eabd45f74d835ae080a2
[]
no_license
yulu9206/cmpe273-spring2018
e7ffa36818cb87596de351b36d5dc33ec387bf1b
8e0eaa0ce951b718dae195753dca0d9fc07b5a97
refs/heads/master
2021-04-06T11:17:44.918483
2018-03-15T20:26:35
2018-03-15T20:26:35
125,421,797
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
/Users/yulu9206/anaconda3/lib/python3.6/operator.py
[ "yulu9206@Lus-MacBook-Air.local" ]
yulu9206@Lus-MacBook-Air.local
c22c2dc6fe249a715cc59acba5fddfb32d094bbd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03253/s477811511.py
4e6e72326830a7e614f0a06fc3fe8de5c30a0105
[]
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
980
py
def factorization(n): arr = [] temp = n for i in range(2, int(-(-n**0.5//1))+1): if temp%i==0: cnt=0 while temp%i==0: cnt+=1 temp //= i arr.append([i, cnt]) if temp!=1: arr.append([temp, 1]) if arr==[]: arr...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
170c7abc58f841bc85e412884418cba304e12e6b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03283/s076177830.py
4e9d2444c69be70b4cba536c09f2dc693e40c150
[]
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
393
py
# D - AtCoder Express 2 N, M, Q = map(int, input().split()) G = [[0] * (N+1) for _ in range(N+1)] for _ in range(M): L, R = map(int, input().split()) G[L][R] += 1 for i in range(N+1): for j in range(N): G[i][j+1] += G[i][j] for _ in range(Q): p, q = map(int, input().split()) ans = 0 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e6b4ceaaf98f2d3100001d9399b3dc3da89cc14f
000a4b227d970cdc6c8db192f4437698cb782721
/python/helpers/typeshed/stubs/SQLAlchemy/sqlalchemy/dialects/postgresql/ranges.pyi
35146308928b66a9a6d3c4e08291eca5faaa3240
[ "Apache-2.0", "MIT" ]
permissive
trinhanhngoc/intellij-community
2eb2f66a2a3a9456e7a0c5e7be1eaba03c38815d
1d4a962cfda308a73e0a7ef75186aaa4b15d1e17
refs/heads/master
2022-11-03T21:50:47.859675
2022-10-19T16:39:57
2022-10-19T23:25:35
205,765,945
1
0
Apache-2.0
2019-09-02T02:55:15
2019-09-02T02:55:15
null
UTF-8
Python
false
false
1,104
pyi
from typing import Any import sqlalchemy.types as sqltypes class RangeOperators: class comparator_factory(sqltypes.Concatenable.Comparator): def __ne__(self, other): ... def contains(self, other, **kw): ... def contained_by(self, other): ... def overlaps(self, other): ... d...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
fe8077168fc9ea1e6ed628f230115ede09ec24a2
793712dc19d66a508b1ae11758c8d3070acc9441
/logcollector/logserver.py
3cd4fd86cd16ce3f0e811c7267dccbc7f2e6eaef
[ "BSD-3-Clause" ]
permissive
stuarteberg/logcollector
3fc0f56759e72734323203ae24c6945adfa785ff
89cb364399f6f228294c7d92054ed13f96369542
refs/heads/master
2020-05-21T15:03:42.238075
2018-07-05T03:52:27
2018-07-05T03:52:27
65,582,113
0
0
null
null
null
null
UTF-8
Python
false
false
8,595
py
from __future__ import print_function import sys import os import time from datetime import datetime from collections import OrderedDict, defaultdict import tempfile import traceback import logging import socket import signal from flask import Flask, request, render_template, abort, make_response, redirect, url_for if...
[ "bergs@janelia.hhmi.org" ]
bergs@janelia.hhmi.org
f6cbae76fb6a71c459db319a8c00c053863165fa
f6bba50fccc6fb0dae2f046193434cfb4b9d32d5
/131/E.py
a6dccd7412f7a8bb290e724f4fd404030f8493c3
[]
no_license
seven320/AtCoder
4c26723d20004fe46ce118b882faabc05066841c
45e301e330e817f1ace4be4088d3babe18588170
refs/heads/master
2021-11-22T22:57:32.290504
2021-10-24T09:15:12
2021-10-24T09:15:12
162,827,473
2
0
null
null
null
null
UTF-8
Python
false
false
728
py
# encoding:utf-8 import copy import random import bisect #bisect_left これで二部探索の大小検索が行える import fractions #最小公倍数などはこっち import math import sys mod = 10**9+7 sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000 def LI(): return list(map(int, sys.stdin.readline().split())) N,K = LI() if K > (N-1)*(N-2)//2 : print("-1") ...
[ "yosyuaomenw@yahoo.co.jp" ]
yosyuaomenw@yahoo.co.jp
ba572c0b3663e4588065f171c3e8813435665f53
5a9c19c8ff43a37549c187bd1a1f28ca3ea8c5f9
/Diena_1_4_thonny/d4_g3_u1.py
25f95667c2ef5ed37fabc0a0243f55c869d6875e
[ "MIT" ]
permissive
komunikator1984/Python_RTU_08_20
a570e5a1b15b9289f277173245be1b189828adbf
773314e2586cc63fcb659aa8466bad7d3f8910c9
refs/heads/master
2023-07-22T04:24:56.544299
2021-08-30T18:02:38
2021-08-30T18:02:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
fizz = 3 buzz = 5 for i in range(1,101): if i % fizz == 0 and i % buzz == 0: print("FizzBuzz", end=",") elif i % buzz == 0: print("Buzz", end=",") elif i % fizz == 0: print("Fizz", end=",") else: print(i,end=",") # result = "" # for i in range(1,101): # rem5 = i % 5 ...
[ "valdis.s.coding@gmail.com" ]
valdis.s.coding@gmail.com
7e6582046fed958f6df2c33192285784aa7db183
88077b266529de5c2059306ec058e8fbbac69eea
/tests/domain/test_room.py
20989fe1d93e37b1283d5f096946d077d0e1b302
[ "MIT" ]
permissive
PragmaticCoder/rentomatic
a6191dfc9fbb7a08eaddc787617d2dddd69228b8
7b0420deb4c0ae18dc62c97e4718be8853932fd0
refs/heads/master
2022-04-02T23:35:07.938288
2018-12-13T14:08:34
2020-02-15T12:29:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
import uuid from rentomatic.domain import room as r def test_room_model_init(): code = uuid.uuid4() room = r.Room(code, size=200, price=10, longitude=-0.09998975, latitude=51.75436293) assert room.code == code assert room.size == 200 assert room.price == 10 ...
[ "giordani.leonardo@gmail.com" ]
giordani.leonardo@gmail.com
8cdbf16716b0b7bd57113fdfeaf55074c0774322
12cb9edd19612c132028c45707b4ec944ae4ae88
/1-pack_web_static.py
ac135c138bef9bae6b85bb0e7ee57f537190ed64
[]
no_license
imperfectskillz/AirBnB_clone_v2
6345389a99f66c23d310ac3030986ef8973c00bb
8910d78da6a6bb6f14fa569af913739f4b5cf5f5
refs/heads/master
2020-03-08T01:08:53.124647
2018-04-19T01:14:16
2018-04-19T01:14:16
127,822,734
0
0
null
2018-04-02T23:11:34
2018-04-02T23:11:34
null
UTF-8
Python
false
false
437
py
#!/usr/bin/python3 # fabric script generates a tgz archive from fabric.api import * from datetime import datetime def do_pack(): """ creates tgz """ filetime = datetime.now().strftime('%Y%m%d%H%M%s') filename = 'versions/web_static_{}.tgz'.format(filetime) try: local("mkdir -p versions...
[ "j.choi.89@gmail.com" ]
j.choi.89@gmail.com
ccbbb0b51a37642910edb87d704199f36f99dacb
2d05050d0ada29f7680b4df20c10bb85b0530e45
/python/tvm/topi/arm_cpu/mprofile/dsp/micro_kernel/tensordot.py
af3b23e01dcba8625514e07d9531b0300019e087
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Zlib", "LLVM-exception", "BSD-2-Clause" ]
permissive
apache/tvm
87cb617f9a131fa44e1693303aaddf70e7a4c403
d75083cd97ede706338ab413dbc964009456d01b
refs/heads/main
2023-09-04T11:24:26.263032
2023-09-04T07:26:00
2023-09-04T07:26:00
70,746,484
4,575
1,903
Apache-2.0
2023-09-14T19:06:33
2016-10-12T22:20:28
Python
UTF-8
Python
false
false
17,936
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
apache.noreply@github.com
f8a47299d074b201eb31408f80e99ee2048fbd0f
d8c7139a318e9070dc000d4067452b1c6e267bce
/Crawler/test/testJson.py
f8d44c101a0b3eed2cb483fae3b6922ff35bad9e
[]
no_license
WenDesi/AcfunFakeDriver
2ca7880c8555aff1423748877c846b37bea9168b
5bce72805d56222c90e08cee93e3195255b27895
refs/heads/master
2022-12-12T17:06:48.843212
2022-12-02T11:19:53
2022-12-02T11:19:53
60,657,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,735
py
#encoding=utf-8 import json import codecs def read_json(filepath): myjson = '' file_obj = codecs.open(filepath,'r','utf-8') try: myjson = file_obj.read() finally: file_obj.close() return myjson def anlysis_comment_json(json_data): results = [] s = json.loads(json_data) ...
[ "641614152@qq.com" ]
641614152@qq.com
d6abab03b79b49164ac1ebb233c2f261b9e13550
55b70939c2100e7118cd3bae76fb74be169d2fec
/nurl/__init__.py
f12998c632bca5cccd3dd345585248fde1230358
[ "BSD-3-Clause" ]
permissive
ramalho/nurl
2bbfeb3f6109bcf71e3b58bf440ed7e816721c69
d990d53a8f73a0c7a15051529f4c087f1e41639d
refs/heads/master
2021-01-17T21:38:16.542284
2012-02-14T12:44:58
2012-02-14T12:44:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
import os from pyramid.config import Configurator from pyramid.events import NewRequest from pyramid_beaker import set_cache_regions_from_settings import pymongo import newrelic.agent APP_PATH = os.path.abspath(os.path.dirname(__file__)) def main(global_config, **settings): """ This function returns a Pyramid W...
[ "gustavofons@gmail.com" ]
gustavofons@gmail.com
e1ebe8f9d4fff41115131092e6a504966bb3d3cb
4a238068e29a1f6871cc049a0486b20b27e781de
/Google/benchmarks/maskrcnn/implementations/maskrcnn-preview-TF-tpu-v4-128/mask_rcnn_params.py
1ccec3ab02539a0c7f637927c6ed14b6333e5f60
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Pixelz-Inc/training_results_v1.0
61b4555ad482b189d1966be3edd127858addd628
c507130c4e04c1f274a9ae8b7284aac79f26325a
refs/heads/master
2023-08-18T22:46:13.316503
2021-10-22T04:01:57
2021-10-22T04:01:57
399,047,712
0
0
NOASSERTION
2021-08-23T09:37:25
2021-08-23T09:37:25
null
UTF-8
Python
false
false
3,713
py
# Copyright 2018 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 applica...
[ "vsb@fb.com" ]
vsb@fb.com
0dc37014e05baa37cd69b49aec2beb6e4208f4a8
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_Class2361.py
d6db10ca5ca4573bf3114e798feb5e6d0e678485
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,146
py
# qubit number=4 # total number=39 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
724edee68c84b3675e1d972fced2357adc6445d0
4c5c34270e0df58b6efbdd107ad1a4345278c56a
/src/melange/src/soc/logic/system.py
8db6ab7a2755779bb9e5a55e947f75bf37f8c868
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MatthewWilkes/mw4068-packaging
adce06a8e5b6436cf5ef8b64e930e04dacf501a0
5c5d50eea89372e967994dac3bd8b06d25b4f0fa
refs/heads/master
2020-05-31T00:17:37.772457
2010-04-07T06:09:54
2010-04-07T06:09:54
32,225,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
#!/usr/bin/env python2.5 # # Copyright 2008 the Melange 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 applic...
[ "madhusudancs@gmail.com" ]
madhusudancs@gmail.com
9ea162bbdd759688ba58d957f446319127242218
fbf82e9a3d6e7b4dbaa2771eed0d96efabc87b3b
/platform/app/alarm/alarm/common/token_ucenterauth.py
98e305ca6897566ff59d1e51f8f04939615d5be8
[]
no_license
woshidashayuchi/boxlinker-all
71603066fee41988108d8e6c803264bd5f1552bc
318f85e6ff5542cd70b7a127c0b1d77a01fdf5e3
refs/heads/master
2021-05-09T03:29:30.652065
2018-01-28T09:17:18
2018-01-28T09:17:18
119,243,814
1
0
null
null
null
null
UTF-8
Python
false
false
2,556
py
# -*- coding: utf-8 -*- # Author: YanHua <it-yanh@all-reach.com> import os import time import inspect import requests import json from conf import conf from common.logs import logging as log from common.local_cache import LocalCache from common.code import request_result requests.adapters.DEFAULT_RETRIES = 5 caches...
[ "359876749@qq.com" ]
359876749@qq.com
67ebf024c01f9a00d5a0ec91b403aa532b8d9424
4a7ede06edbe66f9d1eb485261f94cc3251a914b
/test/pyaz/pyaz_utils.py
c1f32f497beb9904336f7dc803e7df848d87b3da
[ "MIT" ]
permissive
bigdatamoore/py-az-cli
a9e924ec58f3a3067b655f242ca1b675b77fa1d5
54383a4ee7cc77556f6183e74e992eec95b28e01
refs/heads/main
2023-08-14T08:21:51.004926
2021-09-19T12:17:31
2021-09-19T12:17:31
360,809,341
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
""" Utility functions for the pyaz generated code to use """ def get_cli_name(name: str) -> str: """ converts name back to cli format from pythonic version - strips trailing underscore from keywords - converts remaining underscores to dashes - adds leading dashes """ if name[-1] == "_": ...
[ "“bigdatamoore@users.noreply.github.com”" ]
“bigdatamoore@users.noreply.github.com”
7f918824e971932ef0e8ce60ec2d502a60dca5d1
46355bd117d38191f2ebd23e9250ab121bf839fc
/Google/电面/binarySearch.py
650d1fcae84bd8c3e3a00c921d09e3c1b77d2446
[]
no_license
Jason003/Interview_Code_Python
f1e1a59e87cfada78a931be6a27a51898442aca4
75dbc8d3906bd00c8129c8ed0b584794c8b41d6b
refs/heads/master
2020-08-12T20:11:56.454848
2019-11-12T01:36:52
2019-11-12T01:36:52
214,835,963
4
1
null
null
null
null
UTF-8
Python
false
false
664
py
import math def left_most(A, target): i, j = 0, len(A) - 1 while i < j: m = (j - i) // 2 + i if A[m] < target: i = m + 1 else: j = m return i def right_most(A, target): i, j = 0, len(A) - 1 while i < j: m = math.ceil((j + i) / 2) if A[...
[ "792576519@qq.com" ]
792576519@qq.com
14a0cd2198f214f0b45f14b365d7e0330116fcee
37dca135861df8df63832f1ae33138046c72fa97
/shoppingsite.py
07795f536b4f36e6f4742999d79d8fce3e24cf64
[]
no_license
mlpeters12/Sessions-shoppingsite
7b802e6940a69cf3003d35faa3bc15ac075053a5
1718fbc196a91d79625b1029dca1f1d8cd5a8978
refs/heads/master
2023-01-11T00:56:27.374145
2016-01-21T20:52:14
2016-01-21T20:52:14
50,073,553
0
0
null
2022-12-26T20:03:00
2016-01-21T01:38:00
Python
UTF-8
Python
false
false
3,613
py
"""Ubermelon shopping application Flask server. Provides web interface for browsing melons, seeing detail about a melon, and put melons in a shopping cart. Authors: Joel Burton, Christian Fernandez, Meggie Mahnken. """ from flask import Flask, render_template, redirect, flash, session import jinja2 import melons ...
[ "info@hackbrightacademy.com" ]
info@hackbrightacademy.com
7a498f727134bcbc34eada86f264f55ff9099b32
817a97680e85142634c3e7c66a3e0a0e5eceaffd
/poloniex/mikasa_bt_rl_sarsa_last_4.py
bbc0de624cd947f6c3c808be34af941b5fbf697b
[]
no_license
johndpope/algotrading
4cca78db99af8fef0d1fc57aac3104bd0e8a895c
f2f527f85aad6cce928f1c2e9794f9217efcce93
refs/heads/master
2021-06-24T15:24:53.136691
2017-08-27T16:13:55
2017-08-27T16:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
import matplotlib.pyplot as plt import numpy as np from keras.layers import Dense, Activation, Flatten from keras.models import Sequential from keras.optimizers import Adam from rl.agents.sarsa import SarsaAgent from rl.policy import BoltzmannQPolicy from poloniex.gym_mikasa import MikasaLast4Env # create Mikasa gym ...
[ "lifanov.a.v@gmail.com" ]
lifanov.a.v@gmail.com
dccac366fdb64573fb98d1e885431d03439eef2a
e31cc11f19acc66a57a1a94b36805433d0dda2bb
/tests/test_obo_reading.py
0c8ea02f2541afab403624c657195d57d075efa0
[ "CC0-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
krassowski/obonet
19d36c739ae57d6d14c096481fb502c3a415e564
1441dd85cfb9b96cb88a32028a29e8bfe228695a
refs/heads/master
2020-03-07T00:07:47.269053
2017-10-30T14:16:59
2017-10-30T14:20:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,525
py
import os import pytest import obonet from obonet.read import parse_tag_line directory = os.path.dirname(os.path.abspath(__file__)) def test_read_taxrank_file(): """ Test reading the taxrank ontology OBO file. """ path = os.path.join(directory, 'data', 'taxrank.obo') with open(path, 'rt') as re...
[ "daniel.himmelstein@gmail.com" ]
daniel.himmelstein@gmail.com
e0615c9c5e678e1a6fa20938f4a6dd82b7c44eaa
ecc0699e79f814d72484a75ddd49c14589fa7e54
/test/test_expand_wildcard_actions.py
d7657b7a44c809076b9ee9786d9c22af14a9b794
[ "MIT" ]
permissive
mojtaba42/policy_sentry
1fb73ccef47cf9dfc05b281ff753535b93fdd89b
37362881de1575df04a6ba5ee903ffd7d7ef1cd1
refs/heads/master
2020-12-01T10:09:20.305656
2019-12-26T21:35:20
2019-12-26T21:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
from policy_sentry.shared.analyze import determine_actions_to_expand import unittest class ExpandWildcardActionsTestCase(unittest.TestCase): def test_determine_actions_to_expand(self): """ test_determine_actions_to_expand: provide expanded list of actions, like ecr:* :return: """ ...
[ "kmcquade@salesforce.com" ]
kmcquade@salesforce.com
99fbb38a2175ead2d400cb4f068df80396660290
500361ba053084397819aea9b7cdce395bcc0de7
/Package/Tests/macho.py
3b5c9d38eb64afa796bb994de3fcb660b15736c1
[ "MIT" ]
permissive
manicmaniac/xcnew
705723d5856a3bf116d509d9e8890c9745b74d90
36720e3571e2a8ba86e6875ee9e0f20c49c33d3e
refs/heads/master
2023-08-18T08:03:14.760860
2023-05-18T18:56:27
2023-05-18T18:56:27
200,561,093
7
0
MIT
2023-09-12T09:29:24
2019-08-05T01:24:54
Objective-C
UTF-8
Python
false
false
2,834
py
#!/usr/bin/env python3 import collections import os import struct LC_REQ_DYLD = 0x80000000 LC_RPATH = 0x1c | LC_REQ_DYLD Arch = collections.namedtuple('Arch', 'cputype cpusubtype rpaths') class MachOBinary(object): """ A class representing Mach-O binary format. This class is specialized to extract LC_R...
[ "rito.0305@gmail.com" ]
rito.0305@gmail.com
482fe128d7f680261af2be7dca90ec0eae74df09
967c8ecf6f8e093e31c94e1dcf68eb3e5f421443
/PlotConfiguration/ISR/2018/fake_estimation/electron/variables.py
b28fcd830b0a88cd2a5624008121fb88e251488c
[]
no_license
jhkim06/MultiUniv
b955917aeda00fa6bdf13632e26c7bcd9ae04526
e6f009fbf5932f959cb341cc89ae9d0b256b593f
refs/heads/master
2021-06-24T20:06:12.361146
2021-02-08T05:24:42
2021-02-08T05:24:42
206,921,282
0
0
null
2019-09-07T05:37:44
2019-09-07T05:37:44
null
UTF-8
Python
false
false
1,693
py
from CommonPyTools.python.CommonTools import * import os, sys SKFlat_WD = os.getenv('SKFlat_WD') sys.path.insert(0,SKFlat_WD+'/CommonTools/include') from Definitions import * # to use enumerate for unfolding histogram type variables['Pt'] = { 'unfoldBinType': ISRUnfold.PtRec2DHist, 'linesToAdd': (".L " + SKF...
[ "jhkim@cern.ch" ]
jhkim@cern.ch
1644b7f8925b51722eac9d24058fdf88e9b5e226
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/urwid/examples/dialog.py
8a0c73d4327981bee8152da41f4c192665baf9d9
[ "LicenseRef-scancode-other-permissive" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:09bfb42e95ba9be84b0185ea6eb110ea18f0c7e2c4ca3e2c4e02b661a5cd8002 size 10254
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
aad73db939a773d663e3e322615f56123f798327
d74e39965b497a126f08d022a7e1e9db35df8db3
/pgweb/contributors/models.py
e0622df42490d6ea7d3cdc8b8a3e3485636e376f
[ "BSD-3-Clause", "PostgreSQL" ]
permissive
daamien/pgweb
2385969e5c16a76cc35800053eaca74fb2e2663f
c11688e5954f56ac18499494d0a01c7eedfdfdb9
refs/heads/master
2020-12-25T10:34:13.790984
2012-12-06T14:07:16
2012-12-06T14:07:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
from django.db import models from pgweb.util.bases import PgModel class ContributorType(PgModel, models.Model): typename = models.CharField(max_length=32, null=False, blank=False) sortorder = models.IntegerField(null=False, default=100) extrainfo = models.TextField(null=True, blank=True) detailed = models.Boolean...
[ "magnus@hagander.net" ]
magnus@hagander.net
d628261736073a95f0c12c57aba9caf167cfa94f
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/util/datastruct/LRUMap.pyi
e93a3358f5cbe81b1161f7dd90bfe81f57cd8019
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
5,355
pyi
from typing import Iterator from typing import List import java.lang import java.util import java.util.function class LRUMap(object, java.util.Map): """ A LRU (Least Recently Used) map that maintains access-order (newest to oldest) iteration over the elements. This map is limited to the given size....
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
fa230d5562ed75ccc108cd3eba541e6e9ac154d4
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/zhzd_add_20190624161453.py
04a9b16f914db3d692f61b603af99aab560bf893
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
3,636
py
import time import math import os import sys import os, os.path,shutil import codecs import EMRdef import re import pandas as pd f = open(r'D:\DeepLearning ER\EHR_all.txt','r',errors="ignore")#中文加入errors ryzd = [] a= f.readlines() for line in a: line=re.sub('\n','',line) ryzd.append(line.split()) #导入关联规则 i...
[ "1044801968@qq.com" ]
1044801968@qq.com
7e2922ee78fffd2f75ae0054b91816f0a433e547
7a17f9e6706b6e3f6d55c8e30f0dcec97f495541
/src/hyperka/ea_funcs/train_funcs.py
444a1ee855ad963031185b01aefeed3a4dd2bee8
[ "MIT" ]
permissive
HELL-TO-HEAVEN/HyperKA
8d097c58e0188961de6e4ea74f214e40d9408a04
cadaf824a739b55211997e73d9948ddbfbe7ce83
refs/heads/main
2023-03-30T04:20:31.477323
2021-03-25T07:56:55
2021-03-25T07:56:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,639
py
import gc import ray import numpy as np import random from sklearn import preprocessing from hyperka.ea_apps.util import gen_adj import hyperka.ea_funcs.utils as ut from hyperka.hyperbolic.metric import compute_hyperbolic_similarity from hyperka.ea_funcs.test_funcs import sim_handler_hyperbolic g = 1000000000 def e...
[ "sunzequn@live.cn" ]
sunzequn@live.cn
c31103cda15272534c129b9401de50987fe08951
23002a864d0a2a168ed64f5bb8250dfd9e9f5c26
/lib/tests/streamlit/net_util_test.py
08ba5fd9811e04a0603c3e73523c4b36dd041b94
[ "Apache-2.0" ]
permissive
kantuni/streamlit
fac9b2b2eb4a3402465ba97631e230d699a278d4
92e49774dc100be293fe5321d45aa0d323c077f3
refs/heads/develop
2022-10-15T02:54:30.396015
2022-05-28T23:09:35
2022-05-28T23:09:35
205,981,865
3
0
Apache-2.0
2022-10-12T03:12:18
2019-09-03T03:29:45
Python
UTF-8
Python
false
false
1,733
py
# Copyright 2018-2022 Streamlit Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
[ "noreply@github.com" ]
kantuni.noreply@github.com
5341b9b7a30f417958f9993ed8f934461e696661
d1aa6e7d5631d7806531660febbd1f856eaeece7
/python/paddle/distributed/fleet/meta_optimizers/localsgd_optimizer.py
eb170dedb0b72bfd12cd82b66c870c868698cdb9
[ "Apache-2.0" ]
permissive
gongweibao/Paddle
510cd4bc0ef89bc6ccee7b6b8eca52c00e014b77
60f9c60cd8196c66c391d79c35d341e9072f8838
refs/heads/develop
2023-03-13T17:43:35.675875
2022-09-20T08:46:15
2022-09-20T08:46:15
82,279,237
3
2
Apache-2.0
2021-05-26T06:17:43
2017-02-17T09:16:16
Python
UTF-8
Python
false
false
19,737
py
# Copyright (c) 2020 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 # # Unless required by appli...
[ "noreply@github.com" ]
gongweibao.noreply@github.com
41599b084f7ef07930d4b8bf5c04bb215ed88504
632747fbfbf1122497792291cb5a6a9f24add48d
/codewars/is_n_divisible_by_x_and_y.py
0e312d11ba344a5d1802ca98c98ea0128e99603b
[]
no_license
mjoze/kurs_python
892ac4fab7f3b3fb1d88b236c362a7630a565af7
78ec0dda34a5450a4c47d79f3957c65dfbac0276
refs/heads/master
2020-08-07T10:54:56.198237
2020-04-30T15:31:50
2020-04-30T15:31:50
213,421,230
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
""" Create a function that checks if a number n is divisible by two numbers x AND y. All inputs are positive, non-zero digits. Examples: n = 3, x = 1, y = 3 => true because 3 is divisible by 1 and 3 n = 12, x = 2, y = 6 => true because 12 is divisible by 2 and 6 n = 100, x = 5, y = 3 => false because 100 is not divisi...
[ "mirek.jozefiak@gmail.com" ]
mirek.jozefiak@gmail.com
c24e11eecedbae99fd4b64e7a97852a929367cfa
99e1c07f2cd09e1482cfc815865ee0851a7a5829
/hackbright_web.py
0812b65d9f3da904793321aaf95e8c70b7fb3eed
[]
no_license
jasmine-vo/project-tracker-flask
c5ba02ff4ff8f47de28600cad477661c27ee0cde
a952394a0eaaf1155e8f9949e0164b7b44a56ec5
refs/heads/master
2020-07-11T14:42:29.811809
2017-06-14T19:56:04
2017-06-14T19:56:04
94,272,196
0
0
null
null
null
null
UTF-8
Python
false
false
1,938
py
"""A web application for tracking projects, students, and student grades.""" from flask import Flask, request, render_template import hackbright app = Flask(__name__) @app.route("/student") def get_student(): """Show information about a student.""" github = request.args.get('github') first, last, git...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
2f646b731a566ccf895eef2a3ccb142cae692de5
d12b59b33df5c467abf081d48e043dac70cc5a9c
/uhd_restpy/testplatform/sessions/ixnetwork/topology/interareaprefix_d5c1af5dfb80980a591c026bbf1a1217.py
c3cebed916723333f42b8b9cf382beb7f290f7ae
[ "MIT" ]
permissive
ajbalogh/ixnetwork_restpy
59ce20b88c1f99f95a980ff01106bda8f4ad5a0f
60a107e84fd8c1a32e24500259738e11740069fd
refs/heads/master
2023-04-02T22:01:51.088515
2021-04-09T18:39:28
2021-04-09T18:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,409
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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 limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
73863247461ec81478e6e088e177be3c2a63c0d6
4af090efabd08ef73c411a00ce4972a1c6f30a22
/python_practice/python0513/003.py
aa462229e3e4ff84a8c8fa0cdc843de6192f365e
[]
no_license
predatory123/byhytest
e52bca664f9461c9309aaa9bf779c02368ed937c
578206c9ec9253d0d9325e72cdc13dde6eeb2fc1
refs/heads/master
2023-04-26T13:33:14.462408
2021-05-20T13:33:37
2021-05-20T14:26:22
369,213,148
2
0
null
null
null
null
UTF-8
Python
false
false
548
py
cities = {'chengdu':{'country':'china','population':13000,'fact':'funny'}, 'new_york':{'country':'America','population':2000,'fact':'free'}, 'london':{'country':'England','population':1000,'fact':'gentleman'}, } for city,city_people in cities.items(): country = city_people['country'] ...
[ "13310948808@163.com" ]
13310948808@163.com
b6ca751aaf803c674e1e6863ff93c57d3fee470f
847f40baf346d0fcd6b94dae3c4312df76bd0c92
/master/.conda/envs/mockchallenge/lib/python3.7/site-packages/halotools/mock_observables/pairwise_velocities/tests/test_velocity_marked_npairs_3d.py
23e3c7f36561744f51a4cd5558c53f3455ba4a6b
[ "Python-2.0", "BSD-3-Clause" ]
permissive
michaelJwilson/mockchallenge
e7f4c5a7cbfbeb02fbcb725d3cfab42e0ee2d35d
3c633f83f78f4eb2cd8450b74a12731b65b5b4ab
refs/heads/master
2022-06-21T10:22:25.052221
2020-05-09T18:36:40
2020-05-09T18:36:40
262,428,527
0
0
null
null
null
null
UTF-8
Python
false
false
3,247
py
""" Module providing testing of `halotools.mock_observables.velocity_marked_npairs_3d` """ import numpy as np import pytest from astropy.utils.misc import NumpyRNGContext from ..velocity_marked_npairs_3d import velocity_marked_npairs_3d from ..velocity_marked_npairs_3d import _velocity_marked_npairs_3d_process_weig...
[ "mjwilson@lbl.gov" ]
mjwilson@lbl.gov
1be23958c49104a2f31b5a35a05c6559e0fedf8f
ce6ace34704e74c2a53e9b38b2630876d9cd52e2
/mdias_addons/metro_park_dispatch/models/interlock_code_type.py
d7e55c0eeeb983bfd9c8ec3a37aefb69059e505f
[]
no_license
rezaghanimi/main_mdias
e3cfd8033204d8e7e484041f506892621a3e3479
13b428a5c4ade6278e3e5e996ef10d9fb0fea4b9
refs/heads/master
2022-09-17T20:15:42.305452
2020-05-29T05:38:35
2020-05-29T05:38:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# -*- coding: utf-8 -*- CODE_TYPE_NONE = 0, CODE_TYPE_DAOCHA = 1 # 道岔 CODE_TYPE_QUDUAN = 2 # 区段 CODE_TYPE_JZXH = 3 # 进站信号 CODE_TYPE_CZXH = 4 # 出站信号 CODE_TYPE_DCXH = 5 # 调车信号 CODE_TYPE_BSD = 6 # 表示灯 CODE_TYPE_QFJS = 7 # 铅封计数 CODE_TY...
[ "619851623@qq.com" ]
619851623@qq.com
130b0e76cc5e7c456683bc8c13bbe2ce489a1de2
32226e72c8cbaa734b2bdee081c2a2d4d0322702
/experiments/ashvin/vae/old/point2d_conv.py
9b5e77c63e4dc0cf895f717c58e558232287722a
[ "MIT" ]
permissive
Asap7772/rail-rl-franka-eval
2b1cbad7adae958b3b53930a837df8a31ab885dc
4bf99072376828193d05b53cf83c7e8f4efbd3ba
refs/heads/master
2022-11-15T07:08:33.416025
2020-07-12T22:05:32
2020-07-12T22:05:32
279,155,722
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
# import tensorflow as tf # import numpy as np # import mnist_data # import os from railrl.torch.vae.conv_vae import ConvVAE from railrl.torch.vae.point2d_data import get_data # import plot_utils # import glob # import ss.path # import argparse from railrl.launchers.arglauncher import run_variants def experiment(vari...
[ "asap7772@berkeley.edu" ]
asap7772@berkeley.edu
87dd91faaffaff4368b6e6823d359373b532035c
79a905e9063b6e32d63f13cc0f623ae95aa28cd9
/befh/core/runner.py
2f1162f451e76d0b1186780fcd384b1dd2dea6c3
[ "Apache-2.0" ]
permissive
BitcoinExchangeFH/BitcoinExchangeFH
27165a50c501550e6259f3f14b7b3e29e3980d6e
e1fd5e6412d413c29e944adad9407afc5b560272
refs/heads/develop
2023-07-09T07:41:18.308532
2022-12-28T17:07:41
2022-12-28T17:07:41
71,792,047
343
128
NOASSERTION
2023-07-03T15:07:57
2016-10-24T13:30:31
Python
UTF-8
Python
false
false
5,793
py
import logging import multiprocessing as mp from datetime import datetime LOGGER = logging.getLogger(__name__) class Runner: """Runner. """ def __init__(self, config, is_debug, is_cold): """Constructor. """ self._config = config self._is_debug = is_debug self._is_...
[ "gavincyi@gmail.com" ]
gavincyi@gmail.com
4b0b4332d8afc72fb3393d5e94d68194b94b290b
8ce721977eedb413cec325af9746c3aa778fe1cd
/vbclient/v2/backup_mgr.py
2cb124ad25c15e15be4dddfbed4e10e0bbe42b88
[ "Apache-2.0" ]
permissive
Huawei/OpenStackClient_VBS
a1618b5d5e0134affbb062da55b7aae79eead376
98834c9425af3e8bff6e2db4602c3f7bd72829bd
refs/heads/master
2021-01-11T23:30:57.494128
2017-04-17T09:50:18
2017-04-17T09:50:18
78,592,078
3
1
null
null
null
null
UTF-8
Python
false
false
1,414
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # 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...
[ "iampurse@vip.qq.com" ]
iampurse@vip.qq.com
26fafff0318414fae3b02d9e648ef4483ff84d8a
e58bac97d2d61764cbe42bfabd13606725055459
/SMBcorr/merra_hybrid_extrap.py
f2b9d82351951ad80172c96d4e953a97b3812159
[ "MIT", "CC-BY-4.0" ]
permissive
leeleeleeleee/SMBcorr
990630654c2307b047f564b8491baa515f33e627
aa18b0ebb74c8993b8427f2fbba9810ef435f67a
refs/heads/master
2023-02-10T03:38:36.413241
2021-01-08T23:22:07
2021-01-08T23:22:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,478
py
#!/usr/bin/env python u""" merra_hybrid_extrap.py Written by Tyler Sutterley (01/2021) Interpolates and extrapolates MERRA-2 hybrid variables to times and coordinates MERRA-2 Hybrid firn model outputs provided by Brooke Medley at GSFC CALLING SEQUENCE: interp_data = extrapolate_merra_hybrid(base_dir, EPSG, REG...
[ "tsutterl@uw.edu" ]
tsutterl@uw.edu
a74318293e0c838c133e4b18239fa3106fd71ed9
a08d85552ed0db1a906c3b31ed99f56bae857c60
/PythonCourse/d1e4_v1.py
28c9dfa8fe3701c6616556e197f04ada8775bcaa
[]
no_license
MagdalenaZZ/Python_ditties
90866e53f9aafa603f05735e2ceb094cf5518a18
757d8de1df0e53d38d4ba9854b092eabe6ec6570
refs/heads/master
2023-02-20T12:23:09.778092
2023-02-07T10:06:55
2023-02-07T10:06:55
136,293,051
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
import sys # Find the cube root of a perfect cube x = int( raw_input('Enter an integer: ')) ans = 0 # step up ans by 1 while ans*ans*ans < abs(x): ans = ans+1 print (ans , "is now") # if it is the same as cube, great if ans*ans*ans == abs(x): print ("Cube root of ", x, "is", ans) sys.ex...
[ "magz@MacBook-Air.local" ]
magz@MacBook-Air.local
6c4a51feaa9321d3007625000adad92845fec306
4e2508eea1cce6cd69c72ee03d6835541e7dcc4a
/mike/bot.py
7c51d0ce36710fad0d164fb8eed038a6f118cca8
[ "MIT" ]
permissive
DoctorLai/mike
eade84223226acbdc3c60c976026f9aed1d14d51
c46242e7a2b6ff1bb5b82d7fae700e683cd9b176
refs/heads/master
2020-04-28T12:58:14.116227
2019-03-12T17:28:39
2019-03-12T17:28:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,679
py
import os import os.path from .client import CustomClient from .embeds import get_help, subscription_list_embed from .battle_listener import TxListener from .db import Database def main(): # init the modified Discord client bot = CustomClient( command_prefix="$", config=dict()) # remove ...
[ "mail@emreyilmaz.me" ]
mail@emreyilmaz.me
f5112f016304306212788b8beb5e63654999ad30
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/alternate_location_distance.py
efcd1a0ec04c8c8eb5d6fc072d02141f06e20d4f
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
1,607
py
from __future__ import annotations from dataclasses import dataclass, field from travelport.models.distance_1 import Distance1 __NAMESPACE__ = "http://www.travelport.com/schema/air_v52_0" @dataclass class AlternateLocationDistance: """ Information about the Original Search Airport to Alternate Search Airport...
[ "chris@komposta.net" ]
chris@komposta.net
f0a48875f92daf4a638dc1a32ec34a689a6041c0
7cb626363bbce2f66c09e509e562ff3d371c10c6
/multimodel_inference/py3_v1/olds/fold_sc1ielsm1.py
d60a03bf2c95247b7ead9271859a366991d1570f
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
z0on/AFS-analysis-with-moments
76bfd6b0361ab7e9173144dbd21b6fa2c7bf1795
eea4735b3b6fbe31c4e396da3d798387884a1500
refs/heads/master
2023-07-31T20:49:20.865161
2023-07-19T06:57:32
2023-07-19T06:57:32
96,915,117
4
5
null
2020-09-02T17:39:08
2017-07-11T16:38:03
Python
UTF-8
Python
false
false
3,538
py
#!/usr/bin/env python # split, same size but two migration epochs in each pop, symmetric migration in first epoch, asymmetric in second epoch # genomic islands # n(para): 14 import matplotlib matplotlib.use('PDF') import moments import pylab import random import matplotlib.pyplot as plt import numpy as np from numpy...
[ "matz@utexas.edu" ]
matz@utexas.edu
8f94b2b3c64a3b3089a27a42740ad0af53d12838
b36f25580fc52c72bad78d32af93c43f58be9bf6
/linear_algebra/equation_graphs_function/quadratic_equation_function/function_example.py
02f1fcf8cecedd057f4c6395c13fe45bb76723ff
[]
no_license
tasnuvaleeya/linear-algebra
8f32949df9e6c47b619ad396e65719cafd74daf4
682b7f1af4d0c2e84f80337b69e75c080ddbd16d
refs/heads/master
2020-05-24T00:04:36.369288
2019-05-19T11:59:16
2019-05-19T11:59:16
187,008,521
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
import pandas as pd import numpy as np from matplotlib import pyplot as plt def g(x): if x != 0: return (12/(2*x))**2 x = range(-100, 101) y = [g(a) for a in x] # Create an array of x values from -100 to 100 x = np.array(range(-100, 101)) plt.xlabel('x') plt.ylabel('g(x)') plt.grid() # Plot x agai...
[ "tasnuva2606@gmail.com" ]
tasnuva2606@gmail.com
82bdc6186eb0d2047a3d4a84c336b562379e0f78
63768dc92cde5515a96d774a32facb461a3bf6e9
/jacket/db/sqlalchemy/migrate_repo/versions/030_compute_245_add_mtu_and_dhcp_server.py
e014a78b5b3f09bffff06df634949961ec005e6b
[ "Apache-2.0" ]
permissive
ljZM33nd/jacket
6fe9156f6f5789e5c24425afa7ce9237c302673d
d7ad3147fcb43131098c2a5210847634ff5fb325
refs/heads/master
2023-04-16T11:02:01.153751
2016-11-15T02:48:12
2016-11-15T02:48:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,142
py
# Copyright (c) 2014 Nebula, Inc. # 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 ...
[ "yibo_grace@163.com" ]
yibo_grace@163.com
5ea4714030bc80ef4b670762a9118a9d58b774e3
aa68e514c58b2d9a189c8709a98ba5627d837580
/models/db.py
44eaa7fa6fa3362463f92b2dca58d28b9f8766bb
[ "LicenseRef-scancode-public-domain" ]
permissive
parijat10/stopstalk
16b1cafe8080f73749b8b265630caa9e3f9cdb40
00c73af83a96bbc3352cdd23a7a7eed9680a3001
refs/heads/master
2021-01-16T22:41:37.868283
2015-09-15T22:05:31
2015-09-15T22:05:31
42,382,249
0
0
null
2015-09-13T03:26:20
2015-09-13T03:26:20
null
UTF-8
Python
false
false
7,079
py
# -*- coding: utf-8 -*- ######################################################################### ## This scaffolding model makes your app work on Google App Engine too ## File is released under public domain and you can use without limitations ######################################################################### ...
[ "raj454raj@gmail.com" ]
raj454raj@gmail.com
22f1c25c05956f9775e94101bf7478e00840253c
14373275670c1f3065ce9ae195df142146e2c1a4
/stubs/influxdb-client/influxdb_client/domain/config.pyi
bf02e6b829a9c0120148219edcae575302e34e8e
[ "Apache-2.0", "MIT" ]
permissive
sobolevn/typeshed
eb7af17c06a9722f23c337e6b9a4726223155d58
d63a82640390a9c130e0fe7d409e8b0b836b7c31
refs/heads/master
2023-08-04T05:59:29.447015
2023-06-14T21:27:53
2023-06-14T21:27:53
216,265,622
2
0
Apache-2.0
2022-02-08T10:40:53
2019-10-19T20:21:25
Python
UTF-8
Python
false
false
428
pyi
from _typeshed import Incomplete class Config: openapi_types: Incomplete attribute_map: Incomplete discriminator: Incomplete def __init__(self, config: Incomplete | None = None) -> None: ... @property def config(self): ... @config.setter def config(self, config) -> None: ... def to_...
[ "noreply@github.com" ]
sobolevn.noreply@github.com
2450d00b3a26f3f2448a6f0d4130efdb63f140dd
efac669c3351e2b4055d575638205199b9296680
/tests/utilities/test_optimizer.py
6d4c0ec54e1c1138e331c1ad49398cd47da4f965
[ "Apache-2.0" ]
permissive
peteriz/pytorch-lightning
5c90456f57b9cbe4688d71999c8a8240f799a7c6
49a4a36ad45b937dd0124ecfb08eb7400dbf3950
refs/heads/master
2022-03-15T19:08:00.991416
2022-03-08T18:10:18
2022-03-08T18:10:18
235,549,600
0
0
Apache-2.0
2020-02-13T10:03:24
2020-01-22T10:28:16
Python
UTF-8
Python
false
false
1,041
py
import collections import torch from pytorch_lightning.utilities.optimizer import optimizer_to_device def test_optimizer_to_device(): class TestOptimizer(torch.optim.SGD): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.state["dummy"] = torch.tensor(0)...
[ "noreply@github.com" ]
peteriz.noreply@github.com
8fe683d2b0ea509eb3ad15a69d05542c3a5e5b47
e87aec694108cb1f76716260daf569bcb8091958
/fluo/management/commands/dropdb.py
6423901b8cc315d7e6ef33b3d37e15e07ff543e0
[ "MIT" ]
permissive
rsalmaso/django-fluo
a283b8f75769ac6e57fa321c607819899e0c31c8
340e3b4f9c1b4b09feccefb9b3ab2d26d59fac2b
refs/heads/master
2023-01-12T01:37:06.975318
2020-12-01T17:13:11
2020-12-01T17:13:11
48,948,936
1
0
null
null
null
null
UTF-8
Python
false
false
1,698
py
# Copyright (C) 2007-2020, Raffaele Salmaso <raffaele@salmaso.org> # # 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 limitation the rights # to use, cop...
[ "raffaele@salmaso.org" ]
raffaele@salmaso.org
2a27666367af1f08b8d193a68ca6b69a3ebdf0b6
d1b5676636541b3f7da7ad637d7cfd1527b7cccc
/aps_02bm/tomo_step_scan.py
79a73e42609d0a6cac6ae270cc0d2d47aeaec5ec
[ "BSD-3-Clause" ]
permissive
decarlof/scanscripts
e125ca13d4d798e9529b0d05ea27e988c63f8206
eb119a6c4454dc6fdf09a44eed5b343d4b9001c7
refs/heads/master
2021-01-16T23:18:11.185731
2017-10-26T00:05:31
2017-10-26T00:05:31
82,827,121
0
0
null
2017-07-14T05:11:33
2017-02-22T16:31:43
Python
UTF-8
Python
false
false
9,001
py
''' TomoScan for Sector 2BM local ''' import sys import json import time from epics import PV import h5py import shutil import os import imp import traceback import numpy from tomo_scan_lib import * global variableDict variableDict = {'PreDarkImages': 1, 'PreWhiteImages': 1, 'Projections': 20, 'Projection...
[ "decarlof@gmail.com" ]
decarlof@gmail.com
963f4d1c062d2c4804f66c87eb8bb79dc237dbe9
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nncaptaingener.py
dbb4b62d02f3eba141535aa50814fcde4fd94fbd
[]
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
294
py
ii = [('CoolWHM2.py', 3), ('CookGHP.py', 1), ('MartHSI2.py', 1), ('ClarGE2.py', 7), ('CarlTFR.py', 1), ('RoscTTI2.py', 1), ('ClarGE.py', 5), ('AinsWRR.py', 1), ('MackCNH.py', 1), ('FitzRNS4.py', 1), ('FitzRNS.py', 2), ('MackCNH2.py', 1), ('HaliTBC.py', 1), ('ClarGE3.py', 2), ('MartHSI.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
70d5050345e7181b2b15bf75b52079f4edfbf87d
c5d87c7f25e3fe9b17c1e88993b0ed6831e52acb
/DjangoDemo_1/learn_models/blog/models.py
47a488d29e2365c218b2af66e9a5429d41d355c7
[]
no_license
GIS90/python_base_use
e55d55f9df505dac45ddd332fb65dcd08e8e531f
7166ca85975bb7c56a5fbb6b723fd8300c4dd5d1
refs/heads/master
2020-04-02T08:33:49.461307
2018-10-23T03:33:41
2018-10-23T03:33:41
154,249,857
1
1
null
null
null
null
UTF-8
Python
false
false
872
py
from django.db import models # Create your models here. class Blog(models.Model): name = models.CharField(max_length=100) tagline = models.TextField() def __unicode__(self): # __str__ on Python 3 return self.name class Author(models.Model): name = models.CharField(max_length=50) email ...
[ "mingliang.gao@qunar.com" ]
mingliang.gao@qunar.com
a4a488bae237e6b5c3dae7e2ba24025bfc1b782c
64de7b8589b943334fa35a93b87a571a5fcd4f14
/application/biofa/sitep.py
604115b7c9c81d01e0acbf50487495f6f966e335
[]
no_license
cwen0708/gae-biofa
a28fb4be2134f75142f4a588f0438f9c2436dd7b
faeaae848b080139adb55c09f98993b5b555b81c
refs/heads/master
2021-01-13T01:30:26.110952
2013-03-05T04:00:35
2013-03-05T04:00:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,032
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from libs.gaesite import BaseHandler, AdministratorHandler from application.database import * from datetime import datetime from datetime import timedelta from google.appengine.ext import db class list(AdministratorHandler): def get(self, *args): data...
[ "cwen0708@gmail.com" ]
cwen0708@gmail.com
62fffa38147b4392907d212e7575b665245007a5
9da188359357020c8edbad8a43fb985e1a949945
/src/plugins/Thread_inspection/controller/addition.py
5936da2009c74284523124e4f82cc327416ad9e1
[]
no_license
aji-ptn/MoilApps-Plugins
d75c0654355d056f2710e186ade253e16bfb25d0
02086333bfc4b58a2e4a9ea16829a65275d6bd28
refs/heads/main
2023-04-21T14:52:53.371990
2021-05-15T07:16:22
2021-05-15T07:16:22
367,379,934
0
0
null
2021-05-14T14:00:30
2021-05-14T14:00:29
null
UTF-8
Python
false
false
1,719
py
import datetime import os from PyQt5 import QtWidgets def select_file(title, dir_path, file_filter): """ Find the file path from the directory computer. Args: title: the title window of open dialog file_filter: determine the specific file want to search dir_path: Navigate to speci...
[ "m07158031@o365.mcut.edu.tw" ]
m07158031@o365.mcut.edu.tw
4241da08d1ae2a89ad2f6bc9c03807b46a7a83e0
bd498cbbb28e33370298a84b693f93a3058d3138
/Google/benchmarks/transformer/implementations/transformer-research-TF-tpu-v4-512/lingvo/model_imports.py
986c2bf92f881821a7f953242dcf2a7b82997d30
[ "Apache-2.0" ]
permissive
piyushghai/training_results_v0.7
afb303446e75e3e9789b0f6c40ce330b6b83a70c
e017c9359f66e2d814c6990d1ffa56654a73f5b0
refs/heads/master
2022-12-19T16:50:17.372320
2020-09-24T01:02:00
2020-09-24T18:01:01
298,127,245
0
1
Apache-2.0
2020-09-24T00:27:21
2020-09-24T00:27:21
null
UTF-8
Python
false
false
2,613
py
# Lint as: python2, python3 # Copyright 2018 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 # ...
[ "vbittorf@google.com" ]
vbittorf@google.com
11523c72add20566df7494a1cd695a248c3a0566
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5688567749672960_0/Python/qiukun/t.py
0432a25591c541ed1a9be92a2f425d7603162bb3
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
533
py
import queue import sys def flip(n): return int(str(n)[::-1]) def solve(): n = int(input()) q = [(1,1)] vis = set([1]) while True: i, step = q.pop(0) if i == n: return step t = flip(i) if t not in vis: q.append((flip(i), step+1)) ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
14ac00b555d8e9b57d1f1fc6d17af56603919233
1a220abd21c56728aa3368534506bfc9ced8ad46
/3.beakjoon/jungle/week1/10869.py
e2a63c3ee52bc007541057b835bb0702bca9ba8e
[]
no_license
JeonJe/Algorithm
0ff0cbf47900e7877be077e1ffeee0c1cd50639a
6f8da6dbeef350f71b7c297502a37f87eb7d0823
refs/heads/main
2023-08-23T11:08:17.781953
2023-08-23T08:31:41
2023-08-23T08:31:41
197,085,186
0
0
null
2023-02-21T03:26:41
2019-07-15T23:22:55
Python
UTF-8
Python
false
false
73
py
a,b = map(int,input().split()) print(a+b, a-b, a*b, a//b, a%b ,sep='\n')
[ "whssodi@gmail.com" ]
whssodi@gmail.com
9db9cfe0823d6d495528c1dadff06c04838015ed
62922a76e40003f3d3a7d02282853f9a2b76c6fc
/cv2/ch33/tets1.py
b9d271450cced229a1e35babffff0eb522f6b356
[]
no_license
cchangcs/ai_learning_record
a7d0d9c7fcdc1e97d8869aa7e63b535f8cf62df2
235a90ff5fe0205334376a927d462b8ae64e4e70
refs/heads/master
2020-04-01T16:59:31.203223
2018-11-21T11:12:34
2018-11-21T11:12:34
153,408,023
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
# encoding:utf-8 import cv2 import numpy as np cap = cv2.VideoCapture('../data/vtest.avi') # 可选参数,比如进行建模场景的时间长度, 高斯混合成分的数量-阈值等 fgbg = cv2.bgsegm.createBackgroundSubtractorMOG() while True: ret, frame = cap.read() fgmask = fgbg.apply(frame) opening = cv2.morphologyEx(fgmask, cv2.MORPH_OPEN, (5, 5)) im...
[ "752340690@qq.com" ]
752340690@qq.com
15fec8949b63fd0dab42ce41c032aa5038e7a046
dea8cfa596d52d5db0e28ac43504e7212b43081b
/python/Chokudai SpeedRun 001/LIS.py
6480270bdaabe15f52d573fd0279cba9528a3a9a
[]
no_license
Yuta123456/AtCoder
9871a44f12a8fca87b0e2863a999b716128de1ac
ca04422699719563e311f7d973459ba1dc238c2c
refs/heads/master
2023-01-04T22:33:54.120454
2020-11-04T05:20:37
2020-11-04T05:20:37
286,409,112
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
import bisect n = int(input()) a = list(map(int, input().split())) inf = 10**9 dp = [inf for i in range(n)] cur_max = 0 #dp[i] := i+1個増加部分列を作れた時の、一番最後の数字の最小値 for i in range(n): index = bisect.bisect_left(dp, a[i]) dp[index] = a[i] for i in range(n-1,-1,-1): if dp[i] != inf: print(i+1) exit()...
[ "yuuta09090530@icloud.com" ]
yuuta09090530@icloud.com
66741941b99a4b1080fc2fabb8b8efba1502e8a2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03362/s335378390.py
a7a861c43baab136d731ecb5661edcbead3d3248
[]
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
579
py
n = int(input()) #n以下の素数列挙(O(n log(n)) def primes(n): ass = [] is_prime = [True] * (n + 1) is_prime[0] = False is_prime[1] = False for i in range(2, int(n**0.5) + 1): if not is_prime[i]: continue for j in range(i * 2, n + 1, i): is_prime[j] = False for i ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ade9724ec9e2daa0781302e77b7df92bc91c87e6
237e724d2e2e1108f7e5e1c95b0f259e1fea1533
/basic-problems/str/str1.py
1c04323a992678863b5a85cd677f102f45ffed35
[]
no_license
qyqx233/codeleet
4f88506ce9bd550a79611a63aa8ccc3cf7fc1cfb
9803d2c59c7e5cd98efec5f608b21bd05dc10fe1
refs/heads/master
2020-04-13T08:44:55.521196
2019-09-21T07:23:18
2019-09-21T07:23:18
163,090,873
1
0
null
null
null
null
UTF-8
Python
false
false
516
py
def splitStr(s: str, splitChar: str): '''分割字符串 splitChar('ab,c', ',') -> ['ab', 'c'] ''' word, lastChar, lst = '', False, [] for i in s: if i not in splitChar: if lastChar: word += i else: word = i lastChar = True el...
[ "hizhouhan@gmail.com" ]
hizhouhan@gmail.com
6720ae622b3dad5ddc9bc379a300ea1770778d1c
65eac9aa106f34637c68f578944354e15d826a75
/src/graph_transpiler/webdnn/backend/webgpu/optimize_rules/__init__.py
85f9e8310dc78b4902055e74a3cc4ba4214ff6bc
[ "Zlib", "MIT" ]
permissive
Aixile/webdnn
48e040ec32d6c08434986a46eedffc0b2ebd57d7
0a14c52cf27d0f95b0474791c04e0794ba08c63b
refs/heads/master
2021-01-01T04:03:18.697646
2017-07-13T17:47:52
2017-07-13T17:47:52
97,111,586
1
0
null
2017-07-13T10:41:16
2017-07-13T10:41:16
null
UTF-8
Python
false
false
476
py
from webdnn.backend.webgpu.optimize_rules import optimize_convolution2d from webdnn.backend.webgpu.optimize_rules import optimize_deconvolution2d from webdnn.backend.webgpu.optimize_rules import optimize_inline_inplace from webdnn.backend.webgpu.optimize_rules import optimize_linear from webdnn.backend.webgpu.optimize_...
[ "y.kikura@gmail.com" ]
y.kikura@gmail.com
a4c9f90b407fbdc474b7f17159bf3d507c405d4f
6bdd563a31efd5190ea70253d374b8a16ef8f725
/model/gnb.py
ca8ba01bc66d92f6e7282f17c089d3bc40d2d422
[]
no_license
dsindex/iclassifier
dd7fd812953b0b1db4639a2d3fa11f01143247f8
66ef45fda26944e88a233e3465720590f0ac83d3
refs/heads/master
2022-05-02T21:49:50.173144
2022-03-11T02:17:33
2022-03-11T02:17:33
221,172,378
46
14
null
2020-10-05T02:48:59
2019-11-12T08:53:29
Python
UTF-8
Python
false
false
1,734
py
# ------------------------------------------------------------------------------ # # source from https://github.com/tbung/naive-bayes-layer # ------------------------------------------------------------------------------ # import torch import torch.nn as nn import torch.nn.functional as F class GaussianNaiveBayes(nn....
[ "hazzling@gmail.com" ]
hazzling@gmail.com
15b58cffc834005f909187c7a278093f6278093b
0fb0dba210ff0f63515c464d7acc95ae32d7603c
/User Accounts/Make Guest User Account as Admin/make-guest-user-account-as-admin.py
25ad4834d14d185904dd46c70b7a8a1e66179926
[]
no_license
slad99/pythonscripts
7cbe6b8bb27c8c06e140c46e7c8cf286cbc56d8e
4e0ebb023899a602cb041ef6f153fd3b7ab032e9
refs/heads/master
2022-01-04T21:49:10.486758
2019-06-28T14:29:28
2019-06-28T14:29:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
import os; import ctypes class disable_file_system_redirection: _disable = ctypes.windll.kernel32.Wow64DisableWow64FsRedirection _revert = ctypes.windll.kernel32.Wow64RevertWow64FsRedirection def __enter__(self): self.old_value = ctypes.c_long() self.success = self._disable(ctypes.byr...
[ "noreply@github.com" ]
slad99.noreply@github.com
f86c9913d36a0f9a4769883a29a09552a0198b5f
ec21d4397a1939ac140c22eca12491c258ed6a92
/Zope-2.9/lib/python/Shared/DC/__init__.py
3298517b5d27eac5c154305191991e1371b36e21
[]
no_license
wpjunior/proled
dc9120eaa6067821c983b67836026602bbb3a211
1c81471295a831b0970085c44e66172a63c3a2b0
refs/heads/master
2016-08-08T11:59:09.748402
2012-04-17T07:37:43
2012-04-17T07:37:43
3,573,786
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
############################################################################## # # Copyright (c) 2002 Zope Corporation and Contributors. All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFT...
[ "root@cpro5106.publiccloud.com.br" ]
root@cpro5106.publiccloud.com.br
55c080ef0057fc6516f44c9bca3cec0c91426d43
a86ca34e23afaf67fdf858df9e47847606b23e0c
/lib/temboo/Library/Foursquare/Users/VenueHistory.py
decccf8664385b49f22f01117861fba94e22a398
[]
no_license
miriammelnick/dont-get-mugged
6026ad93c910baaecbc3f5477629b0322e116fa8
1613ee636c027ccc49c3f84a5f186e27de7f0f9d
refs/heads/master
2021-01-13T02:18:39.599323
2012-08-12T23:25:47
2012-08-12T23:25:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,887
py
############################################################################### # # VenueHistory # Returns a list of all venues visited by the specified user, along with how many visits and when they were last there. # # Python version 2.6 # ############################################################################...
[ "miriam@famulus" ]
miriam@famulus
ab0f54b937acf0e5a7409395f70f03fe8e013bc9
1f920606452645d8ae03af3238b445d846d4c8f0
/april/pages/pages/tests.py
d201bedf46cc3249d384c0e8eb48891a9a98ca00
[]
no_license
NeoWhiteHatA/all_my_python
07e35f77f7447473e408934f3cb168029af24152
68126ac2f8cc622d14227273cf7d5e2fcac6d2bc
refs/heads/main
2023-04-01T13:20:57.113716
2021-04-03T11:02:46
2021-04-03T11:02:46
354,266,298
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
from django.test import SimpleTestCase class SimpleTests(SimpleTestCase): def test_home_page_status_code(self): response = self.client.get('/') self.assertEqual(response.status_code, 200) def test_about_page_status_code(self): response = self.client.get('/about/') self.assertEqu...
[ "neowhitehata@gmail.com" ]
neowhitehata@gmail.com
251c8fc7d5ed8c9081ea4f1a17f031ba3ba933be
67f3ef9af94ad92677ea772e3e671eae4934c10b
/Stepik/Python3/Lesson336.py
a3b4f5e4ac2c1744458c87a02138d5499dc17f86
[]
no_license
Ihar-Limitless/PythonWorkspace
a820a69c2a610bf3c209e783ac16962eb99f1751
4b684a209cd35a6ea8af349afc1a380aed84662e
refs/heads/master
2020-07-17T14:56:32.552712
2020-05-20T08:47:40
2020-05-20T08:47:40
206,040,300
1
0
null
null
null
null
UTF-8
Python
false
false
435
py
num = int(input()) lst = [] for i in range(1, num + 1): for j in range(i, 0, -1): if (len(lst) < num): lst.append(i) else: break print(' '.join(str(i) for i in lst)) # ______ # from math import * # for n in range (int(input())): # print (floor ((sqrt(8 * (n + 1)) + 1) / ...
[ "01codename01@gmail.com" ]
01codename01@gmail.com
a78489da5e079013b86ccc5f7829959c8a5c25db
8ddda8fb6e5853126dcdafa3281c75071ada45c1
/vyperlogix/misc/ioTimeAnalysis.py
022abbdc63d3bb0120c8f1092b8c6ba7193c0268
[ "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
2,391
py
import time import sys __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 ...
[ "raychorn@gmail.com" ]
raychorn@gmail.com
2e9d64e1dbc49ec2dfbb71ff52d5532a7e782905
3705db7afff71266bf800c4839d3cbc706be5a01
/src/parameters.py
07120712621e9b1f0055fcb27747df6022f536bd
[]
no_license
metehancekic/activation_sparsity
c0d6827b0ed373d74e225b6a79ea5840155c4f1a
c3388428e87f038824c8f000c2f47ae83fef9501
refs/heads/master
2023-04-21T08:16:27.158493
2021-04-23T00:07:17
2021-04-23T00:07:17
360,709,062
0
0
null
null
null
null
UTF-8
Python
false
false
8,744
py
""" Hyper-parameters """ import argparse import os from dotenv import load_dotenv, find_dotenv def get_arguments(): """ Hyper-parameters """ load_dotenv(find_dotenv(), verbose=True) directory = os.getenv("PROJECT_DIR") parser = argparse.ArgumentParser(description="PyTorch Image Classification") ...
[ "metehancekic@umail.ucsb.edu" ]
metehancekic@umail.ucsb.edu
9ad40ba5ea806eb1f95245fd02110d217d9babb4
24379a55b7060565269f4674527562c0dc4a6408
/Apps/Archivos/urls.py
463e253ffd614737fbfdc37b6b55d7fff0c825c6
[]
no_license
urimeba/betaCode
957511ca62562adf76b48ae396e8bbf16141550f
e23f0f5ee392402fbae18aba76bd685918c82cb1
refs/heads/master
2020-09-21T19:36:22.842215
2019-12-13T06:32:57
2019-12-13T06:32:57
224,902,334
0
1
null
null
null
null
UTF-8
Python
false
false
434
py
from django.contrib import admin from django.urls import path, include from Apps.Archivos import views as views_archivos urlpatterns = [ path('', views_archivos.loginn, name="loginn"), path('register', views_archivos.register, name="register"), path('forgot', views_archivos.forgot, name="forgot"), pat...
[ "urimeba511@gmail.com" ]
urimeba511@gmail.com
e918c5ef7cf21339725626d465063ff414ec955e
aaa4eb09ebb66b51f471ebceb39c2a8e7a22e50a
/Lista 02/exercício 15.py
0b52f1b48360a5ad68f9c1b294b1da5eedf9e22f
[ "MIT" ]
permissive
Brenda-Werneck/Listas-CCF110
c0a079df9c26ec8bfe194072847b86b294a19d4a
271b0930e6cce1aaa279f81378205c5b2d3fa0b6
refs/heads/main
2023-09-03T09:59:05.351611
2021-10-17T00:49:03
2021-10-17T00:49:03
411,115,920
0
1
null
null
null
null
UTF-8
Python
false
false
637
py
#Escreva um algoritmo que leia um número (1 a 7) e escreva o dia da semana correspondente. Caso o usuário digite um número fora do intervalo válido, deve ser escrita a mensagem “Dia da semana inválido”. dia = int(input("Digite um número: ")) if dia > 7 or dia < 1: print("Dia da semana inválido") else: if dia =...
[ "89711195+Brenda-Werneck@users.noreply.github.com" ]
89711195+Brenda-Werneck@users.noreply.github.com
67eb1f12382e6a42e429eb0acc2baa7d384cffd4
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/W73q9yML66xXbFfGY_11.py
460eb5ce1c3601622b6de327505a9df4f67b6063
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,515
py
""" A coloured triangle is created from different rows of colours (Red, Green or Blue). Successive rows, each containing one fewer colour than the last, are generated by considering the two touching colours in the previous row. If these colours are identical, the same colour is used in the new row. If colours are di...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5c9397bb4a0a0f6a2e76660927a87ca3c7e260e7
61b773f9b489fe16a06d16bf140aadc1abc07a5b
/Chapter_8/try_8.11.py
cf57c5e8db52505f532a69a985ebdc9b6ade748a
[ "MIT" ]
permissive
charliealpha094/Python_Crash_Course_2nd_edition
d73eba027631df41259b7e264edd2d347c871ad3
9d1548b775c861fd63890ccee19a9101eb0c5c6b
refs/heads/master
2022-11-26T01:40:07.818352
2020-08-04T14:04:29
2020-08-04T14:04:29
284,148,643
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
#Done by Carlos Amaral in 01/07/2020 """ Start with your work from Exercise 8-10. Call the function send_messages() with a copy of the list of messages. After calling the function, print both of your lists to show that the original list has retained its messages. """ #Archived messages #Sending Messages def show_mess...
[ "carlosamaral94@gmail.com" ]
carlosamaral94@gmail.com
37d0617a1631a0f48dbcb4b24ff862d5d37ef61c
a83bafc38b514a0339a5991be15870551ac49681
/bimdata_api_client/model/line.py
c0e0de416cd998585a8215b8fe56076f93a9fc5c
[]
no_license
bimdata/python-api-client
4ec2f81e404ef88d3a7e4d08e18965b598c567a2
c9b6ea0fbb4729b2a1c10522bdddfe08d944739d
refs/heads/master
2023-08-17T13:38:43.198097
2023-08-09T12:48:12
2023-08-09T12:48:12
131,603,315
0
4
null
2022-10-10T15:21:26
2018-04-30T14:06:15
Python
UTF-8
Python
false
false
11,674
py
""" BIMData API BIMData API is a tool to interact with your models stored on BIMData’s servers. Through the API, you can manage your projects, the clouds, upload your IFC files and manage them through endpoints. # noqa: E501 The version of the OpenAPI document: v1 (v1) Contact: support@bimdata.io...
[ "infra@bimdata.io" ]
infra@bimdata.io
3b4d8ced3aa25bde31794581442e9dc0afb79624
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/contrib/python/plotly/py2/plotly/validators/sunburst/textfont/__init__.py
092ebc24fb0497707314c08ef0715b3cf91044da
[ "MIT", "Apache-2.0" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
3,031
py
import _plotly_utils.basevalidators class SizesrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name="sizesrc", parent_name="sunburst.textfont", **kwargs ): super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=pa...
[ "robot-piglet@yandex-team.com" ]
robot-piglet@yandex-team.com
6d4bb1741730e938707fa81d152484686ad7705e
ee6738dad7fe2ac133fe23bc023b687608553744
/web_qa-crosswalk-nightly-testing-tools/scripts/util/create_csv_template_dirs.py
d18e5c511007b7f019ef66cfa567bd397c50466d
[]
no_license
millerblack/NAT
ccb41c57957ba4150e223636c4f190ad2848439c
a04695b03755889b6921dab11728820810afb73a
refs/heads/master
2020-06-10T18:27:36.961268
2016-09-27T14:55:05
2016-09-27T14:55:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
import sys import os sys.path.append("%s/../../util" % os.path.abspath(os.path.dirname(__file__))) from ntcommon import * import shutil def print_usage(): print """usage: python create_csv_template_dirs.py <result_dir>""" def create_csv_template_dirs(dst_dir): upload_xml_csv_dir = "%s/upload_xml_csv" % dst...
[ "feng.dai@intel.com" ]
feng.dai@intel.com
8edf93e910e8911439df02010f528399e473c4e3
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/2iibnCci6G42f8Mjr_12.py
a93612c16360788d05beaa9635be0ebf1bd28fd5
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,863
py
""" The classic game of Mastermind is played on a tray on which the **Mastermind** conceals a `code` and the **Guesser** has 10 tries to guess it. The `code` is a sequence of 4 (or 6, sometimes more) pegs of different colors. Each `guess` is a corresponding sequence of 4 (or more) pegs of different colors. A `guess`...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e768b10c63a131ea8f3f61987885d846019bdd3a
9a455973f60ce048eed15d3c71f60e81161a09c7
/scripts/ccg/parsetree2parsetree.py
350bc499d31321b1e49be3dab8990d1da0a8efea
[]
no_license
SUTDNLP/ZPar
4e2e87b874a2d2ca8c1f8aec854698d35ed3b307
0d07078be45151b4dfc5cda82cfd16c9765f0b63
refs/heads/master
2021-05-04T10:33:24.955650
2016-10-15T10:28:06
2016-10-15T10:28:06
45,964,664
11
5
null
null
null
null
UTF-8
Python
false
false
941
py
import sys import prolog import ccgbank_format import pipe import getopt format = ccgbank_format output = pipe if __name__ == "__main__": hint = "usage: parsetree2BEtag.py [--input prolog/pipe/ccgbank] [--output prolog/pipe/ccgbank] file" optlist, args = getopt.getopt(sys.argv[1:], "i:o:", ["output=", "input="]...
[ "jmliunlp@gmail.com" ]
jmliunlp@gmail.com
44fcf3ab4c47ede254f1f468d3c41b30837addd6
9360aeefb3605a3fe0c5e512e52ec3bc0942903f
/bin/rstpep2html.py
0956dd791ec62c3480596b86ba16bae8d238eddf
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
eliaswalyba/facebound
1ff7dc32cc4bf50d14f2e6434af2adfb14300245
92500e61b1bc50702ea339563ee8b38b55a31169
refs/heads/master
2022-07-01T17:42:02.360416
2020-05-08T15:23:03
2020-05-08T15:23:03
262,851,606
0
0
MIT
2020-05-10T18:37:03
2020-05-10T18:37:02
null
UTF-8
Python
false
false
711
py
#!/Users/fodediop/dev/deep-learning/facebound/bin/python3.7 # $Id: rstpep2html.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML from PEP (Python Enhanceme...
[ "fodesdiop@gmail.com" ]
fodesdiop@gmail.com
035f507f0b23b6cc5ec59802a0c2944a7646399a
96f24000a42f2103b6ebd32a26940c0a7fad60ef
/pygoose/goose/outputformatters.py
4eab91159344c5db068608f5365e19dc1a94c015
[ "Apache-2.0" ]
permissive
c24b/crawax
dac5c6804c0dfb5cfa4c9ee73b8828c02193ec5c
d84df17fe91a1cd8b20091c9012c295fe0052534
refs/heads/master
2020-07-20T17:21:16.594797
2014-06-16T13:16:12
2014-06-16T13:16:12
20,771,851
3
0
null
null
null
null
UTF-8
Python
false
false
3,821
py
# -*- coding: utf-8 -*- from HTMLParser import HTMLParser from goose.text import innerTrim from configuration import get_parser, stopwords_class class OutputFormatter(object): def __init__(self, config, article): # article self.article = article # parser self.parser = get...
[ "4barbes@gmail.com" ]
4barbes@gmail.com