blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
1e5d0a4775926ad7eca41ca21de02527e1c667cd
0f5a9de6a46828489fd2ff4c4d029aff8ebae49c
/verif/tests/interval_test.py
bb2119f7e54ff031ddf68ad5bcfa8f16f3dc13a8
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tommz9/verif
bd83294802292a1b977479832c2960b172f175ac
4be06aa178783e7270ca944d852a7bf33c60fa01
refs/heads/master
2020-04-01T21:29:33.416134
2018-10-26T13:59:39
2018-10-26T13:59:39
153,658,882
1
0
NOASSERTION
2018-10-26T13:59:40
2018-10-18T17:04:48
Python
UTF-8
Python
false
false
3,566
py
import unittest import verif.interval import numpy as np class MyTest(unittest.TestCase): _tests = [-0.1, 0, 0.1, 0.9, 1, 1.1] def compare(self, interval, expected): """ Run interval.within on all elements in _tests and compare the result with expected """ for i in range(0, len(self._tests)): ...
[ "tnipen@gmail.com" ]
tnipen@gmail.com
dd35698663419f8d6c543ef5ac50050c5ad7ea1e
a41e1498e3c080f47abd8e8e57157548df3ebbf1
/pandas/tests/copy_view/index/test_timedeltaindex.py
a543e06cea3288f76caf3b2aea001fc65183ab50
[ "BSD-3-Clause" ]
permissive
pandas-dev/pandas
e7e639454a298bebc272622e66faa9829ea393bb
c7325d7e7e77ecb4a4e57b48bc25265277c75712
refs/heads/main
2023-09-01T12:42:07.927176
2023-09-01T11:14:10
2023-09-01T11:14:10
858,127
36,166
18,728
BSD-3-Clause
2023-09-14T21:18:41
2010-08-24T01:37:33
Python
UTF-8
Python
false
false
564
py
import pytest from pandas import ( Series, Timedelta, TimedeltaIndex, timedelta_range, ) import pandas._testing as tm @pytest.mark.parametrize( "cons", [ lambda x: TimedeltaIndex(x), lambda x: TimedeltaIndex(TimedeltaIndex(x)), ], ) def test_timedeltaindex(using_copy_on_wr...
[ "noreply@github.com" ]
pandas-dev.noreply@github.com
f1695d60a376ecc551aa6dd1420f952f831196cd
f028c7ca2e4c42505011ac0543cde4a111ee5c74
/eggs/django_lfs-0.10.2-py2.7.egg/lfs/manage/views/marketing/rating_mails.py
cc424e233fc4478d859bcb5f914ba750279581c6
[]
no_license
yunmengyanjin/website
d625544330c28f072707dcbbc5eb7308a3f4bd9f
77e9c70687b35fd8b65a7f2d879e0261ae69c00e
refs/heads/master
2021-04-22T13:10:09.584559
2017-05-15T07:39:32
2017-05-15T07:39:32
56,428,389
2
16
null
2020-10-02T07:41:08
2016-04-17T09:18:33
Python
UTF-8
Python
false
false
3,281
py
# django imports from django.contrib.auth.decorators import permission_required from django.conf import settings from django.contrib.contenttypes.models import ContentType from django.contrib.sites.models import Site from django.core.mail import EmailMultiAlternatives from django.shortcuts import render_to_response fro...
[ "daniel48@126.com" ]
daniel48@126.com
7bba5afb25b890a3e27fe8289a0dacd556bd13c6
726443a932a8cde570dee4bae7a1f23a9e1541be
/src/lib/trains/base_trainer.py
c3c9d19ecf229962ba76a20daf7dca890a0561bf
[]
no_license
jiaqigeng/FairMht
c25e33f3d01060fc6f38c7a7a8b87674fca89723
77332d7032b7a2c5ceda502d52a948ae75533fb3
refs/heads/main
2023-08-29T00:58:07.086037
2021-10-15T19:39:27
2021-10-15T19:39:27
417,614,693
0
0
null
null
null
null
UTF-8
Python
false
false
4,273
py
# ------------------------------------------------------------------------------ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # ------------------------------------------------------------------------------ from __future__ import absolute_import from __future__ import d...
[ "jiaqig@umich.edu" ]
jiaqig@umich.edu
5acaf4f14f5629d7ebfb8da59194699155de4a35
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_3002.py
44a4349fc0f2b3cee9185cc72e9196d04e4c1484
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
# Interestinting situation. DataBase Error? Python. Django UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-10: ordinal not in range(128)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
66ebc55b511c423d99861ae0807eace72294b554
86320d9a0ffe62f7dd41c6a6a97d6781e7b0ecef
/home/migrations/0002_load_initial_data.py
94f7c1f911e51e7ba4ee945498dd8b02a6670613
[]
no_license
crowdbotics-apps/node-dialogflow-25183
dc1dd4cbfc9e816f33406440cc6766588aa6048b
1cfbf1771e800e980841e3159f150b2ea15072db
refs/heads/master
2023-03-14T15:54:18.444135
2021-03-22T12:29:44
2021-03-22T12:29:44
350,335,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,314
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "Node-dialogflow" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
3159e242d44be77f4e355cdb8445d4215f4654bf
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit1573.py
94d36b19d7d4a95292f48c54909723962b2ce135
[ "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,466
py
# qubit number=5 # total number=58 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,floor, sqrt, pi import numpy as np import networkx as ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
5bb808fc600627240ac2a10bf31d3eeca8d36c3d
36b75aac4236e928e22552e8812abd45d32aecf1
/plugins/dbnd-snowflake/tests/test_snowflake_values.py
e783ed43aad5ded6d9776225dd9bc40af0bfa955
[ "Apache-2.0" ]
permissive
reloadbrain/dbnd
7793aa1864f678005de626068b0ac9361d637d65
ec0076f9a142b20e2f7afd886ed1a18683c553ec
refs/heads/master
2023-09-01T08:04:09.486666
2021-10-14T16:43:00
2021-10-14T16:43:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,688
py
from collections import OrderedDict from textwrap import dedent import mock from pytest import fixture from dbnd_snowflake.snowflake_controller import SnowflakeController from dbnd_snowflake.snowflake_values import SnowflakeTable, SnowflakeTableValueType from targets.value_meta import ValueMetaConf EXPECTED_SNOWFL...
[ "roman.slipchenko@databand.ai" ]
roman.slipchenko@databand.ai
c3795a4336b7b2157ee30c831cd5104db61bdf28
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/noqQNSr5o9qzvXWzL_14.py
1126492c4bbf0a577364b68765e9382180680f08
[]
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
1,157
py
""" The **right shift** operation is similar to **floor division by powers of two**. Sample calculation using the right shift operator ( `>>` ): 80 >> 3 = floor(80/2^3) = floor(80/8) = 10 -24 >> 2 = floor(-24/2^2) = floor(-24/4) = -6 -5 >> 1 = floor(-5/2^1) = floor(-5/2) = -3 Write a function that **m...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ef1bc78d614bdf8b99d918400c2e5d19fba52026
71acb7214efd91c0d327f6d8958e1798eadb4401
/locations/spiders/toyworld_au.py
4404521475c67e6991aaaf1f488eec2de17d71f0
[ "CC0-1.0", "MIT" ]
permissive
alltheplaces/alltheplaces
21b9f8b4ace1352e52ae7b8f8825a930d2cb033e
1bcbb55cfcf06f2c714465570711f6e83f205c22
refs/heads/master
2023-08-30T19:45:35.098658
2023-08-30T17:51:54
2023-08-30T17:51:54
61,166,935
453
176
NOASSERTION
2023-09-14T17:16:40
2016-06-15T01:09:18
Python
UTF-8
Python
false
false
348
py
from locations.storefinders.stockinstore import StockInStoreSpider class ToyworldAUSpider(StockInStoreSpider): name = "toyworld_au" item_attributes = {"brand": "Toyworld", "brand_wikidata": "Q95923071"} api_site_id = "10046" api_widget_id = "53" api_widget_type = "storelocator" api_origin = "h...
[ "noreply@github.com" ]
alltheplaces.noreply@github.com
8fe1ee911c0442d46db49c11e27e793e00a23364
99feebd7e64a1961bd3f3c3b152c013b35bc9bad
/testCase/topic_organization_organization_id_test.py
5f9076e0ba20922135efea1f89f9eeff09f0c1b0
[]
no_license
andy-29/AutomatedTest
a551fb8d2d608c5191a9f1d71a30188f9a19bba5
1c3d2b5295f4b6df4e9321f6a75740a3970df3e4
refs/heads/master
2020-06-16T15:24:24.418593
2019-06-05T06:26:19
2019-06-05T06:26:19
195,621,212
0
0
null
null
null
null
UTF-8
Python
false
false
1,421
py
import gmhttp import unittest import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) import sys sys.path.append(BASE_DIR) from common.get_config import g import os,sys BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(BASE_DIR) func = os.path.basename(...
[ "dayuezaichunji@163.com" ]
dayuezaichunji@163.com
81f247641e9f3b5ccb81ce54fb24b415e074b28d
76f5dfe78f27b73de2b1938953fdb495e8a300c6
/cards/Creativity.py
002f8b860f08d7488c76353b9eb21a9fc36c7d08
[]
no_license
akio-elclaed/discordTCG
77423c5622d372fc000b44782f9601bff070ae97
7076365299f7dff90a89dd74e2fc5b124b5cda8c
refs/heads/master
2023-08-19T20:36:56.520484
2021-10-11T15:02:44
2021-10-11T15:02:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
#!/user/bin/env python from cardList import addCard import tcgpowers, mechanics #Simple variables NAME = "Creativity" COST = 4 RARITY = 'C' DESC = "You can spawn a Node again this turn after playing this card." TARGETS = None TYPE = "NodeInteraction" #What happens when you play it def playFunc(ply, enemy, target): ...
[ "noreply@github.com" ]
akio-elclaed.noreply@github.com
efee0a1c47a06a73ae318d03dd9e4ad8aeac7068
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/Uranium/plugins/Views/SimpleView/__init__.py
22e0535976e30ccf3f1efdcf71da343e4cb01d45
[ "GPL-3.0-only", "LGPL-3.0-only" ]
permissive
flight7788/3d-printing-with-moveo-1
b2dba26010c4fa31815bc1d2d0966161a8600081
7fcb9c6b5da9245d54ac917de8c2a7f5148e42b0
refs/heads/Feature_Marlin_with_AlanBoy
2022-08-30T18:36:44.785058
2020-05-30T07:52:58
2020-05-30T07:52:58
212,583,912
0
0
MIT
2020-05-16T07:39:47
2019-10-03T13:13:01
C
UTF-8
Python
false
false
426
py
# Copyright (c) 2015 Ultimaker B.V. # Uranium is released under the terms of the LGPLv3 or higher. from . import SimpleView from UM.i18n import i18nCatalog i18n_catalog = i18nCatalog("uranium") def getMetaData(): return { "view": { "name": i18n_catalog.i18nc("@item:inmenu", "Simple"), ...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
5f9f377384d9409227096e75e8cf036356354110
250db406ad4a62e3d576e55b979bcfdc3407f226
/Leetcode_250/Problem_90/my_solution.py
ac34e67a7de4ec0c059385e5cf8769c06b6c01c8
[]
no_license
chenshanghao/Interview_preparation
0830f0e461a2fe287b8ec24ae761974f50268767
4e7701d32990604c16ba18a8083c2108c0232306
refs/heads/master
2020-04-25T02:36:19.499364
2019-06-10T04:51:00
2019-06-10T04:51:00
172,446,284
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
class Solution: def subsetsWithDup(self, nums: List[int]) -> List[List[int]]: res = [] self.helper(res, sorted(nums), 0, []) return res def helper(self, res, nums, start, tmp): res.append(tmp[:]) for i in range(start, len(nums)): if i>start and n...
[ "21551021@zju.edu.cn" ]
21551021@zju.edu.cn
79b85b67a914591bfbcf39483b02b3a9a8d51430
eafa057887039c1355aeb652b12dbddc529a12d5
/shoppingsite.py
51692adb52cdd78ce963e7d8ddc1cb89d0fa41a7
[]
no_license
wfslithtaivs/Melon-Shopping-Site
e5a426f28d11fe696cf9e02ef382ed07ed85e7c7
c198c29eb000be68a810bb198fbc57a934f5dd48
refs/heads/master
2021-01-25T09:09:21.765101
2017-06-08T20:04:07
2017-06-08T20:04:07
93,787,379
0
0
null
null
null
null
UTF-8
Python
false
false
5,652
py
"""Ubermelon shopping application Flask server. Provides web interface for browsing melons, seeing detail about a melon, and put melons in a shopping cart. Authors: Joel Burton, Christian Fernandez, Meggie Mahnken, Katie Byers. """ from flask import Flask, render_template, redirect, flash, session import jinja2 im...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
b0600301e00693eab66d0e319967389cc9fb4a3c
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/ANdoCvhhaEibypkDE_3.py
749f744183a6b0c83c12a3aa85fad653703a039c
[]
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
1,017
py
""" Create a function that returns the sum of the digits formed from the first and last digits, all the way to the center of the number. ### Worked Example closing_in_sum(2520) ➞ 72 # The first and last digits are 2 and 0. # 2 and 0 form 20. # The second and second to last digits are 5 and 2. ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
79e4eff6c2735371de9c8eacf2e599254fc7dc18
39b0d9c6df77671f540c619aff170441f953202a
/PYTHON LIBRARY/SUB_1/pprint_arbitrary_object.py
05769e55ced582d54ffeafd01d1464f2c569eedc
[]
no_license
yeboahd24/Python201
e7d65333f343d9978efff6bf86ce0447d3a40d70
484e66a52d4e706b8478473347732e23998c93c5
refs/heads/main
2023-02-06T10:24:25.429718
2020-12-26T01:08:04
2020-12-26T01:08:04
306,487,550
2
0
null
null
null
null
UTF-8
Python
false
false
495
py
# The PrettyPrinter class used by pprint() can also work with custom classes, if they define # a __repr__() method. from pprint import pprint class node: def __init__(self, name, contents=[]): self.name = name self.contents = contents[:] def __repr__(self): return ( 'node(' + repr(self.nam...
[ "noreply@github.com" ]
yeboahd24.noreply@github.com
422b8fda65d10ba4f168c765c010868deeb221fd
c7d3d0e9597f5ddcdbe5ee5930ad5418b655b12b
/Python/pascals-triangle-ii.py
3dfc379631b8006389d8ac2bf9a3145b7f2db44e
[]
no_license
Eleveil/leetcode
eb43c67f7da0c9bc145ee886f63fc685e40fe1b5
35ac047ea9d4b24460ef5b2d8486d79621a788e9
refs/heads/master
2020-09-03T09:28:29.793603
2019-09-27T07:20:11
2019-09-27T07:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
'''' Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's triangle, each number is the sum of the two numbers directly above it. Example: Input: 3 Output: [1,3,3,1] Follow up: Could you optimize your algorithm to use only ...
[ "1215470124@qq.com" ]
1215470124@qq.com
39cbe2944a3b576151823b6d16d2e5f7ce85371f
7e41d5ec2f8ba704c99bbb252a216566fa0e7ce3
/Clases/ScrapyFramework/CIA/cia/setup.py
d348658c62566f86913b2c7226f70af7b01fee77
[ "MIT" ]
permissive
juanpanu-zz/PM_DataScience
11cf1fab4939ba415bbae28b134182e7f3108e37
24e71616dae692e931e95cd3815ca88fa9b8a46a
refs/heads/master
2023-01-03T01:15:50.893425
2020-10-24T16:32:16
2020-10-24T16:32:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
# Automatically created by: shub deploy from setuptools import setup, find_packages setup( name = 'project', version = '1.0', packages = find_packages(), entry_points = {'scrapy': ['settings = cia.settings']}, )
[ "juanpa.nb@gmail.com" ]
juanpa.nb@gmail.com
236ed71fc8700557d062f3b31987ce30b12ae4c9
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/catapult/dashboard/dashboard/graph_revisions.py
1cb88ee268680b57c5696413adf04daa80b19f12
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
4,665
py
# Copyright 2015 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. """Handler to serve a simple time series for all points in a series. This is used to show the revision slider for a chart; it includes data for all past poi...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
be474377b1388981893e26f7dab813ad3dbcdf32
b7dca2e137c16bc2583e11f9a0d231a63642b04c
/poradnia/users/forms/__init__.py
a03e42e8af9016d4432ef1496b17650a36a20080
[ "MIT" ]
permissive
watchdogpolska/poradnia
4ebc521e8ccfab0113d1a47cdf4469b758e90bdd
d679321a764218002e2c87ac71dd549208949b7e
refs/heads/master
2023-08-16T20:29:31.720709
2023-04-28T18:50:09
2023-04-28T18:50:09
35,786,536
24
23
MIT
2023-07-13T06:59:38
2015-05-17T23:06:17
JavaScript
UTF-8
Python
false
false
319
py
from .account import SignupForm # noqa: F401 from .permissions import PermissionsTranslationMixin # noqa: F401 from .permissions import TranslatedManageObjectPermissionForm # noqa: F401 from .permissions import TranslatedUserObjectPermissionsForm # noqa: F401 from .users import ProfileForm, UserForm # noqa: F401
[ "noreply@github.com" ]
watchdogpolska.noreply@github.com
04e9f380ca435b9d996b8fb061f4595af468063f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_interferes.py
5145bd43f58b4c6f3dbd371e36aedc7bf4b2c768
[ "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
234
py
#calss header class _INTERFERES(): def __init__(self,): self.name = "INTERFERES" self.definitions = interfere self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['interfere']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
08005f14c8dc333b3dcdce978fb653cab94df6f9
c239486d2884f03591e20c1e9419156e27805aa1
/BOJ/BOJ1654_랜선자르기.py
bdd2fa4603f6fbd0b4096541ab5d9bbb1fd87fc1
[]
no_license
ynsseon07/Coding_with_Python
ba1fda42534e6134b58d742dc02dc204f447f57a
4e2041198b3720d97934becdcc2603486dfb5564
refs/heads/master
2023-08-25T19:57:44.657541
2021-10-28T14:11:24
2021-10-28T14:11:24
364,128,790
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
# 이분탐색(이진탐색) import sys K, N = map(int, sys.stdin.readline().split()) lanseon = [int(sys.stdin.readline()) for _ in range(K)] def binary(arr, target, start, end): while start <= end: cnt = 0 mid = (start + end) // 2 # 이미 갖고 있는 K개의 랜선으로부터 몇개의 랜선 얻어낼 수 있는지 구함 for i in range(len(arr)...
[ "ynsseon@gmail.com" ]
ynsseon@gmail.com
ad7a04c4e3b87438b619ff193926b8da27fc4091
520baeba0e86b0bab3c5590f40b868ca4306dc7e
/hazelcast/protocol/codec/enterprise_map_publisher_create_codec.py
406ad80c43aeafe20a8e728294a37ba5ccd919d6
[ "Apache-2.0" ]
permissive
mustafaiman/hazelcast-python-client
69f27367162045bbfa4e66e7adadcfd254dfab21
85f29f975c91520075d0461327e38ab93c2e78c2
refs/heads/master
2021-01-18T04:23:10.740371
2015-12-11T14:26:06
2015-12-11T14:26:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,077
py
from hazelcast.serialization.data import * from hazelcast.serialization.bits import * from hazelcast.protocol.client_message import ClientMessage from hazelcast.protocol.custom_codec import * from hazelcast.protocol.codec.enterprise_map_message_type import * REQUEST_TYPE = ENTERPRISEMAP_PUBLISHERCREATE RESPONSE_TYPE =...
[ "arslanasim@gmail.com" ]
arslanasim@gmail.com
e7115f8da2c6db7d990665534c608714fe5b3179
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/ops/gradients.py
3971d48b9756d45e9b81e22c3e320437a1a4728f
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,429
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 applica...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
d5f57b9a85e584893c574f308ea7f01b79d5db08
a5103b7d5066138ac1a9aabc273361491a5031cd
/daily/8/DeepLearning/myproject/yolo3/modelzoo/caffe/EvalueModel.py
4da77700fa221c10879adfb5bdd2ce9e079c99b5
[]
no_license
mckjzhangxk/deepAI
0fa2f261c7899b850a4ec432b5a387e8c5f13e83
24e60f24b6e442db22507adddd6bf3e2c343c013
refs/heads/master
2022-12-13T18:00:12.839041
2021-06-18T03:01:10
2021-06-18T03:01:10
144,862,423
1
1
null
2022-12-07T23:31:01
2018-08-15T14:19:10
Jupyter Notebook
UTF-8
Python
false
false
3,867
py
import caffe import numpy as np from modelzoo.AlexNet import alexNet from modelzoo.CaffeNet import caffeNet from modelzoo.GoogleNet import googleNet from modelzoo.ResNet import resNet50, resNet101, resNet152 from modelzoo.VGG16Net import vgg16 from tqdm import tqdm from modelzoo.caffe.inputs import DataIterator ''' =...
[ "mckj_zhangxk@163.com" ]
mckj_zhangxk@163.com
27456a6d6d2f1e0f1df68fbdfaf979fbf9f38c2c
16caebb320bb10499d3712bf0bdc07539a4d0007
/objc/_CoreSuggestionsML.py
f5c982ca298825bf78212aefdddb49917a43152c
[]
no_license
swosnick/Apple-Frameworks-Python
876d30f308a7ac1471b98a9da2fabd22f30c0fa5
751510137e9fa35cc806543db4e4415861d4f252
refs/heads/master
2022-12-08T07:08:40.154553
2020-09-04T17:36:24
2020-09-04T17:36:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,983
py
''' Classes from the 'CoreSuggestionsML' framework. ''' try: from rubicon.objc import ObjCClass except ValueError: def ObjCClass(name): return None def _Class(name): try: return ObjCClass(name) except NameError: return None SGQuickResponsesDatabase = _Class('SGQuickRespo...
[ "adrilabbelol@gmail.com" ]
adrilabbelol@gmail.com
b6587403ac20e3a4a68721c8f3c9000ce8bef936
62babb33b9bede95aac217db04636956279bb2e2
/math/1368F Lamps on a Circle.py
143785b36960a23dc8fd94dd225c73033e60b669
[]
no_license
tycyd/codeforces
0322e31daf18544944c769fd2a50c6d006015e34
e0773f069c6c5793f9d9a07b61878a589e375a5f
refs/heads/master
2023-08-12T05:00:39.467404
2021-09-30T16:39:21
2021-09-30T16:39:21
266,847,425
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
from sys import stdin, stdout # 0 0 0 0 # 0 1 0 1 # 1 # 0 0 0 1 # 0 0 # 1 1 # 0 # # 1 0 0 # 0 0 # 0 0 1 # # 0 1 0 # 1 0 1 # x: number of currently turned on lamps # k: turned on lamps after moved # after move x+k should be divided into at most k-1 s...
[ "tycyd@hotmail.com" ]
tycyd@hotmail.com
ae9a42b16e212bccadea649caa4fb094b86f8229
23b333449524887594530f73c0079ce60cb8eefb
/python_module/examples/875_Koko_Eating_Bananas.py
2176374f90d5e5b8380356cd9b0a952e387351f8
[]
no_license
benbendaisy/CommunicationCodes
9deb371095f5d67e260030d3d8abf211c90e7642
444cc502ef26810b46115797f2e26ab305a4ebdf
refs/heads/master
2023-08-09T21:46:58.691987
2023-07-20T05:11:39
2023-07-20T05:11:39
27,856,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
from typing import List class Solution: """ Koko loves to eat bananas. There are n piles of bananas, the ith pile has piles[i] bananas. The guards have gone and will come back in h hours. Koko can decide her bananas-per-hour eating speed of k. Each hour, she chooses some pile of bananas and eats ...
[ "benbendaisy@users.noreply.github.com" ]
benbendaisy@users.noreply.github.com
c6c61ae9532ecd44d055cc3a8dde59f2a6836fe8
22df05d5f3c7ebd9e6d6b44bbe5c5ee7e0212d7d
/scripts/azurerm_application_security_group.py
585ee1ff43a0338bff0d075b84d3932f51b552e6
[ "MIT" ]
permissive
recetasdevops/py-az2tf
a5990f834d7f04dec4b8e049800c71a18eb62e90
e6932b64ce194f78724fb92078e2e833a44b50c7
refs/heads/master
2020-08-08T11:08:29.358336
2019-10-09T04:35:04
2019-10-09T04:35:04
213,818,587
0
0
MIT
2019-10-09T04:10:31
2019-10-09T04:10:31
null
UTF-8
Python
false
false
2,650
py
def azurerm_application_security_group(crf,cde,crg,headers,requests,sub,json,az2tfmess): # 040 ASG's tfp="azurerm_application_security_group" azr="" if crf in tfp: # REST # print "REST ASG" url="https://management.azure.com/subscriptions/" + sub + "/providers/Microsoft.Network/...
[ "andyt530@outlook.com" ]
andyt530@outlook.com
c2cd8c0d4235b9cf16d023e58cbb1a3a381fa315
c88647bf9337918c29d6f96f6db5a0bfdfc1cd9a
/nas_big_data/ptb/problem_agebov3.py
9f1dfc535899caabf6eee2e7c3af06b0dc45f83d
[ "BSD-2-Clause" ]
permissive
deephyper/NASBigData
89c81c391b0360c839689fec0ed04039ebb51705
18f083a402b80b1d006eada00db7287ff1802592
refs/heads/master
2023-04-16T00:05:35.965384
2021-06-03T13:01:33
2021-06-03T13:01:33
279,793,726
5
2
null
null
null
null
UTF-8
Python
false
false
1,417
py
from deephyper.problem import NaProblem from nas_big_data.ptb.search_space import create_search_space from nas_big_data.ptb.load_data import load_data Problem = NaProblem(seed=2019) Problem.load_data(load_data) Problem.search_space(create_search_space, num_layers=4) Problem.hyperparameters( batch_size=[32, 64...
[ "romainegele@gmail.com" ]
romainegele@gmail.com
a2b270e42d34fc8f72f2bec9ee0b251fe42111a3
28c9c80e282ce0c5758f3a3bd08fe909d13ae7b2
/lawyer_crawler/lnlawyers.py
9a7bd3663c3b60df021a117fb9302a184d100830
[]
no_license
nightkid101/jgcf
c7513e47e40d19ac1765fc06b9698512c78cdbc3
1bf657e56ec483b391aa67dcf40ff1a0f6d8f02a
refs/heads/master
2022-12-15T03:30:31.695683
2019-06-27T08:14:57
2019-06-27T08:14:57
194,050,771
0
3
null
2022-11-22T02:23:52
2019-06-27T08:04:40
Python
UTF-8
Python
false
false
8,014
py
from pymongo import MongoClient import requests from bs4 import BeautifulSoup as bs from urllib.parse import urljoin import math import re from init import logger_init, config_init logger = logger_init('辽宁省律师协会-数据抓取') config = config_init() if config['mongodb']['dev_mongo'] == '1': db = MongoClient(config['mongodb...
[ "871241077@qq.com" ]
871241077@qq.com
426f38f399b0728644d645bad9bb95e1a91892b0
9da8754002fa402ad8e6f25659978bd269bbcec8
/src/904B/test_cdf_904B.py
a719999c668cd3da8f79a60ea74472140223cb95
[ "MIT" ]
permissive
kopok2/CodeforcesSolutionsPython
a00f706dbf368ba0846c8ae86d4145b5dd3e1613
35bec0dbcff47765b123b5fe60476014376153df
refs/heads/master
2023-02-02T03:08:22.097651
2020-12-17T22:00:50
2020-12-17T22:00:50
196,035,812
1
1
null
null
null
null
UTF-8
Python
false
false
185
py
import unittest from unittest.mock import patch from cdf_904B import CodeforcesTask904BSolution class TestCDF904B(unittest.TestCase): if __name__ == "__main__": unittest.main()
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
a57246f7dd682cd7a4c42e3ee82b109a7e37b959
dae2deea56610239e84213d4de8ff5b183b6b639
/DeepLearningStudy/day_02/testfile.py
96bcf4fe813ad8a80967af5fffbcf3a5091ae1b7
[]
no_license
852251748/pytorchStudy
f76fbd0529d1197535b0ffe7a6a75d5a64d755eb
3b865c814bf51a1946d628bb75c7cec10fe12590
refs/heads/master
2022-12-05T18:14:00.549552
2020-09-03T06:27:20
2020-09-03T06:27:20
274,569,603
0
0
null
null
null
null
UTF-8
Python
false
false
5,737
py
import torch import torch.nn as nn import torchvision # It includes the popular data set, model structure and commonly used image conversion tools. import torchvision.transforms as transforms # Device configuration device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu') # Hyper parameters num_epochs =...
[ "123456789@qq.com" ]
123456789@qq.com
070c4109909e4a981880f0510fb9ed05fc27bd39
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0091-Decode-Ways/soln-1.py
a746c2bcfe81b7c66e2e59a23d9623150378cd9e
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
336
py
class Solution: def numDecodings(self, s: str) -> int: n = len(s) dp = [0] * (n + 1) dp[0] = 1 for i, ch in enumerate(s): if ch != '0': dp[i + 1] += dp[i] if i >= 1 and "09" < s[i - 1:i + 1] < "27": dp[i + 1] += dp[i - 1] ...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
ffcc7f01143230dbf20ff66518a197aab77b2aec
47a509494359e430da70536596733d910baaeba6
/api/views.py
0f1e134d77a84fef506f3eb39ab62a3a90a7e7ea
[]
no_license
kyrios213/django-react-tutorial
6286e724947f1aed49f5936d2b969e7a5b110603
ae2e19a93da32288460c7c952d21b3506724c57f
refs/heads/main
2023-07-11T20:40:31.921201
2021-08-25T12:21:52
2021-08-25T12:21:52
396,775,140
0
0
null
null
null
null
UTF-8
Python
false
false
5,531
py
from django.db.models.query import QuerySet from django.http import JsonResponse from django.shortcuts import render from rest_framework import generics, serializers, status from rest_framework.views import APIView from rest_framework.response import Response from .serializers import RoomSerializer, CreateRoomSerializ...
[ "kyrios213@gmail.com" ]
kyrios213@gmail.com
b04b26bd1a7599f18c1a18fd1dad4f1ef8688102
5182897b2f107f4fd919af59c6762d66c9be5f1d
/.history/src/Individuo_20200707101048.py
07291938f44b0dfbf4cc41eb1a60b68e24f914cf
[ "MIT" ]
permissive
eduardodut/Trabalho_final_estatistica_cd
422b7e702f96291f522bcc68d2e961d80d328c14
fbedbbea6bdd7a79e1d62030cde0fab4e93fc338
refs/heads/master
2022-11-23T03:14:05.493054
2020-07-16T23:49:26
2020-07-16T23:49:26
277,867,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
import random class Individuo(): SADIO = 0 INFECTADO_TIPO_1 = 1 INFECTADO_TIPO_2 = 2 CURADO = 3 MORTO = 4 def __init__(self, status, chance_infeccao, chance_infeccao_tipo2): self.status = status self.chance_infeccao = chance_infeccao self.chance_infec...
[ "eduardo_dut@edu.unifor.br" ]
eduardo_dut@edu.unifor.br
043ecd6457773fe935395eeb287eff3db39df4da
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/minimum-cost-to-connect-two-groups-of-points/399219378.py
6c893a4cb576ca9e35b3a53489ae1ecdf1a0c0cb
[]
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
1,569
py
# title: minimum-cost-to-connect-two-groups-of-points # detail: https://leetcode.com/submissions/detail/399219378/ # datetime: Tue Sep 22 22:26:02 2020 # runtime: 9556 ms # memory: 35.3 MB class Solution: def connectTwoGroups(self, cost: List[List[int]]) -> int: m, n = len(cost), len(cost[0]) rows ...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
19420b408ae15b433b10bd58a138dff5b17de46d
e196a0975c08b9e45cf8fb85848efd545d645688
/1064.py
f5562fd16c3bf044a5799570134b7ae8d6d42546
[]
no_license
Isaias301/Questions-URI
e273078062569475a809582d83b2607ca28f1348
72bfa3295c537046e56e7e1fd939fbfb15edd1e3
refs/heads/master
2020-03-22T18:33:55.076555
2019-02-19T18:51:56
2019-02-19T18:51:56
140,467,790
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
def main(): # entradav soma=0 cont=0 i=1 while i<=6: valor=float(input()) if valor>=0: soma=soma+valor cont=cont+1 i=i+1 print("%i valores positivos\n%.1f" % (cont, soma/cont)) if __name__ == '__main__': main()
[ "isaiassantana301@gmail.com" ]
isaiassantana301@gmail.com
f885b36482daae9492508c9bf63d614862531c1e
dc80f94c1a244002db468fc7242d5fcaafe439dc
/powerdns_client/configuration.py
20612b7d3f33947dccdac02eb8d78b634bc23dc9
[ "MIT" ]
permissive
sanvu88/python-powerdns-client
f675e1ee162bb76190b41ddf0cfc34e2305a757b
57dd0460995a5407c6f5c963553b4df0f4859667
refs/heads/master
2023-02-04T07:05:31.095951
2020-12-15T16:48:15
2020-12-15T16:48:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,142
py
# coding: utf-8 """ PowerDNS Authoritative HTTP API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 0.0.13 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absol...
[ "67791576+underline-bot@users.noreply.github.com" ]
67791576+underline-bot@users.noreply.github.com
6fa0cb8fa767207ceeb80d23a18fc1aa2e72b60f
4d81a1065f1e487aebae794d5637d37423efd345
/PyTest_5_Conftest_11/test_file_51.py
d514e4230bb1686953de3186b37f0ae0e66e5884
[]
no_license
amanoj319319319/EclipsePython
b10cc787125f681e8cb134301c20c450e52e5154
d366839e03c13daf052874e44aafe21d0f9d437d
refs/heads/master
2022-09-08T03:47:08.013223
2020-06-01T06:12:14
2020-06-01T06:12:14
267,015,649
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
import pytest from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import time @pytest.mark.usefixtures("driver_init") class TestExampleOne: def test_method_1(self): ...
[ "a.manoj16@gmail.com" ]
a.manoj16@gmail.com
a2b1734e9573f6952d9e78f5ef8cd81925b2cb20
75dcb56e318688499bdab789262839e7f58bd4f6
/Python for Data Structures Algorithms/template/17 Searching and Sorting/Implementation of Shell Sort.py
1657533fe0a5e44438d5cb5a70daa7f83891bf55
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
1,413
py
# Implementation of Shell Sort # # The shell sort improves on the insertion sort by breaking the original list into a number of smaller sublists, # each of which is sorted using an insertion sort. The unique way that these sublists are chosen is the key to # the shell sort. Instead of breaking the list into sublists of...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
fc0dc7b251d0e8442ec182029dead34162acfed4
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/tools/grit/grit/node/include.py
4bad78594727e45b7f25705336108cfec16866c2
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-2.0-only", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
6,723
py
#!/usr/bin/env python # Copyright (c) 2012 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. """Handling of the <include> element. """ import os import sys from grit import exception from grit import util import grit.forma...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
7aba5e2002490b03f2aa0c39bbdfcd8e55136b3c
066e874cc6d72d82e098d81a220cbbb1d66948f7
/.hubspot/bin/pip
a1e23f49423db2fc63b131e440978a03fe090894
[]
no_license
webdeveloper001/flask-inboundlead
776792485a998a0eaa4b14016c3a2066e75ff2a2
d0a539d86342e9efc54d0c0a1adc02c609f0f762
refs/heads/master
2021-01-19T01:34:55.241144
2017-04-05T00:42:03
2017-04-05T00:42:03
87,248,885
1
0
null
null
null
null
UTF-8
Python
false
false
282
#!/home/ubunto/Documents/Work/hubspot/Sachin_bhat-inboundlead-b35d68d05d00/.hubspot/bin/python2 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jamesbrown1018@outlook.com" ]
jamesbrown1018@outlook.com
490398acf82a663a560c7c99d0d92dad0da27b43
ca3ff0bc4f7e9e8fcf677afa3a1a18dd2129a5d4
/daily_problems/problem_201_to_300/292.py
ca5bf8aa2a8564a9889ce2afe8ffa56dbe33311a
[ "MIT" ]
permissive
rrwt/daily-coding-challenge
d9b23a82a1a3c4824b8f1aeacf6584afc5189ce7
4dcd59eaff021be0b9b1aba1dda73248c81454b7
refs/heads/master
2022-05-29T04:32:44.406196
2022-05-25T01:12:01
2022-05-25T01:12:01
181,972,357
1
0
MIT
2021-04-20T19:58:43
2019-04-17T21:41:25
Python
UTF-8
Python
false
false
2,073
py
""" A teacher must divide a class of students into two teams to play dodge ball. Unfortunately, not all the kids get along, and several refuse to be put on the same team as that of their enemies. Given an adjacency list of students and their enemies, write an algorithm that finds a satisfactory pair of teams, or return...
[ "rohitrawat2000@gmail.com" ]
rohitrawat2000@gmail.com
8f16cb1414e9165008629e4262138d440f93d13f
b92adbd59161b701be466b3dbeab34e2b2aaf488
/sb/utils/create_comment.py
dfa76a677ca74a2a269babeb1275380b224b4682
[]
no_license
R151865/cloud_9_files
7486fede7af4db4572f1b8033990a0f07f8749e8
a468c44e9aee4a37dea3c8c9188c6c06e91cc0c4
refs/heads/master
2022-11-22T10:45:39.439033
2020-07-23T09:31:52
2020-07-23T09:31:52
281,904,416
0
1
null
2022-11-20T00:47:10
2020-07-23T09:08:48
Python
UTF-8
Python
false
false
531
py
from fb_post.models import Comment from .utils_validators import ( is_valid_comment_content, is_valid_user, is_valid_post ) # 3 def create_comment(user_id, post_id, comment_content): is_valid_comment_content(comment_content) is_valid_user(user_id) is_valid_post(post_id) #TODO: is_valid_post_i...
[ "r151865@rguktrkv.ac.in" ]
r151865@rguktrkv.ac.in
34cc2a1cd6db9c8ed76d66a4c94735ee61ac8b37
03f1519986ee2b553a7e07ce3193e9d5eae6abde
/saklient/cloud/errors/paymentcreditcardexception.py
10f9f61b97b4afcd6235523ce50b307fb0a26f0c
[ "MIT" ]
permissive
sakura-internet/saklient.python
4343cdedd24532704d7d4b7dfa0745c50fd6f3be
96174e0adbd5006c9b9519ca4d5924cc492f4262
refs/heads/master
2021-01-01T05:06:06.130497
2020-12-16T08:10:03
2020-12-16T08:10:03
23,689,552
8
3
null
2015-08-20T04:10:24
2014-09-05T03:53:44
Python
UTF-8
Python
false
false
868
py
# -*- coding:utf-8 -*- # This code is automatically transpiled by Saklient Translator import six from ...errors.httppaymentrequiredexception import HttpPaymentRequiredException import saklient str = six.text_type # module saklient.cloud.errors.paymentcreditcardexception class PaymentCreditCardException(HttpPaymentR...
[ "townewgokgok@gmail.com" ]
townewgokgok@gmail.com
ff00f7150ed37a0a45bcaf663532a94f58a9a7a5
b1b77bb1ed47586f96d8f2554a65bcbd0c7162cc
/SPOTIFY/docker-stress/spotify/docker_stress/docker_client.py
f32f3aedd5f065e7e3dfa6dfd59abbd4ce688c55
[]
no_license
DanHefrman/stuff
b3624d7089909972ee806211666374a261c02d08
b98a5c80cfe7041d8908dcfd4230cf065c17f3f6
refs/heads/master
2023-07-10T09:47:04.780112
2021-08-13T09:55:17
2021-08-13T09:55:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,347
py
import logging from json import loads from os import environ from subprocess import Popen, PIPE log = logging.getLogger(__name__) DEFAULT_DOCKER_ENDPOINT = environ.get('DOCKER_HOST', 'unix:///var/run/docker.sock') try: p = Popen('which docker', stdout=PIPE, stderr=PIPE, shell=True) out, err = p.communicate...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
db1f8b0f0ab79af034232ac23db585df4d6a73f8
f516117516015fe6684d9703e9de68b74c8dd552
/Leetcode/25. Reverse Nodes in k-Group/solution1.py
04cde0d5dee2427e649b3cb9145209536255ab82
[ "MIT" ]
permissive
hack121/Outtalent
dafd627043a1a62e746f7ff8a3a0438d9d47d06d
c507ae6b69a7a0936cb7538c8664a2e07eb92cfb
refs/heads/master
2022-11-22T21:41:53.299510
2020-07-26T21:38:02
2020-07-26T21:38:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def reverseKGroup(self, head: ListNode, k: int) -> ListNode: if not head or k == 0: return head test = head for i in range(...
[ "info@crazysquirrel.ru" ]
info@crazysquirrel.ru
4f9604df928029dd07fc1d122fc7dffd4d42e7a9
218d55fc9ce3800874e08f416e765df70f90fb20
/user_profile/urls.py
e99fb89aea859ea57133282b178dda49fba1eae6
[ "MIT" ]
permissive
vintkor/cryptotrade
150ccac9a6f9ddf156b2296a0bebbec207d063fc
cd27b5d58e4149cf9ad5e035983fcec566369833
refs/heads/master
2022-12-13T05:01:29.530543
2018-12-02T02:35:14
2018-12-02T02:35:14
141,984,911
1
0
MIT
2022-12-08T02:22:54
2018-07-23T08:28:50
HTML
UTF-8
Python
false
false
1,556
py
from django.urls import path from .views import ( NewUserByRefCodeView, AuthView, user_logout, UserProfileDetailView, VerificationFormView, VerificationDocumentLoaderView, VerificationsListView, VerificationUserDetailView, ChangeDirectionView, UserChangePasswordView, ChangoPr...
[ "alkv84@yandex.ru" ]
alkv84@yandex.ru
33c2b474a66c537702b2e78083d3fdf9811a9618
69889d51e933b4e8a1d4c8397a317aa1d1365a5a
/DP/1300.py
ddd09042395df6d51e1c15dff85a7406272b91ed
[]
no_license
ddraa/Algorithm
a35c87631420ceccec6f7094da6f2b22ddb66c8c
a97c6628d5389f7f93603a2e95ac3b569057f556
refs/heads/master
2023-06-25T17:12:39.925821
2021-07-18T05:53:28
2021-07-18T05:53:28
279,240,088
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
import sys input = sys.stdin.readline N = int(input()) k = int(input()) l, r = 1, k while l <= r: m = (l + r) // 2 c = 0 for i in range(1, N + 1): c += min(N, m // i) if c >= k: r = m - 1 ans = m else: l = m + 1 print(ans)
[ "ruuddyd@gmail.com" ]
ruuddyd@gmail.com
2a4d62ce9d864835ef5f938d6e82ac994a8cdc40
4e308e8bb7056f1fd6914777b38d98b18254867f
/DECOMPYLED/BCF2000/consts.py
ebd072885fd6b42571b5ac2a619e4409f3238402
[]
no_license
bschreck/cuttlefish
165aae651bf58c1142cc47934802a7a3614e39da
0f44ccca0ebf1a6f78165001586fcb67b98b406a
refs/heads/master
2020-05-19T23:07:11.520086
2014-02-25T05:26:18
2014-02-25T05:26:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
# emacs-mode: -*- python-*- """ The following consts should be substituted with the Sys Ex messages for requesting a controller's ID response and that response to allow for automatic lookup""" ID_REQUEST = 0 ID_RESP = 0 GENERIC_STOP = 89 GENERIC_PLAY = 90 GENERIC_REC = 91 GENERIC_LOOP = 92 GENERIC_RWD = -1 GENERIC_FFW...
[ "bschreck@mit.edu" ]
bschreck@mit.edu
f9ea18b43a866615955dca08ad7be87bd09e93c0
6022d4228b3bd318447f2693a799c44f78d4d552
/hqca/ibm/ibm_status.py
5f97aa6792e9e8962e1681e477194a0f58f5d270
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
sesmart/HQCA
74e67673913e6f3a141d3ed814dfad2d4f51c287
07ed661b95d0ee798c8f75396960e510e23ffbe6
refs/heads/main
2023-02-28T10:44:59.789765
2021-02-02T21:04:03
2021-02-02T21:04:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
from qiskit import Aer,IBMQ from qiskit.tools.monitor import backend_overview print('Loading accounts.') IBMQ.load_accounts() print('Loading backends.') print('') backend_overview()
[ "smartscott@gmail.com" ]
smartscott@gmail.com
567c027b84845df7c7c88a0e74df96f54b581d62
fc78d0b1550146c3edda81ef02d8b3c79af3bff7
/emotionreader/emotion_profile/migrations/0001_initial.py
dfcef4b47f565b0cb63a9cebcd5823226e15196b
[ "MIT" ]
permissive
musflood/emotion-reader
f65715c77a0fdbd1d05b2d9ced006db8583e4ed6
7d5c305563d5f3b962d8d8aaaab0443217964edc
refs/heads/master
2021-05-13T14:53:59.861163
2017-12-22T18:51:27
2017-12-22T18:51:27
116,751,372
0
1
null
2018-01-09T01:52:22
2018-01-09T01:52:21
null
UTF-8
Python
false
false
776
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-12-18 20:12 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): initial = True dependencies = [ migrations...
[ "ztaylor2@zagmail.gonzaga.edu" ]
ztaylor2@zagmail.gonzaga.edu
68737f92467c3b210a93cc5ae8fa480f1dd45889
0a5b036dd4c2ab1cfb6089eca2f0195c250c7472
/week5/replace nb.py
8fe1de6da8201039bab20fdcc4fb1451f2099cd6
[]
no_license
RussianJulliet/python_coursera
57092655ee3d8a2c653fbc1d4d182b655988223d
98fdc3b2e92a587dbe710058836ab26c09c7b126
refs/heads/master
2020-08-19T05:06:46.477061
2019-12-15T14:48:29
2019-12-15T14:48:29
215,881,353
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
numList = list(map(int, input().split())) for i in range(0, len(numList) - 1, 2): numList[i], numList[i + 1] = numList[i + 1], numList[i] print(*numList)
[ "noreply@github.com" ]
RussianJulliet.noreply@github.com
4be91457f4fedd15ceab27b1e4847ee1bbac3d4f
9d59bf966411409796d733eb940a4ce5f3c011cf
/can_tools/utils.py
1b70183d0d6cf3c47093935b7a5bccdd4234afde
[ "MIT" ]
permissive
mehanig/can-scrapers
db32a3b4cc2329eccc74b35162295e669670e6ac
e953871679222791f751b9bc26146ea607ebd937
refs/heads/main
2023-04-30T03:24:56.110445
2021-04-03T14:22:41
2021-04-03T14:22:41
354,490,319
1
0
MIT
2021-04-04T08:15:07
2021-04-04T08:12:48
null
UTF-8
Python
false
false
1,186
py
from typing import Optional import pandas as pd import sqlalchemy as sa def determine_location_column(df: pd.DataFrame) -> str: """Return name of column containing location identifier Args: df: Normalized DataFrame Raises: ValueError: raised when locaiton column could not be found. ...
[ "spencerlyon2@gmail.com" ]
spencerlyon2@gmail.com
7c060cec557b8016f5500c0452a79560462cc6b3
5f18c2dae27e8f4e5d483811efd9abc4a3b25c50
/setup.py
e646d562e6ddd10f454c36936b34dc038e60e5c7
[ "MIT" ]
permissive
sdgdsffdsfff/rsyncrun
d0f61f3eb13c7497e0a827c6336b200b96e5e54c
2be2025bcbf1d3a3ae04c548fb824a732dccf60d
refs/heads/master
2021-01-15T23:40:44.459824
2015-07-30T11:25:43
2015-07-30T11:25:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
# -*-coding:utf-8-*- from setuptools import setup setup( name='rsyncrun', version='1.1.2', url='http://github.com/17zuoye/rsyncrun/', license='MIT', author='David Chen', author_email=''.join(reversed("moc.liamg@emojvm")), description='Rsync your code to server and run.', long_descrip...
[ "mvjome@gmail.com" ]
mvjome@gmail.com
ebd9f95b762c0464e15105e5f7680472e995fb06
eed828b40cda391ab9531dc3dbf2d8949e5e58c3
/test/test_gpu.py
55a02bd0b881cb625fc70b96ec260baff10172cc
[]
no_license
yzbx/coal
7a8e4bca60935c0eb271d30aeca657ce72ffffd8
be44cd2932bba5c56014015be1af13c8727fc946
refs/heads/master
2020-11-30T12:23:01.147701
2019-12-10T09:02:15
2019-12-10T09:02:15
230,395,959
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
# -*- coding: utf-8 -*- import unittest import json import time import os from app.framework import QD_Process class GPUTest(unittest.TestCase): def test_gpu(self): with open('config.json','r') as f: config=json.load(f) config['save_frame_number']=10 try: ...
[ "youdaoyzbx@163.com" ]
youdaoyzbx@163.com
9f63011c1fc6009bfef6603fc54d9d310ea9d3e5
0d413c078c0dd7f1f68083750022441f091736f5
/addons/source-python/plugins/gungame/core/players/database.py
b6bc691e1088fea835dc7667b6b89bf0bdb99283
[]
no_license
Hackmastr/GunGame-SP
7eac4c031e5e6f4624a8cacfea8d3d5df85a2dfb
dd76d1f581a1a8aff18c2194834665fa66a82aab
refs/heads/master
2020-12-26T04:56:12.309910
2016-12-29T23:15:53
2016-12-29T23:15:53
67,629,767
0
0
null
2016-09-07T17:40:57
2016-09-07T17:40:56
null
UTF-8
Python
false
false
5,149
py
# ../gungame/core/players/database.py """Stores winner information for all players.""" # ============================================================================= # >> IMPORTS # ============================================================================= # Python from collections import defaultdict from sqlite3 ...
[ "satoon101@gmail.com" ]
satoon101@gmail.com
7f903678cd93c1e1305dbb7285791d863e44c051
5c0d89eced3c2dfee02d3bc7376cc0b411494adb
/IPlugExamples/IPlugSideChain/update_version.py
ef38d073e1351dacf58963de0e3619730c315988
[ "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference" ]
permissive
p0nce/wdl-ol
8e89331d9fc6df80426c41adf4f866df2cb13eb9
b06589da81ff2c3ee77fa63c81797ef6532a18bf
refs/heads/master
2021-01-18T10:16:25.188035
2012-09-26T17:38:26
2012-09-26T17:38:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,303
py
#!/usr/bin/python # this script will update the versions in plist and installer files to match that in resource.h import plistlib, os, datetime, fileinput, sys, string scriptpath = os.path.dirname(os.path.realpath(__file__)) def main(): MajorStr = "" MinorStr = "" BugfixStr = "" for line in fileinput.inpu...
[ "olilarkin@googlemail.com" ]
olilarkin@googlemail.com
f4c1c68e99d940c8c43210731745ee63a7ff12cf
6c0beed4cd8719bf48982a853183121cea35cadf
/socket_02_echo.py
16c742d13ae6743544a1d52f1fa006778a5e1f4a
[]
no_license
vicky288/pythonScripts
c90406dd2addc7a72275be0526daae7eba7d8c29
2b31c726b5924314b31a37f3a4eb86c132816859
refs/heads/master
2021-04-30T16:35:30.739238
2017-02-09T00:06:16
2017-02-09T00:06:16
80,077,402
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
import socket tcpsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) #tcpsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR,1) tcpsocket.bind(("0.0.0.0",8006)) tcpsocket.listen(2) print "Waiting for Client...." (client,(ip,port)) = tcpsocket.accept() print "ip and port of connecting machine:%s %d"%(ip,port...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
9d8705fb59d1c2a7bb083ec54ffdd557367ddccc
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/VBSjjlnu/scripts/nuisances_tools/fake_nominal_shapes.py
918f54656802796624cf6521791b83722b3b629b
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
2,058
py
from __future__ import print_function import argparse ''' The script adds up/down shapes equal to nominals in all cuts and vars of the inputfile if they do not exists. ''' parser = argparse.ArgumentParser() parser.add_argument("-i","--input", help="Input file", type=str) parser.add_argument("--nuisances", help="Nuisan...
[ "davide.valsecchi@cern.ch" ]
davide.valsecchi@cern.ch
f597966b747b3d6f52ff958aa772062c4cd16a0d
a360a22af5e0b385db438b1324564ef317ff2f38
/exchange_pairs/migrations/0005_auto_20200823_1539.py
4624655033aa453179c8d6a74256a02c80f03163
[]
no_license
ogglin/exchange_comparison
3eb2d849e731f94e67509e4ce9130e33bb37bbaf
f3feae64aff26b574f7ecd24e6f7aff7bb95ec65
refs/heads/master
2023-04-26T07:45:06.229584
2021-05-31T18:52:29
2021-05-31T18:52:29
287,036,194
0
1
null
null
null
null
UTF-8
Python
false
false
626
py
# Generated by Django 3.1 on 2020-08-23 12:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('exchange_pairs', '0004_customsql_settings'), ] operations = [ migrations.AlterField( model_name='settings', name='koef...
[ "server.ares@gmail.com" ]
server.ares@gmail.com
63a2fa744233f0723925944bff1f9e14635ace42
41498e0177ecee909c7af362c9bc2782b47f64fd
/best-time-to-buy-and-sell-stock.py
13897575ab3a7b39fe13c019d9285c5612c54a82
[]
no_license
bufubaoni/algorithms
1087a3ac903d0330c7f7784e05f3efb435eaf698
6c21b1181b1da0feff903d3f8917716f9f644956
refs/heads/master
2021-05-18T10:35:13.483701
2020-05-27T00:30:08
2020-05-27T00:30:08
251,212,838
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
class Solution(object): def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ if not prices: return 0 dp = [0] * len(prices) mi = prices[0] for idx in range(1, len(prices)): dp[idx] = max(dp[idx-1], prices[id...
[ "bufubaoni@163.com" ]
bufubaoni@163.com
05d87f40b2778200de448feb209ff8f3107a8b50
8e46b52c8971c85b30fb21e9cc9806d6ffcd87de
/parse.py
e4b0204e881a3fad6c55898e0c5a6b8eaf942dca
[]
no_license
pzqkent/YOLO3
eb30d1b616ee124c3eda9fd877732fb1312017af
0db7a992ca237a0bc09dcf949e901f999f681cc9
refs/heads/master
2020-04-17T14:02:35.156713
2019-01-20T08:49:33
2019-01-20T08:49:33
166,640,928
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
import os import urllib.request as ulib from bs4 import BeautifulSoup as Soup import ast import time from selenium import webdriver # chromPath = '' dr = webdriver.Chrome() # dr.get('https://www.baidu.com') # time.sleep(10) # print('Browser will be closed') # dr.quit() # dr.close() URL = 'https://www.google.com/s...
[ "pzqkent@gmail.com" ]
pzqkent@gmail.com
9a476cf7a9a00ecc19040a61d7eb9b47e8deede1
7949f96ee7feeaa163608dbd256b0b76d1b89258
/toontown/catalog/CatalogEmoteItem.py
80ba0b76acab78b2a6266ffa1062633111dea43a
[]
no_license
xxdecryptionxx/ToontownOnline
414619744b4c40588f9a86c8e01cb951ffe53e2d
e6c20e6ce56f2320217f2ddde8f632a63848bd6b
refs/heads/master
2021-01-11T03:08:59.934044
2018-07-27T01:26:21
2018-07-27T01:26:21
71,086,644
8
10
null
2018-06-01T00:13:34
2016-10-17T00:39:41
Python
UTF-8
Python
false
false
5,416
py
# File: t (Python 2.4) import CatalogItem from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from otp.otpbase import OTPLocalizer from direct.interval.IntervalGlobal import * LoyaltyEmoteItems = (20, 21, 22, 23, 24) class CatalogEmoteItem(CatalogItem.CatalogItem): sequenceNumb...
[ "fr1tzanatore@aol.com" ]
fr1tzanatore@aol.com
9ab97f882fa6f37800dd481859c22ce38da21d9b
b3c21cdb0eb8698ef6302aa2864a642c69c041a2
/src/app_make_cpp.py
24a5d5ba956047e586bc1af2196ff58b508bae14
[]
no_license
topherCantrell/sim-katamino
dd5c6a65695e0d43fccca1997baef386c228ef38
ea1fc80edca49b06618b3deafeee768453b10f14
refs/heads/master
2022-07-12T07:39:08.669167
2022-05-29T14:53:30
2022-05-29T14:53:30
167,275,006
1
1
null
null
null
null
UTF-8
Python
false
false
195
py
import piece_utils for p in piece_utils.PIECES: print('piece_draws.clear();') for u in p['unique']: s = p['draws'][u] print('piece_draws.push_back("' + s + '");')
[ "topherCantrell@gmail.com" ]
topherCantrell@gmail.com
c8aa01a638751359fb4bb59e4ec8a346dd28d403
1e9ad304868c2bda918c19eba3d7b122bac3923b
/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_status.py
0b0ac7bd6708589a822a2975b75862cb5edf85cb
[ "Apache-2.0" ]
permissive
pineking/client-python
c77e5bd3d476ac852e6dffa96056008baa0f597f
74a64d7325518f4298600d4bb300f92843c29347
refs/heads/master
2021-01-22T22:16:27.368406
2017-03-15T08:21:21
2017-03-15T08:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,110
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems im...
[ "mehdy@google.com" ]
mehdy@google.com
426a472071a91b7c347e49ba993cb00702f3b800
5dd5d4f80a883459ece27066bb88a8a951b1f88a
/examples/simulations/particle_simulator.py
39eb6702a28f552e1f7dbd3145bff40dd8da7ae9
[ "MIT" ]
permissive
Gjacquenot/vtkplotter
428cd7c302ca50980a829aa274cf0c4165990267
dc865f28dec0c6f10de159dc1f8f20dd69ee74cf
refs/heads/master
2020-05-25T17:19:55.569739
2019-05-22T14:56:50
2019-05-22T14:56:50
170,382,207
0
0
MIT
2019-02-12T19:58:25
2019-02-12T19:58:24
null
UTF-8
Python
false
false
4,477
py
""" Particle Simulator Simulates interacting charged particles in 3D space. Can also be imported as an independent module. """ # By Tommy Vandermolen, 3 August 2018 print(__doc__) from vtkplotter import Plotter, Cube, Sphere, mag2, versor, vector import numpy as np K_COULOMB = 8987551787.3681764 # N*m^2/C^2 vp = Non...
[ "marco.musy@gmail.com" ]
marco.musy@gmail.com
5fb5962aac3ec4b9ac33a7774fc285d251f14f70
73641b3442e0c5ece50496c7edf57eccb81e10b2
/plugin.video.nfl-teams/resources/lib/teams/packers.py
d38041ac6bd2b3e6ab4bc4a025d24dd7a2033d6f
[ "MIT" ]
permissive
ian10951/tdbaddon
b76c25cecdb387b3e2194d94d8e33fdb96a4d26a
bdba5d83322bdcacb9071cc92fc4a68b5d8d1766
refs/heads/master
2021-01-25T01:22:04.443402
2017-06-19T06:02:05
2017-06-19T06:02:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
import resources.lib.nflcs class Team(resources.lib.nflcs.NFLCS): _short = "packers" _cdaweb_url = "http://www.packers.com/cda-web/" _categories = [ "After Further Review", "Alumni Spotlight", "Community", "Exclusives", "Game Highlights", "Game Preview", ...
[ "tdbaddon@hotmail.com" ]
tdbaddon@hotmail.com
a2a89b92239edf6e946218aa3363f7fb35b5bf27
b97112cb37d69b7122ffe59fadb7212776481d1f
/onlybuy/order/migrations/0003_ordergoods_goodsimg.py
4c73dbe34da2b4a42d82a682759aeb3918820e2b
[]
no_license
azr871659370/GitDemo
a6bac061711777470119b81e0042a0d391e7eb39
38eae59b3defdab9eb169a160b21101d589649f0
refs/heads/master
2020-04-24T01:04:13.150530
2019-06-24T06:12:48
2019-06-24T06:12:48
171,585,454
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-12-06 03:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('order', '0002_order_user'), ] operations = [ migrations.AddField( ...
[ "tarena@tedu.cn" ]
tarena@tedu.cn
eb390bf1255f98a0a03533d2b2040ae77e206471
2bf4936a79e45c07a6097908bd601419a8c52f7c
/lib/models/single_correct_mcq_multee_esim.py
2230308b5a510b17d7609ecd312ed298fde437ff
[ "Apache-2.0" ]
permissive
StonyBrookNLP/multee
d9a44511bcf464024cbd5ebac1b8e451479fe1ef
ab78ca6708bee810c584e83e5ec61ab324bf9802
refs/heads/master
2020-05-15T13:48:26.715982
2020-05-04T03:24:01
2020-05-04T03:24:01
182,313,780
30
7
Apache-2.0
2019-07-16T18:16:15
2019-04-19T19:13:59
Python
UTF-8
Python
false
false
5,783
py
from typing import Dict, Optional, List, Any import copy import re from overrides import overrides import torch from allennlp.common import Params from allennlp.common.checks import check_dimensions_match from allennlp.data import Vocabulary from allennlp.models.model import Model from allennlp.modules import FeedFor...
[ "harshjtrivedi94@gmail.com" ]
harshjtrivedi94@gmail.com
28faa49a99fdcc0393b909cad8594eaa512b06d3
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/omninote/testcase/firstcases/testcase6_018.py
bb4b539e09d5b94f21d428100721459bdc223f56
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
4,236
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
f4627f95e68be9af6d82553a744de00600df8606
c6b9e97876ef2b22b316d4e213d8967f6492602b
/backend/callboard/views.py
f126b9f2657c3b0a26de265b8ad48758c17b1491
[]
no_license
blazer-05/callboard
fbd91130682682ac8c0533964487a67b00e673e5
6b1acb88e30971b61efe988c5997041eaea3bbdd
refs/heads/master
2020-05-22T12:18:59.932887
2019-05-12T17:32:02
2019-05-12T17:32:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
from django.shortcuts import render from django.views.generic import ListView, DetailView from .models import Advert class AdvertList(ListView): """Все объявления""" model = Advert queryset = Advert.objects.all() template_name = "callboard/advert-list.html" class AdvertDetail(DetailView): """По...
[ "l2maximum@mail.ru" ]
l2maximum@mail.ru
6481424db37cc1019b657c8283eee14563dc9c57
aac562aad1af41fb133dd606212908c1be8d00bd
/data_loader.py
8d6b89401252009406d4c1b535e3e931258295cb
[ "MIT" ]
permissive
zabir-nabil/text-image-denoiser
d424a04b5f916ae957f61fb213a69e8561fdc19b
842a6bee8401de19ca4f03394cb24463a050362c
refs/heads/master
2021-05-23T17:43:36.250072
2021-02-20T20:30:49
2021-02-20T20:30:49
253,404,929
21
5
null
null
null
null
UTF-8
Python
false
false
3,226
py
import random from torchvision import transforms import torch from torch import nn import numpy as np import cv2 from torchsummary import summary # image noise add -> RadnomNoise # sp_noise: salt pepper # gaussian blur # changing noise type # edit RandomNoise class # changing model type -> import a different mode...
[ "you@example.com" ]
you@example.com
e8acf901a2c3f69f9505494cddebdf053464e091
62d6a37e1fb1b224b53e14a1cf151ef0571aa20f
/orun/contrib/mail/models.py
d050d9401cc161d55efc7e1520430e3c83858e23
[]
no_license
katrid/orun
4fa0f291a1ef43f16bc1857a170fc0b2e5e06739
bfc6dae06182124ba75b1f3761d81ba8ca387dea
refs/heads/master
2023-08-30T03:58:34.570527
2023-08-09T04:05:30
2023-08-09T04:05:30
66,562,767
14
4
null
2023-01-06T22:29:37
2016-08-25T14:01:44
Python
UTF-8
Python
false
false
1,622
py
from typing import Optional, List from orun.db import models from orun.utils.translation import gettext_lazy as _ class MailServer(models.Model): name = models.CharField(128, null=False, unique=True) active = models.BooleanField(default=True, label=_('Active')) sequence = models.IntegerField() smtp_ho...
[ "alexandre@katrid.com" ]
alexandre@katrid.com
0d967bd6f17c427b7e6ee575e0247d648f240027
70054615f56be28373b00c9df96544ec822be683
/res/scripts/client/gui/scaleform/framework/entities/abstract/tooltipmgrmeta.py
1dd70fa24ad72d663558850539477b627603b091
[]
no_license
wanyancan/WOTDecompiled
c646ad700f5ec3fb81fb4e87862639ce0bdf0000
9ffb09007a61d723cdb28549e15db39c34c0ea1e
refs/heads/master
2020-04-17T23:13:15.649069
2013-11-15T16:37:10
2013-11-15T16:37:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
from gui.Scaleform.framework.entities.DAAPIModule import DAAPIModule class ToolTipMgrMeta(DAAPIModule): def onCreateComplexTooltip(self, tooltipId, stateType): self._printOverrideError('onCreateComplexTooltip') def onCreateTypedTooltip(self, type, args, stateType): self._printOverrideError('o...
[ "james.sweet88@googlemail.com" ]
james.sweet88@googlemail.com
47aa979320db7d4a161441151ce4081f31191865
28a462a28f443c285ca5efec181ebe36b147c167
/tests/compile/basic/es2016/Error.spec
b63f512cd2f744d1eef095dfd5e87c58a064500d
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kaist-plrg/jstar
63e71f9156860dc21cccc33a9f6c638dfee448ea
1282919127ea18a7e40c7a55e63a1ddaaf7d9db4
refs/heads/main
2022-07-22T08:12:34.947712
2022-02-27T04:19:33
2022-02-27T11:06:14
384,045,526
6
4
NOASSERTION
2022-02-27T11:05:26
2021-07-08T07:53:21
Python
UTF-8
Python
false
false
587
spec
1. If NewTarget is *undefined*, let _newTarget_ be the active function object, else let _newTarget_ be NewTarget. 1. Let _O_ be ? OrdinaryCreateFromConstructor(_newTarget_, `"%ErrorPrototype%"`, « [[ErrorData]] »). 1. If _message_ is not *undefined*, then 1. Let _msg_ be ? ToSt...
[ "h2oche22@gmail.com" ]
h2oche22@gmail.com
cb7819efc6ead460e72e6f8916d06762f275553d
e4f8b14cead542586a96bcaa75993b0a29b3c3d0
/pyNastran/bdf/dev_vectorized/cards/elements/shell/pcompg.py
c0f34d162e84e393b20b4ff0f61996d5480ec6fc
[]
no_license
afcarl/cyNastran
f1d1ef5f1f7cb05f435eac53b05ff6a0cc95c19b
356ee55dd08fdc9880c5ffba47265125cba855c4
refs/heads/master
2020-03-26T02:09:00.350237
2014-08-07T00:00:29
2014-08-07T00:00:29
144,398,645
1
0
null
2018-08-11T15:56:50
2018-08-11T15:56:50
null
UTF-8
Python
false
false
512
py
from numpy import array, zeros, arange, concatenate, searchsorted, where, unique from pyNastran.bdf.fieldWriter import print_card from pyNastran.bdf.bdfInterface.assign_type import (integer, integer_or_blank, double_or_blank, integer_double_or_blank, blank) class PCOMPG(object): type = 'PCOMPG' def __ini...
[ "mesheb82@abe5364a-6225-a519-111c-932ebcde5b3b" ]
mesheb82@abe5364a-6225-a519-111c-932ebcde5b3b
94f0d27be70f3417170faa05c8416db7db941d13
33836016ea99776d31f7ad8f2140c39f7b43b5fe
/fip_collab/2016_03_20_gsh_database/read_check_data.py
93b00ebe466d749b6fc599cae6740a2e0cf0b887
[]
no_license
earthexploration/MKS-Experimentation
92a2aea83e041bfe741048d662d28ff593077551
9b9ff3b468767b235e7c4884b0ed56c127328a5f
refs/heads/master
2023-03-17T23:11:11.313693
2017-04-24T19:24:35
2017-04-24T19:24:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,086
py
import numpy as np import h5py """ in this version of the code the id of the tensor is an argument to the script. trying to reduce the amount of data to analyse by half sampling in the angular variable """ # initialize important variables n_eul = 21**3 n_eul_old = n_eul # here we determine the sampling for en a_std...
[ "noahhpaulson@gmail.com" ]
noahhpaulson@gmail.com
100c001d123b31af526f48b02537d7aa8d2cc70d
bf03f76c241165d564ad661c64c5d3616dd4ec27
/page/OA_approvel/all_approvals/approved_OA.py
5d893ccd8ebe27b009c5ee3f24017970febdd3f8
[]
no_license
xmaimiao/wmPC_leave
ed159cd04558a0ce229982e58a6f477df56f15c2
1019fae8a611dc4819344d0f9b34f3c16a61bb79
refs/heads/master
2023-03-28T00:23:32.777252
2021-03-29T07:37:28
2021-03-29T07:37:28
306,895,436
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from common.contants import approved_OA_dir from page.basepage import BasePage class Approved_OA(BasePage): def get_the_fir_status(self): ''' 返回第一條數據的狀態 ''' return self.step(approved_OA_dir,"get_the_fir_status")
[ "765120214@qq.com" ]
765120214@qq.com
98de2ac8b32712a884ddf0e7e5203cdae6b867f1
baf3996414315ffb60470c40c7ad797bf4e6897f
/02_ai/1_ml/8_ensemble_learning/code/chapter_24/06_regression_evaluate.py
ba99ef00c2447765b84c32c41006da6d590cff46
[ "MIT" ]
permissive
thiago-allue/portfolio
8fbbecca7ce232567aebe97c19944f444508b7f4
0acd8253dc7c5150fef9b2d46eead3db83ca42de
refs/heads/main
2023-03-15T22:10:21.109707
2022-09-14T17:04:35
2022-09-14T17:04:35
207,919,073
0
0
null
2019-11-13T18:18:23
2019-09-11T22:40:46
Python
UTF-8
Python
false
false
719
py
# evaluate lightgbm ensemble for regression from numpy import mean from numpy import std from sklearn.datasets import make_regression from sklearn.model_selection import cross_val_score from sklearn.model_selection import RepeatedKFold from lightgbm import LGBMRegressor # define dataset X, y = make_regression(n_samples...
[ "thiago.allue@yahoo.com" ]
thiago.allue@yahoo.com
03be1f326853aef7743fb6692d788f2ed1181e7f
5aad767086aeb180bff86020b0477b147e12320c
/tests/test_tuples.py
35c956a9dae3ab70d329162817df21aa1c5dd3e7
[ "Apache-2.0" ]
permissive
ahmadgh74/pypika-tortoise
5f36ee8377bf1c18918cb26769d6ee782518add6
c3f92ac83e449afc50155fc9fc14a2fe04ac07f1
refs/heads/main
2023-04-28T16:47:14.346538
2021-05-05T12:59:29
2021-05-05T12:59:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,156
py
import unittest from pypika import Array, Bracket, PostgreSQLQuery, Query, Table, Tables, Tuple from pypika.functions import Coalesce, NullIf, Sum from pypika.terms import Field class TupleTests(unittest.TestCase): table_abc, table_efg = Tables("abc", "efg") def test_tuple_equality_tuple_on_both(self): ...
[ "long2ice@gmail.com" ]
long2ice@gmail.com
1b417a56c74c9c5d0d1b7759c9b7b0f9c406d2d9
6841787dc208198535c90ee76d035d8837f8b973
/alipay/aop/api/domain/VoucherAvailableGoodsInfo.py
89122098cc80f1d63d64be6cebaef649af591275
[ "Apache-2.0" ]
permissive
demlution/alipay-sdk-python-all
e56ea12651717476f940212c281b6c2199dd3fa6
c3cb81aa5980913e7cd51edcf754a804495a9a30
refs/heads/master
2022-10-09T02:08:28.789764
2022-09-20T04:32:03
2022-09-20T04:32:03
263,779,638
0
1
null
2020-05-14T00:58:51
2020-05-14T00:58:51
null
UTF-8
Python
false
false
4,327
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class VoucherAvailableGoodsInfo(object): def __init__(self): self._available_goods_sku_ids = None self._exclude_goods_sku_ids = None self._goods_description = None self....
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
d07e62cd373ba6e1a11aabb506ba2ce206789993
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/2rQcGmSYvXRtxSuHn_1.py
bc66b57cccd54ee269769d86ca7dc618155e66a3
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
def rotate_matrix(mat, turns=1): for _ in range(turns%4): mat = rot(mat) return mat def rot(mat): return [list(z)[::-1] for z in zip(*mat)]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
20e042c52424a934f7073404c493ed2a2f21378b
a32fcde20e5f0586016ebc462b96a747b9ff9066
/test/functional/test_protect.py
1084b7b6de5e4edb148a888e7f59f5259dc7084a
[ "BSD-2-Clause-Views", "BSD-3-Clause", "Zlib" ]
permissive
ViacheslavL/libxlsxwriter
634a7fd2ac62a1e50dbe032778cbf1048e1a2af0
da49373582de5c86397998807e6517dd053a41d9
refs/heads/master
2021-06-29T22:41:02.786628
2020-12-30T13:24:12
2020-12-30T13:24:12
74,008,173
1
2
NOASSERTION
2020-12-30T13:24:14
2016-11-17T08:51:25
C
UTF-8
Python
false
false
569
py
############################################################################### # # Tests for libxlsxwriter. # # Copyright 2014-2016, John McNamara, jmcnamara@cpan.org # import base_test_class class TestCompareXLSXFiles(base_test_class.XLSXBaseTest): """ Test file created with libxlsxwriter against a file cre...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
1d29dcd94e2a5b302e8437a189c7cb96e29ed14f
69f4d47bef0e3b4150891127717d6f4d52193b47
/test_xpath/001.py
94c2888d8e0fe5dff695e73a26ba6ae2fe9a327b
[]
no_license
hyhlinux/stu_scrapy
27e45ad10eb9b85aada5ced34d29f00923555bf2
36afdb88f84a82453bf03070ed049599386a83c0
refs/heads/master
2020-06-12T11:55:19.986569
2016-12-10T03:18:37
2016-12-10T03:18:37
75,581,107
0
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
# coding:utf-8 from lxml import etree def main(): text = """ <bookstore> <book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <price>30.00</price> </book> <book category="children">...
[ "2285020853@qq.com" ]
2285020853@qq.com
076b61c7a11684c124adc913e02a538840f3c5f2
1554150a9720ebf35cd11c746f69169b595dca10
/rhino-translators/draw_frame.py
b8046e809839026f5639f78ff29feb83063bac18
[]
no_license
andrewili/shape-grammar-engine
37a809f8cf78b133f8f1c3f9cf13a7fbbb564713
2859d8021442542561bdd1387deebc85e26f2d03
refs/heads/master
2021-01-18T22:46:51.221257
2016-05-31T21:15:28
2016-05-31T21:15:28
14,129,359
1
0
null
null
null
null
UTF-8
Python
false
false
339
py
# draw_frame.py import rhinoscriptsyntax as rs def draw_frame(): side = 31 x0 = 1 y0 = 0 x1 = x0 + side y1 = y0 + side z = 0 p00 = [x0, y0, z] p01 = [x0, y1, z] p10 = [x1, y0, z] p11 = [x1, y1, z] rs.AddLine(p00, p01) rs.AddLine(p00, p10) rs.AddLine(p01, p11) rs.AddLine(p10, p11) # rs.AddPlane(p00, ...
[ "i@andrew.li" ]
i@andrew.li
60a8d8522f89075019672c2b7647216cab724163
78b29bdba76d70a6c1ed8807193dafe3464ceba6
/day4/readCsv.py
7160e3368a237aedc51df0ba5e40b60fe7fe1d35
[]
no_license
karry092199/untitled2
631f5726c1ff03f13ce77f234c76d2d309077b4e
09b61a40c2f428479b0aac455b42a03631dee8d7
refs/heads/master
2021-08-23T04:13:30.025127
2017-12-03T07:12:15
2017-12-03T07:12:15
112,907,983
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
#要读csv文件,首先要准备一个csv文件 #1.导入csv的包 #csc是python语言内置的包,比较常用,开发和测试所有项目都有可能用到 import csv #2.要想读取文件的信息,首先要知道文件的存放路径 #字符串前面加一个字符r,表示反斜杠是普通字符,不看做转义字符 path=r"C:\Users\51Testing\PycharmProjects\untitled2\data\member_info.csv" #3.要想读文件的内容,首先要通过路径打开文件 file=open(path,'r') #4.通过csv代码库,读取csv格式的内容 data_table=csv.reader(file) #5.遍历data_...
[ "51Testing" ]
51Testing
26445b380493762a50dda3d66d53760c0ecb37ee
afa2ebb439e6592caf42c507a789833b9fbf44b2
/supervised_learning/0x0F-word_embeddings/3-gensim_to_keras.py
fe7bed09c6a101e7e15007a0bfac1d1215ca92f7
[]
no_license
anaruzz/holbertonschool-machine_learning
64c66a0f1d489434dd0946193747ed296760e6c8
91300120d38acb6440a6dbb8c408b1193c07de88
refs/heads/master
2023-07-30T20:09:30.416167
2021-09-23T16:22:40
2021-09-23T16:22:40
279,293,274
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
#!/usr/bin/env python3 """ Script hat converts a gensim word2vec model to a keras Embedding layer """ # import tensorflow.keras as K def gensim_to_keras(model): """ Returns: the trainable keras Embedding """ k_embedding = model.wv.get_keras_embedding(train_embeddings=True) return k_embedding
[ "laabidigh@gmail.com" ]
laabidigh@gmail.com
6cba10846e1fdf4b5b222b84671af8ad8068e05b
082c6d8f248257c8442bbef7412f9915ac4c33bd
/mlrun/api/api/endpoints/artifacts.py
3575326935b260d6a6409fc219cfe380422042b1
[ "Apache-2.0" ]
permissive
eran-nussbaum/mlrun
24e7db989b4eb03548f127ff26d36f77b1c82250
97209b27ccf3daf8f202a1a2bb1b01abd537ad70
refs/heads/master
2023-08-26T01:35:02.797712
2021-10-21T10:18:24
2021-10-21T10:18:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,283
py
from http import HTTPStatus from typing import List from fastapi import APIRouter, Depends, Query, Request from fastapi.concurrency import run_in_threadpool from sqlalchemy.orm import Session import mlrun.api.crud import mlrun.api.utils.auth.verifier import mlrun.api.utils.singletons.project_member from mlrun.api imp...
[ "noreply@github.com" ]
eran-nussbaum.noreply@github.com
4297eb792da2200af5698fd3fec2b4412689c813
37194bcee20e66e84360010d98a45adcced57963
/Algorithem_my/17/1224.py
9d5f201c60791927cc362975c4aabe6914d67a13
[]
no_license
dmdekf/algo
edcd1bbd067102a622ff1d55b2c3f6274126414a
544a531799295f0f9879778a2d092f23a5afc4ce
refs/heads/master
2022-09-13T14:53:31.593307
2020-06-05T07:06:03
2020-06-05T07:06:03
237,857,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
import sys def f(d): for i in d: if i == '(': s.append(i) elif i == ')': while s and s[-1] != '(': num.append(s.pop()) s.pop() elif i == '*': s.append(i) elif i == '+': if s and s[-1] == '*': ...
[ "dmdekf@gmail.com" ]
dmdekf@gmail.com
682bde7e87fe64e39dce7974461b05177b272b8e
94690cf598d314a23a6147bbf6e02c6277f97081
/in_progress/381_primekfact/testing.py
0832a713d0b1ae775a492f987c9c1c91327d23c4
[]
no_license
kcollett1/ProjectEuler
7e3923acb4ca01c07f21278fc30afaf9b95ef4be
3ae613dd5124ec31e6b16cb9693cae3481e7b307
refs/heads/master
2020-09-12T17:19:39.802759
2020-02-29T04:48:57
2020-02-29T04:48:57
222,492,028
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
with open("listofprimes_lt10_8.txt", "r") as f: primes = f.readlines() primes = primes[4:1000001] + [0] facts = [720] # (prime - 5)! m = 720 p = int(primes[1]) - 5 prime_itr = 2 last_prime = int(primes[-2]) - 4 for i in range(7, last_prime): m *= i if p == i: facts.append(...
[ "collettikatrina@gmail.com" ]
collettikatrina@gmail.com
ccadf3b32744f0062201a4eaaaa4424d2e8052e6
0de2df479e8c7391bd078cddb08d1df6b0e041e0
/ex41l.py
b9b0fcf24be4e7ff658e525f572c3781e2d38f1e
[]
no_license
wxhheian/lpthw
f60a9bb79b3a2d69a79da3d2a19c2420ad8c796f
b4743f4870470a492086cecf3edd8fb9518a703f
refs/heads/master
2020-07-02T08:22:20.564532
2019-08-09T18:45:31
2019-08-09T18:45:31
201,472,036
0
0
null
null
null
null
UTF-8
Python
false
false
1,529
py
#多态指的是一类事物有多种形态 #动物的多种形态:人,狗,猪 import abc class Animal(metaclass=abc.ABCMeta): #同一类事物:动物 @abc.abstractmethod def talk(self): pass class People(Animal): #动物的形态之一:人 def talk(self): print('say hello') class Dog(Animal): #动物的形态之一:狗 def talk(self): print(...
[ "365194143@qq.com" ]
365194143@qq.com
56f57c0b01e894522540cf5a480e771061b3b25d
f4dc96e605e69187cbdb80a5067662e096e78fd5
/pannkotsky-lang/source/syntax.py
dcbfb6e444d91d520b15aeb645eb89a132ad60f7
[]
no_license
pannkotsky/pannkotsky-lang
a71e926dbbe23de91f5ba37e6718d39d3304eff8
2ac37242be5d237d2b70558ee0b286ca09d3e1de
refs/heads/master
2023-02-09T13:28:06.494357
2019-06-05T11:59:21
2019-06-05T11:59:21
161,379,922
0
0
null
2023-02-02T06:24:36
2018-12-11T18:58:44
Python
UTF-8
Python
false
false
6,497
py
from typing import Iterable, List from .errors import PKLSyntaxError from .tokens import ScanToken ScanTokens = List[ScanToken] class NotEnoughTokens(Exception): pass class SyntaxAnalyzer: def __init__(self, tokens: ScanTokens): self._input_tokens = tokens def run(self): tokens = self...
[ "kovvalole@gmail.com" ]
kovvalole@gmail.com
721d136c85175ff564dc705a937c44fd13f5ad40
1af49694004c6fbc31deada5618dae37255ce978
/third_party/crashpad/crashpad/util/mach/mig_gen.py
99b4f7ec6be5908b753dc5af0a1f153fa804e0e3
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
sadrulhc/chromium
59682b173a00269ed036eee5ebfa317ba3a770cc
a4b950c23db47a0fdd63549cccf9ac8acd8e2c41
refs/heads/master
2023-02-02T07:59:20.295144
2020-12-01T21:32:32
2020-12-01T21:32:32
317,678,056
3
0
BSD-3-Clause
2020-12-01T21:56:26
2020-12-01T21:56:25
null
UTF-8
Python
false
false
3,177
py
#!/usr/bin/env python # Copyright 2019 The Crashpad Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
9e36dca32173a8f829e3506e90cd80d6dfc657d4
4015291afebfd346da3fee4b1d5a775882b5b461
/services/web/server/src/simcore_service_webserver/projects/_metadata_handlers.py
ff5eaf24e146d6fc873f4c7d7ad9a7b5d7b25d7d
[ "MIT" ]
permissive
pcrespov/osparc-simcore
3a8a6b5252038542f515c7e90d983ac6f1fb4de7
eb5e00bc2cf4acfe81f5dc422a5e50a4646c9596
refs/heads/master
2023-08-06T04:33:38.594066
2023-07-12T09:47:00
2023-07-12T09:47:00
130,357,545
0
1
MIT
2023-04-18T08:04:27
2018-04-20T12:10:41
Python
UTF-8
Python
false
false
3,186
py
""" Design rationale: - Resource metadata/labels: https://cloud.google.com/apis/design/design_patterns#resource_labels - named `metadata` instead of labels - limit number of entries and depth? dict[str, st] ?? - Singleton https://cloud.google.com/apis/design/design_patterns#singleton_resources - the singleton is i...
[ "noreply@github.com" ]
pcrespov.noreply@github.com
517c526bdfecc8313ee10750128e55ea87112aa4
2d82d4c6574bd6d32f2cf1c781615f7951f55f66
/muntjac/demo/sampler/features/dates/DateInline.py
a3ecbf05a55c506d988f4b323b55bfce36e10e11
[ "Apache-2.0" ]
permissive
metaperl/muntjac
f83f745ee03942a61af92ee7fba7285aa9c46f3c
8db97712edd81b4d25deaaa48587d2a08010f2c8
refs/heads/master
2021-01-15T22:04:25.057862
2012-11-09T03:52:59
2012-11-09T03:52:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
from muntjac.api import DateField, InlineDateField from muntjac.demo.sampler.features.dates.DateLocale import DateLocale from muntjac.demo.sampler.APIResource import APIResource from muntjac.demo.sampler.features.dates.DateResolution import DateResolution from muntjac.demo.sampler.Feature import Feature, Version c...
[ "r.w.lincoln@gmail.com" ]
r.w.lincoln@gmail.com
3a2043047e6c40aa013b6615305bc522369202aa
1799d5d72bbce471bf648a66d026337b450dcf67
/githistorydata/codeline.py
c979083bc9d0e4e0fa61577f9dc405d4991f4cc2
[ "BSD-2-Clause" ]
permissive
andybalaam/git-history-data
88481172c1c42b236cdadf0ac3bde120e3b5f685
2121c95f4bceb557de9c1b5bc690d29416c9ae79
refs/heads/master
2021-05-04T10:54:02.872637
2020-01-30T09:54:20
2020-01-30T09:54:20
46,114,893
16
7
BSD-2-Clause
2020-01-28T09:51:43
2015-11-13T10:14:30
Python
UTF-8
Python
false
false
581
py
class CodeLine( object ): def __init__( self, commit_hash, date, author, weight ): self.commit_hash = commit_hash self.date = date self.author = author self.weight = weight def __eq__( self, other ): return( self.commit_hash == other.commit_hash ...
[ "andybalaam@artificialworlds.net" ]
andybalaam@artificialworlds.net
4736903508fc5ea7ced3600a1982392df725aa10
0049832c5cbee4b96189b88b51653f48decde596
/gk2a/GK2A_/L1/VI004/_convertToNcfile.py
41c0afaa137d84461ff25de26589c3c2bcbcf907
[]
no_license
henockmamo54/ImageFusion
18cf27ec4a066456c0d575696fc986814d10a7e6
07e88b5cb1925f54b3b3659caa2abda2bf4f3a72
refs/heads/master
2023-06-16T12:38:07.352623
2021-07-19T00:52:02
2021-07-19T00:52:02
355,720,494
2
0
null
null
null
null
UTF-8
Python
false
false
2,932
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 8 12:39:22 2021 @author: Henock """ import os import sys import numpy as np import netCDF4 as nc import pandas as pd path='/bess19/Image_fusion/pre_process/GK2A/Cropped/VI004/' pathoutput = '/bess19/Image_fusion/pre_process/GK2A/CroppedConvertedTo_nc/VI004/' if no...
[ "henockmamo54@gmail.com" ]
henockmamo54@gmail.com