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
ef17bfc5dcc95448837c4ba4c3d9c5c21e6bfe98
ab1c920583995f372748ff69d38a823edd9a06af
/shultais_courses/lists_and_typles/convert_lists_to_str/spaces_in_file_names.py
4c149987a009bc0372f4d0909f10203ef6aacfcc
[]
no_license
adyadyat/pyprojects
5e15f4e33892f9581b8ebe518b82806f0cd019dc
c8f79c4249c22eb9e3e19998d5b504153faae31f
refs/heads/master
2022-11-12T16:59:17.482303
2020-07-04T09:08:18
2020-07-04T09:08:18
265,461,663
0
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
import sys name = sys.argv[1] # Принимает строку name = name.split() # Преобразует строку в список, по умолчанию через пробел name = "_".join(name) # Преобразует список в строку, разделитель нижнее подчеркивание print(name) # Вывод строки """ ПРОБЕЛЫ В ИМЕНАХ ФАЙЛОВ С точки зрения компьютера, пробел — это такой же с...
[ "omorbekov.a@gmail.com" ]
omorbekov.a@gmail.com
42758f6d61732c55c7b1ce0937c1199a57e126e6
f347641f17a6b882767130b4d4b9c716b48da79f
/setup.py
1bc7bc9eff706c2d8bf05dbb5c08483c2d217137
[ "MIT" ]
permissive
chubbymaggie/picotui
aa4b1a5f1f702f892a901023fc6a1b8469983511
2b46eafa46aedb142e3a933cc88fec3a8b4bb4a5
refs/heads/master
2021-01-17T14:32:22.864981
2016-08-15T21:23:08
2016-08-15T21:23:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
from setuptools import setup setup(name='picotui', version='0.6', description="""A simple text user interface (TUI) library.""", url='https://github.com/pfalcon/picotui', author='Paul Sokolovsky', author_email='pfalcon@users.sourceforge.net', license='MIT', packages=['picotui...
[ "pfalcon@users.sourceforge.net" ]
pfalcon@users.sourceforge.net
de5fbe93f9d30be9c96f328eee6ab5fbb58ed73a
0d2eb2a50b2631532a24dddb0a7b4ea81d8aebf1
/app/members/views/signup.py
cc7d42e62c2722a21311093f0c19fcd6691ee22e
[]
no_license
Wps-8th-Wadiz/Wadiz
0a71643ad8a096631f0b6bdb0bd797914bc5d7f5
40023762ee1576d36adf9aae79e571f5bbe881ac
refs/heads/master
2022-12-27T01:47:52.523693
2019-05-29T16:12:12
2019-05-29T16:12:12
143,415,865
0
3
null
2022-12-08T02:54:55
2018-08-03T10:51:54
Python
UTF-8
Python
false
false
725
py
from django.contrib.auth import login, get_user_model from django.shortcuts import redirect, render from members.forms import SignupForm User = get_user_model() __all__ = ( 'signup', ) def signup(request): if request.method == 'POST': form = SignupForm(request.POST, request.FILES) # 에러메시지...
[ "lockstom@gmail.com" ]
lockstom@gmail.com
5cc439d2e9b3b68bd9a12ee8f0fb55409ca70377
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/client/gui/Scaleform/daapi/view/bootcamp/BCPreBattleTimer.py
26eb9f1446f9cd629f404fed4768601824594737
[]
no_license
TrenSeP/WorldOfTanks-Decompiled
e428728e7901146d0b599d02c930d70532232a97
1faa748acec1b7e435b657fd054ecba23dd72778
refs/heads/1.4.1
2020-04-27T08:07:49.813023
2019-03-05T17:37:06
2019-03-05T17:37:06
174,159,837
1
0
null
2019-03-06T14:33:33
2019-03-06T14:24:36
Python
UTF-8
Python
false
false
423
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/bootcamp/BCPreBattleTimer.py from gui.Scaleform.daapi.view.battle.shared.battle_timers import PreBattleTimer class BCPreBattleTimer(PreBattleTimer): def updateBattleCtx(self, battleCtx): self.a...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
ad53031d215f0f839aaada5a91466ad78d2561d9
90b813638e09d36261b60f603ecdc7629e523954
/pylith/bc/NeumannTimeDependent.py
8c264995582007b475e485d7ec9506b1ab80631a
[ "MIT" ]
permissive
gurnis/pylith
2ca434e78c772f3904aa5da6280429daef4f4f4d
cdb0cc13bbf870bb8c42e981ceadfe955a54b61f
refs/heads/main
2023-05-06T05:16:31.448792
2021-05-28T19:30:13
2021-05-28T19:30:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,930
py
# ---------------------------------------------------------------------- # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://geodynamics.org). # # Copy...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
6e3176e7d91d8610dde71cdb2b4dc2b6ec76e3b8
39cfb8f0834b88b5be1c5218eee3487fdb98c405
/example/app/admin.py
a8c5becf212b6243fec1d41ea2f090617f0c468a
[]
no_license
DrMartiner/django-ymaps-admin-widget
372523577d6b5538f4441e8713c60df0764c7913
aa70b90c595dae486168a15bc5b0cef6f2d9fa4e
refs/heads/master
2020-04-01T06:36:48.765903
2016-01-13T08:47:09
2016-01-13T08:47:09
11,862,114
3
3
null
2016-01-13T08:47:09
2013-08-03T11:19:38
Python
UTF-8
Python
false
false
433
py
# -*- coding: utf-8 -*- from django import forms from django.contrib import admin from yandexmaps_widget.widgets import YMapsPointWidget from .models import Point class PointAdminForm(forms.ModelForm): class Meta: model = Point widgets = {'coords': YMapsPointWidget()} class PointAdmin(admin.Mod...
[ "DrMartiner@GMail.Com" ]
DrMartiner@GMail.Com
77148e76f75fc78290470d7ed2700db110aa0263
eddb777e95b6c6baa413fd049f959ab593de5041
/src/main/python/bedk/boundary/api/event/Event.py
1289e3f99d30018b456d499d199293b117957cc0
[]
no_license
jdgwartney/sandbox
bfb641b448b2ffb0e0446cdd942165c7501abd8e
62f7a3a034a73de938c9f241638ff1170373e932
refs/heads/master
2020-05-16T23:35:38.215681
2014-03-31T14:16:45
2014-03-31T14:16:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,779
py
''' Created on Mar 4, 2014 @author: davidg ''' from enum import Enum import json import platform # # TODO: Rethink the use of the enumerated types in the Event class for identifying fields # """ Define class the enumerates each of the values for severity """ class SEVERITY(Enum): INFO = 'INFO' WARN = ...
[ "davidg@boundary.com" ]
davidg@boundary.com
e48debf4babc839b01cb6cfa65518ee4d1715c51
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/decrease-elements-to-make-array-zigzag/396663851.py
3330d0991236fd113aae13b4fb12105b736079f2
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
576
py
# title: decrease-elements-to-make-array-zigzag # detail: https://leetcode.com/submissions/detail/396663851/ # datetime: Thu Sep 17 01:54:40 2020 # runtime: 32 ms # memory: 13.8 MB class Solution: def movesToMakeZigzag(self, nums: List[int]) -> int: nums.insert(0, 2000) nums.append(2000) n ...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
4c8544c0d836789e8a1888f6242e509d31b2a2fe
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/catapult/perf_issue_service/models/alert_group.py
70d8a4d9e682217e5e7d5cd787076ea9998c5dd0
[ "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
7,058
py
# Copyright 2023 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import logging import uuid from google.cloud import ndb from models import anomaly from application.clients import sheriff_config_client class NoEntityFoundException(Exception...
[ "jengelh@inai.de" ]
jengelh@inai.de
2239d8405c10d61ba9e05a3ba19ec9d86a17653d
0c41031269497790425702d4ad882423dc443a6a
/import_data/imp_3.py
7667e8ea4e8a08640eabc41970c1094c2870f203
[]
no_license
diegoami/datacamp-courses-PY
4c546e69241ca429adefdd459db92d617cfa0e9f
bab3082929fa6f1cf2fc2f2efb46d16374715b4b
refs/heads/master
2023-07-20T06:42:29.776349
2018-10-28T22:57:21
2018-10-28T22:57:21
92,448,198
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
# Import package import numpy as np # Import plotting modules import matplotlib.pyplot as plt # Assign filename to variable: file file = 'digits.csv' # Load file as array: digits digits = np.loadtxt(file, delimiter=',') # Print datatype of digits print(type(digits)) # Select and reshape a row im = digits[22, 1:] im_...
[ "diego.amicabile@gmail.com" ]
diego.amicabile@gmail.com
ae65c0b2967a547cc6d7f302c023fa3f608fe523
164ffe077dde59373ad9fadcfd727f279a1cfe93
/jni_build/jni/include/tensorflow/python/kernel_tests/gather_op_test.py
cf75dc394766908b3663f2cf50366d93d2b4604b
[]
no_license
Basofe/Community_Based_Repository_Traffic_Signs
524a4cfc77dc6ed3b279556e4201ba63ee8cf6bd
a20da440a21ed5160baae4d283c5880b8ba8e83c
refs/heads/master
2021-01-22T21:17:37.392145
2017-09-28T21:35:58
2017-09-28T21:35:58
85,407,197
0
2
null
null
null
null
UTF-8
Python
false
false
3,919
py
# Copyright 2015 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...
[ "helder_m_p_novais@hotmail.com" ]
helder_m_p_novais@hotmail.com
5720732e8449a5d6dbbccf29cc0ebd5f1bbcfc4e
8ce656578e04369cea75c81b529b977fb1d58d94
/cabinet/migrations/0015_auto_20200327_1322.py
1eac057d688a011fa711ec4585512fb92fdd59cf
[]
no_license
JJvzd/django_exp
f9a08c40a6a7535777a8b5005daafe581d8fe1dc
b1df4681e67aad49a1ce6426682df66b81465cb6
refs/heads/master
2023-05-31T13:21:24.178394
2021-06-22T10:19:43
2021-06-22T10:19:43
379,227,324
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
# Generated by Django 2.1.7 on 2020-03-27 10:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cabinet', '0014_system_default_scoring_rules'), ] operations = [ migrations.AlterField( model_name='workrule', name=...
[ "javad@MacBook-Pro-Namig.local" ]
javad@MacBook-Pro-Namig.local
dfd62122ce34aaecef31f8c5bd9655dd7cbcc128
c1e7ae4cc8f4ffd6c20bab433ce898a426b8b743
/tweets/admin.py
cfb57b9015f00636a39c040e49982634a5b4c3bf
[]
no_license
GK-SVG/myTwitter
a3dc1cae3148765a1e5f12f70e6c1fda2ce2aabd
4fc6db3ae2777d35f86a3ff73c2b4195a10bf2c7
refs/heads/master
2023-08-10T16:28:20.764784
2020-10-01T15:08:26
2020-10-01T15:08:26
267,764,974
1
0
null
2021-09-22T19:07:10
2020-05-29T04:29:32
Python
UTF-8
Python
false
false
416
py
from django.contrib import admin # Register your models here. from .models import Tweet, TweetLike class TweetLikeAdmin(admin.TabularInline): model = TweetLike class TweetAdmin(admin.ModelAdmin): inlines = [TweetLikeAdmin] list_display = ['__str__', 'user'] search_fields = ['content', 'user__usernam...
[ "gk32239@gmail.com" ]
gk32239@gmail.com
eda14f38ea3701192d6ef67eac235a3375d5fa21
620323fc090cebaf7aca456ff3f7fbbe1e210394
/decode_base64_with_Incorrect_padding.py
8fea6ebef4c143fba75e75a2522385759a8f7fb2
[ "CC-BY-4.0" ]
permissive
gil9red/SimplePyScripts
bd2733372728bf9b9f00570e90316fa12116516b
773c2c9724edd8827a1dbd91694d780e03fcb05a
refs/heads/master
2023-08-31T04:26:09.120173
2023-08-30T17:22:59
2023-08-30T17:22:59
22,650,442
157
46
null
2023-09-08T17:51:33
2014-08-05T16:19:52
Python
UTF-8
Python
false
false
1,758
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "ipetrash" # SOURCE: https://stackoverflow.com/a/32517907/5909792 import base64 def base64_decode(text: str) -> bytes: text += "=" * (-len(text) % 4) return base64.b64decode(text) if __name__ == "__main__": bad_b64_string = "7P1pbxvJtjXqfr...
[ "ilya.petrash@inbox.ru" ]
ilya.petrash@inbox.ru
f14961d10b1a9304872aa1b27e9dc1ffe2b529ba
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/catapult/telemetry/third_party/web-page-replay/third_party/dns/rrset.py
7f6c4afed4a0a2f60328e7720df21d0676f345a3
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "ISC", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
5,866
py
# Copyright (C) 2003-2007, 2009, 2010 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and this permission notice # appear in all copies. # # THE SOFTWARE IS PROVIDED ...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
48e09644397ce52f39099c870e73345d221ad6ad
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-alloydb/samples/generated_samples/alloydb_v1alpha_generated_alloy_db_admin_delete_instance_async.py
e7ac794cee2eccd08e594b03d518429647b33497
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,962
py
# -*- coding: utf-8 -*- # Copyright 2023 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...
[ "noreply@github.com" ]
googleapis.noreply@github.com
afd45454828c82f3c71437c1ea98d2a4e8eaab56
b0dbd2e4dd83fe012cde29c8474bae5e33c23e2a
/harbor_client/model/sys_admin_flag.py
61385b9a1ca29349e9a6f8978cabd2edcc1f234d
[]
no_license
DevotionZhu/harbor-python-client-api
0ba3999e5af126dbe97f0234c4a9601660a97dbb
f0cc6c453b488d5f456eff94000156182eb3a468
refs/heads/master
2023-04-17T22:06:06.024871
2021-04-11T22:20:28
2021-04-11T22:20:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,506
py
""" Harbor API These APIs provide services for manipulating Harbor project. # noqa: E501 The version of the OpenAPI document: 2.0 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from harbor_client.model_utils import ( # noqa: F401 ApiTypeError...
[ "vb@container-registry.com" ]
vb@container-registry.com
d582011bd5e4c78211aebffc46d3583a52a6232f
be4d32d35fd4af3cf4ecf3736c8e879d50b8ae37
/Python/Django/survey/apps/dojo_ninjas/migrations/0002_dojo_desc.py
e2f31b49f35b6f2f1149692910441dfb949b7382
[]
no_license
yangluo0901/CodingDojo_Assignment
f09bbec26f87b5b276fd6ef3c77f27d13518937e
44ccb5158b12c1656793bac76f1a7a707b147982
refs/heads/master
2021-10-11T21:12:14.889189
2019-01-29T19:52:56
2019-01-29T19:52:56
105,716,841
0
1
null
null
null
null
UTF-8
Python
false
false
470
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-12-13 05:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dojo_ninjas', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "yangluo0901@gmail.com" ]
yangluo0901@gmail.com
2a2ba3c743da2eca0a6172f9e30040154d474f4b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02735/s900353410.py
bd2207138214a07b977f865e0708d6bf1b3bb954
[]
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
975
py
H, W = list(map(int, input().split())) m = [list(input()) for _ in range(H)] scores = [[None for _ in range(W)] for _ in range(H)] def calc(i, j): # print(f'{i}, {j}') global m, scores, H, W if scores[i][j] is not None: return scores[i][j] if i == H - 1 and j == W - 1 and i != 0 and j != 0: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ebb47eaa5c565560a0da650d4752af8b876d107c
9029e608b7db5656b0fb9305e1f2b03eaf4db95d
/apps/users/forms.py
734a99ffc5b63574646790a8b400532cc8d2f378
[ "Apache-2.0" ]
permissive
cnbillow/EducationPlatform
62ab1c57291e451ce46329d7a603e3def0c83d9f
8675028d1f4465710a614e19cb0e453d084f072d
refs/heads/master
2020-04-02T09:27:53.636289
2018-10-23T05:57:32
2018-10-23T05:57:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
#!/usr/bin/env python #-*- coding:utf-8 -*- # author:pyy # datetime:2018/10/11 14:34 from captcha.fields import CaptchaField from django import forms class LoginForm(forms.Form): # 用户名不能为空 username = forms.CharField(required=True) # password不能小于6位 password = forms.CharField(required=True, min_length=5...
[ "401041628@qq.com" ]
401041628@qq.com
c895719c315db8a657d29ca6b70effe2de0eba2c
83e41f2ca9215bb933cdb753770ab04fbc962bd8
/conditional_statements/exercise/08. Scholarship.py
c7cbeaf1d4d6214a39b87b807b87706a79e09913
[]
no_license
BobsunPower/python_basics
d8f0d3203406eb6cce1bb35a88391e0a2f812f30
52f1dbac904bf963fc60bd877e09c79689ce2299
refs/heads/main
2023-03-09T02:47:20.401376
2021-03-09T22:09:02
2021-03-09T22:09:02
346,132,147
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
income = float(input()) grade_average = float(input()) minimum_wage = float(input()) social_scholarship = int(minimum_wage * 0.35) excellent_scholarship = int(grade_average * 25) if grade_average >= 5.5: if income < minimum_wage: if excellent_scholarship >= social_scholarship: print(f"You get a ...
[ "bobsunpower@gmail.com" ]
bobsunpower@gmail.com
625ab9457a109e79bec500dc56247c735f1bb58e
0019ea5621577ab9a9a694e3ef91d913e981a28e
/dataset_builder/feature_extractor/word_embeddings_comparison_feature_generator.py
e97262fe31f849b34baf1d604fa1bda4cb175f14
[]
no_license
sungc1/fake-news-framework_Py3
676710b3bf7b8feb4c237ffed7d1d280f4967890
e3552b5bc2a30dbd52ad893ce8dd29aa2242f864
refs/heads/main
2023-01-19T23:42:13.294446
2020-12-01T18:38:31
2020-12-01T18:38:31
428,178,049
1
0
null
2021-11-15T08:18:23
2021-11-15T08:18:23
null
UTF-8
Python
false
false
3,885
py
from dataset_builder.feature_extractor.base_feature_generator import BaseFeatureGenerator from dataset_builder.word_embedding.Vectors_Operations import Vector_Operations class Word_Embeddings_Comparison_Feature_Generator(BaseFeatureGenerator): def __init__(self, db, **kwargs): BaseFeatureGenerator.__init...
[ "aviade@post.bgu.ac.il" ]
aviade@post.bgu.ac.il
c20c3bff2de0ccab67000809ccab055910ed1b45
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/eventgrid/v20201015preview/event_subscription.py
e261801edf4540d1f6bf8f9f96fa1129cabc3301
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
32,354
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
b2cf3a5442248ffae0f4bcf527ab4dd839393a5b
a9d197b21b73b25b8b87d2711fa53531ff40e155
/05 Variables/variables-dictionary.py
07acea13e30d63fe78c28835d4cb326f2250e93f
[]
no_license
CodedQuen/Python-essential-reference
460109acc901b687d9d4071331df488612e4f452
c2c222b6616d7ebe78bec3f0a90598582b8f6bf3
refs/heads/master
2022-06-15T12:19:34.475686
2020-05-04T08:29:25
2020-05-04T08:29:25
261,105,920
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
def main(): print('Dictionary are mutable') d = {'one': 1, 'two': 2, 'three': 3, 'four': 4, 'five': 5} ''' d = dict( one=1, two=2, three=3, four=4, five='five' ) ''' print(d) d['seven'] = 7 # add a key/value pair to dic print(d) for k in sorted(d.keys()): # To ...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
5f5bff1f6bad63402f601a313d4484fb50af1d61
dd5abf881b73dc2cca1d2a4b18c61179d1c73b4b
/web/services/role.py
0532e026d2fae1127a5c199a700915c606bae1ec
[]
no_license
mafeicnnui/dbops
858af1673f27716180cabc41329a0a07c0e1862c
aebacb3410d7d345bb720c7a341d2d83825f8a90
refs/heads/main
2023-06-08T14:24:11.782598
2023-06-05T07:41:55
2023-06-05T07:41:55
337,357,228
10
2
null
2023-06-02T06:23:18
2021-02-09T09:45:17
HTML
UTF-8
Python
false
false
3,543
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/9/19 15:43 # @Author : ma.fei # @File : role.py.py # @Software: PyCharm import json from web.model.t_role import save_role,check_role,query_role,upd_role,del_role,get_role_by_roleid from web.model.t_xtqx import get_privs,get_privs_role,get_privs_sys,...
[ "zhdn_791005@163.com" ]
zhdn_791005@163.com
d02eedcaff81a3dba2b94b9aeed5ac02891429eb
bc441bb06b8948288f110af63feda4e798f30225
/architecture_view_sdk/model/collector_center/configuration_template_pb2.pyi
16134d076a32d1f7eb36f1f43aad5e2e37372cbc
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,998
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from architecture_view_sdk.model.collector_center.script_pb2 import ( Script as architecture_view_sdk___model___collector_center___script_pb2___Script, ) from architecture_view_sdk.model.collector_center.target_range_pb2 import ( TargetRang...
[ "service@easyops.cn" ]
service@easyops.cn
7872f805f5b77c8f7e8b28afdbcb397115c4858e
b6a31ec10b39a3dbae183ba40c42078cadf88946
/767. Reorganize String.py
6f41b6f250d4df2932d76ae04cc68bf652da48f3
[]
no_license
QIAOZHIBAO0104/My-Leetcode-Records
69fabd11b279f08861cd644973e51bf664da0d90
882724c8d50b2f21193c81e5072c31385c5e6b8e
refs/heads/main
2023-07-11T00:17:02.368441
2021-08-07T16:19:45
2021-08-07T16:19:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
''' https://leetcode.com/problems/reorganize-string/ Given a string s, rearrange the characters of s so that any two adjacent characters are not the same. Return any possible rearrangement of s or return "" if not possible. Example 1: Input: s = "aab" Output: "aba" ''' ''' ''' class Solution: def reorganizeString(...
[ "noreply@github.com" ]
QIAOZHIBAO0104.noreply@github.com
41339aa9fd5a041fa8b1c0febf2c2b2151c5df6f
e3765def4a180f1d51eaef3884448b0bb9be2cd3
/example/12.6.2_continue_move/game_functions.py
c2a675cd723062ae2c9837c73fab8d700225cca7
[]
no_license
spearfish/python-crash-course
cbeb254efdf0c1ab37d8a7d2fa0409194f19fa2b
66bc42d41395cc365e066a597380a96d3282d30b
refs/heads/master
2023-07-14T11:04:49.276764
2021-08-20T10:02:27
2021-08-20T10:02:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
#!/usr/bin/env python3 import sys import pygame def check_events(ship) : '''check for keyboard input and mouse move''' # pygame's event class has a method get. for event in pygame.event.get() : if event.type == pygame.QUIT : sys.exit() elif event.type == pygame.KEYDOWN : ...
[ "jingchen@tutanota.com" ]
jingchen@tutanota.com
93f07f8ffd3b0bc65ee2360772cdc46cdab26663
170bd11fe3446540d09fc0ff30d2b1cc0e75e375
/05_conditional_formatting/using_colorscalerule.py
6901172bda2f84ac6441b6e7126e54c3d377a01a
[ "MIT" ]
permissive
shinenazeer/automating_excel_with_python
6511134e8915a4d37ab62bb3353cb84b2abc6c07
ff90ae15e064bc3454e9f192be681731d97bdb3c
refs/heads/main
2023-08-23T12:06:47.051701
2021-11-07T01:24:06
2021-11-07T01:24:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
# using_colorscalerule.py from openpyxl import load_workbook from openpyxl.formatting.rule import ColorScaleRule def applying_colorscalerule(path, output_path): workbook = load_workbook(filename=path) sheet = workbook.active red = "AA0000" yellow = "00FFFF00" green = "00AA00" color_scale_ru...
[ "mike@pythonlibrary.org" ]
mike@pythonlibrary.org
252d05032b2e0bc30e8e3d246ebc9a2ff4df588e
e459a9608225b81bdb0a5b85cd19b7bd0f6df38e
/test_frame/test_nb_log/nb_log_config.py
fb41ac6b54b1dac5d65448f80e5a145c25453716
[ "Apache-2.0" ]
permissive
ydf0509/distributed_framework
722be4957df97bfece9ca5b43d81b4e3bb09ed8e
1b1f32ed928fa44e0fb13fc738de90cb4339f408
refs/heads/master
2022-05-20T10:19:05.727086
2022-03-31T11:16:22
2022-03-31T11:16:22
201,225,545
359
90
Apache-2.0
2021-05-08T16:50:53
2019-08-08T09:30:13
Python
UTF-8
Python
false
false
8,089
py
# coding=utf8 """ 此文件nb_log_config.py是自动生成到python项目的根目录的。 在这里面写的变量会覆盖此文件nb_log_config_default中的值。对nb_log包进行默认的配置。 但最终配置方式是由get_logger_and_add_handlers方法的各种传参决定,如果方法相应的传参为None则使用这里面的配置。 """ """ 如果反对日志有各种彩色,可以设置 DEFAULUT_USE_COLOR_HANDLER = False 如果反对日志有块状背景彩色,可以设置 DISPLAY_BACKGROUD_COLOR_IN_CONSOLE = False 如果想屏蔽nb_log包...
[ "123@gmail.com" ]
123@gmail.com
f37f631297e660a275012a1b879471baa695d94a
bab76d8cf312ee3eae66472b6abd119903e17e8e
/Maximium Size Subarray Sum Equals k.py
93277c0c2378e20021ed76bcc301aa70c0380c94
[]
no_license
lixuanhong/LeetCode
91131825d5eca144a46abe82a2ef04ea1f3ff025
48d436701840f8c162829cb101ecde444def2307
refs/heads/master
2020-04-05T02:54:52.473259
2018-11-07T05:31:30
2018-11-07T05:31:30
156,494,213
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
""" Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Note: The sum of the entire nums array is guaranteed to fit within the 32-bit signed integer range. Example 1: Input: nums = [1, -1, 5, -2, 3], k = 3 Output: 4 Explanation: The su...
[ "lixuan.hong@gmail.com" ]
lixuan.hong@gmail.com
a48e0bc47e7c6b8f8d823af41b649609e52e980c
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/sql/server_azure_ad_only_authentication.py
c24aaccc4114c8688d96be48fa73dd425a742490
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,520
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __a...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
fc3d5fef2c07f5c8dc518600e78163a4ccf11261
236402efa32923fefc9f3924ba4155142e8052fe
/2015/_24_balance_test.py
354601767cd17e28e61513e2b952be7b0c1e1ea1
[ "MIT" ]
permissive
pchudzik/adventofcode
7c32126948ea57cdef3858ae3eb63cafdd67abb0
72304880c6b080d6c177d11fc9b9eb7b58e876b7
refs/heads/master
2022-05-08T00:20:58.586672
2022-04-29T19:30:34
2022-04-29T19:30:34
164,089,632
0
0
MIT
2022-04-22T14:29:37
2019-01-04T09:51:33
Python
UTF-8
Python
false
false
441
py
from _24_balance import quantum_entanglement, find_qes def test_quantum_entanglement(): assert quantum_entanglement([11, 9]) == 99 assert quantum_entanglement([10, 9, 1]) == 90 def test_find_smallest_qe_3_groups(): packages = [1, 2, 3, 4, 5, 7, 8, 9, 10, 11] assert find_qes(packages, 3) == 99 def ...
[ "pawel.chudzik@gmail.com" ]
pawel.chudzik@gmail.com
8cae66f3b023243a8af65fe32282e23d00f2221a
b15d2787a1eeb56dfa700480364337216d2b1eb9
/accelbyte_py_sdk/api/leaderboard/models/models_pagination_v3.py
70c8946f6e2fb1e8f016cc042e15102943c43361
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
5,485
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template file: ags_py_codegen # AccelByte Gaming Services Leaderboard Service (2.26.0) # pylint: disabl...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
0345b4701f3afb976e32864aa1628ba9c1a6bfdf
9135a1c5bcd20f77971085496d9e966d892fb7e9
/reports/python/storageGrowth/storageGrowth.py
d302b9874ded68cd8685c2e107c220594abf9b0e
[ "Apache-2.0" ]
permissive
bseltz-cohesity/scripts
cc54b2b3534175562b0d9cfba85bd63aa5ca2346
53c4b057bb4f41ae079fc8236caacf13fd35c10e
refs/heads/master
2023-08-23T13:13:12.169724
2023-08-22T13:21:22
2023-08-22T13:21:22
142,414,700
83
44
Apache-2.0
2023-08-24T11:42:22
2018-07-26T08:50:47
PowerShell
UTF-8
Python
false
false
2,780
py
#!/usr/bin/env python """Storage Report for Python""" # import pyhesity wrapper module from pyhesity import * from datetime import datetime import codecs # command line arguments import argparse parser = argparse.ArgumentParser() parser.add_argument('-v', '--vip', type=str, required=True) parser.add_argument('-u', '-...
[ "bseltzer@cohesity.com" ]
bseltzer@cohesity.com
9505d99b773f3bcbf82cc8aa1cd61fceabcadb6d
209a375fb65d38464fc67281643615a7a4f2012b
/abc179/c2.py
ddcc6e12dad45864c7afc472c4e3d5ce57485980
[]
no_license
satoshun-algorithm-example/atcoder
707804c855768496676dc4711586d517945646d3
81e898f38d1e2db3200882dc34180c407a86de12
refs/heads/master
2021-06-21T23:18:32.532374
2020-11-23T09:05:19
2020-11-23T09:05:19
154,495,507
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
N = int(input()) ans = 0 for a in range(1, N): ans += (N - 1) // a print(ans)
[ "shun.sato1@gmail.com" ]
shun.sato1@gmail.com
9f0730d09208979ac65485243f6dc40f0ccd3280
04a28a0e7a974d89c3b3af87d2507e0bb013b011
/src/sale_forecast_1.py
9213145662f06d83569be49c60b167163ccfcbeb
[]
no_license
zhangxu0307/JDD-sale-forecasting
56fcc93a75156697804e23e62e202cece5d26658
63b31f81535315d5f4072114b455a4c2786790d8
refs/heads/master
2021-08-29T21:55:20.163066
2017-12-15T04:47:10
2017-12-15T04:47:10
114,328,006
0
0
null
null
null
null
UTF-8
Python
false
false
10,855
py
import pandas as pd import numpy as np import xgboost as xgb import datetime import lightgbm as lgb #from JD.util import WMAE #from src.model import buildTrainModel #from src.util import kFoldCV import matplotlib as mpl mpl.use('Agg') import xgboost as xgb import matplotlib.pyplot as plt from sklearn.cross_validation i...
[ "zhangxu0307@163.com" ]
zhangxu0307@163.com
3957225eab008ce58ea7cbb72efb773b572eb79b
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/object_method_complex_call-135.py
a12e9bbde3171d309cce431b68b4ad1815b30b33
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
class A(object): a:int = 42 def foo(self:"A", ignore:object) -> int: return self.a class B(A): b:bool = True def __init__(self:"B"): print("B") def bar(self:"B") -> int: return self.foo(self.foo(print("..."))) def foo(self:"B", ignore:object) -> $Type: return...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
b3267d44e436d1772b9558f8816915fa3e341c2f
1726b02eaa58c4849de36c54cbf8a86fd3cec6eb
/tests/test_experiments/test_views.py
3db7acd5d9b1116b0f252828be5bf442ab446f0f
[ "MIT" ]
permissive
hephaex/polyaxon
41768df51017fa5d7574918d97d396897b7f8d3d
d89fce57e1a0d515133d657fe60e9fc8ff695cdd
refs/heads/master
2021-05-08T17:21:52.959071
2018-01-30T00:37:01
2018-01-30T00:37:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,493
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from unittest.mock import patch from rest_framework import status from polyaxon.urls import API_V1 from experiments.models import ( Experiment, ExperimentStatus, ExperimentJob, ExperimentJobStatus, Experiment...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
a91275e1d08f39208b410f754fb71abb04b7b3d3
23744d0acc0119d0222c003179335af5b3259a67
/DOTA_configs/DOTA_hbb/reppoints_moment_r50_fpn_2x_dota.py
1342543cf5428060e9dc23d66991ccea5d8ec153
[ "Apache-2.0" ]
permissive
yawudede/mmd_rs
f3db3c0288eea67b78fdde09600d9b1ef4e60478
a0a468933e69bf90d9bc71c37c8626d8dda7fd24
refs/heads/master
2023-03-18T01:00:11.029808
2021-03-23T03:41:14
2021-03-23T03:41:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,950
py
_base_ = [ '../_base_/datasets/DOTA_train_val_hbb.py', '../_base_/schedules/schedule_2x_rs.py', '../_base_/default_runtime.py' ] model = dict( type='RepPointsDetector', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out...
[ "alexhzy@126.com" ]
alexhzy@126.com
366b5f0edc3b82ec0304db85921d9c3b5a01fd55
8c87462d9e8ff04c30c1ecf36cb3349b323fddba
/TEST/GUI/010250_toolbox_nodemove/test.log
a5c4bd87c7417e6c014c75ba0ac952272659ff0f
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
usnistgov/OOF2
1d939d5c6ea7129a217add8dd6800e0570f2a1fd
616b370bb3b4897e99983aeb6b981525fe4e8a48
refs/heads/master
2023-09-04T14:59:27.268559
2023-08-31T15:12:28
2023-08-31T15:12:28
29,553,226
26
13
null
2020-03-30T16:49:39
2015-01-20T21:32:02
Python
UTF-8
Python
false
false
54,829
log
# -*- 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...
[ "stephen.langer@nist.gov" ]
stephen.langer@nist.gov
beaf434745c19a846eb446e2b8a88a9d76be4424
6c8f7f5c3e8a61d3d1c63e7c3f19953df496ae8f
/problems/unsolved_problems/test_172_investigating_numbers_with_few_repeated_digits.py
954754e51a7ae6fccc2007984263147cbdabcffd
[]
no_license
KristofferFJ/PE
a5b5f8dabbd0ee6e61506899eabf070ae0cad619
4715da077fac3bb8f061f6d773166c575c9c7813
refs/heads/master
2022-08-07T03:57:54.712661
2022-07-24T20:28:24
2022-07-24T20:28:24
118,385,527
1
0
null
null
null
null
UTF-8
Python
false
false
255
py
import unittest """ Investigating numbers with few repeated digits How many 18-digit numbers n (without leading zeros) are there such that no digit occurs more than three times in n? """ class Test(unittest.TestCase): def test(self): pass
[ "kristofferfage@gmail.com" ]
kristofferfage@gmail.com
d665a169f86e2e7f88c2a071358dcf3a9d6e325a
b3a921aeceb869d3a8a4c35ce7317fc4fcb1babc
/book/urls.py
bee5c3cc373b1348b57d6c40ea25255fc4d7a479
[]
no_license
FatemehRahmanzadeh/social-network
c02ea220e5d648f9c6658b4f96d294b75a1e24b0
7e0f264ac228eb12dbb162db6b58c72ba02f2a1b
refs/heads/main
2023-06-23T20:36:10.522551
2021-07-26T07:06:07
2021-07-26T07:06:07
378,110,173
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django.contrib import admin from django.urls import path from .views import * urlpatterns = [ path('home_page/', show_book, name='home'), ]
[ "rahmanzadeh8922@yahoo.com" ]
rahmanzadeh8922@yahoo.com
95df53f53116c9634f1066f21a5e93a8c752dfaf
4f98dfabafe41e087250957d16319770970bc4b3
/Super-LiDAR/main.py
e5f937c7582100b5763b599ac6f671d3b85b21b4
[]
no_license
zswang666/PnP-Depth
8315dec68e94b6419871ed1f65bdc0628d3874b6
f3e20dd8e119b76baaf33beb4d46c3b25ade4f45
refs/heads/master
2020-04-12T10:05:42.070438
2019-05-14T10:56:41
2019-05-14T10:56:41
162,418,898
58
9
null
null
null
null
UTF-8
Python
false
false
18,792
py
import sys import tensorflow as tf import dataloading as ld import losses import numpy as np import time from errors import ErrorLogger import os import pdb import pickle import argparse from deep_cnn import build_net18 import admm from sparse_cnn import make_sparse_cnn from PIL import Image import re ## Inputs def sp...
[ "johnsonwang0810@gmail.com" ]
johnsonwang0810@gmail.com
a32dc2ec1bc1c845d5393debc7bdd9db265413dc
d4a4b42fc7ce9f88f241f884d1b8f9f227c92b33
/examples/eq/loopunreach480/loopunreach480.py
cb33dbd965ba2ee89acd69a9c5c771ec3a89bef8
[]
no_license
Client-Specific-Equivalence-Checker/CLEVER
a5cabcc6a127c80b7e8193f885bca8e5cf64b204
44a9027be67dcd94e0b4a30eb3cb5e7aeb0ab163
refs/heads/master
2022-02-13T04:23:29.654278
2019-02-06T17:10:48
2019-02-06T17:10:48
114,670,863
5
5
null
null
null
null
UTF-8
Python
false
false
216
py
def lib(a, b): c = 0 if b < 0: i = 1 while i <= b: c += a i += 1 return c def loopunreach480(x): if x >= 445 and x < 515: return lib(x, 480) return 0
[ "fmorarocha@gmail.com" ]
fmorarocha@gmail.com
0fab3dd9343ae68ae3c7bd5f74a66eec69b65b02
17966824e4bac02b66a802091b3d6277131995a2
/leetcode/16:3SumClosest.py
c2ddb368aef1d8bbacfe1f1a43d109dde59d2c38
[]
no_license
to2bage/mixx
8f00c2c888cc3dfe7f681077118121a6c6a3982b
c09337cc162449a8246b29b419187b38075a1268
refs/heads/master
2021-07-15T09:38:10.426660
2017-10-18T05:32:54
2017-10-18T05:32:54
104,962,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
""" https://leetcode.com/problems/3sum-closest/description/ """ class Solution(object): def threeSumClosest(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ if not nums or len(nums) < 3: return 0 self.rect = 0 ...
[ "to2bage@hotmail.com" ]
to2bage@hotmail.com
57092b30e8ef6adb636d9bd2c8da45abac41cdd4
45ce5ff03f8cfeb6f299c7ee13f25ca8ef105c3e
/env/lib/python3.5/site-packages/nikola/plugins/command/new_post.py
062eac36c70cc70c53105ce076f3e661425ec6a6
[]
no_license
felippemr/stackcarioca.github.io
7ca5f417316993ce3a1bd45d66ef73e0b1ec4e14
9d219fde0784be24055bc46b7a10e4d3e0398724
refs/heads/develop
2021-04-29T11:12:59.441976
2016-11-01T12:58:11
2016-11-01T12:58:11
77,853,672
0
0
null
2017-01-02T18:31:53
2017-01-02T18:31:52
null
UTF-8
Python
false
false
18,766
py
# -*- coding: utf-8 -*- # Copyright © 2012-2016 Roberto Alsina and others. # 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 t...
[ "eduardooc.86@gmail.com" ]
eduardooc.86@gmail.com
4b8dd04a2d2d06078eaf3c1da8b295c304d72f8a
042fcd42dacd54e592f0fcfd5d60f11de0309084
/student/migrations/0117_auto_20190924_2109.py
b65075ebb8088f1cc28d626b9fe8f8b65c3f98ee
[]
no_license
akashhingde/Digital-Web-Application-For-Fill-Exam-And-Consession-Form
b1e5be2fab39f347a47246776d5c9cb578c489d2
1bcd6ff20d0a2b938c91e1c6c2be24156236a4a3
refs/heads/master
2020-09-15T11:38:10.523482
2019-11-22T15:53:05
2019-11-22T15:53:05
223,434,114
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2019-09-24 15:39 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('student', '0116_auto_20190924_2028'), ] operations = [ migrations.RemoveField(...
[ "akashhingde@gmail.com" ]
akashhingde@gmail.com
46e1074d177fd13001d327e1c2b48709d6ef9b51
9a693c4406d5f5cdaf507923b9f1f84f848e0e57
/hyperadmin/clients/common.py
9618d75dc2f648b568f0bcd5bc8dc5741a375998
[]
no_license
kmooney/django-hyperadmin
a31472a25600427f68b91ad92c0d25e10c912853
5182ef218e702ff083a04c6cca53c8882d56fb33
refs/heads/master
2021-01-18T12:14:52.422746
2012-08-19T23:27:32
2012-08-19T23:27:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
from django.conf.urls.defaults import patterns, url from django.views.generic import TemplateView class Client(object): def __init__(self, name='hyper-client', app_name='client'): self.name = name self.app_name = app_name def get_urls(self): pass def urls(self): re...
[ "zbyte64@gmail.com" ]
zbyte64@gmail.com
1feb4919896c0980a01e2f9dfdec9f9d5639e251
c29de7ce2d91f572aeb4da56801de7a1dc034054
/st/experiments/cifar10/exp003_save_grad.py
4bed86c95765a62e390b81809d5de4c29ba53a2d
[]
no_license
kzky/works
18b8d754bfc2b1da22022926d882dfe92ea785e6
b8708c305e52f924ea5a7071e0dfe5f2feb7a0a3
refs/heads/master
2021-01-10T08:04:44.831232
2018-03-01T15:09:47
2018-03-01T15:09:47
54,316,791
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
from st.cifar10.experiments import Experiment003_Save_Grad from st.utils import to_device from st.cifar10.datasets import Cifar10DataReader, Separator import numpy as np import os import numpy as np import sys import time import chainer.functions as F from chainer import cuda from chainer import Variable def main(): ...
[ "rkzfilter@gmail.com" ]
rkzfilter@gmail.com
0142f6dfe0aa20636ebdfe624bd37d882f8b3dd6
8dc7e56e6d3bf9655f220a335a6cba4420fab1fb
/app/models.py
913e613e7203d6b5241e3a251b5b8d7b3e353435
[]
no_license
pouyanpournemat97/production-management
b40102a017dc67524618963784e8fc2c0222a916
a1381d42594d93a8fbda38cbe8697b8901187ab0
refs/heads/master
2023-06-29T03:55:55.946313
2021-08-06T22:12:14
2021-08-06T22:12:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,378
py
from django.db import models from django.contrib.auth.models import User from django.utils.html import format_html from django.urls import reverse from django.dispatch import receiver from django.db.models.signals import post_save from django.template.defaultfilters import truncatechars from extensions.utils import jal...
[ "nimadorostkar97@gmail.com" ]
nimadorostkar97@gmail.com
ea3200e6f651c6df7a6d6f29d4c18c43770ce234
eae34089b1bd4a470dd427a97b1ae74441f66706
/4_Week/2_Session/UsersPosts/manage.py
875b4bcc7647a95118151b0505fcaeff3f98b5d2
[]
no_license
Instructor-Devon/Python-June-2020
9036b9558239043c17d2f9aa137380c9e3a66725
171260e9cede1a5882aa949e9336e95b3c78fccf
refs/heads/master
2022-11-25T15:34:29.159975
2020-07-30T01:32:16
2020-07-30T01:32:16
272,532,887
1
6
null
2020-07-27T23:47:08
2020-06-15T20:04:25
Python
UTF-8
Python
false
false
625
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Users.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportEr...
[ "=" ]
=
3b743342f9f497321fd8a02487096b1243bae69a
68aa1eb8d43dff568322647619f2bdb58cadfe88
/src/polytopes/helpers.py
8300e61a947dad9d35fd1a2f74ea9b8b6881330b
[ "MIT" ]
permissive
fastref/pywonderland
0b9a31fc3d10dca9ef94ba160de8248276972f2d
fde61be5d1becab8e9a779801be2b43fb47bd07b
refs/heads/master
2020-05-30T18:41:11.389274
2019-06-01T11:47:19
2019-06-01T11:47:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,490
py
# -*- coding: utf-8 -*- """ Some helper functions for building the geometry and exporting to POV-Ray. """ import sys import numpy as np def normalize(v): """Normalize a vector `v`. """ return np.array(v) / np.linalg.norm(v) def reflection_matrix(v): """Return the reflection transformation about a pl...
[ "mathzhaoliang@gmail.com" ]
mathzhaoliang@gmail.com
ea259e57f67eb8ddebd6111b80a65a982bed9576
44d5718c02492ad3fbaf90436b2041a5373fe716
/pnc/client/models/BuildConfigurationSet.py
b45657f519628ad42bbf7fc3cfa38b7235e78e42
[ "Apache-2.0" ]
permissive
aabulawi/pnc-cli
0eb984995f58e138a0f4f7894be5f8fad388e918
80c184b5830154ecae852cd0b525d8f906a0f389
refs/heads/master
2021-05-29T20:03:27.759702
2015-06-01T22:03:30
2015-06-01T22:03:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
#!/usr/bin/env python """ Copyright 2015 Reverb Technologies, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require...
[ "thauser@redhat.com" ]
thauser@redhat.com
a9ce0533e5605461392cc7cd7b9b8d3c92779f10
40be08bbfed4bd6a951c18cc4bc0bf1f00e7e8a6
/lib/systems/d-zylose.py
67f6d6e2c5373ed194a18beafb32fd85c2c61c4d
[ "BSD-3-Clause" ]
permissive
pulsar-chem/Pulsar-Core
5bf4239c0a0de74d3f12a1c8b9bea2867fd8960c
f8e64e04fdb01947708f098e833600c459c2ff0e
refs/heads/master
2021-01-18T06:51:05.905464
2017-06-04T02:31:44
2017-06-04T02:31:44
46,251,809
0
2
null
2017-05-25T14:59:51
2015-11-16T04:21:59
C++
UTF-8
Python
false
false
1,138
py
import pulsar as psr def load_ref_system(): """ Returns d-zylose as found in the IQMol fragment library. All credit to https://github.com/nutjunkie/IQmol """ return psr.make_system(""" C 2.2377 -0.6998 1.0538 C 1.2391 0.2576 0.3597 C -0.1818 ...
[ "noreply@github.com" ]
pulsar-chem.noreply@github.com
b6201f0decde6d3537dfef55d87d6c8580ef7256
03dad0fb0d76b61524ab172e342e3e4ec22614d7
/blender/arm/logicnode/value_active_camera.py
ae607518a0dca193f7338041a767e0207c7ca1e5
[ "GPL-2.0-only", "Zlib" ]
permissive
ceostevenjrogers/armory
1739f1ddec20d7c720baaa7fd4952d14872c375a
c50a086d244dc2acac102ba91cb33e4b47bf40be
refs/heads/master
2020-04-09T11:17:06.347466
2018-12-02T15:45:43
2018-12-02T15:45:43
160,304,146
1
0
Zlib
2018-12-04T05:33:45
2018-12-04T05:33:44
null
UTF-8
Python
false
false
417
py
import bpy from bpy.props import * from bpy.types import Node, NodeSocket from arm.logicnode.arm_nodes import * class ActiveCameraNode(Node, ArmLogicTreeNode): '''Active camera node''' bl_idname = 'LNActiveCameraNode' bl_label = 'Active Camera' bl_icon = 'GAME' def init(self, context): ...
[ "lubos.lenco@gmail.com" ]
lubos.lenco@gmail.com
66c28872880be8e9642a23cf0c5dc3ddc432156b
bb3496758b5b6b40c11050e63453735827343fe7
/clif/testing/python/virtual_funcs_basics_test.py
7a81e3174f6c92d400c94db0dd3c554f23f4109d
[ "Apache-2.0" ]
permissive
wangxf123456/clif
50bf11b7beb4f3ea170fea5bc1b4376ae8bbe594
9bff8a28f5d266d6ea4f4bb0dc1d9c9a0c9ee5b1
refs/heads/main
2023-08-25T09:14:12.023658
2021-10-28T21:36:37
2021-10-28T21:36:37
354,130,212
0
0
Apache-2.0
2021-06-29T17:09:05
2021-04-02T20:50:26
Python
UTF-8
Python
false
false
2,987
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, ...
[ "rwgk@google.com" ]
rwgk@google.com
2059c5212cc87456814894b05f0bfe64c5b14677
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/69/usersdata/160/30925/submittedfiles/jogo.py
b8c330886bfda5a419dc709a4a74dd385f734f70
[]
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
699
py
# -*- coding: utf-8 -*- import math CV=int(input('Digite o numero de vitorias do Cormengo: ')) CE=int(input('Digite o numero de empates do Cormengo: ')) CS=int(input('Digite o numero do saldo de gols do Cormengo: ')) FV=int(input('Digite o numero de vitorias do Flaminthians: ')) FE=int(input('Digite o numero de empat...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5f2f2f62d9e209a8c43c108559ed9696d6405874
924b4dae25dae640a98c60052167373ef69fe6e7
/src/ww/iterable.py
7aec45af70ed4d14f750c05dd4561123e9276a0d
[ "MIT" ]
permissive
trnsnt/ww
5b9a1b22b2867440edd307f8e6a6607277d126cb
620286f6bd87e9779c1fce7807f5801e4d5a926e
refs/heads/master
2021-01-11T02:00:25.646928
2016-10-13T14:37:57
2016-10-13T14:37:57
70,824,309
0
0
null
2016-10-13T16:07:39
2016-10-13T16:07:39
null
UTF-8
Python
false
false
9,008
py
import itertools try: from typing import Union, Callable, Iterable, Any except ImportError: pass from collections import deque def starts_when(iterable, condition): # type: (Iterable, Union[Callable, Any]) """Start yielding items when a condition arise. Args: condition: if the callable...
[ "lesametlemax@gmail.com" ]
lesametlemax@gmail.com
36425d74982082d0b993eb2763fcaf4fda9e5c90
24caa6710105a060fab2e17147e6d56609939011
/06-Importing_Data_in_Python_(Part_2)/02-Interacting_with_APIs_to_import_data_from_the_web/01-Pop_quiz_What_exactly_is_a_JSON.py
7d07cb8ebab0e3d8517f4af23e39fdea0a237f2a
[]
no_license
inverseundefined/DataCamp
99607022ad3f899d7681ad1f70fcedab290e269a
7226b6b6f41888c3610a884db9a226e013d37e56
refs/heads/master
2022-01-10T00:53:21.714908
2019-07-24T13:27:49
2019-07-24T13:27:49
198,280,648
1
0
null
null
null
null
UTF-8
Python
false
false
510
py
''' Pop quiz: What exactly is a JSON? Which of the following is NOT true of the JSON file format? Answer the question 50 XP Possible Answers -> JSONs consist of key-value pairs. press 1 JSONs are human-readable. press 2 The JSON file format arose out of a growing need for real-time server-to-browser commu...
[ "inversedrivenundefined@gmail.com" ]
inversedrivenundefined@gmail.com
d018a70b81d3b6bcb45f7b92e28660d712eddbe7
77ab710ae6a574d7a77b28c33a53a7fe5d05b8e2
/Module5/examples/sort_choice_com.py
bfd0fb167f79abe492820d32226abf005ef887ca
[]
no_license
BlackCranium/SpecialistPython2
37e0c08ffa7d9558ca0b62f37361c8fd6f857aca
2b4a33fd910246d137e6a74dd2a418352e0db30e
refs/heads/master
2023-06-13T22:43:57.489325
2021-02-13T02:06:05
2021-02-13T02:06:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,175
py
# Заполняем список из 10 элементов # случайными числами от 1 до 99 и # выводим неотсортированный список на экран. from random import randint N = 10 arr = [] for i in range(N): arr.append(randint(1, 99)) print(arr) # В цикле переменная i хранит индекс ячейки, # в которую записывается минимальный элемент. # Сначала...
[ "t89236238012@gmail.com" ]
t89236238012@gmail.com
8fa645a3261efcf37ed6b89870a40a295cd66735
b66be582abfb3715d5d0f1ccc77a8684eb8098ed
/fb/views/add_post_reaction/tests/__init__.py
ef423a068b7c007b3f51cbf88bd4e20630bfa1ca
[]
no_license
naveenvadaga/fb_posts
fe816992ca1d050b36d523ebf1127c3c25d490ac
c4187a3ef7713b8b8da91a88bdf17225de04bcf9
refs/heads/master
2022-05-14T16:15:12.222130
2019-07-29T04:00:31
2019-07-29T04:00:31
197,704,064
0
0
null
2022-04-22T21:57:54
2019-07-19T04:51:46
Python
UTF-8
Python
false
false
277
py
# pylint: disable=wrong-import-position APP_NAME = "fb" OPERATION_NAME = "add_post_reaction" REQUEST_METHOD = "post" URL_SUFFIX = "post/{post_id}/react/" from .test_case_01 import TestCase01AddPostReactionAPITestCase __all__ = [ "TestCase01AddPostReactionAPITestCase" ]
[ "naveenvadaga@gmail.com" ]
naveenvadaga@gmail.com
7169c9f0f6f8b8beac638611ffb05da6cd4ef3f0
18f8abb90efece37949f5b5758c7752b1602fb12
/py/django_tools/django-haystack/haystack/exceptions.py
8f93872caec3a355a74a240615d86d9bec4ffc0a
[ "BSD-3-Clause", "MIT" ]
permissive
marceltoben/evandrix.github.com
caa7d4c2ef84ba8c5a9a6ace2126e8fd6db1a516
abc3fbfb34f791f84e9a9d4dc522966421778ab2
refs/heads/master
2021-08-02T06:18:12.953567
2011-08-23T16:49:33
2011-08-23T16:49:33
2,267,457
3
5
null
2021-07-28T11:39:25
2011-08-25T11:18:56
C
UTF-8
Python
false
false
780
py
class HaystackError(Exception): """A generic exception for all others to extend.""" pass class SearchBackendError(HaystackError): """Raised when a backend can not be found.""" pass class SearchFieldError(HaystackError): """Raised when a field encounters an error.""" pass class MissingDependen...
[ "evandrix@gmail.com" ]
evandrix@gmail.com
1b569f5d4561fec903c87efe70e5b8b238a536d8
cbbd5ae034bfc4a81a49af0fb7712516136afa6a
/PycharmProjects/Sensel/Control Application Rows/Tables/TTOrient.py
878dbee8a8c142f124e2f1bf667eb2e120dd54f7
[]
no_license
pratikaher88/SenselWork
fafe12037ae8349510f29b3dc60130d26992ea77
d6f17bca7d2ac6ec6621f9b1b1540ca9e80eb2f7
refs/heads/master
2020-03-22T09:12:19.559029
2019-09-08T19:25:15
2019-09-08T19:25:15
139,822,527
1
0
null
null
null
null
UTF-8
Python
false
false
12,032
py
from collections import defaultdict, Counter import matplotlib.pyplot as plt import numpy from matplotlib.patches import Ellipse, Rectangle # hl, = plt.plot([], []) from SenselUse import sensel, sensel_register_map import threading from matplotlib import style import numpy as np fig = plt.figure(0, figsize=(15, 7)...
[ "pratikaher88@gmail.com" ]
pratikaher88@gmail.com
5d52567712ac61c3f610ad4e8a654413cf14b509
7c06ff01f631cac78aa7c47f2af8237d140eab72
/maa/pilots/test_fcs_parser.py
3d704cd628b0443449132349c0b082442ab2a5c0
[ "MIT" ]
permissive
iosonofabio/maa
563df2e61ee23b128e20c60740761a0a75706ea4
072892e1cb7b8e48e9ffc335d57d508bf1362f7e
refs/heads/master
2020-03-30T15:06:15.457548
2018-10-02T23:51:27
2018-10-02T23:51:27
151,348,294
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
# vim: fdm=indent ''' author: Fabio Zanini date: 12/06/17 content: Test fcs parsing ''' # Modules import os import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from maa.filenames import get_fcs_filenames from maa.facs import FacsSample, FacsSort # Script if __nam...
[ "fabio.zanini@fastmail.fm" ]
fabio.zanini@fastmail.fm
d8526bab86a5787062992e738bb735e51c3e6107
01be82f78a051e0fb50bc9bf4c581376536019b0
/codeforces/1209A.py
0b93167ac8e3eaf5052a50ab519f53d1d6b7e3b0
[ "MIT" ]
permissive
sgrade/pytest
4aaaa2b215a685468f91390733b1d03669a3ce78
eae5ee9dd6829d52644c4df489d5514a0e0c8728
refs/heads/master
2023-06-08T23:36:12.437741
2023-06-06T19:53:26
2023-06-06T19:53:26
124,512,045
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# A. Paint the Numbers from copy import deepcopy n = int(input()) a = list(map(int, input().split())) a.sort() ans = 1 while True: tmp = list() for el in a[1:]: if el % a[0] != 0: tmp.append(el) if len(tmp) < 1: break elif len(tmp) == 1: ans += 1 break ...
[ "sgrade@users.noreply.github.com" ]
sgrade@users.noreply.github.com
b315197d7be2e572f80cb6694c571a19a89afb58
fdf3a655e46424050790540add959c4b0bd308b3
/src/visitors/getNodeVisitor.py
aeb70f6884ca6176a679456cdd9507fc03e54397
[]
no_license
bernielampe1/ast_js_fuzzing
5e456d500e5d9084f279e18f977d1f306222f11f
8be0b49ca5b341270957c0e940471da31590222c
refs/heads/master
2023-05-29T19:09:58.151434
2021-06-15T15:33:36
2021-06-15T15:33:36
377,209,772
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
import sys class NodeVisitor(object): """Node visitor that populates dict addrs with addresses""" def visit(self, node, nodeIndex, currentIndex): if nodeIndex == currentIndex: return -1, node # recurse on all children for child in node: if child is not node: ...
[ "you@example.com" ]
you@example.com
06fc9b06585b4653cef625d8d853844e73f7bb2a
90a5d4217a0e2434520663410ff2f700f6308f08
/tests/api_connexion/endpoints/test_dataset_endpoint.py
80b46161afce4b42e1c8b8714a7a4132b210e7fc
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
Affirm/airflow
eb2c3a92183985fa9ad7c7053c13c1b85cee0d02
c87b945e16dd94f692d0f7d46fa914f270634d46
refs/heads/master
2023-08-12T03:40:51.366494
2023-05-16T19:47:14
2023-05-16T19:47:14
133,406,580
1
1
Apache-2.0
2023-05-16T19:47:15
2018-05-14T18:43:32
Python
UTF-8
Python
false
false
21,246
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
Affirm.noreply@github.com
0952f92272ae950dc275ee1f7a378254b97f1a5b
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/depot_tools/recipes/recipe_modules/gerrit/api.py
95f67c5146b67dcb8ee61092c9e7cb356453f2b7
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
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
15,007
py
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from recipe_engine import recipe_api class GerritApi(recipe_api.RecipeApi): """Module for interact with Gerrit endpoints""" def __init__(self, *args, *...
[ "jengelh@inai.de" ]
jengelh@inai.de
855cd92e3cba3c2778b958bef3a919437a17d604
dd4622390bb7122db37a889e647f28004a265ccd
/1906101001周茂林/2020寒假/C=1-10/6.py
0a5f49f04d24ef6c4556a32218039aee98949f94
[]
no_license
gschen/where2go-python-test
c8adaa095aa8a095401f98c7b3f8f17c72d0532d
eb9e6011b8d33fa45a6b1ef853affd01a296db21
refs/heads/master
2022-12-13T19:45:09.874691
2020-10-15T13:12:52
2020-10-15T13:12:52
211,591,156
4
1
null
2022-12-05T07:46:12
2019-09-29T02:35:00
Python
UTF-8
Python
false
false
987
py
''' 任意给定一个正整数N, 如果是偶数,执行: N / 2 如果是奇数,执行: N * 3 + 1 生成的新的数字再执行同样的动作,循环往复。 通过观察发现,这个数字会一会儿上升到很高, 一会儿又降落下来。 就这样起起落落的,但最终必会落到“1” 这有点像小冰雹粒子在冰雹云中翻滚增长的样子。 比如N=9 9,28,14,7,22,11,34,17,52,26,13,40,20,10,5,16,8,4,2,1 可以看到,N=9的时候,这个“小冰雹”最高冲到了52这个高度。 输入格式: 一个正整数N(N<1000000) 输出格式: 一个正整数,表示不大于N的数字,经过冰雹数变换过程中,最高冲到了多少。 例如,输入: 10 程序应该...
[ "2915133868@qq.com" ]
2915133868@qq.com
3dcad9a68a00a9e4381a5f3c9ea290b1487c9244
5442f2f71e36419ad23894d3dd527837029e42f3
/ramda/inner_join.py
4cac1dc30cebf2934ba7ec9daeb1ec2c7b902385
[ "MIT" ]
permissive
zequequiel/ramda.py
5e6a23765598550ecaf1a76b785f4fde7bc11ea4
eac054163de535520659ce6269536355d5e89865
refs/heads/master
2020-09-11T16:43:07.989407
2019-09-06T12:07:26
2019-09-06T12:10:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
from toolz import curry @curry def inner_join(predicate, xs, ys): """Takes a predicate pred, a list xs, and a list ys, and returns a list xs' comprising each of the elements of xs which is equal to one or more elements of ys according to pred. pred must be a binary function expecting an element from each list. xs...
[ "slava.ganzin@gmail.com" ]
slava.ganzin@gmail.com
53efa5a8a4699f5359b6a1cd8c8853818ea297e7
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/examples/PyQt_PySide_book/005_Lists and tables/002_List to select a font/375. QFontComboBox.py
3cc7d3f483e590119dafaa7815e104189ed6ee71
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
544
py
# -*- coding: utf-8 -*- from PyQt4 import QtGui import sys def on_clicked(): print(comboBox.currentFont().family()) app = QtGui.QApplication(sys.argv) window = QtGui.QWidget() window.setWindowTitle("Класс QFontComboBox") window.resize(500, 90) comboBox = QtGui.QFontComboBox() comboBox.setCurrentIndex(0) button = ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
cc9aac88b6e7a38e97169332e9c5344092745f33
f7e47a2671ac02ba1f36bbd4b265e67813aa9773
/navigation/migrations/0002_search_user.py
c753ad7e1fd126390f23e36b15d2e00456e0183a
[]
no_license
hophamtenquang/ReccommendationSystem
0a9e6f450ccc0b3d8e289619097910b7bf8c1d10
86d84a18aafaffb63cf1316d39b374c7074697cf
refs/heads/master
2021-07-21T22:56:21.606291
2017-11-01T00:10:16
2017-11-01T00:10:16
109,064,320
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-05 20:14 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "hophamtenquang@gmail.com" ]
hophamtenquang@gmail.com
3f64de5ee2613e5ec2239071d4e2416fb1562c37
ffb37db1cf6c8f2a9d02b83fe52130f8879dbcee
/unixpackage/api.py
6c4698b4807560787fab3836e142c91fa8b938d1
[ "BSD-3-Clause" ]
permissive
unixpackage/unixpackage
466150c8d7b550a2194880a8f4e0a0e72ed21ff7
96f8ab8809407f975318a00da464a1ef7383a6cf
refs/heads/master
2020-04-16T11:24:21.568134
2017-11-21T08:02:26
2017-11-21T08:02:26
41,587,325
35
6
null
null
null
null
UTF-8
Python
false
false
3,522
py
from unixpackage.package_group import package_group_for_my_distro from unixpackage.utils import log, warn, check_call from unixpackage import exceptions import signal import os import time def parse_requirements_file(filename): """Parse Requirements file and return a list of packages.""" if filename is not No...
[ "colm.oconnor.github@gmail.com" ]
colm.oconnor.github@gmail.com
a2091433bff34a3bf025e246a927ce129b0c6ef1
2a420de485c2bff402143c1ee76e368f750ece2f
/autosar/util/dcf.py
abc445fe4b79676ee9313a9ba871a998edcc372e
[ "MIT" ]
permissive
jaganbisoyi/autosar
793456e8f30e24ed25ee9fec6298b260e97d7b8a
54085d8c53da9f5e36e4ad7df24314d691123072
refs/heads/master
2020-12-02T06:11:46.796090
2019-12-29T12:02:27
2019-12-29T12:18:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,708
py
import ntpath import os import sys import xml.etree.ElementTree as ElementTree import autosar dvg_xml = """<?xml version="1.0" encoding="utf-8"?> <DVG> <Version>1.0</Version> <Contents> </Contents> </DVG>""" class XMLWriterSimple: def __init__(self): self.indentChar='\t' def mak...
[ "congus8@gmail.com" ]
congus8@gmail.com
42d499274b3920d8a58447b197d44632d8d64006
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-cloudide/huaweicloudsdkcloudide/v2/model/source_storage.py
091d156f23bbd62c365ba5754c9ed6925bc43e50
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
4,009
py
# coding: utf-8 import pprint import re import six class SourceStorage: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is j...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
28ddef365da7d2497db8864f47608856a4304ff0
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/machinelearningexperimentation/__init__.py
696d9843ff91481b1438037dc1f86c71814c5065
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
240
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Make subpackages available: from . import ( v20170501preview, )
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
c48801659e0a125644139712284dac172980b51b
d1f5b5778f427f393f65a0f99fec53cff1b7453d
/honeybee/hbdynamicsurface.py
d4668e043a41e692a20ef53c88b9ad4b9f44e21f
[ "MIT" ]
permissive
ladybug-tools/honeybee-server
a132ee07b066378f68927c9b977ca6d4ea90bef9
983fccc934e5546082557f6c2d1f2d9e00eba332
refs/heads/master
2022-12-10T19:58:49.419963
2020-08-13T01:13:53
2020-08-13T01:13:53
107,787,649
7
3
null
null
null
null
UTF-8
Python
false
false
1,901
py
"""A honeybee surface with multiple states.""" from hbsurface import HBSurface class HBDynamicSurface(HBSurface): """Base class for Honeybee surface. Attributes: name: A unique string for surface name sortedPoints: A list of 3 points or more as tuple or list with three items (x, y...
[ "sadeghipour@gmail.com" ]
sadeghipour@gmail.com
b4e1a12b864e1fd561eed78dda9757bd063ec8a7
4fee75068edcf2fb64074e84b150ad7a744e55df
/newfile5.py
8ad018bd4c2a2d488a711ff303173b6d891f5f77
[]
no_license
satee143/zebuapi
5311e1b7011dc86e311fddc0355f02cc89474205
1fa57ffc1802fac2bfa6bee06125a2ea68c0756a
refs/heads/master
2022-12-07T00:20:42.126203
2020-08-26T18:15:28
2020-08-26T18:15:28
280,687,836
1
2
null
null
null
null
UTF-8
Python
false
false
172
py
s = 'durga software' l = [] for x in s: if x not in l: l.append(x) print(l) for m in range(len(l)): print(l[m], 'is appeared in ', s.count(l[m]), 'times')
[ "sdoosa@insulet.com" ]
sdoosa@insulet.com
1addc45b523f0743ac114b4dc5d9fe25ae4a515d
0dca74ba205f42b38c1d1a474350e57ff78352b4
/L1Trigger/L1TMuon/test/runMuon.py
498e1ed4bce5d5337d00e2d684cc7ccd3967c359
[ "Apache-2.0" ]
permissive
jaimeleonh/cmssw
7fd567997a244934d6c78e9087cb2843330ebe09
b26fdc373052d67c64a1b5635399ec14525f66e8
refs/heads/AM_106X_dev
2023-04-06T14:42:57.263616
2019-08-09T09:08:29
2019-08-09T09:08:29
181,003,620
1
0
Apache-2.0
2019-04-12T12:28:16
2019-04-12T12:28:15
null
UTF-8
Python
false
false
2,587
py
import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.Eras import eras process = cms.Process("L1TMuonEmulation", eras.Run2_2016) import os import sys import commands process.load("FWCore.MessageLogger.MessageLogger_cfi") process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(50...
[ "cmsbuild@cern.ch" ]
cmsbuild@cern.ch
e79fc8bdabc26a38708868cc1059718fa9b2014d
6169bb72f3c8ed847a534e1bb6293cf469343ae8
/src/contactapp/migrations/0002_auto_20191103_1858.py
a6195a8d5ca766b7a4a0710525425372ba05b7f4
[ "MIT" ]
permissive
Tylerholland12/contact-tracker
3549da6e8147ea5234246028c4aaf815965711d4
478251a2e2724fcd84f5ad6b16b82ea90b6bbbfc
refs/heads/main
2023-05-04T13:09:14.098629
2021-05-19T21:42:08
2021-05-19T21:42:08
368,996,535
1
0
null
null
null
null
UTF-8
Python
false
false
368
py
# Generated by Django 2.2.6 on 2019-11-03 18:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('contactapp', '0001_initial'), ] operations = [ migrations.AlterField( model_name='contact', name='phone', ...
[ "tyler.holland@students.makeschool.com" ]
tyler.holland@students.makeschool.com
284aed3c75db6f46db1ea76191cf40d4b548779a
9b39e32f36e4f949d617e158c5034faa9595aaf0
/test/SuSySubstructureAnalysis.py
59ed104f31b8284645caa001596ad5f048dfc6c7
[]
no_license
awhitbeck/SuSySubstructure
c24043227697f74bb85edc1cb84d65b884a141d5
1422a1f6e46468fdd103f92ccbdffc34468cbbd9
refs/heads/synch_June26_2015
2021-01-19T07:43:59.339373
2015-08-16T09:35:49
2015-08-16T09:35:49
14,053,341
0
2
null
2015-08-08T08:24:37
2013-11-01T20:44:04
Python
UTF-8
Python
false
false
11,628
py
import FWCore.ParameterSet.Config as cms from commandLineParameters import * process = cms.Process("analysis") process.options = cms.untracked.PSet( SkipEvent = cms.untracked.vstring('ProductNotFound') ) process.load("FWCore.MessageService.MessageLogger_cfi") process.MessageLogger.cerr.FwkReport.reportEvery ...
[ "whitbeck.andrew@gmail.com" ]
whitbeck.andrew@gmail.com
0e4488cf52b82c1ccdd576e7047b0b1556cf7ee7
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/models/service_specification_py3.py
3887c105db26b9150e5e2e7d01149013d5045141
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,120
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
d0f7f9989ec9543a1e414eed0082bec68cfb0488
cb8b261f11c7cde10f03cb06a480a7581c8cf66d
/pygame_menu/_decorator.py
e21f032546e3296f1545a456f7ea365b71470b97
[ "MIT" ]
permissive
Mandringo02/pygame-menu
29dc9eb72ff4cb911b7f41746ba32d8cf514ec56
149b69e24ef63947b5e23062e29d58ea9eba7ecd
refs/heads/master
2023-03-21T04:29:21.823858
2021-03-02T16:58:51
2021-03-02T16:58:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,692
py
""" pygame-menu https://github.com/ppizarror/pygame-menu DECORATOR Generic decorator, adds additional images, polygons or text to the object License: ------------------------------------------------------------------------------- The MIT License (MIT) Copyright 2017-2021 Pablo Pizarro R. @ppizarror Permission is her...
[ "pablo.pizarro@ing.uchile.cl" ]
pablo.pizarro@ing.uchile.cl
ac0bc6d5f8a70b70206b69a91946dfa4462a67c0
01e95505c457d81f077efab8d2b2e90619ec5ef0
/day48/reverseBetween.py
f168541de99b41e4f0d61bdcc676380bc026cea9
[]
no_license
chenjunyuan1996/Java-Practice
f07e4cb1756b423b89c0440a5d65efcc6cb5caa5
2e6a505a4635a408e575ce6a1af382e2ccf0fe22
refs/heads/master
2021-04-08T12:14:21.518855
2020-07-08T02:04:05
2020-07-08T02:04:05
248,774,679
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def reverseBetween(self, head: ListNode, m: int, n: int) -> ListNode: res = ListNode(0) res.next = head pivot = res for _ in range(m ...
[ "noreply@github.com" ]
chenjunyuan1996.noreply@github.com
e63109d639f8556940b492f9690d2b3ff7b25111
0ca030939fd21c7a0f50190a3529d2c8db8535da
/authentication/views.py
ccf0b4463b7a786dcd214459a9488e4041f2103e
[ "MIT" ]
permissive
joeyac/acmnote
d7386ddaaf8faa142a1bc5e929498ea70413f288
752728916735032b378f3daf7d5316f0215a654c
refs/heads/master
2021-01-20T18:20:48.390485
2016-12-07T14:30:27
2016-12-07T14:30:27
64,570,059
0
1
null
null
null
null
UTF-8
Python
false
false
2,505
py
from django.shortcuts import render, redirect from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse from django.contrib.auth.models import User from django.contrib import auth from django.contrib.auth import login as auth_login from acmnote2.settings import super_manager_code, manage...
[ "623353308@qq.com" ]
623353308@qq.com
b44cfdd86f9ca3e9088fbb0a684be7ad94e5daf2
b4216d709a51cfeeedb5cfd1713f8da1603fbcb4
/resnetxt.py
df9319ea1e3ddad585cd912dc810999fa47c1207
[]
no_license
dsl2009/pytorch_RefineDet
134ea2fd0a793609fbea5c50c7e7b2f01cf33ae0
c03dedd5afc05f69b21d2fca38d5629b2bebdd4e
refs/heads/master
2020-04-16T03:05:37.557262
2019-01-11T09:48:25
2019-01-11T09:48:25
165,219,772
0
0
null
null
null
null
UTF-8
Python
false
false
3,490
py
import torch.nn as nn import math import torch from torch.nn import functional as F from pretrainedmodels import resnet50 def conv3x3(in_planes, out_planes, stride=1): """3x3 convolution with padding""" return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride, padding=1, bias=F...
[ "dsl" ]
dsl
a0c5d067fb36e2cc298914c1732b5a737d0a9f3c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03328/s517601892.py
925ca57ae501478700ab827ba97cb0fc915a7746
[]
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
108
py
A, B = map(int, input().split()) s = B - A t = 0 for i in range(1,s + 1): t += i ans = t - B print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
eda2aaab02c1cd9f983c394af6927a2f4e240146
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.5_rd=1_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=13/sched.py
f850755ee2b576724c57407b97e51b3644cba23a
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
-X FMLP -Q 0 -L 1 138 400 -X FMLP -Q 0 -L 1 50 150 -X FMLP -Q 0 -L 1 37 175 -X FMLP -Q 0 -L 1 37 250 -X FMLP -Q 1 -L 1 37 125 -X FMLP -Q 1 -L 1 35 125 -X FMLP -Q 1 -L 1 34 300 -X FMLP -Q 2 -L 1 31 200 -X FMLP -Q 2 -L 1 30 200 -X FMLP -Q 2 -L 1 26 125 -X FMLP -Q 3 -L 1 19 250 -X FMLP -Q...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
26c3eda2aa355e313607d4d2f761461c0449f6f3
76e6d4f93078327fef8672133fc75a6f12abc240
/ABC084/C.py
c2313ca39b3cc8037db2acbe9ced09778ff409a2
[]
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
450
py
from math import ceil def solve(string): n, *csf = map(int, string.split()) f_list = [] for c, s, f in zip(csf[::3], csf[1::3], csf[2::3]): f_list = [c + ceil((max(_f, s)) / f) * f for _f in f_list] f_list.append(c + s) f_list.append(0) return "\n".join([str(_f) for _f in f_list]) ...
[ "symphony20030829@yahoo.co.jp" ]
symphony20030829@yahoo.co.jp
f1888438435526e82405c063d4f757b952244378
ed2b66a98ea366135f8060dc89ce717034665f3c
/misPerris/views.py
b775025a9432958ac644d17effaa0302243370d7
[]
no_license
frecampos/misperris009django
3220a88dab3fd265b1c5248c50b106cea2cb5f71
cd78a74a237083c6b9c1afe5bd93c8f4a955f5fb
refs/heads/master
2023-05-11T13:30:32.086504
2021-05-27T23:34:20
2021-05-27T23:34:20
371,528,622
0
0
null
null
null
null
UTF-8
Python
false
false
11,713
py
from django.shortcuts import render # importar las tablas para trabajar en la VIEWS from .models import TipoMascota, Mascota, Galeria # para trabajar con la tabla de usuarios importaremos User from django.contrib.auth.models import User # importar la libreria de autentificacion from django.contrib.auth import authent...
[ "you@example.com" ]
you@example.com
63d0f49b7a66fa7cdbfa9805b280ab804257c18c
02011fb7b9685b2506b89641b0ff01416742a854
/笔记本电脑的东西/神经网络/19基于tf的卷积神经网络(1)/cnnbasic.py
8be6d64f281d58ba753dbe1d094645055d72ef22
[]
no_license
hhongker/java
062ea17aa2375d3c59bf5094eca3f2cf13d10ed9
78babd156ed849596c6f633979f40c4549197338
refs/heads/main
2023-03-14T16:39:04.078349
2020-11-24T12:12:37
2020-11-24T12:12:37
315,620,522
0
0
null
null
null
null
UTF-8
Python
false
false
1,396
py
# -*- coding: utf-8 -*- """ Created on Mon Jul 27 20:25:13 2020 @author: Dr. Tang """ import tensorflow as tf inputs=tf.ones([5,6,6,2])#batchsize,input_width,input_height,channel features=tf.ones([3,3,2,7])#kernal_width,kernel_height,channel_in,channel_out batchsize=int(inputs.shape[0]) width=int(features.shape[0...
[ "1004681771@qq.com" ]
1004681771@qq.com
545b1c4cf33834946faf9551d7e23a9ef7d531ef
b62389a40814cc34e20fc08751d464c094b9f781
/dynetx/classes/dyngraph.py
47f45b18551b34cbcdbc1079f2b40666fcb5ab3f
[ "BSD-2-Clause" ]
permissive
0xverif/dynetx
90c883f9f5d066c885e350dc5172991e1af39012
dbeb214429d7044364f11fe2729caa624eae0325
refs/heads/master
2023-01-03T14:41:08.939037
2020-10-12T15:40:36
2020-10-12T15:40:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
42,748
py
"""Base class for undirected dynamic graphs. The DynGraph class allows any hashable object as a node. Of each interaction needs be specified the set of timestamps of its presence. Self-loops are allowed. """ from typing import List, Any import networkx as nx from collections import defaultdict from dynetx.utils impo...
[ "giulio.rossetti@gmail.com" ]
giulio.rossetti@gmail.com
df5627a53ef4749d97944b11a4bd92a064a62203
5949db57f8de8278359f45fe64395f44017671bc
/blog/migrations/0004_auto_20180122_0658.py
44df19e0930d6910ad6bda8c943e1c8086cded18
[]
no_license
andrewidya/personal_blog
71ed6b83ac3c594fa40b9fb40145af3e37dd3079
c64df84f65dafd03ac05cf222fc113416e6926d5
refs/heads/master
2020-04-08T16:39:30.559072
2018-11-28T16:20:48
2018-11-28T16:20:48
159,528,638
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-01-22 06:58 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0003_blogcategory_slug'), ] operations = [ migrations.AlterField( ...
[ "andrywidyaputra@gmail.com" ]
andrywidyaputra@gmail.com
7c368cc232eecc0c51fe8e8cee647d27add84541
02eebb1bad8e4daf5602eed1d16acdbf5604b27c
/restoran/forms.py
a61673d17efd6de043b8e4047f04a996030f32cc
[]
no_license
Ansagan-Kabdolla/Ccup
6fba4193e2e746bbf23f8c920e47e17206449bf5
3a8d6d05f48f261357b664b95c4dd87993c925a9
refs/heads/master
2022-11-01T06:59:17.012087
2020-06-15T22:47:37
2020-06-15T22:47:37
272,559,482
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from django import forms from .models import Zakaz class ZakazForm(forms.ModelForm): class Meta: model = Zakaz fields = ('name','email','date','number','table','foods')
[ "ansagankabdolla4@gmail.com" ]
ansagankabdolla4@gmail.com
d5af340c8d10cd32481cd300b78dc206bb96f15c
cc681c0df77bf79e2f06ad798c7568e4a431bc6d
/off_topic/source_code/html_wayback_downloader.py
1252cf36ce2cfdb7ab4a2b90b4f589001b5590ff
[ "MIT" ]
permissive
shawnmjones/OffTopic-Detection
91ca9b17e5dfcada05e60e4b7b03ecd3d7face2d
6c8f40d3977a66c73e0b484c89a4b0288cc0c6bd
refs/heads/master
2021-01-21T06:45:57.001705
2017-09-19T03:52:31
2017-09-19T03:52:31
83,238,154
1
0
null
2017-02-26T20:25:25
2017-02-26T20:25:25
null
UTF-8
Python
false
false
2,769
py
import re import urllib2 from sys import argv import sys import time import os import requests def ensure_dir(f): d = os.path.dirname(f) if not os.path.exists(d): os.makedirs(d) def download_html_from_wayback( timemap_file_name,collection_directory ) : timemap_file=open(timemap_file_nam...
[ "jones.shawn.m@gmail.com" ]
jones.shawn.m@gmail.com
fb14c82427ed561636a8583193e4edfe94064572
88be4d5657d19462eb1d74d2d4d98180b423a889
/scenarios/tests/load_temporal.py
def4b4ae39368d4f1c476dc054a796f9306001ae
[ "BSD-3-Clause" ]
permissive
domingoesteban/robolearn
bc58278fe38894f4ca9ec9e657ee13a479a368b7
0d20125425c352b80ef2eeed1c0b11ab6497b11a
refs/heads/master
2020-04-15T22:38:25.343229
2019-01-29T17:01:42
2019-01-29T17:01:42
165,080,647
1
1
null
null
null
null
UTF-8
Python
false
false
91,486
py
import numpy as np import matplotlib matplotlib.rcParams['pdf.fonttype'] = 42 matplotlib.rcParams['ps.fonttype'] = 42 import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from matplotlib.ticker import MaxNLocator import pickle import math import os, sys from robolearn.old_utils.plot_utils import plot...
[ "domingo.esteban@iit.it" ]
domingo.esteban@iit.it
bcbf86d42a267e4d12dde912ee26c8e0587d577c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_020/ch8_2020_03_02_16_10_36_784584.py
53b258ddb4347b0678192012945127da1027fc37
[]
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
54
py
def calcula_posicao(so, v, t): print(so +v*t)
[ "you@example.com" ]
you@example.com
a8c76de3da7ae9a6cdb4e1c4aa842caa72dc9443
f17405a63adc5a74ffc06105bcca34851ea1036c
/0x0F-python-object_relational_mapping/9-model_state_filter_a.py
d646e60fb215073f45ed0aee7100d5e5dfd341a6
[]
no_license
DiegoAlar/holbertonschool-higher_level_programming
2b258067b2ec75ac88a8416b68e1d9ae388d70d5
cffb44f8c2bca4335197f442748e4a1239808283
refs/heads/master
2020-09-29T04:20:04.422779
2020-05-15T00:40:26
2020-05-15T00:40:26
226,941,088
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
#!/usr/bin/python3 """Start link class to table in database\ Script that lists all State objects that contain the letter a from the\ database hbtn_0e_6_usa """ import sys from model_state import Base, State from sqlalchemy import (create_engine) if __name__ == "__main__": engine = create_engine( 'my...
[ "diegoaav@hotmail.com" ]
diegoaav@hotmail.com
f87820dfea33f1e8bec7cddba74e16c1eaea0d0e
f8d2521a88e465eed01adc3981c7a173d5c2554b
/round/round0326-0350/round0339/b1.py
502e4d3f59a3b7a45c108db56cbf2f04232a0494
[]
no_license
clarinet758/codeforces
b2a8a349bba40e7761a8ce50dd5ff9a57477b60d
d79870c47bdb109547891a0d076dd173d6d647cf
refs/heads/main
2021-12-15T05:46:51.000160
2021-12-01T12:01:33
2021-12-01T12:01:33
41,968,658
1
0
null
null
null
null
UTF-8
Python
false
false
890
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- import time import sys import io import re import math import itertools import collections import bisect #sys.stdin=file('input.txt') #sys.stdout=file('output.txt','w') #10**9+7 mod=1000000007 #mod=1777777777 pi=3.141592653589 xy=[(1,0),(-1,0),(0,1),(0,-1)] bs=[(-1,-1),(-1,...
[ "clarinet758@gmail.com" ]
clarinet758@gmail.com