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
21c0fe4ac4f6876a4b362edf87c57a44bf42146d
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res/scripts/client/gui/prb_control/restrictions/permissions.py
7114f7cab01af957d861ae1d781db1b13948f507
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
8,734
py
# 2015.11.10 21:26:02 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/prb_control/restrictions/permissions.py from UnitBase import UNIT_ROLE, UNIT_FLAGS import account_helpers from constants import PREBATTLE_ROLE, PREBATTLE_TEAM_STATE from constants import PREBATTLE_ACCOUNT_STATE from gui import prb...
[ "info@webium.sk" ]
info@webium.sk
8d18a2e3a08ac1f204b97cab9780e5c14210d648
5cde21d3eb1667152d4aa7fe489f15339db89551
/maple/corepython/chapter04/mtsleepE.py
1f929e98853c6986441064f481f0a38e8446d965
[]
no_license
SunmoonSan/PythonDaily
cce0b82c9bfe8e57dc26d8bcb722e165302cf4b0
c0a95c2ece1b3cb6ef00d1b096fef14892de1ce6
refs/heads/master
2022-04-02T13:08:41.692131
2020-01-19T12:48:38
2020-01-19T12:48:38
115,420,499
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @desc : Created by San on 2018-06-15 11:18 # @site : https://github.com/SunmoonSan import threading from time import sleep, ctime loops = (4, 2) class MyThread(threading.Thread): def __init__(self, func, args, name=''): threading.Thread.__init__(self) ...
[ "18814184179@163.com" ]
18814184179@163.com
75486433db88fae6f67ca4801a12e59899f0ad0b
dc489897561846118f665663d2ccbd7c3aa4dc7e
/.vagrant_provisioning/local_settings.py
4428ea489d3b6e768b4b006718338fb6f8f950e0
[ "MIT" ]
permissive
kingsdigitallab/mdh-django
f06756c67254dad26757ca0fce004cb71e225bb2
991731e84e5a5936c9c550ecc636219cf92fc734
refs/heads/master
2021-06-22T17:35:56.490565
2019-08-13T14:01:47
2019-08-13T14:01:47
143,866,624
0
0
MIT
2021-06-10T20:44:07
2018-08-07T11:56:30
Python
UTF-8
Python
false
false
1,211
py
from .base import * # noqa DEBUG = True CSRF_COOKIE_SECURE = False SESSION_COOKIE_SECURE = False DATABASES = { 'default': { 'ENGINE': db_engine, 'NAME': 'mdh', 'USER': 'mdh', 'PASSWORD': 'mdh', 'ADMINUSER': 'postgres', 'HOST': 'localhost' }, } # 10.0.2.2 is t...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
70866d9bbdff627f4267160e68b2438a3de7a2f9
5c45c9e166b76759e486d174c8b55019a58a6861
/restourant/views.py
b52b226dfee85a026da8499aecd7d3f42a26af46
[]
no_license
VladimirKorzun/lab4_APPZ
d1eebb79f8809a3223f15c81861c0c4c639b3acf
9e2d4f42ffac69e6e2cd18a1e0b3e03fa923e6e9
refs/heads/master
2020-06-15T14:44:42.782129
2017-06-12T22:10:29
2017-06-12T22:10:29
94,139,487
0
0
null
null
null
null
UTF-8
Python
false
false
2,014
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib.auth.models import User from rest_framework import viewsets, status from rest_framework.decorators import api_view from rest_framework.response import Response from restourant.serializers import * from restourant.models import Restouran...
[ "you@example.com" ]
you@example.com
41ba46537e844536782d631046890d73c95ff84e
9851c3f47c1aa165bc0d239074fe238f82055875
/LeetCode/1137. N-th Tribonacci Number/solution.py
affb0ff437d919425cb1d51cf423c87d12b5e62d
[ "Apache-2.0" ]
permissive
InnoFang/algo-set
12f886dbec0da664327d26bcaf02c1316151a643
2419a7d720bea1fd6ff3b75c38342a0ace18b205
refs/heads/master
2023-03-16T09:51:24.631068
2023-03-13T11:08:54
2023-03-13T11:08:54
86,413,001
23
9
null
null
null
null
UTF-8
Python
false
false
289
py
""" 39 / 39 test cases passed. Runtime: 44 ms Memory Usage: 14.9 MB """ class Solution: def tribonacci(self, n: int) -> int: if n < 2: return n; a, b, c = 0, 1, 1 for i in range(3, n + 1): a, b, c = b, c, a + b + c return c
[ "innofang@outlook.com" ]
innofang@outlook.com
db196981ff8ab494b0e3e78b6c8f028b577a35ce
f070c3acba7da2254adc2c12f80e54b830396d40
/test/venv/lib/python3.6/site-packages/glanceclient/openstack/common/apiclient/client.py
0759a9545885b5e3ec11b00eccfb56d46b89f04e
[]
no_license
liruidesysu/cloudCluster
241a6ac472ecce9c6b4c966a44304128d258fc9b
fc558b464c3052f59cb1e6326aa22bade556b0c8
refs/heads/master
2022-11-06T03:51:31.954607
2019-08-22T12:47:53
2019-08-22T12:47:53
200,144,454
0
1
null
2022-03-29T21:56:02
2019-08-02T01:42:17
Python
UTF-8
Python
false
false
13,872
py
# Copyright 2010 Jacob Kaplan-Moss # Copyright 2011 OpenStack Foundation # Copyright 2011 Piston Cloud Computing, Inc. # Copyright 2013 Alessio Ababilov # Copyright 2013 Grid Dynamics # Copyright 2013 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you ...
[ "liruide_read@outlook.com" ]
liruide_read@outlook.com
59be1dd5bef4fe03795b93e072ae73f31a840bf3
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-hilens/huaweicloudsdkhilens/v3/model/show_deployment_pods_response.py
6e1f284a58d2e43a11f56f6a814ba847f6319616
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,985
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowDeploymentPodsResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
0a1eecfc270672e35bd525600fe0e05b682dcef6
0dcf4f140a2e1434ca448679380f335dfd8a2fbd
/djangobmf/contrib/position/bmf_module.py
2b211b7eb1bea54e2427f131d88c6e075ab2191f
[ "BSD-3-Clause" ]
permissive
dmatthes/django-bmf
d97f36d4f5225c8fcadeb8211c5fab16e43c119b
3a97167de7841b13f1ddd23b33ae65e98dc49dfd
refs/heads/develop
2020-05-29T11:00:50.829417
2014-10-09T13:41:52
2014-10-09T13:41:52
23,787,808
1
0
null
2014-10-09T13:41:52
2014-09-08T11:07:29
Python
UTF-8
Python
false
false
1,162
py
#!/usr/bin/python # ex:set fileencoding=utf-8: from __future__ import unicode_literals from django.conf.urls import patterns, url from django.utils.translation import ugettext_lazy as _ from djangobmf.categories import BaseCategory from djangobmf.categories import Sales from djangobmf.sites import site from .models...
[ "sebastian@elmnt.de" ]
sebastian@elmnt.de
df6eb27257107040156a6d74fdf5815fb9cc8a9f
d8fae39bcfdff1974c5fecd96ed156c4db80e280
/tensorflow/python/framework/extension_type_field_test.py
c67ef64665741f59e0f779fb6993535bd2025ed4
[ "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
enowy/tensorflow
d2834bda2ff35995637acc55321fc00113d212c1
b4276073ea8e3bd51229c0726f052f79d8dd239d
refs/heads/master
2023-04-11T02:02:19.956400
2023-03-23T09:06:17
2023-03-23T09:10:43
62,356,730
0
0
null
2016-07-01T02:38:38
2016-07-01T02:38:38
null
UTF-8
Python
false
false
12,858
py
# Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
da0ff3675d5c16b43a171d71ca02758330c27469
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/ext/commands_v2/responding.py
7099af8b679d1aae0c9dc00ee975a9d2befc6993
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
4,926
py
__all__ = () from scarletio import is_coroutine_generator from ...discord.embed import Embed from ...discord.exceptions import DiscordException, ERROR_CODES def is_only_embed(maybe_embeds): """ Checks whether the given value is a `tuple`, `list` containing only `embed-like`-s. Parameters ------...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
1afb5a74da980aa4744c891ff0c14e715aa22323
3e5b2eb741f5ae52752328274a616b475dbb401a
/services/nris-api/backend/migrations/versions/c86eca21d297_.py
b521c76b71fe5dd968c5beb0e3e917960c7f7e82
[ "Apache-2.0" ]
permissive
bcgov/mds
165868f97d0002e6be38680fe4854319a9476ce3
60277f4d71f77857e40587307a2b2adb11575850
refs/heads/develop
2023-08-29T22:54:36.038070
2023-08-29T05:00:28
2023-08-29T05:00:28
131,050,605
29
63
Apache-2.0
2023-09-14T21:40:25
2018-04-25T18:54:47
JavaScript
UTF-8
Python
false
false
10,267
py
"""empty message Revision ID: c86eca21d297 Revises: 2db7d022d4f7 Create Date: 2020-07-29 16:08:11.690671 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'c86eca21d297' down_revision = '2db7d022d4f7' branch_labels = None depends_on = None def upgrade(): # ...
[ "noreply@github.com" ]
bcgov.noreply@github.com
932bc597d4882d5d99b04bd0e616563d3c4d9643
abc24a58da46f02551e09b229087420f70b37ddf
/att/deep/util.py
5cee3cac2177dbacda8bf90a81630ccd22dff742
[]
no_license
erikperillo/att
bfd7198a0ea3687e1fac952e2aa6510911b8db19
4b02fefc40c4dfde2549857272ad943bff168a7e
refs/heads/master
2020-07-03T19:36:47.195578
2018-07-18T14:30:02
2018-07-18T14:30:02
67,546,898
0
0
null
null
null
null
UTF-8
Python
false
false
4,086
py
""" General-purpose utilities to be used in project. """ import os import sys import datetime import subprocess as sp import numpy as np import skimage.io as ski_io import skimage.transform as ski_tf import pickle import gzip import bz2 def git_hash(): """ Gets git commit hash of project. """ try: ...
[ "erik.perillo@gmail.com" ]
erik.perillo@gmail.com
0464a4678ee5c55f73dc54a5f2a1d34d3b10d506
1a3eb334e9578e23f63e17b4ee8e51d69405d29f
/shell_ITS_clustering_pipline/Python_ITS_scripts/get_results_from_cluster_and_novel_clusterings.py
7cc87825c48c2ba236ed9826eda5239cade6f5ed
[ "MIT" ]
permissive
peterthorpe5/public_scripts
6f0ab79c7a748dbd183ee7173576f7bcf25d7f54
a3c64198aad3709a5c4d969f48ae0af11fdc25db
refs/heads/master
2023-02-08T02:34:18.109091
2023-01-25T13:04:23
2023-01-25T13:04:23
43,360,640
35
23
null
2016-09-15T10:01:11
2015-09-29T10:21:05
Python
UTF-8
Python
false
false
16,423
py
#!/usr/bin/env python #title: Parse clusters and find the phy spcies #in the cluster #author: Peter Thorpe September 2016. The James Hutton Insitute, Dundee, UK. #imports import os import sys from optparse import OptionParser import datetime import os from sys import stdin,argv import subprocess from Bi...
[ "peter.thorpe@hutton.ac.uk" ]
peter.thorpe@hutton.ac.uk
d64ba18248933f94f68643ff0a03aab62dae2c80
0e6b11c94e613cb63391bdbc4dcdc2b148dd48ae
/v7/projectpages/projectpages.py
2945641e6c1d1758aaec053f62581fd1de064ccc
[ "MIT" ]
permissive
hardening/nikola-plugins
f2f1528c768cc7963262e397ce2b0fbba055a935
459a76c0d8701f2f91de8c1f701aa43cf6a4914c
refs/heads/master
2021-01-15T23:58:23.471004
2015-05-21T13:35:34
2015-05-21T13:35:34
36,014,561
0
0
null
null
null
null
UTF-8
Python
false
false
7,615
py
# -*- coding: utf-8 -*- # Copyright © 2014–2015, Chris Warrick. # 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...
[ "kwpolska@gmail.com" ]
kwpolska@gmail.com
d6448ec88976ef2b15929c6ef38d702148e463ed
9404a8593ff2d82133897c9e187523d301df7888
/0x03-caching/0-basic_cache.py
ac8753678847ea2ad589a8d20e98411a57293885
[]
no_license
emna7/holbertonschool-web_back_end
ac2bc16e47f464530c4dee23497488c77377977e
744e6cb3bb67b2caa30f967708243b5474046961
refs/heads/main
2023-03-06T17:56:10.699982
2021-02-12T21:24:04
2021-02-12T21:24:04
305,394,170
1
0
null
null
null
null
UTF-8
Python
false
false
460
py
#!/usr/bin/env python3 """ basic dictionary """ from base_caching import BaseCaching class BasicCache(BaseCaching): """basic cache """ def put(self, key, item): """add an item """ if (key is not None and item is not None): self.cache_data[key] = item def get(self...
[ "bhmemna7@gmail.com" ]
bhmemna7@gmail.com
2cefc6eb84aef8a7780aff44eadd7a7973d67e33
1b2ccd996575342c61bda8f3bf80bdce9bbcc9da
/torch_pipeline/tests/test_autotorch_platform.py
9c87db3d13c7b8a2719f994a4541bee34ce81c8e
[ "Apache-2.0" ]
permissive
Fanxingye/AutoDL
bc3d1076d33e48eb9c7725e9726abff5af017268
6f409aefc8b81e5fe47df57b82332c8df427875d
refs/heads/main
2023-08-24T16:27:54.735390
2021-11-04T09:11:37
2021-11-04T09:11:37
424,529,923
2
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
import autogluon.core as ag from autotorch.auto import ImagePredictor from autotorch.proxydata import ProxyModel # train_dataset, _, valid_dataset = ImagePredictor.Dataset.from_folders( # 'https://autogluon.s3.amazonaws.com/datasets/shopee-iet.zip') train_dataset, valid_dataset, _ = ImagePredictor.Dataset.from_fol...
[ "jianzhnie@126.com" ]
jianzhnie@126.com
6dec47ca2a5588af0d921f222ba7c64cb1faea95
8f7b7a910520ba49a2e614da72f7b6297f617409
/Problemset/reverse-words-in-a-string-iii/reverse-words-in-a-string-iii.py
fae63359a776b07f5264a0e6794720eeb386a380
[]
no_license
fank-cd/python_leetcode
69c4466e9e202e48502252439b4cc318712043a2
61f07d7c7e76a1eada21eb3e6a1a177af3d56948
refs/heads/master
2021-06-16T23:41:55.591095
2021-03-04T08:31:47
2021-03-04T08:31:47
173,226,640
1
0
null
null
null
null
UTF-8
Python
false
false
343
py
# @Title: 反转字符串中的单词 III (Reverse Words in a String III) # @Author: 2464512446@qq.com # @Date: 2019-09-29 17:37:49 # @Runtime: 20 ms # @Memory: 12.8 MB class Solution(object): def reverseWords(self, s): """ :type s: str :rtype: str """ return ' '.join(i[::-1] for i in s.spli...
[ "2464512446@qq.com" ]
2464512446@qq.com
d9deb220bbd8cf0b847d5ccf9b4a7a254442557c
235fcd12177715b51f26715befb7cb1909f27126
/sleep_control/experiments/arxiv/experiment_QNN_Jan25_2319_phi10.py
8be37e89062e8e3c3975e723137baeb4d296d6cb
[]
no_license
xiaogaogaoxiao/dqn4wirelesscontrol
1d165977f01e263735865e2b6daeed51c4288b01
68c2c485e64cef260c0dcb3975a88af4fae97283
refs/heads/master
2020-06-16T17:05:45.038089
2017-02-10T07:30:12
2017-02-10T07:30:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,106
py
# System built-in modules import time import sys import os from multiprocessing import Pool project_dir = "/home/admin-326/Data/ipython-notebook/dqn4wirelesscontrol" sys.path.append(project_dir) sys_stdout = sys.stdout # Project dependency modules import pandas as pd pd.set_option('mode.chained_assignment', None) # ...
[ "liujingchu@gmail.com" ]
liujingchu@gmail.com
95adeb80673c87c3fed311536ee38d9a2bb8e868
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5652388522229760_0/Python/swmuron/a.py
48855cb12998a701bdb396fd3b0df2a6e20b8b88
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
823
py
import sys def solveIt(firstNum): num = 0 count = 0 # edge case, 0*x = 0 if (firstNum == 0): return 'INSOMNIA' seen = set() running = True while(running): count += 1 num += firstNum numStr = str(num) for i in range(len(numStr)): seen.add(numStr[i]) running = len(se...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
c2f715c06360c235413604ea8f172324365b361c
25e627d2931b89eb53d7dad91b200c1c29fe0233
/code/lab_02_Input/try_input(3).py
e5860df7a3d7fc4c51fd23dbb6814bd9e9788381
[]
no_license
tcano2003/ucsc-python-for-programmers
efb973b39dbff9a7d30505fecbd9afb1e4d54ae9
cc7fe1fb9f38f992464b5d86d92eb073e18e57d5
refs/heads/master
2020-03-26T22:13:29.256561
2018-08-26T14:54:08
2018-08-26T14:54:08
145,442,055
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
#!/usr/bin/env python3 """Demonstrates catching an exception on error.""" answer = input('What is your favorite number? ') print ('You like', answer, '?') print ('You really like ' + answer + '?') try: number = int(answer) except ValueError: print (answer, 'is not a number!') else: # this means ...
[ "traviscano@msn.com" ]
traviscano@msn.com
3b08603f51fea44c5a7b02f49e5575fe40a3d718
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/R/radicade/tutorial_51.py
8f3915d319cf36f7896a948b37104c85db6c28a1
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
import scraperwiki from scraperwiki.sqlite import save data = { "firstname": "Tom", "lastname": "Levine" } save([], data) # Blank Python import scraperwiki from scraperwiki.sqlite import save data = { "firstname": "Tom", "lastname": "Levine" } save([], data) # Blank Python
[ "pallih@kaninka.net" ]
pallih@kaninka.net
b7b80b575ce1b0042dcb9cc23916172a54e48205
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_146/ch120_2020_04_01_01_52_09_757779.py
79d84d47232ba5a9b2940a1da1ac732de1f48ba3
[]
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
1,538
py
import random dinheiro = 100 while dinheiro > 0: print(dinheiro) aposta = float(input('Quanto voce deseja apostar? ')) if aposta <= 0 or aposta > dinheiro: break else: tipo_aposta = input('Voce deseja apostar em um numero (n) ou disparidade (p)? ') if tipo_aposta == 'n': ...
[ "you@example.com" ]
you@example.com
90e80c62b40b2aeeea3966235cbbd69156b51f7e
f6eb98db168908a99e5c62f440d39acca608b934
/examples/src/main/python/streaming/network_wordjoinsentiments.py
e85bdb2ab6dd3c83ef9a2b35d102254017ce1949
[]
no_license
BigDataTeng/spark-parent_2.11
64abb51cf77a16d86a2a5314dafb4f33e03d98f3
9e679b5daefea69a29236305e1c8bf2e21ad9190
refs/heads/master
2022-12-14T09:06:08.199862
2019-08-27T09:48:37
2019-08-27T09:48:37
204,673,011
0
0
null
2022-12-05T23:35:44
2019-08-27T09:53:23
Scala
UTF-8
Python
false
false
3,214
py
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may n...
[ "gao.liu.cn@gmail.com" ]
gao.liu.cn@gmail.com
5e85043df0e6ff004cd5a5a467975029e3a0c321
53ba0b6f172abcade631ae1f52852c400302559e
/python_developer_tools/cv/PyTorch_Networks/Attention/ECA-Net.py
ace452ef6581f19e6368c8706615399bbf11cf5b
[ "Apache-2.0" ]
permissive
sssssshf/python_developer_tools
f97c64ee0aa0a7e9d31d173192805771c83abb7f
44d2e67a2e2495a12d6b32da12c76cf0010ac7ea
refs/heads/main
2023-08-19T02:44:53.536200
2021-10-13T02:10:19
2021-10-13T02:10:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,930
py
# !/usr/bin/env python # -- coding: utf-8 -- # @Time : 2020/10/10 16:45 # @Author : liumin # @File : ECA-Net.py import torch import torch.nn as nn import torchvision from math import log def Conv1(in_planes, places, stride=2): return nn.Sequential( nn.Conv2d(in_channels=in_planes,out_channels=places,kern...
[ "zengxh@chint.com" ]
zengxh@chint.com
acceb968668e6b67fcd540384ce4bf658d8c82b6
91db5f7420b3bb960eeef76e081f3c478b509e19
/employee/migrations/0003_auto_20210429_1248.py
f1770d07a69f2c1809d2b9db59339cea5caef9c5
[]
no_license
AbdurRahman111/Django_Employee_leave_management_system
7ecede2a945ec0aab87d03e5da6a1ed1bd53b364
7419c6b4ae54b26bb3123a5dcfb08749c2159282
refs/heads/master
2023-05-17T19:39:14.611082
2021-06-13T15:22:38
2021-06-13T15:22:38
376,576,058
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# Generated by Django 3.1.7 on 2021-04-29 06:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('employee', '0002_leave_request'), ] operations = [ migrations.AlterField( model_name='leave_request', name='Request_...
[ "mdabdurrahmanchowdhury1122@gmail.com" ]
mdabdurrahmanchowdhury1122@gmail.com
f1a6b2da7b0e321e1166a4a56acca280050ef3e9
7dc05dc9ba548cc97ebe96ed1f0dab8dfe8d8b81
/branches/newview/tests/event_test.py
e97461df49b1e03f23b1f97700721adf945c0c32
[ "MIT" ]
permissive
BackupTheBerlios/pida-svn
b68da6689fa482a42f5dee93e2bcffb167a83b83
739147ed21a23cab23c2bba98f1c54108f8c2516
refs/heads/master
2020-05-31T17:28:47.927074
2006-05-18T21:42:32
2006-05-18T21:42:32
40,817,392
1
0
null
null
null
null
UTF-8
Python
false
false
3,313
py
# -*- coding: utf-8 -*- # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: #Copyright (c) 2005 Ali Afshar aafshar@gmail.com #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 restr...
[ "aafshar@ef0b12da-61f9-0310-ba38-b2629ec279a7" ]
aafshar@ef0b12da-61f9-0310-ba38-b2629ec279a7
6e4de46a392dfa1e7ecffbb5c1a7aea144158fb7
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-3/d52316fcc2f625747c1976913c1383a168b40e02-<repolist>-bug.py
67483bb2af26d745ff0b11e084747bd430525609
[]
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
235
py
def repolist(module, repoq, qf='%{repoid}'): cmd = (repoq + ['--qf', qf, '-a']) (rc, out, err) = module.run_command(cmd) ret = [] if (rc == 0): ret = set([p for p in out.split('\n') if p.strip()]) return ret
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
fbeb324b0bd025526bef1b0558c554bcb56cad9f
68bad4b3d92872bb5b77b4ee503e588d20511a27
/python/scripts_inhibition/old_fig_script/fig6_beta_conn_final.py
5a5ae8c2bffe30f99ac919f719893a4c2a5243a3
[]
no_license
mickelindahl/bgmodel
647be626a7311a8f08f3dfc897c6dd4466fc0a92
78e6f2b73bbcbecd0dba25caf99f835313c914ee
refs/heads/master
2023-08-29T13:57:04.122115
2022-02-11T14:28:23
2022-02-11T14:28:23
17,148,386
7
3
null
null
null
null
UTF-8
Python
false
false
2,189
py
''' Created on Nov 13, 2014 @author: mikael ''' from scripts_inhibition import effect_conns scale=4 kw={ 'n_rows':3, 'n_cols':10, 'w':int(72/2.54*11.6)*scale, 'h':int((72/2.54*11.6)/3*(1+1/2.))*scale, 'linewidth':1, 'fontsize':7*scale, 'title_fontsize':7...
[ "mickelindahl@gmail.com" ]
mickelindahl@gmail.com
767dc238a7a17be8fa9a3baffea15e8bc4b75d3d
633a006c8fc08eaecd9eb2648d1a13430efb1760
/hcts/setup.py
d068862a7b23477f27b8e67aa575022e1da25529
[ "MIT" ]
permissive
bmorris3/hcts
2002a5627901495750bbb9843022f24a7854a2e4
4b0d0c2c942baca05eb6ab15a2bb46fefc26953f
refs/heads/master
2023-08-03T04:44:34.956343
2018-05-15T17:11:48
2018-05-15T17:11:48
48,545,434
0
1
null
null
null
null
UTF-8
Python
false
false
470
py
from distutils.core import setup, Extension from Cython.Build import cythonize import numpy # setup(ext_modules=[Extension("generate_lc", ["generate_lc.c"], # include_dirs=[numpy.get_include()])]) # Or, if you use cythonize() to make the ext_modules list, # include_dirs can be passed to s...
[ "brettmorris21@gmail.com" ]
brettmorris21@gmail.com
a6b88462d33b7c41d31da571b6f52f560ee03be2
a6894d17fdbceb56d4364f0e279d03b16a181396
/working-env/lib/python2.5/FormEncode-0.7.1-py2.5.egg/formencode/foreach.py
3b07ab80e67f18c9236f95727d6ea26684893647
[]
no_license
thraxil/gtreed
c1c5a19178c1f50ff5e61887b13ff7b004da1d25
ca228848364edb204b15a7411fd6192379781c78
refs/heads/master
2020-04-18T03:02:15.468044
2008-12-10T20:02:12
2008-12-10T20:02:12
88,388
1
0
null
null
null
null
UTF-8
Python
false
false
4,128
py
""" Validator for repeating items. """ from api import NoDefault, Invalid from compound import CompoundValidator, to_python, from_python try: from sets import Set except ImportError: # We only use it for type information now: Set = None __all__ = ['ForEach'] class ForEach(CompoundValidator): """ ...
[ "anders@columbia.edu" ]
anders@columbia.edu
798fa5d8b193ea2cc90d7b36a02d87976648fda1
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_private_link_services_operations.py
b4187b0e81278362e7464d346c42ff056da52b6b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
62,259
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
manoj0806.noreply@github.com
13fb744b47a64fee6c7a12effb40d2140dfcbe1e
be7e49365f9bb1b1e2e33fdee15c532659c8aae9
/main.py
f950786459ea17d2e80f9fbfd95de7be43c3683d
[]
no_license
vivek3141/Blav
0cc8f55adf4b40230b7c3c1f9028bb2644ab4b79
0eae8c23c490508b5ac32d9a0effc9eaaeb66d49
refs/heads/master
2020-03-09T07:17:50.052006
2018-04-09T20:10:30
2018-04-09T20:10:30
128,661,495
6
0
null
null
null
null
UTF-8
Python
false
false
11,377
py
import cv2 import numpy as np from numpy import ones, vstack from numpy.linalg import lstsq import math from time import sleep from scipy.optimize import curve_fit # import matplotlib.pyplot as plt # import sympy # from scipy import stats cap = cv2.VideoCapture(1) # Check slope for navigation def checkSlope(x1, y1,...
[ "vivnps.verma@gmail.com" ]
vivnps.verma@gmail.com
d87fc5ccf3389a80b1ea080c08014a4d7fdb6281
fe5b4e7af9a4504437d33734de0ea62baf454b69
/Learning/Python/Web/DjangoWeb/mysite/blog/migrations/0002_post_author.py
1809834ce59e4a1dd65342ed437662786d3898d6
[]
no_license
FelicxFoster/Sources
937f2936b0fa3eef9dd2bbbde09e7f44755b8a8a
3750c393088c281c000228d84fe619ba321bd5bc
refs/heads/master
2020-04-22T09:37:05.191325
2016-08-06T07:02:50
2016-08-06T07:02:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models from django.utils.timezone import utc import datetime class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "zoro@onepiece.com" ]
zoro@onepiece.com
79c1fdc2d45fdebcb8760b48b6e7ac27de6d3a14
85a0ee08b54b2c5e3154e3727b92c37915b4c1de
/Sample/Python_Stock_Sample_2021/90.py
33f7a458b40a604e00322b502305d2c39bd8e295
[]
no_license
yaotony/sandbox-empty
877da9b9ba0ec658bbdc8acc79a97267f96408b9
85f04e5db5d26a04fad9ae4ad6d3c86977a9f865
refs/heads/master
2022-05-20T17:14:51.348759
2022-05-04T08:06:56
2022-05-04T08:06:56
35,472,699
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
# 載入相關套件 import haohaninfo,indicator,datetime,time,sys # 選擇報價平台 Broker = sys.argv[1] # 定義商品名稱 Prod = sys.argv[2] # K棒物件 Today = time.strftime('%Y%m%d') KBar = indicator.KBar(Today,1) # 訂閱報價物件 GO = haohaninfo.GOrder.GOQuote() # 訂閱報價 for row in GO.Subscribe(Broker, 'match', Prod): # 定義時間 ...
[ "tony.exmail@gmail.com" ]
tony.exmail@gmail.com
ee8c9ac02172089fb67fee6db886c21a3afd7763
aae551baa369fda031f363c2afbdf1984467f16d
/Machine_Learning/Contest/Code/NNsklearn.py
3b420dd342c376a108e2147ed1f3080ede22e055
[]
no_license
ameet-1997/Course_Assignments
37f7d4115baec383ccf029772efcf9c33beb2a23
629e9d5cfc6fa6cf37a96c5fcc33bc669cbdc59d
refs/heads/master
2021-05-16T16:23:32.731296
2018-02-03T05:57:01
2018-02-03T05:57:01
119,939,202
0
0
null
null
null
null
UTF-8
Python
false
false
1,989
py
import numpy as np import time from sklearn.model_selection import train_test_split from sklearn.metrics import f1_score #from fancyimpute import KNN from sklearn.decomposition import PCA from sklearn.neural_network import MLPClassifier from sklearn.ensemble import BaggingClassifier # Read Train Data print 'Reading Tr...
[ "ameetsd97@gmail.com" ]
ameetsd97@gmail.com
eaa7126a3491fe5a5d0bb8f2f20fe8ddd510a1f2
c2ff2ee2b0c84e047a80cfdf0b0d0b122fc9db79
/features/himario/mmediting/mmedit/models/backbones/encoder_decoders/decoders/resnet_dec.py
1db268d945c76ba70cc6599e1a7e98e64c5a1ab7
[ "Apache-2.0", "MIT" ]
permissive
obarnard99/vilio
275dcb62cdb8b2d8c55ab1e73f3a796bd2073a5b
77aac226c3a0910410f11a5999f8908181f57ccd
refs/heads/master
2023-06-29T17:02:02.282457
2021-06-22T09:50:11
2021-06-22T09:50:11
337,738,373
0
0
MIT
2021-06-22T09:50:12
2021-02-10T13:50:49
Python
UTF-8
Python
false
false
13,940
py
import torch.nn as nn from mmcv.cnn import ConvModule, constant_init from mmedit.models.common import GCAModule from mmedit.models.registry import COMPONENTS from ..encoders.resnet_enc import BasicBlock class BasicBlockDec(BasicBlock): """Basic residual block for decoder. For decoder, we use ConvTranspose2d...
[ "obarnard99@gmail.com" ]
obarnard99@gmail.com
c8f075d390acb89ddc999532cd1829c1cba89b13
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/security/v20150601preview/outputs.py
4fc3f6f0eb468b35e3bb34787eb314826ee89e79
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,642
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
a30bafb6f3e4ef1c75d52858d79fcb80251bd78a
ab9196b6356e3c0af7baf7b768d7eb8112243c06
/Python&DataBase/6.7/Pandas09_12_Merge03dname_김주현.py
2f0594b6ab9856d4c03d8e248604ce7822902630
[]
no_license
wngus9056/Datascience
561188000df74686f42f216cda2b4e7ca3d8eeaf
a2edf645febd138531d4b953afcffa872ece469b
refs/heads/main
2023-07-01T00:08:00.642424
2021-08-07T02:10:25
2021-08-07T02:10:25
378,833,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,552
py
# coding: utf-8 # Pandas09_12_Merge03dname_김주현 # In[1]: import pandas # In[2]: deptDB = pandas.read_csv('./data/data/sawonDB/deptDB.csv',names = ['deptno', 'dname', 'loc'], header = None) sawonDB = pandas.read_csv('./data/data/sawonDB/sawonDB.csv', names = ['sabun', 'saname', 'deptno', 'sajob', 'sapay', 'sahir...
[ "noreply@github.com" ]
wngus9056.noreply@github.com
d10a0025fa6c84057daf21e37dae423fa40f5832
677002b757c0a1a00b450d9710a8ec6aeb9b9e9a
/tiago_public_ws/build/pal_hardware_interfaces/catkin_generated/pkg.develspace.context.pc.py
3658b98d402dfba5ab796ea195aab3e50d6b8571
[]
no_license
mrrocketraccoon/tiago_development
ce686c86459dbfe8623aa54cf4279021342887fb
a0539bdcf21b67ab902a4649b516dcb929c54042
refs/heads/main
2023-06-16T19:39:33.391293
2021-07-08T21:20:03
2021-07-08T21:20:03
384,249,894
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/tiago_public_ws/src/pal_hardware_interfaces/include".split(';') if "/tiago_public_ws/src/pal_hardware_interfaces/include" != "" else [] PROJECT_CATKIN_DEPENDS = "hardware_interface".replace(';', ' ') ...
[ "ricardoxcm@hotmail.com" ]
ricardoxcm@hotmail.com
69badda94e737169395570b8c9ca82ee94748e96
0ffe162a9deeef5ade9336e954fc25fe32e4f613
/tests/filters/test_transformjson.py
aeb6e6b0b40420f0b3cafc07bb7db99e29700ae9
[ "MIT" ]
permissive
george-veras/asgard-api
30c816195118c61233b6586c583938f4f9cdb92c
3397b05aa5288f82ae00437b594ee1976c8fddfa
refs/heads/master
2020-05-09T19:31:03.612756
2019-04-12T19:47:01
2019-04-12T19:47:01
181,380,863
1
0
MIT
2019-04-14T23:26:16
2019-04-14T23:26:16
null
UTF-8
Python
false
false
11,229
py
import os import unittest from unittest import mock from hollowman.app import application from hollowman.filters.transformjson import TransformJSONFilter from hollowman.marathonapp import AsgardApp from tests.utils import with_json_fixture class TransformJSONTest(unittest.TestCase): def setUp(self): self...
[ "daltonmatos@gmail.com" ]
daltonmatos@gmail.com
358c13e0f37f3cd359e65c8785119af03b26a05a
4366ae34f1d091f7ed55ddfaa4abeb276a40bbd1
/玩转Django2源代码/第13章/第13.3节/MyDjango/index/whoosh_cn_backend.py
444d7b3f1d838effe799eb211f6d259d2e67814d
[]
no_license
firefeifei/CodePool
d52b3f28ab9f9daab7591da4c86e467e863bc085
c82a0a5f8d5e027c614612de7f396d28e8511155
refs/heads/master
2023-07-10T03:32:04.357861
2021-08-18T13:08:42
2021-08-18T13:08:42
414,436,906
1
0
null
null
null
null
UTF-8
Python
false
false
34,505
py
# encoding: utf-8 # 文件来自haystack包,路径为Python\Lib\site-packages\haystack\backends\whoosh_backend.py # 导入from jieba.analyse import ChineseAnalyzer包,添加中文搜索功能 # 将schema_fields[field_class.index_fieldname] = TEXT....的内容修改为:schema_fields[field_class.index_fieldname] = TEXT(stored=True, analyzer=ChineseAnalyzer(),field_boost=f...
[ "jinweizsu@gmail.com" ]
jinweizsu@gmail.com
3acb80a6c5417e32f0c8c05c42317bf66a0b6e9f
70412ed022e39404d03fa50288ee4f3360fbc14b
/test/qa/rpc-tests/test_framework/authproxy.py
6bf8e5d6985b10d177408c16f301da627c733f09
[ "MIT" ]
permissive
MagnaChain/MagnaChain-dev-master
8f8c31b258605675f1e8a1923bb70ad668da1c8c
c83e7a8b9e8f9ae8684a0e3a11f1eeb42dfa1272
refs/heads/master
2021-07-08T09:01:46.876360
2019-09-30T03:35:50
2019-09-30T03:35:50
157,218,391
26
25
MIT
2020-08-05T15:10:09
2018-11-12T13:32:31
C++
UTF-8
Python
false
false
7,709
py
""" Copyright (c) 2011 Jeff Garzik AuthServiceProxy has the following improvements over python-jsonrpc's ServiceProxy class: - HTTP connections persist for the life of the AuthServiceProxy object (if server supports HTTP/1.1) - sends protocol 'version', per JSON-RPC 1.1 - sends proper, incrementing '...
[ "weigun@weigun.com" ]
weigun@weigun.com
50144f2ca51e839b093dcf78aaeaec9fd50404c7
a6bcc673ec0255c53cb68acc2827833a90428ec5
/leo/plugins/importers/leo_rst.py
2358ea78223ba6a75d6c16ee647c1b5c2f86205d
[ "MIT", "BSD-3-Clause" ]
permissive
alejagapatrick-spec/leo-editor
8388598fec6837b2b5767621642342b9fc45fde4
52d2c4c8684df8d065a494abb62dbf5077075ff9
refs/heads/master
2020-12-04T16:51:23.323667
2020-01-04T23:05:53
2020-01-04T23:05:53
231,840,689
2
0
NOASSERTION
2020-01-04T23:07:13
2020-01-04T23:04:12
Python
UTF-8
Python
false
false
7,415
py
#@+leo-ver=5-thin #@+node:ekr.20140723122936.18151: * @file importers/leo_rst.py ''' The @auto importer for restructured text. This module must **not** be named rst, so as not to conflict with docutils. ''' import leo.core.leoGlobals as g import leo.plugins.importers.linescanner as linescanner Importer = linescanner.I...
[ "edreamleo@gmail.com" ]
edreamleo@gmail.com
4dcf52b86bb25817e7dfa78a40c7f485a8b45dae
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/_models_py3.py
24ea772b5ff2093bc5881734465b3b1a132be619
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
636,979
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
a96551abf4e23669f8a10eeb317f8b7c1c14f59d
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/FJZJJMM/YW_FJZJJMM_SZXJ_101.py
8eff417e9121610a916d1b2eef839b5a1a94312c
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,059
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
195c0a917f138a316000aec505566c78514fdaf3
0e0ce88c886370df9af51855115c99dfc003e5da
/2011/05_Projeto_Gama_Geiger_Publicado/Gama/2010/inverno/10min_ inverno_julho/Suav_bom.py
7da37e80f7c5f9cc5d22b2b01b8716d35b55cbd3
[]
no_license
miguelzeph/Python_Git
ed80db9a4f060836203df8cc2e42e003b0df6afd
79d3b00236e7f4194d2a23fb016b43e9d09311e6
refs/heads/master
2021-07-08T18:43:45.855023
2021-04-01T14:12:23
2021-04-01T14:12:23
232,007,012
0
0
null
null
null
null
UTF-8
Python
false
false
2,348
py
# coding: utf-8 import matplotlib.pyplot as plt import numpy as np import os for n in ('10','60'): def smoothListGaussian(list,strippedXs=False,degree=int(n)): window=degree*2-1 weight=np.array([1.0]*window) weightGauss=[] for i in range(window): i=i-degree+1 frac=i/float(win...
[ "miguel.junior.mat@hotmail.com" ]
miguel.junior.mat@hotmail.com
8a372c7c11e787f9e03ca819b8e3606e221c1fc1
3003a8663135aa10f5a152a8642bc6ab270995b9
/ggCloudSDK/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/core/resource/resource_property.py
18f0ca04ca0cf221ad1df3f615e5cbba41c12229
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/packmybot
1b4d199b36d196e5e769a781b520019bb4d0bdbc
92de1e72cfc51b41447366ffc81a9dcd9a5e7870
refs/heads/master
2022-11-25T23:46:06.946645
2015-10-22T08:22:04
2015-10-22T08:22:04
282,313,675
0
0
null
2020-07-24T20:50:10
2020-07-24T20:50:10
null
UTF-8
Python
false
false
4,565
py
# Copyright 2015 Google Inc. All Rights Reserved. """Resource property Get.""" def _GetMetaData(resource, name, value, default=None): """Gets the metadata dict in resource that contains {name: value, ...}. A metadata object is a list of dicts of the form: [ {'name': key-name-1, 'field_1': field-1-valu...
[ "cboussicaud@leaseplan.fr" ]
cboussicaud@leaseplan.fr
b5faf6c1225bfae52a90ac51095bfc78dc6de2d4
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/01. Data Engineering for Everyone/Chapter/03. Moving and processing data/03-One or the other.py
37baad9ba8e19d286e54ace40922bde56115c4bc
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
''' One or the other You've seen that data can be processed in batches (records are grouped and processed at intervals) or streams (records are sent individually right away). Can you correctly classify the actions on the right as being batched or streamed? Some of these are tricky, you may have to think twice! Don'...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
68c4b428092bcddd76a9afeb025c07b5ff96b0c4
e1efc8e0b0e4629dea61504fbc816c0527691bd9
/11.dubbo/34-ReferenceConfig.py
ad07a80592ad15b7e28da0299c15b6eb120b3977
[]
no_license
xiongmengmeng/xmind-technology
2bb67a0bf92cfd660cac01f8ab3a2454423ccba5
e2fdb6987ef805a65f0a4feb52d84383853f4b77
refs/heads/main
2023-07-31T07:10:29.868120
2021-09-11T08:18:17
2021-09-11T08:18:17
307,636,242
3
1
null
null
null
null
UTF-8
Python
false
false
2,286
py
import os,sys parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0,parentdir) import xmind xmind_name="dubbo" w = xmind.load(os.path.dirname(os.path.abspath(__file__))+"\\"+xmind_name+".xmind") s2=w.createSheet() s2.setTitle("ReferenceConfig") r2=s2.getRootTopic() r2.setTitle("...
[ "xiongmengmeng@qipeipu.com" ]
xiongmengmeng@qipeipu.com
c72071a7f2d6bdcdb2462faab766e98286fd341d
51c994f47d1c7560086abd9f163ed639495c92ff
/nginx/__init__.py
e0014064387f14db1f725e15ddb0633e1261a803
[]
no_license
rockychen-dpaw/data-harvester
e794bb00d53be7e926e96d7b67305d0216794585
38c67c1d437127544af36ff546c43cb5cc42eab7
refs/heads/master
2021-10-27T10:38:16.558002
2021-10-13T05:47:06
2021-10-13T05:47:06
227,246,101
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
from .archive import archive,get_resource_repository
[ "rockyc@kens-mate-001.corporateict.domain" ]
rockyc@kens-mate-001.corporateict.domain
06a5f0afdc55468150ead4e131a63cd150e18925
0dd6a6597f60be40621f24a28209e97a73025c6c
/pybingwallpaper/rev.py
3d2d01e00cbe23ba377a621847698b6e5340d64f
[ "MIT" ]
permissive
shanxindou/pybingwallpaper
5ba4df72496eed25af39108f9c17b2ad121ea44e
f616f320b0b9783f0ec68bc0ee7d2475bd00b010
refs/heads/master
2020-07-09T13:14:30.212212
2019-05-01T04:38:32
2019-05-01T04:38:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
14
py
REV = '1.5.6'
[ "zj0512@gmail.com" ]
zj0512@gmail.com
0581ba0cc9c8f1741ac3283793f30864d75f306e
955ee13f0ed39a3d0b997636207884f887eae4e1
/Gui/Tools/widgets.py
493b2bc03414210123dd5b95c15a344c20dc4e2d
[]
no_license
sguberman/PP4E
1d4ca7c3dced798dcab7cfd746e061f8c8ef23d9
ea4f713daf94f6663314bfad0a7de1e8809f0248
refs/heads/master
2020-07-17T00:28:12.555340
2017-01-17T15:26:48
2017-01-17T15:26:48
73,938,014
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
""" ############################################################################## wrap up widget construction in functions for easier use, based on some assumptions (eg, expansion); use **extras kwargs for width, font/color, etc. and repack result manually later to override defaults if needed; ########################...
[ "sguberman@gmail.com" ]
sguberman@gmail.com
ae0e35d14bac89ddada7f9bdbc20f578969a044e
1ae95a907eda38bc49dba5ce24309a0d134a2fd8
/webapp/urls.py
7b0c227d74f5f3531f814cf482fe07a9734e6e91
[]
no_license
ivanurban/vladetina_1-webapp
e43472edbf87485d1b606c9827988f7353adcf02
c37eea232b2fde654cb2de006a2c3d2fea838047
refs/heads/master
2022-12-08T04:56:11.729653
2020-08-28T22:36:35
2020-08-28T22:36:35
289,579,399
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
from django.urls import path from . import views app_name = 'webapp' urlpatterns = [ path('', views.home_page, name='home_page'), path('contact/', views.contact_page, name='contact_page'), path('about/', views.about_page, name='about_page'), path('obavestenja/', views.obavestenja_page, name='obav...
[ "ivanurban_bg@yahoo.com" ]
ivanurban_bg@yahoo.com
8767605ffdc488aa570c08867d5ab3f17f4c7b83
d039f2a5bbf15cb8bfb99e3b67354a23f2065745
/csv2/csv2/wsgi.py
2e25787dcaa8f7f60158aa6cee05f1cc1235c6d5
[]
no_license
prasadnaidu1/django
22ad934eaee1079fbcd0a988245bdc18789a48f1
b64a341d7c8916dd8000d85b738241c0b369b229
refs/heads/master
2020-04-12T19:21:42.565686
2019-04-18T16:35:16
2019-04-18T16:35:16
162,707,226
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for csv2 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "you@example.com" ]
you@example.com
88744ee5263a197db79a57bee4ab3901b744899e
81357d11785eb03ec9abceb93e545e5fd9bcc156
/blog/migrations/0008_auto_20210123_0122.py
9a3e2e0781f5702b64238d205bfcb266bcbca670
[]
no_license
ytshaha/my-first-blog
f63dcc8372aac8cd0b1bfad47a67200b2b19772d
7ee8c893e8c98cd0c290a1121b94f34110018525
refs/heads/master
2023-04-19T15:31:29.996220
2021-05-11T18:22:12
2021-05-11T18:22:12
328,199,497
0
0
null
2021-04-02T07:48:22
2021-01-09T16:39:27
HTML
UTF-8
Python
false
false
506
py
# Generated by Django 2.0.13 on 2021-01-22 16:22 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('blog', '0007_auto_20210122_1642'), ] operations = [ migrations.AlterField( ...
[ "ytshaha@naver.com" ]
ytshaha@naver.com
d991867a1080c3d093243aa5c32aaff9e9810640
ed06ef44c944707276a2fca16d61e7820596f51c
/Python/push-dominoes.py
40b0f8dcd28c54d2c1c5acc5d2cb5ff69a55c003
[]
no_license
sm2774us/leetcode_interview_prep_2021
15842bef80637c6ff43542ed7988ec4b2d03e82c
33b41bea66c266b733372d9a8b9d2965cd88bf8c
refs/heads/master
2023-05-29T14:14:49.074939
2021-06-12T19:52:07
2021-06-12T19:52:07
374,725,760
0
0
null
null
null
null
UTF-8
Python
false
false
829
py
# Time: O(n) # Space: O(n) class Solution(object): def pushDominoes(self, dominoes): """ :type dominoes: str :rtype: str """ force = [0]*len(dominoes) f = 0 for i in range(len(dominoes)): if dominoes[i] == 'R': f = len(dominoes)...
[ "sm2774us@gmail.com" ]
sm2774us@gmail.com
1b8fbb7bc7bbec81e3a70162432bf00616abef02
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/compute/gallery_image.py
12cf574e4ba7fa9d686075852fa1ad98096e960c
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,354
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
3e14e73139e1672f11140fe0062d788e6fa39054
c3a6b6f74623b2b26e6d4a259b06367ff6ac7a60
/mmpose/datasets/datasets/hand/interhand3d_dataset.py
962513213d2951ac5c1fc124bbd1a5caa57debf7
[ "Apache-2.0" ]
permissive
jcwon0/BlurHPE_prev
f3785eeac7063799874f5272eacbda0234d0369a
8cac1de10a60898eaa702e536c4e24a27d469f6d
refs/heads/master
2023-04-01T03:26:59.371057
2021-04-02T07:51:46
2021-04-02T07:51:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,267
py
import os from collections import OrderedDict import json_tricks as json import numpy as np from mmpose.core.evaluation.top_down_eval import keypoint_epe from mmpose.datasets.builder import DATASETS from .hand_base_dataset import HandBaseDataset @DATASETS.register_module() class InterHand3DDataset(HandB...
[ "jcwon@postech.ac.kr" ]
jcwon@postech.ac.kr
a246202a4887fe806aa0857886b201f27a6fbdd9
84856442c382b0b670246636d378beb095effa0a
/dev_cloud/web_service/urls/rest_webapi/__init__.py
c81e5a1f89d5d8731b36f4c9404d3c3ed0d77bc6
[ "Apache-2.0", "LicenseRef-scancode-philippe-de-muyter" ]
permissive
Dev-Cloud-Platform/Dev-Cloud
f50cc3292245156c4cf55942e4426fda22443fd6
b2fb9f4318aeb6dde1e8babca32da527943f1fb4
refs/heads/master
2020-12-29T02:43:14.022401
2017-05-05T07:18:21
2017-05-05T07:18:21
28,969,864
1
1
null
2015-01-14T16:46:57
2015-01-08T14:36:52
Python
UTF-8
Python
false
false
812
py
# -*- coding: utf-8 -*- # @COPYRIGHT_begin # # Copyright [2015] Michał Szczygieł, M4GiK Software # # 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...
[ "michal.szczygiel@wp.pl" ]
michal.szczygiel@wp.pl
bd44dd4851a4b3e6869a0ef45ec93458a4cd215a
1ee3dc4fa096d12e409af3a298ba01f5558c62b5
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/isis/trillpingoam.py
1bdee9e229cc7b905fbefa2da1b889d657ea7785
[ "MIT" ]
permissive
parthpower/ixnetwork_restpy
321e64a87be0a4d990276d26f43aca9cf4d43cc9
73fa29796a5178c707ee4e21d90ff4dad31cc1ed
refs/heads/master
2020-07-04T13:34:42.162458
2019-08-13T20:33:17
2019-08-13T20:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,363
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # 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,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
d9f758143cc479b3715a22ef6ea5c8fbd7b9a6af
048df2b4dc5ad153a36afad33831017800b9b9c7
/atcoder/abc010/abc010_3.py
93bef7274b64592d019b66481596ed239664b467
[]
no_license
fluffyowl/past-submissions
a73e8f5157c647634668c200cd977f4428c6ac7d
24706da1f79e5595b2f9f2583c736135ea055eb7
refs/heads/master
2022-02-21T06:32:43.156817
2019-09-16T00:17:50
2019-09-16T00:17:50
71,639,325
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
import math x1, y1, x2, y2, T, V = map(int, raw_input().split()) TV = T*V for i in range(int(raw_input())): x, y = map(int, raw_input().split()) if math.sqrt((x-x1)**2+(y-y1)**2) + math.sqrt((x-x2)**2+(y-y2)**2) <= TV: print 'YES' exit() print 'NO'
[ "nebukuro09@gmail.com" ]
nebukuro09@gmail.com
79264fbf312d79b4714b3605c130c90538152f83
35c4c0ae37c78124732bc8056f9b9940cc80779b
/Data/DP/Longest Palindromic Subsequence/Number of Deletion in a string to make it a Palindrome.py
a52f327e2c39b118763715f81b0543786d3bb034
[]
no_license
bhusalashish/DSA-1
8189c6fe27a7905eaa3ea0a404a38164245c8b6e
573b737483193c30753e7afc5d564396318d45ff
refs/heads/master
2023-02-09T21:44:16.691700
2020-12-25T06:19:58
2020-12-25T06:19:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
''' #### Name: Longest Palindromic Subsequence Link: [link]() #### Sub_question_name: Number of Deletion in a string to make it a Palindrome Link: [link](https://www.youtube.com/watch?v=CFwCCNbRuLY&list=PL_z_8CaSLPWekqhdCPmFohncHwz8TY2Go&index=28) Find LCS, and len(X) - LCS ''' def lcs(X, Y): m = len(X) n...
[ "nishan.paudel1914@gmail.com" ]
nishan.paudel1914@gmail.com
72f549f4feb7b8862f38826944443c4a6acdbebe
646052b1b4047325df9273973f04f14b36eecac3
/tvm/rt/prelude.py
6edde469a972bc66931fe4a45f70f99dfb08e7bc
[]
no_license
overminder/YASI
313e2dfba863be85c6e3c1c491c6fa6a46c0ff5c
cc419b6ce7f42a8de3aa30e08032a045eb3a868e
refs/heads/master
2016-09-05T21:51:47.225320
2012-01-10T19:09:15
2012-01-10T19:09:15
3,131,053
0
0
null
null
null
null
UTF-8
Python
false
false
11,354
py
from pypy.rlib.jit import hint, unroll_safe from tvm import config from tvm.asm.assembler import load_bytecode_function, dump_bytecode_function from tvm.rt.baseframe import W_ExecutionError from tvm.rt.code import W_BytecodeClosure, W_BytecodeFunction from tvm.rt.native import W_NativeClosure, W_NativeClosureX from tvm...
[ "p90eri@gmail.com" ]
p90eri@gmail.com
12590779e76790decaf793975f6637da956c58f0
241b3614c8493f0b4432b127b63b2dbc17cdce3e
/Chapter 10/10-3.py
66cfd49b8e3f4e5310f964337845bed878af8b19
[]
no_license
joose1983/answer-for-python-crush-course-2ndE
6edc5e8909f4374f029ca8ac686ddaf83e331a10
b773e9cffd69695ecbb004d50c60fa9dbbd4f2ff
refs/heads/master
2023-01-07T00:42:00.048631
2020-11-06T10:12:39
2020-11-06T10:12:39
293,987,709
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
guest_name = input("please input your full name here: ") filename = "guest.txt" with open(filename,'a') as file_object: file_object.write(guest_name)
[ "jingangqin@gmail.com" ]
jingangqin@gmail.com
e310a5499d231b87e142fb8d8978b16ad49abd2a
fc772efe3eccb65e4e4a8da7f2b2897586b6a0e8
/Controller/keystone/tests/test_v3_endpoint_policy.py
805817d65d541a38636f6534c69ef5a91f2d4692
[]
no_license
iphonestack/Openstack_Kilo
9ae12505cf201839631a68c9ab4c041f737c1c19
b0ac29ddcf24ea258ee893daf22879cff4d03c1f
refs/heads/master
2021-06-10T23:16:48.372132
2016-04-18T07:25:40
2016-04-18T07:25:40
56,471,076
0
2
null
2020-07-24T02:17:46
2016-04-18T02:32:43
Python
UTF-8
Python
false
false
10,204
py
# Copyright 2014 IBM Corp. # # 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 t...
[ "wwang@linx-info.com" ]
wwang@linx-info.com
acf89f5e77dc3da5244c69c80c99bad64437711e
23130cd12e38dbce8db8102810edaad70b240ae2
/lintcode/667.py.wrong.py
926ca3639850bcde164b193efb7d1ab282e907f8
[ "MIT" ]
permissive
kangli-bionic/algorithm
ee6687c82101088db20f10fb958b4e45e97d3d31
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
refs/heads/master
2023-01-05T09:29:33.204253
2020-10-25T17:29:38
2020-10-25T17:29:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
class Solution: """ @param s: the maximum length of s is 1000 @return: the longest palindromic subsequence's length """ def longestPalindromeSubseq(self, s): # write your code here n = len(s) start, end = 0, len(s) - 1 max_length = 0 while start < end: ...
[ "hipaulshi@gmail.com" ]
hipaulshi@gmail.com
45c1ebc6e71cd1a06d174484efae1935fe49b887
1afa6c852dfc922d1a26a384d965976f31a87692
/Filters/General/Testing/Python/contoursToSurface.py
811aa7a0b7d16fdf81d6ad1dcfbfcd52b44c27eb
[ "BSD-3-Clause" ]
permissive
dgobbi/VTK
631d037aacc7258861e70f77c586b01cd4ebff3f
17f232ee440025c26bc78a897edef78e9fc78510
refs/heads/master
2021-01-04T22:27:46.611907
2013-03-01T19:44:02
2013-03-01T19:44:02
938,377
0
2
null
null
null
null
UTF-8
Python
false
false
6,097
py
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # Create the RenderWindow, Renderer and both Actors # ren1 = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren1) iren = vtk.vtkRenderWindowInteractor() iren.SetR...
[ "nikhil.shetty@kitware.com" ]
nikhil.shetty@kitware.com
90bbed43f51952415348e4326440f53d22f6e67d
1fddb12ae9b7db260b9161983a726f1528ece940
/Part_01/Cap_06/Exemplo_Dicionário05.py
ca7a431197d2cb372c244ca6b3123cda8f5af8f3
[]
no_license
davicosta12/python_work
aecf642bbbf2a007fba159f305b4ab21ff00503f
5df62d3ced25b7e04cda71846fd07862dda39b4c
refs/heads/master
2023-04-23T09:49:31.923211
2021-04-27T00:31:42
2021-04-27T00:31:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
# Lisa dentro do dicionário # primeiro maneira favorite_languages = { 'davi': ['python', 'ruby'], 'rafael': ['c'], 'elias': ['ruby', 'go'], 'phil': ['python', 'haskell'], } for nome, linguagens in favorite_languages.items(): print("\n" + 'As linguagens favoritas do ' + nome.title() + ' é:') for...
[ "deadspace24@hotmail.com" ]
deadspace24@hotmail.com
cca4888b62c61850938e04b76b0b46f9d66131ad
58fe3cbfbbe5aef86c31ceed3005ace6d7be7d54
/Abstract_Extraction_Seq2Seq-PGN/Abstract_Extraction_Seq2Seq/seq2seq_pgn_tf2/utils/losses.py
1a6fbb2451bdd41f2c1e4b239204cdade94b2669
[]
no_license
qq751220449/Abstract_Extraction
d8d63004a09cb82af297a6ab44cacf71ecf655ff
f4eca168bda90dd6f56aa5e22ea15589f5e8fc1a
refs/heads/master
2022-12-31T10:38:03.624793
2020-10-20T14:40:16
2020-10-20T14:40:16
305,736,243
9
1
null
null
null
null
UTF-8
Python
false
false
3,663
py
import tensorflow as tf loss_object = tf.keras.losses.SparseCategoricalCrossentropy(from_logits=False, reduction='none') def loss_function(real, outputs, padding_mask, cov_loss_wt, use_coverage): pred = outputs["logits"] attn_dists = outputs["attentions"] if use_coverage: loss = pgn_log_loss_fun...
[ "you@example.com" ]
you@example.com
94f5beed1edcc39d461521aea8a86d72f616d3a1
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/gui/Scaleform/daapi/view/meta/BattleResultsMeta.py
c4bd4e048429c84fe3a4df5f163ce79ca1446770
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,191
py
# 2016.11.19 19:51:13 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/BattleResultsMeta.py from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class BattleResultsMeta(AbstractWindowView): """ DO NOT MODIFY! Generated with...
[ "info@webium.sk" ]
info@webium.sk
44463227704c77d5bb92e46ecbbf2077e2bb8b50
27ece9ab880a0bdba4b2c053eccda94602c716d5
/.history/tf_regression_logistic_20181129223625.py
bd07ea6aa75c1d2ac79e21d1ec9dc200bbe57273
[]
no_license
Symfomany/keras
85e3ad0530837c00f63e14cee044b6a7d85c37b2
6cdb6e93dee86014346515a2017652c615bf9804
refs/heads/master
2020-04-08T20:21:35.991753
2018-11-30T08:23:36
2018-11-30T08:23:36
159,695,807
0
0
null
null
null
null
UTF-8
Python
false
false
6,621
py
import matplotlib.pyplot as plt import tensorflow as tf import numpy as np import os, argparse """ Any interaction with your filesystem to save persistent data in TF needs a Saver object and a Session object. The Saver constructor allows you to control many things among which 1 is important: The var_list: Default to...
[ "julien@meetserious.com" ]
julien@meetserious.com
dafe60d0f14af70a95721258ae28841faef98b7a
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_optimization1.py
65593a3394191a3e4a7487b9a00dcf3236f0e59a
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
364
py
from xcp2k.inputsection import InputSection class _optimization1(InputSection): def __init__(self): InputSection.__init__(self) self.Accuracy = None self.Step_size = None self.Max_fun = None self._name = "OPTIMIZATION" self._keywords = {'Accuracy': 'ACCURACY', 'Step...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
107a89f9f9255c38c6402084c1228e46f0153481
a2ff77ac12c8c8313ebb9d82b0afe0229ac065c6
/playground/necdet.yucel/vte/actions.py
48d9be6eed72229ea76757283eb48347bff74744
[]
no_license
ademirel/COMAK
80966cffc1833c0d41dbe36514ef2480f4b87ead
311d8d572c0ed5fe429bb4b2748e509dab7a6785
refs/heads/master
2020-12-25T17:23:27.553490
2012-09-11T08:58:30
2012-09-11T08:58:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2008 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.action...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
b499cf78753144398969708ba8f9c599913312ac
8c43924375abc722a1d0177fed122184acea8ab0
/tensorflow_probability/python/sts/structural_time_series_test.py
3f6fa43fb65b66c5d62958d5e3620cf50126edc4
[ "Apache-2.0" ]
permissive
yaolezju/probability
fdcdb20f28ae787fa0b821c5a8a6849cd16dfd63
371f55e2c078bd0e888e9a9b5a2b2becbfe28092
refs/heads/master
2020-04-05T04:59:16.174292
2018-11-06T22:26:57
2018-11-06T22:27:35
156,575,948
1
0
Apache-2.0
2018-11-07T16:28:38
2018-11-07T16:28:37
null
UTF-8
Python
false
false
10,409
py
# Copyright 2018 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
0cef5203301bf9699e0e935184b1691e3a83752c
786de89be635eb21295070a6a3452f3a7fe6712c
/PSXtcQC/tags/V00-00-03/SConscript
324fa5fc8185968f7c945aecf2b39863810f7d9d
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # SConscript file for package PSXtcQC #------------------------------------------------------------------------ # Do not delete following line, it must be present in # SConscript file ...
[ "dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
615e64f73faeebf7f282e79c76e0597b36084f8c
d068a99fb9c1cff794260ac48d4202182377b254
/sim2/components/node.py
bacea0be98012e2bafee6e18eac919f5117f126f
[ "MIT" ]
permissive
sunliping0213/PyRankine
ad4095bccdd2da2a13a87ccb4d0eba5eee84bf4f
e0dc4dd2939030576553e2fb73c338f1a912f5a6
refs/heads/master
2020-07-10T17:37:37.081103
2019-05-20T15:50:07
2019-05-20T15:50:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,043
py
""" General Object-oriented Abstraction and JSON Textual Model of Rankine Cycle class Node ──┐ ┌── │ No. i │ component A ├─⇒ Node ⇒─┤ component B │ │ ──┘ └── json...
[ "cmh@seu.edu.cn" ]
cmh@seu.edu.cn
80c232474324a30530442d44153d453ec0ad1b75
8e69eee9b474587925e22413717eb82e4b024360
/v1.0.0.test/toontown/shtiker/CogPageManagerAI.py
af8cbbeb144466aa34cb39567ff8a5a51f0faca4
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
2,874
py
from direct.directnotify import DirectNotifyGlobal from toontown.shtiker.CogPageGlobals import * from toontown.suit import SuitDNA class CogPageManagerAI: notify = DirectNotifyGlobal.directNotify.newCategory('CogPageManagerAI') def __init__(self, air): self.air = air def toonEncounteredCogs(self,...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
d57f4de72e9144b9a8f5bb6e60f1598ad570aff0
b86608b6de44642ed29cd88bba4acbbdd31a0b04
/tools/ml-dataprep/tests/bqclient_test.py
eb2daa1f055fa63e2422b0dcd06c5b76cc429d52
[ "Apache-2.0" ]
permissive
MCRen88/professional-services
a514a926dd23e3c4ac6dadb656faed22c3d91d5d
d7bc3b194159ffdb149c9507890bb1fbae7a8d88
refs/heads/master
2020-12-15T16:38:17.860940
2020-01-06T19:29:47
2020-01-06T19:29:47
235,181,173
1
0
Apache-2.0
2020-01-20T19:26:15
2020-01-20T19:26:14
null
UTF-8
Python
false
false
1,036
py
# Copyright 2019 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "jferriero@google.com" ]
jferriero@google.com
26bae8d9cb106b07491add2a76c8ee2ff8125488
05f605c87fc54d25d2b546d1fe94d88bbe3ca21f
/Shark_Training/pyimagesearch/preprocessing/applicationpreprocessor.py
7239f5999be3d6e527ee3ee474edb8ab821adb25
[ "MIT" ]
permissive
crpurcell/MQ_DPI_Release
136d8a010130cf6ded38b20545946961d6398d4f
97444513e8b8d48ec91ff8a43b9dfaed0da029f9
refs/heads/main
2023-05-05T11:12:43.887043
2021-05-24T13:11:37
2021-05-24T13:11:37
370,238,054
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#=============================================================================# # # # MODIFIED: 30-Dec-2018 by C. Purcell # # # ...
[ "cormac.r.purcell@gmail.com" ]
cormac.r.purcell@gmail.com
7254d78adb38c1d7fc870c8b11012dc932fd3500
6640e15977875138777548120e19e4cc7ce3bffc
/jira/jiraRequests/resolutions.py
e2684e00db3f9b1038e00cd2ed2ff22bb8c06cbf
[]
no_license
sijoonlee/jira-python
08f5c1e2c1cf47861a95f4bfcebf20c4fa9fb17b
9cf3f2ae26dd5e3087f7fcd0a7f5ed40ede476fe
refs/heads/master
2022-12-19T11:46:07.525812
2020-09-24T17:18:54
2020-09-24T17:18:54
285,721,574
0
0
null
2020-09-24T13:54:39
2020-08-07T02:49:27
Python
UTF-8
Python
false
false
333
py
import json from requests.auth import HTTPBasicAuth from config import config from jira.jiraEndpoints.getResolution import method, url from jira.jiraRequests.requestToJira import requestToJira def getResolutions(): auth = config["auth"] response = requestToJira(method, url, auth, None) return json.loads(r...
[ "shijoonlee@gmail.com" ]
shijoonlee@gmail.com
8f7c685e1659be2d55941ef367150280567447c6
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nndarmstadt.py
0efc2b523fb0e92fd4974db19d63cbc07ef5edb2
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
80
py
ii = [('TennAP.py', 1), ('ClarGE.py', 1), ('BuckWGM.py', 5), ('BuckWGM2.py', 4)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
146e79a89d21c7d50e49d6f9ea15e9896eab3217
f05286a2e25950c32c3773f399983b25c87b76b6
/PythonBasics/Dataframe/SummaryInfo.py
7468f335228cbaebd8ef83f50f16f5edcc5a03ec
[]
no_license
ajpiter/PythonProTips
cdeaf65771a3f7b21ecd946463e4605a061b9b90
5ca6238dfcf248251d6933a313af0ac831ec0117
refs/heads/master
2021-07-16T05:30:32.996954
2021-04-05T07:44:52
2021-04-05T07:44:52
92,957,252
0
1
null
2021-01-20T04:21:20
2017-05-31T14:53:43
Python
UTF-8
Python
false
false
422
py
#Indexes are labels for rows that permit fast lookup and relationship operators in pandas import pandas as pd type(Dataframe) #tells you how many (rows, columns) dataframe.shape #tells you the names of columns dataframe.columns #allows you to see the first five rows database.head() #allows you to see the la...
[ "noreply@github.com" ]
ajpiter.noreply@github.com
385a0f8d317c4e7c331c5f2118daeb284e7b6bd4
19a4365d81507587ef09488edc7850c2227e7165
/1032.py
f72c6c4a9836db3d941166afee592dbaa7dbf21a
[]
no_license
akauntotesuto888/Leetcode-Lintcode-Python
80d8d9870b3d81da7be9c103199dad618ea8739a
e2fc7d183d4708061ab9b610b3b7b9e2c3dfae6d
refs/heads/master
2023-08-07T12:53:43.966641
2021-09-17T19:51:09
2021-09-17T19:51:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
class TrieNode: def __init__(self): self.children = {} self.is_word = False class Trie: def __init__(self): self.root = TrieNode() def add(self, word): node = self.root for c in word: node = node.children.setdefault(c, TrieNode()) node.is_word =...
[ "tiant@qualtrics.com" ]
tiant@qualtrics.com
491969ab1d0f188e31cabe6b4f7bc5a8cc500356
c79790ffc277e6d7244c3ae1a3a9b176a5ac3ba4
/app/app.py
7bcf9067f2238a06995334dd105399c4ae871b80
[]
no_license
ShalamovMax/ITservice_test-task
89f90bb1746542221ad06bb9ea0263ff37dec339
69bb2373f4e4e41a7ba64d44f1834d8ade962f17
refs/heads/master
2023-02-13T03:48:17.719380
2021-01-16T21:46:43
2021-01-16T21:46:43
330,260,740
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
from flask import Flask, request, jsonify import numpy as np import djkstra app = Flask(__name__) @app.route('/') def index(): headers = request.headers auth = headers.get("X-Api-Key") if auth == '123321': return jsonify({"message": "OK: Authorized"}), 200 else: return jsonify({"messa...
[ "you@example.com" ]
you@example.com
2c0af5f4625b4d2da61e15a79d7ac4b01ed28eb7
2413ece71f89586b69cd8f8ff5fd865878c9e566
/decryptor.py
46d8bfbf99e7b138065384a7c6d1087ff6113284
[]
no_license
superfish9/BHP
7102487c53f725c63fc1dff54bb860dc6a4714e4
1fe9673997612dd17193f9b4748f6e85fe8aa1e2
refs/heads/master
2021-01-21T05:05:52.169166
2016-12-28T07:58:44
2016-12-28T07:58:44
41,409,495
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
#coding=utf-8 import zlib import base64 from Crypto.PublicKey import RSA from Crypto.Cipher import PKCS1_OAEP private_key = "###PASTE PRIVATE KEY HERE###" rsakey = RSA.importKey(private_key) rsakey = PKCS1_OAEP.new(rsakey) chunk_size = 256 offset = 0 decrypted = "" encrypted = base64.b64decode(encrypted) whil...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
84944a700f3cf07f8bc661b2a321ac7ceb89d38f
8997a0bf1e3b6efe5dd9d5f307e1459f15501f5a
/detection_of_site_changes_Unistream/main.py
f190d6a82c82be04500815e49dfbb9f07ca45240
[ "CC-BY-4.0" ]
permissive
stepik/SimplePyScripts
01092eb1b2c1c33756427abb2debbd0c0abf533f
3259d88cb58b650549080d6f63b15910ae7e4779
refs/heads/master
2023-05-15T17:35:55.743164
2021-06-11T22:59:07
2021-06-11T22:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,548
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' # NOTE: костыль для винды, для исправления проблем с исключениями # при выводе юникодных символов в консоль винды import sys if sys.platform == 'win32': import codecs # Для винды кодировкой консоли будет cp866 sys.stdout = codecs.getw...
[ "gil9red@gmail.com" ]
gil9red@gmail.com
282ec2c697c9e6a1586cbfeed55ca0d22cf34831
6ba1fdba7ae029c3403b3a560142fa90dacaafc4
/data_cleaning.py
3e2a16675cadcfe1b0a0aec25db6fa2eed0677cb
[]
no_license
DenisSkulovic/Financial-Sentiment-Neural-Network
44b214109b170c4d467babce94062c0610b53234
dab8b0bd4a53617c6c58882d59222b42a97d3d9f
refs/heads/master
2023-02-14T05:23:02.760247
2021-01-02T17:28:34
2021-01-02T17:28:34
323,023,373
0
0
null
null
null
null
UTF-8
Python
false
false
11,447
py
from tensorflow.keras.preprocessing.text import Tokenizer from keras.preprocessing.sequence import pad_sequences from tensorflow.keras.utils import to_categorical from numpy import quantile, array from glob import glob from re import sub from random import shuffle import string import csv from time import time # # the ...
[ "dskulovich@gmail.com" ]
dskulovich@gmail.com
d67c5b80fcb96db3d8f407cad0ee3848b36298e9
2805e59cd84d1535e405183a43990f327b0838c9
/2018/day-19/day_19.py
10e1495e645b4c54cf293933753e28348c2c3df0
[]
no_license
nthistle/advent-of-code
b1ff4ae2646228fea59913c2878f26c9ae38444e
7950850b77da77c1c2a4ca15c10f793c60e7ec73
refs/heads/master
2023-01-24T12:04:09.433385
2022-12-25T10:30:37
2022-12-25T10:30:37
160,138,710
29
12
null
null
null
null
UTF-8
Python
false
false
1,912
py
import time with open("input.txt") as file: inp = file.read().strip() prog = inp.split("\n") prog = [c.split(" ") for c in prog] prog = [[c[0],*map(int,c[1:])] for c in prog] def addr(reg,a,b,c): reg[c] = reg[a] + reg[b] def addi(reg,a,b,c): reg[c] = reg[a] + b def mulr(reg,a,b,c): reg[c] = reg[a] ...
[ "11429656+nthistle@users.noreply.github.com" ]
11429656+nthistle@users.noreply.github.com
8eabc47aa1c810e91511622eb84c6dc00efbc485
d16c07bc3a47a14bcc300e269dde911910401048
/sample/__init__.py
2e5fe746d7d8afbe4d4e4d4c3295356aca2804ae
[ "MIT" ]
permissive
honzajavorek/map
d0d54729211f7a048b9c906df6bdeafe3e6e7117
2952a17c44c3dcd0be831d066e94547da8409850
refs/heads/master
2020-03-28T06:37:26.410093
2018-12-11T09:25:21
2018-12-11T09:25:21
147,848,058
0
0
null
null
null
null
UTF-8
Python
false
false
1,900
py
import os import json import gspread import geocoder from slugify import slugify from flask import Flask, render_template, jsonify from oauth2client.service_account import ServiceAccountCredentials app = Flask('sample') app.config['JSON_AS_ASCII'] = False app.config['SHEET_URL'] = os.environ.get('SHEET_URL') app.co...
[ "mail@honzajavorek.cz" ]
mail@honzajavorek.cz
062c01a727082115ee9e2fcb7143f014a5ea4ab4
cbece8d0a6bcea56418a5d84b10465a6bbf968a8
/app/hs_sim/migrations/0002_fix_cost_field.py
71e3e3baf137b997ca60f23e6d8829010bc53182
[]
no_license
hoylemd/sfarmy
623a46cc1be364d898a81177431b95fc2f7f37d5
84d95776628608878ea6ff7b64280a2e299ccd71
refs/heads/master
2021-01-21T13:57:45.301865
2016-05-25T18:07:04
2016-05-25T18:07:04
54,333,706
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-05-25 17:21 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hs_sim', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "hoylemd@gmail.com" ]
hoylemd@gmail.com
39a276ce3af0a2f3940f01d446e36139628a580d
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_1/mlxnas004/question2.py
1d31c4d568afb3a146d10e2ab0d836c13e075123
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
# program to check the validity of time entered by user # nasha meoli # 25 february 2014 # create valid_hours in program valid_hours = 24 # create valid_hours in program hours = 0 # variable to store user's input valid_minutes = 60 # create valid_minutes in progra...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
365a39d24e607ea1bd2ffb255e10cf445d401b1b
164a258041ba24134b8dfe3b410b0040418bf849
/folders/urls.py
eaf0826d97566c669c0a30ff91b0228582759ec9
[]
no_license
nagadurgab/Django-fold-test
bdc348f18b3350b85c07254a6bcb15b2645b66a2
12b536c2eff2e250af2ec53e769b280c0cc5ea65
refs/heads/master
2020-04-27T13:50:45.688718
2019-03-07T17:17:46
2019-03-07T17:17:46
173,689,736
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
from django.conf.urls import include, url #from django.contrib.auth.views import login from folders import views urlpatterns = [ ###### Display form for selecting Folder url(r'^$',views.dirstruc, name='dirstruc'), ###### Sub Folders Urls url(r'^ajax/load-sub_directories/', views.subfoldes, name='su...
[ "you@example.com" ]
you@example.com
4cf4870bc9f241efad77391bea46ba712970b68c
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py
d32c965b408cfb6d0249fb17a7a536cf7b64cf01
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
25,366
py
# Copyright (C) 2011 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the ...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
af2237f27e2dee84496677fa828fc5bb44f7ebaa
816940f7b110c518ff03fa78599a89f4b1649e2c
/OpenCV/Camera Calibration/calibrate.py
b41856f720e5fd27704887ab5305fb3279887918
[]
no_license
corenel/Mess
6debfadca44815b0f2299dbe1af7e88a61697f71
99b3223a1a99553a25245cd40f65bb31e59165f6
refs/heads/master
2016-09-05T23:57:25.028810
2015-08-10T05:37:40
2015-08-10T05:37:40
34,602,068
0
1
null
null
null
null
UTF-8
Python
false
false
1,717
py
#!/usr/bin/env python import numpy as np import cv2 import os from glob import glob def splitfn(fn): path, fn = os.path.split(fn) name, ext = os.path.splitext(fn) return path, name, ext # defien the image file location # this shoulf be replaced by camera capture function img_mask = './img/*.jpg' img_name...
[ "xxdsox@gmail.com" ]
xxdsox@gmail.com
efbcd6815b955763edc101aabc1a8f2c8a3a545f
e89693a2906534fa4a9d180b404cb96751302e8c
/acquisition_scanning_client.py
c15a70d646a08ef151a1d938ec0f9e4f976c6a50
[]
permissive
friedrich-schotte/Lauecollect
e278e00692d109e98450c27502986673bf59db6a
acfc5afe34b4df5891a0f8186b8df76625afb51d
refs/heads/master
2022-09-12T02:59:04.363963
2022-08-18T16:39:01
2022-08-18T16:39:01
186,062,944
0
2
MIT
2020-07-20T02:04:07
2019-05-10T22:42:26
Python
UTF-8
Python
false
false
1,547
py
""" Author: Friedrich Schotte Date created: 2022-05-07 Date last modified: 2022-06-27 Revision comment: Updated example """ __version__ = "1.0.1" from PV_record import PV_record from cached_function import cached_function @cached_function() def acquisition_scanning_client(timing_system, base_name): return Acquis...
[ "friedrich.schotte@gmail.com" ]
friedrich.schotte@gmail.com
d86b336054b945ffa404b831f801d1ee4a635596
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03324/s525592765.py
c6261743103cd5d31455e2ac9c66cbe1cd3a3780
[]
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
419
py
A = [] B = [] C = [] for i in range(1,101): t0 = i t1 = i*100 t2 = i*100*100 A.append(t0) B.append(t1) C.append(t2) d,n = map(int,input().split()) if d == 0: if n == 100: print(101) else: print(A[n-1]) elif d == 1: if n == 100: print(100*101) else: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d1093379ae9c61a0430ac26f0afa3ff964f9d1e3
ddadc97398c26801c33e628e7dcfc6eb87336e5c
/ChangePassword/PasswordManager/apps.py
0b2468478dba9d2a0de57dcad28e813e5e0def0a
[ "MIT" ]
permissive
bharathjinka09/AdvancedDjango
278fcde564e019fce238cc8681413f7b93fec4a9
f06e1a0621e182ea6015b06e79eae99ddb04affb
refs/heads/main
2022-12-30T12:49:40.698658
2020-10-19T16:04:07
2020-10-19T16:04:07
305,616,622
1
0
MIT
2020-10-20T06:52:26
2020-10-20T06:52:25
null
UTF-8
Python
false
false
105
py
from django.apps import AppConfig class PasswordmanagerConfig(AppConfig): name = 'PasswordManager'
[ "u.garg.10@gmail.com" ]
u.garg.10@gmail.com
24b8ca808967fd456215ea58d3111d21af475050
ae7ba9c83692cfcb39e95483d84610715930fe9e
/baidu/Paddle/demo/semantic_role_labeling/data/extract_pairs.py
4d1bef8f958a62be9941d474a0b67542dcc5cfab
[ "Apache-2.0" ]
permissive
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
Python
false
false
4,312
py
# Copyright (c) 2016 Baidu, Inc. All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "xenron@outlook.com" ]
xenron@outlook.com
57d782b1a1b406637c6ce822e389fa632472c45d
e9538b7ad6d0ce0ccfbb8e10c458f9e0b73926f6
/plugins/module_utils/network/frr/providers/cli/config/base.py
a451c94070fa1e5fb92776b73f030f86664c1e58
[]
no_license
ansible-collection-migration/misc.not_a_real_collection
b3ef8090c59de9ac30aca083c746ec3595d7f5f5
7ab1af924a3db4ada2f714b09bb392614344cb1e
refs/heads/master
2020-12-18T13:48:51.849567
2020-01-22T17:39:18
2020-01-22T17:39:18
235,400,821
0
0
null
null
null
null
UTF-8
Python
false
false
2,626
py
# # (c) 2019, Ansible by Red Hat, inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # from ansible.module_utils.six import iteritems from ansible_collections.misc.not_a_real_collection.plugins.module_utils.network.common.utils import to_list from ansible_collections.misc.n...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
e5178ba57e517b6983998abdfbb72953338b6daa
2c19ad0d69a20b2ef82312cdba65fc538c85efe7
/User/migrations/0015_administrators.py
e9587d5e5fba94e8106fe7d5a5f96087b24cba44
[]
no_license
wzc-ob/EvaluationOfTeaching
b55d1011ca0f36d3af5e32efae85fa251e90fd79
783cbd35708db2121566cb27826db3c6654f0871
refs/heads/master
2020-06-06T22:40:25.494991
2019-06-20T07:06:11
2019-06-20T07:06:11
192,867,926
2
0
null
null
null
null
UTF-8
Python
false
false
714
py
# Generated by Django 2.1.5 on 2019-05-10 10:57 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('User', '0014_auto_201905...
[ "43775612+wzc-ob@users.noreply.github.com" ]
43775612+wzc-ob@users.noreply.github.com