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
a1cf5368c4eea778d041c5af86d0bf3a3f4abd62
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_sodden.py
9a58a5d33739918fea93b36c32416d0d46ba6316
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
#calss header class _SODDEN(): def __init__(self,): self.name = "SODDEN" self.definitions = [u'(of something that can absorb water) extremely wet: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.jsondata[...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
282399609317833cf35a9418fdac25bece55fe85
5afc3043b9b43a0e72bc94a90ed832a9576bb580
/base/skill_59/py_06/py_44_copyreg.py
d527bd7b1839bbf108f061884156436b5976dfb3
[]
no_license
JR1QQ4/python
629e7ddec7a261fb8a59b834160ceea80239a0f7
a162a5121fdeeffbfdad9912472f2a790bb1ff53
refs/heads/main
2023-08-25T00:40:25.975915
2021-11-07T14:10:20
2021-11-07T14:10:20
311,769,673
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
#!/usr/bin/python # -*- coding:utf-8 -*- # 第 44 条: 用 copyreg 实现可靠的 pickle 操作 # 内置的 pickle 模块,只适合用来在彼此信任的程序之间,对相关对象执行序列化和反序列化操作 # 如果用法比较复杂,那么 pickle 模块的功能也许就会出问题 # 我们可以把内置的 copyreg 模块同 pickle 结合起来使用,以便为旧数据缺失的属性值、进行类的版本管理, # 并给序列化之后的数据提供固定的引入路径
[ "chenjunrenyx@163.com" ]
chenjunrenyx@163.com
627b37547257bf028218c394028ba638d78fb0a6
bdd8fe60144b364dade0c383ba9ac7a400457c69
/freight/api/task_log.py
1f03bac3b2cbdff6275b4d8d6b4886d30a94c799
[ "Apache-2.0" ]
permissive
thoas/freight
61eda7cb397696eb2c3a7504d03f2f4654ad7e8f
9934cfb3c868b5e4b813259ca83c748676d598a0
refs/heads/master
2021-01-18T17:24:25.758448
2015-09-03T20:45:35
2015-09-03T20:45:36
41,413,179
1
0
null
2015-08-26T08:13:07
2015-08-26T08:13:06
Python
UTF-8
Python
false
false
2,200
py
from __future__ import absolute_import from flask_restful import reqparse from freight.api.base import ApiView from freight.config import db from freight.models import LogChunk from .task_details import TaskMixin class TaskLogApiView(ApiView, TaskMixin): get_parser = reqparse.RequestParser() get_parser.add...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
7e5e4f719b75a501b9e069ca581e0344b89df260
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_1_01a/brocade_mpls_rpc/clear_mpls_auto_bandwidth_statistics_lsp/input/__init__.py
c69003159bbe860e7c9e51d4eb0d278fd1ce133e
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,711
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
8a5591e66fcadfc9f649b0d75c3579d01549b7b8
2e5c0e502216b59a4e348437d4291767e29666ea
/Flask-Web/flasky/Lib/site-packages/dns/tokenizer.py
3e5d2ba92e8762532c2b3c5d6cbd0170298b26c7
[ "Apache-2.0", "GPL-1.0-or-later" ]
permissive
fengzse/Feng_Repository
8881b64213eef94ca8b01652e5bc48e92a28e1f5
db335441fa48440e72eefab6b5fd61103af20c5d
refs/heads/master
2023-07-24T04:47:30.910625
2023-02-16T10:34:26
2023-02-16T10:34:26
245,704,594
1
0
Apache-2.0
2023-07-15T00:54:20
2020-03-07T20:59:04
Python
UTF-8
Python
false
false
20,833
py
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license # Copyright (C) 2003-2017 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and this permis...
[ "fzhuse@gmail.com" ]
fzhuse@gmail.com
0f63546dde37b4f558b0a06b0b9db13717c4d47a
871ad716e6e9ceaa783e5ba914fbe678d0e6819a
/bubbly/util.py
ae9aac625d05659c200c9109fbd41d1daab4dddb
[ "MIT" ]
permissive
linan7788626/brut
d653b8e3110fd0025e8c5279d3a36c8acbbad3d0
f4223b84448d1db1b0e98e043dc6670adf05ee5d
refs/heads/master
2020-12-02T15:08:57.724313
2014-06-25T12:34:55
2014-06-25T12:34:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,461
py
import os from cPickle import load, dump import logging from skimage.transform import resize from sklearn.metrics import recall_score, auc_score import numpy as np def lon_offset(x, y): """Return angular separation between two offsets which possibly straddle l=0 >>> lon_offset(0, 1) 1 >>> lon_of...
[ "beaumont@hawaii.edu" ]
beaumont@hawaii.edu
8dcecbb2db91f0781c70434f88392b4d940ba544
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/ankiandroid/testcase/firstcases/testcase4_014.py
be1af9489a3d62454bebe7063c442ec02f4fe4d7
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
6,621
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
95eaf80a4b064aa8106077d14d8e97f76da9bee4
9a03b4c88a31cc05648f6a7dee1c22cfe08dc872
/mod_pydoc.py
dacb667e4bae87618e48f4bc9594ad048609d8f4
[]
no_license
u8y7541/mod_pydoc
71a9f1802752a79d560c7cc155f060227ec7bf99
a5fdf9409debf39724bd1fbf5553d86b117e201b
refs/heads/master
2021-05-04T09:11:26.622118
2016-10-09T17:45:25
2016-10-09T17:45:25
70,418,784
0
0
null
2016-10-09T17:22:23
2016-10-09T17:22:22
null
UTF-8
Python
false
false
101,217
py
#!/usr/bin/env python3 """Generate Python documentation in HTML or text for interactive use. At the Python interactive prompt, calling help(thing) on a Python object documents the object, and calling help() starts up an interactive help session. Or, at the shell command line outside of Python: Run "pydoc <name>" to ...
[ "andre.roberge@gmail.com" ]
andre.roberge@gmail.com
ce641dbede6f04804b41a0a8460de2268bda2a1e
b87f66b13293782321e20c39aebc05defd8d4b48
/maps/build/TraitsGUI/enthought/pyface/key_pressed_event.py
0072c81aca8d415f585dffb9111cb439544649df
[ "BSD-3-Clause" ]
permissive
m-elhussieny/code
5eae020932d935e4d724c2f3d16126a0d42ebf04
5466f5858dbd2f1f082fa0d7417b57c8fb068fad
refs/heads/master
2021-06-13T18:47:08.700053
2016-11-01T05:51:06
2016-11-01T05:51:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
""" The event that is generated when a key is pressed. """ # Enthought library imports. from enthought.traits.api import Bool, HasTraits, Int, Any class KeyPressedEvent(HasTraits): """ The event that is generated when a key is pressed. """ #### 'KeyPressedEvent' interface ##################################...
[ "fspaolo@gmail.com" ]
fspaolo@gmail.com
222f0e68d1e3968f67a837653d786d78e9316e0c
56b174addb87128ef54c85d2701b222b21877bbb
/settings_tornado.py
cfe56e91c425ecd2e6699d4db0e35992861de686
[ "BSD-2-Clause-Views" ]
permissive
kwarodom/bemoss_web_ui-1
f8abbe7defc099bc40ff3c9c2b10c143a22ddbe5
6c65c49b8f52bc7d189c9f2391f9098ec0f2dd92
refs/heads/master
2020-12-11T01:37:47.205927
2016-03-16T21:35:38
2016-03-16T21:35:38
54,082,914
0
0
null
null
null
null
UTF-8
Python
false
false
11,265
py
# -*- coding: utf-8 -*- ''' Copyright (c) 2016, Virginia Tech All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condi...
[ "aribemoss@gmail.com" ]
aribemoss@gmail.com
d94eac8d709bc2eb7d4ac8bf5765e1247c5dc9c7
67ceb35320d3d02867350bc6d460ae391e0324e8
/practice/easy/0231-Power_of_Two.py
2937bb2cf84cca61705c0d77d1f846cbe4ef3766
[]
no_license
mattjp/leetcode
fb11cf6016aef46843eaf0b55314e88ccd87c91a
88ccd910dfdb0e6ca6a70fa2d37906c31f4b3d70
refs/heads/master
2023-01-22T20:40:48.104388
2022-12-26T22:03:02
2022-12-26T22:03:02
184,347,356
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
class Solution: def isPowerOfTwo(self, n: int) -> bool: while n > 0 and n % 2 == 0: n /= 2 return True if n == 1 else False
[ "noreply@github.com" ]
mattjp.noreply@github.com
979864f68c8f51e1001c261521bd88c954863337
8c917dc4810e2dddf7d3902146280a67412c65ea
/v_7/GDS/shamil_v3/purchase_transportation/transportations.py
8ed7b8054bde56377337d809bee89f1ca678875a
[]
no_license
musabahmed/baba
d0906e03c1bbd222d3950f521533f3874434b993
0b997095c260d58b026440967fea3a202bef7efb
refs/heads/master
2021-10-09T02:37:32.458269
2018-12-20T06:00:00
2018-12-20T06:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,282
py
# -*- coding: utf-8 -*- ############################################################################## # # NCTR, Nile Center for Technology Research # Copyright (C) 2011-2012 NCTR (<http://www.nctr.sd>). # ############################################################################## import netsvc import time fr...
[ "bakry@exp-sa.com" ]
bakry@exp-sa.com
ddfd6d214af241497a8523161e43f40420496bea
5fc2e6c28853b5c3f5df65048714fe3252a69cd6
/python/Tools/cutSamples.py
6f529c1c80da99470665ccc699cbc74ff0dfbb20
[]
no_license
zaixingmao/H2hh2bbTauTau
2f5fec23546a90f0055798147e8fd762307bf44f
44b114ce48419b502fa233ddcb8d06eb0e5219f7
refs/heads/master
2016-09-05T13:18:21.214825
2014-09-17T12:52:59
2014-09-17T12:52:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,778
py
#!/usr/bin/env python import ROOT as r import tool from operator import itemgetter import os import enVars from array import array import optparse import math import varsList import kinfit r.gROOT.SetBatch(True) r.gErrorIgnoreLevel = 2000 r.gStyle.SetOptStat("e") xLabels = ['processedEvents', 'PATSkimmedEvents', 'eT...
[ "zaixing.mao@cern.ch" ]
zaixing.mao@cern.ch
dfdf08871a317bd868aaf96af910a062abbb121c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03005/s702594618.py
664af542c17dd1cc55af2decc0b25ecea2d985cf
[]
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
101
py
import sys n,k = input().split() n,k = int(n), int(k) if k==1 : print(0) else : print(n-k)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
52140a927a1c45b88b007bd1af0bfe4d2d942003
50402cc4388dfee3a9dbe9e121ef217759ebdba8
/django_wk/Mikesite/pubApp/pubmanager.py
fec872afed9ea1d9834c4cc18521c7088d2b2c74
[]
no_license
dqyi11/SVNBackup
bd46a69ec55e3a4f981a9bca4c8340944d8d5886
9ad38e38453ef8539011cf4d9a9c0a363e668759
refs/heads/master
2020-03-26T12:15:01.155873
2015-12-10T01:11:36
2015-12-10T01:11:36
144,883,382
2
1
null
null
null
null
UTF-8
Python
false
false
2,134
py
''' Created on 2013-12-29 @author: Walter ''' from pubApp.models import Paper class PubManager(object): ''' classdocs ''' def __init__(self): ''' Constructor ''' self.type = "all" self.year = "all" self.type_all = "all" ...
[ "walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39" ]
walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39
3a42023dfd9ac8cc3bbee4b8459c832bd62732a1
9e38b45f555ffa08fe036b7b0429871ccdd85303
/Python/string_split_and_join.py
8b17eac33966a7d952c106de079a896dbe6307f7
[]
no_license
shayaankhan05/HackerRank
b066969b0514046bd8620b55d0458d8284a12005
a975fac85af80310ec2ec5f6275c94ceefe3715b
refs/heads/master
2023-06-01T09:06:23.374474
2021-06-24T08:10:38
2021-06-24T08:10:38
294,485,980
2
0
null
null
null
null
UTF-8
Python
false
false
193
py
def split_and_join(line): a = line a = a.split(" ") a = "-".join(a) return a if __name__ == '__main__': line = input() result = split_and_join(line) print(result)
[ "you@example.com" ]
you@example.com
8dbad1d4354d63d045a7b9f71ef8405a05615120
e16cc78f0e05e50d589558535ae0fc5e414dd4a0
/IM5.4.0_timing/ztest_e_send5_video.py
1c13ecf0caf88ccbce3128b36482d9396bea79b6
[]
no_license
wenqiang1990/wenqiang_code
df825b089e3bd3c55bcff98f4946f235f50f2f3d
3c9d77e0a11af081c60a5b1f4c72ecd159945864
refs/heads/master
2020-06-19T04:38:39.052037
2019-12-18T03:40:39
2019-12-18T03:40:39
196,561,628
0
0
null
null
null
null
UTF-8
Python
false
false
2,642
py
#coding:utf-8 import time import datetime import unittest from appium.webdriver.common.touch_action import TouchAction from robot.utils.asserts import * from appium import webdriver from public import login from public import logout from clear_massage import clear_massage from set_driver import set_driver class Imtes...
[ "1058099258@qq.com" ]
1058099258@qq.com
088973a0dbd18923e03afc75a341c75a61a348e9
cb80ebc49bc92c350f6d6f039a6a4f0efa6b4c60
/EnvironmentVariables/EnvironmentVariables.py
9e6a9451d078f7f1d2002410d1982b10be2b1a30
[]
no_license
rabramley/pythonTrials
9708ef1b39011c8c08909808132114ff3b30d34a
bbc93a9f69afbe3cd045de5835ad3c8a4a557050
refs/heads/master
2021-01-15T23:07:48.074817
2015-06-22T14:11:20
2015-06-22T14:11:20
32,924,481
1
0
null
null
null
null
UTF-8
Python
false
false
361
py
#!/usr/bin/env python import os print os.environ['HOME'] # using get will return `None` if a key is not present rather than raise a `KeyError` print os.environ.get('KEY_THAT_MIGHT_EXIST') default_value = 'Use this instead' # os.getenv is equivalent, and can also give a default value instead of `None` print os.geten...
[ "rabramley@gmail.com" ]
rabramley@gmail.com
745f90f519853d1de410ac75ee637f5d3b14f3a6
070b693744e7e73634c19b1ee5bc9e06f9fb852a
/python/problem-tree/maximum_width_of_binary_tree.py
a18203e5b1c59a32be6b1e9d83fef22553353874
[]
no_license
rheehot/practice
a7a4ce177e8cb129192a60ba596745eec9a7d19e
aa0355d3879e61cf43a4333a6446f3d377ed5580
refs/heads/master
2021-04-15T22:04:34.484285
2020-03-20T17:20:00
2020-03-20T17:20:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,855
py
# https://leetcode.com/problems/maximum-width-of-binary-tree # https://leetcode.com/problems/maximum-width-of-binary-tree/solution from TreeNode import TreeNode class Solution: # Wrong Answer def widthOfBinaryTree0(self, root): if root is None: return 0 print(root) ...
[ "agapelover4u@yahoo.co.kr" ]
agapelover4u@yahoo.co.kr
e3f4e1bc264e4e9e928ef3ebb533de57033f0c84
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/tools/perf/measurements/power.py
58551ae3207e2de8e876bea951fc32323d5b63c9
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-unknown", "MIT" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
1,961
py
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import time from metrics import network from metrics import power from telemetry.core import util from telemetry.page import legacy_page_test class Power(...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
c144c9ebf7ac40827af104a5950dc340e65e4004
83d947dd8683ed447b6bdb9d15683109ca0195bc
/git_sew/ui/cli/containers/App.py
b38e83e444cd4ff51285d171725911c2c7266b75
[ "MIT" ]
permissive
fcurella/git-sew
dda6b84a3b522bb1fc5982bfa610b174159cb691
920bc26125a127e257be3e37a9bf10cb90aa5368
refs/heads/master
2020-07-23T14:51:39.476225
2019-09-09T22:56:11
2019-09-10T15:45:11
207,599,791
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
import urwid from urwid_pydux import ConnectedComponent from git_sew.ui.cli.components.gitlogs import Footer, Loading class App(ConnectedComponent): def map_state_to_props(self, state, own_props): return {"body": state["box"]} def render_component(self, props): if props["body"] is None: ...
[ "flavio.curella@gmail.com" ]
flavio.curella@gmail.com
ce3a31a37fad7413fec2ae08f830708f46ff664b
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/iju.py
64d6a1b3ccf14cabc615879040affc0ee38aa5ae
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
17f859589c603a22117367624010559c8063f80b
f6a8d93c0b764f84b9e90eaf4415ab09d8060ec8
/Functions/orders.py
7fef95d38a0f0303db054de91a1ee188f9750e62
[]
no_license
DimoDimchev/SoftUni-Python-Fundamentals
90c92f6e8128b62954c4f9c32b01ff4fbb405a02
970360dd6ffd54b852946a37d81b5b16248871ec
refs/heads/main
2023-03-18T17:44:11.856197
2021-03-06T12:00:32
2021-03-06T12:00:32
329,729,960
2
0
null
null
null
null
UTF-8
Python
false
false
478
py
def order(product, times_ordered): final_price = 0 for i in range (times_ordered): if product == "coffee": final_price += 1.50 elif product == "water": final_price += 1.00 elif product == "coke": final_price += 1.40 elif product == "snacks": ...
[ "noreply@github.com" ]
DimoDimchev.noreply@github.com
3f5447789a83847dcf555f556eaf2067a532731c
c06c2c4e084dad8191cbb6fb02227f7b05ba86e7
/chat/extras/output/output_adapter.py
33c6cd8c7c3458943de637f070c279efad3b0687
[]
no_license
thiagorocha06/chatbot
053c525d0c6d037570851411618f3cb1186b32b4
2d22a355926c50d9b389d3db883f435950b47a77
refs/heads/master
2020-03-24T14:31:59.134462
2018-07-29T14:42:55
2018-07-29T14:42:55
142,770,645
0
1
null
null
null
null
UTF-8
Python
false
false
660
py
from chat.extras.adapters import Adapter class OutputAdapter(Adapter): """ A generic class that can be overridden by a subclass to provide extended functionality, such as delivering a response to an API endpoint. """ def process_response(self, statement, session_id=None): """ ...
[ "thiagorocha06@gmail.com" ]
thiagorocha06@gmail.com
e2c63fd44222cfa6dd178d152e811377be48d2ef
25873da962b0acdcf2c46b60695866d29008c11d
/test/programrtest/aiml_tests/learn_tests/test_learn_aiml.py
face1b7f8aacdcafc02f4548da2466da762b9c4a
[]
no_license
LombeC/program-r
79f81fa82a617f053ccde1115af3344369b1cfa5
a7eb6820696a2e5314d29f8d82aaad45a0dc0362
refs/heads/master
2022-12-01T14:40:40.208360
2020-08-10T21:10:30
2020-08-10T21:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,303
py
import unittest import os from programr.context import ClientContext from programrtest.aiml_tests.client import TestClient class LearnTestClient(TestClient): def __init__(self): TestClient.__init__(self) def load_configuration(self, arguments): super(LearnTestClient, self).load_configurati...
[ "hilbert.cantor@gmail.com" ]
hilbert.cantor@gmail.com
39fe66b6f1dcefaec65de082d6af8a0c15789557
e77a7cc1ed343a85662f0ad3c448a350ab776261
/data_structures/array/number_of_1_in_sorted_array.py
79689872fbb5d35fdec0a24168779d5ce80f4454
[ "MIT" ]
permissive
M4cs/python-ds
9dcecab10291be6a274130c42450319dc112ac46
434c127ea4c49eb8d6bf65c71ff6ee10361d994e
refs/heads/master
2020-08-10T03:40:22.340529
2019-10-10T17:52:28
2019-10-10T17:52:28
214,247,733
2
0
MIT
2019-10-10T17:43:31
2019-10-10T17:43:30
null
UTF-8
Python
false
false
390
py
# The array is sorted in decreasing order def count(arr): start = 0 end = len(arr) - 1 while start <= end: mid = (start + end) // 2 if arr[mid] == 1 and (arr[mid + 1] == 0 or mid == high): return mid + 1 if arr[mid] == 1: start = mid + 1 else: ...
[ "prabhupant09@gmail.com" ]
prabhupant09@gmail.com
37c6df9686c851389868af110179898a2a55def7
8775aac665c4011cc743d737c12342e1b08d8f41
/config/hosts.py
3766ccf2d2f934ea128736f30b19f3dc8166cf79
[]
no_license
kongp3/sys_deploy
734dfa3815c93305eca77f5d3f9488968c90ef6f
8cd750c4df3f3f64515e3b0051038569d6e8bce2
refs/heads/master
2020-04-09T06:53:01.340569
2018-12-03T04:13:22
2018-12-03T04:13:22
160,131,093
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
# -*- coding: utf-8 -*- from config import * SERVER_HOSTS = [ SERVER1_USER + '@' + SERVER1_IP, SERVER2_USER + '@' + SERVER2_IP, SERVER3_USER + '@' + SERVER3_IP, ]
[ "kongp3@outlook" ]
kongp3@outlook
37423e07b41d1f3ab5e6bb839b8d4732d4a9d304
7fd0c4608e32c53fea935ac63cacf66e1a0c971d
/Canonical_Monojet/VectorModel/DMsimp_s_spin1_1750_500_800/parameters.py
91afdccfe54a967aad9a343a3a55bf02e074ce3e
[]
no_license
Quantumapple/MadGraph5_cards
285f8a303b04b9745abfc83f5ea4fb06a2922fc9
3db368ada01f59bace11b48eab2f58ab40ba29f2
refs/heads/master
2020-05-02T20:43:23.791641
2020-01-17T16:10:46
2020-01-17T16:10:46
178,199,838
0
2
null
null
null
null
UTF-8
Python
false
false
18,298
py
# This file was automatically created by FeynRules 2.3.7 # Mathematica version: 9.0 for Linux x86 (64-bit) (November 20, 2012) # Date: Mon 24 Aug 2015 13:37:17 from object_library import all_parameters, Parameter from function_library import complexconjugate, re, im, csc, sec, acsc, asec, cot # This is a default ...
[ "jongho.lee@cern.ch" ]
jongho.lee@cern.ch
7b57c6b8f00aee7146f0fe59c37715e1d98abd23
360558c34098ef95077e70a318cda7cb3895c6d9
/tests/test_observable/test_windowwithtimeorcount.py
266b08416b4ddd813c1b2536d83e66bbad25aa6f
[ "Apache-2.0" ]
permissive
AlexMost/RxPY
8bcccf04fb5a0bab171aaec897e909ab8098b117
05cb14c72806dc41e243789c05f498dede11cebd
refs/heads/master
2021-01-15T07:53:20.515781
2016-03-04T04:53:10
2016-03-04T04:53:10
53,108,280
0
1
null
2016-03-04T04:50:00
2016-03-04T04:49:59
null
UTF-8
Python
false
false
3,316
py
import unittest from datetime import timedelta from rx import Observable from rx.testing import TestScheduler, ReactiveTest, is_prime, MockDisposable from rx.disposables import Disposable, SerialDisposable on_next = ReactiveTest.on_next on_completed = ReactiveTest.on_completed on_error = ReactiveTest.on_error subscri...
[ "dag@brattli.net" ]
dag@brattli.net
f12ce4028eef8a875d3961103e02377c34e07746
7a1a65b0cda41ea204fad4848934db143ebf199a
/automatedprocesses_firststage/adsym_core_last60_test.py
c36727a8b0dc54c680f0dc9be9f8cf1ac23510a5
[]
no_license
bpopovich44/ReaperSec
4b015e448ed5ce23316bd9b9e33966373daea9c0
22acba4d84313e62dbbf95cf2a5465283a6491b0
refs/heads/master
2021-05-02T18:26:11.875122
2019-06-22T15:02:09
2019-06-22T15:02:09
120,664,056
0
0
null
null
null
null
UTF-8
Python
false
false
3,164
py
#!/usr/bin/python2.7 import json from mysql.connector import MySQLConnection, Error from python_dbconfig import read_db_config import aol_api_R_test def connect(): # """Gets AOL Data and writes them to a MySQL table""" db = "mysql_sl" api = "adsym" # Connect To DB: db_config = read_db_config(db...
[ "bpopovich4@gmail.com" ]
bpopovich4@gmail.com
88316ac5704d66e90cf23a4f9bf3cc8f3441e3df
50948d4cb10dcb1cc9bc0355918478fb2841322a
/sdk/cognitiveservices/azure-cognitiveservices-formrecognizer/azure/cognitiveservices/formrecognizer/form_recognizer_client.py
f080824c5befddc8650458e653398bd431232f5c
[ "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
17,235
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 ...
[ "laurent.mazuel@gmail.com" ]
laurent.mazuel@gmail.com
6e4dd4e629e9a48bb151508f9ec6c2120f4cb676
ce3964c7195de67e07818b08a43286f7ec9fec3e
/angle_peaks.py
3f18f3fab246542885ea6329ac9dc15a38b0f1c8
[]
no_license
zhuligs/physics
82b601c856f12817c0cfedb17394b7b6ce6b843c
7cbac1be7904612fd65b66b34edef453aac77973
refs/heads/master
2021-05-28T07:39:19.822692
2013-06-05T04:53:08
2013-06-05T04:53:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
#!/usr/bin/env python """ Create a data set of nn_dist peak distances vs rs & P, for a given neighbor """ import os, sys, commands, glob # RS is a list of all the names of the rs directories global RS RS = commands.getoutput('ls -1 | grep "1\." | grep -v c').split() def main(): # Open the output file out = o...
[ "boates@gmail.com" ]
boates@gmail.com
d0b528903a9a1e72d759138a3f5ab4c43d124a28
494b763f2613d4447bc0013100705a0b852523c0
/cnn/answer/M1_cp32_3_m_d512.py
f18fed9ba897d5083554c7a56ca3c5934c11fd9c
[]
no_license
DL-DeepLearning/Neural-Network
dc4a2dd5efb1b4ef1a3480a1df6896c191ae487f
3160c4af78dba6bd39552bb19f09a699aaab8e9e
refs/heads/master
2021-06-17T05:16:22.583816
2017-06-07T01:21:39
2017-06-07T01:21:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,704
py
# libraries & packages import numpy import math import sys from keras.models import Sequential from keras.layers import Dense, Dropout, Activation, Flatten from keras.layers import Convolution2D, MaxPooling2D from keras.optimizers import SGD from keras.utils import np_utils from os import listdir from os.path import is...
[ "teinhonglo@gmail.com" ]
teinhonglo@gmail.com
88743421203b00b54d21f449bdbbc3fddf47d0a0
faea85c8583771933ffc9c2807aacb59c7bd96e6
/python/pencilnew/visu/internal/MinorSymLogLocator.py
1e83f3c925453c62d8eeb6f112a86c81dcdb0538
[]
no_license
JosephMouallem/pencil_code
1dc68377ecdbda3bd3dd56731593ddb9b0e35404
624b742369c09d65bc20fdef25d2201cab7f758d
refs/heads/master
2023-03-25T09:12:02.647416
2021-03-22T02:30:54
2021-03-22T02:30:54
350,038,447
1
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
## ## symlog tick helper from matplotlib.ticker import Locator class MinorSymLogLocator(Locator): """ Dynamically find minor tick positions based on the positions of major ticks for a symlog scaling. """ def __init__(self, linthresh): """ Ticks will be placed between the major ticks. The pla...
[ "j3mouall@uwaterloo.ca" ]
j3mouall@uwaterloo.ca
a69df7f43308fc5480efdd170214dcdb43a9bc12
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03288/s994428906.py
8f675834b3b195d3bece521191e038e01a6a4385
[]
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
158
py
def main(): n = int(input()) if n < 1200: print("ABC") elif 1200 <= n < 2800: print("ARC") else: print("AGC") main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
942bad6052ac0e1168ff2fd57652246ca6e3a2fd
3416464630bc3322dd677001811de1a6884c7dd0
/others/q14_longest_common_prefix/__init__.py
2e8fe4c2d56cc68aee767b789c99e32124d7ef6d
[]
no_license
ttomchy/LeetCodeInAction
f10403189faa9fb21e6a952972d291dc04a01ff8
14a56b5eca8d292c823a028b196fe0c780a57e10
refs/heads/master
2023-03-29T22:10:04.324056
2021-03-25T13:37:01
2021-03-25T13:37:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ FileName: __init__.py.py Description: Author: Barry Chow Date: 2020/12/4 10:45 PM Version: 0.1 """
[ "zhouenguo@163.com" ]
zhouenguo@163.com
9fbd4414790f6c01e7a84591c3d5093412933571
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/1293ec85dd68dfc31183ae9ec654333301103660-<test_distribution_version>-fix.py
fb83f3cec75b577fead88273ad25d671dc08b97c
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
@pytest.mark.parametrize('testcase', TESTSETS, ids=(lambda x: x['name'])) def test_distribution_version(testcase): 'tests the distribution parsing code of the Facts class\n\n testsets have\n * a name (for output/debugging only)\n * input files that are faked\n * those should be complete and also inclu...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
c7097703377e37843c47abd796ec4f333f4d2e77
fde31c14f7a31bc98221e3959748748c32bfc7ad
/stock/tests.py
6c296e822db3a61d931e039b2f4a94f5f04f77dd
[]
no_license
schoolofnetcom/django-avancado
d557d05a96db6bc8471fec6cfc1bc80b78ea2266
0a9e0c92c437928caf3e647b7d9a35a0633d1ff2
refs/heads/master
2021-05-04T19:47:14.636565
2018-12-19T22:13:39
2018-12-19T22:13:39
106,818,135
5
4
null
null
null
null
UTF-8
Python
false
false
1,908
py
from django.contrib.auth.models import User from django.test import TestCase # Create your tests here. from django.test.testcases import SimpleTestCase from django.urls.base import reverse from stock.models import Product, TimestampableMixin, StockEntry class ProductTest(SimpleTestCase): def test_value_initial_...
[ "argentinaluiz@gmail.com" ]
argentinaluiz@gmail.com
9fe52b0d2955064f02e33f7ef81e170492fd5ec5
1ee90596d52554cb4ef51883c79093897f5279a0
/Sisteme/[C++] Ox Event Manager - Top 5 winners by Vegas [PREMIUM]/03. Client/root/uioxevent.py
1c602cfdb96c46c0b87d52f75e480054a6e1e75f
[]
no_license
Reizonr1/metin2-adv
bf7ecb26352b13641cd69b982a48a6b20061979a
5c2c096015ef3971a2f1121b54e33358d973c694
refs/heads/master
2022-04-05T20:50:38.176241
2020-03-03T18:20:58
2020-03-03T18:20:58
233,462,795
1
1
null
null
null
null
UTF-8
Python
false
false
16,095
py
# -*- coding: utf-8 -*- ################################################################### # title_name : Metin2 - Ox Event Manager & Top 5 winners [Full source] # date_created : 2017.01.21 # filename : uioxevent.py # author : VegaS # version_actual : Version 0.0.1 # import ui import dbg import app import chat...
[ "59807064+Reizonr1@users.noreply.github.com" ]
59807064+Reizonr1@users.noreply.github.com
7e5bb7c4fd4c0b14d3a1b3190ac870bc303b7697
a20c2e03720ac51191c2807af29d85ea0fa23390
/vowelorconsonant.py
18231b547eae391f8d07f55d552ba6abc0453b56
[]
no_license
KishoreKicha14/Guvi1
f71577a2c16dfe476adc3640dfdd8658da532e0d
ddea89224f4f20f92ebc47d45294ec79040e48ac
refs/heads/master
2020-04-29T23:32:13.628601
2019-08-05T17:48:18
2019-08-05T17:48:18
176,479,262
0
3
null
null
null
null
UTF-8
Python
false
false
255
py
n=input() a=ord(n) f=0 if (a in range(97,123))or(a in range(65,98)): v=[65,69,73,79,85,97,101,105,111,117] for i in v: if(i==a): f=1 print(vowel) break if(f==0): print("Consonant") else: print("invalid")
[ "noreply@github.com" ]
KishoreKicha14.noreply@github.com
3d48ec33045fb784ead90b898d450e65020f22cd
40ce4d7545309ca57f0670a3aa27573d43b18552
/com.ppc.Microservices/intelligence/daylight/location_midnight_microservice.py
c6ef5c09622b3603af1f31da45b9aac04e419e01
[ "Apache-2.0" ]
permissive
slrobertson1/botlab
769dab97cca9ee291f3cccffe214544663d5178e
fef6005c57010a30ed8d1d599d15644dd7c870d8
refs/heads/master
2020-07-28T06:45:37.316094
2019-09-18T15:34:08
2019-09-18T15:34:08
209,341,818
0
0
Apache-2.0
2019-09-18T15:23:37
2019-09-18T15:23:37
null
UTF-8
Python
false
false
878
py
''' Created on February 25, 2019 This file is subject to the terms and conditions defined in the file 'LICENSE.txt', which is part of this source code package. @author: David Moss ''' from intelligence.intelligence import Intelligence class LocationMidnightMicroservice(Intelligence): """ Announce midnight t...
[ "dmoss@peoplepowerco.com" ]
dmoss@peoplepowerco.com
bee0d4a64d8b86383ac57f7631cf62041079a8ed
b66bf5a58584b45c76b9d0c5bf828a3400ecbe04
/week-04/4-recursion/6.py
757f22bf72fb91301f22cd313315ff7f695c6926
[]
no_license
greenfox-velox/szepnapot
1196dcb4be297f12af7953221c27cd1a5924cfaa
41c3825b920b25e20b3691a1680da7c10820a718
refs/heads/master
2020-12-21T08:11:41.252889
2016-08-13T10:07:15
2016-08-13T10:07:15
58,042,932
0
1
null
null
null
null
UTF-8
Python
false
false
501
py
# 6. We have bunnies standing in a line, numbered 1, 2, ... The odd bunnies # (1, 3, ..) have the normal 2 ears. The even bunnies (2, 4, ..) we'll say # have 3 ears, because they each have a raised foot. Recursively return the # number of "ears" in the bunny line 1, 2, ... n (without loops or # multiplication). def ha...
[ "silentpocok@gmail.com" ]
silentpocok@gmail.com
7ac8563d6aacb10540b4737d547e048a5b5d34cb
8723e6a6104e0aa6d0a1e865fcaaa8900b50ff35
/util/test_registration.py
552ee309cf404634bd31b78fa6016c8364671422
[]
no_license
ejeschke/ginga-plugin-template
9c4324b7c6ffaa5009cce718de8ea2fc5172bc81
545c785a184aedb1535d161d3c5ca5e7bf5bed6e
refs/heads/master
2022-11-22T17:50:57.503956
2022-11-10T23:20:09
2022-11-10T23:20:09
78,906,928
0
2
null
null
null
null
UTF-8
Python
false
false
833
py
""" This program allows you to test whether your plugin will register itself correctly. """ from pkg_resources import iter_entry_points groups = ['ginga.rv.plugins'] available_methods = [] for group in groups: for entry_point in iter_entry_points(group=group, name=None): available_methods.append(entry_po...
[ "eric@naoj.org" ]
eric@naoj.org
2bf06e0ad8127a620f73166fdad183db2ad4a00b
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc026/A/4904316.py
f402a614334f49b3bcdec3a0f4f6dd30b813e978
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
42
py
a = int(input()) print(int((a ** 2) / 4))
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
036b5f311d7c71f462bc035c75e1f709fda7d0c1
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-582.py
53920cabcfe9a30a69d9844b54243579ff6513d3
[]
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,755
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
4ab0aeb36367fb0df10d5a681a0fd858593a06fd
5d13e9565779b4123e1b72815396eee0051d4980
/parse_titles_with_dictionary.py
136868340d5c6c8b92b10d3a91f34b556fdbc104
[]
no_license
futuresystems-courses/475-Dictionary-Based-Analysis-of-PubMed-Article-Titles-for-Mental-Disorders-Kia
b455574908971e487b99a175d8fdbd48d13f8c60
1ab992b1859905ee57e51a258777192b2ec32339
refs/heads/master
2021-01-10T11:06:37.112800
2015-12-28T17:03:00
2015-12-28T17:03:00
48,702,480
0
0
null
null
null
null
UTF-8
Python
false
false
5,328
py
import sys import nltk import csv import ast from operator import itemgetter import random stopwords = nltk.corpus.stopwords.words('english') disorder_phrases = {} DICTIONARY_FILE = 'mental diseases dictionary.csv' try: TITLES_FILE = 'parsed_titles.txt' except IndexError: print "\nERROR: No file name given. Ple...
[ "hroe.lee@gmail.com" ]
hroe.lee@gmail.com
dec11357af01c915a67ab8710067b1a3a55ad0ad
3f90f4f6876f77d6b43e4a5759b20e2e8d20e684
/ex10/ex10.py
89d4ec1d631136bdb021736fec2f1dbed4325af0
[]
no_license
kwangilahn/kwang
00d82d1bdca45000ee44fa2be55bdb8bff182c91
df2fa199648ae894cbcf18952f6924a9b897d639
refs/heads/master
2021-01-21T04:47:02.719819
2016-06-07T03:59:57
2016-06-07T03:59:57
54,316,240
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
tabby_cat = "\t I'm tabbed in" persian_cat = "I'm split\non a line" backslash_cat = "I'm \\ a \\ cat." fat_cat = """ I'll do a list: \t* Cat food \t* Fishes \t* catnip\n\t* Grass """ print tabby_cat print persian_cat print backslash_cat print fat_cat
[ "CAD Client" ]
CAD Client
6df8795ce5b75fe8c3f8c5df2849243b52446321
aa1972e6978d5f983c48578bdf3b51e311cb4396
/mas_nitro-python-1.0/massrc/com/citrix/mas/nitro/resource/config/ns/ns_vlan.py
d1c25cf0083cc9debb8d5c39b6a0cd53dac1af6d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MayankTahil/nitro-ide
3d7ddfd13ff6510d6709bdeaef37c187b9f22f38
50054929214a35a7bb19ed10c4905fffa37c3451
refs/heads/master
2020-12-03T02:27:03.672953
2017-07-05T18:09:09
2017-07-05T18:09:09
95,933,896
2
5
null
2017-07-05T16:51:29
2017-07-01T01:03:20
HTML
UTF-8
Python
false
false
8,561
py
''' Copyright (c) 2008-2015 Citrix Systems, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
[ "Mayank@Mandelbrot.local" ]
Mayank@Mandelbrot.local
e5aca0d6b7938b6734d193163f7dc5763682145e
c6d4fa98b739a64bb55a8750b4aecd0fc0b105fd
/ScanPi/QRbytes/66.py
a9eaa790c24644f8755bc148732af6e70b5c38f8
[]
no_license
NUSTEM-UK/Heart-of-Maker-Faire
de2c2f223c76f54a8b4c460530e56a5c74b65ca3
fa5a1661c63dac3ae982ed080d80d8da0480ed4e
refs/heads/master
2021-06-18T13:14:38.204811
2017-07-18T13:47:49
2017-07-18T13:47:49
73,701,984
2
0
null
null
null
null
UTF-8
Python
false
false
94,946
py
data = [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ...
[ "jonathan.sanderson@northumbria.ac.uk" ]
jonathan.sanderson@northumbria.ac.uk
6ac47a2b80b00b8628a0e5edd7e2a578430cde8a
7d2442279b6dbaae617e2653ded92e63bb00f573
/neupy/layers/transformations.py
ee9240912d7a646656b8944c68acbf4b57ff406b
[ "MIT" ]
permissive
albertwy/neupy
c830526859b821472592f38033f8475828f2d389
a8a9a8b1c11b8039382c27bf8f826c57e90e8b30
refs/heads/master
2021-06-03T21:23:37.636005
2016-05-24T21:18:25
2016-05-24T21:18:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,522
py
import numpy as np import theano.tensor as T from neupy.core.properties import ProperFractionProperty, TypedListProperty from .base import BaseLayer __all__ = ('Dropout', 'Reshape') class Dropout(BaseLayer): """ Dropout layer Parameters ---------- proba : float Fraction of the input units ...
[ "mail@itdxer.com" ]
mail@itdxer.com
b63a247f0dd508911578fa7843a6d083a5623821
ab79f8297105a7d412303a8b33eaa25038f38c0b
/mutif_all_vit_addons/vit_order_analysis/sale_order_analysis.py
c0ecfe10c045ce7610f50f2b9d062756034a7600
[]
no_license
adahra/addons
41a23cbea1e35079f7a9864ade3c32851ee2fb09
c5a5678379649ccdf57a9d55b09b30436428b430
refs/heads/master
2022-06-17T21:22:22.306787
2020-05-15T10:51:14
2020-05-15T10:51:14
264,167,002
1
0
null
2020-05-15T10:39:26
2020-05-15T10:39:26
null
UTF-8
Python
false
false
1,273
py
from openerp import tools from openerp.osv import fields,osv import openerp.addons.decimal_precision as dp import time import logging from openerp.tools.translate import _ _logger = logging.getLogger(__name__) class sale_order_analysis(osv.osv): _name = "vit_order_analysis.sale_order_analysis" _columns = { 'or...
[ "prog1@381544ba-743e-41a5-bf0d-221725b9d5af" ]
prog1@381544ba-743e-41a5-bf0d-221725b9d5af
97dd34b3acce5c12e2addd1d0a29713f76135553
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/eqptcapacity/bdentryhist1qtr.py
9064eba3f5f878d3153633d8be710cf51ec1d501
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
11,049
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
86c3fa0419163a6f6c84f50c5591118e84995339
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_233/ch29_2020_03_04_11_52_21_685286.py
86e106c02ae7810c6ae8a20278ff5d4c498791af
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
inicial = float(input()) taxa = float(input()) aumento = 0 for i in range(24): valor = inicial * taxa ** i aumento += valor - inicial decimos = int(valor * 10 - int(valor)) centesimos = int(valor * 100 - decimos * 10 - int(valor) * 100) print('%d,%d%d' % (int(valor), decimos, centes...
[ "you@example.com" ]
you@example.com
4f349f89eb2be66ea2a6218beb51cb31cef6cd36
8e62465c912ccbe41e322006a5c62b883e39143d
/src/boot/commands.py
91a37e3fd7c203c3e16b96d277ed893a5ada17b4
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
JayHeng/NXP-MCUBootFlasher
b41dd2ffe0bf2cde61b9deacdb6353835e9e4538
a7643b2de6429481c3bf54bc2508d7e76c76562d
refs/heads/master
2022-05-27T06:26:49.532173
2022-03-21T07:23:01
2022-03-21T07:23:01
176,099,535
37
16
Apache-2.0
2022-03-14T06:28:23
2019-03-17T12:42:14
Python
UTF-8
Python
false
false
3,357
py
#! /usr/bin/env python # Copyright 2021 NXP # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause from collections import namedtuple # Command constants. kCommandTag_FlashEraseAll = 0x01 kCommandTag_FlashEraseRegion = 0x02 kCommandTag_ReadMemory = 0x03 kCommandTag_WriteMemory ...
[ "jie.heng@nxp.com" ]
jie.heng@nxp.com
796e00eb1d56efcf0a57251345c0236b3a28f9da
16e69196886254bc0fe9d8dc919ebcfa844f326a
/edc/base/modeladmin/admin/base_model_admin.py
5b0f9d99161144063c25f8b56d2d0ac3ca00c756
[]
no_license
botswana-harvard/edc
b54edc305e7f4f6b193b4498c59080a902a6aeee
4f75336ff572babd39d431185677a65bece9e524
refs/heads/master
2021-01-23T19:15:08.070350
2015-12-07T09:36:41
2015-12-07T09:36:41
35,820,838
0
0
null
null
null
null
UTF-8
Python
false
false
20,157
py
import logging import re from datetime import datetime from django.contrib import admin from django.core.exceptions import ImproperlyConfigured from django.core.urlresolvers import NoReverseMatch from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect from django.utils.encoding impor...
[ "ew2789@gmail.com" ]
ew2789@gmail.com
747707c028e314a5eff983e4a9e35bede5aae0c0
fb133bb72cbc965f405e726796e02d01ef8905e2
/combinatorics/permutations.py
25809abf4e33cb533feaca93aa0fc997e499ce67
[ "Unlicense", "LicenseRef-scancode-public-domain" ]
permissive
eklitzke/algorithms
a90b470c6ea485b3b6227fe74b23f40109cfd1f5
170b49c7aaeb06f0a91142b1c04e47246ec52fd1
refs/heads/master
2021-01-22T11:15:52.029559
2017-05-28T19:39:32
2017-05-28T19:39:32
92,677,550
2
0
null
null
null
null
UTF-8
Python
false
false
621
py
"""Implementation of permutations. This uses the "interleaving" technique, which I find the most intuitive. It's not the most efficient algorithm. """ def interleave(x, xs): """Interleave x into xs.""" for pos in range(len(xs) + 1): yield xs[:pos] + [x] + xs[pos:] def permutations(xs): """Gener...
[ "evan@eklitzke.org" ]
evan@eklitzke.org
0d4217a71c1443b49fbe2b08c76d0a241f2633fd
c237dfae82e07e606ba9385b336af8173d01b251
/lib/python/Products/ZCTextIndex/tests/mailtest.py
e8852d178ca4296bb828459acad38e1cdfcd1f25
[ "ZPL-2.0" ]
permissive
OS2World/APP-SERVER-Zope
242e0eec294bfb1ac4e6fa715ed423dd2b3ea6ff
dedc799bd7eda913ffc45da43507abe2fa5113be
refs/heads/master
2020-05-09T18:29:47.818789
2014-11-07T01:48:29
2014-11-07T01:48:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,988
py
"""Test an index with a Unix mailbox file. usage: python mailtest.py [options] <data.fs> options: -v -- verbose Index Generation -i mailbox -n NNN -- max number of messages to read from mailbox -t NNN -- commit a transaction every NNN messages (default: 1) -p NNN -- pack <data.fs> every N...
[ "martin@os2world.com" ]
martin@os2world.com
4f3c73e27f6f55f81e9f77fb85fc19fbed7f387b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02928/s256920562.py
c89b4ce6cab3fe975f18c176f86c82863230a7df
[]
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
797
py
#第一回日本最強プログラマー学生選手権-予選- -B Kleene Inversion """ リストをk回繰り返したものの、転倒数の個数を求めよ 先ず純粋に与えられたリスト内での転倒数を求めた後、 それを1~k倍したものを足し合わせる """ import sys readline = sys.stdin.buffer.readline def even(n): return 1 if n%2==0 else 0 mod = 10**9+7 n,k = map(int,readline().split()) lst1 = list(map(int,readline().split())) fall = 0 fall_al = 0...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
96fd7941d77aa61220eefc52fc789617803291c0
eaba398a0ca5414c10dd1890e662fdcd87e157b6
/tests/steps/basic.py
1ca0ec3034bcc7987e7c7eee0bf0ef965a096c27
[ "MIT" ]
permissive
coddingtonbear/jirafs
a78f47e59836d9a6024bc287ea2a1247fb297e62
778cba9812f99eeaf726a77c1bca5ae2650a35e9
refs/heads/development
2023-06-16T00:06:33.262635
2022-09-20T04:06:26
2022-09-20T04:06:26
21,588,191
125
17
MIT
2023-06-02T05:48:53
2014-07-07T21:54:20
Python
UTF-8
Python
false
false
3,047
py
from __future__ import print_function import collections import json import os import shutil import subprocess from behave import * from jira.client import JIRA @given("jirafs is installed and configured") def installed_and_configured(context): pass @given("a cloned ticket with the following fields") def clon...
[ "me@adamcoddington.net" ]
me@adamcoddington.net
14ebd393b7eb8046d3b0633dd9cde072d9aa2afe
6061ebee9fbce8eb5b48ed7ccd2aecb196156598
/modulo02-basico/desafios/desafio04.py
6b061eeeb1901a297582e79d7c39ea815235dd66
[]
no_license
DarioCampagnaCoutinho/logica-programacao-python
fdc64871849bea5f5bbf2c342db5fda15778110b
b494bb6ef226c89f4bcfc66f964987046aba692d
refs/heads/master
2023-02-24T11:45:29.551278
2021-01-26T22:02:49
2021-01-26T22:02:49
271,899,650
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
import random nome1 = 'Dario' nome2 = 'Maria' nome3 = 'Ana' nome4 = 'José' x = random.choice([nome1, nome2, nome3, nome4]) print('O escolhido foi = {} '.format(x))
[ "campagnacoutinho67@gmail.com" ]
campagnacoutinho67@gmail.com
dea33f85af7f66f7636b976164a57c513d9e0b8c
59166105545cdd87626d15bf42e60a9ee1ef2413
/test/test_gaelic_games_player_api.py
652e74921fb7bba2124a47a636a082cc9d1127cd
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import dbpedia from dbpedia.api.gaelic_games_player_api import Gael...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
ca3562bb02d7bbdba2a3884a09cb3e1ef762c919
f76e11d4da15768bf8683380b1b1312f04060f9a
/sample_conlls_for_files_in_folder.py
a41592d79ee73224376e3b60857161c7a140304b
[]
no_license
rasoolims/scripts
0804a2e5f7f405846cb659f9f8199f6bd93c4af6
fd8110558fff1bb5a7527ff854eeea87b0b3c597
refs/heads/master
2021-07-07T03:53:20.507765
2021-04-13T14:53:00
2021-04-13T14:53:00
24,770,177
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import os,sys sampler = os.path.dirname(os.path.abspath(sys.argv[0]))+'/sample_conlls.py' folder = os.path.abspath(sys.argv[1])+'/' o_folder = os.path.abspath(sys.argv[2])+'/' max_num = int(sys.argv[3]) for f in sorted(os.listdir(folder)): command = 'python ' + sampler + ' '+folder+f +' '+o_folder+f + ' '+str(max_nu...
[ "rasooli.ms@gmail.com" ]
rasooli.ms@gmail.com
3f44a961dc17d224810f89b2af9967c97b56e9cc
2eae961147a9627a2b9c8449fa61cb7292ad4f6a
/openapi_client/models/put_financial_settings_financial_settings.py
528befb129e62a58e2aa4a47305b7c13242a06cc
[]
no_license
kgr-eureka/SageOneSDK
5a57cc6f62ffc571620ec67c79757dcd4e6feca7
798e240eb8f4a5718013ab74ec9a0f9f9054399a
refs/heads/master
2021-02-10T04:04:19.202332
2020-03-02T11:11:04
2020-03-02T11:11:04
244,350,350
0
0
null
null
null
null
UTF-8
Python
false
false
22,975
py
# coding: utf-8 """ Sage Business Cloud Accounting - Accounts Documentation of the Sage Business Cloud Accounting API. # noqa: E501 The version of the OpenAPI document: 3.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from openapi_client.confi...
[ "kevin.gray@eurekasolutions.co.uk" ]
kevin.gray@eurekasolutions.co.uk
2a12122d9d5b99a129dc3fa2a52bf6b57a7b4e4d
a8b2ab984cf02660efce5a7696cd3218d7023883
/python/598.range-addition-ii.py
a16fc8861d35c55faac849acfad8d6b4554fd525
[ "MIT" ]
permissive
vermouth1992/Leetcode
b445f51de3540ef453fb594f04d5c9d9ad934c0c
386e794861f37c17cfea0c8baa3f544c8e5ca7a8
refs/heads/master
2022-11-07T13:04:00.393597
2022-10-28T02:59:22
2022-10-28T02:59:22
100,220,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
# # @lc app=leetcode id=598 lang=python3 # # [598] Range Addition II # # https://leetcode.com/problems/range-addition-ii/description/ # # algorithms # Easy (50.41%) # Total Accepted: 47.5K # Total Submissions: 94.3K # Testcase Example: '3\n3\n[[2,2],[3,3]]' # # You are given an m x n matrix M initialized with all 0...
[ "czhangseu@gmail.com" ]
czhangseu@gmail.com
3a346913704674caee5c77cd75948fe136288495
375f29655b966e7dbac2297b3f79aadb5d03b737
/Image/Morphw.py
480c580be1281ed1523a76b52adc5b0beb2b5854
[ "MIT" ]
permissive
pection-zz/FindJointwithImageprocessing
33e0b47ca3629d85e739edcd88dcd1663af88631
3dd4563be88dfcf005c32f19ae97d03f9bf715ad
refs/heads/master
2022-12-23T11:09:04.391591
2020-10-05T16:35:21
2020-10-05T16:35:21
301,473,183
0
1
null
null
null
null
UTF-8
Python
false
false
2,051
py
import sys # import urllib2 import cv2 as cv src = 0 image = 0 dest = 0 element_shape = cv.CV_SHAPE_RECT def Opening(pos): element = cv.CreateStructuringElementEx(pos*2+1, pos*2+1, pos, pos, element_shape) cv.Erode(src, image, element, 1) cv.Dilate(image, dest, element, 1) cv.ShowImage("O...
[ "pection.naphat@gmail.com" ]
pection.naphat@gmail.com
7537600bafe78ac26d429c8c02a71a336bd9f55a
63ace5832d453e325681d02f6496a0999b72edcb
/bip_utils/addr/ergo_addr.py
3866b51985ebe93e5c043e028807fdc3bf08fece
[ "MIT" ]
permissive
ebellocchia/bip_utils
c9ec04c687f4247e57434319e36b2abab78f0b32
d15c75ddd74e4838c396a0d036ef6faf11b06a4b
refs/heads/master
2023-09-01T13:38:55.567370
2023-08-16T17:04:14
2023-08-16T17:04:14
251,130,186
244
88
MIT
2023-08-23T13:46:19
2020-03-29T20:42:48
Python
UTF-8
Python
false
false
6,215
py
# Copyright (c) 2022 Emanuele Bellocchia # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish,...
[ "54482000+ebellocchia@users.noreply.github.com" ]
54482000+ebellocchia@users.noreply.github.com
71f2f3f6ab8c82d999fdc5604d74c6ca35798e00
a4df0ee67d0d56fc8595877470318aed20dd4511
/vplexapi-6.2.0.3/vplexapi/api/system_config_api.py
0cf62487a151978bcac867ff393426037a25be5b
[ "Apache-2.0" ]
permissive
QD888/python-vplex
b5a7de6766840a205583165c88480d446778e529
e2c49faee3bfed343881c22e6595096c7f8d923d
refs/heads/main
2022-12-26T17:11:43.625308
2020-10-07T09:40:04
2020-10-07T09:40:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,577
py
# coding: utf-8 """ VPlex REST API A defnition for the next-gen VPlex API # noqa: E501 OpenAPI spec version: 0.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library ...
[ "anil.degwekar@emc.com" ]
anil.degwekar@emc.com
bbe80be9f9fff0ea613053c45361bc9ec7a96a24
abaa806550f6e6e7bcdf71b9ec23e09a85fe14fd
/data/global-configuration/packs/sshd/collectors/collector_sshd.py
c0b458e04e59a61fc4c9e68ec80c8eb193eddf40
[ "MIT" ]
permissive
naparuba/opsbro
02809ddfe22964cd5983c60c1325c965e8b02adf
98618a002cd47250d21e7b877a24448fc95fec80
refs/heads/master
2023-04-16T08:29:31.143781
2019-05-15T12:56:11
2019-05-15T12:56:11
31,333,676
34
7
null
null
null
null
UTF-8
Python
false
false
825
py
import os from opsbro.collector import Collector class Sshd(Collector): def launch(self): self.logger.debug('get_sshd: starting') if not os.path.exists('/etc/ssh'): self.set_not_eligible('There is no ssh server. Missing /etc/ssh directory.') return res = {} ...
[ "naparuba@gmail.com" ]
naparuba@gmail.com
3262ca2157e7e55a7bc3b144133ddefce3b3e3a7
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/44a9b167bda9654ce60588cf2dcee88e4bad831d-<test_apply_with_reduce_empty>-bug.py
2a11ec39a3f937351a774e71f7fba648b2061694
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
def test_apply_with_reduce_empty(self): x = [] result = self.empty.apply(x.append, axis=1, result_type='expand') assert_frame_equal(result, self.empty) result = self.empty.apply(x.append, axis=1, result_type='reduce') assert_series_equal(result, Series([], index=pd.Index([], dtype=object))) empt...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
9ee850f579c896ce0e8288b66817cca063a7a3d0
c67f2d0677f8870bc1d970891bbe31345ea55ce2
/zippy/lib-python/3/tkinter/font.py
5425b060132a7f3319d4038b8185c548b23e4efa
[ "BSD-3-Clause" ]
permissive
securesystemslab/zippy
a5a1ecf5c688504d8d16128ce901406ffd6f32c2
ff0e84ac99442c2c55fe1d285332cfd4e185e089
refs/heads/master
2022-07-05T23:45:36.330407
2018-07-10T22:17:32
2018-07-10T22:17:32
67,824,983
324
27
null
null
null
null
UTF-8
Python
false
false
6,135
py
# Tkinter font wrapper # # written by Fredrik Lundh, February 1998 # # FIXME: should add 'displayof' option where relevant (actual, families, # measure, and metrics) # __version__ = "0.9" import tkinter # weight/slant NORMAL = "normal" ROMAN = "roman" BOLD = "bold" ITALIC = "italic" def nametofont(name): ...
[ "thezhangwei@gmail.com" ]
thezhangwei@gmail.com
d0676c8bf7212cd46f2beb1288e21d745b2f5132
dd3ee2babd81d7d37399fd92f637c5600661b408
/latest_changes/wagtail_hooks.py
b9b2ac9588fa27f8e9aa842568a27b12208540e4
[]
no_license
andsimakov/wagtail-latest-changes
2dc65f6e8212f02be51e3da957ce8804b08054f7
055004fd1e8fa65558bf030e258b82ec7891999c
refs/heads/master
2022-06-17T22:01:05.821551
2020-05-08T10:47:39
2020-05-08T10:47:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
from django.http import HttpResponse from django.conf.urls import url from django.urls import reverse from wagtail.admin.menu import MenuItem from wagtail.core import hooks from wagtail.core.models import UserPagePermissionsProxy from .views import LatestChangesView @hooks.register('register_admin_urls') def urlconf_t...
[ "spapas@gmail.com" ]
spapas@gmail.com
9b5cc1f531bb419eff65159e5e7de7bc03c0bcf9
32819d5a91c8ffc6f9594cbeb3eb66a19de6c89e
/tracklets/python/bag_to_kitti.py
3fa47e3cd9a0c75f0483fb0791a22eb793b71d7d
[]
no_license
td2014/didi-competition
89b4dfa33c3252c214b56d7199a0b4d49e8c0945
a92ca1cb36907bcf5db6c8e454063e45451f5842
refs/heads/master
2021-01-19T11:54:28.623417
2017-04-19T17:24:31
2017-04-19T17:24:31
88,005,585
0
0
null
2017-04-12T03:25:23
2017-04-12T03:25:22
null
UTF-8
Python
false
false
19,193
py
#! /usr/bin/python """ Udacity Self-Driving Car Challenge Bag Processing """ from __future__ import print_function from cv_bridge import CvBridge, CvBridgeError from collections import defaultdict import os import sys import cv2 import math import imghdr import argparse import functools import matplotlib matplotlib.us...
[ "rwightman@gmail.com" ]
rwightman@gmail.com
9c0b5755bd03830f93fded39f854b1e51d9fe91e
50015e72ea35113ad40e13cb36c85116b0048aa9
/shop_paypal/modifiers.py
12daf8625068c27aa5c5550745293b3cf29d2b51
[ "MIT" ]
permissive
haricot/djangoshop-paypal
30085baf75d7712aa1b4c39eba7256d9b0f39ef5
f1c381b4a64201029dcfe60af6e0243dc43fe50c
refs/heads/master
2020-12-20T12:18:17.495255
2020-01-10T22:29:43
2020-01-10T22:29:43
236,073,186
0
1
MIT
2020-01-24T19:54:41
2020-01-24T19:54:40
null
UTF-8
Python
false
false
1,240
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from shop.payment.modifiers import PaymentModifier as PaymentModifierBase from .payment import PayPalPayment class PaymentModifier(PaymentModifierBase): """ Cart modifier which handles paym...
[ "jacob.rief@gmail.com" ]
jacob.rief@gmail.com
b326be0d3157e8e4c6291097ba566e5d4d202d38
0247690e0b33e919c8611f6feef37867052bbf51
/mayan/apps/events/classes.py
7c34b0368df856fcc39496b4c7ed1f8016eb9b45
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
tobennanwokike/mayan-edms
2a499daf9ceb5d9a41c71270135fe652ad304ce1
89c145adde90eef849903907394b1c79e88470fd
refs/heads/master
2020-03-28T00:22:12.704262
2018-08-17T08:52:12
2018-08-17T08:52:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,928
py
from __future__ import unicode_literals import logging from django.apps import apps from django.contrib.auth import get_user_model from django.core.exceptions import PermissionDenied from django.utils.encoding import force_text, python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from...
[ "roberto.rosario.gonzalez@gmail.com" ]
roberto.rosario.gonzalez@gmail.com
3c63fe02ede7587da3872d2f6648382246af942d
09fafd03fc39cb890b57f143285925a48d114318
/tool_angle/DynamixelSDK/python/tests/protocol2_0/read_write.py
345cc047828cda6bc773f29f448adc7eb29f2018
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
SamKaiYang/robot_control_hiwin_ros
83914e1af44da69631b079ad5eeff4bd49e6abc9
50457391013b4cad90b932ffc5afa078f00da7bb
refs/heads/master
2023-08-17T03:21:57.466251
2021-09-18T06:32:30
2021-09-18T06:32:30
292,339,605
1
2
BSD-3-Clause
2020-09-22T17:04:20
2020-09-02T16:45:12
Python
UTF-8
Python
false
false
5,851
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ################################################################################ # Copyright 2017 ROBOTIS CO., LTD. # # 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 cop...
[ "tt00621212@gmail.com" ]
tt00621212@gmail.com
351daf0695f3655bb2f5c218f0f16aa10b92f746
159a527d5333f848fa58fed8c39ee6303a507c62
/RPi_Drone/simpleCali.py
1c52e69d2795f1f083679fe9fbd2b707efe1af8c
[]
no_license
GitDubs/Pi_Drone
ca3f15f4e33797dd276f8b39c6ac62186ace8d10
d3bf8817ce12cd6483128b7dd233a7e132b6e2e9
refs/heads/master
2020-04-15T19:56:46.744054
2020-03-24T16:02:14
2020-03-24T16:02:14
164,971,308
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
import pigpio import time import os import atexit def exit_handler(): pi.set_servo_pulsewidth(ESC, 0) ESC = 18 pi = pigpio.pi(); pi.set_servo_pulsewidth(ESC, 0) max_value = 2500 min_value = 1400 pi.set_servo_pulsewidth(ESC, max_value) print "connect battery" input = raw_input() pi.set_servo_pulsewidth(ESC, min_v...
[ "user.email" ]
user.email
1b2c6861f8b770d3e0adc653245cf15c1653ed49
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/d9933aefec50d5a14e37/snippet.py
87ad5fd6c98ff7ea83980693401ab52e949be51f
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
7,254
py
# Author: Kyle Kastner # License: BSD 3-Clause # For a reference on parallel processing in Python see tutorial by David Beazley # http://www.slideshare.net/dabeaz/an-introduction-to-python-concurrency # Loosely based on IBM example # http://www.ibm.com/developerworks/aix/library/au-threadingpython/ # If you want to dow...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
45b45006fa8d12f989dc183ab1e0f50b4e2d9667
3032a58254a0d61403cc75476438bf60a119c2ea
/ADB Scripts/GMLAB Scripts/GM9 Pro/Functional/GPSGoogleMap.py
7d7bc345cf7bbd1792137326ec544a1abf74c86b
[]
no_license
anithamini/useful-info
1e05528d61609ca4249920e41c88957ed1476fd7
a393db8d8e727d29d185d75f7920e21770a39e70
refs/heads/master
2020-04-14T15:42:06.627213
2019-01-03T07:02:16
2019-01-03T07:02:16
163,935,084
2
3
null
null
null
null
UTF-8
Python
false
false
3,142
py
import os import re from time import sleep def GPS_ON(): print("Enabling GPS.........") os.system("adb shell settings put secure location_providers_allowed +gps") def GPS_OFF(): print("Disabling GPS.........") os.system("adb shell settings put secure location_providers_allowed -gps") ...
[ "akesiboyina@innominds.com" ]
akesiboyina@innominds.com
b1ff178eefe0307fd51681e85df4fbbba93522bc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_freshening.py
4611789aff9058da179cb60091496dbac47b7753
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
#calss header class _FRESHENING(): def __init__(self,): self.name = "FRESHENING" self.definitions = freshen self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['freshen']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
6a8b5a661bc5de5d995d5ebc3032fec9c32bb3bd
3d4fcc7cbfafc4aaebea8e08d3a084ed0f0d06a1
/Programme_1/Creation_donnees/MIDI/schumm-3fMidiSimple.py
3b960ac7c7a4d5f017387e01b32ea2cd76707b76
[]
no_license
XgLsuLzRMy/Composition-Musicale-par-Reseau-de-Neurones
0421d540efe2d9dc522346810f6237c5f24fa3bf
518a6485e2ad44e8c7fbae93c94a9dc767454a83
refs/heads/master
2021-09-03T20:43:01.218089
2018-01-11T20:02:00
2018-01-11T20:02:00
106,448,584
3
1
null
null
null
null
UTF-8
Python
false
false
117,270
py
import midi pattern=midi.Pattern(format=1, resolution=480, tracks=\ [midi.Track(\ [ midi.NoteOnEvent(tick=1860, channel=0, data=[70, 48]), midi.NoteOnEvent(tick=60, channel=0, data=[70, 0]), midi.NoteOnEvent(tick=0, channel=0, data=[68, 56]), midi.NoteOnEvent(tick=120, channel=0, data=[68, 0]), midi.NoteO...
[ "jeremy.catelain@insa-rouen.fr" ]
jeremy.catelain@insa-rouen.fr
cec5a465126042fd03b4663dc6672c08cd539861
d6589ff7cf647af56938a9598f9e2e674c0ae6b5
/ice-20201109/alibabacloud_ice20201109/client.py
88953d6b4eec3b55cb3d1cba4ff70b9ae9734e45
[ "Apache-2.0" ]
permissive
hazho/alibabacloud-python-sdk
55028a0605b1509941269867a043f8408fa8c296
cddd32154bb8c12e50772fec55429a9a97f3efd9
refs/heads/master
2023-07-01T17:51:57.893326
2021-08-02T08:55:22
2021-08-02T08:55:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
85,614
py
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from typing import Dict from Tea.core import TeaCore from alibabacloud_tea_openapi.client import Client as OpenApiClient from alibabacloud_tea_openapi import models as open_api_models from alibabacloud_tea_util.client import Client as UtilCl...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
69b765b6c43f5b3185f837bec89da018492bd0ac
9ff1058a0500be499fd3de9ec0beccd697d5273c
/Shared/Ollinger/pyparserial/parallel/parallelppdev.py
eec2104495335dd90f546039d63dbbeb5c306dc7
[]
no_license
jrussell9000/NeuroScripts
93f53c7d38c1d51fdc0cf39096e0996daee887cf
e41558754bd36385f94934333cb39a6500abfd9f
refs/heads/master
2021-06-09T20:30:59.956137
2021-04-08T18:45:39
2021-04-08T18:45:39
151,635,108
0
0
null
null
null
null
UTF-8
Python
false
false
22,750
py
#!/usr/bin/env python # parallel port access using the ppdev driver import sys import struct import fcntl import os #---- # Generated by h2py 0.1.1 from <linux/ppdev.h>, # then cleaned up a bit by Michael P. Ashton and then a gain by chris ;-) # Changes for Python2.2 support (c) September 2004 Alex.Perry@qm.com # J...
[ "jrussell9000@gmail.com" ]
jrussell9000@gmail.com
2de021e9e85df16452f8d08a2931aff200c9ce8a
e7a3961e94ffce63f02a3d5bb92b5850005c7955
/django_tuts/forms_tuts/models.py
4eca909a170d97954cf1c7b64b0d370e80410ad5
[]
no_license
sbhusal123/django-collections
219c032c97dd7bc2b3c5961f71fb8da5e4826ec1
4efed68d29fd1e383d15b303584fc4eb183aff98
refs/heads/master
2022-11-06T17:32:25.776023
2020-06-20T07:58:54
2020-06-20T07:58:54
273,394,086
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
from _datetime import datetime from django.db import models from django.contrib.auth import get_user_model User = get_user_model() class Products(models.Model): """Products for sale""" name = models.CharField(max_length=256, unique=True, null=False, blank=False) price = models.DecimalField(max_digits=8,...
[ "suryabhusal11@gmail.com" ]
suryabhusal11@gmail.com
467159dbc7962cddb1433df59cdc1a26132ca3af
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_waxiest.py
ed828779dd11c8bd004322d280f17905dcb1f528
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from xai.brain.wordbase.adjectives._waxy import _WAXY #calss header class _WAXIEST(_WAXY, ): def __init__(self,): _WAXY.__init__(self) self.name = "WAXIEST" self.specie = 'adjectives' self.basic = "waxy" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
60d734472901344d763d6e229ca2310ce9e90063
714cbe0205a4af7b8386116854c1eb85b63fb74d
/base.py
c506f9f1f78873528074a0dcd48211ca9c54dd1f
[]
no_license
hologerry/lincoln
8ff7eb0b1ffe6b3792c8908e9db3adbe59e3ce22
e3144d949c7e2e85075a2211c1f49bcf40d5b5b2
refs/heads/master
2021-02-05T19:10:40.708747
2020-03-02T16:24:16
2020-03-02T16:24:16
243,821,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
from numpy import ndarray from utils.np_utils import assert_same_shape class Operation(object): def __init__(self): pass def forward(self, input_: ndarray, inference: bool = False) -> ndarray: self.input_ = input_ self.output = self._output(inference...
[ "hologerry@gmail.com" ]
hologerry@gmail.com
1b0636fcd3958c905c9dc3f2ad157ad20a18c1c8
029aa4fa6217dbb239037dec8f2e64f5b94795d0
/Python算法指南/集合、列表、字符串/38_两数之和I_两数之和的应用_背.py
9f582ae4669e34cd92b44ea088f6f44037c21e74
[]
no_license
tonyyo/algorithm
5a3f0bd4395a75703f9ee84b01e42a74283a5de9
60dd5281e7ce4dfb603b795aa194a67ff867caf6
refs/heads/master
2022-12-14T16:04:46.723771
2020-09-23T06:59:33
2020-09-23T06:59:33
270,216,530
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
class Solution(object): def twoSum(self, nums, target): hash = {0: 1} size = len(nums) ans = [] for j in range(size): if target - nums[j] in hash: ans.append([hash[target - nums[j]], j]) hash[nums[j]] = j return ans def twoSum2(sel...
[ "1325338208@qq.com" ]
1325338208@qq.com
e398266ec2bb991e101560d67092ff805b861f66
af4761b401ecec831ff42344a33cc1e85996eb64
/freq.py
6f1636fff4abfdfd953c32d3ee2924b86d831e62
[ "MIT" ]
permissive
rayjustinhuang/BitesofPy
70aa0bb8fdbffa87810f00210b4cea78211db8cf
e5738f4f685bad4c8fb140cbc057faa441d4b34c
refs/heads/master
2022-08-15T05:02:19.084123
2022-08-09T12:26:42
2022-08-09T12:26:42
219,509,496
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from collections import Counter def freq_digit(num: int) -> int: return int(Counter(str(num)).most_common(1)[0][0]) pass
[ "rayjustinhuang@gmail.com" ]
rayjustinhuang@gmail.com
5088f6b3f2353635f7d058f8bacc384981913b52
5955ea34fd72c719f3cb78fbb3c7e802a2d9109a
/MATRIX/Trivial/trivia1.py
f67af7e92614c8d5539f7d8a23712859516740da
[]
no_license
AndreySperansky/TUITION
3c90ac45f11c70dce04008adc1e9f9faad840b90
583d3a760d1f622689f6f4f482c905b065d6c732
refs/heads/master
2022-12-21T21:48:21.936988
2020-09-28T23:18:40
2020-09-28T23:18:40
299,452,924
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] print(matrix[1]) print(matrix[1][1]) print(matrix[2][0]) matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] print(matrix[1][1])
[ "andrey.speransky@gmail.com" ]
andrey.speransky@gmail.com
8ecbc754fb7b5d7fc3b127f5aba3afc90fec38bd
55ceefc747e19cdf853e329dba06723a44a42623
/_CodeTopics/LeetCode/401-600/000430/000430.py
3d1bb3c077f5343fa55b72a6a1472a0b865025c4
[]
no_license
BIAOXYZ/variousCodes
6c04f3e257dbf87cbe73c98c72aaa384fc033690
ee59b82125f100970c842d5e1245287c484d6649
refs/heads/master
2023-09-04T10:01:31.998311
2023-08-26T19:44:39
2023-08-26T19:44:39
152,967,312
0
1
null
null
null
null
UTF-8
Python
false
false
1,241
py
""" # Definition for a Node. class Node(object): def __init__(self, val, prev, next, child): self.val = val self.prev = prev self.next = next self.child = child """ class Solution(object): def flatten(self, head): """ :type head: Node :rtype: Node ...
[ "noreply@github.com" ]
BIAOXYZ.noreply@github.com
e33115a19dd732a6c8ce0df64c67a4d22df9a5b5
12796e7a68295a5777690cf916197f553dcfc690
/plans/manageiq/rhev.py
cce05c9c1157767f73a22cb58d304b2c1cdf57a7
[ "Apache-2.0" ]
permissive
jruariveiro/kcli
294768c25748f8a2281d9d7b3cad6f6d6dd5d9a9
2de467f9c74913b030ca8e2f32c7caad59bf53c1
refs/heads/master
2020-03-26T05:50:58.301210
2018-08-13T12:45:04
2018-08-13T12:45:04
144,577,929
0
0
Apache-2.0
2018-08-13T12:39:19
2018-08-13T12:39:19
null
UTF-8
Python
false
false
655
py
#!/usr/bin/python import json import requests user = "admin" password = "[[ password ]]" rhevuser = "admin@internal" rhevpassword = "[[ rhev_password ]]" rhevhost = "[[ rhev_host ]]" headers = {'content-type': 'application/json', 'Accept': 'application/json'} postdata = { "type": "ManageIQ::Providers::Redhat::Inf...
[ "karimboumedhel@gmail.com" ]
karimboumedhel@gmail.com
f8977685a94d80cf3dfd33f28317c3f562df7ba3
1fccf52e0a694ec03aac55e42795487a69ef1bd4
/src/euler_python_package/euler_python/medium/p422.py
3c591094a147780090d3295335ca6c74526aab21
[ "MIT" ]
permissive
wilsonify/euler
3b7e742b520ee3980e54e523a018cd77f7246123
5214b776175e6d76a7c6d8915d0e062d189d9b79
refs/heads/master
2020-05-27T12:15:50.417469
2019-09-14T22:42:35
2019-09-14T22:42:35
188,614,451
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
def problem422(): pass
[ "tom.andrew.wilson@gmail.com" ]
tom.andrew.wilson@gmail.com
9e3792043fd56915f96a427288025faa54a6a339
8b7e9d06fca9d0999eabe7f6906db0e6f1f81d4c
/tourney/tournament/management/commands/players.py
f7ab85f516eaad2f0ee9ada587ed17b09dacad9e
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
jonejone/tourney
9efa442e9c27660a7a4544b008e066592011b194
1372c635c873b6dc6c085a2bfdb02f6528ef25c3
refs/heads/master
2021-01-17T11:37:13.876732
2015-06-17T13:51:47
2015-06-17T13:51:47
7,472,571
0
0
null
2013-04-19T10:17:36
2013-01-06T20:49:36
Python
UTF-8
Python
false
false
1,945
py
from django.core.management.base import BaseCommand, CommandError from optparse import make_option from tourney.tournament.models import Player, Tournament class Command(BaseCommand): args = '' help = 'Lists all players with their options' option_list = BaseCommand.option_list + ( make_option('-...
[ "jone@idev.no" ]
jone@idev.no
2c63726f954f6cb0ed0fa254ffeea056e8545a62
3481023b43028c5ee9520a8be0978e914bdcb548
/manga_py/providers/nightow_net.py
86e53cd25348d31c6966eb6c3205f80499332ff9
[ "MIT" ]
permissive
manga-py/manga-py
18f6818d8efc96c3e69efee7dff3f3d6c773e32a
0db97123acab1f2fb99e808b0ba54db08977e5c8
refs/heads/stable_1.x
2023-08-20T03:04:06.373108
2023-04-16T08:28:15
2023-04-16T08:28:15
98,638,892
444
56
MIT
2023-07-27T13:21:40
2017-07-28T10:27:43
Python
UTF-8
Python
false
false
1,285
py
from urllib.parse import unquote_plus from manga_py.provider import Provider from .helpers.std import Std class NightowNet(Provider, Std): _name_re = r'manga=(.+?)(?:&.+)?$' def get_chapter_index(self) -> str: ch = unquote_plus(self.chapter) idx = self.re.search(r'chapter=(?:.+?)\+(\d+(?:\.\...
[ "sttv-pc@mail.ru" ]
sttv-pc@mail.ru
8a20174c536f7b7a825e2aa4666c5462ebb3d9a5
a6106cedc42dcab94ccc4ee6d681372d2246ce5e
/python/활용자료/예제/02/ex2-24.py
c858e184ca1d9032edc29dc8ef0b5ed1a39a8b11
[]
no_license
leemyoungwoo/pybasic
a5a4b68d6b3ddd6f07ff84dc8df76da02650196f
481075f15613c5d8add9b8c4d523282510d146d2
refs/heads/master
2022-10-08T19:57:26.073431
2020-06-15T06:50:02
2020-06-15T06:50:02
267,502,565
1
0
null
null
null
null
UTF-8
Python
false
false
170
py
name = '황예린' age = 18 eyesight = 1.2 a = '이름 : {}'.format(name) b = '나이 : {}세'.format(age) c = '시력 : {}'.format(eyesight) print(a) print(b) print(c)
[ "mwlee2587@gmail.com" ]
mwlee2587@gmail.com
2de31ce63bf56006e3b69bfa7c958f0145752bff
555b9f764d9bca5232360979460bc35c2f5ad424
/google/ads/google_ads/v1/proto/services/conversion_adjustment_upload_service_pb2_grpc.py
6e9635e57ac9663a3ce02788dfd010e22f15e749
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
juanmacugat/google-ads-python
b50256163782bc0223bcd8b29f789d74f4cfad05
0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a
refs/heads/master
2021-02-18T17:00:22.067673
2020-03-05T16:13:57
2020-03-05T16:13:57
245,215,877
1
0
Apache-2.0
2020-03-05T16:39:34
2020-03-05T16:39:33
null
UTF-8
Python
false
false
2,255
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from google.ads.google_ads.v1.proto.services import conversion_adjustment_upload_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2 class ConversionAdjustmentUploadSe...
[ "noreply@github.com" ]
juanmacugat.noreply@github.com
fc5b935b9f8310e3f6f4113fb0a228bec78d5e73
2bb6f9c0a3658acf2bd6b97dcdeace9213723640
/namespace/models/list_field.py
ee577399fe07b1476580fed945fe7ee0aef6dc04
[]
no_license
hugoseabra/mailchimp-service
4fee930fd11b30f4c7da3654da2cbb231ca34341
0424b90fdc0911b4a6b1d514ba51c88d7d3572b4
refs/heads/develop
2022-07-20T02:52:06.147740
2020-03-17T21:31:37
2020-03-17T21:31:37
242,433,347
0
0
null
2022-07-06T20:30:14
2020-02-23T00:39:43
Python
UTF-8
Python
false
false
2,475
py
from django.db import models from django.utils.translation import ugettext_lazy as _ from core.models import track_data from core.models.mixins import ( DateTimeManagementMixin, DeletableModelMixin, EntityMixin, UUIDPkMixin, ) @track_data('namespace_id', 'label', 'tag') class ListField(UUIDPkMixin, ...
[ "hugoseabra19@gmail.com" ]
hugoseabra19@gmail.com
eae92e47c1d4a062e8b1bbd1f5491ed7c0450eb6
64ef180b1725d831891ef075557ddcc540c6e42a
/init.py
f947e2f7251a20b7e823621b1950cb622574ebbc
[ "MIT" ]
permissive
nasingfaund/tkinter-gui-application-examples
125acc088133020adae0bfc9c752a8e75c780c73
7073d163713829b2ff10a331c7f88f845d89b1bc
refs/heads/master
2023-07-15T06:41:35.861732
2021-08-28T14:36:28
2021-08-28T14:36:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,703
py
#!/usr/bin/env python3 # -*- coding:utf-8-*- import tkinter.messagebox from tkinter import Button, Label, Tk from lib.functions import set_window_center from lib.sqlite_helper import DBHelper from main import App class InitWindow(Tk): """初始化窗口""" def __init__(self): Tk.__init__(self) self.t...
[ "doudoudzj@sina.com" ]
doudoudzj@sina.com
243c82d2ac9b47f93c80d5616f675f92d84dc0ea
3a69696a2c5debfb24dfacffa6d3b0e311d0375e
/src/tests/test_launcher.py
80eca716e26f24ebe46b392f600f9e5be84878bf
[ "Apache-2.0" ]
permissive
Build-The-Web/bootils
7aeab92debc20258d645a70f5595738653ef46a7
8ee88f4d0583352f58fbb89c018e7caef8f07ce3
refs/heads/master
2021-01-17T09:14:18.317535
2016-06-03T13:38:01
2016-06-03T13:38:01
32,890,374
3
2
Apache-2.0
2018-03-04T20:46:22
2015-03-25T20:57:07
Python
UTF-8
Python
false
false
1,951
py
# *- coding: utf-8 -*- # pylint: disable=wildcard-import, missing-docstring, no-self-use, bad-continuation # pylint: disable=invalid-name, redefined-outer-name, too-few-public-methods """ Test «some_module». """ # Copyright © 2015 1&1 Group <btw-users@googlegroups.com> # # Licensed under the Apache License, Version 2....
[ "jh@web.de" ]
jh@web.de
c8a41a9fd2264a175999475b482f5c7509481456
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/homework02/maoyanspiders/maoyanspiders/spiders/movies_20200627214427.py
4ddb627414c18159133e722575fe0e29e8aa2e28
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
932
py
# -*- coding: utf-8 -*- import scrapy from maoyanspiders.items import MaoyanspidersItem # import xlml.etree from bs4 import BeautifulSoup as bs class MoviesSpider(scrapy.Spider): name = 'movies' allowed_domains = ['maoyan.com'] start_urls = ['http://maoyan.com/board/4'] # def parse(self, response): ...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
ef98cfec035e621902aedc72b76f5850fc6e84ca
e380663d6a11d05828a040486c85e2dfae358597
/djangove/utils/templatetags/navigation_tags.py
bafbc92d8d8e0530401dc4ad20eed4c5aac944d7
[ "BSD-3-Clause" ]
permissive
djangove/djangove
4a2ad9dcd5236ff746bb09d21f2fab1424dfc2f5
1fee878d170e52ee0c5cacd1d2813b045d4cbb77
refs/heads/master
2021-09-10T05:58:01.868815
2020-03-09T22:27:58
2020-03-09T22:27:58
43,475,979
1
1
BSD-3-Clause
2021-09-07T23:57:06
2015-10-01T03:13:04
Python
UTF-8
Python
false
false
4,882
py
from django import template from wagtail.wagtailcore.models import Page register = template.Library() @register.assignment_tag(takes_context=True) def get_site_root(context): return context['request'].site.root_page def has_menu_children(page): if page.get_children().filter(live=True, show_in_menus=True): ...
[ "edwar.baron@gmail.com" ]
edwar.baron@gmail.com