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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0d5fa245a529ddeeda28d724b8adc4bcffa098d1 | efd2ec91bb1861f571a9ac6a663b72203eeaf8c1 | /env/lib/python3.6/tempfile.py | e5f4dd3d9c1adb7fde84d96552564a983ab0c6e4 | [] | no_license | bopopescu/DjangoFirst | de2cfdf6dcf9d72e211b3374865f4b38dd2465df | d2776f44d15024d6ed03d184e27269dff0c53d2a | refs/heads/master | 2021-10-28T08:48:15.508077 | 2019-04-23T06:29:28 | 2019-04-23T06:29:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 47 | py | /home/satish/anaconda/lib/python3.6/tempfile.py | [
"satish.kumar@egovernments.org"
] | satish.kumar@egovernments.org |
25bd19ebec3d335bb1ab4630ad5ef6a7c9856ce5 | fde8c89b352076f95cc16e589b1baf18f7befb51 | /dulwich/pack.py | 878162b964ef50a9c5bcebdcb0a02cf5529b4243 | [] | no_license | 571451370/devstack_mitaka | b11145256deab817bcdf60a01a67bb6b2f9ddb52 | 1bdd3f2598f91c1446b85c5b6def7784a2f6ab02 | refs/heads/master | 2020-08-26T12:53:07.482514 | 2017-04-12T01:32:55 | 2017-04-12T01:32:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 66,284 | py | # pack.py -- For dealing with packed git objects.
# Copyright (C) 2007 James Westby <jw+debian@jameswestby.net>
# Copyright (C) 2008-2013 Jelmer Vernooij <jelmer@samba.org>
#
# Dulwich is dual-licensed under the Apache License, Version 2.0 and the GNU
# General Public License as public by the Free Software Foundation; ... | [
"tony.pig@gmail.com"
] | tony.pig@gmail.com |
4808cbaedeec5b5afd0caf7172bca3b9c3bb2900 | 557ca4eae50206ecb8b19639cab249cb2d376f30 | /Chapter04/spiral.py | b642ee9c1d01400018b8cff8264cad308b034929 | [] | no_license | philipdongfei/Think-python-2nd | 781846f455155245e7e82900ea002f1cf490c43f | 56e2355b8d5b34ffcee61b38fbfd200fd6d4ffaf | refs/heads/master | 2021-01-09T19:57:49.658680 | 2020-03-13T06:32:11 | 2020-03-13T06:32:11 | 242,441,512 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 340 | py | import turtle
def draw_spiral(t, n, length=3, a=0.1, b=0.0002):
theta = 0.0
for i in range(n):
t.fd(length)
dtheta = 1 / (a + b * theta)
t.lt(dtheta)
theta += dtheta
def main():
bob = turtle.Turtle()
draw_spiral(bob, n=1000)
turtle.mainloop()
if __name__ == "__m... | [
"philip.dongfei@gmail.com"
] | philip.dongfei@gmail.com |
f94dc3e35df3d080642dc8f8fd2a3ffb9b4675a5 | 0d2c2ffe431b159a87bcd78c97147422dce8d778 | /GUI学习/01PyQt5快速开发与实战/ch05高级界面控件/11timer2.py | c00045f390bd96d04ec0f63ccf8a09b77033800c | [] | no_license | YuanXianguo/Python-Project-ITC | 9e297fc1e1e8ec2b136e6e8b1db0afaaba81c16c | afd14cbe501147ec66b4aa0c1c7907b3ae41d148 | refs/heads/master | 2020-04-16T13:54:33.727825 | 2019-12-20T02:16:52 | 2019-12-20T02:16:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 508 | py | import sys
from PyQt5.QtWidgets import QApplication, QLabel
from PyQt5.QtCore import Qt, QTimer
def test():
print(1)
if __name__ == '__main__':
app = QApplication(sys.argv)
label = QLabel('<font color=red size=128><b>'
'Hello PyQt,窗口会在3秒后消失!</b></font>')
# 无边框窗口
label.setWindowFla... | [
"736913978@qq.com"
] | 736913978@qq.com |
a11c216ccd83de27c2498fc31e7adcb24de5c462 | 69f83bcff8a2bd9c8ef082a2141a39a5322c4b2a | /pyenv/env/lib/python2.7/site-packages/transport/tester.py | a0c92e0c385d219b834498f737ba0f7ed0dcd5a7 | [] | no_license | md848-cornell/NRF-ROKIX-sensor-mesh | ab12f6572a992ed5c468eb08b8c4586b52b411b2 | b244207af0fb0fce6e2722c384d3c6c25d5ac025 | refs/heads/master | 2020-05-21T10:56:15.013174 | 2019-05-16T16:12:11 | 2019-05-16T16:12:11 | 186,021,295 | 0 | 1 | null | 2020-03-07T21:39:41 | 2019-05-10T16:35:25 | C | UTF-8 | Python | false | false | 679 | py | """
Copyright (c) 2017 Nordic Semiconductor ASA
CoAP transport class for tests.
"""
from transport.base import TransportBase
from ipaddress import ip_address
class TesterTransport(TransportBase):
def __init__(self, port=None):
TransportBase.__init__(self, port)
self.tester_opened = ... | [
"Mike DiDomenico"
] | Mike DiDomenico |
6f08a86ea414a778c093cdd193e66adf1fa27fb9 | 6219e6536774e8eeb4cadc4a84f6f2bea376c1b0 | /scraper/storage_spiders/kuchevn.py | a9cc915cd7f15c2358aed743c2373312c26e7f93 | [
"MIT"
] | permissive | nguyenminhthai/choinho | 109d354b410b92784a9737f020894d073bea1534 | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | refs/heads/master | 2023-05-07T16:51:46.667755 | 2019-10-22T07:53:41 | 2019-10-22T07:53:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,034 | py | # Auto generated by generator.py. Delete this line if you make modification.
from scrapy.spiders import Rule
from scrapy.linkextractors import LinkExtractor
XPATH = {
'name' : "//div[@class='page_title']/h1",
'price' : "//meta[@property='og:price:amount']/@content",
'category' : "",
'description' : "//... | [
"nguyenchungthuy.hust@gmail.com"
] | nguyenchungthuy.hust@gmail.com |
c0fc94a656f1cee1a7c8ee20e88f8085721c9112 | c67f449dc7187f154df7093a95ddcc14a3f0a18f | /youngseokcoin/test/functional/net.py | a4a15da130025b87c9678b54942f92c910989ea7 | [
"MIT"
] | permissive | youngseokaaa-presentation/A_system_to_ensure_the_integrity_of_Internet_of_things_by_using_Blockchain | cee9ba19e9d029759fc2fe4a43235c56fd9abe43 | b2a47bc63386b5a115fc3ce62997034ebd8d4a1e | refs/heads/master | 2023-02-17T07:58:43.043470 | 2021-01-11T05:40:28 | 2021-01-11T05:40:28 | 295,317,246 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,225 | py | #!/usr/bin/env python3
# Copyright (c) 2017 The Youngseokcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test RPC calls related to net.
Tests correspond to code in rpc/net.cpp.
"""
import time
from test_f... | [
"youngseokaaa@gmail.com"
] | youngseokaaa@gmail.com |
84c6051cd1c083c73006b2058485e017d4f6a001 | 4d259f441632f5c45b94e8d816fc31a4f022af3c | /eventlet/prod_worker.py | 51d9d239ff441f414a29933caf1e28379ec9f8d3 | [] | no_license | xiaoruiguo/lab | c37224fd4eb604aa2b39fe18ba64e93b7159a1eb | ec99f51b498244c414b025d7dae91fdad2f8ef46 | refs/heads/master | 2020-05-25T01:37:42.070770 | 2016-05-16T23:24:26 | 2016-05-16T23:24:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 429 | py | from eventlet.queue import Queue
import eventlet
q = Queue()
def worker():
while True:
q.get()
a = 0
for i in xrange(1000000):
a = a + 1
print 'get'
def producer():
while True:
a = 0
for i in xrange(1000000):
a = a + 1
q.put('lol'... | [
"junmein@junmeinde-macbook-pro-3.local"
] | junmein@junmeinde-macbook-pro-3.local |
29ff7530a12d24ef2ff8f6e0744b6cf91faba8cf | a5b09349bb10685621788f815acfcef23e93b540 | /tests/test_set_item.py | 6e7fa7390740d64e413f0be77568016de3a82fe9 | [] | no_license | yishuihanhan/slimurl | 05d95edf3b83a118bc22a4fda4f0e8ca9d4662f7 | d6ee69b0c825dcc4129bb265bd97e61218b73ccc | refs/heads/master | 2020-04-02T08:34:55.228207 | 2017-01-10T10:09:50 | 2017-01-10T10:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 639 | py | #!/usr/bin/env python
# encoding: utf-8
from slimurl import URL
def check_set(url, args, result):
key, value = args
url[key] = value
assert url == result
def test_set():
cases = [
["http://example.net/", ('foo', 'bar'), "http://example.net/?foo=bar"],
["http://example.net/", ('foo'... | [
"me@mosquito.su"
] | me@mosquito.su |
75dbe56cf58aa518de51464a64dfaa8d7f95feea | 9e929843f73b099456bab9df1b08971288e3b839 | /tests/integration_tests/vectors_tests/test_lower_than_or_equals.py | bedb21d4a788496d3c2bbb9138f82d33ab29733b | [
"MIT"
] | permissive | lycantropos/cppstd | fd20a37c46bd730d15b6e5c34e795f39907fad75 | 2a44dad540a8cc36e7fac8805cf2f5402be34aee | refs/heads/master | 2023-01-11T01:13:25.821513 | 2020-11-12T23:19:40 | 2020-11-12T23:19:40 | 302,339,499 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 511 | py | from hypothesis import given
from tests.utils import (BoundPortedVectorsPair,
equivalence)
from . import strategies
@given(strategies.vectors_pairs, strategies.vectors_pairs)
def test_basic(first_pair: BoundPortedVectorsPair,
second_pair: BoundPortedVectorsPair) -> None:
f... | [
"azatibrakov@gmail.com"
] | azatibrakov@gmail.com |
1c1917ab1339c7cbb623080afbb9a8125b03933c | 7c25e479b21b1e3e69a6be140f6511a892901182 | /python_practice/middle_linked_list.py | 5379e1fe8bdae8d8f5d08bb398c0fd1504ec458c | [] | no_license | ahrav/Python-Django | 6be3e3b5a39a6eabcf2b97b071232f8b85de64d3 | 8a2a3f706aab557b872f27e780bd7e4ebd274f72 | refs/heads/master | 2022-09-09T01:29:31.391833 | 2019-05-23T03:34:15 | 2019-05-23T03:34:15 | 181,137,783 | 0 | 0 | null | 2022-08-23T00:22:08 | 2019-04-13T07:40:44 | Python | UTF-8 | Python | false | false | 670 | py | class Node:
def __init__(self, data):
self.data = data
self.next = None
class LinkedList:
def __init__(self):
self.head = None
def push(self, new_data):
new_node = Node(new_data)
new_node.next = self.head
self.head = new... | [
"ahravdutta02@gmail.com"
] | ahravdutta02@gmail.com |
4b30d61e07bfa3a4839fcb6fe9d0d2e52479a80d | 401f783a202949adbf144b5780bcd87a6daf2299 | /code/python/Day-69/SnakeGame.py | c61b7e9c28275ea314027b26a33f30786ac67215 | [] | no_license | TalatWaheed/100-days-code | 1934c8113e6e7be86ca86ea66c518d2f2cedf82a | b8fd92d4ddb6adc4089d38ac7ccd2184f9c47919 | refs/heads/master | 2021-07-04T14:28:45.363798 | 2019-03-05T13:49:55 | 2019-03-05T13:49:55 | 140,101,486 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,380 | py | # SNAKES GAME
# Use ARROW KEYS to play, SPACE BAR for pausing/resuming and Esc Key for exiting
import curses
from curses import KEY_RIGHT, KEY_LEFT, KEY_UP, KEY_DOWN
from random import randint
curses.initscr()
win = curses.newwin(20, 60, 0, 0)
win.keypad(1)
curses.noecho()
curses.curs_set(0)
win.border(0)
win.nodela... | [
"noreply@github.com"
] | TalatWaheed.noreply@github.com |
a41d7737fdb64767088b4153d8994a0422a6044c | ca2dbcfeac6ab571a19bd7d91b7234fd461d09e3 | /contact/settings.py | f6b23ebea5443fb592009997c1e7ce9e73093d67 | [] | no_license | RahulSinghDhek/test-contact | 51ebcc85e32a3d4fc86cb978824337b444f077be | ff14bb369e4caae6cd4db95388f7c87bf65c3227 | refs/heads/master | 2020-04-20T02:18:27.516767 | 2019-01-31T17:44:41 | 2019-01-31T17:44:41 | 168,568,336 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,655 | py | """
Django settings for contact project.
Generated by 'django-admin startproject' using Django 2.1.4.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.1/ref/settings/
"""
import os
#... | [
"rdhek@qti.qualcomm.com"
] | rdhek@qti.qualcomm.com |
df0300b9ae066ae31618798f45525e2480426413 | 7a1b08c64b29522d4bbb913475275c1bc8ad61a4 | /patient_agenda/events/doc_events/conver_value.py | afcdc7008de591882958f1eb59c25de32cecb141 | [
"MIT"
] | permissive | erichilarysmithsr/time-track | 8f84d4cc92cebaedce550b3741982d204e734a6c | dc0a7b63c937d561309f9b1c84af65fb581a8e18 | refs/heads/master | 2023-03-27T08:07:46.717221 | 2021-03-30T16:45:50 | 2021-03-30T16:45:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,695 | py | #!/usr/bin/python3
# -*- coding:utf-8 -*-
import os
import json
import subprocess
try:
with open('./patient_agenda/events/doc_events/patient_rdv.json') as file:
data=json.load(file)
except FileNotFoundError as fileout:
print("File 1 patient_rdv.json not created", fileout)
for value in data:
pri... | [
"philogenie@protonmail.com"
] | philogenie@protonmail.com |
0048953dec39f492a91c8bdde7a9ddaca57537a1 | 5d4753b7e463827c9540e982108de22f62435c3f | /python/tink/daead/_deterministic_aead_wrapper_test.py | b59d11dca3c7331a23581b856195197dfeb49b72 | [
"Apache-2.0"
] | permissive | thaidn/tink | 8c9b65e3f3914eb54d70847c9f56853afd051dd3 | 2a75c1c3e4ef6aa1b6e29700bf5946b725276c95 | refs/heads/master | 2021-07-25T02:02:59.839232 | 2021-02-10T17:21:31 | 2021-02-10T17:22:01 | 337,815,957 | 2 | 0 | Apache-2.0 | 2021-02-10T18:28:20 | 2021-02-10T18:28:20 | null | UTF-8 | Python | false | false | 6,074 | py | # Copyright 2019 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
f487b32d187d8c46617f40bfa556df73ae0f4374 | f9d564f1aa83eca45872dab7fbaa26dd48210d08 | /huaweicloud-sdk-iotanalytics/huaweicloudsdkiotanalytics/v1/model/list_batch_jobs_response.py | c820f1d45d59dffa07e947b9b3b4e80b79e3084e | [
"Apache-2.0"
] | permissive | huaweicloud/huaweicloud-sdk-python-v3 | cde6d849ce5b1de05ac5ebfd6153f27803837d84 | f69344c1dadb79067746ddf9bfde4bddc18d5ecf | refs/heads/master | 2023-09-01T19:29:43.013318 | 2023-08-31T08:28:59 | 2023-08-31T08:28:59 | 262,207,814 | 103 | 44 | NOASSERTION | 2023-06-22T14:50:48 | 2020-05-08T02:28:43 | Python | UTF-8 | Python | false | false | 3,929 | py | # coding: utf-8
import six
from huaweicloudsdkcore.sdk_response import SdkResponse
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class ListBatchJobsResponse(SdkResponse):
"""
Attributes:
openapi_types (dict): The key is attribute name
and the v... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
30ca95084a650818ad76ed5e625a46506e6e8e39 | 60e27c8b1755c741dfd069393e8b65766a9647ae | /07_Natural_Language_Processing/C0702_bag_of_words.py | fb7af5b042f0820d93e1aaa9984960d0ba24a209 | [
"MIT"
] | permissive | xiejinwen113/tensorflow_cookbook | d0426991be2369d6480728c2af7a4dc93eccf621 | 57d7ee719385ddd249a67c3a85bd336e884a67e5 | refs/heads/master | 2022-03-24T08:30:43.089441 | 2019-12-09T09:55:39 | 2019-12-09T09:55:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,784 | py | # -*- encoding: utf-8 -*-
"""
@Author : zYx.Tom
@Contact : 526614962@qq.com
@site : https://github.com/zhuyuanxiang/tensorflow_cookbook
---------------------------
@Software : PyCharm
@Project : TensorFlow_Machine_Learning_Cookbook
@File : C0702_bag_of_words.py
@Version : v0... | [
"zhuyuanxiang@gmail.com"
] | zhuyuanxiang@gmail.com |
718e3a5fc92037cb1b160a8aa5414d824609ab9d | c3082eb2adc43b311dd3c9ff16fd3ed9df85f266 | /python/examples/functional/filter.py | 9c0234468fbdee92b7c2a3dfc2206ea06281c324 | [] | no_license | szabgab/slides | 78818c7138331b3ba9e221c81da3678a46efe9b3 | 63bba06678554db737602f2fbcd6510c36037e8a | refs/heads/main | 2023-08-31T07:13:51.536711 | 2023-08-29T13:17:59 | 2023-08-29T13:17:59 | 122,212,527 | 87 | 69 | null | 2023-05-19T06:55:11 | 2018-02-20T14:57:03 | Python | UTF-8 | Python | false | false | 122 | py | numbers = [1, 3, 27, 10, 38]
big_numbers = filter(lambda n: n > 10, numbers)
print(big_numbers)
print(list(big_numbers))
| [
"gabor@szabgab.com"
] | gabor@szabgab.com |
d1e21770e28bf318bb9670ca416bde39191d4f7d | 6e0108c11132e63c81adbfab4309011b1f9f6dda | /tests/python/extra/clear_leaves.py | 4d2f1e3a58a3fcb2fd07655efd2646b28d0a5f5f | [
"Apache-2.0"
] | permissive | scottdonaldau/ledger-qrl | c28a614ae52c44e53947e444abf078ec27041815 | 7a3b933b84065b9db2b775d50205efcdbed2399e | refs/heads/master | 2020-04-12T07:12:25.687015 | 2018-12-19T02:55:43 | 2018-12-19T02:55:43 | 162,360,262 | 0 | 0 | Apache-2.0 | 2018-12-19T00:15:27 | 2018-12-19T00:15:27 | null | UTF-8 | Python | false | false | 269 | py | from pyledgerqrl.ledgerqrl import *
dev = LedgerQRL()
start = time.time()
for i in range(256):
data = bytearray([i]) + bytearray.fromhex("00" * 32)
answer = dev.send(INS_TEST_WRITE_LEAF, data)
assert len(answer) == 0
answer = dev.send(INS_TEST_PK_GEN_1)
| [
"lenijuan@gmail.com"
] | lenijuan@gmail.com |
55559c3ca1ad5ff7d80c5cf736dab7da2c5d72a7 | dfff816642f4e1afeab268f441906a6d811d3fb4 | /polling_stations/apps/data_collection/management/commands/import_newham.py | d1463f346e39dd465ff77e53dbf91e637072ccae | [] | permissive | mtravis/UK-Polling-Stations | 2c07e03d03959492c7312e5a4bfbb71e12320432 | 26e0331dc29253dc436a0462ffaa01e974c5dc52 | refs/heads/master | 2020-05-14T18:36:31.501346 | 2019-04-17T12:54:57 | 2019-04-17T12:54:57 | 181,912,382 | 0 | 0 | BSD-3-Clause | 2019-04-17T14:48:26 | 2019-04-17T14:48:26 | null | UTF-8 | Python | false | false | 1,255 | py | from data_collection.management.commands import BaseXpressDemocracyClubCsvImporter
class Command(BaseXpressDemocracyClubCsvImporter):
council_id = "E09000025"
addresses_name = "local.2018-05-03/Version 2/LBNewham Democracy_Club__03May2018.TSV"
stations_name = "local.2018-05-03/Version 2/LBNewham Democracy... | [
"chris.shaw480@gmail.com"
] | chris.shaw480@gmail.com |
f7a133da42b483bbd6721ea185ae86310461ffcc | 1eb2d7d2a6e945a9bc487afcbc51daefd9af02e6 | /algorithm/zhang/baiduface.py | aae543c80ba05cfedc089fe690d2f4beb4954ca2 | [] | no_license | fengges/eds | 11dc0fdc7a17b611af1f61894f497ad443439bfe | 635bcf015e3ec12e96949632c546d29fc99aee31 | refs/heads/master | 2021-06-20T04:43:02.019309 | 2019-06-20T12:55:26 | 2019-06-20T12:55:26 | 133,342,023 | 0 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,255 | py | import os,time
from aip import AipFace
from PIL import Image, ImageDraw
""" 你的 APPID AK SK """
APP_ID = '10909628'
API_KEY = 'sInxLcVbCLSg6rNXVDXR4sHD'
SECRET_KEY = 'e2zgNstc7GEhhvFOfCVKDW2itVf0iID4'
filepath ="pic"
client = AipFace(APP_ID, API_KEY, SECRET_KEY)
def get_file_content(filePath):
with open(filePat... | [
"1059387928@qq.com"
] | 1059387928@qq.com |
7525215d0910bbe6e1301574a8bc8953a626bd5e | 17ecc93814360e911d119a9d9a5fde1e9044c409 | /orden/models.py | 684f7edaabf2ab08452c0ae69ebe10a069f38e6f | [] | no_license | rpparada/TOCA | d2541c9464aad8a406801b4d8ef52fbe409dab3f | 253993b0bbbd49895f014bcf6bc271de5475ae7e | refs/heads/master | 2022-12-12T05:07:34.686563 | 2020-11-11T01:12:22 | 2020-11-11T01:12:22 | 236,039,156 | 0 | 0 | null | 2022-12-08T11:31:42 | 2020-01-24T16:27:23 | CSS | UTF-8 | Python | false | false | 18,395 | py | from django.db import models
from django.urls import reverse
from django.db.models.signals import pre_save, post_save
from django.conf import settings
from django.core.files.storage import FileSystemStorage
from django.core.files.base import ContentFile
from django.core.files import File
from django.utils import timezo... | [
"rpparada@gmail.com"
] | rpparada@gmail.com |
1a4331aa03052d0136ac9424cf6c3d97e49dc9fc | 4a2bd14eb54a5447b9b5c67df97d9237cd506bd7 | /setup.py | 61fde968a06933af9c27eabc838e71e919e782a8 | [] | no_license | GapData/bokehutils | 85363af5d1575983fe980a7c5a269eab354d168d | deadedd7a8a2210beeb8cce226d7d566f84a6f11 | refs/heads/master | 2021-05-29T13:40:12.105135 | 2015-09-30T19:40:03 | 2015-09-30T19:40:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,608 | py | # Copyright (C) 2015 by Per Unneberg
from setuptools import setup, find_packages
import glob
import versioneer
INSTALL_REQUIRES = [
'sphinx>=1.3',
'pytest',
'pytest-cov>=1.8.1',
'bokeh>=0.10.0',
]
try:
# Hack for readthedocs
if not 'readthedocs' in os.path.dirname(os.path.realpath(__file__)):
... | [
"per.unneberg@scilifelab.se"
] | per.unneberg@scilifelab.se |
6a9813e8183140d4f37cce18fe72fbf348307aa9 | e41849b424e892c0ef1325ec768f4a5aa6dc11e5 | /biosteam/units/_multi_effect_evaporator.py | ae5f2bda8e39b53c5a21f2db763537ba2cc004ca | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"NCSA"
] | permissive | Saurajyoti/biosteam | 28a8548ec9c453124e31d73c4e3d628d44dad322 | 65d35586c9e40660f170e5a8aa4e4450ea171a23 | refs/heads/master | 2023-06-15T22:07:54.544645 | 2021-07-13T04:19:14 | 2021-07-13T04:19:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,479 | py | # -*- coding: utf-8 -*-
# BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules
# Copyright (C) 2020-2021, Yoel Cortes-Pena <yoelcortes@gmail.com>
#
# This module is under the UIUC open-source license. See
# github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt
# for license details... | [
"yoelcortes@gmail.com"
] | yoelcortes@gmail.com |
2a1a2dba821ba88d97ccfa8b1ac0ad83ecc9db61 | 5a07828016e8bafbea5dac8f83c8bfd5d0bfd603 | /py_290w290/140309_srw.py | ba5c140fc766ac183dd4cc526b37aee626cb33e2 | [] | no_license | JJHopkins/rajter_compare | db5b88d2c6c1efc0fead9b6ed40fb3cce36bedb4 | 2ba52f4f16cf2aca350a82ea58d0aa8f8866c47c | refs/heads/master | 2020-06-04T23:53:57.089329 | 2014-04-08T18:02:30 | 2014-04-08T18:02:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,176 | py | #$ {\bf Free energy between two skewed cylinders (CG-10 in water). Full retarded result, function of separation $\ell$ and angle $\theta$} \\
#$ Equation 12: $G(\ell,\theta) = - \frac{ (\pi R_1^{2})(\pi R_2^{2}) }{2 \pi~\ell^{4} \sin{\theta}} \left( {\cal A}^{(0)}(\ell) + {\cal A}^{(2)}(\ell) \cos 2\theta \right)$ \\
#... | [
"hopkins.jaime@gmail.com"
] | hopkins.jaime@gmail.com |
859652d89a14584f5e955cc3ad819c804f555e3b | 5bfca95abf14f7bb0ff29b58b018fc9062d3f837 | /apps/first_draft/migrations/0001_initial.py | ac8c2856ce7f990fcbd46afa84be29c6e4323981 | [] | no_license | wdudek82/django-ogame-clone | 621afb20ea2dd3c0f2e4b93dfdd604e0628bd7b8 | 472971da826d078176a5d619b3b5cad89e3d1c5c | refs/heads/master | 2021-09-08T15:19:49.407650 | 2017-11-26T19:14:48 | 2017-11-26T19:14:48 | 124,670,158 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,675 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-11-15 20:31
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migratio... | [
"wdudek82@gmail.com"
] | wdudek82@gmail.com |
1954e1d277622077bd20c0d616dc58a3d5b3662f | 0bd7a6bef178bb93b2c3fb19e789c7e3b364e6d1 | /simple_frame/inference/segmentation_export.py | ea4b06435005677303a2da54ba9827504d7de7c2 | [] | no_license | Magnety/Simple_Frame_linux | 090e07491e170314718c9ba5f2da2a4393bdb1ad | 7e1ef5d11e3baa8784fd9b6bbf81b0d954dd1ca6 | refs/heads/main | 2023-06-02T09:35:36.023461 | 2021-06-17T09:23:01 | 2021-06-17T09:23:01 | 371,412,450 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,716 | py | # Copyright 2020 Division of Medical Image Computing, German Cancer Research Center (DKFZ), Heidelberg, Germany
#
# 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://w... | [
"liuyiyao0916@163.com"
] | liuyiyao0916@163.com |
755ce3602c7d4642c4b0aca6891d7446594eb0b1 | 48fff0f472066dc6e5b5a15d16dcc33738e7a2c2 | /train2/chatbot/broadcast.py | 027badb7eddef0c0ba8411820cb20092bd9088f5 | [] | no_license | hasadna/OpenTrainCommunity | 228a4f078829f6653e62db1294da01488be55b64 | 3c7a941b730160c40cc400ed94ed77ffa9189f0a | refs/heads/master | 2023-01-23T14:39:10.462114 | 2020-06-08T11:36:27 | 2020-06-08T11:36:27 | 19,729,986 | 23 | 16 | null | 2023-01-13T22:57:43 | 2014-05-13T07:34:15 | HTML | UTF-8 | Python | false | false | 1,036 | py | import logging
from django.conf import settings
import telegram
from django.template.loader import render_to_string
from . import models
logger = logging.getLogger(__name__)
def broadcast_new_report_to_telegram_channel(report: models.ChatReport):
message = render_to_string('chatbot/new_report_message.html', co... | [
"ekeydar@gmail.com"
] | ekeydar@gmail.com |
8f51618dff92b6609f174e7d9e48161f653dd784 | fdba533d128e5fcc237abacda12de9545ddce39c | /keras/optimizer_experimental/optimizer_lib.py | d180179dde8284a872030aa0a8c1237796c3da4d | [
"Apache-2.0"
] | permissive | hhuang97/keras | 5949d754dcaed47df011fb4218d6552251e265e2 | f5fea878c271e38946c6681c1c2434e72d0ab977 | refs/heads/master | 2021-12-24T00:01:26.759181 | 2021-12-14T18:21:47 | 2021-12-14T18:22:26 | 90,206,289 | 0 | 1 | null | 2017-05-04T00:54:28 | 2017-05-04T00:54:28 | null | UTF-8 | Python | false | false | 3,775 | py | """Library of helper classes of optimizer."""
class GradientsClipOption:
"""Gradients clip option for optimizer class.
Attributes:
clipnorm: float. If set, the gradient of each weight is individually clipped
so that its norm is no higher than this value.
clipvalue: float. If set, the gradient of ea... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
595eacd1e61bf19c94b33e3e829d75688a0ceefb | ecb21f6dd5d49b44826974a1c06357a8405aa89e | /code/train/csnn_two_level_inhibition.py | e9cbb3ff928be0a7613608bfd7d116895e9fcef6 | [] | no_license | gumpfly/stdp-mnist | 9924279014e66cb26fab75f1136f38fd05d8fa3e | 03c32a47e9cd6fe8f902d134c2aa1d04bff037aa | refs/heads/master | 2021-08-15T11:30:13.544379 | 2017-11-17T18:59:49 | 2017-11-17T18:59:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 55,633 | py | '''
Convolutional spiking neural network training, testing, and evaluation script. Evaluation can be done outside of this script; however, it is most straightforward to call this
script with mode=train, then mode=test on HPC systems, where in the test mode, the network evaluation is written to disk.
'''
import warnin... | [
"djsaunde@umass.edu"
] | djsaunde@umass.edu |
f2744c340d84c765a7f38427e107dcf0e0339605 | 6ba72ce01fe8c08a10a7607536858cfd40b2dc16 | /kirppuauth/migrations/0001_initial.py | a501f184d3eaff89282c7871370678d0bb60b7eb | [
"MIT"
] | permissive | jlaunonen/kirppu | dcafc5537d325b2605daf98cdde4115a759dd2ce | fb694a0d1f827f4f4aae870589eb4e57ddf9bc97 | refs/heads/master | 2023-07-20T03:13:10.814349 | 2023-07-14T16:46:55 | 2023-07-14T16:46:55 | 18,244,187 | 0 | 6 | MIT | 2023-01-10T20:48:08 | 2014-03-29T15:36:30 | Python | UTF-8 | Python | false | false | 2,830 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.utils.timezone
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('auth', '0001_initial'),
]
operations = [
migrations.CreateModel(
... | [
"jyrki.launonen@gmail.com"
] | jyrki.launonen@gmail.com |
f56f9bcaa5d9294fc2f4329958f2a02d6b674c23 | 4503a3bfd940dce760b5f70e90e6fe2fe0cc4881 | /week02/lectures/FirstCode.py | 9d2c8a972ddc17efc1eafc379c1a682a399067d9 | [] | no_license | RicardoLima17/lecture | dba7de5c61507f51d51e3abc5c7c4c22ecda504f | b41f1201ab938fe0cab85566998390166c7fa7d8 | refs/heads/main | 2023-04-18T11:12:39.769760 | 2021-04-21T18:36:09 | 2021-04-21T18:36:09 | 334,456,464 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 103 | py | # Programn that greets the user
# Author: Ricardo Rodrigues
print('Hello world! \nHow are you today')
| [
"limaricardooliveira@gmail.com"
] | limaricardooliveira@gmail.com |
39ea59b534f5e9b9fe9597d3cb0a435cf20a1224 | 29fb2eb3b9bb21b529e814da53518fab2958693a | /thesis/images/ionizationStructure.py | bab29ae268d132cad0aaf36517a5e29f94941e0a | [] | no_license | Vital-Fernandez/thesis_pipeline | acca734b1a2ce11b0bee5bd41fab534022ea295e | 1253e2ed94e0f502a16cae6b88f84b633d0f16c2 | refs/heads/master | 2022-05-31T10:15:47.241645 | 2021-05-18T17:43:44 | 2021-05-18T17:43:44 | 90,319,650 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,922 | py | from dazer_methods import Dazer
from numpy import nanmean, nanstd, mean, nan as np_nan
from uncertainties import ufloat, unumpy, umath
import pandas as pd
# Generate dazer object
dz = Dazer()
# Declare figure format
size_dict = {'figure.figsize': (14, 6), 'axes.labelsize': 20, 'legend.fontsize': 20, 'font.family': 'T... | [
"vital.fernandez@gmail.com"
] | vital.fernandez@gmail.com |
1a72065a811121f0dd9d16e8dd072b751fba6a6a | 917a99fdf14097dd8001b5c98cc48c8716f8f969 | /webElement/ass_service/syslogElement.py | 8bffc624415e17423f022ce3b8b9a646794ed0be | [] | no_license | isomper/testIsomptySecret | 722eba4cbefe9495a3292d8d10e8ad9c4a34c8a7 | 968bbee05af730cfb7717f1531286f11a7f99cf3 | refs/heads/master | 2020-03-19T07:29:28.487913 | 2018-07-13T06:25:50 | 2018-07-13T06:25:50 | 136,118,583 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,408 | py | #coding=utf-8
u'''
#文件名:
#被测软件版本号:V2.8.1
#作成人:李择优
#生成日期:2018/1/24
#模块描述:SYSLOG
#历史修改记录
#修改人:
#修改日期:
#修改内容:
'''
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
import time
sys.path.append("/testIsompSecret/common/")
from _icommon import getElement,selectElement,frameElement,commonFun
from _cnEncode import cnEnc... | [
"1584216202@qq.com"
] | 1584216202@qq.com |
c35de16dd47821fb8bd0c74d9ed293dc5ee70956 | 34ef83114e02b173bd2d55eb53ad399e738a8e3c | /django/code_test/teka/teka/settings.py | ca05f4f1f4426561e47f91918dae0a82be1e722d | [] | no_license | vavilon/Python3 | e976a18eb301e4953696d1e3f4730ed890da015a | 8c79729747ce51d60ad685e6a2e58292954ed7eb | refs/heads/master | 2023-01-09T13:44:37.408601 | 2018-01-25T22:41:14 | 2018-01-25T22:41:14 | 100,892,055 | 0 | 1 | null | 2022-12-26T20:29:27 | 2017-08-20T22:23:06 | Python | UTF-8 | Python | false | false | 3,232 | py | """
Django settings for teka project.
Generated by 'django-admin startproject' using Django 1.11.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
"""
import os
# B... | [
"overon4ek@gmail.com"
] | overon4ek@gmail.com |
44a0a7737d19c1e6e47ddf5525d0d632188aabd2 | 10f397d1fe8c68dc5af033e0b88cb99be56bc4f2 | /Statistics/models.py | 28a3d7a4f4138e1e4c55db79c7ee134721781ded | [] | no_license | wsqy/AccountRandmomAmount | db3905bd425c074935c256aab62f437fe7cb0ffc | b69bc1269a666c48fe954ac423a25d111e01176b | refs/heads/master | 2023-06-29T12:49:35.947729 | 2020-06-30T03:27:05 | 2020-06-30T03:27:05 | 271,683,993 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,592 | py | from django.db import models
# from django.conf import settings
from django.utils import timezone
from Account.models import Buyer, Seller, Company
class DayBuyer(models.Model):
"""
买方日交易额总量表
"""
date = models.DateField(verbose_name='任务日期', default=timezone.now)
buyer = models.ForeignKey(Buyer, on_... | [
"1323800521@qq.com"
] | 1323800521@qq.com |
624253db8803ba4e60460ddc4c11d392b0bac60d | 297497957c531d81ba286bc91253fbbb78b4d8be | /third_party/libwebrtc/tools/grit/grit/tool/postprocess_unittest.py | 21ca5e2f774610e4a7efa36f398ec1fb87b4cddc | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | Python | false | false | 1,705 | py |
'''Unit test that checks postprocessing of files.
Tests postprocessing by having the postprocessor
modify the grd data tree, changing the message name attributes.
'''
from __future__ import print_function
import os
import re
import sys
if __name__ == '__main__':
sys.path.append(os.path.join(os.path.dirna... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
f9520500f015b1f2f85946de085b6dfb1d169031 | b92b0e9ba2338ab311312dcbbeefcbb7c912fc2e | /build/shogun_lib/examples/documented/python_modular/distance_sparseeuclidean_modular.py | 2e8e098e832784cb39eb330eae2d7c48c0f9148f | [] | no_license | behollis/muViewBranch | 384f8f97f67723b2a4019294854969d6fc1f53e8 | 1d80914f57e47b3ad565c4696861f7b3213675e0 | refs/heads/master | 2021-01-10T13:22:28.580069 | 2015-10-27T21:43:20 | 2015-10-27T21:43:20 | 45,059,082 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,057 | py | # In this example a sparse euclidean distance is computed for sparse toy data.
from tools.load import LoadMatrix
lm=LoadMatrix()
traindat = lm.load_numbers('../data/fm_train_real.dat')
testdat = lm.load_numbers('../data/fm_test_real.dat')
parameter_list = [[traindat,testdat],[traindat,testdat]]
def distance_sparsee... | [
"prosen@305cdda6-5ce1-45b3-a98d-dfc68c8b3305"
] | prosen@305cdda6-5ce1-45b3-a98d-dfc68c8b3305 |
c02054b0e7144f761e863a5a249d40a75b1c8cc5 | 6a609bc67d6a271c1bd26885ce90b3332995143c | /exercises/exhaustive-search/combinations_ii.py | 46561751342eaead6317019aa18b093dfc811644 | [] | no_license | nahgnaw/data-structure | 1c38b3f7e4953462c5c46310b53912a6e3bced9b | 18ed31a3edf20a3e5a0b7a0b56acca5b98939693 | refs/heads/master | 2020-04-05T18:33:46.321909 | 2016-07-29T21:14:12 | 2016-07-29T21:14:12 | 44,650,911 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 668 | py | # -*- coding: utf-8 -*-
"""
Given a list of integer lists. Each time take an item from each list. Find all the combinations.
"""
class Solution(object):
def combine(self, arr):
"""
:type arr: List[List[init]]
:rtype: List[List[int]]
"""
def dfs(res, pos):
if len... | [
"wanghan15@gmail.com"
] | wanghan15@gmail.com |
c359621f88fe116601d909b5dce736eebf473a4f | 132c7b0c8ba606a249fbdfe24f9d73e7e224d260 | /sanyuapp/urls.py | 718ddf53afbfca5bc73c30fb4040c7281a875e3f | [] | no_license | sanyuOnline/sanyu-webapp | dafa3505d7f3d6eca225ca6b4dce3fa683d5e9fe | c8e3824146bb9eb4dcf971a1cdef2bc4475385f1 | refs/heads/main | 2023-08-31T12:52:06.104078 | 2021-10-27T07:03:09 | 2021-10-27T07:03:09 | 406,589,964 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,073 | py | """sanyuapp URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-base... | [
"jordanrob709@gmail.com"
] | jordanrob709@gmail.com |
75b8cf6fde95fbd9a46ab0c2c5277b706714856b | ce6538b5b7da162c1c690a346e7ec9ae0a6291f3 | /wild_cat_zoo/project/cheetah.py | 92f02831fe0904412100be1467c39f16c02a2ad7 | [] | no_license | DaniTodorowa/Softuni | 391f13dd61a6d16cd48ee06e9b35b2fd931375df | f7c875fda4e13ec63152671509aaa6eca29d7f50 | refs/heads/master | 2022-11-25T23:34:49.744315 | 2020-08-02T08:23:44 | 2020-08-02T08:23:44 | 278,938,559 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 298 | py | class Cheetah:
def __init__(self, name, gender, age):
self.name = name
self.gender = gender
self.age = age
@staticmethod
def get_needs(self):
return 60
def __repr__(self):
return f"Name: {self.name}, Age: {self.age}, Gender: {self.gender}"
| [
"danitodorova2106@gmail.com"
] | danitodorova2106@gmail.com |
cec69055122f7d6681aafa3340f9b1e6c99ab682 | 999879f8d18e041d7fa313132408b252aded47f8 | /01-codes/scipy-master/scipy/linalg/_cython_signature_generator.py | 3e32f4ee3bff69c241712515ab32a5fa027911ff | [
"MIT"
] | permissive | QPanProjects/Surrogate-Model | ebcaf05728e82dcbcd924c2edca1b490ab085173 | 848c7128201218b0819c9665e2cec72e3b1d29ac | refs/heads/master | 2022-10-11T19:03:55.224257 | 2020-06-09T14:37:35 | 2020-06-09T14:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,372 | py | """
A script that uses f2py to generate the signature files used to make
the Cython BLAS and LAPACK wrappers from the fortran source code for
LAPACK and the reference BLAS.
To generate the BLAS wrapper signatures call:
python _cython_signature_generator.py blas <blas_directory> <out_file>
To generate the LAPACK wrapp... | [
"quanpan302@hotmail.com"
] | quanpan302@hotmail.com |
e9b4572ab1f8e1c87a7d0030bcf82691a6a035e5 | 880103c6f9bdc9d5a7a8633c3e4d108c964e9b89 | /devil/devil/android/tools/device_monitor.py | 2b3503174c8a364463e242fa2f450a76e5b3047f | [
"BSD-3-Clause"
] | permissive | ateleshev/catapult | c3645f0fb0d4e929b5baebea33307b765225cb2f | faf60eb37f8b9828eddb30c8397b333eb1d89204 | refs/heads/master | 2021-01-22T19:08:47.140355 | 2017-03-16T01:01:54 | 2017-03-16T01:01:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,936 | py | #!/usr/bin/env python
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Launches a daemon to monitor android device temperatures & status.
This script will repeatedly poll the given devices for their tem... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
54dda2fd3569a59243cb0d5b8b7dda99f42080cb | ad6ffe99c0ec781b0bb286ce5cb10ca3735bde97 | /hello-docstring.py | 6af55db124aa30b82bd510f054f9bb043640e19d | [
"MIT"
] | permissive | crunchy-devops/tp-bac-4 | db7f9ac3824bfcf7cd8b3570c6d45284be53b9d0 | 4784d9c0505ad62bcad7b28d536826126ded435c | refs/heads/master | 2023-02-26T09:18:31.182264 | 2021-02-01T09:26:27 | 2021-02-01T09:26:27 | 330,283,640 | 0 | 10 | null | null | null | null | UTF-8 | Python | false | false | 118 | py | #!/usr/bin/env python3
"""
Author: Herve Meftah <dockerlite@gmail.com>
Purpose: Say hello
"""
print('Hello, World!')
| [
"dockerlite@gmail.com"
] | dockerlite@gmail.com |
544535a12e8aebb81a573d170387a9a53d5e9f99 | 1e21f0939d4c46db8eeca9fa8ef034ed14b7a549 | /PhotonTnP_SampleProduction/crab/tnpDatasetDef.py | 948c5aa42935bdee103b37980cbee893ae9ef5e9 | [] | no_license | Ming-Yan/photonTnp | 4e46286998d4e2806e423e2e27893c0a8675494f | 5468bea3eff51b21eed2701cda4f3e5d2ad9e6bf | refs/heads/master | 2021-10-08T20:33:55.910375 | 2018-10-22T09:12:26 | 2018-10-22T09:12:26 | 162,109,988 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,961 | py | datasetsForTnP = [
{'lumiProcessedFile': None, 'campaign': 'crab_project_Moriond17_v1', 'dataset': 'DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_DYToLL_madgraph_Spring16_reHLT', 'file': '/store/group/phys_egamma/tnp/80X/PhoEleIDs/Moriond17_v1/mc//TnPTree_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pyth... | [
"p.wang@cern.ch"
] | p.wang@cern.ch |
4bfb6408fe3122c020282667a4a2da27d9bce309 | ea2cf796332879d86561f80882da93b672966448 | /configs/csl/rotated_retinanet_obb_csl_gaussian_r50_adamw_fpn_1x_dior_le90.py | 06b08881da2ee813a6c9b31343d7fc13168ee2d2 | [
"Apache-2.0"
] | permissive | yangxue0827/h2rbox-mmrotate | 968c34adf22eca073ab147b670226884ea80ac61 | cfd7f1fef6ae4d4e17cb891d1ec144ece8b5d7f5 | refs/heads/main | 2023-05-23T10:02:58.344148 | 2023-02-14T05:28:38 | 2023-02-14T05:28:38 | 501,580,810 | 68 | 8 | null | null | null | null | UTF-8 | Python | false | false | 669 | py | _base_ = \
['../rotated_retinanet/rotated_retinanet_hbb_r50_adamw_fpn_1x_dior_oc.py']
angle_version = 'le90'
model = dict(
bbox_head=dict(
type='CSLRRetinaHead',
angle_coder=dict(
type='CSLCoder',
angle_version=angle_version,
omega=4,
window='gaus... | [
"yangxue0827@126.com"
] | yangxue0827@126.com |
628776070784ddd0d523624b6c9462eea95ff6bf | 0d8486c1d55c40bebea7c5428930f18165d2d0e9 | /tests/asp/AllAnswerSets/aggregates/count.example4.test.py | 76a4479b403d3b6ffc18810437b0f4bc40d563f8 | [
"Apache-2.0"
] | permissive | bernardocuteri/wasp | 6f81bf6aa8fb273c91bbf68ecce4ecb195a55953 | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | refs/heads/master | 2021-06-08T11:58:25.080818 | 2020-10-05T16:57:37 | 2020-10-05T16:57:37 | 124,245,808 | 0 | 0 | Apache-2.0 | 2018-03-07T14:13:16 | 2018-03-07T14:13:16 | null | UTF-8 | Python | false | false | 625 | py | input = """
1 2 0 0
1 3 0 0
1 4 0 0
1 5 0 0
1 6 2 1 7 8
1 7 2 1 6 8
1 8 0 0
1 9 2 1 10 11
1 10 2 1 9 11
1 11 0 0
1 12 2 1 13 14
1 13 2 1 12 14
1 14 0 0
1 15 2 1 16 17
1 16 2 1 15 17
1 17 0 0
2 18 2 0 2 12 6
1 1 1 0 18
2 19 2 0 2 15 9
1 1 1 0 19
1 20 1 0 15
1 20 1 0 12
1 21 1 0 9
1 21 1 0 6
1 1 1 1 21
1 1 1 1 20
0
20 ad... | [
"carminedodaro@gmail.com"
] | carminedodaro@gmail.com |
f79c9ac3da69afb6f18aca5cfd8be28254cb7292 | 811b67fca9efd7b6a2b95500dfdfbd981a2be9a7 | /Machine Learning For Finance/Lesson5_2.py | c7d259b4d24c65ca989844a257248ee28f058f98 | [] | no_license | inaheaven/Finance_Tool | a978ae534dca646088a12b58e00a8ce995b08920 | adeaf05307dc1d4af002bea3d39c3273e93af347 | refs/heads/master | 2020-05-23T13:41:33.912276 | 2019-07-03T02:06:28 | 2019-07-03T02:06:28 | 186,781,682 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,658 | py | import pandas as pd
import matplotlib.pyplot as plt
import os
def symbol_to_path(symbol, base_dir="Data/data"):
return os.path.join(base_dir, "{}.csv".format(str(symbol)))
def get_data(symbols, dates):
df = pd.DataFrame(index=dates)
if 'SPY' not in symbols:
symbols.insert(0, 'SPY')
for symb... | [
"sangmin.rim@gmail.com"
] | sangmin.rim@gmail.com |
a93164796eaa571c517dc3a2993e7377c297e581 | faa54203033398d264c75814b899d253edf71c9b | /pyflux/gas/__init__.py | dfb1ab71874ada0b2da30c57785c375b3036e9ae | [
"BSD-3-Clause"
] | permissive | th3nolo/pyflux | 4a9e646f9ee0e650676b82134d3810c0a98d8963 | 21bc18ddeabce277e4485e75962e5fa5ff3a46ea | refs/heads/master | 2020-12-02T15:08:53.257900 | 2016-07-24T17:47:59 | 2016-07-24T17:47:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 258 | py | from .gas import GAS
from .gasx import GASX
from .gasmodels import GASPoisson, GASNormal, GASLaplace, GASt, GASSkewt, GASExponential
from .gasllm import GASLLEV
from .gasllt import GASLLT
from .gasreg import GASReg
from .scores import BetatScore, SkewtScore | [
"rj-taylor@live.co.uk"
] | rj-taylor@live.co.uk |
8dc0a87dd10e8d1d8503e312210b327d6098d695 | 6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5 | /katas/beta/only_readable_once_list.py | b075f9fe98d07c99e321b7906fe37c77f51fe6d7 | [
"MIT"
] | permissive | mveselov/CodeWars | e4259194bfa018299906f42cd02b8ef4e5ab6caa | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | refs/heads/master | 2021-06-09T04:17:10.053324 | 2017-01-08T06:36:17 | 2017-01-08T06:36:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 377 | py | class SecureList(object):
def __init__(self, lst):
self.lst = list(lst)
def __getitem__(self, item):
return self.lst.pop(item)
def __len__(self):
return len(self.lst)
def __repr__(self):
tmp, self.lst = self.lst, []
return repr(tmp)
def __str__(self):
... | [
"the-zebulan@users.noreply.github.com"
] | the-zebulan@users.noreply.github.com |
905b497b63c36d0df8721fcbe09be8f5bcd07c97 | 7e409f6490957f96a1ea17161a3b791256a2ec4f | /31 - Form Field dan Option/mywebsite/forms.py | 0019079b233c0b91fd26b93c04438c8e64622c04 | [] | no_license | CuteCatCrying/Django | 9fb8fd06f4793ef754e6e3dfd63b9caad03317f8 | 563119a66c81bf57616f62855bc78f448204ba83 | refs/heads/master | 2022-04-02T14:13:23.700165 | 2020-02-05T09:34:46 | 2020-02-05T09:34:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,360 | py | from django import forms
class FormField(forms.Form):
# python data type
integer_field = forms.IntegerField(required=False)
decimal_field = forms.DecimalField(required=False)
float_field = forms.FloatField(required=False)
boolean_field = forms.BooleanField(required=False)
char_field ... | [
"zukronalviandy@gmail.com"
] | zukronalviandy@gmail.com |
38927db265890ba6187601389420bb4787358329 | 5aef1c2397b96a352f26a9bc3c280bd69171da4c | /Environments/django-env/lib/python3.6/warnings.py | 9425815c0fab76c7114648e38564d2b1a5e2efcd | [] | no_license | FRANKLIU90/Python | ed01cb6aa31c313cdcbb1b514df5db830d0090d3 | b6066bde6e452c5463a4680a688d5628f4a1b898 | refs/heads/master | 2020-04-01T03:08:39.765409 | 2018-10-12T22:44:47 | 2018-10-12T22:44:47 | 152,811,094 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 53 | py | /Users/frankyoung/anaconda3/lib/python3.6/warnings.py | [
"python.frankliu@gmail.com"
] | python.frankliu@gmail.com |
ebe79df1ad52ea7869c585362ad2a6af388c05ff | eb4877802021fa9f20962a7cfb176239dfb1e169 | /py/testdir_single_jvm/test_GBMGrid_basic.py | bc789ffa818ccfead0bc492810e7f8731686b00e | [
"Apache-2.0"
] | permissive | jinbochen/h2o | bd6f2b937884a6c51ccd5673310c64d6a9e1839b | 48a5196cc790ed46f7c4a556258f8d2aeb7eb1c1 | refs/heads/master | 2021-01-17T23:33:42.765997 | 2013-11-14T20:06:23 | 2013-11-14T20:08:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,703 | py | import unittest, time, sys
sys.path.extend(['.','..','py'])
import h2o, h2o_cmd, h2o_glm, h2o_hosts, h2o_import as h2i, h2o_jobs
DO_CLASSIFICATION = True
class Basic(unittest.TestCase):
def tearDown(self):
h2o.check_sandbox_for_errors()
@classmethod
def setUpClass(cls):
global localhost
... | [
"kevin@0xdata.com"
] | kevin@0xdata.com |
f9c8be44958d2e203e046c76d6dfb7572522327f | 1c59524a45a5859d1bff39f83f7b4e6b2f9fdfbb | /lib/mAP/mAP.py | 78f5e3d6d62f015872801f3a79c328360dc00c04 | [] | no_license | fendaq/Arithmetic_Func_detection_for_CTPN | d62087547e863f22df4c219ddd616ced4103a42b | 2bf6e05cd706189918ef892666d151894a049fad | refs/heads/master | 2020-03-30T04:17:10.971584 | 2018-09-28T09:48:27 | 2018-09-28T09:48:27 | 150,734,626 | 2 | 0 | null | 2018-09-28T12:05:15 | 2018-09-28T12:05:15 | null | UTF-8 | Python | false | false | 26,963 | py | import glob
import json
import os
import shutil
import operator
import sys
import argparse
MINOVERLAP = 0.5 # default value (defined in the PASCAL VOC2012 challenge)
parser = argparse.ArgumentParser()
parser.add_argument('-na', '--no-animation', help="no animation is shown.", action="store_true")
parser.add_argument(... | [
"chizhanyuefeng@gmail.com"
] | chizhanyuefeng@gmail.com |
077fa8b5db26b02abb818582046ec268a8d0215b | 9b9a02657812ea0cb47db0ae411196f0e81c5152 | /repoData/danfolkes-Magnet2Torrent/allPythonContent.py | 0beca59a21a4fb5422f36851ab3bc50601572d49 | [] | no_license | aCoffeeYin/pyreco | cb42db94a3a5fc134356c9a2a738a063d0898572 | 0ac6653219c2701c13c508c5c4fc9bc3437eea06 | refs/heads/master | 2020-12-14T14:10:05.763693 | 2016-06-27T05:15:15 | 2016-06-27T05:15:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,287 | py | __FILENAME__ = Magnet_To_Torrent2
#!/usr/bin/env python
'''
Created on Apr 19, 2012
@author: dan, Faless
GNU GENERAL PUBLIC LICENSE - Version 3
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 S... | [
"dyangUCI@github.com"
] | dyangUCI@github.com |
f90e32623be87b1e57f0764c5dee61fda7509d3a | 514223cfd2815fb91f811787d7994793d8c09019 | /QUANTAXIS/QAMarket/QAShipaneBroker.py | 141cfee13978a11d106b2673c9dd529de95f2819 | [
"MIT"
] | permissive | frosthaoz/QUANTAXIS | 350d9c8f28cecc124ae3f1b5ff1809daed5bd431 | f5f482418e5f6e23ac3530089b8d17300d931b48 | refs/heads/master | 2020-04-01T04:24:17.147637 | 2018-10-12T05:17:16 | 2018-10-12T05:17:16 | 152,862,049 | 1 | 0 | MIT | 2018-10-13T10:44:03 | 2018-10-13T10:44:02 | null | UTF-8 | Python | false | false | 14,363 | py | # coding:utf-8
import base64
import configparser
import json
import os
import urllib
import future
import asyncio
import pandas as pd
import requests
import datetime
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from QUANTAXIS.QAE... | [
"yutiansut@qq.com"
] | yutiansut@qq.com |
dd47b3c3b12d0394c13cd989e4409d25f90ad2cc | 3e3506f8a9c18744b5e9c1bda2f66315d2ebe753 | /snippets/serializers.py | 4089503add5e5b2f37f19c8d9fb456de701cad2f | [] | no_license | didoogan/drf | 63ad069540124ab057d4f271aa76be650486981a | 2a0446b6d38ef8ce67c031b2ac5bff62c519cf40 | refs/heads/master | 2020-07-31T00:24:19.904525 | 2016-08-24T20:55:11 | 2016-08-24T20:55:11 | 66,281,423 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 804 | py | from rest_framework import serializers
from snippets.models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES
from django.contrib.auth.models import User
class SnippetSerializer(serializers.HyperlinkedModelSerializer):
owner = serializers.ReadOnlyField(source='owner.username')
highlight = serializers.Hyperlinke... | [
"tzd0409@gmail.com"
] | tzd0409@gmail.com |
f52f5a4bad8ed31e4cb462e2ed17207a1b3255a4 | e298bf40ae88c2bd8e0a07f3e92f3e08a92edcc6 | /rpc.py | cbe3b0616fbd34a490c87035a6645337e0a63f49 | [] | no_license | KevinKaiQian/polar-bear | 46a814c746246394f76505846166673a049f12f2 | 61d4e0ccd7328a6aa543af3b75e5f7fedf98bf8e | refs/heads/master | 2022-04-29T02:15:35.536039 | 2021-05-19T12:33:07 | 2021-05-19T12:33:07 | 172,068,536 | 2 | 0 | null | 2022-03-29T21:56:51 | 2019-02-22T13:11:58 | Python | UTF-8 | Python | false | false | 16,644 | py | # Copyright 2013 Red Hat, 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 agre... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
2c3f9bf1eb7af4abf52697eb26f2d9fc8262ce2d | 23631af0987b3f1d30b0bf8bfcea1bd63159eeba | /gate_api/configuration.py | 4b19c91ec5f25ad45dffcb2880c0358f4580b286 | [] | no_license | xuvw/gateapi-python | 08c3c72ff0e2c4713bf3a2ffe0b15d05e57491ca | 1a3f3551cba4a756f76f17b070c3e0c5ff2e88ea | refs/heads/master | 2020-05-25T14:33:35.592775 | 2019-04-02T08:50:25 | 2019-04-02T08:50:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,144 | py | # coding: utf-8
"""
Gate API v4
APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf. # noqa: E501
OpenAPI spec version: 4.6.1
Contact: support@mail.gate.io... | [
"revilwang@gmail.com"
] | revilwang@gmail.com |
4e8a9a0d46ec6fd7a0d4e4a3469d3697125dc00a | 11c24617b0f62bc55b7d2f34eb65fa63e3e3ec06 | /Comprehension-Exercise/02. Words Lengths.py | aea8d7a42100485f584a4451e6753d1751ba87ad | [] | no_license | SilviaKoynova/Python-Advanced | 2d1750a4943b82a82ec910d29241bd3fc473289e | 0a94556592bca60b29a85849a5e694f2eeeda52b | refs/heads/main | 2023-07-18T05:41:33.641250 | 2021-08-26T21:15:13 | 2021-08-26T21:15:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 89 | py | text = input().split(', ')
print(*[f"{name} -> {len(name)}" for name in text], sep=', ') | [
"noreply@github.com"
] | SilviaKoynova.noreply@github.com |
891825cba08187b7841fc95a4b003d692a9c30e3 | fa4618ab323f37137e2cf3044a773085f4737c03 | /yabgp/tests/unit/message/attribute/test_mpreachnlri.py | f17a5fd14f4ab18c6bdc0be08a03e93b45dd4e75 | [
"Apache-2.0"
] | permissive | heidinet/yabgp | 5ebe5dfe93ad34baef71a1a9f8493649fd479be6 | 912e0cd71d3d95089556e421e5499d6bed299414 | refs/heads/master | 2021-01-01T19:45:52.508388 | 2017-07-21T08:29:11 | 2017-07-21T08:29:11 | 98,679,210 | 1 | 0 | null | 2017-07-28T18:57:11 | 2017-07-28T18:57:11 | null | UTF-8 | Python | false | false | 12,557 | py | # Copyright 2015 Cisco Systems, 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 requi... | [
"xiaoquwl@gmail.com"
] | xiaoquwl@gmail.com |
65c2e9073be62766e95cebe8a13c9ff565514568 | 3b6ba8d4dc4dd8fe572c1419709facc7bdc2274e | /ai4water/et/utils.py | 52ff6c28677cbbd9cbc4a5bdf178ee7c3ed62076 | [
"MIT"
] | permissive | AtrCheema/AI4Water | fd5bfda1eee530e7bc9ed1b2130ed49dd0d5bf89 | ec2a4a426673b11e3589b64cef9d7160b1de28d4 | refs/heads/master | 2023-09-04T10:59:55.902200 | 2023-02-10T15:55:32 | 2023-02-10T15:55:32 | 284,684,202 | 47 | 17 | MIT | 2023-02-10T15:56:43 | 2020-08-03T11:39:22 | Python | UTF-8 | Python | false | false | 54,339 | py | import re
import math
from easy_mpl.utils import process_axis
from .converter import Temp, Speed, Pressure
from .global_variables import ALLOWED_COLUMNS, SOLAR_CONSTANT, LAMBDA
from .global_variables import default_constants, SB_CONS
from ai4water.backend import np, pd, plt
class AttributeChecker:
def __init__... | [
"ather_abbas786@yahoo.com"
] | ather_abbas786@yahoo.com |
971b10ea19c5d1463cb92b153dc361635405f186 | 80b7f2a10506f70477d8720e229d7530da2eff5d | /ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dcbxtlv_37d6aa3b470efb288cbc76a9c77c1804.py | d458b4bd197b07612fdfe9f43e94db2631f8cae0 | [
"MIT"
] | permissive | OpenIxia/ixnetwork_restpy | 00fdc305901aa7e4b26e4000b133655e2d0e346a | c8ecc779421bffbc27c906c1ea51af3756d83398 | refs/heads/master | 2023-08-10T02:21:38.207252 | 2023-07-19T14:14:57 | 2023-07-19T14:14:57 | 174,170,555 | 26 | 16 | MIT | 2023-02-02T07:02:43 | 2019-03-06T15:27:20 | Python | UTF-8 | Python | false | false | 18,046 | 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 |
a4cfe939cf946016e8aa26c131d44218af521253 | d5f53599338a30a9d6c7de7d5c574db59545ed3d | /Gse/generated/Ref/channels/SG1_SignalGen_Output.py | dd5c8e60cf31bbd105160631ee8ff53b9fd5a55e | [
"Apache-2.0"
] | permissive | dstockhouse/eaglesat-fprime | c39a01cc5648dcd8b351f47684923fe481c720be | e640b3faea0000e1ca8acab4d6ff66150196c32b | refs/heads/master | 2020-05-07T15:31:09.289797 | 2019-11-20T00:33:15 | 2019-11-20T00:33:15 | 180,639,007 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,405 | py | '''
Created on Wednesday, 10 April 2019
@author: David
THIS FILE IS AUTOMATICALLY GENERATED - DO NOT EDIT!!!
XML Source: /cygdrive/c/Users/David/Documents/eaglesat/eaglesat-fprime/Ref/SignalGen/SignalGenComponentAi.xml
'''
# Import the types this way so they do not need prefixing for execution.
from models.serialize... | [
"dstockhouse@gmail.com"
] | dstockhouse@gmail.com |
2d54d1dc86dd11ca0fd2da892931be9a65a2636a | 51f887286aa3bd2c3dbe4c616ad306ce08976441 | /pybind/nos/v6_0_2f/interface/port_channel/ipv6/hide_vrrpv3_holder/vrrpv3e/__init__.py | 5325359c0954094916091552e54c3c268cbea198 | [
"Apache-2.0"
] | permissive | b2220333/pybind | a8c06460fd66a97a78c243bf144488eb88d7732a | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | refs/heads/master | 2020-03-18T09:09:29.574226 | 2018-04-03T20:09:50 | 2018-04-03T20:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 52,828 | py |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | [
"badaniya@brocade.com"
] | badaniya@brocade.com |
6a4b9b33ccb4907b8e2d6194e8a505fcd0aaaeb0 | 523f8f5febbbfeb6d42183f2bbeebc36f98eadb5 | /539.py | 3f49db2b3056bb0ea18a9558663dea67f0a5b806 | [] | no_license | saleed/LeetCode | 655f82fdfcc3000400f49388e97fc0560f356af0 | 48b43999fb7e2ed82d922e1f64ac76f8fabe4baa | refs/heads/master | 2022-06-15T21:54:56.223204 | 2022-05-09T14:05:50 | 2022-05-09T14:05:50 | 209,430,056 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 580 | py | class Solution(object):
def findMinDifference(self, timePoints):
"""
:type timePoints: List[str]
:rtype: int
"""
timePoints.sort()
diff=float("inf")
for i in range(1,len(timePoints)):
time1=timePoints[i%len(timePoints)]
time2=timePoin... | [
"noelsun@mowennaierdeMBP.lan"
] | noelsun@mowennaierdeMBP.lan |
4dd41f91081d4649e198f6707d9523f035a40245 | bad62c2b0dfad33197db55b44efeec0bab405634 | /sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2021_12_01_preview/aio/operations/_access_review_instance_operations.py | 378596af3f8ac6f043cf6a4178c98399aedc4ea8 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"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 | 15,208 | 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 |
f6be5f348da2ecdc3c2f5549a9bb3406e3276280 | 5da5473ff3026165a47f98744bac82903cf008e0 | /packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/vulnerability.py | a9fea0e6bca2b8199f9e1f0237c0ce0083326912 | [
"Apache-2.0"
] | permissive | googleapis/google-cloud-python | ed61a5f03a476ab6053870f4da7bc5534e25558b | 93c4e63408c65129422f65217325f4e7d41f7edf | refs/heads/main | 2023-09-04T09:09:07.852632 | 2023-08-31T22:49:26 | 2023-08-31T22:49:26 | 16,316,451 | 2,792 | 917 | Apache-2.0 | 2023-09-14T21:45:18 | 2014-01-28T15:51:47 | Python | UTF-8 | Python | false | false | 12,429 | py | # -*- coding: utf-8 -*-
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | [
"noreply@github.com"
] | googleapis.noreply@github.com |
7cec84d82d2dcb14c1cbdaf99b64ffc73e1ae94e | 11771f5dd90a74d5c76765f27f0d9a9cb044f57b | /route/bbs_make.py | 2185cef4c1bdcfd50b641b610aa030eb0d012695 | [
"BSD-3-Clause"
] | permissive | openNAMU/openNAMU | cc031ea848ac6d829ad243fcf59da26adf0f0814 | 868107e4ef53e4e78af15c590673b78ee385baa5 | refs/heads/beta | 2023-08-24T10:20:00.245680 | 2023-08-23T14:09:53 | 2023-08-23T14:09:53 | 78,184,261 | 86 | 75 | BSD-3-Clause | 2023-09-13T21:36:03 | 2017-01-06T07:22:10 | Python | UTF-8 | Python | false | false | 2,024 | py | from .tool.func import *
def bbs_make():
with get_db_connect() as conn:
curs = conn.cursor()
if admin_check() != 1:
return re_error('/error/3')
if flask.request.method == 'POST':
curs.execute(db_change('select set_id from bbs_set where set_n... | [
"min08101@naver.com"
] | min08101@naver.com |
376183f1fd02abc26c81e2af35be1774eebe4052 | 1eab574606dffb14a63195de994ee7c2355989b1 | /ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bfdrouter/bfdrouter.py | a4c8d026e8eb6e4b33d202bfd079514c11616f61 | [
"MIT"
] | permissive | steiler/ixnetwork_restpy | 56b3f08726301e9938aaea26f6dcd20ebf53c806 | dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9 | refs/heads/master | 2020-09-04T12:10:18.387184 | 2019-11-05T11:29:43 | 2019-11-05T11:29:43 | 219,728,796 | 0 | 0 | null | 2019-11-05T11:28:29 | 2019-11-05T11:28:26 | null | UTF-8 | Python | false | false | 2,602 | py | # MIT LICENSE
#
# Copyright 1997 - 2019 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,... | [
"srvc_cm_packages@keysight.com"
] | srvc_cm_packages@keysight.com |
6e5b281dfdbc8eb03b095b591ce654289d789360 | e0c8e66af3a72a1cc534d7a90fead48754d266b3 | /vb_suite/miscellaneous.py | 8295d275f2dd615f626d02981203b406f233a1ea | [
"BSD-3-Clause"
] | permissive | gwtaylor/pandas | e12b0682347b9f03a24d6bff3e14f563cb7a3758 | 7b0349f0545011a6cac2422b8d8d0f409ffd1e15 | refs/heads/master | 2021-01-15T17:51:47.147334 | 2012-01-13T17:53:56 | 2012-01-13T17:53:56 | 3,174,111 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 505 | py | from vbench.benchmark import Benchmark
from datetime import datetime
common_setup = """from pandas_vb_common import *
"""
#----------------------------------------------------------------------
# cache_readonly
setup = common_setup + """
from pandas.util.decorators import cache_readonly
class Foo:
@cache_reado... | [
"wesmckinn@gmail.com"
] | wesmckinn@gmail.com |
7bcff9fa804b622d48c7a6bb33873bdeede52060 | b61dedf12868e2bc511b6693af1985911a13f336 | /src/logpipe/formats/json.py | 5747c863e36910b285e51dc63598357f2e147fee | [
"ISC"
] | permissive | vitorcarmovieira/django-logpipe | f9eebb6674b9ba180a63448c9d71ce2e87929f7c | 89d0543e341518f9ae49124c354e6a6c2e3f4150 | refs/heads/main | 2023-03-03T13:18:22.456270 | 2021-02-13T17:29:32 | 2021-02-13T17:29:32 | 326,679,534 | 1 | 1 | ISC | 2021-02-13T17:29:32 | 2021-01-04T12:39:30 | Python | UTF-8 | Python | false | false | 139 | py | from rest_framework.renderers import JSONRenderer
from rest_framework.parsers import JSONParser
__all__ = ['JSONRenderer', 'JSONParser']
| [
"crgwbr@gmail.com"
] | crgwbr@gmail.com |
53cd30d03207556424257a7a49ed432f13b6260a | 9aa7b52847a161507eae57c222f6f3b3473fbf67 | /Project/Main/bin/pyhtmlizer | cb636c852d7d27ecd58cab7c59fd4e7b1fc7541b | [] | no_license | azatnt/Project_Aza_Madi | 13a41bcc7bc822503136046dd5905a0884ffccb5 | d2804cd2b1e9b97d44e85d6a24c45d3f41458db3 | refs/heads/master | 2023-01-22T18:17:17.512344 | 2020-11-16T15:56:00 | 2020-11-16T15:56:00 | 261,734,097 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 276 | #!/Users/sulpak/Documents/GitHub/Project_Aza_Madi/Project/Main/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from twisted.scripts.htmlizer import run
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(run())
| [
"58590243+pr1nce07@users.noreply.github.com"
] | 58590243+pr1nce07@users.noreply.github.com | |
f012952b29876b396eeff208f656b11ad3d1d3d2 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc025/C/2658196.py | 38086edb4f9e8897ebee6bd4d4c545b41c0b5eb2 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | Python | false | false | 333 | py | from itertools import accumulate
N = int(input())
L, R = [0], [0]
for i in range(N):
li, ri = map(int, input().split())
L.append(li)
R.append(ri)
L.sort(reverse=True)
R.sort()
L = list(accumulate(L))
R = list(accumulate(R))
ans = 0
for k in range(N+1):
ans = max(ans, 2*(L[k]-R[k]))
... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
3e14c52e46b70e5aca1d0f5a055cabdee1774a89 | 372da4f11ff2996f4c7e023884f12455fdfbb045 | /RA4Analysis/plotsDaniel/makeSubPlot.py | 0888769bf88a5d67e18425f2471031eadb7038fd | [] | no_license | HephyAnalysisSW/Workspace | ec127f75da58c1bbf12f8999055a1ef513598e94 | dcdee36e344dec8cbfe6dd6986e2345d9c1af25f | refs/heads/94X-master | 2022-11-22T01:52:28.179081 | 2019-03-12T13:19:04 | 2019-03-12T13:19:04 | 13,293,437 | 1 | 1 | null | 2018-11-14T10:52:57 | 2013-10-03T08:07:27 | Python | UTF-8 | Python | false | false | 8,532 | py | import ROOT
import os, sys, copy
ROOT.gROOT.LoadMacro('../../HEPHYPythonTools/scripts/root/tdrstyle.C')
ROOT.setTDRStyle()
from math import *
from array import array
from Workspace.HEPHYPythonTools.helpers import getVarValue, getChain, deltaPhi
from Workspace.RA4Analysis.cmgTuplesPostProcessed_v6_Phys14V2_HT400ST150_... | [
"daniel.spitzbart@cern.ch"
] | daniel.spitzbart@cern.ch |
4265c5c776462df6a9e2ace5418932716eac8fc8 | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/0/a_l.py | 653cbd127ab6e82ce289684705f743c8316095a0 | [] | no_license | G4te-Keep3r/HowdyHackers | 46bfad63eafe5ac515da363e1c75fa6f4b9bca32 | fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2 | refs/heads/master | 2020-08-01T12:08:10.782018 | 2016-11-13T20:45:50 | 2016-11-13T20:45:50 | 73,624,224 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 486 | py | import sys
def printFunction(lineRemaining):
if lineRemaining[0] == '"' and lineRemaining[-1] == '"':
if len(lineRemaining) > 2:
#data to print
lineRemaining = lineRemaining[1:-1]
print ' '.join(lineRemaining)
else:
print
def main(fileName):
with open(fileName) as f:
for line in f:
... | [
"juliettaylorswift@gmail.com"
] | juliettaylorswift@gmail.com |
26571dafb7f2105ef31a78259155c44e4a01ad01 | 22dcd52b6a07e82e8db9bf8b7ad38711d12f69a8 | /venv/Lib/site-packages/sklearn/neighbors/base.py | 9be7b1ffc90f2c7d40252bf586916429df32fafb | [] | no_license | MrGreenPepper/music_cluster | 9060d44db68ae5e085a4f2c78d36868645432d43 | af5383a7b9c68d04c16c1086cac6d2d54c3e580c | refs/heads/main | 2023-08-15T09:14:50.630105 | 2021-10-01T09:45:47 | 2021-10-01T09:45:47 | 412,407,002 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 489 | py |
# THIS FILE WAS AUTOMATICALLY GENERATED BY deprecated_modules.py
import sys
from . import _base
from ..externals._pep562 import Pep562
from ..utils.deprecation import _raise_dep_warning_if_not_pytest
deprecated_path = 'sklearn.neighbors.base'
correct_import_path = 'sklearn.neighbors'
_raise_dep_warning_if_... | [
"sebastian_truemper@posteo.de"
] | sebastian_truemper@posteo.de |
eac8e55efa2b9ab7f320a562c98fa8c884b5e994 | 60ce73bf2f86940438e5b7fecaaccad086888dc5 | /working_scrapers/Virginia_amherst.py | dd21db5c4557762ea61e5ec1f6730d25b2bd6a00 | [] | no_license | matthewgomies/jailcrawl | 22baf5f0e6dc66fec1b1b362c26c8cd2469dcb0d | 9a9ca7e1328ae549860ebeea9b149a785f152f39 | refs/heads/master | 2023-02-16T06:39:42.107493 | 2021-01-15T16:37:57 | 2021-01-15T16:37:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,248 | py | #!/usr/bin/python
'''
This is an template script
'''
from urllib.request import urlopen, Request
import pandas as pd
import os
import time
import numpy as np
from datetime import datetime
import datetime as dt
import sys
from io import StringIO
from joblib import Parallel, delayed
import requests
from jailscrape.comm... | [
"jborowitz@gmail.com"
] | jborowitz@gmail.com |
93431b4260ae9bcc50dc2babafb602fe5f3a56f8 | f3598888ce889075d006de9559aa67499ca0d708 | /Common/CenterToLeft.py | d1cf789f60c0bb67849262f0612c7c308bf8032d | [] | no_license | JinYanming/jym_cmot_semi_mask | 6f1ceafa344d2831cdc91e1af0515b417b3939d6 | be5fc9694f802ab0fb2eaeb11c7eca10ee0e72b3 | refs/heads/master | 2022-02-20T05:56:36.418283 | 2019-09-18T18:23:40 | 2019-09-18T18:23:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 722 | py | # Generated with SMOP 0.41
from libsmop import *
# /workspace/MOT/cmot-v1/Common/CenterToLeft.m
@function
def CenterToLeft(x=None,y=None,height=None,width=None,*args,**kwargs):
varargin = CenterToLeft.varargin
nargin = CenterToLeft.nargin
## Copyright (C) 2014 Seung-Hwan Bae
## All rights reserved.
... | [
"1535640262@qq.com"
] | 1535640262@qq.com |
fa8d5992af22569fce3cc34d5d811404061b7321 | fa1002dd32e2332396d0b359094050825e42c343 | /emotion-program-pi-version.py | 0cea550ccba505b69dfebe8c3071874a0e5092a7 | [] | no_license | vanstorm9/Emotion-Recognition-DOF | ced912158e45636b53469b3dc0645bb4c5ab69f8 | 0d6e395bf950388a37065cb9ccf1bba44171c35f | refs/heads/master | 2021-01-10T02:14:11.917489 | 2018-05-26T04:17:40 | 2018-05-26T04:17:40 | 45,325,932 | 28 | 15 | null | null | null | null | UTF-8 | Python | false | false | 12,001 | py | # Program implemented in the Raspberry Pi (with camera module)
#from matplotlib import pyplot as plt
#from sklearn.naive_bayes import GaussianNB
import numpy as np
import math
import cv2
import os
import os.path
import io
from time import time
import picamera
import smtplib
#camera = picamera.PiCamera()
from time i... | [
"antlowhur@yahoo.com"
] | antlowhur@yahoo.com |
a2f9e589693f4eda5cea8869d53759b116acfc76 | b0e299f6ab0139b831d0ed86cc6da0c3eb80b50d | /hello/public/deploy/chal.py | 3cdcfdcec0ecf9a88f3f75665084382c0d2855d2 | [] | no_license | kendricktan/paradigm-ctf | 96768eb6a3ee76867b873e96e2f623796803361c | 21ba8273f858d1af24d0abdb841bb019e8fa0965 | refs/heads/main | 2023-06-26T07:50:39.179665 | 2021-07-31T06:27:11 | 2021-07-31T06:27:11 | 387,947,845 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | false | 191 | py | import eth_sandbox
from web3 import Web3
eth_sandbox.run_launcher([
eth_sandbox.new_launch_instance_action(deploy_value=Web3.toWei(0, 'ether')),
eth_sandbox.new_get_flag_action()
])
| [
"kendricktan0814@gmail.com"
] | kendricktan0814@gmail.com |
781ffa6094e1e065a1662ff414e97c2d8e72f5f6 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/nouns/_clambake.py | a60e6c1d2e25f9b27e08fb830685e405c05f668b | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 359 | py |
#calss header
class _CLAMBAKE():
def __init__(self,):
self.name = "CLAMBAKE"
self.definitions = [u'an event in which seafood is cooked and eaten outside, usually near the sea']
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.specie = 'nouns'
def run(self, obj1 = ... | [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
c9a9d2dda80846c0c2c7b067316cfabaf6aed24b | 321b4ed83b6874eeb512027eaa0b17b0daf3c289 | /1266/1266.minimum-time-visiting-all-points.289659185.Accepted.leetcode.python3.py | 76eb95f002965918c8ee1bffff4858d8a5a97364 | [] | no_license | huangyingw/submissions | 7a610613bdb03f1223cdec5f6ccc4391149ca618 | bfac1238ecef8b03e54842b852f6fec111abedfa | refs/heads/master | 2023-07-25T09:56:46.814504 | 2023-07-16T07:38:36 | 2023-07-16T07:38:36 | 143,352,065 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 277 | py | class Solution(object):
def minTimeToVisitAllPoints(self, points):
x1, y1 = points[0]
time = 0
for x2, y2 in points[1:]:
dx, dy = abs(x1 - x2), abs(y1 - y2)
time += max(dx, dy)
x1, y1 = x2, y2
return time
| [
"huangyingw@gmail.com"
] | huangyingw@gmail.com |
f03251f2e2c93487fb9538d28c53e60da6493523 | 772f8f0a197b736cba22627485ccbdb65ed45e4b | /day09/mygui3.py | 85903ce1a15afbb06fa75763d482edd7e38d2f79 | [] | no_license | zhpg/python1805 | ddc69cd1b3bda8bef1cb0c2913d456ea2c29a391 | 3d98c8ebc106fd0aab633a4c99ae6591013e4438 | refs/heads/master | 2020-03-26T11:26:59.378511 | 2018-08-05T09:25:21 | 2018-08-05T09:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 610 | py | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
import tkinter
from functools import partial
def say_hi(world):
def welcome():
label.config(text='Hello %s' % world)
return welcome
root = tkinter.Tk()
label = tkinter.Label(text='Hello world', font="15px")
b1 = tkinter.Button(root, bg='red', fg='whit... | [
"root@room9pc01.tedu.cn"
] | root@room9pc01.tedu.cn |
62c0360071a15ade3e6a6b3f38a577416759847b | 7160e632d88bf49492616f8152c91cb9f1d40d8d | /testcases/statistical_form2/test_case_166_statistical_form_alarm_detail.py | 53c29adc336cc3d9a149c60941a9e7a5f1d2954e | [] | no_license | huangqiming123/tuqiangol_test1 | ad5ddf22ce61b5b6daad55f684be5da160a64e59 | 75722812260590480320910c4ad6f6c1251a2def | refs/heads/master | 2021-03-30T23:29:08.478494 | 2018-03-12T03:45:11 | 2018-03-12T03:45:11 | 124,832,890 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,802 | py | import unittest
from time import sleep
from automate_driver.automate_driver import AutomateDriver
from pages.alarm_info.alarm_info_page import AlarmInfoPage
from pages.base.base_page import BasePage
from pages.base.lon_in_base import LogInBase
from pages.statistical_form.statistical_form_page import StatisticalFormPage... | [
"mail_zhangao@126.com"
] | mail_zhangao@126.com |
d8c6eb7e638620f0db30fcee4607c3f27da7d23c | 501e9924cb19e95c32e2d168e73ea44e7c9c440c | /readfiles.py | 9c0300bb83848b8231570bcef6216b1d447617f6 | [] | no_license | Miguelmargar/file-io | cc2790b109187dbeec87788c662aaf52d8e96c02 | f1c6f6ccfefbc572cac83a6ddc21ba2e902ac0c1 | refs/heads/master | 2020-03-17T17:23:49.493484 | 2018-05-21T12:22:23 | 2018-05-21T12:22:23 | 133,786,461 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,607 | py | #to read a file's data
# ONE WAY -----------------------------------------
f = open("data.txt", "r") # opens file to read it with "r"
lines = f.readlines() # stores the file info in lines variable therefore in memory
f.close() # closes the file but it is ... | [
"miguelitalia@hotmail.com"
] | miguelitalia@hotmail.com |
73782f3ba66ecf7f99c21522cdbbf9118fadd0e6 | 32e2ba212d39e022bea40f12cdd6b3c138a62ac0 | /mizani/tests/test_breaks.py | b1e61d60f512ce503f985284c50ce6a24b8c473b | [
"BSD-3-Clause"
] | permissive | vals/mizani | 148dd985d25796c25346a3fac106c1c5c7f40d05 | 6b288fe6061e36add001cc5f8ffb147154e7ca62 | refs/heads/master | 2020-09-11T09:59:07.672839 | 2017-06-16T08:03:30 | 2017-06-16T08:03:30 | 94,454,967 | 1 | 0 | null | 2017-06-15T15:47:21 | 2017-06-15T15:47:21 | null | UTF-8 | Python | false | false | 5,432 | py | from __future__ import division
from datetime import datetime, timedelta
import pandas as pd
import numpy as np
import numpy.testing as npt
import pytest
from mizani.breaks import (mpl_breaks, log_breaks, minor_breaks,
trans_minor_breaks, date_breaks,
timedelta_br... | [
"has2k1@gmail.com"
] | has2k1@gmail.com |
9361aa700700b980f8e9441d56dee3d2730b8b05 | 8c09764a1258696c51ef9ef9c1c3bdc1b931b00d | /pylons__shootout/shootout/tests/test_views.py | a2226095f946dd0ef87a8ab37d4b07a6f4f23cf8 | [] | no_license | mindreframer/python-pyramid-stuff | 2178c4922adca15b7905bb0916c8f035ca495564 | 4b9034bdde63ac8dd799ae2050506edd164a96b7 | refs/heads/master | 2021-01-18T16:09:52.835796 | 2013-04-09T20:09:44 | 2013-04-09T20:09:44 | 9,325,528 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,887 | py | import unittest
from pyramid import testing
def init_db():
from shootout.models import DBSession
from shootout.models import Base
from sqlalchemy import create_engine
engine = create_engine('sqlite://')
DBSession.configure(bind=engine)
Base.metadata.bind = engine
Base.metadata.create_all(... | [
"roman.heinrich@gmail.com"
] | roman.heinrich@gmail.com |
09c5c0f500049f682537e17e758566cd5a346d59 | bc01e1d158e7d8f28451a7e108afb8ec4cb7d5d4 | /sage/src/sage/combinat/species/functorial_composition_species.py | 6c84368ba4dfa192538a5c7946a0850b4b801bd3 | [] | no_license | bopopescu/geosci | 28792bda1ec1f06e23ba8dcb313769b98f793dad | 0d9eacbf74e2acffefde93e39f8bcbec745cdaba | refs/heads/master | 2021-09-22T17:47:20.194233 | 2018-09-12T22:19:36 | 2018-09-12T22:19:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,158 | py | """
Functorial composition species
"""
from __future__ import absolute_import
#*****************************************************************************
# Copyright (C) 2008 Mike Hansen <mhansen@gmail.com>,
#
# Distributed under the terms of the GNU General Public License (GPL)
#
# This code is distribute... | [
"valber@HPC"
] | valber@HPC |
042cbf52143196b868afdd9abf034bc2a4ed1dd5 | a3a3183bc3ae9d3d4bad2f4923e8297bce0ff7d3 | /final/Python-3.10.0/Lib/ensurepip/__init__.py | f28ab11ed400828f39a629a46d2708f9de616bad | [] | no_license | Nuitka/Nuitka-references | 4b78831e6947f1c4b32ef034435a88ecfd27f701 | f20d1b5728ec00cf8a5b23d650101c288b2594e9 | refs/heads/main | 2023-08-06T19:12:11.795836 | 2023-08-03T14:54:16 | 2023-08-03T14:55:22 | 169,884,560 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 9,487 | py | import collections
import os
import os.path
import subprocess
import sys
import sysconfig
import tempfile
from importlib import resources
__all__ = ["version", "bootstrap"]
_PACKAGE_NAMES = ('setuptools', 'pip')
_SETUPTOOLS_VERSION = "57.4.0"
_PIP_VERSION = "21.2.3"
_PROJECTS = [
("setuptools", _SETUPTOOLS_VERSI... | [
"kay.hayen@gmail.com"
] | kay.hayen@gmail.com |
fae38ea09e1beb8207caeb28a4f7c4996b13a758 | af179f861c423a27ed4539882b1b17202c4833b5 | /algorithms/curious_a2c/agent_curious_a2c.py | 5c24f7f2685aa3ba6dedb53e35ac26524afdf941 | [
"MIT"
] | permissive | alex-petrenko/curious-rl | 1666251076859304b55969d590447fc6b5c3b2f6 | 6cd0eb78ab409c68f8dad1a8542d625f0dd39114 | refs/heads/master | 2020-04-08T01:32:28.271135 | 2019-06-13T20:54:22 | 2019-06-13T20:54:22 | 158,899,170 | 22 | 3 | null | null | null | null | UTF-8 | Python | false | false | 24,992 | py | """
Implementation of the curious variant of the Advantage Actor-Critic algorithm.
"""
import time
import numpy as np
import tensorflow as tf
from tensorflow.contrib import slim
from algorithms.algo_utils import RunningMeanStd, EPS, extract_keys
from algorithms.baselines.a2c.agent_a2c import AgentA2C
from algorithms... | [
"petrenko@usc.edu"
] | petrenko@usc.edu |
163265522ac5b1d53899d5d114cb4432cf72522d | 1548ce77537dcd50ab04b0eaee050b5d30553e23 | /tests/test_pipeline/components/classification/test_lda.py | f78f133407c5e5dff1614b0807339f117fb6d6e8 | [
"Apache-2.0"
] | permissive | Shamoo100/AutoTabular | 4a20e349104246bf825ebceae33dca0a79928f2e | 7d71bf01d2b7d84fcf5f65c9f45c5cea1255d8a2 | refs/heads/main | 2023-08-13T21:34:34.329888 | 2021-10-02T07:06:00 | 2021-10-02T07:06:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 768 | py | import sklearn.discriminant_analysis
from autotabular.pipeline.components.classification.lda import LDA
from .test_base import BaseClassificationComponentTest
class LDAComponentTest(BaseClassificationComponentTest):
__test__ = True
res = dict()
res['default_iris'] = 1.0
res['default_iris_iterative'... | [
"jianzhnie@126.com"
] | jianzhnie@126.com |
9c94a6ae985e0ffbcc4884ebef338fa1f8d357d0 | b7a2a80843fa5141ffb9c7b4439f1d2ac713af30 | /Version2/U7.2_Threads_Alt.py | 6e674dc4ae02171ef537759fd638fb0b727f2a73 | [] | no_license | wunnox/python_grundlagen | df1bc2b9b1b561bd6733ccc25305e799a48e714e | fa84d7aae7332a7acbb3ba7ff0fe2216cc345fc0 | refs/heads/master | 2023-05-01T12:19:23.208445 | 2023-04-16T11:29:01 | 2023-04-16T11:29:01 | 222,099,539 | 2 | 3 | null | 2019-12-19T10:56:43 | 2019-11-16T12:57:54 | Python | UTF-8 | Python | false | false | 1,241 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import print_function
####################################################
#
# Uebung:
# Erstellen Sie ein Programm, welches drei Threads startet
# Der erste Thread läuft 8 Sekunden, der zweite 4 Sekunden und der dritte 6 Sekunden
# Nehmen Sie als Vorlage , die ... | [
"peter.christen@cssgmbh.ch"
] | peter.christen@cssgmbh.ch |
b20ec919b3bf275ed1bcbe843963d49d1abfdeae | d6a87864028abde8da69b0a1075e3d4c483ed73c | /base/baseheap.py | 6db645d2a85ffa7480fc4454289c7144d0ee5942 | [] | no_license | Windsooon/LeetCode | 7ef78c7e001c1e6924244869a7ba5491d33eb246 | 409d7db811d41dbcc7ce8cda82b77eff35585657 | refs/heads/master | 2021-01-10T15:26:16.986357 | 2020-01-01T14:57:58 | 2020-01-01T14:57:58 | 54,531,267 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 105 | py | class BaseHeap:
def upheap(self, p):
pass
def downheap(self, p):
pass
def
| [
"wiwindson@outlook.com"
] | wiwindson@outlook.com |
9a4a66b73d5ac59e838f0aa82bbb615cf4efa43f | 6c58da2c54a3d35273e7984313d181f1da9981fc | /Multiple_Apps/djangoEnv/bin/django-admin.py | 78fd42c83301322a9da7ef20392fed2b3158a0b1 | [
"MIT-0"
] | permissive | py1-10-2017/rgero215_PY1-10-2017 | e582cb12cc63f84b1c0c14d09a922cb6cb228016 | f455b335ec9c8c850571f3a75dcd95759b4cfdad | refs/heads/master | 2021-09-04T03:23:48.062326 | 2018-01-14T21:07:26 | 2018-01-14T21:07:26 | 105,612,652 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 187 | py | #!/Users/RGero13/Desktop/rgero215_PY1-10-2017/Multiple_Apps/djangoEnv/bin/python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| [
"rgero215@gmail.com"
] | rgero215@gmail.com |
30d76d5a0ff3e6f690abdabd2e750c027eb4391d | c05f9fb686ef49c093e618a4078ffe723231f346 | /config/conf.py | aa2247f1303787036d7ea5fca1e3fa1d81a42f4c | [] | no_license | wmm0165/PytestAuto | d1bb40dcc5760439658c15af653953646119af44 | 42846b12ed7aefaa4e5890529ec71a76d27f245d | refs/heads/master | 2020-07-16T16:35:19.962864 | 2019-09-16T10:08:37 | 2019-09-16T10:08:37 | 205,825,635 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 881 | py | from datetime import datetime
import os
# 项目根目录
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# 报告目录
REPORT_DIR = os.path.join(ROOT_DIR, 'report')
# ui对象库config.ini文件所在目录
CONF_PATH = os.path.join(ROOT_DIR, 'config', 'config.ini')
# 测试数据所在目录
DATA_Path = os.path.join(ROOT_DIR, 'data', 'tcData.xl... | [
"wmm_0165@163.com"
] | wmm_0165@163.com |
592ac9a1613e8c2b0e733f3b1ebe6ebb4046e7ca | cb12e3eff7bbb5fe2f4d0e2be9ca165a5577dc93 | /plt-and-algo/webrtc-p2pframe/serve.py | a43133af73a4329d22e725d2ebc34e112a0c7968 | [] | no_license | overminder/kitchen-sink | 6b1227ff00f8804d4d0a632e613ee903d51ab753 | 2e61b9041ceed536d42b42b75a5c50dae080c0ba | refs/heads/master | 2023-06-09T05:48:47.291336 | 2023-05-29T17:38:34 | 2023-05-29T17:38:34 | 50,777,705 | 18 | 3 | null | 2020-02-09T19:22:18 | 2016-01-31T14:13:16 | Scala | UTF-8 | Python | false | false | 3,346 | py | #!/usr/bin/env python3.5
import logging
import os
import sys
import random
import json
HERE = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))
STATIC_PATH = os.path.join(HERE, 'static')
from tornado import gen
from tornado.websocket import WebSocketHandler
from tornado.web import Application, RequestHan... | [
"p90eri@gmail.com"
] | p90eri@gmail.com |
8704bbaf901d8a35e0ee5512cc626afd639f0d60 | bed0d23d35b42b7316dee35f9fa06d4d2cc9de26 | /src/custom_admin/__init__.py | 5ec402089bc364c75d9685df1a8d89ebdb5cca66 | [] | no_license | Bloodlettinger/meandre | b55911c93faf6c279f496394137def21ec181e6a | f9a8c5dc709fcdda808fc1329264724c7b8d951e | refs/heads/master | 2020-05-17T23:01:15.326103 | 2012-10-11T17:22:48 | 2012-10-11T17:22:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 199 | py | # -*- coding: utf-8 -*-
from datetime import date, datetime
def ddmmyy(value):
if isinstance(value, (date, datetime)):
return value.strftime('%d.%m.%y')
else:
return u'--'
| [
"ruslan.popov@gmail.com"
] | ruslan.popov@gmail.com |
8b92035f4b34e0556c903e155ba9a8618bf17529 | 275a96a33ae1f89e7b2ee0ecdbac7d78abe6d6cc | /test/test_bad_request_error_code.py | 670128cb3664339498ad0e2fe8a03b0977a7c7ff | [] | no_license | cascadiarc/cyclos-python-client | 8029ce07174f2fe92350a92dda9a60976b2bb6c2 | a2e22a30e22944587293d51be2b8268bce808d70 | refs/heads/main | 2023-04-03T16:52:01.618444 | 2021-04-04T00:00:52 | 2021-04-04T00:00:52 | 354,419,532 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 913 | py | # coding: utf-8
"""
Cyclos 4.11.5 API
The REST API for Cyclos 4.11.5 # noqa: E501
OpenAPI spec version: 4.11.5
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import swagger_client
from swagger_client.models.bad_req... | [
"dan@leftcoastfs.com"
] | dan@leftcoastfs.com |
4fd9c70db157736bfaf3aab4bd859f51b90b8f41 | 82aee3211216f55392d5a757eb57f02c859e9a28 | /Easy/599_minimumIndexSumOfTwoLists.py | d92b6e8b5c30aa160a4ed09faac635a69b9d9ca6 | [] | no_license | Yucheng7713/CodingPracticeByYuch | 505d18095d4b9a35c1f3b23632a90a76d811b64a | 1461b10b8910fa90a311939c6df9082a8526f9b1 | refs/heads/master | 2022-05-01T11:51:00.612603 | 2022-04-18T09:46:55 | 2022-04-18T09:46:55 | 198,961,132 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 605 | py | class Solution:
def findRestaurant(self, list1: List[str], list2: List[str]) -> List[str]:
r_set = set(list1 + list2)
map_1 = {res : i for i, res in enumerate(list1)}
map_2 = {res : i for i, res in enumerate(list2)}
common_res = []
min_sum = float('inf')
for r in r_se... | [
"yuchengh@usc.edu"
] | yuchengh@usc.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.