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
65c802fcb665af7e9553bbacc627687b7a33f4b6
f313486c2cdbea0fa40bc9e8a7ea8810a2ce9e98
/tests/run_ns.py
18245a0b5394ce1ac6386ceede3641802e2b9e12
[ "MIT" ]
permissive
trituenhantaoio/pytorch-rl
ae1f20dee149979f50e4a671767eed4524e7bb5b
efaa80a97ea805a5c76fad4df83221a100d3258a
refs/heads/master
2020-09-19T23:37:03.343763
2019-07-31T17:03:56
2019-07-31T17:03:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
import subprocess import os experiments = [e for e in os.listdir() if e.startswith('ns')] for experiment in experiments: print(experiment) command = f'python {experiment}' process = subprocess.Popen(command, shell=True) process.wait()
[ "bentrevett@gmail.com" ]
bentrevett@gmail.com
d057862aca60f62e0685051aaf79dd2246a34249
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/output/StudentProblem/10.21.9.56/1/1569577364.py
53cfab12f42d6d84469e7e7b8a966d17dc4d851a
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
============================= test session starts ============================== platform darwin -- Python 3.7.4, pytest-5.4.1, py-1.8.1, pluggy-0.13.1 rootdir: /tmp collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting te...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
44c9e8921ec5d14bab6637c0c9b70692a3cabd18
4a2bfa14d4d250d742b1737639e3768936382425
/virtual/bin/pip
b6fff006bf91c8740a98fcf97af02304b45217ae
[]
no_license
AugustineOchieng/gallery
1946c62894b5e73adb34deddaa8d93d9ece21705
1d0933b96dc50a100451e609ddfe49af6c6ff9b2
refs/heads/master
2020-05-21T07:19:11.787689
2019-05-10T09:15:30
2019-05-10T09:15:30
185,957,716
0
0
null
null
null
null
UTF-8
Python
false
false
247
#!/home/moringa/Desktop/gallery/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gusochieng@gmail.com" ]
gusochieng@gmail.com
fc35f22f1539d28df0821c5ab0b2026bb173b18f
8600ea155f279e5a8dfe5a1926038511f6b6a7ea
/hr_attendance/hr_attendance.py
01ca1d441abc805ee879c1f031b880be3055d097
[]
no_license
MarkNorgate/addons-EAD
c2fff89ab16fce3ba19fbe433ee5863705a6f4e5
840f28642b5d328e4b86839c413e5164622295a5
refs/heads/master
2020-04-23T22:11:00.164438
2015-07-22T12:24:53
2015-07-22T12:24:53
39,501,011
0
0
null
null
null
null
UTF-8
Python
false
false
6,440
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify #...
[ "mark.norgate@affinity-digital.com" ]
mark.norgate@affinity-digital.com
0a38735793340df0638f90b37e8c9454bde3bc24
5b3d8b5c612c802fd846de63f86b57652d33f672
/Python/seven_kyu/all_non_consecutive.py
14c8d4b4b416904d5134728fa537b9d0cee1c26c
[ "Apache-2.0" ]
permissive
Brokenshire/codewars-projects
1e591b57ed910a567f6c0423beb194fa7f8f693e
db9cd09618b8a7085b0d53ad76f73f9e249b9396
refs/heads/master
2021-07-22T18:50:25.847592
2021-01-25T23:27:17
2021-01-25T23:27:17
228,114,677
1
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
# Python solution for 'Find all non-consecutive numbers' codewars question. # Level: 7 kyu # Tags: FUNDAMENTALS AND ARRAYS. # Author: Jack Brokenshire # Date: 05/08/2020 import unittest def all_non_consecutive(arr): """ Find all the elements of an array that are non consecutive. A number is non consecutive i...
[ "29889878+Brokenshire@users.noreply.github.com" ]
29889878+Brokenshire@users.noreply.github.com
b7a1176f2647c53258d8cbf350246966f4f5e5b8
87bb2b9258c887e8fbcaca08d18e5d95ae96462d
/Codewars/Python/7kyu/7kyu_Date format validation.py
17b214d1870933d89fc7b8688fb2ba7d133960df
[]
no_license
KonradMarzec1991/Codewars-LeetCode
a9e4d09f4271fecb3a7fc1ee436358ac1bbec5e4
442113532158f5a3ee7051a42e911afa5373bb5f
refs/heads/master
2023-04-21T17:04:37.434876
2021-05-11T21:47:14
2021-05-11T21:47:14
166,555,499
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
def date_checker(date): import re return bool(re.match(r'^\d{2}-\d{2}-\d{4}\s\d{2}:\d{2}$', date))
[ "konrimarzec@gmail.com" ]
konrimarzec@gmail.com
ee1db31b9cc40af9415eb0b52dc577ffb039e338
fe71d0f38a282225e6cfbc918bd8e4ca21ad4335
/factory/factory/settings.py
021ecb68667bf0b52e8896d0db0d3bcd1017241b
[ "MIT" ]
permissive
avara1986/graphql-django
5db4b503da9918e7c2ea6374ff99e1bb87c358f0
57b9bcb479842e243488a59cb4db4f523c2877ce
refs/heads/master
2021-06-24T16:15:33.110235
2017-09-10T18:35:51
2017-09-10T18:35:51
103,052,101
1
0
null
null
null
null
UTF-8
Python
false
false
3,220
py
""" Django settings for factory project. Generated by 'django-admin startproject' using Django 1.11.5. 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...
[ "a.vara.1986@gmail.com" ]
a.vara.1986@gmail.com
e0305bf4df162ebc08c5f96428ce7e4ffb35c523
f31ec01e5e7fc7ba1704cd7f1e59992752ecbf8f
/tornado/platform/auto.py
d3eeb56b2e519fa77293677eccfd6eba46e5f2a7
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
st4lk/tornado
5a79995ada89fd090acf251c71a26d4eeea75e6b
1ceeb1ffd581f31678cd63fe81ef8d2e4f35380b
refs/heads/master
2020-12-03T05:16:44.365763
2015-02-23T15:49:23
2015-02-23T15:49:23
29,911,658
1
1
null
2015-01-27T11:42:04
2015-01-27T11:42:04
null
UTF-8
Python
false
false
1,726
py
#!/usr/bin/env python # # Copyright 2011 Facebook # # 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...
[ "ben@bendarnell.com" ]
ben@bendarnell.com
e75599dda87392d1c22802b0f69cffe846666e9b
b9f0399cf7ea0a66fb76900f0c2ceac2d4859d34
/venv/lib/python3.6/site-packages/markdown/extensions/smarty.py
fb767c551f4a761b0a52c5c827dd4ebf5818989e
[]
no_license
huangtaosdt/QA-website-zsb
eea0fcd6a2415cf5c61f01f6692d39a544ed900a
518470a3b37d6561797a38de42fe0c81d27c6ceb
refs/heads/master
2021-09-20T15:19:44.559747
2018-08-11T03:53:17
2018-08-11T03:53:17
100,498,996
0
1
null
null
null
null
UTF-8
Python
false
false
10,305
py
# -*- coding: utf-8 -*- ''' Smarty extension for Python-Markdown ==================================== Adds conversion of ASCII dashes, quotes and ellipses to their HTML entity equivalents. See <https://pythonhosted.org/Markdown/extensions/smarty.html> for documentation. Author: 2013, Dmitry Shachnev <mitya57@gmail.c...
[ "huangtaosdt@163.com" ]
huangtaosdt@163.com
96bb6d5195d072d90ecd75f5f6b6bab8750b45e8
a2d13658503b9b921e27994152ab6adb554725bc
/store/migrations/0036_auto_20201226_1430.py
90e2d15defac2bc93f126c4c3f0918dc532b67f9
[]
no_license
avishkakavindu/sushi-chef-django
40a1d7916d7f8c37ba1290cb717af517d2bce265
4c112d806720d903877822baaa26159c32704901
refs/heads/master
2023-03-18T11:12:41.721554
2021-03-11T08:22:52
2021-03-11T08:22:52
303,053,978
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
# Generated by Django 3.1.2 on 2020-12-26 09:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('store', '0035_auto_20201226_1241'), ] operations = [ migrations.AddField( model_name='order', ...
[ "avishkakavindud@gmail.com" ]
avishkakavindud@gmail.com
9a3b27804f5201776943de0278f7deff9ad858ca
781e2692049e87a4256320c76e82a19be257a05d
/assignments/python/wc/src/735.py
174fa827ffdb1d04493c39ad3d27ab4e27f67fca
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
367
py
import string def word_count(phrase): punct = set(string.punctuation) no_punct ='' for char in phrase: if char not in punct: no_punct += char dict = {} for word in no_punct.split(): str = word.lower() if str not in dict: dict[str] = 1 els...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
665eedf826b911f95e4b7ff7f0f21c48d89547fb
7eda5c4c9bfedbd561d77df14c454f0485d8e025
/Program Assignment4_Mincut/kargerMinCut.py
e4844a29c093e5d88cf14dc66981c36e82f046e1
[ "MIT" ]
permissive
brianchiang-tw/Algorithm_specialization_Part-I
af6c7e1ad7f70323d1b92086d85dd9f7ec157c1b
44b24f4a97f23d24bde6a4235f70f7707c8b03b7
refs/heads/master
2020-09-12T14:57:59.434448
2019-11-18T14:36:37
2019-11-18T14:36:37
222,459,865
0
0
null
null
null
null
UTF-8
Python
false
false
4,025
py
import sys import os import math import random from datetime import datetime import copy def edge_contraction( adj_list_dict, vertex_u, vertex_v): # contract edge(u, v) # keep vertex u, and update u's adjacency list from appending vertex v's adj_list_dict[ vertex_u] = adj_list_dict[ vertex_u ] + adj_lis...
[ "brianchiang1988@icloud.com" ]
brianchiang1988@icloud.com
a281da690d99c410475474b7ca9444b93a880654
743bd46390fa798194b6c028a3914dbdfe3686b1
/win32/Lib/win32gui_struct.py
fadbe4e7eb790d75de30535a3838a968bce652fe
[]
no_license
tjguk/pywin32-old
8667e0c042e2a031cd99b6f6693f55c51ff08b67
5f263eab8e1812ad350c0e7bff0ee9588ad5056c
refs/heads/master
2021-05-29T16:49:43.710261
2015-05-23T15:27:22
2015-05-23T15:27:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,488
py
from __future__ import division from __future__ import absolute_import from __future__ import print_function # This is a work in progress - see Demos/win32gui_menu.py # win32gui_struct.py - helpers for working with various win32gui structures. # As win32gui is "light-weight", it does not define objects for all possib...
[ "mail@timgolden.me.uk" ]
mail@timgolden.me.uk
de9a7a96eb7c0d7336f901b12ee53b3107656994
7503725bc8098d34e0973c5661685582bef0cbbb
/mmdet2trt/models/roi_heads/htc_roi_head.py
6e9f71f6bf2af79e897e5167e107623189a932a7
[ "Apache-2.0" ]
permissive
zjj-2015/mmdetection-to-tensorrt
bf280ef9359ec95293eee5062cf184786133543a
e1b91743cd4c9a145fc2b2701baef5ff648a1a4c
refs/heads/master
2023-08-30T05:00:26.866383
2021-11-16T14:18:10
2021-11-16T14:18:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,898
py
import mmdet2trt.ops.util_ops as mm2trt_util import torch import torch.nn.functional as F from mmdet2trt.core.post_processing import merge_aug_masks from mmdet2trt.models.builder import build_wraper, register_wraper from mmdet.core.bbox.coder.delta_xywh_bbox_coder import delta2bbox from .cascade_roi_head import Cascad...
[ "streetyao@live.com" ]
streetyao@live.com
07d34db149dfe54a5b165170aabfd130243cfe8d
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_software_termination/12-2Nested_false-termination_5.py
03da5a2a4a14729312115bb8d36de8036d58e9cf
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,525
py
from typing import Tuple, FrozenSet from pysmt.environment import Environment as PysmtEnv from pysmt.fnode import FNode import pysmt.typing as types from utils import symb_to_next from hint import Hint, Location def transition_system(env: PysmtEnv) -> Tuple[FrozenSet[FNode], FNode, FNode, ...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
ec6be64c3fe458b8f2011b5ad6bf558c7309692b
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-bigquery-datapolicies/google/cloud/bigquery_datapolicies_v1/services/data_policy_service/client.py
85e12cc88d1835ce78daa23989906d63f63601f7
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
62,935
py
# -*- coding: utf-8 -*- # Copyright 2023 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" ]
googleapis.noreply@github.com
6f66c53bf1536515d0e2b64c20185a6e0d4097b9
c5c58a08ea6841f7042e037db6ad7eb668dbc0bb
/code/1/ninja/old/basicstats.py
9adb83819260894257cc252d56d83a8e0865fb01
[ "MIT" ]
permissive
amritbhanu/fss16591
99745091e355568230809e9c56bd7627fe1eea58
d10c9e6e20c2d131441b6a03a27ecb030842b596
refs/heads/master
2020-04-24T01:17:37.431866
2017-08-09T15:03:25
2017-08-09T15:03:25
65,946,447
0
2
null
2016-09-10T03:37:59
2016-08-17T22:27:27
Python
UTF-8
Python
false
false
3,072
py
""" __________________________________________________ # simplestats.py: simple basic stats """ from __future__ import division,print_function import sys,math sys.dont_write_bytecode=True def normalDiff(mu1,sd1,n1,mu2,sd2,n2): nom = mu2 - mu1 denom = delta/((sd1/n1 + sd2/n2)**0.5) if s1+s2 else 1 ...
[ "amritbhanu@gmail.com" ]
amritbhanu@gmail.com
929b2b37442af1e84eb361c74e7758e337b1abab
4aa7a4d0525095725eb99843c83827ba4806ceb1
/keras/keras19_shape.py
a32d49ea5b537c83e66f5fe52ba953aa27ce27c8
[]
no_license
seonukim/Study
65a70f5bdfad68f643abc3086d5c7484bb2439d4
a5f2538f9ae8b5fc93b5149dd51704e8881f0a80
refs/heads/master
2022-12-04T17:04:31.489771
2020-08-21T00:35:15
2020-08-21T00:35:15
260,144,755
2
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
# 1. 데이터 import numpy as np x = np.array([range(1, 101), range(311, 411), range(100)]) y = np.array(range(711, 811)) # 1-1. 행과 열을 바꾸기 - 전치행렬 구하기 x = x.transpose() y = y.transpose() from sklearn.model_selection import train_test_split x_train, x_test, y_train, y_test = train_test_split( x, y, train_size = 0.8, shu...
[ "92.seoonooo@gmail.com" ]
92.seoonooo@gmail.com
769912c4efb8929002f8bd37954cdb0604e47ca6
9e9588fbd2eeb48cb45b053cc37c6c40ef1b5558
/web_app/app.py
c2837a25a396f7cf1527f63aea717d0bf534a208
[ "MIT" ]
permissive
ArRosid/question-answer-flask
cfecbb8681b258fe389267fbbc16eec19595c36c
920f5cf5a16887006819183b2573a9d896e3107d
refs/heads/master
2021-04-23T00:19:34.742155
2020-03-31T05:08:28
2020-03-31T05:08:28
249,883,456
0
0
MIT
2021-03-20T03:16:30
2020-03-25T04:03:36
HTML
UTF-8
Python
false
false
8,066
py
import os from flask import (Flask, g, redirect, render_template, request, session, url_for) from werkzeug.security import check_password_hash, generate_password_hash import dbcon app = Flask(__name__) app.config["SECRET_KEY"] = os.urandom(24) @app.teardown_appcontext def close_db(error): if ...
[ "ahmadrosid30121997@gmail.com" ]
ahmadrosid30121997@gmail.com
0c02ee4413803d74805396f86653758d7d8ec906
e4d4283a7d77719d4da7705aa2cb14e8b171ae51
/document_library/migrations/0003_auto__add_documentcategorytitle__add_documentcategory__add_field_docum.py
e5b24aa78e4802393f3a4b661c607682857b2732
[ "MIT" ]
permissive
django-cms-plugins/django-document-library
666ed165aff6ecaef6af5e585fdb96e16c45bed9
74233b1d8d933844f2e1f423d685708f682edfb5
refs/heads/master
2021-01-14T14:18:35.759996
2013-11-06T00:06:02
2013-11-06T00:06:02
16,535,949
0
1
null
null
null
null
UTF-8
Python
false
false
10,727
py
# flake8: noqa # -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'DocumentCategoryTitle' db.create_table('document_library_documentcategorytitl...
[ "mbrochh@gmail.com" ]
mbrochh@gmail.com
e7497d37b10b60b49e884962d8cc83295158c6b3
a3493aaf1fc0b067d852bb7cd8e81b0fee6145d6
/Modules_&_pip.py
ba57b9dc523a2416afbdde8e5a9cdf195315561a
[]
no_license
VivakaNand/Python_For_Beginners_by_Udemy
862c128f8dd4035c794b99494474de661a2be5e0
ab119426c9ded6f46256ec8f915fdf439b1e520d
refs/heads/master
2020-11-27T14:30:31.530986
2019-12-21T22:25:47
2019-12-21T22:25:47
229,488,902
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
# -*- coding: utf-8 -*- """ Created on Sun Dec 22 03:00:21 2019 @author: VIVEK VISHAN """ # Modules & pip import useful_tools print(useful_tools.roll_dice(10)) print(useful_tools.feet_in_mile) import docx docx.
[ "vivekjetani83@gmail.com" ]
vivekjetani83@gmail.com
7446edb80b72ff3519521b98b4f5fbc49526c82d
b68e3b8485ea8bef9fc7b3cbf6baa98a51fa533f
/section14/lesson173/test_calculation.py
1eac580f11491856c765cc11bd46aca7c0f2f447
[]
no_license
Naoya-abe/siliconvalley-python
7936b7e779072b23e16c9d50cca44c2e0bf6eb5f
8d226adaea839b64b1e5eb62985349b5bb2e1484
refs/heads/master
2021-05-20T14:40:47.682812
2020-04-27T02:02:43
2020-04-27T02:02:43
252,336,229
1
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
# 独自ののfixture import os import pytest import calculation class TestCal(object): @classmethod def setup_class(cls): cls.cal = calculation.Cal() cls.test_dir = '/tmp/test_dir' cls.test_file_name = 'test.txt' @classmethod def teardown_class(cls): import shutil i...
[ "n.abe@gemcook.com" ]
n.abe@gemcook.com
6649e00fafca3d64cad131fe2b2c0d4be4921d60
0ee5ae0b71b81419d4534b2ed8681e28a1ed9ddb
/arxivanalysis/cons.py
56a990e9ed4ffdff6869afc9a19b71c8628b952e
[ "MIT" ]
permissive
refraction-ray/arxiv-analysis
a0f4542298ecc427a49ec9bb026f0ef31699a7f5
10b72853920bc653d5622b17da817a1fc1d83c4e
refs/heads/master
2023-05-02T16:33:01.629979
2023-04-17T02:35:58
2023-04-17T02:35:58
160,020,387
2
10
null
null
null
null
UTF-8
Python
false
false
7,214
py
""" some constants """ weekdaylist = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] category = { "astro-ph": "Astrophysics", "astro-ph.CO": "Cosmology and Nongalactic Astrophysics", "astro-ph.EP": "Earth and Planetary Astrophysics", "astro-ph.GA": "Astrophysics of Galaxies", "astro-ph.HE": "High...
[ "kcanamgal@foxmail.com" ]
kcanamgal@foxmail.com
e26636a9ae7ceac0ee556870e3f586cf4b775f62
032a1ad3c94e1126729417a16e2a95743d121244
/cell_fitting/optimization/evaluation/plots_for_thesis/dap_mechanism/blocking_channels.py
44fad4a980d5b5fbf8da14d9834d41c3231a5824
[]
no_license
cafischer/cell_fitting
0fd928f5ae59488e12c77648c2e6227c1911d0e9
75a81987e1b455f43b5abdc8a9baf6b8f863bee2
refs/heads/master
2021-01-23T19:27:30.635173
2019-09-14T08:46:57
2019-09-14T08:46:57
44,301,986
1
0
null
null
null
null
UTF-8
Python
false
false
4,869
py
import numpy as np import os import matplotlib.pyplot as pl import matplotlib.gridspec as gridspec from nrn_wrapper import Cell from cell_fitting.optimization.evaluation import simulate_model, simulate_model_currents from cell_fitting.optimization.evaluation.plot_blocking.block_channel import block_channel, \ block...
[ "coralinefischer@gmail.com" ]
coralinefischer@gmail.com
b0aa9837b396935b4b74ad19f72b0b276e28e19b
be4e7d877a7a61237f3a58315158a20f125dc71c
/cartridge/shop/page_processors.py
b2c72c68cc708d9c80b20ff8a0708d8ed5dd9d4d
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
krbanton/cartridge
14d846e85524e743f83794e4628acaa29d24950d
41deb8812cceacf47a057233e5a020c2ea04b786
refs/heads/master
2021-01-17T11:43:26.693347
2012-03-24T11:57:10
2012-03-24T11:57:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
from django.template.defaultfilters import slugify from mezzanine.conf import settings from mezzanine.pages.page_processors import processor_for from mezzanine.utils.views import paginate from cartridge.shop.models import Category, Product @processor_for(Category) def category_processor(request, page): """ ...
[ "steve@jupo.org" ]
steve@jupo.org
6a572f3e0982bbe239ad1b6c507d6fc5419da16c
ed7fde0483a4836bfc9ef3ab887cf1220559bfc7
/phd/i18_remove_ref.py
69d65e676406a2e3eea0335ebd761ec9ae61f6b8
[]
no_license
cizydorczyk/python_scripts
326b3142a3c6ce850237e8b13e229854699c6359
b914dcff60727bbfaa2b32e1a634ca9ca354eeeb
refs/heads/master
2023-05-11T14:29:44.548144
2023-05-05T19:39:28
2023-05-05T19:39:28
116,588,201
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
import os import argparse from Bio import SeqIO def RemoveReference(seq_to_remove, fasta, output_fasta): print(fasta) records = list(SeqIO.parse(fasta, "fasta")) records2 = [i for i in records if i.id not in seq_to_remove.split(",")] with open(output_fasta, "w") as outfile: SeqIO.write(record...
[ "conradizydorczyk@gmail.com" ]
conradizydorczyk@gmail.com
c56397e5206162d095057fc4190656549c5a4445
6edb295c0eacc50655d83ece6566325fd0c46afb
/VBF/kfactors/plot.py
f59ed6e114e3f98f8fa4041c6fa080116a926eb1
[ "MIT" ]
permissive
mcremone/PandaAnalysis
74ffe64e77887d6622883b4d856d5ef61759eb92
078dc6ba435335ba1f8bceecb12459751ce3f5c3
refs/heads/master
2020-12-30T12:56:49.093685
2017-05-03T11:17:37
2017-05-03T11:17:37
91,379,788
0
5
MIT
2019-12-11T09:33:59
2017-05-15T20:05:33
Python
UTF-8
Python
false
false
3,536
py
#!/usr/bin/env python from os import system,getenv from sys import argv import argparse ### SET GLOBAL VARIABLES ### baseDir = '/home/snarayan/home000/store/kfactors/skimmed/' parser = argparse.ArgumentParser(description='plot stuff') parser.add_argument('--outdir',metavar='outdir',type=str) args = parser.parse_args(...
[ "sidn@mit.edu" ]
sidn@mit.edu
45e663b5e49d193e5c11fda55a0aeea262da8551
a8750439f200e4efc11715df797489f30e9828c6
/codechef/ENP.py
737381f0e7b74f7bfda64d769c2e14e42f248c68
[]
no_license
rajlath/rkl_codes
f657174305dc85c3fa07a6fff1c7c31cfe6e2f89
d4bcee3df2f501349feed7a26ef9828573aff873
refs/heads/master
2023-02-21T10:16:35.800612
2021-01-27T11:43:34
2021-01-27T11:43:34
110,989,354
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
def encrypt(s, x, d): encoded = '' for i in range(len(s)): encoded +=
[ "raj.lath@gmail.com" ]
raj.lath@gmail.com
36c6a3f4b29eb110001c86e07a73a605b39033d0
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/rfRecon/402-tideGauge.py
83be9c7c5e9e4512a93df74158af7243a1dab31b
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
10,696
py
# -*- coding: utf-8 -*- """ Created on Mon May 7 11:39:00 2020 This program is designed to reconstruct daily max surge using RF @author: Michael Tadesse """ def reconstructRF(): """ run KFOLD method for random forest regression """ #import packages import os import numpy as np import pan...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
ad1d4b5235569f72c77e592f75ebac24c3935bd0
d9b53673b899a9b842a42060740b734bf0c63a31
/leetcode/python/easy/p590_postorder.py
5954e459ee2b9d55d61a3032eef31365502caca2
[ "Apache-2.0" ]
permissive
kefirzhang/algorithms
a8d656774b576295625dd663154d264cd6a6a802
549e68731d4c05002e35f0499d4f7744f5c63979
refs/heads/master
2021-06-13T13:05:40.851704
2021-04-02T07:37:59
2021-04-02T07:37:59
173,903,408
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
# Definition for a Node. class Node: def __init__(self, val, children): self.val = val self.children = children class Solution: def postorder(self, root: 'Node'): ret = [] def dfs(node): if node is None: return for child in node.children...
[ "8390671@qq.com" ]
8390671@qq.com
3731f5f7f3dacddba1e20322528e5137c82ad1d6
8bcaec3e096158f875e08cc6c18df8f7ff1e2586
/codechef/DEC20B-codechef/even_pair_sum.py
779696b154a80646ec9874c9dde3f9f8c7ff1ced
[]
no_license
Aryamanz29/DSA-CP
5693d7e169f3a165a64771efd713d1fa8dd3b418
306ebd4b623ec79c2657eeba1ff1ce0fc294be50
refs/heads/master
2023-04-08T23:33:20.406720
2021-04-11T20:27:26
2021-04-11T20:27:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
def get_even(n): return n//2 for _ in range(int(input())): a, b = list(map(int, input().split())) less = min(a, b) if a == less: even = get_even(b) odd = b-even else: even = get_even(a) odd = a-even # for i in range(1, a+1): # for j in range(1, b+1): ...
[ "sankalp123427@gmail.com" ]
sankalp123427@gmail.com
110b91f1cab239e9e82f0af4b73f1f032a8f1ff8
c717b260750d9c733b40e668d2841dee92167699
/hardware/mechanics/electronics_mount/main_plate/cnc/drill_4-40_insert_hole.py
e3384f36753a7e295809bf5c3374bc87e3420f2c
[]
no_license
hanhanhan-kim/noah_motion_system
b68e3fc6db1a0faea272ead7a22a043dfb80a6c8
5bea2750eac638b9f90720b10b5e2516f108c65b
refs/heads/master
2022-11-06T08:20:49.977792
2017-10-06T00:12:05
2017-10-06T00:12:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
from __future__ import print_function import os import sys from py2gcode import gcode_cmd from py2gcode import cnc_dxf feedrate = 50.0 fileName = 'main_plate.dxf' stockThickness = 0.25 drillMargin = 0.125 startZ = 0.0 stopZ = -(stockThickness + drillMargin) safeZ = 0.3 stepZ = 0.05 startDwell = 0.5 prog = gcode_cmd...
[ "will@iorodeo.com" ]
will@iorodeo.com
6adf71907c74640fac9ba5a3035be2f8fa45d1b4
52908b901ebebbecf94f68c5ed4edb748d8b83d7
/chatette/parsing/lexing/rule_percent_gen.py
71f87422992a30e781efff7485c03d85652b9b94
[ "MIT" ]
permissive
ImanMesgaran/Chatette
6edef61740ba75ead35e240350359f1c3ee2de3c
fd22b6c2e4a27b222071c93772c2ae99387aa5c3
refs/heads/master
2023-07-01T16:36:39.865660
2021-06-08T20:14:24
2021-06-08T20:22:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,988
py
# coding: utf-8 """ Module `chatette.parsing.lexing.rule_percent_gen` Contains the class representing the lexing rule meant to tokenize percentage for the random generation modifiers. """ from chatette.parsing.lexing.lexing_rule import LexingRule from chatette.parsing.lexing import LexicalToken, TerminalType from cha...
[ "simon.gustin@hotmail.com" ]
simon.gustin@hotmail.com
5f3d1ab0f166594fa5cfca4b4bae63f0cccd32fe
adc6d8ee596e4710c3241332758bb6990bdd8914
/Imagenes doc/Evaluación/RE.py
b3429635eb088404f911957ccaa23ada29324936
[]
no_license
NatalyTinoco/Trabajo-de-grado_Artefactos
cf9491c47a8a23ce5bab7c52498093a61319f834
5cc4e009f94c871c7ed0d820eb113398ac66ec2f
refs/heads/master
2022-03-20T00:51:48.420253
2019-11-24T19:10:40
2019-11-24T19:10:40
197,964,659
1
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
# -*- coding: utf-8 -*- """ Created on Wed Aug 7 21:59:15 2019 @author: Nataly """ from matplotlib import pyplot as plt import cv2 import numpy as np i=0 file='00000.jpg' seg='00000_seg.jpg' img = cv2.imread(file) def tloga(img): img = (np.log(img+1)/(np.log(1+np.max(img))))*255 img = np.array(img,dtype=np.u...
[ "51056570+NatalyTinoco@users.noreply.github.com" ]
51056570+NatalyTinoco@users.noreply.github.com
75caa21cdb6da2ed748dafe135772382e987e81f
c1eb69dc5dc5b83d987d1bda0bd74a2d7d912fdf
/articles/migrations/0031_merge.py
d3d5ce4a90180e735765e1096d04c22ba755cb79
[ "MIT" ]
permissive
CIGIHub/opencanada
47c4e9268343aaaf0fe06b62c1838871968a0b87
6334ff412addc0562ac247080194e5d182e8e924
refs/heads/staging
2023-05-07T16:02:35.915344
2021-05-26T18:10:09
2021-05-26T18:10:09
36,510,047
8
2
MIT
2020-07-06T14:22:09
2015-05-29T14:43:28
Python
UTF-8
Python
false
false
315
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('articles', '0030_auto_20150806_2136'), ('articles', '0030_articlecategory_include_main_image'), ] operations = [ ]
[ "csimpson@cigionline.org" ]
csimpson@cigionline.org
a20131c6b9f7b27a6ae04fe5be74645df91f9be4
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/OpenAITaskRequest.py
9d342c7d8e6e785ae43c35b9c816ca0b25ef9696
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
3,272
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
93c6d4f655e6cecaf0204c9fde501bd9f14f9b0a
233f97c6f360d478bf975016dd9e9c2be4a64adb
/program42.py
583befdf151b9f7a4196e04186dc04cce05c8aa2
[]
no_license
unknownboyy/GUVI
3dbd1bb2bc6b3db52f5f79491accd6c56a2dec45
d757dd473c4f5eef526a516cf64a1757eb235869
refs/heads/master
2020-03-27T00:07:12.449280
2019-03-19T12:57:03
2019-03-19T12:57:03
145,595,379
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
a,b=map(int,input().split()) c,d=map(int,input().split()) if a==c: print(a) elif a>c and b>=d: print(-1) elif a<c and b<=d: print(-1) else: x1=a;x2=b
[ "ankitagrawal11b@gmail.com" ]
ankitagrawal11b@gmail.com
8d820380e47b4db8af57aa047a0dc8cc8e697560
d6fe71e3e995c03b8f5151ab1d53411b77b325ba
/walklist_api_service/models/response.py
2168793ce5bbd0c675b43d9a5a3dd17848c6d775
[]
no_license
mwilkins91/petpoint-scraper
95468ae9951deaa8bd3bef7d88c0ff660146c1a3
dd0c60c68fc6a7d11358aa63d28fdf07fff3c7cd
refs/heads/master
2022-11-27T00:02:50.654404
2020-08-09T18:41:40
2020-08-09T18:41:40
286,180,666
1
0
null
null
null
null
UTF-8
Python
false
false
3,652
py
# coding: utf-8 """ The Enrichment List The THS enrichment list # noqa: E501 OpenAPI spec version: 1.0.0 Contact: contactme@markwilkins.co Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class Response(object): """NOTE...
[ "contactme@markwilkins.co" ]
contactme@markwilkins.co
394db0d9907aa1558d646da41d52cb08d950dc1c
0652d264baea6238c0b581f17fdf2ff6cb45f537
/websauna/system/form/csrf.py
79d964adf49107a108eb25f1ef5598df2cef83c9
[ "MIT", "Apache-2.0" ]
permissive
gitter-badger/websauna
f12fc57322c9c86bb2859a30c346858e8ede209e
09c07d80a831d1f718ec05aea0f85293a1198063
refs/heads/master
2021-01-22T19:15:15.071709
2016-04-21T15:10:30
2016-04-21T15:10:30
56,784,419
0
0
null
2016-04-21T15:19:24
2016-04-21T15:19:24
null
UTF-8
Python
false
false
456
py
"""Deform CSRF token support.""" import colander import deform from pyramid_deform import deferred_csrf_validator from pyramid_deform import deferred_csrf_value def add_csrf(schema: colander.Schema): """Add a hidden CSRF field on the schema.""" csrf_token = colander.SchemaNode(colander.String(), name="csrf_to...
[ "mikko@opensourcehacker.com" ]
mikko@opensourcehacker.com
89a49c4c96b660fbd71aa567dc005a322340dde8
330899fd4a9653e05e2a09e0a4f30c119af97ad4
/python/hidet/transforms/common/scope.py
e171328b5e5e34acb2c17ac4d9e0d7127f5ec878
[ "Apache-2.0" ]
permissive
yaoyaoding/hidet-artifacts
f8a4707c7fc28aa7bfa4dab3a9f2a9387c020f99
f2e9767bb2464bd0592a8ec0b276f97481f13df2
refs/heads/main
2023-04-30T13:12:57.350002
2023-04-24T19:37:34
2023-04-24T19:37:34
551,692,225
3
1
Apache-2.0
2022-11-01T23:25:17
2022-10-14T22:40:28
Python
UTF-8
Python
false
false
5,309
py
from typing import List, Dict, Optional, ContextManager from hidet.ir.type import ScalarType, FuncType from hidet.ir.expr import Expr, Var, BitwiseAnd, LeftShift, BitwiseOr from hidet.ir.functors import collect from hidet.ir.stmt import LetStmt, ForStmt from hidet.ir.func import Function from hidet.ir.functors import ...
[ "dingyaoyao.cs@gmail.com" ]
dingyaoyao.cs@gmail.com
7834b8677f64f35c4cc8daa3874916b64985b960
d9f7123433fe473cfa2fd5c3438251f83ffb326c
/apps/friends/migrations/0001_initial.py
16167c1f6e319ab036c0be97c12a1794ba42f116
[]
no_license
mazurbeam/friends
6c2d201220db52bc85eb1869fd6685eee372e920
1dc2432ad371113c0979158053c821a449ebbc6c
refs/heads/master
2021-01-01T18:27:12.875643
2017-07-25T20:46:08
2017-07-25T20:46:08
98,345,240
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-07-25 17:42 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('login', '0001_initial'), ] operations = [ migrations.Crea...
[ "mazurbeam@gmail.com" ]
mazurbeam@gmail.com
4ec44310093c3c6d0fdd8224e882899b6e273eb1
009df7ad499b19a4df066160cf0c7d8b20355dfb
/src/the_tale/the_tale/game/actions/relations.py
88e1482deff3017d5f67533c4ecbe384f063fd64
[ "BSD-3-Clause" ]
permissive
devapromix/the-tale
c0804c7475e877f12f29444ddbbba025561d3412
2a10efd3270734f8cf482b4cfbc5353ef8f0494c
refs/heads/develop
2020-03-28T20:26:30.492292
2018-10-07T17:32:46
2018-10-07T17:32:46
149,070,887
1
0
BSD-3-Clause
2018-10-07T17:32:47
2018-09-17T04:57:50
Python
UTF-8
Python
false
false
3,039
py
import smart_imports smart_imports.all() UNINITIALIZED_STATE = 'uninitialized' class ACTION_EVENT(rels_django.DjangoEnum): records = (('DISHONORABLE', 0, 'бесчестный герой'), ('NOBLE', 1, 'благородный герой'), ('AGGRESSIVE', 2, 'аггрессивный герой'), ('PEACEABLE',...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
97f46c4e8a69b34ea9056ea3637ad2af8618fcba
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/vetat.py
5d3176c7883a2ee42e63a5db54a708748e1421c9
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
43
py
ii = [('DibdTRL.py', 1), ('WordWYR.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
feb2dc16e2789132a98ac763eb08a63bb6ff086e
2ca7eda87460f702bec33708d8a494d8c701a7b2
/tensorflow/python/keras/mixed_precision/experimental/device_compatibility_check.py
9279c37bb527a972aa8867a79d31b0c5e9777dc4
[ "Apache-2.0" ]
permissive
xiaolinpeter/tensorflow
7f931b294a434d731185131c22034c6b68cdf2b7
28aa08fc1e017355fc1118913bd988cf7890bec5
refs/heads/master
2021-05-19T06:55:47.491635
2020-03-31T09:02:33
2020-03-31T09:05:54
251,556,442
2
0
Apache-2.0
2020-03-31T09:24:32
2020-03-31T09:24:31
null
UTF-8
Python
false
false
7,115
py
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
16e44fe8b2dcdb7050cf93f7d7f693492e0b9d39
075786cd6b8b5d3e943162512bbc3950532734f3
/player/human.py
84b9008c187e6edd22e571255debd7daa32ab40a
[]
no_license
VincentVelthuizen/Menace
470c6744de65a2685be92ed9d450d1dfea5c0bad
196498200cbdbfba9ccd2b1497efacf7c63b4171
refs/heads/master
2023-05-02T20:48:25.636309
2021-05-20T12:37:49
2021-05-20T12:37:49
320,262,025
0
2
null
2021-05-20T12:37:50
2020-12-10T12:13:00
Python
UTF-8
Python
false
false
708
py
import player from board import Board, _state_set_cell class Human(player.Player): keys = {113: (0, 0), 119: (0, 1), 101: (0, 2), 97: (1, 0), 115: (1, 1), 100: (1, 2), 122: (2, 0), 120: (2, 1), 99: (2, 2)} # The human player object needs to be able to talk to the computer user through...
[ "mail@vincentvelthuizen.com" ]
mail@vincentvelthuizen.com
4d62a2fb14ec957250f83aec716fc37141077cda
73b3ca8a063778f30fc259110519791bedd67801
/ticketplace/settings.py
f3d224c9f1d212ba90381440d8aa2b7ea111fc85
[]
no_license
DasomJung24/ticketplace
f57fb2368443026c185766f28e778545acb7d647
930e34f4e498ecf588bcb094b16ada57ac43ddf3
refs/heads/master
2023-01-29T04:33:34.924023
2020-12-13T16:59:16
2020-12-13T16:59:16
320,288,514
1
0
null
null
null
null
UTF-8
Python
false
false
3,093
py
""" Django settings for ticketplace project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pat...
[ "jeongdasom6@gmail.com" ]
jeongdasom6@gmail.com
ee479a8e15e54478b39ed5ed5115da25c05873d9
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/gigasecond/98fa6807241a4f499dd59d2ee5226c72.py
74dc0ddc31fe3bb8dc22e62a1f1d583aa6b658bd
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
98
py
import datetime def add_gigasecond(date): return date + datetime.timedelta(seconds=10**9)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
8e9683fe6b02f5131b9205be402928e216b2f878
adb145c78bbc9fa557abef3333c85882cb2442fe
/examples/show_channels.py
c769d6dacb1c3c3a9195c9be5af8f44c5d5965e8
[]
no_license
mgpwanderer/pyst3
574b40c7edbd058048c393c923b7f581b6ef2799
b7ef58b8dab6ceeb0c23e498d9f21e61afaa9b4c
refs/heads/master
2021-01-18T13:08:55.205169
2014-11-21T09:04:31
2014-11-21T09:04:31
17,709,524
9
4
null
2020-05-08T15:48:08
2014-03-13T12:38:39
Python
UTF-8
Python
false
false
915
py
""" Example to get list of active channels """ import asterisk.manager import sys manager = asterisk.manager.Manager() try: # connect to the manager try: manager.connect('localhost') manager.login('user', 'secret') # get a status report response = manager.status() prin...
[ "areski@gmail.com" ]
areski@gmail.com
769cedf41185d39d17f661de4cfba647bc7c158c
52b5773617a1b972a905de4d692540d26ff74926
/.history/robort_20200727104801.py
2010285cce961f66b93daecfab4a32147f02ab60
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
def uniquePaths(m,n): # use dynamic programming and answer is at arr[m][n] # let's create and empty grid with 0's grid = [[0] * m] * n # then using the top down uproach we shall prefill all the uniquePaths(3,2)
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
7b189de1b50ee4d7efb7fdb48f5d1dd07172fb5e
055581f9d6c81eda2f73ea05b90b7a2256da1219
/parts/zodiac/jinja2/nodes.py
e8e4074b02fbc668efd963aeab34328eaab7ecba
[]
no_license
Tosti770/zodiac
488a91c3e872a62d09a3ebb22a951dadcbd1c2df
af0380e20eb90699a84e3b7c6cb2085a1fb81667
refs/heads/master
2020-04-13T06:54:26.333228
2014-03-03T20:10:11
2014-03-03T20:10:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
/home/ruben/zodiac/eggs/Jinja2-2.7.1-py2.7.egg/jinja2/nodes.py
[ "ruben_tc@hotmail.es" ]
ruben_tc@hotmail.es
12826fe19b895ac45cd98838364927f7bb08dd9c
ed962cd83f09d9f14f4528c3b2e6ae55d48de5b3
/wagtail-repository/wagtail/core/apps.py
dd6ee694395a3e97cc26a142e7ac0ec899d0e0ff
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
TobiasSkovgaardJepsen/wagtail-on-heroku
9eefc4346a88191b8a2f5c902db4b2645fdbad67
17e4720f86023225e0704890688998a80bb87a17
refs/heads/master
2022-12-19T03:54:51.766911
2018-01-20T14:41:33
2018-01-20T14:41:33
117,421,808
0
1
BSD-3-Clause
2022-12-07T23:51:05
2018-01-14T10:46:23
Python
UTF-8
Python
false
false
292
py
from django.apps import AppConfig class WagtailCoreAppConfig(AppConfig): name = 'wagtail.core' label = 'wagtailcore' verbose_name = "Wagtail core" def ready(self): from wagtail.core.signal_handlers import register_signal_handlers register_signal_handlers()
[ "tsj@aau114974.mynet" ]
tsj@aau114974.mynet
6ff1d93caaa9b376c31d963dc66cd9a3cb8fc42b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_weighted.py
e340dc692dc99f8c2fded0864e71b23542626ba9
[ "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
224
py
#calss header class _WEIGHTED(): def __init__(self,): self.name = "WEIGHTED" self.definitions = weight self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['weight']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e16d6b0c732d957e8b90b55aaf84a77a990b923a
36216b52f6d3c9b5d16e9d93c56540fe07bc5f5a
/backstage/server/forms.py
71e701d5357e296b3d5d578887a50bac8171c822
[ "MIT" ]
permissive
zerolfx/eoj3
3984676d1e29ad5d04f06a41836ece3f1a452054
156060399d1c3e5f7bcdbf34eaffbe2be66e1b20
refs/heads/master
2020-08-10T19:55:36.278006
2019-10-11T10:26:20
2019-10-11T10:27:19
214,410,171
1
0
MIT
2019-10-11T10:39:12
2019-10-11T10:39:11
null
UTF-8
Python
false
false
367
py
from django import forms from dispatcher.models import Server class ServerEditForm(forms.ModelForm): class Meta: model = Server fields = ['name', 'ip', 'port', 'token', 'concurrency', 'runtime_multiplier', 'version', 'master'] class ServerUpdateTokenForm(forms.Form): new_password = forms.CharField(min_l...
[ "scottyugochang@hotmail.com" ]
scottyugochang@hotmail.com
c63ce4b9e4bf4d5e9cee09e0aea032917a339c41
838f063e516b979364bdddb7a8604f9c3ff405d8
/tests/gcloud/database_ddl_test.py
1d0ce1560405f41a462e23ba85afa985200059d2
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/cloud-spanner-emulator
d205193c7c3c265a47a822e1df574271c8522759
53eaa404d303fb2dc03f3b444553aa9bb24c3786
refs/heads/master
2023-08-29T12:33:41.780107
2023-08-11T08:15:10
2023-08-11T08:15:10
251,420,886
236
38
Apache-2.0
2023-09-07T12:35:45
2020-03-30T20:28:25
C++
UTF-8
Python
false
false
3,012
py
# # 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 agreed to in writing,...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
97b8ec6308ec18fdc55cc64668317b9d601f77e6
2d20823359e012c3d5942ec72b2442e2d5e3f2d7
/demo/World population.spx.py
777a6503622bacd601997903f984450c5894e330
[ "MIT" ]
permissive
urbach/jupytext
8fa20d6f83abb6c09ad4cd952c6e8748e3183643
6d3a38505ae539975085f9d5b4e457c9566a7977
refs/heads/master
2020-04-24T14:55:49.401909
2019-02-22T08:43:37
2019-02-22T08:43:37
172,044,219
1
0
MIT
2019-02-22T10:14:39
2019-02-22T10:14:39
null
UTF-8
Python
false
false
3,282
py
# --- # jupyter: # jupytext: # formats: ipynb,.pct.py:percent,.lgt.py:light,.spx.py:sphinx,md,Rmd # text_representation: # extension: .py # format_name: sphinx # format_version: '1.1' # jupytext_version: 1.0.0-dev # kernelspec: # display_name: Python 3 # language: python # ...
[ "marc.wouts@gmail.com" ]
marc.wouts@gmail.com
f501394f023f2bbc4fd47d7e5d9395da864c4d02
edcd74f8f65119bdbe737360c2ca33b4a6da160a
/python/problem-math/number_of_boomerangs.py
c34438c428b9e6c199038da0702b5990b8fb8aaa
[]
no_license
hyunjun/practice
72e83de6a1d5e04ddcd16526f16110ea2dd00373
5376dd48b1cefb4faba9d2ef6a8a497b6b1d6c67
refs/heads/master
2023-08-31T07:00:37.320351
2023-08-17T07:29:24
2023-08-17T07:29:24
2,704,126
3
2
null
2022-12-14T20:25:07
2011-11-03T18:28:44
Python
UTF-8
Python
false
false
10,228
py
# https://leetcode.com/problems/number-of-boomerangs from collections import Counter class Solution: def distance(self, p, q): return (p[0] - q[0]) ** 2 + (p[1] - q[1]) ** 2 # Time Limit Exceeded def numberOfBoomerangs(self, points): if points is None or 0 == len(points): ...
[ "agapelover4u@yahoo.co.kr" ]
agapelover4u@yahoo.co.kr
0c7496f34ee608feab34d8444ee4d5c33dc88ec5
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/factors_of_influence/fids/sunrgbd.py
d7687853f656cc3995e06bd4997ecd3bd6b68748
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
3,865
py
# coding=utf-8 # Copyright 2023 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
26c116499964bec993a0ecb35274db83c88896aa
0119f92755f9a1b2b959891457207063f8f200ae
/py2/h2o_import.py
928e29fd0c9f8ea4dd80cbab28b36b94b26250b8
[ "Apache-2.0" ]
permissive
chagge/h2o-dev
4a505acfe840fde821536757fdc497917ad0e06c
9c444efa618077962728f7c19f7eecb43a4e9849
refs/heads/master
2021-01-14T19:43:00.331580
2014-11-17T02:14:22
2014-11-17T02:14:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,261
py
import h2o, h2o_cmd, h2o_jobs, h2o_print as h2p import getpass, time, re, os, fnmatch import h2o_args, h2o_util, h2o_nodes from h2o_test import verboseprint, dump_json, check_sandbox_for_errors #**************************************************************************************** # hdfs/maprfs/s3/s3n paths should b...
[ "kevin@0xdata.com" ]
kevin@0xdata.com
03db6f6bd47c591afc9e7b870cc8ed968dca8687
acc37c2f7ea1500b46b9a8d3d01f70f64af4f8d9
/orders/__init__.py
c77f0dbde7ad6ababa4e9edfb83d9c20e0b7a730
[]
no_license
solotony/avia78
3e9e80548353a8a491194a1c6f9f6cf7b9c6810f
6b2b11046c48db2b95dc4e2e09e06fc3a05b5584
refs/heads/master
2021-07-07T15:14:34.473472
2020-12-02T08:27:37
2020-12-02T08:27:37
207,470,387
1
0
null
null
null
null
UTF-8
Python
false
false
49
py
default_app_config = "orders.apps.OrdersConfig"
[ "as@solotony.com" ]
as@solotony.com
761631e008d73e304e87b40d11cc0bc377475f41
d30233316dd25fa1fe757f46769fba2da4934876
/GRADER/File.py
6d9daec59ae5214854e9ed492dcfb42a1e9cb1f7
[]
no_license
saumya-singh/CodeGrader
7fb1ca75bc07a76c7ff0c506f22d22cfaa8661b0
6338da979cff00c7a12b8988d2d1886663278f14
refs/heads/master
2020-03-10T19:21:44.775031
2018-04-14T19:44:35
2018-04-14T19:44:35
129,546,341
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
import requests import os class File: base_url = "http://192.168.43.190:8080/CodeGrader2" base_directory = "/tmp" def __init__(self, submission_id, file_name): self.submission_id = submission_id self.file_name = file_name.strip() self.filename_noext, file_ext = os.path.splitext(self.file_name) self.fi...
[ "saumya.singh0993@gmail.com" ]
saumya.singh0993@gmail.com
b9ad598aef5d9c6ff63715cc8682439a6df16879
5d32d0e65aa3bfa677fd1b8c92569e07e9b82af1
/Section 4 - Lists/Fruit Machine 2.py
e78f93ec3c25930ea64edd0961d61c27284f6398
[ "CC0-1.0" ]
permissive
pdst-lccs/lccs-python
b74ef2a02ac8ad2637f713fff5559f4e56c9827d
95cb7ece05716521e9951d7a40de8fb20a88021f
refs/heads/master
2023-05-28T00:46:57.313972
2023-05-22T10:16:43
2023-05-22T10:16:43
240,501,524
21
18
null
null
null
null
UTF-8
Python
false
false
1,026
py
# Event: LCCS Python Fundamental Skills Workshop # Date: May 2018 # Author: Joe English, PDST # eMail: computerscience@pdst.ie # Purpose: A program to simulate a fruit machine # Description: To run this program the file fruits.txt must exist in the runtime folder # This program reads the entire file in one comman...
[ "noreply@github.com" ]
pdst-lccs.noreply@github.com
f741b30f77ecb2541f9ec583b4922d037e629df7
fee8b1eb5b2d3f12b6b549be0daddecaaa3d0c25
/test/orm/dml/test_bulk_statements.py
0cca9e6f5f9b54b67e88c6ad55b3131ce7baf623
[ "MIT" ]
permissive
john-bodley/sqlalchemy
e26c85677a9405b4ba94adc492fcb78a2372d368
eddf474d528f55a2ed56e3dac1b0e5decd1e0952
refs/heads/main
2022-10-25T11:45:27.681999
2022-09-27T14:23:28
2022-09-27T14:23:28
542,353,543
0
0
MIT
2022-09-28T01:14:37
2022-09-28T01:14:35
null
UTF-8
Python
false
false
37,511
py
from __future__ import annotations from typing import Any from typing import List from typing import Optional import uuid from sqlalchemy import exc from sqlalchemy import ForeignKey from sqlalchemy import func from sqlalchemy import Identity from sqlalchemy import insert from sqlalchemy import inspect from sqlalchem...
[ "mike_mp@zzzcomputing.com" ]
mike_mp@zzzcomputing.com
99676168522f6040813b9ddb4402a4be3081a0d5
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW02_20210630162753.py
ba3ab937a9adc7f59ef0592f1d2524cc1d73c68b
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
4,432
py
""" Georgia Institute of Technology - CS1301 HW02 - Conditionals and Loops Collaboration Statement: """ ######################################### """ Function Name: snackBar()  Parameters: snack (str), ingredient (str), yourMoney (float) Returns: whether you can get the snack (bool) """ ###########...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
b5b8ba1d6d74bfc6140163460ff7ee5b0e2234ff
4d27d69c22f9c405e1d11baa7d3872b7075c68fa
/day3/oploadpic.py
3f1229049a597b4ea32491649f0c3c45f4bce2dc
[]
no_license
zhentestnice/selenium_test1
99f547104e5b547e78c9fb1dd3860a6a97c91d63
9bbb8578b84447c6b14adefd3122e2b8ac437dc4
refs/heads/master
2021-08-23T04:13:25.251992
2017-12-03T07:09:14
2017-12-03T07:09:14
112,907,711
0
0
null
null
null
null
UTF-8
Python
false
false
2,764
py
import time from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.select import Select driver = webdriver.Chrome() driver.implicitly_wait(30) driver.maximize_window() driver.get("http://localhost/index.php?m=admin&c=pu...
[ "51Testing" ]
51Testing
933a90d77bcc6337f44e77eb422d6513ca2f3a4e
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/alwayson/testcase/firstcases/testcase5_028.py
6cf58969ae1d92078ea9a7ace0fa943a46deb2cd
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
5,631
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
5e4cb27bc88ca962e358de8631e842d4b3395cfb
5292189eb99d9a69b4e417dfed352e7de0844b0e
/scripts/generate_enriched_texts.py
d76137474504d68ed6cc0d8f876971e1e90b30da
[ "MIT" ]
permissive
Envinorma/data-tasks
e1197ac3deada7edc5406933b65fd099bd412f6d
7aa12b5def1b8a7a10c9651fb02267592fef0368
refs/heads/main
2022-10-26T21:38:39.952029
2022-06-12T08:46:38
2022-06-12T08:46:38
364,975,968
0
0
MIT
2022-10-11T12:25:53
2021-05-06T16:41:49
Python
UTF-8
Python
false
false
1,265
py
# DEPRECATED ''' Script for generating all versions of a specific AM using its structured version and its parametrization. ''' # from typing import Optional, Tuple # from envinorma.parametrization.am_with_versions import AMVersions, generate_am_with_versions # from envinorma.utils import write_json # from tasks.data_...
[ "remi.delbouys@laposte.net" ]
remi.delbouys@laposte.net
37276aeb06dcad99c2d20af20c2879662c23e92f
6e8f2e28479566dbaa338300b2d61f784ff83f97
/.history/code/live_20210420075102.py
5aaca3d8bdf9d7202c4559c9a90c0e239879462c
[]
no_license
eeng5/CV-final-project
55a7d736f75602858233ebc380c4e1d67ab2b866
580e28819560b86f6974959efb1d31ef138198fc
refs/heads/main
2023-04-09T21:28:21.531293
2021-04-21T19:57:22
2021-04-21T19:57:22
352,703,734
0
0
null
null
null
null
UTF-8
Python
false
false
2,547
py
import os import cv2 import sys import numpy as np from models import SimpleModel from preprocess import Datasets import hyperparameters as hp import tensorflow as tf from skimage.transform import resize from PIL import Image, ImageFont, ImageDraw from scipy.spatial import distance as dist from imutils import face...
[ "natalie_rshaidat@brown.edu" ]
natalie_rshaidat@brown.edu
ed7ad0ebeb496183ba4b5ae5a8803c223274731c
6b1dd40d16ae6169e7ed780c5062e88d10502c85
/Kaggle/Playgroud/RiskPrediction/Home-Credit-Default-Risk-master/py/trash/902_cv_LOO_524-1.py
da31953b17d71903f208c8f4e306fb38ac469b9e
[ "MIT" ]
permissive
hehuanlin123/DeepLearning
8a59680a341cfc525d50aa5afc3e44202ca4acc4
6b7feabbbde9ac9489f76da4c06eeb6703fb165a
refs/heads/master
2022-07-12T09:26:08.617883
2019-06-10T11:31:37
2019-06-10T11:31:37
183,748,407
1
0
null
null
null
null
UTF-8
Python
false
false
2,572
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu May 24 21:09:29 2018 @author: kazuki.onodera """ import numpy as np import pandas as pd import sys sys.path.append('/home/kazuki_onodera/Python') import lgbmextension as ex import lightgbm as lgb import gc import utils utils.start(__file__) #==========...
[ "szkfzx@szkfzxdeiMac.local" ]
szkfzx@szkfzxdeiMac.local
f58417c1d198d5d79a6b11bba9b19fb2b7416ef0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_perish.py
f448a3104103b61dfd8543a82aa79519714189e1
[ "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
449
py
#calss header class _PERISH(): def __init__(self,): self.name = "PERISH" self.definitions = [u'to die, especially in an accident or by being killed, or to be destroyed: ', u'If material such as rubber or leather perishes, it decays and starts to break into pieces: '] self.parents = [] self.childen = [] s...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5814d5b9897fce2326f8464326357614ccef0682
ad9782856ec2f860fccbefa5e75a896691b8e1cc
/MonteCarlo/test/dropLargeRespace/VBF_HToZZTo4L_M125_14TeV_powheg2_JHUgenV702_pythia8_LHE_GEN_SIM_OT_Tilted_362_200_Pixel_4021_dropLargeRespace.py
a4a679fc47b806bb6339c6dcefcd23818ed9126b
[]
no_license
OSU-CMS/VFPix
7fe092fc5a973b4f9edc29dbfdf44907664683e5
4c9fd903219742a4eba1321dc4181da125616e4c
refs/heads/master
2020-04-09T05:52:05.644653
2019-01-09T13:44:22
2019-01-09T13:44:22
30,070,948
0
0
null
2018-11-30T13:15:54
2015-01-30T12:26:20
Python
UTF-8
Python
false
false
6,517
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: Configuration/Generator/python/VBF_HToZZTo4L_M125_14TeV_powheg2_JHUgenV702_pythia8_cfi.py --conditions auto:phase2_realistic -n 100 --era Phas...
[ "juliette.alimena@cern.ch" ]
juliette.alimena@cern.ch
be72477f2c2a81bb266c758a9409a5ecc183c251
652121d51e6ff25aa5b1ad6df2be7eb341683c35
/programs/e2proclst.py
4ed2507cb5f9c3544cff4642cdfa9f78535076d1
[]
no_license
jgalaz84/eman2
be93624f1c261048170b85416e517e5813992501
6d3a1249ed590bbc92e25fb0fc319e3ce17deb65
refs/heads/master
2020-04-25T18:15:55.870663
2015-06-05T20:21:44
2015-06-05T20:21:44
36,952,784
2
0
null
null
null
null
UTF-8
Python
false
false
6,932
py
#!/usr/bin/env python # This program performs simple processing of .LST files # Author: Steven Ludtke, 10/06/14 (sludtke@bcm.edu) # Copyright (c) 2014- Baylor College of Medicine # # This software is issued under a joint BSD/GNU license. You may use the # source code in this file under either license. However, note th...
[ "jgalaz@gmail.com" ]
jgalaz@gmail.com
ccc42f46382a7123266fc8d929e483370e32deca
892efbbd60049f22c5e271a0e49f505e9f6029e1
/doc/examples/plot_holes_and_peaks.py
a9c3a7fe4e8a26085f62c53f4856ad170652fcd5
[ "BSD-3-Clause" ]
permissive
teoliphant/scikit-image
95338caa2876f2c6360a8e164b7cc2d4127f2038
d0415e6df475157705fd1ef2af69b16e4f7e38cc
refs/heads/master
2020-12-30T19:23:04.806465
2012-11-02T23:02:06
2012-11-02T23:02:06
6,649,519
2
0
null
null
null
null
UTF-8
Python
false
false
2,601
py
""" =============================== Filling holes and finding peaks =============================== In this example, we fill holes (i.e. isolated, dark spots) in an image using morphological reconstruction by erosion. Erosion expands the minimal values of the seed image until it encounters a mask image. Thus, the seed...
[ "tsyu80@gmail.com" ]
tsyu80@gmail.com
09efec9a6022b0570ad0e33b0dff86b355536217
adc6d8ee596e4710c3241332758bb6990bdd8914
/subDM/subNormDM/brilloContraste.py
fbeff8b5ec28d286245d03e284c4ef261b484cfc
[]
no_license
NatalyTinoco/Trabajo-de-grado_Artefactos
cf9491c47a8a23ce5bab7c52498093a61319f834
5cc4e009f94c871c7ed0d820eb113398ac66ec2f
refs/heads/master
2022-03-20T00:51:48.420253
2019-11-24T19:10:40
2019-11-24T19:10:40
197,964,659
1
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
# -*- coding: utf-8 -*- """ Created on Thu Jul 18 20:07:00 2019 @author: Nataly """ import numpy as np def contraste(img): im11 = img #arreglo = np.array(im11.size) #print(im11.size) #total = arreglo[0] * arreglo[1] arreglo=im11.shape #arreglo=list(arreglo) total = arreglo[0] * arreglo[1] ...
[ "51056570+NatalyTinoco@users.noreply.github.com" ]
51056570+NatalyTinoco@users.noreply.github.com
14415685f0b81759021a5a3f25a5cc9cb4e92344
79140b67cac1f5c8e3eb3ab3e7ad65a3a98866e8
/test/evil.py
4f413dc29670f310f6adc4af6df1abae8bf75cc3
[]
no_license
dlovemore/bible
63c1eceed4a919f7a6d2dfb76b6b084d05c49612
2594a2414a66c0abedd1278fef805415a8793f28
refs/heads/master
2021-01-03T07:17:45.527017
2020-05-16T17:54:18
2020-05-16T17:54:18
239,975,858
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
>>> from mene import * >>>
[ "davidlovemore@gmail.com" ]
davidlovemore@gmail.com
fb38f12c46f395528c451d5947b56f7e4c6fe7c6
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/homework02/maoyanspiders/maoyanspiders/pipelines_20200627225323.py
e51756f37474e463a0b362cab3f142dfb62b103a
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
497
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html class MaoyanspidersPipeline(object): def process_item(self, item, spider): films_name = item['films_name'] ...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
dd8bb1c250b24c436a67fde4a1a0d51018deae0f
1af44bdcbc3c15d3f6e436a7924dfd45f504ab3a
/01.jump to python/chpter 7/1_Regular_Expression/322_4.py
e7264c33ea0b3f9081a31f5eecfb71e933afd995
[]
no_license
wql7654/bigdata_exam
f57c8b475690cbc5978009dbf8008bedff602e2a
c07ee711bb84407428ba31165185b9607b6825e8
refs/heads/master
2023-04-07T00:50:59.563714
2021-05-25T02:46:43
2021-05-25T02:46:43
180,915,985
0
0
null
2023-03-25T01:08:09
2019-04-12T02:36:08
Jupyter Notebook
UTF-8
Python
false
false
491
py
import re file_name=["foo.bar","autoexec.bat","sendmail.cf","sandstrom.p"] #확장자가 bat인 파일은 제외해야 하는 조건 추가 p = re.compile(".*[.]([^b].?.?|.[^a]?.?|..?[^t]?)$") for file in file_name: m = p.search(file) print(m) #확장자길이가 1~3개까지 가능 #확장자의 글자의 갯수가 2이상이 되도록 "?"를 추가하여 # ver 2에서 추가한 확장자가 'bat'인 파일을 제거하기...
[ "studerande5@gmail.com" ]
studerande5@gmail.com
6e4f75ac35fb9b664f40bc19a40e3bf93dc0da7b
3bae1ed6460064f997264091aca0f37ac31c1a77
/core/sort/sort.py
46dd25711428d5aa0b51bd19a417355790d4ac24
[]
no_license
racktivity/ext-pylabs-core
04d96b80ac1942754257d59e91460c3a141f0a32
53d349fa6bee0ccead29afd6676979b44c109a61
refs/heads/master
2021-01-22T10:33:18.523799
2017-06-08T09:09:28
2017-06-08T09:09:28
54,314,984
0
0
null
2017-06-08T09:09:29
2016-03-20T11:55:01
Python
UTF-8
Python
false
false
4,647
py
# <License type="Sun Cloud BSD" version="2.2"> # # Copyright (c) 2005-2009, Sun Microsystems, 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: # # 1. Redistributions of source code must reta...
[ "devnull@localhost" ]
devnull@localhost
c283a8c68863c409076408a410ce155dddcf590e
11a246743073e9d2cb550f9144f59b95afebf195
/codeforces/793/a.py
0905d62437f790cd23e8d77eb696802d02271c3b
[]
no_license
ankitpriyarup/online-judge
b5b779c26439369cedc05c045af5511cbc3c980f
8a00ec141142c129bfa13a68dbf704091eae9588
refs/heads/master
2020-09-05T02:46:56.377213
2019-10-27T20:12:25
2019-10-27T20:12:25
219,959,932
0
1
null
2019-11-06T09:30:58
2019-11-06T09:30:57
null
UTF-8
Python
false
false
268
py
def main(): n, k = map(int, input().split()) a = list(map(int, input().split())) target = min(a) mods = set([x % k for x in a]) if len(mods) != 1: print(-1) return ans = sum((x - target) // k for x in a) print(ans) main()
[ "arnavsastry@gmail.com" ]
arnavsastry@gmail.com
89beec6259029120fe9cf824913120a3783b0624
202f687add55894f77d88a84f1f7e84605301a0c
/4.scrapy框架/collectips_itemloader$$$/collectips/items.py
f10731bea40faca39daba4f78510340eecfef775
[]
no_license
SuneastChen/python_crawler_learning
6f8ef3b8409ad3c0a9ed900ccd89e7180df5a9bd
6651177ef177231acd9638c39c809bb8f62d5df0
refs/heads/master
2020-03-07T22:45:39.515235
2018-04-02T13:53:55
2018-04-02T13:53:55
127,763,206
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy from scrapy.loader import ItemLoader from scrapy.loader.processors import MapCompose, TakeFirst import re class IPItemLoader(ItemLoader): #继承itemloa...
[ "1050521852@qq.com" ]
1050521852@qq.com
3fdd9076108fb49a93543a90c859c4488e5f0549
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/talent/v4beta1/talent-v4beta1-py/google/cloud/talent_v4beta1/services/tenant_service/async_client.py
9d5e489bae015155dbff5a92171f69c120ea6c73
[ "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
24,545
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
923553c57830c43ea44016664a95c75a979de8cf
bd498cbbb28e33370298a84b693f93a3058d3138
/Google/benchmarks/transformer/implementations/transformer-research-TF-tpu-v3-8192/lingvo/tasks/mt/decoder.py
59ff206cb6bc0ffdb5d3a0bb6f0ed5ef67dafecc
[ "Apache-2.0" ]
permissive
piyushghai/training_results_v0.7
afb303446e75e3e9789b0f6c40ce330b6b83a70c
e017c9359f66e2d814c6990d1ffa56654a73f5b0
refs/heads/master
2022-12-19T16:50:17.372320
2020-09-24T01:02:00
2020-09-24T18:01:01
298,127,245
0
1
Apache-2.0
2020-09-24T00:27:21
2020-09-24T00:27:21
null
UTF-8
Python
false
false
106,948
py
# Lint as: python2, python3 # Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 ...
[ "vbittorf@google.com" ]
vbittorf@google.com
dbb210648c4d90f7249728ed0cec7c1512ae0bec
52b5773617a1b972a905de4d692540d26ff74926
/.history/stringMethods_20200707100427.py
cea2c06286512296eee3554a7f49dc894e2a3569
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
def array(arr): newArr = [] for i in range(len(arr)): b = print(b) array(["[6,7,5]","[1,8]"])
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
b0852967afd53f043a2055024b36f50275138912
134ff3c0719d4c0022eb0fb7c859bdbff5ca34b2
/apps/jobbrowser/src/jobbrowser/models.py
f45e5ec181000982b3479e860d0125504c6cc3dd
[ "Apache-2.0" ]
permissive
civascu/hue
22637f13a4cfc557716557661523131b6ac16da4
82f2de44789ff5a981ed725175bae7944832d1e9
refs/heads/master
2020-03-31T01:50:39.449966
2010-07-21T01:05:50
2010-07-21T01:07:15
788,284
0
0
Apache-2.0
2019-02-04T07:03:12
2010-07-21T07:34:27
Python
UTF-8
Python
false
false
19,479
py
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
[ "bcwalrus@cloudera.com" ]
bcwalrus@cloudera.com
a69b18877b22eeed94b6afd73ed99375d2f964fb
43378f262acb3bbf6af8d4c0dc30d149fa5ba302
/hello/migrations/0004_question_choice4.py
880832f360284e679052b9a1931b4fdf9fded106
[]
no_license
c-bata/django-squash-squashed-migratoins
570d68de550f89ad710968a9c3f9cb353cba91a6
292a8d72d6eded7663a7e79ba94e1e3876c1250c
refs/heads/master
2021-05-18T00:54:29.764796
2020-03-29T10:35:13
2020-03-29T10:35:16
251,034,327
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# Generated by Django 3.1 on 2020-03-29 10:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hello', '0003_question_choice3'), ] operations = [ migrations.AddField( model_name='question', name='choice4', ...
[ "contact@c-bata.link" ]
contact@c-bata.link
f0439f14153f366ba24c74df955485bb042f9030
9cbd523cdedc727f62c887612e8ae2c25c909964
/tests/UI_test/functional/smoke_test_remote_parallel/test_TID_048.py
5fc487754f89ef89b5248b32bade46944f6dc4fc
[]
no_license
louiscklaw/QA_test_scripts
8a71d0bed99fae3b0dac4cd9414b3e34dcf5beed
58b73594332053272d8dce2c812c93297259c782
refs/heads/master
2023-01-27T15:48:29.477848
2020-12-06T10:05:19
2020-12-06T10:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
import os,sys from pprint import pprint import random from time import sleep sys.path.append(os.path.dirname(__file__)) from path_config import * from urls import * from steps import * from pages.config import * from jp import * from urls import * from setupLocalChrome import * from test_TID_046 import * def test...
[ "louiscklaw@gmail.com" ]
louiscklaw@gmail.com
adb8edcc5d7786f61e95e57ac2b102bbbfebd784
3ea99519e25ec1bb605947a94b7a5ceb79b2870a
/modern_python/modernpython/lib/python3.6/site-packages/mypy/test/testinfer.py
5a1475e15009fe67c361fb7640b73957a433ca8c
[]
no_license
tech-cow/spazzatura
437c7502a0654a3d3db2fd1e96ce2e3e506243c0
45fc0932186d2ef0c5044745a23507a692cfcc26
refs/heads/master
2022-09-01T12:01:11.309768
2018-11-15T04:32:03
2018-11-15T04:32:03
130,414,653
1
0
null
null
null
null
UTF-8
Python
false
false
7,344
py
"""Test cases for type inference helper functions.""" from typing import List, Optional, Tuple, Union from mypy.test.helpers import Suite, assert_equal from mypy.checkexpr import map_actuals_to_formals from mypy.nodes import ARG_POS, ARG_OPT, ARG_STAR, ARG_STAR2, ARG_NAMED from mypy.types import AnyType, Tuple...
[ "yuzhoujr@yuzhou-7480.internal.synopsys.com" ]
yuzhoujr@yuzhou-7480.internal.synopsys.com
bc9f5067a043260d80975c5066c32c9c519df9e1
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/577200_Make_unique_file_name/recipe-577200.py
a59a9b0faba37a4fd185f0bfaaf2d8ab21caa915
[ "MIT" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
848
py
''' function for making unique non-existent file name with saving source file extension ''' import os import sys __author__ = 'Denis Barmenkov <denis.barmenkov@gmail.com>' __source__ = 'http://code.activestate.com/recipes/577200-make-unique-file-name/' def add_unique_postfix(fn): if not os.path.exists(fn): ...
[ "betty@qburst.com" ]
betty@qburst.com
830d974e14289df0ff87ee234e5405ffecc86e1c
d4255d83be93caace42fb3cbaedead298b62a5bf
/blog/tests.py
3fea63a4536d3e6f14ef7291416b5b4b29814e0f
[]
no_license
Code-Institute-Submissions/Stream3-GIT
6d56f02d8cbb6686b631b9bae18a4220a3e981eb
4f55a070c2494c96961c0cbe6357e82db200be84
refs/heads/master
2021-01-20T02:07:14.160267
2017-04-25T01:29:07
2017-04-25T01:29:07
89,374,275
0
0
null
2017-04-25T15:04:36
2017-04-25T15:04:36
null
UTF-8
Python
false
false
61
py
from django.test import TestCase #from .models import Post
[ "alinechribeiro@gmail.com" ]
alinechribeiro@gmail.com
0b186051c425659027a1a7dad9b073ba965873b2
7e45c50b01863103d540d156a03437b64b2896b3
/tests/console/commands/test_check.py
0df223b7498638f3c2c9eb9fc07ec8bd78c68878
[ "MIT", "LGPL-3.0-only", "LGPL-2.1-only", "BSD-4-Clause", "GPL-2.0-only", "Apache-2.0", "BSD-2-Clause", "GPL-3.0-or-later", "LGPL-2.1-or-later", "LGPL-3.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "GPL-2.0-or-later", "GPL-3.0-only" ]
permissive
AhmedRedaAmin/poetry
e7ac5ecc332da13cb9768ca286d5f49aec01750d
5ba06bb44201cace7461f245e5f6440a168426ab
refs/heads/master
2020-04-01T02:16:10.826116
2018-10-12T15:33:26
2018-10-12T15:33:26
152,771,840
0
0
MIT
2018-10-12T15:31:10
2018-10-12T15:31:09
null
UTF-8
Python
false
false
268
py
from cleo.testers import CommandTester def test_about(app): command = app.find("check") tester = CommandTester(command) tester.execute([("command", command.get_name())]) expected = """\ All set! """ assert tester.get_display(True) == expected
[ "sebastien@eustace.io" ]
sebastien@eustace.io
fb6b2ba693feea30a693f1c62fecef65ca6856b2
6858b0e8da83676634e6208829ada13d1ea46bd1
/armada_uninstaller.py
3d6e4e7ef0b143dddc54821bc486b1748cd3b80d
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
iVerb/armada-pipeline
452045da1b9dfc85c5d0bb4350feeee2061f761d
9f0d0fd7c23fe382ca9c9ea1d44fcbb3dd5cbf01
refs/heads/master
2023-05-02T00:52:19.209982
2021-05-14T14:57:06
2021-05-14T14:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,920
py
""" Module for prep asset popup. """ import os import sys import platform import subprocess import requests import json from Qt import QtCore from Qt import QtWidgets from Qt import QtGui from core import definitions from core import resource from core import path_maker import utilsa logging = utilsa.Logger('armada...
[ "borbs727@gmail.com" ]
borbs727@gmail.com
81cf2206986eae587556c8ed802ef919b41191b3
966efb6db04789f795474ee5047c497ce3c8c9dd
/100/q37.py
03e23cb87cfcad1d7b43088c8295fbcd6d6391c9
[]
no_license
gitmengzh/100-Python-exercises
43b52ced1688fc30da61025183bcbc7d9f63446f
00746148cececfed4beb2cd29a983a382aa419c8
refs/heads/master
2020-07-06T08:16:40.539517
2019-10-01T13:23:56
2019-10-01T13:23:56
202,952,305
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
''' 定义一个函数,生成一个List,List内容为1-20的平方,然后打印List前五个值 ''' def printList5(): l = [] for i in range(1,21): l.append(i**2) print(l[:5]) test = printList5()
[ "mengzh1618@gmail.com" ]
mengzh1618@gmail.com
3ab390a92b158a2faf4ee829165e0ad9cf072fec
dc8a337ea1d8a285577d33e5cfd4dbbe846ee1a0
/src/main/scala/contest/155/SmallestStringWithSwaps.py
ae3db42c83edd3b2678ee0651eb398bec50107b6
[]
no_license
joestalker1/leetcode
8a5cdda17abd33c3eef859732f75d7bec77a9d0e
ae392ddbc7eb56cb814b9e9715043c98a89a6314
refs/heads/master
2023-04-13T22:09:54.407864
2023-04-09T19:22:54
2023-04-09T19:22:54
131,803,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
from collections import defaultdict class Solution: def smallestStringWithSwaps(self, s, pairs): if not s: return None if len(pairs) == 0: return s def find(parent, i): if parent[i] != i: p = find(parent, parent[i]) parent[...
[ "stalker.comp@gmail.com" ]
stalker.comp@gmail.com
34f7f8f4141f68a3303100cff04e36a6121b6fd0
cc0caf0362909490377a44b08a726dca2d093c4f
/principal_planb.py
a757ef7fb2bf186aca27ade6fb3d85c822c8aaa4
[]
no_license
stefifm/Testing
bf334f97425ac4463e86e39a5bf97061827214c8
4a4cf4f93f050fe12244235774448a46f9a226db
refs/heads/master
2023-01-04T12:25:16.951844
2020-11-03T00:24:13
2020-11-03T00:24:13
294,291,961
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
import planb print("Este es el plan b") def principal(): n = 16 participantes = [] planb.carga_automatica(participantes) planb.orden_sort(participantes) planb.mostrar_participantes(participantes) #generaciópn de los cruces print("OCTAVOS\n") planb.octavos(participantes) print...
[ "bruerastefania@gmail.com" ]
bruerastefania@gmail.com
dadac39624c61550b9c4d7a21b0dbee6e168b988
dd4d1a61ec680a86d4b569490bf2a898ea0d7557
/appengine/predator/analysis/culprit.py
5b0046ceb5e8bcbfbe29b14926c7099efe54fc84
[ "BSD-3-Clause" ]
permissive
mcgreevy/chromium-infra
f1a68914b47bcbe3cd8a424f43741dd74fedddf4
09064105713603f7bf75c772e8354800a1bfa256
refs/heads/master
2022-10-29T23:21:46.894543
2017-05-16T06:22:50
2017-05-16T06:22:50
91,423,078
1
1
BSD-3-Clause
2022-10-01T18:48:03
2017-05-16T06:23:34
Python
UTF-8
Python
false
false
4,439
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from collections import namedtuple class Culprit(namedtuple('Culprit', ['project', 'components', 'cls', 'regression_range', 'algorithm'])): """The re...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
f1b4f05f3d60bb61c3fb15df319d3bfab9891807
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p00002/s318942277.py
e8ba2d4572b2599ea579aebe12436eac026105c3
[]
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
442
py
# -*-coding:utf-8-*- def get_input(): while True: try: yield "".join(input()) except EOFError: break if __name__=="__main__": array = list(get_input()) for i in range(len(array)): temp = array[i].split() a ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4accc9e2844547831a443a791d21841b2e5915b5
ba03b99d73886349d66883b8c328b8eff805772d
/307 range sum query - mutable.py
49e74e5d9b3363ce8e56bcc3cd1106b2f2c1ff0a
[]
no_license
liyi0206/leetcode-python
38cc33eb74b006e7e6609eda86e1ae8d5e278247
2c4a54070b20d2fe33b81d889ad0ad0c6aa5fb5c
refs/heads/master
2016-09-12T22:54:09.622652
2016-05-26T05:20:44
2016-05-26T05:20:44
59,178,964
0
0
null
null
null
null
UTF-8
Python
false
false
1,510
py
class NumArray(object): def __init__(self, nums): """ initialize your data structure here. :type nums: List[int] """ self.nums,self.n =nums,len(nums) # self.sums is the sume of self value and ++lowbit values. # ++lowbit would be larger sibling or pare...
[ "ly.protegee@gmail.com" ]
ly.protegee@gmail.com
edc8f7043c8ab86364b5bdf6be0c590f63897936
a5f0e7c09c36bb2fc91f95e5f3ec7f95c0ed305e
/cafe_backend/apps/users/migrations/0014_auto_20190713_0401.py
06098044ac3a7f73d18794b9f487be6e535f1f9f
[]
no_license
ecmascriptguru/cafe_backend
e703047c7f04d68596f76dcbff06828afbf5cc68
0c4152692d68e951481b39f0789bc58e94e0d20c
refs/heads/master
2022-10-26T00:31:50.070430
2020-06-18T15:30:02
2020-06-18T15:30:02
184,465,639
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# Generated by Django 2.0.9 on 2019-07-12 20:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0013_employee'), ] operations = [ migrations.AlterModelOptions( name='table', options={'ordering': ('user__first_na...
[ "ecmascript.guru@gmail.com" ]
ecmascript.guru@gmail.com
07640491735fee876a9190454f0ed96d02020b80
b1b734ab75a6fe114733d3c0b8ca5046d54b407d
/third_party/onnx/setup.py
51a580599ef8f409d1f55de017ef5580fe47b707
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-2-Clause", "Apache-2.0" ]
permissive
waybarrios/video_nonlocal_net_caffe2
754fea2b96318d677144f16faadf59cb6b00189b
b19c2ac3ddc1836d90d7d0fccb60d710c017253e
refs/heads/master
2020-04-20T03:15:12.286080
2019-01-31T20:44:01
2019-01-31T20:44:01
168,593,110
0
0
Apache-2.0
2019-01-31T20:40:40
2019-01-31T20:40:39
null
UTF-8
Python
false
false
15,409
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from distutils.spawn import find_executable from distutils import sysconfig, dep_util, log import setuptools import setuptools.command.build_py import setuptools.command....
[ "gemfield@civilnet.cn" ]
gemfield@civilnet.cn
ea12358f5a23a570db2306e5474ccf2056c99a16
86a26119af259e3858cb5e57ea2e41e3b25c5fa7
/Python Project/Employee_Home.py
621e7d19f6311f44bdc6037990004706ce2ea09c
[]
no_license
deshmukhshweta/project2
747ca7972a7bfdc4aed20dbb4ee3f6d2f009ca83
8bf07454d259456dc616e7283c266b35fe7b870d
refs/heads/master
2020-04-19T09:57:05.541157
2019-01-29T09:27:01
2019-01-29T09:27:01
168,125,342
0
0
null
null
null
null
UTF-8
Python
false
false
6,602
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # # GUI module generated by PAGE version 4.13 # In conjunction with Tcl version 8.6 # May 31, 2018 12:17:17 AM import sys try: from Tkinter import * except ImportError: from tkinter import * try: import ttk py3 = False except ImportError: import ...
[ "123deshmukhshweta@gmail.com" ]
123deshmukhshweta@gmail.com
ee7eee828cc5606cf575a5d449139425023499f8
71c7683331a9037fda7254b3a7b1ffddd6a4c4c8
/Phys/Bs2MuMuParams/python/Bs2MuMuParams/BDTparam_BDTpaper_summer13.py
fa010b43f4c369d81fe645db70f00488b6e74255
[]
no_license
pseyfert-cern-gitlab-backup/Urania
edc58ba4271089e55900f8bb4a5909e9e9c12d35
1b1c353ed5f1b45b3605990f60f49881b9785efd
refs/heads/master
2021-05-18T13:33:22.732970
2017-12-15T14:42:04
2017-12-15T14:42:04
251,259,622
0
1
null
null
null
null
UTF-8
Python
false
false
18,128
py
#-------------------------------------- # # Parameters of the BDT BsMuMu analysis # #-------------------------------------- #DONE # mass reso # mass mean # CBTrans # CBExpo # signal BDT # justine factor # misID numbers from math import * from errors import * import code import alphaparam_summer13_2011 as alpha11 imp...
[ "liblhcb@cern.ch" ]
liblhcb@cern.ch