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
c6634f95a8581d8241a4d53c143fe96dbad59ea9
8516f0f456b91c0da6c016b64d68ff2c2cdaf68d
/src/array/intersect.py
1dff47db905e488c248ad540666fbb1ba5276a6f
[]
no_license
huowolf/leetcode
b5bb67206fab6417055b0534c7627bc281a29eef
f34909f09c22d2164bbe21fc7da0361fcbd63fd6
refs/heads/master
2020-03-26T20:20:13.386017
2018-11-20T13:04:03
2018-11-20T13:04:03
145,317,787
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
#https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/26/ #两个数组的交集 II #给定两个数组,编写一个函数来计算它们的交集 #=============================================================================== # 输入: nums1 = [1,2,2,1], nums2 = [2,2] # 输出: [2,2] #===============================================================...
[ "274956285@qq.com" ]
274956285@qq.com
0968ca412075e81decf4567daec9d3887be7f97a
0a2356bde96ebc9b6a82bd91a833bbe04ffb3b82
/myInstagram/migrations/0006_auto_20201019_1230.py
304e84e3452ec7887377156161bd1620a31e667a
[ "MIT" ]
permissive
dancan-sandys/Instagram-clone
3c1ec335f0806ab714e8946fba94e87b17329c78
08cfe2a40f6e701beb6b5fc97a090b61d5e242f3
refs/heads/master
2023-01-01T09:20:52.186988
2020-10-20T11:19:39
2020-10-20T11:19:39
304,602,156
0
1
null
null
null
null
UTF-8
Python
false
false
636
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-10-19 09:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myInstagram', '0005_remove_photo_profile'), ] operations = [ migrations.Al...
[ "dancan.oruko96@gmail.com" ]
dancan.oruko96@gmail.com
de6ce81cbeb176a956e3e8f4d930d20d3ee38341
1b9bd441c500e79042c48570035071dc20bfaf44
/sources/Yalkut Shimoni/set_alt_structs_nach.py
d8f9d28ee8faf0f6b3ed0e326dc0f06ecfc49d49
[]
no_license
Sefaria/Sefaria-Data
ad2d1d38442fd68943535ebf79e2603be1d15b2b
25bf5a05bf52a344aae18075fba7d1d50eb0713a
refs/heads/master
2023-09-05T00:08:17.502329
2023-08-29T08:53:40
2023-08-29T08:53:40
5,502,765
51
52
null
2023-08-29T11:42:31
2012-08-22T00:18:38
null
UTF-8
Python
false
false
4,419
py
# -*- coding: utf-8 -*- import urllib import urllib2 from urllib2 import URLError, HTTPError import json import pdb import os import sys from bs4 import BeautifulSoup import re p = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0, p) os.environ['DJANGO_SETTINGS_MODULE'] = "sefaria.settings...
[ "skaplan@brandeis.edu" ]
skaplan@brandeis.edu
f584d11e5c58a9b060c411497ab86658c716e806
8bcf973008b1d7549f59501a1667909848ea87dd
/Day0716/day32/2.查看GIL切换的指令数.py
3e6d82deb3f562a4c9f1c61daba30f427b1cd984
[]
no_license
simplesmall/Python-FullStack
74ffeb2119eecb7fcb21a136d01aaaf2bcc2c24c
210844ef6443a5543d49a20dbec2db9a9b960230
refs/heads/master
2022-12-17T00:56:40.515335
2019-11-15T02:07:57
2019-11-15T02:07:57
221,816,447
0
1
null
2022-12-13T19:22:26
2019-11-15T01:10:55
Python
UTF-8
Python
false
false
52
py
import sys v1 = sys.getcheckinterval() print(v1)
[ "simplesmall@outlook.com" ]
simplesmall@outlook.com
5167d45c33d996d136141fa7758a62e1f72334c7
8a2f5982c90c205cfee8f8fdce264a930c1b3749
/acoustics/standards/iso_1996_1_2003.py
266bc5cfdd490432fa7c696a757a75053959407c
[ "BSD-3-Clause", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
AlanLeJie/python-acoustics
05dde3ba6b7cf07265f5186f3742bb22f01fa1bb
af72e7f88003f0bba06934ea38c98e8993c4a6c6
refs/heads/master
2023-08-28T18:41:08.924307
2020-08-18T21:37:14
2021-10-26T12:24:40
444,331,803
1
0
BSD-3-Clause
2022-01-04T07:52:28
2022-01-04T07:52:28
null
UTF-8
Python
false
false
1,313
py
""" ISO 1996-1:2003 =============== ISO 1996-1:2003 defines the basic quantities to be used for the description of noise in community environments and describes basic assessment procedures. It also specifies methods to assess environmental noise and gives guidance on predicting the potential annoyance response of a co...
[ "fridh@fridh.nl" ]
fridh@fridh.nl
ae7880c58342e9df5ce5e8cfb7839e96478b4471
d27af9d58b91b8cd998ac0eb87d980d304ff0670
/Regular-Contest/ARC042/ARC042_A.py
9d22a7d98f1c573116fecd236ebbad8243a509c8
[]
no_license
mongesan/Atcoder-m0_ngesan-py
29dd79daab149003ffc8b6b6bad5fa2e7daa9646
6654af034d4ff4cece1be04c2c8b756976d99a4b
refs/heads/master
2023-08-20T19:50:04.547025
2021-10-27T12:24:51
2021-10-27T12:24:51
258,486,105
1
0
null
null
null
null
UTF-8
Python
false
false
9
py
#ARC042_A
[ "syun1.mongesan@gmail.com" ]
syun1.mongesan@gmail.com
6e8ba53c338c54d629c04f510c415fc9c29d34ad
d2e80a7f2d93e9a38f37e70e12ff564986e76ede
/Python-cookbook-2nd/cb2_01/cb2_1_8_exm_1.py
dd82698e08bf87714cf746fb4c3b765abbef23fa
[]
no_license
mahavivo/Python
ceff3d173948df241b4a1de5249fd1c82637a765
42d2ade2d47917ece0759ad83153baba1119cfa1
refs/heads/master
2020-05-21T10:01:31.076383
2018-02-04T13:35:07
2018-02-04T13:35:07
54,322,949
5
0
null
null
null
null
UTF-8
Python
false
false
73
py
def containsAny(seq, aset): return bool(set(aset).intersection(seq))
[ "mahavivo@126.com" ]
mahavivo@126.com
e4ce03bdc845db19985f057f29474d509faf9e51
807972e7cbbd9a4ac3e33cbe7f6336140b69db99
/__init__.py
3914dcd126ec41dd5af0204c5c57e0df94084099
[]
no_license
imhuay/bert_by_keras
efa6c65fdb3b7cf337218b9644c40ce26875e7ea
bb847a6b45f45fce349aa7c30897dd34f3453648
refs/heads/master
2023-04-21T19:55:09.367856
2021-04-27T13:46:43
2021-04-27T13:46:43
333,485,996
3
0
null
null
null
null
UTF-8
Python
false
false
127
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ Time: 2021-03-10 11:03 AM Author: huayang Subject: """
[ "imhuay@163.com" ]
imhuay@163.com
c2506960988c3521a7ee66ffa6b3e0b8285d7800
741ee09b8b73187fab06ecc1f07f46a6ba77e85c
/AutonomousSourceCode/data/raw/sort/02e9654d-b2b6-4400-b461-b0237b1385b4__selection_sort.py
32b8579c493ef2d06cb99bcee9dee400f3b1157d
[]
no_license
erickmiller/AutomatousSourceCode
fbe8c8fbf215430a87a8e80d0479eb9c8807accb
44ee2fb9ac970acf7389e5da35b930d076f2c530
refs/heads/master
2021-05-24T01:12:53.154621
2020-11-20T23:50:11
2020-11-20T23:50:11
60,889,742
6
1
null
null
null
null
UTF-8
Python
false
false
822
py
from ds import arrays import sys from profile import profile @profile def sort(a): selection_sort(a,0,len(a)) def selection_sort(a,start,length): for i in xrange(start+1,start+length): key = a[i] j = i while(j>start and a[j-1]>key): a[j] = a[j-1] j -= 1 ...
[ "erickmiller@gmail.com" ]
erickmiller@gmail.com
2e39c69f636818b969cb435a652bbead60b25fa1
eadc22ca135f5fa4c095e3292f2a55d642b58b5a
/polymath/codegen/dnnweavergen/dnnweaver2/tensorOps/cnn.py
02034190513bd0f9d03d17392db6b196b7c6a8f2
[ "Apache-2.0" ]
permissive
ZhuangzhuangWu/polymath
eb4b71f2e310a0c99b985935984aa396643bed46
4857df309a8aecf392fc8a1c7ec1fdfad3706426
refs/heads/master
2023-06-24T02:44:36.095451
2021-07-28T18:04:45
2021-07-28T18:04:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,043
py
from polymath.codegen.dnnweavergen.dnnweaver2.tensorOps.NodeOp import NodeOp, GradOp from polymath.codegen.dnnweavergen.dnnweaver2.graph import get_default_graph from polymath.codegen.dnnweavergen.dnnweaver2.scalar.ops import Ops from polymath.codegen.dnnweavergen.dnnweaver2.scalar.dtypes import FQDtype, FixedPoint fro...
[ "sean.kinzer@gmail.com" ]
sean.kinzer@gmail.com
74e26e09eea6b1c02032bef6283506cea981f66f
5b11be48f06b6779fe073deb90dde14659543367
/coloredlogs/tests.py
f160d525e80fffe8de65f5b542bdc121101ea1e4
[ "MIT" ]
permissive
davliu/python-coloredlogs
03a612a6d6dd72255d7cee98386bf74f7ed5a204
549decbfde404b475cb772e86bdb5091f9f1baff
refs/heads/master
2020-05-20T18:31:58.680478
2015-06-02T19:03:23
2015-06-02T19:03:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,045
py
# Automated tests for the `coloredlogs' package. # # Author: Peter Odding <peter@peterodding.com> # Last Change: May 27, 2015 # URL: http://coloredlogs.readthedocs.org # Standard library modules. import logging import random import re import string import unittest # External dependencies. from humanfriendly.terminal ...
[ "peter@peterodding.com" ]
peter@peterodding.com
49a15a9cea2349452b2a8d4b6d3320a51ee31a06
cd4f28ff0efa74889c4db8e91fb2caaebe37d592
/data.py
4fe388fae73f36ff04095a522803be9981dd224a
[]
no_license
quirell/CSOBO
fd59f4fac0f9f38c32afb7277d6a4c1ecc59a8ea
73a98374cbf21920cecc9b19f77aee1624339769
refs/heads/master
2021-01-13T02:06:14.489103
2015-05-24T00:39:16
2015-05-24T00:39:16
33,379,478
0
0
null
null
null
null
UTF-8
Python
false
false
2,948
py
__author__ = 'quirell' import os import re class TestCase: """ fullname - nazwa przypadku testowego testname - nazwa grupy do ktorej przypadek testowy nalezy, wiecej tu: http://anjos.mgi.polymtl.ca/qaplib/inst.html value - najlepsza (minimalna) wartosc rozwiazania solution - permutacja dla ktorej...
[ "=" ]
=
746cf426cb0daad0ecbfe251adf903b1597644cb
01b8229a1adbc8149e4226c81e31e56e0598b87b
/python/emp.py
8904efc26c20d0c856d6e55dda26f62c425d2f7a
[]
no_license
Amel294/amel
660f4cbd16f58d89a624bc90beeb791d239c6959
e54fd091a4bff436fe94a9901ca9b7c189b6824d
refs/heads/master
2023-05-10T16:56:54.039667
2023-05-08T16:57:18
2023-05-08T16:57:18
160,795,270
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
class employee: def add(self): self.name=raw_input('\nenter employee name:\t') self.nuber=input('\nemployee number:\t') self.salary=input('\nenter salary:\t') def show(self): print('\nname=',self.name,'\n') print('e number=',self.nuber,'\n') print('salary=',self.salary,'\n') x=employee() x.ad...
[ "amel294@gmail.com" ]
amel294@gmail.com
bebb96c64a6feaa14c97cbda198522f712b111c1
d525935af3c80584fb2175623591a1fc86349db5
/Problems/Process integer input/task.py
929699ff539661399dfca3f35156baba73cba1c6
[]
no_license
TonyNewbie/CoffeeMachine
63822ffdec8570166ebf44c0ffe51bfa14d33810
319c41189ede6a2e6e33bd15ae675101c3377b62
refs/heads/master
2022-04-22T13:23:47.904126
2020-04-26T07:25:44
2020-04-26T07:25:44
258,960,677
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
number = int(input()) while number < 101: if number < 10: number = int(input()) continue print(number) number = int(input())
[ "prostomaster90@gmail.com" ]
prostomaster90@gmail.com
52962265003f52013b4546cc3dad4e69fe53f7fb
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/apimanagement/latest/get_group.py
06ab9558e9ca04569a59178cba640eb3db562465
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
4,720
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
8bd8d6553e25d404d1919bb14a246ace10a097c8
a1a57977131ea917a3f3094dae4a3d18846103c0
/tests_auto/2d/quad4/axialdisp_gendb.py
d81640af303b4b9322f9a47bbcf8322f0d52db21
[ "MIT" ]
permissive
rwalkerlewis/pylith
cef02d5543e99a3e778a1c530967e6b5f1d5dcba
8d0170324d3fcdc5e6c4281759c680faa5dd8d38
refs/heads/master
2023-08-24T18:27:30.877550
2020-08-05T16:37:28
2020-08-05T16:37:28
154,047,591
0
0
MIT
2018-10-21T20:05:59
2018-10-21T20:05:59
null
UTF-8
Python
false
false
2,319
py
#!/usr/bin/env python # # ---------------------------------------------------------------------- # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
1e175f5fbd461cacef895e6d82085207e7b62938
02ea99ea65d4768781b59ac97082fa7e1763711c
/neural_structured_learning/estimator/adversarial_regularization.py
a63a7ad858f2c30b8260beef2ba03ee89b88acf5
[ "Apache-2.0" ]
permissive
Nzteb/neural-structured-learning
cad8a94b7b7d0d77eb0d0dca584398d749ff4ca6
0d50227f01556b1cebbd841496f5d1c9c4ef4a61
refs/heads/master
2022-11-15T22:10:32.112476
2020-07-09T00:13:09
2020-07-09T00:13:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,326
py
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
6f0e144c9f2150d6ed2b247269a15962705f55d8
f98c9dea0e212be5c7bc3161499e5633383bd4d7
/zmq/zmq_client.py
a27214a3bfe54b37c5d0b7c49f3ab8e11e63d9e0
[ "MIT" ]
permissive
ysoftman/test_code
dddb5bee3420977bfa335320a09d66e5984403f5
0bf6307073081eeb1d654a1eb5efde44a0bdfe1e
refs/heads/master
2023-08-17T05:45:49.716829
2023-08-16T05:00:09
2023-08-16T05:00:09
108,200,568
4
0
MIT
2023-03-15T04:23:10
2017-10-25T00:49:26
C++
UTF-8
Python
false
false
713
py
#-*- coding: utf-8 -*- # 20160422 ysoftman # pyzmq (python3.x) client import zmq import sys def send_req(ip, port): context = zmq.Context() socket = context.socket(zmq.REQ) # socket.setsockopt(zmq.REQ, b'') socket.connect("tcp://%s:%s" % (ip, port)) # python 3 에서 기본 인코딩이 유니코드 # send 함스는 유니코드를...
[ "ysoftman@gmail.com" ]
ysoftman@gmail.com
7f0537ded18f3ab59f3f0455f9f3074597b23440
377e3a552fb807febc18ce036af77edbce93ca19
/binary trees/inorder_traversal_DFS.py
47831f96111d76a9cebf1a030c565db26ac4a083
[]
no_license
souravs17031999/100dayscodingchallenge
940eb9b6d6037be4fc0dd5605f9f808614085bd9
d05966f3e6875a5ec5a8870b9d2627be570d18d9
refs/heads/master
2022-10-29T11:05:46.762554
2022-09-28T13:04:32
2022-09-28T13:04:32
215,993,823
44
12
null
2022-08-18T14:58:50
2019-10-18T09:55:03
Python
UTF-8
Python
false
false
2,714
py
# Program for inorder traversal for a binary tree # -------------------------------- # As we know inorder traversal means, Left-Node-Right # We can take example for follwoing tree and visualize stack call : # 1 # / \ # 2 3 # / \ # 4 5 # # RECURSIVE APPROACH # -------------...
[ "souravs_1999@rediffmail.com" ]
souravs_1999@rediffmail.com
5491ad295a53569c3f8bf53561b41e6351e48c37
a56252fda5c9e42eff04792c6e16e413ad51ba1a
/resources/usr/lib/python2.7/dist-packages/numpy/distutils/tests/f2py_ext/tests/test_fib2.py
fdab4abd60cb7434c08186156c7da74a5cebbda2
[ "Apache-2.0" ]
permissive
edawson/parliament2
4231e692565dbecf99d09148e75c00750e6797c4
2632aa3484ef64c9539c4885026b705b737f6d1e
refs/heads/master
2021-06-21T23:13:29.482239
2020-12-07T21:10:08
2020-12-07T21:10:08
150,246,745
0
0
Apache-2.0
2019-09-11T03:22:55
2018-09-25T10:21:03
Python
UTF-8
Python
false
false
88
py
../../../../../../../../share/pyshared/numpy/distutils/tests/f2py_ext/tests/test_fib2.py
[ "szarate@dnanexus.com" ]
szarate@dnanexus.com
da5ef56bfccc88c74e51c8cf0376e38e3a3ca319
7626a8371c7a847f93bdae5e1d6e03ee9667c3ba
/print/users/migrations/0001_initial.py
08083d447c75319b2a232ce671351aac48b5e516
[]
no_license
zzyzx4/sp
52c815fd115b4605942baa73687838f64cd41864
90c7a90b3de27af674422e2c8892bad5ba7891e8
refs/heads/master
2020-05-23T21:20:28.166932
2019-07-19T11:56:49
2019-07-19T11:56:49
186,950,380
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
# Generated by Django 2.2.2 on 2019-06-24 15:40 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...
[ "you@example.com" ]
you@example.com
946f6acb38c734fdff7ed61463b00a60f7de3399
f0316e656767cf505b32c83eef4df13bb9f6b60c
/Kattis/qaly.py
86b1b75314997d2f525dc10e31ebf5f2bd66f855
[]
no_license
AkshdeepSharma/Classroom
70ec46b35fab5fc4a9d2eac430659d7dafba93da
4e55799466c101c736de6c7e07d716ff147deb83
refs/heads/master
2022-06-13T18:14:03.236503
2022-05-17T20:16:28
2022-05-17T20:16:28
94,828,359
1
0
null
null
null
null
UTF-8
Python
false
false
141
py
N = int(input()) qaly = 0 for i in range(N): nums = input().split(" ") qaly += float(nums[0]) * float(nums[1]) print(round(qaly, 3))
[ "akshdeep.sharma1@gmail.com" ]
akshdeep.sharma1@gmail.com
a332e92186cd5002d1095263b0a5abaae4af5d37
3c27b86f0165ab24e6b04d505e8471e032594f0b
/pythonAnimations/pyOpenGLChess/engineDirectory/oglc-env/lib/python2.7/site-packages/OpenGL/raw/GLES1/OES/texture_cube_map.py
1f616ca628a9790612c0acccc4ae8f17355fac0e
[ "LicenseRef-scancode-warranty-disclaimer", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LGPL-2.1-or-later", "GPL-3.0-only", "LGPL-2.0-or-later", "GPL-3.0-or-later", "MIT" ]
permissive
alexus37/AugmentedRealityChess
8b9ccdfffc8aee93a86a44b8ef53c034ec6a10d1
7f600ad153270feff12aa7aa86d7ed0a49ebc71c
refs/heads/master
2020-12-24T13:29:21.967833
2020-02-27T09:38:50
2020-02-27T09:38:50
31,264,034
1
1
MIT
2020-02-27T09:38:52
2015-02-24T14:36:34
Python
UTF-8
Python
false
false
2,394
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GLES1 import _types as _cs # End users want this... from OpenGL.raw.GLES1._types import * from OpenGL.raw.GLES1 import _errors from OpenGL.constant import Constant as _C import...
[ "alexlelidis@gmx.de" ]
alexlelidis@gmx.de
fc32d33d92acf211a927ee9591a9c2e2c794716f
faa83048d2bb62c27f030942f3f038f87637c293
/indico/core/oauth/protector.py
29693821d8a79e3bc2dcaeb25d629331dcedddbf
[ "MIT" ]
permissive
janschill/indico
f79536db43afaf631449fef5119069af2938e76d
068a947446eb624308d6264e34a4061807e6ff12
refs/heads/master
2023-06-08T07:32:33.007683
2021-06-18T12:42:03
2021-06-18T12:42:03
339,700,154
0
0
MIT
2021-06-18T12:42:04
2021-02-17T11:22:48
Python
UTF-8
Python
false
false
3,105
py
# This file is part of Indico. # Copyright (C) 2002 - 2021 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. import flask from authlib.integrations.flask_oauth2 import ResourceProtector from authlib.oauth2.rfc6750.v...
[ "adrian.moennich@cern.ch" ]
adrian.moennich@cern.ch
78b44ed568709f7982622043bd51601faeed8ab8
4791bde7bb7275fc25480fdf0cd81d1a9450a50c
/accounts/views.py
2cd377f5f3cbd97f9432c0c428c386f474093f90
[]
no_license
VinneyJ/RU-I-tech-app
9692f0681dd704ce52c621b3d080d1a90fbe501b
dd15335f26a35d8e32477e7dd384f3a80351d25d
refs/heads/master
2020-05-02T21:04:17.773867
2019-03-28T13:25:18
2019-03-28T13:25:18
178,209,692
0
0
null
null
null
null
UTF-8
Python
false
false
2,070
py
from django.shortcuts import render, redirect from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.decorators import login_required from django.contrib.auth import login, logout from accounts.form import UserRegisterForm, UserUpdateForm, ProfileUpdateForm from .models import Profile # C...
[ "vincentjayden49@gmail.com" ]
vincentjayden49@gmail.com
86c0cb10d29d06dcf7aa7a311986ac1f5d219e7e
2420eab92b5d1ec2225d2eeb128a41e3c7b1ce38
/11/JackTonenizer.py
b7a45cc64a958be663d46d4e26cc25dc8127e138
[]
no_license
hokiepete/building-a-modern-computer-from-first-principles
f98549a5d32ff23d4eab3b089324e61dac22841a
bba0d437b10ba5b5f6861067b3a0ba4ac14ef447
refs/heads/master
2023-08-17T21:38:44.589836
2021-10-24T01:41:56
2021-10-24T01:41:56
385,073,300
0
0
null
null
null
null
UTF-8
Python
false
false
5,155
py
# Main program that sets up and invokes the other modules import os KEYWORDS = set([ 'class','constructor','function','method','field','static','var','int','char','boolean', 'void','true','false','null','this','let','do','if','else','while','return' ]) SYMBOL = set([ '{','}','(',')','[',']','.',',',';','+'...
[ "pnolan1986@gmail.com" ]
pnolan1986@gmail.com
6a8158e71b678a31bafc2805c7a170059a1636e0
8528604d3231d86feada09465170220b892c1c35
/landlab/grid/warnings.py
f1b23dd50399188b1024ed1c35288a9fb622b4ba
[ "MIT" ]
permissive
ChristinaB/landlab
9780acbd5753741cd91c40dbc5d683b66f2481a6
82fd45d059dbe58728b074b024e46a1a10ce1e5c
refs/heads/master
2021-04-26T22:45:44.007416
2020-12-02T22:57:27
2020-12-02T22:57:27
124,138,852
0
1
MIT
2020-12-02T22:57:28
2018-03-06T21:08:56
Python
UTF-8
Python
false
false
988
py
import os from ..core.messages import deprecation_message class DeprecatedSignature(DeprecationWarning): msg = "You are using a deprecated calling signature." def __init__(self, name, old=None, new=None): self._name = name self._old = old self._new = new if old: ...
[ "mcflugen@gmail.com" ]
mcflugen@gmail.com
99a5ca707f3d8c2a1b8bca69fffae0e09c4debbb
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03007/s124226483.py
6a9358f63822c404d9005c20865e9e13e95ae0d6
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
def c_successive_subtraction(N, A): A.sort() maximum = A.pop() minimum = A.pop(0) # Aの要素のうち、最大のものと最小のものを分けて置いておく。 # それら以外の要素 a_k について、 # a_k が非負なら、最小のものから a_k を引くことで負の方向に大きくできる。 # a_k が負なら、最大のものから a_k を引くことで正の方向に大きくできる。 # 最後に 最大のもの - 最小のもの とすると、最後に残る整数を最大にできる。 operation = [] for...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cd8a93ba1a1eecf47d977440117edacdc4fa67db
47e964290f45472898859fc997a9d6806518f507
/catkin_ws/devel/lib/python2.7/dist-packages/action_demo/msg/_DoDishesAction.py
4320719ba3e6a6335d8510bdaee0df0ea9505816
[]
no_license
jianhengLiu/ROS
3623fefc80ac29d7037f40886861b6f2eb30ea40
53961dc736bcbf39553deef97da030deb40538a0
refs/heads/master
2020-06-11T10:11:31.540705
2020-01-12T11:05:39
2020-01-12T11:05:39
193,918,025
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
/home/chris/catkin_ws/devel/.private/action_demo/lib/python2.7/dist-packages/action_demo/msg/_DoDishesAction.py
[ "943678231@qq.com" ]
943678231@qq.com
2c9a70b0cecef465d4b201e73b956ba6ebe213bf
d1969a22afb7adda791caa4edf464dad02b684c0
/apps/edu/urls.py
b7d0eac3b362ac6a5aee738851c571d6a27a6507
[ "MIT" ]
permissive
local-host-club/cms
11d4ea1105dabc6d0a60b935484b5f9eb2ec1da9
136fb075f11011ea77672b3468f69262a43eb500
refs/heads/master
2020-07-02T17:09:36.135855
2016-11-28T13:31:11
2016-11-28T13:31:11
74,293,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
"""cms URL Configuration """ from django.conf.urls import url from apps.edu import views urlpatterns = [ url(r'^curriculo/$', views.CompetenciaAreaList.as_view(), name='curriculo'), url(r'^competencia_area/add$', views.CompetenciaAreaCreateView.as_view(), name='competencia_area_add'), url(r'^competencia_ar...
[ "jinchuika@gmail.com" ]
jinchuika@gmail.com
84d21ec07c949680015fbdeecdffdc7bfb2421f8
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Autodesk/Revit/DB/__init___parts/DividedPath.py
c4b8a23dba9c44a17db440c15326440085b239fb
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
10,464
py
class DividedPath(Element,IDisposable): """ An element that consists of a set of points distributed along a path which consists of a connected set of curves and edges. """ @staticmethod def AreCurveReferencesConnected(document,curveReferences): """ AreCurveReferencesConnected(document: Document,curveReferences: IL...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
6c2852e49e135f9302519afe6ba267c820f0331f
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=53/sched.py
4782c407067e60157e4904c483d2dc99938f2852
[]
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
175
py
-X FMLP -Q 0 -L 2 70 300 -X FMLP -Q 0 -L 2 60 200 -X FMLP -Q 1 -L 2 58 175 -X FMLP -Q 2 -L 2 55 175 -X FMLP -Q 3 -L 1 33 200 30 400 30 400 26 100 20 125 15 175
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
21d55738f288dbd03aa9bf55cc94a249e00cb2e8
fd67592b2338105e0cd0b3503552d188b814ad95
/test/test_models/test_contact_inside_base_with_id.py
964e5f31739d9ed26dde6e699ebac9fc39ca81a9
[]
no_license
E-goi/sdk-python
175575fcd50bd5ad426b33c78bdeb08d979485b7
5cba50a46e1d288b5038d18be12af119211e5b9f
refs/heads/master
2023-04-29T20:36:02.314712
2023-04-18T07:42:46
2023-04-18T07:42:46
232,095,340
5
2
null
null
null
null
UTF-8
Python
false
false
5,082
py
# coding: utf-8 """ APIv3 (New) # Introduction This is our new version of API. We invite you to start using it and give us your feedback # Getting Started E-goi can be integrated with many environments and programming languages via our REST API. We've created a developer focused portal to give your organiza...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
f9799d5d427629227541426eb2f76d39b9c7be55
06e2dd0aa78241edbe647a8b5ef075a90ee4a8b6
/97/holidays.py
719a5166b67dda66aa92ab9dfadacfa9422f242d
[]
no_license
StefanKaeser/pybites
a6a78b51039ab4792deb285dc799c6abf7bea6d5
9f839af4ef400786b7c28701c2241f310bb4422c
refs/heads/master
2020-08-23T11:28:03.172666
2020-06-15T15:37:14
2020-06-15T15:37:14
216,606,021
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
from collections import defaultdict import os from urllib.request import urlretrieve from bs4 import BeautifulSoup # prep data # tmp = os.getenv("TMP", "/tmp") tmp = os.path.curdir page = "us_holidays.html" holidays_page = os.path.join(tmp, page) urlretrieve(f"https://bites-data.s3.us-east-2.amazonaws.com/{page}", h...
[ "stefan.kaeser7@gmail.com" ]
stefan.kaeser7@gmail.com
0381c9188731c7b9a643d7d35757c09a22da7724
f2ebfb99b0e6a07afba7e583f820737511a1a98e
/code/models/listener.py
53325f3801b8e3ba46209f53072932ee06991b75
[ "MIT" ]
permissive
jayelm/emergent-generalization
211c065d4829322792396ad6605dc51024e913cd
35b1d97a940826008cde13498aa75c233a7f454a
refs/heads/master
2023-08-27T00:25:32.988514
2021-09-29T04:47:22
2021-09-29T04:47:22
373,944,198
14
1
null
null
null
null
UTF-8
Python
false
false
2,517
py
""" Listener models """ import torch import torch.nn as nn from . import rnn class CopyListener(nn.Module): def __init__(self, feat_model, message_size=100, dropout=0.2): super().__init__() self.feat_model = feat_model self.feat_size = feat_model.final_feat_dim self.dropout = nn...
[ "6245103+jayelm@users.noreply.github.com" ]
6245103+jayelm@users.noreply.github.com
de99f451e82714b1c4644394330ee7044c740365
62cbf8dcd921feb309d79ad66767405ea27623ba
/python/boj/2667_boj_danji.py
34b79935b3fb77392d1a17aad2eb8c53ba322477
[]
no_license
woodg1207/APS
1d20f8b7c6d7a7f41e9920ec41ad0c435a881519
e49a6fb01e1a51213963cd58f13a1364833482f8
refs/heads/master
2023-06-13T21:41:28.114299
2021-06-21T04:17:19
2021-06-21T04:17:19
288,982,972
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
import sys; sys.stdin=open('s2667.txt','r') from collections import deque N = int(input()) arr = [list(map(int, input())) for _ in range(N)] dr = [1,0,-1,0] dc = [0,1,0,-1] danji_list = [] for i in range(N): for j in range(N): if arr[i][j]: arr[i][j] = 0 c = 1 q = ...
[ "woodg1207@gmail.com" ]
woodg1207@gmail.com
77ceff54bf05ef0ec310abe67194e4c272925c48
a7b66311c2ce113789933ec3162f1128b2862f13
/app/closeLoop/ForcastDiffFactor.py
08170df61a83a596a2f558df9d51de995411210f
[ "MIT" ]
permissive
ChanJeunlam/geolearn
214b2c42359ea1164b39117fad2d7470adeb6d35
791caa54eb70920823ea7d46714dc8a3e7fa7445
refs/heads/master
2023-07-16T04:13:15.526364
2021-08-16T05:24:18
2021-08-16T05:24:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,847
py
from hydroDL import pathSMAP, master, utils from hydroDL.master import default from hydroDL.post import plot, stat import os import matplotlib.pyplot as plt import numpy as np import torch import pandas as pd doLst = list() # doLst.append('train') doLst.append('test') doLst.append('post') saveDir = os.path.join(pathSM...
[ "geofkwai@gmail.com" ]
geofkwai@gmail.com
0a606a1b05d67e2bbd7b110945393561282c0ba4
430db754af2a7481358df2dcd7f74919c4ecddcf
/prob_tools/tools.py
6acebfcfbb108e282202e948521f5579880f9c75
[ "MIT" ]
permissive
arruda/exercicios_probabilidade
567eb318ff137bcce155142d3a951cf6b1c40515
dca3503a0b4d982e63795b775bf30b9b95440bcd
refs/heads/master
2021-01-19T19:35:24.552403
2014-10-22T18:31:42
2014-10-22T18:31:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import division import math def combinacao(n, p): """ Combinação de N, P à P """ n_fat = math.factorial(n) p_fat = math.factorial(p) n_menos_p_fat = math.factorial(n-p) return n_fat / (p_fat * n_menos_p_fat) def bernuille():...
[ "felipe.arruda.pontes@gmail.com" ]
felipe.arruda.pontes@gmail.com
6060cea90a85849c7a6e237732ba3d0a8e87983d
ec0e1779383bec96de803ba893de5096c563158f
/tensorflow/python/estimator/inputs/pandas_io.py
a1e418f487c5b7da6907fa945fba0165334432cf
[]
no_license
DengZhuangSouthRd/simple_tensorflow
45d8fc7c2ef9da947f11f876aff7c1e169dc457c
83d742219c4a04c61822935487626890bc735301
refs/heads/master
2021-01-18T19:05:36.414639
2017-04-01T15:06:16
2017-04-01T15:06:16
86,887,616
11
1
null
null
null
null
UTF-8
Python
false
false
4,137
py
# Copyright 2017 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...
[ "liuguiyangnwpu@163.com" ]
liuguiyangnwpu@163.com
b2c8ee7450114fe41b23728d52ab158c5be37155
37c38ef8ead53739b3128147da9a24c44cfccccb
/froide/helper/search.py
096eeb8474bc34da53009caf07af0861a887d59b
[ "MIT" ]
permissive
zlodej/pekel
ff102dc1c05180dfcff6a30bd944252d128e0fb5
b1114618ef032503ab49476e738e90952c4da71a
refs/heads/master
2021-05-06T15:38:28.301853
2017-12-02T11:33:19
2017-12-02T11:33:19
102,724,490
0
0
null
null
null
null
UTF-8
Python
false
false
3,627
py
from haystack.fields import NgramField from haystack.exceptions import MissingDependency class SuggestField(NgramField): pass try: from haystack.backends.elasticsearch_backend import ( ElasticsearchSearchEngine, ElasticsearchSearchBackend, FIELD_MAPPINGS ) except (ImportError, MissingDependency...
[ "mail@stefanwehrmeyer.com" ]
mail@stefanwehrmeyer.com
a23d5a870a4d32a4c8c889089b00f6e56ee3dd50
73c2ec3edf0f6eaea4ce1f73e910f02592119a42
/mmdet/models/utils/fpn_utils.py
ab7558ff1ecd6d699cd8724dd5260b276affb28f
[ "Apache-2.0" ]
permissive
violet998/video_class_agnostic_segmentation
ab9b496415857678979a70890cb68e92fa014061
c4614fe675e8a5352012f603c15bc24fb43d690c
refs/heads/main
2023-04-20T15:31:37.699645
2021-04-22T16:41:26
2021-04-22T16:41:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
import torch import torch.nn.functional as F def merge_fpn(x, average=True): max_size = x[0].shape merged_fpn = [] for i, _ in enumerate(x): merged_fpn.append(F.interpolate(x[i], max_size[-2:])) if average: return torch.stack(merged_fpn).mean(dim=0) else: concat = torch.stac...
[ "mennatul@ualberta.ca" ]
mennatul@ualberta.ca
7099ddfcc80ff50780eeb6bea1817b88a9fa94f2
70d929497cbd70bb40ed939f3aa0ce56c3f7d816
/pandas/core/groupby/ops.pyi
58a34d0c2081a8e25b9bb1f4bab161d88906e3f0
[ "MIT" ]
permissive
matangover/python-type-stubs
abd4bc46f9841d0a2c44e1597055019d21f9ee70
15285c6b88dc684d9de9bfdaf8b72d4eb7c3e257
refs/heads/main
2023-07-13T04:19:03.481222
2021-08-05T20:26:18
2021-08-05T20:26:18
399,435,272
0
0
MIT
2021-08-24T11:11:57
2021-08-24T11:11:56
null
UTF-8
Python
false
false
2,824
pyi
import numpy as np from pandas._typing import FrameOrSeries as FrameOrSeries from pandas.core.groupby import grouper as grouper from pandas.core.indexes.api import Index as Index from pandas.core.series import Series as Series from typing import List, Optional, Sequence, Tuple class BaseGrouper: axis = ... sor...
[ "gram@geekraver.com" ]
gram@geekraver.com
f3ce2b0bddb87af3a6913e654894d0f19c5a9fe7
436166fda7a671805b8fa6fc06e68bf7d42f9be6
/test/boost.py
f977bb0860e75e9f0cee74eff9cad1e18a818acf
[]
no_license
VitalyVorobyev/libLinAl
1e4872feb0e5deb70d9c3acc2e31e676e27818c2
b815efeee109922ffd28d97b9253f636403aa999
refs/heads/master
2021-01-22T08:39:29.897025
2020-08-28T04:06:52
2020-08-28T04:06:52
81,914,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
""" Boost """ import numpy as np import matplotlib.pyplot as plt from liblinal import vect, lvect def boost_test(): """ Boost unit test """ boost_list = np.linspace(0.0001, 0.9, 500) txprime = np.array([lvect(1., 0, 0, 0).boost(vect(bx, 0, 0)).as_list[:2] for bx in boost_list]) ...
[ "vit.vorobiev@gmail.com" ]
vit.vorobiev@gmail.com
0099d67f95506a2f31cda7626005a332d94f78ee
2aaa58e7a83c4c8a4a2aa8b4a70df95a1ca10f19
/s_full1.py
de1275e660df53dc31509a7dc24c722912520572
[]
no_license
federico0712/elitepro_astm
84cd8b1c3095f24a1cfded573debcd12894d60eb
07c2cc8dd3db58b966eeb138484a1fd073e65dde
refs/heads/master
2022-04-14T16:15:31.370068
2020-03-17T03:49:41
2020-03-17T03:49:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
#!/usr/bin/python3 import sys import signal import datetime import serial import logging ''' This program reads all bytes and writes them to a file in /root/elite folder first byte is ENQ last one is EOT This help in capturing everything between ENQ and EOT and learn equipment specific need ''' output_folder='/root/...
[ "root@debian" ]
root@debian
28707766a97f29fb0ccf49800aa19a65d89a6697
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_355/ch117_2020_03_30_19_48_40_877571.py
985e837a3949e7e8f671c81eba218bc0348f2386
[]
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
152
py
import math def snell_descartes (o2, o1, n1, n2 ): o2 = arcsin(math.sin(o1)*(n1/n2)) y = o2 * 180 / math.pi return degrees ( arcsin ( o2 ))
[ "you@example.com" ]
you@example.com
7e94b07d17aaa223c1697a14ed1951afe126ebe0
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/Tumblr/Post/CreateLinkPost.py
ac3b9be49dc57291e0f74fc746a2da6b46aca1b7
[ "MIT", "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
7,045
py
# -*- coding: utf-8 -*- ############################################################################### # # CreateLinkPost # Creates a new link post for a specified Tumblr blog. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you m...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
1de081acd200b031145320d70d79be19ae3a8312
9510cd7f96e2cd6b8751fab988038228fe0568c7
/python/0343.Integer Break.py
fb6b957010a895615056dfe72d6838cee56b60b0
[]
no_license
juechen-zzz/LeetCode
2df2e7efe2efe22dc1016447761a629a0da65eda
b5926a3d40ca4a9939e1d604887e0ad7e9501f16
refs/heads/master
2021-08-11T00:37:18.891256
2021-06-13T10:26:31
2021-06-13T10:26:31
180,496,839
2
0
null
null
null
null
UTF-8
Python
false
false
492
py
""" 给定一个正整数 n,将其拆分为至少两个正整数的和,并使这些整数的乘积最大化。 返回你可以获得的最大乘积。 """ class Solution: def integerBreak(self, n: int) -> int: dp = [1] * (n + 1) for i in range(3, n+1): for j in range(1, int(i / 2) + 1): # 会出现极限情况,比如dp[2]=1,不应该拆2的 dp[i] = max(dp[i], max(dp[i-j], i-...
[ "240553516@qq.com" ]
240553516@qq.com
1e31bced9e56926fe0f486d8dd135d8d6c560de0
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/api_lib/app/ext_runtimes/fingerprinting.py
083b9008e3b6aa13e21c03c748a2c8a5680106dc
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
3,153
py
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "toork@uw.edu" ]
toork@uw.edu
1c2c7f77375d17cca4387f409b1116c826cd6c24
7f593761058b96792e51023e3b42af740f2006d7
/pkg/ampcor/dom/Raster.py
1366bf502713ca054646e88ecfdcc8ecdc06a924
[ "BSD-2-Clause" ]
permissive
isce-framework/ampcor
2b3769e579ceaf993c9ea17f836553057a52ad6a
eafadcbe4380a85320d8c7e884ebe4d6d279770e
refs/heads/master
2020-05-07T16:06:06.364458
2019-04-10T22:09:45
2019-04-10T22:09:45
180,668,210
3
3
null
null
null
null
UTF-8
Python
false
false
959
py
# -*- coding: utf-8 -*- # # michael a.g. aïvázis <michael.aivazis@para-sim.com> # parasim # (c) 1998-2019 all rights reserved # # framework import ampcor # declaration class Raster(ampcor.protocol, family="ampcor.dom.rasters"): """ The base class for all pixel based data products """ # public data...
[ "michael.aivazis@para-sim.com" ]
michael.aivazis@para-sim.com
4c698ed3717c85f27f6df1de04780252abdbb4b8
c0a7d9a057abbd1a065a4149b96777163e596727
/Placement Prepration/Recursion/lucky_number.py
286455a2666bc95261ea05ef88d07e5487863118
[]
no_license
Sameer2898/Data-Structure-And-Algorithims
6471c2dabfbd2067d2a2c556ddd0b6615235cd4f
2f251570434ea9c1881de95b4b1a5e368d5b7f46
refs/heads/main
2023-02-16T16:18:08.177109
2021-01-14T06:33:22
2021-01-14T06:33:22
329,527,964
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
def isLucky(n): global c if c <= n: if n % c == 0: return 0 n = n-n//c c += 1 return isLucky(n) else: return 1 c=2 if __name__ == '__main__': t = int(input('Enter the number of test cases:- ')) for tcs in range(t): c=2 n = int(...
[ "xdgsr1234@gmail.com" ]
xdgsr1234@gmail.com
5780cc90cf158da08e08e1ce41888a4a1a87c818
a39ecd4dce4b14f5d17416233fa16c76d2d3f165
/Libraries/Python/CommonEnvironment/v1.0/CommonEnvironment/UnitTests/Process_UnitTest.py
9ea28ebb7b3352eaf881e69ecb187d70d541205f
[ "BSL-1.0", "Python-2.0", "OpenSSL", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only" ]
permissive
davidbrownell/Common_Environment_v3
8e6bbed15004a38a4c6e6f337d78eb2339484d64
2981ad1566e6d3c00fd390a67dbc1277ef40aaba
refs/heads/master
2022-09-03T19:04:57.270890
2022-06-28T01:33:31
2022-06-28T01:33:31
132,171,665
0
0
BSL-1.0
2021-08-13T21:19:48
2018-05-04T17:47:30
Python
UTF-8
Python
false
false
1,527
py
# ---------------------------------------------------------------------- # | # | Process_UnitTest.py # | # | David Brownell <db@DavidBrownell.com> # | 2018-08-21 07:38:01 # | # ---------------------------------------------------------------------- # | # | Copyright David Brownell 2018-22. # | ...
[ "db@DavidBrownell.com" ]
db@DavidBrownell.com
10aa036fce0bea713f5078ed34e900100942a4dd
9d733284e31476d85a42e2e2614c7a4cfed5aed1
/test/test_payment_setup_response_initiation.py
17f9b8d526229a97464b21c8929c57a54c440858
[ "MIT" ]
permissive
roksela/openbanking-payment-client
be138ff7403989b8bce7ad7e95e885c676e7ad29
a17b3ded257e71be1dbf6bde6e206dd2f2abddd8
refs/heads/master
2021-04-29T17:17:27.102309
2018-02-17T08:07:40
2018-02-17T08:07:40
121,665,228
1
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
# coding: utf-8 """ Python client for Payment Initiation API Based on https://github.com/OpenBankingUK/payment-initiation-api-spec OpenAPI spec version: v1.1.1 Spec: https://www.openbanking.org.uk/read-write-apis/ Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __futur...
[ "kris@dataservices.pro" ]
kris@dataservices.pro
345a712888b96f9f8a07c642769a53db19af8b02
4a48593a04284ef997f377abee8db61d6332c322
/python/matplotlib/imshow_plt.py
f5fb22bf13f8310cc833ec64bc15b398c0e3947a
[ "MIT" ]
permissive
jeremiedecock/snippets
8feaed5a8d873d67932ef798e16cb6d2c47609f0
b90a444041c42d176d096fed14852d20d19adaa7
refs/heads/master
2023-08-31T04:28:09.302968
2023-08-21T07:22:38
2023-08-21T07:22:38
36,926,494
26
9
MIT
2023-06-06T02:17:44
2015-06-05T10:19:09
Python
UTF-8
Python
false
false
1,081
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Display data as an image (via pyplot) See: http://matplotlib.org/examples/pylab_examples/image_demo.html See also: - http://matplotlib.org/examples/color/colormaps_reference.html (the list of all colormaps) - http://matplotlib.org/users/colormaps.html?highlight=col...
[ "jd.jdhp@gmail.com" ]
jd.jdhp@gmail.com
de4c2a2948208b3b66fa65fdcb3f6e3e5189fced
cc9cf69b1534dc0d9530b4ff485084162a404e34
/create_date/creat_idcare.py
8f82e64de6c858a560cdd206f051e34b51942b1d
[]
no_license
NASA2333/study
99a58b2c9979201e9a4fae0c797391a538de6f45
ba63bc18f3c788090e43406315497329b00ec0a5
refs/heads/master
2021-05-03T22:26:52.541760
2018-02-07T02:24:55
2018-02-07T02:24:55
104,988,265
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
import random for i in range(1001): Birthday =[] #生日 addrs =[str(random.choice(range(110000,999999))).zfill(6)] #地区 order = [str(random.choice(range(0,999))).zfill(3)] #序列 mult = [7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2] check = [1,0,'X',9,8,7,6,5,4,3,2] year = str(random.randint(1960,2017)) month =...
[ "422282539@qq.com" ]
422282539@qq.com
12ae0c821148f139226df73096fb51e6335684bf
8839746b043af422d919d554088e99591defc4eb
/tensor2tensor/trax/rl/simulated_env_problem.py
a31b8df7626a26952ce3236ab478d602b35ae024
[ "Apache-2.0" ]
permissive
jlebar/tensor2tensor
c460df42d595139586c21c29f031a2e44fcd4ea9
a41ffb598eddf65ec31b41aa8afa56bc59694173
refs/heads/master
2020-07-18T01:41:50.901543
2019-09-03T18:21:01
2019-09-03T18:21:36
206,145,748
0
0
Apache-2.0
2019-09-03T18:29:43
2019-09-03T18:29:42
null
UTF-8
Python
false
false
17,492
py
# coding=utf-8 # Copyright 2019 The Tensor2Tensor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
433b7cebbab4fb45f7bac8264fea88827e505dba
d5581fe82bbce4ae206bbfc8c6251cb19c87a5bf
/leetcode/python/065-validNumber.py
4d493885d458fa2b0746574e13fecccacdf96b70
[]
no_license
yi-guo/coding-interview
23f2a422b69a84d648ba9d74ea1b05e42b8689af
fd22a407f096d7e0c4eefbeb4ed37e07043f185c
refs/heads/master
2016-09-06T11:15:41.133160
2015-03-28T22:30:52
2015-03-28T22:30:52
28,378,778
1
1
null
null
null
null
UTF-8
Python
false
false
1,931
py
#!/usr/bin/python # Validate if a given string is numeric. # Some examples: # "0" => true # " 0.1 " => true # "abc" => false # "1 a" => false # "2e10" => true # Note: It is intended for the problem statement to be ambiguous. # You should gather all requirements up front before implementing one. import sys...
[ "yi.guo@yahoo.com" ]
yi.guo@yahoo.com
eff3f6c40e851c6068020b6fbbb0f2563e8ce039
12967293f285decb1568bd56af38b1df4e5c533d
/.eggs/boto-2.48.0-py2.7.egg/boto/pyami/installers/ubuntu/mysql.py
d844aaf25ce8a16b5337783fbd6f58d6feaf9a88
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
martbhell/git-bigstore
36cd16276379833fbade252a77c73cf3644aa30f
960e9ea64d4d5646af3ce411adf46f3236b64d7e
refs/heads/master
2020-05-16T17:51:52.011171
2019-03-12T20:54:42
2019-03-12T20:54:42
183,206,409
0
0
Apache-2.0
2019-04-24T10:29:48
2019-04-24T10:29:47
null
UTF-8
Python
false
false
4,856
py
# Copyright (c) 2006-2009 Mitch Garnaat http://garnaat.org/ # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modi...
[ "dan@lionheartsw.com" ]
dan@lionheartsw.com
c7d078ea821744e6c63f7379835300785d3e2926
1297634c6641ec62c31cf30b8fabe1886aa8d9ea
/products_and_services_client/models/maximum_price.py
dc83ab42d1c9d4be19edaa13186ee8a99e0b5357
[ "MIT" ]
permissive
pitzer42/opbk-br-quickstart
d77f19743fcc264bed7af28a3d956dbc2d20ac1a
b3f86b2e5f82a6090aaefb563614e174a452383c
refs/heads/main
2023-03-04T13:06:34.205003
2021-02-21T23:41:56
2021-02-21T23:41:56
336,898,721
2
0
MIT
2021-02-07T22:03:15
2021-02-07T21:57:06
null
UTF-8
Python
false
false
4,175
py
# coding: utf-8 """ API's OpenData do Open Banking Brasil As API's descritas neste documento são referentes as API's da fase OpenData do Open Banking Brasil. # noqa: E501 OpenAPI spec version: 1.0.0-rc5.2 Contact: apiteam@swagger.io Generated by: https://github.com/swagger-api/swagger-codegen.gi...
[ "arthurpitzer@id.uff.br" ]
arthurpitzer@id.uff.br
bd0db0476b6cc129b3c31b4d96ece4cc877d60e3
bc441bb06b8948288f110af63feda4e798f30225
/micro_app_sdk/model/flow/flow_instance_pb2.pyi
de041c92f19005312841d154f0f892f846d3c5fd
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
15,726
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedC...
[ "service@easyops.cn" ]
service@easyops.cn
a79d3bac4fb73d81f7b0d44129ef3e962424d788
79bb7105223895235263fd391906144f9f9645fd
/models/image/cifar10/cifar10_train.py
84f71d7a8274b757458f397c449a5c59eaea179a
[ "Apache-2.0" ]
permissive
ml-lab/imcl-tensorflow
f863a81bfebe91af7919fb45036aa05304fd7cda
54ab3ec2e32087ce70ecae2f36b56a8a92f2ba89
refs/heads/master
2021-01-22T06:37:18.129405
2016-06-08T15:53:28
2016-06-08T15:53:28
63,518,098
1
2
null
2016-07-17T06:29:14
2016-07-17T06:29:13
null
UTF-8
Python
false
false
4,700
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "mrlittlezhu@gmail.com" ]
mrlittlezhu@gmail.com
4ab0d9b5dbf4bad4ce4e985cef21b404c9ddd7ec
30a3fe4623bda3cf271cf8ef24f87948b89de019
/app/utils.py
0ded1cb9dd3c89790b56992c698e0b14097d1fb3
[]
no_license
kiminh/semantic-search-faiss
84e520e1a8a29a79d0ed313d815704ff7e2e5ddf
bc448f4839e3f0835b711cf7769421d64d11c909
refs/heads/master
2022-10-03T17:40:12.010550
2020-06-04T09:36:02
2020-06-04T09:36:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,001
py
import os import json import faiss import numpy as np OUTPUT_DIR = "output" def normalize(sent: str): """Normalize sentence""" sent = sent.replace('“', '"') sent = sent.replace('”', '"') sent = sent.replace('’', "'") sent = sent.replace('‘', "'") sent = sent.replace('—', '-') return sen...
[ "huffonism@gmail.com" ]
huffonism@gmail.com
ba27a0f3a80330eb4a3161bdba920d0f0031b4d9
70896c105c9a3cc2e7316883e50395fc0638fd25
/site/search-index/graph.py
40d6c8f8249c42cce1edc96d873af2fed57b6bd8
[ "MIT" ]
permissive
chituma110/neupy
87e8c9c14b1eeb43012b214952460a86c7fb05ab
15de13b7d7018369a8d788c0d0ccf9a5c8176320
refs/heads/master
2021-01-13T12:18:54.597174
2017-01-03T13:09:57
2017-01-03T13:09:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
from collections import OrderedDict class DirectedGraph(object): def __init__(self): self.graph = OrderedDict() def add_node(self, node): self.graph[node] = [] def add_edge(self, node_1, node_2): if node_1 not in self.graph: self.add_node(node_1) if node_2 no...
[ "mail@itdxer.com" ]
mail@itdxer.com
7454062d94e2d4f5e5d3ce9c4e44d05140f93ec7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02659/s860662999.py
7dba4b6afad56f6f9235eec17059451af95857f9
[]
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
86
py
import decimal A,B = map(decimal.Decimal,input().split()) num = A*B print(int(num)//1)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1a35cb77bc842254dc8b6691abc06fc3ea3fc946
c8c629cc6c133dd3d3f7919bb24e63675a2643b7
/ionyweb/plugin_app/plugin_website_title/migrations/0003_auto__add_field_plugin_websitetitle_link_enabled__add_field_plugin_web.py
a8220ea7d8cc82f6137ceeaf274609cde749953d
[ "BSD-3-Clause" ]
permissive
ionyse/ionyweb
cf32629f908b622c6e043825c79722c74a30ab9a
00947315b5bca4977f1de40ddb951f843c345532
refs/heads/master
2021-07-11T16:26:26.843580
2013-04-07T08:23:50
2013-04-07T08:23:50
5,911,728
4
1
NOASSERTION
2021-03-19T21:41:34
2012-09-22T09:08:53
Python
UTF-8
Python
false
false
12,392
py
# -*- 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 field 'Plugin_WebsiteTitle.link_enabled' db.add_column('plugin_website_title_plugin_websitetitle', ...
[ "remy.hubscher@novapost.fr" ]
remy.hubscher@novapost.fr
5028e51bfd002a3d27ab6417f43c7ce234de56bc
5b93930ce8280b3cbc7d6b955df0bfc5504ee99c
/nodes/Bisong19Building/C_PartII/C_Chapter10/F_MatrixOperations/B_ElementWiseOperations/index.py
0e50f350af322d3b72ea3073845fe22ebb12e2a8
[]
no_license
nimra/module_gen
8749c8d29beb700cac57132232861eba4eb82331
2e0a4452548af4fefd4cb30ab9d08d7662122cf4
refs/heads/master
2022-03-04T09:35:12.443651
2019-10-26T04:40:49
2019-10-26T04:40:49
213,980,247
0
1
null
null
null
null
UTF-8
Python
false
false
2,323
py
# Lawrence McAfee # ~~~~~~~~ import ~~~~~~~~ from modules.node.HierNode import HierNode from modules.node.LeafNode import LeafNode from modules.node.Stage import Stage from modules.node.block.CodeBlock import CodeBlock as cbk from modules.node.block.ImageBlock import ImageBlock as ibk from modules.node.block.MarkdownB...
[ "lawrence.mcafee@gmail.com" ]
lawrence.mcafee@gmail.com
e66a6383de8c689572ca2d04c0adb3a49595775e
05c395df76d494d8239de86515a3b57cd08231c4
/test/lmp/tokenizer/_base_tokenizer/__init__.py
5d2fe53c608ba24438119b9611d5a2ab2595657f
[]
no_license
SiuYingCheng/language-model-playground
61b74a28abea5707bc1c9d0a2280d2f24d959ae4
6bca79baceacf85c5c3683bbfdf586a00484ed19
refs/heads/master
2022-12-16T23:04:25.895156
2020-09-10T16:26:03
2020-09-10T16:26:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,099
py
r"""Test `lmp.tokenizer._base_tokenizer.py`. Usage: python -m unittest test.lmp.tokenizer._base_tokenizer.__init__ """ # built-in modules from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import inspect import uni...
[ "ProFatXuanAll@gmail.com" ]
ProFatXuanAll@gmail.com
27bf3ef14146afe4d99288cc61e3f95623475769
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2290/60627/252911.py
dd6e631f0e74990df90b56f6a7b3a0c769388514
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
352
py
# 1 n = int(input()) for i in range(n): input() num = input().split() for i in range(len(num)): num[i] = int(num[i]) l = '' for i in range(len(num)): if i < len(num)-1: if num[i] > num[i+1]: l += str(num[i+1]) + ' ' else: l += ...
[ "1069583789@qq.com" ]
1069583789@qq.com
2202083b47c93ec48c1625a519c96443a05b8997
02e4920166051129d1ca28a0da80405a982f1cfe
/exercícios_fixação/094.py
c12172adc3319a6db6eb420f79689481c4229452
[]
no_license
felipeonf/Exercises_Python
1ab40cea2466d6bb5459b5384a1dde8e1066b3b4
8eb2d17a35a6352fd5268a5fa43b834443171c70
refs/heads/main
2023-07-23T22:30:13.567469
2021-08-25T03:34:33
2021-08-25T03:34:33
397,062,295
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
'''[DESAFIO] Desenvolva um aplicativo que tenha um procedimento chamado Fibonacci() que recebe um único valor inteiro como parâmetro, indicando quantos termos da sequência serão mostrados na tela. O seu procedimento deve receber esse valor e mostrar a quantidade de elementos solicitados. Obs: Use os exercícios 70 e...
[ "noreply@github.com" ]
felipeonf.noreply@github.com
8c26bce3eb81c76ff44837fa243a825da36108a0
c7ea36544ae5f7a8e34bf95b8c38240ca6ebda83
/app/schema/answers/month_year_date_answer.py
bfca6e0fa0eb15b62fed5d38aacf62564fa094de
[ "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
qateam123/eq
40daa6ea214e61b572affd0b5ab9990371c70be4
704757952323647d659c49a71975c56406ff4047
refs/heads/master
2023-01-11T01:46:11.174792
2017-02-09T13:46:56
2017-02-09T13:46:56
80,821,577
0
0
MIT
2023-01-04T14:31:08
2017-02-03T11:02:24
JavaScript
UTF-8
Python
false
false
900
py
from app.schema.answer import Answer from app.schema.exceptions import TypeCheckingException from app.schema.widgets.month_year_date_widget import MonthYearDateWidget from app.validation.month_year_date_type_check import MonthYearDateTypeCheck class MonthYearDateAnswer(Answer): def __init__(self, answer_id=None):...
[ "patelt@C02SQ3LDG8WL.local" ]
patelt@C02SQ3LDG8WL.local
90fddcec4e7c01bc4e7411795fd3da100f7f7d65
09dd58f46b1e914278067a69142230c7af0165c2
/blackmamba/system.py
986fcef2f17be701ceb50130892f4a8a6e7dcc74
[ "MIT" ]
permissive
zrzka/blackmamba
4e70262fbe3702553bf5d285a81b33eb6b3025ea
b298bc5d59e5aea9d494282910faf522c08ebba9
refs/heads/master
2021-01-01T18:43:19.490953
2020-01-20T08:26:33
2020-01-20T08:26:33
98,410,391
72
12
MIT
2020-01-20T08:26:35
2017-07-26T10:21:15
Python
UTF-8
Python
false
false
5,903
py
#!python3 """System info and decorators. .. warning:: This module must not introduce dependency on any other Black Mamba modules and must be importable on any other platform as well. """ import sys import traceback import functools try: import console except ImportError: console = None # 3.1, 301016 #...
[ "rvojta@me.com" ]
rvojta@me.com
ab914d8b6829a0927aaf88e8e92d8c9f5c659ec9
6a9231236de04b7d0ccd9b1cb2b2a81dd3e9c96c
/65.py
8427495a5a8610ab2f2e42ed11155dc21e586079
[]
no_license
ikekou/python-exercise-100-book
b3a7fc92a2b8bfb250a799178738956840735117
9e44c1ce6252ecbd90abe1054b89aa1bb651a283
refs/heads/master
2023-03-21T14:19:37.141400
2021-02-28T21:56:28
2021-02-28T21:56:28
343,223,625
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
d = {'A':111,'B':222,'C':333} d2 = {'A':111,'B':222,'C':333} d['D'] = 444 d.update({'D': 444}) print(d) print(d2)
[ "mail@ikekou.jp" ]
mail@ikekou.jp
d3f65edf1238593288b49ad5a0fc56308ecf426e
85f0d7f7255222ce5f8c7fda080edefc8b84fbf6
/manage.py
8d08c9977f464e84f200059a0bad41d3847fb953
[]
no_license
rushi-jagdale/Studentform
9101bfc670d1eea75d77971632443511520a0ce9
90f9255ac7ed0415900b7ff05179b238734b1783
refs/heads/master
2023-06-13T03:30:23.072760
2021-07-07T16:56:25
2021-07-07T16:56:25
383,867,976
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', 'StudentForm.settings') try: from django.core.management import execute_from_command_line except ...
[ "rjcom99@gmail.com" ]
rjcom99@gmail.com
58c130b79a1188152e08dda276e3ffec20ed373c
0dae97b2205ef5d8ce884ec2af4bf99ad2baec43
/drf_admin/apps/cmdb/views/servers.py
d82da8146f097cad58b325c18915d1920c94e506
[ "MIT" ]
permissive
15051882416/drf_admin
2520affacd0345d042b499c3e9a56a112cc235d5
0b31fa5248afb6fc20e6ef425b2dcc4d39977d81
refs/heads/master
2022-12-31T04:57:27.017134
2020-10-24T01:09:58
2020-10-24T01:09:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,461
py
# -*- coding: utf-8 -*- """ @author : Wang Meng @github : https://github.com/tianpangji @software : PyCharm @file : servers.py @create : 2020/10/17 18:45 """ from django.contrib.auth.models import AnonymousUser from django.db.models import Q from django_filters.rest_framework import DjangoFilterBackend fr...
[ "921781999@qq.com" ]
921781999@qq.com
67c8e5844d793fadfff5a1668ac5b73628504133
73de523bde0c9e8398c63a924b44aadc46d11202
/isi_sdk/models/smb_settings_global_extended.py
29687d406097319e864eb3f30c87df231c9dbd62
[ "MIT", "Apache-2.0" ]
permissive
Feyd-Aran/isilon_sdk_python
1c2fae306c1a95a99024dd13dc0fc3b120f9c1de
24e85a5577d15ac3db06862d07d5a261658c67b7
refs/heads/v8.0.0
2020-09-23T00:16:36.684270
2019-12-02T13:45:12
2019-12-02T13:45:12
225,351,700
0
0
MIT
2019-12-02T10:51:54
2019-12-02T10:51:53
null
UTF-8
Python
false
false
27,211
py
# coding: utf-8 """ Isilon SDK Isilon SDK - Language bindings for the OneFS API # noqa: E501 OpenAPI spec version: 3 Contact: sdk@isilon.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from isi_sdk_8_0.models.smb_setti...
[ "brandonfkrueger@gmail.com" ]
brandonfkrueger@gmail.com
4021d5d523973384ebf72c8ba41a80e66b87be23
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/raw_scripts/132.230.102.123-10.21.12.4/1569578039.py
747b1029c89ff144a79977e858b82b6acd08b556
[]
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
4,522
py
import functools import typing import string import random import pytest ## Lösung Teile 1. und 2. class Vigenere: def __init__(self, schluesselwort): raise len(schluesselwort) == 0 self.__key = schluesselwort def encrypt(self, w): test = {1:"A",2:"B",3:"C",4:"D"} result = ...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
ca66a5d5cbd1c66360f905b66c50a3a3a78e69fc
07ec5a0b3ba5e70a9e0fb65172ea6b13ef4115b8
/lib/python3.6/site-packages/pygments/lexers/ampl.py
88d9a335a05d787080d511248d6fb7102cf51e27
[]
no_license
cronos91/ML-exercise
39c5cd7f94bb90c57450f9a85d40c2f014900ea4
3b7afeeb6a7c87384049a9b87cac1fe4c294e415
refs/heads/master
2021-05-09T22:02:55.131977
2017-12-14T13:50:44
2017-12-14T13:50:44
118,736,043
0
0
null
2018-01-24T08:30:23
2018-01-24T08:30:22
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:e80400498fbe866617b60933b2d859ca644ce1bcd0fd1419642e56bb84491be0 size 4120
[ "seokinj@jangseog-in-ui-MacBook-Pro.local" ]
seokinj@jangseog-in-ui-MacBook-Pro.local
b84bc5c1ca3a1559be68059e22c3ad0797fb3b4e
5e0737c75087c2bb631f760979b9afe13ba1e9b5
/labs/Lab7_helper.py
4e5018db80a65f8d2930abeb89e3a9c69a6f2fc4
[]
no_license
anderson-github-classroom/csc-369-student
f54bf89ec84f58405b5ea39f13cd431becf8d796
e8654e5656fdfc5e5c81022a6e1e0bca8ab97e04
refs/heads/main
2023-03-21T14:50:04.475831
2021-03-09T17:08:49
2021-03-09T17:08:49
325,129,939
0
1
null
null
null
null
UTF-8
Python
false
false
1,084
py
from bson.objectid import ObjectId from bson.code import Code def exercise_1(col): result = None # Your solution here return result def exercise_2(col): result = None # Your solution here return result def process_exercise_3(result): process_result = {} for record in result: ...
[ "pauleanderson@gmail.com" ]
pauleanderson@gmail.com
3735ecb70313723eec2dcb5a74478775404b1862
d6e65aa23ff8b2344dacac93fe00fcfcd64cc414
/ac_kth_excluded.py
0562543eaa475be4c06d1338eda33ac95cdd5e8e
[]
no_license
diwadd/sport
c4b0ec3547cde882c549fa7b89e0132fdaf0c8fb
220dfaf1329b4feea5b5ca490ffc17ef7fe76cae
refs/heads/master
2023-05-29T13:17:23.516230
2023-05-20T22:08:28
2023-05-20T22:08:28
223,636,723
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
import bisect nq = input().split(" ") n = int(nq[0]) q = int(nq[1]) a_vec = input().split(" ") a_vec = [int(a) for a in a_vec] ranges_list = [] if a_vec[0] != 1: ranges_list.append([0, a_vec[0]]) for i in range(1, len(a_vec)): if a_vec[i] - a_vec[i-1] == 1: continue else: ranges_list.a...
[ "dawid.dul@gmail.com" ]
dawid.dul@gmail.com
232fb2bc3b437ecc04e52293372acc262f8fc569
58f095f52d58afa9e8041c69fa903c5a9e4fa424
/examples/example10.py
d1559702fb592fcbbb38d226465818239f4e3b58
[ "BSD-3-Clause" ]
permissive
cdeil/mystic
e41b397e9113aee1843bc78b5b4ca30bd0168114
bb30994987f36168b8f09431cb9c3823afd892cd
refs/heads/master
2020-12-25T23:18:52.086894
2014-08-13T14:36:09
2014-08-13T14:36:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,013
py
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 1997-2014 California Institute of Technology. # License: 3-clause BSD. The full license text is available at: # - http://trac.mystic.cacr.caltech.edu/project/mystic/browser/mystic/LICENSE """ Example: - Solve 8th-...
[ "mmckerns@968178ea-60bd-409e-af13-df8a517b6005" ]
mmckerns@968178ea-60bd-409e-af13-df8a517b6005
250c99544b764054cbb51329107670b550aac94e
e4aab0a71dc5c047d8b1576380b16364e03e7c0d
/backup.py
8c72d7628780821364635e912abc49be03239e3f
[ "Apache-2.0" ]
permissive
Joecastra/Watcher3
8ca66c44846030f0eb771d9d6ddeb9c37f637a4e
ce25d475f83ed36d6772f0cc35ef020d5e47c94b
refs/heads/master
2021-01-19T11:05:55.454351
2017-04-10T20:17:24
2017-04-10T20:17:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,478
py
import argparse import os import shutil import sys import zipfile tmpdir = 'backup_tmp' posterpath = os.path.join('static', 'images', 'posters') def backup(require_confirm=True): # check for files and paths if not os.path.isfile('watcher.sqlite'): if require_confirm is True: if input('Da...
[ "nosmokingbandit@gmail.com" ]
nosmokingbandit@gmail.com
a43cfa67569d76d94811a81eaf8ca5a7c3499126
cce63dc8bf66718746019c18df6355cabe34471a
/site_scons/ackward/constructor.py
9ff18482422125bf7a2ab234594f46856c5f0b1b
[ "MIT" ]
permissive
abingham/ackward
1592495c31fff5812b484719d93a0c140d26c127
f1a45293de570f4b4429d9eaeb3f6c4da7d245bf
refs/heads/master
2016-08-12T08:28:07.824253
2012-04-29T13:24:50
2012-04-29T13:24:50
49,885,942
0
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
from .element import SigTemplateElement from .include import ImplInclude from .trace import trace header_template = '${class_name}($header_signature);' impl_template = ''' ${class_name}::${class_name}($impl_signature) try : core::Object ( ${class_name}::cls()($parameters) ) $constructor_initializers { } TRANS...
[ "austin.bingham@gmail.com" ]
austin.bingham@gmail.com
74c5b17fcf4cbff3689ddd9ddff7b7894f1efbfe
395cabaa64a3a823a74e0dc52dd801cb7846d6df
/fluids/two_phase_voidage.pyi
dbe07a821817c30716c2c99cbc6ad42fb5565190
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
CalebBell/fluids
883e28aae944e0f55cdc4e759edf9868714afebb
837acc99075f65060dfab4e209a72dff4c4fe479
refs/heads/master
2023-09-01T07:53:27.386513
2023-08-19T23:49:01
2023-08-19T23:49:01
48,924,523
298
85
MIT
2023-06-06T05:11:12
2016-01-02T21:31:10
Python
UTF-8
Python
false
false
5,192
pyi
# DO NOT EDIT - AUTOMATICALLY GENERATED BY tests/make_test_stubs.py! from __future__ import annotations from typing import List from typing import ( List, Optional, ) def Armand(x: float, rhol: float, rhog: float) -> float: ... def Baroczy(x: float, rhol: float, rhog: float, mul: float, mug: float) -> float...
[ "Caleb.Andrew.Bell@gmail.com" ]
Caleb.Andrew.Bell@gmail.com
b358377477d8140adb098edf7df754b378f8c110
95133906bd7b95359080386ea7570afd26364882
/publishconf.py
2f4900957f007ee04033474b0248a67fbc928a37
[]
no_license
jzuhone/jzuhone.com
94325e3afab4ce75d7b7a8268645597c6a4c80a8
3e3c3774701ed6a2251e71dc11a7a5e7596bdc92
refs/heads/master
2020-05-17T19:13:09.102206
2016-08-15T14:42:31
2016-08-15T14:42:31
14,403,842
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals # This file is only used if you use `make publish` or # explicitly specify it as your config file. import os import sys sys.path.append(os.curdir) from pelicanconf import * SITEURL = 'http://hea-www.cfa.harvard.edu/~jzuhone/' REL...
[ "jzuhone@gmail.com" ]
jzuhone@gmail.com
d9d9dbcd006304cb5a1f7a453809467d03b37be1
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/actrl/rulehitaghist1qtr.py
005543e4e73f4c84e03bd58f42e6196a3a87d08e
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
30,420
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
01950fd457b021ccfdfbf35c8e3b03ab29f0d828
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/contrib/python/ipywidgets/py2/ipywidgets/widgets/widget_layout.py
0b2d202761fa230489f593b60254cca4fb71ab8d
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
6,462
py
# Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. """Contains the Layout class""" from traitlets import Unicode, Instance, CaselessStrEnum, validate from .widget import Widget, register from .._version import __jupyter_widgets_base_version__ CSS_PROPERTIES=['inherit...
[ "akhropov@yandex-team.com" ]
akhropov@yandex-team.com
68b76bbb367a0b66083de4dbb90308c8e0069ab5
4f4f7b28b4c50c8df4381f8a9e68ae515d747424
/examples/ndviz/0_basic_1d_signal.py
2ebc08601ab124c106cad1d172e557b81922ff85
[ "BSD-3-Clause" ]
permissive
christian-oreilly/visbrain
6cd82c22c33039f5adfac1112ceba016c5a75a32
b5f480a16555a10b0032465699a0c371e2be31db
refs/heads/master
2020-06-01T12:24:57.810735
2017-09-09T12:44:25
2017-09-09T12:44:25
94,073,149
0
0
null
2017-06-12T08:29:51
2017-06-12T08:29:51
null
UTF-8
Python
false
false
2,692
py
""" Plot a 1d signal ================ This example show how to display and control simple 1d signal. .. image:: ../../picture/picndviz/ex_basic_signal.png """ import numpy as np from visbrain import Ndviz # Create an empty dictionary : kw = {} # Sampling frequency : sf = 1024. # Create a 10hz cardinal sinus : time...
[ "e.combrisson@gmail.com" ]
e.combrisson@gmail.com
52ab19697e8c0bdd1412fc80b69662d2dd44def8
ce9d475cebeaec9cf10c467c577cb05c3b431fad
/code/chapter_12_example_05.py
66860a252dfe2b04999c9862d06c8c8188745f3b
[]
no_license
Sundarmax/two-scoops-of-django-2.0-code-examples
9c8f98d145aaa5498bb558fc5125379cd39003e5
a15b2d4c240e879c03d2facf8592a644e27eb348
refs/heads/master
2022-04-19T10:14:53.795688
2020-03-04T15:16:25
2020-03-04T15:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,183
py
""" Using This Code Example ========================= The code examples provided are provided by Daniel Greenfeld and Audrey Roy of Two Scoops Press to help you reference Two Scoops of Django: Best Practices for Django 1.11 for Django 2.0 projects. Code Samples follow PEP-0008, with exceptions made for the purposes o...
[ "pydanny@gmail.com" ]
pydanny@gmail.com
2a23248df2d772216b33169abee1e6bddb4c1062
8637ef9b14db2d54199cc189ff1b500c2731a3d3
/analyze/scripts/contours.py
f0acf978bb6d70e09788f32110abe1fdc0800cd3
[]
no_license
Vayel/MPD
76610b9380364154608aafc43c0aed433b2ccc16
80381367b4963ff0f3c3eeefbf648fd02b675b8d
refs/heads/master
2016-09-10T01:35:42.222213
2014-07-03T08:49:25
2014-07-03T08:49:25
20,148,560
4
2
null
null
null
null
UTF-8
Python
false
false
1,271
py
# -*- coding: utf-8 -*- # Python 2 # OpenCV required import os import sys import numpy as np import cv2 from cv_functions import loadImg from global_functions import ensureDir def main(path): src = loadImg(path) src = cv2.resize(src, (0,0), fx=0.7, fy=0.7) gray = cv2.cvtColor(src, cv2.COLOR_BGR2GRAY) thresh =...
[ "vincent.lefoulon@free.fr" ]
vincent.lefoulon@free.fr
f296b5c06d5efae221488145545599ef45b172bd
200eea364c07a2ae5d2533ce66cd0b046ae929f4
/gca-cat
17c28e78b9824b53b59ab4ce4579fc9217a8bac9
[ "BSD-3-Clause" ]
permissive
dalinhuang/GCA-Python
f024e7810f0ccc8010bf6726bddb1e8f47383ff2
135107cb98c697d20f929cf9db6358a7c403d685
refs/heads/master
2020-04-24T14:02:01.200668
2018-01-16T18:05:21
2018-01-16T18:05:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function from __future__ import unicode_literals import argparse import codecs import sys from gca.core import Abstract from collections import OrderedDict class LastUpdatedOrderedDict(OrderedDict): 'Store items in the order the keys wer...
[ "christian@kellner.me" ]
christian@kellner.me
2d85b53a201f4797832bff154c5446bfa2f8676e
f3e1814436faac544cf9d56182b6658af257300a
/GOOGLE COMPETETIONS/codejam_Q_2_2021.py
c955dbe2b50bc045608df87b6c296a2553dfdf9a
[]
no_license
preetmodh/COMPETETIVE_CODING_QUESTIONS
36961b8b75c9f34e127731eb4ffb5742e577e8a2
c73afb87d197e30d801d628a9db261adfd701be9
refs/heads/master
2023-07-15T03:19:15.330633
2021-05-16T10:17:20
2021-05-16T10:17:20
279,030,727
2
1
null
2021-01-12T03:55:26
2020-07-12T09:18:57
Python
UTF-8
Python
false
false
837
py
def change(string): for i in range(len(string)): if string[i]=="?": if i==0: string[i]=string[i+1] elif i==len(string)-1: string[i]=string[len(string)-2] else: string[i]=string[i-1] ...
[ "noreply@github.com" ]
preetmodh.noreply@github.com
7b40dc66da5a51767209659cb82ca97ea7bd57e6
08e76791377ef548e37982d2060b1f0a6dd89970
/nuclear reacter.py
e1908dff710a0d2435f871f7b70effd59463b7d3
[]
no_license
GuhanSGCIT/Trees-and-Graphs-problem
f975090b9118cf74c0c2efe271c010e9410fc0a7
b1b0eec7c7e44f62fa0eff28a8379127f4a66f4e
refs/heads/master
2023-02-12T21:43:28.362986
2021-01-18T16:34:48
2021-01-18T16:34:48
272,145,239
0
0
null
null
null
null
UTF-8
Python
false
false
2,283
py
""" Question:- There are K nuclear reactor chambers labelled from 0 to K-1. Particles are bombarded onto chamber 0.The particles keep collecting in the chamber 0. However if at any time, there are more than N particles in a chamber,a reaction will cause 1 particle to move to the immediate next chamber,and all the...
[ "noreply@github.com" ]
GuhanSGCIT.noreply@github.com
6283a10e0d1bc367a0882b43b97ba5d9e23c2969
501615c82801733e69c7447ab9fd68d3883ed947
/hotfix/.svn/pristine/62/6283a10e0d1bc367a0882b43b97ba5d9e23c2969.svn-base
434ae5e6bf5a96cac5d9effc5c073fc8842df836
[]
no_license
az0ne/python
b2e1cc1e925d1fcdb269e7dd4c48e24665deeeee
aec5d23bb412f7dfca374fb5c5b9988c1b817347
refs/heads/master
2021-07-18T02:08:46.314972
2017-10-27T06:23:36
2017-10-27T06:23:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
808
# -*- coding: utf-8 -*- """ @version: 2016/6/12 @author: Jackie @contact: jackie@maiziedu.com @file: urls.py @time: 2016/6/12 16:13 @note: ?? """ from django.conf.urls import patterns, url, include urlpatterns = patterns( '', # add by jackie 20160612 488免费试学引导 # 课程大纲引导页 url(r'^(?P<...
[ "1461847795@qq.com" ]
1461847795@qq.com
a737110b9a871f6e38e01d0309a80f741a69a80d
b66ca95d947ebc80713f8857c50dd7ed81e96812
/py/escher/static_site.py
4167a4e13d613001c660d421fd3fd302440979b6
[ "MIT" ]
permissive
clusterinnovationcentre/escher
53b767a0e5358100342aab350aa4d6397c41bd40
db4212226cb35fd1ca63e49929e60433353bc6d8
refs/heads/master
2021-01-19T12:15:17.772388
2016-09-14T18:21:24
2016-09-14T18:21:24
69,043,308
1
0
null
2016-09-23T16:44:07
2016-09-23T16:44:06
null
UTF-8
Python
false
false
2,663
py
from __future__ import print_function, unicode_literals from escher.plots import Builder from escher.urls import get_url from escher.version import __version__ from escher.urls import top_directory, root_directory from os.path import join, dirname, realpath from jinja2 import Environment, PackageLoader import shutil ...
[ "zaking17@gmail.com" ]
zaking17@gmail.com
e2e46aec0376fcdbcaa39b666abb78b1c447c79e
116a4a2fcd3e9c3d216f96103006c707daa6001a
/HelloDjango/apps/awards/__init__.py
9cbbbf85efbf866e2a69aa1f549ed4c7c701344b
[]
no_license
Eldar1988/a_white_birds
22d743ed1fa651062f070c0e81b7ac665be7a72a
0430d5322b3a55b6f55e9541675d6670f5d8a518
refs/heads/master
2022-12-18T20:23:26.293059
2020-09-15T04:27:59
2020-09-15T04:27:59
283,169,602
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
# default_app_config = 'apps.awards.app.AwardsAppConfig'
[ "elfarych@gmail.com" ]
elfarych@gmail.com
91ada56a8de2120490cdfea95028b3a323a3ccec
5f86944bdf1b810a84c63adc6ed01bbb48d2c59a
/kubernetes/client/models/v1_endpoints.py
09876472e90030b902b980502a694c788125d712
[ "Apache-2.0" ]
permissive
m4ttshaw/client-python
384c721ba57b7ccc824d5eca25834d0288b211e2
4eac56a8b65d56eb23d738ceb90d3afb6dbd96c1
refs/heads/master
2021-01-13T06:05:51.564765
2017-06-21T08:31:03
2017-06-21T08:31:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,097
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.6.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
[ "mehdy@google.com" ]
mehdy@google.com
8546ebd8b135b63f7bb7d860baa493f7f5f385a1
15023745402e98c0a7bcc2fcc8cb8ea01a10139f
/Homework/venv/bin/pip3
07316c758d9ed7a1465f67e39ff8b99960bfa92f
[]
no_license
GarrettMatthews/CS_2300
7633cea579e358e0fceda70681e3a3b6b1f61a32
e47c5b8ff3c8d79d721b334354ca605f748cff29
refs/heads/master
2020-12-14T14:49:16.771918
2020-01-30T23:19:43
2020-01-30T23:19:43
234,774,563
0
0
null
null
null
null
UTF-8
Python
false
false
422
#!/home/garrett/Desktop/Git_Repositories/CS_2300/Homework/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
[ "garrettemathews@gmail.com" ]
garrettemathews@gmail.com
8c497cc002f4ef01eeff79c9cdbd5164f0b56620
192874fd96861ceb1864a71bf6f13932cc017d63
/hue/tools/app_reg/common.py
7c95d79fa30c878ca0bbface55ce0ecc1f9b104d
[ "Apache-2.0" ]
permissive
OpenPOWER-BigData/HDP-hue
1de3efc0ac773f1e7b1acd03675f11b65c6f477d
23719febdaae26c916bdc9d0712645987ae7e0e4
refs/heads/master
2021-01-17T17:19:31.157051
2016-07-18T19:44:10
2016-07-18T19:44:10
63,631,863
0
1
null
null
null
null
UTF-8
Python
false
false
2,657
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...
[ "afsanjar@gmail.com" ]
afsanjar@gmail.com
bfef24a076e66dd7c4f8a3fff2a9944ce352f75b
e609a2e68426edc025e196fc87474d8b0c154286
/triage/model_results_generators.py
0fc4e27041fd8f5a5fb6570191e5f6bfab6f46fd
[ "MIT" ]
permissive
pvdb2178/triage
0119db238a6ee6529ec9cdcdb9e6111b8d6d12fa
1fea55cea3165d4f8af0ae49fa225ea0366484be
refs/heads/master
2021-01-25T06:55:22.826502
2017-06-05T16:54:37
2017-06-05T16:54:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
class ModelResultsGenerator(object): def __init__(self, trained_model_path, model_ids): self.trained_model_path = trained_model_path self.model_ids = model_ids def generate(self): """TODO: for each trained model, create metrics and write to Tyra-compatible database""" pa...
[ "tristan.h.crockett@gmail.com" ]
tristan.h.crockett@gmail.com
853170d6ebcfcfa63ebccf1d5e418b943b3e0df1
ee8577b0d70ae783e42032fdf38bd4ec6c210ccf
/barddo/notifications/admin.py
5613ee702d99c99878bd3027f539e47e8511d172
[]
no_license
bruno-ortiz/barddo
9192cfd5aff9ca0f296f476877b468919bdc5636
4f7aa41fd0697af61539efd1aba2062addb63009
refs/heads/master
2023-05-19T11:15:05.251642
2014-09-21T18:36:44
2014-09-21T18:36:44
374,435,120
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
# -*- coding: utf-8 -*- from django.contrib import admin from .models import Notification class NotificationAdmin(admin.ModelAdmin): list_display = ('recipient', 'actor', 'target', 'unread') list_filter = ('unread', 'timestamp', ) admin.site.register(Notification, NotificationAdmin)
[ "devnull@localhost" ]
devnull@localhost
0e18c5faf91f310952478e4fef2f0be98535c706
d7069bc46ab265f5787055a771886aba9af7949d
/zabbix/files/iops/check_io.py
22fd768a93489b59d7c93c200ea91bf495e4b003
[]
no_license
lizhenfen/work
a82951abee20dc3b7f998ec880ca8323cb71c5f6
abf0f558a6a3a36931ea7bd95255db100b6d249f
refs/heads/master
2021-01-12T05:34:39.677154
2017-03-21T09:28:02
2017-03-21T09:28:02
77,131,224
0
0
null
null
null
null
UTF-8
Python
false
false
2,020
py
#!/usr/bin/env python #-*- coding: utf8 -*- import json import sys PY2 = sys.version_info[0] == 2 def getDEVInfo(): res = {} data = [] with open('/proc/mounts') as fp: for line in fp: dev_dict = {} if '/boot' in line: continue if line.startswith('/dev'): ...
[ "743564797@qq.com" ]
743564797@qq.com