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
46d07de15a6e2bf376542cc5e5f8dcafa29fbf67
cc0fc17ed959f71f00bf70fc3f4ccbcc4b42a78d
/locallibrary/tests/test_models.py
7270cc9a7e18149be3182d8df7116e49b6f0340a
[]
no_license
sharmakajal0/django_projects
813bb85234173e0edae602aaef564ac0ddbafee5
18386fb3f17fdbe8cf8f78b47c3a61164e6901ed
refs/heads/master
2022-06-28T14:19:44.399594
2020-05-13T07:13:55
2020-05-13T07:13:55
263,414,620
0
0
null
null
null
null
UTF-8
Python
false
false
2,382
py
from django.test import TestCase from catalog.models import Author from catalog.models import Book # Create your tests here. class AuthorModelTest(TestCase): @classmethod def setUpTestData(cls): Author.objects.create(first_name='Big', last_name='Bob') def test_first_name_label(self): ...
[ "sharma.kajal.sitm@gmail.com" ]
sharma.kajal.sitm@gmail.com
6ff3df487a1ef479e5efa79fca09b098e00164c7
b3f6daa5d6c987eb8a61d5fe125bf2a98997e259
/7kyu/Help Bob count letters and digits/index.py
af15993f0c3359ba35dacf270c42b14ab07abf48
[]
no_license
krnets/codewars-practice
53a0a6c9d2d8c2b94d6799a12f48dd588179a5ce
5f8e1cc1aebd900b9e5a276884419fc3e1ddef24
refs/heads/master
2022-12-20T19:33:43.337581
2022-12-16T05:32:39
2022-12-16T05:32:39
217,464,785
1
0
null
2020-07-20T08:36:31
2019-10-25T06:20:41
JavaScript
UTF-8
Python
false
false
713
py
# 7kyu - Help Bob count letters and digits """ Bob needs you to create a method that can determine how many letters and digits are in a given string. "hel2!lo" --> 6 "wicked .. !" --> 6 "!?..A" --> 1 """ # def count_letters_and_digits(s): # return sum(1 for x in s if x.isalpha() or x.isdigit()) # def count_lett...
[ "cmantheo@gmail.com" ]
cmantheo@gmail.com
02d4320a1a329c8649bb96b7bb7b0529fc8b5699
b9526c8a20ccc9fb6a99800a3dd7ffbbe6e3d658
/ServiceImplByDask/QualityProfilingService.py
2bf87f4362cb0d50cac2d6bf22c614841488f647
[]
no_license
MarkHe735/tgtks
98777699587667246fa2c9778aaa5f6efffd4ec6
b5a0b97772f006ab64580bc178a0e5d611fda8cb
refs/heads/master
2020-12-27T22:27:24.007632
2020-02-09T00:14:59
2020-02-09T00:14:59
238,084,966
0
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from IService.DService import DService import pandas as pd class QualityProfilingService(DService): """ 功能 对数据质量进行画像 输入 待质量画像的数据 数据帧类型 data   输出 数据质量画像   数据帧类型 dataQualityProfile 注释:输入为空表,输出为空表 """ ...
[ "markhe735@163.com" ]
markhe735@163.com
12c732da487ccc6ee0488f09f321f93a61626145
ff6f60d02ed8d024f7b2db5c9eb4b1196ebf166b
/food_name/food_msj/food_msj/pipelines.py
9cda9c6c29447db8c74e9d9b43dd517db0742173
[]
no_license
cekong/learnit
43b707e347ff552754b6592e01dd106c98cd0cc5
b4111d6fee95960f7b7ca5421b7159cb6122ad2a
refs/heads/master
2020-03-25T13:53:37.848843
2019-08-29T06:46:48
2019-08-29T06:46:48
143,848,485
0
0
null
null
null
null
UTF-8
Python
false
false
2,836
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html # import xlwt # import numpy as np # workbook = xlwt.Workbook() # worksheet = workbook.add_sheet('msj', cell_overwrite_ok=True...
[ "noreply@github.com" ]
cekong.noreply@github.com
ccecda641cc2efa9eab753f359143b190d73f027
788bdd9e443a571bc8262323425317015303cf1d
/p1520.py
87ff09e68161f56cd4338c5179c64888114b3915
[]
no_license
qyx2018/Xiaojiayu
e07dd5480babafb5f1940a2032ef30a92c7331f2
e7decd439ed95b5a6d3cf195444cabfedf0eff76
refs/heads/master
2020-03-11T06:21:27.609708
2018-04-17T01:33:40
2018-04-17T01:33:40
129,827,662
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
from tkinter import * root = Tk() sb = Scrollbar(root) sb.pack(side = RIGHT, fill = Y) lb = Listbox(root, yscrollcommand = sb.set) for i in range(1000): lb.insert(END, str(i)) lb.pack(side = LEFT, fill = BOTH) sb.config(command = lb.yview) mainloop()
[ "noreply@github.com" ]
qyx2018.noreply@github.com
904c13cd137f0770f5740af0e7f8a11d19b564f7
5ef214719b700d82464685df5070f89aca65e662
/caer/color/hls.py
7f39296a24f86059df6fc56e3055c11778f44d21
[ "MIT" ]
permissive
Srinivasaragavan/caer
593b9ccac0e6aa1853340551821dc3e80e42b0f5
8d7befac146d764b841c3a1cc11ab630e91cd61a
refs/heads/master
2023-01-29T23:34:49.189645
2020-12-13T11:19:48
2020-12-13T11:19:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,781
py
# _____ ______ _____ # / ____/ /\ | ____ | __ \ # | | / \ | |__ | |__) | Caer - Modern Computer Vision # | | / /\ \ | __| | _ / Languages: Python, C, C++ # | |___ / ____ \ | |____ | | \ \ http://github.com/jasmcaus/caer # \_____\/_/ \_ \______ |_| \_\ # Licensed ...
[ "jasmcaus@gmail.com" ]
jasmcaus@gmail.com
67264812a82beac4efd07af1480c9031a3079d87
e4480db09d0d949ad2f4e6ee9748366ee535a7cf
/Stream/urls.py
7a731c776732f36c51328ef305f359e62c8280a8
[]
no_license
Kaver160/microblog
8a0b11d294b244a1b663f5a5dbf4f18e01e4f3fe
1514b955f55e41d5d853b59fc51ac4783372ec72
refs/heads/master
2020-08-15T19:50:20.878895
2019-01-18T21:56:43
2019-01-18T21:56:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
"""Stream URL Configuration """ from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), path('accounts/', include('allauth.urls')), path('auth/', include('djoser.urls....
[ "socanime@gmail.com" ]
socanime@gmail.com
efba186970ec3d159ed915478e65a93aaf8d7060
3da6b8a0c049a403374e787149d9523012a1f0fc
/Coder_Old/data-analysis/06-Python/6.11练习:销售额数据.py
241da32ad1239ffc2c08e88b657c72be5eb3ccf8
[]
no_license
AndersonHJB/PyCharm_Coder
d65250d943e84b523f022f65ef74b13e7c5bc348
32f2866f68cc3a391795247d6aba69a7156e6196
refs/heads/master
2022-07-25T11:43:58.057376
2021-08-03T02:50:01
2021-08-03T02:50:01
348,922,058
3
3
null
2021-09-05T02:20:10
2021-03-18T02:57:16
Python
UTF-8
Python
false
false
991
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: DeltaF @software: pycharm @file: 6.11练习:销售额数据.py @desc: ''' sales = [ ["雅诗兰黛", "OLAY", "相宜本草", "Keith"], [8731, 4209, 10239, 422], [1099, 675, 516, 1349] ] # 1.提取列表中的元素 sales_amount = sales[1] sales_price = sales[2] # 2.将列表中第2和第3个元素中的数据项分别相乘 list_targe...
[ "1432803776@qq.com" ]
1432803776@qq.com
78ce4063b0a348812765d7d7a601e70d958c959c
cf1a367ef65a4112ea3603ad1b1caca7674899fc
/macropodus/__init__.py
db158ea2204e831482361fb4af5e21af108b46f2
[ "MIT" ]
permissive
xkyoung/Macropodus
f8dda2bc18891fda4c0317d370dfa393f1e918bc
9de38c06d332bd26e704fd4afd8f44678de7f44f
refs/heads/master
2022-10-03T12:43:32.839993
2020-06-03T12:25:35
2020-06-03T12:25:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
# !/usr/bin/python # -*- coding: utf-8 -*- # @time : 2019/11/12 22:57 # @author : Mo # @function: init of macropodus (tookit, keras of tensorflow) # macropodus from macropodus.tookit import calculate, chi2num, num2chi, Trie, roman2num, num2roman, pinyin, zh2han, han2zh from macropodus.segment import cut_bidirecti...
[ "2714618994@qq.com" ]
2714618994@qq.com
a8c0208dee7773d02468ed46af96cda6a04c6fad
864b907efa3cb20feb757153ad58e8b919e8a425
/scripts/cmp_trees
9486b25f6b1d65dec4ca8ed04a648b575881eecb
[]
no_license
annawoodard/ttH-TauRoast
6d8a7efe6be269abd203c306b8d5f7a8d5980227
e0113ae239913de147d70fd615d47f917fed13ef
refs/heads/master
2021-01-21T00:36:45.315016
2016-09-13T10:08:52
2016-09-13T10:08:52
68,119,086
0
0
null
2016-09-13T15:01:45
2016-09-13T15:01:45
null
UTF-8
Python
false
false
6,625
#!/usr/bin/env python from root_numpy import root2array import argparse import itertools import matplotlib import matplotlib.gridspec as gs import matplotlib.pyplot as plt import numpy as np import os import pandas as pd matplotlib.rc('axes.formatter', limits=(-3, 4)) html = """ <hmtl> <head> <style> tr:first-chi...
[ "matthias@sushinara.net" ]
matthias@sushinara.net
d8a500301e5fc1afbf0ccba5b9a8686f38b2ecb5
3fb12748e6d2f9257eebd79519821438d0dc6476
/上课代码/Python基础第四天/04字符串常见操作.py
c2c61b3dd4925e7960d190a48d67e665fa07abd8
[]
no_license
pscx142857/python
c53f3f03626b41709a5f02958751965e18c1a201
72b48bffbbbf082c84a717b576454a6676f66e7a
refs/heads/master
2023-04-24T03:31:12.627432
2021-05-13T17:06:44
2021-05-13T17:06:44
362,584,191
0
0
null
null
null
null
UTF-8
Python
false
false
1,718
py
# strip去除空格 name = " 两边有两个空格 " str = name.strip() print("--"+str+"--") #去除两边的空格,无论几个都可以去除 print("--"+name.rstrip()+"--") # 去除右边的空格 print("--"+name.lstrip()+"--") # 去除左边的空格 # split 分割 name = "我是第一个 我是第二个 我是第三个" ls = name.split() # 默认按照空格进行分割 print(ls) name = "我是第一个,我是第二个,我是第三个" ls = name.split(",") # 按照指定的符号进行分割 prin...
[ "pscx142857@163.com" ]
pscx142857@163.com
a16b992a10a86227cc0fcb9cab90b4bca48e0dd9
f48f9798819b12669a8428f1dc0639e589fb1113
/programming/environment/pisiyap/actions.py
3d29becd4c2bb3366098d0342b6b7dc69d472358
[]
no_license
vdemir/PiSiPackages-pardus-2011-devel
781aac6caea2af4f9255770e5d9301e499299e28
7e1867a7f00ee9033c70cc92dc6700a50025430f
refs/heads/master
2020-12-30T18:58:18.590419
2012-03-12T03:16:34
2012-03-12T03:16:34
51,609,831
1
0
null
2016-02-12T19:05:41
2016-02-12T19:05:40
null
UTF-8
Python
false
false
427
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt from pisi.actionsapi import pythonmodules from pisi.actionsapi import pisitools def build(): pythonmodules.compile() def install(): pythonmodules.install(...
[ "kaptan@pisipackages.org" ]
kaptan@pisipackages.org
9ba328432e19b797ea1670ad1cf6b78cd53f924b
894b290b4f4f47b5eb523c23efd7bd6110d91b2f
/54_Rentalshops58/Rentalshops58/Rentalshops58/settings.py
495f742ae2d3253317eabfec7d4aaf00031a779a
[]
no_license
wliustc/SpiderS
6650c00616d11239de8c045828bafdc5a299b1ce
441f309c50d28c1a3917bed19321cd5cbe7c2861
refs/heads/master
2020-03-27T06:15:39.495785
2018-06-14T07:55:44
2018-06-14T07:55:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,948
py
# -*- coding: utf-8 -*- BOT_NAME='Rentalshops58' SPIDER_MODULES=['Rentalshops58.spiders'] NEWSPIDER_MODULE='Rentalshops58.spiders' DOWNLOAD_HANDLERS={'s3': None} USER_AGENT="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36" USER_AGENTS=[ "Mozilla/4.0 (compat...
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
4acd96867b4ac2f6ea3cea78f399aeec35bf37cd
44fd6df47b774b8354f901e9a6b7ea66a23fbc90
/blog/blog/views.py
57c46433821f64e0ad8486dc00c24122f5708b1a
[]
no_license
KimDoKy/Django-By-Example
7bdb04ea40227d9b1219e903e3b5a9fcf25d13b9
ebdb3239c24c9f15af94e544f948a18fe47db108
refs/heads/master
2022-12-23T10:58:25.710676
2018-12-19T16:02:04
2018-12-19T16:02:04
159,840,449
0
0
null
2022-11-22T03:09:32
2018-11-30T15:12:27
Python
UTF-8
Python
false
false
3,813
py
from django.shortcuts import render, get_object_or_404 from django.views.generic import ListView from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from django.core.mail import send_mail from django.db.models import Count from taggit.models import Tag from .models import Post, Comment from .form...
[ "makingfunk0@gmail.com" ]
makingfunk0@gmail.com
56f39c67f91966f95817ab8056a0afb2dbdd143e
b8ea631aae5d132c7b0236684d5f7c12d3c222be
/Library/Math/FloorSum.py
2151ee6ce720d44548792f41230ff3d08f46ec86
[]
no_license
Ryushi-tech/card3
68c429313142e58d4722a1cd5a4acc4ab39ca41f
883636b2f518e38343a12816c5c641b60a87c098
refs/heads/master
2021-07-05T22:46:33.089945
2020-12-12T15:31:00
2020-12-12T15:31:00
209,176,836
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
from numba import njit, i8 @njit((i8, i8, i8, i8), cache=True) def floor_sum(n, m, a, b): ans = 0 if a >= m: ans += (n - 1) * n * (a // m) // 2 a %= m if b >= m: ans += n * (b // m) b %= m y_max = (a * n + b) // m x_max = y_max * m - b if y_max == 0: ret...
[ "mryrys@gmail.com" ]
mryrys@gmail.com
a5ade8ac21c8582419a771564fd1b82c3b990d92
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_99/386.py
946de1643918fd5f49301bd638ab058fb675d938
[]
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,120
py
def mul(list): a = 1 for i in list: a = a*i return a def main(): fi = open('A-small-attempt0.in') fo = open('A-small-attempt0.out', 'w') t = int(fi.readline()) for i in range(t): ans = [] c, l = fi.readline().strip().split(' ') p = fi.readline().strip()....
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
e8f681411d33caede0cfae9c8244afaaa97ca9b0
f19f2b66ff47b4c270f65a2dce541b10b0486571
/needlestack/management/commands/ns_drop_indexes.py
9b13af5db5e814f2162f6e4a31bbe8b755554c10
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
niwinz/needlestack
df73cb629a1e97bce6415799dcf2b76c51472149
2f5db371ba24b1fa1b21957832c77176e5ef4454
refs/heads/master
2023-08-25T00:56:24.458734
2013-09-15T21:59:58
2013-09-15T21:59:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
# -*- coding: utf-8 -*- from __future__ import print_function, absolute_import, unicode_literals from django.core.management.base import BaseCommand, CommandError from needlestack import commands class Command(BaseCommand): help = 'Sync all defined indexes with a current backend' option_list = BaseCommand.o...
[ "niwi@niwi.be" ]
niwi@niwi.be
fdd3b313b1dc093decaa9a0dd8a7bb87b7b6851b
12ff9a97a8039e5d225493872965eea10f26c9c7
/authlib/base.py
b34dd216004ee0bf27ba71358238fcf28868f62f
[ "MIT" ]
permissive
fabiangermann/django-authlib
6e3cf6e71b2bc0c017bea1e86e8f6982dbb9108d
35b1c65dc668a03c949011abd6385229bcdb908e
refs/heads/master
2020-03-25T02:38:39.760074
2018-08-02T13:55:24
2018-08-02T13:55:24
143,300,744
0
0
null
2018-08-02T13:47:07
2018-08-02T13:47:07
null
UTF-8
Python
false
false
1,680
py
from django.contrib.auth import models as auth_models from django.db import models from django.utils import timezone from django.utils.translation import ugettext_lazy as _ class OAuthClient(object): def __init__(self, request): self._request = request def get_authentication_url(self): pass ...
[ "mk@feinheit.ch" ]
mk@feinheit.ch
b154f28026b72b1f186d4b84708a66d16ab10eb8
a079853d22a47a8c50bca2654e30c4fef3dd2d34
/e_commerce/search/urls.py
e74080da4d28ff61fd8409a7d2ba59d628a8d254
[]
no_license
toticavalcanti/django_ecommerce
04299ac33de804f10270309d738e2c6dff61bf9c
2ee45585d0724174e24ab5f4f52daa3b14fa473b
refs/heads/master
2023-08-19T00:53:56.178570
2023-08-15T00:55:33
2023-08-15T00:55:33
160,266,119
25
11
null
null
null
null
UTF-8
Python
false
false
212
py
from django.urls import path app_name = "search" from .views import ( SearchProductView, ) urlpatterns = [ path('', SearchProductView.as_view(), name='query'), ]
[ "toticavalcanti@hotmail.com" ]
toticavalcanti@hotmail.com
1cacc21655e1646aeb26a972dd5e2bda1057f374
06ecc5630b8020a5637ab4b4f1f5582641a3d5ea
/environments/mujoco/rand_param_envs/gym/wrappers/__init__.py
7f30ef1ac534d0fadc7d2a39fa0798503483b3bb
[ "MIT" ]
permissive
lmzintgraf/varibad
33ef9925d35c2f1717bc6990b96030556b106e64
57e1795be142ace52d0c353097acf193d9067200
refs/heads/master
2023-04-05T06:04:23.027974
2022-08-02T11:23:41
2022-08-02T11:23:41
239,345,406
163
42
NOASSERTION
2023-03-15T23:16:27
2020-02-09T17:35:41
Python
UTF-8
Python
false
false
250
py
from environments.mujoco.rand_param_envs.gym.wrappers.frame_skipping import SkipWrapper from environments.mujoco.rand_param_envs.gym.wrappers.monitoring import Monitor from environments.mujoco.rand_param_envs.gym.wrappers.time_limit import TimeLimit
[ "lmzintgraf@gmail.com" ]
lmzintgraf@gmail.com
e47e36011b5511f7e2ec648972fdc737d2c942e3
212754abbe6c513901b6cf95852d9b1cf7077b6f
/enerpiweb/utils.py
5f8a180783b5f7dd67d095a99eb58e47b9c33347
[ "MIT" ]
permissive
d1aboilik/enerpi
87f580bbccf51c49c453af8651e2e7f361416c4a
155374f6c86248a63b141fc5a78d38cbc4b0ca45
refs/heads/master
2021-12-14T19:34:53.020601
2017-05-19T16:59:23
2017-05-19T16:59:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,184
py
# -*- coding: utf-8 -*- """ Flask filters for jinja2 rendering and flask error handlers """ import datetime as dt from flask import request, render_template from enerpi.base import log from enerpiweb import app @app.template_filter('color') def filter_color(color): """ jinja2 template filter for color conver...
[ "eugenio.panadero@gmail.com" ]
eugenio.panadero@gmail.com
2a1c3e600e8faf292345d7b476623bfc9082f8fc
5b69e10d33661c13af67f803669e7f73f2b00deb
/models/save_composition_classifier.py
27d41e6f558edf1b275e9db395ce94f29b6497c7
[ "MIT" ]
permissive
mattmeehan/cr-composition
4c03ecad8d1f09182e9d437b4f2ee712bfc4bd0c
9ddbbdeb4543848d335e0c2ba87f6eec167c6672
refs/heads/master
2020-03-08T06:17:21.953118
2018-04-02T16:39:25
2018-04-02T16:39:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,733
py
#!/usr/bin/env python from __future__ import division, print_function import os import argparse import sklearn from sklearn.externals import joblib import warnings import comptools as comp warnings.filterwarnings("ignore", category=DeprecationWarning, module="sklearn") if __name__ == '__main__': description =...
[ "jrbourbeau@gmail.com" ]
jrbourbeau@gmail.com
7b1beb6749134cfaf07b8e2540270ebb80248a00
a81c80cb9a50abf6a8d8f08f44803c61a778c7ef
/cpylog/warning_redirector.py
aae494e9da71c3073d97ac5717b4b2e4a4ca2e74
[ "BSD-3-Clause" ]
permissive
SteveDoyle2/cpylog
a2e7374d934d9935e321920c8fbdb847c0fb243e
99a3fc38cdcb1da7f3ca1299daf9af2453d2bad0
refs/heads/main
2022-09-21T08:37:23.634640
2022-08-24T06:08:11
2022-08-24T06:08:11
174,633,494
1
2
BSD-3-Clause
2022-08-24T06:08:12
2019-03-09T01:20:34
Python
UTF-8
Python
false
false
1,493
py
from __future__ import annotations import os import warnings from typing import TYPE_CHECKING if TYPE_CHECKING: # pragma: no cover from cpylog import SimpleLogger class WarningRedirector: def __init__(self, log: SimpleLogger): """ Initialize ``WarningRedirector``, which takes standard python ...
[ "mesheb82@gmail.com" ]
mesheb82@gmail.com
1f214429bc80867f37c301bad47b3ff4a83e8dd7
72706b8a63ccac91b4a748640fbbbf689953981b
/socket/groupChat/node_modules/uws/build/config.gypi
b8e5074a8186ea96c0692f797f0fa533c92d3831
[ "Zlib" ]
permissive
Kevin0920/Mean-
cf322d5327f6d120b839bef3e0572ee46adb17ab
1e126d971afe3c2d8bd269f428beafe05125290e
refs/heads/master
2021-01-01T06:46:17.786922
2017-07-27T04:39:32
2017-07-27T04:39:32
97,504,735
0
0
null
null
null
null
UTF-8
Python
false
false
4,519
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "force_dynami...
[ "kevinlingsike@gmail.com" ]
kevinlingsike@gmail.com
5895d1ee1adffb97145ef7173624a6d5959d44e2
7dfd009355c67f3f5c466b328574710b87658fc6
/awswrangler/__metadata__.py
aecf03829400a109d3ebc2a02cbc3b06d45fbf92
[ "Apache-2.0" ]
permissive
mohamed-ben-chaliah/aws-data-wrangler
1ea309667f4c047aba81fe07754f0a135418ac81
9c4a4d36db36af96ad16b43f087107f2adcaa99e
refs/heads/master
2022-04-14T06:14:30.476424
2020-04-15T01:17:41
2020-04-15T01:17:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
"""Metadata Module. Source repository: https://github.com/awslabs/aws-data-wrangler Documentation: https://aws-data-wrangler.readthedocs.io/ """ __title__ = "awswrangler" __description__ = "Pandas on AWS." __version__ = "1.0.2" __license__ = "Apache License 2.0"
[ "igorborgest@gmail.com" ]
igorborgest@gmail.com
f3bedaf1ad7cf2a640d85b2e0438cb62793e076a
83b8e4770ed05fe4c73be7c4ad5bf044d55b710f
/business_unit/models.py
382b3821be91c5844accc8288d95021819226b7d
[]
no_license
engrogerio/sgo_single
026384ac551252fb4a8df420809266d7d4b49b82
3108a715c53dbd189f0c8b1fac58e80bf59db545
refs/heads/master
2021-03-30T17:36:34.037328
2018-01-17T14:23:09
2018-01-17T14:23:09
117,846,158
0
0
null
null
null
null
UTF-8
Python
false
false
2,407
py
#_*_ coding: utf-8 _*_ from django.db import models from django.contrib.auth.models import User class BusinessUnit(models.Model): # Business unit is a model to represent all sites envolved on transactions cd_unit = models.CharField('Código do Estab.', max_length=5) unit = models.CharField('Nome do Estab...
[ "eng.rogerio@gmail.com" ]
eng.rogerio@gmail.com
03f19b5b56ff537ccba3f1fc41d273929910636b
6810a482759afd585db7bb0b85fd0416f0450e6d
/Open Kattis/parking.py
4c00034a1f2f3d792787cb617febe0f62f1329e2
[]
no_license
BenRStutzman/kattis
01b000ac2353c8b8000c6bddec3698f66b0198ef
005720f853e7f531a264227d0d9aaa19d4d7cf1b
refs/heads/master
2020-07-15T23:52:45.785021
2019-11-09T03:28:06
2019-11-09T03:28:06
205,675,532
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
import sys def main(): inp = [[int(num) for num in line.split()] for line in sys.stdin.read().splitlines()] costs = [0] + [(i + 1) * inp[0][i] for i in range(3)] #print(costs) num_trucks = [0 for t in range(max(inp[1][1], inp[2][1], inp[3][1]))] for truck_range in inp[1:4]: for t in range(t...
[ "tysorx89@gmail.com" ]
tysorx89@gmail.com
bbe25cfc78db71c9845fa7f03055b9ed957531d1
ae2c9a5273f67415f2568c8998a5c57f0196d727
/mirror-tools/setting.py
d4c7c42d1b68ba8cd2e0c59baa85cec710db72b1
[]
no_license
shmilee/openwrt-wndr3700v4
12693081bae05a203cde7f728d1d1beb39dc155e
a757dfa485653affe20807f97b8cfacd77b0a596
refs/heads/master
2022-01-15T04:03:38.928255
2022-01-08T10:34:53
2022-01-08T10:34:53
74,760,934
4
4
null
null
null
null
UTF-8
Python
false
false
1,625
py
# -*- coding: utf-8 -*- # Copyright (C) 2018 shmilee # 1. set download site, mirror # URL = 'http://downloads.openwrt.org' URL = 'https://openwrt.proxy.ustclug.org' # 2. set processes number, 2-50 PSIZE = 10 # 3. arguments that ``requests.request`` takes REQUESTS_KWARGS = dict( stream=True, timeout=min(PSIZE...
[ "shmilee.zju@gmail.com" ]
shmilee.zju@gmail.com
c35d8ddf22f90b0119aec631b1201439336dc211
3c6b064bc1d98038ca03a73f4ce0053f4d0b1f71
/main.py
a98a1814ab87e979ed268e48cd07f2331675258b
[ "MIT" ]
permissive
codelieche/scrapyProject
83ba0d828410ab6b25cae569254597d6fbb65d91
9c51d55ac3b6faaea8d29473ddf18d8c122daad2
refs/heads/master
2022-01-10T09:15:12.771127
2017-12-04T08:11:25
2017-12-04T08:11:25
112,553,743
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# -*- coding:utf-8 -*- """ 运行scrapy的脚本 主要是为了用于调试 """ from scrapy.cmdline import execute import sys import os sys.path.append(os.path.dirname(os.path.abspath(__file__))) # 1. codelie的相关爬虫 # 1-1:使用chrome的中间件打开网页,获取page_soource # execute(["scrapy", "crawl", "codelieche_chrome"]) # 1-2: 使用chrome的中间件打开网页,同时不加载图片 execut...
[ "codelieche@gmail.com" ]
codelieche@gmail.com
04ce4323b2fe8ef6269e2a35ce1c76c7ad1076fd
91e8b3680f2c62a0f463fd649a047b2d62658745
/liaison/distributed/learner_for_test.py
185d1bfd15076ec25cf19ddcba22227eacb066ea
[]
no_license
aravic/liaison
cf726133568de0de7e00f082ceb15030d58ffba6
21a497bd67d82aab27cb883386601db0a062c9d1
refs/heads/master
2022-09-15T11:38:18.597782
2020-06-05T04:41:30
2020-06-05T04:41:30
206,321,282
0
1
null
null
null
null
UTF-8
Python
false
false
3,438
py
import copy import logging import os import uuid from queue import Queue from threading import Thread import liaison.utils as U import tensorflow as tf from liaison.distributed import Trajectory from liaison.session.tracker import PeriodicTracker from liaison.utils import ConfigDict, logging from tensorflow.contrib.fr...
[ "addanki@mit.edu" ]
addanki@mit.edu
456e23b2f8d0dc0f03790d9aae7066a58957885c
60f5b2e7916bfb2686f5e0da2a5d9031a097ce05
/test/hlt/pytest/python/com/huawei/iotplatform/client/dto/ClientInfo.py
c74a560474a0d7ffdbf4364b680b6e83434e8e6c
[ "BSD-3-Clause" ]
permissive
SuYai/LiteOS_Lab
65f1a73026331f2a78567f07955e43ee82df265f
3c9a579cd17d730e21814efc15076351a365e5f8
refs/heads/iot_link
2020-11-28T18:39:02.989946
2020-03-02T02:09:51
2020-03-02T02:09:51
229,894,455
1
0
BSD-3-Clause
2020-03-05T07:49:17
2019-12-24T07:32:24
C
UTF-8
Python
false
false
685
py
class ClientInfo(object): def __init__(self): self.platformIp = None self.platformPort = None self.appId = None self.secret = None def getPlatformIp(self): return self.platformIp def setPlatformIp(self, platformIp): self.platformIp = platformIp def get...
[ "xu_liqun@hoperun.com" ]
xu_liqun@hoperun.com
d6ac34462eaf80cc317f077b9d980ee864349c66
44bbfe1c9a7f16e632cdd27c2de058033b33ea6d
/mayan/apps/document_indexing/forms.py
c44915b2f02e22f09c6ff2eade84c56245259c31
[ "Apache-2.0", "ISC", "MIT" ]
permissive
lxny2004/open-paperless
34025c3e8ac7b4236b0d8fc5ca27fc11d50869bc
a8b45f8f0ee5d7a1b9afca5291c6bfaae3db8280
refs/heads/master
2020-04-27T04:46:25.992405
2019-03-06T03:30:15
2019-03-06T03:30:15
174,064,366
0
0
NOASSERTION
2019-03-06T03:29:20
2019-03-06T03:29:20
null
UTF-8
Python
false
false
1,416
py
from __future__ import absolute_import, unicode_literals from django import forms from django.utils.encoding import force_text from django.utils.translation import ugettext_lazy as _ from common.classes import ModelAttribute from documents.models import Document from .models import Index, IndexTemplateNode class I...
[ "littlezhoubear@gmail.com" ]
littlezhoubear@gmail.com
8f41241b4245cb6ebb40450b96790784e11a0975
f7b1e7ea069908eece4821a8fffc87f148940976
/rlflow/vector/constructors.py
608da9738dca552e1efb4df650ac180e423cfa99
[]
no_license
benblack769/rlflow
5451fbc53000c7ee2bd8ec571df876275209d9dd
4d504b91556f23c522915f3d6390ea5a3a6169a7
refs/heads/master
2023-03-07T18:24:04.957426
2021-02-23T00:12:52
2021-02-23T00:12:52
271,938,665
4
0
null
null
null
null
UTF-8
Python
false
false
1,285
py
from .concat_vec_env import ConcatVecEnv from .multiproc_vec import ProcConcatVec class call_wrap: def __init__(self, fn, data): self.fn = fn self.data = data def __call__(self, *args): return self.fn(self.data) def MakeCPUAsyncConstructor(max_num_cpus): if max_num_cpus == 0: ...
[ "weepingwillowben@gmail.com" ]
weepingwillowben@gmail.com
4ef863750fd650bed47ebbd1d5daa430f0eaa9cc
db93a7b45b6d1c38267d72f0ea59371d880059a1
/tw2facemelttg21/model/bloglog.py
a820bb9800282ec05d87c1948248925af3704eb6
[]
no_license
ralphbean/tw2-facemelt-tg2.1
68093d91572be4a2d82fd78b8573f8a9bdfe22b4
549d3cf7c761374ed5b38d30b00a5e22eb6ddf71
refs/heads/master
2016-09-05T18:05:46.653249
2011-04-30T07:09:51
2011-04-30T07:09:51
1,683,322
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
# -*- coding: utf-8 -*- """ Logs of Bob Loblaw's Law Blog """ from sqlalchemy import * from sqlalchemy.orm import mapper, relation from sqlalchemy import Table, ForeignKey, Column from sqlalchemy.types import Integer, Unicode #from sqlalchemy.orm import relation, backref from datetime import datetime from tw2facemel...
[ "ralph.bean@gmail.com" ]
ralph.bean@gmail.com
6f59134ed0e64bb32e20641fae277d1bb987957c
a3eb732ead7e1d10a85a88e42dc639eb16a40265
/instagram_api/response/model/image_versions2.py
2f9394f206f245bd6e08a838c41a8e6a08c2adad
[ "MIT" ]
permissive
carsam2021/instagram_api
7654c0f485c22935cf478016e46e65acbeda9344
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
refs/heads/master
2023-03-16T14:06:27.515432
2020-10-17T04:39:19
2020-10-17T04:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
from ..mapper import PropertyMapper, ApiInterfaceBase from ..mapper.types import Timestamp, AnyType from .image_candidate import ImageCandidate __all__ = ['ImageVersions2', 'ImageVersions2Interface'] class ImageVersions2Interface(ApiInterfaceBase): candidates: [ImageCandidate] trace_token: AnyType class I...
[ "root@proscript.ru" ]
root@proscript.ru
8cbb2ae9f4d929584455716730a3712486e92ba8
9d29861e44389e02762e6eb0457c6a415a54e26c
/pyrax/cloudnetworks.py
43713d6255e362e4afa05275c492f53362567770
[ "MIT" ]
permissive
itsmemattchung/pyrax
e787d67f8a79036834575f951f8c9e81d64d8b8f
e8eff127a5c9b6e64a9a42593d5e889c3c03f81d
refs/heads/master
2021-01-18T10:14:31.752469
2015-05-16T16:44:35
2015-05-16T16:44:35
21,360,598
0
0
null
null
null
null
UTF-8
Python
false
false
7,036
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c)2013 Rackspace US, 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.a...
[ "ed@leafe.com" ]
ed@leafe.com
e0724bf922fa0a4f3d07873e4c17f9e177696819
9c1b2dbf57ab12eaf3dfa4bc9b525248dbb10176
/setup.py
1a7b5cde882ba442700cae1367c9c693ebeed3a2
[ "Apache-2.0" ]
permissive
Annakan/RxPY
9fc25e3ed66b60079d118e9e33e4fbc5aae52e53
f1584fd4c49d37630732a75212d42604cd5a0362
refs/heads/master
2021-01-15T09:23:44.804316
2015-05-17T08:45:34
2015-05-17T08:45:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
try: from setuptools import setup except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup setup( name='Rx', version='1.2.0', description='Reactive Extensions (Rx) for Python', long_description=("is a library for composing asynchronous and " ...
[ "dag@brattli.net" ]
dag@brattli.net
3c3c605d9e0c063634be60c97c002d0c2a4fdd54
9ccda1194d47312ad0d6615a47795a1b9faccd62
/nicoletbank/items.py
54441b5fe99785d22e1f0abe42ad319b62919654
[]
no_license
hristo-grudev/nicoletbank
4e26bd1b302fc16bc1402b590ee86a0a20c73bc1
8cb081789f3dbcc4e869f284a15752b506296f03
refs/heads/main
2023-03-24T16:51:58.237633
2021-03-25T07:51:10
2021-03-25T07:51:10
351,351,384
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
import scrapy class NicoletbankItem(scrapy.Item): title = scrapy.Field() description = scrapy.Field() date = scrapy.Field()
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
57bcd1578353fd9b2f9db778d1810cd96fc2e16e
da687718aa8ce62974090af63d25e057262e9dfe
/cap08-numeros/extras/1_numbers.py
904a8a050962569958ab4265178beea065c40fcd
[]
no_license
frclasso/revisao_Python_modulo1
77928fa4409c97d49cc7deccdf291f44c337d290
1e83d0ef9657440db46a8e84b136ac5f9a7c556e
refs/heads/master
2020-06-25T05:37:28.768343
2019-07-27T22:23:58
2019-07-27T22:23:58
199,217,969
1
0
null
null
null
null
UTF-8
Python
false
false
474
py
#!/usr/bin/env python3 print(3, -1, 3.14159, -2.8) # imprimindo numeros simples # identificando os tipos de numeros, usando a funcao 'type' print(type(3)) # int print(type(-1)) # int print(type(3.14159)) # float print(type(-2.8)) # float print(type(301j)) # complex # fazendo a conversao entre os tipos print(int...
[ "frcalsso@yahoo.com.br" ]
frcalsso@yahoo.com.br
ce48a878eb115e83e603067c6028d9fc849e3a37
bf3a266294c62cafc9508f7d85102c1d318c9bde
/project/spiders/pro8/pro8/middlewares.py
e3b1dfe13c842616ba3b5725ee009a678acf6b9e
[]
no_license
stonegithubs/spiders
417442c94d2531b4b7e58990c5611de8dd9c1789
eeafe77fc8ab816e946522e99f02ba53b5350484
refs/heads/master
2020-07-15T09:17:03.305808
2019-08-30T08:40:30
2019-08-30T08:40:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,599
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class Pro8SpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy act...
[ "31926990@qq.com" ]
31926990@qq.com
d295363fd5e1152e3c45c8540e7406f80748a9af
fd7406dcf3f898bd5b82a0ee4306e02c1d1b4970
/backup/testcase/search_testcase/testWebBranchOrderSearch.py
44fe3aab4b52c891fc50e5a875a1bd6a049edab2
[]
no_license
18786262315/zidonghuaapi
e5f979fc599f8bca08e7e5cfbd58943fe36b75d3
28145f13231e9df76a33894b82c0e552afb485fc
refs/heads/master
2020-03-26T01:48:13.018859
2018-08-11T12:32:51
2018-08-11T12:32:51
144,383,122
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
# -*- coding: utf8 -*- import unittest from AthenaTest.common.loadDatas import * import sys import importlib importlib.reload(sys) class TestWebBranchOrderSearch(unittest.TestCase): def setUp(self): self.datafile = '../../datacase/search_datacase/web_branch_order_search.xls' def test_orderAppointSea...
[ "843092012@qq.com" ]
843092012@qq.com
726f4b1eafa84d1ecd7544743499d506a9adfa9c
f62ff90d7850af458d8f12386fc9ee9134dbe7c1
/Plots/Paperplots/Model_7/Exchange_Current.py
d9322159ecc480e8fcefee3b975f46ef16814401
[]
no_license
AlexSchmid22191/EIS_R_Sim
51b431f078cb455fc38637c192436c0523449565
851b061e60811e1e58a5b2fd4e393e529c3f86ac
refs/heads/master
2023-06-27T17:40:59.177270
2021-07-22T11:50:27
2021-07-22T11:50:27
380,768,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
from matplotlib.pyplot import subplots, show from matplotlib.style import use from numpy import load, log10 from mpltools.annotation import slope_marker from matplotlib.ticker import LogLocator, NullFormatter use('../Paper.mplstyle') data = load('../../../Currents_Resistances_Model_7/Current_Data_Model_7.npy') fig, ...
[ "Alex.Schmid91@gmail.com" ]
Alex.Schmid91@gmail.com
ba000ad3f5d9aacd7427c5066a649d2ee74d8fc1
7e266469a84e06e3551a7ba0dca25e894f2f3111
/Bloomy_Core-LeadToQuotation_TestCase1-2021_06_30_10_46/Bloomy_Core_LeadToQuotation_TestCase1/subtests/test_logout.py
b8a6c4c3df61986b9e58b22d2dd481c633c423da
[]
no_license
Bloomstack-Test-Automation/Bloomstack-Test-Automation
43862b6761951effee5f17d7428f5be0c34b4499
2450df2018715cf6f0ec080ca1dc0751a230d969
refs/heads/main
2023-06-06T10:52:57.695175
2021-06-30T11:33:30
2021-06-30T11:33:30
368,438,826
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
from selenium.webdriver.common.by import By from src.testproject.decorator import report_assertion_errors """ This pytest test was automatically generated by TestProject Project: Bloomy_Core Package: TestProject.Generated.Tests.BloomyCore Test: Logout Generated by: Meenal Kardale (meenal.kardale@extra...
[ "noreply@github.com" ]
Bloomstack-Test-Automation.noreply@github.com
56026e1c69f497969c0342fa0e69ed8a2476846b
9806c35c4acfa16e56535970dbe5f84271b67664
/eod_aps/job/reset_mktdtctr_cfg_file_job.py
39e0df5630b45268a2aa1f6788b9bc5b4d11a026
[]
no_license
dsjmhjs/python_eod
a8e3513c77a37cfebf2f21a55bfb19449b8a013b
48207dd15e7079ef5fd2cf999367c429087197ea
refs/heads/master
2020-06-25T23:22:30.874309
2019-07-29T10:26:02
2019-07-29T10:26:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,300
py
# -*- coding: utf-8 -*- # 重新生成行情中心配置文件 import os from itertools import islice from eod_aps.model.schema_common import Instrument from eod_aps.job.upload_to_server_job import upload_mkt_cfg_file_job from eod_aps.job import * group_number = 3 cfg_file_title = 'TICKER,EXCHANGE_ID,TYPE_ID,' mg1_file_title = 'TICKER,EXCHAN...
[ "123456789" ]
123456789
9a0bae71e37986b27e3262b41651be7a640faae2
cadf64df978069aff38052fdd66a604a7b01ce3a
/fenix-stability.py
26732cd983750c2580fceadc920078544a2de9d2
[]
no_license
st3fan/mozilla-mobile-scripts
bff1ea664259288f3a445a0b34e8ee1a784c0ae5
9c86f08810c98abbd46aaa9914fb06b65bdb1632
refs/heads/master
2023-03-06T23:21:57.395714
2021-02-16T18:06:52
2021-02-16T18:06:52
294,152,939
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
#!/usr/bin/env python3 import os import requests if __name__ == "__main__": # Collect available releases r = requests.get("https://product-details.mozilla.org/1.0/mobile_android.json") r.raise_for_status() products = r.json() versions = "" for key, release in products['releases'].items():...
[ "stefan@arentz.ca" ]
stefan@arentz.ca
d8afc93f65570aae02dfe524c260d227a7df4a1b
8bf8ab29cb25de00c6a799d1f58610528b810592
/SW 문제해결 기본/1218. [SW 문제해결 기본] 4일차 - 괄호 짝짓기/main.py
b9e16bb11edb36995fd8b35683872f7918d11335
[]
no_license
mgh3326/sw_expert_academy_algorithm
fa93fb68862cabeba8f9f5fff00a87f26a014afc
97cbd2a1845e42f142d189e9121c3cd5822fc8d8
refs/heads/master
2020-07-03T21:40:29.948233
2019-11-23T07:26:15
2019-11-23T07:26:15
202,058,567
0
0
null
2019-11-30T06:11:34
2019-08-13T03:40:18
Python
UTF-8
Python
false
false
709
py
my_dict = {"}": "{", ")": "(", "]": "[", ">": "<", } test_case_num = 10 for test_case_index in range(10): str_length = int(input()) input_str = input() str_list = list(input_str) temp_list = [] current_count = 1 for _str in str_list: if _str ==...
[ "mgh3326@naver.com" ]
mgh3326@naver.com
764d1f8cac22a6c413d0d829dd84bc532c1e0011
297497957c531d81ba286bc91253fbbb78b4d8be
/testing/web-platform/tests/webdriver/tests/bidi/browsing_context/close/close.py
a263011137307b86abebf55543dc2640dc466d50
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
Python
false
false
617
py
import pytest pytestmark = pytest.mark.asyncio @pytest.mark.parametrize("type_hint", ["window", "tab"]) async def test_top_level_context(bidi_session, type_hint): top_level_context = await bidi_session.browsing_context.create( type_hint=type_hint ) contexts = await bidi_session.browsing_context....
[ "mcastelluccio@mozilla.com" ]
mcastelluccio@mozilla.com
c5fef9c7c8fb5ebca501252a603d4eec48515f13
27f2fef4dcb7221062d0777d646b6fae92ea9ddb
/eamod_api/serializers.py
27cd48c75e7452e3606d1ad3b1e1d923acd89e0e
[ "MIT" ]
permissive
kubixservice/ragnarok
6036fa9460b006efce8642fa807b07cc34c04b7c
dd70b9cd6e8047cc672b673209cd7dcf5c7e42e0
refs/heads/master
2023-08-18T14:05:46.614770
2020-06-06T23:54:22
2020-06-06T23:54:22
144,258,841
6
5
MIT
2023-09-05T14:11:31
2018-08-10T08:24:07
Python
UTF-8
Python
false
false
2,784
py
from rest_framework import serializers from . import models from main_api import serializers as main_serializers class CharWoeSkillCountSerializer(serializers.ModelSerializer): class Meta: model = models.SkillCount fields = ('char_id', 'skill_id', 'count', 'woe_date') class CharBattlegroundsSk...
[ "inspectahdeck227@gmail.com" ]
inspectahdeck227@gmail.com
dc6629cca60c18469591db4799a17dcdf4a39be6
2ea252c5bb71261a04840d76820474f3c153a054
/apps/note/mixins.py
4a793351e1b60d9f9d0f29cfbdc76b1d96864a81
[]
no_license
artrey/notes
c79cdec4a1c9a4d47923d491d55dce73dc603db7
27acdf05abef12d59b2157b0c94581565539346e
refs/heads/master
2023-06-04T01:34:35.682521
2021-06-26T21:21:52
2021-06-26T21:21:52
352,204,323
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
from django.contrib.auth.mixins import UserPassesTestMixin class OwnerOrAdminRequiredMixin(UserPassesTestMixin): def test_func(self) -> bool: user = self.request.user note = self.get_object() return user.is_superuser or user.is_staff or user == note.author class OwnerOrAdminOrPublicRequi...
[ "oz.sasha.ivanov@gmail.com" ]
oz.sasha.ivanov@gmail.com
8c7cf59b20f303da3ae24a6c3871c45f471dd035
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_117/1720.py
cd2dcd8f9a113c7fb1618b8d84d5bcc63e05fe72
[]
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,423
py
import re def lawn(f): with open(f,'r') as ifile: case = int(ifile.readline()) rlt = [] for i in range(case): line = ifile.readline() n,m = [z for z in map(int,line.split())] klist = [] for j in range(n): line = ifile.readline...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
f6390d96be759f9ecbfb71a96b8e118bd8bb383a
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/formatter/multilineIfConditionInParenthesesHangingIndent.py
a09103cdfa5b3b7c83fa1d4966a5282538def9a6
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
132
py
if ( 1 < 2 and 3 == 3 and 4 != 6 ): print('True') if ( 1 < 2 and 3 == 3 and 4 != 6 ): print('True')
[ "mikhail.golubev@jetbrains.com" ]
mikhail.golubev@jetbrains.com
c10341048ce44809f22c3b1dcee0fd3a0f36d838
cb115678833e5009006e724f03e3baf56806b344
/python-3-mundo-2/ex066.py
7002e199492e32e3b5e43a2fc5a1dc213bf87317
[]
no_license
BrenoNovais/curso-em-video-python
0c619ce9072b3bad6414f3f1b00df19c9604d919
77da041fc6058281f7b56e53117f24134148cc0e
refs/heads/master
2022-12-02T10:57:56.054739
2020-08-15T00:45:38
2020-08-15T00:45:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
soma = cont = 0 while True: num = int(input('Digite numeros: ')) if num == 999: break soma += num cont += 1 print(f'Você digitou {cont} números, a somas deles é: {soma}')
[ "breno.novais@hotmail.com" ]
breno.novais@hotmail.com
a83a631bf54aa13dc35ab6d2fcf659874e43da94
729ac731cc69ffb331e1ad86ec09946f6e210da3
/Global_Variable.py
777c7a95e1135e7e8f40d5705ea680cf33f984ca
[]
no_license
sadiqulislam/Python-Practice-All-
1fb31095653137ea954ddf3d7173261b8e86a872
f4a0305c0c4363ada6459bf55ee3ef267dcea53f
refs/heads/master
2020-07-26T12:39:50.437859
2020-02-10T15:41:12
2020-02-10T15:41:12
208,645,667
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
restaurent_name = "Chillox" restaurent_owner = "Shishir" def restaurent_details(): print("The Restaurent Name Is :",restaurent_name) print("Owner Is: ",restaurent_owner) restaurent_details()
[ "sishishir2015@gmail.com" ]
sishishir2015@gmail.com
4d743dab238269cc2b3074e870f7e4de4e6ecbe0
6298b86479fa0c32a7627587d02ee94f2119b634
/rapidsmsrw1000/apps/ubuzima/handlers/red.py
76ed7130f46771b005101a1212a413f6e5fa6580
[]
no_license
timkaboya/rapidsmsrw1000
99b2b158c3a73087b232b912b69f526f0b1cfd4e
54655ea1c7a8f5399ff3c1276fcfbd0a6d391c19
refs/heads/master
2021-01-18T12:12:13.202580
2013-12-06T14:51:47
2013-12-06T14:51:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,967
py
#!/usr/bin/env python # vim: ai ts=4 sts=4 et sw=4 ##DJANGO LIBRARY from django.utils.translation import ugettext as _ from django.utils.translation import activate, get_language from decimal import * from exceptions import Exception import traceback from datetime import * from time import * from django.db.models imp...
[ "zigdidier@gmail.com" ]
zigdidier@gmail.com
5fdd8c64592a1c5ac3027542c26ee03fb9bf243f
1c751c001357d23fe10e7a42490e3b76434dfa18
/tools/py/s3upload.py
9156e2631127905dbbfb3f0cb70c045d4f4bd645
[]
no_license
pie-crust/etl
995925199a71b299544bfac1ed8f504f16fbadc2
14b19b542eaa69b8679ce7df4d9a5d2720b3c5c7
refs/heads/master
2022-12-12T18:40:31.866907
2019-10-14T15:46:16
2019-10-14T15:46:16
215,082,544
0
0
null
2022-12-08T05:22:54
2019-10-14T15:43:04
Python
UTF-8
Python
false
false
520
py
import boto3 some_binary_data = b'Here we have some data' more_binary_data = b'Here we have some more data' transfer_file='dump/CIGActgH/spTimeSeriesPL_WRAPPER/1k.csv' if 0: # Method 1: Object.put() s3 = boto3.resource('s3') object = s3.Object('home-pmt-datamart-dev', transfer_file) object.put(Body=some_binary_dat...
[ "olek.buzu@gmail.com" ]
olek.buzu@gmail.com
32c3ec7a2b499fb374778047bfa5144cc35f28bd
4c8f6ed10990fd2f86c6a00d0f36653940dfc50c
/leaderboard.py
5d6e3992c0ced13731629f9cf8bd3de3e9c93046
[]
no_license
riley-csp-2019-20/1-2-2-catch-a-turtle-leaderboard-DiamondGear
86ef69cbe52299339ea60dbef2bdc9433af67932
572a78a43fccf9a9216ab40ed23fbc7e2a2cf86c
refs/heads/master
2020-08-30T08:13:50.195824
2019-11-07T16:21:37
2019-11-07T16:21:37
218,315,899
0
0
null
null
null
null
UTF-8
Python
false
false
4,688
py
# leaderboard.py # The leaderboard module to be used in a122 solution. # set the levels of scoring bronze_score = 35 silver_score = 45 gold_score = 50 # load leaderboard from file def load_leaderboard(file_name, leader_names, leader_scores): leaderboard_file = open(file_name, "r") # need to create th...
[ "noreply@github.com" ]
riley-csp-2019-20.noreply@github.com
da19267c46ae53307ab21cdb05b303e02e2f79b3
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/scaleform/daapi/view/lobby/wgnc/wgncpollwindow.py
0f0b1bd7a31901da13f94ae61540b1886703fc61
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,802
py
# 2015.11.18 11:54:46 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/wgnc/WGNCPollWindow.py from adisp import process from gui import DialogsInterface from gui.shared import events, EVENT_BUS_SCOPE from gui.wgnc import g_wgncProvider from gui.Scaleform.daapi.view.dialogs ...
[ "info@webium.sk" ]
info@webium.sk
aba6951733bf59dfe296cb7fbede64264f48a092
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2464487_0/Python/shangjingbo/A.py
4196730a30f572126631a3576ae061c75b3c2a1e
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
289
py
import math test_count = input() for test in xrange(test_count): R, total = map(int, raw_input().split()) l = 0 r = total; while l + 1 < r: n = (l + r) / 2 if (2 * n * R + n + (n - 1) * 2 * n) <= total: l = n else: r = n print 'Case #%d: %d' %(test + 1, l)
[ "eewestman@gmail.com" ]
eewestman@gmail.com
56ede7d0f06a9c122fdec9f354331ada512a4dbd
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_203/ch20_2019_08_21_19_19_31_921688.py
28121bba0a3a3672abc015e07deabce11b16b941
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
nome = input('Qual é seu nome? ') if nome == 'Chris' : print ('Todo mundo odeia o Chris') else : print ('Olá,{0}!'.format(nome))
[ "you@example.com" ]
you@example.com
2243b1370fc09d793ac2c18657492a967ec84a3a
4d097d0e8c571874761463f698f5d34e38e549a0
/python/b_14696.py
160f1de2a7249317a942299887c5cc0831cda193
[]
no_license
sondongmin0419/study
533832151958fe8ae178d8aee183edf91ffa7e12
0c863e2c9111b35a15ccfaec3cc64828c584beb1
refs/heads/master
2023-03-24T11:54:04.139399
2021-03-15T13:40:21
2021-03-15T13:40:21
281,695,258
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
N = int(input()) def play(): for i in range(min(li_a_len, li_b_len)): if li_a[i] > li_b[i]: return 'A' elif li_a[i] < li_b[i]: return 'B' if li_a_len > li_b_len: return 'A' elif li_a_len < li_b_len: return 'B' return 'D' for i in range(N): ...
[ "dongmin.dev0419@gmail.com" ]
dongmin.dev0419@gmail.com
337b6d59f10e92eacc703ddc2b6ecd3262f5ad74
aca4f00c884e1d0e6b2978512e4e08e52eebd6e9
/greed/SRM 757/CentipedeSocks.py
b5afce91aae7275c5ab583fcd0bbaa212544e59d
[]
no_license
jki14/competitive-programming
2d28f1ac8c7de62e5e82105ae1eac2b62434e2a4
ba80bee7827521520eb16a2d151fc0c3ca1f7454
refs/heads/master
2023-08-07T19:07:22.894480
2023-07-30T12:18:36
2023-07-30T12:18:36
166,743,930
2
0
null
2021-09-04T09:25:40
2019-01-21T03:40:47
C++
UTF-8
Python
false
false
3,816
py
# -*- coding: utf-8 -*- import array import bisect import collections import fractions import heapq import itertools import math import re import string def check(k, n, m, a): foo = 0 c = len(a) b = sorted([[a[i] % m + 1, a[i]] for i in xrange(c)]) d = sum(a) - k for i in xrange(c): if b[i][0] <= d: ...
[ "jki14wz@gmail.com" ]
jki14wz@gmail.com
f89bebc093ed3bf4d60766366816e5db6a8bd2f9
5c8139f1e57e06c7eaf603bd8fe74d9f22620513
/PartB/Py删除字符串中出现次数最少的字符2.py
773efaffe76cd9f6d070f515b14fa06fbfd9eb4c
[]
no_license
madeibao/PythonAlgorithm
c8a11d298617d1abb12a72461665583c6a44f9d2
b4c8a75e724a674812b8a38c0202485776445d89
refs/heads/master
2023-04-03T07:18:49.842063
2021-04-11T12:02:40
2021-04-11T12:02:40
325,269,130
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
from collections import defaultdict while True: try: a = input() dd = defaultdict(int) for i in a: dd[i] += 1 for i in dd: if dd[i] == min(dd.values()): a = a.replace(i, "") print(a) except: break
[ "2901429479@qq.com" ]
2901429479@qq.com
dcb77a2a968b58612d2ccfb57ea1354296799af5
1720aa75167aa0837a727e16761e3b65acadcba7
/python/ray/serve/tests/test_serve_ha.py
5dbf6887ebdf9a4aff55e279c1477f2b1ec1dc84
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
pcmoritz/ray-1
3fd0dbf300cb4c1ce791555f4691e1101c1edbee
c5e78dc0c8a3e2c099451f37e54ab6b6fe8a004a
refs/heads/master
2023-08-17T05:36:11.528122
2023-07-25T21:39:48
2023-07-25T21:39:48
77,173,450
0
1
Apache-2.0
2023-03-04T08:57:43
2016-12-22T20:21:46
Python
UTF-8
Python
false
false
4,630
py
import pytest import sys import threading from time import sleep from ray.tests.conftest_docker import * # noqa from ray._private.test_utils import wait_for_condition from ray._private.resource_spec import HEAD_NODE_RESOURCE_NAME scripts = """ import ray import json from fastapi import FastAPI app = FastAPI() from ra...
[ "noreply@github.com" ]
pcmoritz.noreply@github.com
961aa64b9bb8f477ed6bb3ac0e939f03e92d7b71
8ae55aa410a9f00eb7c1ceee96a89335360c1dba
/odps/pai/algorithms/algorithm_nodes.py
2b9964f5a79a4467eb553ee61bb9ecd1f8722e2a
[ "Apache-2.0" ]
permissive
ifedora/aliyun-odps-python-sdk
05edbb9d0d9a7ddbf14efd1d5dfd20131cbc25a1
d8c6f0d1e94576387f4c7a439ae607a08d7c640d
refs/heads/master
2021-01-21T15:23:00.086425
2015-12-16T08:39:47
2015-12-16T08:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,486
py
# encoding: utf-8 # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Licens...
[ "xuye.qin@alibaba-inc.com" ]
xuye.qin@alibaba-inc.com
f9c2f535d5cd8f2acab0096a8b2a46902037cfed
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/spaCy/2015/4/prepare_vecs.py
a8c774052041b8dc38ee3134d731f06362f6447e
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
286
py
"""Read a vector file, and prepare it as binary data, for easy consumption""" import bz2 import plac import struct from spacy.vocab import write_binary_vectors def main(in_loc, out_loc): write_binary_vectors(in_loc, out_loc) if __name__ == '__main__': plac.call(main)
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
aa7511a1809dca85ec719f4618ad10910e0c651d
88ce3ae8f2e3797baa67108a85a47722b6c961b7
/exercicio_py/ex0010_fatorial/fatorial_test.py
eb4abd5cb945c49022e60556c1ffb4eeaa1237c3
[ "MIT" ]
permissive
danielle8farias-zz/hello-world-python3
dda24fe4c125f762d6512589b288f633f00c94d2
f2fe9b6ca63536df1d83fd10162cfc04de36b830
refs/heads/main
2023-08-10T11:26:58.975017
2021-09-02T19:48:45
2021-09-02T19:48:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
######## # autora: danielle8farias@gmail.com # repositório: https://github.com/danielle8farias # Descrição: função que recebe um número inteiro e retorna o seu fatorial. ######## def fat(n): fat = 1 if n == 1 or n == 0: return fat else: for i in range(n, 0, -1): fat *= i ...
[ "danielle8farias@gmail.com" ]
danielle8farias@gmail.com
07c6d1df5b243e6c6b712b32af1c6f7a8aa08d67
a4e502e9487cf17c53f9f931ec0dbc12168fea52
/tests/pyre/descriptors/floats.py
d6064cd20b41c7cffc1d7b75ee90b8839e0b119f
[ "BSD-3-Clause" ]
permissive
bryanvriel/pyre
bdc5dd59c46d53ff81f2ece532b9073ac3b65be1
179359634a7091979cced427b6133dd0ec4726ea
refs/heads/master
2021-09-28T00:10:26.454282
2018-11-11T16:42:07
2018-11-11T16:42:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2018 all rights reserved # """ Check that float conversions work as expected """ def test(): import pyre.descriptors # create a descriptor descriptor = pyre.descriptors.float() # casts # successful ...
[ "michael.aivazis@orthologue.com" ]
michael.aivazis@orthologue.com
78f20f6586ac76d9e2894bd8940e9ffa057a7c39
e8c891a7c8d0993a2d93c2e256b12796af404408
/connect.py
6ccc3fff9b9b4bb73f118fd1652cd52e20711d02
[]
no_license
robertnishihara/cluster
841d8ea3af10012727140f1aba84adcdca483512
4aeb4cfca468f3c83fba3cefdbd7e52a36fc928e
refs/heads/master
2021-04-27T01:46:40.203428
2018-02-23T22:59:15
2018-02-23T22:59:15
122,682,162
0
0
null
2018-02-23T23:09:40
2018-02-23T23:09:40
null
UTF-8
Python
false
false
3,455
py
#!/usr/bin/env python """ Script to connect to most recent instance whose id or name has substring Usage: To connect to most recently launched instance: connect To connect to most recently launched instance containing 5i3 either in instance id or in instance name: connect 5i3 To connect to most recent instance ...
[ "yaroslavvb@gmail.com" ]
yaroslavvb@gmail.com
c3c1dc6b5d17f5dbd4b6f95f87115fe48d7bd3c3
6daaf3cecb19f95265188adc9afc97e640ede23c
/python_design/pythonprogram_design/Ch3/3-4-E59.py
4f52fff0863617dc1e6a65fb12409fe266758f6f
[]
no_license
guoweifeng216/python
723f1b29610d9f536a061243a64cf68e28a249be
658de396ba13f80d7cb3ebd3785d32dabe4b611d
refs/heads/master
2021-01-20T13:11:47.393514
2019-12-04T02:23:36
2019-12-04T02:23:36
90,457,862
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
## Calculate a person's lifetime earnings. name = input("Enter name: ") age = int(input("Enter age: ")) salary = float(input("Enter starting salary: ")) earnings = 0 for i in range(age, 65): earnings += salary salary += .05 * salary print("{0} will earn about ${1:,.0f}.".format(name, earnings))
[ "weifeng.guo@cnexlabs.com" ]
weifeng.guo@cnexlabs.com
44942095ae80dc8ce08acf7d9e687de4dff212d1
9b9d1a64a932ddad2e3f20797c5c725512c4a4c5
/usuarios/models.py
acaf6987553b4017e578151e6b1c882f34f78dc8
[]
no_license
andrebola/rsa
38d71bbabe5dcde0e45165215e6ded3201b16ed0
de9529b7fe3f870caa678e07448075bbb319a3fe
refs/heads/master
2021-01-20T04:29:41.174541
2013-07-29T22:53:12
2013-07-29T22:53:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,733
py
from django.db.models import (Model, CharField, TextField, ForeignKey, ManyToManyField, URLField, EmailField, BooleanField, OneToOneField, FloatField,IntegerField, DateTimeField,DateField,DecimalField,ImageField,FileField,Positive...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
da946f13703625d92411c8915c7bba97446eafe4
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/o11_j182058+370707/sdB_o11_j182058+370707_lc.py
9849f3d27cb81ba2d1e2fb5bf45469e5438200c5
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[275.241667,37.118611], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_o11_j182058+370707/sdB_o11_j182058+370707_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
d9b69ab8f15a6f07677c7cebba8687de124e71fc
596e92d0d484b6e7eee6d322e72e52748fdeaa5d
/test/test_csgo_stats_season.py
8044e2734508de4adbc2b0daa9fe326f811045cb
[]
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
884
py
# coding: utf-8 """ CS:GO v3 Stats CS:GO v3 Stats # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import sportsdata.csgo_stats from sportsdata.csgo_stats.models.csgo_stats_seaso...
[ "scotty.pate@auth0.com" ]
scotty.pate@auth0.com
28e527712f4bef86bb00654ffd8b9954a6f7d76f
e0731ac7bd6a9fcb386d9c5d4181c9d549ab1d02
/desafio66.py
7634caa34afc55450edeeb8c66b79b99c284378a
[]
no_license
lportinari/Desafios-Python-Curso-em-Video
3ab98b87a2178448b3e53031b86522558c31c099
cd7662ddfe371e48e5aabc6e86e23dc6337405fb
refs/heads/master
2020-04-29T11:09:25.689901
2019-06-23T23:58:06
2019-06-23T23:58:06
176,087,390
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
""" Crie um programa que leia vários números inteiros pelo teclado. O programa só vai parar quando o usuário digitar 999, que é a condição de parada. No final, mostre quantos números foram digitados e qual a soma entre eles. (Desconsiderando o flag) """ print('-=' * 12) print('SOMADOR DE NÚMEROS') print('-=' *...
[ "noreply@github.com" ]
lportinari.noreply@github.com
a6600b00c49f4a99bbcb212d711e8a19045342e9
350bc8bcd2de906383ac1978f90346c17f4be0e3
/colorado_river.py
d3c0e25e17c443782752390c97adfcf0efe35692
[]
no_license
tytechortz/environmental-data-dashboard
41a204ba57a9a071acde14de62aded5b56eee3ad
727b7a37fade7d215018a3d5e5c3997b4613591c
refs/heads/master
2022-12-22T15:41:40.165304
2021-03-16T19:51:43
2021-03-16T19:51:43
241,425,868
1
0
null
2022-12-08T03:39:31
2020-02-18T17:36:46
Python
UTF-8
Python
false
false
6,219
py
import dash import dash_html_components as html import dash_core_components as dcc import pandas as pd import time import json import requests from datetime import datetime, date # from lake_connect import flaminggorge, powell_latest, powell app = dash.Dash(__name__) app.config['suppress_callback_exceptions']=True ...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
59d3e6e426b5ff968b33c01a2ec795f2bd08620f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_blogs.py
bf90fa347e0995943c14d0c63323c201818bd5b1
[ "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
224
py
from xai.brain.wordbase.nouns._blog import _BLOG #calss header class _BLOGS(_BLOG, ): def __init__(self,): _BLOG.__init__(self) self.name = "BLOGS" self.specie = 'nouns' self.basic = "blog" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0619d0804a1182b5d04a67e3cfc279da81f49922
456433ac78b70cb8ae076ae166a85e349f181d7f
/systems/ENGINE/UPDATENEWS/updatenews.py
d8ced355e875781b3b574c35479e55ecaaf1e8b3
[]
no_license
shybkoi/WMS-Demo
854c1679b121c68323445b60f3992959f922be8d
2525559c4f56654acfbc21b41b3f5e40387b89e0
refs/heads/master
2021-01-23T01:51:20.074825
2017-03-23T11:51:18
2017-03-23T11:51:18
85,937,726
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
# -*- coding: cp1251 -*- import db import py_utils as pu from base import BasePage from systems.ENGINE.UPDATENEWS.templates.updatenews_tmpl import updatenews_tmpl import conf.engine_conf as cfg class UpdateNews(BasePage): #, TCommon): def index(self, id_system=None): BasePage.index(self, id_system) ...
[ "s.shybkoi@gmail.com" ]
s.shybkoi@gmail.com
a1ab733b86023d0870c9b1126dd920be97d3728d
555f255a00a1fe88cf4207329308a769d16b836d
/eventex/urls.py
95ec5ef55f6be778001c8982dbb350fcd2db57a8
[]
no_license
olivx/eventex
67212622e6c648f4abd0213e059266b7510157d9
5e9f26ca56157799ac821481dc4f28dc896052be
refs/heads/master
2021-12-14T02:45:32.623541
2021-11-30T22:00:30
2021-11-30T22:00:30
49,175,152
1
0
null
null
null
null
UTF-8
Python
false
false
456
py
from django.conf.urls import url, include from django.contrib import admin from eventex.core.views import home, speaker_detail, talk_list urlpatterns = [ url(r'^$', home, name='home'), url(r'^admin/', admin.site.urls), url(r'^talklist', talk_list, name='talk_list'), url(r'^inscricao/', include('event...
[ "oliveiravicente.net@gmail.com" ]
oliveiravicente.net@gmail.com
ccea6cdf07adc645292054a3f62e018ea7ef21e0
9160bfb7e863c4a5273625ebd0c484f6173061ba
/Leetcode/105 Construct Binary Tree from Preorder and Inorder Traversal.py
6d63bd5c3a24339e520760b2f4880df6e890589f
[]
no_license
ShengYg/algorithms
500a4aeb7c98217958c1ca38dfa185015dce46f9
f66343674087a078578e0d29a95dcc13087a57e3
refs/heads/master
2020-05-21T23:51:09.471817
2017-10-17T07:50:28
2017-10-17T07:50:28
56,570,288
1
0
null
null
null
null
UTF-8
Python
false
false
897
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def buildTree(self, preorder, inorder): """ :type preorder: List[int] :type inorder: List[int] ...
[ "shengy0726@gmail.com" ]
shengy0726@gmail.com
aa8548d6800340c742298b7fcfabbb8703401195
60ab2468735fe16d02ff800b169ffa81afc35f10
/blog/validators.py
8616bf33686c11bbc9dd27efd4f1949fa7cc64b1
[]
no_license
askdjango/dj28
be6ddcb9eaa0e4bc543f61d8f6360c05eee4dc24
1092a0434e5196c876362bdb1d79caef316e11bc
refs/heads/master
2021-01-13T03:35:08.109224
2016-12-28T07:59:04
2016-12-28T07:59:04
77,506,976
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
import re from django import forms LNGLAT_REGEX = r'^([+-]?\d+\.?\d*),([+-]?\d+\.?\d*)$' def lnglat_validator(lnglat): if not re.match(LNGLAT_REGEX, lnglat): raise forms.ValidationError('경도,위도를 입력해주세요.')
[ "allieuslee@gmail.com" ]
allieuslee@gmail.com
7357dad283d79d162a77f21682a22bae933e7230
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/agc003/B/4893948.py
2e532cf442c9e2e623c9bb4b0945530517df144d
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
157
py
n=int(input()) a=[int(input()) for i in range(n)] b=0 c=0 for i in a: if i!=0: c+=i else: b+=c//2 c=0 print(b+c//2)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
8eb0827ae15bdd6758dd2d5bfa62a95b64b96f6e
27b86f422246a78704e0e84983b2630533a47db6
/tests/test_04_dxf_high_level_structs/test_426_ezdxf_metadata.py
bce9977c559558d1da10e32e945077a24aa0808f
[ "MIT" ]
permissive
mozman/ezdxf
7512decd600896960660f0f580cab815bf0d7a51
ba6ab0264dcb6833173042a37b1b5ae878d75113
refs/heads/master
2023-09-01T11:55:13.462105
2023-08-15T11:50:05
2023-08-15T12:00:04
79,697,117
750
194
MIT
2023-09-14T09:40:41
2017-01-22T05:55:55
Python
UTF-8
Python
false
false
2,879
py
# Copyright (c) 2021, Manfred Moitzi # License: MIT License import pytest import ezdxf from ezdxf.document import CREATED_BY_EZDXF, WRITTEN_BY_EZDXF @pytest.fixture(params=["R12", "R2000"]) def doc(request): return ezdxf.new(request.param) def test_created_by_ezdxf_metadata(doc): metadata = doc.ezdxf_met...
[ "me@mozman.at" ]
me@mozman.at
d09824fcf3bdc530e1f916f683fb0be5f701f77a
d368125db17dbd4e50ee82b929275c66f18c3144
/paths_graph/__init__.py
ee3f9f105e843e210469c5160d15927c598ad4e4
[ "BSD-2-Clause" ]
permissive
kkaris/paths_graph
8b31ca0f6fde98bfd0b566aa66a6b7eea8dc3d9a
b2f8c83a0da6aac94487dd605b0d96f8cde612df
refs/heads/master
2020-04-05T12:52:23.771120
2019-04-23T16:22:46
2019-04-23T16:23:48
156,884,142
0
0
BSD-2-Clause
2018-11-09T15:54:02
2018-11-09T15:54:02
null
UTF-8
Python
false
false
187
py
from .pg import PathsGraph, CombinedPathsGraph, get_reachable_sets from .pre_cfpg import PreCFPG from .cfpg import CFPG, CombinedCFPG from .paths_tree import PathsTree from .api import *
[ "bachmanjohn@gmail.com" ]
bachmanjohn@gmail.com
4c2a4a17c5bdd63eef5a1284ec5431b838145b09
f3bd271bf00325881fb5b2533b9ef7f7448a75ec
/classes/_each214.py
83ea01b61d10462ea68a76813c0c9bc1f1d8d552
[]
no_license
obaica/xcp2k
7f99fc9d494859e16b9b0ea8e217b0493f4b2f59
6e15c2c95658f545102595dc1783f5e03a9e6916
refs/heads/master
2020-07-15T17:27:43.378835
2019-02-11T16:32:24
2019-02-11T16:32:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
from xcp2k.inputsection import InputSection class _each214(InputSection): def __init__(self): InputSection.__init__(self) self.Just_energy = None self.Powell_opt = None self.Qs_scf = None self.Xas_scf = None self.Md = None self.Metadynamics = None se...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5eb9e5261e1f46ac399130bee7ea67cc78e8bffb
81b438781ecc307225fcc6141238f8a8ef03bd64
/Project/src/Modules/Computer/Bridges/_test/test_bridges.py
d55031eba01934468d95f3cb5685782f58898fd0
[]
permissive
DBrianKimmel/PyHouse
b7d61be4dc6ce9e3332228a6c633e81fdfd8a908
a100fc67761a22ae47ed6f21f3c9464e2de5d54f
refs/heads/develop
2021-01-23T09:30:08.722975
2020-02-29T16:30:08
2020-02-29T16:30:08
4,125,178
3
1
MIT
2020-07-19T22:07:18
2012-04-24T13:53:33
Python
UTF-8
Python
false
false
4,079
py
""" @name: Modules/Computer/Bridges/_test/test_bridges.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: (c) 2017-2019 by D. Brian Kimmel @note: Created on Dec 23, 2017 @license: MIT License @summary: Passed all 6 tests - DBK - 2018-02-12 """ __updated__ = '2019-12-15' # Imp...
[ "d.briankimmel@gmail.com" ]
d.briankimmel@gmail.com
b1eddd642f5547ba5354aa19fb945337a58f9a12
e402c78999a01e032afccf9091901c8f439360fc
/DAY02/example/procee_1.py
f20b3755c3171384fab52a0dbd166e7dd5136351
[]
no_license
PengLovol/08.PythonThead
1c7362cc3212a244bfee7782e844f60e941e8faf
254f465b137f2dae1ee94a9eb590ccb09db5734d
refs/heads/master
2020-07-08T01:24:39.558672
2019-09-16T08:17:31
2019-09-16T08:17:31
203,527,523
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
from multiprocessing import Process from time import sleep #带参数的进程函数 def worker(sec,name): for i in range(3): sleep(sec) print("I'm %s"%name) print("I'm working...") p = Process(target = worker,args = (2,),\ kwargs = {'name':'Daivl'},name = "Worker") p.start() print("Process name:",p....
[ "1816525677@qq.com" ]
1816525677@qq.com
9c35e5e27050f271628776f5fa915ab339c56765
54ab0f79f5d68f4732ca7d205f72ecef99862303
/torch/_C/_functorch.pyi
d0916e9f035b0a6405e26699cf70ab92d88c6b8c
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
csarofeen/pytorch
a9dd0f8ffa0642d72df2d5e109a8b4d9c2389cbc
e8557ec5e064608577f81e51ccfe7c36c917cb0f
refs/heads/devel
2023-04-30T02:42:13.558738
2023-03-14T00:50:01
2023-03-14T00:50:01
88,071,101
35
10
NOASSERTION
2023-06-21T17:37:30
2017-04-12T16:02:31
C++
UTF-8
Python
false
false
2,179
pyi
from torch import Tensor from enum import Enum from typing import Optional, Tuple # Defined in torch/csrc/functorch/init.cpp def _set_dynamic_layer_keys_included(included: bool) -> None: ... def get_unwrapped(tensor: Tensor) -> Tensor: ... def is_batchedtensor(tensor: Tensor) -> bool: ... def is_functionaltensor(tens...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
b4ef81491287fd734dc915b1cca3c9f6e48600fc
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/tests/components/tomorrowio/test_weather.py
586fd87f681a4df59f39842cc4b93e8f63012f87
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
4,916
py
"""Tests for Tomorrow.io weather entity.""" from __future__ import annotations from datetime import datetime from typing import Any from freezegun import freeze_time from homeassistant.components.tomorrowio.config_flow import ( _get_config_schema, _get_unique_id, ) from homeassistant.components.tomorrowio.co...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
a78b6b6877b44fbae515eb8453372b39eaaa87bd
d83fde3c891f44014f5339572dc72ebf62c38663
/_bin/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/datastore/v1/resources.py
f3edab6d3a79d8347a10362a60db1d1abb86c4d7
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
gyaresu/dotfiles
047cc3ca70f4b405ba272856c69ee491a79d2ebe
e5e533b3a081b42e9492b228f308f6833b670cfe
refs/heads/master
2022-11-24T01:12:49.435037
2022-11-01T16:58:13
2022-11-01T16:58:13
17,139,657
1
1
null
2020-07-25T14:11:43
2014-02-24T14:59:59
Python
UTF-8
Python
false
false
1,422
py
# Copyright 2015 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 ag...
[ "me@gareth.codes" ]
me@gareth.codes
2f0e9827d8b163781d7806e06ab944eef1e9849e
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Windows/Forms/__init___parts/DataGridViewTextBoxColumn.py
44ed08a511cc238ff20d91f65f13a4bf9a2cf3cd
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
4,361
py
class DataGridViewTextBoxColumn(DataGridViewColumn,ICloneable,IDisposable,IComponent): """ Hosts a collection of System.Windows.Forms.DataGridViewTextBoxCell cells. DataGridViewTextBoxColumn() """ def Dispose(self): """ Dispose(self: DataGridViewColumn,disposing: bool) disposing: true to release both m...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
eb06bd69705bbbfb731b0f5a8760d3aac9613915
bf2d87cc14f983a6c563ebe1bd49c48a7474ddff
/leetcode/38.count_and_say.py
9514ed6fa3047815536d78ea34203f321f9d49db
[]
no_license
iamkissg/leetcode
6bd1c87c67ffc6f5d231cac3224c928e22f62af3
99a3abf1774933af73a8405f9b59e5e64906bca4
refs/heads/master
2020-05-05T11:21:05.900296
2019-10-27T10:51:51
2019-10-27T10:51:51
179,986,335
0
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
class Solution: def __init__(self): ''' 92 ms 13.8 MB Python3 ''' seqs = ['1'] for i in range(2, 31): seq = seqs[-1] new_seq = [] count = 0 pre_t = '' for t in seq: if count == 0: ...
[ "enginechen07@gmail.com" ]
enginechen07@gmail.com
1346dbfc987ebc42a132140712eb61a59e2a6384
43ae032297b492fbdf2df478588d2367f59d0b6b
/3 - Types/3.2 - InbuiltTypes-ListsTuples/24-strings-immutability.py
4f9b0e9468fc7449b46de768f3a739d0afcb75dc
[]
no_license
thippeswamydm/python
59fa4dbb2899894de5481cb1dd4716040733c378
db03b49eb531e75b9f738cf77399a9813d16166b
refs/heads/master
2020-07-05T06:57:18.575099
2019-10-23T04:30:27
2019-10-23T04:30:27
202,562,414
1
0
null
null
null
null
UTF-8
Python
false
false
360
py
# Describes how strings are immutable # String cannot be manipulated or reassigned in place # Only a new entire string value can be re-assigned to a variable name = 'Zophie a cat' name[7] = 'the' # Traceback (most recent call last): # File "<pyshell#50>", line 1, in <module> # name[7] = 'the' # TypeError: 'str'...
[ "ganeshsurfs@gmail.com" ]
ganeshsurfs@gmail.com
d75b99ca78c9653151e20f29d7cd12b3e1e5aca6
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/3/usersdata/87/3018/submittedfiles/ex1.py
ef7a10ff5084074bbc34cf97d1edfef35ac32861
[]
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
296
py
# -*- coding: utf-8 -*- from __future__ import division a = input('Digite a: ') b = input('Digite b: ') c = input('Digite c: ') d=((b**2)-(4*a*c))**(0.5) x1=((-b+d)/(2*a)) x2=((-b-d)/(2*a)) if d>=0: print('VALOR DE x1: %.1f' %x1) print('VALOR DE X2: %.1f' %x2) else: print('SRR')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e59120617876d84e96fcf8aa1a43089340430916
4318b236a3e83f5bcd7c10ba93d24595d5b2f8bb
/dx/valuation/var_portfolio.py
3039393c04fad64655f00fba7cde5907fb541039
[]
no_license
mccarvik/python_for_finance
9ad11b8c4f900b31fb464031b6bf7be0b9b8cc13
957c49300ae59571eda590ddf13e7e092fdd96aa
refs/heads/master
2021-01-19T22:15:18.563679
2019-09-20T19:10:58
2019-09-20T19:10:58
88,779,445
3
3
null
null
null
null
UTF-8
Python
false
false
4,121
py
from .derivatives_portfolio import * class var_derivatives_portfolio(derivatives_portfolio): ''' Class for building and valuing portfolios of derivatives positions with risk factors given from fitted VAR model. Attributes ========== name : str name of the object positions : dict ...
[ "mccarviks@gmail.com" ]
mccarviks@gmail.com
ca811c5dfc958f8896b3bc6108a9f087f92046b1
3a298c93b67386392d3dee243671f2c101decf01
/leetcode/learn-cards/array-and-string/21_move_zeros.py
d2dc1887b399ea555e596729479b99d1cdd20f92
[]
no_license
Zahidsqldba07/coding-problems-2
ffbc8408e4408fc846c828af2ec50a9d72e799bc
020bffbd14ca9993f1e678181ee7df761f1533de
refs/heads/master
2023-06-26T11:05:34.089697
2021-07-21T15:16:10
2021-07-21T15:16:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
class Solution: def moveZeroes(self, nums): """ Do not return anything, modify nums in-place instead. """ z = 0 i = 0 for i in range(len(nums)): if nums[i] != 0: nums[i], nums[z] = nums[z], nums[i] z += 1
[ "alvee.akand@outlook.com" ]
alvee.akand@outlook.com
bcd27f6d053afdc0755f9133b84c6eb91627dd12
0cf7ede6eea6220a019560535887d2b4e5e73018
/week03-OOC/day13--项目演练/pracice/项目演练.py
0844776f3cf7f4fa8c66e32f69ac957c7dcb7587
[]
no_license
skywalkerqwer/PythonBase
76efd1fcbe0c2d1c54484c02fcb107063fba96fe
6faf8051bdf416a16586c7f660a4e6cc2a7745bf
refs/heads/master
2020-06-23T05:41:02.540900
2019-08-12T03:21:52
2019-08-12T03:21:52
198,533,526
0
0
null
null
null
null
UTF-8
Python
false
false
3,238
py
""" 在技能数据列表中查找制定名称的技能对象 查找冷却时间大于5的所有技能对象 查找技能数据列表中,消耗法力最小的技能 查找技能数据列表中,冷却时间最大的技能 根据冷却时间对进列表进行升序排列 """ class Skill: __slots__ = ('__code', '__name', '__cd', '__cost_sp') def __init__(self, code=0, name='', cd=0, cost_sp=0, ): self.code = code self.name = name self.c...
[ "15902162780@163.com" ]
15902162780@163.com
ccb578ad32358c586911218c9ba824a1f9e37126
ac4b9ceea8533fd144a75a168258c692b702a3b6
/django_mobile_tests/tests.py
0577e64151b39261b035d12e29f74951baf5af47
[ "BSD-3-Clause" ]
permissive
savidworks/django-mobile
19ecdab027875134d1c82a38ef4cbccf59a1362c
47084b11cd669583ee7b63c530d7a1ba62e6ffd4
refs/heads/master
2020-12-25T10:50:44.563846
2011-02-13T18:51:14
2011-02-13T18:51:14
1,362,512
1
0
null
null
null
null
UTF-8
Python
false
false
6,304
py
import threading from django.conf import settings as django_settings from django.template import RequestContext, TemplateDoesNotExist from django.template.loaders import app_directories, filesystem from django.test import Client, TestCase from mock import MagicMock, Mock, patch from django_mobile import get_flavour, se...
[ "gregor@muellegger.de" ]
gregor@muellegger.de
af4589e13a811f8b04bf9ca97b8fd5c958b4e5e4
6110d5305a827bfe361dc2c3f2e1cff2afef26c4
/core/settings.py
8d4faaa98087fe5bef8f2e2458a6ff499e0701b0
[]
no_license
larry852/krono-backend
effbee89287a5a5934cf799f7177daa6ec25e2ce
b6c8b68846e8d061dae010dd19e23f0d2544efea
refs/heads/master
2022-12-20T20:54:47.629314
2020-02-16T05:15:11
2020-02-16T05:15:11
166,121,132
0
0
null
2022-12-08T01:32:45
2019-01-16T22:22:37
Python
UTF-8
Python
false
false
3,680
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bu...
[ "larryportocarrero@gmail.com" ]
larryportocarrero@gmail.com
6e0334190f5b1580b3018f5e0f8e2280e7754b8f
19333aed645a4721108a67ba4d90292d2383314e
/bfs/662widthOfBinaryTree.py
411645450224f1c8b666493c11ab0787eb6cbc18
[]
no_license
qinzhouhit/leetcode
f39f8720a19259310293c1eb2975ce459f7cf702
502e121cc25fcd81afe3d029145aeee56db794f0
refs/heads/master
2023-06-24T09:18:25.715450
2021-07-21T07:21:42
2021-07-21T07:21:42
189,679,632
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
''' keys: Solutions: Similar: T: S: ''' from typing import List # 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: # O(N) for S and T # S: the queue holds no m...
[ "qinzhouhit@gmail.com" ]
qinzhouhit@gmail.com
c94a17a5654b607c23b8f5210e215757437ed834
d9be747b24e665d1c2cdc9eaf38fa6b7ff34d40c
/bartpy/tree.py
95bbe2ce62766f8113123fc6e862b3b3342f1d73
[ "MIT" ]
permissive
sar2160/bartpy
40187c105562a80f79464e1d1e9c2fcfb4a11d35
a99fe7ad9ca1a18c92c49410ed196afebb379a46
refs/heads/master
2020-04-07T01:01:32.082828
2018-10-28T13:38:58
2018-10-28T13:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,146
py
from typing import List import numpy as np from bartpy.mutation import TreeMutation from bartpy.node import TreeNode, LeafNode, DecisionNode, deep_copy_node class Tree: """ An encapsulation of the structure of a single decision tree Contains no logic, but keeps track of 4 different kinds of nodes within...
[ "jakecoltman@sky.com" ]
jakecoltman@sky.com
516300c5e9a71d105d85c1c1a594aa118ec26656
c5e4a9a66f686de6eaca331f1ee3823ac925101b
/apps/pharmacy/migrations/0004_auto_20201110_1142.py
e61f9dcc3c774c47bede0be673d127a8d897288a
[]
no_license
Tiilon/Hospital_project
b1409be60f0d6daecb0e294bfbe81698d97b7c1f
6506218f4ad504f9031482999d9b33c92b350df8
refs/heads/main
2023-01-23T13:30:11.564836
2020-11-24T16:15:12
2020-11-24T16:15:12
303,461,057
0
1
null
null
null
null
UTF-8
Python
false
false
3,732
py
# Generated by Django 3.1.2 on 2020-11-10 11:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pharmacy', '0003_auto_20201109_1634'), ] operations = [ migrations.RenameField( model_name='medicine', old_name='pie...
[ "tiilon42@gmail.com" ]
tiilon42@gmail.com