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
c0a93e368941fa37baddd6151ac2f3deaa92f650
1adc05008f0caa9a81cc4fc3a737fcbcebb68995
/hardhat/recipes/rpkg/nipals.py
75d104e2c794d340891ef8ba4750caa91d159918
[ "MIT", "BSD-3-Clause" ]
permissive
stangelandcl/hardhat
4aa995518697d19b179c64751108963fa656cfca
1ad0c5dec16728c0243023acb9594f435ef18f9c
refs/heads/master
2021-01-11T17:19:41.988477
2019-03-22T22:18:44
2019-03-22T22:18:52
79,742,340
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
from .base import RPackageBase from ..base import SourceMixin class NipalsRecipe(RPackageBase): def __init__(self, *args, **kwargs): super(NipalsRecipe, self).__init__(*args, **kwargs) self.sha256 = 'bae93f8254166ee62ced3ae372c25271' \ '3945f5fc51f8303ba574744264ed3241' ...
[ "clayton.stangeland@gmail.com" ]
clayton.stangeland@gmail.com
0c5af194c9baa72bf561be3829d0c96e8dfe3a76
a67a987ed078da0a1de2908c8c0e08070dee65b1
/genice/lattices/Struct57.py
8ab6ddccad2875c664059d05fa3fe325fbd074fa
[]
no_license
Python3pkg/GenIce
ef1ce7ee2997c10e08dde75ac36050a653cd4fc5
1e9458b7bf8e0fd2ad5d0c4f8987cea0ae7ca0b0
refs/heads/master
2021-01-21T17:31:51.595858
2017-05-21T14:09:32
2017-05-21T14:09:32
91,962,047
0
0
null
2017-05-21T14:09:28
2017-05-21T14:09:28
null
UTF-8
Python
false
false
6,675
py
""" Data source: Dutour Sikirić, Mathieu, Olaf Delgado-Friedrichs, and Michel Deza. “Space Fullerenes: a Computer Search for New Frank-Kasper Structures” Acta Crystallographica Section A Foundations of Crystallography 66.Pt 5 (2010): 602–615. Cage composition: (12,14,15,16) = (12,12,0,4,) """ pairs=""" 8 79 132 124 ...
[ "vitroid@gmail.com" ]
vitroid@gmail.com
1ef2de447a021e6da5b57bb6ff88ba0555796709
036c69a0c27cfdc0b0d9d6169caf027635b66325
/leetcode633.py
6f082a59a764909a1c91da134cf980861e95a51a
[]
no_license
Marco2018/leetcode
19b6b2c19452babf0198f8705e0dd1f31c321017
c7dc709a7a9b83ef85fbc2d0aad7a8829f1035d1
refs/heads/master
2020-03-23T17:34:09.637831
2020-01-18T11:00:36
2020-01-18T11:00:36
141,865,308
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
import math class Solution(object): def judgeSquareSum(self, c): """ :type c: int :rtype: bool """ i,j=0,int(math.sqrt(c)) while i<=j: if c==i*i+j*j: return True elif c<i*i+j*j: j-=1 else: ...
[ "513045631@qq.com" ]
513045631@qq.com
9c65c480160a9c5018e9682e03fd097c1d440b6e
2558ee962f83929830c00741e8ad5b04f0dbc254
/05/14.py
fc265def275e601f03cefd5fdb369d4c0b3f6e8d
[]
no_license
loveQt/PythonWebSourceCode
80ffc7cdd8882acb2ab70c4b8fa46a51560d2e04
086ac2acbb388eda0656c99e86b00c7020e4acba
refs/heads/master
2021-01-10T21:08:32.485624
2015-06-16T15:39:55
2015-06-16T15:39:55
37,539,522
0
1
null
null
null
null
UTF-8
Python
false
false
98
py
userList = ['0001' , '0004' , '0006' , '0002' , '0005' , '0003'] userList.reverse() print userList
[ "shmilydxc@vip.qq.com" ]
shmilydxc@vip.qq.com
0a1d6f058d79fafc887ca3d6f1ded85f8244d634
04b1803adb6653ecb7cb827c4f4aa616afacf629
/tools/md_browser/gitiles_ext_blocks.py
b1a53795e1750d12737e6a32144106c9d9ba5cac
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LGPL-2.1-only", "APSL-2.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LGPL-2.0-only", "LicenseRef-scancode-unknown", "MIT", "Zlib" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
2,797
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Implements Gitiles' notification, aside and promotion blocks. This extention makes the Markdown parser recognize the Gitiles' extended blocks notation. T...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
54a3fad2138ebacedcf8939c0b6196bb4d9b3dbb
edcd74f8f65119bdbe737360c2ca33b4a6da160a
/python/problem-google-code-jam/2018_b.py
98699ff0f46a03da210a2e0def950bde3e33e108
[]
no_license
hyunjun/practice
72e83de6a1d5e04ddcd16526f16110ea2dd00373
5376dd48b1cefb4faba9d2ef6a8a497b6b1d6c67
refs/heads/master
2023-08-31T07:00:37.320351
2023-08-17T07:29:24
2023-08-17T07:29:24
2,704,126
3
2
null
2022-12-14T20:25:07
2011-11-03T18:28:44
Python
UTF-8
Python
false
false
804
py
# https://blog.naver.com/ndb796/221247631646 class Solution: def troubleSort(self, inp): if inp is None or 0 == len(inp): return [] idx = len(inp) - 1 while 0 < idx: tmpIdx = idx while 1 < tmpIdx and inp[tmpIdx - 2] > inp[tmpIdx]: inp[t...
[ "morpheus.0@kakaocorp.com" ]
morpheus.0@kakaocorp.com
ff7a09345bd02f4ebdab16d53b8302d3dce3e7ee
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2453/60870/282722.py
88542fe2fc3834eef30ed5e16b8c623fc16f52c9
[]
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
137
py
array = input().split(',') array = [int(x) for x in array] num = int(input()) if num in array: print('True') else: print('False')
[ "1069583789@qq.com" ]
1069583789@qq.com
cb485c661040f1cf200e0437e69f0fea29343ef5
caa175a933aca08a475c6277e22cdde1654aca7b
/tests/test_version.py
e7294ded840af2ff9d2315172936d70b828d4787
[ "MIT" ]
permissive
simonsobs/acondbs
01d68ae40866461b85a6c9fcabdfbea46ef5f920
d18c7b06474b0dacb1dcf1c6dbd1e743407645e2
refs/heads/main
2023-07-07T04:33:40.561273
2023-06-28T22:08:00
2023-06-28T22:08:00
239,022,783
0
1
MIT
2023-06-26T20:36:39
2020-02-07T21:07:46
Python
UTF-8
Python
false
false
139
py
import acondbs def test_version() -> None: '''test if the version string is attached to the module''' assert acondbs.__version__
[ "tai.sakuma@gmail.com" ]
tai.sakuma@gmail.com
fa497cff7ed5d5a4a2209a08b49b728ff7acf821
855501a4cb8a54e0c977d53e6f5d76d8938f99cb
/Quicksort 2 - Sorting.py
299b80349cb57d654b3016753c09c626f9a9cdef
[]
no_license
Beowulfdgo/HackerRank
3d7713f68a595af76d857ac9955ae55565b8391f
e4384253f27eee296e0cad39a402cadf47c90164
refs/heads/master
2023-05-31T05:30:21.425792
2021-06-29T08:47:11
2021-06-29T08:47:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
def quicksort(ar): if len(ar) < 2: return ar lt, eq, rt = [], [], [] for item in ar: if item < ar[0]: lt.append(item) elif item > ar[0]: rt.append(item) else: eq.append(item) sub = quicksort(lt) + eq + quicksort(rt) print(' '.join([...
[ "54479676+CormacKrum@users.noreply.github.com" ]
54479676+CormacKrum@users.noreply.github.com
a7b4e3f4a3f9ff40a6a3bb1db9cfec26f6dbcff9
0e083f405af00029c9ec31849f0f7f81c56844b5
/demo/python/pipeline.py
f949a910f602bf36b5b2c010c68e3d8b50f4771f
[ "Apache-2.0" ]
permissive
open-mmlab/mmdeploy
39b9e7b611caab2c76a6142fcb99f0bf1d92ad24
5479c8774f5b88d7ed9d399d4e305cb42cc2e73a
refs/heads/main
2023-09-01T21:29:25.315371
2023-08-31T09:59:29
2023-08-31T09:59:29
441,467,833
2,164
605
Apache-2.0
2023-09-14T10:39:04
2021-12-24T13:04:44
Python
UTF-8
Python
false
false
1,952
py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import json import cv2 from mmdeploy_runtime import Context, Device, Model, Pipeline def parse_args(): parser = argparse.ArgumentParser( description='Demo of MMDeploy SDK pipeline API') parser.add_argument('device', help='name of device,...
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
0ecebed8a726b83ea5c9897feeff12131b5ad2e4
bf548b525bdd0f229fd727b59b329abb74776ac0
/crm_serverhost/crm/views.py
5870c92a05c62c1163e497648b80223a262f3043
[]
no_license
xuliwei1216/idc_server_crm
6b07e9e4a33622498fe10d1cd3fda44d80000c62
71159e4ec51b0343067bf943db73499ed986b7d6
refs/heads/master
2020-03-27T22:55:06.152440
2018-09-04T01:41:13
2018-09-04T01:41:13
147,271,957
0
0
null
null
null
null
UTF-8
Python
false
false
21,131
py
from django.shortcuts import render,redirect from crm import models from django.core.paginator import Paginator,EmptyPage,PageNotAnInteger from crm import forms from crm import check01_up_down from crm import check02_up_down import math from crm.permissions import check_permission # Create your views here. count_page ...
[ "admin@example.com" ]
admin@example.com
7dc37255f0bda7cbe80a39dbbbb19e810041493e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03049/s443206428.py
3f28d62a3383c1b8d8566f4abf3168dd0e4cec49
[]
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
745
py
N = int(input()) count_ab = 0 count_start_b = 0 count_finish_a = 0 count_start_b_finish_a = 0 for i in range(N): s = input() count_ab += s.count('AB') # print(s, s[0], s[-1]) if s[0] == 'B' and s[-1] == 'A': count_start_b_finish_a += 1 elif s[0] == 'B': count_start_b += 1 elif s...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2af4da4361839bb82ba5aca5151b060f1fa31da5
7a658cf845650b8ef0fdbc77bd75a6e668d91889
/contrib/devtools/copyright_header.py
23a2ba27932c73716c306dd16f2a8fe79ed33e9f
[ "LicenseRef-scancode-public-domain", "MIT" ]
permissive
ahmedbodi/nyc3
a6cb8c41db5d2eac445b9f7650970479d0642f57
36880f1b75acc2ff4642be927fac953f48c8ea49
refs/heads/master
2022-01-23T09:54:03.782147
2019-07-21T20:34:39
2019-07-21T20:34:39
197,980,317
0
1
MIT
2019-07-27T21:20:05
2019-07-20T20:56:32
C++
UTF-8
Python
false
false
22,639
py
#!/usr/bin/env python3 # Copyright (c) 2016 The Bitcoin Core developers # Copyright (c) 2017 The Nyc3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import re import fnmatch import sys import subprocess import dat...
[ "william.kibbler@googlemail.com" ]
william.kibbler@googlemail.com
7a68101804a74608cbce1f189b3552132caaf3b5
e95236dd5ca3c39c39586b5cafeacd06d923e20b
/models/btcmodel.py
e516c93d630307aa632512597fdf051e994c708a
[]
no_license
raoden1/Minotaur
14bc7e56ca2437af3ec4d6af3c85fc1062bade65
8787244cc6ac9cd6347e84705a2908026ec78f25
refs/heads/master
2020-04-26T11:42:16.314463
2019-02-02T19:20:30
2019-02-02T19:20:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,455
py
import datetime from binance.client import Client import pandas as pd from sklearn.preprocessing import MinMaxScaler import numpy as np from keras.models import Sequential from keras.layers import Dense from keras.layers import LSTM import matplotlib.patches as mpatches import matplotlib.pyplot as plt # Instanciate Bi...
[ "merwanedr@gmail.com" ]
merwanedr@gmail.com
1d6acadc9d5be41109f9aa503af6f638f48eb0fd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02963/s382016550.py
b17e4a66ac52bc376bdd76a24fac8abb77cb2820
[]
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
197
py
S=int(input()) if S<10**18: X1,Y1=0,0 mod=10**9 X2=mod Y3=S//mod + 1 Y2=1 X3=mod-S%mod else: X1,Y1,X2,Y3=0,0,0,0 Y2=10**9 X3=10**9 print(X1,Y1,X2,Y2,X3,Y3)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1d99f2aa5cd3ff105870bfab76919d26926ef28b
c29b838371729ac04744b40d486f0b55212990b6
/Spider-Learn/Spider/scrapyuniversal/scrapyuniversal/spiders/china.py
9e6f76e736b259561061cc615cecc85c5d0e24cc
[]
no_license
Sugarsugarzz/PyPractice
93c3155a94d162c9eabf0d1a641d28bc6d639c22
d91b7d6ca996792fe409c08862fa9da5b1dc319b
refs/heads/master
2023-02-13T01:51:24.909947
2021-01-20T02:57:22
2021-01-20T02:57:22
163,177,428
0
0
null
null
null
null
UTF-8
Python
false
false
1,991
py
# -*- coding: utf-8 -*- import scrapy from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from scrapyuniversal.items import NewsItem from scrapyuniversal.loader import ChinaLoader class ChinaSpider(CrawlSpider): name = 'china' allowed_domains = ['tech.china.com'] ...
[ "406857586@qq.com" ]
406857586@qq.com
0f2ffe38ae9cf44d15befe3270fbe6ca5ee63422
3bda0851de1224b524fbcddece1f502a67e9def9
/test/test_markdown_blank_lines.py
695aea9b92244d67e2b23590352def8d0c3975e2
[ "MIT" ]
permissive
jtprince/pymarkdown
65b3f3b06c88bc0d4652a990bd134ef6996bcc15
17304b3ef580ec71678c450ab6c2a1e669b4e90a
refs/heads/main
2023-04-29T15:51:05.761440
2021-05-16T22:55:11
2021-05-16T22:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
""" https://github.github.com/gfm/#paragraphs """ import pytest from .utils import act_and_assert @pytest.mark.gfm def test_blank_lines_197(): """ Test case 197: Blank lines at the beginning and end of the document are also ignored. """ # Arrange source_markdown = """\a\a aaa \a\a # aaa ""...
[ "jack.de.winter@outlook.com" ]
jack.de.winter@outlook.com
8b2c1d35e6d1eb3c36cb9ae0333b23f8507f3f4f
44b3d66dce1b8b87ed7a20b9f2a57d5c40a6c010
/enso/utils/__init__.py
22ab49ca975d091327f74789edc96e9100955cdf
[ "BSD-2-Clause" ]
permissive
blackdaemon/enso-launcher-continued
0b203567c9670d5a6fa95b546d7edf64953ee94c
346f82811e77caf73560619cdeb16afabfbf1fce
refs/heads/master
2020-06-03T16:29:31.579370
2019-05-22T22:39:32
2019-05-22T22:39:32
30,513,152
7
4
null
null
null
null
UTF-8
Python
false
false
2,739
py
import traceback from contextlib import contextmanager try: from contextlib import suppress except ImportError: @contextmanager def suppress(*exceptions): """Provides the ability to not have to write try/catch blocks when just passing on the except. Thanks to Raymond Hettinger fr...
[ "pavelvitis@gmail.com" ]
pavelvitis@gmail.com
1778e5aef03806c0b569aea2e647ba4dd0beba08
786de89be635eb21295070a6a3452f3a7fe6712c
/CalibManager/tags/V00-00-77/src/NotificationDBForCL.py
db374f5242f2d042a61fa4e7d4602826bf1f6928
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # Module NotificationDBForCL.py... # #------------------------------------------------------------------------ """ This software was developed for the SIT project. If you use all or p...
[ "dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
a98f0fb1c4d3a3e117fcdbeb3051d91faf064b7e
368be25e37bafa8cc795f7c9f34e4585e017091f
/.history/app_fav_books/models_20201113162142.py
c210c05a528dd41d08ad9cbd4d2ed524b38985db
[]
no_license
steven-halla/fav_books_proj
ebcfbfda0e7f3cdc49d592c86c633b1d331da513
512005deb84ac906c9f24d4ab0939bd0db096716
refs/heads/master
2023-03-30T09:37:38.016063
2021-04-02T20:27:22
2021-04-02T20:27:22
354,125,658
0
0
null
null
null
null
UTF-8
Python
false
false
2,033
py
from django.db import models import re class UserManager(models.Manager): def basic_validator(self, postData): errors = {} if len(post_data['first_name']) < 3: errors['first_name'] = "First name must be 3 characters" if post_data['first_name'].isalpha() == False: e...
[ "69405488+steven-halla@users.noreply.github.com" ]
69405488+steven-halla@users.noreply.github.com
9a4a00470f775aab477c5809d1cbada4f45d60c0
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_3_1/kochkarash/rc1.py
1bb08aa5d72a0c470695223cde3bfcb31d8173c2
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
815
py
import sys fileinput = sys.stdin import StringIO #fileinput = StringIO.StringIO(inputstr) from heapq import * import string A=string.ascii_uppercase A=[a for a in A] T=int(fileinput.readline().strip()) for t in range(T): N=fileinput.readline().strip() N=int(N) P=fileinput.readline().strip().split() ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
2fba65138dedfa05ac5795d0149d804b47a9398c
6846a0469efc79b89edc8f856944d5a8005d7244
/id_0017.py
c70e7b4a000fac5e79b162fb6191d28364c95eea
[]
no_license
CGenie/project_euler
42cb966e13645339490046eb44a729660ae0c092
cc90edd061b0f4d9e076d5a684b842c202a6812a
refs/heads/master
2020-06-05T00:41:49.266961
2014-01-13T19:11:31
2014-01-13T19:11:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,748
py
#!/usr/bin/python2 # ##################################################################### # id_0017.py # # Przemyslaw Kaminski <cgenie@gmail.com> # Time-stamp: <> ###################################################################### def write_number(n): numbers = {1: 'one', 2: 'two', ...
[ "cgenie@gmail.com" ]
cgenie@gmail.com
8071aa8e26876969192138ed0b63995bbe14ae2b
cf1476710c4117865fe459f0d698520321810c56
/cerveceria/migrations/0005_cerveza_nombre.py
2677cbe9dfe5211b057f198c9021030bc0cb6a9b
[]
no_license
BoiwkoMartin/boiwkosbeers
42b6ab47573ee1b282bbfbe915b17a449c9b8038
74f6ec93d684badc80a8c62844479fc978548acd
refs/heads/main
2023-04-09T03:36:00.812684
2021-04-15T23:55:59
2021-04-15T23:55:59
358,417,276
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
# Generated by Django 3.1.7 on 2021-03-05 19:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cerveceria', '0004_remove_cerveza_nombre'), ] operations = [ migrations.AddField( model_name='cerveza', ...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
6c103c6cdb892cf317c59775a2c53c3c793c326b
3ee1bb0d0acfa5c412b37365a4564f0df1c093fb
/keras/keras40_mnist2_cnn.py
9b67f325ca5a78b12e49628a58edede98eb0bff1
[]
no_license
moileehyeji/Study
3a20bf0d74e1faec7a2a5981c1c7e7861c08c073
188843c6415a4c546fdf6648400d072359d1a22b
refs/heads/main
2023-04-18T02:30:15.810749
2021-05-04T08:43:53
2021-05-04T08:43:53
324,901,835
3
0
null
null
null
null
UTF-8
Python
false
false
2,855
py
# 실습 # 지표는 acc (0.985 이상) # 응용 # y_test 10개와 y_pred 10개를 출력하시오 # y_test[:10] = (???) # y_pred[:10] = (???) import numpy as np import matplotlib.pyplot as plt # 1. mnist 데이터 셋 from tensorflow.keras.datasets import mnist (x_train, y_train), (x_test, y_test) = mnist.load_data() print(x_train.sh...
[ "noreply@github.com" ]
moileehyeji.noreply@github.com
2673e7c0021d9a2293deb9d460d04ff8919609da
cbf0f5dbbbea5be1c46d777c939eb21f0a65c434
/Repository/w13/ex3_w13.py
7bcaadf3064d7c137b19e7663533186fce898a0b
[]
no_license
ARBaranov/Third-semester
2c128ceee257bcee1bb96c7a65b3f388898db8d5
9128f8eab9a73d8d8439e4727b3f499df049bec6
refs/heads/master
2023-08-11T03:25:28.266061
2021-09-18T23:34:35
2021-09-18T23:34:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
# 1 a 1 2 b ---> a, b # z 2 y ---> z, y REGEXP_1 = '' # aaa bbb ccc ---> aaa, bbb, ccc # ddd eee fgh ---> ddd, eee, fgh # a1b c2d e3f ---> a1b, c2d, e3f REGEXP_2 = '' # a aa aaa ---> aa, aaa # b bb bbb ---> bb, bbb # a bb aaa ---> bb, aaa REGEXP_3 = '' # 1.1.1.1 aaaa bbbbb ---> 1.1.1.1 # a.a.a.a bbbb 2.2.2....
[ "123" ]
123
f1688f69f84bec29b575ecb8c7f89e356fd63ee2
5d28c38dfdd185875ba0edaf77281e684c81da0c
/mlflow/pipelines/step.py
928cafc573317d7152207fd68f104567d58ea753
[ "Apache-2.0" ]
permissive
imrehg/mlflow
3a68acc1730b3ee6326c1366760d6ddc7e66099c
5ddfe9a1b48e065540094d83125040d3273c48fa
refs/heads/master
2022-09-24T05:39:02.767657
2022-09-20T00:14:07
2022-09-20T00:14:07
244,945,486
1
0
Apache-2.0
2020-03-04T16:11:54
2020-03-04T16:11:53
null
UTF-8
Python
false
false
13,668
py
import abc import json import logging import os import time import traceback import yaml from enum import Enum from typing import TypeVar, Dict, Any from mlflow.pipelines.cards import BaseCard, CARD_PICKLE_NAME, FailureCard, CARD_HTML_NAME from mlflow.pipelines.utils import get_pipeline_name from mlflow.pipelines.uti...
[ "noreply@github.com" ]
imrehg.noreply@github.com
ea721d412e4cf76279c7d215c8ee478d195c91c0
78260a7ab56c581684f5cb6efbf37ae6468cb092
/payserver/test/unittest/merchant/test_merchant_manager.py
544a53fe518b1e881f939ffb679ded1cf1502b3d
[]
no_license
yiyuhao/FukuanUnion
4702ee0c60b9a8d74a48c4c4c981c2f949dac04e
0d32f98f42591b43e0b4da5e978b627da517f758
refs/heads/master
2022-01-09T21:44:57.767264
2019-06-19T02:48:22
2019-06-19T02:48:22
192,504,062
0
0
null
2022-01-06T22:36:08
2019-06-18T09:00:40
Python
UTF-8
Python
false
false
14,529
py
# File: test_merchant_manager.py # Project: payunion # Author: Yi Yuhao # Create: 2018/6/22 # # Copyright (c) 2018 麦禾互动. All rights reserved. from contextlib import contextmanager from functools import partial from django.test import TestCase from django.utils.timezone import timedelta from django.util...
[ "yiyuhao@mixadx.com" ]
yiyuhao@mixadx.com
96d3df244cea79335053732ec879dd09d42ceb26
0613b082bd90462e190bc51943356ce6ce990815
/attendance/migrations/0004_worksheet.py
5180b56f06b1064cd4bee92effa57a857c9d7479
[]
no_license
Hamidnet220/salary
1068aac4bc921436c03b627899370a86ca5e99be
4dc1f32dfa1d990e6c9f527b4a8d0e1df939262a
refs/heads/master
2020-05-04T18:09:24.086491
2019-04-22T20:22:32
2019-04-22T20:22:32
179,342,004
0
1
null
2019-04-11T10:43:29
2019-04-03T17:53:36
Python
UTF-8
Python
false
false
1,008
py
# Generated by Django 2.2 on 2019-04-19 06:03 import django.contrib.postgres.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('wage', '0007_auto_20190415_1650'), ('baseinfo', '0006_auto_2...
[ "kiani.hamidreza@gmail.com" ]
kiani.hamidreza@gmail.com
86e17ca45516850f568d789e62255634cb4dabe3
ea1373d9a58ad198c15d35a6daddb4e06d21aa39
/netScripts/3DCNN_Voxel/pyScripts/mask_data_prepare.py
0547f1154bb2df74ea1c22ba3ad2632e773555ba
[]
no_license
screnary/VoxSegNet
bb2778dfc460dfafdbd923f79755f7f0776dc36f
264f2efc0a589018a1fc68c111626beacbe095a5
refs/heads/master
2020-09-04T03:41:47.067129
2019-11-07T06:34:29
2019-11-07T06:34:29
219,649,857
5
0
null
null
null
null
UTF-8
Python
false
false
41,915
py
""" preparing mask data for mask prediction net --- 20180313 """ """ mask gt: [instance, height, width] bbox gt: [instance, (x1,y1,z1, x2,y2,z2)] {this x,y,z is for 3D tensor, min and max corner} part_ids: 1D array of part IDs of the part mask and bbox, start from 1 padding 0 for non-exist part ...
[ "screnary@qq.com" ]
screnary@qq.com
4fc606787313fb230101c49ae628fcb273a6111f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02997/s386871412.py
7432b9652080f5697617f98cbfca83378aa831a4
[]
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
436
py
N, K = map(int, input().split()) if K>N*(N-1)//2-(N-1): print(-1) exit() is_ban = [[False]*N for _ in range(N)] for i in range(1, N): for j in range(i+1, N): if K==0: break is_ban[i][j] = True K -= 1 ans = [] for i in range(N): for j in range(i+1, N): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8e36788a9166458db4757af09f813273790f05c5
0af29dc561a34a8191f456ec24f6a77bea104b89
/recurrent-neural-networks/neural-language-models/character-language-model-generator/modelv2.py
ed3cb95374e52c5f2969993e62ddb2fd3467ca76
[]
no_license
cheeyeo/Machine_learning_portfolio
c4eea8390b2540706d9b8e9df0b491f3f434494b
927cc9eb3de394dcaa00a4178d873df9798921e4
refs/heads/master
2020-05-04T11:16:22.188024
2019-05-25T14:18:58
2019-05-25T14:18:58
179,104,765
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
from keras.models import Sequential from keras.layers import LSTM, Dense, TimeDistributed from keras.optimizers import Adam # Defines a seq2seq model def define_model_v2(seq_len, vocab_size): model = Sequential() model.add(LSTM(100, input_shape=(seq_len, vocab_size), return_sequences=True)) model.add(TimeDistrib...
[ "ckyeo.1@gmail.com" ]
ckyeo.1@gmail.com
f575ffda2877c4371a24118ba2a30b386e009dbf
eb0f18d7782fe22a3d5edf54f78828ce0094d98b
/history/run_v5.py
699688f57d9152d64d0cfcc76bcde929b3afe0a0
[]
no_license
renke2/spark_clustering
3d50d2c01ef1f9e37079e9cec52541505951d661
e66295727146a414f63582190d9daf4e3a62afb6
refs/heads/master
2021-01-20T00:46:12.615285
2016-07-04T14:04:24
2016-07-04T14:04:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,219
py
# -*- coding:utf-8 -*- # some improvement after discussion import os import math import numpy as np from operator import add from utils import local2mfs, now from load_data import load_data_from_mongo, cut_words_local from pyspark import SparkContext from pyspark.mllib.linalg import Vectors AB_PATH = os.path.dirname...
[ "1257819385@qq.com" ]
1257819385@qq.com
a15f6c7f7005994b341fad929657892042159151
e9dc0573d42ee003c563c12ba5e4241a70e88b29
/old_documents/lms_app/migrations/0005_auto_20210823_1009.py
131277a5649cc235bf712d562e2fff3d6ec21ab3
[]
no_license
kamaliselvarajk/aspire
279eed753db940d8feb3066e0885896d98549d3e
3b61bad965a11877c4b63a7b93ea5f76f24ac96f
refs/heads/main
2023-08-24T12:25:08.927712
2021-10-14T17:22:17
2021-10-14T17:22:17
383,044,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
# Generated by Django 3.2.5 on 2021-08-23 04:39 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('lms_app', '0004_leavereq...
[ "kamali.selvaraj@aspiresys.com" ]
kamali.selvaraj@aspiresys.com
3bbf1c97245dd0a764aca70754af6b208acc406d
45de3aa97525713e3a452c18dcabe61ac9cf0877
/src/secondaires/navigation/masques/point_visible/__init__.py
a2b98c97ed671cc44f4f3eb9ca4d18ccd338fba7
[ "BSD-3-Clause" ]
permissive
stormi/tsunami
95a6da188eadea3620c70f7028f32806ee2ec0d1
bdc853229834b52b2ee8ed54a3161a1a3133d926
refs/heads/master
2020-12-26T04:27:13.578652
2015-11-17T21:32:38
2015-11-17T21:32:38
25,606,146
0
0
null
null
null
null
UTF-8
Python
false
false
3,741
py
# -*-coding:Utf-8 -* # Copyright (c) 2012 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # lis...
[ "kredh@free.fr" ]
kredh@free.fr
4a9e98c8b6df75b5063e618920505c559fb5d06e
417448ce51e21233736c2f5eab7a0960c8cdcb3f
/Selenium/Tutorial/Amazon_Script.py
3bafb73cafc9bed749ffec6917175a393dd3ddb3
[]
no_license
ravalrupalj/Small_Projects
dcfd4da5a2e3dab4ccb16c693da7ecfd28c30312
89e0232503049468e181b387391abfbc523933a0
refs/heads/master
2022-12-25T04:18:06.296291
2020-10-08T01:58:13
2020-10-08T01:58:13
268,957,256
0
0
null
null
null
null
UTF-8
Python
false
false
2,883
py
from selenium import webdriver driver= webdriver.Chrome(executable_path='C:\\Users\\raval\\Documents\\chromedriver_win32\\chromedriver.exe') driver.get('https://www.amazon.ca/') driver.maximize_window() driver.implicitly_wait(5) driver.find_element_by_id("twotabsearchtextbox").send_keys("ashlin wallet") driver.find_el...
[ "63676082+ravalrupalj@users.noreply.github.com" ]
63676082+ravalrupalj@users.noreply.github.com
1600aa38bd05891af088262a94401d768b4f2f10
5e64335865c817eec677a2236709f3e73eb3ca9f
/utilities/tests/TestProject/pythonScripts/RunTests.py
e76fb6ce23b5a196337e2ea6d76fa93d94e7a562
[]
no_license
Neurosim-lab/osb-model-validation
3631ede96d811006fcc5f381faf1739f3e72a3e0
d661b96682d7229ec94778380dd7978be254bb60
refs/heads/master
2020-03-28T11:15:13.957592
2018-09-10T19:20:37
2018-09-10T19:20:37
148,193,132
1
0
null
2018-09-10T17:29:54
2018-09-10T17:29:54
null
UTF-8
Python
false
false
2,538
py
# # # File to test current configuration of project. # # To execute this type of file, type 'nC.bat -python XXX.py' (Windows) # or './nC.sh -python XXX.py' (Linux/Mac). Note: you may have to update the # NC_HOME and NC_MAX_MEMORY variables in nC.bat/nC.sh # # Author: Padraig Gleeson # # import sy...
[ "p.gleeson@gmail.com" ]
p.gleeson@gmail.com
22fb6522d48eab678fbf0b4989078a87265c6b77
e91f477713556f14b288b89ecce89754d4bd93f7
/ML/rl/rl_utils.py
7566686d6b7a40292181a9ba78acee9e48bc8b65
[ "MIT" ]
permissive
PepSalehi/algorithms
715603ad16c320c0f1d32c544062b71b11814263
1c20f57185e6324aa840ccff98e69764b4213131
refs/heads/master
2020-12-28T23:24:39.542742
2019-02-01T05:17:56
2019-02-01T05:17:56
14,173,271
0
0
MIT
2019-02-01T05:17:57
2013-11-06T13:27:34
Python
UTF-8
Python
false
false
2,462
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Utility functions for Reinforcement Learning.""" # core modules import logging import os # 3rd party modules import yaml # General code for loading ML configuration files def load_cfg(yaml_filepath): """ Load a YAML configuration file. Parameters --...
[ "info@martin-thoma.de" ]
info@martin-thoma.de
f1654e6ae542ec6bf12b305385f26c7ef3610381
964c83b67a45717874292468ded6d85ed69c2c9f
/reg_sign_in_out/views.py
361b417c0ba82d171eab42791f39bc27ad0eb7b3
[]
no_license
deshiyan1010/Colabratory
bddf6d8a21a568b33827ce3ca8763930764f7197
9edce90ba993e06d1e5f1cdef268d33af51f1dd5
refs/heads/master
2022-12-17T19:28:33.328936
2020-09-21T17:29:43
2020-09-21T17:29:43
281,600,531
0
0
null
null
null
null
UTF-8
Python
false
false
3,364
py
from django.shortcuts import render from reg_sign_in_out.models import * from . import forms from django.contrib.auth import authenticate,login,logout from django.http import HttpResponseRedirect, HttpResponse from django.urls import reverse from django.contrib.auth.decorators import login_required from django.views....
[ "vinayakamikkal@gmail.com" ]
vinayakamikkal@gmail.com
9d6644181164a6acae72a68b2658055bb2528631
0ca7c7bdb297439554777e126ae8a2999962b7fe
/venv/Lib/site-packages/gevent/tests/test__refcount.py
d3c3430105bc53cd5a82709d8d68fb2181c48835
[]
no_license
YazLuna/APIExpressJobs
6c0857f63180bf5163d11fa9d1a411e44a4ba46f
cd52bc8d0d60100091637ef79f78cc79d58a1495
refs/heads/master
2023-06-13T02:50:57.672295
2021-06-18T14:57:53
2021-06-18T14:57:53
367,244,876
0
1
null
2021-06-18T14:57:53
2021-05-14T04:05:43
Python
UTF-8
Python
false
false
6,028
py
# Copyright (c) 2008 AG Projects # Author: Denis Bilenko # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, m...
[ "ale_200200@hotmail.com" ]
ale_200200@hotmail.com
08971a923b58b73eb2808bccbadaaf7dcaaaa8e1
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/前端笔记/thirtysecondsofcode/python/python的typings/15_可变元组.py
388a8783be183c592d8de18c96e96c90e7e186e7
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
596
py
from typing import Tuple def f(t: Tuple[int, str]) -> None: t = 1, 'foo' # OK # t = 'foo', 1 # Type check error # as immutable, varying-length sequences # 元组也可以用作不变的、可变长度的序列 def print_squared(t: Tuple[int, ...]) -> None: for n in t: print(n, n ** 2) print_squared(()) # OK ...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
23e96c6597b7532ed4372492d8361f0982204258
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part003092.py
8f00262a01984e897f436fa3ac0a91a7479430cf
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
235,033
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
d56d529290d5fca12af0043705c03bfcf41f290b
c39f999cae8825afe2cdf1518d93ba31bd4c0e95
/PYME/DSView/modules/shell.py
9debe00a7baf593cae3782bd4eeda236c0d7d023
[]
no_license
WilliamRo/CLipPYME
0b69860136a9b2533f2f29fc29408d7471cb934d
6596167034c727ad7dad0a741dd59e0e48f6852a
refs/heads/master
2023-05-11T09:50:58.605989
2023-05-09T02:17:47
2023-05-09T02:17:47
60,789,741
3
1
null
2016-06-17T08:52:44
2016-06-09T16:30:14
Python
UTF-8
Python
false
false
1,225
py
#!/usr/bin/python ################## # shell.py # # Copyright David Baddeley, 2011 # d.baddeley@auckland.ac.nz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, ...
[ "willi4m@zju.edu.cn" ]
willi4m@zju.edu.cn
b7a1cf6a73df1281ceebfdd3a8392fd02d8d3f68
01c39e5ac5398658f56e069a1f4c0142496a07f9
/master/serializer.py
17a5718aad1cbe8914485af00a9935eb95682aa7
[]
no_license
vshaladhav97/first_kick
f95c0f402e7f0e869c05c1abf58404bb9a7b7863
367cccca72f0eae6c3ccb70fabb371dc905f915e
refs/heads/master
2023-08-21T05:25:33.211862
2021-10-12T11:04:56
2021-10-12T11:04:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,543
py
from django.db.models import fields from rest_framework import serializers from .models import (Company, AddressDetail, Location, AgeGroup, Months, PlayingSurface, CourseType, EventType, WeekDay, ClassStatus, Ages) class AddressDetailSerializer(serializers.ModelSerializer): class Meta: ...
[ "adhavv0@gmail.com" ]
adhavv0@gmail.com
0153c67382f10038868a46db8eda74d5d8a0793c
9f170204f6976fe59d9ee74aa78f62b10663c051
/stubs/torch/nn/__init__.pyi
8b1990ac1ca2f8e0d0f84f2e8b38318cc507d970
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
hercules261188/xformers
04132b4c94bfb59ea9917ccf29800a049f924da9
71bab94cb954e6e291ca93d3bce5dffadab4286d
refs/heads/main
2023-09-06T02:51:47.086611
2021-11-24T16:36:22
2021-11-24T16:36:22
431,593,450
1
0
NOASSERTION
2021-11-24T18:43:24
2021-11-24T18:43:23
null
UTF-8
Python
false
false
8,489
pyi
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. # # This source code is licensed under the BSD license found in the # LICENSE file in the root directory of this source tree. import builtins from typing import ( Any, Generic, Iterable, Iterator, List, Optional, Tuple,...
[ "noreply@github.com" ]
hercules261188.noreply@github.com
f117734a32321a363bf324dd1d20229a47415b0c
78144baee82268a550400bbdb8c68de524adc68f
/Production/python/Autumn18/RPV_2t6j_mStop-600_mN1-100_TuneCP2_13TeV-madgraphMLM-pythia8_cff.py
681e179bb8350c18e44a27bed0578875855d29f0
[]
no_license
tklijnsma/TreeMaker
e6989c03189b849aff2007bad22e2bfc6922a244
248f2c04cc690ef2e2202b452d6f52837c4c08e5
refs/heads/Run2_2017
2023-05-26T23:03:42.512963
2020-05-12T18:44:15
2020-05-12T18:44:15
263,960,056
1
2
null
2020-09-25T00:27:35
2020-05-14T15:57:20
null
UTF-8
Python
false
false
2,447
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/RunIIAutumn18Mi...
[ "Chris_Madrid@Baylor.edu" ]
Chris_Madrid@Baylor.edu
83441941cb7936a690cd4274636b264724009523
a6a27234bb623c047fe86e91c720a50ba6ab641f
/sctt/sctt/calibration/first_cracking_stress.py
ce27bff06a658a7fad9fc085cab9aabb124fabbf
[]
no_license
liyingxiong/sctt
4f87b1bdeb09eafb2831e699fd82b4a0d9db9099
f3f9af2be80d39a70668a8bbf9f1e1458ee0fbc3
refs/heads/master
2021-01-23T03:28:17.314156
2018-12-11T11:18:33
2018-12-11T11:18:33
20,015,992
0
0
null
null
null
null
UTF-8
Python
false
false
2,385
py
''' Identify the first cracking stress according to the derivatives of the stress-strain diagram. @author: Yingxiong ''' import numpy as np from scipy.interpolate import interp1d, UnivariateSpline from matplotlib import pyplot as plt from scipy.optimize import curve_fit from lmfit import minimize, Parameters, Parameter...
[ "rostislav.chudoba@rwth-aachen.de" ]
rostislav.chudoba@rwth-aachen.de
4dc6e3283fd599472b323f22fc8998f493be658c
215e491c9962f2e199f7f84a5743196f21da0332
/week-01-unit-testing/examples/calculator/calculator_test.py
722e6f3bf9e8548430069e813b522daf6f74fe24
[]
no_license
kstager/Python300-SystemDevelopmentWithPython-Fall-2014
dd07190e6a55470c44bbb366cb95a1d716b86866
7e85ef68bc59d311ec748b333e0bad9357b88855
refs/heads/master
2020-12-31T06:32:20.948094
2014-11-12T01:34:56
2014-11-12T01:34:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
import unittest import calculator_functions as calc class TestCalculatorFunctions(unittest.TestCase): def setUp(self): self.x = 2 self.y = 3 def test_add(self): self.assertEqual(calc.add(self.x, self.y), 5) if __name__ == "__main__": unittest.main()
[ "joseph.sheedy@gmail.com" ]
joseph.sheedy@gmail.com
a5551807162c6a3b053a0c940419c974b142c505
4db29e0d5f2e050d21bbf67042c713d8fa0421b0
/com/mason/redis/part_two/chapter06/chapter0612.py
0320f31d7421bb54908fed4b9d89d3079f14ce83
[]
no_license
MasonEcnu/RedisInAction
80e5556554c7e390264edd391042b09271cbfca4
710fd0316c6aee857acd350a092b657465096ed1
refs/heads/master
2020-07-08T17:24:39.540181
2019-09-30T04:14:49
2019-09-30T04:14:49
203,731,184
0
0
null
null
null
null
UTF-8
Python
false
false
2,857
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # 通讯录自动补全 # 我们将把有序集合里面的所有分值都设置为 0 — 这种做法使得我们可以使用有序集合的 # 另一个特性:当所有成员的分值都相同时,有序集合将根据成员的名字来进行排序;而当所有成 # 员的分值都是 0 的时候,成员将按照字符串的二进制顺序进行排序。 import bisect import uuid import redis from redis import Redis from com.mason.redis_client import redisClient valid_characters = "`abc...
[ "364207187@qq.com" ]
364207187@qq.com
373fbcea3668e9dda77cb6d9ac64861242498f33
ed0f9eb0c1cb4858d91ef7e2d435db307f23a5a5
/dist/manage/django/views/debug.py
8538f2c3d2724abd15ddec1160103d0f911d947d
[]
no_license
hjlhehehe123/ATC_Data
81b4622e7279aa9cc2013db8cc5a71d33561e768
ad35e61afb8e87d8bab2d2b3aeea08e9409d56c0
refs/heads/master
2023-07-13T16:23:45.951584
2021-08-20T12:37:34
2021-08-20T12:37:34
256,994,694
1
1
null
null
null
null
UTF-8
Python
false
false
21,397
py
import functools import re import types from pathlib import Path import sys from django.conf import settings from django.http import Http404, HttpResponse, HttpResponseNotFound from django.template import Context, Engine, TemplateDoesNotExist from django.template.defaultfilters import pprint from django.urls import re...
[ "1598214715@qq.com" ]
1598214715@qq.com
b22f9dbd128e6619dfe9a6447d989c2eb3054788
c15a28ae62eb94dbf3ed13e2065195e572a9988e
/Cook book/src/8/how_to_define_an_interface_or_abstract_base_class/example.py
2d4af5f1e99b6b30415fd216144a85ceba321fa2
[]
no_license
xuyuchends1/python
10798c92840a1a59d50f5dc5738b2881e65f7865
545d950a3d2fee799902658e8133e3692939496b
refs/heads/master
2021-01-25T07:07:04.812140
2020-02-28T09:25:15
2020-02-28T09:25:15
93,647,064
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
# Defining a simple abstract base class from abc import ABCMeta, abstractmethod class IStream(metaclass=ABCMeta): @abstractmethod def read(self, maxbytes=-1): pass @abstractmethod def write(self, data): pass # Example implementation class SocketStream(IStream): def read(self, m...
[ "xuyuchends@163.com" ]
xuyuchends@163.com
9769824aa87397a44d261ff48b366b0009967fbf
fa6fa9e154a205d575eda6615e8b62f4cce77a3d
/office365/sharepoint/permissions/permission_kind.py
699fa02451b6d9b81eba7759583a17ab35a9b527
[ "MIT" ]
permissive
beliaev-maksim/Office365-REST-Python-Client
7f94b7b40227de1192bfc0cb325107482caf443c
b2fd54701d83cc91eb5ba3a0ec352a93ded24885
refs/heads/master
2023-08-14T20:47:51.972883
2021-09-05T12:44:47
2021-09-05T12:44:47
283,984,055
0
0
MIT
2020-07-31T08:30:48
2020-07-31T08:30:48
null
UTF-8
Python
false
false
1,026
py
class PermissionKind: """Specifies permissions that are used to define user roles.""" def __init__(self): pass EmptyMask = 0 ViewListItems = 1 AddListItems = 2 EditListItems = 3 DeleteListItems = 4 ApproveItems = 5 OpenItems = 6 ViewVersions = 7 DeleteVersions = 8 ...
[ "vvgrem@gmail.com" ]
vvgrem@gmail.com
4e725d904e1ecd922e7eecc433b83b4e5488f4c2
cb882d5bc1a22b6d22a2d18a4ece8ec362f81b4b
/app/migrations/0004_product_user.py
7ff7069f9a12115a709a07f6048c77bcabccd0b3
[]
no_license
Vazimax/simple_djangoapp
076806ac70f136f2a964db068b7b904f9429073e
08e0f3f4b3830c6b1cde6bea69849775bd7ba578
refs/heads/main
2023-05-24T09:08:30.191567
2021-06-08T14:03:31
2021-06-08T14:03:31
375,030,411
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
# Generated by Django 3.1.7 on 2021-06-07 19:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0003_female_male'), ] operations = [ migrations.CreateModel( name='Product', ...
[ "aboubakr.elhabti@gmail.com" ]
aboubakr.elhabti@gmail.com
761e15410951d9ff18fef66225b3b1ca4c4188ec
940a0f48027eefbfe028f2116aeb9702e7122f05
/setup.py
094555fbf31f039650d3781c5d1435c39416c7e2
[]
no_license
umeboshi2/useless
1d0f67335fad0897619859a2095fd32e649b0994
630c7491cfb7a70765878779f8496046d6ac18df
refs/heads/master
2021-01-02T08:21:14.679866
2013-01-22T21:44:00
2013-01-22T21:44:00
7,497,326
1
0
null
null
null
null
UTF-8
Python
false
false
722
py
import sys from distutils.core import setup PACKAGES = ['base', 'debian', 'sqlgen', 'db', 'kdebase', 'kdedb'] package = None if sys.argv[1] in PACKAGES: package = sys.argv[1] del sys.argv[1] pd = {'' : 'src'} if package is not None: packages = ['useless/'+package] if package == 'base': pac...
[ "umeboshi@70758ab2-d2f7-0310-a994-9f7f813c4004" ]
umeboshi@70758ab2-d2f7-0310-a994-9f7f813c4004
7990ced14b088830eb2baff7df094aa02ac38795
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17s_1_02/mpls_state/ldp/path/__init__.py
6794b5af3d53be00700cb98a8c4cff93301283c2
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,406
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
089a86f2514e7fdb5dd0bfdb50fbb19280ef6f2f
d81dc8eda4aed1e66a2275ddd7463eaa90789ff4
/Gesture Recognition/Video.py
894fa066f68358ce312358d9fced5003a5219204
[]
no_license
ai3DVision/BlendedJointAttention
c01b8b6b0c33923e2e7c6719765c427c1c5e5439
2bf9445d7749c9f138df950aea9dd101c8713ff4
refs/heads/master
2020-03-15T23:42:18.307922
2016-08-25T13:26:53
2016-08-25T13:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
import cv2 import sys # Defining cascade variables faceCascade1 = cv2.CascadeClassifier('../haarcascades/haarcascade_frontalface_alt2.xml') nosecascade = cv2.CascadeClassifier('../haarcascades/haarcascade_mcs_nose.xml') # Video capture via webcam cam = cv2.VideoCapture(-1) cam.set(3,640) cam.set(4,480) video_capture ...
[ "agarwalsoumitra1504@gmail.com" ]
agarwalsoumitra1504@gmail.com
c9ee57c779cbb050035f866898ceb6d98ee4abdf
bac7a7507933ac5bb38b41bbe2a587764da3cf94
/snappy_wrappers/wrappers/erds_sv2/merge_genotypes/wrapper.py
96047b855627a47db6f2ddbbcfd18ed4f895f093
[ "MIT" ]
permissive
Pregelnuss/snappy-pipeline
923b0f36117a2f55ee52f9a8564ed3bb82a8be16
31200eba84bff8e459e9e210d6d95e2984627f5c
refs/heads/master
2023-06-19T07:24:04.736033
2021-05-27T07:24:05
2021-05-27T07:24:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
# -*- coding: utf-8 -*- """Wrapper for running ERDS+SV2 merge genotypes step """ from snakemake.shell import shell __author__ = "Manuel Holtgrewe" __email__ = "manuel.holtgrewe@bihealth.de" shell( r""" # ----------------------------------------------------------------------------- # Redirect stderr to log file b...
[ "manuel.holtgrewe@bihealth.de" ]
manuel.holtgrewe@bihealth.de
56c7e189b97621aba5e9156b2624bb12ef4c9007
0fcc6353edee4eed7a1ea4b1c89a00bfcf03e851
/PythonFunctions/venv/Scripts/easy_install-3.7-script.py
cc2142893207f4e9d244ff35fbb13add41769553
[]
no_license
GANESH0080/Python-Practice-Again
81d8048c23d338a99bb17fa86a9f87b3057bfe52
6565911d14a22d0f33a41b417026c31a0a066be5
refs/heads/master
2020-09-20T03:40:45.462869
2019-11-27T07:19:24
2019-11-27T07:19:24
224,368,129
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
#!D:\PythonPracticeAgain\PythonFunctions\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw...
[ "ganusalunkhe@gmail.com" ]
ganusalunkhe@gmail.com
a7386795586d024e974682a2c99a5f99c1659a8f
a5698f82064aade6af0f1da21f504a9ef8c9ac6e
/huaweicloud-sdk-cbr/huaweicloudsdkcbr/v1/model/show_members_detail_request.py
d11649680f2ceb7aa7e1af032ed7496f05cb6aa0
[ "Apache-2.0" ]
permissive
qizhidong/huaweicloud-sdk-python-v3
82a2046fbb7d62810984399abb2ca72b3b47fac6
6cdcf1da8b098427e58fc3335a387c14df7776d0
refs/heads/master
2023-04-06T02:58:15.175373
2021-03-30T10:47:29
2021-03-30T10:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,919
py
# coding: utf-8 import pprint import re import six class ShowMembersDetailRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
fb9b2f8ef498d54f9d568b07bf798b3b11b828e0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/1/usersdata/66/180/submittedfiles/formula.py
e164e5a9a7884303cf825c60c1229245d2385105
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
# -*- coding: utf-8 -*- from __future__ import division p=input("digite p") i=input("digite i") n=input("digite n") v=(P*((1+I)**N)-1)/T print ( "o valor de v eh: %.2f" %V)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d95fc2686d35f61aa399c1c3f823176e317ea474
699a43917ce75b2026a450f67d85731a0f719e01
/12_int_to_roman/interger_to_roman.py
e51bac0b5257bb65541b113406b145206f685e01
[]
no_license
wusanshou2017/Leetcode
96ab81ae38d6e04739c071acfc0a5f46a1c9620b
c4b85ca0e23700b84e4a8a3a426ab634dba0fa88
refs/heads/master
2021-11-16T01:18:27.886085
2021-10-14T09:54:47
2021-10-14T09:54:47
107,402,187
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
class Solution: def __init__(self): self.dic_roman={"I":1,"V":5,"X":10,"L":50,"C":100,"D":500,"M":1000} self.dic_int2roman={ value:key for key,value in self.dic_roman.items()} def int2roman(self,target): res ="" if target//1000>0: m=target//1000 target=tar...
[ "252652905@qq.com" ]
252652905@qq.com
bb3c3e3539618a84d358090da571b392a03cf637
6730aab6ed416937cc1ed96ae87f86d7761c8129
/src/calc_parse.py
9dc2b8937e0ec016416c724205099b4f3f25e54b
[]
no_license
vrthra/miner
3c4adcd1db9b5583354d665ec169c47c38f1faa1
4b55999eedb97c607024ff04575b0f09b499d58a
refs/heads/master
2020-05-02T22:54:43.393084
2019-05-02T17:07:37
2019-05-02T17:07:37
178,266,349
0
2
null
null
null
null
UTF-8
Python
false
false
1,783
py
#!/usr/bin/env python3 import string from helpers import scope def parse_num(s,i): n = '' while s[i:] and s[i].in_(list(string.digits)): with scope('while_1', 0): n += s[i] i = i +1 return i,n def parse_paren(s, i): assert s[i] == '(' i, v = parse_expr(s, i+1) if...
[ "rahul@gopinath.org" ]
rahul@gopinath.org
2ee60026988f1846551704ad15e993f1cd397d43
6aa7e203f278b9d1fd01244e740d5c944cc7c3d3
/airflow/providers/docker/hooks/docker.py
bae0e7f5a046ff578796c98cc623b63dec42f3c3
[ "Apache-2.0", "BSD-3-Clause", "MIT", "Python-2.0" ]
permissive
laserpedro/airflow
83fc991d91749550b151c81876d9e7864bff3946
a28afa8172489e41ecf7c381674a0cb91de850ff
refs/heads/master
2023-01-02T04:55:34.030935
2020-10-24T15:55:11
2020-10-24T15:55:11
285,867,990
1
0
Apache-2.0
2020-08-07T15:56:49
2020-08-07T15:56:49
null
UTF-8
Python
false
false
3,265
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...
[ "noreply@github.com" ]
laserpedro.noreply@github.com
5e106deb5aff07fd69b809c2d354e681e3d84798
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/AtCoder_Virtual_Contest/tessoku-book/ec/main.py
09c1be3745ae6e29b841ff506af698a7664a78cd
[ "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
3,200
py
# -*- coding: utf-8 -*- import random import string import traceback # See: # https://atcoder.jp/contests/abc284/submissions/37841742 class RollingHashWithRange: def __init__(self, parent, left, right) -> None: self.parent = parent self.left = left self.right = right def __getitem__...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
87f6e6bf13f60d03cd3b263df93b4e6feaef5cdb
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/Sudoku_II_008_20180622142549.py
a755b1bc64831da70f2eb0c38aca219723cf4bcb
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
7,605
py
from random import randint import copy sudoku1 = [ [5, 9, 8, 6, 1, 2, 3, 4, 7], [2, 1, 7, 9, 3, 4, 8, 6, 5], [6, 4, 3, 5, 8, 7, 1, 2, 9], [1, 6, 5, 4, 9, 8, 2, 7, 3], [3, 2, 9, 7, 6, 5, 4, 1, 8], [7, 8, 4, 3, 2, 1, 5, 9, 6], [8, 3, 1, 2, 7, 6, 9, 5, 4], [4, 7, 2, 8, 5, 9, 6, 3, 1], ...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
da80db2eab0104cf95159207871265764239feb7
67d8173a716da10a7350213d98938aae9f2115ce
/ProgrammingCourses/CS61A/lab/lab09/tests/split-at.py
8aeb6433d36caff342936185c794ff632ff506c2
[]
no_license
jxie0755/Learning_Python
94490d41bdf93acf8396f843328e38b6da310b0f
143422321cbc3715ca08f6c3af8f960a55887ced
refs/heads/master
2021-11-02T22:47:35.790239
2021-09-26T04:26:23
2021-09-26T04:26:23
101,445,132
0
2
null
2019-02-19T15:48:44
2017-08-25T22:00:16
Python
UTF-8
Python
false
false
1,127
py
test = { "name": "split-at", "points": 0, "suites": [ { "type": "scheme", "scored": True, "setup": """ scm> (load 'lab09) scm> (load 'lab09_extra) """, "cases": [ { "code": """ scm> (car (split-at '(1 2 3 4 5) 3)) (1 2 3) ...
[ "30805062+jxie0755@users.noreply.github.com" ]
30805062+jxie0755@users.noreply.github.com
888b859b9f5faab436ba29ab2a12e06acbd44125
72dc7d124cdac8f2dcab3f72e95e9a646154a6a0
/byceps/services/news/models/channel.py
00229d0acddd28bb9c310a03e564d0e9b3135b06
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
m-ober/byceps
e6569802ee76e8d81b892f1f547881010359e416
4d0d43446f3f86a7888ed55395bc2aba58eb52d5
refs/heads/master
2020-11-30T23:31:33.944870
2020-02-12T23:53:55
2020-02-12T23:56:04
40,315,983
0
0
null
2015-08-06T16:41:36
2015-08-06T16:41:36
null
UTF-8
Python
false
false
1,022
py
""" byceps.services.news.models.channel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Copyright: 2006-2020 Jochen Kupperschmidt :License: Modified BSD, see LICENSE for details. """ from ....database import db from ....typing import BrandID from ....util.instances import ReprBuilder from ..transfer.models import ChannelID c...
[ "homework@nwsnet.de" ]
homework@nwsnet.de
b0f5e5106a95baf291b263f728fbb921336b5e00
512f48fdcfa78e322526cf47163110009b84bf73
/test/test_update_settings.py
86dfd6e0e237c110a37851d41b45c214ddc85ca8
[ "MIT" ]
permissive
confluentinc/vm-console-client-python
9a0f540c0113acf68ee9dc914715bc255e4d99f4
ccbd944a0e0333c73e098b769fe4c82755d29874
refs/heads/master
2023-07-18T10:33:58.909287
2021-09-02T20:52:20
2021-09-02T20:52:20
402,559,283
0
0
MIT
2021-09-02T20:49:56
2021-09-02T20:49:56
null
UTF-8
Python
false
false
851
py
# coding: utf-8 """ Python InsightVM API Client OpenAPI spec version: 3 Contact: support@rapid7.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.update_settings import Up...
[ "zachary_youtz@rapid7.com" ]
zachary_youtz@rapid7.com
99c3e5aa620113bd9066d530f9fa040ebaa93d0b
7136e5242793b620fa12e9bd15bf4d8aeb0bfe7a
/examples/adspygoogle/dfp/v201103/update_ad_units.py
e6cac253cc32b39005e61ae41624aad51c441c81
[ "Apache-2.0" ]
permissive
hockeyprincess/google-api-dfp-python
534519695ffd26341204eedda7a8b50648f12ea9
efa82a8d85cbdc90f030db9d168790c55bd8b12a
refs/heads/master
2021-01-10T10:01:09.445419
2011-04-14T18:25:38
2011-04-14T18:25:38
52,676,942
0
0
null
null
null
null
UTF-8
Python
false
false
2,300
py
#!/usr/bin/python # # Copyright 2011 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 required b...
[ "api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138" ]
api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138
d59a1e58246c961c72fe4f4d523b4df4fa88e7c2
87040e6a11f28e9e6bfe19abf2bf912a5c5ea286
/raccoon_dataset/train.py
0394928fbd2e0cc153ea193ed052a892fa66b090
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
HoboQian/Deep-Learning
f2b788d64c290ab025ae4e09e1cef494b8204536
4d335ffebded266647bd853b138c15d8b9a8694a
refs/heads/master
2020-03-11T07:24:20.303608
2017-12-05T02:27:24
2017-12-05T02:27:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,445
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "lee.x.a90@gmail.com" ]
lee.x.a90@gmail.com
7e3956bb610da283f9f5d675899815f982c86079
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve-8.51.857815/eve/client/script/ui/shared/mapView/systemMapHandler.py
8bdd670dbef97185191e05e3e99e04e706df7ae0
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,456
py
#Embedded file name: eve/client/script/ui/shared/mapView\systemMapHandler.py from carbonui.primitives.layoutGrid import LayoutGrid from eve.client.script.environment.spaceObject.planet import Planet from eve.client.script.ui.control.eveLabel import EveLabelLarge, EveLabelMedium from eve.client.script.ui.shared.mapView....
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
6e30b513864fb38e0ac1557595002b2ba7e2682e
09ba5ae2edc51f3fd812b9205188b1b01e6bea77
/src/CPMel/__init__.py
3c84ac72d9fa33794d013bdd7ec8fadd8a93a212
[]
no_license
cpcgskill/Maya_tools
c6a43ad20eab3b97e82c9dfe40a1745b6098e5c4
93f9e66e5dc3bb51f33df0615415a56a60613ff1
refs/heads/main
2023-02-26T16:20:52.959050
2021-01-28T06:12:18
2021-01-28T06:12:18
325,512,423
1
0
null
null
null
null
UTF-8
Python
false
false
3,651
py
#!/usr/bin/python # -*-coding:utf-8 -*- u""" :创建时间: 2020/5/18 23:57 :作者: 苍之幻灵 :我的主页: https://www.cpcgskill.com :QQ: 2921251087 :爱发电: https://afdian.net/@Phantom_of_the_Cang :aboutcg: https://www.aboutcg.org/teacher/54335 :bilibili: https://space.bilibili.com/351598127 * 获得路径模块 * PATH : CPMel所在路径 * MAYAPLUG : C...
[ "www.cpcgskill.com" ]
www.cpcgskill.com
6b371890aaa3ffd72c30d16c8b286448df3d5f9d
1fddb12ae9b7db260b9161983a726f1528ece940
/Part_01/Cap_09/Classes9.7.py
4b3c0876b7328f323d06eda1b9b9514537c724e0
[]
no_license
davicosta12/python_work
aecf642bbbf2a007fba159f305b4ab21ff00503f
5df62d3ced25b7e04cda71846fd07862dda39b4c
refs/heads/master
2023-04-23T09:49:31.923211
2021-04-27T00:31:42
2021-04-27T00:31:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
class User(): def __init__(self, first_name, last_name, age, sex, situacao, login_attempts): self.first_name = first_name self.last_name = last_name self.age = age self.sex = sex self.situacao = situacao self.login_attempts = login_attempts def describe_user(self): print("\n Informações sob...
[ "deadspace24@hotmail.com" ]
deadspace24@hotmail.com
492e9832c721c5e23652772a639a4d59fc4457f1
d5af5459d0a68d8934219cdd516a23d73c7c52fb
/labs/greek.py
308315866e2f731924c244567a5e77a0b20f5e03
[]
no_license
flathunt/pylearn
1e5b147924dca792eb1cddbcbee1b8da0fc3d055
006f37d67343a0288e7efda359ed9454939ec25e
refs/heads/master
2022-11-23T23:31:32.016146
2022-11-17T08:20:57
2022-11-17T08:20:57
146,803,991
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
greek = ['Alpha','Beta','Gamma','Delta','Epsilon','Zeta','Eta','Theta', 'Iota','Kappa','Lamda','Mu','Nu','Xi','Omicron','Pi','Rho', 'Final Sigma','Sigma','Tau','Upsilon','Phi','Chi','Psi','Omega'] #Format required: # The hex value of the character # The character name (cname)...
[ "porkpie@gmail.com" ]
porkpie@gmail.com
d15786b8e34263c55d3ab8ca58d919ff88dbdc42
d22634a6101cafc75dde63f48882e29b0312388c
/master/python/swagger_client/models/fiat_dep_data.py
06bd3229631ff1bc9dccbb05577149cc1209133d
[ "Apache-2.0" ]
permissive
rajdeep225/plugins
e4cf16bc612ceec160c6ea4bae9ffd47012e0b0a
6f62aac931e15b844431b08858303cac53b9a5ca
refs/heads/master
2020-12-24T05:40:05.313004
2016-08-21T19:00:00
2016-08-21T19:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,087
py
# coding: utf-8 """ Coinsecure Api Documentation To generate an API key, please visit <a href='https://coinsecure.in/api' target='_new' class='homeapi'>https://coinsecure.in/api</a>.<br>Guidelines for use can be accessed at <a href='https://api.coinsecure.in/v1/guidelines'>https://api.coinsecure.in/v1/guideli...
[ "vivek0@users.noreply.github.com" ]
vivek0@users.noreply.github.com
24d3c36c02a4b47b41d98818cf1b47b210c12c13
72b1035d1589d3b77c721c7be4e248bce8cde185
/pythonapi.py
9dc0ac5dff54962fc86678d02bdebc952576d5b4
[]
no_license
marciopocebon/fast2sms
2632f5c0594392604302b2d9a20f005ddecde58a
617124b86fc46526d8312c43f27cdaa6afaec5f9
refs/heads/master
2020-09-14T06:09:54.435634
2019-04-14T16:26:19
2019-04-14T16:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,810
py
import requests import json def forward_to_api(url,mobile,message,api_key,flash,count): payload = {'senderId': 'FSTSMS', 'mobile': mobile, 'message': message, 'flash': flash} headers = {'Authorization': api_key} print '\n-- Trying to send SMS via API ['+str(count)+'] --' response = requests.request("POST", url, ...
[ "noreply@github.com" ]
marciopocebon.noreply@github.com
790d12fdd35a10bb8f4f501ba6b96fef01d9ee64
bc441bb06b8948288f110af63feda4e798f30225
/resource_monitor_sdk/model/inspection/collector_pb2.pyi
fd9fb083c6ce2a16e062f751d97be2910a5a5a97
[ "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
2,520
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedC...
[ "service@easyops.cn" ]
service@easyops.cn
b5912e62cf946057ada2c318246c5d9ad9ed2c4b
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/UDisks/ObjectSkeleton.py
12e7b23b75e5111155dd62f68424e87435f13d71
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
21,125
py
# encoding: utf-8 # module gi.repository.UDisks # from /usr/lib64/girepository-1.0/UDisks-2.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes of th...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
b2e93e0c9728d11d1d9ffc5ba84b45a1de565b61
7238e16c65051cafd41d6a973bd440598589b10c
/cella/migrations/0002_recoding.py
5c0c82b92bbeb5515555233f5600befb9aa1de9f
[]
no_license
mnogoruk/TraductorCella
06ff28b422d3fcc86be216a23ae311d8082f36a7
21ee676dc8d3c467454872436bee5df5c023beb6
refs/heads/master
2023-03-15T09:43:43.874227
2021-03-23T17:08:10
2021-03-23T17:08:10
330,973,431
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
# Generated by Django 3.1.5 on 2021-03-18 10:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('authentication', '0001_initial'), ('cella', '0001_initial'), ] operations = [ migrations.CreateMode...
[ "lionless072@gmail.com" ]
lionless072@gmail.com
c298d73d0f66373ea5e1201d026b6b041489e7c5
4331b28f22a2efb12d462ae2a8270a9f666b0df1
/.history/dvdstore/webapp/form_20190914124144.py
51f49dd87c243928340315bdc38c041086f3c49f
[]
no_license
ZiyaadLakay/csc312.group.project
ba772a905e0841b17478eae7e14e43d8b078a95d
9cdd9068b5e24980c59a53595a5d513c2e738a5e
refs/heads/master
2020-07-26T23:30:22.542450
2019-09-16T11:46:41
2019-09-16T11:46:41
200,703,160
0
0
null
2019-08-05T17:52:37
2019-08-05T17:52:37
null
UTF-8
Python
false
false
875
py
from django import forms from .models import DVD, Customer class DocumentForm(forms.ModelForm): class Meta: model = DVD fields = ('Title','year','genre','InStock','Synopsis','BookingPickup' ,'NumOfTimesRented','ImageDVD') class customerForm: class Meta: model= Customer #user =...
[ "uzairjoneswolf@gmail.com" ]
uzairjoneswolf@gmail.com
513eb3ce39cc001993bc72f82d1bb7c5faaf1a94
a9063fd669162d4ce0e1d6cd2e35974274851547
/swagger_client/models/tsp_accounts_list1.py
413e6c2c8c5b80d3ab26a0e7afdb03ee2977b8fb
[]
no_license
rootalley/py-zoom-api
9d29a8c750e110f7bd9b65ff7301af27e8518a3d
bfebf3aa7b714dcac78be7c0affb9050bbce8641
refs/heads/master
2022-11-07T14:09:59.134600
2020-06-20T18:13:50
2020-06-20T18:13:50
273,760,906
1
3
null
null
null
null
UTF-8
Python
false
false
7,034
py
# coding: utf-8 """ Zoom API The Zoom API allows developers to safely and securely access information from Zoom. You can use this API to build private services or public applications on the [Zoom App Marketplace](http://marketplace.zoom.us). To learn how to get your credentials and create private/public appli...
[ "github@rootalley.com" ]
github@rootalley.com
6080401306f6ff3f3b2e6b26eefa0f58cc359af8
ef1f62cf4e53f856bf763ac0dee73f054518530d
/Week_09/115.Distinct_Subsequences.py
018e3a33c7c7d88cdacda79eb2ae627bdde78904
[]
no_license
ZHHJemotion/algorithm008-class01
3338af3619d8e1754a62af6a852f517b47298d95
5bb7d2b74110df0b5788b94c69582552d711563a
refs/heads/master
2022-11-12T09:26:24.941738
2020-06-30T15:29:20
2020-06-30T15:29:20
255,102,230
0
0
null
2020-04-12T14:39:17
2020-04-12T14:39:17
null
UTF-8
Python
false
false
1,702
py
# Given a string S and a string T, count the number of distinct subsequences of # S which equals T. # # A subsequence of a string is a new string which is formed from the original s # tring by deleting some (can be none) of the characters without disturbing the re # lative positions of the remaining characters. (ie, "...
[ "zhhjemotion@hotmail.com" ]
zhhjemotion@hotmail.com
738ed00c033335e21488fbe3f9265c920897121e
87a4bbc643c862dc8ded6e5e5bda065366ee322c
/src/python/WMCore/MicroService/Unified/RSEQuotas.py
8a66b415aa257560639467b16d4ebd1f21f35121
[ "Apache-2.0" ]
permissive
ericvaandering/WMCore
650070de98ac07eec2c7ba3a308c3ad3871725f6
1aa64fa885d07c9e26946821fcf9487e5aac5dbe
refs/heads/master
2021-05-23T23:11:49.062198
2020-09-04T07:01:15
2020-09-04T07:01:15
5,404,330
0
0
null
2015-07-08T16:27:03
2012-08-13T20:27:48
Python
UTF-8
Python
false
false
10,950
py
""" Non thread-safe object which provides all the RSE/PNN information required for automatic data placement. It can also communicate with other data management tools, like Detox, Rucio and PhEDEx. """ from __future__ import division, print_function from future.utils import viewitems from WMCore.MicroService.Unified.Com...
[ "alan.malta@cern.ch" ]
alan.malta@cern.ch
302200b67c6ff46459d3cbb1afd4dd9ccceda468
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/healthinsights/azure-healthinsights-cancerprofiling/setup.py
661aee6d571a51ce540e6ca8bc4357451c10400c
[ "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
2,517
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) Python Code Generator. # Changes may ca...
[ "noreply@github.com" ]
Azure.noreply@github.com
5de57eff05286734272612ef9ae48a7cdf10e537
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03854/s007978704.py
f030887d6dd78ea3bba4175865619e5e5e2d9b9c
[]
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
125
py
import re s = input() flag = re.match('^(dream|dreamer|erase|eraser)+$',s) if flag: print('YES') else: print('NO')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
363ccaf11d04a765dfe123aa8108c5efc179a7a3
fb78fd824e904705fb1ee09db8b3c20cc3902805
/django-react-app/leads/models.py
17a10418f8e0184ed0c4e0904cc1bf8146d137be
[]
no_license
Roderich25/mac
8469833821ac49c539a744db29db5a41d755ad55
4f7fe281c88f0199b85d0ac99ce41ffb643d6e82
refs/heads/master
2023-01-12T05:55:12.753209
2021-11-26T01:16:24
2021-11-26T01:16:24
207,029,750
0
0
null
2023-01-07T11:49:23
2019-09-07T21:51:53
Jupyter Notebook
UTF-8
Python
false
false
277
py
from django.db import models class Lead(models.Model): name = models.CharField(max_length=100) email = models.EmailField(max_length=100, unique=True) message = models.CharField(max_length=500, blank=True) created_at = models.DateTimeField(auto_now_add=True)
[ "rodrigoavilasolis@gmail.com" ]
rodrigoavilasolis@gmail.com
fddd9876f7cba4560371eeb94013cf83c23decbe
d9da91e23cb394f4f1622755098717840715be23
/python/jittor/utils/polish.py
a03b8ed03942ed06fcd290bcfa8dfa556ec73ba0
[ "Apache-2.0" ]
permissive
yezi05/jittor
4af5e857575aca28c2b0f7dbfb4d8b717ee659ff
03e8253a363aa74ce68e707ccf1726f30d9d64c5
refs/heads/master
2023-02-06T03:01:59.934523
2020-12-22T13:58:52
2020-12-22T13:58:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,577
py
#!/usr/bin/python3 # *************************************************************** # Copyright (c) 2020 Jittor. Authors: Dun Liang <randonlang@gmail.com>. All Rights Reserved. # This file is subject to the terms and conditions defined in # file 'LICENSE.txt', which is part of this source code package. # *************...
[ "randonlang@gmail.com" ]
randonlang@gmail.com
efe621adfaa9b8a93bd44ee3a70caffb919035cf
23f6dbacd9b98fdfd08a6f358b876d3d371fc8f6
/rootfs/usr/share/pyshared/desktopcouch/pair/__init__.py
fc4788fa401ce96d02d912686bae79f0a5eedc4b
[]
no_license
xinligg/trainmonitor
07ed0fa99e54e2857b49ad3435546d13cc0eb17a
938a8d8f56dc267fceeb65ef7b867f1cac343923
refs/heads/master
2021-09-24T15:52:43.195053
2018-10-11T07:12:25
2018-10-11T07:12:25
116,164,395
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
# Copyright 2009 Canonical Ltd. # # This file is part of desktopcouch. # # desktopcouch is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License version 3 # as published by the Free Software Foundation. # # desktopcouch is distributed in the hope that it wil...
[ "root@xinli.xinli" ]
root@xinli.xinli
ec29664e79ce885956b357da822230d58ef90bff
cf088e68e93981292270905c983378288c4bbd66
/backend/chat/migrations/0001_initial.py
2fb31cf4d731520bfec0e757eea48934675de7d1
[]
no_license
crowdbotics-apps/test-27314
92f91f9e3bc3cfe508338cd71b8d29df8de1927d
e436c8d0f0b346b23b26b90ea698c3ad0020711e
refs/heads/master
2023-04-21T01:55:47.441435
2021-05-24T10:39:51
2021-05-24T10:39:51
370,310,574
0
0
null
null
null
null
UTF-8
Python
false
false
4,805
py
# Generated by Django 2.2.20 on 2021-05-24 10:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('chat_user_profile', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0f3033d9f66cd33138abf1898e4ac25f24abc2f5
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/429/usersdata/321/101585/submittedfiles/jogoDaVelha.py
ceb9986c93fca04e49a3a98db4789eb815024b33
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
# -*- coding: utf-8 -*- from jogoDaVelha_BIB import * # COLOQUE SEU PROGRAMA A PARTIR DAQUI print('Bem vindo ao JogoDaVelha do grupo 8 [Iara, Ingrid, Luiz Otávio, Tatiane]') nome = str(input('Qual seu nome? ')) s = str(input('Qual símbolo você deseja utilizar no jogo? (X ou O) ')) while s != X or s != O: print('I...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
c37eec426fa77166b8385a84df964e54b7b27bad
e519a3134e5242eff29a95a05b02f8ae0bfde232
/services/control-tower/vendor/riffyn-sdk/swagger_client/models/add_property_type_body.py
584e5a664de8f7be094368cc425bdffcfd495f56
[]
no_license
zoltuz/lab-automation-playground
ba7bc08f5d4687a6daa64de04c6d9b36ee71bd3e
7a21f59b30af6922470ee2b20651918605914cfe
refs/heads/master
2023-01-28T10:21:51.427650
2020-12-04T14:13:13
2020-12-05T03:27:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,463
py
# coding: utf-8 """ Riffyn REST API ### Vocabulary Before you begin, please familiarize yourself with our [Glossary of Terms](https://help.riffyn.com/hc/en-us/articles/360045503694). ### Getting Started If you'd like to play around with the API, there are several free GUI tools that will allow you to send req...
[ "jaceys.tan@gmail.com" ]
jaceys.tan@gmail.com
7f485812412727f8eec54250a2717de3c9cc38c6
c0e1d9ab5c5fae94f988e03ead37337cd283e012
/earth461/ass1/q1b.py
9c0c57dc3f730e8c0738ef34cbfc4ba6e4f27518
[]
no_license
BruceJohnJennerLawso/turbulence-chain
114dafd19fa00f6e0af7113cdaa8d603a62dfc66
767786368c08e8ca3ba0fbc2896cb6cc9908ebdb
refs/heads/master
2016-09-01T05:15:48.650177
2015-12-07T01:49:46
2015-12-07T01:49:46
45,279,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,312
py
## q2.py ####################################################################### ## log log conductivity by ppm again, this time with different values ########## ## depending on temperature #################################################### #############################################################################...
[ "johnnybgoode@rogers.com" ]
johnnybgoode@rogers.com
9bf0b8872faffa3a20d8a64810b284909a28af6b
a8b37bd399dd0bad27d3abd386ace85a6b70ef28
/airbyte-ci/connectors/metadata_service/orchestrator/tests/test_dagster_helpers.py
13d92550f51ddd6f46330b65e3966c660c1ef658
[ "LicenseRef-scancode-free-unknown", "MIT", "Elastic-2.0" ]
permissive
thomas-vl/airbyte
5da2ba9d189ba0b202feb952cadfb550c5050871
258a8eb683634a9f9b7821c9a92d1b70c5389a10
refs/heads/master
2023-09-01T17:49:23.761569
2023-08-25T13:13:11
2023-08-25T13:13:11
327,604,451
1
0
MIT
2021-01-07T12:24:20
2021-01-07T12:24:19
null
UTF-8
Python
false
false
1,358
py
from orchestrator.utils.dagster_helpers import string_array_to_hash def test_string_array_to_hash_is_deterministic(): strings = ["hello", "world", "foo", "bar", "baz"] assert string_array_to_hash(strings) == string_array_to_hash(strings) def test_string_array_to_hash_ignores_repeated_strings(): strings ...
[ "noreply@github.com" ]
thomas-vl.noreply@github.com
f44076cdee710f265bf0956224acadf8aeac8724
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-opensearch/aliyunsdkopensearch/request/v20171225/DescribeAppRequest.py
1fde6aefdec2387c286c91083d822a3b0f7492ff
[ "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
1,708
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
2d59dda3daae2055f815f55af8792090bb339bf3
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/CJ_16_2/16_2_1_Mike_Xiao_q1.py
f1ab7c431a32948cb0d5c6ff6318219a81209fcd
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
855
py
filename = "A-large" fin = open(filename + ".in", "r") fout = open(filename + ".out", "w") casenum = int(fin.readline()) for ite in range(casenum): in_str = fin.readline() dignums = [0,0,0,0,0,0,0,0,0,0] dignums[0] = in_str.count('Z') dignums[2] = in_str.count('W') dignums[4] = in_str.count...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
65a82f0daa5889a34b436582af4722fc7077ffe0
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-mpc/huaweicloudsdkmpc/v1/mpc_client.py
acf12740f51f323053cdb6dee05918acc7a08119
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
126,593
py
# coding: utf-8 from __future__ import absolute_import import importlib from huaweicloudsdkcore.client import Client, ClientBuilder from huaweicloudsdkcore.utils import http_utils from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest class MpcClient(Client): def __init__(self): super(MpcCl...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
286e5b54ffddc08cced75a5f8c14d1b7d58eb735
04c06575a49a3f4e30e4f3f2bf2365585664d2e8
/python_leetcode_2020/Python_Leetcode_2020/204_count_primes.py
92cf09def1c8409654aad00245651ec1aa15c81e
[]
no_license
xiangcao/Leetcode
18da3d5b271ff586fdf44c53f1a677423ca3dfed
d953abe2c9680f636563e76287d2f907e90ced63
refs/heads/master
2022-06-22T04:45:15.446329
2022-06-17T13:03:01
2022-06-17T13:03:01
26,052,392
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
""" Count the number of prime numbers less than a non-negative number, n. Example 1: Input: n = 10 Output: 4 Explanation: There are 4 prime numbers less than 10, they are 2, 3, 5, 7. Example 2: Input: n = 0 Output: 0 Example 3: Input: n = 1 Output: 0 """ class Solution: def countPrimes(self, n: int) -> int: ...
[ "xiangcao_liu@apple.com" ]
xiangcao_liu@apple.com
6cc9e1b159a966897cb04e871047b58e49c391ed
83cf642504313b6ef6527dda52158a6698c24efe
/scripts/addons/fd_scripting_tools/autocompletion/suggestions/dynamic/_bpy_fake/__private__/motionpath.py
0f8b705595927dd286be09273a493ff5ba911c2d
[]
no_license
PyrokinesisStudio/Fluid-Designer-Scripts
a4c40b871e8d27b0d76a8025c804d5a41d09128f
23f6fca7123df545f0c91bf4617f4de7d9c12e6b
refs/heads/master
2021-06-07T15:11:27.144473
2016-11-08T03:02:37
2016-11-08T03:02:37
113,630,627
1
0
null
2017-12-09T00:55:58
2017-12-09T00:55:58
null
UTF-8
Python
false
false
1,020
py
from . motionpathvert import MotionPathVert from . struct import Struct from . bpy_struct import bpy_struct import mathutils class MotionPath(bpy_struct): @property def rna_type(self): '''(Struct) RNA type definition''' return Struct() @property def points(self): '''(Sequence of...
[ "dev.andrewpeel@gmail.com" ]
dev.andrewpeel@gmail.com
583762e669d9ed831762240fab8c3d9d18bf4965
7b5f6c72fa6427a9d9350d1c9007f346161b3866
/portfolio/views.py
8c90e48160b005931e983f557f6ad67693646031
[ "MIT" ]
permissive
GoWebyCMS/portfolio
a15daf8f553e7ddb92154c60e7b57b4383fa2a44
1ed5c20f6fe280388ff0876ca6a5b5129cf6b3f2
refs/heads/master
2020-06-25T22:33:46.298359
2017-07-17T10:44:46
2017-07-17T10:44:46
96,993,813
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
from django.shortcuts import render from django.http import HttpResponse from django.views.generic import ListView from django.utils import timezone from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from .models import Project, ProjectCategory, Skill # Create your views here. # TODO: Find o...
[ "kkampardi@gmail.com" ]
kkampardi@gmail.com
2f6e304d6d3a22932ae14069516b6f656a244924
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/LeetCodeWeekly/327_c.py
255919176b616b224096bbcb0e64767e7e69ba66
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
3,077
py
from typing import List, Tuple, Optional from pprint import pprint from collections import deque, defaultdict list_lower = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] class Solution: def isItPossible(self, word1: str, wo...
[ "kanai@wide.ad.jp" ]
kanai@wide.ad.jp
d343f2bf7825fe6d38f60fa6dc2ccb045815be2a
15d05b24ab8086ac84757c4d596372fd7801b827
/.ycm_extra_conf.py
d083fa69a8d6ce218a149a5a10a224238cb5081b
[]
no_license
wqx081/mpr_base
5d410720728b3e1a720a36087226979763ac538b
fb1526856898954420673807eef50a5478382c38
refs/heads/master
2021-01-11T14:28:24.249395
2017-02-10T03:43:21
2017-02-10T03:43:21
56,306,744
0
0
null
null
null
null
UTF-8
Python
false
false
5,628
py
# This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either in source code form or as a compiled # binary, for any purpose, commercial or non-commercial, and by any # means. # # In jurisdictions that rec...
[ "you@example.com" ]
you@example.com