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
85f4dd9289e264989e7881fffd2e6b619a84d45b
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/TSZLMM_bak/YW_GPMM_SHXJ_022.py
3d5234fa574a81e456a2d197f193481bbb2e0fc0
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,276
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
dba6a61e09c22d32422f304ba3939b5c3ebb658e
5c7da7dabdc076ad7113ccd20561a8bbf5f9a70e
/users/forms.py
ea2831dce11d8b7d8b0d129ec06b8034d6ccfe9b
[]
no_license
aqcloudacio/cloudaciofeez
2499fb5fc5334fa871daab2abea6c34bfa8c7667
8399560ece9aa10a6d6801f42c027dca26a65936
refs/heads/master
2023-02-27T22:36:20.501159
2021-02-11T00:03:46
2021-02-11T00:03:46
337,887,413
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from django.contrib.auth import get_user_model from django.contrib.auth.forms import UserCreationForm User = get_user_model() class UserCreateForm(UserCreationForm): class Meta: fields = ('email', 'password1','password2') model = User def __init__(self,*args, **kwargs): super().__i...
[ "alejandro.quintero@clouxter.com" ]
alejandro.quintero@clouxter.com
4425efa09ae778f7d4959670ebf763dee6692af7
af3241e3cf76ea4b5d81788a8e710d874916cc48
/test_stacbalance_par.py
ac7ca8140c477253c8f38d75a96c57a06f465f13
[]
no_license
samims/data_structure
67b9a4b9902b6aba952911873dffb994bdf180cb
47a3d05550c1d3eaa47052b0c0f81cbadbde923d
refs/heads/master
2020-05-16T05:54:51.890698
2019-05-02T11:22:19
2019-05-02T11:22:19
182,830,791
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
import unittest from stack import Stack from stack_balance_par import is_balanced class TestStack(unittest.TestCase): def setUp(self): self.stack = Stack() self.stack.items = ['A', 'B', 'C'] def test_get_items(self): self.assertEqual(self.stack.get_stack(), ['A', 'B', 'C']) def ...
[ "sam91v@gmail.com" ]
sam91v@gmail.com
1841033f03a26c9bb9db646d99c389632fa2d15b
0abab0ddef22eca97edcd195073455052266a380
/RL Basic/01. OpenAI Basic/06_gym_monitor.py
d6cc13f90a096cfb54fe769db4fb8ce6ee14ba6e
[]
no_license
321HG/study_git
9eb0e05948f038d95650113bac406cb92d499dab
7a3449a8c2a17376cd3c6e731854c052daefcc57
refs/heads/main
2023-06-07T06:07:21.141488
2021-07-05T16:46:21
2021-07-05T16:46:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
# Monitor # Another class that you should be aware of is Monitor. # It is implemented like Wrapper and can write information about your agent's performance in a file, with an optional video recording of your agent in action. # Some time ago, it was possible to upload the result of the Monitor class' recording to th...
[ "jk04059@naver.com" ]
jk04059@naver.com
64efbbf02610280f2a08399ea6cfd795b8b749e2
a8d86cad3f3cc6a977012d007d724bbaf02542f7
/vendors/marvin/marvin/cloudstackAPI/prepareHostForMaintenance.py
e86a7eb415687e1dc7ff7331dc4675caad73d501
[]
no_license
bopopescu/bigrobot
f8d971183119a1d59f21eb2fc08bbec9ee1d522b
24dad9fb0044df5a473ce4244932431b03b75695
refs/heads/master
2022-11-20T04:55:58.470402
2015-03-31T18:14:39
2015-03-31T18:14:39
282,015,194
0
0
null
2020-07-23T17:29:53
2020-07-23T17:29:52
null
UTF-8
Python
false
false
9,188
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...
[ "vui.le@bigswitch.com" ]
vui.le@bigswitch.com
1d5546f578f04288cf8ace67845c492d861348ce
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/demo_20201105174901.py
60d6ec7d9929e1d0ec189d567f93025b5cb35497
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
# a = 1 # if a==0: # print("a=0") # else: # print("a!0") """ x>1 3x-5 -1<=x<=1 """
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
fc8f13e20ecd1eac70a2abf9cc7cfb682052a8c2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02813/s778039952.py
4bbe92de6bba4aa46f34f5be5798c776f1204954
[]
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
421
py
import itertools n = int(input()) p = tuple(map(int,input().split())) q = tuple(map(int,input().split())) seq = [] for i in range(1,n+1): seq.append(i) pat = list(itertools.permutations(seq)) ans = 0 cnt = 0 for i in range(len(pat)): if pat[i]==p or pat[i]==q: if p==q: print(0) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2ba7710eee6fe64e9d06f0fdf9e13a648ccae424
f07b0142e37afe0bf8ed4d56399a0a49f5b1801b
/lino_xl/lib/cv/fixtures/std.py
2ad6beb87a30e725553818e8ec12529ff5a22a95
[ "BSD-2-Clause" ]
permissive
khchine5/xl
af70fb21e4caeb05ff62e9618113c278d71a75ed
b1634937a9ce87af1e948eb712b934b11f221d9d
refs/heads/master
2021-01-20T22:51:01.193260
2018-08-22T07:47:43
2018-08-22T07:47:43
52,145,840
1
0
BSD-2-Clause
2018-08-19T12:29:06
2016-02-20T09:21:19
Python
UTF-8
Python
false
false
5,654
py
# -*- coding: UTF-8 -*- # Copyright 2008-2014 Luc Saffre # # License: BSD (see file COPYING for details) from __future__ import unicode_literals from lino.utils.instantiator import Instantiator from django.utils.translation import ugettext_lazy as _ from lino.api import dd def objects(): """ Educatio...
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
47b9ea44194422a21a3fb558f90d612e2b9c4c3c
94d06fe53da7d240a0f4b2b77121575a384f4b47
/powerdyn
ba0a5ef6480d271e3ae3df7a84e9e353d3d89aab
[]
no_license
staticfloat/powerdyn_docker
c9b8820a64b0b258253a0031680c600deb74353b
0fb40a7a25f27363b3ea5f7ef3bdb34e52752049
refs/heads/master
2021-09-08T03:33:03.853262
2018-03-06T20:52:20
2018-03-06T20:52:20
115,895,904
0
0
null
null
null
null
UTF-8
Python
false
false
6,577
#!/usr/bin/env python from optparse import OptionParser from ConfigParser import SafeConfigParser import os import sys import re def adapt_query_for_sqlite3(query): # WARNING: This is a hack to convert the usual pyformat strings # to named ones used by sqlite3 return query.replace('%(', ':').replace(')s'...
[ "staticfloat@gmail.com" ]
staticfloat@gmail.com
db054c9d74ce73c1302bea86760b2af2ba7f2c2b
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/matrix/51879395d8a34df092eca9496c0ddfd5.py
6e192cc92aa51fc30f5a41bfb65f6546ac6e7633
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
621
py
class Matrix(object): def __init__(self, matrixString): self.rows = [] self.columns = [] lines = matrixString.split('\n') i = 0 for line in lines: j = 0 line = line.split(' ') self.rows.append([]) for number in line:...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
a4b6b6c8f6c3b49403bb24bb337e44b6711a0719
451206c51e50ac6046c528600f3f0e8cb109caec
/problems/money-format/money-format-answer.py
ee785ac4a29380e2eeb3f5d22cd6c1d85f56c959
[ "MIT" ]
permissive
Sumitrock20/interview-with-python
0a747f250b0ef22c1ceb8ac8efa04cceedc51bb2
b5ce31c8bdca754a76762d2734dcf494a302e487
refs/heads/master
2021-04-06T13:07:20.594934
2018-03-06T09:02:00
2018-03-06T09:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
##$$## ---------- TAGS ----------- ##$$## ##$$## money,format ##$$## --------- ENDTAGS --------- ##$$## ###### - Write your answer below - ######
[ "jonathon.bel.melbourne@gmail.com" ]
jonathon.bel.melbourne@gmail.com
6d84d2aac265250302f57857d2286326cd8b5be3
3a0336f8ba841f6076f412dfb6de1af9ac946efd
/azure/multiapi/storage/v2017_04_17/queue/_error.py
5e12d80d69787b1119aa5492de7f7c1d61cc3ea8
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Azure/azure-multiapi-storage-python
4291579aa1f47d4b74557267558bd5029e01e12c
650ef33ad683a5f2aba590c4553f9871bfa0dd93
refs/heads/master
2023-09-03T22:27:16.816305
2023-06-01T07:37:02
2023-06-01T07:37:02
94,827,841
4
17
MIT
2023-06-01T07:37:03
2017-06-19T22:58:21
Python
UTF-8
Python
false
false
1,449
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft. 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.apa...
[ "troy.dai@outlook.com" ]
troy.dai@outlook.com
5ff41a05706d1d2ebd1627b2964213c1a47cc4fe
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/securityinsights/v20210301preview/get_msti_data_connector.py
a60f34a4db105a7b5d5d248e0146809b0fb57621
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,848
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
cfd78610b2b7c74574a963743690f10dc44c35ce
e9b084dc1502e88345c2c031df96b21677dfc28f
/lend/settings.py
174c6a08dc8d7444d936c8897d8c4e03d92f3cb0
[]
no_license
Jordan-Ak/Rental_Sun
38ba7601d75213ffe29f29885b66dedd53ad0f78
20f9b87a9b661f2729cf75878293873ee465e82a
refs/heads/master
2023-03-28T01:57:08.607629
2021-03-23T07:15:45
2021-03-23T07:15:45
349,691,178
0
0
null
null
null
null
UTF-8
Python
false
false
3,837
py
""" Django settings for lend project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib im...
[ "JosiahDavid98@gmail.com" ]
JosiahDavid98@gmail.com
be94b54fa75a546bbba65243d3ae9edaabbfd8bc
c384046bc0e7d49f46feaf0c6722523f81b41214
/code/Day_2/Zadanie_2.py
30458e3e8851746083d9ebde88e7534e17ffd810
[]
no_license
Edyta2801/Python-kurs-infoshareacademy
b0c8c9e2de4e980cc1b10aed80a156ac83fdd4aa
41bdbbad8a15b16220a82fb06c7bd353792fe6d7
refs/heads/master
2020-12-15T18:38:21.157330
2020-01-20T22:48:28
2020-01-20T22:48:28
235,212,406
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
""" Tytuł: ord oraz chr Zadanie: Zapisać swoje imię i nazwisko w wartościach numerycznych ASCII oraz za pomocą liter przy użyciu funkcji ord oraz chr Podpowiedzi: https://pl.wikipedia.org/wiki/ASCII """
[ "edyta.szarowska@interia.pl" ]
edyta.szarowska@interia.pl
c652937371ebdd29a9bdd1ef333580a6269b13a0
876c4a2ea11353246bb9b98cc8dea5efe2e99240
/setup.py
93b25c81463e468b6a8b1e6702d896d3bd7e1a8f
[]
no_license
sflis/CHECRunPage
342e5d01bd43b541763dbf7ccd3c8a98da0ff852
140762849eca2d7a8012e1bce050efcc66dcc0d0
refs/heads/master
2020-07-30T17:16:29.743140
2019-09-26T13:59:22
2019-09-26T13:59:22
195,800,058
0
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
from setuptools import setup, find_packages import os import sys install_requires = [ "zmq", "numpy", "pyyaml", "click", "jinja2", "google-api-python-client", "google-auth-httplib2", "google-auth-oauthlib", "Sphinx==1.6.7", "lark-parser", ] # from shutil import copyfile, rmtre...
[ "samuel.d.flis@gmail.com" ]
samuel.d.flis@gmail.com
9a582ba83830a050b00b1f0029b26a60e038dc17
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/knxchi001/question3.py
f5a66cc30fb5013ffdd876ffe56158989f04a2fa
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
#Assignment 2 #Queston 3 import math PI= 2 denominator= math.sqrt(2) while denominator <2: PI= PI * 2/denominator denominator= math.sqrt(2+denominator) print("Approximation of pi:", round(PI,3)) radius= eval(input("Enter the radius: \n")) area= PI*radius**2 print("Area:", round(area...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
498ba6214ad906d41c2e4c720a630158b6c4a7c7
31009efe0b3882551f03dcaa9c71756c7c6f6ede
/src/main/resources/twisted/web/test/test_proxy.py
4452fcbdc83eae04e9cfbecad96c4c0891de73cb
[ "Apache-2.0", "ZPL-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
riyafa/autobahntestsuite-maven-plugin
b533433c75f7daea2757158de54c6d80d304a962
737e6dad2d3ef794f30f0a2013a77e28decd2ec4
refs/heads/master
2020-08-16T13:31:39.349124
2019-10-16T09:20:55
2019-10-16T09:20:55
215,506,990
0
0
Apache-2.0
2019-10-16T09:18:34
2019-10-16T09:18:34
null
UTF-8
Python
false
false
19,531
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Test for L{twisted.web.proxy}. """ from twisted.trial.unittest import TestCase from twisted.test.proto_helpers import StringTransportWithDisconnection from twisted.test.proto_helpers import MemoryReactor from twisted.web.resource import Reso...
[ "nmaurer@redhat.com" ]
nmaurer@redhat.com
c3e98137a8aecb9c5bd974566a35bec0d7ff4caf
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/surface/dataproc/operations/get_iam_policy.py
c32139cb2c6bf25250fa6263c0afad562bc2331e
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
1,886
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
1b53db07f135719fcf867738e2a584ed7ec87d5b
242086b8c6a39cbc7af3bd7f2fd9b78a66567024
/python/PP4E-Examples-1.4/Examples/PP4E/Gui/Tour/simpleedit.py
24f757478b068f09adb3a57691d32057381e53ab
[]
no_license
chuzui/algorithm
7537d0aa051ac4cbe9f6a7ca9a3037204803a650
c3006b24c4896c1242d3ceab43ace995c94f10c8
refs/heads/master
2021-01-10T13:05:30.902020
2015-09-27T14:39:02
2015-09-27T14:39:02
8,404,397
4
4
null
null
null
null
UTF-8
Python
false
false
2,782
py
""" add common edit tools to ScrolledText by inheritance; composition (embedding) would work just as well here; this is not robust!--see PyEdit for a feature superset; """ from tkinter import * from tkinter.simpledialog import askstring from tkinter.filedialog import asksaveasfilename from quitter import Quitte...
[ "zui" ]
zui
5cfbdd5a5563593d7715eda1b0f33959f7199945
dbd2a83335b7adbc79411b4b8011f3ac12452e23
/tests/helpers/information/test_get_repository.py
5b20b2f48873168019f426f52bc105deeb543650
[ "MIT" ]
permissive
ludeeus/integration
774a55992b0b9e6b2024ce6d276c3cee0cbd3b9d
05c05291de5c938ce122f1d48c542938bceef83e
refs/heads/master
2022-11-11T12:17:14.494404
2020-04-23T19:30:51
2020-04-23T19:30:51
258,275,066
1
0
MIT
2020-04-23T17:07:38
2020-04-23T17:07:36
null
UTF-8
Python
false
false
1,557
py
"""Helpers: Information: get_repository.""" # pylint: disable=missing-docstring import json import aiohttp import pytest from custom_components.hacs.hacsbase.exceptions import HacsException from custom_components.hacs.helpers.information import get_repository from tests.common import TOKEN from tests.sample_data import...
[ "joasoe@gmail.com" ]
joasoe@gmail.com
076b057d3cc29d94eeb5e38740c93c8e9a4ab4d3
f200850c7c68cf7d74b6af48b84f5056d1c0712a
/tests/env/packages/env_test_partd.py
25613eb4836a6dd1537998179d6375f710c19ac7
[ "BSD-3-Clause", "CC-BY-4.0" ]
permissive
Yannick2408/foxbms-2
6ffd5a76ff16f058a65fc58b0ff0d672250b7556
62288b333fe6da52deae91f74fb15e71060ac99c
refs/heads/master
2023-04-05T14:33:57.504096
2021-04-01T20:28:16
2021-04-01T20:41:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @copyright &copy; 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der # angewandten Forschung e.V. All rights reserved. # # BSD 3-Clause License # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the fol...
[ "info@foxbms.org" ]
info@foxbms.org
363b53cef59d62d1d89566aa3c0216edd97f273e
e2860eb874db045fb8d0279566a935af907e5bdf
/ml/ml19_5_wine.py
e2b01849dc6bc7b5bb1d4607083a2f2255765595
[]
no_license
MinseokCHAE/Bitcamp2_new
dda7990907cb136c2e709a345eec634dfdb6ac02
849adb5a330b621f1c681f0b5e92005d1281a44d
refs/heads/main
2023-08-31T03:28:18.068561
2021-10-05T00:48:52
2021-10-05T00:48:52
390,228,262
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
from xgboost import XGBClassifier from sklearn.datasets import load_wine from sklearn.model_selection import train_test_split from sklearn.metrics import r2_score from sklearn.preprocessing import MinMaxScaler, StandardScaler import numpy as np datasets = load_wine() x = datasets['data'] y = datasets['target'] scaler...
[ "minseok6739@naver.com" ]
minseok6739@naver.com
5b4ff708f9cf4cca8e96c96917e94a990107cf9d
2aa47f47fb81798afdf41437844cbbea8e9de66c
/05mongo/acct_manage_svr.py
380d68bb6d3805b1e921a96fb5a364cfbdc27266
[]
no_license
nykh2010/python_note
83f2eb8979f2fb25b4845faa313dbd6b90b36f40
5e7877c9f7bf29969072f05b98277ef3ba090969
refs/heads/master
2020-04-27T23:10:16.578094
2019-03-23T02:43:14
2019-03-23T02:43:14
174,765,151
0
0
null
null
null
null
UTF-8
Python
false
false
4,025
py
# 账户查询客户端 from socket import * import pymongo #修改地址 db_host = "127.0.0.1" db_port = 27017 db_name = "test" svr_host = "0.0.0.0" svr_port = 9999 db_conn = None # 数据连接对象 def conn_database(): global db_conn db_conn = pymongo.MongoClient(db_host, db_port) if not db_conn: print("连接数据库失败") ...
[ "xulingfeng@boe.com.cn" ]
xulingfeng@boe.com.cn
7ddf49019b41e374837ce7bdec8ec4d57c28eb05
1a220abd21c56728aa3368534506bfc9ced8ad46
/3.beakjoon/jungle/practice/수학/1978_소수찾기.py
d0711992bcc73a209541be0c7a4025cbf30a0959
[]
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
341
py
n = int(input()) info = list(map(int,input().split())) primes = [True] * (1001) def eratos(): primes[0], primes[1] = False, False for i in range(2, int(len(primes) ** (1/2))): for j in range(2*i, len(primes), i): primes[j] = False eratos() cnt = 0 for p in info: if primes[p]: ...
[ "whssodi@gmail.com" ]
whssodi@gmail.com
540ddea26b3bd9ca139e975693969eca0bd0f3c1
89e1b168114b78dd68495292cf7f1eac1267f05d
/simple/simple.py
2b3ea19e9e1eeef69c38f2ef3996451e7522a1a0
[ "Apache-2.0" ]
permissive
iorodeo/flask_matplotlib_tests
5ab76fd8ab3158897b0081c4382f37b67094237a
7d46afb864b4f6b04871a5cd966a2ebef19add00
refs/heads/master
2022-11-04T23:10:31.643191
2012-04-24T00:40:53
2012-04-24T00:40:53
273,790,452
0
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
import flask import pylab import os import os.path import tempfile import random app = flask.Flask(__name__) @app.route('/',methods=['GET','POST']) def index(): if flask.request.method == 'POST': if 'plot_button' in flask.request.form: x_data_raw = str(flask.request.form['x_data']) ...
[ "will@iorodeo.com" ]
will@iorodeo.com
dd1e99e9b8e5649805ef68ed03d2f745d0ad9ff1
1ab7b3f2aa63de8488ce7c466a67d367771aa1f2
/Ricardo_OS/Python_backend/venv/lib/python3.8/site-packages/gevent/tests/test__issue112.py
df2be0c1b6b551c47c4edc6e936aa75ff65fff90
[ "MIT" ]
permissive
icl-rocketry/Avionics
9d39aeb11aba11115826fd73357b415026a7adad
95b7a061eabd6f2b607fba79e007186030f02720
refs/heads/master
2022-07-30T07:54:10.642930
2022-07-10T12:19:10
2022-07-10T12:19:10
216,184,670
9
1
MIT
2022-06-27T10:17:06
2019-10-19T09:57:07
C++
UTF-8
Python
false
false
338
py
import sys import unittest import threading import gevent import gevent.monkey gevent.monkey.patch_all() @unittest.skipUnless( sys.version_info[0] == 2, "Only on Python 2" ) class Test(unittest.TestCase): def test(self): self.assertIs(threading._sleep, gevent.sleep) if __name__ == '__main__': ...
[ "kd619@ic.ac.uk" ]
kd619@ic.ac.uk
da701bfd690bc71205aa820ab921c9c7db87ac32
acbc48ad067adf8c5e392493fd5d1a8dfb79ecb5
/weaver/__meta__.py
271109a576e1a49ad3d455783e03c911abac94d8
[ "Apache-2.0" ]
permissive
crim-ca/weaver
61506e3443689fd537c9ab63e2554b52de851893
f07cfea0776af6c5797d2a2e06566d1e77858213
refs/heads/master
2023-08-24T00:38:20.084109
2023-07-07T20:05:41
2023-07-07T20:05:41
173,996,994
22
6
Apache-2.0
2023-09-14T18:56:18
2019-03-05T18:11:42
Python
UTF-8
Python
false
false
905
py
__name__ = "weaver" __title__ = "Weaver" __version__ = "4.30.1" __description__ = "Workflow Execution Management Service (EMS); Application, Deployment and Execution Service (ADES)." __source_repository__ = "https://github.com/crim-ca/weaver" __docker_repository__ = "https://hub.docker.com/r/pavics/weaver" __documentat...
[ "francis.charette.migneault@gmail.com" ]
francis.charette.migneault@gmail.com
9864ba298b24ae920d385637f6c058d74c3cf5a0
49e72df481bec1501202d7411a55b765c33355ba
/luminar project/functional_programming/cube.py
dbf4eb17235fb05eada095d02cd0ae7665a8861d
[]
no_license
JEENUMINI/pythonpgmsupdated
ae6d62bc58e1d44ba81a21637335140119c76869
4816ec24693034af36d4b76887d34c9a499f4cc8
refs/heads/main
2023-01-23T13:36:28.478938
2020-12-15T18:18:07
2020-12-15T18:18:07
321,749,979
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
f=lambda num1:num1**3 print(f(2)) # or f=lambda num:num*num*num print(f(3))
[ "mini13.1994@gmail.com" ]
mini13.1994@gmail.com
5f8d04ffdd6eb8dd86f0bcd041fcf7522b9f8c14
92c586573ff7db754aa390ca6c028aec0c39aa0d
/email_app/library/constants.py
0753638be803975bba0aa1a1ea09c2bd22f7336b
[]
no_license
vovapasko/crm
b7784ac7f1984a26a955b178ebefea0c03c9ad6a
bab909324aa2e4c1c8fff72093d3fcf44aaf4963
refs/heads/master
2023-02-10T10:39:40.789246
2020-11-20T18:30:01
2020-11-20T18:30:01
326,683,996
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
import os API_SERVICE_NAME = 'gmail' API_VERSION = 'v1'
[ "vovapasko1699@gmail.com" ]
vovapasko1699@gmail.com
a35e035c8e510119e55f614b5bc0236dacaf2ecd
948d773961b96bdb7002be942ec6967a406cd6e3
/common/get_log.py
2111264f21ca0618e63d65ce41f418dea87d9fdc
[]
no_license
UserWangjn/API_unittest_requests_DDT_HTMLreport
2e9b40f63c64302777e72dfa9110ae482dc6116d
311a924958f59d14fb66d43c0029015bf4edf907
refs/heads/master
2021-02-15T07:39:49.543959
2020-03-15T14:09:05
2020-03-15T14:09:05
244,878,198
0
0
null
null
null
null
UTF-8
Python
false
false
2,570
py
# -*- coding: utf-8 -*- # @Author : wjn # @File : get_log.py # @describe: 生成日志信息 import os import logging import datetime import functools import traceback from common.get_value import GetValue class TestLogs(object): def __init__(self): self.logger = logging.getLogger(__name__) self.logger....
[ "wjntest@163.com" ]
wjntest@163.com
81d3894735f83e69d519de269e5c84b7ee10ea1e
e5838acd890b711d53fa7b37e0405c236dd52bb2
/trails/feeds/abuseipdb.py
2655041df55065ea9b82449384b57f5ce148aef6
[ "MIT" ]
permissive
stamparm/maltrail
34c40fe593f82c5f78d511c21a1cbe049aa04856
21422d7acbdfd1157c0b2188b5050f74d0adecbb
refs/heads/master
2023-08-31T20:08:48.881765
2023-08-31T19:39:55
2023-08-31T19:39:55
27,561,102
5,663
1,193
MIT
2023-08-14T03:13:03
2014-12-04T21:33:46
Python
UTF-8
Python
false
false
636
py
#!/usr/bin/env python """ Copyright (c) 2014-2023 Maltrail developers (https://github.com/stamparm/maltrail/) See the file 'LICENSE' for copying permission """ import re from core.common import retrieve_content __url__ = "https://www.abuseipdb.com/statistics" __check__ = "distinct users" __info__ = "known attacker"...
[ "miroslav.stampar@gmail.com" ]
miroslav.stampar@gmail.com
a6049cc5d02d9c619a629756264d2fa93990a2f5
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2545/47920/260445.py
3d448e851b52576ebed318bbd8e5fd6e887b16d9
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
812
py
t = eval(input()) def is_less_one(t): flag =False for i in range(len(t)): if(int(t[i]) >= 1): flag =True break def _sum(li): l = [] r_sum =0 for i in li: r_sum = r_sum+int(i) for k in l: if(k == r_sum): ...
[ "1069583789@qq.com" ]
1069583789@qq.com
43d129f2ee8612c59d919d939a52e33cd6766888
d04d3eec289376e7682403af2f32044b3991d27b
/2 - Data Types and Variables/Exer-3.py
f216c3c5862b88885238d3ed4cc9219ba0fb789c
[]
no_license
m-evtimov96/softUni-python-fundamentals
190002dbc6196211340126814e8ed4fce3b8a07f
817a44a3d78130d37e58facfc7bcfdc8af5f4051
refs/heads/master
2020-12-10T12:45:27.847764
2020-06-23T13:09:43
2020-06-23T13:09:43
233,598,519
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
people = int(input()) capacity = int(input()) courses = 0 while people > 0: people -= capacity courses += 1 print(courses)
[ "m.evtimov196@gmail.com" ]
m.evtimov196@gmail.com
465344465dca35d2f0e77fad908e5d282c76b053
e78a9b75906065a205b0f2db635ecf834cb3e6ed
/cloud_scraper.py
ea4ea792ca62131956b2493915071294ae647df1
[]
no_license
KonstantinSKY/LazyCoder
fc17fc52daacbb1c3efeab5b106334c02d2d488a
ce8c0fd08befb16146613bb08a8067c192d65101
refs/heads/master
2023-03-14T20:56:49.440405
2021-03-15T20:58:09
2021-03-15T20:58:09
347,434,627
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
import cloudscraper scraper = cloudscraper.create_scraper() # Or: scraper = cloudscraper.CloudScraper() print(scraper.get("https://leetcode.com/problems/decode-xored-array/").text)
[ "sky012877@gmail.com" ]
sky012877@gmail.com
18f6db2747ea2f4f0fe909f7779ebcce9d4f6a24
bc441bb06b8948288f110af63feda4e798f30225
/console_gateway_sdk/model/easy_command/target_log_pb2.pyi
e566c32ee03337d5cac0c8b59e38f5466be13925
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
3,308
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from console_gateway_sdk.model.easy_command.action_log_pb2 import ( ActionLog as console_gateway_sdk___model___easy_command___action_log_pb2___ActionLog, ) from google.protobuf.descriptor import ( Descriptor as google___protobuf___descripto...
[ "service@easyops.cn" ]
service@easyops.cn
57c73e048af1a0163330c4bb2a9994c527d683f5
99deab5f52fd7262a26de9aa5d0163bfa738590f
/python/leetcode/system_design/648_replace_words.py
e593209424ebf8868ad05b886c985fef71e05a42
[]
no_license
zchen0211/topcoder
e47fc07c928b83138e27fd6681b373ce499480b0
4d73e4c1f2017828ff2d36058819988146356abe
refs/heads/master
2022-01-17T16:54:35.871026
2019-05-08T19:26:23
2019-05-13T05:19:46
84,052,683
0
2
null
null
null
null
UTF-8
Python
false
false
2,125
py
""" 648. Replace Words (Medium) In English, we have a concept called root, which can be followed by some other words to form another longer word - let's call this word successor. For example, the root an, followed by other, which can form another word another. Now, given a dictionary consisting of many roots and a se...
[ "chenzhuoyuan07@gmail.com" ]
chenzhuoyuan07@gmail.com
fc3dfa51a328adda569299f327036d7237fe245a
494051ad9bac642175cbe57ecafeafa4a6b01dc8
/observing_scripts/161111/ALES/ALES_2_nod.py
371fa04b53db4b09cf37004578bd34af8f382175
[]
no_license
mwanakijiji/LMIRcam_scripts
c80f8123d1c7ca78df69068fb4136dacc3802071
48d88cde6a4d428b2f08b0f50c05045d4927fb4d
refs/heads/master
2021-07-10T00:35:18.852627
2019-04-18T04:56:12
2019-04-18T04:56:12
109,775,920
0
0
null
null
null
null
UTF-8
Python
false
false
3,691
py
#!/usr/bin/python import time import sys from pyindi import * import math import numpy as np #pi is an instance of PyINDI. Here we connect to the lmircam server pi = PyINDI(verbose=True) side=sys.argv[1] ################################################################## # USER INPUTS: ...
[ "spalding@email.arizona.edu" ]
spalding@email.arizona.edu
d99d148af28da409e2867cc42ec0d955045ee4af
14c1b0b72994f9f8b5ea994559d7271b0513778c
/src/the_tale/the_tale/game/actions/tests/test_meta_action_arena_pvp_1x1.py
ae0aaeb40ae0a1f7932b97389908e21e56d01da3
[ "BSD-3-Clause" ]
permissive
al-arz/the-tale
6eb96f9d61f80d0fd0fd554a753babc9945da5ac
2ae333ab4a980c6f43c9f14b9e1a91cc27fe4746
refs/heads/master
2022-06-22T12:37:47.178509
2020-04-02T11:32:13
2020-04-02T11:32:13
260,064,827
0
0
BSD-3-Clause
2020-04-29T23:03:36
2020-04-29T23:03:35
null
UTF-8
Python
false
false
16,541
py
import smart_imports smart_imports.all() class ArenaPvP1x1Test(pvp_helpers.PvPTestsMixin, utils_testcase.TestCase): def setUp(self): super(ArenaPvP1x1Test, self).setUp() game_logic.create_test_map() pvp_tt_services.matchmaker.cmd_debug_clear_service() self.battle_info = self....
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
cf24b3ec30bf850397b2505a41337b7cce4b4868
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/AtCoder_Virtual_Contest/tessoku-book/cr/main.py
9b669a08b8685d2ca0ac90be48d9b0616b404ee5
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
764
py
# -*- coding: utf-8 -*- def main(): import sys input = sys.stdin.readline n, w = map(int, input().split()) size = 10**5 inf = 10**18 dp = [inf] * (size + 1) dp[0] = 0 for _ in range(n): wi, vi = map(int, input().split()) ndp = [inf] * (size + 1) for i in ran...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
bc00966a80e063e8647dd4978c99ff5871653260
db80ab9f88a458efc109d44fe623a3bca6591e7d
/orangeapisms/config.py
c0b9c1d2b4fe4215537050e6c223e520ecc9ce15
[ "Unlicense" ]
permissive
rgaudin/django-orangeapisms
f8d182f686b8c664ee1033a34f6a61ee34c2002f
f0ad7a45d52b5f4f4f5a11317ae3cb7c9cd12370
refs/heads/master
2021-07-02T21:57:55.218646
2016-12-01T09:55:40
2016-12-01T09:55:40
45,251,887
2
1
Unlicense
2021-06-10T17:22:54
2015-10-30T13:17:00
Python
UTF-8
Python
false
false
2,083
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: ai ts=4 sts=4 et sw=4 nu from __future__ import (unicode_literals, absolute_import, division, print_function) import logging import os import importlib import simplejson from orangeapisms.datetime import encode_datetime, decode_datetime SET...
[ "rgaudin@gmail.com" ]
rgaudin@gmail.com
dba054ce4583bc94690faf7682dbeba4971734d2
83c57f25a1c8b29bb84078340efabaf527a9452e
/DRW/DRW/items.py
3b11df9173a68878ab935848e12f1979f674932c
[]
no_license
ifzz/py
df06cf5da5920dae979c2c8454bfa02c36dfeeb1
2305e651613725ca51d6a87306f3ef83d6c51939
refs/heads/master
2021-01-18T08:32:21.256271
2016-03-11T10:30:28
2016-03-11T10:30:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# -*- coding: utf-8 -*- from scrapy.item import Item, Field #短融网 class DRW_product(Item): platformid = Field() # 平台ID producttype = Field() # 产品类型 productname = Field() # 产品名称 productid = Field() #产品ID amount = Field() # 标的总额(元) balance = Field() # 标的余额(元) maxrate = Field() # 最大收益率(%) minrate = Field()...
[ "junxuanwoo@163.com" ]
junxuanwoo@163.com
28ad54a4f9a0338705fe74b054d97f061c4cf1ff
45b64f620e474ac6d6b2c04fbad2730f67a62b8e
/Varsity-Final-Project-by-Django-master/.history/project/student/urls_20210223220201.py
4e76b25c639fcb0a0e495516c3abb59a198b90b6
[]
no_license
ashimmitra/Final-Project
99de00b691960e25b1ad05c2c680015a439277e0
a3e1d3c9d377e7b95b3eaf4dbf757a84a3858003
refs/heads/master
2023-04-11T06:12:35.123255
2021-04-26T15:41:52
2021-04-26T15:41:52
361,796,607
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
from django.urls import path from .import views urlpatterns = [ path('', views.student), path('profile/', views.profile), ]
[ "34328617+ashimmitra@users.noreply.github.com" ]
34328617+ashimmitra@users.noreply.github.com
1a3b70228b4fc8be221477fc426f4ecfe897ada5
aff843352ee1652a234e100277b0ed4c907eeafd
/pedaily/pipelines.py~
2405fec2751de7670e7627f6a6cdab91aaf1ceae
[]
no_license
yidun55/peDaily
0d747caac9362cc6c4a1c0bc67eacf4f2cd061f9
c084f3cc083f28ff9a6584047d865c015983e7ec
refs/heads/master
2020-04-06T04:36:11.219735
2015-06-29T09:56:29
2015-06-29T09:56:29
37,893,054
1
0
null
null
null
null
UTF-8
Python
false
false
287
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class PedailyPipeline(object): def process_item(self, item, spider): return item
[ "heshang1203@sina.com" ]
heshang1203@sina.com
625485a5789e3a342d8f0ae793518eb252f640ed
aa6e1dd07a71a73bc08574b76f9e57a3ce8c8286
/077.Test_BeeWare_windows/beeware-tutorial/beeware-venv/Lib/site-packages/git/diff.py
567e3e70c402e3747d1c76f2d58316e5e9d85853
[ "MIT" ]
permissive
IvanaXu/PyTools
0aff5982f50bb300bfa950405192c78473b69537
358ae06eef418fde35f424909d4f13049ca9ec7b
refs/heads/master
2023-06-07T21:45:44.242363
2023-06-06T16:00:25
2023-06-06T16:00:25
163,940,845
60
8
MIT
2022-12-23T02:49:05
2019-01-03T07:54:16
Python
UTF-8
Python
false
false
19,782
py
# diff.py # Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors # # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php import re from git.cmd import handle_process_output from git.compat import defenc from git.util import ...
[ "1440420407@qq.com" ]
1440420407@qq.com
cfe18fc967fe27dd3160ad9dff2dbec7ad1ae05c
5863d44961505fa41209bb66ffc46bbe6dcd7796
/loads/migrations/0005_auto_20200427_2120.py
103d40c0cd055e3696fce168fbc43fc8a9365055
[]
no_license
bnmng/ervin
2995bdfb3371dc16b76f47ee3897607a9854561c
d47a10ba76696eeb0706fa536ed96ffa69f9c934
refs/heads/master
2022-05-31T20:25:32.704470
2020-04-30T10:09:44
2020-04-30T10:09:44
260,022,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
# Generated by Django 3.0.5 on 2020-04-27 21:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('loads', '0004_remove_load_status'), ] operations = [ migrations.AddField( model_name='deliverystatus', name='is_canc...
[ "benjamin@bnmng.com" ]
benjamin@bnmng.com
5844a56cf9ecf5b76d54cf1e9d86896b867d4eeb
a6ff5be50b499ffb36294e1e93ce59b138bfe622
/talon_one/models/role.py
e2aafc6111d4f6239e8b4027f14b35ab07c290e5
[ "MIT" ]
permissive
MostafaSalah222/talon_one.py
7221ebc54831dce33f1724fe0856093145d7add8
f863bb3c2cc5ddc94d9227adcf14947b2ea7db41
refs/heads/master
2023-07-27T06:03:43.849686
2021-09-07T08:56:41
2021-09-07T09:01:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,673
py
# coding: utf-8 """ Talon.One API The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. #...
[ "noreply@github.com" ]
MostafaSalah222.noreply@github.com
dbed5a89ec2213e7953b849ad408c101e1f748b9
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_classes.py
a8d3e2b6e269fe9d034720a7c597d844f65234db
[ "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
233
py
from xai.brain.wordbase.nouns._class import _CLASS #calss header class _CLASSES(_CLASS, ): def __init__(self,): _CLASS.__init__(self) self.name = "CLASSES" self.specie = 'nouns' self.basic = "class" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a7e264299fe6629b9dcb0ff46e14426e39bc1e65
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil1928.py
01e882379c9535c969da6bdef86165a72103df07
[ "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
2,522
py
# qubit number=5 # total number=63 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=3 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
4abf06402e5b34617955a958b94b8301bf6aa6fb
34f1ba5d471c906cb3005ad4a6cf8dcf8828f22f
/build/lib/swagger_client/models/api_list_organization_response.py
d8ed132c05824f262d7638bdc4634110061bb663
[]
no_license
yuregir/Lora-AppServer-API
9c7e81dd57f13b3f0350022098c332a2db4af195
5159de92b27e3d4342a60fe69f169510eeb0e889
refs/heads/master
2020-07-12T12:38:21.760887
2020-01-03T13:30:33
2020-01-03T13:30:33
204,821,909
0
0
null
null
null
null
UTF-8
Python
false
false
4,335
py
# coding: utf-8 """ LoRa App Server REST API For more information about the usage of the LoRa App Server (REST) API, see [https://docs.loraserver.io/lora-app-server/api/](https://docs.loraserver.io/lora-app-server/api/). # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.co...
[ "yuregir@me.com" ]
yuregir@me.com
b99f0859d644ca83d62003e9c0995d58246156fc
9a9e739dcc559476ba796510182374ad460f2f8b
/PA2/PA2 2013 did again/PA2-7/Asitha/pa2-7-2013.py
1b36b396ac811f7ad941f1315224fc2c50240149
[]
no_license
Divisekara/Python-Codes-First-sem
542e8c0d4a62b0f66c598ff68a5c1c37c20e484d
e4ca28f07ecf96181af3c528d74377ab02d83353
refs/heads/master
2022-11-28T01:12:51.283260
2020-08-01T08:55:53
2020-08-01T08:55:53
284,220,850
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
def getText(): try: FileOpen=open("FileIn.txt","r") L=FileOpen.read().split() return L except: print "File not found" pass def compute(L): "Input a list of word and output the number of same letters appears in each word as a list" answer=[] for i in L: ...
[ "9asitha7@gmail.com" ]
9asitha7@gmail.com
d4934193ee6be2bd877e6b8fe32a2dd7a2f89a98
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/attestation/azure-security-attestation/azure/security/attestation/aio/_client_async.py
70dbc93badbe20f699d25782d42ed0f540f6ef49
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
18,884
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
7be917166a29f0990b922b85f8849525ca176bef
963b0c14043ca94e4c3be1562c496fd868dd813a
/compounds/migrations/0014_chembl_chembl_assay_id.py
4d08cd630696be8c87b5bdc830893cc410678333
[]
no_license
jianping-grp/yatcm
7a0111a4c98de8f649cfe754b178add6b6d224d8
7d8e4cd18ccc27f2ae6b86018553d1a4608b8e1b
refs/heads/master
2020-05-25T07:24:09.833547
2017-12-23T07:55:29
2017-12-23T07:55:29
115,178,789
1
1
null
null
null
null
UTF-8
Python
false
false
1,947
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-10-01 14:40 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('compounds', '0013_auto_20171001_1437'), ] operatio...
[ "libaiqing11@163.com" ]
libaiqing11@163.com
28fa157b0375f26853ba89d71232964ed428f0fb
b72b224197ec02cf9cb65b94fb1d8104a2bb1150
/log_diver/wsgi.py
a2ab32a2b3938d89dfaade3b6169eed580705a0a
[]
no_license
ricky840/akamai-log_diver
76d1868e9ffbc7dea8720c059053a48ae9c53b81
30c32cccc412a0875e6e90122a39186b02cca184
refs/heads/master
2021-01-17T21:42:04.341977
2016-02-11T06:24:11
2016-02-11T06:24:11
51,492,269
0
0
null
2016-02-11T03:43:23
2016-02-11T03:43:22
null
UTF-8
Python
false
false
84
py
from log_diver import application if __name__ == "__main__": application.run()
[ "asciineo@gmail.com" ]
asciineo@gmail.com
2030d69656bebe16d3c3b8465e1bfe74f99b8e88
a80283ec967ea81e0dee17ad1e59d4e662d2cc4e
/lib/game/missions/events.py
ddc7c533da42d47c25d4c29bd304613ed493825b
[ "Apache-2.0" ]
permissive
th3f1v3/mff_auto
474f09dce50a7500bfd18af2de6f33e650abbc3c
fd3f0bd45aea45e2e8ad8e8fc73a8953c96d350a
refs/heads/master
2023-08-29T16:11:42.580218
2021-11-14T20:53:29
2021-11-15T16:15:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,706
py
import lib.logger as logging from lib.functions import wait_until, r_sleep, is_strings_similar from lib.game import ui from lib.game.battle_bot import ManualBattleBot from lib.game.missions.missions import Missions from lib.game.missions.world_boss import WorldBoss logger = logging.get_logger(__name__) class EventM...
[ "nkrayner@gmail.com" ]
nkrayner@gmail.com
57a8b65b9bddd17f589c6b18028e26ae93656634
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02574/s920266020.py
e72cb563417bba6a868a8db5a83e68a7abb1bcf3
[]
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
476
py
def is_pairwise(): MAX_A = 10**6 + 1 C = [0] * MAX_A for a in A: C[a] += 1 if sum(C[2::2]) > 1: return False for i in range(3, MAX_A, 2): if sum(C[i::i]) > 1: return False return True def solve(): from functools import reduce from math import gcd if is_pairwise(): return 0 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
228806c9ad674409dc3735f62992d555abff4754
641a475883494effb38933a0c561361873f901fa
/Django入门/bookmanager01/book/migrations/0001_initial.py
5f3af57a2a105769d054ffdf3206fb7eb00f9791
[]
no_license
zmh19941223/python5.0_frame
b4e2aee197a0f7bc9c1903bd359b8a45e3d63c87
1d738d3dbdc9b69833097c3e2b63b002b44755f3
refs/heads/main
2023-04-28T05:43:58.592046
2021-05-19T15:10:12
2021-05-19T15:10:12
368,906,619
0
0
null
null
null
null
UTF-8
Python
false
false
1,891
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-06-02 02:10 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
[ "1780858508@qq.com" ]
1780858508@qq.com
4b8da0a3b490762c285b4e77f31ac06096f2b15a
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/reddit/__init__.py
3c810cdb1d83959aff51d3369fcaecbe992c1bef
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
24
py
"""Reddit Component."""
[ "paulus@home-assistant.io" ]
paulus@home-assistant.io
e3ea8d488f23edf571b2e8fe668617fd708be81b
084f57b6221cdbeebde2c1f6caa002ff8c666fa6
/video_grid
db32eb0cc47dff6aaafbcd5ab987fffe62a2aa9b
[]
no_license
ekimekim/scripts
db88b8340c655a580e3a4db2705c97de9c1da109
9165dca7b4d56f8795f8c1bfc3eec47f952bd5b1
refs/heads/master
2023-07-06T18:56:06.993690
2023-06-23T16:07:43
2023-06-23T16:07:43
15,834,395
3
0
null
null
null
null
UTF-8
Python
false
false
2,491
#!/bin/env python2 import math import os import subprocess from uuid import uuid4 import argh @argh.arg('videos', nargs='+') def main(output_file, videos, cols=4, size='1920x1080', spool_dir=None): full_size = [int(part) for part in size.split('x')] rows = int(math.ceil(len(videos) / float(cols))) assert rows * ...
[ "mikelang3000@gmail.com" ]
mikelang3000@gmail.com
64145a7ba988b3443c5c0ac837a0209e2089f4a2
7d60588702280c7f8c6477e7703528bb860aaa4a
/py_fitness/py_fitness/workout/views.py
3b43016293bd33f8fbe2064f0401f2b4a4c20d25
[ "MIT" ]
permissive
audiolion/py-fitness
7e420c4ef6e10ff122fc4f30309cd428d4d5bc38
9e0ca785c73a07cb788685bbde6e840a7a2e3419
refs/heads/master
2021-05-01T10:16:22.214094
2017-01-02T02:03:51
2017-01-02T02:03:51
68,249,682
1
0
null
null
null
null
UTF-8
Python
false
false
16,055
py
from datetime import datetime, timedelta from collections import OrderedDict from django.contrib.auth.mixins import LoginRequiredMixin from django.core.urlresolvers import reverse, reverse_lazy from django.db.models import Count, Avg, Min, Max from django.http import Http404, HttpResponseRedirect from django.shortcuts...
[ "castner.rr@gmail.com" ]
castner.rr@gmail.com
a68b9835e6fe1e42770db22e07de7c769263e6dd
44cb69a5ea67e60289e33b3228b79d3c8fd36661
/core/migrations/0072_comp_dispatcher_solde_date.py
fe2d26f65dee7bf762697c023b8a58c1ddcc35f1
[]
no_license
zedkaria-bel/ah_project
bc6d79acf3f419f9fdc45189d6b653ae84709e42
9dae7435ca6670006525eeda881fcea64c0557d1
refs/heads/master
2023-06-24T21:17:27.286727
2021-07-28T16:15:48
2021-07-28T16:15:48
381,800,444
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
# Generated by Django 3.2 on 2021-06-08 11:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0071_tarif_occas_status'), ] operations = [ migrations.AddField( model_name='comp_dispatcher', name='solde_dat...
[ "zaki.198@outlook.fr" ]
zaki.198@outlook.fr
0b5ff8bb94bd86a8b8069e179af1a074b6eca8ad
d68ca034018d66f73024223d4b2266b3c3c901d7
/prev/myworks/general/chainxy/spiders/wholesalesports.py
d3f39440bcd112c46ac969b19bbb102cd65498b7
[]
no_license
GoodyIT/scrapy
caff30d26660f778008ad50532e364ab36aba4c2
5ae80cf83dc62c4e1bd2bfa11049ca39a3ca3488
refs/heads/master
2021-01-20T10:10:18.365194
2017-07-22T13:09:07
2017-07-22T13:09:07
90,330,210
4
0
null
null
null
null
UTF-8
Python
false
false
2,034
py
import scrapy import json import re import csv import requests from scrapy.spiders import Spider from scrapy.http import FormRequest from scrapy.http import Request from scrapy.selector import HtmlXPathSelector from chainxy.items import ChainItem import pdb from lxml import html class Wholesalesports(scrapy.Spider): ...
[ "johnsondavid489@yahoo.com" ]
johnsondavid489@yahoo.com
153ad8d53dc4d2778267c483177bdafa294b9bda
4c0cfe74b972b6f758d479920118185f07b3ae66
/lab/lab07/tests/q1_1.py
869a37f0d9e686e336a40cba115ba67bfefeee97
[ "BSD-3-Clause" ]
permissive
ds-modules/Colab-data-8
20a72aee6b7d051d2aff50a49f02c89891201971
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
refs/heads/main
2023-05-29T04:05:47.976935
2021-06-02T23:15:06
2021-06-02T23:15:06
333,593,562
1
3
null
null
null
null
UTF-8
Python
false
false
494
py
test = { 'name': 'q1_1', 'points': 1, 'suites': [ { 'cases': [ {'code': '>>> len(ab_test_order) == 6\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> correct_order = make_array(5, 1, 3, 2, 4, 6);\n>>> all(correct_order == ab_test_order)\nTrue', 'hidden': False,...
[ "cheungclj108@berkeley.edu" ]
cheungclj108@berkeley.edu
10d4ab8f132a8d96cb297f81407779dea2498ec3
c3ff891e0e23c5f9488508d30349259cc6b64b4d
/python练习/网络编程练习/python高级3/01-大小整数对象池.py
73007e5ce7f9f7ec0b9c86945a4fa0db86903e37
[]
no_license
JacksonMike/python_exercise
2af2b8913ec8aded8a17a98aaa0fc9c6ccd7ba53
7698f8ce260439abb3cbdf478586fa1888791a61
refs/heads/master
2020-07-14T18:16:39.265372
2019-08-30T11:56:29
2019-08-30T11:56:29
205,370,953
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
# [-5,257)python在定义小整数时候已经提前定义好了 a = 234 print(id(a)) # 大整数对象池,用终端来运行 print("hello") print("hello")
[ "2101706902@qq.com" ]
2101706902@qq.com
97ab24ad85a2f0875cacfed8f1547f08b771f8fe
cc655ded7bdfc458932aeaa0d5d1a9cd86cbbe0a
/python/refBlock.py
1218fc6f2349d3e3e90a0fa4b2718c521130334f
[]
no_license
kawashimat/thunder
535783a3ffac6ea4ec4114fb7bc31a1d09322e63
ccb18c9e66186a8ef4f934b9e44071023249afce
refs/heads/master
2021-01-18T07:06:21.919761
2013-08-29T19:46:09
2013-08-29T19:46:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,582
py
import sys import os from numpy import * from scipy.io import * from pyspark import SparkContext import logging if len(sys.argv) < 4: print >> sys.stderr, \ "(sta) usage: refBlock <master> <inputDir> <outputDir>" exit(-1) def loadFile(index,iterator): nCols = 2034 nRows = 1134 nTime = 3430 plane = int(flo...
[ "the.freeman.lab@gmail.com" ]
the.freeman.lab@gmail.com
4cf7b90a1c84b55b5681dcee134075ddff6c5eda
3e24611b7315b5ad588b2128570f1341b9c968e8
/pacbiolib/thirdparty/pythonpkgs/scipy/scipy_0.9.0+pbi86/lib/python2.7/site-packages/scipy/sparse/linalg/isolve/utils.py
c6d2cfcb1e7749d7a2ae8ad95708112c368b53c3
[ "BSD-2-Clause" ]
permissive
bioCKO/lpp_Script
dc327be88c7d12243e25557f7da68d963917aa90
0cb2eedb48d4afa25abc2ed7231eb1fdd9baecc2
refs/heads/master
2022-02-27T12:35:05.979231
2019-08-27T05:56:33
2019-08-27T05:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,580
py
__docformat__ = "restructuredtext en" __all__ = [] from warnings import warn from numpy import asanyarray, asarray, asmatrix, array, matrix, zeros from scipy.sparse.linalg.interface import aslinearoperator, LinearOperator _coerce_rules = {('f','f'):'f', ('f','d'):'d', ('f','F'):'F', ('f','D'):'D',...
[ "409511038@qq.com" ]
409511038@qq.com
97501693100e69cb41967d9ddfe6e5f176f44bf6
5e5db4c8e514e68161290e6293513db33df6bf49
/test/test_fx.py
6ca8906bdb1cdd767081b5d433f5057bb4cbbdf5
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
MarcioPorto/pytorch
5e51a8937722c886e23c68d2c5180b0425832bf2
c52700dbcdec0acadf81473438192d1bb2beebc8
refs/heads/master
2023-04-25T09:41:25.126363
2021-05-12T16:44:05
2021-05-12T16:45:10
300,316,842
1
0
NOASSERTION
2020-10-01T14:52:49
2020-10-01T14:52:48
null
UTF-8
Python
false
false
103,434
py
import builtins import contextlib import copy import functools import inspect import math import numbers import operator import os import pickle import sys import torch import traceback import warnings import unittest from math import sqrt from pathlib import Path from torch.multiprocessing import Process from torch.te...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
04869bd7a028853959d01fc2841c4e424b889db7
55a273347cb103fe2b2704cb9653956956d0dd34
/code/tmp_rtrip/idlelib/scrolledlist.py
c4e07c6bcc178c832b584ba7de36871a0aae8d1b
[ "MIT" ]
permissive
emilyemorehouse/ast-and-me
4af1bc74fc967ea69ac1aed92664f6428acabe6a
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
refs/heads/master
2022-11-18T03:50:36.505882
2018-05-12T17:53:44
2018-05-12T17:53:44
115,035,148
25
1
MIT
2022-11-04T11:36:43
2017-12-21T18:27:19
Python
UTF-8
Python
false
false
4,161
py
from tkinter import * from tkinter.ttk import Scrollbar from idlelib import macosx class ScrolledList: default = '(None)' def __init__(self, master, **options): self.master = master self.frame = frame = Frame(master) self.frame.pack(fill='both', expand=1) self.vbar = vbar = Sc...
[ "emily@cuttlesoft.com" ]
emily@cuttlesoft.com
247f10a606391c5c1bed4f062b2a106cb1ebd0b8
40d404e424489bb48c3673dee6664de64dbab39c
/myWebsite/.venv/lib/python3.8/site-packages/OFS/tests/test_DTMLMethod.py
f2088a3a53b0c718a70cd8099ef9130a94170276
[]
no_license
alyasamba/me
07c9f5f27aa16f768e0432780ac8f6f5ab6afbd1
978053c867181bad8eb316a0920ba290a7b1ceae
refs/heads/main
2023-01-28T09:57:46.616285
2020-12-02T02:31:25
2020-12-02T02:31:25
315,935,399
1
0
null
null
null
null
UTF-8
Python
false
false
7,418
py
import io import unittest import Testing.testbrowser import Testing.ZopeTestCase import zExceptions import Zope2.App.zcml from Testing.makerequest import makerequest def _lock_item(item): from AccessControl.SpecialUsers import nobody from OFS.LockItem import LockItem item.wl_setLock('token', LockItem(nob...
[ "sopesherifabdoulah@gmail.com" ]
sopesherifabdoulah@gmail.com
8f8a85d16f04483c0dea1cb9aecc1088ac25762a
3c9e26f68ce816c93a654232bdfa14ead0ffa836
/pocket/comparison_methods.py
411795ab545d6aace8dc03f2e6b7f642ab670d07
[]
no_license
tommycarstensen/sandbox
ea96fbcad927f0cad8fe14c1358cc31349257c66
9bef770251bf7bd2f22703fc01188bc78a71b69a
refs/heads/master
2021-06-09T05:57:29.694528
2017-08-17T17:09:48
2017-08-17T17:09:48
6,844,854
0
0
null
null
null
null
UTF-8
Python
false
false
19,048
py
## Fpocket (/usr/local/bin/fpocket) ## Concavity (/usr/local/bin/concavity) ## POCASA (/usr/local/bin/POCASA) ## "null test" - center of protein as measured by average alpha carbon position ## Ligsitecsc (can't compile BALL) ## PASS (doesn't work) ## SURFNET (can't compile) ## Q-SiteFinder (only web) ## Pocket-Finder ...
[ "tommy.carstensen@gmail.com" ]
tommy.carstensen@gmail.com
7550ede5087f66762efa4e1a2a9f53b73e90e1f6
4584c5c97e314492759f8061918861c21f6f5d97
/tx_lobbying/tests/test_models.py
888b04b9695f0fd7fc77ecfe47a3f17202d8ed2f
[ "Apache-2.0" ]
permissive
travishohl/tx_lobbying
9cb89ae3efdbbe368d495d9215bde7722b46839f
10f1161ab75166baa19096a852d831730a9a2a14
refs/heads/master
2020-05-29T11:04:52.461773
2014-06-11T03:09:57
2014-06-11T03:09:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,679
py
import random from django.db.models import Sum from django.test import TestCase from tx_lobbying.factories import ( AddressFactory, InterestFactory, LobbyistFactory, LobbyistAnnumFactory, RegistrationReportFactory, CoversheetFactory, CompensationFactory, ) from tx_lobbying.models import (A...
[ "c@crccheck.com" ]
c@crccheck.com
0cba3d31faf0cf259f156a5ce5fd89ca15456b33
4f14d5eee56e7d0f6adbe54a57cba11396d375ab
/src/uykfe/support/db.py
ac780aa09d22e200eed20e0af712df0f03daa212
[ "BSD-2-Clause" ]
permissive
Robbt/uykfe
2248d9651aa1517fa38e5eb2f98e23ba90be2469
c4b3d2a49ce14b2b6847a4b59bd55201c62ea8c3
refs/heads/master
2021-01-10T16:13:49.883482
2012-08-10T03:20:46
2012-08-10T03:20:46
48,856,631
0
0
null
null
null
null
UTF-8
Python
false
false
4,523
py
from logging import getLogger from os import getcwd, remove, environ from os.path import join, exists from urllib.parse import urlunparse from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.schema import Column, ForeignKey from sqlalchemy.types import Integer, ...
[ "andrew@acooke.org" ]
andrew@acooke.org
77501fd0d4e1907cf00d760595cff6d47842c43c
09e63e204cf3f70b0f878fe237f231af0786611e
/NLP/Character_RNN/train.py
469e05f1070db4f22c944fa4fd5ebe315cea27dd
[]
no_license
shubham14/Machine_learning_research
8f00788366abf2d330afe8914e48d4279fcd8aea
b134e4e6b1e6c110fad8cb38b033c92c34d3c8ce
refs/heads/master
2022-11-08T13:24:58.722027
2019-11-10T09:21:28
2019-11-10T09:21:28
132,386,307
3
2
null
2022-10-17T15:36:25
2018-05-07T00:16:38
Python
UTF-8
Python
false
false
2,650
py
# -*- coding: utf-8 -*- """ Created on Sat Jul 21 20:30:13 2018 @author: Shubham """ import torch import torch.nn as nn import numpy as np import random import os import time import math import glob from data_prepper import * from model import * n_hidden = 128 learning_rate = 0.005 n_iters = 100000 print_every = 500...
[ "shubham.ddash@gmail.com" ]
shubham.ddash@gmail.com
61ba7a6b8e3e5a978ba5d9f10131930bd3275a58
d5c1f629accc88fcf1432be7e95e69a2f21dba40
/server/models/bitcoin_price_prediction_VARMAX.py
cd30aa377641e4bf95a727d17c5f902baf75729e
[ "MIT" ]
permissive
johnjdailey/JS-Realtime-Dashboard
ab537d4468b7b6cfe5a77200e9dcefcc8d5acbf2
aa62cab32096fbd4bdb8be657dd99d3d162e7097
refs/heads/main
2023-07-04T11:22:54.315196
2021-08-05T06:48:48
2021-08-05T06:48:48
392,900,527
1
0
MIT
2021-08-05T04:23:24
2021-08-05T04:23:23
null
UTF-8
Python
false
false
2,628
py
import pandas as pd from datetime import datetime, timedelta from statsmodels.tsa.statespace.varmax import VARMAX import time import SQL_STATEMENTS def date_formating(current_time): if current_time.second < 30: newdatetime = current_time.replace(second=30, microsecond=0) elif current_time.minute + 1 <...
[ "40984264+MZ195@users.noreply.github.com" ]
40984264+MZ195@users.noreply.github.com
e1635ac54ee22810d1ea3eea50ac39153bb5b9b0
c857d225b50c5040e132d8c3a24005a689ee9ce4
/problem177.py
eb821784fdb10bec86da518203ce517f1f47d6c5
[]
no_license
pythonsnake/project-euler
0e60a6bd2abeb5bf863110c2a551d5590c03201e
456e4ef5407d2cf021172bc9ecfc2206289ba8c9
refs/heads/master
2021-01-25T10:44:27.876962
2011-10-21T00:46:02
2011-10-21T00:46:02
2,335,706
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
""" Let abcd be a convex quadrilateral, with diagonals ac and bd. at each vertex the diagonal makes an angle with each of the two sides, creating eight corner angles. for example, at vertex a, the two angles are cad, cab. we call such a quadrilateral for which all eight corner angles have integer values when measur...
[ "pythonsnake98@gmail.com" ]
pythonsnake98@gmail.com
d6a59cd4c654b80d3a511b810e6d7533771a7047
bb6ebff7a7f6140903d37905c350954ff6599091
/build/android/pylib/symbols/elf_symbolizer_unittest.py
978e621faebfb7b258457ea9ca12f2312eeb827f
[ "BSD-3-Clause" ]
permissive
PDi-Communication-Systems-Inc/lollipop_external_chromium_org
faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f
ccadf4e63dd34be157281f53fe213d09a8c66d2c
refs/heads/master
2022-12-23T18:07:04.568931
2016-04-11T16:03:36
2016-04-11T16:03:36
53,677,925
0
1
BSD-3-Clause
2022-12-09T23:46:46
2016-03-11T15:49:07
C++
UTF-8
Python
false
false
5,691
py
#!/usr/bin/env python # Copyright 2014 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. import functools import logging import os import sys import unittest sys.path.insert(0, os.path.dirname(__file__)) import elf_symboliz...
[ "mrobbeloth@pdiarm.com" ]
mrobbeloth@pdiarm.com
0168eaa7ca492e7d65d86661ea43707aae9e1df2
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/automation/v20180630/_inputs.py
fa1fa6ff8ba5f0ad4f8cda5d4621eb99a7d79a80
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
10,444
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
74d13ba2c2403d58d2346c4813584735a3b1a28b
6c543074f1d764af9701e5b55db9ab0220c1df93
/03_循环/hm_10_嵌套打印小星星.py
8067dce17c7dd308a9283dc636192aefa1ed5849
[]
no_license
allenlgy/Django-project
127e984e13f71d20e01df68ad42d00b977ac0105
9c4b9e6c67481a5f3cef58ea47e9fd62058036d8
refs/heads/master
2020-06-23T01:03:03.170674
2019-09-04T06:11:40
2019-09-04T06:11:40
198,453,709
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
# 输出五行星号 # 1.完成 5 行简单输出 # 2.分析每行内部的星号如何处理 row = 1 while row <= 5: # 每一行打印的星星就是当前的行数 # 增加一个小循环 # 1.定义一个计数器变量 col = 1 # 2.开始循环 while col <= row: # print('%d' % col) print('*',end='') col += 1 # print('第 %d 行' % row) # 下面的 print 是为了增加换行,不然不会换 print('') r...
[ "1006547624@qq.com" ]
1006547624@qq.com
71ef7cac2046585814b08b5b0084975b79afd9cb
3ddb0d53f36640310b46244e365003eab7f342b3
/main.py
4498a4f87289c0d59059c73a5bb47de2c7cc0fd7
[]
no_license
xieyipeng/disk-backup
9f880c7877bcf751b29c682ee5295565c81a77a3
f6f7c141019f281d8dcfa2f1d9cc9a97b79e0a1d
refs/heads/master
2022-09-22T14:53:14.062660
2020-06-02T02:51:26
2020-06-02T02:51:26
264,567,360
0
0
null
null
null
null
UTF-8
Python
false
false
6,481
py
# -*- coding: UTF-8 -*- import os import shutil from psutil import disk_partitions from win32serviceutil import ServiceFramework, HandleCommandLine import win32service import win32event import time import inspect from logging.handlers import TimedRotatingFileHandler import logging flag = 'disk-backup.ini' cache_files...
[ "3239202719@qq.com" ]
3239202719@qq.com
4a605f0e1630f19ec51b2337606b01c4fdaa63cc
d8cbe9ce0469f72b8929af01538b6ceddff10a38
/tests/components/hassio/test_addon_manager.py
5ee7856b9f7c3b0817339660b460ea8b89d7fcd5
[ "Apache-2.0" ]
permissive
piitaya/home-assistant
9c1ba162dac9604e4d43e035e74bad7bba327f0b
48893738192431f96966998c4ff7a3723a2f8f4a
refs/heads/dev
2023-03-07T16:13:32.117970
2023-01-10T17:47:48
2023-01-10T17:47:48
172,578,293
3
1
Apache-2.0
2023-02-22T06:15:56
2019-02-25T20:19:40
Python
UTF-8
Python
false
false
35,138
py
"""Test the addon manager.""" from __future__ import annotations import asyncio from collections.abc import Generator import logging from typing import Any from unittest.mock import AsyncMock, call, patch import pytest from homeassistant.components.hassio.addon_manager import ( AddonError, AddonInfo, Add...
[ "noreply@github.com" ]
piitaya.noreply@github.com
0a52dfd03ce2b86ca581253c7a761ad222a28bb0
f8da830331428a8e1bbeadf23345f79f1750bd98
/msgraph-cli-extensions/v1_0/devicescorpmgt_v1_0/azext_devicescorpmgt_v1_0/vendored_sdks/devicescorpmgt/aio/operations_async/__init__.py
bf4c1521f71c7da320be6b4025cc2e2692f2146b
[ "MIT" ]
permissive
ezkemboi/msgraph-cli
e023e1b7589461a738e42cbad691d9a0216b0779
2ceeb27acabf7cfa219c8a20238d8c7411b9e782
refs/heads/main
2023-02-12T13:45:03.402672
2021-01-07T11:33:54
2021-01-07T11:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,461
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
00651d9c6574453b665819b0214c832fc5c6f4df
544fe02a27cc4d987724b1bf45c2ba2994676521
/get_variables_using_python.py
d0f7e1a6a1d22b8cd27be5059ce3b3c067d0a7bf
[ "Unlicense" ]
permissive
latika18/learning
1e7a6dbdea399b845970317dc62089911a13df1c
a57c9aacc0157bf7c318f46c1e7c4971d1d55aea
refs/heads/master
2021-06-16T19:20:28.146547
2019-09-03T06:43:28
2019-09-03T06:43:28
115,537,386
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#! usr/bin/python #Add a get variable in url like : www.lashp3.com/filename?name=rob #following code will print the get variable on screen print('content-type:text/html') print("") import cgi form = cgi.FieldStorage() print(form.getvalue("name"))
[ "noreply@github.com" ]
latika18.noreply@github.com
6ef37d675a2a129f9efc0d14ace5782f5e2f320a
d60acaac9e460c5693efe61449667b3c399c53c8
/stat/python/mr/pipeline.py
addc0143fa0622f0e6e9b945e4f69051d988439b
[]
no_license
HussainAther/mathematics
53ea7fb2470c88d674faa924405786ba3b860705
6849cc891bbb9ac69cb20dfb13fe6bb5bd77d8c5
refs/heads/master
2021-07-22T00:07:53.940786
2020-05-07T03:11:17
2020-05-07T03:11:17
157,749,226
2
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
import numpy as np """ Multivariate regression pipeline """ def normalize(features): """ features - (200, 3) features.T - (3, 200) We transpose the input matrix, swapping cols and rows to make vector math easier """ for feature in features.T: fmean = np.mean(feature) ...
[ "shussainather@gmail.com" ]
shussainather@gmail.com
a10859d4ea562c123f196bf8395b5a4d79cdf122
8ca045c0b94729222e8f3ffe184c0d4f564418c4
/FeatureCollection/get_properties.py
61d6c9e6e7462f73b66ae4a3c1832a914627b2f2
[ "MIT" ]
permissive
levi-manley/earthengine-py-notebooks
bc77632ca22ca85c0092c18f1eb8321abfbe874a
f5a888ddb6834f164e7399b20c683fb9cf604465
refs/heads/master
2021-01-02T12:17:27.974005
2020-02-09T02:59:20
2020-02-09T02:59:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,510
py
''' <table class="ee-notebook-buttons" align="left"> <td><a target="_blank" href="https://github.com/giswqs/earthengine-py-notebooks/tree/master/FeatureCollection/get_properties.ipynb"><img width=32px src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" /> View source on GitHub</a></td> <td><a target="...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
12bdbec06a358c7dc067b4b43d112a3c140567df
d744daf2629757d06e834bae7ee8104dec55020e
/home/migrations/0001_initial.py
370265315e338c457f9a95c1f2f89531538d6f6b
[]
no_license
AidysM/aldynkush2
5f54dfad35e201ae9510e0344d6ad537cc90e483
bf19b640757d66db278b8ad4f95182581cad617c
refs/heads/main
2023-04-18T06:45:57.245390
2021-05-02T13:37:47
2021-05-02T13:37:47
357,061,439
0
0
null
null
null
null
UTF-8
Python
false
false
3,005
py
# Generated by Django 3.2 on 2021-04-13 19:44 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max...
[ "mongush10011979@gmail.com" ]
mongush10011979@gmail.com
da3a8f70f64d77ccfa3140fb25f205670750d01d
4cce5d53ee16af6f4a8255924e40f395c08ff97d
/src/concurrency/core.py
3b1951c0525181cb2a12e57a7ca52d111dae0fe4
[ "MIT" ]
permissive
technicaltitch/django-concurrency
8a9a03f27d3a6f049355451533486fe2451717f8
9a289dc007b1cdf609b7dfb77a6d2868abc8097f
refs/heads/develop
2020-05-23T04:27:16.755002
2019-03-29T11:17:04
2019-03-29T11:17:04
186,631,794
0
0
MIT
2019-05-14T13:56:05
2019-05-14T13:47:27
Python
UTF-8
Python
false
false
1,945
py
# coding=utf-8 from __future__ import absolute_import, unicode_literals import logging from concurrency.config import conf # Set default logging handler to avoid "No handler found" warnings. try: # Python 2.7+ from logging import NullHandler except ImportError: class NullHandler(logging.Handler): de...
[ "s.apostolico@gmail.com" ]
s.apostolico@gmail.com
f8f67e5d79ba03d44dab11ef3f3405a78181bf19
70d87ef111da3c69b50265bbdc1308dc98b11c06
/examples/table_manager_transaction_pool.py
c07b8e203c3d27bed94b76b008296da47d64d848
[ "MIT" ]
permissive
allisson/asyncpg-utils
c821a56ef750e6090460f535247456fa66d22200
616d5f47d7e01108cb9272b16e4d2b511bfdae08
refs/heads/master
2021-10-11T08:40:29.117597
2019-01-24T00:01:35
2019-01-24T00:01:35
115,954,570
17
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
import asyncio from contextlib import suppress from datetime import date from asyncpg_utils.databases import PoolDatabase from asyncpg_utils.managers import TableManager from utils import create_table, drop_table loop = asyncio.get_event_loop() database = PoolDatabase('postgresql://postgres:postgres@localhost/asyncp...
[ "allisson@gmail.com" ]
allisson@gmail.com
ea896a58665212c5a7a558a9c43b24c72363cf82
e996ce06411d36e0ca542cbe12379c048b021f86
/scripts/cifar10_scripts/CNN.py
8a2b5d14c033a3e84fd74074dcb9372741d1b798
[]
no_license
aoyan27/CNN_tutorial
bff83f69a635bc7761a325bf397220660f2e69e2
7a24c64bdf71917fbb42dedc1b3af42aedafe804
refs/heads/master
2021-09-08T01:22:52.323763
2018-03-05T03:42:18
2018-03-05T03:42:18
98,201,742
0
0
null
null
null
null
UTF-8
Python
false
false
13,062
py
#!/usr/bin/env python #coding:utf-8 import time import numpy as np import six.moves.cPickle as pickle from sklearn.datasets import fetch_mldata from sklearn.cross_validation import train_test_split import chainer from chainer import cuda, Function, gradient_check, Variable, optimizers, serializers, utils from chainer ...
[ "ce62001@meiji.ac.jp" ]
ce62001@meiji.ac.jp
23b137c5d04919479ea615dcd9a4141ae78b875d
c6d84655a8424c8ade139fd79ae1bbb1514f8c88
/06multi_task/Thread01.py
de47c7f77c49c22398c17c8608932c28b3b5f015
[]
no_license
eryeer/pythonStudy
64240934ce463e7e9714fc7f0d7a6608cefab837
5c6a69ef10c0df38f89aee7e5d5cc9802a2b424b
refs/heads/master
2020-04-08T15:16:19.579466
2019-04-15T06:13:41
2019-04-15T06:13:41
159,472,137
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
import time import threading gl_num = 100 def sing(): global gl_num gl_num += 1 print(gl_num) for i in range(5): print("---sing 菊花茶") time.sleep(1) time_time = time.time() print(time_time) def dance(num): for i in range(5): print("----dance %d args:%d" % ...
[ "eryeer@163.com" ]
eryeer@163.com
036ecb1f02148386d05acf2b407ece2c0241a8b8
9129a791f45cd3b25d8a5da57ee6936bfe4e73a2
/learn-django/model_form/files/models.py
0997c182da6b07d7db593e113cb9f859b22ac81c
[]
no_license
Sunsetjue/Django2.0
94be49ed9d65dab6398ab8f0ddd02bb1871afb6b
102bf0f2bd2d309b76f3247e396b7e83c5f6c2f8
refs/heads/master
2020-04-22T03:25:24.014196
2019-02-15T16:18:23
2019-02-15T16:18:23
170,086,151
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
from django.db import models # Create your models here. class Book(models.Model): title = models.CharField(max_length=15) content = models.TextField() on_load = models.FileField(upload_to="%Y/%m/%d") ''' 我们也可以指定MEDIA_ROOT,就不需要在FielField中指定upload_to, 他会自动的将文件上传到MEDIA_ROOT的目录下 如果我们同时指定M...
[ "10073631822qq.com" ]
10073631822qq.com
10eec180260b47959d38c8a0e111b9da67816145
4ff8676136167cdd81d7a983272102fff86360e8
/python/724. 寻找数组的中心索引.py
37a2cf3ae5e930accce397c88443cda89a44edbb
[]
no_license
geniuscynic/leetcode
0ec256af2377d19fee22ce736462a7e95e3f4e67
379a8f27f8213951ee8be41bd56598036995d267
refs/heads/master
2023-07-19T07:22:20.001770
2021-09-07T14:50:40
2021-09-07T14:50:40
297,277,833
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
import sys class Solution: def pivotIndex(self, nums): total = sum(nums) lens = len(nums) res = 0 for i in range(lens): if res * 2 == total - nums[i]: return i res += nums[i] return -1 if __name...
[ "350810375@qq.com" ]
350810375@qq.com
802d13f5638731b38cbbf12bd951c950b0c75d07
ecebe1b77f12d50c47457642590885332f57cdfa
/functions_exercise/exercise5.py
4d2377671bb014b02ec7c3f518a3aa0fa167aef0
[]
no_license
ziqingW/python-exercise-flex-Mar06
19ca1d939fc1b708b50b0a505951804a2aa30d77
412c9f189151b1256e911ad47f95d028f4c92fa5
refs/heads/master
2021-09-08T06:54:58.889592
2018-03-08T03:58:15
2018-03-08T03:58:15
124,137,733
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
import matplotlib matplotlib.use("Agg") import matplotlib.pyplot as plot import math def f(x): return math.sin(x) xs = list(range(-5, 6)) ys = [] for x in xs: ys.append(f(x)) plot.plot(xs, ys) plot.savefig('exercise5.png') plot.close()
[ "redtaq@hotmail.com" ]
redtaq@hotmail.com
9df471b511f531fcaddf6849b50109c3723c1df4
517fcd77850828b5235c5dce27860e832159b030
/research/griffiths/aoc/soln20.py
c4caf8aa241517c41f1027f69918ced6d96e6a2e
[]
no_license
HussainAther/RosalindBioinformaticsContest2018
55cef63714e7aff2356aafe37a28c1898bdcfd9f
2ffe7335f6227c34b8f894a0bfd84f4f67e4e387
refs/heads/main
2023-06-27T10:54:15.587527
2023-06-08T21:35:53
2023-06-08T21:35:53
125,802,174
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
Save New Duplicate & Edit Just Text Twitter import sys file = open('input.txt') algo_string = next(file).strip() if algo_string[0] == ".": algo = [ {i for i, p in enumerate(algo_string) if p == "#"}, ] elif algo_string[-1] == ".": algo = [ {i for i, p in enumerate(algo_string) if p == "."},...
[ "shussainather@gmail.com" ]
shussainather@gmail.com
0c243ca3b0071ae7285523a41536c4d73132e977
0add7953d3e3ce2df9e8265102be39b758579753
/built-in/TensorFlow/Official/cv/image_segmentation/DeeplabV3_for_TensorFlow/00-access/cal_miou.py
a337be48d91589e0f3d436478d2a51cd27add22b
[ "Apache-2.0" ]
permissive
Huawei-Ascend/modelzoo
ae161c0b4e581f8b62c77251e9204d958c4cf6c4
df51ed9c1d6dbde1deef63f2a037a369f8554406
refs/heads/master
2023-04-08T08:17:40.058206
2020-12-07T08:04:57
2020-12-07T08:04:57
319,219,518
1
1
Apache-2.0
2023-03-24T22:22:00
2020-12-07T06:01:32
Python
UTF-8
Python
false
false
767
py
import argparse parser = argparse.ArgumentParser( formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument('--result_log', default="", help="""result log file.""") args = parser.parse() with open(args.result_log, 'r') as f: lines = f.readlines() eval_res...
[ "1571856591@qq.com" ]
1571856591@qq.com
0e2806406d9ef37e7ebed28a1159a5d5b7cfab68
d7cfe98faeb0fe1b4ce02d54d8bbedaca82764f7
/0827_stack_실습/괄호검사.py
0848bfd9131408a61275274f190e962b2eeb4132
[]
no_license
Anseik/algorithm
27cb5c8ec9692cf705a8cea1d60e079a7d78ef72
925404006b84178682206fbbb3b989dcf4c3dee9
refs/heads/master
2023-02-26T00:02:01.696624
2021-02-03T14:10:28
2021-02-03T14:10:28
301,753,927
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
import sys sys.stdin = open('괄호검사.txt') # tip : 딕셔너리로 짝을 미리 맞춰놓는다. def bracket(target): stack = list() for i in range(len(target)): if target[i] == "(" or target[i] == "{": # 여는 괄호이면 스택에 추가 stack.append(target[i]) # 닫는 괄호이면 스택에서 top을 pop해서 닫는 괄호와 짝이 맞는지 비교 elif target[i] =...
[ "kma9271@naver.com" ]
kma9271@naver.com
c2f109bb107b1cd31c032f5e21c7ad16667d3748
4bf3aaf77c309a489100b98a8c03532632df152c
/Python/codeforce/1.py
2628df7e1e30e4c764b06345b31e7f7b81b4ae5f
[]
no_license
murane/PS
7fbfc54d962231949efc67f1a35c4b0119de0780
e938c6c503aeac08bf65e1e66709172b0e5da6ef
refs/heads/master
2023-05-06T22:51:54.105811
2021-05-30T03:34:53
2021-05-30T03:34:53
293,699,199
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
import sys r=sys.stdin.readline for _ in range(int(r())): n=int(r()) flg=False for i in range(n//3+1): if flg: break for j in range((n-3*i)//5+1): if flg: break for k in range((n-3*i-5*j)//7+1): if flg: b...
[ "murane@naver.com" ]
murane@naver.com
d904d6b9f0294f1c570617b145adf7084138dfb0
ffff723a6c8527b45299a7e6aec3044c9b00e923
/PS/BOJ/1744/1744.py
b5871921a5bc8a0f29b46fdafaf4d1ca9cddfb15
[]
no_license
JSYoo5B/TIL
8e3395a106656e090eeb0260fa0b0dba985d3beb
3f9ce4c65451512cfa2279625e44a844d476b68f
refs/heads/master
2022-03-14T09:15:59.828223
2022-02-26T01:30:41
2022-02-26T01:30:41
231,383,838
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
#!/usr/bin/env python3 import sys input = sys.stdin.readline if __name__ == '__main__': nums_cnt = int(input()) negatives = [] zeros_cnt, ones_cnt = 0, 0 positives = [] for _ in range(nums_cnt): num = int(input()) if num < 0: negatives.append(num) elif num ...
[ "jsyoo5b@gmail.com" ]
jsyoo5b@gmail.com
da3d8c52309d729ebac13a937a3327a42eab7831
dbf7910f178ff895516c5df286c3cf13e1dd48ca
/env/bin/chardetect
522669580dfccbbf5974bd8dd74a11e2d6db0690
[]
no_license
nimadorostkar/crop_stocks
df5b5ef42e746c4fe66416d33534685eb2d33053
b382f3d912ad4276882eb7bb47a6147f335e4faa
refs/heads/master
2023-05-15T00:48:46.889463
2021-06-10T08:26:58
2021-06-10T08:26:58
353,626,010
1
0
null
2021-04-25T07:08:59
2021-04-01T08:16:16
HTML
UTF-8
Python
false
false
251
#!/Users/nima/github/crop_stocks/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nimadorostkar97@gmail.com" ]
nimadorostkar97@gmail.com
11ccf3680403a12180ff6239ba744d1037021ca7
fe1faba0d52cb9d7fe3220c88784003b51e31bfb
/data_process_and_train/avi_train.py
be1b7b6a76bb2e2c4737ebe37cdbff791ffc6b79
[]
no_license
ShuoZ9379/t42_hand
740384731d348b8084165fca0755fc4a5652156f
4d702b67c92b5aa693fc236c55840fd0a456cedf
refs/heads/master
2021-09-18T12:47:37.302123
2021-08-24T16:48:31
2021-08-24T16:48:31
252,624,176
0
0
null
null
null
null
UTF-8
Python
false
false
5,668
py
import scipy.io import numpy as np import pdb import torch import torch.utils.data from common.data_normalization import * from common.TrajNet import * from common.utils_clean_traj import * import matplotlib.pyplot as plt import glob,pickle,os,copy,sys,random from sys import argv from process_params import * #argv lr ...
[ "zhangshuo19930709@gmail.com" ]
zhangshuo19930709@gmail.com
2c69d3ee609c401fa5fba2ef49a3a0b622c35586
312d8dbbf980bf164f210e7935b17dc08d64ff87
/Model/repeat3_attribute_prediction_exist_Tm_binary_utilize_all/EGCNo/main.py
6107314d30d968f30ab3cb136700e50d109cc7be
[]
no_license
hsack6/OWGP_NBA
27dafbd6e59c17ce4a66e92132ee56782e2126bf
56656efb5884cd9f806e476a92c5e6485c71adeb
refs/heads/master
2023-02-25T09:52:05.165494
2021-02-03T12:44:04
2021-02-03T12:44:04
288,363,250
0
0
null
null
null
null
UTF-8
Python
false
false
12,216
py
import argparse import random import pandas as pd import torch import torch.nn as nn import torch.optim as optim from model import EGCN from utils.train import train from utils.valid import valid from utils.test import test from utils.inference import inference from utils.data.dataset import BADataset from utils.data...
[ "yamasaki.shohei@ist.osaka-u.ac.jp" ]
yamasaki.shohei@ist.osaka-u.ac.jp