blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
10c08ee01135eb368278772c43326a847c319818
30d1b89b67d48efdacce5bceeee2c734bee2b509
/manual_translation/build/mavros/catkin_generated/pkg.develspace.context.pc.py
9355e7e6b2a3491d05ae969e2d0b01ad1bcdb6e5
[]
no_license
ParthGaneriwala/uppaal2ros
db4a6b20c78e423511e565477a2461942c2adceb
f88b2b860b0b970b61110a323d0397352785c9e2
refs/heads/main
2023-02-20T19:36:22.406515
2021-01-28T18:58:44
2021-01-28T18:58:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/adi/ardu_ws/src/mavros/mavros/include;/usr/include;/usr/include/eigen3".split(';') if "/home/adi/ardu_ws/src/mavros/mavros/include;/usr/include;/usr/include/eigen3" != "" else [] PROJECT_CATKIN_D...
[ "adithyatp@yahoo.com" ]
adithyatp@yahoo.com
7b3118281a9061e8454ba7aa096b0e07c96dd9f7
72d95f3b8c4de3e76c1125b2e6573539cadbe66a
/robot/logging.py
bf0f763b3df4200826a487da9e41562cb5cc3fba
[ "MIT" ]
permissive
skyzhishui/wukong-robot
4b2c4255fffa61705b735fed57fd0c90c4d40d7c
8395cd4030d340459edd7862b186a6f9395925ff
refs/heads/master
2020-12-23T03:37:03.320598
2020-01-29T16:03:04
2020-01-29T16:03:04
237,020,512
2
0
MIT
2020-01-29T15:48:47
2020-01-29T15:48:46
null
UTF-8
Python
false
false
2,197
py
import logging import os from robot import constants from logging.handlers import RotatingFileHandler PAGE = 4096 DEBUG = logging.DEBUG INFO = logging.INFO WARNING = logging.WARNING ERROR = logging.ERROR def tail(filepath, n=10): """ 实现 tail -n """ res = "" with open(filepath, 'rb') as f: ...
[ "m@hahack.com" ]
m@hahack.com
8181821781cbf9aadfd268ec9cb137c7902ca927
9d4471d2c22059a19982d66b18cb2de7517943e7
/ccxt_unmerged/async_support/foblgate.py
6fb8fe0fedd15446f91d6fe53a24c86a3cad941a
[]
no_license
pok1800/ccxt-unmerged
89277da0f11051e9fdf3bca1f07368ee88163c23
abb4e6947eb75557c09a8a9822ea64459f86b2e7
refs/heads/master
2023-07-14T11:02:57.420711
2021-08-24T20:12:18
2021-08-24T20:12:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,821
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange import base64 import hashlib from ccxt.base.errors import ExchangeError from ccxt.bas...
[ "binares@protonmail.com" ]
binares@protonmail.com
ffc8618fc8a2d869759cb4bd9356f6df5ecafba8
14efc9ec42d4fe9beecad1cff66bba77e68b8b74
/vinod/Scripts/easy_install-3.7-script.py
7c2e1061a952cf3de73b1ff4da86706252c40275
[]
no_license
vinodkumar96/ModelForms_ClassBased
b515386554e6241af749742319d46d317755d48f
c1435b7145ac9eb9dff45618ad4c3446667cdc5a
refs/heads/master
2020-06-14T19:15:55.312078
2019-07-03T17:38:07
2019-07-03T17:38:07
195,100,239
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
#!C:\PyCharm\PycharmProjects\new_projects\ModelForms_ClassBased\vinod\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] ...
[ "vinodkumaryv96@gmail.com" ]
vinodkumaryv96@gmail.com
e884df3f64553ec1d649d28e8ef4317ea6af6c01
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/organizations_write_f/delegated-administrator_deregister.py
92bfd542b0cbd45339078af1faf66f98e2e5cf32
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
7b72d2a794746c8ae3ce5d3b0062853fb3515f96
02f3fcbd495c2282694ad0612a66640b4731582f
/helloworld/helloworld.py
610c9184d9177bfd6ddccf2c45d3cd1da7bb4e73
[ "MIT" ]
permissive
plter/LearnKivy2021
8f39f99bf3123d23230e047e853dfeba983329f8
04bf9c19c707528f4be8ca666192363aae95fb9f
refs/heads/main
2023-06-04T04:03:41.829403
2021-06-24T04:06:31
2021-06-24T04:06:31
379,203,207
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
import os os.environ['KIVY_IMAGE'] = "pil" from kivy.app import App from kivy.core.window import Window Window.size = (400, 300) class MyApp(App): pass if __name__ == '__main__': MyApp().run()
[ "xtiqin@163.com" ]
xtiqin@163.com
1eca7ec2e36e7cae8c2c4ef9e80e9f1268d6c6e8
7f9396be71cdf243930d77638f59aa76c135c9c8
/virtual/bin/sqlformat
451f4a53a61bc6a3280c8e6bb71755bdd4a53720
[]
no_license
CollinsMuiruri/Collins
accb894d620104e49de6660127a6a0074cf7f57e
9d94d528d94821983681fa8d1e5801f16878b464
refs/heads/main
2023-01-23T01:14:07.844954
2020-12-09T01:10:38
2020-12-09T01:10:38
316,529,666
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/collins/Documents/me/Collins/Collins/virtual/bin/python3 # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "wanyekicollins@gmail.com" ]
wanyekicollins@gmail.com
dfe50521c8beadbcedb0a1ea16159e0c00737c40
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03945/s610658846.py
ffb8861904f17b983b639980e4783fc5358be706
[]
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
207
py
import collections def main(): S = input() cnt = 0 tmp = "" for s in S: if s != tmp: cnt += 1 tmp = s print(cnt - 1) if __name__ == "__main__": main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
15bd6f29ed5617bbd897682594f52dd64bb410e2
6fa554aff1f9507eca282ebd1352fb6689ad4842
/부록02/helloworld-gae/main.py
99283f2a5469666030a99944aa94a37db682866f
[]
no_license
wikibook/flask
88260843b56c3bde2f811515d34b3561e9bcd612
b3c9a4e4c2a88ffb4ada3c0aabe781b590016762
refs/heads/master
2022-12-12T21:27:26.202369
2021-08-10T05:35:42
2021-08-10T05:35:42
15,384,305
79
85
null
2022-12-09T05:35:03
2013-12-23T00:08:26
Python
UTF-8
Python
false
false
129
py
# -*- coding: utf-8 -*- from google.appengine.ext.webapp.util import run_wsgi_app from helloworld import app run_wsgi_app(app)
[ "dylee@wikibook.co.kr" ]
dylee@wikibook.co.kr
3dfffc0c816b2afd57cd7b4250788052eb8bb807
a6719f4815ff41d3a1f09e9a63a64c4582d03702
/function_and_scope/func_call.py
224a49fd81ba7ad18b41c7b075f32fa82a7f7447
[ "MIT" ]
permissive
thanh-vt/python-basic-programming
8136007b8435dae6339ae33015fe536e21b19d1d
5fe817986fbef2649b4b03955f07b59d2a2035d8
refs/heads/main
2023-01-30T12:57:36.819687
2020-12-13T17:27:05
2020-12-13T17:27:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
from func_declare import * # normal function hello_func() # argument intro_func('Thanh') # multiple arguments intro_func_2('Thanh', 'Tat', 'Vu') # unknown number of arguments fruit_intro_func('banana', 'orange', 'watermelon') # key word arguments child_intro_func(child1='Emil', child2='Tobias', child3='Linus') # a...
[ "thanhvt@vissoft.vn" ]
thanhvt@vissoft.vn
611c1256e6469b7ceef7838061cd304f5e2f09ec
dcebc9eba57f252874a336b4b396c1dea328e850
/py/dd_match_fields.py
0f91450376fbfa3b376a9c2a4b765fef32abf897
[ "Apache-2.0" ]
permissive
bcgov/diputils
d7408ceb7d02c1583bba75e515cb3f93e2e07a09
caf510c81f7f43372d4a8e18f77eaa86cdede6a5
refs/heads/master
2022-05-15T01:02:13.289995
2022-05-08T22:02:54
2022-05-08T22:02:54
231,476,522
5
1
Apache-2.0
2022-05-08T22:02:55
2020-01-02T23:31:46
Python
UTF-8
Python
false
false
3,121
py
# Copyright 2019 Province of British Columbia # # 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 agr...
[ "richardson.ashlin@gmail.com" ]
richardson.ashlin@gmail.com
2591fab72417dd22098a2d648b9a0eb3d6d035d2
0a40a0d63c8fce17f4a686e69073a4b18657b160
/test/functional/feature_uacomment.py
75b5a9c538e3ca66a92d254faac84d250742b090
[ "MIT" ]
permissive
MotoAcidic/Cerebellum
23f1b8bd4f2170c1ed930eafb3f2dfff07df1c24
6aec42007c5b59069048b27db5a8ea1a31ae4085
refs/heads/main
2023-05-13T06:31:23.481786
2021-06-09T15:28:28
2021-06-09T15:28:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
#!/usr/bin/env python3 # Copyright (c) 2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the -uacomment option.""" from test_framework.test_framework import CerebellumTestFramework from test_...
[ "travisfinch01@gmail.com" ]
travisfinch01@gmail.com
6c9178f13779fa4d7a1c76768de12543cd42748f
be9d82f263466b397d354798fcf260ceee7f8419
/scripts/docs.py
02ecae1eeb67800e7d5b17c1c4238c78b8fb1b18
[ "MIT", "LicenseRef-scancode-generic-export-compliance" ]
permissive
pradeepbhadani/dffml
0af135045a6d0bbde9b6f2d539839107bc0b5181
35bc31be462685efe78ede981dbef8fd5577882b
refs/heads/master
2020-06-24T17:05:37.415285
2019-07-26T15:19:22
2019-07-26T15:19:22
199,024,888
0
0
MIT
2019-07-26T15:19:23
2019-07-26T13:50:26
Python
UTF-8
Python
false
false
5,883
py
# SPDX-License-Identifier: MIT # Copyright (c) 2019 Intel Corporation import os import getpass import inspect import argparse import pkg_resources from typing import List def traverse_get_config(target, *args): current = target last = target for level in args: last = current[level] current...
[ "johnandersenpdx@gmail.com" ]
johnandersenpdx@gmail.com
ab89d9099ddaa8e3f2ce598d04a34423d640e4e3
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4442591.4.spec
e660aad50fa6f53e6383d7b21b075c43dcda53ce
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
21,603
spec
{ "id": "mgm4442591.4", "metadata": { "mgm4442591.4.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
019a2296e2c2a44d1f6bad58af35702346c4199e
2ae8fe4fccac95d98dffe77d5a948e64c3cb91b5
/2404.py
ede38319f93e8799fd73115eae1a663d4d2fbf38
[]
no_license
lilaboc/leetcode
e61362592f87d094fe57635af1d7d2b93284bfe8
d4c5329a9d6ce945b965fd9d811757a80934dd36
refs/heads/master
2023-07-07T07:30:29.516698
2023-06-24T03:16:16
2023-06-24T03:16:16
25,621,054
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
# https://leetcode.com/problems/most-frequent-even-element/description/ from collections import Counter from typing import List class Solution: def mostFrequentEven(self, nums: List[int]) -> int: c = Counter([i for i in nums if i % 2 == 0]) most = c.most_common() if len(most) == 0: ...
[ "lilaboc.cn@gmail.com" ]
lilaboc.cn@gmail.com
7c4472d1c378a26fb67ec9911be21421a4e0f8e4
b980c0bae0cff8533253c135449beb6e09759dca
/Grader_Exercise/04_Loop/04_Loop_002.py
1edaec5e838baacb6893af99ef8e5cf7b8e6e326
[]
no_license
manhanton/COM-PROG
1f76985b3f3fea54057a0da1d3911dc91998c5be
7a4f2c62ecd6677ec1f818a5d115aa0fb182b3a2
refs/heads/main
2023-06-18T10:25:26.448133
2021-07-16T07:46:45
2021-07-16T07:46:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
d = [int(i) for i in input().split(' ')] p = d[-1] i = -1 j = 0 n = len(d) while j < n-1 : if d[j] <= p : i += 1 d[i],d[j] = d[j],d[i] j += 1 d[-1],d[i+1] = d[i+1],d[-1] print(d)
[ "meen2545@gmail.com" ]
meen2545@gmail.com
6d06c44ef0584637a7e5e9645ae9ac066be5356e
610349599d32d7fc5ddae5dcb202836ca8be50aa
/blog/migrations/0012_auto_20200916_1140.py
6fec12b0c70e4c5506fc56f580196f8e254756e6
[]
no_license
reetjakhar09/blogs
e3d9d14c01096e4a50474b5a7f562bea7b655a76
d0e17a8dd3761aaa08a59c466820040e05dc300a
refs/heads/master
2022-12-20T05:03:50.350408
2020-09-29T16:40:17
2020-09-29T16:40:17
299,676,944
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# Generated by Django 2.2.16 on 2020-09-16 11:40 import autoslug.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0011_auto_20200916_1139'), ] operations = [ migrations.AlterField( model_name='post', name='...
[ "test@gmail.com" ]
test@gmail.com
aa8131480478b18d37db2f7289886a67b1ce0d30
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/Scaleform/daapi/view/meta/IngameDetailsHelpWindowMeta.py
dbfa7dc67745ed3fc5561ecd88202c1b71e07635
[]
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
652
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/IngameDetailsHelpWindowMeta.py from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class IngameDetailsHelpWindowMeta(AbstractWindowView): def requestPageDat...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
0e6c2ac755ecf45fc4a0cfe0470f37f85a5c9859
ca66a4283c5137f835377c3ed9a37128fcaed037
/Lib/site-packages/sklearn/manifold/__init__.py
60e17b6bfd918a11c0a1c25a5a6062760e777a68
[]
no_license
NamithaKonda09/majorProject
f377f7a77d40939a659a3e59f5f1b771d88889ad
4eff4ff18fa828c6278b00244ff2e66522e0cd51
refs/heads/master
2023-06-04T20:25:38.450271
2021-06-24T19:03:46
2021-06-24T19:03:46
370,240,034
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
""" The :mod:`sklearn.manifold` module implements data embedding techniques. """ from .locally_linear import locally_linear_embedding, LocallyLinearEmbedding from .isomap import Isomap from .mds import MDS, smacof from .spectral_embedding_ import SpectralEmbedding, spectral_embedding from .t_sne import TSNE ...
[ "namithakonda09@gmail.com" ]
namithakonda09@gmail.com
cf30bd306af294595dce71b6a3e2f4cd9bbe10a6
3ba975cb0b4b12510f05b9970f955b98ce576124
/setup.py
cd9ddfb83ebe7ed71de9d5e82960499e761b8f73
[ "MIT" ]
permissive
vidrafeed/terminaltables
44d3b85e775138fa16f36f65be7a1bc0e89c04be
da4531bf0002051b3bcd97098acbe09c22ee7736
refs/heads/master
2020-12-30T20:04:31.298279
2015-03-22T22:34:43
2015-03-22T22:34:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,889
py
#!/usr/bin/env python import atexit from codecs import open from distutils.spawn import find_executable import os import re import sys import subprocess import setuptools.command.sdist from setuptools.command.test import test _JOIN = lambda *p: os.path.join(HERE, *p) _PACKAGES = lambda: [os.path.join(r, s) for r, d,...
[ "robpol86@gmail.com" ]
robpol86@gmail.com
c41762f2c2e70227c1da7a3d72edb9ac29b73f67
1d7ae7f6e7a0df98d92f9ec5f277752d14924a94
/fake-very-small-test/wrong_case/pytorch_bike_ddqn_test-small-with-former-a-trick.py
8a858ccaca83a7784c6175faa9f8337e5f56be9b
[]
no_license
lindsaymorgan/Mobike-Bike-Sharing-System-Dispatch-Optimization-Using-Reinforcement-Learning
1e6b1aa3c64d2ff2e31b5d9dcc4abdc11e10679c
6c8a329fae5c2ac8db45a3d8c55b308aae8ad804
refs/heads/master
2023-05-02T07:39:49.089459
2021-05-23T02:26:14
2021-05-23T02:26:14
279,467,461
2
0
null
null
null
null
UTF-8
Python
false
false
14,869
py
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch import optim import matplotlib.pyplot as plt import pandas as pd import random import time # hyper parameters EPSILON = 0.85 GAMMA = 0.99 LR = 0.001 MEMORY_CAPACITY = 2000 Q_NETWORK_ITERATION = 1000 BATCH_S...
[ "lindsaymarymorgan@gmail.com" ]
lindsaymarymorgan@gmail.com
4d3ad13d97346c629af9713a9ec75583d934cf79
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/web/v20181101/list_web_app_sync_function_triggers.py
f1ecce2911774db5bc639f91d0d5aee728445211
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,108
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
5ba8920e5965fadab6f22ea7e8b6789c0bfdec20
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/CIG-CLIENTS-MIB.py
6f8d0dcca8db283b66f74bf6098d29473eb995d6
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
33,163
py
# # PySNMP MIB module CIG-CLIENTS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CIG-CLIENTS-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:49:34 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
8bc0e253bcff105a4ede5e931ee1a5b8c496b7a1
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/plone.app.versioningbehavior-1.2.0-py2.7.egg/plone/app/versioningbehavior/testing.py
b6817a3b3f16fd765884b5ed7e997bd55a8acf8f
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
3,740
py
# -*- coding: utf-8 -*- from plone.app.testing import applyProfile from plone.app.testing import FunctionalTesting from plone.app.testing import PLONE_FIXTURE from plone.app.testing import PloneSandboxLayer from plone.dexterity.fti import DexterityFTI from Products.CMFCore.utils import getToolByName from Products.CMFDi...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
92c0e09476c89293544c2680a6d1bb74a148fe62
27691e5ef8e49fb29189b01dd76a1dc3720e7ae8
/AC/ABC-TDD/057/c.py
33fa121771e3149b137159983a0a5ae01e6fbf1c
[]
no_license
oshou/procon
61e5f5bc819e0fe5ab29749fc2f894fe6f3b1d07
3d000c64b5917c65b51ed7da5b90cb79892d5909
refs/heads/master
2023-05-10T23:56:50.861468
2021-09-23T06:07:29
2021-09-23T06:07:29
116,886,484
1
0
null
2023-05-05T02:28:41
2018-01-10T00:21:38
Go
UTF-8
Python
false
false
350
py
import math def f(a, b: int) -> int: alen = len(str(a)) blen = len(str(b)) if alen > blen: return alen else: return blen n = int(input()) max = int(math.sqrt(n)) fmin = len(str(n)) for i in range(1, max+1): if n % i == 0: tmp = f(i, int(n/i)) if tmp < fmin: ...
[ "adf1985adf@gmail.com" ]
adf1985adf@gmail.com
4aa5de904d5db17eee1ffaeb1ac77ed83ca86551
3eae9c14c119ee2d6a7d02ef1ba5d61420959e3c
/modules/core/mgmt/rwuagent/test/utframework/testtasklet.py
e8a7ca66d397981331bc610e8777f2b7cffb1434
[ "Apache-2.0" ]
permissive
RIFTIO/RIFT.ware
94d3a34836a04546ea02ec0576dae78d566dabb3
4ade66a5bccbeb4c5ed5b56fed8841e46e2639b0
refs/heads/RIFT.ware-4.4.1
2020-05-21T14:07:31.092287
2017-06-05T16:02:48
2017-06-05T16:02:48
52,545,688
9
8
null
null
null
null
UTF-8
Python
false
false
434
py
# RIFT_IO_STANDARD_CMAKE_COPYRIGHT_HEADER(BEGIN) # Creation Date: 3/20/2016 # RIFT_IO_STANDARD_CMAKE_COPYRIGHT_HEADER(END) # Workaround RIFT-6485 - rpmbuild defaults to python2 for # anything not in a site-packages directory so we have to # install the plugin implementation in site-packages and then # import it from ...
[ "Leslie.Giles@riftio.com" ]
Leslie.Giles@riftio.com
b9459e9ff5bdd141c5f22653c1f854167a3a9ddc
6be1990abf99c85ef886b49dcea1824aabb648d3
/weixinofneolocal/weixinofneolocal/zinnia/management/commands/zinnia2wp.py
ed19b9f8955b229141d7afe8a566d52eb21ec5cb
[]
no_license
neoguojing/cloudServer
b53ae205efe52cf0aea28dbb9e6c16c20caf991f
7c19101789b0c46474269e4c8fe00e92203e9cd7
refs/heads/master
2020-12-04T23:02:23.551479
2017-09-22T03:08:35
2017-09-22T03:08:35
67,382,984
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
"""Zinnia to WordPress command module""" from django.conf import settings from django.utils.encoding import smart_str from django.contrib.sites.models import Site from django.template.loader import render_to_string from django.core.management.base import NoArgsCommand from utils.tagging.models import Tag from zinnia ...
[ "guojing_neo@163.com" ]
guojing_neo@163.com
a6492367edc20853e84511db1b05e10bf5cfc989
82aee3211216f55392d5a757eb57f02c859e9a28
/Easy/172_factorailTrailingZeroes.py
05ea5253c0407b74dbb6ecfb30dd4f8afb340ace
[]
no_license
Yucheng7713/CodingPracticeByYuch
505d18095d4b9a35c1f3b23632a90a76d811b64a
1461b10b8910fa90a311939c6df9082a8526f9b1
refs/heads/master
2022-05-01T11:51:00.612603
2022-04-18T09:46:55
2022-04-18T09:46:55
198,961,132
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
class Solution: def trailingZeroes(self, n): if n == 0: return 0 return n // 5 + self.trailingZeroes(n // 5)
[ "yuchengh@usc.edu" ]
yuchengh@usc.edu
bc9d969532d16be769e237943030facdb30ca407
731c17913b5ff61190f938909e1a74bae18285c9
/tf_agents/agents/sac/tanh_normal_projection_network_test.py
7e0a439c969d84cc822e3458cdbe3dff3e9e3f54
[ "Apache-2.0" ]
permissive
isabella232/agents
d3055ca0a4d593e2251801264354fb7193c8f99f
b2ed02d20c43a4b789a4711f4653e8421f8ba526
refs/heads/master
2023-03-10T16:14:46.426288
2020-12-29T20:32:45
2020-12-29T20:33:06
326,205,625
0
0
Apache-2.0
2021-02-24T00:52:40
2021-01-02T14:57:47
null
UTF-8
Python
false
false
2,584
py
# coding=utf-8 # Copyright 2020 The TF-Agents 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
f258a219f8446de388d4977228e418e4f63b53f1
031b24455b953907a0f98778931ee8a03c3c4b6c
/pacman103/front/common/delay_projection_subedge.py
20ba4ca1e9194c2bc870a136e70f2f2169b9f2a1
[]
no_license
BRML/HBP-spinnaker-cerebellum
7e5f69c05d0e51f79442635df58815768f20e6bc
7fc3eb5c486df66720d227e0e422cbab65c08885
refs/heads/master
2020-12-25T23:47:09.416213
2015-06-26T09:45:31
2015-06-26T09:45:31
38,686,607
0
1
null
null
null
null
UTF-8
Python
false
false
3,612
py
from pacman103.front.common.projection_subedge import ProjectionSubedge from pacman103.front.common.synaptic_list import SynapticList from pacman103.front.common.synapse_row_info import SynapseRowInfo import logging logger = logging.getLogger(__name__) class DelayProjectionSubedge(ProjectionSubedge): def __...
[ "dr.christoph.richter@gmail.com" ]
dr.christoph.richter@gmail.com
504dcd6b031b80b87d353d6fb8c1fe63157987f6
f4a0b5a834b47bfee2f89c318e97b9f4ae11a968
/lib/collision_detector.py
47b488f9603004391d92b4af2a3d8ddc8ce1554c
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Marcus-Peterson/ros
5f0937dcd28198cd9be1025144d0bcc3cf69da31
77b1361e78f68f00ba2d3e3db908bb5ce0f973f5
refs/heads/master
2023-07-16T03:15:51.412658
2021-06-10T10:53:09
2021-06-10T10:53:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,551
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2020-2021 by Murray Altheim. All rights reserved. This file is part # of the Robot Operating System project, released under the MIT License. Please # see the LICENSE file included as part of this package. # # author: altheim # created: 2020-03-31 # modifie...
[ "ichiro.furusato@gmail.com" ]
ichiro.furusato@gmail.com
35c8bbadea7912a45f80c67b0bda1e2a9b39bce0
9ba30f939b79df5bc8ea8ab97196693e10d45605
/airflow/contrib/operators/dataflow_operator.py
8f61e18ab5d6a61a18b1dfc296650253e833f727
[ "Apache-2.0" ]
permissive
suchenzang/incubator-airflow
5d09f1d1dfaf3f668408bd162bc275e1c112fbb7
5d90d132af4b5a455c6f3bb43817f0e46195cf72
refs/heads/master
2021-01-18T07:06:06.616698
2016-07-19T06:33:47
2016-07-19T06:33:47
63,733,649
2
0
null
2016-07-19T23:07:06
2016-07-19T23:07:06
null
UTF-8
Python
false
false
3,680
py
# -*- coding: utf-8 -*- # # 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 ...
[ "bolke@xs4all.nl" ]
bolke@xs4all.nl
0a7339c381f9b70c492c662908a64640078995c9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/332/101124/submittedfiles/principal.py
1030f266c05bfbd1f491c8b15901e3fd2c180f5d
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO L=[5,7,2,9,4,1,3] print('lista=',L) L.sort() print('lista em ordem crescente',L)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
14ff0b9eaaa24fab20c4b9e88038e39cee101426
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/2374.py
3bfb9aefbafc0afcf5a26e222d920922d38daec3
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
# Google Codejam - Cookie Clicker Alpha def ShouldInvest(C, F, X, Gradient): return Gradient < (F * (X - C) / C) # mathematics ;P def MinimumTime(C, F, X): Gradient = 2 Time = 0 # start while 1: if ShouldInvest(C, F, X, Gradient): Time += C / Gradient # time till we reach C coo...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
550c0de84f2fb3a9f49462534f551540f2a83251
f47edebe28f491f94b4fd30c2e4d8b29e1abc2a1
/src/models/configs/model_operation.py
f56635621bd7c1d91bc7c576904309f5abe043dd
[ "MIT" ]
permissive
Nardri/rbac-service
4a2053a38597315b4ef1ce5b877cf031e64eae12
c5cf6baf60e95a7790156c85e37c76c697efd585
refs/heads/develop
2022-10-04T06:17:30.766467
2020-01-31T11:06:03
2020-01-31T11:06:03
226,638,869
0
0
MIT
2022-09-16T18:19:46
2019-12-08T08:48:12
Python
UTF-8
Python
false
false
1,072
py
"""Common model operations""" from .database import database as db class ModelOperationsMixin: """Mixin Model operation""" __abstract__ = True def save(self): """Save to the database.""" db.session.add(self) db.session.commit() return self def delete(self): ...
[ "nwokeochavictor@gmail.com" ]
nwokeochavictor@gmail.com
d9508c77ce6a5869b179fdf31d94ffeefa784cfd
800b5166148d4e3cd03825d7d20e2900fbc6c789
/report_form/migrations/0016_helperdataform_year_date.py
42b2c55917bfd96ca6159e3ab7b4b2c5526990c0
[]
no_license
JiSuPiaoYi/dawufupin
4ffc979a93502eb576776673c98aaeb16021827e
57756a501436fabe9b27ebca2e80e60932da30dc
refs/heads/master
2020-04-07T11:37:35.728108
2018-11-20T09:09:50
2018-11-20T09:09:50
158,334,010
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2018-06-01 13:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('report_form', '0015_auto_20180531_1322'), ] operations = [ migrations.AddFi...
[ "360510132@qq.com" ]
360510132@qq.com
74aafc70a85dd29f4d4cc806cfa276e0aa7575a6
7ba5ec9aa9ddca3f9b3384fc4457b0a865c2a0a1
/src/282.py
407f92ee3a4c1d3a373b9457eb3d21a9ba194679
[]
no_license
ecurtin2/Project-Euler
71f79ee90a9abd0943421677d78a6c087419e500
79479da7a45b3ae67c0c7ea24da5f7d43c6f25d3
refs/heads/master
2021-03-19T14:52:57.045443
2018-04-12T22:05:37
2018-04-12T22:05:37
100,059,180
0
1
null
null
null
null
UTF-8
Python
false
false
200
py
""" For non-negative integers m, n, the Ackermann function A(m, n) is defined as follows: For example A(1, 0) = 2, A(2, 2) = 7 and A(3, 4) = 125. Find A(n, n) and give your answer mod 148. """
[ "ecurtin2@illinois.edu" ]
ecurtin2@illinois.edu
d48e851bbed4bf582803970b6cc8e21ed795bfdd
3cda2dc11e1b7b96641f61a77b3afde4b93ac43f
/nni/compression/pruning/tools/utils.py
cc8e4ce5d17a5451476be7062871887d3d11bed1
[ "MIT" ]
permissive
Eurus-Holmes/nni
6da51c352e721f0241c7fd26fa70a8d7c99ef537
b84d25bec15ece54bf1703b1acb15d9f8919f656
refs/heads/master
2023-08-23T10:45:54.879054
2023-08-07T02:39:54
2023-08-07T02:39:54
163,079,164
3
2
MIT
2023-08-07T12:35:54
2018-12-25T12:04:16
Python
UTF-8
Python
false
false
314
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from __future__ import annotations from ...base.target_space import PruningTargetSpace def is_active_target(target_space: PruningTargetSpace): return target_space.sparse_ratio is not None or target_space.sparse_threshold is not None
[ "noreply@github.com" ]
Eurus-Holmes.noreply@github.com
1ac798f35eb70318b55fb3fe9747a6ed6591cb56
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02388/s268234328.py
d8d44fa3345734c7567f24d5d15f0d4fe9443326
[]
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
27
py
x = input() print pow(x, 3)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3c8fac592668b65b1d738156c55d91c7539e7308
074701f027cf8967bab7c0759fdcb716fb952582
/spacy/lang/fr/lemmatizer/_nouns.py
934e1639bbb6582459a046e59956a3c1bbfe5089
[ "MIT" ]
permissive
PolyglotOpenstreetmap/spaCy
2d6254fa294d06cfa75b3806380120009ceed341
7a5aa5e4c0b23f75bd06d247a253613df4546520
refs/heads/master
2020-04-18T14:23:29.406137
2019-02-01T17:58:51
2019-02-01T17:58:51
167,587,248
0
0
MIT
2019-01-26T07:51:37
2019-01-25T17:36:21
Python
UTF-8
Python
false
false
712,612
py
# coding: utf8 from __future__ import unicode_literals NOUNS = set(""" aa aalénien abaca abacule abaisse-langue abaissement abaisseur abajoue abalé abalone abalourdissement abandon abandonnataire abandonnateur abandonnement abandonnique abandonnisme abaque abarco abasie abasourdissement abatage abatant abâtardiss...
[ "ines@ines.io" ]
ines@ines.io
dc06598de47c22032861b955898111d16c67bbd6
5af277b5819d74e61374d1d78c303ac93c831cf5
/tcc/preprocessors/preprocess_sequence.py
150307db84d6b58f8ea3885a3732c0a17332524c
[ "Apache-2.0" ]
permissive
Ayoob7/google-research
a2d215afb31513bd59bc989e09f54667fe45704e
727ec399ad17b4dd1f71ce69a26fc3b0371d9fa7
refs/heads/master
2022-11-11T03:10:53.216693
2020-06-26T17:13:45
2020-06-26T17:13:45
275,205,856
2
0
Apache-2.0
2020-06-26T16:58:19
2020-06-26T16:58:18
null
UTF-8
Python
false
false
10,453
py
# coding=utf-8 # Copyright 2020 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
776a45689ed9e05ab9016d1cc5eb5a45307f9c67
edc1134436a79ca883a0d25f3c8dfffc4235c514
/examples/cvae/baseline.py
68695c6d5ee2eb75ef59ea4b52fbb1df51e444b1
[ "Apache-2.0" ]
permissive
pyro-ppl/pyro
2283d8ca528fc090c724a3a6e0f344e505ebbf77
0e82cad30f75b892a07e6c9a5f9e24f2cb5d0d81
refs/heads/dev
2023-08-18T00:35:28.014919
2023-08-06T21:01:36
2023-08-06T21:01:36
94,506,832
3,647
606
Apache-2.0
2023-09-14T13:52:14
2017-06-16T05:03:47
Python
UTF-8
Python
false
false
3,338
py
# Copyright Contributors to the Pyro project. # SPDX-License-Identifier: Apache-2.0 import copy from pathlib import Path import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from tqdm import tqdm class BaselineNet(nn.Module): def __init__(self, hidden_1, hidden_2): super...
[ "noreply@github.com" ]
pyro-ppl.noreply@github.com
0fc3b98016bf84ae5f510d5fa9774d1a025d4876
597b82737635e845fd5360e191f323669af1b2ae
/08_full_django/dojo_secrets/dojo_secrets/urls.py
eae83a229eb529cf3cb46e4debdd86ea411b8ac9
[]
no_license
twknab/learning-python
1bd10497fbbe181a26f2070c147cb2fed6955178
75b76b2a607439aa2d8db675738adf8d3b8644df
refs/heads/master
2021-08-08T08:50:04.337490
2017-11-10T00:28:45
2017-11-10T00:28:45
89,213,845
0
1
null
null
null
null
UTF-8
Python
false
false
305
py
"""dojo_secrets URL Configuration Sets up URL files for all applications in this project. Current applications: - `secrets` - This application allows users to create and interact with secrets. """ from django.conf.urls import url, include urlpatterns = [ url(r'^', include("apps.secrets.urls")), ]
[ "natureminded@users.noreply.github.com" ]
natureminded@users.noreply.github.com
8911835e9a12c6ffa09456d6e6024c5d6dfe5e0d
d2cac4cb6b39db7413d22598e7061d228cb9bc4f
/main/migrations/0027_auto_20200622_0034.py
dd141c29c08c24a23b41b2cbd8c2ab5e248d02d7
[]
no_license
sasha00123/furniture
cf9dd818ab0bc27890af41d6228163b1c20dfc71
98dfb3e971b6d714cd8638aefbed2407bddf1529
refs/heads/master
2023-02-21T02:09:12.976005
2021-01-24T18:12:10
2021-01-24T18:12:10
262,677,443
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
# Generated by Django 3.0.6 on 2020-06-21 19:34 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('main', '0026_telegramuser_is_admin'), ] operations = [ migrations.AddField( model_name='telegramuse...
[ "sasha@bashkort.org" ]
sasha@bashkort.org
8d09308e52cb00314c66f3dfb95a0ac73dba6f39
dfefcdcb99034f3edd50be101f16633f0e386493
/Archive/Levi-Andrew-Source/src/tests/CMDSandbox/cmd-test-suite.py
f195be391029929a9ab86b278a4a5c5193aa5216
[]
no_license
jholtom/PICS
92ca95bdb711b64557cf1fa153c976da49af9856
bdc1b44e9ffe753024672a8b5d4de506fe544c73
refs/heads/master
2020-03-21T17:15:58.250169
2019-01-04T20:34:32
2019-01-04T20:34:32
138,823,062
0
0
null
2018-10-01T16:36:28
2018-06-27T03:06:31
C
UTF-8
Python
false
false
9,848
py
#!/usr/bin/env python import random import spp import slip import math import itertools import serial import sys from cmds import * from ely_util import * functions = [] # List: # Reset command resets processor # Further commands are possible after reset # Set and Get GPO commands match for at least 3 toggles...
[ "jacob@holtom.me" ]
jacob@holtom.me
682754c6306fa528b4716ab84cdd2a8f6fa1ea3a
6783c27d5f16cd8f8a9590359e4bb681e479bd49
/backend/pixitups_18902/urls.py
989b593ed702dc63b725447328672ad616af24b2
[]
no_license
crowdbotics-apps/pixitups-18902
998a58b9b05a4c69ac82d3ba517929586ca78374
1cb8dc9941e94277bd3caa6f2502314189837aee
refs/heads/master
2022-11-16T03:38:17.785182
2020-07-14T22:28:34
2020-07-14T22:28:34
279,705,978
0
0
null
null
null
null
UTF-8
Python
false
false
1,914
py
"""pixitups_18902 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e1fba51ef584abc797614110e47f734a5df5f760
56eb5f7a8921a8e995fef89672e4e1abbf02f5d4
/2016/quals/a/a.py
df23faf51800b7be647a839d403914dce0911ca1
[ "MIT" ]
permissive
enricobacis/google-code-jam
e5b41e5004918001d4278c0636c91d5a3576ab49
43b259d5dbb167ea46b072eb144bd351e8f4e059
refs/heads/master
2021-01-01T05:00:48.774563
2016-04-17T07:17:44
2016-04-17T07:17:44
56,395,636
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
#!/usr/bin/env python # Google Code Jam 2016 - Qualification Round - Problem A def single(func): return func(raw_input()) def row(func): return map(func, raw_input().split()) def printcase(case, out, pattern='Case #%d: %s'): print pattern % (case, out) def digits(n): res = set() while n: ...
[ "enrico.bacis@gmail.com" ]
enrico.bacis@gmail.com
7ea5df191482c3f5d23570452224674f639e9414
f329f3061e3a72b2562bb242dfe1a2ed07fe65f0
/plugins/edayshop_cms.py
edd1d718942dbcbac642c5095f742ef2fc9226ea
[ "MIT" ]
permissive
ver007/getcms
58263174355eb16bae95b74f6efaff5069b4ce56
da03c07457abc266cacddc3ccd67126f0b03da3d
refs/heads/master
2021-01-19T07:01:51.453626
2016-04-13T08:28:14
2016-04-13T08:28:14
56,134,430
0
0
null
2016-04-13T08:27:38
2016-04-13T08:27:38
null
UTF-8
Python
false
false
136
py
#!/usr/bin/env python # encoding: utf-8 def run(whatweb, pluginname): whatweb.recog_from_file(pluginname, "inc/ys.css", "djs1wz")
[ "hackerlq@gmail.com" ]
hackerlq@gmail.com
c6cb4d2f3b19bd4743d379f707a29aae0cd5836e
bc233c24523f05708dd1e091dca817f9095e6bb5
/bitmovin_api_sdk/models/local_output.py
ea1587edd07eab7c4a840bd7109e17b67c5f5349
[ "MIT" ]
permissive
bitmovin/bitmovin-api-sdk-python
e3d6cf8eb8bdad62cb83ec77c0fc4950b06b9cdd
b0860c0b1be7747cf22ad060985504da625255eb
refs/heads/main
2023-09-01T15:41:03.628720
2023-08-30T10:52:13
2023-08-30T10:52:13
175,209,828
13
14
MIT
2021-04-29T12:30:31
2019-03-12T12:47:18
Python
UTF-8
Python
false
false
3,965
py
# coding: utf-8 from enum import Enum from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model from bitmovin_api_sdk.models.output import Output import pprint import six class LocalOutput(Output): @poscheck_model def __init__(self, id_=None, ...
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
70178561fb6044f424e0ea11e1209181b7647f8d
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D09A/REBORDD09AUN.py
bec780d969532c1a91a16b22dc253e67a96fb6d8
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,871
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD09AUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'GEI', MIN: 1, MAX: 6}, {ID: 'NAD', MIN: 1, MAX: 9, LEVEL: [ {ID: 'CTA', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
288df8f8e8e39a91a8609c1c31b94a1f7eb01ecf
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/ltl_maxplus/f3/maxplus_40_93.py
79e7a2a8567a7a017182c5efd8e15295c8ebef41
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
159,139
py
from collections import Iterable from mathsat import msat_term, msat_env from mathsat import msat_make_true, msat_make_false from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_rational_type from mathsat import msat_make_and as _msat_make_and from mathsat import msat_make_or as _...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
a4cb9fbfcd0887f5b389ccf0a1c066f258b6fe94
3f182e860f4485e304bc9195d1c1eaa8b2de70aa
/benchmarks/pbs.py
262de7acb034729890bb7eb2db75ed80b25538aa
[ "MIT" ]
permissive
spirali/estee
0feda169af35edc51bd4ac9cab2d36377561a576
55c0834db3d7da407b7c37d46fa41b5b563e2bbe
refs/heads/master
2020-03-28T02:22:22.218292
2019-04-05T13:55:16
2019-04-05T13:55:16
147,566,052
9
4
MIT
2019-04-05T12:32:29
2018-09-05T19:01:33
Python
UTF-8
Python
false
false
6,915
py
import json import os import socket import subprocess import sys import time import click import pandas as pd from benchmark import BenchmarkConfig, load_graphs, SCHEDULERS, CLUSTERS, NETMODELS, BANDWIDTHS, \ IMODES, SCHED_TIMINGS, create_instances, run_benchmark, parse_timeout, load_resultfile BENCHMARK_DIR = o...
[ "stanislav.bohm@vsb.cz" ]
stanislav.bohm@vsb.cz
5772bb6470b24532b7994a0214d80fef1d75cdec
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res/scripts/client/gui/scaleform/daapi/view/lobby/prb_windows/companies_dps.py
e082606ad29ce039f92198d5bb1043082e01fb4c
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,465
py
# 2015.11.10 21:27:16 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/prb_windows/companies_dps.py from constants import PREBATTLE_COMPANY_DIVISION, PREBATTLE_COMPANY_DIVISION_NAMES from gui.LobbyContext import g_lobbyContext from gui.Scaleform.framework.entities.DAAPIData...
[ "info@webium.sk" ]
info@webium.sk
0061de720027daadb201b017b60778a348bd49e4
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/Cura/cura/Machines/ContainerNode.py
a8bbf0a537b1a075b08ce72a608469761fc4ce74
[ "LGPL-3.0-only", "GPL-3.0-only" ]
permissive
flight7788/3d-printing-with-moveo-1
b2dba26010c4fa31815bc1d2d0966161a8600081
7fcb9c6b5da9245d54ac917de8c2a7f5148e42b0
refs/heads/Feature_Marlin_with_AlanBoy
2022-08-30T18:36:44.785058
2020-05-30T07:52:58
2020-05-30T07:52:58
212,583,912
0
0
MIT
2020-05-16T07:39:47
2019-10-03T13:13:01
C
UTF-8
Python
false
false
3,102
py
# Copyright (c) 2019 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. from typing import Any, Dict, Optional from UM.ConfigurationErrorMessage import ConfigurationErrorMessage from UM.Settings.ContainerRegistry import ContainerRegistry from UM.Logger import Logger from UM.Settings.InstanceCo...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
121baaf372cb1f46859c1327a05f3c81c6651dfd
c50e7b5a9597980f7b659fa4294f065b152ef9cf
/definindo_atributos_para_uma_classe.py
fb4e643e0bb0ac1649f7d7494c7ce7f8d669c712
[]
no_license
crishonsou/modern_python3_bootcamp
aab60ede8f8bec4cb38dc81e896823795460ea5b
086e0e97dacaf05862fa8d73184b217cf5688114
refs/heads/main
2022-12-24T00:00:03.621358
2020-10-06T15:35:26
2020-10-06T15:35:26
301,769,578
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
class User: def __init__(self, first, last, age): # print('New user has been made') self.first = first self.last = last self.age = age user1 = User("Leticia", "Carvalho", 35) user2 = User("Cristiano", "Gonçalves", 44) print(user1.first, user1.last, user1.age) print(us...
[ "noreply@github.com" ]
crishonsou.noreply@github.com
7e7acef5cce5e50952cd4019ea5d94b671b6733f
18e35b5a45063dadd0a9b541198572907cfe8908
/13_4/4.py
6c6c76fce90a958343f4f5878d480ad3efde5566
[]
no_license
syn7hgg/ejercicios-python
b516d04ee7b705e477b30e3fe09108d592ff45a2
ace895650219898cf9aac40dae523e18f63c2b13
refs/heads/main
2023-06-12T03:32:06.332235
2021-06-29T18:37:53
2021-06-29T18:37:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
import math print(math.pi) # imprime un número real con 3 decimales %.3f print("%.3f" % math.pi) # forma equivalente con formateo de strings s = "{:.3f}".format(math.pi) print(s)
[ "funandreth97@gmail.com" ]
funandreth97@gmail.com
295822b31175fdee626cbd7b2df44a18716f6f33
8e7ecd2b5121c66692d0b7c76aafad938906a1c4
/mist/action_server/helpers.py
1b42b1bfdf30ccf116a3ee3f1a452b476f60ea81
[ "Apache-2.0" ]
permissive
pombredanne/mist
93e425078c68d63925cc33bf86724e1ff8380910
3821ccd089e78cefe78282ac7297a6b4882cc53c
refs/heads/master
2023-03-18T20:49:58.243258
2021-07-13T10:10:16
2021-07-13T10:10:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
from functools import wraps from flask import request, abort, jsonify, Flask def setup_custom_errors(_app: Flask): # pragma: no cover @_app.errorhandler(400) def invalid_request(e): return jsonify(error=e.description), 400 @_app.errorhandler(401) def request_error(e): return jsonif...
[ "cr0hn@cr0hn.com" ]
cr0hn@cr0hn.com
8e415f9388d7251829b968cdb8d65cffddadb507
99d8895888ab093b06a3ba03594f2a74cb97758f
/Scripts/Python_HSE/WEEK8/homework/solution10.py
951b789a6af19bec7d8728d47a81122f56db1823
[]
no_license
AlekseyAbakumov/PythonLearn
4c35efeb0996f4a3221f228b57e30d595bb62637
fdd2cc9bdaa0fac3d582ddd5f2fbf9018218bda5
refs/heads/master
2023-03-23T20:12:42.603817
2021-03-16T18:22:48
2021-03-16T18:22:48
265,309,409
1
1
null
null
null
null
UTF-8
Python
false
false
424
py
from functools import reduce from operator import xor print( *reduce( lambda x, y: map(xor, x, y), map( lambda line: map( int, line.split() ), map( lambda _: input(), range( int( ...
[ "a-starostin@mail.ru" ]
a-starostin@mail.ru
19ef51007e955745a99630518184f72e57979c65
cef9e79f4776a97f3e1980f907bd531e02eb8ef6
/src/news_crawler.py
f5f2f020eb01483bebc58bce202549f4ca4ea8b7
[]
no_license
Sapphirine/202005-11-Risk-Analysis-and-Default-Prediction-on-Taiwanese-Companies
afa54bc6bf3c15d791fe8970a6001beffcc85e52
f02df8db08a425b4cc29468df2b988fc0e977762
refs/heads/master
2022-07-22T20:30:02.984293
2020-05-15T20:58:11
2020-05-15T20:58:11
264,291,074
0
0
null
null
null
null
UTF-8
Python
false
false
6,408
py
# # This file is used to retrieve posts from Google news. # Usage: # python news_crawler.py ${CSV_FILE} ${DEST_FOLDER} # # Example: # python news_crawler.py computer_peripherals.csv ./global_industry/ # # import requests from bs4 import BeautifulSoup from urllib.parse import quote from urllib.parse import...
[ "noreply@github.com" ]
Sapphirine.noreply@github.com
423a0fd8ef848a8ecb111b9975359535c1d4f620
98736383886897141c035386b0e828b461ccfdd9
/SeeAttention/ArchiveCode/view_weight_aa_skewness.py
f46b2f5f0bd9db757c42233652958b0da2a190e7
[]
no_license
minghao2016/GOAnnotationTransformer
53e72aa1160e32a0c419b5c2f2bac3405b519b74
bc5d853c88a523566980f7b2f9acedaad5f93a13
refs/heads/master
2022-12-06T21:39:22.364811
2020-03-31T04:28:57
2020-03-31T04:28:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,276
py
from __future__ import absolute_import, division, print_function import argparse import glob import logging import os import pickle import random import re,sys import pandas as pd import numpy as np import torch from torch.utils.data import DataLoader, Dataset, SequentialSampler, RandomSampler from torch.utils.data...
[ "datd1988@gmail.com" ]
datd1988@gmail.com
b01528b02aaaeaf6601446f6bcbe39ab03432c27
ca41157d95d87a9899730637fd2339479ce80088
/gPhoton/photonpipe/__init__.py
e8bccb42bbd96b09fe8bd03c3656a75895354873
[ "BSD-3-Clause" ]
permissive
MillionConcepts/gPhoton2
b5c2b36b68cfcc38b324f371a9677b86e51709df
0f1b054094bd476b2998e5b32aceb7e0a764ebda
refs/heads/main
2023-08-21T09:55:24.598275
2023-08-11T06:28:12
2023-08-11T06:28:12
383,023,797
2
0
null
null
null
null
UTF-8
Python
false
false
376
py
""" .. module:: PhotonPipe :synopsis: A recreation / port of key functionality of the GALEX mission execute_pipeline to generate calibrated and sky-projected photon-level data from raw spacecraft and detector telemetry. Generates time-tagged photon lists given mission-produced -raw6, -scst, and ...
[ "mstclair@millionconcepts.com" ]
mstclair@millionconcepts.com
247972aaa39a632dc35b5983f933198777e8b5d0
6a1f69c2b11a1cfda8a2e63006b0efa721ed8d7b
/scoreboard_backend/const.py
f832e88117df79f44f73716114489f5a435ae415
[]
no_license
o-o-overflow/dc2021q_scoreboard
54aa471daf6263225e8c45c71553f2ffb26c22c7
bb0e0054fec807dc3f6472d0b1fa5ee21f607b92
refs/heads/main
2023-04-21T19:44:39.168136
2021-05-03T07:39:26
2021-05-03T07:39:26
356,939,859
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
ACCESS_TOKEN_DURATION = 3600 # Seconds COMPETITION_END = 1_620_000_000 COMPETITION_START = 1_619_827_200 REGISTRATION_PROOF_OF_WORK = "00ff00" SUBMISSION_DELAY = 30 # Seconds TIMESTAMP_MAX_DELTA = 600 # Seconds TOKEN_PROOF_OF_WORK = "f00f"
[ "bbzbryce@gmail.com" ]
bbzbryce@gmail.com
a4221a26f7a8f15d99820a04fb870d3c580e7c79
002f28763ed3e0b2114c1ba950ca0ddbd6be4cdc
/08_Django/day01/Day01/day1/news/views.py
05147949532d30c137cf3eaa601b9a1ed6874c3d
[]
no_license
rogerbear/tarena_project
e599359b94eece6decc13672c6a920071cb65e4c
d8dc5e84d1a81943e94a72a62e09d44919c617c1
refs/heads/master
2020-05-28T00:50:44.248954
2019-12-20T07:26:58
2019-12-20T07:26:58
188,836,485
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def index_views(request): return HttpResponse('这是news应用中的index视图')
[ "402100940@qq.com" ]
402100940@qq.com
488ddd5c60c724031615fd26d7275674b48d650f
c934e7c27f0e72385218a14b4e2a7e94a747a360
/google-cloud-sdk/lib/surface/certificate_manager/maps/update.py
7a2c24ca74ad26f07718becdb48850597811789b
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
PrateekKhatri/gcloud_cli
5f74b97494df4f61816026af9460b9c4d8e89431
849d09dd7863efecbdf4072a504e1554e119f6ae
refs/heads/master
2023-03-27T05:53:53.796695
2021-03-10T04:08:14
2021-03-10T04:08:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,719
py
# -*- coding: utf-8 -*- # # Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "code@bootstraponline.com" ]
code@bootstraponline.com
bffabba54a0d868677fd9c4efb7ae8979d02983b
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/12145431.py
c4e465ef175e1027d3e54926439b5bf2956f89a2
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,813
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/12145431.py generated: Fri, 27 Mar 2015 15:48:08 # # Event Type: 12145431 # # ASCII decay Descriptor: [B+ -> K+ (J/psi(1S) -> mu+ mu- {,gamma} {,gamma}) (eta -> pi+ pi- pi0)]cc # from Configurables import Generation Generation().EventType = 12145431 Gener...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
9916fa68f4ceb29a1038f6d031fe37d34505a80f
d93fe0484fc3b32c8fd9b33cc66cfd636a148ec4
/AtCoder/ABC-E/143probE.py
70f6181217ad03009e6bb24c889899e531bd2a4f
[]
no_license
wattaihei/ProgrammingContest
0d34f42f60fa6693e04c933c978527ffaddceda7
c26de8d42790651aaee56df0956e0b206d1cceb4
refs/heads/master
2023-04-22T19:43:43.394907
2021-05-02T13:05:21
2021-05-02T13:05:21
264,400,706
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
import sys input = sys.stdin.readline def main(): N, M, L = map(int, input().split()) INF = 10**13 dis = [[INF for _ in range(N)] for _ in range(N)] for _ in range(M): a, b, c = map(int, input().split()) dis[a-1][b-1] = c dis[b-1][a-1] = c Q = int(input()) Query = [list...
[ "wattaihei.rapyuta@gmail.com" ]
wattaihei.rapyuta@gmail.com
7f144350d87384443247fefaa3f0ea005b1d6671
8da91c26d423bacbeee1163ac7e969904c7e4338
/pyvisdk/do/virtual_machine_memory_reservation_info.py
3707eed990dc6821036df0d45d5babbbba5e6e7d
[]
no_license
pexip/os-python-infi-pyvisdk
5d8f3a3858cdd61fb76485574e74ae525cdc7e25
1aadea0afbc306d09f6ecb9af0e683dbbf961d20
refs/heads/master
2023-08-28T02:40:28.789786
2020-07-16T04:00:53
2020-07-16T04:00:53
10,032,240
0
1
null
null
null
null
UTF-8
Python
false
false
1,255
py
import logging from pyvisdk.exceptions import InvalidArgumentError ######################################## # Automatically generated, do not edit. ######################################## log = logging.getLogger(__name__) def VirtualMachineMemoryReservationInfo(vim, *args, **kwargs): '''The VirtualMachineReser...
[ "jmb@pexip.com" ]
jmb@pexip.com
99dc217bc0e3c7d93969753502d481a115a55776
4bd4bacecee33cada173e427b5ecb1d758bafaad
/src/scalarizr/storage2/cloudfs/base.py
78b39ceaae1d9ed9189164619f4692252f4984d3
[]
no_license
kenorb-contrib/scalarizr
3f2492b20910c42f6ab38749545fdbb79969473f
3cc8b64d5a1b39c4cf36f5057f1a6a84a9a74c83
refs/heads/master
2022-11-26T10:00:58.706301
2017-11-02T16:41:34
2017-11-02T16:41:34
108,550,233
0
2
null
2020-07-24T11:05:36
2017-10-27T13:33:46
Python
UTF-8
Python
false
false
3,270
py
import sys import urlparse import os class DriverError(Exception): pass def raises(exc_class): """ Catches all exceptions from the underlying function, raises *exc_class* instead. .. code-block:: python @raises(MyError) def func(): raise Exception(message) ...
[ "kenorb@users.noreply.github.com" ]
kenorb@users.noreply.github.com
f04339670af036069b46af8492061f639973847f
088314e3bd6ca7ef34d15f2aa45b743b363641d9
/tasks/R2R/speaker/paths.py
974d47598f0ee0d6c3af239f2de1668c10bf89b4
[ "MIT" ]
permissive
weituo12321/PREVALENT_R2R
7a27d580fcbe8f72a209697d053ca3eb2013e3a0
868fb53d6b7978bbb10439a59e65044c811ee5c2
refs/heads/master
2022-11-24T00:54:32.385940
2020-07-24T17:56:42
2020-07-24T17:56:42
248,832,547
8
7
MIT
2022-11-22T02:10:54
2020-03-20T19:07:08
Python
UTF-8
Python
false
false
637
py
convolutional_feature_store_paths = { 'imagenet': 'img_features/imagenet_convolutional', 'places365': 'img_features/places365_convolutional', } mean_pooled_feature_store_paths = { 'imagenet': 'img_features/ResNet-152-imagenet.tsv', 'places365': 'img_features/ResNet-152-places365.tsv', } bottom_up_feat...
[ "weituo.hao@gmail.com" ]
weituo.hao@gmail.com
2e9eff8dee310ca6608ca04cd53b779bdaac0063
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02570/s396702537.py
9fe0af1e414c1c161a8894caf8757f2e4915c3db
[]
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
237
py
import sys; input = sys.stdin.readline from math import ceil d, t, s = map(int, input().split()) u, l = ceil(d/t), d//t if u == l: if u <= s: print("Yes") else: print("No") else: if d/t <= s: print("Yes") else:print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
35caceecfe007534fe487f5b4ff7aa3dbc3ca320
a62348929ea1911e7842beef868e5fa4d64d7927
/api/server.py
8184d335c168b6db069c51ebc95d73fb154b6084
[ "MIT" ]
permissive
RENCI/pds-server-mock
8bfa040421b4ffcfd0bfe7332ff39cecc1b84408
8d003561948b23aa4260c32d453a8f2c901e1dc7
refs/heads/master
2021-01-05T21:18:26.476560
2020-12-05T05:15:00
2020-12-05T05:15:00
241,140,488
0
1
null
null
null
null
UTF-8
Python
false
false
151
py
import connexion def create_app(): app = connexion.FlaskApp(__name__, specification_dir='openapi/') app.add_api('my_api.yaml') return app
[ "xuh@cs.unc.edu" ]
xuh@cs.unc.edu
c370c472aafebd84a2b87575f6dcb0e37b94e932
6472c4553c49a8c05103355ff53b1cbb7f025e8f
/pava/implementation/natives/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.py
a42dc13374784791b67769b761b7248140f118ab
[ "MIT" ]
permissive
laffra/pava
0b012e27c207a3e0f3ca772667b0c32168fe3123
54d10cf7f8def2f96e254c0356623d08f221536f
refs/heads/master
2021-01-23T04:23:22.887146
2020-12-21T23:14:09
2020-12-21T23:14:09
86,191,143
5
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
def add_native_methods(clazz): def initIDs____(a0): raise NotImplementedError() def connect0__long__boolean__java_net_InetAddress__int__long__(a0, a1, a2, a3, a4, a5): raise NotImplementedError() def updateConnectContext__long__(a0, a1): raise NotImplementedError() def read0__...
[ "iV29VQzQVT11" ]
iV29VQzQVT11
c298645d8fbccbc1048f2356f90a670ad3994bf9
46e9a375f0562f5dfd9282da20cbb34900f6b230
/Python/986.py
083a36ffc45f5cd0093f7a1ef29041c027ef9106
[]
no_license
MohisinShaik/LeetCode
da90a65a4980d9daa1bc11581f4d0aa415ddb2f4
dd788a3bffc8c5121cbb83d8c2efe077bf8693db
refs/heads/master
2022-04-23T11:16:42.855063
2020-04-16T04:58:39
2020-04-16T04:58:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
class Solution: def intervalIntersection(self, A: List[List[int]], B: List[List[int]]) -> List[List[int]]: res = [] i = 0 j = 0 while i < len(A) and j < len(B): a_overlap_b = A[i][0] >= B[j][0] and A[i][0] <= B[j][1] b_overlap_a = B[j][0] >= A[i][0] and B[j][0...
[ "tvandcc@gmail.com" ]
tvandcc@gmail.com
0183f3f7f2baf910cf0facb6ce6d58af7ec6df00
ebcb092d796366d36a1afe9c381cd9e4c31026f1
/redis/python_redis_publisher.py
6e0bd349be9638af02233a09bf270796fdcc99af
[ "MIT" ]
permissive
MiracleWong/PythonBasic
d2e0e56c88781ebf9c6870f185ceaba6ffaa21ca
cb8ec59dc646842b41966ea4ea4b1ee66a342eee
refs/heads/master
2021-06-06T22:26:08.780210
2020-01-08T14:48:54
2020-01-08T14:48:54
96,536,299
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
#!/usr/local/bin/python # -*- coding:utf-8 -*- # 订阅 from RedisHelper import RedisHelper obj = RedisHelper() obj.publish('nihao')#发布
[ "cfwr1991@126.com" ]
cfwr1991@126.com
62e37ebc3e6e0bfb19bb51f5101b05e188c158be
3c9011b549dd06b6344c6235ed22b9dd483365d1
/OrientacaoObjeto/aula18.py
1ed8f6b0cc2da4d9f90b4791c271fa308f1c8a10
[]
no_license
joaoo-vittor/estudo-python
1411f4c3620bbc5f6b7c674a096cae8f90f0db8d
5562d823dd574d7df49fddca87a1fbd319356969
refs/heads/master
2023-05-31T17:59:16.752835
2021-06-25T04:54:56
2021-06-25T04:54:56
292,372,669
0
0
null
null
null
null
UTF-8
Python
false
false
784
py
from contextlib import contextmanager """ Aula 18 Context Manager - Criando e Usando gerenciadores de contexto """ """ class Arquivo: def __init__(self, arquivo, modo): print('__init__') self.arquivo = open(arquivo, modo) def __enter__(self): print('__enter__') return self.ar...
[ "joaoo.vittor007@gmail.com" ]
joaoo.vittor007@gmail.com
2a6aea3581258e5e52dc9f9fa5e9486ce3b163ae
046333321b2717c6391a111fc2f74b04bbbeb7af
/chapter8(sets)/loop.py
87de075c3243648b5ab0ff49eeb9890dfdcdff71
[]
no_license
jyash28/Python-practice
b0c9df42bc93716d8721a1420ee1f3170b40b18c
cd3a61934618145cbaa20e62194ebb1642ba9941
refs/heads/main
2023-07-03T18:06:38.407491
2021-07-13T09:47:07
2021-07-13T09:47:07
314,485,686
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
s= {"a", "b", "c"} for item in s: print(item)
[ "jyash548@gmail.com" ]
jyash548@gmail.com
9c69b46842a2a97671f844c0372d9dcd3097c9b1
9e30a239886210dc57e6c7cb9a71ad95a840712e
/views/get_post_reactions/tests/__init__.py
c021c82af21c3a42f479640bfdc616e5ccf42f8a
[]
no_license
sridhar562345/fb_post_v2
0a26d661a3f335d9a9cf129c24265d7674b3fb22
dfd150ab5521f05291f66944d7a8686a00477547
refs/heads/master
2022-11-08T00:32:35.752419
2020-06-23T15:32:02
2020-06-23T15:32:02
274,440,245
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
# pylint: disable=wrong-import-position APP_NAME = "fb_post_v2" OPERATION_NAME = "get_post_reactions" REQUEST_METHOD = "get" URL_SUFFIX = "posts/{post_id}/reactions/v1/" from .test_case_01 import TestCase01GetPostReactionsAPITestCase __all__ = [ "TestCase01GetPostReactionsAPITestCase" ]
[ "=" ]
=
c370b9cb49b49d7f9bf6414b9561be8f703a7b7a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03776/s172150439.py
3a29529fed9c416827a4e10cbb9dd63cdab6e24e
[]
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
611
py
nCr = {} def cmb(n, r): if r == 0 or r == n: return 1 if r == 1: return n if (n,r) in nCr: return nCr[(n,r)] nCr[(n,r)] = cmb(n-1,r) + cmb(n-1,r-1) return nCr[(n,r)] N,A,B = map(int,input().split()) v = sorted(list(map(int,input().split())),reverse=True) """ if len(set(v)) == 1: print(1) p...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a612afd2b5fe7e22ba24750568476b126ced3165
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_151/65.py
72e9454d35bbe107abb5efe84efe7d59d6024fa8
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
#!/usr/bin/pypy import itertools def cnts(S): cnt = 1 bor = {} for s in S: cur = bor for x in s: if x in cur: cur = cur[x] else: cnt+=1 cur[x] = cur = {} return cnt def calc(S, ost, pcnt=0): if ost==1: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
41089bdf4fb39893bf5360ec2ffff7c5a0f6d71e
127e99fbdc4e04f90c0afc6f4d076cc3d7fdce06
/2021_하반기 코테연습/boj1197.py
ca8be4cf43b06e8029b3a28c61c048807ef92221
[]
no_license
holim0/Algo_Study
54a6f10239368c6cf230b9f1273fe42caa97401c
ce734dcde091fa7f29b66dd3fb86d7a6109e8d9c
refs/heads/master
2023-08-25T14:07:56.420288
2021-10-25T12:28:23
2021-10-25T12:28:23
276,076,057
3
1
null
null
null
null
UTF-8
Python
false
false
593
py
from heapq import * import sys from collections import defaultdict input = sys.stdin.readline answer = 0 v,e = map(int, input().split()) link = defaultdict(list) for _ in range(e): a, b, c = map(int, input().split()) link[a].append((b,c)) link[b].append((a, c)) link_set = [] h = [] heappush(h, (0,...
[ "holim1226@gmail.com" ]
holim1226@gmail.com
c184003f838b0b7d4dd109970baf5f2b4711a076
e7b665624c1134f7a6b3ab7c043cfa5ec83227bb
/CoGAN/impl2_tf/cogan_tf.py
a0037d11f6c7e06eb0738bf75acc6851b1e76fc4
[]
no_license
zhijie-ai/GAN
46f896909d1f5caedb7725cf44d328e24f4ad699
5e64b416209058721c582c3b71a1e9ca25cf169d
refs/heads/master
2022-10-26T10:28:08.279901
2019-08-26T14:09:15
2019-08-26T14:09:15
204,423,289
1
3
null
2022-10-07T00:52:36
2019-08-26T07:45:08
Python
UTF-8
Python
false
false
5,513
py
#---------------------------------------------- # -*- encoding=utf-8 -*- # # __author__:'xiaojie' # # CreateTime: # # 2019/7/4 10:01 # # # # 天下风云出我辈, ...
[ "15311484394@189.cn" ]
15311484394@189.cn
062c3d98dcd6b0c5dddfb9ca904e99660a416d33
6c5daf5133656a33574dc2f5b62b9f1a1bdf1390
/draw-pictures/draw_ppqq.py
38729585225143f55f0e755f3a5d0a742a8ec286
[]
no_license
RobinChen121/Python-Practices
6c10b721dce3a8d2b76e190959d0940c52f0d1cc
85bd9ad30c245dd62dc7ea837f964eaecbe24ed9
refs/heads/master
2023-08-31T10:08:01.613828
2023-08-27T14:51:46
2023-08-27T14:51:46
142,564,793
3
0
null
null
null
null
UTF-8
Python
false
false
993
py
# -*- coding: utf-8 -*- """ Created on Fri May 22 22:30:23 2020 @author: zhen chen MIT Licence. Python version: 3.7 Description: """ import scipy.stats as st import matplotlib.pyplot as plt import numpy as np n = 100 samples = st.norm.rvs(loc = 5, scale = 2, size = n) samples_sort = sorted(samples) x_lab...
[ "40953071+RobinChen121@users.noreply.github.com" ]
40953071+RobinChen121@users.noreply.github.com
1178707ecfe919527b34e6a1c3cdff681fb91f2e
0c110eb32f2eaea5c65d40bda846ddc05757ced6
/python_scripts/pimriscripts/mastersort/scripts_dir/p7575_run2M6.py
77c08e0b84c585a82c7e3b37095796f621c6ee0b
[]
no_license
nyspisoccog/ks_scripts
792148a288d1a9d808e397c1d2e93deda2580ff4
744b5a9dfa0f958062fc66e0331613faaaee5419
refs/heads/master
2021-01-18T14:22:25.291331
2018-10-15T13:08:24
2018-10-15T13:08:24
46,814,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
from __future__ import with_statement import os, csv, shutil,tarfile, uf, dcm_ops dest_root = '/ifs/scratch/pimri/soccog/test_working' dst_path_lst = ['7575', 'run2M6'] uf.buildtree(dest_root, dst_path_lst) uf.copytree('/ifs/scratch/pimri/soccog/old/SocCog_Raw_Data_By_Exam_Number/3184/E3184_e858822/s944135_5610_2M6_s34...
[ "katherine@Katherines-MacBook-Pro.local" ]
katherine@Katherines-MacBook-Pro.local
8c4abda4240fb87193b4e822cb56db6d9f60a404
a1565539ee37e6c25d3b0d1483dd788103aced61
/tensorflow/python/training/tracking/layer_utils.py
c325884bd1d6b21b88d183f5d8a33c00f1d6195d
[ "Apache-2.0" ]
permissive
mrader1248/tensorflow
b954d8989706b1792c7d013e54f816a1b1485807
3c6a2292fff3fe3ec1b7d62042cb15e457bc6d82
refs/heads/master
2020-04-07T20:08:16.629986
2019-08-05T22:40:18
2019-08-05T22:40:18
158,676,439
0
0
Apache-2.0
2018-11-22T09:44:49
2018-11-22T09:44:49
null
UTF-8
Python
false
false
4,195
py
# Copyright 2018 The TensorFlow Authors. 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
91bb95730ccfc0dacc10087dbf23782abc2e4e33
066fa84ca39db7f499f579af627918168469d3aa
/tests/unit_tests/test_tethys_services/test_utilities.py
d7fea7d0ced799fa9ba80031e4760c67e9cd73e6
[ "BSD-2-Clause" ]
permissive
macweather/tethys
f511f820efc6ca3d611d9f6368d8dadd7ce7e4ee
78af8670587b1677f512981f895a72cbd97f92b8
refs/heads/master
2020-04-19T08:13:28.336333
2019-01-28T23:29:12
2019-01-28T23:29:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,444
py
import unittest import mock from django.core.exceptions import ObjectDoesNotExist from social_core.exceptions import AuthAlreadyAssociated, AuthException from tethys_dataset_services.engines import HydroShareDatasetEngine from tethys_services.utilities import ensure_oauth2, initialize_engine_object, list_dataset_engi...
[ "sdc50@byu.net" ]
sdc50@byu.net
7e0ab15b65a9e964e5683463dfe8b82159d7d9fb
2d040fde3d3638939718ccfd42eff9e35c352331
/EXAMPLES/EDABIT/EXPERT/141_8_bit_arithmetic.py
a964ec7e6bb1367a9427d8836bfff645514c243b
[]
no_license
ceyhunsahin/TRAINING
fcb9837833d2099dc5724f46a675efe4edf3d5f1
73cc7dba8447e4066ccfe7adadc727d134ffbf0b
refs/heads/master
2023-07-13T01:12:53.160300
2021-08-17T11:50:51
2021-08-17T11:50:51
397,591,819
1
0
null
2021-08-18T12:25:45
2021-08-18T12:25:44
null
UTF-8
Python
false
false
1,302
py
""" https://edabit.com/challenge/cXoBRe9RdDGeLNfaD EXPERT 8 Bit Arithmetic You will be given a simple string expression representing an addition or subtraction in 8-bit 2's complement arithmetic. Write a function that returns the result in base 10 followed by a binary representation. If any of the values are outs...
[ "mustafaankarali35@gmail.com" ]
mustafaankarali35@gmail.com
bb1239f3ba44a52dca073e7a2bb09bd13ee12364
29d9e33cf882805017cb50653233c5b3759bba0a
/services/core-api/app/api/mines/incidents/models/mine_incident_document_xref.py
2789000ba92038d50a310d76ce81ad0b613a9dd0
[ "Apache-2.0" ]
permissive
yasserhu/mds
e634def83ad9825f58986305a638cf4a5010d40f
d7669f4c805e4a4006f30f649f324b3e88bc9aab
refs/heads/master
2023-08-03T18:20:57.175738
2021-06-17T20:44:10
2021-06-17T20:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
from sqlalchemy.dialects.postgresql import UUID from sqlalchemy.schema import FetchedValue from sqlalchemy.ext.associationproxy import association_proxy from app.api.utils.models_mixins import Base from app.extensions import db class MineIncidentDocumentXref(Base): __tablename__ = "mine_incident_document_xref" ...
[ "bcgov-csnr-cd@gov.bc.ca" ]
bcgov-csnr-cd@gov.bc.ca
40598402f54008a18aa6cfc5a2e992fbf8013f3b
bc441bb06b8948288f110af63feda4e798f30225
/cmdb_sdk/model/topboard/sprint_pb2.pyi
91317ff37629e11380429ff0970bac9a86f52ac4
[ "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
3,313
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from cmdb_sdk.model.topboard.issue_basic_pb2 import ( IssueBasic as cmdb_sdk___model___topboard___issue_basic_pb2___IssueBasic, ) from cmdb_sdk.model.topboard.product_basic_pb2 import ( ProductBasic as cmdb_sdk___model___topboard___product_...
[ "service@easyops.cn" ]
service@easyops.cn
52fc95ad5b8193fbb06f7d690e85b19da65068ea
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02993/s796060411.py
4dd88987d6c5bd8bf3fa6a30abda20e3ca9e5462
[]
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
137
py
S = input() flag = False for s in S: if flag: if temp == s: print("Bad") quit() temp = s flag = True print("Good")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
449b2f807c3bff1c4f260fe1b73e84c7a654cf05
26d6c34df00a229dc85ad7326de6cb5672be7acc
/msgraph-cli-extensions/beta/notes_beta/azext_notes_beta/vendored_sdks/notes/aio/operations/_sites_onenote_pages_operations.py
42ba95efb83bfe12bfe11390fed03799536d4ffc
[ "MIT" ]
permissive
BrianTJackett/msgraph-cli
87f92471f68f85e44872939d876b9ff5f0ae6b2c
78a4b1c73a23b85c070fed2fbca93758733f620e
refs/heads/main
2023-06-23T21:31:53.306655
2021-07-09T07:58:56
2021-07-09T07:58:56
386,993,555
0
0
NOASSERTION
2021-07-17T16:56:05
2021-07-17T16:56:05
null
UTF-8
Python
false
false
18,832
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 ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
d7af8673a8c37fb128458cbca49042bd96905906
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2722/60791/263371.py
f6c0db0251d1b057fb150e5cd509494e9cbe324d
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
148
py
def solve(i): print('YES') if(i%5==0) else print('NO') return T = int(input()) x = 0 while(x < T): x += 1 solve(int(input()))
[ "1069583789@qq.com" ]
1069583789@qq.com
85f7d02b6ed0d71193040a2aa15b3b7ccb9f948f
7804dbebb727051a218d6122aa88fba510816054
/mysite/mysite/settings.py
36b39222eceebeac42fd4d8ca78b10644ca674a9
[]
no_license
swheatley/django_polls_tutorial
a7dba28d879746d6c685a4d5519645950060304e
a2c8c6e9ac055b2537f9ec54d7f0b089c62dc6a3
refs/heads/master
2021-01-10T03:12:42.090135
2015-11-18T05:29:37
2015-11-18T05:29:37
46,397,486
0
0
null
null
null
null
UTF-8
Python
false
false
2,661
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.8.5. 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...
[ "shaylee1@me.com" ]
shaylee1@me.com
e93c4d081120f85a8ead644f7cd1de2ce0c2c312
c8a04384030c3af88a8e16de4cedc4ef8aebfae5
/stubs/pandas/tests/sparse/test_indexing.pyi
74ad6a2d4deb63a95e1f23407b8600c610472fa1
[ "MIT" ]
permissive
Accern/accern-xyme
f61fce4b426262b4f67c722e563bb4297cfc4235
6ed6c52671d02745efabe7e6b8bdf0ad21f8762c
refs/heads/master
2023-08-17T04:29:00.904122
2023-05-23T09:18:09
2023-05-23T09:18:09
226,960,272
3
2
MIT
2023-07-19T02:13:18
2019-12-09T20:21:59
Python
UTF-8
Python
false
false
3,984
pyi
# Stubs for pandas.tests.sparse.test_indexing (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. # pylint: disable=unused-argument,redefined-outer-name,no-self-use,invalid-name # pylint: disable=relative-beyond-top-level from typing import Any class TestSparseSeriesIndexing: ...
[ "josua.krause@gmail.com" ]
josua.krause@gmail.com
5d31a7cae0c40057f256cfc2c17f454254e8a61e
c8b78ce409199bbb7485235f232b9faa57e8fdf0
/tensorflow_federated/python/learning/models/__init__.py
594cb109288e3e10ebdb79f1bcef3b3c2e07f14a
[ "Apache-2.0" ]
permissive
zyw1218/federated
04b0adf95a08548be8bd8f8ba469fccb3d0faf87
332b0b85a2ce4a7eb23d9b7228966ddad347f4f5
refs/heads/master
2023-07-14T21:55:46.117831
2021-09-01T02:26:51
2021-09-01T02:28:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
# Copyright 2021, The TensorFlow Federated Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
b3bce44bf238b01e855e6e6a01d1d96fa3b10e96
a0c53168a4bdcfb0aa917d6d2c602f0999443a10
/DPSPipeline/widgets/projectviewwidget/projectviewwidget.py
ce065f16846a76ed474fba5c63115ec2086ea56b
[]
no_license
kanooshka/DPS_PIPELINE
8067154c59ca5c8c9c09740969bb6e8537021903
df2fcdecda5bce98e4235ffddde1e99f334562cc
refs/heads/master
2021-05-24T04:32:03.457648
2018-09-07T13:25:11
2018-09-07T13:25:11
29,938,064
3
2
null
2020-07-23T23:06:37
2015-01-27T22:26:01
Python
UTF-8
Python
false
false
22,334
py
import weakref import projexui import sharedDB import math import sys import os import glob import subprocess import multiprocessing import time from datetime import timedelta,datetime #from projexui import qt import Signal from PyQt4 import QtGui,QtCore #from PyQt4 import QtCore from PyQt4.QtGui import QWidget fr...
[ "kanooshka@gmail.com" ]
kanooshka@gmail.com
71fcc95c25ad1035690e8b7af74cdf1bf2de73f5
e467d1860dfc1f42e493eb3358003801b4959677
/accounts/serializers.py
85a0e0d22dfc8a259c4ea464436f534b6a5cef25
[]
no_license
Oswaldinho24k/e-commerce-api-fixtercamp
e1c8cc0b1a67c3347a14892ed584873b7d208316
c71f2eca9828f04b8272ecfc08d3594eaa0fbdcd
refs/heads/master
2020-03-15T13:17:14.230879
2018-05-11T00:41:09
2018-05-11T00:41:09
132,163,052
0
2
null
null
null
null
UTF-8
Python
false
false
877
py
from .models import Profile, ItemCart, UserCart from django.contrib.auth.models import User from rest_framework import serializers from products.models import Product from orders.serializers import OrderSerializer class ProfileSerializer(serializers.ModelSerializer): #user = BasicUserSerializer(many=False, read_only=...
[ "oswalfut_96@hotmail.com" ]
oswalfut_96@hotmail.com
5c2a2fd9914c3fefccd327f74467755d9217473a
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/main_20210201154004.py
4749d7b3238241af15c20e74de05c8a23fe43913
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
3,050
py
import datetime import os from preprocessing import data_process from szcyb_crawler import data_getter, index_getter from utils import load_pickle,save_pickle import random,time from html_gen import gen_html def szcyb_check_update(): prjtype = 'ipo' try: proj_list_old = load_pickle(os.getcwd()+'/sa...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
ae5b87fb9080facdde7642f860f15279a5dc96ce
c19bcbc98555ef06276f9f0dcffc9ac35942a7c4
/jc/parsers/timestamp.py
73c9d991a3c4a45fb68f62917214a7362c2b7e28
[ "MIT" ]
permissive
kellyjonbrazil/jc
4e81a5421cd20be5965baf375f4a5671c2ef0410
4cd721be8595db52b620cc26cd455d95bf56b85b
refs/heads/master
2023-08-30T09:53:18.284296
2023-07-30T17:08:39
2023-07-30T17:08:39
215,404,927
6,278
185
MIT
2023-09-08T14:52:22
2019-10-15T22:04:52
Python
UTF-8
Python
false
false
5,273
py
"""jc - JSON Convert Unix Epoch Timestamp string parser The naive fields are based on the local time of the system the parser is run on. The utc fields are timezone-aware, based on the UTC timezone. Usage (cli): $ echo 1658599410 | jc --timestamp Usage (module): import jc result = jc.parse('timestamp'...
[ "kellyjonbrazil@gmail.com" ]
kellyjonbrazil@gmail.com
9fb705dd519ac18646718ae01fe93d8c4c571f54
04d8f0b5a291ec6c3470f4498dd64ab9c1845f96
/programs/big_prog/ex_socket/ex_3/ex_serv.py
298d92aa2dedf00091936d314a8cf34d4af734c6
[]
no_license
volitilov/Python_learn
8c0f54d89e0ead964320d17eeddeacd5b704b717
f89e52655f83a9f1105689f0302ef5b0ee30a25c
refs/heads/master
2022-01-10T13:39:59.237716
2019-07-17T11:39:10
2019-07-17T11:39:10
70,601,503
3
2
null
null
null
null
UTF-8
Python
false
false
1,083
py
#!/usr/bin/python3 # ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: from socketserver import ( TCPServer as TCP, StreamRequestHandler as SRH ) from time import ctime import sys # ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: class MyTCPHandler(SRH): def handle(self)...
[ "volitilov@gmail.com" ]
volitilov@gmail.com
0ad73b90f00d4e8815c97ebf285a05f7325bae7b
f33b30743110532ddae286ba1b34993e61669ab7
/Odd Even Linked List.py
5310e33a71fe301849961b055d5b3d55e22f05ea
[]
no_license
c940606/leetcode
fe9dcee7a5daa4d52999d5f53253dd6dd33c348b
631df2ce6892a6fbb3e435f57e90d85f8200d125
refs/heads/master
2021-07-10T14:01:26.164966
2020-08-16T10:46:16
2020-08-16T10:46:16
186,588,449
3
0
null
null
null
null
UTF-8
Python
false
false
1,391
py
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def oddEvenList(self, head): """ 给定一个单链表,把所有的奇数节点和偶数节点分别排在一起。 请注意,这里的奇数节点和偶数节点指的是节点编号的奇偶性,而不是节点的值的奇偶性。 请尝试使用原地算法完成。你的算法的空间复杂度应为 O(1),时间复杂度应为 O(nodes),nodes 为节点总数。 --...
[ "762307667@qq.com" ]
762307667@qq.com