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
769c31a43db0a6059d7503c227a2672a172665fb
e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67
/azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/mgmt/compute/v2017_03_30/models/additional_unattend_content.py
795ae9359da0f9bcd3399a4e37463668d2eb6f9c
[]
no_license
EnjoyLifeFund/macHighSierra-cellars
59051e496ed0e68d14e0d5d91367a2c92c95e1fb
49a477d42f081e52f4c5bdd39535156a2df52d09
refs/heads/master
2022-12-25T19:28:29.992466
2017-10-10T13:00:08
2017-10-10T13:00:08
96,081,471
3
1
null
2022-12-17T02:26:21
2017-07-03T07:17:34
null
UTF-8
Python
false
false
2,493
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 ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
99a48bff18d32076ccd62e6c1a35c7217e195c5d
c1e31f49a59beb6089328d09040f6f48d2e12cde
/lib/python2.7/init_dbus.py
32aaefecdfb924ce841f5ffaf776bd7e1850f469
[ "Python-2.0" ]
permissive
kernsuite-debian/casalite
3d81761e0d8ae497f97ea242e98d4357618a7591
b620981f14f4ba5b77f347f649cd2c16d498db04
refs/heads/master
2021-06-22T16:22:51.765703
2021-02-25T13:28:05
2021-02-25T13:28:05
80,822,139
0
1
null
null
null
null
UTF-8
Python
false
false
2,995
py
## ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ## first try to find executables using casapyinfo... ## (since system area versions may be incompatible)... ## next try likely system areas... ## ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ## ## note: hosts which have ...
[ "gijs@pythonic.nl" ]
gijs@pythonic.nl
ed1ae999aefa0ff7bce0bae6d90dd29b8ef54960
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/334665_Dependable_URL_startfile_Windows/recipe-334665.py
c05bf761f3533bd1fb544f64bccb3abaabf4a0c6
[ "Python-2.0", "MIT" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
746
py
import os always_works = 0 def starturl(url, dwell=0, add_msg="", tempfile = "name_ending_in.html"): html = "<html><head>\r\n<meta http-equiv=refresh " html += 'content="%s; url=%s">' % (dwell, url) html += "\r\n</head><body bgcolor=#d0d0d0>\r\n" html += "<h2>Loading .... &nbsp; &nbsp;" html += "...
[ "betty@qburst.com" ]
betty@qburst.com
104bf5175b2d30e710a25bb3fa067107ce42dc7d
f7c07caa1210d2a08e8433cdd854b1232efa88e3
/Directory-And-File-Modules/Filecmp-Module/dircmp/report.py
3969efd6eec3eea669354bf3b98e5e7399e9da17
[]
no_license
rchicoli/ispycode-python
c2fbecc28bf32933150986d24f77b7297f50b78e
fa27f2377943ac2e4d983065406578151091e3f5
refs/heads/master
2020-03-20T11:34:59.698618
2018-06-14T21:14:02
2018-06-14T21:14:02
137,407,150
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
import filecmp # Construct a new directory comparison object dc = filecmp.dircmp('/tmp/dir1','/tmp/dir2') # Print (to sys.stdout) comparison dc.report()
[ "rafaelchicoli@hotmail.com" ]
rafaelchicoli@hotmail.com
72ff9ca5273b69a4ae99dc2ff9c5e87092217224
e45d211a6dd0a72f5213d374f16e0e8a106c3888
/Fabricacion/migrations/0064_auto__add_menudos.py
11c3f7b379eee8f3df064d51865a243fba8d5d55
[]
no_license
porkilandia/Porkisoft
38e12cf6406e8a48a3e68c08d9ddb33514f3809f
a4789b31a26d3a41c76ed012889c8e281c2f64b8
refs/heads/master
2016-09-06T16:33:48.545504
2016-01-14T00:45:59
2016-01-14T00:45:59
18,380,976
0
0
null
null
null
null
UTF-8
Python
false
false
33,387
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Menudos' db.create_table(u'Fabricacion_menudos', ( ...
[ "jamen17@gmail.com" ]
jamen17@gmail.com
a1802b510c039583df5c066757e5ed39821f366f
781e2692049e87a4256320c76e82a19be257a05d
/assignments/python/wc/src/811.py
6e3b4d209fe57b9672202deb5b7e4f71af648cb5
[]
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
157
py
from collections import Counter def word_count(text): """Counts the occurences of each word, returning a dict.""" return dict(Counter(text.split()))
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
96a86ef747fad78f28593d0c534dd741ebbfac46
3b9338d99cf8090387418e32ca81617f072c39fb
/demos/vala/wscript
18194cf63b1002843b3cbdd78bd443696a523440
[]
no_license
sillsdevarchive/wsiwaf
8ca14c286bafceb9ee6fad740b64ad7131282dc3
2dcddafc3602a7220acbe995df4ba85abb06b767
refs/heads/master
2020-12-30T17:10:21.701380
2017-05-12T05:12:17
2017-05-12T05:12:17
91,052,898
0
1
null
null
null
null
UTF-8
Python
false
false
677
#! /usr/bin/env python # encoding: utf-8 # Jaap Haitsma, 2008 # the following two variables are used by the target "waf dist" VERSION = '0.0.1' APPNAME = 'vala-gtk-example' # these variables are mandatory ('/' are converted automatically) top = '.' out = 'build' def options(opt): opt.load('compiler_c') opt.load('v...
[ "tnagy1024@f0382ac9-c320-0410-b3f0-b508d59f5a85" ]
tnagy1024@f0382ac9-c320-0410-b3f0-b508d59f5a85
e9e59d6a35f77fbcd2dc48fa29787139e7cd9d20
5942e3e75ef7dc22a67b04fb1f12e14658a2093d
/documentation_files/repr.py
aa3d612d417ad45d88668b2867dbc79eb983d86f
[]
no_license
the-factory/kdevelop-python
9e94d2a4d4906a31a4d2a8a08300766e02d41a59
1e91f2cb4c94d9455a2ee22fef13df680aeed1ab
refs/heads/master
2021-01-18T08:57:16.707711
2012-04-09T22:37:47
2012-04-09T22:37:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- """:synopsis: Alternate repr() implementation with size limits. """ class Repr: """ Class which provides formatting services useful in implementing functions similar to the built-in :func:`repr`; size limits for different object types are added to avoid the genera...
[ "svenbrauch@googlemail.com" ]
svenbrauch@googlemail.com
c0fb3cb949f46c8e09a54ade419da93a7cdd0dd8
3c8b1153a702810f0c939050c1851182d34d25a1
/assets/migrations/0002_auto_20141011_1326.py
afdb3296f82f7f31691e39538ac365eec75c3fed
[]
no_license
Brachamul/profit
42e1232b983e4b5223b225d3ce81869a53d15e58
348daaaafb97b4e1380a2ebc9bcd2f7e64902be7
refs/heads/master
2016-09-11T00:21:37.678513
2015-03-03T07:31:13
2015-03-03T07:31:13
22,314,023
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('assets', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='feature', name='illus...
[ "barnaby.brachamul@gmail.com" ]
barnaby.brachamul@gmail.com
b00a30e78a50180dcee40bba44fa7e400094157f
63c02e307e5b2a1c6f9c74c16365c0482c976b50
/docket/resources/registration.py
0ad40373e8ee05c84bf787f0bb3b1e7b1b462507
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
siq-legacy/docket
f127c164e0d13960f0af2f7e27961b669db5ce1f
dbc1c9cd5297c9efe84780aadc0d8204a7b9af9b
refs/heads/master
2021-03-12T20:22:05.452492
2013-05-17T15:10:10
2013-05-17T15:10:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
from mesh.standard import * from scheme import * from docket.resources.entity import Entity __all__ = ('Registration',) StandardEntity = Structure(Entity[1].mirror_schema('entity defunct')) class Registration(Resource): """An entity registration.""" name = 'registration' version = 1 requests = 'cre...
[ "mccoy.jordan@gmail.com" ]
mccoy.jordan@gmail.com
edbdb789fe2175dc9b44c6132adcc56fc4d9ee9c
b61b09f684a2193cafcb4161e06be37feea81f09
/chariot/transformer/text/__init__.py
d85ce655caa1e165d92bf4eee1f39470868d3d53
[ "Apache-2.0" ]
permissive
upura/chariot
854691dd6b76df6c7a96a8c85a36c56dec1ad5ef
75f503ae7f4e4dd6ac31ba51031640c514646be7
refs/heads/master
2020-04-24T18:29:51.856498
2019-02-21T07:13:11
2019-02-21T07:13:11
172,181,379
0
0
Apache-2.0
2019-02-23T06:43:21
2019-02-23T06:43:17
Jupyter Notebook
UTF-8
Python
false
false
136
py
from .unicode_normalizer import UnicodeNormalizer from .symbol_filter import SymbolFilter from .lower_normalizer import LowerNormalizer
[ "icoxfog417@yahoo.co.jp" ]
icoxfog417@yahoo.co.jp
9662a5e6b29c33f8f6068537e8b5560f3dfa69c1
5a394c53a7099bc871401e32cf3fc782546f9f7d
/.history/lab1/Graph_20210130221140.py
b1e1a1e04a71e95430bb1f74471a084c1dc65fa1
[]
no_license
ajaygc95/advPy
fe32d67ee7910a1421d759c4f07e183cb7ba295b
87d38a24ef02bcfe0f050840179c6206a61384bd
refs/heads/master
2023-03-27T10:10:25.668371
2021-03-23T08:28:44
2021-03-23T08:28:44
334,614,292
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
from matplotlib import pyplot as plt class Graph: def __init__(self) -> None: self.plot = plt def plotGraph(self, x, y): plt.plot(x,y) plt.xlabel('Year') plt.ylabel('Change in Temperature') plt.title('Temperature change by year') plt.legend('Change') ...
[ "gcajay95@gmail.com" ]
gcajay95@gmail.com
c40e905516b3e2fc6a5aac2a34c14527f735211c
11812a0cc7b818292e601ecdd4aa4c4e03d131c5
/GIL_test/hm_03_两个进程死循环.py
4b2ec0d866713d68923f5f7284c2e902d6517100
[]
no_license
SunshineFaxixi/Python_Learning
f1e55adcfa898489cc9146ccfb220f0b48a31a22
ab3ca44d013311b6de02124091acc4c36a83c4d9
refs/heads/master
2021-08-16T05:47:29.963118
2021-01-04T13:48:30
2021-01-04T13:48:30
238,857,341
1
0
null
2020-03-03T13:53:08
2020-02-07T06:21:46
HTML
UTF-8
Python
false
false
209
py
#coding=utf-8 import multiprocessing def deadLoop(): while True: pass # 子进程死循环 p1 = multiprocessing.Process(target=deadLoop) p1.start() # 主进程死循环 while True: pass
[ "xxhan2018@163.com" ]
xxhan2018@163.com
ceac2756f727c631755ebb0796637f01d126fd67
f0a62605171bc62eb68dd884c77cf146657ec5cb
/library/f5bigip_ltm_policy.py
78e4b484dfad4454f6f0afc210993461fef7de2f
[ "Apache-2.0" ]
permissive
erjac77/ansible-role-f5
dd5cc32c4cc4c79d6eba669269e0d6e978314d66
c45b5d9d5f34a8ac6d19ded836d0a6b7ee7f8056
refs/heads/master
2020-04-06T08:13:14.095083
2020-02-16T23:44:13
2020-02-16T23:44:13
240,129,047
3
1
null
null
null
null
UTF-8
Python
false
false
4,700
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright 2016 Eric Jacob <erjac77@gmail.com> # # 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 #...
[ "erjac77@gmail.com" ]
erjac77@gmail.com
7e42707e9abe7a8365e4cf3ef24684ac950342d6
72d20e0bd6605d7a49f86c0ef9e127f27e85023c
/Project/Server/routes/api/student/apply/goingout.py
5fe1fdc5e454a74d7c85f39c3526ccc9acb66336
[ "MIT" ]
permissive
JoMingyu/DMS-Migrates-to-Python
431355481a207e7e3ed67905d01b3396e04d8553
b659507e4bec9881f87f2c4ec0b563b3f75148fc
refs/heads/master
2021-06-30T14:30:10.088144
2017-09-22T02:42:56
2017-09-22T02:42:56
103,612,949
1
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
from flask import request, session from flask_restful import Resource from support.user.user_manager import get_uuid_from_request from database.mongodb import goingout class Goingout(Resource): """ 외출신청(POST, GET, DELETE available) """ def post(self): uuid = get_uuid_from_request(request, se...
[ "city7310@naver.com" ]
city7310@naver.com
517ff2c598a8f1bd90c151f8e1db2c26b16e29c3
eacff46eda2c6b509449979a16002b96d4645d8e
/Collections-a-installer/community-general-2.4.0/plugins/modules/identity/ipa/ipa_dnsrecord.py
635bf2ff910bf3dbe30f4545cf942dd571b71466
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
d-amien-b/simple-getwordpress
5e6d4d15d5f87124ab591e46b63fec552998fdc3
da90d515a0aa837b633d50db4d91d22b031c04a2
refs/heads/master
2023-04-08T22:13:37.347545
2021-04-06T09:25:51
2021-04-06T09:25:51
351,698,069
0
0
MIT
2021-03-31T16:16:45
2021-03-26T07:30:00
HTML
UTF-8
Python
false
false
11,361
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2017, Abhijeet Kasurde (akasurde@redhat.com) # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = r''' --- module: ...
[ "test@burdo.fr" ]
test@burdo.fr
088e2aec53ee47b93eb6fd7a41ab695a1bacb0e6
351cb3b4e4e61890d0c4cb79348fd527dece43b0
/extract_submissions.py
c99791f9eb38756a486484affc2173536abd36dc
[ "MIT" ]
permissive
litpuvn/MOSS-winnowing-seqMatcher
3cb319fca12eb8fc8db5652bb38fa49908638571
fad4d676e6f9fcdede3fbbbe8fa7e7846ddea4ea
refs/heads/master
2020-08-02T12:35:25.635115
2019-10-09T21:54:26
2019-10-09T21:54:26
211,355,190
0
1
MIT
2019-09-27T15:59:33
2019-09-27T15:59:32
null
UTF-8
Python
false
false
2,430
py
import argparse import os import zipfile from fnmatch import fnmatch from shutil import copyfile def get_parser(): """Get parser for command line arguments.""" parser = argparse.ArgumentParser(description="Plagiarism Check") parser.add_argument("-i", "--input", ...
[ "litpuvn@gmail.com" ]
litpuvn@gmail.com
e9e9564d63f9f987359c499a4394905358c4aaff
470ba8ad6424a9ebea4ff37874286df04bc32fed
/es-list-indices.py
91124908dd4537cf8676fbdd0cb2036f0e3c2a46
[]
no_license
vbehrani/ops
0fd70fa9d43cdfb1095cfdeed492e317d01f0924
3ff7701ad1a7243150023a5b6b6e13b4dce1284e
refs/heads/master
2021-01-20T04:18:31.429931
2016-12-07T08:27:23
2016-12-07T08:27:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
#!/usr/bin/env python3 import requests print(requests.get('http://localhost:9200/_cat/indices').text)
[ "sean.shahkarami@gmail.com" ]
sean.shahkarami@gmail.com
60dc0d8e91dac0c527f8e3cc50c8dbc1cd39b96b
407977aa9601a6b1ba63693a19c61408079c64d3
/users/apis/serializers.py
1356e9225741448d29633080f46b83e87a19c472
[]
no_license
imobanco/dry-rest-permission-ddd-example
1f6baaca9703c80bc89ea99aa1604677be3f8139
a5affe6ccc5518c873fd8624995fddbccf0e3e5c
refs/heads/main
2023-03-29T00:12:57.754575
2021-04-05T01:03:35
2021-04-05T01:03:35
354,661,421
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
from core.rest_framework.serializers import ServiceSerializer from users.models import User class UserSerializer(ServiceSerializer): class Meta: model = User fields = [ "username", "email", "is_superuser", "is_staff", "id", "c...
[ "rodrigondec@gmail.com" ]
rodrigondec@gmail.com
f7837f1395e58cdc0203adf4ed0dd00d8bf08101
f8095636248bac9e2b018ed3b06f36502edffb0b
/frontend_issuu_autotest_replica/tests_free_account/TestUserSettingsFREE.py
7909ff7749b240e3d0e2e38f44a0238aa6740ff7
[]
no_license
slashsorin/auto-fe-test
deb1c696767b1c31125970679aa8ce4364fa956a
266f3d7badb14c388edc63139bf659f60e09ac64
refs/heads/master
2016-08-04T10:22:18.123109
2013-11-22T09:16:57
2013-11-22T09:16:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,745
py
import sys, time, os #sys.path.append('/Users/Sorin/Issuu/new_eclipse_ws/frontend-issuu-autotest/autotest_framework/') sys.path.append('../autotest_framework') import SeleniumTestCase, make_platform_classes import SetTestStatus as sts import cfg import unittest, xmlrunner class TestUserSettingsFREE(SeleniumTestCase...
[ "sorin.dimo@yahoo.com" ]
sorin.dimo@yahoo.com
ba3a712fe939977ad1d24604a6b421e2aa02cd77
80bcb71937fdb99bd64bc554efaa65997b37ce33
/articles/views.py
c50631e3302e9deae78a407c7c2000cae82f075d
[ "MIT" ]
permissive
audiolion/tango-articles
b7454f57b7a2d1e3eec1c9aee71d9e37394cf38d
79d574600e870e938f080eef8b028c038814cb25
refs/heads/master
2021-01-17T22:00:05.862668
2016-06-29T21:02:26
2016-06-29T21:02:26
62,227,072
0
0
null
2016-06-29T13:15:16
2016-06-29T13:15:16
null
UTF-8
Python
false
false
8,590
py
import time from django.conf import settings from django.contrib import messages from django.contrib.auth.decorators import login_required from django.core.exceptions import ObjectDoesNotExist from django.core.urlresolvers import reverse from django.http import HttpResponse, HttpResponseRedirect from django.sh...
[ "tim.baxter@cerner.com" ]
tim.baxter@cerner.com
7e92b0a06a76c38568f287165a30c3de41f45a5f
7cd30248342dc83e0b49409bed4b3df378b629b1
/layers_fc_densenet.py
46b6ef3e7f86b999acbc6732ce80b7ae3d399a54
[]
no_license
minhnd3796/NGUYENDUCMINH_CODE
d34fc5cb0c9ba4108faf500170a8bea5bdef1d04
9fb27777ca0d40018c7154f7be19b420cf391471
refs/heads/master
2021-04-06T20:47:34.958473
2018-06-12T08:36:33
2018-06-12T08:36:33
125,452,799
2
0
null
null
null
null
UTF-8
Python
false
false
1,681
py
import numpy as np import tensorflow as tf import tensor_utils_fc_densenet as utils def BN_ReLU_Conv(name, keep_prob, inputs, n_filters, filter_size=3, eps=1e-5): depth = np.shape(inputs)[3] beta = tf.get_variable(name=name+'_beta', shape=[depth], initializer=tf.constant_initializer(0.0), trainable=False) ...
[ "gordonnguyen3796@gmail.com" ]
gordonnguyen3796@gmail.com
5c5c19d5475fec1054150f2a7fb9129d9b5589a6
9249f87109471de1fc3f3c3c1b121f51c09df683
/lesson_7/test_8.py
d1cc499e74ee88ac362b6aa27de814b748419253
[]
no_license
anton1k/mfti-homework
400a8213a57e44478d65437f5afef0432e8e84ea
93683de329e6cb0001e713214aeb3069f6e213b0
refs/heads/master
2020-07-18T23:41:11.473608
2020-01-12T10:58:16
2020-01-12T10:58:16
206,335,501
1
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
# Одной из важнейших операций в линейной алгебре, аналитической геометрии, математическом анализе, анализе данных, искуственном интеллекте, компьютерной графике и в огромном количестве других областей математики и информатики является вычисление скалярного произведения двух векторов. # Вычисляется скалярное произведен...
[ "40913464+anton1k@users.noreply.github.com" ]
40913464+anton1k@users.noreply.github.com
8eb57938c2b1b03f6c2d4ea43ea60a32e83de34c
c0a7d9a057abbd1a065a4149b96777163e596727
/Placement Prepration/Hashing/array_equal_or_not.py
17de52bb53c9136b15c70c6a15aa94ee4106b2c0
[]
no_license
Sameer2898/Data-Structure-And-Algorithims
6471c2dabfbd2067d2a2c556ddd0b6615235cd4f
2f251570434ea9c1881de95b4b1a5e368d5b7f46
refs/heads/main
2023-02-16T16:18:08.177109
2021-01-14T06:33:22
2021-01-14T06:33:22
329,527,964
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
def check(arr1, arr2, n): mp = {} for i in range(n): if arr1[i] in mp.keys(): mp[arr1[i]] += 1 else: mp[arr1[i]] = 1 for i in range(n): if arr2[i] not in mp.keys(): return False else: mp[arr2[i]] -= 1 for i in mp.k...
[ "xdgsr1234@gmail.com" ]
xdgsr1234@gmail.com
6ba977e36fb6ef3126140e2bef325c726d944c39
2e18ebdc26fd4864d1ff79223e581a44c2d041d2
/binary_tree/415_valid_palindrome.py
b1e9032fba11f2ef1b87d6812f1d30104c1d7d26
[]
no_license
Shanshan-IC/lintcode_python
34565d011b49abe33b47e4338fa9c1cf9ff6fd88
a33ba235c24a1d4be2d30b768f7c747fcbaf520e
refs/heads/master
2021-05-09T03:56:45.435153
2018-05-06T12:41:00
2018-05-06T12:41:00
119,257,916
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
class Solution: """ @param s: A string @return: Whether the string is a valid palindrome """ def isPalindrome(self, s): l, r = 0, len(s)-1 while l < r: while l < r and not s[l].isalnum(): l += 1 while l < r and not s[r].isalnum(): ...
[ "shanshan.fu15@imperial.ac.uk" ]
shanshan.fu15@imperial.ac.uk
4d9af64a5faf1d526718a6d0dea4b6834f1035fc
ea4811088a858178d86c1387047749f89ea8c221
/CMS/settings/user_genius.py
d3a639d90154c97d657d2f0882b2e4d267810a90
[]
no_license
ri-gilfanov/pharmacosphere-site
3f64b9e14a8221dec4e14813e8e73f271d32d364
058c79eff3fd00dda9feada589a13d05ef4792f2
refs/heads/master
2021-09-01T10:22:44.590277
2017-12-26T12:54:55
2017-12-26T12:54:55
114,351,256
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
from .develop import * # Database # https://docs.djangoproject.com/en/1.10/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } # Конфиг БД для подключения к PostgreSQL на сервере ''' # Импорт секретных ...
[ "ri.gilfanov@yandex.ru" ]
ri.gilfanov@yandex.ru
90a989d4cc4c39fdc4b476400d117de51c3f87ff
547e8c1d630a44b2e89b6c405dda4a7e0baa97a5
/flasgger/__init__.py
8559cd261d025053663eeaaf59ccc738a11753dd
[ "MIT" ]
permissive
AminHP/flasgger
6f21f488df934ef925931ac77947a5c390ada4a2
27160ecfbb45ee8da2a3acddfa240ec4eb2b057a
refs/heads/master
2021-01-23T07:45:01.984748
2017-03-30T08:42:50
2017-03-30T08:42:50
86,444,574
0
0
null
2017-03-28T10:03:09
2017-03-28T10:03:09
null
UTF-8
Python
false
false
327
py
__version__ = '0.6.1' __author__ = 'Bruno Rocha' __email__ = 'rochacbruno@gmail.com' from jsonschema import ValidationError # noqa from .base import Swagger, NO_SANITIZER, BR_SANITIZER, MK_SANITIZER # noqa from .utils import swag_from, validate # noqa from .marshmallow_apispec import SwaggerView, Schema, fields ...
[ "rochacbruno@gmail.com" ]
rochacbruno@gmail.com
3a04644f05258435c3a16d870ab3826fe1f6a412
be9d68202a7852f49926f389d815011143b3dac3
/tests/test_roundtrip.py
83fd1e327ad1a339038932e42886e1144dd47c22
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
erezlab/cooler
7ea972ab13d297fc2d4e3e2e972cce83950628f1
7d75098679ef1ae10210b85d6d5e8f0b3ad8bc35
refs/heads/master
2021-01-19T10:16:49.736849
2016-09-11T07:05:56
2016-09-11T07:05:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,025
py
# -*- coding: utf-8 -*- from __future__ import division, print_function from six import BytesIO, iteritems import os import numpy as np import h5py from nose.tools import assert_raises from nose import with_setup import cooler testdir = os.path.dirname(os.path.realpath(__file__)) testfile_path = os.path.join(testdir...
[ "nabdennur@gmail.com" ]
nabdennur@gmail.com
01fe49c192467b818bb31229553ef269622e204d
00a22413aab8b59d2d66cb59f7316bb489dd244a
/src/zojax/product/utils.py
f06c875da5b551c8af4095682b6e7a6ea1cf9e81
[ "ZPL-2.1" ]
permissive
Zojax/zojax.product
57d1630615d7871b6d253a5d87f2303cd22549e7
0f088331e0f72f3865f7bfd420462697d7ecf066
refs/heads/master
2021-01-19T10:40:07.369107
2011-12-16T07:23:12
2011-12-16T07:23:12
2,018,727
0
0
null
null
null
null
UTF-8
Python
false
false
2,651
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
4804c50c17f359c211569ee169c7dc9b7a56d2c6
eaaece44659cf0f8da84c0da5f444fdb70538d82
/aremind/apps/wisepill/tests.py
8eb23b43af4a5cf17e090785fbc392f72ddd6fee
[]
no_license
dimagi/aremind
c0d4f115a2d87bb69230ff49e34fac5dbb45cd1c
dda5837f8839acd3194cc2849b20fcecb2d7758c
refs/heads/master
2021-01-18T08:24:38.246665
2012-10-15T15:33:01
2012-10-15T15:33:01
1,676,667
0
1
null
2012-06-14T17:41:38
2011-04-28T16:44:22
Python
UTF-8
Python
false
false
5,618
py
import datetime from django.test import TestCase from rapidsms.models import Contact from aremind.apps.wisepill.models import WisepillMessage from aremind.apps.wisepill.constants import WISEPILL_LOW_BATTERY from aremind.apps.patients.models import Patient, PatientDataPayload from aremind.apps.patients.importer import ...
[ "dpoirier@caktusgroup.com" ]
dpoirier@caktusgroup.com
4f2810dd7b5a4881efb98c7736cf52fdf2bee8c6
a96de62c5053c9108879583447ba1f5fed9154f7
/test/test_en.py
d685cc02c547ce871b59b2d55bda7cc0fd16b416
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
andy071001/pattern
f8b7897fd3c208c004f2e808accb89ffc3826494
c574a0ad03aaa87dfa28d01655c00f0861af9afc
refs/heads/master
2021-01-18T05:22:46.392627
2013-02-21T12:11:41
2013-02-21T12:11:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
42,229
py
# -*- coding: utf-8 -*- import os, sys; sys.path.insert(0, os.path.join("..")) import unittest import random import subprocess from pattern import en try: PATH = os.path.dirname(os.path.abspath(__file__)) except: PATH = "" #---------------------------------------------------------------------------------...
[ "tom@organisms.be" ]
tom@organisms.be
5d75659e3178850e607c730d21e757fed237c053
74a00025a11eddc4ca1093d32dc85fe7fd32fc3b
/src/promnesia/logging.py
ecbf0afab8e4b8b38d73f5dc4d4146c9af942dd2
[ "MIT" ]
permissive
hirajanwin/promnesia
0858b62b488977785f0d680c39856142c37604ea
20a07c23d150e2206f22d1afa5b1a4f1a17e3305
refs/heads/master
2023-03-10T21:42:41.871478
2021-02-26T18:24:27
2021-02-27T01:58:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,039
py
#!/usr/bin/env python3 ''' Default logger is a bit, see 'test'/run this file for a demo ''' def test() -> None: import logging import sys from typing import Callable M: Callable[[str], None] = lambda s: print(s, file=sys.stderr) M(" Logging module's deafults are not great...'") l = logging....
[ "karlicoss@gmail.com" ]
karlicoss@gmail.com
fe2b0b25efcc99b99396c6bf2c5c2556c99949b1
01548099ec20976d31cca7a720102c11c56fc9be
/cases/test_01_register.py
4bff68fe10e406074768529b48afe85da79166b7
[]
no_license
OMEN001/Lemon_Api_Test
6a27a9a9ccf28623006b465a107d53b17ad30404
373c9f1a1f1f3160bbe8edcc4b5740f9779947ae
refs/heads/master
2023-02-25T22:31:39.824908
2021-01-24T14:22:52
2021-01-24T14:22:52
329,324,658
1
0
null
null
null
null
UTF-8
Python
false
false
3,846
py
# -*- coding: utf-8 -*- # @Time : BaLiang # @Author : 86187 import unittest from scripts.handle_excel import HandleExcel from libs.ddt import ddt,data from scripts.handle_request import HandleRequest from scripts.handle_yaml import do_yaml from scripts.handle_parameterize import Parameterize from scripts.handle_log i...
[ "1668317403@qq.com" ]
1668317403@qq.com
d410c6e1e23ed7172c493415d7dba0b4590cb239
1b62770ddb63fb27b03eb8fa0a3def415844a965
/utils/base_admin.py
712cf88a5f475b550d83d52bd8d95f90584cbde3
[]
no_license
KIRA009/myweblink
78239c4c76005be098d1a4140e514fdc8a4da3cf
7f8e0a188b8066bbfb3ae051a026468969d1cb71
refs/heads/production
2023-08-06T16:49:05.715592
2020-07-18T13:12:18
2020-07-18T13:12:18
252,243,196
0
0
null
2021-09-22T18:49:33
2020-04-01T17:31:39
Python
UTF-8
Python
false
false
928
py
from django.contrib import admin from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth import authenticate class CustomLogin(AuthenticationForm): def clean(self): username = self.cleaned_data.get('username').lower() password = self.cleaned_data.get('password').lower() ...
[ "shohanduttaroy99@gmail.com" ]
shohanduttaroy99@gmail.com
f14951ca943affb75a98c859aa6c570f5f06d8df
797f89caa1ec1188efafe43bef96104678bd7512
/setup.py
bbf2b7d22f82718938b147b54a0a692d23f78f86
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
modulexcite/elizabeth
dc9bdb9ee743bb6efe8abdc6381cebfe245c4729
142e178a57057b77f653c9258984e54c3070eaec
refs/heads/master
2021-01-13T03:32:36.107710
2016-12-28T07:41:17
2016-12-28T07:41:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
from distutils.core import setup import elizabeth setup( name='elizabeth', version=elizabeth.__version__, packages=['elizabeth', 'elizabeth.core', 'elizabeth.core.interdata'], keywords=['fake', 'data', 'testing', 'generate', 'faker', 'elizabeth', 'bootstrap', 'db', 'generic...
[ "likid.geimfari@gmail.com" ]
likid.geimfari@gmail.com
1afe35aacf6fa43c1673b2509490c1ee21178b0a
03e0c2af1e6560404def97854fa7a87e4fedd52e
/revscoring/languages/tests/test_spanish.py
163610f11df9e06c5e25c31526967885aab1e4bd
[ "MIT" ]
permissive
PersianWikipedia/revscoring
f64aa93a216bee8966765843dea9384af9b890b5
960d934f60a94714125a90cba24b7b45da5172b2
refs/heads/master
2020-12-30T19:37:08.734771
2015-08-06T23:16:35
2015-08-06T23:16:35
40,272,339
0
0
null
2015-08-05T22:41:09
2015-08-05T22:41:09
null
UTF-8
Python
false
false
1,071
py
import pickle from nose.tools import eq_ from .. import language, spanish def test_language(): stem_word = spanish.solve(language.stem_word) eq_(stem_word("Huevos"), "huev") eq_(stem_word("Vamar"), "vam") is_badword = spanish.solve(language.is_badword) assert is_badword("huevos") assert ...
[ "aaron.halfaker@gmail.com" ]
aaron.halfaker@gmail.com
1188afe55f7e76eab427d93e43b7049b268bf4ba
e749e94163a0e20c551875583baef4e02e72de5e
/Github/IPS-2/test_script.py
a7f8b1b0ea3152c1abd8412828ab0bccc9f05757
[]
no_license
tritims/TensorFlow-Program-Bugs
3445200179f4b7f5cc4ac1c6f076468ec19e51bb
158ba0a23e0cb74e73dbab08571b05fc36848f2a
refs/heads/master
2022-07-08T16:33:38.511696
2020-05-20T14:20:47
2020-05-20T14:20:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
import tensorflow as tf import sys import os import subprocess try: assert len(sys.argv) == 2 version = ["-buggy", "-fix"][int(sys.argv[1])] except: print( "Please run 'python test_script 0' for testing the buggy-version and " "'python test_script 1' for testing the fix-version.\nAborted......
[ "zyhzyhzyh@pku.edu.cn" ]
zyhzyhzyh@pku.edu.cn
68585489fac7bf061631758b1ef11e321ec0d5eb
232b2e8881a4ba693bea940022d68cc22caeccbb
/virtual/lib/python3.6/site-packages/pylint/test/functional/async_functions.py
486c9ba45541b54825ada44b0c26a8eafb5080d4
[ "MIT" ]
permissive
bryomajor/my-developer-life
b52ea3cd39e5d8226c51c700da32f5daf2489dc7
8332e1da4d24511255b1b7fc02f94ae4352f87a1
refs/heads/master
2022-12-08T08:18:40.266324
2019-10-29T13:40:44
2019-10-29T13:40:44
217,529,308
1
2
MIT
2022-12-08T06:47:28
2019-10-25T12:31:00
Python
UTF-8
Python
false
false
1,282
py
"""Check that Python 3.5's async functions are properly analyzed by Pylint.""" # pylint: disable=missing-docstring,invalid-name,too-few-public-methods # pylint: disable=using-constant-test async def next(): # [redefined-builtin] pass async def some_function(arg1, arg2): # [unused-argument] await arg1 class ...
[ "bryomajor@gmail.com" ]
bryomajor@gmail.com
8c610f10bb981d96ea1ca9ca9be1a12e631134af
bce44991fddb9515429e6dba22248e4204b1d30a
/venv/lib/python3.9/site-packages/meraki_v0/aio/api/monitored_media_servers.py
fb19f6c1019c15c3c9bd3812252a1c42f24bac81
[]
no_license
tkj-scythe/meraki-dns-checker
6f7441380c4b48497b0c9b9a2bc5db380da4899c
91c2f61b7527f89063bfa0b2e7c28c766581ed96
refs/heads/main
2023-07-01T09:04:21.353214
2021-08-04T01:22:39
2021-08-04T01:22:39
390,630,419
0
0
null
null
null
null
UTF-8
Python
false
false
4,560
py
class AsyncMonitoredMediaServers: def __init__(self, session): super().__init__() self._session = session async def getOrganizationInsightMonitoredMediaServers(self, organizationId: str): """ **List the monitored media servers for this organization. Only valid for org...
[ "t.kjaerolsen@gmail.com" ]
t.kjaerolsen@gmail.com
bfd2050a3e6b87141e1397d48c7159ac42513a25
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/hour/community_lombok.py
7040384456f28fa72991d3a3c04704a2839530b2
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
4,026
py
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; // Install Newtonsoft.Json with NuGet using Newtonsoft.Json; namespace TranslationService.Controllers { public class Translate ...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
89945493c8ea25f94d02cc858c01e211c88baad3
e39395420a019094e8ae422621cb56c378d9b540
/memory_management.py
66f9f406090524e5d94436d0e3cd39cd78b8c663
[]
no_license
cristian-bedoya/Concepts_Python
2038e63cdcfe67ada93953a6c2598a37c8cbd508
3d9da91ae218efeb7b6b6f7ed7202f3bf5796839
refs/heads/master
2023-04-19T15:37:25.987820
2021-05-04T11:25:40
2021-05-04T11:25:40
364,232,065
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
import weakref class Car: pass x = 10 print(type(x)) y = x if (id(x) == id(y)): print("x and y refer to same object") x += 1 if (id(x) == id(y)): print("x and y different to same object") z = 10 if (id(y) == id(z)): print("y and z refer to same object") else: print("y and z different to same obj...
[ "crisbed321@gmail.com" ]
crisbed321@gmail.com
3d6baa2c6ec4b94e9eec97acc8d85cd1ba8a4f6a
f5122242ceb72699f137d720a4c2087ab88ce215
/apps/account/migrations/0011_auto_20180202_1514.py
edc97bbcf511bad025d14767c692ce22686c86c1
[]
no_license
tainaml/p_gs
009eae484152a213955da86d459314b7be0c4f69
0201a81c4ad5408bc9a2a585b9cb870dcdfe11d1
refs/heads/master
2023-01-20T05:00:31.052509
2018-08-15T18:49:52
2018-08-15T18:49:52
144,891,416
0
0
null
2023-01-12T09:29:19
2018-08-15T18:51:52
JavaScript
UTF-8
Python
false
false
584
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2018-02-02 18:14 from __future__ import unicode_literals import apps.account.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0010_user_gamification_member'), ] operations...
[ "philliparente@gmail.com" ]
philliparente@gmail.com
e18a5923f36b4598068f2a3474c74399240e9ef3
c2e49d32b2613d702dd06067bd0ec7846a319fd5
/apidocs/conf.py
0e5afdf99b37bab90a4d31ab506a7e8c8c96fd2e
[ "Apache-2.0" ]
permissive
hamscher/Arelle
c9a020a5955a313c14a4db3a4e7122ec9599714c
64c1beddcc7163e571011faf07a03d8ffe18bb78
refs/heads/master
2023-08-24T14:12:49.055954
2021-10-17T16:55:56
2021-10-17T16:55:56
284,703,106
0
0
Apache-2.0
2020-08-10T15:48:15
2020-08-03T13:08:08
Python
UTF-8
Python
false
false
8,991
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # arelle documentation build configuration file, created by # sphinx-quickstart on Thu Feb 9 13:20:36 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autog...
[ "fischer@markv.com" ]
fischer@markv.com
393fd4a8a5281a36764de18a36fa5b30425f2fc3
f0a0aa6a5fe0ded715bb65c78dbedd9b2ca24e2f
/100DaysOfPython/Day4/Lists/RockPapersScissors.py
c134f6217ddf42b65ede188829f2abf249ce7244
[]
no_license
DeepanshuSarawagi/python
bb911dd8dfc2d567a2c51679bb10c3f37f11e500
a7b4ea3a0b6f1f373df3220ca655e575ae401d09
refs/heads/master
2022-04-26T17:46:39.301757
2021-08-25T15:08:14
2021-08-25T15:08:14
228,613,467
1
0
null
2022-04-22T23:32:41
2019-12-17T12:38:01
Python
UTF-8
Python
false
false
971
py
import random rock = ''' _______ ---' ____) (_____) (_____) (____) ---.__(___) ''' paper = ''' _______ ---' ____)____ ______) _______) _______) ---.__________) ''' scissors = ''' _______ ---' ____)____ ______) __________) (____) -...
[ "deepanshusarawagi@gmail.com" ]
deepanshusarawagi@gmail.com
fdcabe29912fc7ff91dc143e09f2251e6933b954
e8a131a2cb7cf1d61413d54951fa89c65e1540a2
/lib/dsplus/bench.py
93f1b765b709515c9d37568eee9b03b6ca2abd53
[ "Apache-2.0" ]
permissive
andrewxhill/MOL
2877cf7adde4d595a685774fd8e0f6e422046d79
831efdd5e5b75a6452d451e982ab2e7563771cf4
refs/heads/master
2021-01-15T15:27:22.780230
2011-10-07T07:44:53
2011-10-07T07:44:53
1,040,510
9
3
null
2014-04-10T16:47:21
2010-10-31T23:20:56
Python
UTF-8
Python
false
false
1,619
py
"""Benchmark for task creation and execution.""" import cProfile import os import pstats import sys from ndb import eventloop from ndb import tasklets from ndb import utils # Hack: replace os.environ with a plain dict. This is to make the # benchmark more similar to the production environment, where # os.environ is...
[ "eightysteele@gmail.com" ]
eightysteele@gmail.com
56721757363e5b12b1f8b885b8c12a2e14c1db08
3dd43ff0dab514a39f611487ab421256b3b5b13b
/scripts/client/gui/Scaleform/daapi/view/meta/VehicleCompareViewMeta.py
042f0bdd186ee40ff9ac8ec1ca43337c2cd35c47
[]
no_license
kusaku/wotscripts
04ab289e3fec134e290355ecf81cf703af189f72
a89c2f825d3c7dade7bc5163a6c04e7f5bab587d
refs/heads/master
2023-08-20T00:17:36.852522
2018-02-26T14:53:44
2018-02-26T14:53:44
80,610,354
1
0
null
null
null
null
UTF-8
Python
false
false
2,156
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/VehicleCompareViewMeta.py """ This file was generated using the wgpygen. Please, don't edit this file manually. """ from gui.Scaleform.daapi.view.meta.VehicleCompareCommonViewMeta import VehicleCompareCommonViewMeta class VehicleCompareViewMeta(Vehicle...
[ "kirill.a@aggrostudios.com" ]
kirill.a@aggrostudios.com
7378a5c4e48e89c180d660e647379b62ab107d16
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/python2.7/htmllib.py
1cad0e082df4ba1af2cc205350ba3461f2600ea0
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
67
py
/home/action/.parts/packages/python2/2.7.6/lib/python2.7/htmllib.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
5af595ea783247bba8659a8bd9b41800bb81c977
6dc621bb10f6de041fde56fc067546ea17887297
/xe_currency_converter/models/config_settings.py
0be11544fc5a2e8dc8140ac03cdbaf1f166eae2c
[]
no_license
aaltinisik/CybroAddons
8eb7d07ff76fc2a71268d61384ab845dd3aeabf5
bb6453404e4f28060643f23c1c6311587f7d2925
refs/heads/12.0
2023-08-31T14:58:27.384188
2023-07-08T13:17:50
2023-07-08T13:17:50
96,469,796
1
3
null
2023-09-04T13:28:59
2017-07-06T20:34:16
HTML
UTF-8
Python
false
false
5,797
py
# -*- coding: utf-8 -*- """ Convert currency rate based on company currency by using xe.com platform """ import requests from lxml import etree from odoo import api, fields, models from odoo.exceptions import UserError class ResConfigSettings(models.TransientModel): """List out the service provider for exchange t...
[ "ajmal@cybrosys.in" ]
ajmal@cybrosys.in
2b9459343ea24e819a1189e98d70f09b4ef796ae
d8764bb4d7d065f1aea761fb1cda18513caa66ac
/backend/manage.py
1dec073a855a3f9d35131f68aca4f599ba581112
[]
no_license
crowdbotics-apps/speak-up-26784
221604fa2d53b7e6196924527ce5d076be0824a4
b2735f564ee30fa27b45bfc7a42328422b40ae0f
refs/heads/master
2023-04-25T13:39:02.430799
2021-05-17T08:56:39
2021-05-17T08:56:39
368,119,356
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'speak_up_26784.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
8641cd33a33a681c9bf9767793820aa53a5c9083
7ebb2f0458d3813737dd045473d7c1398d08392d
/tests/test_copy_vertical_slice.py
e15088000edfb445c752b06b7cf039c19802ca2a
[ "Python-2.0", "BSD-3-Clause" ]
permissive
clEsperanto/pyclesperanto_prototype
b3192d6984f45571fe0a7dfcceee2058bc4debbe
b465c8669f8e9326874139cf4b9c9af22c22757c
refs/heads/master
2023-09-04T11:07:55.828329
2023-08-25T17:18:30
2023-08-25T17:18:30
248,206,619
152
36
BSD-3-Clause
2023-05-23T09:44:51
2020-03-18T10:56:29
Jupyter Notebook
UTF-8
Python
false
false
1,442
py
import pyclesperanto_prototype as cle import numpy as np def test_copy_vertical_slice_from_3d(): test1 = cle.push(np.asarray([ [ [1, 4], [0, 4] ], [ [1, 3], [1, 2] ] ])) test2 = cle.create((2, 2)) cle.copy_vertical_slice(...
[ "haesleinhuepf@users.noreply.github.com" ]
haesleinhuepf@users.noreply.github.com
053264618515f3c89445b90c332bbbd068ff43bf
190d03cf370844548b9e8c89952dfbaec4d0c5c8
/p394.py
cc6f0e5dce80465bca6e84d8073da236567cc0ba
[]
no_license
alainlou/leetcode
446d101a9fd2f9eaa2229252e5909e7df36b4a74
fe500bcb067be59aa048259e3860e9da6f98344d
refs/heads/master
2022-10-16T12:20:44.726963
2022-09-18T15:29:05
2022-09-18T15:29:05
178,775,702
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
class Solution: def decodeString(self, s: str) -> str: def dfs(s): ans = '' num = 0 start = float('inf') end = float('-inf') n = len(s) i = 0 while i < n: if ord('0') <= ord(s[i]) <= ord('9'): ...
[ "az2lou@uwaterloo.ca" ]
az2lou@uwaterloo.ca
e58e8f5a1cefce69e32bec8d12904ac0d7a3f070
d252d0caa8d2724872fa4ac7553cbb3d9845dc9d
/Codecademy/Python/05 - Listas e Dicionários/05.1 - Listas e Dicionários em Python/03 - Novos vizinhos.py
f9d77fa41e5da3369d5aa1dde868e4ce4604b4e6
[]
no_license
tarv7/Trabalhos-da-faculdade-UESC
81a0ebefbf468a4d15050a60aacd192acd6f272f
40a6487de068b9e12fe0b533d3e626c21de0cbf5
refs/heads/master
2020-04-06T15:32:22.856274
2017-12-10T05:03:10
2017-12-10T05:03:10
45,571,531
1
1
null
null
null
null
UTF-8
Python
false
false
339
py
zoo_animals = ["pangolin", "casuar", "preguica", "tigre"] # Noite passada a preguica do zoologico atacou brutalmente # o pobre tigre e o devorou inteiro. # A feroz preguica foi substituida por uma amigavel hiena. zoo_animals[2] = "hiena" # Que animal deveria preencher o vazio deixado pelo pobre tigre falecido? zoo_a...
[ "thallles.ramos@gmail.com" ]
thallles.ramos@gmail.com
b1005d2a7cfdbd669f93a0aba29a37e8da4d3a9a
a222e2999251ba7f0d62c428ba8cc170b6d0b3b7
/AtC_Reg_Con_051-060/ARC052/A.py
a7def35b73e24a588b10bd3f6f6c24b4afedf04d
[ "MIT" ]
permissive
yosho-18/AtCoder
3e1f3070c5eb44f154c8104fbd5449f47446ce14
50f6d5c92a01792552c31ac912ce1cd557b06fb0
refs/heads/master
2020-06-02T10:21:29.458365
2020-05-29T12:40:48
2020-05-29T12:40:48
188,795,239
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
s = input() numberli = ["0","1","2","3","4","5","6","7","8","9"] for i in range(len(s)): if s[i] in numberli: k = s[i] if i != len(s) - 1: if s[i + 1] in numberli: l = s[i + 1] print(k + l) exit() else: print(k) ...
[ "44283410+wato18@users.noreply.github.com" ]
44283410+wato18@users.noreply.github.com
8280b585042df5f3f2743904a0c866b303be0cfb
9d5fd2db84afd3fbc11186d232b712e91fff2cb2
/src/abclinuxuapi/shared.py
8d59b10947158aae1bd1c0daa665be02d957c17a
[ "MIT" ]
permissive
Bystroushaak/abclinuxuapi
606e2a7c3c889af623be44762a15cfe52092bfd1
e6d3a76b3a71a958663efe037a00e5784fa4d0c1
refs/heads/master
2021-05-16T02:42:35.413478
2021-04-30T17:42:20
2021-04-30T17:42:20
19,644,172
6
1
MIT
2021-04-30T17:42:20
2014-05-10T15:06:01
HTML
UTF-8
Python
false
false
6,917
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Interpreter version: python 2.7 # # Imports ===================================================================== import re import time import types import datetime from urlparse import urljoin import requests import dhtmlparser # Variables =========================...
[ "bystrousak@kitakitsune.org" ]
bystrousak@kitakitsune.org
b2723ef800fbfda757e47d7b744967215bc6e2b0
a5e6ee40d0760982c3e8475259ea754ed3f24716
/lexical.py
e5fbfd2740c720ff765fcddd9c0ba6ad9d40ea56
[]
no_license
rocket3989/ieeextreme13
6786d012d2c913915c55e0720ff8855d4a125a8f
f0bafecc8038623529b97e22e9512839c5a1b1c5
refs/heads/master
2020-08-22T14:54:43.021947
2020-04-15T06:25:08
2020-04-15T06:25:08
216,420,668
2
3
null
2020-04-15T06:25:09
2019-10-20T20:07:44
Python
UTF-8
Python
false
false
942
py
# Collin Pearce 93% # Iskandar Sobirov found many corner cases from math import ceil N, A, B = [int(x) for x in input().split()] if A > N // 2 and B < N: print("NO") else: valList = [] val = 0 bCount = N // B N %= B if N == 0: print("YES") print(*[B for i in r...
[ "rocket3989@gmail.com" ]
rocket3989@gmail.com
4c2e67ffd1b2594db694ec765b1256881e32b5f3
2a3a1f103a324bd36e1f557643bf785a782ac5bf
/1075.py
22384223b0c1ebbc7e80cb87f30ad0f815e0227e
[]
no_license
dbgkswn7581/python_basic_questions
4c381847c6ab90647cc4dddaca3831210dbbe721
5042ea2a2e84a71e81ab8eccf940abde1e82a68f
refs/heads/master
2023-02-08T04:59:51.654197
2021-01-04T06:54:18
2021-01-04T06:54:18
326,170,578
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
a=int(input()) while True: if a == 0: break a -= 1 print(a)
[ "72482222+dbgkswn7581@users.noreply.github.com" ]
72482222+dbgkswn7581@users.noreply.github.com
d212454a9028b958698ea2242ac1416c2694a3f5
52b5773617a1b972a905de4d692540d26ff74926
/.history/equiLeader_20200827153443.py
5fbb713379cb8c1b9457fe508d6fb7435701603c
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
def equi(A): # return the number of equal leaders that both occur in the sequences # first find the equileader # then count them in both sequences store = {} candidate = -1 for i in A: if i in store: store[i] +=1 else: store[i] = 1 for i in s...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
afd90e9e500ea2d9b48705dfb4a049ab64d6f477
eaaaf281f73fca63b4eb649fc6133c89416d13bf
/week-03/day-3/11a.py
be1473d97a0a13b24089bb137e6016573168d89f
[]
no_license
tpracser/PracserTamas-GF-cuccok
87801dbe45acccffa9853269777d6a334bdbff4d
6a152d76980881ef01abd1a648f3ea13eebd259d
refs/heads/master
2021-09-01T15:48:03.556460
2017-12-27T20:00:12
2017-12-27T20:00:12
115,549,503
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
# Create a function that prints a diamond like this: # * # *** # ***** # ******* # ********* # *********** # ********* # ******* # ***** # *** # * # # It should take a number as parameter that describes how many lines the diamond has def triangle1(number): star = 1 spac...
[ "t.pracser@gmail.com" ]
t.pracser@gmail.com
802565d977d5c13cda4f81ff8fa8283debd51270
8c917dc4810e2dddf7d3902146280a67412c65ea
/v_7/GDS/shamil_v3/booking_custom/booking_custom.py
3387ebb20e7f64440953afad2dcd1b354b31a85f
[]
no_license
musabahmed/baba
d0906e03c1bbd222d3950f521533f3874434b993
0b997095c260d58b026440967fea3a202bef7efb
refs/heads/master
2021-10-09T02:37:32.458269
2018-12-20T06:00:00
2018-12-20T06:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,112
py
# -*- coding: utf-8 -*- ############################################################################## # # NCTR, Nile Center for Technology Research # Copyright (C) 2011-2012 NCTR (<http://www.nctr.sd>). # ############################################################################## from openerp.osv import fiel...
[ "bakry@exp-sa.com" ]
bakry@exp-sa.com
b46116173bbbcd87c336641c771ca0f14cb4c77b
2fac796fa58c67fb5a4a95a6e7f28cbef169318b
/leetcode/binary-search/random-pick-with-blacklist.py
1bab8d664f0a3bf01b828385e88e7ba560a0d42f
[]
no_license
jwyx3/practices
f3fe087432e79c8e34f3af3a78dd10278b66dd38
6fec95b9b4d735727160905e754a698513bfb7d8
refs/heads/master
2021-03-12T20:41:59.816448
2019-04-14T06:47:30
2019-04-14T06:47:30
18,814,777
2
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
# https://leetcode.com/problems/random-pick-with-blacklist/ # https://leetcode.com/problems/random-pick-with-blacklist/solution/ # https://zhanghuimeng.github.io/post/leetcode-710-random-pick-with-blacklist/ # Time: O(MlogM), M = len(blacklist) # Space: O(M) # from post: # 在讨论区里我看到了类似的做法,但是思考的角度不太一样。我们可以把从区间[0, N - M)中...
[ "jwyx88003@gmail.com" ]
jwyx88003@gmail.com
14f65acc5bd1411af55895975ae347f04b3d1447
b7fd11cc5e37f0521ba9705c39b465d3d186751c
/SCRIPT/PRIVATE/cal/org_month_indicator/script_oi_m.py
ce9a3d84dca5f5a3baff814b1abfafa90ef7d5d4
[]
no_license
dxcv/index_k
a7d5c11ef904dacca865ec01040d4ca2cf525df9
d811d1352aab3c8afdff7e2baa89b53484e3dd2e
refs/heads/master
2020-05-17T18:09:27.758007
2019-04-28T07:23:07
2019-04-28T07:23:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,185
py
import datetime as dt import pandas as pd from utils.algorithm import preprocess as pre, calculation as cal from utils.database import config as cfg, io, sqlfactory as sf from utils.dev import calargs_org4r from multiprocessing import Pool # SET UP sf.SQL.Org4R.INDEXID = "OI01" # 使用OI01作为输入计算 pre.SQL_USED = sf.SQL.Or...
[ "xiaodong.qin@OIGBUY.COM" ]
xiaodong.qin@OIGBUY.COM
1a6c7f1d7d5a6aa5e03bc5815e139fab001d19eb
85b8a52f1be2c4838f885f0e5a4d6963f4109dfe
/codes_/0830_Positions_of_Large_Groups.py
a4583d83f1f0c33a24ff1b1b851e1017bb7a9375
[ "MIT" ]
permissive
SaitoTsutomu/leetcode
4cc5bac4f983b287ec1540d188589ce3dd6e409a
4656d66ab721a5c7bc59890db9a2331c6823b2bf
refs/heads/master
2023-03-12T11:37:29.051395
2021-02-27T06:11:34
2021-02-27T06:11:34
281,815,531
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
# %% [830. Positions of Large Groups](https://leetcode.com/problems/positions-of-large-groups/) # 問題:サイズが3以上の(同じ文字が連続する)グループの「開始位置と終了位置」をリストで返せ # 解法:文字の変わる位置を保持する class Solution: def largeGroupPositions(self, s: str) -> List[List[int]]: res, st, pr = [], 0, "" for i, c in enumerate(s + ";"): ...
[ "tsutomu7@hotmail.co.jp" ]
tsutomu7@hotmail.co.jp
1dca20b4582740bd678ccbdffcd082d03019c5ac
be7949a09fa8526299b42c4c27adbe72d59d2201
/cnns/foolbox/foolbox_2_3_0/tests/v1/attacks/test_attacks_iterative_gradient.py
244c89dae4f97aa2f9a82a92e07be7ba1ee8723b
[ "MIT", "Apache-2.0" ]
permissive
adam-dziedzic/bandlimited-cnns
375b5cccc7ab0f23d2fbdec4dead3bf81019f0b4
81aaa27f1dd9ea3d7d62b661dac40cac6c1ef77a
refs/heads/master
2022-11-25T05:40:55.044920
2020-06-07T16:14:34
2020-06-07T16:14:34
125,884,603
17
5
Apache-2.0
2022-11-21T21:01:46
2018-03-19T16:02:57
Jupyter Notebook
UTF-8
Python
false
false
483
py
import numpy as np from foolbox.v1.attacks import IterativeGradientAttack as Attack def test_attack(bn_adversarial): adv = bn_adversarial attack = Attack() attack(adv, epsilons=10, steps=5) assert adv.perturbed is not None assert adv.distance.value < np.inf def test_attack_gl(gl_bn_adversarial)...
[ "adam.dziedzi@gmail.com" ]
adam.dziedzi@gmail.com
92b9962b95f12f9588c15c5d9c34c5a2e6e92a10
139ae16b7f1a27a08b9e06031f2f6cda48c5ca34
/new.py
ae263211a05bd9ba39c152e210d25f27e2bb47e2
[]
no_license
inctoolsproject/taolove
abbcf32388d9fc3e97498dd2cf9b0307723d237e
65b2597d5d3a5414001b844796b5f67c505807ea
refs/heads/master
2020-03-31T05:23:19.441657
2018-06-05T03:01:02
2018-06-05T03:01:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
134,928
py
# -*- coding: utf-8 -*- from linepy import * from datetime import datetime from time import sleep from bs4 import BeautifulSoup from humanfriendly import format_timespan, format_size, format_number, format_length import time, random, sys, json, codecs, threading, glob, re, string, os, requests, subprocess, six,...
[ "noreply@github.com" ]
inctoolsproject.noreply@github.com
b0b702a81d320fa3ecb065ffa63720698e00bcc8
95b57cb90ea0625ede16679b0a6a324342c1ec28
/stars/apps/dashboard/permission/views.py
aeaa525dd62ca8dd7f09d31c789081ebad1fe403
[]
no_license
lisongwei15931/stars
2814f5cc9d08dd26a25048f91b27ff1607a659cb
3d6198c2a1abc97fa9286408f52c1f5153883b7a
refs/heads/master
2022-11-27T07:08:52.048491
2016-03-18T09:33:55
2016-03-18T09:33:55
54,242,594
0
0
null
2022-11-22T00:36:28
2016-03-19T02:10:35
Python
UTF-8
Python
false
false
3,082
py
# -*- coding: utf-8 -*-s from django.views.generic import UpdateView, ListView, CreateView, DeleteView from django.core.urlresolvers import reverse from django.contrib.auth.models import User from django.contrib import messages from django.http import Http404, HttpResponse from django.template.loader import render_to_...
[ "lisongwei1593@gmail.com" ]
lisongwei1593@gmail.com
3c57318c5f33a3bf570b2ab1ba6cb6a24b6f4433
31bc3fdc7c2b62880f84e50893c8e3d0dfb66fa6
/language/python_369/python_369/function/function_signature_quickref.py
bcb52cf0eb26e35777fccd288b56e38e720f0192
[]
no_license
tpt5cu/python-tutorial
6e25cf0b346b8182ebc8a921efb25db65f16c144
5998e86165a52889faf14133b5b0d7588d637be1
refs/heads/master
2022-11-28T16:58:51.648259
2020-07-23T02:20:37
2020-07-23T02:20:37
269,521,394
0
0
null
2020-06-05T03:23:51
2020-06-05T03:23:50
null
UTF-8
Python
false
false
960
py
# https://stackoverflow.com/questions/24735311/python-what-does-the-slash-mean-in-help-output - position only parameters (i.e. "/" in the function # signature) will only be available in Python 3.8 or 3.9 # https://stackoverflow.com/questions/14301967/bare-asterisk-in-function-arguments def keyword_only_arguments(firs...
[ "uif93194@gmail.com" ]
uif93194@gmail.com
92e7f60972d067ab71c348ce171dd6f90bedfcd8
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_database_advisors_operations.py
fb90631ec38122aaa868abbd7e6e4d3885cab485
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
15,363
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
ed3eac9df850d8f30b6a7b5cbb7ee85fef85d520
ca66a4283c5137f835377c3ed9a37128fcaed037
/Lib/site-packages/pandas/tests/dtypes/test_generic.py
6159b4d2804f7e7dc8e53a79b5eb471cce119565
[]
no_license
NamithaKonda09/majorProject
f377f7a77d40939a659a3e59f5f1b771d88889ad
4eff4ff18fa828c6278b00244ff2e66522e0cd51
refs/heads/master
2023-06-04T20:25:38.450271
2021-06-24T19:03:46
2021-06-24T19:03:46
370,240,034
0
0
null
null
null
null
UTF-8
Python
false
false
4,363
py
# -*- coding: utf-8 -*- from warnings import catch_warnings, simplefilter import numpy as np from pandas.core.dtypes import generic as gt import pandas as pd from pandas.util import testing as tm class TestABCClasses(object): tuples = [[1, 2, 2], ['red', 'blue', 'red']] multi_index = pd.Mult...
[ "namithakonda09@gmail.com" ]
namithakonda09@gmail.com
cad097d56892a138f92cfc828428e940c4538922
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Spacy/source2.7/spacy/lang/lex_attrs.py
f1279f03540da0c717f82f1cf24c981beb40dbd9
[ "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
5,370
py
# coding: utf8 from __future__ import unicode_literals import unicodedata import regex as re from .. import attrs _like_email = re.compile(r'([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)').match _tlds = set( "com|org|edu|gov|net|mil|aero|asia|biz|cat|coop|info|int|jobs|mobi|museum|" "name|pro|tel|travel|...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
dd6f560324474dd0a72efd521fcc46dbc7e2346f
8acbd7fcfe1bcf94e4e895e58ac5c81f8ed13741
/fees/migrations/0033_auto_20200525_1446.py
780c394b17d1bd42402030968619a0b6f4cfddcf
[]
no_license
Rajangupta09/School-beta
440af5d5d078a46036cfa3c50865f980c5ff1ace
3ca6ca9992d2b47bcfe1762beb8c88609d519ea5
refs/heads/master
2022-12-07T19:42:19.562804
2020-08-04T09:53:04
2020-08-04T09:53:04
284,509,100
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
# Generated by Django 3.0.3 on 2020-05-25 09:16 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('fees', '0032_auto_20200523_1331'), ] operations = [ migrations.AddField( model_name='feeheadmap...
[ "rjnkumar05@gmail.com" ]
rjnkumar05@gmail.com
8d0ee49424b864fb533144a752d72d8554bf906d
0256c10246c7523a3d6e647d8e7b54ea59fb863d
/pygal_skill.py
702e74ef501a040ba473ba28fb2265834789fc48
[]
no_license
mj3428/visual
e14d6613dcb06fe9051cb4e2ecebcb39c15a4241
defcdbec8f249a13d312e578cee5c5302c25a853
refs/heads/master
2020-03-11T18:51:11.827466
2019-08-16T07:47:37
2019-08-16T07:47:37
130,189,965
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
#创建Die类 from random import randint class Die(): """表示一个骰子的类""" def __init__(self,num_sides=6): """骰子默认为6面""" self.num_sides = num_sides def roll(self): """返回一个位于1和骰子面数之间的随机值""" return randint(1,self.num_sides)#也就是1到6的随机整数 #开始掷骰子 from die import Die die = Die() results = [] for roll in range(100):...
[ "noreply@github.com" ]
mj3428.noreply@github.com
30f02f25620427ba165af0de4511bd2802b62d7c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02957/s888968193.py
565fa57d065e95bc211b5408018b3c66fd73655d
[]
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
140
py
def resolve(): a,b = map(int,input().split()) if a%2 != b%2: print('IMPOSSIBLE') else: print((a+b)//2) resolve()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e31017bb2a252d12939f881f5143a74a87bca76e
eaa0aa13ea83be4d32dd08beac0497031861e562
/examples/block/middleman.py
95b9e432ff8e356945aeb2a894ef8f1d5b0e00bb
[ "BSD-3-Clause" ]
permissive
teepark/junction
53cdb4e03f8f1de730ea17da66187079a68fbcdf
481d135d9e53acb55c72686e2eb4483432f35fa6
refs/heads/master
2021-01-01T20:00:23.442225
2014-03-07T22:16:14
2014-03-07T22:16:14
1,063,890
3
2
null
null
null
null
UTF-8
Python
false
false
600
py
#!/usr/bin/env python # vim: fileencoding=utf8:et:sta:ai:sw=4:ts=4:sts=4 import traceback import greenhouse import junction greenhouse.global_exception_handler(traceback.print_exception) junction.configure_logging(level=1) PORT = 9870 SERVICE_PORT = 9876 def main(): hub = junction.Hub(("localhost", PORT), [(...
[ "travis.parker@gmail.com" ]
travis.parker@gmail.com
b489964ba567b773abacdc37d2b623cbca5d6e34
8cc3a3284ba2f92177d955db3aa7ff26fa5649d5
/test/benchmark_mpc.py
c98bba77e047379e367f46b65d3d6e3120d2a797
[ "MIT" ]
permissive
Yugandhartripathi/CrypTen
1d71d0ab9debbf4e01c54c18b4cdda503f26e6ad
693dd6cc9918e982963e6acc186215d0f0769080
refs/heads/master
2020-12-19T18:06:01.700908
2020-01-16T23:19:22
2020-01-16T23:20:34
235,809,642
0
1
MIT
2020-01-23T14:18:18
2020-01-23T14:18:18
null
UTF-8
Python
false
false
6,124
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from test.multiprocess_test_case import MultiProcessTestCase, get_random_test_tensor import crypten import torch from...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
c7df33d4c922077b369ee8a7579112ab1d286626
7b762455f9682a9bf70e64017a3c59c8d92ef1da
/app/__init__.py
e99ea24d83413f6547e17aa843557b3d060f20a7
[]
no_license
abkfenris/gage-beaglebone
6964b8f10655dbe2f7a8ba3517d5ad816f807f55
27e97b01b62b68b322912c9f65ed5573fc58312d
refs/heads/develop
2020-03-29T12:06:03.943509
2017-06-28T18:34:32
2017-06-28T18:34:32
19,552,976
0
0
null
2019-07-26T22:33:50
2014-05-07T22:48:22
Python
UTF-8
Python
false
false
62
py
if __name__ == '__main__': from app import main main()
[ "abk@mac.com" ]
abk@mac.com
0a52236f8f0afd02a1b515e6eb72c2f6b36cb5c6
3f48e3308674212408c3b6ca972eb4f793bf142b
/f0_data_process/pro_seq/data_202101_trim_Drosophila_STAR/1_star_rsem_write_slurm_ucsc_refseq_with_QC.py
cffc6908742649ffce26c23ea08d9b7e266edc6a
[]
no_license
zanglab/utx_code
8497840ace81e0337f92f04fafbb691f0ed24865
32fc7851207f650b3cc78974ab798f8606099e56
refs/heads/main
2023-06-28T17:38:33.231877
2021-07-27T01:31:00
2021-07-27T01:31:00
388,648,753
1
0
null
null
null
null
UTF-8
Python
false
false
5,867
py
import os,sys,argparse import fileinput,time import glob,re import re,bisect import pandas as pd import numpy as np #def expand_region(summitlist): #from reads_count import read_count_on_mapfile #import re,bisect plus = re.compile('\+') #minus = re.compile('\-') name = re.compile('\#name') fastq_files = re.compile('\#...
[ "zhenjia.sdu@gmail.com" ]
zhenjia.sdu@gmail.com
d2cfa5c1f400987175256a91bdfd936ad800a362
747f759311d404af31c0f80029e88098193f6269
/addons/cci_timesheet/wizard/create_timesheet_line.py
bd30d3dbf251dc58c99c84d9ef70cba74948d05b
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
83
py
/home/openerp/production/extra-addons/cci_timesheet/wizard/create_timesheet_line.py
[ "geerish@omerp.net" ]
geerish@omerp.net
69d5dc9b22ac4dbf648ca2daad5b1763b3756ca1
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Rhino/DocObjects/__init___parts/LinearDimensionObject.py
9e90ada38a223d2c170488b7c45a91c931ab4abf
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
399
py
class LinearDimensionObject(AnnotationObjectBase): """ Represents a Rhino.Geometry.LinearDimension that is placed in a document. """ DimensionStyle=property(lambda self: object(),lambda self,v: None,lambda self: None) """Gets the Rhino.DocObjects.DimensionStyle associated with this LinearDimensionObject. ...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
83d09a77871006a510b54530868751a6039fb309
6a26de4f5bfbc507d2986d92f091086231df5090
/toolkit/apps/notification/management/commands/send_test_jiggle.py
e62914d65ef2510bb8b63cd5871e6bd47b200475
[]
no_license
rosscdh/toolkit
a169478ff60f305029159b62831a90d899e0986a
cdda3dd17a776bf2a07fe093304160bf3c43199b
refs/heads/master
2022-11-25T01:52:42.964759
2019-10-19T11:00:35
2019-10-19T11:00:35
14,691,581
1
0
null
2022-11-22T00:26:10
2013-11-25T16:50:14
Python
UTF-8
Python
false
false
1,048
py
# -*- coding: utf-8 -*- from django.conf import settings from django.core.urlresolvers import reverse from django.contrib.sites.models import Site from django.core.management.base import BaseCommand, CommandError from toolkit.apps.notification.tasks import youve_got_notifications import pprint class Command(BaseCom...
[ "ross@lawpal.com" ]
ross@lawpal.com
55f5c86732a03bc478d61b3719c479f74e415c93
645cd832def2330ea923d69fcc82cf5b7719415b
/python/smqtk/representation/__init__.py
5d6481977f9fd47571662e4ae48aee97e8edd083
[]
no_license
mrG7/SMQTK
3103b6c59e347930a330e3284b288cb7af20f3b6
19917babd63767726b1bc21a184a5006366b59af
refs/heads/master
2021-01-20T11:35:21.861708
2015-10-02T21:50:44
2015-10-02T21:50:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
from .code_index import CodeIndex, get_code_index_impls from .data_element import DataElement, get_data_element_impls from .data_set import DataSet, get_data_set_impls from .descriptor_element import DescriptorElement, get_descriptor_element_impls from .descriptor_index import DescriptorIndex, get_descriptor_index_impl...
[ "paul.tunison@kitware.com" ]
paul.tunison@kitware.com
bead1e58fef1785c1383b1728855f8dceb702c68
a689a72d3699883d7b58bd4ee3103373270bd0d5
/preset/Python/Dijkstra.py
58eb6c4f4f674538006612ae38a934c8a5506f2e
[]
no_license
Oizys18/Algo
4670748c850dc9472b6cfb9f828a3ccad9c18981
45caafe22a8a8c9134e4ff3b227f5f0be94eefe7
refs/heads/master
2022-05-11T08:35:06.812539
2022-05-07T01:30:41
2022-05-07T01:30:41
202,690,024
4
1
null
null
null
null
UTF-8
Python
false
false
2,688
py
""" <최단 경로 문제> # 시작 정점에서 목표 정점까지 가는 간선의 가중치의 합이 최소가 되는 경로를 찾는 문제 # 최단 경로? 간선의 가중치가 있는 유향 그래프에서 두 정점 사이의 경로들 중 간선의 가중치의 합이 최소인 경로 1. 단일 시작점 최단 경로 문제 >> 출발점에서 다른 모든 정점들에 이르는 최단 경로를 구하는 문제 >> 해결1: 다익스트라(Dijkstra) 알고리즘: 음의 가중치를 허용하지 않음 >> 해결2: 벨만-포드(Bellman-Ford) 알고리즘: 음의 가중치 허용. 가중치 합이 음인 사이클은 허용하지 않음 2. 모든 쌍 최단 경로 문제 >...
[ "oizys18@gmail.com" ]
oizys18@gmail.com
ac1cc5b6f6d2656f03326ab110bee168b2aaefeb
508c5e01aa7dce530093d5796250eff8d74ba06c
/code/venv/lib/python3.6/site-packages/pgadmin4/pgadmin/browser/server_groups/servers/databases/schemas/tables/__init__.py
e22e54cfa99ff13eb0a9d5478718131fb0feb65f
[ "PostgreSQL", "MIT" ]
permissive
jhkuang11/UniTrade
f220b0d84db06ff17626b3daa18d4cb8b72a5d3f
5f68b853926e167936b58c8543b8f95ebd6f5211
refs/heads/master
2022-12-12T15:58:30.013516
2019-02-01T21:07:15
2019-02-01T21:07:15
166,479,655
0
0
MIT
2022-12-07T03:59:47
2019-01-18T22:19:45
Python
UTF-8
Python
false
false
45,883
py
########################################################################## # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2017, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # ########################################################################## """ Implements Ta...
[ "jhkuang11@gmail.com" ]
jhkuang11@gmail.com
dfc5dc6f990c43a89ba44b7a4570f55803b9d458
43239741971dd67ded35db404819616e96561596
/venv/Scripts/pip3.7-script.py
3c64fd71dbd22c78fbb091e12072aea930d5182e
[]
no_license
aljaserm/Drwaing
0b522b7e09de80922568a465c035270efb1041bd
7ed53145fdc356efda87816db6f2663898062c33
refs/heads/master
2020-05-16T14:53:06.537065
2019-04-24T00:06:49
2019-04-24T00:06:49
183,113,902
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
#!C:\Users\aljas\OneDrive\Documents\Development\Python\OpenCV\Drwaing\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script...
[ "aljaserm7@gmail.com" ]
aljaserm7@gmail.com
6e612ae63a8fa7984ef4c371b743e93b4eb90587
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/program_enrollments/tests/test_models.py
1ff5ab35391a42b420036e23ad114b9cdd6655e6
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
9,167
py
""" Unit tests for ProgramEnrollment models. """ from uuid import UUID import pytest import ddt from django.db.utils import IntegrityError from django.test import TestCase from edx_django_utils.cache import RequestCache from opaque_keys.edx.keys import CourseKey from common.djangoapps.course_modes.models import Cour...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
b67bafe59a684f615f53ed8f7133ac55c385d3f8
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/big_map_diff/op3i51GQPTxWbT777DPufUcXzLbZ9PhHhpUw4Uw9ExNbgof1pkq/test_big_map_op3i51.py
4b03574566594e3a5c8c5d2ce9e67949066164d7
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
860
py
from unittest import TestCase from tests import get_data from pytezos.michelson.contract import ContractStorage class BigMapCodingTestop3i51(TestCase): def setUp(self): self.maxDiff = None def test_big_map_op3i51(self): section = get_data( path='big_map_diff/op3i51GQPTxWbT77...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
2801f8535625ebebb67b4b8ba74a0c1c3157c280
725ce8167897de0ffd42b97b7aefff43686b0d33
/barbados/exceptions/__init__.py
2d3ca8d3dd2d934a60ada5bcc1cc6350a2104b73
[]
no_license
vinceblake/barbados
a510424f82d77066b9b6fa0e1d4641cbbeb5f138
28b6c691e5c8150f51b8ee57a99239232b1417ef
refs/heads/master
2023-02-15T07:54:47.381960
2021-01-13T02:51:49
2021-01-13T02:51:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
import os import logging class ValidationException(Exception): pass class FatalException(Exception): def __init__(self, exception): logging.error("A fatal error has occurred: %s" % exception) logging.error("PID %i is shutting down." % os.getpid()) exit(1) class ServiceUnavailableEx...
[ "grant@grantcohoe.com" ]
grant@grantcohoe.com
572cce1995153e05cd670aa40247e9114df50b1e
ddaa20f2ff0aaed4c6beeba888c4213405fdd586
/pypi_server/db/migrator/actions.py
96eab7e00def451c561cc4501bd8af988aa6856f
[ "MIT" ]
permissive
mosquito/pypi-server
689fb84dd0cc56a70c7bfa6157b8defa76d774d8
825571aae6fd17616e404ad8a9b72ef791a4fc46
refs/heads/master
2023-08-17T14:17:50.177008
2021-11-14T17:11:52
2021-11-14T17:11:52
47,583,364
129
58
MIT
2021-11-14T17:11:53
2015-12-07T22:30:53
Python
UTF-8
Python
false
false
882
py
# encoding: utf-8 from pypi_server.db.migrator import MIGRATIONS, log def migrate_db(DB, Migrations, migrator): migrations = sorted(MIGRATIONS, key=lambda x: x[0]) q = Migrations.select(Migrations.id).order_by(Migrations.id.desc()) if q.count(): last_applied_migration = q[0].id else: ...
[ "me@mosquito.su" ]
me@mosquito.su
132a869d3a2b5bf9e785feff5c6813983d6b24b8
21b632797ed6257b13574c341cdd14e6534728a9
/ryu/services/protocols/bgp/info_base/vpnv4fs.py
7f86a5c4ff77dc0582a04a84b8353c50fd0ff8ac
[ "Apache-2.0" ]
permissive
MrCocoaCat/ryu
0473f04e2a840e027e9002f8a6af81745eaf7094
9e9571991a73380099b7ba7c6f37e0e587080a6a
refs/heads/master
2021-06-19T18:09:52.833590
2020-05-12T08:17:21
2020-05-12T08:17:21
163,072,555
0
0
null
null
null
null
UTF-8
Python
false
false
2,315
py
# Copyright (C) 2017 Nippon Telegraph and Telephone Corporation. # # 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 ...
[ "MrCocoaCat@aliyun.com" ]
MrCocoaCat@aliyun.com
2b7930e146c1f0d5739057c4b2aac580230823dd
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D03A/LREACTD03AUN.py
1b26aa8b05a21b4e854e0e7ba874d2d6ea5445c2
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,865
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD03AUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 1, MAX: 1}, {ID: 'CUX', MIN: 0, MAX: 1}, {ID: 'CTA'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
f40b76595e04be243e6cbea980762c0bbf82e450
299a10d1207322fd543466ae40a7d16d8c5dd14b
/forms.py
1a1cd6811feaa0c2051b0f0e1fb95cd55d436dc6
[]
no_license
johnshiver/learning_journal
005911de5643bd376c9da210b239d01039ac0c10
91eaeb001c5cd4b4606e9c2ab2466a1c56d5fd3b
refs/heads/master
2020-12-25T22:06:50.266609
2015-05-06T05:21:25
2015-05-06T05:21:25
29,758,760
0
0
null
2015-01-23T23:46:15
2015-01-23T23:46:15
null
UTF-8
Python
false
false
582
py
from flask.ext.wtf import Form from wtforms import StringField, PasswordField, BooleanField, SubmitField from wtforms.validators import Required, Email, Length class LoginForm(Form): email = StringField('Email', validators=[Required(), Length(1, 64), ...
[ "johneshiver@gmail.com" ]
johneshiver@gmail.com
46fa735b1ee14316214de83993ffaf9be543ce59
a4ea525e226d6c401fdb87a6e9adfdc5d07e6020
/src/azure-cli/azure/cli/command_modules/acr/private_endpoint_connection.py
08e66ef6a10c4c09ac0a418f8bc4dd8999933804
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
Azure/azure-cli
13340eeca2e288e66e84d393fa1c8a93d46c8686
a40fd14ad0b6e89720a2e58d4d9be3a6ce1535ca
refs/heads/dev
2023-08-17T06:25:37.431463
2023-08-17T06:00:10
2023-08-17T06:00:10
51,040,886
4,018
3,310
MIT
2023-09-14T11:11:05
2016-02-04T00:21:51
Python
UTF-8
Python
false
false
3,694
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
9d0a87b92b7370a9a5b457946e452d21724b177f
62c0ec20e89b95f94cc0d77d0396223cecd4e2ba
/cms_apps/cms_page/admin.py
216773f981218b487c2fe8c1ffeb90983621cf43
[]
no_license
raprasad/CMS-Basics
7c5b079335ad859c9fd6dd77eacaf755e6972bb4
eaabf10a70e26be77cde53d0236e8f17f6b793a9
refs/heads/master
2020-04-20T00:47:05.146429
2014-04-03T18:16:32
2014-04-03T18:16:32
2,959,468
0
0
null
null
null
null
UTF-8
Python
false
false
5,986
py
from django.contrib import admin from cms_page.models import Page, PageDirectLink, PageCustomView, PagePlaceHolder, PageImage, PageDocument, EDIT_ONLY_OWN_PAGES_GROUP from cms_page.forms import PageAdminForm, PageDirectLinkAdminForm, PageCustomViewAdminForm from cms_menu_node.admin_base import NodeAdminBase from cm...
[ "raman_prasad@harvard.edu" ]
raman_prasad@harvard.edu
c7ec309a58b6ca1d998d87d2422a6e74c9940c46
6a63e40b1d30b6a810c89d910ac3f8f5954002ee
/src/pretalx/mail/migrations/0002_queuedmail_sent.py
c15f57e7b5ca622c4721de1ea1a294725912dd08
[ "Apache-2.0" ]
permissive
orlando/pretalx
47b7ab3e3258d667183066b84227b785199711b2
15f90dc2545f210eaf870ffbdfe0a27c70bfa0ec
refs/heads/master
2020-09-10T20:26:49.867462
2019-11-15T01:19:07
2019-11-15T01:19:07
221,826,314
2
0
NOASSERTION
2019-11-15T02:21:05
2019-11-15T02:21:04
null
UTF-8
Python
false
false
449
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-24 11:44 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mail', '0001_initial'), ] operations = [ migrations.AddField( m...
[ "rixx@cutebit.de" ]
rixx@cutebit.de
0b568b4dc76de7eb9c3bf99eadadd6f1e2afb26e
81a06ae39f1a2cc9a9cc46ecb47284298453a415
/siftpy/_context_extractor.py
2b42c0bfcb1200c5282af68662298f88374de11e
[]
no_license
tckerr/siftpy
a63c0b77dfc6485767152b6fea9604b936e0ba91
d4a58e14f648595330ac03a6c89068f13bce6767
refs/heads/master
2021-01-18T21:36:45.921769
2017-04-10T23:17:44
2017-04-10T23:17:44
87,015,622
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
class ContextExtractor(object): def next(self, context_provider, context_source): if context_source is None: raise Exception("Context source is not defined on one of your leaf nodes.") val = getattr(context_provider.context, context_source) if val is None: ...
[ "tckerr@gmail.com" ]
tckerr@gmail.com
6291d22f56581ff8bcecd444cb6e0b889aa885ae
2120db28dbe55b8a9185ae8aa42a769985491996
/python/examples/dictionary/sort_dictionary_values.py
4011506cc5413994f040d013f0c7008d90f70655
[]
no_license
coralhalperin/slides
7b149cb61840eb1724cb1571bba2503b19278780
0c83e1d1e771c9d4b110542b2ad64bbc6bd7b81a
refs/heads/main
2023-01-04T14:02:11.406990
2020-10-25T06:20:07
2020-10-25T06:20:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
scores = { 'Foo' : 10, 'Bar' : 34, 'Miu' : 88, } # sort the values, but we cannot get the keys back! sorted_values = sorted(scores.values()) print(sorted_values) # [10, 34, 88]
[ "gabor@szabgab.com" ]
gabor@szabgab.com
0ac758da1354607705f54af60e765698186a99b9
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py
d731da5c407273a7e8d7d8f98c3f809732c0d1a4
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
330
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- VERSION =...
[ "noreply@github.com" ]
scbedd.noreply@github.com
f122bc8d3bbc2fca0d050d87953147da83d9587f
3fbd26091ebbc13913f9c7be1aaf10d477c79536
/week01/zuoye/requests_maoyan/.history/maoyan_20200628012048.py
c6bdc8c5bbf04569f3973e46bd04cc81611ea5a7
[]
no_license
shuncon/Python001-class01
d28faf3d5d8e9ea4cee93bcae7143a26fd8c472e
df19758181cdaf37f30d4b518600fc4612590499
refs/heads/master
2022-11-13T19:31:27.019214
2020-07-10T14:58:25
2020-07-10T14:58:25
273,135,541
0
0
null
2020-06-18T03:46:56
2020-06-18T03:46:55
null
UTF-8
Python
false
false
1,517
py
#-*-conding:utf-8 -*- import requests import lxml from bs4 import BeautifulSoup as bfs headers = { 'user-agent' :'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', 'Cookie': '__mta=143555850.1593182389402.1593186588642.1593186951752.13; _lxsdk_cui...
[ "1428834423@qq.com" ]
1428834423@qq.com
25a3cad6e14ab7ecedc5cb8d429d2ed4427f862e
cd0cf1c75c715a67502ff7f164bb070da78956de
/tragopan/migrations/0087_auto_20160129_1017.py
cddca0e13762aefb87456ca739d03ee850e4e51f
[]
no_license
nustarnuclear/orient_linux
9792fb4319007708861d619dac081fa32206d3f6
95082ea56a0dfc248024f9bf54897a017985ccdf
refs/heads/master
2020-03-28T03:17:02.629719
2017-01-04T08:38:16
2017-01-04T08:38:16
43,117,046
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('tragopan', '0086_auto_20160128_1506'), ] operations = [ migrations.RenameField( model_name='fuelelementpelletloa...
[ "hengzhang@nustarnuclear.com" ]
hengzhang@nustarnuclear.com
21275dbc6b87388558fd8439780803ca39b29895
87695989bbafe0ec6892cb4d1bb1965c84d6b35f
/vatt/utils/eval/measures.py
2355640bf3912b4ddf608251cf45048367b0bebc
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
guangyusong/google-research
ef6e85e7de75bd1289575374accc7fe19af896c7
cac4a7f3b82ab629e25fa8afe33ce80cc6933e54
refs/heads/master
2022-01-01T11:22:31.825772
2021-12-30T20:08:40
2021-12-30T20:19:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,675
py
# coding=utf-8 # Copyright 2021 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
a277b8755d984927b93b7e1e624874b13707ab1f
1f9eaeca86eab7bf30d7580fdd1eaa3e3a03cfb0
/rqalpha/mod/rqalpha_mod_sys_transaction_cost/__init__.py
c8b89c93fd904551426547da556b7a94b1afa2cf
[ "Apache-2.0" ]
permissive
guhhhhaa/rqalpha
08f97c0beb1339886d8177df768c9671ce3d4559
386bceaa5d8ab2e0f51eeef676c5799eeb35bcb4
refs/heads/master
2020-04-04T15:32:05.214151
2018-11-03T02:46:34
2018-11-03T02:46:34
156,041,074
1
1
Apache-2.0
2018-11-04T02:06:39
2018-11-04T02:06:39
null
UTF-8
Python
false
false
2,017
py
# -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "cuizi7@163.com" ]
cuizi7@163.com