blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
dbf95929d8d6ee23c4ba280b0087426af2f2d6a7
f966c891c666db846d86406cb9c08a530902d032
/algorithms/implementation/larrys_array.py
463216acec541b8c6a7c8847fad3576cde14e85c
[]
no_license
rickharris-dev/hacker-rank
36620a16894571e324422c83bd553440cf5bbeb1
2ad0fe4b496198bec1b900d2e396a0704bd0c6d4
refs/heads/master
2020-12-25T14:33:20.118325
2016-09-06T01:10:43
2016-09-06T01:10:43
67,264,242
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
#!/usr/bin/python t = int(raw_input().strip()) for i in range(0,t): n = int(raw_input().strip()) a = map(int,raw_input().strip().split(' ')) inversions = 0 for j in range(0,n): inversions += abs(a[j] - (j + 1)) while j > 0: if a[j - 1] > a[j]: swap = a[j] ...
[ "rickharris724@gmail.com" ]
rickharris724@gmail.com
00100d269f830789446f2c2dec2b09e8f48e9b1a
7823d31688879b2d4dcfd2e3c11fb2c862f35a23
/image_retrieval/server/algorithm/__init__.py
54615a50ab3d115940cbce7402700f464f4a7c66
[]
no_license
FMsunyh/dlfive
7637631f54520673e4ec417b3c02b5334ecdf026
ffae48aac5ece4de5ff9afccc69b093a72e09637
refs/heads/master
2021-09-19T05:59:51.040214
2018-07-24T06:29:40
2018-07-24T06:29:40
108,929,499
1
0
null
null
null
null
UTF-8
Python
false
false
205
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 12/7/2017 9:32 AM # @Author : sunyonghai # @File : __init__.py.py # @Software: BG_AI # =========================================================
[ "fmsunyh@gmail.com" ]
fmsunyh@gmail.com
9cdf17ae4fea3bd58bf6f8194f281cd060691c43
84cfe9b0ca7209487231e0725f7ad0d233f09544
/stylemaster/urls.py
75696e60c98bc0d947c8565e886e11919a73a7fd
[]
no_license
archit-dwevedi/M4Plan
3eefc12ea447d624bae6f758c3648d7caf825c1a
d162592748ea37bc070b6217365e8601a6ccdd9a
refs/heads/master
2021-10-26T23:22:04.456014
2019-04-14T20:02:17
2019-04-14T20:02:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
from django.urls import path from stylemaster import views from M3_Project import settings from django.conf.urls.static import static urlpatterns=[ path('sample/', views.sample, name='sample'), path('stylemaster/', views.style, name='style'), path('stylefull/', views.stylefull, name='stylefull'), ...
[ "dwevediar@gmail.com" ]
dwevediar@gmail.com
cb45ff90aa4660fc5bccac79d5c77c74cb64959e
76c50a9849b4093c6339dfeff888a5a0672a92bc
/yatsm/pipeline/_topology.py
c1ea0e9ff58ace0c4bec6246c61d26cf8edf1d40
[ "MIT" ]
permissive
valpasq/yatsm
d2fac9c7eea6f8a785d6c5b6c24196bb9f441db0
44e2124c1bae3dd4245437475d709187f52d376d
refs/heads/master
2021-01-18T07:40:33.260515
2016-09-13T16:22:36
2016-09-13T16:22:36
40,021,588
0
0
null
2015-07-31T19:30:14
2015-07-31T19:30:14
null
UTF-8
Python
false
false
4,509
py
""" Build pipeline dependency graph from requirements """ from collections import defaultdict import logging import six import toposort from .language import OUTPUT, REQUIRE, PIPE logger = logging.getLogger(__name__) def format_deps(d): """ Return formatted list of dependencies from 'requires'/'provides' ...
[ "ceholden@gmail.com" ]
ceholden@gmail.com
4bcb2952ab0ade3293adefae13298275dbcebc72
562d4bf000dbb66cd7109844c972bfc00ea7224c
/addons/odoope_einvoice_base/__init__.py
b76d1966445c061ecc7fae89cd3e5df0d1312dda
[]
no_license
Mohamed33/odoo-efact-11-pos
e9da1d17b38ddfe5b2d0901b3dbadf7a76bd2059
de38355aea74cdc643a347f7d52e1d287c208ff8
refs/heads/master
2023-03-10T15:24:44.052883
2021-03-06T13:25:58
2021-03-06T13:25:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
# -*- coding: utf-8 -*- ############################################################################### # # OpenERP, Open Source Management Solution # Copyright (C) 2009-TODAY Odoo Peru(<http://www.odooperu.pe>). # # This program is free software: you can redistribute it and/or modify # it under the ...
[ "root@vmi414107.contaboserver.net" ]
root@vmi414107.contaboserver.net
0a21c6b0ff04ff6534154bec8bff731a7f7907b5
e60dd32858b162eb28e673ac9cfdb1b2a403c695
/sysarg.py
3e9a23ccdeb728110b5997db37732dd3a8d084f6
[]
no_license
Hemanthtm2/playing_python
8d3419a46d50b2801283aa020be89a8003d4ad31
cb896916c6d84c564f7036a4ed6a2a5481bf2fd6
refs/heads/master
2020-05-23T13:10:51.753218
2019-02-20T21:52:34
2019-02-20T21:52:34
186,767,575
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
#!/usr/bin/python import sys script_name=sys.argv[0] arguments=sys.argv[1:] print(len(arguments))
[ "hemanthtm2@gmail.com" ]
hemanthtm2@gmail.com
967b0cd790a778ad56557cb88098e499ebd5e7e5
4be96ec1670297ae71efa6c5c4a830255f893743
/Python/Product/Miniconda/Miniconda3-x64/Lib/site-packages/conda/_vendor/frozendict.py
eeeebf38e22db3bbdce97652812fe2fe6057657f
[ "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-free-unknown", "Python-2.0", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
zooba/PTVS
7dbcc0165ded98d077040a6b367fd71a1eb1e6bd
0c213e901168fee368a32939256174077a8d4dfa
refs/heads/master
2021-05-23T03:58:11.007138
2021-01-26T00:20:40
2021-01-26T00:20:40
42,481,352
1
0
Apache-2.0
2018-11-19T19:30:24
2015-09-14T22:47:51
C#
UTF-8
Python
false
false
2,909
py
# -*- coding: utf-8 -*- # Copyright (c) 2012 Santiago Lezica # # Permission is hereby granted, free of charge, to any person obtaining a copy of this # software and associated documentation files (the "Software"), to deal in the Software # without restriction, including without limitation the rights to use, copy, modi...
[ "huvalo@microsoft.com" ]
huvalo@microsoft.com
25af442b950800e054a759cc21320c8ce9953edf
172c00532812041f491ccea4a548401e9148864c
/feedback_form/urls.py
8d80bbe0d2024471abdb62d308c7f902f5008db9
[]
no_license
henokali1/FANS-feedback-form
34830f5d7740f3578b13e5d8f46e2372492e0733
ab15cc736571ff55a06ea3e6275428077ef08fde
refs/heads/master
2020-04-09T02:29:05.240720
2018-12-04T03:23:32
2018-12-04T03:23:32
159,942,638
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
from django.contrib import admin from django.urls import path, include from django.views.generic.base import TemplateView from trainee_feedback.views import feedback_view, add_feedback_view, thankyou_view, trainer_view, report_view, feedback_detail_view urlpatterns = [ path('', TemplateView.as_view(template_name='h...
[ "henokali1@gmail.com" ]
henokali1@gmail.com
fc2d3910ce1955870202ad5072111d79369813a1
48ca6f9f041a1e9f563500c8a7fa04dbb18fa949
/tests/lib/cast/test_to_int.py
020a6156975f87a7f23d58cb567094342d837c05
[ "MIT" ]
permissive
bogdanvuk/pygears
71404e53d4689ec9cdd9db546bfc0f229a7e02da
705b11ab6de79868b25753fa9d0ce7128791b346
refs/heads/master
2023-07-08T11:38:54.625172
2022-03-07T12:29:00
2022-03-07T12:29:00
124,890,922
146
16
MIT
2022-08-15T07:57:08
2018-03-12T13:10:06
Python
UTF-8
Python
false
false
1,605
py
import pytest from pygears.typing import Int, Tuple, Ufixp, Uint, cast def test_ufixp_type_cast(): assert cast(Ufixp[8, 16], Int) == Int[9] assert cast(Ufixp[8, 16], Int[16]) == Int[16] assert cast(Ufixp[16, 8], Int) == Int[17] with pytest.raises(TypeError): cast(Ufixp[-1, 16], Int) def tes...
[ "bogdan.vukobratovic@gmail.com" ]
bogdan.vukobratovic@gmail.com
a9add2a2807b26acdea921f6e43d510209324db8
7b2d14f78099fde6c4a35082c9c294d1771cb163
/Week 12/templates/paint.py
e9129563cd2af70c80bb773c5f863d15f03febb8
[]
no_license
pinardy/Digital-World
04c6ddb369ede7295a0891aaaa006486c557965e
dd0a351eb64f05b524b08c47cd0c0ad3eadd775c
refs/heads/master
2020-12-30T22:45:02.448171
2018-01-30T03:06:08
2018-01-30T03:06:08
80,622,946
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
from random import random from kivy.app import App from kivy.uix.button import Button from kivy.uix.widget import Widget from kivy.graphics import Color, Line, Rectangle from kivy.uix.filechooser import FileChooserListView, FileChooserIconView from kivy.uix.floatlayout import FloatLayout from kivy.uix.image import Ima...
[ "pinardy@hotmail.com" ]
pinardy@hotmail.com
a56accc8bb039caa306a869de4e06b475ff2da4e
0669d94428c972da19346e356861bf11bd668bc9
/swagger_client/models/listenoire_reponse.py
371bc0bc9cc54f00a8cea83fb5cd140194c384cf
[]
no_license
mlemee/iSendProPython
e9a0f8351e33ae7598bd1380a26c2fe0a1dacd22
3add878dbcd682aa41f2bd07f98d8b56c8e5f9f3
refs/heads/master
2022-06-10T02:27:12.368498
2020-05-04T15:48:13
2020-05-04T15:48:13
261,206,580
0
0
null
null
null
null
UTF-8
Python
false
false
3,925
py
# coding: utf-8 """ API iSendPro [1] Liste des fonctionnalités : - envoi de SMS à un ou plusieurs destinataires, - lookup HLR, - récupération des récapitulatifs de campagne, - gestion des répertoires, - ajout en liste noire. - comptage du nombre de caractères des SMS [2] Pour utiliser cette API vous devez: -...
[ "maxime.le.mee.checkandbang@gmail.com" ]
maxime.le.mee.checkandbang@gmail.com
added45d9f890ae16299a1fb849752c08c2c61d8
2e70b3ce93762c5b66fba57f8b9cba37aacf0702
/new/jamah/views.py
1f7fc766792333f3fa42f0bba092105be267c21e
[]
no_license
mahidul-islam/jamah
02be511fe119e8934ec7d5aa1eaa8e2b24fad246
c8ddf9a8094d33e8b1d6cb834eab3d9f18b1a9ea
refs/heads/master
2022-05-13T15:11:38.609550
2019-06-08T04:52:09
2019-06-08T04:52:09
184,331,276
2
0
null
2022-04-22T21:27:18
2019-04-30T21:04:06
Python
UTF-8
Python
false
false
6,444
py
from django.shortcuts import render from django.template import loader from django.http import HttpResponse, HttpResponseRedirect from django.urls import reverse from django.utils import timezone from django.contrib import messages from .forms import JamahCreateForm from event.forms import EventCreateForm from .models ...
[ "mizihan84@gmail.com" ]
mizihan84@gmail.com
049aca3df698e02af2e577d8085b003078f81c03
187af52e7f5150a5341aaf0c245baefa5e44d2e0
/爬虫/第八章/3.点触验证码的识别/captach.py
713d7a21412eef592285e25417c0dcf1c2c798b6
[]
no_license
ShaoLay/Python_PaChong
ea9bc3880daf5d775f214017184d70a63cd1130a
97db513ee07a14e07afa785628864d46cdb9ad03
refs/heads/master
2020-04-07T16:58:29.916471
2018-12-17T07:02:12
2018-12-17T07:02:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
import requests from hashlib import md5 class Chaojiying(object): def __init__(self, username, password, soft_id): self.username = username self.password = md5(password.encode('utf-8')).hexdigest() self.soft_id = soft_id self.base_params = { 'user': self.username, ...
[ "javs_shao@163.com" ]
javs_shao@163.com
0fafd36ef08142b623213dd91d2bc34c83e31bda
0191d4695198ecc61ef9f599c07b3372e7ff10b8
/album/views.py
7ef7db17cbee57b293dad8a4b3bbbe31fc1e1298
[]
no_license
caioaraujo/discoteka
f22ba641e57b40da2dd08ec1f6c4925699a7d89b
a44ffbe23ce1b36bcc8ad1287db3de13e995705a
refs/heads/master
2021-01-20T00:36:47.631669
2017-05-06T14:34:20
2017-05-06T14:34:20
89,159,473
2
0
null
null
null
null
UTF-8
Python
false
false
2,132
py
from rest_framework.response import Response from rest_framework.views import APIView from album.models import Album as AlbumModel from album.serializers import AlbumSerializer from artista.models import Artista as ArtistaModel from discoteka.exceptions import RegistroNaoEncontradoException, ValorObrigatorioException ...
[ "c.felipe.araujo@gmail.com" ]
c.felipe.araujo@gmail.com
384d1fd0f22eeef5459a04938bae73d253c4151e
5a017fc861db92e3a2919f260d54f1301afbb3e5
/MIDI Remote Scripts/_Framework/MidiMap.py
815ac4dd8f4cd29c3396fee38203738716dd33b9
[]
no_license
kera67/livepy_diff_ten
8d8d0f3b76048f1fe5d4c0fbc02549dc922c7d5b
12a0af9e9c57d0721af5036ce23af549df2c95f0
refs/heads/master
2023-07-14T18:26:33.591915
2020-11-19T07:50:28
2020-11-19T07:50:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
from __future__ import absolute_import, print_function, unicode_literals import Live from .ButtonMatrixElement import ButtonMatrixElement from .ButtonElement import ButtonElement from .EncoderElement import EncoderElement from .SliderElement import SliderElement def make_button(name, channel, number, midi_message_type...
[ "aumhaa@gmail.com" ]
aumhaa@gmail.com
21bd3a7d87ed73967ff064c91006700c3084477b
2f55769e4d6bc71bb8ca29399d3809b6d368cf28
/Miniconda2/Lib/site-packages/sklearn/decomposition/online_lda.py
b7a37d6f416b3f55958826c5a27b633245a724b6
[]
no_license
jian9695/GSV2SVF
e5ec08b2d37dbc64a461449f73eb7388de8ef233
6ed92dac13ea13dfca80f2c0336ea7006a6fce87
refs/heads/master
2023-03-02T03:35:17.033360
2023-02-27T02:01:48
2023-02-27T02:01:48
199,570,103
9
16
null
2022-10-28T14:31:05
2019-07-30T03:47:41
Python
UTF-8
Python
false
false
27,882
py
""" ============================================================= Online Latent Dirichlet Allocation with variational inference ============================================================= This implementation is modified from Matthew D. Hoffman's onlineldavb code Link: http://matthewdhoffman.com/code/onlineld...
[ "JLiang@esri.com" ]
JLiang@esri.com
1b06f8f93e9915353990e1e374d47340e80aacab
c3e70e85773da05cdf7375d34ebcb3a5560aaa9f
/Greedy/CodingTest_ver3/볼링공_고르기.py
72a0ff9cc7e747edef4da3aec8ddef01c5732e23
[]
no_license
hongyeon-kyeong/Algorithm
5409f0472bd409b957f390b6adae0c67976dda85
def11fd33f286013837317968991e6b87cc643c3
refs/heads/main
2023-04-01T13:43:35.982871
2021-03-23T12:20:20
2021-03-23T12:20:20
318,711,413
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
n, m = map(int, input().split()) data = list(map(int, input().split())) weights = [0] * (n+1) for i in range(n) : weights[data[i]] += 1 count = 0 for i in range(1, m+1) : n -= weights[i] count += (weights[i] * n) print(count) # 횟수단축
[ "hyjykelly@gmail.com" ]
hyjykelly@gmail.com
2dcca14dad5d66de58e425dcc274f0f0a2df7e22
f4f0b7feb71ba719b373735bc39efb2ebcdddcd8
/solution/ourFeature/pre.py
a09d54d5798f50e05dcbb9afe0a3cb80329aa5e7
[]
no_license
fuhailin/2018-Big-Data-Challenge
112ef765e9866f1b6e521711100aff871d66cb27
419db72e110079f208197e9bd8dee0991a72f5a1
refs/heads/master
2020-03-20T03:59:15.308366
2018-06-26T15:01:50
2018-06-26T15:01:50
137,166,621
2
0
null
null
null
null
UTF-8
Python
false
false
2,778
py
""" author: yang yiqing comment: 数据预处理 date: 2018年06月16日16:32:00 """ import pandas as pd import numpy as np def split_data(action, launch, register, video): print('split data...') for i in range(Num_dataSet): start_date = start_date_list[i] end_date = end_date_list[i] te...
[ "hailinfufu@outlook.com" ]
hailinfufu@outlook.com
e50058dbb805fd455badad57c4025ef3de68f4d1
cd594b9a01ca5a587c0d30c9b41fa099af93f98e
/books/orders/urls.py
30c514984788da44c258b8c65bb0ef4be70779ed
[]
no_license
raj713335/Django_Professional
54bf628aa75d81ef2266d6a0c6b53d1705744f3d
96daff2dc38cda21aa9683ca0b023cd55705323f
refs/heads/master
2023-02-07T17:04:11.668927
2020-12-30T11:11:23
2020-12-30T11:11:23
324,566,618
1
0
null
null
null
null
UTF-8
Python
false
false
206
py
# orders/urls.py from django.urls import path from .views import OrdersPageView, charge urlpatterns = [ path('charge/', charge, name='charge'), path('', OrdersPageView.as_view(), name='orders'), ]
[ "raj713335@gmail.com" ]
raj713335@gmail.com
7a93e339349e3da4a0f28f244e96094fde8714f8
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/main.py
c9a68abbaf0f54b3f78c3123aacd990da38fff79
[ "GPL-1.0-or-later", "LGPL-2.0-or-later", "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
Python
false
false
10,169
py
# Copyright (C) 2012 Google, Inc. # Copyright (C) 2010 Chris Jerdonek (cjerdonek@webkit.org) # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # n...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
56a56c8ead80145924257961f4a0b23562f2d0d9
014e4be9addc57eb5599086dc82ba431ed406e81
/Lesson_2/HW_2/test_file.py
b0e024eeb7ef334a196097e664b346ae69432e64
[]
no_license
ZakirovRail/back_end
a4f20c099562f901bb107c8e7b333c890cd7995f
0a03ef5d3283b7a6d22e1848ae8c55c4caef8010
refs/heads/main
2023-03-31T00:25:06.568394
2021-03-23T07:44:42
2021-03-23T07:44:42
334,494,409
0
0
null
2021-03-11T12:13:36
2021-01-30T19:27:57
Python
UTF-8
Python
false
false
808
py
import csv data_to_export = [['Изготовитель системы', 'Название ОС', 'Код продукта', 'Тип системы'], ['LENOVO', 'ACER', 'DELL'], ['Microsoft Windows 7 Профессиональная', 'Microsoft Windows 10 Professional', 'Microsoft Windows 8.1 Professional'], ['00971-OEM-1982661-00231', '00971-OEM-1982661-00231', '00971-OEM-1982661...
[ "rjzakirov@gmail.com" ]
rjzakirov@gmail.com
e0137a3391a29e3910e09cc2baa1a7f930b2364f
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/semantic_segmentation/MMseg-swin/mmcv/mmcv/cnn/bricks/norm.py
565c92213f2cb0b4cc2a5c62d8336442fc7d7472
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
8,701
py
# -*- coding: utf-8 -*- # BSD 3-Clause License # # Copyright (c) 2017 # All rights reserved. # Copyright 2022 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
21edcbda377b2af56762d1185106281cd740f5c3
d8641ab3265371b9926222a80b93e039a96acd36
/chapter_15/styleChage.py
c65955ed2b01950d7e2e3a0e921769cdf3408258
[]
no_license
fahimkk/automateTheBoringStuff
af2256f10c8c4ea156e003291a6a309c2ae8dc7d
6022f2dd4381a378fe360696b6a9f44cd77f873d
refs/heads/master
2022-12-08T20:52:25.400695
2020-09-05T10:43:09
2020-09-05T10:43:09
284,317,477
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
import docx import logging logging.basicConfig(level=logging.DEBUG) doc = docx.Document('demo.docx') logging.debug(doc.paragraphs[0].text) doc.paragraphs[0].style = 'Normal' doc.paragraphs[1].runs[0].style = 'QuoteChar' logging.debug(doc.paragraphs[1].runs[0].text) doc.paragraphs[1].runs[1].underline = True logging...
[ "fahimasharafkk@gmail.com" ]
fahimasharafkk@gmail.com
746c0dede3c27cd6aa74e780733fb994dc6886e4
c5759366f8b2cb2e129df0637b62774225a0c41a
/code/tensor2tensor/tensor2tensor/bin/t2t_trainer.py
d25908454f0acaba3ecef93fbc7af21a24a6f56f
[ "Apache-2.0" ]
permissive
cake-lab/transient-deep-learning
f8646a4386528aa147d8d3dcdff8089985870041
87c6717e4026801623cf0327e78ad57f51cb1461
refs/heads/master
2022-11-02T20:02:29.642997
2022-02-08T16:51:09
2022-02-08T16:51:09
227,036,173
11
1
Apache-2.0
2022-10-05T13:01:38
2019-12-10T05:27:50
Python
UTF-8
Python
false
false
14,549
py
# coding=utf-8 # Copyright 2018 The Tensor2Tensor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "ozymandias@OzymandiasdeMacBook-Pro.local" ]
ozymandias@OzymandiasdeMacBook-Pro.local
961b9ef2cec94e3824919a09b259a06ecf7673bc
f96f64b7c509b79dea692371c2cbd20e1bd246c0
/cms/cmsmain.py
1ff75e12ee563d3068a7d5b44635ab26f7b22e4a
[]
no_license
helloexp/AngelSword
51cbf491e52cb7be601b641a632e65fe3ee82b74
4a77ba5f86a2ae422eba4b78856dcf2a6bf9b4c9
refs/heads/master
2021-01-21T11:03:16.795459
2017-08-24T09:14:37
2017-08-24T09:14:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,247
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' name: cms漏洞库 referer: unknow author: Lucifer description: 包含所有cms漏洞类型,封装成一个模块 ''' #autoset vuls from cms.autoset.autoset_phpmyadmin_unauth import autoset_phpmyadmin_unauth_BaseVerify #phpstudy vuls from cms.phpstudy.phpstudy_probe import phpstudy_probe_BaseVerify from ...
[ "297954441@qq.com" ]
297954441@qq.com
650a8a893c1dcebd6bb63eb7ae18ee8468bf566d
3c1e51cdc1e8fe95cd1dc9674954622b7ee1e71a
/backend/mobilegeee_28456/settings.py
60372fff369e36c9a4d533d7b555077d3c91e624
[]
no_license
crowdbotics-apps/mobilegeee-28456
ed22c9fd3008f73442bee4af7fed0887a5ae436d
dedcfddd27f9707bfc584f602341cc32d2e79034
refs/heads/master
2023-06-09T02:30:41.908432
2021-07-05T13:52:25
2021-07-05T13:52:25
383,155,833
0
0
null
null
null
null
UTF-8
Python
false
false
7,114
py
""" Django settings for mobilegeee_28456 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ imp...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e924dd9290da87bcf7962e4a2e76cf2fac9d5e8a
9e461f40bbdf63d9c00c99f398758f5b236db863
/Python/motion_client/main.py
017a2466ac1b43da634527a033e525fdbcd3ed5c
[]
no_license
robbynickles/portfolio
b490a98de9bc7daf6d14b074b2726a06359a8462
269b0593ce5e0773fa18f74c4374fcc0bccc5c40
refs/heads/master
2021-01-10T05:17:00.762021
2015-12-25T00:36:23
2015-12-25T00:36:23
48,555,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,567
py
from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.core.window import Window w, h = Window.width, Window.height from libs.swipeplane2 import SwipePlane from libs.device.device_view import DeviceTest from libs.client.client_view import Client from plyer import accelerometer, compass, gyroscop...
[ "r.nickles7@gmail.com" ]
r.nickles7@gmail.com
a5dbdb6f26c7bfee74ad32ab213debd273d682df
b92c39c8498e0c6579a65430e63b7db927d01aea
/python/cookbook/decorator_3.py
d19549b43373954c5dcf57ea393088dd0dcf6812
[]
no_license
szqh97/test
6ac15ad54f6d36e1d0efd50cbef3b622d374bb29
ba76c6ad082e2763554bdce3f1b33fea150865dc
refs/heads/master
2020-04-06T05:40:55.776424
2019-01-14T06:37:38
2019-01-14T06:37:38
14,772,703
4
0
null
null
null
null
UTF-8
Python
false
false
662
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from functools import wraps, partial import logging def logged(func=None, *, level=logging.DEBUG, name=None, message=None): if func is None: return partial(logged, level=level, name=name, message=message) logname = name if name else func.__module__ log ...
[ "szqh97@163.com" ]
szqh97@163.com
1187a68a19b872d637c6b16caef681ea72ae907f
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/msData/datatypes/Facets/unsignedByte/unsignedByte_totalDigits003.py
95d57599df105ea2f4f13dfa3f01a81276e9e890
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
162
py
from output.models.ms_data.datatypes.facets.unsigned_byte.unsigned_byte_total_digits003_xsd.unsigned_byte_total_digits003 import Test obj = Test( foo=123 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
7ad882dffba848593ced53b6c630af79d96bd3b8
75d258d0cc8b07134a3db656a16e8c27557e3572
/n12_m14/circuit_n12_m14_s6_e6_pEFGH.py
97fdd8fcfb80bed2805d9ebf6bf2f4aeea17ce97
[]
no_license
tonybruguier/martinis_et_al_data
7c5acee8cb18586607c0ffdc25bc9b616e0847be
1a35e6712c5bd4b48ef0027707b52dd81e5aa3f3
refs/heads/master
2023-02-23T09:36:24.179239
2021-01-24T20:23:04
2021-01-24T20:23:04
332,266,881
0
0
null
null
null
null
UTF-8
Python
false
false
45,838
py
import cirq import numpy as np QUBIT_ORDER = [ cirq.GridQubit(3, 3), cirq.GridQubit(3, 4), cirq.GridQubit(3, 5), cirq.GridQubit(3, 6), cirq.GridQubit(4, 3), cirq.GridQubit(4, 4), cirq.GridQubit(4, 5), cirq.GridQubit(4, 6), cirq.GridQubit(5, 3), cirq.GridQubit(5, 4), cirq.Gri...
[ "tony.bruguier@gmail.com" ]
tony.bruguier@gmail.com
64f97e236d713e1627d64ec3e03f6c532a3d2e76
0f0af12b45aa6f50fb418f9236fc622e56bbbfee
/server/podbaby/history/serializers.py
783c7dba88c4eec2024b18765cff0ede0b0e6e8b
[]
no_license
danjac/podbaby2
234863e5d2ad39902bc64e63e285e7b507049727
17f02b0707120797cb3c3cccb95dacddff6375fa
refs/heads/master
2020-09-24T23:11:08.186829
2016-12-03T07:42:59
2016-12-03T07:42:59
66,766,438
2
0
null
null
null
null
UTF-8
Python
false
false
238
py
from rest_framework import serializers from history.models import Play class PlaySerializer(serializers.ModelSerializer): class Meta: model = Play fields = ( 'episode', 'created', )
[ "danjac354@gmail.com" ]
danjac354@gmail.com
fc019e03a0ec2faaedaaf366a1c30c010b4fbc68
97fcd33403e69e7e5bb60d27b7de73bb7c58b060
/awacs/applicationinsights.py
0d90c4b4f0fe2b10f6a8ea40d350fb33b7c02a67
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
isabella232/awacs
d2b132b527da6b6c2e89da26e9fdbc1d5ca7f191
41a131637c16a6912c17f92ac3bbf2a3bf978631
refs/heads/master
2023-01-09T07:45:22.199974
2020-11-16T05:11:01
2020-11-16T05:11:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,536
py
# Copyright (c) 2012-2013, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. from aws import Action as BaseAction from aws import BaseARN service_name = 'CloudWatch Application Insights' prefix = 'applicationinsights' class Action(BaseAction): def __init__(self, action=None...
[ "mark@peek.org" ]
mark@peek.org
8df96bdca93c8ac21e2f1bbfaf44925c191e836e
e7e497b20442a4220296dea1550091a457df5a38
/main_project/release-gyp/user/user_cache.gyp
8ad0946152bb7f37f49b7e30cfb8de571639ce27
[]
no_license
gunner14/old_rr_code
cf17a2dedf8dfcdcf441d49139adaadc770c0eea
bb047dc88fa7243ded61d840af0f8bad22d68dee
refs/heads/master
2021-01-17T18:23:28.154228
2013-12-02T23:45:33
2013-12-02T23:45:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,361
gyp
{ #包含公共设置 'includes':[ 'user_common.gyp', ], 'variables':{ 'service_name' : 'UserCache', 'service_src_path' : '<(main_project_path)/user/<(service_name)/', }, 'target_defaults' : { 'include_dirs' : [ '/usr/local/distcache-dev/include', '/usr/local/distcache-uti...
[ "liyong19861014@gmail.com" ]
liyong19861014@gmail.com
6d53bd2ad8620c52fba55ab8bda20744ee97b8a0
dbe1f4110921a08cb13e22ea325d503bd5627195
/chuhuo_2.7_clickhouse/bluedon/bdwafd/newscantools/plugins/Phpcms_post_clickSqlInjectionScript.py
1001b1ccc85c453fcecb86d7c9553f38992ae182
[]
no_license
Hehouhua/waf_branches
92dc1b1cbecba20f24ef6c7372dde7caa43f9158
ca76f3a1ed8150b423474c9e37aee37841a5ee35
refs/heads/main
2023-01-07T11:33:31.667688
2020-11-03T06:58:33
2020-11-03T06:58:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from lib.common import * def run_domain(http,ob): list = [] try: domain = ob['domain'] detail = u'' url = "%s://%s%s" % (ob['scheme'],ob['domain'],ob['base_path']) expurl="%s%s"%(url,"index.php?m=poster&c=index&a=poster_click&sitesp...
[ "hanson_wong@qq.com" ]
hanson_wong@qq.com
cc7c313990a752b0eea8829bbf89e10a65814597
06671e14ae54f887be05a64c632712537d38add6
/integration_distributed_training/config_files/helios/13_repeat20x031/config_00166.py
e23ff123e7c6311a920a8756d990f5e9c1cc62bb
[]
no_license
Jessilee/ImportanceSamplingSGD
cf74a220a55b468b72fed0538b3a6740f532fcb2
0831b9b1833726391a20594d2b2f64f80e1b8fe2
refs/heads/master
2021-01-24T10:12:48.285641
2016-02-05T19:25:34
2016-02-05T19:25:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,175
py
import numpy as np import os def get_model_config(): model_config = {} #Importance sampling or vanilla sgd. model_config["importance_algorithm"] = "isgd" #model_config["importance_algorithm"] = "sgd" #Momentum rate, where 0.0 corresponds to not using momentum model_config["momentum_rate"] = ...
[ "gyomalin@gmail.com" ]
gyomalin@gmail.com
8c9cac2973d6978608f4768621bb61a098589c65
8316b326d035266d41875a72defdf7e958717d0a
/Regression/Poly_linear_regression_boston_house_predict.py
465a1cccc33d4b05fe7f9a57daa1fb6da7a7de61
[]
no_license
MrFiona/MachineLearning
617387592b51f38e59de64c090f943ecee48bf1a
7cb49b8d86abfda3bd8b4b187ce03faa69e6302d
refs/heads/master
2021-05-06T17:18:49.864855
2018-01-24T15:29:36
2018-01-24T15:29:36
111,804,323
1
1
null
null
null
null
UTF-8
Python
false
false
2,783
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Time : 2017-11-28 15:22 # Author : MrFiona # File : Poly_linear_regression_boston_house_predict.py # Software: PyCharm Community Edition import warnings import numpy as np import pandas as pd import matplotlib as mpl import matplotlib.pyplot as plt from sklearn i...
[ "1160177283@qq.com" ]
1160177283@qq.com
79ae6089ad6be6b58d2ffa5c5819cdeffca5037a
5d6a464bcf381a44588d6a0a475f666bdc8b5f05
/unittests/namespace_matcher_tester.py
a517fd7da3b64b22821666f82bf8e3b8183eb0f0
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
iMichka/pygccxml
d4f2ac032a742f1cd9c73876f6ba6a85d2047837
f872d056f477ed2438cd22b422d60dc924469805
refs/heads/develop
2023-08-05T04:35:32.774634
2017-01-10T06:04:17
2017-01-10T06:04:17
45,710,813
0
2
BSL-1.0
2023-08-20T21:02:24
2015-11-06T22:14:37
Python
UTF-8
Python
false
false
2,084
py
# Copyright 2014-2017 Insight Software Consortium. # Copyright 2004-2009 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. # See http://www.boost.org/LICENSE_1_0.txt import unittest import parser_test_case from pygccxml import parser from pygccxml import declarations class Test(parser_tes...
[ "michkapopoff@gmail.com" ]
michkapopoff@gmail.com
b865747d25a963ea30d051c763b151966b68b592
667f153e47aec4ea345ea87591bc4f5d305b10bf
/Solutions/Ch1Ex032.py
146193ba642a281f4a5d647a77ffee5e055d6028
[]
no_license
Parshwa-P3/ThePythonWorkbook-Solutions
feb498783d05d0b4e5cbc6cd5961dd1e611f5f52
5694cb52e9e9eac2ab14b1a3dcb462cff8501393
refs/heads/master
2022-11-15T20:18:53.427665
2020-06-28T21:50:48
2020-06-28T21:50:48
275,670,813
1
0
null
2020-06-28T21:50:49
2020-06-28T21:26:01
Python
UTF-8
Python
false
false
489
py
# Ch1Ex032.py # Author: Parshwa Patil # ThePythonWorkbook Solutions # Exercise No. 32 # Title: Sort three numbers def main(): print("Enter numbers: ") numbers = list(map(int, input().strip().split())) for i in range(len(numbers) - 1): for j in range(1, len(numbers)): if numbers[j - 1] > numbers[j]...
[ "noreply@github.com" ]
Parshwa-P3.noreply@github.com
11774cab8ab8b849d8287ce7a299505e8750722b
555377aa073d24896d43d6d20d8f9f588d6c36b8
/paleomix/common/bamfiles.py
4b3c6c6f539923c279d04dea982a2307263c0bee
[ "MIT" ]
permissive
jfy133/paleomix
0688916c21051bb02b263e983d9b9efbe5af5215
f7f687f6f69b2faedd247a1d289d28657710a8c2
refs/heads/master
2022-11-10T18:37:02.178614
2020-06-14T12:24:09
2020-06-14T12:24:09
270,936,768
0
0
MIT
2020-06-09T07:46:19
2020-06-09T07:46:18
null
UTF-8
Python
false
false
4,837
py
#!/usr/bin/python # # Copyright (c) 2012 Mikkel Schubert <MikkelSch@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights #...
[ "MikkelSch@gmail.com" ]
MikkelSch@gmail.com
92ffd6bc7322742b3d8da89f9f43fec5692453de
4554fcb85e4c8c33a5b5e68ab9f16c580afcab41
/projecteuler/test_xiaobai_17.py
d9b6678e2bc92bba87fc83a8f6d9bb16ee3c82a9
[]
no_license
xshen1122/Follow_Huang_Python
12f4cebd8ddbc241a1c32cfa16288f059b530557
fcea6d1361aa768fb286e1ef4a22d5c4d0026667
refs/heads/master
2021-01-01T04:37:31.081142
2017-12-05T07:31:34
2017-12-05T07:31:34
97,211,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
# test_xiaobai_17.py # coding: utf-8 ''' If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, how many letters would be used? ''' def getLetter(...
[ "xueqin.shen@outlook.com" ]
xueqin.shen@outlook.com
db8694ebf7d5685301e2ad916517b43690b7ac20
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_LOG/test_c142881.py
017398d281b068be2333be366936895d37d5e8d4
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
3,288
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def_physical_interface import * from page_obj.scg.scg_def_vlan_interface import * from page_obj.scg.scg_def_bridge import * from page_obj.common.rail import * ...
[ "15501866985@163.com" ]
15501866985@163.com
e917475fabe877dec477e34d78bf01e715efba8c
bcc199a7e71b97af6fbfd916d5a0e537369c04d9
/leetcode/solved/2568_Minimum_Fuel_Cost_to_Report_to_the_Capital/solution.py
ff61ddbb440902ec03f8f9a1b947035f18fde637
[]
no_license
sungminoh/algorithms
9c647e82472905a2c4e505c810b622b734d9d20d
1389a009a02e90e8700a7a00e0b7f797c129cdf4
refs/heads/master
2023-05-01T23:12:53.372060
2023-04-24T06:34:12
2023-04-24T06:34:12
87,406,513
0
0
null
null
null
null
UTF-8
Python
false
false
3,604
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2020 sungminoh <smoh2044@gmail.com> # # Distributed under terms of the MIT license. """ There is a tree (i.e., a connected, undirected graph with no cycles) structure country network consisting of n cities numbered from 0 to n - 1 and exac...
[ "smoh2044@gmail.com" ]
smoh2044@gmail.com
0f6959e8b0cceca7092c8b800527680ba1e71b99
2bc8f66fd34ba1b93de82c67954a10f8b300b07e
/general_backbone/configs/image_clf_config.py
278078f2ccad81f5d77ba37d852e540bba918d42
[]
no_license
DoDucNhan/general_backbone
7dabffed5a74e622ba23bf275358ca2d09faddc1
686c92ab811221d594816207d86a0b97c9b4bc73
refs/heads/main
2023-08-31T14:59:23.873555
2021-10-23T06:34:14
2021-10-23T06:34:14
420,419,141
1
0
null
null
null
null
UTF-8
Python
false
false
2,926
py
# Copyright (c) general_backbone. All rights reserved. # --------------------Config for model training------------------------ train_conf = dict( # General config model='resnet18', epochs=300, start_epoch=0, pretrained=True, num_classes=2, eval_metric='top1', # Checkpoint output...
[ "phamdinhkhanh.tkt53.neu@gmail.com" ]
phamdinhkhanh.tkt53.neu@gmail.com
5a380d07f579329852a0e83a874f250f2cbda60c
1c2c5240222e48cf6ed617378b23ce12c7f69231
/backend_pms/asgi.py
3b584ad3f8d2261c6920ecad850891f9d554084d
[]
no_license
MayowaFunmi/pms_backend
5537d642a76ce18205f4a40a84a52c0ebfb24d5b
0ddc8a3718bf54dd5f30394ae18c70653634d79f
refs/heads/master
2023-02-06T23:26:15.429155
2021-01-02T14:39:06
2021-01-02T14:39:06
322,831,233
0
0
null
2021-01-02T13:30:05
2020-12-19T11:26:19
Python
UTF-8
Python
false
false
399
py
""" ASGI config for backend_pms 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_S...
[ "akinade.mayowa@gmail.com" ]
akinade.mayowa@gmail.com
bcd47c049189dca5af79f4d85687e6732a673dce
bfe5ab782ca4bb08433d70bdd142913d40a40a8d
/Codes/141) exercise27.py
57d04640fbaad4771a75ad7ddec47a0b9a69418c
[]
no_license
akshat12000/Python-Run-And-Learn-Series
533099d110f774f3c322c2922e25fdb1441a6a55
34a28d6c29795041a5933bcaff9cce75a256df15
refs/heads/main
2023-02-12T19:20:21.007883
2021-01-10T05:08:09
2021-01-10T05:08:09
327,510,362
0
3
null
null
null
null
UTF-8
Python
false
false
697
py
# Create a laptop class with attributes like brand name, model name, price # Create two instance(object) of your laptop class class Laptop: def __init__(self,brand_name,model_name,price): self.brand_name=brand_name self.model_name=model_name self.price=price self.full_name=bra...
[ "noreply@github.com" ]
akshat12000.noreply@github.com
6a63db375fbee64f04a063e3e15d6e9caff8ca94
0f20f3e02aa05b8e690190a96e92a524b211338f
/SW_Expert_Academy_02/String2.py
142a9ff2f4c33454b306be6657fae7ebaa14028b
[]
no_license
HYEONAH-SONG/Algorithms
ec744b7e775a52ee0756cd5951185c30b09226d5
c74ab3ef21a728dcd03459788aab2859560367e6
refs/heads/master
2023-07-18T14:41:48.360182
2021-09-03T13:41:23
2021-09-03T13:41:23
336,240,949
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
# 문장을 구성하는 단어를 역순으로 출력하는 프로그램을 작성하라 sentence = input() s_list = sentence.split(' ') s_list.reverse() for i in s_list: print(i, end=' ')
[ "sha082072@gmail.com" ]
sha082072@gmail.com
3c6efd3975b2933f360fcc57fa1d1394bdbdbcc0
da8adef15efbdacda32b19196b391f63d5026e3a
/SistemasInteligentes/P4/main.py
e8b16e5345b6a927679fdea2c978a99fee08ce29
[]
no_license
rubcuadra/MachineLearning
05da95c1f800e6acbce97f6ca825bd7a41d806a6
aa13dd007a7954d50586cca6dd413a04db18ef77
refs/heads/master
2021-03-19T17:33:14.080691
2018-10-19T23:43:27
2018-10-19T23:43:27
100,544,903
8
1
null
null
null
null
UTF-8
Python
false
false
2,237
py
from reversi_player import Agent from reversi import ReversiBoard from random import shuffle _agent2 = None def P1Turn(board, player): #Player move = input('Enter your move: ') return move def P2Turn(board, player): #IA return _agent2.getBestMovement(board, player) #Nivel => Profundidad de busqueda #F...
[ "rubcuadra@gmail.com" ]
rubcuadra@gmail.com
05423c174b31b915d1aa2e5c7e66eff20ca99cb2
735f4a6eb4e9c72dc664926ff8b42d02da9067f2
/batch_four/session-3/simple_file_creation.py
e0e87709ebb33e6df3d688ad5803ce85956fee80
[]
no_license
sopanshewale/python-datascience
943b689d4264ad06f19c8039745ba6625d556282
0014b48d2397e16536731e1ee91e5e36f31e1ed9
refs/heads/master
2021-01-11T20:24:58.567677
2018-06-09T07:07:10
2018-06-09T07:07:10
79,097,836
2
3
null
null
null
null
UTF-8
Python
false
false
157
py
#!/usr/bin/python3 f = open ('simple_data.txt', 'w') f.write("Hello to writing data into file") f.write("Line ------2") f.write("Line ------3") f.close()
[ "sopan.shewale@gmail.com" ]
sopan.shewale@gmail.com
08614e6d097655c7c676a0336d9f847227e88e3d
090a4e026addc9e78ed6118f09fd0d7d4d517857
/validators/funnel/_marker.py
475ac8c006ae087f0522dd87148fdf5d681678a6
[ "MIT" ]
permissive
wwwidonja/new_plotly
0777365e53ea7d4b661880f1aa7859de19ed9b9a
1bda35a438539a97c84a3ab3952e95e8848467bd
refs/heads/master
2023-06-04T19:09:18.993538
2021-06-10T18:33:28
2021-06-10T18:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,407
py
import _plotly_utils.basevalidators class MarkerValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__(self, plotly_name="marker", parent_name="funnel", **kwargs): super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "wwwidonja@gmail.com" ]
wwwidonja@gmail.com
5f5c946119f93d0807da026d011f603897bc22be
2e74c7339c63385172629eaa84680a85a4731ee9
/functions/adding_machine/adding_machine/summarizers.py
e2c7e2177df872c5c6880129cd2080aec0c8204f
[]
no_license
zhusui/ihme-modeling
04545182d0359adacd22984cb11c584c86e889c2
dfd2fe2a23bd4a0799b49881cb9785f5c0512db3
refs/heads/master
2021-01-20T12:30:52.254363
2016-10-11T00:33:36
2016-10-11T00:33:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,857
py
from __future__ import division import pandas as pd import agg_engine as ae import os import super_gopher from functools32 import lru_cache try: from hierarchies import dbtrees except: from hierarchies.hierarchies import dbtrees import numpy as np from scipy import stats from multiprocessing import Pool import ...
[ "nsidles@uw.edu" ]
nsidles@uw.edu
ce4db0d1eefa29d48921b8c480811378e92db97a
b943d3c32cac2b4d9ab85753c0a611688fba82ad
/resume_parser/parser_app/views.py
3379793d2e341273319f0dea8815914b786cd1c5
[ "MIT" ]
permissive
ashokraman/ResumeParser
787e0d5fdc560c35630c1a78411e28725812a737
2238b7f3ea955f04cf5ccda619a15f62fcf066e3
refs/heads/master
2020-06-20T13:16:49.115304
2019-07-04T05:38:26
2019-07-04T05:38:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,190
py
from django.shortcuts import render, redirect from resume_parser import resume_parser from .models import UserDetails, Competencies, MeasurableResults, Resume, ResumeDetails, UploadResumeModelForm from django.contrib.auth.models import User from django.contrib import messages from django.conf import settings from djang...
[ "omkarpathak27@gmail.com" ]
omkarpathak27@gmail.com
1bb398a7369351058579f2038fcb6b751f225a55
f6b3d08c885d6265a90b8323e9633cd1eae9d15d
/fog05/web_api.py
e0106d9fc772dc61ee4643cf731c81a9ccbcca32
[ "Apache-2.0" ]
permissive
kartben/fog05
ed3c3834c574c1e9d13aea8129fd251cea7d63a2
b2f6557772c9feaf9d6a9ad5997b5c2206527c91
refs/heads/master
2020-03-18T21:21:27.633610
2018-05-23T09:25:50
2018-05-23T09:25:50
135,276,221
0
0
null
2018-05-29T09:54:48
2018-05-29T09:54:47
null
UTF-8
Python
false
false
34,780
py
from jsonschema import validate, ValidationError from fog05 import Schemas from dstore import Store from enum import Enum import re import uuid import json import fnmatch import time import urllib3 import requests class RESTStore(object): def __init__(self, root, host, port): self.root = root self...
[ "gabriele.baldoni@gmail.com" ]
gabriele.baldoni@gmail.com
67269e55398033362ab23e10f0576fc5aeae98ab
2e1b5bd2d33f0beb965be77f1de2ae035c491125
/chapter4/qt04_drag.py
f30b52e75694194da80bf8c948af65dfb20391a1
[]
no_license
mandeling/PyQt5-1
1cf6778e767e5746640aa0458434751a226a2383
9334786e70b2657e0f94b6dad4714f2aa239d0cd
refs/heads/master
2020-05-07T19:08:40.072960
2019-04-11T10:44:48
2019-04-11T10:44:48
180,799,901
1
0
null
2019-04-11T13:37:55
2019-04-11T13:37:55
null
UTF-8
Python
false
false
887
py
import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class Combo(QComboBox): def __init__(self, title, parent): super(Combo, self).__init__(parent) self.setAcceptDrops(True) def dragEnterEvent(self, e): print(e) if e.mimeData().hasText(): e.accept() else: e....
[ "sqw123az@sina.com" ]
sqw123az@sina.com
c33c5d21ce909bc806b78c0dde5a40c39d15fbd5
00d7e9321d418a2d9a607fb9376b862119f2bd4e
/utils/pdf_figure_stamper.py
4628dbee41fd552c97249ac0bbeb5cd6de0b08e4
[ "MIT" ]
permissive
baluneboy/pims
92b9b1f64ed658867186e44b92526867696e1923
5a07e02588b1b7c8ebf7458b10e81b8ecf84ad13
refs/heads/master
2021-11-16T01:55:39.223910
2021-08-13T15:19:48
2021-08-13T15:19:48
33,029,780
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
#!/usr/bin/env python import os from pims.files.pdfs.pdfjam import CpdfAddTextCommand from pims.files.utils import listdir_filename_pattern # return list of PDF files matching filename pattern criteria (not having STAMPED in filename) def get_pdf_files(dirpath, fname_pat): """return list of PDF files for this dr...
[ "silversnoopy2002@gmail.com" ]
silversnoopy2002@gmail.com
116c66d9f3c1b4f5e2c4991742de3a8413bbff56
854b220c25dc886f77c237437c370782a68c8bb2
/proyectos_de_ley/api/api_responses.py
f94452466a9934b2e9df3b1b8c8aaa98a4e6592c
[ "MIT" ]
permissive
MrBaatezu/proyectos_de_ley
b6bb672b5bcc3c8ca2b6327ee96083466356560d
56cf6f2f1df6483d2057235132a376b068877407
refs/heads/master
2021-01-18T01:10:12.683082
2015-10-29T00:44:52
2015-10-29T00:44:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
from django.http import HttpResponse from rest_framework.renderers import JSONRenderer from rest_framework_csv import renderers class JSONResponse(HttpResponse): """ An HttpResponse that renders its content into JSON. """ def __init__(self, data, **kwargs): content = JSONRenderer().render(data...
[ "aniversarioperu1@gmail.com" ]
aniversarioperu1@gmail.com
8c2611ad5852420460e9005177ed6e1296572354
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/a01.py
d912fcfad8c297d61001f2e370b33ba78e5a3e2d
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
efecd6e8598ad283a82bc7fe6aab0b6dec4ceea3
5c333d9afed7ecf1feba34c41764184b70f725ea
/scripts/test.py
22d789f0c247add83cb748c9a559e96f2bcd14b5
[]
no_license
NMGRL/pychrondata
4e3573f929b6a465fa959bfe5b5bdfe734514b8c
0d805ca6b7e5377f253d80ad93749b1d4253cb50
refs/heads/master
2020-12-24T16:35:39.308745
2016-03-09T18:37:47
2016-03-09T18:37:47
15,424,677
0
2
null
null
null
null
UTF-8
Python
false
false
344
py
#!Extraction def main(): ''' start at 0 zoom focus take picture increment zoom take picture start at 100 zoom focus take picture.... ''' for i in range(10): info('info {}'.format(i)) ...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
16d51e454824f67b4b41ef3ca55f13c9e221bf28
81fe7f2faea91785ee13cb0297ef9228d832be93
/HackerRank/ajob_subsequence_bis.py
71a54d19dcac4f7ce8161b46f701309c0454498c
[]
no_license
blegloannec/CodeProblems
92349c36e1a35cfc1c48206943d9c2686ea526f8
77fd0fa1f1a519d4d55265b9a7abf12f1bd7d19e
refs/heads/master
2022-05-16T20:20:40.578760
2021-12-30T11:10:25
2022-04-22T08:11:07
54,330,243
5
1
null
null
null
null
UTF-8
Python
false
false
783
py
#!/usr/bin/env python3 # cf ajob_subsequence.py # Method 2: using Lucas's theorem def digits(n): D = [] while n: n,d = divmod(n,P) D.append(d) return D def inv(n): return pow(n,P-2,P) def binom(n,p): if 0<=p<=n: return (Fact[n] * inv((Fact[p]*Fact[n-p])%P)) % P return...
[ "blg@gmx.com" ]
blg@gmx.com
1eb2f715857b7860d37606c858a8ac2c834a2f58
87fb0ae5563512bf4cfe2754ea92e7f4173f753f
/Chap_08/Ex_181.py
ba2d1b32e7dabdca85b694f6e4635d4a64b0e168
[]
no_license
effedib/the-python-workbook-2
87291f5dd6d369360288761c87dc47df1b201aa7
69532770e6bbb50ea507e15f7d717028acc86a40
refs/heads/main
2023-08-21T13:43:59.922037
2021-10-12T20:36:41
2021-10-12T20:36:41
325,384,405
2
1
null
null
null
null
UTF-8
Python
false
false
1,247
py
# Possible Change # Read both the dollar amount and the number of coins from user and display a message indicating whether or not the # entered amount can be formed using the number of coins indicated. def possibleChange(dollars, coins, index=0): coins_list = [0.25, 0.10, 0.05, 0.01] dollars = round(dollars...
[ "cicciodb@hotmail.it" ]
cicciodb@hotmail.it
a9cd81676f816e00ef69cf3442787107109adc24
7834e7a48399b156401ea62c0c6d2de80ad421f5
/docs/sphinx/conf.py
6a6e8b3e6216ce0aa57a8b196300a395552f700e
[ "MIT" ]
permissive
vojnovski/pysparkling
b9758942aba0d068f6c51797c8fb491cf59c3401
21b36464371f121dc7963dac09d300e7235f587e
refs/heads/master
2020-04-08T18:33:55.707209
2016-07-27T15:12:59
2016-07-27T15:12:59
62,555,929
0
0
null
2016-07-04T11:06:18
2016-07-04T11:06:18
null
UTF-8
Python
false
false
10,067
py
# -*- coding: utf-8 -*- # # pysparkling documentation build configuration file, created by # sphinx-quickstart on Sun Jun 7 12:37:20 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. #...
[ "me@svenkreiss.com" ]
me@svenkreiss.com
df2ff3db7a4108d0c2ebdb1e4027c6e6897ddf3f
4ddedf2a3829d7cead057da3ed2ffcffc153786e
/6_google_trace/SONIA/testing/feature_encoder/BPNN/cluster/ann/cluster_4.py
f832fe7fc0ffacb1d946f6351bc72a3b4f6f55c4
[ "MIT" ]
permissive
thieu1995/machine_learning
b7a854ea03f5559a57cb93bce7bb41178596033d
40595a003815445a7a9fef7e8925f71d19f8fa30
refs/heads/master
2023-03-03T10:54:37.020952
2019-09-08T11:42:46
2019-09-08T11:42:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,838
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Mar 13 15:49:27 2018 @author: thieunv Cluster --> Update 10% matrix weight dua tren c_tung_hidden va dist_tung_hidden Ket qua toi` hon cluster 3 (Toi nhat) """ import tensorflow as tf import numpy as np from scipy.spatial import distance from math ...
[ "nguyenthieu2102@gmail.com" ]
nguyenthieu2102@gmail.com
c3ab52e0c857c71ffaabff7df542b4872c48dbcf
87f574548a321a668f325bc3d120a45366b0b76b
/studioadmin/views/email_users.py
7f409efcb24684c5ca97d5f8c036492e52fb13ac
[]
no_license
judy2k/pipsevents
1d19fb4c07e4a94d285e6b633e6ae013da0d1efd
88b6ca7bb64b0bbbbc66d85d2fa9e975b1bd3081
refs/heads/master
2021-01-14T11:11:26.616532
2016-10-07T20:47:39
2016-10-07T20:55:13
36,600,721
0
0
null
2015-05-31T11:51:14
2015-05-31T11:51:14
null
UTF-8
Python
false
false
11,607
py
import ast import logging from math import ceil from django.contrib.auth.decorators import login_required from django.contrib.auth.models import Group, User from django.contrib import messages from django.core.urlresolvers import reverse from django.template.loader import get_template from django.template.response i...
[ "rebkwok@gmail.com" ]
rebkwok@gmail.com
33516c24ec951e32d2454058cccb932ff632af1d
9855a6472fa9cd0a0ed75d5d1110eb5450e38c35
/django_mailbox/runtests.py
f5b0ff3b0c41ddd22e10232d108f622b41e04984
[]
no_license
JessAtBlocBoxCo/blocbox
efef025333b689e4c9e0fb6a7bfb2237fcdc72a0
0966fd0ba096b2107bd6bd05e08c43b4902e6ff2
refs/heads/master
2020-04-11T04:30:25.792700
2015-09-22T04:41:34
2015-09-22T04:41:34
23,008,502
2
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
#!/usr/bin/env python import sys from os.path import dirname, abspath try: from django import setup except ImportError: pass from django.conf import settings if not settings.configured: settings.configure( DATABASES={ 'default': { 'ENGINE': 'django.db.backends.sqlite3'...
[ "jess@blocbox.co" ]
jess@blocbox.co
15a59428a27529aafc46c577811104b43b63a731
460027c62df6a6939c342d2d2f49a727c8fc955c
/src/nuxeo/jcr/interfaces.py
0cd0ba5c447f9981fb9a2c9e36f5c777740674bf
[]
no_license
nuxeo-cps/zope3--nuxeo.jcr
ef6d52272835fa14375308bf5a51dbee68b2252a
88e83d30232226ad71b6f24a2c00e5ad9ba5e603
refs/heads/main
2023-01-23T19:56:27.515465
2006-10-20T16:54:01
2006-10-20T16:54:01
317,994,526
0
0
null
null
null
null
UTF-8
Python
false
false
4,597
py
############################################################################## # # Copyright (c) 2006 Nuxeo and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS P...
[ "devnull@localhost" ]
devnull@localhost
3aaf3331c8160b13805128f0a48758614d163f12
e5f7d7706062b7807daafaf5b670d9f273440286
/stocks/admin.py
3da94a24279993788e7694d3af8b4fe75814404d
[]
no_license
fchampalimaud/flydb
bd01839c163aa34277091f454f8ad38e3fd45dc4
2d3ad9ff5903a26070258f707228334cd765a647
refs/heads/master
2021-06-17T15:38:25.517946
2018-01-17T16:16:00
2018-01-17T16:16:00
185,334,467
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
from pathlib import Path from django.contrib import admin from django.apps import apps app = apps.get_app_config(Path(__file__).parent.name) for model in app.get_models(): admin.site.register(model)
[ "hugo.cachitas@research.fchampalimaud.org" ]
hugo.cachitas@research.fchampalimaud.org
74f037f36854ed429ba78246687bfa075c1ec9b2
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_206/689.py
ade9216b11543d12d4e0795d77c30c952d9e8947
[]
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,062
py
from itertools import \ product, \ permutations, \ combinations, \ combinations_with_replacement from functools import reduce, lru_cache from math import floor,ceil,inf,sqrt def intercept_time(i,j): if i[1] == j[1]: return inf else: return (j[0]-i[0])/(i[1]-j[1]) def intercept_...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d6886e124c6a5e23cfe5c3167ad569f20e55a369
3cedb583e9f3dfcdf16aeba56a0b3ff7c6213e99
/python-codes/m2_curso_em_video_estruturas_de_controle/ex048.0.py
7c2fd6a5930cb1648fc94bfe1920cee6b20f008b
[ "MIT" ]
permissive
lucasportella/learning-python
0f39ae2389db6d07b5b8c14ebe0c24f1e93c77c5
a9449dffd489e7e1f1619e3acef86bc2c64f0f14
refs/heads/master
2022-12-26T15:04:12.806300
2020-10-14T23:17:47
2020-10-14T23:17:47
260,685,503
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
soma = 0 somaPA = 0 print('Todos os números ímpares múltiplos de 3 até 500:') for cont in range(1,501,2): if cont % 3 == 0: soma += 1 somaPA += cont print(cont,end=' ') print('\n Número de repetições:', soma) print('Soma da PA:', somaPA)
[ "lucasportellaagu@gmail.com" ]
lucasportellaagu@gmail.com
e45a1fac5b581c35a286bd8251ccc0e3f6475205
ee4a0698f75aa2500bf2ce1b5e5331bc8b57157a
/myproject/course/models.py
738e4fda86e0a0457361f274b8a857115dd7a817
[]
no_license
coderrohanpahwa/one_to_one_model
5398732410027bfad91c5d5db01e528397c87703
df4fd8ce89d74d41d49671ba8dd5759b80af3d43
refs/heads/main
2022-12-25T14:12:31.253350
2020-10-06T08:58:38
2020-10-06T08:58:38
301,669,111
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from django.db import models from django.contrib.auth.models import User from .views import k # Create your models here. class Answer(models.Model): user=models.OneToMany(User,models.CASCADE) answer=models.CharField(max_length=100)
[ "coderrohanpahwa@gmail.com" ]
coderrohanpahwa@gmail.com
e123eb5ce78814907f4c0576ae6dc701c3f31bc2
c105570f12f1d56087ffb831f5d34cd763d6c90b
/top/api/rest/WlbWaybillIQuerydetailRequest.py
e31f3da969397463b9eaf5940b3a4f8b3c5c3026
[]
no_license
wjianwei126/Alinone
01607423833d7736b2fd3c77e9e21f63c69b4e4c
80144d4657cb049d651c09647eb245405240f12f
refs/heads/master
2020-12-07T05:14:58.746777
2015-05-06T12:48:33
2015-05-06T12:48:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
''' Created by auto_sdk on 2014-11-09 14:51:18 ''' from top.api.base import RestApi class WlbWaybillIQuerydetailRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.waybill_detail_query_request = None def getapiname(self): return 'taobao.wl...
[ "rapospectre@0163.com" ]
rapospectre@0163.com
d0f1683880dd97dbf57a8ff8ca500f4470b5aa9f
a42ed872908291bbfc5ae2f68968edc4c47edfcf
/lesson_16/choices_test.py
8c1ac0adaa1e1dc47e02cf3b312e2d5874927c43
[]
no_license
antonplkv/itea_advanced_august
b87f48cc48134ce1a73e167a5c834322792d0167
265c124e79747df75b58a1fd8c5d13605c1041b2
refs/heads/master
2023-01-02T23:31:39.050216
2020-10-28T19:15:01
2020-10-28T19:15:01
291,792,884
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
import mongoengine as me me.connect('testtetsttetst') class Task(me.Document): LOW_PRIORITY = 1 MEDIUM_PRIORITY = 2 HIGH_PRIORITY = 3 PRIORITIES = ( (LOW_PRIORITY, 'Низкий приоритет'), (MEDIUM_PRIORITY, 'Средний приоритет'), (HIGH_PRIORITY, 'Высокий приоритет') ) INSI...
[ "polyakov.anton@ukr.net" ]
polyakov.anton@ukr.net
10f47f80b7c9c1ebf1af1c941dbe2dbbc69c281d
a5b4384d1eaef17875499a3f721fedb91afa9fba
/usr/app/wsgi/tests/test_identification.py
4b2a91ae1772c81ee9d77f68ffac95c017821d1e
[]
no_license
wizardsofindustry/quantum-usr
85f609b8c08264d69204f696bea0446df19f0eb6
d49a3dcdf4df2ce31324f5ec98ae5c7130e01cbb
refs/heads/master
2021-07-18T06:51:16.034613
2018-11-23T19:20:23
2018-11-23T19:25:16
136,974,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
import unittest import ioc import sq.test import sq.lib.x509 from ....infra import orm from ..endpoints import IdentificationEndpoint @sq.test.integration class X509SubjectIdentificationTestCase(sq.test.SystemTestCase): gsid ="00000000-0000-0000-0000-000000000000" metadata = orm.Relation.metadata def s...
[ "cochise.ruhulessin@wizardsofindustry.net" ]
cochise.ruhulessin@wizardsofindustry.net
879079013be7911a134b9b62a20ff2df3d5483f6
7d852b8d7b8a6ad7fc9c39957e1097509d08e607
/cf/test/create_test_files.py
e3fd0f5939be75bd460a289c3d6ae479c19c9f7f
[ "MIT" ]
permissive
AJamesPhillips/cf-python
ca0a7ca8681fe928f069d5809bf067d064265e38
4631bc4ba3c0cb51dcd18905116440007e291e6b
refs/heads/master
2020-09-20T10:04:38.336267
2019-11-27T14:07:53
2019-11-27T14:07:53
224,445,029
0
0
MIT
2019-11-27T14:08:11
2019-11-27T14:08:10
null
UTF-8
Python
false
false
23,397
py
import datetime import os import unittest import numpy import netCDF4 import cf def _make_contiguous_file(filename): n = netCDF4.Dataset(filename, 'w', format='NETCDF3_CLASSIC') n.Conventions = 'CF-1.7' n.featureType = 'timeSeries' station = n.createDimension('station', 4) obs ...
[ "d.c.hassell@reading.ac.uk" ]
d.c.hassell@reading.ac.uk
579e5cbdefc699b964e62dbd7f5acf9f3aee439e
36fbba7b0823e04062c41f26385ed71da5b4f4d4
/tests/test_pipelines/test_bottom_up_pipelines.py
f687ecb2a385b85dc28988e7ed7937410b446a76
[ "Apache-2.0" ]
permissive
cherryjm/mmpose
2fcd4504a0a0d46f6a4dce6d0be1141fdead6bb5
b0acfc423da672e61db75e00df9da106b6ead574
refs/heads/master
2023-06-12T10:15:45.964450
2021-05-07T06:06:31
2021-05-07T06:06:31
346,599,724
1
0
Apache-2.0
2021-03-11T06:22:06
2021-03-11T06:22:05
null
UTF-8
Python
false
false
12,297
py
import copy import os.path as osp import numpy as np import pytest import xtcocotools from xtcocotools.coco import COCO from mmpose.datasets.pipelines import (BottomUpGenerateHeatmapTarget, BottomUpGeneratePAFTarget, BottomUpGenerateTarget,...
[ "noreply@github.com" ]
cherryjm.noreply@github.com
dc43154b2aa5893cfa927b7f35ef1427d65f1a3b
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/conda_conda/conda-master/conda/common/configuration.py
c1cc2a3d474edce74a64aadc4aa2fa940792cd7f
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
34,143
py
# -*- coding: utf-8 -*- """ A generalized application configuration utility. Features include: - lazy eval - merges configuration files - parameter type validation, with custom validation - parameter aliases Easily extensible to other source formats, e.g. json and ini Limitations: - at the moment only supp...
[ "659338505@qq.com" ]
659338505@qq.com
e9a512b76683460e70e8f31c4ae4f2d4f5144fb0
62c613e1f2bf062f807294ec6da4ae35bda6ac86
/abc146-d.py
195a5dc74cc33e8cfd7bc84c234a493644e42d2a
[]
no_license
teru01/python_algorithms
6b463c78c801b68f93dda2be2f67c9688dc3cc07
8feb194f53b619ab7b9c964a32df7b4df32b6f2e
refs/heads/master
2020-06-11T02:33:27.939830
2020-04-27T01:32:37
2020-04-27T01:32:37
193,827,088
0
1
null
null
null
null
UTF-8
Python
false
false
1,178
py
import sys input = sys.stdin.readline from operator import itemgetter sys.setrecursionlimit(10000000) INF = 10**30 from collections import deque def main(): n = int(input().strip()) G = [[] for _ in range(n)] A = [0] * n B = [0] * n for i in range(n-1): a, b = list(map(int, input().strip()....
[ "teru0x01.sheep@gmail.com" ]
teru0x01.sheep@gmail.com
efa66284d47dc7d43341155eaa34d87506ce3814
982344011a248b0f514ffb8d0c87c13f2f2e113e
/day1/conv.py
a03b4d03b507ada57975e15de49aabf5b16b5d56
[]
no_license
patrickjwolf/CS32_Architecture_GP
7f6c68de92155b7b9b295f7d35413637cebce45a
8704add1c6ed1f917451544e1573bed005eaa3ac
refs/heads/master
2022-12-06T15:26:54.715887
2020-08-19T22:45:21
2020-08-19T22:45:21
288,225,480
0
0
null
2020-08-17T16:05:34
2020-08-17T16:05:33
null
UTF-8
Python
false
false
2,567
py
# In general, the `.format` method is considered more modern than the printf `%` # operator. # num = 123 # # Printing a value as decimal # print(num) # 123 # print("%d" % num) # 123 # print("{:d}".format(num)) # 123 # print(f"{num:d}") # 123 # # Printing a value as...
[ "tomtarpeydev@gmail.com" ]
tomtarpeydev@gmail.com
5cd04361f26f5da04f4dd9f697d57ab51f7e0f1d
66cab93c26cc252f412860778131b208c6f120be
/parts/newproject/webob/acceptparse.py
df3db6b411f45e2366c6215b630c553c1de21ec3
[]
no_license
marcogarzini/Zodiac
3332733f6ae8d64924557ff022f44c835aeac0a9
06e8ad0c709189dc65a26fb7d6c17a9ee2bc9112
refs/heads/master
2016-09-11T03:18:12.805299
2014-01-17T12:50:03
2014-01-17T12:50:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
/home/user1/newproject/eggs/WebOb-1.2.3-py2.7.egg/webob/acceptparse.py
[ "user1@user1-VirtualBox.(none)" ]
user1@user1-VirtualBox.(none)
3c62b147291c14be369f9d73ced805f7f8773c2f
5044413a31d50b8220c87ae02acc7b059c7bf5ec
/T2/KademliaLibrary/example/download.py
4be810183d08324cbd67d47e8459bd7b3f0cb044
[]
no_license
rjherrera/IIC2523
500540350d06a1d11866093ec8d5df984728875c
756c4a3d9a59d72f66280333c8b48536c03ab592
refs/heads/master
2020-03-28T00:25:53.312660
2017-12-13T19:06:41
2017-12-13T19:06:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
from kademlia_iic2523.ipc import ipcSend import requests import socket import sys FILES_FOLDER = '/user/rjherrera/T2/files' def download(url): # try as we may recieve unexpected things. Also to use a friendly way of showing errors try: # use the requests library to try to download the file r =...
[ "rjherrera@uc.cl" ]
rjherrera@uc.cl
2b206bd77e2c71810ed891c15081bb40dd02a4af
c05357142b9f112d401a77f9610079be3500675d
/danceschool/core/urls.py
acc3ba46762b7690b07c61b675bf598fcdb0daac
[ "BSD-3-Clause" ]
permissive
NorthIsUp/django-danceschool
b3df9a9373c08e51fcaa88751e325b6423f36bac
71661830e87e45a3df949b026f446c481c8e8415
refs/heads/master
2021-01-02T22:42:17.608615
2017-08-04T17:27:37
2017-08-04T17:27:37
99,373,397
1
0
null
2017-08-04T19:21:50
2017-08-04T19:21:50
null
UTF-8
Python
false
false
2,997
py
from django.conf.urls import url from django.contrib import admin from .feeds import EventFeed, json_event_feed from .views import SubmissionRedirectView, InstructorStatsView, OtherInstructorStatsView, IndividualClassView, IndividualEventView, StaffDirectoryView, EmailConfirmationView, SendEmailView, SubstituteReporti...
[ "lee.c.tucker@gmail.com" ]
lee.c.tucker@gmail.com
c32bf7266de063e1e276f4b6ab28ed930165b860
9f7d4d76c7e66aa424a5f8723575dc489f1fd2ab
/2022/15/15.py
7d6fdb456fc09a05011e86519edbfcdeac7af504
[ "MIT" ]
permissive
kristianwiklund/AOC
df5a873287304816f25d91259c6e6c99c7a5f4bf
d9a668c406d2fd1b805d9b6a34cffa237a33c119
refs/heads/master
2023-01-12T09:01:11.012081
2023-01-02T19:12:29
2023-01-02T19:12:29
227,458,380
5
0
null
null
null
null
UTF-8
Python
false
false
3,007
py
import sys sys.path.append("../..") from utilities import * import networkx as nx from copy import deepcopy from pprint import pprint arr = readarray("input.txt") row = 2000000 #row=10 beac=list() sens=list() for l in arr: x=int(l[2].split("=")[1].strip(",")) y=int(l[3].split("=")[1].strip(":")) s=comple...
[ "githubkristian@snabela.nl" ]
githubkristian@snabela.nl
d2c84ea4ee599a3dca31d420a60f2e17b98158a9
fa2526ce1d65a2e58958a61c34cee1ba7cf73b94
/setup.py
958cccc8103c3d1f18213fd6d55c4f3cb9978257
[ "ZPL-2.1" ]
permissive
Zojax/zojax.portlets.livesearch
c480a19bd57b8b348032e40203696e4c53c68347
95f117ce89e0dc1fbfefdbec7969170caa3a1caf
refs/heads/master
2020-12-30T10:36:43.760852
2011-08-09T22:33:26
2011-08-09T22:33:26
2,035,553
0
0
null
null
null
null
UTF-8
Python
false
false
2,552
py
############################################################################## # # Copyright (c) 2008 Zope Corporation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SO...
[ "andrey.fedoseev@gmail.com" ]
andrey.fedoseev@gmail.com
74da8fcf18ff9a8150ba39ee90f91be05dea8255
0b70b9f582d2b010305ad1e5e4885f30435a5a74
/GUEST/forms.py
ae9847e5b58e1badfbd1bde00f04d04ed4a557f7
[]
no_license
SruthiSasidharan/DjangoProjects
51fa60282b398f4ebf03383220ce046ae1e1beed
6fccc3e1d571638949953ed9fc390068417ce713
refs/heads/master
2023-06-28T02:24:32.355568
2021-07-29T07:45:26
2021-07-29T07:45:26
370,647,670
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from Guest import forms from .models import Review from django.forms import ModelForm class ReviewCreateForm(forms.ModelForm): class Meta: model=Review fields=["review"]
[ "you@example.com" ]
you@example.com
5be8330c7a2af0ba0d2b7752a2f74e9b0b078107
f16e6cff9270ffece7f28473a46a49f76044eae1
/data_and_proc/sp2genus.py
4fcb8182b68b5087bea63b7412024f334e0a339a
[]
no_license
Klim314/pubcrawl
fe9e0a4ad0df35367a685856edb7983453fda345
cd873d0741c6ed1a09867ce86077927afd7be450
refs/heads/master
2021-01-18T19:17:49.786829
2015-06-19T03:48:03
2015-06-19T03:48:03
35,801,951
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python3 import sys target = sys.argv[1] output = sys.argv[2] holder =set() with open(target) as f: for i in f: splat = i.strip().split("\t") holder.add((splat[0].split(' ')[0], splat[1].split(' ')[0])) with open(output, 'w') as f: for i in holder: f.write(" ".join(i) + '\n')
[ "klim314@gmail.com" ]
klim314@gmail.com
549932aa539333a091f31dc81f22a937b394e990
62bf350adedcb1d04a97ca5e1f576e1f73493c53
/nerodia/tag_map.py
33d536cc6e637a42fc23f84dd48bd2271b1f0be7
[ "MIT" ]
permissive
mark0203/nerodia
57ca4bdf36ee6d84b46fb177b6e385f6c82c164d
2631c210fbaa0a7b5d598016e11ad7c7af083237
refs/heads/master
2020-05-24T00:44:25.189039
2019-03-10T00:41:51
2019-03-10T00:43:50
187,021,782
0
0
MIT
2019-05-16T19:46:54
2019-05-16T12:17:40
Python
UTF-8
Python
false
false
14,862
py
from nerodia import tag_to_class from .elements.area import Area from .elements.button import Button from .elements.d_list import DList from .elements.form import Form from .elements.html_elements import HTMLElement, Audio, Base, Quote, Body, BR, Canvas, \ TableCaption, TableCol, Data, DataList, Mod, Details, Dialo...
[ "lucast1533@gmail.com" ]
lucast1533@gmail.com
6700f165faf6659309c518dc3c87dec1653b0d0e
1047999f13e2f1cbc51c605a5cbeead8cc3ef901
/db_web/sp/tests.py
01b4b5e910edcec512d4fc5fd3b3704578151861
[]
no_license
ichoukou/db_web
ff25243309fc38b31eebf6b9565a7b5e73d24bab
b5a935366c8b6e8cc2539e583e41f0bce2e83c10
refs/heads/master
2020-05-20T23:41:38.333132
2018-09-11T01:01:59
2018-09-11T01:01:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
from django.test import TestCase # Create your tests here. sr='[1,2,3,4]' str_lst=list(sr) print(str_lst,type(str_lst))
[ "2361253285@qq.com" ]
2361253285@qq.com
626ef1a1961641711c3f61312880cea3994ab7ea
8d55d3a52ed6dc8111801cea9c7c9d0a84be736b
/src/662.maximum-width-of-binary-tree.py
236e7d52ce3fdc75ebc2866c5c0b37f29a9c687d
[]
no_license
mic0ud/Leetcode-py3
2a23270034ec470571e57c498830b93af813645f
61fabda324338e907ce3514ae8931c013b8fe401
refs/heads/master
2022-12-26T11:52:31.666395
2020-09-27T19:27:10
2020-09-27T19:27:10
297,135,944
0
0
null
null
null
null
UTF-8
Python
false
false
2,889
py
# # @lc app=leetcode id=662 lang=python3 # # [662] Maximum Width of Binary Tree # # https://leetcode.com/problems/maximum-width-of-binary-tree/description/ # # algorithms # Medium (39.55%) # Likes: 860 # Dislikes: 187 # Total Accepted: 45.6K # Total Submissions: 115.4K # Testcase Example: '[1,3,2,5,3,null,9]' # ...
[ "ebizui@gmail.com" ]
ebizui@gmail.com
59a36d90be34893265567174228a0d09d2ef132f
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/ml/azure-ai-ml/azure/ai/ml/_schema/compute/usage.py
39e0151c3a84f06270af1fa3cdc4323d144b0afe
[ "LicenseRef-scancode-python-cwi", "LGPL-2.1-or-later", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", "HPND", "ODbL-1.0", "GPL-3.0-only", "Z...
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
1,289
py
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- # pylint: disable=unused-argument,no-self-use from marshmallow import fields from marshmallow.decorators import post_load from azure.ai.m...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
bed1f026290d30ab652af5f006794bd8fbc9f765
c71af56951d1c661a5819db72da1caccd9130df2
/python/utils/ad_tests_mover.py
589995b4d3a1d5c721e5c9a0815c477fcb302fc7
[]
no_license
adrianpoplesanu/personal-work
2940a0dc4e4e27e0cc467875bae3fdea27dd0d31
adc289ecb72c1c6f98582f3ea9ad4bf2e8e08d29
refs/heads/master
2023-08-23T06:56:49.363519
2023-08-21T17:20:51
2023-08-21T17:20:51
109,451,981
0
1
null
2022-10-07T04:53:24
2017-11-03T23:36:21
Python
UTF-8
Python
false
false
457
py
limit = 95 def format_2digits(i): if i < 10: return "test0" + str(i) else: return "test" + str(i) def format_3digits(i): if i < 10: return "test00" + str(i) elif i < 100: return "test0" + str(i) else: return "test" + str(i) if __name__ == '__main__': fo...
[ "adrian.poplesanu@yahoo.com" ]
adrian.poplesanu@yahoo.com
ae269fbeb63c445ff3f0b9c7c9b142899a832f1f
f506dc8837e55dc1d8c023360d3395c1d24833e8
/prepare-dataset.py
0b3821e4fe3f99018e9f87a64387bf438986a1dc
[ "MIT" ]
permissive
hommmm/ParallelTTS
0f82ed29cdad0441ce491987b72ef17027b48359
d0e967d6d471bc901c85181a3b734d4df445dd08
refs/heads/main
2023-04-24T05:34:10.327568
2021-04-15T06:37:29
2021-04-15T06:37:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,446
py
#!/usr/bin/env python """Download and preprocess datasets. Supported datasets are: * English female: LJSpeech * Mandarin female: BBSpeech (BIAOBEI) * Tibetan female: TBSpeech (Non-public) * Mongolian male: MBSpeech (Mongolian Bible) * Korean female: KSSpeech (Kaggle Korean Single Speech) * Cantonese male: H...
[ "atomicoo95@gmail.com" ]
atomicoo95@gmail.com
04dc23f98eeb652b65e913bb594e023fbe573c31
ce0f8956c4c308c67bd700d31fe8d5a17b16ac08
/Python3/src/14 Testing/TDD/point.py
5f5392393d0de4173dee22fb7258d9404262882e
[]
no_license
seddon-software/python3
795ae8d22a172eea074b71d6cd49d79e388d8cc6
d5e6db1509a25c1a3040d5ae82d757539a2ff730
refs/heads/master
2021-07-10T15:48:31.893757
2020-07-16T20:29:22
2020-07-16T20:29:22
175,872,757
0
1
null
null
null
null
UTF-8
Python
false
false
283
py
class Point: def __init__(self, x0, y0, name): self.x = x0 self.y = y0 self.name = name def moveBy(self, dx, dy): self.x += dx self.y += dy def display(self): print(f"Point {self.name} is at [{self.x},{self.y}]")
[ "seddon-software@keme.co.uk" ]
seddon-software@keme.co.uk
0eed8c89461eb6c3b8d3047d689917d934f242ea
edf125be37a40caeb14c7fe32bd9f7511cf0ce9b
/07-cleaning-data-in-python/5-case-study/checking_data_types.py
dbf0982d7a52005d2ab359bdf31bf73197f34252
[]
no_license
vedpbharti/Datacamp
1d3d2ca0722a3a19733e91fa054f64e0c3b7114a
b6d019efebe1b46765f19212ba2d8ebb9d90de57
refs/heads/master
2020-04-05T05:47:28.528088
2019-02-10T22:34:00
2019-02-10T22:34:00
156,610,704
0
0
null
null
null
null
UTF-8
Python
false
false
1,221
py
'''Checking the data types Now that your data is in the proper shape, you need to ensure that the columns are of the proper data type. That is, you need to ensure that country is of type object, year is of type int64, and life_expectancy is of type float64. The tidy DataFrame has been pre-loaded as gapminder. Explore...
[ "ved.bhartig@gmail.com" ]
ved.bhartig@gmail.com
895a00118a48a46da43842ed361ef90b4bf75bc7
f023692f73992354a0b7823d9c49ae730c95ab52
/AtCoderRegularContest/109/B.py
e8f63dd4b86156a7a7784479c9988ed5e778177a
[]
no_license
corutopi/AtCorder_python
a959e733f9a3549fab7162023e414ac2c99c4abe
a2c78cc647076071549e354c398155a65d5e331a
refs/heads/master
2023-08-31T09:40:35.929155
2023-08-20T06:19:35
2023-08-20T06:19:35
197,030,129
1
0
null
2022-06-22T04:06:28
2019-07-15T15:57:34
Python
UTF-8
Python
false
false
694
py
# import sys # sys.setrecursionlimit(10 ** 6) # import bisect # from collections import deque def binary_search(ok, ng, solve): """2分探索""" while abs(ok - ng) > 1: mid = (ok + ng) // 2 if solve(mid): ok = mid else: ng = mid return ok # from decorator import...
[ "39874652+corutopi@users.noreply.github.com" ]
39874652+corutopi@users.noreply.github.com
03c7167733f235f4307297442c65882718598a6e
7b97d6fef74b35d2f26a9fed79b5b15782f8f9a5
/examples/basic_example.py
6ea409ffd7dddf1566fbada82d53d23511f7979b
[ "MIT" ]
permissive
Edinburgh-Genome-Foundry/tatapov
22ac8e1fc506267a5d85f6063596485e9fdba9e4
06c2aa13e49affc7419e16e853d31c835813fe04
refs/heads/master
2023-09-03T22:28:55.443170
2022-05-06T13:41:32
2022-05-06T13:41:32
150,324,605
12
2
NOASSERTION
2020-09-08T23:31:43
2018-09-25T20:22:46
Python
UTF-8
Python
false
false
242
py
import tatapov data = tatapov.annealing_data["25C"]["01h"] subset = tatapov.data_subset(data, ["ACGA", "AAAT", "AGAG"], add_reverse=True) ax, _ = tatapov.plot_data(subset, figwidth=5) ax.figure.tight_layout() ax.figure.savefig("example.png")
[ "valentin.zulkower@gmail.com" ]
valentin.zulkower@gmail.com
7ae787bca6218c85ab763ed18d5cc546dd7a9f72
866418a05db550487e5eb6f5063f04f1241ccb4a
/example/11/╡┌11.3_1.py
39c0355ca01e72cc70a9202afd65d0b91cafe609
[]
no_license
Freshield/LEARN_Python_Crawler
37cd552de8fb3f30157326a22a6b5cd62bd74703
53406cac38c27960e863c7bd5366bd1ae01ecd6c
refs/heads/main
2023-02-19T00:36:52.548150
2021-01-23T03:40:20
2021-01-23T03:40:20
326,993,103
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
import pymongo # 创建对象,连接本地数据库。 # 方法一: client = pymongo.MongoClient() # 方法二: client = pymongo.MongoClient('localhost', 27017) # 方法三: client = pymongo.MongoClient('mongodb://localhost:27017/') # 连接DB数据库 db = client['DB'] # 连接集合user,集合类似关系数据库的数据表 # 如果集合不存在,会新建集合user user_collection = db.user # 设置文档格式(文档即我们常说的数据)
[ "zxdsw199182@gmail.com" ]
zxdsw199182@gmail.com
4e20e0113f12ca54ff93d7de62bcc9e2d82234cf
bca56a70984c620d0e86be6c03a1e18ce3af2c2c
/gym/envs/__init__.py
44b07343068c4b239f537eb49b6fd7f81f1eb732
[ "MIT" ]
permissive
davidsonic/self_brewed_gym
9f44f1fc22a7dcf3cfb4a6850cb10dee8c2c2e17
4e0cffb3a6aad1f570aa748c22bf6a289aaa1ab3
refs/heads/master
2020-04-15T13:23:34.797762
2019-01-12T22:46:53
2019-01-12T22:46:53
164,715,071
0
0
null
null
null
null
UTF-8
Python
false
false
14,852
py
from gym.envs.registration import registry, register, make, spec # Algorithmic # ---------------------------------------- register( id='Copy-v0', entry_point='gym.envs.algorithmic:CopyEnv', max_episode_steps=200, reward_threshold=25.0, ) register( id='RepeatCopy-v0', entry_point='gym.envs.alg...
[ "davidsonic@163.com" ]
davidsonic@163.com
3ecb8306c4120d34f4d50837b65d730ed957c23e
df04a39be0cb31fa66a084afa2a4c161839d8d88
/core/ajax.py
735c1792f36a713211835a1a5e8c3cfca7979354
[ "Apache-2.0" ]
permissive
skyle97/Watcher3
58e95febbd81608e9de8ce5486c62c0ec45958d7
3eaee90069caee3a7fbff096184de33ad97fe7f3
refs/heads/master
2021-01-19T17:10:32.147456
2017-08-21T02:43:34
2017-08-21T02:43:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,912
py
import json import logging import os import threading import time import cherrypy import datetime import core from core import config, library, searchresults, searcher, snatcher, version, movieinfo, notification, plugins from core.providers import torrent, newznab from core.downloaders import nzbget, sabnzbd, transmiss...
[ "nosmokingbandit@gmail.com" ]
nosmokingbandit@gmail.com
12598f014099deae48cea3f0402d007713858b5a
1fc45a47f0e540941c87b04616f3b4019da9f9a0
/tests/sentry/api/serializers/test_grouptagvalue.py
d328f092a3656452391add7aa2fc5d6ee396d281
[ "BSD-2-Clause" ]
permissive
seukjung/sentry-8.15.0
febc11864a74a68ddb97b146cc1d2438ef019241
fd3cab65c64fcbc32817885fa44df65534844793
refs/heads/master
2022-10-28T06:39:17.063333
2018-01-17T12:31:55
2018-01-17T12:31:55
117,833,103
0
0
BSD-3-Clause
2022-10-05T18:09:54
2018-01-17T12:28:13
Python
UTF-8
Python
false
false
1,697
py
# -*- coding: utf-8 -*- from __future__ import absolute_import import six from sentry.api.serializers import serialize from sentry.models import EventUser, GroupTagValue, TagValue from sentry.testutils import TestCase class GroupTagValueSerializerTest(TestCase): def test_with_user(self): user = self.cr...
[ "jeyce@github.com" ]
jeyce@github.com
d96347873e9e35694bfbbc5d8c3adf35d0c11a59
157d0810d40bbb165889f946566346663cf5b22f
/Python-For-Everyone-Horstmann/Chapter9-Objects-and-Classes/P9_25.py
4f372df40188975237fd47929d3e6603486ef014
[]
no_license
dg5921096/Books-solutions
e6ccdcaba0294bdc95e2267723a02d2ba090cb10
31bb4bba240bf95aafeb6d189eade62c66a1765a
refs/heads/master
2021-12-09T16:07:47.756390
2021-11-14T07:09:25
2021-11-14T07:09:25
255,447,147
0
0
null
2020-04-13T21:39:02
2020-04-13T21:39:01
null
UTF-8
Python
false
false
794
py
# Design a class Mailbox that stores e-mail messages, using the Message class of Exercise # P9.24. Implement the following methods: # • def addMessage(self, message) # • def getMessage(self, index) # • def removeMessage(self, index) class Mailbox(): def __init__(self): self._mails = [] def l...
[ "syndbe@gmail.com" ]
syndbe@gmail.com
69125d0d670089b391b47812638b43f7c459c0b5
396f93d8e73c419ef82a94174815a2cecbb8334b
/.history/tester2_20200322174510.py
7aa63cf5264177dcd88e4e6fbb297d2a899aa036
[]
no_license
mirfarzam/ArtificialIntelligence-HeuristicAlgorithm-TabuSearch
8c73d9448b916009c9431526864a4441fdeb682a
90b2dca920c85cddd7c1b3335344ac7b10a9b061
refs/heads/master
2021-03-26T21:16:42.561068
2020-04-17T21:44:26
2020-04-17T21:44:26
247,750,502
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
import os import subprocess import re from datetime import datetime import time from statistics import mean numberOfTests = 100 tabuIteration = '1000' tabuDuration = '40' numberOfCities = '50' final_solution = [] list_coverage = [] local_minimum = [] print(f"\n\nTest for Tabu Search with this config: \n\tIteratio...
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
39594fdee131460d72ed27b8368bb94bb8fdcf98
50203b4a349dcb2ed1e72c9f5463d84db8a6e983
/skyline/webapp/luminosity_cloudbursts.py
0048fa8b6fb7fcecf903537da9ede688c880d75c
[ "MIT" ]
permissive
earthgecko/skyline
97e43df824d7c92d68086f529f0f3d051a7debb0
c2edc451e63d5eb57117ddcfbc6e79100e706460
refs/heads/master
2023-08-30T08:36:50.740285
2023-06-28T15:33:47
2023-06-28T15:33:47
20,475,900
482
74
NOASSERTION
2023-06-28T15:33:49
2014-06-04T08:33:15
Python
UTF-8
Python
false
false
12,756
py
import logging import os from ast import literal_eval import traceback import settings import skyline_version from skyline_functions import get_redis_conn_decoded from matched_or_regexed_in_list import matched_or_regexed_in_list from sqlalchemy.sql import select from database import get_engine, cloudburst_table_meta ...
[ "gary.wilson@of-networks.co.uk" ]
gary.wilson@of-networks.co.uk