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
77fc26163f61919df4efdfcbb251803d49603c9d
ec8fef96af2a6b6610d298637f05bcdfe67cba2b
/experiments/cremi/utils/align_test_samples_part_3.py
f1a04694e55134c663b6542a64a388ae5f5fa0df
[]
no_license
abailoni/longRangeAgglo
8b98aca75b17d177cb5e408460f95ff20f411aeb
260b452e106125722ae3824755584ce7bfd5b81c
refs/heads/master
2021-06-25T14:14:57.150233
2020-11-06T11:14:52
2020-11-06T11:14:52
150,707,062
0
0
null
null
null
null
UTF-8
Python
false
false
4,272
py
import long_range_compare # Add missing package-paths from long_range_compare.data_paths import get_trendytukan_drive_path, get_hci_home_path """ This is a modified version of part 2 to downscale the whole aligned data without cropping it at all """ downscale = True include_affs = False from scipy.ndimage import zoo...
[ "bailoni.alberto@gmail.com" ]
bailoni.alberto@gmail.com
73b494f266e34eb2deabf1b569f57c9d6a30555d
0db6e82011087bc31b2edfd3ac2d5757c08116b8
/my_library/models/res_config_settings.py
71cc7770897e3ef56c78265398b82ee46e3e046c
[]
no_license
NumanIbnMazid/odoo-my-library
60617551f3e968a4cf42670785347284901aa4b0
f000fea813a5f246e58617e09a5420739569169c
refs/heads/master
2023-07-29T05:33:41.697740
2021-09-13T11:27:58
2021-09-13T11:27:58
405,944,906
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
# -*- coding: utf-8 -*- from odoo import api, fields, models class ResConfigSettings(models.TransientModel): _inherit = 'res.config.settings' group_self_borrow = fields.Boolean( string="Self borrow", implied_group='my_library.group_self_borrow')
[ "numanibnmazid@gmail.com" ]
numanibnmazid@gmail.com
8e644cd95efa509e80748bd93f7e036283a75068
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/blink/tools/blinkpy/common/system/filesystem.py
c21aaead2375f65d616dec302def76250afcf109
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
16,246
py
# Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the ...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
182b8c9037b1084f8352e0f3eb7ec4b0f6ba7d29
0032c98333ffc0efdb920ecca31ab224378880e5
/lib/Gear.py
79b191aa67c1062ebd954f6df99bbe7433fe9d01
[]
no_license
raspibrick/install
bd1c6f9a8cb524f2ab5a2c17ad8c5463b768dffa
96288d6ca21abd8fb993cc376e37c16473b54dd5
refs/heads/master
2021-01-10T05:00:39.159879
2019-07-25T09:46:04
2019-07-25T09:46:04
40,703,681
0
1
null
null
null
null
UTF-8
Python
false
false
10,940
py
# Gear.java ''' Class that represents the combination of two motors on an axis to perform a car-like movement. This software is part of the raspibrick module. It is Open Source Free Software, so you may - run the code for any purpose - study how the code works and adapt it to your needs - integrate all or parts ...
[ "support@tigerjython.com" ]
support@tigerjython.com
2eeb9ae2d804446a3ffa2341c35a49419b89a47d
0ad8fc76aebe7ce22abe771fbeadf227e5b471cb
/app/productdb/tests/test_celery_task_creation.py
86ea5651b0e4aaaf77df4f63d6dd2a1ae313ba00
[ "MIT" ]
permissive
ppavlu/product-database
354c6a1a3e9ebfdc931f2aacf8751ed0f149401c
09610c09600c63eb91106c0b5a2fa995b134dbf4
refs/heads/master
2021-01-17T22:51:43.247027
2015-10-11T11:37:12
2015-10-11T11:37:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
from django.core.urlresolvers import reverse from django.test import TestCase from app.productdb.models import Settings class TestCeleryTaskCreation(TestCase): """ This test verifies that a celery task is created in celery when calling certain URLs with a specific parameter """ fixtures = ['default_ve...
[ "henry@codingnetworker.com" ]
henry@codingnetworker.com
364125728030ee90a6148fc48a1cf9ab5ed80027
03898aa9b248360c16164adb50a40da418cdcb45
/src/settings/common.py
545ccdd9db091ede491583504513fa6161c3b57b
[]
no_license
asamolion/jobi
d0f9184de3db6fdee22934270e36c3c469f75ccb
d0ad0165c9d55b430d545d7c68d10cd7757e3766
refs/heads/master
2021-05-15T05:47:23.194551
2017-06-13T20:15:10
2017-06-13T20:15:10
115,773,416
0
0
null
2017-12-30T04:25:17
2017-12-30T04:25:17
null
UTF-8
Python
false
false
4,115
py
""" Django settings for src project. Generated by 'django-admin startproject' using Django 1.10.6. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os #...
[ "rushil0195@gmail.com" ]
rushil0195@gmail.com
f34a1994b54077e70d2ad74f2ccf5a3171b699e2
e35f87bf8c905bceddb40fe3ee6792dcabf62009
/lte/gateway/python/magma/pipelined/tests/test_redirect.py
7bab13c657d8bd71537b664de104018c7870e74d
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
phirmware/magma
2364544792b8c0f76e6a86fcbf1273bdb0bf6a49
1b3e4533235293f754d7375eb421c968cc0b1856
refs/heads/master
2020-09-20T21:30:36.523248
2019-11-28T17:42:01
2019-11-28T17:42:01
224,595,084
1
0
NOASSERTION
2019-11-28T07:31:58
2019-11-28T07:31:57
null
UTF-8
Python
false
false
10,649
py
""" Copyright (c) 2018-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. """ import unittest from concur...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
11e02d43b0ac54e7b1904e84863f92e6e5608b69
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02951/s958921676.py
d638adbe5c5e44f9223b05cd2fe5a87eb08d31df
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
a, b, c = map(int, input().split()) ans = c - (a - b) if ans <= 0: print(0) else: print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
431d32716f21e9eef507696baec83c2625141591
251d6d11e807fa47fd1bad1f070b727500b17fd5
/shares/migrations/0009_shareitemdividend_percent.py
102eb77b42c8eeb128d242542ab0ea2694dc1656
[]
no_license
khokhlov/dinv
a0964403a930f479fb744d90c4dbad887ba9810c
7943b533808c913ec3564aa28ada485f857609ee
refs/heads/master
2020-05-26T13:06:42.975971
2017-03-10T12:02:30
2017-03-10T12:02:30
82,479,422
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-18 18:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shares', '0008_auto_20170218_2106'), ] operations = [ migrations.AddField( ...
[ "kolya.khokhlov@gmail.com" ]
kolya.khokhlov@gmail.com
566f7fe7adac4f3e60a1df3d58f77ea9f53eda7d
f22d31484a12d001826c1775a6f2d245a720fce8
/Introdução à Programação com Python/Do autor/Códigi fonte e listagem/listagem/capitulo 05/05.10 - Contagem de questões corretas.py
94220dbdaf11aa24f9b075ebf42e8fc3747daf6f
[]
no_license
eduardoprograma/linguagem_Python
9eb55f0a5a432a986e047b091eb7ed7152b7da67
942aba9146800fc33bbea98778467f837396cb93
refs/heads/master
2021-07-07T20:48:37.673101
2020-07-31T21:24:17
2020-07-31T21:24:17
159,852,510
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2017 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Primeira reimpressão - Outubro/2011 # Segunda reimpressão - ...
[ "eduardo.candido@fatec.sp.gov.br" ]
eduardo.candido@fatec.sp.gov.br
461eeec321d529c29878dcb64812490da5702fda
7938413839bb664b97769c2d7a72664b7ab80a64
/tests/test_forms.py
bef9c1a8488fedd534e226e87159d4a5497f46ce
[ "BSD-3-Clause" ]
permissive
yurkobb/django-contact-form
a9268bdf357f7746ca38f34adf2d9a05deed5c8b
3a160183458f4a782fc8d23f88807689d1335d10
refs/heads/master
2020-09-24T09:33:24.313968
2019-10-04T09:24:10
2019-10-04T09:24:10
225,729,641
0
0
BSD-3-Clause
2019-12-03T22:27:53
2019-12-03T22:27:52
null
UTF-8
Python
false
false
6,323
py
import os import unittest from django.conf import settings from django.core import mail from django.test import RequestFactory, TestCase from django.utils.six import text_type import mock from contact_form.forms import AkismetContactForm, ContactForm class ContactFormTests(TestCase): """ Tests the base Cont...
[ "james@b-list.org" ]
james@b-list.org
1d39e93c056e4c8546343a22db34e45dab76f66d
56dff287f055067b3c08dcbbad0c5df09377cab5
/myshop/urls.py
75a244fd38b3cf95124769c5247992ace63fdd8e
[]
no_license
antonmazun/kursach_project
971b37435a5fe231afe24a57a497bba6f417b0d0
04ee570b1975791e1a1c22ac76bbdc55f5accbd8
refs/heads/master
2021-01-13T14:40:30.541635
2016-12-17T07:16:45
2016-12-17T07:16:45
76,683,535
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
"""myshop URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "kpi.study1@gmail.com" ]
kpi.study1@gmail.com
ef0abb1939ca922caa44de6b6f2b04e213bf49d4
0cf7dd2c3c0b28b52f1273e8fe2ea0a87cacc6af
/futval_graph_2.py
59a74b1035887410d2c7ae4724dc960ecaacca5f
[]
no_license
EngrDevDom/Everyday-Coding-in-Python
61b0e4fcbc6c7f399587deab2fa55763c9d519b5
93329ad485a25e7c6afa81d7229147044344736c
refs/heads/master
2023-02-25T05:04:50.051111
2021-01-30T02:43:40
2021-01-30T02:43:40
274,971,215
1
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
# File : futval_graph_2.py # Desc : Future Value Graph Version 2.0 from graphics import * def main(): # Introduction print("This program plots the growth of a 10-year investment.") # Get principal and interest rate principal = float(input("Enter the initial principal: ")) apr = float(input(...
[ "60880034+EngrDevDom@users.noreply.github.com" ]
60880034+EngrDevDom@users.noreply.github.com
ca14417a5fd678ba5eb1b37a8aa1ddfa86d0688c
82149a84b47fb37238452a658d5f3a8f23342658
/pushbase/message_box_component.py
563dab44d1e184f89d5ad92aec6a767a6d607eb8
[]
no_license
maratbakirov/AbletonLive11_MIDIRemoteScripts
408c90522d8f54b878e595b0d8af28ad5008a4a1
2b25ba9351764c49f7fd1f99875e28e67b002f30
refs/heads/master
2023-04-12T04:44:16.715220
2021-05-09T11:48:24
2021-05-09T11:48:24
365,708,395
3
0
null
null
null
null
UTF-8
Python
false
false
6,551
py
#Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/pushbase/message_box_component.py from __future__ import absolute_import, print_function, unicode_literals from builtins import map from builtins import object import re from future.moves.itertools im...
[ "mbakirov@hotmail.com" ]
mbakirov@hotmail.com
c8c7fc85d28ffc62c00ad9995fef8973968eb8be
b63142e8540cb30bb0c663332e29a4112721073e
/901_closest_binary_search_tree_value_II.py
7c734dae6192625113de43b849bed05bdabc682b
[]
no_license
HaydenInEdinburgh/LintCode
025bb2f0d75686097061de324c0fd292536dbb14
dbeae2bf631e57667d1415164d452d5ca2df7447
refs/heads/master
2023-08-18T19:52:54.561623
2021-10-06T21:46:50
2021-10-06T21:46:50
370,733,548
0
0
null
null
null
null
UTF-8
Python
false
false
2,092
py
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param root: the given BST @param target: the given target @param k: the given k @return: k values in the BST that are closest to the ta...
[ "bony960323@gmail.com" ]
bony960323@gmail.com
662c08229760c0a9763d7d467b8797d9e6268021
f68ec37ae975d3aaff2ab3d6a0bae11a2cc432fa
/iot_message/tests/test_plain_cryptor.py
7909cbc06e25c672eddf4706f64f472276ea30a7
[ "MIT" ]
permissive
bkosciow/python_iot-1
3f78a0b2ec18949e579a75132a838a7793d6bbe8
f3cd2bdbb75cb9afe13fecb603b5b8c026d23500
refs/heads/master
2021-04-29T01:00:10.595553
2019-10-27T19:09:46
2019-10-27T19:09:46
77,786,513
0
0
MIT
2019-10-27T19:09:47
2017-01-01T16:24:51
Python
UTF-8
Python
false
false
1,394
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- #pylint: skip-file from nose.tools import assert_equal from iot_message.cryptor.plain import Cryptor from iot_message.message import Message __author__ = 'Bartosz Kościów' import iot_message.factory as factory class TestCryptorPlain(object): def setUp(self): ...
[ "kosci1@gmail.com" ]
kosci1@gmail.com
d7a51028837d657019f9ce5cb1f457861af7fb4f
e9757274ddb8484e27590ff0cc3f24550776c6cc
/Solved/0090/0090.py
2e9cf4d9d2394d5db0791134951f59d920d1fab6
[]
no_license
Jinmin-Goh/LeetCode
948a9b3e77eb03507aad6f3c78640aa7f00e6ad5
d6e80b968032b08506c5b185f66d35c6ff1f8bb9
refs/heads/master
2020-09-22T10:22:18.443352
2020-09-06T06:34:12
2020-09-06T06:34:12
225,153,497
1
1
null
2020-01-29T15:16:53
2019-12-01T11:55:25
Python
UTF-8
Python
false
false
642
py
# Problem No.: 90 # Solver: Jinmin Goh # Date: 20200105 # URL: https://leetcode.com/problems/subsets-ii/ import sys class Solution: def subsetsWithDup(self, nums: List[int]) -> List[List[int]]: ans = [[]] nums.sort() for i in range(len(nums)): temp = [] ...
[ "eric970901@gmail.com" ]
eric970901@gmail.com
1a16421fb2838a45d9e6547212bb8e2eb6d37eeb
23b686feb2d0ab9082a7ce622fc055946ed99c55
/.history/atkd/views_20190410194907.py
7a0a09bfdb29f76eeeb07e0da6fa0ffd18751db4
[]
no_license
jasvr/atkd
a18b9840bf9948a7560684cd5eb0d5e22f6c52c7
daf61f7aa11cfc812171298894b1d0019641c4bd
refs/heads/master
2020-05-07T09:35:56.343837
2019-04-12T16:17:09
2019-04-12T16:17:09
180,383,260
1
0
null
null
null
null
UTF-8
Python
false
false
535
py
from django.shortcuts import render from .models import Parent, Student def parent_list(request): parents = Parent.objects.all() return render(request, 'atkd/parent_list.html', {'parents': parents}) def parent_detail(request, pk): parent = Parent.objects.get(id=pk) return render(request, 'atkd/parent_...
[ "jas.vrgs@gmail.com" ]
jas.vrgs@gmail.com
b08f9607a37ab94a68b28bf4a97f2e2c7d373c85
0a0b75df10cb4643a2a9124750239f85bb0abadf
/dataset/arxiv_ordering.py
8c95621558da411473c4112a7be5e95129c8ec1c
[ "MIT" ]
permissive
baotg080599/passage-ordering
1d8eaac939c08f21c398425af819f49544af809d
f63b993dfd5b7e6475e7fb8950c23c3f22951979
refs/heads/main
2023-09-05T21:04:05.172285
2021-11-22T11:18:26
2021-11-22T11:18:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,542
py
# coding=utf-8 # Copyright 2020 The TensorFlow Datasets Authors and the HuggingFace NLP 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...
[ "remi.calizzano@gmail.com" ]
remi.calizzano@gmail.com
cb33f0219b3459387def27f934269bb9559ff9cf
3f60b999ea7bda83c9586f75f52463dc20337f24
/sensitive_user_portrait/influence_application/user_list.py
123e10e3ce502ea62b35a1d374c6cac5452c08ff
[]
no_license
jianjian0dandan/sensitive_user_portrait
629e49ce71db92b50634bac9c828811cdb5381e9
cacc30267ebc0e621b1d48d4f1206277a0f48123
refs/heads/master
2021-01-20T23:18:07.138057
2016-05-22T12:09:40
2016-05-22T12:09:40
42,869,287
0
0
null
2015-09-21T13:55:12
2015-09-21T13:55:11
null
UTF-8
Python
false
false
1,754
py
# -*- coding:utf-8 -*- writer = ['1311967407', '1195347197', '1142648704', '1889213710', '1706987705'] expert = ['1827652007', '1265965213', '1596329427', '1908195982', '2248789552'] grassroot = ['1220291284','1677126410', '1635764393', '2682546440', '3188186580', '1665808371', '1751124681', '2721237781', '2971141...
[ "1257819385@qq.com" ]
1257819385@qq.com
ad5ccba0f6cdf7b7f5ac9268a639d3d4f3c37905
22b64b8157f8a1daa55f4508ca0a28e356329d94
/809.column_density.py
dc6c3b8c71b55fed067bd24764fbd01b93a2ad6d
[]
no_license
GiantMolecularCloud/NGC253-turbulent-gas-structure
2edc96a8b6e6b407217f8d34459a1d6a3b155b8c
d2c47e62f412bfb3665bcde5754221e40214ff7b
refs/heads/main
2023-03-02T13:47:53.191569
2021-02-05T16:32:15
2021-02-05T16:32:15
336,327,376
0
0
null
null
null
null
UTF-8
Python
false
false
7,098
py
############## # DENDROGRAM # ############## ################################################################################################### # load data ################################################################################################### execfile(join(scriptdir, '800.info.py')) data = fnunpi...
[ "26749617+GiantMolecularCloud@users.noreply.github.com" ]
26749617+GiantMolecularCloud@users.noreply.github.com
b46d4b24129fca46f968e5c52580c6c91b8043f9
979ee8dcf0ca0c4c249809bbac86c7a781c2e98d
/tensorflow_datasets/image/mnist.py
265e602b62665c4d4d327b3bdd0e63be1f6e7108
[ "Apache-2.0" ]
permissive
MODU-FTNC/tensorflow-datasets
c315602bcb50830e05d6a4c8968d20e7f1d5a3f5
1565c40e3d8a9d6ecf186cb53117d4bd998b4437
refs/heads/master
2020-04-02T21:51:33.243567
2018-10-24T19:04:41
2018-10-24T19:05:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,017
py
# coding=utf-8 # Copyright 2018 The TensorFlow Datasets 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 appl...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
ae8418d13bffc926264d2ff5a2082318766d25f5
57cf3fca43dd108f0d1626ab411177dc0604385c
/mozbuilddata/exporter.py
4504541d5dab43bb4675af50992d752b6121348f
[]
no_license
indygreg/mozilla-build-analyzer
d5b8ec2a49a23b244fb214c52a60ce7a8f6bf659
108c81610e6b9f5cd8ebcf322d15158cea8a8c70
refs/heads/master
2021-01-11T08:31:07.125777
2013-08-21T22:07:14
2013-08-21T22:07:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,650
py
# 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/. import datetime import errno import json import os class JSONExporter(object): def __init__(self, conn, path): ...
[ "gregory.szorc@gmail.com" ]
gregory.szorc@gmail.com
9999cfa6cbfc157f54994c94631a64343430436d
c577f5380b4799b4db54722749cc33f9346eacc1
/BugSwarm/scikit-learn-scikit-learn-405440735/buggy_files/sklearn/linear_model/tests/test_least_angle.py
15df84177e66d95ee0d07414c7bbb4ac4a699fc9
[ "BSD-3-Clause" ]
permissive
tdurieux/BugSwarm-dissection
55db683fd95f071ff818f9ca5c7e79013744b27b
ee6b57cfef2119523a083e82d902a6024e0d995a
refs/heads/master
2020-04-30T17:11:52.050337
2019-05-09T13:42:03
2019-05-09T13:42:03
176,972,414
1
0
null
null
null
null
UTF-8
Python
false
false
26,892
py
import warnings from distutils.version import LooseVersion import numpy as np from scipy import linalg import pytest from sklearn.model_selection import train_test_split from sklearn.utils.testing import assert_equal from sklearn.utils.testing import assert_array_almost_equal from sklearn.utils.testing import asser...
[ "durieuxthomas@hotmail.com" ]
durieuxthomas@hotmail.com
286ae249433950b017b9abd83b42271e3242490c
7029073a12cf93e066e2b2e51134160d8c5c2b6d
/tango_with_django_project/rango/migrations/0002_auto_20190606_1734.py
c924bc8c3da1075575b89d9c75c256e34b2979ca
[]
no_license
eflipe/tango-with-django-and-polls
c85898808e2103a8b95aa290caceb5a8ce5b3bf9
cc91f7cf5f219ec945035e98628363ad4c56b023
refs/heads/master
2020-06-04T02:16:34.155465
2019-06-26T14:45:20
2019-06-26T14:45:20
191,830,646
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
# Generated by Django 2.1.5 on 2019-06-06 20:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rango', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='category', options={'verbose_name_plur...
[ "felipecabaleiro@gmail.com" ]
felipecabaleiro@gmail.com
b6a3316fb8d4683775360c8b0ba25f6e49ae3e68
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03852/s966510800.py
2b804b35488391e38ae1b2a96d024bb448a9d5da
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
import sys input = lambda: sys.stdin.readline().rstrip() def main(): c = input() str = ['a', 'i', 'u', 'e', 'o'] if c in str: print('vowel') else: print('consonant') if __name__ == '__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9cf28886a88e6788f61893d95e128594c5d472c1
37cde98734ebe6cc99a390c8ae2f049346ffbe88
/sort_for_forecast.py
ecec9b034a219c5940ec96d52cd2d383d1c90ced
[]
no_license
Dimon0014/Zapis_chtenie_03_12
4d36efaf2667263e163cec1dd5d64c9c8f3f0422
d32e9eeb968ff9f6c9339a8e33219f166f757687
refs/heads/master
2021-09-09T16:40:39.751513
2018-03-18T05:21:33
2018-03-18T05:21:33
113,576,736
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
from operator import itemgetter from collections import OrderedDict d = {(37,36):[ 1,[1, 2], 33],(37,35):[ 11,[101, 102], 31]} x = {1: 2, 3: 4, 4: 3, 2: 1, 0: 0} sorted_x = (sorted(d.items(), key=lambda t: t[1][2])) # работает по последней цифре из списка # OrderedDict([(0, 0), (2, 1), (1, 2), (4, 3), (3, 4)]) print(so...
[ "toropov0014@mail.ru" ]
toropov0014@mail.ru
20bb6ca5b8cb7ce87db17974d93530e6b68b9bf4
7c2dcfefcf9eec3f12095b304541048f4e23cb6f
/butn-eg1.py
123a91a0706998fec8708fb2180707c671586d07
[]
no_license
mamaker/eupy
b042e6f43601235afc290c25c62e58f8622643ee
8700ae7f22cda3be7170cf153205e8b41a943d4b
refs/heads/master
2020-05-23T11:02:50.835477
2019-05-15T01:57:56
2019-05-15T01:57:56
186,731,088
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ butn-eg1.py Created on Tue May 14 14:12:58 2019 @author: madhu """ import tkinter as tk def write_slogan(): print("Tkinter is easy to use!") root = tk.Tk() frame = tk.Frame(root) frame.pack() button = tk.Button(frame, text="QUIT", ...
[ "madhuvasudevan@yahoo.com" ]
madhuvasudevan@yahoo.com
a88577bd3025afd548ec507773aec881739a8541
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02402/s285849568.py
4fafd999b2f74b08bae833e0e846df311a76b6ef
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
#coding:utf-8 n = input() a = [] a_input = raw_input().split() for i in a_input: a.append(int(i)) print min(a), max(a), sum(a)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6a72b8899c4d9357de5c92967a680fdad3f299a6
434b6556038ad326ffaa8584a8a91edf8ad5c037
/GenericTrees-1/NumNodes.py
fdc36e9ff4df334a4381f17d45707aef4923454a
[]
no_license
Pranav016/DS-Algo-in-Python
60702460ad6639dd3e8a1fdc3caf0821b8e0b4c2
5557e371ccdf801d78ba123ca83c0dd47b3bdb3b
refs/heads/master
2023-01-23T08:29:32.186861
2020-11-01T17:14:12
2020-11-01T17:14:12
284,651,382
3
1
null
null
null
null
UTF-8
Python
false
false
1,255
py
class TreeNode: def __init__(self,data): self.data=data self.children=list() def printTree(root): if root is None: return print(root.data) for child in root.children: printTree(child) def printTreeDetailed(root): if root is None: return print(root.data,...
[ "pranavmendi@gmail.com" ]
pranavmendi@gmail.com
878eb2b6b84778f9c3205b98ff27172ba0646c63
f539db814fce098f71192e6b4922be53687d140e
/azure-cognitiveservices-vision-contentmoderator/azure/cognitiveservices/vision/contentmoderator/models/phone_properties.py
3899065bcfe7573352ca53101bcb53f4b00b8028
[ "MIT" ]
permissive
marki555/azure-sdk-for-python
1eb7abe1de5f13db7bd6654f2eb517544e4950dc
adc3a3bf4ddb06ab8207bbabf8910577e96d2512
refs/heads/master
2021-08-28T08:32:50.974402
2017-12-11T17:36:06
2017-12-11T17:36:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
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 ...
[ "laurent.mazuel@gmail.com" ]
laurent.mazuel@gmail.com
409819f0c59ef097758fd6cba4b76ab3e963f738
4a240d06679e464f885228b3a08c91644b4af65d
/0118. Pascal's Triangle.py
21ea6a88fad0487d4d9331b9b87abc494ee31cd7
[]
no_license
CaizhiXu/LeetCode-Solutions-Python-Weimin
f46a75797c32eb3ff8c884eea2c6e31e18a47c1e
48d63c98beac4260b2b2b4dff26139d19752d125
refs/heads/master
2022-02-24T06:22:36.085101
2019-09-18T04:03:19
2019-09-18T04:03:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
# dynamic programming, space O(n), time O(n^2) # bottom up # https://leetcode.com/problems/pascals-triangle/ class Solution(object): def generate(self, numRows): """ :type numRows: int :rtype: List[List[int]] """ if numRows < 1: return [] elif numRows == ...
[ "noreply@github.com" ]
CaizhiXu.noreply@github.com
ed322316c06fedeff412830f9458b976b3b6a53f
c828f5c86e8ae7a157bd3f212c4bd754ee04e5e7
/exercise_coding_test_1.py
e4f3de6db1535257feb85c9bf02006381dbf19d7
[]
no_license
SeungHune/beakjun
c319e33f10a3dfd3acb090a7872b900ed92c5419
5d4610557aa56efc41053954299924ab890812f2
refs/heads/master
2020-12-03T04:37:48.054739
2020-11-10T10:50:17
2020-11-10T10:50:17
231,204,761
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
# 해시 - 완주하지 못한 선수 def solution(participant, completion): participant.sort() # print(participant) completion.sort() # print(completion) for i in range(len(completion)): if participant[i] != completion[i]: return participant[i] return participant[-1] print(solution(["leo", "k...
[ "xyz9080@naver.com" ]
xyz9080@naver.com
9fe0d8ccd1b7e3c64db5f15e1b6b6322e84cb7b0
f54d702c1289b2b78f423850d7fedba6c9378126
/Python/Sets/set-discard-remove-pop.py
c14b54b2998a1f2696af860af61e098f00d6a952
[ "MIT" ]
permissive
ekant1999/HackerRank
81e6ac5bec8307bca2bd1debb169f2acdf239b66
084d4550b4eaf130837ab26a4efdbcaf8b667cdc
refs/heads/master
2020-05-02T09:19:10.102144
2016-10-27T04:10:28
2016-10-27T04:10:28
177,868,424
0
0
MIT
2019-03-26T21:04:17
2019-03-26T21:04:17
null
UTF-8
Python
false
false
378
py
n = input() s = set(map(int, raw_input().split())) c = int(raw_input()) for i in range(c): command = raw_input().split() if command[0] == 'pop': s.pop() elif command[0] == 'remove': s.remove(int(command[1])) elif command[0] == 'discard': s.discard(int(command[1])) ...
[ "ugali_guy@hotmail.com" ]
ugali_guy@hotmail.com
275d4cf639767b26b5534e0e960c0fbfebb14e65
1e50d8c2217ffd5dca17bf0da539ff98e22be990
/tests/test_utils.py
a3597ccb51723e9b482e201120174823b64037e1
[ "CC-BY-4.0", "MIT" ]
permissive
matslindh/dtedifier
2c90ae69ed6e20559839d4ac58c8b7a8a099480c
daad614f4d3ee4e0b88e832f5b07128eba2f0602
refs/heads/master
2022-09-28T18:15:29.056421
2020-05-29T13:40:21
2020-05-29T13:40:21
267,865,651
0
0
null
null
null
null
UTF-8
Python
false
false
1,167
py
from dtedifier.utils import ( degrees_string_to_float, na_or_int, empty_or_int, convert_signed_16bfixed, ) from pytest import ( approx ) def test_degrees_string_to_float(): assert degrees_string_to_float('1001010E') == approx(100.16944444) assert degrees_string_to_float('0505959E') == app...
[ "mats@lindh.no" ]
mats@lindh.no
32374aebf85565af27a3add23cec07466aaa07aa
e121dcc5d23e225891420e730549b9cc7ebe8e88
/python/lib/direct/extensions_native/VBase3.py
f54e3e8a89de985505c6438f24eb3c6957a91610
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
PlumpMath/panda3d-3
4f4cf7627eddae9b7f30795e0a0657b01fdf670d
5c0be0e1cd46b422d28d5b81ffb1e8b28c3ac914
refs/heads/master
2021-01-25T06:55:36.209044
2014-09-29T14:24:53
2014-09-29T14:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
""" Methods to extend functionality of the VBase3 class """ from panda3d.direct.extensions_native.Helpers import * Dtool_PreloadDLL("panda") from panda import * def pPrintValues(self): """ Pretty print """ return "% 10.4f, % 10.4f, % 10.4f" % (self[0], self[1], self[2]) Dtool_funcToMethod(pPrintValue...
[ "ralf.kaestner@gmail.com" ]
ralf.kaestner@gmail.com
f0b7b2b37d848ed15bfc888c0eba84a61cbd2f51
5e80f0b1af9fbf9dc774dbb68aa603574e4ae0ba
/algorithm-study/leetcode/climbing-stairs.py
ca3dca47f2b76b821331f45202cfeefc9033a5d6
[]
no_license
namujinju/study-note
4271b4248b3c4ac1b96ef1da484d86569a030762
790b21e5318a326e434dc836f5f678a608037a8c
refs/heads/master
2023-02-04T13:25:55.418896
2020-12-26T10:47:11
2020-12-26T10:47:11
275,279,138
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
def climbStairs(n): if n <= 2: return n arr = [1, 2] for i in range(n-2): arr.append(arr[-1]+arr[-2]) return arr[n-1] n = 4 print(climbStairs(n))
[ "59328810+namujinju@users.noreply.github.com" ]
59328810+namujinju@users.noreply.github.com
2bbf4d931135df1477a8e41fcae63595118ead1e
8076124f4087781e0513dbe09c0f43dc6a861ab0
/src/sentry/mediators/external_requests/util.py
f3775d3ac28f7b2ab5638ec645a128b03c78f206
[ "BSD-2-Clause" ]
permissive
sharmapacific/sentry
75e3356f87cb5a1e812e0974b081fd47852dfe33
fceabe7cb84de587fe05b2c36edc013058e7e55a
refs/heads/master
2020-08-19T00:13:48.748983
2019-10-17T17:09:06
2019-10-17T17:09:06
215,851,537
1
0
BSD-3-Clause
2019-10-17T17:43:49
2019-10-17T17:43:49
null
UTF-8
Python
false
false
953
py
from __future__ import absolute_import from jsonschema import Draft4Validator SELECT_OPTIONS_SCHEMA = { "type": "array", "definitions": { "select-option": { "type": "object", "properties": {"label": {"type": "string"}, "value": {"type": "string"}}, "required": ["lab...
[ "noreply@github.com" ]
sharmapacific.noreply@github.com
f20e2a525e425c4f6bb3fa847e3b214c7e761cdc
cceda0ed268253be60c549ee957804d367bc3ca3
/from_cpython/Lib/test/test_dictcomps.py
60b2dc0cb3a8e085690d52cff40c7cb34ac48b7d
[ "Python-2.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
mcanthony/pyston
3bc6a45e5c118fb6860427c9b0cc885dec8f5b6e
eed1d41307b578ff8d873b92b8b4db24775d5daf
refs/heads/master
2020-12-29T00:55:11.099535
2015-10-23T22:28:07
2015-10-23T22:28:07
44,902,270
2
0
null
2015-10-25T08:34:09
2015-10-25T08:34:08
null
UTF-8
Python
false
false
3,866
py
# expected: fail import unittest from test import test_support as support # For scope testing. g = "Global variable" class DictComprehensionTest(unittest.TestCase): def test_basics(self): expected = {0: 10, 1: 11, 2: 12, 3: 13, 4: 14, 5: 15, 6: 16, 7: 17, 8: 18, 9: 19} actua...
[ "daekharel@gmail.com" ]
daekharel@gmail.com
8c8f9ea9bae907e335aa983e57ae69c1969f4aca
177d3f04c566e9de05a2fd651a4d91d24dfdb4d2
/exifcleaner.py
c6bd3078cdd1dbab5c09cd5d4f3ecd6c4b9344c5
[]
no_license
luisgf/exifcleaner
5c7ebe941f6930f2173b6eb9f5a9ba73d91cf74f
de1954e7514929acba8cf02096cd06023adf770d
refs/heads/master
2021-01-10T19:43:31.690766
2015-12-28T13:21:12
2015-12-28T13:21:12
35,278,798
2
1
null
null
null
null
UTF-8
Python
false
false
3,245
py
#!/usr/bin/env python3 """ EXIF Cleaner. A tool to clean EXIF metadata from files Luis González Fernández (c) 2015 luisgf at luisgf . es """ import os import sys from subprocess import check_call, CalledProcessError, DEVNULL class ExifCleaner(): def __init__(...
[ "luisgf@luisgf.es" ]
luisgf@luisgf.es
1d1b804b1e7e0fe0ee563309b987e0186f53edc9
d305e9667f18127e4a1d4d65e5370cf60df30102
/mindspore/ops/_op_impl/tbe/layer_norm.py
2414b9bcb3d9ac3edd5a9d50cc364f6a9c0e3a43
[ "Apache-2.0", "MIT", "Libpng", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "AGPL-3.0-only", "MPL-2.0-no-copyleft-exception", "IJG", "Zlib", "MPL-1.1", "BSD-3-Clause", "BSD-3-Clause-Open-MPI", "MPL-1.0", "GPL-2.0-only", "MPL-2.0", "BSL-1.0", "LicenseRef-scancode-unknow...
permissive
imyzx2017/mindspore_pcl
d8e5bd1f80458538d07ef0a8fc447b552bd87420
f548c9dae106879d1a83377dd06b10d96427fd2d
refs/heads/master
2023-01-13T22:28:42.064535
2020-11-18T11:15:41
2020-11-18T11:15:41
313,906,414
6
1
Apache-2.0
2020-11-18T11:25:08
2020-11-18T10:57:26
null
UTF-8
Python
false
false
1,921
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "513344092@qq.com" ]
513344092@qq.com
1d3d42f917cfbf6d11fe41892de5d8a866f19c15
dad45eb1fb0505a7b515c68eda08f004ca0d6c0e
/algorithms/ellipticCurves.py
e654bc34b8fecf2d1f8416ad8ddb5592f79a7c73
[ "MIT" ]
permissive
jaanos/kirv
8132785436a834460725d46ee9089c685f1cedda
8ea0a106a1eee1f22d46c6613f09f533678d2ed1
refs/heads/master
2023-01-06T05:26:19.075970
2022-12-27T17:50:54
2022-12-27T17:50:54
112,191,005
7
3
MIT
2020-10-21T17:59:26
2017-11-27T12:01:35
Jupyter Notebook
UTF-8
Python
false
false
1,819
py
from .euclidean import inverse from .util import xxrange def points(params): """ Find all points on an elliptic curve y^2 = x^3 + ax + b over a field with p elements with characteristic greater than 3. """ a, b, p = params sqrt = {x: [] for x in xxrange(p)} sqrt[0].append(0) for x in xx...
[ "janos.vidali@fmf.uni-lj.si" ]
janos.vidali@fmf.uni-lj.si
d0ee3b1ff7c46b38cc69612bc693a3c46b9c79fa
dff65cb5c1c68a452830650e2df0efb9351b715a
/2-MAY-2016_Assignment/python/removeat.py
3491e9ac84b0ba1c847c06fdfb6194964876b298
[]
no_license
vishnusak/DojoAssignments
194f2ff5f200d431110d89a81be1341d2f565055
fb6b5384016e58490fbe6999a4651743fcde8692
refs/heads/master
2020-04-06T09:20:44.291863
2016-10-26T13:30:05
2016-10-26T13:30:05
55,562,579
0
1
null
null
null
null
UTF-8
Python
false
false
1,073
py
# Remove At # Given array and an index into array, remove and return the array value at that index. Do this without using built-in array methods except pop() . Think of PopFront(arr) as equivalent to RemoveAt(arr,0) . # steps: # 1 - assign value of required index to the return variable # 2 - move all elements from...
[ "vishnusak@gmail.com" ]
vishnusak@gmail.com
2faaf13fffa6514aabd159c763c83841c52b60c8
0e9b2916470bc355f778c9d9c066eeb142a937f8
/struct2tensor/expression_impl/parquet.py
ff663241d42857c5e0ec3a1b91bacf08942150c4
[ "Apache-2.0" ]
permissive
google/struct2tensor
9805515f9b4e9da458dec67f435423e5c26064f7
86d8676ac295697853be8a194460e4d71de3990f
refs/heads/master
2023-09-02T01:53:48.350908
2023-08-10T18:46:22
2023-08-10T18:46:56
196,274,653
36
41
Apache-2.0
2023-08-10T18:50:01
2019-07-10T21:02:42
Python
UTF-8
Python
false
false
19,120
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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
64ac7d923348dc3b2424ff077f7bbb9981d7d925
31014bf4464a5fae77ff86241ae15cfdd71ccb9e
/gnomics/objects/anatomical_structure_files/caro.py
585227e09243676728f164cf37246900f31a4e24
[ "BSD-3-Clause", "BSD-2-Clause-Views" ]
permissive
izhangcd/Gnomics
14de8f90960f88d3eb2f2a49c94fa3a0f8048a2d
bd0fb4e7be009b2afe1c2667f2890c712ae0ad9d
refs/heads/master
2021-09-09T03:42:40.953105
2018-03-13T16:05:17
2018-03-13T16:05:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
#!/usr/bin/env python # # # # # # # IMPORT SOURCES: # # # # Common Anatomy Reference Ontology (CARO). # # PRE-CODE import faulthandler faulthandler.enable() # IMPORTS # Imports for recognizing modules. import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), "../../..")) # Import ...
[ "charles.kronk@gmail.com" ]
charles.kronk@gmail.com
eb703ff151fe9213cc4a4e74f1ae4110553b205c
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/third_party/llvm/expand_cmake_vars.py
2197698837f1d209a363f796d8db6886d686d70c
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
2,767
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
d211cd9a32864330bf938f5f881ee0e2753c328a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2737/60593/254924.py
559e2d68a0fc4a972e5eecb3b97eaa9b07420a80
[]
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
397
py
a=eval(input()) cm=0 cn=0 m=0 n=0 for i in a: if(i==m): cm+=1 elif(i==n): cn+=1 elif(cm==0): m=i cm=1 elif(cn==0): n=i cn=1 else: cm-=1 cn-=1 cm=0 cn=0 for i in a: if(i==m): cm+=1 elif(i==n): cn+=1 res=[] if(cm>l...
[ "1069583789@qq.com" ]
1069583789@qq.com
fe566ec84f6894c4e4ceed91b8fb7202418afba3
8952afe242c836b516c6236cf0987676cfb7abf7
/TaobaoSdk/Request/SellercenterUserPermissionsGetRequest.py
c9f37ef7d916d816fc56b7ede1d4da4f103f2062
[]
no_license
xieguanfu/TaobaoOpenPythonSDK
2fc20df983811990a2d981379c9da6c1117f9f21
88cdab41ba19a2326aa4085c92455697bd37d8d7
refs/heads/master
2021-01-18T14:38:51.465614
2014-08-21T05:44:42
2014-08-21T05:44:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,182
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim: set ts=4 sts=4 sw=4 et: ## @brief 获取指定用户的权限集合,并不组装成树。如果是主账号,返回所有的权限列表;如果是子账号,返回所有已授权的权限。只能查询属于自己的账号信息 (如果是主账号,则是主账号以及所属子账号,如果是子账号则是对应主账号以及所属子账号) # @author wuliang@maimiaotech.com # @version: 0.0.0 import os import sys import time def __getCurrentPath(): re...
[ "liyangmin@maimiaotech.com" ]
liyangmin@maimiaotech.com
a0256ae799eee5f88ab513b7a53e1e61b8802ff8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_304/ch30_2019_03_22_13_13_50_872840.py
2dc4f4c0e8660f0b4ce64b93dc3369535be2c7b0
[]
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
242
py
import math v=int(input('qual é a velocidade? ')) a=int(input('qual é o angulo? ')) r=(a*mathi.pi)/180 d=(v**2 * (math.sin(2*r)))/9.8 if d<=98: print('Muito perto') elif d>=102: print('Muito longe') else: print ('Acertou!')
[ "you@example.com" ]
you@example.com
32aeab6cc7b86ecb32e647dae4e1b1f7b2d6b2b7
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/uugzpwJXKdiESZbjM_12.py
0b959d83852aa9daf41c4758204d29c248f28006
[]
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
700
py
""" Create a function that determines whether or not a player is holding a **Full House** in their hand. A hand is represented as a list of 5 cards. A full house is defined as a pair of cards and a three-of-a-kind. To illustrate: `["A", "A", "A", "K", "K"]` would be a **Full House** , since the player holds 3 aces ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
496c48ec6b7c11f47ad5fbcf46c65d16d7712f7e
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2011.1/network/connection/openconnect/actions.py
5b670dd034baf8d5d77b5d8818ec40931144eed4
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
# -*- 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 autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def build(): autotools.make("OPT_FLAGS='%s' openconn...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
06c6745e6392d7d569d51badf6a793b8f4123198
d552a3c92155d82ad146cd99ea9b8b4a3b65eab7
/openstack/cloud/_accelerator.py
b28ac1f6b37ddd125b92ebcabd89945e5482d8e2
[ "Apache-2.0" ]
permissive
jlyheden/openstacksdk
600201d4fbf23fd8a4fa9a53b398b29811446051
7e0dcaaa4a69b17b97e746ce8de104689c60becc
refs/heads/master
2022-11-30T19:15:16.113961
2020-06-07T18:02:22
2020-06-07T18:02:23
270,694,856
0
0
Apache-2.0
2020-06-08T14:15:36
2020-06-08T14:15:35
null
UTF-8
Python
false
false
5,707
py
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the...
[ "mordred@inaugust.com" ]
mordred@inaugust.com
4941e8f118771aa5bc373cb3e248e556ca14e33a
c088967f6fcd2cfbae48ad9eb757935ba8783b8b
/nikola/data/themes/base/messages/messages_ja.py
4a238ccc164b4b5bf3d58505c1e34be7a882403d
[ "MIT" ]
permissive
verbalshadow/nikola
281bafcf52b725bc0e54f99691d17f2a7fd9d95c
1e12b9525227ac223d80beb3e537a7b9eb637fc5
refs/heads/master
2021-01-18T08:26:36.867146
2013-09-18T15:41:39
2013-09-18T15:41:39
12,930,300
0
1
null
null
null
null
UTF-8
Python
false
false
839
py
# -*- encoding:utf-8 -*- from __future__ import unicode_literals MESSAGES = { "Also available in": "他の言語で読む", "Archive": "過去の記事", "Categories": "", "LANGUAGE": "日本語", "More posts about": "タグ", "Newer posts": "新しい記事", "Next post": "次の記事", "Older posts": "過去の記事", "Original site": "元のサ...
[ "ralsina@netmanagers.com.ar" ]
ralsina@netmanagers.com.ar
d422609448dc381fa6c35856a2abe8a58b6fbd74
d400c32010a414a2f536c5c0a3490c8b8e2e9d5a
/resources/upgrades/deploy/farmer.py
b7aa3982bd3e52615ce756b21c060c1ce309897c
[ "LicenseRef-scancode-public-domain" ]
permissive
CarlosCorreiaM16e/chirico_cms
3e521eae8f38b732497a2b808950c6a534e69d4f
73897cbddb230630e13f22333b9094d0a047acb3
refs/heads/master
2020-12-30T07:59:04.100330
2020-05-02T12:26:58
2020-05-02T12:26:58
238,917,321
2
0
null
null
null
null
UTF-8
Python
false
false
17,682
py
# -*- coding: utf-8 -*- import sys from fabric.contrib import console from deploy import deploy_menu, db_utils, deploy_utils from deploy.app import AppExistsException from deploy.config import Config from m16e import term __author__ = 'carlos@memoriapersistente.pt' __version__ = "0.1.0" def init_app( cfg ): ap...
[ "carlos@memoriapersistente.pt" ]
carlos@memoriapersistente.pt
abcf3cb3d023f19268c08f7a3479b54c66c941e0
83762584d226f2c9ccbf42d5f745cf95baa71247
/Practice/Word palindrome.py
9ddf33de50fdce2ac8d3557ad0f48c486b28adae
[]
no_license
anmolpanwar/python-practice
85f420e57b8b3e4295b5759b451e6b2673731b6f
831d8c6eeed8ff08a5d282bdac8c897f39dd4c6f
refs/heads/master
2020-12-18T22:52:14.226202
2020-02-05T06:22:14
2020-02-05T06:22:14
235,538,582
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
def is_palindrome(word): newword = word.lower() list1 = list(newword.strip()) strn = '' list1.reverse() for i in list1: strn+=i pal = newword+strn if strn == newword: print True else: print "Palindrome of this will be: " + pal is_palindrome('dfsbj')
[ "anmolpanwar8@gmail.com" ]
anmolpanwar8@gmail.com
c79adfc9e9b5025797457c31a03c1ee87cd7922f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/96/usersdata/164/53660/submittedfiles/estatistica.py
50b28060dc86c4a798dc697d40a8e01a37e12e8e
[]
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
590
py
# -*- coding: utf-8 -*- n=int(input('Digite n: ')) a=[] b=[] somaA=0 difquadA=0 resultadoA=0 mediaA=0 for z in range (1, n+1, 1): valorA=float(input('Valor da lista A: ')) a.append(valorA) for i in range(0, len(a), 1): somaA=somaA+a[i] resultadoA=somaA/len(a) for j in range (0, len(a), 1): difquadA=(a[j...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e74dde33ebc5b1089f1e3842a3e27d7443ec4650
7680dbfce22b31835107403514f1489a8afcf3df
/Exercícios_parte_1/exercício__017.py
7f8da7cc45144d76b466704e28a2b16706f28d93
[]
no_license
EstephanoBartenski/Aprendendo_Python
c0022d545af00c14e6778f6a80f666de31a7659e
69b4c2e07511a0bd91ac19df59aa9dafdf28fda3
refs/heads/master
2022-11-27T17:14:00.949163
2020-08-03T22:11:19
2020-08-03T22:11:19
284,564,300
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
# catetos e hipotenusa import math co = float(input('Comprimento do cateto oposto:')) ca = float(input('Comprimento do cateto adjacente:')) h = math.sqrt(co**2+ca**2) print('A hipotenusa deste triângulo retângulo irá medir {:.2f}'.format(h)) # há uma fórmula para a hipotenusa no math print('A hipotenusa deste ...
[ "noreply@github.com" ]
EstephanoBartenski.noreply@github.com
e6920e519350bed9d9f0b08101a7efa981861c19
efb32799a616432b9cf90113d042bd45d889ef99
/jel/test/test_ast.py
4f9eb086fabaadcdc8389f4e4dde503ecf7900f0
[]
no_license
cstawarz/jel
859216fd0dc63a9a85810263d42b662967c00788
b01ca2127c0c317aaf9142dcd6c9441154e8830e
refs/heads/master
2020-04-29T14:58:58.448508
2014-03-31T18:18:41
2014-03-31T18:18:41
3,422,630
0
0
null
null
null
null
UTF-8
Python
false
false
2,072
py
from __future__ import division, print_function, unicode_literals import unittest from .. import ast class Node(ast.AST): _fields = ('foo', 'bar') class DerivedNode(Node): pass class OtherNode(ast.AST): pass class TestAST(unittest.TestCase): def test_lineno_and_lexpos(self): n = Other...
[ "cstawarz@mit.edu" ]
cstawarz@mit.edu
22c25bd8ee4081e8a410ce1a2069675d52ed0986
bf397e60bba27b649084966aee686869c7df595d
/PythonNet/day04/code/fork_getpid_son.py
fcbdab4d16a7bc28a60e6498331d6ef65489308e
[]
no_license
demo112/1807
3783e37f7dab3945a3fc857ff8f77f4690012fbe
9b921c90b3003226d919017d521a32da47e546ad
refs/heads/master
2022-12-01T10:50:24.086828
2018-12-06T09:48:14
2018-12-06T09:48:14
150,758,323
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
import os from time import sleep pid = os.fork() if pid < 0: print('创建进程失败') elif pid == 0: sleep(0.1) print('这是新的进程') print('Child Get PID:', os.getpid()) print('Child Get Parent PID:', os.getppid()) else: print("这是原有进程") print('Parent get PID:', os.getpid()) print('Parent get Child PI...
[ "huafengdongji@hotmail.com" ]
huafengdongji@hotmail.com
57f85335ce9e48a956e6424ac6143b84d050b3d7
80e83dd69395312db092f7b0277310a29afb95b6
/untitled1/doc-To-Excel/ResolveDocx_JieYing-jieying.py
f739c48a9bfdeb957f1633eb3c946ad4da258aae
[]
no_license
yif-zhu/Python-Project
3a102695a7eab2e149e260ccee955de84685b6cb
d55edb652d66e6694a120eb329cd04abba57ba1e
refs/heads/master
2023-01-21T00:59:27.743845
2020-12-04T08:42:56
2020-12-04T08:42:56
299,492,449
0
0
null
null
null
null
UTF-8
Python
false
false
15,169
py
# _*_ coding:utf-8 _*_ import os import os.path import sys import xml.etree.ElementTree as XETree import xml.etree.ElementTree as ET from docx import Document from openpyxl import load_workbook cdfp = None cwb = None clws = None DATANOTFOUND = 0 writeLog = 0 def arearMapSupInfoToExcelName(table, sBeginRow, sEndRow, sC...
[ "yif_zhu@163.com" ]
yif_zhu@163.com
c52935dd962d4d9ac6a315d564c60e248c2169ad
d3cc9db967b05c740db85ed31358701434900aaa
/code/python/caffe/draw.py
ae7ec76eb5f7e3484ec332370e47be1f48cc80ab
[ "LicenseRef-scancode-public-domain", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
minar09/LIP-SSL-Caffe
371134b4aaadae3371dbbe450fc9a44afa368b53
089d437844a7d15352199b55bf80e429f1d63e4a
refs/heads/master
2020-04-13T10:43:27.677741
2019-01-26T14:10:23
2019-01-26T14:10:23
163,150,964
1
0
null
null
null
null
UTF-8
Python
false
false
7,663
py
""" Caffe network visualization: draw the NetParameter protobuffer. .. note:: This requires pydot>=1.0.2, which is not included in requirements.txt since it requires graphviz and other prerequisites outside the scope of the Caffe. """ from caffe.proto import caffe_pb2 """ pydot is not supported under p...
[ "minar09.bd@gmail.com" ]
minar09.bd@gmail.com
c2b29616b93803713a5bd6a6203584e68b80e826
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02623/s631394286.py
e65dea6135c3f5910ed9740aa8f22592b2ef34ca
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
import sys input = sys.stdin.readline n, m, k = list(map(int, input().split())) a = list(map(int, input().split())) b = list(map(int, input().split())) #Aだけのときのmax s = 0 j = 0 for i in range(n): if s + a[i] > k: break else: s += a[i] j += 1 ans = [j] for l in range(m): flag = ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7e78e0140b8c52cfeba359b20b98b72a72a0dcc1
60aa3bcf5ace0282210685e74ee8ed31debe1769
/simulation/statistics/skill.py
cbea355ed3f7b1736b74d746ce506c074419def3
[]
no_license
TheBreadGuy/sims4-ai-engine
42afc79b8c02527353cc084117a4b8da900ebdb4
865212e841c716dc4364e0dba286f02af8d716e8
refs/heads/master
2023-03-16T00:57:45.672706
2016-05-01T17:26:01
2016-05-01T17:26:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,258
py
from protocolbuffers import Commodities_pb2 import collections import operator from event_testing import test_events from event_testing.resolver import SingleSimResolver from sims import sim_info_types from sims4.localization import TunableLocalizedString from sims4.math import Threshold from sims4.tuning.dynamic_enum ...
[ "jp@bellgeorge.com" ]
jp@bellgeorge.com
c55664a7817b6fa0a0b72e7a64a125a72c0afad7
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/catapult/third_party/flask/flask/cli.py
c09b2cd0a0fa61c578127fc2fc39962b5e129169
[ "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later", "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
31,035
py
# -*- coding: utf-8 -*- """ flask.cli ~~~~~~~~~ A simple command line application to run flask apps. :copyright: 2010 Pallets :license: BSD-3-Clause """ from __future__ import print_function import ast import inspect import os import platform import re import sys import traceback from functools i...
[ "jengelh@inai.de" ]
jengelh@inai.de
d8f15f849c53f1756f8f4388019e73e0e3cbef1d
87fbed6f08a01437ecfc31eec3eb8a6558721678
/bigtop-packages/src/charm/kafka/layer-kafka/tests/01-deploy.py
62d6a55942f885c15da7aebb7a6ff622aeaafbe3
[ "Apache-2.0", "FreeBSD-DOC", "MIT", "DOC" ]
permissive
hdinsight/bigtop
4427324380b3375741f816e9249f7fc910f80037
568252ea8fe5bd2c1bc50833501fef4d5a48bf0e
refs/heads/master
2020-05-26T14:21:28.808326
2017-03-23T03:33:12
2017-03-23T03:33:12
82,482,997
0
1
null
2017-03-23T03:33:13
2017-02-19T19:15:23
Java
UTF-8
Python
false
false
1,647
py
#!/usr/bin/env python3 # 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 "Lic...
[ "kevin.monroe@canonical.com" ]
kevin.monroe@canonical.com
aff7f9a5f0b21762a135c562ae38e61d20efde11
90bf2ffa7ee75ff266238bffd1b3edc6f83a2bbe
/WebApp_DataSupport/Pharmacy_store_database/RiteAids/step1_taskplan.py
7a3f98b103ddd1e26984a095aa745ab90d3cc6ff
[]
no_license
MacHu-GWU/EFA-finished-projects
f7cf5e0f765aba78db2c1dd8729accff443aa6ee
88c93b0e1c5880b710c11ef93254a732573c92ee
refs/heads/master
2021-03-13T00:11:15.580259
2014-10-06T15:20:15
2014-10-06T15:20:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,081
py
##coding=utf8 ''' THIS IS THE SCRIPT TO CRAWL RITEAID STORE LOCATION AND DETAIL INFORMATION ''' from LinearSpider.crawler import Crawler, Taskplanner from LinearSpider.jt import * import bs4 import re, pprint import jsontree import itertools ''' 第一级,入口页面,内容是所有的rite aid的商店的url https://www.riteaid.com/store-site-map...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
68bbdbbe3be2d7e90ddbed3f4526c3b1b1d5c6b1
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit2900.py
86361f453a3ce3e1037cbed649c72e635d83d62a
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,269
py
# qubit number=4 # total number=44 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
b0beeccbba6eae48ddb4620af81cb6474b233249
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/abstract_nas/train/utils.py
081b0270fe1231712222e899b511aca62b6b905e
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
5,379
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
a431c38e40d5c992bad2de38414efcdd2faf009f
9fdee128812956e1e1919a58c7f64561543abf56
/test/lesson7.py
0a2d77f3ac3db358fa074a6c257dcca8f8fe1555
[]
no_license
OleksandrMyshko/python
38139b72a75d52ca0a6a5787c5e6357432ec6799
1caed3c05d513c0dd62d6ff77910e9596c50969f
refs/heads/master
2021-07-03T03:31:11.198438
2017-09-25T17:43:59
2017-09-25T17:43:59
104,762,652
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
class Quadrangle: def __init__(self, line1, line2, line3, angle1, angle2): self.line1 = line1 self.line2 = line2 self.line3 = line3 self.anle1 = angle1 self.anle2 = angle2 class Paralelogram(Quadrangle): def __init__(self, line1, line2, angle): Quadrangle.__init_...
[ "sashamushko@gmail.com" ]
sashamushko@gmail.com
bd56a0f44ae46f5794196f471684b9ae4761f9dc
76e6d4f93078327fef8672133fc75a6f12abc240
/ABC173/B.py
6e91788c46fdff0b91536ff5bd3d7c1f1f6f90f1
[]
no_license
adusa1019/atcoder
1e8f33253f6f80a91d069b2f3b568ce7a2964940
f7dbdfc021425160a072f4ce4e324953a376133a
refs/heads/master
2021-08-08T04:41:36.098678
2021-02-01T07:34:34
2021-02-01T07:34:34
89,038,783
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
from collections import Counter def solve(string): n, *s = string.split() c = Counter(s) return "\n".join(f"{k} x {c[k]}" for k in "AC WA TLE RE".split()) if __name__ == '__main__': import sys print(solve(sys.stdin.read().strip()))
[ "symphony20030829@yahoo.co.jp" ]
symphony20030829@yahoo.co.jp
a0768d99099f79c156b78ba507456b70a20cfef6
483424524c70852cc043e0d77bf1b757a61d797a
/deepspeed/runtime/data_pipeline/curriculum_scheduler.py
23d747957dc4647e06fad0a94e5e4b071b6f6e23
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/DeepSpeed
810f1af320020718d0794f5a97cde6f1d17af122
55d9964c59c0c6e23158b5789a5c36c28939a7b0
refs/heads/master
2023-09-06T07:40:52.145692
2023-09-05T23:51:23
2023-09-05T23:51:23
235,860,204
27,557
3,347
Apache-2.0
2023-09-14T21:38:46
2020-01-23T18:35:18
Python
UTF-8
Python
false
false
10,025
py
# Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: Apache-2.0 # DeepSpeed Team import math from deepspeed.utils import logger from .constants import * class CurriculumScheduler(object): def __init__(self, config): super().__init__() self.state = {} assert CURRICULUM_LEARN...
[ "noreply@github.com" ]
microsoft.noreply@github.com
ff8f9fb12fc8a07674151d36db80f85f4f5c9b1a
53c1de76b7959da4689b2be1c6508fc0d39f0e88
/lv1_rf.py
67ceb779a06ca6154fa363950114cf867d5aff64
[ "MIT" ]
permissive
ak110/kaggle-otto
d1ada166f65752435ebe50ad292306eb00f91106
03d0bf045beeeed9754d872824c4b9649a3782a7
refs/heads/master
2021-04-12T22:55:18.201278
2020-06-17T02:40:54
2020-06-17T02:40:54
249,114,273
0
0
null
null
null
null
UTF-8
Python
false
false
2,514
py
#!/usr/bin/env python3 """ acc: 0.809 """ # region imports # pylint: disable=unused-import import functools # noqa: F401 import pathlib # noqa: F401 import random # noqa: F401 import albumentations as A # noqa: F401 import numpy as np # noqa: F401 import pandas as pd # noqa: F401 import sklearn.datasets #...
[ "mark@aur.ll.to" ]
mark@aur.ll.to
0d36cabbeaf2eaf5b5c22ef55030ad917ec5946f
85f5dff291acf1fe7ab59ca574ea9f4f45c33e3b
/api/tacticalrmm/checks/migrations/0029_alter_checkresult_alert_severity.py
79d9fcd1af50910fe38897c0668156f57f23fe85
[ "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sadnub/tacticalrmm
a4ecaf994abe39244a6d75ed2166222abb00d4f4
0af95aa9b1084973642da80e9b01a18dcacec74a
refs/heads/develop
2023-08-30T16:48:33.504137
2023-04-10T22:57:44
2023-04-10T22:57:44
243,405,684
0
2
MIT
2020-09-08T13:03:30
2020-02-27T01:43:56
Python
UTF-8
Python
false
false
502
py
# Generated by Django 4.0.3 on 2022-04-15 21:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('checks', '0028_auto_20220401_2301'), ] operations = [ migrations.AlterField( model_name='checkresult', name='alert_s...
[ "josh@torchlake.com" ]
josh@torchlake.com
73ff21278e42e7835eb250eb0db2d9850fa185fd
d66818f4b951943553826a5f64413e90120e1fae
/hackerearth/Basic Programming/Implementation/Basics of Implementation/Strings/test.py
8b64720b4744115d68bb975ca590626995608952
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
556
py
import io import unittest from contextlib import redirect_stdout from unittest.mock import patch class TestQ(unittest.TestCase): @patch( "builtins.input", side_effect=[ "3", "1 1", "1 3", "100 500", ], ) def test_case_0(self, input_mo...
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
e243f32d77ececd6663d33dde58d642e62f814bd
ad689bcffd4694957a236cf95cb55d0522f81ddb
/passive/mod3d/SConstruct
16e0c0d38121759a17a01abce812fa6534aa418d
[]
no_license
raypenper/reproducible_research
fdd83e9680b83395cdc1c7fee6136af6d6e570e5
ca48fc14537bb5d77e1e5d55e65f967732f1f1cd
refs/heads/master
2023-08-21T02:32:00.780948
2021-10-28T02:33:31
2021-10-28T02:33:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,300
from rsf.proj import * #### COPYRIGHT: Chen et al. (2021) #### The University of Texas at Austin #### Chen, Y., O.M. Saad, M. Bai, X. Liu, and S. Fomel, 2021, A compact program for 3D passive seismic source-location imaging, Seismological Research Letters, doi: 10.1785/0220210050. #### Part I: Specifying parameter...
[ "chenyk1990@gmail.com" ]
chenyk1990@gmail.com
8f20957355e95f44ff9740c2e760e94183f95483
1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc
/venv/lib/python2.7/site-packages/ansible/modules/system/service_facts.py
ce61b0918e4e780cf16528dff8f8ae09ba698607
[ "MIT" ]
permissive
otus-devops-2019-02/devopscourses_infra
1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c
e42e5deafce395af869084ede245fc6cff6d0b2c
refs/heads/master
2020-04-29T02:41:49.985889
2019-05-21T06:35:19
2019-05-21T06:35:19
175,780,457
0
1
MIT
2019-05-21T06:35:20
2019-03-15T08:35:54
HCL
UTF-8
Python
false
false
10,382
py
#!/usr/bin/python # (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # originally copied from AWX's scan_services module to bring this functionality # into Core from __future__ import absolute_import, division, print_function __metaclass__ = type ...
[ "skydevapp@gmail.com" ]
skydevapp@gmail.com
a538b99d09fb6b9ae2bcc408777ddcae02867ce4
6db7b8f3bba1fa4e9aec470373f86ef5077ed169
/degroofpetercam/settings.py
e72b50dfff81424384fd874e148b1c442854b600
[]
no_license
hristo-grudev/degroofpetercam
810dbf26d36e08c890fc03bd2fdf3e77f791133d
f8cd6cbe665fa1817887965117f154ede9f6376d
refs/heads/main
2023-03-04T13:28:04.152094
2021-02-19T10:19:27
2021-02-19T10:19:27
340,332,577
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
BOT_NAME = 'degroofpetercam' SPIDER_MODULES = ['degroofpetercam.spiders'] NEWSPIDER_MODULE = 'degroofpetercam.spiders' FEED_EXPORT_ENCODING = 'utf-8' LOG_LEVEL = 'ERROR' DOWNLOAD_DELAY = 0 ROBOTSTXT_OBEY = True ITEM_PIPELINES = { 'degroofpetercam.pipelines.DegroofpetercamPipeline': 100, } USER_AGENT = 'Mozilla/5....
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
fb0a573ec2a5f68e2ae5aa4aca36759cefd5d86f
473035074bd546694d5e3dbe6decb900ba79e034
/traffic fluid simulator/backend/env_3/matrices.py
730beac8f975054a3ac9fc8b35d692736de800ac
[]
no_license
johny1614/magazyn
35424203036191fb255c410412c195c8f41f0ba5
a170fea3aceb20f59716a7b5088ccdcb6eea472f
refs/heads/master
2022-03-26T01:10:04.472374
2019-09-19T16:34:22
2019-09-19T16:34:22
171,033,407
0
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
import numpy as np # To trzeba bedzie zmieniac tutaj - bo na razie jest dla 1 enva # Na froncie jest to net3 def hash_(action): return tuple([tuple(a) for a in action]) x0 = np.array([1, 2, 3, 4, 5, 6]).transpose() # # -A-B- # -E-F # -c_D- T = np.array([[0, 0, 0, 0, 0, 0], # A [1, 1, 0, 0, 0,...
[ "johny1614@gmail.com" ]
johny1614@gmail.com
411c0adba6ce69bb6c765f142c29d111fdd4a152
71a91cac814ec167c4194d8446fe4f94a222a10c
/cems/src/main/python/usecase02_avhrr_n07_n06.py
c06214382200e84880e94ffefae90335d20d6f4b
[]
no_license
bcdev/fiduceo
dab0b3ae6d708d7b74d4c9f17c7dedf2e68472a6
aea0d74c38e0f503dfe10ddc392f9e36ad420b94
refs/heads/master
2021-01-23T15:51:06.518930
2017-01-19T13:47:55
2017-01-19T13:47:55
40,123,794
1
0
null
null
null
null
UTF-8
Python
false
false
354
py
from workflow import Workflow w = Workflow('usecase02_avhrr_n07_n06', 7, '/group_workspaces/cems2/fiduceo/Software/mms/config') w.add_primary_sensor('avhrr-n07', '1981-09-01', '1982-03-17', 'v01.2') w.add_secondary_sensor('avhrr-n06', '1981-09-01', '1982-03-17', 'v01.2') w.set_usecase_config('usecase-02.xml') w.run_...
[ "tom.block@brockmann-consult.de" ]
tom.block@brockmann-consult.de
a87d65508e1eaf7f08e8b04b37df8871dfdf944f
fa148881657508f485936dd93ac9ca36072a6e87
/setup.py
35bf288f8dd73fffc4c28f395373c36f43b01f69
[]
no_license
mwang87/qtp-mass-spec
c63eb04bee6581570cb4028fd34b178988ef5115
0e55d6187602ffaf074517a0a3672590b29365c6
refs/heads/master
2020-06-03T15:34:57.010394
2016-08-01T20:14:38
2016-08-01T20:14:38
64,163,383
0
0
null
2016-07-25T19:50:39
2016-07-25T19:50:38
null
UTF-8
Python
false
false
1,709
py
#!/usr/bin/env python # ----------------------------------------------------------------------------- # Copyright (c) 2016, Ming Wang. # # Distributed under the terms of the BSD 3-clause License License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------...
[ "josenavasmolina@gmail.com" ]
josenavasmolina@gmail.com
983d970ccf1b28206a311df1cc69e69010b1b3a4
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_papered.py
2e58967760d55c4fb726221badf00dc0b2145964
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from xai.brain.wordbase.verbs._paper import _PAPER #calss header class _PAPERED(_PAPER, ): def __init__(self,): _PAPER.__init__(self) self.name = "PAPERED" self.specie = 'verbs' self.basic = "paper" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8c69df3edbd1c4b38ffab45797db6c04d37e8b3e
0386591b51fdbf5759faef6afb8729b64a3f1589
/imageserver/urls.py
1088fcd312dee73113cfe3bcc60a5b36990fc8d2
[ "BSD-3-Clause" ]
permissive
giscube/giscube-admin
1e155402e094eb4db1f7ca260a8d1402e27a31df
4ce285a6301f59a8e48ecf78d58ef83c3827b5e0
refs/heads/main
2023-07-11T17:23:56.531443
2023-02-06T15:12:31
2023-02-06T15:12:31
94,087,469
7
1
BSD-3-Clause
2023-07-07T13:22:09
2017-06-12T11:12:56
Python
UTF-8
Python
false
false
1,069
py
from django.conf import settings from django.urls import path, re_path from django.views.decorators.csrf import csrf_exempt from .admin_views import RasterOptimizerView from .views import (ImageServerMapViewerView, ImageServerTileCacheTilesView, ImageServerTileCacheView, ImageServerWMSView) if no...
[ "abusquets@gmail.com" ]
abusquets@gmail.com
e3370fef915aee2f02a498d78b11c74e92d1404e
1780cb2ba112f05f94d725b6cdab5ada09d89259
/backend/home/migrations/0002_load_initial_data.py
50373280982e1b13110eecb9c509a6ec7ac3961d
[]
no_license
crowdbotics-apps/medical-o-19581
257cf66392f01c760414ce0e25e12d41d831b7b0
84bd5e97699d2320f516627b0e950a2e6775b468
refs/heads/master
2022-11-28T16:03:58.515158
2020-08-15T16:58:09
2020-08-15T16:58:09
287,788,335
0
0
null
null
null
null
UTF-8
Python
false
false
1,290
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "medical O" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9a92432ffbb0a50fb5c847a399426c5b4fc5c0bb
ae87b11560c543cb678c52a28916ea2252d7aa52
/tests/frontend/preg.py
a8e833e7f06543ee5209828ad3b7b34f0f1a4468
[ "Apache-2.0" ]
permissive
CNR-ITTIG/plasodfaxp
19ccf77d0be62cfa8a9b246eb6797cf64a480d80
923797fc00664fa9e3277781b0334d6eed5664fd
refs/heads/master
2016-09-13T11:14:08.877399
2016-04-11T15:01:42
2016-04-11T15:01:42
55,975,921
1
0
null
null
null
null
UTF-8
Python
false
false
7,673
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the preg front-end.""" import unittest from dfvfs.helpers import source_scanner from dfvfs.lib import definitions as dfvfs_definitions from dfvfs.path import factory as path_spec_factory from plaso.engine import knowledge_base from plaso.frontend import preg fr...
[ "dfirfpi@gmail.com" ]
dfirfpi@gmail.com
b35fe4f83cad4155a1a9b795961c33cce5c14570
7a527060afabd2e0867d5dcf4b75592b43ef5005
/Leetcode/二叉树/226. 翻转二叉树.py
dabbaea2e39fd8bfd026b47ad19dbeb63fd57c87
[]
no_license
Stevenzzz1996/MLLCV
ff01a276cf40142c1b28612cb5b43e563ad3a24a
314953b759212db5ad07dcb18854bf6d120ba172
refs/heads/master
2023-02-10T18:11:30.399042
2021-01-05T12:05:21
2021-01-05T12:05:21
267,804,954
6
1
null
null
null
null
UTF-8
Python
false
false
329
py
#!usr/bin/env python # -*- coding:utf-8 -*- # author: sfhong2020 time:2020/5/7 20:47 class Solution: def invertTree(self, root: TreeNode) -> TreeNode: if not root: return root.left, root.right = root.right, root.left self.invertTree(root.left) self.invertTree(root.right) re...
[ "2499143041@qq.com" ]
2499143041@qq.com
47421e349ecc14e6f4f3ea1699804de3ccc0655a
46b086b8cd119f9067e6ab50ba0038e4703d6728
/nlp/hotel_review_enc_dec_rnn.py
5f0e1658e8244cd814034527718d56be30048751
[]
no_license
wulfebw/rnn
874ec8d1d53efe25ff7ab36c1cdc53019123f83a
7cdba1ad581c61d08d5e8c4b22f7b952da3a64e1
refs/heads/master
2021-01-21T13:11:38.211329
2015-09-17T21:05:47
2015-09-17T21:05:47
42,426,369
3
2
null
null
null
null
UTF-8
Python
false
false
5,212
py
""" :description: This file contains 3 classes: (1) An encoder-decoder recurrent neural net that contains an encoder and a deocder and orchestrates forward and backward propagation through them (2) An encoder, which takes a input sequence and generates a hidden state aka representation of that sequence (3) A deco...
[ "blake.w.wulfe@gmail.com" ]
blake.w.wulfe@gmail.com
125b74638bf1b8a47bbe87218c2f4e240f9982c0
b6a84594f8c29d968014faaddd49abeb7537a5fc
/python/529.minesweeper.py
45ee8e1b8e473f48e0b9a9c63955466d1e6c4ffa
[]
no_license
nickyfoto/lc
8a6af3df114e693e265d0ede03f4d4e1283e010e
3633b4df3e24968057c7d684689b931c5a8032d3
refs/heads/master
2020-09-16T19:23:07.765917
2020-06-07T17:18:06
2020-06-07T17:18:06
223,866,098
0
0
null
null
null
null
UTF-8
Python
false
false
7,137
py
# # @lc app=leetcode id=529 lang=python3 # # [529] Minesweeper # # https://leetcode.com/problems/minesweeper/description/ # # algorithms # Medium (54.13%) # Total Accepted: 38.5K # Total Submissions: 71.1K # Testcase Example: '[["E","E","E","E","E"],["E","E","M","E","E"],["E","E","E","E","E"],["E","E","E","E","E"]]...
[ "nickyfoto@gmail.com" ]
nickyfoto@gmail.com
b47c5764a7a3b6aeb63a374751b25c7caca6fbf4
456433ac78b70cb8ae076ae166a85e349f181d7f
/systems/KURSSKLAD/KURSTERM/SITEVERIFY/templates/palIWares.py
e78510698b4923b989120349376a9c0c642113ff
[]
no_license
shybkoi/WMS-Demo
854c1679b121c68323445b60f3992959f922be8d
2525559c4f56654acfbc21b41b3f5e40387b89e0
refs/heads/master
2021-01-23T01:51:20.074825
2017-03-23T11:51:18
2017-03-23T11:51:18
85,937,726
0
0
null
null
null
null
WINDOWS-1251
Python
false
false
24,456
py
#!/usr/bin/env python # -*- coding: cp1251 -*- ################################################## ## DEPENDENCIES import sys import os import os.path from os.path import getmtime, exists import time import types import __builtin__ from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion from Cheeta...
[ "s.shybkoi@gmail.com" ]
s.shybkoi@gmail.com
d9f7024ed4779cb28010988aab7423be9857cb89
b6c09a1b87074d6e58884211ce24df8ec354da5c
/344. 反转字符串.py
8b92858d6a5fe0caaf3151c087ae5c3b43bb1d38
[]
no_license
fengxiaolong886/leetcode
a0ee12d67c4a10fb12d6ca4369762ab5b090cab1
4c0897bc06a297fa9225a0c46d8ec9217d876db8
refs/heads/master
2023-03-18T22:16:29.212016
2021-03-07T03:48:16
2021-03-07T03:48:16
339,604,263
1
0
null
null
null
null
UTF-8
Python
false
false
743
py
""" 编写一个函数,其作用是将输入的字符串反转过来。输入字符串以字符数组 char[] 的形式给出。 不要给另外的数组分配额外的空间,你必须原地修改输入数组、使用 O(1) 的额外空间解决这一问题。 你可以假设数组中的所有字符都是 ASCII 码表中的可打印字符。 示例 1: 输入:["h","e","l","l","o"] 输出:["o","l","l","e","h"] 示例 2: 输入:["H","a","n","n","a","h"] 输出:["h","a","n","n","a","H"] """ def reverseString(s): n = len(s) for i in ran...
[ "xlfeng886@163.com" ]
xlfeng886@163.com
d77e8c94bb919365da58341726e79fd06355fd80
6dc716bbaf2e63da9153ff72e3c43364a1fcb5ff
/src/pyWebdriverAPI/19get_attribute.py
9ff4350ae107f31f7565d6a64690d2bb49deb222
[]
no_license
Fangziqiang/PythonAutoTest
bfa1d583a21768bcce45ac2348cd4913934b1703
c9084004b6964fc0d59b98586d2986d0d7f938b1
refs/heads/master
2020-04-29T03:01:36.450658
2019-03-29T10:10:01
2019-03-29T10:10:01
175,793,069
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
#coding= utf-8 #<input type="checkbox" data-node="594434499" data-convert="1" data-type="file"> #<input type="checkbox" data-node="594434498" data-convert="1" data-type="file"> #<input type="checkbox" data-node="594434493" data-convert="1" data-type="file"> #<input type="checkbox" data-node="594434497" data-convert...
[ "286330540@qq.com" ]
286330540@qq.com
6dc108d5aa1cddf54041d834cab22c1668506c85
ca39938bcc1c04476bd33a52fcfeadd45a21192d
/classes1.py
2def90a7910b1f31d712cb44baa9c7520f501713
[]
no_license
ImayaDismas/python-programs
57c2f2e633e3e10e42cfbfb873af60892041978d
06102f505603220b5411d5777ceb2dd1f38c3f5d
refs/heads/master
2021-01-10T16:29:42.530118
2016-02-16T17:01:33
2016-02-16T17:01:33
50,907,511
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
#!/usr/bin/python3 class Duck: def __init__(self, value): # self._v is attached to the object and not class. # the value is part of the object(encapsulation) self._v = value def quack(self): print('Quaaack!', self._v) def walki(self): print('Walks like a duck', self._v) def main(): donald = Duck(52) f...
[ "imayadismas@gmail.com" ]
imayadismas@gmail.com
1d19dfcaa94d515c7b8e7eb32d38bfffef735c0b
ac0894b411507bfd027696b6bf11b5e384ed68fc
/need-to-do/python3------download-problem--of--leetcode/216.combination-sum-iii.py
94404265e1d831a8428bfc30325a91714f84809d
[]
no_license
mkzpd/leetcode-solution
1d19554628c34c74012fa52582c225e6dccb345c
60c9b218683bcdee86477a910c58ec702185c726
refs/heads/master
2020-05-31T05:56:48.985529
2019-09-20T09:10:49
2019-09-20T09:10:49
190,128,627
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
# # @lc app=leetcode id=216 lang=python3 # # [216] Combination Sum III # # https://leetcode.com/problems/combination-sum-iii/description/ # # algorithms # Medium (53.03%) # Total Accepted: 134.8K # Total Submissions: 254.1K # Testcase Example: '3\n7' # # # Find all possible combinations of k numbers that add up to...
[ "sodgso262@gmail.com" ]
sodgso262@gmail.com
29838aa991d0e07bfc6098581bf37e44233a71f9
2368797b51548c0f6393d63bf4973898ac99d528
/stack/hard/q772.py
1bb2df7a709fdba2408d3fadf6b0799535b2bf3b
[]
no_license
pengzhefu/LeetCodePython
595887d1625666962e7e959ffa148580f9b89ada
59eff778a5fd5cff3b5b6b88c6c7e76dd213dfb0
refs/heads/master
2021-06-08T19:44:52.487031
2021-06-01T15:44:29
2021-06-01T15:44:29
175,763,155
1
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
# -*- coding: utf-8 -*- """ Created on Tue Jul 23 00:17:51 2019 @author: pengz """ ''' Implement a basic calculator to evaluate a simple expression string. The expression string may contain open ( and closing parentheses ), the plus + or minus sign -, non-negative integers and empty spaces . The expression string c...
[ "32311379+pengzhefu@users.noreply.github.com" ]
32311379+pengzhefu@users.noreply.github.com
b0df441e56adb0a05833822a484bf3b07dc5ab63
f3af143bada7f79db1e15b4386e5107bc99eb212
/ProjectBaseTest1/工具练习/01-微信消息撤回/01-微信撤回消息.py
5acc6172948fb9993db5ff078b58c9afe7ab8de5
[]
no_license
xxxfly/PythonStudy
a5ceae1d2b16cfdba19871507458154fc292bca0
478d89ccefc91a84f935aebdca796c9d4c23ef61
refs/heads/master
2022-04-08T13:45:03.405768
2020-03-09T03:47:50
2020-03-09T03:47:50
45,187,749
4
2
null
null
null
null
UTF-8
Python
false
false
4,497
py
#-*-encoding:utf-8-*- import os import re import shutil import time import itchat from itchat.content import * #相关资料 #安装itchat: pip3 install itchat #itchat: https://github.com/liduanwei/ItChat #中文API: http://itchat.readthedocs.io/zh/latest/ # 说明:可以撤回的有文本文字、语音、视频、图片、位置、名片、分享、附件 # {msg_id:(msg_from,msg_to,msg_time,...
[ "970832396@qq.com" ]
970832396@qq.com
758943cd58a34d2d241f98b466204942032ae6d2
9f26975c02f7a10ce23c5f6217fc1f4a80c5134c
/crawling_2.py
9ec35f60cfda4ecb628605bbfbb835441996677f
[]
no_license
ravi4all/PythonReg2_30_2020
d0ae837da4c19f1bff9a938e5a91c561c9288f36
ccb85325e0efce60c771697f8d07dc5e63cfaa5b
refs/heads/master
2020-12-18T04:16:27.399221
2020-03-20T15:05:30
2020-03-20T15:05:30
235,315,428
0
1
null
null
null
null
UTF-8
Python
false
false
572
py
import bs4 import urllib.request as url path = "https://www.flipkart.com/search?q=tv&otracker=search&otracker1=search&marketplace=FLIPKART&as-show=on&as=off&as-pos=0&as-type=HISTORY&as-backfill=on" response = url.urlopen(path) page = bs4.BeautifulSoup(response,'lxml') div = page.findAll('div',class_='_3wU5...
[ "noreply@github.com" ]
ravi4all.noreply@github.com
7b7c0d425f0ee62c452f9a22495e459f13383251
dffda5fa2233eee725ed33be87f1d607fcd444f6
/python/ccxt/eterbase.py
fa4c11fde8f4c5be6325fcdbf9762fe22325f400
[ "MIT" ]
permissive
samholt/ccxt
90a60cc0173705878987aa6ce70e5305eecfcc8b
ca08b5c9d23dea98ffd4191609ec3d7d9f129fd3
refs/heads/master
2023-03-28T06:21:30.918201
2021-04-01T17:16:02
2021-04-01T17:16:02
106,024,622
4
3
MIT
2021-04-01T17:09:54
2017-10-06T16:08:46
JavaScript
UTF-8
Python
false
false
40,774
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange import hashlib import math from ccxt.base.errors import ExchangeError from ccxt.base.errors import ...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
5c1f9344d0bff5044ed0e8a71e5cabace9acb666
4166821e5d4cff87a3f178a0e3047ddd5d62bccf
/brigitte/accounts/migrations/0004_auto__add_field_sshpublickey_key_parsed.py
6b9d6bc6e6a005d42af354722feb1eae262ef973
[ "BSD-3-Clause" ]
permissive
stephrdev/brigitte
0df208c797c4e26832fd30f0fdd6ec2db5212b4f
473d3c30af728292693f4e94b3c9b34d2d784b41
refs/heads/master
2021-06-04T05:16:59.683660
2013-07-08T08:17:05
2013-07-08T08:17:05
1,267,927
12
4
BSD-3-Clause
2021-03-29T16:44:29
2011-01-18T18:00:42
Python
UTF-8
Python
false
false
4,847
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'SshPublicKey.key_parsed' db.add_column('accounts_sshpublickey', 'key_parsed', ...
[ "steph@rdev.info" ]
steph@rdev.info
226f93b97333e8f4e387f28b0bc99298333d003a
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/accessanalyzer_write_2/resource_tag.py
ef443db399fe96ce9f2ed16a0e7b0822b37cb0c7
[]
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
931
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/accessanalyzer/tag-resource.html if __name__ == ...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
459255c5aacaa2dc24b3cef00468477a0911bbdb
80a7cd7958eae28af24c4cf2be167e425c7edaca
/utils/authors.py
8030b5d1d40950b5b36ed33eec87a4b001f56ed7
[ "MIT" ]
permissive
prophile/srweb-jekyll
18918ea82bdf6a8850a20ef9be5e78a876d078b4
faa1727e343d01fe4fa7b75c39a106ca895c8f2b
refs/heads/master
2021-01-01T05:38:40.764190
2015-09-13T16:57:07
2015-09-13T16:57:07
27,548,340
0
2
MIT
2022-06-11T13:03:12
2014-12-04T16:09:02
CSS
UTF-8
Python
false
false
946
py
import subprocess import re import json from collections import namedtuple def is_valid(author): if 'fail@studentrobotics.org' in author.email: return False if 'BRIAN' in author.name: return False return True DATA_REGEX = re.compile('^\s*(\d+)\t(.*) <(.*)>$') Author = namedtuple('Author', ...
[ "arplynn@gmail.com" ]
arplynn@gmail.com
5ab5b4929ae8e1de1476ed79ba97ad12e4a9f58a
4752d3379a536b491367665b10dbb9724b8804b2
/ras_party/controllers/pending_survey_controller.py
a5af42ea9c59cf9fbcc88f7b3ce9da9730f69168
[]
no_license
ONSdigital/ras-party
6d050b068a0a424cbc3d701f1b62910c4393af3b
7f69b8a664135918e9c55416379da05c8a0d81a8
refs/heads/main
2023-08-18T01:38:18.564259
2023-07-14T12:11:20
2023-07-14T12:11:20
92,487,741
2
2
null
2023-09-08T12:59:48
2017-05-26T08:10:47
Python
UTF-8
Python
false
false
21,587
py
import logging import uuid from datetime import datetime, timedelta from urllib.error import HTTPError import structlog from flask import current_app from itsdangerous import BadData, BadSignature, SignatureExpired from sqlalchemy import and_ from sqlalchemy.exc import SQLAlchemyError from werkzeug.exceptions import B...
[ "noreply@github.com" ]
ONSdigital.noreply@github.com