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
7f2ff1e453a578c8abf2536555d54b86452d42a3
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/13134040.py
2692f3e9b3f0d0a78d49e95833ebb37e89575d13
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,853
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/13134040.py generated: Fri, 27 Mar 2015 15:48:00 # # Event Type: 13134040 # # ASCII decay Descriptor: {[[B_s0]nos -> (J/psi(1S) -> p+ p~-) (f_0(980) -> pi+ pi-)]cc, [[B_s0]os -> (J/psi(1S) -> p+ p~-) (f_0(980) -> pi- pi+)]cc} # from Configurables import G...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
b762af412c6c4bda55851994e6fb8833f90b16e2
45c12e6703e621d32ec46137d3c5c65d02d0a2c2
/08. On Time for the Exam.py
fcea6f82c81e51c2b1c97cc66a937263149929de
[]
no_license
antondelchev/Conditional-Statements-Advanced---Exercise
ce6511e7ad6a06ecebeddc6c758c4dcaa76bf062
e74a3ee6353d37035955686eb2d334f423758fef
refs/heads/main
2023-02-22T12:10:18.628103
2021-01-25T20:33:25
2021-01-25T20:33:25
332,012,060
0
0
null
null
null
null
UTF-8
Python
false
false
1,603
py
exam_hour = int(input()) exam_minutes = int(input()) arrival_hour = int(input()) arrival_minutes = int(input()) converted_mins_exam = exam_hour * 60 + exam_minutes converted_mins_arrival = arrival_hour * 60 + arrival_minutes if converted_mins_exam < converted_mins_arrival: total_mins_difference = convert...
[ "noreply@github.com" ]
antondelchev.noreply@github.com
a98ff93e061dffd4e07b14ff57b7b8f5c6ffe2fa
92aeff7cf4b42beac59131e6f7cef0f96a3ad12e
/pubmedpy/tests/test_names.py
a556dd7e62afc77f6ad3748119244132af686360
[ "BlueOak-1.0.0" ]
permissive
ben-heil/pubmedpy
f6a6714ec9452e4a730e48cf1158e325c2c9ac99
9d716768f5ab798ec448154588e4fd99afd7584a
refs/heads/main
2023-04-03T04:16:42.852244
2021-04-09T14:22:10
2021-04-09T14:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
import pytest from ..names import simplify_fore_name, simplify_last_name @pytest.mark.parametrize( ("fore_name", "expected"), [ (" Daniel ", "Daniel"), ("AB Chow", "Chow"), ("A.B. Chow", "Chow"), ("Mc-Winters", "Mc-Winters"), ("LE", None), ("Le", "Le"), ...
[ "daniel.himmelstein@gmail.com" ]
daniel.himmelstein@gmail.com
9c4fab802d9025afaed146b90a8ac64f54f6080b
da5bc6efaebc9ff015938d207b25c7804bc03b33
/12_file/ex03/ex03.py
e38c6d46c75404f638dff5a618058e8ca63df2df
[]
no_license
codud0954/megait_python_20201116
b0f68f50a1e0d41c3c35535e718d5a236a7b1a98
a71f57d4332027406953599612cd014de2d26713
refs/heads/master
2023-01-31T11:14:27.611468
2020-12-18T09:03:11
2020-12-18T09:03:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
# csv 파일 쓰기/읽기 # csv 파일 만들기 # f = open('member.csv', 'w', encoding='ms949') # f.write("유재석,49,=\"01011112222\"\n") # f.write("이효리,30,=\"01012346666\"\n") # f.write("강호동,55,=\"01014563555\"\n") # f.close() # csv 파일 열기 f = open('member.csv', 'r', encoding='ms949') while True: line = f.readline() if...
[ "noreply@github.com" ]
codud0954.noreply@github.com
daf3148101435d5d8870c7b72995f4b085a2419a
70cc02f7ef2ce7e0985ff175f1947bd48452c6b9
/Leetcode/array/remove_duplicates_sorted_array2.py
6b0b76920227a4642663af30beb9783d80df90ad
[]
no_license
Harshala-Gaikwad/Programming
9784c050d9a8d72afefe1836a5493b30194f0a2a
826a06499fbde4c2310fb9dad1a6fee84bc32f83
refs/heads/main
2023-07-04T20:22:27.753976
2021-08-19T17:34:23
2021-08-19T17:34:23
312,341,223
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
class Solution: def removeDuplicates(self, nums: List[int]) -> int: l = [] for i in nums: if l.count(i)<2: l.append(i) nums.clear() for i in l: nums.append(i) return len(nums)
[ "noreply@github.com" ]
Harshala-Gaikwad.noreply@github.com
9d4d2b81cf1cca80ec29f799099cf8544f48d103
97080682a7cabb3fc770de47c97ee757575837d9
/modern_users/forms.py
993c3a4cb0a79cd1d010b74e74e9e1dd0b8b51f8
[]
no_license
SlikNik/modern_village
fe77f210bb2b7eea27a149d7b78634937dfbd733
ca26e553caa0fe36758b228ca55229a8373c569e
refs/heads/master
2023-01-02T23:29:16.996471
2020-10-20T03:27:12
2020-10-20T03:27:12
301,758,821
2
0
null
2020-10-19T23:13:17
2020-10-06T14:42:43
Python
UTF-8
Python
false
false
1,029
py
from django import forms from modern_users.models import ModernUsers class SignUpForm(forms.ModelForm): password = forms.CharField(widget=forms.PasswordInput) confirm_password=forms.CharField(widget=forms.PasswordInput()) class Meta: model = ModernUsers fields = ('first_name', 'last_name',...
[ "nikalmorgan11@gmail.com" ]
nikalmorgan11@gmail.com
faa36c8bcb8ff93361f4d6bcb847f541945fa7b1
1e71542814768fb570dadda69f3ceac57d6f7a35
/untitled/frame1.py
c2c176a928e83d39319469d7c56e9aadf5bd5cfd
[]
no_license
apabhishek178/website_work
7a621bb5983e68c971db0ae2117c946a9484a8a7
97910ca2541ea612f715d2e19c5f659694941122
refs/heads/master
2021-07-21T07:52:21.901795
2017-10-29T05:59:35
2017-10-29T05:59:35
108,672,122
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
from tkinter import * import tkinter root=tkinter.Tk() topframe=Frame(root) topframe.pack() bottomframe=Frame(root) bottomframe.pack(side=RIGHT) button1=Button(root,text="1",fg="red",font=28) button2=Button(root,text="2",fg="green",font=26) button3=Button(root,text="3",fg="blue",font=24) button4=Button(bottomframe,tex...
[ "apabhishek178@gmail.com" ]
apabhishek178@gmail.com
4ec5569bc9090ac9aaf0a82c8b87e18a9fdd11b6
a8d771af415aa5f0e23952f8599441f36f3c4733
/setup.py
c7fbeeacbee493d16d1cd876cf4ff8b36d5146e0
[ "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
biomodels/MODEL1302010019
dda481b65b15cfbedcd70be79c182be4da292cea
4c746971883b61b7ba85937ee360b8148e9074ea
refs/heads/master
2021-01-22T05:01:13.045263
2014-10-16T05:58:26
2014-10-16T05:58:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from setuptools import setup, find_packages setup(name='MODEL1302010019', version=20140916, description='MODEL1302010019 from BioModels', url='http://www.ebi.ac.uk/biomodels-main/MODEL1302010019', maintainer='Stanley Gu', maintainer_url='stanleygu@gmail.com', packages=find_packages(...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
ec6d550379c5e9ea31b8ebb48e0e9e8f9b1695f4
a474040f7315e485282e926db751793d66e8718d
/vendor/jx_python/meta.py
63d69a3007e8fac46897b4212b3edaccf326404c
[]
no_license
klahnakoski/tuid_experiment
f6b14d899428e30e30b07e432d0974882438c068
854bd7d87ed4df00c15d58f3999e4ad7eebbeabc
refs/heads/clogger
2020-03-22T20:33:02.515299
2018-07-11T17:37:42
2018-07-11T17:37:42
140,608,533
0
0
null
2018-07-11T17:40:24
2018-07-11T17:31:06
Python
UTF-8
Python
false
false
15,390
py
# encoding: utf-8 # # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http:# mozilla.org/MPL/2.0/. # # Author: Kyle Lahnakoski (kyle@lahnakoski.com) # from __future__ import absolute_import from __f...
[ "klahnakoski@mozilla.com" ]
klahnakoski@mozilla.com
d8143fe470c7d97ff2001d71a1ec498b37680e06
4bd555bc662b8182a2e7644976bfdb00ed5e1ebe
/PythonistaAppTemplate/PythonistaKit.framework/pylib/encodings/ptcp154.py
670112ca0f9772b1f225c6906ef4f20da39f0624
[]
no_license
fhelmli/homeNOWG2
a103df1ef97194dec9501dbda87ec1f7c111fb4a
e794fd87b296544542fd9dc7ac94c981c6312419
refs/heads/master
2020-04-04T13:40:20.417769
2019-01-30T21:41:04
2019-01-30T21:41:04
155,970,686
0
0
null
null
null
null
UTF-8
Python
false
false
16,855
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "tberk@gmx.at" ]
tberk@gmx.at
6515b86f3b9cb06fd00e71f39ec0409ca301402f
12258001571bd504223fbf4587870960fa93a46d
/mud/django-haystack-2.3.2/test_haystack/test_indexes.py
11dabc7bf51aa1600dfa66a75598c1a9e51880b0
[ "BSD-3-Clause", "MIT" ]
permissive
Nik0las1984/mud-obj
0bd71e71855a9b0f0d3244dec2c877bd212cdbd2
5d74280724ff6c6ac1b2d3a7c86b382e512ecf4d
refs/heads/master
2023-01-07T04:12:33.472377
2019-10-11T09:10:14
2019-10-11T09:10:14
69,223,190
2
0
null
2022-12-26T20:15:20
2016-09-26T07:11:49
Python
UTF-8
Python
false
false
26,599
py
import datetime from threading import Thread import time from django.test import TestCase from django.utils.six.moves import queue from haystack import connections, connection_router from haystack.exceptions import SearchFieldError from haystack import indexes from haystack.utils.loading import UnifiedIndex from test_h...
[ "kolya.khokhlov@gmail.com" ]
kolya.khokhlov@gmail.com
4b17f4f3c8e4448fa2da50d78b68a1111cc8b288
1c74a2e075793e1d35c441518e2e138e14e26ea5
/DynamicProgramming/139. 单词拆分.py
c91f575176f9e720791ba0590cb1319d478959d0
[]
no_license
Dawinia/LeetCode
1a385bfadbc4869c46dc1e9b8ca7656b77d746a0
e1dcc71ca657b42eb8eb15116697e852ef4a475a
refs/heads/master
2021-07-20T00:56:01.058471
2020-07-22T14:07:04
2020-07-22T14:07:04
197,305,126
1
0
null
null
null
null
UTF-8
Python
false
false
409
py
class Solution: def wordBreak(self, s: str, wordDict: List[str]) -> bool: if not s: return False dp = [False for _ in range(len(s) + 1)] dp[0] = True wordDict = set(wordDict) for i in range(len(s) + 1): for j in range(i): if dp[j] and s[j: i] in w...
[ "dawinialo@163.com" ]
dawinialo@163.com
96aa05d3ed0dc1b7ff4de70729ea4aee4bb5d044
5063faf298a36466cdb90f1cbd0a4f4e855b5d3b
/test/test_projects_api.py
0f0c3cd8d6d5647894b277fdf3303c40f5c0006d
[]
no_license
pollination/python-sdk
d4eb4efbcbe3a76cc170cf8e71ad5bc6ca6c3011
e4a94b236534658b150961795256224fe8dd93c2
refs/heads/master
2023-08-04T15:19:29.126613
2022-03-06T10:43:21
2022-03-06T10:51:08
224,588,062
3
1
null
2023-09-05T20:52:35
2019-11-28T06:48:40
Python
UTF-8
Python
false
false
2,637
py
# coding: utf-8 """ pollination-server Pollination Server OpenAPI Definition # noqa: E501 The version of the OpenAPI document: 0.27.0 Contact: info@pollination.cloud Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import pollination_sdk...
[ "antoinedao1@gmail.com" ]
antoinedao1@gmail.com
bf13f2f9b888f7442c436a5fa5a5a310061ebfa4
f608dbe94b6e05f63d9bfa030c8ca87725957b93
/tests/unit/test.py
65b30979d98919ac06c53a99435ae0dfde61fd60
[]
no_license
ProjectMHQ/projectm
3336c82cbd1e330e065cb178d476c72d552fbfaf
adcb42722354ea4929300e9a4597e734b431c6e5
refs/heads/master
2023-04-22T18:41:48.091889
2021-01-30T11:28:28
2021-01-30T11:28:28
216,660,020
0
0
null
2021-05-06T20:33:28
2019-10-21T20:32:21
Python
UTF-8
Python
false
false
105
py
from unittest import TestCase class Test(TestCase): def setUp(self): self.assertTrue(True)
[ "guido.dassori@gmail.com" ]
guido.dassori@gmail.com
542f651000d9847a3a1e8b6fd63bd0714affc2da
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-kms/huaweicloudsdkkms/v1/model/api_version_detail.py
2fb3fceb4eb332ac3df439c22622271584e00bd6
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
7,101
py
# coding: utf-8 import pprint import re import six class ApiVersionDetail: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value i...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
e8b10831544dd015ee2d3f1a85a00b24b27c14ec
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/25113000.py
00acb6e700d0a179d725b0d6740b0388b780f7d4
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/25113000.py generated: Fri, 27 Mar 2015 15:48:05 # # Event Type: 25113000 # # ASCII decay Descriptor: [Lambda_c+ -> p+ mu- mu+]cc # from Configurables import Generation Generation().EventType = 25113000 Generation().SampleGenerationTool = "SignalPlain" fr...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
83f6ae6e2ca3950d4b58b8575c1d4bbdaa0baa58
ec931947aa3e06ce565637e7ee1cb707f56375a2
/aoc2015/day24/day24.py
d4455fd57993b221ad974a8240dfe528ac07f407
[]
no_license
chrisglencross/advent-of-code
5f16ed7e2265d27ce15f502ce2a1c2f11fc99fc0
21623d4aa01a9e20285a0233c50f8f56c4099af5
refs/heads/master
2023-01-24T22:01:30.829679
2023-01-12T23:03:03
2023-01-12T23:03:03
224,833,969
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
#!/usr/bin/python3 # Advent of code 2015 day 24 # See https://adventofcode.com/2015/day/24 import functools import itertools def quantum_entanglement(packages): return functools.reduce(lambda x, y: x * y, packages) def get_passenger_compartment_quantum_entanglement(packages, compartments): total_weight = su...
[ "chris@glencross.org" ]
chris@glencross.org
cd87b660cb646404a973d34f0eac4fd6a9701f37
183d51188e6aaf077023a7ab2f9e35a681707e4e
/Well_of_Mimir/local/bin/pilprint.py
93c7698b0101acd9e5fe33fcfd2e63812d92026f
[]
no_license
hanwei2008/Virtual_Environment
6541d8dd608d620f76fcbc84f1c5bf2581a3b49e
5df207171d27333d3f7cf45447a558f4f97e1c10
refs/heads/master
2016-09-14T07:11:57.086452
2016-04-22T01:21:43
2016-04-22T01:21:43
56,732,689
0
0
null
null
null
null
UTF-8
Python
false
false
2,421
py
#!/home/caiyuantao/Virtual_Environment/Well_of_Mimir/bin/python # # The Python Imaging Library. # $Id$ # # print image files to postscript printer # # History: # 0.1 1996-04-20 fl Created # 0.2 1996-10-04 fl Use draft mode when converting. # 0.3 2003-05-06 fl Fixed a typo or two. # from __future__ import p...
[ "hanwei2008123@163.com" ]
hanwei2008123@163.com
264c720f7c4b2f8ab8780a4d71622bd4e1a65372
5d58a7d712702680337154b1851296ee4eb6a5ef
/TEST/GUI/00120_page_pixsel/log.py
80cb4a3e4fe61ea79c39aed82a6a979b2a410f38
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
creuzige/OOF2
f04b6767a4f5ef0afefe419e8d19a19920cc3bbf
2e815592a55cd7a15c95b8e63efc3d9cde684299
refs/heads/master
2021-05-20T23:02:52.727468
2019-11-06T22:02:48
2019-11-06T22:02:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
57,503
py
checkpoint toplevel widget mapped OOF2 Activity Viewer # -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and ...
[ "lnz5@rosie.nist.gov" ]
lnz5@rosie.nist.gov
8fcd5967724a920ecab4cddcb4f9f250368c769d
cff311c1c13ebcca75aedc26256d90dd9b1b6784
/CMSSW_tools/scripts/modules/SaveObjectsToFile.py
52ce8dc5302147e1b1ba792aac933576771e589e
[]
no_license
soarnsoar/Gen_validation
a892f021716fc47254b24f27ee6a2b46fa206601
0c0c043a32ce282fb9fdd32d30a421c81c070072
refs/heads/master
2021-08-20T08:19:58.389059
2020-05-20T08:09:48
2020-05-20T08:09:48
184,736,378
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
''' void SaveObjectToFile(TString filepath, TObject *a){ TFile outputFile (filepath,"RECREATE"); a->Write(); outputFile.Write(); outputFile.Close(); } ''' import ROOT def SaveObjectsToFile(filepath, object_list): outputFile=ROOT.TFile(filepath,'RECREATE') for obj in object_list: obj.Write(...
[ "soarnsoar@gmail.com" ]
soarnsoar@gmail.com
feca063f029be88bf3b2f12f54f620e47bbaea08
7d1e23982439f530f3c615f3ac94f59861bc2325
/text_data/gnosis_door_dict.py
021724ed49eb93f70af7b699eb0aaa0561827792
[]
no_license
daskorod/RPG_project
3104afafd19038f1c9da0d9aca6f489f9629093b
3b42a7f3131830d3b728f5d65332750fa032ec03
refs/heads/master
2020-05-24T04:24:33.198371
2017-11-30T19:29:48
2017-11-30T19:29:48
84,820,405
3
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
text=[{0: ('Дверь заперта. Вы стучитесь и слышите оттуда голос: "Кто ты такой? Это элитный дом для элитных людей. Здесь не место всякому отребью".', 'next', '1. Я добрый рыцарь церкви, именем Господа, впустите меня. 2. Я простой человек, прощу прощения (уйти).'), 10: ('Ага, знаем мы вашего Бога. Слуга злого Демиурга ты...
[ "daskorod@gmail.com" ]
daskorod@gmail.com
01b469ea944a60bb9607500e6a98fe4390599d52
df30f97d316e899b07b223bc86cfe53345627f06
/problems/test9/2.py
9b5d2ab1827366945381d2f24f0e904c29a9ec9b
[]
no_license
GH-Lim/AlgorithmPractice
c6a3aa99fa639aa23d685ae14c1754e0605eaa98
e7b8de2075348fb9fcc34c1d7f211fdea3a4deb0
refs/heads/master
2021-06-18T17:21:10.923380
2021-04-18T03:43:26
2021-04-18T03:43:26
199,591,747
1
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
from heapq import heappop, heappush def calc_day(month, day): res = 0 for i in range(month): if i in {1, 3, 5, 7, 8, 10, 12}: res += 31 elif i in {4, 6, 9, 11}: res += 30 else: res += 28 return res + day def solution(n, customers): times = []...
[ "gunhyuck11@gmail.com" ]
gunhyuck11@gmail.com
6b5ab4b2754b36920528896f2aaa8f093602b0f2
e3376c04ecca6eaf0186f8a38eef245e03ddbe92
/Modulo1/04_Cuarta_semana.py/Funciones de Orden Superior/Funcion_orden_superior_02_Ejemplo.py
1539a70d7c21e30a3055dd4840705c6279583b55
[]
no_license
lamorenove/Ejercicios-Python
d0b31810ba5d0e6d4ab922b5e325ed76cc57e324
ee26d1dd30db8c7e088a668e11dc635b779d933a
refs/heads/master
2023-06-24T05:46:33.383620
2021-07-22T17:20:23
2021-07-22T17:20:23
385,313,864
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
def crear_funcion(operador): if operador == "-": def resta(valor1=0, valor2=0): return valor1 - valor2 return resta elif operador == "*": def multiplicacion(valor1=0, valor2=0): return valor1 * valor2 return multiplicacion elif operador == "/": ...
[ "lamorenove@gmail.com" ]
lamorenove@gmail.com
d8a88aace4b211c001c0a664802ffaaf72121697
dcd840c1ef56db1cd4aa1ca170ab374d3a4c10b6
/src/programy/clients/args.py
afa29cceefbe78854d412a5590ff0ba529b67c39
[ "MIT" ]
permissive
zippyy/program-y
e1c9ce3be6cbbba2853842999c2277d574755eb3
9267a3dfcbb10ea109b187dbb3767d61ca4da841
refs/heads/master
2020-04-02T17:52:34.382681
2018-10-24T16:28:50
2018-10-24T16:28:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
""" Copyright (c) 2016-2018 Keith Sterling http://www.keithsterling.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
ac88203f03fb256732a6ddee77bdc257f143d26a
a0d2a90c21ff3e05e0fd939698a6dfb7e54d16d9
/GServer/mac_cmd/debuger.py
b571a240ddf3f8d694124c7a0afd34b03cc65be0
[ "MIT" ]
permissive
soybean217/lora-python
4a72407607d2201a91b5e0a7dcd115d7788b7e65
9c4324f81bae8b20f6c353447189f724a5cf54c6
refs/heads/master
2022-12-13T08:24:13.267783
2017-12-06T08:20:40
2017-12-06T08:20:40
102,331,484
0
0
MIT
2022-12-07T23:56:50
2017-09-04T07:24:49
Python
UTF-8
Python
false
false
718
py
from time import ctime,time def timeStumpFunc(args): def get_function(function): def wrappedFunc(*nkw): time_start = time()*1000 result = function(*nkw) time_casted = time()*1000 - time_start print('Function', args, 'cast %f ms' % time_casted) ret...
[ "13565644@qq.com" ]
13565644@qq.com
fb06704c09d4561b67183d828d13a1595f5c9985
d2eb7bd335175edd844a3e6c1c633ee0dc2dbb25
/contests_atcoder/abc176/abc176_d.py
5d96807a125631d40ae1146b10f7bee768af4a30
[ "BSD-2-Clause" ]
permissive
stdiorion/competitive-programming
5020a12b85f1e691ceb0cacd021606a9dc58b72c
e7cf8ef923ccefad39a1727ca94c610d650fcb76
refs/heads/main
2023-03-27T01:13:42.691586
2021-03-08T08:05:53
2021-03-08T08:05:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,808
py
from itertools import accumulate,chain,combinations,groupby,permutations,product from collections import deque,Counter from bisect import bisect_left,bisect_right from math import gcd,sqrt,sin,cos,tan,degrees,radians from fractions import Fraction from decimal import Decimal import sys input = lambda: sys.stdin.readlin...
[ "itkn1900@gmail.com" ]
itkn1900@gmail.com
e2ecca12b421baaa62443f60509bb4cab2d71d1c
df3853b41ed05d86f5bcd992fcc265f637c67784
/1sem/Lab7/Lab7_Task6.py
d6c64f14b12411e13c504f482958f2a1aeaf6f10
[]
no_license
KseniaMIPT/Adamasta
6ab0121519581dbbbf6ae788d1da85f545f718d1
e91c34c80834c3f4bf176bc4bf6bf790f9f72ca3
refs/heads/master
2021-01-10T16:48:31.141709
2016-11-23T21:02:25
2016-11-23T21:02:25
43,350,507
1
0
null
null
null
null
UTF-8
Python
false
false
380
py
import matplotlib.pyplot as plt f = open('input.txt', 'r') file_lines = f.readlines() words_list = [] for i in range(len(file_lines)): words_list += file_lines[i].split() words_len = [len(word) for word in words_list] number_of_words_with_length = [words_len.count(length) for length in range(min(words_len), max(wor...
[ "ksenia22.11@yandex.ru" ]
ksenia22.11@yandex.ru
7f2dcbafba43ae2baa347247eac3a5cde1f0b8f6
3431ace8cae7b804f977a631f231dd1a4cb4200e
/1 first draft/sudoku 4.py
34e595e3afa22622880ee995df0aee86bdb256e5
[]
no_license
rayyan-khan/7-sudoku
6f9f0dbf735dc6c8c956db453efae956e9d8fd23
e1407e5caa78fb215e6a3818da9b9c448f69f2ea
refs/heads/master
2022-02-22T10:35:41.806166
2018-12-20T14:38:00
2018-12-20T14:38:00
161,864,475
0
0
null
null
null
null
UTF-8
Python
false
false
3,752
py
import sys, time # need to fix bug # input: INPUT = open(sys.argv[1], 'r') if len(sys.argv) == 2 else open('puzzles.txt', 'r') # set up global variables: INP = '.'*81 def setGlobals(pzl): global PZLSIZE, CSTRSIZE, SUBHEIGHT, SUBWIDTH, SYMSET, ROWCSTR, COLCSTR, SUBCSTR, CSTRS, NBRS pzl = ''.join([n for n in...
[ "rayyan.khan258@gmail.com" ]
rayyan.khan258@gmail.com
4a0127fc8f2d7ed62d6915a40c23a4b28235f5be
164ffe077dde59373ad9fadcfd727f279a1cfe93
/jni_build/jni/include/external/bazel_tools/tools/build_defs/docker/testenv.py
a6f4189e96ac6ae0798d809c9dd2acddebf4e171
[]
no_license
Basofe/Community_Based_Repository_Traffic_Signs
524a4cfc77dc6ed3b279556e4201ba63ee8cf6bd
a20da440a21ed5160baae4d283c5880b8ba8e83c
refs/heads/master
2021-01-22T21:17:37.392145
2017-09-28T21:35:58
2017-09-28T21:35:58
85,407,197
0
2
null
null
null
null
UTF-8
Python
false
false
773
py
# Copyright 2015 The Bazel 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 appli...
[ "helder_m_p_novais@hotmail.com" ]
helder_m_p_novais@hotmail.com
4b32b7205890b2163ed6f8361383352233344849
b140b104b6de0c8a924db008a48d9798e046919e
/byte/module_using_sys.py
0098ec94e831916455510b9078702d9bbc2d84fb
[]
no_license
saibi/python
ad206fbfe752198492c939578607f1c31223d3c3
fd94a623241c28dffe60350496a5c858c6f912e8
refs/heads/main
2023-09-01T08:20:33.379923
2023-08-31T01:32:17
2023-08-31T01:32:17
74,268,329
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
#!/usr/bin/env python # -*- coding: utf8 -*- import sys print('the command line arguments are:') for i in sys.argv: print(i) print('\n\nThe PYTHONPATH is', sys.path, '\n')
[ "kimyoungmin@gmail.com" ]
kimyoungmin@gmail.com
e99e71df9008cda3e264baeefafc564222bbb05f
e92bcb90e3bfb4b6076cd9deffc3e67c9770f122
/spk/haproxy/src/app/application/auth.py
7cedb692302bd19331b9d202589ec62b2f837eea
[ "BSD-3-Clause" ]
permissive
SynoCommunity/spksrc
e708e77af58b95259e802229b19495ad011b536b
b0e665b8dcc6c3eedd7814cc8e3d957842b9c01d
refs/heads/master
2023-09-03T13:19:35.212489
2023-09-02T11:17:53
2023-09-02T11:17:53
2,565,137
2,602
1,388
NOASSERTION
2023-09-14T21:56:02
2011-10-12T20:25:50
Makefile
UTF-8
Python
false
false
2,088
py
# -*- coding: utf-8 -*- from collections import namedtuple from flask import abort, request from functools import wraps, partial from subprocess import check_output import grp import os import pwd __all__ = ['authenticate', 'requires_auth'] def authenticate(): """Authenticate a user using Synology's authenticat...
[ "diaoulael@gmail.com" ]
diaoulael@gmail.com
e3530234a6047e169a09f7a802ba4ee2672cb2e6
3705110f5d8fc536b9d6fb8473482babac491dd7
/build/src/django-doc-wiki-0.2.0BETA/doc_wiki/models.py
68d89f5bc1fb6fec0dd13ae3fc483e6e6fdf2d0d
[ "Apache-2.0" ]
permissive
taylanpince/wiki
c726933258142b19b226c066f755bbcdb9196498
227abb4991a071494394e2bbae25775e4baa6d1d
refs/heads/master
2020-06-07T10:53:13.479818
2012-02-28T16:56:26
2012-02-28T16:56:26
479,720
1
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
from django.core.cache import cache from django.db import models from django.utils.safestring import mark_safe from django.utils.translation import ugettext_lazy as _ from doc_wiki import settings from doc_wiki.managers import WikiPageManager from doc_wiki.parsers import parse_markdown class WikiPage(models.Model): ...
[ "taylanpince@gmail.com" ]
taylanpince@gmail.com
c051681c4d71382457478f2977678850900a2d9d
d2f50124ff3bec70b9b3139ecb063b06e526781d
/biable/migrations/0061_cliente_competencia.py
1df9f28fe4cf97ab807d908f104f46d2fed7fb1d
[]
no_license
odecsarrollo/odecopack-componentes
e8d993f089bf53bbf3c53d1265e70ac5c06b59b8
b583a115fb30205d358d97644c38d66636b573ff
refs/heads/master
2022-12-12T00:33:02.874268
2020-08-13T18:45:01
2020-08-13T18:45:01
189,262,705
0
0
null
2022-12-08T11:23:46
2019-05-29T16:37:21
Python
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-07 21:43 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('biable', '0060_auto_20170207_1638'), ] operations = [ migrations.AddField( ...
[ "fabio.garcia.sanchez@gmail.com" ]
fabio.garcia.sanchez@gmail.com
91b6d2e72d8bf21fdc5272aba6d8db8abc9be7f4
4085874e861c40f94b0ba82fdbff273762c26eb2
/test/functional/test_runner.py
7c6da04298b14a5ed5aca971d5401d888bda0870
[ "MIT" ]
permissive
zortcoin/zortcoin
82632c9ae46d57ef77ea7e79ab000f2e002dfaf3
379a1d01cc40c5c8ea50bdc41eded0dfbd1724f1
refs/heads/master
2022-07-27T20:33:34.543723
2021-08-25T16:25:17
2021-08-25T16:25:17
380,851,757
2
0
null
null
null
null
UTF-8
Python
false
false
30,238
py
#!/usr/bin/env python3 # Copyright (c) 2014-2020 The Zortcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Run regression test suite. This module calls down into individual test cases via subprocess. It will ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
7985931ad924c0fffe6fde629612ec580893d2ec
8f48d12b88048e424ebb0d72ca6dfab5cf12ae0f
/0600_0999/917.py
032ca01c50e412e01c507c9dde9a100310423937
[]
no_license
renjieliu/leetcode
e1caf13c18a8107ed9252588b339fb76bcb1b246
4668b64fcb9320b6c316d8608fc61911ce43b6c7
refs/heads/master
2023-03-18T18:16:06.187741
2023-03-14T20:31:59
2023-03-14T20:31:59
128,823,819
7
0
null
null
null
null
UTF-8
Python
false
false
1,765
py
class Solution: # RL 20210914: 2 pointers approach def reverseOnlyLetters(self, s: str) -> str: s = list(s) l = 0 r = len(s)-1 letter = lambda x: 1 if (65<=ord(x)<=90 or 97 <= ord(x)<=122) else 0 while l <= r: #2 pointers, once meet letters on the left and right, just swap th...
[ "anlrj@qq.com" ]
anlrj@qq.com
1696cb9419dcb9e751dbe8da54a9e2b67dc2f20e
1f09834b125de2da3060af78d92012a7ddc16c75
/gusto/settings.py
91b8fd7a35d2c224357d9dae1dbcefa638719188
[]
no_license
letsy1337/gusto
e8db9459146c49911935fcf467b4046060468af5
4dc45449d79674d7e0ed304315e05f9ec9c7d395
refs/heads/main
2023-03-03T00:43:26.252307
2021-02-13T14:39:44
2021-02-13T14:39:44
330,979,000
0
0
null
null
null
null
UTF-8
Python
false
false
4,166
py
""" Django settings for gusto project. Generated by 'django-admin startproject' using Django 3.1.5. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib i...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
ad58ed10f0a6e5ccb17585b08ed905795c5bdd48
1c9999d51cfe4491685ec6eb865c299251f4fd60
/1-b-lstm-return-sequences-states/__init__.py
3e4ec51525567476778abb17f805e0aa729f2c47
[]
no_license
bjbluejita/deep-learning-notebook
d7a081443eda570eb6d36fd7d2983f6077b43962
0e3598a20214dd78deb4f5e6809f7789722f6f5d
refs/heads/master
2023-05-27T15:29:32.639505
2023-05-14T02:16:59
2023-05-14T02:16:59
252,683,247
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
''' @Project: deep-learning-with-keras-notebooks @Package @author: ly @date Date: 2019年02月22日 10:19 @Description: @URL: @version: V1.0 '''
[ "30115682@qq.com" ]
30115682@qq.com
86ad171ff6405302c17d09989ab9eb6063e09ce9
52e6310fab09209583c075f42963099858fb1f4f
/backend/mobile_8_oct_dev_12930/settings.py
ce46b616137bb9169a90c984380402b2c16c074e
[]
no_license
crowdbotics-apps/mobile-8-oct-dev-12930
01f002d825b9be091d6a736549654ccc8805d3e1
35f5acfac8580c158145aeb51f1a42a911bd4417
refs/heads/master
2022-12-26T14:34:01.544851
2020-10-08T14:09:00
2020-10-08T14:09:00
302,234,786
0
0
null
null
null
null
UTF-8
Python
false
false
6,112
py
""" Django settings for mobile_8_oct_dev_12930 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ ""...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9148d6a0ecbe711f958235eefce04d3ff1b0e9db
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_255/ch129_2020_04_01_18_23_34_386742.py
a7848f92f19eb5a4c9eeb1c5bb902fe5b642b7c0
[]
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
156
py
def verifica_quadrado_perfeito(n): x=1 while n>0: n-=x x+=2 return n if n==0: print('True') elif n<0: print('False')
[ "you@example.com" ]
you@example.com
fa20b747629dca817cd808fb369cabbc10565862
219992b56f8e5cd8b47534d98417dd8ac795110b
/com/ibm/testing/dict&file.py
74572cc02da9e8ce622b4624a64b89f3d6598af0
[]
no_license
haohaixingyun/dig-python
63844877de0acad04d07d7119e381b9bb4a97395
4e8c3e3cb1ba98f39d65095b4d3b09ba115e586b
refs/heads/master
2021-01-13T08:45:59.669829
2016-10-26T05:54:07
2016-10-26T05:54:07
71,970,759
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
''' Created on Mar 30, 2016 @author: yunxinghai ''' def main(): dicts = {} dicts['a'] = 'alpha' dicts['g'] = 'gamma' dicts['o'] = 'omega' print dicts print dicts.keys() if 'a' in dicts: print dicts['a'] for key in dicts : print key ...
[ "yunxinghai@hotmail.com" ]
yunxinghai@hotmail.com
c87ea613a666f0beff7a49aabdc7c5360e990c10
94ca446c0f17d640f45941fa7c83530ef2fbc099
/wrs-remote-clients-2.0.2/distributedcloud-client-1.0.0/kingbirdclient/commands/v1/quota_manager.py
808b321b524a455161e55daba05f244193e5038f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rmoorewrs/tic-windows-remote-clients
c1c2b8924e90ffd2951571bc098ec9873ffd3988
ae16ee78a720852304d79f8b86dfe44e920cc72d
refs/heads/master
2023-05-25T13:55:55.603100
2019-05-31T20:59:28
2019-05-31T20:59:28
189,649,925
0
0
NOASSERTION
2023-05-22T20:43:59
2019-05-31T19:46:28
Python
UTF-8
Python
false
false
8,943
py
# Copyright (c) 2016 Ericsson AB. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "rmoorewrs@gmail.com" ]
rmoorewrs@gmail.com
494c300b90dcab7df2391d17dba61414da9b7717
6f56da8db171d4a6c006b5d944437bf061069faf
/XCat.v.0.0.1/source/XCat_Output/XCat_Report/XCat_Report.py
0ad012e217548f3517e089f1db38b8443e388b19
[]
no_license
afarahi/XCat
16819bef7087e994907c413dd6331cdebde72ffb
498602eb7f61696d169f071185115345c68bcf86
refs/heads/master
2021-01-21T01:59:36.907059
2013-05-03T05:12:07
2013-05-03T05:12:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
import subprocess import os import shlex from XCat_tex_Construction import Report_File def Creat_Report(Halo,Input,Output): print "Creating report ..." Report_File(Halo,Input,Output) proc=subprocess.Popen(shlex.split('pdflatex Report/report.tex')) proc.communicate() proc=subprocess.Popen(shlex.spli...
[ "aryaf66@gmail.com" ]
aryaf66@gmail.com
9c9a52c1aeac8287ffe746dd8321a6e56ee87c08
c65af972b843e4f11a9aa9005104ac54a283032d
/practice4/database1.py
51320f63d12e8e845b44c63342cb448e4382cbd0
[]
no_license
ljeleven/mypython
a63438c4246606082f000967a5d47256fa297aeb
b652338be3937543f0b35a9111dd0d346eb913b5
refs/heads/master
2023-05-24T19:30:37.001198
2020-04-09T15:40:40
2020-04-09T15:40:40
240,815,098
0
0
null
2023-05-22T22:41:00
2020-02-16T01:46:29
Python
UTF-8
Python
false
false
282
py
#__author:"longjin" #date: 2019/7/16 # -*- coding: UTF-8 -*- import sys import pymysql #建立连接 conn = pymysql.connect(db='test', user='root', passwd='123456', charset='utf8') cur = conn.cursor() sql = 'create table a(id int, hh varchar(30));' cur.execute(sql) conn.commit()
[ "ljeleven@foxmail.com" ]
ljeleven@foxmail.com
13c763556353a32f1c5b4a0b92c8e72b0f38065a
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/2/gsu.py
63b5d5079abcfe088d8c44bde67af7940ded787e
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
b5b17b33bb1e9becdce712f99761e03f6a3d7555
d41c9d92dcf7a214ae2edc8780cc85cf08fed62e
/featuresynth/featuregenerator/upscale.py
395cdc5391de7d10023cc4d7433b2afa4bb090fa
[]
no_license
JohnVinyard/music-synthesis
f57acce20345ff641e8d355848fbe7561fc74b4c
0b3368e8f5f3d495c3ef4eb49087e2be2593a7ab
refs/heads/master
2020-09-29T00:08:15.061156
2020-04-23T17:46:21
2020-04-23T17:46:21
226,898,712
3
0
null
null
null
null
UTF-8
Python
false
false
9,173
py
from torch import nn from torch.nn import functional as F import torch from ..util.modules import DilatedStack class OneDimensionalSpectrogramGenerator(nn.Module): def __init__(self, out_channels, noise_dim): super().__init__() self.noise_dim = noise_dim self.out_channels = out_channels ...
[ "john.vinyard@gmail.com" ]
john.vinyard@gmail.com
f584e020f872e7dd88e708fa1581b0bfb46638b1
d3efc82dfa61fb82e47c82d52c838b38b076084c
/ETF/Redemption_SA/YW_ETFSS_SZSH_057.py
ff2e617be2fb70e66168d46d6d6a8a81aebb76c2
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
2,106
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys import time sys.path.append("/home/yhl2/workspace/xtp_test/ETF") from import_common import * sys.path.append("/home/yhl2/workspace/xtp_test/ETF/etf_service") sys.path.append("/home/yhl2/workspace/xtp_test/utils") from QueryOrderErrorMsg import queryOrderErrorMsg ...
[ "418033945@qq.com" ]
418033945@qq.com
1d1a404ef43d5caee5af9c265b3ab30282ddbbc5
f1600240f3bbadfa8f190c165bd40b0f74110652
/model/core/CNN.py
41baea57bc9626cd3025120ff505e9987ed822b7
[]
no_license
shubhampachori12110095/XMTC
b45801e143710e97ad8098ee028b4c44b22cb110
b93a8a78c7799461b4853006f5cd7a0fc4fcdc67
refs/heads/master
2020-04-22T23:26:19.869742
2018-04-29T01:56:55
2018-04-29T01:56:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,816
py
''' Created on Jan, 2018 @author: FrancesZhou ''' from __future__ import absolute_import import numpy as np import tensorflow as tf class CNN(object): def __init__(self, max_seq_len, word_embedding, filter_sizes, label_embedding, num_classify_hidden, args): self.max_seq_len = max_seq_len self.wo...
[ "zhouxian@sjtu.edu.cn" ]
zhouxian@sjtu.edu.cn
9a03dbf9ee4dcfaac6cc5b242193b5047b594d22
75e8f932e1e08c7e71380e6b71d85ddd04f052dd
/SDAPythonBasics/list_ex.py
bd1f0706f87e8b3dfd0e0535ddd461107f069623
[]
no_license
aeciovc/sda_python_ee4
fe470a253126ad307c651d252f9f9b489da32835
9e1e8be675fcafe4a61c354b55b71f53ad2af0fe
refs/heads/master
2023-08-29T15:17:34.033331
2021-10-31T09:41:57
2021-10-31T09:41:57
365,678,373
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
""" # Ask the user name/phone cel/phone home/age # Store those in a dictionary # Save this dictionary to a list # and Print out as result this: [ { 'name': 'Aecio', 'phone_cel': '4535345435', 'phone_home': '34234234', 'age': 22 } ] """ list_phone_books = [] name = input("Type ...
[ "aeciovc@gmail.com" ]
aeciovc@gmail.com
22fd525a675865729fdcd29d2e652cc86d653d11
3e381dc0a265afd955e23c85dce1e79e2b1c5549
/hs-S1/icicealtigen.py
38ca41f7d89dcab101bac3f89dbd3ba9d5af8a91
[]
no_license
serkancam/byfp2-2020-2021
3addeb92a3ff5616cd6dbd3ae7b2673e1a1a1a5e
c67206bf5506239d967c3b1ba75f9e08fdbad162
refs/heads/master
2023-05-05T04:36:21.525621
2021-05-29T11:56:27
2021-05-29T11:56:27
322,643,962
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
import turtle as t t.Screen().setup(600,400) t.shape("turtle") # çözüm buraya yapılacak for i in range(3): for k in range(6): t.forward(50) t.right(60) #ileri atla t.penup() t.forward(100) t.pendown() t.done()
[ "sekocam@gmail.com" ]
sekocam@gmail.com
e4f19edfd0046a2a97ff217f1889c4ca0143aa5c
5af5fa981a0a8598b2b031aaf10c6ba6d2f5c28c
/images/views.py
52a223a2f7a48ace977ebf42c00165721d3e50e9
[]
no_license
FMularski/image-house
d15b2fe7d0379cd237c5aef3336a0ad2ee5a136c
968e7c6a566090d0cf25246e506820dd955b34c0
refs/heads/main
2023-07-31T18:49:25.705577
2021-09-13T18:56:10
2021-09-13T18:56:10
404,382,258
0
1
null
null
null
null
UTF-8
Python
false
false
4,683
py
from django.shortcuts import render, reverse, redirect from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.contrib import messages from django.core.paginator import Paginator, EmptyPage from . import forms, models def filt3r(request, image...
[ "mularskif@gmail.com" ]
mularskif@gmail.com
1db73a5ea084e5e00837a54631bc558892cc61a6
efe1546fa1f057cbbbe974bd8478309b6176d641
/waf/playground/gtest/tests/test1/wscript_build
2af2f0639e6374c08fa8b907bd37213432c364ab
[ "Apache-2.0" ]
permissive
yankee14/reflow-oven-atmega328p
2df323aba16ac4f3eac446abc633a5d79a1a55cb
e6792143576f13f0a3a49edfd54dbb2ef851d95a
refs/heads/master
2022-12-02T21:32:39.513878
2019-05-30T06:25:12
2019-05-30T06:25:12
188,760,664
0
1
Apache-2.0
2022-11-15T18:22:50
2019-05-27T02:52:18
Python
UTF-8
Python
false
false
220
#! /usr/bin/env python # encoding: utf-8 bld.program( features = 'test', source = 'AccumulatorTest.cpp', target = 'unit_test_program', use = 'unittestmain useless GTEST', ut_cwd = bld.path.abspath(), )
[ "yankee14.ed@gmail.com" ]
yankee14.ed@gmail.com
49e7c471cc04688d4233e45fa2ec38aa03a969bb
2b167e29ba07e9f577c20c54cb943861d0ccfa69
/numerical_analysis_backup/large-scale-multiobj2/core-arch5-guard0-beta0-hebbe/pareto310.py
8c6607739df901db6b14e0cca2e08dcef97dc67e
[]
no_license
LiYan1988/kthOld_OFC
17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f
b1237577ea68ad735a65981bf29584ebd889132b
refs/heads/master
2021-01-11T17:27:25.574431
2017-01-23T05:32:35
2017-01-23T05:32:35
79,773,237
0
0
null
null
null
null
UTF-8
Python
false
false
2,489
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 4 15:15:10 2016 @author: li optimize both throughput and connections """ #import sys #sys.path.insert(0, '/home/li/Dropbox/KTH/numerical_analysis/ILPs') import csv from gurobipy import * import numpy as np from arch5_decomposition_new import Arch5_decompose np.random...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
830461b71b4a998b1b41c369276838c5086a614f
457db67d845d47bf9f65d8c4ae8c781fd9c9c74c
/Peaks_detection.py
943e20ab6af6c11f234caa76ffdd3656a25adf42
[]
no_license
shanonentropy/DiamondNVDataProcessing
f5b0d3607a6c9d350f22b970d598c030125396e1
0c7b72a879f554e8beaf8b846028587ef66aed36
refs/heads/master
2021-08-16T14:39:17.239834
2017-11-20T01:41:06
2017-11-20T01:41:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,499
py
import sys from numpy import NaN, Inf, arange, isscalar, asarray, array def peakdet(v, delta, x = None): """ Converted from MATLAB script at http://billauer.co.il/peakdet.html Returns two arrays function [maxtab, mintab]=peakdet(v, delta, x) %PEAKDET Detect peaks in a vector % ...
[ "noreply@github.com" ]
shanonentropy.noreply@github.com
2eb8dd6bf1f6b9ee2584d0c6a4e59d9d43d6ebcd
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/django/db/backends/base/schema.py
82d6fafc75274b14d721dcbfb9e311635ae4987e
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
50,348
py
import hashlib import logging from datetime import datetime from django.db.backends.ddl_references import ( Columns, ForeignKeyName, IndexName, Statement, Table, ) from django.db.backends.utils import split_identifier from django.db.models import Index from django.db.transaction import TransactionManagementError, ...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
6589983858de7fac1bfc6bfab9cfdae6dfa84f4d
4e5141121d8b4015db233cbc71946ec3cfbe5fe6
/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-aaa-lib-cfg/gn-delete-xr-aaa-lib-cfg-20-ydk.py
93a22ad7752d9e1443eea3358f521fd01caad79e
[ "Apache-2.0" ]
permissive
itbj/ydk-py-samples
898c6c9bad9d6f8072892300d42633d82ec38368
c5834091da0ebedbb11af7bbf780f268aad7040b
refs/heads/master
2022-11-20T17:44:58.844428
2020-07-25T06:18:02
2020-07-25T06:18:02
282,382,442
1
0
null
2020-07-25T06:04:51
2020-07-25T06:04:50
null
UTF-8
Python
false
false
2,653
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, 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 applicab...
[ "deom119@gmail.com" ]
deom119@gmail.com
3aa08f7780110a7bdf6645e4e423705b1f892161
0cf21c1880d43a9b9384682ce7179897de08508d
/AtCoder Beginner Contest/2019_ABC/2019-11-16(ABC145)/ABC145_C.py
cb436adb1b407097411873168d3c1dfadd4c48bc
[]
no_license
neoneo0106/AtCoder
44bc54c82c9c1a0ded396cca54b110bc02ca86ea
1ff28a526e6a1b32cf18bd7daa4e33462daea080
refs/heads/master
2022-03-24T00:35:55.664228
2022-02-22T14:44:14
2022-02-22T14:44:14
246,288,963
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
import math def dis(x1, y1, x2, y2): return ((x1 - x2)**2 + (y1 - y2)**2) ** (1/2) def kaijo(n): return math.factorial(n) n = int(input()) x = [0] * n y = [0] * n for i in range(n): x[i], y[i] = map(int, input().split()) sum = 0 for j in range(n): for i in range(n): if i != j: s...
[ "neo@neonoMacBook-puro.local" ]
neo@neonoMacBook-puro.local
a39592556defdd0e737b3a3010ee24fc4b6a9448
ef50bb32ab941f64621ba17b419dd19531da220d
/products/migrations/0003_product_price.py
7c4097495791fbcc1c6f39e6ee27de4905f04246
[]
no_license
OleksandrMyshko/test-site
3de69d5a29e2860016f5fdc5d4c510e493c50e1a
0bbf84a4eddfa92789f516b52e5b05fa15817262
refs/heads/master
2021-07-10T07:28:27.769729
2017-09-25T17:22:05
2017-09-25T17:22:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-22 16:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0002_productimage_img'), ] operations = [ migrations.AddField( ...
[ "sashamushko@gmail.com" ]
sashamushko@gmail.com
2afd9033fffd379418dabc8536d1fe65740e5269
385a63d3c9e6f5815979165001f78ec3d7b90cd2
/DrivingTDM_SetupMatlabOOP/headerAndFunctionsMotor/ximc/python-profiles/STANDA/8MR191-4233.py
a15889a864330f60af6292ced3cb74513b201575
[ "BSD-2-Clause" ]
permissive
Rasedujjaman/matlabOOP
5abb6ec94998fda5e9214ed94cf67a42bf243d4f
e1f025ab9b00a3646719df23852079736d2b5701
refs/heads/main
2023-07-23T21:40:53.905045
2021-08-31T16:12:39
2021-08-31T16:12:39
378,249,559
1
1
null
null
null
null
UTF-8
Python
false
false
22,543
py
def set_profile_8MR191_4233(lib, id): worst_result = Result.Ok result = Result.Ok feedback_settings = feedback_settings_t() feedback_settings.IPS = 4000 class FeedbackType_: FEEDBACK_ENCODER_MEDIATED = 6 FEEDBACK_NONE = 5 FEEDBACK_EMF = 4 FEEDBACK_ENCODER = 1 fe...
[ "mrased01@gmail.com" ]
mrased01@gmail.com
191e8c8ebd498df80b64cd84e5b7f15eca56a5f6
fb82fdf706863465b1f357cd1fa0447474cd8a70
/ServerComponent/venv/Lib/site-packages/pythonrv/test/mock_and_helpers.py
296b68023a48690ab41c922fedc65e25c621d2ac
[ "MIT" ]
permissive
CDU55/FakeNews
d79e2a069b3f1392f779d5b2256cd54c696e789a
707bd48dd78851081d98ad21bbdadfc2720bd644
refs/heads/main
2023-02-20T06:27:18.618837
2021-01-17T15:14:27
2021-01-17T15:14:27
305,167,221
0
1
MIT
2020-12-07T19:51:46
2020-10-18T18:16:49
Python
UTF-8
Python
false
false
823
py
# -*- coding: utf-8 -*- import unittest import logging.handlers class MockLoggingHandler(logging.Handler): def __init__(self, *args, **kwargs): self.reset() super(MockLoggingHandler, self).__init__(*args, **kwargs) def emit(self, record): self.messages.append(record) def reset(sel...
[ "48147775+BiancaChirica@users.noreply.github.com" ]
48147775+BiancaChirica@users.noreply.github.com
cea172f7fc2168b6a992da358c297658f258989b
7b7bfbfebd627a3ccfdd52bb7164fa4f94cda7fc
/optic_store/optic_store/doctype/group_discount/test_group_discount.py
6abaa25f486d759b1930cf23d4f05c363a577971
[ "MIT" ]
permissive
f-9t9it/optic_store
d117b7ef7c4107ec15d8194fc57d66a18aff5945
4682ae99cdb2cbfb1ff99196398d7379b4b6c8f1
refs/heads/master
2022-07-01T10:29:54.783550
2022-06-21T14:34:40
2022-06-21T14:34:40
171,165,708
23
43
NOASSERTION
2022-06-21T14:21:16
2019-02-17T19:58:33
Python
UTF-8
Python
false
false
209
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, 9T9IT and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestGroupDiscount(unittest.TestCase): pass
[ "sun@libermatic.com" ]
sun@libermatic.com
bb2c39b81b685aa1f33c7cc8aa706e7e60cb2876
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/414/usersdata/315/80495/submittedfiles/av1_programa2.py
736f8af8c79f8c3b81b483e1639ddc5f9b14123c
[]
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
818
py
# -*- coding: utf-8 -*- matricula = input('Matricula: ') nota1 = float(input('Digite nota1 com 1 casa decimal: ')) nota2 = float(input('Digite nota2 com 1 casa decimal: ')) nota3 = float(input('Digite nota3 com 1 casa decimal: ')) ME = float(input('Digite ME com 1 casa decimal: ')) MA = (nota1 + (nota2*2) + nota3*3 +M...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
07306b347c9a516d94e561248d0074b5d9a8a4ba
5c484d9ecd194ad31555303aff004b739fc6b564
/stats/migrations/0046_offer_last_active_at.py
16f9b8d611c0ee397ebab74f2f2c0e76da862727
[]
no_license
bloogrox/hasoffers-kpi
15b82c9287fc4a62e14e4b637c3d57d03db54233
227472f0090856048d1fdb0591ffbb15b575a311
refs/heads/master
2021-01-01T17:31:14.448122
2017-11-08T16:26:40
2017-11-08T16:26:40
98,095,120
0
1
null
2017-08-12T11:43:31
2017-07-23T12:05:31
Python
UTF-8
Python
false
false
584
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-10-18 00:44 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('stats', '0045_offer_status'), ] ...
[ "bloogrox@gmail.com" ]
bloogrox@gmail.com
45c71549dbaad7e978eac089619642a8467b3a13
6067d10ccf61070ff2f7ec00068a4a138d835b48
/analyze_error_rate_book.py
fa1ec11f8ee79584a35f6f5e71fdd08a08b89484
[]
no_license
Doreenruirui/OCR
aa3c7f3bc34a98951288ab6608e8e4c7373a2bda
693562e966e2b18b759aabeac23c068cf8c59a7c
refs/heads/master
2021-07-09T08:41:04.763718
2018-08-07T19:34:34
2018-08-07T19:34:34
91,371,468
1
0
null
null
null
null
UTF-8
Python
false
false
2,416
py
import os from os.path import join, exists import numpy as np import sys from collections import OrderedDict from plot_curve import plotBar, plot # folder_data = '/Users/doreen/Documents/Experiment/dataset/OCR/' folder_data = '/gss_gpfs_scratch/dong.r/Dataset/OCR' #folder_data = '/home/rui/Dataset/OCR' def merge_err...
[ "ruiruidong1989@gmail.com" ]
ruiruidong1989@gmail.com
fda84663dd476b25868d4899cb14568ead0f5dad
621a40fa363dc0c32c96a4c8fdfe9142877e2ff1
/ietf/mailtrigger/admin.py
e192a2066c255795a6d46e26d189225602b69f30
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
omunroe-com/ietfdb2
d9c40bebe4b25059f810c70dd1370cca30cb3c36
aeaae292fbd55aca1b6043227ec105e67d73367f
refs/heads/master
2020-04-04T21:05:56.067430
2018-11-05T09:08:27
2018-11-05T09:08:27
156,273,382
2
0
null
null
null
null
UTF-8
Python
false
false
528
py
from django.contrib import admin from ietf.mailtrigger.models import MailTrigger, Recipient class RecipientAdmin(admin.ModelAdmin): list_display = [ 'slug', 'desc', 'template', 'has_code', ] def has_code(self, obj): return hasattr(obj,'gather_%s'%obj.slug) has_code.boolean = True admin.site.regis...
[ "henrik@levkowetz.com" ]
henrik@levkowetz.com
de4237a85539bc2bf65a12af93a1b4f75141497e
0e7aed5eef2e1d132a7e75dd8f439ae76c87639c
/python/863_All_Nodes_Distance_K_in_Binary_Tree.py
b048d616be21233247e4a98d9029d20749033190
[ "MIT" ]
permissive
liaison/LeetCode
2a93df3b3ca46b34f922acdbc612a3bba2d34307
bf03743a3676ca9a8c107f92cf3858b6887d0308
refs/heads/master
2022-09-05T15:04:19.661298
2022-08-19T19:29:19
2022-08-19T19:29:19
52,914,957
17
4
null
null
null
null
UTF-8
Python
false
false
4,950
py
""" We are given a binary tree (with root node root), a target node, and an integer value K. Return a list of the values of all nodes that have a distance K from the target node. The answer can be returned in any order. The distance between a node and its child nodes is 1. Input: root = [3,5,1,6,2,0,8,null,null,7,4...
[ "lisong.guo@me.com" ]
lisong.guo@me.com
c706f72bc0673621beb535e16fba9c2156cb3234
39f13506f0f55856639a77d8d9ff2832e980d577
/setup.py
e0fd11043af6a8d71832ec0ccfd4bc4f280fba30
[]
no_license
HD60Hz-Open/winfspy
75e0fd24a6d7edfc00f07c6ecf82f0ad2d0759d3
8ea5d2c4f510337ac527eaa8982c3e7c6f4e08c3
refs/heads/master
2020-09-13T06:42:22.619496
2019-11-12T11:15:07
2019-11-12T11:15:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
#!/usr/bin/env python import os import sys from setuptools import setup, find_packages os.chdir(os.path.dirname(sys.argv[0]) or ".") # Awesome hack to load `__version__` __version__ = None exec(open("src/winfspy/_version.py", encoding="utf-8").read()) requirements = open("requirements.txt").read().split("\n") ...
[ "emmanuel.leblond@gmail.com" ]
emmanuel.leblond@gmail.com
33e574f5532767f44ed9bc98132d94893ef78fff
17fe32a70be82d9fd6c3268b840226b5567c8b29
/pycox/__init__.py
d2de313f848c3a8d78f26de71902f3b2887cf0c3
[ "MIT", "BSD-2-Clause" ]
permissive
georgehc/dksa
dbb7161a75b8206d3d469bb5b966ed7a0f84d86c
bcd9eab6c9ded47f5b166cf1351b06e26e0c8f90
refs/heads/master
2023-08-02T06:15:12.472386
2021-10-01T17:47:25
2021-10-01T17:47:25
282,355,975
11
2
null
null
null
null
UTF-8
Python
false
false
294
py
# -*- coding: utf-8 -*- """Top-level package for pycox.""" __author__ = """Haavard Kvamme""" __email__ = 'haavard.kvamme@gmail.com' __version__ = '0.2.1' import pycox.datasets import pycox.evaluation import pycox.preprocessing import pycox.simulations import pycox.utils import pycox.models
[ "georgechen@cmu.edu" ]
georgechen@cmu.edu
4ef736fdd3d0ba141bf8f68f9a6b5d5711963d17
0fcf4e4b1c61fad0829828fb0294dd5faceb3eaa
/app/app/settings.py
12b2893abccd49a2589c099d32292f5162f515e3
[ "MIT" ]
permissive
MrRezoo/recipe-app-api
465127526b7d00fb3b454b18a6bdcf1009e57c83
6b4c236490f1dd0a6bcce644bc0ae0ffe376ab8d
refs/heads/main
2023-07-14T22:48:02.635837
2021-08-24T09:27:55
2021-08-24T09:27:55
395,381,816
0
0
null
null
null
null
UTF-8
Python
false
false
3,593
py
""" Django settings for app project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from path...
[ "rezam578@gmail.com" ]
rezam578@gmail.com
dcc2f0d21fd217cfec6a78e8d4135813fe46aa8c
b7f88c6e703358c6bb4072daf407b1969bccabac
/stiff/wordnet/base.py
b97e58725ff95f7cfd579de28fe244194dbbfd47
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
frankier/STIFF
edf1a34604991a9a23652073b321478e4809697d
c69060a1ba8ee36b660def9c5215c74bf5310e0c
refs/heads/master
2023-03-08T17:03:32.317399
2020-10-06T12:16:50
2020-10-06T12:16:50
133,658,142
2
1
Apache-2.0
2023-02-22T23:29:19
2018-05-16T11:51:40
Python
UTF-8
Python
false
false
1,099
py
from abc import ABC, abstractmethod from typing import Dict, List, Tuple, Callable, Iterable from nltk.corpus.reader import Lemma, Synset from finntk.wordnet.utils import ss2pre def default_mapper(synset_obj: Synset) -> str: return ss2pre(synset_obj) class ExtractableWordnet(ABC): _synset_mappers: Dict[str,...
[ "frankie@robertson.name" ]
frankie@robertson.name
0a2badee9e4515c51818ced076629a9d87578423
41523dd4871e8ed1043d2b3ddf73417fcbdde209
/day05/中国国旗.py
1d68bd04ab6bbc59b915825fa15d66adfd4f3000
[]
no_license
WayneChen1994/Python1805
2aa1c611f8902b8373b8c9a4e06354c25f8826d6
a168cd3b7749afc326ec4326db413378fd3677d5
refs/heads/master
2020-03-30T23:19:00.773288
2018-11-02T10:47:40
2018-11-02T10:47:40
151,697,105
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # author: Wayne.Chen ''' 使用turtle模块画一个中国国旗 ''' import turtle turtle.begin_fill() turtle.fillcolor("red") for x in range(2): turtle.forward(300) turtle.left(90) turtle.forward(200) turtle.left(90) turtle.end_fill() turtle.up() turtle.left(90) tur...
[ "waynechen1994@163.com" ]
waynechen1994@163.com
0111d066ee2b49d9fedaa8b7b93dce650989fde8
e32a75c44ef9c964bc5f97712c8e0e845ee3f6ca
/train_vqa_vqg_flt_cand_models.py
03a85bba83ea363002c5bfbe143b23c0809319e4
[]
no_license
ankita-kalra/ivqa_belief_set
29c40ec4076433ac412728aea603e4e69ce530eb
6ebba50ff001e1af6695bb3f4d2643e7072ee153
refs/heads/master
2020-04-05T17:17:00.834303
2018-08-27T09:59:16
2018-08-27T09:59:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,109
py
from __future__ import division import tensorflow as tf import os # from models.model_creater import get_model_creation_fn from config import TrainConfig, ModelConfig import training_util from readers.vqa_naive_vqg_flt_cand_data_fetcher import AttentionDataReader as Reader # from readers.semi_naive_data_fetcher import...
[ "liufeng@seu.edu.cn" ]
liufeng@seu.edu.cn
10aca41decc98ad1133655ae582bd8a46dab90e5
660c4ba43d91999872953ec27c6a72673e3239a0
/anrg/test_cleaning.py
a2e4168afcf7e7f5cbeb6843274636eed8205397
[]
no_license
zaxliu/howmuchrainii
4a50c93be82b15bdab47043a7f5bf17224f277b3
3804ba4c6b412aadd400ab793d4245d041338fba
refs/heads/master
2021-01-09T21:55:47.185470
2016-03-15T04:52:07
2016-03-15T04:52:07
53,915,578
1
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
from cleaning import TargetThresholdFilter, LogPlusOne import numpy as np import pandas as pd from sklearn.datasets import load_boston from sklearn.pipeline import Pipeline from sklearn.linear_model import LinearRegression # # Check basic functionality # # only works for pandas DataFrame and Series because we are mod...
[ "liujingchu@gmail.com" ]
liujingchu@gmail.com
f83f9b3a5f09f2fd6c191894b8d4e267df122003
8be217fe977aa0bcd9e375c75b0fb522f5bf0101
/univaluedbinarytree965.py
d9f96d60ffccf5ba0e578cdfe667701be77a564f
[]
no_license
blueones/LeetcodePractices
c63a5e773bebea17e988e8bb4962e012d7d402ba
194375ba0c07e420f420aafec98aede2f9f5d8fa
refs/heads/master
2021-07-14T14:21:55.389334
2021-01-24T22:13:21
2021-01-24T22:13:21
230,814,709
0
1
null
2020-02-25T02:58:04
2019-12-29T23:18:25
Python
UTF-8
Python
false
false
1,585
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isUnivalTree(self, root: TreeNode) -> bool: def dfs(node,value): if node == None: return True ...
[ "yiq.shang@gmail.com" ]
yiq.shang@gmail.com
413f02aa60bcb2e786a66cc04ea9474bea452cf6
383845f6cd8e2a32f95e5970d2f7e9fb755b6598
/5days/day3/19-error.py
b8d052bc39972096ef182b3e732bfa1a61d518fd
[]
no_license
ash/python-tut
e553e9e3a4ecb866e87c7ce9f04d7f517244ac01
f89f079f13dd29eef6ba293b074a0087272dc8a6
refs/heads/master
2022-12-17T03:20:40.633262
2018-03-21T15:04:09
2018-03-21T15:04:09
96,119,629
0
0
null
2022-12-08T00:55:59
2017-07-03T14:29:02
Python
UTF-8
Python
false
false
39
py
print('Hello') print(1/0) print('Bye')
[ "andy@shitov.ru" ]
andy@shitov.ru
068b03e6832ce421b83bd23c56f5f42c8e3c05c0
9a1f105ce6385633e7da47fb13eb2e8db66dbddb
/awswrangler/__metadata__.py
8ec6474ad28c7b7000ec80205d2f87d6c15e164d
[ "Apache-2.0" ]
permissive
datacoral/aws-data-wrangler
c47e2d45f2e643b62479f6b0b8f5fdbd8367af9b
bb9eb52baf374c616289daa932dc855dcd384994
refs/heads/master
2021-05-27T04:27:23.700657
2020-05-18T13:45:30
2020-05-18T13:45:30
254,217,334
0
0
null
2020-04-08T22:45:28
2020-04-08T22:45:27
null
UTF-8
Python
false
false
266
py
"""Metadata Module. Source repository: https://github.com/awslabs/aws-data-wrangler Documentation: https://aws-data-wrangler.readthedocs.io/ """ __title__ = "awswrangler" __description__ = "Pandas on AWS." __version__ = "1.1.2" __license__ = "Apache License 2.0"
[ "igorborgest@gmail.com" ]
igorborgest@gmail.com
1de069266182493d06adf2a86d6e505eff242889
2b5dfacdb7389aefff64c67fac863e3f82d3723e
/source/tygame-sdk/src/tysdk/entity/paythird/paycattuyouweixin.py
049b97dab1b518acc7e1109f6d54bd64be7e7a9e
[]
no_license
hi-noikiy/hall0
54ef76c715f7ac7fec4c9ca175817e12f60fbd6a
21ea94c5b048bc611fb1557ac0b6e3ef4fdbbc09
refs/heads/master
2020-04-08T21:58:55.239106
2018-01-15T14:58:32
2018-01-15T14:58:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
# -*- coding=utf-8 -*- import copy from tyframework.context import TyContext class TuYouPayCatTuyouWeixin(object): @classmethod def charge_data(cls, chargeinfo): try: del chargeinfo['chargeType'] except: pass more_categories = TyContext.Configure.get_global_it...
[ "cg@ibenxi.com" ]
cg@ibenxi.com
8de1cdc5e429d2262b6e0aa7345e4f26efe3ec7e
ff68cde9ba7196dee310d8e0a62810cbaf285e08
/fresh_shop/user/views.py
d5adde24c627a4552ac824bd9fe75c80e537c6a1
[]
no_license
guilinxians/fresh_shop
1fc3d269212652f229c51385ca654c94ce0c580e
8e6692c9737643bc7202ece9054a95cde88435ab
refs/heads/master
2020-04-17T21:41:46.670901
2019-01-22T09:27:37
2019-01-22T09:27:37
166,961,820
1
0
null
null
null
null
UTF-8
Python
false
false
3,389
py
from django.contrib.auth.hashers import make_password from django.http import HttpResponseRedirect from django.urls import reverse from django.shortcuts import render from user.forms import RegisterForm, LoginForm, AddressForm from user.models import User, UserAddress def register(request): if request.method == ...
[ "you@example.com" ]
you@example.com
fb42871c985ed699ec54105fb0e712bffac27ea8
da853ef2c9946344ae34829355a507052f1af411
/PycharmProjects/assgn7.py
fbb4d1e9b999d3295845ff7ab7f15710e0c8ea63
[]
no_license
SubhamSingh1/star
c4f3d2ac0470e81847fef4436c0cbd3e1ea9bf6c
33531c1f224e0a553d93d877724db673bf6941db
refs/heads/master
2022-12-21T13:27:03.969571
2021-10-01T07:31:17
2021-10-01T07:31:17
235,774,208
0
0
null
2022-12-14T11:40:12
2020-01-23T10:43:20
Python
UTF-8
Python
false
false
118
py
yr= int(input("Enter the Year.")) if yr%4==0: print("It's a leap year.") else: print("It's not a leap year.")
[ "60218236+SubhamSingh1@users.noreply.github.com" ]
60218236+SubhamSingh1@users.noreply.github.com
47a4a9784f1ae38914bd692d9743d32514d93d2c
08136ad3a77e6be56c50a64ffddd88bd2f2b2931
/Standalone/gevent/pool.py
ab505f205e5da719a63f738946404f9ee1f18b5e
[]
no_license
handwriter/ufo
2f9ae4a999bcbe532643ce564a9b33cb5b97aca6
28af9ef19b525343bda8c149334b16b0b02c4968
refs/heads/master
2021-04-05T01:18:45.130347
2020-03-19T13:34:00
2020-03-19T13:34:00
248,509,434
1
0
null
null
null
null
UTF-8
Python
false
false
26,259
py
# Copyright (c) 2009-2011 Denis Bilenko. See LICENSE for details. """ Managing greenlets in a group. The :class:`Group` class in this module abstracts a group of running greenlets. When a greenlet dies, it's automatically removed from the group. All running greenlets in a group can be waited on with :meth:`Grou...
[ "62296664+handwriter@users.noreply.github.com" ]
62296664+handwriter@users.noreply.github.com
a26a88fbae5ce1b4b5853a5cae25a77b9d11b2cf
a5599f90f1b278916fac6bdb31035403f32314d5
/0x03-python-data_structures/0-print_list_integer.py
5492a09cda03c6bda3a65110097e8d5b0e764971
[]
no_license
veromejia/holbertonschool-higher_level_programming
46294a47a91771c9b36e8221d070d60516132539
aab2ea538a45ae72e006e52730886fd45b85fe78
refs/heads/master
2020-07-23T02:14:40.652029
2020-02-14T05:50:57
2020-02-14T05:50:57
207,412,376
2
0
null
null
null
null
UTF-8
Python
false
false
113
py
#!/usr/bin/python3 def print_list_integer(my_list=[]): for i in my_list: print("{:d}".format(i))
[ "veromejia.q@gmail.com" ]
veromejia.q@gmail.com
9406135cec1ba7dadac85f8e9357dd6eec506674
2565b3edfee1dbacbe0f20440337641c99be3356
/czaSpider/dump/socket/client_for_test2.py
c22844fec9f64084b07f410d9e105e11fc23102f
[]
no_license
hi-noikiy/ScrapyLearning
9f2cd3c7a1404ec06f4db9c958542b36abbeba09
1dd4c946f133d461dfe3fe21e31e5ba57adfd18a
refs/heads/master
2022-04-27T11:24:28.748495
2020-04-28T00:30:34
2020-04-28T00:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
import socket, json, time HOST = '127.0.0.1' ## PORT = 8022 tcpCliSock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) tcpCliSock.connect((HOST, PORT)) tcpCliSock.send(json.dumps({'cookie': 'test', 'user':'cza'}).encode()) while True: print(tcpCliSock.recv(1024).decode()) # message = input('输入聊天内容') ...
[ "czasg0.0" ]
czasg0.0
a49cbab98aa7a3ff2cb68295ad3348109ef1e1bd
7a454567a3de8b9cc399c73320ac803284cbf3ca
/ch17/02_imag.py
645f4b643476631b8ff2af991aaca4aea0755a64
[]
no_license
uberman4740/Practical-Deep-Reinforcement-Learning
86fb84fca52a0ad46d92cb681f95768689b99519
4e2b22ecb10485ddb12f910959ee32718cf9d124
refs/heads/master
2020-03-10T12:23:51.686942
2018-04-12T19:46:08
2018-04-12T19:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,525
py
#!/usr/bin/env python3 import os import gym import ptan import argparse import numpy as np from tensorboardX import SummaryWriter import torch import torch.nn.functional as F import torch.optim as optim from torch.autograd import Variable from lib import common, i2a LEARNING_RATE = 5e-4 NUM_ENVS = 16 BATCH_SIZE = 6...
[ "max.lapan@gmail.com" ]
max.lapan@gmail.com
b116d5975037b3274e9f1ee7859e7ef06fcd7eea
b501a5eae1018c1c26caa96793c6ee17865ebb2d
/data_persistence_and_exchange/sqlite3/sqlite3_argument_named.py
3a6f8243124bee44d70b39d7bcb3084eb7a03c3b
[]
no_license
jincurry/standard_Library_Learn
12b02f9e86d31ca574bb6863aefc95d63cc558fc
6c7197f12747456e0f1f3efd09667682a2d1a567
refs/heads/master
2022-10-26T07:28:36.545847
2018-05-04T12:54:50
2018-05-04T12:54:50
125,447,397
0
1
null
2022-10-02T17:21:50
2018-03-16T01:32:50
Python
UTF-8
Python
false
false
567
py
import sqlite3 import sys db_filename = 'todo.db' project_name = sys.argv[1] with sqlite3.connect(db_filename) as conn: cursor = conn.cursor() query = """ select id, priority, details, status, deadline from task where project = :project_name order by deadline, priority """ cursor.execute...
[ "jintao422516@gmail.com" ]
jintao422516@gmail.com
49f1da2b299d4c6d36fdfab3fc635f8ea386801c
46ac0965941d06fde419a6f216db2a653a245dbd
/sdks/python/test/test_BillingResourceUsage.py
2c2f2c05a4b8f5ccc8c439600f882e25773cb0bd
[ "MIT", "Unlicense" ]
permissive
b3nab/appcenter-sdks
11f0bab00d020abb30ee951f7656a3d7ed783eac
bcc19c998b5f648a147f0d6a593dd0324e2ab1ea
refs/heads/master
2022-01-27T15:06:07.202852
2019-05-19T00:12:43
2019-05-19T00:12:43
187,386,747
0
3
MIT
2022-01-22T07:57:59
2019-05-18T17:29:21
Python
UTF-8
Python
false
false
958
py
# coding: utf-8 """ App Center Client Microsoft Visual Studio App Center API # noqa: E501 OpenAPI spec version: preview Contact: benedetto.abbenanti@gmail.com Project Repository: https://github.com/b3nab/appcenter-sdks """ from __future__ import absolute_import import unittest import appcente...
[ "b3nab@users.noreply.github.com" ]
b3nab@users.noreply.github.com
16a2b6f4adbf825184790d3fa41b8ae08f66ba08
456d4d710a0a596d293a0ca1c9e3ceeadc9e0b66
/pirates/world/GameTypeGlobals.py
7c5852952009fa866604de99e03a0409d8542c2d
[]
no_license
DankMickey/PORSRC
65471a41891f515630f6e7c97e87a082a12a6592
07896684c67758f81216a5bd287441c71b833251
refs/heads/master
2021-01-01T20:02:46.030841
2017-07-10T14:56:27
2017-07-10T14:56:27
98,749,038
0
1
null
2017-07-29T17:36:53
2017-07-29T17:36:53
null
UTF-8
Python
false
false
14,616
py
from panda3d.core import ConfigVariable, ConfigVariableBool import types from pirates.piratesbase import PiratesGlobals from pirates.piratesbase import PLocalizer from pirates.piratesgui import PiratesGuiGlobals from pirates.uberdog.UberDogGlobals import InventoryType from pirates.uberdog import DistributedInventoryBas...
[ "darktohka@yandex.com" ]
darktohka@yandex.com
8afca52e50ab53f3827973dcd8962b2d96ed9f4b
adf195dd2740bf38c50e4182d6c262518f5a71f2
/ugestor_dto/EmpleadoDTO.py
e97d6c55ad9431f52b2f7bd8d19c359eada3a682
[]
no_license
jhonex1234/ugestor
665706a895d5895b6ab08347c63543c3f14614dc
1d2a8c04c2feb772426666ccf64c003f4014a76f
refs/heads/master
2020-07-10T18:36:56.378511
2019-09-05T04:12:10
2019-09-05T04:12:10
204,337,475
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
# -*- coding: utf-8 -*- from wtforms import Form from wtforms import StringField, IntegerField from wtforms import validators from wtforms.fields.html5 import DateField from wtforms.fields import SelectField from wtforms import BooleanField from wtforms.validators import DataRequired from com_dao import ConnectionDB ...
[ "efnaranjo6@misena.edu.co" ]
efnaranjo6@misena.edu.co
d600e630f8fd18cc349b5a1786e92e29c475071e
1b764845ceab76ab91d12a4a067cb49fa3296001
/pyfirstweek/第一课时/栈.py
f69a62e8bd29bd81bcb4a6ad8c7dbcaf49691dd9
[ "Apache-2.0" ]
permissive
mychristopher/test
c5e11aef178d025d25d54afde4fb836a18001a23
9977d36bab3fcc47f0e1dd42bbf5a99b39112a2f
refs/heads/master
2023-07-31T14:58:22.303817
2020-09-05T04:26:07
2020-09-05T04:26:07
276,136,931
0
0
Apache-2.0
2023-07-14T16:39:16
2020-06-30T15:21:29
HTML
UTF-8
Python
false
false
408
py
#!/usr/bin/python # -*- coding: utf-8 -*- #模拟栈结构 stack =[] #压栈(向栈里存数据) stack.append("A") print(stack) stack.append("b") print(stack) stack.append("c") print(stack) #出栈(在栈里取数据) 后进先出 res1 = stack.pop() print("res1 = ",res1) print(stack) res2 = stack.pop() print("res2 = ",res2) print(stack) res3 = stack.pop() print(...
[ "1366254420@qq.com" ]
1366254420@qq.com
5be919a211ae050b93ec8ce0dfcd2335ca02457a
4616331c3763ec13393f3b79dbddbb568f1c6008
/pattern/web/api.py
1ab50632fd8a5c3acf32a29bdfbf7927ac32ee3e
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
owlguy/pattern
b6df40f2acb0a30e5a3956fc814481532d462ff9
d9ba1a0ed307402f4a09d495f35b5426c124e391
refs/heads/master
2021-01-18T08:56:56.258275
2013-06-20T22:17:17
2013-06-20T22:17:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
#--- API LICENSE CONFIGURATION ----------------------------------------------------------------------- # Default license keys used by pattern.web.SearchEngine to contact different API's. # Google and Yahoo are paid services for which you need a personal license + payment method. # The default Google license is for test...
[ "tom@organisms.be" ]
tom@organisms.be
c3f2f4fa4864008fc97bb05aa002d2582d844489
7037e16b5ee5f2cdff8f759d4ffcbed4cad3d3f5
/more-about-strings/isOnlyLikeMethods.py
e9224f71d2824d1adbbb26e28755451c069032da
[]
no_license
michalkasiarz/automate-the-boring-stuff-with-python
1fe0d3af7c5e57746d2d37aa110a5f1bd45ecf30
8fdd4c6945f116c3889000f2ad7357cacdf6ed16
refs/heads/master
2021-05-17T00:19:31.454433
2020-04-03T12:38:12
2020-04-03T12:38:12
250,532,982
6
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
# Is only-like methods import pyperclip text = """ Then that knight, whom neither captivity nor wounds nor grief nor the terrible Burdabut could bring down, was brought down by happiness. His hands dropped at his side, great drops of sweat came out on his forehead; he fell on his knees, covered his face with his han...
[ "michal.kasiarz@post.com" ]
michal.kasiarz@post.com
aef68596d8afec518ee50b95d443faae27762db6
6ed01f4503fc9de234a561c945adff7cf4b1c81b
/uconn/migration_tools.py
d42f9e5ff91b758c8a1d07ddb196b820ab3cb806
[]
no_license
ostwald/python-lib
b851943c913a68424a05ce3c7b42878ff9519f68
9acd97ffaa2f57b3e9e632e1b75016549beb29e5
refs/heads/master
2021-10-28T06:33:34.156095
2021-10-21T23:54:49
2021-10-21T23:54:49
69,060,616
0
1
null
2018-06-21T16:05:30
2016-09-23T21:04:46
Roff
UTF-8
Python
false
false
4,503
py
""" Collection config and Collection Record Mover We are migrating all DLESE collections ("adn" and "dlese_anno") to NSDL. The metadata and dcs_data records can be moved by hand. This file contains tools to migrate the other collection components: - collection config file - collection record NOTE: this module has n...
[ "ostwald@ucar.edu" ]
ostwald@ucar.edu
af49827c4a4802709049af532cd2171713a24035
2655d38647240d8698e2d8d92d81fdc474e6b8c7
/attention-analysis/naacl2019/poster_conll/samples/devow.py
bbf073bcc01b11c411c8128c35d660ce04695b90
[]
no_license
ufal/lsd
2cc72b2e86c170967f33110030a8dd22e6e25591
1fe8d68c97b7efb6889fb1ca1fceec1c0cb139e8
refs/heads/master
2023-06-19T19:02:22.020684
2020-05-05T12:21:37
2020-05-05T12:21:37
127,886,734
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
#!/usr/bin/env python3 #coding: utf-8 import sys from unidecode import unidecode for line in sys.stdin: line = line.strip() forms = line.split(' ') forms_devow = list() for form in forms: form = unidecode(form) form = form.lower() form = form.replace("a", "") form = for...
[ "rosa@ufal.mff.cuni.cz" ]
rosa@ufal.mff.cuni.cz
139590a0c54be5f68071cae5f2c2a249ccf0060e
3de2a746243ad1cb000994a06a0f9699db9a901f
/jsc2019b.py
89f0910336866197d45cfa3f3d1332e18c433413
[]
no_license
takumi152/atcoder
71d726ffdf2542d8abac0d9817afaff911db7c6c
ebac94f1227974aa2e6bf372e18605518de46441
refs/heads/master
2022-10-30T12:14:41.742596
2022-09-29T19:49:32
2022-09-29T19:49:32
181,502,518
1
0
null
null
null
null
UTF-8
Python
false
false
498
py
mod = 1000000007 def main(): n, k = map(int, input().split()) a = list(map(int, input().split())) ans = 0 for i in range(n): for j in range(n): if a[i] > a[j]: inv = 0 if (i < j): inv = (((k + 1) * k) // 2) % mod ...
[ "takumi152@hotmail.com" ]
takumi152@hotmail.com
8b54d1891f5538b15a69956a3913d3edb85dfca3
741333ced9ea1b326997dc031e5de27529bad04a
/glue_vispy_viewers/extern/vispy/visuals/collections/collection.py
14e2eecf740eb08031f0e177b159799b158e1384
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
jzuhone/glue-vispy-viewers
f1b7f506d3263c4b0c2f4032d4940b931b2c1ada
d940705f4ba95f8d7a9a74d37fb68c71080b490a
refs/heads/master
2020-06-20T19:10:02.866527
2019-06-24T11:40:39
2019-06-24T11:40:39
197,217,964
0
0
BSD-2-Clause
2019-07-16T15:14:53
2019-07-16T15:14:52
null
UTF-8
Python
false
false
8,684
py
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright (c) 2014, Nicolas P. Rougier # Distributed under the (new) BSD License. See LICENSE.txt for more info. # ----------------------------------------------------------------------------- """ A collection is a...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
00191c1a773e4d66c15685de87cbbd915c2b92a5
801510e45d9aebe5c5b8b09a3ce4453a3a11a3ca
/django/django_ORM/single_model_orm/single_model_orm/urls.py
db0d1d94d822231e050fbf74c79095da52263139
[]
no_license
michelleshan/coding_dojo_python_course
5581ebca0a645ba7231a2da2d2d64d6c3735bfc4
e20e8195950004ef0aa09e6b0f84e7f05bd355e8
refs/heads/master
2022-11-21T01:34:54.309175
2020-07-16T03:29:45
2020-07-16T03:29:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
"""single_model_orm URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "michellehan@Michelles-Air.attlocal.net" ]
michellehan@Michelles-Air.attlocal.net
fc392e3854daabe6445ca4420543b0deb2a18396
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/6DppMcokmzJ3TtNNB_18.py
4f78b679d2153a5d1ab0cf45e1470064d88fea3d
[]
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
756
py
""" Create a function which takes every letter in every word, and puts it in alphabetical order. Note how the **original word lengths must stay the same**. ### Examples true_alphabetic("hello world") ➞ "dehll loorw" true_alphabetic("edabit is awesome") ➞ "aabdee ei imosstw" true_alphabetic("h...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a1a946620d9626abff33659e812cd8405867a69b
0fa55a3150ebda33cf252e1915b0d3a1fd9474b2
/setup.py
089382e864463f497a51304a51e2d89a68848fdc
[ "MIT" ]
permissive
michalc/lowhaio-aws-sigv4
8dff5e58faceae4b892e8fa29f1331cd3378bbcf
c802126f2ce13cb88e7f695b86484637840fd464
refs/heads/master
2020-05-24T22:45:13.397252
2019-06-15T18:08:16
2019-06-15T18:08:16
187,502,903
0
0
MIT
2019-05-19T18:17:33
2019-05-19T16:44:34
Python
UTF-8
Python
false
false
828
py
import setuptools def long_description(): with open('README.md', 'r') as file: return file.read() setuptools.setup( name='lowhaio_aws_sigv4', version='0.0.4', author='Michal Charemza', author_email='michal@charemza.name', description='AWS Signature Version 4 signing for lowhaio', ...
[ "michal@charemza.name" ]
michal@charemza.name
9bc366600d2d561b6f0b040a3d7c62a0d11fb15f
e8bf00dba3e81081adb37f53a0192bb0ea2ca309
/domains/explore/problems/training/problem274_EE.py
c63ddf6da5997ae0f79a3d1c91553002a27dcf11
[ "BSD-3-Clause" ]
permissive
patras91/rae_release
1e6585ee34fe7dbb117b084df982ca8a8aed6795
0e5faffb7eb732fdb8e3bbf2c6d2f2cbd520aa30
refs/heads/master
2023-07-13T20:09:41.762982
2021-08-11T17:02:58
2021-08-11T17:02:58
394,797,515
2
1
null
null
null
null
UTF-8
Python
false
false
1,694
py
__author__ = 'patras' from domain_exploreEnv import * from timer import DURATION from state import state, rv DURATION.TIME = { 'survey': 5, 'monitor': 5, 'screen': 5, 'sample': 5, 'process': 5, 'fly': 3, 'deposit': 1, 'transferData': 1, 'take': 2, 'put': 2, 'move': 10, '...
[ "patras@umd.edu" ]
patras@umd.edu
0de58022fd098cfc9447970c42cfb2c2a68d63d3
383a974b225b3d5decf311e6224a14f0e86a14c9
/affiliates/banners/models.py
00f4f8e7026897464b9c19b05c51285e76522a56
[ "MIT", "BSD-3-Clause" ]
permissive
tub216/affiliates
d7b465d1dc9a5d3bcf041cf96741028e9c67625c
ffce6c42a6caf73bbedaca429ec0aa9ad70fc7e5
refs/heads/master
2020-05-29T11:06:33.555351
2014-02-18T21:06:24
2014-03-20T21:47:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,603
py
import hashlib import os from django.core.exceptions import ValidationError from django.db import models from django.template.loader import render_to_string from mptt.models import MPTTModel, TreeForeignKey from affiliates.banners import COLOR_CHOICES from affiliates.links.models import Link from affiliates.shared.m...
[ "mkelly@mozilla.com" ]
mkelly@mozilla.com
940914c8add27ca2a6dc0ce9414a4b1d69b2bdc8
ef10c3da3b15bfdec0d9b88de753ae3540f72120
/utils/inputs/segmentation.py
175d7a02a4b9885e9bb5d403134b39cc2dd884b4
[ "MIT" ]
permissive
Qoboty/asr_preprocessing
3554456364b9ee751298b3378a1a109737c473d4
d9cfda36edd9155ef45c6eb9626c42d1ba105bfd
refs/heads/master
2021-07-06T18:08:59.336598
2017-09-26T08:30:53
2017-09-26T08:30:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,594
py
#! /usr/bin/env python # -*- coding: utf-8 -*- """Segment a htk file into each utterance.""" import numpy as np from struct import unpack from utils.inputs.wav2feature_python_speech_features import wav2feature as w2f_psf from utils.inputs.wav2feature_librosa import wav2feature as w2f_librosa def segment_htk(audio...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
edd7fe691c2cef36ba433f32c16a17394a35791b
254e35ed13abb5670eb664c1b17cb77d6b2d6289
/LeetCode/python/_486.PredicttheWinner.py
1d78412cd25a05e9eb784c866f68ac48259c106b
[]
no_license
bobby20180331/Algorithms
475f7b29efcab829bc97b18a088600d406850fc7
c56967e292b34162438f86bfc4c76925329105dd
refs/heads/master
2023-04-23T04:36:26.977179
2021-02-04T06:47:41
2021-02-04T06:47:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,774
py
#利用dp..只能写到这一步了... #16行有问题,因为这个并不是一直让你选的。A选了后,B选,B同样会最大化收益的去选择 #突然又有想法了,改了下,分别为求min和max,然后交替迭代即可 #但是还是没过[0,0,7,6,5,6,1],不知道怎么错了... class Solution(object): def minA(self,nums1): if len(nums1)==3: n0 = nums1[:] n0.sort() return n0[2]+min(nums1[0],nums1[2]) if len...
[ "noreply@github.com" ]
bobby20180331.noreply@github.com