blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
270cf00b72424c4ab5ef2e7ed3870a0b805ced8e
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Diagnostics/__init___parts/DebuggerBrowsableState.py
7599756d739f37be9fff917e09f66f45fd9f7b82
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
963
py
class DebuggerBrowsableState(Enum,IComparable,IFormattable,IConvertible): """ Provides display instructions for the debugger. enum DebuggerBrowsableState,values: Collapsed (2),Never (0),RootHidden (3) """ def __eq__(self,*args): """ x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """ pass ...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
799b4aaf7edaef6728d0dd5d5676703185f9f2f5
07131e91dcf2529e9c7058f8a8f239d419c8f7e0
/1450.number-of-students-doing-homework-at-a-given-time.py
c9ff2ab40bfb09aa40ca1baf90d6766f217d4c97
[]
no_license
Code-Wen/LeetCode_Notes
5194c5c5306cb9f4a0fac85e06fefe6c02d65d44
791fc1b43beef89d668788de6d12f5c643431b8f
refs/heads/master
2021-07-04T14:41:00.830723
2020-09-27T16:31:22
2020-09-27T16:31:22
178,456,323
1
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
# # @lc app=leetcode id=1450 lang=python3 # # [1450] Number of Students Doing Homework at a Given Time # # https://leetcode.com/problems/number-of-students-doing-homework-at-a-given-time/description/ # # algorithms # Easy (82.11%) # Likes: 55 # Dislikes: 14 # Total Accepted: 13.4K # Total Submissions: 16.3K # Tes...
[ "chenxu.wen.math@gmail.com" ]
chenxu.wen.math@gmail.com
19cd2e3f1b9fb6e63d4dc44321ba9996e824be86
4236d2613e2a4f9aaf87cb9f400a63d6254aebb6
/app/teacher/homework/test_cases/test003_home_item_list.py
8f069373c235c2cda1b44e392f337aed518b65bb
[]
no_license
MerdLead/test_andriod_app
3a79efb01a5185bf4e35c259ca0236afa8ec4214
7eac7a68eaf1bd77a4c78b5f1e1c311ea888f529
refs/heads/master
2020-03-30T07:25:14.285758
2018-09-30T06:42:35
2018-09-30T06:42:35
150,938,305
0
0
null
null
null
null
UTF-8
Python
false
false
1,809
py
#!/usr/bin/env python import unittest from app.teacher.homework.object_page.release_hw_page import ReleasePage from app.teacher.login.object_page.home_page import ThomePage from app.teacher.login.object_page.login_page import TloginPage from app.teacher.homework.object_page.homework_detail_page import HwDetailPage fro...
[ "merdlead@163.com" ]
merdlead@163.com
4793099a4c76af4e4083bf262be99aa6c059769e
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/get_important_work.py
15db59ad1383646a2662973fea34080ba0a76d6d
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
#! /usr/bin/env python def man(str_arg): try_thing(str_arg) print('ask_week_by_great_week') def try_thing(str_arg): print(str_arg) if __name__ == '__main__': man('week')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
af86b124be12a85201a55723488be426934f4e65
2a0fee7a6f566843c6d533bc1f7b621c7e3b3400
/net/data/crl_unittest/generate_crl_test_data.py
955ee91e0eb56b68e09ba2739444efe819fde5ef
[ "BSD-3-Clause" ]
permissive
amitsadaphule/chromium
f53b022c12d196281c55e41e44d46ff9eadf0e56
074114ff0d3f24fc078684526b2682f03aba0b93
refs/heads/master
2022-11-22T22:10:09.177669
2019-06-16T12:14:29
2019-06-16T12:14:29
282,966,085
0
0
BSD-3-Clause
2020-07-27T17:19:52
2020-07-27T17:19:51
null
UTF-8
Python
false
false
28,296
py
#!/usr/bin/python # Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """This script is called without any arguments to re-generate all of the *.pem files in the script's directory. The https://github.com/goog...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
7b02309bae0bf6468085e6e3fbfe3cb4bdb6e5e9
d6791a60af5570dbf925b26f3b9ec7608a47fbeb
/setup.py
611dca753801f3fb6854624ad7a27c02aec9e99c
[]
no_license
ammubhave/sqlalchemy-simql
e9c2e45d5629087b1be96be58118b362b42725c6
4e9947a49502355e65d30eec64b1e86af0428287
refs/heads/master
2020-05-17T22:28:22.030723
2014-07-15T14:41:44
2014-07-15T14:41:44
21,827,961
0
1
null
null
null
null
UTF-8
Python
false
false
626
py
#!/usr/bin/env python from setuptools import setup setup( author='Amol Bhave', author_email='ambhave' '@' 'mit.edu', description='SQLAlchemy extension for SimQL', entry_points=""" [sqlalchemy.dialects] simql = sqlalchemy_simql.dialect:SimqlDialect """, install_requires=[ 'SQLA...
[ "ammubhave@gmail.com" ]
ammubhave@gmail.com
5382fe2586f3528c5d7a6ab1b1f479bf061c3d3e
a59d55ecf9054d0750168d3ca9cc62a0f2b28b95
/.install/.backup/platform/gsutil/gslib/third_party/oauth2_plugin/oauth2_client.py
10e3f2372b8cd123aee7891c5575985b0782c485
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bopopescu/google-cloud-sdk
bb2746ff020c87271398196f21a646d9d8689348
b34e6a18f1e89673508166acce816111c3421e4b
refs/heads/master
2022-11-26T07:33:32.877033
2014-06-29T20:43:23
2014-06-29T20:43:23
282,306,367
0
0
NOASSERTION
2020-07-24T20:04:47
2020-07-24T20:04:46
null
UTF-8
Python
false
false
18,977
py
# Copyright 2010 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "alfred.wechselberger@technologyhatchery.com" ]
alfred.wechselberger@technologyhatchery.com
dc2b1eb5e5daa541ad0ab6f159afdcfccb90587c
11692a0e0b784252dea9ce5c2d97297d890ab520
/arquivos-py/CursoEmVideo_Python3_DESAFIOS/desafio06.py
7abbef956bcec92837a5f7e19dd35bfce23beca3
[ "MIT" ]
permissive
oliveiralecca/cursoemvideo-python3
bcd6dde54e26702f964e002221dda36c6eb8fd9f
e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e
refs/heads/master
2023-03-31T07:21:34.739162
2021-03-29T00:38:42
2021-03-29T00:38:42
271,679,170
3
0
null
null
null
null
UTF-8
Python
false
false
201
py
print('======= DESAFIO 06 =======') n = int(input('Digite um número: ')) d = n * 2 t = n * 3 rq = n ** (1/2) # ou: pow(n,(1/2)) print('Dobro: {}\nTriplo: {}\nRaiz Quadrada: {:.2f}'.format(d, t, rq))
[ "oliveiraslc@yahoo.com.br" ]
oliveiraslc@yahoo.com.br
81752bf73a3e871c0d4134d8e24c7115d82cf894
de5eafa17b8c1e3a8aedb2848e03282eae775334
/augment/augment_intersect_Brent9060_v11.py
59748c202660ae4f1a881810b7422eba360cd708
[]
no_license
ekourkchi/HI
cba6601fbbb96231d457cc6a0a379c2fdb7a3e4d
796ff5b9826d9d64e2a761e3ef587411df8edd80
refs/heads/master
2020-05-25T19:21:05.663026
2020-03-14T04:08:47
2020-03-14T04:08:47
187,949,260
1
0
null
null
null
null
UTF-8
Python
false
false
58,109
py
#!/usr/bin/python # encoding=utf8 import sys reload(sys) sys.setdefaultencoding('utf8') import os import subprocess import math import matplotlib.pyplot as plt import numpy as np import pylab as py from astropy.table import Table, Column import random from scipy.optimize import curve_fit from astropy.stats import sig...
[ "ekourkchi@gmail.com" ]
ekourkchi@gmail.com
2cecbfd5cadee6e7d888a5e28743114b68e47a97
e1e5ffef1eeadd886651c7eaa814f7da1d2ade0a
/Systest/tests/acl/ACL_FUN_002.py
460f887024066ecc12d883efdf8e0848b3fe6b7c
[]
no_license
muttu2244/MyPython
1ddf1958e5a3514f9605d1f83c0930b24b856391
984ca763feae49a44c271342dbc15fde935174cf
refs/heads/master
2021-06-09T02:21:09.801103
2017-10-10T07:30:04
2017-10-10T07:30:04
13,803,605
0
0
null
null
null
null
UTF-8
Python
false
false
4,009
py
#!/usr/bin/env python2.5 """ ####################################################################### # # Copyright (c) Stoke, Inc. # All Rights Reserved. # # This code is confidential and proprietary to Stoke, Inc. and may only # be used under a license from Stoke. # ####################################################...
[ "muttu2244@yahoo.com" ]
muttu2244@yahoo.com
690865583f8714d226cb125c33e6c67608cebd3c
87695989bbafe0ec6892cb4d1bb1965c84d6b35f
/simulation_research/next_day_wildfire_spread/export_ee_data.py
ceed9170ab0f6de90140410dc18d7d3ba57728b9
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
guangyusong/google-research
ef6e85e7de75bd1289575374accc7fe19af896c7
cac4a7f3b82ab629e25fa8afe33ce80cc6933e54
refs/heads/master
2022-01-01T11:22:31.825772
2021-12-30T20:08:40
2021-12-30T20:19:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,482
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
df67d820d16d861532c29149ce9e341f4afbc2f8
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/192c0dc9d16458255102ce13d1707d8285defe12-<_construct_url_3>-bug.py
bc88419c2462fff4e03343f512cece7788534609
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,779
py
def _construct_url_3(self, root, parent, obj, child_includes): '\n This method is used by get_url when the object is the third-level class.\n ' root_rn = root['aci_rn'] root_obj = root['module_object'] parent_class = parent['aci_class'] parent_rn = parent['aci_rn'] parent_filter = ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
5bd7c7213bc5d8d57013a4f313bf573a5ed1efca
3d31d1ebeac4586a455c08d551e81e5596f4a8c4
/dev/06_21_2018/UPS_Error.py
34ccb3e8a9a17add7d24bebf44b7e78b6d4fa47d
[ "Python-2.0" ]
permissive
npwebste/UPS_Controller
0ff9670abd6f4ff5d4f3a5ec3003e4f4ddfcf148
a90ce2229108197fd48f956310ae2929e0fa5d9a
refs/heads/master
2021-05-10T10:00:03.186490
2018-08-04T23:37:16
2018-08-04T23:37:16
118,942,833
0
0
null
null
null
null
UTF-8
Python
false
false
1,599
py
# Universal Power Supply Controller # USAID Middle East Water Security Initiative # # Developed by: Nathan Webster # Primary Investigator: Nathan Johnson # # Version History (mm_dd_yyyy) # 1.00 03_24_2018_NW # ###################################################### def UPS_Error(ErrorCode): if (ErrorCode == 'Error...
[ "30417327+npwebste@users.noreply.github.com" ]
30417327+npwebste@users.noreply.github.com
d320b73bc06a0e30403bc1b844e6b62680e3ca62
d8b1a010bec02de76f179e0d3df113903d91db71
/TRP_api/TRP_api/urls.py
055e259fb94ae21368deb72c31aa206e3420ccdd
[]
no_license
vineetkashyap/api12may
2e933815972bf24cd7ff5efe6800e5fe70122cb1
29c1b6fa9c55c900a2bdd1175e0e74a5113fdbdd
refs/heads/master
2023-05-01T16:54:09.949319
2021-05-16T09:37:15
2021-05-16T09:37:15
366,686,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
from django.contrib import admin from django.urls import path,include from api import views from django.conf.urls.static import static from django.conf import settings from rest_framework.authtoken.views import obtain_auth_token from knox import views as knox_views from rest_framework.routers import DefaultRouter route...
[ "vkvineet66@gmail.com" ]
vkvineet66@gmail.com
41306b320939acb879a6f70f56bcdaf86f2f1648
47eb0bcfee356f35a607e4a31b150662d6b0f0bb
/app/shop/admin.py
d2afdb3bb984e827e90b5209645446251a790204
[]
no_license
HyungtaeMoon/IAMPORT-ShoppingMall
955183f2ea2a573737bc236940457733b1ead659
2c19290380e1c739df31583a9c55bb9d719c6af8
refs/heads/master
2022-12-09T14:15:48.563197
2019-03-22T13:02:35
2019-03-22T13:02:35
154,930,700
0
0
null
2022-07-29T22:51:19
2018-10-27T05:47:04
Python
UTF-8
Python
false
false
1,637
py
from django.contrib import admin from django.utils.safestring import mark_safe from .models import Item, Order @admin.register(Item) class ItemAdmin(admin.ModelAdmin): list_display = ['photo_tag', 'name', 'amount'] def photo_tag(self, item): if item.photo: return mark_safe('<img src={} s...
[ "blessmht@gmail.com" ]
blessmht@gmail.com
2649375b6ae17e806f70ee2bf3a16d2a3073137b
bc91d344ed2ee3f4f93547ec16350f2713e5f704
/.history/CRUD/views_20190108015459.py
2867d966ebaada4cf94ef22ab56fdacbeb9fdf8a
[]
no_license
SabitDeepto/Chitra
10ecf0c4a7588234f0a50adf038783c9ce8706d0
160e5d64c8e4ee56a95bb639386785590160ff07
refs/heads/master
2020-04-27T21:55:09.685341
2019-03-09T16:14:35
2019-03-09T16:14:35
174,716,372
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
from django.shortcuts import render from urllib3 import request from CRUD.models import Executive # Create your views here. def home(request): executive = Executive.objects.all() templates = 'index.html' context = { 'name': 'deepto', 'ex':executive } return render(request, template...
[ "deepto69@gmail.com" ]
deepto69@gmail.com
901c1ff1b89ae7d1354864bb1bf830a4d212d44a
e71b6d14fbdbc57c7234ca45a47329d7d02fc6f7
/flask_api/venv/lib/python3.7/site-packages/vsts/gallery/v4_1/models/answers.py
edb392c5bc4c0196922c3ebb9c193159982a3ed4
[]
no_license
u-blavins/secret_sasquatch_society
c36993c738ab29a6a4879bfbeb78a5803f4f2a57
0214eadcdfa9b40254e331a6617c50b422212f4c
refs/heads/master
2020-08-14T00:39:52.948272
2020-01-22T13:54:58
2020-01-22T13:54:58
215,058,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------...
[ "usama.blavins1@gmail.com" ]
usama.blavins1@gmail.com
904f854544ae4bd75bb61e866feebe0311a679b2
a5597d74049fcbe1e1e3afca1f4196243f2e7c90
/glyce/bin/run_bert_glyce_classifier.py
453bf9727fb540d922fe9933a41983a23093bb7f
[ "Apache-2.0" ]
permissive
YuChen17Heaven/glyce
72759d8699bbe37ecd2221e90b8ec06a8844fd29
62369e3cc37442ed191862b77d87d0c17c8454f8
refs/heads/master
2020-06-14T01:52:41.111642
2019-06-30T10:52:10
2019-06-30T10:52:10
194,857,610
1
0
null
null
null
null
UTF-8
Python
false
false
16,405
py
# encoding: utf-8 """ @author: Yuxian Meng @contact: yuxian_meng@shannonai.com @version: 1.0 @file: run_glyph_classifier @time: 2019/4/8 15:40 这一行开始写关于本文件的说明与解释 """ import os import sys root_path = "/".join(os.path.realpath(__file__).split("/")[:-3]) print("check the root_path of this repo") print(root_path) ...
[ "xiaoyli@outlook.com" ]
xiaoyli@outlook.com
823d055c9fbcc5df091127861acf22ab33ef3444
884249dc53b3e1a4461f44cc07f3c11b798a8bee
/tests/null/test_dropna.py
9963ab1313220b26c0d86461aafd76144fe03e77
[ "MIT" ]
permissive
MacHu-GWU/learn_pandas-project
b82ca64061c0afd2e470e0a7d17a8997981fd219
86d51d11d6f0a50ffcffbf743da197f4a7b12d61
refs/heads/master
2021-01-15T11:29:59.682659
2018-02-02T16:55:41
2018-02-02T16:55:41
99,621,140
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import pytest import pandas as pd from learn_pandas import assert_value_equal def test_dropna(): data = [[1, 2, 3], [None, 5, 6], [7, 8, 9]] df = pd.DataFrame( data, index=[1, 2, 3], columns=list("ABC"), ) r...
[ "MacHu-GWU@users.noreply.github.com" ]
MacHu-GWU@users.noreply.github.com
4366e63b4ea98f08dfbfb6348ad3e918f1f35b63
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/keras/distribute/distributed_training_utils.py
d77ef72ddd8e104d640d119c9d5f06aca8845479
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,556
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
6bd5a404f883d52e21e57ccb4185601a09c9c35c
ac4b9385b7ad2063ea51237fbd8d1b74baffd016
/.history/utils/ocr/handle_image_20210209180144.py
622b08919b45fce1289c8a8afa9b1bf7344a199b
[]
no_license
preethanpa/ssoemprep
76297ef21b1d4893f1ac2f307f60ec72fc3e7c6f
ce37127845253c768d01aeae85e5d0d1ade64516
refs/heads/main
2023-03-09T00:15:55.130818
2021-02-20T06:54:58
2021-02-20T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,887
py
import os import cv2 import re import numpy as np from PIL import Image import pytesseract from pytesseract import Output from fpdf import FPDF import matplotlib.pyplot as plt ''' IMAGE HANDLING METHODS ''' # get grayscale image def get_grayscale(image): return cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) # blur re...
[ "{abhi@third-ray.com}" ]
{abhi@third-ray.com}
3ae0a854793798036d9b002c8839bb944baf9a81
466912406272829982f75854cf0104c6ce8c9814
/data/spider2/migrate/clean_beian_bywhois.py
3638dc4f8cbceed4d78ca34670fd75b8d298adef
[]
no_license
logonmy/Codes
9631fa103fc499663361fa7eeccd7cedb9bb08e4
92723efdeccfc193f9ee5d0ab77203c254f34bc2
refs/heads/master
2021-09-21T18:07:22.985184
2018-08-30T05:53:26
2018-08-30T05:53:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
# -*- coding: utf-8 -*- import os, sys from pymongo import MongoClient import pymongo import time import gevent from gevent.event import Event from gevent import monkey; monkey.patch_all() reload(sys) sys.setdefaultencoding("utf-8") sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../util...
[ "hush_guo@163.com" ]
hush_guo@163.com
0d39a0a246d72d162c9cd1e2203c2e8a6e26f448
cfeb96d00a07cf3a5743a44fcef546aceeae3d3a
/309-BestTimetoBuyandSellStockwithCooldown.py
bc02e67e339e2e08644f56958e4aba5d681b2afe
[]
no_license
minseoch/algorithm
d5218b6187129e68aa355ce6cc89a3496e0f654c
4c0cfe857f5d78a44c1a3bfb2571d72da4911d97
refs/heads/master
2023-03-04T02:10:02.344708
2021-01-30T04:44:28
2021-01-30T04:44:28
296,403,602
0
1
null
null
null
null
UTF-8
Python
false
false
3,338
py
# 309. Best Time to Buy and Sell Stock with Cooldown # buy-sell-cooldown # You must sell the stock before you buy again # After you sell your stock, you cannot buy stock on next day class Solution: # time O(n^2), space O(n) def maxProfit(self, prices): length = len(prices) maxP = [0] * (length+2)...
[ "minseo@Minseos-iMac.local" ]
minseo@Minseos-iMac.local
9be27768994baa40fb29747a6e6ef408b6c00d8c
b69eefcef9398cff6b00f4531736d6f391743481
/project/settings.py
0a9d67dad4fbcd510882739617577bbbf7afdec7
[]
no_license
cjdd3b/j4462-project-template
c47981500c11573acdd5bf240f25aca95184d5de
35720f9c5ea2d5dc147811af80c113f058c03496
refs/heads/master
2016-09-05T17:42:44.186628
2013-04-06T18:26:25
2013-04-06T18:26:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,384
py
import os import django # CHASE NOTE: These are a few settings that I put into EVERY SINGLE DJANGO PROJECT that I build. You don't # need to know how they work; the only thing you need to know is that they will make your life INFINITELY # EASIER. In fact, I would recommend copying them into your new projects when you ...
[ "chase.davis@gmail.com" ]
chase.davis@gmail.com
75a5a25eea6bd1dcd30b17c4004f07a9d932559a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2218/60751/271705.py
b7a6a56ab100877eae272baec1913325326980fa
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
144
py
num=input().split(",") num_=[] for i in num: num_.append(int(i)) num_.sort() print(max(num_[0]*num_[1]*num_[-1],num_[-1]*num_[-2]*num_[-3]))
[ "1069583789@qq.com" ]
1069583789@qq.com
6e73aba4d4c121fa20b2d8c1cb4e084034e71658
047f45abbdb6e38e36c2c9c920d1e9a7a5702040
/src/simulations/id_mapper_client.py
8fda3b72f8359de4989b74db633f47081cacd9d0
[ "Apache-2.0" ]
permissive
DD-DeCaF/simulations
4076da1bfd887869ca8c950f4352d632bbfc4fc3
dab77166f301c0a12e6fed973147fb4add8a62c4
refs/heads/devel
2023-01-23T11:32:11.031122
2020-05-29T16:46:08
2020-05-29T16:46:08
73,704,410
0
2
Apache-2.0
2020-12-08T14:29:46
2016-11-14T12:53:53
Python
UTF-8
Python
false
false
1,723
py
# Copyright 2018 Novo Nordisk Foundation Center for Biosustainability, DTU. # # 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 requir...
[ "ali@kvikshaug.no" ]
ali@kvikshaug.no
90487f0a3d2431a0d2349c1cf70844a83efb30db
683a90831bb591526c6786e5f8c4a2b34852cf99
/HackerRank/Python/Strings/2_String_split_and_join.py
6cfd65612058b1056b5f246af8f8a8e6cf35edc7
[]
no_license
dbetm/cp-history
32a3ee0b19236a759ce0a6b9ba1b72ceb56b194d
0ceeba631525c4776c21d547e5ab101f10c4fe70
refs/heads/main
2023-04-29T19:36:31.180763
2023-04-15T18:03:19
2023-04-15T18:03:19
164,786,056
8
0
null
null
null
null
UTF-8
Python
false
false
311
py
# !/usr/bin/env python3 # https://www.hackerrank.com/challenges/python-string-split-and-join/problem # tags: cadenas def split_and_join(str): lista = str.split(" ") str = "-".join(lista) return str if __name__ == '__main__': line = input() result = split_and_join(line) print(result)
[ "davbetm@gmail.com" ]
davbetm@gmail.com
4840c3f91c339b220ffb6aad5c14d810d3ee6ff7
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/galex_j22163-2157/sdB_galex_j22163-2157_coadd.py
e9b5611ae5b1a826b06a0b20d0720c3ed879a03f
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[334.098125,-21.957308], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_galex_j22163-2157/sdB_galex_j22163-2157_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTC...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
4ac780776fc43fe74e693ab1ef80be166f0114c0
690d99023e33928fbf40158822c59075533eaf44
/pyapprox/tests/test_low_rank_multi_fidelilty.py
a6ced55fcba99473ea4b988b5d586a9b61e0b2ed
[ "MIT" ]
permissive
allevin/pyapprox
321a16d1831a6f9abdc9ece632556c29425eb5aa
2351b1818f3b72554bcb6cc72e994c283c9eb752
refs/heads/master
2022-11-20T14:45:02.519387
2020-07-27T03:23:52
2020-07-27T03:23:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,457
py
import unittest import numpy as np from pyapprox.low_rank_multifidelity import * from functools import partial from scipy.stats import uniform import pyapprox as pya from scipy.special import jv as bessel_function class OscillatoryPolyLowFidelityModel(object): def __init__( self, mesh_dof=100, num_terms=35 ): ...
[ "29109026+jdjakem@users.noreply.github.com" ]
29109026+jdjakem@users.noreply.github.com
a79f048e280ae3dc1c915f26311e81ccf38b9449
d2dda11e125068512c5c0db0f24b80bc53c94ce3
/LeetCode/Ex100/Ex110.py
8d9d965bb2811d6d4ec769cdb289e6704ef5dcb4
[]
no_license
JasonVann/CrackingCodingInterview
f90163bcd37e08f6a41525f9f95663d5f42dd8e6
8f9327a1879949f61b462cc6c82e00e7c27b8b07
refs/heads/master
2021-09-02T09:28:34.553704
2018-01-01T12:05:12
2018-01-01T12:05:12
110,519,907
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
class Ex110(object): def isBalanced(self, root): """ :type root: TreeNode :rtype: bool """ if root == None: return True (level, ans) = self.helper(root, 1) return ans def helper(self, root, level): if root == None: ...
[ "jasonvanet@gmail.com" ]
jasonvanet@gmail.com
e235cd6eadb51407845cd19a59fb52175c2ed1f0
070dc1e2c5643ef9ae80b24f56cf7b6624f65818
/video_prediction/datasets/__init__.py
e65f64ab71a1ec5a63652990d7761430f7083e2e
[ "MIT" ]
permissive
anestisdotpy/video_prediction
9091661e9d56460e6d1dab9e1e774a8ff81241bd
e9aecb8171123c1fe673a1f16864e3554c386cc5
refs/heads/master
2020-06-23T02:47:24.487425
2019-07-23T18:02:32
2019-07-23T18:02:32
198,482,843
0
0
MIT
2019-07-23T17:59:23
2019-07-23T17:59:22
null
UTF-8
Python
false
false
1,099
py
from .base_dataset import BaseVideoDataset from .base_dataset import VideoDataset, SequenceExampleVideoDataset, VarLenFeatureVideoDataset from .google_robot_dataset import GoogleRobotVideoDataset from .sv2p_dataset import SV2PVideoDataset from .softmotion_dataset import SoftmotionVideoDataset from .kth_dataset import K...
[ "alexleegk@gmail.com" ]
alexleegk@gmail.com
78221bbf47e616235915cfb1dc10c45637dc777a
bd741fe3909ae9260232b724cbb395823cf68834
/python/setup.py
ba010859a7003260e868f6d6f749200202ce1755
[ "MIT" ]
permissive
simondlevy/NengoCPP
a1b235dd37889c0cf8a2a2b3e6f693a27d379174
ae09d4e96d866dd4a3748867cf8eb0df5d0acc8f
refs/heads/master
2020-03-21T19:38:06.204688
2019-06-15T18:17:00
2019-06-15T18:17:00
138,961,016
2
0
null
null
null
null
UTF-8
Python
false
false
438
py
#!/usr/bin/env python ''' Python distutils setup for for NengoCPP example Copyright 2018 Simon D. Levy MIT License ''' from distutils.core import setup setup (name = 'nengo_pidcontrol', version = '0.1', install_requires = ['PIL'], description = '', py_modules = ['nengo_pidcontrol',], author='Sim...
[ "simon.d.levy@gmail.com" ]
simon.d.levy@gmail.com
51f2f9f4db7a0a374df9c157a737b8e90be9f0fe
1f68b6f9f55afaa7cb32df262f4fe0864472da05
/人工智能/人工智能入门/数据可视化/die_visual.py
6c8f873b98271fc5d514ee8841c2c8b03fcd0baa
[]
no_license
faker-hong/testOne
7c4496362cb5495c25c640076102fe0704f8552f
768edc4a5526c8972fec66c6a71a38c0b24a1451
refs/heads/master
2022-12-04T14:47:53.614685
2020-10-30T03:17:50
2020-10-30T03:17:50
196,514,862
1
0
null
2022-11-22T02:43:32
2019-07-12T05:35:09
Python
UTF-8
Python
false
false
498
py
from 数据可视化.die import Die import pygal die = Die() result = [] frequenices = [] for i in range(100): re = die.roll() result.append(re) for value in range(1,die.num_size+1): frequency = result.count(value) frequenices.append(frequency) print(frequenices) #对结果进行可视化 hist = pygal.Bar() hist.title='97' ...
[ "42666723+hongcheng97@users.noreply.github.com" ]
42666723+hongcheng97@users.noreply.github.com
91d6b6ddd88603208daece87feef4b07ccad2846
1408ac8b2ed54ec7a7a8e3660bbb7389fbade037
/Auditions/AuditionLevel/AuditionLevel.py
baf76f63f292391175f556c99955d745aa9117b9
[]
no_license
Decennium/CodeCombat
72a2df7288c5d5c3cb88e08425cc0e6507f7a1d5
068b937ae7cfc58565f2c5e1f50281c50808ccf1
refs/heads/master
2021-08-23T19:37:53.160014
2017-12-06T07:52:19
2017-12-06T07:52:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,618
py
# http://codecombat.com/play/level/audition-level summonTypes = ['paladin'] def summonTroops(): type = summonTypes[len(hero.built) % len(summonTypes)] if hero.gold > hero.costOf(type): hero.summon(type) def commandTroops(): for index, friend in enumerate(hero.findFriends()): if friend.t...
[ "vadim-job-hg@yandex.ru" ]
vadim-job-hg@yandex.ru
eb9beae6dd40e83e2260ddf0a7862e298b36fe3a
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/storagesync/v20170605preview/get_sync_group.py
f3f917cbf35db452cf5c6afd92530a503ff78d3f
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,972
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
a28abb90239b0ec78dbdbbcb02137ed32a1ca25a
6371acdb640e62e4e6addac2ba1aa70002a8c1b1
/Algorithms/pySINDy/env/lib/python3.6/site-packages/ipyparallel/tests/test_mongodb.py
81b2b171b88ba68c65515ad28880228e24bdef97
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
M-Vause/SEED
263307152ebac1e4f49cd81dcd5207ecbdf51139
cda94a02a5ef47a1e9a885d330eef2821301ebed
refs/heads/master
2022-12-13T20:11:58.893994
2020-04-27T16:10:09
2020-04-27T16:10:09
252,790,026
3
3
MIT
2022-12-08T01:52:05
2020-04-03T16:55:10
Jupyter Notebook
UTF-8
Python
false
false
1,395
py
"""Tests for mongodb backend""" # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. import os from unittest import TestCase import pytest from . import test_db c = None @pytest.fixture(scope='module') def mongo_conn(request): global c try: from pymo...
[ "58262117+M-Vause@users.noreply.github.com" ]
58262117+M-Vause@users.noreply.github.com
a4609ee7d40e60103c1c6d4a1f9cb1b4d861a532
45ba55b4fbdaf1657fde92beaeba4f173265afcd
/strawberry/fastapi/context.py
6a23a0e648a9cb7d607eb89ef9083ac1c2b8e39a
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
strawberry-graphql/strawberry
af96afd4edd1788c59e150597a12501fbc7bf444
6d86d1c08c1244e00535840d9d87925431bc6a1c
refs/heads/main
2023-08-30T03:34:12.929874
2023-08-24T12:01:09
2023-08-24T12:01:09
162,690,887
3,408
529
MIT
2023-09-14T21:49:44
2018-12-21T08:56:55
Python
UTF-8
Python
false
false
662
py
from typing import Any, Dict, Optional, Union from starlette.background import BackgroundTasks from starlette.requests import Request from starlette.responses import Response from starlette.websockets import WebSocket CustomContext = Union["BaseContext", Dict[str, Any]] MergedContext = Union[ "BaseContext", Dict[...
[ "noreply@github.com" ]
strawberry-graphql.noreply@github.com
d40d835030a9e00608bc1155ed3b3db4ca2779e6
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/22. Transactions and Error Handling in SQL Server/Chapter/03. Transactions in SQL Server/10-Doomed transactions.py
29523ae21c339f0d22cbec5dee2878d9afa29992
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
''' Doomed transactions You want to insert the data of two new customers into the customer table. You prepare a script controlling that if an error occurs, the transaction rollbacks and you get the message of the error. You want to control it using XACT_ABORT in combination with XACT_STATE. Instructions 100 XP - Us...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
cb33f242a73fc2923fcc835d8c1946a430e07cbc
2136dd727f15133b2ee000dadcfa44b7e29d3ff4
/Day5/dengluTest.py
0572c98a88c15ab45b23d6226e2407d6d0ab4da9
[]
no_license
zhaolanxiang113/Weekend112
b6f56627a17d279db19ed6b409333d8c14c6bb67
74f3b54b246ff43a773c8b832fd9ab3af38fd509
refs/heads/master
2021-08-23T04:13:52.933570
2017-12-03T07:11:49
2017-12-03T07:11:49
112,907,911
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
import unittest from selenium import webdriver import time class DengLuTest(unittest.TestCase): # 3个双引号表示文档字符串,也是一种注释,会显示的文档中; """登录模块测试用例""" def setUp(self): # 打开浏览器 self.driver = webdriver.Chrome() self.driver.implicitly_wait(30) # 浏览器升级后,要注销最大化;要想使用必须满足浏览器的版本和driver的版本...
[ "51Testing" ]
51Testing
e5be76fbbcdcd5660d468cf6ecba45afdcd662ab
750d8ade6abc2b3bd6a24e660a4992114db6ac0c
/lib/music/gui/window.py
de2e80e9ea32e5895ffd45bdfb2ec12e9216241b
[]
no_license
dskrypa/music_manager
8a00a4bd7b32a87dab2441614c94346fa87c4f13
ad7265fbd203962a4bf9cf6444c8e10d561a307c
refs/heads/main
2023-08-09T06:26:46.592118
2023-08-08T11:38:08
2023-08-08T11:38:08
234,730,172
5
0
null
null
null
null
UTF-8
Python
false
false
2,065
py
""" Extended Window class from PySimpleGUI :author: Doug Skrypa """ import logging import signal from typing import Callable from weakref import WeakSet from PySimpleGUI import Window as _Window from .utils import FinishInitMixin __all__ = ['Window'] log = logging.getLogger(__name__) class Window(_Window): _...
[ "dskrypa@gmail.com" ]
dskrypa@gmail.com
ab8fca3ba9b9481bf76c0f4f3e210cfeb9dd2c62
e42a61b7be7ec3412e5cea0ffe9f6e9f34d4bf8d
/a10sdk/core/slb/slb_health_stat_oper.py
d25b96bf06dca0d98f8468c55a6dbd2e3769db38
[ "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
3,562
py
from a10sdk.common.A10BaseClass import A10BaseClass class HealthCheckList(A10BaseClass): """This class does not support CRUD Operations please use parent. :param status: {"type": "string", "format": "string"} :param retries: {"type": "number", "format": "number"} :param down_state: {"type": "num...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
36121fdf1958177b680c4adf4f0ba290b78f8c7d
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/1102.py
f45a308ef04109b1a46b0769d4274aa0069c4829
[]
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
813
py
import numpy as np import sys #dat=open("small.in").readlines() dat=open("A-small-attempt1.in").readlines() ntests=int(dat[0]) i=1 for j in xrange(ntests): ans0=int(dat[i].strip('\n')) i=i+1 grid0=np.array([[int(y) for y in x.strip('\n').split(' ')] for x in dat[i:i+4]]) i=i+4 ans1=int(dat[i].strip('\n')) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
1187703e378de2de9f8a1d7635d3f3518db4f20b
16136f6f9578358ad6ff00101831978d20a43926
/bhch01/bhch01exrc04.py
01f8e5664a74cd9e694bf4ac3f433ca4f0359b92
[]
no_license
Yaachaka/pyPractice1
567c0f8e62cb4f6bff66f1f50672a2ffbc57eeee
fcd4deda3d1094c91ef228b36dfb6124cfa86a8b
refs/heads/main
2023-06-15T17:14:59.697340
2021-07-07T05:01:20
2021-07-07T05:01:20
331,349,117
0
1
null
null
null
null
UTF-8
Python
false
false
50
py
print('(512-282)/(47.48+5)=',(512-282)/(47*48+5))
[ "rosaarjuna@gmail.com" ]
rosaarjuna@gmail.com
b0cf7d3b3f1d9800be47e1905e36043ddd16474c
febcab8c3bbcccfcaa18d2168353a7897a35fe80
/bliski_publikator/institutions/migrations/0006_institution_monitorings.py
909ae2d96f0d4b90900aa9f003ddf6033efe5b69
[ "MIT", "BSD-3-Clause" ]
permissive
watchdogpolska/bliski_publikator
256d6e4e24bb7ea9821c409b491dd24e70755082
f67ec8edf16f803ceef1a1d1f5a2b4699117895c
refs/heads/master
2020-12-25T17:00:27.555894
2018-08-13T20:02:51
2018-08-13T20:02:51
55,450,877
1
3
MIT
2018-08-13T20:02:52
2016-04-04T22:46:57
Python
UTF-8
Python
false
false
632
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-05-09 00:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('monitorings', '0008_auto_20160509_0031'), ('institutions', '0005_remove_institution_m...
[ "naczelnik@jawnosc.tk" ]
naczelnik@jawnosc.tk
0b9567943df58092230d0f1d716d86717c9d7c22
aef9d6b8bb21957fa8b2235872bca51f64e7b5ff
/django101/todoapp/migrations/0001_initial.py
0b50bc857d2c64737fe726df40e616c51bf93192
[]
no_license
dreadlordow/Softuni-Python-Web
3cf9cc234960bb47f1c3c2a91a1a80d0fc499fd6
784faccbe15023536917d610384222d839a63bae
refs/heads/master
2023-08-28T19:39:57.149514
2021-02-23T16:28:55
2021-02-23T16:28:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
# Generated by Django 3.1.5 on 2021-01-16 22:49 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Todo', fields=[ ('id', models.AutoField(aut...
[ "georgipavlov1913@gmail.com" ]
georgipavlov1913@gmail.com
617d539ddc913989973f9e820c92c115d270af23
a9e15e6bdaa45c9fdd667f5f58a537a44d5bd67c
/diy/4.py
53349c084629084a5da41dc72bd7751b99e6f184
[]
no_license
tawateer/leetcode
782f4f8b4a0730ec990d3c5d0e3d80cc4792f0b3
0ec784dc1da2577b823977fd858f4d55a059f327
refs/heads/master
2020-04-22T03:31:02.668858
2019-10-25T09:20:31
2019-10-25T09:20:31
170,089,815
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
#!/bin/env python # -*- coding:utf-8 -*- """ 在 1 到 n 的数字中,有且只有唯一的一个数字 m 重复出现了,其它的数字都只出现一次。请把这个数字找出来、 """ class Solution(object): def findDuplicate(self, nums): target = 0 for i in nums: target ^= i for i in range(1, len(nums)): target ^= i return target ...
[ "liningning@wandoujia.com" ]
liningning@wandoujia.com
05449101e333cfaae259ede36d115e888e4a2ab9
f20e3f75644ce8eb718c22ac9800e41aa4da90dc
/round C/wall.py
e3c88e8292dadbaeef7263246467efc199a96305
[]
no_license
rocket3989/KickStart2020
7de504d88c00c86e1d394a797f01d2682826e4bf
513c4e6305b31e16350715840e35903b3fcdd89a
refs/heads/master
2021-04-13T02:38:44.703426
2020-09-28T21:02:25
2020-09-28T21:02:25
249,129,624
3
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
from collections import defaultdict for tc in range(int(input())): R, C = [int(x) for x in input().split()] wall = [] for i in range(R): wall.append(input().strip()) above = defaultdict(set) below = defaultdict(set) for r in range(R): for c in ran...
[ "rocket3989@gmail.com" ]
rocket3989@gmail.com
19fb49bd9b20c0ef2ec5647f9caaecd108159748
090a4e026addc9e78ed6118f09fd0d7d4d517857
/graph_objs/ohlc/_hoverlabel.py
52a6fb8ffafbaae5884b9a8998c904850d90156e
[ "MIT" ]
permissive
wwwidonja/new_plotly
0777365e53ea7d4b661880f1aa7859de19ed9b9a
1bda35a438539a97c84a3ab3952e95e8848467bd
refs/heads/master
2023-06-04T19:09:18.993538
2021-06-10T18:33:28
2021-06-10T18:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,655
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Hoverlabel(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "ohlc" _path_str = "ohlc.hoverlabel" _valid_props = { "align", "alignsrc"...
[ "wwwidonja@gmail.com" ]
wwwidonja@gmail.com
91c9505ee1c1e349d16a2b7cac17bfa2367e0f21
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/mediastore-data_write_1/object_delete.py
dd3266bb35468f0cb8fd5427b86b4d182020811a
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/mediastore-data/delete-object.html if __name__ =...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
2832aa7a7a0496dee9f4feb0edf79292b112e86f
69a43560780342b466360687099eb593de9fec93
/test.py
830e69dedc40bbdfdb7df194d4a0d9b276daa0ba
[]
no_license
JamCrumpet/email_generator
e35f7f99654a189f0a6aff832ca6207df13b6a4e
bdb96cd4b02069bce5e1d6d2e70e0233ec7cd71c
refs/heads/master
2023-01-10T02:06:44.579407
2020-11-10T13:38:55
2020-11-10T13:38:55
287,095,516
0
0
null
null
null
null
UTF-8
Python
false
false
3,849
py
#filename = "female_first_names.txt" #with open(filename) as file_object: # lines = file_object.readlines() #for line in lines: # print(line.split()) #with open(filename,"r") as file_object: # """ Removes numbers and percentage symbol from text file """ # contents = file_object.read() # prin...
[ "noreply@github.com" ]
JamCrumpet.noreply@github.com
c14e4ab6c989ae7577fcc2e88f867fe373ad43d9
0528a8b2cbdcb3f64ce8183aa04fe8a515f5801a
/libcms/settings.py
5afb31eeba5e5724f544de83f18866ed7edc06ea
[]
no_license
wd5/talk.arbicon
52c17578eaeaaeab0ae620cf101b2b07eb63b9d9
12199997447c051612c84dcb2febcde2386fcbb6
refs/heads/master
2021-01-17T23:37:22.793853
2012-06-04T06:54:56
2012-06-04T06:54:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,786
py
# -*- coding: utf-8 -*- import os import sys PROJECT_PATH = os.path.abspath(os.path.dirname(__file__)) + '/' sys.path.insert(0, os.path.join(PROJECT_PATH, "apps")) sys.path.insert(0, os.path.join(PROJECT_PATH, "vendors")) ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS # Local time z...
[ "dostovalov@gmail.com" ]
dostovalov@gmail.com
d3d91f91295649651652951a0785ed15a2a47eb0
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/kiX7WjSFeTmBYcEgK_1.py
44b53df8479d2eca5cb4445ea4294227621ff84c
[]
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
955
py
""" Create a function that takes an integer list and return the biggest between **positive** sum, **negative** sum, or **0s** count. The major is understood as the greatest absolute. `l = [1,2,3,4,0,0,-3,-2]`, the function has to return `10`, because: * Positive sum = 1+2+3+4 = 10 * Negative sum = (-3)+(-2) = ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3e49c8234f79b043d8c5e6726a96bc29aeb2f000
9ee6068d08a416a2eff7d05095fc664b54416b94
/aliyun-python-sdk-imm/aliyunsdkimm/request/v20170906/GetOfficePreviewURLRequest.py
78c2487e35064842b98a5bc881416a2897bc15a2
[ "Apache-2.0" ]
permissive
zhangjing57/aliyun-openapi-python-sdk
4ea996e1065a697e87c661cd6389072f7611415c
c633e383faa8920fa94261392a7cfa94bc5c11fe
refs/heads/master
2021-06-02T06:58:30.553558
2020-04-09T08:22:45
2020-04-09T08:22:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,599
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
1e6a6bbec7aebbcf5b92eda2fb644ada06f33d6e
9ee3ef54384da3e08ad367dfc2a350d487caf0ee
/home/migrations/0003_auto_20210101_1212.py
27a829564276bb52f40673aa392b6a1d46f6915d
[]
no_license
crowdbotics-apps/test-app-for-segmen-17778
c9cc0d1d5baffeb456e96a76c6ffdcfe642efeb8
9b012d3e3c018871b1a86fc4935bace98b962c79
refs/heads/master
2023-02-08T13:06:52.480483
2021-01-04T13:32:52
2021-01-04T13:32:52
325,950,256
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
# Generated by Django 2.2.17 on 2021-01-01 12:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("home", "0002_load_initial_data"), ] operations = [ migrations.AddField( model_name="homepage", name="model_field_wi...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9edeee0e781e816f4161d110dfa715c3bc794f1d
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/infra/rsresdatetimeformat.py
fd1c1cce839f1e26e0a2c597d8372e7bdc6f7023
[]
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,472
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
3309039c811223dff99454e678e10f02a554f17c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/159/64269/submittedfiles/testes.py
2ada4d068b2b66630f6bf6f34567c3d2085f78ca
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
# -*- coding: utf-8 -*- import numpy as np ''' ''' #Essa função tem como parametros os graus, minutos e segundos de um ângulo sexasimal e retorna o ângulo em decimais def angulo(g,m,s): angulom=m/60 angulos=s/3600 soma=g+angulom+angulos return soma ''' Essa função transforma ângulos decimais, c...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2258e8bf2faf8c3ae5d63dac8669d6dd32476e7a
9c19350ad4ab5e41d9bc6c627d623f0edd8325c5
/aleph/tests/test_collections_api.py
f734c01585f2ae4014ad72f125f7748b1f3b18d9
[ "MIT" ]
permissive
gavinrozzi/aleph
f515a70fa87d1f19fe7288a5ac0b398a71dabfd5
a8e3d10ec34b0d0a05b4daf3fdd2d09b96928b35
refs/heads/master
2020-03-21T00:56:14.108536
2018-08-17T13:10:12
2018-08-17T13:10:12
137,916,214
0
0
MIT
2018-08-17T13:10:13
2018-06-19T16:15:29
Python
UTF-8
Python
false
false
4,174
py
import json from aleph.core import db from aleph.model import Entity from aleph.tests.util import TestCase class CollectionsApiTestCase(TestCase): def setUp(self): super(CollectionsApiTestCase, self).setUp() self.rolex = self.create_user(foreign_id='user_3') self.col = self.create_collec...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
af5920639862893c22731a5bd2fc1174a0685376
41b77a1a17244a727aa6acd95e91e8c674986049
/leagueOfDrivers_BE/wx_league/migrations/0025_auto_20180812_0856.py
11875c3038b5b09e6392b1b9a149f0bbd957fca7
[]
no_license
DataSecretbase/Renjiu
24424ca1742a3987a395bc5da54afa1e7f34fc84
aa90d58d92d0c1936b0ee23e4f9c970135b480d5
refs/heads/master
2022-12-08T05:28:09.192623
2019-03-10T09:44:19
2019-03-10T09:44:19
140,274,553
1
2
null
2022-12-08T02:21:56
2018-07-09T11:15:07
Python
UTF-8
Python
false
false
464
py
# Generated by Django 2.1 on 2018-08-12 08:56 from django.db import migrations, models import wx_league.models class Migration(migrations.Migration): dependencies = [ ('wx_league', '0024_auto_20180812_0845'), ] operations = [ migrations.AlterField( model_name='icon', ...
[ "2144799613@qq.com" ]
2144799613@qq.com
39b5f1e225edc865f4828bc8ca4734edd479d6ce
92f21431bb65074757b76ec41b2f5fa4b445c566
/estomagordo-python3/day_6a.py
3f718401f3d9615e5aaea6aabe160a5921626ca3
[ "Apache-2.0" ]
permissive
kodsnack/advent_of_code_2019
f45c6235ef7ddf8ee177be3069eddfb18b64d05c
b5478e4ce4a7cb223bbb61a8f7322f6e0f68684e
refs/heads/master
2023-03-08T18:02:11.962777
2023-03-01T11:20:14
2023-03-01T11:20:14
223,724,445
9
53
Apache-2.0
2023-03-01T11:20:15
2019-11-24T10:08:42
Python
UTF-8
Python
false
false
624
py
import helpers import re from heapq import heappop, heappush from collections import Counter, defaultdict def solve(d): graph = {} for line in d: a, b = line.split(')') graph[b] = a if a not in graph: graph[a] = 'STOP' count = 0 for node in graph.keys(): ...
[ "christofer.ohlsson@gmail.com" ]
christofer.ohlsson@gmail.com
59a171100a3c7d5531c4504f41806319dd918ba9
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2370/60605/242607.py
ce8e14d4dde4ff225770cb30a7777d60cedc5d54
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
172
py
n = int(input()) t = n res = "" while t != 0: remain = t % -2 t //= -2 if remain < 0: t += 1 remain += 2 res = res + str(remain) print(res)
[ "1069583789@qq.com" ]
1069583789@qq.com
f67f8316bc3b50611487d6432f716327ffa6bef6
7f6b06334e6556ac91a19d410149129217070d5e
/abaqus/abaquslib/abaqus_functions.py
dc4a4e53975b533f7a58b35fbcea3b5a3a90b3a4
[]
no_license
saullocastro/programming
a402e5b7c34c80f0ce22e8a29ce7975b263f19c3
499938a566348649218dc3c0ec594a4babe4f1a4
refs/heads/master
2021-01-20T10:42:50.840178
2020-08-26T07:56:35
2020-08-26T07:56:35
21,904,820
11
2
null
2020-08-26T07:56:36
2014-07-16T14:47:32
Python
UTF-8
Python
false
false
13,372
py
r""" ========================================================= Utilities Abaqus (:mod:`abaquslib.abaqus_functions`) ========================================================= .. currentmodule:: abaquslib.abaqus_functions Includes all utilities functions that must be executed from Abaqus. """ import numpy as np from ...
[ "saullogiovani@gmail.com" ]
saullogiovani@gmail.com
1c415503eb40a3d71e84667fef1513d4ecb304cb
1ddd9929238af090fd15acb08c3a9a034039bf7c
/resolucao_python/unidade_1/script_3.py
e3a0349b9f4fa9f316310e6c25eff4d29c562754
[]
no_license
frclasso/estatistica_geral_puc_minas_2020
7e2e12958411416c8f912e7d349b908d18dbe2a9
9d98d1ec8e645e882885833709b610065b2d4fc6
refs/heads/main
2023-02-23T23:06:44.785060
2021-01-31T21:36:25
2021-01-31T21:36:25
325,156,858
1
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
from typing import List import statistics import math class CaculaQuartoQuartil: """ PROBLEMA 2 Um pesquisador está interessado em avaliar o tempos (em segundos) que os consumidores demoram entre o início e a finalização de uma compra em um determinado site na internet. Para isso, obse...
[ "frcalsso@yahoo.com.br" ]
frcalsso@yahoo.com.br
c326d3f5a52588f010147b3d3cb5aa5fd79be81e
0a33cc0ebb67c51cc38750f0f04c3e6c088e3b1a
/tests/components/rfxtrx/test_device_trigger.py
8e5ee27504ba419c811be9e585c59811da12a6e7
[ "Apache-2.0" ]
permissive
robert-alfaro/home-assistant
e9bb08ad22a167ed226fb3de8f5b36acfc393548
4a53121b58b77a318f08c64ad2c5372a16b800e0
refs/heads/dev
2023-02-28T06:46:23.217246
2022-04-26T17:30:08
2022-04-26T17:30:08
115,894,662
4
0
Apache-2.0
2023-02-22T06:21:08
2018-01-01T02:00:35
Python
UTF-8
Python
false
false
5,694
py
"""The tests for RFXCOM RFXtrx device triggers.""" from __future__ import annotations from typing import Any, NamedTuple import pytest import homeassistant.components.automation as automation from homeassistant.components.device_automation import DeviceAutomationType from homeassistant.components.rfxtrx import DOMAI...
[ "noreply@github.com" ]
robert-alfaro.noreply@github.com
4cb41dfca9cf17c318af5b90764e56ae92b007c4
7bf449f96e1c72cf097dd5264c5efa4337fe1ad7
/final_proj/VisualAnalyses.py
c76803b3fed0340d336c668b1fd9b0ec7d009f45
[]
no_license
rgc292/final_project
9229573a258554655c464306a8d8be4ddade5aa2
c0ec7690bd1520020e35864eeaec501fd45f3d32
refs/heads/master
2021-01-18T02:32:39.062081
2015-12-17T03:10:50
2015-12-17T03:10:50
48,068,674
0
1
null
2015-12-15T20:59:08
2015-12-15T20:59:08
null
UTF-8
Python
false
false
1,057
py
''' Created on Dec 12, 2015 @author: Kristen kk3175 & Rafael rgc292 ''' import line_graph as lg import bar_graph as bg from Pie_Chart import Pie_Chart ''' Module to perform visual analyses of a specific NYC housing complaint. Takes a complaint dataset as an argument. Makes pie charts, line graphs, and bar graphs...
[ "Rafa@192.168.1.139" ]
Rafa@192.168.1.139
2944d77e65016a65342224fb147b9da82d155353
8cc30a27835e205a3476783106ca1605a6a85c48
/amy/trainings/views.py
60e04fb4bf1ebf7c0f1ee24522888df26eb7dc5e
[ "MIT" ]
permissive
gaybro8777/amy
d968edc78bbd3f63f3353450334721628dbbc0f4
3cf99aed58a0f0acf83d2645a30d8408208ccea9
refs/heads/develop
2023-03-07T22:08:28.692700
2021-02-23T18:06:06
2021-02-23T18:06:06
341,930,505
0
0
MIT
2021-02-24T17:22:08
2021-02-24T14:40:43
null
UTF-8
Python
false
false
7,189
py
from django.contrib import messages from django.db.models import ( Case, When, IntegerField, Count, F, Sum, Prefetch, ) from django.shortcuts import render, redirect from django.urls import reverse_lazy from trainings.filters import ( TraineeFilter, ) from trainings.forms import ( T...
[ "piotr@banaszkiewicz.org" ]
piotr@banaszkiewicz.org
724a23a13c33701d678c2ee7d967eef75ab6289a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03354/s490945583.py
f03b65974dfe8d09656e62cab53ea47171b1c89a
[]
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
630
py
import sys input = sys.stdin.readline n, m = [ int(v) for v in input().split() ] num = [ int(v)-1 for v in input().split() ] parent_list = [ i for i in range(n) ] def root(x): while parent_list[x] != x: parent_list[x] = parent_list[parent_list[x]] x = parent_list[x] return x for i in ran...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
46d0eabafb34b253ecf80a7b0f1390f6b39739a0
9545652800884f0e54fe6595d8634c29ea4827a2
/中级算法/leetCode_80_常数时间插入,删除和获取随机元素.py
52f7adb9f1fa3ec80b550e936ff7cfa8d7b23901
[]
no_license
challeger/leetCode
662d9f600a40fd8970568679656f6911a6fdfb05
d75c35b6f8ab33c158de7fa977ab0b16dac4fc25
refs/heads/master
2023-01-13T07:34:42.464959
2020-11-13T02:40:31
2020-11-13T02:40:31
286,426,790
1
0
null
null
null
null
UTF-8
Python
false
false
2,819
py
""" day: 2020-08-22 url: https://leetcode-cn.com/leetbook/read/top-interview-questions-medium/xw5rt1/ 题目名: 常数时间插入,删除和获取随机元素 题目描述: 设计一个支持在平均时间复杂度O(1)下,执行以下操作的数据结构 1.insert(val):当元素val不存在时,向集合中插入此项 2.remove(val):当元素val存在时,从集合中删除此项 3.getRandom:随机返回现有集合中的一项,每个元素应该有相同的概率被返回 示例: // 初始化一个空的集合。 RandomizedSet random...
[ "799613500@qq.com" ]
799613500@qq.com
7a00a36399c4b0d97304920820945c716f541d46
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/sympy_sympy/sympy-master/sympy/utilities/autowrap.py
950e1ffff89b6886a3953cf192950cf2ee9606a9
[]
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
34,998
py
"""Module for compiling codegen output, and wrap the binary for use in python. .. note:: To use the autowrap module it must first be imported >>> from sympy.utilities.autowrap import autowrap This module provides a common interface for different external backends, such as f2py, fwrap, Cython, SWIG(?) etc. (Curren...
[ "659338505@qq.com" ]
659338505@qq.com
e1fc1deef26dac9c3fe7954d0144a110fed9b04b
2e02cdfbd1db42158e2f81f09863cf39241f45f2
/1-Follow up in Code Interview/Optional/32. Minimum Window Substring.py
d20ddda4e59145b003187b66fe03f6fbccc81a2a
[]
no_license
LingHsiLiu/Algorithm2
e65927720dc046738816815cfb94caa49c060a81
680208e58c93d12e974e49d12e682ea5dcfab922
refs/heads/master
2020-04-15T01:08:20.177967
2019-10-15T01:27:06
2019-10-15T01:27:06
164,264,805
0
0
null
null
null
null
UTF-8
Python
false
false
2,245
py
# 32. Minimum Window Substring # Given a string source and a string target, find the minimum window in source which will contain all the characters in target. # Example # For source = "ADOBECODEBANC", target = "ABC", the minimum window is "BANC" # Challenge # Can you do it in time complexity O(n) ? # Clarification #...
[ "noreply@github.com" ]
LingHsiLiu.noreply@github.com
c4b4bcb7cef9bd41fb9e9d20acc31e9a8e294d9d
d9d1b72da9ff37d6c29c9c0063c2dc0f5b5a107e
/django_facebook/views.py
28a18d17e49e10da4af01d68c3df6c9c09aa45ca
[ "BSD-3-Clause" ]
permissive
fogcitymarathoner/djfb
83c02583544e740e7d368ecb37750628f71a31f4
fd436b579a94585a2c085f2e630bd7050e178394
refs/heads/master
2016-08-06T00:23:42.933057
2013-04-04T18:27:22
2013-04-04T18:27:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,320
py
from django.conf import settings from django.contrib import messages from django.http import Http404, HttpResponse from django.shortcuts import redirect, render_to_response from django.template.context import RequestContext from django.utils.translation import ugettext as _ from django.views.decorators.csrf impor...
[ "marc@fogtest.com" ]
marc@fogtest.com
8a09cc29573b890e671f24fa77c061797bc1c907
7198ba93f84d088fe744fa022620d42f0f69f19a
/Chapter_5_code/build/ros_robotics/catkin_generated/generate_cached_setup.py
fe80f10654efb86931e10e3fa1d44c10129ffd3b
[ "MIT" ]
permissive
crepuscularlight/ROSbyExample
114ae726f48cfef1b8e6443593c1204654453096
fa7b1a60cacca9b1034e318a2ac16ce4c8530d7c
refs/heads/main
2023-04-04T16:26:36.933566
2021-04-23T11:16:50
2021-04-23T11:16:50
359,818,748
1
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.path.insert(0, ...
[ "18003316366@163.com" ]
18003316366@163.com
d34c109a84de5826b080a028d54820ca16d96185
60b6645ef4544ccda1146cd596b618e42b8715d8
/product/migrations/0002_auto_20171118_1436.py
6b186dacbf3f08b42dd146f7343988f363b5f9b7
[]
no_license
mamun1980/innstal
6534c879d9deab09f8b638b484db940f118d5d7d
5dd8051cf955e9ec72fbfbcd1fdcb681ad6e95d7
refs/heads/master
2021-05-16T00:59:19.606698
2017-11-26T18:49:16
2017-11-26T18:49:16
106,926,549
0
1
null
null
null
null
UTF-8
Python
false
false
2,293
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-18 14:36 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('produc...
[ "mamun1980@gmail.com" ]
mamun1980@gmail.com
8202face95f1682cd8af34eaa2404537a2b43714
5a3547772b61f7d1b3a81f76dd1397eb92c68e7b
/slbo/envs/mujoco/ant_env.py
3ae2cf2cfcd1fac068ba3239dece9a9f98e5dbef
[ "MIT" ]
permissive
suen049/AdMRL
483440f0ded14e471d879b300da9afbab68fbe66
50a22d4d480e99125cc91cc65dfcc0df4a883ac6
refs/heads/master
2023-03-12T23:15:05.154003
2021-03-06T15:31:21
2021-03-06T15:31:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,013
py
import numpy as np from rllab.envs.mujoco import ant_env from rllab.envs.base import Step from slbo.envs import BaseModelBasedEnv class AntEnv(ant_env.AntEnv, BaseModelBasedEnv): def get_current_obs(self): return np.concatenate([ self.model.data.qpos.flat, # 15 self.model.data.qve...
[ "linzichuan12@163.com" ]
linzichuan12@163.com
8e16c78bb2b11eb3c5096dabf2382795cadc9840
7b7e11a180c36c94fe9559a01c792fe60e9ccb7f
/StockNest/stock_backend/migrations/0004_company_maxval.py
0017536ae803acbf83ad91b7ec7bb88e7759f53b
[ "MIT" ]
permissive
pl-lee/Stock-Price-Forecasting-Using-Artificial-Intelligence
8d833c0d87781d54ad371116cd96584a5b69a97b
69192454542432c7120cbf95ea443b567a248400
refs/heads/master
2021-09-22T11:15:22.873347
2018-09-09T07:47:19
2018-09-09T07:47:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-26 13:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('stock_backend', '0003_auto_20170726_0910'), ] operations = [ migrations.Add...
[ "koriavinash1@gmail.com" ]
koriavinash1@gmail.com
8ad3dd6a89b010a4f7d80ba5e5284a2c0f070bed
22f1079c111df69711497a0a54f0be2d2556ba62
/morpfw/crud/util.py
5344d9a45c49eb2728886f6a4af0ad5941670b99
[ "Apache-2.0" ]
permissive
morpframework/morpfw
9b5d320b6d675d8d25d0021de41427c009595c78
1a11eb286097f0f6dd39f20e241dd83756ca87b3
refs/heads/master
2022-12-12T21:04:18.146975
2022-12-02T11:17:07
2022-12-02T11:17:07
104,162,256
8
2
MIT
2019-07-29T16:21:13
2017-09-20T03:43:29
Python
UTF-8
Python
false
false
1,190
py
import re from morepath.publish import resolve_model as _resolve_model from ..interfaces import ISchema import jsl import dataclasses from copy import copy import typing from datetime import datetime, date def resolve_model(request): newreq = request.app.request_class( request.environ.copy(), request.app,...
[ "kagesenshi.87@gmail.com" ]
kagesenshi.87@gmail.com
73d8e84c4b2426c9e2fd1d7db6b4a3ecaf94591d
f3d0fb72453d8f412ebad99c269334c3ae4f9caa
/tensorflow_probability/python/experimental/vi/surrogate_posteriors.py
2107226014d96a74f8fab57c30a1349d39008c6c
[ "Apache-2.0" ]
permissive
beoy/probability
c118fc2e3b1ff9c1f12c386fa26a05989f4357b0
a6e9ad705883782e91a6102ba54f4c48d9f76f6f
refs/heads/master
2023-03-19T20:36:23.281196
2021-03-13T22:46:04
2021-03-13T22:47:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
49,377
py
# Copyright 2019 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
8bd1a61f2f5b2c302eb15d529ee167dbbc4beabe
91b68cd2d4e50263ad53be9bf34c28f4b893b29d
/gps_viewer/settings.py
b2a3405df04c3832a53d81c285c277eb73146e39
[]
no_license
storrellas/gps_viewer
6145efca4bcf7f48a96a9d08ceb916bc21cd143f
e8577933b68169193f391808488cacd7ffd5ff69
refs/heads/master
2020-04-19T12:05:51.128193
2019-02-14T07:31:45
2019-02-14T07:31:45
168,184,773
0
0
null
null
null
null
UTF-8
Python
false
false
3,391
py
""" Django settings for gps_viewer project. Generated by 'django-admin startproject' using Django 2.1.5. 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/ """ import os...
[ "storrellas@gmail.com" ]
storrellas@gmail.com
60111fbb419ac10cb39513b5c247ebbd98e7015b
b51f277dfe339ea30dce10040eca40c20bd8a4dd
/src/config/setting.py
7ac608787b2becd3c5908b109a5108d8a097ac85
[ "BSD-3-Clause" ]
permissive
jack139/fair
e08b3b48391d0cb8e72bbc47e7592c030f587f48
fe0ff64f8edbd794c3fb951ab6af420054e9e585
refs/heads/master
2021-06-30T15:17:15.590764
2020-09-23T07:14:20
2020-09-23T07:14:20
160,322,019
1
0
null
null
null
null
UTF-8
Python
false
false
2,576
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import web from pymongo import MongoClient ##### debug_mode = True # Flase - production, True - staging ##### # enable_proxy = True http_proxy = 'http://192.168.2.108:8888' https_proxy = 'https://192.168.2.108:8888' proxy_list = ['192.168.2.103'] enable_local_test = Tru...
[ "gt@f8geek.com" ]
gt@f8geek.com
90a7cddaa492df26fbac0ef47f1980e16f99b2ff
bb0eeade4685dc89ff8a53beb813afdf7394989d
/algorithm_test/saima/股神.py
e55fa66355c3369bf29859dbd5bbab3cf51b548f
[]
no_license
zhaocheng1996/pyproject
72929cd0ba2f0486d7dc87a7defa82656bf75a8e
0a1973dda314f844f9898357bc4a5c8ee3f2246d
refs/heads/master
2021-10-26T08:38:43.675739
2019-04-11T13:52:46
2019-04-11T13:52:46
176,939,063
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
''' 有股神吗? 有,小赛就是! 经过严密的计算,小赛买了一支股票,他知道从他买股票的那天开始,股票会有以下变化:第一天不变,以后涨一天,跌一天,涨两天,跌一天,涨三天,跌一天...依此类推。 为方便计算,假设每次涨和跌皆为1,股票初始单价也为1,请计算买股票的第n天每股股票值多少钱? 输入 输入包括多组数据; 每行输入一个n,1<=n<=10^9 。 样例输入 1 2 3 4 5 输出 请输出他每股股票多少钱,对于每组数据,输出一行。 样例输出 1 2 1 2 3 ''' while 1 : x =int(input()) k = 3 n = 3 while x-k>=n: n+...
[ "34829837+zhaocheng1996@users.noreply.github.com" ]
34829837+zhaocheng1996@users.noreply.github.com
8e75b7716a428394722adb3cf988320cd3c06197
e81576012330e6a6024d14f3e241f88ca34b73cd
/python_code/vnev/Lib/site-packages/quart/wrappers/request.py
d48b39736d3f799c9c937672400f0ccf79c174b5
[ "MIT" ]
permissive
Ureimu/weather-robot
eba6a84147755aa83c941a306bac1a7c4e95e23e
7634195af388538a566ccea9f8a8534c5fb0f4b6
refs/heads/master
2021-01-15T07:23:42.274413
2020-03-23T02:30:19
2020-03-23T02:30:19
242,912,896
0
0
null
null
null
null
UTF-8
Python
false
false
12,544
py
import asyncio import io from cgi import FieldStorage, parse_header from typing import Any, AnyStr, Awaitable, Callable, Generator, List, Optional, Union from urllib.parse import parse_qs from werkzeug.datastructures import CombinedMultiDict, Headers, MultiDict from .base import BaseRequestWebsocket, JSONMixin from ....
[ "a1090693441@163.com" ]
a1090693441@163.com
b231c21b792bd41705191896803d0fb8f47a8d88
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/plugin/assembler/sleigh/parse/AssemblyParseActionGotoTable.pyi
e97b09c156aed97e3a672ff67ca44e03de9e423d
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
8,427
pyi
import ghidra.app.plugin.assembler.sleigh.grammars import ghidra.app.plugin.assembler.sleigh.parse import ghidra.app.plugin.assembler.sleigh.parse.AssemblyParseActionGotoTable import ghidra.app.plugin.assembler.sleigh.symbol import java.lang import java.util class AssemblyParseActionGotoTable(object): """ The...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
b9ad225f2809d99e44ab9e566cdd0d763a4554f3
09f8b619e0e351b653db31ea9d65a97767e92a1c
/setup.py
5c9af850c231d2c3cf3a7defce1882c329f39e18
[ "BSD-2-Clause" ]
permissive
sudlab/cgat
793e5ec8503db399ad9a741293bf3683828bf149
4261368393195b8dc75c3ad544d5556a27280633
refs/heads/master
2021-01-21T18:00:16.097868
2017-05-17T08:03:47
2017-05-17T08:03:47
45,106,248
0
1
null
2017-04-05T13:56:50
2015-10-28T10:53:40
Python
UTF-8
Python
false
false
9,104
py
import glob import sys import os import subprocess import re ######################################################################## ####################################################################### # Check for dependencies # # Is there a way to do this more elegantly? # 1. Run "pip install numpy" # 2. ...
[ "andreas.heger@gmail.com" ]
andreas.heger@gmail.com
501a8e701d08eb3184bf15a41bc714ea9b715091
b76daa106277ef2f7ab7f6e3278546c6da0bb967
/base/web/server.py
25c3b1b57642b2270e4f795b12adb9c5b5a914d2
[]
no_license
DyLanCao/ipython
d071b4659999062106438ec077d27754a711ef92
746e070d193de04002d277e5170ddf8b5d9d4d44
refs/heads/master
2021-06-12T19:31:44.325346
2021-02-20T03:17:58
2021-02-20T03:17:58
142,657,284
1
2
null
null
null
null
UTF-8
Python
false
false
770
py
#-*- coding:utf-8 -*- import BaseHTTPServer class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): '''处理请求并返回页面''' # 页面模板 Page = '''\ <html> <body> <p>Hello, web!</p> </body> </html> ''' # 处理一个GET请求 def do_GET(self): self.send_response(200...
[ "caoyin2011@163.com" ]
caoyin2011@163.com
ca44966244b953ca337e34a0e310dced35a4d891
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/venv/lib/python3.8/site-packages/pip/_vendor/pep517/wrappers.py
aab04ff348d90f3ea88259b7d8b1bdf203e500ca
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:c855382e9ed32186e6b9539363ea579e5c8667717f82b222f8994b92918df069 size 10783
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
ef5717815e789db410e78d7019e8f61a68415355
421fd914fb9c40fa5f8466377d7270dbf3ec1fdb
/Net/tensor/net7.py
56820dc7e2ee57d1afae113f13bb65fbbaa0a43f
[]
no_license
jon--lee/vision-amt
382d466647f52cb0c98a84cdb466821615d07b94
6a05921dbc2aa82e1aa651b935b57d470d903cbd
refs/heads/master
2020-04-12T02:31:33.258391
2016-07-22T01:11:27
2016-07-22T01:11:27
50,693,639
1
1
null
2016-07-22T01:11:46
2016-01-29T21:47:10
Python
UTF-8
Python
false
false
1,782
py
import tensorflow as tf import inputdata import random from tensornet import TensorNet import time import datetime class NetSeven(TensorNet): def __init__(self): self.dir = "./net7/" self.name = "net7" self.channels = 3 self.x = tf.placeholder('float', shape=[None, 250, 250, self.chan...
[ "mdlaskey@umich.edu" ]
mdlaskey@umich.edu
dbe58b94975afcbf250caa82532fcbdb215e99ef
e23b28fc3ed196866a04af4e790c1c16b1b5183e
/django/login2/apps/login2_app/views.py
1d07c6c74710450bdc4e95fdb4c868fc722faf28
[]
no_license
diazmc/Python
6f47e7fcfb8c263eb154d59a5a9b3866e2c9d6a8
89e3d54eeb2b0ed7dc7af24103ace6fb6e45d65e
refs/heads/master
2021-01-20T01:18:23.954877
2017-08-24T10:39:19
2017-08-24T10:39:19
101,283,627
0
0
null
null
null
null
UTF-8
Python
false
false
1,047
py
from django.shortcuts import render, redirect from .models import User from django.contrib import messages def index(request): return render(request, 'login2_app/index.html') def process(request): if request.method == "POST": res = User.objects.register(request.POST) if res['status']: ...
[ "mc.arthur_d@hotmail.com" ]
mc.arthur_d@hotmail.com
d6102bc0218c764e7e2e42eaf102ab7f59933f42
a18539697b2972a2ade5b8175c065f441962047d
/my_mini_web_ok/my_serverwork.py
1b349b5ef0130071fdb8fa363ab8ac06cacfa637
[ "MIT" ]
permissive
aGrass0825/mini_web_framwork
a68ecf2007e93ca7add1dd20973ef7bcc1f9501c
cff3881e65aae24e6cd7e1cd4567ffbea684ff89
refs/heads/master
2021-11-25T19:05:46.975097
2021-11-24T09:47:59
2021-11-24T09:47:59
226,657,233
0
0
null
null
null
null
UTF-8
Python
false
false
1,639
py
""" 任务:写一个web服务器 1、导入模块socket\threading\sys 2、建立套接字对象 3、地址重写 3、绑定端口号 4、设置监听,套接字由主动变被动 5、接受浏览器的链接accept 6、接收浏览器的请求 8、查找请求目录 9、发送响应报文 10、结束与浏览器的链接 """ import socket import threading import sys from application import app class HttpServer(object): """服务器类""" def __init__(self): self.tcp_server_socket = ...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
9958750cf4c7f18679fe4caf28b4ef2121d81922
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03910/s508996847.py
9053d73951bd78510caa8fa55e5777f1f1518c70
[]
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
168
py
n = int(input()) cnt = 0 for i in range(1, n + 1): cnt += i if cnt >= n: res = i break remove = cnt - n for i in range(1, res + 1): if i != remove: print(i)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
18b2f3f798405ef725faeca6f1b3db16e933b964
864755f7d733351b205e460ec54a5f6d13050037
/devilry/devilry_admin/tests/subject/test_crinstance_subject.py
cbe74d7589cee6ba35a93bdf5ea6b1e7b6b59d04
[]
permissive
aless80/devilry-django
27fc14b7bb7356f5f9d168e435a84e7bb43a682a
416c262e75170d5662542f15e2d7fecf5ab84730
refs/heads/master
2020-05-20T12:22:09.255393
2019-05-19T21:06:57
2019-05-19T21:06:57
185,568,847
0
0
BSD-3-Clause
2019-05-08T08:53:52
2019-05-08T08:53:51
null
UTF-8
Python
false
false
5,053
py
from django.conf import settings from django.test import TestCase, RequestFactory from model_mommy import mommy from devilry.devilry_account.models import PermissionGroup from devilry.devilry_admin.views.subject import crinstance_subject class TestCrAdminInstance(TestCase): def test_get_rolequeryset_not_admin(se...
[ "post@espenak.net" ]
post@espenak.net
a92caba3e5809f7220aed29e8c066b8129f8ccae
53c4460e8cce123276932b4ddf2fe00fdee75b65
/format05.py
f2d85db164b628bffe9b45d81b308b9847712256
[]
no_license
Yush1nk1m/Study_Python
5ba8a6eeb73184ea7f1e892daae182b78d265e06
516f0ba6d9411453fa0d2df00314e383e3f8cabb
refs/heads/master
2023-07-09T16:22:22.663219
2021-08-22T15:22:22
2021-08-22T15:22:22
398,831,708
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
output_a = "{:f}".format(52.273) output_b = "{:15f}".format(52.273) # 15칸 만들기 output_c = "{:+15f}".format(52.273) # 15칸에 부호 추가하기 output_d = "{:+015f}".format(52.273) # 15칸에 부호 추가하고 0으로 채우기 print(output_a) print(output_b) print(output_c) print(output_d)
[ "kys010306@sogang.ac.kr" ]
kys010306@sogang.ac.kr
0246403fce1525adbf6c3160b1c8300f3eb2f89b
b1c2e16cff9f0dd9946c61c9504579e0254fef51
/base/base_data_loader.py
67d3e8029f2299ca206ffcf1a2af2043b34ead38
[ "CC-BY-2.0" ]
permissive
JODONG2/semantic-segmentation-level2-cv-02
53bfc2a115e62889880ebb1812b790d1b5759c4b
ecef6844454e2339436d5c201392ee55b08781ee
refs/heads/master
2023-08-26T08:29:01.990496
2021-11-08T04:00:49
2021-11-08T04:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,972
py
import numpy as np from torch.utils.data import DataLoader from torch.utils.data.dataloader import default_collate from torch.utils.data.sampler import SubsetRandomSampler class BaseDataLoader(DataLoader): """ Base class for all data loaders """ def __init__(self, dataset, batch_size, shuffle, valida...
[ "hanbin@kakao.com" ]
hanbin@kakao.com
522c2616de26f014f7db5d31603b5d1a2410d0c1
c839961aeab22795200d9edef9ba043fe42eeb9c
/data/rscript101.py
aa96d464b2e8b9439bb1ed15d7f8701051283383
[]
no_license
StevenLOL/kaggleScape
ad2bb1e2ed31794f1ae3c4310713ead1482ffd52
18bede8420ab8d2e4e7c1eaf6f63280e20cccb97
refs/heads/master
2020-03-17T05:12:13.459603
2018-05-02T19:35:55
2018-05-02T19:35:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,689
py
__author__ = 'ZFTurbo: https://kaggle.com/zfturbo' import datetime import os from collections import defaultdict from operator import itemgetter import operator import random import itertools import heapq import math random.seed(2016) def apk(actual, predicted, k=7): if len(predicted) > k: predicted = pr...
[ "adithyagirish@berkeley.edu" ]
adithyagirish@berkeley.edu
01d2ddee178d1defa696239f13487f9839fe1e8e
6915b959a36273b1e4cd3d99faa0df8058b35726
/Python/good_populate_sylvan_readyfiles_custommonth.py
4838e0c9468d8367fbc7d15193cf324827d563b4
[]
no_license
rtstock/WebScrapeStockMarketIndexes
77c0d444a4294caac977629740f9f31a2c1e541f
e13f1c81095b9d691b07dcd5784ac8b40ab92f8b
refs/heads/master
2020-12-30T09:26:04.002635
2017-08-15T18:57:16
2017-08-15T18:57:16
100,405,226
0
0
null
null
null
null
UTF-8
Python
false
false
12,377
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 26 11:38:23 2015 @author: Justin.Malinchak """ import shutil import datetime import ntpath import os class perform: def copyFile(src, dest): try: shutil.copy(src, dest) # eg. src and dest are the same file ...
[ "noreply@github.com" ]
rtstock.noreply@github.com
e42f7d87fcb7c317bd746f39df25e50c7f71906b
a5884eb2aed17c25a710370654f28b0b70a4441f
/config.py
9cbdcb715ad5bbf103039f0b43bbf1a9aaa12f57
[ "Apache-2.0" ]
permissive
craigderington/celery-example-1
9ba2c6c94f422b33f6a73e74109cc20bba47cb3d
6fdae655e512f96eeb9dbb109c647ae56f357bc9
refs/heads/master
2020-07-10T15:30:07.447621
2019-09-05T18:03:57
2019-09-05T18:03:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import os # Debug DEBUG=True # Celery Settings CELERY_BROKER_URL = "pyamqp://rabbitmq:5672/" CELERY_RESULT_BACKEND = "redis://redis:6379/0" TASK_SERIALIZER = "json" RESULT_SERIALZIER = "json" ACCEPT_CONTENT = ["json"] # Timezome TIMEZONE = "America/New_York" ENABLE_UTC = True # APIs IPINFO_API_URL = "http://ip-api....
[ "craig@craigderington.me" ]
craig@craigderington.me
f9edeab19833d57cf4c3106a6ba45a14f730ac46
2b8eedab36c6fbcec3c8d19e882e84aaffa9ef7f
/pure_pursuit_navigation/scripts/mobile_robot_pure_pursuit.py
e3b4c1a8b1eabc9e1a139b41d36b8e8792398c20
[]
no_license
ROSDevoloper/Atlas80Gen1-AMR
ad29c1a46f36bc54dc223b0982b643f6b42c9f54
ef2b1845b1d77321f4a009f1f32ecdb690cd618e
refs/heads/master
2022-11-15T22:11:54.161847
2020-07-16T09:27:53
2020-07-16T09:27:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,372
py
#!/usr/bin/env python import rospy import numpy as np import time import utils from std_msgs.msg import Bool from geometry_msgs.msg import PolygonStamped, Twist from visualization_msgs.msg import Marker from nav_msgs.msg import Odometry class PurePursuit(object): """ Implements Pure Pursuit trajectory tracking ...
[ "kienho91@gmail.com" ]
kienho91@gmail.com
12c222037cccef2366cde89f0c450753c7f9765a
d7218d554c9d89369c0677256802ea1eb5995dd0
/repos/cookiecutter/tasks/config.py
7c3e457a15e8992724681556d9c943f1c27fe8a1
[ "MIT" ]
permissive
salotz/jubeo
bf6f76d64e8774b4f1f51a8ddbaeb345d2c3676e
8b1d715af708a7c933d5c9459c3e2ddb7d40d741
refs/heads/master
2022-12-10T17:38:45.957322
2021-02-20T02:08:31
2021-02-20T02:08:31
246,981,335
1
0
MIT
2022-12-08T09:51:30
2020-03-13T03:34:22
Python
UTF-8
Python
false
false
166
py
"""User settings for a project.""" # load the system configuration. You can override them in this module, # but beware it might break stuff from .sysconfig import *
[ "samuel.lotz@salotz.info" ]
samuel.lotz@salotz.info
62520424d1b4e94fed465462661aee85fa68e102
b29149eeee6a2351fb2904415ad751b009d80dad
/mopidy_internetarchive/backend.py
d780b3153875b51da53ab9254e34c9b153f71cd1
[ "Apache-2.0" ]
permissive
tkem/mopidy-internetarchive
7a33d24f6c32ca9ac040531e5725a1eeadf3fa38
2b6100a412120c828da8899b81562237fb808840
refs/heads/master
2022-05-06T19:31:44.909430
2022-04-03T19:57:11
2022-04-03T19:57:11
15,807,922
15
3
Apache-2.0
2021-08-03T23:17:26
2014-01-10T19:52:25
Python
UTF-8
Python
false
false
1,338
py
import pykka from mopidy import backend, httpclient import cachetools from . import Extension from .client import InternetArchiveClient from .library import InternetArchiveLibraryProvider from .playback import InternetArchivePlaybackProvider def _cache(cache_size=None, cache_ttl=None, **kwargs): if cache_size i...
[ "tkemmer@computer.org" ]
tkemmer@computer.org
c4f45c81403357ba2cfc207ac9c0e577451983ad
d04d3eec289376e7682403af2f32044b3991d27b
/11 - Common Lectures/BitOper-Lab-2.py
e7114889c50f9aa9975e5de759110ac592361e66
[]
no_license
m-evtimov96/softUni-python-fundamentals
190002dbc6196211340126814e8ed4fce3b8a07f
817a44a3d78130d37e58facfc7bcfdc8af5f4051
refs/heads/master
2020-12-10T12:45:27.847764
2020-06-23T13:09:43
2020-06-23T13:09:43
233,598,519
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
number = int(input()) binary_number = bin(number)[2:] print(binary_number[::-1][1:2])
[ "m.evtimov196@gmail.com" ]
m.evtimov196@gmail.com
fde1091a1bbb0636bbd66e2ab043542168d476e1
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/domainregistration/v20210101/domain_ownership_identifier.py
fbe26a56590543e739a7b7a4cc922489b15d3e78
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
10,784
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 __...
[ "noreply@github.com" ]
morrell.noreply@github.com
9edbd3d9de0f548de026e32489b971d5050b5d26
519f1ac2b8ca9ee2793af13a88eec6eef7c2637d
/rosalind/GCON.py
7c3bd9f98bccce480c6b529763717996320e61b3
[]
no_license
teju85/programming
c4da3493b4cf96b8f52da9bb209636cd898310a5
5d64b3f5cc868f7a5ad1bac889d69da9dbe356cd
refs/heads/master
2021-06-16T07:09:25.159021
2017-06-05T04:36:07
2017-06-05T04:36:07
26,383,794
0
0
null
null
null
null
UTF-8
Python
false
false
3,499
py
import sys from common import readFasta syms = { 'A' : 0, 'C' : 1, 'D' : 2, 'E' : 3, 'F' : 4, 'G' : 5, 'H' : 6, 'I' : 7, 'K' : 8, 'L' : 9, 'M' : 10, 'N' : 11, 'P' : 12, 'Q' : 13, 'R' : 14, 'S' : 15, 'T' : 16, 'V' : 17, 'W' : 18, 'Y' : 19, ...
[ "rao.thejaswi@gmail.com" ]
rao.thejaswi@gmail.com