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
f04b2aa75dd47955ea433e71be01b62d278f935b
f6c6085c34ac6e1b494ff039cd0173b47cc9c6c4
/byceps/blueprints/site/board/blueprint.py
555df68a166fb3123a40a69638071b104c0bcf06
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
FakoorCo/byceps
971042f598a12c00465b0c3a714f4ac7dbdc9d5b
11290b154b83f5ac3a9530fb6cd752b3d7a3989b
refs/heads/main
2023-01-23T18:53:59.930267
2020-11-30T01:09:20
2020-11-30T01:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
""" byceps.blueprints.site.board.blueprint ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Copyright: 2006-2020 Jochen Kupperschmidt :License: Revised BSD (see `LICENSE` file for details) """ from ....services.text_markup.service import render_html from ....util.framework.blueprint import create_blueprint from ...common.aut...
[ "homework@nwsnet.de" ]
homework@nwsnet.de
ae018aefb4100f20ebbe5e83bae6f50197b1f281
ed9795cd60033e9e3dc91f6525c16a7b27758090
/backend/manage.py
878dd553d20c7e7c3156cd65912aa7422480d55d
[]
no_license
KaziMotiour/Mystical-Ecom
9ccb61a3f06b05808d74642fc380dd022069f11b
cdd82340dd5b89079c0c61ecc3c9d080103e23dc
refs/heads/main
2023-06-05T01:35:39.718990
2021-06-30T18:16:12
2021-06-30T18:16:12
381,790,377
0
1
null
null
null
null
UTF-8
Python
false
false
544
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysticalEcom.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django....
[ "kmatiour30@gmail.com" ]
kmatiour30@gmail.com
e7181226487626c547bb50984daf258979a0d7c1
6463afadc13456a81760f8269ba63bb4892eb928
/源码/Pythonpa/ch03/nest_for-mulTable.py
6036fccd8a38f37c143cd78a34ce58fc4eeb90b5
[]
no_license
brucehzhai/Python-JiangHong
ebc43f34df0f6f3e63b948c68bb8d1ce01b77a5d
4543e18c489d6a655a0742cd3ba622a2aca0c882
refs/heads/master
2023-04-10T20:26:37.656432
2019-03-12T07:46:50
2019-03-12T07:46:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
#chapter03\nest_for.py for i in range(1, 10): s = "" for j in range(1, 10): s += str.format("{0:1}*{1:1}={2:<2} ", i, j, i * j) print(s) input()
[ "a18749290902@163.com" ]
a18749290902@163.com
39f93711cacb131fb9979c7986e8f321fe0706bd
7a5c7352e5b5452a95f09d2b99a032d9e72738f4
/vision3d/ops/conversion.py
7ff5520f5f6e2d804e88dda9cde7b5ceb7696b09
[ "MIT" ]
permissive
qinzheng93/vision3d
978a97d2b98904cdb42aaea50887da8fde1b55df
29c1c02134c20a14337458d18826e4a6f80e844e
refs/heads/main
2023-05-12T18:12:08.224566
2023-05-08T14:11:01
2023-05-08T14:11:01
230,056,087
20
1
null
null
null
null
UTF-8
Python
false
false
3,386
py
from typing import Optional, Tuple import torch from torch import Tensor def _get_indices_from_lengths(lengths: Tensor, num_items: int) -> Tensor: """Compute the indices in flattened batch tensor from the lengths in pack mode.""" length_list = lengths.detach().cpu().numpy().tolist() chunks = [(i * num_it...
[ "clavichord93@hotmail.com" ]
clavichord93@hotmail.com
bff591c771085240114a1471b8cd390ddb441f83
ea6d8c8f0149539d49318de460a08cf39f11e77d
/ttsx/ttsx/urls.py
14218dc8110849070d9220cab41ff6f3183a12d0
[]
no_license
SpeCialmark/Fraesh-everyday
5b8866202f51e5fb82e7a3257b15df9eaca1d9f2
6d4e681a3001d54b29e0236106d58926a717782d
refs/heads/master
2021-05-12T06:12:53.893612
2018-01-12T09:06:16
2018-01-12T09:06:16
117,213,198
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
"""ttsx URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based ...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
a7b4fae53ca0fe1dc3a87b2963dac73f711c26b7
7f92c2fc131ca637d8b7c2a4dbba4b974884e786
/lab2/scripts/plotting5_10K.py
800c67578cc83f73d0483551da567427bd78d1a3
[]
no_license
byronwasti/CircuitsLabs
2c5694f07a59adedddde361d0a85a690a83e096b
be1227c504ed1a2b81b6d670cbaa45d4b8be8e17
refs/heads/master
2020-05-23T11:15:14.853587
2017-09-03T18:53:50
2017-09-03T18:53:50
80,369,111
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
import numpy as np import matplotlib.pyplot as plt import seaborn as sns import csv from scipy.optimize import curve_fit RES = "10K" VOL_CUR = "data/e2_res"+RES+"_2.csv" with open(VOL_CUR, 'r') as f: reader = csv.reader(f) Vin = [] Iout = [] for i, row in enumerate(reader): if i == 0: continu...
[ "byron.wasti@gmail.com" ]
byron.wasti@gmail.com
3e0dce27f24e80fdf840e5544caff4ba477e4de0
dc3642ea21337063e725441e3a6a719aa9906484
/DevInit/DHS/download_MICS.py
b31a997a64f8743d11e329ac975380ccef21d3e2
[]
no_license
akmiller01/alexm-util
9bbcf613384fe9eefd49e26b0c841819b6c0e1a5
440198b9811dcc62c3eb531db95abef8dbd2cbc7
refs/heads/master
2021-01-18T01:51:53.120742
2020-09-03T15:55:13
2020-09-03T15:55:13
23,363,946
0
7
null
null
null
null
UTF-8
Python
false
false
3,626
py
from selenium import webdriver import time import json import pdb from selenium.webdriver.remote.command import Command from optparse import OptionParser import os class Error(Exception): """Base class for exceptions in this module.""" pass class InputError(Error): """Exception raised for errors in the in...
[ "alex.k.miller@gmail.com" ]
alex.k.miller@gmail.com
93d25f14614eff77197c2f9c5cfa876b4721fdf3
74da166dc375be56a83b175cdc17d559a262dba1
/airflow_client/client/api/import_error_api.py
dd1023f3a35babe3757e78d0a3146e387c3fba9f
[ "Apache-2.0" ]
permissive
zjiaksmc/airflow-client-python
eec72956abaede23b8865f5d09f03e242dc86467
f8d7f958578fd1c63cef41d6b3f5447dc45bdfe6
refs/heads/master
2023-08-25T16:50:27.535880
2021-10-25T07:03:06
2021-10-25T07:03:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,137
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 not u...
[ "noreply@github.com" ]
zjiaksmc.noreply@github.com
5591722e916fd9faf7d06b04d11871d65c615d50
1b2fc9666edbbdc65387c854831097e0be8b686c
/Programmers/Interview Preparation Kit/DFS & BFS/단어 변환(changing words).py
9072bbb6b1ed7ed12705aed1f0fc80cb8ff31b09
[]
no_license
seongbeenkim/Algorithm-python
6593878cff8755800f3e8bcdaabdb41625324f38
24fe365a29c61c2405a06345f9105ed200a76bd5
refs/heads/master
2023-09-04T11:05:08.318769
2021-02-18T14:58:20
2021-02-18T14:58:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
#https://programmers.co.kr/learn/courses/30/lessons/43163 def dfs(index, count, begin, target, words, check): ans = 51 if target == begin: return count if index == len(words): return 51 for i in range(len(words)): if not check[i]: diff = 0 for j in ran...
[ "seongbeen93@naver.com" ]
seongbeen93@naver.com
99e655596717332302a8d08bdb9d5ce98530a361
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_123620.03+283143.8/sdB_sdssj_123620.03+283143.8_coadd.py
d6bf62c576e425055df8e79cce14a70828f10b3a
[]
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
482
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[189.083458,28.528833], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_sdssj_123620.03+283143.8/sdB_sdssj_123620.03+283143.8_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
d50f4dea6b660f7d6f47299cc7a31e7d5038f2a4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/189/61605/submittedfiles/testes.py
54f74d81efc2c707d9c6deed85a11a212f46d2ca
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
n=int(input('n:')) i=1 while i<=n: print(i**2) i=i+2
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
70f948b1f01168a8d898344b2c0134047b7ecf09
a1cf0f189f159a81bbf0306bbe92bd08dbba4a83
/proyecto_2/archivos.py
8320f90f7292f1942995f67f9634b5245495183c
[]
no_license
Mike-droid/CursoPythonIntermedio
2abfa5f070a9bfea5a23e869f5060d9299716395
98e5653f5905be5ba8b44c3ec9fef53e239fd962
refs/heads/main
2023-04-02T10:02:01.873541
2021-04-12T19:11:22
2021-04-12T19:11:22
357,032,708
0
1
null
null
null
null
UTF-8
Python
false
false
452
py
def read(): numbers = [] with open('./archivos/numbers.txt' , 'r' , encoding='utf-8') as f: for line in f: numbers.append(int(line)) print(numbers) def write(): names = ["Facundo","Miguel","Pepe","José",'Ñañes'] with open('./archivos/names.txt' , 'w' , encoding='utf8') as f: for name in names:...
[ "miguelreyesmoreno@hotmail.com" ]
miguelreyesmoreno@hotmail.com
ad91e7f2568cab34bf64a8ef1c4f4eedf763f85d
e1ad1fd9fc47594d8065ffdd003961daae8fdffb
/ue4helpers/ArchiveUtils.py
8789e2e2e1818f27fdab881749cce48b16867d5b
[ "MIT" ]
permissive
denfrost/ue4-ci-helpers
d7fec24d97006e3c4d33a0a8085b3f66b261e9fc
a90920ece8896d5210c6b6c0f64b1616b82e1a81
refs/heads/master
2022-11-16T07:46:09.337571
2020-07-13T08:51:56
2020-07-13T08:51:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
from .FilesystemUtils import FilesystemUtils from conans import tools import shutil class ArchiveUtils(object): ''' Provides functionality related to archive files (e.g. .zip, .tar, etc.) ''' @staticmethod def compress(base_name, format, root_dir=None, **kwargs): ''' This function is simply a wrapper for `s...
[ "adam.rehn@my.jcu.edu.au" ]
adam.rehn@my.jcu.edu.au
4fad25d7fed824ec89757dcebd8fa0e4164d7a1b
08b0c27ce98495c0889d7b768ac7d2a97beff158
/廖雪峰-python/廖雪峰-filter.py
5f30805c414e9f3a33be0c95fc38137b07a886b4
[]
no_license
jetli123/python_files
7d3834b8e3f8b8dca5109c2d6aeb8d0fcdb852c3
7f5b787820cca2cf5820a1cdf3fed77e5185f04e
refs/heads/master
2020-03-27T01:36:02.526294
2019-07-11T06:58:35
2019-07-11T06:58:35
145,726,196
1
0
null
null
null
null
UTF-8
Python
false
false
558
py
# -*- coding: utf-8 -*- # -*- filter()也接收一个函数和一个序列 # -*- filter()把传入的函数依次作用于每个元素,然后根据返回值是 True 还是 False 决定保留还是丢弃该元素 # 在一个 list 中,删掉偶数,只保留奇数,可以这么写: def is_odd(n): return n % 2 == 1 print list(filter(is_odd, [1, 2, 4, 7, 9, 8, 10, 15])) # -*- 把一个序列中的空字符串删掉,可以这么写: def not_empty(s): return s and s.strip() print ...
[ "Jet_Oracle@outlook.com" ]
Jet_Oracle@outlook.com
eba5bf6ebe0da820a5cdfd470e82c1886b5a65e4
d3adbea863e9e57c02b7d60be36e35070a919993
/sfopenboson/tests/test_gaussian_prop.py
ada9a540769b09f6e69876c93c845686f7fa60ce
[ "Apache-2.0" ]
permissive
itachixc/SFOpenBoson
ff8edd65457d4a74b15655bf0feb0a0f91170a7c
986b9b9393f4fb8d1e3a2001ca05dba1c7739ba0
refs/heads/master
2020-03-27T21:53:14.419924
2018-06-22T21:44:29
2018-06-22T21:44:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,168
py
# Copyright 2018 Xanadu Quantum Technologies Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agre...
[ "josh146@gmail.com" ]
josh146@gmail.com
de23cd7b0f980329455b7d42eb091c1845448d0e
3876e86fa97b49eb43ca9c2f292f246c5d7ef98e
/src/lib/datasets/dataset/jde.py
3552d943de6b11bbc98a891e30a2477d7a4d8acd
[ "MIT" ]
permissive
yuanliangxie/MCMOT
ce2bdc5cc318751c72fbe2276a7012a70a7912f4
3d43ff0f371c5f3bc7b5e68b7e377e90b2a51c0c
refs/heads/master
2022-11-12T11:49:18.343403
2020-07-02T09:41:53
2020-07-02T09:41:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,700
py
import glob import math import os import os.path as osp import random import time import warnings from collections import OrderedDict, defaultdict import cv2 import json import numpy as np import torch from torch.utils.data import Dataset from torchvision.transforms import transforms as T from cython_bbox import bbox...
[ "765305261@qq.com" ]
765305261@qq.com
385a7626059f32bde701b4722ea18d418a34b995
0c958692bb3abf99ecbd03bd75a605b202d4da5a
/CRAB/MuNu/synch/2014sptr19/filter.py
99dbb2583fa8d2b8347585df3ebab97de93fca81
[]
no_license
tmrhombus/UWAnalysis
a9ed18a7ba8726522c8d98fbdc018c77d80c5cc5
eb9e0794e1b847f36c660a55d3631176a39148e2
refs/heads/master
2021-01-23T20:46:41.578341
2017-05-01T08:26:57
2017-05-01T08:26:57
10,620,824
0
0
null
2014-10-21T11:21:16
2013-06-11T12:19:43
Python
UTF-8
Python
false
false
2,224
py
#CutNtuple.py #Author: Aaron Levine, UW Madison #Produces reduced ntuples, to speed up the analysis from sys import argv, stdout, stderr import ROOT import math #Returns the number of lines in the files def file_len(fname): with open(fname) as f: for i, l in enumerate(f): pass return i + 1 ...
[ "tperry@cern.ch" ]
tperry@cern.ch
632728d26cd175ea58aa0bd3ea2255fb41ac3277
847f94217951a3afc98b22317662c34c6063e762
/redditspider/redditspider/spiders/redditspider.py
e7e6223b8b85e6198f3e53d4a8dd0ae9032be59c
[]
no_license
tashakim/puzzles_python
abf8c4cca4046e3ab611cab2efd33265ece4e954
95a86cbbca28d0c0f6d72d28a2f1cb5a86327934
refs/heads/master
2023-08-30T19:28:55.134966
2021-11-04T03:50:04
2021-11-04T03:50:04
247,339,457
8
1
null
2021-06-11T03:38:40
2020-03-14T19:22:38
Python
UTF-8
Python
false
false
622
py
import scrapy class RedditSpider(scrapy.Spider): name = "redditspyder" start_urls = ["https://www.reddit.com/r/dogpictures/", "https://www.reddit.com/r/catpictures/"] # add urls here def parse(self, response): links = response.xpath("//img/@src") # creates new html page html = "" for link in links: ...
[ "jae_young_kim@brown.edu" ]
jae_young_kim@brown.edu
e9bd438be90150194e55a099488f6facd8246a5b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02952/s396644515.py
e6ffa23f4984e2a42a035b7ce6cbf6c8c00775be
[]
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
370
py
n = int(input()) i = 5 while True: if (n//(10**i) != 0): break i = i - 1 i = i + 1 if (i%2 == 0): i = i//2 ans = 0 for j in range(i): ans = ans + 9*10**(2*j) print(ans) else: i2 = (i - 1)//2 ans = 0 for j in range(i2): ans = ans + 9*10**(2*j) tmp = 0 for j in range(i - 1): tmp = t...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
25fbff9ddf5ccd3458279a9eb21aa68b5a065c1a
de3c5f0f24ece34190b765774087806ebe36d5a8
/Collect/MOD17/DataAccessNPP.py
4bd65fe757b1cea0340597f3d399238fb99a33cb
[ "Apache-2.0" ]
permissive
jupaladin/wa
9ccadc4d344fd809906039996518772e89a61d67
abd0447f56d310391b9a8bbc745c326d31749345
refs/heads/master
2021-01-01T16:27:46.001267
2017-07-13T13:11:03
2017-07-13T13:11:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,632
py
# -*- coding: utf-8 -*- """ Authors: Tim Hessels UNESCO-IHE 2016 Contact: t.hessels@unesco-ihe.org Repository: https://github.com/wateraccounting/wa Module: Collect/MOD17 """ # import general python modules import os import numpy as np import pandas as pd import gdal import urllib from bs4 import BeautifulSou...
[ "timhessels@hotmail.com" ]
timhessels@hotmail.com
ef46e516e8f319fbe3aaec6d3a50723d23b224ca
878f1a0f3500aad96fec6807dd186dc98c5ed1aa
/layer/computing/test_af00.py
46753aab31f873785a7e03ce1e53b5f27c953f15
[ "MIT" ]
permissive
hslee1539/NN
f2fd95721049cadcb475c0ebf9396447bca26e76
8b60a858c1137785ef684dd548b008bcc46b8d6d
refs/heads/master
2020-04-20T04:56:53.552960
2019-03-09T14:46:25
2019-03-09T14:46:25
168,643,421
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
def forward(x_array, out_array): for i in range(len(x_array)): out_array[i] = x_array[i] + 0
[ "qq1539@naver.com" ]
qq1539@naver.com
991dcfff230d29ef4f6861233aaf47c119f6a173
f824037d3e51b4df37410ac13475cbf947c84a8c
/day13/main.py
9d5f5672c127ca4c3fcfa5163db04c953b2bc5d3
[]
no_license
gaoxiaoxinwwxa/store
9dc82c78e03ffcfe97d628d9375b991b2d7a6add
4740b272dad49df36d4dbd26fa158caa0cc3e03f
refs/heads/master
2023-07-07T16:27:18.692228
2021-08-16T09:39:30
2021-08-16T09:39:30
385,148,829
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# -*- coding:utf-8 -*- from HTMLTestRunner import HTMLTestRunner import unittest tests=unittest.defaultTestLoader.discover(r"C:\Users\86180\PycharmProjects\day13",pattern="test*.py") runner=HTMLTestRunner.HTMLTestRunner( title="这是一份计算机的测试报告", description="这是运算的测试报告", verbosity=1, stream=open("计算机.html...
[ "your email" ]
your email
f86ad2dc59ae4f39e1fe579a6225725a003c77a9
a1951be7f25ad3dd7f1b6ae186d95dcaca2f0c0c
/selfpy/chap11/reserve_eq.py
b1473abe8a1ac37da74fcf6343571828a4e44100
[]
no_license
kazscape/teach_yourself_python
7742371c074e434ad77f4dd866f426d233b08e8b
52802c12a99edaf9d061a14b34f09c0ff60bb190
refs/heads/master
2023-02-03T08:46:44.280067
2020-12-25T08:45:58
2020-12-25T08:45:58
323,297,721
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
class Person: def __init__(self, firstname, lastname): self.firstname = firstname self.lastname = lastname def __eq__(self, other): if isinstance(other, Person): return self.firstname == other.firstname and \ self.lastname == other.lastname # return self.__dict__ == ...
[ "yamauchi.kazuharu@fixer.co.jp" ]
yamauchi.kazuharu@fixer.co.jp
c4377fde667e7e460f25d8de9fddde4793c9136e
17ea4b621cc6f19b25b50949dfe0a2e6b5c77cf0
/build/abb_experimental/abb_irb120_moveit_config/catkin_generated/pkg.installspace.context.pc.py
eb3465ed448d72bbb8976e69574c8f34744b94f2
[]
no_license
Sinchiguano/yumi_ROS
a5fead77a2f50a3b147e87509f827c16e4c4319e
0d5973eb8a00d9037f9de33631f0ab6263cbaf3a
refs/heads/master
2020-04-16T08:42:35.187091
2019-01-13T11:15:47
2019-01-13T11:15:47
165,434,778
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "abb_irb120_moveit_config" PROJECT_SPA...
[ "cesarsinchiguano@hotmail.es" ]
cesarsinchiguano@hotmail.es
3ef8b2cb875014c58fc119f8e39c49d0910ea046
679ce4b323f79b2425976201324c6c1f88b95199
/Python/Bad Widgets/pygame_utility.py
d487cf598c20c284b1487039c0255c6e18ece109
[]
no_license
abriggs914/Coding_Practice
ff690fb5f145a11f4da144f3882b37f473b10450
3afd7c59e0d90f0ef5f6203853e69f853312019b
refs/heads/master
2023-08-31T04:04:58.048554
2023-08-29T13:23:29
2023-08-29T13:23:29
161,865,421
0
1
null
2022-10-27T08:35:29
2018-12-15T03:20:14
Python
UTF-8
Python
false
false
75,563
py
from utility import * from colour_utility import * # General Utility functions for pygame applications # Version...........1.14 # Date........2021-09-22 # Author....Avery Briggs # BLACK = (0, 0, 0) # black # WHITE = (255, 255, 255) # white # DARK_GRAY = (50, 50, 50) # dark gray # LIGHT_GRAY = (175, 175, 175) # l...
[ "abriggs1@unb.ca" ]
abriggs1@unb.ca
b616b2e659d93d3ee586e285cbb690bbe1ffabed
c54f5a7cf6de3ed02d2e02cf867470ea48bd9258
/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfattributedstring.py
28ffe4d75594935e48d686fed260800b825240c0
[ "MIT" ]
permissive
orestis/pyobjc
01ad0e731fbbe0413c2f5ac2f3e91016749146c6
c30bf50ba29cb562d530e71a9d6c3d8ad75aa230
refs/heads/master
2021-01-22T06:54:35.401551
2009-09-01T09:24:47
2009-09-01T09:24:47
16,895
8
5
null
null
null
null
UTF-8
Python
false
false
4,994
py
from PyObjCTools.TestSupport import * from CoreFoundation import * from Foundation import NSCFAttributedString class TestAttributedString (TestCase): def testTypes(self): self.failUnless( CFAttributedStringRef is NSCFAttributedString ) self.failUnless( CFMutableAttributedStringRef is NSCFAttribute...
[ "ronaldoussoren@f55f28a5-9edb-0310-a011-a803cfcd5d25" ]
ronaldoussoren@f55f28a5-9edb-0310-a011-a803cfcd5d25
47bd3d5b3c8367ce66ab87d7c9b39f8e02366b1e
7a884ce8dd90828bf7a6e29a2bab1a85810334d7
/OPENiapp/OPENiapp/APIS/Activity/Status/admin.py
83ddd0684222394736a3e1d6ba0c9ff5c3b3b1ce
[]
no_license
OPENi-ict/api-framework
d724047f4d0157c91914dbdbf553076b8c073125
b667236d6a9fb243d2c69f3efc1d15a6aa11f3fc
refs/heads/master
2020-06-02T05:25:04.286876
2015-06-24T12:42:02
2015-06-24T12:42:02
20,104,796
0
1
null
null
null
null
UTF-8
Python
false
false
220
py
__author__ = 'mpetyx' from django.contrib import admin from .models import OpeniStatus from OPENiapp.admin import api_admin class StatusAdmin(admin.ModelAdmin): pass api_admin.register(OpeniStatus, StatusAdmin)
[ "mpetyx@gmail.com" ]
mpetyx@gmail.com
0bbd66175cc1370ba60e6d60d8e8bffd5f436d6f
feba3c32aac7f17d8fbaf6ef7bb4d229844f8247
/pretreatment/partition/train_test_split_label/main.py
a0f21a8996028fe6b471912c2a088f5f95bf409e
[]
no_license
lisunshine1234/mlp-algorithm-python
d48aa1336ae7c4925a0e30f4f09fa6de21f83d0e
898359a10f65f16e94f3bb27cc61f3837806ca68
refs/heads/master
2023-05-01T11:11:47.465491
2021-05-24T13:53:40
2021-05-24T13:53:40
291,934,886
0
0
null
2021-05-24T13:42:15
2020-09-01T08:00:17
Python
UTF-8
Python
false
false
1,056
py
import run as r def main(array, label_index, test_size=None, train_size=None, random_state=None, shuffle=None): if type(array) is str: array = eval(array) if type(label_index) is str: label_index = label_index if type(test_size) is str: test_size = eval(test_size) if type(train...
[ "178513111@qq.com" ]
178513111@qq.com
5bdc1d215bc9f0e327f42612aef6b1c96c20a965
5537eec7f43098d216d2b550678c8d10b2a26f09
/projects/razor/code.py
cf7c6240c45253a669c644d1252b2e0df5c7f68c
[]
no_license
wipro-sdx/Automation
f0ae1512b8d9d491d7bacec94c8906d06d696407
a8c46217d0fbe51a71597b5db87cbe98ed19297a
refs/heads/master
2021-07-08T11:09:05.314435
2018-05-02T07:18:54
2018-05-02T07:18:54
131,812,982
0
1
null
2020-07-23T23:22:33
2018-05-02T07:15:28
Python
UTF-8
Python
false
false
1,105
py
#!/usr/bin/python import os import csv #filename = raw_input("Enter the input file name : ") filename = "/var/lib/awx/projects/razor/input.csv" if os.path.exists(filename): print "Given File exists... Processing it" inpfile = open (filename,'r') inpwriter = csv.reader(inpfile) inplist = list(inpwriter...
[ "admin@example.com" ]
admin@example.com
607e8e96f2e2a0512b81f1e40144e298369022fb
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/work/year_and_point/little_thing/old_case/other_number_or_work/young_day.py
3c82edbdf9ed88830947d6cbd27716ffe7c0dc45
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
#! /usr/bin/env python def want_young_problem_by_good_person(str_arg): new_child(str_arg) print('leave_new_company') def new_child(str_arg): print(str_arg) if __name__ == '__main__': want_young_problem_by_good_person('work')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
51f460148f96546d0798a7e1f1204528502100cc
eb37a5a67be87390e1dd75f2bcd79dff2a1928b2
/src/hdx/data/dataset_title_helper.py
f5c5e5bfb6e5733be268b71849431c148f755a06
[ "MIT" ]
permissive
EmmaArnold/hdx-python-api
df307720932c3371bd7682df335d8842f802d249
c10b0c75d807f8bb137d7285625bdfcf559bfc8f
refs/heads/master
2022-04-21T18:55:31.112926
2020-04-08T09:17:18
2020-04-08T09:17:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,382
py
# -*- coding: utf-8 -*- """Helper to the Dataset class for handling processing dataset titles. """ import logging import re from datetime import datetime, timedelta from parser import ParserError from string import punctuation, whitespace import six from typing import List, Tuple, Optional, Match if six.PY2: from...
[ "rans@email.com" ]
rans@email.com
a8e9d57ab8920aea29034498c15d18c6fb69da43
ca23b411c8a046e98f64b81f6cba9e47783d2584
/aloe/aloe/rfill/utils/rfill_parser.py
3e026017742efbfe29086e05fe41c1e05d19da7f
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
pdybczak/google-research
1fb370a6aa4820a42a5d417a1915687a00613f9c
0714e9a5a3934d922c0b9dd017943a8e511eb5bc
refs/heads/master
2023-03-05T23:16:11.246574
2021-01-04T11:30:28
2021-01-04T11:30:28
326,629,357
1
0
Apache-2.0
2021-02-01T12:39:09
2021-01-04T09:17:36
Jupyter Notebook
UTF-8
Python
false
false
4,760
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
fe9c2f5f95b7b5540846ae6f255d169008512371
03dde3e8657e95bcf0734c17c9c481517470f55e
/process_hm36m_movement.py
c05f68967b505b4f4095bb93ffb38fdc9613c6f1
[]
no_license
CheungBH/3DPoseVisualization
f15ff4b6eef0e671d40f82d0a26c6e2af373bd2e
741f750dad2fb392b531a20d6ee5a2f3e53f789a
refs/heads/master
2023-06-16T23:16:02.350213
2021-07-07T03:20:50
2021-07-07T03:20:50
381,207,927
0
0
null
null
null
null
UTF-8
Python
false
false
17,836
py
#-*-coding:utf-8-*- #-*-coding:utf-8-*- #-*-coding:utf-8-*- import cv2 import numpy as np import mv_utils.transformations as transformations import matplotlib.pyplot as plt import torch import copy def project_3d_points_to_image_plane_without_distortion(proj_matrix, points_3d, convert_back_to_euclidean=True): """...
[ "534660436@qq.com" ]
534660436@qq.com
56458f6c1c507b81632bb97d046ff583ac1eb747
d57ad88c29917d555084ca0de15c8c46eca4cf28
/listings/admin.py
f1e7e37b96232680f44bad31a5160f6a7243022c
[ "MIT" ]
permissive
EugeneZnm/A-HOMES
1c5d2f42a677ca1863794a76bae2ad6dfdc00230
b73fa5ec74eca177ca96920ed7ff7adca5f1e9e6
refs/heads/master
2021-09-09T13:14:04.627810
2019-06-24T23:04:39
2019-06-24T23:04:39
174,330,946
2
0
null
2021-09-08T01:04:44
2019-03-07T11:23:37
Python
UTF-8
Python
false
false
570
py
from django.contrib import admin from .models import Listing #adding listing object properties that are visible on admin dashboard after publishing class ListingAdmin(admin.ModelAdmin): list_display = ('id', 'title', 'is_published', 'price', 'list_date', 'realtor') list_display_links = ('id', 'title') list_filter =...
[ "eugenenzioki@gmail.com" ]
eugenenzioki@gmail.com
398c79d48f23b8d8446c264911cdf6a9aebe0e1e
39b0d9c6df77671f540c619aff170441f953202a
/PYTHON LIBRARY/SUB_8/multiprocessing_simple.py
02ba77507f09cf51f71333fccce8312ebb8054d5
[]
no_license
yeboahd24/Python201
e7d65333f343d9978efff6bf86ce0447d3a40d70
484e66a52d4e706b8478473347732e23998c93c5
refs/heads/main
2023-02-06T10:24:25.429718
2020-12-26T01:08:04
2020-12-26T01:08:04
306,487,550
2
0
null
null
null
null
UTF-8
Python
false
false
219
py
import multiprocessing def worker(): """worker function""" print('Worker') if __name__ == '__main__': jobs = [] for i in range(5): p = multiprocessing.Process(target=worker) jobs.append(p) p.start()
[ "noreply@github.com" ]
yeboahd24.noreply@github.com
4ad75664e985935ef254c6aa57745127ad082513
3e0c57628c39e5042ed068451608a33b5edcf5df
/codex-py/codex/cmdb/cmdb.py
ce2b6c3ccebab86d467c8b8ba4af81cdf496cc9a
[ "Apache-2.0" ]
permissive
egustafson/home-sensors
5bd3c0f51be9a0a1f360ef41b45cbdfb3069286f
232b36fe6fa2a2e3bce1391a91dffa192f17b835
refs/heads/master
2023-05-10T17:12:10.991008
2020-01-03T23:57:56
2020-01-03T23:57:56
141,070,153
0
0
Apache-2.0
2023-05-01T20:20:24
2018-07-16T01:03:59
Python
UTF-8
Python
false
false
2,330
py
# -*- coding: utf-8 -*- """ CMDB Interface """ import uuid from codex.config import Config, ConfigItem, ManagedObject class CMDB(object): """ An In-Memory CMDB """ def __init__(self, dao, config): self._dao = dao self._config = config self._oper_tag = self._config.get("operational-t...
[ "eg-git@elfwerks.org" ]
eg-git@elfwerks.org
10e424535c1138a0d2e91e177d2fdaf397769cdb
1b5ef7d653d0c747990c08384d64828830b51ef8
/trax/layers/research/efficient_attention_test.py
e8d566a9e0a9f4a8ae4dd9b6fcd66cdb77783521
[ "Apache-2.0" ]
permissive
stephenjfox/trax
1c0186ade7db2cdc612f87e0a9616279ea9f53f5
918b1ce2ad63a24cb957ebc8e8ea0af1ee272666
refs/heads/master
2022-05-21T03:53:04.231443
2022-04-04T16:39:43
2022-04-04T16:40:45
236,031,296
0
0
Apache-2.0
2020-01-24T15:46:54
2020-01-24T15:46:53
null
UTF-8
Python
false
false
17,561
py
# coding=utf-8 # Copyright 2022 The Trax 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 or a...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
0b5b24be8f47572364c6a200063f6adb1a94c652
45f0e67d9213d17465f35697b786d15629ddbdb1
/Server/project/check/forms.py
c2cf290afe33598cadf338277e096a4445665e0b
[]
no_license
NightKirie/SafeHome
c827b3432ac0ebdf8185a44537628fd38dcbb931
4a60225eddb5dce0cb2ec1c94b2e72613fb65674
refs/heads/master
2023-01-12T21:59:45.697824
2019-08-29T18:06:16
2019-08-29T18:06:16
184,235,542
1
0
null
2023-01-03T20:51:29
2019-04-30T09:44:42
JavaScript
UTF-8
Python
false
false
185
py
from django import forms from .models import CaseFiles class UploadFileForm(forms.ModelForm): class Meta: model = CaseFiles fields = ('description', 'document', )
[ "sky712345678@hotmail.com" ]
sky712345678@hotmail.com
4cfa1fb37ad03bd18bf3713aa306e0103f1ee8a6
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc017/A/4825521.py
ff81920998364ea8da7bc71cdc0da6b71f93a47d
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
140
py
n = int(input()) if n == 1: print("YES") exit() for i in range(2,int(n**0.5)+1): if n%i == 0: print("NO") exit() print("YES")
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
6694e6ab8f82a5e944db43c1dc5f9ef43b241f98
05148c0ea223cfc7ed9d16234ab3e6bb40885e9d
/Packages/matplotlib-2.2.2/examples/images_contours_and_fields/matshow.py
376ba514dc0083c8738b8c8e5ff01b3e4888cc86
[ "MIT" ]
permissive
NightKirie/NCKU_NLP_2018_industry3
9ee226e194287fd9088429f87c58c874e050a8b3
23ac13644b140587e23cfeffb114c7c6f46f17a2
refs/heads/master
2021-06-05T05:33:09.510647
2018-07-05T10:19:47
2018-07-05T10:19:47
133,680,341
1
4
MIT
2020-05-20T16:29:54
2018-05-16T14:43:38
Python
UTF-8
Python
false
false
366
py
""" ======= Matshow ======= Simple matshow() example. """ import matplotlib.pyplot as plt import numpy as np def samplemat(dims): """Make a matrix with all zeros and increasing elements on the diagonal""" aa = np.zeros(dims) for i in range(min(dims)): aa[i, i] = i return aa # Display matrix...
[ "qwer55113322@gmail.com" ]
qwer55113322@gmail.com
8921306b2c72ea39469703d1c93286ddf336926a
396d4d9b26c14803ab7c9e1e514cc23555b31023
/rbac/app01/migrations/0003_permission_action.py
2d665af574ff13b56df65cd16bde857c8fea89e6
[]
no_license
mbg17/superlist
85c5085c94ec22429cb66460701ed335337595c2
c8375fdefba19952dbaf1a119260ba207d3f3ce3
refs/heads/master
2022-12-17T19:42:54.010514
2020-01-17T04:49:32
2020-01-17T04:49:32
163,076,518
1
0
null
null
null
null
UTF-8
Python
false
false
504
py
# Generated by Django 2.2 on 2019-10-05 13:04 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('app01', '0002_auto_20191005_2047'), ] operations = [ migrations.AddField( model_name='p...
[ "18917963668@163.com" ]
18917963668@163.com
a68f36be37962a5841ad595a09fb2c953a15ad91
5700dc79f4904dc525712f3d447135ebb9427a40
/python/graphscope/experimental/nx/tests/algorithms/forward/test_vitality.py
15bdc3bedd85a46ea6501981a2980e62b89d78b4
[ "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-elastic-license-2018", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-other-permissive", "BSL-1.0" ]
permissive
shanwf/GraphScope
9eea31913087337928a631d99185e170b712bc40
055480bbd4527ec7b7fa434278392f098efaac52
refs/heads/main
2023-04-02T11:12:43.386442
2021-02-22T12:47:21
2021-02-22T12:47:21
341,216,550
1
0
Apache-2.0
2021-02-22T13:52:08
2021-02-22T13:52:07
null
UTF-8
Python
false
false
679
py
import networkx.algorithms.tests.test_vitality import pytest from graphscope.experimental.nx.utils.compat import import_as_graphscope_nx from graphscope.experimental.nx.utils.compat import with_graphscope_nx_context import_as_graphscope_nx(networkx.algorithms.tests.test_vitality, decorators=py...
[ "linzhu.ht@alibaba-inc.com" ]
linzhu.ht@alibaba-inc.com
67e360d6b22b627314eddbf0b59f35a4ac740966
6223dc2e5de7921696cb34fb62142fd4a4efe361
/.metadata/.plugins/org.eclipse.core.resources/.history/28/a0fbe472378f001414849ea2c9622fd7
730e2672b6e68c65f779c27f348603f9a29dd636
[]
no_license
Mushirahmed/python_workspace
5ef477b2688e8c25b1372f546752501ee53d93e5
46e2ed783b17450aba29e4e2df7b656522b2b03b
refs/heads/master
2021-03-12T19:24:50.598982
2015-05-25T10:23:54
2015-05-25T10:23:54
24,671,376
0
1
null
2015-02-06T09:27:40
2014-10-01T08:40:33
Python
UTF-8
Python
false
false
3,982
#!/usr/bin/env python # # Copyright 2014 <+YOU OR YOUR COMPANY+>. # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This software is dis...
[ "imushir@gmail.com" ]
imushir@gmail.com
9e110bb70ab0b4b29765af88e10b22b6b290fc13
72b77f97876983025eb05a5aa1d6f248a1be3074
/strange_printer.py
8f2399e2e55fd496fe2d67910aace9fa8d6f2066
[ "Apache-2.0" ]
permissive
erjan/coding_exercises
4c6bccb2cdac65ccbc3107a482914275ecd157f7
68dac358a6d4dabd41d47dbd4addb2ec50e0ca11
refs/heads/master
2023-09-02T07:25:30.886175
2023-08-27T06:13:06
2023-08-27T06:13:06
236,281,070
5
0
Apache-2.0
2020-05-05T15:08:49
2020-01-26T07:32:09
Python
UTF-8
Python
false
false
885
py
''' There is a strange printer with the following two special properties: The printer can only print a sequence of the same character each time. At each turn, the printer can print new characters starting from and ending at any place and will cover the original existing characters. Given a string s, return the minimum...
[ "noreply@github.com" ]
erjan.noreply@github.com
aebcbab802b331fdf4fd48f2ef52ecd2b04300d0
b6ddb33452155df74d059d169b74566c3e53e4ae
/nuitka/tree/ReformulationForLoopStatements.py
cbc1e3b2e1e76c3bb309f30b17eec0586ee42483
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
andrewleech/Nuitka
b9310f90f9644ba09f03705c229d74c4868f972c
4b0c44ec12e4ec7a2520b1e079b03d9934570fbf
refs/heads/develop
2021-09-14T09:23:00.530139
2018-05-11T06:40:13
2018-05-11T06:40:13
109,562,431
0
0
null
2017-11-05T08:16:31
2017-11-05T09:16:31
null
UTF-8
Python
false
false
8,561
py
# Copyright 2018, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
2a4232e331368b75501064cc7fa86096f199bd2d
ab79f8297105a7d412303a8b33eaa25038f38c0b
/education/library/library_editor_supplier.py
a969044a6832150eb8920873e399c262aae322df
[]
no_license
adahra/addons
41a23cbea1e35079f7a9864ade3c32851ee2fb09
c5a5678379649ccdf57a9d55b09b30436428b430
refs/heads/master
2022-06-17T21:22:22.306787
2020-05-15T10:51:14
2020-05-15T10:51:14
264,167,002
1
0
null
2020-05-15T10:39:26
2020-05-15T10:39:26
null
UTF-8
Python
false
false
6,361
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # Copyright (C) 2011-2012 Serpent Consulting Services (<http://www.serpentcs.com>) # Copyright (C) 201...
[ "prog1@381544ba-743e-41a5-bf0d-221725b9d5af" ]
prog1@381544ba-743e-41a5-bf0d-221725b9d5af
a23f6bc35b179007baa54857c438a0f449fd6c6a
4b2b8bd174178d001ae7b0ff829b36808cb9beac
/behaviour/tdms/mantis_videoframes_test.py
f68e9f06da68a65b967d8b7da0035e481177b27c
[]
no_license
BrancoLab/Behaviour
712407c2ccd5d4ca007db0f189ed8c2984c38487
ab118067e7a8073ffd8a8b2b6668cfcb4bdeb273
refs/heads/master
2020-12-24T00:44:57.655486
2020-12-08T18:02:05
2020-12-08T18:02:05
237,327,115
4
0
null
null
null
null
UTF-8
Python
false
false
5,738
py
import sys sys.path.append('./') import os from fcutils.file_io.utils import check_file_exists from behaviour.tdms.utils import open_tdms, get_tdms_group_channels, get_video_params_from_metadata_tdms from behaviour.tdms.utils import get_analog_inputs_clean_dataframe from behaviour.utilities.signals import get_frames...
[ "federicoclaudi@protonmail.com" ]
federicoclaudi@protonmail.com
4e1c03f96f2f1352172d12197b46bf193b1d0ae5
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_083/ch85_2020_05_06_16_45_17_336077.py
cceafbd6759dc6a4f5e7afe79eaffb06871c589b
[]
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
156
py
contador=0 with open('macacos-me-mordam.txt') as arquivo: conteudo=arquivo.readlines() if 'banana' in conteudo: contador+=1 print(contador)
[ "you@example.com" ]
you@example.com
efc3b8cc25392d19df37eaa6e8f09f9f6a90d351
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02922/s998443692.py
c506d57bf3278b791e02db267e94e21d5ba7f213
[]
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
138
py
A, B = map(int, input().split()) tup = A i = 1 if B==1: print('0') else: while tup < B: tup = tup - 1 + A i += 1 print(i)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7d1f5155a7be032d8cf7e0083a0d092dca6e4d7b
6bdb32ddbd72c4337dab12002ff05d6966538448
/gridpack_folder/mc_request/LHEProducer/Spin-2/BulkGraviton_hh_hVVhbb_inclusive/BulkGraviton_hh_hVVhbb_inclusive_narrow_M1000_13TeV-madgraph_cff.py
87184f7b8bf17028a67e5a2b652071262caac465
[]
no_license
cyrilbecot/DibosonBSMSignal_13TeV
71db480de274c893ba41453025d01bfafa19e340
d8e685c40b16cde68d25fef9af257c90bee635ba
refs/heads/master
2021-01-11T10:17:05.447035
2016-08-17T13:32:12
2016-08-17T13:32:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
import FWCore.ParameterSet.Config as cms # link to cards: # https://github.com/cms-sw/genproductions/tree/31b6e7510443b74e0f9aac870e4eb9ae30c19d65/bin/MadGraph5_aMCatNLO/cards/production/13TeV/exo_diboson/Spin-2/BulkGraviton_hh_hVVhbb_inclusive/BulkGraviton_hh_hVVhbb_inclusive_narrow_M1000 externalLHEProducer = cms....
[ "syu@cern.ch" ]
syu@cern.ch
4f7d1409bd8a99a415173abc5d0a14e42ed34d1a
98beeffab0570eb7e4bd2785fc195658e18aa6dd
/SRC/engine/IO/meshcsdisplay.py
96106fa9c0c627bf1cb21f70b821e1c8a2c38680
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
shkeshavarz/OOF2
27f59bb04775b76ad250ecfd76118b3760647bba
0f69f535d040875354cd34e8bbedeae142ff09a3
refs/heads/master
2021-01-15T15:32:10.713469
2016-01-13T14:44:20
2016-01-13T14:44:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,638
py
# -*- python -*- # $RCSfile: meshcsdisplay.py,v $ # $Revision: 1.27 $ # $Author: langer $ # $Date: 2010/12/07 21:57:04 $ # $Revision: 1.27 $ # $Author: langer $ # $Date: 2010/12/07 21:57:04 $ # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the Un...
[ "lnz5@rosie.nist.gov" ]
lnz5@rosie.nist.gov
022216e65da2b37592f56bdb7e5caadacd81ade0
9680c27718346be69cf7695dba674e7a0ec662ca
/Python-book-OOP/8.py
290101a03f826e1f3a3fef20bd70abfd97f0c35d
[]
no_license
Md-Monirul-Islam/Python-code
5a2cdbe7cd3dae94aa63298b5b0ef7e0e31cd298
df98f37dd9d21784a65c8bb0e46d47a646259110
refs/heads/main
2023-01-19T05:15:04.963904
2020-11-19T06:10:09
2020-11-19T06:10:09
314,145,135
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
class C: def show(self): print('You can see me.') def _Notshow(self): #under score means private method. print('You can not see me.') C().show() C()._Notshow()
[ "61861844+Md-Monirul-Islam@users.noreply.github.com" ]
61861844+Md-Monirul-Islam@users.noreply.github.com
3ad6d010303403680939eae3736fc2e57a2647a9
fdb27f8ec80eaea1de9924bbb911bdb3d4bd330e
/controlsw/gse.py
55369f17831e1bc7655730c7372c67214ddf240d
[]
no_license
mfkiwl/vulcan2
7cb408cb0fa712f0b73cc82131dee050584ba559
8443dc9be8132fc6a46b5bb5168c79c7bef5b6f3
refs/heads/master
2022-04-07T01:00:39.185021
2020-03-02T05:56:58
2020-03-02T05:56:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
#!/usr/bin/env python """ Copyright (c) 2019 Alex Forencich 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, merg...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
6bcd688670f1c0b860adf7779d4b95526d8cb935
e80e5374b8fd00379293adb35fc8cf017d5f4cc7
/qemu_mode/qemu-2.10.0/tests/image-fuzzer/qcow2/__init__.py
e2ebe193113a8f940326d16bd6f4857d581a0ab9
[ "GPL-2.0-only", "LGPL-2.1-only", "GPL-1.0-or-later", "LGPL-2.0-or-later", "LGPL-2.1-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
CAFA1/afl
dcebf3a3acae3e9783bbb79d8cff6958b496fa34
01c113b61ab70c3b02f3d7c74e6dfa20cfc7813d
refs/heads/master
2023-04-10T14:30:34.901666
2020-07-27T01:06:32
2020-07-27T01:06:32
272,596,630
0
2
Apache-2.0
2021-04-15T00:56:55
2020-06-16T03:03:26
C
UTF-8
Python
false
false
32
py
from layout import create_image
[ "longlong_vm@dell_book.com" ]
longlong_vm@dell_book.com
bf653fc97f4dea7cab7899b06738e7f5ff8eb938
863846c438676fa4d083238f8b07ca473ee3c928
/modeler/modeling/constants.py
469d9907e1981b59908c345f0c496d6880c7e764
[]
no_license
micahjsmith/modeler
367b609ffb8fbfa505c45615863c208295cc94f1
ac9b33aac4b492154c1d3c1086d15948650f02bf
refs/heads/master
2020-09-25T07:53:02.698541
2019-12-04T20:47:03
2019-12-04T20:54:54
225,954,816
0
0
null
null
null
null
UTF-8
Python
false
false
1,751
py
RANDOM_STATE = 1754 def _make_multiclass(lst): return [ l + '_' + MULTICLASS_METRIC_AGGREGATION for l in lst ] MULTICLASS_METRIC_AGGREGATION = "micro" CLASSIFICATION_SCORING = ['accuracy', 'roc_auc'] BINARY_CLASSIFICATION_SCORING = ( CLASSIFICATION_SCORING + ['precision', 'recall']) M...
[ "micahjsmith@gmail.com" ]
micahjsmith@gmail.com
e1dda7ac3fec24d95e7c4887ad42fdaba2533d43
113b962bd5e2eb770067bd374a15dfe8a1c2d09f
/py_scripts/tophit/tophit_matrixfilter2.py
70dc428d2cdc5c721608e517bda51a21f588ac55
[]
no_license
aungthurhahein/biotech_script
ecce51950bcef69405843da12ece2f84ea5541d6
2fda699343e6c46543fa1df2412c8ca2f2622cda
refs/heads/master
2020-12-24T06:20:13.028141
2016-07-06T15:23:34
2016-07-06T15:23:34
25,574,741
5
0
null
null
null
null
UTF-8
Python
false
false
2,862
py
#! /usr/bin/env/ python """ # # usage: # output: # Dev: __author__ = 'aung' # Date: """ import sys matrixfile = sys.argv[1] queryfile = sys.argv[2] openmatrix = open(matrixfile, 'r') openquery = open(queryfile, 'r') matrixqueryid = [] atm80 = [] nonshrimp80 = [] matrix_record = [] for line in openmatrix: line_s...
[ "aungthurhahein@gmail.com" ]
aungthurhahein@gmail.com
53bbc3ef97f490ad006e4d106a076127825cd26e
8ba374d47c1630754951d4b873eec80b1373f141
/python/analyzeZtoDiTau_factorized_cff.py
cbcf4bdf31247a3298e64bdf44cf8e743966ea53
[]
no_license
cms-analysis/TauAnalysis-Configuration
8ff62226cdcc9fdb484831c1bdd33a08454d8f18
9d873b70892042bc36e4a87c3b65c4b3a716315e
refs/heads/master
2016-09-06T15:27:05.675616
2013-06-28T20:10:42
2013-06-28T20:10:42
11,312,861
0
1
null
null
null
null
UTF-8
Python
false
false
4,083
py
import FWCore.ParameterSet.Config as cms #-------------------------------------------------------------------------------- # import the two configs for event selection, event print-out and analysis sequence # of Z --> tau-jet + tau-jet events with loose and with tight tau id. criteria applied; # import config of "regu...
[ "sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch" ]
sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch
4696bbea1b9412cc02e6713267e82e7e1269923d
3f9d28984403cdd84b984d7a82eb6136018966a4
/beauty_hr/wizard/report_employee.py
174c0bb90bf3c60b1bfeb1dd0902b7356ce50e76
[]
no_license
joevm018/temasq
bee1c69aee4c87de415e66e236b40c28201e2951
74f003c6a009716bf26a6438f5ee48e7dfcbb030
refs/heads/master
2023-03-18T23:42:13.598853
2021-03-11T11:35:16
2021-03-11T11:35:16
346,671,390
0
1
null
null
null
null
UTF-8
Python
false
false
2,479
py
from odoo import api, fields, models,_ from odoo.exceptions import UserError from datetime import datetime, timedelta class EmployeeReport(models.TransientModel): _name = 'employee.report' employee_id = fields.Many2one('hr.employee', string='Employee') @api.multi def generate_report(self): e...
[ "esreejishnu@gmail.com" ]
esreejishnu@gmail.com
bf60f49c38ac05dac2c2370f36639cb20f158e2b
bab1a70f0b843949bad9588642ecf026642bb7c3
/intr_cake/movie_n_flight.py
e4d5d6e7c287874acda5750a143646f2eee5f474
[]
no_license
makhmudislamov/leetcode_problems
6fc270255ad684acd0863189e7702e3c6654e26f
fcbae727d19960efdd16a1ebff9dcaafa3b5e65b
refs/heads/master
2021-01-16T07:03:55.367430
2020-05-05T21:43:43
2020-05-05T21:43:43
243,018,019
0
0
null
null
null
null
UTF-8
Python
false
false
3,177
py
""" Users on longer flights like to start a second movie right when their first one ends, but they complain that the plane usually lands before they can see the ending. So you're building a feature for choosing two movies whose total runtimes will equal the exact flight length. Write a function that takes an integer f...
[ "sunnatovichvv@gmail.com" ]
sunnatovichvv@gmail.com
99601075eb660a01e1848b4b08cf5aac90c4eba1
507d3f0e221d3396e19caad0b40a9ecfb2e781e3
/models/review.py
23ac3ee9e273757098f428221410ba71d3040f2e
[]
no_license
hanhuyeny2k/AirBnB_clone
a8e5516e87eee837dbf77fe5a9b37881fdc86902
fbb85d3af32bd5dc6dcb28b9ff5b2a8e22b65149
refs/heads/master
2020-09-06T09:24:59.999577
2019-11-25T04:32:52
2019-11-25T04:32:52
220,385,389
2
1
null
null
null
null
UTF-8
Python
false
false
235
py
#!/usr/bin/python3 """ Provides a class 'Review' that inherits from 'BaseModel' """ import models class Review(models.base_model.BaseModel): """ Defines a review model """ place_id = "" user_id = "" text = ""
[ "pdeyoreo@gmail.com" ]
pdeyoreo@gmail.com
5ecfb699a21658d307ece71d54d9bb2c18a48e08
035baef80c0e7d51d4d7bd842ccbc72e9a4e5b9d
/app/controllers/auth/__init__.py
71d60c6bf1a23ba17ea4bcea84e1d58a405632a3
[]
no_license
iamFIREcracker/expensio
7864950d5716800b650981a07835ef14cadea264
e95ae4ae1f942d5f005a3641293b706215d41744
refs/heads/master
2020-12-02T19:52:45.448116
2013-05-30T05:32:03
2013-05-30T05:32:03
231,099,629
0
0
null
2020-01-06T19:48:29
2019-12-31T14:08:26
Python
UTF-8
Python
false
false
651
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from .google import LoginGoogleHandler from .google import LoginGoogleAuthorizedHandler from .facebook import LoginFacebookHandler from .facebook import LoginFacebookAuthorizedHandler from .twitter import LoginTwitterHandler from .twitter import LoginTwitterAuthorizedHandl...
[ "matteo@matteolandi.net" ]
matteo@matteolandi.net
d203dd384964e9332972adb0e6e13411a0777b78
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/WebMirror/management/rss_parser_funcs/feed_parse_extract13ThlaboratoryLink.py
da2745428ff9cc2e7787c65f9f58f9487f803577
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
551
py
def extract13ThlaboratoryLink(item): ''' Parser for '13thlaboratory.link' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('PRC', 'PRC', 'translated'), ('Loiterous', ...
[ "something@fake-url.com" ]
something@fake-url.com
539d85244161297b2fb7ae7d14def1fb90e1d498
2d9c140f61e8460b795c908559322bbd59e75c8c
/myadmin/views/shop.py
d30b2f2ab25f025d87e51936340e4102fb39ebfe
[]
no_license
shidoutsuruya/my_web
34fdb47e616983cb0415dffd4f150d045653e9aa
eb7b95c70118eb00c45682d2e0ee896d11edaa3c
refs/heads/master
2023-07-31T07:44:24.842307
2021-09-26T14:44:39
2021-09-26T14:44:39
395,660,466
0
0
null
null
null
null
UTF-8
Python
false
false
4,399
py
#views for shop from django.shortcuts import render from django.http import HttpResponse from myadmin.models import User from django.core.paginator import Paginator import hashlib from datetime import datetime import random from myadmin.models import Shop import os # Create your views here. def index(request,pIndex=1...
[ "shidoutsuruya@gmail.com" ]
shidoutsuruya@gmail.com
4660ffbd5a25a42c4aca78b3d9018af68cc662ae
44abbb4df8626dae7a140ef36e2e621abe3849e7
/testing/plotting/plot_massComparison.py
a2e0bf55531290f1f7a1364e196e463517242b2b
[ "MIT" ]
permissive
boada/HETDEXCluster
7697bfbeff4fc2bbfecde03bb21409fa1da0eccf
43a8cff54619f85e837afd2f78aa9be8ec6ac8c6
refs/heads/master
2020-04-05T13:10:41.380689
2020-01-10T17:54:53
2020-01-10T17:54:53
32,884,462
2
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
import pylab as pyl from mpl_toolkits.axes_grid1 import axes_grid import h5py as hdf from astLib import astCalc as aca def mass(vd, z, a): return (vd/a)**(3.) * 1e15/(aca.H0 * aca.Ez(z)/100) f = hdf.File('../results/stat_testing346304.hdf5', 'r') dset = f[f.keys()[0]] result = dset.value # filter out bad value...
[ "stevenboada@gmail.com" ]
stevenboada@gmail.com
88780f3918fcb135641706c86c32f45dcbb9fb96
86c082438a001ba48617aa756439b34423387b40
/src/the_tale/the_tale/game/companions/abilities/effects.py
7a589bf8f0c3eb153ed3663e091d43507f605da1
[ "BSD-3-Clause" ]
permissive
lustfullyCake/the-tale
a6c02e01ac9c72a48759716dcbff42da07a154ab
128885ade38c392535f714e0a82fb5a96e760f6d
refs/heads/master
2020-03-27T21:50:56.668093
2018-06-10T17:39:48
2018-06-10T17:39:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,039
py
from rels import Column from rels.django import DjangoEnum from the_tale.game import relations as game_relations from the_tale.game.balance import constants as c from the_tale.game.heroes import relations as heroes_relations from the_tale.game.heroes.habilities import nonbattle as nonbatle_abilities from the_tale.g...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
0e433ab09182a7c0a7b4b2933d11c8cb911cdb91
b785b30ea8e8321ecadd9c11ad324ebb9e6e9704
/ds/age.py
f840fd68d2b418f38939b4fba938aca180779f36
[]
no_license
santoshgawande/PythonPractices
8d01e7274906c5c4c8df71d59fddda4b22aa20db
35e220304fb00cb3f9c53ad1de8e6ed4b190d1b7
refs/heads/master
2022-08-10T21:37:40.072826
2022-07-27T15:25:57
2022-07-27T15:25:57
209,746,642
1
1
null
null
null
null
UTF-8
Python
false
false
343
py
#accept name and age and print that user age will be 100yrs in this year import datetime curr =datetime.date.today() #print(curr.year) name = input('enter name: ') age = int(input('enter age: ')) rem = 100 - age #print(rem) fyear = int(curr.year) + rem print('{} will be 100yrs old in the year: {}'.format(name,fyear))...
[ "gawandesantos@gmail.com" ]
gawandesantos@gmail.com
33cc1060acaba10ab77b30055b6b3fa0c3a8c47c
3959e26a9b1529754757349b2fe69bf84d1bb681
/apps/userware/__init__.py
105833afe9f771cbacda414f41a1677b68de4e21
[ "BSD-3-Clause" ]
permissive
gajanp/djangoware
fc52e4a8219fa7ab9369815ca080448ab5bcede4
00845c5293ac2988bac1a14ee0a2f86ac8912533
refs/heads/master
2021-01-12T22:34:42.281475
2013-10-22T14:38:53
2013-10-22T14:38:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
__author__ = 'Val Neekman [neekware.com]' __description__ = 'This application attempts to provide better control over user management and audit process.' __version__ = '0.0.1' import listeners
[ "val@neekware.com" ]
val@neekware.com
7201bfa990da60c536630c0945485da9bdd44d07
195d6a00ed824db8b7417948239f01e40ebbfe8b
/Public/notable/del_example.py
4934f8a7ef87b24abd811219157f90e113e364ac
[]
no_license
bigsnarfdude/generatorsCoroutinesPYDATA
a9dc687b89bc7f0aa61de637fc6396242feef581
1cd10d92792b9977f4eb4a806a685ab609ebada0
refs/heads/master
2021-01-10T22:02:08.583490
2012-11-27T17:43:47
2012-11-27T17:43:47
6,887,897
0
1
null
null
null
null
UTF-8
Python
false
false
156
py
class Foo(object): def __init__(self): print 'Foo.__init__' def __del__(self): print 'Foo.__del__' x = Foo() y = x del x print 'end of my programme'
[ "ohprecio@gmail.com" ]
ohprecio@gmail.com
c539d85975a75c7fc39c1bc545ca5e87bb81f61c
8502822dbc75e04d1f7b0419707b45656f99875b
/Arrays and Strings/reverse.py
5c3e3cd2eab305589185c1a292281b75e0091485
[]
no_license
vipmunot/Cracking-the-Coding-Interview
782a9023d8b9caa3b2ad53cabb6397fe673dcc8a
7fed7ff953ae211b88c7bd823db2b8689364aafc
refs/heads/master
2021-01-09T05:24:20.919673
2017-03-30T00:06:03
2017-03-30T00:06:03
80,762,843
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 2 15:14:26 2017 @author: Arihant """ #Implement a function void reverse(char* str) in C or C++ which reverses a nullterminated string.
[ "vipmunot@gmail.com" ]
vipmunot@gmail.com
04804983efea9a0020001dc9441fa49e08a23bff
aaf26199fe393efc0dd38994115a3b06be6a0ba0
/nmigen_boards/versa_ecp5_5g.py
02fa8b1844d4a68f5cc31971164012d60eb48865
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
zignig/nmigen-boards
4e9e0dae5b452a3a58239ea7b621fe4a82135e65
dd4f68d1cd7cd44392772193669c2a2671b728d2
refs/heads/master
2020-05-31T08:42:55.122800
2019-08-22T11:53:00
2019-08-22T11:53:00
190,195,296
0
0
null
2019-06-04T12:18:44
2019-06-04T12:18:44
null
UTF-8
Python
false
false
346
py
from .versa_ecp5 import VersaECP5Platform __all__ = ["VersaECP55GPlatform"] class VersaECP55GPlatform(VersaECP5Platform): device = "LFE5UM5G-45F" # Everything else is identical between 3G and 5G Versa boards. if __name__ == "__main__": from ._blinky import Blinky VersaECP55GPlatform().build(B...
[ "whitequark@whitequark.org" ]
whitequark@whitequark.org
b166aa69b35d6755a5d5981d17d1ede2212381dd
7ee4ec31269822a1052a04e497c83a3e2c2816f9
/python/Opencv/opencv_prymid.py
fc5bbcbd76b5c0bb7165ee013c07a2ee5dfb54e1
[]
no_license
Lizi2hua/Understanding-Python
bbda132d527f11f76e47fa3ef3f5ff7959a2acfd
6db6990efc7c20a543598447ad91026f8edeaf09
refs/heads/master
2022-11-20T21:04:55.369791
2020-07-29T09:43:10
2020-07-29T09:43:10
262,246,884
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
import cv2 # 高斯金字塔 img=cv2.imread('images/1.jpg') # for i in range(5): # cv2.imshow(f'img{i}',img) # # img=cv2.pyrUp(img) # img=cv2.pyrDown(img) # 拉普拉斯金字塔 img_down=cv2.pyrDown(img) img_up=cv2.pyrUp(img_down) # 这一步图片变得模糊 cv2.imshow('0',img) cv2.imshow('1',img_up) img_new=cv2.subtract(img,img_up) # 这一步得到边缘图像...
[ "1050100964@qq.com" ]
1050100964@qq.com
2bdab7bb2758096d1e7b59d492bb05af0438a6fa
c287efc62bf76323f99f0e8e8460c67123bbe9c4
/getdeal/apps/categories/tests.py
2a80e3d9a0ce64b8fea27f17a15e9f7a4e17e8e9
[]
no_license
PankeshGupta/getdeal
ff702e1ab629a06bc6d7ad012c55bc0b0e0c1415
b0702a8f7f60de6db9de7f712108e68d66f07f61
refs/heads/master
2020-03-18T14:15:37.874570
2015-02-23T00:12:58
2015-02-23T00:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,038
py
# -*- coding: utf-8 -*- """ Created on Aug 23, 2013 """ from model_mommy import mommy from django.db.utils import IntegrityError from django.test import TestCase from apps.dsites.models import DSite from .models import (Category, CategoryMapping, SubCategory, SubCategoryMapping, CategoryStats, S...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
0c4c8c74696eab8aa028bde7da2fe40d204821eb
af8c56aad0809884595303b773c1139a4728197a
/pytreex/block/t2a/cs/generatewordforms.py
e0b11290a1b2a897e3127fa4b258310d12eb8961
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
leotilli/pytreex
773268feb1f760f29624929ff6e3d03125cdfba3
a40bfb9f33ffdb931993b30879830f1c898f1414
refs/heads/master
2020-04-20T22:26:07.603674
2017-04-04T17:31:37
2017-04-04T17:31:37
169,139,395
0
0
NOASSERTION
2019-02-04T19:54:59
2019-02-04T19:54:59
null
UTF-8
Python
false
false
5,034
py
#!/usr/bin/env python # coding=utf-8 # # A Treex block # from __future__ import unicode_literals from pytreex.core.block import Block from pytreex.core.exception import LoadingException from pytreex.tool.ml.model import Model from pytreex.core.util import first import re import os.path __author__ = "Ondřej Dušek" __...
[ "odusek@ufal.mff.cuni.cz" ]
odusek@ufal.mff.cuni.cz
2ad199414a618a3c04bd3c9405022ab1e85b9107
0d1c4ec8784f51be781772dca19278efaf3eb2b4
/microblog.py
8f8cf6ef64076437fb549a83b214fb26960a2489
[ "MIT" ]
permissive
borko81/flask_with_orm
0ddaa663454eadfb15acb8cc52cdb4b41063b1b5
72d677419fc859acf4a56850a9d96b4b33127956
refs/heads/main
2023-08-16T13:27:36.509612
2021-09-27T12:42:12
2021-09-27T12:42:12
408,812,952
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from app import app, db from app.models import User, Post @app.shell_context_processor def make_shell_context(): return {'db': db, 'User': User, 'Post': Post}
[ "bstoilov81@gmail.com" ]
bstoilov81@gmail.com
745ce232502b2c6cc5115cdc7563741cf164ad37
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_serum.py
b97b96de047fe9a7ac699d24c3447e032fdef46a
[ "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
531
py
#calss header class _SERUM(): def __init__(self,): self.name = "SERUM" self.definitions = [u'the thin yellowish liquid part of the blood : ', u"serum taken from an animal's blood and put into a human in order to fight an infection or a poison: ", u'a substance in beauty products that is designed to improve your...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
7183896b48af3df0d46f22036d7baba1838195d7
409cec0b3346bbb88fdaf1df9adbd38de842f6b6
/UploadDataToES/procedures_2/Impacket Lateralization Detection.py
43e1a898dfe67ffad4ea4a70e54280fcf6528d33
[]
no_license
parahaoer/pythoncode
3276815d9cffbff768128ad83db1e344702f7bd8
7cbf7c4e0df7678335e6fbbb48115373c6a8a0df
refs/heads/master
2020-11-26T06:55:07.685666
2020-05-05T02:20:33
2020-05-05T02:20:33
228,995,890
1
1
null
null
null
null
UTF-8
Python
false
false
1,512
py
from elasticsearch import Elasticsearch es = Elasticsearch('helk-elasticsearch:9200') doc = { "query": { "bool": { "must": [ { "bool": { "should": [ { "wildcard": { "process_parent_path.keyword": """*\\explorer.exe""" ...
[ "884101054@qq.com" ]
884101054@qq.com
9ecc1834cef48bcfc62feed90a9833f97d8a4a4a
10866a1030a5ef50b632acb3643b19ad50989183
/tushare/util/upass.py
adb1fec174787f889b6d99349e6b547189b91eda
[ "BSD-3-Clause" ]
permissive
yutiansut/tushare
5406e14e9d2b7770d17c2d6d97336ed060e38edc
2c8e30753d347514c55be9b5d45295f9f62700bf
refs/heads/master
2020-12-02T22:41:07.927637
2017-12-01T02:47:10
2017-12-01T02:47:10
96,164,804
2
1
BSD-3-Clause
2018-10-05T02:18:06
2017-07-04T01:54:12
Python
UTF-8
Python
false
false
1,304
py
# -*- coding:utf-8 -*- """ Created on 2015/08/24 @author: Jimmy Liu @group : waditu @contact: jimmysoa@sina.cn """ import pandas as pd import os from tushare.stock import cons as ct BK = 'bk' def set_token(token): df = pd.DataFrame([token], columns=['token']) df.to_csv(ct.TOKEN_F_P, index=False) ...
[ "jimmysoa@sina.cn" ]
jimmysoa@sina.cn
2175743c022ffea6537546eee9a05f0f35f773c1
463841a03d245812d84b75f75e2278c56bed80a2
/src/data_profiler/expectations/metrics/column_pair_map_metrics/column_pair_values_greater.py
3bcb327319c4b890973f98de8f049f83fc3dc55b
[]
no_license
open-metadata/data-profiler
473148d5a6947ac737a8fbae1a630fc45654b014
abe50d53e9b98109e395bc8d64dfc36c086c2243
refs/heads/main
2023-08-24T13:07:38.937131
2021-09-17T02:19:33
2021-09-17T02:19:33
406,499,722
2
1
null
2021-09-17T02:19:34
2021-09-14T19:40:03
Python
UTF-8
Python
false
false
2,995
py
from dateutil.parser import parse from data_profiler.execution_engine import ( PandasExecutionEngine, SparkDFExecutionEngine, SqlAlchemyExecutionEngine, ) from data_profiler.expectations.metrics.import_manager import sa from data_profiler.expectations.metrics.map_metric_provider import ( ColumnPairMapM...
[ "sriharsha@apache.org" ]
sriharsha@apache.org
9d2a9fde292d51d96947d0ddee284a600038f481
5b4fc401c25e83f62eafd88b76b5c7f19f94f6c8
/experiments/paper/agent_eval.py
31027882209ff2477e8ba449c1339b2093b549b6
[]
no_license
sigvol/gym-microrts
5efc311ad2c0f31d997fcb8ae0f98e71d72fb89d
63ea1278b2b11e8369288ccbc47398d3310a4fec
refs/heads/master
2023-05-15T10:24:44.403280
2021-06-15T20:58:34
2021-06-15T20:58:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
44,520
py
# http://proceedings.mlr.press/v97/han19a/han19a.pdf import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F from torch.distributions.categorical import Categorical from torch.utils.tensorboard import SummaryWriter import argparse from distutils.util import strtobool import nump...
[ "costa.huang@outlook.com" ]
costa.huang@outlook.com
5bf7998360dee011266a85c83a23d67d54171971
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/swaggeraemosgi/model/com_adobe_granite_i18n_impl_bundle_pseudo_translations_properties.py
22176b46cab5ae7a29cf6173ce504c97a59915b4
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
6,971
py
""" Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0-pre.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-generator.t...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
86d21c7271e198433bcd4e4275e52474626cb7ec
9c49042776d1bd5f4b183addea302bdd248e3de7
/tasks/brainfuck_double2.py
25cd472ccd4d866b5fcdaddcea8b2bbdb10743c9
[ "MIT" ]
permissive
youknowone/brainfuck-ntm
385b791b71da37941f711297605850b78e21993f
d72b27fb5c80deb054c59b22e38cd10b93903295
refs/heads/master
2020-03-27T04:40:05.583741
2018-08-24T07:37:09
2018-08-24T07:37:09
145,959,289
0
0
null
null
null
null
UTF-8
Python
false
false
3,396
py
from __future__ import absolute_import import numpy as np import random from brainfuck.core import Instruction, State from . import brainfuck_common as common print_interval = 5 def preset_flags(FLAGS): FLAGS.controller_layer_size = 2 FLAGS.controller_dim = 200 FLAGS.max_length = 1 FLAGS.test_max_...
[ "jeong@youknowone.org" ]
jeong@youknowone.org
d46413dfb3d8936ecff0e6e2038fc18e14dc1778
9839538c26959e0c3e914751d11c39bb6a337562
/IoT python code.py
39d30bc20f7d121359e7dd00f2fd5208755a205d
[]
no_license
SmartPracticeschool/llSPS-INT-838-Smart-Agriculture-system-based-on-IoT
551d825983770aa13290e0852fb642513fe52e04
141ec539d1b2fdb34e9bec0033a92bb439aa6213
refs/heads/master
2022-09-04T08:44:50.445058
2020-05-28T15:52:00
2020-05-28T15:52:00
261,406,032
0
0
null
null
null
null
UTF-8
Python
false
false
1,866
py
import time import sys import ibmiotf.application # to install pip install ibmiotf import ibmiotf.device #Provide your IBM Watson Device Credentials organization = "o4j58x" #replace the ORG ID deviceType = "Sensor"#replace the Device type wi deviceId = "Vin_1505"#replace Device ID authMethod = "token" authToken = "Vin...
[ "noreply@github.com" ]
SmartPracticeschool.noreply@github.com
6623407bba727ee7b36fed05571234fcd439d072
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/bts.py
58f57ed8e787fe59519ee6b4646fa1109f482f12
[]
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
9011f5fb5096c6930365551687a07914078eb1fb
6957fd00afbd9e22ff4fcf970dfc61ef414cf3e4
/cwProject/cwApp/migrations/0001_initial.py
ea95d22a64e9b6048d80ff0f3762d3243e4540c5
[]
no_license
cs-fullstack-2019-spring/django-models4-cw-autumn-ragland
b92561048d6e472e33f2a5e635b1e292ead78ad1
00342f40bb221cf38346996372ca7556f1936348
refs/heads/master
2020-04-24T12:07:37.130936
2019-02-24T22:16:33
2019-02-24T22:16:33
171,946,562
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
# Generated by Django 2.0.6 on 2019-02-21 21:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Child', fields=[ ...
[ "raglanda998@gmail.com" ]
raglanda998@gmail.com
34e3d9c27552e3bb248234fcbeb8b0dac2214f2c
f489ad89691dd0c30174b3a1d46ded90b41b3135
/restmapper/__init__.py
95d2393b210d04cfb0afcc8b513cd2b50de866cb
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kamesh231/python-restmapper
1916eb8a49b231594f2fd4a6909c03582c6c80b0
533dab68787c0bc5d93d932f0567ac82099f6234
refs/heads/master
2020-04-05T21:14:52.571820
2018-04-26T19:25:30
2018-04-26T19:25:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
# -*- coding: utf-8 -*- # Copyright 2015-2017 Lionheart Software 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...
[ "dan@lionheartsw.com" ]
dan@lionheartsw.com
15765758778fc9d3f375850904c435106b1c7013
879c5ec008a65f6775ab6d080068147faea34c5f
/deck.py
6bc8b592de0349dfde814c45cc8423434742a733
[]
no_license
laurelmachak/card_games
0583a410c02ee76901f90afcc72a44fbb57c6793
55a329ac11624dff532c31abc40412822cb2a207
refs/heads/master
2020-05-09T11:12:46.081408
2019-04-12T19:27:48
2019-04-12T19:27:48
181,071,431
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
from card import Card import os class Deck(object): def __init__(self): self.cards = [] self.populate() def populate(self): suits = ["H", "S", "C", "D"] numbers = [str(n) for n in range(2,11)] + ["J", "Q", "K", "A"] for suit in suits: for num in numbers:...
[ "laurelmachak@gmail.com" ]
laurelmachak@gmail.com
dcccc930253008360acebe9d92730914cbb52070
9c73dd3043f7db7c9ec76d560484e99ad134fdb6
/students/douglas_klos/lesson06/assignment/trials/src/poor_perf_v06.py
355134ed1e1ba1a470c2c3dc4a41f1da7cf08fe2
[]
no_license
UWPCE-PythonCert-ClassRepos/py220-online-201904-V2
546b316025b680ca28d24b523663095398616b13
ac12beeae8aa57135bbcd03ac7a4f977fa3bdb56
refs/heads/master
2022-12-10T03:14:25.514630
2019-06-11T02:14:17
2019-06-11T02:14:17
179,139,181
1
19
null
2022-12-08T01:43:38
2019-04-02T18:49:10
Python
UTF-8
Python
false
false
1,440
py
#!/usr/bin/env python3 import datetime import csv def analyze(filename): found = 0 _2013 = 0 _2014 = 0 _2015 = 0 _2016 = 0 _2017 = 0 _2018 = 0 start = datetime.datetime.now() with open(filename) as csvfile: reader = csv.reader(csvfile, delimiter=",", quotechar='"') ...
[ "dougklos@gmail.com" ]
dougklos@gmail.com
34a4833dffdd011a802aa657815b9e5c0236e322
39206c42c70818066839a6a6edbd63057a9636cf
/tfx/dsl/resolvers/base_resolver.py
87336b93cfa6f7a854d0b9404b9d0251ac6a7225
[ "Apache-2.0" ]
permissive
azrin-dev/tfx
8e55d6ddad5490f39eacbbef85eb56ea71c78954
88d999b1ab767940aef96805e29bc7784652e8f0
refs/heads/master
2020-08-30T09:30:52.528197
2019-10-29T15:46:51
2019-10-29T15:47:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,547
py
# Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
f96eeede414c5e0d4eb9b13d990555190babc941
5f845ebbc2c9b40eea702833c91928ae90ae7ee5
/interview-preparation-kit/greedy-florist.py
3c7f24f064520ae42914d082f474e08e5d730524
[ "MIT" ]
permissive
imgeekabhi/HackerRank
7a1917fee5af01976aebb9c82aa1045a36487016
7fe4a308abad85ce446a28328324be480672e6fc
refs/heads/master
2022-12-28T19:13:49.098090
2020-10-11T09:29:08
2020-10-11T09:29:08
300,023,395
1
0
MIT
2020-09-30T18:48:12
2020-09-30T18:48:11
null
UTF-8
Python
false
false
622
py
#!/bin/python3 import math import os import random import re import sys # Complete the getMinimumCost function below. def getMinimumCost(k, flowers): res = 0 cnt = 0 flowers = sorted(flowers, key=lambda x: -x) for el in flowers: res += el * (1 + cnt//k) cnt += 1 retu...
[ "sergey.n.nemov@gmail.com" ]
sergey.n.nemov@gmail.com
a5a955933d61dedbb88122b9d698fd1d86155c67
5b815cab766b819fd6bdb6fcdffbe3581d426f45
/Django/restfulusers/apps/restfulusers_app/apps.py
cc9f9896f23509ef21147c5458904289dd908147
[]
no_license
ninap41/Python
8752be7b4dc7595405ff14efe5a42d65af083ca4
054c72f55a1a07393bcc729bb47c603c9530f6a7
refs/heads/master
2021-07-15T00:58:23.596861
2017-10-18T22:33:09
2017-10-18T22:33:09
105,585,381
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class RestfulusersAppConfig(AppConfig): name = 'restfulusers_app'
[ "ninapalumbo@gmail.com" ]
ninapalumbo@gmail.com
7b36ec721531ccc7fce70e04eb46c6058f7de3b3
3bfd4d2f0fac62d3f606e02a33de03ad377fdf95
/monte-carlo/potential_profiles/ab-initio-plotter.py
73013a38b1795e54acc1366dc6f11d6c4c739ec7
[]
no_license
artfin/classical-trajectories
e84d347c3faf3b3e561c2ed2f8e10e0c3120ab5a
e7c96e18fcb2de8bc18aea4a43a7bb7cd292e408
refs/heads/master
2021-01-17T09:45:22.521022
2018-01-24T15:39:42
2018-01-24T15:39:42
83,987,497
4
0
null
null
null
null
UTF-8
Python
false
false
666
py
import sys sys.path.append("/home/artfin/Desktop/repos/classical-trajectories/classical-trajectories/monte-carlo/potential_wrappers/ab-initio/derivative_wrapper") sys.path.append("/home/artfin/Desktop/repos/classical-trajectories/classical-trajectories/monte-carlo/potential_wrappers/ab-initio/potential_wrapper") from ...
[ "artfin@mail.ru" ]
artfin@mail.ru
4494cffbea33664a4da609720a12a877220387f5
95100d3a58122a81946eac46618b9e59bef1ba22
/Bin/graph.py
dfccf7ee86d9a9f0409c58fba894db012b65f859
[]
no_license
ayiya-hui/automation
6fc65bf7168a2ca663d17ead66ad83adffb61cb4
d100795db2275994a40199b8935296ae30a9eb0e
refs/heads/master
2022-12-31T08:32:53.558207
2020-05-25T09:17:53
2020-05-25T09:17:53
135,518,107
2
1
null
null
null
null
UTF-8
Python
false
false
1,696
py
import sys try: from pylab import * # Matplotlib for graphing. Only used on systems that have it installed. except ImportError, e: sys.stderr.write('Matplotlib ImportError: %s\n' % e) # response time graph def resp_graph(nested_resp_list, dir='./'): fig = figure(figsize=(8, 3)) # image dim...
[ "hhuang@fortinet.com" ]
hhuang@fortinet.com
7d58924409c6228be199b72c84b2a86a17ea1df5
34ddec647d6ad357c1527cf713eaeaee4eb575aa
/2020/09/sum_check.py
3653167ed686619cc249f8c98614fe6475bf5480
[ "Unlicense" ]
permissive
cheshyre/advent-of-code
98327c564f6b401244778aaf9a16043000b4d85e
7ecb827745bd59e6ad249707bd976888006f935c
refs/heads/master
2022-12-21T15:53:38.789228
2022-12-20T20:07:28
2022-12-20T20:07:28
75,426,961
1
0
null
null
null
null
UTF-8
Python
false
false
409
py
def get_all_sum_vals(prev_25): sum_vals = set() for x in prev_25: for y in prev_25: if x != y: sum_vals.add(x + y) return sum_vals def identify_cont_set(target, arr): sum_val = 0 for i, x in enumerate(arr): sum_val += x if sum_val == target: ...
[ "heinz.matthias.3@gmail.com" ]
heinz.matthias.3@gmail.com
7c6bc48fdf5320505fa19251d195acfedf9cff0d
7a73fef9ae426c48573bae41447cef7cb2b97bf6
/dynamicserialize/dstypes/com/raytheon/uf/common/localization/msgs/DeleteUtilityResponse.py
7a53aa8ef0c44c17c93afec61c719af0212e34c4
[ "LicenseRef-scancode-public-domain", "BSD-3-Clause" ]
permissive
mjames-upc/python-awips
7f0a80a04457224c9e195b82a95eef4d9b2b3091
e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c
refs/heads/master
2020-03-31T03:00:49.540816
2018-10-05T23:15:42
2018-10-05T23:15:42
53,707,817
0
0
null
2017-04-12T18:00:59
2016-03-12T01:46:57
Python
UTF-8
Python
false
false
1,013
py
## ## # File auto-generated against equivalent DynamicSerialize Java class class DeleteUtilityResponse(object): def __init__(self): self.context = None self.pathName = None self.errorText = None self.timeStamp = None def getContext(self): return self.context def ...
[ "mjames@unidata.ucar.edu" ]
mjames@unidata.ucar.edu
45df7d486a57a9e557306c532a6e62cf1043985e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03339/s093009847.py
350d2c565426c3b7b707b013a078368682ce06c5
[]
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
1,674
py
# import itertools # import math # import sys # sys.setrecursionlimit(500*500) # import numpy as np # import heapq # from collections import deque N = int(input()) S = input() # n, *a = map(int, open(0)) # N, M = map(int, input().split()) # A = list(map(int, input().split())) # B = list(map(int, input().split())) # tr...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8c61d528d8803bb6f9c2c39cbd19dd05cff54e90
645b4112d1007b56ca2fbfa4d988c633bace2408
/vendor-local/lib/python/autoslug/fields.py
58757f27ea2f8aa4e7875cbc7bc546943f757498
[]
no_license
nuwe1/mozillians
e0a9c37513120db95f0f65f889f98dff8de30758
3c92fac79e8a27f1681952b86038e3f4c6f36076
refs/heads/master
2021-01-16T19:21:26.061855
2015-03-24T10:33:40
2015-03-24T10:33:40
32,919,201
1
0
null
2015-03-26T09:49:38
2015-03-26T09:49:38
null
UTF-8
Python
false
false
9,690
py
# -*- coding: utf-8 -*- # # Copyright (c) 2008—2012 Andy Mikhailenko # # This file is part of django-autoslug. # # django-autoslug is free software under terms of the GNU Lesser # General Public License version 3 (LGPLv3) as published by the Free # Software Foundation. See the file README for copying conditions. #...
[ "giorgos@mozilla.com" ]
giorgos@mozilla.com
a72740f8f936100e784c20887977fc3943d8a92a
47deebe6fefedb01fdce5d4e82f58bb08f8e1e92
/python core/Lesson_9/list_33.py
c7c91bc8bcb2494f302e60592787edfa38e11d9d
[]
no_license
developeryuldashev/python-core
5bb162603bdb5782acf05e3fb25ca5dd6347067a
08fca77c9cfde69d93a7875b3fb65b98f3dabd78
refs/heads/main
2023-08-21T03:33:12.160133
2021-10-19T04:56:53
2021-10-19T04:56:53
393,383,696
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
a=[1,6,5,3,4,5] t='bunday element yo\'q' for i in range(1,len(a)-1): if a[i]>a[i-1] and a[i]>a[i+1]: t=i print(t)
[ "81365808+developeryuldashev@users.noreply.github.com" ]
81365808+developeryuldashev@users.noreply.github.com
9d93480e112478599e68f0a5ca4dab616888dfe5
cc5d368c9c15062c5aac3959bc2c8b2fef8fcd5f
/h1/diagnostics/imax.py
fd370df077d7b9abf45aca7bc460c257b5985138
[]
no_license
dpretty/python-h1
909ea456d5eee153eaf610f4af89a83a25132b3d
efc435b9519ee495003011e1e795a0a83328f1cf
refs/heads/master
2020-11-26T21:04:54.028919
2013-07-12T07:42:44
2013-07-12T07:42:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,511
py
import scipy.signal import MDSplus as MDS import numpy as np import matplotlib.pyplot as pt class ImaxData(): def __init__(self,shot_list, plot_data = 0, get_mirnov_triggers = 1, plot_mirnov_triggers = 0): self.image_array = np.zeros((16,512,512),dtype=float) self.shot_list = shot_list if p...
[ "shaunhaskey@gmail.com" ]
shaunhaskey@gmail.com
36be24a07c5e09a3edda55949aff0c0618cd2caf
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_Wxyz_focus_Z_ok/pyr_Tcrop255_pad60_jit15/Sob_k25_s001_EroM_Mae_s001/pyr_1s/L8/step10_a.py
05bc4f348251a904182a56bf1899b2ce2360764f
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
9,683
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
ad016f7b84329079bea8986ce61a2be40d2c410e
aa764c755c99b2cc3edc0d1b31c1f28b8dbe3f9a
/Extract_Orders_from_polyfits.py
ee23edeea747b629ede90b4302ceea3bca9321b0
[ "MIT" ]
permissive
njcuk9999/NJC_Extract
38feb68e33ebf2b93e31b8e1b133685739aa59ea
028b9e459d1f1f40edd23eec723085ff12ef02f5
refs/heads/master
2020-06-24T23:03:15.612602
2017-07-12T18:45:12
2017-07-12T18:45:12
96,945,580
2
0
null
null
null
null
UTF-8
Python
false
false
7,324
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Oct 20 12:56:52 2016 Last Modified on July 6 2017 12:24 @author: Neil Cook Program to extract Echelle spectra orders from a CCD image (using a pre-generated polynomial fit file) Version 0.0.11 """ import os import sys import numpy as np from astrop...
[ "neil.james.cook@gmail.com" ]
neil.james.cook@gmail.com