blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
26d2b341444b81d58364ce4bc02fb13c358fb412
7239d389894613ef132edb1198a4f47cb2b65f92
/packages/python/plotly/plotly/graph_objs/bar/unselected/_textfont.py
05bedca940d3de8c9614263dcd69ae49ad3b82b9
[ "MIT" ]
permissive
fast3dd13sa/plotly.py
2169417b72481ff2937b5a9ce90d426cd1cccd80
e778c6b5e6ae9665d7a5e2ddb666f43806df3959
refs/heads/master
2022-04-26T01:11:46.345181
2020-04-27T19:49:56
2020-04-27T19:49:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,122
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Textfont(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "bar.unselected" _path_str = "bar.unselected.textfont" _valid_props = {"color"} # colo...
[ "noreply@github.com" ]
fast3dd13sa.noreply@github.com
d9e6d2f38991fcb61b7420b45040c6ef3f37ccf6
4a7ede06edbe66f9d1eb485261f94cc3251a914b
/test/pyaz/monitor/log_analytics/workspace/pack/__init__.py
959d2dd2ac3a00bde7b7a86e20cfae10e212a354
[ "MIT" ]
permissive
bigdatamoore/py-az-cli
a9e924ec58f3a3067b655f242ca1b675b77fa1d5
54383a4ee7cc77556f6183e74e992eec95b28e01
refs/heads/main
2023-08-14T08:21:51.004926
2021-09-19T12:17:31
2021-09-19T12:17:31
360,809,341
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
import json, subprocess from ..... pyaz_utils import get_cli_name, get_params def list(resource_group, workspace_name): params = get_params(locals()) command = "az monitor log-analytics workspace pack list " + params print(command) output = subprocess.run(command, shell=True, stdout=subprocess.PIPE...
[ "“bigdatamoore@users.noreply.github.com”" ]
“bigdatamoore@users.noreply.github.com”
bbc7ff4047e74a233768ec1af15a4bc921e91690
4562bd923f3bb6f0aa8bc0b5f4c38681c12bdbf1
/linked_lists/delete_middle.py
a90ec0952d88eb72c3eb4a4e4a380bc7b7e2713f
[]
no_license
davidadamojr/diary_of_programming_puzzles
e3badb701530ee5a6d0a96874feb216f213b1cf4
c86ffb52e3b1031ae613fa472b20e821dd178d77
refs/heads/master
2021-10-23T00:38:07.538128
2021-10-15T02:33:09
2021-10-15T02:33:09
35,726,402
95
50
null
2016-03-26T13:32:03
2015-05-16T14:17:40
Python
UTF-8
Python
false
false
934
py
""" Implement an algorithm to delete a node in the middle of a singly linked list, given only access to that node """ from linked_list import LinkedListNode import random def delete_middle(middle_node): """ Since you are not given access to the head of the list, you can simply copy the data from the next ...
[ "me@davidadamojr.com" ]
me@davidadamojr.com
2571be9b56382f7767b30d3b3359f5f6b0374964
60600f1efc54edf2c048ccc4c1cfcbbd36357294
/scripts/data_processing/collect_subreddits_by_topic.py
82b98afd2ab119bdb7c2296c9af07433b828b46f
[]
no_license
ianbstewart/SCiL_2021_loanword
8eca38b803fb2a621854fabb13a64e2591a12dd3
ea71cf207beac53d03b3f36bc06b3c4c534834bd
refs/heads/main
2023-03-06T07:29:01.932212
2021-02-17T22:58:52
2021-02-17T22:58:52
326,510,298
0
0
null
null
null
null
UTF-8
Python
false
false
2,811
py
""" Collect subreddits based on topic assigned by Snoop Snoo. e.g. https://www.snoopsnoo.com/subreddits/entertainment/celebrities/ WARNING: the membership counts are outdated. """ from argparse import ArgumentParser import logging import os from bs4 import BeautifulSoup import requests import pandas as pd def main(): ...
[ "istewart6@gatech.edu" ]
istewart6@gatech.edu
1ee36f575c2f0c6a13278691892d0317bace7f5b
fbd4ecf7046171c4e96267c5982c964db54578f5
/ml_with_tf/segmentation.py
80379cab2535f8cd20cb778969eedce5b4e11a59
[]
no_license
Alvin2580du/alvin_py
6dddcfbfae214694e9f3dafd976101e681f2a66d
82d3e9808073f2145b039ccf464c526cb85274e3
refs/heads/master
2021-05-05T16:01:43.544783
2019-10-29T02:23:59
2019-10-29T02:23:59
117,328,713
12
2
null
2021-03-20T00:06:37
2018-01-13T08:51:49
Python
UTF-8
Python
false
false
798
py
# Segmentation Examples import tensorflow as tf sess = tf.InteractiveSession() seg_ids = tf.constant([0, 1, 1, 2, 2]) # Group indexes : 0|1,2|3,4 print seg_ids.get_shape().as_list() print tens1 = tf.constant([[2, 5, 3, -5], [0, 3, -2, 5], [4, 3, 5, 3], [6...
[ "ypducdtu@163.com" ]
ypducdtu@163.com
0c814731d32519257372f2142c03f1d4abea9b98
5ece7e7a995ee7a86b07a6c7b86f527fcd5a2df9
/23_Оконные_приложения/tkinterSample_005.py
c1b1c9373c5d96e8be5928b32636ec32d0010608
[]
no_license
pandrey76/Python-By-FOXFORD-extend-8-10-classes-2016
b5ccade8907dc075cfe085fb41e9d404dfc9f8ae
b77f25a95f405666f2c08eb1ecef515af9b33c9d
refs/heads/master
2022-10-10T06:45:49.481098
2020-06-11T08:25:55
2020-06-11T08:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,173
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- #------------------------------------------------------------------------------- # Name: модуль1 # Purpose: # # Author: Prapor # # Created: 24.10.2017 # Copyright: (c) Prapor 2017 # Licence: <your licence> #-------------------------------------------...
[ "pandrey76@yandex.ru" ]
pandrey76@yandex.ru
ec5ccfd9097f8a54c5a4f74914e9c894848eddab
e28009b0a4584e8d128ed6fbd4ba84a1db11d1b9
/67.Add Binary/67.Add Binary.py
5742aafd45637fdd374439c65e1712545cfbe4f2
[]
no_license
jerrylance/LeetCode
509d16e4285296167feb51a80d6c382b3833405e
06ed3e9b27a3f1c0c517710d57fbbd794fd83e45
refs/heads/master
2020-12-02T23:10:27.382142
2020-08-02T02:03:54
2020-08-02T02:03:54
231,141,551
3
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
# LeetCode Solution # Zeyu Liu # 2019.2.1 # 67.Add Binary from typing import List # method 1 将字符串转化成整数求和,再转化成整数列表迭代 class Solution: def addBinary(self, a: str, b: str) -> str: s = [int(x) for x in str(int(a) + int(b))] for i in range(1,len(s)): if s[-i] == 2: ...
[ "noreply@github.com" ]
jerrylance.noreply@github.com
0a32c8fa02a932c3f74a5386a00b146c54325a54
32dda10669e459cf37c31f426fa709001d2c75b0
/atcoder/contest/solved/abc131_d.py
782ea6e4e939cfb6bba2cb1e0e63cb9219b789bf
[]
no_license
fastso/learning-python
3300f50d06871245d0bfcbe9d201224580f70852
d21dbd1b9f31017cdb1ed9b9ffd1e53ffe326572
refs/heads/master
2023-02-10T14:43:53.726247
2023-01-26T10:14:59
2023-01-26T10:14:59
193,454,718
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
n = int(input()) t = [list(map(int, input().split())) for i in range(n)] t.sort(key=lambda x: (x[1], x[0])) now = 0 for i in range(n): now += t[i][0] if now > t[i][1]: print('No') exit() print('Yes')
[ "fastso.biko@gmail.com" ]
fastso.biko@gmail.com
6e1d04b96c4d5182fa7f0735eac8afcd2e11da1e
8581d56ef57a001a392e7baa976d9ab650b37a82
/details.py
81c00e5d2d29003b52edbffe075b80de88e164d3
[ "MIT" ]
permissive
BernardMairura/passwordLocker
03793404e50f846eeb85e616405e34aa8189318b
9a3ff89c3aa1d5ae1d90a8c55c2b7c9234c0d860
refs/heads/master
2022-12-30T08:46:55.061667
2020-10-14T18:11:27
2020-10-14T18:11:27
302,591,938
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
class User: """ A class that generates new instances of contacts """ users_list=[] def __init__ (self,first_name,last_name,email): self.first_name=first_name self.last_name=last_name self.email=email def save_user(self): """ save u...
[ "bernardmairura@gmail.com" ]
bernardmairura@gmail.com
be2fdafaa998baf34a8afeede2f14a8285d16baf
2e9e994e17456ed06970dccb55c18dc0cad34756
/atcoder/abc/035/B.py
5176cb60f00ccffdaa68ff4738c02f5a8c3e9bdc
[]
no_license
ksomemo/Competitive-programming
a74e86b5e790c6e68e9642ea9e5332440cb264fc
2a12f7de520d9010aea1cd9d61b56df4a3555435
refs/heads/master
2020-12-02T06:46:13.666936
2019-05-27T04:08:01
2019-05-27T04:08:01
96,894,691
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
from collections import Counter def main(): S = input() T = int(input()) c = Counter(S) # c[not in key] => 0 L = c.get("L", 0) R = c.get("R", 0) U = c.get("U", 0) D = c.get("D", 0) x = R - L y = U - D q = c.get("?", 0) if T == 1: # max m = abs(x) + abs...
[ "kntsmy@hotmail.co.jp" ]
kntsmy@hotmail.co.jp
8b8e2aea082e5cfbc58f49f384b1a69cbacb77bf
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/ADD/ADDmonoJet_MD_3_d_5_TuneCUETP8M1_13TeV_pythia8_cfi.py
9c7a3bb5e9732b395ba8c4a5264f8b335dd172ba
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,923
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", pythiaPylistVerbosity = cms.untracked.int32(1), filterEfficiency = cms.untracked.double(...
[ "ksung@cern.ch" ]
ksung@cern.ch
1ccc69a4a50a21c5c0a7b46e5a47edafa73d3b02
049bd8d39b2910160696a16362a4efafb8efccaf
/FBPhishing/asgi.py
ce2fb7df00a2dc2e26b165b19e1f5e927420143a
[]
no_license
SubhoBasak/DjangoFBLogin
360ec4d120744185b1469edb1e71df33b3c2282a
5d06da7695a361bd094b4834ca44e59da99c8d02
refs/heads/master
2023-02-10T07:02:22.833923
2021-01-02T05:13:34
2021-01-02T05:13:34
326,113,788
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for FBPhishing project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "subhobasak50@gmail.com" ]
subhobasak50@gmail.com
7fc6c4898e40330c28270d866dcff158fba6e18d
e8803012da4ef4f3b99fb01f252ad704f3b24f9b
/OOP_and_Other/Finding the percentage.py
e0d2a24e8d4f21d842dd72588e3275250e0abf14
[]
no_license
imamahasane/Object_Oriented_Programming
ec234e7d494c475ee0d836b3a64fa779d3c5488f
8ee168350aa924d9b62d90c8ddcc3cfef28e2f18
refs/heads/main
2023-09-06T04:23:57.827634
2021-11-21T19:56:06
2021-11-21T19:56:06
409,710,295
3
1
null
null
null
null
UTF-8
Python
false
false
544
py
# -*- coding: utf-8 -*- """ Created on Fri Sep 13 09:44:44 2019 @author: Imam Ahasan """ if __name__ == '__main__': n = int(input()) student_marks = {} for _ in range(n): name, *line = input().split() scores = list(map(float, line)) student_marks[name] = scores qu...
[ "noreply@github.com" ]
imamahasane.noreply@github.com
d62d4d7d25b39c63329f9e1ac6b054c4867d444f
542199d93bb859b6091b5150b286689ad4a1479d
/src/ferrieres/urban/dataimport/csv/valuesmapping.py
973a62568c3eda4cd507727164c1115465fb008e
[]
no_license
IMIO/ferrieres.urban.dataimport
20ccc13e7ddd29afb68b497e8ad5aacdd2e754c6
4ed752c791ee3cbeae3b2b74beb0b28ed69604f4
refs/heads/master
2021-01-11T20:27:15.590299
2017-01-27T08:20:57
2017-01-27T08:20:57
79,118,967
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
# -*- coding: utf-8 -*- from imio.urban.dataimport.mapping import table VALUES_MAPS = { 'division_map': { '1ère': '1', '2ème': '2', '3ème': '3', '4ème': '4', '5ème': '5', '5me': '5', }, 'eventtype_id_map': table({ 'header' : ['decision_...
[ "julien.jaumotte@imio.be" ]
julien.jaumotte@imio.be
869b706aef431b79303b75925f7458e4b60dc795
453302ff0c16614eb820c7153835bb549d903ebe
/devel/lib/python2.7/dist-packages/zed_interfaces/msg/_BoundingBox2Df.py
0b7ed9643ab1878bbfb9a068cb7e8925af62b332
[]
no_license
SimonSongg/catkin_ws
591a8bee4864b2e31cc2abb041c082e2d4dc9d83
afbf5346be2fdfa5aace7ed949d5023b3016363d
refs/heads/main
2023-07-13T13:28:00.827983
2021-08-22T07:18:01
2021-08-22T07:18:01
380,931,544
0
0
null
null
null
null
UTF-8
Python
false
false
4,859
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from zed_interfaces/BoundingBox2Df.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import zed_interfaces.msg class BoundingBox2Df(genpy.Message): _md5sum ...
[ "sf995511sf@qq.com" ]
sf995511sf@qq.com
d43b41e8898099c2d0653491c0956e00b9f83f0b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_discredited.py
78775eb84c13e5fd300ca836218327c694cd5557
[ "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
236
py
#calss header class _DISCREDITED(): def __init__(self,): self.name = "DISCREDITED" self.definitions = discredit self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['discredit']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a9a202899654ba68a70b4b4d4778afc73d0458a1
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/51/usersdata/66/21176/submittedfiles/listas.py
a49c6471910ef218c941104dba77cd9b949febd3
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
# -*- coding: utf-8 -*- import math def maiordegrau (a): maior=0 for i in range (0,len (a)-1,1): degrau = math.fabs (a [i]- a[i+1]) if degrau>maior: degrau+maior return maior n=input("digite a quantidade de termos de a:") a=[] for i in range(0,n,1): a.append(input(...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
9698bb6a075bdcae2fbfedfd42096f6d0b6610db
90a7b50edfd401b613809ebe3eb4c4f1bac3bd0c
/servers/jawcloud.py
fab4152128792ca4023e88bed8df9bf70643eee5
[]
no_license
MasQchips/plugin.video.balandro
a21c7e28d5d9a5c4934e399f7b1b5ec45e5cc6ff
64d9d34501e5bdd6f07b46ef3cd9a0c611a91dbc
refs/heads/master
2022-11-20T07:20:10.184042
2020-07-20T23:47:27
2020-07-20T23:47:27
281,248,049
0
2
null
null
null
null
UTF-8
Python
false
false
551
py
# -*- coding: utf-8 -*- from core import httptools, scrapertools from platformcode import logger def get_video_url(page_url, url_referer=''): logger.info("url=" + page_url) video_urls = [] data = httptools.downloadpage(page_url).data # ~ logger.debug(data) if 'The file you were looking for coul...
[ "masqelec@gmail.com" ]
masqelec@gmail.com
ab98cf926784b31fb084dc720a7037d4e3e17886
698a7f8dff61a77c4e2b2592d7ec5a93ccc22783
/src/pustakalaya_apps/document/migrations/0015_document_license.py
ec1d8a0d91f263deda17919a22f9b134f9c79e15
[]
no_license
Pustakalaya/pustakalaya
e941d03184f4538482c6be2283acba3c0f409574
d8e59030b8f294820e4c04d8add13aa549670d5b
refs/heads/master
2023-07-06T14:39:38.552366
2018-03-22T04:37:20
2018-03-22T04:37:20
102,353,304
4
3
null
2018-03-06T06:47:21
2017-09-04T11:17:40
JavaScript
UTF-8
Python
false
false
629
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-03-12 08:04 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0010_licensetype'), ('document', '0014_merg...
[ "nishantkarki305@gmail.com" ]
nishantkarki305@gmail.com
eb90b9c9d6f72af86eed6f492b99f8dccfefb4af
b1c25491f168a86b927cdd215be7e03213ac2c7b
/brainfry/urls.py
12958472666f92222584c6ac9b5498277ec1171d
[ "MIT" ]
permissive
wasi0013/brainfry
0b1e0def374050deca3d1a24f5d32a330114e63f
db352a1b706a061355d8441f3ed7fb5f15a4e23e
refs/heads/master
2020-06-23T14:25:57.695837
2016-08-28T14:24:36
2016-08-28T14:24:36
66,649,616
1
1
MIT
2018-02-23T16:16:41
2016-08-26T13:24:29
Python
UTF-8
Python
false
false
815
py
"""brainfry URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "wasi0013@gmail.com" ]
wasi0013@gmail.com
ff28a67bd124a8aa46632f4bbfb39d005e937722
e9e944ef2b2dd36d532f9ec99bb07e874a1dcbb7
/dev/summary/ID2_TSloss_variancePrediction.py
3fff8a6c8ff8492d42a0acc3de9188e8bfa32b87
[]
no_license
amunzur/M1RP
26a1dd8024fed129ccce25f5b5767729aa8598c8
51e1f749381e9c571fdbea36379f63e0ea32f982
refs/heads/master
2023-08-28T02:55:41.874859
2021-09-14T00:01:54
2021-09-14T00:01:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,162
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 5 13:06:49 2021 @author: amurtha """ import pandas as pd import matplotlib.pyplot as plt # ============================================================================= # Create by patient boxplot # ======================================================================...
[ "andy.murtha@gmail.com" ]
andy.murtha@gmail.com
5ede41e9985c61ced6ef9bfd468de3bca52ef7e0
1bb42bac177fb4e979faa441363c27cb636a43aa
/personalization_benchmark/cross_device/constants.py
7eac64cece67f9abbfb872e38fccaa89ddfb60a2
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
google-research/federated
a6040e80fa0fbf533e0d665c66a9bc549d208b3d
329e60fa56b87f691303638ceb9dfa1fc5083953
refs/heads/master
2023-08-28T13:10:10.885505
2023-08-22T23:06:08
2023-08-22T23:06:40
295,559,343
595
187
Apache-2.0
2022-05-12T08:42:53
2020-09-14T23:09:07
Python
UTF-8
Python
false
false
1,620
py
# Copyright 2022, 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
8389375de529860722c2abe63b884476c628b6d0
b5f4366a8fa9ae64b9c51dd542bea431c42cc398
/hokusai/lib/config_loader.py
7c57a18157ac71ec0587b2f9eb75c3a3ce2ef6da
[ "MIT" ]
permissive
cavvia/hokusai
8791f858646928bb649f9d494835c0a3b034b08c
040a56563f57d5f2fc960cabcc4aa2276cc39c7d
refs/heads/master
2020-06-16T12:11:37.944898
2020-04-21T22:04:37
2020-04-23T15:57:33
75,104,430
1
0
null
2016-11-29T17:18:02
2016-11-29T17:18:02
null
UTF-8
Python
false
false
1,308
py
import os import tempfile from shutil import rmtree, copyfile from urlparse import urlparse import boto3 import yaml from botocore.exceptions import ClientError from hokusai.lib.common import get_region_name from hokusai.lib.exceptions import HokusaiError class ConfigLoader: def __init__(self, uri): self.uri...
[ "isac.petruzzi@gmail.com" ]
isac.petruzzi@gmail.com
94fbd113a398f43f2606e0cd89edf1e3ab1612e4
14b5679d88afa782dc5d6b35878ab043089a060a
/students/FuYuting/voice/voice.py
755ab521f87d9c3e3478fe87d2373481aec2fc85
[]
no_license
mutiangua/EIS2020
c541ef32623f67f9277945cd39cff3c02f06e4dd
92aa2711b763a2c93be238825c445bf2db8da391
refs/heads/master
2022-11-18T05:21:47.567342
2020-07-11T10:11:21
2020-07-11T10:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,768
py
import pyaudio import wave from aip import AipSpeech from xpinyin import Pinyin import paho.mqtt.client as mqtt import requests from weather import * from nature import * from music import * from move import * # import time # MQTTHOST = "47.101.154.50" MQTTPORT = 1883 mqttClient = mqtt.Clien...
[ "noreply@github.com" ]
mutiangua.noreply@github.com
41aa77f609306e22c7f7895959151ca033d44b56
e849a2d6e523b1e45f90a19ee9d1353e17ac899e
/org-code/1-02.py
16773e2a35cfd6c71b9a40a0b61c0a5a98a20186
[]
no_license
tnakaicode/PhotoeElectric
7f4733276dd2f4e97adcf1471cce953ceb03f08d
7ebaeb18e0531a7701ddf350dc9aee6ac3154f99
refs/heads/master
2022-04-27T05:23:38.238166
2022-03-31T04:42:34
2022-03-31T04:42:34
221,597,526
0
0
null
null
null
null
UTF-8
Python
false
false
2,106
py
import scipy as sp import matplotlib as mpl import matplotlib.pyplot as plt from numpy import pi,sin,cos,tan,arcsin,linspace,arange from matplotlib.pyplot import plot,show,xlabel,ylabel,title,legend,grid,axis,tight_layout n1 = 1 # 媒質1の屈折率 n2 = 1.5 # 媒質2の屈折率 t1Deg = linspace(0, 90, 90) # 入射角 t1 の配...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
b6e8275564a40f1ca028aa5039afb6c94fac9c5a
a7d2f65a491d8db72cc17193a1158aa80f446d4b
/tests/command_line_Test.py
39859d2d6258051b353c1f06149ee6aa07fea4ad
[ "Apache-2.0" ]
permissive
Python3pkg/JustReleaseNotes
a90c4e01444543c7340a315a0d2cd61a133c9c2b
6d3a97abbb739897c66333778595e62475261b59
refs/heads/master
2021-01-21T17:37:36.419840
2017-05-21T15:47:27
2017-05-21T15:47:27
91,968,701
0
0
null
2017-05-21T15:47:25
2017-05-21T15:47:25
null
UTF-8
Python
false
false
2,213
py
import unittest import JustReleaseNotes.command_line import sys, os from mock import Mock, MagicMock, mock_open, patch from sys import version_info if version_info.major == 2: import builtins as builtins else: import builtins class CommandLine_Test(unittest.TestCase): mockedData = '{ '\ ...
[ "raliclo@gmail.com" ]
raliclo@gmail.com
62caa78042daf6972e66b69fb65a44d4b9fac04d
ffebd032305f767826ad6ab5ecf19acaeaf7cf37
/attn/migrations/0002_auto_20170514_1113.py
cf6458d0d0fbaaa5ea89b394cde79e340b198d15
[]
no_license
MiniGunnR/erp
16e1d4d84fcd18f9d976ae7308ca20e2abf7f53a
33ff0731a85e5e04b3062bc608acf4e2174626ef
refs/heads/master
2021-01-01T17:33:19.640372
2018-09-06T07:25:00
2018-09-06T07:25:00
78,326,050
1
0
null
null
null
null
UTF-8
Python
false
false
546
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-05-14 05:13 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('attn', '0001_initial'), ] operations = [ migrations.AlterModelOptions( ...
[ "hasan.mohaiminul@gmail.com" ]
hasan.mohaiminul@gmail.com
d2e76c520b1918df8ec64599fc2831199068f9c9
3c1591966e18903728989f8fa83a308eb2199e19
/maestros/bancos/migrations/0002_auto_20200407_2222.py
aa59ad8ed67cc5883665f29eb0a8039832b59283
[]
no_license
walmardfg/api-ibuss
227ed086a2078b3bb3a39c73e5859315906f0337
04ba5c776b1509bc9e738b34586803cab5cbbb0d
refs/heads/master
2022-12-12T14:18:36.521974
2020-04-24T17:28:25
2020-04-24T17:28:25
254,252,331
0
0
null
2022-12-08T04:01:00
2020-04-09T02:32:35
Python
UTF-8
Python
false
false
431
py
# Generated by Django 3.0.4 on 2020-04-07 22:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bancos', '0001_initial'), ] operations = [ migrations.AlterField( model_name='banco', name='ind_estado', ...
[ "WALMARDFG@GMAIL.COM" ]
WALMARDFG@GMAIL.COM
ad61a7b1864f35b63e67b1091320c1d13c7c851d
ce6739d9e76f16d1cbdfbb3292cdabac62d23ee1
/mod_3/lesson_2/ex_1_property_get/estudent/grade.py
f359233dc017d7181e2e08ca08110da3a40f4b4d
[]
no_license
adrbed/python_poczatek
1a863c0dc40c2315ced8985cf0b31d1b84e3f940
134626ccbe2255b0a28183e7d5d212db12c7deb4
refs/heads/master
2023-02-10T15:06:51.888544
2021-01-09T18:23:56
2021-01-09T18:23:56
328,218,686
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
class Grade: FAILING_GRADE = 1 def __init__(self, value): self.value = value def is_passing(self): return self.value > Grade.FAILING_GRADE def __repr__(self): return str(self.value)
[ "adrianbednarczyk1@gmail.com" ]
adrianbednarczyk1@gmail.com
d8892de1f662d57c11fa055210055fa0ce574ade
ac9724cfdd7866980694286556ad68afb8120204
/descarteslabs/workflows/types/geospatial/convolution.py
4609a5e02473065ddc399d7b9fd436cf0d3e7ea7
[ "Apache-2.0" ]
permissive
stjordanis/descarteslabs-python
8d5d04d831ec20379f00017a3e361521fbe1c6ae
039e4a679b554e085f935f8d725f560bdce6b688
refs/heads/master
2023-06-21T13:11:31.776208
2021-08-12T03:13:57
2021-08-12T03:41:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,331
py
from ...cereal import serializable from ..core import typecheck_promote from ..primitives import Int, Float from ..containers import List, Struct, Tuple from .image import Image from .imagecollection import ImageCollection KernelBase = Struct[{"dims": Tuple[Int, Int], "data": List[Float]}] @serializable(is_named_co...
[ "support@descarteslabs.com" ]
support@descarteslabs.com
3c774e9e20d77c3266797942cf068570be7d224f
789947f99d2fdcfdc16542ff77e4f675dfcbac09
/setup.py
aefc087efea8b999c4b88b0ab2882ed0c659fb10
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
biomodels/MODEL1302010034
da75814ab74e4bd4bfe986bf9e01edb1f09307d6
79dfd063609aa9aafe70abf071bfd23dd25c5995
refs/heads/master
2021-01-13T02:18:28.204925
2014-10-16T05:55:18
2014-10-16T05:55:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from setuptools import setup, find_packages setup(name='MODEL1302010034', version=20140916, description='MODEL1302010034 from BioModels', url='http://www.ebi.ac.uk/biomodels-main/MODEL1302010034', maintainer='Stanley Gu', maintainer_url='stanleygu@gmail.com', packages=find_packages(...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
1b201533a619e9eb4080b07105059567535e153e
d9c79c78365211f96db1252a9609ee76bf6a81f2
/p1.py
a1d0825f0fb5c1505ff5b71e7e660c6c6ad6aeb6
[ "MIT" ]
permissive
UCSB-CMPTGCS20-S16/CS20-S16-Lecture-04-14-Koc
e84614511122681f90258a77979d1dfe6068269e
e5cb3e17e67b03ab3d731e3891f0efa0491f0aa1
refs/heads/master
2021-01-01T04:12:27.763902
2016-04-16T03:17:10
2016-04-16T03:17:10
56,267,623
1
0
null
null
null
null
UTF-8
Python
false
false
659
py
def func(n): sum = 0 for i in range(1,n+1): sum = sum + i**2 return(sum) def func2(n): sum = 0 for i in range(1,n+1): sum = sum + 1/i return(sum) #------------------------- def func3(n): prod = 1 for i in range(2,n+1): prod = prod*i print(...
[ "pconrad@cs.ucsb.edu" ]
pconrad@cs.ucsb.edu
5ef947cb1fc836d3a3842c81fd2967cb62ee702f
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.11.24/1/1569574538.py
a6b44eec6ebe2ad9950ade1cdfdcab786b4b4518
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def nwords(s: str) -> int: """Berechnet die Anzahl der Worte in s Arg: s: str Return int: Anzahl der Worte """ counter = 0 word_started = False for i in s: if i not in string.whitespace: ...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
c14e4211a311d5975d894956b3a18dc0427ba2d0
32fdc94d1b8d98085db5d1e8caae4161d3e70667
/3rd_party/python3.7/lib/python3.7/site-packages/mining-0.2.2-py3.7-linux-x86_64.egg/mining/controllers/api/__init__.py
961e2e6aa59cc637115adc11269aca7e8eb278ea
[ "Python-2.0" ]
permissive
czfdlut/ticket_proxy
fa0f1924a86babfa7ce96cf97e929f7bf78643b7
0d7c19448741bc9030484a97c1b8f118098213ad
refs/heads/master
2022-12-23T05:25:58.207123
2019-11-20T03:58:31
2019-11-20T03:58:31
174,579,562
1
3
null
2022-12-18T01:18:07
2019-03-08T17:22:48
Python
UTF-8
Python
false
false
750
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from bottle import Bottle from .connection import connection_app from .cube import cube_app from .element import element_app from .widget import widget_app from .dashboard import dashboard_app from .user import user_app from .group import permissions_group_app from .filter...
[ "czfdlut@163.com" ]
czfdlut@163.com
d8eb684afe594d8c54578cbe18470366577c9368
d7641647d67d110e08997767e85bbea081c2537b
/bitmovin_api_sdk/models/muxing_type.py
bc9b18e1796cbc70be9f02a881c51f6949214201
[ "MIT" ]
permissive
aachenmax/bitmovin-api-sdk-python
d3ded77c459852cbea4927ff28c2a4ad39e6026a
931bcd8c4695a7eb224a7f4aa5a189ba2430e639
refs/heads/master
2022-11-16T08:59:06.830567
2020-07-06T07:16:51
2020-07-06T07:16:51
267,538,689
0
1
MIT
2020-07-06T07:16:52
2020-05-28T08:44:44
Python
UTF-8
Python
false
false
507
py
# coding: utf-8 from enum import Enum from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model class MuxingType(Enum): FMP4 = "FMP4" CMAF = "CMAF" MP4 = "MP4" TS = "TS" WEBM = "WEBM" MP3 = "MP3" PROGRESSIVE_WEBM = "PROGRESSIVE_WEBM" PROGRESSI...
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
94890306c2fbda7b15aeff1695bd7b397d19f02e
da2aa359b6e4a481aec3d27f31ba0b156d8b96f0
/data/games/centipede/game_scene.py
c63f4d02033a7f1a113c4e31d55b0a4f990fe7e9
[]
no_license
reddit-pygame/Python_Arcade_Collab
92b830b6b47dca7e66200dad859a7d06aa9f4876
d01d411c307cfb42bd28777db41f37e5edffb677
refs/heads/master
2021-04-15T15:19:49.961469
2018-04-02T14:20:24
2018-04-02T14:20:24
126,567,507
4
2
null
null
null
null
UTF-8
Python
false
false
2,562
py
""" This is the template for the games accessible from the lobby. To add your own game to the lobby, copy this folder into games, and change the folder name to the name of your game. Then get to work. """ import pygame as pg from data.core import constants from data.components.state_machine import _State from data.co...
[ "3ror@live.com" ]
3ror@live.com
1454a9a33bb190c63b1d5b4fb13db0f174d992e7
98dfeed2105f48667964cc47252304b15ae588d6
/alfabet/fragment.py
bbbb87618ff2a9871778208df91dad560a56a6d0
[ "BSD-2-Clause" ]
permissive
jamesma100/alfabet
74a7f69248160ee415ddc1f9326a4cf763713533
a75d3d2cacd855ce5e7ffd5a73fc0d52e632d64f
refs/heads/master
2023-08-22T06:50:33.927753
2021-09-29T01:11:47
2021-09-29T01:11:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,628
py
import logging from collections import Counter import pandas as pd import rdkit import rdkit.Chem import rdkit.Chem.AllChem def fragment_iterator(smiles, skip_warnings=False): mol_stereo = enumerate_stereocenters(smiles) if ((mol_stereo['atom_unassigned'] != 0) or (mol_stereo['bond_unassigned'] !...
[ "peterc.stjohn@gmail.com" ]
peterc.stjohn@gmail.com
deceb9d91787414fd92c4cf2fcc422d06f582ef5
d20f9d253ee13bf9e6cf87e5eb0f8966e3059a21
/app/practice/routes.py
24a293dc82098dd4cc5abf81f480346c994e142c
[ "MIT" ]
permissive
benjaminhuanghuang/math_clone
bedd9d35c09285f53bc8f72996d7d43fd1fb7ab9
8fd5d5ed878559629101c6c33d61f2ead80a652c
refs/heads/master
2020-12-16T23:48:26.246858
2016-06-26T00:21:07
2016-06-26T00:21:07
61,341,312
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
from flask import render_template, flash, redirect, url_for, abort,\ request, current_app from flask_login import login_required, current_user from . import practice @practice.route('/courses/') @login_required def courses(): return render_template('practice/courses.html') @practice.route('/assignment/') @l...
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
08bce49056781f2dadea3de5347ac7882b513dd4
a1ac724d9d904e6534e61e020038be1aded8c381
/table_widgets/date_time_timezone_wdg.py
12bc81274c9fc638ff19b7f50fb7c53735fc08eb
[]
no_license
2gDigitalPost/custom-rewrite
311db503ca2641bed3a3380bda73df24556bb8a1
b6d66c166ec4610e7a2125baee8d20a54b4a6ff2
refs/heads/master
2020-05-21T16:14:42.145612
2017-09-05T21:08:15
2017-09-05T21:08:15
60,658,244
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
from pyasm.widget import DateYearTimeWdg from common_tools.time_utils import datetime_string_to_timezone_aware_string class DateTimeTimezoneWdg(DateYearTimeWdg): def get_display(my): timestamp = my.get_value() return datetime_string_to_timezone_aware_string(timestamp)
[ "tstand90@gmail.com" ]
tstand90@gmail.com
4f5adacfe7adf09f75ccd66f55633a55cb1e9a97
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/Packager/FPythonCode/PackageInstallerParametersManager.py
bb1fcbd52ca5603a446c905953b1997260d10815
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,540
py
''' P A C K A G E I N S T A L L E R P A R A M E T E R S M A N A G E R Copyright (c) 2015 by SunGard Front Arena AB Author: Michael Gogins This module stores, saves, and restores configurable parameters for the Package Installer system. Some of these parameters are global for the ADS, and some parameters are p...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
3db5afcce7d505bd9d499d5aff8933e8442214ef
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0278-First-Bad-Version/soln.py
357145c7ae88314ed8e6d667607442b4dd3ec5e2
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
462
py
# The isBadVersion API is already defined for you. # @param version, an integer # @return a bool # def isBadVersion(version): class Solution: def firstBadVersion(self, n): """ :type n: int :rtype: int """ l, r = 1, n while l < r: mid = (l + r) >> 1 ...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
e88e53c4f7d65e4c23a4665a38228b9ead3c3577
dcd75f76e2460a20a21e9ea5bb6f12c7cce0b2fa
/tests/test_combined.py
985e9d1996b4aaffbde57a742cd98a981a7804bb
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
AIAdventures/mystic
844934307cd708d0736c43ac2261c45a82e75399
663f3a180cb18dba24822344d572588a8a5608db
refs/heads/master
2021-01-18T20:38:28.755095
2017-02-01T21:09:09
2017-02-01T21:09:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,368
py
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 1997-2016 California Institute of Technology. # Copyright (c) 2016-2017 The Uncertainty Quantification Foundation. # License: 3-clause BSD. The full license text is available at: # - http://trac.mystic.cacr.caltech.ed...
[ "mmckerns@968178ea-60bd-409e-af13-df8a517b6005" ]
mmckerns@968178ea-60bd-409e-af13-df8a517b6005
7b2da56bd35a1c8aa10de9f87965d600cb5bcb13
6e5ab77fee1fb4a0310213dd8c6dd8601828b1b9
/Algorithm/문제/수업/D-08/반복문자 지우기.py
c24f98f917a8985f93adc9f4ba33ef2636b0256e
[]
no_license
hongyong3/TIL
36d031c0da9e3e6db3eebb977bd3e12df00a849f
7f1492128e957a78fc95b255f4f7f2978161e471
refs/heads/master
2023-08-19T09:16:03.231757
2023-08-18T09:38:47
2023-08-18T09:38:47
162,100,258
1
0
null
2023-02-11T00:52:32
2018-12-17T08:42:42
Jupyter Notebook
UTF-8
Python
false
false
336
py
import sys sys.stdin =open("반복문자 지우기_input.txt", "r") T = int(input()) for test_case in range(1, T+1): data = list(input()) x = 1 while x != len(data): if data[x] == data[x-1]: del data[x] del data[x-1] x = 0 x += 1 print("#{} {}".format(test_case, x...
[ "chy66822495@gmail.com" ]
chy66822495@gmail.com
b7f42193d25792193398b2459b9b754b9c2eccb5
986bd8f5d489534dea7d644b760583dd5d589980
/0234_palindrome_linked_list.py
9618e6e618d3eee6f2a3d2277caa2df5d0830b4e
[ "MIT" ]
permissive
subwaymatch/leetcode
f259352df611e0c0cc1101bb1120099e8faa939e
63ac467d8c6b36656975eb58f3b1c34474586bf2
refs/heads/master
2023-01-28T09:50:01.762731
2023-01-10T15:32:41
2023-01-10T15:32:41
135,706,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def isPalindrome(self, head: ListNode) -> bool: list_length = 0 # Count number of nodes (and get list length) curr_node = head ...
[ "noreply@github.com" ]
subwaymatch.noreply@github.com
d9e612867e625c39677de9651bd0eb1593c9ec59
5c099927aedc6fdbc515f40ff543c65b3bf4ec67
/algorithms/longest-repeating-character-replacement/src/Solution2.py
ba131651f3731602c4658252d912567f75dfdd70
[]
no_license
bingzhong-project/leetcode
7a99cb6af1adfbd9bb1996a7f66a65679053c478
ba82e7d94840b3fec272e4c5f82e3a2cfe4b0505
refs/heads/master
2020-04-15T09:27:33.979519
2020-03-10T03:43:07
2020-03-10T03:43:07
164,550,933
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
import collections class Solution: def characterReplacement(self, s: 'str', k: 'int') -> 'int': if len(s) == 0: return 0 res = 0 counter = collections.defaultdict(int) left = 0 right = k for i in range(right + 1): counter[s[i]] += 1 w...
[ "zhongyongbin@foxmail.com" ]
zhongyongbin@foxmail.com
72fbb47aaf13d28c9521f4aba098a8dc2845765f
288a00d2ab34cba6c389b8c2444455aee55a8a95
/tests/expect-fail23/recipe-576375.py
d48b8591b276aa450a279b2c90a262078f525f25
[ "BSD-2-Clause" ]
permissive
JohannesBuchner/pystrict3
ffd77b7bbc378bd4d8f21b5c6bd69a0d64a52ddb
18b0dd369082422f9bf0f89c72e7acb53a49849c
refs/heads/master
2023-08-14T06:37:37.954880
2023-07-13T11:16:38
2023-07-13T11:16:38
268,571,175
1
1
null
null
null
null
UTF-8
Python
false
false
2,506
py
''' Low level inotify wrapper ''' from os import read, close from struct import unpack from fcntl import ioctl from termios import FIONREAD from time import sleep from ctypes import cdll, c_int, POINTER from errno import errorcode libc = cdll.LoadLibrary('libc.so.6') libc.__errno_location.restype = POINTER(c_int)...
[ "johannes.buchner.acad@gmx.com" ]
johannes.buchner.acad@gmx.com
a3976091d95504a39723004cb200e5122b641f70
c048d89201aba243e6fc07ebeabbf2735a4ee688
/old/v3/algo_coin/dashboard/views.py
51bb230588975e017e7af4c380252a8a9a592091
[]
no_license
JFD3D/algo-coin
df79dd25de432fd79b3c706589f6c6f315e98c16
38bf5d8baa07b35a0cb99277805cfcffa3f3f563
refs/heads/master
2021-01-15T13:23:26.272967
2016-09-03T16:35:55
2016-09-03T16:35:55
68,502,322
0
1
null
2016-09-18T06:48:37
2016-09-18T06:48:37
null
UTF-8
Python
false
false
133
py
from django.shortcuts import render # Create your views here. def index(request): return render(request,"dashboard/index.html")
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
f530ad367d708c1a792f1c29773852c434ed9f26
0b1c6a559c8f8f38ec0a9b62c5fdec786488c77e
/appspot/invoices/migrations/0002_auto_20171005_1551.py
8f1fb0e8611f3e8fb1cf15999b18f7ec5bd0d672
[]
no_license
smartworld1000/django_appspot
9372b1edeb3e9d2507ca49463d34b0cf22e652ed
d801d910ff52b83a45f3bf68334bb06a91b81221
refs/heads/master
2021-05-14T03:39:07.613510
2017-11-05T07:42:59
2017-11-05T07:42:59
116,621,632
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2017-10-05 15:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('invoices', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "itokonoha8972@outlook.com" ]
itokonoha8972@outlook.com
1bc8babefcadf1fd863d95fcf11eeb94c1504763
3fbd26091ebbc13913f9c7be1aaf10d477c79536
/week01/zuoye/requests_maoyan/.history/maoyan_20200626224904.py
854d037366d4c2fb6cf66850c6acbaf758c52813
[]
no_license
shuncon/Python001-class01
d28faf3d5d8e9ea4cee93bcae7143a26fd8c472e
df19758181cdaf37f30d4b518600fc4612590499
refs/heads/master
2022-11-13T19:31:27.019214
2020-07-10T14:58:25
2020-07-10T14:58:25
273,135,541
0
0
null
2020-06-18T03:46:56
2020-06-18T03:46:55
null
UTF-8
Python
false
false
511
py
#-*-conding:utf-8 -*- import requests import lxml from bs4 import BeautifulSoup as bfs user_agent= 'Accept: application/json', 'Content-Type: application/x-www-form-urlencoded', 'Origin: https://maoyan.com/', 'Referer: https://maoyan.com/films?showType=3', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (K...
[ "1428834423@qq.com" ]
1428834423@qq.com
6f8de1373f4907e076341be8772eb1a3b39d7420
84c36e9067476a730d88f5ec799deabd5a46a44d
/XXXXXXXXX/PyQt5-Mini-Projects-master/databaseEx/createTabCol/main.py
fd6fdab187aee2a14c8e8a9da9de68a23d8170b1
[]
no_license
AGou-ops/myPyQT5-StudyNote
8bbce76b778a55c31773313d137682c77d246aad
7e5eb426b6f30c301d040f6bc08f8a3c41d4a232
refs/heads/master
2022-11-06T00:05:25.603798
2020-06-20T01:59:45
2020-06-20T01:59:45
261,099,203
0
0
null
null
null
null
UTF-8
Python
false
false
3,589
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectN...
[ "suofeiyaxx@gmail.com" ]
suofeiyaxx@gmail.com
29eee233904a210d4afe8fcf787d597643147921
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1_neat/16_0_1_haychris7_sheep.py
43bff882ec618618a841031456953babed6a7f8e
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
320
py
import sys T = int(sys.stdin.readline()) for i in range(T): N = int(sys.stdin.readline()) digit_set = set() count = 1 if N > 0: while len(digit_set) < 10: digit_set = digit_set.union(set(str(N*count))) count += 1 answer = str(N*(count-1)) else: answer = "INSOMNIA" print "Case #%d: %s" % (i+1, answer)
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
46233fd3d0e80aed26c6147d10b0e274d0e04dac
66213c48da0b752dc6c350789935fe2b2b9ef5ca
/abc/044/c2.py
5fd11133448586b1ca9268e251e78d0920b6b986
[]
no_license
taketakeyyy/atcoder
28c58ae52606ba85852687f9e726581ab2539b91
a57067be27b27db3fee008cbcfe639f5309103cc
refs/heads/master
2023-09-04T16:53:55.172945
2023-09-04T07:25:59
2023-09-04T07:25:59
123,848,306
0
0
null
2019-04-21T07:39:45
2018-03-05T01:37:20
Python
UTF-8
Python
false
false
892
py
# -*- coding:utf-8 -*- def solve(): N, A = list(map(int, input().split())) X = list(map(int, input().split())) dp = [[[0 for _ in range(4000+1)] for __ in range(N+1)] for ___ in range(N+1)] """ dp[i][j][k] := i枚のうち、k枚のカードを選んで、選んだカードの総和がkになる選び方の総数 i: i枚目のカード j: j枚のカードを選んだ k: 選んだカードの総和 ...
[ "taketakeyyy@gmail.com" ]
taketakeyyy@gmail.com
b9fa4f3ec9d39ddd87649ea5c59cd20d0d773b5f
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/31113014.py
2913a8a025eef764ef37fcc3dd044d15c43bcfe4
[]
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
748
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/31113014.py generated: Fri, 27 Mar 2015 16:10:03 # # Event Type: 31113014 # # ASCII decay Descriptor: [tau- -> mu- e+ mu-]cc # from Configurables import Generation Generation().EventType = 31113014 Generation().SampleGenerationTool = "SignalPlain" from Co...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
114073f18a220ef1684d4cb50d303a86b9eb24f3
077c91b9d5cb1a6a724da47067483c622ce64be6
/pox_broken_floyd_updated_mcs/interreplay_7_l_2/interactive_replay_config.py
d5113d1238e88ea0756ff2382ecf249961e5fc68
[]
no_license
Spencerx/experiments
0edd16398725f6fd9365ddbb1b773942e4878369
aaa98b0f67b0d0c0c826b8a1565916bf97ae3179
refs/heads/master
2020-04-03T10:11:40.671606
2014-06-11T23:55:11
2014-06-11T23:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,940
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow.interactive_replayer import InteractiveReplayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[Co...
[ "cs@cs.berkeley.edu" ]
cs@cs.berkeley.edu
d195e80a288518a6fa689401e809aea16d5b6145
4d89652acca24e0bc653e0b4cb5846ceb5b568e4
/google-cloud-sdk/lib/surface/run/revisions/list.py
d7f4b4159e77761ea4a7b388f912a05bf2dd98a7
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
ibssasimon/LyricLingo
410fcec94d2bd3ea75c975c55713f5b8fb913229
0dfc951b270912470b36ce0083afd9d4fe41b10a
refs/heads/master
2021-06-25T10:00:18.215900
2020-01-09T00:35:46
2020-01-09T00:35:46
222,135,399
2
1
null
2021-04-30T20:54:14
2019-11-16T17:32:19
Python
UTF-8
Python
false
false
3,782
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...
[ "ibssasimon@gmail.com" ]
ibssasimon@gmail.com
1d8c2bbaf9f16ab372a75b29dcc8eb0f25a99aaa
cf1f1d3f7a4aaaaaee322b0101f7b294909c5a67
/Code/matthew/html/matthew/django/todoproj2/todoajax/models.py
9999a2c2523af08f34a5125e5b31cb7fb1efc797
[]
no_license
PdxCodeGuild/class_emu
0b52cc205d01af11860a975fc55e36c065d1cc68
9938f384d67a4f57e25f2714efa6b63e2e41b892
refs/heads/master
2020-05-31T01:16:52.911660
2019-12-09T05:22:06
2019-12-09T05:22:06
190,046,342
4
0
null
null
null
null
UTF-8
Python
false
false
160
py
from django.db import models class TodoAjaxItem(models.Model): text = models.CharField(max_length=200) def __str__(self): return self.text
[ "flux2341@gmail.com" ]
flux2341@gmail.com
00b7b6fd071e144693e3aeb3519ed547830def10
6d7357f3d0def3e317a133077abee0fd6232bda1
/schemas/tmux.py
ec13843ce744432d374223ce25f41c13a094336f
[]
no_license
svetlyak40wt/osbench
e3b91d3863bc2bfbf41e70841d1bbe24230dc455
b848c811eec256c880aede3a38b28b4d0c53448d
refs/heads/master
2021-01-17T11:28:32.246299
2018-03-07T14:39:17
2018-03-07T14:39:17
4,046,387
1
2
null
2014-01-19T05:29:57
2012-04-16T22:00:59
Python
UTF-8
Python
false
false
386
py
class Tmux(Schema): url = 'http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-1.9a.tar.gz?use_mirror=citylan' homepage = 'http://tmux.sourceforge.net/' deps = ['system.libevent-dev', 'system.libncurses5-dev', 'system.make'] def install(self): self.call('./configure --prefix={prefi...
[ "svetlyak.40wt@gmail.com" ]
svetlyak.40wt@gmail.com
bbe5851d5d20d66c7583229cb3ef2cd0ba327792
9d862dd68f8b4ea4e7de9397fef8592824c77449
/app/top/api/rest/HttpdnsGetRequest.py
75916c5eabfe205120405312184b31206edcceb4
[]
no_license
hi-noikiy/tmall-sku-outer_id
ffaca630dfb288ca33d962b8a050932d1047b9c8
1bcf29386a513bcb210bf5d91016e0dcb1ebc1ad
refs/heads/master
2021-05-09T18:20:27.150316
2017-03-08T06:43:57
2017-03-08T06:43:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
''' Created by auto_sdk on 2016.03.24 ''' from app.top.api.base import RestApi class HttpdnsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) def getapiname(self): return 'taobao.httpdns.get'
[ "1037096435@qq.com" ]
1037096435@qq.com
9764aaee0f251f6091332450fb853a2c90338a88
c7e6103c7847cfcbeffef7188a9a57c827857ebe
/ros/build/tl_detector/catkin_generated/pkg.develspace.context.pc.py
968635940ffe0ffc91ced697b34d71cc6272cf5a
[]
no_license
ashnigam/submission-sys-int
eeda0f9aaaf32bb9bc2c7587f02307d4ad90b46e
eb482ad91f9c9600ea5ac873981ead96cc8a3eba
refs/heads/master
2021-05-04T21:15:52.642007
2018-02-01T01:17:23
2018-02-01T01:17:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
416
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 = "tl_detector" PROJECT_SPACE_DIR = "/ho...
[ "you@example.com" ]
you@example.com
e309cfdcdc9b8f348d9e2b4397251e06167118c4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02917/s627237979.py
b4d2c7b3c7910d14d5ea8c76a6f63caec92fb09e
[]
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
195
py
n=int(input()) b=list(map(int,input().split())) a=[] a.append(b[0]) for i in range(1,n-1) : if b[i-1] < b[i] : a.append(b[i-1]) else : a.append(b[i]) a.append(b[n-2]) print(sum(a))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b2c3d6146c9e03883a46290ffd0cf001faa1d886
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_arraigning.py
ab4f9380cf15a6b3ff47edd2a842ada4e0631676
[ "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
230
py
#calss header class _ARRAIGNING(): def __init__(self,): self.name = "ARRAIGNING" self.definitions = arraign self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['arraign']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
968040780bdac28dcc6f7dfa35e83ef99d21f5aa
9341a1eb44a8ecf9629cd58f746836ce4988acc4
/作业/第七次作业/FTP/ftpserver/conf/settings.py
bd7dcf2800d103d08a08031d6102f4d8c5d97fc6
[]
no_license
liudefang/14_day_training_camp
d846c91759b69b09b185a351c046187582336fbe
e608ceeb1ff47f8f458c1dbfc5974c428d351a2d
refs/heads/master
2023-03-10T09:20:52.719381
2023-02-22T10:32:30
2023-02-22T10:32:30
128,916,715
2
0
null
2023-01-05T21:57:52
2018-04-10T10:40:14
JavaScript
UTF-8
Python
false
false
625
py
# -*- encoding: utf-8 -*- # @Time : 18-6-9 上午11:12 # @Author : mike.liu # @File : settings.py import os import sys # 主程序目录文件 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # 添加环境变量 sys.path.insert(0, BASE_DIR) # 数据库目录 DATABASE = os.path.join(BASE_DIR, "database") # 用户宿主目录 HOME_PATH = ...
[ "15989576517@139.com" ]
15989576517@139.com
2ad599bd7eb19e68534a5b1f4df68b05b396dcf2
821687f9f0f523a1deea879f1bc4b866b489857f
/interaction3/arrays/matrix.py
03a71c0287c8000bdaf16ea2892c4b40af987dbe
[ "MIT" ]
permissive
bdshieh/interaction3
1426254e1153ad75fde828e7fee0905ced0a2566
b44c390045cf3b594125e90d2f2f4f617bc2433b
refs/heads/master
2021-05-09T13:00:49.681525
2020-07-08T14:41:09
2020-07-08T14:41:09
119,022,280
3
0
null
null
null
null
UTF-8
Python
false
false
5,035
py
## interaction3 / arrays / matrix.py import numpy as np from interaction3.abstract import * # default parameters defaults = dict() # membrane properties defaults['length'] = [40e-6, 40e-6] defaults['electrode'] = [40e-6, 40e-6] defaults['nnodes'] = [9, 9] defaults['thickness'] = [2.2e-6,] defaults['density'] = [204...
[ "bsauce@gmail.com" ]
bsauce@gmail.com
692974b6a9f725832fa73cfd16ce9aaba31ab7da
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/yFqZ8YNTPumtuiNQr_0.py
67306ca96588b8070c5fcf9324a0eea29d1ea847
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,880
py
""" You're creating a conlang called **Eadibitan**. But you're too lazy to come up with your own phonology, grammar and orthography. So you've decided to automatize the proccess. Write a function that translates an English word into Eadibitan. English syllables should be analysed according to the following rules: ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6c9ca72d2d31d394af246d40e4f211fb9050660d
198718f12396bd3accbdb7945384877974c9b98c
/cifar10/experiments/network_in_network/caffe_get_blobs.py
f1888c3a04353f52358f97b0068023edc1446ade
[]
no_license
perellonieto/datasets
94073ca373ce58f1b2557f3656f3586bdbeef0ce
7b9b858a26233cd9c369418a5e161c4b000aa549
refs/heads/master
2021-01-10T05:27:48.642450
2016-01-06T16:45:10
2016-01-06T16:45:10
45,905,146
0
0
null
null
null
null
UTF-8
Python
false
false
4,122
py
#!/usr/bin/python import os from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter import caffe from caffe.proto import caffe_pb2 from google.protobuf import text_format from math import ceil LAYERS_WITH_BLOB = ['Convolution', 'Pooling', 'Concat', 'InnerProduct', 'LRN', 'Accuracy', 'So...
[ "perello.nieto@gmail.com" ]
perello.nieto@gmail.com
b639e0c58c1ec8baecee5248e05169020e453ebf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02804/s242899286.py
7f8a2c964c3ddbb8a55414e37947ef2d4013e20d
[]
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
3,394
py
import sys sys.setrecursionlimit(10**7) #再帰関数の上限,10**5以上の場合python import math from copy import copy, deepcopy from copy import deepcopy as dcp from operator import itemgetter from bisect import bisect_left, bisect, bisect_right#2分探索 #bisect_left(l,x), bisect(l,x)#aはソート済みである必要あり。aの中からx未満の要素数を返す。rightだと以下 from collection...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
26677c6612bef5b8c7c174af0ae1e51235a29001
fd09e1c97fb634989a2125b8da3b9da48ecd0701
/bert/tests/transformer.py
2873c42d06134ee5794601a520125e87e81adecc
[ "MIT" ]
permissive
deepdialog/tf2bert
d9c3276866eccfbfe1ba513a0e81eefbc28c8de1
6b48dd9ade1d5c364805d35c63e7fccf893f5960
refs/heads/master
2022-06-09T06:05:44.627897
2021-10-14T05:06:04
2021-10-14T05:06:04
242,633,340
0
0
MIT
2022-03-26T22:48:11
2020-02-24T02:55:00
Python
UTF-8
Python
false
false
644
py
import tensorflow as tf from bert.transformer import TransformerEncoder params = { 'num_hidden_layers': 12, 'hidden_size': 768, 'num_attention_heads': 12, 'intermediate_size': 768 * 4, 'hidden_act': 'gelu', 'initializer_range': 0.02, 'hidden_dropout_prob': 0.1, 'attention_probs_dropout...
[ "mail@qhduan.com" ]
mail@qhduan.com
1a8a696392a8d6739c18726fe7c2c3df7487023a
1f006f0c7871fcde10986c4f5cec916f545afc9f
/apps/ice/ice_export_test.py
e567c17803576f10229d5a31d8a6293dbf05c299
[]
no_license
ptsefton/integrated-content-environment
248b8cd29b29e8989ec1a154dd373814742a38c1
c1d6b5a1bea3df4dde10cb582fb0da361dd747bc
refs/heads/master
2021-01-10T04:46:09.319989
2011-05-05T01:42:52
2011-05-05T01:42:52
36,273,470
0
0
null
null
null
null
UTF-8
Python
false
false
3,343
py
#!/usr/bin/env python # Copyright (C) 2007 Distance and e-Learning Centre, # University of Southern Queensland # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2...
[ "raward@gmail.com@110e3293-9ef9-cb8f-f479-66bdb1942d05" ]
raward@gmail.com@110e3293-9ef9-cb8f-f479-66bdb1942d05
54124296b36e7b6c2f1eff12f5371598d4927727
4c601eaa346e660c296e270cc2d79aea9a3721fe
/homeassistant/components/elgato/__init__.py
993748033b53ab8d4fff72368c3dfad113a525c3
[ "Apache-2.0" ]
permissive
basnijholt/home-assistant
f55110af9ff602274c0a929c7298ef97a0ef282f
ba55b4b8338a2dc0ba3f1d750efea49d86571291
refs/heads/dev
2023-01-21T11:53:52.621353
2020-08-08T15:03:06
2020-08-08T15:03:06
220,313,680
5
1
Apache-2.0
2023-01-13T06:04:49
2019-11-07T19:29:54
Python
UTF-8
Python
false
false
1,784
py
"""Support for Elgato Key Lights.""" import logging from elgato import Elgato, ElgatoConnectionError from homeassistant.components.light import DOMAIN as LIGHT_DOMAIN from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.core import HomeAssistant ...
[ "balloob@gmail.com" ]
balloob@gmail.com
f8671cc79fad7dae6e63911ae2fb682c8c3bc167
a0980a139c61faac7803270d12653228c6d2b886
/docs/src/index/index_03_openapi_more.py
94bfb2b36acec7239246f3be9d8a1ca555af7546
[ "MIT" ]
permissive
Daora-Softwares/apidaora
ad5c511cf68f61c54ffbbc6c28c8554fd8ccecf9
042540284e17b5f5ae41af3b33a709fe76ae144d
refs/heads/master
2020-08-03T11:45:32.514255
2019-09-26T14:51:56
2019-09-26T14:51:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
from typing import Optional, TypedDict, Union from jsondaora import integer, jsondaora, string from apidaora import ( JSONRequestBody, JSONResponse, MethodType, appdaora, header_param, path, ) # Domain @jsondaora class You(TypedDict): name: str last_name: str age: integer(minim...
[ "diogo.albuquerque@luizalabs.com" ]
diogo.albuquerque@luizalabs.com
a63845103306968e5a48dd4866b52bd6b3bd7fdd
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2234/60636/265559.py
1598016de3bd1c4035ba90322ebbe37f3c0fd7af
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,597
py
n=int(input()) p=int(input()) jiandie=[] starts=[] for i in range(n): jiandie.append(0) for i in range(p): x=input().split(" ") starts.append(int(x[0])-1) jiandie[int(x[0])-1]=int(x[1]) r=int(input()) sources=[] for i in range(n): source=[] for j in range(n): source.append("0") sourc...
[ "1069583789@qq.com" ]
1069583789@qq.com
c3d0c09d1cc40cc5f28ce1c3d0744b8cc50bf1c1
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/contrib/python/pyzmq/py2/zmq/devices/proxydevice.py
ecadb53099d97effa8db3bf6a8f8b0817a36127f
[ "Apache-2.0", "LGPL-3.0-only", "LicenseRef-scancode-zeromq-exception-lgpl-3.0", "BSD-3-Clause" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
2,889
py
"""Proxy classes and functions.""" # Copyright (C) PyZMQ Developers # Distributed under the terms of the Modified BSD License. import zmq from zmq.devices.basedevice import Device, ThreadDevice, ProcessDevice class ProxyBase(object): """Base class for overriding methods.""" def __init__(self, in_type, ...
[ "akhropov@yandex-team.com" ]
akhropov@yandex-team.com
b5650422712f02b9bc149c5b34aff34267ce39e8
5eef5390146a6a1a8502ffbeba5b3bc211060bf2
/0x0F-python-object_relational_mapping/101-relationship_states_cities_list.py
db2dc6e1cc354b935afab79a512165bd886fe8c1
[]
no_license
sebastiancalleu/holbertonschool-higher_level_programming
581b68fea5c5ea469a8abfddae9890cc8c9387e3
06b7a7f6481d01f37f0fa0a66073881cda76016f
refs/heads/master
2023-04-22T15:22:18.981649
2021-05-13T04:18:16
2021-05-13T04:18:16
319,347,075
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
#!/usr/bin/python3 """Start link class to table in database """ import sys from relationship_city import Base, City from relationship_state import Base, State from sqlalchemy.orm import Session from sqlalchemy import (create_engine) if __name__ == "__main__": engine = create_engine('mysql+mysqldb://{}:{}@localhos...
[ "sebastian.calleu@gmail.com" ]
sebastian.calleu@gmail.com
41b041dfe1a1a31dc071b5f5c175f070439b1244
c3ac129e83944210bfb8d7234f9303a5a31d5134
/libs/monochrome.py
7720e5a91ce44f28b55deabe9481cada77d31bf4
[ "MIT" ]
permissive
gatheluck/DatasetBuilder
fe48c3432090a7194af007011dca298a0d453fb0
c6833d5ec11ced830f9e1c6145c2aff9690dd93a
refs/heads/master
2022-12-20T03:23:53.775434
2020-10-07T05:56:42
2020-10-07T05:56:42
255,607,881
0
0
null
null
null
null
UTF-8
Python
false
false
1,883
py
import os import sys base = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../') sys.path.append(base) import torch import torchvision class Monochrome(torchvision.datasets.VisionDataset): def __init__(self, input_size: int = 32, mean: list = [0.5, 0.5, 0.5], ...
[ "gatheluck+tech@gmail.com" ]
gatheluck+tech@gmail.com
0f3e05571c8008fd5cc97916017c8186869c35b3
f4e8c8294b23fe070a763b527bc2f75ccdebaab1
/leetCodePython2023/700.search-in-a-binary-search-tree.py
26f4609699c1ce4e8e24754be3fcc91856a76220
[]
no_license
HOZH/leetCode
aff083b33e9b908490e7e992a0ad192ee31cc2e5
a0ab59ba0a1a11a06b7086aa8f791293ec9c7139
refs/heads/master
2023-08-17T08:44:07.884861
2023-08-08T19:47:42
2023-08-08T19:47:42
136,558,812
2
0
null
null
null
null
UTF-8
Python
false
false
654
py
# # @lc app=leetcode id=700 lang=python3 # # [700] Search in a Binary Search Tree # # @lc code=start # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def se...
[ "hozh96@gmail.com" ]
hozh96@gmail.com
bcc632060e6b9d164e9b20cb5fc06e802f7abee4
e9abcb6021cc6fcc15ef2258f09812492b4e093d
/ironic/tests/unit/common/test_fsm.py
9f0844c2ed50e5e6b5a79a5ec071e8ff182060ec
[ "Apache-2.0" ]
permissive
ericxiett/ironic-customized
e6df6a62840ae34180b8004c98ac56790462408b
3a2ad13969e1497889a0c3be80f9f5f671ff4d1b
refs/heads/master
2020-07-16T08:29:03.447845
2019-09-02T01:31:58
2019-09-02T01:31:58
205,754,554
0
0
null
null
null
null
UTF-8
Python
false
false
3,744
py
# -*- coding: utf-8 -*- # Copyright (C) 2014 Yahoo! 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...
[ "eric_xiett@163.com" ]
eric_xiett@163.com
87e0771ce1f58b96dca71c02adae0f7806747195
977237fc6ec166f13f86e7dac4b6d7c815a8f59f
/bed_to_tabix/lib/tabix_commands_from_bedfile_df.py
862a976649641f46b6f7a4291acbb1c97e18efd4
[]
no_license
biocodices/bed_to_tabix
19435c56c5231bea129c0b316a7357f10eacc915
89ffdea580c2dd82179198447c8a1d35d2257580
refs/heads/master
2021-06-24T01:22:34.292717
2020-01-07T17:53:58
2020-01-07T17:53:58
73,534,867
0
0
null
2021-04-20T17:51:36
2016-11-12T06:05:30
Python
UTF-8
Python
false
false
1,439
py
from ..lib import tabix_command_from_chromosome_regions def tabix_commands_from_bedfile_df(bedfile_df, path_to_tabix, path_to_bgzip, path_to_bcftools, remove_SVs=False, ...
[ "juanmaberros@gmail.com" ]
juanmaberros@gmail.com
2c03dc36d84f648ab6a482d05ef76a23caa470df
df406ad144fd0080536a25b3449b677e320bfef6
/zerver/management/commands/backup.py
f65776279d0c33a51c029c2c95836404a8298c70
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
LembergThe/zulip
80d741ba692a3971345e0b293e5151630a85296f
401bee2af429c2cb62671de0b6270d90239eb88f
refs/heads/master
2022-09-23T13:37:17.016656
2020-05-25T17:52:46
2020-05-25T17:52:46
262,289,783
2
0
Apache-2.0
2020-05-25T17:52:47
2020-05-08T10:06:37
Python
UTF-8
Python
false
false
5,112
py
import os import re import tempfile from argparse import ArgumentParser, RawTextHelpFormatter from typing import Any from django.conf import settings from django.db import connection from django.utils.timezone import now as timezone_now from scripts.lib.zulip_tools import TIMESTAMP_FORMAT, parse_os_release, run from ...
[ "tabbott@zulipchat.com" ]
tabbott@zulipchat.com
9839552f0a3d487abe2b766602ae8d12f2fe1601
05164c79be6baf0f2809b0fffc11d24a50d4a82a
/geniza/footnotes/migrations/0020_alter_footnote_content.py
2ad016ff818dc079b944416c92dce30f74ee48e0
[ "Apache-2.0" ]
permissive
Princeton-CDH/geniza
09077725b08696efd6661b93cb500b2c4bbb256f
65660de1a07c3bb3390d0161995f7fe305a5079b
refs/heads/main
2023-08-16T14:55:01.801963
2023-06-21T18:04:35
2023-06-21T18:04:35
297,446,715
14
3
Apache-2.0
2023-09-14T19:12:02
2020-09-21T19:56:38
Python
UTF-8
Python
false
false
556
py
# Generated by Django 3.2.13 on 2022-07-15 14:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("footnotes", "0019_alter_footnote_object_id"), ] operations = [ migrations.AlterField( model_name="footnote", name="...
[ "rebecca.s.koeser@princeton.edu" ]
rebecca.s.koeser@princeton.edu
c9aa1b6ac9c1595c8635305de1317ab61e2f8ecc
52b5773617a1b972a905de4d692540d26ff74926
/.history/missing_20200717131157.py
d271214099cd959f4db67f5d49452a8f38fc7e71
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
def missing(arr): # sort the elements first # what do you know about sequence # that the next element is greater by one value # once that doesn't happen just increment that value by one # complexity of o(n) if len(arr) == 1: return arr[0] if arr != []: newArr = set(range...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
837f5699fa9f17c21aef680de7a6169f5896113c
5189b657618c4041041836e6697b69caa965229f
/timeblocks/models.py
373495dac2606b4c67b972a87d4548fb897f7ab0
[]
no_license
MuellerBettina/ba2020_573561
b653a0c48569ebaecaaee6dd99c69d7e584514e8
41b6ba9f40c1fc63fa9dfdfba629c26f756abfa9
refs/heads/master
2023-04-06T16:12:03.229605
2020-09-10T16:26:12
2020-09-10T16:26:12
269,595,480
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from django.contrib.auth.models import User COLORS = [ ('#fc5353', 'red'), ('#f7a902', 'orange'), ('#ffcc00', 'yellow'), ('#76fc58', 'green'), ('#67b4fc', 'blue'), ('#b467fc', 'purple'), ('#...
[ "BettinaMueller@pm.me" ]
BettinaMueller@pm.me
1b615cf459a05b4d69d64a8d2805aec7b995741a
8afb5afd38548c631f6f9536846039ef6cb297b9
/_MY_ORGS/Web-Dev-Collaborative/blog-research/Data-Structures/1-Python/compression/rle_compression.py
b6c6df44d2b5ebd84e19a97303c772fb289248db
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
1,522
py
""" Run-length encoding (RLE) is a simple compression algorithm that gets a stream of data as the input and returns a sequence of counts of consecutive data values in a row. When decompressed the data will be fully recovered as RLE is a lossless data compression. """ def encode_rle(input): """ Gets a stream o...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
d808f01cd9869974088b810036f4c753eef3b564
cee2ae974f6b416e59a001151f1ea84a253dfd08
/BOJ/Q_1981.py
a59bcb5717cc6797ee768abb154732fc36985ed3
[]
no_license
SpicyKong/problems
e8897fab9e69d07c67fc2f13dc485cc3ac1e8c5a
732ad9c11bb4b3a8e8b68f565b15c1b481e110d5
refs/heads/master
2021-08-16T07:10:03.387082
2020-07-03T12:49:18
2020-07-03T12:49:18
199,583,988
3
0
null
null
null
null
UTF-8
Python
false
false
5,643
py
# https://www.acmicpc.net/problem/1981 문제 제목 : 배열에서 이동 , 언어 : Python, 날짜 : 2020-02-13, 결과 : 실패 # 맞왜틀.. import sys from collections import deque N = int(sys.stdin.readline()) list_map = [list(map(int, sys.stdin.readline().split())) for _ in range(N)] list_visit = [[0]*N for _ in range(N)] # 방문을 체크하는 동시에 방문을 했다면 [최소, 최...
[ "noreply@github.com" ]
SpicyKong.noreply@github.com
bb5240d8bd27c82bc46fe73bc0f65f241f22f429
dbb67d3f770a693193b8524a480b1eef36471aea
/app/photos/migrations/0001_initial.py
01d6f162e96e94ec88dc277f528a2eab0c21c362
[]
no_license
seokjaehong/myrealtrip
af3b6801ad844df64d546f0043af27384f9b01cf
2e11d99422a1722eb013abc1f2b61d50a8dfeedc
refs/heads/master
2021-04-18T22:13:24.869587
2018-03-28T03:15:42
2018-03-28T03:15:42
126,760,821
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
# Generated by Django 2.0.3 on 2018-03-27 08:06 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Photo', fields=[ ('id', models.AutoField(au...
[ "hsj2334@gmail.com" ]
hsj2334@gmail.com
4c4add057cc3dfc9dac692fcb12b6b22efe7d784
77c518b87e67e9926d130f856a7edb12302596eb
/Rendering/Core/Testing/Python/ImageActor.py
9462a849c36b402eef165c13294a89d9ad39de5b
[ "BSD-3-Clause" ]
permissive
t3dbrida/VTK
73e308baa1e779f208421a728a4a15fec5c4f591
e944bac3ba12295278dcbfa5d1cd7e71d6457bef
refs/heads/master
2023-08-31T21:01:58.375533
2019-09-23T06:43:00
2019-09-23T06:43:00
139,547,456
2
0
NOASSERTION
2019-11-22T14:46:48
2018-07-03T07:49:14
C++
UTF-8
Python
false
false
1,490
py
#!/usr/bin/env python import vtk from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # Create the RenderWindow, Renderer and both Actors ren1 = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren1) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) # load in t...
[ "nikhil.shetty@kitware.com" ]
nikhil.shetty@kitware.com
f841d1bd6d4afd9cfbae2a3d59a0aa67500d404a
553b86e3b1ed21e64ea4feeb690af0701a17ba5f
/prob1237.py
935c77e77f33daf5eb4a39c11f02d89bf0b31438
[]
no_license
shihyuuuuuuu/LeetCode_practice
d1c4b7851abfa42fcc4b56f835444792aca3f222
dbc7e988ca9fd6f3a9541a36a0ad543c97b884af
refs/heads/master
2023-01-03T21:25:14.426989
2020-11-03T07:09:29
2020-11-03T07:09:29
254,667,846
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
""" This is the custom function interface. You should not implement it, or speculate about its implementation class CustomFunction: # Returns f(x, y) for any given positive integers x and y. # Note that f(x, y) is increasing with respect to both x and y. # i.e. f(x, y) < f(x + 1, y), f(x, ...
[ "www.elmo20816@gmail.com" ]
www.elmo20816@gmail.com
fe7e29a2338d1f41c94cc1cf0bd87c26b47345da
78122339ec6a225fd8901d0fb55e279a88654b0d
/score/urls.py
1990fce39bf55e8d9ad8cceb4552fee427cb7a73
[]
no_license
alexpro100alex/shop
b2bcbb91d3180816f88d4c2380594652688dd2ef
76fc5fd42499cd393ec844426f9413888d7a3c1a
refs/heads/master
2020-06-15T11:03:00.085381
2017-06-12T20:24:05
2017-06-12T20:24:05
94,135,428
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
"""score URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
[ "you@example.com" ]
you@example.com
20693a4ba37c0ab4b131f91c0afd9dd28d2b6814
ebf7427c8605d8654c67e3386b8adb2bd7503b44
/LeetCode Pattern/0. DP Problems/1. Unique Paths/91_med_decode_ways.py
6b1f087242ef56cffaf75927b69829bc252e7852
[]
no_license
ryoman81/Leetcode-challenge
78e5bc4800a440052f8515c75829e669484fed40
fac3a49c49d2f62eafffb201a9d9cfac988ad30a
refs/heads/master
2023-09-04T05:21:54.569459
2021-10-26T14:14:08
2021-10-26T14:14:08
291,615,959
7
2
null
null
null
null
UTF-8
Python
false
false
2,698
py
''' A message containing letters from A-Z can be encoded into numbers using the following mapping: 'A' -> "1" 'B' -> "2" ... 'Z' -> "26" To decode an encoded message, all the digits must be grouped then mapped back into letters using the reverse of the mapping above (there may be multiple ways). For example, "11106" c...
[ "sqygg1002@gmail.com" ]
sqygg1002@gmail.com
ac3ca77fd1155fc610d1ccb94f9687f0951f50a9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/486/usersdata/295/114054/submittedfiles/AvF_Parte2.py
83e3fc2c48c8cd38578a8925b013cc61d56e883c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
# -*- coding: utf-8 -*- n = 10 m = int(input("Digite sua idade: ")) for i in range(n) : while m<18: m = int(input("Digite sua idade: ")) if m =='-1': break b = int(input("Digite sua altura: ")) for i in range(n) : while n<0: n = int(input("Digite sua altura: ")) ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
c6638b989c6a1c79e4734263221b2f2d41f57e11
0581ba1f689c0aea89558d48e4d63f8bf4328c7b
/project/client/checkpoint/W12200000001.py
48cdc33ddc1a0600b80ebb8e6f20d73c5133b0d2
[]
no_license
luodichen/JXBVS
5d19601610d972bf4b20b8c6a4a36e430162bfe9
71c6038719d422106968959a4e815f690a736346
refs/heads/master
2021-01-22T04:34:45.255197
2015-05-20T17:42:18
2015-05-20T17:42:18
34,976,736
0
3
null
2015-05-20T17:42:18
2015-05-03T06:52:13
Python
UTF-8
Python
false
false
1,109
py
# encoding=utf-8 ''' Created on May 15, 2015 @author: luodichen ''' ''' 检查是否启用“不显示最后的用户名”策略 组策略位置:本地计算机策略\计算机配置\Windows设置\安全设置\本地策略\安全选项\交互式登录: 不显示最后的用户名 注册表位置:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\dontdisplaylastusername 0 - 已禁用, 1 - 已启用 ''' import sys sys.path.append("../...
[ "me@luodichen.com" ]
me@luodichen.com
70c72f822876d5e2dfb05c8db90c32c26d05cfd7
7b6377050fba4d30f00e9fb5d56dfacb22d388e1
/numericalFunctions/ptwXY/Test/Flat/toLinear/check.py
95abd893e657dfd17e3226f03a5634b4565f78c8
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
LLNL/fudge
0a4fe8e3a68b66d58e42d1f4d209ea3f713c6370
6ba80855ae47cb32c37f635d065b228fadb03412
refs/heads/master
2023-08-16T21:05:31.111098
2023-08-01T22:09:32
2023-08-01T22:09:32
203,678,373
21
4
NOASSERTION
2023-06-28T20:51:02
2019-08-21T23:22:20
Python
UTF-8
Python
false
false
339
py
# <<BEGIN-copyright>> # Copyright 2022, Lawrence Livermore National Security, LLC. # See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: BSD-3-Clause # <<END-copyright>> import sys, os file = sys.argv[1] status = os.system( 'diff v %s.dat > /dev/null' % file ) if( status != 0 ) : print( "ERRO...
[ "mattoon1@llnl.gov" ]
mattoon1@llnl.gov
af675e8faef693640f394a8a1d37ee9845a455ec
2fd0c65aa0f72133f773dac5d9a5c48fe9e26fac
/Dsz/PyScripts/Lib/dsz/mca_dsz/network/cmd/serialredirect/type_Result.py
305f08688da27d7ea475d0140388204886106e17
[]
no_license
FingerLeakers/DanderSpritz_docs
f5d2430e0b86b1b2f0684f02ddd4fa973a5a7364
d96b6a71c039b329f9f81544f645857c75360e7f
refs/heads/master
2021-01-25T13:05:51.732149
2018-03-08T01:22:49
2018-03-08T01:22:49
123,527,268
2
0
null
2018-03-02T03:48:31
2018-03-02T03:48:30
null
UTF-8
Python
false
false
5,319
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.10 (default, Feb 6 2017, 23:53:20) # [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] # Embedded file name: type_Result.py from types import * MSG_KEY_RESULT_STATUS = 196608 MSG_KEY_RESULT_STATUS_TYPE = 196609 MSG_KEY_RESU...
[ "francisck@protonmail.ch" ]
francisck@protonmail.ch
42bab99993795cba90c6b245de93380e4a102a09
91efab132a3c0a763c9737c84fddb0a75481d79f
/qa/rpc-tests/zmq_test.py
6dff306b85e12adde9a7b24f70216496580504b5
[ "MIT" ]
permissive
zurcoin/zurcoin
cc608000cc164f973f61c353f4b5fb5699db942c
ce1f44fbe60afa8ed67cf7a5fe10a5fb73315b88
refs/heads/master
2021-07-09T17:26:40.921729
2021-05-06T03:46:42
2021-05-06T03:46:42
102,293,359
4
5
null
null
null
null
UTF-8
Python
false
false
3,264
py
#!/usr/bin/env python3 # Copyright (c) 2015-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test ZMQ interface # from test_framework.test_framework import BitcoinTestFramework from test_framew...
[ "quentin.neveu@hotmail.ca" ]
quentin.neveu@hotmail.ca
be94e3bd3581d1cffa403ee7fb61963953247f89
b22f31168fc44e016734adab5a8f8750576d07c4
/1_Python_Introduction/csvreader_methods.py
20e80a028ebf43c75c90b13b6fa392b205bfdb90
[]
no_license
austinmw/DataQuest
9abcd5dbf651973661d9ebf5fbe2166d69ac2d52
f6646c60dbb8ba3a6b96be686e44da70ffdb89b5
refs/heads/master
2020-03-14T04:49:17.593333
2018-04-28T23:07:42
2018-04-28T23:07:42
131,450,453
2
0
null
null
null
null
UTF-8
Python
false
false
535
py
import csv class Team(): def __init__(self, name): self.name = name f = open("nfl.csv", 'r') csvreader = csv.reader(f) self.nfl = list(csvreader) def count_total_wins(self): count = 0 for row in self.nfl: if row[2] == self.name: count = count + 1 return count def count_wins_in_year(self, yea...
[ "fake.email@domain.com" ]
fake.email@domain.com
941242456a627032f5e0d32e5e734e3e245ac655
ce069920f698cea2ee002fc4c4500358ac60edc0
/SwordOffer/SwordOffer_13.py
eca60a3a0db22ab85aa7e80260f9ec6012a63ec2
[]
no_license
EachenKuang/LeetCode
2cb58de95ecff2635e0a001a44df191f844b22c4
c92a5ddcc56e3f69be1e6fb25e9c8ed277e57ee0
refs/heads/master
2023-08-31T11:20:01.646729
2023-08-29T15:50:43
2023-08-29T15:50:43
150,357,143
28
6
null
null
null
null
UTF-8
Python
false
false
1,810
py
# 地上有一个m行n列的方格,从坐标 [0,0] 到坐标 [m-1,n-1] 。一个机器人从坐标 [0, 0] 的格子开始移动,它每次可以向左、右、上、下移动一格(不能移动到方格外),也不能进入行坐标和列坐标的数位之和大于k的格子。例如,当k为18时,机器人能够进入方格 [35, 37] ,因为3+5+3+7=18。但它不能进入方格 [35, 38],因为3+5+3+8=19。请问该机器人能够到达多少个格子? # #   # # 示例 1: # # 输入:m = 2, n = 3, k = 1 # 输出:3 # 示例 2: # # 输入:m = 3, n = 1, k = 0 # 输出:1 # 提示: # # 1 <= n,m <=...
[ "695089605@qq.com" ]
695089605@qq.com
52f3c3ed8e09f2dd1969898b9d874b80053e8f6c
b5ab4244e94da14acf9e20a5619e7ae0fe9596da
/datadelivery/test_config.py
0275908127a4224d6c6e72d46d0d88c169b4fa43
[ "MIT" ]
permissive
Duke-GCB/datadelivery-cli
135162a535ced19349e2653b287e5918267059c7
ae34452590ea22d11859bc0d7df2d3245e30a342
refs/heads/master
2020-03-11T20:12:45.695452
2018-12-06T16:37:56
2018-12-06T16:37:56
130,230,569
0
0
MIT
2018-12-06T16:37:58
2018-04-19T14:45:29
Python
UTF-8
Python
false
false
5,144
py
from __future__ import absolute_import from unittest import TestCase from mock import MagicMock, patch, call, mock_open from datadelivery.config import ConfigFile, Config, ConfigSetupAbandoned, \ DEFAULT_DATA_DELIVERY_URL, DEFAULT_ENDPOINT_NAME, ENTER_DATA_DELIVERY_TOKEN_PROMPT class ConfigFileTestCase(TestCase):...
[ "johnbradley2008@gmail.com" ]
johnbradley2008@gmail.com
6f6c8ab492b42854df37e580e017454dc79b7475
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_pursed.py
990b678c0c587a2af2655f35d0ea256d09bcfa37
[ "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
231
py
from xai.brain.wordbase.verbs._purse import _PURSE #calss header class _PURSED(_PURSE, ): def __init__(self,): _PURSE.__init__(self) self.name = "PURSED" self.specie = 'verbs' self.basic = "purse" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b1b1c1d79236049fe1705e02f2505e35ad9573bc
aad4481e8a54e311982d638c1b42a86180726970
/examples/geometry-managers/place.py
c16fbb1f6eed79fdd7f462f94aecccc1a8c4c791
[ "Unlicense", "Zlib" ]
permissive
jiangguoqing/tkinter-tutorial
5639b11cfc2f339df3776410dbd7078ee07fac54
c6fee61ee915cf0894125e5b5eeb7249237d3a6b
refs/heads/master
2021-05-05T12:02:13.912298
2017-06-18T10:51:33
2017-06-18T10:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
import tkinter as tk root = tk.Tk() label = tk.Label(root, text="This is a very important message.") label.place(relx=0.5, rely=0.3, anchor='center') button = tk.Button(root, text="OK", command=root.destroy) button.place(relx=0.5, rely=0.8, anchor='center') root.title("Important Message") root.geometry('250x150') r...
[ "akuviljanen17@gmail.com" ]
akuviljanen17@gmail.com
561841d34fff54225140c66e42f4b3f57e795e70
0062ceae0071aaa3e4e8ecd9025e8cc9443bcb3b
/solved/15655.py
a2714f9e2c3bd072512fda280ad0e43b3906f623
[]
no_license
developyoun/AlgorithmSolve
8c7479082528f67be9de33f0a337ac6cc3bfc093
5926924c7c44ffab2eb8fd43290dc6aa029f818d
refs/heads/master
2023-03-28T12:02:37.260233
2021-03-24T05:05:48
2021-03-24T05:05:48
323,359,039
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from itertools import combinations N, M = map(int, input().split()) arr = sorted(list(map(int, input().split()))) for p in combinations(arr, M): print(*p)
[ "pyoun820@naver.com" ]
pyoun820@naver.com
1ba9e4f95028f2830eef86231729ac81bebc4bd0
3f70b7db6f0520c841dc74bc6c67ee4565330661
/last_at_HQ/hq_tool/Maya/hq_maya/scripts/fantabox/rigging/check/stateRiggingCheck.py
97e52d81be6ca1d4d24929cd6bd6e6e6d20672d0
[]
no_license
kryfo/HQ
32235fad0f913a07b073798baab46347a7cbd971
0694941a28c11a7724c004effd17d55f81cccfcc
refs/heads/master
2021-09-18T14:19:07.379469
2018-04-07T10:51:38
2018-04-07T10:51:38
126,562,032
0
1
null
null
null
null
UTF-8
Python
false
false
237
py
#!/usr/bin/env python #coding=cp936 #coding=utf-8 import pathforuser path = pathforuser.path_dir()+'/check/scripts/' """ if path not in sys.path : sys.path.append(path) """ import riggingCheck reload(riggingCheck) riggingCheck.run()
[ "superdkk@gmail.com" ]
superdkk@gmail.com