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
6f6c7c40ce97726f1ab1b15cf11ab26241931a7a
3e4d78628a66927e2a640ca4f328adcc31e156b9
/deejay/__init__.py
f5cfa7bff1fd6fa557d609190e3e053e445308a8
[]
no_license
nijotz/shitstream
360d41a1411dc480dd220790f9513d202a18ee78
7d11171fb35aaf6d778d5bf23046d220939711be
refs/heads/master
2021-01-01T16:19:22.224760
2014-10-16T22:48:17
2014-10-16T22:48:17
23,303,299
5
1
null
null
null
null
UTF-8
Python
false
false
503
py
import imp import os import threading def load_personality(): brain = os.path.dirname(os.path.realpath(__file__)) traits = os.listdir(brain) for trait in traits: trait_file = os.path.join(brain, trait) trait_name = trait.replace('.py', '') if not trait.startswith('__init__') and (t...
[ "nick@nijotz.com" ]
nick@nijotz.com
cfaa2aec5710d97d29424c033b2a1c3a03f8b7fd
e183893cd4338f3bb014374b3df7022e174dda2b
/importformatter/__init__.py
4cfb8887a6130e62118171b0508867469faacf00
[]
no_license
tkaemming/importformatter
9dad1ba6c867bcf60d27435e25e3cd43e5244efd
13fa69d3bc4e492327857021829970c39f149254
refs/heads/master
2021-01-02T09:27:03.852265
2015-02-02T21:25:41
2015-02-02T21:25:41
13,937,189
0
0
null
2022-03-07T10:03:48
2013-10-28T20:09:32
Python
UTF-8
Python
false
false
2,936
py
""" Groups, sorts, and prints formatted imports statements. """ import ast import logging import operator import os from collections import defaultdict logger = logging.getLogger(__name__) def format_alias(alias): if alias.asname is not None: return '%s as %s' % (alias.name, alias.asname) else: ...
[ "ted@kaemming.com" ]
ted@kaemming.com
0a748ac0be9119b31c603ca24dad052b1e48f65c
49a167d942f19fc084da2da68fc3881d44cacdd7
/kubernetes_asyncio/client/api/settings_api.py
b1ffea59ed6b24803bf18c3846aa390d9f570969
[ "Apache-2.0" ]
permissive
olitheolix/kubernetes_asyncio
fdb61323dc7fc1bade5e26e907de0fe6e0e42396
344426793e4e4b653bcd8e4a29c6fa4766e1fff7
refs/heads/master
2020-03-19T12:52:27.025399
2018-06-24T23:34:03
2018-06-24T23:34:03
136,546,270
1
0
Apache-2.0
2018-06-24T23:52:47
2018-06-08T00:39:52
Python
UTF-8
Python
false
false
4,134
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.10.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import r...
[ "tomasz.prus@gmail.com" ]
tomasz.prus@gmail.com
af30c2d0aa60d8427a04e91c3178825344d6bd71
08d0354d0e650991c5e1787d4fafddea79b4f2bb
/rocketgram/tools/escape.py
507b7d28d8c9e4f3cc2d958856fedb1d0d5366e6
[ "MIT" ]
permissive
beneja/rocketgram
2a4644ccc040602e9b0f4efc79fe754e9876fae1
bbe26cfd444352ae0c978151e4320bca3ff0e632
refs/heads/master
2022-10-15T11:01:19.597669
2022-10-02T18:14:58
2022-10-02T18:14:58
179,712,834
0
0
null
2019-04-05T15:58:12
2019-04-05T15:58:12
null
UTF-8
Python
false
false
561
py
# Copyright (C) 2015-2019 by Vd. # This file is part of RocketGram, the modern Telegram bot framework. # RocketGram is released under the MIT License (see LICENSE). import re def html(text): """Helper function to escape rocketgram html symbols""" t = str(text) t = t.replace(u'&', u'&') t = t.re...
[ "vd@" ]
vd@
faf28749d023dacb158c26979b967129541dbd47
1b8a99a4ff80da51dc81dd8354bf9bf1cbd25a8b
/2021/number_of_music_playlists.py
cfe45e3b662537626935700ce2a370c875195c2b
[]
no_license
eronekogin/leetcode
ea639eebe0cd70af9eb4cba59bc68f636d7b3e0c
edb870f83f0c4568cce0cacec04ee70cf6b545bf
refs/heads/master
2023-08-16T10:35:57.164176
2023-08-14T11:25:33
2023-08-14T11:25:33
163,679,450
0
0
null
2021-09-09T12:04:44
2018-12-31T15:33:06
Python
UTF-8
Python
false
false
1,470
py
""" https://leetcode.com/problems/number-of-music-playlists/ """ class Solution: def numMusicPlaylists(self, n: int, goal: int, k: int) -> int: """ 1. Suppose dp[i][j] stands for the number of playlist of length i for j unique songs, then consider the last song added to this playlist: ...
[ "mengyu.jiang@gmail.com" ]
mengyu.jiang@gmail.com
af258410695540b4d0f66117527bad8804b1187d
39a298196ba169b346b87903bc917ec426d8d275
/Reset.py
154e694ce59e758506543a1044444dfd583dc674
[]
no_license
mcreddy91/python-network
d1dfe01b3562e4f9e10e547de3c6e00e46a71a49
922ce6314fffc0d5c7f06ddeb3fb7b37382421bb
refs/heads/master
2020-12-28T19:58:06.156550
2013-02-11T20:14:13
2013-02-11T20:14:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
class Reset(): def doReset(self, ob): # HOSTs reset IPs# for n in range(0,12): ob.host[n].setIP('ip-not-found') ob.host[n].setMascara('255.255.0.0') ob.host[n].setLigado(False) ob.nic_host[n].setLigado(False) ob.nic_host[n].setTDad...
[ "moreno.pinheiro@gmail.com" ]
moreno.pinheiro@gmail.com
9d9a089dd5a76f44f6f87ac17b906aa239eed43a
1a2ca64839723ede3134a0781128b0dc0b5f6ab8
/ExtractFeatures/Data/george/albrecht.py
a7db0f0a7ae664ea96b065e68ac4285cf345862e
[]
no_license
vivekaxl/LexisNexis
bc8ee0b92ae95a200c41bd077082212243ee248c
5fa3a818c3d41bd9c3eb25122e1d376c8910269c
refs/heads/master
2021-01-13T01:44:41.814348
2015-07-08T15:42:35
2015-07-08T15:42:35
29,705,371
9
3
null
null
null
null
UTF-8
Python
false
false
2,089
py
""" # https://code.google.com/p/promisedata/source/browse/#svn%2Ftrunk%2Feffort%2Falbrecht Standard header: """ from __future__ import division,print_function import sys sys.dont_write_bytecode = True from lib import * """ @attribute Input numeric @attribute Output numeric @attribute Inquiry numeric @attribute File...
[ "vivekaxl@gmail.com" ]
vivekaxl@gmail.com
699604f93c90a60fd8012f06e8ceb68d37ce9364
614e01d08c8bb5adbe4d263d9dba04688502a12f
/toggl_driver/commands/store_api_token.py
151990f49ae5b4e253a95413c3946d80b01cccd3
[ "MIT" ]
permissive
cloew/TogglDriver
28b2b2ebd396d08000fc92e0013f15722975ae06
7b0528710e7686690a88a22cf5cca1f3ac55ebbf
refs/heads/master
2021-01-10T13:05:58.759515
2015-10-01T03:43:52
2015-10-01T03:43:52
43,025,616
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
from ..config import GlobalConfig from kao_command.args import Arg class StoreApiToken: """ Represents a command to store the global Api Token for connecting to Toggl """ description = "Store the Toggl API Token" args = [Arg('token', action='store', help='Token to store')] def run(self...
[ "cloew123@gmail.com" ]
cloew123@gmail.com
4dde36f0509017521af9395ae8f6b4e61ecbeb2a
2c926b4847a44c7f831d47ed0160751d3248e8f4
/venv/lib/python3.8/site-packages/hubspot/automation/actions/models/input_field_definition.py
74ba77e7a3afacd58629a99dcab74d2ec83fc1fb
[]
no_license
Women-in-Tech-Society/WITS_Site
c42cd2c9abe1b5515b80be82dc876a6c3842e42a
5dbf22f5ee5a36358f6f279af4c13d86d31653c5
refs/heads/main
2023-05-11T02:34:05.531902
2021-06-01T01:05:12
2021-06-01T01:05:12
278,658,100
0
5
null
2022-11-22T18:41:35
2020-07-10T14:43:28
Python
UTF-8
Python
false
false
7,588
py
# coding: utf-8 """ Custom Workflow Actions Create custom workflow actions # noqa: E501 The version of the OpenAPI document: v4 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from hubspot.automation.actions.configuration import Configuration c...
[ "mhuda@uwo.ca" ]
mhuda@uwo.ca
60dbc77ae60ed5507b65c08ddb0cf56b6e9f2015
04b1803adb6653ecb7cb827c4f4aa616afacf629
/third_party/blink/tools/blinkpy/web_tests/port/browser_test.py
ea773718930c0755ea1ad84d8cea9e54f1eac4b8
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
4,123
py
# Copyright (C) 2014 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the ...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
9c02bb8d19e52c3e6e0104317dfac46d2da85b8b
d8a9b88f4087ebfe97b462e589071222e2261e47
/392. Is Subsequence.py
04b28ae9c9fbac6c94ad0e66a90c48cddb32c0dd
[]
no_license
rohitpatwa/leetcode
a7a4e8a109ace53a38d613b5f898dd81d4771b1b
f4826763e8f154cac9134d53b154b8299acd39a8
refs/heads/master
2021-07-07T12:40:30.424243
2021-03-31T00:21:30
2021-03-31T00:21:30
235,003,084
1
0
null
null
null
null
UTF-8
Python
false
false
496
py
# Use two pointers i,j. Increment both if same char else j+=1. If i reaches the end, return True. def isSubsequence(self, s, t): """ :type s: str :type t: str :rtype: bool """ i, j = 0, 0 while i<len(s) and j<len(t): if s[i]==t[j]: i+=1 j+=1 else: ...
[ "rohitpatwa@gmail.com" ]
rohitpatwa@gmail.com
a35faa1d0cd6b13ecf256d722fb59ab728e835f5
dcc70c6f2e82d017f671e79d8b2baffb8abca681
/gimmemotifs/rocmetrics.py
e6c232b03db1f8f1fa56b17dde2252a6d2b45604
[ "MIT" ]
permissive
georgeg9/gimmemotifs
d681624c77fe762c3f25a9638ebafaca0a88b7dd
6a25b0774803502870229726f61ca8b86c2fed7b
refs/heads/master
2021-01-12T22:36:12.747358
2015-09-29T16:22:32
2015-09-29T16:22:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,728
py
# Copyright (c) 2009-2010 Simon van Heeringen <s.vanheeringen@ncmls.ru.nl> # # This module is free software. You can redistribute it and/or modify it under # the terms of the MIT License, see the file COPYING included with this # distribution. """ Module to calculate ROC and MNCP scores """ # External imports from...
[ "simon.vanheeringen@gmail.com" ]
simon.vanheeringen@gmail.com
49cce9265826d3a7ece5ed4d464d571a9fac7a61
b50903f9680b80ea600b0ea40ccd4e93679116a7
/JetAnalysis/test/test_print.py
332b394a0f2354642031cb4dda96a8b93ab19f63
[]
no_license
Jelov/Jet_Production_channel
15f7471121a5e8e8ca0203d407dae6d1d40e3acd
05c0e8b8145d912dcaa590729d28d99f866c773e
refs/heads/master
2016-08-12T20:28:47.253666
2016-03-16T19:15:49
2016-03-16T19:15:49
51,877,091
0
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
import FWCore.ParameterSet.Config as cms process = cms.Process("test") process.source = cms.Source("PoolSource", duplicateCheckMode = cms.untracked.string("noDuplicateCheck"), fileNames = cms.untracked.vstring( # "root://cmsxrootd...
[ "jelov227@gmail.com" ]
jelov227@gmail.com
9e2fe2784cf73350e4d6053d18ca61ad7893e6bb
81835671049fd32f173d438ca85a8e81482bc76a
/src/restaurants/migrations/0034_photo_restaurant.py
d7f06b33a4db240ac522f376bbd893e6ef258bf6
[]
no_license
laura8857/django_restaurant
acd344423bd71194f6763e899edaf94955bf06ce
f9882d3d2d8998c1e99a7ecb706be66fab8c4425
refs/heads/master
2021-09-09T07:42:25.636140
2017-12-31T07:03:36
2017-12-31T07:03:36
111,422,444
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-11-21 03:08 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('restaurants', '0033_auto_20171121_0259'), ] operat...
[ "luara8857@gmail.com" ]
luara8857@gmail.com
e37ee3f7aaaff3c92742b75cf01d817e6e8efcd4
725abfa74e3800622837e60615dc15c6e91442c0
/venv/Lib/site-packages/setuptools/lib2to3_ex.py
4677c8816f2cea566c5cd294f269ea98af69624b
[]
no_license
Malak-Abdallah/TODOlist
4840e2e0a27e6499ae6b37524bb3e58455d08bfb
fd35754e8eac9b262fae17ec16ad9fb510a12f5d
refs/heads/master
2023-07-16T11:38:48.759232
2021-08-31T09:43:11
2021-08-31T09:43:11
401,600,246
0
0
null
null
null
null
UTF-8
Python
false
false
2,345
py
""" Customized Mixin2to3 support: - adds support for converting doctests """ import warnings from distutils.util import Mixin2to3 as _Mixin2to3 from distutils import log from lib2to3.refactor import RefactoringTool, get_fixers_from_package import setuptools from ._deprecation_warning import SetuptoolsDeprecationWar...
[ "malkobeidallah@gmail.com" ]
malkobeidallah@gmail.com
8cae32dd69083284cf7239af375d3e71994022cf
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/e93ecac0da87741d0bd6daed85af6962f8d5b4d6-<get_cpu_facts>-bug.py
fd738b4fa69056de13101f26effebad97b9aa0d4
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,234
py
def get_cpu_facts(self, collected_facts=None): cpu_facts = { } collected_facts = (collected_facts or { }) i = 0 vendor_id_occurrence = 0 model_name_occurrence = 0 physid = 0 coreid = 0 sockets = { } cores = { } xen = False ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
57acbac4ede816f0cec54d3c7e4ec00b7e7d679b
9edd6cd0aac07bc3a433ec1a99b7922c4e8256ba
/MStore/migrations/0003_productimage_active.py
5b12806646d815cc83b086a437bad999c4c7367d
[]
no_license
NahidAkhtar84/NShopping
87935f3119c918baed8d1ea3348c48028b686dfe
e466414853348a30bcb5e3096b847cc89a6c0976
refs/heads/master
2023-03-14T15:18:20.560228
2021-03-02T20:59:39
2021-03-02T20:59:39
343,904,888
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# Generated by Django 3.1.5 on 2021-02-08 13:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('MStore', '0002_auto_20210208_1824'), ] operations = [ migrations.AddField( model_name='productimage', name='active',...
[ "nahid.ibne.akhtar@gmail.com" ]
nahid.ibne.akhtar@gmail.com
4b358471243ccd6c2588d09f6e96ef5eaf119e42
e9233367116ace8aac3218abcb8480ac236ac42f
/src/final_script/single_test/7_7_data_2/dual_draw_animation.py
a5615e39155b633d505ab49b042533c8d72ca951
[]
no_license
zhangzhongwd/optical_waveguide_calibration
2c695592d792b26aa8a3218faa86adbff478cd3b
431d7e0e74885030648c17030f197efa3909a48c
refs/heads/master
2020-11-29T08:19:12.000041
2019-12-25T08:14:20
2019-12-25T08:14:20
230,065,827
0
1
null
null
null
null
UTF-8
Python
false
false
2,075
py
import math import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation force = [] loss1 = [] loss2 = [] def update(i): plt.cla() plt.xlim(-5, 20) plt.ylim(-5, 20) plt.plot(force[0],loss1[0],color='red',label='1st fiber original state') # plt.plot(force[0], loss2[0],color='yell...
[ "zhangzhongwd@gmail.com" ]
zhangzhongwd@gmail.com
f744900597d49ad035b1909b11c0dd8be7a032d7
0a7b77367cde1a64d95d1aab53b6a4f344056a9c
/mcod/lib/model_utils.py
92852b9650115c7ebd7b324011d6b7c98524d757
[]
no_license
kaglowka/danyzespolapi
529c2c7fc5d35c630498c8438e59dbcc3c00c437
0b3c07c68cf61faa81756822af9eec7c497bba2f
refs/heads/master
2023-01-13T19:11:40.247512
2018-10-28T12:36:47
2018-10-28T12:36:47
154,993,674
0
0
null
2022-12-26T20:44:19
2018-10-27T17:57:34
CSS
UTF-8
Python
false
false
2,157
py
from django.db import models from django.utils.timezone import now from django.utils.translation import gettext_lazy as _ from functools import wraps from model_utils.fields import AutoCreatedField, AutoLastModifiedField from mcod.lib.managers import SoftDeletableManager class AutoLastModifiedField(AutoLastModifiedF...
[ "krz.glowka@gmail.com" ]
krz.glowka@gmail.com
1f8e070c66da33ec4a155aad7a6c5e45b15d0133
302442c32bacca6cde69184d3f2d7529361e4f3c
/cidtrsend-all/stage2-model/tindexp_status2.py
87e4c86e7e504010645de43055f5425eb9c58270
[]
no_license
fucknoob/WebSemantic
580b85563072b1c9cc1fc8755f4b09dda5a14b03
f2b4584a994e00e76caccce167eb04ea61afa3e0
refs/heads/master
2021-01-19T09:41:59.135927
2015-02-07T02:11:23
2015-02-07T02:11:23
30,441,659
1
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
# coding: latin-1 import base64 import calendar import os import rfc822 import sys import tempfile import textwrap import time import urllib import urllib2 import urlparse import MySQLdb import umisc import Identify def get_count_stt(usr): Ar=False conn= MySQLdb.connect(host='dbmy003...
[ "learnfuzzy@gmail.com" ]
learnfuzzy@gmail.com
57f0eec682db0538954c758842f10d7ef4462a7c
7c2702d19a975b5f431cf86adbe6a75d0b0aa6fa
/lcbtsv2vcf.py
ee6d6cde284e258cc324b6182bc4d3c81ae064ea
[ "MIT" ]
permissive
brendane/miscellaneous_bioinfo_scripts
5b2e15a8a7e7eb2b3db17de9e871c41ecea68cb3
91ca3282823495299e4c68aa79bdc1c0225a6d7b
refs/heads/master
2020-03-25T00:50:30.658106
2020-01-13T21:04:02
2020-01-13T21:04:02
143,208,594
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
#!/usr/bin/env python3 """ Convert a tab-delimited table of LCB copy-number into a VCF file with presence and absence. lcbtsv2vcf.py [--keep <strains to keep>] <input tsv file> """ import argparse import csv import sys parser = argparse.ArgumentParser(usage=__doc__) parser.add_argument('--keep') parser.a...
[ "epste051@umn.edu" ]
epste051@umn.edu
5269a64eb14834e732c511e2e6111f7e4916bc7e
368c66467b78adf62da04cb0b8cedd2ef37bb127
/programmers/Python/프린터.py
b66205769153fda766965c6c01ce1b180c41664b
[]
no_license
DJHyun/Algorithm
c8786ddcd8b5693fc9b3b4721fdf1eeda21611c5
fd6ae800886dac4ec5ff6cf2618bc2c839a76e7a
refs/heads/master
2020-07-30T16:32:49.344329
2020-02-25T07:59:34
2020-02-25T07:59:34
210,289,983
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
# source = www.programmers.co.kr from collections import deque def solution(priorities, location): answer = 1 dq = deque() for i in range(len(priorities)): dq.append([i, priorities[i]]) priorities.sort() priorities.reverse() max_ = priorities[answer - 1] while True: q = dq...
[ "djestiny4444@naver.com" ]
djestiny4444@naver.com
2fe44c525791b4e78f92ad32446665c61f0e6d72
e95aa33ab95c529c09ad8684891282927d8c012a
/achieve/tests/test_views.py
39eaa4bb9ede3d73a67541da71acfb81c2ecb0ca
[ "BSD-2-Clause" ]
permissive
Kwpolska/achieve
ca25d4a34d55dcc837025d99e188c6e01c6354c0
3a28469467af1b6839b83ce59a97fdb081ad3bd2
refs/heads/master
2020-07-09T05:04:52.816285
2018-01-01T00:00:00
2017-12-31T14:30:22
66,780,895
2
1
null
2016-12-29T11:03:01
2016-08-28T17:19:18
JavaScript
UTF-8
Python
false
false
3,584
py
"""Achieve view tests.""" import datetime import json import pytest import pytz from achieve.models import Task from django.utils import timezone @pytest.mark.django_db def test_index_anonymous(client): request = client.get("/") assert request.status_code == 200 @pytest.mark.django_db def test_index_admin(...
[ "kwpolska@gmail.com" ]
kwpolska@gmail.com
f28b8e96e789c246c37632c4b7ee870470043708
c537ce53f435f1c17d5fdbfe8f97405d0fb3f4f3
/src/apps/messages/models.py
de3b7d0dfa5a02bf0a4b976fdf21086819c15585
[]
no_license
HiPiH/life
dbe8892ceb9cc4aaaf6409ffb8391b4903be7fdc
8b0cd5906bd5c508776831368896fc935c9e044b
refs/heads/master
2021-01-10T21:33:17.478873
2011-12-21T05:13:55
2011-12-21T05:13:55
2,938,055
0
0
null
null
null
null
UTF-8
Python
false
false
4,080
py
#coding: utf-8 from django.utils.translation import ugettext_lazy as _ from django.db import models from django.contrib.auth.models import User from django.template.loader import render_to_string import datetime FolderDefault = 0 FolderFavorites = 1 FolderBlackLi...
[ "admin@nvk.su" ]
admin@nvk.su
76e07629cd1706f4eb98fc25bbbee91dcf544242
eb5645a5dcac52445cb8afe2d81e62ea5130180f
/_scrapers&cleaners/ds_big5/data_scrapers/faang/faang/spiders/links.py
fc6c4daf8d3cf94c83ba88307741b3caf633c218
[ "MIT" ]
permissive
LukaszMalucha/Data-Labs-with-Python-Tableau
17fd956397af7414d489276d2042e2f3c6f4bcc7
d2b0a5ab9726aad78ec1cdf76006c66942a1b989
refs/heads/master
2023-03-07T11:06:33.572487
2022-02-19T12:30:38
2022-02-19T12:30:38
146,592,878
6
2
MIT
2023-03-01T02:52:02
2018-08-29T11:55:16
Python
UTF-8
Python
false
false
2,156
py
# -*- coding: utf-8 -*- import selenium from scrapy import Spider from parsel import Selector from selenium import webdriver from scrapy.selector import Selector from scrapy.http import Request from scrapy.loader import ItemLoader from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.com...
[ "lucasmalucha@gmail.com" ]
lucasmalucha@gmail.com
4f365fa53e9f8551e2e818cc51b0394cd837f020
84bcc9b226d168d63ec8997947d427443fe6a18f
/atomium/__init__.py
03216745491a69ad5836340db4d2a65ad63b4e32
[ "MIT" ]
permissive
heejongkim/atomium
1bbbf164975833eb5dfffdb65408f48713c9bf87
96127d4aee6819333b572dc02e31d80e76fda0d8
refs/heads/master
2023-06-25T01:27:05.146997
2021-07-30T16:53:44
2021-07-30T16:53:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from .utilities import open, fetch, fetch_over_ssh from .structures import Atom, Residue, Ligand, Chain, Model __author__ = "Sam Ireland" __version__ = "1.0.10"
[ "sam.ireland.uk@gmail.com" ]
sam.ireland.uk@gmail.com
911fda04be871a0dc104afde2104691174e3da25
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_231/ch57_2020_06_20_19_43_25_745483.py
7ef2362e0ea66ad298e6370ba941aaa5ef97ee81
[]
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
384
py
def verifica_progressao(lista): i=0 for i in range(len(lista)): if lista[i+1]-lista[i]== (lista[i+1])/(lista[i]): return 'AG' elif lista[i+1]-lista[i]==lista[i+2]-lista[i+1]: return 'PA' elif (lista[i+1])/(lista[i])==(lista[i+2])/(lista[i+1]): ret...
[ "you@example.com" ]
you@example.com
b03a6a36c9e4214416caf3fa201dd5f876ab1096
692b907d07eee8ce3ee32a1fda74b6d92fd6c548
/tests/cli/v1_3_1/test_network_settings.py
e86017509fa4d735084d7e96f63474833b68b1b3
[ "MIT" ]
permissive
AltusConsulting/dnacentercli
04c9c7d00b25753a26c643994388dd4e23bf4c54
26ea46fdbd40fc30649ea1d8803158655aa545aa
refs/heads/master
2022-12-16T04:50:30.076420
2020-07-17T22:12:39
2020-07-17T22:12:39
212,206,213
0
0
MIT
2022-12-08T06:39:49
2019-10-01T21:50:42
Python
UTF-8
Python
false
false
4,282
py
# -*- coding: utf-8 -*- """DNACenterAPI Network Settings API fixtures and tests. Copyright (c) 2019 Cisco and/or its affiliates. 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 restrictio...
[ "jbogarin@altus.cr" ]
jbogarin@altus.cr
da3e940eed95acd522317d3e1a7137a8c09b6d82
9835151ed6b99222d660af90b31e133d6bbc6a3d
/fhs/usr/share/python/syncwerk/restapi/restapi/thumbnail/management/commands/clean_thumbnail.py
3485158a1232781fb8ae9bdfbe4964f8bae26daf
[ "Apache-2.0" ]
permissive
syncwerk/syncwerk-server-restapi
33c6108c00b086260c62a0408f8f7f12ee7e1685
13b3ed26a04248211ef91ca70dccc617be27a3c3
refs/heads/main
2023-04-10T20:09:15.966129
2021-04-20T11:53:17
2021-04-20T11:53:17
292,826,931
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# Copyright (c) 2012-2016 Seafile Ltd. # encoding: utf-8 import shutil from django.core.management.base import BaseCommand from restapi.settings import THUMBNAIL_ROOT class Command(BaseCommand): help = "Clean image files's thumbnail" def handle(self, *args, **options): shutil.rmtree(THUMBNAIL_ROOT, ...
[ "alexander.jackson@syncwerk.de" ]
alexander.jackson@syncwerk.de
89fab63983ecfb5d496cb01ee864ac4a224568ff
b1018e272ed284ab70ffe6055b90726e879004b3
/MIDI Remote Scripts/UC33e/__init__.py
a1c5ba3be1b4bc1e57e654ae47219d6a8240b4c3
[]
no_license
aumhaa/livepy_diff
8e593ffb30b1e7909225352f3a0084d4de2e51e6
266a7380c4d5a162c051c23f534f74cb7eace538
refs/heads/master
2020-04-12T03:17:56.545373
2017-04-24T02:02:07
2017-04-24T02:02:07
13,946,086
3
0
null
null
null
null
UTF-8
Python
false
false
718
py
from _Generic.GenericScript import GenericScript import Live from config import * def create_instance(c_instance): """ The generic script can be customised by using parameters (see config.py). """ return GenericScript(c_instance, Live.MidiMap.MapMode.absolute, Live.MidiMap.MapMode.absolute, DEVICE_CONTROLS, T...
[ "aumhaa@gmail.com" ]
aumhaa@gmail.com
4d78ff04c62b3446e3bbd15e9c37e162471f267d
29c3595a4e1f8de9382650610aee5a13e2a135f6
/venv/Lib/site-packages/zope/interface/common/mapping.py
de56cf84935c8732d7c374b36e2b0ee357f4550c
[ "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
5,202
py
############################################################################## # # Copyright (c) 2001, 2002 Zope Foundation 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. # TH...
[ "ZoomLee@users.noreply.github.com" ]
ZoomLee@users.noreply.github.com
3ce80960d9ced3a1c62937f2ddf5dccfeaf9f47a
30359e5f360d90da240317260c6f90cfde52b451
/core/tests/tests_env_vars/test_agent.py
7538a84ee0336c8c5b9a36476b4aacc596b8b36a
[ "Apache-2.0" ]
permissive
gideonbros/polyaxon
321925ca301c72c1b86a2f519f3f8946ebc72302
482a756b781e3cb749cc871a275689d1ad16c028
refs/heads/master
2023-06-26T22:08:36.138993
2021-07-08T12:09:36
2021-07-21T15:28:20
392,247,410
0
0
Apache-2.0
2021-08-03T08:35:17
2021-08-03T08:35:17
null
UTF-8
Python
false
false
1,858
py
#!/usr/bin/python # # Copyright 2018-2021 Polyaxon, Inc. # # 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 ...
[ "contact@polyaxon.com" ]
contact@polyaxon.com
cec32687b4ada7b368825e42db3c4c2e16ea9ab5
e587b13f4ff4e65c69eb62803381c0ff62ffeb7e
/modeling_mesoscopic_dynamics/single_cell_models/cell_library.py
b7fca4cdb97396c8f040c68a49df30629d651cc2
[]
no_license
SaeedTaghavi/notebook_papers
47e37c9f705c2ff73d5af56b201a3c297259e1a7
c4b6e086b50bc8aefc95b33b68274eeba0d6c599
refs/heads/master
2022-02-06T04:27:14.759817
2019-08-09T16:03:56
2019-08-09T16:03:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,623
py
""" Some configuration of neuronal properties so that we pick up within this file """ from __future__ import print_function def get_neuron_params(NAME, name='', number=1, SI_units=False): if NAME=='LIF': params = {'name':name, 'N':number,\ 'Gl':10., 'Cm':150.,'Trefrac':5.,\ ...
[ "yann.zerlaut@gmail.com" ]
yann.zerlaut@gmail.com
0c021c065d89ad314bedf35d7e89b72826bc29e0
675a6ed1aa824ac801783471e634e538d11acc8d
/examples/example_filter/example_excludes.py
37133f9f03f2e4e3da890d94a96a5ee16a03f7d2
[ "MIT" ]
permissive
Eastwu5788/pre-request
7ea50b3930252b5a0f99bf9588d0fdd8f4ae4562
42da2bf5edc6690983188e1ee013c810ef8985db
refs/heads/master
2023-05-24T22:53:04.353491
2022-01-26T02:03:57
2022-01-26T02:03:57
100,257,925
102
9
MIT
2023-05-23T03:10:20
2017-08-14T10:56:59
Python
UTF-8
Python
false
false
872
py
# !/usr/local/python/bin/python # -*- coding: utf-8 -*- # (C) Wu Dong, 2020 # All rights reserved # @Author: 'Wu Dong <wudong@eastwu.cn>' # @Time: '2020-04-13 10:52' """ 演示 pre-request 框架验证字符串禁止包含测试 """ from flask import Flask from pre_request import pre, Rule app = Flask(__name__) app.config["TESTING"] = True client...
[ "wudong@eastwu.cn" ]
wudong@eastwu.cn
92b49520113e49dc7d3baf14ed5586eb754878cb
cb4a643abbc0385c77ace96e9b2f61a9900afbaa
/1209_remove_all_adjacent_duplicates_in_string_ii.py
9417ae50eed90bd962d29fb30dff4fded7be6596
[]
no_license
HongsenHe/algo2018
c0343a647993b0128d57ef779d3249a1d22d7452
034efcefe9940267abcf4c9cab655b2344e3e901
refs/heads/master
2022-05-30T14:16:11.791650
2022-05-11T04:33:35
2022-05-11T04:33:35
124,703,035
0
0
null
2019-05-22T15:48:16
2018-03-10T22:17:31
Python
UTF-8
Python
false
false
1,037
py
class Solution: def removeDuplicates(self, s: str, k: int) -> str: sk = [] ''' 遍历每一个元素,维护一个stack, 如果当前元素和stack的顶一样了。 则看它在stack里的数字是多少,如果已经满足k了,则继续。 如果不满足,更新数字。此题先弹出,再判断数字。 如果和顶不一样,就默认数值是1,好比构建hashmap的方法。 最后打印stack, 看每个 字母对应多少数字。 ''' ...
[ "hhsen8816@gmail.com" ]
hhsen8816@gmail.com
4718439b580e6a00e3e345fc7e74cc7d93248c11
a149044762566830b4356343c062ee84c8056471
/healthid/apps/preference/migrations/0003_auto_20190416_1127.py
6958d5e542880d02ae7496f25c8062f8e49e2587
[]
no_license
malep2007/healtid-web-api
23fbe8b34a3c5256cbb60cf15205f65cc035df13
d9e88b4d8fe1dbc297b61bb007d4182928e515d4
refs/heads/dev
2022-12-12T03:24:37.537569
2019-12-17T16:26:59
2019-12-17T16:26:59
228,655,076
0
1
null
2022-12-08T05:25:00
2019-12-17T16:17:27
Python
UTF-8
Python
false
false
894
py
# Generated by Django 2.1.7 on 2019-04-16 10:27 from django.db import migrations, models import django.db.models.deletion import healthid.utils.app_utils.id_generator class Migration(migrations.Migration): dependencies = [ ('preference', '0002_auto_20190412_0609'), ] operations = [ migr...
[ "ephraim.malinga@gmail.com" ]
ephraim.malinga@gmail.com
a14f3c671e5acbbf49d5ae0b666af2876d391538
b3d7ccc12bc5d1983e5f0fa5eadb7c27be45f8a4
/Day_5/Edit Distance.py
fdf9263d2d93e23fc3661df24f901a5ee4fed017
[]
no_license
RishavMishraRM/DSA_Problems
c0b50522fe7e8e665e587646fe8729e131a1ff6e
700b6f6c3ecd392e8c8ee99b20baecaa69547db1
refs/heads/main
2023-04-01T19:49:42.504170
2021-04-05T19:37:30
2021-04-05T19:37:30
349,568,976
1
0
null
null
null
null
UTF-8
Python
false
false
445
py
# Edit Distance def editDistance(str1, str2, m, n): if m==0: return n if n==0: return m if str1[m-1] == str2[n-1]: return editDistance(str1, str2, m-1, n-1) return 1 + min(editDistance(str1, str2, m, n-1), editDistance(str1, str2, m-1, n), ...
[ "noreply@github.com" ]
RishavMishraRM.noreply@github.com
cf5cca21ae032aadd676275e579d2dceb5939422
84999d4bbf507b665de86293f0a4f887cd6dc46d
/lesson5/lesson5.py
94b75987b0ddd64c8b756c78f3315e21eea3b4f2
[]
no_license
Daniiarz/python07.01
4c74c70507d9f37f743e86fb0b3ce9d3d6d32ef2
a35cfb47a1a5801684f6047340b03bce4c9b6e1c
refs/heads/main
2023-05-07T11:04:41.900548
2021-05-22T13:50:51
2021-05-22T13:50:51
363,419,315
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
l = [1, 2, 3, 4, 5, 6, 7] print(l) # inp = input() # l.append(inp) l.append(9) print(l) l.pop(0) print(l) l.reverse() l = l[::-1] print(l) l.extend([1, 2, 3, 34]) print(l) print(l.count(34)) print(l.index(34)) t = (1, 2, 3, 2, 2) print(t.count(2))
[ "daniyarflash.m01@gmail.com" ]
daniyarflash.m01@gmail.com
e6e9f0e16d7cf27aaa479f6f055c6c71fb0ba23b
4c35b2c5935d5172ac5973af75bbe0257a8e3706
/algorithms/python/invert_bst.py
266adf74f6d5a9c7a8f1e67f3502d07c27686cea
[]
no_license
TimothyJao/learning
402f47b4d5ecba26b3223778fd40a9b45336d09d
018dc90d942f6ab99dfe3760cf450907aa05d086
refs/heads/master
2023-01-10T05:19:16.392540
2020-02-05T02:26:48
2020-02-05T02:26:48
197,650,743
0
0
null
2023-01-05T01:51:25
2019-07-18T20:13:16
JavaScript
UTF-8
Python
false
false
158
py
def invertBinaryTree(tree): if not tree: return tree.right, tree.left = tree.left, tree.right invertBinaryTree(tree.left) invertBinaryTree(tree.right)
[ "timothy.i.jao@gmail.com" ]
timothy.i.jao@gmail.com
994c8bcf533a7b6959aacd92ca8db002d312bf9a
8cdfb19429031c0b9d395e9001c418dc71f940af
/ex33.py
a898902789258443a2e36c2c2ba779ca29502590
[]
no_license
DikranHachikyan/CPYT210713
350c3de74641a81df7dbd7bb1509939cff940b0d
b58b94efb7553c9fbb3e39ef2a9dc186f7f6eda3
refs/heads/master
2023-07-12T09:08:43.419358
2021-08-12T07:54:41
2021-08-12T07:54:41
385,572,361
0
0
null
null
null
null
UTF-8
Python
false
false
786
py
# глобална променлива port = 3306 def show(title, a = 100, *args, **kwargs): print(f'title = {title}') print('Optional Params:') print(f'a = {a}') print('args:') for v in args: print(v, end=' ') print() print(f'kwargs:{kwargs}') if 'version' in kwargs: print(f'version...
[ "dhachikian@expert-bg.org" ]
dhachikian@expert-bg.org
40356f43cf5fcc8e14df725c9bab822ae6ac97bb
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/video/BMN/opts.py
9b797cc9fe40753ebb18cc0f2a24d66bc496ad38
[ "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
4,749
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
1cb085b36881d878e4ea891fb94fd6c03072b1e2
40d8db9262a7ec846a66b636501881250b05fadb
/Chapter 3 - Code/The if-else Statement/odd_even.py
fc06fd3953c05b6aa2048ec7baf633efda113799
[]
no_license
grace-omotoso/CIS-202---Python-Programming
ceeb036d0ef75cbedc11c1707fd5902dc883085b
3bbbb4b567035dafd195d07e0210a1cc409c7937
refs/heads/master
2023-04-14T12:30:14.864195
2021-04-18T03:33:26
2021-04-18T03:33:26
332,593,455
1
0
null
null
null
null
UTF-8
Python
false
false
304
py
# A program to determine if a number is even or odd number = int(input("Enter a number: ")) if(number % 2 == 0): # No remainder when number is divided by 0 print(f'{number} is an even number') else: # Number has a remainder when divided by 0 print(f'{number} is an odd number')
[ "gomotoso@calhoun.local" ]
gomotoso@calhoun.local
6fa303381049597fde70d19937bf0c0f7a085ac4
566638e179b0add891e1d5c8900d35ae531af6dc
/alembic_simplelis/versions/e581a3205c91_added_foreign_key_to_the_orders.py
746ff0b98000a765bf407e56a4ed251f03ce84f0
[]
no_license
likit/querystud
9b023a45adfdbf6dc8a3a2f97fefb82b765c8690
1702c09ff6931b2cd94d0b55ef42f244c503a68a
refs/heads/master
2020-03-25T19:25:40.412824
2018-08-09T18:08:48
2018-08-09T18:08:48
144,082,461
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
"""added foreign key to the orders Revision ID: e581a3205c91 Revises: c5494b14736d Create Date: 2018-08-09 15:51:47.022650 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'e581a3205c91' down_revision = 'c5494b14736d' branch_labels = None depends_on = None def...
[ "likit.pre@mahidol.edu" ]
likit.pre@mahidol.edu
b85d546535cfb3b812288938c5c9e24527c2a083
58a87e847f8c6cd5b83cbe5758e779679563cc66
/Exercícios complementares/pilha.py
b46caa86d8292dcefd7e62fb002d027b1a23926b
[]
no_license
suzanamfp/Atividades-complementares-Python
9444dec6cd952db3cdeaf26648f0eb60a89a0862
d1a04f3f4d70298aa8448a37ba3e4b5313ced472
refs/heads/master
2022-12-02T21:23:55.261903
2020-08-18T19:28:34
2020-08-18T19:28:34
288,545,350
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
class Pilha(): def __init__(self): self.letras = [] def getPilha(self): return self.letras def inserirLetras(self, novaLetra): self.letras.append(novaLetra) def main(): pilhaVar = Pilha() caracteres = str (input ("Quais caracteres você deseja inserir: "...
[ "noreply@github.com" ]
suzanamfp.noreply@github.com
acda74b231204323a54d0dc515d6727f82ceeb77
cc2f33a1ef70161b7eb85449e174b32f39db25e4
/PrimeraPython/PrimeraClient.py
bf934a0d0ecc6095c4a1ee876976fc4dcd108470
[]
no_license
WarotAsawa/REST-LAB
55fb2013b982ede22f1993480b166b2b21568d07
eb8d22803d4a5d2b2a26abcf2451d78e6ee03dff
refs/heads/master
2021-07-08T10:26:42.205769
2021-07-02T08:45:46
2021-07-02T08:45:46
161,033,198
0
0
null
null
null
null
UTF-8
Python
false
false
5,735
py
import argparse from os import sys import random from sys import path from os import getcwd import os, sys, inspect, pprint import time from hpe3parclient import client, exceptions # this is a hack to get the hpe driver module # and it's utils module on the search path. #cmd_folder = os.path.realpath(os.path.abspath("...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
10304fcac8410e3d4aa9a4bad995223b80ccad89
481e3e32338314f987d7dfcf6346dfe2ec6dae0b
/Урок1.4/Задача4.py
20574a51ee39a87ceeaef23c5dcd68f590b7956a
[]
no_license
ZombieSave/Python
4f6750f0e631cf7077ab25fb5074b9bc6e83bc8e
9954f3cc26f3df68f0e6ab7e64f2cb165e3c52b5
refs/heads/master
2023-09-01T23:10:02.815493
2021-11-22T22:52:55
2021-11-22T22:52:55
356,540,077
0
0
null
2021-11-22T12:31:20
2021-04-10T09:56:31
Jupyter Notebook
UTF-8
Python
false
false
618
py
# 4. Представлен список чисел. Определить элементы списка, не имеющие повторений. Сформировать итоговый массив чисел, # соответствующих требованию. Элементы вывести в порядке их следования в исходном списке. Для выполнения задания # обязательно использовать генератор. list_1 = [2, 2, 2, 7, 23, 1, 44, 44, 3, 2, 10, 7,...
[ "you@example.com" ]
you@example.com
9ebf9741ab0360028b4865324fe3202bcf3a81f9
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_077/ch14_2020_03_04_18_03_56_439022.py
3384927012d2413f267ee24735858355e9a6c8b8
[]
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
178
py
import math def calcula_distacia_do_projetil(v,θ,y0): a=(v**2)/19.6 b=19.6*y0 c=(v**2)*(math.sin(θ))**2 d=math.sin(2*θ) y=a*(1+(1+b/c)**1/2)*d return y
[ "you@example.com" ]
you@example.com
587522a50ac28fe01d79c12c756690871240de19
d785e993ed65049c82607a1482b45bddb2a03dda
/tight/WWZ_cfg.py
c77c41e3fcea535c548034c9086e98cdb6bc1ee9
[]
no_license
PKUHEPEWK/ssww
eec02ad7650014646e1bcb0e8787cf1514aaceca
a507a289935b51b8abf819b1b4b05476a05720dc
refs/heads/master
2020-05-14T04:15:35.474981
2019-06-28T23:48:15
2019-06-28T23:48:15
181,696,651
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
from WMCore.Configuration import Configuration from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = Configuration() config.section_("General") config.General.requestName = 'WWZ' config.General.transferLogs= False config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.p...
[ "jiexiao@pku.edu.cn" ]
jiexiao@pku.edu.cn
db4f6de259aa0f404fd3492ae7994f0f6c4d3a10
ef61c5f177ee44ac08325335fc28a12f3fccbb58
/resource_management/tests/presenters/test_get_login_response.py
639736c6942545778c7ea291126baec95bbc689d
[]
no_license
bammidichandini/resource_management-chandini
3c11c7b2eb5e2f8d3df5b55e4d3ee86a27ed5c3a
aa4ec50f0b36a818bebc2033cb39ee928e5be13c
refs/heads/master
2022-12-01T19:59:25.366843
2020-07-23T09:10:42
2020-07-23T09:10:42
269,610,045
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
from resource_management.presenters.authentication_presenter import PresenterImplementation def test_get_login_response(user_auth_tokens_dto, get_login_response): #arrange expected_dto = get_login_response presenter = PresenterImplementation() #act actual_dict = pres...
[ "chandini.bammidi123@gmail.com" ]
chandini.bammidi123@gmail.com
fc407e98aca0d1bb8ad6bd17e9dd13dbed924272
15e6385746ccf4b8eb6c6e302aca236021bb8781
/GraphAndSearch/le39_combination_sum.py
0673318e7cce1fef42cfa8cec3fd7beba2a8df4e
[]
no_license
akb46mayu/Data-Structures-and-Algorithms
11c4bbddc9b4d286e1aeaa9481eb6a620cd54746
de98494e14fff3e2a468da681c48d60b4d1445a1
refs/heads/master
2021-01-12T09:51:32.618362
2018-05-16T16:37:18
2018-05-16T16:37:18
76,279,268
3
0
null
null
null
null
UTF-8
Python
false
false
1,438
py
""" Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be chosen from C unlimited number of times. Note: All numbers (including target) will be positive integers. The solution set must...
[ "noreply@github.com" ]
akb46mayu.noreply@github.com
7398868061276db93c41e7e8e6ff06907538132c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_parasite.py
2ca38be576e7fb564f5cf84c901454b000ee1a39
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
#calss header class _PARASITE(): def __init__(self,): self.name = "PARASITE" self.definitions = [u'an animal or plant that lives on or in another animal or plant of a different type and feeds from it: ', u'a person who is lazy and lives by other people working, giving them money, etc.: '] self.parents = [] ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
bac0aab1fbfa2ec4d1a2311d06a60f7a34d8964d
9e780f17eb49171d1f234944563225ca22b3c286
/postgresqleu/elections/admin.py
b29db362cfdfbec14e005082d638958cdcdd8641
[ "MIT" ]
permissive
pgeu/pgeu-system
e5216d5e90eec6c72770b88a5af4b3fd565cda59
885cfdcdadd4a721f72b699a39f26c94d1f636e0
refs/heads/master
2023-08-06T13:03:55.606562
2023-08-03T12:47:37
2023-08-03T12:47:37
161,434,221
15
27
MIT
2023-05-30T11:21:24
2018-12-12T04:48:14
Python
UTF-8
Python
false
false
968
py
from django.contrib import admin from django.forms import ValidationError, ModelForm from .models import Vote, Election, Candidate class VoteAdminForm(ModelForm): class Meta: model = Vote exclude = [] def clean(self): raise ValidationError("You really shouldn't edit votes! If you *re...
[ "magnus@hagander.net" ]
magnus@hagander.net
7bcd1ecc353f79ea2b9edea168771972c9766771
bbf6176add49c4a1bed3aca45c267ba5bb3d9348
/net/settings.py
8f41b926c4ec8354abeebcdda9c58cdd0899665c
[]
no_license
totalgood/capstone
60e2c839e301670a3da600d14f94691f18c9a49d
cdbc30d2b6eb1739b6f718991a4ff1b7080a96f8
refs/heads/master
2021-01-24T23:00:51.125462
2015-12-31T20:58:34
2015-12-31T20:58:34
48,959,667
1
0
null
2016-01-03T20:28:22
2016-01-03T20:28:20
null
UTF-8
Python
false
false
2,827
py
""" Django settings for net project. Generated by 'django-admin startproject' using Django 1.8.6. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths in...
[ "uglyboxer@gmail.com" ]
uglyboxer@gmail.com
3b27ec4ec3ca780a48de7165cf22380f8a6a1233
bd86f45ec9355cf1b76c25307d77c85ff98d30a8
/lib/common/commands/fastboot.py
ea9032044ab6cafae839505fd2b9aea9d330f69d
[ "MIT" ]
permissive
WhySoGeeky/DroidPot
fd39abe490117283f992d80f317574f47809de8d
7c3d9e975dae3835e2ccf42c425d65b26466e82a
refs/heads/master
2021-07-02T12:47:16.269514
2015-11-03T17:49:41
2015-11-03T17:49:41
45,484,292
6
0
MIT
2021-06-10T17:59:45
2015-11-03T17:44:48
Python
UTF-8
Python
false
false
2,335
py
__author__ = 'RongShun' from command import Command from os import path, getuid from time import sleep import os, sys BASE_DIR = os.path.join(os.getcwd(), "..", "..", "..") sys.path.append(BASE_DIR) from lib.common.exceptions import NotRootUserError SUCCESSFUL = True UNSUCCESSFUL = False class Fastboot(Command): ...
[ "phobiatrs@gmail.com" ]
phobiatrs@gmail.com
41ef3fd2240a454f8c48b0a1c5049b4903cb7541
33d2aee1fdbc7d88d2c16c0e80be8159333ecdd1
/mimic3models/decompensation/logistic/main.py
fb51333e6f688816dff49c437ef73b03d0055dd2
[ "MIT" ]
permissive
hsd1503/mimic3-benchmarks
2f2a7947d0a8e6ba5198abe3fb52665dcbe0877d
6a0a8bf0d2d3b849d1cb7236f4e81fc072cbfc9f
refs/heads/master
2022-04-27T02:45:20.006789
2020-04-30T00:50:06
2020-04-30T00:50:06
256,847,936
4
2
MIT
2020-04-18T20:35:04
2020-04-18T20:35:04
null
UTF-8
Python
false
false
5,443
py
from __future__ import absolute_import from __future__ import print_function from sklearn.preprocessing import Imputer, StandardScaler from sklearn.linear_model import LogisticRegression from mimic3benchmark.readers import DecompensationReader from mimic3models import common_utils from mimic3models.metrics import prin...
[ "harhro@gmail.com" ]
harhro@gmail.com
93789eec3c7156e89d48bdcea56cd134bb742403
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/matplotlib-3.0.3-py3.7-macosx-10.9-x86_64.egg/matplotlib/hatch.py
cb1e2960faf336c33b9b8afce0f48c3c550dc03c
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
6,988
py
""" Contains a classes for generating hatch patterns. """ import numpy as np from matplotlib.path import Path class HatchPatternBase(object): """ The base class for a hatch pattern. """ pass class HorizontalHatch(HatchPatternBase): def __init__(self, hatch, density): self.num_lines = in...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
f991547047e02b75aca1adf5228da3672ab53beb
48c5bcb370858fe4aea1d53ec1df3340ade73da4
/project/settings/docker.py
1cd2b7560c8c70dc6615d78891f8c5f9cc6e3c1b
[ "MIT" ]
permissive
uisautomation/lecture-capture-preferences-webapp
e9421010dd02d4daa66b08299fd00810504d3885
bf54bc9b37241a5a7a6c0df7b1e2c0f8dd16bed6
refs/heads/master
2020-04-14T21:23:40.415195
2019-02-22T12:28:07
2019-02-22T12:28:07
164,126,964
0
0
MIT
2019-02-01T16:57:20
2019-01-04T15:59:01
Python
UTF-8
Python
false
false
2,489
py
import os # Import settings from the base settings file from .base import * # noqa: F401, F403 # Ensure that DEBUG is not set DEBUG = False # All hosts are allowed to connect to the container by default ALLOWED_HOSTS = os.environ.get('DJANGO_ALLOWED_HOSTS', '*').split(',') # Logging LOGGING = { 'version': 1, ...
[ "rjw57@cam.ac.uk" ]
rjw57@cam.ac.uk
8ac76a5f0e8600c8037d53f7100ded47513c06d5
9b018e9eac8d97fbcc1e76a69b95c994f79a6ea3
/student/migrations/0016_auto_20171103_2347.py
4d3248a3af51102f1297840fd0b4c02466b93296
[]
no_license
hbgolze/contest-database
e39f269d7337652e7cdad03cc29827d4f729ec8f
263385b438f7b7e1ab99062aad561ed0cec9c079
refs/heads/master
2023-06-26T21:30:08.246647
2023-06-11T02:34:41
2023-06-11T02:34:41
71,851,839
1
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-11-04 04:47 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('student', '0015_auto_20171102_1911'), ] operations...
[ "hbgolze@gmail.com" ]
hbgolze@gmail.com
4b66fc003ed8b3c7508ae059fb063a73928529ac
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v8/googleads-py/google/ads/googleads/v8/common/types/text_label.py
2ee83572245fa46a4e39fa87e2609eab004d966a
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
# -*- coding: utf-8 -*- # Copyright 2020 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
62605e85abd8b2e4a97a6b81c02ac0161ea655cc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p00001/s786324387.py
76f8fd4ceed95f05321a39663ed5d147dc776067
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
import sys def main(): l = [] for line in sys.stdin.readlines(): l.append(int(line.rstrip())) for _ in range(3): print max(l) l.remove(max(l)) main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1b725242212d96a600a88d11cec966cc2a191b9a
1d1e911e114d67130156368eb4cccdc38d4adcf9
/suds/__init__.py
42eef791d2b559ecdd2555156d19347091811b7d
[]
no_license
dilawar/moose-gui
6a8e71113986afa6cc806e65b991f4615cc748ed
98672235660bbc76171ec2f92c2a4d0a5074c501
refs/heads/master
2021-01-16T23:08:06.989567
2019-06-13T17:55:48
2019-06-13T17:55:48
45,394,312
0
0
null
2015-11-02T12:54:19
2015-11-02T12:54:19
null
UTF-8
Python
false
false
5,561
py
# This program is free software; you can redistribute it and/or modify # it under the terms of the (LGPL) GNU Lesser General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will b...
[ "dilawars@ncbs.res.in" ]
dilawars@ncbs.res.in
19040807f85377ad969d55d639c11b156711e1f8
bb6ebff7a7f6140903d37905c350954ff6599091
/tools/android/android_tools.gyp
3fe1c6d8c620b848d5d8bc33baaeb9725aa48a70
[ "BSD-3-Clause", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
PDi-Communication-Systems-Inc/lollipop_external_chromium_org
faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f
ccadf4e63dd34be157281f53fe213d09a8c66d2c
refs/heads/master
2022-12-23T18:07:04.568931
2016-04-11T16:03:36
2016-04-11T16:03:36
53,677,925
0
1
BSD-3-Clause
2022-12-09T23:46:46
2016-03-11T15:49:07
C++
UTF-8
Python
false
false
1,176
gyp
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ # Intermediate target grouping the android tools needed to run native # unittests and instrumentation test apks. { 'ta...
[ "mrobbeloth@pdiarm.com" ]
mrobbeloth@pdiarm.com
0194cb0245c8803ea2e868d475ef449e90b26b87
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02887/s980032315.py
2f8732b44edd9f27549e8f869ff8200e580bf48d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
import sys sys.setrecursionlimit(10**9) def mi(): return map(int,input().split()) def ii(): return int(input()) def isp(): return input().split() def deb(text): print("-------\n{}\n-------".format(text)) INF=10**20 def main(): N=ii() S=list(input()) pre = None X = [] for s in S: if s != p...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a4b623dbca518211f7a9fdba7348097d173311dc
b3fd61fdfd6ea82695d805c95321619423b836e6
/uniquePathVariation.py
d06a21554a2222b5c9f298cf6b13da374b58b847
[]
no_license
sjogleka/General_codes
761967fd1175c97804d49290af9db10828d4900f
2772ea7b723c4ca680864b40b41fd34cc197726d
refs/heads/master
2021-07-16T07:41:05.841942
2020-10-14T01:49:12
2020-10-14T01:49:12
218,369,391
7
8
null
null
null
null
UTF-8
Python
false
false
285
py
def uniquePath(m,n): grid = [[1 for i in range(m)] for j in range(n)] for i in range(n-2,-1,-1): for j in range(1,m): grid[i][j] = grid[i][j-1]+grid[i+1][j] return grid if __name__ == '__main__': print(uniquePath(3,2)) print(uniquePath(7, 3))
[ "sjogleka@uncc.edu" ]
sjogleka@uncc.edu
c91609cb6db9629e9475b01d2179cb6d0b294121
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/rtctrl/setrtmetric.py
08d98dc379fb5893c87debcc9941284b0bc68ed3
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
7,433
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
5edb5af1ca80ba440a7d7242b81efb5c45f3f19b
ca5de66d73dcf62b3d3f9014f4577ed3119054c5
/ivy_tests/test_core/test_nest.py
7e836d81a8efc8ddcb228ddadc0f558653a992ab
[ "Apache-2.0" ]
permissive
MZSHAN/ivy
172dea365e8a903d3548b786cbb0f10d4fd03406
02ac7e8ee2202563049116186fe6595313d65cc1
refs/heads/master
2023-08-20T19:02:57.389728
2021-10-23T12:34:54
2021-10-23T12:34:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,944
py
""" Collection of tests for templated general functions """ # global import copy import pytest # local import ivy import ivy.numpy # Helpers # # --------# def _snai(n, idx, v): if len(idx) == 1: n[idx[0]] = v else: _snai(n[idx[0]], idx[1:], v) def _mnai(n, idx, fn): if len(idx) == 1: ...
[ "daniel.lenton11@imperial.ac.uk" ]
daniel.lenton11@imperial.ac.uk
60b72de0bca1c8f647bb723ed9772330d64977a4
c85ec51b920350e095b6fc67435a490352cef1f4
/goods/migrations/0027_auto_20171222_1534.py
c1bc1aa609432c733bae80e836d8bd939ab6bc30
[ "Apache-2.0" ]
permissive
huachao2017/goodsdl
195dbc959d424248982b61f2fe2c22dbc4347746
3616d53b90696a97a5d56a064e2a14d484b821d7
refs/heads/master
2021-06-11T01:55:16.235507
2019-09-24T07:49:08
2019-09-24T07:49:08
109,931,837
3
0
null
null
null
null
UTF-8
Python
false
false
684
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-12-22 15:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('goods', '0026_rfidgoods_count'), ] operations = [ migrations.AlterField( ...
[ "21006735@qq.com" ]
21006735@qq.com
5ba0632409a3cc69fc1b6758ebdb5d67a2935604
539077b499f10c133fe8ed003255b9fbc6d4c178
/廖雪峰python3教程/OOP-Plus/__new__and__init__/new_and_init01.py
691f2b9f5ac6f2478c6081656568ad19234650ba
[]
no_license
lxh1997zj/Note
78e8310ff49f27bc22953b510cad3f35a25ed182
2dab5957f0f4a2117339b449d730f51626fd4b08
refs/heads/master
2020-04-25T16:11:29.890458
2019-03-05T12:56:00
2019-03-05T12:58:09
172,901,891
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
# !/usr/bin/env python3 # -*- coding:utf-8 -*- class Foo(object): price = 50 def how_much_of_book(self,n): print(self) return self.price * n foo = Foo() print(foo.how_much_of_book(8)) print(dir(Foo))
[ "lxh1997zj@163.com" ]
lxh1997zj@163.com
b5cbe508f64b5f50cd65bd9ae7142916786ffec6
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/battle_results/context.py
b5fe8364849ebcba87d5e659d4d204b759227b08
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
2,126
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/battle_results/context.py from constants import ARENA_BONUS_TYPE from gui.shared.utils.decorators import ReprInjector @ReprInjector.simple(('getArenaUniqueID', 'arenaUniqueID'), ('needToShowImmediately', 'showImmediately'), ('n...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
38ece0a858307a8e06bab5e68912116e3dd60754
bfe345ba31673553ce156e4dca1ba5b6317ca4c2
/core/models/utilities/upload.py
ab0f922b987974d7b387147d4c7ac19a2dc39f0c
[]
no_license
phillipmalboeuf/dauphin
215c6432fbcaf574ea0bd987238a0d2309d699af
101d8ffc113f36c8d1754077eebae2a6f18d4a3d
refs/heads/master
2023-01-09T01:55:36.905732
2021-06-20T18:35:35
2021-06-20T18:35:35
84,462,808
0
0
null
2023-01-05T06:11:24
2017-03-09T16:13:59
Python
UTF-8
Python
false
false
1,081
py
from core import app from core.models.core.has_routes import HasRoutes from flask import request from bson.objectid import ObjectId from werkzeug import secure_filename import boto import mimetypes with app.app_context(): class Upload(HasRoutes): endpoint = '/_upload' routes = [ { 'route': '', ...
[ "phil@boeuf.coffee" ]
phil@boeuf.coffee
69cf58af910ea73c8f7dae422c91402a691206dd
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_089/ch140_2020_04_01_20_02_56_463155.py
ba3ed76cfbf7a893e7d357a5c354f2401c443fea
[]
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
313
py
x = list def faixa_notas(x): i = 0 soma1 = 0 soma2 = 0 soma3 = 0 while i <= len(x): if x[i] < 5: soma1 = soma1 + 1 if 5 <= x[i] <= 7: soma2 = soma2 + 1 if x[i] > 7: soma3 = soma3 + 1 Lista = [soma1,soma2,soma3] return Lista
[ "you@example.com" ]
you@example.com
4579e0c30f8e76d6160e9ab3b845580f07c4b392
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/LQ/LQToUE_M_750_TuneCUETP8M1_13TeV_pythia8_cff.py
e5ceab4fb7dd56dcd58611157a5623b9eb19ed91
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,146
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", maxeventsToPrint = cms.untracked.int32(1), pythiaPylistVerbosity = cms.untracked.int32(1)...
[ "dnash@cern.ch" ]
dnash@cern.ch
62e67f0fdebbfad3b1fbb9aa663e27d3741f0d84
48a7b266737b62da330170ca4fe4ac4bf1d8b663
/molsysmt/form/parmed_Structure/to_parmed_GromacsTopologyFile.py
2f389d87af02832a26fb3aefa97d688ec7712503
[ "MIT" ]
permissive
uibcdf/MolSysMT
ddab5a89b8ec2377f383884c5169d147cab01322
c3d713ba63db24eb8a2426115cf8d9cb3665d225
refs/heads/main
2023-08-08T15:04:16.217967
2023-08-04T05:49:56
2023-08-04T05:49:56
137,937,243
15
3
MIT
2023-06-04T20:27:06
2018-06-19T19:38:44
Python
UTF-8
Python
false
false
401
py
from molsysmt._private.digestion import digest @digest(form='parmed.Structure') def to_parmed_GromacsTopologyFile(item, atom_indices='all'): from . import extract from parmed.gromacs import GromacsTopologyFile as GromacsTopologyFile tmp_item = extract(item, atom_indices=atom_indices, copy_if_all=False) ...
[ "prada.gracia@gmail.com" ]
prada.gracia@gmail.com
b59203a150f789b0cdc04903dfc0ac582ab20e9b
11334e46d3575968de5062c7b0e8578af228265b
/Projects/FindDock/color-ranger.py
03798aae66f4ac6c866c2410a5981885ab57d421
[]
no_license
slowrunner/Carl
99262f16eaf6d53423778448dee5e5186c2aaa1e
1a3cfb16701b9a3798cd950e653506774c2df25e
refs/heads/master
2023-06-08T05:55:55.338828
2023-06-04T02:39:18
2023-06-04T02:39:18
145,750,624
19
2
null
2023-06-04T02:39:20
2018-08-22T18:59:34
Roff
UTF-8
Python
false
false
3,353
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # File color-ranger.py # # based on Practical Python and OpenCV chapter 3 program range-detector.py # # Caution: This process takes 60% of RPi 3 and load average of 3.5 # and will send processor temp to 78C, almost to temp threshold # DO NOT LEAVE RUNNIN...
[ "slowrunner@users.noreply.gethub.com" ]
slowrunner@users.noreply.gethub.com
659b2fb1d49a9f69689c0be05c8cc040d6264099
a0019195ba112a1f7746403ada4621576d1fe9ae
/temporal/llePhaReader.py
5a0586bed85c1a7bd4e1ff3e04a739d21a4aa2f7
[]
no_license
JohannesBuchner/spectralTools
ad238789b929f609e6da84101ff1fe655a0fa602
14578051dd961aaec0acee109df3660a673ab667
refs/heads/master
2023-08-14T06:38:17.379318
2015-05-30T15:32:14
2015-05-30T15:32:14
36,563,356
1
1
null
2015-05-30T15:19:36
2015-05-30T15:19:35
null
UTF-8
Python
false
false
3,120
py
import pyfits as pf from numpy import logical_and, transpose, array, genfromtxt, zeros class llePhaReader: def __init__(self,fileName): self.fileName = fileName self.inFile = pf.open(fileName) def ReadTBins(self,tMin,tMax,trigTime,tBins,dt): self.dt=dt tmp...
[ "jmichaelburgess@gmail.com" ]
jmichaelburgess@gmail.com
2039446b0e1c6a54a5ab2411f34f4cfe68a7cf97
cb33113c4063867fa41cb74943d0a056a383b6a1
/과목평가/p1.py
dc0b84f96dc82c06e111070d11ab0774b01e7c20
[]
no_license
manuck/Algorithm
9c6280095da6b88473460da52d07fb23ee6c3f9f
4c15ff42f39224eb9b29728544c92dce9341fdfa
refs/heads/master
2020-04-18T02:06:53.437576
2019-06-26T08:59:16
2019-06-26T08:59:16
167,148,058
0
0
null
null
null
null
UTF-8
Python
false
false
829
py
import sys sys.stdin = open("x모양_input.txt") t = int(input()) for case in range(1, t+1): N, K = map(int, input().split()) a = [[0 for _ in range(N)]for _ in range(N)] for i in range(N): a[i] = list(map(int, input().split())) # print(a[i]) res = 999 for i in range(N-K+1): ...
[ "snc9000@naver.com" ]
snc9000@naver.com
b69a721ec44151503dba0311a608e63d233e9918
10d98fecb882d4c84595364f715f4e8b8309a66f
/es_maml/es_maml_client.py
bbbdcf02b64f6a6532259a4c211bdc5dd008ff22
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
4,320
py
# coding=utf-8 # Copyright 2021 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
fc29893810585e12cd498081dad75dfcb208dcd2
a9094cb78d271f1ffa93a38c7a5f57e3381bbf23
/venv/Lib/site-packages/_pytest/mark/expression.py
f8e7ea8b348c09caeb2faaae5e5c58f6b7aaabcd
[]
no_license
AndrewChuma/hw1
7c083546f6d3a63db21d76c0bc96ddf91a300764
44438596198e6ec1a2670a7025e938ef433a2bf2
refs/heads/master
2023-01-04T22:45:49.399636
2020-11-09T17:27:18
2020-11-09T17:27:18
311,410,391
0
0
null
null
null
null
UTF-8
Python
false
false
6,350
py
r"""Evaluate match expressions, as used by `-k` and `-m`. The grammar is: expression: expr? EOF expr: and_expr ('or' and_expr)* and_expr: not_expr ('and' not_expr)* not_expr: 'not' not_expr | '(' expr ')' | ident ident: (\w|:|\+|-|\.|\[|\])+ The semantics are: - Empty expression evaluates to False. -...
[ "andreychuma.1989@gmail.com" ]
andreychuma.1989@gmail.com
64fb6a0cdab9ee38df464e16f6f5d56a8f129cb9
53396d12d606bebea71c149aed0150af7b17b6f5
/base_string/28-implement-strstr-6.py
cbb00fe2bdd3f0a2ba85b4e85eba9b93632ca756
[]
no_license
superggn/myleetcode
4c623bd9ad3892d826df73ad3b2c122e08aaa9e9
40ca33aefbf0cf746a2d0b7e7f52643ae39591be
refs/heads/master
2023-02-02T11:06:35.163570
2020-12-19T10:36:45
2020-12-19T10:36:45
322,821,962
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
""" KMP from CSDN 感觉有问题,哪来的那么多-1 """ needle0 = 'abaabcac' class Solution: def get_next(self, T): i = 0 j = -1 next_val = [-1] * len(T) while i < len(T) - 1: if j == -1 or T[i] == T[j]: i += 1 j += 1 # next_val[i] =...
[ "939401399@qq.com" ]
939401399@qq.com
3bd10a8475ad8c1ebba442980c4c09ac65a010f1
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/GL/ATI/envmap_bumpmap.py
90be7fbe914c30b659022dd2d1346385a8b80468
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
2,272
py
'''OpenGL extension ATI.envmap_bumpmap This module customises the behaviour of the OpenGL.raw.GL.ATI.envmap_bumpmap to provide a more Python-friendly API Overview (from the spec) This extension adds environment mapped bump mapping (EMBM) to the GL. The method exposed by this extension is to use a dependent text...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
ed31337708ba9d08781076c8ae6502ecd75f988f
29597b67f10d456bdcc90a693ac93f571635ae34
/basic/sort/bubble_sort.py
1f433bde20f259601e6372878012772fb412920e
[]
no_license
sh-tatsuno/python-algorithm
67d50f24604550c115f957ed74e81483566c560d
2800050077562eef50b6f0bd8ba6733068469c4c
refs/heads/master
2020-05-17T09:46:05.714449
2019-07-25T15:43:20
2019-07-25T15:43:20
183,641,527
1
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
wakeup_times = [16,49,3,12,56,49,55,22,13,46,19,55,46,13,25,56,9,48,45] def bubble_sort_1(l): flag=True while(flag): flag = False for i in range(len(l)-1): if l[i] > l[i+1]: tmp = l[i] l[i] = l[i+1] l[i+1] = tmp flag = T...
[ "wasabi.mandarin@gmail.com" ]
wasabi.mandarin@gmail.com
d5ce87eea853ca67ab6ab84068bd92e9aed7cf47
a9b24a31f27afc42736d923b7ba4df300e13a8cf
/novle_spider/s_spider.py
84651ad97298b2f547955463ff877b69f76c12f1
[]
no_license
520wsl/python-scrapy-test
8dcb216a91c8f03266ae29d3b9590b124088eb67
2f93e161c849aabfe9efb90e719906c9ae5bee1c
refs/heads/master
2022-12-13T00:47:44.177505
2020-05-23T05:05:57
2020-05-23T05:05:57
184,033,077
2
0
null
2022-12-08T05:25:05
2019-04-29T08:40:13
HTML
UTF-8
Python
false
false
3,780
py
from scrapy.crawler import CrawlerProcess from scrapy.utils.project import get_project_settings # 这里是必须引入的 import scrapy.spiderloader import scrapy.statscollectors import scrapy.logformatter import scrapy.extensions import scrapy.extensions.corestats import scrapy.extensions.telnet import scrapy.extensions.memusage i...
[ "395548460@qq.com" ]
395548460@qq.com
8545006c092c14388184d014b79848842cf50afe
6f06a519bc5a89464d95702fa27fa663ad4eb8f8
/change_cancel_two_sided_quote_1.13.2d.py
6b7c9b0a8873acd18b075d2ea07afb3283c526ae
[]
no_license
chrismaurer/chrism
64e71397bfffcd76aa5a12cc1394fad2c8939d76
b0a30d5cbe4602a32ad494e2550219d633edf2db
refs/heads/master
2021-06-04T07:53:15.212812
2021-01-19T13:23:22
2021-01-19T13:23:22
112,128,681
0
0
null
null
null
null
UTF-8
Python
false
false
6,464
py
# Imports import uuid import tt.pyrate.util from google.protobuf.text_format import MessageToString from tt.messaging.order import enums_pb2 as enums from tt.pyrate.debesys.clients.order_sender import OCOrderSender from tt.pyrate.debesys.messaging import dict_to_protobuf from tt.pyrate.debesys.messaging import Header f...
[ "chris.maurer@tradingtechnologies.com" ]
chris.maurer@tradingtechnologies.com
43f4f9b4c798a4915519fe1ad558d46ce7a2509e
74152b9ee97de2657214a1497fd87ac982574d5d
/Lesson11/spaceport_global.py
ea918a5e7b1e47072615a71df8953141e9586b87
[ "Apache-2.0" ]
permissive
shinkai-tester/python_beginner
8b7dc0189a1615e86778d1712bf5ca03b0bbce47
a934328c9a50241cc3f02a423060e16aab53b425
refs/heads/main
2023-05-12T20:25:36.470754
2021-06-01T13:23:32
2021-06-01T13:23:32
371,542,145
2
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
class Spaceport: def __init__(self): self.spaceships = [] self.rockets = [] self.ufos = [] def ret_spaceships(self): return self.spaceships def print_spaceships(self): print(self.spaceships) def append_spaceship(self, spaceship): self.spaceships.append...
[ "alinlaegnor@gmail.com" ]
alinlaegnor@gmail.com
34a4a0abe3c9b0521ce4d7aa7ed9aa2073712316
1cb9426b2cad90617c860c18037aca43a2f241fb
/tests/test_core.py
e1020554ecfeb7bb09bf636b5763689f9ce73e55
[]
no_license
brntsllvn/python-graphlayer
6709f30d8196cc211d8e83bdb3c6cc35e751d56e
069cecfea4a72d0f9c200ca47d67aabacf69b0fa
refs/heads/master
2020-04-14T03:23:08.869794
2018-12-29T19:38:32
2018-12-29T19:38:32
163,606,618
0
0
null
2018-12-30T17:52:07
2018-12-30T17:52:07
null
UTF-8
Python
false
false
1,000
py
from precisely import assert_that, equal_to import graphlayer.core as g def test_resolver_is_dispatched_using_type_of_query(): @g.resolver("one") def resolve_one(graph, query): return 1 @g.resolver("two") def resolve_two(graph, query): return 2 resolvers = [resolve_one, ...
[ "mike@zwobble.org" ]
mike@zwobble.org
b07d12f2ff822b0e0d328522ed2e391cfc8f73d5
35e00d1996515ccf3151067ff28ff3357078f0b6
/samples/generated_samples/pubsub_v1_generated_publisher_update_topic_async.py
3f913a7dc00df29fbd4be2b64537e3a2578b5a28
[ "Apache-2.0" ]
permissive
googleapis/python-pubsub
5bb18674307bd89236a61c0d7c5079f10e19467e
1b9724324c58d27bcee42020b751cda58d80fddb
refs/heads/main
2023-09-03T13:14:22.894233
2023-08-28T13:18:36
2023-08-28T13:18:36
226,992,581
321
195
Apache-2.0
2023-09-10T23:29:10
2019-12-10T00:09:52
Python
UTF-8
Python
false
false
1,864
py
# -*- coding: utf-8 -*- # Copyright 2023 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" ]
googleapis.noreply@github.com
e04bd69b47cad78a0e836949ea073aca4f46ed61
1dc608ecf073aeea2ba5019552f271ca5591289e
/facade/facade-pattern02.py
1e2dfb94a7dd39d5e34413f17c95430fc54084fa
[]
no_license
youjia4321/python_patterns
d17365768720ef8cf71493ddc96b83c43e64a7aa
f901b5b76884f44f75739754ffcc19e047374e3b
refs/heads/master
2020-07-18T15:40:12.957963
2019-09-04T08:34:08
2019-09-04T08:34:08
206,270,926
0
0
null
null
null
null
UTF-8
Python
false
false
2,674
py
from enum import Enum from abc import ABCMeta, abstractmethod State = Enum('State', 'new running sleeping restart zombie') class User: pass class Process: pass class File: pass class Server(metaclass=ABCMeta): @abstractmethod def __init__(self): pass def ...
[ "noreply@github.com" ]
youjia4321.noreply@github.com
b3fc6a1a63851bf8bde6b67e6b37df8fe4867683
2cf64ba6bb3bf511d1d9ea2cb5af30eed1a8ac59
/tests/application/test_get_inbox_query.py
60584d84bd36bf927fc5c07a0b876ffa1905bb63
[]
no_license
vrushangdev/feedback_box
4cbb13e2d134801ca051fdc0b0e24f1e40feed60
2f33013a4945a39ccbd4bab56031ac378a4ecaec
refs/heads/master
2020-12-20T11:45:19.650807
2020-01-12T13:35:55
2020-01-12T13:35:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,405
py
import pytest from uuid import uuid4 from mock import Mock from typing import Tuple from feedback_box.persistance.exceptions import NoMatchingInbox from feedback_box.application.inbox.queries.get import GetInboxQuery from feedback_box.application.interfaces.icommand_query import CommandQuery @pytest.fixture def get_...
[ "pcieslinski721@gmail.com" ]
pcieslinski721@gmail.com
47ead8fb3cb958cff1001a82fab5a7605a96fe5a
63ba933a294865f65409635f62e0f1d59f725f37
/src/matrix/reconstructQueue.py
e7a71486f049124de8e2036b6be366b2a429e28a
[ "CC0-1.0" ]
permissive
way2arun/datastructures_algorithms
fc4302bdbb923ef8912a4acf75a286f2b695de2a
4ea4c1579c28308455be4dfa02bd45ebd88b2d0a
refs/heads/master
2021-12-07T04:34:35.732026
2021-09-30T12:11:32
2021-09-30T12:11:32
203,658,808
1
0
null
2020-08-08T15:55:09
2019-08-21T20:23:46
Python
UTF-8
Python
false
false
1,342
py
""" https://leetcode.com/explore/challenge/card/june-leetcoding-challenge/539/week-1-june-1st-june-7th/3352/ Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the person and k is the number of people in front of this person who ...
[ "way2aru@yahoo.com" ]
way2aru@yahoo.com
0e5a542757605ffc0979213bedd568c944be754b
34745a8d54fa7e3d9e4237415eb52e507508ad79
/Python Fundamentals/Final exam/01_world_tour.py
abc0c1beb2054ed9fa18f92d3fbbe0e90b338396
[]
no_license
DilyanTsenkov/SoftUni-Software-Engineering
50476af0dc88b267d72c56fa87eeb88d841164b2
fe446e3a50a00bb2e48d71ab8f783e0a4a406094
refs/heads/main
2023-08-12T18:18:42.144210
2021-09-25T11:10:38
2021-09-25T11:10:38
317,235,419
1
2
null
null
null
null
UTF-8
Python
false
false
924
py
stops = input() while True: command = input() if command == "Travel": break command = command.split(":") action = command[0] if action == "Add Stop": index = int(command[1]) string = command[2] if 0 <= index < len(stops): stops = stops[:inde...
[ "noreply@github.com" ]
DilyanTsenkov.noreply@github.com
7e7b73d189954654823c6c6d28c2e2f73d727e1c
344e2956b4e2a30a8ef7532d951f96d995d1dd1e
/11_slimyolov3/lib/utils/torch_utils.py
40eed4ae403288bc7f5f84d2ab35ef827e470696
[ "GPL-1.0-or-later", "GPL-3.0-only", "Apache-2.0", "LGPL-3.0-only", "MIT", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause" ]
permissive
karndeepsingh/Monk_Object_Detection
e64199705326e4cd65e4b29946cae210a4ef9649
425fa50a3236cb9097389646275da06bf9185f6b
refs/heads/master
2022-12-22T18:26:53.933397
2020-09-28T12:49:50
2020-09-28T12:49:50
299,307,843
1
1
Apache-2.0
2020-09-28T12:52:18
2020-09-28T12:52:17
null
UTF-8
Python
false
false
2,280
py
import torch def init_seeds(seed=0): torch.cuda.empty_cache() torch.manual_seed(seed) torch.cuda.manual_seed(seed) torch.cuda.manual_seed_all(seed) # torch.backends.cudnn.deterministic = True # https://pytorch.org/docs/stable/notes/randomness.html def select_device(force_cpu=False, apex=False):...
[ "abhishek4273@gmail.com" ]
abhishek4273@gmail.com
b6d02d90087faf9e6a976377f8daa109fc59068a
d97c3fbf427485fe03a4b8bdf70b449870e52e13
/gettingstarted/apps/wallet/models.py
4ed0e1273b9c5d0d4ac22f7af84b1dc42c162634
[]
no_license
luiscaiaffa/stone
60c3285d3f51f1dd5e03265377b496d03a4e2fa9
dc871ebd15f65b8a757b9cd790fcc15cda574326
refs/heads/master
2021-05-07T06:52:35.737674
2017-11-23T22:24:13
2017-11-23T22:24:13
111,733,463
0
0
null
2017-11-22T21:58:56
2017-11-22T21:20:26
Python
UTF-8
Python
false
false
4,378
py
from django.db import models from django.db.models import Sum from django.dispatch import receiver from django.contrib.auth.models import User from django.db.models.signals import pre_save, post_save, m2m_changed from django.core.validators import MaxValueValidator, MinValueValidator, MaxLengthValidator, MinLengthValid...
[ "lfa.luisfelipe@gmail.com" ]
lfa.luisfelipe@gmail.com
f384b7fd45b57d514b2ebd6cbeb5fe80cb691397
66c94b5e427c0b8f8f7101de9c17af1423f00682
/keras/keras13_shape.py
0643b23c8f0a155e06aec929fb8b63070c1a132b
[]
no_license
NamkyuHan/bit_seoul
a34ea3c49666ee2183026e960e45092778643d55
3112eb576089cdf906c4f326337b4d2b5e5e4c29
refs/heads/master
2023-01-30T19:02:53.323592
2020-12-17T01:05:17
2020-12-17T01:05:17
311,277,610
0
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
#1. 데이터 import numpy as np x = np.array([range(1, 101), range(711, 811), range(100)]) y = np.array([range(101, 201), range(311, 411), range(100)]) x = np.transpose(x) y = np.transpose(y) from sklearn.model_selection import train_test_split x_train, x_test, y_train, y_test = train_test_split(x, y, train_size=0.7, shu...
[ "rksh333@naver.com" ]
rksh333@naver.com
1aab3eddcb8cf97bb71b01605c957790aff7740e
21c602c8b40c3cdf572fb63a745c15616adf5f31
/enso/enso/contrib/scriptotron/tracebacks.py
7f41487c47823ce96d4841ccf6e2d2d7dedbc05e
[ "BSD-2-Clause" ]
permissive
GChristensen/enso-portable
a3353e5020dfd83ae612c728a0961dfd6615a0c8
61351f52f01367439e8810d2c482a9c9897545d8
refs/heads/master
2023-03-15T22:22:12.738941
2023-03-09T15:07:59
2023-03-09T15:07:59
3,496,184
144
39
null
2022-04-30T13:02:03
2012-02-20T17:58:22
C
UTF-8
Python
false
false
2,216
py
import sys import traceback import xml.sax.saxutils import enso.selection from enso.messages import displayMessage from enso.commands import CommandObject MAX_EXCEPTION_TEXT_LENGTH = 80 def _makeExcInfoMsgText( exceptionType, exception, tb ): fileName, lineNo, funcName, text = traceback.extract_tb( tb )[-1] ...
[ "gchristnsn@gmail.com" ]
gchristnsn@gmail.com
60d82214f6e9fb0a84edc55c6546aec0f4ab30ac
28174c2f3480e1db8052e25af150b0d4e3bf4076
/scripts/run_ui_css_edition.py
ee369642f74f611fd75b6bc62a0948566dc7c6d6
[ "MIT", "CC-BY-4.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
almaz114/QRainbowStyleSheet
7889d75b845d13e4d98e7c2d34f83286dbf1d6dc
7b92e9bc32eccc1bcd4f516061aea8febecb7a3f
refs/heads/master
2023-03-01T11:59:29.120199
2021-02-10T20:43:09
2021-02-10T20:43:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Process qrc, ui, image, and screenshot files, then run example in while loop. """ # Standard library imports from subprocess import call import os import sys # Constants SCRIPTS_PATH = os.path.abspath(os.path.dirname(__file__)) REPO_PATH = os.path.dirname(SCRIPTS_PAT...
[ "daniel.pizetta@usp.br" ]
daniel.pizetta@usp.br
8c4c478d23cd52c6b397a40cafb53bfa19c05614
4c8c0f857500b5f4b572f139602e46a6c813f6e3
/Inheritance_Exercises/Restaurant/food/cake.py
2007e8fedfb8e05b50fcc562f8ba2bea14265412
[]
no_license
svetoslavastoyanova/Python_OOP
3d21fb0480c088ecad11211c2d9a01139cde031f
518f73ecc8a39e7085d4b8bf5657a1556da3dcfa
refs/heads/main
2023-08-04T19:46:58.906739
2021-09-18T07:46:02
2021-09-18T07:46:02
352,304,158
1
0
null
null
null
null
UTF-8
Python
false
false
219
py
from Restaurant.food.dessert import Dessert class Cake(Dessert): GRAMS = 250 CALORIES = 1000 PRICE = 5 def __init__(self, name): super().__init__(name, Cake.PRICE, Cake.GRAMS, Cake.CALORIES)
[ "svetoslava_stoyanova92@abv.bg" ]
svetoslava_stoyanova92@abv.bg
979102281b52df40257bc40cc80d726573c00c0c
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_4/mkmdea001/question2.py
8faaa7b0d9abb9c4adff8e36003d15e12fa28776
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
# test program for Ndom calculations import ndom choice = input ("Choose test:\n") action = choice[:1] print ("calling function") if action == 'n' or action == 'd': num = int(choice[2:]) if action == 'n': ans = ndom.ndom_to_decimal (num) else: ans = ndom.decimal_to_ndom(num) elif action == 'a' or...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
15015f7b5af1f31a75cc01953b047de2bf049354
8f4bd36443984d5856a590f1927c7cc75cdc6f59
/apps/admin.py
554bb3f19554812422f1a0b5d5d54c2aa03c6b86
[]
no_license
ProsenjitKumar/employee-api-django
6b5aafbd25cd1ab5a83328906bb69f962aadc661
946589c4df973a013c2eb333fee0baf5c0c89491
refs/heads/master
2020-04-29T07:30:24.698250
2019-03-16T10:12:06
2019-03-16T10:12:06
175,955,464
1
0
null
null
null
null
UTF-8
Python
false
false
206
py
from django.contrib import admin from .models import Employeer class EmpoyeeAdmin(admin.ModelAdmin): list_display = ['name'] search_fields = ['name'] admin.site.register(Employeer, EmpoyeeAdmin)
[ "prosenjitearnkuar@gmail.com" ]
prosenjitearnkuar@gmail.com
5e855797d48b19ce29b994bc27d3fd726e98e75b
ff6f11f06fbe8f23962baf687950702e36dbc143
/ui/diffexp.py
9dc50db44fb8ca01c80e1331172d0a933a54f0f3
[ "BSD-3-Clause" ]
permissive
tanaes/heatsequer
86970a6bd49fa1f17b57dc1a49f23837d45141d9
35d5f8a4506bc5a0d375b1170bcc7483d7981513
refs/heads/master
2021-01-22T15:04:22.044894
2016-03-08T01:15:18
2016-03-08T01:15:18
44,138,126
0
0
null
2016-01-21T01:30:26
2015-10-12T22:40:02
Python
UTF-8
Python
false
false
5,402
py
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Dialog</class> <widget class="QDialog" name="Dialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>400</width> <height>300</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> ...
[ "amnonim@gmail.com" ]
amnonim@gmail.com
01adbe77d97dffc9bd82a82d62cf909c7a1eb6c0
45d9ceec2d554068c770eabd9d2a7995c0d7f957
/experiments/job/submit_job_ban.py
57f7d140f190c8060aac07d27315ae151962337e
[]
no_license
xyzacademic/scd_deep
6c1e734d4d69d939d3c447807638d8a9de913005
ac112816fc63b0f650bd65a2df31ba8d11177cd1
refs/heads/master
2023-06-27T15:48:04.483991
2021-08-02T22:26:57
2021-08-02T22:26:57
392,111,310
0
1
null
null
null
null
UTF-8
Python
false
false
1,965
py
import os import sys import numpy as np part_1 = [ '#!/bin/bash -l\n', '#SBATCH -p datasci3,datasci4,datasci\n', # '#SBATCH -x node429,node430,node412\n', '#SBATCH --job-name=ban\n', '#SBATCH --gres=gpu:1\n', '#SBATCH --mem=16G\n', '#SBATCH --cpus-per-task=2\n', 'cd ..\n', ] part_2 = ...
[ "yunzhexue@gmail.com" ]
yunzhexue@gmail.com