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
2db9a31d23446db98d3f0babc65ad406e63c0b02
498474967e1480acf5cc0f25756e1d748c677195
/mmdetection3d/mmdet3d/ops/furthest_point_sample/points_sampler.py
469037fb9ca004d1f2baa136f5d3484cc941ac49
[ "MIT", "Apache-2.0" ]
permissive
hustvl/MapTR
adc37f78cbae9d8c909dd8648088a4930bf55377
feb0664e64684d3207859279f047fa54a1a806f6
refs/heads/main
2023-08-25T17:44:47.672149
2023-08-14T13:31:17
2023-08-14T13:31:17
518,672,305
643
95
MIT
2023-09-14T03:30:23
2022-07-28T02:20:43
Python
UTF-8
Python
false
false
5,260
py
import torch from mmcv.runner import force_fp32 from torch import nn as nn from typing import List from .furthest_point_sample import furthest_point_sample, furthest_point_sample_with_dist from .utils import calc_square_dist def get_sampler_type(sampler_type): """Get the type and mode of points sampler. Arg...
[ "cnliao62@gmail.com" ]
cnliao62@gmail.com
7b0fbc9f015cf2412785d50bd90a065d9d4a77f2
c032a4c0f3f8bce2e9271df49a3113509ac80be8
/code/python/echomesh/base/Quit.py
94de10817f214ca37f9c3b2caaeabcbb69bf461d
[ "MIT" ]
permissive
neteler/echomesh
e36fad86f84188014515ab4d67790f776b149280
23fdc02f852d7f2fd8e118da2e75be9612ada8c7
refs/heads/master
2020-12-03T09:12:09.665447
2014-07-05T18:39:24
2014-07-05T18:39:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
from __future__ import absolute_import, division, print_function, unicode_literals import atexit QUITTING = False HANDLERS = set() PRINT_EXCEPTIONS = not False _REGISTERED = False def register_atexit(handler): HANDLERS.add(handler) if not _REGISTERED: _register_quit() def unregister_atexit(handler): try: ...
[ "tom@swirly.com" ]
tom@swirly.com
f186bad3e46a2bb84657547fa0215f79598e566a
ecad7a72a981f2c1f4a0819cc4770a9b6be0e1d4
/generate_letter.py
7075d8ceddff8373d1448de790f5c8e02b65488c
[ "MIT" ]
permissive
drewlinsley/cabc
ecc06ba6f94727485e92327a8e395f529b948d23
74726509e542d5f0f04bf297c211cca9f6e87b56
refs/heads/master
2022-04-17T23:40:21.331822
2020-04-18T19:11:34
2020-04-18T19:11:34
256,832,692
3
0
null
null
null
null
UTF-8
Python
false
false
2,373
py
import PIL from PIL import ImageFont from PIL import Image from PIL import ImageDraw import numpy as np import matplotlib.pyplot as plt import os from skimage.filters import threshold_otsu import scipy from scipy import ndimage from scipy.interpolate import griddata import cv2 import preprocess if __name__ == "__ma...
[ "drewlinsley@gmail.com" ]
drewlinsley@gmail.com
17dcde27a40003f391afec81b727a34d7431e102
bcc199a7e71b97af6fbfd916d5a0e537369c04d9
/leetcode/solved/1386_Shift_2D_Grid/solution.py
1c0ab2bfa3017fd43451588edc1f42f31d0e64dc
[]
no_license
sungminoh/algorithms
9c647e82472905a2c4e505c810b622b734d9d20d
1389a009a02e90e8700a7a00e0b7f797c129cdf4
refs/heads/master
2023-05-01T23:12:53.372060
2023-04-24T06:34:12
2023-04-24T06:34:12
87,406,513
0
0
null
null
null
null
UTF-8
Python
false
false
2,482
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2020 sungminoh <smoh2044@gmail.com> # # Distributed under terms of the MIT license. """ Given a 2D grid of size m x n and an integer k. You need to shift the grid k times. In one shift operation: Element at grid[i][j] moves to grid[i][j...
[ "smoh2044@gmail.com" ]
smoh2044@gmail.com
836ee8709c8b048ff79134e0e08213d8f01fd856
635c9f0501039f5a099849a3108e19de76092aea
/ssafy_project/project_190322/project_8/movies/urls.py
1136c2901dad4d2cbab7e8155d3ad5706fba69fe
[]
no_license
Hansung-Lee/SSAFY
87ebea0808bb40381678d678e1035dc5fa2c2eb0
cdb7ae1bba0e98e733eed703da2c62217c319462
refs/heads/master
2020-04-14T20:03:05.975040
2019-05-16T08:57:21
2019-05-16T08:57:21
164,080,393
1
0
null
null
null
null
UTF-8
Python
false
false
533
py
from django.urls import path from . import views app_name = 'movies' urlpatterns = [ path('', views.index, name="index"), path('<int:movie_id>/', views.detail, name="detail"), path('<int:movie_id>/delete/', views.delete, name="delete"), path('<int:movie_id>/scores/new/', views.create_score, name="crea...
[ "ajtwlsgkst@naver.com" ]
ajtwlsgkst@naver.com
896945d867a0323b7a1fb35358ffa30a466dee9a
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_229/ch74_2020_04_13_02_53_22_051219.py
5eaf44ad0d6ec022abd09d63fa6ae9c97885c49d
[]
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
331
py
def conta_bigramas(string): dic = dict() i = 0 while i <= len(string): if '{0}{1}'.format(string[i], string[i+1]) in dic: dic['{0}{1}'.format(string[i], string[i+1])] += 1 i += 1 else: dic['{0}{1}'.format(string[i], string[i+1])] = 1 i += 1 ...
[ "you@example.com" ]
you@example.com
ed8923af89964cb325794d4ffef156318ce5703a
c36d9d70cbb257b2ce9a214bcf38f8091e8fe9b7
/623_add_one_row_to_tree.py
770582da734c9a59f464bf65486460b2ac4d96b9
[]
no_license
zdadadaz/coding_practice
3452e4fc8f4a79cb98d0d4ea06ce0bcae85f96a0
5ed070f22f4bc29777ee5cbb01bb9583726d8799
refs/heads/master
2021-06-23T17:52:40.149982
2021-05-03T22:31:23
2021-05-03T22:31:23
226,006,763
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def addOneRow(self, root: TreeNode, v: int, d: int) -> TreeNode: def dfs(root, depth, prv_left): ...
[ "zdadadaz5566@gmail.com" ]
zdadadaz5566@gmail.com
1e8215053bd8f5b9014a0cb27339c62856eb3a95
5141a0ec55675aebf6b2a3f2454022e3fd8ad639
/tractseg/experiments/pretrained_models/TractSeg_HR_3D_DAug.py
24f5daef597317290e5b07a3d0f6571cd0134d58
[ "Apache-2.0" ]
permissive
bbastardes/TractSeg
303871586c682983b451885e069a75822a6c09db
70714fca0e0dc241946ffc704f05b65095c7effb
refs/heads/master
2020-05-27T03:02:27.806224
2019-05-16T14:50:12
2019-05-16T14:50:12
188,459,492
0
0
null
2019-05-24T17:04:07
2019-05-24T17:04:06
null
UTF-8
Python
false
false
432
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from tractseg.experiments.tract_seg import Config as TractSegConfig class Config(TractSegConfig): EXP_NAME = os.path.basename(__file__).split(".")[0] MODEL = "UNet3D_Pytorch_DeepSup_sm" DIM = "3D" UPSAMPLE_TYPE = "trilinear" BATCH_SIZE = 1...
[ "j.wasserthal@dkfz.de" ]
j.wasserthal@dkfz.de
e74c020259508ffc4c35a385a5eec856ccdec726
a04eff13392361cf6effa7b321ff6c931705534c
/python/ccxt/btcmarkets.py
f53fffca535744f3a3062ac5cc87b13aa7ec0650
[ "MIT" ]
permissive
Homiex/homiex-ccxt
89594883f06f72e8eaf3222d43a66370a030dbd2
f669d7cb2a9276ba07c7782c5ec1a488f13d930d
refs/heads/master
2022-07-06T19:47:38.759274
2020-03-16T09:27:07
2020-03-16T09:27:07
246,796,828
3
4
MIT
2022-06-23T01:48:09
2020-03-12T09:41:33
JavaScript
UTF-8
Python
false
false
26,791
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange import base64 import hashlib import math from ccxt.base.errors import ExchangeError from ccxt.base....
[ "ruiliang.guo@homiex.com" ]
ruiliang.guo@homiex.com
2a1753961f822c219ce11fa0cb7119790bcce617
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/Nortel-Magellan-Passport-ServerAccessRsaMIB.py
6edf88406f4f8b8004ed3dbab32eaf9d06ad2170
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
54,228
py
# # PySNMP MIB module Nortel-Magellan-Passport-ServerAccessRsaMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-ServerAccessRsaMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:18:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by use...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
f75fc4dbabe8144a65242333ea6b50c9c71cc1ee
5e9fe8ea97cb75326566b6469b7c4903aff680dc
/models/academic/test.py
6b6a3ab1cdbeb5239df483a71c28ef113bcd2cc6
[]
no_license
Trilokan/vetrivel
a2f5444cff88319c4bde2016694ee084df5912fc
e6d4f1cae23f70a3b82da2e5971706d4b417f056
refs/heads/master
2020-04-22T13:16:32.663207
2019-05-01T11:04:22
2019-05-01T11:04:22
170,403,357
0
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
# -*- coding: utf-8 -*- from odoo import models, fields, api PROGRESS_INFO = [("draft", "Draft"), ("confirmed", "Confirmed"), ("done", "Done"), ("cancel", "Cancel")] class ArcTest(models.Model): _name = "arc.test" date = fields.Date(string="Date", default=...
[ "ram@hk.com" ]
ram@hk.com
d17005dff1ae118402fafd7e028e8a38dd73de61
78c4b89e8b4d6ca2eeb1ad8979bfa19f8ce67c06
/Curso em Video/desafio066b.py
aee4bf97cc810bd2fad09b5677c464a5580044aa
[]
no_license
lucasoliveiraprofissional/Cursos-Python
75d42b60167cfdf4324e615f8e24868d324de350
3eb000949f159ff69b7b92dbb5ff37df1cd0e1de
refs/heads/main
2023-01-28T19:35:54.490747
2020-12-01T01:11:02
2020-12-01T01:11:02
315,455,606
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
'''Crie um programa que leia vários números inteiros pelo teclado. O programa só vai parar quando o usuário digitar o valor 999, que é a condição de parada. No final, mostre quantos números foram digitados e qual foi a soma entre eles (desconsiderando o flag)''' '''Copiei a versão dele já de cara pois fiquei mais de u...
[ "lucas.oliveira@quaestum.com.br" ]
lucas.oliveira@quaestum.com.br
3ed5f3604345089482ce1a65e6c380353de26a12
b212ec9d705fb77cac102dceb12eb668099fd1ae
/advanced/exams/retake_april_2020/find_the_eggs.py
3387b0e159d1bb4a370dc576f7ad2e8ee941d536
[]
no_license
xpucko/Software-University-SoftUni
20ef91a0be91a8a09a56d9fdc15888f91409de2f
a1fc1781424f025954948299be7f75d317e32dc1
refs/heads/master
2023-02-04T11:58:33.068431
2020-12-24T00:39:11
2020-12-24T00:39:11
280,227,310
2
2
null
null
null
null
UTF-8
Python
false
false
590
py
def find_strongest_eggs(*args): nums, sublist_count = args matrix = [[] for _ in range(sublist_count)] while nums: for i in range(len(matrix)): matrix[i].append(nums[0]) nums.pop(0) result = [] for sublist in matrix: left_num = sublist[(len(sublist) // 2) - 1...
[ "hristiyan.plamenov.valchev@gmail.com" ]
hristiyan.plamenov.valchev@gmail.com
5b0105d2c2eee49411aac32a2215f322fa9297fe
a60e81b51935fb53c0900fecdadba55d86110afe
/python/note/上下文管理器/context_manager.py
cb902170d1e29a50a78f3b9cbdc96dc0205641cc
[]
no_license
FrankieZhen/Lookoop
fab6855f5660467f70dc5024d9aa38213ecf48a7
212f8b83d6ac22db1a777f980075d9e12ce521d2
refs/heads/master
2020-07-27T08:12:45.887814
2019-09-16T11:48:20
2019-09-16T11:48:20
209,021,915
1
0
null
2019-09-17T10:10:46
2019-09-17T10:10:46
null
UTF-8
Python
false
false
699
py
# coding=utf-8 # 2019-1-28 # 上下文管理器 # __enter__ 与 __exit__ 用于资源分配以及释放相关工作, 如打开关闭文件, 异常处理, 断开流的链接以及锁分配 class MyContextManager(object): def __enter__(self): print("extering...") def __exit__(self, exception_type, exception_value, traceback): print("leaving...") if exception_type is None: print("No Exception....
[ "33798487+YangXiaoo@users.noreply.github.com" ]
33798487+YangXiaoo@users.noreply.github.com
ed0b68197695bd7616d45d70acdfda006ea8500d
28cab1ef484a5796fc9b0897043e918f9a28e650
/dalangshen/urls.py
6fddb5ed1f496258092b663337e2019cbb419cce
[]
no_license
bxxfighting/dalangshen
12cb58d2078804327dbf7a01be0fc2a0d27f4495
e174147b8778c188941d5fd0f5e33de65afc8b00
refs/heads/main
2023-01-15T08:07:57.429342
2020-11-16T03:49:34
2020-11-16T03:49:34
313,184,879
1
0
null
null
null
null
UTF-8
Python
false
false
170
py
from django.urls import path from django.urls import include urlpatterns = [ path('api/v1/', include({ path('account/', include('account.urls')), })) ]
[ "boxingxing@limikeji.com" ]
boxingxing@limikeji.com
3bad10e51318c95648d6dfaaa3001e5eea3ee6f1
19d47d47c9614dddcf2f8d744d883a90ade0ce82
/pynsxt/swagger_client/models/lb_service_status.py
967dd44ad83b922fe935de26aee7127d94b9d8b4
[]
no_license
darshanhuang1/pynsxt-1
9ed7c0da9b3a64e837a26cbbd8b228e811cee823
fb1091dff1af7f8b8f01aec715682dea60765eb8
refs/heads/master
2020-05-25T14:51:09.932853
2018-05-16T12:43:48
2018-05-16T12:43:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,980
py
# coding: utf-8 """ NSX API VMware NSX REST API # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from swagger_client.models.lb_pool_status import LbPoolStatus # noqa: F401,E501 fro...
[ "tcraft@pivotal.io" ]
tcraft@pivotal.io
fd0d07b0637a2c64fcfc0b85df0f40ca42457059
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_15695.py
b7ea853e6f7881ca090ce7e50b8f64f6d852da95
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
# calculate 95 percentile of the list values in python import numpy as np for i in finalvalues.values(): print np.percentile(map(int,i),95)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
ca4b84868e25eb0cd3e66a89dca671d1d81c0945
36ab3aef58c145dfb68e027c0736bbe95b6bb2f3
/tda_mvc/view/main.py
62a022b8860f77d02c9e3383e9ee4505606a5311
[ "MIT" ]
permissive
jjjkkkjjj/cldvis-txtmodifier
658fb468610c33b9ccb370dd4b532fbd686aa56b
647c57cdba325d54229b3300f7d0b18baa7b0b74
refs/heads/master
2023-04-18T21:59:18.598593
2021-05-02T07:41:06
2021-05-02T07:41:06
295,118,055
5
0
null
null
null
null
UTF-8
Python
false
false
13,672
py
from PySide2.QtWidgets import * from PySide2.QtGui import * from PySide2.QtCore import * from ..utils.funcs import check_instance, create_action, add_actions from ..utils.modes import ShowingMode from ..model import Model from .leftdock import LeftDockView from .central import CentralView from .rightdock import RightD...
[ "kado_89_ssp_jun@yahoo.co.jp" ]
kado_89_ssp_jun@yahoo.co.jp
757105536cd00672a2b78440891188cce80724ea
77e27a3793d66ae18c3933f1bb1f2e091dfd2890
/session0/answers.py
709ffd7e2cbd2023e8ea7a0284d4f3899cf989eb
[ "BSD-2-Clause" ]
permissive
jimmysong/pb-exercises
44504b2727fdaecedf2102197962239dc695b7ea
95e8046c930fc044c612484b58e0dca5136660ba
refs/heads/master
2023-07-19T21:28:19.409469
2023-07-17T00:59:45
2023-07-17T00:59:45
102,324,750
166
91
BSD-2-Clause
2022-02-21T23:31:13
2017-09-04T06:08:41
Python
UTF-8
Python
false
false
8,706
py
""" #code >>> import helper #endcode #markdown ### This is a Jupyter Notebook You can write Python code and it will execute. You can write the typical 'hello world' program like this: ```python print('hello world') ``` You can execute by pressing shift-enter. Try it! You can also click the Run button in the toolbar....
[ "jaejoon@gmail.com" ]
jaejoon@gmail.com
f5c59364b1ad428e4c9a85d5771d8f42799e1390
e562f7e0a51273475e50a7e61d1d377f88775622
/WebMirror/SpecialCase.py
5cc8b15a5803bf4e34658c351f8014916ff5a21f
[]
no_license
bloodcurdle/ReadableWebProxy
d1c6ae0220fdb04ea7ab82963c86e776a0dbbfd9
10f68f913a78f8b0e47582996d9860a61da55dd6
refs/heads/master
2021-05-29T19:58:32.965610
2015-11-09T18:25:00
2015-11-09T18:25:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,427
py
import logging import datetime import random import WebMirror.database as db import multiprocessing import time random.seed() # import WebMirror.rules # import WebMirror.LogBase as LogBase # import runStatus # import time # import os.path # import os # import sys # import sqlalchemy.exc # from sqlalchemy import desc ...
[ "something@fake-url.com" ]
something@fake-url.com
75442cee4229c57d333ef72e9ab9a0ece37171d7
bffcbc372a73aa386d20e50cf85f6943bdb640fe
/image_processing_lab2/read_grey_image_general_kernel_v2.py
1b060512bb69294623a1789bd823b90e80d3e49d
[]
no_license
liketheflower/img_processing_csc475
5852cefe411c3b0b55b7383c697727e450930594
d50b1b65e5bdd509065d6eb7bbda3db23b9a9005
refs/heads/master
2021-05-04T13:43:02.928721
2018-05-07T15:27:41
2018-05-07T15:27:41
120,321,405
0
0
null
null
null
null
UTF-8
Python
false
false
2,510
py
import numpy as np import matplotlib.pyplot as plt import matplotlib.image as mpimg def crop(start, end, origin_image): return origin_image[start[0]:end[0]+1,start[1]:end[1]+1] def show_img(img): plt.figure() plt.imshow(img, cmap='gray', aspect='auto') plt.show() def mean_filter_new(img): # mean f...
[ "jim.morris.shen@gmail.com" ]
jim.morris.shen@gmail.com
45e24bd2f0b4c25cfc4070133cbbbf1078100f86
a5a682cfcb90660b35806b895b7c6e8dfa9914c2
/h/streamer/test/streamer_test.py
790f76a40822f2510c40638715ceee05cbf1973d
[ "MIT", "BSD-2-Clause", "BSD-3-Clause", "BSD-2-Clause-Views" ]
permissive
jazahn/h
507ead458bb16134b79c270110ff72b7a8bfd600
8cfd1012d4ee41a21d1ad81427961ac2ac59464f
refs/heads/master
2021-01-15T14:49:51.006483
2016-04-15T18:14:53
2016-04-15T18:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,534
py
# -*- coding: utf-8 -*- import mock from mock import call import pytest from h.streamer import nsq from h.streamer import streamer from h.streamer import websocket def test_process_work_queue_sends_nsq_messages_to_nsq_handle_message(session): message = nsq.Message(topic='foo', payload='bar') queue = [messag...
[ "nick@whiteink.com" ]
nick@whiteink.com
79846055cce04d4328cacdf55f4e288981d93e9d
c9fe05f893deff75232aabca4e877c144972249a
/arcpyenv/arcgispro-py3-clone/Lib/site-packages/arcgis/gis/admin/_system.py
a47fe478733b0dfc6c309d2871724b37aac8794d
[ "Python-2.0" ]
permissive
SherbazHashmi/HackathonServer
4d1dc7f0122a701a0f3a17787d32efe83bc67601
a874fe7e5c95196e4de68db2da0e2a05eb70e5d8
refs/heads/master
2022-12-26T06:46:33.893749
2019-11-03T10:49:47
2019-11-03T10:49:47
218,912,149
3
3
null
2022-12-11T11:52:37
2019-11-01T04:16:38
Python
UTF-8
Python
false
false
51,113
py
""" Modifies a local portal's system settings. """ from ..._impl.connection import _ArcGISConnection from .. import GIS from ._base import BasePortalAdmin from ..._impl.common._mixins import PropertyMap ######################################################################## class System(BasePortalAdmin): ...
[ "sherbaz.hashmi@gmail.com" ]
sherbaz.hashmi@gmail.com
38b9929591eb96f24bcdef78f5439e7dda136927
0baeeda7b48da3a199cf471e731b9679c95cebcc
/sc/templer/core/generic_setup.py
227cb6cfbd2f890b0d44703164d3f4f413988ef0
[]
no_license
simplesconsultoria/sc.templer.core
15ee9340fbaa4615ac405d8cec2ce6985fa91113
8f1e8a7cf5b1bcd77bf963cd406b5ac152c7cfa4
refs/heads/master
2021-01-20T10:41:40.380015
2012-04-24T23:50:49
2012-04-24T23:50:49
2,964,807
2
0
null
null
null
null
UTF-8
Python
false
false
750
py
# -*- coding:utf-8 -*- from templer.core.vars import EXPERT from templer.core.vars import BooleanVar gs_vars = [ BooleanVar( 'add_profile', title='Register a Default Profile', description='Should this package register a Default GS Profile', modes=(EXPERT, ), ...
[ "erico@simplesconsultoria.com.br" ]
erico@simplesconsultoria.com.br
634fd510f27f199252bf1c265194f3f4af44359e
5a0dfe1326bb166d6dfaf72ce0f89ab06e963e2c
/leetcode/lc361.py
d32d70cb24c130e5f8349d2bcb7669a777c4c691
[]
no_license
JasonXJ/algorithms
7bf6a03c3e26f917a9f91c53fc7b2c65669f7692
488d93280d45ea686d30b0928e96aa5ed5498e6b
refs/heads/master
2020-12-25T15:17:44.345596
2018-08-18T07:20:27
2018-08-18T07:20:27
67,798,458
1
0
null
null
null
null
UTF-8
Python
false
false
2,007
py
class Solution(object): def maxKilledEnemies(self, grid): """ :type grid: List[List[str]] :rtype: int """ if len(grid) == 0 or len(grid[0]) == 0: return 0 nrows = len(grid) ncols = len(grid[0]) can_kill = [ [ [0] * 4 for _ in range(ncols) ...
[ "lxj2048@gmail.com" ]
lxj2048@gmail.com
0d93a4c9daefd91f328a835a36e56e41ff4c3d2c
4252102a1946b2ba06d3fa914891ec7f73570287
/pylearn2/sandbox/cuda_convnet/tests/test_weight_acts.py
8158dd02343ec2f4e08001c2116ffb5405fd8327
[]
no_license
lpigou/chalearn2014
21d487f314c4836dd1631943e20f7ab908226771
73b99cdbdb609fecff3cf85e500c1f1bfd589930
refs/heads/master
2020-05-17T00:08:11.764642
2014-09-24T14:42:00
2014-09-24T14:42:00
24,418,815
2
3
null
null
null
null
UTF-8
Python
false
false
4,673
py
__authors__ = "Ian Goodfellow" __copyright__ = "Copyright 2010-2012, Universite de Montreal" __credits__ = ["Ian Goodfellow"] __license__ = "3-clause BSD" __maintainer__ = "Ian Goodfellow" __email__ = "goodfeli@iro" from pylearn2.testing.skip import skip_if_no_gpu skip_if_no_gpu() import numpy as np from theano impor...
[ "lionelpigou@gmail.com" ]
lionelpigou@gmail.com
1aaebbd2b104512b2853e34339d5975a5909a7e2
2455f25b08b2d2bcdccd666a29975b032e74cea8
/oauth_login/login/__init__.py
1c313ecf741a8525f0d69119189313d14407c4bb
[ "Apache-2.0" ]
permissive
vinoth3v/In_addon_oauth_login
8b3537b00398cf7b8cfe98b649187293ba5c6fd1
b7ebfaa8d3a3c455d58300ac7c23da761273aadf
refs/heads/master
2021-01-10T02:22:40.074592
2015-12-16T03:15:04
2015-12-16T03:15:04
48,084,350
1
1
null
null
null
null
UTF-8
Python
false
false
72
py
from .oauth_login import * from .google import * from .facebook import *
[ "vinoth.3v@gmail.com" ]
vinoth.3v@gmail.com
8e63a7fcf360bfed8263a4df56a298eee731d690
33c4bc9ca463ce0ec61945fca5841c9d8a18ab8e
/thrift/lib/py3/test/exceptions.py
43419dbc5e515f17dcb9c999576bb9179c86b613
[ "Apache-2.0" ]
permissive
gaurav1086/fbthrift
d54bb343bf1a8503dd329fbfcd0b46fe9f70754c
68d1a8790bfd5b3974e1b966c8071f9c456b6c6a
refs/heads/master
2020-12-27T22:41:09.452839
2020-02-03T23:56:20
2020-02-03T23:58:33
238,088,855
0
0
Apache-2.0
2020-02-04T00:13:04
2020-02-04T00:13:03
null
UTF-8
Python
false
false
3,529
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # 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 require...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
4d5fa5eafc532235892784af3064d77145c79f15
85b402cd9e762b2749c978105ea362b10d335e5c
/114_auto_image_quality_assessment_BRISQUE.py
8f4ffa79a306138610b23420218c52a56ad6434d
[]
no_license
bnsreenu/python_for_microscopists
29c08f17461baca95b5161fd4cd905be515605c4
4b8c0bd4274bc4d5e906a4952988c7f3e8db74c5
refs/heads/master
2023-09-04T21:11:25.524753
2023-08-24T18:40:53
2023-08-24T18:40:53
191,218,511
3,010
2,206
null
2023-07-25T07:15:22
2019-06-10T17:53:14
Jupyter Notebook
UTF-8
Python
false
false
3,095
py
#!/usr/bin/env python __author__ = "Sreenivas Bhattiprolu" __license__ = "Feel free to copy, I appreciate if you acknowledge Python for Microscopists" # https://youtu.be/Vj-YcXswTek """ BRISQUE calculates the no-reference image quality score for an image using the Blind/Referenceless Image Spatial Quality Ev...
[ "noreply@github.com" ]
bnsreenu.noreply@github.com
5e9c0b270abbdb2d315cecc707efc0b71198eb0d
e457376950380dd6e09e58fa7bee3d09e2a0f333
/plugin/src/test/resources/refactoring/move/importSlash/after/src/file1.py
c069260ef5aade13f421dd49bfe732ac66fbd2af
[ "Apache-2.0" ]
permissive
consulo/consulo-python
b816b7b9a4b346bee5d431ef6c39fdffe40adf40
e191cd28f043c1211eb98af42d3c0a40454b2d98
refs/heads/master
2023-08-09T02:27:03.585942
2023-07-09T08:33:47
2023-07-09T08:33:47
12,317,018
0
0
Apache-2.0
2020-06-05T17:16:50
2013-08-23T07:16:43
Java
UTF-8
Python
false
false
55
py
__author__ = 'catherine' def function_1(): pass
[ "vistall.valeriy@gmail.com" ]
vistall.valeriy@gmail.com
57325adb88ec75ed2ebb7aad5993a18a0458adc8
08191bb5dd52ab63aa0210d81c4d7dfd856365f7
/osa05-18_vanhin_henkiloista/src/vanhin_henkiloista.py
5926727dbbae0d2b290b29ec83fc82466c28a81a
[]
no_license
JoukoRintamaki/mooc-ohjelmointi-21
446d77477a8752182cb4568cce184795371cd506
ebc80495e4c6654d6beab47593d2c1b06bf12d08
refs/heads/main
2023-03-11T14:53:33.949801
2021-02-28T14:57:24
2021-02-28T14:57:24
336,796,705
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
def vanhin(henkilot: list): vanhin="" vanhinIka=2999 for henkilo in henkilot: if henkilo[1] < vanhinIka: vanhin=henkilo[0] vanhinIka=henkilo[1] return vanhin if __name__ == "__main__": h1 = ("Arto", 1977) h2 = ("Einari", 1985) h3 = ("Maija", 1953) h4 = (...
[ "jouko.rintamaki@live.fi" ]
jouko.rintamaki@live.fi
fa73c07e3907644afa9f63ac97e01e28926855d5
bfb113c3076f5b0570953583e7a2321c774d73ea
/request_modules/request_module_example5.py
106dde71122751e8cc4a2c53f2b4162e6af91ce3
[]
no_license
gsudarshan1990/Training_Projects
82c48d5492cb4be94db09ee5c66142c370794e1c
2b7edfafc4e448bd558c034044570496ca68bf2d
refs/heads/master
2022-12-10T15:56:17.535096
2020-09-04T06:02:31
2020-09-04T06:02:31
279,103,151
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
""" This is the example of the request module which provides the data in the json format """ import requests response_object = requests.get("https://api.datamuse.com/words?rel_rhy=funny")#This is the query parameter dict_object = response_object.json()#This obtaining the dictionary print(dict_object)
[ "sudarshan2009@live.in" ]
sudarshan2009@live.in
d1ea690ce6fc3362e7be323e77a96e59945debfb
a77a11cccf133168f9cf2178f4a3b572f0ff7338
/test_data/test_data.py
6fe0ccd83c3310d52308d4e09e773dcff6027ab2
[]
no_license
redsnowc/jobplus11-2
f21ab84c3f7bc2576ef275099355ab88cf763bea
33fa0e6d0cbd9987de29c0027b676f4ba847115d
refs/heads/master
2020-05-17T00:11:56.445400
2019-05-13T08:45:41
2019-05-13T08:45:41
183,390,450
0
0
null
2019-04-25T08:27:31
2019-04-25T08:27:31
null
UTF-8
Python
false
false
2,371
py
# -*- coding: UTF-8 -*- from jobplus.models import db, User, CompanyInfo, UserInfo, Job from random import randint, choice from faker import Faker fe = Faker() fc = Faker('zh-cn') def create_user(): for i in range(4): user = User() user_info = UserInfo() user.username = fe.name() ...
[ "nuanyang.44@gmail.com" ]
nuanyang.44@gmail.com
e6dd618a067b490a15f501db49b3726a1a3a06ca
e08e192020fa951b57f16aea0ee1376a74115c53
/irim/external/invertible_rim/examples/irim_denoising.py
255071fb600c30d84e20b56bf6091e6c853a4764
[ "MIT" ]
permissive
fcaliva/FNAF-fastMRI
3d5912a20e6eef063ae534139257ba7dc08c0ed6
9e2aea9f8b0d794c617ca822980c6d85ab6557fc
refs/heads/main
2023-03-21T00:20:42.142264
2021-03-03T23:32:25
2021-03-03T23:32:25
354,087,548
1
0
MIT
2021-04-02T17:27:20
2021-04-02T17:27:20
null
UTF-8
Python
false
false
4,571
py
""" A simple demonstration for training an IRIM as an image denoiser. This script will lead through the process of defining a gradient function for the IRIM, then building the RIM model, and how to train the model using invert to learn. This script will utilize CUDA devices if available. """ import torch from irim im...
[ "francesco.caliva@ucsf.edu" ]
francesco.caliva@ucsf.edu
2acd41e081d0d6ae8fca6257a31843d2bf777385
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_squires.py
6fb9d7cec5aa9aa6373a452e937b439e2c13cec3
[ "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.verbs._squire import _SQUIRE #calss header class _SQUIRES(_SQUIRE, ): def __init__(self,): _SQUIRE.__init__(self) self.name = "SQUIRES" self.specie = 'verbs' self.basic = "squire" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4b8ae280cf7bb7071353068bd315c4f5f8c0896d
c99479824a703df2e22364162533661c7f39df04
/utils/bp/default/default_interface_chrono_local_date_time.py
71b323a63ab9b6a1644d627b7ee4b851106c40e1
[]
no_license
tylerrbowen/sample
d1ccefd7ed823c758d3bc43729d76fd72e0042ff
0fcfecd532a9679bf3f927d5fcb03edb005c5dc4
refs/heads/master
2021-01-01T06:34:05.647543
2013-12-07T00:13:02
2013-12-07T00:13:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,211
py
from default_interface_temporal import DefaultInterfaceTemporal from abc import ABCMeta from utils.bp.duration import ChronoUnit, ChronoUnitItem from utils.bp.temporal.chrono_field import ChronoFieldItem, ChronoField from utils.bp.chrono.chrono_local_date_time import ChronoLocalDateTime from utils.bp.chrono.chronology...
[ "tyler.r.bowen@gmail.com" ]
tyler.r.bowen@gmail.com
3efaeb9b2ba2bb7ab55362bd8a91152e1af3525a
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/Products.PortalTransforms-2.1.12-py2.7.egg/Products/PortalTransforms/transforms/word_to_html.py
624225f53b94fa9955067ec501f72cb4da975df2
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
1,519
py
# -*- coding: utf-8 -*- from Products.PortalTransforms.interfaces import ITransform from zope.interface import implementer import os EXTRACT_BODY = 1 EXTRACT_STYLE = 0 FIX_IMAGES = 1 IMAGE_PREFIX = "img_" # disable office_uno because it doesn't support multithread yet ENABLE_UNO = False if os.name == 'posix': ...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
b7c0556a288c8c26517fd225c1425ce43b08ea25
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/fbs_0212+349/sdB_FBS_0212+349_coadd.py
85c8c3b353e426ba0c09356dcd02332631d61bb9
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[33.889042,35.189722], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_FBS_0212+349/sdB_FBS_0212+349_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdB/sd...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
dd4973b847efb1f0b4a23a8275038669c6b2eba1
5686100c4ed0436347107f4e9faae30fca609c09
/leetcode/1287. Element Appearing More Than 25% In Sorted Array/Solution.py
52841b8dd96cec695b503398fb1062cf2a443dd5
[]
no_license
adamqddnh/algorithm-questions
7d4f56b7e5ac2ff9460774d43ecf8cba2cd7b0cb
93a1b082e10ade0dd464deb80b5df6c81552f534
refs/heads/master
2023-06-29T04:51:26.635740
2021-07-23T09:11:45
2021-07-23T09:11:45
252,675,682
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
class Solution(object): def findSpecialInteger(self, arr): """ :type arr: List[int] :rtype: int """ last = 0 result = 1 length = len(arr) for i in range(1, length): if arr[i] == arr[last]: result = max(result, i - last + 1) ...
[ "noreply@github.com" ]
adamqddnh.noreply@github.com
1c1affc9dd98fd25a3edc099d6fa7cd07ff3fc6d
d8e8e528b1942b3528c88b12729f0cbc7b7d606f
/pipenv/vendor/dotenv/environ.py
ad3571656fba9a41d98bb9ce8d9e41dbd669291e
[ "MIT", "BSD-3-Clause" ]
permissive
frostming/pipenv
997e5f71ac5a4bbac3aacd1fa000da6e0c8161eb
661184e5ccf9bec3e3b4b03af778e54fe2fbc1a2
refs/heads/master
2021-04-15T03:33:03.817473
2019-03-18T03:14:33
2019-03-18T03:14:33
126,263,945
1
1
MIT
2019-03-19T09:44:03
2018-03-22T01:48:41
Python
UTF-8
Python
false
false
1,330
py
import os class UndefinedValueError(Exception): pass class Undefined(object): """Class to represent undefined type. """ pass # Reference instance to represent undefined values undefined = Undefined() def _cast_boolean(value): """ Helper to convert config values to boolean as ConfigParser do....
[ "dan@danryan.co" ]
dan@danryan.co
4810fd2a4938fc0e455b6386bfde2aea67b9b938
e573b586a921084f29a36f8e2de5afcae2c65ff8
/tasks/part_3/mod_checker.py
e2b4f8d96c27b81ca4cbe1eb745fc2bc267870ef
[]
no_license
HannaKulba/AdaptiveTraining_English
e69c8a0c444c1fa72b4783ba837cb3d9dc055d91
46497dc6827df37f4ebb69671912ef5b934ab6f0
refs/heads/master
2020-12-28T15:05:25.762072
2020-02-19T14:39:22
2020-02-19T14:39:22
238,381,636
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
def mod_checker(x, mod=0): return lambda y: y % x == mod if True else False if __name__ == '__main__': mod_3 = mod_checker(3) print(mod_3(3)) # True print(mod_3(4)) # False mod_3_1 = mod_checker(3, 1) print(mod_3_1(4)) # True
[ "anna.mirraza@gmail.com" ]
anna.mirraza@gmail.com
e7b20be2f99f8e0b7bbe52395f49c97165efe8e8
f6c7dfc1c77c1e6b2460982925d76ee10f9eaa52
/media.py
febe922488f1f760cf32c511af681171b211bae3
[]
no_license
kevinzhuang10/Movie_Trailer_Website
f8bd104688f14c37a72b238b4497acbafde3c166
e4e61efb27f43faf0cc2acab6ea8e95037333486
refs/heads/master
2021-01-22T04:18:14.908976
2017-02-13T05:07:28
2017-02-13T05:07:28
81,530,060
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
# Lesson 3.4: Make Classes # Mini-Project: Movies Website # In this file, you will define the class Movie. You could do this # directly in entertainment_center.py but many developers keep their # class definitions separate from the rest of their code. This also # gives you practice importing Python files. import webb...
[ "you@example.com" ]
you@example.com
b966eccf30fa3b858d44755b73fe4bc3cff62c15
9a2726744fb12ebcbfd636a05fbd4cd36abfba7a
/config/settings/partials/INSTALLED_APPS.py
32954a83dd7b1af16b8d0ece97f3628b518b2dc8
[]
no_license
bartkim0426/drf_project_base
7d34749269954022a11dfcfba99bc38e48a31ede
7342c49fbf6da7a0fd5d22a6bfb172d2212d4b91
refs/heads/master
2021-08-22T19:32:30.522254
2017-12-01T03:00:11
2017-12-01T03:00:11
112,159,478
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
ADMIN_APPS = [ # for admin 'filer', 'suit', 'easy_thumbnails', ] DJANGO_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] THIRD_PARTY_APPS = [ 'rest_fra...
[ "bartkim0426@gmail.com" ]
bartkim0426@gmail.com
f17e721848f3121c7f9530cc5ef759327dfb25d7
6bb6c9f37e61325671a72e4c0b7bf1e6ec062aac
/testinfra/plugin.py
220ddd6dbf9614e2b6754d01260a738d0a7c8897
[ "Apache-2.0" ]
permissive
Unity-Technologies/testinfra
19ef3aadddef7322c66978b6b9576f992fd16a81
58fa564f0a3178e9df26b26e2f7cb54aad433d3f
refs/heads/master
2021-01-19T21:58:21.534575
2017-04-27T08:16:54
2017-04-27T08:16:54
88,728,308
1
3
null
2017-04-19T09:45:41
2017-04-19T09:45:41
null
UTF-8
Python
false
false
3,825
py
# coding: utf-8 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # dist...
[ "phil@philpep.org" ]
phil@philpep.org
e2612c209edccfef435399a9d964423c08face7f
98bf8263027c3cc6673cc4bd6189860092848bcd
/Livid_DS1_v2_x3/__init__.py
9eb792ede46228249093840ab9c5064342e48242
[]
no_license
aumhaa/aumhaa_commission
09ae898ee5907721236ed2f97f76383ee8e25ae3
07ca157ae04e082059c583e4a8030cb73974e9e6
refs/heads/master
2022-10-09T11:40:31.332879
2022-09-11T03:32:43
2022-09-11T03:32:43
146,852,967
3
1
null
null
null
null
UTF-8
Python
false
false
697
py
# by amounra 0413 : http://www.aumhaa.com from .DS1 import DS1 from _Framework.Capabilities import controller_id, inport, outport, CONTROLLER_ID_KEY, PORTS_KEY, HIDDEN, NOTES_CC, SCRIPT, REMOTE, SYNC, TYPE_KEY, FIRMWARE_KEY, AUTO_LOAD_KEY def get_capabilities(): return {CONTROLLER_ID_KEY: controller_id(vendor_id=25...
[ "aumhaa@gmail.com" ]
aumhaa@gmail.com
5b1582e6cbdeeb188eb19d5c2349313222a6ba83
da9b9f75a693d17102be45b88efc212ca6da4085
/sdk/cosmos/azure-cosmos/azure/cosmos/diagnostics.py
352a5a2f6b01787897e53ff55b1297a1adc2a5ce
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
elraikhm/azure-sdk-for-python
e1f57b2b4d8cc196fb04eb83d81022f50ff63db7
dcb6fdd18b0d8e0f1d7b34fdf82b27a90ee8eafc
refs/heads/master
2021-06-21T22:01:37.063647
2021-05-21T23:43:56
2021-05-21T23:43:56
216,855,069
0
0
MIT
2019-10-22T16:05:03
2019-10-22T16:05:02
null
UTF-8
Python
false
false
2,688
py
# The MIT License (MIT) # Copyright (c) 2014 Microsoft Corporation # 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...
[ "noreply@github.com" ]
elraikhm.noreply@github.com
56aab3e9af3521f8ce8e38b522dbe37ecc3f5983
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-mpc/huaweicloudsdkmpc/v1/model/delete_animated_graphics_task_response.py
66b1a3a8204409391bfea46679c083d766c979f4
[ "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
2,487
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class DeleteAnimatedGraphicsTaskResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
fc7c905d94a3f8b1e6d92e5841566ba7f9041943
228ba698591ce49a0f220bf5acfc4bad67003172
/weibo/pycharmspace/task/bonusRecognize/BonusRecognize.py
8cd2b4009f00c9723bb507127f4c937d3176c08c
[]
no_license
HaxByCzy/python
29e41ef95d713d26895c6f6611541c6487251756
3762fed0ea8a9ca63bfdfd70f8a2b62a15179ac0
refs/heads/master
2020-03-26T18:36:41.227656
2018-05-29T07:30:34
2018-05-29T07:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,943
py
#-*- coding:utf-8 _*- """ -------------------------------------------------------------------- @function: 红包微博识别 @time: 2017-07-13 author:baoquan3 @version: @modify: -------------------------------------------------------------------- """ import sys from WeiboParser import WeiboParser defaultencoding = 'utf-8' ...
[ "tszhbaoquan@163.com" ]
tszhbaoquan@163.com
c4150bd16ec216344b75814082beff1bc17cdcc2
d93159d0784fc489a5066d3ee592e6c9563b228b
/RecoLocalCalo/HcalRecProducers/python/HFUpgradeReconstructor_cfi.py
41371cc1ba7909ad4fc48d8759d1f0f795097d96
[]
permissive
simonecid/cmssw
86396e31d41a003a179690f8c322e82e250e33b2
2559fdc9545b2c7e337f5113b231025106dd22ab
refs/heads/CAallInOne_81X
2021-08-15T23:25:02.901905
2016-09-13T08:10:20
2016-09-13T08:53:42
176,462,898
0
1
Apache-2.0
2019-03-19T08:30:28
2019-03-19T08:30:24
null
UTF-8
Python
false
false
500
py
import FWCore.ParameterSet.Config as cms hfUpgradeReco = cms.EDProducer("HcalSimpleReconstructor", correctionPhaseNS = cms.double(0.0), digiLabel = cms.InputTag("simHcalUnsuppressedDigis","HFUpgradeDigiCollection"), Subdetector = cms.string('upgradeHF'), correctForPhaseContainment = cms.bool(False), ...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
87bc3f1a5823b448754c8dc4c28a12e411d905c5
3e7a8c5630de986a4d02011b1bd368c041f3f477
/作图/利用pyecharts制作柱状图.py
4748a756419e67069fd49d9794be5896276551f3
[]
no_license
gswyhq/hello-world
b9ef715f80d2b39c8efaa1aa2eb18a6257e26218
b1ab053a05e1f8c63b8b04d6904a3cdca450bd9f
refs/heads/master
2023-05-26T13:15:36.788620
2023-05-19T13:38:50
2023-05-19T13:38:50
158,821,148
16
6
null
2021-03-19T02:59:48
2018-11-23T11:04:43
Python
UTF-8
Python
false
false
2,317
py
#!/usr/bin/python3 # coding: utf-8 自从 v0.3.2 开始,为了缩减项目本身的体积以及维持 pyecharts 项目的轻量化运行,pyecharts 将不再自带地图 js 文件。如用户需要用到地图图表,可自行安装对应的地图文件包。下面介绍如何安装。 全球国家地图: echarts-countries-pypkg (1.9MB): 世界地图和 213 个国家,包括中国地图 中国省级地图: echarts-china-provinces-pypkg (730KB):23 个省,5 个自治区 中国市级地图: echarts-china-cities-pypkg (3.8MB):370 个中国城市 中...
[ "gswyhq@126.com" ]
gswyhq@126.com
aa30c3ca06c891c085bb4fa75f45ef0510c91188
0c787f10f5fc666e275e01954f430cb894f1fa65
/__init__.py
30e33671ae1fa68e0ba341441138f3fd7beb1a7b
[]
no_license
marcinowski/web-archive
db391c32c2cf05bbcee1abee2825b8bb1295f86f
ea590e6699d97c2554e15e2c7598fb8b30a3f292
refs/heads/master
2021-01-20T02:31:25.147941
2017-04-26T23:17:21
2017-04-26T23:17:21
89,422,764
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
""" :created on: 2017-04-24 :author: Marcin Muszynski :contact: marcinowski007@gmail.com UseCase: pass url and a path -> generate one compiled html with css classes """ import requests from lxml import etree from urllib.parse import urlparse class WebArchiveException(Exception): """""" class WebArchive(object...
[ "muszynskimarcin@wp.pl" ]
muszynskimarcin@wp.pl
67f38c3e694291ed8a8e71da84c20b48d5d4aa3a
6543b77d0f483be2eb57b4e5e94928c6bff8eed9
/venv/Scripts/pip3-script.py
bccaaa75db6144c30e115e29250c87f76933bbac
[]
no_license
aswini1414/sampleproject
0876daaea3195f0a2245a66a4f023927ffdbb433
5e225ac796bf5508d2c2c646ed94a764b021fce8
refs/heads/master
2020-06-18T14:50:19.580453
2019-07-08T04:13:48
2019-07-08T04:13:48
196,337,684
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
#!C:\Users\LOKESH\PycharmProjects\sampleproject\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys....
[ "lokesh.rapala" ]
lokesh.rapala
5b24b27095e2a964135f369dc7b99aa2c27fa227
cca3f6a0accb18760bb134558fea98bb87a74806
/abc150/C/main.py
d1f234e48a0bc6c9180201d774917dc7eedfb1d2
[]
no_license
Hashizu/atcoder_work
5ec48cc1147535f8b9d0f0455fd110536d9f27ea
cda1d9ac0fcd56697ee5db93d26602dd8ccee9df
refs/heads/master
2023-07-15T02:22:31.995451
2021-09-03T12:10:57
2021-09-03T12:10:57
382,987,918
0
0
null
null
null
null
UTF-8
Python
false
false
1,056
py
#!/usr/bin/env python3 import sys import math def solve(N: int, P: "List[int]", Q: "List[int]"): cnta = 0 cntb = 0 for i, x in enumerate(P): p_ = x-1 for y in range(i): if P[y] < x : p_-=1 cnta += p_ * math.factorial(N - 1 - i) for i, x in enumerate(Q): p_ =...
[ "athenenoctus@gmail.com" ]
athenenoctus@gmail.com
2b22230e217dc0842401a44331e89e1f83afc119
ed08464df91da89363f7ae4011a5418db9769767
/official courses/month01/day03/exercise02.py
9cdb6265ab935680fe945a807bbce2a5e1be649a
[]
no_license
lhd0320/AID2003
ece8399d137226b699e9a3606cca2dc8e3b09bab
9b572a5039e68a1d21b41edf3be5e6e42c098cd6
refs/heads/master
2022-08-19T05:21:56.175803
2020-05-25T03:10:46
2020-05-25T03:10:46
266,663,676
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
year = int(input("请输入年份:")) print(year % 4 == 0 and year % 100 != 0 or year % 400 == 0)
[ "706440631@qq.com" ]
706440631@qq.com
eb4cf0a9a96c1f9e3d5610478b4b25452ee384db
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/gui/Scaleform/locale/NATIONS.py
342d5f81bc76cdde4e0867e06d1e5cc393033665
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,147
py
# 2017.05.04 15:25:08 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/locale/NATIONS.py """ This file was generated using the wgpygen. Please, don't edit this file manually. """ from debug_utils import LOG_WARNING class NATIONS(object): USSR = '#nations:ussr' GERMANY = '#nations:g...
[ "info@webium.sk" ]
info@webium.sk
fcecd995ff300d8a765f6450f92bc9160b5af1bf
4f0beffcf200dd0b42cc192a4a2b9c2d0f0a2a42
/rewrite/terms.py
e8441a0d6416715bc03c0303ba9a3a0f8c34b926
[ "BSD-2-Clause" ]
permissive
rebcabin/pyrewrite
d11a2385920a8b375e9f3f7a4cc81ed8a178cf28
226d139ff361b095d46a58c65bc345cd18443008
refs/heads/master
2020-03-26T00:09:40.835150
2013-02-13T16:46:24
2013-02-13T16:46:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,345
py
#------------------------------------------------------------------------ # Terms #------------------------------------------------------------------------ class ATerm(object): def __init__(self, term, annotation=None): self.term = term self.annotation = annotation def __str__(self): ...
[ "stephen.m.diehl@gmail.com" ]
stephen.m.diehl@gmail.com
281a87d35d5eb6fe57c64267ba9cbeafccc7c2ca
35573eebb47cf243f04e1125725920b252de6261
/python/ray/data/datasource/parquet_datasource.py
f47bf3be81ea1988c39df7590fe5731bdf660123
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
timgates42/ray
05df4fe47a16a028c92fea106c4a2b316665001d
cd95569b014cf06479b96875c63eba171e92ec97
refs/heads/master
2023-03-18T00:59:27.757929
2022-07-13T21:57:24
2022-07-13T21:57:24
227,523,984
0
0
Apache-2.0
2019-12-12T05:01:58
2019-12-12T05:01:57
null
UTF-8
Python
false
false
11,986
py
import itertools import logging from typing import TYPE_CHECKING, Callable, Iterator, List, Optional, Union import numpy as np from ray.data._internal.output_buffer import BlockOutputBuffer from ray.data._internal.progress_bar import ProgressBar from ray.data._internal.remote_fn import cached_remote_fn from ray.data....
[ "noreply@github.com" ]
timgates42.noreply@github.com
3bbbe9362f8ac92757302164942546a4e7c30a17
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/kkm.py
085664d06f9dfc060451e08261da39402b8935b3
[]
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
719faa299021b6df1bc12e54e26cdac10f9dd376
5b9b2ec5fb3142609882a3320c6e64c6b912395c
/GfG/Mathematical Problems/fibGoldenRatio.py
0e52e95781f08c6731859bed0821762acff507e2
[]
no_license
anildhaker/DailyCodingChallenge
459ba7ba968f4394fb633d6ba8b749c1e4cb7fb0
f1cfc52f156436dc7c0a6c43fa939cefac5cee36
refs/heads/master
2020-04-20T18:58:33.133225
2020-01-11T14:50:52
2020-01-11T14:50:52
169,036,874
1
0
null
null
null
null
UTF-8
Python
false
false
355
py
# Nth fib number using Golden ratio. # nth fib = (n-1)th fib * golden ratio # round up each stage to get the correct result. Phi = 1.6180339 f = [0, 1, 1, 2, 3, 5] def fib(n): if n < 6: return f[n] t = 5 tn = 5 while t < n: tn = round(tn * Phi) print(t) t += 1 return tn n = 9 print(n...
[ "anildhaker777@gmail.com" ]
anildhaker777@gmail.com
80d5cbec5df9333fbfb7da16a4a745cc46197a3c
42c815151def498244ad0f6c01bc217eab955b8a
/tools/collect_data_stat.py
2aa88b23aceb155e010f72497e8c34e297b9f640
[ "Apache-2.0" ]
permissive
openvinotoolkit/mmaction2
5636577a420eafffeb2338c00a7a6e9f3bf8248a
496cec37a4bae9b3d10c9d8fa46b244e4310b2fe
refs/heads/ote
2023-07-16T13:22:55.477849
2021-09-01T20:42:59
2021-09-01T20:42:59
300,213,346
5
4
NOASSERTION
2021-09-01T20:43:00
2020-10-01T08:59:04
Python
UTF-8
Python
false
false
4,497
py
# Copyright (C) 2021 Intel Corporation # # 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 wri...
[ "evgeny.izutov@intel.com" ]
evgeny.izutov@intel.com
298bf01200ac8b294e118cbe01d81b9d7e99da96
35e41dab4a3e8eebe17872f5414cf3efb86be54c
/math/0x03-probability/exponential.py
cdca021ebc6f68ec512c14e54e7dd7aecbf85047
[]
no_license
yasheymateen/holbertonschool-machine_learning
52eaf217e924404e8833e75e8b48e80807d784dc
1329ba88bf9ae50693188e1c85383d9b76c2b1f4
refs/heads/master
2022-12-24T13:51:02.743526
2020-10-08T06:59:04
2020-10-08T06:59:04
255,277,037
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
#!/usr/bin/env python3 """ Exponential distribution class """ class Exponential: """ Exponential class """ def __init__(self, data=None, lambtha=1.): """ initial class constructor """ if data is None: if lambtha <= 0: raise ValueError("lambtha must be a positive val...
[ "yasheymateen@gmail.com" ]
yasheymateen@gmail.com
c07e24422565117f12a61cbaf45b486534d7ab97
88906fbe13de27413a51da917ebe46b473bec1b9
/Part-I/Chapter 9 - Classes/user_class.py
52ac6d4c5bd85b5435ecd806761bceed66dabb9d
[]
no_license
lonewolfcub/Python-Crash-Course
0b127e40f5029d84ad036263fd9153f6c88c2420
322388dfb81f3335eeffabcdfb8f9c5a1db737a4
refs/heads/master
2021-01-01T16:45:50.617189
2017-10-27T14:23:58
2017-10-27T14:23:58
97,911,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,598
py
"""A class to model user attributes""" class User: """A simple attempt to model a user""" def __init__(self, first_name, last_name, username, employee_number, employee_type, email, password, admin, banned): self.first_name = first_name self.last_name = last_name self.u...
[ "lonewolfcub020@gmail.com" ]
lonewolfcub020@gmail.com
2dcf6c43da0f2e8dca468ba4306efb52659010fa
18fa8cd12c0082df6887ab00381d7134ec41ec9e
/actors.py
3d1ab0d378a18ff6e60f5f1ec3bb6545cd4a2986
[]
no_license
reddit-pygame/Rotation-Thruster-Movement
9afb7e87b632f3956160946ad9f82e26a9538b7e
f6ed16061697f6d4349cd34c146f95933abcb03b
refs/heads/master
2021-01-19T08:05:33.725764
2015-08-01T11:10:55
2015-08-01T11:10:55
39,951,568
2
3
null
null
null
null
UTF-8
Python
false
false
1,205
py
""" This module contains the Player class for the user controlled character. """ import pygame as pg import prepare class Player(pg.sprite.Sprite): """ This class represents our user controlled character. """ def __init__(self, pos, image, speed=7, *groups): super(Player, self).__init__(*gro...
[ "3ror@live.com" ]
3ror@live.com
9b20d644629767b38d8dcea784f6bfdbb209c97d
ac4b9385b7ad2063ea51237fbd8d1b74baffd016
/.history/utils/ocr/handle_image_20210209171341.py
a2f29889d4bc94d4226866258b46adb684002b71
[]
no_license
preethanpa/ssoemprep
76297ef21b1d4893f1ac2f307f60ec72fc3e7c6f
ce37127845253c768d01aeae85e5d0d1ade64516
refs/heads/main
2023-03-09T00:15:55.130818
2021-02-20T06:54:58
2021-02-20T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,038
py
import os import cv2 import re import numpy as np from PIL import Image import pytesseract from pytesseract import Output from fpdf import FPDF ''' IMAGE HANDLING METHODS ''' # get grayscale image def get_grayscale(image): return cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) # blur removal def remove_blur(image): ...
[ "{abhi@third-ray.com}" ]
{abhi@third-ray.com}
3e7e1847a9be763898e6e7638a31882588c3e027
a933712aed95b8d05d2a81d2d85cd67f3143b328
/code/libraries/testPTable.py
ad68b66cd19ade5ebeef3881ba946244a18e4e1d
[]
no_license
stefanoborini/quantum-chemistry
a9b11bc6ffffe44c45d046518c1a3f31c470af44
5f92b013018e65bea5354be95e2538b5434d1fe7
refs/heads/master
2020-03-28T09:44:28.401512
2018-09-23T22:39:41
2018-09-23T22:39:41
148,056,649
0
0
null
null
null
null
UTF-8
Python
false
false
9,356
py
import os import sys import unittest import tempfile from ptable import PTable,Element """ This is a test suite for the PTable class. """ class PTableTestCase(unittest.TestCase): def setUp(self): self.elements = [ (0,'X',0.000,0.000,0.000,0,0.07,0.50,0.70,0.000), (1,'H',0.230,0.330...
[ "stefano.borini@gmail.com" ]
stefano.borini@gmail.com
fe0444560a8e563535551046d5c1226618e180c7
d5370925ce06a5b26a76b3fde3ce6da2100c43cd
/setup.py
1210b5f0be2366394d3232ace3c1ce2ae80a078d
[ "MIT" ]
permissive
a-tal/esi-bot
c92c5ba8aef40f6a25701c5150bcb9ecdb0aeff1
81418d6438957c8299927fdb267c6598ad521bbe
refs/heads/master
2020-03-20T20:55:18.205210
2018-06-18T06:03:46
2018-06-18T06:13:10
137,714,477
0
0
null
2018-06-18T05:48:08
2018-06-18T05:48:07
null
UTF-8
Python
false
false
943
py
"""ESI slack bot.""" import os from setuptools import setup from setuptools import find_packages from setuphelpers import git_version from setuphelpers import long_description setup( name="esi-bot", version=git_version(), description="ESI slack bot", long_description=long_description(), packages...
[ "github@talsma.ca" ]
github@talsma.ca
08e18455f072120dcb93754c798d761535899ac4
0e8e9bef32f40f5d0fd8c302293ae66732770b66
/2015/pythonlearn/numpy/aboutSinSpeed.py
1bbd1191245377d4199d35b7cfe85988651d4956
[]
no_license
tuouo/selfstudy
4a33ec06d252388816ad38aa44838e2b728178d4
139a0d63477298addfff5b9ea8d39fab96734f25
refs/heads/master
2021-01-24T18:37:31.023908
2018-03-01T02:55:16
2018-03-01T02:55:16
84,453,967
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import time, math, numpy as np x = [i * 0.001 for i in range(100000)] start = time.clock() for i, v in enumerate(x): x[i] = math.sin(v) end = time.clock() print("math.sin:", end - start) x = [i * 0.001 for i in range(100000)] start2 = time.clock() x = np.array(x) np.s...
[ "ltytuotuo@gmail.com" ]
ltytuotuo@gmail.com
4178c42be2a16843929bf99b3abf9d4f92102c0b
3d4292db087b8ab98b4751a16b50bcee90dd78bb
/freshdesk/v2/errors.py
964241d4ecbf820b5877b3f43be210c76f3ed6c6
[ "BSD-2-Clause" ]
permissive
sjkingo/python-freshdesk
3a0588ba554e14705a13eb3ab8d8c65f9b1545e1
87ccfb3d945c5867bfa92d55aad03dc98466a2aa
refs/heads/master
2023-01-09T08:10:20.113448
2022-09-16T01:29:20
2022-09-16T01:29:20
28,647,308
85
82
BSD-2-Clause
2023-01-07T00:16:05
2014-12-30T22:15:02
Python
UTF-8
Python
false
false
626
py
from requests import HTTPError class FreshdeskError(HTTPError): """ Base error class. Subclassing HTTPError to avoid breaking existing code that expects only HTTPErrors. """ class FreshdeskBadRequest(FreshdeskError): """Most 40X and 501 status codes""" class FreshdeskUnauthorized(FreshdeskErr...
[ "sam@sjkwi.com.au" ]
sam@sjkwi.com.au
d0405afd7c812af5e36619f67ceca4c53351cce2
7e145d1fff87cdabf7c9ae9c08637f299fbd3849
/222. complete binary tree.py
5ac0c8ab6f3a81cac087cc91c8a121b54628f920
[]
no_license
dundunmao/LeetCode2019
2b39ef181a7f66efc9de7d459b11eb1a4a7f60a8
9b38a7742a819ac3795ea295e371e26bb5bfc28c
refs/heads/master
2020-09-16T16:46:50.482697
2020-06-07T08:01:16
2020-06-07T08:01:16
223,833,958
0
0
null
null
null
null
UTF-8
Python
false
false
1,557
py
# 满足三点: # 1:左右都是full # 2:左边min > 右边 max # 3: 左边max 与 右边min 的差 小于等于1 class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None class Solution: """ @param root, the root of binary tree. @return true if it is a complete binary tree, or false. """ de...
[ "dundunmao@gmail.com" ]
dundunmao@gmail.com
886ac80011b04f26ef9f2b7d6a592fd307102e9c
904d7d50f22447a0803da412bae719a7cfa04392
/math/0x00-linear_algebra/8-ridin_bareback.py
127a28653655529a75ab02fb1d7979c78586e571
[]
no_license
dbaroli/holbertonschool-machine_learning
354b57932b8882598bc3ba304fd2004ba4bca169
7f9a040f23eda32c5aa154c991c930a01b490f0f
refs/heads/master
2023-01-21T11:50:59.796803
2020-11-24T02:03:51
2020-11-24T02:03:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
#!/usr/bin/env python3 """function to multiply 2 matrices""" def mat_mul(mat1, mat2): """ multiply two matrices Args: mat1, mat2: Given matrices Return: the new mat: new_mat """ if len(mat1[0]) != len(mat2): return None else: new_mat = [] for i in rang...
[ "931@holbertonschool.com" ]
931@holbertonschool.com
dd360585048649dfafbd491a46af9e01b08d22f9
48c522df53c37a7b9bea3d17f403556e01eeb24c
/ubuntu-20-04-scripts/build_tf_dataset/third/look_at_tokenized_att_disassembly.py
5db7e41c41aaee82efce70e659362f1e6ba56cd3
[]
no_license
flobotics/func_sign_prob
32ee8a8e4d1e33bec9253cd21e7609827d370fc9
18000e04ea108fb2530a50a9de4f8996cde398f0
refs/heads/master
2023-02-10T19:08:01.536243
2021-01-02T23:25:38
2021-01-02T23:25:38
292,960,645
1
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
import tarfile import os import sys import pickle def get_all_tar_filenames(tar_file_dir): tar_files = list() ### check if dir exists if not os.path.isdir(tar_file_dir): return tar_files files = os.listdir(tar_file_dir) for f in files: if f.endswith(".pickle"): ...
[ "ubu@ubu-VirtualBox" ]
ubu@ubu-VirtualBox
5ae4af3e8cafe2a8f7f1d21cc8b9335b1ef170d2
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/WebKit/Tools/Scripts/webkitpy/common/webkit_finder.py
3681938d8b0d413f85884a827054bea7f375f8a2
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft" ]
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
5,150
py
# Copyright (c) 2012 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
c61ebc49c8c624eea96ebf2bc480fef8cf9e104d
40b262d813d07a113914d6009af8737898f2e096
/Python/Python_Fundamentals/Mult_II.py
f775c6fa335690d1ec08e6dd9959ac91798f8e77
[]
no_license
Nish8192/Python
cb6de3b96e790464a0a4ad10eda86ce4f79688b4
5c03beff6f3669d5cfb6b31c5749827db8b6a627
refs/heads/master
2020-12-23T16:56:18.301723
2017-05-27T02:09:02
2017-05-27T02:09:02
92,563,061
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
for i in range(5, 1000000): if(i%5==0): print i
[ "nish8192@gmail.com" ]
nish8192@gmail.com
a3b0135eafbb4459910a3e5211ee9f7b52ed51e5
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.3/tests/regressiontests/humanize/__init__.py
d652b04ec8e450dd8b2fa9eecc3f102d9dce9577
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
108
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.3/tests/regressiontests/humanize/__init__.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
b17666a09326f7efec2051a3498367140a3e60e5
547db7801930874bf8298304b7ae453695ab3751
/zeabus_imaging_sonar/src/sonar_server_gate.py
f1460a2c779ca010d16068c44c1b386bed208eb8
[]
no_license
skconan/zeabus2018
5fc764b5039799fa7d80f7e86345822b50282d2e
16e2fc1a21daea813833f9afb89f64142b5b8682
refs/heads/master
2020-03-25T12:39:38.759263
2018-07-27T23:53:50
2018-07-27T23:53:50
143,786,404
0
1
null
2018-08-06T21:41:52
2018-08-06T21:41:52
null
UTF-8
Python
false
false
1,055
py
#!/usr/bin/env python import sys import cv2 import time import numpy as np import roslib import rospy import math #from _sonar_msg import * #from _sonar_srv import * from zeabus_imaging_sonar.srv import sonar_gatesrv sonar_image = None def server(start): global sonar_image # try: response = sonar_ima...
[ "supakit.kr@gmail.com" ]
supakit.kr@gmail.com
f75415b1c72053fc87600193f00e473c7bf954b2
0e94b21a64e01b992cdc0fff274af8d77b2ae430
/pytorch/pytorch_11.py
543d14d0138a272ccdee73aae7aae9665c94940a
[]
no_license
yangnaGitHub/LearningProcess
1aed2da306fd98f027dcca61309082f42b860975
250a8b791f7deda1e716f361a2f847f4d12846d3
refs/heads/master
2020-04-15T16:49:38.053846
2019-09-05T05:52:04
2019-09-05T05:52:04
164,852,337
0
0
null
null
null
null
UTF-8
Python
false
false
3,777
py
# -*- coding: utf-8 -*- """ Created on Thu Jan 3 16:08:22 2019 @author: natasha_yang @e-mail: ityangna0402@163.com """ #大的数据可以压缩传输下载之后再解压还原 import torch import torch.nn as nn from torch.autograd import Variable import torch.utils.data as Data import torchvision import matplotlib.pyplot as plt import numpy as np ##...
[ "ityangna0402@163.com" ]
ityangna0402@163.com
251b9960cc43b1d787b4b9b6168c4e25c2192138
c4bb6b11e9bec547bca18cf3f1c2ac0bcda6d0b0
/halld/test/resource.py
17cc4c6b89c88ace5893dbaa716b05ec7a8980e4
[]
no_license
ox-it/halld
43e8fb38a12977bc4f2323a18fdae42683c5a494
917012265548b76941658a56ec83dfe2cafc8e4a
refs/heads/master
2021-01-16T01:01:26.355534
2015-05-05T20:36:08
2015-05-05T20:36:08
16,612,456
0
0
null
null
null
null
UTF-8
Python
false
false
2,645
py
import json import unittest from rest_framework.test import force_authenticate from .base import TestCase from .. import models from .. import response_data class ResourceListTestCase(TestCase): def create_resources(self): # Will be defunct by default. self.defunct_resource = models.Resource.crea...
[ "alexander.dutton@it.ox.ac.uk" ]
alexander.dutton@it.ox.ac.uk
12b6cb094a4322a405a3ee6b7bc100899285342d
ade82efdb6dfaa402ea5999698de10b29ba142c0
/30DaysOfCode/day26-nested-logic.py
57968d3c73a6952bb69ae3f066ae5174146ab56d
[]
no_license
markronquillo/programming-challenges-and-algorithms
057747a3a9311d61b9a8f7bf6048ea95bb533a2e
0deb686069cd82bd0c7d0bf7e03aabd7f1359da3
refs/heads/master
2021-01-12T05:18:23.637189
2017-12-02T14:45:29
2017-12-02T14:45:29
77,906,720
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
act_date = input() exp_date = input() def compute(act_date, exp_date): act_day, act_month, act_year = [int(x) for x in act_date.split(' ')] exp_day, exp_month, exp_year = [int(x) for x in exp_date.split(' ')] if act_year > exp_year: return 10000 elif act_month > exp_month: if act_year < exp_year: ...
[ "markronquillo23@gmail.com" ]
markronquillo23@gmail.com
43352cd049ced563696e7de3b487e343123b42d3
42f6b269f1baa87e295bd2281fb5a7e975b21ac7
/04.For_Loop/03.More_Exercises/probe.py
9909f6841f03786bf4604e4523fdbc5ad29f3626
[]
no_license
Tuchev/Python-Basics---september---2020
54dab93adb41aa998f2c043f803f4751bbc8c758
8899cc7323611dd6eed00aa0550071a49dc72704
refs/heads/main
2023-06-19T11:48:11.607069
2021-07-15T13:33:02
2021-07-15T13:33:02
386,295,132
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
n = int(input()) even_sum = 0 odd_sum = 0 for number in range(1, n + 1): current_number = int(input()) if number % 2 == 0 even_sum += current_number else: odd_sum += current_number
[ "noreply@github.com" ]
Tuchev.noreply@github.com
01d3dbef5745f091babf67730a13213939cded7b
245b92f4140f30e26313bfb3b2e47ed1871a5b83
/airflow/providers/google_vendor/googleads/v12/services/types/bidding_seasonality_adjustment_service.py
9627a896feddaeef267b36c368273ea14a1ac92e
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ephraimbuddy/airflow
238d6170a0e4f76456f00423124a260527960710
3193857376bc2c8cd2eb133017be1e8cbcaa8405
refs/heads/main
2023-05-29T05:37:44.992278
2023-05-13T19:49:43
2023-05-13T19:49:43
245,751,695
2
1
Apache-2.0
2021-05-20T08:10:14
2020-03-08T04:28:27
null
UTF-8
Python
false
false
7,069
py
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
ephraimbuddy.noreply@github.com
2727043746f5618d29fb60b6cdf111942c7228a5
82762d776e2400948af54ca2e1bdf282885d922c
/581. 最短无序连续子数组.py
8bc3cb543d1ee49d622254c2d89f338667666d2e
[]
no_license
dx19910707/LeetCode
f77bab78bcba2d4002c9662c122b82fc3c9caa46
624975f767f6efa1d7361cc077eaebc344d57210
refs/heads/master
2020-03-17T02:50:46.546878
2019-06-25T09:22:13
2019-06-25T09:22:13
133,208,490
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
class Solution(object): def findUnsortedSubarray(self, nums): """ :type nums: List[int] :rtype: int """ nums2 = sorted(nums) if nums == nums2: return 0 i = 0 while nums[i] == nums2[i]: i += 1 j = -1 while nums[j]...
[ "dx19910707@qq.com" ]
dx19910707@qq.com
0b15834e4571dd2343ca5edbb518650202427a7e
a301841f1ab55ab7d5fa496c4dafd2c50e01b8ed
/labour/views/public_views.py
9956d32f2053fcde90e6c3931878d9c81cb84b59
[ "MIT" ]
permissive
wyrmiyu/kompassi
ab47dd27c7cac97e0695a9faa0d0994343eeb98b
e089a235bcd74b6a31b34572a56f4947bebc5e60
refs/heads/master
2021-01-17T15:04:50.294808
2015-03-16T21:19:40
2015-03-16T21:19:40
16,747,694
0
0
null
null
null
null
UTF-8
Python
false
false
13,225
py
# encoding: utf-8 import json from django.contrib import messages from django.contrib.auth.decorators import login_required from django.core.urlresolvers import reverse from django.http import Http404 from django.shortcuts import get_object_or_404, render, redirect from django.utils.timezone import now from django.vi...
[ "santtu@pajukanta.fi" ]
santtu@pajukanta.fi
6a28f4f34572bb5d2680de4aa8031dcde01e6e9f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02846/s115010620.py
03e500ab3f57d88caf928fb9d1dd60d08d26c229
[]
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
409
py
t1, t2 = map(int, input().split()) a1, a2 = map(int, input().split()) b1, b2 = map(int, input().split()) ave_a = t1 * a1 + t2 * a2 ave_b = t1 * b1 + t2 * b2 if ave_a < ave_b: (a1, a2), (b1, b2) = (b1, b2), (a1, a2) ave_a, ave_b = ave_b, ave_a if ave_a == ave_b: print('infinity') exit() half, all = t1...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8943983fe54f8f93c3c1901374f3d729d104c32a
79f871eccb9e7c87d60575b7147ec464964b010d
/api/tests/core/test_resource_paginated_datasets.py
a3f9185c1e43d855fff960be9f90b0e3feccd716
[]
no_license
lucassimon/upload-datasets
2c0e4d2945204503e8eefda5934eb8ca03561d1b
02f2b7324f389b1940ee60c886650cb04dd5e80e
refs/heads/master
2023-01-12T07:14:13.175505
2019-12-08T21:41:17
2019-12-08T21:41:17
226,594,431
0
0
null
2023-01-05T02:32:22
2019-12-08T00:33:52
Python
UTF-8
Python
false
false
1,225
py
import pytest from unittest import mock from apps.core.models import Dataset from .factories import DatasetFactory from tests.utils import replace_id_to_take_snapshot class TestDataset: def setup_method(self): DatasetFactory.reset_sequence() def teardown_method(self): Dataset.objects.delete(...
[ "lucassrod@gmail.com" ]
lucassrod@gmail.com
17f33729a06fe96c12e6d2add6182124fa44708c
184f13269249b08e5b62444ece10af8a3a35c9a5
/python_nlp_explorations_chatbot_keywords_extraction/article_3_keyword_extraction_nlp_spacy/05_kw_extractor_spacy_linguistic_features.py
b09b4d1d37e43a4303f452073fb8f9226411fc4c
[ "MIT" ]
permissive
bflaven/BlogArticlesExamples
3decf588098897b104d429054b8e44efec796557
aca40bb33f1ad4e140ddd67d6bb39bdd029ef266
refs/heads/master
2023-09-04T16:57:57.498673
2023-09-01T13:14:12
2023-09-01T13:14:12
42,390,873
9
4
MIT
2023-03-02T22:39:06
2015-09-13T09:48:34
HTML
UTF-8
Python
false
false
5,184
py
#!/usr/bin/python # -*- coding: utf-8 -*- # """ cd /Users/brunoflaven/Documents/02_copy/_000_IA_bruno_light/_my_article_python-explorations/git_repo_python_explorations_nlp/article_3_keyword_extraction_nlp_spacy/ python 05_kw_extractor_spacy_linguistic_features.py """ import spacy from collections import Counter...
[ "bflaven@gmail.com" ]
bflaven@gmail.com
39e5c44826e144c6b0f533369a9640dbf2dbe45d
7749f7156195e4f5d75ccc72d27b71951698f783
/mysite/settings.py
d4fb049d99717d256b8dbd3e2e03168db9a20312
[]
no_license
HiFaMi/my-first-blog
9dddad3354b26b39cff5dc5cf9c60421c765bba5
a7dbcc5415c0f903a6ef1691dbd7a6e52cb1b64f
refs/heads/master
2021-04-15T14:49:06.861837
2018-03-21T14:05:12
2018-03-21T14:05:12
126,188,739
0
0
null
null
null
null
UTF-8
Python
false
false
3,106
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.11.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "rlaalsrbgk@gmail.com" ]
rlaalsrbgk@gmail.com
3f9ffcbd11f2b59511325d196baa1f17d53eccc4
ae69d0402e48f07752dbe9b37d3e814fb314f0ba
/scripts/rltest/main.py
ebb6d94ab31a37bbfecaf9971e9335802be7a4b1
[]
no_license
mfkasim1/deepmk
e07600828ec929fc397516f90abbfd86f7ac56c2
392964790d67d0f02b981aaba2d887c3f5a14551
refs/heads/master
2023-04-26T07:57:30.286946
2021-05-25T08:08:26
2021-05-25T08:08:26
147,033,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
import deepmk import torch import gym import torch.nn as nn import torch.optim as optim import torch.optim.lr_scheduler as lr_scheduler import deepmk.rl.dataloaders as rlloader from deepmk.rl.trainers import QLearn from deepmk.rl.actors import QNet from deepmk.rl import train, show # set up the training components env...
[ "firman.kasim@gmail.com" ]
firman.kasim@gmail.com
736d0d735cacf199d75cdf98f81f5ed5fd8aa6fb
380a47268c5975473a2e7c38c747bc3bdbd981b1
/benchmark/third_party/DeepSpeed/deepspeed/autotuning/tuner/cost_model.py
0cdcef6483b4417e033f6e130c81eba7dc7b7d47
[ "MIT", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
FMInference/FlexGen
07aa9b1918c19b02077e13ad07e76840843810dd
d34f7b4b43ed87a374f394b0535ed685af66197b
refs/heads/main
2023-07-24T02:29:51.179817
2023-07-21T22:38:31
2023-07-21T22:38:31
602,270,517
6,821
411
Apache-2.0
2023-07-07T22:59:24
2023-02-15T21:18:53
Python
UTF-8
Python
false
false
1,723
py
from .utils import * try: import xgboost as xgb except ImportError: xgb = None class XGBoostCostModel(): def __init__(self, loss_type, num_threads=None, log_interval=25, upper_model=None): assert xgb is not None, "missing requirements, please install deepspeed w. 'autotuning_ml' extra." ...
[ "sqy1415@gmail.com" ]
sqy1415@gmail.com
63601989f71d582a2eec18528e01b6995527a9de
2aba62d66c2c622bdc148cef451da76cae5fd76c
/exercise/learn_python_dm2039/ch30/ch30_6.py
2d0948851697dcf6dd8ee2c7187bb6e577979064
[]
no_license
NTUT-109AB8011/crawler
6a76de2ab1848ebc8365e071e76c08ca7348be62
a703ec741b48d3af615a757fed7607b1f8eb66a6
refs/heads/master
2023-03-26T22:39:59.527175
2021-03-30T03:29:22
2021-03-30T03:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
# ch30_6.py import datetime deltaTime = datetime.timedelta(days=100) timeNow = datetime.datetime.now() print("現在時間是 : ", timeNow) print("100天後是 : ", timeNow + deltaTime)
[ "terranandes@gmail.com" ]
terranandes@gmail.com
513aefbd73b1950b907fd41d6a90aed13b4154f3
71d3555e12cb53ea81b097dfdf760d4aae8830d9
/triton_transformer/transformer.py
cec34fb30038a73fac4b467207a3d7c094c4c56a
[ "MIT" ]
permissive
armheb/triton-transformer
35cc60d8842503a71f43545007ff83197a93dc43
21b8490848ff00906b4e688e22017508580e5ec7
refs/heads/main
2023-08-27T14:37:36.483284
2021-10-04T21:39:35
2021-10-04T21:39:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,166
py
import torch from torch import nn, einsum import torch.nn.functional as F from einops import rearrange from triton_transformer.layernorm import layernorm from triton_transformer.softmax import softmax from triton_transformer.cross_entropy import cross_entropy_fn from triton_transformer.bmm import fused_relu_squared fr...
[ "lucidrains@gmail.com" ]
lucidrains@gmail.com
ea8e49c1dea6a14302a8664d5771195ac941f80d
a4a01e251b194f6d3c6654a2947a33fec2c03e80
/PythonWeb/Django/1809/Day04/Day03/Day03/settings.py
c877ec1c29f649d09189c38e7276ea5a8f83b89a
[]
no_license
demo112/1809
033019043e2e95ebc637b40eaf11c76bfd089626
e22972229e5e7831dce2aae0b53ce19a6e3bb106
refs/heads/master
2020-04-09T07:10:49.906231
2019-02-27T13:08:45
2019-02-27T13:08:45
160,143,869
0
2
null
null
null
null
UTF-8
Python
false
false
3,229
py
""" Django settings for Day03 project. Generated by 'django-admin startproject' using Django 1.11.8. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os ...
[ "huafengdongji@hotmail.com" ]
huafengdongji@hotmail.com
d2de17bafbf275d1cf8507a86b58db7f9b8add31
12f006a0e5d75ef2349d4ae519c1c9cac5309761
/Solution_907_4.py
9329286bdef8e1420f5479bdb78e3ee8c2f75bfd
[]
no_license
TimothySjiang/leetcodepy
c613db16282eade713e01b7d641c0f5b341ec84b
ef64e46b8833a684b8b0355ce576b767a0e03596
refs/heads/master
2020-07-01T14:48:35.953841
2020-01-12T06:19:44
2020-01-12T06:19:44
201,199,810
1
0
null
null
null
null
UTF-8
Python
false
false
355
py
class Solution: def sumSubarrayMins(self, A: List[int]) -> int: res = 0 s = [] A = [0] + A + [0] for i, x in enumerate(A): while s and A[s[-1]] > x: j = s.pop() k = s[-1] res += A[j] * (i - j) * (j - k) s.append(...
[ "shjiang@ucdavis.edu" ]
shjiang@ucdavis.edu
19cb0743d38d61e67b8a296a8ff922ade33a70bf
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/chromite/lib/buildbucket_lib.py
b265dfb3957534eebdfee3eb670a7723a2b8cf7d
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
17,971
py
# -*- coding: utf-8 -*- # Copyright 2016 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Code releated to buildbucket. Buildbucket is a generic build queue. A build requester can schedule a build and wait for a resu...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
3eadf25d4ee4c8cd157ea0d95e9b6ef32ddf51ea
0062a19abf334cdb8e7927270106b9ca496ba42e
/boxOffice/admin.py
88bcf3e8dcb677f3c83572f05a05697efb6f6936
[]
no_license
Dawinia/movie_backend
177099d35c5a8f6e89851a3e1e662563d24c242a
650aa4d7540bc02639a0832069cc540e6c3df3bc
refs/heads/master
2022-04-22T01:35:54.886991
2020-04-23T17:21:30
2020-04-23T17:21:30
258,153,143
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
from django.contrib import admin from .models import BoxOffice, MovieInfo # Register your models here. class BoxOfficeAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['yearRate', 'crawlDate']}), ('movieInfo', {'fields': ['movieId', 'movieName', 'releaseInfo']}), ('boxOfficeInfo',...
[ "dawinialo@163.com" ]
dawinialo@163.com
18a0917a75efd7f2cd47a0e6aaa80d5fc91621a4
b4945f3392edb5e61be264075fdd93e28f894725
/autobahn/autobahn/wamp/message.py
39220ffcafdb826a1098eaadf2db4a4b40495386
[ "Apache-2.0" ]
permissive
quyuanbo/AutobahnPython
e737c9758a116f95967b114ded84decacc576b45
25898545e68ad6673d4a367799efbbd2c29488dc
refs/heads/master
2021-01-14T12:11:39.251365
2014-04-11T00:25:09
2014-04-11T00:25:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
84,620
py
############################################################################### ## ## Copyright (C) 2013-2014 Tavendo GmbH ## ## 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 ## ## h...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
f5c6201a2927472f717a1178da02bcccb2d9b5b5
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v8/googleads-py/google/ads/googleads/v8/services/services/ad_parameter_service/transports/grpc.py
584d8c2434a25ed27716cbfbc4c3bdafe8094dd1
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,900
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
56c198953033a0f78f55db2c3afa95d0de6787e9
0c084555ac64297faacf2a62df80b7caf3fc8822
/mygene.info/src/hub/dataload/sources/entrez/unigene_upload.py
cc9caeafb5aaa0749dddab7917463902f7283c54
[ "Apache-2.0" ]
permissive
NCATS-Tangerine/MyGeneBeacon
ae59b3a49142fe8da57d421a3494000c61cbc35e
5c70d986d522ee9d9b709784afe992e315a5b76e
refs/heads/master
2021-05-13T18:05:44.020677
2018-01-09T18:58:06
2018-01-09T18:58:06
116,851,396
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
from .parser import Gene2UnigeneParser import biothings.hub.dataload.uploader as uploader class EntrezUnigeneUploader(uploader.MergerSourceUploader): name = "entrez_unigene" main_source = "entrez" def load_data(self, data_folder): self.parser = Gene2UnigeneParser(data_folder) self.parser...
[ "lhannest@sfu.ca" ]
lhannest@sfu.ca
cd01e7265b05f24764a2257ba093d8968d37c3f9
5d08402e56855d55d0f14ff7642f27e01cadcced
/listing/migrations/0011_auto_20210112_0908.py
dcc94ef6a06111b4ef4ed8b9ac93d7f9c3d52654
[]
no_license
crowdbotics-apps/test-23821
783d757965931f35819343bf57627265dfa5f6e5
5cf465eabbd921055d31ac38b54693aa581713a5
refs/heads/master
2023-02-12T15:23:18.370076
2021-01-14T00:46:16
2021-01-14T00:46:16
329,440,504
0
0
null
null
null
null
UTF-8
Python
false
false
1,243
py
# Generated by Django 2.2.17 on 2021-01-12 09:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('listing', '0010_merge_20210112_0906'), ] operations = [ migrations.CreateModel( name='ListingP...
[ "dawarsardar786@gmail.com" ]
dawarsardar786@gmail.com
9119d3d91838e00e3ab736b6c6f7daa0efe4acd9
70cf354a5eb38ddaf6e594b162706f3b38925647
/02-03/todolist/todolist/settings.py
ebbe5f45ca6c4125016ff65607df10be584ea861
[]
no_license
hanifmisbah/PythonDjango-Practice-Coding
0051c73c67ddfa9d49e47b1fd77b798b253275bb
e15de23fd1d7f4b118f7149d6d6ff3b25f898b82
refs/heads/master
2022-12-25T00:13:09.855630
2020-10-05T10:50:13
2020-10-05T10:50:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
""" Django settings for todolist project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "hanifmisbah97@gmail.com" ]
hanifmisbah97@gmail.com
0ae12e49362282d60fe111f7b96ed887d37a6046
4c2da39f554f6fb5a92c6ceb886fa5305e085b8c
/mylar/torrent/clients/qbittorrent.py
6cb1c28065af55d5e0b3ebc6952df6db6b4e290b
[]
no_license
ferretcomp/mylar
c48520f69d43e92145bdcc9c17fd3ef735bf9b0b
2b2687361b3decadc65b10f1b8319dad165698ea
refs/heads/master
2021-04-15T08:15:09.923411
2018-01-17T20:55:24
2018-01-17T20:55:24
94,567,775
0
0
null
2017-06-16T17:41:55
2017-06-16T17:41:55
null
UTF-8
Python
false
false
5,014
py
import os import mylar import base64 import time from mylar import logger, helpers from lib.qbittorrent import client class TorrentClient(object): def __init__(self): self.conn = None def connect(self, host, username, password): if self.conn is not None: return self.connect ...
[ "evilhero@gmail.com" ]
evilhero@gmail.com