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
38d5fcccac7e170f152339629aea554fd246c000
8c9c27cb88a2d210a5e2fb5803fe89204dba95ef
/phy/cluster/manual/tests/test_views.py
840eb0c9c9512508abe958d990f4ba57f638d4fd
[]
no_license
arnefmeyer/phy
c13b1eceb70ee72cf0ff9c4a273e195f122fabc4
14663e1f2baad421d6bc9f420d34170c6c969bbe
refs/heads/master
2020-12-07T15:42:49.605432
2016-04-20T21:10:38
2016-04-20T21:10:38
56,718,986
1
0
null
2016-04-20T20:32:18
2016-04-20T20:32:18
null
UTF-8
Python
false
false
6,873
py
# -*- coding: utf-8 -*- """Test views.""" #------------------------------------------------------------------------------ # Imports #------------------------------------------------------------------------------ import numpy as np from numpy.testing import assert_equal as ae from numpy.testing import assert_allclose...
[ "cyrille.rossant@gmail.com" ]
cyrille.rossant@gmail.com
182b04bde697101e629bf4f0c85d2c853c1567a5
dc0b6b680fd1fc0ab86ed7a3460137cde3a8612d
/Meus códigos/Python/Economia/mdic/mdic_1f.py
ec1951120d5e6bd7b7c22b8aa57b02d253aed461
[]
no_license
pedromfnakashima/codigos_versionados
6c8c692bc08a0dda39a82bf91c5245f28d9be330
c40c94d69f1ee3dd4317786f1c25bcc1bbcc2bb9
refs/heads/main
2023-03-21T20:32:53.677701
2021-03-20T00:03:10
2021-03-20T00:03:10
305,754,740
0
0
null
null
null
null
UTF-8
Python
false
false
5,097
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 25 12:40:44 2020 @author: pedro-salj """ ############################# ##### CONFIGURAÇÃO GERAL #### ############################# globals().clear() """ Mudar diretório """ import os from pathlib import Path import getpass if getpass.getuser() == "pedro": caminho_base...
[ "pedromfnakashima@gmail.com" ]
pedromfnakashima@gmail.com
ae00981c254d0dc088012dfacb9cdee40e031a73
0aec617440075b73e5da64cd1477b6a098ed864c
/data_structures/Project_Show_me_Data_Structures/active_directory.py
f76d2179be46597200adc649a3296be5cf3735c2
[ "MIT" ]
permissive
severian5it/udacity_dsa
0b1512cc8c5125149d6be6f78fa14446e7ab5c25
e47f27b0179961d6107fe46a236ac7d887fe6816
refs/heads/main
2023-03-07T02:24:37.299599
2021-02-14T10:34:50
2021-02-14T10:34:50
316,949,338
0
0
null
null
null
null
UTF-8
Python
false
false
1,943
py
class Group(object): def __init__(self, _name): self.name = _name self.groups = [] self.users = [] def add_group(self, group): self.groups.append(group) def add_user(self, user): self.users.append(user) def get_groups(self): return self.groups def ...
[ "pierluca@amazon.com" ]
pierluca@amazon.com
4fc662539852d925c3aa23683981860cecb38cb4
e2590e0a78046a22131b69c76ebde21bf042cdd1
/ABC201_300/ABC243/B.py
e7f62726863d27002413f7819fe6d8366e13c7d8
[]
no_license
masato-sso/AtCoderProblems
b8e23941d11881860dcf2942a5002a2b19b1f0c8
fbc02e6b7f8c6583e5a4e5187463e0001fc5f4d8
refs/heads/main
2023-01-22T23:57:58.509585
2023-01-21T14:07:47
2023-01-21T14:07:47
170,867,816
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
N = int(input()) A = list(map(int, input().split())) B = list(map(int, input().split())) def getIndex(l, x): if x in l: return l.index(x) else: return -1 ans1 = 0 ans2 = 0 for aIdx,a in enumerate(A): bIdx = getIndex(B,a) if(bIdx == -1): continue if(aIdx == bIdx): a...
[ "masato@seijinnoMacBook-Pro-2.local" ]
masato@seijinnoMacBook-Pro-2.local
cad633fa0cd47dc61a6c9b15c55400e0fab5095e
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5634697451274240_0/Python/Quorrin/pancakes.py
c760b7448180fb75bcb85128bc8bb4b5612e82e8
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,251
py
f = open('input.in', 'r') n = int(f.readline().strip()) out = open('output.txt', 'w') pancakeDict = {} def condenseStack(pancakes): newStack = [] previous = "" for i in range(len(pancakes)): if pancakes[i] != previous: newStack.append(pancakes[i]) previous = pan...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
4e0e36f2e345051fa5addfbd79acdc5acfd44bae
88c1fa6dd5b51a93c4345951c41c4f56a82ba5a3
/LiveProject-Python/AppBuilder9000/ZPYLP0612/FoodyApp/apps.py
e2a81009cb3725b2536136985c67aef7a083403c
[]
no_license
Sean-Beyer/PythonDjango-LiveProject
83335c4d5e22d00c34dac1c71c39f770ad896c4e
986b567fad49368c52182eb5196534ff8a8ebcfc
refs/heads/master
2022-12-13T22:43:21.820355
2020-09-01T00:34:18
2020-09-01T00:34:18
291,854,193
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
from django.apps import AppConfig class FoodyappConfig(AppConfig): name = 'FoodyApp'
[ "61070387+Thalious@users.noreply.github.com" ]
61070387+Thalious@users.noreply.github.com
df403f3387076740ba819c48f201f9fb9d443b4a
b5c92150b0fb76daf9b8725c7a64ba1b54f2d9c7
/product_grammage/models/purchase.py
7804f5922d646144f5f8f8d4ae275d50bff4d991
[]
no_license
hashemalycore/CMNT_00107_2017_SAR_addons
63da3c66eddc99b585671cc85a53661a497771aa
071646e495fcd9563f72a02f6630ee4d70afa438
refs/heads/master
2020-04-02T10:25:32.457793
2018-02-12T13:09:16
2018-02-12T13:09:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
# -*- coding: utf-8 -*- # © 2017 Comunitea Servicios Tecnológicos S.L. (http://comunitea.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import models, fields class PurchaseOrder(models.Model): _inherit = 'purchase.order.line' thread = fields.Float('Thread', related='pro...
[ "javierjcf@gmail.com" ]
javierjcf@gmail.com
4a25a135777867175549f9b2359a28dc05cfc0ef
ed0ed8863e05384db504fa58e47db1b49977bb7d
/AnalysisAndDesignOfAlgorithms/python/package_memory.py
350a2ed835ac8013a3fae6aeca7fb450a8b27701
[]
no_license
rogeroyer/Accumulation
fa4f6083cd1fe3d112fe4d62275280033070b174
ac04f486761744362c57abcc51f7768c775f270c
refs/heads/master
2022-07-22T18:58:05.679619
2022-07-14T04:39:53
2022-07-14T04:39:53
102,483,020
10
33
null
null
null
null
UTF-8
Python
false
false
2,218
py
class package_memory_deal(object): def __init__(self, weight, value, max_weight, printMatrix=False): self.weight = weight # 存储重量 # self.value = value # 存储权值 # self.max_weight = max_weight # 背包所能承受最大重量 # self.array_length = len(self.value) # 物品个数 # self.select = [[-1 for...
[ "noreply@github.com" ]
rogeroyer.noreply@github.com
8c6b878927c7dac6590fca1e63d2cfb1a5ef4b1f
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/vanilla/testcase/firstcases/testcase3_003.py
cf0d72f444c3338e02c82106cee27e79e171819d
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
4,748
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
374c6dc3c8939e43c4c3fecd5522911c9253d932
c8098e3907f39210ac159cf78f66cd871440fc10
/vagrant/lesson 1/database_setup.py
45e857aab66b72fc7b79507451798969667f5bee
[]
no_license
jaapdejong/fullstack-nanodegree-vm--ud088
e297dbc421d19df61499a16ae87ca572426228df
ba383a9ab7a315279e4acd0425bbca1e25ba943a
refs/heads/master
2021-06-11T23:14:37.669565
2017-01-22T11:59:55
2017-01-22T11:59:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
#!/usr/bin/python import os import sys from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy import create_engine Base = declarative_base() class Restaurant(Base): __tablename__ = 'restaurant' ...
[ "jaap.dejong@nedap.com" ]
jaap.dejong@nedap.com
4f657bc1f1c2e30b69b8ba84ed32bd6ee4e0ddf7
76133934b1dd287273a9bfa0c801d10d08a21b21
/test/functional/getchaintips.py
95d9627833e5526bc62095eaf21841cd9365d834
[ "MIT" ]
permissive
kenfmcoin/kenfmcoin
d8783b34fcb3ae01067e8d1b33e3a73e3b82b1f9
1fa48487593233f2066757dc54f48b2349e2d9db
refs/heads/master
2020-03-10T17:53:31.569229
2018-04-14T12:28:55
2018-04-14T12:28:55
129,511,375
0
0
null
null
null
null
UTF-8
Python
false
false
2,183
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The KenFMcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the getchaintips RPC. - introduce a network split - work on chains of different lengths - join ...
[ "37983255+spineinhalb@users.noreply.github.com" ]
37983255+spineinhalb@users.noreply.github.com
10f80e4c65bd78181993027e8a5a587a62070faf
cfbf8e78017a7c97107112680b04b2733bd27f8e
/Raw_data_Modules/Modules/DatabaseConnector.py
852a60a6801bde9f0fdb33ac213cfeb2f701874b
[]
no_license
WenRichard/Web-page-Recommendation
bdd279e382a119a2068480f5f49e1703d0703777
0757b43f2d3f62c29c4aca9c1dd7a8b327204f32
refs/heads/master
2020-03-27T20:11:58.218795
2018-09-02T04:46:46
2018-09-02T04:46:46
147,047,687
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
import pymysql import pandas as pd # 连接数据库 def connector(host, user, password, database): db = pymysql.connect(host, user, password, database) return db # 断开数据库 def closer(db): db.close() return "the database has been closed." # 读取数据:从csv文本文件 # url, date, features(1~n), labels(1~m) class CSVReader...
[ "xiezhengwen2013@163.com" ]
xiezhengwen2013@163.com
b39c2f3984971a040831df35e49517e3fb93df8c
3e63befd66d0f8fddaba4ce8c1ed73525c32a5aa
/venv/Lib/site-packages/mediapipe/calculators/core/sequence_shift_calculator_pb2.py
ec7af4e37ba7cb45a6a8086a1af24275c15bee53
[ "MIT" ]
permissive
tanvirtareq/awesome-hand-gesture-detection
b0ecc6636e810412950b705e6ef5c1d83099b547
ccc836557b730cf34861301712de0de3eec1076d
refs/heads/main
2023-06-04T02:24:34.452783
2021-06-18T11:36:39
2021-06-18T11:36:39
389,102,297
1
0
MIT
2021-07-24T13:10:45
2021-07-24T13:10:45
null
UTF-8
Python
false
true
3,553
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: mediapipe/calculators/core/sequence_shift_calculator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message fro...
[ "airriaislam@gmail.com" ]
airriaislam@gmail.com
446ce31ab4d34876176ddf4f9eb6c48cb5d1cbaf
6ff4a7e4743e6574a9584ef5f672a976d4976baa
/code/learn-python/python/util/file/file_write_overwrite.py
c5642fd12236a40a39224f604f1b9d3ad8d5218c
[ "BSD-2-Clause" ]
permissive
lsieun/learn-python
1c7d6eeb80aa6e47e5e94a055ba9b674fd886cb9
ce067202e8e77351de1fc99897185b6363d98219
refs/heads/master
2021-06-26T07:41:32.393981
2018-10-20T04:21:54
2018-10-20T04:21:54
111,169,474
1
1
BSD-2-Clause
2019-05-07T12:52:34
2017-11-18T02:21:19
Python
UTF-8
Python
false
false
119
py
#写文件(覆盖写) path = "D://mynote.txt" f = open(path,"w",encoding="utf-8") f.write("我爱阿芬") f.close()
[ "331505785@qq.com" ]
331505785@qq.com
c9bc5d6c76ec5047e3101a82c773eb67ac5b156d
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Keras_tensorflow/source/tensorflow/contrib/tensor_forest/client/random_forest_test.py
1e774dab2b06f2db402aebc4b8b64d052e5a56d6
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
3,224
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
80d38101f88dedd6685e1de271ee7ba897dc1487
3db48e7c13b330af7c488820d14d22edf0a7cfda
/그래프 이론/[10-3]위상정렬 알고리즘.py
06fd577232f9442862e3ff32bd6969a65947f818
[]
no_license
kim-kiwon/Coding-test
1555d7e7699a21655e86f892e76f784accf4b9cc
aa8563ab54596c9c6dace84494d4f68fbd8e97f4
refs/heads/master
2023-04-01T10:04:11.152485
2021-04-05T10:17:51
2021-04-05T10:17:51
328,202,195
0
0
null
null
null
null
UTF-8
Python
false
false
1,370
py
#위상정렬 알고리즘 : 방향 그래프로 순서가 주어질 경우. 모든 노드를 순서에 거스르지 않고 정렬. #선수과목 고려한 수강신청이 주된 문제. #진입차수 0 인 노드 큐에 삽입. 큐에서 제거시 해당 노드에서 나가는 간선 모두제거. 반복 #큐가 비었는데 방문하지 않는 노드가 남았다 -> 사이클존재 (남은 노드 중에 진입차수 0 인 노드가 없게되므로) from collections import deque v, e = map(int, input().split()) indegree = [0] * (v+1) #진입차수 0으로 초기화 graph = [[] for i in ra...
[ "76721493+kim-kiwon@users.noreply.github.com" ]
76721493+kim-kiwon@users.noreply.github.com
1431f3ebabae290a7e25a9c3f1c2fd5ffb3a26eb
34652a47355a8dbe9200db229a1bbc62619de364
/Matlibplots/samples2/contour_label_demo.py
44ac1ddc73c54dcdf9cad3b695a1f9fb4dc177ef
[]
no_license
btrif/Python_dev_repo
df34ab7066eab662a5c11467d390e067ab5bf0f8
b4c81010a1476721cabc2621b17d92fead9314b4
refs/heads/master
2020-04-02T13:34:11.655162
2019-11-10T11:08:23
2019-11-10T11:08:23
154,487,015
0
1
null
null
null
null
UTF-8
Python
false
false
2,319
py
#!/usr/bin/env python """ Illustrate some of the more advanced things that one can do with contour labels. See also contour_demo.py. """ import matplotlib import numpy as np import matplotlib.cm as cm import matplotlib.mlab as mlab import matplotlib.ticker as ticker import matplotlib.pyplot as plt matplotlib.rcParams...
[ "bogdan.evanzo@gmail.com" ]
bogdan.evanzo@gmail.com
4e950512f3e46044884aa3e2cb21adc6db35ee7a
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/d1fcf255c5402d75a3f7b450bd1e795196d5817a-<_login>-bug.py
e920b6d9685aacf11b23547d526d2bc7ebec0fda
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
def _login(self): (username, password) = self._get_login_info() if (username is None): return (_, urlh) = self._download_webpage_handle('https://learning.oreilly.com/accounts/login-check/', None, 'Downloading login page') def is_logged(urlh): return ('learning.oreilly.com/home/' in co...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
78f0996a27e3e1f8cbd9d1d794408e8374c9d79c
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/DGS-3120-24SC-DC-L3MGMT-MIB.py
0352de5e08aab9967fa55cbb67c04f6cfa9d6da5
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
18,396
py
# # PySNMP MIB module DGS-3120-24SC-DC-L3MGMT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DGS-3120-24SC-DC-L3MGMT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:28:29 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python versio...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
9ac32b680ac33b4a55f38e4dd4629e58ff8b07c8
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/shared/sdktool/info_holder.py
c12254327b7b03061f05654fef591d5b781d801b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
10,036
py
# Copyright 2015 Google Inc. All Rights Reserved. # """Contains utilities for holding and formatting install information. This is useful for the output of 'gcloud info', which in turn is extremely useful for debugging issues related to weird installations, out-of-date installations, and so on. """ import os import re...
[ "joe@longreen.io" ]
joe@longreen.io
b6f1115d4f04e8309fb6d9dd7f163c32b2b8bf2e
e23a4f57ce5474d468258e5e63b9e23fb6011188
/090_logging/_exercises/_templates/Python Logging Basics/004_Example 3 – Log File.py
a2705a8ad6d0da1023b298252b981003efb9282c
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,263
py
# # The final option is to log messages directly to a file. This is rarely useful these days, as administrators can # # configure syslog to write certain messages to specific files, or if deploying inside containers, # # this is an anti-pattern. Also if you use centralized logging, having to deal with additional log fi...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
45b3718a502218323dd157b5f41726f28c7cb8b9
929d12e11ed2fb69476b9d07932e38662f0ce6fc
/Two Pointers/3 Sum.py
db65bf577617e5c0cda320df9d5e87c5a5f947dd
[]
no_license
arnabs542/Data-Structures-And-Algorithms
b8f341a31ca18044bf179294fbcb0fac1f835216
ffcc2f8a25520ce37cd1f67e6225281c85141a65
refs/heads/master
2022-12-13T14:09:55.005341
2020-09-13T11:58:58
2020-09-13T11:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
""" 3 Sum Problem Description Given an array A of N integers, find three integers in A such that the sum is closest to a given number B. Return the sum of those three integers. Assume that there will only be one solution. Problem Constraints -10^8 <= B <= 10^8 1 <= N <= 10^4 -10^8 <= A[i] <= 10^8 ...
[ "noreply@github.com" ]
arnabs542.noreply@github.com
7a11fe137ba5bf37e86e22d6f0511f13d1e1b673
ba7134468cb18014fe2e3e1513382fa52aafd4eb
/01_Python_basic_grammar_supplement/005_Python常用内置函数/002_map_映射函数_按规律生成新列表.py
1a656cdc6a055d276239ad4f2a42c28e99d16e3a
[]
no_license
FelixZFB/Python_advanced_learning
4e44616b390e1c6e7da37229c7ad48c069cee71b
a71a6d733ed2134a79f02a6488807862b23438b8
refs/heads/master
2021-06-27T11:15:07.754719
2020-11-20T02:41:25
2020-11-20T02:41:25
183,116,714
2
2
null
null
null
null
UTF-8
Python
false
false
762
py
# map: 映射 # 即把集合或者列表中的元素,每一个元素都按照一定的规则进行操作,生成一个新的列表或者集合 # map函数是系统提供的具有映射功能的高阶函数,返回值是一个迭代对象 # 先看一个列表[0, 1, 2, 3, 4, 5, 6, 7, 8, 9],以该列表为基础每个数字乘以10 # 生成一个新的列表[0, 10, 20, 30, 40, 50, 60, 70, 80, 90] # 代码如下: l1 = [i for i in range(10)] l2 = [] for i in l1: l2.append(i * 10) print(l2) # map函数实现上面的功能,代码变的更简单 l3 = [i ...
[ "18200116656@qq.com" ]
18200116656@qq.com
8c727e64d3c3a290d5db68cd724530baa918f3ff
4d523d4d9d1fdd643bb42403ffc4cab67ee260ca
/benchmarks/dynamo/common.py
b0752f10d4338a51ee25afbc6e34b2266fb78639
[ "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
kiszk/pytorch
6061cd5afc053e2f5c2bfe0d251f3b2d4527cef0
62c53aabdb0d2630c87141f21072a79aa69aee5c
refs/heads/main
2023-05-26T12:07:52.086928
2023-05-08T15:21:16
2023-05-08T15:21:16
231,248,506
0
0
NOASSERTION
2020-01-01T18:12:00
2020-01-01T18:11:59
null
UTF-8
Python
false
false
93,093
py
#!/usr/bin/env python3 import argparse import collections import copy import csv import functools import importlib import itertools import logging import os import random import signal import subprocess import sys import time from contextlib import contextmanager from typing import NamedTuple from unittest.mock import...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
a97dfba740547798aa43e4e8df8ee377d844b172
9d1701a88644663277342f3a12d9795cd55a259c
/CSC108/a1/test.py
e3696c3c0ae1ba55928f89f9bbe2a46d1880dfc7
[]
no_license
xxcocoymlxx/Study-Notes
cb05c0e438b0c47b069d6a4c30dd13ab97e4ee6d
c7437d387dc2b9a8039c60d8786373899c2e28bd
refs/heads/master
2023-01-13T06:09:11.005038
2020-05-19T19:37:45
2020-05-19T19:37:45
252,774,764
2
0
null
2022-12-22T15:29:26
2020-04-03T15:44:44
Jupyter Notebook
UTF-8
Python
false
false
1,238
py
SIGN_GROUPS = '[ARI,LEO,SAG],[TAU,VIR,CAP],[GEM,LIB,AQU],[PIS,SCO,CAN]' SIGNS = 'ARI:03,21-04,19;TAU:04,20-05,20;GEM:05,21-06,21;CAN:06,22-07,22;' + \ 'LEO:07,23-08,22;VIR:08,23-09,22;LIB:09,23-10,23;SCO:10,24-11,20;' + \ 'SAG:11,21-12,21;CAP:12,22-01,20;AQU:01,21-02,21;PIS:02,22-03,20;' def get_sign_...
[ "coco.yang@mail.utoronto.ca" ]
coco.yang@mail.utoronto.ca
c5835b7fa2b4f5ca981932cbb072da01a4eb7ff8
fc27e1e21ad4891b1d4e769170671da1a4d32ed2
/aliyun-python-sdk-ccs/setup.py
02f22be7a4dd0804225e7b9d1814db5fb67fdfa6
[ "Apache-2.0" ]
permissive
yonzhan2/aliyun-openapi-python-sdk
3d05f7e83aeb286ad553a6a36c42ce932a1ece3e
e64873f9b528e1a83e3ea27d583f3f7998e7650b
refs/heads/master
2020-04-11T10:22:48.511973
2018-12-13T09:29:21
2018-12-13T09:29:21
161,712,443
1
0
null
2018-12-14T00:52:39
2018-12-14T00:52:39
null
UTF-8
Python
false
false
2,586
py
#!/usr/bin/python ''' 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"...
[ "yixiong.jxy@alibaba-inc.com" ]
yixiong.jxy@alibaba-inc.com
f66ca3f9bba3dc867733f33d8e8453c735d63d42
f0bc59dc9aab005ef977957e6ea6b91bbe430952
/2018-02-22-mongo-python-kennedy/code/data/release_health.py
ad6e41fad36f7fd0f5e9e01a03516dc3dbb6197e
[ "Apache-2.0" ]
permissive
Wintellect/WintellectWebinars
3ac0f6ae02d2d52eefb80f4f06d70f44e0d66095
5a59d9742c340022d58ec7e2cda69a1eba0feb53
refs/heads/master
2023-03-02T06:31:25.457579
2022-04-29T19:26:55
2022-04-29T19:26:55
87,122,981
68
124
Apache-2.0
2023-03-01T02:39:17
2017-04-03T21:33:32
JavaScript
UTF-8
Python
false
false
192
py
import mongoengine class ReleaseHealth(mongoengine.EmbeddedDocument): ci = mongoengine.BooleanField() coverage = mongoengine.FloatField() health_index = mongoengine.FloatField()
[ "mikeckennedy@gmail.com" ]
mikeckennedy@gmail.com
c9967a831db5b1498cb70bbd89be219e0c57becd
bb6ebff7a7f6140903d37905c350954ff6599091
/tools/telemetry/telemetry/timeline/process.py
aa94a9cc40d91e045da00eb4f426995817470912
[ "BSD-3-Clause", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
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
2,450
py
# 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 telemetry.timeline.event_container as event_container import telemetry.timeline.counter as tracing_counter import telemetry.timeline.thread as tracing...
[ "mrobbeloth@pdiarm.com" ]
mrobbeloth@pdiarm.com
60ab6a543eed1a43ddab5434945c723e9390423a
e26437e26ebb17187ae9c9caaa5dfc4208a7ec1d
/venv/bin/pyreverse
9f96a391a24de4c7fb7d39e36f0c1b16bf65b197
[ "CC0-1.0" ]
permissive
OseiasBeu/PyECom
93f36fe22aca1b8c06be0fa0027d6cd42e614b6a
2ea4e7e3be4ca015fb1bbc1083aa3f2d44accc5f
refs/heads/master
2022-12-15T00:16:29.799351
2020-08-31T21:16:00
2020-08-31T21:16:00
287,870,077
1
0
null
null
null
null
UTF-8
Python
false
false
275
#!/home/oseiasbeu/Documents/djangoecommerce-aula002/venv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from pylint import run_pyreverse if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run_pyreverse())
[ "oseiasbeu@outlook.com" ]
oseiasbeu@outlook.com
da66572725917bc7eae7416aef1d229579a87d5e
105d55b45e36ae1d3062135b22781f1df0fb1653
/oauth_tokens/providers/facebook.py
650cdc472bd5d2c75041be8704e017c55b924156
[ "BSD-3-Clause" ]
permissive
EndyKaufman/django-oauth-tokens
6151dd26acb99bb53aabbe5e75d01eac6cdd377e
b813b13d383b79e1a78e15a3881be5b94680a011
refs/heads/master
2021-01-14T11:20:09.040188
2015-06-25T18:03:45
2015-06-25T18:03:45
38,067,554
0
0
null
2015-06-25T18:48:54
2015-06-25T18:48:54
null
UTF-8
Python
false
false
3,939
py
# -*- coding: utf-8 -*- import re import urllib from xml.sax import saxutils as su from bs4 import BeautifulSoup from django.core.exceptions import ImproperlyConfigured import requests from ..base import AccessTokenBase, AuthRequestBase from ..exceptions import LoginPasswordError, AccountLocked, WrongRedirectUrl cl...
[ "ramusus@gmail.com" ]
ramusus@gmail.com
844a9a758831717b2da46cbd65a2b6d94b78da26
ac8b725681e25177c5de3daf58afe00135241d0f
/leetcode/0622_design_circular_queue.py
238c3abdb146d116221b12774b973ca013cac211
[ "MIT" ]
permissive
jacquerie/leetcode
7af100ea1d7292c8c3da34210cf04d891be5561b
0cb213b9c7bcb6efa11210e9ebc291befb560bb9
refs/heads/master
2022-05-19T22:19:46.284065
2022-03-27T02:41:58
2022-03-27T02:41:58
129,323,741
3
0
MIT
2021-01-04T01:41:50
2018-04-12T23:51:56
Python
UTF-8
Python
false
false
1,228
py
# -*- coding: utf-8 -*- class MyCircularQueue: def __init__(self, k): self.capacity = k self.count = 0 self.elements = [0] * k self.index = 0 def enQueue(self, value): if self.isFull(): return False self.elements[(self.index + self.count) % self.cap...
[ "jacopo.notarstefano@gmail.com" ]
jacopo.notarstefano@gmail.com
82d8010ea973ca811c5b181a212f6d636c8b8d9e
1e30788a9e045e3bda2cfcb3bb42adfa7ee85dae
/venev/lib/python2.7/site-packages/coverage/misc.py
e3723c1847da8137214715ca5849ac49eb6f0584
[ "MIT" ]
permissive
CompeteLeak/crankycoin
1bee3a032c4c6360093035aed1a7842cfffb46f0
9376fbd3095429f2d46a3e4436023f814bb2e36a
refs/heads/master
2020-03-10T15:59:10.016605
2018-05-01T06:16:24
2018-05-01T06:16:24
129,462,940
0
0
MIT
2018-04-25T20:56:12
2018-04-13T23:17:30
Python
UTF-8
Python
false
false
7,487
py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt """Miscellaneous stuff for coverage.py.""" import errno import hashlib import inspect import locale import os import sys import types from coverage import env fro...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
4bc4de35ea4be1709c988bf5903e9a0bba31b0d8
7844d2c4c4863e5d83f37d803ff1ccf477e654e2
/signup/backends/sts_credentials.py
fdc0f7ff1b847a2bde88fad73477a8c0eaf4dad7
[ "BSD-2-Clause" ]
permissive
VanL/djaodjin-signup
195df527fdc97bddc198a3655a4bd395b9fef775
72abd2699c543a2219a4991d9575a0bb0aadf42d
refs/heads/master
2023-02-09T02:28:53.672743
2020-06-07T14:25:17
2020-06-07T14:25:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,407
py
# Copyright (c) 2020, Djaodjin Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and t...
[ "smirolo@djaodjin.com" ]
smirolo@djaodjin.com
bf4e0aab1c159295634285c1e66c3ddbf71eaa43
35fc3136ca3f4af52ebeb36cedcd30b41d685146
/RNASeq/pipelines_ds/RNASeq_MDD21.py
f7d2cd5bd88f8ae9d1fc645cae3f5ac64ce93125
[]
no_license
stockedge/tpot-fss
cf260d9fd90fdd4b3d50da168f8b780bb2430fd1
d1ee616b7552ef254eb3832743c49a32e1203d6a
refs/heads/master
2022-09-19T13:10:30.479297
2020-06-02T15:43:16
2020-06-02T15:43:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
import numpy as np import pandas as pd from sklearn.cluster import FeatureAgglomeration from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import train_test_split from sklearn.pipeline import make_pipeline from tpot.builtins import DatasetSelector # NOTE: Make sure that the class is label...
[ "grixor@gmail.com" ]
grixor@gmail.com
54b3cba439ff4df98ef0664037b16637b744cc2c
2df47589ca457d16fbffd4e1bccf5133174a0b97
/highcharts/core/urls.py
224545575fb36ead36d321285b6b52ffed2591b7
[]
no_license
bguerbas/highcharts
a805419cb8d5a00bc3f82b5c4df285598f7685d8
571fba58465136c5040266b3d4ba2d65a5cc740c
refs/heads/master
2022-02-12T19:33:12.244474
2016-06-04T05:00:24
2016-06-04T05:00:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
from django.conf.urls import url from highcharts.core.graphics import dollar_json, euro_json, product_json from highcharts.core import views as v urlpatterns = [ url(r'^$', v.home, name='home'), url(r'^dollar-graphic/$', v.dollar_graphic, name='dollar-graphic'), url(r'^euro-graphic/$', v.euro_graphic, name...
[ "rg3915@yahoo.com.br" ]
rg3915@yahoo.com.br
aa2082dc6d4bc7facdfcda2f11287a57b36d45d5
921b3a67a24df947f085e93ba58833ec20f6b89e
/producer-tutorial/Lib/site-packages/faker/providers/ssn/en_PH/__init__.py
b46f518321a9d4fc9f7172f85be5a33b8bd0612e
[]
no_license
jaslanm/python
e3bacd7ad0020b7e11adcb1b17dd6da3e4b2f65c
5cfa3913b89acb0b8cf79247de1b2820a8b92f3a
refs/heads/main
2023-08-30T01:53:13.752918
2021-10-23T13:24:48
2021-10-23T13:24:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,638
py
from ... import BaseProvider class Provider(BaseProvider): """ Provider for Philippine IDs that are related to social security There is no unified social security program in the Philippines. Instead, the Philippines has a messy collection of social programs and IDs that, when put together, serves as ...
[ "jaslanm@gmail.com" ]
jaslanm@gmail.com
d67a97f7d001de095080b8e061061fdc66d4ab5c
1d01f44e748c03e2f00ede0b317ac57d868cb9a8
/bdd/features/steps/generic.py
a41853ca92fad327f95aa4f5481dc70ae24b84f1
[ "Apache-2.0" ]
permissive
gtoonstra/airflow-hovercraft
6ef9e6588a1dbc9a97f4c725ee8e50d38f913d3a
87d3f3dde410d186dcfbe30fb3330b6c3c8d08d9
refs/heads/master
2021-01-22T23:10:49.646487
2017-06-18T20:07:37
2017-06-18T20:07:37
92,804,454
5
1
null
null
null
null
UTF-8
Python
false
false
3,290
py
# -*- coding: utf-8 -*- # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software ...
[ "gtoonstra@gmail.com" ]
gtoonstra@gmail.com
82c10264b839855b634e22321e3d1c1056cc2fa2
ffc1cc3bb7b68335b115122fdc7924fc4e31d528
/hun89.py
598943a29a06fb9e8bd394f448e35cc79e22821b
[]
no_license
Rihanashariff/swathi24
dba1dd3c3d2ff583ae431b432e0ef262bfeb3ac3
2b0d21f2febdd2a563e8f0affeebd5ca7a5821b8
refs/heads/master
2020-07-02T05:28:32.199982
2019-06-29T08:22:10
2019-06-29T08:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
#s n=input() l=[] for i in range(0,len(n)): if n[i] not in l: l.append(n[i]) l=l[::-1] for i in range(0,len(l)-1): print(l[i],end="") print(l[-1])
[ "noreply@github.com" ]
Rihanashariff.noreply@github.com
445b8f4162f676a1d2d53a66b8f67bd4b216b021
a2d3f2787cd26f2bf90f30ba9516d1675a69f8be
/emission/tests/coreTests/TestEntry.py
93e03219cfcb42cee4b1af697e90badb0d2316d4
[ "BSD-3-Clause" ]
permissive
njriasan/e-mission-server
318833ba06cb7f40ddb7b8d2ac3da4d049e7c846
23224ddcfd29f31c13f75d819d9ad8530aea052f
refs/heads/master
2020-05-02T11:02:00.528836
2019-03-27T19:21:31
2019-03-27T19:21:31
177,915,408
1
0
BSD-3-Clause
2019-03-27T04:01:32
2019-03-27T04:01:31
null
UTF-8
Python
false
false
4,859
py
from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import # Test the class that supports usercache entries # The main change here is that # Standard imports from future import standard_library standard_library.install_aliases()...
[ "shankari@eecs.berkeley.edu" ]
shankari@eecs.berkeley.edu
42ef418b29e8afe99bd8a80b80757cb7ddc5210e
48b7b96a5caf2102ae6ca5626efc0135d4088a75
/server/providers/models.py
80bce9d435fb3af1e97647ff6ba22b3133451c1d
[]
no_license
DonAurelio/coder
ced49498e0e0717fa8f0c523e5a2ff87895f162d
429d2e4c43d66770792200bac6cd103f86dcf8b1
refs/heads/master
2023-01-11T08:59:43.749545
2019-10-02T19:58:07
2019-10-02T19:58:07
106,939,435
2
1
null
2022-12-29T07:03:46
2017-10-14T15:33:08
JavaScript
UTF-8
Python
false
false
1,669
py
from django.db import models import requests # Create your models here. class Service(models.Model): name = models.CharField(max_length=100,primary_key=True, help_text='Service name has to be unique') base_url = models.CharField( max_length=400, help_text='API base url without ending ...
[ "aurelio.vivas@correounivalle.edu.co" ]
aurelio.vivas@correounivalle.edu.co
5031bc2a965c2f9f19ed8c7313cf8595400f10be
3d4094d6eca69329d4c6ba08e0c8ce79eedeb6b6
/starter/Recusion.py
9294f308c3d312ec11a45b4945592dbb04f552bc
[]
no_license
agkozik/Python_Course
c9f3c8b68e60b452e57f43da7554c13daf386a0c
4b095bbc86f33999efe95127528b3e1d8bfded9f
refs/heads/master
2022-04-27T06:04:15.276472
2020-04-22T11:49:06
2020-04-22T11:49:06
255,082,012
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
def non_recursion(n): result = 1 for multiplayer in range(n): result *= multiplayer return result def recursive_fact(n): if n == 0: return 1 else: return n * recursive_fact(n-1) print(recursive_fact(100)) print(non_recursion(100))
[ "agkozik@gmail.com" ]
agkozik@gmail.com
b87853502213aa5bfaef56faf421d1b76f6f3e71
82c09012f7dbf4c6b5988eb517d2b53ac6e175de
/mayaTools/cgm/lib/zoo/zooPyMaya/skeletonBuilderPresets.py
a3054ab7da8e90f3c66012ce1cc05a5fbf4264fb
[ "BSD-3-Clause" ]
permissive
jjburton/cgmTools
3def62c6a631b78b16eed89e7c746ff5190c17f7
8aba7e73fc330befc578da963809c5c8eda2c26c
refs/heads/master
2023-08-21T14:43:25.249298
2023-02-06T00:33:07
2023-02-06T00:33:07
173,785,099
92
20
null
2021-02-16T19:43:55
2019-03-04T16:54:32
Python
UTF-8
Python
false
false
41
py
from baseSkeletonPreset import * #end
[ "jjburton@gmail.com" ]
jjburton@gmail.com
05081be19c602536b83c4921c511a0830229bd5c
77b300d44131c74ce42c9099e1b709b9c5941ba1
/src/zojax/content/model/tests/view.py
2c2bb9d223bd8e21e24d76ced9764bbf6a8aa39d
[ "ZPL-2.1" ]
permissive
Zojax/zojax.content.model
26c0984457a8a9940105d11143a1c7cb9ed9d8c0
07d14dc8ba467f6efb2ad58e68c050afebd0e69d
refs/heads/master
2016-09-06T07:22:26.242130
2011-12-16T07:12:30
2011-12-16T07:12:30
2,035,141
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
############################################################################## # # Copyright (c) 2009 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "andrey.fedoseev@gmail.com" ]
andrey.fedoseev@gmail.com
d84df8e0443840cc9a741459f80f50079bd18ce3
fc96f28fc3dd08ecd418fe13f13d71c8f7b51cd9
/enrich/tfc.py
12be029215f5e4e49edfbe219a703bfb874c92ff
[ "MIT" ]
permissive
mindis/spacyapp
59d811854291a770bcb9d6f0552a9ceaa48246ec
2b5b6af1be4e0cee55bcc776253d63f5005f899f
refs/heads/master
2020-04-14T12:54:17.922808
2019-01-02T14:12:10
2019-01-02T14:12:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,409
py
from enrich.tei import XMLReader from datetime import datetime class Tcf(XMLReader): """ a class to read an process tfc-documents tried with 'data/nn_nrhz_001_1418.tcf.xml' """ def list_nodes(self, element): """ returns a list of passed in element-nodes""" expr = "//tcf:*[local-name...
[ "Peter.Andorfer@oeaw.ac.at" ]
Peter.Andorfer@oeaw.ac.at
2be6d7c09e45275b87c59105dd1e93b1a0c45a14
ac7e039a70ba627f6d9a7a02c9a8849ed5e18a89
/unep.project-database/tags/0.8/content/SubProject.py
8b875041728ebaf498aace281aeaa619d7847571
[]
no_license
jean/project-database
65a2559844175350351ba87e820d25c3037b5fb2
e818d322ec11d950f2770cd5324fbcd1acaa734d
refs/heads/master
2021-01-01T06:27:24.528764
2014-01-31T11:11:45
2014-01-31T11:11:45
32,125,426
0
0
null
null
null
null
UTF-8
Python
false
false
20,722
py
# -*- coding: utf-8 -*- # # File: SubProject.py # # Copyright (c) 2009 by [] # Generator: ArchGenXML Version 2.1 # http://plone.org/products/archgenxml # # GNU General Public License (GPL) # __author__ = """Mike Metcalfe <mikejmets@gmail.com>, Jurgen Blignaut <jurgen.blignaut@gmail.com>""" __docformat__ = '...
[ "jurgen.blignaut@61ed036f-b72b-0410-9ea5-b9ec1d72d98d" ]
jurgen.blignaut@61ed036f-b72b-0410-9ea5-b9ec1d72d98d
5b3676d9864fd42804bba265747557e5df923681
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-vs/aliyunsdkvs/request/v20181212/DescribeVsDomainReqBpsDataRequest.py
307d6bbfec73206085e343b8694ed5221dad5335
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
2,455
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
e3629543f40c546cf51bb37c2ae7539b0733c980
b521802cca8e4ee4ff5a5ffe59175a34f2f6d763
/maya/maya-utils/Scripts/Animation/2019-2-15 Tim Cam_Route_Manager/.history/Cam_Main/Cam_Main/Cam_Main_20190117194302.py
39149174f32dc16da49b80990804dd7f78bc9b70
[]
no_license
all-in-one-of/I-Do-library
2edf68b29558728ce53fe17168694ad0353a076e
8972ebdcf1430ccc207028d8482210092acf02ce
refs/heads/master
2021-01-04T06:58:57.871216
2019-12-16T04:52:20
2019-12-16T04:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,739
py
# -*- coding:utf-8 -*- # Require Header import os import json from functools import partial # Sys Header import sys import traceback import subprocess # Maya Header import maya.cmds as cmds import maya.mel as mel import maya.OpenMayaUI as omui import plugin.Qt as Qt from Qt.QtCore import * from Qt.QtGui import * f...
[ "2595715768@qq.com" ]
2595715768@qq.com
c48b263b359fd78edb64adc043143431bdb69b80
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/e3ebbbfe7e234f848c86e6281082178b.py
364fd3459a9c67d7731467dfdf0b50a1914242a2
[]
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
210
py
def hey(string): if not string.strip(): return 'Fine. Be that way!' elif string.isupper(): return 'Whoa, chill out!' elif string.endswith('?'): return 'Sure.' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
8a6ba3996b46a72a73ca370b427eba807287b0eb
e11b2493f55c60685c3ea76f900be73e6a454b2f
/high_peformance_python/matrix & iterator/list_and_set.py
deda5e0f90c5c616b600d6de3b6e00c725d130dd
[]
no_license
zpoint/Reading-Exercises-Notes
29e566dd86d97eadb84d7bb6f8f640b85486557c
31b38fe927232ba8e6f6a0e7ab9c58026eefcffb
refs/heads/master
2021-06-04T08:12:42.777309
2021-04-19T02:12:22
2021-04-19T02:12:22
70,507,489
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
def list_unique_names(phonebook): unique_names = [] for name, phonenumber in phonebook: firstname, lastname = name.split(" ", 1) for unique in unique_names: if unique == firstname: break else: unique_names.append(firstname) return len(...
[ "zp0int@qq.com" ]
zp0int@qq.com
005dab74220c894d396199899ee60aaacaae6ac3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_squished.py
706288b75fe0e4e6999c43fefc2d7e58c3ec6189
[ "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
240
py
from xai.brain.wordbase.verbs._squish import _SQUISH #calss header class _SQUISHED(_SQUISH, ): def __init__(self,): _SQUISH.__init__(self) self.name = "SQUISHED" self.specie = 'verbs' self.basic = "squish" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9f9f80ab179a523cd94e5105dec350aa9f2db895
84e4149b3571ff4abe5c27a66ecbde03c5afec3c
/chapter_10/section_4_3/remember_me.py
290e2cdaddd45c4dd93827b728d06f21b960e63d
[]
no_license
zhanlu-wm/Python-Crash-Course
6efa04bd5c03e37394b3602d20e7ae57688836e7
043fe97b4acdf0008351fd0fdb045888e9bdd44d
refs/heads/master
2021-07-18T18:34:32.435763
2017-10-23T15:27:17
2017-10-23T15:27:17
103,259,810
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
import json def greet_user(): """问候用户,并指出其名字""" filename = 'username.json' try: with open(filename) as f_obj: username = json.load(f_obj) except FileNotFoundError: username = input("What is your name? ") with open(filename, 'w') as f_obj: json.dump(userna...
[ "ncu09wangming@163.com" ]
ncu09wangming@163.com
b54e8f18efa6c1389182d0d9d0d9ed00020a5ac5
4d5e6e0a7057123ddd7cb97027e667117e1be143
/data_structure/python_dictionary.py
7c2cdca3a3a25e5200e605b252fd542c38fde9b4
[]
no_license
shubhomedia/Learn_Python
cee48990c04521fcbb7dbf5ad120c69170dcd1be
01e0a8e3dc2de87b09c963e7cb9fc5e246831ddb
refs/heads/master
2021-07-01T08:53:51.151326
2021-01-02T17:31:36
2021-01-02T17:31:36
204,191,119
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
#python Dictionary my_dictionary = {'key':'value',('K','E','Y'):5} my_dictionary1 = {x:x+1 for x in range(10)} print(my_dictionary['key']) print(my_dictionary1) try: print(my_dictionary[1]) except Exception as e: print(e) print(my_dictionary.keys()) # print keys print(my_dictionary.values()) # print values m...
[ "shubhomedia@gmail.com" ]
shubhomedia@gmail.com
227f5a29b56728a8daf1b78dbeac24d393ae2c6d
8a47ab47a101d4b44dd056c92a1763d5fac94f75
/力扣/简单练习/344-双指针实现反转字符串.py
ed42ba2e0f43f9e67fb638bb7438fb76bc5b6fbc
[]
no_license
Clint-cc/Leecode
d5528aa7550a13a5bcf2f3913be2d5db2b5299f3
8befe73ab3eca636944800e0be27c179c45e1dbf
refs/heads/master
2020-09-14T07:35:41.382377
2020-07-01T01:27:18
2020-07-01T01:27:18
223,066,742
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
# !D:/Code/python # -*- coding:utf-8 -*- # @Author : Clint # 双指针 def reverseString(s): i = 0 j = len(s) - 1 while i < j: s[i], s[j] = s[j], s[i] i += 1 j -= 1 return s print(reverseString(['w', 'e', 'a', 'r', 'y']))
[ "clint1801@163.com" ]
clint1801@163.com
1773f62bd5e54835d7f80a13b980ba3bec26d85b
b771dbc3dc2dc330cf67ff5d030c3bbd474b5a86
/setup.py
d302b0f496404be0fb05a6368e9df706b82bb04a
[]
no_license
RedTurtle/pyramid_alfresco
8ddd273604edfdf36eabf11205c38d7d140d8312
63129943f52839956e3a39244c1f547ebe5a342f
refs/heads/master
2021-01-10T16:10:22.817580
2013-04-29T08:10:06
2013-04-29T08:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.md')).read() CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() requires = [ 'pyramid', 'SQLAlchemy', 'transaction', 'pyramid_tm', 'pyramid_debugt...
[ "andrew@mleczko.net" ]
andrew@mleczko.net
c30b597e24156bf7d366d9399a2e0c57ceb567e3
93e55f080779f16f47a7382a3fb0b29a4189e074
/convertor/huawei/te/lang/cce/rl_bank/withdraw.py
87bb88cd279db71a35a86e12622cb16606d69a5d
[]
no_license
jizhuoran/caffe-huawei-atlas-convertor
b00cfdec3888da3bb18794f52a41deea316ada67
148511a31bfd195df889291946c43bb585acb546
refs/heads/master
2022-11-25T13:59:45.181910
2020-07-31T07:37:02
2020-07-31T07:37:02
283,966,371
4
2
null
null
null
null
UTF-8
Python
false
false
25,542
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the Apache License Version 2.0.You may not use this file except in compliance with the License. This progra...
[ "jizr@connect.hku.hk" ]
jizr@connect.hku.hk
d71dbfa190cac97849af580c43abaa0c77ae8fd9
34088b8e82bc64a10678a08c03db2732d52f0c1a
/Pinbot/app/vip/models.py
15266cd21515f80e33ecdec75433cdb6b7417899
[]
no_license
winghou/myFirstProfile
757d82f5391f3672e48db4aa5774e26a48a5ecc7
8fc5d16de7b6449cba058f4d2459bbb0c8438f77
refs/heads/master
2020-05-31T13:42:28.554703
2016-03-23T11:30:13
2016-03-23T11:30:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,626
py
# coding: utf-8 import datetime from django.db import models from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes import generic from django.core.urlresolvers import reverse from django.utils.safestring import mark_safe class Product...
[ "Newfarming@NewfarmingdeMacBook-Pro.local" ]
Newfarming@NewfarmingdeMacBook-Pro.local
1aa621a701a09656aeb71c5930bc6daca9a9e26d
d7949f5b2075384075fa066d571144bbbe02ffd8
/supervised/utils/subsample.py
cfd80b0b6af309dc95d037293f409a4fbad068f9
[ "MIT" ]
permissive
mljar/mljar-supervised
57fb56b05b1a53ea979bf9cb9b127f314853bdbd
6722eb1e6441c11990f2aed01a444ddcae478c09
refs/heads/master
2023-08-30T23:48:28.692945
2023-08-28T15:09:39
2023-08-28T15:09:39
156,218,203
2,759
388
MIT
2023-08-28T10:24:12
2018-11-05T12:58:04
Python
UTF-8
Python
false
false
463
py
import numpy as np import pandas as pd from sklearn.model_selection import train_test_split from supervised.algorithms.registry import REGRESSION def subsample(X, y, ml_task, train_size): shuffle = True stratify = None if ml_task != REGRESSION: stratify = y X_train, X_test, y_train, y_test ...
[ "pplonski86@gmail.com" ]
pplonski86@gmail.com
36b154704e3c1462f72659cfa2cda1ae2a75c817
78520f19165b33909364299aaaea2283b8aa2367
/keywords/elif_kwd.py
9560d07296baca68083aaac8fc0abe480d2b3939
[ "BSD-2-Clause" ]
permissive
s3n0/Python-Course
3d3618b97c7d4d9bbe7c3987d2c329203251029b
d48568d096e9a78e397eefd83b2588ddd27aa481
refs/heads/master
2020-09-09T00:51:28.874296
2019-09-29T17:50:48
2019-09-29T17:50:48
221,294,533
0
1
null
2019-11-12T19:23:11
2019-11-12T19:23:10
null
UTF-8
Python
false
false
218
py
#!/usr/bin/python3 # elif_kwd.py name = "Luke" if name == "Jack": print ("Hello Jack!") elif name == "John": print ("Hello John!") elif name == "Luke": print ("Hello Luke!") else: print ("Hello there!")
[ "noreply@github.com" ]
s3n0.noreply@github.com
c9a06a45ccc50918208dc3b38d5f8f81ece849f5
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/fatih/xorg/xorg-video-imstt/actions.py
77b159e19b6e28768b169754190e63b78bbf5007
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import get WorkDir = "xf86-video-imstt-%s" % get.srcVERSION() def setup(): autotools.configure() ...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
919333992dfe9e94cf1dc40447cfe0e90db3d328
bd696223aaf5404987df11832b4c17c916b9690f
/rec_sample/gaussian_process_regressor_numeric_rating/gaussian_process_regressor_numeric_rating/main.py
2d0d88d6ab609827bf79b3e34be5853efebdce0f
[]
no_license
wararaki718/scrapbox3
000a285477f25c1e8a4b6017b6ad06c76f173342
9be5dc879a33a1988d9f6611307c499eec125dc2
refs/heads/master
2023-06-16T08:46:32.879231
2021-07-17T14:12:54
2021-07-17T14:12:54
280,590,887
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
import numpy as np from sklearn.datasets import load_wine from sklearn.gaussian_process import GaussianProcessRegressor def main(): wine = load_wine() X = wine.data y = wine.target gpr = GaussianProcessRegressor() gpr.fit(X, y) for i in np.random.choice(X.shape[0], 10): x = X[i, :] ...
[ "ky7.ott.w@gmail.com" ]
ky7.ott.w@gmail.com
eff38dcf60b38fcc1037d870b04197c61add0189
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/model_control/detailed/transf_Fisher/model_control_one_enabled_Fisher_Lag1Trend_Seasonal_MonthOfYear_SVR.py
bf6738ef2f81d7475f6a83e95b8def2231eab79b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
160
py
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Fisher'] , ['Lag1Trend'] , ['Seasonal_MonthOfYear'] , ['SVR'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
b512a1038df77f42373157c2e38de6ded09715d8
d52522a713d4e0522c22692e05948be897c4339b
/constants/i18n/greetings.py
3cbd99d5b4f8e25b26351d8b69f240a5710c19dc
[ "MIT" ]
permissive
frankwrk/django-htk
de52a9132f494845ed9c3cb19a9e81e22f9a57a3
fa9c6fe18d8651e4b96f036429169d741a1f2fe0
refs/heads/master
2023-04-21T10:37:57.563298
2019-03-04T10:47:49
2019-03-04T10:47:49
173,731,278
0
0
MIT
2023-04-03T23:23:47
2019-03-04T11:21:42
Python
UTF-8
Python
false
false
844
py
#! /usr/bin/env python # -*- coding: utf-8 -*- I18N_GREETINGS = { 'ar' : [ u'مرحبا', ], 'el' : [ u'Χαίρετε', ], 'en' : [ u'Greetings', u'Hello', ], 'eo' : [ u'saluton', ], 'es' : [ u'Hola', u'Como estas', ], 'fr' : [ ...
[ "hello@jontsai.com" ]
hello@jontsai.com
67a9ab339d0c77fe6b902946ddb037814635bb58
d43c1974de5ef60a85d0e8af648f7d1546c1b5c3
/exceptions.py
8525e10d81204d53fb7030613c82e3949c24330c
[]
no_license
Hermotimos/Learning
7168146b1ba80827997a895716c645dda57a47d7
7c5453279a43e9a15c66a1cf925aa9c05c820224
refs/heads/master
2023-08-12T15:42:09.043657
2023-04-01T09:36:21
2023-04-01T09:36:21
180,561,558
0
0
null
2023-07-25T21:26:23
2019-04-10T10:50:22
Python
UTF-8
Python
false
false
3,366
py
""" This file is for learning and exercise purposes. Topics: - exceptions: syntax and catching - examples: ZeroDivisionError, AssertionError Sources: https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-0001-introduction-to-computer-science-and-programming-in-p...
[ "lukas.kozicki@gmail.com" ]
lukas.kozicki@gmail.com
a50c477311cf2c7d396443b3959bdca2fd9644de
0feb9799532328d2eb5c9673751bf44a06652375
/ethics/russellnorvig.py
1391b1d8e488edda475086428c8fd190f4e9c81b
[]
no_license
krishnakatyal/philosophy
ebc78947508f12a9d06356d2cc8d38f6afb0510a
f7735e9adc9ba609894d89384562dbda2f794548
refs/heads/master
2022-03-28T14:00:52.460599
2020-01-25T00:28:55
2020-01-25T00:28:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
""" An artificial intelligence (AI) approach to ethics can embrace many different ideas from philosophy. In "Artificial Intelligence: A Modern Approach," (known as AIMA) computer scientists Peter Norvig and Stuart Russell believe we can create goals for AI to act rationally. Russell asks "What is AI?" as "What is int...
[ "shussainather@gmail.com" ]
shussainather@gmail.com
2de8fd5dc49632454858701d0eb25dff5269111b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2595/49687/317028.py
83ccacc93c888f73a52a2032b57d71c47b87f5fa
[]
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
217
py
listN = [] listK = [] n = int(input()) for i in range(n): inp = input().split() listN.append(int(inp[0])) listK.append(int(inp[1])) for i in range(n): N = listN[i] K = listK[i] print(K**(N-1))
[ "1069583789@qq.com" ]
1069583789@qq.com
28eaa1e1e8d6cfee324f75c131cf883a1ef3d182
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-2/vse-naloge-brez-testov/DN12-M-044.py
b8cbd3d76ee516ba832cb8dba72e35c8674aa25d
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
2,268
py
def preberi(ime_datoteke): a = dict () b = dict () with open (ime_datoteke) as g: vrstica = g.readline () count = 1 while vrstica: a[count] = [] b[count] = [] for e in vrstica.strip ().split(): e = int ( e ) ...
[ "benjamin.fele@gmail.com" ]
benjamin.fele@gmail.com
633ef5cfdfe205fc64d22d17d19aa76fd7270d9e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03910/s208268903.py
9205fa08e81866830a16082ced5475d645ca65f1
[]
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
168
py
N=int(input()) l=0 r=0 for i in range(1,N+1): s=i*(i+1)//2 if s>=N: l=i r=s-N break ans=list(range(1,l+1)) if r!=0: ans.remove(r) print(*ans,sep='\n')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1786fbc05af84e705fd1009dcb2cfb8ad667abcb
c8ef568cd88a82459fca9d7ef2ca298763ef75e1
/04. picamera/01. Basic/ex01.py
2a3f840788fd062d2b7c58d3ee373655be8da213
[]
no_license
caniro/multicampus-iot-raspberrypi
8017711ebe4f9e9a7954649333c8106727b4ff86
b870b25b6386c5e7954b0cdb1f966a6db89e61fd
refs/heads/main
2023-08-12T21:36:28.621846
2021-09-27T08:56:40
2021-09-27T08:56:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
# 파이 카메라 인식 테스트 및 미리보기 from picamera import PiCamera from time import sleep camera = PiCamera() #camera.rotation = 180 # 180도 회전 print(camera.resolution) camera.start_preview() # camera.start_preview(alpha=200) # 투명도 : 0 ~ 255 sleep(1) camera.stop_preview()
[ "caniro@naver.com" ]
caniro@naver.com
a4908a97af26ea234e6156e003de1a6e3a6b89a8
b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4
/toontown/src/quest/BlinkingArrows.py
534b1179b0efd1a72384597e1a99a5cfb1466f4b
[]
no_license
satire6/Anesidora
da3a44e2a49b85252b87b612b435fb4970469583
0e7bfc1fe29fd595df0b982e40f94c30befb1ec7
refs/heads/master
2022-12-16T20:05:13.167119
2020-09-11T16:58:04
2020-09-11T17:02:06
294,751,966
89
32
null
null
null
null
UTF-8
Python
false
false
2,996
py
from direct.interval.IntervalGlobal import * from pandac.PandaModules import * class BlinkingArrows: def __init__(self, parent=aspect2d, otherNode=None): self.arrow1 = loader.loadModel('phase_3/models/props/arrow') self.arrow2 = loader.loadModel('phase_3/models/props/arrow') self.arrowTrac...
[ "66761962+satire6@users.noreply.github.com" ]
66761962+satire6@users.noreply.github.com
e02026690c4a2ea039bfc824c17165f8b40c88c6
e5a52968a86946c4839b64d218cb25f4a91e5ee4
/ml_project/enities/__init__.py
692cab33e78b4a63c6e7f83b77aa4ca9d7921440
[]
no_license
made-ml-in-prod-2021/MaksM89
1a6f40c66de671dca2345e1b44051c01d166e2d8
c00a04b6f77f682e5ff419c0afc4c1ea4669deed
refs/heads/main
2023-06-07T13:27:14.532934
2021-06-24T08:33:08
2021-06-24T08:33:08
354,295,345
1
0
null
2021-06-24T08:33:09
2021-04-03T13:10:38
Jupyter Notebook
UTF-8
Python
false
false
442
py
from .data_params import Features, InputDataset, SplittingParams from .train_params import TrainingParams from .train_pipeline_params import ( read_training_pipeline_params, TrainingPipelineParamsSchema, TrainingPipelineParams, ) __all__ = [ "Features", "InputDataset", "SplittingParams", "...
[ "noreply@github.com" ]
made-ml-in-prod-2021.noreply@github.com
c10fa354b6592ecbb7c64daa0fb6e6f00b1a9cc6
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-mrsp.0/mrsp_ut=3.5_rd=0.65_rw=0.06_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=18/sched.py
cccef8ab09306debebd37b70d423b713008846dd
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
-S 0 -X RUN -Q 0 -L 3 102 400 -S 0 -X RUN -Q 0 -L 3 64 300 -S 0 -X RUN -Q 0 -L 3 61 200 -S 1 -X RUN -Q 1 -L 2 57 300 -S 1 -X RUN -Q 1 -L 2 52 175 -S 1 -X RUN -Q 1 -L 2 42 200 -S 3 -X RUN -Q 2 -L 1 41 200 -S 3 -X RUN -Q 2 -L 1 37 175 -S 3 -X RUN -Q 2 -L 1 33 200 -S 2 -X RUN -Q 3 -L ...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
8c647b3ff310fdfcadf078532d7ada9211a25871
f338eb32c45d8d5d002a84798a7df7bb0403b3c4
/Calibration/EcalCalibAlgos/python/electronRecalibSCAssociator_cfi.py
a80848d2096bba57fd6a045c88013391ba722a56
[]
permissive
wouf/cmssw
0a8a8016e6bebc611f1277379e12bef130464afb
60da16aec83a0fc016cca9e2a5ed0768ba3b161c
refs/heads/CMSSW_7_3_X
2022-06-30T04:35:45.380754
2015-05-08T17:40:17
2015-05-08T17:40:17
463,028,972
0
0
Apache-2.0
2022-02-24T06:05:30
2022-02-24T06:05:26
null
UTF-8
Python
false
false
465
py
import FWCore.ParameterSet.Config as cms electronRecalibSCAssociator = cms.EDProducer("ElectronRecalibSuperClusterAssociator", electronCollection = cms.string(''), scIslandCollection = cms.string('IslandEndcapRecalibSC'), scIslandProducer = cms.string('correctedIslandEndcapSuperClusters'), scProducer =...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
14d500c1c4aae9c78ce481e73ff595c4ecac06f5
d424bb5aef62c9bf07319a26cebc4f14433f927d
/ganji/GraphMaker/sample_bar_chart.py
501426d9d6cf28e2227047ea2bc5304f53b4fc51
[]
no_license
adorn331/CrawlerToy
d840104610ae3f8b51ddf5e8cb604573c626cc3b
e51ffd2785c3c22e934390a555257314ae6ef858
refs/heads/master
2021-07-05T18:15:29.892398
2017-09-24T14:12:08
2017-09-24T14:12:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
#统计北京某个区各种类目前三名的柱状图 import pymongo import charts conn = pymongo.MongoClient('localhost', 27017) ganji_db = conn['ganji'] data_collection = ganji_db['sample'] areas = list(set(i['area'][0] for i in data_collection.find() if i['area'])) print(areas) #查看所有区,选一个柱状图 area = '朝阳' #选中了朝阳区,画图 pipeline = [ {'$match':{ '...
[ "=" ]
=
1026a750eaee8be82b50bdae67d4dda6f5751fb1
a8e095cfb21beef091870e5373b53f02bed66c25
/arttest_25051/wsgi.py
6a3b618e2ecf14289ccbc64fe8c07065a8a6d7a9
[]
no_license
crowdbotics-apps/arttest-25051
910f5b636d17e66956ac3e2451854495477e7f21
14d408f68fa0cb4ef07d12a911b3eacd38395351
refs/heads/master
2023-03-20T20:52:42.115848
2021-03-16T15:33:18
2021-03-16T15:33:18
348,400,347
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for arttest_25051 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0042178b6dbbb24ce80e628b46cffd655a787f57
76718066cbc971b83d1d633cad9daac52ad3ec50
/src/truverifi/_compat.py
4e02e40734d0f0f75a0c14495eeea428a0df1a6e
[ "MIT" ]
permissive
achillesrasquinha/truverifi
594366622c535faefdc25b8ef2dabdbe3523c733
4e1b3760a9744b44a86ec2dfaff6714680c8b78c
refs/heads/master
2020-05-18T05:13:06.665240
2019-04-30T05:57:10
2019-04-30T05:57:10
184,199,229
0
2
null
null
null
null
UTF-8
Python
false
false
694
py
# imports - standard imports import sys PYTHON_VERSION = sys.version_info def _is_python_version(*args, **kwargs): major = kwargs.get("major", None) minor = kwargs.get("minor", None) patch = kwargs.get("patch", None) result = True if major: result = result and major == PYTHON_VERSION....
[ "achillesrasquinha@gmail.com" ]
achillesrasquinha@gmail.com
7c738fca51ec5ae686b8427e6283007ca86b8fe3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_reconsidered.py
c4e21782a16ada2154592bfc1620661ed878cbaa
[ "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
240
py
#calss header class _RECONSIDERED(): def __init__(self,): self.name = "RECONSIDERED" self.definitions = reconsider self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['reconsider']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b042807be384a59317acdd5cc345a25db9bcb91d
779c7d032eb8d5a4421b8b236c9004559b70756d
/apps/guide/views.py
d0c5fdb435ccd749ccf739f768d9dd442ab5c698
[]
no_license
corincerami/opus
727e91a461a6488f2bc263ca6c98a27a93424228
281f246ff5bd703a009ab3bad6271249e0e00bff
refs/heads/master
2022-11-11T13:46:06.317320
2018-01-11T00:33:54
2018-01-11T00:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
from guide.models import * from django.shortcuts import render from django.http import HttpResponse,Http404 from metrics.views import update_metrics def guide(request): update_metrics(request) base_url = 'http://' +request.META['HTTP_HOST'] + '/opus/' groups = Group.objects.all() resources = Resource....
[ "lballard.cat@gmail.com" ]
lballard.cat@gmail.com
d01735590a12438f621f7f2c8fc404a7731f5110
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py
aea084ed7fdb4f9083151e60941914c2209adfea
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
22,377
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 ...
[ "noreply@github.com" ]
manoj0806.noreply@github.com
23775dbc49c80065be3ec06e8bca9463ab4b509e
08ff1c20de52e779f687136839cff5e9e0510d22
/numpy/37.py
b73d41d440abaf8d6e7860184ae721234dcc8acd
[]
no_license
Xman145/altanml
e5476ee7398fba265e60eb17637d8f2ade46b7c0
a4116dcc73a16bbf5f866c6bf59b9d0cd7a62330
refs/heads/master
2022-05-04T18:03:39.093407
2019-03-23T09:37:34
2019-03-23T09:37:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
import numpy as np Z = np.zeros((5,5)) Z += np.arange(5) print(Z)
[ "you@example.com" ]
you@example.com
0941270ae04ce144a75e7713ef41b05f253c564e
a74b980fd95d5d810315f181449fc9d1710e6923
/savecode/pythonpackages/commonbaby/proxy/proxydb.py
33d4923fcb83ada3ef5947cea1c36f4183d09eb1
[ "Apache-2.0" ]
permissive
cbbbbbbbb/sspywork
b70f5539203b47b21eec2f0514ddca155affc2b8
8f05a6b91fc205960edd57f9076facec04f49a1a
refs/heads/master
2023-03-22T19:45:13.024076
2021-03-08T01:24:21
2021-03-08T01:24:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,918
py
"""proxy sqlite db""" # -*- coding:utf-8 -*- import sqlite3 import threading import time import traceback from abc import ABCMeta, abstractmethod from ..mslog.loghook import LogHook from ..mslog.msloglevel import MsLogLevel, MsLogLevels from ..sql import (SqlCondition, SqlConditions, SqlConn, SqliteColumn, ...
[ "shiyuegege@qq.com" ]
shiyuegege@qq.com
949c746f1ce29096b7f31f94da55866632df6c4d
f7ac9ae8835b243a6ddbf4a1e8230883266186b9
/Maximum-AND/code.py
80d481203b5b01876dc761171b693523328122c4
[]
no_license
sohailshaukat/HackerEarth-competition-solutions
b992d8bef8bd9f0806e2fa1cb2870500647942ee
6e969aec4b8e224a2c0f1b18bddde250d2bcced6
refs/heads/master
2020-07-04T21:23:57.339578
2019-08-15T20:04:23
2019-08-15T20:04:23
202,422,662
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
''' -sohailshaukat ( https://github.com/sohailshaukat ) -sohail47k@gmail.com ''' times = int(input()) for _ in range(times): inp = input().split() a = int(inp[0]) b = int(inp[1]) maximum_and = 0 maximum = (2 ** len(bin(a).replace('0b','')))-1 for i in range(b+1,a,-1): if i &(i-1) > maxim...
[ "sohail47k@gmail.com" ]
sohail47k@gmail.com
eff291c741a23fff2801d4e5b8d88673b9c4de5e
3a7412502b89b917f23cda9a3318d2dc4d02185b
/panoptes/accounts/fields.py
0d6c7b6a50e7bf1df9d2d8df027f17552bc77e87
[ "BSD-2-Clause" ]
permissive
cilcoberlin/panoptes
5f0b19d872993bc5c7f51a44c9ccc596fe0a8ab5
67d451ea4ffc58c23b5f347bfa5609fa7f853b45
refs/heads/master
2021-01-21T00:17:42.038637
2012-07-10T03:20:47
2012-07-10T03:20:47
1,660,305
1
0
null
null
null
null
UTF-8
Python
false
false
471
py
from django import forms from django.contrib.auth.models import User class UserField(forms.ModelChoiceField): """A select field for a user that uses their full name for sorting and display.""" def __init__(self, *args, **kwargs): kwargs['queryset'] = User.objects.all().order_by('last_name', 'first_name') supe...
[ "justin.locsei@oberlin.edu" ]
justin.locsei@oberlin.edu
f94cf11d95f5bda38870aba5378e6b1b03e8652a
742c5bfcff91a454dfe6df0be6d98408fa990569
/bnum/tests/implement.py
61f86421302cdcd18793cc18df15bc5d8d1f9db3
[]
no_license
andrewcooke/bnum
ea9179c1379a1ea92d68dc361a44414dc7582379
7f93379cff5c4605195fdfb3868ba0185f66b20c
refs/heads/master
2020-05-24T14:48:24.189229
2013-06-02T15:34:44
2013-06-02T15:34:44
10,178,884
4
0
null
null
null
null
UTF-8
Python
false
false
1,656
py
from unittest import TestCase from bnum import ImplicitBnum, ExplicitBnum, from_one ''' Test various implementation details. ''' class NoExplicitTest(TestCase): def test_no_explicit_in_implicit(self): with self.assertRaises(TypeError): class Colour(ImplicitBnum): red = 1 ...
[ "andrew@acooke.org" ]
andrew@acooke.org
bb40962baa7b16fd1d7cade0ce12acb734b3138e
236a8988e513bfa286298d426e705f92099dc25a
/examples/torch_tensor_io.py
2621176e34ced5edf3515316d487af041334fc8a
[ "MIT" ]
permissive
hzy5000/taichi
99a468ad3efe31e57a0bb60f7321f55dd1537f65
73dfd36fa190b0ff39a962e18d2c8cd3b41b32ce
refs/heads/master
2020-08-28T02:49:58.455700
2019-10-25T13:29:31
2019-10-25T13:29:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
import taichi as ti import numpy as np import torch # ti.set_gdb_trigger(True) ti.cfg.arch = ti.cuda # n = 1024 * 1024 n = 32 y = ti.var(ti.f32) # https://pytorch.org/tutorials/beginner/examples_autograd/two_layer_net_custom_function.html @ti.layout def values(): # actually useless in thie example ti.root.dens...
[ "yuanmhu@gmail.com" ]
yuanmhu@gmail.com
7e6ae7bf76d99e46c491659b5c586f3f419bf314
2ff556bb90d2a004e92c07bf4101325f492825b5
/bot/plugins/lists.py
12a316e74e0d9146d2daefccde275dcbfdf52a7a
[]
no_license
qinyuhang/qbittorrent-bot
df471f1ef46904dcb0a71291da08a941dc57f6f5
e7ff17a4513d08e55cfbe1d27afa2729e013933c
refs/heads/master
2023-09-02T18:25:15.933139
2021-11-22T22:20:13
2021-11-24T01:20:05
411,872,254
0
0
null
2021-11-24T01:20:06
2021-09-30T00:38:07
Python
UTF-8
Python
false
false
2,897
py
import logging import re # noinspection PyPackageRequirements from telegram.ext import CallbackQueryHandler, CallbackContext, MessageHandler, Filters # noinspection PyPackageRequirements from telegram import ParseMode, Update, BotCommand from bot.qbtinstance import qb from bot.updater import updater from utils import...
[ "numeralzeroone@gmail.com" ]
numeralzeroone@gmail.com
31e5bdfe0d035cdb5f07f4feb56b9aa681368837
b6aa9768dbac327943e0220df1c56ce38adc6de1
/775_n-ary-tree-preorder-traversal.py
108edc9956ffc6834b3b3b87214f7572d22da8ec
[]
no_license
Khrystynka/LeetCodeProblems
f86e4c1e46f70f874924de137ec5efb2f2518766
917bd000c2a055dfa2633440a61ca4ae2b665fe3
refs/heads/master
2021-03-17T00:51:10.102494
2020-09-28T06:31:03
2020-09-28T06:31:03
246,954,162
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
# Problem Title: N-ary Tree Preorder Traversal """ # Definition for a Node. class Node(object): def __init__(self, val, children): self.val = val self.children = children """ class Solution(object): def preorder(self, root): """ :type root: Node :rtype: List[int] ...
[ "khrystyna@Khrystynas-MacBook-Pro.local" ]
khrystyna@Khrystynas-MacBook-Pro.local
747ee9a7651abc0c1c4d1f012b95d88e8a937ccc
baf3996414315ffb60470c40c7ad797bf4e6897f
/02_ai/1_ml/9_xgboost/code/chapter_15/plot_performance.py
10e2225a0794e6e34bca57b257321b24d317a4ea
[ "MIT" ]
permissive
thiago-allue/portfolio
8fbbecca7ce232567aebe97c19944f444508b7f4
0acd8253dc7c5150fef9b2d46eead3db83ca42de
refs/heads/main
2023-03-15T22:10:21.109707
2022-09-14T17:04:35
2022-09-14T17:04:35
207,919,073
0
0
null
2019-11-13T18:18:23
2019-09-11T22:40:46
Python
UTF-8
Python
false
false
343
py
# Plot performance for learning_rate=0.1 from matplotlib import pyplot n_estimators = [100, 200, 300, 400, 500] loss = [-0.001239, -0.001153, -0.001152, -0.001153, -0.001153] pyplot.plot(n_estimators, loss) pyplot.xlabel('n_estimators') pyplot.ylabel('Log Loss') pyplot.title('XGBoost learning_rate=0.1 n_estimators vs L...
[ "thiago.allue@yahoo.com" ]
thiago.allue@yahoo.com
62d9537af18fc3c30d69a9a1d9bf0cc5f02f761c
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/better_storylines/src/evaluate_story_cloze_test.py
ea25a83e6fd346a0dd0ad056702fa1e1c874bb62
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
4,258
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
80c993714af78f5cb4e4762af61c743c91c48e70
379f10752e962b0695bdedcde5d55584b50cb0c0
/setup.py
2b616540f4bcfdb409eaba1bf1883e228b215dc0
[ "MIT" ]
permissive
mahlettaye/Lidar_3DEM
e6a9c875c2900a1d7c9e3c490d4625a11a6b7a29
af0a10afb7a6acd3e7eb601cb2152015458ed52e
refs/heads/master
2023-08-13T10:35:13.895085
2021-10-20T04:18:32
2021-10-20T04:18:32
400,816,265
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
from setuptools import setup, find_packages classifiers = [ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Education', 'Programming Language :: Python :: 3' ] setup( author='Mahlet Taye', author_email='formahlet@gmail.com', name='LIDAR_3DEM', version='0.1.0', descripti...
[ "you@example.com" ]
you@example.com
1b406de1919caca2dece64fef18698e9565e11d1
055581f9d6c81eda2f73ea05b90b7a2256da1219
/parts/zodiac/mako/ast.py
8aa16242b58e31b889f9127734861c58b006ed67
[]
no_license
Tosti770/zodiac
488a91c3e872a62d09a3ebb22a951dadcbd1c2df
af0380e20eb90699a84e3b7c6cb2085a1fb81667
refs/heads/master
2020-04-13T06:54:26.333228
2014-03-03T20:10:11
2014-03-03T20:10:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
/home/ruben/zodiac/eggs/Mako-0.9.0-py2.7.egg/mako/ast.py
[ "ruben_tc@hotmail.es" ]
ruben_tc@hotmail.es
ca15ef94c2fec676a5bdfc69144f1460e71c6167
c099611e42319053888a747ea78468224e45a725
/Polar-slepian/V_27_ani/finaltptcombinedplotter.py
c68e65ba5b2b07ca5699c7ddf28a12b335bcfafc
[]
no_license
sbsoumya/PolarProject-Code_Res
118f54593716520c71cdc0e479236ffdc1a94f89
12a3b6fb24cf8160a519c74b064fd845066cbe0b
refs/heads/master
2021-06-27T21:04:41.057937
2019-03-22T20:56:44
2019-03-22T20:56:44
129,615,052
1
0
null
null
null
null
UTF-8
Python
false
false
28,765
py
from tbounds import * from pprint import pprint complist=[0.03,0.11,0.17] plt.rc('xtick', labelsize=14) plt.rc('ytick', labelsize=14) plt.rc('savefig',dpi=300) plt.rc('figure', figsize=[8,3]) """ fig=plt.figure() plt.subplots_adjust(top=0.95,bottom=0.15,right=0.8,left=0.09) ax=plt.subplot(111) #fig.suptitle("HARQ s...
[ "soumya.s.banerjee17@gmail.com" ]
soumya.s.banerjee17@gmail.com
6480af91ae31cc3d289d896f4297cc1af6742c2f
00a9295409b78a53ce790f7ab44931939f42c0e0
/FPGA/apio/iCEBreaker/FIR_Filter/sympy/venv/lib/python3.8/site-packages/sympy/matrices/tests/test_normalforms.py
5be332446dac4ca65b0ac9c87b3e1e1666f6869d
[ "Apache-2.0" ]
permissive
klei22/Tech-OnBoarding-Class
c21f0762d2d640d5e9cb124659cded5c865b32d4
960e962322c37be9117e0523641f8b582a2beceb
refs/heads/master
2022-11-10T13:17:39.128342
2022-10-25T08:59:48
2022-10-25T08:59:48
172,292,871
2
3
Apache-2.0
2019-05-19T00:26:32
2019-02-24T03:50:35
C
UTF-8
Python
false
false
882
py
from sympy import Symbol, Poly from sympy.polys.solvers import RawMatrix as Matrix from sympy.matrices.normalforms import invariant_factors, smith_normal_form from sympy.polys.domains import ZZ, QQ def test_smith_normal(): m = Matrix([[12, 6, 4,8],[3,9,6,12],[2,16,14,28],[20,10,10,20]]) setattr(m, 'ring', ZZ) ...
[ "kaunalei@gmail.com" ]
kaunalei@gmail.com
1dd04629d4fe0a0932f648ef6f07170eb03fe9e0
46ac0965941d06fde419a6f216db2a653a245dbd
/sdks/python/test/test_AppDistributionGroupUsersRequest.py
93310f6c325a96c20600d8c0e085dcb9a65832aa
[ "MIT", "Unlicense" ]
permissive
b3nab/appcenter-sdks
11f0bab00d020abb30ee951f7656a3d7ed783eac
bcc19c998b5f648a147f0d6a593dd0324e2ab1ea
refs/heads/master
2022-01-27T15:06:07.202852
2019-05-19T00:12:43
2019-05-19T00:12:43
187,386,747
0
3
MIT
2022-01-22T07:57:59
2019-05-18T17:29:21
Python
UTF-8
Python
false
false
1,066
py
# coding: utf-8 """ App Center Client Microsoft Visual Studio App Center API # noqa: E501 OpenAPI spec version: preview Contact: benedetto.abbenanti@gmail.com Project Repository: https://github.com/b3nab/appcenter-sdks """ from __future__ import absolute_import import unittest import appcente...
[ "b3nab@users.noreply.github.com" ]
b3nab@users.noreply.github.com
d56787796d37eb49a9a784dcd66499f4274899f0
20387589a922dcfdfb47c23c692318b9cc4f7515
/listings/views.py
a7b9bef8da7811f2fc3be8f3a7228589097c1cc8
[]
no_license
shahjalalh/btre
c95a951eea32bde64d8cd01a73771efed0b99125
56069a03b8fc35febdb864312aefb368404d3090
refs/heads/master
2020-05-22T03:27:19.401585
2019-10-21T10:44:40
2019-10-21T10:44:40
186,212,698
0
0
null
null
null
null
UTF-8
Python
false
false
2,050
py
from django.shortcuts import render, get_object_or_404 from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator from listings.models import Listing from listings.choices import price_choices, bedroom_choices, state_choices # Create your views here. def index(request): listings = Listing.objects....
[ "shahjalal.tipu@gmail.com" ]
shahjalal.tipu@gmail.com
a50a3721da05a0a27cecaa6aa1c042b2b6af8159
117626e3c32dc848519d319635cb995bbe78dd43
/examples/imdb.py
017f8bf4266a595c1d70cff9213516ae760ed660
[ "MIT" ]
permissive
amcs1729/Keras-IndRNN
412a183a0f1149ce905ebef6748330079ae0ad8d
e5f1da3c4d191bd528491f11ae7bdf0fdb54df21
refs/heads/master
2022-11-15T03:24:41.366368
2020-07-10T15:34:29
2020-07-10T15:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,254
py
'''Trains a Minimal RNN on the IMDB sentiment classification task. The dataset is actually too small for Minimal RNN to be of any advantage compared to simpler, much faster methods such as TF-IDF + LogReg. ''' from __future__ import print_function import os from keras.preprocessing import sequence from keras.models im...
[ "titu1994@gmail.com" ]
titu1994@gmail.com
f89f783a1d90fd93f69cab3aa560869306aa5aad
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/vz/rtintraepg.py
60a181a70e329f73daad40d7b7e163a4d27998c4
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
6,137
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
3922819099c6ac8d461fdda7a281e41f2ade3c9c
03dfcd4bd41ff9ba76e67895e96a9794ad003a31
/tutorial/9-classes/object.py
e2a14344132cd7641300d8541f7d7f4f772ff7bf
[]
no_license
gittygitgit/python-sandbox
71ca68fcc90745931737f7aeb61306ac3417ce60
3b3e0eaf4edad13aabe51eb3258ebe9e6b951c67
refs/heads/master
2021-01-19T02:41:17.047711
2018-11-22T18:07:15
2018-11-22T18:07:15
39,742,770
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
#!/usr/bin/python # is there an Object class that everything extends from? # yes # how do you get a handle to the Object class? print object # object has no baseclasses print object.__bases__ # returns empty tuple () # difference between a type and a base... # each object has a single type...it's type print type("t...
[ "grudkowm@Michaels-Air-2.fios-router.home" ]
grudkowm@Michaels-Air-2.fios-router.home
9f55979e50154c96648c73a1506a7753eef4cfda
0c469c4100fe9d352e83731688e388062a3c55c7
/bactracking/37. Sudoku Solver.py
96b9e17b6889f4bd966b4d102c71d7b9b3372080
[]
no_license
asperaa/back_to_grind
9e055c7e6561384e5b7ae52f01063e4beb34a298
5ea1976b9d5c6d04800e296e45e8ff90fdde5001
refs/heads/master
2022-12-16T18:32:01.443743
2020-09-05T13:29:39
2020-09-05T13:29:39
254,910,528
1
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
"""We are the captains of our ships, and we stay 'till the end. We see our stories through. """ """37. Sudoku Solver """ class Solution: def solveSudoku(self, board): self.solve(board) def solve(self, board): for i in range(9): for j in range(9): if board[i][j...
[ "adityaankur44@gmail.com" ]
adityaankur44@gmail.com
fd33f9e1e4befb522cdb051178add1f66fc9e2ad
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PyQt5/QtWidgets/QListWidgetItem.py
0787a284749b0903ac1dee930f442569072e297e
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
6,602
py
# encoding: utf-8 # module PyQt5.QtWidgets # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\QtWidgets.pyd # by generator 1.146 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import PyQt5.QtGui as __PyQt5_QtGui import sip as __sip class QListWidgetItem(__sip.wrapper): ...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
c285438f7e8e453c14624038b1b409d0666a8568
33ff050337ba4575042032d9602bf84dcf81435e
/test/functional/test_framework/authproxy.py
270128a77fe0e70ba6108139c410b737c1c6b010
[ "MIT" ]
permissive
robinadaptor/chronon
5256b33fbe797bbdeb9c9a3c2091f0592afe6614
630b3945824c1b1cd2ea67ca80835a9f669b9124
refs/heads/master
2020-07-11T06:27:01.758237
2019-12-17T20:53:48
2019-12-17T20:53:48
145,383,639
0
0
null
null
null
null
UTF-8
Python
false
false
7,620
py
# Copyright (c) 2011 Jeff Garzik # # Previous copyright, from python-jsonrpc/jsonrpc/proxy.py: # # Copyright (c) 2007 Jan-Klaas Kollhof # # This file is part of jsonrpc. # # jsonrpc is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # th...
[ "robin.adaptor@gmail.com" ]
robin.adaptor@gmail.com