blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
fb6afdf9dbb7cd9d0a6633a6e2296e70e406b1c3
bf63f844c9d3db9ae0293bc6762be53a6ca450b2
/helusers/jwt.py
735acf51caf9a653141543574b9fd416610362be
[ "BSD-2-Clause" ]
permissive
tuomas777/django-helusers
93ab292b3b7a884b8ba04f9b24452ee3cc8342a7
77252693770410e40191f775462181cc7a3ec2bd
refs/heads/master
2020-04-10T05:30:45.465682
2018-09-14T09:43:06
2018-09-14T09:43:06
160,829,703
0
0
BSD-2-Clause
2018-12-07T13:50:08
2018-12-07T13:50:07
null
UTF-8
Python
false
false
1,111
py
from django.conf import settings from rest_framework_jwt.authentication import JSONWebTokenAuthentication from rest_framework_jwt.settings import api_settings from .user_utils import get_or_create_user def patch_jwt_settings(): """Patch rest_framework_jwt authentication settings from allauth""" defaults = ap...
[ "juha.yrjola@iki.fi" ]
juha.yrjola@iki.fi
0315d6b622ee9399845ac3c750df71dabf3c92b2
2967a6fa8065ecb68683b0499f66f65b9ab646c1
/Wbudowane_struktury_danych/9_named_tuple/zadanie/main.py
802648494ba1c52c2fcb15f4d95f5733ca93eeac
[]
no_license
keinam53/Python_Poczatek
f285836a4aa7d261f25bcc4add253e894c30e65e
ccb05f3918cc94c925055c78627cba28482ce5bb
refs/heads/master
2023-05-01T06:41:56.414754
2021-05-13T19:30:30
2021-05-13T19:30:30
363,479,245
1
0
null
null
null
null
UTF-8
Python
false
false
368
py
from collections import namedtuple Apple = namedtuple("Apple", ["species_name", "size", "price"]) def run(): apple = Apple("Gala", "M", 2.5) print(apple.species_name) print(apple.size) print(apple.price) print(apple[0]) print(apple[1]) print(apple[2]) for data in apple: prin...
[ "mariusz.baran536@gmail.com" ]
mariusz.baran536@gmail.com
10c9ca0234965420c1d7890a0676eac38518ad78
d40fbefbd5db39f1c3fb97f17ed54cb7b6f230e0
/ibm_db2/tests/test_unit.py
b9afacce63cced4dd32e2536a2f191f692792ab6
[]
permissive
slightilusion/integrations-core
47a170d791e809f3a69c34e2426436a6c944c322
8f89e7ba35e6d27c9c1b36b9784b7454d845ba01
refs/heads/master
2020-05-20T18:34:41.716618
2019-05-08T21:51:17
2019-05-08T21:51:17
185,708,851
2
0
BSD-3-Clause
2019-05-09T02:05:19
2019-05-09T02:05:18
null
UTF-8
Python
false
false
616
py
# (C) Datadog, Inc. 2019 # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import pytest from datadog_checks.ibm_db2.utils import scrub_connection_string pytestmark = pytest.mark.unit class TestPasswordScrubber: def test_start(self): s = 'pwd=password;...' assert...
[ "noreply@github.com" ]
slightilusion.noreply@github.com
5f697b884de06a2a759dbaf8eff4e587d4b61385
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/initial_8302.py
ada636326405c8ccbeb036a5d50f5d02b405d7d7
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,331
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
641a6e7fb1755fe782bd4cfa3de6704b19fd36e6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2020_09_09_11_54_52_542373.py
b6266cc9513e5cad35ebf1d45a0ba2b74ee8442f
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
import math def calcula_gaussiana(x, mi, sigma): form = (1/ (sigma((2*math.pi)**(1/2))))* (e**(((-0.5((z-mi)/sigma))**2)) return form
[ "you@example.com" ]
you@example.com
24f9ced0b5dd1c194216331452babe0cbcb1b786
52e05d43e6c37ee7a586118cf0f390b04e92ada3
/76. Minimum Window Substring _ Hash Table.py
81639a8ff54abd07d4ebc6079e31945e94369bcd
[]
no_license
CaizhiXu/LeetCode-Python-Solutions
8f7a856e11e0804f32c43ed98bc08525a950ac13
63120dbaabd7c3c19633ebe952bcee4cf826b0e0
refs/heads/master
2021-05-18T04:57:16.412834
2020-08-05T04:33:13
2020-08-05T04:33:13
251,121,107
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
class Solution: def minWindow(self, s: str, t: str) -> str: ans = float('inf') minstr = '' sourcehash = [0] * 256 targethash = [0] * 256 self.init_target_hash(targethash, t) j = 0 for i in range(len(s)): while not self.valid(sourcehash, targethash)...
[ "xucaizhi@gmail.com" ]
xucaizhi@gmail.com
ce17cfce8c468bf026821bed8c4ba90149ca668a
0a3cbf51778ed922c8466af0484e588aa3246c10
/main/views.py
4167fe0f29133e925a23434a25ad87558c61aab2
[]
no_license
minahosam/e-shopper
075f1917984424f3eb9eea56ed1cf49bbfaa0789
2c601e888bd62b803ab2fe6f59607dacb9868f3e
refs/heads/main
2023-06-21T17:15:08.454089
2021-08-07T18:45:48
2021-08-07T18:45:48
372,903,653
0
0
null
null
null
null
UTF-8
Python
false
false
7,135
py
from django.shortcuts import render,redirect from .models import * from .forms import * from Profile.models import * from django.http import JsonResponse from django.contrib.auth.decorators import login_required import json import datetime from .utils import * # Create your views here. def show_all_product(request): ...
[ "you@example.com" ]
you@example.com
4bbb61036ed3e1205a84859392f799268266563b
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/3230.py
8f3a1c414936539dd2e442282a4b352c344049da
[]
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
2,128
py
''' Created on Apr 8, 2016 @author: Thomas ''' import re import sys def flip_stack(s): '''flip the provided stack/substack of pancakes''' # replace with temporary character s = s.replace('+', 't') # switch - for + s = s.replace('-', '+') # switch + for - s = s.replace(...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
1e5e01255835cf813cfcd8b8b7518254fa4f2372
e9173667eec2576782863a51ee63672f9b419297
/p56.py
e81a5ce0a7732cbeb84457ad982a93ae8b778e8b
[]
no_license
sabareesh123/pythonprogamming
d41c23ddae183ded09eafde445273126c6b56fcf
004f248aa2e25f2855d6ccafbb9244447bfb5873
refs/heads/master
2020-05-30T06:28:54.901030
2019-08-06T11:50:10
2019-08-06T11:50:10
189,580,451
0
3
null
null
null
null
UTF-8
Python
false
false
135
py
#B q=input() count3=0 for j1 in q: if (j1.isdigit() or j1.isalpha()): count3+=1 if count3!=0: print("Yes") else: print("No")
[ "noreply@github.com" ]
sabareesh123.noreply@github.com
50014adc7f08c346171e0509cbe789c8a4a21a53
098662ca9c95151e669753e246d7c158dccad201
/temp/playAIvsAI100.py
98a645521ab3b1639d89409f7460d2bd114f93f7
[]
no_license
ava9/CS6700
92dd92081614c3596b880de204e72d3098d85f2f
bcad9094a48784635ae8e6081cea4267e3729df0
refs/heads/master
2021-03-27T18:13:43.680760
2017-05-22T16:19:07
2017-05-22T16:19:07
84,686,033
0
0
null
null
null
null
UTF-8
Python
false
false
1,900
py
from board import board from human import humanInput from decentAI import decentAI from randomAI import randomAI from inorderAI import inorderAI from minimaxAI100 import minimaxAI100 from miniAIb100 import miniAIb100 from uctAI import uctAI import random class play: p1 = 1 p2 = -1 current = p1 win = 0 userInput =...
[ "szl5@cornell.edu" ]
szl5@cornell.edu
f696ff8d7d9240fa81168d2453e6f4cc46a5e659
555b9f764d9bca5232360979460bc35c2f5ad424
/google/ads/google_ads/v2/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py
1f8bcffe7cd224c6699d2bc6688076e783c5247a
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
juanmacugat/google-ads-python
b50256163782bc0223bcd8b29f789d74f4cfad05
0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a
refs/heads/master
2021-02-18T17:00:22.067673
2020-03-05T16:13:57
2020-03-05T16:13:57
245,215,877
1
0
Apache-2.0
2020-03-05T16:39:34
2020-03-05T16:39:33
null
UTF-8
Python
false
false
2,412
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2 from google.ads.google_ads.v2.proto.services import ad_group_...
[ "noreply@github.com" ]
juanmacugat.noreply@github.com
31504b49f2f0d932d6d843c066bd85325a8a5feb
00eb801cfd1e4b93f2db564ac8d0b30bdefca90b
/githubapi.py
67ab73ed8cef04090d15749fbd4f7f7f9753e27c
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
cclauss/repo-tools
048f376f17f49ebbb028a5ddcb354ea3fb2e3db4
3fb40a6da5191fbdda91f3a6a4b1b0b91d7cf18f
refs/heads/master
2020-04-16T11:34:21.676617
2019-01-03T22:01:19
2019-01-03T22:01:19
165,541,674
0
0
Apache-2.0
2019-01-13T18:49:20
2019-01-13T18:49:20
null
UTF-8
Python
false
false
5,651
py
"""Access to information using the GitHub API.""" from __future__ import print_function import operator import pprint import dateutil.parser from urlobject import URLObject from helpers import paginated_get, requests from models import PullRequestBase class JsonAttributeHelper(object): @classmethod def fr...
[ "ned@nedbatchelder.com" ]
ned@nedbatchelder.com
50a644d7e27f7cc2ea8d42c87fccae68515309ce
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_9/jnrkhy001/question2.py
d1392f0535dfa0b41ee30c71baaaf0b3483de830
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
# Khyati Jinerdeb # Assignment 9 # Date: 17.05.2014 # to program a text file to make them of same length def readF(filename): newLines = [] #To create a list file = open(filename,"r") #To open the file lines = file.readlines() #To read lines into a string file.close() ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
4fae9ac1bbf6df3f073e7624c668d4427c7807a7
9cff940d26e8c7ca7431c6d6516072c65cefa00c
/testRNN.py
16627f8f32b001e61b9a87911e6d7579e7942cfb
[]
no_license
sumitparw/NLP_Sentiment-Analysis-using-lstm
4a90dd842e24592b432ef47113fa1f17a2c0f2cf
6c1cc7717999cb16089376fe27a1e48e5b8ce2c7
refs/heads/master
2020-12-26T22:44:08.935738
2020-02-01T20:21:53
2020-02-01T20:21:53
237,672,631
0
0
null
null
null
null
UTF-8
Python
false
false
4,795
py
import nltk import random import pandas as pd from nltk.tokenize import word_tokenize import string import re import numpy as np import keras from keras.preprocessing.text import Tokenizer from keras.preprocessing.sequence import pad_sequences import matplotlib.pyplot as plt import seaborn as sns from sklearn.metrics i...
[ "46736751+sumitparw@users.noreply.github.com" ]
46736751+sumitparw@users.noreply.github.com
8fa99a71c36d7d8bfe0c03af05d83e0f8ab3dbb3
56cdf15ecf8621a7d64eee1fcac8c05a7bb227b4
/setup.py
ca019200306a195b1dbfad27c4b3d04011638dde
[ "Apache-2.0" ]
permissive
pombredanne/google-resumable-media-python
076ec91e0b81999c0571009d30eb4649f4be3e39
c158f0f2e43d2730350bd1fbcce4ddde35c4aa96
refs/heads/master
2021-07-11T04:37:58.824232
2017-10-12T16:44:05
2017-10-13T17:17:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,069
py
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "daniel.j.hermes@gmail.com" ]
daniel.j.hermes@gmail.com
1009696b09ebe1c6c83517db0ed3e096f49cd272
697c7514abc80e53dab70f22177c649d499500ce
/0015/A0015.py
e5f4ea89406e03fafc27a45f034c554f39ce471a
[]
no_license
aliceqin12/ShowMeTheCode
c2fbcf82090c7ccea47936f73c35efbfe927fc28
4d52e5b331912a6cc0f2dd842939067d0d2507d9
refs/heads/master
2021-07-01T19:24:04.602407
2017-09-20T02:09:59
2017-09-20T02:09:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
import json import xlrd import xlwt def writeCityDataToExcel(city_data): wb = xlwt.Workbook() table = wb.add_sheet('city') i = 0 for number in city_data: city_name = city_data.get(number) table.write(i, 0, number) table.write(i, 1, city_name) i += 1 wb.save('city....
[ "geekworldzhang@163.com" ]
geekworldzhang@163.com
fc78ea23f77df88d8c88ccf06ee7ba2efa3455b1
d01d4fe61ff5161cfc00ff85fc0abc616b82f78e
/Programs/Oops/destuctor2.py
70cf14616b802b7289e2df46787f867e5a102481
[]
no_license
Susama91/Project
8f14feadea104b6e258f9a3c4678e67da65c24ba
a580c29bf92403fc84c99514e918d8994126f7b1
refs/heads/master
2020-05-15T01:56:11.035480
2019-04-19T07:13:43
2019-04-19T07:13:43
182,039,791
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
class x: def __init__(self): print("in constructor of x") def m1(self): print("in m1 of x") def __del__(self): print("in destructor of x") x1=x() print(x1) x2=x1 print(x2) x3=x2 print(x3) x1=x() print(x1) x2=x() print(x2) x3=x() print(x3)
[ "susama00@gmail.com" ]
susama00@gmail.com
52e02810f632692cc57531ee6f8a11cd0b629405
8a45adaed54a171a508da5bd855d20ee727846f0
/userauth/migrations/0004_auto_20191205_2057.py
1f51eef4d9fdae5491ec712f3f3bc6e3f23e967a
[]
no_license
Aksa123/ecommerce
4b73571eb92ec3b36a3321cd368fbe40874b68bc
5de73daa318ab90cdf864600de6644266dc56ed5
refs/heads/master
2020-09-28T13:20:45.848574
2019-12-09T05:04:02
2019-12-09T05:04:02
226,787,003
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
# Generated by Django 2.2.7 on 2019-12-05 13:57 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('userauth', '0003_auto_20191205_2051'), ] operations = [ migrations.AlterField( ...
[ "=" ]
=
95faccea24e6b2ab12d71dc79deb1d28e75712e8
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow/python/keras/applications/xception.py
d4a2c3f668cfdab2d8c3b86a1e4fca1705ffeb94
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:5fc4a23b6bf0c06ea81c0d7f377ba3b35b99e19b6f9f35c06bdc98df2ce6e102 size 1649
[ "github@cuba12345" ]
github@cuba12345
6c2b89f0c4abae0a19d4ed88a0ec61d2b0381a44
a3c16ce3fedb4c2b0b4fbe002738b423e58f3c2e
/venv/Scripts/temboo/Library/Google/Directions/GetBicyclingDirections.py
cde366c29ff3ab8d08f58f44735e9d9e575eb3cd
[]
no_license
DevHyperCoder/News_Manager
45b05061db5be8bb32f1485ff5480d4aa6145b3f
88b54c3d1995b8f015dc03ac30657e6f9777f3aa
refs/heads/master
2020-08-21T14:22:57.248732
2019-10-19T09:14:45
2019-10-19T09:14:45
216,178,848
0
0
null
null
null
null
UTF-8
Python
false
false
5,411
py
# -*- coding: utf-8 -*- ############################################################################### # # GetBicyclingDirections # Generate biking directions between two locations, denoted by address or latitude/longitude coordinates. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed un...
[ "arduinoleo88@gmail.com" ]
arduinoleo88@gmail.com
24fcdb8ccf0280fb8ba2ed75a3851675935d6a4f
313bb88c43d74995e7426f9482c6c8e670fdb63c
/11_OOP/smartwatch.py
bb0fa9b462d04264234a57f615c8c9b8574a8d84
[]
no_license
martakedzior/python-course
8e93fcea3e9e1cb51920cb1fcf3ffbb310d1d654
3af2296c2092023d91ef5ff3b4ef9ea27ec2f227
refs/heads/main
2023-05-06T07:26:58.452520
2021-05-26T16:50:26
2021-05-26T16:50:26
339,822,876
1
0
null
null
null
null
UTF-8
Python
false
false
555
py
class UsefulStuff: def __init__(self, name): print(name, 'is used to make life easier!') class Watch(UsefulStuff): def __init__(self, watch_name): print(watch_name, "is small and convenient") super().__init__(watch_name) class Phone(UsefulStuff): def __init__(self, phone_name): ...
[ "marta.kedzior@wp.pl" ]
marta.kedzior@wp.pl
ee2492091381225d0905da86eba4bf1a846bc850
eea70db78a214217ba41801d870aba127ba56c56
/Code/Untested SarsaZero and SarsaLambda/ARL_package/CodeFramework/PlotAgent.py
7ef19024638e26d23ff9fb33f386856cef932710
[]
no_license
356255531/poppyProject
191b9a9e29817e3d6ce8c85dd5c0702982dd7157
678044afffa6390fac8cb402099bd32ae72d8a33
refs/heads/master
2021-01-21T14:32:47.373344
2016-07-12T19:42:25
2016-07-12T19:42:25
58,334,432
3
1
null
null
null
null
UTF-8
Python
false
false
3,276
py
import numpy as np from numpy.linalg import norm import matplotlib.pyplot as plt from copy import deepcopy class PlotAgent(object): def __init__(self, dimension): """ Diagramm: Horizontal: Episoid Number Vertical: 1. Step Number 2. Total Reward 3. If reach center 4. Q function difference eve...
[ "hanzw356255531@icloud.com" ]
hanzw356255531@icloud.com
4a3a05b184e11d4858f1f956115c5dd9c78fc203
3d8027f2ef3f723e13b31e056d0c03da4ed74aa8
/08-09-20(Day-14)/EmailSend/FirstApp/migrations/0002_auto_20200909_1645.py
7a1f067a5b808a0614207c3246015e92d575d536
[]
no_license
satyavani462/Django-Batch5
2efbc99223008954896667dee46d2606b6559c82
1b975bc21e7fdeed11bef7505d22d4fed126656c
refs/heads/master
2022-12-08T19:57:33.996903
2020-09-10T14:23:15
2020-09-10T14:23:15
294,688,262
1
0
null
2020-09-11T12:22:16
2020-09-11T12:22:15
null
UTF-8
Python
false
false
563
py
# Generated by Django 3.0.8 on 2020-09-09 11:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('FirstApp', '0001_initial'), ] operations = [ migrations.AlterField( model_name='emailuser', name='email', ...
[ "nivas0803@gmail.com" ]
nivas0803@gmail.com
3ac8aea314fa6a6da561563e62a994edd3cbe06d
2a1b8a671aceda6bc446f8ce26400aa84fa444a6
/Packs/GZip/Scripts/UnzipGZFile/UnzipGZFile.py
2e9d7d2a0e3b9413aa048c73acff6dc6785cf495
[ "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
2,896
py
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 import gzip import re import shutil from os.path import isfile ESCAPE_CHARACTERS = r'[/\<>"|?*]' def escape_illegal_characters_in_file_name(file_name: str) -> str: if file_name: file_name = re.sub(ESCAPE_CHARACTER...
[ "noreply@github.com" ]
demisto.noreply@github.com
3f08c6f4b90708762d29d9cca893e5352aefebb7
374d62b3aa78a2aa98077b28a1d78271d1e67a4a
/mike/db.py
0ef6bbc8339f00f6587fdff6ac35f25ba5778500
[ "MIT" ]
permissive
emre/mike
b15fc3ea34072db9fa2d71b81828dda160803519
d682fa3385568d4f3d37b8e4e5578cc729c63dcc
refs/heads/master
2020-04-22T16:54:51.540783
2019-03-17T21:04:35
2019-03-17T21:04:35
170,524,004
4
2
null
null
null
null
UTF-8
Python
false
false
2,910
py
import os import dataset class Database: """The wrapper class for database operations. """ def __init__(self, connection_uri=None): self.connection = dataset.connect( connection_uri or os.getenv("MIKE_DB")) @property def subscriptions(self): """Returns the dataset tab...
[ "mail@emreyilmaz.me" ]
mail@emreyilmaz.me
5836243f7b145db5656f8e58b2df169ceefab64f
ab79f8297105a7d412303a8b33eaa25038f38c0b
/education/timetable/report/__init__.py
634e31b396b90a640640fde891364d7a03dcf01d
[]
no_license
adahra/addons
41a23cbea1e35079f7a9864ade3c32851ee2fb09
c5a5678379649ccdf57a9d55b09b30436428b430
refs/heads/master
2022-06-17T21:22:22.306787
2020-05-15T10:51:14
2020-05-15T10:51:14
264,167,002
1
0
null
2020-05-15T10:39:26
2020-05-15T10:39:26
null
UTF-8
Python
false
false
1,238
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # Copyright (C) 2011-2012 Serpent Consulting Services (<http://www.serpentcs.com>) # Copyright (C) 201...
[ "prog1@381544ba-743e-41a5-bf0d-221725b9d5af" ]
prog1@381544ba-743e-41a5-bf0d-221725b9d5af
7a2d05ce4585126a339e5fe6678268ec288490f0
25b914aecd6b0cb49294fdc4f2efcfdf5803cc36
/homeassistant/components/smarttub/binary_sensor.py
f5af165525520438b3dbdab8a7cca6a8bc6deacf
[ "Apache-2.0" ]
permissive
jason0x43/home-assistant
9114decaa8f7c2f1582f84e79dc06736b402b008
8bf6aba1cf44ee841de063755c935ea78040f399
refs/heads/dev
2023-03-04T01:14:10.257593
2022-01-01T12:11:56
2022-01-01T12:11:56
230,622,861
1
1
Apache-2.0
2023-02-22T06:15:07
2019-12-28T14:45:43
Python
UTF-8
Python
false
false
5,737
py
"""Platform for binary sensor integration.""" from __future__ import annotations from smarttub import SpaError, SpaReminder import voluptuous as vol from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.helpers import entity_platform from .cons...
[ "noreply@github.com" ]
jason0x43.noreply@github.com
843108678682e8392270e75b6a3dcf8f91e7a60d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02686/s152409115.py
5134590d61085ac150e14818c0e30a5374b13fcf
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
import sys N = int(sys.stdin.readline().strip()) S = [] for _ in range(N): s_i = sys.stdin.readline().strip() S.append(s_i) # left bracket - right bracketを高さとした、最小の高さと最終的な高さの座標列 # ex) # ")": (-1, -1) # "(": (1, 1) # "()": (1, 0) # ")()(": (-1, 0) # "))))(((((: (-4, 1) plus_seqs = [] minus_seqs = [] for s_i ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
463be4007737de91d1de827ce584c2849f45f000
20c75b34256a9e2c6d1ac18ac14e923778846660
/Interview_Preperation_Kit/WarmUpChallenges/CountingValleys.py
d33e153fa0e6134089ebbf856bb74ce0af0de2ab
[]
no_license
ktyagi12/HackerRank
124303551dfe5b231654b5e96644ac43a775e31d
d10fbf50bc549297492618bb1896eca2e0cf3184
refs/heads/master
2020-09-06T19:33:27.422287
2020-01-11T12:02:36
2020-01-11T12:02:36
220,526,262
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
#Problem available at: https://www.hackerrank.com/challenges/counting-valleys/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=warmup #!/bin/python3 import math import os import random import re import sys # Complete the countingValleys function below. def countingValleys(n, s...
[ "karishmatyagi12@gmail.com" ]
karishmatyagi12@gmail.com
d1291af4db5155e59a61c437de7fcdb6c98f9866
841ad26ec31cd4339792c46513109d76c58161e9
/aula05/exercicio 8.py
f4c1ded6d79d92464638baf72349f0a97f01db8d
[]
no_license
Elvis-Lopes/Ci-ncias-de-Dados-Uni9
ab5537bfc0f570d639e9763bb80b9654838e76d2
2939216c6adef7c64c8a7045b99c117753baaae8
refs/heads/master
2021-02-11T12:54:56.248564
2020-03-30T23:24:03
2020-03-30T23:24:03
244,492,799
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
listaNumerica = [] n = float(input('Digite um numero: ')) listaNumerica.append(n) while n != 0: n = float(input('Digite um numero: ')) listaNumerica.append(n) print(listaNumerica)
[ "elvislopes1996@hotmail.com" ]
elvislopes1996@hotmail.com
a9e0812a200d12dea201acea2f097974ca462be5
b5e9349b073d90ee1188e3fc0f844eaefff68640
/travello/views.py
28028cf0fe7217f501e771ab2c103086a692ead9
[]
no_license
tamanna090903/travello
7e33162c450dd6bf8429036e40a5b631a14084cc
6d207597ade49354516bc09fa2e5e77624f3a8f3
refs/heads/master
2020-06-24T17:32:37.622240
2019-07-28T16:52:37
2019-07-28T16:52:37
199,031,302
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
from django.shortcuts import render from .models import Destination # Create your views here. def index(request): dests = Destination.objects.all() return render(request ,"index.html", {'dests': dests})
[ "hizbul.ku@gmail.com" ]
hizbul.ku@gmail.com
afa043d0d46daf0c393a951b77ce58cfe19f86d3
215fa1a675e15117f6579a96974e187952f0a0b1
/gevent/thread.py
8de1c6b35ad1f42f5977144ae6beff0d154c30ac
[ "MIT" ]
permissive
easel/gevent
1d04b36deb871a2cc4578f3d533de0205abf2ccd
dcb431e55037192a0461ef8067d8f087a3e084d7
refs/heads/master
2021-01-01T18:33:59.774821
2012-06-06T15:07:40
2012-06-06T15:07:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,735
py
"""Implementation of the standard :mod:`thread` module that spawns greenlets. .. note:: This module is a helper for :mod:`gevent.monkey` and is not intended to be used directly. For spawning greenlets in your applications, prefer :class:`Greenlet` class. """ import sys __implements__ = ['allocate_lock', ...
[ "denis.bilenko@gmail.com" ]
denis.bilenko@gmail.com
b0565a046adfc997bf8ea3559143f82649e12133
91da8a59561d6f2c7852c0548298434e0ede2ac7
/Hash table/MaxNumberofK-SumPairs.py
4a0bfbbcd318ab64c3250a8770c8878e0d3af028
[]
no_license
prashant97sikarwar/leetcode
6d3828772cc426ccf53dad07edb1efbc2f1e1ded
e76054e27a5d4493bd1bcef2ebdeb21d257afb63
refs/heads/master
2023-08-23T05:06:23.181869
2021-10-28T18:19:10
2021-10-28T18:19:10
286,057,727
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
#Problem Link:- https://leetcode.com/problems/max-number-of-k-sum-pairs/ """You are given an integer array nums and an integer k. In one operation, you can pick two numbers from the array whose sum equals k and remove them from the array.Return the maximum number of operations you can perform on the array.""" class...
[ "prashant97sikarwar@gmail.com" ]
prashant97sikarwar@gmail.com
1e52ec2ede49f6add05f994482b8aeb958a08cfc
49185bd5cf7e2f5190ce22b5189a09fe1ab6bb0f
/Proper/proper/examples/simple_prescription.py
cf7b181641c3e6576ad699572b6fa0f84fe0d83c
[ "MIT" ]
permissive
RupertDodkins/MEDIS
c3f55d8adb6a8c4120593ba6552c9dfe3784d4e2
bdb1f00fb93506da2a1f251bc6780e70e97a16c5
refs/heads/master
2021-07-05T20:06:44.162517
2019-09-05T22:16:12
2019-09-05T22:16:12
160,850,558
2
2
null
null
null
null
UTF-8
Python
false
false
1,058
py
# Copyright 2016, 2017 California Institute of Technology # Users must agree to abide by the restrictions listed in the # file "LegalStuff.txt" in the PROPER library directory. # # PROPER developed at Jet Propulsion Laboratory/California Inst. Technology # Original IDL version by John Krist # Python transla...
[ "rupertdodkins@gmail.com" ]
rupertdodkins@gmail.com
4c68017ce4aae30013d89c3c9a04d30934043953
cbc5e26bb47ae69e80a3649c90275becf25ce404
/xlsxwriter/test/comparison/test_chart_errorbars10.py
bc261b91a0893ee6210674e79ef3870005290cca
[ "BSD-2-Clause-Views", "BSD-3-Clause", "MIT" ]
permissive
mst-solar-car/kicad-bom-generator
c3549409c3139f787ad28391372b5cb03791694a
2aae905056d06f3d25343a8d784049c141d05640
refs/heads/master
2021-09-07T14:00:40.759486
2018-02-23T23:21:13
2018-02-23T23:21:13
107,868,801
3
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2017, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "mwrb7d@mst.edu" ]
mwrb7d@mst.edu
480048ab14fa77b38474b844721b38de1a29f589
c287efc62bf76323f99f0e8e8460c67123bbe9c4
/getdeal/apps/profiles/permissions.py
9ce3f833d2f2df58d124cacdd717e675d404c122
[]
no_license
PankeshGupta/getdeal
ff702e1ab629a06bc6d7ad012c55bc0b0e0c1415
b0702a8f7f60de6db9de7f712108e68d66f07f61
refs/heads/master
2020-03-18T14:15:37.874570
2015-02-23T00:12:58
2015-02-23T00:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
# -*- coding: utf-8 -*- """ Created on Sep 22, 2013 """ from rest_framework import permissions class IsUserOwnerOrReadOnly(permissions.BasePermission): """ Custom permission to only allow owners of an object to edit it. """ def has_object_permission(self, request, view, obj): # Read permissio...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
e4cd3f418288f140c96540175a456d68bc217d6b
5a281cb78335e06c631181720546f6876005d4e5
/karbor-1.3.0/karbor/services/protection/protectable_plugins/share.py
60a4bc2f57d26d0747b3f8b2cc01936164dbd252
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
3,812
py
# 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, software # d...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
b25410fbc35275f299a22b2b9d4a9530a7d3c99f
127e99fbdc4e04f90c0afc6f4d076cc3d7fdce06
/2021_하반기 코테연습/leet_451.py
c8f3066418b4e33e2c805fefef2f434513deadaf
[]
no_license
holim0/Algo_Study
54a6f10239368c6cf230b9f1273fe42caa97401c
ce734dcde091fa7f29b66dd3fb86d7a6109e8d9c
refs/heads/master
2023-08-25T14:07:56.420288
2021-10-25T12:28:23
2021-10-25T12:28:23
276,076,057
3
1
null
null
null
null
UTF-8
Python
false
false
501
py
from collections import defaultdict class Solution: def frequencySort(self, s: str) -> str: fre_cnt = defaultdict(int) for cur in s: fre_cnt[cur]+=1 sorted_fre = sorted(fre_cnt.items(), key=lambda x: -x[1]) answer ...
[ "holim1226@gmail.com" ]
holim1226@gmail.com
f88a8f94c2dd7cf204eba1fa2b522da44f2431ef
dde00571d8e65208c0642f009cb1d4bc33460026
/bigmler/retrain/dispatcher.py
8cc577939895b4f3f5a583c63afcd8068c1d2c27
[ "Apache-2.0" ]
permissive
javs0188/bigmler
44e5505f4751ebdfece7da87e4d4592b0da7ff51
e411bb292a3c8db4cac6754b2b744ffe27fdb47a
refs/heads/master
2021-03-01T02:08:29.730986
2020-01-25T10:43:01
2020-01-25T10:43:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,659
py
# -*- coding: utf-8 -*- # # Copyright 2017-2020 BigML # # 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 ...
[ "merce@bigml.com" ]
merce@bigml.com
ff41520a1318a531ff4c623d7d94c949f05421e2
d2b53b3568890dd805575035d09635c422c6bc4d
/python/ray/tests/aws/test_autoscaler_aws.py
b8ad6f31e04390f923b33d399f671f73469a7377
[ "Apache-2.0", "MIT" ]
permissive
mehrdadn/ray
939deda7099eb30371cbb920a9725b314c58c0b5
3506910c5da257215d38d02f424acc4f419ddbaf
refs/heads/master
2020-09-03T15:33:35.578248
2020-07-31T21:33:27
2020-07-31T21:33:27
219,498,150
2
1
Apache-2.0
2019-11-04T12:37:23
2019-11-04T12:37:22
null
UTF-8
Python
false
false
3,393
py
import pytest import ray.tests.aws.utils.stubs as stubs import ray.tests.aws.utils.helpers as helpers from ray.tests.aws.utils.constants import AUX_SUBNET, DEFAULT_SUBNET, \ DEFAULT_SG_AUX_SUBNET, DEFAULT_SG, DEFAULT_SG_DUAL_GROUP_RULES, \ DEFAULT_SG_WITH_RULES_AUX_SUBNET, DEFAULT_SG_WITH_RULES, AUX_SG def t...
[ "noreply@github.com" ]
mehrdadn.noreply@github.com
00006783d5e79988872b0772507bea6d8a61f0db
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/251/36331/submittedfiles/testes.py
2d065c88525ae84222b04ffffd65216933bdb1e3
[]
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
303
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO investimento = float (input('Digite o valor do investimento inicial: ')) taxa = float (input('Digite o valor da taxa anual (em decimais): ')) renda = (investimento+(investimento*taxa)) for i in range (1,10+1,1): print('%.2f'%renda) investimento=renda
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
56bb280379109927a2e04eac8c3e377a33c399a9
3f1edc1a3b9f27c365b9c851d92abba7b1401c02
/features_server/features_server.py
f780b5f6e54294a687e62896c08f1e7172801396
[]
no_license
nakamoo/sumica
278e137c8ac79f8d7d6743093b81e1466a89e26e
302c72f283edc1f7953e224faf31d3f96bfe73e8
refs/heads/master
2021-03-22T02:15:42.215137
2018-02-13T13:22:55
2018-02-13T13:22:55
94,852,473
0
0
null
null
null
null
UTF-8
Python
false
false
6,934
py
import flask import scipy.misc import sys import uuid from flask import Flask, request app = Flask(__name__) import re import os import json from skimage import io import numpy as np from io import BytesIO import cv2 import PyOpenPose as OP from concurrent.futures import ThreadPoolExecutor, wait def init_pose(): ...
[ "you@example.com" ]
you@example.com
8b2e65993a3863ac9ac5c852480122cca60b8959
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/python/af6282605186f294d7c47dcace86864f4f872c6egenDb.py
af6282605186f294d7c47dcace86864f4f872c6e
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
1,241
py
from review.models import * def run(): n1= node_user(fb_id="34",user_name="joe") n1.save() n2= node_user(fb_id="35",user_name="sam") n2.save() n3= node_user(fb_id="36",user_name="john") n3.save() n4= node_user(fb_id="37",user_name="jeff") n4.save() n5= node_user(fb_id="38",user_name="tom") n5.save() n6= nod...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
b5391465dd3262d455b496d8d0456ca778bfd174
52ad58b5412f9124822283d168391e5e2b8fa150
/Linux/Linux命令介绍04.py
2a62916447e0b8dbefa96a704151ee2d5f9deddc
[]
no_license
JiangHuYiXiao/PythonStudy
69ad9795faaf24a6166ab21cae564f6461e1363e
aeebce2cacbf3757d25c8c4d24d15639e0bb8e37
refs/heads/master
2021-08-17T16:54:43.477502
2021-08-11T01:06:11
2021-08-11T01:06:11
153,078,386
1
0
null
null
null
null
UTF-8
Python
false
false
4,201
py
# -*- coding:utf-8 -*- # @Author : 江湖一笑 # @Time : 2020/9/11 8:40 # @Software : Python_study # @Python_verison : 3.7 ''' 命令提示符 登录系统后,第一眼看到的内容是: [root@localhost ~]# 这就是 Linux 系统的命令提示符。那么,这个提示符的含义是什么呢? []:这是提示符的分隔符号,没有特殊含义。 root:显示的是当前的登录用户,笔者现在使用的是 root 用户登录。 @:分隔符号,没有特殊含义。 localhost:当前系统的简写主机名(完...
[ "1163270704@qq.com" ]
1163270704@qq.com
2012b74d2ce14fa5c56da7a2de113423caeae59d
0aaf6ce59d305428611958a5bf6a5831407bca65
/advisor_server/suggestion/early_stop_algorithm/early_stop_descending.py
6f824fe160698a53bf830074eb354aa93ad923bd
[ "Apache-2.0" ]
permissive
mlaradji/advisor
d770043a5307af1037cad6be1c449d541acf87b0
8ec0f8b64809daa80a20d717b4e45ad9fbcadbb0
refs/heads/master
2023-05-26T05:59:50.169748
2018-10-18T10:34:42
2018-10-18T10:34:42
154,219,666
0
0
Apache-2.0
2023-04-29T17:00:36
2018-10-22T21:27:59
Jupyter Notebook
UTF-8
Python
false
false
989
py
import json from suggestion.models import Study from suggestion.models import TrialMetric from suggestion.early_stop_algorithm.abstract_early_stop import AbstractEarlyStopAlgorithm class EarlyStopDescendingAlgorithm(AbstractEarlyStopAlgorithm): def get_early_stop_trials(self, trials): result = [] for tria...
[ "tobeg3oogle@gmail.com" ]
tobeg3oogle@gmail.com
2ff11310059b2cc48f811548c17c1873d63feae0
abad4b3101e46e0d8002f9b5796a3c32e958fd10
/Demo/demo/settings.py
a84aed7b9b3bc62bb44c45d1c30c24332708895d
[]
no_license
Twishar/aiohttp
9ffec2f7d1431943780ac56c46fa140a589961da
e9bc0a8447f9792767ae1b93e15db22875ed114d
refs/heads/master
2020-03-22T03:35:47.398634
2019-03-19T15:33:17
2019-03-19T15:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
import yaml from pathlib import Path __all__ = ('load_config',) def load_config(config_file=None): default_file = Path(__file__).parent / 'config.yaml' with open(default_file, 'r') as f: config = yaml.safe_load(f) cf_dict = {} if config_file: cf_dict = yaml.safe_load(config_file) ...
[ "stognienkovv@gmail.com" ]
stognienkovv@gmail.com
929356f001a36d06a80acbe8aba1e2c37beeae02
fd62d8096dc95923341cfac29f0209bfbea887b4
/models_evaluation/xgboost/grid_search/jobs_test/5.0_0.07_0.0_10.0_10.0.job.py
6972e9e01ee719fd52a79035172c6ae1a7271bd2
[]
no_license
Eulerianial/premise-selection-deepmath-style
06c8f2f540bc7e3840c6db0a66c5b30b5f4257f9
8684a59b5d8beab1d02a3a7c568a16c790ea4b45
refs/heads/master
2021-07-17T17:04:13.472687
2017-10-25T13:54:44
2017-10-25T13:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
import xgboost as xgb import argparse import sys import os from saving_loading import * ##################################### p = { "max_depth":int(5.0), "eta":0.07, "gamma":0.0, "num_boost_round":int(10.0), "early_stopping_rounds":int(10.0) } ##################################### if __name__ == "...
[ "bartoszpiotrowski@post.pl" ]
bartoszpiotrowski@post.pl
b877783770fb5ebffef4b657a4b127ada97799b4
64e24096ab40259cea27d431dce0814bc58597e2
/src/pymor/discretizers/fenics/cg.py
0f0cdaa80a93a228707624d1669589420e33ced8
[ "BSD-2-Clause" ]
permissive
lbalicki/pymor
ea657d25d141895a40345533460543b27b79c6f0
e99f260097bd1db0eeb26102cdef8c672b3c9868
refs/heads/main
2023-03-18T18:35:38.993176
2022-08-26T06:30:33
2022-08-26T06:30:33
228,632,806
0
1
NOASSERTION
2019-12-17T14:20:50
2019-12-17T14:20:49
null
UTF-8
Python
false
false
7,419
py
# This file is part of the pyMOR project (https://www.pymor.org). # Copyright pyMOR developers and contributors. All rights reserved. # License: BSD 2-Clause License (https://opensource.org/licenses/BSD-2-Clause) from pymor.core.config import config config.require('FENICS') import dolfin as df from pymor.algorithms...
[ "stephanrave@uni-muenster.de" ]
stephanrave@uni-muenster.de
a25c812d2cceaf4bdb7d6e95c7aeeb05abfe9817
53865bdc3b5e5bb26ecd40d30b66ad71de1081cc
/src/bed_gff_manipulation/filter_bed_to_fasta.py
33d2602ba502ca600e516a540f906c2a190a9c7e
[ "MIT" ]
permissive
olgatsiouri1996/biomisc
a5477279ab53a5307ce026868fa77639b45a44af
e3709f566c5c93aec884558f1f2b620a1cf9792d
refs/heads/main
2023-08-19T08:59:32.899646
2023-08-16T13:10:05
2023-08-16T13:10:05
300,590,735
5
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
# python3 import sys import argparse from pyfaidx import Fasta import pandas as pd import warnings # input parameters ap = argparse.ArgumentParser() ap.add_argument("-bed", "--bed", required=True, help="input bed file(made with bedops, every feature in the \'.gff\' or \'.gff3\' file should have an \'ID\' tag in the \'a...
[ "olgatsiouri@outlook.com" ]
olgatsiouri@outlook.com
f0cd7cf24537cb5be88b18a99b4c9f72c7b130e8
0a1f8957a798006deaa53d10d09f733fab1e6b05
/bin/Python27/Lib/site-packages/sympy/core/core.py
4c2bf72e9018dc683d8f301c69a313158ff99217
[ "LicenseRef-scancode-other-permissive" ]
permissive
metamorph-inc/meta-core
a89504ccb1ed2f97cc6e792ba52e3a6df349efef
bc7a05e04c7901f477fe553c59e478a837116d92
refs/heads/master
2023-03-07T02:52:57.262506
2023-03-01T18:49:49
2023-03-01T18:49:49
40,361,476
25
15
NOASSERTION
2023-01-13T16:54:30
2015-08-07T13:21:24
Python
UTF-8
Python
false
false
3,764
py
""" The core's core. """ from sympy.core.compatibility import cmp # used for canonical ordering of symbolic sequences # via __cmp__ method: # FIXME this is *so* irrelevant and outdated! ordering_of_classes = [ # singleton numbers 'Zero', 'One','Half','Infinity','NaN','NegativeOne','NegativeInfinity', # num...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
dc82b171cc6ab60e7af9a0c3dfb107309555c95e
8114909d3ed6ee1e6d1fbe14a37723015ab53af6
/source_test.py
91ee4a6072716b0382d94851d413d9bb445b4364
[ "LicenseRef-scancode-public-domain" ]
permissive
notenoughneon/activitystreams-unofficial
b0c66d48eb3b43d68b76df069ba237dce9d77489
1f45bde45d3d18ef39d69ebd698e248233b94ce9
refs/heads/master
2021-01-18T03:01:03.101619
2014-08-15T15:00:00
2014-08-15T23:48:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,093
py
# coding=utf-8 """Unit tests for source.py. """ __author__ = ['Ryan Barrett <activitystreams@ryanb.org>'] import copy import json import mox from source import Source from oauth_dropins.webutil import testutil from oauth_dropins.webutil import util LIKES = [{ 'verb': 'like', 'author': {'id': 'tag:fake.com:p...
[ "git@ryanb.org" ]
git@ryanb.org
b27eade25115e891e7aff1fada285bf11bcc7f81
dd9e19abfff532e7f4dea5f5b57ac6a4da9f1e6f
/fabric/thread_handling.py
25aa3a2326b3f02aad1cc42e0c3341329190fd37
[ "BSD-2-Clause" ]
permissive
jonatkinson/fabric
27c6146243a2c846162e0a6e14f282b900cb2734
64eb6c56e1aa4c0b654bb8d17f0a09386616342b
refs/heads/master
2020-12-24T20:01:02.759635
2011-03-04T02:26:31
2011-03-04T02:26:31
1,441,428
0
0
BSD-2-Clause
2020-06-01T13:22:18
2011-03-04T23:00:45
Python
UTF-8
Python
false
false
587
py
import threading import sys class ThreadHandler(object): def __init__(self, name, callable, *args, **kwargs): # Set up exception handling self.exception = None def wrapper(*args, **kwargs): try: callable(*args, **kwargs) except BaseException: ...
[ "jeff@bitprophet.org" ]
jeff@bitprophet.org
b22c5bba251df2059e2e293d1f03d796f0be5fc0
95b0b12c8e3b9982aff752b4f5e69e7812e56728
/12-Spider/09_UA.py
b53bce5333ba1cfe540fc9814bdfdbbfd79ab36e
[]
no_license
PeterTao666/learnpython2
fb6792de7d28d306eaeda9098914fa5bb2151592
56a506590bf625c5c1ab23a530f30b23b89c8864
refs/heads/master
2020-04-17T11:41:12.587398
2019-02-12T14:06:38
2019-02-12T14:06:38
166,550,772
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
# 访问一个网址 # 更改自己的UserAgent进行伪装 from urllib import request, error if __name__ == '__main__': url = 'http://www.baidu.com' try: # 使用head方法伪装UA # 方法一: #headers = {} #headers['User-Agent'] = 'Mozilla/5.0 (ipad;CPU OS 5_0 like Mac OS X) AppleWibKit/534.46(KHTML, like Gecko) Version/...
[ "taofeng1993@163.com" ]
taofeng1993@163.com
e05696c1beeb3ed1f8442fe11b4519696639551d
634fb5fe10e8f944da44ab31896acc8471ec5f18
/hq_env/lib/python2.7/site-packages/openpyxl/tests/test_write.py
097e233c689ef564cb1d2d59ffbcc48be6eaf0f3
[]
no_license
dimagi/commcarehq-venv
277d0b6fada24f2edd54f74850267201153412a7
2c52e3fb0f974cae5c5feaea1d5de851fe530c80
refs/heads/master
2021-01-18T14:05:47.931306
2015-07-20T10:10:41
2015-07-20T10:10:41
11,513,855
1
1
null
2015-07-20T10:10:41
2013-07-18T21:09:22
Python
UTF-8
Python
false
false
7,980
py
# file openpyxl/tests/test_write.py # Copyright (c) 2010-2011 openpyxl # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to us...
[ "dmyung@dimagi.com" ]
dmyung@dimagi.com
4e0c8635049fc400d8256cfd2f5f3190bb8a40f3
814f8b85dd6435b3bb3fdebf2f193912aa145a62
/image_segmentation/slim_fcn/utils.py
d84502d6bbb3c3d6baedec6adf6a1cc5d5015d94
[ "Apache-2.0" ]
permissive
jacke121/pycharm
480df86258ee918de25b76a4156e9e6b9d355df7
b9b2963cf0c5028f622f41413f52f1b5cbde28a1
refs/heads/master
2020-03-18T16:35:25.579992
2018-01-01T02:30:58
2018-01-01T02:30:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Created by weihang huang on 17-12-23 from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import sys import os import tensorflow as tf import numpy as np def colormap(n): ...
[ "614047311@qq.com" ]
614047311@qq.com
be6d8f5c44955195923dcdcee4b4c0b69fd07ab1
edf06a2bbe5f2ac332e7c93a91b391b548d2caa3
/caso/config.py
0f06b5ea25793404583023ee7b11c239b5b91f4f
[ "Apache-2.0" ]
permissive
enolfc/caso
b3fcb8490491f94b73ff23f516426f7bf257b20f
22711ca71de4dcd99c231d3220005e0faee9b80d
refs/heads/master
2023-08-05T09:57:55.633603
2022-03-21T11:28:09
2022-03-24T15:46:48
27,259,205
0
0
Apache-2.0
2022-03-17T13:13:20
2014-11-28T09:00:13
Python
UTF-8
Python
false
false
1,043
py
# -*- coding: utf-8 -*- # Copyright 2014 Spanish National Research Council (CSIC) # # 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 # # Unle...
[ "aloga@ifca.unican.es" ]
aloga@ifca.unican.es
827d277eb2c6b6355e2ed92d4b2f89b51345f449
d31d744f62c09cb298022f42bcaf9de03ad9791c
/model-analysis/tensorflow_model_analysis/extractors/__init__.py
a06399b7fca2700ab4b4b86ce7286df7ba755c01
[]
no_license
yuhuofei/TensorFlow-1
b2085cb5c061aefe97e2e8f324b01d7d8e3f04a0
36eb6994d36674604973a06159e73187087f51c6
refs/heads/master
2023-02-22T13:57:28.886086
2021-01-26T14:18:18
2021-01-26T14:18:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,446
py
# Lint as: python3 # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
bd1d6657e2a5c8b6d49190039ae96a131706ac70
99b062cb9f5f3ff10c9f1fa00e43f6e8151a43a6
/algorithm/AD/장기.py
4e1e8a0d1bdb348bfe634238d4aec62f57fbc256
[]
no_license
HSx3/TIL
92acc90758015c2e31660617bd927f7f100f5f64
981c9aaaf09c930d980205f68a28f2fc8006efcb
refs/heads/master
2020-04-11T21:13:36.239246
2019-05-08T08:18:03
2019-05-08T08:18:03
162,099,042
4
0
null
null
null
null
UTF-8
Python
false
false
753
py
import sys sys.stdin = open("장기_input.txt") def bfs(): que = [] que.append((R, C, 0)) data[R][C] = 1 dr = [-2, -2, -1, 1, 2, 2, 1, -1] dc = [-1, 1, 2, 2, 1, -1, -2, -2] while que: r, c, turn = que.pop(0) if r == S and c == K: return turn for i in range(8)...
[ "hs.ssafy@gmail.com" ]
hs.ssafy@gmail.com
164b9f7d0ee11a4e314b06179056de3565e0c3d7
b5bde703700ccf5b575f2382d357c0d2f5bd306c
/code/.metadata/.plugins/org.eclipse.core.resources/.history/7e/90dd27476cf30014128189d707139bfe
9f9953b39fdd1318ccfa7bad7921046b4f189881
[]
no_license
lordwarlock/IRFinalProj
6a4a4a8d880f27fcd38054125c5e695c179863d6
cc2b3003fb41a63cb85c84bbdf13c20d8a7e1cba
refs/heads/master
2016-08-07T08:52:46.564262
2015-05-06T21:48:42
2015-05-06T21:48:42
33,019,191
1
0
null
null
null
null
UTF-8
Python
false
false
3,989
#!/usr/bin/python ''' Defines the general behavior that can be used by all cgi search modules. ''' import unicodedata import cgi import cgitb cgitb.enable() def receive_data(): ''' Receive and return the cgi data from web-page. @return: the cgi form data from the corresponding web-page ''' ...
[ "apple@Junchao.local" ]
apple@Junchao.local
54d43d884097f994f64480f38c5b51fee9295850
a6476a929a361a9fcd0f1c23635d24554032000f
/horizon/horizon/dashboards/nova/images_and_snapshots/snapshots/forms.py
1e91fb12ce2f14d5044b9194607ef23c81bed843
[ "Apache-2.0" ]
permissive
ehazlett/horizon
976eba79aed5390b98926389c8df29bbbc8d657b
993cc3bcd8e47a823733af5756fcb0f42cc4c703
refs/heads/master
2020-12-25T12:47:48.879504
2012-01-06T20:56:27
2012-01-06T20:56:27
3,123,162
1
1
null
null
null
null
UTF-8
Python
false
false
2,234
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2011 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no...
[ "gabriel@strikeawe.com" ]
gabriel@strikeawe.com
339b4951be14fbb332d93723eb4ca888cccd60f9
c0075f31ff48142a05d92f11840229beee09f697
/tests/plugins/test_googledrive.py
340eb364e9161bfe2aa709b277873eebea29254f
[ "BSD-Source-Code", "BSD-2-Clause" ]
permissive
beardypig/streamlink
c1d44605ced0c924257b4813649acb406b035cb8
54c25e49a45a5545d2d9a545320cd2034ea41cd3
refs/heads/master
2021-12-12T04:31:02.955852
2020-11-10T06:18:33
2020-11-10T06:39:46
70,149,227
5
2
BSD-2-Clause
2019-08-08T11:56:37
2016-10-06T11:52:09
Python
UTF-8
Python
false
false
581
py
import unittest from streamlink.plugins.googledrive import GoogleDocs class TestPluginGoogleDocs(unittest.TestCase): def test_can_handle_url(self): should_match = [ 'https://drive.google.com/file/d/123123/preview?start=1', ] for url in should_match: self.assertTrue...
[ "gravyboat@users.noreply.github.com" ]
gravyboat@users.noreply.github.com
3435c887badc00f8d36cb10f18293efc83d2474a
2e6f37e664d2cc85d0c704f20de05b2cae86771d
/dataloader/image_list.py
64e7b0334e72a01f88ae9d4278fd9d20d06d2bef
[ "MIT" ]
permissive
LEOGML/cv_template
5bee5e43efb490649f63a7c4e1b77e62a3e1d948
c1a87465f0aeb79dab63b0cae88861a6282c045c
refs/heads/master
2023-01-30T21:32:38.240103
2020-12-15T09:39:14
2020-12-15T09:39:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,122
py
# encoding=utf-8 import pdb import os import torch.utils.data.dataset as dataset import misc_utils as utils import random import numpy as np import cv2 from dataloader.transforms.custom_transform import read_image class ListTrainValDataset(dataset.Dataset): """ImageDataset for training. Args: file_l...
[ "523131316@qq.com" ]
523131316@qq.com
3f1c49d72fa189356632d260c761d1405c531bba
53309442fbf23b02b9f8181a58e5e988f7c6e8f2
/dlk/python/dlk/scripts/pylib/nnlib.py
3481d35e730d0618d078acc297ad6c1427d29d78
[ "Apache-2.0" ]
permissive
serihiro/blueoil
a12baa1224d2a7056de14e74bceebe7f80e30de8
e538a08cb149c6f630263905819cc8c53a0a6081
refs/heads/master
2020-07-25T11:53:48.940466
2019-09-12T06:38:12
2019-09-12T06:38:12
208,280,175
0
0
Apache-2.0
2019-09-13T14:22:40
2019-09-13T14:22:36
null
UTF-8
Python
false
false
3,312
py
# -*- coding: utf-8 -*- # Copyright 2018 The Blueoil 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 # # Unles...
[ "matsuda@leapmind.io" ]
matsuda@leapmind.io
44b803a1e237f3e47252977e2bb7d9fe4553a3ca
d39af45744a6220d30895126f2fc531e4d9ef2af
/tests/plugin2.py
5cb8fbb6f23b82d34c8a17108cb5644f4fb3479c
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
hugovk/coveragepy
dce0e11e3244cd9f79d0c5a432dac7a7cce74b69
2e09055737aaa7a4c3d61bd1cb700ef528827036
refs/heads/master
2023-06-27T08:39:02.120975
2023-06-07T10:28:18
2023-06-07T10:28:18
19,588,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,293
py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """A file tracer plugin for test_plugins.py to import.""" from __future__ import annotations import os.path from types import FrameType from typing import Any, O...
[ "ned@nedbatchelder.com" ]
ned@nedbatchelder.com
931e0759257b0d996fd365675e052b85bb3061bd
97af8fc69f99073f000ef8da0256c8dcc4b62c5c
/graph/migrations/0001_initial.py
4b39b43a2ba9aca245c6501aa1888e335177d984
[]
no_license
belal-bh/django-mptt-example
6af4525de881780688e26b7017013e8b8640860e
e341b65af32fbda2fc7f8f04192ca32f5d30d819
refs/heads/main
2023-03-15T21:44:52.678226
2021-03-02T13:40:38
2021-03-02T13:40:38
320,348,317
0
0
null
null
null
null
UTF-8
Python
false
false
1,534
py
# Generated by Django 3.1.4 on 2020-12-04 18:52 from django.db import migrations, models import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Node', ...
[ "bh.pro.pust@gmail.com" ]
bh.pro.pust@gmail.com
84f033145a45d5d825a7c732f5c3c30954b010cc
576cc83449e10fd3f98281970c46016ea7a5aea2
/OpenCV预处理/局部自适应阈值处理inv.py
154af1ae5f36d50bf61283ada12b9c43f3c9eb18
[]
no_license
HotView/PycharmProjects
215ab9edd341e3293daebcf86d97537f8cd28d75
61393fe5ba781a8c1216a5cbe7e0d06149a10190
refs/heads/master
2020-06-02T07:41:53.608742
2019-11-13T08:31:57
2019-11-13T08:31:57
191,085,178
3
2
null
null
null
null
UTF-8
Python
false
false
660
py
# 目标区域为偏暗色,即灰度值最小的地方为感兴趣区 import cv2 import numpy as np def Nothing(val): size = cv2.getTrackbarPos("size","gray") param = cv2.getTrackbarPos("param","gray") thresh = cv2.adaptiveThreshold(gray,255, cv2.ADAPTIVE_THRESH_MEAN_C, cv2.THRESH_BINARY_INV,2*size+1, param) cv2.imshow("thresh", thresh) img = cv2...
[ "864773190@qq.com" ]
864773190@qq.com
3bb894282823a496a43313fedc66a4b3f100aa8b
49d416e5c94540ba19ce1218dd253158b9f1c37c
/src/allennlp_plugins/__init__.py
091c329d91186498e95efe351648d91fe8919931
[ "Apache-2.0" ]
permissive
j6mes/eacl2021-debias-finetuning
b05ba45508cef45e96cdf78d2182fe0a6edb541c
f3773c4a608c042c132bfe54e7cb63b142291c93
refs/heads/main
2023-03-26T01:39:11.674216
2021-03-27T21:35:52
2021-03-27T21:35:52
351,411,446
2
0
null
null
null
null
UTF-8
Python
false
false
171
py
from debias_finetuning.commands.finetune_l2 import * from debias_finetuning.commands.finetune_ewc import * from debias_finetuning.commands.evaluate_with_overwrite import *
[ "james@jthorne.co.uk" ]
james@jthorne.co.uk
13b72aef7c8e90f7fff0839b4af94da5347f0931
c0cbcf1d1b42495fdb70ad62d3bb954be2b0c322
/learn/FileIO.py
d480471d13f9cbe0d21948a8307bd74da1ffd13e
[]
no_license
pranjalparmar/Learn-Python
98ec11e9cab3d29d5e1e176e4b9ec3f4e232e78e
c377f8c0eca791b43ae55fae797e4f3fb6a3bcfc
refs/heads/main
2023-02-28T17:42:53.271860
2021-02-06T11:18:45
2021-02-06T11:18:45
336,462,392
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
f = open("pranjal.txt","rt") print(f.readlines()) # print(f.readline()) # print(f.readline()) # content = (f.readline()) # content = (f.readline()) # print("1",content) # for line in f: # print(line,end="") f.close()
[ "noreply@github.com" ]
pranjalparmar.noreply@github.com
f1407cc95fbc90c393aa118b32271d74fc4e8720
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2690/60678/248819.py
09b1630a9d7bb564180ece9ce7e5ce73c668ba77
[]
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
849
py
times = int(input()) for loopTimes in range(0, times): input() stringList = input().split() stringM = stringList[0] stringS = stringList[1] stringTest = stringM + ' ' + stringS listM = list(stringM) listS = list(stringS) for i in range(0, len(stringS)): while stringM.find(...
[ "1069583789@qq.com" ]
1069583789@qq.com
2304ae329181fdc87d288da984a9d02c5739dcb5
ace7e98719c756cff4e4baf7c92e546cbc0b92ca
/LintCode/6-Linked List/2.covertSortedListToBalancedBST.py
a098c7d34acc77b54dd52275e5165369ed6a2091
[]
no_license
armsky/OnlineJudge
f4159326c92a794695cca8a162280fef32f95a2a
c658b78c920aa94c25b3d932cd7e46c0df82b19a
refs/heads/master
2020-04-15T01:21:18.158217
2015-12-11T03:05:28
2015-12-11T03:05:28
21,989,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
""" Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. Example 2 1->2->3 => / \ 1 3 """ class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next class TreeNode: def __...
[ "armsky1988@gmail.com" ]
armsky1988@gmail.com
3e472ab7973b0dfe437944cf0b307c2745160fd3
f81c629865f0493500eaa2ab4e3337fd6603cf0c
/loqusdb/commands/cli.py
6bc3d75fe6e36e25ab05477e35b792c64c45b9f6
[]
no_license
robinandeer/loqusdb
fd8a49e325ae36169e16025793156e0a978c6716
15ae953589bbe51b24e549c03986bf2ea0ef6b0e
refs/heads/master
2021-01-18T10:47:44.870986
2016-03-02T13:10:34
2016-03-02T13:10:34
52,794,952
0
0
null
2016-02-29T13:50:46
2016-02-29T13:50:46
null
UTF-8
Python
false
false
2,473
py
import click from loqusdb.log import LEVELS, init_log from loqusdb import logger, __version__ from loqusdb.plugins import MongoAdapter @click.group() @click.option('-db', '--database', default='loqusdb', show_default=True, ) @click.option('-u', '--username', type=str ) ...
[ "monsunas@gmail.com" ]
monsunas@gmail.com
0f70d2f0a0efc9c22f33694d5afcb0cfafa6536a
3c92c3f633b613a62fb67476fd617e1140133880
/leetcode/1541. Minimum Insertions to Balance a Parentheses String.py
096c25dacba75e51f24aca72ee3872d79ab37936
[]
no_license
cuiy0006/Algorithms
2787f36f8164ded5252a006f723b570c9091bee9
00fd1397b65c68a303fcf963db3e28cd35c1c003
refs/heads/master
2023-03-31T13:55:59.191857
2023-03-31T03:39:42
2023-03-31T03:39:42
75,001,651
0
1
null
null
null
null
UTF-8
Python
false
false
571
py
class Solution: def minInsertions(self, s: str) -> int: left = 0 cnt = 0 i = 0 while i < len(s): if s[i] == '(': left += 1 i += 1 else: if i == len(s) - 1 or s[i+1] != ')': c...
[ "noreply@github.com" ]
cuiy0006.noreply@github.com
0001c01bc8a101706f658bcd83d4b303d1d9be1c
5aa80aab7a75d76b0aa838bf8f74a276a12c876e
/src/config/device-manager/device_manager/ansible_base.py
a0ed6248cc8be3bd6bb180ff2f16a4e6610a3fbe
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
tungstenfabric/tf-controller
83b6d58afadb5697b540b5345711a5b2af90d201
f825fde287f4eb2089aba2225ca73eeab3888040
refs/heads/master
2023-08-28T02:56:27.329584
2023-08-20T12:15:38
2023-08-20T12:31:34
231,070,970
55
29
Apache-2.0
2023-07-23T01:38:17
2019-12-31T10:24:38
C++
UTF-8
Python
false
false
6,410
py
# # Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. # """ This file contains implementation plugin base class for device config module. The specific plugins should inherit from this class. """ import abc from builtins import object from builtins import str from .imports import import_ansible_plugins ...
[ "andrey-mp@yandex.ru" ]
andrey-mp@yandex.ru
958e29edf8b1e663aabc6944aef2aae04ecbf3d5
f995860ad78fc266d04b03c3478c74e989d8b568
/PE/pe0493.py
5ea1aa17c923d1333d653be374eade36e150d859
[]
no_license
196884/Python
edd0234fd72a40d7a0b3310776edcaa8bda74478
8dc2e7a32dd350227cde748600e713dc3eea3f4a
refs/heads/master
2016-09-06T19:26:19.860746
2015-11-09T00:09:23
2015-11-09T00:09:23
28,167,634
1
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
from mpmath import * mp.dps = 30 def sortFn((a, b)): return a def evolvePos(c, i): # c is the configuration # i is the index chosen r = list(c) (ni, ki) = c[i] f = ni * ki if ki > 1: r[i] = (ni, ki-1) else: r.pop(i) if ni > 1: n = len(r) found = Fal...
[ "regis.dupont+git@m4x.org" ]
regis.dupont+git@m4x.org
9ad0fc7bf19e3d9004fa97afe0d0cfd173119ba0
ce4f7f8e9336b8bbf9cbfe147d922e37034ab6c3
/old/ABC152C.py
26f273585904a48a570ae025e08fea57f3a7bcb9
[]
no_license
kussy-tessy/atcoder
5604919747242ee9740b9131bb6e168e96af0151
ee917fa5a5218d4a9e72f710d0d844e7c203f13b
refs/heads/master
2023-07-21T09:25:15.464881
2021-09-04T14:06:02
2021-09-04T14:06:02
311,221,203
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
# print('input >>') N = int(input()) P = list(map(int,(input().split()))) ans = 0 now = P[0] for p in P: if now >= p: ans += 1 now = p # print('-----output-----') print(ans)
[ "teppei04285000@gmail.com" ]
teppei04285000@gmail.com
d53121b2ae4fd928addc43c3fa35c1600044f7fe
e61e664d95af3b93150cda5b92695be6551d2a7c
/vega/common/dag.py
d553317dfc081b51702747ecdfc7fda8fb0ea527
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
huawei-noah/vega
44aaf8bb28b45f707ed6cd4e871ba70fc0c04846
12e37a1991eb6771a2999fe0a46ddda920c47948
refs/heads/master
2023-09-01T20:16:28.746745
2023-02-15T09:36:59
2023-02-15T09:36:59
273,667,533
850
184
NOASSERTION
2023-02-15T09:37:01
2020-06-20T08:20:06
Python
UTF-8
Python
false
false
2,995
py
"""DAG class.""" from collections import deque from collections import OrderedDict class DAG: """DAG.""" def __init__(self): """Init DAG.""" self.nodes = OrderedDict() def add_node(self, node): """Add node.""" if node not in self.nodes: self.n...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
349d0a7b86159e2b854df8311790ec362c606538
a561673adf29beb7939052b898dad5bf9167cefc
/sdk/python/lib/test/langhost/resource_thens/test_resource_thens.py
a970b60ef82197cc50194e0d28317a312639a605
[ "Apache-2.0" ]
permissive
orionstudt/pulumi
50fd75d4ec7bb48646cd3c83198afcf4a556a5fa
7ef0b83c0cc7c4f9093e2a8fc0303e875d35c15c
refs/heads/master
2023-08-12T13:57:32.605402
2021-10-18T12:24:46
2021-10-18T12:24:46
312,097,288
0
1
Apache-2.0
2021-01-11T17:12:44
2020-11-11T21:43:03
null
UTF-8
Python
false
false
2,961
py
# Copyright 2016-2021, Pulumi Corporation. # # 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 t...
[ "noreply@github.com" ]
orionstudt.noreply@github.com
d4d1407c5e94cdaedf63ccc88e1092cafd364240
d77e61d5a9eb08736d5c3621896a66ab970ccea6
/python/problems/array/remove_duplicates_in_place_sorted_array.py
1e9ee54b027ac37bddc5ee0063c85f820184fad4
[]
no_license
santhosh-kumar/AlgorithmsAndDataStructures
edc1a296746e2d2b0e1d4c748d050fe12af7b65f
11f4d25cb211740514c119a60962d075a0817abd
refs/heads/master
2022-11-15T00:22:53.930170
2020-07-10T03:31:30
2020-07-10T03:31:30
269,263,401
2
0
null
null
null
null
UTF-8
Python
false
false
1,888
py
""" Remove Duplicates In-Place For a Sorted Array Given a sorted array, the task is to remove the duplicate elements from the array. Examples: Input : arr[] = {2, 2, 2, 2, 2} Output : arr[] = {2} new size = 1 Input : arr[] = {1, 2, 2, 3, 4, 4, 4, 5, 5} Output : arr[] = {1, 2, 3, 4, 5} new size =...
[ "santhoshkumar.sunderrajan@gmail.com" ]
santhoshkumar.sunderrajan@gmail.com
13e4c32ff331ce50e66711f5334464b084c2f06b
9a3430749300a93b34b20e37505c8b1c0f7a79cf
/fixrequests.py
bf485d6785d7ccdc18e2e9a35e473522715d4c5c
[]
no_license
qyguo/makegridpacks
c127bcb83ea24bc1a6f06d7d5dce2eb4d5735367
cd4beb1e92dbec3f074305d07c15e2f10c7ae67c
refs/heads/master
2020-03-31T22:08:16.978758
2018-10-10T18:34:35
2018-10-10T18:34:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
#!/usr/bin/env python import argparse from makegridpacks import * if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("--dry-run", "-n", action="store_true", help="don't send anything to McM") parser.add_argument("--times", "-t", action="store_true", help="get the times from McM f...
[ "jroskes1@jhu.edu" ]
jroskes1@jhu.edu
e6440664549037faeeda37d40990091d4fdf3dbc
775f887ab0933c8bb9263febceb702974966bb48
/packages/pyright-internal/src/tests/samples/expressions8.py
76f1a96de2a800e729e324c34729664d0230e80d
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
isabella232/pyright
160a4d9ce366cb61946949f9d5aebe7457539c67
a192486099503353413e02078c41d0d82bd696e8
refs/heads/master
2023-03-13T05:04:51.852745
2021-03-03T07:51:18
2021-03-03T07:51:18
344,101,663
0
0
NOASSERTION
2021-03-03T11:24:10
2021-03-03T11:21:38
null
UTF-8
Python
false
false
499
py
# This sample verifies that binary expressions like "less than" # work if the operands are constrained TypeVars. from abc import abstractmethod from typing import Protocol, TypeVar _T = TypeVar("_T") class ComparableTo(Protocol[_T]): @abstractmethod def __lt__(self, x: _T) -> bool: pass def custom...
[ "erictr@microsoft.com" ]
erictr@microsoft.com
36d9e40222f66557c42c81c7b1deadefa3382594
87130a19d9fa51d9b500d73ea9717ba16465f0f6
/backend/api/errors.py
d87230fd995b428781bf85436ec04c0686447947
[]
no_license
toyscript/toyscript
f4f236a8d1941565e6e5ed86bbb6417db73e5e2f
ac31a8ccf0f77226d7def3c6cb2744c521a89ff9
refs/heads/main
2023-06-06T19:32:45.642996
2021-07-07T04:50:42
2021-07-07T04:50:42
360,021,820
1
6
null
2021-06-19T08:40:39
2021-04-21T03:32:40
JavaScript
UTF-8
Python
false
false
185
py
class MovieDoesNotExist(Exception): def __init__(self, message="해당 영화를 찾을 수 없습니다.", status=404): self.message = message self.status = status
[ "swamys@naver.com" ]
swamys@naver.com
5312710fddbf6c8c78ed25f3ba26ec034c290fe6
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/program/database/data/CategoryDBAdapter.pyi
67dbfd06673607d5cb56cc5c8b3474cf3ffe7bce
[ "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
508
pyi
import java.lang class CategoryDBAdapter(object): def __init__(self): ... def equals(self, __a0: object) -> bool: ... def getClass(self) -> java.lang.Class: ... def hashCode(self) -> int: ... def notify(self) -> None: ... def notifyAll(self) -> None: ... def toString(self) -> u...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
258e40712331ad317f9ddc190c8e084e68f8b142
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4137/codes/1575_1334.py
4a02531f8dd05fe3a3c2859b82ad6825f61ec54d
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
169
py
print("Adicao: ", 5 + 3) print("Subtracao: ", 10 - 2) print("Multiplicacao: ", 2*4) print("Divisao: ", 16/2) print("Resto: ", 16//2 ) print("Potenciacao: ", 2 ** 3)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
82c6cd39e11ca9c71e9a7af08bfa8d5283cb0013
4cacf8188446170e0b4a14b05021bbd595c4db53
/pyrolite/mineral/transform.py
051b6d30d068c1f55e1c32d90c780845f6c5592b
[ "BSD-3-Clause", "MIT" ]
permissive
JustinGOSSES/pyrolite
2d145583344f79e8f935ed19fa00037d42969664
21eb5b28d9295625241b73b820fc8892b00fc6b0
refs/heads/master
2020-12-23T11:26:55.078871
2020-01-10T09:03:22
2020-01-10T09:03:22
237,136,389
1
0
NOASSERTION
2020-01-30T04:08:52
2020-01-30T04:08:51
null
UTF-8
Python
false
false
5,271
py
import pandas as pd import numpy as np import periodictable as pt from ..util.pd import to_frame import logging logging.getLogger(__name__).addHandler(logging.NullHandler()) logger = logging.getLogger(__name__) def formula_to_elemental(formula, weight=True): """Convert a periodictable.formulas.Formula to element...
[ "morgan.j.williams@hotmail.com" ]
morgan.j.williams@hotmail.com
4d1151f44cd7a8e3a0921c051d754940e55df38b
45f9abc3c43e021413181e9971d549ba38b030a6
/term-1/AIND-Recognizer/asl_utils.py
3dc52e9e1183953fd79205891978115077132b4c
[]
no_license
SteadBytes/ai-nanodegree
01d7c707456585fdf39a83f07ac4def90264324d
ba260106dacaaba675a41558e96b2a0998685482
refs/heads/master
2021-09-11T00:02:11.555421
2018-04-04T15:39:57
2018-04-04T15:39:57
112,731,081
0
1
null
null
null
null
UTF-8
Python
false
false
4,122
py
from asl_data import SinglesData, WordsData import numpy as np from IPython.core.display import display, HTML RAW_FEATURES = ['left-x', 'left-y', 'right-x', 'right-y'] GROUND_FEATURES = ['grnd-rx', 'grnd-ry', 'grnd-lx', 'grnd-ly'] def show_errors(guesses: list, test_set: SinglesData): """ Print WER and sentence ...
[ "=" ]
=
1664e7185a09522f272a97c6c6e2f696cb4d1958
34087e6a9bb41d9240de4c1bf91cb14a044126bc
/scripts/bandplot
3e0f44ec4f5991fe99775500897ff806f0be1c70
[]
no_license
materialsvirtuallab/phonopy
62117e757f98447de2b247e4b6aa186b0b141aab
97888bac864f8d8e5eee799b2eeef232e627f018
refs/heads/master
2020-12-01T03:09:31.707376
2014-09-08T15:42:54
2014-09-08T15:42:54
21,427,440
2
1
null
null
null
null
UTF-8
Python
false
false
6,845
#!/usr/bin/env python # Copyright (C) 2011 Atsushi Togo # All rights reserved. # # This file is part of phonopy. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the ab...
[ "atz.togo@gmail.com" ]
atz.togo@gmail.com
08c4ff249af2ede845061c68aa550a412a32f068
b3586235dc1e1acbd49fab996f581269a808480b
/sistema/producao/migrations/0090_auto_20200419_1946.py
05ec1f4442faf22924833cefc45f46cace20c101
[]
no_license
gonfersilva/Sistema
37ad1cd03dfbb7889fa0b0367c6ebd9044712ae3
4c6d9ade22040972efbe892eae0130939d7b5c46
refs/heads/master
2021-10-23T23:21:51.262723
2021-10-13T19:45:49
2021-10-13T19:45:49
155,545,680
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Generated by Django 2.2.7 on 2020-04-19 18:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('producao', '0089_reciclado_timestamp_edit'), ] operations = [ migrations.AlterField( model_name='reciclado', name='t...
[ "goncalo.silva@elastictek.com" ]
goncalo.silva@elastictek.com
3eec27e2dd17dd5a63596c4c056f129c7fd1b671
6e4f493329341661d869d9c5a8dd21c1baa6a621
/science/Optics/mirrorformula_cnc/mirrorformula_cnc.py
7b65c4ba9fd8bfe303a01feb13b81077b5ec018f
[]
no_license
yujinee/scimat2
8dd03e1ba003715dd910d7e6a086b6f596a7f23b
98712c061b9ce5337b3da5b421926de4aaefbe67
refs/heads/main
2023-08-28T01:57:53.482632
2021-10-22T17:30:10
2021-10-22T17:30:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,637
py
import random # An object is placed at u cm in front of a concave mirror of focal length f cm. Find at what distance image is formed and its nature. # An image is formed by a concave mirror of focal length f cm at a distance of v cm in front of it. Find at what distance object is placed in front of mirror. # An im...
[ "snehith.chatakonda@plivo.com" ]
snehith.chatakonda@plivo.com
2c904b54db472eb9fcd58830d3373a19f91eec34
252d023b55575f3d25fb9ab8faa92084479244b3
/indexpy/http/middleware.py
4d296400f4c12251c08bdfc25b053ada44efdb7b
[ "Apache-2.0" ]
permissive
sangensong/index.py
fef31a222b34961b5869a5d2a5832040029be778
4b4cfd0aeef67986f484e3f5f06544b8a2cb7699
refs/heads/master
2023-03-03T12:24:00.468335
2021-02-13T14:46:33
2021-02-13T14:46:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,854
py
from __future__ import annotations import typing from indexpy.concurrency import keepasync if typing.TYPE_CHECKING: from .request import Request from .responses import Response, convert_response MiddlewareMeta = keepasync("process_request", "process_response", "process_exception") class MiddlewareMixin(metac...
[ "me@abersheeran.com" ]
me@abersheeran.com
8a5b454d7307b0ef888c3ccc7dbcc2a78b49ce39
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_136/ch25_2020_10_04_03_54_44_850472.py
7687d7e86cce8171d9932c23f11bbf1f7f0be68e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
import math g= 9.8 def distancia(v, o): k= math.sin h= (180/math.pi)*o d= ((v**2)*k(2*h))/g if d>=99 and d<=101: print ('Acertou!') elif d>101: print ('Muito longe') elif d<99: print ('Muito perto')
[ "you@example.com" ]
you@example.com
14bc887b39a0ef1763ad3da22c7d9239cd101b13
3803b6364290e21061e8c0c97d3e9c0b204c50fc
/gae_main.py
7533cd5125638887f7837401aa16cc45aa1c6a9d
[]
no_license
t0ster/django-gae-buildout-skeleton
5a146b94d35ff466b9ee5e981c0ecdfb31eb28b5
71c3553b661fbd58937797d352f1a337c1641b0a
refs/heads/master
2020-05-27T06:28:21.745403
2011-06-27T19:24:21
2011-06-27T19:24:21
1,962,053
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
import sys from os.path import dirname, abspath, join PROJECT_DIR = join(abspath(dirname(__file__)), "testapp") if PROJECT_DIR not in sys.path or sys.path.index(PROJECT_DIR) > 0: while PROJECT_DIR in sys.path: sys.path.remove(PROJECT_DIR) sys.path.insert(0, PROJECT_DIR) import djangoappengine.main.m...
[ "roman@bravetstudio.com" ]
roman@bravetstudio.com
39b77ac51e19c5f33bf7b51871b0966c27a13121
141b42d9d72636c869ff2ce7a2a9f7b9b24f508b
/myvenv/Lib/site-packages/phonenumbers/data/region_SC.py
b0e98d3e74585ab661b7fde30f9021a9aaefbf4c
[ "BSD-3-Clause" ]
permissive
Fa67/saleor-shop
105e1147e60396ddab6f006337436dcbf18e8fe1
76110349162c54c8bfcae61983bb59ba8fb0f778
refs/heads/master
2021-06-08T23:51:12.251457
2018-07-24T08:14:33
2018-07-24T08:14:33
168,561,915
1
0
BSD-3-Clause
2021-04-18T07:59:12
2019-01-31T17:00:39
Python
UTF-8
Python
false
false
971
py
"""Auto-generated file, do not edit by hand. SC metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_SC = PhoneMetadata(id='SC', country_code=248, international_prefix='0(?:[02]|10?)', general_desc=PhoneNumberDesc(national_number_pattern='[24689]\\d{5,6}', possible_le...
[ "gruzdevasch@gmail.com" ]
gruzdevasch@gmail.com
410c72545e00ff4b20fa2686e2cb0a81edbfd253
0cea2eef085a16792b0722b5ea1ccecf22ebf56a
/emu/tests/test_wps_wordcounter.py
7957d44ea5c7acf1ec7c8b324c4d11a2df58fc2a
[ "Apache-2.0" ]
permissive
Ouranosinc/emu
6931657412c2a3412e9548b2ad80a91c7362e79b
f3b92f44555b9e85f8c62e8e34a8a59d420a1c67
refs/heads/master
2021-05-04T02:00:59.517729
2016-11-18T17:48:31
2016-11-18T17:48:31
71,271,528
0
0
Apache-2.0
2020-11-11T03:21:22
2016-10-18T17:03:47
Python
UTF-8
Python
false
false
550
py
import pytest from pywps import Service from emu.tests.common import client_for, assert_response_success from emu.processes.wps_wordcounter import WordCounter @pytest.mark.online def test_wps_wordcount(): client = client_for(Service(processes=[WordCounter()])) datainputs = "text={0}".format( "https:...
[ "ehbrecht@dkrz.de" ]
ehbrecht@dkrz.de
ddc2256caa53e5da02d9ef82936e44811ede8002
71e50200ed8fec2bd567b060d52b6ab5c216dc08
/app/auth/forms.py
3a2250613203d75d661a4c5f7f01523c90374425
[ "MIT" ]
permissive
ThiraTheNerd/the_blog
5361d7b92be857e4576d3d96e64c176539ff7cba
3edd51b2507726b4339f3b59b95133f9e2005700
refs/heads/master
2023-06-10T15:16:06.112694
2021-06-27T07:59:02
2021-06-27T07:59:02
379,469,459
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
from flask_wtf import FlaskForm from wtforms import StringField,PasswordField,SubmitField,ValidationError,BooleanField from wtforms.validators import Required,Email,EqualTo from ..models import User class RegistrationForm(FlaskForm): email = StringField('Your Email Address',validators=[Required(),Email()]) usernam...
[ "thiragithinji@gmail.com" ]
thiragithinji@gmail.com
264ea3af5cb07d50065bcd17d8510014c65e8225
65b4522c04c2be071c2d42095956fe950fe1cebe
/agu-paper/near_field_co_disp/verticals/plot_co_obs_pred.py
1c81afdcebed862eb9e1599a073dafd28848637f
[]
no_license
geodesy/viscojapan
ac0cd93f7a2134cd2651623b94879dcc21c0c46a
03e70265b56eb5994e73bcb6066f0be338e42f27
refs/heads/master
2021-03-03T18:19:07.779601
2015-07-16T03:50:49
2015-07-16T03:50:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,052
py
from os.path import join import numpy as np import tempfile import pGMT import viscojapan as vj gmt = pGMT.GMT() gmt.gmtset('ANNOT_FONT_SIZE_PRIMARY','9', 'LABEL_FONT_SIZE','9', 'BASEMAP_TYPE','PLAIN', ) gplt = gmt.gplt lon1 = 139 lon2 = 145 lat1 = 34.7 lat2 = 41 gplt.psbasemap( ...
[ "zy31415@gmail.com" ]
zy31415@gmail.com
b8543bcd94f5a24fda57f0ec6485022513811113
e443674961b04476e96b0db3b7a963966bf72818
/score/urls.py
d6fc782e280fdac71818a20f18de39f8174172f9
[ "BSD-3-Clause" ]
permissive
jbbqqf/okapi
14ded14219ba9ed9dc0acaea1c6b97a2b10afa73
3db29ef1e15685fae304190bd176f75c4e367d03
refs/heads/master
2022-11-28T15:08:37.357135
2016-01-04T16:01:25
2016-01-04T16:01:25
283,250,142
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# -*- coding: utf-8 -*- from django.conf.urls import url, include from rest_framework.routers import DefaultRouter from score.views import stats, mystats, ScoreView, CurrentScoreView router = DefaultRouter() router.register(r'scores', ScoreView) router.register(r'currentscores', CurrentScoreView) urlpatterns = [ ...
[ "jbaptiste.braun@gmail.com" ]
jbaptiste.braun@gmail.com
c301f72048c538c25d20741d719ccdcd362b3ffb
ad0857eaba945c75e705594a53c40dbdd40467fe
/baekjoon/python/pow_of_matrix_10830.py
96dbae8eb57691de783032c11a2b4137b5b2df3e
[ "MIT" ]
permissive
yskang/AlgorithmPractice
c9964d463fbd0d61edce5ba8b45767785b0b5e17
3efa96710e97c8740d6fef69e4afe7a23bfca05f
refs/heads/master
2023-05-25T13:51:11.165687
2023-05-19T07:42:56
2023-05-19T07:42:56
67,045,852
0
0
null
2021-06-20T02:42:27
2016-08-31T14:40:10
Python
UTF-8
Python
false
false
1,347
py
# Title: 행렬 제곱 # Link: https://www.acmicpc.net/problem/10830 import sys import copy sys.setrecursionlimit(10 ** 6) read_list_int = lambda: list(map(int, sys.stdin.readline().strip().split(' '))) def multiple_matrix(n: int, a: list, b: list): res = [] for row in a: t_row = [] ...
[ "yongsung.kang@gmail.com" ]
yongsung.kang@gmail.com
777aadcb892990786aef2675249423db680d99b2
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_099/ch34_2019_08_28_17_31_34_673027.py
1e0afb12ab5000e405d6a94403271238303134e8
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
dep = float(input('Qual o depósito inicial?')) i = float(input('Qual a taxa de juros?')) total=0 t=1 while i<=24: mes = (dep*(1+i)**t) total = total + mes print ('{0}:.2f'.format(mes)) i=i+1 print ('{0}:.2f'.format(total))
[ "you@example.com" ]
you@example.com
f9ca04d56bc46f75f3cd88a867059f4016baeb1f
c60c199410289c1d7ec4aea00833b461e1f08f88
/.history/older-than/older/source-example/day3/function/cpall.py
4f328903303857e622385428d5a8aeb80f642d18
[]
no_license
ver007/pythonjumpstart
66fb111e6af197fad3e853b2c2d712a1b57a7d59
5b1f52479abd07456e2da494149e491d398f3b7d
refs/heads/master
2021-01-21T01:34:35.501870
2015-05-13T14:10:13
2015-05-13T14:10:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
#!/usr/bin/env python import sys def copyall(*files): target = files[-1] with open(target, 'w') as fw: for filename in files[:-1]: with open(filename) as fp: fw.write(fp.name.center(60, '-') + "\n") for line in fp: fw.write(line) print "%s : file copied " % fp.name fw.write('-'....
[ "ravi@rootcap.in" ]
ravi@rootcap.in
7eabfc4c5ae2a54b39ec1b5679ebc7261404c15a
181af10fcf40b824fe92d3b8f72fd15d6d1490c2
/Contests/101-200/week 195/1499. Max Value of Equation/Max Value of Equation.py
4a8cd0f2c2a2c938b386ace14ced1673cfa96cb1
[]
no_license
wangyendt/LeetCode
402c59a0b7b7f5b3a672231ea5dad8056ade36af
4a3ba15284c45b2d8bf38306c8c8526ae174615c
refs/heads/master
2023-08-10T06:27:54.995152
2023-08-10T02:22:27
2023-08-10T02:22:27
176,651,399
6
0
null
null
null
null
UTF-8
Python
false
false
565
py
#!/usr/bin/env python # encoding: utf-8 """ @author: Wayne @contact: wangye.hope@gmail.com @software: PyCharm @file: Max Value of Equation @time: 2020/06/28 15:53 """ import heapq import sys class Solution: def findMaxValueOfEquation(self, points: list(list()), k: int) -> int: h = [] ret = -sys....
[ "905317742@qq.com" ]
905317742@qq.com