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
71f8ce55cd50ec35a4503869ac8a39b39ca214df
224dea99ce9c52abdb9cf11105cbff34e31fbd37
/openpickle.py
7220f3f7a0adbe77e349a68cb01ae6c0432569cd
[]
no_license
lwerdna/miscellany
a613e3cbab3e7d7fced213c456a34a247476df98
000ada42bfd5304337921c6f7d3779854d9a0890
refs/heads/master
2023-08-19T22:12:23.053768
2023-08-11T15:25:06
2023-08-11T15:25:06
67,312,838
1
0
null
null
null
null
UTF-8
Python
false
false
233
py
#!/usr/bin/env python import os, sys import pprint import pickle fpath = sys.argv[1] with open(fpath, 'rb') as f: data = pickle.load(f) pprint.pprint(data) #print('variable named data holds the loaded pickle') #breakpoint()
[ "andrew@vector35.com" ]
andrew@vector35.com
a1cafd13e6b0e15bc58e92b3afa9fe2fb9719a37
b5bc72861644c274b75e42374201ea8cdb84c1a2
/modules/sys_examples/sys/sys/sys-modules-example-1.py
7630bf296f80b50236aee0d0bacbd34653c21ee6
[]
no_license
Aadhya-Solution/PythonExample
737c3ddc9ad5e3d0cde24ac9f366ce2de2fa6cfe
34bc04570182130ebc13b6c99997c81834ad5f53
refs/heads/master
2022-12-18T09:54:30.857011
2020-08-24T13:53:59
2020-08-24T13:53:59
288,183,879
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
# File: sys-modules-example-1.py ''' The modules dictionary contains all loaded modules. The import statement checks this dictionary before it actually loads something from disk. As you can see from the following example, Python loads quite a bunch of modules before it hands control over to your script. ''' import sy...
[ "shashikant.pattar@gmail.com" ]
shashikant.pattar@gmail.com
77d990e511fcd6dd4bb4f87b988989abd67740d3
bf0d7c8d987d5fda14208eb9ce70e31c83c25c25
/c-ex3-skel/classifier.py
55e0b98453f1206ecdd246801b7879a0acea89c0
[]
no_license
SummerBigData/SamRepo
7876e9393c7175e300e175a60c17633c3b23a1bb
fd84ad654370faa48c084349952c2921fde4032d
refs/heads/master
2020-03-18T05:09:08.787956
2018-06-18T17:11:49
2018-06-18T17:11:49
134,327,137
0
0
null
null
null
null
UTF-8
Python
false
false
1,479
py
from numpy import * from numpy.linalg import solve, pinv, LinAlgError from scipy.special import expit from scipy.optimize import minimize # class for implementing a logistic regression classifier for the given <target> number class LogRegMulti: def __init__(self, X, y, target): X = hstack((ones((X.shape[0],1)), X))...
[ "lerner98@gmail.com" ]
lerner98@gmail.com
829a733b925d9bb079f72e349d84ba3d73afa76f
ca299cec2cd84d8b7c2571fa2fdf7161e66b8fe7
/private_server/guard/CELL-39/Q-8/39-8.py
2752989d597a64917ed3635e10db4f5873a817f7
[]
no_license
benmechen/CodeSet
ca57d4a065ac4fc737749f65cb5aa1011d446a88
f5a4bf627a9a8efc76a65ae58db63a973fedffb7
refs/heads/master
2021-07-16T14:23:36.355491
2019-12-02T13:58:27
2019-12-02T13:58:27
225,385,245
1
0
null
2021-06-22T15:37:57
2019-12-02T13:47:09
JavaScript
UTF-8
Python
false
false
75
py
#Set bob equal to 100 using exponentiation on line 3 bob = 100 print(bob)
[ "psybm7@nottingham.ac.uk" ]
psybm7@nottingham.ac.uk
99842880231469f5f37a07fc3cce83346440e6bc
9878df8dcc9443267197e31f24a628e115c87949
/swagger_client/api/organization_api.py
3c659121782f8cc1f3465526546e2acab19c9d9b
[]
no_license
mirandacong/gitea_python_client
79fff8b3bb73f160abb059fe2f470b185017e844
79e2ae5253a20635aa019e176c17f8797d418f01
refs/heads/master
2020-04-02T00:19:07.392521
2018-10-20T05:02:55
2018-10-20T05:02:55
153,798,708
0
0
null
2018-10-20T05:02:56
2018-10-19T14:49:15
Python
UTF-8
Python
false
false
116,684
py
# coding: utf-8 """ Gitea API. This documentation describes the Gitea API. # noqa: E501 OpenAPI spec version: 1.1.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility libra...
[ "qzmfranklin@gmail.com" ]
qzmfranklin@gmail.com
3e06e424d414306886e7c95b237cf84183186642
000f57fa43ecf9f5353ca80ced3ad505698dbecb
/imagelib/imagelib/asgi.py
fe0cb3b33757901983427c7a3fe5d37e25d73ef2
[]
no_license
kamal0072/imagegallary
846e9ef43f6e0c42c98a4a4ad5cb22faef295936
91effde764710fd9bfc31b7dec238d143833e31e
refs/heads/master
2023-05-02T07:32:35.805297
2021-05-21T05:35:05
2021-05-21T05:35:05
359,541,161
1
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" ASGI config for imagelib project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "hasan.kamaal0072@gmail.com" ]
hasan.kamaal0072@gmail.com
69f8221d09bf73bef5f329d9439e13f8073bff6e
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/lurkingplac.py
27d74668f3f52b04118355784debdfd80f25df0a
[]
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
141
py
ii = [('CookGHP3.py', 1), ('GodwWSL2.py', 1), ('CarlTFR.py', 2), ('MedwTAI.py', 1), ('LyttELD3.py', 1), ('RogeSIP.py', 1), ('HowiWRL.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
36a200feb18f15a1297631a73a9889e56a449e68
b9e5aebb49734ad47825130529bd64e59f690ecf
/chapter_6/glossary.py
194c60acd268f7bf0ee08f8ad39daefce5e9056f
[]
no_license
mikegirenko/python-learning
dab0f67d990d95035f93720986c84aaf422f7a9f
db9e3f0e3897caf703169d1f14b15a9aa1901161
refs/heads/master
2021-07-09T08:03:40.535653
2020-08-05T00:13:41
2020-08-05T00:13:41
169,983,732
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
programming_glossary = { 'variable': 'place to store a value', 'loop': 'repeat something', 'string': 'a sequence of characters', 'integer': 'number without decimal', 'python': 'awesome language' } print('Variable is a ' + programming_glossary['variable']) print('\nLoop used to ' + programming_glossa...
[ "mike.girenko@cybergrx.com" ]
mike.girenko@cybergrx.com
7bfb37f70af121d1a093c1fcb7a03e3ecf35af5e
f301de68f64e52fc0770518248eafee6a3c25b1f
/breadcrumbs/templatetags/breadcrumbs_tags.py
0af209fcbd4784382410ad129d06b159cc119228
[]
no_license
bedna-KU/Shakal-NG
1f0cf0ec8f8b2b0ab65e6ed4b954c095554df8a0
c504424545afbe9238d6813962d2a96f7c4889a1
refs/heads/master
2020-12-26T03:55:57.579418
2015-04-25T15:42:47
2015-04-25T15:42:47
34,467,383
0
0
null
2015-04-23T16:17:17
2015-04-23T16:17:17
null
UTF-8
Python
false
false
904
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.core.urlresolvers import reverse from django.template.loader import render_to_string from django.utils.safestring import mark_safe from django_jinja import library from jinja2 import contextfunction @contextfunction @library.global_function ...
[ "miroslav.bendik@gmail.com" ]
miroslav.bendik@gmail.com
c8dac64412d9546a59ff2d093c73b5e63d87cd36
c548c10c4fd0b6c1d1c10cc645cb3b90b31f2de6
/keras/keras21_cancer1.py
496a8c24be1fe94f38d57acbd42a47279eec68f1
[]
no_license
sswwd95/Study
caf45bc3c8c4301260aaac6608042e53e60210b6
3c189090c76a68fb827cf8d6807ee1a5195d2b8b
refs/heads/master
2023-06-02T21:44:00.518810
2021-06-26T03:01:26
2021-06-26T03:01:26
324,061,105
0
0
null
null
null
null
UTF-8
Python
false
false
1,908
py
# 유방암 예측 모델 import numpy as np from sklearn.datasets import load_breast_cancer #1. 데이터 datasets = load_breast_cancer() print(datasets.DESCR) print(datasets.feature_names) x = datasets.data y = datasets.target print(x.shape) # (569, 30) print(y.shape) # (569,) # print(x[:5]) # print(y) from sklearn.preprocessing im...
[ "sswwd95@gmail.com" ]
sswwd95@gmail.com
8af6d7f68f38d74e6e2760a33a6b7938a5e73417
cc0e5613f1532e9922269530057970eb4f320a1a
/setup.py
c7e8c3d5adec9f37717324ddec1ee1bef3a76e11
[ "Apache-2.0" ]
permissive
Huskyeder/RxPY
9e353e20f850ce8e031bacafa91187ff2d0d83e4
8060b9ef79d2fe6654c0265860af6e8829524131
refs/heads/master
2021-01-15T10:18:31.831559
2015-04-15T04:34:05
2015-04-15T04:34:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,730
py
try: from setuptools import setup except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup setup( name='Rx', version='1.1.0', description='Reactive Extensions (Rx) for Python', long_description=("is a library for composing asynchronous and " ...
[ "dag@brattli.net" ]
dag@brattli.net
884ff4c73b7650a2551a86b231ce63b7b72b186f
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/f780f4ba36130202c1c33c2039f2c1a108f3530d-<tanh>-bug.py
d537e1b6b2a3ad0ec1cea9b31886a0912d12355c
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
def tanh(x, name=None): 'Computes hyperbolic tangent of `x` element-wise.\n\n Args:\n x: A Tensor or SparseTensor with type `float`, `double`, `int32`,\n `complex64`, `int64`, or `qint32`.\n name: A name for the operation (optional).\n\n Returns:\n A Tensor or SparseTensor respectively with the sa...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
04ff38ec324ea595eb684f250716b1a385cce3ad
931515a9fdd4404cb548fb6b80c91590f5d5e3c9
/presalytics/lib/templates/base.py
77d775f0f891b846727f71689f40f738cb910cfc
[ "MIT" ]
permissive
presalytics/python-client
2e2fbd617b493ed8be90b844e23b736f294065e3
5d80b78562126feeeb49af4738e2c1aed12dce3a
refs/heads/master
2021-08-18T02:41:06.938468
2020-12-07T15:04:18
2020-12-07T15:04:18
203,414,411
4
1
MIT
2020-03-31T19:27:47
2019-08-20T16:31:57
Python
UTF-8
Python
false
false
12,248
py
import os import typing import jinja2 import presalytics.story.outline import presalytics.story.components import presalytics.lib.util as util if typing.TYPE_CHECKING: from presalytics.story.components import WidgetBase from presalytics.story.outline import Page class WidgetPage(presalytics.story.components.P...
[ "kevin@chart-a-lot.com" ]
kevin@chart-a-lot.com
a38b5e6c0ff87e0c5e46d4090ef5f4b725d3562a
4acc08d2c165b5d88119df6bb4081bcfaca684f7
/python_program/find_SI_amount.py
006ebc10ba141c478ce3b084f1d9dfaaa45ca23f
[]
no_license
xiaotuzixuedaima/PythonProgramDucat
9059648f070db7304f9aaa45657c8d3df75f3cc2
90c6947e6dfa8ebb6c8758735960379a81d88ae3
refs/heads/master
2022-01-16T04:13:17.849130
2019-02-22T15:43:18
2019-02-22T15:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
#22. Simple Interest and ammount find the Given all the Required Values..?? p= float(input("enter the principle")) r= float(input("enter the rate of interest")) t= float(input("enter the time")) SI= (p*r*t)/100 print("simple interest =",SI) A= p+SI print("ammount = ",A)
[ "ss7838094755@gmail.com" ]
ss7838094755@gmail.com
e8c8e2c9083d4608f16657d653d28405842f396e
46ac0965941d06fde419a6f216db2a653a245dbd
/sdks/python/appcenter_sdk/models/AudienceListResult.py
1daf495e95204f5fbfbe411354be8909034bc884
[ "MIT", "Unlicense" ]
permissive
b3nab/appcenter-sdks
11f0bab00d020abb30ee951f7656a3d7ed783eac
bcc19c998b5f648a147f0d6a593dd0324e2ab1ea
refs/heads/master
2022-01-27T15:06:07.202852
2019-05-19T00:12:43
2019-05-19T00:12:43
187,386,747
0
3
MIT
2022-01-22T07:57:59
2019-05-18T17:29:21
Python
UTF-8
Python
false
false
3,956
py
# coding: utf-8 """ App Center Client Microsoft Visual Studio App Center API # noqa: E501 OpenAPI spec version: preview Contact: benedetto.abbenanti@gmail.com Project Repository: https://github.com/b3nab/appcenter-sdks """ import pprint import re # noqa: F401 import six class AudienceListRe...
[ "b3nab@users.noreply.github.com" ]
b3nab@users.noreply.github.com
8aab87ad859cb6aca512e7013e7779f5edbbfd87
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnoutcast.py
7f2574f6294b802d4a2a084db65b2c809e49a209
[]
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
638
py
ii = [('EmerRN.py', 1), ('GodwWSL2.py', 5), ('SadlMLP.py', 1), ('MarrFDI3.py', 2), ('ChalTPW2.py', 2), ('SeniNSP.py', 1), ('LyttELD.py', 1), ('TalfTAC.py', 1), ('GrimSLE.py', 1), ('AinsWRR3.py', 1), ('KiddJAE.py', 1), ('BailJD1.py', 1), ('CoolWHM.py', 1), ('GilmCRS.py', 1), ('DaltJMA.py', 1), ('CrocDNL.py', 1), ('WadeJ...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
d7523d94d3c14ff5feb689d4a04480a646804962
243e9c6a6ac3002ab20e203bf6b9838169b85d83
/reactive_learning.py
1a885b6ac36ed8248cc2ca1677aff50c2de81c03
[]
no_license
8jclxbl/Note
fffaa0dd302e4149bdc94f1a0940cd7204cacdec
2c5c22433013692fdd53670545ccdb23cdbaa379
refs/heads/master
2020-05-16T08:35:00.142359
2019-11-26T10:51:56
2019-11-26T10:51:56
182,916,416
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
from rx import Observable obs = Observable.from_iterable(range(4))
[ "451349242@qq.com" ]
451349242@qq.com
975cd562124cdf58c34d5b5f082dd109d3e2f569
7ba34bf0e690ffbdd47df66a06ae04e321490bd5
/etsproxy/logger/api.py
2b3087792313ec60fb3693defa6736aefa2aa11f
[]
no_license
simvisage/etsproxy
f8daf32f598aff241dc90c1d4788e0acdaead266
529d33c051856a79796fa3dd593a0d1d778a6ebe
refs/heads/master
2016-09-03T00:24:17.900544
2015-06-11T09:52:38
2015-06-11T09:52:38
3,874,907
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
#------------------------------------------------------------------------------- # # Copyright (c) 2012 # IMB, RWTH Aachen University, # ISM, Brno University of Technology # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in the Spirrid top directory "li...
[ "matthias@minkowski.lbb.rwth-aachen.de" ]
matthias@minkowski.lbb.rwth-aachen.de
f94e13dcb6fbc13a6b2d2144841b96d2a2296f0e
a3482e5b922bcc5b8d8fd3dc49a29a3073176191
/source_py2/python_toolbox/function_anchoring_type.py
253b395bd217c17dce1c7ed514aaf3f7a7fbc249
[ "MIT" ]
permissive
apddup/python_toolbox
4d2079826218255240a27b9b977b3a4fc2045ee3
2d336f361122ad4216669b7a3e1d794fa2a76db1
refs/heads/master
2021-01-18T17:09:02.879773
2013-10-06T18:20:34
2013-10-06T18:20:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,974
py
# Copyright 2009-2013 Ram Rachum. # This program is distributed under the MIT license. ''' Defines the `FunctionAnchoringType` class. See its documentation for more details. ''' import sys import types from python_toolbox import misc_tools class FunctionAnchoringType(type): ''' Metaclass for working aroun...
[ "ram@rachum.com" ]
ram@rachum.com
a7f8779a37163981738ccc72f6f703aaf56fc54f
75876aac4ff3466f98188925e9e7d3b8367d1558
/25-class-metaprog/checked/metaclass/checkedlib.py
34484acb32c474866335e074c603719b8ee1c51d
[ "MIT" ]
permissive
CrazyGuo/example-code-2e
88ec45d070036c69501393ab03fee6732b9ae2a2
e986e3bdc06fd29faf97e06a1c55ba95aba7c728
refs/heads/master
2023-06-02T21:10:24.254598
2021-06-17T20:07:01
2021-06-17T20:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,821
py
""" A ``Checked`` subclass definition requires that keyword arguments are used to create an instance, and provides a nice ``__repr__``:: # tag::MOVIE_DEFINITION[] >>> class Movie(Checked): # <1> ... title: str # <2> ... year: int ... box_office: float ... >>> movie = Movie(title=...
[ "luciano@ramalho.org" ]
luciano@ramalho.org
35319f278e7ff5b9496440f2e6be1e4aaa8e0278
da052c0bbf811dc4c29a83d1b1bffffd41becaab
/core/signature_management/models/hr_payroll.py
ac481a3635355f80bcf2991db1bef188877435ec
[]
no_license
Muhammad-SF/Test
ef76a45ad28ac8054a4844f5b3826040a222fb6e
46e15330b5d642053da61754247f3fbf9d02717e
refs/heads/main
2023-03-13T10:03:50.146152
2021-03-07T20:28:36
2021-03-07T20:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,594
py
# -*- coding: utf-8 -*- from openerp import api, exceptions, fields, models, _ class HrPayslip(models.Model): _inherit = 'hr.payslip' # @api.depends('signature') # def _compute_signature_image(self): # if self.env.user.main_signature == 'upload_file': # self.signature = self.env.user...
[ "jbalu2801@gmail.com" ]
jbalu2801@gmail.com
2da3dba6b1e41e7d8bc3bb83e31b842809e33515
b5cdfaccd2d1a96068be10e77fe051841e8ffbd5
/ctrModels/layers/DeepModule.py
f8b4c91f342e7e5b1f37d455255e621d828948ee
[]
no_license
gctian/RecommendRelative
a56a18eb36e6deeeb093b6356ebd9c3e16a3f3c5
31ec4530ae8bbb21fb2b88559b649458c2336df1
refs/heads/master
2022-04-09T12:53:19.902132
2020-03-05T03:46:01
2020-03-05T03:46:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,571
py
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np class DNN(nn.Module): def __init__(self, deep_input_dim, hidden_units, activation=F.relu, l2_reg=0, dnn_dropout=0, use_bn=False, init_std=0.0001, seed=2019, device='cpu'): super(DNN, self).__init__() ...
[ "yangjieyu@zju.edu.cn" ]
yangjieyu@zju.edu.cn
6ad371d766cfa805223cad1374665d6153de5144
84abce44bd0278fa99e9556168290675f399834c
/ZFitter/script/submit_monitoring_jobs_multifit.py
f0296235b7fcbf10caff1d73c3ad390979762a9c
[]
no_license
ECALELFS/ECALELF
7c304c6b544b0f22a4b62cf942f47fa8b58abef0
62a046cdf59badfcb6281a72923a0f38fd55e183
refs/heads/master
2021-01-23T13:36:31.574985
2017-06-22T12:26:28
2017-06-22T12:26:28
10,385,620
1
9
null
2017-06-30T12:59:05
2013-05-30T15:18:55
C++
UTF-8
Python
false
false
12,928
py
#! /usr/bin/env python import os import glob import math from array import array import sys import time import subprocess from optparse import OptionParser parser = OptionParser() parser.add_option('--generateOnly', action='store_true', dest='generateOnly', default=False, help='generate jobs only, without ...
[ "shervin.nourbakhsh@cern.ch" ]
shervin.nourbakhsh@cern.ch
041a614351fcc6814d8d24bba1ba2a6c083c760c
b05761d771bb5a85d39d370c649567c1ff3eb089
/venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/2/unittest.pyi
da38efc613cc70871c4d8575b2fc097a7c4177c7
[]
no_license
JawshyJ/Coding_Practice
88c49cab955eab04609ec1003b6b8c20f103fc06
eb6b229d41aa49b1545af2120e6bee8e982adb41
refs/heads/master
2023-02-19T10:18:04.818542
2023-02-06T21:22:58
2023-02-06T21:22:58
247,788,631
4
0
null
null
null
null
UTF-8
Python
false
false
96
pyi
/home/runner/.cache/pip/pool/6b/bc/9f/e7cf6be5bd2602b62e96a2df6ef996f0d7493539c75d987dadc9574d54
[ "37465112+JawshyJ@users.noreply.github.com" ]
37465112+JawshyJ@users.noreply.github.com
f4b4d00b718585ed31cd29ce71b8f60e07093500
583b2b81e0e7ac3c910bc00204f877aa9c48bdae
/Analysis/HiggsTauTau/scripts/plotNLOReweight.py
a9ee60fd009b0ae60b3758209331920e89274949
[]
no_license
danielwinterbottom/ICHiggsTauTau
8c88a3322c8e362114a53c559634a7ecceb266d2
69f6b580ec1faa4e5b6ef931be880f939f409979
refs/heads/master
2023-09-01T17:49:18.865198
2023-02-07T13:14:15
2023-02-07T13:14:15
10,723,688
4
12
null
2023-09-07T08:41:44
2013-06-16T18:08:22
Python
UTF-8
Python
false
false
2,612
py
#!/usr/bin/env python import ROOT import CombineHarvester.CombineTools.plotting as plot from UserCode.ICHiggsTauTau.uncertainties import ufloat import UserCode.ICHiggsTauTau.MultiDraw import argparse def Rate(hist): err = ROOT.Double() integral = hist.IntegralAndError(0, hist.GetNbinsX() + 1, err) return ...
[ "andrew.gilbert@cern.ch" ]
andrew.gilbert@cern.ch
0c14dec5d07e86860f0dbe7a9e724f70efba9bb7
e1dd6d9dccb822d472b7f4f9e8446dd9202eb5a1
/sdk/test/test_io_k8s_apiextensions_apiserver_pkg_apis_apiextensions_v1beta1_webhook_client_config.py
331dcbfa4b3324afd3605ebf8a82794a5fe8e3a8
[]
no_license
swiftdiaries/argo_client
8af73e8df6a28f9ea5f938b5894ab8b7825e4cc2
b93758a22d890cb33cbd81934042cfc3c12169c7
refs/heads/master
2020-05-17T12:11:57.556216
2019-07-24T23:23:33
2019-07-24T23:23:33
183,701,327
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
# coding: utf-8 """ Argo API Client Generated python client for the Argo Workflows # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import argo.sdk from models.io_k8s_apiexte...
[ "adhita94@gmail.com" ]
adhita94@gmail.com
2204d2acfb965654d6c7a0734ed51fcb94833e6f
ebfcae1c5ba2997b2ac4471d5bedc3f5daffcb31
/repos/Flask_Movie_Site-master/app/models.py
9446323ade377e1f06599e4113013e1574ab1f92
[]
no_license
babiato/flaskapp1
84de2d0b26a54f5820d3bbe97926782ad41e005c
530beb9e3b8516e0e93960b99521c23a523ef546
refs/heads/master
2023-02-26T16:36:49.760632
2021-02-04T09:08:40
2021-02-04T09:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,858
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Version : 1.0 # @Author : Ricky.YangRui from datetime import datetime from app import db """ from flask import Flask, render_template from flask_sqlalchemy import SQLAlchemy import pymysql import os app = Flask(__name__) app.config["SQLALCHEMY_DATABASE_URI"] = "my...
[ "jinxufang@tencent.com" ]
jinxufang@tencent.com
3545d55b728b6b3771ed147e8ef6a4babd9a21f4
c0484c59ccd8e868ae1373351def5edb28c28874
/test/test_http_header.py
f22943717e0dd635c77a727298a4899d194d5026
[ "Apache-2.0" ]
permissive
GISTICON2/unit
9263ffc820f1396e6ce879258ae096dda0e3a9b6
dccb4cf3548724fbec993c5bb83edf928d0b23bf
refs/heads/master
2020-04-27T13:18:58.158563
2019-03-06T12:26:45
2019-03-06T12:26:45
174,365,081
0
1
null
2019-03-07T14:55:20
2019-03-07T14:55:20
null
UTF-8
Python
false
false
11,458
py
import unittest import unit class TestUnitHTTPHeader(unit.TestUnitApplicationPython): def setUpClass(): unit.TestUnit().check_modules('python') def test_http_header_value_leading_sp(self): self.load('custom_header') resp = self.get(headers={ 'Host': 'localhost', ...
[ "zelenkov@nginx.com" ]
zelenkov@nginx.com
23ad840b4162a7a8f10bad88520bf53fe86f222d
83bc96df34fc2311a33a68e8e79af802d84370b9
/vmraid/tests/test_commands.py
0fe8a5c3ea40f18bcd7e13fe1767e6a67a231989
[ "MIT" ]
permissive
sowrisurya/vmraid
001072130ac6be5a3ef5a84523d8949d891e6954
f833e00978019dad87af80b41279c0146c063ed5
refs/heads/main
2023-05-05T13:52:45.386039
2021-05-31T10:23:56
2021-05-31T10:23:56
372,466,378
0
0
null
null
null
null
UTF-8
Python
false
false
14,384
py
# Copyright (c) 2020, VMRaid Technologies Pvt. Ltd. and Contributors # imports - standard imports import gzip import json import os import shlex import subprocess import sys import unittest import glob # imports - module imports import vmraid import vmraid.recorder from vmraid.installer import add_to_installed_apps f...
[ "sowrisurya@outlook.com" ]
sowrisurya@outlook.com
9c56f39998ac6357fc2138ba2549c677f6334ced
8dc84ecbf6992eddd8225718d9841f7e9ffb87d0
/cbv_project/core/migrations/0004_coments_number.py
ad0c3bc856cce1e12926c8bcbc27736cb37f3b40
[]
no_license
projetosparalelos/DjangoClassBasedView
45a50754f39b062f36153d4979ed8138bb19a2a6
af78a70218c95ebcbcb0cbb62606c834a7d3d6a3
refs/heads/master
2020-04-24T21:38:53.998598
2016-10-27T18:01:06
2016-10-27T18:01:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-27 15:15 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_coments'), ] operations = [ migrations.AddField( m...
[ "gpzim98@gmail.com" ]
gpzim98@gmail.com
4647f1e5502a1981da030bbb35981f21809758ff
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/bx6.py
b626315f1c478568d4df7f4685f27827281b78f8
[]
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
733afbe6285c99270a4b2ba3703d0979eb69b31e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/2704.py
d7ee3aad02506313a6336b82a1f950228890cec3
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
import sys def runme(): alphadict = { "a": "y", "b": "h", "c": "e", "d": "s", "e": "o", "f": "c", "g": "v", "h": "x", "i": "d", "j": "u", "k": "i", "l": "g", "m": "l", "n": "b", "o": "k", "p": "r", "q": "z", "r": "t", "s": "n", "t": "w", "u": "j", "v": "p", "w": "f...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
3c9f04293792a5003691771037ae3a5fff420f6a
d6aa13cb1021773d88e2ef780bc4450b38455644
/apex/transformer/functional/fused_softmax.py
8d29337a9e2b0bf996d79b1c7f6031988146f711
[ "BSD-3-Clause" ]
permissive
NVIDIA/apex
f54a9ced5d8b1c14f777e6bb53f11b3dc3ff2d6b
7995de18677295c5edeeab082179edbfdb6ee16a
refs/heads/master
2023-08-21T13:25:44.408616
2023-08-19T04:36:48
2023-08-19T04:36:48
130,725,814
7,932
1,381
BSD-3-Clause
2023-09-13T16:09:42
2018-04-23T16:28:52
Python
UTF-8
Python
false
false
10,915
py
# coding=utf-8 # Copyright (c) 2021, NVIDIA CORPORATION. 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 re...
[ "noreply@github.com" ]
NVIDIA.noreply@github.com
688b35e871ec5b608a44870d49fe56197ecd1450
2c3da6e0bddf55d64d650040bbf286c47b31811a
/学习路线/1.python基础/day07/01-HMCards-主逻辑/hm_card_tool.py
def8acb6716889b1f31dd20f7320f7706d929894
[ "MIT" ]
permissive
Bngzifei/PythonNotes
76bd53db3033a9c51ab4bdd727842cd89607b584
01590e1b6c1bc0f04aa2d355fa2553c04cce27f2
refs/heads/master
2023-02-04T06:49:00.725463
2020-12-15T09:26:40
2020-12-15T09:26:40
155,154,662
1
2
MIT
2020-09-08T01:30:19
2018-10-29T05:02:48
Python
UTF-8
Python
false
false
2,449
py
"""写每个功能的实现细节""" # 定义一个全局列表变量,用来保存所有的名片字典 card_list = [] def show_menu(): """显示菜单""" print('*' * 30) print('欢迎使用[名片管理系统]') print() # 空一行 print('1.新建名片') print('2.显示全部') print('3.查询名片') print('4.退出系统') print() # 空一行 print('*' * 30) def new_card(): """新建名片(保存数据)""" # 1.1提示用户当前的功能 print('功能:新建名片') # ...
[ "bngzifei@gmail.com" ]
bngzifei@gmail.com
d1d1b348027aae860c45b0f3c88c9cfb80b75dae
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp153_5500.py
f2f4f02c8fee73bebe9a10d0b03f4a942eb61dbf
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,764
py
ITEM: TIMESTEP 5500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -2.6571155677723759e+00 4.9857115567765824e+01 -2.6571155677723759e+00 4.9857115567765824e+01 -2.6571155677723759e+00 4.9857115567765824e+01 ITEM: ATOMS id type xs ys zs 1928 1 0.0993163 0.134245 0.151529 172 1 0.0451863 0.103115 0.0983985 174 1 0...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
cd41bd189adce1949dfa51c4f77d36905c5c5ba4
b0b493b7f8e489e2d7e9877af2fdd3b625353377
/chong/chong.py
40c6ef782081de131c7845789062268b3b8f2447
[ "MIT" ]
permissive
jbradberry/chong
879739886a7ffd4c1588648a45e065d0e1972018
1468c9c8ab99e4a83fde98b27fcb88366fea787a
refs/heads/master
2020-12-24T08:55:00.727046
2020-03-28T19:56:48
2020-03-28T19:56:48
26,826,072
0
1
MIT
2020-02-16T19:40:52
2014-11-18T19:27:23
Python
UTF-8
Python
false
false
10,475
py
from __future__ import absolute_import import re import six from six.moves import range class Board(object): num_players = 2 # Valid pawn move offsets DIRECTIONS = ( (-1, 0), ( 0,-1), ( 0, 1), ( 1, 0),) JUMP_DIRECTIONS = ( #Jump destination,...
[ "jeff.bradberry@gmail.com" ]
jeff.bradberry@gmail.com
76a53311b026d5a51cd95708db422e3dea2e4db0
b3c939e013ecfdd68b02344ad2936ae53dd1a725
/mnist/cnn/learner.py
7bdd01fd0210128d1562a53586af8857c54904af
[]
no_license
TakakiNishio/chainer
3cd9d2972d72c30d1d4fb979692de26539903556
55c2771a1a72dccd738e1350ab539f517083ba33
refs/heads/master
2020-12-24T11:07:36.788998
2017-07-02T19:43:45
2017-07-02T19:43:45
73,190,468
0
1
null
null
null
null
UTF-8
Python
false
false
3,666
py
#python library import argparse import time #chainer libraty import chainer import chainer.functions as F import chainer.links as L from chainer import training from chainer.training import extensions from chainer import serializers #python scripts import network_structure as nn import visualizer as v #main if __na...
[ "p104314t@mail.kyutech.jp" ]
p104314t@mail.kyutech.jp
d7923aca77523b22ef837151459bea06217024fd
8337bfdd69708f4bfbe345240dcccc7b8c7f5718
/loglette/__main__.py
a4a12fdea7821dd124b6fb048a995945af6b419c
[ "MIT" ]
permissive
siku2/Loglette
8f1c12ceb7f1009b5eab503ab7608b292be98739
d69f99c3ead2bb24f2aa491a61a7f82cb9ca8095
refs/heads/master
2020-03-24T07:10:26.454200
2018-08-01T13:01:02
2018-08-01T13:01:02
142,555,185
1
0
MIT
2018-08-01T13:01:03
2018-07-27T09:12:51
Python
UTF-8
Python
false
false
1,440
py
#!/usr/bin/env python from argparse import ArgumentParser, Namespace from pathlib import Path from loglette import Version, parse def run(args: Namespace): changelogs = parse(args.file.read_text(), parser=args.parser) # Check against presets using lowercase but make sure to preserve version tag! versio...
[ "siku2@outlook.com" ]
siku2@outlook.com
b8ebd8d932265f942caaeb33d3d4a5b99dc057ca
1ee8a4325a33d79e44b8d9339ed9cc98272653c0
/PyNeuronToolbox/record.py
3bcedd9185c045fe7e626eb9fc22fd5c59d98332
[ "MIT" ]
permissive
JustasB/PyNeuron-Toolbox
7320f5af547674cf5f3a9adb08ffaa16f0a6ede7
3e257f298644374ee78a0b9f401f6c468007493c
refs/heads/master
2021-01-15T09:47:29.539176
2016-08-30T00:49:21
2016-08-30T00:49:21
66,967,196
1
0
null
2016-08-30T18:33:21
2016-08-30T18:33:20
null
UTF-8
Python
false
false
2,301
py
import numpy as np from morphology import allsec_preorder def ez_record(h,var='v',sections=None,order=None,\ targ_names=None,cust_labels=None): """ Records state variables across segments Args: h = hocObject to interface with neuron var = string specifying state variable to b...
[ "alex.h.willia@gmail.com" ]
alex.h.willia@gmail.com
9f6aebcfee1047fc3157d48b5a8757dbc319411c
7eaae831d5f854df4a2614f7479ad0efb24bb48d
/matplotlib.py
784e9428a42161e53cd48a54c093117dbb95421e
[]
no_license
tt-n-walters/python-datascience
d49f220adced5222b25a00e8987a8128595b2505
a893c30159391dde264d4e0980b9324b95253c00
refs/heads/master
2022-11-24T16:18:50.532221
2020-07-24T08:35:51
2020-07-24T08:35:51
280,103,078
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
import sys sys.path.append(sys.path.pop(0)) from matplotlib import pyplot import numpy as np import math import random x_coords = np.arange(-10, 11, 0.2) y_coords = [random.random() * 10 for x in x_coords] sizes = [random.choice([10, 20, 50, 100, 200]) for x in x_coords] all_colours = ["red", "orange", "blue", "gre...
[ "nico.walters@techtalents.es" ]
nico.walters@techtalents.es
9e8b24e25c7675ef8e00b1d23b1f772f3060ac13
04f89b0f89b9f0edff718a8dc915261f7cb28d93
/hermes1d/hermes1d/fekete/hydrogen.py
ce21b53c2bf991b4d83373a93c31d6d628d40def
[]
no_license
MelanieBittl/hermes
805025c609808c5a1a440f4bdd61114f29641ce2
e037aa21366287845c0deb130941b902213805dd
refs/heads/master
2021-01-17T22:37:02.160138
2011-09-23T16:45:01
2011-09-23T16:45:01
1,853,302
1
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
""" This module will eventually end up in SymPy itself. For now we'll keep it here, until we polish the interface and get the job done. """ from sympy import var, factorial, sqrt, exp, S def laguerre_poly(alpha, n, x): r = 0 for m in range(n+1): c = 1 for i in range(m+1, n+1): c *...
[ "ondrej@certik.cz" ]
ondrej@certik.cz
76e7d778ee0b7b5498082e56a66e5331a47be2f6
4e563ac1ab395de8e44c230b0573ec57fe2fabb9
/payment/views.py
0238ddfd1834f5b63945e34b249d647dab3f0c51
[ "MIT" ]
permissive
shabnam1374/BiaBegard
59110e0758abc5c85e88459d35a74531f71d9ac8
46a38f04e6a5d29f31ebb07011d580e31c41ac48
refs/heads/main
2023-08-27T20:16:39.809034
2021-10-28T15:13:46
2021-10-28T15:13:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,713
py
import os import uuid from django.shortcuts import render, redirect from django.views.decorators.csrf import csrf_exempt from idpay.api import IDPayAPI from .models import Invoice from financial.models import Carts def payment_init(): base_url = os.environ.get('BASE_URL') api_key = os.environ.get('IDPAY_API_...
[ "poya_kob@live.com" ]
poya_kob@live.com
88be15b27f57f125df6c74d29d413593f19a26e4
c47efc885e9155b192e73da1cea0c835c5771c67
/manage.py
3abf03bb559d4d818fa7cceb6323c0263f45fea5
[]
no_license
shd0812/learn_restframework
6b3038fc2459e8bd6406c2a03cb621d651dd9ba8
8ae446b35134372d8f4279a553cfa79005a2eb7e
refs/heads/master
2023-02-01T04:20:37.076543
2020-12-16T00:39:09
2020-12-16T00:39:09
321,825,626
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'apiplatform.settings') try: from django.core.management import execute_from_command_line except ...
[ "759275499@qq.com" ]
759275499@qq.com
25a55a32a40fb6f32add641c422491b6797c5d3a
bfddc2da8c2e9d9467ff7fbf31ace9d0092dbda6
/registered_agent/api/v1/viewsets.py
32818679a6ce12f7a4b24e17f529a5d9b5e1a8dd
[]
no_license
crowdbotics-apps/real-estate-17525
cf9af364fb9ca884e2ffed97db72c56beb302939
d687815aed2e4bcfd35d63d33bf58ee0c66c3fbe
refs/heads/master
2023-05-13T12:18:47.250650
2020-05-29T01:48:36
2020-05-29T01:48:36
267,735,595
0
0
null
2021-06-10T11:03:44
2020-05-29T01:22:55
Python
UTF-8
Python
false
false
462
py
from rest_framework import authentication from registered_agent.models import Registered_agent from .serializers import Registered_agentSerializer from rest_framework import viewsets class Registered_agentViewSet(viewsets.ModelViewSet): serializer_class = Registered_agentSerializer authentication_classes = ( ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b3f8345e4853c487fb969098b3cbc12b0db9e9aa
8ecd1d9d1760acbf1f9b999363a5d150460e1c2a
/E8-22.py
3071690c7147836a645396df8089c09de57d333a
[]
no_license
Gary2018X/data_processing_primer
0910c7c37af7ed03546520303c7d1660c62b0254
b0d2cb16b4fcaed08f01accb4695232a33131d28
refs/heads/master
2023-01-14T17:39:48.856606
2020-11-17T03:21:32
2020-11-17T03:21:32
298,432,953
1
0
null
null
null
null
UTF-8
Python
false
false
563
py
# -*- coding: utf-8 -*- # author:Gary import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D # ********典型图制作:3D图:3D散点图******# np.random.seed(0) X = np.random.randn(1000) Y = np.random.randn(1000) Z = np.random.randn(1000) # 生成Figure对象 fig = plt.figure(figsize=(6, 6)) # 生成子图ax ax = ...
[ "56428019+Gary2018X@users.noreply.github.com" ]
56428019+Gary2018X@users.noreply.github.com
5b963ecff02638276baaca4c2c8b22147fdf77e0
0a3e0d965c3cce519af0ae6752292d4c48ef7734
/backend/api/serializers/EnergyEffectivenessRatio.py
803ad0f7a41ebd5c7dae09e0f79c6311a2a9255a
[ "Apache-2.0" ]
permissive
kuanfandevops/tfrs
ae66d1e36815e2bf4d0c2470d1aeb3d03f6cfb38
80ae1ef5938ef5e580128ed0c622071b307fc7e1
refs/heads/master
2023-07-15T09:10:53.970498
2023-06-23T21:13:44
2023-06-23T21:13:44
140,875,622
0
0
Apache-2.0
2018-09-12T23:52:55
2018-07-13T17:33:17
Python
UTF-8
Python
false
false
8,246
py
""" REST API Documentation for the NRS TFRS Credit Trading Application The Transportation Fuels Reporting System is being designed to streamline compliance reporting for transportation fuel suppliers in accordance with the Renewable & Low Carbon Fuel Requirements Regulation. OpenAPI spec version: ...
[ "31664961+kuanfandevops@users.noreply.github.com" ]
31664961+kuanfandevops@users.noreply.github.com
7e6c17b5762d01ec1cdc2acbbd3e68c9af681cc0
494051ad9bac642175cbe57ecafeafa4a6b01dc8
/observing_scripts/180527/lmircam_unsats.py
47541dd4eff6f9a2b454680fd76fb98a4630ebf2
[]
no_license
mwanakijiji/LMIRcam_scripts
c80f8123d1c7ca78df69068fb4136dacc3802071
48d88cde6a4d428b2f08b0f50c05045d4927fb4d
refs/heads/master
2021-07-10T00:35:18.852627
2019-04-18T04:56:12
2019-04-18T04:56:12
109,775,920
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
from lmircam_tools import pi from lmircam_tools.exposures import get_lmircam_frames from lmircam_tools.utils import nod, rawbg, setFLAG ################################################# # USER DEFINED PARAMETERS # ################################################# #camera dit = 1.3 coadds = 1 # ...
[ "spalding@email.arizona.edu" ]
spalding@email.arizona.edu
e8c5998574171d6417fda318f73871df180300df
ef61c5f177ee44ac08325335fc28a12f3fccbb58
/resource_management/interactors/get_user_profile.py
bbd2f230bfd9be35a9ff7decd106e45d74654068
[]
no_license
bammidichandini/resource_management-chandini
3c11c7b2eb5e2f8d3df5b55e4d3ee86a27ed5c3a
aa4ec50f0b36a818bebc2033cb39ee928e5be13c
refs/heads/master
2022-12-01T19:59:25.366843
2020-07-23T09:10:42
2020-07-23T09:10:42
269,610,045
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
from resource_management.interactors.storages.user_profile_storage_interface \ import StorageInterface
[ "chandini.bammidi123@gmail.com" ]
chandini.bammidi123@gmail.com
58297a472053a0f9ee3c0a37d5b700b520deb1e9
674013162755a57e258156832d7fdc645ab55c0d
/No0433-minimum-genetic-mutation-medium.py
1c7eea1f761d6538290d9038d8cc860b564b3078
[]
no_license
chenxy3791/leetcode
cecd6afb0a85e5563ba2d5ae8eb2562491f663e0
1007197ff0feda35001c0aaf13382af6869869b2
refs/heads/master
2023-06-25T13:54:12.471419
2023-06-12T05:02:03
2023-06-12T05:02:03
229,204,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 19 07:34:05 2022 @author: Dell """ from typing import List from collections import deque class Solution: def minMutation(self, start: str, end: str, bank: List[str]) -> int: def diff_is_one(s1,s2)->bool: cnt=0 for k in range(len(s1)): ...
[ "chenxy@bwave.cc" ]
chenxy@bwave.cc
6a90371c674ee10ed4e7b1aad1604babdba2d592
794cac199162c496cc0727932e0326d5d8cb48d9
/byte/executors/pysqlite/models/transaction.py
535e7de5b10f44c70e8558e26bf3c12a03f933fe
[]
no_license
fuzeman/byte-pysqlite
6f259a17e8a8faf5a705015f55c34530b3beb021
72e72058957779536571059990376f3ec68318d4
refs/heads/master
2021-01-21T11:36:58.252030
2017-05-23T02:42:29
2017-05-23T02:42:29
91,747,570
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
"""byte-pysqlite - executor transaction module.""" from __future__ import absolute_import, division, print_function from byte.executors.core.models.database import DatabaseTransaction from byte.executors.pysqlite.models.cursor import PySqliteCursor class PySqliteTransaction(DatabaseTransaction, PySqliteCursor): ...
[ "me@dgardiner.net" ]
me@dgardiner.net
645c89f4e0e5649c7ab97eddc0afc696ae5c8ed0
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.0_rd=0.5_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=35/sched.py
d665efe4468546c4f7ae91e8e871e66bb65f0ab3
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
-X FMLP -Q 0 -L 3 79 400 -X FMLP -Q 0 -L 3 79 400 -X FMLP -Q 1 -L 1 65 300 -X FMLP -Q 1 -L 1 34 175 -X FMLP -Q 2 -L 1 33 175 -X FMLP -Q 3 -L 1 31 150 26 125 16 100 16 125 12 100 11 100 9 125
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
003d75e323d2f48d6eef690bf9dfce0df01c0fba
77d9e584576c76236d4e1eed6011df5b12a92ead
/code_for_training.py
f5830c0f7d434f5a93966ad9dc8f8841ffe4059f
[]
no_license
ObinnaObeleagu/datasets
ba9747ecd7b6fe3b22566222a6752d62e7c8ca23
61ca10d3c88d666bf3a9e2c471a270fec00d0521
refs/heads/master
2022-04-04T11:23:48.631874
2019-12-22T02:00:06
2019-12-22T02:00:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,957
py
import keras from keras.layers import * from keras.models import * from keras.preprocessing.image import ImageDataGenerator from keras.callbacks import LearningRateScheduler import os from keras.callbacks import ModelCheckpoint from keras.optimizers import Adam #The Linear Bottleneck increases the number of channels g...
[ "noreply@github.com" ]
ObinnaObeleagu.noreply@github.com
96f02c283b1bea8c44deb683c011fe267a8e10aa
da34b4fd9a6523d374ce754cad272dddc769a1c1
/test.py
27c14a4ef9bf96f2e029a8a294c8fbf59bdf52bd
[]
no_license
shish/apache2rrd
82b3f595699961edf0f3e488b12242bca8f38676
7bbb66e18c06a0ae9a495617053be582953a8f1e
refs/heads/master
2020-04-06T06:21:17.203612
2014-08-26T14:01:17
2014-08-26T14:01:17
511,553
6
1
null
2014-08-26T13:03:50
2010-02-10T16:45:58
Python
UTF-8
Python
false
false
851
py
#!/usr/bin/env python import os import a2r import unittest class Test_A2R(unittest.TestCase): def tearDown(self): if os.path.exists("test.rrd"): os.unlink("test.rrd") def test_init(self): a = a2r.ApacheToRRD("test.rrd") self.assertEqual(a.gecko, 0) self.assertEqu...
[ "shish@shishnet.org" ]
shish@shishnet.org
b78a2ceae0b90656d776440a4214132a3ee9a7e2
b586cec578da0e1904d07468a7f49dacc0af5e99
/chapter_10/QASystem/util/utils.py
f07ff8da94b2fdbdfe7b5eabc1173bdf591fc19d
[ "MIT" ]
permissive
LifeOfGame/mongodb_redis
bf21b989eeb95eeb39f684363f9436677252a63e
834fbdd65d4ea9e1e0056b711781e5f27a40333b
refs/heads/master
2021-06-22T17:01:19.497132
2019-08-20T06:54:21
2019-08-20T06:54:21
203,295,895
0
0
MIT
2021-03-20T01:37:02
2019-08-20T03:53:06
Jupyter Notebook
UTF-8
Python
false
false
1,278
py
from bson import ObjectId def check_answer_valid(answer): author = answer.get('author', '') question_id = answer.get('question_id', '') answer = answer.get('answer', '') if not all([author, question_id, answer]): return {'success': False, 'reason': 'author/question_id/answer 三个参数不完整'} if n...
[ "greensouth@foxmail.com" ]
greensouth@foxmail.com
021a8ba558176ead7f8644458a9289bf9b5a284c
88849505c8d71c5fcc8d18fe2da3aa93a97f1e0e
/pages/003.py
a9816cc7d7e040683c9265092a73056e0ff58be1
[ "MIT" ]
permissive
mscroggs/KLBFAX
5322e025c41b30c6f160699e742c988c9e47ea88
3aaaa0cfe3b9772caa0a87e639efd9bce5b6adf4
refs/heads/master
2021-04-09T16:38:08.581934
2018-06-25T12:18:23
2018-06-25T12:18:26
31,314,664
5
1
null
2017-07-26T19:21:13
2015-02-25T13:26:38
Python
UTF-8
Python
false
false
630
py
from page import Page class LiPage(Page): def __init__(self): super(LiPage, self).__init__("003") self.in_index = False self.is_enabled = False self.title = "License" def generate_content(self): from random import randrange self.add_title("License",font="size4"...
[ "matthew.w.scroggs@gmail.com" ]
matthew.w.scroggs@gmail.com
93f17a0e7749edd09542c1cb17ae3f994e7e4689
c8e481e914a3bf455c3e1d85b6031f76d1ce0794
/tests/050_conf/002_base_backend/004_parse.py
9006e9028704c3ac33d1fa6ec21d6d0f4962aede
[ "MIT" ]
permissive
dansamara/boussole
c6db8c9e2964bf57d113cfcfb4441c08dcdf67f6
07bbca09190e568d288ed07773a47bf31dafa3ab
refs/heads/master
2021-09-24T01:26:48.840541
2018-10-01T00:33:05
2018-10-01T00:33:05
116,189,796
0
0
null
2018-01-03T22:50:11
2018-01-03T22:50:11
null
UTF-8
Python
false
false
464
py
# -*- coding: utf-8 -*- import os import pytest from boussole.conf.base_backend import SettingsBackendBase def test_ok_001(settings): """conf.base_backend.SettingsBackendBase: Dummy content parsing""" backend = SettingsBackendBase(basedir=settings.fixtures_path) path, filename = backend.parse_filepath()...
[ "sveetch@gmail.com" ]
sveetch@gmail.com
ef889db2724a63e8aa459d671114d155862c3b02
5b810b5b59eb66e564b84d4627a81afb72bb769c
/app.py
23dae30029c1fe2fd3a11e2bdd23ddbc890fefe3
[]
no_license
wangyitao/microfilm
402d6c61aa8e4f41749829c96a742487c88d9f75
3cbee7b599483b117283359de9e7bec9d945ff53
refs/heads/master
2020-03-23T04:19:19.797404
2018-08-02T01:38:14
2018-08-02T01:38:14
141,076,259
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
# -*- coding: utf-8 -*- # @Author : Felix Wang # @time : 2018/7/9 21:47 from flask import Flask app = Flask(__name__) @app.route('/', methods=['GET', 'POST']) def index(): return 'ddd' if __name__ == '__main__': app.run()
[ "1403179190@qq.com" ]
1403179190@qq.com
60d899681bd0e175af2faf5d08a2cdf089eb2e2a
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/python/paddle/text/datasets/imikolov.py
5aead1c2d9cf53d2fcb4c2e973a4d550140b7f56
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
6,040
py
# Copyright (c) 2020 PaddlePaddle 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 app...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
0627c37670137bb356e5ac3476c7fbff81aaa893
bd4812ba7af196d2e866cbf2935b2e7308d95066
/python/leetcode/027_remove_element.py
69bc6bb96bf324dd9fcb29c92e93359aefcc38d6
[ "Apache-2.0" ]
permissive
yxun/notebook
f507201e15c4376f0655121724254c0d5275c3b1
00eb1953d872a9a93a13d7cf23d8e4ed641d1ce7
refs/heads/master
2023-09-01T03:50:48.142295
2023-08-17T12:11:25
2023-08-17T12:11:25
207,569,654
2
2
Apache-2.0
2023-08-17T12:11:26
2019-09-10T13:38:49
Java
UTF-8
Python
false
false
654
py
#%% """ - Remove Element - https://leetcode.com/problems/remove-element/ - Easy Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory. The...
[ "yuanlin.yxu@gmail.com" ]
yuanlin.yxu@gmail.com
503a6990773f84900941ddfa619be90e6d517e93
60cfb6a5effedfd65b804f09b68b446a2bb6f8a6
/Q6_SortStack.py
6f91cae14eb9e382c4dbbe3e874a1622e00ab098
[]
no_license
rjayswal-pythonista/DSA_Python
c85d7d8527dab169d58afec1103e78875705f27f
5ab169dac5f46d5cce2938cdba180f0f2133ac63
refs/heads/master
2023-07-05T12:50:31.973648
2021-08-07T18:51:04
2021-08-07T18:51:04
389,362,148
1
0
null
null
null
null
UTF-8
Python
false
false
1,878
py
# Created by Roshan Jayswal on 02/06/2020. # Copyright © 2021. All rights reserved. # Sort a stack with the smallest on top using only a single temporary stack. def sort_stack(stack): previous = stack.pop() current = stack.pop() temp = Stack() while current: if previous < current: temp.push(prev...
[ "roshanjayswal15@cisco.com" ]
roshanjayswal15@cisco.com
99cee0d58499bc4397e829cec7dc424326750fc7
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/vns/absfunccfg.py
d2d4bcf6c3e4c4109778afdcd0b0da20219872d8
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
7,972
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
60ddde76cb9156a62f9330109f9f0d4ca48210d2
bfbe642d689b5595fc7a8e8ae97462c863ba267a
/bin/Python27/Lib/site-packages/scipy-0.14.0-py2.7-win32.egg/scipy/sparse/linalg/_onenormest.py
2b2981d9b8fbda90d62600d61b731dbb21568e9c
[ "MIT", "LicenseRef-scancode-other-permissive" ]
permissive
mcanthony/meta-core
0c0a8cde1669f749a4880aca6f816d28742a9c68
3844cce391c1e6be053572810bad2b8405a9839b
refs/heads/master
2020-12-26T03:11:11.338182
2015-11-04T22:58:13
2015-11-04T22:58:13
45,806,011
1
0
null
2015-11-09T00:34:22
2015-11-09T00:34:22
null
UTF-8
Python
false
false
14,484
py
"""Sparse block 1-norm estimator. """ from __future__ import division, print_function, absolute_import import numpy as np import scipy.linalg import scipy.sparse.linalg from scipy.sparse.linalg import aslinearoperator __all__ = ['onenormest'] def onenormest(A, t=2, itmax=5, compute_v=False, compute_...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
b4ce141db0565838c5eb91fd85bdfe5c95d8426b
e05215ef0f9c4ec8b964ac4e3b8f9ac7da72f062
/0x0F-python-object_relational_mapping/11-model_state_insert.py
2cf00633d96831dde34c11fa7b2ffe4e3110649c
[]
no_license
BrianFs04/holbertonschool-higher_level_programming
2fcb639b354e12a82e205a4c0beaaf29b18cec9d
9d0ebf054b26707a1ba8f21a3a8f307e906ca8df
refs/heads/master
2020-09-29T01:43:30.361544
2020-08-30T22:38:09
2020-08-30T22:38:09
226,911,398
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/python3 ''' Script that adds the State object “Louisiana” to the database hbtn_0e_6_usa via SQLAlchemy ''' import sys from sqlalchemy import (create_engine) from model_state import Base, State from sqlalchemy.orm import sessionmaker if __name__ == '__main__': engine = create_engine('mysql+mysqldb://{}:...
[ "brayanflorezsanabria@gmail.com" ]
brayanflorezsanabria@gmail.com
13dc161a7fcd0c32cd486eb437f78c8ea981ef80
f5159d881896475375c9218f9d06b5324975d106
/Day-6_Majority_Element.py
c5a17c8ea30dc612b4895e9b45fda863ff44e121
[]
no_license
Gangadharbhuvan/31-Day-Leetcode-May-Challenge
93327cc749cd77a7579c4ab7f2a1826e59b1c14b
95be5ece107f1181c261d88ccb344c7c8f6f7a83
refs/heads/master
2022-09-21T23:27:21.855715
2020-05-31T14:49:04
2020-05-31T14:49:04
260,307,749
1
0
null
null
null
null
UTF-8
Python
false
false
670
py
''' Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the array is non-empty and the majority element always exist in the array. Example 1: Input: [3,2,3] Output: 3 Example 2: Input: [2,2,1,1,1,2,2] Outp...
[ "noreply@github.com" ]
Gangadharbhuvan.noreply@github.com
214bd7d718d94b5188dc860bd4ea65f717cdeb15
3fc00c49c6b5a5d3edb4f5a97a86ecc8f59a3035
/grais/migrations/0005_auto_20210324_0829.py
d4c1c9e2118f96de3869e6510ed5d2ee5c692748
[]
no_license
yc-hu/dm_apps
9e640ef08da8ecefcd7008ee2d4f8f268ec9062e
483f855b19876fd60c0017a270df74e076aa0d8b
refs/heads/master
2023-04-07T13:13:55.999058
2021-04-12T10:19:21
2021-04-12T10:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
# Generated by Django 3.1.6 on 2021-03-24 11:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('grais', '0004_auto_20210324_0805'), ] operations = [ migrations.RenameField( model_name='station', old_name='latitude_n', ...
[ "davjfish@gmail.com" ]
davjfish@gmail.com
1737e33c1ef5e80d8ee8a90879d01d3d5940c1c4
87545cabb2b495d3eb070fe5de0ff6d0a6c04a85
/DarkSUSY_mH_125/mGammaD_0400/cT_020/DarkSUSY_LHE_8TeV_read.py
eae0a7d1aebdaa6e4dfdb9791b3873f001e44366
[]
no_license
cms-tamu/MuJetAnalysis_DarkSusySamples_LHE_8TeV_02
50de31043664f153b1fa4086309e015b03819ac1
20ecc632d765ec0113f32968d7431ecc59882522
refs/heads/master
2021-01-22T02:43:08.101873
2015-03-18T14:28:37
2015-03-18T14:28:37
31,564,025
0
0
null
null
null
null
UTF-8
Python
false
false
110,639
py
import ROOT, array, os, re, math, random, string from math import * from operator import itemgetter muonID = 13 higgsID = 25 n1ID = 3000002 nDID = 3000001 nExit = 80002 #nExit = 1000 gammaDID = 3000022 hMass = "125" n1Mass = "10" nDMass = "1" filename = "DarkSUSY_mH_125_mGammaD_0400_ctauExp_02_8TeV-madgraph452_brid...
[ "bmichlin@rice.edu" ]
bmichlin@rice.edu
870ea7aa1ac67646953bc10a8a9c3435e5df6bd8
cea30aead7f0b529ee072c1bcab2896777e1408d
/PreprocessingCropsData/venv/Lib/site-packages/sklearn/neighbors/_base.py
163a135452aebf9341ff9012cc8b8f2334a6dec3
[]
no_license
pgj9702/FarmSolution
3730ab3ca983b335ed48a60935c5fa6e3983cbb1
a8cacc45b8519e79b51ab65b9539a01f5006e64f
refs/heads/master
2023-03-30T15:41:10.312044
2021-03-31T08:47:23
2021-03-31T08:47:23
334,019,778
0
1
null
2021-02-22T09:32:57
2021-01-29T02:52:46
Python
UTF-8
Python
false
false
45,587
py
"""Base and mixin classes for nearest neighbors""" # Authors: Jake Vanderplas <vanderplas@astro.washington.edu> # Fabian Pedregosa <fabian.pedregosa@inria.fr> # Alexandre Gramfort <alexandre.gramfort@inria.fr> # Sparseness support by Lars Buitinck # Multi-output support by Arnaud Jol...
[ "cao147147@naver.com" ]
cao147147@naver.com
c8a5c08cc8be510b83622461e4e9bfc27681fbae
3032448a477f6f89716d3cb6fd47bc79211ae820
/mowdie/updates/migrations/0005_update_favorited_users.py
88996fbc5b4c72eb5dfd70d7876f11f887122b90
[]
no_license
Callus4815/mowdie
663e035dcc1b51c5c21deb7c43006c81008ac43d
5650d422c33a50d58c7bbac5be77db2e8001fd83
refs/heads/master
2020-12-14T08:56:05.599949
2015-06-17T19:25:32
2015-06-17T19:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('updates', '0004_auto_20150611_0319'), ...
[ "clinton@dreisbach.us" ]
clinton@dreisbach.us
5f7d3420dc72f9d24ee5077434ba2b43b24f1c9f
ebbfdb7cc1cd33e195ccc830c2ff87bdce2c024e
/simple-social-network/chat/migrations/0001_initial.py
a68615dd6ae099d8ed9c9b3c74873e785e2310e3
[]
no_license
bateternal/simple-social-network
a399be4fcf48ce495d3f2004130ffc88723d2d4c
8f888580493c31c44113825d5eb82349cf977c20
refs/heads/master
2023-04-06T09:32:45.529327
2022-06-06T09:37:46
2022-06-06T09:37:46
231,631,113
1
0
null
2023-03-31T14:38:36
2020-01-03T17:08:34
Python
UTF-8
Python
false
false
4,764
py
# Generated by Django 3.2.5 on 2021-10-24 15:30 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "bateternali@gmail.com" ]
bateternali@gmail.com
71c1136a6ab54949103064970f3cc6705338ff20
5ff7fa0fe26f8d5f4dcc53dc3f2f423046d07aaf
/theme_left_side_menu_bottom/theme_left_side_menu_bottom.py
b5eb1d70eb0eab27988982aa0b8694e441e8e06c
[]
no_license
cikupamart/odoo-theme-vertel
8eb17cb0bbe6eff9677aae3c345ca8b3db59ad05
fde27670894c7701b58712f35752570a809732f7
refs/heads/master
2023-05-30T21:32:52.079706
2018-12-17T09:56:42
2018-12-17T09:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,778
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution, third party addon # Copyright (C) 2004-2015 Vertel AB (<http://vertel.se>). # # This program is free software: you can redistribute it and/or modify # it under the terms o...
[ "apollo_zhj@msn.com" ]
apollo_zhj@msn.com
9d3d9e92737d21ebd4fec8d6aa7a0f011d8668a0
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/mDzheHpwtqyXePEBE_0.py
4034e527e12381999ba79745ed78b02d3d0e76e1
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
def sum_polygon(n): if n > 2: return (n-2)*180
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6bd4db8f055f1d127a9660863738b466df1a8216
b9f79352353f2445c54a5e55def2058513b2c43d
/python/read_seis.py
d0b26298e7442acee5add5006aa09b56a04a4823
[]
no_license
ganlubbq/Compressed-Sensing-Delay-Estimation
07d1ebbc6079ff5f9867521ffbf87b6af66ab899
db4fe86d551efcaf59deb9c1a15c36ea225a5f71
refs/heads/master
2021-06-19T03:39:11.611976
2017-07-06T08:38:40
2017-07-06T08:38:40
110,315,515
1
0
null
2017-11-11T03:40:25
2017-11-11T03:40:25
null
UTF-8
Python
false
false
1,866
py
import array from ctypes import * CSIZE = 1800000 FTSIZE = 1048576 class SEIS_HEADER(Structure): """ struct seis_header { int nt; int id; int rline; /* receiver line # */ int rpt; /* index on receiver line */ char name[8]; double x, y, z; double t0;...
[ "woodielove@163.com" ]
woodielove@163.com
20cbd2d350769fcb76a391136b859b317ddf5056
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_omnivore.py
cc5ddfea19e0284252fbde14485df2059cf5ad5a
[ "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
344
py
#calss header class _OMNIVORE(): def __init__(self,): self.name = "OMNIVORE" self.definitions = [u'an animal that is naturally able to eat both plants and meat'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []):...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f611798c3579ff98814760ba37e7aca00e3d0016
a8d68074db5c2b2697650ed0281979d3e00cf5a8
/Nyspider/dianping/memberlist.py
3aafd55eb50320b3a9501d67f401ba5c404872db
[]
no_license
15807857476/bogdata-2
9595609ea2ae5ae0a48c511f911df2498456467e
1934cdfa234b77ca91e349b84688db113ff39e8c
refs/heads/master
2023-05-26T19:10:18.439269
2019-05-24T02:50:41
2019-05-24T02:50:41
188,327,526
3
1
null
2023-05-22T21:37:27
2019-05-24T00:53:28
Python
UTF-8
Python
false
false
8,186
py
import requests from bs4 import BeautifulSoup import time from proxy import * import datetime import openpyxl headers = { 'Host':'www.dianping.com', 'User-Agent':"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0", 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,...
[ "2397955090@qq.com" ]
2397955090@qq.com
2a431ab76c91f331c775d63f85dc46ca25b64bae
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03401/s135565011.py
7af11a4492d262bd746c0ac261ce6fc9e68553bf
[]
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
526
py
n = int(input()) s = list(map(int,input().split())) ans = 0 tmp = 0 for i in range(n): ans += abs(s[i] - tmp) tmp = s[i] ans += abs(tmp) s.insert(0,0) s.insert(n+1,0) for i in range(1,n+1):#とばす番号 tmp_ans = ans a = s[i-1] tmp = s[i] b = s[i+1] if (b >= tmp and tmp >= a) or (b <= tmp and tmp...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
16f34018d4185af91f90bf1e24fab44999aa339d
31a766fcae3779b05796534c354286083502f74a
/python/onshape_client/models/bt_import_foreign_data_params.py
6a3c8b4ba289b16b09d9597fee69a6cec93be090
[]
no_license
nychang/onshape-clients
5ea21e73a05948f5e232d4851eb8ae8a6b8c75c8
9c97baae57f80e3922726443584e4cc50b99623f
refs/heads/master
2020-05-06T20:35:28.212953
2019-04-05T20:38:19
2019-04-05T20:38:19
180,243,972
0
0
null
2019-04-08T22:43:59
2019-04-08T22:43:59
null
UTF-8
Python
false
false
22,116
py
# coding: utf-8 """ Onshape REST API The Onshape REST API consumed by all clients. # noqa: E501 OpenAPI spec version: 1.96 Contact: api-support@onshape.zendesk.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class BTImportForeignDataPara...
[ "ethan.keller@gmail.com" ]
ethan.keller@gmail.com
37d51a69c4506d4ee9d4e1bc15a3f1137a2ac5b3
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Ablation1_wowiDiv_ch016_ep010/step10_b2_post.py
cdc233ea791545222365fe8a09bbee56d2cd748d
[]
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
6,196
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
55b8c9bb105cf92e5f7fba91742cec07dc7f102c
400b0cb1f25cc2fbe80a3037c06102f40c4d2d89
/number59.py
9e5990a700479ac7e3765a971bd68b65742a6585
[]
no_license
Prithamprince/Python-programming
4c747d306829de552e3b0c6af67cfe534a2dc2e1
79a0953084a01978e75d2be4db0d35ba1cf29259
refs/heads/master
2020-05-30T06:29:26.134906
2019-12-13T06:33:49
2019-12-13T06:33:49
189,580,341
0
4
null
null
null
null
UTF-8
Python
false
false
141
py
l=input() l=l.split(" ") n=l[0] k=l[1] m=input() m=m.split() for i in m: if(i==k): a=m.index(i) b=a+1 print(b)
[ "noreply@github.com" ]
Prithamprince.noreply@github.com
58728fcd6507f4d087c5f3194611b685872a2621
71e3c041cb4911df0fd9f4444d8e07fb4e17d38c
/agent/DQN_agent.py
bcd98445f17bb6e6dbe4fab6202d0190fd882b61
[ "Apache-2.0" ]
permissive
w1368027790/DeepRL
8e713da32e2465f20a4966cf7d7aeb69f35aa074
51f125c01eb013b77ebf3a78795ae87dc9ffb9f9
refs/heads/master
2021-07-08T06:23:41.095226
2017-10-08T03:23:02
2017-10-08T03:23:02
106,264,458
1
0
null
2017-10-09T09:38:19
2017-10-09T09:38:19
null
UTF-8
Python
false
false
5,989
py
####################################################################### # Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # # Permission given to modify the code as long as you keep this # # declaration at the top # ################################...
[ "zhangshangtong.cpp@icloud.com" ]
zhangshangtong.cpp@icloud.com
ac21789371720cde990ea04ef4fa6a4949c11fbf
75374c8dce2d1ea64b91307b84f4676bf3294f91
/venv/lib/python3.7/site-packages/bokeh/core/property/validation.py
540914d565f13ef73a35288bac5732fbfe1b1adc
[]
no_license
emmaloutaylor/Dissertation-Predictive-Model-Django
6f8425f99bda7dea93716d76aee3f826efa6002e
cd94a4bc3268ace2a4d4a918c91690f437a45078
refs/heads/master
2023-08-08T00:25:11.481090
2019-04-03T20:39:34
2019-04-03T22:58:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,433
py
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
[ "emmataylor223@gmail.com" ]
emmataylor223@gmail.com
d7207a576dddf97b7f43418a59a28b71bbe49f54
cd18d3142548ff264ec9a64f5887ebfb05a55aeb
/pyefun/progiterUtil.py
f5467840bc1b85be5d28550b1dcff6f1ef1f1b64
[ "Apache-2.0" ]
permissive
kingking888/pyefun
a035670c704f3ae4c431badd9e25d47929713163
afdf5acc3ab51f83d462e44bc2e974dafe173524
refs/heads/master
2023-05-09T15:01:56.783958
2021-05-31T14:47:55
2021-05-31T14:47:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,890
py
# 进度显示 使您可以测量和打印迭代过程的进度。这可以通过可迭代的界面或使用手动API来完成。使用可迭代的接口是最常见的。 from ubelt.util_format import * import ubelt as ub def 调试输出(obj): # data = repr2(obj, nl=2, precision=2) data = repr2(obj) print(data) class 进度显示(ub.ProgIter): def __init__(self, 迭代对象=None, 描述="", 总数=None...
[ "ll@163.com" ]
ll@163.com
0e5b404689e9316c3c3e34f1c16d24c80aa0329a
7f4886802e83352f37d35509b7775c93c2756105
/festival/models.py
5b717ff85b6e7b325ed9187c1b2e7146a4146ef2
[]
no_license
JihyeKim0923/lion10
c23a019c3725de2d9f70556993db1ed3e8d6ae2e
2b76dc9290bec6f4d827a625b2f0b1e92c85ed53
refs/heads/master
2020-06-19T02:56:24.746341
2019-07-11T15:40:17
2019-07-11T15:40:17
196,539,639
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): author=models.ForeignKey('auth.User',on_delete=models.CASCADE) title=models.CharField(max_length=200) text=models.TextField() created_date=models.DateTimeField(default=timezone.now) ...
[ "sos13313@naver.com" ]
sos13313@naver.com
39019e8fd9d7dda66abf8358c2697ed9f94c110f
e56953de3a962d5ca67907c6e68ec3c987fb8d30
/algorithms/dynamic_programming(DP)/11726_2n타일링.py
a38ade59004e4a6bb02368308f01a6181a98db04
[]
no_license
alb7979s/datastructuresAndAlgorithms
f2b337b460b989a9a04faafd3d41e08b9d424a3c
c9304733c87019952b8eb4261e62521e79cbe484
refs/heads/main
2023-08-18T00:11:42.332265
2021-09-23T09:18:23
2021-09-23T09:18:23
325,931,004
3
1
null
null
null
null
UTF-8
Python
false
false
191
py
def dp(x): if x <= 2: return x if mem[x] != -1: return mem[x] mem[x] = (dp(x-2) + dp(x-1))%DIV return mem[x] DIV = int(1e4) + 7 n=int(input()) mem = [-1] * (n+1) print(dp(n))
[ "alb7979s@naver.com" ]
alb7979s@naver.com
a7f824a96aeffe782828a6ce7ce77a36185790ff
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/1/clw.py
4c1ef72352c4a8fc118bde45cfab68ae22ba358f
[]
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
6963a9a71e656ace2ac1da7c4dd74fe1faf80cf9
5a0a4e019e438c31ac8264b662b92de50c8ed3e9
/SearchingAndSorting/search_in_rotated_array.py
cd0129d2fb37f85e89b9f5209e56b3ae9a901947
[ "MIT" ]
permissive
BharaniSri10/DSA-Together-HacktoberFest
d30b8c0f67869e2e12b21a346b0455ba6d133d42
ae245528fc07702f5fa9e4badf6e478c57ec2faa
refs/heads/main
2023-09-04T03:19:11.362265
2021-10-02T20:35:27
2021-10-02T20:35:27
412,903,744
1
0
MIT
2021-10-02T20:22:09
2021-10-02T20:22:08
null
UTF-8
Python
false
false
378
py
# Leetcode - 33 # https://leetcode.com/problems/search-in-rotated-sorted-array/ class Solution(object): def search(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ op = -1 for i in range(0 , len(nums)): if (nums[i] =...
[ "dsrao0712@gmail.com" ]
dsrao0712@gmail.com
d20f333f05936b0ed82b6b6615a7d342703e63cf
79080c853292c9cd7f41e6fd4357e3a4736f75bc
/300-/384.py
6fe168d804abdfef8ecaa10fd88684490e125a17
[ "MIT" ]
permissive
yshshadow/Leetcode
d5476ff36b8c76213dacb01c252480e0539f37a7
5097f69bb0050d963c784d6bc0e88a7e871568ed
refs/heads/master
2020-03-23T21:32:39.227875
2019-01-15T17:46:19
2019-01-15T17:46:19
142,114,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
# Shuffle a set of numbers without duplicates. # # Example: # # // Init an array with set 1, 2, and 3. # int[] nums = {1,2,3}; # Solution solution = new Solution(nums); # # // Shuffle the array [1,2,3] and return its result. Any permutation of [1,2,3] must equally likely to be returned. # solution.shuffle(); # # // Res...
[ "=" ]
=
aa500f52835e95b292f603b05ba2d67174fa9c15
e123c7b93a4f9eea4d509aee619bf49576e14e74
/lib/logging.py
b63380889a6be7c7ff4007d298e01d9c7caf7e2b
[]
no_license
rx007/pubsubdemo
31d3edb44fd45dddac73ef225f0575d3e2bc0c95
ca2d21970aa61f3c69b0d8b3b8990452788dab33
refs/heads/master
2023-09-01T09:25:09.069213
2015-10-19T05:59:46
2015-10-19T05:59:46
44,574,349
1
0
null
2023-09-04T15:04:42
2015-10-20T01:27:05
Python
UTF-8
Python
false
false
361
py
import logging class BaseLoggingMixin: _logger = None @property def logger(self): if not self._logger: FORMAT = '%(asctime)-15s %(message)s' logging.basicConfig(level=logging.DEBUG, format=FORMAT) self._logger = logging.getLogger() return self._logger ...
[ "fortable1999@gmail.com" ]
fortable1999@gmail.com
a15934509c9bce80a887eef83c8f8d8a45909cfc
5b771c11e8967038025376c6ec31962ca90748dd
/django_by_example_book/02_Social_website/images/models.py
df3cbeb23a5169757c72e949d7bd314300cfab24
[]
no_license
AsemAntar/Django_Projects
7135eca3b4bcb656fc88e0838483c97d7f1746e1
4141c2c7e91845eec307f6dd6c69199302eabb16
refs/heads/master
2022-12-10T06:32:35.787504
2020-05-26T14:43:01
2020-05-26T14:43:01
216,863,494
0
0
null
2022-12-05T13:31:53
2019-10-22T16:47:28
Python
UTF-8
Python
false
false
1,016
py
from django.db import models from django.conf import settings from django.urls import reverse from django.utils.text import slugify class Image(models.Model): user = models.ForeignKey( settings.AUTH_USER_MODEL, related_name='images_created', on_delete=models.CASCADE ) title = models.CharField(max_...
[ "asemantar@gmail.com" ]
asemantar@gmail.com
cebece4c71231bb01593d9f810c520429f8ec289
904b0d81152649ccd3349f94f88e7b89a7b5c76a
/Sandbox/nightrange_ELG_LOPnotqsosuccess.py
e2f965e3851cf476ee67c5a637a83c744dcedf20
[ "BSD-3-Clause" ]
permissive
desihub/LSS
ec33538a0e7280ad1c6b257368cc009ed4b39cbb
5645461929172d327ed30389d76e7e887043c9bf
refs/heads/main
2023-08-18T23:17:13.123605
2023-08-18T20:08:22
2023-08-18T20:08:22
36,753,969
14
28
BSD-3-Clause
2023-09-13T18:37:35
2015-06-02T18:42:51
Jupyter Notebook
UTF-8
Python
false
false
7,408
py
#right now, requires source /project/projectdirs/desi/software/desi_environment.sh master from astropy.table import Table import numpy as np import os import argparse import fitsio from desitarget.targetmask import zwarn_mask,desi_mask from matplotlib.backends.backend_pdf import PdfPages parser = argparse.ArgumentPar...
[ "ashley.jacob.ross@gmail.com" ]
ashley.jacob.ross@gmail.com
53a23e14ac999c557c7dba20208c195194ec2dd9
7f5dca89315a869b2f30d39a9ed3d3c848960bd0
/basic_cms/models.py
16d25452ba2196b1fcc4e2f0e67cbe1021272de8
[]
no_license
ljean/balafon_standalone_example
6df5f3252a9ec3fcc180ced2ee3301f5ca42f196
bde12ee9c1f1735a0a3c63271fab1a5caee9ecf9
refs/heads/master
2021-01-10T08:10:35.437568
2016-03-24T11:31:42
2016-03-24T11:31:42
54,129,145
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
# -*- coding: utf-8 -*- """models""" from coop_cms.models import BaseArticle, BaseNavTree class Article(BaseArticle): # pylint: disable=W5101 """basic_cms.Article is equal to the BaseArticle abstract""" pass
[ "ljean@apidev.fr" ]
ljean@apidev.fr
9c98dbdfa22f606247a9bc1c21dc28985e60310f
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/GFocalV2/mmcv_need/builder.py
7beeeca018755b5083d9da1a6acf02197fa0f71b
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,523
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
e608eabea228cd68009cd427ef30957f38bfcb0e
b68b43162dcf7d3a739144f55087b1795c235194
/nplook/shell.py
0a4b0769164f24724d392d587a5d1afd11b32b30
[]
no_license
gustavla/nplook
5970b40163e83e5aaab64947bb32437b6cd22908
1556b6e0d0c5f0255cc7b4712b778d8a97fd217e
refs/heads/master
2021-01-01T15:51:31.342797
2013-01-19T19:44:30
2013-01-19T19:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
from __future__ import print_function import sys import nplook import glob from optparse import OptionParser def main(): examples = [] examples.append(("data.npy", "summarizes the ndarray in data.npy")) examples.append(("data.npz", "summarizes the dictionary in data.npz")) examples.append(("*.npz", "s...
[ "gustav.m.larsson@gmail.com" ]
gustav.m.larsson@gmail.com
7222ec080a830e56ff98e948ca2d6cd24f9bd216
5cbb2c7378dda2ffb06b02c3bc6deb8451e4fbbf
/B/conanfile.py
81aff2b31c949af77dbc635599002de28f519ccf
[ "MIT" ]
permissive
objectx/conan-project-example
b6a09bd289ded49e66a0af2ad14c9cd0502dc7d3
cf632ea60c15e5676fdc188f4ff7ced5fd7eb074
refs/heads/master
2020-03-09T02:11:20.555017
2018-04-06T15:50:50
2018-04-06T15:50:50
128,534,407
0
0
null
2018-04-07T14:09:22
2018-04-07T14:09:22
null
UTF-8
Python
false
false
578
py
from conans import ConanFile, CMake class Pkg(ConanFile): settings = "os", "compiler", "arch", "build_type" requires = "HelloC/0.1@lasote/stable" generators = "cmake" exports_sources = "src/*" def build(self): cmake = CMake(self) cmake.configure(source_folder="src") cmake.bu...
[ "james@conan.io" ]
james@conan.io
61fde401a97dbd3149c813d4d27c95761241d04e
75fa11b13ddab8fd987428376f5d9c42dff0ba44
/metadata-ingestion/examples/library/lineage_job_dataflow_new_api_verbose.py
67a8ce2059679a70f95a9c29b4be5b9de0e1a6b5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
RyanHolstien/datahub
163d0ff6b4636919ed223ee63a27cba6db2d0156
8cf299aeb43fa95afb22fefbc7728117c727f0b3
refs/heads/master
2023-09-04T10:59:12.931758
2023-08-21T18:33:10
2023-08-21T18:33:10
246,685,891
0
0
Apache-2.0
2021-02-16T23:48:05
2020-03-11T21:43:58
TypeScript
UTF-8
Python
false
false
3,864
py
import time import uuid from datahub.api.entities.corpgroup.corpgroup import CorpGroup from datahub.api.entities.corpuser.corpuser import CorpUser from datahub.api.entities.datajob.dataflow import DataFlow from datahub.api.entities.datajob.datajob import DataJob from datahub.api.entities.dataprocess.dataprocess_instan...
[ "noreply@github.com" ]
RyanHolstien.noreply@github.com
b9f133f64096954e8bfacbb8dcf6ecfe838d4062
d3ce58c4576431df14de0990f45cfd574f0aa45f
/.history/user/forms_20201012030941.py
86918f6244ab2c67add33605548b6ea388226b00
[]
no_license
rahulsolankib/portfolio
fe93f0e6b0b28990f0b9fad84dbf7c3aa07243c4
281ed429e2590376aee4649b2ea7b3e8facaf6f1
refs/heads/master
2023-01-02T06:55:21.319094
2020-10-26T08:55:22
2020-10-26T08:55:22
305,586,595
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from django import forms from django.contrib.auth.models import user.admin from django.contrib.auth.forms import UserCreationForm
[ "rahulsolankib@gmail.com" ]
rahulsolankib@gmail.com
26dc331b0da91a2c867c26f7ec760a49d3b79681
3d388dccb14373bedb85d43851bc8eeb74a3eb18
/main.py
6476c66a90cc6db2e0f89497af03df52e9401883
[ "MIT" ]
permissive
dileep1996/sentence-similarity
416917641963f5fa1af76204c681389771d2187c
37a99a11ac97774928affb30cf75f6222cfdabaf
refs/heads/master
2020-04-10T01:45:46.503849
2018-12-06T20:26:44
2018-12-06T20:26:44
160,724,751
0
0
null
2018-12-06T19:55:52
2018-12-06T19:55:52
null
UTF-8
Python
false
false
3,053
py
""" Driver program for training and evaluation. """ import argparse import logging import numpy as np import random import torch import torch.optim as O from datasets import get_dataset, get_dataset_configurations from models import get_model from runners import Runner if __name__ == '__main__': parser = argpar...
[ "tuzhucheng@outlook.com" ]
tuzhucheng@outlook.com
f962b3f9fba5cc65564b9ab52e8be9a87e39ae37
32ed2a60ebf03127c317e71d7632362bddf04769
/src/Object_finder.py
9b2132e8226f4e5c749f1270fb5c4a6ada283416
[]
no_license
OMARI1988/fyp
59cf94857e2708d0577b8e22493b2270796deae9
ce74b732aec9809639314cf5b72f808bfb107da8
refs/heads/master
2021-01-10T16:00:45.830974
2015-11-18T11:43:22
2015-11-18T11:43:22
46,409,208
0
1
null
null
null
null
UTF-8
Python
false
false
4,649
py
#! /usr/bin/env python2.7 # this node is used to save the colors of the different objects so that we can track them later import roslib #roslib.load_manifest('graphs') import sys import inspect, os from optparse import OptionParser import rospy import sensor_msgs.msg from cv_bridge import CvBridge import cv import cv2...
[ "omari.1988@gmail.com" ]
omari.1988@gmail.com
66c3e604eb35a488c5e705a5b98ad504c3a1d1f0
8cc6c175a11d0d100747a355e9fdabad8123fb63
/level_1/index.py
8f53a848bee2af6b46ad7afe05f5d2d954b9dbae
[]
no_license
fdetun/hodor
99b5003214631e1aec1fe097abfa234010e28e14
95597385bab86eee2b90976803e077d3e4ee6a9e
refs/heads/master
2022-11-06T11:56:51.027717
2020-06-08T00:01:09
2020-06-08T00:01:09
270,452,512
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
#!/usr/bin/python3 import requests URL = "http://158.69.76.135/level1.php" s = requests.Session() payload = {"id": "1324", 'holdthedoor': 'submit', "key":""} for i in range(0, 4096): r = s.get('http://158.69.76.135/level1.php') fde=r.headers['set-cookie'] print(r.headers) inp=r.headers['set-cookie'].i...
[ "fouedads@gmail.com" ]
fouedads@gmail.com
c19cde248ac8570298965a02bc5aaa1894882581
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_078/ch147_2020_09_28_14_11_18_724789.py
57c33c4f6aaef647f987a6317890314f4074fb6e
[]
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
326
py
def mais_frequente(lista): dicionario_palavras = conta_ocorrencias(lista) i=0 maior = dicionario_palavras[0] while i < len(dicionario_palavras): if dicionario_palavras[i+1] > dicionario_palavras[i]: maior = dicionario_palavras[i].keys() i+=1 return...
[ "you@example.com" ]
you@example.com
034b0155c23dcb07240435bc0d83f14d35d72593
1f13c189fc3d97f3fec0805910c7e0e5115ea6e8
/tests/test_interface.py
26dff170493c2db7e355eba19ce2aa8131fe5fc3
[]
no_license
schalekamp/ishares
26ffde8af27d671c8cbaa938eaaa1454ec9936a1
671978587cc3a55da655141ad7b317d55716ab94
refs/heads/master
2020-03-19T22:47:51.042065
2018-06-01T10:15:05
2018-06-01T10:15:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
from pytest import raises from ishares.interface import iShares all_etfs = None def test_interface(): global all_etfs all_etfs = iShares() all_etfs.report() def test_interface_isin(): global all_etfs fund = all_etfs.get_fund(isin='IE0032895942') fund.report() def test_interface_nofund()...
[ "github@gpiantoni.com" ]
github@gpiantoni.com