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
d1ba8a3df521564ec0736242b3154a6099faa664
41e7e8db7bd9d9c4e264a283900feaa7ddc766de
/xjc_pyfile/proj/proj/config/database.py
84a3f18f0c7410976e7a48d1e257848f6b259b50
[]
no_license
breezexjc/xjc_file
d8feea7c94c55eab67c912fbdfa04ec032023cd7
d63074212da0cda50a5a59de1a520ff5eb774612
refs/heads/master
2020-04-06T08:49:36.820469
2019-01-04T00:38:01
2019-01-04T00:38:01
157,317,950
0
0
null
null
null
null
UTF-8
Python
false
false
15,571
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ author: xjc version: V20181031 project:单例模式数据库类 """ import psycopg2 import pandas as pd import cx_Oracle # pg_inf = {'database': "signal_specialist",'user': "postgres",'password': "postgres", # 'host': "192.168.20.56",'port': "5432"} # pg_inf = {'database...
[ "37464916+breezexjc@users.noreply.github.com" ]
37464916+breezexjc@users.noreply.github.com
85f28bdee0e69e803ce6e9bb1da07371033f9b92
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02818/s946848234.py
9d8a93dbc00a827e1d3529e8e72e5adf8b2dfb8f
[]
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
357
py
# -*- coding: utf-8 -*- """ B - Greedy Takahashi https://atcoder.jp/contests/abc149/tasks/abc149_b """ import sys def solve(A, B, K): if A >= K: return A-K, B return 0, max(B - K + A, 0) def main(args): A, B, K = map(int, input().split()) ans = solve(A, B, K) print(*ans) if __name__ =...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
34ec3551c05a82e402dbcf6e6d8cc7d8684d7e5e
5e8c4821af727c6a3b207d37c5c0fcce0f042d3e
/d_4_counter02.py
1e4f370ba283f0697149006b61118d6a2d84f906
[]
no_license
masa48326/homework_d
0ce40a4dd6683311c2cd9b5ed0ca46feb2a9434f
fbcc9d356f28c559dc41e51e2580f3d6fd5ff77f
refs/heads/master
2020-09-05T17:05:28.772663
2019-11-07T06:12:24
2019-11-07T06:12:24
220,164,489
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
''' 課題D-4: カウンターその2 次のコードが正しく動作するような MyCounterV2 クラスを実装してください counter1 = MyCounterV2(value=0, step=1) print(counter1.value) # 0 counter1.count_up() print(counter1.value) # 1 counter1.count_up() print(counter1.value) # 2 counter2 = MyCounterV2(value=0, step=3) print(counter2.value) # 0 counter2.count_up() print...
[ "masayuki.shibata.0831@gmail.com" ]
masayuki.shibata.0831@gmail.com
a3d149994bace2ecff87b46992687e52e00424f1
d5e94042ac2b248b7701117a6ea941bcc862067a
/upvote/gae/shared/common/model_mapping.py
b57e0802398ccc1414357dfbd63c7997c32ab6f9
[ "Apache-2.0" ]
permissive
codegrande/upvote
f373105203a0595f76c29e138a18a95dc24a63df
e05d477bb13e470127b109eb8905a66a06eed5ac
refs/heads/master
2020-03-07T19:40:47.185833
2019-06-20T14:35:20
2019-06-20T14:35:20
127,677,753
0
0
null
2018-04-01T22:49:28
2018-04-01T22:49:27
null
UTF-8
Python
false
false
831
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "msuozzo@google.com" ]
msuozzo@google.com
487a378f29418abaa110403a599b353a466ce2bc
ac235a23f22be0d6f1818bb53902177f9969813a
/ddtrace/contrib/kafka/__init__.py
7c01572b5012a1f939114db7859ca30732cd1a63
[ "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,376
py
""" This integration instruments the ``confluent-kafka<https://github.com/confluentinc/confluent-kafka-python>`` library to trace event streaming. Enabling ~~~~~~~~ The kafka integration is enabled automatically when using :ref:`ddtrace-run <ddtracerun>` or :func:`patch_all() <ddtrace.patch_all>`. Or use :func:`patc...
[ "noreply@github.com" ]
DataDog.noreply@github.com
9b4f377fcf4c189cf23a35701cff1421a5f02c85
596e92d0d484b6e7eee6d322e72e52748fdeaa5d
/sportsdata/cbb_stats/models/cbb_stats_stadium.py
5e41f66cf6f016e747dcda4ba99fcaaa9d2c2774
[]
no_license
scottypate/sportsdata
f5f61ddc7eb482883f93737c6ce73dd814ed4336
a07955ab50bf4fff1ce114ed9895095ff770c473
refs/heads/main
2023-08-18T16:51:56.452678
2021-10-22T12:44:08
2021-10-22T12:44:08
420,062,350
1
1
null
null
null
null
UTF-8
Python
false
false
9,441
py
# coding: utf-8 """ CBB v3 Stats No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six ...
[ "scotty.pate@auth0.com" ]
scotty.pate@auth0.com
69e7533856160cc7250866e6eee0a3095b16e062
e9c7f991c319efe0b1831e8e8360e13c3e177555
/Python_do_zero_Guanabara/04_CondiçõesEmPython/desafios/45_desafio.py
575dec339b898644f36b5d1e2aed30cabc911642
[ "MIT" ]
permissive
HenriqueSOliver/Projetos_Python
a3c4cabc61442221da968df55a463d9ad5865fcc
f18c5a343ad1b746a12bd372298b2debe9bc65ec
refs/heads/main
2023-06-05T03:11:42.879988
2021-06-17T22:26:03
2021-06-17T22:26:03
327,629,919
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
# Crie um programa que faça o computador jogar Jokenpô com você. from random import randint pc = randint(1, 3) print(f'~'*30) print(f'{"JO KEN PO":^30}') print(f'~'*30) r = int(input('''Escolha uma opção: [ 1 ] PAPEL [ 2 ] PEDRA [ 3 ] TESOURA Qual é a sua jogada? ''')) print(f'~'*30) if r == 1: print('Você jogou...
[ "HenriqueSOliver85@gmail.com" ]
HenriqueSOliver85@gmail.com
a12d34c79168f25bff13dfb09e77859fbaa2d70e
9d6ffb22c4cc47e932341307aa72cce801547b16
/openCV/5.图像的通道分离/通道分离.py
ffdcc75ace07020c6149af618adeaef78386929e
[]
no_license
xiaohaiz1/PythonStudy
419cc7eb5babbebe4c842108e19bea976f7ce696
6819c89abe6d52153821bb87e09a9cb73c685111
refs/heads/master
2022-01-08T14:46:54.055289
2019-07-03T06:22:19
2019-07-03T06:22:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
import cv2 as cv src = cv.imread("../girl.jpg") '''通道分离''' b, g, r = cv.split(src) cv.imshow("b", b) cv.imshow("g", g) cv.imshow("r", r) '''将图片的3通道置为0''' src[:, :, 2] = 0 cv.imshow("image", src) src = cv.merge([b, g, r]) '''将图片通道合并''' cv.imshow("merge", src) cv.waitKey(0) cv.destroyAllWindows()
[ "1095505742@qq.com" ]
1095505742@qq.com
5f352566ce21e40fc824e2d4a8d47e464a68e9cd
3927343ffe102a55e098662f89297743dcff38f5
/tests/structures/test_instances.py
5fd6aa9960fda0993bdd5f12f077fd824a9ebee1
[ "Apache-2.0" ]
permissive
biggamerss/detectron2
c14a9a2916f4f9f99c5ef27a96707bac83a1bc4b
e9c7e10f1f0b90db20aea8ef6748967cb40cd874
refs/heads/master
2021-03-07T02:22:40.762389
2020-11-15T02:42:05
2020-11-15T02:42:05
246,239,939
1
0
Apache-2.0
2020-11-15T02:42:07
2020-03-10T07:55:43
Python
UTF-8
Python
false
false
7,558
py
# Copyright (c) Facebook, Inc. and its affiliates. import unittest import torch from torch import Tensor from detectron2.export.torchscript import patch_instances from detectron2.structures import Boxes, Instances from detectron2.utils.env import TORCH_VERSION class TestInstances(unittest.TestCase): def test_int...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
4587dddde7b72e0f11cc0835a3daa3a1d971ec69
d5344057b54a3708007cae68c72c37584ae98f57
/4.py
bc1e97001e824e5a827948384645eb33fafc1100
[]
no_license
JaeZheng/LeetCode
55739ace0d25f4b3b5592f00b7eee7cab5b1564f
9465685dcd76f7dc845665d79782565abb755739
refs/heads/master
2020-03-24T04:00:16.294358
2019-09-21T16:53:20
2019-09-21T16:53:20
142,440,056
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
class Solution: def findMedianSortedArrays(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: float """ len1 = len(nums1) len2 = len(nums2) len3 = len1+len2 result,i,j=0,0,0 arr = [] while i<len1 and ...
[ "846265697@qq.com" ]
846265697@qq.com
9f61c332db2459f71ed75bf5d9bb7b906e5c331a
49a167d942f19fc084da2da68fc3881d44cacdd7
/kubernetes_asyncio/client/models/v1_rolling_update_stateful_set_strategy.py
4265b455e5cb28a3efea455430ab097737f8c5de
[ "Apache-2.0" ]
permissive
olitheolix/kubernetes_asyncio
fdb61323dc7fc1bade5e26e907de0fe6e0e42396
344426793e4e4b653bcd8e4a29c6fa4766e1fff7
refs/heads/master
2020-03-19T12:52:27.025399
2018-06-24T23:34:03
2018-06-24T23:34:03
136,546,270
1
0
Apache-2.0
2018-06-24T23:52:47
2018-06-08T00:39:52
Python
UTF-8
Python
false
false
3,397
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.10.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import si...
[ "tomasz.prus@gmail.com" ]
tomasz.prus@gmail.com
6fa9063e76f4e2f48c015e4bf491bf7065efb5af
52583ddfa4bd0f92bbf23cca83ee7fba4be875a2
/MonoHGenTree2DScans/python/variables.py
27bc8f5cadec2cc478c4f1d85da36a1a24844422
[]
no_license
fmanteca/MonoHGenTree
dabcb9c6bb5dffb99bdd854c1367e026f15d8f3d
b8d985c0a63c99c4f2ab863c26a01a977a43b7f9
refs/heads/master
2023-03-28T02:40:05.883125
2021-03-30T10:38:54
2021-03-30T10:38:54
352,962,283
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
variables['HiggsPt'] = {'name' : 'HiggsPt', 'range' : [0, 1500], 'nbins' : 40, 'label' : 'HiggsPt', }
[ "fmanteca@ifca.unican.es" ]
fmanteca@ifca.unican.es
4391db4bf4c84eb2c7f39942a8940ec1d66bcbfa
5a25f4f5f9c7cba03f9b5848eafc01a760c88768
/reduction/pipeline_scripts/member.uid___A001_X1296_X201.hifa_calimage.casa_pipescript.py
4e8528951b8cd89b4ee72eff55ba48858b6ee369
[]
no_license
ALMA-IMF/reduction
b3579a548fe20193b807a7415a040f351c879beb
de606cc6bc542f088223ce84082ff333739c9007
refs/heads/master
2023-06-22T13:21:13.841999
2023-06-12T09:17:50
2023-06-12T09:17:50
115,018,799
9
29
null
2023-06-12T09:17:51
2017-12-21T15:13:55
Python
UTF-8
Python
false
false
2,598
py
__rethrow_casa_exceptions = True context = h_init() context.set_state('ProjectSummary', 'proposal_code', '2017.1.01355.L') context.set_state('ProjectSummary', 'piname', 'unknown') context.set_state('ProjectSummary', 'proposal_title', 'unknown') context.set_state('ProjectStructure', 'ous_part_id', 'X624238402') context....
[ "keflavich@gmail.com" ]
keflavich@gmail.com
2b51df48a14db79b8b7db040419100bcb70c6a4a
70bdda35bad668051d0f148581f67c907dc1c155
/ditto/flickr/migrations/0017_auto_20160524_1350.py
0afb93bcb24018c733acc5bec57ef18e423546bb
[ "MIT" ]
permissive
jinjin123/django-ditto
d9e83fae05eab2576423a273c6c51818055a257c
edfad44087601149383d380b9e9b6dfa9d3ff4ac
refs/heads/master
2020-03-07T16:48:52.717625
2018-03-27T17:24:01
2018-03-27T17:24:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-05-24 13:50 from __future__ import unicode_literals import ditto.flickr.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('flickr', '0016_photo_video_original_file'), ] operations ...
[ "phil@gyford.com" ]
phil@gyford.com
763b404becadcecbb624fa696ef6135b3dddf067
8134733665b266ac2937216d21f06d6bf4b4ac2a
/models/FermionPortal/FermionPortalMajorana/Fermion_Portal_Majorana_UFO/particles.py
a4575faba312648b5240832dd1c5ea0c73a56116
[]
no_license
LHC-DMWG/model-repository
067c44b39e90a450a7860c4cd45bd2a6bb3ede4c
97b0b754bb575b1d618f6ad981ca2b1639a61f8d
refs/heads/master
2020-03-26T06:47:28.895006
2019-09-13T15:11:14
2019-09-13T15:11:14
144,621,824
6
5
null
2019-09-13T15:11:15
2018-08-13T19:01:21
Python
UTF-8
Python
false
false
13,313
py
# This file was automatically created by FeynRules 1.6.11 # Mathematica version: 9.0 for Mac OS X x86 (64-bit) (November 20, 2012) # Date: Tue 24 Sep 2013 13:16:13 from __future__ import division from object_library import all_particles, Particle import parameters as Param a = Particle(pdg_code = 22, na...
[ "andreas.albert@cern.ch" ]
andreas.albert@cern.ch
f515bcedfe9ce30ae51e070e125a2392b18fe4c6
6068114ae792e34d3e95e0e94acc87a98b4c1fda
/legionella/graphqlapp/report/service.py
bc02f4aed8026728cd54b7dd983c38a0b9cbb210
[]
no_license
RedTurtle/legionella-backend
bffe01d16bbf3d132d88472ef44c669e040944e1
7929b244a40a2faf834f55f1803d131cc6324a49
refs/heads/master
2022-12-13T22:14:50.834171
2018-10-30T12:05:09
2018-10-30T12:05:09
143,589,733
0
1
null
2022-12-08T00:59:56
2018-08-05T06:39:53
Python
UTF-8
Python
false
false
6,903
py
# -*- coding: utf-8 -*- from ..graphQL_genericSchema.schema import ReportWorstState from .models import Report as report_model class ReportService(object): def getReportListByDict(self, param=None, order=None): """ funzione che ritorna una lista di report input: param: dict co...
[ "andrea.cecchi85@gmail.com" ]
andrea.cecchi85@gmail.com
d6245a21683f9df71c2dd6758c2981bc9cff91c7
90c13615ab4a89d1717fb4df7175b0406f105d93
/tests/test_decrypt-single-directory.py
90ccaf0173b27f4acfa820c88772d02539da4b03
[ "MIT" ]
permissive
chrisidefix/crypto
d6bafa7782d23218f0a8c891cd0fc8d3885ebba6
e936069da1533ccc31d08480285643cf66873958
refs/heads/master
2021-01-21T17:56:48.453186
2015-05-14T01:55:27
2015-05-14T01:55:27
33,135,392
0
1
null
2015-03-30T16:45:04
2015-03-30T16:45:04
null
UTF-8
Python
false
false
8,281
py
#!/usr/bin/env python # encoding: utf-8 import sys import os import unittest import pexpect from Naked.toolshed.shell import execute from Naked.toolshed.system import file_exists, make_path class CryptoSingleDirectoryDecryptTest(unittest.TestCase): def setUp(self): pass def tearDown(self): p...
[ "git.simpkins@gmail.com" ]
git.simpkins@gmail.com
5ac61ff911e93d58d4ebe0641f9e7eb5dfe731fc
80ea2e2803d1883c73fb6b33ad356d441cc8ccb4
/venv/bin/easy_install
78fcf7bf545de937bde9290853a904b6c891e05c
[]
no_license
yuttasakcom/aiohttp-1
5be09d54472b03491796baca56b30a8c726d1c0f
5153b6113abae6fb6e620f7de3677dc827e80fa1
refs/heads/master
2020-04-18T03:27:44.609276
2018-11-30T08:22:47
2018-11-30T08:22:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
437
#!/Users/vadim/Documents/projs/aio3/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install' __requires__ = 'setuptools==28.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
[ "you@example.com" ]
you@example.com
255f7fae77504181b1187d4f4b7b1d2b7a72df6a
9937c4e4802f09e1adb92d865c060b05a0048422
/player/migrations/0018_auto_20150323_1120.py
f5300fe52deb27c7b9fff62d1c3c809aaaab4db5
[ "MIT" ]
permissive
AdrienRedon/Amoki-Music
19787f43f43563842e4c123fae2e9fbb5ca29d3e
32495c2b1af808fd9086887441da0fcbe1f1f033
refs/heads/master
2021-01-12T18:23:59.384923
2016-10-19T14:49:22
2016-10-19T16:41:38
71,367,736
0
0
null
2016-10-19T14:48:52
2016-10-19T14:48:51
null
UTF-8
Python
false
false
514
py
from __future__ import unicode_literals from django.db import models, migrations import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('player', '0017_room_can_adjust_volume'), ] operations = [ migrations.AlterField( model_name='room', ...
[ "hugo.duroux@gmail.com" ]
hugo.duroux@gmail.com
2664d5f93687ad97365ee1a63c5a64b639d69c2f
2f6b8bab3125b7690ecf629243308972c2c7e3bb
/models/QDNNAblation.py
4fc3db2fffa680c00b3d16533c428105f26d664b
[]
no_license
QCOIN-LAB/monosenti
9f64a447a3775e9a0ff5adb1d06abed88e258b52
f12cf9b4857bdf67b67a470f9bb5a9a7fb2dee4c
refs/heads/master
2023-02-12T10:39:58.162508
2020-12-22T02:01:32
2020-12-22T02:01:32
324,459,336
0
0
null
null
null
null
UTF-8
Python
false
false
12,880
py
# -*- coding: utf-8 -*- #CMU Multimodal SDK, CMU Multimodal Model SDK #Tensor Fusion Network for Multimodal Sentiment Analysis, Amir Zadeh, Minghai Chen, Soujanya Poria, Erik Cambria, Louis-Philippe Morency - https://arxiv.org/pdf/1707.07250.pdf #in_modalities: is a list of inputs from each modality - the first dime...
[ "qiuchi.li@studenti.unipd.it" ]
qiuchi.li@studenti.unipd.it
cac0e028e08f68506343f21a8fefdac3695125fe
06f3c09e0612bb35a506baf0df60a31d5e33b1e8
/min_mem_diff.py
38a93128d5464bc1ba27e4b9b5448dc21bacad09
[]
no_license
vitcmaestro/player_3
e113fa1565b49b2143af76e0b5228f91d4998480
5c5ab08c990403e253dd61dcb7d4ed3324643eb6
refs/heads/master
2020-04-18T06:57:45.322871
2019-01-26T06:09:59
2019-01-26T06:09:59
167,343,569
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
n =int(input()) a = list(map(int,input().split())) a.sort() miner = 1000 for i in range(n-1): if(a[i+1]-a[i] <miner and a[i+1]-a[i]>0): miner = a[i+1]-a[i] print(miner)
[ "noreply@github.com" ]
vitcmaestro.noreply@github.com
198a22ecc4e7bbeda1132d2f43597d1c6f748465
3df72b63c8ba29706aebf98aa1c274677d0bae5b
/0x03-python-data_structures/5-no_c.py
e5a53c28cf2264e5deefe6ea46a6fdf51bc1516c
[]
no_license
Kenneth-ca/holbertonschool-higher_level_programming
b58371c9191f3f37c9e60f1ecf513af456b0de4e
cf52924f1600ff749b40c51cf2c66196a2a8af29
refs/heads/master
2021-07-01T01:53:01.173953
2020-11-04T17:25:15
2020-11-04T17:25:15
184,144,641
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
#!/usr/bin/python3 def no_c(my_string): if my_string is not None: new = "" for m in range(len(my_string)): if my_string[m] == 'C': pass elif my_string[m] == 'c': pass else: new = new + my_string[m] return new...
[ "kenneth.ca95@gmail.com" ]
kenneth.ca95@gmail.com
fa9fb292d7fbb64e9c3f5394643c5489ec0214d3
1adc05008f0caa9a81cc4fc3a737fcbcebb68995
/hardhat/cron.py
7635cc72aabe45c04aa2e4c8eca49ce2a579ec75
[ "MIT", "BSD-3-Clause" ]
permissive
stangelandcl/hardhat
4aa995518697d19b179c64751108963fa656cfca
1ad0c5dec16728c0243023acb9594f435ef18f9c
refs/heads/master
2021-01-11T17:19:41.988477
2019-03-22T22:18:44
2019-03-22T22:18:52
79,742,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
import os import tempfile import uuid from hardhat.util import open_file, run_or_error class Cron: def __init__(self, environment): self.env = environment self.tmp_dir = tempfile.gettempdir() self.tmp_file = str(uuid.uuid4())[:8] self.tmp = os.path.join(self.tmp_dir, self.tmp_file)...
[ "clayton.stangeland@gmail.com" ]
clayton.stangeland@gmail.com
1a42cdfb16fbbc83c2b15f04a905f6ed361ece0b
431aae0c76301c68ea720fb3a74e43a48d5f1977
/contacts/models.py
122977a00363dfa5cebcaaa34996e20ba17b7d61
[]
no_license
nicbou/cockpit
ae823e251be914c11b85f94a5e4e7f5be0e343df
a0ca856eb43fcb95cd2b04722d95ab9f37c547cc
refs/heads/master
2021-01-01T06:44:32.033069
2012-07-23T14:03:57
2012-07-23T14:03:57
4,847,002
3
0
null
null
null
null
UTF-8
Python
false
false
2,902
py
from django.db import models from projects.models import * from django.forms.models import inlineformset_factory from PIL import Image import os class Contact(models.Model): #Generic information company = models.ForeignKey(Company) #The company who created owns this instance, not the company this Contact...
[ "contact@nicolasbouliane.com" ]
contact@nicolasbouliane.com
d1ee04c87a13ea0a472d0e9948168bfc1e410ced
b509ef07d752e987f4cb84d1abd4c3a98488a6c7
/resources/lib/streamlink/plugins/mrtmk.py
1c323b3ab9ea1bba0d26414302fd4c5c78be2980
[ "BSD-2-Clause" ]
permissive
Twilight0/script.module.streamlink.base
d91245d1a43d6b3191b62a6eb4b1cf70598ed23e
c1e4628715a81806586b10323b8cb01424bbb6fc
refs/heads/master
2021-01-21T04:32:41.658823
2020-09-07T20:56:29
2020-09-07T20:56:29
101,915,967
6
4
BSD-2-Clause
2018-01-14T15:20:47
2017-08-30T18:31:47
Python
UTF-8
Python
false
false
1,454
py
import logging import re from streamlink.plugin import Plugin from streamlink.plugin.api import validate from streamlink.stream import HLSStream log = logging.getLogger(__name__) class MRTmk(Plugin): url_re = re.compile(r"""https?://play.mrt.com.mk/(live|play)/""") file_re = re.compile(r"""(?P<url>https?://...
[ "twilight@freemail.gr" ]
twilight@freemail.gr
32ddc5bbb2432a58317b580175390ba71643f44f
7af3888ea81123df246a73aa12c3b88c3b1e8440
/bin/dialupcontrol
e58a7304abd94a5e4d44527f413c319de7c98018
[]
no_license
gregorynicholas/darwinist
b29a08b2fe966e662cd94cc25d659406b3dce263
2a5e3d027a569b61ad54096463e2d97c95f9c029
refs/heads/master
2020-05-29T09:53:16.669213
2015-03-21T16:37:36
2015-03-21T16:37:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,694
#!/usr/bin/env python USAGE = """Connect, disconnect or show status of a Dialup connection in OS/X. Can be used for OS/X integrated Dialup connections only. Dialup will still ask password in a graphical window, if not permanently configured, so you can't run this headless remotely. If you can figure out how to enter...
[ "hile@iki.fi" ]
hile@iki.fi
8eeecfa564d0d6d0e79f0c82295574f83e6dc592
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/W/wolfewylie/starbucks_location_scraper.py
574ea5859a98df56968480f5ce2af31881b07673
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,852
py
import scraperwiki import re import time import urlparse from scraperwiki.sqlite import save base_url = "http://www.starbucks.ca/store/" columns = [ 'Address', 'City', 'Country', 'Lat', 'long','Phone','Store ID' ] idcount = 1 def locationscraper(locationpagesource, idcount): address = "not available" st...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
0b729a7e9406443a7cc9e249b4d3c9440498ceab
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-kafka/huaweicloudsdkkafka/v2/model/list_instances_response.py
1da47fe6ef65b555bb036d0f554d3bb821502a11
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
3,780
py
# coding: utf-8 import pprint import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ListInstancesResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dic...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
7ff7777aa030d086db3eef429116ce466b02ecab
c03d604e283f76435ee1d1c68c5830d0822357f0
/tests/test1/run_test.py
7860a19c9c542bbb32a4f08a1c72f6125871ad56
[ "LGPL-2.0-or-later", "LGPL-3.0-or-later", "LGPL-3.0-only", "LicenseRef-scancode-free-unknown", "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
crownstone/hardware-tester-backend
287862ccbaf13b7bd22e73fa1be4dd4c1b067438
356080af0929d9c3fb819a48366ee4e26d999bd4
refs/heads/master
2022-11-28T04:22:58.034263
2022-11-23T12:14:59
2022-11-23T12:14:59
202,328,601
0
0
MIT
2022-11-04T19:36:55
2019-08-14T10:29:35
Python
UTF-8
Python
false
false
3,286
py
import sys, os, time, asyncio # this has to be on top of the run_test.py file in order for path resolving to work properly. from BluenetLib import Bluenet from BluenetLib.BLE import BluenetBle from lib.TestManagerCore import TestManagerCore from tests.__util.util import findUsbBleDongleHciIndex, findUartAddress sys.p...
[ "alexdemulder@gmail.com" ]
alexdemulder@gmail.com
16da390083750d46df3dc30acaaef8703787a42a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04030/s272156425.py
d56e54aaf1ee61b2b98eb3735ed4d8e757d72feb
[]
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
231
py
import sys def LS2(): return list(sys.stdin.readline().rstrip()) #空白なし s = LS2() ans = [] for a in s: if a != 'B': ans.append(a) else: if len(ans) != 0: del ans[-1] print(''.join(ans))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
927139903a4db92636b6edc45a13c79f6cd1fae0
0959d88eb8e1ab579dec7eb4bfc1fbaac945ea0b
/Training/HackRank/Level-0/convert-1.py
6a79efe42e83100ed71fd1da67b99b4cac71e46f
[]
no_license
mike03052000/python
ba1b871acf853710fd840284f260d82ea8e597cf
19045d56ae1caa305f51f1cad6c71d97b82ca47d
refs/heads/master
2020-04-04T12:21:55.284225
2019-06-20T05:35:25
2019-06-20T05:35:25
155,923,830
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
a=26.333 print(int(a)) print(str(a)) try: print(int(int(a),8)) except: print("fail to convert int(int(a),8)") a='26.588' # Error found: int(a) print(int(float(a)),float(a)) x=23 print(bin(x),oct(x),hex(x)) oct_x=oct(x) print("oct",int(oct_x,8)) hex_x=hex(x) print("hex ",hex_x,int(hex_x,16))
[ "mike03052000@gmail.com" ]
mike03052000@gmail.com
2e78f6a8cf01d1ffd46b37629370a954d6b628cd
3d62a14eb69baea0737f8c093336cbf6380b30a7
/dingtalk/api/rest/OapiAuthorizationRbacRoleQueryRequest.py
cc69eb9216e6525e02411a1a6fc0718141fbd18f
[]
no_license
KangSpace/message_plus_server
50cbc55c296d5e835a0c6f99f45cf699f6806add
300954993f44648db3a2124d587533656d970d6c
refs/heads/main
2023-05-01T15:08:18.195400
2021-05-27T04:41:56
2021-05-27T04:41:56
361,338,925
1
0
null
null
null
null
UTF-8
Python
false
false
381
py
''' Created by auto_sdk on 2021.02.01 ''' from dingtalk.api.base import RestApi class OapiAuthorizationRbacRoleQueryRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.agent_id = None self.open_role_ids = None def getHttpMethod(self): return 'POST' def getapiname(sel...
[ "kango2gler@gmail.com" ]
kango2gler@gmail.com
35fba463110fd1984e95cab4f414d365b2de8b49
75ec986d34d5391d46d6469c513626f69f5d978d
/Hackerrank/Alphabet_Rangoli.py
42403ec3477f790f881f94b320f01e5e88abb3d3
[]
no_license
CatrunaMarius/python
d9f8dc221458e4b65c3f801daf3b59aa2b946358
d063bffb4eafa56ac1e205c2d39fc893ab50e992
refs/heads/master
2020-04-24T05:23:22.756002
2020-01-06T11:56:12
2020-01-06T11:56:12
171,703,482
0
0
null
2019-02-20T16:12:39
2019-02-20T15:59:08
null
UTF-8
Python
false
false
808
py
#input 5 import string def print_rangoli(size): alpha = string.ascii_lowercase #metoda 1 width = 4 * size - 3 for i in list(range(size))[::-1] + list(range(1, size)): print('-'.join(alpha[size-1:i:-1] + alpha[i:size]).center(width, '-')) L=[]...
[ "noreply@github.com" ]
CatrunaMarius.noreply@github.com
6127ecb1e49745145521b708680f02b0ede332f4
576d1fb42b1a99dba18e78da58b352ebeac8fe64
/tests/single_instruction_translation_validation/mcsema/register-variants/cmovow_r16_r16/Output/test-z3.py
1ee85514c05ccb03bd8531d893a558bc110b8268
[ "LicenseRef-scancode-unknown-license-reference", "NCSA" ]
permissive
mewbak/validating-binary-decompilation-1
b4542919d2e8f4a603cdadeade4dcf7919d6d1d8
e7ae1838e8da7930730d76aaf01f315cf1d966a1
refs/heads/master
2021-01-08T05:33:48.560721
2020-02-12T00:27:01
2020-02-12T18:07:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,659
py
############################################# ######## Auto Generated Proof Scripts ####### ############################################# import z3 import sys status=True test_name="UnK" if(len(sys.argv) > 1): test_name = sys.argv[1] def solve(msg, lvar, xvar, s): global status s.set("timeout", 60000) res =...
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
d6e93d350337a535b830d170591d3170fc1b48d3
4ee4c2cafad449dd60032630bdd249e63d70b5ac
/plugins/xevents/Xlib/protocol/event.py
3894ac0c11f82bb7c2377316be932c44262c7e23
[ "MIT", "GPL-2.0-only" ]
permissive
rrojasPy/TurtleBots.activity
4c44ed90b1aadbd0788cdb091fc647deac28d8e8
c18e64cc817b2bd8d8cd80a538ff703f580bbe42
refs/heads/master
2022-10-20T20:46:27.304452
2020-06-17T15:57:11
2020-06-17T15:57:11
273,014,877
0
1
MIT
2020-06-17T15:57:12
2020-06-17T15:44:15
null
UTF-8
Python
false
false
15,430
py
# $Id: event.py,v 1.7 2007/06/10 14:11:58 mggrant Exp $ # # Xlib.protocol.event -- definitions of core events # # Copyright (C) 2000-2002 Peter Liljenberg <petli@ctrl-c.liu.se> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
[ "rodneyrrs@hotmail.com" ]
rodneyrrs@hotmail.com
f623c606ef282c86bab48af28565d7abd765d83f
97b3c6bd35185bda93dece21ba5d662fb8da52dc
/train.py
2061ce3c9d9c7948bebd192da805dc59e8df5a7f
[]
no_license
YanYan0716/UNet
b0d88b37d4ce8a96eb35d4668d86e290cb4ea0a7
1472ac07e941a310382853a7350534f33d176205
refs/heads/main
2023-03-14T02:05:47.641268
2021-03-02T13:54:18
2021-03-02T13:54:18
341,907,236
0
0
null
null
null
null
UTF-8
Python
false
false
2,620
py
import torch import torch.nn as nn import torch.optim as optim from albumentations.pytorch import ToTensorV2 import albumentations as A from tqdm import tqdm from model import UNet from utils import load_checkpoint from utils import save_checkpoint from utils import get_loaders from utils import check_accuracy from ut...
[ "yanqian0716@gmail.com" ]
yanqian0716@gmail.com
0804a3dec6014c4d06c06b7ca6dc2bbb7a1f400c
edad2e75198bcfdf75965e132e268b4ebbbd70e2
/65_nm_scripts/python_create_jobscript_65.py
48eea3682ab47e7fee67396b91cc91e2eec9508d
[]
no_license
nandithaec/python-utility
d50a6e802bf3a9afadbaf3f5207efdba875c7e70
b8b7377b87630375ff804c7204d37a1c7ecee826
refs/heads/master
2021-01-10T07:00:18.820227
2015-04-16T06:01:44
2015-04-16T06:01:44
36,727,025
0
0
null
null
null
null
UTF-8
Python
false
false
4,800
py
#!/usr/bin/env python #create a jobscript.txt file in the current directory. This entire dir will be copied to the Pune CDAC machine. The jobscript file will be used to submit the job to the queue ##Example usage: python python_create_jobscript.py -m c432_clk_opFF -p /home/external/iitb/nanditha/simulations/FF_optimi...
[ "nanditha.ec@gmail.com" ]
nanditha.ec@gmail.com
a9fac5ce87ec29e89a103ff5b7a20b44e67779b0
fa7985da2e6a2f3db2241e0b6b997f37c7401b60
/active-prior/expt.py
a8921ac06ccbf254bc4397e7261d8f2218786f2a
[ "BSD-3-Clause" ]
permissive
tapilab/active-prior
3c07be8c26b6ffa11c76babfc5989722eacb1db0
fb74db0e5bee108e4af6cdcf5a1e613af6096e13
refs/heads/master
2020-05-23T14:42:51.934909
2013-11-07T03:28:01
2013-11-07T03:28:01
13,990,889
1
0
null
null
null
null
UTF-8
Python
false
false
3,589
py
""" Perform an active learning experiment. """ import argparse from collections import defaultdict import logging import math import pickle import random import matplotlib.pyplot as plt import numpy as np from sklearn.linear_model import LogisticRegression from sklearn.naive_bayes import MultinomialNB import active...
[ "aronwc@gmail.com" ]
aronwc@gmail.com
1324f3ac67bdb8ffdab4d8fac65894414d1d284f
ad0c52d84d31be29dcb6b0bf8c26150cca894445
/auto_yolo/algs.py
dc981e6e52eacd60a3348e80afd300d68f295807
[ "MIT" ]
permissive
KelvinCPChiu/auto_yolo
95436f3d980ade454f5a83399db6f265e55f52cd
b29da0991e5e63fd7bad8e058b028827f93f8844
refs/heads/master
2022-11-13T18:41:11.109041
2020-06-18T14:44:25
2020-06-18T14:44:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,841
py
import numpy as np import tensorflow as tf from dps import cfg from dps.utils import Config from dps.utils.tf import ( MLP, IdentityFunction, FeedforwardCell, ScopedCellWrapper, AttentionalRelationNetwork, ObjectNetwork, GridConvNet, ConvNet, ) from auto_yolo.models import core, simple, baseline, ground_truth...
[ "eric.crawford@mail.mcgill.ca" ]
eric.crawford@mail.mcgill.ca
0ebd4c87f24b546ef818a237562b10b40a9068cf
1000ef8a440424768e769416e7d2206dbf5e29a3
/PYOMO/examples/doc/pyomobook/data-abstract-ch/ABCD1.py
2024a4af0bc536ea0c1bace4e6efa4a58fb4b52f
[]
no_license
desarrollomarquez/Proyecto_Optimization
1c482cefd85d76720e9467ab4d249afb45965d84
07ee22f3c742fb74e9ba99e4eed21f97f0d7fefa
refs/heads/master
2020-03-21T10:15:42.301602
2018-11-01T02:23:35
2018-11-01T02:23:35
138,441,343
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from pyomo.environ import * model = AbstractModel() model.Z = Set(dimen=4) instance = model.create_instance('ABCD1.dat') print(sorted(list(instance.Z.data())))
[ "desarrollo.marquez@gmail.com" ]
desarrollo.marquez@gmail.com
51db00477cd0007fd110bd46ed6cfaf0b9dad050
a98bc8906c3fbe4d388442d24cbeed06d06686f9
/Codechef 2019/April cookoff 2019/cfmm.py
09d7dc12f9a2fd37e3013e9083951fecd6cb416d
[]
no_license
Arrowheadahp/Contests-Challenges-and-Events
1ac4f1b2067276fa669e86ecfdb685d95ba663fd
fc156e5ae49b3074a9dbd56acd4fdc2af25c6a3f
refs/heads/master
2022-12-13T19:50:38.041410
2020-08-22T14:16:23
2020-08-22T14:16:23
197,886,111
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
for _ in range(input()): n=input() D={'c':0,'o':0,'d':0,'e':0,'h':0,'f':0} for _ in range(n): s=raw_input() for a in s: if a in D: D[a]+=1 for j in 'ce': D[j]/=2 print min([D[i] for i in 'codehf'])
[ "prasunbhuin.pkb@gmail.com" ]
prasunbhuin.pkb@gmail.com
1d088ac446eea5275e44f4d5b508359b04c6c317
2cfd9d86e7deed46435e2e48763824d49174b466
/com/spider/basic/RequestsPost.py
0fe7e488601d7f09c741ffffbf7adf907e7ce29c
[]
no_license
lftuo/spider
c9bb75179e5c9201689dcb7879db2c880e2175c4
c6d72f97dba7b23027b9fb02817e5be64e5254e0
refs/heads/master
2021-08-23T02:08:27.989581
2017-12-02T11:22:18
2017-12-02T11:22:18
105,609,241
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
import requests postdata = {'key':'value'} r = postdata.post('https://www.zhihu.com/#signin',data=postdata) print r.content
[ "909709223@qq.com" ]
909709223@qq.com
7e83ef4ed45105212d0058911b998cc8d0539a21
ba62f1d4c2d4209cbbe12bbf94ac2b44e56646eb
/model_executors/sdnet_executor.bup.py
245f997654dd2dc369d132d6cdd2f547e8489c63
[]
no_license
falconjhc/APDNet-SourceCodes
358f4387254aa30b04277910b67a31ae050dd1ce
d612177dd462910019f31f32f2ec81aa046a602c
refs/heads/master
2022-12-05T01:28:49.500452
2020-08-27T10:11:11
2020-08-27T10:11:11
290,631,642
1
0
null
null
null
null
UTF-8
Python
false
false
54,526
py
eps = 1e-12 # harric added to engage the smooth factor import itertools import logging import os import math import numpy as np from keras.callbacks import CSVLogger, EarlyStopping from keras.preprocessing.image import ImageDataGenerator from keras.utils import Progbar import costs import utils.data_utils from keras....
[ "falconjhc@gmail.com" ]
falconjhc@gmail.com
c503d31790037c2ef21399502475a8097c6aa8c7
53ed8b8d650439ba9aac764f5de5d96b67cbd77a
/1582. Special Positions in a Binary Matrix.py
f237151bc11becbaf0df7f704b65448082a25acd
[]
no_license
IrwinLai/LeetCode
df49d152b4bf439c966afa53eecfe3022fb043ae
779c3a98d9052a12d319c0219324e5d0f5517fc6
refs/heads/master
2021-07-03T08:02:55.425285
2021-03-21T11:19:46
2021-03-21T11:19:46
221,848,796
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
class Solution: def numSpecial(self, mat: List[List[int]]) -> int: m = len(mat) n = len(mat[0]) l1 = [] l2 = [] for i in range(m): if sum(mat[i]) == 1: for j in range(n): if mat[i][j] == 1: l1.ap...
[ "noreply@github.com" ]
IrwinLai.noreply@github.com
5abd20f248042a6a8d48617c3883e8619f0f07ad
9c63f6d39a6085674ab42d1488476d0299f39ec9
/Python/LC_Evaluate_Reverse_Polish_Notation.py
379adbb734e771f9407203efb3bdf38a871ed86f
[]
no_license
vijayjag-repo/LeetCode
2237e3117e7e902f5ac5c02bfb5fbe45af7242d4
0a5f47e272f6ba31e3f0ff4d78bf6e3f4063c789
refs/heads/master
2022-11-14T17:46:10.847858
2022-11-08T10:28:30
2022-11-08T10:28:30
163,639,628
1
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
class Solution(object): def evalRPN(self, tokens): """ :type tokens: List[str] :rtype: int Approach: If you see an element not in operators, you just append it because its a number. But, if you see an operator, then, you need to evaluate the answer for the la...
[ "noreply@github.com" ]
vijayjag-repo.noreply@github.com
efa4cc6bf7972b8f16c38e50b833fa925a7e8ac6
3034e86347c71bf7e7af9e5f7aa44ab5ad61e14b
/pbase/day04/day04practise05.py
f502eeaa51c2a81114dfab9059391c12b6039114
[]
no_license
jason12360/AID1803
bda039b82f43d6609aa8028b0d9598f2037c23d5
f0c54a3a2f06881b3523fba7501ab085cceae75d
refs/heads/master
2020-03-17T00:43:42.541761
2018-06-29T10:07:44
2018-06-29T10:07:44
133,127,628
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
# 写一个程序 # 输入一个开始整数用变量begin绑定 # 输入一个结束整数用变量end绑定 # 打印begin到end的每一个整数 begin = int(input('请输入开始的数')) end = int(input('请输入结束的数')) for i in range(begin,end): print(i,end = ' ')
[ "370828117@qq.com" ]
370828117@qq.com
1fdd87ecc04f32e3001bbc85a19d529e2ed9504a
a829287d0d53d47f39290dabc012b5f0d473656a
/aio_pika/version.py
fef261fe205e8b7e874de2fed0e6c51d5fc736c1
[ "Apache-2.0" ]
permissive
dan-stone/aio-pika
2ddf47944be84038fa94a1f0a39b1f80428ac92a
a03f38f26f1cf42e09b43d7b36853d7ee71d112e
refs/heads/master
2020-03-19T02:20:19.692938
2018-06-07T14:11:31
2018-06-07T14:11:31
135,619,482
0
0
null
2018-05-31T18:11:23
2018-05-31T18:11:23
null
UTF-8
Python
false
false
342
py
author_info = ( ('Dmitry Orlov', 'me@mosquito.su'), ) package_info = "Wrapper for the PIKA for asyncio and humans." package_license = "Apache Software License" team_email = 'me@mosquito.su' version_info = (2, 8, 3) __author__ = ", ".join("{} <{}>".format(*info) for info in author_info) __version__ = ".".join(ma...
[ "me@mosquito.su" ]
me@mosquito.su
83c5ecf2adbf5b21ccc96af890d3e3692689bfd9
0d415c6e384e461207096fae42bd75494423ebbe
/python/websockets_demo/websocket_server.py
ea2947d1625b117a91d32cdd5ff068c5c5c4e3f4
[]
no_license
zengzhiying/programming_languages
56bd6382b645bf7dd513291422d9d5e6fc0dccf0
3ea1be28d4264675f739b27e7d21921f86502c0e
refs/heads/main
2023-08-19T02:59:28.483104
2023-08-09T01:13:56
2023-08-09T01:13:56
130,447,620
3
0
null
2023-03-07T02:01:32
2018-04-21T06:44:15
CSS
UTF-8
Python
false
false
760
py
#!/usr/bin/env python3 import asyncio import websockets # 直接收一条消息处理 每次需要重新连接 async def hello(websocket, path): message = await websocket.recv() print("收到消息: {}".format(message)) greeting = "Hello {}!".format(message) await websocket.send(greeting) print("返回响应: {}".format(greeting)) # 一直循环接收消息处理 a...
[ "yingzhi_zeng@126.com" ]
yingzhi_zeng@126.com
a67ed6f22080fbdd21926a86d05757883e29bd60
1ed4f29088cba89dbe979507c161d23276ac8e8b
/config.py
2b10517f0003308d0ab8b51574ab1126c56c376e
[]
no_license
JinYanming/jym_cmot_v1
c61676e43ccb92bb47895a1ea7b9aaf8b3569690
02a1762b4e84360009ad22334e4b61be088ab589
refs/heads/master
2022-02-21T19:11:57.694128
2019-09-18T18:08:58
2019-09-18T18:08:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,491
py
import numpy as np import os class Config(object): def __init__(self): #### self.object_count = 0 self.total_tracklet_count = 0 self.ids = 0 #### self.imgSeq_lenth = 400 ### self.draw_while_track = True self.xy_center = True self.use_gt...
[ "1535640262@qq.com" ]
1535640262@qq.com
ef34e7d7973f2915b5cd9dd7e0a8e8bb6e1af8e4
1c7ea635ea1b85f3b3c280bb9d5ae71847b2c622
/backend/linebot_imi_23356/urls.py
14d870c7db60c3f0d1360e1d4e70d6edf1d6bf93
[]
no_license
crowdbotics-apps/linebot-imi-23356
c71665c401058bfad3b4bd7aaad97a8e10804f96
22ad7ce206c1553d75d08c2c020e385410650d2e
refs/heads/master
2023-01-29T21:26:41.499417
2020-12-14T07:37:40
2020-12-14T07:37:40
321,268,875
0
0
null
null
null
null
UTF-8
Python
false
false
1,937
py
"""linebot_imi_23356 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') C...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
fc83fe795895cf890db737f1a89c4bb1a0b5118f
fe5a6394e09b88dfc13279f56a4dab4cf9f15e52
/source_py2/python_toolbox/function_anchoring_type.py
23e4f836ecfdd837c0325deabc87240b23ed634f
[ "Python-2.0", "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
alilosoft/python_toolbox
acba8f93d675650eac7f9313177af28e0388f2e0
7ba9d35d82a99eb243117e850a2b4b2058cd24fc
refs/heads/master
2022-10-14T10:21:32.693760
2019-04-23T09:01:30
2019-04-23T09:01:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,974
py
# Copyright 2009-2017 Ram Rachum. # This program is distributed under the MIT license. ''' Defines the `FunctionAnchoringType` class. See its documentation for more details. ''' import sys import types from python_toolbox import misc_tools class FunctionAnchoringType(type): ''' Metaclass for working aroun...
[ "ram@rachum.com" ]
ram@rachum.com
0c6077e6db1339ad85cf99c93ac8f13330ac7ea6
1b45d80bd33022c353cbfed358939f628e4502fe
/lib/saq/test_crawlphish.py
19447ecc99c44539e1924dbbddce1ddef47f6179
[ "Apache-2.0" ]
permissive
IntegralDefense/ACE
701a37f620a344a03f6378b40bdd1c0a96f17fa9
b03290e0ea9a91abca78c2a544838e4a7a622ac8
refs/heads/master
2021-06-19T14:40:38.246608
2019-09-08T13:35:35
2019-09-08T13:35:35
143,438,472
29
17
Apache-2.0
2019-09-04T13:56:57
2018-08-03T14:39:29
Python
UTF-8
Python
false
false
5,188
py
# vim: sw=4:ts=4:et:cc=120 import os, os.path import saq from saq.test import * from saq.database import get_db_connection from saq.crawlphish import * import pysip class CrawlphishTestCase(ACEBasicTestCase): def setUp(self): ACEBasicTestCase.setUp(self) # XXX get rid of verify=False if...
[ "unixfreak0037@gmail.com" ]
unixfreak0037@gmail.com
8ca7c1efb2f430bb3e663757c144095ca5e45707
b8275e3c6f20a6e6638536a4333d2d1767ef868d
/calculate_cross_correlation.py
23986b148ddaac6d3e744b6b03e16dc382d939b0
[]
no_license
czang/Modules
81bd991f8b57b2b99b59fe4408f95587cbf1a2b0
04fdbfcd46df0c8615d01d1c9d7bdb267f8a14c4
refs/heads/master
2022-06-10T04:21:47.045380
2019-03-20T01:36:02
2019-03-20T01:36:02
176,625,808
0
0
null
null
null
null
UTF-8
Python
false
false
4,362
py
#!/usr/bin/env python import re, os, sys, shutil from math import * from string import * from optparse import OptionParser import operator import bisect ## get BED module import BED from GenomeData import * import separate_by_chrom Dir = os.getcwd(); grep = "/bin/grep"; cat = "/bin/cat"; plus = re.compile("\+"); ...
[ "noreply@github.com" ]
czang.noreply@github.com
c16915ad8f3dc3ac35ac8b1cb780a926a0c8a4d8
8ac7038666dd9ee1be722b1b2cef6e5bc785aaba
/recursive_PRD_Wiki_BPTT_Clip_GRU_Restart_LogExp11_CHOSEN_CharAware.py
cd65ae7b873dd4a92909c57014771db5c6656859
[]
no_license
m-hahn/recursive-prd
656a132747a44cdba6fe7d62c51fb26241c4d70e
3735005aea42934aa36732a900e6e10ee87c0d97
refs/heads/master
2022-04-30T14:01:36.237257
2022-03-25T03:47:58
2022-03-25T03:47:58
193,786,406
0
0
null
null
null
null
UTF-8
Python
false
false
25,501
py
# recursive_PRD_Wiki_BPTT_Clip_GRU_Restart_LogExp11.py # Works without NA # ./python27 recursive_PRD_Wiki_BPTT_Clip_GRU_Restart_LogExp11.py --beta 4.539993e-05 --lr 0.0001 import torchkit.optim import torchkit.nn, torchkit.flows, torchkit.utils import numpy as np import random import sys objectiveName = "LM" import...
[ "mhahn29@gmail.com" ]
mhahn29@gmail.com
9b1015ae3254c4826ea91947f154a4c97bdd9830
dd1dd4c159334641f3a3205a41ba7a9e4751930c
/wavenet/test/write_append.py
0a40db4722bb1b4d69fdfcdab7645af2b10887e6
[ "MIT" ]
permissive
Chenzhoujia/hand_shake
f552d7aa0197968350047d45d838b981d1f2fd21
649bea1651ac24ba50a0da03134143a7bfe885b6
refs/heads/master
2020-04-24T14:00:13.034382
2019-04-09T08:04:34
2019-04-09T08:04:34
172,006,295
1
0
null
null
null
null
UTF-8
Python
false
false
319
py
# -*- coding: utf-8 -*- import numpy as np file = r'/home/chen/Documents/tensorflow-wavenet-master/analysis/static/test.txt' a = np.array([1.1,2.1,3.1]) for i in range(10): if i == 0: np.savetxt(file,a*i) else: a_ = np.loadtxt(file) a_ = np.vstack((a_, a*i)) np.savetxt(file, a_)
[ "None" ]
None
b77e764624ca610266a42c493bc630155b45a8bf
90a65f925fdc44c9e16fd676dfbaded61cf5b02e
/src_old/data/mode.py
326347abd1b91b62a29bbf05ee8a9613df9c3c77
[]
no_license
fran-jo/ScriptMAE
ed47b8bf37fd5381344622b2afe30f7de43f41ec
a381336fa6b313acfbc95c6b1079321fa21ddd06
refs/heads/master
2021-01-17T08:11:37.952150
2017-11-27T16:54:51
2017-11-27T16:54:51
35,911,746
1
0
null
null
null
null
UTF-8
Python
false
false
957
py
''' Created on 26 maj 2015 @author: fragom ''' class Mode(object): ''' Class to store outputs from Mode estimation function (Vedran) ''' def __init__(self): ''' Constructor ''' ''' Enam 18-06-2015 add attributes to class for storing mode analysis results ...
[ "fran_jo@hotmail.com" ]
fran_jo@hotmail.com
8ff682ab083a6f608c4241f1e70ffac6b4638355
db9f0df35b37cf6b6aae18753609ae2c64e7e549
/JetAnalysis/python/simpleSubstructureSelector_cfi.py
690f7437b5837e2db1e95399f8019faeccbe4ec8
[]
no_license
justinrpilot/ZprimeAllHad
938f0097f87ea1dfbfb290a1e553c9555768a89e
b4477e26cce570376f7671433327a8d0f9ea516c
refs/heads/master
2021-01-13T02:16:54.485622
2015-01-07T21:18:56
2015-01-07T21:18:56
12,485,305
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
import FWCore.ParameterSet.Config as cms simpleSubstructureSelector = cms.PSet( # Jets: Already have jet ID applied src = cms.InputTag('goodPatJetsCA8PrunedPF'), # Rho from the KT6 jets rhoSrc = cms.InputTag('kt6PFJetsPFlow', 'rho'), # Offline Primary Vertices (all of them) to reweight MC pvS...
[ "justin.pilot@cern.ch" ]
justin.pilot@cern.ch
c38987c96ddb5a1e788eff0e044c05296f352d82
dafbb40214c27993ced1c40ad3c7a6b9430a39a6
/Code/language/Python/grammer/itertools/gropby_example.py
94538daacaf57b177cc0a82f559125552e80327c
[]
no_license
wan-h/Brainpower
fe67de45edca22ca5de4789082c9662e84c95a13
f42d68a27b2610ba045dfc68873c429b58cf573b
refs/heads/master
2023-08-17T02:57:50.633504
2023-08-03T07:11:27
2023-08-03T07:11:27
223,208,555
4
1
null
2023-03-06T20:45:31
2019-11-21T15:45:50
C++
UTF-8
Python
false
false
559
py
# coding: utf-8 # Author: wanhui0729@gmail.com from itertools import groupby ''' groupby(iterable, key=None) 对字符串,列表等进行分组(迭代对象的相同元素分到一组) ''' # 对字符串进行分组,将相同字符的分到一组 print("=" * 21) print("Group by str") for k, g in groupby('11111223'): print(k, list(g)) # 按照字典的value进行分组 test_dict = { '1': 1, '2': 1, '...
[ "13658247573@163.com" ]
13658247573@163.com
116add27036a064007cd9090b170eb98c03223a1
360057961e6d4f30cb475463e2caf6e46c2b6b10
/computeFeatures/seqStep/seqToolManagers/conservationTools/PsiBlastManager.py
e9bbd20f650c80a8318c68c47333116c2f7727fd
[ "Apache-2.0" ]
permissive
rsanchezgarc/BIPSPI
3f5611569d12f67f13e2124732d1170d5bb1a4de
1d9801a176323ba238c8d10e673cf2055f83a4b6
refs/heads/master
2023-03-21T10:46:16.167852
2023-03-13T10:44:04
2023-03-13T10:44:04
134,728,928
9
3
null
null
null
null
UTF-8
Python
false
false
16,336
py
from __future__ import absolute_import import os from subprocess import Popen, PIPE, check_output import gzip import numpy as np from ...seqToolManager import SeqToolManager from .consDbManager import ConsDbManager from utils import myMakeDir, getItemsFromList INCLUDE_PSSM= True INCLUDE_PSFM= True NORMALIZE_IPP_AND_...
[ "rubensanchezgarc@gmail.com" ]
rubensanchezgarc@gmail.com
57fa1c3208e06885477cd9669c8f45ca97cf00a5
bce0d135cef83e58926e281837a19761bb8bda29
/InmoovScript/inmoovGestures/minimalHead.py
20f14951819a7a2282304d729b71e3257f45b5c3
[]
no_license
taptapclick/inmoov
2aebb8580a5209a2688dfa723978b5c7c44d7de8
6ddb05e8fc7f84122e985eb22a7247be91d90a0b
refs/heads/master
2021-01-19T19:47:17.909790
2017-04-03T20:04:20
2017-04-03T20:04:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
# ############################################################################## # *** FROM InMoov3.minimalHead.py *** # ############################################################################## def lookleftside(): global RobotCanMoveHeadWhileSpeaking RobotCanMoveHeadWhileSpeaking=0 i01.setHeadVe...
[ "moz4r@free.fr" ]
moz4r@free.fr
cf5a4edb1da0593a3cce85eedea3b9f303f45572
5b188a06f9b615b8a4541074fc50eeb1bfac5d97
/动态规划/shoppingOffers.py
57c91a077df887b598bcd103e6ab19c6fce4c78b
[]
no_license
yinyinyin123/algorithm
3a8cf48a48bd2758c1e156c8f46161fe3697342f
b53f030ea3a4e2f6451c18d43336ff9c5d7433af
refs/heads/master
2021-01-07T20:07:12.544539
2020-08-31T05:16:44
2020-08-31T05:16:44
241,807,608
5
2
null
null
null
null
UTF-8
Python
false
false
861
py
### one code one day ### 2020/03/12 ### leetcode 638 大礼包 ### 动态规划的思想 无限背包 ### 该解法不能100%通过,只考虑了2种物品的情况 def shoppingOffers(self, price: List[int], special: List[List[int]], needs: List[int]) -> int: ### 将单个商品加入到special for i in range(len(price)): temp = [0] * (1 + len(price)) temp[i] = 1 ...
[ "1350526138@qq.com" ]
1350526138@qq.com
2d49fb052e62b5e1e9b0f869d12852bc9fedac83
8b4ccce0e26408f05297e31b590d350d9632271d
/132. Palindrome Partitioning II.py
f012ab0a427c2c5755629d5d41edf3782821b311
[]
no_license
bryantbyr/LeetCode-solutions
65e50e104e3504662ae7547865c326282a13a9c9
07b8c34b12d05413466119a82247d7ee5cc34318
refs/heads/master
2022-01-13T12:17:46.699379
2019-04-29T11:54:02
2019-04-29T11:54:02
87,683,855
1
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
# -*- coding: utf-8 -*- # @Time : 2019/3/1 # @Author : qirui # @FileName: 132. Palindrome Partitioning II.py # reference: https://leetcode.com/problems/palindrome-partitioning-ii/discuss/42213/Easiest-Java-DP-Solution-(97.36) # DP # key: 两重DP非常巧妙, 判断回文字符串也可用DP优化 # Time: O(N^2) # Space: O(N^2) class So...
[ "noreply@github.com" ]
bryantbyr.noreply@github.com
ffb27bf19fbdc832de8c255d4600d604c6bd5db9
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4051/175004051.py
4eba627afc0fcf75c7e3288c5a119db5eaeb03e5
[]
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
2,142
py
from bots.botsconfig import * from records004051 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'FC', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'REF', MIN: 0, MAX: 99999}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
45b2cf85f016137ba49ad498d6816c62622ff768
386d5d4f8f102e701d02b326cd066f520e3dff9f
/ProjectApplication/project_core/migrations/0151_add_call_part_into_call_question.py
3ea6ed3a70daa255924ff2de49821b4dedd621be
[ "MIT" ]
permissive
Swiss-Polar-Institute/project-application
ae2561c3ae2c1d5412d165d959ce2e5886135e0a
7dc4a9f7e0f8d28c89977b85f99bc5e35ea77d43
refs/heads/master
2023-08-31T04:01:23.492272
2023-08-25T14:33:02
2023-08-25T14:33:02
206,330,401
7
5
MIT
2023-09-13T08:03:53
2019-09-04T13:49:39
Python
UTF-8
Python
false
false
899
py
# Generated by Django 3.1.4 on 2020-12-21 14:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('project_core', '0149_callpart'), ] operations = [ migrations.AddField( model_name='callquestion...
[ "carles@pina.cat" ]
carles@pina.cat
ae9629051a6c30309fd6be3f99213c9ab0aa8004
2d5648035b8bd32b4a6ded311e48975e5ea100d4
/runs/snort/100KB/src1-tgt1/http-par-noids-iter00100.cfg.py
4bb77e307fc64b4c9d74cf951600940dd95270bf
[ "MIT" ]
permissive
Largio/broeval
3975e54a1eaead6686c53e5e99250a00becbe1e0
89e831d07f066100afdd1a5b220f9f08f1c10b3d
refs/heads/master
2021-05-08T08:54:06.498264
2017-11-10T17:09:02
2017-11-10T17:09:02
92,508,227
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
# Write results to this file OUTFILE = 'runs/snort/100KB/src1-tgt1/http-par-noids-iter00100.result.csv' # Source computers for the request SOURCE = ['10.0.0.1'] # Target machines for the requests (aka server) TARGET = ['10.0.0.2'] # IDS Mode. (ATM: noids, min, max, http, ssl, ftp, icmp, mysql) IDSMODE = 'noids' # ...
[ "larswiete@googlemail.com" ]
larswiete@googlemail.com
e6d029fe4a2550d33098dc197b61fce0768147fc
e34cbf5fce48f661d08221c095750240dbd88caf
/python/day26/learncrm/crmAdmin/forms.py
1707f11a2080324ab8df4716e948dea16b600694
[]
no_license
willianflasky/growup
2f994b815b636e2582594375e90dbcb2aa37288e
1db031a901e25bbe13f2d0db767cd28c76ac47f5
refs/heads/master
2023-01-04T13:13:14.191504
2020-01-12T08:11:41
2020-01-12T08:11:41
48,899,304
2
0
null
2022-12-26T19:46:22
2016-01-02T05:04:39
C
UTF-8
Python
false
false
6,312
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # by Wendy from django.forms import ModelForm ########################type 动态创建类########################## """ >>> type <class 'type'> >>> type('MyClass',(object,),{'name':'tangying'}) <class 'MyClass'> >>> >>> c = type('MyClass',(object,),{'name':'tangying'}) >>> c <class...
[ "284607860@qq.com" ]
284607860@qq.com
edaa74dc596a39615f20da5185c7b4369978414a
1a85b063f01c16b9fa2b1aaa09f3be864b5ae158
/virtual/bin/mako-render
a9750d70b48367ffa59a64e4ea3c53c2234cc980
[ "MIT" ]
permissive
MaryMbugua/myblog
91beb572983258b7cbf804edc7985d9d1d7a52e1
8aba4e3db52371b269e946d47046b8402a35a69f
refs/heads/master
2020-03-11T23:26:45.938585
2018-04-23T09:12:13
2018-04-23T09:12:13
130,321,868
0
0
null
null
null
null
UTF-8
Python
false
false
338
#!/home/nish/Desktop/personalblog/virtual/bin/python3.6 # EASY-INSTALL-ENTRY-SCRIPT: 'Mako==1.0.7','console_scripts','mako-render' __requires__ = 'Mako==1.0.7' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('Mako==1.0.7', 'console_scripts', 'mako...
[ "marymbugua.nm@gmail.com" ]
marymbugua.nm@gmail.com
645904bad763bc582bf424066163b420fe2588f6
e5eec1428da1d24d3e9b86f5723c51cd2ca636cd
/binary_search/백준/골드/두배열의 합.py
8a3263be5235552c356e9c89421f200d5e7ab2d5
[]
no_license
jamwomsoo/Algorithm_prac
3c36c381f59277721517d331a8f1640399d80c1d
8393f3cc2f950214c47f3cf0b2c1271791f115d0
refs/heads/master
2023-06-09T06:49:14.739255
2021-06-18T06:41:01
2021-06-18T06:41:01
325,227,295
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
# 전혀 모르겠네,,, # 백준 사이트 https://www.acmicpc.net/problem/2143 # 참고 사이트 https://velog.io/@nyanyanyong/%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98python%EB%B0%B1%EC%A4%80-2143%EB%91%90-%EB%B0%B0%EC%97%B4%EC%9D%98-%ED%95%A9 # 풀이 # a 배열의 부분 배열의 합을 key로 하고 경우의수를 Value로 하는 dictionary를 만든다 # t에서 b 배열의 부분 배열의 합을 빼준 key 값을 갖는 dict의 경우의 수...
[ "41579282+jamwomsoo@users.noreply.github.com" ]
41579282+jamwomsoo@users.noreply.github.com
34ca2da82da590aedb90673c352160dd224212b3
8281214acbea165fc5edfba82bd7164ba286bca6
/mnSpecFit/models/Synchrotron.py
48246d052bdbebe33884382b709099ef0abba769
[]
no_license
afcarl/mnsf
93648a07aab017b943e41506795ea65e0a0927d1
f08c2c7c34e8b62dcfdfa75643c8eb0dd0f6d4ec
refs/heads/master
2020-03-18T19:57:36.271080
2015-05-28T16:54:46
2015-05-28T16:54:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
from mnSpecFit.Model import Model from mnSpecFit.synchrotron_glue import synchrotronPy from numpy import power from multiFit.priorGen import * class Synchrotron(Model): def __init__(self): def TotalSynchrotron(ene,norm,estar,index): norm = power(10.,norm) return s...
[ "jmichaelburgess@gmail.com" ]
jmichaelburgess@gmail.com
9cdd4284b459fb25c776c8ea2cd5fbdcbabde930
9372026aec32fa10896225813986346e472f7a7c
/2019/week20/problem1.py
03ad718aff56101a011b7083671fa604f7093505
[]
no_license
mjsong0712/learn_python
5809df5b0366b37836633f5fa5e2d96a9cb99798
1cc31ca750e76b436596e3a4f6b8f39d7b873624
refs/heads/master
2022-05-17T00:54:17.975679
2022-05-01T08:07:33
2022-05-01T08:07:33
235,795,862
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
# -*- coding: utf-8 -*- # 변수명 예시 # L, M, N # list, number_list, numbers # input # 함수 사용시 f1(input), f2() # 변수 사용시 v1 = v2 + v3 # range(5) == [0, 1, 2, 3, 4] # [0 for i in range(5)] == [0, 0, 0, 0, 0] # m = m + 1 <=> m += 1 # a<c and c<b <=> a<c<b # 바꾸기: a,b = b,a # 리스트 원소 추가 L.append(a) # L.sort() # L = [[1, 2...
[ "mjsong070712@gmail.com" ]
mjsong070712@gmail.com
71dfb2c9acd632d062023140ec5f5ad93317275c
3f58d963dfa0a43d5efaf0f1bd1c0a95cc4c1f18
/doc/source/conf.py
7634a476e31385a02a46f3070b0ad40299dff42b
[]
no_license
gelliravi/xmi2oerp
92a0bb3073901f25bc81553205e5caafe9007d12
f8f1593248fdef7b6bafd6b28860cde09efcd2f8
refs/heads/master
2021-01-21T08:33:14.941555
2014-02-24T15:17:49
2014-02-24T15:17:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,018
py
# -*- coding: utf-8 -*- # # xmi2oerp documentation build configuration file, created by # sphinx-quickstart on Wed Nov 21 19:21:20 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 # autogenerated file. # # Al...
[ "cristian.rocha@moldeo.coop" ]
cristian.rocha@moldeo.coop
1b5ba5b4499d622164725ac2353895c63f7090d4
b76aaa9ec59df7888e4b6a4fc095cc8985952de7
/src/rantanplan/__main__.py
277e9e9d4708e25d4ad4274c64aeb17b064b5e8d
[ "Apache-2.0" ]
permissive
linhd-postdata/rantanplan
999c58e1e29db752d845e770ba97711051817498
4847a0c883b118fe98972aca1874a9b047290346
refs/heads/develop
2023-07-11T00:18:54.837230
2021-09-13T12:52:37
2021-09-13T12:52:37
188,399,886
10
4
NOASSERTION
2021-09-13T12:52:38
2019-05-24T10:07:58
Python
UTF-8
Python
false
false
367
py
""" Entrypoint module, in case you use `python -mrantanplan`. Why does this file exist, and why __main__? For more info, read: - https://www.python.org/dev/peps/pep-0338/ - https://docs.python.org/2/using/cmdline.html#cmdoption-m - https://docs.python.org/3/using/cmdline.html#cmdoption-m """ from rantanplan.cli impo...
[ "versae@gmail.com" ]
versae@gmail.com
fd3eb46a302edc026ae52dff53059e1ee553e1ab
66276325d623c894c9e6344bb161f3c25974a838
/LeetCode/0048.Rotate-Image/Rotate-Image.py
c1f1c44425e7fc051e20f27d9f1e377ff32bb7de
[]
no_license
htingwang/HandsOnAlgoDS
034b5199b394ca82fd4fb16614ddabb45f3325e2
5b14b6f42baf59b04cbcc8e115df4272029b64c8
refs/heads/master
2021-07-11T15:50:30.944794
2020-09-27T05:08:02
2020-09-27T05:08:02
192,391,446
12
2
null
2019-07-03T04:09:35
2019-06-17T17:36:01
Jupyter Notebook
UTF-8
Python
false
false
548
py
class Solution(object): def rotate(self, matrix): """ :type matrix: List[List[int]] :rtype: None Do not return anything, modify matrix in-place instead. """ row, col = len(matrix), len(matrix[0]) for i in range(row): for j in range(i): matr...
[ "49448790+htingwang@users.noreply.github.com" ]
49448790+htingwang@users.noreply.github.com
bdbac448bcaefc08337cd6f3846ba17a61e21020
7359735a42cbff8a53a65e130e66bea2f7cc7da5
/backend/apps/theater/migrations/0010_play_slug.py
bfd7ef9e6074b60508b3cc84b4537a805dcc6961
[]
no_license
alexmon1989/sevtuz
1a7b21d6cb70d4af15c80101cf828af0003447d5
9ff068089bc286ff238bac34f785db0775699091
refs/heads/master
2023-03-20T06:45:29.037723
2022-12-27T19:07:26
2022-12-27T19:07:26
110,521,561
0
0
null
2023-03-06T11:38:17
2017-11-13T08:35:43
Nunjucks
UTF-8
Python
false
false
665
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-22 09:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('theater', '0009_auto_20171122_1127'), ] operations = [ migrations.AddField(...
[ "alex.mon1989@gmail.com" ]
alex.mon1989@gmail.com
3f9eb0211ae3d1eebf0387db62985a4352b02a82
aed18908f6cdf93774aac253273e47d6e3521003
/runs/"xdense-6-c46-warm.h5"/two_time_pad.py
70dccf1b06e09ff34906a23cf8f14c3c7c4b1934
[]
no_license
matthiasgoergens/TwoTimePad
cbd1e2cb081805baf503b0a4984e74e0508060f8
7dc3a276179e3c15b07b1ae2c3c8d31d34bf9a00
refs/heads/master
2021-07-03T22:59:06.211897
2021-06-13T09:03:33
2021-06-13T09:03:33
9,916,768
0
0
null
2013-07-04T05:25:17
2013-05-07T16:48:56
Haskell
UTF-8
Python
false
false
18,974
py
# -*- coding: utf-8 -*- import functools as ft import itertools as it import math import random import re import sys from datetime import datetime from pprint import pprint import numpy as np import tensorflow as tf # import tensorflow_addons as tfa from tensorflow.keras.callbacks import ModelCheckpoint, TensorBoard,...
[ "google-dl-platform@googlegroups.com" ]
google-dl-platform@googlegroups.com
82ff353f2890cfa6eb6b09f5cca484875dddfc04
4fbd844113ec9d8c526d5f186274b40ad5502aa3
/algorithms/python3/possible_bipartition.py
89274fda86ac32e671f60915d01ff5d5c7ea820d
[]
no_license
capric8416/leetcode
51f9bdc3fa26b010e8a1e8203a7e1bcd70ace9e1
503b2e303b10a455be9596c31975ee7973819a3c
refs/heads/master
2022-07-16T21:41:07.492706
2020-04-22T06:18:16
2020-04-22T06:18:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
# !/usr/bin/env python # -*- coding: utf-8 -*- """ Given a set of N people (numbered 1, 2, ..., N), we would like to split everyone into two groups of any size. Each person may dislike some other people, and they should not go into the same group.  Formally, if dislikes[i] = [a, b], it means it is not allowed to put...
[ "capric8416@gmail.com" ]
capric8416@gmail.com
ad2bde704d5340820a7c5dd1f1fdc2562f6d3d77
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/password_policy/tests/test_apps.py
77f84617d5c9159deccc3518386de5a2bba0c654
[ "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
1,321
py
""" Test password policy settings """ import datetime from unittest.mock import patch from dateutil.parser import parse as parse_date from django.conf import settings from django.test import TestCase, override_settings import openedx.core.djangoapps.password_policy as password_policy from openedx.core.djangoapps.pa...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
722b602a77c4f1e31f199cdb67424518c73dcaa3
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_service_endpoint_policy_definitions_operations.py
59acf6737db32029ee49d842a20b5b3da8fe8bed
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
22,731
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" ]
paultaiton.noreply@github.com
e9ec44bb51cae2ff35f0e6fb82cad7612dc33e58
3a6d90f1e00ba93d7770b560571b7da0d36fdaac
/src/briefy/choreographer/actions/slack/leica/comment.py
a14f0a95ee5d82ee3571fcb4ce906d1f9f03032c
[]
no_license
BriefyHQ/briefy.choreographer
c62cf1b18712ab89f4ed6ecde1f9b70ade3b25b5
cca179f55ebc3c420426eff59b23d7c8963ca9a3
refs/heads/master
2021-03-19T17:24:30.706502
2017-12-20T20:08:14
2017-12-20T20:08:14
63,544,610
0
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
"""Slack actions for Comments.""" from briefy.choreographer.actions.slack import ISlack from briefy.choreographer.actions.slack import Slack from briefy.choreographer.events.leica import comment as events from zope.component import adapter from zope.interface import implementer import typing as t class CommentSlack(...
[ "ericof@gmail.com" ]
ericof@gmail.com
b5436185a92dedc113d008d5159495bea7566770
18e359da152f6690b1d753bb6ecec75d518de167
/user/urls.py
6aa199361b5cf7b3008471f3f6fd9eb56dcc98c0
[]
no_license
keniiy/Django-Ecommerce
9ee81d3ec8373fd51371b459ef9b457a1979ac29
023683c3fb7dcd7c124da8bf34fbce302f2ad133
refs/heads/master
2022-11-15T07:39:45.832938
2020-07-15T07:53:32
2020-07-15T07:53:32
263,697,873
5
0
null
null
null
null
UTF-8
Python
false
false
730
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('update/', views.user_update, name='user_update'), path('password/', views.user_password, name='user_password'), path('order/', views.user_order, name='user_order'), path('order_product/', view...
[ "kehindekehinde894@gmail.com" ]
kehindekehinde894@gmail.com
a3e063a7fdb6612f04210b24d931058d2a53cf0c
3079cc1df2e005053c2a2034072d9bee8ff446b4
/setup.py
918bf5d4997cc9c3fa2727ab05c1ff78b5af4715
[ "BSD-2-Clause" ]
permissive
dustinthughes/Flask-User
ce2f386c3523a8fce8502c32c4d52cf66b653249
b3d5672c7a45c09e99bf223fc193613c417c1b6d
refs/heads/master
2020-12-26T23:34:32.767778
2014-10-22T02:44:01
2014-10-22T02:44:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,654
py
""" Flask-User ========== .. image:: https://pypip.in/v/Flask-User/badge.png :target: https://pypi.python.org/pypi/Flask-User .. image:: https://pypip.in/d/Flask-User/badge.png :target: https://pypi.python.org/pypi/Flask-User .. image:: https://pypip.in/license/Flask-User/badge.png :target: https://pypi....
[ "ling.thio@gmail.com" ]
ling.thio@gmail.com
c2698c4cda457417b130a7e55e5decb4af42d99c
25debb7698c86bff35967af56e611f0f2e6e5714
/app/main.py
eb5c7757928c4218f24b33db2b818128442be583
[]
no_license
jsrimr/flask_cicd
2a98b169e8a27b306926eaead97934bc91fbb02e
75466a44ede3f5558b741f9442e87a7cab483e71
refs/heads/master
2022-12-15T10:19:24.221346
2020-09-19T06:50:03
2020-09-19T06:50:03
296,513,347
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World from Flask" if __name__ == "__main__": # Only for debugging while developing app.run(host='0.0.0.0', debug=True, port=8080)
[ "jsrimr@naver.com" ]
jsrimr@naver.com
6c52f8bd4335c6e42c9ce7a4c3cfc2118b0c89bf
7bdd1e117165d93fc56930435ea1ad1f74717e0f
/Aula_36_Calcular Media.py
1b2a13e8155db2495cd0952e78ed0f8caf26eb05
[]
no_license
DiksonSantos/Logica_De_programa-o_Para_DataScience
cb2ddf1d0cc0061667f63a7a554e47d9c56be9ef
0b45d08996f7a053f8827e1ecaa8762171f0e07d
refs/heads/master
2022-12-17T00:31:19.969605
2020-09-16T19:18:36
2020-09-16T19:18:36
296,126,407
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
from statistics import mean #Uma Lista Contendo 10 Posições: lista = list(range(1,11)) #lista = [0:10] #Inserimos As Notas nestas 10 Posições: for n in range(0,10): print("Informa Numero Na Posição: ", n+1) lista[n] = int(input('Nota: ')) #Caso digite Um Numero Menor que ZERO: while lista[n] <=...
[ "dikson_santos@outlook.com" ]
dikson_santos@outlook.com
a3cffa328bb5d42f41a96cead0c1145e4708fa36
05e454259b44882a1bfff0ba82475374b36b74f0
/vision/object_detection/exporter_test.py
ba80a6b00406b10401698d06b64d99f40550a6f9
[ "BSD-3-Clause" ]
permissive
TeamAutonomousCarOffenburg/TACO_2017
ec49f539528388f28114cca9787c1ab7db880e64
724c37188209818c22046d2229f67d882c36e2f4
refs/heads/master
2021-08-14T18:33:24.203830
2017-11-16T13:48:57
2017-11-16T13:48:57
110,350,009
4
1
null
null
null
null
UTF-8
Python
false
false
27,032
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "jensfischer95@gmail.com" ]
jensfischer95@gmail.com
a5e0b191ab85a649e9d5bb7111953ddacd5df0ad
c6295f0cb5c9ef60c8fd205dfb0236eb3d213b10
/wyz2_ws/src/fasterrcnn2/scripts/demo_camera_ros.py
600ee596c263c9a264793e8f0299d8bc7c3cd194
[]
no_license
Aaron9477/workspace
92b64ec0956f386985437496319ccbba985c7679
ca846b030a4f2ef630c1a142574deab4d3a7bbc1
refs/heads/master
2020-04-14T19:53:24.918727
2019-01-22T07:00:49
2019-01-22T07:00:49
164,056,238
0
0
null
null
null
null
UTF-8
Python
false
false
7,208
py
#!/usr/bin/env python # -------------------------------------------------------- # Faster R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- """ Demo script showing detections in sample i...
[ "869788668@qq.com" ]
869788668@qq.com
e2be9b4214d506b8f96cf108278d51ade7bf7e20
f75f841a1e0e6e7915a68bebbed7233aa5d22625
/dnspython/reverse_name.py
edd510ddb6c75353c83ccd3928db0523adb33d07
[ "MIT" ]
permissive
Akagi201/learning-python
4c1aa72116cdfea527fdf2afd038158e5ba7f97b
28169d1bf0488e8be1456b40dd39d7830a65280e
refs/heads/master
2022-12-08T01:25:57.842615
2022-03-14T08:02:20
2022-03-14T08:02:20
32,675,802
89
126
MIT
2022-11-24T18:20:28
2015-03-22T13:04:01
Python
UTF-8
Python
false
false
137
py
#!/usr/bin/env python import dns.reversename n = dns.reversename.from_address("127.0.0.1") print n print dns.reversename.to_address(n)
[ "akagi201@gmail.com" ]
akagi201@gmail.com
9bed786d2ec48a55958d5595145157cd9a8b8a8f
310eec541663e53b4769b6cf041eee2e49692622
/5000~5999/5622.py
0dcd829e7d5e22c9b7518a161d6c98e702ae02f5
[]
no_license
merry-hyelyn/Baekjoon-Online-Judge
c55d840e5815ebd04ab945373e36dffa8da2232a
786e64be4ca34553c378555687ef6ef7fb8fa9a7
refs/heads/master
2023-03-20T18:22:05.426765
2023-03-11T14:57:34
2023-03-11T14:57:34
233,415,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,719
py
# 문제 # 상근이의 할머니는 아래 그림과 같이 오래된 다이얼 전화기를 사용한다. # 전화를 걸고 싶은 번호가 있다면, 숫자를 하나를 누른 다음에 금속 핀이 있는 곳 까지 시계방향으로 돌려야 한다. # 숫자를 하나 누르면 다이얼이 처음 위치로 돌아가고, # 다음 숫자를 누르려면 다이얼을 처음 위치에서 다시 돌려야 한다. # 숫자 1을 걸려면 총 2초가 필요하다. # 1보다 큰 수를 거는데 걸리는 시간은 이보다 더 걸리며, # 한 칸 옆에 있는 숫자를 걸기 위해선 1초씩 더 걸린다. # 상근이의 할머니는 전화 번호를 각 숫자에 해당하는 문자로 외운다. # 즉, 어...
[ "h1335@naver.com" ]
h1335@naver.com
20c626d76d7a33f7e93938090cebd0eeed5189f4
d1cf157a5b7c37f264fe169c7241e64947d56c6d
/app/migrations/0059_alter_poitemsmerch_qtyreceived.py
8401d1bcff684e8054b23b144489fe310993c949
[]
no_license
albert-sobreo/mms-for-armand
5943f0a13b5972f6ddd05578e397c7bc2b104d17
dade04404ca65cb02a38d18bb404da585f536894
refs/heads/master
2023-08-26T21:41:46.234369
2021-10-04T07:55:26
2021-10-04T07:55:26
413,325,696
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# Generated by Django 3.2.3 on 2021-06-26 15:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0058_alter_poitemsmerch_qtyreceived'), ] operations = [ migrations.AlterField( model_name='poitemsmerch', nam...
[ "janalbertsobreo@gmail.com" ]
janalbertsobreo@gmail.com
e6cd762030419603209bb0845740287c1abe6d01
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/1881.py
2bf031d8441c7c07efce71b716e838c9a19554c3
[]
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
1,541
py
import sys def check_board(board): # Check the rows for row in board: s = sum(row) if s == 4 or s == 13: return "X won" elif s == -4 or s == 7: return "O won" # Check the columns for idx in xrange(0, 4): column = [row[idx] for row in board] s = sum(column) if s == 4 or s == 13: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
ce583f6feb1c621140d94b310824ba83cabe8388
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4358/codes/1596_1571.py
d22dad2a711f59e3e098e9c6b7fc523d775d7445
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
58
py
texto=(input("So sei que nada sei")) print(texto.upper())
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
f56cc1a689c23240821dc326faae91eec5feaa9c
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/pybites/intermediate/275_v2/test_domains.py
d5cdc26ce93502ec1f4cbb81d48608342ccc407b
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,101
py
import pytest from domains import get_common_domains, get_most_common_domains @pytest.fixture(scope="module") def common_domains(): return list(get_common_domains()) def test_get_common_domains(common_domains): assert len(common_domains) == 100 first_3 = ['gmail.com', 'yahoo.com', 'hotmail.com'] la...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
95bd676c55b0e0caee97915b2a024a12ad465654
07917881310fc81d85a2cbdf27c9b3c4fa03c694
/python1812/python_1/9_函数用法_作用域_列表生成器/代码/07_全局变量.py
97951e1ea2fc17126e5d76734a0b71094e83cf71
[]
no_license
zaoyuaner/Learning-materials
9bc9a127d1c6478fb6cebbb6371b1fd85427c574
1f468a6f63158758f7cbfe7b5df17f51e3205f04
refs/heads/master
2020-05-18T11:38:45.771271
2019-05-20T09:07:44
2019-05-20T09:07:44
184,384,050
2
3
null
null
null
null
UTF-8
Python
false
false
361
py
# 全局变量: 定义在函数之外,任何函数都可以访问的变量 # 白色框框之内就是一个global,全局作用域 num = 100 def test(): print(num) # 100 在函数中访问(读取,不能写)全局变量 def show(): num = 10 print(num) test() show() # 10 局部变量已经定义 print(num) # 100
[ "13510647877@163.com" ]
13510647877@163.com
eadb3d553eb28bb13c81807b3b17909d9ca84a3f
bb35fcd1ee3fa5b7df0ff3e461044edf70e92524
/test_plots/test_tooltips_labels.py
c1d2778b6790bbe1618709b43b0778720f9c9642
[ "BSD-3-Clause" ]
permissive
olgabot/mpld3
87020c3fb8b1437c5dbbe3343c79661397e31cbf
d2d07c523f4c0bdc9d3b09c51333704b9b4cd480
refs/heads/master
2020-04-02T01:05:33.575259
2014-04-16T20:22:39
2014-04-16T20:22:39
18,869,007
0
1
null
null
null
null
UTF-8
Python
false
false
424
py
"""Plot to test line styles""" import matplotlib.pyplot as plt import numpy as np import mpld3 from mpld3 import plugins fig, ax = plt.subplots() colors = plt.rcParams['axes.color_cycle'] points = [] for i, color in enumerate(colors): points = ax.plot(i, 0, 'o', c=color, ms=20) plugins.connect(fig, ...
[ "vanderplas@astro.washington.edu" ]
vanderplas@astro.washington.edu
4443771dbfa6dd6d8b118c02a118d69de9665141
f0adca7cac7fb12cdb89e7e821559fe2603bf4bc
/src/167/recipe_167_01.py
7fa121e364897ea5a47647fd3c40dde43ce1e5fa
[]
no_license
eriamavro/python-recipe-src
dccfa06bc56fcc713f8da9e466f04d07c1f961f0
d14f3e4cd885515e9a9a7b8e3f064609c8e50fad
refs/heads/master
2023-02-13T02:08:44.531621
2021-01-14T12:03:05
2021-01-14T12:03:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
b = bytes([0xE3, 0x81, 0x82]) s = b.decode(encoding='utf-8') print(s)
[ "kurozumi.ta@gmail.com" ]
kurozumi.ta@gmail.com
045043d6dcb139aba2f0418b6e7593ea3991fd83
fd67592b2338105e0cd0b3503552d188b814ad95
/egoi_api/apis/paths/lists_list_id_fields_extra_field_id_options.py
68bb80d9a0e65a53b5c08cf7cb137e05a18d58a7
[]
no_license
E-goi/sdk-python
175575fcd50bd5ad426b33c78bdeb08d979485b7
5cba50a46e1d288b5038d18be12af119211e5b9f
refs/heads/master
2023-04-29T20:36:02.314712
2023-04-18T07:42:46
2023-04-18T07:42:46
232,095,340
5
2
null
null
null
null
UTF-8
Python
false
false
261
py
from egoi_api.paths.lists_list_id_fields_extra_field_id_options.get import ApiForget from egoi_api.paths.lists_list_id_fields_extra_field_id_options.post import ApiForpost class ListsListIdFieldsExtraFieldIdOptions( ApiForget, ApiForpost, ): pass
[ "integrations@e-goi.com" ]
integrations@e-goi.com
a75e491842a39c88ddce9f8c43a381047f45905e
8771c94dce3c7e30c9e5b5f45cf8683ba9cac6fd
/tests/algorithms/p0104_maximum_depth_of_binary_tree_2_test.py
1e76e763a99388de366aa44a459decdf8fb74a24
[]
no_license
J14032016/LeetCode-Python
f2a80ecb7822cf12a8ae1600e07e4e6667204230
9a8f5329d7c48dd34de3105c88afb5e03c2aace4
refs/heads/master
2023-03-12T02:55:45.094180
2021-03-07T07:55:03
2021-03-07T07:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
import unittest from leetcode.algorithms.p0104_maximum_depth_of_binary_tree_2 \ import Solution, TreeNode class TestMaximumDepthOfBinaryTree(unittest.TestCase): def test_maximum_depth_of_binary_tree(self): solution = Solution() a = TreeNode(3) b = TreeNode(9) c = TreeNode(20) ...
[ "mao_xiaodan@hotmail.com" ]
mao_xiaodan@hotmail.com
81c1528f1e6c2c67677ad0798a400c71b8c4a883
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-6262.py
d596cb6963e71e8076868cc9f4e7da65e244b79d
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,114
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
53014f5371d21a64db650ffe9eab65c72a527a1e
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/quiz03_20200628145710.py
8f99c965e329dc82f9388ddff25016e7671962b4
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
# 사이트별로 비밀번호를 만들어 주는 프로그램을 작성하시오. # 예) http://naver.com # 규칙 1 : http:// 부분은 제외 => naver.com # 규칙 2 : 처음 만나는 점(.) 이후 부분은 제외 => naver # 규칙 3 : 남은 글자 중 처음 세자리 + 글자 갯수 + 글자 내 'e' 갯수 + "!" 로 구성 # 예) 생성된 비밀번호 : nav51! site = "http://naver.com" index = site.index("/") rule1 = site.index("/", index + 1) pass1 = site[rule1 ...
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
45cebbd676d9cce5816d7a8df162db395d9deda4
6cefdb99a86b40ef7dac8fc7157c5d1c2590c711
/tests/address_for_script_test.py
82e6f6ac600cdd484c3878d6792d01740e076bb5
[ "MIT" ]
permissive
IFWallet/pycoin
114c0cc223901d7e84aecf0f17aa110592a2d661
5aef6dd086fbd9e7ed6de743ff6a41a5e7941ca0
refs/heads/master
2020-04-03T03:10:32.619279
2020-02-05T13:43:49
2020-02-05T13:43:49
154,978,454
0
0
MIT
2020-02-05T13:43:51
2018-10-27T15:18:35
Python
UTF-8
Python
false
false
3,669
py
import unittest from pycoin.ecdsa.secp256k1 import secp256k1_generator from pycoin.networks.registry import network_for_netcode from pycoin.solve.utils import build_hash160_lookup def make_tests_for_netcode(netcode): network = network_for_netcode(netcode) address_for_script = network.ui.address_for_script ...
[ "him@richardkiss.com" ]
him@richardkiss.com
de85989536e80af06321bc7c0a0ce4ce0cc1494e
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/shared/sound_helpers.py
146bf63ce4b5ad318550adefd5c609c959fafbb7
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
759
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/shared/sound_helpers.py import SoundGroups import WWISE from shared_utils import CONST_CONTAINER class SliderSoundEvents(CONST_CONTAINER): RTPC_PROGRESS_BAR = 'RTPC_ext_ammo_progress_bar' SLIDER_SINGLE_PLUS = 'cons_ammo...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru