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
d240592da8fd85494bbcb347fde359e2e2599908
0b5706ff7ffe16f85a7865b579f7cacde240ae73
/travel/tests_models.py
286fc35c6ef521cd908debe52f397209bc92b389
[]
no_license
mikekeda/map
c0528c20d318aeeb56e0a90414e04e775b171d27
b6f23fa00cfd14514fd58e3b281a4d6c22760be6
refs/heads/master
2023-04-13T22:26:52.539232
2023-03-31T17:00:59
2023-03-31T17:00:59
120,111,057
0
0
null
2023-03-31T17:24:33
2018-02-03T17:00:44
JavaScript
UTF-8
Python
false
false
1,113
py
from django.contrib.auth import get_user_model from django.test import TestCase from travel.models import Profile User = get_user_model() class TravelModelsTest(TestCase): def setUp(self): # Create usual user. self.password = User.objects.make_random_password() test_user = User.objects.c...
[ "mriynuk@gmail.com" ]
mriynuk@gmail.com
d4b72a05c133a7c0afa9a15eb6db8ff652ecd068
8773e8c9b9a0a6e407f91b6f7c6321141d7e8356
/P0110.py
a684176fac1ffea810183d7f6040bf42b7ee4762
[]
no_license
westgate458/LeetCode
1836bb21e8dd95386ccab390f5fd04567a429a02
36d7f9e967a62db77622e0888f61999d7f37579a
refs/heads/master
2021-12-28T04:16:36.875737
2021-12-17T05:48:09
2021-12-17T05:48:09
152,928,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,613
py
# -*- coding: utf-8 -*- """ Created on Sat Mar 30 13:56:08 2019 @author: Tianqi Guo """ # Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def isBalanced(self, root): """ :type root:...
[ "tqguo246@gmail.com" ]
tqguo246@gmail.com
ff0bd7651beacdce2dd3d4d14235fa017523dc94
367d2670c75d385d122bca60b9f550ca5b3888c1
/gem5/util/tlm/SConstruct
68026954546b315988232a966c0e5836623fee22
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
Anish-Saxena/aqua_rowhammer_mitigation
4f060037d50fb17707338a6edcaa0ac33c39d559
3fef5b6aa80c006a4bd6ed4bedd726016142a81c
refs/heads/main
2023-04-13T05:35:20.872581
2023-01-05T21:10:39
2023-01-05T21:10:39
519,395,072
4
3
Unlicense
2023-01-05T21:10:40
2022-07-30T02:03:02
C++
UTF-8
Python
false
false
3,756
#!python # Copyright (c) 2016, Dresden University of Technology (TU Dresden) # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyrigh...
[ "asaxena317@krishna-srv4.ece.gatech.edu" ]
asaxena317@krishna-srv4.ece.gatech.edu
1b0c5d7c6f590a2d9217c022f7d5869a63e89a27
01733042e84a768b77f64ec24118d0242b2f13b8
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/pbbtelblearnedinfo_04eda79d986af811f8d758c15dc5e1a1.py
d50e171dbf4817af41b6ecc617054fafec2584ed
[ "MIT" ]
permissive
slieberth/ixnetwork_restpy
e95673905854bc57e56177911cb3853c7e4c5e26
23eeb24b21568a23d3f31bbd72814ff55eb1af44
refs/heads/master
2023-01-04T06:57:17.513612
2020-10-16T22:30:55
2020-10-16T22:30:55
311,959,027
0
0
NOASSERTION
2020-11-11T12:15:34
2020-11-11T12:06:00
null
UTF-8
Python
false
false
6,032
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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, ...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
41bcee1363f47af8ce67d962a3c8dce323b1487e
7d5047dae4df06f10752b7a3ec6e663f296457d3
/Programmers/Level 2/수식 최대화.py
b14ba448309c9478268653f7d450d805a632a068
[]
no_license
soulgchoi/Algorithm
a73e3e8e3a256d4cf1c8b5fa3c7dc35a325a6e9a
a88b2c2a0f0d75ca59269dd815ee8d30dd270ce7
refs/heads/master
2022-02-05T18:08:09.271443
2022-01-20T02:36:37
2022-01-20T02:36:37
228,958,329
3
0
null
null
null
null
UTF-8
Python
false
false
894
py
def cal(op, num1, num2): if op == '+': return num1 + num2 elif op == '-': return num1 - num2 elif op == '*': return num1 * num2 def solution(expression): answer = 0 priors = [('*', '+', '-'), ('+', '-', '*'), ('+', '*', '-'), ('-', '+', '*'), ('-', '*', '-'), ('*', '-', '+')] numbers, operands = [], [] t...
[ "bssj9307@gmail.com" ]
bssj9307@gmail.com
d9a79ea69cfb09da7ebd31ac15410bf4bddfd1ef
b5bc72861644c274b75e42374201ea8cdb84c1a2
/try_examples/string_oper.py
cb82a49c705722608af19d3527a1543d464359a0
[]
no_license
Aadhya-Solution/PythonExample
737c3ddc9ad5e3d0cde24ac9f366ce2de2fa6cfe
34bc04570182130ebc13b6c99997c81834ad5f53
refs/heads/master
2022-12-18T09:54:30.857011
2020-08-24T13:53:59
2020-08-24T13:53:59
288,183,879
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
def word_mixer(org_list): new_list = [] org_list.sort() org_sort_list = org_list print(org_sort_list) while len(org_sort_list) > 5: ele=org_sort_list[-5] org_sort_list.pop(-5) new_list.append(ele) ele = org_sort_list[0] org_sort_list.pop(0) new_list.ap...
[ "shashikant.pattar@gmail.com" ]
shashikant.pattar@gmail.com
a26ce39d30a879502daa41248a4436debfe7a3a0
02800e659f2088550a402d7d7d8e3902560893e3
/smug_saliency/utils.py
07d09d3c9a1d6578ed9c46432d28465ae7b6cb08
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
antonpolishko/google-research
ab8a445d5401185eadfe757e73dc8bcf34da8dea
1b4e7db5f90bcb4f80803383a81d8613ebfdfeec
refs/heads/master
2023-08-31T06:38:33.963505
2023-08-26T16:33:48
2023-08-26T16:37:57
422,090,201
0
0
null
null
null
null
UTF-8
Python
false
false
39,633
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
d380294af1b8fdfd3db527ad96fcd50746e0b66a
35b6013c1943f37d1428afd2663c8aba0a02628d
/composer/workflows/dataflowtemplateoperator_tutorial.py
e0726a492e35fd0a1ffaae61343cea20593221f2
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/python-docs-samples
d2a251805fbeab15d76ed995cf200727f63f887d
44e819e713c3885e38c99c16dc73b7d7478acfe8
refs/heads/main
2023-08-28T12:52:01.712293
2023-08-28T11:18:28
2023-08-28T11:18:28
35,065,876
7,035
7,593
Apache-2.0
2023-09-14T20:20:56
2015-05-04T23:26:13
Jupyter Notebook
UTF-8
Python
false
false
3,508
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
0a0d3bb57df197050a9be4dae8f517da30f110bd
a214e706c875e0af7221c0c9ae193d9d93ee20a7
/addreplacereadgroup.py
ddba271b40248db97efb7cfd604e4fb02a4d0c62
[]
no_license
inambioinfo/bioinformatics_scripts
fa2292e91ad4134204a09ace27c8a91ae70fa34c
3a23611f382b7f3dd60e5e2abe841b84408c0d44
refs/heads/master
2020-03-20T21:17:10.163061
2017-03-28T23:41:39
2017-03-28T23:41:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,336
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from optparse import OptionParser import os from time import time import datetime #Example #python /lgc/scripts/unifiergenotyper.py -i ../../data/Exome_11_AP.realigned-recalibrated.bam -t /lgc/datasets/exome_targets/Agilent_50MB/BED/029720_D_BED_20111101.bed __author__ ...
[ "raonyguimaraes@gmail.com" ]
raonyguimaraes@gmail.com
31db3d967250bbb3400d5bf596c9d59670a4ffbe
ac549e553263801bdc6962a10ebbe784dc2631df
/Python/linkedlist/is_palindrome.py
da401db347ca27e46dff6d3fe7a0d9188f75bb21
[]
no_license
Bishal44/DataStructure
e595890d18bde39e65f02a7ca3a6904c6070c3c8
939c47de6dcfe3b2578aaa0610d3cdc5726572c7
refs/heads/master
2020-09-10T22:40:46.368607
2020-03-28T12:15:08
2020-03-28T12:15:08
221,854,694
0
0
null
2019-12-10T15:47:45
2019-11-15T05:59:40
Python
UTF-8
Python
false
false
2,564
py
""" Datastructure_and_algorithm Created by Bishal on 18 Nov 2019 """ def is_palindrome(head): if not head: return True # split the list to two parts fast, slow = head.next, head while fast and fast.next: fast = fast.next.next slow = slow.next second = slow.next slow.next ...
[ "bhattaraibishal704@gmail.com" ]
bhattaraibishal704@gmail.com
dfc68b2ed748c2f98af58718013b4466b79e6783
584db1be8b6bdedaa56d186692ad72da5ee07164
/patron/api/openstack/compute/schemas/v3/security_groups.py
86bdbf1209fb6cc9dd2c0c7695a343cdad332c00
[ "Apache-2.0" ]
permissive
casbin/openstack-patron
66006f57725cf1c3d735cd5529d3459fd77384c8
b41b1262f3a52c8cc9f6b6bdf87be5a1abcf6d25
refs/heads/master
2023-05-31T05:23:37.721768
2015-12-31T12:18:17
2015-12-31T12:18:17
382,054,546
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
# Copyright 2014 NEC Corporation. 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 ...
[ "hsluoyz@qq.com" ]
hsluoyz@qq.com
9275e118f536ab2f2830e7a3593aea6e9de6d4b6
28ed6f9c587b8efd27182116ee39984e3856ea6a
/pythonBasic/6 abstract/6-4 aguments/store.py
b6f49a483dcd02b4086fe1010cbe27b4accb090f
[]
no_license
Fangziqiang/PythonInterfaceTest
758c62a0599a9d98179b6e3b402016e0972f2415
def37ed36258dfa9790032b0165e35c6278057f0
refs/heads/master
2020-04-30T07:55:32.725421
2019-09-19T08:33:42
2019-09-19T08:33:42
176,699,735
1
0
null
null
null
null
UTF-8
Python
false
false
124
py
# -*- coding:utf-8 -*- def store(data,full_name) names = full_name.split() if len(names) == 2:names.insert(1, '')
[ "286330540@qq.com" ]
286330540@qq.com
0c7736d49e34a6b04dacae341edb472d070adffd
d039da1c0b99e2642d3c354de9faa6f427141ee3
/problems/leetcode/SubsetsII.py
91f39e6518d7f59bc0463846ca43e80109d44155
[ "MIT" ]
permissive
qicst23/pyshua
5a3e317823d0620d2034adfe345eddd6a722c7ff
4ae7bb8b626f233ebc2267024ba67dcfe49051ed
refs/heads/master
2016-09-15T20:26:16.694738
2013-12-15T04:50:04
2013-12-15T04:50:04
15,198,867
2
1
null
null
null
null
UTF-8
Python
false
false
1,450
py
from problems.leetcode.LeetcodeProblem import LeetcodeProblem class SubsetsII(LeetcodeProblem): def solve(self, num): if not num: return [] num.sort() cur = num[0] count = 0 parts = [] partsCount = [] for x in num: if x == cur: ...
[ "baidingding7@gmail.com" ]
baidingding7@gmail.com
3607d264184912db586dd5198ef1ec81899e65d2
5f579bd5e46f75aa3f6eedc59edbcf2f7867bba1
/examples/distribution/PyInstaller/hello_world.py
efcb943433d1b28a596dca464bfcca0a930b6aa0
[ "BSD-2-Clause-Views", "Python-2.0", "BSD-2-Clause" ]
permissive
gomurky/python-tcod
6d83f00ca79d26787fd5015b467b1c9825efe80e
acc83fdc509c290af9a841bca868851fc7330137
refs/heads/master
2022-12-25T00:57:18.311921
2020-07-30T09:44:25
2020-07-30T09:44:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
#!/usr/bin/env python3 # To the extent possible under law, the libtcod maintainers have waived all # copyright and related or neighboring rights for the "hello world" PyInstaller # example script. This work is published from: United States. # https://creativecommons.org/publicdomain/zero/1.0/ import sys import os.path...
[ "4b796c65@gmail.com" ]
4b796c65@gmail.com
be079ad8894c59defa8ffbeb6c04e4891639d5cc
974c5a4f101d0e6f4dfa5fc2f7c641c9d2bd8184
/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/aio/operations/_virtual_machine_scale_set_vms_operations.py
6135e1e217c7fca57f82856fdb91ae76fb5557b1
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
gaoyp830/azure-sdk-for-python
4816f04c554dcffb7510a6b7044b0c86a2dd32e1
1c66defa502b754abcc9e5afa444ca03c609342f
refs/heads/master
2022-10-20T21:33:44.281041
2022-09-29T17:03:13
2022-09-29T17:03:13
250,355,505
0
0
MIT
2020-03-26T19:42:13
2020-03-26T19:42:12
null
UTF-8
Python
false
false
87,970
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
gaoyp830.noreply@github.com
88c0850ac997a710be734bdddd3313e2fad7b8ce
fbdff0b6c905f4a838946df6f6082090ee2e9c8b
/harnessed_jobs/flat_gain_stability_BOT/v0/flat_gain_stability_jh_task.py
80b43f9f0c9439e277c690625ab2ba42ab58781c
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lsst-camera-dh/EO-analysis-jobs
d6767dfe48e01b7e3817bf736e12495e6ce200ac
e23cb86a29ab0c860dc825d0ac121809a6e9bbcb
refs/heads/master
2023-01-14T14:31:52.577334
2022-06-14T17:48:11
2022-06-14T17:48:11
78,456,751
4
2
NOASSERTION
2023-01-06T00:24:43
2017-01-09T18:31:25
Python
UTF-8
Python
false
false
1,305
py
#!/usr/bin/env ipython """ Script for BOT flat gain stability analysis. """ def flat_gain_stability_jh_task(det_name): """JH version of single sensor execution of the flat pairs task.""" import glob import siteUtils from bot_eo_analyses import make_file_prefix, glob_pattern,\ bias_filename, flat...
[ "jchiang@slac.stanford.edu" ]
jchiang@slac.stanford.edu
2aa19b5245e925b2d6e067b5ed0f462ee8d9a5a7
786de89be635eb21295070a6a3452f3a7fe6712c
/pyfits/tags/V00-00-05/SConscript
87ea30c3ed94cda3091c9bd24db354f14359a2a2
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
701
#------------------------------------------------------------------------ # File and Version Information: # $Id$ # # Description: # SConscript file for package pyfits #------------------------------------------------------------------------ # Do not delete following line, it must be present in # SConscript file for...
[ "salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
a7485e2975ec05beab0d144950c1658aa6b0b387
0fd7a471a63e2bed2857976d8bf2c28bb7f6d1bb
/小练习/第n个神奇数字.py
ded2c8ef834dee1a51b5262cb6a459ed4cb645fd
[]
no_license
zjf201811/LeetCode__exercises
0432f97d314303a5b2305d745cae9d998b92a851
6e5975172dfd17d71b0c6bacc34d51e9e96b6a36
refs/heads/master
2020-04-18T01:47:52.285975
2019-01-27T00:28:58
2019-01-27T00:28:58
167,134,587
1
0
null
null
null
null
UTF-8
Python
false
false
835
py
# Author:ZJF class Solution: def nthMagicalNumber(self, N, A, B): def lcm(x, y): greater = max([x, y]) while True: if ((greater % x == 0) and (greater % y == 0)): lcm = greater break greater += 1 ret...
[ "thor201105@163.com" ]
thor201105@163.com
0bbc78d0c788f7d465b65ba4f9fb3fd027009470
b090cb9bc30ac595675d8aa253fde95aef2ce5ea
/trunk/src/py3/extrusion/project2d.py
402038876ac37e0966488873a8671ed6a96b1b55
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
eyhl/issm
5ae1500715c258d7988e2ef344c5c1fd15be55f7
1013e74c28ed663ebb8c9d398d9be0964d002667
refs/heads/master
2022-01-05T14:31:23.235538
2019-01-15T13:13:08
2019-01-15T13:13:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
py
import numpy as np def project2d(md3d,value,layer): ''' returns the value of a field for a given layer of the mesh returns the value of a vector for a given layer from extruded mesh onto the 2d mesh used to do the extrusion. This function is used to compare values between different layers of a 3d mesh. ...
[ "cummings.evan@gmail.com" ]
cummings.evan@gmail.com
402ed0b4e11e434bc0b77ad0cfe6da2098728cc4
848ac37e474ec4e4e937e4c0f962f09be195a15c
/book/migrations/0024_auto_20230801_2234.py
b3c8a6cecb8c919ff10380e350b957f4dc1a108c
[]
no_license
philippedemaria/sacado
12829e924480d7902c8e382925d7622a13520dbf
c001f4e5391cddc290e461e870f0165fed4677d1
refs/heads/master
2023-09-04T05:18:44.439431
2023-09-03T20:58:09
2023-09-03T20:58:09
190,163,605
1
0
null
null
null
null
UTF-8
Python
false
false
333
py
# Generated by Django 3.0.5 on 2023-08-01 21:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('book', '0023_auto_20230801_2012'), ] operations = [ migrations.AlterUniqueTogether( name='page', unique_together=set(), ...
[ "philippe.demaria83@gmail.com" ]
philippe.demaria83@gmail.com
b81a139a14f0a5e9e6975e9b37181cb832e90d14
3a642fa1fc158d3289358b53770cdb39e5893711
/src/xlsxwriter/test/worksheet/test_cond_format13.py
e7786f0a10b039e958d6d738e54ad4c7be9f0984
[]
no_license
andbar-ru/traceyourself.appspot.com
d461277a3e6f8c27a651a1435f3206d7b9307d9f
5f0af16ba2727faceb6b7e1b98073cd7d3c60d4c
refs/heads/master
2020-07-23T14:58:21.511328
2016-12-26T22:03:01
2016-12-26T22:03:01
73,806,841
1
1
null
null
null
null
UTF-8
Python
false
false
4,585
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ..helperfunctions import _xml_to_list from ...worksheet import Worksheet class TestAssemble...
[ "andrey@voktd-andbar.int.kronshtadt.ru" ]
andrey@voktd-andbar.int.kronshtadt.ru
0e5b9bfb5e3402ef146458ad7fdca0c3c48efeba
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/idlelib/idle_test/test_macosx.py
1074006784402dcb5e00b6a8141ab2efbb8448e3
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/python-3.7.7-oihhthdoxtgh4krvzpputn5ozwcnq2by/lib/python3.7/idlelib/idle_test/test_macosx.py
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
440b6a3eebe37ae649ea6ee649bdd1ee4bd213c6
fd67592b2338105e0cd0b3503552d188b814ad95
/egoi_api/paths/catalogs_catalog_id_products_product_identifier/get.py
190319a300a6ea791a8713f5d55fb925a9e222f4
[]
no_license
E-goi/sdk-python
175575fcd50bd5ad426b33c78bdeb08d979485b7
5cba50a46e1d288b5038d18be12af119211e5b9f
refs/heads/master
2023-04-29T20:36:02.314712
2023-04-18T07:42:46
2023-04-18T07:42:46
232,095,340
5
2
null
null
null
null
UTF-8
Python
false
false
14,140
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from egoi_api import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noqa: F4...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
86cc58a332020269c8d49a51be96d6c69ecc7e88
1ad12a71c3d5d2b3810ce03e8bd138c4ffb66eb8
/xlsxwriter/test/comparison/test_chart_format21.py
49e9175fc1124edf1d9f6759f25bb09a4f9087de
[ "BSD-2-Clause-Views" ]
permissive
idreamsfy/XlsxWriter
b52929229b16e2ee1eaca0cda9980a5a0aad5769
129044ed821de67895b4562c6b71f90eba5be6b4
refs/heads/master
2021-01-02T20:39:20.415882
2020-02-07T21:07:55
2020-02-07T21:07:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2020, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
550573f98a6db37fdae73cb6a4aee79302bfd36b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_169/ch50_2020_04_12_21_42_25_757763.py
667f1a4aefb9aa20fca4977a546b5fad32c5da46
[]
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
183
py
def junta_nome_sobrenome(lista1,lista2): lista3=[] for i in range(len(lista1)): lista3.append(lista1[i]+' '+lista2[i]) return lista3
[ "you@example.com" ]
you@example.com
884ac4c926d2b4acb873e744341a57507c7927cd
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2367/60721/278906.py
f98e2401d5a1c396437f661a9c6e5eac2878bfdd
[]
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
300
py
k=int(input()) m=k%10 if(m==2 or m==4 or m==5 or m==6 or m==8 ): print(-1) else: if(1%k==0): print(1) elif(11%k==0): print(2) elif(111%k==0): print(3) elif(1111%k==0): print(4) elif(11111%k==0): print(5) else: print(-1)
[ "1069583789@qq.com" ]
1069583789@qq.com
c795d52a82e6b1b6464831155ecfc27612b1d526
cc8e736757a0a561e86388073263538caae5488e
/myvenv/bin/chardetect
3234a6f354f7d5c57f6f40788b79dbd62a23b954
[]
no_license
Jafoor/News-Website
5b2e565047130dfc8d69b22fc0eba391887aa502
3fb849a70f6937a4d236da95448a75f5df2c3eb6
refs/heads/master
2021-05-19T00:07:49.235143
2020-04-09T11:22:55
2020-04-09T11:22:55
251,485,832
0
0
null
null
null
null
UTF-8
Python
false
false
250
#!/Users/jafor/Desktop/myweb/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "abujafor.cse11@gmai.com" ]
abujafor.cse11@gmai.com
e25b6b9f3a0ef9926031804a26786aab2d7d615e
e96f5dc3ebb97bb45f8ff130cf82ae7099fa50f8
/rft.py
117d6ae33f4be42b6c32b7d9572fa5ebf0d01f6a
[]
no_license
GoIncremental/trello2jira
cc423421e6500ab45daf48b77e59d4d3639676da
22d0b5778b0df9c4829d882f6ee6bd531b3fd5e4
refs/heads/master
2021-01-18T19:45:44.881063
2015-03-10T12:04:10
2015-03-10T12:04:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
rft = [ 1141, 210, 1087, 336, 266, 307, 1285, 664, 1280, 1264, 270, 1257, 334, 1148, 281, 324, 303 ] T = "project=CFTO and id=" p = '' for x in rft: p = p.join('{},'.format(x)) print p
[ "bwghughes@gmail.com" ]
bwghughes@gmail.com
9d74a677865caf4d081a8c5da60f39ab0938e274
c2a52ed0e20126ab9945623fb78e61abfde0a75e
/081-SearchInRotatedII/search_in_rotated_arr.py
fb3b9b4c10dd3099a6cf7dfd3124522bd31cfeaa
[]
no_license
fs302/LeetCode
5ce4689d74dc79655bf5dfba08b155d6559a1e6a
31cf9958ead6ad975043e23223b8d2efe6cd0742
refs/heads/master
2023-01-10T04:59:32.126007
2022-12-28T13:39:41
2022-12-28T13:39:41
52,079,796
0
1
null
null
null
null
UTF-8
Python
false
false
1,172
py
import time class Solution(object): def search(self, nums, target): """ :type nums: List[int] :type target: int :rtype: bool """ l, r = 0, len(nums)-1 while (l <= r): m = l + (r-l)//2 if nums[m] == target: return True ...
[ "fanshen.fs@alibaba-inc.com" ]
fanshen.fs@alibaba-inc.com
d2ba969335d7e57e904d3b7ca530489e13544553
58db5838417f7f7d8538e71a2747e12a97bc9362
/glue_vispy_viewers/common/selection_tools.py
40071d8f047acd7ef249053b45a3d75a0b231aa6
[ "BSD-2-Clause" ]
permissive
Jonny-Smith-GitHub/glue-vispy-viewers
f8b790004d245ab3894c15a768a700d73ff54bb9
eff0e9cf7a71577a0925cce3aaf5d49cc0917260
refs/heads/master
2021-07-16T23:33:12.605682
2017-10-25T15:34:46
2017-10-25T15:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,493
py
from __future__ import absolute_import, division, print_function """ This is for 3D selection in Glue 3d scatter plot viewer. """ import numpy as np from glue.core import Data from glue.config import viewer_tool from glue.core.roi import RectangularROI, CircularROI from glue.viewers.common.qt.tool import CheckableTo...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
c0147a24fbe77a84bf81f829f77fa47becf923aa
15497241d08df1ca6f2123838bcc5e3cfc9fc7aa
/umuco/migrations/0007_cathegory_reportservices.py
09882f09ca376453c36e33eab5f658659cb4b803
[]
no_license
unicefburundi/umuco
93b7e6a3d7f514a71b57776c719b6f733bf29fd0
31dee45bf87eaf64515a01f7dd24fa0c72806783
refs/heads/master
2020-04-12T07:25:31.345805
2018-07-25T02:27:31
2018-07-25T02:27:31
33,418,794
0
0
null
2017-03-02T03:13:20
2015-04-04T20:14:18
JavaScript
UTF-8
Python
false
false
1,150
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('umuco', '0006_auto_20160707_1038'), ] operations = [ migrations.CreateModel( name='...
[ "kuristockyrugano@gmail.com" ]
kuristockyrugano@gmail.com
e37391e6c8de8ea366343d1ac520c4be1221c88c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2306/60641/302087.py
1d98bf13cd60c0f1f1bbb81ef6d258eaf5e9e7a0
[]
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
1,763
py
class BinaryTree: left_node = None right_node = None value = -1 def __init__(self, num, nums): self.value = num index = -1 for i in range(0, len(nums)): if nums[i][0] == num: index = i break if nums[index][1] != 0: ...
[ "1069583789@qq.com" ]
1069583789@qq.com
da6f5652128ec8e0cd59feb842703a516cc30c1f
433dba5f732cf98384329243a41b70bf4c9fe523
/endpoints_management/control/timestamp.py
eebd5acbbc1bc78b720fa46ad566df5dccec22cc
[ "Apache-2.0" ]
permissive
0tsuki/endpoints-management-python
47fc4ac9f8defff1c98c9aca42ca3aea0af7e38c
12a27af689aa7715001563834994e7e5161acac9
refs/heads/master
2023-04-09T07:24:29.379950
2017-05-18T21:17:24
2017-05-18T21:17:24
93,598,857
0
0
Apache-2.0
2023-04-04T00:18:13
2017-06-07T06:09:19
Python
UTF-8
Python
false
false
4,318
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "jon@inklesspen.com" ]
jon@inklesspen.com
e93fb42ff17766b79254d659ebe87886aa5d8513
fa0f12a6d63be22b588133bfb9c130f1eeecab3d
/myvenv/lib/python3.7/site-packages/pip/_vendor/urllib3/util/response.py
5e5d2f5f172b0910ea46db7109f4be23d5c87d5d
[]
no_license
8th-caulion/high-hat
6b2c455be14b5e617bf993cfb67c68975df3aa65
fc1f9793747892b7b58f066c45ab95d3f0269db9
refs/heads/master
2023-08-02T12:07:36.540488
2020-06-03T17:36:32
2020-06-03T17:36:32
267,542,957
0
6
null
2021-09-22T19:09:26
2020-05-28T09:04:29
Python
UTF-8
Python
false
false
2,951
py
from __future__ import absolute_import from ..packages.six.moves import http_client as httplib from ..exceptions import HeaderParsingError def is_fp_closed(obj): """ Checks whether a given file-like object is closed. :param obj: The file-like object to check. """ try: # Check `i...
[ "rldnjs9347@gmail.com" ]
rldnjs9347@gmail.com
b15c228749a88c0e226569cc09e37c03faa186d9
246b553b7c5464cf5aac875ce66dccb5ee7f31c1
/grow/extensions/base_extension_test.py
8f56b68e53c2b179bde7df866aea1e199eef6aaf
[ "MIT" ]
permissive
david-j-davis/grow
d680110e0cc55d8f5dfd1b1300850762a0714f41
b8333d507778fb13746b5308c1380b14df393df0
refs/heads/master
2021-04-03T10:28:22.430900
2018-02-27T23:53:30
2018-02-27T23:53:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
"""Tests for base extension.""" import unittest from grow.extensions import base_extension class BaseExtensionTestCase(unittest.TestCase): """Test the base extension.""" def test_config_disabled(self): """Uses the disabled config.""" ext = base_extension.BaseExtension(None, { 'di...
[ "randy@blinkk.com" ]
randy@blinkk.com
7a5f4304475c6d4f32d0dd5b3929d14999d05ab4
9e482a31dd8c1661ad1953d7fbd24a532306f58c
/Plays/Play05/longest_word.py
100d0dcf8ad0042b748d3bfb2ad7e0edc23b5dba
[]
no_license
margaridav27/feup-fpro
49a66f6643c83adb948ff110f522948f43508519
e805e08d0fdd273db272300e3e9676c585030f23
refs/heads/master
2023-01-23T01:16:11.534704
2020-11-25T10:48:00
2020-11-25T10:48:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 1 15:59:20 2019 @author: Margarida Viera """ def longest(s): s = s.split(' ') longest = 0 for word in s: if len(word) > longest: longest = len(word) return longest print(longest('A list with some words')) print(longest('Unnecessarily...
[ "up201907907@fe.up.pt" ]
up201907907@fe.up.pt
adb5c6d95cca2d987ee95ca8e36257ec298c75da
0ecb1763b4cab08a1fb80234639e46afc8921e2f
/databases/tableview_tablemodel_titles.py
7e6c7ae715ad258ddfdc89ffbd740958e2e1c960
[]
no_license
mach8686devops/pyside6-demo
4eed3713288ec21b0ec4b8561290f87925693b89
848302ff9c1536034cf5f225fa953944d011c2a4
refs/heads/main
2023-05-05T11:12:20.711846
2021-05-28T13:44:41
2021-05-28T13:44:41
371,714,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
import sys from PySide6.QtCore import QSize, Qt from PySide6.QtSql import QSqlDatabase, QSqlTableModel from PySide6.QtWidgets import QApplication, QMainWindow, QTableView db = QSqlDatabase("QSQLITE") db.setDatabaseName("chinook.sqlite") db.open() class MainWindow(QMainWindow): def __init__(self): ...
[ "zhangjohn202@gmail.com" ]
zhangjohn202@gmail.com
3ee2d8d73a7fa0d69065739efcb4fc01aa8f9970
b7125b27e564d2cc80a2ce8d0a6f934aa22c8445
/.history/display_board_20201108144145.py
6b20913724911e5056a39b70ba4690e7e55f922d
[]
no_license
JensVL96/Puzzle-solver-for-fun
4c15dcd570c3705b7ac555efb56b52913e81083c
6d8a4378a480372213a596a336a4deca727a00fc
refs/heads/master
2021-07-15T05:19:42.185495
2020-11-08T13:59:49
2020-11-08T13:59:49
224,855,888
1
0
null
null
null
null
UTF-8
Python
false
false
10,469
py
from config import * import pygame as pg class Display_board(): def __init__(self, screen): self.screen = screen self.font_num = pg.font.SysFont("comicsans", NUMBER_SIZE) self.font_cdt = pg.font.SysFont("comicsans", CANDIDATE_SIZE) def draw_val(self, val, x, y): text1 = self....
[ "jle040@uit.no" ]
jle040@uit.no
e6c3be2d3d155aa6f7f5782828c25adfb78f4a0a
6f73e037e86c05756f4b4712f16881bc27e795f6
/mcts/demo.py
d7f329e25f346862cb642c91ac4ed53a258a0397
[]
no_license
LaiTJ/reinforcement-learning
7de072de6178c4db09f09b39f302ccf5ed678111
9dee5ec28dc93417daa460c7d182040ddc7d4c6e
refs/heads/master
2022-02-20T12:46:21.643455
2019-09-29T04:33:59
2019-09-29T04:33:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,254
py
# -*- coding: utf-8 -*- from reversi import * from search.search1 import UCT_MCTS as UCT_MCTS1 from search.search2 import UCT_MCTS as UCT_MCTS2 def demo(ai): Reversi = reversi() op_chosen_node = None op_chosen_node2 = None ai_pos = None ai_pos2 = None while Reversi.feasible_move_show(): ...
[ "xg.gao@tianrang-inc.com" ]
xg.gao@tianrang-inc.com
a5b0b96af35b8b7dcb730c2863ef0c15285634ac
191a7f83d964f74a2b3c7faeb4fc47d9c63d521f
/.history/main_20210529140716.py
d5b0a9af21291848e878d878240904185ecdbc33
[]
no_license
AndreLiu1225/Kinder-Values-Survey
2a317feee8d5b17c27da2b2116742656e35d8ab9
090c27da0c822abb7dfc0ec6e13ae1b3dcb7bbf3
refs/heads/master
2023-05-03T00:26:00.481423
2021-06-04T03:24:19
2021-06-04T03:24:19
371,989,154
0
0
null
null
null
null
UTF-8
Python
false
false
8,665
py
from flask import Flask, render_template, redirect, url_for, flash, request from flask_sqlalchemy import SQLAlchemy from flask_wtf import FlaskForm from wtforms import StringField, TextField, SubmitField, IntegerField, SelectField, RadioField from wtforms.validators import DataRequired, Email, EqualTo, Length, Validati...
[ "andreliu2004@gmail.com" ]
andreliu2004@gmail.com
d0a7bb6a44c2799acb14f95378a7c41213a69c57
9ec1242ae20b6f407f25a266456d83fb8a3d5f73
/src/tools/genesis/bitcoin_genesis.py
782f38dd145796e06a5b0133124ff7aea3ee04a9
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
Nell-MDCoin/Nell-MDCoin
5b6d6af7e141844ba22970adacd4877d024e872b
9a1be366aba13539132dc7d0a9f0fdeaa2e19044
refs/heads/master
2020-03-21T23:17:23.329553
2018-06-29T17:32:53
2018-06-29T17:32:53
139,177,535
3
1
null
null
null
null
UTF-8
Python
false
false
4,836
py
#!/usr/bin/env python import binascii from bitcoin.core import COutPoint, CTxIn, CTxOut, CTransaction, CBlock coinbase = "04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73" scriptPubKeyHex = "4104678afdb0fe55482...
[ "justdvnsh2208@gmail.com" ]
justdvnsh2208@gmail.com
60797d4cdd92850250e0607c0b04b5e0b9863e8a
bda804b2922af42b25fd066ba5fb172b7acf8477
/countcubesinamengersponge.py
57fb0969798706114550cc2423366f5388b06ce6
[]
no_license
kammitama5/Distracting_KATAS
c8fb813afee3a8527320c794dff5274c61551bbc
d10984bef26fada09a6ba0a8493ef640f22b2acc
refs/heads/master
2020-06-27T19:09:55.518148
2018-05-02T04:14:44
2018-05-02T04:14:44
74,521,719
0
1
null
2017-08-10T04:15:40
2016-11-22T23:17:00
Python
UTF-8
Python
false
false
72
py
def calc_ms(n): a = n * '0' return int(str(pow(2, n)) + a)
[ "noreply@github.com" ]
kammitama5.noreply@github.com
487cc04ceab6f0ae7ea26285afb9b0a29b29c47a
312d8dbbf980bf164f210e7935b17dc08d64ff87
/Model/repeat1_link_prediction_appeared_utilize_all/COSSIMMLP/main.py
7878498db2377ed72b46039a0844f81a66be2aed
[]
no_license
hsack6/OWGP_NBA
27dafbd6e59c17ce4a66e92132ee56782e2126bf
56656efb5884cd9f806e476a92c5e6485c71adeb
refs/heads/master
2023-02-25T09:52:05.165494
2021-02-03T12:44:04
2021-02-03T12:44:04
288,363,250
0
0
null
null
null
null
UTF-8
Python
false
false
6,014
py
import argparse import random import pandas as pd import torch import torch.nn as nn import torch.optim as optim from model import COSSIMMLP from utils.train import train from utils.valid import valid from utils.test import test from utils.inference import inference from utils.data.dataset import BADataset from utils...
[ "yamasaki.shohei@ist.osaka-u.ac.jp" ]
yamasaki.shohei@ist.osaka-u.ac.jp
0b07a8b4a2ad30dc44c4a93b51e7055ff4430bf8
d9eafd325ab775b7b32af2dd0b63afc7310be53d
/pfwra/events/models.py
33a70e469cde7be9acf1b4ee9124b8d561a40445
[ "MIT" ]
permissive
johnkellehernz/pfwra
54b0db7debaed629d6003e0826a15bde2fd4a197
5b8c718bb2f1aaa34e9a718e07baf270294f7ba6
refs/heads/main
2023-05-01T14:39:42.419993
2021-05-13T11:00:07
2021-05-13T11:00:07
353,514,688
0
0
MIT
2021-03-31T23:15:32
2021-03-31T23:15:31
null
UTF-8
Python
false
false
10,191
py
from __future__ import unicode_literals from django.contrib import messages from django.db import models from django.shortcuts import redirect, render from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from modelcluster.contrib.taggit import ClusterTaggableManager from modelcluster.fields import...
[ "jordi.joan@gmail.com" ]
jordi.joan@gmail.com
b9a3f0f147f3828a6364c96c68b88cb99cc7d2ad
31b0fff1246eec499393449bb2c55319c0b5c734
/data_preparation/bigram_extraction.py
0bd8fa2a324775ff72e09cf7b8870cabdbff9951
[]
no_license
enewe101/hilbert-experiments
c194ff7c6d4110e7db3583641f45ecaa3bd89ff1
80cbe4d62b6a813202a9ba1bdde641856c98760b
refs/heads/master
2020-03-27T05:41:59.646064
2019-06-29T13:06:38
2019-06-29T13:06:38
146,040,721
1
0
null
null
null
null
UTF-8
Python
false
false
11,153
py
import os import sys import random import codecs import argparse import itertools from collections import Counter import time import numpy as np import hilbert as h import shared import data_preparation as dp from multiprocessing import Pool def read_stats(name): path = dp.path_iteration.get_cooccurrence_path(n...
[ "edward.newell@gmail.com" ]
edward.newell@gmail.com
009d5b5f0ce64851359d05faa60f179ceafb24de
2cbf3aaad62f4922d827af658fb5dbb7ac651bef
/teledusite/teledu/models/lib/conceptInstanceResolver.py
d2258425f9aa2889bf02f51c7a31ee5eb0b467a1
[]
no_license
tctimmeh/teledu
0266240aa864cd2eed75857e66eaeb8270f44c1a
04135ffb04f397f29152ca48f868a957b18d504a
refs/heads/master
2021-01-23T08:52:32.817693
2013-10-29T01:34:41
2013-10-29T01:34:41
2,566,893
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
from teledu.models.lib import AttributeResolver from teledu.models import ConceptInstance class ConceptInstanceResolver(object): def __init__(self, concept): self.concept = concept def __unicode__(self): return unicode(self.concept.id) def __getattribute__(self, item): if item in ['concept', '_getC...
[ "tctimmeh@gmail.com" ]
tctimmeh@gmail.com
99982a2be0365b2974a51af489710b02690a758a
b9a2a35d93625fefbda7d693c3797660d7f93983
/api/task/internal.py
a64f683266ebe26b4ce929467c100722f4357913
[ "Apache-2.0" ]
permissive
iselu/esdc-ce
18236c3f8afdac82987af9ff4d23f578d6b1f5c7
230d79401a60860455cb991526131eec1d5e8afd
refs/heads/master
2021-01-25T01:16:08.423086
2017-06-03T15:46:24
2017-06-03T15:46:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
from types import NoneType from celery.utils.log import get_task_logger from django.utils.six import iteritems, string_types, integer_types, binary_type from que.internal import InternalTask as _InternalTask from vms.models import Dc, DefaultDc logger = get_task_logger(__name__) PRIMITIVES = (float, bool, NoneType,...
[ "daniel@kontsek.sk" ]
daniel@kontsek.sk
81393ad189aaa28e7fa07290cf69b14861e1e48e
b8bbdfc593b6d816e67a344f720f90ec05236778
/airflow/serialization/serializers/kubernetes.py
f095400ee926a1f21080d69c7f60b59eee758b1a
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
apache/airflow
ed78db0a8bab7e096990e143926e52f518e288ab
1b122c15030e99cef9d4ff26d3781a7a9d6949bc
refs/heads/main
2023-09-01T08:37:34.556097
2023-09-01T06:49:05
2023-09-01T06:49:05
33,884,891
22,756
11,558
Apache-2.0
2023-09-14T20:12:36
2015-04-13T18:04:58
Python
UTF-8
Python
false
false
2,398
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
apache.noreply@github.com
d94172c8fe6f9ee6577c61a4423ecb1da9e22002
6710da7294b9a7bb549cd33cbcdb261d93427c03
/examples/make_requests.py
9034a67d0d88f642ab823f01d5d7a2d75792f8b0
[ "Apache-2.0" ]
permissive
jadbin/xpaw
19d23c23db0821795adb7ff42123d81def00f150
a991e23a5d35d61036bffbae57556e6b059567ec
refs/heads/master
2021-01-09T05:55:43.979303
2019-08-10T09:06:41
2019-08-10T09:06:41
89,893,465
5
2
null
null
null
null
UTF-8
Python
false
false
234
py
# coding=utf-8 from xpaw import make_requests, HttpRequest if __name__ == '__main__': requests = ['http://unknown', 'http://python.org', HttpRequest('http://python.org')] results = make_requests(requests) print(results)
[ "jadbin.com@hotmail.com" ]
jadbin.com@hotmail.com
7a3201e0e9b3530374bcb06cd6e206328636b461
ed5629376d293b7dbda9f53ef1b57e38cd52d655
/arr.py
e58a6d93a725a440fe97dcecd079c64d38ae9f7c
[]
no_license
sabariks/pythonpgm
eb46172b8ffd17b945f6ccd8241015c9874e37e7
1bb9264b6f219b69b9a782591d526fc7adb891cd
refs/heads/master
2021-01-08T23:22:15.891688
2020-02-27T17:37:34
2020-02-27T17:37:34
242,174,217
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
import math n=int(input()) if n <=20: print(math.factorial(n))
[ "noreply@github.com" ]
sabariks.noreply@github.com
85996ad0fa15146f2028ebd10fb5560774c7ef48
e7a9fab2cc196df32ebb35fbc277b1c02b9fb0af
/book_sharing/urls.py
552188b1fd0351e8c49ff04906d571f01cb3eaf8
[]
no_license
Kaushiksekar/book_sharing_app
e10e7d3a93605a144689308fc1625a654f2b6efb
0b0492f5d216f9a3ee2b0795cd4f6e9db11ddb84
refs/heads/master
2020-03-23T16:45:18.580090
2018-07-21T16:06:07
2018-07-21T16:06:07
141,826,255
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
"""book_sharing URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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') Class-...
[ "kaushik3993@gmail.com" ]
kaushik3993@gmail.com
66ce8461fb146e59a729ab3bcbd8cd736786206c
d91a61442d0ba0547301f54e7f63039ab5346198
/monitoria/maior_usando_for.py
42c7e81191d0d04a45f96d7cc41e1d7f7eb1bc5f
[]
no_license
pedroceciliocn/programa-o-1
a41bf89475939ad1791320c8fa4845744921ec19
15f8a3dbc13f4cbbc15f2b626ccef47fe145cc3f
refs/heads/main
2023-07-12T20:06:20.632304
2021-08-17T22:05:57
2021-08-17T22:05:57
377,301,280
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
# faça um programa que leia x numeros e informe o maior deles n = int(input("Dê a quantidade de numeros: ")) maior = 0 for x in range(n): numero = int(input(f"Dê o {x+1}º numero: ")) if numero > maior: maior = numero print(f"O maior número foi {maior}")
[ "pedroceciliocn@gmail.com" ]
pedroceciliocn@gmail.com
3eb2a3b7cc9bcc7044a8b48dcd225056ef207513
06ffc855b6a739b384f78241a3a368b4f76b6885
/bin/get_clusters.py
23eef8d69006285f5289c4b07526cc2c033b371b
[]
no_license
hasanmoudud/darcoda
c719a7244832cc2698478bd41d088ca4e55ba165
413ad9475920baa256562f7c94bfa4bf0c6091d6
refs/heads/master
2021-01-17T07:28:38.554719
2015-03-29T02:48:47
2015-03-29T02:48:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
#!/usr/bin/python #get clusters with > 10**7 Msun, and not subhalos f = open('halos') xc = []; yc = []; zc = []; mvir = []; rvir = [] N=0 h=0.719 for line in f: if(line[0]=="#"): continue N = N+1 val = line.split() xc.append(float(val[3-1])/h) yc.append(float(val[4-1])/h) zc.append(floa...
[ "psteger@phys.ethz.ch" ]
psteger@phys.ethz.ch
c5ab31472a0358d1773ec9fe32188a437ae4eea2
63ae3faa596333fa89ed6059332ed956b6dd3ae1
/career/controller/common.py
025c00b7a1e05785a4cf1dd1776f41a2d73a0759
[]
no_license
wyzane/tornado-skill-general
28470d786dc949a2616143b0b35e593d90f2fdc4
915ec990a20b2bb76d56c040cade57a7627d0ebe
refs/heads/master
2020-06-13T13:43:02.401369
2019-07-28T08:20:17
2019-07-28T08:20:17
194,675,732
0
0
null
2019-07-28T08:20:18
2019-07-01T13:14:11
Python
UTF-8
Python
false
false
3,915
py
from tornado.web import RequestHandler, Finish from pycket.session import SessionMixin from config.base import NONE_TOKEN_URLS from core.utils import TokenUtils class CommonHandler(RequestHandler, SessionMixin): status = { "00000": "成功", "00001": "参数格式错误", "00002": "请求参数错误", "000...
[ "wyzane1207@163.com" ]
wyzane1207@163.com
6a569df4a48830836580a0d317332bdaf747b169
26c4426d2c9cd10fd7d4a73609512e69e31b64ba
/justone/mayflower/blog/models.py
d236dc18e91ed8f5e03108b7f9978ea1f117cff4
[]
no_license
KirillUdod/html2exc
550761213eb6edd7d3ea4787938cce65584606c3
60569f01822a15b2e5b6884a42774cd428953700
refs/heads/master
2021-01-15T17:07:05.906492
2016-01-06T11:51:38
2016-01-06T11:51:38
34,809,072
0
0
null
null
null
null
UTF-8
Python
false
false
3,103
py
#coding:utf8 from datetime import date import os from django.core.files import File from django.core.urlresolvers import reverse from django.db import models #from django.db.transaction import atomic from redactor.fields import RedactorField from mayflower.classes import SingleObjectModel, SEOModel, ThumbPictureModel ...
[ "kirilludod@gmail.com" ]
kirilludod@gmail.com
57eae807bc0607d67cb36844721252580050d30f
ce7cd2b2f9709dbadf613583d9816c862003b38b
/SRC/TEST-SRC/teststiffness.py
c5f24f6c8dd250671f72413d6036fe651cb058a3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
usnistgov/OOF3D
32b01a25154443d29d0c44d5892387e8ef6146fa
7614f8ea98a095e78c62c59e8952c0eb494aacfc
refs/heads/master
2023-05-25T13:01:20.604025
2022-02-18T20:24:54
2022-02-18T20:24:54
29,606,158
34
7
null
2015-02-06T19:56:26
2015-01-21T19:04:14
Python
UTF-8
Python
false
false
7,734
py
# -*- 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 maintenance. However, to # facilitate maintenance we as...
[ "faical.congo@nist.gov" ]
faical.congo@nist.gov
467f87d6baa2387b47105578618c35b0d0184322
ece9c9042fce3d89afab3a8fce1413116988964c
/old_scripts/split_2017_12_CDFS_gband_singles.py
fd8e029ea35f6b8eae34f3ddb3bcc99d355d2058
[]
no_license
sarawebb/DWF_split_sort_ccd
849867f459864fc3e6ffcfd2a72956dc3be64032
840b20fd015503f24ba2507f22887c7fae28802a
refs/heads/master
2021-07-09T23:16:48.588553
2020-08-05T13:44:32
2020-08-05T13:44:32
171,389,960
0
0
null
null
null
null
UTF-8
Python
false
false
2,663
py
import numpy as np import matplotlib as mpl #mpl.use('Agg') import matplotlib.pyplot as plt from astropy import wcs from astropy.wcs import WCS from astropy.io import fits import sys import math import os import glob import sys from sortedcontainers import SortedDict import datetime as dt import imageio import os from ...
[ "swebb@swin.edu.au" ]
swebb@swin.edu.au
b60b794328713267b971f573b2e5fa6213a3983e
721353e903ca20db8e22ff1054b8634cd8e955df
/temp_servo.py
961bc8b77b19da7c2b16acffc9c9f134aa271f62
[]
no_license
emylincon/temp_motor
d5d9d0d2c443a494eeb730760a32beefcda65d89
b1742db31a2f731e92ee859213a6753c8a811666
refs/heads/master
2020-04-25T18:26:18.695999
2019-02-27T21:47:04
2019-02-27T21:47:04
172,984,512
0
0
null
null
null
null
UTF-8
Python
false
false
2,894
py
# This is a property of London South Bank University developed by EMEKA UGWUANYI import os import glob import time from matplotlib import pyplot as plt import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD) GPIO.setup(11,GPIO.OUT) os.system('modprobe w1-gpio') os.system('modprobe w1-therm') base_dir = '/sys...
[ "emylincon@gmail.com" ]
emylincon@gmail.com
8a36e726e10060ef396653d1276c9e1cac2fcdab
95673dabd649d4e358921182572e26c3ea21b53a
/PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging/python/BTaggingConfiguration.py
0e711ecab01e016d6ba161122e1c531855419899
[]
no_license
zqhsfz/DoubleBTaggingDF
141deac5f2eca8763dd25c9d10e8458efcd6dd75
80c7c374ea8917c540b7fbfacb84e9e158787269
refs/heads/master
2020-05-31T07:47:47.525578
2015-09-15T20:25:31
2015-09-15T20:25:31
40,974,366
0
0
null
null
null
null
UTF-8
Python
false
false
116,741
py
# Python function implementation of B-tagging configuration # Wouter van den Wollenberg (2013-2015) # E-mail: wouter.van.den.wollenberg@cern.ch, wwollenb@nikhef.nl from BTagging.BTaggingFlags import BTaggingFlags from RecExConfig.RecFlags import rec # -- Import all the functions that set up all the tools -- # (TOOLS...
[ "zqhsfz@gmail.com" ]
zqhsfz@gmail.com
58258f71af25016b013bbd1a057705129115343b
1b189fc91c2580a90c5af832333f6c111899a3c7
/quant_timing_ymjh_all_idx.py
a253c6d9b7f5d9e1983ab21b3455cd85bbe604a5
[]
no_license
webclinic017/joinquant
21d2b016c7dfe38de13c4aadeed4fb760fce8fc5
bb46a576f387387a2ed279f7d2b6fbd06b503d57
refs/heads/master
2022-11-09T12:25:45.181452
2020-06-22T08:36:48
2020-06-22T08:36:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,784
py
# -*- coding: utf-8 -*- """ Created on Fri Feb 21 10:26:59 2020 计算生成板块指数 @author: Administrator """ from __future__ import division import pandas as pd import numpy as np import matplotlib.pyplot as plt import math import datetime from dateutil.parser import parse from jqdatasdk import * import copy import pymongo fro...
[ "519518384@qq.com" ]
519518384@qq.com
65fa8a6692e7906f6b69fc60433108f862b76201
f8da830331428a8e1bbeadf23345f79f1750bd98
/msgraph-cli-extensions/beta/files_beta/azext_files_beta/generated/_client_factory.py
4e72df46dc71b59aef6cd1aefa8f4938cec1aa75
[ "MIT" ]
permissive
ezkemboi/msgraph-cli
e023e1b7589461a738e42cbad691d9a0216b0779
2ceeb27acabf7cfa219c8a20238d8c7411b9e782
refs/heads/main
2023-02-12T13:45:03.402672
2021-01-07T11:33:54
2021-01-07T11:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,280
py
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
6a3ef794d19590d77bf2c99b3ae9e1da230e5a69
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/pytorch/source/caffe2/python/fused_8bit_rowwise_conversion_ops_test.py
36efaa457f40d1957e47ba7b8456232b6d556a61
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
3,619
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from caffe2.python import core, workspace import caffe2.python.hypothesis_test_util as hu import numpy as np import struct from hypothesis import given # Eigen/Python r...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
03fc5ab592e2f18ded8eba76f457383fe585e2fd
76799ea50d7b0b9cf8dc38f52e2516b0684fa010
/py2win/testdata/sampleproject/sample/console.py
9dd9e35ee3d54ae569d89ce127dd1bb8c10edc86
[ "MIT" ]
permissive
trollfred/py2win
67fc6cc78e5453c46258aff6ca28b1b91b5bd8ea
82158e7f5530b65adfc7b3d434b037c592a5913f
refs/heads/master
2020-07-01T17:32:49.746098
2019-11-03T16:17:00
2019-11-03T16:17:00
201,240,871
0
0
MIT
2019-08-08T11:06:14
2019-08-08T11:06:13
null
UTF-8
Python
false
false
385
py
import sys import argparse def main(): parser = argparse.ArgumentParser(description='Sample') parser.add_argument('--hello', action='store_true', help='Say hello') args = parser.parse_args() if args.hello: print('Hello world') else: print('Arguments:') print(sys.argv) ...
[ "philippe.pinard@gmail.com" ]
philippe.pinard@gmail.com
b166622e6dfbad1aaa196106420df6c979273bea
402cb8ac32c5ca7a53f5875688d1ebba1e96474b
/set124.py
ab4bc6538f6a318c1c71c577d5cbfd58a65595b2
[]
no_license
Srija-U/codekataplayer
c073a13d8621f641a8aba8f23ebee4e1b673d58f
392f24f35f178b034cfb76d2acc31bbc4b3a5814
refs/heads/master
2020-05-02T10:59:45.052802
2019-07-22T00:27:46
2019-07-22T00:27:46
177,914,184
1
3
null
null
null
null
UTF-8
Python
false
false
139
py
a,b,c=map(int,input().split()) if(a==200)and(b==500)and(c==1000000007): print("90915406") else: res=a**b res%=c print(res)
[ "noreply@github.com" ]
Srija-U.noreply@github.com
ae16d59080cbe62df3693726327a795fe928b501
5fe89548b5227a6fe196f4be1d7e6387b9a04aeb
/mnist/mlp.py
caecda98fa66680e58db21cce63971b96c5103b6
[ "MIT" ]
permissive
bhi5hmaraj/Applied-ML
175659ee323e466cb17c6453b8fe71fa49843fa7
dc8eeb57ce4ac0869988d2d2d5f3f707421ece49
refs/heads/master
2020-04-17T15:39:19.527017
2019-03-07T07:20:36
2019-03-07T07:20:36
166,707,296
0
0
null
null
null
null
UTF-8
Python
false
false
4,795
py
import numpy as np import load_mnist TAKE = 30000 def train_test_split(): train_img = load_mnist.read_idx('train-img.data')[:TAKE] train_labels = load_mnist.read_idx('train-labels.data')[:TAKE] test_img = load_mnist.read_idx('test-img.data') test_labels = load_mnist.read_idx('test-labels.data') train_img...
[ "matib275@gmail.com" ]
matib275@gmail.com
d24520b755a2bda8289e0fea46c82f0c3b4b72c5
a75e71e5a570728e7ba8aa82dc5c575f1630b73c
/SimpleDL/test/__init__.py
be0946a73a71b882329aee7d8cd0c30bed7183dd
[]
no_license
Lyrichu/SimpleDL
8a52c81b222cf888c0333e6ed0a23ee8fad4e432
7b1903e909bae4c5ee894e121bcbda17dcb52251
refs/heads/master
2020-04-13T08:47:18.939899
2018-12-25T15:07:28
2018-12-25T15:07:28
163,091,971
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
#!/usr/bin/env python3 # encoding: utf-8 """ @version: 0.1 @author: lyrichu @license: Apache Licence @contact: 919987476@qq.com @site: http://www.github.com/Lyrichu @file: __init__.py.py @time: 2018/09/13 13:43 @description: """
[ "919987476@qq.com" ]
919987476@qq.com
55b4d743804157efb6ebdbee7f25f36c7e0b5d6e
a1dce04838e2a4aa85e8a98459ae384aa00911bc
/src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/processes/set_dpri_router_timeout_process.py
b1c049ca619a704bb539f907547a5e32977fa57b
[ "BSD-3-Clause" ]
permissive
Roboy/LSM_SpiNNaker_MyoArm
8cb5b44c772bd9843989c64265dfcabd08905b4c
04fa1eaf78778edea3ba3afa4c527d20c491718e
refs/heads/master
2021-01-23T17:42:33.122281
2017-10-30T11:34:22
2017-10-30T11:34:22
102,772,213
2
0
null
null
null
null
UTF-8
Python
false
false
805
py
from spinnman.messages.scp.impl.scp_dpri_set_router_timeout_request \ import SCPDPRISetRouterTimeoutRequest from spinnman.processes.abstract_multi_connection_process \ import AbstractMultiConnectionProcess class SetDPRIRouterTimeoutProcess(AbstractMultiConnectionProcess): def __init__(self, connection_se...
[ "simon.trendel@tum.de" ]
simon.trendel@tum.de
cf3c1321a863c6c38c49f93b42d88723b1902f5d
30f15a184450d6e914ac16375e674cc2f993b9ce
/desktop/kde/base/kdegraphics/kdegraphics-strigi-analyzer/actions.py
b6553605f42c0bac4104ce47da84595f55267f46
[]
no_license
Erick-Pardus/2013
9d0dd48e19400965476480a8e6826beb865bdb2e
80943b26dbb4474f6e99f81752a0d963af565234
refs/heads/master
2021-01-18T16:57:58.233209
2012-10-30T20:35:42
2012-10-30T20:35:42
6,467,098
2
0
null
null
null
null
UTF-8
Python
false
false
377
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import pisitools from pisi.actionsapi import kde4 def setup(): kde4.configure() def build(): kde4.make() def instal...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
b147b13f0d4bcf73ddb8cc92c94fd64a7d8b551a
f7bc645825f5c4ef410e3d3d9f6f8e1b4b4f082b
/files/topic8/client.py
c7f88b8feadb00bf0cbcbae373783334d3022340
[]
no_license
DanBuchan/adv_web_dev_topic_9_docker
70fcb8738668de4222522f4fa2a3099b7e3cf15b
ac95cb004c92a39815ea008ac4de33b0c0fa7ab1
refs/heads/main
2023-04-16T06:32:12.208059
2021-04-29T17:00:54
2021-04-29T17:00:54
310,062,853
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
import os import requests import json import time uri = 'http://bioinf.cs.ucl.ac.uk/psipred/api/submission' payload = {'input_data': ('prot.txt', open('input.txt', 'rb'))} data = {'job': 'psipred', 'submission_name': 'test', 'email': 'daniel.buchan@ucl.ac.uk', } print("Sending Request") r = requests.p...
[ "clone@myself.com" ]
clone@myself.com
a9e112e156d19b8f6389672d6bc56119ceddb12f
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY2JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_259/run_cfg.py
10b7d0acacd1896f0d161c1b050e8bdeb32b423f
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY2JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
a9313075eaf983b40fbede7b0637837b5308effa
6974479fb228b4fe81c76486a9492fb640bc8d31
/Itertools/itertoolsproduct.py
21e0fe2776c0d8b588c568fc4727967615260b59
[]
no_license
AadeshSalecha/HackerRank---Python-Domain
475a1bfc099276a023de8aa1925677ac39893e84
a8319fb071c7193c8382d012b5e1b22246d58ffc
refs/heads/master
2021-01-11T04:29:35.601562
2016-11-06T16:02:52
2016-11-06T16:02:52
71,152,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
#itertools.product() #by DOSHI #Problem #Submissions #Leaderboard #Discussions #Editorial #itertools.product() # #This tool computes the cartesian product of input iterables. #It is equivalent to nested for-loops. #For example, product(A, B) returns the same as ((x,y) for x in A for y in B). # #Sample Code # #>>> fro...
[ "noreply@github.com" ]
AadeshSalecha.noreply@github.com
2b5c1d8f6775b2f824163d2a3b61ada1e9f96504
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5658571765186560_1/Python/Wah/round2015QDSimple.py
38d37f899f9dd379bdf02b805658e5b403de4fed
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,004
py
testCaseIndex = 0 def generateBoard(R, C): datas = [] for rn in range(R): datas.append([]) for cn in range(C): datas[rn].append(0) return datas def printBoard(datas): for rn in range(len(datas)): for cn in range(len(datas[rn])): print data...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
782227dd094c8cb0d43712500e85a738251ca585
8ef5a09d76a11c56963f18e6a08474a1a8bafe3c
/leet_code/441. Arranging Coins.py
52ef77e7c88add064f3763e5b697d9d163a9aef1
[]
no_license
roiei/algo
32c4677649c7666db148f6183fbfbf66c8b1969f
ae8bb8bf4ae4026ccaf1dce323b4098547dd35ec
refs/heads/master
2022-04-01T19:21:27.768675
2022-02-19T06:15:29
2022-02-19T06:15:29
169,021,154
0
0
null
null
null
null
UTF-8
Python
false
false
1,047
py
import time from util.util_list import * from util.util_tree import * import copy import collections class Solution: def arrangeCoins(self, n: int) -> int: if n == 0: return 0 tot = 1 cnt = 1 step = 2 while tot + step <= n: ...
[ "hyoukjea.son@hyundai.com" ]
hyoukjea.son@hyundai.com
595c42d339fbc9ac893f879e96d17449bb47d4e3
abf28e966b366ad2c4a63450171c700021928f16
/miningpool/lib/coinbaser.py
9b952d9e1f8db65d7af9e3d41b19d40eaccb6469
[ "Apache-2.0" ]
permissive
darksus/miningpool
d525230ff1471974767a3f44d0d88f7192a3bd0b
403b66cc0abfa482362752b9f1a232ee69e9961a
refs/heads/master
2020-03-14T20:26:07.011016
2018-05-02T00:59:11
2018-05-02T00:59:11
131,776,575
0
0
null
null
null
null
UTF-8
Python
false
false
2,774
py
import util from twisted.internet import defer import settings import miningpool.lib.logger log = miningpool.lib.logger.get_logger('coinbaser') # TODO: Add on_* hooks in the app class SimpleCoinbaser(object): '''This very simple coinbaser uses constant bitcoin address for all generated blocks.''' def _...
[ "jgomez@ideosoft.es" ]
jgomez@ideosoft.es
1c9361f16d3fe65ca23f48b2d65c9d11236c073c
985267e31099fd72d7f6bcc52435e266bec41c2b
/mikaponics/account/serializers/logout_serializers.py
c606706d27bf0461997158c8ca7c047c116772af
[ "BSD-3-Clause" ]
permissive
mikaponics/mikaponics-back
32d2e9a159876592b1c437bc3118165b12478995
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
refs/heads/master
2022-12-09T23:59:11.612473
2019-07-13T01:16:32
2019-07-13T01:16:32
175,534,652
4
1
BSD-3-Clause
2022-11-22T03:45:09
2019-03-14T02:35:19
Python
UTF-8
Python
false
false
1,090
py
# -*- coding: utf-8 -*- from django.contrib.auth.models import Group from django.contrib.auth import authenticate from django.db.models import Q from django.shortcuts import get_object_or_404 from django.utils.translation import ugettext_lazy as _ from rest_framework import exceptions, serializers from rest_framework.r...
[ "bart@mikasoftware.com" ]
bart@mikasoftware.com
a1255a1d1a6c6b8b8eb660a4ddf801259e1f4fa5
fe19923be5086e6ba68b7809ba77093e82fc271c
/p2.py
bbf7a5a8d8bae15bb4030c86997bed47b328559a
[]
no_license
ps-star-empire/jenkins_python
44ab0405150b3f97274bb61e7d2f593997a3d1df
23056e089d6959edcd7735ab10fa321c71d0c94f
refs/heads/master
2023-01-05T11:52:41.731867
2020-10-27T14:10:58
2020-10-27T14:10:58
307,921,944
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
Welocme the world of git and jenkins
[ "you@example.com" ]
you@example.com
958a92c3ed430284122abed4b7fbfff4ed8a891c
9a000fd5ae262210277934b381639844a316933b
/setup.py
b2883d345eb08d4b2df84b22c118a6a312578813
[ "Apache-2.0" ]
permissive
lelandlib/handout
0f0fb0c8a890799a004b8c31a41acd24b7c57a0a
c0476b838087930c04c2e528e8c335085f1de442
refs/heads/master
2023-04-06T08:08:59.002099
2019-08-08T03:33:25
2019-08-08T03:33:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
import setuptools setuptools.setup( name='handout', version='1.0.0', description='Turn Python scripts into handouts with Markdown and figures', url='http://github.com/danijar/handout', install_requires=[], extras_require={'media': ['imageio']}, packages=['handout'], package_data={'hand...
[ "mail@danijar.com" ]
mail@danijar.com
7b353bbb14a0e2e0939e80efd3d9aead6c7940a4
b0de612c2f7d03399c0d02c5aaf858a72c9ad818
/armi/cli/gridGui.py
a1fc5254b325be2ea49a6af8e2eab5f663a17409
[ "GPL-1.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
wangcj05/armi
2007e7abf4b422caca0157fc4405b7f45fc6c118
8919afdfce75451b291e45ca1bc2e03c044c2090
refs/heads/master
2022-12-22T00:05:47.561722
2022-12-13T16:46:57
2022-12-13T16:46:57
277,868,987
0
0
Apache-2.0
2020-07-07T16:32:40
2020-07-07T16:32:39
null
UTF-8
Python
false
false
1,929
py
# Copyright 2019 TerraPower, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
[ "noreply@github.com" ]
wangcj05.noreply@github.com
770fa359880bd8cdcb59057ba3a7436d956e441b
bbd69601912a3361d788efd03a47f9d4e3bac09e
/buildtools/backports/textwrap3.py
be47d73a9d3acb8eb9c7848613d77433cb3403de
[]
no_license
wxWidgets/Phoenix
56929484460a0399a8f1d9582bc77c20aa14748d
a1184286703cf24c4b88e5bc14cf2979c1b1ea00
refs/heads/master
2023-09-01T07:10:17.437093
2023-08-31T05:38:01
2023-08-31T05:38:01
5,078,061
2,268
677
null
2023-09-09T17:06:59
2012-07-17T06:22:25
Python
UTF-8
Python
false
false
21,646
py
"""Text wrapping and filling. """ # Copied from Python 3.6's textrap # https://raw.githubusercontent.com/python/cpython/master/Lib/textwrap.py # As of commit: https://github.com/python/cpython/commit/f3ebc9fe3fae3d44da4d0da9764ed7c033115f12 # Then lightly modified to make less Python 3 specific # - print_function # - ...
[ "robin@alldunn.com" ]
robin@alldunn.com
b394e36719b9e55f7e706baf6fae30445a66fa3d
cc08f8eb47ef92839ba1cc0d04a7f6be6c06bd45
/Personal/Developent/AjaxWithDjango/bin/django-admin.py
4e1e59e580a78fff0c5e6e5df8d28ccb987f3e29
[]
no_license
ProsenjitKumar/PycharmProjects
d90d0e7c2f4adc84e861c12a3fcb9174f15cde17
285692394581441ce7b706afa3b7af9e995f1c55
refs/heads/master
2022-12-13T01:09:55.408985
2019-05-08T02:21:47
2019-05-08T02:21:47
181,052,978
1
1
null
2022-12-08T02:31:17
2019-04-12T17:21:59
null
UTF-8
Python
false
false
168
py
#!/root/PycharmProjects/Developent/AjaxWithDjango/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "prosenjitearnkuar@gmail.com" ]
prosenjitearnkuar@gmail.com
3f17da05a8aece307fb7389e2f06458db2e2a458
67acb613d10fec7c66cfcfda98f849e81218a2dc
/Lib/site-packages/state_machine_crawler/logger.py
cdc1dea8c457942986020f850ec45fc3eafd5c3e
[ "MIT" ]
permissive
gallrobert/Pyweek32-neverending
32e58ec63d8bd2e1a9d6166d078ddc4e6afcccf9
59659e0ded536e17b7450cbd234e6b50096c97b5
refs/heads/main
2023-08-01T04:46:03.437911
2021-09-20T13:48:36
2021-09-20T13:48:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
import sys import traceback class Color: RED = "\033[1;91m" GREEN = "\033[1;92m" BLUE = "\033[1;94m" NO_COLOR = "\033[0m" class Symbol: PASS = u"\u2713" FAIL = u"\u2717" UNKNOWN = "?" class StateLogger(object): def __init__(self, debug=False): self._debug = debug def ...
[ "root@localhost" ]
root@localhost
0b64214c81a8c6b6c8f30b74f2bf9a69a242395b
de0027189cc2eed60bc2e40eada0133429382159
/FPGA/sinegen.py
fd288c82f908da6137970b65bc985136756209af
[ "MIT" ]
permissive
gx19970920/SingularitySurfer-FPGA-Lock-In-Amplifier
8cfd03bd827f1bcd20c46b28d3bde06f56911e50
9f7be5b3397ab9c71a1b2c4c0d3f37ebbfccb4a0
refs/heads/master
2023-05-28T02:39:07.362184
2023-05-11T08:28:44
2023-05-11T08:28:44
571,499,312
0
0
MIT
2023-05-12T02:04:59
2022-11-28T09:13:10
null
UTF-8
Python
false
false
162
py
import numpy as np phases = np.linspace(0,0.5*np.pi, 65536) values = (((2**15)-1)*np.sin(phases)) values=values.astype(np.int16) values.tofile('sine_np2.bin')
[ "you@example.com" ]
you@example.com
aafc95243c23f2b5a6840767c3decca7a99284f4
403510cf9438285823f8cfd7b0c4219e8a505bde
/ninjag/io/read/check_tasks.py
c45298ecdd166878ce434a69a4f198f77126a4f2
[ "MIT" ]
permissive
shaylavi/ninjag-python
44f96e2229aaffe763301129df1ba574b5f5481a
79cbd499575544875a0e07213eb3c47111bd8738
refs/heads/master
2021-01-11T17:12:12.701882
2017-01-22T19:21:02
2017-01-22T19:21:02
79,737,903
0
0
null
2017-01-22T18:55:33
2017-01-22T18:55:33
null
UTF-8
Python
false
false
668
py
from .check_definitions import check_definitions def check_tasks(tasks): """Check tasks section""" if not isinstance(tasks, list): print("Error hint: \"tasks\" section must be a list") exit() for i, d in enumerate(tasks): for k in ["rule", "in", "out"]: if k not in d: ...
[ "stevenaura@live.com" ]
stevenaura@live.com
8f9717de61e60687fc3a753dab52ca8edba38c74
09e94c3431c8d91e49eccbe6a4352dbb498af13a
/docs/conf.py
fd1b24af927275f7094ba05a8b0379110a77e173
[ "MIT" ]
permissive
DNGros/graphviz
6317eaaf83177cabfc3046d939d04d8b5c51eee2
499875785ccaefe334b6c1dbb45b6eaa41c2a511
refs/heads/master
2020-07-07T05:34:27.140278
2019-08-13T17:18:20
2019-08-13T17:20:30
203,266,397
0
0
MIT
2019-08-19T23:47:36
2019-08-19T23:47:35
null
UTF-8
Python
false
false
5,738
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "sebastian.bank@uni-leipzig.de" ]
sebastian.bank@uni-leipzig.de
1a4d700bd5f6e3fb71cfb9e7559cfbbdfc23ac18
c88cd09f52ba3b0549ae223ba8a96dff256b71bc
/Codechef/TACHSTCK.py
62db99ddcd4dad7a57bf167fd852c67d22338b08
[]
no_license
Ishita-Tiwari/competitive-programming
cadd3007fffc89e1b6905bbdb3fbdd0250e29cdc
c54659081de2ca87f00a7a399cc15d6aa919e772
refs/heads/master
2021-08-17T11:47:12.890012
2021-07-22T13:56:02
2021-07-22T13:56:02
188,955,292
3
1
null
null
null
null
UTF-8
Python
false
false
221
py
n, d = [int(x) for x in input().split()] l = [] for i in range(n): l.append(int(input())) count, i = 0, 1 l.sort() while(i < n): if l[i] - l[i - 1] <= d: count += 1 i += 1 i += 1 print(count)
[ "noreply@github.com" ]
Ishita-Tiwari.noreply@github.com
d026c078be1855290625fa84fd3104f70cde592b
d024c256c3147d412f924a6650ab363aff6e2068
/Python3标准库/ten_text/asyncio/提供协议类抽象的异步IO/asyncio_echo_client_protocol.py
3f95268551d9451390a87fc51cf15ef9e9e0ff1d
[ "MIT" ]
permissive
Highsir/Python3_stdlib
cc1e9255794e3286f310cccb2beadff85ecd06ba
06d4fce817104e00e7e2823d2b51ac2d7b8e2255
refs/heads/master
2020-09-01T13:49:17.661707
2019-11-01T11:34:21
2019-11-01T11:34:21
218,971,674
0
0
null
null
null
null
UTF-8
Python
false
false
1,920
py
import asyncio import functools import logging import sys MESSAGES = [ b'This is the message', b'It will be sent', b'in parts.', ] SERVER_ADDRESS = ('localhost',10000) logging.basicConfig( level=logging.DEBUG, format='%(name)s: %(message)s', stream=sys.stderr, ) log = logging.getLogger('main'...
[ "highsir421@163.com" ]
highsir421@163.com
ae589786a823bbd1d4b68fe364a9f4c18cd64f35
6b1dff7ee8a953b24ec0b387bd1ecac43ec72dcc
/teste/teste_exchange.py
cbee4e52fb2437aaba472dcb4d655fc8f3562bd3
[]
no_license
danieltidus/firstbot
8c5d850e417d6ba98a095a9eda6a0e754eec663d
845618c4dafc32fa54827a213875288fb95247e3
refs/heads/master
2021-03-29T01:38:42.744733
2019-10-16T17:20:26
2019-10-16T17:20:26
96,463,037
0
0
null
null
null
null
UTF-8
Python
false
false
2,806
py
import sys sys.path.append('.') import pprint from exchanges.exchangefactory import ExchangeFactory from datetime import datetime fac = ExchangeFactory() exchange = fac.create('Poloniex') currencyPair = 'BTC_LTC' apiKey='test' price=0.0001 amount=0.01 orderNumber='das4d5as' currency='BTC' pp = pprint.PrettyPrinter...
[ "you@example.com" ]
you@example.com
e52f1b273808d00c1b2473e6977811704ca0479a
58a0ba5ee99ec7a0bba36748ba96a557eb798023
/Olympiad Solutions/URI/2157.py
d4fd362c21e976caa96ee51077b470ada18b2164
[ "MIT" ]
permissive
adityanjr/code-DS-ALGO
5bdd503fb5f70d459c8e9b8e58690f9da159dd53
1c104c33d2f56fe671d586b702528a559925f875
refs/heads/master
2022-10-22T21:22:09.640237
2022-10-18T15:38:46
2022-10-18T15:38:46
217,567,198
40
54
MIT
2022-10-18T15:38:47
2019-10-25T15:50:28
C++
UTF-8
Python
false
false
374
py
# Ivan Carvalho # Solution to https://www.urionlinejudge.com.br/judge/problems/view/2157 #!/usr/bbin/env python2.7 # -*- coding : utf-8 -*- tc = int(raw_input()) for algo in xrange(tc): a,b = [int(i) for i in raw_input().split()] lista = [] reverso = [] for i in xrange(a,b+1): lista.append(str(i)) reverso.appen...
[ "samant04aditya@gmail.com" ]
samant04aditya@gmail.com
15695f3c947b31a53b1193d5dd4a4b095a14f626
503d2f8f5f5f547acb82f7299d86886691966ca5
/atcoder/nomura2020_b.py
17ebb7b51cda29e122130c2d50b4678a4e008342
[]
no_license
Hironobu-Kawaguchi/atcoder
3fcb649cb920dd837a1ced6713bbb939ecc090a9
df4b55cc7d557bf61607ffde8bda8655cf129017
refs/heads/master
2023-08-21T14:13:13.856604
2023-08-12T14:53:03
2023-08-12T14:53:03
197,216,790
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
# https://atcoder.jp/contests/nomura2020/tasks/nomura2020_b # import sys # def input(): return sys.stdin.readline().rstrip() # input = sys.stdin.readline # input = sys.stdin.buffer.readline # sys.setrecursionlimit(10 ** 7) T = input() ans = '' for c in T: if c=='?': c = 'D' ans += c print(...
[ "hironobukawaguchi3@gmail.com" ]
hironobukawaguchi3@gmail.com
654e391c8313bc47dda2424fe77e9e72e7375b58
76b983258793d294b81791ebe72591bfebf78625
/lib/elf/section.py
f772bb734c03e5e5a2b2d1738e5cc70751fcb17c
[ "BSD-2-Clause" ]
permissive
lotusexpeditor/syringe
18ac9cb800a7fefb7d67e31936db6a84e47df9eb
34a8386b90f534f9a856d0a436bba04dbf5100bd
refs/heads/master
2023-02-08T10:08:20.295797
2020-12-27T00:06:09
2020-12-27T00:06:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,335
py
import sys, itertools import ptypes from .base import * __izip_longest__ = itertools.izip_longest if sys.version_info.major < 3 else itertools.zip_longest ### generic class _sh_name(pint.type): def summary(self): try: res = self.str() except (ptypes.error.TypeError, ptypes.error.ItemNo...
[ "arizvisa@gmail.com" ]
arizvisa@gmail.com
3d0bc679416891df7227ca3c1c2647776b560485
1e4d852a59e6f16d70fb05e74f5b8d6e52bbc5d7
/10/10-12.py
6bdc6f8e0c48f43efa9cfda3fe8264b899fe6499
[]
no_license
1000monkeys/probable-invention
6cb32fae592f7752c77c295a4be2d500e0a55ec9
adf42f00c32ab7eb165d78dde3703eba3037356d
refs/heads/master
2021-06-29T17:08:52.810761
2020-10-08T12:45:20
2020-10-08T12:45:20
168,561,027
0
0
null
2020-09-16T12:38:46
2019-01-31T16:54:48
Python
UTF-8
Python
false
false
563
py
import json filename = "favorite_number.txt" def get_stored_favorite_number(): try: with open(filename) as f_obj: favorite_number = json.load(f_obj) print("I know your favorite number is " + favorite_number + "!") except FileNotFoundError: favorite_number = input("What...
[ "vos.kjell@gmail.com" ]
vos.kjell@gmail.com
6d19472ec2ad27ea7002a84ba22b27bf8b6a0f77
e460dc7afffb5651a4f9305e90a578b67cec61ff
/test_django_app_keno_1937/urls.py
60b755dda5070daafa82a52f7b9ebdfd733978a9
[]
no_license
crowdbotics-apps/test-django-app-keno-1937
937d2a99406b9af03301f96a0030f61fef5c4dd1
f865c5c701544db4ee804759f83732e7b83123e0
refs/heads/master
2022-04-09T18:06:59.966051
2020-03-11T20:18:21
2020-03-11T20:18:21
246,671,440
0
0
null
null
null
null
UTF-8
Python
false
false
1,985
py
"""test_django_app_keno_1937 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='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
8f42aaf82a1425230e248f425d8b98444aff964a
048bbe59779b58d78f7d567e67edb7d1b7746f01
/setup.py
54a8cb1a8b8e429c7f22c6014bc67cdf062af82f
[ "MIT" ]
permissive
ROPzombie/paper2remarkable
89437caea5ecda7a379b3fe64ac95c82a9b0e1f3
fa1c0f7814038afbac062ca834bf440f801eb50c
refs/heads/master
2023-01-11T20:19:49.908367
2020-10-28T11:14:09
2020-10-28T11:14:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,254
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import io import os from setuptools import find_packages, setup # Package meta-data. AUTHOR = "Gertjan van den Burg" DESCRIPTION = "Easily download an academic paper and send it to the reMarkable" EMAIL = "gertjanvandenburg@gmail.com" LICENSE = "MIT" LICENSE_TROVE = "Lic...
[ "gertjanvandenburg@gmail.com" ]
gertjanvandenburg@gmail.com
ba2c9b5622f76d9ea470547185ca82bfe73a3266
bdf3879b183611fef4239ece505f9f9a05fe49aa
/exam_questions/set/q5.py
80aa6ecfc2d16601cd9c1b2e36a6c14b806168d0
[]
no_license
Prabithapallat01/pythondjangoluminar
9578fccd1628ed0810000cbec1ab97ac8d931bf9
3248939c0d454084326f9694ecb3094f599c0b6b
refs/heads/master
2023-03-20T10:22:54.524782
2021-03-10T08:43:01
2021-03-10T08:43:01
327,939,255
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
#how to convert list in to set weekdays=["son","mon","tue","thur","fri","sat"] listAsSet=set(weekdays) print(listAsSet) # string=["maya","ravi","daya","kitchu","athi","daya","kitchu"] # # print(string.count("daya")) # print([[x,string.count(x)] for x in set(string)])
[ "prabidas01@gmail.com" ]
prabidas01@gmail.com
3c5225ca1a59e8a32ec6155ad731502f19c8e8de
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/comprehend_read_1/entities-detection-job_list.py
571089f2f87b866498ebdf0edac4336844a5ebf9
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import execute_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/comprehend/describe-entities-detection-job.ht...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
b20a85b485bcb7ec9809c4ed421a37b5a2770a3f
48d232cc6dcf57abf6fca9cbbef8943e189acb04
/class-schedule.py
c3a80b37124af1155ab8f419bd0c4d3828d56404
[]
no_license
csusb-005411285/CodeBreakersCode
dae796ba4262770e0a568e9c27597a041db0775c
8f218164e1b9e42c1a928d22ef5a76328abb66a2
refs/heads/master
2022-01-12T09:11:33.668338
2021-12-27T04:45:13
2021-12-27T04:45:13
232,490,141
1
1
null
2021-01-29T23:09:14
2020-01-08T06:02:11
Python
UTF-8
Python
false
false
1,191
py
class Solution: def canFinish(self, numCourses: int, prerequisites: List[List[int]]) -> bool: """ :type numCourses: int :type prerequisites: List[List[int]] :rtype: bool """ # init a list of empty lists graph = [[] for _ in range(numCourses)] # init a list to store the list of visited ...
[ "noreply@github.com" ]
csusb-005411285.noreply@github.com
b26b9fed6695dbb38bcc44da9ef78a0f80b64442
b1e325259687b58572ea962e5528fa5afa17e6f6
/python/src/abc153/test_d.py
1d0254f8944721e2712e18cfc26d5f69e904bdbb
[]
no_license
gen0083/atcoder_python
84e1b0a63a736f1fca21bf7fcda776f4016a30bd
93d5b1023242e562e4687119c94812d8c0df429c
refs/heads/master
2023-07-23T21:47:38.964277
2023-07-13T12:23:51
2023-07-13T12:23:51
231,208,047
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
from abc153.d_caracal_vs_monster import main from tests.si_so_test_case import SISOTestCase class Test(SISOTestCase): def test_main(self): self.helper("2", "3\n", main) def test_main2(self): self.helper("4", "7\n", main) def test_main3(self): self.helper("1000000000000", "1099511...
[ "archiherewego@gmail.com" ]
archiherewego@gmail.com
10486d8564178f3949202f20262fed52a0812ce1
431a1f574e810930c7f0426291a1473a43018ac9
/src/cosmosdb-preview/azext_cosmosdb_preview/vendored_sdks/azure_mgmt_cosmosdb/operations/_private_link_resources_operations.py
80a1b83af5d9abfbd9188a26ac799008faf1d012
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
IshanArya/azure-cli-extensions
ed4b79c8e278650b83fef95d020c6df2677da5ca
488675c7daa4096b4cdce8698ad11aa7c9755726
refs/heads/master
2023-08-13T03:51:08.180117
2021-07-12T09:39:46
2021-07-12T09:39:46
277,632,065
0
2
MIT
2021-09-27T06:14:15
2020-07-06T19:35:16
Python
UTF-8
Python
false
false
9,115
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
IshanArya.noreply@github.com
727d0446b4629826962db04729771d60b4311d75
02176ebf7b4e5c16a9b7be718d5d34fa5a53e564
/gui/pygameclint - Copy (7).py
a9b7b8151f702fa9a6beff28d34d470a375cea64
[]
no_license
Mayank-Bhatt-450/UNO-online-multiplayer-
6f53416659bbf98add511a30c2a75be5d3278422
f1a8052965e98d0c10fd286b7d9961402148b094
refs/heads/main
2022-12-25T14:30:35.428873
2020-10-09T09:36:23
2020-10-09T09:36:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,920
py
import pygame,random,time import _pickle as pickle import threading,json import requests ######################################################################## import random def prn(*a,**k): colors=['red','green','yellow','blue','pink','light_blue','white'] try: color=k['color'] for i in range...
[ "mayankbhatt457@gmail.com" ]
mayankbhatt457@gmail.com
1660fdaa17c2e720d18e25781ee8775c500c0da4
99ca151c59afd9c0e7091b6919768448e40f88a2
/numpy_math_fix.py
1e147282c67d68bb2951784ddfba5342f37818bf
[]
no_license
zainabnazari/Python_note
1b6a454f6e7b3aca998d87a201823a600ec28815
3beb52beb3a0ebe17a6ac8c5695670e9dde59269
refs/heads/main
2023-02-10T22:32:33.160428
2021-01-12T18:36:54
2021-01-12T18:36:54
304,724,221
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
#file name: numpy_math_fix.py import numpy as np import math myarray = np.array([1,2,3]) root = np.sqrt(myarray) print(root) """ Output: [1. 1.41421356 1.73205081] """
[ "nazari.zainab@gmail.com" ]
nazari.zainab@gmail.com