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
0f57f25e6830e8a8a6c29f9389d56e4d28244ca4
8240abd177ece3a1cf2d753cc5694c1fec478709
/week1/codeingBat/list-1/11.py
cf2becfbba95f6796832323d11c3203f3efb0f6e
[]
no_license
DastanB/BF-Django
255001185d8a8318bd19b750fe662a7f86b64d92
adcd1d968b94ea5097fd3d03338f031d5497d463
refs/heads/master
2022-10-27T06:44:56.648527
2018-11-24T18:33:35
2018-11-24T18:33:35
147,125,321
1
1
null
2022-10-19T08:22:54
2018-09-02T22:07:22
Python
UTF-8
Python
false
false
52
py
def make_ends(nums): return [nums[0], nums[-1]]
[ "dastan211298@gmail.com" ]
dastan211298@gmail.com
8870bd24e5ffe301721b460d9d17fd2f21eb6d2a
904e75e2ceff81c18a432fe1b951b683e859cbed
/views/home.py
00e8a59f5996bfd50c7e509807307c71b893ddd0
[]
no_license
PUYUP/plutoborn
a42c65fa360de41a1236af00b5718948dc1b9940
e6b47b7f183fcff60fa803329e11c2e87de560ef
refs/heads/master
2022-12-05T17:06:10.049472
2020-08-19T09:12:45
2020-08-19T09:12:45
254,116,939
0
0
null
null
null
null
UTF-8
Python
false
false
9,622
py
import datetime from django.conf import settings from django.views import View from django.shortcuts import render, redirect from django.urls import reverse from django.core.exceptions import ValidationError, ObjectDoesNotExist from django.db.models import ( Count, Prefetch, Case, When, Value, BooleanField, Intege...
[ "hellopuyup@gmail.com" ]
hellopuyup@gmail.com
87952ccd9a2eb59e81b8c92ef355b23f757f7304
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part004399.py
ecb633d07fd632fb4d5e0042ffa3c812f780ceff
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,364
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
41704a03c9c525e5742496757d48362c163126ef
26ae248d7f1ca16c51c4f34c1f67ef19be162a4e
/targAssign.py
5ac00997505f5b61d411830f332333dfd23ee9a2
[]
no_license
csayres/astro598
0d87373904da8419b90665fb84d747cf49830ef6
676b7ae9ae08fbeca48ded0c6f980892e907972f
refs/heads/master
2020-11-24T05:42:13.775053
2019-12-14T09:22:10
2019-12-14T09:22:10
227,990,176
0
0
null
null
null
null
UTF-8
Python
false
false
5,555
py
import time from multiprocessing import Pool, cpu_count import pickle import numpy import matplotlib.pyplot as plt from keras.models import Sequential, load_model from keras.layers import Dense from kaiju import RobotGrid, utils nHexDia = 7 xCoords, yCoords = utils.hexFromDia(nHexDia) nPositioners = len(xCoords) p...
[ "csayres@uw.edu" ]
csayres@uw.edu
2b5b147fd0ab404cd378d2b57cda206bc53c6ab4
1c6276c90ab97004e2435a539d011c5b9d08d134
/electrum/simple_config.py
83eec9befca8755f965b89e3090798660e730bf0
[ "MIT" ]
permissive
c4pt000/electrum-ravencoin-lite
020dedec4891293e9439f4692c0e5855466c249d
fe0f139a3708261467beb855700f56b5fbc7c2e9
refs/heads/main
2023-08-24T00:52:51.983733
2021-10-20T13:22:15
2021-10-20T13:22:15
406,919,123
0
1
null
null
null
null
UTF-8
Python
false
false
24,218
py
import json import threading import time import os import stat import ssl from decimal import Decimal from typing import Union, Optional from numbers import Real from copy import deepcopy from aiorpcx import NetAddress from . import util from . import constants from .util import base_units, base_unit_name_to_decimal_...
[ "you@example.com" ]
you@example.com
63da4abf9140ef6028f7be93dad6d9462a3652ae
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20200414/codes/output/code081.py
b7717f8dce6a21d9f95ef23b3b3ed26b31bdeef3
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
200
py
import pygal chart = pygal.Line(stroke_style={'width': 5, 'dasharray': '3, 6', 'linecap': 'round', 'linejoin': 'round'}) chart.add('line', [.0002, .0005, .00035]) print(chart.render(is_unicode=True))
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
403f0e4f49753a0aec4176cc3333a60bd7a59334
55ab64b67d8abc02907eb43a54ff6c326ded6b72
/scripts/addon_library/local/uvpackmaster3/overlay.py
9f6fb0255008525ae59e25abc9636f43e1684ffc
[ "MIT" ]
permissive
Tilapiatsu/blender-custom_config
2f03b0bb234c3b098d2830732296d199c91147d0
00e14fc190ebff66cf50ff911f25cf5ad3529f8f
refs/heads/master
2023-08-16T14:26:39.990840
2023-08-16T01:32:41
2023-08-16T01:32:41
161,249,779
6
2
MIT
2023-04-12T05:33:59
2018-12-10T23:25:14
Python
UTF-8
Python
false
false
6,194
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "tilapiatsu@hotmail.fr" ]
tilapiatsu@hotmail.fr
7a08037735251f82bbeb0a141dc986cc6be5b018
db9cc680a60997412eae035b257cc77efbcdcb06
/py3/leetcodeCN/tree/111. Minimum Depth of Binary Tree.py
32a79a0af7a51bccd7310bf7ea62463e9dd2d775
[]
no_license
Azson/machineLearning
9630b62c73b2388a57c630644dae3ffa8e4db236
35662ddf39d322009f074ce8981e5f5d27786819
refs/heads/master
2022-05-06T07:03:23.543355
2021-08-20T14:57:25
2021-08-20T14:57:25
179,935,258
3
3
null
2019-11-04T14:26:51
2019-04-07T08:07:08
Python
UTF-8
Python
false
false
482
py
#!/usr/bin/python # -*- coding: utf-8 -*- def minDepth(root): ls = [root] ans = 0 while len(ls) > 0: ans += 1 la = len(ls) for i in range(la): root = ls[i] if not (root.left and root.right): return ans+1 if root.left: ...
[ "240326315@qq.com" ]
240326315@qq.com
58efa655d1487cd5d3f26dbe92f3eb954bf9e877
ca42e62ce157095ace5fbaec0bf261a4fb13aa6a
/pyenv/lib/python3.6/site-packages/rest_framework/utils/serializer_helpers.py
4734332af888219ce4589dd089dcda9352ed0871
[ "Apache-2.0" ]
permissive
ronald-rgr/ai-chatbot-smartguide
58f1e7c76b00248923f5fe85f87c318b45e38836
c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf
refs/heads/master
2021-04-18T03:15:23.720397
2020-03-23T17:55:47
2020-03-23T17:55:47
249,500,344
0
0
Apache-2.0
2021-04-16T20:45:28
2020-03-23T17:35:37
Python
UTF-8
Python
false
false
4,617
py
from __future__ import unicode_literals import collections from collections import OrderedDict from django.utils.encoding import force_text from rest_framework.compat import unicode_to_repr class ReturnDict(OrderedDict): """ Return object from `serializer.data` for the `Serializer` class. Includes a ba...
[ "ronald.garcia@gmail.com" ]
ronald.garcia@gmail.com
febdaae751915967a6fef3b5f718c6b4c230ab89
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/008_graph_algorithms/_exercises/templates/Cracking Coding Interviews - Mastering Algorithms/clone-graph-bfs.py
08c345f3dc7c721c8efea80633a287a2e51fb103
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,084
py
# c_ Node # ___ - val neighbors # ? ? # ? ? # # # Example Input: # # # 1 <---> 2 # # ^ ^ # # | | # # v v # # 4 <---> 3 # # # Example Output: # # # 1 <---> 2 # # ^ ^ # # | | # # v v # # 4 <---> 3 # # ___ clone node # queue _ # LIST # # visited _ # DICT # # ?.ap.. ? # # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
9e484b15c88d0bde693c3cc2535cf40b53bbc640
5a0122509b4e7e15e556460d261d9d8a1cee76ad
/repository/base/docattachments_pb.py
ddad9c7ef5a420750f8e46c2777173bcc3458696
[]
no_license
cash2one/BHWGoogleProject
cec4d5353f6ea83ecec0d0325747bed812283304
18ecee580e284705b642b88c8e9594535993fead
refs/heads/master
2020-12-25T20:42:08.612393
2013-04-13T14:01:37
2013-04-13T14:01:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,677
py
# This file automatically generated by protocol-compiler from repository/base/docattachments.proto # DO NOT EDIT! from google3.net.proto import ProtocolBuffer import array import thread from google3.net.proto import _net_proto___parse__python __pychecker__ = """maxreturns=0 maxbranches=0 no-callinit ...
[ "nojfouldshere@gmail.com" ]
nojfouldshere@gmail.com
6581711d6a4c030829ec7b03eb6558cac005f100
6bb4291e34598a83d1cd4631abd04ae00df5290b
/api/test/utils/test_utils.py
9b440e5c4479bc56943a720ec1d824546f1bb28c
[]
no_license
Frost-Lee/order_scheduling
f1f2e69bc142a81869f70697b79cb7f2664d6b2e
825456c1b9a95011fe3530a2fb449dffd40f5246
refs/heads/main
2023-01-12T12:27:45.182521
2020-11-16T06:06:13
2020-11-16T06:06:13
312,620,540
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
import unittest from scheduler.utils import utils class TestUtils(unittest.TestCase): def test_aggregate_tuples(self): with self.assertRaisesRegex(AssertionError, 'index out of range'): utils.aggregate_tuples([('a', 'b', 1)], [2, 3], 0) utils.aggregate_tuples([('a', 'b', 1)], [1, ...
[ "canchen.lee@gmail.com" ]
canchen.lee@gmail.com
486140921bdefd70a51c334abbc4653f45f45993
7967b7652dcf580d54fa891f560cdc82f1f1ca14
/shell/tinkerforge.header
09cdc5c5ce8dc225a07e272d7c79c5c3a120185a
[]
no_license
chuangke365/tfgenerators
1c3a75b2a463697b54a7e618f36d36593835ba17
05d76d03b3499e0449b5ee65f93eab14186c2153
refs/heads/master
2020-12-29T02:47:11.043814
2015-03-19T16:27:01
2015-03-19T16:27:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,302
header
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2013-2014 Matthias Bolte <matthias@tinkerforge.com> # # Version <<VERSION>> # # Redistribution and use in source and binary forms of this file, # with or without modification, are permitted. See the Creative # Commons Zero (CC0 1.0) License for more details...
[ "matthias@tinkerforge.com" ]
matthias@tinkerforge.com
076c5361b321dec4c40f27a6bcaae40a5b2d2e57
e811c41caa55559d3b482f26c31fcef02ec66138
/venv/Lib/site-packages/typed_ast/ast27.py
e11ebc20fa0017659085dcd93b58a00a972ffd12
[ "MIT" ]
permissive
1SouravGhosh/POC_REPO
929ea865d60a51597966ffcfc4a7a3a350a00f54
e486d9a1fe0e1215f24bac3aaf97517cda21a066
refs/heads/master
2022-11-01T09:53:56.443500
2019-02-17T16:21:48
2019-02-17T16:21:48
171,133,391
0
1
MIT
2022-10-22T04:17:54
2019-02-17T14:45:39
Python
UTF-8
Python
false
false
12,603
py
# -*- coding: utf-8 -*- """ ast27 ~~~ The `ast27` module helps Python applications to process trees of the Python abstract syntax grammar. The abstract syntax itself might change with each Python release; this module helps to find out programmatically what the current grammar looks like and al...
[ "1SouravGhosh@noreply.github.com" ]
1SouravGhosh@noreply.github.com
33c449dc19c9effe47b503bea32359f5b42fb142
f652cf4e0fa6fbfcca8d94cec5f942fd8bd021a0
/mbuild/__init__.py
bac5509ac8b9754a7fb64e88b372b76f045f4dc3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Jonestj1/mbuild
83317ab3a53f40ff6c9c69f6be542b8562602eee
411cc60d3ef496fa26541bb0b7ea8dcf8c7449e4
refs/heads/master
2021-01-20T19:45:11.563610
2017-02-13T18:16:12
2017-02-13T18:16:12
32,886,030
0
0
null
2015-03-25T19:24:50
2015-03-25T19:24:50
null
UTF-8
Python
false
false
339
py
from mbuild.box import Box from mbuild.coarse_graining import coarse_grain from mbuild.coordinate_transform import * from mbuild.compound import * from mbuild.pattern import * from mbuild.packing import * from mbuild.port import Port from mbuild.recipes import * from mbuild.formats import * from mbuild.versi...
[ "christoph.t.klein@me.com" ]
christoph.t.klein@me.com
ea8f72a37588594d3881ecbe62617f136c7c6869
a0c782c69420f513bd2d0c0fcea896f732b05cb2
/account_bank_statement_advanced/res_partner_bank.py
5f1063e39f9b4a98c855f959b4764797ab92eb80
[]
no_license
SVQTQ/noviat-apps
8b5116287681fabcefc5d456786c16c717de54ab
57ec751ccd4a3e32798ec8851c3501e809c09f91
refs/heads/8.0
2020-04-08T19:55:06.699350
2015-07-29T14:34:22
2015-07-29T14:34:22
32,148,042
0
0
null
2015-07-29T14:34:22
2015-03-13T09:45:48
Gettext Catalog
UTF-8
Python
false
false
3,843
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # # Copyright (c) 2014-2015 Noviat nv/sa (www.noviat.com). # # This program is free software: you can redistribute it and/or modify # it under the terms of th...
[ "luc.demeyer@noviat.com" ]
luc.demeyer@noviat.com
a80777a871d9539635a4e13543e35fe55d86461d
7f9a73533b3678f0e83dc559dee8a37474e2a289
/aws-serverless-for-deep-learning-first-steps-workshop/notebooks/deep-learning-inference/PIL/PixarImagePlugin.py
5ea32ba89be5253e3ad0e8349be1bdcb42bb2494
[ "MIT" ]
permissive
ryfeus/stepfunctions2processing
04a5e83ee9b74e029b79a3f19381ba6d9265fc48
0b74797402d39f4966cab278d9718bfaec3386c2
refs/heads/master
2022-10-08T16:20:55.459175
2022-09-09T05:54:47
2022-09-09T05:54:47
147,448,024
128
34
MIT
2022-01-04T18:56:47
2018-09-05T02:26:31
Python
UTF-8
Python
false
false
1,657
py
# # The Python Imaging Library. # $Id$ # # PIXAR raster support for PIL # # history: # 97-01-29 fl Created # # notes: # This is incomplete; it is based on a few samples created with # Photoshop 2.5 and 3.0, and a summary description provided by # Greg Coats <gcoats@labiris.er.usgs.gov>. Hop...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
cbb69a91ee6be1562c57094de5515967c74944d9
123d26781801473dc59d8be847dbac79d4b555df
/configs/swin/mask_rcnn_swin_tiny_patch4_window7_mstrain_480-800_adamw_3x_coco_fashion.py
8c91f897f95d7b08f2b9d121d6a71c791be11601
[ "Apache-2.0" ]
permissive
jireh-father/CBNetV2
c2ed5358a81dde7dff3b50614371afe6045553c0
0b62f8107d72691a02efb7c92fc6dfcf5d0d0262
refs/heads/main
2023-07-17T16:42:55.126767
2021-08-31T10:34:15
2021-08-31T10:34:15
398,468,051
0
0
Apache-2.0
2021-08-21T04:47:14
2021-08-21T04:47:14
null
UTF-8
Python
false
false
3,037
py
_base_ = [ '../_base_/models/mask_rcnn_swin_fpn_fashion.py', '../_base_/datasets/coco_instance_fashion.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] model = dict( backbone=dict( embed_dim=96, depths=[2, 2, 6, 2], num_heads=[3, 6, 12, 24], wi...
[ "seoilgun@gmail.com" ]
seoilgun@gmail.com
8893df317f1c158e4400b4b8eb0be1430d608747
130e13bfad23961739613f78a7f3e59c67d28cac
/utility/resnet.py
e5a80a23b027647809fcf951058e2e1ada2ab564
[ "Apache-2.0" ]
permissive
dashmoment/aic_scene
981a0faca39b2079203d24a961a491905f0f2ca9
3e68c03f032b3979feb17b550a953e5aafc970c1
refs/heads/master
2021-07-12T05:47:35.491495
2017-09-29T09:53:54
2017-09-29T09:53:54
103,190,682
1
0
null
null
null
null
UTF-8
Python
false
false
10,689
py
import skimage.io # bug. need to import this before tensorflow import skimage.transform # bug. need to import this before tensorflow import tensorflow as tf from tensorflow.python.ops import control_flow_ops from tensorflow.python.training import moving_averages from resnet_config import Config import datetime imp...
[ "dashmoment1017@gmail.com" ]
dashmoment1017@gmail.com
f95aaa24aa81978b09838def7e11466bbd207ccd
eb2d683106f2a2ee6d266dd7f8fcdb4f86adb8fb
/datas/PY_gal.py
965ade949ac6fdc78f2e7b6ed621377afd9b8f38
[]
no_license
minicloudsky/PythonCode
2fb001d524c8e59eefa66f476a1119ff27e7df36
298a6db80a74a3b5f7d75f6037306e9e06ffa092
refs/heads/master
2023-02-07T18:25:04.753928
2020-12-20T03:27:07
2020-12-20T03:27:07
106,422,450
0
0
null
2020-09-26T03:27:31
2017-10-10T13:41:28
Python
UTF-8
Python
false
false
31
py
import pygal hist = pygal.Bar()
[ "1397991131@qq.com" ]
1397991131@qq.com
4b3aa7a1ee58238dd8a25b2a149447be16633036
64267b1f7ca193b0fab949089b86bc7a60e5b859
/slehome/manage.py
1cb83a303a492fa808560a2831d6104bd01a8931
[]
no_license
hongdangodori/slehome
6a9f2b4526c2783932627b982df0540762570bff
3e558c78c3943dadf0ec485738a0cc98dea64353
refs/heads/master
2021-01-17T12:00:34.221088
2015-02-06T13:44:00
2015-02-06T13:44:00
28,847,585
1
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "slehome.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "chungdangogo@gmail.com" ]
chungdangogo@gmail.com
ffd91bb863c0a3f67d1d3ed0d36bcd76c48916d4
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-1270.py
d68c3965a130f64994c9d66a570265f0edd9655d
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,757
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
76ac2d60a69c2c9463da4ae6c4547c5b867dd6e8
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_12_01/models/topology_association.py
7832c4a1904ba784c50b3cf5aae97796eb260dd0
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,586
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
e5c53766c994f5d150cd47187531f1339035c92b
065acd70109d206c4021954e68c960a631a6c5e3
/shot_detector/utils/collections/sliding_windows/__init__.py
dbbbfbf2e08e76dc001cf31e3d17b64c790ba048
[]
permissive
w495/python-video-shot-detector
bf2e3cc8175687c73cd01cf89441efc349f58d4d
617ff45c9c3c96bbd9a975aef15f1b2697282b9c
refs/heads/master
2022-12-12T02:29:24.771610
2017-05-15T00:38:22
2017-05-15T00:38:22
37,352,923
20
3
BSD-3-Clause
2022-11-22T01:15:45
2015-06-13T01:33:27
Python
UTF-8
Python
false
false
347
py
# -*- coding: utf8 -*- """ Different kinds of sliding windows """ from __future__ import absolute_import, division, print_function from .base_sliding_window import BaseSlidingWindow from .delayed_sliding_window import DelayedSlidingWindow from .repeated_sliding_window import RepeatedSlidingWindow from .sliding_w...
[ "w@w-495.ru" ]
w@w-495.ru
494209f5626eff8613f8403f2084829f49a30c87
1554150a9720ebf35cd11c746f69169b595dca10
/package_package/package/model/fuzzy_number.py
b64b535dfc851ec40ee6a38917dddbbf78b72a3a
[]
no_license
andrewili/shape-grammar-engine
37a809f8cf78b133f8f1c3f9cf13a7fbbb564713
2859d8021442542561bdd1387deebc85e26f2d03
refs/heads/master
2021-01-18T22:46:51.221257
2016-05-31T21:15:28
2016-05-31T21:15:28
14,129,359
1
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
import numpy as np almost_equal = np.allclose class FuzzyNumber(object): def __init__(self, number_in): """Receives: number_in num """ method_name = '__init__' try: if not self._is_a_number(number_in): raise TypeError except Type...
[ "i@andrew.li" ]
i@andrew.li
a9297cfbbfe53a5bdce5b575f72cd5880abbafce
2154d0221e29a86850a1b83e4302f6e3e3f7fa5d
/thread_example/simple_thread_example.py
6f5917fe97dff2fcaaacbf683f71542762a6a5f6
[]
no_license
aaqqxx/simple_for_life
3b8805c6791da6a3a7f42c069dc1ee7d2b8d3649
9ad6d61a56216d04250cd89aeaeda63c11942d0a
refs/heads/master
2020-04-04T09:18:59.396540
2015-04-28T11:22:55
2015-04-28T11:22:55
20,906,518
1
0
null
null
null
null
UTF-8
Python
false
false
268
py
# coding:utf-8 #!/usr/bin/env python __author__ = 'XingHua' """ """ import time, thread def timer(): print('hello') def test(): for i in range(0, 10): thread.start_new_thread(timer, ()) if __name__ == '__main__': test() time.sleep(10)
[ "aaqqxx1910@gmail.com" ]
aaqqxx1910@gmail.com
9009efdfe35f109ffbf2ed9bc2895223798d906d
2f42c6d1fddccc481354148393b9b44165826c04
/test/FsrAnalysis/PmvTreeMaker_cfg.py
19afc0d561fe2b2cedabc88728d5afeb0336515a
[]
no_license
senka/MultiBosons
2ef3dc86e9f0a90f911557638fe79631fef0b3d2
e8413aa280d85376a2f6dfe300bf52b78b4da437
refs/heads/master
2021-03-12T20:15:44.118577
2013-11-20T21:21:01
2013-11-20T21:21:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,460
py
import FWCore.ParameterSet.Config as cms import FWCore.ParameterSet.VarParsing as VarParsing import FWCore.ParameterSet.Types as CfgTypes import PhysicsTools.PythonAnalysis.LumiList as LumiList ## setup 'analysis' options options = VarParsing.VarParsing ('analysis') ## register customized options options.register("j...
[ "senka.duric@cern.ch" ]
senka.duric@cern.ch
3922747c24aeae6863311beb748f65358b035f73
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D95A/DIRDEBD95AUN.py
5415a9c13741232f73c37ae3b49aa4c18660d498
[]
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
4,507
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD95AUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 1, MAX: 1}, {ID: 'BUS', MIN: 0, MAX: 1}, {ID: 'RFF'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
bbf4965b241b4632e2d4a349b3869fba4cb9831f
ca23b411c8a046e98f64b81f6cba9e47783d2584
/poem/core/models_test.py
a0db94e4d47fae13658d07b17e82bce15a3e7851
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
pdybczak/google-research
1fb370a6aa4820a42a5d417a1915687a00613f9c
0714e9a5a3934d922c0b9dd017943a8e511eb5bc
refs/heads/master
2023-03-05T23:16:11.246574
2021-01-04T11:30:28
2021-01-04T11:30:28
326,629,357
1
0
Apache-2.0
2021-02-01T12:39:09
2021-01-04T09:17:36
Jupyter Notebook
UTF-8
Python
false
false
9,686
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
9f5061630659beed761f1e56fb5a1083b3bb3c3d
234c46d1249c9209f268417a19018afc12e378b4
/tests/modules/transformer/activation_layer_test.py
2af0338a92e9723143c9b963856628980b4971bc
[ "Apache-2.0" ]
permissive
allenai/allennlp
1f4bcddcb6f5ce60c7ef03a9a3cd6a38bdb987cf
80fb6061e568cb9d6ab5d45b661e86eb61b92c82
refs/heads/main
2023-07-07T11:43:33.781690
2022-11-22T00:42:46
2022-11-22T00:42:46
91,356,408
12,257
2,712
Apache-2.0
2022-11-22T00:42:47
2017-05-15T15:52:41
Python
UTF-8
Python
false
false
804
py
import torch import pytest from allennlp.common import Params from allennlp.modules.transformer import ActivationLayer @pytest.fixture def params_dict(): return { "hidden_size": 5, "intermediate_size": 3, "activation": "relu", } @pytest.fixture def params(params_dict): return Pa...
[ "noreply@github.com" ]
allenai.noreply@github.com
074aeca3d97502ed60c27a33d1803a45293f210c
c1ea75db1da4eaa485d39e9d8de480b6ed0ef40f
/app/api/app.py
bafb5b35fd82a3d3b5865aa651d5ecb12186e978
[ "Apache-2.0" ]
permissive
gasbarroni8/VideoCrawlerEngine
a4f092b0a851dc0487e4dcf4c98b62d6282a6180
994933d91d85bb87ae8dfba1295f7a69f6d50097
refs/heads/master
2023-04-06T07:59:29.269894
2021-02-10T16:09:15
2021-02-10T16:09:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
from fastapi import FastAPI from fastapi.staticfiles import StaticFiles from fastapi.responses import HTMLResponse from .routers import include_routers from app.helper.middleware import include_exception_handler from helper.conf import get_conf from .helper import read_html_file from app.helper.middleware.proxy import...
[ "zzsaim@163.com" ]
zzsaim@163.com
13a95e0835eddd0fa3db784494dd57177d13927b
8fcdcec1bf0f194d23bba4acd664166a04dc128f
/packages/grid_control_update.py
d21546c84a97777c2b4b0811e15519a89314cefb
[]
no_license
grid-control/grid-control
e51337dd7e5d158644a8da35923443fb0d232bfb
1f5295cd6114f3f18958be0e0618ff6b35aa16d7
refs/heads/master
2022-11-13T13:29:13.226512
2021-10-01T14:37:59
2021-10-01T14:37:59
13,805,261
32
30
null
2023-02-19T16:22:47
2013-10-23T14:39:28
Python
UTF-8
Python
false
false
1,227
py
#!/usr/bin/env python # | Copyright 2014-2017 Karlsruhe Institute of Technology # | # | 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 ...
[ "stober@cern.ch" ]
stober@cern.ch
0817e8833e06cdbb3dc7357bbdcedcc83fb04a46
73fcadae6177ab973f1aa3ffe874ac3fadb52312
/server/fta/utils/i18n.py
4f91cd88e9509cabeab6ce284564a7f4a93d9ea7
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSL-1.0", "Apache-2.0" ]
permissive
huang1125677925/fta
352cd587aaca3d3149516345559d420c41d1caf4
a50a3c498c39b14e7df4a0a960c2a1499b1ec6bb
refs/heads/master
2023-03-18T16:08:40.904716
2019-02-22T09:35:23
2019-02-22T09:35:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,745
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
[ "mycyzs@163.com" ]
mycyzs@163.com
cef06aa93427891f9e1de15f76de7e4aa063276f
48ba8d0788e4ac7d4cacd7e7a2e2cf4f391c85ad
/Apple/rectangle_overlap.py
2fe9ccc6190a3b2c9e19a0c9399b0cd7700fb388
[]
no_license
rahulvshinde/Python_Playground
c28ac2dc0865e254caa5360c3bb97b4ff5f23b3a
7a03b765dd440654caba1e06af5b149f584e9f08
refs/heads/master
2023-04-19T17:25:55.993837
2021-05-17T01:15:30
2021-05-17T01:15:30
280,736,898
2
0
null
null
null
null
UTF-8
Python
false
false
886
py
""" A rectangle is represented as a list [x1, y1, x2, y2], where (x1, y1) are the coordinates of its bottom-left corner, and (x2, y2) are the coordinates of its top-right corner. Two rectangles overlap if the area of their intersection is positive. To be clear, two rectangles that only touch at the corner or edges do...
[ "r.shinde2007@gmail.com" ]
r.shinde2007@gmail.com
fdb935308c84e6e8df3718a147bb41f284314a06
5be8b0f2ee392abeee6970e7a6364ac9a5b8ceaa
/xiaojian/forth_phase/Django./day03/exersice/exersice/wsgi.py
3d56e7a2957ad8662abfa9118725486dff7fda08
[]
no_license
Wellsjian/20180826
424b65f828f0174e4d568131da01dafc2a36050a
0156ad4db891a2c4b06711748d2624080578620c
refs/heads/master
2021-06-18T12:16:08.466177
2019-09-01T10:06:44
2019-09-01T10:06:44
204,462,572
0
1
null
2021-04-20T18:26:03
2019-08-26T11:38:09
JavaScript
UTF-8
Python
false
false
394
py
""" WSGI config for exersice project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "1149158963@qq.com" ]
1149158963@qq.com
8bbb7896a9faa5e12fd9ed8815e374e5c0f9b90b
61afe17201589a61c39429602ca11e3fdacf47a9
/Chapter3/Day19/12.异常细分(了解).py
53a37128647faf14441789776924fc9aa2b738f8
[]
no_license
Liunrestrained/Python-
ec09315c50b395497dd9b0f83219fef6355e9b21
6b2cb4ae74c59820c6eabc4b0e98961ef3b941b2
refs/heads/main
2023-07-17T14:16:12.084304
2021-08-28T14:05:12
2021-08-28T14:05:12
399,408,426
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
import requests from requests import exceptions while True: url = input("下载链接") try: res = requests.get(url=url) print(res) except exceptions.MissingSchema as e: # 细分处理 print("URL架构不存在") except exceptions.InvalidSchema as e: # 细分处理 print("URL架构错误") exce...
[ "noreply@github.com" ]
Liunrestrained.noreply@github.com
ce554e2695eb9840c6d0399b1f782c9eb8d9d10e
d30cb6a597f6a5fad9a01da77594a225daf9a211
/Lesson 4 - File Handling/project/attempt_1/suffix.py
34ed3d75c984c7bdfaaf0517676f8b2ac263c7dd
[]
no_license
jmwoloso/Python_2
290ef8b0c7db8347fa25cf39da26f39e218d9c68
06c45545ed064d0e9c4fd15cc81cf454cb079c9d
refs/heads/master
2020-04-24T02:18:34.058148
2015-08-02T21:02:02
2015-08-02T21:02:02
37,082,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
#!/usr/bin/python3 # A Program Used for Assigning Suffixes # suffix.py # # Created by: Jason Wolosonovich # 02-24-2015 # # Lesson 4 - Project 1, Attempt 1 """ Contains a dict that houses the extensions of many common file types. """ #global file_suffix_dict file_suffix_dict = { 1 : ".txt", ...
[ "jmwoloso@asu.edu" ]
jmwoloso@asu.edu
15ffd68d61b4a460ef95ddadae10b0d714791ef3
bc233c24523f05708dd1e091dca817f9095e6bb5
/bitmovin_api_sdk/models/dolby_digital_plus_downmixing_preferred_mode.py
dbe4b9349d8eabb5c12189d531b9a85ed63ac8e2
[ "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
268
py
# coding: utf-8 from enum import Enum from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model class DolbyDigitalPlusDownmixingPreferredMode(Enum): LO_RO = "LO_RO" LT_RT = "LT_RT" PRO_LOGIC_II = "PRO_LOGIC_II"
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
db4947dd7f21941b4aac995c4fe2285f661d7466
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_noisy1448.py
ae49b0570c58881f82ac7b3f628b829ccd29533b
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,294
py
# qubit number=5 # total number=51 import cirq import qiskit from qiskit.providers.aer import QasmSimulator from qiskit.test.mock import FakeVigo from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
2646f88f0590dd62b8ba725e67e06c4e9c20406e
b0fce7b572c78ee67ea0e2bd27e2837fffe66891
/setup.py
87b23bf3cfa596e1163e4cf81c7292a8ba217f97
[ "MIT" ]
permissive
ZizhouJia/pyson
300bd4c68cec3c0a42c5f3135e0447149ca86ebe
ba80336e6ec43456c0d1bf3e71109609b9489181
refs/heads/master
2020-08-15T07:55:24.704936
2019-11-29T08:46:35
2019-11-29T08:46:35
215,304,822
2
0
null
null
null
null
UTF-8
Python
false
false
725
py
import setuptools setuptools.setup( name="pypyson", version='0.01', description="A JSON like more powerful object notation for python", license="MIT License", author="ZizhouJia", author_email="jiazizhou@126.com", url="http://github.com/ZizhouJia/pyson", packages=setuptools.find_packages...
[ "jiazizhou@126.com" ]
jiazizhou@126.com
1d831cb9cfb9b9f7db96f0499fe3f0d02ab6c4ee
6302d46032f704aa2c8bb6e2810c19e3bb90c1c4
/server/netflix_backend/movies_api/migrations/0002_auto_20210219_1954.py
7ccbe630791c36378645ba0357d4a4f295324d1c
[]
no_license
raghavendra-musubi/netflix-django-rest-react-redux
304d28f68e13e9962f31593441ae1b7b36743952
fe78061ccc1c27ff78697cb5f21d92a313b8a7c0
refs/heads/main
2023-03-09T21:32:30.409919
2021-02-24T19:03:32
2021-02-24T19:03:32
340,214,274
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
# Generated by Django 3.1.6 on 2021-02-19 19:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movies_api', '0001_initial'), ] operations = [ migrations.AlterField( model_name='movie', name='category_id', ...
[ "raghavendra@techis.io" ]
raghavendra@techis.io
353ab642a8ae08763c52fbf98af5efa618985a9d
fb8cbebdf034b2f478943752d5443afc82c6eef5
/tuirer/venv/lib/python3.6/site-packages/pygments/lexers/int_fiction.py
1265072250a996322b6fafbc8a93654c2281faf8
[]
no_license
fariasjr/CitiTuirer
f64e0ec93ef088f8140bb0961d2ad4ed3b59448a
deb3f7a9c2d45b8a7f54639037f097b99abdac11
refs/heads/master
2020-03-24T05:10:36.261050
2018-08-01T20:24:30
2018-08-01T20:24:30
142,477,521
0
0
null
null
null
null
UTF-8
Python
false
false
55,826
py
# -*- coding: utf-8 -*- """ pygments.lexers.int_fiction ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lexers for interactive fiction languages. :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from pygments.lexer import (RegexLexer, bygroups,...
[ "jornadaciti@ug4c08.windows.cin.ufpe.br" ]
jornadaciti@ug4c08.windows.cin.ufpe.br
de87b1312d042de25ad09e1c1273fad0b0bc68a4
fa4b2b4ce915b4e58737f65efe7d18d1f45cbe27
/home/migrations/0001_initial.py
6f7e2af882d3cea72915015cbf036f11d7df263e
[]
no_license
Wishez/cosmeticsyou-v2.0
0fde09158944415b2471cb07dcf1e2cd1df85923
a0f6a1b11622cb36a5084781ad35f4eed2778f66
refs/heads/master
2022-12-26T12:47:53.693887
2020-10-12T20:22:30
2020-10-12T20:27:54
293,092,688
0
0
null
null
null
null
UTF-8
Python
false
false
15,946
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-10 15:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Callba...
[ "shiningfinger@list.ru" ]
shiningfinger@list.ru
f1852414a1506a6b10a1010751f35b8c44e0caba
7104726233d98dd714a445f4f516bce954680f7f
/PuThresholdTuning/python/runForest_PbPb_MIX_75X_PUThresholdVarR020.py
8fd43dffcd346d87d79593e728a23b559bab3f6a
[ "CC0-1.0" ]
permissive
mverwe/JetRecoValidation
7b09dada9a797b0ccf39064bdbc801639a8dd229
ee8b3fd94bac16390b367dc5030489738ff67958
refs/heads/master
2021-01-10T06:54:12.312670
2016-02-25T10:35:19
2016-02-25T10:35:19
43,553,652
0
0
null
null
null
null
UTF-8
Python
false
false
10,822
py
import FWCore.ParameterSet.Config as cms process = cms.Process('HiForest') process.options = cms.untracked.PSet( # wantSummary = cms.untracked.bool(True) #SkipEvent = cms.untracked.vstring('ProductNotFound') ) ################################################################################ # HiForest labelling...
[ "marta.verweij@cern.ch" ]
marta.verweij@cern.ch
3ae943c05939e10eb7593fa7d5be7c5f831a76c5
19d47d47c9614dddcf2f8d744d883a90ade0ce82
/pynsxt/swagger_client/models/aws_gateway_amis_list_result.py
5882e38c27c689298103233daa9be4d54349462e
[]
no_license
darshanhuang1/pynsxt-1
9ed7c0da9b3a64e837a26cbbd8b228e811cee823
fb1091dff1af7f8b8f01aec715682dea60765eb8
refs/heads/master
2020-05-25T14:51:09.932853
2018-05-16T12:43:48
2018-05-16T12:43:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,184
py
# coding: utf-8 """ NSX API VMware NSX REST API # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from swagger_client.models.aws_gateway_ami_info import AwsGatewayAmiInfo # noqa: F4...
[ "tcraft@pivotal.io" ]
tcraft@pivotal.io
0907267e98b96a3bfb69062100eb901fb42b8d3d
f7463bd0ab18b41611d5ac725f65d3db3a3a7a1d
/Generation Python - A Beginner's Course/13_Functions/13.5(return_v2)/7.py
05f6fc472054d62e8f0ac4d289c449cf867dab43
[]
no_license
Sergey-Laznenko/Stepik
f81c5aeead3fbd20628129d60ccce92b34724b97
5e1a1a76c3f6ed487cf8fc847913c890c8eac840
refs/heads/master
2022-12-28T19:01:48.670540
2020-10-18T15:23:58
2020-10-18T15:23:58
279,022,462
1
0
null
null
null
null
UTF-8
Python
false
false
561
py
def is_palindrome(a): if str(a) == str(a)[::-1]: return True else: return False def is_prime(b): if b in (0, 1): return False if b % 2 == 0: return False for i in range(3, round(b ** (1 / 2) + 1), 2): if b % i == 0: return False return True ...
[ "Laznenko.Sergey@gmail.com" ]
Laznenko.Sergey@gmail.com
ad8ea5912f2475677a294ad6b496f6e6354dab53
f7fe9c722b8fa7ed6e66080053706a495fffb2d8
/tensorflow/python/distribute/failure_handling/failure_handling.py
0acb76e8a30174efd1c32a7cf020cdaea0d941c2
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
Poet-LiBai/tensorflow
832d9d8ddb58b5560ba19119cf107bbe857208e7
f354ef21ae067a73fbc2ab45a7a5ceda4b0a1ff4
refs/heads/master
2022-05-02T04:06:27.411162
2022-04-21T02:45:39
2022-04-21T02:49:33
155,213,121
0
0
Apache-2.0
2018-10-29T13:04:55
2018-10-29T13:04:55
null
UTF-8
Python
false
false
35,947
py
# Copyright 2022 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 applicable ...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
70cb3d09402bd71b84303f0fe648479b8846a4b2
e93d1931789c99922a6b5ff3cf7e3bfe1c8bce3d
/blog/urls.py
feda7193e8da66168c2c798b1763fd13b33d3f73
[]
no_license
nhutphong/djangoblog
2653fcc34285788e7b34048acc7a078c88536c5c
e4bf2a0d43727c248b2a2006910a68063f99f186
refs/heads/master
2023-03-16T10:59:51.700275
2022-10-18T03:40:39
2022-10-18T03:40:39
237,549,725
1
0
null
2022-03-12T01:04:49
2020-02-01T02:23:09
Python
UTF-8
Python
false
false
1,089
py
from django.urls import path from django.contrib.auth.decorators import login_required from .views import ( ArticleListView, ArticleCreateView, ArticleDetailView, ArticleUpdateView, ArticleDeleteView, PaginationListView, SearchResultsView, ) from . import views_filter app_name = 'ar...
[ "nhutphong@outlook.com" ]
nhutphong@outlook.com
b2675f662be96e49ab8d4e0c301e40732a490cef
24d070c6410fdf7212c4c37c2fadc932cd4e8aec
/trac/wiki/test.py
b5941785692974b8d7b29d2432aee83ae302c289
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
clubturbo/Trac-1.4.2
4f111e8df9e8007a0e02080bec560361b25fc11c
254ce54a3c2fb86b4f31810ddeabbd4ff8b54a78
refs/heads/master
2023-01-20T16:20:44.724154
2020-12-03T08:57:08
2020-12-03T08:57:08
317,922,011
0
0
null
null
null
null
UTF-8
Python
false
false
8,528
py
# -*- coding: utf-8 -*- # # Copyright (C) 2004-2020 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at https://trac.edgewall.org/wiki/TracLicense. # # This soft...
[ "jonn@mindhunterx" ]
jonn@mindhunterx
71574601ac2b63d3341288b90ea931c5e3941b71
13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab
/home--tommy--mypy/mypy/lib/python2.7/site-packages/scikits/statsmodels/tools/decorators.py
b67ab7f9182886af449a828b1f8d2348ab11ea16
[ "Unlicense" ]
permissive
tommybutler/mlearnpy2
8ec52bcd03208c9771d8d02ede8eaa91a95bda30
9e5d377d0242ac5eb1e82a357e6701095a8ca1ff
refs/heads/master
2022-10-24T23:30:18.705329
2022-10-17T15:41:37
2022-10-17T15:41:37
118,529,175
0
2
Unlicense
2022-10-15T23:32:18
2018-01-22T23:27:10
Python
UTF-8
Python
false
false
7,973
py
from numpy.testing import * import warnings __all__ = ['resettable_cache','cache_readonly', 'cache_writable'] class CacheWriteWarning(UserWarning): pass class ResettableCache(dict): """ Dictionary whose elements mey depend one from another. If entry `B` depends on entry `A`, changing the values of ...
[ "tbutler.github@internetalias.net" ]
tbutler.github@internetalias.net
9da746164e40ff74bb887fd59775557656eb228e
21e87dc5abaf8c8dfe7adfb72c38648f415d038c
/16_developer_tools/11_compileall/example/subfolder2/c.py
4713d0f8c91464a958dcfae43283a515af70bba3
[]
no_license
ariesduanmu/python3_standard_library
f2badbb6047b6003ddeccb77ba2892074510f0ff
905ae53d0970be442bcf3d2a9dc3eadbc58367e5
refs/heads/master
2022-04-23T21:05:52.862076
2020-04-23T16:44:14
2020-04-23T16:44:14
241,277,069
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
# -*- coding: utf-8 -*- # @Author: Li Qin # @Date: 2020-02-24 09:30:22 # @Last Modified by: Li Qin # @Last Modified time: 2020-02-24 09:30:56 def minus(a, b): return a-b
[ "aries.duanmu@gmail.com" ]
aries.duanmu@gmail.com
d06b868fa88c5d499dd32895fd542a19fc18deb0
eed7b5aa4861086d34e539e7bbfeff4286506692
/src/Game/Effects/spend_power.py
2286d1f6e407736c8ea6bf6088203090a386bc5c
[]
no_license
dfwarden/DeckBuilding
0be2ccb68fc9a69c8eaa1d8acedeaa7cebef1a31
0b5a7573a3cf33430fe61e4ff8a8a7a0ae20b258
refs/heads/master
2021-01-18T09:52:51.880892
2015-02-03T03:21:17
2015-02-03T03:21:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
class SpendPower: """ Represents an effect to spend power this turn """ def __init__(self, power): """ Initialize the Effect with the power to spend """ self.power = power def perform(self, context): """ Perform the Game Effect """ context.owner.spend...
[ "cloew123@gmail.com" ]
cloew123@gmail.com
5309fa1188f170b8efbe4b43b64fe524a1b8e1e9
db8ab70de135d8bddc2c6df865b98ed76c2b92ee
/model/toxic_comment_classifier.py
f0bf2a9509d6372736d134cd7b3551e2797e332d
[]
no_license
boyuan12/ToxicBlockPlus
718af4970f27e9eba9c454268a75c53c007f7737
f90a46b9748a8d4dcdfc9e8c19279cc6aeed46c5
refs/heads/main
2023-02-26T21:20:56.878995
2021-02-09T01:15:34
2021-02-09T01:15:34
335,865,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
from typing import List from bentoml import api, artifacts, env, BentoService from bentoml.frameworks.keras import KerasModelArtifact from bentoml.service.artifacts.common import PickleArtifact from bentoml.adapters import DataframeInput, JsonOutput from keras.preprocessing import text, sequence import numpy as np im...
[ "boyuanliu6@yahoo.com" ]
boyuanliu6@yahoo.com
434bfb4f4cc27692073954c84c66e1218f428b56
af47e1dd1405ebd5267e7f8cf22f7b4429fcef00
/scattertext/termscoring/g2.py
7ba2d01a83690dfca816ad03c8a93d0365684bad
[ "MIT", "CC-BY-NC-SA-4.0", "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
JasonKessler/scattertext
72ce3b35d71af595f7797de845ba93b4bb0091b4
b41e3a875faf6dd886e49e524345202432db1b21
refs/heads/master
2023-05-11T06:42:51.108527
2023-05-06T19:23:59
2023-05-06T19:23:59
63,827,736
2,187
303
Apache-2.0
2023-05-06T19:24:00
2016-07-21T01:47:12
Python
UTF-8
Python
false
false
4,143
py
import numpy as np import pandas as pd from scipy.stats import chi2 from statsmodels.stats.multitest import fdrcorrection from scattertext.termscoring.CorpusBasedTermScorer import CorpusBasedTermScorer def g2_term(O, E): res = O.astype(np.float64) * (np.log(O) - np.log(E)) res[O == 0] = 0 return res de...
[ "JasonKessler@users.noreply.github.com" ]
JasonKessler@users.noreply.github.com
2ef11f6cdbf8403c0d448a2d67022c40b83c6620
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=0.8_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=60/sched.py
48c7bde40359bfb09d24223c9a5ccb1161b938c2
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
-X FMLP -Q 0 -L 3 104 400 -X FMLP -Q 0 -L 3 78 300 -X FMLP -Q 0 -L 3 69 300 -X FMLP -Q 0 -L 3 64 300 -X FMLP -Q 1 -L 2 62 250 -X FMLP -Q 1 -L 2 54 175 -X FMLP -Q 1 -L 2 49 300 -X FMLP -Q 2 -L 2 49 150 -X FMLP -Q 2 -L 2 43 150 -X FMLP -Q 2 -L 2 37 250 -X FMLP -Q 3 -L 1 35 250 -X FMLP -Q...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
2b0b60fa7dc054457ed41a697b42028cc176aa8f
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/ml_debiaser/randomized_threshold.py
11e80f5069ecc7299769e3dd9478b15431da9356
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
10,142
py
# coding=utf-8 # Copyright 2022 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
0397c9f0d2e40acf497622b8b4cb2e5299202bba
471ea669e21abdb4e4915610b4b5eb43ea3cffe9
/剑指Offer/31.整数中1出现的次数.py
d663b71492aabfba5cd8ae82b899c772a9d0eb39
[]
no_license
JiahuaLink/nowcoder-leetcode
26aed099e215cfc1d8e8afffc62fafa26b26b06f
0155fc33511cbe892f58550d561d3aa3efcd56b9
refs/heads/master
2023-07-09T03:05:31.227720
2021-08-03T06:50:36
2021-08-03T06:50:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
# 方法一:判断整数每个数字 class Solution: def NumberOf1Between1AndN_Solution(self, n): count = 0 for i in range(1, n+1): temp = i while(temp): if temp%10 == 1: count += 1 temp /= 10 return count # 方法二:将整数转为字符串逐位判断 ...
[ "noreply@github.com" ]
JiahuaLink.noreply@github.com
3220c6fedfbdef66c2d1bc9c9c4a39bc047ce8ae
40c2bce56832d97797c115f60d1e0459fd4ebf93
/Eclipse_Project_2/Section_1_5/database.py
3c56f2e590f4f519ae6e0c1a2f4d52010d0af71a
[]
no_license
amanoj319319319/Eclipse_Python_LastSeleniumTest
0be2e7f615160248f329b4df0e9d109612b29560
4d0978e4c2dfe9c3a9d4b429f7ff6340278c0252
refs/heads/master
2023-04-27T09:14:38.726807
2021-05-19T08:18:40
2021-05-19T08:18:40
267,038,244
0
0
null
2021-05-19T08:17:45
2020-05-26T12:35:36
Python
UTF-8
Python
false
false
6,224
py
#connecting to the database using database credentials and finding version of the database ''' import cx_Oracle con=cx_Oracle.connect('system/Manoj319319319') if con!=None: print ("successfully connected") print ("Version is:-",con.version) else: print ("connection failed") ''' #creating a table name in t...
[ "a.manoj16@gmail.com" ]
a.manoj16@gmail.com
57c166495a5ba9c4d4d739bff152b1a67f6e3fea
5ceea4106e0df754ae581c1f5e2d16082d7b6386
/hackerRank/Algorithms/Implementation/bon-appetit.py
0da733b5b6475b0511073b0a9b33e4e31f2c3664
[]
no_license
vikramlance/Python-Programming
b0d4bd70145bfaa7a66434656c5970fbc57e8bd3
4094961e3c613e33f2d8a6d30281c60ed09d8c80
refs/heads/master
2022-06-17T00:58:50.646615
2022-06-03T03:39:35
2022-06-03T03:39:35
53,989,511
1
0
null
null
null
null
UTF-8
Python
false
false
250
py
''' https://www.hackerrank.com/challenges/bon-appetit ''' n,k=raw_input().split() n=int(n) k=int(k) a=map(int, raw_input().split()) b=int(raw_input()) if (2*b== (sum(a) - a[k])): print "Bon Appetit" else: print ( b - ((sum(a) - a[k])//2))
[ "noreply@github.com" ]
vikramlance.noreply@github.com
76f8185eb90a42766f86ea066b38f022fd6156e5
131688c1006670be2bab5ce062521ce9b79b64af
/week2/design_hashset.py
ff2fc0f9e3e5b52cdb2f8f1875abad001dd4aa75
[ "MIT" ]
permissive
ravichalla/wallbreaker
4e3dc98ff02fd8a7bace2466c071c65a37124426
0d587f12c60df5e4bca47f9183484a69d284d1f5
refs/heads/master
2020-06-08T05:44:35.510146
2020-01-29T02:25:19
2020-01-29T02:25:19
193,169,833
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
class MyHashSet: def __init__(self): self.capacity = 5000 self.arr = [None] * self.capacity def add(self, key): hash_val = hash(key) % self.capacity if self.arr[hash_val] == None: self.arr[hash_val] = [key] else: if key not in self.arr[hash_val]: ...
[ "ravichalla95@gmail.com" ]
ravichalla95@gmail.com
3c8d65c57a7bdbf95d8cdf533395ad17aa5f6a99
03e115c1937ec7bd1e249f82db0225828eaaa186
/2-GUI (tkinter)/3imagenes.py
5d2a2f4a214587d17e084764b7496fb9400deb31
[]
no_license
mivargas/Master-python
236c04205637ddd44d1cc879de2b7c48418153f9
9d1c04a8d658aa0dd8620ed792fa2133adfa57e7
refs/heads/master
2023-03-06T13:35:58.177058
2021-02-16T00:06:00
2021-02-16T00:06:00
321,731,390
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
from tkinter import * from PIL import Image, ImageTk ventana = Tk() ventana.geometry("700x500") Label(ventana, text="HOLA SOY MIGUEL").pack(anchor=W) imagen = Image.open("./imagenes/labsxd.png") render = ImageTk.PhotoImage(imagen) Label(ventana, image=render).pack(anchor=E) ventana.mainloop()
[ "miguelvargas619@gmail.com" ]
miguelvargas619@gmail.com
5c02e94311a37dbaf15d56d180884328cdaf081d
761a20a79420bc6da491c5a487f6cf218f598b66
/DemoTest/graphicsTkinter003.py
d8eb0e19c8eb84a4b963313d1955a8126b63903c
[]
no_license
namexiaohuihui/linuxlogin
50b21e247d2e06c479907aa2f94f4b5979b4025d
ad8ffce5e87624f40f89eedc0229ba70cd66699b
refs/heads/master
2020-03-24T16:56:06.313441
2018-08-03T14:06:48
2018-08-03T14:06:48
142,843,487
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
# -*- coding: utf-8 -*- """ @__author__ :DingDong @file: graphicsTkinter001.py @time: 2018/5/17 21:37 @Entry Name:operating """ from tkinter import * from tkinter.messagebox import showinfo def reply(name): showinfo(title='弹窗',message='你的名字: %s !' % name) top = Tk() top.title('账号登陆') # top.iconbitma('1178420.gif...
[ "704866169@qq.com" ]
704866169@qq.com
aef37705f286e46903ffcd71491000c635addd56
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/531LonelyPixelI.py
85d2ad88ff367da5b050933632ef6d2bb1308b12
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
913
py
# coding=utf-8 ''' Created on 2017�4�11� @author: Administrator ''' class Solution(object): def findLonelyPixel(self, picture): """ :type picture: List[List[str]] :rtype: int """ if picture: rows = [0] * len(picture) cols = [0] * len(picture[...
[ "yanhuang1293@gmail.com" ]
yanhuang1293@gmail.com
b09d2c84b36ef30c97f1bc81ce017ce57b4ec3d9
7f863ca7ed47981f69e42fc1add75ba4acad921a
/code-lab/DSA - Long Hike(Fractional Knapsack).py
f4d12e06067fcbb5aa404a68e6bcd836d7d613b3
[ "CC0-1.0" ]
permissive
Nahid-Hassan/fullstack-software-development
e9f920be9a999c78f156e6102683b93a50c4e597
892ffb33e46795061ea63378279a6469de317b1a
refs/heads/main
2023-08-19T14:16:57.801056
2021-09-29T15:34:35
2021-09-29T15:34:35
376,595,866
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
weights = 1 weights_values = [(14, 2), (20, 4), (18, 3)] def knapsack_slow(weights_values, weights): values_by_weights = [(x / y, y) for x, y in weights_values] values_by_weights.sort(reverse=True) # print(values_by_weights) print(values_by_weights) bags = [] for i in range(len(values_by_wei...
[ "nahid.cseru@gmail.com" ]
nahid.cseru@gmail.com
f1033a3a96ab29a179996c21324e2e9a90a9b91e
8ecd899a8558ad0a644ecefa28faf93e0710f6fb
/ABC163/ABC163_A.py
bb4bb6c963e85231718a3704fce4761be0b06a79
[]
no_license
yut-inoue/AtCoder_ABC
b93885547049788d452e86b442a4a9f5ee191b0e
3d2c4b2b2f8871c75f86040ad07ccd7736ad3dbe
refs/heads/master
2021-07-03T09:09:20.478613
2021-02-21T13:20:31
2021-02-21T13:20:31
227,140,718
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
r=int(input()) #a,b=map(int,input().split()) #l=list(map(int,input().split())) #l=[list(map(int,input().split())) for i in range(n)] ans=2*r*3.14159 print('{:.5f}'.format(ans))
[ "yinoue.1996787@gmail.com" ]
yinoue.1996787@gmail.com
bdd60ed37f1b70cbf11c34d6e1db1b4d9f5d6caa
ef0917d016a1a2b60b2ccbb18325eadab37b61a8
/Mplayer_Reproductor.py
8e3074068ccd5aa85d1863d99f949ea05e5a9ca3
[]
no_license
sugar-activities/4355-activity
a8dcab94e01c5e45b78196a69df4391e48263e04
acefbd1ea5eabaf2783326bb1c9e2bd8f4255007
refs/heads/master
2021-01-19T23:14:25.746896
2017-04-21T05:54:35
2017-04-21T05:54:35
88,936,742
0
0
null
null
null
null
UTF-8
Python
false
false
11,529
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Mplayer_Reproductor.py por: # Flavio Danesse <fdanesse@gmail.com> # CeibalJAM! - Uruguay # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; e...
[ "ignacio@sugarlabs.org" ]
ignacio@sugarlabs.org
abc19a89f586d28d24cd2468c387a49113282b1c
03520abb58a66aeed9a556d53e3a21006af02dde
/named_storms/migrations/0079_nsempsa_covered_data_snapshot.py
73c0e3338456b81ae6bf6fe88566507a8f794e9c
[]
no_license
flackdl/cwwed
23ce1d1a5e48a57ee2cb3229860f1b97ccc81636
0a1454897d397cd5e1652643616abe883ccc853b
refs/heads/master
2023-07-21T20:05:35.093270
2023-06-29T15:29:26
2023-06-29T15:29:26
118,942,664
1
0
null
2023-09-12T21:56:59
2018-01-25T17:06:47
Python
UTF-8
Python
false
false
530
py
# Generated by Django 2.2.6 on 2019-10-17 17:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('named_storms', '0078_auto_20191017_1705'), ] operations = [ migrations.AddField( model_name='ns...
[ "flackattack@gmail.com" ]
flackattack@gmail.com
a5c3f6f93d1f5122a502c4bff3c84593cf568c96
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_201/2402.py
f7e5ebea73232aadb5a3d4e17099e09452301ea6
[]
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,266
py
def increment_by_value(d, l, index, value): if index in d: d[index] += value else: d[index] = value l.append(index) l.sort() def occupy(s): num_stalls, num_people = [int(x) for x in s.split(" ")] free, free_index = dict(), [] free[num_stalls] = 1 free_index.appe...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
cfbf28112e456f0999b8c8dc64ea310f31fb5227
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/Sourcem8/pirates/leveleditor/worldData/del_fuego_building_int_tattoo.py
615b94089f0e48bcfbf591d8fc665740418ee377
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
3,540
py
from pandac.PandaModules import Point3, VBase3, Vec4 objectStruct = { 'Objects': { '1153434880.63dzlu0': { 'Type': 'Building Interior', 'Name': '', 'AdditionalData': [ 'interior_spanish_store_tattoo'], 'Instanced': True, 'Objects': ...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
cf7a5c949b145a86634b083e8acd0620cef804a3
de4817e9c0f16283c4c6f9dcec3a0c36f49adf0f
/pytest_cases/plugin.py
b79d808e778403f49ecb8187fb7308ad67041226
[ "BSD-3-Clause" ]
permissive
yashtodi94/python-pytest-cases
3422cd4f399543b5add22d8631980b20bb92d68a
81bd5b3d2a7b358e8d9f97dae77654f6bc9c7999
refs/heads/master
2020-06-27T18:22:06.798892
2019-07-31T07:40:56
2019-07-31T07:40:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
42,492
py
from collections import OrderedDict, namedtuple from copy import copy from distutils.version import LooseVersion from warnings import warn from functools import partial import pytest from pytest_cases.common import get_pytest_nodeid, get_pytest_function_scopenum, \ is_function_node, get_param_names, get_pytest_s...
[ "sylvain.marie@se.com" ]
sylvain.marie@se.com
cf38d83b92adeb028ec0a5e36ef6ed766d954ac0
0e4d09b2a1b93aaa6d623d16905854d993a934ae
/Python/Django/surprise_me/surprise_me/settings.py
f424efc942cbefeba7f250e60cd038b1cc08d43a
[]
no_license
freefaller69/DojoAssignments
ee7f6308b02041be3244f795422e0e044d4a41b2
f40426ac448026c1172048665f36024ad22f0d81
refs/heads/master
2021-01-17T10:23:39.419514
2017-07-25T00:50:41
2017-07-25T00:50:41
84,012,790
0
1
null
null
null
null
UTF-8
Python
false
false
3,253
py
""" Django settings for surprise_me project. Generated by 'django-admin startproject' using Django 1.11.1. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ ...
[ "freefaller@gmail.com" ]
freefaller@gmail.com
a8ba2d5c8302ea20dac6cf2c653d709d5b012a3b
c35d5713b9991efeb0f8a2665c91c74127138594
/bufferbloat.py
4e0431721722d6c7a93a6b3fc70e29396676f8fa
[]
no_license
vs9390/bufferbloat
70849c13f24e0f7744a7852e8ed838a6235dbd0f
cc5341b5f0c0f835e6ec2e3d536abd2d80a5b096
refs/heads/master
2020-04-21T14:16:58.228215
2019-02-07T19:30:32
2019-02-07T19:30:32
169,629,667
0
0
null
null
null
null
UTF-8
Python
false
false
5,038
py
#!/usr/bin/python "CS144 In-class exercise: Buffer Bloat" from mininet.topo import Topo from mininet.node import CPULimitedHost from mininet.link import TCLink from mininet.net import Mininet from mininet.node import RemoteController from mininet.log import lg, info from mininet.util import dumpNodeConnections from m...
[ "None" ]
None
781728cd41d7b2d6039a59dec118afaea02aea57
df3e3e937e85ae03bc6714bf9aa487d9338d44fd
/mpmp/exceptions.py
feb76e4c5975c4adf3db8b9f293ccc2c91ce9877
[ "BSD-3-Clause" ]
permissive
mayala1925/mpmp
9a6b4be43f9bc29874e9c0cdfa0866d70b61263c
7bd4d49e4acd745447dc0018ac121d1a45e8bfbc
refs/heads/master
2023-08-16T13:23:08.019630
2021-10-13T23:09:07
2021-10-13T23:09:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,675
py
""" Exceptions specific to pan-cancer prediction experiments """ class ResultsFileExistsError(Exception): """ Custom exception to raise when the results file already exists for the given gene and cancer type. This allows calling scripts to choose how to handle this case (e.g. to print an error mes...
[ "jjc2718@gmail.com" ]
jjc2718@gmail.com
2bc1432323a455395c7e8d97b4f3896a33278eb9
c1c00ced90d47b9425fa11b6e0e5148a26a70085
/tests/test_cli.py
d3438f75559b5b4993b1f8da97e7d6b0531eb024
[ "MIT" ]
permissive
destos/Patterner
a8e90e30f0f2ca9411beb39e4cb8ef9e25fedc23
3e32468e843ec817b94da9df543c891ca69927fc
refs/heads/master
2020-04-25T14:44:23.872391
2019-02-27T05:50:01
2019-02-27T05:50:01
172,852,064
3
1
null
null
null
null
UTF-8
Python
false
false
718
py
"""Sample integration test module using pytest-describe and expecter.""" # pylint: disable=redefined-outer-name,unused-variable,expression-not-assigned import pytest from click.testing import CliRunner from expecter import expect from patterner.cli import main @pytest.fixture def runner(): return CliRunner() ...
[ "patrick@forringer.com" ]
patrick@forringer.com
7581ff553d9d2380b9a3fa8d04bc19aa2433dd6d
664c3ced94ab0e9a5bac547028db59a3ca1f2074
/10. Use classes to create active objects /EG10-07 Time Tracker with exception handler.py
6ab5ddc9eaa23b6a53954e815d434c237f056033
[ "MIT" ]
permissive
nikcbg/Begin-to-Code-with-Python
2b1283a7818e26d3471677b51d1832cde52c4ddc
a72fdf18ca15f564be895c6394a91afc75fc3e2c
refs/heads/master
2021-06-23T23:09:36.009442
2021-06-23T11:17:24
2021-06-23T11:17:24
209,285,197
0
0
MIT
2021-03-17T07:48:09
2019-09-18T10:50:51
Python
UTF-8
Python
false
false
6,121
py
# EG10-07 Time Tracker with exception handler import pickle from BTCInput import * # Create the contact class class Contact: min_session_length = 0.5 max_session_length = 3.5 @staticmethod def validate_session_length(session_length): ''' Validates a session length and retur...
[ "nkcbg@yahoo.com" ]
nkcbg@yahoo.com
8fda8333924bdd0b3d4d4a1fc03469652dc5986d
df823d33423d37251c49b4be12ee022170138071
/python/mycurses.py
198e2605f0b0559ffdd2ed3200c896e81e5f5c89
[]
no_license
von/sandbox
ca2a87870f0f5e3153cb33fd940f1b4cb9da7985
5e47e93c32bc85f986f39b1d4df8a384c7ff0019
refs/heads/main
2023-04-30T02:14:36.466490
2023-04-18T14:11:54
2023-04-18T14:11:54
331,739
4
1
null
null
null
null
UTF-8
Python
false
false
722
py
#!/usr/bin/env python3 import curses import os def main(stdscr): win1 = curses.newwin(3, 30, 2,0) win1.border() win2 = curses.newwin(10, 30, 10,0) win2.border() stdscr.addstr(0,0, "Testing...") win1.addstr(0,0, "Foobar") win2.addstr(0,0, "I win") stdscr.refresh() win1.refresh() ...
[ "von@vwelch.com" ]
von@vwelch.com
4d97fad9266a037d603b5a43d20dff72f6a5cdfc
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/PORMain/pirates/shipparts/WheelInteractive.py
ac3fc5be3f7f39bac48476e6aa630f9acf8c2189
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
620
py
from pirates.interact.SimpleInteractive import SimpleInteractive from pirates.piratesbase import PLocalizer class WheelInteractive(SimpleInteractive): def __init__(self, ship): self.ship = ship wheel = ship.model.locators.find('**/location_wheel') if not wheel: wheel = ship.mod...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
97149269400558d93a4ef6ec0d73377a66d2b056
4bd555bc662b8182a2e7644976bfdb00ed5e1ebe
/PythonistaAppTemplate/PythonistaKit.framework/pylib/encodings/base64_codec.py
731c567665b73aafb55074d0d5ffc115ec9270e3
[]
no_license
fhelmli/homeNOWG2
a103df1ef97194dec9501dbda87ec1f7c111fb4a
e794fd87b296544542fd9dc7ac94c981c6312419
refs/heads/master
2020-04-04T13:40:20.417769
2019-01-30T21:41:04
2019-01-30T21:41:04
155,970,686
0
0
null
null
null
null
UTF-8
Python
false
false
10,227
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "tberk@gmx.at" ]
tberk@gmx.at
184b601a9277e7e6f8aa27a0c38c389b529ad172
59b3dce3c770e70b2406cc1dd623a2b1f68b8394
/python_3/lessons/Timing_Computations/src/ count_thirtyone_days.py
682d87d1e84181941930cc296f2428ddc1f00032
[]
no_license
patrickbeeson/python-classes
04ed7b54fc4e1152a191eeb35d42adc214b08e39
b5041e71badd1ca2c013828e3b2910fb02e9728f
refs/heads/master
2020-05-20T07:17:36.693960
2015-01-23T14:41:46
2015-01-23T14:41:46
29,736,517
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from datetime import datetime, timedelta now = datetime.now() delta = timedelta(31) delivery = now + delta print("Today: %s" % now.strftime("%d")) print("Delivery: %s" % delivery.strftime("%d"))
[ "patrickbeeson@gmail.com" ]
patrickbeeson@gmail.com
b9c8c3198ea3b91ca79b7666122aeba124f8d46b
8be217fe977aa0bcd9e375c75b0fb522f5bf0101
/mergetwosortedlists21.py
0065e807191a8350423dd2e81ae12019e30106ab
[]
no_license
blueones/LeetcodePractices
c63a5e773bebea17e988e8bb4962e012d7d402ba
194375ba0c07e420f420aafec98aede2f9f5d8fa
refs/heads/master
2021-07-14T14:21:55.389334
2021-01-24T22:13:21
2021-01-24T22:13:21
230,814,709
0
1
null
2020-02-25T02:58:04
2019-12-29T23:18:25
Python
UTF-8
Python
false
false
947
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: beforeN = ListNode(0) dummyN = beforeN if l1 == None and l2 == None: ret...
[ "yiq.shang@gmail.com" ]
yiq.shang@gmail.com
d8d742854ec7842465b985ad93830852b7b6d3a1
8d14d526969d8e970254f08563ff2c6e6583dd35
/Python/2019/Hafta20191122/venv/Scripts/easy_install-script.py
530572ec9997ac842f173dfe02dcf73848586a38
[]
no_license
osmanraifgunes/MedipolCodes
c29db62896162c4b1a2c8c274877fff63149f826
943b014269e9a7b529e74741ce14447dbd7d5df5
refs/heads/master
2023-01-09T10:31:02.907945
2020-06-09T18:05:04
2020-06-09T18:05:04
218,612,787
6
13
null
2023-01-07T18:58:55
2019-10-30T19:59:16
Python
UTF-8
Python
false
false
453
py
#!C:\code\MedipolCodes\Python\Hafta20191122\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?...
[ "osmanraifgunes@gmail.com" ]
osmanraifgunes@gmail.com
699c75b97c7a8afdb70e4ce79f91ad7f94158668
95a2bb2ef56ca80ad7cb51d67a42242bf18fa337
/jump/models.py
b17ca1bff68351cf244316d1a03fec9d36836f23
[]
no_license
zhangxianbo/soms
ac2183c0a285fe56456461101ecc78ca314c3929
0ba1802b0e2e9111e0f1855480723be8e2941bcd
refs/heads/master
2021-04-09T15:46:14.086425
2016-07-14T08:15:21
2016-07-14T08:15:21
62,615,511
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
#coding=utf-8 from django.db import models from datetime import datetime # Create your models here. class Host(models.Model): hostid = models.AutoField(primary_key=True) idc = models.CharField('机房',max_length=50) addr = models.CharField('机架等标识',max_length=50) sn = models.CharField('序列号',max_length=30,b...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
cffdbd0ab90b9b59ef7a69aff564ea1323fbe6b4
3181efe062a6745fc2e5d182260b8e94ce6c5701
/0MyProject_Quant/海龟反转策略/4_2.方向过滤参数自动选择及策略回测_并行.py
2c92a341e8f5ec2c95609c7db032528948d0fb42
[]
no_license
LibreChou/PythonLearning
e240fddc559dc8614d4db95e79d047b18cc1be52
562ded21e84b68f43c539c65b91aed3a880162ce
refs/heads/master
2023-03-12T12:18:33.501881
2021-03-04T11:33:42
2021-03-04T11:33:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,317
py
# Author:Zhang Yuan import warnings warnings.filterwarnings('ignore') from MyPackage import * import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.patches as patches import seaborn as sns import statsmodels.api as sm from scipy import stats #----------------------------------------...
[ "39754824+MuSaCN@users.noreply.github.com" ]
39754824+MuSaCN@users.noreply.github.com
7c5b13fc736557163c95d289141ff4870117e2e0
b5a9469cb779031936bb613719397d7b3c279626
/backend/apps/privacy/sitemaps.py
2bc9aa6eae410f25322fcf965d670fd616158b73
[]
no_license
arsavit/Cidsfg_copy
a34858d63749db0e821cb2f26b1eb31c4565c0f9
0145e9f1a397899b03a8d767fb96f1d238ec21f9
refs/heads/main
2023-07-08T11:18:10.042595
2021-08-11T08:09:27
2021-08-11T08:09:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
from django.contrib.sitemaps import Sitemap from .models import Privacy class PrivacySitemap(Sitemap): """ Получение страницы ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ """ changefreq = 'weekly' priority = 0.9 location = '/privacy/' def items(self): return Privacy.objects.all().order_by('-id')[:1] ...
[ "arsavit@gmail.com" ]
arsavit@gmail.com
8da58df298c3f417894362409649e16ba045b26b
11806ceb316950e41725f8acb2d7e5ecea6036a1
/biomass/core.py
fb61327fbf5acde1d04b4780683f21c215b7631e
[ "Apache-2.0" ]
permissive
TrendingTechnology/biomass
82cb65892c467cc236ce212caa9ff21cc9812e22
2e2b262f6d99834d2d1b44a1304fcf5395b566ef
refs/heads/master
2023-05-28T03:50:38.016708
2021-06-01T04:40:23
2021-06-01T04:40:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,116
py
"""BioMASS core functions""" import multiprocessing import os from dataclasses import dataclass from importlib import import_module from pathlib import Path from typing import Any, Optional from .analysis import InitialConditionSensitivity, ParameterSensitivity, ReactionSensitivity from .dynamics import SignalingSyste...
[ "31299606+himoto@users.noreply.github.com" ]
31299606+himoto@users.noreply.github.com
9d9a806f2ec508f3d202103ff17d592e98259b7b
26f23588e80acc2b28d4cc70a8fbcf78c5b33a20
/PythonSkills/decorator/basic02.py
ac7856a1b7b8a973b0e4280108fd34948670b37e
[]
no_license
Timehsw/PythonCouldbeEverything
aa31b3e32bf68b49fe8e96b971637353a8ef644f
85d4f1a2c93c7b1edc34ceb9e8bb3c8d7beb30e9
refs/heads/master
2021-01-01T15:38:25.253094
2018-01-22T06:49:05
2018-01-22T06:49:05
97,661,530
5
2
null
null
null
null
UTF-8
Python
false
false
698
py
# -*- coding: utf-8 -*- ''' Created by hushiwei on 2018/1/7. 学习装饰器 闭包 函数里面可以定义函数 函数可以被传递赋值 函数可以被返回 那么装饰器就是,在函数之前额外做些事情 ''' ''' 装饰器 有参函数 ''' def a_new_decorator(a_func): def wrapTheFunction(*args,**kwargs): print "I am doing some boring work before execution a_func()" ...
[ "hsw.time@gmail.com" ]
hsw.time@gmail.com
627bcc579421c9e68946a4001c3726b2fc02b966
e7b665624c1134f7a6b3ab7c043cfa5ec83227bb
/CycleGAN/__init__.py
c73deef2fd0626ca2afa3252d2b902d7958b1f51
[]
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
622
py
#---------------------------------------------- # -*- encoding=utf-8 -*- # # __author__:'xiaojie' # # CreateTime: # # 2019/7/5 22:13 # # # # 天下风云出我辈, ...
[ "15311484394@189.cn" ]
15311484394@189.cn
dcb95199ae8b2d00c2e425403a3da419cc0d1c69
c8a41e7b2caa015903dc5aff2d8e34a5cbd34b8d
/python/itertools/compress-the-string.py
0208eec6cbcbd5eed48a9fa26c1a73150292dc0a
[]
no_license
mauricioabreu/hacker-rank
bad197fec3582979df148a8212d330097191c2b7
3d2aaae53f438e4ef8d9382cc0c22003248c6787
refs/heads/master
2021-01-10T07:25:23.869714
2018-06-16T23:17:51
2018-06-16T23:17:51
46,177,986
6
1
null
2016-08-27T16:18:36
2015-11-14T14:38:13
Python
UTF-8
Python
false
false
212
py
from itertools import groupby chars = raw_input().strip() groups = [] for key, value in groupby(chars): groups.append((len(list(value)), int(key))) print ' '.join(['(%s, %s)' % (k, v) for k, v in groups])
[ "mauricio.abreua@gmail.com" ]
mauricio.abreua@gmail.com
0db8f21a975d0dc646839485352d0b6cf4df4064
4d66852253aaff5ee93ab73f41a531dd4a0b615d
/baseline_midsf.py
e37424d670ee6649c54e0d648617910e620d2ad2
[]
no_license
zsc19/CaBERT-SLU
ed030ed01809f0ca6f93505d483a9d6750a48442
ee1a46cf7c69ab5662a47ce9e65735cf877b1ea9
refs/heads/main
2023-08-10T19:30:21.793823
2021-09-17T14:18:25
2021-09-17T14:18:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,880
py
"""For model training and inference Data input should be a single sentence. """ import random import torch import torch.nn as nn from torch.autograd import Variable from torch.optim import Adam, RMSprop from transformers import BertTokenizer, BertModel, BertConfig from keras.preprocessing.sequence import pad_sequences...
[ "waynewu6250@gmail.com" ]
waynewu6250@gmail.com
ec3c3e9a1609b3241c9287dcf01219c6d607eeb7
d12b53101c289a1d752862e20ffc079e3ab4e057
/2.0/overturn.py
a15642ab7a89395e9a8230990f94277a71dc0b9f
[]
no_license
UCAS007/adavanced-aritificial-intelligence
13708985b65fe0d27ed1fe93e05eb54ddef9949d
d88fcc8f5a59f290a866a04db6bcbe133bdc3ba3
refs/heads/master
2021-01-10T15:21:07.819354
2016-05-03T14:03:00
2016-05-03T14:03:00
45,598,387
7
2
null
null
null
null
UTF-8
Python
false
false
4,038
py
""" Fmax=0.995512 Perceptron """ import pickle from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfTransformer from sklearn.linear_model import SGDClassifier,Perceptron from sklearn.grid_search import GridSearchCV from sklearn.pipeline import Pipeline from sklear...
[ "youdaoyzbx@163.com" ]
youdaoyzbx@163.com
069240fe041da4600557e9ba6ab166a4c5a27da8
0c6bd6305cbd128fe7426f66ec9bf4d01fb9b40c
/backend_apps_web_based/flask/RESTful_api_part3/test.py
fe6c099a291d13fe3bef662c606846c898e25092
[]
no_license
yennanliu/web_development
08dbffc549214952f7b02dc29837474b0ad6e980
8dc6b224040b3953999d5e8d4a7f26d8e92ca931
refs/heads/master
2021-05-24T03:12:24.344381
2020-12-30T09:31:15
2020-12-30T09:31:15
72,651,027
1
1
null
null
null
null
UTF-8
Python
false
false
1,281
py
import sys, os, json, requests import pytest, unittest from flask_sqlalchemy import SQLAlchemy # main flask app from app import app db = SQLAlchemy(app) def TestHelloworld(): response = requests.get('http://0.0.0.0:5000/') assert response.status_code == 200 def TestApi(): response = requests.get('http:...
[ "f339339@gmail.com" ]
f339339@gmail.com
e35602b4e63050a98f36b2620a2b840278beb790
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02972/s165580953.py
33b7efe88d0ed61cd2af5b945b54fc7bd16ee28d
[]
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
590
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Created: Jul, 13, 2020 08:25:55 by Nobody # $Author$ # $Date$ # $URL$ __giturl__ = "$URL$" from sys import stdin input = stdin.readline def main(): N = int(input()) A = [-1]+list(map(int, input().split())) D = [-1]*(N+1) for i in range(N, 0, -1): if i ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
57ba84aabc962427d8bb568812dcabaa61ca840a
e705de3a44a7cc922e93c76c3aa6e6108222e538
/problems/0128_longest_consecutive_sequence.py
5e3a863543e3dfb214407f3bf1547862272121e1
[]
no_license
sokazaki/leetcode_solutions
34d4877dc7d13dc80ef067211a316c48c6269eca
42cf52eeef537806c9e3ec7a6e5113c53d0f18a3
refs/heads/master
2021-06-21T22:23:25.403545
2021-02-21T16:47:19
2021-02-21T16:47:19
193,951,202
0
1
null
null
null
null
UTF-8
Python
false
false
826
py
# O(N) Solution with Hashmap import unittest def longestConsecutive(nums): nums = set(nums) res = 0 while nums: first = last = nums.pop() while first-1 in nums: first -= 1 nums.remove(first) while last+1 in nums: last += 1 nums.remov...
[ "noreply@github.com" ]
sokazaki.noreply@github.com
4dc955342c28aac7a9bf9c2f0272ce450110998e
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/formatter/indentInComprehensions.py
7e88b6b3d3bd6218119837995f02a78b214acc0d
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
31
py
attrs = [e.attr for e in items]
[ "yole@jetbrains.com" ]
yole@jetbrains.com
06a59e43096e806dd20c21c29f851772da55e59a
e2a0d262b5a3c26a30ed02c78cb905363df9241c
/com/11_class2.py
2d657a02b7bdf2f9b0f1bb5a9fc78a3329a1a38c
[]
no_license
Kyeongrok/python_selinium
75b158f0c46aa5d2b7b627dd4a6775c3c6ab66ef
233c90b3294949813cc910a8b0b2f5fed7df80a9
refs/heads/master
2020-04-01T03:35:06.925347
2018-10-27T05:03:51
2018-10-27T05:03:51
152,827,717
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
class people(): name = "kyeongrok" def sayHello(self): print("hello") def leftHand(self): print("i'm left hand") def rightHand(self): print("i'm right hand") def setName(self, name): self.name = name kyeongrok = people() kyeongrok.setName("iu") print(kyeongrok.n...
[ "kyeongrok.kim@okiconcession.com" ]
kyeongrok.kim@okiconcession.com
90dfd10d500b640ee62fc6fd0666c4b2d4804062
9fb51c3fc9e3d2b3a4267bc1ecfc826109d0b60d
/test/LaneDetectionTest.py
319478eb6ad1c3e17bce3cff37e2b897ccec2494
[]
no_license
g41903/LaneDetection
6b929dcac664d003851cf4b60eaa124fffe5908d
1cfba5940ff25274147252f1169e737954ad29f4
refs/heads/master
2021-01-19T06:36:54.047242
2016-07-27T16:52:51
2016-07-27T16:52:51
64,326,062
1
2
null
null
null
null
UTF-8
Python
false
false
20,631
py
# ipm.py import numpy as np import cv2 import cv # # focal length # fu = 0.0 # fv = 0.0 # # # optical center # center_u = 0.0 # center_v = 0.0 # # # extrinsic parameters # pitch = 0.0 # yaw = 0.0 # # height of the camera in mm # h = 0.0 # # # ROI (region of interest) # ROILeft = 0 # ROIRight = 0 # ROITop = 0 # ROIBotto...
[ "g41903@gmail.com" ]
g41903@gmail.com
042eb90c4d3065ab75fc8c59d35336f3d37f6d12
cc08f8eb47ef92839ba1cc0d04a7f6be6c06bd45
/Personal/JaipurCity/smart_city/models.py
4edef2ae9219cc2bf12785fae1060189c82a680f
[]
no_license
ProsenjitKumar/PycharmProjects
d90d0e7c2f4adc84e861c12a3fcb9174f15cde17
285692394581441ce7b706afa3b7af9e995f1c55
refs/heads/master
2022-12-13T01:09:55.408985
2019-05-08T02:21:47
2019-05-08T02:21:47
181,052,978
1
1
null
2022-12-08T02:31:17
2019-04-12T17:21:59
null
UTF-8
Python
false
false
2,081
py
from django.contrib.gis.db import models from django.contrib.gis.geos import Point class SmartRestaurant(models.Model): restaurant = models.CharField(max_length=254) rating = models.FloatField() type = models.CharField(max_length=254) cuisines = models.CharField(max_length=254) cost = models.CharF...
[ "prosenjitearnkuar@gmail.com" ]
prosenjitearnkuar@gmail.com
4b208c47d8b238082b1f0e0926b8ca03994e7acb
50a20e25c1cb7ac05b0d7eb05bf174973a866a4b
/Day20/Day20.py
a80a573319bf5001f8c8df8dc3bb1248856c81d2
[]
no_license
bakkerjangert/AoC_2016
1733b15bbb762d9fff0c986e33d404c5b7148591
3ccafab3f6d8b8efb4bf7de0549e22a4bd4de527
refs/heads/master
2023-02-04T06:09:32.862621
2020-12-18T14:39:00
2020-12-18T14:39:00
322,620,456
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
import numpy as np import pylab as plt with open('input.txt') as f: lines = f.read().splitlines() start = [] end = [] for line in lines: start.append(int(line.split('-')[0])) end.append(int(line.split('-')[1])) # for i in range(len(start)): # print(start[i], '-', end[i]) ips = np.array([start, end])...
[ "gert-jan.bakker@rhdhv.com" ]
gert-jan.bakker@rhdhv.com
316c6f696121e8eb21ad87bd9966d1689f929134
37cfcdfa3b8f1499f5899d2dfa2a48504a690abd
/test/functional/p2p_disconnect_ban.py
1886e64fb2499ff15b887e636597f96dd7018069
[ "MIT" ]
permissive
CJwon-98/Pyeongtaekcoin
28acc53280be34b69c986198021724181eeb7d4d
45a81933a98a7487f11e57e6e9315efe740a297e
refs/heads/master
2023-08-17T11:18:24.401724
2021-10-14T04:32:55
2021-10-14T04:32:55
411,525,736
0
0
null
null
null
null
UTF-8
Python
false
false
5,354
py
#!/usr/bin/env python3 # Copyright (c) 2014-2018 The Pyeongtaekcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test node disconnect and ban behavior""" import time from test_framework.test_framework import ...
[ "cjone98692996@gmail.com" ]
cjone98692996@gmail.com
6f136cc6daa5a8670845de0e72b5aa253d75137b
de5dc978e0a5b9fc4ecbbdd00c1cebe57c465775
/wso2_apim_storeclient/models/__init__.py
5c4b27271173e651942c4c622035cbca741cb8fe
[]
no_license
junetigerlee/python-wso2-apim-storeclient
8c3502dfd039eca0093c218cb6ac1183c050edb5
60c84988a2417a0104aaa53ed082902012d6247d
refs/heads/master
2021-01-01T16:12:12.197633
2017-07-25T06:21:21
2017-07-25T06:21:21
97,787,392
0
0
null
null
null
null
UTF-8
Python
false
false
2,500
py
# coding: utf-8 """ WSO2 API Manager - Store This specifies a **RESTful API** for WSO2 **API Manager** - Store. Please see [full swagger definition](https://raw.githubusercontent.com/wso2/carbon-apimgt/v6.0.4/components/apimgt/org.wso2.carbon.apimgt.rest.api.store/src/main/resources/store-api.yaml) of the AP...
[ "junetigerlee@gmail.com" ]
junetigerlee@gmail.com