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
2005d544980f7d15720e962de86e74c6f6fd741a
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/emdretrieve_req.py
48e5c348c015700e106299f9a834df1c3398f1f1
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
3,001
py
from __future__ import annotations from dataclasses import dataclass, field from travelport.models.base_req_1 import BaseReq1 from travelport.models.provider_reservation_detail_1 import ProviderReservationDetail1 __NAMESPACE__ = "http://www.travelport.com/schema/air_v52_0" @dataclass class EmdretrieveReq(BaseReq1): ...
[ "chris@komposta.net" ]
chris@komposta.net
553114eac120fd4648be97ce6eb3615043d8896f
18f8abb90efece37949f5b5758c7752b1602fb12
/py/django_tools/django-socialregistration/socialregistration/urls.py
eced2c999451f21024d0eb53aff4e5e06e2f22e2
[ "MIT" ]
permissive
marceltoben/evandrix.github.com
caa7d4c2ef84ba8c5a9a6ace2126e8fd6db1a516
abc3fbfb34f791f84e9a9d4dc522966421778ab2
refs/heads/master
2021-08-02T06:18:12.953567
2011-08-23T16:49:33
2011-08-23T16:49:33
2,267,457
3
5
null
2021-07-28T11:39:25
2011-08-25T11:18:56
C
UTF-8
Python
false
false
2,722
py
""" Updated on 19.12.2009 @author: alen, pinda """ from django.conf import settings from django.conf.urls.defaults import * from socialregistration.utils import OpenID, OAuthClient, OAuthTwitter urlpatterns = patterns('', url('^setup/$', 'socialregistration.views.setup', name='socialregistration_setup'...
[ "evandrix@gmail.com" ]
evandrix@gmail.com
709cd76abcd0a6755b0a9794548de548e5f7b188
573a66e4f4753cc0f145de8d60340b4dd6206607
/JS-CS-Detection-byExample/Dataset (ALERT 5 GB)/362764/shogun-1.1.0/shogun-1.1.0/examples/undocumented/python_modular/distribution_linearhmm_modular.py
3c933cb24ade5f46aa17ef67f813fe8c501dfb00
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
mkaouer/Code-Smells-Detection-in-JavaScript
3919ec0d445637a7f7c5f570c724082d42248e1b
7130351703e19347884f95ce6d6ab1fb4f5cfbff
refs/heads/master
2023-03-09T18:04:26.971934
2022-03-23T22:04:28
2022-03-23T22:04:28
73,915,037
8
3
null
2023-02-28T23:00:07
2016-11-16T11:47:44
null
UTF-8
Python
false
false
1,181
py
from tools.load import LoadMatrix lm=LoadMatrix() traindna = lm.load_dna('../data/fm_train_dna.dat') parameter_list = [[traindna,3,0,False],[traindna,4,0,False]] def distribution_linearhmm_modular (fm_dna=traindna,order=3,gap=0,reverse=False): from shogun.Features import StringWordFeatures, StringCharFeatures, DNA...
[ "mmkaouer@umich.edu" ]
mmkaouer@umich.edu
323abc001caf4eb30e975a3ca76e420afebe3f17
193b35f8acaae37b43fe680bf9a6a3111db3b9c7
/myPython/deco/deco_reg.py
03d1b2893578822ef2668d40bdd690d287015269
[]
no_license
zerosum99/python_basic
6726d0d5210fdff1e22f452470b515478f64b7cb
4b9e2b3478472830d901748bd6a2ac84c3dcc684
refs/heads/master
2021-05-23T05:41:01.742846
2021-05-16T09:16:39
2021-05-16T09:16:39
94,850,543
4
3
null
null
null
null
UTF-8
Python
false
false
2,241
py
# -*- coding: utf-8 -*- """ Created on Tue Feb 23 10:18:49 2016 @author: 06411 """ _functions = {} def register(func) : global _functions _functions[func.__name__] = func return func def wrapper(func,*args, **kargs) : return func(*args, **kargs) def deco_f(func) : print "deco_f ", func.__name__ ...
[ "myjlms99@gmail.com" ]
myjlms99@gmail.com
a8462359d04bd26836eedb702a2714a28e83d999
eb5f5b1d253e66a2c049866dc357299360af85fc
/tests/apps/admin/__init__.py
2f4a8edb9322338d0aeb180836a4e631ebe2d005
[]
no_license
jstacoder/flask-apps
7c523cbc146e4752139f28461d70da510d35af25
d4fe830ef6c17803127138e3c523ca99407d0f6a
refs/heads/master
2021-01-15T13:18:24.628952
2015-09-24T19:22:03
2015-09-24T19:22:03
39,747,365
16
0
null
null
null
null
UTF-8
Python
false
false
284
py
from flask import Blueprint,views admin = Blueprint(__name__,'admin',url_prefix='/admin',template_folder='templates/admin') class IndexView(views.MethodView): def get(self): return "Admin Index View" admin.add_url_rule('/','index',view_func=IndexView.as_view('index'))
[ "kyle@level2designs.com" ]
kyle@level2designs.com
7196da8729737525e60a270c98b7d518b5e69122
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/optimized_2146.py
a5c31561374578ab43e947c0bba355e40ae01e4c
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,584
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
0674e167a0379f18be55d7c96be448257652b990
9613620632d8a60afa1ac66a752f2eb543a8530d
/src/posts/views.py
5d0363767c0135e906f1e4601506cc6a5990c5cf
[]
no_license
loristron/iSocial
72dc48b36ff1959d98fdb1d4df66495575f9d48a
417d7a344a9a078d76380c221d32860d8775f36d
refs/heads/master
2023-02-24T15:46:17.450470
2021-02-03T00:52:26
2021-02-03T00:52:26
335,385,276
1
0
null
null
null
null
UTF-8
Python
false
false
3,222
py
from django.shortcuts import render, redirect from .models import Post, Like from profiles.models import Profile from .forms import PostModelForm, CommentModelForm from django.views.generic import UpdateView, DeleteView from django.urls import reverse_lazy from django.contrib import messages from django.http import ...
[ "loremmiranda@gmail.com" ]
loremmiranda@gmail.com
78e0c38991ab67c34f89dc3d5603cb82a1a11750
417d1065b90d3647c8cf83b89f0eb1b1a93f6b58
/eventsourcing/infrastructure/cassandra/manager.py
7d0bb0a543f5b513953a1f92957d5de8e15a707f
[ "BSD-3-Clause" ]
permissive
AlanFoster/eventsourcing-1
d725513c9f8e48b4fd40a8d449ae26acc4c6b6dc
964f9473043da81f80d2e9407ef7aefee02aae11
refs/heads/master
2020-08-06T12:57:27.096010
2019-10-01T20:21:52
2019-10-01T20:21:52
212,983,685
0
0
BSD-3-Clause
2019-10-05T10:50:13
2019-10-05T10:50:13
null
UTF-8
Python
false
false
3,882
py
import os from cassandra import InvalidRequest from cassandra.cqlengine.functions import Token from cassandra.cqlengine.query import BatchQuery, LWTException from eventsourcing.exceptions import ProgrammingError from eventsourcing.infrastructure.base import AbstractSequencedItemRecordManager class CassandraRecordMan...
[ "john.bywater@appropriatesoftware.net" ]
john.bywater@appropriatesoftware.net
ec3f95cd10bd549b717d65ed3f08cbadc04f3e30
7c11dec3b797ed017a8ab12aee625105028291be
/ext/start.py
6f30f53c26cc3c1be2fc8a901b9bf5cb8d64cd1f
[]
no_license
spookey/master_control
6b67464e18f792ad213c10d17ec3502cc1c05a2e
ef86259046aefbcd762d717b8eff93a80e9e5d5f
refs/heads/master
2020-07-04T21:18:41.353944
2017-04-23T12:04:52
2017-04-23T12:04:52
74,137,539
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
from ext.block.color import chroma from ext.parse import color_arguments, inst_arguments from ext.snaps.write import write_file from lib.snips.alert import Log LOG = Log.get(__name__) def i_run(): gens, args = inst_arguments() func = gens.get(args.what) if func: LOG.debug('found {} for {}', func....
[ "frieder.griesshammer@der-beweis.de" ]
frieder.griesshammer@der-beweis.de
34723fe51c77a2d63e8b76a1f8c6536f135dc5d2
0f4cacd40260137d3d0b3d1b34be58ac76fc8bd0
/2017/day18b.py
a1e6dd8e5f81939688ec412037756892b152dd9e
[]
no_license
timrprobocom/advent-of-code
45bc765e6ee84e8d015543b1f2fa3003c830e60e
dc4d8955f71a92f7e9c92a36caeb954c208c50e7
refs/heads/master
2023-01-06T07:19:03.509467
2022-12-27T18:28:30
2022-12-27T18:28:30
161,268,871
0
2
null
null
null
null
UTF-8
Python
false
false
1,944
py
test = """\ snd 1 snd 2 snd p rcv a rcv b rcv c rcv d""".splitlines() data = open('day18.txt').readlines() class CPU(object): def __init__(self, p): self.id = p self.regs = { 'pc': 0, 'p': p } self.queue = [] self.blocked = False self.traffic = 0 def reg(self, rno): ...
[ "timr@probo.com" ]
timr@probo.com
4623ea0a763c7ae557156b08b2d3a9a78d1afa71
ca1723987fdff9f123c5b3410c4a54d7b1862f06
/tekton/gns3.py
c29b8bf9ae11396f4e31b13b5fc353ed78cff382
[ "Apache-2.0" ]
permissive
nsg-ethz/tekton
2d18ef7f4fbaf595927210a57d1516baedb281fa
b60e931334e690919d12a5826600e5c400b6173d
refs/heads/master
2023-04-18T10:05:01.801577
2021-04-25T22:49:33
2021-04-25T22:49:33
123,303,799
6
4
Apache-2.0
2019-01-21T10:04:23
2018-02-28T15:26:50
Python
UTF-8
Python
false
false
5,087
py
""" Handles GNS3 topology generation """ import itertools import os import shutil from tekton.cisco import CiscoConfigGen from tekton.graph import NetworkGraph __author__ = "Ahmed El-Hassany" __email__ = "a.hassany@gmail.com" class GNS3Config(object): """Helper class to set the parameters of GNS3""" defa...
[ "eahmed@ethz.ch" ]
eahmed@ethz.ch
2dac62fc5f15e8e8bd755d5a6ad49140f90fc510
781e2692049e87a4256320c76e82a19be257a05d
/intervention/results/control_1114016_1447544517_221_9.58.py
8e548b9e4b360d87a6329a01a2cfd1b7ceb8dd0b
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
281
py
def num_common_letters(goal_word, guess): common_letters = [] for letter in goal_word: if letter not in common_letters: for letters in guess: if letters not in common_letters and letters is letter: common_letters.append(letters) return len(common_letters)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
d200fcfa900cdbedca8f01b027718ee44faf175c
b965948260da3cb7f23d11df8fd134fc8ae54ecc
/human_pose_util/dataset/eva/meta.py
f925bc5c36c2a2ee4e82c67c98576433419337e2
[]
no_license
happymin77/human_pose_util
e1da95a6cd82f66365b2447816a4a69519deb3a9
3cda8462dbb4583f2015ca1fb19d99aa65016916
refs/heads/master
2021-01-14T18:41:17.259292
2020-01-28T22:37:33
2020-01-28T22:37:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,158
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function cameras = ('C1', 'C2', 'C3', 'BW1', 'BW2', 'BW3', 'BW4') subjects = ('S1', 'S2', 'S3', 'S4') base_sequences = ('Combo', 'Gestures', 'Jog', 'ThrowCatch', 'Walking', 'Box') test_subjects = 'S14', test_base_sequ...
[ "thedomjack@gmail.com" ]
thedomjack@gmail.com
056259e5b5b94f9b15098fa8c82a3fce15cb495b
81834711b36056700d6c5fdd97953de2cf355bf6
/tests/test_comment.py
71cf180498db034998d3e6db6954449002fe49aa
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
juma-moringa/Pitches
4b3d80c4cc1946cf6dc3125cbfe77557be5d7ba3
e0d3afe33f95e404c42a00d7354c1620a58cef7c
refs/heads/master
2023-06-03T12:06:00.023182
2021-06-17T21:12:22
2021-06-17T21:12:22
375,995,871
1
0
null
null
null
null
UTF-8
Python
false
false
588
py
import unittest from app.models import Comments class CommentModelTest(unittest.TestCase): """ Test Class to test the behaviour of the Comment class """ def setUp(self): """ Set up method that will run before every Test """ self.comment= Comments(opinion = 'testing tes...
[ "allan.juma@student.moringaschool.com" ]
allan.juma@student.moringaschool.com
e646f8e22501bd37280d2a693d5348fd29a1a005
cc578cec7c485e2c1060fd075ccc08eb18124345
/Design/Instagram.py
226cdf4c7fd77ba304637be417c12ed0d6efc68d
[ "Apache-2.0" ]
permissive
JulyKikuAkita/PythonPrac
18e36bfad934a6112f727b4906a5e4b784182354
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
refs/heads/master
2021-01-21T16:49:01.482561
2019-02-07T06:15:29
2019-02-07T06:15:29
91,907,704
1
1
Apache-2.0
2019-02-07T06:15:30
2017-05-20T18:12:53
Python
UTF-8
Python
false
false
1,277
py
__source__ = '' FurtherReading = ''' https://github.com/google/snappy ''' ''' VideoLecture = summary: all PUSH ''' # Description: # Implement a ( instagram ) # # # SNAKE concept: # Scenario:case/interface # Necessary:constrain/hypothesis # Application:service/algorithm # Kilobit:data # Evolve: Analysis_by_SNAKE...
[ "b92701105@gmail.com" ]
b92701105@gmail.com
abb10ce75b9b1e2b215edf3890530b4fed46c34f
ffd5e689f88c49ab7af3554c22dc0c36301084fa
/simple_fun_305_typist.py
7d7db58458e85837a25446250356c5a3c4bf76ff
[]
no_license
ellismckenzielee/codewars-python
1710e6f0499047139479de386927c7dbd5f1cdf6
af3f4b4534798a58115d0565730aae28ce87437e
refs/heads/master
2023-08-09T13:38:40.964141
2023-08-01T14:45:22
2023-08-01T14:45:22
168,981,376
45
18
null
null
null
null
UTF-8
Python
false
false
416
py
#simple fun #305: typist kata #https://www.codewars.com/kata/592645498270ccd7950000b4/solutions/python def check_case(char): if char.isupper(): return True return False def typist(s): upper, output = False, 0 for char in s: output += 1 new_case = check_case(char) if ne...
[ "ellismckenzielee@gmail.com" ]
ellismckenzielee@gmail.com
c5ac4baf38cb34ef0bc525f20a1ee234418114be
dd256415176fc8ab4b63ce06d616c153dffb729f
/aditya-works-feature-python_programming (1)/aditya-works-feature-python_programming/24-Jul-2019/self_examples/self_example1.py
8707d220d4b5a67a3b682ae8bf4c96f3997900fb
[]
no_license
adityapatel329/python_works
6d9c6b4a64cccbe2717231a7cfd07cb350553df3
6cb8b2e7f691401b1d2b980f6d1def848b0a71eb
refs/heads/master
2020-07-24T17:15:39.839826
2019-09-12T07:53:28
2019-09-12T07:53:28
207,993,516
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
class car(): def __init__(self, model, color): self.model = model self.color = color def show(self): print("Model is",self.model) print("color is",self.color) audi = car("audi a4","blue") ferrari = car("ferrari 488", "green") audi.show() ferrari.show()
[ "aditya.patel@1rivet.local" ]
aditya.patel@1rivet.local
c1dfc5f6f654f71986c2901c2fc4b56f8dfc6b35
aade408dbbeb0490cdfed4ec08e9e330691c08c6
/contrib/comments/views.py
ff82a9b86a35802b88b529edc3a94ab45b24029d
[]
no_license
myles-archive/comfy
4ccd27facb3ba030cd6f38205ac1a45c88c8ee46
fde8278b6ba049b0979425e8901a1dfacc134c36
refs/heads/master
2020-04-13T23:23:31.608890
2008-11-17T21:23:52
2008-11-17T21:23:52
53,285
1
1
null
null
null
null
UTF-8
Python
false
false
2,686
py
from datetime import datetime from urllib import unquote_plus from django.contrib.auth.models import User from django.http import Http404, HttpResponseRedirect, HttpResponseBadRequest from django.shortcuts import render_to_response from django.template import RequestContext from django.conf import settings from django...
[ "me@mylesbraithwaite.com" ]
me@mylesbraithwaite.com
1c49be8c9df20ab5deec9a31b40afdac897fe344
5e796212ce578bffd3b47e779562205b370ceb11
/python/invoke_release/version.py
687033c62540306815cad33a0b1e420357bd1257
[ "Apache-2.0" ]
permissive
pombredanne/invoke-release
077e362a985a01a1f7bdf910ae016666b4b25a0c
c7a6732ad8711c98dd18d0bf862e704d91e29fa5
refs/heads/master
2021-11-04T18:06:13.789181
2019-08-22T20:28:10
2019-08-22T20:28:10
204,206,114
0
0
Apache-2.0
2019-11-27T14:45:47
2019-08-24T19:58:48
Python
UTF-8
Python
false
false
189
py
from __future__ import unicode_literals __version_info__ = (4, 1, 0) __version__ = '-'.join(filter(None, ['.'.join(map(str, __version_info__[:3])), (__version_info__[3:] or [None])[0]]))
[ "nwilliams@eventbrite.com" ]
nwilliams@eventbrite.com
0cd1691fd5171f695fbe554d90796f6eb5807245
5c928e2b5024920d26c93f4b06e93c08a3e61294
/portal_rnaseq_galaxy/lib/galaxy/webapps/galaxy/api/genomes.py
ab377c5d44d96ce8b7038de7b1396265e9afef2c
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
BioinformaticsArchive/PathogenPortal
c390cf78299595d170b20a105afdd5200200ddaf
d4b1e525e7e91ce32ec29998a7bcb5a1415706a3
refs/heads/master
2021-01-22T12:49:48.599355
2013-08-13T16:16:13
2013-08-13T16:16:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,850
py
from galaxy import config, tools, web, util from galaxy.web.base.controller import BaseController, BaseAPIController from galaxy.util.bunch import Bunch from galaxy.web.framework.helpers import is_true def get_id( base, format ): if format: return "%s.%s" % ( base, format ) else: return base c...
[ "anwarren@vbi.vt.edu" ]
anwarren@vbi.vt.edu
ad89c1467076c8498bee566475a98ed2deba17a1
ffadf9541d01cf9af20c419759d48b1eb01bfd35
/pachong/PCdemo1/exam/mingxingspider/mingxingspider/run.py
9652a4ab148d084f6a0f3d397a93a40f8bf9c200
[]
no_license
1987617587/lsh_py
b1bb1016eaafcba03bbc4a5310c1db04ae227af4
80eb5175cd0e5b3c6c5e2ebb906bb78d9a8f9e0d
refs/heads/master
2021-01-02T05:14:31.330287
2020-06-20T05:18:23
2020-06-20T05:18:23
239,498,994
2
1
null
2020-06-07T23:09:56
2020-02-10T11:46:47
Python
UTF-8
Python
false
false
260
py
''' 用于启动爬虫项目 ''' from scrapy import cmdline name ='mingxing' cdm ='scrapy crawl {0}'.format(name) if __name__ == '__main__': # cmdline.execute()内参数需要是列表,使用切割空格,生成列表 cmdline.execute(cdm.split())
[ "1987617587@qq.com" ]
1987617587@qq.com
d2ae017e201651fd1f8b972b86f5c700e343c5b5
dbfc8ca4dbdef6002b0738dd4c30d569eb9e36c3
/test/metadata/inbound/plugins/test_plugins_4001_triplesat_pms_dir.py
b95f5e89bea2d3d69fc01f83ac3b689e986715ff
[]
no_license
GISdeveloper2017/imetadata
da32e35215cc024a2e5d244ee8afc375c296550d
58516401a054ff0d25bfb244810a37838c4c8cf6
refs/heads/master
2023-03-26T06:38:28.721553
2021-03-06T09:32:06
2021-03-06T09:32:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,578
py
# -*- coding: utf-8 -*- # @Time : 2020/12/4 09:05 # @Author : 王西亚 # @File : test_plugins_aaa.py import allure import pytest from imetadata.business.metadata.base.fileinfo.c_dmFilePathInfoEx import CDMFilePathInfoEx from imetadata.business.metadata.base.plugins.c_plugins import CPlugins from imetadata.business.metadata....
[ "18437918096@163.COM" ]
18437918096@163.COM
a56f3cd1f7b14a2a0d88e1093abeb0dc0a536d5d
71864f24ea02e031a39572373e16bdfbc61df15e
/Rare1_Greedy/wons/1202_보석도둑.py
d37259f9d85a12f87f7694c9284a72c481155ed4
[]
no_license
kanghuiseon/algorithmStudy
38c6401e10830e1fcdba46e8fb0662110af73547
dd038391f0562368cfaeda0cfb7c4cd328d884a6
refs/heads/master
2023-08-12T10:44:11.743292
2021-09-14T07:36:27
2021-09-14T07:36:27
380,399,403
0
4
null
2021-09-14T07:29:14
2021-06-26T02:48:49
C++
UTF-8
Python
false
false
432
py
import sys import heapq read = sys.stdin.readline N,K = map(int,read().split()) gem,bag = [],[] for _ in range(N) : gem.append(list(map(int,read().split()))) for _ in range(K) : bag.append(int(read())) gem.sort() bag.sort() j,ans = 0,0 pq = [] for i in range(K) : while(j<N and bag[i] >= gem[j][0]) : ...
[ "42221106+wonsgong@users.noreply.github.com" ]
42221106+wonsgong@users.noreply.github.com
63a6c9a5be0a3330705a6e2b4d623014c4d40490
0567b686db4d05b44a70fdfd7a61ed07f3be1fb4
/tests/bundles/security/views/security_controller/test_login.py
d2ca4745224073930de41947c902aa3585f39048
[ "MIT" ]
permissive
achiang/flask-unchained
624271d903a8d2af2c15d83c79571e8b5f91a56e
12788a6e618904a25ff2b571eb05ff1dc8f1840f
refs/heads/master
2020-04-19T20:21:10.731764
2018-12-29T07:06:14
2018-12-29T07:06:14
168,411,738
0
0
MIT
2019-01-30T20:39:42
2019-01-30T20:39:41
null
UTF-8
Python
false
false
3,470
py
import pytest from flask_unchained.bundles.security import SecurityService, current_user from flask_unchained.bundles.sqlalchemy import SessionManager class TestHtmlLogin: def test_get_login(self, client, templates): r = client.get('security_controller.login') assert r.status_code == 200 ...
[ "briancappello@gmail.com" ]
briancappello@gmail.com
8b6314016817a75bba1b41ce6c150375e5e7a63a
41c605bf3a002a757cb2344cff526d7a7ae56ea9
/plotly/validators/waterfall/outsidetextfont/__init__.py
b5f48e48df3f9573cec9eabed9338c40a61d1131
[ "MIT" ]
permissive
Jonathan-MW/plotly.py
9674b90b5de11fd9089e6afefd04b57bc4587829
7528c00772f44dee24c0df7e15d70a4852f171a8
refs/heads/master
2020-05-30T06:04:13.621478
2019-05-31T10:34:15
2019-05-31T10:34:15
189,571,988
2
0
MIT
2019-05-31T09:59:53
2019-05-31T09:59:53
null
UTF-8
Python
false
false
3,274
py
import _plotly_utils.basevalidators class SizesrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name='sizesrc', parent_name='waterfall.outsidetextfont', **kwargs ): super(SizesrcValidator, self).__init__( plotly_name=plot...
[ "noreply@github.com" ]
Jonathan-MW.noreply@github.com
1a17d09424544fc65ec18d4ac75a83f627ac5ef2
ab34521d2104ac453d1abb3d254a4b2ed32ece3b
/rtamt/operation/arithmetic/dense_time/online/addition_operation.py
95ca9d6316f87ee1dd3fd8c1363b562094b881c1
[ "BSD-3-Clause" ]
permissive
xiaoyaooo/rtamt
50379cdb7d12fead3f1a6f3a4a54e7ed23147ba3
edb7bf664720c52e9d70920102c450b1f593af95
refs/heads/master
2023-04-01T12:14:28.170094
2021-04-08T21:27:17
2021-04-08T21:27:17
345,653,937
0
0
BSD-3-Clause
2021-04-08T21:27:18
2021-03-08T12:48:42
null
UTF-8
Python
false
false
1,049
py
from rtamt.operation.abstract_operation import AbstractOperation import rtamt.operation.stl.dense_time.online.intersection as intersect class AdditionOperation(AbstractOperation): def __init__(self): self.left = [] self.right = [] def update(self, left_list, right_list): out = [] ...
[ "dejan.nickovic@ait.ac.at" ]
dejan.nickovic@ait.ac.at
556f1a8153662944f0b769e8716c3bbe04fa7776
6120449ea81829e9595ce7f668a8d333b63b8509
/plone/transforms/interfaces/pipe.py
18792bbad62630225d062a0763a498d8c4fdc6fa
[]
no_license
plone/plone.transforms
5e97b9e63e89ea3d1dc01f274ffa3091e8b469c4
79c9602375cade60657f746d314956377765a8a4
refs/heads/master
2023-04-13T09:48:05.557573
2023-04-09T16:03:10
2023-04-09T16:03:10
2,815,304
1
1
null
null
null
null
UTF-8
Python
false
false
591
py
from zope.interface import Attribute from plone.transforms.interfaces import ICommandTransform class IPipeTransform(ICommandTransform): """A transformation utility using a command line tool, through input and output pipes. """ use_stdin = Attribute("Boolean indicating if the input should be written"...
[ "hanno@hannosch.eu" ]
hanno@hannosch.eu
0b378fa60c995558f7ec89003229041ad9e89b39
9893602fdad77858441c08de15980174e1bd3216
/tartist/core/utils/cli.py
f3261f734ae632b1f1068724dba99cff2a4bb33f
[ "MIT" ]
permissive
batermj/TensorArtist
b61a1fa71325b7dc538318160a0924e1b3d5c3d5
7654eb026f6d87f64e28ca152d006ef7625b0f45
refs/heads/master
2020-03-29T02:28:59.101255
2017-11-01T12:37:49
2017-11-01T12:37:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,944
py
# -*- coding:utf8 -*- # File : cli.py # Author : Jiayuan Mao # Email : maojiayuan@gmail.com # Date : 2/26/17 # # This file is part of TensorArtist. from .imp import load_module_filename from ..environ import load_env as load_env_ import os import sys __all__ = ['parse_devices', 'load_desc', 'yes_or_no', 'maybe...
[ "maojiayuan@gmail.com" ]
maojiayuan@gmail.com
2115541f828687120eb574996d097f6f1ba13b59
f0ee987789f5a6fe8f104890e95ee56e53f5b9b2
/pythia-0.8/packages/mpi/mpi/Application.py
fdace1ba010303b7620676be3e27b49dda741b9a
[]
no_license
echoi/Coupling_SNAC_CHILD
457c01adc439e6beb257ac8a33915d5db9a5591b
b888c668084a3172ffccdcc5c4b8e7fff7c503f2
refs/heads/master
2021-01-01T18:34:00.403660
2015-10-26T13:48:18
2015-10-26T13:48:18
19,891,618
1
2
null
null
null
null
UTF-8
Python
false
false
1,701
py
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2005 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~~~~~~~~~~~~~~~...
[ "echoi2@memphis.edu" ]
echoi2@memphis.edu
8203c36670c4807a6aa70239281578384e6275f0
13022c7b9f59481ddad7864119ac140a0155ca0c
/jira_agile_metrics/calculators/burnup_test.py
bcb62f379e626015b65cc11573a8c9cba8264544
[]
no_license
pablojimeno/jira-agile-metrics
8fa08ddc1211fc4901f6ff87572e38c0d2bfa17a
ff79b90a3655195793248f28b67257cb4b59f818
refs/heads/master
2020-03-19T01:37:54.347021
2018-05-30T08:12:09
2018-05-30T08:12:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,723
py
import pytest from pandas import DataFrame, Timestamp from .cfd import CFDCalculator from .burnup import BurnupCalculator from ..utils import extend_dict @pytest.fixture def settings(minimal_settings): return extend_dict(minimal_settings, { 'backlog_column': None, 'done_column': None }) @pyt...
[ "optilude@gmail.com" ]
optilude@gmail.com
ae7ed7bb9f5614c5ef39825a5fb0c7b06e6ca121
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part001939.py
cb9e5371b8fd32ec77fa8175e19d41fb6a1d1da8
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
3,559
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
ab64c9f4afa2e2cc513124131de1596fb63605da
d2b342f1b10fbeefb37e6469123a49e48bcf07de
/create_5sp_policies.py
15aa7b1b5adeaaaac65e9c770dc0cdc10689a192
[]
no_license
HarborneD/augmentation_policy_optimisation
ae9243ad2fe1bbbe72109a8c9127646dff8b91b6
d2e11816b284cc89cd122d3065348377ebed0cf6
refs/heads/master
2020-04-20T21:00:43.493657
2019-05-10T21:15:35
2019-05-10T21:15:35
169,094,747
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
import json import os def LoadPolicy(policy_path): policy_json = None with open(policy_path, "r") as f: policy_json = json.loads(f.read()) return policy_json def SplitPolicy(policy_json,new_policy_size = 5): new_policies = [] full_policy = policy_json["policy"]["policy"] new_pol...
[ "d.harborne@outlook.com" ]
d.harborne@outlook.com
afcc08eaf3ca789f90c478c88e8eb57125becb2f
79ec8c0c3d03eba1eb02e2e1df831b07fd7c0023
/HeavyIonsAnalysis/JetAnalysis/python/jets/akPu3CaloJetSequence_pp_mc_cff.py
ec45d47f22afc34d76b5ca5c181a84c2e2fc4a54
[]
no_license
enazarova/cmssw
a1febaae0e0d39a1ca3c625ee2cdec56830d10ed
fab2e599665c334ab8c8d0bac8f931c71fa4becb
refs/heads/master
2021-01-16T22:02:12.424115
2013-12-18T13:42:50
2013-12-18T13:42:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,346
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.patHeavyIonSequences_cff import * from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * akPu3Calomatch = patJetGenJetMatch.clone( src = cms.InputTag("akPu3CaloJets"), matched = cms.InputTag("ak3HiGenJets") ) akPu3Calopart...
[ "yetkin.yilmaz@cern.ch" ]
yetkin.yilmaz@cern.ch
80876c1dfe49cafdbcd064a5e76d323de5b12d04
8dcfddb4360d07260c7f9442493ff1915b292c4a
/app6/App6.py
8d737a5944df71beaa0546cb8ac5995c7a7daa06
[]
no_license
Swingyboy/Python_repo
c5d54ed4c56c4ba457344de1f8ee847c3dde7b44
9f538af549efdebc2fcceb908a65251e51cec84c
refs/heads/master
2020-03-09T12:33:31.216786
2018-10-29T09:17:51
2018-10-29T09:17:51
128,788,928
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
import sqlite3 def create_table(): conn = sqlite3.connect("lite.db") cur = conn.cursor() cur.execute("CREATE TABLE IF NOT EXISTS store (item TEXT, quantity INTEGER, price REAL)") conn.commit() conn.close() return 0 def insert(item, quantity, price): conn = sqlite3.connect("lite.db") ...
[ "kedonosec@gmail.com" ]
kedonosec@gmail.com
f2e96964d3bd57c2617ca9b548d82562e3527809
5a4f82c4e10e09f1b6698371d1a23de36f351260
/supervised_learning/0x05-regularization/1-l2_reg_gradient_descent.py
cd83a01678365e34c5a5989e1a34e3b4e14227b3
[]
no_license
icculp/holbertonschool-machine_learning
20a0bb730134e24504d406cf7a88b1f688e1905d
5114f884241b3406940b00450d8c71f55d5d6a70
refs/heads/main
2023-07-16T11:58:15.976074
2021-08-12T16:22:13
2021-08-12T16:22:13
317,306,604
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
#!/usr/bin/env python3 """ Regularization project """ import numpy as np def l2_reg_gradient_descent(Y, weights, cache, alpha, lambtha, L): """ Updates weights and biases of NN using grad desc w/ l2 reg Y is one-hot ndarray (classes, m) weights is dict of weights and biases (ndarrays) ...
[ "icculp@gmail.com" ]
icculp@gmail.com
9a9778bde60e2684c28ca2bb9ef49c1e94bf8247
29c3595a4e1f8de9382650610aee5a13e2a135f6
/venv/Lib/site-packages/django/db/models/sql/datastructures.py
c2c347b3cf18f7e4925bbcd3123c58a3bfd6a92e
[ "MIT" ]
permissive
zoelesv/Smathchat
1515fa56fbb0ad47e1859f6bf931b772446ea261
5cee0a8c4180a3108538b4e4ce945a18726595a6
refs/heads/main
2023-08-04T14:47:21.185149
2023-08-02T15:53:20
2023-08-02T15:53:20
364,627,392
9
1
MIT
2023-08-02T15:53:21
2021-05-05T15:42:47
Python
UTF-8
Python
false
false
6,592
py
""" Useful auxiliary data structures for query construction. Not useful outside the SQL domain. """ from django.db.models.sql.constants import INNER, LOUTER class MultiJoin(Exception): """ Used by join construction code to indicate the point at which a multi-valued join was attempted (if the caller wants ...
[ "ZoomLee@users.noreply.github.com" ]
ZoomLee@users.noreply.github.com
a9e816920defcf7a335b8916e4fde6f8a4e79032
8f70ad12af7eba07efa52eb29b8f99ed3900dbb9
/AGTGA data/AGTGA/Pinchos/Pinchos 2/TestSuite/TestSuite/TestCase13.py
abce92842509f3f18aabd3c4c6457ca1f33d83d2
[]
no_license
Georgesarkis/AGTGARowData
768952dc03dc342bcbe0902bf2fb1720853d0e14
e1faa7dc820b051a73b0844eac545e597a97da16
refs/heads/master
2022-10-01T17:06:04.758751
2020-06-05T07:25:41
2020-06-05T07:25:41
267,772,437
0
1
null
null
null
null
UTF-8
Python
false
false
964
py
import time from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from TestSuite.TestSuiteHelper import ElementFinder port = 'http://localhost:4723/wd/hub' driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName':...
[ "32592901+Georgesarkis@users.noreply.github.com" ]
32592901+Georgesarkis@users.noreply.github.com
1977f50c64363a946cb10bc3aa2634016445c42e
06b2eed882d8d7034fb7c57b648d5aa37d7f617b
/pycharmproject/爬虫/自动化评教.spec
8e88b118257b0540e95bdbd7630eee79b59d7c95
[]
no_license
1974410167/python_projects
558e2e7a4ea66b083ebd6d2f808b725e1bd153d6
81a97cbf41de12bdc3dbc46edf2931075ac4f758
refs/heads/main
2023-06-22T09:41:22.038620
2023-06-09T15:09:44
2023-06-09T15:09:44
355,036,534
0
0
null
null
null
null
UTF-8
Python
false
false
880
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['自动化评教.py'], pathex=['D:\\pycharm\\pycharmproject\\爬虫'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], ...
[ "1974410167@qq.com" ]
1974410167@qq.com
a1dfbb51a7738df9c4a048b20c84d30de0cdb519
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/Twilio/Calls/ListRecordings.py
d5e01ac2fb29d00ea6a56b2723e8bac0013675b0
[ "MIT", "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
4,211
py
# -*- coding: utf-8 -*- ############################################################################### # # ListRecordings # Returns a list of recordings generated during a call. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you ...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
9213142d8fa3c742322c19ce8e91c7aa6157ccb1
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/prime-big-406.py
f08d776aa3f679d2078b95d39a8f461c3d30a8bf
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
py
# Get the n-th prime starting from 2 def get_prime(n:int) -> int: candidate:int = 2 found:int = 0 while True: if is_prime(candidate): found = found + 1 if found == n: return candidate candidate = candidate + 1 return 0 # Never happens def is_prime...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
27ad05f5fe0855bd190f2e07d24301972ecd269c
a3f45a3189fc0f26fd03803bc7b8f5bac17fdeee
/Tests/TestScrollableViews.py
781e4d4e05b9093b6bab2b761f493bb8ca6d270b
[ "MIT" ]
permissive
coldmax88/PyGUI
128ee1259830ae1d7ab7eeabbff21bc9c5b14863
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
refs/heads/master
2023-03-16T00:37:52.220603
2018-05-17T07:11:38
2018-05-17T07:11:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
# # User-defined scrollable views used by test programs # from GUI import ScrollableView, Color, Font from GUI.StdFonts import system_font, application_font from GUI.StdColors import black, red, green, blue, yellow, white from TestInput import TestKeyEvents, TestTrackMouse from testing import say bgc = [green, blue,...
[ "greg.ewing@canterbury.ac.nz" ]
greg.ewing@canterbury.ac.nz
c10bfbd3f4757c22ce0530b19d81a86c65d74175
0679d7f0d7a4f94e665df09e75608c79e935deff
/mapa/models.py
61cab4f0e34042ed78952906bce5dc5a612a94e8
[]
no_license
exildev/ExpressNorte
160ad534fb170eeed9427b1d43560715863699c8
56c7d57a4a0155467ecf960e7ffadd8da73cb12b
refs/heads/master
2021-01-01T05:21:11.337462
2016-05-30T20:12:50
2016-05-30T20:12:50
58,683,449
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
from django.db import models from domicilios.models.pedido import PedidoWS class Punto(models.Model): latitud = models.FloatField() longitud = models.FloatField() def __unicode__(self): return '%d - %d'%(self.latitud,self.longitud) #end def #end def class Ruta(models.Model): inicio = models.FloatField() fin ...
[ "darkdrei88@gmail.com" ]
darkdrei88@gmail.com
e69cea1b97d212099039e8be0b78eb8d065ce783
9633f16b1b22139a5202a5c1ed348d1f3be005b9
/Codeforces/(Div.2 ) Round 676/D. Hexagons.py
60f8d3aec79d67d3bfd4ae5d1902f9ef12ac212d
[]
no_license
shivamnegi1705/Competitive-Programming
0d508810826247ee5e79e87a5736f1e854b3c799
3251f77195c5bac3306f39f3456832d038e57753
refs/heads/main
2023-03-03T22:36:47.414842
2021-02-17T18:20:17
2021-02-17T18:20:17
301,327,547
0
1
null
2020-11-01T08:15:08
2020-10-05T07:32:49
Python
UTF-8
Python
false
false
1,115
py
# Question Link:- https://codeforces.com/contest/1421/problem/D for _ in range(int(input())): x,y = list(map(int,input().split())) c = list(map(int,input().split())) for i in range(50): c[0] = min(c[0],c[5]+c[1]) c[1] = min(c[1],c[0]+c[2]) c[2] = min(c[2],c[1]+c[3]) c[3] = m...
[ "noreply@github.com" ]
shivamnegi1705.noreply@github.com
6225cbd73035f82fdeee4556fcddae3a82b319c5
981d1742be4f3bd58f12a1294bba55fbc779d425
/chicago_codes_bootcamp/chicago_codes_python/python_stack/python/oop/user_w_account.py
1e5089f4cc6dca020a5a23f21c1dbdf1e83c5644
[]
no_license
chuymedina96/coding_dojo
b0da91db792a51168b7b2a790216cb8e29da901c
1ac25b3a6e912851f1475015c9b8703e0d113df2
refs/heads/master
2020-07-05T19:18:39.906329
2019-12-31T02:51:39
2019-12-31T02:51:39
202,744,605
0
0
null
null
null
null
UTF-8
Python
false
false
1,774
py
class BankAccount: def __init__(self, int_rate, balance): self.int_rate = int_rate self.account_balance = balance def deposit(self, amount): self.account_balance += amount return self def withdraw(self, amount): if self.account_balance > 0: self.acco...
[ "chuymedina96@gmail.com" ]
chuymedina96@gmail.com
03b630de7a798f37b89821013f319626aba89430
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/cvxgrp_cvxpy/cvxpy-master/cvxpy/problems/solvers/elemental_intf.py
cbb512f882d8a42e91418181c95969893ca2c80e
[]
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
7,033
py
""" Copyright 2017 Steven Diamond Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
[ "659338505@qq.com" ]
659338505@qq.com
e535fe1bf6e69e99414d2dd2f1f41b6f806ba532
bd4dcd90d41aa228f0384c9ba03edd105a93d7ec
/products/migrations/0007_auto_20200213_1548.py
581fce8825b01200849c5a8463cae7a75dea3f27
[]
no_license
deganoth/mu-shop
0be0bb0cfa635986b37edbe371daf8373f09aefd
dc1a77ecf6217286c005d762b559fe3f61ef2f6d
refs/heads/master
2023-02-17T08:23:36.339586
2023-01-10T17:51:21
2023-01-10T17:51:21
243,972,792
0
1
null
2023-02-15T23:10:09
2020-02-29T13:22:02
Python
UTF-8
Python
false
false
536
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.24 on 2020-02-13 15:48 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('products', '0006_categorie'), ] operations = [ ...
[ "oliver.deegan@gmail.com" ]
oliver.deegan@gmail.com
5e2ecd11387f31da93c043c9868966ead80b9eed
9eaa2c64a777bd24a3cccd0230da5f81231ef612
/study/1905/month01/code/Stage5/day11/demo02_linearmodel.py
396b7c44765b59f2af95ff642c47372386bff3bf
[ "MIT" ]
permissive
Dython-sky/AID1908
4528932f2ca66b844d8a3fcab5ed8bf84d20eb0c
46cd54a7b36b5f009974f2bbb7005a4ad440ca1a
refs/heads/master
2022-04-14T12:23:30.426270
2020-04-01T18:05:19
2020-04-01T18:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
""" demo02_linearmodel.py 线性模型 """ import numpy as np import matplotlib.pyplot as mp import sklearn.linear_model as lm # 采集数据,读文本 x,y=np.loadtxt( '../ml_data/single.txt',delimiter=',',unpack=True ) # 整理输入集(二维)与输出集(一维) x=x.reshape(-1,1) # 变维:n行1列 mp.figure('Linear Regression',facecolor='lightgray') mp.title('Linear...
[ "dong_1998_dream@163.com" ]
dong_1998_dream@163.com
c6583eaebd0e02be2d71967da814c8513c39fcbc
ddcf878cca43d49f73fd673279a97e82ced521e8
/scripts/nexson/nexson_nexml.py
e83e7488d4d20ada7378273d73a01dd8d01c8af1
[ "BSD-2-Clause", "Python-2.0" ]
permissive
OpenTreeOfLife/peyotl
ca5fcbc4f1754c3da7a25c93d89cfeaaad17057f
b50f7217966c18195c9b52be42454513ffa3e7f3
refs/heads/master
2023-08-03T14:35:46.793662
2023-07-26T20:30:08
2023-07-26T20:30:08
16,637,087
6
4
BSD-2-Clause
2023-07-24T20:02:30
2014-02-08T05:52:12
Jupyter Notebook
UTF-8
Python
false
false
7,454
py
#!/usr/bin/env python from peyotl.nexson_syntax import (convert_nexson_format, get_ot_study_info_from_nexml, get_nexml_el, sort_arbitrarily_ordered_nexson, write_as_json, ...
[ "mtholder@gmail.com" ]
mtholder@gmail.com
10c526ada0d9bc4bd4ea1fdcebb1192dd7cd9836
ded10c2f2f5f91c44ec950237a59225e8486abd8
/.history/2/path_integral_naive_sampling_20200417200952.py
b72dfcaf8cd9630a6356d25ab20d6e7a30daa469
[]
no_license
jearistiz/Statistical-Physics-Projects
276a86407b32ded4e06b32efb2fadbd8eff8daed
d9c5b16a50856e148dc8604d92b6de3ea21fc552
refs/heads/master
2022-11-05T03:41:23.623050
2020-06-28T06:36:05
2020-06-28T06:36:05
254,909,897
1
0
null
null
null
null
UTF-8
Python
false
false
6,688
py
# -*- coding: utf-8 -*- from __future__ import division import os import numpy as np import matplotlib.pyplot as plt from time import time import pandas as pd # Author: Juan Esteban Aristizabal-Zuluaga # date: 202004151200 def rho_free(x,xp,beta): """Uso: devuelve elemento de matriz dsnsidad para el caso de una ...
[ "jeaz.git@gmail.com" ]
jeaz.git@gmail.com
207bbda5ab711da241f18ab4341355d1c4851265
97e534b26a76bf0d954e166841179979748bcfa2
/objects/migrations/0010_herospelleffect.py
5f726e813c20a0447cc4d806c5ab45a3f4bd9245
[]
no_license
mehdi1361/http_server
3a8bd73ce44307ee2b7761d1211671ca8cb0f3ba
d8a962c55165ef0237bfb26d27d9cfa11a415a5d
refs/heads/develop
2022-12-11T00:44:11.089407
2019-01-20T12:02:48
2019-01-20T12:02:48
166,656,299
0
0
null
2022-12-07T23:53:22
2019-01-20T12:02:05
HTML
UTF-8
Python
false
false
1,943
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-02-28 12:03 from __future__ import unicode_literals import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion import multiselectfield.db.fields class Migration(migrations.Migration): dependenci...
[ "mhd.mosavi@gmail.com" ]
mhd.mosavi@gmail.com
bd58e365d47723e3dfeb2a63b5e17c6504d17f98
b5b6b93cf2146e85b15656ad6999f02b969e7fee
/iniciando_django3/my_app/migrations/0007_auto_20200111_1433.py
3b1244dd90de845f35b32243a63d810367125bea
[]
no_license
fernandooliveirapimenta/django
3c2f8da76c8f04ce7a25887336920dd66f0a57e6
4ae93ade2b725e569addd881aa8c8c275580d038
refs/heads/master
2020-12-09T01:14:39.222731
2020-01-11T16:21:20
2020-01-11T16:21:20
233,148,381
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
# Generated by Django 3.0.2 on 2020-01-11 14:33 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('my_app', '0006_category'...
[ "fernando.pimenta107@gmail.com" ]
fernando.pimenta107@gmail.com
f345dfcdd7dcbed1130af5cb6fd5a3f2c71dabdd
7626a8371c7a847f93bdae5e1d6e03ee9667c3ba
/print/blog/migrations/0001_initial.py
fa96e3a5d7c6f97c9f3e3443740953214958d11a
[]
no_license
zzyzx4/sp
52c815fd115b4605942baa73687838f64cd41864
90c7a90b3de27af674422e2c8892bad5ba7891e8
refs/heads/master
2020-05-23T21:20:28.166932
2019-07-19T11:56:49
2019-07-19T11:56:49
186,950,380
0
0
null
null
null
null
UTF-8
Python
false
false
1,364
py
# Generated by Django 2.2.2 on 2019-06-24 15:40 import autoslug.fields from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_...
[ "you@example.com" ]
you@example.com
c5f1e7c743004a7e7fe151458aa051c59865706a
56b63ee537f872af0fc028016d1508b4c1dd5c60
/school/migrations/0222_agent1.py
f718b1ac8321d16c5fc0390655ebd99bf1752d7e
[]
no_license
jacknjillsolutionsrevanth/EMS1
01fc571120f765b0fbfe3aa654b15ff578d6e9b9
db14d8e6c15669b5938aa9276c5e22006218814a
refs/heads/main
2023-08-03T19:40:50.073133
2021-10-01T07:02:37
2021-10-01T07:02:37
410,202,348
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
# Generated by Django 3.1.2 on 2021-02-09 09:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('school', '0221_extendeduser_otp'), ] operations = [ migrations.CreateModel( name='Agent1', fields=[ ...
[ "jacknjillsolutions.revanth@gmail.com" ]
jacknjillsolutions.revanth@gmail.com
5f5d91e2a3d61526c1d5b0439ac4b18b9fd8ce72
793ba122f50d5b4dc873a00a90988d1529dfae87
/rostful/flaskapp.py
53ab3c69cd85c81261c91fdeee36266d4e860e1a
[]
no_license
yotabits/rostful
d6445056c617db0b859e3b5c922c69211d80fef3
9b020149afcd3f822409b6d45cc3a16f49fe7cc3
refs/heads/master
2021-01-19T02:14:56.117625
2017-04-05T05:02:50
2017-04-05T05:02:50
87,267,667
0
0
null
2017-04-05T04:59:04
2017-04-05T04:59:04
null
UTF-8
Python
false
false
3,116
py
# -*- coding: utf-8 -*- from __future__ import absolute_import import os from . import config # Reference for package structure since this is a flask app : http://flask.pocoo.org/docs/0.10/patterns/packages/ # This should be in __init__ but ROS handling of python packages is breaking it.as # TODO : move to __init__ i...
[ "asmodehn@gmail.com" ]
asmodehn@gmail.com
20e434edf4d1c1e2ff131d1a5e7bad9a4c6e133b
3faf4b9fb76145b2326446bc6bc190a5712b3b62
/Algorithms/0921 Minimum Add to Make Parentheses Valid.py
31de80ffdf4126807568ab54555c6235bb959d34
[]
no_license
cravo123/LeetCode
b93c18f3e4ca01ea55f4fdebceca76ccf664e55e
4c1288c99f78823c7c3bac0ceedd532e64af1258
refs/heads/master
2021-07-12T11:10:26.987657
2020-06-02T12:24:29
2020-06-02T12:24:29
152,670,206
6
1
null
null
null
null
UTF-8
Python
false
false
364
py
# Solution 1, greedy, O(n) class Solution: def minAddToMakeValid(self, S: str) -> int: cnt = 0 res = 0 for c in S: if c == '(': cnt += 1 else: cnt -= 1 if cnt < 0: res += 1 ...
[ "cc3630@columbia.edu" ]
cc3630@columbia.edu
110897a1ddd713bd1ff78c4e65c0dc2d2dc0d1cf
df30f97d316e899b07b223bc86cfe53345627f06
/problems/AD/2477_차량정비소.py
2078e5855149b71091e0a7160a2add6b85bfb2ec
[]
no_license
GH-Lim/AlgorithmPractice
c6a3aa99fa639aa23d685ae14c1754e0605eaa98
e7b8de2075348fb9fcc34c1d7f211fdea3a4deb0
refs/heads/master
2021-06-18T17:21:10.923380
2021-04-18T03:43:26
2021-04-18T03:43:26
199,591,747
1
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
from collections import deque for tc in range(1, int(input()) + 1): N, M, K, A, B = map(int, input().split()) a = list(map(int, input().split())) # N 개 b = list(map(int, input().split())) # M 개 t = list(map(int, input().split())) # K 개 aq = [[0, 0] for _ in range(N + 1)] # 남은 시간, 고객 번호 bq ...
[ "gunhyuck11@gmail.com" ]
gunhyuck11@gmail.com
57953f90ac8cab9742ab0eadb96eecae04a54fa5
b41dddb6722fffce17f09537797a2cd37a97c8ec
/CodeForces/1263D-Everyone_is_a_Winner.py
f92869b0fa2a75a1dda68a9db954268a14ad8815
[]
no_license
zinsmatt/Programming
29a6141eba8d9f341edcad2f4c41b255d290b06a
96978c6496d90431e75467026b59cd769c9eb493
refs/heads/master
2023-07-06T11:18:08.597210
2023-06-25T10:40:18
2023-06-25T10:40:18
188,894,324
0
0
null
2021-03-06T22:53:57
2019-05-27T18:51:32
C++
UTF-8
Python
false
false
281
py
import math t = int(input()) for i in range(t): n = int(input()) x = 1 s = set() s.add(0) s.add(1) while x < n // 2 + 1: r, d = n%x, n//x x += max(1, r // d) s.add(d) print(len(s)) print(" ".join(map(str, sorted(list(s)))))
[ "zins.matthieu@gmail.com" ]
zins.matthieu@gmail.com
9b9e249158418ed17b0a942c85f70edbc3767ed3
e747bac825ed5807f72654030e108b8c8f96b902
/mysite/.history/mysite/settings_20200714082036.py
56cc3a8f126430eae24dd5184387d937b309f84a
[]
no_license
AyatSoft/Tech_blog
4415ab7dfb04bc53bddaf16fd4772e8554680ae8
4728c44e0685c3b97038db5e0232e12f35446e23
refs/heads/master
2022-11-15T23:01:52.310968
2020-07-16T08:52:51
2020-07-16T08:52:51
280,103,472
0
0
null
null
null
null
UTF-8
Python
false
false
3,308
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # ...
[ "tanviredu2018@gmail.com" ]
tanviredu2018@gmail.com
3441de60a129535d187130dc69cbd6cc11910bbf
da052c0bbf811dc4c29a83d1b1bffffd41becaab
/core/sarangoci_modifier_purchase_request_line/models/models.py
020f33f583e5cfcf389dd0d22fbaecc8a3631d29
[]
no_license
Muhammad-SF/Test
ef76a45ad28ac8054a4844f5b3826040a222fb6e
46e15330b5d642053da61754247f3fbf9d02717e
refs/heads/main
2023-03-13T10:03:50.146152
2021-03-07T20:28:36
2021-03-07T20:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,123
py
# -*- coding: utf-8 -*- from odoo import api, fields, models, _ from odoo.exceptions import UserError class purchase_order(models.Model): _inherit = "purchase.order" READONLY_STATES = { 'purchase': [('readonly', True)], 'done': [('readonly', True)], 'cancel': [('readonly', True)], ...
[ "jbalu2801@gmail.com" ]
jbalu2801@gmail.com
9b42634f7f3832412b416782fe47be9e9df4c3be
41e57fc5a59200a6734418be363b15a3c3cd47a5
/Fabio_02/Fabio02_Parte_a/f2_a_q18_operacoes.py
dd1b6e7e82c23ab5db3e78a5fc3081f902ae672e
[]
no_license
dapazjunior/ifpi-ads-algoritmos2020
cae6f95c10beed488d09bd03f2487cbbc040cf08
a6f03b13595d527fe9759f62f216f671e57d8552
refs/heads/master
2023-01-08T04:39:17.200152
2020-11-03T12:16:45
2020-11-03T12:16:45
245,900,901
2
0
null
null
null
null
UTF-8
Python
false
false
796
py
def main(): num1 = int(input('Digite o primeiro valor: ')) num2 = int(input('Digite o segundo valor: ')) print('Sabendo que:\n1 - Adição\n2 - Subtração\n3 - Multiplicação\n4 - Divisão') operacao = int(input('Digite o valor correspondete à operação desejada:\n>>> ' )) resultado = calcular(n...
[ "dapazjunior@users.noreply.github.com" ]
dapazjunior@users.noreply.github.com
43182adcd52c802beb0404323cf228ddd6b5f115
edfd1db2b48d4d225bc58be32fbe372a43415112
/3. Airflow Fundamentals 3/challenges/lesson3.challenge2.py
c8e7361fedf42db84af490473476c8a3221db9d7
[]
no_license
rwidjojo/airflow-training
ed83cb9e97ca85ef06de1426f2f41014881a1f22
ac82040d8ddc3859df5576eee08d397e824016f1
refs/heads/main
2023-08-12T21:01:17.672059
2021-01-04T09:17:48
2021-01-04T09:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
from datetime import timedelta import logging from airflow import DAG from airflow.utils.dates import days_ago from airflow.operators.bash_operator import BashOperator from airflow.operators.python_operator import PythonOperator from airflow.hooks.postgres_hook import PostgresHook owner = 'john_doe' # Replace with yo...
[ "nurcahyopujo@gmail.com" ]
nurcahyopujo@gmail.com
4c8e379c3b0ddf33fb0efe71addb6aeac61dd5be
f3693916a8b118bf139364604dac3f51235ed613
/functional/Components/ProximityZone/ProximityZone_POST/test_TC_43816_ProximityZone_POST_Correct_Message_Displayed_On_Providing_Invalid_Value_Starting_With_Special_Chacarter_For_Id_Parameter.py
6adaaaa347ed169ea6a84285931504fc6df7e0ef
[]
no_license
muktabehera/QE
e7d62284889d8241d22506f6ee20547f1cfe6db1
3fedde591568e35f7b80c5bf6cd6732f8eeab4f8
refs/heads/master
2021-03-31T02:19:15.369562
2018-03-13T02:45:10
2018-03-13T02:45:10
124,984,177
0
0
null
null
null
null
UTF-8
Python
false
false
2,277
py
# -*- coding: UTF-8 -*- """PFE Component Tests - ProximityZone. * TC-43816 - ProximityZone POST: Correct Message Displayed On Providing Invalid Value Starting With Special Chacarter For Id Parameter. Equivalent test JSON payload: {'configAdminCanEdit': True, 'configurations': [], 'id': '@##1', 'name': 'Proxy...
[ "mbehera@qumu.com" ]
mbehera@qumu.com
74f341f2332f2d093f7045bf1d409d52c6e84e43
e36225e61d95adfabfd4ac3111ec7631d9efadb7
/problems/EE/auto/problem170_EE.py
2fab76585cb7987ed73d3366145ee816585aa73a
[ "BSD-3-Clause" ]
permissive
sunandita/ICAPS_Summer_School_RAE_2020
d2ab6be94ac508e227624040283e8cc6a37651f1
a496b62185bcfdd2c76eb7986ae99cfa85708d28
refs/heads/main
2023-01-01T02:06:40.848068
2020-10-15T17:25:01
2020-10-15T17:25:01
301,263,711
5
2
BSD-3-Clause
2020-10-15T17:25:03
2020-10-05T01:24:08
Python
UTF-8
Python
false
false
1,840
py
__author__ = 'patras' from domain_exploreEnv import * from timer import DURATION from state import state, rv DURATION.TIME = { 'survey': 5, 'monitor': 5, 'screen': 5, 'sample': 5, 'process': 5, 'fly': 3, 'deposit': 1, 'transferData': 1, 'take': 2, 'put': 2, 'move': 10, '...
[ "sunandita.patra@gmail.com" ]
sunandita.patra@gmail.com
368cbee99bd2a120f2f6d02925997263df72bfef
8e69eee9b474587925e22413717eb82e4b024360
/v2.5.7/toontown/coghq/DistributedGrid.py
8f37b238989b364a1a6ecbca3d6e82a48ea4389e
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
2,223
py
from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from CrateGlobals import * from otp.level import BasicEntities from direct.directnotify import DirectNotifyGlobal class DistributedGrid(BasicEntities.DistributedNodePathEntity): notify = DirectNo...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
aed9297f65947a344bad98e83ba18c9dd98f4812
8c8281ed3a78fe790a34d83f0e48d8ed7bbe5cc1
/build_debug/lab01_listener/catkin_generated/generate_cached_setup.py
b0e54298fefd381c848a7c06b6b49a6020cd7d57
[]
no_license
DiptoDas8/advanced-robotics
0bf68145674b7301f1f3ce8f59abc67e8812c3d8
64ad89ef445ce33e0adeb961ced9de3be69e101f
refs/heads/master
2020-03-19T04:00:12.536446
2018-06-02T04:51:51
2018-06-02T04:51:51
135,785,285
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/lunar/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.pa...
[ "1205080.dd@ugrad.cse.buet.ac.bd" ]
1205080.dd@ugrad.cse.buet.ac.bd
2f596b3e6cd56a7aa14c205c8c5969b1b07a36f3
2b2c984984576d923e99b7bbaa43c6a90253a559
/Python/Product/Miniconda/Miniconda3-x64/Lib/site-packages/conda/core/prefix_data.py
118118533c75ae42e94d69da515b141474e94a34
[ "Apache-2.0", "Python-2.0", "BSD-3-Clause", "MIT" ]
permissive
rgesteve/PTVS
bb7373da8764be3c3b1ce711cda0922177546e11
94939cce2dbc65445388f80223c2f85827e5f4be
refs/heads/master
2021-01-11T17:49:24.388525
2019-02-26T21:07:57
2019-02-26T21:07:57
79,829,271
0
2
Apache-2.0
2019-02-16T01:30:31
2017-01-23T17:30:32
C#
UTF-8
Python
false
false
7,322
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals import fnmatch from os import listdir from logging import getLogger from os.path import isfile, join, lexists from ..base.constants import CONDA_TARBALL_EXTENSION, PREFIX_MAGIC_FILE from ..base.context import co...
[ "huvalo@microsoft.com" ]
huvalo@microsoft.com
6034637671b2d2f3c4dd620dee5bdbd12c39d612
19df5bfefb855d3894a9a232f952e915ea42b111
/tests/test_start_response.py
96c8eb4301bc23755f8d9673acd87f8934bb49b1
[ "BSD-2-Clause" ]
permissive
vadim-serdiuk-nextiva/aiohttp-wsgi
343e298c4ca65de3bec149509c6fb4a2d5242d8a
1ddff90e183eac7474f364310ad1c6a7f104f9a5
refs/heads/master
2021-04-28T06:12:44.549240
2018-02-05T10:39:45
2018-02-05T10:39:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,557
py
from tests.base import AsyncTestCase CHUNK = b"foobar" * 1024 CHUNK_COUNT = 64 RESPONSE_CONTENT = CHUNK * CHUNK_COUNT def start_response_application(environ, start_response): start_response("201 Created", [ ("Foo", "Bar"), ("Foo", "Baz"), ]) return [b"foobar"] def streaming_response_ap...
[ "dave@etianen.com" ]
dave@etianen.com
70c58854581697c7f7442f198f1cf8d1ba06feeb
4151d059b9349f4e20fef39ff73c44a574321686
/tfx/dsl/components/base/base_beam_executor_test.py
da6f2a0d7434c49b65fd9819b43101fa0293ade3
[ "Apache-2.0" ]
permissive
htahir1/tfx
f08d7db3b5827c8c8618c59ff88a2dad7249b526
6528292918bf746fb5e143a8e1b276a29bbdfe8f
refs/heads/master
2021-12-01T20:45:11.522897
2021-06-10T07:10:26
2021-06-10T07:10:26
221,177,814
0
0
Apache-2.0
2021-06-10T07:06:02
2019-11-12T09:21:46
Python
UTF-8
Python
false
false
2,445
py
# Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
d2cf06bc1292227422b2870ff60858413040944f
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2016_03_01/aio/operations_async/_metric_definitions_operations_async.py
980e2560f8a8f9c83c06c957bec047886521f2aa
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
5,708
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
0564c7e4b56323952361e4497a2d5c90257e690a
82991ed5ad55f64723e54219166d91efbf82c274
/guest/sign/views.py
4918a18d2ddb436f29e443a23d01bb3c2e13d460
[]
no_license
pod1019/pydj
2cfb7e934dd0a467711ff2268e214c57cbb4fb64
aa3c23292b5c0e78d3c64c23880b8536d548379f
refs/heads/master
2020-09-24T02:50:09.381353
2019-12-04T07:45:40
2019-12-04T07:45:40
205,166,938
0
0
null
null
null
null
UTF-8
Python
false
false
2,112
py
from django.shortcuts import render from django.http import HttpResponse,HttpResponseRedirect from django.contrib import auth #导入Django已经做好用户体系 from django.contrib.auth.decorators import login_required #限制某个视图函数必须登录才能访问 ''' # 用到的一个新的类 HttpResponseRedirect,它可以对路径进行重定向,从而将登录成功之后的请求 # 指向/event_manage/目录。 创建 event_manage 函...
[ "pod1019@163.com" ]
pod1019@163.com
7c24d756a8c9f43d5afebbae73c4896c404623d5
5d61565651b7ba5fa8fade3313a5e82fca8b6686
/elecfencle/forms.py
1d777e03008bda78303186ca63a252f645e5a6fd
[]
no_license
lonelyxmas/ISMS
d597b00072bfa77907875f575b866fbb1fb53295
08c5e2f3518fc639cf1a1f2869f4b2f3ae58e306
refs/heads/master
2023-08-14T12:02:59.001215
2021-03-22T03:34:58
2021-03-22T03:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
from django.forms import ModelForm from django import forms from django.forms import widgets as Fwidgets from .models import * class ElecFencleModelForm(ModelForm): FPlate = forms.ChoiceField(widget=forms.Select(attrs={'lay-verify': 'required'}), required=False) class Meta: model = elecfencle ...
[ "11325818@qq.com" ]
11325818@qq.com
c8df2915e584c79343a65fdb4622386d0952b9e1
5c90514c2e754a1f373ede2577750969925c9af3
/tests/test_client.py
28dbdee6385c215a955b7fae08b378bd9b81dd22
[ "Apache-2.0" ]
permissive
Phocion/goblin
3fe0dfd8a82b6ba6c4e70fd848ec433eaecca236
421322aed7dce014a2b480c26d188585fc6810cc
refs/heads/master
2021-05-06T11:55:11.723064
2017-10-30T22:50:42
2017-10-30T22:50:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,387
py
import asyncio import uuid import pytest from goblin.driver import GremlinServer @pytest.mark.asyncio async def test_client_auto_release(cluster): client = await cluster.connect() resp = await client.submit("1 + 1") async for msg in resp: pass await asyncio.sleep(0) host = cluster._hosts...
[ "davebshow@gmail.com" ]
davebshow@gmail.com
168c27be97c3adbdabefe38cf75bb75c254c5ecf
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_055/ch4_2020_03_04_14_04_08_039057.py
9c1ddf3b9e541ee6e87c8e86b4f5b40acba91bb2
[]
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
270
py
def classifica_idade(idade): idade = int(input('idade: ')) return idade idade = int(input('idade: ')) if idade <= 11: print('crianca') if 12 <= idade and idade <= 17: print('adolescente') if idade >= 18: print('adulto')
[ "you@example.com" ]
you@example.com
e0fd84f2461dedc9edc37ac3e9b67353354b4178
e5dc885d2bdce0682b01ad7670bc0f5526a40de2
/base.py
6f5d3f21ab4aab21922bfacb13e0b814b1aa15c4
[]
no_license
lee212/task_monitoring
cf5f1cf8d8d29bd6fd572c0af69b7cba31c99568
8afe7bf570e07349834780ef6202ebf39e97a06f
refs/heads/main
2023-03-21T03:50:05.550719
2021-03-16T18:11:01
2021-03-16T18:11:01
342,317,401
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
import os import psutil import getpass import time import json class Base(object): def __init__(self): sysname, nodename, release, version, machine = os.uname() self.hostname = nodename self.username = getpass.getuser() self.name = type(self).__name__ self.snapshot_idx = 0 ...
[ "hroe.lee@gmail.com" ]
hroe.lee@gmail.com
22c54abb654d55ea6ed3a1cf5ed88b7fed24ab93
17032b7326510e360adbc61d8566c42ce8a0483a
/python2.7/site-packages/meh/ui/__init__.py
8c174e1daef9eb2b155d124d13ad5e7176fb623a
[]
no_license
noslin005/wzz
d220f8ed84fe2bc8dca9b764ccc72ee807740fbc
3a4e9fd377076b3a21730af9fca82e4b2e61702b
refs/heads/master
2021-11-03T09:33:47.126484
2019-04-15T01:19:02
2019-04-15T01:19:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,570
py
# Copyright (C) 2009 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This pr...
[ "wuzhengzhong@ruiec.cn" ]
wuzhengzhong@ruiec.cn
eeefa1566c983e54917e92229e8e55f8cc6c5626
bc441bb06b8948288f110af63feda4e798f30225
/idcmanager_sdk/api/idc/list_pb2.pyi
1d082d6876050b87d644a34a269baaf776a7b777
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,642
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedC...
[ "service@easyops.cn" ]
service@easyops.cn
5e37984bfc0723e29d29cc6455df458f3abc93e1
bcdf30ab17d406643fb8ec01bafcd6cbf625bb44
/stock_picking_moves/models/__init__.py
502732a34d2603fe5b2eb908d2925505740088f7
[]
no_license
more2makeTim/odoo-extra-addons
a37915da3407b38cf3fcfbdbecb67435cb7e8f76
ac81232e4d360d8cd645b2d3471da8779d77a4a5
refs/heads/8.0
2020-04-21T17:56:16.337747
2018-07-06T10:42:48
2018-07-06T10:42:48
94,529,482
0
0
null
2017-06-16T09:39:22
2017-06-16T09:39:22
null
UTF-8
Python
false
false
174
py
# -*- coding: utf-8 -*- # Copyright© 2016 ICTSTUDIO <http://www.ictstudio.eu> # License: AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) from . import stock_picking
[ "a.schenkels@ictstudio.eu" ]
a.schenkels@ictstudio.eu
6fe2d6d765bd4f707498d1cbdafded5d341c71b3
ed6e89a79d593fc188252483d329bbd800fd4f09
/setup.py
c84845e1cccb638300a62a2b059f07c2910049b9
[]
no_license
mol310/crawl-new2
8bfd1dfd0769f1706d559aef936635235e2d6c2e
af9ceb3178b3248af90282ca4d0f8c79df6faeec
refs/heads/master
2023-04-26T04:29:47.795433
2021-05-13T10:17:48
2021-05-13T10:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup(name="jichengspider", version="1.0.2", description="jichengspider", author="jicheng", author_email="421798321@qq.com", url="https://github.com/dongjicheng/crawl", packages=find_packages(e...
[ "421798321@qq.com" ]
421798321@qq.com
48d537fc44bed8078c58d4adadead19b351dbd7e
6fa0d5d3b61fbce01fad5a7dd50258c09298ee00
/Web/04_django/Corona/MOVIE_API/movies/models.py
bd59c07a917778b94517b19db08474f8be3fca70
[]
no_license
athletejuan/TIL
c8e6bd9f7e2c6f999dbac759adcdb6b2959de384
16b854928af2f27d91ba140ebc1aec0007e5eb04
refs/heads/master
2023-02-19T13:59:06.495110
2022-03-23T15:08:04
2022-03-23T15:08:04
188,750,527
1
0
null
2023-02-15T22:54:50
2019-05-27T01:27:09
Python
UTF-8
Python
false
false
574
py
from django.db import models class Genre(models.Model): name = models.CharField(max_length=20) class Movie(models.Model): title = models.CharField(max_length=30) audience = models.IntegerField() poster_url = models.TextField() description = models.TextField() genre = models.ForeignKey(...
[ "vanillasky84.0627@gmail.com" ]
vanillasky84.0627@gmail.com
3df4375303ee69e64a810aebb83b9f4a1d06f92b
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_Quantization/model_control_one_enabled_Quantization_Lag1Trend_Seasonal_Minute_LSTM.py
c8bbf04a1e9a7c0ed4d0f139c8994cd3e8039f36
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
167
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Quantization'] , ['Lag1Trend'] , ['Seasonal_Minute'] , ['LSTM'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
555561f0a1f6ddff90e55ebbcbc04f7f3f5c6c3b
bf79a856c8a9dd2d72190883dc31f5e652a3b9e7
/storagetransfer/posix_to_posix_request.py
5c21e1130cd07f803918fd4a3809f17426be64fa
[ "Apache-2.0" ]
permissive
aog5/python-docs-samples
5630c2864ee4f141e09d6909de3a3b7ac211703a
300527f4b12369f6b0ad59fba42cc66159853bdd
refs/heads/master
2022-10-28T04:48:52.060095
2022-10-18T06:50:12
2022-10-18T06:50:12
157,914,880
2
0
Apache-2.0
2018-11-16T19:55:30
2018-11-16T19:55:30
null
UTF-8
Python
false
false
4,233
py
#!/usr/bin/env python # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
aog5.noreply@github.com
61dbeafaa62f4c9c754b8ce486b15f1d69deb512
5963c12367490ffc01c9905c028d1d5480078dec
/homeassistant/components/dsmr/models.py
b54a5af80d5830fa490ec1944d52cb37e6260a4c
[ "Apache-2.0" ]
permissive
BenWoodford/home-assistant
eb03f73165d11935e8d6a9756272014267d7d66a
2fee32fce03bc49e86cf2e7b741a15621a97cce5
refs/heads/dev
2023-03-05T06:13:30.354545
2021-07-18T09:51:53
2021-07-18T09:51:53
117,122,037
11
6
Apache-2.0
2023-02-22T06:16:51
2018-01-11T16:10:19
Python
UTF-8
Python
false
false
532
py
"""Models for the DSMR integration.""" from __future__ import annotations from dataclasses import dataclass from datetime import datetime @dataclass class DSMRSensor: """Represents an DSMR Sensor.""" name: str obis_reference: str device_class: str | None = None dsmr_versions: set[str] | None = ...
[ "noreply@github.com" ]
BenWoodford.noreply@github.com
e52de886703df06b5d483f097a2574fb0d30d5fa
3f8206db65ea530506354f43ec43959e2278bbcb
/sphinx-plugin/pydispatch_sphinx/directives.py
97cd808abe4306e7b7aca73e418df87364651cbd
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nocarryr/python-dispatch
9793a8c8519034a3aef2f393b65e4bd327fb4438
9d14db21d015c509bc41fb5cde53a9dffb137cca
refs/heads/master
2023-07-06T22:59:51.246286
2023-06-22T16:47:55
2023-06-22T16:47:55
65,749,909
34
4
MIT
2023-05-30T18:42:54
2016-08-15T17:09:38
Python
UTF-8
Python
false
false
2,250
py
import typing as tp from sphinx.application import Sphinx from sphinx.util import logging from sphinx import addnodes from docutils import nodes from docutils.parsers.rst import directives from sphinx.locale import _, __ from sphinx.domains import ObjType from sphinx.domains.python import ( PyXRefRole, PyAttribute...
[ "matt@nomadic-recording.com" ]
matt@nomadic-recording.com
892941f78175978fbeffc04deb4eca5100c73abd
859e1b20ee4c482ef3562505416b61b7ec138194
/Tutorial/PyQtMPL.py
a6c65334e5da623e4eb9f4a3d194b04299a7578e
[]
no_license
mrware91/SACLA-online-analysis
084ac9a4f5f977ee09940c855ed578f00c844241
5237193509d91c2d93a5ba8e61474ee3eae2b1a8
refs/heads/master
2020-04-05T18:47:37.645432
2019-03-25T18:54:11
2019-03-25T18:54:11
157,112,815
0
0
null
null
null
null
UTF-8
Python
false
false
4,954
py
import os os.environ['dropboxPath'] = '../Dropbox' import time import numpy as np import matplotlib.pyplot as plt import sys sys.path.insert(0, os.environ['dropboxPath'] + '/Code/mattsTools') from plotStyles import * from PyQt5 import QtGui, QtWidgets from matplotlib.backends.backend_qt5agg import FigureCanvasQTA...
[ "mrware91@gmail.com" ]
mrware91@gmail.com
0bf0d6fbc1f673a3e013158b0de7838e883dc683
f6fb7918435a1d00754fae062785b56c8981faac
/fleetup/fleetup.py
fbddd1df868b23ec5a42fa3bfdcbe79aab3652fb
[]
no_license
AWAlexWeber/esi-backend
ca639ff4901ca9887c4fbf72d0219361eac9d763
c7511087e9ba30432642de00a57490e9ed33e2dd
refs/heads/master
2023-07-24T11:48:04.130775
2023-07-09T15:10:50
2023-07-09T15:10:50
181,578,085
1
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
# Importing errors from auth.error import throw_json_error # Importing JSON import json import requests import mysql.connector from cachetools import cached, LRUCache, TTLCache from datetime import datetime, timedelta # Getting the flask request object from flask import request # Importing config from config.config...
[ "awalexweber99@gmail.com" ]
awalexweber99@gmail.com
34afe8a3de6bc949424488dd9f3da8649810724a
3eae4c68a1dbe20faa0d66134f7f35498126fefe
/week2/Problem2_standard_robot_class.py
4290f45a8e00456cc266234c2883bbdc0cc05cb1
[]
no_license
aspiringguru/MITx6.00.2x_Python
dc93d89b06a58a020e4d982fcb70160b55b130cf
057a5170f98e9ec884d5fa34b3685186a563df8a
refs/heads/master
2021-01-10T14:00:58.142596
2016-04-28T02:31:15
2016-04-28T02:31:15
55,371,178
0
0
null
null
null
null
UTF-8
Python
false
false
3,656
py
#https://github.com/aspiringguru/MITx6.00.2x_Python #passes tests. Need to write a test script. #NB: modified Robot init method to clean tile when initiated. class Robot(object): """ Represents a robot cleaning a particular room. At all times the robot has a particular position and direction in the room. ...
[ "bmatthewtaylor@gmail.com" ]
bmatthewtaylor@gmail.com
686df2bdf6fe81e99271e9b385a2e001a9d4cd96
4ffeb0ad8a147e8199192fb454c126eb3b35f6a5
/Grokking_Algorithms/Greepy/NP.py
ee113eb725fea5bbc68ee2ea89720ae0bbffffb6
[]
no_license
AlbertSadykovOfficial/Grokking-Algorithms
65eff4a795fe4f675fdfa445b9bc0cefa898c816
2d63839c8a3409b6a0defb0f6970ede261d026a0
refs/heads/main
2023-06-24T17:32:17.950480
2021-07-26T15:02:57
2021-07-26T15:02:57
338,887,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,412
py
""" NP-полные задачи Такие задачи пока неразрешимы для точного решения, обычно используют приближенные методы. Признаки таких задач: 1) Алгоритм быстро работает при малом кол-ве элментов, но сильно замедляется при их увеличении 2) Есть формулировка : "Все комбинации X" 3) Призодится вычислять...
[ "albertsadykov@ro.ru" ]
albertsadykov@ro.ru
9701fa4372725748c3c6779e7b410b1e0fb7ea6e
63915be799c520afd94a29695d6a4d22891c0cf1
/0x10-python-network_1/0-hbtn_status.py
3308e67092986b76f9c2c2063ce591b9946d0dd2
[]
no_license
jadsm98/holbertonschool-python
77577e2c6c70e8e9dc3252f7fb99b98df54e6fcc
695c2bb72f67462e977dbfba69dd67c2dcc09dae
refs/heads/master
2023-01-13T07:39:57.486781
2020-11-20T22:35:12
2020-11-20T22:35:12
291,759,154
0
1
null
null
null
null
UTF-8
Python
false
false
298
py
#!/usr/bin/python3 """module""" import urllib.request with urllib.request.urlopen('https://intranet.hbtn.io/status') as url: read = url.read() decode = read.decode("utf-8") print('Body response:\n\t- type: {}\n\t- content: {}\n\t- utf8 content: {}' .format(type(read), read, decode))
[ "jadsamaha98@gmail.com" ]
jadsamaha98@gmail.com
3df1164147ea8d8625b51908155eac4332b80919
403a6dbc62e76124236ff3a70acecf6c2e113142
/linker.py
575c85f6a0df808ae8f0c25ce5b46f205f1b8fac
[]
no_license
torgiren/devopsiarz_linki
308cce20e66bc052fcb77afaadf5a624fce0a974
a1fa84ade22b43672c9fcbdf13a9ded7c9e8a92b
refs/heads/master
2022-11-25T11:06:40.213045
2020-08-05T21:31:02
2020-08-05T21:31:02
285,407,207
1
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
#!/usr/bin/env python import redis from bottle import route, run, template, redirect, abort, post, request import json import hashlib r = redis.Redis(host='localhost', port=6379, db=0) @route('/get/<name>') def get_link(name): link = r.get(name+"_target") if not link: abort(404) r.incr(name+"_coun...
[ "torgiren@gmail.com" ]
torgiren@gmail.com
d8c47aacb4918e195558f81a932d0e5763d06c85
65fb737aa9e628ba31ba7c4e535b0907713ebd8d
/docs/conf.py
2a07e11932b5eb057fe668dca76884f25761a291
[ "MIT" ]
permissive
MSLNZ/msl-equipment
a28adc139850316b365592e8bdba46c9381eec46
e84ecd275676e87b9827affbe783b041bb8d9ff8
refs/heads/main
2023-08-24T06:58:38.151662
2023-08-15T03:27:14
2023-08-15T03:27:14
86,027,122
10
10
null
null
null
null
UTF-8
Python
false
false
7,180
py
import os import sys import sphinx # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('..')) fr...
[ "joe.borbely@gmail.com" ]
joe.borbely@gmail.com
deeb509d883f5d43332af9beec62980952e19d63
1f44c056f79b0b8f2f32cdf417c80efe1913ed77
/ABC127D.py
67e69ede503ff8fc69099d06be90aaf45a2b8e54
[]
no_license
saki-engineering/PyAtCoder
4cc88d2a43991a5202cd71b48be0e936fb32137e
b008e86523c6d500beec53344172311872d50ff4
refs/heads/master
2020-09-15T08:39:17.698396
2020-04-24T05:55:02
2020-04-24T05:55:02
223,397,683
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
#coding: utf-8 import math import heapq import bisect import numpy as np #from scipy.misc import comb N,M = map(int, input().split()) A = list(map(int, input().split())) A.sort() L = [] for i in range(M): l = list(map(int, input().split())) L.append(l) L = sorted(L, key=lambda x:-x[1]) ans = 0 index = 0 for ...
[ "sakiharu31415@yahoo.co.jp" ]
sakiharu31415@yahoo.co.jp
dd6429e565485d93b8f3b0916164053f904fee8a
3117852233ea6c2644e723587a7b28d6d6518d95
/tapershag.py
7969e53e65a77defd197acc769e85221e47486fe
[]
no_license
harishravi121/Pythoncodes
d70059a3b7785d668a4b03f3ec85b0777b33706f
1d6d6ca0ed6348b6c5d07d27d24668fb567527ca
refs/heads/master
2023-07-07T11:58:03.741814
2023-07-01T08:01:56
2023-07-01T08:01:56
211,642,477
3
0
null
2020-01-13T06:45:25
2019-09-29T10:00:32
Python
UTF-8
Python
false
false
243
py
import numpy as np import matplotlib.pyplot as plt x=np.arange(0,96,.5) y=10.0*np.exp(-x/12)*7 weekly=(y-y%1.0)/48 plt.plot(x,y/48.0,x,weekly) plt.xlabel('months') plt.ylabel('Daily dosage with 48 day or 7 week average') plt.show()
[ "noreply@github.com" ]
harishravi121.noreply@github.com
3614968893eb7ce12e9407353ad75f62e50a010c
b0b21bd961031083ef2ff04e2c71648192e181bc
/snippets/popular_libraries/click-lib/intermediate-features/env_vars.py
de66704a21bb1fe62592a23a9fb7945c934bc0e0
[ "Apache-2.0" ]
permissive
melvio/python3-examples
3406b732b071fb8a23e296b9a2e5aab9e7a04deb
5340fe17e0a5001a81cf195e63f825b77dc16fca
refs/heads/main
2023-08-25T06:33:34.743019
2021-10-11T11:29:20
2021-10-11T11:29:20
396,391,616
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
#!/usr/bin/env python3 import click @click.command() @click.argument("home", envvar="HOME") def print_cli(home): click.echo(f"home={home}") if __name__ == "__main__": print_cli() # ./env_vars.py hi # home=hi # $ ./env_vars.py # home=/home/m
[ "31448155+melvio@users.noreply.github.com" ]
31448155+melvio@users.noreply.github.com
98b1e6a842502c203286b8b58362ced722ef673e
68ea9286437ecd1ffbac977520fe421443f98d44
/cancer/migrations/0010_auto_20170423_1022.py
6484bfc761dd9ba8e11c85a38005c8d8635a1aea
[]
no_license
palak12345/cancer
7c092d808894a79481e0b5286f344c9fa94017d7
354f8391a1002d3793eb64a05891c35ff140321d
refs/heads/master
2021-01-20T00:53:05.675504
2017-04-24T06:52:07
2017-04-24T06:52:07
89,206,752
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-23 10:22 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cancer', '0009_auto_20170422_1008'), ] operations ...
[ "you@example.com" ]
you@example.com
93a7c1b3474a90f9a4f78db8dae0d32998691910
0c0fbec0ba961a6fc1c27c003584903445555e47
/home/migrations/0006_auto_20191220_1452.py
0ee010a9cab58c5d60c6a1403126c4a482a596ea
[]
no_license
dentemm/uniekgroen
7ba874e1f74eeb240b773563a6f0627cfa8388e6
e551d6aebd33c5d3f224ae9c1194a2977dc2413d
refs/heads/master
2023-02-20T11:20:29.887787
2022-12-26T10:25:34
2022-12-26T10:25:34
218,985,246
0
0
null
2023-02-15T18:19:12
2019-11-01T12:55:05
Python
UTF-8
Python
false
false
2,257
py
# Generated by Django 2.2.6 on 2019-12-20 13:52 from django.db import migrations, models import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('home', '0005_homepage_section_1_image'), ] operations = [ migrations.AddField( model_name='homepage',...
[ "tim.claes@me.com" ]
tim.claes@me.com
b542501427866d97f5f10f6108e87bfea4da110e
2ff88e94153e9f469dbe418e48bcaae8e2ab8dc8
/JavaScript/수업/day10/REST/memo/urls.py
79cf999a136a31785d8d93a86d2f547ad42dcc60
[]
no_license
HorangApple/TIL
e04b2c65130901f7e20e2932f8175be27c1db583
5ee9f40cfd4d1b4fbfa155740bcd2d3a83c17133
refs/heads/master
2023-01-08T20:58:48.124182
2020-02-05T14:39:19
2020-02-05T14:39:19
163,809,325
2
0
null
2023-01-07T17:54:03
2019-01-02T07:35:52
Python
UTF-8
Python
false
false
155
py
from django.urls import path,include from . import views urlpatterns=[ path('memos/',views.apiMemo), path('memos/<int:memo_id>',views.deleteMemo) ]
[ "jongm711@gmail.com" ]
jongm711@gmail.com
f66ec3c7c158d07b0092e0da2412b89bb2bd2cbf
a85dd079356cbaf99d1b2ce7607fbb55b277de99
/WatchList1/commands.py
9cf5130e723acc3cad7579c8002a2e0dc28a69d9
[]
no_license
HarperHao/watchlist
e91465eaa6e2dc9ddfcd110a1548e5b8ed5644be
c2ee8c3d77f821eb77a31459dbc792b63e4cb23e
refs/heads/main
2023-01-02T16:51:09.009810
2020-10-30T09:14:10
2020-10-30T09:14:10
306,894,315
0
0
null
null
null
null
UTF-8
Python
false
false
2,187
py
""" Author : HarperHao TIME : 2020/10/26 FUNCTION: 命令函数 """ import click from WatchList1 import app, db from WatchList1.models import User, Movie @app.cli.command() @click.option('--drop', is_flag=True, help="Create after drop") def initdb(drop): if drop: db.drop_all() db.create_all() clic...
[ "m19834406344@163.com" ]
m19834406344@163.com
d461da755fb7697130e39f868d31ab9b1d1601f9
5ba97bd2f02e4a608b70ad2c4997079f6147dab4
/Other_Market_Places/Bonanza/product_url_collectors/pet_supplies_url_collector.py
43940b12285727124c1bda5b6b08a1d13f291a61
[]
no_license
akhilreddyyeredla/Web_Crawlers
d4131b622a378787c3bcdec4e64ac5be60ad78b0
d86a2ca19a2ed2b3275e4cd506a8df67d71686ec
refs/heads/master
2020-03-22T00:12:23.214849
2018-07-31T09:40:37
2018-07-31T09:40:37
139,230,561
0
0
null
null
null
null
UTF-8
Python
false
false
5,315
py
from Common.Bonanza_common_imports import * project_name = DataCollectors_Configuration.BONANZA_PROJECT_NAME queue_file = '{}/{}/Pet_Supplies/Pet_Supplies_link_queue.txt'.format(DataCollectors_Configuration.ROOT_FOLDER_BONANZA_HIERARCHY, project_name) com...
[ "akhil@eunimart.com" ]
akhil@eunimart.com
ee3acd7fe93e407d7b5492c663db6805dcaf50ab
8d402df39c18eba7e1c86c762f205c944357c5df
/www/src/Lib/test/test_importlib/extension/util.py
a266dd98c831561ef5b0f8fe010a67178821dcde
[ "BSD-3-Clause" ]
permissive
brython-dev/brython
87cc023e25550dec9ce459ba68774189f33712b6
b33958bff0e8c7a280babc30232dc389a2500a7a
refs/heads/master
2023-09-04T04:49:29.156209
2023-09-01T06:36:08
2023-09-01T06:36:08
24,046,239
6,569
625
BSD-3-Clause
2023-07-05T06:13:32
2014-09-15T06:58:21
Python
UTF-8
Python
false
false
475
py
import imp from importlib import machinery import os import sys PATH = None EXT = None FILENAME = None NAME = '_testcapi' try: for PATH in sys.path: for EXT in machinery.EXTENSION_SUFFIXES: FILENAME = NAME + EXT FILEPATH = os.path.join(PATH, FILENAME) if os.path.exists(o...
[ "pierre.quentel@gmail.com" ]
pierre.quentel@gmail.com
033d32386ff9fea242dfb9b8da8f1b6d367d8a81
118984fdbacf5eb71159eb511ccd055987498886
/CH05/EX5.11.py
56bffd7be0daa56081a64efff755d64a4ee72eeb
[]
no_license
6igsm0ke/Introduction-to-Programming-Using-Python-Liang-1st-edtion
321c6256be6ff78adbc8e3ddc73f2f43a51a75ab
159489f3af296f87469ddddf3a1cb232917506b0
refs/heads/master
2023-06-05T20:03:17.951911
2021-06-18T18:04:42
2021-06-18T18:04:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
# 5.11 (Find the two highest scores) Write a program that prompts the user to enter the # number of students and each student’s score, and displays the highest and secondhighest # scores. maxScroe1 = 0 maxScore2 = -1 maxName1 = maxName2 = "" while True: name = input("Enter Student's name(x to Stop): ") if nam...
[ "47993441+OmarAlmighty@users.noreply.github.com" ]
47993441+OmarAlmighty@users.noreply.github.com