blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
4271d8331175e5148e8949a67e93f8ab2c93e395
8a3cc7cee5da2cfc69270feb502e71a52ebe7684
/MinMax & Alphabeta/game_agent.py
3d65c7087bdcaaab87a1284fcdf6485d3a1c0e29
[]
no_license
LearnedVector/AI-Foundation
1ff6287cee2c92e8f9ead03b106431307ea64c07
f191feb10ca47d5281c8002ee990228723ab850f
refs/heads/master
2021-07-13T19:43:25.282277
2017-10-16T01:33:55
2017-10-16T01:33:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,501
py
import random class SearchTimeout(Exception): """Subclass base exception for code clarity. """ pass def center_score(game, player): if game.is_loser(player): return float("-inf") if game.is_winner(player): return float("inf") w, h = game.width / 2., game.height / 2. y, x = ...
[ "ppnguyen91@gmail.com" ]
ppnguyen91@gmail.com
051eb317acccff8a7d27506a3e72e3c1e18d19f3
ebce276eb1e7391fd33ce3b6488846c9907b889e
/mymodule_demo.py
77859133138abb9e4d3670598557130e5212f278
[]
no_license
junlongsun/PythonDemo
9630eec7ff3de5ee92ae2d2f00906a9155e7c4bb
086d72ae3228756fd3155ba1a3f1128be534c317
refs/heads/master
2016-08-06T06:07:46.951234
2015-08-29T19:02:52
2015-08-29T19:02:52
41,603,994
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
#!/usr/bin/python # Filename: mymodule_demo.py import mymodule dir(mymodule) mymodule.sayhi() print 'Version', mymodule.version
[ "junlong.sun@colorado.edu" ]
junlong.sun@colorado.edu
2665b0d21ad75e4516c94f4328876d29cfbd5752
5c52589d28b48539eacf034bb3eaf2ab7efbed58
/venv/Scripts/pip-script.py
eef5a04da23847758712b0c627c4d6c93ac05638
[]
no_license
ShaeLin983/pythonTestProject
9a96844d69b23af6779c88afdac5273e8ca83f36
788de2be7696028552dd9316d74de2ab77363d53
refs/heads/master
2020-06-09T17:03:33.331876
2019-07-01T13:10:32
2019-07-01T13:10:32
193,473,556
1
0
null
null
null
null
UTF-8
Python
false
false
409
py
#!f:\PycharmProjects\pythonTestProject\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __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)?$', '', sys.argv[0])...
[ "linx0220@163.com" ]
linx0220@163.com
15974039e082f50a6ca79584bc79968741955199
dbdc26d866057457f2e511bd881148faf2996643
/old/refers/_search_word_old.py
e17cdb015856eb428308920e267259d06a14fd47
[]
no_license
yzyDavid/furigana
2dc3376e8779ea3cfed57b6fdb4f6d31ffe68df4
cc72db866d539687532808d69d6be5ac1a95443e
refs/heads/master
2021-01-10T00:58:37.260389
2018-04-04T06:16:03
2018-04-04T06:16:03
51,136,928
0
1
null
2018-04-04T06:16:04
2016-02-05T09:14:27
Python
UTF-8
Python
false
false
1,856
py
# -*- coding:utf-8 -*- # import urllib.request as ur # import codecs import requests import re DEBUG = False BASIC_URL = r'http://dict.hjenglish.com/jp/jc/' # def search_word(word): # basic_url = r'http://dict.hjenglish.com/jp/jc/' # search_url = basic_url + word # #search_url = search_...
[ "yzyDavid@qq.com" ]
yzyDavid@qq.com
1c5daec5e4fda16f1120b32e7f9d688b02254b60
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/IB-DHCPONE-MIB.py
aea222e97e72ae77fa4c45e1500e93446cf69240
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
11,349
py
# # PySNMP MIB module IB-DHCPONE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IB-DHCPONE-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:50:35 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
aa7749e5a5c46e9b294ba65e63edbafd2bdc540c
e63e8963f36689e525876dd877017352e96df12d
/DFCM_Electricity.py
00f385ba96cff565eea8439932912a7aba1a0fba
[]
no_license
FieldDoctor/DFCM
b966d01b945e8ba0d233cc353d0c9815c743f5e2
7da7eecbdfd2c3b34c92ef79029de47364f2eded
refs/heads/master
2023-03-28T23:39:19.861009
2021-03-26T10:17:39
2021-03-26T10:17:39
321,042,829
2
1
null
null
null
null
UTF-8
Python
false
false
7,511
py
configure = {} configure['SourceFilePath'] = './1-Electricity/1-temp.csv' configure['InputFilePath'] = './1-Electricity/2plus-supervisedDataSet_zscore.csv' configure['OutputFilePath'] = './1-Electricity/6-DFCM.csv' configure['PltFilePath'] = './1-Electricity/6-DFCM/' configure['AllAttributes'] = 8 configure['TargetAttr...
[ "963138743@qq.com" ]
963138743@qq.com
667fbc214431aa1477babf4a3224675a2d8da21f
63e3d4bfd14b1bc7eb0fdb735312dfa23210051e
/credentials.py
aeba98bbb4d23c799c98f05cc2981ff77b91febc
[]
no_license
Arcadonauts/BES-2018
1ec7331c4882603acdafa261a5c92de8d768fa42
c73dc15e7178ea565cde24702ac69611e31324cc
refs/heads/master
2023-02-21T03:48:34.418590
2022-01-08T05:15:42
2022-01-08T05:15:42
128,519,979
0
0
null
2023-02-02T03:47:29
2018-04-07T10:59:09
JavaScript
UTF-8
Python
false
false
1,127
py
from twitter import OAuth from oauth2client.file import Storage yieldcurve = OAuth( token = "952297957788971008-kecr8AFjWcsTPMoXfsmmbnp7gbldcX2", token_secret = "GMEDO1ZJEbPuI2LWSd1b7Kk95NymnreYQ6xrR7KdT7yXB", #owner = "DailyYieldCurve", #owner_id = "952297957788971008", consumer_key = "DOWlrAasc9...
[ "fegleynick@gmail.com" ]
fegleynick@gmail.com
6bb0bb620a727e137539fa2541dcdc9c70c36bb4
c9bc95759aef6c068a9fbb170c40c255b2f4e451
/plugin/CutsceneSkipper.py
c85430b6ee289a25d0abf2093ca399f891c71bd7
[]
no_license
lumptyd/FFxivPythonTriggerPlus
52847420d866414024330bf8ff074fea65f6b239
d7d783f7f4412f4c2fa965d12f74585010d12e09
refs/heads/master
2023-06-06T00:55:59.194873
2021-06-23T18:46:20
2021-06-23T18:46:20
379,401,467
0
0
null
2021-06-22T21:27:03
2021-06-22T21:10:01
null
UTF-8
Python
false
false
2,865
py
from FFxivPythonTrigger import PluginBase import logging """ patch code to skip cutscene in some zone command: @cutscene format: /e @cutscene [p(patch)/d(dispatch)] """ nop = b"\x90\x90" pattern = b"\x8B\xD7\x48\x8B\x08\x4C\x8B\x01" command="@cutscene" class CutsceneSkipper(PluginBase): name = "Cutscene Sk...
[ "hhh" ]
hhh
6180214e717d6e06e85875f87e397b17f6826576
d61711ceb3c505067956b37be08cf9edab2ee4d4
/I0320014_Soal2_Tugas4.py
7916dee501d70ba0813698ae9479a45c38c7d618
[]
no_license
audreyalexandra/Audrey-Alexandra_I0320014_Wildan_Tugas4
de8b4debb0a66be097360bf530c0fc4e41c13b82
46fc9966a42c4e0305c86e79bdd37843e5b7912f
refs/heads/main
2023-03-15T05:02:07.011153
2021-03-27T01:34:01
2021-03-27T01:34:01
351,607,836
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
bil1 = int(input("Masukan Bilangan bulat pertama : ")) bil2 = int(input("Masukan Bilangan bulat kedua : ")) print("Hasil %d // %d = %d" % (bil1, bil2, bil1//bil2))
[ "audreyalexandra18@gmail.com" ]
audreyalexandra18@gmail.com
d614a2dc512cfe4f235594be6aaf24e0db8ac8fd
bc8b9ca228fb90ce3e0aefd53b135cdd68329caa
/telethon/events/chataction.py
2927c8d0f0b65e052e3609fbb2fae46a45097883
[ "MIT" ]
permissive
huangdehui2013/Telethon
1147ce9acba4db087efa39514a7cab6276becb92
dd954b8fbd1957844c8e241183764c3ced7698a9
refs/heads/master
2020-03-16T18:49:25.989083
2018-05-10T07:44:25
2018-05-10T07:44:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,657
py
from .common import EventBuilder, EventCommon, name_inner_event from .. import utils from ..tl import types, functions @name_inner_event class ChatAction(EventBuilder): """ Represents an action in a chat (such as user joined, left, or new pin). """ def build(self, update): if isinstance(update...
[ "totufals@hotmail.com" ]
totufals@hotmail.com
4f6302572228b7efcecdd72f4d4e5d237a66da92
a8577e7ad1652458de236b85636069a1ca0c9c96
/oscn/parse/docket_report.py
88017f3e596727cda11a3d9842e190147e4cbcc4
[ "MIT" ]
permissive
codefortulsa/oscn
596678649b9e5e0db58ad6ad7313cfcd90b907b0
012f721127849ff24f3f8b3c17c640c388e82591
refs/heads/main
2023-02-11T15:11:59.651899
2023-01-26T23:16:05
2023-01-26T23:16:05
140,227,962
11
10
MIT
2022-12-26T21:31:55
2018-07-09T03:42:54
Python
UTF-8
Python
false
false
890
py
import urllib.parse as urlparse from bs4 import BeautifulSoup def cases(oscn_html): case_list = [] soup = BeautifulSoup(oscn_html, "html.parser") case_tables = soup.findAll("table", "clspg") for case in case_tables: case_link = case.find("a") parsed = urlparse.urlparse(case_link["hre...
[ "johnadungan@gmail.com" ]
johnadungan@gmail.com
485d3cc56b43af702b13d75f3c85981c119aa6fc
f8908de51fdee29875c7720efb3ef1584328086b
/tools/RemywikiSonglistScraper.py
491726b3a629c4ad4878e48d975681e731ccc1ae
[ "MIT" ]
permissive
cyberkitsune/DDRGenie
634e2e24323022181ed39a541d6594db958bcb16
6d2a78c84e33049c1541d761744da0868f23e0bb
refs/heads/master
2022-08-07T09:52:17.850326
2022-07-25T04:16:21
2022-07-25T04:16:21
241,182,285
1
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
import sys, requests import wikitextparser as wtp base_uri = 'https://remywiki.com' query = '/api.php?action=query&prop=revisions&titles=%s&formatversion=2&redirects=1&rvprop=content&rvslots=*&format=json' if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: RemywikiSonglistScraper.py [Page_Name...
[ "cyberkitsune09@gmail.com" ]
cyberkitsune09@gmail.com
9770331cc4ed8b9caba652786a87ec8aced75466
e94c7bd97d8b8b3b2945d357521bd346e66d5d75
/test/lmp/script/gen_txt/test_signature.py
1a75301a671acbdfbd9ac9ea870cb204b57d9bc1
[ "Beerware" ]
permissive
ProFatXuanAll/language-model-playground
4d34eacdc9536c57746d6325d71ebad0d329080e
ec4442a0cee988a4412fb90b757c87749b70282b
refs/heads/main
2023-02-19T16:21:06.926421
2022-09-25T13:35:01
2022-09-25T13:35:01
202,471,099
11
26
NOASSERTION
2023-02-16T06:39:40
2019-08-15T03:57:23
Python
UTF-8
Python
false
false
1,040
py
"""Test :py:mod:`lmp.script.gen_txt` signatures.""" import argparse import inspect from inspect import Parameter, Signature from typing import List import lmp.script.gen_txt def test_module_method() -> None: """Ensure module methods' signatures.""" assert hasattr(lmp.script.gen_txt, 'parse_args') assert inspe...
[ "ProFatXuanAll@gmail.com" ]
ProFatXuanAll@gmail.com
9e6666d6b99be4eaa286ee65de5946bc52dde225
d7016f69993570a1c55974582cda899ff70907ec
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_managed_instance_vulnerability_assessments_operations.py
b81f57346b44a5fb1b5e3a63d654f6f168e9144d
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
21,802
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
70dea9681850a7d8176cc8fc66d927d5f1513732
d9b48edd175aadbacf47c94872217b652e3a0add
/cvxpy/reductions/cone2cone/approximations.py
d4d8bff936acd93d4cb10a9c3aa978eb58ae6b55
[ "Apache-2.0" ]
permissive
Fage2016/cvxpy
106149f5f9a1b9bb957f41ecdca72194c4d065c3
2a23c109e49577d8da4b97bbf6c866400da105c4
refs/heads/master
2023-08-03T21:28:48.143370
2023-03-08T20:53:07
2023-03-08T20:53:07
86,796,794
0
0
Apache-2.0
2023-03-18T04:56:08
2017-03-31T08:31:20
C++
UTF-8
Python
false
false
7,058
py
""" Copyright 2022 the CVXPY developers 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, so...
[ "noreply@github.com" ]
Fage2016.noreply@github.com
29b762ec133fdade4911774d3363521b2f7f9ba4
3a5c7d812fac93b4a2543a36a07149f864d4ed0b
/Hmm/hmm_new/2H.py
59a37551d7613858f64e6cebb22695e8f0e26a66
[ "MIT" ]
permissive
MrAlexLemon/GeneratorOfPoems
d54a17476cd3cc581f0bcc03865d5adb7e1063df
467f798153fed967c9c5994c9a796b90d565f597
refs/heads/master
2020-04-23T08:36:43.411172
2019-02-16T19:30:45
2019-02-16T19:30:45
171,042,939
0
0
null
null
null
null
UTF-8
Python
false
false
8,861
py
from HMM import unsupervised_HMM from Utility import Utility import re import copy def unsupervised_learning(n_states, n_iters): ''' Trains an HMM using supervised learning on the file 'ron.txt' and prints the results. Arguments: n_states: Number of hidden states that the HMM should have....
[ "lileynuk@gmail.com" ]
lileynuk@gmail.com
e578ca55d3417235a395630d3703b4a15be034e3
0d16ed8dffd7b951abd66bf895c254749ed8195a
/Lab4_Data_Structure__And_Iternation/List_questions/Three_largest_Four_smallest.py
d88b064b48df1c3232635c99c3140107e8c2ceb9
[]
no_license
sanjiv576/LabExercises
1cfea292e5b94537722b2caca42f350ab8fc7ab8
ef5adb4fbcff28162fe9e3e80782172b93127b33
refs/heads/master
2023-07-22T08:13:04.771784
2021-08-17T12:23:21
2021-08-17T12:23:21
372,397,796
1
0
null
null
null
null
UTF-8
Python
false
false
275
py
# Write a Python program to get the largest number from a list. # Write a Python program to get the smallest number from a list. ThreeFour = [23,11,5,12,4] print(max(ThreeFour)) # max() gives the largest number of the list print(min(ThreeFour)) # min() gives the smallest
[ "83968516+sanjiv576@users.noreply.github.com" ]
83968516+sanjiv576@users.noreply.github.com
36e937ed9a02e89828503fe4075624dadcde6ed4
bf3bc3abdb7b2660c02bc1375ba146461b188364
/modules/loto/loto.py
7328f3cabee6872a53226de8c3ab6bb8d672bf29
[]
no_license
JeremyMet/matrix_bot
39a3d942ad091f49445b5e5bcd8600175c919b8f
be76fb8276d031dc796ce3c329c871ec8854c30b
refs/heads/master
2023-05-13T00:36:39.384341
2021-05-01T19:44:03
2021-05-01T19:44:03
143,750,633
0
0
null
2023-05-01T22:16:13
2018-08-06T15:49:40
Python
UTF-8
Python
false
false
7,150
py
import json; import random; import datetime; from collections import namedtuple; import os.path import pickle Draw_Time = namedtuple("Draw_Time", "hour minute"); class loto(object): pt_table = {} ; pt_table[0] = 0 ; pt_table[1] = 1 ; pt_table[2] = 5 ; pt_table[3] = 75 ; pt_table[4] = 3400 ; ...
[ "metairie.jeremy@gmail.com" ]
metairie.jeremy@gmail.com
dc2c1061b024a7d9902210c6ee216bf9908e7be1
1511bc3e1dac288855e0757f199e5f505afb8e6c
/Senior(2018-2019)/Python/Chapter 4/P4.3-B.py
42a71b3597b3d64dcf32077b45bf2392ed09c958
[]
no_license
jakelorah/highschoolprojects
a629fa36cc662c908371ad800b53bbdb2cc8390f
dfe8eec9894338933ce4eb46f180d7eeadd7e4d3
refs/heads/main
2023-02-26T03:01:55.570156
2021-01-31T19:05:41
2021-01-31T19:05:41
308,147,867
1
0
null
null
null
null
UTF-8
Python
false
false
267
py
#Name: Jake Lorah #Date: 10/18/2018 #Program Number: P4.3-B #Program Description: This program prints every second letter of the string. #B: string = input("Please enter a string: ") n = len(string) for n in range (1, n, 2) : print(string [n])
[ "jlorah@highpoint.edu" ]
jlorah@highpoint.edu
202bff332bc7441a918f1a1ed187ec533a4b32cf
04bae28a2eefc1db77097a94af558d3df6a1e713
/20191009/Deblur_GAN/deblurgan/losses.py
c5c6dfc84d0af0c2ed18a1f853911c052d194acb
[]
no_license
Armida220/DIPHomeWork
8fc56df852fdedf26ef852ca2cc62f7be4067005
1753c1ad9783aba8a5402c98421d1126d5081aaf
refs/heads/master
2020-11-26T06:10:24.752413
2019-10-31T08:11:08
2019-10-31T08:11:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
import keras.backend as K from keras.applications.vgg16 import VGG16 from keras.models import Model import numpy as np # Note the image_shape must be multiple of patch_shape # image_shape = (256, 256, 3) image_shape = (1024, 1024, 3) def l1_loss(y_true, y_pred): return K.mean(K.abs(y_pred - y_true)) def percep...
[ "754037927@qq.com" ]
754037927@qq.com
fb2ac13cd6ae9f98927d9133160b287216fab5b2
2d7c21a793c8080a090ce8c9f05df38f6477c7c7
/creator/referral_tokens/apps.py
1e50dca4c827c703ff396ac486c4cdb4d6185f08
[ "Apache-2.0" ]
permissive
kids-first/kf-api-study-creator
c40e0a8a514fd52a857e9a588635ef76d16d5bc7
ba62b369e6464259ea92dbb9ba49876513f37fba
refs/heads/master
2023-08-17T01:09:38.789364
2023-08-15T14:06:29
2023-08-15T14:06:29
149,347,812
3
0
Apache-2.0
2023-09-08T15:33:40
2018-09-18T20:25:38
Python
UTF-8
Python
false
false
104
py
from django.apps import AppConfig class ReferralTokensConfig(AppConfig): name = "referral_tokens"
[ "xzhu.fg@gmail.com" ]
xzhu.fg@gmail.com
16c9a46a2c9d733a15e6609b93e0c2dda7c13452
12a6a68913fa5772973af9b2b2c4c90bc0656a57
/assignment03/mdp-simulator/ai982-mdp/utilities.py
5ec736a82ac011e00107bc86d94110542ff535c6
[]
no_license
homasms/AI_projects
42b944166617f76a106edcafe7d940dd240be0b1
c66c2e6c7e1965e6579b9ed849b7d6415c6e5e9a
refs/heads/master
2023-06-01T05:03:27.160197
2021-06-10T14:28:36
2021-06-10T14:28:36
276,040,644
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
import enum class Actions(enum.Enum): N = 1 W = 2 S = 3 E = 4 EXIT = 5 def initialize_world_parameters(world_type): if world_type == 'smallWorld': return (3, 3), {(0, 2): 1, (1, 2): -1} if world_type == 'largeWorld': return (10, 10), {(0, 9): 1, (1, 9): -1}...
[ "homasemsarha@yahoo.com" ]
homasemsarha@yahoo.com
78f30f4848d93d075ba4bebcbc215dde6d0351fd
f777be3ca7cfe3c4ac24a1f962ea4c4d4e0aada3
/testing.py
b672b936e7b0c0fe9bbfe3fdaf65b82198dabdb3
[]
no_license
rogelio08/text_based_story
ab7419865b34c6c1b47f87fc768a02eddcc5c2ea
e7c646335ead1cf552e382dff3025157b4540ecf
refs/heads/master
2023-07-02T03:49:46.080875
2021-08-08T05:07:09
2021-08-08T05:07:09
393,861,497
0
0
null
null
null
null
UTF-8
Python
false
false
10,411
py
import sys import time #I changed this a = 2 b = 0.2 # slower time between characters getting spaced out c = 0.08 # quicker time between characters getting printed def intro(): print("\n") time.sleep(a) string_1 = '"Very well, remember to answer truthfully... Or don\'t, either way you\'ll pro...
[ "noreply@github.com" ]
rogelio08.noreply@github.com
6388a2abfd90b416b71fb102e7f2bdc93ad8f6ca
23da742e7b7fd998f499abda3d26d4a8689f681f
/split_list.py
3b3f52e747e063226bbd99bd7574ca6f7c7cdadf
[ "Apache-2.0" ]
permissive
JustDoItGit/daily_utils
57c25f7beb57f887d69e1244ecac518e0f357d63
503937f284bca021e10a11d846dfae2fcae808d8
refs/heads/master
2023-01-22T04:34:31.114116
2020-12-04T05:28:30
2020-12-04T05:28:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
def split_list(ls, num): """ 拆分list :param ls: 带截取的列表 [0, 1, 2, 3, 4, 5, 6] :param num: 除最后一个列表之外其他列表长度 3 :return: 所有拆分的列表 [[0, 1, 2], [3, 4, 5], [6]] """ a = len(ls) if a <= num: return [ls] quotient = a // num # 商 remainder = a % num # 余数 res_split = [] for i ...
[ "noreply@github.com" ]
JustDoItGit.noreply@github.com
5accaca4d79de6e89aeddb67971165259bec460b
7a866c210bba93fa33e02305e221338541d6ec9b
/Direction JOL/Timed JOL/Output/Merged/EX2_conf_plots.py
912af24af1f000dedf77b86d611584c4bba457a1
[]
no_license
npm27/Spring-2019-Projects
afbb6d3816e097b58f7d5032bc8d7563536a232a
52e0c1c4dc3de2e0399e5391dd2c8aff56754c1c
refs/heads/master
2021-12-20T01:01:11.218779
2021-12-08T14:49:18
2021-12-08T14:49:18
168,214,407
0
0
null
null
null
null
UTF-8
Python
false
false
2,075
py
##set up import pandas as pd import numpy as np import matplotlib.pyplot as plt dat = pd.read_csv("Delayed conf.csv") #JUST NEED TO ADD DATA dat['diff'] = dat['Upper'].sub(dat['Lower']) dat['diff2'] = dat['diff'].div(2) ##make subsets datF = dat[dat['Direction'] == 'F'] datB = dat[dat['Direction'] == 'B'] datS = dat...
[ "35810320+npm27@users.noreply.github.com" ]
35810320+npm27@users.noreply.github.com
68b259649181c54eea9faebc337711ab016af534
5c4289608693609de3d755674cba53b77cbc4c69
/Python_Study/2课堂练习/Python基础班/06_名片管理系统/cards_main.py
32a8e9caa251e2f2c3000e3de1f3a1e6e5ad5bcf
[ "Apache-2.0" ]
permissive
vipliujunjie/HouseCore
95892e632f840f22715d08467d6610195d562261
e9fa5ebc048cbede7823ac59a011a554bddf8674
refs/heads/master
2021-02-05T13:09:43.962224
2020-02-28T14:46:26
2020-02-28T14:46:26
243,783,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
#! /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 import cards_tools # 无限循环 由用户决定什么时候退出循环 while True: # TODO(刘俊杰) 显示功能菜单 cards_tools.show_menu() action_str = input("请输入希望执行的操作:") print("您选择的操作是【%s】" % action_str) # [1,2,3] 针对名片的操作 if action_str in ["1", "2", "3"]: # 判断在指定列表内...
[ "1520997065@qq.com" ]
1520997065@qq.com
6557c40afa926f83bc0721834c9ee2d158e8fd46
0d0988d2afeba6539ab3802f0cac9a25ff862076
/metodosConjuntosSTR.py
f42cea1cbd2300014f65169bbb193579f1ddd1e4
[]
no_license
alexisflores99/Repo-for-Python
a5e967c17c0938dc5a8e91db2a6ea7302e2cd109
d4339edcee3d2b1f57129df8059eb32c41ce4864
refs/heads/master
2023-04-18T18:43:06.864806
2021-05-02T04:05:41
2021-05-02T04:05:41
363,562,129
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# set_conjunto1 = set({1,2,3,4}) # set_conjunto1.add(5) # print(set_conjunto1) #************************************ # set_conjunto = set({1.0, "Auto", True}) # otro_conjunto = set_conjunto.copy() # set_conjunto == otro_conjunto # print(otro_conjunto) #************************************ # paquete = set({"Hola",2 ,3...
[ "hector.flores6@unmsm.edu.pe" ]
hector.flores6@unmsm.edu.pe
6affbb678c0509cdb3dd5674c2edb67dd98dcb75
e53d920751b86ae09a16913c7531a806c334265f
/mmdet3d/ops/furthest_point_sample/points_sampler.py
9a3bd2ae42d625cc19355492246d4967a8e96b92
[ "Apache-2.0" ]
permissive
destinyls/mmdetection3d
e959e4a1a9316b385cec73a654bc8a016cb43a02
f2247c2471dbb429512353b3f0802f839655dd16
refs/heads/master
2023-03-20T21:12:32.105859
2023-01-24T01:45:12
2023-01-24T01:45:12
279,744,471
1
1
Apache-2.0
2020-07-15T02:42:54
2020-07-15T02:42:53
null
UTF-8
Python
false
false
5,373
py
import torch from mmcv.runner import force_fp32 from torch import nn as nn from typing import List from .furthest_point_sample import (furthest_point_sample, furthest_point_sample_with_dist) from .utils import calc_square_dist def get_sampler_type(sampler_type): """Get the typ...
[ "noreply@github.com" ]
destinyls.noreply@github.com
230c05c7d30324adcb69a3442767523215dea7ec
a56252fda5c9e42eff04792c6e16e413ad51ba1a
/resources/usr/local/lib/python2.7/dist-packages/sklearn/metrics/cluster/supervised.py
31d1a45b74047c04f16b5e95a5fec55fca7b256f
[ "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
26,696
py
"""Utilities to evaluate the clustering performance of models Functions named as *_score return a scalar value to maximize: the higher the better. """ # Authors: Olivier Grisel <olivier.grisel@ensta.org> # Wei LI <kuantkid@gmail.com> # Diego Molla <dmolla-aliod@gmail.com> # License: BSD 3 clause fr...
[ "szarate@dnanexus.com" ]
szarate@dnanexus.com
26d03fcefa5d70539bb6d822b5978722de681a0c
a9e578a66a4706dedf83838ec3288adb893e57fd
/src/impute.py
e82f2af49047a8a2aa131493f61070eb732b20a6
[]
no_license
jgondin/predict-water-pump-failure
4e741c9385717c9f802e7ccc5fbc1c5032b81129
73d7664fb6b0ab605b6b3d6605ede256a56024fa
refs/heads/master
2020-12-25T17:16:36.944533
2016-07-09T22:53:14
2016-07-09T22:53:14
62,754,230
1
0
null
2016-07-06T21:22:52
2016-07-06T21:22:52
null
UTF-8
Python
false
false
13,041
py
import pandas as pd #import matplotlib.pyplot as plt #import statsmodels.api as sm #import seaborn as sbrn import numpy as np #import re #import trainetime import pickle #from collections import OrderedDict #import sklearn def imputeTrain(trn): """ Input: Training dataset Output: Returns copy of imputed trainin...
[ "ashirwad08@yahoo.com" ]
ashirwad08@yahoo.com
1ad67f537ad7c367ceee20cd2b88f9124ff2566a
6971681df75216216f4b0a196b49077361ed6829
/src/olympia/migrations/335-perms-locales.py
6e210baccd4f36e7d0b22701cea1f573819fb9dc
[ "CC-BY-3.0", "CC-BY-NC-4.0", "CC-BY-4.0", "CC-BY-ND-3.0", "CC-BY-NC-ND-3.0", "CC-BY-SA-3.0", "CC-BY-NC-3.0", "CC-BY-NC-ND-4.0", "CC-BY-NC-SA-3.0" ]
permissive
piyushmittal25/addons-server
fb6eafc2c1239608c435e3afc7a6bd3db3e38e77
1527d1542f0e025940b7b370bf98350869737e2f
refs/heads/master
2020-03-18T21:44:06.420678
2018-05-29T11:08:31
2018-05-29T11:08:31
130,405,465
0
0
BSD-3-Clause
2018-04-23T10:56:40
2018-04-20T19:29:28
Python
UTF-8
Python
false
false
1,140
py
from django.conf import settings from access.models import Group, GroupUser LANGS = sorted(list( set(settings.AMO_LANGUAGES + settings.HIDDEN_LANGUAGES) - set(['en-US']))) def run(): Group.objects.create(pk=50006, name='Senior Localizers', rules='Locales:Edit') for idx, lo...
[ "chudson@mozilla.com" ]
chudson@mozilla.com
468ec6b362681d9a3018b5f0182ef31622ef30b1
1b0a729f6e20c542a6370785a49c181c0675e334
/main.py
35fb3f77ad0ea393411e9e0c57d85315d85bd310
[]
no_license
fans656/mint-dev
68125c4b41ab64b20d54a2b19e8bf0179dc4636b
408f6f055670b15a3f3ee9c9ec086b1090cce372
refs/heads/master
2021-05-04T11:43:44.740116
2016-09-07T13:43:44
2016-09-07T13:43:44
45,515,119
3
1
null
null
null
null
UTF-8
Python
false
false
239
py
from mint import * from mint.protocols.test import Retransmit a, b, c = Host(), Host(), Host() s = Switch() link(a, s.tips[0], 1) link(b, s.tips[1], 2) #link(c, s.tips[2], 3) a += Retransmit() a.send('hi') #b.send('me').at(5) start()
[ "fans656@yahoo.com" ]
fans656@yahoo.com
a66207933164a09184cfbafd8103be05a5840217
204833b06d6b62a66cf60c966835d0876f84432e
/Constants.py
ee09c1a8cfc4c6f068b2057c868b723727983bbc
[]
no_license
dariodematties/Dirichlet
d03a9067bcedd882f9e3421dc5a35c592da0c360
7a69ea351e64110b699290268379b6ef2fc86e4b
refs/heads/master
2018-11-10T11:02:49.439077
2018-08-21T17:37:26
2018-08-21T17:37:26
109,689,246
1
1
null
null
null
null
UTF-8
Python
false
false
32
py
ENABLE_RANDOM_BEHAVIOUR = True;
[ "dariodematties@yahoo.com.ar" ]
dariodematties@yahoo.com.ar
8dcb22ca5cfbfea727ccfbf086dcd7217f807a28
e5487abf1270a8b14f003c444b199483c6d825d2
/Code/lambda/skill_env/bin/rst2s5.py
28d30c28e7838663dfad221a9f679ae1e398e04c
[]
no_license
tmoessing/Coin-Collector
8828c789da2fa7a46fbfc741487d1a6dc533c7c8
c5e9dccee6ed393c81db7350bdab89111033ac33
refs/heads/master
2020-11-26T01:23:03.131189
2019-12-18T21:02:07
2019-12-18T21:02:07
223,520,354
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
#!c:\users\tmoes\appdata\local\programs\python\python36\python.exe # $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Chris Liechti <cliechti@gmx.net> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML slides using the S5 templa...
[ "tmoessing@gmail.com" ]
tmoessing@gmail.com
ad42586e96c02a379336285a2bc1b60cb0230dec
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/containerinstance/v20180401/container_group.py
393f32a489204ca350e64cfea46921dc0a2db827
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,452
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, overload from ... import _utilities fro...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
17edec3a0cbd5397bc360dc2289f7aa23fef2f2b
02122ec38633c178ced34d8a027addc919b4c200
/Nutrients/api/urls.py
757826e0b86fe90b0ab82e9e332d35f5dd0ee419
[]
no_license
SIBU99/serverCVKM
07907b3c416892bcc432b9317506927112750a93
8182f2274216016a15a2a98ea5a31d7e05222ed5
refs/heads/master
2023-01-12T10:19:54.966211
2020-11-10T08:33:41
2020-11-10T08:33:41
311,407,784
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
from django.urls import path from .views import NutrientExamination urlpatterns = [ path("nutrient-examination/", NutrientExamination.as_view(), name="nutrient-examination"), ]
[ "kumarmishra678@gmail.com" ]
kumarmishra678@gmail.com
a006f031a6bef10a643b1366ee30edb96ede4562
7e40fdb15a67e3b53162bbcd2b1f091805837d9f
/article/migrations/0006_auto__add_newslettermain.py
ee4e4c7d24923010ed32341a3a741fa9e7bb03f5
[]
no_license
brentcappello/newsdub
79a5eecd92dcaf44aa07314eedbc7d5183683689
cdfc6619cc8b89bc224100e913cb85378d0d8cea
refs/heads/master
2016-09-01T20:53:07.784968
2012-11-15T02:53:41
2012-11-15T02:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,992
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 model 'NewsletterMain' db.create_table('article_newslettermain', ( ('id', self.gf('djan...
[ "brent@gmail" ]
brent@gmail
a56825bd2f75c83393aad08f9a63136c9a6cd561
393f30495e9cecebd6f8950d51b10c0817ed7d28
/venv/task2_10.py
ad6a65bf495eaffc67787979cd14e929bce47380
[]
no_license
Skornel/NNGASU_Domrachev_Python
8f741d99a9b689e4c09a739ff42b0648da0cf24c
9a996925ca6729178b7a439025508aad72d633ae
refs/heads/master
2020-12-19T15:36:24.546269
2020-04-13T15:48:24
2020-04-13T15:48:24
235,776,259
1
0
null
null
null
null
UTF-8
Python
false
false
596
py
s=[] for i in range(4): b=[] print("Введите данные ",i+1," списка") for row in range(4): print("Вводи ",row+1," элемент ",i+1," списка ") b.append(input()) s.append(b) print(s) maximum=0 minimum=1000 for i in range(len(s)): for j in range(len(s[i])): if int(s[i][j])>int(maxim...
[ "Suslova2907@gmail.com" ]
Suslova2907@gmail.com
42e1c516f36f4fbc2863cfbb85713138553946f4
e62ade72c9808b806a523a73908fa1032b10f9fc
/AlgorithmPrograms/InsertionSort.py
42bdf35e24078997b64c895332640f2b507087c1
[]
no_license
manjumugali/Python_Programs
40b0b77586cc20d1f77b6035cdc67f62b5e9955e
06934cb8037594dd4269f8c2fee3d301c27f624f
refs/heads/master
2020-04-17T06:54:55.571579
2019-02-13T04:37:25
2019-02-13T04:37:25
166,344,863
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
""" ****************************************************************************** * Purpose: Reads in strings from standard input and prints them in sorted order.Uses insertion sort. * * @author: Manjunath Mugali * @version: 3.7 * @since: 16-01-2019 * ***************************************************************...
[ "manjumugali111@gmail.com" ]
manjumugali111@gmail.com
6316d5bbf61b883c8a1230ade79e25d1b8b68ce4
8b4521c046779bee7f0499d73e183851f198af14
/server.py
b5d0f09fbb907e26b62a438d288a204612cc22b5
[]
no_license
sugrospi/RPSLS
80fa53a88f1531af03809716c44f10a937a125e4
1c50c9b3019dcc8f244f6ae2d1cba87d409bbd56
refs/heads/master
2023-07-24T15:21:35.423381
2021-09-07T15:13:47
2021-09-07T15:13:47
403,999,856
0
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
import socket from _thread import * import pickle from game import Game server = "IP_ADDRESS" port = 5555 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: s.bind((server, port)) except socket.error as e: str(e) s.listen(2) print("Waiting for a connection, Server Started") connected = set() games ...
[ "s.shaggypi@gmail.com" ]
s.shaggypi@gmail.com
2f42da8393cd536ef56b1a0bef15efe947177b66
d83118503614bb83ad8edb72dda7f449a1226f8b
/src/dprj/platinumegg/app/cabaret/views/mgr/model_edit/trade_shop.py
d402834b28b5ad1f8056bc5d4ec9eec808d29ae6
[]
no_license
hitandaway100/caba
686fe4390e182e158cd9714c90024a082deb8c69
492bf477ac00c380f2b2758c86b46aa7e58bbad9
refs/heads/master
2021-08-23T05:59:28.910129
2017-12-03T19:03:15
2017-12-03T19:03:15
112,512,044
0
0
null
null
null
null
UTF-8
Python
false
false
2,156
py
# -*- coding: utf-8 -*- from platinumegg.app.cabaret.views.mgr.model_edit import AdminModelEditHandler,\ AppModelForm, ModelEditValidError, AppModelChoiceField from defines import Defines from platinumegg.app.cabaret.util.api import BackendApi from platinumegg.app.cabaret.models.TradeShop import TradeShopMaster, Tr...
[ "shangye@mail.com" ]
shangye@mail.com
47b2fcaa1e74c97b42be077420a4335f38b24f8d
a7ff1ba9437204454c6b8639e99b007393c64118
/synapse/tools/aha/enroll.py
a643a485268842bbc531afab92dd9b5e8bf84112
[ "Apache-2.0" ]
permissive
vishalbelsare/synapse
67013933db31ac71a4074b08a46b129774f63e47
a418b1354b2f94e32644ede612c271a6c362ccae
refs/heads/master
2023-09-01T10:45:34.439767
2022-05-13T21:07:20
2022-05-13T21:07:20
164,022,574
0
0
Apache-2.0
2022-05-15T07:45:07
2019-01-03T21:01:32
Python
UTF-8
Python
false
false
2,609
py
import os import sys import asyncio import argparse import synapse.common as s_common import synapse.telepath as s_telepath import synapse.lib.output as s_output import synapse.lib.certdir as s_certdir descr = ''' Use a one-time use key to initialize your AHA user enrivonment. Examples: python -m synapse.tools...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
b27a50e038b03e30c82265c12688de6cc9a21df9
0ac34d1fad3ed7e18b3803a25878a8e3d74a259e
/messages_app/forms.py
39b210591b39588f92dd76cf69d3813ca820b149
[]
no_license
predictnonprofit/PredictME-WebApplication
b20a35a3ca9fcd0f8349cca83a75576afe96841c
557864cf9b98188478b9661cba23477d3e16ff85
refs/heads/main
2023-08-12T12:01:53.865143
2021-10-06T18:40:01
2021-10-06T18:40:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
# -*- coding: utf-8 -*-# from django.forms import ModelForm from .models import MemberMessages class MemberMessagesForm(ModelForm): class Meta: model = MemberMessages fields = ('sender', 'subject', "other_subject", "attachment", 'message', "reply")
[ "ibm_luq95@yahoo.com" ]
ibm_luq95@yahoo.com
07ed4b9273137675fff9b21384eac1a28eb95b43
137524b533472fd4b2752078e0a6d7f4c0fcf2d7
/tasksLab1/task2/TaskC.py
fcb64df58dd9a0784cd9d4db227026f85e35aa2e
[]
no_license
blazejmichal/inteligencja-obliczeniowa
8666869c227006fdae5dc1ab3a1b549c1db91548
4ffef53cddd82711d559eafd5c9d47e09c0e048d
refs/heads/master
2023-02-17T05:42:43.522395
2021-01-17T16:09:34
2021-01-17T16:09:34
319,463,135
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
import matplotlib.pyplot as plt import csv class Task2c: def __init__(self): pass @staticmethod def execute(): x = [] y = [] with open('miasta.csv') as csvfile: reader = csv.DictReader(csvfile) for column in reader: x.append(column...
[ "Blazej@DESKTOP-P8SE49K" ]
Blazej@DESKTOP-P8SE49K
ace388a41b74682d643ef7c6c7176d8cf1f6b831
3a5d8cdc7ac14c389fd9426f3f39c3b1dc906dda
/nautobot/extras/tests/test_jobs.py
e04668889b1dffc9a3853d2e190027a5f793514f
[ "Apache-2.0" ]
permissive
nammie-punshine/nautobot
f3cdb9d269c37a74706c105d237b883650f10465
d6227b211ad89f25233a8791937cd75092421c8a
refs/heads/main
2023-03-08T10:51:29.437859
2021-02-24T20:44:32
2021-02-24T20:44:32
342,080,836
0
0
Apache-2.0
2021-02-25T01:01:36
2021-02-25T01:01:36
null
UTF-8
Python
false
false
1,970
py
import os import uuid from django.conf import settings from django.contrib.contenttypes.models import ContentType from nautobot.extras.choices import JobResultStatusChoices from nautobot.extras.jobs import get_job, run_job from nautobot.extras.models import JobResult from nautobot.utilities.testing import TestCase ...
[ "lampwins@gmail.com" ]
lampwins@gmail.com
0829499a37fc13ac636386433fe887068436789a
b8ab0e1ac2634741a05e5fef583585b597a6cdcf
/wsltools/utils/faker/providers/date_time/fil_PH/__init__.py
42a736439193745ecd672678cc198a9d48ef49e4
[ "MIT" ]
permissive
Symbo1/wsltools
be99716eac93bfc270a5ef0e47769290827fc0c4
0b6e536fc85c707a1c81f0296c4e91ca835396a1
refs/heads/master
2022-11-06T16:07:50.645753
2020-06-30T13:08:00
2020-06-30T13:08:00
256,140,035
425
34
MIT
2020-04-16T14:10:45
2020-04-16T07:22:21
Python
UTF-8
Python
false
false
829
py
from .. import Provider as DateTimeProvider class Provider(DateTimeProvider): """Provider for datetimes for fil_PH locale""" DAY_NAMES = { '0': 'Linggo', '1': 'Lunes', '2': 'Martes', '3': 'Miyerkules', '4': 'Huwebes', '5': 'Biyernes', '6': 'Sabado', ...
[ "tr3jer@gmail.com" ]
tr3jer@gmail.com
b3cffcaaac0bef8d65f8fdbae1aa31e4b48f15ed
2a1b8a671aceda6bc446f8ce26400aa84fa444a6
/Packs/FiltersAndTransformers/Scripts/JoinIfSingleElementOnly/JoinIfSingleElementOnly.py
c91e49454d83bdef53b8f6eeabbd9dcc16b073fc
[ "MIT" ]
permissive
demisto/content
6d4722d46f0ff0beea2748e9f7de585bf91a78b4
890def5a0e0ae8d6eaa538148249ddbc851dbb6b
refs/heads/master
2023-09-04T00:02:25.618032
2023-09-03T21:56:22
2023-09-03T21:56:22
60,525,392
1,023
1,921
MIT
2023-09-14T20:55:24
2016-06-06T12:17:02
Python
UTF-8
Python
false
false
466
py
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 def return_first_element_if_single(value): res = value if isinstance(value, list): if len(value) == 1: res = value[0] return res def main(): # pragma: no cover value = demisto.args()["valu...
[ "noreply@github.com" ]
demisto.noreply@github.com
8d80bf9946e1f8e66795f476eeb0e9382bf7ca7d
0c70dcec22a090e70b1f20613ea6e0a64fd9a037
/GPS卫星位置的计算/venv/Lib/site-packages/pandas/core/arrays/boolean.py
071e1ce42914a78c713b3948405141a7734c0ce1
[ "MIT" ]
permissive
payiz-asj/Gis
82c1096d830878f62c7a0d5dfb6630d4e4744764
3d315fed93e2ab850b836ddfd7a67f5618969d10
refs/heads/main
2023-06-27T15:25:17.301154
2021-08-03T10:02:58
2021-08-03T10:02:58
392,269,853
1
1
null
null
null
null
UTF-8
Python
false
false
25,132
py
import numbers from typing import TYPE_CHECKING, List, Tuple, Type, Union import warnings import numpy as np from pandas._libs import lib, missing as libmissing from pandas._typing import ArrayLike from pandas.compat import set_function_name from pandas.compat.numpy import function as nv from pandas.core....
[ "1778029840@qq.com" ]
1778029840@qq.com
40830d2e202a0447d24f36b58b901c90eba955bd
d1e3399db6973d639082bd24865bc0df538c0d8d
/ricommender_backend/settings.py
a51b80864b9dc2f358ec683a497db12f165cc5bd
[ "MIT" ]
permissive
reeechart/ricommender
a0c505f8eab6b7c381a41b919d3f5c3da02f61a2
c5cdf1cb9db27b9fc4a2553aee2b705b9ad0b95a
refs/heads/master
2020-04-22T12:13:35.198868
2019-05-12T16:42:25
2019-05-12T16:42:25
170,365,307
0
0
null
null
null
null
UTF-8
Python
false
false
3,359
py
""" Django settings for ricommender_backend project. Generated by 'django-admin startproject' using Django 2.1.3. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ ...
[ "ferdinandusrichard@yahoo.co.id" ]
ferdinandusrichard@yahoo.co.id
b1cbde3a104f2e0b81d5ab63350c31dd2307980a
0a4432a13600e025937af3b2554ae048321a50bb
/sphinx/conf.py
e717ad87e5ed58f5acf5bbcd3588642b18e4451a
[ "Apache-2.0" ]
permissive
PourroyJean/ProgrammingNote
343c6a7fa3324b85cb7ed88e1bb794599d645c80
33fc7e64b3e5f44d1acde266df280f944d56674b
refs/heads/master
2023-01-08T17:52:39.833582
2020-06-09T08:09:08
2020-06-09T08:09:08
87,910,140
2
0
Apache-2.0
2022-12-27T15:01:06
2017-04-11T08:35:30
Jupyter Notebook
UTF-8
Python
false
false
4,880
py
# -*- coding: utf-8 -*- # # Notes Jean documentation build configuration file, created by # sphinx-quickstart on Fri May 12 14:54:18 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # ...
[ "jean@Nano-ubuntu-VM.ielbyy3bjwuuredtcfjnooi3gd.ax.internal.cloudapp.net" ]
jean@Nano-ubuntu-VM.ielbyy3bjwuuredtcfjnooi3gd.ax.internal.cloudapp.net
40d836471602038f8e490438807b48014491d9e2
df97d5b25d40b54e0714ed9c0a6dd7a579011e2e
/mikadocms/flikr_grabber.py
966050a532ec3be0269d2f1bc60375d21d2ae39b
[]
no_license
mikadosoftware/mikadoCMS
90ac1910b06f32bc3e808d1df656ba38a30e781c
7bb1ca4f66b74d4529a601540e1bf469f44d3b01
refs/heads/master
2021-01-17T00:20:34.489198
2018-06-13T15:27:53
2018-06-13T15:27:53
8,103,422
0
0
null
2013-05-03T23:07:59
2013-02-08T23:27:27
JavaScript
UTF-8
Python
false
false
2,740
py
#!/usr/bin/env python #! -*- coding: utf-8 -*- ### Copyright Paul Brian 2013 # This program is licensed, without under the terms of the # GNU General Public License version 2 (or later). Please see # LICENSE.txt for details ### """ :author: paul@mikadosoftware.com <Paul Brian> Flikr.com provides a useful outle...
[ "paul@mikadosoftware.com" ]
paul@mikadosoftware.com
5dfb79becde51feb01c67400ff548446d6963775
0cb38adedbe3a5192076de420e1aa0fd10ae3311
/return_merchandise_authorizations/admin.py
213dea63a59221b56ba699e6a457f59ff5076d67
[]
no_license
fogcitymarathoner/rma
73ada816b98f068b6c00b2e1fcf39461259453fa
133d6026f99820d0702f0578b8a3b4574671f888
refs/heads/master
2021-01-11T00:32:47.797673
2016-10-10T18:34:54
2016-10-10T18:35:11
70,516,821
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
from django.contrib import admin from return_merchandise_authorizations.models import Rma from return_merchandise_authorizations.models import Item from return_merchandise_authorizations.models import RmaAttachment class ItemInline(admin.TabularInline): model = Item class AttachInline(admin.TabularInline): m...
[ "marc@fogtest.com" ]
marc@fogtest.com
2e2f74124954a3985bfb08d9d40e0bc56bc5fff2
6e373b40393fb56be4437c37b9bfd218841333a8
/Level_6/Lecture_9/enroll/forms.py
a24e95e08208751aa12e95e489b7e6bdfa3638eb
[]
no_license
mahto4you/Django-Framework
6e56ac21fc76b6d0352f004a5969f9d4331defe4
ee38453d9eceea93e2c5f3cb6895eb0dce24dc2b
refs/heads/master
2023-01-22T01:39:21.734613
2020-12-04T03:01:17
2020-12-04T03:01:17
318,383,854
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
from django.contrib.auth.models import User from django import forms from django.contrib.auth.forms import UserCreationForm, UserChangeForm class SignUpForm(UserCreationForm): password2 = forms.CharField(label='Confirm Password (again)', widget=forms.PasswordInput) class Meta: model = User fiel...
[ "mahto4you@gmail.com" ]
mahto4you@gmail.com
9e0d2453761f2903b984c6806664e6a9cfb0d256
acac3cf012920dc027ee4343a2e27f02338b342f
/pattern_matcher/dto/project_dto.py
0f5eca12d949e8f11e254de62cc59310aa4eb2a3
[]
no_license
HYUNMIN-KIM/flask_start
ff60592d27cdc510402b6b18f7c8642db929de44
8897e00dd29e5f7b3db5d1cec6d597a8edb2980e
refs/heads/master
2023-01-19T01:32:27.202743
2020-11-18T03:52:17
2020-11-18T03:52:17
291,651,373
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
""" Project 전체에 대한 DTO 사이즈가 매우 큼 지식관리및학습서버와 대화작업서버간의 데이터 교환을 위해 사용됨 """ from pattern_matcher.dto import triggering_pattern_dto class ProjectDTO: def __int__(self): self.triggering_pattern_dto_list = triggering_pattern_dto() # getter @property def triggering_pattern_dto_list(self): r...
[ "hogay88@wisenut.co.kr" ]
hogay88@wisenut.co.kr
ce174f06a5f69d56fb0614a1766754e87ea39d0d
0a983eebf91ad9a4342c8be92e1223b5d6ac28e1
/setup.py
13acd1717a2d8232655e0886d603d21d4dc7db71
[ "MIT" ]
permissive
davidkwast/db_tools
7bb1c6eeb01be81863e33edc38c60df8b31785b9
6881a3ce1d5bfb8634e01fc797d5e1dec6cd4891
refs/heads/master
2020-03-26T06:03:43.874788
2018-09-04T23:16:18
2018-09-04T23:16:18
144,587,472
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
from setuptools import setup setup(name='db_tools', version='0.0', description='Python database tools', url='https://github.com/davidkwast/db_tools', author='David Kwast', author_email='david@kwast.me', license='MIT', packages=['db_tools'], zip_safe=False)
[ "david@kwast.me" ]
david@kwast.me
9265eec49a0e583e02e5cb8418f517c93695b206
be25988b4b92e16144315b3f3a45bb31c9036d87
/FinalProject.py
a4cc0cff617ba3e9e95bdafd188cff1566c19015
[]
no_license
cormag128/Python_Checkers
c658cd3ce9bbc03e770df6faed5ec1acb83326e1
4068b25a54d195a223c7bf73dfc4d4e18ac6c1cb
refs/heads/master
2021-01-19T21:23:50.391239
2017-05-03T00:58:52
2017-05-03T00:58:52
88,652,979
1
0
null
2017-04-30T19:49:40
2017-04-18T17:38:32
Python
UTF-8
Python
false
false
6,292
py
# Final Project: Checkers AI # Written by Thomas Walters and Trevor Jenkins # The purpose of this project is to demonstrate a complex state-based # program using heuristic programming to create a Checkers AI capable of # beating a human in checkershttps://askubuntu.com/questions/827005/how-to-install-eric-6-on-ubuntu-1...
[ "noreply@github.com" ]
cormag128.noreply@github.com
bb69649a492b5bb2e5ee249630dca2d8b04e8c78
8f1996c1b5a0211474c7fa287be7dc20a517f5f0
/batch/batch/cloud/driver.py
96349e4c4d578c9209d5ffabef4590256096a62d
[ "MIT" ]
permissive
johnc1231/hail
9568d6effe05e68dcc7bf398cb32df11bec061be
3dcaa0e31c297e8452ebfcbeda5db859cd3f6dc7
refs/heads/main
2022-04-27T10:51:09.554544
2022-02-08T20:05:49
2022-02-08T20:05:49
78,463,138
0
0
MIT
2022-03-01T15:55:25
2017-01-09T19:52:45
Python
UTF-8
Python
false
false
936
py
from hailtop import aiotools from gear import Database from gear.cloud_config import get_global_config from ..inst_coll_config import InstanceCollectionConfigs from ..driver.driver import CloudDriver from .azure.driver.driver import AzureDriver from .gcp.driver.driver import GCPDriver async def get_cloud_driver( ...
[ "noreply@github.com" ]
johnc1231.noreply@github.com
c9982973398a7bada2df68e8686fc6deee8ab7a5
3251eb404404da4f2cd49d7a77baf67c928453a2
/src/membership/migrations/0003_coordinator_coordinator_image.py
469ac79a801237f480cb16c68c332d19318926e5
[ "MIT" ]
permissive
gatortechuf/gatortechuf.com
6575abd26ce1382cfcb6255a28e1d202910c86ba
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
refs/heads/master
2020-05-22T06:49:09.580887
2018-02-03T17:42:02
2018-02-03T17:42:02
61,415,657
2
0
MIT
2018-02-03T17:42:03
2016-06-18T03:47:11
Python
UTF-8
Python
false
false
489
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-02-28 18:15 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('membership', '0002_leader_leader_image'), ] operations = [ migrations.AddFiel...
[ "ryandsheppard95@gmail.com" ]
ryandsheppard95@gmail.com
7796231c8f937912e9ccd9dd1399da035526bee6
55c0254b9889235844ca2fcfa5b80e6aedeb4841
/Book_app/wsgi.py
ea116599419347d50d5b310f5c940541109e1334
[]
no_license
AKSHAY-KR99/book_project
a75761a40c544fe4ad38ebcdd01b9d524e5f8ea8
019b316ec97395ac080be86333d7902b7c590271
refs/heads/master
2023-05-30T05:09:12.888518
2021-06-15T11:03:47
2021-06-15T11:03:47
377,130,492
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for Book_app 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "ashayakr4@gmail.com" ]
ashayakr4@gmail.com
2ffa30e97c07a6799d516290ff2c899a4253a39e
eff8f2e795566c7aad10e9e3e7b0ffcafcc19145
/Set_difference().py
727190aca895eb0eb82fe4954ad9530732eca9d6
[]
no_license
Siddu02june/HackerRank-Sets
b27aa2f3679a6f3324d4daa3c5dffe28f08ebed7
a5a3b56d1bfbdd8b58b2df246e397000deaddbf6
refs/heads/main
2023-05-31T08:10:31.756639
2021-06-14T09:24:10
2021-06-14T09:24:10
376,763,510
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
#Set_difference() E = int(input()) English = list(input().split()[:E]) F = int(input()) French = list(input().split()[:F]) print(len(set(English)-set(French))) ''' Input (stdin) 9 1 2 3 4 5 6 7 8 9 9 10 1 2 3 11 21 55 6 8 Your Output (stdout) 4 Expected Output 4 '''
[ "noreply@github.com" ]
Siddu02june.noreply@github.com
6249e0ffb60185954c5323d646f6ee5e4b97a4cc
2be8a9f06d4003d12c0a727fb83d284c31a53050
/HoudiniHotBox17.0/lib/PastFbx.py
a984bb3fb35778efa1d77ea747bb869b4f43016f
[]
no_license
LiuLiangFx/SmileHotBOX
7551d9578b2defe612950cb8e3bffdb85024cede
8bd8eac69b3c2a9824b9aa4488ca77789bea8d85
refs/heads/master
2021-01-01T10:22:26.959731
2020-02-09T03:16:32
2020-02-09T03:16:32
239,236,801
0
0
null
2020-02-09T02:47:18
2020-02-09T02:47:18
null
UTF-8
Python
false
false
3,133
py
import hou class PastFbx: def __init__(self): pass def checkNode(self,node, name,temp1 =0): for childrenNode in node.parent().children(): if childrenNode.name() == name: temp1 =childrenNode return temp1 def checkInput(self,qian,hou1,temp=0): ...
[ "change52092@yahoo.com" ]
change52092@yahoo.com
659788c034719b344f80307e0abf95f56aae99d2
d16f2636a1157fde2eda16064b89dc6299d6c1fa
/main.py
67691a8900c0347a4823718220af8a4e5fbfb262
[]
no_license
razer89/Calculator
a762dd200074c7bd143fe087bf3752b92777f5c1
cd2477c641f9f1ae08f72aea5f93bc5854dc240b
refs/heads/main
2023-07-04T04:09:32.166568
2021-08-10T13:36:09
2021-08-10T13:36:09
382,019,184
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
num1 = int(input("Enter num1: ")) num2 = int(input("Enter num2: ")) action = str(input("Choose action: Add(a), Sub(s), Mult(m) Div(d) ->")) print("The result is ",end="") if action == "a": print(num1+num2) elif action == "s": print(num1-num2) elif action == "m": print(num1*num2) else: print(num1/num2)
[ "49878506+razer89@users.noreply.github.com" ]
49878506+razer89@users.noreply.github.com
7e6dccde1c6ea2ba3cbd360b3009d30db942726a
b1e7481f8b5bf40c2547c95b1863e25b11b8ef78
/Kai/python/modules/JetMETLogic.py
9fdf533765af3ae52ed238853b1aaaeac74dfcea
[ "Apache-2.0" ]
permissive
NJManganelli/FourTopNAOD
3df39fd62c0546cdbb1886b23e35ebdc1d3598ad
c86181ae02b1933be59d563c94e76d39b83e0c52
refs/heads/master
2022-12-22T22:33:58.697162
2022-12-17T01:19:36
2022-12-17T01:19:36
143,607,743
1
1
Apache-2.0
2022-06-04T23:11:42
2018-08-05T11:40:42
Python
UTF-8
Python
false
false
48,234
py
from __future__ import division, print_function import ROOT import math from PhysicsTools.NanoAODTools.postprocessing.framework.datamodel import Collection, Object from PhysicsTools.NanoAODTools.postprocessing.framework.eventloop import Module from PhysicsTools.NanoAODTools.postprocessing.tools import * #DeltaR, match ...
[ "nmang001@ucr.edu" ]
nmang001@ucr.edu
d86790151df1e4863c98a6064062d24f7876ecb4
192cc298bc78889873fc932041c543bdc7b54bbb
/Cashier program.py
05d4371d74c7fd8262e8a02db5d9de3ddfc59112
[]
no_license
winter4w/Cashier-Program
01af06ccbd9d06fa509861e9a57094ad8ed100d6
8126ae412d7de21e95a415b5242508cb6d9df126
refs/heads/master
2020-09-22T16:41:06.845507
2019-12-02T06:59:42
2019-12-02T06:59:42
225,275,559
1
0
null
null
null
null
UTF-8
Python
false
false
2,397
py
import os import time import sys import math class Cashier(): def getDollars(self, a): dol = int(math.floor(a)) return dol def getQuarters(self, a): qua = int(math.floor(a / .25)) return qua def getDimes(self, a): dim = int(math.floor(a / .10)) return dim ...
[ "winter4w@users.noreply.github.com" ]
winter4w@users.noreply.github.com
abb8c70131d77c3c5abbae2840f52ba202b21851
fb56624f35821c0714b516c30831953da8f8d131
/run_fm_exp/scripts/select_params_ps.py
6067d585576b36567a88aa013e419cab74d70423
[]
no_license
jyhsia5174/pos-bias-exp-code
b27e31f6604420afae4aa4f2c9e6161ae7705bc4
913a00e6707482fd2122ec2c957e0dc8ebc3e7cc
refs/heads/master
2022-12-26T20:09:50.893942
2020-10-05T07:23:04
2020-10-05T07:23:04
222,909,534
1
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
import os, sys root = sys.argv[1] flag = 1 if sys.argv[2] == 'auc' else 0 log_paths = [os.path.join(root, f) for f in os.listdir(root) if f.endswith('log')] records = {} for lp in log_paths: records[lp] = [0., 1000., 0.] # iter, min_logloss, max_auc with open(lp) as f: for i, line in enumerate(f): ...
[ "d08944012@ntu.edu.tw" ]
d08944012@ntu.edu.tw
7e41be08a3a77a30cf7becf9259474bda1cdf940
6bde544edbda4291b8fd10533e3ec0cca4855a1f
/problem_2.py
ac9fd9e6bef2503460e546c4ca2608d9b641bf76
[]
no_license
ekdeguzm/project_euler_problem_2
5d2ba3806a1679e188eee293ada334e53f5175bc
6ba89ca7b181236d4c916bd31aeedbb2ceb8665a
refs/heads/main
2023-08-24T23:50:26.581516
2021-09-29T06:57:09
2021-09-29T06:57:09
411,562,145
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
# Probem 2 of Project Euler # Python 3.9.5 # Even Fibonacci numbers # Create Fibonacci list and even Fibonacci list fib_list = [] even_fib_list = [] # Create Fibonacci sequence def fibonacci(n): a, b = 0, 1 for x in range(1, n): a, b = b, a + b return b for i in range(1, 34): fib_list.appen...
[ "noreply@github.com" ]
ekdeguzm.noreply@github.com
50b929b62405be6ed8aacd6a49a420bd9ba63219
23ac56d6e024a69ae9f6f9e471ddefd71c9f0243
/reverse_list.py
3ce059eb10cf84065d68099596ca3be2bda56c8f
[]
no_license
erenat77/data_structure_in_Python
c70538f2c510b5525b230f84f7b455a0524d7313
216b173ab27cbbd3440c783efbd671be47645457
refs/heads/master
2020-08-11T10:16:48.352675
2019-11-05T01:03:07
2019-11-05T01:03:07
214,548,248
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
l = [1,2,5,4,8,9,87,9,9,6,4,5] # recursive solution def rev(l): if len(l)<=1 : return l else: return [l[-1]] + rev(l[:-1]) rev(l) #easy solution print(l[::-1])
[ "noreply@github.com" ]
erenat77.noreply@github.com
d7e5e857f01d9f595c4e22550aeb3ed978f814ef
f7378f4038882c3de627a7d1262790f649f5e89b
/dataset.py
77564e166a38e75ee487cdf75078cb3d77632132
[]
no_license
edui/imogiz-mobileunet
176301a5238b0ab354b2fcf0a666c2820cbc165d
49757428b9fc320211b417450f2e883d9d444225
refs/heads/main
2023-08-10T18:32:55.037061
2021-09-27T22:39:39
2021-09-27T22:39:39
408,748,322
0
0
null
null
null
null
UTF-8
Python
false
false
4,710
py
import random import re from glob import glob import cv2 import numpy as np import pandas as pd from PIL import Image import torch from torch.utils.data import Dataset import torchvision from config import IMG_DIR def _mask_to_img(mask_file): img_file = re.sub('^{}/masks'.format(IMG_DIR), '...
[ "edui.bin@gmail.com" ]
edui.bin@gmail.com
8cfa0564a630a016ac91663a5dbcade279afd639
144b54b91cbd541421c12df1074920c1bd635780
/utils.py
71aca180b475fef8fb48cacb903d2616b5893e9b
[ "MIT" ]
permissive
jajcayn/re_hippocampal_model
777956b93476051202e10c908f419c69e9349c0e
5dc984cec0591d27ed6dedf8e8e2ddd8e07b20c7
refs/heads/main
2023-04-19T05:29:14.064024
2021-04-21T09:37:45
2021-04-21T09:37:45
353,683,773
0
0
null
null
null
null
UTF-8
Python
false
false
3,481
py
""" Helper functions """ import logging from functools import partial from multiprocessing import Pool, cpu_count import matplotlib import matplotlib.pyplot as plt from matplotlib.lines import Line2D from tqdm import tqdm def run_in_parallel( partial_function, iterable, workers=cpu_count(), length=N...
[ "nikola.jajcay@gmail.com" ]
nikola.jajcay@gmail.com
d2d8d1a76517bf0cbfed79f32e7b7f96acb604a2
a7a8e79ba13962d792d9aa1ee758f095083044b9
/gened.py
6eedddca46433cccfb8e35171c9c33fc5f66edd9
[]
no_license
vannjo02/Gen_eds
96744091a8f08504fe68739ecee5e8b7b1b17b4a
5fda16f2531e38358fdfadadf890037c4ad56fe5
refs/heads/master
2021-01-20T09:55:02.222524
2017-05-04T19:15:36
2017-05-04T19:15:36
90,300,687
0
0
null
null
null
null
UTF-8
Python
false
false
2,804
py
from flask import Flask, render_template, request import psycopg2 from flask_bootstrap import Bootstrap import os app = Flask(__name__) Bootstrap(app) conn = psycopg2.connect(os.environ['DATABASE_URL']) print('READY') @app.route('/') def index(): reqlst = ["Human Expression—Primary Texts", "Intercultural", "His...
[ "vannjo02@luther.edu" ]
vannjo02@luther.edu
9ffedfdbb5aa841be3b526cd48ec2b1a4d37799e
459e0f34dfbc818763edf153152711a11c2efbe3
/pythonscript/billing.py
65cc9ddd17973536698c22abf0b14a204bd7a018
[]
no_license
tariqcoupa/experiments
15523c7f60edcb3078169fb9f407915f859ef91d
3323add34d66ebc76d91124c7358abd639d9317a
refs/heads/master
2021-04-05T23:52:21.718538
2018-03-03T12:31:49
2018-03-03T12:31:49
124,418,067
0
0
null
2018-03-08T16:26:12
2018-03-08T16:26:12
null
UTF-8
Python
false
false
566
py
#!/usr/bin/python import SoftLayer import json import sys client = SoftLayer.Client(username='prod.tariq', api_key='53c53cba25872849417fcc1794f9acdeb91c6680f597ddf76488aa4e4d999e51') object_mask = "mask[id]" object_mask2 = """mask[hostname,billingItem.nextInvoiceTotalRecurringAmount]""" user_info = client['Account']....
[ "tarsidd@gmail.com" ]
tarsidd@gmail.com
65e87e100e5ca37ed1bf10f7336709b79e1b9140
b558b4348ff88bb670bf1a318d3c22d48ebf5627
/src/manage.py
7325504ca062609d3ef47b1c19939d4ae8762ec9
[]
no_license
rnjane/Flight-Booking-API
540fe63d47a6ac622633b8560603ce34600857e2
05f974c1f6b3dafe18b7cdc417f11f314271625b
refs/heads/develop
2022-12-10T13:21:57.567096
2019-02-04T11:06:11
2019-02-04T11:06:11
162,910,819
0
0
null
2022-12-08T01:34:12
2018-12-23T17:26:58
Python
UTF-8
Python
false
false
546
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'bookingproject.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Djang...
[ "robert.njane@andela.com" ]
robert.njane@andela.com
0f6b34fbcc11d1d36e1186122b4196348d01de41
15d3a10db27128c06f84c30fa8d64b2e1c629fd9
/express/express/api_exception.py
50d8121033b83ac36e6070744f39d492bda13465
[]
no_license
yiyuhao/exp
7cba6650e3113ba05698f90a7baf75b680dd6435
866a90b2e6f0d113559b0674f514cdd56020f7d6
refs/heads/master
2020-03-19T20:20:04.799355
2018-07-15T14:55:24
2018-07-15T14:55:24
136,897,007
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# -*- coding: utf-8 -* from rest_framework.views import exception_handler def custom_exception_handler(exc, context): # Call REST framework's default exception handler first, # to get the standard error response. response = exception_handler(exc, context) # Now add the HTTP status code to the response...
[ "yiyuhao@mixadx.com" ]
yiyuhao@mixadx.com
a3b8ebb9edc3184f04b98b58d25d2ad29b4d644c
3b21c2a5422dc2b900f65894849e7e2e765fc7cc
/CameraField.py
8e4d25c66f759a3b7ebfd2a2dfdccca52657da95
[]
no_license
mrbhjv/dft_python
2c519dcdb5100511376c35db63c0248628fb9b3e
480fffd81374f37f6a62c362fb551b2021772429
refs/heads/master
2020-04-24T09:04:28.412581
2011-07-21T12:23:47
2011-07-21T12:23:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
import naoqi from naoqi import ALProxy import numpy import DynamicField import math_tools class NaoCameraField(DynamicField.DynamicField): "Camera field" def __init__(self): "Constructor" DynamicField.DynamicField.__init__(self, dimension_bounds = [[40],[30],[15]]) self._vision_proxy ...
[ "mathis.richter@ini.rub.de" ]
mathis.richter@ini.rub.de
d9c4b8a7de6dbd3755b12d629a970ee4b0778798
49197a748adea1618a2cece7a1ae057006da090c
/jgodwin/micro/micro.py
f1132e04bc3d6e7e46ac6817121583f752dcc324
[]
no_license
psava/cwp12
0bbb1f213c66737509280fc4b0ac5c53b52d017a
3f47c1bf358caa5ebe608ab88fc12b85fd489220
refs/heads/master
2021-01-10T21:24:57.572992
2012-10-10T15:52:18
2012-10-10T15:52:18
2,213,082
3
2
null
null
null
null
UTF-8
Python
false
false
17,263
py
from rsf.cluster import * import random,fdmod def getpar(): par = { ############################### # Model/Image dimensions ############################### #'nx':501, 'ox':0, 'dx':0.002, 'lx':'x', 'ux':'km', #'ny':151, 'oy':0, 'dy':0.002, 'ly':'y', 'uy':'km', #...
[ "jgodwin@mines.edu" ]
jgodwin@mines.edu
584b1e5c22490eed08ae277c45d9260ee70e2553
2c7bc4e4289e7146c9a9b0af836fe4069521737a
/第一阶段/基础/第10章 文件和异常/10.3 异常/10.3.9 决定报告哪些错误.py
930fb4760e7056894619e2fdb20480984d046284
[ "Apache-2.0" ]
permissive
kwhua/nihao-
e2da2502cff9e4b0b21770e02d971d7ec857c6fa
0b69b0cda4f57831504d01b51bd2370f436db2b8
refs/heads/master
2022-12-19T04:23:49.757470
2020-09-24T07:53:35
2020-09-24T07:53:35
298,187,993
1
0
null
null
null
null
UTF-8
Python
false
false
922
py
''' 在什么情况下该向用户报告错误呢?在什么情况下又该在失败时一声不吭呢?如果用户知道 要分析哪些文件,他们希望在有文件没有文件等稀释出现一条消息,将其中的原因告诉他们. 如果客户只想看到结果,而不是要分析哪些文件,可能就需要在哪些文件不存在时告知他们. 向用户显示他不想看待的信息可能会降低程序的可用性.Python的错误处理结构让你能够细致地 控制与用户分享错误信息的程度,要分享多少信息由你决定. 编写得很好且经过详尽测试的代码不容易出现内部错误,入语法或逻辑错误,但只要程序依赖 于外部因素,如用户输入、存在指定的文件、有网络链接,就有可能出现异常。凭借经验可判断 该在程序的什么地方包含异常处理块,以及错误是该向...
[ "646013895@qq.com" ]
646013895@qq.com
2f6e56a99087d6e94afa25eea1ce94be32f3127d
d906d1eb4f590deabb3c90ba9bb9dd6b11cabc55
/web1/app.py
8e1d00b00346a5d0c80c0b5615f4f791fec19f93
[]
no_license
Lengoctruongson/lengoctruongson-fundametal-c4e21
83dfe671639faaf2bd2642f77b62df1c306db2f7
55affab6315f408f8c42a12b57775ec442a222f8
refs/heads/master
2020-03-26T20:02:56.120667
2018-10-09T16:41:34
2018-10-09T16:41:34
145,301,267
0
1
null
null
null
null
UTF-8
Python
false
false
1,569
py
#1. Creat a flask app from flask import Flask, render_template app = Flask(__name__) ps = [ "Trong đầm gì đẹp bằng sen aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "Lá xanh bông trắng lại chen nhị vàngbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...
[ "leson1871995@hgamil.com" ]
leson1871995@hgamil.com
3a3bf2a75f8238a4f8a98e775a43ea60086f6668
87521e0ce35095d06f8cd2e0890f8b73f9ec0511
/training_window.py
3a083317b9c5a9109bcbb974ec32216694347011
[]
no_license
chamara96/voice-command-rnn
20fa6446e44a72c78113528b598756b545c1529d
e6847af88e09e01ddf06f1d6cdd1b0835d30ba4f
refs/heads/main
2023-01-02T12:12:28.542385
2020-11-01T06:52:28
2020-11-01T06:52:28
308,967,152
0
0
null
null
null
null
UTF-8
Python
false
false
7,464
py
import sys from PIL import ImageTk, Image import time try: import Tkinter as tk except ImportError: import tkinter as tk try: import ttk py3 = False except ImportError: import tkinter.ttk as ttk py3 = True from tkinter import messagebox import neural_network import dataset_handling def updat...
[ "cmb.info96@gmail.com" ]
cmb.info96@gmail.com
3b2ebe81d2835ea42691bb7d5bff97c782a8bc00
59ac1d0f09ebfb527701031f3ab2cfbfb8055f51
/soapsales/employees/migrations/0003_auto_20200902_1721.py
0819efd6aafd9e48e4f311586f2596836d84ff10
[]
no_license
DUMBALINYOLO/erpmanu
d4eb61b66cfa3704bd514b58580bdfec5639e3b0
db979bafcc7481f60af467d1f48d0a81bbbfc1aa
refs/heads/master
2023-04-28T13:07:45.593051
2021-05-12T09:30:23
2021-05-12T09:30:23
288,446,097
1
1
null
null
null
null
UTF-8
Python
false
false
543
py
# Generated by Django 3.0.7 on 2020-09-02 15:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('employees', '0002_auto_20200902_0038'), ] operations = [ migrations.RenameField( model_name='employee', old_name='is...
[ "baridzimaximillem@gmail.com" ]
baridzimaximillem@gmail.com
835a35a0816d80e070b145914b614c4079752764
680d9e12f9916f68f84921e1b0328786454f2d50
/cmd_line_sample.py
3485a5f3ce5e52b1f0b411f971f00a44f69189b3
[]
no_license
vkarpov15/hydra-injector-py
24c791fd1bc3c90681b48f7515fc0e359fd14a94
3948b5056c4cf563db77c7172c6660daa7c62b19
refs/heads/master
2020-12-24T13:52:41.541934
2012-11-09T01:39:32
2012-11-09T01:39:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
# # cmd_line_sample.py # # Created on: November 3, 2012 # Author: Valeri Karpov # # An example usage of CommandLineInjector - a very general method for stripping # padding from a sample file. While this is a somewhat trivial example, it # highlights some of the more useful features of this library - managing object # (...
[ "valkar207@gmail.com" ]
valkar207@gmail.com
9f9308863eec758d41777158b11d291e1b437a83
9b63ade6dd9c166b2e9dc363de94d6a02149bc69
/app/core/migrations/0001_initial.py
dd8e72540712189dd4156237b574b3e1e3799370
[ "MIT" ]
permissive
nafeesahyounis/recipe-app-api
25244f7a12772a0281d99c03a0c6cf9b434ba849
ff9f42de65d9b0185d9ab9fb565e4a881831cb15
refs/heads/main
2023-03-07T13:00:00.005410
2021-02-24T10:02:04
2021-02-24T10:02:04
338,332,277
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
# Generated by Django 3.1.6 on 2021-02-23 11:23 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "nafeesah.youniss@gmail.com" ]
nafeesah.youniss@gmail.com
46e1519a37697b33c70c2f43ee6217c51755e86e
b169e1ac175f0acf5e48d58ce1acd04e6e4be158
/utils/logfile_parser.py
832d1045ea605bf6720390d8e3465002a8d2f63f
[]
no_license
bip5/osr_closed_set_all_you_need
20ec1380190d3a1eb13eebdeeddabaff4f91b019
0e57845f6a4a64f6a01a31dec6911c5cb5bf3c5d
refs/heads/main
2023-08-17T18:12:47.691043
2021-10-13T22:30:35
2021-10-13T22:30:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,967
py
import re import pandas as pd import os import numpy as np from matplotlib import pyplot as plt pd.options.display.width = 0 rx_dict = { 'model_dir': re.compile(r'model_dir=\'(.*?)\''), 'dataset': re.compile(r'dataset=\'(.*?)\''), 'loss': re.compile(r'loss=\'(.*?)\''), 'cs': re.compile(r'cs=(.*?),'), ...
[ "sagarvaze@dhcp24.robots.ox.ac.uk" ]
sagarvaze@dhcp24.robots.ox.ac.uk
27ca4ceae6de9d605e2bfc5c1fee240d3f1fe145
10300363f12e5a6a0ea6a69d0a6d210174499d60
/times.py
746272f2b9f1a029c66f51b8e55c0ba5edea3241
[]
no_license
nedbat/point_match
2da5cc12bf3f3866b35ec71ea227a5d21760ca97
a6c19ed1d206ec1ad02b13e15b8d761192b32593
refs/heads/master
2023-06-22T04:16:09.638622
2019-04-01T21:25:09
2019-04-01T21:25:09
100,109,656
3
1
null
null
null
null
UTF-8
Python
false
false
1,068
py
import random import timeit if 0: TRIES = 10000 for z in range(7): n = int(10**z) stmt='random.randint(1, 999999) in d' setup='import random; d = {{random.randint(1, 999999): 1 for _ in xrange({N:d})}}'.format(N=n) total = timeit.timeit(stmt=stmt, setup=setup, number=TRIES) ...
[ "ned@nedbatchelder.com" ]
ned@nedbatchelder.com
792a326fad5224ee15c058836faae17f70de5ca2
30174fca608e3fb20664acb27bcbf4fb037ca4f1
/foodrider/migrations/0016_auto_20200825_1822.py
c9ea4a488536f8777a044fb183d9e084b689fa35
[]
no_license
jabir15/foodrider
f32e88b8c9d612bace39cf475d6dfa41800c98d3
724828f39ddd05e612030dfea846a7a8b5b017a8
refs/heads/master
2023-04-16T17:54:58.326973
2021-05-02T10:07:51
2021-05-02T10:07:51
290,949,621
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
# Generated by Django 3.1 on 2020-08-25 16:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('foodrider', '0015_auto_20200825_1820'), ] operations = [ migrations.AlterField( model_name='menuitemoption', name='dis...
[ "jabir.hussain.aec@gmail.com" ]
jabir.hussain.aec@gmail.com
14d91c016f740d9564b17288e566a3efeee3fcfe
c77843e9d25458d4a848c41f7e88d942bcc0d7dc
/code/lib/nltk/eval.py
4b8ca39cbde7a5dadf32d3b17f5fbde666b8c66e
[]
no_license
sethwoodworth/wikipedia-style-edits
0cf99e9f184a8cafce8b8e3e92bbbd6dc0540659
b660ac52ee2c901bc5358e2af2fa8be2d43f6a4c
refs/heads/master
2021-01-22T03:12:54.954349
2008-10-15T21:32:23
2008-10-15T21:32:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,713
py
# Natural Language Toolkit: Evaluation # # Copyright (C) 2004 University of Pennsylvania # Author: Edward Loper <edloper@gradient.cis.upenn.edu> # Steven Bird <sb@csse.unimelb.edu.au> # URL: <http://lib.nltk.sf.net> # For license information, see LICENSE.TXT """ Utility functions for evaluating processing mod...
[ "asheesh@fe7ecb3d-170a-0410-af80-b42c727aa7d5" ]
asheesh@fe7ecb3d-170a-0410-af80-b42c727aa7d5
08e5f8f4f69fbeabf6340c5094a824952f014325
8304e371eff46389acf84c250dbb95af7087d260
/sports_team_system/catalog/migrations/0016_auto_20200607_2019.py
8e6f4a76e130a18ecf1eca058b40590a4cfb6f52
[]
no_license
COYADI/System-Analysis
601dbda423ce6e1549ade2c8864dd53b1ae346d6
308b19f13123edeba4f53b91f2a76d3305b39813
refs/heads/master
2022-11-02T21:04:55.664105
2020-06-11T03:24:20
2020-06-11T03:24:20
254,568,785
0
15
null
2020-06-08T11:33:55
2020-04-10T07:12:24
HTML
UTF-8
Python
false
false
1,041
py
# Generated by Django 3.0.5 on 2020-06-07 12:19 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0015_auto_20200607_2018'), ] operations = [ migrations.AlterField( model_name='noticing', ...
[ "b06705020@ntu.edu.tw" ]
b06705020@ntu.edu.tw
4a3ade146a01bc93108ba525a191d0f4fc777c9b
811f4cdb25e26f3b27640aaa2e2bca93e660d2d7
/src/anomalib/models/components/flow/all_in_one_block.py
f2ab1e17c372351bdd22788c8bdee20d621f06a3
[ "CC-BY-SA-4.0", "CC-BY-SA-3.0", "CC-BY-NC-SA-4.0", "Python-2.0", "Apache-2.0" ]
permissive
openvinotoolkit/anomalib
4467dfc392398845e816387267cdf979ff76fe15
4abfa93dcfcb98771bc768b334c929ff9a02ce8b
refs/heads/main
2023-09-03T16:49:05.019269
2023-08-28T14:22:19
2023-08-28T14:22:19
423,775,360
2,325
454
Apache-2.0
2023-09-14T11:21:33
2021-11-02T09:11:38
Python
UTF-8
Python
false
false
12,649
py
"""All In One Block Layer.""" # Copyright (c) https://github.com/vislearn/FrEIA # SPDX-License-Identifier: MIT # Copyright (C) 2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from __future__ import annotations import warnings from typing import Callable import torch import torch.nn.functional as F fro...
[ "noreply@github.com" ]
openvinotoolkit.noreply@github.com
adcb107a99607a4473a99cbe4a62c8ecc5918f4d
f71118a9f24e09bba18d021f9c4a43a97dc4dead
/codes/scripts/make_gif_video.py
fc81e5647ff7ce75b5bb35f226bce946a93a1d56
[ "Apache-2.0" ]
permissive
BlueAmulet/BasicSR
d7420fd9d7b73bf0cd90a3201d84393f262e63be
7040913d8659a05af4c2428feb71c260efbf1e9c
refs/heads/lite
2021-07-10T14:48:26.037589
2020-07-23T01:59:27
2020-07-23T01:59:27
196,041,187
19
9
Apache-2.0
2020-09-01T17:39:00
2019-07-09T16:00:14
Python
UTF-8
Python
false
false
3,311
py
""" Add text to images, then make gif/video sequence from images. Since the created gif has low quality with color issues, use this script to generate image with text and then use `gifski`. Call `ffmpeg` to make video. """ import os.path import numpy as np import cv2 crt_path = os.path.dirname(os.path.realpath(__f...
[ "wxt1994@126.com" ]
wxt1994@126.com
65c961193678438ef37cfc7bff2d0c2383ddd805
d767da4400de5b0d17bab56eeb678b4ff1052913
/harifile.py
1b506a1cd942ed997fb8479f420f87147594750d
[]
no_license
HARI5KRISHNAN/newproject
9b792f8960bb0656b8e82e9d4a15284f0e72aff1
d3dec2ce5b025e730157cf83d9df82278d9dda93
refs/heads/master
2021-01-05T05:00:00.639829
2020-02-16T12:34:21
2020-02-16T12:34:21
240,888,234
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
print("welocme to eduerka")
[ "root@ip-172-31-25-170.ap-southeast-1.compute.internal" ]
root@ip-172-31-25-170.ap-southeast-1.compute.internal
d9cb619d465d33a6f910d50958beb4ca360e904b
47a15501446aa286f89e9ac0f751945d6b86829b
/bqdc.py
261399d44024c3c85083a7f55f72e7373b1f8f09
[ "MIT" ]
permissive
karlo0/bqdc
219ddbf71c0b85a4419eb2759c3a7b57c87afe33
1aca9dcd2c519e9ade1988bdee47cf98d51c10f8
refs/heads/master
2023-08-24T00:42:19.044385
2023-08-14T23:43:35
2023-08-17T22:18:04
203,542,535
0
0
MIT
2023-08-17T22:18:05
2019-08-21T08:39:04
Python
UTF-8
Python
false
false
51,143
py
r""" bqdc.py Python Module to download, upload metadata (Datacatalog Tags, BigQuery table, field descriptions and schema) from Bigquery Tables and its attached tags in DataCatalog. It can synchronize table descriptions and field descriptions from within Bigquery and constructs tags in Datacatalog for this meta...
[ "karlo1986@gmx.de" ]
karlo1986@gmx.de
04c25ae249b069385ac6991f6b7f60b72769500e
6af5601738fbb38ace3454e88ddd773a64c72314
/exercises/petting_zoo/slither_inn.py
4d4d8bc226a6667de7e78e6aef1a069893f8b743
[]
no_license
morriscodez/critters-and-croquettes
82178ed673daa8f4988f40386ea9ca86f462c6d7
22368c14cea6a42bcaa9a800ca29242cfd29b741
refs/heads/main
2023-04-05T01:47:29.054819
2021-04-23T19:55:10
2021-04-23T19:55:10
360,280,011
0
0
null
2021-04-23T19:55:10
2021-04-21T19:13:45
Python
UTF-8
Python
false
false
166
py
class SlitherInn: def __init__(self, name): self.attraction_name = name self.description = "safe place to fall asleep" self.animals = []
[ "dylanrobertmorris@gmail.com" ]
dylanrobertmorris@gmail.com
7b535be1a7823f72cded96377305a79b7e8e5f84
a408ccea1036482792a79eee9f5b835c1e4a4c8e
/Bolivian_Lowlands/Scenarios/Scenario_2_new.py
fb9dec645e487634be15ef5054d543ff77a4d59e
[ "MIT" ]
permissive
CIE-UMSS/VLIR_Energy_Demand
ae399ace372a7e5263b3276bb1a0ecded937d227
3a9c7a034ac6ff668c7734597daf4696f62ef671
refs/heads/main
2023-09-01T01:33:37.832158
2021-09-25T20:51:11
2021-09-25T20:51:11
353,682,162
0
0
null
null
null
null
UTF-8
Python
false
false
8,569
py
# -*- coding: utf-8 -*- """ Created on Tue Sep 21 10:25:06 2021 @author: Clau """ ''' Paper: Energy sufficiency, lowlands. SCENARIO 2 ''' from core import User, np User_list = [] #Defining users H1 = User("low income", 73) User_list.append(H1) H2 = User("high income", 53) User_list.append(H2) ...
[ "noreply@github.com" ]
CIE-UMSS.noreply@github.com
b49321d49f458783ff2e504b5b2c980bfaac3d46
d686dd84682038efe027d6ba14a77282b3786287
/src/e2e/parsers/downstream_config.py
69bad6b06ae6a14096171b4ec094793c8d511cee
[ "Apache-2.0", "MIT" ]
permissive
idiap/apam
2d7e2cfee9a4fab7e194f4aee059d8684d932210
b1ba6087dcb8d2b864b4a99979bb325fb17f3b99
refs/heads/main
2023-03-02T10:00:44.992938
2021-02-15T11:00:54
2021-02-15T11:00:54
335,578,798
14
1
null
null
null
null
UTF-8
Python
false
false
1,152
py
""" Parser for asr training options """ # Copyright (c) 2021 Idiap Research Institute, http://www.idiap.ch/ # Written by Apoorv Vyas <apoorv.vyas@idiap.ch> import argparse import sys def add_downstream_options(parser): parser.add_argument( '--ckpt', default='', type=str, help='Pat...
[ "philip.abbet@idiap.ch" ]
philip.abbet@idiap.ch
3ad493b7dfecdacdc6ea5bd86467d39b3b95ef44
8b9dfacd464558d1aacdef387ec3078a03d59158
/aruco_detect_master/aruco_detect.py
f4ac1f0f3472cc04ad87f0aa78aeb49df4970415
[]
no_license
Taospirit/HITsz_Course_Code
56bb4a4327b39d9c45405e367dafc4211b74930b
b2f33bb3e5ce31894b12bfbf2f42cbf482933ed0
refs/heads/master
2020-04-10T20:30:07.952396
2019-07-10T13:53:38
2019-07-10T13:53:38
161,269,766
2
0
null
null
null
null
UTF-8
Python
false
false
4,294
py
import cv2 as cv import cv2.aruco as aruco import numpy as np import copy # IMG_WIDTH = camera_matrix = np.array(([693.2, 0, 666.8], # 内参矩阵 [0, 693.4, 347.7], [0, 0, 1]), dtype=np.double) dist_coefs = np.array([-0.050791, 0.217163, 0.0000878, -0.000388, -0.246122], ...
[ "lintao209@outlook.com" ]
lintao209@outlook.com
d2880bfa73bd2dcfe254701168d1ff3a803181e6
04d30611d6ccc31b1e204bfa7f83efa50bab5ae6
/github_data_pipeline_api.py
483e28940fbc9a501a0cbd12166c7817c0f3d192
[]
no_license
jerryshenyizhou/crypto_github_data
957cdee889b0107960eb7669046857ec40b846cb
2c510b9fbbc3233f4f663c3b36aa42bdf47f764e
refs/heads/master
2021-09-05T21:46:36.994743
2018-01-31T07:12:40
2018-01-31T07:12:40
115,180,988
0
0
null
null
null
null
UTF-8
Python
false
false
11,659
py
# coding: utf-8 # In[2]: import datetime import json import warnings import pandas as pd import requests from pandas.io.json import json_normalize warnings.filterwarnings('ignore') import sys reload(sys) sys.setdefaultencoding('utf8') sys.path.append('./utils') from google_sheet_update import * # In[3]: # uti...
[ "jerryshenyizhou@gmail.com" ]
jerryshenyizhou@gmail.com
6747e33efcd4f93c3dbf79fe12368de440154955
b45e649b4580692dd1b8bf63ad29befb3daad95a
/spark/src/main/python/preprocBinning.py
6c21866ee6f9e294698dfe7cff5be5841bf1c7fa
[]
no_license
xu-hao/FHIR-PIT
21ea0e5b8796d86f3a931b99e3e7a3f1e58b04a2
db2fb04e2cc0d9fce2f8043f594f60fdb8f5a8e8
refs/heads/master
2021-05-25T09:49:48.084629
2021-05-19T20:17:11
2021-05-19T20:17:11
127,015,534
2
0
null
null
null
null
UTF-8
Python
false
false
660
py
import os import sys import json from preprocPatient import * from preprocVisit import * year_start, year_end, config_file, input_dir, output_dir = sys.argv[1:] for year in range(int(year_start), int(year_end) + 1): ...
[ "xuh@cs.unc.edu" ]
xuh@cs.unc.edu
413fe0cf74f78a5479abcffb6ba6f1b944f65717
59b87e4892a583e1eafaeca8582320b3db6e4435
/.c9/metadata/environment/products/views.py
756c77246def161c889dabccb347e037f5dd2284
[]
no_license
cgaynor91/E-Commerce
65e112b4a2c66725d27a65847686c497574d1f58
f7e3e81358f494cd16768e4aba73b19bc16a29ab
refs/heads/master
2021-07-11T23:26:22.895787
2020-03-11T21:47:28
2020-03-11T21:47:28
246,412,701
0
0
null
2021-06-10T22:39:00
2020-03-10T21:32:01
Python
UTF-8
Python
false
false
15,846
py
{"filter":false,"title":"views.py","tooltip":"/products/views.py","ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":6,"column":65},"end":{"row":6,"column":65},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"hash":"43957824f031b60e8...
[ "ubuntu@ip-172-31-36-97.ec2.internal" ]
ubuntu@ip-172-31-36-97.ec2.internal
69b0fa5230cadb504175821f7cb8097e99df18c4
901658f002f0d996fe17b9f1a241ccf95bdb82e3
/home/migrations/0002_auto_20200801_1224.py
76aa831a18ba7eb063bd34d75b1394c39ac08103
[]
no_license
OnurBoynuegri/RentHome
2d0fb308664d1095eaddafd5838982751a497c37
c20c934f9edbc8d9c7215d0d3f462769b5d048c7
refs/heads/master
2022-11-28T04:42:45.158688
2020-08-11T15:09:38
2020-08-11T15:09:38
280,904,461
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
# Generated by Django 3.0.8 on 2020-08-01 09:24 import ckeditor_uploader.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0001_initial'), ] operations = [ migrations.CreateModel( name='ContactFormMessage', ...
[ "onurboynueğri@gmail.com" ]
onurboynueğri@gmail.com
61bb250a081ee773aa1aa16082aa203ec3a1eefd
0378c82c8bcd5501732acc27d1d33b3230f9a393
/KYLIN_USB/sources/spark/load/sources/020-mds_elt_niveau.py
1d935431623fd660c2a5018af23ee80f7d2fefbf
[]
no_license
bmwalid/Controlla
85718a94e47acdc2a90ee06b951282954dc1ed11
c63febd9aeb1ae268b79ade1880d867a888554d0
refs/heads/master
2020-04-29T16:15:27.646599
2019-03-19T16:40:36
2019-03-19T16:40:36
176,252,951
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
# import Libraries from pyspark.conf import SparkConf from pyspark.sql import SparkSession from pyspark.sql.types import * # init sparkConf conf = SparkConf() conf.set("spark.serializer", "org.apache.spark.serializer.KryoSerializer") \ .set("spark.executor.cores", "1") \ .set("spark.executor.memory", "1G") # ...
[ "bmwalide@gmail.com" ]
bmwalide@gmail.com
3b6282d79f208c7ee3adea1226ff383f5e2e6fd3
4edbd8a42011e7f6db0cecf55a3f87a647c2ac1e
/expected_move.py
9cfae8fc004e6c88df9dab63e846d2516a4b0d8a
[]
no_license
k6116/zebra
fe220ff0c1278f6ea20a06d030080345b540902d
0aa0ba9a294d557d41377b112a624a294adbebf5
refs/heads/master
2022-11-08T07:54:20.415663
2020-06-27T19:03:43
2020-06-27T19:03:43
275,326,505
0
0
null
null
null
null
UTF-8
Python
false
false
4,378
py
import models from database import SessionLocal, engine from models import Stock, Option from sqlalchemy.orm import Session from sqlalchemy import and_, or_, desc, asc import math import tools import numpy as np def get_expected_move(symbol, underlying_price, dte): two_atm_call_iv = None strikes = tools.strik...
[ "2784285+k6116@users.noreply.github.com" ]
2784285+k6116@users.noreply.github.com