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
9452faebeaa487aa110fce874bdef771eec4f36c
a061db546d047b323b43cd96f3197649edefa09f
/Chapter10/8_CatsAndDogs.py
2da236da7228d0dfa54bf720ae1161692b9169fe
[]
no_license
0x15F9/PythonCrashCourse
27c950c4d60685104573c80f5d05e1defb04a629
8e625a3baf4f75a3709c7c3374c260c9b491d0d8
refs/heads/master
2020-03-11T08:14:37.672504
2018-05-09T04:12:45
2018-05-09T04:12:45
129,878,697
1
0
null
null
null
null
UTF-8
Python
false
false
386
py
def read_file(filename): try: with open(filename, 'r') as file_object: contents = file_object.read() print(contents) except IOError as e: print('An error occurred. File not found.') except Exception as ex: print('A general exception occurred.\n {}'.format(ex))...
[ "isfaaqg@gmail.com" ]
isfaaqg@gmail.com
d021362354e26dc70fc594c2266bb8fecebb4830
a8592d34f144b71794ebf30f1c2a1b5faf0b053c
/chapra_7th/ch27/chapra_example_27_2.py
e71408be766437510ba50276651fcafa6c6836b4
[]
no_license
f-fathurrahman/ffr-MetodeNumerik
ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327
e3a9da224c0fd5b32e671708e890018a3c4104c4
refs/heads/master
2023-07-19T22:29:38.810143
2023-07-07T10:02:34
2023-07-07T10:02:34
107,272,110
2
2
null
null
null
null
UTF-8
Python
false
false
2,126
py
# Shooting method for nonlinear BVP # d2T/dx2 + h'(T_a - T)**4 = 0 # Boundary condition: # T(0) = 40 # T(10) = 200 import numpy as np # T == y[0] # dT/dx == y[1] # d2T/dx2 == dydx[1] def deriv(x, y): # Nvec = len(y) assert Nvec == 2 dydx = np.zeros(Nvec) # h = 5e-8 T_a = 20.0 # ...
[ "fadjar.fathurrahman@gmail.com" ]
fadjar.fathurrahman@gmail.com
2151bb9fccaddd14f95661430a4d078863c01c5a
d01c2f82838e246076b0fd3514bc21119a4ee792
/guillotina/tests/test_extrafieldattr.py
a9e5375822568ebf60d3852e19fefb76537f93f3
[ "BSD-2-Clause" ]
permissive
jordic/guillotina
0940a935264aee189daf4a21b50f0efc1650ffbd
8845454a784e797b90951580e1ab5fa9172055e1
refs/heads/master
2020-03-07T15:37:30.139620
2018-06-22T16:37:40
2018-06-22T16:37:40
127,559,927
0
0
BSD-2-Clause
2018-03-31T18:30:34
2018-03-31T18:30:33
null
UTF-8
Python
false
false
316
py
async def test_schema_extra(container_requester): async with container_requester as requester: resp, status = await requester( 'GET', '/db/guillotina/@types/Example' ) assert status == 200 assert resp['properties']['textline_field']['widget'] == 'testing'
[ "vangheem@gmail.com" ]
vangheem@gmail.com
5a546d273bcd34faa81261a6571070813c7cc6b2
5dfbfa153f22b3f58f8138f62edaeef30bad46d3
/bill_ws/build/bill_description/catkin_generated/pkg.installspace.context.pc.py
2df5af1cc048ede197e7dabaedb0524b491f2993
[]
no_license
adubredu/rascapp_robot
f09e67626bd5a617a569c9a049504285cecdee98
29ace46657dd3a0a6736e086ff09daa29e9cf10f
refs/heads/master
2022-01-19T07:52:58.511741
2019-04-01T19:22:48
2019-04-01T19:22:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "bill_description" PROJECT_SPACE_DIR =...
[ "alphonsusbq436@gmail.com" ]
alphonsusbq436@gmail.com
e6fd94f1fc7f70decca2c55e0f557d3cddf975b9
4a36b5979b0753b32cff3956fd97fb8ed8b11e84
/0.24/_downloads/d94cc819a6b529f3a0284c35bbcd249d/receptive_field_mtrf.py
6835ced724ff820dc69dc93963a6635a5aefc319
[]
permissive
mne-tools/mne-tools.github.io
8aac7ae10bf2faeeb875b9a351a5530dc0e53154
495e878adc1ef3374e3db88604504d7542b01194
refs/heads/main
2023-09-03T07:06:00.660557
2023-09-03T04:10:18
2023-09-03T04:10:18
35,639,371
12
16
BSD-3-Clause
2023-05-05T19:04:32
2015-05-14T22:04:23
HTML
UTF-8
Python
false
false
10,717
py
""" .. _ex-receptive-field-mtrf: ========================================= Receptive Field Estimation and Prediction ========================================= This example reproduces figures from Lalor et al.'s mTRF toolbox in MATLAB :footcite:`CrosseEtAl2016`. We will show how the :class:`mne.decoding.ReceptiveField...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
fc6cb72fa5fd1bc45630dd3ef724b3b8651404be
19c5ea54be0f8a0ce5e9578581a90f97afca1641
/car/scrapy_data/__init__.py
2b02c925fe97c166141bce026643f287e7aeac4b
[]
no_license
luohuayong/myaddons
7fe9aa26dd8573ecc21bf42f4e6c428905320a9b
9f050bdbd2b3ba7e689730657dc2e7a6a10493a1
refs/heads/master
2021-01-19T13:50:06.373182
2017-09-16T12:47:21
2017-09-16T12:47:21
88,111,898
3
4
null
null
null
null
UTF-8
Python
false
false
72
py
# -*- coding: utf-8 -*- # from . import main # from . import guazi_sale
[ "luohuayong@163.com" ]
luohuayong@163.com
8dea98ec71e91348c56aaf708cef01d53e4bfd40
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/surprise.py
bdac9f0f2236c8852d484ca0d8d1e922f07ea341
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('surprise', __name__, url_prefix='/surprise') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('rep...
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
31cac26a67361e8d6f070e6204fd2346b330fb8b
ef7937e0592f03d2563a879be402921833adfce6
/NEC_based_Anon.py
89f92fd3bbd92ca4241428e3afce58b8feb299fb
[ "MIT" ]
permissive
qiyuangong/NEC_based_Anonymization
10c5abfc3e42dc87b3372685eab588d564e15c2b
1c08bd3bf2f3fbdd34c2d0ad6d5a5437415a5577
refs/heads/master
2021-01-21T23:20:22.801518
2016-02-24T01:51:52
2016-02-24T01:51:52
43,240,816
1
0
null
null
null
null
UTF-8
Python
false
false
17,892
py
""" main module for EC_based_Anon """ #!/usr/bin/env python #coding=utf-8 from models.numrange import NumRange from models.gentree import GenTree from utils.utility import get_num_list_from_str, cmp_str, qid_to_key import random import time import operator import pdb __DEBUG = False # att_tree store root node for ea...
[ "qiyuangong@gmail.com" ]
qiyuangong@gmail.com
0a7c868bf70dd2134b936a824dedede654c8171d
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/pygments/lexers/bare.py
c1d183370f741813ee9a41b9018162ca426f3463
[ "MIT" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
3,006
py
""" pygments.lexers.bare ~~~~~~~~~~~~~~~~~~~~ Lexer for the BARE schema. :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from pygments.lexer import RegexLexer, words, bygroups from pygments.token import Text, Comment, Keywo...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
954188363d6870377eb3b1aecb10b388b6b15b76
a9f7e40e18c935fb004fe813f98e298ded0581af
/ARC/ARC041/ARC041_C.py
00354558926de2f156ddf38e5bd786dfe1fe9577
[]
no_license
happa64/AtCoder_Beginner_Contest
2eb350f500f4bd65f5491b98cdf002ac9b174165
2526e72de9eb19d1e1c634dbd577816bfe39bc10
refs/heads/master
2023-07-08T15:13:51.449555
2021-08-11T14:18:09
2021-08-11T14:18:09
255,601,137
0
0
null
null
null
null
UTF-8
Python
false
false
1,725
py
# https://atcoder.jp/contests/arc041/submissions/16801444 # C - ウサギ跳び import sys from collections import deque sys.setrecursionlimit(10 ** 7) input = sys.stdin.readline f_inf = float('inf') mod = 10 ** 9 + 7 def resolve(): def calc(res, cnt_L, cnt_R): if cnt_L > cnt_R: target = que_R.pop() if...
[ "happa_iidx@yahoo.co.jp" ]
happa_iidx@yahoo.co.jp
a0d629a3617b5bf799f3306a08f235e3466d490b
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/stypy/sgmc/sgmc_cache/testing/test_programs/stypy_code_copy/stypy_copy/ssa_copy/__init__.py
9ef46e8f3d634dcc043972bef84dd8c04b63de53
[]
no_license
ComputationalReflection/stypy
61ec27333a12f76ac055d13f8969d3e0de172f88
be66ae846c82ac40ba7b48f9880d6e3990681a5b
refs/heads/master
2021-05-13T18:24:29.005894
2018-06-14T15:42:50
2018-06-14T15:42:50
116,855,812
2
0
null
null
null
null
UTF-8
Python
false
false
926
py
# -*- coding: utf-8 -*- """ ORIGINAL PROGRAM SOURCE CODE: 1: __author__ = 'Redondo' 2: """ # Import the stypy library necessary elements from stypy.type_inference_programs.type_inference_programs_imports import * # Create the module type store module_type_store = Context(None, __file__) # ################# Begin...
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
e32df3fb60672e1d8749340e8acf644e7a47cd39
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/surface/container/binauthz/attestors/create.py
9297b8775dfa753e69732e57975a1ba0062e8f1d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
2,760
py
# -*- coding: utf-8 -*- # # Copyright 2018 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
56fc285d7ba9b9717f5f75ec2d4b22b8486705cb
07339e6606ea84efed09ee1d1a46342110a69654
/src/diffeo2dds/unittests/generation.py
0c466d879b40db3636adee1e80a8727a2275104f
[]
no_license
AndreaCensi/diffeo
c02b25a577a1ee9b847afa14cf48f35c22c546b6
a08abf5b6fc090bd2aa4f25fbdae6d744effbb0f
refs/heads/master
2016-09-10T20:15:49.123142
2013-07-19T07:00:05
2013-07-19T07:00:05
10,069,202
0
1
null
null
null
null
UTF-8
Python
false
false
859
py
from comptests.registrar import comptests_for_all, comptests_for_all_pairs from diffeo2dds.configuration.config_master import (get_conftools_discdds, get_conftools_symdds, get_conftools_uncertain_image_distances, get_conftools_uncertain_images, get_conftools_diffeo_action_distances) for_all_diffeo_systems = c...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
b163a8dd6b290aa9fb432246d1c88fdef6f1148e
cce5d7b363d6d029719a299ba864cfb1032fd905
/app/text_area_mask/__init__.py
8c50cfd1e38f02fb90afab9b19b74bc9e17a0082
[]
no_license
marjeylee/cv_lib
d05d7657da1ae96d956043c53ebc1d6d2f813498
f93b22163f01f44259a5860eb8f375bb37673e96
refs/heads/master
2020-03-28T03:49:10.787173
2018-10-06T05:18:24
2018-10-06T05:18:24
147,673,297
0
1
null
null
null
null
UTF-8
Python
false
false
351
py
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name: __init__.py Description : Author : 'li' date: 2018/9/13 ------------------------------------------------- Change Activity: 2018/9/13: --------------------------------------------...
[ "marjey_lee@163.com" ]
marjey_lee@163.com
b99c1cbdd70a019ed1936e1592c734afe340f0be
26714b3558a611fa1bf2ea89a8c94f7fbc89bbdc
/include/TestHydrusSessions.py
05dcc349f0a46bb9d4cd0e08f200e8558bdf2da5
[ "WTFPL" ]
permissive
Jade-Stern/hydrus
02d5e0d05f5acba6cc19362b08a7b64668d3444e
b85c9cc4424f0f898a22722aeef09e80cc21c3eb
refs/heads/master
2020-12-25T10:14:05.043794
2015-02-03T20:40:21
2015-02-03T20:40:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,354
py
import ClientConstants as CC import collections import HydrusConstants as HC import HydrusExceptions import HydrusSessions import os import TestConstants import unittest class TestSessions( unittest.TestCase ): def test_server( self ): discard = HC.app.GetWrite( 'session' ) # just to discard ...
[ "hydrus.admin@gmail.com" ]
hydrus.admin@gmail.com
56c1329f4afd4ae2925bedd7f49b4db211761e0c
de392462a549be77e5b3372fbd9ea6d7556f0282
/accounts/migrations/0203_auto_20210814_2140.py
dda0d86d7becff28e6fbecf163f10b6ae90ff18f
[]
no_license
amutebe/AMMS_General
2830770b276e995eca97e37f50a7c51f482b2405
57b9b85ea2bdd272b44c59f222da8202d3173382
refs/heads/main
2023-07-17T02:06:36.862081
2021-08-28T19:07:17
2021-08-28T19:07:17
400,064,408
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
# Generated by Django 3.2.3 on 2021-08-14 18:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0202_auto_20210814_2132'), ] operations = [ migrations.AlterField( model_name='car', name='car_number', ...
[ "mutebe2@gmail.com" ]
mutebe2@gmail.com
8696a087fdd4049f5e5ca8efce55b6bb165a505d
01b8b5f60d4feef40b8be75866b33a0c34c80c92
/akika_venv/bin/pip
bb106263a72c1cd6dfd6a98119fd8318a06e1748
[]
no_license
laetitia123/akika-test
26007782ab3997c860413f11eb993e5c64d00a19
2556df04e2c4b2b46492bbfbb419a17f3ed84a0f
refs/heads/master
2023-01-06T15:22:25.807387
2020-11-11T13:24:33
2020-11-11T13:24:33
311,641,846
0
0
null
null
null
null
UTF-8
Python
false
false
233
#!/home/laetitia/akika/akika_venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "uwizelaetitia@gmail.com" ]
uwizelaetitia@gmail.com
86831dc2bb210c72143def0ec0eead3e1908f6cb
2da6133f3cd5c5fc19355292d60253b8c0dbcd49
/.history/antz/urls_20200404011859.py
87fa9bbf414d53749224cb89858429b184c67ac6
[]
no_license
mirfarzam/python-advance-jadi-maktabkhooneh
b24f5c03ab88e3b12c166a439b925af92f50de49
d9bcecae73fd992f1290c6fd76761683bb512825
refs/heads/master
2021-05-25T21:33:37.782734
2020-04-07T22:39:28
2020-04-07T22:39:28
253,927,960
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
from django.urls import paths from . import views urlpatterns = [ path('/ant') ]
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
73ea43438ae7b3a6fbfa661dda2d59ee19ff06aa
c2316db483bcc73b7643f90d27cdab47ae7d73fa
/python/tink/daead/_deterministic_aead_key_manager_test.py
7324e02bd0f942c899ddce4c40f862f74b9f5a52
[ "Apache-2.0" ]
permissive
EricBioInf/tink
360534a4effcd7b731ac66171559235ab82edd91
9753ffddd4d04aa56e0605ff4a0db46f2fb80529
refs/heads/master
2023-09-05T06:26:18.342483
2021-11-09T16:14:43
2021-11-09T16:15:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,556
py
# Copyright 2019 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
30151dc93f7dbbec9f370c218948d4c820d59f47
cac94c3054ab0f8e370dcd21b883e832a0fc99ef
/example_project/settings.py
a4fc70691723edda8a3d90973144324bee30a26e
[ "MIT" ]
permissive
tkliuxing/django-livevalidation
be0890568fedad124c45a9525657a1f19a1b3bbf
fcf17661fe56dda668e98411001f665c406043bd
refs/heads/master
2021-01-18T12:46:19.542126
2012-12-22T10:37:01
2012-12-22T10:37:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,057
py
# Django settings for example_project project. import sys import os ROOT = os.path.dirname(__file__) sys.path.insert(0, os.path.join(ROOT, '..')) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'djang...
[ "justquick@gmail.com" ]
justquick@gmail.com
084da9e42c7666c3df5922092eb563acb45b4e63
ca6b99232cf855472b495b0f81873b27a52884c7
/migrate_tools/models/address.py
6e049319d1767763b626ead41695c1f1710342e5
[ "MIT" ]
permissive
a-samir97/migrating-database
e20f2485db8a4f034f78e4bfce9dc9af0a634380
b05840e2631f1aca744eb80eba072455a53c5a59
refs/heads/master
2023-01-03T04:19:24.073652
2020-10-28T11:07:06
2020-10-28T11:07:06
288,450,212
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from migrate_tools.mongodb.init_db import db class Address(db.Document): address_id = db.IntField() city = db.StringField() state = db.StringField() country = db.StringField() employee_id = db.IntField()
[ "a.samir9710@gmail.com" ]
a.samir9710@gmail.com
b0f9325bf06716cadbc8023b992c33aebf733487
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_128/ch2_2020_09_02_19_43_23_379924.py
280b6f7634a74e4feb83a18d48b3e2be3ccf308e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
def checa_zero(variavel): if variavel == 0: print("Você nem saiu do lugar?") print("Pare de ser bobo e faça de novo") calcula_velocidade_media() else: pass def calcula_velocidade_media(): distancia = input("Quantos kilômetros você percorreu?") distancia = int(distancia)...
[ "you@example.com" ]
you@example.com
8b701882aacb2039a8498c7f6b700ae17014c3b3
dc42a65f63ca8327ee74675c7606a9b6e3b39d40
/tpdatasrc/co8fixes/scr/py00174hedrack.py
9fed78ad006de1a830386f2afcce15578c1fe85c
[ "MIT" ]
permissive
anatoliy-savchak/TemplePlus
03cda558de2fd30d34305b7e5b548d202ba97f76
50922bb14cc2d7dcf8fceeccf45c3b905c1b512f
refs/heads/master_old
2023-04-28T12:01:06.205497
2021-09-25T13:03:51
2021-09-25T13:03:51
172,583,383
2
0
MIT
2019-02-25T20:56:01
2019-02-25T20:56:00
null
UTF-8
Python
false
false
11,752
py
from toee import * from Co8 import * from combat_standard_routines import * from utilities import * def san_dialog( attachee, triggerer ): if ( game.global_flags[144] == 1 ): if (not attachee.has_met(triggerer)): triggerer.begin_dialog( attachee, 10 ) else: triggerer.begin_dialog( attachee, 290 ) elif ( ga...
[ "doug1234@unknown" ]
doug1234@unknown
07d9520108ac6d3b553ba9124c1ea8fabff78dcf
2b4badbedab24ed4376ab65818d0e59af6539144
/codewar/RGB To Hex Conversion.py
2c62c28203b2358eb434a302a0377cc0b6da936e
[]
no_license
matthewangbin/Python
878d8180d12d235f8d238574414bb41edad5ceee
c9a94b4203380a06364da1f7466aafc4b141d951
refs/heads/master
2021-10-11T01:45:22.890144
2019-01-21T02:44:25
2019-01-21T02:44:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
def rgb(r, g, b): #your code here :) str,strr,strg,strb='','','','' if r>=0 and r<256: strr=hex(r)[-2:].upper() elif r<0: strr='00' else: strr='FF' if g>=0 and g<256: strg=hex(g)[-2:].upper() elif g<0: strg='00' else: strg='FF' if b>=0 ...
[ "wb2847@163.com" ]
wb2847@163.com
65dd1ad2a3eef28d36bb2db5d36a4ce40fd461de
a84dfa25c827a2979a811513ac888288d378b980
/ml/m30_time.py
f9ecc6f6ba379f8cc0e79ce34c41195bcc178f2e
[]
no_license
sunho-park/study1
d49b9d27b0069dbeb7cc31199177f6771a84d3be
0386fbea0282c2135407cad608b4ffa84b02d298
refs/heads/master
2022-12-16T23:17:14.746575
2020-09-11T06:04:06
2020-09-11T06:04:06
264,140,456
0
0
null
null
null
null
UTF-8
Python
false
false
2,272
py
from sklearn.feature_selection import SelectFromModel import numpy as np from xgboost import XGBRegressor from sklearn.model_selection import train_test_split from sklearn.datasets import load_boston from sklearn.metrics import accuracy_score, r2_score # dataset = load_boston() # x = dataset.data # y = dataset.target ...
[ "reebox22@hanmail.net" ]
reebox22@hanmail.net
d6bf65643dd843979d33c5d8ebf80636370515b2
3af5d660eb4c1cc938700a4f79a0a67483a4524c
/backend/driver/migrations/0001_initial.py
564ab7cef84a5184b36a8454169ea4e65fd97687
[]
no_license
crowdbotics-apps/test-19921
f5db8a8f0544968a4066461df71b8bb04490ab93
f68a4fa1cce74e0bf9988cfbc4f7483881f299b9
refs/heads/master
2022-12-07T14:35:13.177319
2020-09-02T02:52:47
2020-09-02T02:52:47
292,162,318
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
# Generated by Django 2.2.16 on 2020-09-02 02:51 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('del...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4e7548b8a49e1da147ccdd08263d6a92ad83b692
0399e8801f1e53c013b64e65b4d8644d53afa225
/MyTiramola/LwlosTiramola/boto/file/__init__.py
60ecae4c7a5edbf5662dc5d492fe450a9cb44288
[]
no_license
gioargyr/MyTiramola
c85ecef1de1db129218fa70d7885e84702237b34
234c3e38f8698c5b5a5193ab1d510c6fbccd9623
refs/heads/master
2021-01-20T07:10:26.291521
2017-12-01T23:46:17
2017-12-01T23:46:17
80,345,102
0
1
null
2020-07-22T06:34:25
2017-01-29T12:34:52
Python
UTF-8
Python
false
false
1,231
py
# Copyright 2010 Google Inc. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, dis- # trib...
[ "gioargyr@gmail.com" ]
gioargyr@gmail.com
97993198bf726a2f6a8ade36a4511c529620f7f2
2a67dc681af4c4b9ef7a8e18c2ff75377dc5b44f
/aws.rds.Snapshot-python/__main__.py
c324b9bbe768eac0055148f151b1a66aa64ee3dd
[]
no_license
ehubbard/templates-aws
e323b693a18234defe6bd56ffcc64095dc58e3a1
2ae2e7a5d05490078017fed6d132dcdde1f21c63
refs/heads/master
2022-11-17T13:53:14.531872
2020-07-10T21:56:27
2020-07-10T21:56:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
import pulumi import pulumi_aws as aws bar = aws.rds.Instance("bar", allocated_storage=10, backup_retention_period=0, engine="MySQL", engine_version="5.6.21", instance_class="db.t2.micro", maintenance_window="Fri:09:00-Fri:09:30", name="baz", parameter_group_name="default.mysql5.6", ...
[ "jvp@justinvp.com" ]
jvp@justinvp.com
57ae5ba02b5ca2039d90274c19702afb634efbf3
b65da84c3c15f63f24376faba0b2ff69f65fc264
/zcls/model/heads/general_head_3d.py
cd0d458f41aac05b8d346b23af53de46d2958b85
[ "Apache-2.0" ]
permissive
CodingMice/ZCls
fb783b7fbe3f2d4ec319a8cf7af33af57f83367b
0d7649838621104e776dad19a87ef7f3ea8c24cc
refs/heads/master
2023-07-25T16:18:56.877980
2021-08-19T13:16:55
2021-08-19T13:16:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
# -*- coding: utf-8 -*- """ @date: 2020/12/30 下午6:48 @file: general_head_2d.py @author: zj @description: """ from abc import ABC import torch import torch.nn as nn from .. import registry class GeneralHead3D(nn.Module, ABC): def __init__(self, feature_dims=2048, dropout_rate...
[ "wy163zhuj@163.com" ]
wy163zhuj@163.com
143af1b2e8150e24e836fe5fb295e038fa3f3bdd
d38f57221419f9bc9afb97f1a5b9ffbc5eec977f
/tools/count_api_without_core_ops.py
e84a03d93e9bbfbc21552e97e98ccc706c1f4317
[ "Apache-2.0" ]
permissive
lw921014/Paddle
8ea1aa13e0bbe30af152ae37e6df6bc764dead78
1289292904f8072926c6c236738ac9c014fac3c7
refs/heads/develop
2023-07-13T02:21:42.539433
2021-08-10T03:26:27
2021-08-10T03:26:27
336,986,481
0
2
Apache-2.0
2021-03-04T10:42:27
2021-02-08T06:54:48
null
UTF-8
Python
false
false
5,874
py
# Copyright (c) 2020 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
lw921014.noreply@github.com
9e6d8d70991b3c11045ca796ba9cc49df2e75409
57235e5fbd29dc5e0b3f24649e15a48935edd65f
/boa3_test/test_sc/function_test/CallReturnFunctionWithLiteralArgs.py
1d9d8f68c553efcb771e4608592d0ab0f67daa69
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
DanPopa46/neo3-boa
ae75543bdc4e0aeadf45578b6b5e4c45b9253557
e4ef340744b5bd25ade26f847eac50789b97f3e9
refs/heads/development
2023-04-01T19:25:08.216180
2021-04-15T17:45:38
2021-04-15T17:45:38
358,663,228
0
0
Apache-2.0
2021-04-16T16:46:46
2021-04-16T16:46:31
null
UTF-8
Python
false
false
151
py
from boa3.builtin import public @public def Main() -> int: a = TestAdd(1, 2) return a def TestAdd(a: int, b: int) -> int: return a + b
[ "mirellamedeiros.09@hotmail.com" ]
mirellamedeiros.09@hotmail.com
26198ffa9377db2dc42af50b607a0698f78dc7d4
610cd526db402aeade10ecee32f644ba7edd70f5
/kv/urls.py
f23a67b4d51028ab9bb79d53385b157653ee178c
[]
no_license
ilvar/kudavalit
a8fb02c25c191e39d1520f3b9499cd66509d35b4
0b824179a8772cea7d49963d6f7fa88c4f9e053a
refs/heads/master
2021-01-01T18:12:00.890067
2014-11-10T18:29:09
2014-11-10T18:29:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
from django.conf import settings from django.conf.urls import patterns, include, url from django.conf.urls.static import static from django.contrib import admin urlpatterns = patterns('countries.views', url(r'^$', 'index', name='index'), url(r'^(?P<pk>\d+)/$', 'country', name='country'), url(r'^help/$', 'h...
[ "arcady.chumachenko@gmail.com" ]
arcady.chumachenko@gmail.com
6a022a3aa3b62d37b74dfba30dbaa71c9c048eee
30ad1ff6ed71ba91f294a3fbc8b8eb4f77035f6b
/mvc/observer.py
f2e6bb4bd6450dd1ed7098e6e5babf3694da63ee
[]
no_license
tulare/mvc-calculator
0472962fc6e39b14804dbc261dfbcf850e71b996
690a228359bd2fa9044f31759c3329762add8052
refs/heads/master
2021-09-25T00:29:34.999723
2018-10-16T07:06:55
2018-10-16T07:06:55
112,301,180
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
# -*- encoding: utf-8 -*- from zope.interface import Interface, Attribute, implementer class IObserver(Interface) : def action(*args, **kwargs) : """Method called when observable notify change""" class IObservable(Interface) : observers = Attribute("""set of observers of the observable""") def...
[ "tulare.paxgalactica@gmail.com" ]
tulare.paxgalactica@gmail.com
2515d3dda290bdfd87773cb7e58b2c0dbb603403
f889bc01147869459c0a516382e7b95221295a7b
/test/test_catalog_data_product_render_search_results_interface.py
05d164e45291e6d4179eb43701698fa87fafc5d2
[]
no_license
wildatheart/magento2-api-client
249a86f5c0289743f8df5b0324ccabd76f326512
e6a707f85b37c6c3e4ef3ff78507a7deb8f71427
refs/heads/master
2021-07-14T16:01:17.644472
2017-10-18T13:33:08
2017-10-18T13:33:08
107,412,121
1
1
null
null
null
null
UTF-8
Python
false
false
1,201
py
# coding: utf-8 """ Magento Community No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sy...
[ "sander@wildatheart.eu" ]
sander@wildatheart.eu
a5c3a9d86b7f58bd445dece2bdf1098d99e7abdd
f8c3c677ba536fbf5a37ac4343c1f3f3acd4d9b6
/ICA_SDK/ICA_SDK/api/planned_runs_api.py
dac3fdf44b734009584bad31695523bfeff7d0c0
[]
no_license
jsialar/integrated_IAP_SDK
5e6999b0a9beabe4dfc4f2b6c8b0f45b1b2f33eb
c9ff7685ef0a27dc4af512adcff914f55ead0edd
refs/heads/main
2023-08-25T04:16:27.219027
2021-10-26T16:06:09
2021-10-26T16:06:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,723
py
# coding: utf-8 """ IAP Services No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noq...
[ "siajunren@gmail.com" ]
siajunren@gmail.com
e7dab9d3c4f3c5fbcfb3f3333d69a92a52a839b4
f22ca9aecda111a019502b462ce6772cb22d9425
/swagger_client/models/inline_response20059.py
a1f15675656514aa2e04e5d0fd5c023853e64b22
[]
no_license
sivanv-unbxd/a2c-sdk-pim
cac05bc6335ddc3c4121d43e2dc476a6fec14965
51a07a0b7f90d74569ad14b47b174da7ac1fc374
refs/heads/main
2023-05-29T05:45:32.279821
2021-06-09T03:52:11
2021-06-09T03:52:11
375,218,584
0
0
null
null
null
null
UTF-8
Python
false
false
4,672
py
# coding: utf-8 """ Swagger API2Cart API2Cart # noqa: E501 OpenAPI spec version: 1.1 Contact: contact@api2cart.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class InlineResponse20059(object): """NOTE: This class...
[ "sivanv@unbxd.com" ]
sivanv@unbxd.com
21f4b04bce63ba1f53f75ddfbfc77fff08686595
28bb1dda3010ab719ec537bcc63a5ed1491d148d
/sites with exercises/w3resource.com/Date Time/ex10.py
9fe1749f937066994d4a9787fdd1b5e890993175
[]
no_license
dawidsielski/Python-learning
86db2ff782aab13ff6dc44b1ce9295fc7c186e20
4aabf4d63906fb1d2379bbd401e9ac7484766198
refs/heads/master
2021-01-13T10:35:20.913601
2018-02-24T11:52:06
2018-02-24T11:52:06
76,497,517
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
import datetime now = datetime.datetime.now() time_shift = datetime.timedelta(seconds = 5) print(now.time()) print((now + time_shift).time())
[ "dawid.sielski@outlook.com" ]
dawid.sielski@outlook.com
2e90e78bd809f5bc79a3e00e451cbc9a805d6e75
d4c47276c8fbd15240aa228eda04ee8e338caf02
/Kivy/Kivy Lesson/First/ChangeColor41.py
9aba8d02c20dcae83dab10cbbcb5e8e9258a2a9d
[]
no_license
developer579/Practice
a745384450172fb327913c130303ab76492096f1
54084468af83afcc44530e757800c8c3678147c1
refs/heads/main
2023-05-06T01:36:06.222554
2021-06-02T07:04:03
2021-06-02T07:04:03
324,312,009
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
from kivy.app import App class Practice4App(App): pass Practice4App().run()
[ "69954570+developer579@users.noreply.github.com" ]
69954570+developer579@users.noreply.github.com
8656d36e21afe0e06a3213cf00dcda78ae3c7893
bce44ee712171b79161716379ac0607cd28573c7
/devasc/DevNet_Fundamentals/Code_Tests/test_data.py
b709a5b15be2292c80c840d2df63550fc1061d28
[]
no_license
jmstudyacc/Cisco_DevNet
0d620338f2846ea8c473eedbe0d8c7672306b214
fd30676dfbacdd5097b8883818c646db73b34543
refs/heads/master
2023-07-03T08:25:10.958914
2021-08-08T23:22:40
2021-08-08T23:22:40
275,610,846
1
0
null
null
null
null
UTF-8
Python
false
false
4,735
py
key1 = "issueSummary" key2 = "XY&^$#*@!1234%^&" data = { "id": "AWcvsjx864kVeDHDi2gB", "instanceId": "E-NETWORK-EVENT-AWcvsjx864kVeDHDi2gB-1542693469197", "category": "Warn", "status": "NEW", "timestamp": 1542693469197, "severity": "P1", "domain": "Availability", "source": "DNAC", "priority": "P1", ...
[ "jmstudyacc@gmail.com" ]
jmstudyacc@gmail.com
bf82db9cd7d31764e7387ad6aab5e86ebe3a2ae1
065263d8deafb0192e6d8fde676205eae5e7dcdc
/evalml/tests/data_checks_tests/test_target_distribution_data_check.py
c51046a1ba7c61073dc5fb86b0eeb04a0de0e3be
[ "BSD-3-Clause" ]
permissive
hercules261188/evalml
bb2f628486744af78f27d350da0c9804ae322bc5
f46b94d86c959b85cb906c0115d138a2eda7a38d
refs/heads/main
2023-07-04T15:12:36.309020
2021-08-07T02:12:36
2021-08-07T02:12:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,530
py
import numpy as np import pandas as pd import pytest from scipy.stats import lognorm, norm, shapiro from evalml.data_checks import ( DataCheckAction, DataCheckActionCode, DataCheckError, DataCheckMessageCode, DataCheckWarning, TargetDistributionDataCheck, ) from evalml.utils import infer_featur...
[ "noreply@github.com" ]
hercules261188.noreply@github.com
5b365536b4270410307c3616a36b0698cbe5c96c
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/circularArrayLoop/circularArrayLoop.py
c0b494e9d77bf9e0f0284f1e2f8067dc0b05f36d
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
815
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/circular-array-loop/ # Author: Miao Zhang # Date: 2021-02-13 class Solution: def circularArrayLoop(self, nums: List[int]) -> bool: n = len(nums) for i in range(n): slow = i fast = self...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
aa096eff36d0b31d62bfe720adeebaefb6bcbfee
e83e8a3b7ef31b36b2c590b37bf2d1df1487fe5a
/tests/test_docs/test_body.py
5243b2321fa2e8f1fd7f7dd3104b327cbfa95e33
[ "MIT" ]
permissive
duilio/django-ninja
19d66eae1b3b01f9910f3ea0f569ed6d3a561707
8dac3c981bcf431322d32acd34c8179564a3698d
refs/heads/master
2023-01-21T07:17:02.544071
2020-11-25T10:48:30
2020-11-25T10:48:30
316,243,580
0
0
MIT
2020-11-26T13:56:19
2020-11-26T13:45:12
null
UTF-8
Python
false
false
1,326
py
from unittest.mock import patch from ninja import NinjaAPI from client import NinjaClient def test_examples(): api = NinjaAPI() with patch("builtins.api", api, create=True): import docs.src.tutorial.body.code01 import docs.src.tutorial.body.code02 import docs.src.tutorial.body.code03...
[ "ppr.vitaly@gmail.com" ]
ppr.vitaly@gmail.com
c7e21e29fa58ac75c103f0f7c56beb339aab5e75
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_05_02_preview/_configuration.py
cb284fd99b8a33a47ffbec88e5c7528f9fdd2aaf
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
3,563
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
8a7b95c444a403b450440bfe7193cc791c926f89
f123548ab2126cdf5e1c1849b275fc1890181a40
/src/ea/automateactions/serverengine/coreserver.py
8035b3d60035a66cb94dd2aa38722bbe08349f83
[ "MIT" ]
permissive
dmachard/automateactions-server
fb1f39d723999640f7c7f045437620e46832c3bf
d412086a29855a454cc2f3c55d3d224c0c8389a2
refs/heads/master
2022-04-22T16:28:35.064977
2020-04-25T05:49:45
2020-04-25T05:49:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,763
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ------------------------------------------------------------------- # Copyright (c) 2010-2020 Denis Machard # This file is part of the extensive automation project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Le...
[ "d.machard@gmail.com" ]
d.machard@gmail.com
1b553b20f24f08080e00f4d9d51f4832fb7d9152
fe6eaa2f3656dedcb2c1e937cc1363d19a0d3ec1
/MoFan_Python/RL/q_learning_maze/run_q_table.py
6e02e7851936edb1c4d94d60af2533617aedb4d6
[]
no_license
toyijiu/my_code
4619ac6bc06c5032e01d5c215dbae516bbc4fe77
dd163cc47e2c706504aba1d42322167fb93dd9e9
refs/heads/master
2020-08-31T14:49:18.188393
2019-11-27T08:57:55
2019-11-27T08:57:55
218,714,791
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
from maze_env import Maze from RL_brain import QLearningTable def update(): #learn 100 episode for episode in range(100): observation = env.reset() while True: #update env env.render() #make action action = RL.choose_action(str(observation)) ...
[ "309378714@qq.com" ]
309378714@qq.com
a066e2aceaf86be807ff9b8b494acd4a132dd113
d18ed72d6f8d27dd8a13eab5c6366f9dca48aa6b
/espresso/qecalc/qecalc/qetask/pwphmerger.py
37224b13218f4f893b3d32262dfce294101cb6f7
[]
no_license
danse-inelastic/AbInitio
6f1dcdd26a8163fa3026883fb3c40f63d1105b0c
401e8d5fa16b9d5ce42852b002bc2e4274afab84
refs/heads/master
2021-01-10T19:16:35.770411
2011-04-12T11:04:52
2011-04-12T11:04:52
34,972,670
1
2
null
null
null
null
UTF-8
Python
false
false
809
py
#!/usr/bin/env python # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # QEcalc by DANSE Inelastic group # Nikolay Markovskiy # California Institute of Technology # (C) 2009 All Rights Reserved # # File coded by:...
[ "markovskiy@gmail.com" ]
markovskiy@gmail.com
71fed228188d979bff7322e6060803b0c4339421
f35c66a7a3513166291e687114e830410544ccaf
/siwa/tests/cases/verify_token_signature.py
8728d8b5978f74dc16bf4ff045eb240730670fba
[ "MIT" ]
permissive
loopwerk/siwa-python
3a5dcedef5a7c13b211ec40c9c16598a63e4ff25
3850b5a90e525a37745f1e01edc6fcc6be4e0927
refs/heads/main
2023-08-12T23:05:56.676881
2021-10-16T11:53:38
2021-10-16T11:53:38
407,580,999
0
0
MIT
2021-09-17T14:58:06
2021-09-17T14:58:05
null
UTF-8
Python
false
false
993
py
""" Signin With Apple Verify Token Signature Test author: hugh@blinkybeach.com """ from siwa import IdentityToken, KeyCache from siwa.tests.test import Test from siwa.tests.test_result import Success, TestResult class VerifyTokenSignature(Test): NAME = 'Verify an IdentityToken\'s signature' def execute(self...
[ "hugh.jeremy@gmail.com" ]
hugh.jeremy@gmail.com
f3e876cc3a1c202254c97bf081d2743e42cf0bfa
f62fd455e593a7ad203a5c268e23129473d968b6
/aodhclient-0.8.0/releasenotes/source/conf.py
a5d61590dd2cb436043c9bfa2323ddac0406835b
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
9,183
py
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
d7d846cd9087de58f567a5009b767266c1c61512
40b80c102e5a67729d46d3f7b98086e3534cb39b
/xlutils/view.py
38c1ff14bd2626aaf5f20b47abf480d5cdaaf820
[ "MIT" ]
permissive
bluedisk/kisp-gae
965ffea09ade0d3abd93f1a4edc5dc24a4c5c895
0fd6056d912b0aee8d880cca1e3a452cfe41f677
refs/heads/master
2021-01-24T06:13:00.395696
2014-11-30T18:11:05
2014-11-30T18:11:05
17,699,929
2
0
null
null
null
null
UTF-8
Python
false
false
5,139
py
# Copyright (c) 2013 Simplistix Ltd # # This Software is released under the MIT License: # http://www.opensource.org/licenses/mit-license.html # See license.txt for more details. from datetime import datetime from xlrd import open_workbook, XL_CELL_DATE, xldate_as_tuple from xlwt.Utils import col_by_name class Index(...
[ "bluedisk@gmail.com" ]
bluedisk@gmail.com
d31f8769aa879a9a390afee8138cbe95adabc7fe
6ff318a9f67a3191b2a9f1d365b275c2d0e5794f
/购物车/class_system老师版本/选课系统/class_system/interface/common_interface.py
ac61a6b3e3a4e637acb37722e953aa274b2eef1f
[]
no_license
lvhanzhi/Python
c1846cb83660d60a55b0f1d2ed299bc0632af4ba
c89f882f601898b5caab25855ffa7d7a1794f9ab
refs/heads/master
2020-03-25T23:34:00.919197
2018-09-13T12:19:51
2018-09-13T12:19:51
144,281,084
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
# Author : Albert Ma from db import models def login_interface(name, password, type): ''' 登录的通用接口 :param name: :param password: :param type: :return: ''' if type == 'admin': obj = models.Admin.get_obj_by_name(name) elif type == 'teacher': obj = models.Teacher.get...
[ "1541860665@qq.com" ]
1541860665@qq.com
1683c5c9af97876642b69f054305bab72ba4a5f3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_hatcheries.py
570d8c7586c562b820bcb38ae984d2efb61fde2d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
from xai.brain.wordbase.nouns._hatchery import _HATCHERY #calss header class _HATCHERIES(_HATCHERY, ): def __init__(self,): _HATCHERY.__init__(self) self.name = "HATCHERIES" self.specie = 'nouns' self.basic = "hatchery" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e8274aa36232edd76bce4316a674c9a4475a6ee2
2090b6b92d5cada89504de548b14f9c729856606
/asdf_related/process/old_slurm/slurm_process_data_bandpass_icer_6s.py
52f65e55686775fb3d676befe8b662c28f777cef
[]
no_license
ziyixiArchive/Japan_Slab_code
4f6a366889278ad499971cf1132591b9029c0f8c
4cb19939e45739faee7a8b6ec3d3a5da4549a108
refs/heads/master
2022-03-14T18:11:47.768695
2019-12-17T21:48:32
2019-12-17T21:48:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,990
py
import sys from glob import glob from os.path import join from slurmpy import Slurm # some resources information N_cores = 20 N_node = 1 N_cores_each_node = 20 # the base sync directory storing asdf files N_files = 1 N_iters = 1 # some configuration PY = "/mnt/home/xiziyi/anaconda3/envs/seismology/bin/python" min_p...
[ "xiziyi@msu.edu" ]
xiziyi@msu.edu
5049393ca1729bab25ad6ba46c4dc85c745f061b
7b270cf5f9d0a3e26b5afd758563c6cff73a5248
/estruturais/adapter/imagem/main.py
17ce4bc34d0b1b942d75c2a9341a3ec5af35d701
[]
no_license
reginaldosantarosa/DesignPatterns
10810672d3831e562ec636a5f66bd709c797ca34
bec4247f52b8d2e1fe41c570408816a5d4b22608
refs/heads/master
2020-04-04T06:54:19.757054
2018-01-04T03:06:05
2018-01-04T03:06:05
155,761,201
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
from imagem.adapters import SDLImageAdapter, OpenGLImageAdapter def main(): """ Permite que um objeto seja substituido por outro que, apesar de realizar a mesma tarefa, possui uma interface diferente. """ imagem = SDLImageAdapter() imagem.carrega_imagem("teste_sdl.png") imagem.desenha_ima...
[ "victorhad@gmail.com" ]
victorhad@gmail.com
37ac29c675514bce5f57dd3001f3eb63e816274e
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_6_mask_unet/mask_5_6d_tv_bce_block1_45678l/step10_b_tv_s01_bce_s20_100.py
531ba98770e6dbb82402251c84f6498a9a19e2ab
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
8,201
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
0cc009103b43bb508fc11954c7a952a868a16fbf
0343de40021f8dd72fb9a6cb31b5d2f24ccd7971
/utilities/wake_models_mean/optimiser/test.py
ae82b1da3d1db1da5d876247955b0f4ae449fc2b
[]
no_license
sebasanper/WINDOW_dev
47ae9252e6fadb2a3b1a0aae3383681a7955f4ea
3c6437a777f2fc3be1dfd3d53b5d2ed25281c55c
refs/heads/master
2021-01-01T19:45:02.555727
2018-05-21T20:27:56
2018-05-21T20:27:56
98,670,270
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
# from numpy import array, concatenate # # print(concatenate((array([1,2,3,4]),array([6,7,8]), array([5,5,5,5])))) for i in range(9): for j in range(i + 1, 9): print i, j
[ "s.sanchezperezmoreno@tudelft.nl" ]
s.sanchezperezmoreno@tudelft.nl
a4c9a305688792a8d102a1d879de0538a99f434d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_151/ch45_2020_09_30_19_04_20_283764.py
917f24828dae5d3ba1bcd179e8bbc69caae81dde
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
lista = [0] i = 0 while True: a = int(input('x')) if a == 0 or a <= 0: del lista[i] break else: lista[i] = a lista += [0] i += 1 b = len(lista) j = b while j > 0: print(lista[j-1]) j = j - 1
[ "you@example.com" ]
you@example.com
3544488341029430bfe7c2003c684c6646b9ad2a
2fb27f79ac305f0c054a3a6aed2e0e2d68c798fc
/etl/2021.py
810d4a1734b12e2171983fac5a18bb57e7eb13a4
[ "CC0-1.0" ]
permissive
loleg/opendataday
6a8760bd9e232674a1c06b8661131405094e581b
65822c1196b3ed582d68b1867fc6328b93865e7c
refs/heads/master
2021-07-04T04:10:44.027307
2021-02-15T21:14:24
2021-02-15T21:14:24
225,385,685
0
0
NOASSERTION
2019-12-02T13:49:27
2019-12-02T13:49:26
null
UTF-8
Python
false
false
604
py
from pathlib import Path from lib import main IN_URL = 'https://docs.google.com/spreadsheets/d/17MemnXoshf1cd6_S4l23uyOQxfEI6m-sXZNrDnNhFc8/export?format=csv&id=17MemnXoshf1cd6_S4l23uyOQxfEI6m-sXZNrDnNhFc8&gid=1679616011' JSON_OUT_FILE = Path(__file__).absolute().parent.parent / 'databags' / 'events-2021.json' CSV_OU...
[ "chris.shaw480@gmail.com" ]
chris.shaw480@gmail.com
6d2780463636dcbcdf8d1d1192682d75483a623d
8e1668e35a8df9968ab14d16db089b51dbe6dd51
/python/algorithms/trees/nary_preorder_traversal.py
e327e97e25411701e29d95067ffffa7d30c51f8a
[]
no_license
Chalmiller/competitive_programming
f1ec0184d1ff247201522ab90ca8e66b3f326afc
b437080d1ba977c023baf08b7dc5c3946784e183
refs/heads/master
2021-03-24T05:11:59.383916
2020-08-24T22:07:41
2020-08-24T22:07:41
247,519,998
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# 589: N-ary Tree PreOrder Traversal """ # Definition for a Node. class Node: def __init__(self, val=None, children=None): self.val = val self.children = children """ class Solution: def preorder(self, root: 'Node') -> List[int]: if not root: return [] traversal = [r...
[ "chalmiller1@gmail.com" ]
chalmiller1@gmail.com
f17f81459a958930e6ceabf067ddf8248c4f04d3
bae5a27af501696cf6ec8dca3383f941c10f98bb
/lib/services/vpc/ncloud_vpc/model/get_nat_gateway_instance_list_request.py
ac84d81d8f6917d65a2b531b5556baa0d90232b3
[ "MIT" ]
permissive
snapbuy/ncloud-sdk-python
8db9a679e77756c2e50592dec74bf7573f668a2f
5976dfabd205c615fcf57ac2f0ab67313ee6953c
refs/heads/master
2023-04-29T08:50:35.012067
2021-05-27T13:13:34
2021-05-27T13:13:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,735
py
# coding: utf-8 """ vpc Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class GetNatGatewayInstanceListRequest(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class ma...
[ "lee.yongtak@navercorp.com" ]
lee.yongtak@navercorp.com
c334856ea4e2b47ef69aade42df8ec256bd24061
58fd1554612d218687e787363c624bc0c76185b0
/10-monitoring-station/part_1.py
1ca1357cc5539f7c268e584aa655653680235aaa
[ "MIT" ]
permissive
johntelforduk/advent-of-code-2019
98ddfe9ec55ee14e99d922eb2a26a0a335d8f6bb
09537d9887398e2ea9c9021ed87f0425846d4600
refs/heads/master
2020-07-27T10:17:10.294516
2020-01-19T19:32:56
2020-01-19T19:32:56
209,057,050
1
0
MIT
2020-01-19T19:33:00
2019-09-17T13:09:26
Python
UTF-8
Python
false
false
3,822
py
# Solution to part 1 of day 10 of AOC 2019, "Monitoring Station". # https://adventofcode.com/2019/day/10 # This is an integer solution. Looking at the AOC sub-reddit, it seem that most solutions use trigonometry. # TODO Figure out why test_1.txt returns 7. It should return 8. from math import gcd ...
[ "jtelford1@gmail.com" ]
jtelford1@gmail.com
e58911bdec7328c7e0eeee6a2d8e309dc72d5ee0
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_6338.py
b4d67802ae9977754aa73eea3651ae81b16f507a
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
# Cannot get object from queryset self.content = re.sub(r'\[\[(.+)\]\]', lambda m: ADResource.objects.all().get(alias=m.group(1)).src.url, self.content)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
7bcc1f6929bfa8756e73337372c85b3693a7c138
65aa7ddfce10e790aa32deff54a233350149b628
/answers.py
9f3deacbeebcc1c4be9e8aa8000b965c9933f217
[]
no_license
Sasha1152/Training
02967a35996f9ba1142c0fdb37bad8805d50d51f
ce71a4e5d561dffc62d8696ddca62878efd9a5ac
refs/heads/master
2023-08-19T08:53:03.584664
2023-05-17T07:00:34
2023-05-17T07:00:34
88,407,611
0
0
null
2023-07-25T21:10:10
2017-04-16T11:00:54
Python
UTF-8
Python
false
false
5,611
py
"""This file describes simple tasks to be done at home by each student. Author: pivanchy. """ from random_sample import randint data = [ { 'name': 'Bob', 'age':20, }, { 'name': 'Martin', 'age': 45, }, { 'name': 'Steven', 'age': 55, }, { 'name': 'Kate', 'age': 17, }, ] # 1. Print na...
[ "saxin@ukr.net" ]
saxin@ukr.net
dfd30d0029c78b0ddb545f0bdbabcbd7c6dbc35d
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/spotify_luigi/luigi-master/luigi/postgres.py
561d27aac798e0b89c7d33b222a69510c7d9d52a
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
897
py
# -*- coding: utf-8 -*- # # Copyright 2017 VNG 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 by applicable law...
[ "659338505@qq.com" ]
659338505@qq.com
df410e32eca100e8cc17fe3ea627b68996fcfa53
20a0bd0a9675f52d4cbd100ee52f0f639fb552ef
/transit_odp/data_quality/api/views.py
c58508aed600fbf1c1158e07798325d41dee2a40
[]
no_license
yx20och/bods
2f7d70057ee9f21565df106ef28dc2c4687dfdc9
4e147829500a85dd1822e94a375f24e304f67a98
refs/heads/main
2023-08-02T21:23:06.066134
2021-10-06T16:49:43
2021-10-06T16:49:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,938
py
from django.db.models import ( BooleanField, Case, CharField, OuterRef, Subquery, Value, When, ) from rest_framework import viewsets from rest_framework.permissions import IsAuthenticated from transit_odp.api.pagination import GeoJsonPagination from transit_odp.data_quality.api.filters impo...
[ "ciaran.mccormick@itoworld.com" ]
ciaran.mccormick@itoworld.com
663940134de857903375e1145de508f70a4d6054
6d233ad2059a941e4ce4c5b5ee3857b8a4a0d212
/Everyday_alg/2021/01/2021_01_06/three-consecutive-odds.py
dd1029eed6ca2a2d425d90f19f09a45d58121d84
[]
no_license
Alexanderklau/Algorithm
7c38af7debbe850dfc7b99cdadbf0f8f89141fc6
eac05f637a55bfcc342fa9fc4af4e2dd4156ea43
refs/heads/master
2022-06-12T21:07:23.635224
2022-06-12T08:12:07
2022-06-12T08:12:07
83,501,915
5
3
null
null
null
null
UTF-8
Python
false
false
988
py
# coding: utf-8 __author__ = 'Yemilice_lau' """ 给你一个整数数组 arr,请你判断数组中是否存在连续三个元素都是奇数的情况:如果存在,请返回 true ;否则,返回 false 。 示例 1: 输入:arr = [2,6,4,1] 输出:false 解释:不存在连续三个元素都是奇数的情况。 示例 2: 输入:arr = [1,2,34,3,4,5,7,23,12] 输出:true 解释:存在连续三个元素都是奇数的情况,即 [5,7,23] 。 """ class Solution(object): def threeConsecutiveOdds(self, a...
[ "429095816@qq.com" ]
429095816@qq.com
07454de95d0d1bbda5ec62b4cbff5a41c143bfd1
0fb6f0faa7e6d9b557ec43201f0edb2056ac08d6
/python/pythonds/5_recursion/to_str.py
e9329cb6f9cfcfcd4adde65b099ebf219c68b780
[]
no_license
macoto35/Algorithms_Kata
a0bb167668aa4e8b678f9c5f47fc9142ade67553
f92aec5674dc67be024f4ad04d40a85d09ef7b1e
refs/heads/master
2021-07-07T13:21:16.805125
2020-07-21T01:25:34
2020-07-21T01:25:34
138,005,631
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
class Stack(): def __init__(self): self.items = [] def push(self, item): self.items.append(item) def pop(self): return self.items.pop() def peek(self): return self.items[self.size()-1] def size(self): return len(self.items) def isEmpty(self): ...
[ "sohee.um@mercer.com" ]
sohee.um@mercer.com
f99db957e708a1285f176e03e9c6ce72e6239c04
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_34/518.py
1db1a39e001d79ef75c8938b944d259d4b0571df
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,997
py
class ProblemA: def Solve(self, file_in, file_out): self.__Read(file_in) for i_case, case in enumerate(self.cases): self.__SolveCase(i_case, case) self.__Write(file_out) def __Read(self, file_in): f = open(file_in, "r") line = self.__ReadLi...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
a522598331e76c50b54db0954f6a4e192e9a132b
26f8a8782a03693905a2d1eef69a5b9f37a07cce
/test/test_destiny_milestones_destiny_milestone_activity_phase.py
4cc57ceac221e6a27b3e6e02cec06b641c66186f
[]
no_license
roscroft/openapi3-swagger
60975db806095fe9eba6d9d800b96f2feee99a5b
d1c659c7f301dcfee97ab30ba9db0f2506f4e95d
refs/heads/master
2021-06-27T13:20:53.767130
2017-08-31T17:09:40
2017-08-31T17:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,315
py
# coding: utf-8 """ Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. OpenAPI spec version: 2.0.0 Contact: support@bungie.com Generated by: ...
[ "adherrling@gmail.com" ]
adherrling@gmail.com
a3fa67f60949e90d70db68fcfcae922b1f3a4983
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02960/s823656934.py
55db5fb8468fc27f98f140c302b23ea6eb5fa9ff
[]
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
562
py
S = list(input()) N = len(S) dp=[] MOD = (10 ** 9) + 7 f = S.pop(0) if f == '?': dp_low = [1,1,1,1,1,1,1,1,1,1,0,0,0] else: dp_low = [0] * 13 dp_low[int(f)] = 1 dp.append(dp_low) for i in range(N-1): dp_low = [0] * 13 if S[i] == '?': for j, val in enumerate(dp[i]): for k in range(10): tem...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
854d460e5580c83a989b3b4d0d55555decea404f
92a619c043e0c26fb65e58619a0e1c5090a9efe0
/Grokking_the_Coding_Interviews/p110_reverse_a_sublist.py
5e1e49abfc7c4555949e594fca36d01bac8df531
[]
no_license
curieshicy/My_Utilities_Code
39150171f8e0aa4971cfc3d7adb32db7f45e6733
8b14a5c1112794d3451486c317d5e3c73efcd3b5
refs/heads/master
2022-06-22T06:06:39.901008
2022-06-20T16:00:51
2022-06-20T16:00:51
177,379,409
0
0
null
null
null
null
UTF-8
Python
false
false
2,265
py
from __future__ import print_function class Node: def __init__(self, value, next=None): self.value = value self.next = next def print_list(self): temp = self while temp is not None: print(temp.value, end=" ") temp = temp.next print() def reverse_...
[ "noreply@github.com" ]
curieshicy.noreply@github.com
d83e25c6f1c10e80eab1e63f8139a7609c2270a4
208e6588836b3a581e22705d4cfd363926d25fb9
/Segundo_app_vue/DjangoVue/account/models.py
c2bf6aa2a558e4aaf1e86b870616c77f293df8e5
[]
no_license
INFINITY-RUBER/Curso_Django-3_integraci-n_con_Vue_Y_Bootstrap_4
4e676507448706989004b1f34e69c30ffcbc803c
0291f2e791f5f37e1cac34ddfae513ecaaeec3c5
refs/heads/master
2023-02-06T20:08:30.660621
2020-12-29T18:50:39
2020-12-29T18:50:39
310,176,584
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class UserProfile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) avatar = models.ImageField(upload_to='user/avatar')
[ "ruberhenandez@gmail.com" ]
ruberhenandez@gmail.com
cfe8e8f8f16951aaf0b355ffcbb90386edef88a7
bedd6ae9ba6c83ffa146884793f2f60a24718a30
/virtual/bin/python-config
7bab28b8bc313541a3404de4786e8f0944c11f3c
[ "MIT" ]
permissive
Isaacg94/Instagram-Clone
ebc84c7530c1c5afa5898256341301a11f9434ee
96de344e5d70f00fd65e3f877da0aeaef635b46f
refs/heads/master
2022-12-10T00:14:47.264081
2021-06-16T16:39:45
2021-06-16T16:39:45
221,893,149
0
0
null
2022-04-22T22:42:19
2019-11-15T09:45:06
Python
UTF-8
Python
false
false
2,393
#!/home/isaac/Documents/Moringa-school-projects/core/django/instagram/virtual/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') val...
[ "7248zack@gmail.com" ]
7248zack@gmail.com
a5e8bffc411a8df0b001e3c088f9ee29566d0f9b
0b358a0d64eb03655c030b36c0ae87880b153951
/mmdet/__init__.py
ca5518fc31dadb151616360e0800dd6a412f1ae0
[]
permissive
jshilong/DDQ
db05ff309d63316c62faa59b28c66d65eef973d1
de9331e4579aaafab4d69e3a9a3c6638efc5392c
refs/heads/main
2023-06-03T15:02:09.949907
2023-05-24T03:32:12
2023-05-24T03:32:12
498,974,099
199
6
Apache-2.0
2022-06-02T05:01:53
2022-06-02T03:10:25
null
UTF-8
Python
false
false
909
py
# Copyright (c) OpenMMLab. All rights reserved. import mmcv from .version import __version__, short_version def digit_version(version_str): digit_version = [] for x in version_str.split('.'): if x.isdigit(): digit_version.append(int(x)) elif x.find('rc') != -1: patch_v...
[ "2392587229zsl@gmail.com" ]
2392587229zsl@gmail.com
0674bcdc17a11ee421562079b972fb0b092692b9
42363133b9227afe708c8679ba11887b2e1145d7
/americangut/taxtree.py
717f512aaaba79099ddf4628861e4ef577e6182e
[ "BSD-3-Clause" ]
permissive
jrherr/American-Gut
0538b25c4e0c1c1595629e27812ae0b1a572c314
c82565b441d513dac362cb2b408c0c457b484ddf
refs/heads/master
2020-12-02T16:32:40.983863
2013-11-26T23:44:37
2013-11-26T23:44:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,607
py
#!/usr/bin/env python from biom.parse import parse_biom_table __author__ = "Daniel McDonald" __copyright__ = "Copyright 2013, The American Gut Project" __credits__ = ["Daniel McDonald", "Justine Debelius"] __license__ = "BSD" __version__ = "unversioned" __maintainer__ = "Daniel McDonald" __email__ = "mcdonadt@colorad...
[ "mcdonadt@colorado.edu" ]
mcdonadt@colorado.edu
4f184cb1828e238393a421ce36a8fb6e0745f676
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_379/ch22_2019_08_26_20_25_40_854359.py
6d69c7b21696d7e03a7c8b668d2bc6b719a1f650
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
def eh_bissexto(x): if (x%400==0): return True elif (x%100==0): return False elif (x%4==0): return True else: return False
[ "you@example.com" ]
you@example.com
a680af0504e061b7ae2c5c943bdd47a961cedb71
d14193a5d565c4f8ad9d69a975ae24e62c26943a
/easystack_dashboard/api/notice/notice.py
3727fe2e04f8a633b183101a5d1eebee1890ec9d
[ "Apache-2.0" ]
permissive
oksbsb/horizon-acc
b84783c5a81a2678195c45d31a24ca214b69562f
9524f1952461c83db485d5d1702c350b158d7ce0
refs/heads/master
2020-03-19T03:20:52.007840
2017-11-14T09:17:04
2017-11-14T09:17:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
# # Copyright 2015 Easystack <bo.wang@easystack.cn> # Created on 2015-09-10 # import yaml import os import collections def get_notice(): filename = os.path.join( os.path.dirname(__file__), 'notice.yaml').replace("\\", "/") try: input_stream = file(filename, 'r') cont = yaml.load(input...
[ "zhoub1986@aliyun.com" ]
zhoub1986@aliyun.com
6de103bac0550e2310c2fdc8594568b37bbb82c8
ac235a23f22be0d6f1818bb53902177f9969813a
/tests/contrib/algoliasearch/test_algoliasearch_patch_generated.py
fe30e5c36708cb4fc593271a080682193e5bfec8
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
DataDog/dd-trace-py
f09d6d48c4c69aea68f999fc8a458ade5c6150cf
1e3bd6d4edef5cda5a0831a6a7ec8e4046659d17
refs/heads/1.x
2023-09-01T20:25:26.746324
2023-09-01T18:54:37
2023-09-01T18:54:37
61,572,326
461
426
NOASSERTION
2023-09-14T20:38:57
2016-06-20T18:52:23
Python
UTF-8
Python
false
false
1,102
py
# This test script was automatically generated by the contrib-patch-tests.py # script. If you want to make changes to it, you should make sure that you have # removed the ``_generated`` suffix from the file name, to prevent the content # from being overwritten by future re-generations. from ddtrace.contrib.algoliasear...
[ "noreply@github.com" ]
DataDog.noreply@github.com
5ee7a27b52b9454cdd7919ae9bb16f90d1935299
7789f4c84a250ce45accdecbf73630519bfc4aa1
/devel/lib/python2.7/dist-packages/rail_manipulation_msgs/msg/_MoveToJointPoseActionGoal.py
0db8b46c2fcfeaa6dee8292961f74e6dd46c0cdd
[]
no_license
JerryHu1994/NRI-authoring-Backend
33610913692c3ba8ac2e7fd47b735d193771526c
d130201224deb8696ae4b2dbc451c251693040d3
refs/heads/master
2021-09-15T23:15:01.061392
2018-06-12T15:56:40
2018-06-12T15:56:40
113,100,927
0
2
null
2018-06-12T15:56:41
2017-12-04T22:11:56
HTML
UTF-8
Python
false
false
10,305
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from rail_manipulation_msgs/MoveToJointPoseActionGoal.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import rail_manipulation_msgs.msg import genpy import actionlib_msgs....
[ "hjr01211@gmail.com" ]
hjr01211@gmail.com
6a2f36c842ab8d4d120d78d73b87f99e3ccc7f45
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_167/ch137_2020_04_01_18_51_24_701069.py
47ffc20951a7892e54d7674018f1a7dfe6e64742
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
import math def calcula_aceleracao (r,f): w=2*math.pi*f ac=w**2*r return ac
[ "you@example.com" ]
you@example.com
4f669396b8929a24f923ded7d64297bf38dfa316
6478723d180a8ef39941ba04b80c1eca9f437323
/Premuim/642. Design Search Autocomplete System.py
c841c891dbaeea09dd8f6dc2c91e33b8e1a39875
[]
no_license
NiuNiu-jupiter/Leetcode
2a49a365898ecca393cb1eb53a47f4501b25952d
e278ae6ded32f6a2d054ae11ad8fcc45e7bd0f86
refs/heads/master
2022-11-22T01:05:57.417538
2020-07-28T23:34:39
2020-07-28T23:34:39
182,104,119
0
0
null
null
null
null
UTF-8
Python
false
false
5,194
py
""" Design a search autocomplete system for a search engine. Users may input a sentence (at least one word and end with a special character '#'). For each character they type except '#', you need to return the top 3 historical hot sentences that have prefix the same as the part of sentence already typed. Here are the ...
[ "cmyumo.zhang@gmail.com" ]
cmyumo.zhang@gmail.com
34860b25994feae68df0b900919cd408106da04b
4ca5151a5ef7d8a9985d485bab4506c539f87052
/setup.py
816039e93c8eb19f05210a60c45fc2247b94b17f
[]
no_license
tacaswell/Xi-cam.plugins.Tomography
db935042ed7b17608537b1ca78b7ff0d64d41224
0fd40a176b9e20b61bad6f100afade662d4823da
refs/heads/master
2020-03-21T01:29:59.758849
2018-04-06T16:45:57
2018-04-06T16:45:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,076
py
""" Usage: pip install -e . python setup.py install python setup.py bdist_wheel python setup.py sdist bdist_egg twine upload dist/* """ from setuptools import setup setup( name='xicam.Tomography', # Versions should comply with PEP440. For a discussion on single-sourcing # the...
[ "ronpandolfi@gmail.com" ]
ronpandolfi@gmail.com
5d74d09c08096cb66723c292ff69d72e0d0e7671
210dc7b01fdfd49b6343c9307c26b8b4e63f9351
/mythic-docker/app/api/task_api.py
04a1c8c9e8e955fae0998ed8e42d550ef1b05151
[ "BSD-3-Clause", "MIT" ]
permissive
frameworkredteam/Mythic
095f83a487af1a21b6f7c8971099ee46cda79a97
f15ec7760402db34c05bc8d61c346a0a8262da46
refs/heads/master
2023-06-29T18:50:35.983156
2021-07-30T05:07:42
2021-07-30T05:07:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
97,776
py
from app import mythic import app from sanic.response import json from app.database_models.model import ( Callback, Task, FileMeta, Response, ATTACKCommand, ATTACKTask, TaskArtifact, Command, C2ProfileParametersInstance, ) from datetime import datetime, timedelta from sanic_jwt.decor...
[ "codybthomas@gmail.com" ]
codybthomas@gmail.com
a446f0fc2801da2f00b11edd7d066c7d1ec38289
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/gos_20200614064304.py
2253c79f312327946332f3feae9b5ebb08fc6b83
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
10,953
py
# # Імпорт фажливих бібліотек # from BeautifulSoup import BeautifulSoup # import urllib2 # import re # # Створення функції пошуку силок # def getLinks(url): # # отримання та присвоєння контенту сторінки в змінну # html_page = urllib2.urlopen(url) # # Перетворення контенту в обєкт бібліотеки BeautifulSoup #...
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
ffc5656ad4ed46d2f021821c57cee7fc99d00406
d27af9d58b91b8cd998ac0eb87d980d304ff0670
/Grand-Contest/AGC032/AGC032_D.py
228e19129efb93439f51898fcd631c38320da3eb
[]
no_license
mongesan/Atcoder-m0_ngesan-py
29dd79daab149003ffc8b6b6bad5fa2e7daa9646
6654af034d4ff4cece1be04c2c8b756976d99a4b
refs/heads/master
2023-08-20T19:50:04.547025
2021-10-27T12:24:51
2021-10-27T12:24:51
258,486,105
1
0
null
null
null
null
UTF-8
Python
false
false
9
py
#AGC032_D
[ "syun1.mongesan@gmail.com" ]
syun1.mongesan@gmail.com
602fbca9cf0c2c43b7159ff7b2f7264c97ac69f3
d24a6e0be809ae3af8bc8daa6dacfc1789d38a84
/ABC/ABC201-250/ABC240/B.py
bb9469c0bccd5caa5585491bb608070c53465676
[]
no_license
k-harada/AtCoder
5d8004ce41c5fc6ad6ef90480ef847eaddeea179
02b0a6c92a05c6858b87cb22623ce877c1039f8f
refs/heads/master
2023-08-21T18:55:53.644331
2023-08-05T14:21:25
2023-08-05T14:21:25
184,904,794
9
0
null
2023-05-22T16:29:18
2019-05-04T14:24:18
Python
UTF-8
Python
false
false
367
py
def solve(n, a_list): return len(set(a_list)) def main(): n = int(input()) a_list = map(int, input().split()) res = solve(n, a_list) print(res) def test(): assert solve(6, [1, 4, 1, 2, 2, 1]) == 3 assert solve(1, [1]) == 1 assert solve(11, [3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5]) == 7 if...
[ "cashfeg@gmail.com" ]
cashfeg@gmail.com
36d79cab08924813d9e648a27663300913d6248f
6d80ce7a1f44ddf5741fd190ddfe0d9be8e5f162
/model/recognition_model/MORAN_V2/models/asrn_res0.py
53c72c8fa3c8034ce33cf63e721db26aae0c7f21
[ "MIT" ]
permissive
dun933/FudanOCR
dd8830ca4b8ebb08acd31326fcf5aa3c961886a0
fd79b679044ea23fd9eb30691453ed0805d2e98b
refs/heads/master
2021-04-03T19:50:47.646099
2020-03-16T08:43:59
2020-03-16T08:43:59
248,391,401
1
0
MIT
2020-03-19T02:23:11
2020-03-19T02:23:10
null
UTF-8
Python
false
false
10,181
py
import torch import torch.nn as nn from torch.nn import init import torch.nn.functional as F from torch.autograd import Variable from torch.nn.parameter import Parameter from models.fracPickup import fracPickup class BidirectionalLSTM(nn.Module): def __init__(self, nIn, nHidden, nOut): super(Bidirectional...
[ "576194329@qq.com" ]
576194329@qq.com
257bd2d578adbfde73eb278881f919400ecdea8b
7db575150995965b0578f3b7c68567e07f5317b7
/tr2/models/backbone.py
e9f933a3c4af8a316083d472dd0b42aa626d8c50
[]
no_license
anhdhbn/thesis-tr2
b14049cc3de517cdd9205239e4cf3d225d168e85
7a74bb1228f5493b37934f38a8d3e1ab5328fc3c
refs/heads/master
2023-03-27T21:51:57.763495
2021-02-26T12:51:20
2021-02-26T12:51:20
338,924,981
0
0
null
null
null
null
UTF-8
Python
false
false
2,386
py
from torchvision.models._utils import IntermediateLayerGetter import torchvision import torch.nn as nn from torch import Tensor from typing import Tuple, Dict, List import torch.nn.functional as F import torch from tr2.core.config import cfg from tr2.models.embedding import PositionEmbeddingSine from tr2.utils.misc ...
[ "anhdhbn@gmail.com" ]
anhdhbn@gmail.com
7892ad7797619421aea5ddbeb9bb3d05eeb325fc
47ede6f552bd6a624f40df9a8dfd5720474a90ca
/tractseg/libs/DirectionMerger.py
4a2e7196182b8390a23c67bf131186a6690b96df
[ "Apache-2.0" ]
permissive
shmp0722/TractSeg
b10e30207d5f4de8f5207411a1cc57eb9477bfeb
f8d6c7a906c72a6a80f86887d87eaa02e9ed105c
refs/heads/master
2020-03-21T16:57:06.632011
2018-06-26T16:19:31
2018-06-26T16:19:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,644
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2017 Division of Medical Image Computing, German Cancer Research Center (DKFZ) # # 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 # # ...
[ "j.wasserthal@dkfz.de" ]
j.wasserthal@dkfz.de
c6f5bef0b4912e62b8347fe8eca4cd1e82a32888
3ce4c8195136b758a6ca20c34ded458fb21843dc
/dataset/qqpy/__init__.py
8ea24bd4e591c879ff08e28a5f6d6cfe860008f1
[]
no_license
davischan3168/packages
4f280d8b054f67189392919bce2f30f492e9bf2f
2136958cf4560cc183b072d89b756fad60e306bb
refs/heads/master
2020-04-15T15:47:31.880065
2019-08-26T11:42:08
2019-08-26T11:42:08
164,808,713
3
0
null
null
null
null
UTF-8
Python
false
false
180
py
#!/usr/bin/env python3 # -*-coding:utf-8-*- #from .financehk import Finance_qqhk #from .holdsharehk import (inst_qqhk, dividen_qqhk) #from .newshk import (news_qqhk, notice_qqhk)
[ "racheal123@163.com" ]
racheal123@163.com
9e7b0f6ccd0d416b4319bbc42ec651e1409d6923
43e4ea613b105a7228ec03ededf6c0f5207c814e
/day64/day64/wsgi.py
c55820feee08e8a5f00eea08f4a18d4c07aae3d6
[]
no_license
goodslin/xfz_demo
128a507f308e25f3b10f18aa6fd9b7cb7747a72e
a7804950b2cd5270449eefac19ed45ccf0dc2d69
refs/heads/master
2022-12-13T12:10:12.185272
2020-06-21T14:31:55
2020-06-21T14:31:55
188,340,870
0
0
null
2022-12-08T01:22:27
2019-05-24T02:44:32
Python
UTF-8
Python
false
false
387
py
""" WSGI config for day64 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "goodslin@qq.com" ]
goodslin@qq.com
5984053dfa9520d7882ac0917ed178b84a8fa1aa
6baee07ee7b873c8af5fe970285c78a63b848202
/web/controllers/api/__init__.py
e7399e2d2ca470a46c4423e4275c79d5bafaadc2
[]
no_license
Xia0Dou/Graduation-design
d1f83c5a1ab4551a1e0336034615e7d9a7605490
b21f6f2f22b39146119630b62f21fae1eb56a45f
refs/heads/master
2020-05-17T13:47:14.906360
2019-05-10T10:56:35
2019-05-10T10:56:35
183,745,344
1
0
null
null
null
null
UTF-8
Python
false
false
407
py
from flask import Blueprint route_api = Blueprint('api_page',__name__) from web.controllers.api.Memer import * from web.controllers.api.Food import * from web.controllers.api.Cart import * from web.controllers.api.Order import * from web.controllers.api.My import * from web.controllers.api.Address import * from web.co...
[ "your email" ]
your email
3d6f2e796bfb5beb9de2232619a7e671b5b21b84
aabd50c4ee53c97d33daaf6240f3a26a5e4f61c5
/src/51.N-Queens.py
10a503ff7c57e603ff73011499aa10fa54eba626
[ "MIT" ]
permissive
wisesky/LeetCode-Practice
6d955086803c9dffa536c867f9e889af12bbcca5
65549f72c565d9f11641c86d6cef9c7988805817
refs/heads/master
2021-12-15T22:33:14.140804
2021-12-06T09:26:42
2021-12-06T09:26:42
188,990,569
0
0
null
null
null
null
UTF-8
Python
false
false
2,174
py
from typing import List from copy import deepcopy class Solution: def solveNQueens(self, n: int) -> List[List[str]]: matrix = [['.']*n for _ in range(n)] unchosen = [] for x in range(n): # row = [] for y in range(n): # row.append((x,y)) ...
[ "wisesky1988@gmail.com" ]
wisesky1988@gmail.com
4c6973d8a0212de88788cd349176b5aa9f3ff562
5b5145ce47a6e14f342f21ba3752ab8823d8043a
/panoptes_aggregation/extractors/extractor_wrapper.py
cdeba6adc668e0585ab3504e6e0fad89b8feaa8a
[ "Apache-2.0" ]
permissive
isabella232/aggregation-for-caesar
335f40c801e2cd18e807b6f10d8228e9c659df97
9ce7616b60ab32b13791868ace1637801ea937e9
refs/heads/master
2023-03-20T08:21:44.889957
2020-12-14T11:54:55
2020-12-14T14:17:28
322,817,491
0
0
Apache-2.0
2021-02-23T23:28:33
2020-12-19T10:06:10
null
UTF-8
Python
false
false
1,665
py
import ast from functools import wraps from ..append_version import append_version def unpack_annotations(annotations, task): annotations_list = [] for key, value in annotations.items(): # subtasks are stored as 'T0.0.0' and need to be pulled out with 'T0' if (task == 'all') or (key.split('.')...
[ "coleman.krawczyk@gmail.com" ]
coleman.krawczyk@gmail.com
ca1c678612f72d3d9fce30ee3a541142b1d27711
ac216a2cc36f91625e440247986ead2cd8cce350
/recipes/recipe_modules/infra_system/examples/full.py
cdbc6fbe52e5187c2a661643f6f372b5c20eedf2
[ "BSD-3-Clause" ]
permissive
xinghun61/infra
b77cdc566d9a63c5d97f9e30e8d589982b1678ab
b5d4783f99461438ca9e6a477535617fadab6ba3
refs/heads/master
2023-01-12T21:36:49.360274
2019-10-01T18:09:22
2019-10-01T18:09:22
212,168,656
2
1
BSD-3-Clause
2023-01-07T10:18:03
2019-10-01T18:22:44
Python
UTF-8
Python
false
false
502
py
# Copyright 2017 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. DEPS = [ 'infra_system', 'recipe_engine/context', 'recipe_engine/platform', 'recipe_engine/step', ] def RunSteps(api): with api.infra_sys...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
25f2f4b462a69cb407c935605d77b30fc51c0a3e
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/Zccjet.py
03e6aab183acd6a8990516e6ce285c3bd6ff0748
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
# Pythia options for Z->cc+jet 42900012 from Configurables import Generation from Gaudi.Configuration import * Generation().PileUpTool = "FixedLuminosityForRareProcess" importOptions( "$DECFILESROOT/options/SwitchOffAllPythiaProcesses.py" ) from Configurables import Special, Pythia8Production Generation().addTool( ...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
bcd1bf2ff040003bad93f641acee1bde1f2233d6
bbb70e472ca400290fcfa0033ad943d1e991b8a5
/bucket_sort.py
f0c7254f6f24c0491317d43f57ff64499798a576
[]
no_license
rarezhang/sorting_algorithms
bb2828aeb6376f6e6bd3f343c8ffa37d23d28f53
ce17e982f9127bf86be7c8309bd26a23b6819673
refs/heads/master
2021-01-09T06:20:30.111481
2017-03-11T18:48:02
2017-03-11T18:48:02
80,967,581
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
""" bucket sort consider a sequence S of n entries whose keys are integers in the range [ 0 , N − 1 ], it is possible to sort S in O ( n + N ) time. because of the restrictive assumption about the format of the elements, we can avoid using comparisons not based on comparisons, but on using keys as indices into a bucke...
[ "catezhang@qq.com" ]
catezhang@qq.com
e077f280babdacf7d6577c27fd745bc14fc2c7cc
d61f7eda203a336868c010abb8f9a6f45dd51adb
/114. Flatten Binary Tree to Linked List.py
205a2918312d0417a54921543a0469b6a82be856
[]
no_license
Mschikay/leetcode
b91df914afc728c2ae1a13d3994568bb6c1dcffb
7c5e5fe76cee542f67cd7dd3a389470b02597548
refs/heads/master
2020-04-17T12:11:38.810325
2019-10-06T02:37:32
2019-10-06T02:37:32
166,570,922
0
0
null
null
null
null
UTF-8
Python
false
false
1,799
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def flatten(self, root): """ :type root: TreeNode :rtype: None Do not return anything, modify roo...
[ "chikaytong@gmail.com" ]
chikaytong@gmail.com
09bcb983bf6d56e398810328a3fb85be6758c273
b125b852ada9a22a908fac379f9bee4be9eb050a
/Jump_to_python_10_if문/if_10.py
7449941ec485a8e342f67ab8b9038e54c2f95cc1
[]
no_license
rheehot/Python_Master
73f32a83e9f2ea469eb6ac558a95cbf5b7c436d9
0c009f2bcf8810dd1b7826dc34ff58afb996dc86
refs/heads/main
2023-08-25T13:13:45.428375
2021-10-19T14:12:28
2021-10-19T14:12:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
# pass를 써보자 pocket = ['paper', 'cellphone'] if 'money' in pocket: pass else: print("카드 긁으삼")
[ "suyeon.chaa@gmail.com" ]
suyeon.chaa@gmail.com
dec56897603cab7e7ba44553c83e10532a160261
a66460a46611483dfbdc94c7996893f427e60d97
/ansible/my_env/lib/python2.7/site-packages/ansible/utils/module_docs_fragments/zabbix.py
f6030bf0e5f891f75718081e5f1ca9d9021c2d76
[ "MIT" ]
permissive
otus-devops-2019-02/yyashkin_infra
06b57807dde26f94f501828c07503d6bf1d70816
0cd0c003884155ac922e3e301305ac202de7028c
refs/heads/master
2020-04-29T02:42:22.056724
2019-05-15T16:24:35
2019-05-15T16:24:35
175,780,718
0
0
MIT
2019-05-15T16:24:36
2019-03-15T08:37:35
HCL
UTF-8
Python
false
false
1,772
py
# Copyright (c) 2017 Ansible, Inc # # This file is part of Ansible # # Ansible 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, or # (at your option) any later version. # # Ansi...
[ "theyashkins@gmail.com" ]
theyashkins@gmail.com
4f9dd590c4a5c50979d17346b51a1fb17928cfb8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_045/ch37_2019_04_09_21_16_24_743478.py
e7eae427a5f6cc584b43f160782966c27d8086dc
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
def teste(n): primo=True i=2 if n<=1: primo=False while i<n: if n%i==0: primo=False i+=1 return primo def lista_primos(n):#deu certo no spyder i=2 c=1 l=[] while c<=n: if teste(i): c+=1 l.append(i) i+=1 ...
[ "you@example.com" ]
you@example.com