blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
60498b2a36b3b029e68117c353e9d62505294008
9dab41a71bf19a9ad17ee3e9f77c0f58aebd1d6d
/python/uline/uline/uline/handlers/app/official/operations/form.py
54954fb7a2dabc703be3fa1e80e3641216ebec7a
[]
no_license
apollowesley/Demo
f0ef8ec6c4ceb0aec76771da8dd9a62fb579eac8
471c4af95d3a7222d6933afc571a8e52e8fe4aee
refs/heads/master
2021-02-15T04:01:51.590697
2018-01-29T01:44:29
2018-01-29T01:44:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from wtforms import validators, fields from uline.utils.form import BaseForm class MessageSendSearch(BaseForm): create_at = fields.DateTimeField(validators=[validators.Optional()]) message_content = fields.StringField(validators=[validators.Optional()]) sende...
[ "36821277@qq.com" ]
36821277@qq.com
87fcbdd19d932c6379de0cd46fd9d4a1f81b1b85
47ce68e1ff970318fd31ac43405d0e1fa3594bf6
/Models/Autoencoders/TransposeConvAutoencoderDeepExtraLLR.py
281d1a5861b11b1efe478d6108fd1c7b3310b5eb
[ "BSD-3-Clause" ]
permissive
Midoriii/Anomaly_Detection_Diploma
7196da379f8aefbd4546ca23e8303d1829e059fb
11145e3e5210a4e45a33d98b138213edb7bc5d3d
refs/heads/master
2023-03-25T20:42:56.961210
2021-03-14T01:13:39
2021-03-14T01:13:39
261,205,472
0
0
null
null
null
null
UTF-8
Python
false
false
3,910
py
''' Copyright (c) 2021, Štěpán Beneš Convolutional Autoencoder with learnable Conv2DTranspose layers, especially deep, the encoding is really small With even further decreased learning rate ''' import numpy as np from Models.Autoencoders.BaseModel import BaseModel from keras.layers import Input, Reshape, Dense, Flat...
[ "stephen.Team24@gmail.com" ]
stephen.Team24@gmail.com
3878130f0f9cf98c52c5c9089cbe81841cf7040e
20149c63930ebb2a950e45a7fafa12a17712695c
/ImageProcessing/camera.py
914751cb174bbbf7236d7c86bdf4630599682c6b
[]
no_license
junyi1997/Final_OIT_projet
ffe7f1a1c61f8124ab72d5250e30c1e2cc49c1ab
98fc039378021c6db259dbe79d7980750aa91710
refs/heads/master
2023-01-03T05:24:31.133416
2020-11-01T14:12:15
2020-11-01T14:12:15
201,788,832
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
import picamera initialized = False class Camera: camera = None def __init__(self): self.camera = picamera.PiCamera() def takePhoto(self, filepath): """ Takes a photo and saves it to the /img directory. """ self.camera.capture(filepath) def getPiCamera(self): return self.camera
[ "q5896799@gmail.com" ]
q5896799@gmail.com
44da06eb51574b41af6813f5e6252a5a2750e648
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03767/s866081759.py
cf66b2ce220f7faa16d298b3290bd992eb740c88
[]
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
187
py
import collections n = int(input()) *a, = map(int, input().split()) a.sort() a = collections.deque(a) ans = 0 while n: a.popleft() a.pop() ans += a.pop() n -= 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fd2299064cdb5b26bd595348ca1902f794c5e968
66c68ab7a6b62c4a94ddf4cdda64dc7f2181f6f7
/samples/crater/crater.py
4c20dc702a93465e1b15bd734aff41608960e0f7
[ "MIT" ]
permissive
ZhiangChen/Mask_RCNN
bfaeebbc32bdd2eef40f77ffe385437c6d9e60e0
040611909c140a98ab09ae09b511ce2a47b5f195
refs/heads/master
2020-03-27T10:04:52.300122
2019-02-25T00:42:17
2019-02-25T00:42:17
146,393,525
1
0
null
2018-08-28T04:51:42
2018-08-28T04:51:42
null
UTF-8
Python
false
false
4,235
py
""" classes for lunar crater dataset Zhiang Chen Sep 13, 2018 zch@asu.edu """ import os import sys import numpy as np import skimage.draw import pickle import argparse import matplotlib.pyplot as plt from mrcnn import visualize from mrcnn.config import Config from mrcnn import model as modellib, utils ROOT_DIR = os....
[ "zxc251@case.edu" ]
zxc251@case.edu
1c839c157f06ac377b799639d8ae03cc25682b58
4235ae775f1061217504ea027ef32b533e8dea34
/0x04-pagination/0-simple_helper_function.py
83390a8b4302c52fe4e99a7266d5e60bc08eb3e8
[]
no_license
Leidysalda/holbertonschool-web_back_end
892cda3361a5fc18693f645b5b8f058087f6b9fd
0b8bd14fa018d9480fd31cf300dad2a3ccd439d0
refs/heads/master
2023-08-23T18:19:17.226745
2021-10-18T05:26:30
2021-10-18T05:26:30
387,662,848
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
#!/usr/bin/env python3 """Simple helper function """ def index_range(page: int, page_size: int) -> tuple: """Index range""" return (page - 1) * page_size, page * page_size
[ "leidysalda1@gmail.com" ]
leidysalda1@gmail.com
43ae88a0b1629e2e7b1ee73877ac8e03e6ad97a0
107ebb6d25812d12718d3f0731770318fb0eb2d2
/study_code/Day_15/15展示表格Tree.py
d67b5c4e5773f4cf666b250e592e4924b4ca87ae
[]
no_license
taoranzhishang/Python_codes_for_learning
0c5fa25a5da80e5cbca8cf0b9b3703d488e1af6f
23d12b8c7524f3672ff3baed94dbfed04df821b5
refs/heads/master
2023-03-09T12:16:02.749807
2021-02-26T13:04:08
2021-02-26T13:04:08
315,070,954
1
0
null
null
null
null
UTF-8
Python
false
false
661
py
import tkinter from tkinter import ttk win = tkinter.Tk() tree = ttk.Treeview(win) # 显示表格或树 tree["columns"] = ("Name", "Age", "Height") tree.column("Name", width=100) # 表示列,不显示 tree.column("Age", width=100) tree.column("Height", width=100) tree.heading("Name", text="姓名") # 表头 tree.heading("Age", text="年龄") tree....
[ "taoranzhishang@hotmail.com" ]
taoranzhishang@hotmail.com
31b99f77c0ae6772cfdef2260dad07ec24ebc40a
e77a7cc1ed343a85662f0ad3c448a350ab776261
/data_structures/array/dutch_flag_problem.py
f898486c9edeca6b8bfaf519c0fddcb52c4d54b5
[ "MIT" ]
permissive
M4cs/python-ds
9dcecab10291be6a274130c42450319dc112ac46
434c127ea4c49eb8d6bf65c71ff6ee10361d994e
refs/heads/master
2020-08-10T03:40:22.340529
2019-10-10T17:52:28
2019-10-10T17:52:28
214,247,733
2
0
MIT
2019-10-10T17:43:31
2019-10-10T17:43:30
null
UTF-8
Python
false
false
446
py
def dutch(arr): low = 0 mid = 0 high = len(arr) - 1 while mid <= high: if arr[mid] == 0: arr[low], arr[mid] = arr[mid], arr[low] low += 1 mid += 1 elif arr[mid] == 1: mid += 1 else: arr[mid], arr[high] = arr[high], arr[m...
[ "prabhupant09@gmail.com" ]
prabhupant09@gmail.com
905bd2fa91b8f2f596253a2ea0da0afae3162704
73c5bc071e496b67677c55dfb9cd8621eac1f34e
/probabilistic_utils/gmm_utils.py
2887862615fb3b85f7da7651fe0e1736afc1d27f
[]
no_license
salt-fly/unsup_temp_embed
55324ffba7b2858ff3c255f2a984d0253ea23dfb
be7fa1fdfb4466673e3d6953924194cdead281a5
refs/heads/master
2020-05-30T19:33:51.311017
2019-04-29T18:07:33
2019-04-29T18:07:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,763
py
#!/usr/bin/env python """ """ __author__ = 'Anna Kukleva' __date__ = 'September 2018' import numpy as np from utils.arg_pars import opt from utils.logging_setup import logger class AuxiliaryGMM: def __init__(self): self.means_ = [0] self.covariances_ = [0] def score_samples(self, features...
[ "kuklevaanna@gmail.com" ]
kuklevaanna@gmail.com
a8dc4dd41c5abc7755f49846ffa67574433c31ea
2f2e9cd97d65751757ae0a92e8bb882f3cbc5b5b
/287.寻找重复数.py
e810ef03eb114a003fdd86c50269732634088bba
[]
no_license
mqinbin/python_leetcode
77f0a75eb29f8d2f9a789958e0120a7df4d0d0d3
73e0c81867f38fdf4051d8f58d0d3dc245be081e
refs/heads/main
2023-03-10T18:27:36.421262
2021-02-25T07:24:10
2021-02-25T07:24:10
314,410,703
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
# # @lc app=leetcode.cn id=287 lang=python3 # # [287] 寻找重复数 # # @lc code=start class Solution: # def findDuplicate(self, nums: List[int]) -> int: def findDuplicate(self, nums: List[int]) -> int: '''快慢指针''' slow = fast = 0 while True: slow = nums[slow] fast = nu...
[ "mqinbin@gmail.com" ]
mqinbin@gmail.com
5970e87ee2061596cca1ae837cf3d8a58cc9226c
ea637e5e28056d0a332a7892bd241aa6a154e57a
/recyclescrollview.py
c3528005902e474677d732e97bfd75ece4cf01c5
[ "MIT" ]
permissive
JesusZerpa/kivy-recyclescrollview
85c4511569ce65e0cecf102238dd36858a6aa92c
50016c313216833b583066ec0a9ed7e5b271da01
refs/heads/master
2022-04-20T21:52:22.862800
2020-04-21T00:54:28
2020-04-21T00:54:28
257,435,919
0
0
null
null
null
null
UTF-8
Python
false
false
2,534
py
from kivy.factory import Factory from kivy.properties import * from kivy.uix.floatlayout import FloatLayout from kivy.uix.boxlayout import BoxLayout class RecycleScrollView(Factory.ScrollView): viewclass=StringProperty("") data=ListProperty([]) #box orientation= 'vertical' default_height= 1000 cursor=0 max_it...
[ "jesus26abraham1996@gmail.com" ]
jesus26abraham1996@gmail.com
15b938d4100f7d789627cdd8c18f844a41b98930
836312e7ced2d5c5ed43d0e3ad34f2144cf9064e
/APIs/5_SecuringYourApi/models.py
9f1b833e0b49a78a074f3a8471d669f318a8cb51
[]
no_license
muhammad-mamdouh/udacity-fullstack-tools
4342cdca75d88184a095d69b9484a4e50c87f905
a881845042f3706b5e37ea72df645859541c73ab
refs/heads/master
2022-12-15T23:33:20.813201
2019-07-11T21:05:53
2019-07-11T21:05:53
187,712,425
1
0
null
2022-12-08T05:51:53
2019-05-20T20:58:42
Python
UTF-8
Python
false
false
715
py
from sqlalchemy import Column, Integer, String, create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, sessionmaker from passlib.apps import custom_app_context as pwd_context Base = declarative_base() class User(Base): __tablename__ = 'user' id = Column...
[ "mahammad.mamdouh@gmail.com" ]
mahammad.mamdouh@gmail.com
a95cff2d9d860046fa74ac94747beb54443c7426
632099ac0d895943cbbeb9048a2cdfcd21102411
/LPD8/__init__.py
854fab1bea8584f563056348a8c3ca56979773b0
[]
no_license
Toniigor/AbletonLive9_RemoteScripts
7f4bbf759a79629584413f6d1797005e8cd7f2ff
fed1e5ee61ea12ea6360107a65a6e666364353ff
refs/heads/master
2021-01-16T21:19:25.330221
2014-06-06T12:33:03
2014-06-06T12:33:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
#Embedded file name: /Users/versonator/Jenkins/live/Projects/AppLive/Resources/MIDI Remote Scripts/LPD8/__init__.py from _Generic.GenericScript import GenericScript import Live from config import * def create_instance(c_instance): """ The generic script can be customised by using parameters (see config.py). """ ...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
2a3e7dcabd45c50afa9aaec3c28922e67f7594b5
caceb60f71165772b6d6155f619e79189e7c80a9
/第一期/成都-MFC/task002/selflearn/advance02decorator/decorator/demo0.py
bcaf2abdb66537909eedbbbbfd2e83322255515b
[ "Apache-2.0" ]
permissive
beidou9313/deeptest
ff41999bb3eb5081cdc8d7523587d7bc11be5fea
e046cdd35bd63e9430416ea6954b1aaef4bc50d5
refs/heads/master
2021-04-26T23:06:08.890071
2019-04-03T02:18:44
2019-04-03T02:18:44
123,931,080
0
0
Apache-2.0
2018-03-05T14:25:54
2018-03-05T14:25:53
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'MFC' __time__ = '18/1/24 15:14' """ 01.python高级1 02.python高级2-生成器、闭包、装饰器 05-装饰器 01 """ # example 1 def foo(): print('foo') foo # 表示是函数 foo() # 表示执行foo函数 # example 2 def foo(): print('foo') foo = lambda x: x + 1 # foo指向另一个函数 r = foo(...
[ "moneyfromcat@foxmail.com" ]
moneyfromcat@foxmail.com
cde54a09147bedf311abc8e1fe4d88900bc757e9
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/scipy/optimize/tests/test_linprog.py
a245d4719d083c4e3e039a7d01fc03a1e56ecc28
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:f8b63b53bd829fbc07a8138950ebbc2e32d2b860e947b44b004584abe4170b6a size 69667
[ "business030301@gmail.com" ]
business030301@gmail.com
a06fc5c4de927107934a98e2926e54b640c22983
478de38a95c2729ee2ef8c77b1c5a81f23aedb59
/Programming-Algorithm/Palindrome Partitioning.py
a1578e415d692bf6775851f2802cd87fc34a869b
[]
no_license
shuzhancnjx/leetcode-
0c711f720ef653ddff2af3af697a453122c28403
12093c92ef33707ad8ccdd59ad040c04cad1ee3b
refs/heads/master
2020-12-24T16:32:25.976747
2016-03-03T15:36:44
2016-03-03T15:36:44
37,101,621
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 16 14:08:57 2015 @author: ZSHU """ ''' 1. the basic idea is to have a list 'temp' formed by each letter in the string, i.e., list(s) 2. combine the components of 'temp' when they are palindrome 3. 'pos' is used to record the center for determing the palindrome ''' clas...
[ "zshu@ets.org" ]
zshu@ets.org
848614b9568aff2a658d60b2321afcea163f00e3
2d647ce5b0acf255b0713304acdb0f0c193df8fc
/doc/conf.py
d526459dffd408e28854f7bbfcccf8efeec1311c
[ "CC-BY-NC-4.0", "MIT" ]
permissive
tonybaloney/pycharm-security
a1ed540f47a0af4cd659c72643f63f800df01702
5c1ceeb1fb2a18478fa7076a81f9f47fd450e592
refs/heads/master
2023-08-17T20:09:22.924182
2023-08-16T02:12:57
2023-08-16T02:12:57
231,985,043
341
27
MIT
2023-09-14T19:03:27
2020-01-05T22:35:55
Kotlin
UTF-8
Python
false
false
2,438
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Project information ----------------------------------------------------- project...
[ "anthony.p.shaw@gmail.com" ]
anthony.p.shaw@gmail.com
8247ddf7a63ae3cc954fc819bd2bfa9d3ed5c402
a46fc5187245f7ac79758ae475d4d865e24f482b
/33_search_in_rotated_array/search_in_rotated.py
18c24c01cea4ab774ce6a9b99cb74a3bf1bf59d2
[]
no_license
narnat/leetcode
ae31f9321ac9a087244dddd64706780ea57ded91
20a48021be5e5348d681e910c843e734df98b596
refs/heads/master
2022-12-08T00:58:12.547227
2020-08-26T21:04:53
2020-08-26T21:04:53
257,167,879
0
2
null
null
null
null
UTF-8
Python
false
false
861
py
#!/usr/bin/env python3 from typing import List class Solution: def search(self, nums: List[int], target: int) -> int: left = 0 right = len(nums) - 1 if not nums: return -1 while left < right: mid = left + (right - left) // 2 if nums[mid] > nums[...
[ "farruh1996@gmail.com" ]
farruh1996@gmail.com
68ca9762fd012943155b4e292cef1c5cbd9fa5f5
6649efd4a95645938221eca58404db5663cd2491
/official/vision/dataloaders/tf_example_label_map_decoder_test.py
3ff9a8b3c14c70ea2289e9cf6783a02f93db5b72
[ "Apache-2.0" ]
permissive
Dithn/models
8447866855959946358f2e5160b7d31aaafcfc98
36a140b8765eaa07525ac42a00cbd01a8b03b98e
refs/heads/master
2023-09-01T07:41:28.596877
2022-03-16T18:12:00
2022-03-16T18:13:23
228,201,096
1
0
Apache-2.0
2021-09-23T21:19:16
2019-12-15T14:52:24
Python
UTF-8
Python
false
false
7,746
py
# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
d0421b44a25e1116f523a219dbfed2dc534f5518
f5485d955fa942711f337286a86f05374ea58a72
/migrations/versions/cbe0f844650d_.py
95626d4f1467e756a549807f7e637093f64f7ef7
[]
no_license
bingfengjiyu/flask_demo
f6245d7e8696b3bc492ed3f922948bd01319be30
3feef9fcee6e3c8f8fae46fb0fb5f5a8bdb82f4d
refs/heads/master
2020-03-24T11:04:03.012486
2018-07-28T12:16:01
2018-07-28T12:16:01
142,674,753
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
"""empty message Revision ID: cbe0f844650d Revises: Create Date: 2018-07-07 12:10:18.303153 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'cbe0f844650d' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
7ae7198fa354aec4c1775a03d319da0d45d323ea
0f07107b016d2aee64788966b9f0d322ac46b998
/moya/testprojects/scratch/blog/py/test.py
2b109b36a4486a66034ed4b3c5ad99d295a37b25
[ "MIT" ]
permissive
fkztw/moya
35f48cdc5d5723b04c671947099b0b1af1c7cc7a
78b91d87b4519f91dfdd2b40dab44e72f201a843
refs/heads/master
2023-08-09T09:20:21.968908
2019-02-03T18:18:54
2019-02-03T18:18:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
from __future__ import print_function import moya @moya.expose.macro("test") def test(): print("Success! :-)") return 10
[ "willmcgugan@gmail.com" ]
willmcgugan@gmail.com
c49f884ff1e502534a0cbabe7633c2134b201d34
b391498124fdcaef989bf3ebafffb0df43e3e07f
/pygccxml-0.8.2/unittests/declarations_cache_tester.py
10112018fdfee5e022b785ec191dc8df82e502cb
[ "BSL-1.0" ]
permissive
glehmann/WrapITK-unstable
9a0dd9d387ecd59c9439465dcc32cca552e14576
402fc668f1f3c3dd57d0751a61efa3b1625d238b
refs/heads/master
2021-01-10T22:02:04.715926
2008-05-25T16:53:07
2008-05-25T16:53:07
3,272,767
0
0
null
null
null
null
UTF-8
Python
false
false
6,319
py
# Copyright 2004 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) import os, sys, unittest, os.path import autoconfig import pygccxml.parser from pygccxml.parser.config import config_t from...
[ "gaetan.lehmann@jouy.inra.fr" ]
gaetan.lehmann@jouy.inra.fr
25be6302bd9150151560453a17906af226789f01
904b0d81152649ccd3349f94f88e7b89a7b5c76a
/scripts/main/xicombNS_DA02.py
e2f17c6818b725c4127a2e6be411fb79ee8c98bd
[ "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
1,710
py
#!/usr/bin/env python # coding: utf-8 import os import argparse import logging import numpy as np from astropy.table import Table, vstack from matplotlib import pyplot as plt from pycorr import TwoPointCorrelationFunction, TwoPointEstimator, KMeansSubsampler, utils, setup_logging njack = '60' trs = ['ELG_LOPnotqso'...
[ "ashley.jacob.ross@gmail.com" ]
ashley.jacob.ross@gmail.com
c15d4b3566815e61f9fc93ba6b974c34f358c170
e2ad93398194942c13c27b25aa868eda4ff4f46c
/sponsortracker/download.py
987305d12d281d57363d875f7b84883ec45f917e
[]
no_license
Auzzy/bfig-sponsor-tracker
ab2fbcf6ba562f977263b5f91c3aca756e037302
cff466de6797ea276130335bdc368c706eed583d
refs/heads/master
2023-06-01T04:41:26.082120
2023-05-11T11:52:11
2023-05-11T11:52:11
25,780,177
0
0
null
2023-05-11T11:52:12
2014-10-26T16:14:46
Python
UTF-8
Python
false
false
2,989
py
import collections import os import shutil import tempfile from enum import Enum from os.path import exists, expanduser, join, splitext from sqlalchemy import or_ from sponsortracker import model, uploads from sponsortracker.data import AssetType, Level ZIPNAME = "sponsortracker-assets" def all(level=None): re...
[ "metalnut4@netscape.net" ]
metalnut4@netscape.net
11d173e2e009317f099e646a9d101c71ae82a9b9
519b4cf7623c40e0280c435246b6cde46853ecc1
/project/holviapp/utils.py
d731848e8107fe128a56275bbd33d4b1a41ef18a
[ "MIT" ]
permissive
HelsinkiHacklab/asylum
a3fe492f76145c922125949c41acce6e8d4beec4
6fcf71fb5c7bb894322039144e814b9edc07d5bb
refs/heads/hhl_changes
2023-02-16T18:54:17.277017
2021-08-13T17:59:46
2021-09-13T17:45:45
47,038,401
1
1
MIT
2023-02-03T13:22:48
2015-11-28T20:28:58
Python
UTF-8
Python
false
false
2,574
py
# -*- coding: utf-8 -*- import holviapi import holvirc from django.conf import settings CONNECTION_SINGLETON = None def apikey_configured(): """Check if we have apikey""" return bool(settings.HOLVI_POOL) and bool(settings.HOLVI_APIKEY) def userauth_configured(): """Check if we have username/password"""...
[ "eero.afheurlin@iki.fi" ]
eero.afheurlin@iki.fi
fe8087783d56301fddb861866779ab604a5e83f6
4e5cdffa14c8404d836dc9f034cbbf34a86c7503
/src/api/urls.py
9113ef4c4d5780858faf92eee0a13749d97d0775
[]
no_license
gtdata/publish_data_alpha
da1cf013a5b2c7290d0af7a48d43adc90e301f3f
f1a9753daac7fbe8cc5bed5f30b8601c781449ab
refs/heads/master
2021-01-20T03:03:36.303264
2017-04-18T11:49:29
2017-04-18T11:49:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
from django.conf.urls import url, include from rest_framework import routers import api.views as v import api.api_def as a urlpatterns = [ url(r'locations$', v.gazeteer_lookup, name='gazeteer_lookup'), url(r'^datasets$', v.dataset_lookup, name='dataset_lookup'), url(r'^status', v.StatusEndpoint.as_view()...
[ "ross@servercode.co.uk" ]
ross@servercode.co.uk
ed33a50324b7e3a5eecebca1a2b58fcd87538545
97fde6e1ee2c63d4359a005a8a17db87559dd3eb
/api/models.py
44c72a280c9cf023ae7be9d686aecd138860d6d2
[]
no_license
Bibin22/Book_project
6f6d0cce452e0298d16676425eeb2f77e915c3e5
9884363927e6b3b559d43a6ead584f1741b54370
refs/heads/master
2023-03-31T21:36:02.594431
2021-03-24T07:15:46
2021-03-24T07:15:46
350,402,169
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from django.db import models # Create your models here. class Book(models.Model): book_name = models.CharField(max_length=120, unique=100) price = models.IntegerField() pages = models.IntegerField() author = models.CharField(max_length=100) def __str__(self): return self.book_name
[ "bibinjoy82@gmail.com" ]
bibinjoy82@gmail.com
4d64347ffa03e103de068e66bc946d0999ccfce2
436051d199fcc323a422b7fea377f43c01004366
/helpers/labml_helpers/metrics/simple_state.py
2a6575141ce8871da42ebc4cbb7b596e62453fdb
[ "MIT" ]
permissive
xet7/labml
29d411b94f1d6b9ff03c6033f510cea443d38248
7f3918ca7de8cb21cf6dcc9d127a6ea64c0aebb9
refs/heads/master
2023-08-18T10:03:13.142430
2021-07-18T11:11:42
2021-07-18T11:11:42
387,184,226
0
0
MIT
2023-08-11T20:01:39
2021-07-18T13:36:49
null
UTF-8
Python
false
false
813
py
from typing import Generic, TypeVar, Optional from . import StateModule T = TypeVar('T') class SimpleState(Generic[T]): state: Optional[T] def __init__(self): self.state = None def get(self) -> T: return self.state def set(self, data: T): self.state = data def reset(s...
[ "vpjayasiri@gmail.com" ]
vpjayasiri@gmail.com
91a64805557e29b680b1300121cddd217db78eef
e42a61b7be7ec3412e5cea0ffe9f6e9f34d4bf8d
/a10sdk/core/aam/aam_authentication_portal_logon_fail.py
60ee400259987e360a04045658049f18c4e87e9f
[ "Apache-2.0" ]
permissive
amwelch/a10sdk-python
4179565afdc76cdec3601c2715a79479b3225aef
3e6d88c65bd1a2bf63917d14be58d782e06814e6
refs/heads/master
2021-01-20T23:17:07.270210
2015-08-13T17:53:23
2015-08-13T17:53:23
40,673,499
0
0
null
2015-08-13T17:51:35
2015-08-13T17:51:34
null
UTF-8
Python
false
false
8,059
py
from a10sdk.common.A10BaseClass import A10BaseClass class FailMsgCfg(A10BaseClass): """This class does not support CRUD Operations please use parent. :param fail_font_custom: {"description": "Specify custom font", "format": "string-rlx", "minLength": 1, "maxLength": 63, "not": "fail-face", "type": "stri...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
defd147ec57f50888e2a862cc79b2e4e99453437
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/cloud/listenerruleref.py
6093233a61cc528637a150a4cfdf201bb235a56f
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
5,791
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
b68d2743352106871caf8d9b6a7eae7a0237fab5
3a4f14d6638bc0c12c129ed73c6c3543437203df
/src/morphforge/simulation/__init__.py
816c765420d8ed4ec98702b232f684d5e0c03a28
[ "BSD-2-Clause" ]
permissive
unidesigner/morphforge
ef04ccb3877f069a0feea72eb1b44c97930dac44
510cd86549b2c2fb19296da2d4408ed8091fb962
refs/heads/master
2021-01-15T22:34:28.795355
2012-04-05T08:55:12
2012-04-05T08:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
#------------------------------------------------------------------------------- # Copyright (c) 2012 Michael Hull. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # - Redistributions of sourc...
[ "mikehulluk@googlemail.com" ]
mikehulluk@googlemail.com
ab59227df732b23f0241889547035615c3d2a258
a1bffcd8854e1843e56bb812d4d83b3161a5211e
/plugins/connection/saltstack.py
6b77c982a43b9377025aa7831e6c44e954316633
[]
no_license
goneri/ansible.community
1a71f9d98c164b77f8ed2ed7f558b4963005ff8f
f26f612dd0a3154050d90b51a75502018c95f6e4
refs/heads/master
2020-12-29T07:47:35.353515
2020-01-22T17:43:18
2020-01-22T17:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,800
py
# Based on local.py (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Based on chroot.py (c) 2013, Maykel Moya <mmoya@speedyrails.com> # Based on func.py # (c) 2014, Michael Scherer <misc@zarb.org> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
be843d33ee176ec0d6827fefd01fdd6a15847466
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03282/s286249227.py
f28b18ffa16239f136d180ee675975bd01b56411
[]
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
191
py
import sys input = sys.stdin.readline S = list(input().rstrip('\n')) K = int(input()) n = 1 for i in range(min(len(S), K)): if S[i] != '1': n = int(S[i]) break print(n)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
eea07dff9a04a5582761f119169aec890ef58c11
aba1d17ddc7d7ad9f49e2d6d87600e9e0387ba14
/mi/dataset/driver/sio_eng/sio/sio_eng_sio_recovered_driver.py
d84a95f50b651d68787a6e469c0b57ced9a03727
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
oceanobservatories/mi-instrument
3ad880c1366b1a8461fc9085768df0e9ddeb6ef5
bdbf01f5614e7188ce19596704794466e5683b30
refs/heads/master
2023-07-23T07:28:36.091223
2023-07-14T15:54:49
2023-07-14T15:54:49
24,165,325
1
32
BSD-2-Clause
2023-07-13T01:39:22
2014-09-17T22:53:22
Python
UTF-8
Python
false
false
1,673
py
#!/usr/bin/env python """ @package mi.dataset.driver.sio_eng/sio @file mi/dataset/driver/sio_eng/sio/sio_eng_sio_recovered_driver.py @author Jeff Roy @brief Driver for the sio_eng_sio instrument Release notes: Initial Release """ from mi.dataset.dataset_parser import DataSetDriverConfigKeys from mi.dataset.dataset_...
[ "petercable@gmail.com" ]
petercable@gmail.com
503df77b7e73dde22d4eea8e86d995e4f9983cbb
798960eb97cd1d46a2837f81fb69d123c05f1164
/symphony/cli/pyinventory/graphql/mutation/edit_service_type.py
8b288246df912b964320536842d70b2deedf041e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
kyaaqba/magma
36d5fa00ce4f827e6ca5ebd82d97a3d36e5f5b5b
fdb7be22a2076f9a9b158c9670a9af6cad68b85f
refs/heads/master
2023-01-27T12:04:52.393286
2020-08-20T20:23:50
2020-08-20T20:23:50
289,102,268
0
0
NOASSERTION
2020-08-20T20:18:42
2020-08-20T20:18:41
null
UTF-8
Python
false
false
2,154
py
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from dataclasses import dataclass from datetime import datetime from gql.gql.datetime_utils import DATETIME_FIELD from gql.gql.graphql_client import GraphqlClient from gql.gql.client import OperationException from gql.gql.reporter import FailedOper...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
ada65d289c521001d259f3753dd35f98479c82ff
1a04e02811c844ecf53cc041b104667e5c987a09
/vgrabber/qtgui/tabs/items/finalexam.py
75cd24590829f15938344be4414a71f826fdba8e
[]
no_license
janjanech/vzdelavanieGui
dff17add6e6946063597d4c1eba5d6d76b6f5374
b2015f41f7cb1be1ecccf1c4778a91f43f8fba12
refs/heads/master
2021-10-24T16:21:24.911817
2019-01-15T17:03:49
2019-01-15T17:03:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from PyQt5.QtWidgets import QTreeWidgetItem class FinalExamItem(QTreeWidgetItem): def __init__(self, data, final_exam): super().__init__(data) self.final_exam = final_exam
[ "janik@janik.ws" ]
janik@janik.ws
0484b2199fc895b1ac5faa6eeb44803cd770356e
c9c762a08c031bafa1e577733c6af53a7a1b142f
/Project4Proj/Project4App/admin.py
a33a7882886d7d816c15cd8b34a9aed7dc315c9f
[]
no_license
Joshtg1104/Project4-Django-VideoApp
aed635d493125f42482b6f8e2424bec2e93da848
46efc176762a2fcb76e743672d3eb9b62f7808b6
refs/heads/master
2020-05-29T09:25:13.002571
2019-06-12T18:58:27
2019-06-12T18:58:27
189,061,630
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
from django.contrib import admin from .models import Video, AccountModel, CommentModel # Register your models here. admin.site.register(AccountModel) admin.site.register(Video) admin.site.register(CommentModel)
[ "joshtg1104@gmail.com" ]
joshtg1104@gmail.com
38f27425bfd3df62fce464d36f7d3ee1f274e55e
912b0c6274e9c5c0956c4d1d1178f2b68fcf4296
/suod/test/test_base.py
2a5676b05176b356328d547265bcc359ee0aa19d
[ "BSD-2-Clause" ]
permissive
DreamtaleCore/SUOD
04f238f48625a3a3e182b19c2af65612954453b2
353aeaf8d5e5c338f94686e73a8a0fec88670700
refs/heads/master
2022-10-30T04:44:17.617986
2020-06-15T21:07:26
2020-06-15T21:07:26
292,205,263
1
0
BSD-2-Clause
2020-09-02T07:01:50
2020-09-02T07:01:49
null
UTF-8
Python
false
false
3,239
py
# -*- coding: utf-8 -*- import os import sys import unittest import numpy as np # temporary solution for relative imports in case pyod is not installed # if suod # is installed, no need to use the following line sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from suod.models.base im...
[ "yzhao062@gmail.com" ]
yzhao062@gmail.com
6149f8fede99ffcba481a3bb2377ebd72da708a4
b697f5d8e441328c2deee1bb5853d80710ae9873
/944.删列造序.py
d10994932e2f8dd4be69c43b93c603bca7107745
[]
no_license
happy-luck/LeetCode-python
d06b0f6cf7bad4754e96e6a160e3a8fc495c0f95
63fc5a1f6e903a901ba799e77a2ee9df2b05543a
refs/heads/master
2021-03-22T16:12:52.097329
2020-07-15T13:48:37
2020-07-15T13:48:37
247,381,313
0
0
null
2020-03-15T01:47:42
2020-03-15T01:28:38
null
UTF-8
Python
false
false
757
py
方法一: class Solution: def minDeletionSize(self, A: List[str]) -> int: D = 0 A_list = [] for string in A: res = list(string) res = [ord(i) for i in res] A_list.append(res) for j in range(len(res)): for i in range(1,len(A)): ...
[ "18813129242@163.com" ]
18813129242@163.com
c035d9f0fb7bdc18413f6216781d4e272dbf8234
208796d60bba301648b76f3fd9af20738aca3ba7
/neuclease/bin/cleave_server_debug_main.py
83d3de98a286d0b91481496060849dd94ff1df21
[ "BSD-3-Clause" ]
permissive
stuarteberg/pydvid
2afaebeb886b8034852e21668bca6709b022cf0f
ce59988cbc8043c85fe3ba878d4fa415febba2f8
refs/heads/master
2021-01-17T20:34:47.843645
2019-10-10T19:47:23
2019-10-10T19:47:23
33,325,656
0
0
null
2015-04-02T18:43:25
2015-04-02T18:43:25
null
UTF-8
Python
false
false
2,723
py
#!/usr/bin/env python3 import sys import neuclease.cleave_server def main(): _debug_mode = False ## DEBUG if len(sys.argv) == 1: _debug_mode = True import os log_dir = os.path.dirname(neuclease.__file__) + '/../logs' sys.argv += [#"--merge-table", "/magnetic/workspace/neucle...
[ "bergs@janelia.hhmi.org" ]
bergs@janelia.hhmi.org
309daa07bda7b7eb3525eaae9158ed897a52e6ba
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_209/611.py
0d8528d812df07b274136b7d9c4ebae4a50cbb69
[]
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
1,235
py
t = input() from collections import defaultdict def solve(pancakes, n, k, dp): # print "calling for {0}, {1}".format(n, k) if ((n, k)) in dp: # print 'returning {0} for {1}, {2}'.format(dp[(n, k)], n, k) return dp[(n, k)] if n == 0: # print 'returning {0} for {1}, {2}'.format(0, n, k) return 0 if k < 0: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
cda7cfa1c3424a8cf95d97f5dc12e578a7e2e2a3
72d010d00355fc977a291c29eb18aeb385b8a9b0
/BeatStep/__init__.py
49897318ae58c967be09a28d7820359edcc8d56d
[]
no_license
maratbakirov/AbletonLive10_MIDIRemoteScripts
bf0749c5c4cce8e83b23f14f671e52752702539d
ed1174d9959b20ed05fb099f0461bbc006bfbb79
refs/heads/master
2021-06-16T19:58:34.038163
2021-05-09T11:46:46
2021-05-09T11:46:46
203,174,328
0
0
null
2019-08-19T13:04:23
2019-08-19T13:04:22
null
UTF-8
Python
false
false
761
py
# Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/BeatStep/__init__.py # Compiled at: 2018-04-23 20:27:04 from __future__ import absolute_import, print_function, unicode_literals import _Framework.Capabilities as caps from .BeatStep import BeatStep def ...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
e92d33a3da585f26e3b3a9469af88fc980b959e5
f3b233e5053e28fa95c549017bd75a30456eb50c
/p38a_input/L3FQ/3FQ-2Z_MD_NVT_rerun/set_1ns_equi_2.py
161c95b5097a3036c69d374da8142c6f04ce088a
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
import os dir = '/mnt/scratch/songlin3/run/p38a/L3FQ/MD_NVT_rerun/ti_one-step/3FQ_2Z/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_2.in' temp_pbs = filesdir + 'temp_1ns_equi_2.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] f...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
42cf064d1f9437f636bbc909d434fb6771d510ca
dd3b8bd6c9f6f1d9f207678b101eff93b032b0f0
/basis/AbletonLive10.1_MIDIRemoteScripts/Push2/browser_list.py
6c9e839bb69da206779694dbbdc57b2e2d1b4c9d
[]
no_license
jhlax/les
62955f57c33299ebfc4fca8d0482b30ee97adfe7
d865478bf02778e509e61370174a450104d20a28
refs/heads/master
2023-08-17T17:24:44.297302
2019-12-15T08:13:29
2019-12-15T08:13:29
228,120,861
3
0
null
2023-08-03T16:40:44
2019-12-15T03:02:27
Python
UTF-8
Python
false
false
3,765
py
# uncompyle6 version 3.4.1 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.16 (v2.7.16:413a49145e, Mar 2 2019, 14:32:10) # [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] # Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Push2/browse...
[ "jharrington@transcendbg.com" ]
jharrington@transcendbg.com
1fadf1c096fcdb36625f731a3599aee37afaedfa
8b321ef16f11701f66898cb5b0e186bed50aaf46
/6/3_Gems_admin_page/Gems/urls.py
0509da185d5d17d740ef0167d6c3f10070c07a5e
[]
no_license
TrellixVulnTeam/django_H5IO
6bed043acfda0e3373fe5b352805f1c11b038e2a
1ee5407e93f1bbbaeb12b90b7c5d7b96e3ba13e2
refs/heads/master
2023-03-16T05:25:59.900947
2017-04-18T08:21:47
2017-04-18T08:21:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
"""Gems URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "ostrowskyi@gmail.com" ]
ostrowskyi@gmail.com
9a1e3984821d93a2119fe1e81d2bbc7589548289
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/hcipsec/entity.py
bdce01d6f76c3216322d49e73d93fa048d3e5e28
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
6,859
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
995436ff7e70706bbea6b85818dcb895c3ff70c7
4cfbc12903651dedbc799f53a8078433196e7919
/Pre Processing/Topic 1 - Numpy/Class 1 - IntroductionProgram.py
c3b196507a0ce2566d2dcc1315350a927e618dbd
[]
no_license
gautam4941/Machine_Learning_Codes
78bf86ab3caf6ee329c88ff18d25927125627a2c
0009d12ca207a9b0431ea56decc293588eb447b1
refs/heads/main
2023-02-06T18:05:44.154641
2023-01-30T17:04:25
2023-01-30T17:04:25
353,594,523
0
5
null
null
null
null
UTF-8
Python
false
false
528
py
#How to create numpy array #Mutability and Immutability import numpy as np l = [ [5, 6, 9, 10, 11], [ 1, 2, 3, 5, 6 ] ] print( l, type(l), len(l) ) arr = np.array( l ) print( f"arr = { arr }", type( arr ), len( arr ), arr.shape ) print() print( "Printing Numpy Array in the loop" ) for i in arr: pr...
[ "noreply@github.com" ]
gautam4941.noreply@github.com
b43697e594bc2ebd2a22cf5aee7a1546b8119f53
bfbb78b6e6c69644ba70709ad528eb450bcf0cf5
/public/utils/wraps.py
a4e53c35ad111716201f0036cfb76f1e0a381ff1
[ "MIT" ]
permissive
xiaoxiaolulu/AndroidAuto
98b2248175e017d02f5da5b7d11f0f20d4f92dc8
b8cdba360664f7d1c73b9ab290c7901eaf814f0c
refs/heads/master
2020-04-12T15:36:25.554509
2018-12-20T13:58:06
2018-12-20T13:58:06
162,586,748
8
0
null
null
null
null
UTF-8
Python
false
false
303
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ======================================================== # Module : wraps # Author : Null # Create Date : 11/11/2018 # Amended by : Null # Amend History : 11/11/2018 # ========================================================
[ "546464268@qq.com" ]
546464268@qq.com
6e6e2d47512cdbd5432c4001855a5b23687540ae
0add7953d3e3ce2df9e8265102be39b758579753
/built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/tensorflow/backbones/prune_resnet.py
a5b32faa79ca4e832eea9a0341de8e9c088213d8
[ "Apache-2.0", "MIT" ]
permissive
Huawei-Ascend/modelzoo
ae161c0b4e581f8b62c77251e9204d958c4cf6c4
df51ed9c1d6dbde1deef63f2a037a369f8554406
refs/heads/master
2023-04-08T08:17:40.058206
2020-12-07T08:04:57
2020-12-07T08:04:57
319,219,518
1
1
Apache-2.0
2023-03-24T22:22:00
2020-12-07T06:01:32
Python
UTF-8
Python
false
false
3,242
py
# -*- coding: utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the...
[ "1571856591@qq.com" ]
1571856591@qq.com
2c4aed5ed7cb5ee974c114d183f12163eb2fc911
d331f11cf1e779e5ccf72c20f700388d07065b19
/BB_HRRR/GLM_and_HRRR/save_GLM_HRRR_binary_fields.py
5e56de136638fc61b18ed129afce5c529ea38bc9
[]
no_license
geofbaum/pyBKB_v3
cd54d886348547a67a712e4aa1f8299e43667e39
8cf483e5296c8b38b57e31a0f65ea29762b57f38
refs/heads/master
2020-07-02T18:39:46.296555
2019-08-08T18:36:31
2019-08-08T18:36:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
## Brian Blaylock ## May 7, 2019 """ Generate HRRR-GLM binary Lightning tables and store data in a dictionary. Save the dictionary for later use. Store on Horel-Group8 (approx. 150 GB). """ import numpy as np import matplotlib.pyplot as plt from datetime import datetime, timedelta import multiprocessing import os im...
[ "u0553130@ad.utah.edu" ]
u0553130@ad.utah.edu
6c64949db5c6e14dc709d406fa53c415dabe40cb
fa7d04cb1eb932d609cc2e4567920b77b2080b57
/基础学习/python_work/Chapter 6/people_message_homework.py
a9596bcd4f98211383f405e04153752e22902adf
[]
no_license
Yangqqiamg/Python-text
3b74088781e46a21534dcded49e8deae9c458e5d
426e15d4993c1658909a4e1a848829d09b029c96
refs/heads/master
2020-04-11T15:07:06.825475
2019-01-01T14:32:19
2019-01-01T14:32:19
161,880,306
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
#one people_message = { 'first_name': 'add', 'last_name': 'mike', 'age': 24, 'city': 'shanghai', } print(people_message) #two people_num = { 'mike': 6, 'joe': 8, 'mary': 9, 'lihua': 15, } print('joe like ' + str(people_num['joe']))
[ "15218090298@163.com" ]
15218090298@163.com
183e6bcb3efbec82b96f70e5665e476ceaf85779
3ac9deb93c7ef377749e1a92589757ff70e95011
/modules/python_file.py
788862f475b882abaf33013495a9abd80862cc83
[]
no_license
sambapython/raisingstarts
6afc9ecfe8b6c21d1cbed87802465a0de581ddc8
c186dd0d58ecfd845c5092ddf4801e42ef698cae
refs/heads/master
2021-01-20T16:09:36.802216
2016-09-20T08:36:55
2016-09-20T08:36:55
62,765,486
0
2
null
null
null
null
UTF-8
Python
false
false
344
py
import file1 import file2 import file3 import mod1 import sqlite3 print mod1.f1.fun1() print (file1.fun1()) print (file3.fun3()) try: con=sqlite3.connect("db2.db") #con.execute("create table persons(id int,name varchar(60))") #con.commit() except Exception as err: print err finally: pass #con.close() #print (file...
[ "sambapython@gmail.com" ]
sambapython@gmail.com
b3eaae4f74a3d95d15111b18db8173f26b41fbb7
ff1e3e87e0432173e67782e4c529701426918624
/PRODUSTRY/asgi.py
d4c0c582eb72d65389b47fbaef83d4187dcc768b
[]
no_license
Rayhun/Produstry
dd7c13e39114f893d4ba3ea012d903ea1723d9ff
325e74c573c333f00f0842c14d92052818a85d5c
refs/heads/master
2023-04-22T20:52:49.058342
2021-05-11T19:47:13
2021-05-11T19:47:13
294,981,881
2
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" ASGI config for PRODUSTRY 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.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SET...
[ "rayhunkhan27@gmail.com" ]
rayhunkhan27@gmail.com
a42149122e6f49793dcbcd256512cec4d76d656a
04975a41eb459f1528dcbdcb1143a3cb535aa620
/Dynamic_easy/inter_08_01.py
24efcaf21c829d2f7f98ade60f94fb5317623546
[]
no_license
RickLee910/Leetcode_easy
2a50d632379826979a985e1b9950d4cf6bbd8b18
c2687daf334f96a908737067bb915b8b072d0d56
refs/heads/master
2023-01-29T11:09:26.701243
2020-12-02T04:36:14
2020-12-02T04:36:14
294,952,436
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
class Solution: def waysToStep(self, n: int) -> int: if n == 1 or n == 2: return n if n == 3: return 4 a, b, c = 1, 2, 4 for i in range(3, n + 1): a, b, c = b, c, (a + b + c) % (1000000007) return c s = Solution() a = 5 print(s.waysToSte...
[ "13554543910@163.com" ]
13554543910@163.com
ff5069979385848256736247d30c20bb6994c6b2
239464e12610791457d393e2573f79babd776456
/njupt/models/aolan.py
4565792529ff5435486f548d760f855b108507df
[]
no_license
sanmumuzi/NJUPT-API
a6f48a963521b36940d59525cc730811561fbae6
621960fb0749e34da8c22e809b5264639071a853
refs/heads/master
2021-09-01T05:02:37.669007
2017-12-25T00:20:59
2017-12-25T00:20:59
115,200,611
0
0
null
2017-12-23T14:27:14
2017-12-23T14:27:14
null
UTF-8
Python
false
false
2,605
py
import hashlib from njupt import settings from njupt.models.base import Model from njupt.urls import URL class Aolan(Model): def login(self, account, password): """ 登录奥兰系统 jwxt.njupt.edu.cn :param account: 南邮学号、考生号、身份证号 :param password: 密码 :return: {'r': 1, "msg": "登录失败"} ...
[ "gaoliangim@gmail.com" ]
gaoliangim@gmail.com
38ba2d08e22e3d858578639be012ec3575f7804f
d2cb930ed5df0b1b5f7944e00f6f884bf014803d
/yeko_demo/yeko_demo/settings.py
2b5ddd20cb874abdfd2ed78b7de8f06e217beff2
[]
no_license
sixDegree/python-scrapy-demo
3cae4298b01edab65449cfe9af56b2fa59f4c07d
b66530e54156be8c7877f1fc4d497fd497b6fdda
refs/heads/master
2020-06-17T03:16:23.038061
2019-07-08T09:25:15
2019-07-08T09:25:15
195,777,787
0
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
# -*- coding: utf-8 -*- # Scrapy settings for yeko_demo project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/top...
[ "chenjin.zero@163.com" ]
chenjin.zero@163.com
beaf7eedb60db50e4bbda23836ec2a0cd5e63f0a
ea4e24693bddf0d986e7a4dd84a9208b3c28536f
/paayesh/wsgi.py
6a178fc93c375ca0905a9ebd480f764faf773bb1
[]
no_license
Amirsorouri00/Django-Modular-Components
ec28812ab603c021a83080c701799f5e0d6a127b
d982c77ef291411718a19bf80d90fa61be65891a
refs/heads/master
2020-04-14T13:12:05.182391
2019-01-06T14:27:20
2019-01-06T14:27:20
163,862,171
1
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for paayesh project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
[ "amirsorouri26@gmail.com" ]
amirsorouri26@gmail.com
881c5c08827486887ff44acd266e89c45dddfd03
8898273f9811fab29eb5621734bafcdf204d8229
/scipy-stubs/integrate/_ivp/common.pyi
81dabab39e5cfc7ed3b65529e100e1954d3d90d1
[]
no_license
tyrion/scipy-stubs
628ad6321a7e1502683a2b55a759777508ab4b67
bf49a91313523c4f635bc3e5d14444c1361caf64
refs/heads/master
2020-05-30T21:59:43.001510
2019-06-03T10:30:54
2019-06-03T10:30:54
189,984,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
pyi
# Stubs for scipy.integrate._ivp.common (Python 3.6) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any, Optional EPS: Any def validate_max_step(max_step: Any): ... def warn_extraneous(extraneous: Any) -> None: ... def validate_tol(rtol: Any, atol: Any, n: Any): ... ...
[ "germano.gabbianelli@contentwise.tv" ]
germano.gabbianelli@contentwise.tv
e58665ff3fd90ce5824d7791abbdc9f0b0b97237
b454c3af46b3c495d298bf4f4554718b3ca0f7cb
/_syntax/number.py
c387793f6f2c35935d9a986f5ad9d77d7dd285ee
[]
no_license
jaelyangChoi/CodingTest
fd9bab94cbcad0308631d2b663acd07b87216f6c
8d81035f04a05fcfc8ccdafe8627800648bc73cc
refs/heads/master
2023-06-01T23:05:38.521250
2021-06-19T03:53:20
2021-06-19T03:53:20
339,958,839
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
a = 1e9 # 1억 print(int(a)) pi = 314e-2 print(pi) # 실수는 오차를 포함한다. 이진수는 실수를 정확히 표현할 수 없다. a = .3 + .6 print(a) # 0.8999999999999999 # => round로 반올림 print(round(a, 1)) # 0.9 print(round(3.1423, 2)) # 3.14
[ "jaelyangchoi@gmail.com" ]
jaelyangchoi@gmail.com
0432977e460d9740d98c78b2f667853a927bfa88
1e15b421142c26e5285d16a58ac6aca0b062cbef
/venv/Scripts/django-admin.py
bfe0e1fb72c8c2509cf247d49ece44c756696536
[]
no_license
subha3495/subhacookiesproj
c2d49a5eb154aba27bfc99d194cee49efb8e89c3
3068f104dc83c76c81bd7a227c790f3f4d4d1b0f
refs/heads/master
2020-05-17T03:50:07.209409
2019-04-25T18:55:32
2019-04-25T18:55:32
183,492,017
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
#!C:\Users\subha\PycharmProjects\subhacookiesproj\venv\Scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "dashjitu3@gmail.com" ]
dashjitu3@gmail.com
6c078604796dd123c75509a7767be4cb0dd37108
a978d41e3754a2ece3d649888d7dc549b319817e
/apps/store/migrations/0002_auto_20171026_0244.py
a1a36f76d7053b9e39316b910dd3d5eb0ebab4e4
[]
no_license
Ericksmith/board_games
ace0ca4d04b4eb508114c8c43d14ff3f5322b9f8
4c8a41f9e7bac8dfc59d1cba35c8c10b345d2e57
refs/heads/master
2021-09-05T07:15:23.888922
2018-01-25T04:39:24
2018-01-25T04:39:24
108,183,604
0
0
null
2018-01-25T04:39:24
2017-10-24T21:05:31
Python
UTF-8
Python
false
false
434
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-10-26 02:44 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "smith.s.erick@gmail.com" ]
smith.s.erick@gmail.com
8179ed536b854e23b05d411c6409878d9f8fbeef
599069eeeae294950aab730ca8d4858ac1929a5c
/bemani/backend/bishi/base.py
d7ace86131c74ce846cf138365fdb3868d06b493
[]
no_license
ByteFun/bemaniutils
232d057d4b548f929af4da4f145565ad51482113
bd467a9b732a25a1c8aba75106dc459fbdff61b0
refs/heads/master
2020-12-04T07:45:45.503620
2019-12-08T21:57:08
2019-12-08T21:57:08
231,683,196
4
1
null
null
null
null
UTF-8
Python
false
false
718
py
# vim: set fileencoding=utf-8 from typing import Optional from bemani.backend.base import Base from bemani.backend.core import CoreHandler, CardManagerHandler, PASELIHandler from bemani.common import GameConstants class BishiBashiBase(CoreHandler, CardManagerHandler, PASELIHandler, Base): """ Base game class...
[ "dragonminded@dragonminded.com" ]
dragonminded@dragonminded.com
d1f7f4d7645b9e48ae6990d58072c273a9c73196
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/c703e319a1c79cd92f373c6c99dd4a40/snippet.py
f0eb1096bf3bccd9d42dd6d8a64c2f5536dbc3d2
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
446
py
people = 30 cars = 40 buses = 15 if cars > people: print("we should take the cars.") elif cars < people: print("we should not take cars.") else: print("we can't decide.") if buses > cars: print("too many buses.") elif buses < cars: print("maybe we could take the buses.") else: print("we still ...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
9dc8f2e6c9f60331c1c4894e1182c096842a971a
f9a587ffcc42e06294f12ac761bcc589ba202f85
/lesson04/del_r.py
01a034a4317736930147e9cc21cb34e12acce1b3
[]
no_license
Bulgakoff/files_utf8_04
3c49d5f8b637eaa834dd99fd6f140f37ebf96794
a6299e9c088812c63e1967290a97a2798bc19d1c
refs/heads/master
2020-09-16T09:10:00.268684
2019-11-27T14:58:14
2019-11-27T14:58:14
223,722,605
0
0
null
2019-11-27T14:58:15
2019-11-24T09:51:44
Python
UTF-8
Python
false
false
158
py
with open('del.txt', 'rb') as f: result = f.readlines() print(result) f_var = [] for p in result[:]: f_var.append(p.decode('utf-8')) print(f_var)
[ "hlbu@yandex.ru" ]
hlbu@yandex.ru
454704723c91aaa38436e984d0a865a2c976bf16
45f93a9d47204d76b8bf25a71dfb79403e75c33c
/Trees_and_Graphs/Binary Trees/__Right-Sibling-Tree.py
5274bf5cf821019dce12066fb96d3cb3d3954489
[]
no_license
tahmid-tanzim/problem-solving
0173bce1973ac3e95441a76c10324c0e1b0a57c3
6ddb51de6772130f209474e76f39ca2938f444f0
refs/heads/master
2023-06-25T02:18:03.690263
2023-06-20T06:58:46
2023-06-20T06:58:46
137,173,850
4
1
null
2022-03-30T08:28:41
2018-06-13T06:44:25
Python
UTF-8
Python
false
false
1,842
py
#!/usr/bin/python3 # https://www.algoexpert.io/questions/Right%20Sibling%20Tree """ Write a function that takes in a Binary Tree, transforms it into a Right Sibling Tree, and returns its root. A Right Sibling Tree is obtained by making every node in a Binary Tree have its right property point to its right siblin...
[ "tahmid.tanzim@gmail.com" ]
tahmid.tanzim@gmail.com
5b49f9ed2760916b19bd8f252a154986087ef41b
23b686feb2d0ab9082a7ce622fc055946ed99c55
/.history/atkd/views_20190409152250.py
368f52282a2afbb37d8b96dd4a13e80011e77a5e
[]
no_license
jasvr/atkd
a18b9840bf9948a7560684cd5eb0d5e22f6c52c7
daf61f7aa11cfc812171298894b1d0019641c4bd
refs/heads/master
2020-05-07T09:35:56.343837
2019-04-12T16:17:09
2019-04-12T16:17:09
180,383,260
1
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django.shortcuts import render from .models import Parent, Student def parent_list(request): parents = Parent.objects.all() return render(request)
[ "jas.vrgs@gmail.com" ]
jas.vrgs@gmail.com
5485a970566a26513ba7761fcf092dac48138d02
ee561aa019a80f621007f82bdb21fe6ed8b6278f
/devel/turtlebot3-melodic-devel/turtlebot3_description/catkin_generated/pkg.installspace.context.pc.py
b595bae6cb52a86f7d280558d437f0187c648e65
[]
no_license
allanwhledu/agv_edu_prj
4fb5fbf14cf0a14edd57ee9bd87903dc25d4d4f2
643a8a96ca7027529332f25208350de78c07e33d
refs/heads/master
2020-09-23T23:32:54.430035
2019-12-04T07:47:55
2019-12-04T07:47:55
225,613,426
1
1
null
null
null
null
UTF-8
Python
false
false
376
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "urdf;xacro".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "turtlebot3_description" PRO...
[ "bitwanghaili@gmail.com" ]
bitwanghaili@gmail.com
8525100e60ff3148ec5d2892294ea3ed84fb74f7
b0cc5920a18d31bc22d346ae10e99e6b78b12b32
/wsgi/zosiaproject/agenda/views.py
4132c02e6a381bf1a3b0baeaae4c4ff632a0ba79
[]
no_license
kamarkiewicz/zosiaproject
de33525b786908585edd03dfb235c67031bcd440
440316ae1dea4feff5b6a9ac6f40c19382022d91
refs/heads/master
2021-01-17T09:51:34.944777
2016-01-03T21:06:58
2016-01-03T22:07:47
41,800,412
0
1
null
null
null
null
UTF-8
Python
false
false
419
py
from django.views.generic.base import TemplateView from django.utils import timezone from .models import Agenda class AgendaView(TemplateView): template_name = 'agenda.html' def get_context_data(self, **kwargs): context = super(AgendaView, self).get_context_data(**kwargs) context['agenda'] =...
[ "k.a.markiewicz@gmail.com" ]
k.a.markiewicz@gmail.com
35fbfc803b4c58ed3877c42a9dea8ca8ed8cce89
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_180/ch39_2019_09_04_15_02_03_498630.py
0029d8ac133813a2cedbf0938fddc211d09ee1cd
[]
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
144
py
soma = 0 while True: numa = int(input("Numeros para somar: ")) soma = soma + numa if numa == 0: break print(soma)
[ "you@example.com" ]
you@example.com
0f677f5d072eb753b88fe94e2feeead2bb50a595
f714db4463dd37fc33382364dc4b1963a9053e49
/src/sentry/analytics/events/first_transaction_sent.py
d972abeae1561c5b7482283e597056d244743902
[ "BUSL-1.1", "Apache-2.0" ]
permissive
macher91/sentry
92171c2ad23564bf52627fcd711855685b138cbd
dd94d574403c95eaea6d4ccf93526577f3d9261b
refs/heads/master
2021-07-07T08:23:53.339912
2020-07-21T08:03:55
2020-07-21T08:03:55
140,079,930
0
0
BSD-3-Clause
2020-05-13T11:28:35
2018-07-07T11:50:48
Python
UTF-8
Python
false
false
443
py
from __future__ import absolute_import from sentry import analytics class FirstTransactionSentEvent(analytics.Event): type = "first_transaction.sent" attributes = ( analytics.Attribute("organization_id"), analytics.Attribute("project_id"), analytics.Attribute("platform", required=Fal...
[ "noreply@github.com" ]
macher91.noreply@github.com
d1865dd785d2765014d2581d2626fbe175aced68
049d1262acb5e0a0be1201a12b479a7a111cb6b9
/jacob/bin/wheel
3dc16ecb462f5c5b1a855b258c3c3b4aceb27f2e
[]
no_license
jaybenaim/day13-reinforcements
c579c908ac35abbe541431a85158f3c3b4ae55bf
d31e89d340465aff7e5f7917924f0ed64566a34a
refs/heads/master
2020-06-22T01:53:54.259573
2019-07-19T17:33:42
2019-07-19T17:33:42
197,604,415
0
0
null
null
null
null
UTF-8
Python
false
false
280
#!/Users/jay/bitmaker/projects/day13-oop/assignments/reinforcements/jacob/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "benaimjacob@gmail.com" ]
benaimjacob@gmail.com
aeef4cd9ad9cf60858a571c69a45edf2eaedd352
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/appengine/v1/google-cloud-appengine-v1-py/google/cloud/appengine_admin_v1/services/firewall/pagers.py
fb10d4619bc29c2163fff3b9ab11c3472f65e6f1
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,937
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
47cc7185780e69d639c732ae362796e493f9cf77
baaeb8c1d335e258fd49b5ef024ac39790fd660f
/backend/alembic_users/versions/ed860c399094_added_is_gold_evaluation_cols_to_jobs_.py
bab6dc2c44ecb1672d28025e6494b2f2c7d15e48
[]
no_license
ReactARDev/React_Redux_Python
f0b80a9d2a603b38f8e144966bc899c5aa3690e6
afdb4a55f82fdff86686ad955448a4168d05c739
refs/heads/master
2021-10-10T19:28:05.142652
2019-01-15T21:24:06
2019-01-15T21:24:06
159,198,417
0
0
null
null
null
null
UTF-8
Python
false
false
1,349
py
"""added is_gold_evaluation cols to jobs and topic annotations Revision ID: ed860c399094 Revises: 9528026442d1 Create Date: 2017-12-18 12:43:18.402875 """ # revision identifiers, used by Alembic. revision = 'ed860c399094' down_revision = '9528026442d1' branch_labels = None depends_on = None from alembic import op i...
[ "talentmobile9999@gmail.com" ]
talentmobile9999@gmail.com
223487d09c1e1f4d2f04e6c6301688924842dd39
2b6a02a34ee6bf68820ad185245e2609b296e0aa
/216.py
ddb1b4fc0c865ef4cd4c335fb5586c6825614993
[]
no_license
shants/LeetCodePy
948e505b6fcb0edcb9a1cf63a245b61d448d6e27
2337b5031d4dfe033a471cea8ab4aa5ab66122d0
refs/heads/master
2020-03-28T08:43:04.606044
2019-11-25T05:03:15
2019-11-25T05:03:15
147,984,830
0
1
null
null
null
null
UTF-8
Python
false
false
1,491
py
class Solution(object): def __init__(self): self.d = {} # def is_solution(self, k,n,i, a): # if n == 0 and len(a)==k: # return True # else: # return False # # def process_solution(self, k,n,i,a): # p = a[:] # a = sorted(a, reverse=False) ...
[ "mailtoshants@gmail.com" ]
mailtoshants@gmail.com
64a479d9e6ee5f31fe84d13d53432ef96d720493
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Difference/trend_LinearTrend/cycle_30/ar_/test_artificial_32_Difference_LinearTrend_30__0.py
292b04ae191d6b03a01bd8034a851358326c8b29
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
271
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "LinearTrend", cycle_length = 30, transform = "Difference", sigma = 0.0, exog_count = 0, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
fd8ba159c5468455865fc833112aeb035392e82b
a5e28d513cc29ca39d4b31d44585def1ee6d0ae9
/tests/conftest.py
4977ec1f1af76acf593f7155d01c3553166725d7
[ "Apache-2.0" ]
permissive
blakev/ulid
1e9c79d0acc3a82bcbf3c01601127e50d7ab15ce
089c76595c15fd614a1ee0b989353079052abce5
refs/heads/master
2021-04-15T12:07:36.881868
2017-06-16T05:12:10
2017-06-16T05:12:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,928
py
""" conftest ~~~~~~~~ High level fixtures used across multiple test modules. """ import calendar import datetime import os import pytest import random from ulid import base32 @pytest.fixture(scope='function') def ulid_bytes_year_1990(valid_bytes_80): """ Fixture that yields a :class:`~bytes` ins...
[ "andrew.r.hawker@gmail.com" ]
andrew.r.hawker@gmail.com
ebc3dcd37e323817823673c28a9a13d8be293c95
f8ea3582884df87172cb747e424ebd0c20223614
/tests/oldtests/testrastdist.py
7ed004fabdd17a007282c998395e528001d9933a
[ "MIT" ]
permissive
karimbahgat/PythonGis
94f52f800a769ee54b12c7277604ead011465321
fb99148a15bcbe0438ddca67b484a15076bd961a
refs/heads/master
2023-04-12T15:59:08.522464
2022-09-09T22:48:32
2022-09-09T22:48:32
47,153,255
5
1
null
null
null
null
UTF-8
Python
false
false
678
py
import pythongis as pg from time import time # test distance vect = pg.VectorData(r"C:\Users\kimo\Downloads\cshapes_0.6\cshapes.shp", )#select=lambda f: f["GWCODE"]==666) hist = vect.histogram("GWCODE") #hist.view() t = time() distrast = pg.raster.analyzer.distance(vect, bbox=[-180,90,180,-90], ...
[ "Karim.bahgat.norway@gmail.com" ]
Karim.bahgat.norway@gmail.com
a414ae6cc75cc2bab26ee9b925f10d8309d71118
59cc4c5983dd486b93e409da3df9e20cd8dbd04e
/metaprog/composition.py
db929ad1fa422c0eb02708e1d27df290842f8ba0
[]
no_license
titu1994/Python-Work
a95866bf47a3aba274376ec72b994e2e4fbda634
bc7f201ed01e2f7c49ae8d143d29e87e94420dc9
refs/heads/master
2023-04-27T02:33:30.731988
2023-04-22T19:13:03
2023-04-22T19:13:03
53,428,058
13
10
null
null
null
null
UTF-8
Python
false
false
1,024
py
def custom_dir(c, add): return dir(type(c)) + list(c.__dict__.keys()) + add class BaseComposite: "Base class for attr accesses in `self._extra_params` passed down to `self.components`" @property def _extra_params(self): if not hasattr(self, 'components'): self.components = [] ...
[ "titu1994@gmail.com" ]
titu1994@gmail.com
e9aac60d8d793b04b8cce53945eca54786292b2b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_328/ch25_2020_03_09_20_08_11_452435.py
e45f3d0a86b1198f3a6d0682673b1b7ed61d8b3e
[]
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
330
py
from math import sin, radians jacas = float(input("qual a velocidade de lançamento de sua jaca: ")) jacas2 = float(input("qual o ângulo de lançamento da sua jaca: ")) d = (jacas**2*sin*(radians(2*jacas2))/9.8 if d < 98: print("Muito perto") elif d >= 98 and d <= 102: print("Acertou!") else: print("Muito lon...
[ "you@example.com" ]
you@example.com
7b927918987478127db33e25f638d3774ffa6cbb
d41c15b9c68ab2ee70740044d25d620e6b90a09e
/app/mod_cmd/commands/status.py
2faf54044feec0dddce8af23988a4ef47d2decb9
[ "Apache-2.0" ]
permissive
jaycode/Arthur.workspace
9093b54cda983d2e8b6745b894403b5fa1282b56
7a581104141ee5f556e058b1276b4087a2921dfc
refs/heads/master
2021-01-10T10:36:35.599700
2016-03-21T19:37:49
2016-03-21T19:37:49
55,436,635
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
"""This module is useful to allow user finds out current state of their work. """ from app.mod_cmd.client_instruction import ClientInstruction from app.helpers import docs_path from zipfile import ZipFile from app import app, mongo def run(project = None, args = [], **kwargs): """Show status of current project. Ke...
[ "teguhwpurwanto@gmail.com" ]
teguhwpurwanto@gmail.com
7f027a5f8990360a411659c96ad45506c18ae5a9
8319c9859bde5e21eba2ba60219ebe496646470b
/src/stratis_cli/_stratisd_constants.py
86f901513a72fc8576ab0bd4c5884a268bb8d66e
[ "Apache-2.0" ]
permissive
stratis-storage/stratis-cli
0be83c0903c1050ac3cf75a19121ba19be97c4a6
399c95edd7c37e5fb9494f7829d5355c011fb7d7
refs/heads/master
2023-08-31T23:24:02.710481
2023-08-30T20:18:02
2023-08-30T20:18:02
66,956,943
107
44
Apache-2.0
2023-09-08T18:25:33
2016-08-30T16:09:39
Python
UTF-8
Python
false
false
2,347
py
# Copyright 2016 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
[ "amulhern@redhat.com" ]
amulhern@redhat.com
3eab99e78874519237ee18fbd383413183909b24
92b7afd4c17088a63a38d80d2f981cf146eae988
/Chapter02/U02_Ex05_ConvertCtoF_Table.py
612668d6c17270152ff0932fe7173e0c27aaa9b4
[]
no_license
billm79/COOP2018
6d3e5d9f8309646beab0078a2f84bb6fe30b18fc
6588c0ebfa932fbae7eec11c20270e4a8e969377
refs/heads/master
2020-03-28T02:00:28.959515
2019-05-13T17:51:05
2019-05-13T17:51:05
147,540,965
3
2
null
null
null
null
UTF-8
Python
false
false
957
py
# U02_Ex05_ConvertCtoF_Table.py # # Author: Bill Montana # Course: Coding for OOP # Section: A3 # Date: 18 Nov 2017 # IDE: PyCharm Community Edition # # Assignment Info # Exercise: 5 # Source: Python Programming # Chapter: 2 # # Program Description # Computes and prints a table of Celsius temperatur...
[ "bill.m79@student.parishepiscopal.org" ]
bill.m79@student.parishepiscopal.org
cf77e4bc9a182a406270a6fd7cf2558350304f7c
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/scatterpolargl/unselected/marker/_opacity.py
3cb2d6a2455082c340af789b6b315dfff4f79427
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
500
py
import _plotly_utils.basevalidators class OpacityValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name='opacity', parent_name='scatterpolargl.unselected.marker', **kwargs ): super(OpacityValidator, self).__init__( plotly_n...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
57fa882d992e873136c6e65dba8a3c40fc606e37
95efc2300bd2936eb9b4ca8f9cda55764047f094
/django1/src/customlogin/urls.py
14fcc5ea0182abaa54ff28601abb0ce65e803934
[]
no_license
gittaek/jeong
d207d6e41398803475aff82a49bea01e21a86901
20808cbb97daff79a4c0b4a017106519f99d919f
refs/heads/master
2020-04-21T23:11:17.202531
2019-02-10T03:20:57
2019-02-10T03:20:57
169,938,169
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
#하위 URLConf #app_name: 하위 URLConf 파일의 등록된 URL들의 그룹명 #urlpatterns: URL과 뷰함수를 이그트형태로 등록하는 변수 from django.urls import path from .views import * app_name = 'cl' urlpatterns = [ path('signup/', signup, name= 'signup'), path('signin/', signin, name= 'signin'), path('signout/', signout, name= 'signout')...
[ "user@DESKTOP-37GULAI" ]
user@DESKTOP-37GULAI
68618a7466a5c4c5db83220054f3f89a5f25af56
4c7914bf0eb52f2fe5dab70fa630a322a9449e05
/淘宝美食/spider_tb.py
979bf47a13e824f3edf29f2d47cb5b352420348d
[]
no_license
xhongc/pythonCrawl
f334d737326a47782d2533c4db23734729f13099
a38e59496dd78b6e070ea6882043b1744190103e
refs/heads/master
2022-12-10T01:22:01.608193
2020-01-12T09:43:19
2020-01-12T09:43:22
93,115,695
4
5
null
2022-11-22T02:36:28
2017-06-02T01:47:22
Python
UTF-8
Python
false
false
3,288
py
import re from bs4 import BeautifulSoup from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import json import pymysql f...
[ "408737515@qq.com" ]
408737515@qq.com
dc75718ca509b24cafd770b46279b39533e4dce4
1c74a2e075793e1d35c441518e2e138e14e26ea5
/Tree/124. 二叉树中的最大路径和.py
b4a70b63656b087e29f283c107cc12e1c831c361
[]
no_license
Dawinia/LeetCode
1a385bfadbc4869c46dc1e9b8ca7656b77d746a0
e1dcc71ca657b42eb8eb15116697e852ef4a475a
refs/heads/master
2021-07-20T00:56:01.058471
2020-07-22T14:07:04
2020-07-22T14:07:04
197,305,126
1
0
null
null
null
null
UTF-8
Python
false
false
616
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def __init__(self): self.ans = -1000000000 def maxPathSum(self, root: TreeNode) -> int: self.traverse(root) ...
[ "dawinialo@163.com" ]
dawinialo@163.com
c6705abcd1b38cd180cd1869f249ca60fb5c4516
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/abc/abc017/C/answers/121328_akio0803.py
35e70dd74eb09b1c6b633e244a904471419d122e
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
N, M = [int(_) for _ in input().split()] res = [0] * (M + 2) ans = 0 for _ in range(N): l, r, s = [int(_) for _ in input().split()] res[l] = res[l] + s res[r+1] = res[r+1] - s ans += s for i in range(M+1): res[i+1] = res[i] + res[i+1] print(ans - min(res[1:-1]))
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
c2a251f706de272919eee0bf2b981f3e0def3bbe
17268419060d62dabb6e9b9ca70742f0a5ba1494
/pp/assert_grating_coupler_properties.py
e4623d5afe7b5f3da50f619ba7c002a9a0e798c3
[ "MIT" ]
permissive
TrendingTechnology/gdsfactory
a19124423b12cbbb4f35b61f33303e9a012f82e5
c968558dba1bae7a0421bdf49dc192068147b776
refs/heads/master
2023-02-22T03:05:16.412440
2021-01-24T03:38:00
2021-01-24T03:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
from pp.component import Component def assert_grating_coupler_properties(gc: Component): assert hasattr( gc, "polarization" ), f"{gc.name} does not have polarization attribute" assert gc.polarization in [ "te", "tm", ], f"{gc.name} polarization should be 'te' or 'tm'" asse...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
dfd15b290e3345001bd70e8dccef8397e16bb767
e56b63fa189d6c1e84eda135a41ae63d6177c10e
/setup.py
29e819082c2ce53fd58b560ba7c80ae49b497ba4
[]
no_license
bibi21000/janitoo_scene
22ededfc79866a806b22770f8c347169407523cb
c9c8f6b58f5109c47ae302b1fbc58c39d1c35857
refs/heads/master
2021-01-17T18:10:49.644483
2016-06-22T22:10:42
2016-06-22T22:10:42
60,803,529
0
0
null
null
null
null
UTF-8
Python
false
false
3,642
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Setup file of Janitoo """ __license__ = """ This file is part of Janitoo. Janitoo is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 ...
[ "bibi21000@gmail.com" ]
bibi21000@gmail.com
8283b7f68b360f419fd5896d84b4879f9089d354
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/kfwTnnJjo3SKG2pYx_3.py
e7ac90f207041dbf5f864dab33c4a2d7ea29af06
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
""" Replace the numbers in a string with their binary form. ### Examples replace_nums("I have 2 sheep.") ➞ "I have 10 sheep." replace_nums("My father was born in 1974.10.25.") ➞ "My father was born in 11110110110.1010.11001." replace_nums("10hell76o4 boi") ➞ "1010hell1001100o100 boi" ### Not...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b4822ca44563f6be4ba21dc3c949c510cffc59b8
bc167f434158921bcf2c678155c5cdfec1c9b0c9
/PI_code/simulator/behaviourGeneration/firstGenScripts_preyHunter/behav143.py
69e2c39d1de031eb531fff7484cfaf7bc99323d5
[]
no_license
s0217391/DifferentProjects
6450efc89c64ecd21b86c705737e89e5c69433a6
7f4da153660817b6cbf72d2e823aa29c0c2f95a9
refs/heads/master
2021-01-17T02:58:46.219240
2015-05-26T22:45:46
2015-05-26T22:45:46
34,995,164
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
#!/usr/bin/python import sys def compute(prey): if prey[0] != 0: temp0 = prey[1] % prey[0] else: temp0 = prey[0] temp1 = temp0 * prey[0] temp1 = prey[1] + prey[0] temp2 = max(temp1, prey[0]) temp3 = temp1 + temp1 if prey[1] > prey[0]: temp4 = temp0 + prey[1] else: temp4 = temp1 + prey[0] temp1 = temp4...
[ "i7674211@bournemouth.ac.uk" ]
i7674211@bournemouth.ac.uk
9308ae4ebcf181f0896ffd022dd31f4ecff6f8df
f4c753c85b23014faa43f905aef817e8d493e187
/core/fill/fill_types.py
c35def3435f65e21e0c6c7c44920c1335e35f5ec
[ "MIT" ]
permissive
bdrydyk/building_tool
61cbfe76af7b4af56ea714670609961efd809385
8da3d17d74591a556d597a4f360d3730d1ae4c1a
refs/heads/master
2020-06-25T16:56:58.726059
2019-07-21T17:51:26
2019-07-21T17:51:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,067
py
import bmesh from mathutils import Vector, Matrix from bmesh.types import BMEdge, BMVert from ...utils import ( filter_geom, calc_edge_median, calc_face_dimensions, filter_vertical_edges, filter_horizontal_edges, ) def fill_panel(bm, face, prop): """Create panels on face """ if prop.pa...
[ "karanjaichungwa@gmail.com" ]
karanjaichungwa@gmail.com
6fe5f23bd91afed7a5a5a947bc2ecfc947a7495a
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/pfnet_chainer/chainer-master/examples/ptb/gentxt.py
c034207b2ef2a5e688211a486a4d0ed0e00d2277
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
3,083
py
#!/usr/bin/env python """Example to generate text from a recurrent neural network language model. This code is ported from following implementation. https://github.com/longjie/chainer-char-rnn/blob/master/sample.py """ import argparse import sys import numpy as np import six import chainer from chainer import cuda ...
[ "659338505@qq.com" ]
659338505@qq.com
111e184e4618fc600d7bfced3ff6d93feb9e5217
975da64ee000833af92148b647ea1bea1deac6fe
/test/test_replace_phone_number_params.py
188e89fc12c3deeca09f0ee74c12b0cc356e1bbf
[]
no_license
bitlayergit/API-SDK-python
41c84eadae31556fae818e636565723d3112aa2c
111b4eb9b725d7a8feb31b8e0af8bb2ee79dcda3
refs/heads/master
2021-07-06T08:51:56.984499
2017-09-28T15:37:20
2017-09-28T15:37:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
# coding: utf-8 """ Phone.com API This is a Phone.com api Swagger definition OpenAPI spec version: 1.0.0 Contact: apisupport@phone.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import unittest import swagge...
[ "i.simevski@gmail.com" ]
i.simevski@gmail.com
148d097216699d2a68a987361655c5f84bc8326b
248f56b1fb0cb20796e5a29736a37fa4106fa0bb
/2022KAKAOBLIND/solution3.py
ed3658e9ce984ff7a5c5eca0daef151660b3f2a1
[ "MIT" ]
permissive
KOOKDONGHUN/programmers
b24d672c67180765daca3036c72600ba17e0bd50
87ac8fcc23b14b3293c37933e4b9bbf663792830
refs/heads/main
2023-08-15T21:44:04.462043
2021-10-02T05:35:23
2021-10-02T05:35:23
401,706,119
0
0
null
null
null
null
UTF-8
Python
false
false
2,740
py
from datetime import datetime import math def solution(fees, records): answer = [] t_ls = [] car_num_ls = [] check_ls = [] car_num_ls2 = [] minute = 60 dead_line = "23:59" log = dict() for record in records: t, car_num, check = record.split() t_ls.append(t) ...
[ "dh3978@naver.com" ]
dh3978@naver.com
c43a49ab156f7382d0fb726caf88d66387bbe7c9
184310f55b58e854dc3b6c58599ef99bc4c95739
/hujian_api/API_service/Templight/tt.py
f8dec3403639f1cdd677b97b36c29b6ed379a8ac
[]
no_license
tanjijun1/Python_API
c8585821a627c399fea1ab31bb024be6b82dd3ab
3c4771875870ffe425d2d39fc28a50449b1752f2
refs/heads/master
2023-01-07T23:30:30.284433
2020-11-11T08:43:10
2020-11-11T08:43:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,203
py
import time now = time.time() print(now) Content-Type: multipart/form-data; boundary=-----------13418483933 -----------13418483933 Content-Disposition: form-data; name="service_key" -----------13418483933 Content-Disposition: form-data; name="device_sn" -----------13418483933 Content-Disposition: form-data; name=...
[ "1065913054@qq.com" ]
1065913054@qq.com
b5892daa2cf40600c3c171d16b4d33890e637c5d
3e381dc0a265afd955e23c85dce1e79e2b1c5549
/hi-A3/not_hesaplama.py
57a517a822a6edc22adf30f92c4369c4d4857351
[]
no_license
serkancam/byfp2-2020-2021
3addeb92a3ff5616cd6dbd3ae7b2673e1a1a1a5e
c67206bf5506239d967c3b1ba75f9e08fdbad162
refs/heads/master
2023-05-05T04:36:21.525621
2021-05-29T11:56:27
2021-05-29T11:56:27
322,643,962
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
dosya = open(file="notlar.txt",mode="r",encoding="utf-8") metin = dosya.read() dosya.close() donem_ortalamasi=0.0 not_adet=0 for satir in metin.split("\n"): ders_adi=satir.split(":")[0].strip() notlar = satir.split(":")[1].strip().split(" ") ortalama=0.0 for nt in notlar: ortalama = ortalama + f...
[ "sekocam@gmail.com" ]
sekocam@gmail.com
56364384fadab6ba2a8360d6af96ab70e100b200
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_006/ch3_2020_03_09_20_04_20_580816.py
d72a113c6ad8ecb6326c442c0399dc5570cc0f35
[]
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
134
py
def calcula_gaussiana(x, mi, sigma): resultado=(1/(sigma*((2*math.pi)**0.5)))*(math.e**(-0.5(((x-mi)/sigma)**2)) return resultado
[ "you@example.com" ]
you@example.com
1b7ee83080c836f6c279d09bbbe341b44e72147b
8dcd3ee098b4f5b80879c37a62292f42f6b2ae17
/venv/Lib/site-packages/win32/Demos/CopyFileEx.py
4aa24f877a44e08b33f9917690f24b5da1da55db
[]
no_license
GregVargas1999/InfinityAreaInfo
53fdfefc11c4af8f5d2b8f511f7461d11a3f7533
2e4a7c6a2424514ca0ec58c9153eb08dc8e09a4a
refs/heads/master
2022-12-01T20:26:05.388878
2020-08-11T18:37:05
2020-08-11T18:37:05
286,821,452
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
import os import win32api import win32file def ProgressRoutine(TotalFileSize, TotalBytesTransferred, StreamSize, StreamBytesTransferred, StreamNumber, CallbackReason, SourceFile, DestinationFile, Data): print(Data) print(TotalFileSize, TotalBytesTransferred, StreamSize, StreamBytesTransfe...
[ "44142880+GregVargas1999@users.noreply.github.com" ]
44142880+GregVargas1999@users.noreply.github.com
55fd8f6731ac12dc4c43cec0146a397ec6063002
9028516ff0b2d95b8000b9fc4c44c29aa73c926c
/qa/rpc-tests/listtransactions.py
2aa4910074d08c894f8f572dd90a502a1019280f
[ "MIT" ]
permissive
lycion/TripOne
a9e546eac9ad6179c0b6bd4f868162f70930b6ac
c6ae7d9163ef4095fe0e143d26f3311182551147
refs/heads/master
2020-03-28T22:29:06.119551
2018-09-18T06:07:06
2018-09-18T06:07:06
149,236,186
0
0
null
null
null
null
UTF-8
Python
false
false
7,913
py
#!/usr/bin/env python3 # Copyright (c) 2014-2015 The Bitcoin Core developers # Copyright (c) 2015-2017 The Bitcoin Unlimited developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import test_framework.loginit # Exercise the li...
[ "lycion@gmail.com" ]
lycion@gmail.com