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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e7fce07a2a9175afc2ab1e85bb8ee860ae8f77dd | d755aaaf905b48baf31aa90332f03c45f4c8dad3 | /tests/test_utils.py | 494f1115abbc6feaa46c734931099119ef47fe06 | [
"Apache-2.0"
] | permissive | django-ftl/fluent-compiler | 36ffe0c76678e82f4f15bbccef057c8e4cd0e6bc | d8f19b47161788fbdea9822b130ef136fb839540 | refs/heads/master | 2023-08-08T04:16:52.368218 | 2023-07-21T10:37:17 | 2023-07-21T10:37:17 | 248,319,322 | 20 | 1 | NOASSERTION | 2023-04-18T16:14:05 | 2020-03-18T19:04:42 | Python | UTF-8 | Python | false | false | 1,560 | py | import unittest
from fluent_compiler.errors import FluentFormatError
from fluent_compiler.utils import Any, inspect_function_args
class TestInspectFunctionArgs(unittest.TestCase):
def test_inspect_function_args_positional(self):
self.assertEqual(inspect_function_args(lambda: None, "name", []), (0, []))
... | [
"L.Plant.98@cantab.net"
] | L.Plant.98@cantab.net |
1bcabdb6dea75afd506399158d7c92cea07c82c0 | 0cbf36f06f5316326ef635f14c887cd2849800db | /typings/celery/utils/graph.pyi | 331cef71c17845a88735c126210f7a54a83b7b86 | [
"Apache-2.0"
] | permissive | espritgames/celery_types | b59545a7cd28f06e766a1a520590f3bbc155e82f | 4d4064eb78d2a1a3e79a5fefe111f59ad4d3c9b9 | refs/heads/main | 2023-08-18T20:11:33.992509 | 2021-10-04T11:21:49 | 2021-10-04T11:21:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 53 | pyi | class DependencyGraph: ...
class GraphFormatter: ...
| [
"steve@dignam.xyz"
] | steve@dignam.xyz |
b9881ef2ec773ce08737733c455d00c4e0f5a07e | bcf0e03ebd7e55588dcf48ab5d990534f8d9ab0c | /CodeChef/Archive 2019/dijikstra algo.py | 8a5245f7d11e94a49ff2d6015c4aea7afa726d55 | [] | no_license | nsky80/competitive_programming | 731321aaf42d9ae546f1d13bbb05215a1fbcfe45 | 9b0c0ffccf092d4d4bbf50cac1746f44dd977d57 | refs/heads/master | 2022-02-06T11:58:44.313635 | 2022-01-30T09:20:15 | 2022-01-30T09:20:15 | 199,516,791 | 1 | 2 | null | 2022-01-30T09:20:16 | 2019-07-29T19:43:17 | Python | UTF-8 | Python | false | false | 2,697 | py | # Python program for Dijkstra's single
# source shortest path algorithm. The program is
# for adjacency matrix representation of the graph
# Library for INT_MAX
import sys
class Graph():
def __init__(self, vertices):
self.V = vertices
self.graph = [ [ 0 for column in range(vertices) ]
... | [
"satishkumary80@gmail.com"
] | satishkumary80@gmail.com |
123d610b04b8cb8328ed1b6faa51e01b3cf9a9f5 | f62fd455e593a7ad203a5c268e23129473d968b6 | /python-cloudkittyclient-1.0.0/cloudkittyclient/common/base.py | 6212817e7747c35c8debdac13765dfa3e5a4de3b | [
"Apache-2.0"
] | permissive | MinbinGong/OpenStack-Ocata | 5d17bcd47a46d48ff9e71e2055f667836174242f | 8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3 | refs/heads/master | 2021-06-23T05:24:37.799927 | 2017-08-14T04:33:05 | 2017-08-14T04:33:05 | 99,709,985 | 0 | 2 | null | 2020-07-22T22:06:22 | 2017-08-08T15:48:44 | Python | UTF-8 | Python | false | false | 5,032 | py | # Copyright 2012 OpenStack Foundation
# Copyright 2015 Objectif Libre
# 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/license... | [
"gongwayne@hotmail.com"
] | gongwayne@hotmail.com |
c07e6dc436df4a4558ff006c558c77a4e4786279 | 3cd9fc36f4abba93bffb11dc43f145db6c6f5408 | /azure-iot-device/azure/iot/device/common/models/x509.py | 8f5fdb82b63978aca852862ac2b91a43558562a9 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | Azure/azure-iot-sdk-python | 457eb035e772268559ee8fa3310c210c84e52aa6 | 5d343d5904aaa98c6a88101e0dc40263acff4db2 | refs/heads/main | 2023-09-01T05:19:57.710222 | 2023-08-28T16:52:26 | 2023-08-28T16:52:26 | 70,936,068 | 441 | 438 | MIT | 2023-08-28T16:52:28 | 2016-10-14T18:17:15 | Python | UTF-8 | Python | false | false | 1,463 | py | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
"""This m... | [
"noreply@github.com"
] | Azure.noreply@github.com |
3f9790b1a071e752f9653f18146064f75ac9a59f | 86d31b4e897555d67a7aed7302717c56c94bd538 | /0x08-python-more_classes/9-rectangle.py | 499f3b50d9e00af6c7990fd7618c17de0fc66ec3 | [] | no_license | jalondono/holbertonschool-higher_level_programming | bcefda6ea75d26cb44726fc74c396b1a1c22664d | a347138e3a214aa497c8a12dca702374dcd65f0d | refs/heads/master | 2020-07-22T22:53:32.929374 | 2020-02-13T20:10:08 | 2020-02-13T20:10:08 | 207,357,257 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,796 | py | #!/usr/bin/python3
class Rectangle:
"""Create a Rectangle class"""
number_of_instances = 0
print_symbol = '#'
def __init__(self, width=0, height=0):
self.width = width
self.height = height
Rectangle.number_of_instances += 1
@property
def width(self):
return self... | [
"juanlondono151776@hotmail.com"
] | juanlondono151776@hotmail.com |
ac8be09ebd049d3bd03c35dfc7fc5a611fa2221a | 54bd004dd18f23b46fd75288823977a93d6c7c9d | /Python_basics/if_else_break.py | 21716c863210d80f7d34277f758adc8226939154 | [] | no_license | Gagangithub1988/Python | 13f914a200f6f4750c1b7da1467ca7e3f48814d0 | 8c9ba1902ac45841fd3145d49b08547420f15f2d | refs/heads/master | 2022-11-03T22:12:51.799829 | 2020-06-20T06:46:45 | 2020-06-20T06:46:45 | 273,642,890 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 368 | py | numbers = [386, 462, 47, 418, 907, 344, 236, 375, 823, 566, 597, 978, 328, 615, 953, 345,399, 162, 758, 219, 918, 237, 412, 566, 826, 248, 866, 950, 626, 949, 687, 217, 815, 67, 104, 58, 512, 24, 892, 894, 767, 553, 81, 379, 843, 831, 445, 742, 717, 958,743, 527]
for i in numbers:
if i==237:
print(i)
... | [
"noreply@github.com"
] | Gagangithub1988.noreply@github.com |
e9594ce23320791e0e9c6e4bd04e3cac7d201145 | 0e1e643e864bcb96cf06f14f4cb559b034e114d0 | /Exps_7_v3/doc3d/I_to_M_Gk3_no_pad/pyr_Tcrop255_pad60_jit15/Sob_k25_s001/pyr_2s/L3/step10_a.py | b59eafb0fca5bd0552df3fe049cb1ddd301c3516 | [] | no_license | KongBOy/kong_model2 | 33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307 | 1af20b168ffccf0d5293a393a40a9fa9519410b2 | refs/heads/master | 2022-10-14T03:09:22.543998 | 2022-10-06T11:33:42 | 2022-10-06T11:33:42 | 242,080,692 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,228 | py | #############################################################################################################################################################################################################
##################################################################################################################... | [
"s89334roy@yahoo.com.tw"
] | s89334roy@yahoo.com.tw |
ecd12e83553b2c3605eb45cc536613b3ad79f4e8 | a450d455fc1da6f3a89eebb562cc2fb28784b129 | /games/views.py | 7edd5b3cae8a794ad0217bb7a542db339aa24716 | [
"MIT"
] | permissive | hawkthorne/bearweb | 6c62e0143ab6a19bee6cf340dfec81664f201dcb | 1533acd9c7610d9ea01e8413853cca70843b9d63 | refs/heads/master | 2021-05-28T05:54:55.533462 | 2014-03-16T23:12:01 | 2014-03-16T23:12:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,156 | py | from django.http import Http404
from django.http import HttpResponse
from django.http import HttpResponseBadRequest
from django.core.urlresolvers import reverse
from django.utils.cache import patch_response_headers
from django.template.defaultfilters import slugify
from django.shortcuts import get_object_or_404
from dj... | [
"kyle@kyleconroy.com"
] | kyle@kyleconroy.com |
e079875a9982f729d64b8fcf715d00aa9d82fb99 | 9b9a02657812ea0cb47db0ae411196f0e81c5152 | /repoData/toastdriven-restless/allPythonContent.py | 1e9383e427ae70bd92da9d2ee4ed3ef88e1e062a | [] | no_license | aCoffeeYin/pyreco | cb42db94a3a5fc134356c9a2a738a063d0898572 | 0ac6653219c2701c13c508c5c4fc9bc3437eea06 | refs/heads/master | 2020-12-14T14:10:05.763693 | 2016-06-27T05:15:15 | 2016-06-27T05:15:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 93,916 | py | __FILENAME__ = conf
# -*- coding: utf-8 -*-
#
# restless documentation build configuration file, created by
# sphinx-quickstart on Sat Jan 11 01:04:55 2014.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in th... | [
"dyangUCI@github.com"
] | dyangUCI@github.com |
335250ce21813f53a167005fc2ebda740610ebd1 | d1fb76c0fdb08dc998a01e8eeca8bd8806db82a0 | /onionstudio/manual.py | b0e6ba28292f0d1c24853ba9d0a8445831e24cc1 | [
"MIT"
] | permissive | jarret/onionstudio | 822613dec0f72ef5db717ffdc8761dccb912de43 | 5ebf0a75cf1e7960822c96a987668be5ed82aa41 | refs/heads/master | 2020-12-03T08:45:44.808961 | 2020-07-18T16:49:57 | 2020-07-18T16:49:57 | 231,258,649 | 11 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,033 | py | # Copyright (c) 2020 Jarret Dyrbye
# Distributed under the MIT software license, see the accompanying
# file LICENSE or http://www.opensource.org/licenses/mit-license.php
import sys
from onionstudio.pixel import Pixel
class ManualToPixels:
def __init__(self, pixels_string):
self.pixels_string = pixels_stri... | [
"jarret.dyrbye@gmail.com"
] | jarret.dyrbye@gmail.com |
4855f4a63ce71ad5e80edbc3a6a41419c24b5520 | 13ea58f72fa96e2455609fb452b5f3b98e94f846 | /examples/diffusion/poisson_field_dependent_material.py | 4f2225b3311fd8d5dd012e8c40b8f44a9b27ba83 | [
"BSD-3-Clause"
] | permissive | vondrejc/sfepy | 4284ee47979b89d9e504b72b91689a9ce0c3a5ec | 8e427af699c4b2858eb096510057abb3ae7e28e8 | refs/heads/master | 2021-01-24T00:09:18.722674 | 2014-08-20T12:37:03 | 2014-08-20T14:25:56 | 12,810,199 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,370 | py | r"""
Laplace equation with a field-dependent material parameter.
Find :math:`T(t)` for :math:`t \in [0, t_{\rm final}]` such that:
.. math::
\int_{\Omega} c(T) \nabla s \cdot \nabla T
= 0
\;, \quad \forall s \;.
where :math:`c(T)` is the :math:`T` dependent diffusion coefficient.
Each iteration calculates... | [
"cimrman3@ntc.zcu.cz"
] | cimrman3@ntc.zcu.cz |
5f746eab98d95e889f73892fc9d177b490c27480 | 5a017fc861db92e3a2919f260d54f1301afbb3e5 | /MIDI Remote Scripts/Akai_Force_MPC/scene_list.py | e178c94e8d3079a95f83763cd4dc3dedfafe3dce | [] | no_license | kera67/livepy_diff_ten | 8d8d0f3b76048f1fe5d4c0fbc02549dc922c7d5b | 12a0af9e9c57d0721af5036ce23af549df2c95f0 | refs/heads/master | 2023-07-14T18:26:33.591915 | 2020-11-19T07:50:28 | 2020-11-19T07:50:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,597 | py | from __future__ import absolute_import, print_function, unicode_literals
from itertools import izip_longest
from ableton.v2.base import listens
from ableton.v2.control_surface import Component
from .scene import MPCSceneComponent
class SceneListComponent(Component):
def __init__(self, session_ring = None, num_sce... | [
"aumhaa@gmail.com"
] | aumhaa@gmail.com |
1883d5b5017f1427e94dafcc76d72300f1e7aa23 | 56f6d83f169b75cfc83f40d50c59b14d1521fd64 | /7.爬虫/day7/ITCAST/ITCAST/settings.py | ef68056fa5b7d323c01bdc9ff5761b322913fe3d | [] | no_license | songaiwen/information_29_01 | e22b8442e448a351057c6b9a7b81ede570b43e4a | e3c4cca8c05149720430ac0779081cc2aff63db6 | refs/heads/master | 2020-03-18T11:01:48.996804 | 2018-08-25T06:47:24 | 2018-08-25T06:47:24 | 134,553,440 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,067 | py | # -*- coding: utf-8 -*-
# Scrapy settings for ITCAST project
#
# For simplicity, this file contains only settings considered important or
# commonly used. You can find more settings consulting the documentation:
#
# https://doc.scrapy.org/en/latest/topics/settings.html
# https://doc.scrapy.org/en/latest/topics... | [
"576883213@qq.com"
] | 576883213@qq.com |
1e40ba7fc6198751838b104388ecf529c831ea09 | 52ec517d8a990120b0e807e0c8f76056672c4ee1 | /python/hashing/internationalPhoneBookDynamicArray.py | 465c1d7268ceca51aa3b7302a0ee1413cb5baa86 | [] | no_license | macoto35/Data_Structures_Fundamentals | aaae053d270b6cd5472d755354b4b15d336c3c06 | f4cb82380f3b807889365514439b1a83afa07035 | refs/heads/master | 2020-03-20T20:41:15.437091 | 2019-08-20T07:10:27 | 2019-08-20T07:10:27 | 137,700,675 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,850 | py | import re
class InternationalPhoneBookDynamicArray:
def __init__(self):
self.arr = [None] * 1
self.size = 0
self.maxSize = 1
class Pair:
def __init__(self, number, name):
self.number = number
self.name = name
def _binarySearch(self, number, st, ed):... | [
"sohee.um@mercer.com"
] | sohee.um@mercer.com |
072672d8fa7bf5988279befb5a3ba45eff6aafeb | 6a0a634265957e9dcd26bc80e3304e107fb004d0 | /venvflask/lib/python3.7/site-packages/Crypto/Cipher/AES.pyi | 159c4af2e9ea3f88a1f25e4b80981d6dce07c073 | [] | no_license | ogutiann/PythonEthereumSmartContracts | 8bd81aa14eab567d41b5dad74b67aba92a405ebd | d870e9fd1c7f68b8493db4c2b2af224f966d8e51 | refs/heads/master | 2023-01-04T14:23:12.396898 | 2020-10-29T12:12:46 | 2020-10-29T12:12:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,336 | pyi | from typing import Union, Tuple, Optional, Dict
from Crypto.Cipher._mode_ecb import EcbMode
from Crypto.Cipher._mode_cbc import CbcMode
from Crypto.Cipher._mode_cfb import CfbMode
from Crypto.Cipher._mode_ofb import OfbMode
from Crypto.Cipher._mode_ctr import CtrMode
from Crypto.Cipher._mode_openpgp import OpenPgpMode... | [
"sijoythomas@pop-os.localdomain"
] | sijoythomas@pop-os.localdomain |
48603d6812cdc33953ca8edc661c65f26addb1f2 | dd3bbd4e7aaee7a8a5f26b927ce28ac472c855a5 | /eggs/Products.PluginRegistry-1.3b1-py2.7.egg/Products/PluginRegistry/exportimport.py | 0cf253c067eca3dc9ba6c34b21277a858a5aaa2e | [] | no_license | nacho22martin/tesis | ea0a822f8bdbdef6f13f41276ecd4d6e85427ca5 | e137eb6225cc5e724bee74a892567796166134ac | refs/heads/master | 2020-12-24T13:20:58.334839 | 2013-11-09T12:42:41 | 2013-11-09T12:42:41 | 14,261,570 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,876 | py | ##############################################################################
#
# Copyright (c) 2005 Zope Foundation and Contributors
# Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this
# distribution.
# THIS SOFTWARE IS P... | [
"ignacio@plone.(none)"
] | ignacio@plone.(none) |
9f0dd34ffaa2659b3d64db3c510cf958661ce188 | 6086817f6614063ac3c4ce148a3737820cca0d44 | /tests/test_python_library.py | fdcef75a8f7f509ce4f5bb381c2a2b150c4a679b | [
"Apache-2.0"
] | permissive | Tryweirder/synthtool | 0a42a5e5e60bbe6362e4e3c489a2a29b52d9b9eb | 082e1ca0863b13ada8594fe91845380765da5b70 | refs/heads/master | 2023-04-03T03:51:38.260575 | 2021-04-13T00:00:05 | 2021-04-13T00:00:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,828 | py | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | [
"noreply@github.com"
] | Tryweirder.noreply@github.com |
271210fe7b439920554148561f2c82e2d4a01235 | 3bde5908bc285abb545be0f8dc7fe698fed908ba | /Dag1/live_koding/variabler.py | 90b1202e01df2749bb8d0c9f2e246068706bd688 | [] | no_license | kodeskolen/inspiria_h21 | cdac18e9ea45845b2f5c0d820f17f7c68e2cb222 | bd7070add6675754962632f58b01bcce8b847fdc | refs/heads/main | 2023-07-13T01:56:01.118767 | 2021-08-20T07:00:51 | 2021-08-20T07:00:51 | 371,284,239 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 165 | py | # -*- coding: utf-8 -*-
"""
Created on Wed Aug 18 07:29:44 2021
@author: Marie
"""
navn = "Marie"
print("Hei", navn)
x = 5
y = 2
resultat = x % y
print(resultat) | [
"roald.marie@gmail.com"
] | roald.marie@gmail.com |
5395949eb11a74f63a417d29d597799633103517 | 91f30c829664ff409177e83776c9f4e2e98d9fc4 | /manage.py | 90058a6e64433bcd765b52dfcbb015079c97e687 | [] | no_license | TotalityHacks/madras | 3ac92dc6caf989efcb02590f6474ab333d1f93fa | 2395a703eed1a87cca3cdd6c0fb9162b69e8df27 | refs/heads/master | 2021-08-17T15:29:41.055074 | 2018-07-18T23:05:29 | 2018-07-18T23:05:29 | 105,232,414 | 4 | 5 | null | 2021-03-31T18:58:56 | 2017-09-29T05:13:41 | Python | UTF-8 | Python | false | false | 249 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "madras.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| [
"jreinstra@gmail.com"
] | jreinstra@gmail.com |
ee0ff1e851be11b5b0aeee46e55a244ad3a33dbc | fdb9bdc6c4ab2f14ba71e544493706d5e275899f | /fhir/resources/requirements.py | 877404c36a97cba120a04ba6d471c45f4576175f | [
"BSD-3-Clause"
] | permissive | nazrulworld/fhir.resources | 6ae8aea8180c611b0c5050759c6dcdf63e4cb061 | 1fd6ea476b27b3fcb8c4ef8f23bc51cf161e69e3 | refs/heads/main | 2023-08-30T18:27:27.277249 | 2023-07-03T19:57:06 | 2023-07-03T19:57:06 | 165,297,877 | 256 | 83 | NOASSERTION | 2023-08-24T15:34:05 | 2019-01-11T19:26:41 | Python | UTF-8 | Python | false | false | 29,907 | py | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/Requirements
Release: R5
Version: 5.0.0
Build ID: 2aecd53
Last updated: 2023-03-26T15:21:02.749+11:00
"""
import typing
from pydantic import Field, root_validator
from pydantic.error_wrappers import ErrorWrapper, ValidationError
from pydantic... | [
"connect2nazrul@gmail.com"
] | connect2nazrul@gmail.com |
92fd5fb41a07098ce8fa2e387838af6b02e4ddb0 | e0980f704a573894350e285f66f4cf390837238e | /.history/streams/blocks_20201023163431.py | afd7b53cc53e254155bfcd350fb70f1c72afcd68 | [] | no_license | rucpata/WagtailWebsite | 28008474ec779d12ef43bceb61827168274a8b61 | 5aa44f51592f49c9a708fc5515ad877c6a29dfd9 | refs/heads/main | 2023-02-09T15:30:02.133415 | 2021-01-05T14:55:45 | 2021-01-05T14:55:45 | 303,961,094 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,824 | py | from wagtail.core import blocks
from wagtail.images.blocks import ImageChooserBlock
class TitleBlock(blocks.StructBlock):
text = blocks.CharBlock(
required = True,
elp_text='Tekst do wyświetlenia',
)
class Meta:
template = 'streams/title_block.html'
icon = 'edycja'
... | [
"rucinska.patrycja@gmail.com"
] | rucinska.patrycja@gmail.com |
14da2992936439bfeab57f9548a5e32508e2378d | ea1ece02e9ff9981d7a28ef1944d2dbf06110e93 | /16_find_compact/combine_several_post.py | 438816000c33195429fa8b486386a0cab0d369e3 | [] | no_license | Spritea/Hotkey | 377bf5f820b076bb21cb21ce5655e10a805b9a82 | 14df02daabc26195f8f3969e27c68bc62791f4c3 | refs/heads/master | 2022-08-27T21:11:14.597257 | 2020-05-20T15:48:07 | 2020-05-20T15:48:07 | 178,776,329 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,884 | py | import cv2 as cv
import numpy as np
from pathlib import Path
import natsort
from PIL import Image
from tqdm import tqdm
#包括边边也拼起来
def combine_one(imgs_list, img_path, imgwidth, imgheight):
im = Image.fromarray(imgs_list[0])
width, height = im.size
row_res = imgheight % height
col_res = imgwidth % width... | [
"461158649@qq.com"
] | 461158649@qq.com |
4e7326d8f0782d2450e71723a4e875d33608d65f | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/429/usersdata/314/103216/submittedfiles/jogoDaVelha_BIB.py | b06d282cfbb729c7fadf5f046a39ffe6c78fd471 | [] | 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 | 551 | py | # -*- coding: utf-8 -*-
# Minha bib
def solicitaSimboloDoHumano ():
simboloJogador = input('Qual simbolo deseja ultilizar no jogo? ')
while (simboloJogador != 'O') and (simboloJogador != 'X'):
simboloJogador = input('Qual simbolo deseja ultilizar no jogo? ')
return simboloJogador
def mostraTabule... | [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
5c85fc1b4bee269efa7bb0ba55af1962e69224e0 | a753cdc01eb1e31835fcafa35b33ccdf237ab343 | /manage.py | 076b376992788d06d28a9ba6f3f95b4766ba0439 | [] | no_license | nawarazpokhrel/gces_backend | 919921e5fb24864c44633ea8a92471bae56cbd96 | 38a82768dc1733724302ceb52ba76e3fe3fb9c58 | refs/heads/master | 2023-06-19T08:10:02.508244 | 2021-07-14T12:35:46 | 2021-07-14T12:35:46 | 378,985,531 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 668 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gces_backend.settings')
try:
from django.core.management import execute_from_command_line
except... | [
"pokhrelnawaraz@yahoo.com"
] | pokhrelnawaraz@yahoo.com |
6bfd57cf8429b4aba8742d9762d3b57922129d71 | c7979f4f6435fe8d0d07fff7a430da55e3592aed | /ABC015/D.py | 3bfd86c65ff0d9c6196a1bb441bc21f026524029 | [] | no_license | banboooo044/AtCoder | cee87d40bb98abafde19017f4f4e2f984544b9f8 | 7541d521cf0da848ecb5eb10ffea7d75a44cbbb6 | refs/heads/master | 2020-04-14T11:35:24.977457 | 2019-09-17T03:20:27 | 2019-09-17T03:20:27 | 163,818,272 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 637 | py | #高橋くんの苦悩
#動的計画法
# dp[i][width] := (maxValue,useNum)
if __name__ == "__main__":
INF = float('inf')
W = int(input())
N,K = map(int,input().split(" "))
dp = [[0]*(W+1) for _ in range(K+1)]
A = [0] * N
B = [0] * N
for i in range(N):
a , b= map(int,input().split(" "))
A[i] = a
B[i] = b
past_max = 0
for... | [
"touhoucrisis7@gmail.com"
] | touhoucrisis7@gmail.com |
13217c599ddbbc506b123e6abbfb3f37f5f42da3 | 8d9318a33afc2c3b5ca8ac99fce0d8544478c94a | /Books/Casandra DB/opscenter-5.1.0/lib/py-redhat/2.6/shared/i386/twisted/protocols/stateful.py | 2920700df1e71347c81753e05484b2c2b01d9b43 | [] | no_license | tushar239/git-large-repo | e30aa7b1894454bf00546312a3fb595f6dad0ed6 | 9ee51112596e5fc3a7ab2ea97a86ec6adc677162 | refs/heads/master | 2021-01-12T13:48:43.280111 | 2016-11-01T22:14:51 | 2016-11-01T22:14:51 | 69,609,373 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 57 | py | ../../../../../../py-unpure/twisted/protocols/stateful.py | [
"tushar239@gmail.com"
] | tushar239@gmail.com |
45a2ef273b285ebb4a63dbd20557cb357d754d49 | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp-with-texts/TMU-MIB.py | 27e8099def3337d1df4cb10910615e02d7335a47 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 127,648 | py | #
# PySNMP MIB module TMU-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TMU-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:23:46 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)... | [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
515b90f6751473f9ac482175b57299289a9c2859 | 2b3365bf01a910436edaf1448f182549ffd44525 | /_12_wikipedia.py | 6ca92cc80335bc89912f23a7a4b58cc5477fcc0a | [] | no_license | wlgud0402/croller | 2f1cb93f969d87890d2fb35992833ce3070c95dc | 56339880081042a25b8057caaca67f64a1f20df5 | refs/heads/master | 2021-05-20T23:29:57.503376 | 2020-04-29T06:41:06 | 2020-04-29T06:41:06 | 252,453,822 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 951 | py | #위키백과 수집과 출력이 가능한 프로그램
from urllib.request import urlopen
from bs4 import BeautifulSoup
import re
pages = set()
def getLinks(pageUrl):
global pages
html = urlopen('http://en.wikipedia.org' + pageUrl)
bs = BeautifulSoup(html, 'html.parser')
try:
print(bs.h1.get_text()) #태그없이 안의 텍스트만 출력해주는 함... | [
"wlgudrlgus@naver.com"
] | wlgudrlgus@naver.com |
786752a2164cf9e296256aef2ffb9e724b2159c2 | 6ead0d3997aa3470fc6f49c6ccc0ac8f808ae5d7 | /problems/python/tests/test_topKFrequent.py | ff3276cafa50cdee80f65c10f1b42103e8ab649e | [] | no_license | ikedaosushi/leetcode | d405455bfffda3057259da78783901feb56d9f76 | d378f2dc5f0b2df1f00208e304979ac0f53ab385 | refs/heads/master | 2021-06-24T04:31:56.586685 | 2020-12-08T13:51:18 | 2020-12-08T13:51:18 | 178,659,078 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 275 | py | import pytest
from topKFrequent import Solution
@pytest.mark.parametrize("nums, k, expected", [
([1, 1, 1, 2, 2, 3], 2, [1, 2]),
([1], 1, [1]),
])
def test_topKFrequent(nums, k, expected):
actual = Solution().topKFrequent(nums, k)
assert actual == expected
| [
"yutaro.ikeda@kaizenplatform.com"
] | yutaro.ikeda@kaizenplatform.com |
a4ef4b4d7cd9ed4952e319fab4b7a38c79db702c | c7cbbd4b1c1e281cef5f4a0c4e3d4a97cee2241e | /froide/document/models.py | 5a8eb1e966fd65554b6679d2fd3c8159cf5c00d1 | [
"MIT"
] | permissive | manonthemat/froide | 078cf78a6eb35226512c0bdfa2ac9043bcc81ad9 | 698c49935eaf2e922f3c9f6a46af0fd545ccbbbb | refs/heads/master | 2020-08-14T08:19:36.215473 | 2019-10-14T19:43:16 | 2019-10-14T19:43:16 | 215,129,869 | 0 | 0 | MIT | 2019-10-14T19:35:49 | 2019-10-14T19:35:49 | null | UTF-8 | Python | false | false | 2,203 | py | from django.db import models
from filingcabinet.models import (
AbstractDocument,
AbstractDocumentCollection,
get_page_image_filename
)
class Document(AbstractDocument):
original = models.ForeignKey(
'foirequest.FoiAttachment', null=True, blank=True,
on_delete=models.SET_NULL, related... | [
"mail@stefanwehrmeyer.com"
] | mail@stefanwehrmeyer.com |
d36495eda9b83ba3f4c7f79595a3a843826a4cc7 | 918382f9515dd37c0815f81f64f954a4f78668ab | /env/lib/python3.6/operator.py | 9f2d23ae250dfed65fbcbb35a4dafcc28a26dec5 | [] | no_license | BwanaQ/django-hekalu | 38d47fac421d91553cc8cd86dd4dff972b78a5d6 | 614312eff054db58dfa06f78a7f9bb3d2c8ee519 | refs/heads/master | 2023-08-03T03:12:38.091514 | 2020-04-25T07:12:42 | 2020-04-25T07:12:42 | 258,124,464 | 0 | 0 | null | 2021-09-22T18:55:06 | 2020-04-23T07:15:34 | JavaScript | UTF-8 | Python | false | false | 47 | py | /home/hunja/anaconda3/lib/python3.6/operator.py | [
"thunjawax@gmail.com"
] | thunjawax@gmail.com |
61b14f9bef79acaf12332a76c4bd2bd064d76dd6 | 0d8486c1d55c40bebea7c5428930f18165d2d0e9 | /tests/asp/AllAnswerSets/tight/graph.colouring.3.40.5_9.asp.test.py | a44c3c0c27b04eb04ff675f2b1c10ac44475d599 | [
"Apache-2.0"
] | permissive | bernardocuteri/wasp | 6f81bf6aa8fb273c91bbf68ecce4ecb195a55953 | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | refs/heads/master | 2021-06-08T11:58:25.080818 | 2020-10-05T16:57:37 | 2020-10-05T16:57:37 | 124,245,808 | 0 | 0 | Apache-2.0 | 2018-03-07T14:13:16 | 2018-03-07T14:13:16 | null | UTF-8 | Python | false | false | 24,223 | py | input = """
1 2 0 0
1 3 0 0
1 4 0 0
1 5 0 0
1 6 0 0
1 7 0 0
1 8 0 0
1 9 0 0
1 10 0 0
1 11 0 0
1 12 0 0
1 13 0 0
1 14 0 0
1 15 0 0
1 16 0 0
1 17 0 0
1 18 0 0
1 19 0 0
1 20 0 0
1 21 0 0
1 22 0 0
1 23 0 0
1 24 0 0
1 25 0 0
1 26 0 0
1 27 0 0
1 28 0 0
1 29 0 0
1 30 0 0
1 31 0 0
1 32 0 0
1 33 0 0
1 34 0 0
1 35 0 0
1 36 0 0
1... | [
"carminedodaro@gmail.com"
] | carminedodaro@gmail.com |
ce3dcdb6d1d8778e7ef14a5fadca90b5f9c643d5 | 27e890f900bd4bfb2e66f4eab85bc381cf4d5d3f | /plugins/cliconf/dellos9.py | ea36ef5694e8fa93800086746101687f43395068 | [] | no_license | coll-test/notstdlib.moveitallout | eb33a560070bbded5032385d0aea2f3cf60e690b | 0987f099b783c6cf977db9233e1c3d9efcbcb3c7 | refs/heads/master | 2020-12-19T22:28:33.369557 | 2020-01-23T18:51:26 | 2020-01-23T18:51:26 | 235,865,139 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,293 | py | #
# (c) 2017 Red Hat Inc.
#
# (c) 2017 Dell EMC.
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ve... | [
"wk@sydorenko.org.ua"
] | wk@sydorenko.org.ua |
a4c54b9968e9bed0406c86ea81191b639e5089fa | e14605612c96d450bea1fca7fa9963105b6452fb | /tensorflow/python/kernel_tests/constant_op_test.py | 92f9b5fe4a4b80993d8afb3606e0df80a3cdb628 | [
"Apache-2.0"
] | permissive | Yangqing/tensorflow | 0bb9259398eac98dc8e9f48cc0b7506f4d5f8a24 | 18792c1fce7e12d36c0f1704cff15ed820cc6ff5 | refs/heads/master | 2023-06-20T21:11:52.483377 | 2015-11-11T21:16:55 | 2015-11-11T21:16:55 | 45,876,905 | 2 | 2 | null | 2015-11-11T21:16:55 | 2015-11-10T00:38:20 | C++ | UTF-8 | Python | false | false | 18,692 | py | """Tests for ConstantOp."""
import tensorflow.python.platform
import numpy as np
import tensorflow as tf
from tensorflow.python.ops import gen_array_ops
class ConstantTest(tf.test.TestCase):
def _testCpu(self, x):
np_ans = np.array(x)
with self.test_session(use_gpu=False):
tf_ans = tf.convert_to_te... | [
"keveman@gmail.com"
] | keveman@gmail.com |
82324002112c69c793b3a471952ab9a99b8d73c8 | 6fcfb638fa725b6d21083ec54e3609fc1b287d9e | /python/timmahrt_pyAcoustics/pyAcoustics-master/pyacoustics/speech_rate/dictionary_estimate.py | 3f9a3d8036bf21e8df109bb47e85b80b53cafc9f | [] | no_license | LiuFang816/SALSTM_py_data | 6db258e51858aeff14af38898fef715b46980ac1 | d494b3041069d377d6a7a9c296a14334f2fa5acc | refs/heads/master | 2022-12-25T06:39:52.222097 | 2019-12-12T08:49:07 | 2019-12-12T08:49:07 | 227,546,525 | 10 | 7 | null | 2022-12-19T02:53:01 | 2019-12-12T07:29:39 | Python | UTF-8 | Python | false | false | 3,916 | py | '''
Created on Jan 28, 2015
@author: tmahrt
'''
import os
from os.path import join
from pyacoustics.utilities import utils
from pysle import isletool
def percentInside(startTime, endTime, cmprStartTime, cmprEndTime):
if (float(startTime) <= float(cmprEndTime) and
float(endTime) >= float(cmprSt... | [
"659338505@qq.com"
] | 659338505@qq.com |
b9d0e1993cebf34108fd3ab39478878cf896c0c1 | e85812f88a18b08a6e5ccff09c8e461efcc4c715 | /manage.py | da944a91ff841f8cc4d99639c093cf8d5d88dbee | [] | no_license | tjiang123456/guestt | 1c84479d79927fd5149a36d75144a28461b66ed2 | 7bdb49a6a704eccaef31e86a0a82ee84097f69fd | refs/heads/master | 2020-03-19T07:27:11.923424 | 2018-06-05T03:28:49 | 2018-06-05T03:28:49 | 136,114,732 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 538 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "guestt.settings")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are y... | [
"email@example.com"
] | email@example.com |
64d3e39bc45f23a960c5d92793d0f167df8476e7 | b366806c99ac30e77789f80417978902e25628da | /boto3_exceptions/workmail.py | ef7317ccd08714c962e809adfcdbf095c1236e52 | [
"MIT"
] | permissive | siteshen/boto3_exceptions | 9027b38c238030859572afec7f96323171596eb7 | d6174c2577c9d4b17a09a89cd0e4bd1fe555b26b | refs/heads/master | 2020-04-19T03:15:02.525468 | 2019-10-23T07:37:36 | 2019-10-23T07:37:36 | 167,928,540 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,172 | py | import boto3
exceptions = boto3.client('workmail').exceptions
DirectoryServiceAuthenticationFailedException = exceptions.DirectoryServiceAuthenticationFailedException
DirectoryUnavailableException = exceptions.DirectoryUnavailableException
EmailAddressInUseException = exceptions.EmailAddressInUseException
EntityAlrea... | [
"xiaojiang@actwill.com.cn"
] | xiaojiang@actwill.com.cn |
834a9ba3a9d2cf2da9d0053574fae4a3005e9118 | 987390ca6481ec5aa2b9e0e0e849203b6c22ce62 | /zkeco-core/adms/bak/iaccess/dev_comm_center.py | 0fd4ccad1a7fbc008065ce568f574fefa1cc4164 | [] | no_license | alungboy/johan-doc | 81b2363e7f2ad189d0623007eea66233a2e18f1c | 7ced14577405caf6127df03007619fe9cfda3847 | refs/heads/master | 2020-04-03T18:01:08.531971 | 2013-08-13T04:26:42 | 2013-08-13T04:26:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 78,796 | py | # -*- coding: utf-8 -*-
#! /usr/bin/env python
#
#设备通讯进程池
#
# Changelog :
#
# 2010.3.19 Zhang Honggen
# create at zk park Dongguan
from multiprocessing import Pool, Process, Manager#pool tcp/ip---proess 485
import threading
import time
import datetime
from time import sleep, ctime
from django.utils.t... | [
"xiongjianhong@a5b1b082-b159-ab12-9a9e-d79e7dfc8adf"
] | xiongjianhong@a5b1b082-b159-ab12-9a9e-d79e7dfc8adf |
270085783dfae395dfed329ee1efc4d371fe5491 | bccd16717d20d673cb514d6ac68e624c2c4dae88 | /sdk/python/pulumi_gcp/endpoints/outputs.py | bc1adc66e71939c4a0506decc6499354e78b3c93 | [
"MPL-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | dimpu47/pulumi-gcp | e78d228f7c2c929ad3e191331b75c6e4c4cc4fa9 | 38355de300a5768e11c49d344a8165ba0735deed | refs/heads/master | 2023-07-07T13:00:15.682157 | 2020-09-23T18:43:11 | 2020-09-23T18:43:11 | 173,437,663 | 0 | 0 | Apache-2.0 | 2023-07-07T01:05:58 | 2019-03-02T11:06:19 | Go | UTF-8 | Python | false | false | 5,387 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** 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, Dict, List, Mapping, Optional, Tuple, Union
from .. import ... | [
"public@paulstack.co.uk"
] | public@paulstack.co.uk |
d8327f24f64ffc940857d0a3ef0f3bfcf4d1ceb2 | 8ca19f1a31070738b376c0370c4bebf6b7efcb43 | /office365/communications/operations/update_recording_status.py | 562e461d09952648e16c8272843d786b126ccdf4 | [
"MIT"
] | permissive | vgrem/Office365-REST-Python-Client | 2ef153d737c6ed5445ba1e446aeaec39c4ef4ed3 | cbd245d1af8d69e013c469cfc2a9851f51c91417 | refs/heads/master | 2023-09-02T14:20:40.109462 | 2023-08-31T19:14:05 | 2023-08-31T19:14:05 | 51,305,798 | 1,006 | 326 | MIT | 2023-08-28T05:38:02 | 2016-02-08T15:24:51 | Python | UTF-8 | Python | false | false | 203 | py | from office365.communications.operations.comms import CommsOperation
class UpdateRecordingStatusOperation(CommsOperation):
"""Describes the response format of an update recording status action."""
| [
"vvgrem@gmail.com"
] | vvgrem@gmail.com |
9383aacff23eec6d52cef01ce4e047d49be74540 | 2ea5efd9ccc926e368e7132d7709f48265dae5f3 | /Codes/02_Input.py | 6290817714e68706d9ccddf2c6420490316a7f6a | [] | no_license | ravi4all/PythonWE_Morning_2020 | a843f3fde886b0be42d5f935daecada17cf4ff1c | 87d4f84ef8142ac2c7e08d70a9fab359da08287b | refs/heads/master | 2020-12-14T19:26:37.538793 | 2020-03-21T08:00:51 | 2020-03-21T08:00:51 | 234,846,451 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 355 | py | # by default python takes input in strung format
name = input("Enter your name : ")
print("Hello "+name)
# we need to type cast the input()
num_1 = int(input("Enter first number : "))
num_2 = int(input("Enter second number : "))
result = num_1 + num_2
print("Sum is",result)
# Multiline Print
print("""
1. ... | [
"noreply@github.com"
] | ravi4all.noreply@github.com |
b6ce66b2673cdd275ddff44c827d484ceec0c153 | 4fe0ed5e592641b272aa2167ae591155a9cad416 | /pyqtgraph_ex/data_tree.py | 929a705c3d51eebc6dc80cf3b7130a49086f8e52 | [] | no_license | AlexandreMarcotte/test_code | cf715caee730cfdafa7cf97bd011ac15443872f3 | 07e115055befd55d4598dd8a4b33bbdd00ba6f5a | refs/heads/master | 2021-06-07T05:06:12.085390 | 2019-05-06T23:45:38 | 2019-05-06T23:45:38 | 137,810,297 | 0 | 0 | null | 2021-06-01T23:44:40 | 2018-06-18T21:50:39 | Python | UTF-8 | Python | false | false | 722 | py | # -*- coding: utf-8 -*-
"""
Simple use of DataTreeWidget to display a structure of nested dicts, lists, and arrays
"""
import pyqtgraph as pg
from pyqtgraph.Qt import QtCore, QtGui
import numpy as np
app = QtGui.QApplication([])
d = {
'list1': [1,2,3,4,5,6, {'nested1': 'aaaaa', 'nested2': 'bbbbb'}, "seven"],
... | [
"alexandre.marcotte.1094@gmail.com"
] | alexandre.marcotte.1094@gmail.com |
9979efac15eedc30be1b3f32a462d0c9599d248b | 82b946da326148a3c1c1f687f96c0da165bb2c15 | /sdk/python/pulumi_azure_native/eventgrid/get_domain_topic.py | cbdaf3633482a6ab8964a94e6381f42ff672dead | [
"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 | 4,056 | 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
from... | [
"noreply@github.com"
] | morrell.noreply@github.com |
2933cb872811c4d984c9ae6d1e0c0d305ec26d27 | fc0eda8560a26c88b790d236070ed0559d0dc4a4 | /leetcode/basicDS06_tree/b04_lc105_build_tree.py | 72aa63933b0ddc9b7bc22fb7b3cf578bb94f79e5 | [] | no_license | pankypan/DataStructureAndAlgo | b4bd417a16cdb594bbed2ca0220dbd63eb60f3c1 | 6c5d40d57d378994236549f8dea906c75121eadf | refs/heads/master | 2021-08-03T01:22:08.442709 | 2021-07-19T14:56:44 | 2021-07-19T14:56:44 | 279,599,190 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 808 | py | # https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
from typing import List
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def buildTree(self, preorder: List[int], inorder: List[int]) ->... | [
"1356523334@qq.com"
] | 1356523334@qq.com |
84049e1555a83e8bb2650ff6e600098232396841 | 271812d493b7e23550cbc17490d48a882c3179b1 | /brubeck/timekeeping.py | 8ba9e2e3df86fff907271bcd9a853c743de493b3 | [] | no_license | droot/brubeck | 69a5d86fc996ba367bda8d2bc9eb1075a36701fd | 35a44d62d590a5108eb4d5ba2f9f15f780cb99ce | refs/heads/master | 2021-01-16T22:49:46.263829 | 2011-09-06T14:18:49 | 2011-09-06T14:18:49 | 2,334,831 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,181 | py | import time
from datetime import datetime
from dateutil.parser import parse
from dictshield.fields import LongField
###
### Main Time Function
###
def curtime():
"""This funciton is the central method for getting the current time. It
represents the time in milliseconds and the timezone is UTC.
"""
r... | [
"jd@j2labs.net"
] | jd@j2labs.net |
4e3e1bd04cab8cfc321de73eaf5575d9c21fcb92 | 6b4f38370ce1126a7f74e13c2012ab238a01df93 | /azure-mgmt-sql/azure/mgmt/sql/operations/recoverable_databases_operations.py | d6bf1308fcf3724fd6009628fc5a06a4b35b5127 | [
"MIT"
] | permissive | action/azure-sdk-for-python | 52d8a278bfb2fbc9c7e11297e3bd21c604f906b1 | f06553e45451f065c87ee9ed503ac4be81e64a71 | refs/heads/master | 2020-12-03T02:13:52.566291 | 2017-06-30T18:42:49 | 2017-06-30T18:42:49 | 95,917,797 | 1 | 0 | null | 2017-06-30T19:25:58 | 2017-06-30T19:25:58 | null | UTF-8 | Python | false | false | 7,933 | 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 |
ee2019bff22f3d1aaa540ff78f7cad8ea8ce1e34 | 461c02a8aa79654dc85a1750a29661c95f2c3939 | /src/devilry/devilry/apps/developertools/tests.py | 948fdd077cfa007c11b86aa97a2d172767148ef6 | [] | no_license | espenak/devilry-django | 13bfdc5625218a453c336f296aff6a22d18ae03f | 0e033ebf44c03d864d0457918cf221cfcc704652 | refs/heads/master | 2021-01-23T21:11:01.651800 | 2013-08-05T13:01:23 | 2013-08-05T13:01:23 | 1,915,118 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 513 | py | import unittest
from .management.commands.dev_build_extjs import SimpleJsFile
class TestJsFile(unittest.TestCase):
def testMultilineCommentPattern(self):
self.assertEquals(SimpleJsFile.MULTILINE_COMMENT_PATT.sub('', 'hello /**some \n\n comments \n\t here*/world'),
'hello world')
... | [
"post@espenak.net"
] | post@espenak.net |
b1210e5ee7ae62fa2c2d7ee61167ac2dc2fc80cf | 2f55769e4d6bc71bb8ca29399d3809b6d368cf28 | /Miniconda2/Lib/site-packages/sklearn/neighbors/setup.py | 92a2feb67ef0ea142e80503de7cee7e03cb2ba54 | [] | no_license | jian9695/GSV2SVF | e5ec08b2d37dbc64a461449f73eb7388de8ef233 | 6ed92dac13ea13dfca80f2c0336ea7006a6fce87 | refs/heads/master | 2023-03-02T03:35:17.033360 | 2023-02-27T02:01:48 | 2023-02-27T02:01:48 | 199,570,103 | 9 | 16 | null | 2022-10-28T14:31:05 | 2019-07-30T03:47:41 | Python | UTF-8 | Python | false | false | 1,300 | py | import os
def configuration(parent_package='', top_path=None):
import numpy
from numpy.distutils.misc_util import Configuration
config = Configuration('neighbors', parent_package, top_path)
libraries = []
if os.name == 'posix':
libraries.append('m')
config.add_extension('... | [
"JLiang@esri.com"
] | JLiang@esri.com |
4de48aa71946a71c785722b993d89154566f6338 | 52b5773617a1b972a905de4d692540d26ff74926 | /.history/3Numbers_20200713211516.py | 06e4e32ef9e6d865b79ca7c7b17a2315e39b906f | [] | no_license | MaryanneNjeri/pythonModules | 56f54bf098ae58ea069bf33f11ae94fa8eedcabc | f4e56b1e4dda2349267af634a46f6b9df6686020 | refs/heads/master | 2022-12-16T02:59:19.896129 | 2020-09-11T12:05:22 | 2020-09-11T12:05:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 93 | py | def three(str):
strings = str.split('')
print(strings)
three("2hell6o3 wor6l7d2") | [
"mary.jereh@gmail.com"
] | mary.jereh@gmail.com |
b571ec9c876da3b3588aa9f93136372d8a9b9408 | af6b9c19678e6e4f28804aab27cf19e185623efe | /atlcore/doc/__init__.py | 90d6b3484e1906cb7de6c41b683c7c8ea90bea91 | [] | no_license | atlantesoftware/atlcore | 1d265c66c2e541e3234f43ae62cd469cc513308d | f927ac5a576e1c9f1c3a2f68296dab0c41cd093a | refs/heads/master | 2016-09-06T16:59:13.869912 | 2013-05-07T14:49:05 | 2013-05-07T14:49:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 91 | py | #coding=UTF-8
from atlcore.doc.site import DocSite
docsite = DocSite('docsite', 'DocSite') | [
"hailem@atlantesoftware.com"
] | hailem@atlantesoftware.com |
102e52e69cd85959fcc145cd9158976a012b9b5a | 40132307c631dccbf7aa341eb308f69389715c73 | /OLD/idmt/maya/ZoomWhiteDolphin/zm_batchrender.py | 202ca2a0e7840da7848d6ffed9d438ffb477b17d | [] | no_license | Bn-com/myProj_octv | be77613cebc450b1fd6487a6d7bac991e3388d3f | c11f715996a435396c28ffb4c20f11f8e3c1a681 | refs/heads/master | 2023-03-25T08:58:58.609869 | 2021-03-23T11:17:13 | 2021-03-23T11:17:13 | 348,676,742 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 3,607 | py | # -*- coding: utf-8 -*-
'''
Created on 2013-8-5
@author: liangyu
'''
import maya.cmds as mc
import maya.mel as mel
def zm_batchFX():
#导入相机
from idmt.maya.py_common import sk_infoConfig
reload(sk_infoConfig)
shotInfo = sk_infoConfig.sk_infoConfig().checkShotInfo()
camFile = '... | [
"snakelonely@outlook.com"
] | snakelonely@outlook.com |
594f066131d1f193284788d929b0b60281ba0d9e | 54020c34ed23a086e2bfbfb874a400f3a11293cb | /ST_vars_and_ic.py | 4761d35359cfcd43ec36389e847eb4c71dc719e3 | [] | no_license | ModelDBRepository/187605 | bd26e6b9af407f157a1d9baae42a9d4fe6157a20 | 739605333f3768f9684b217f52a375e6ddd32bb1 | refs/heads/master | 2020-05-29T18:27:58.771998 | 2019-05-31T04:56:54 | 2019-05-31T04:56:54 | 189,300,579 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,243 | py | # -*- coding: utf-8 -*-
# (c) 2016 - Ilya Prokin - isprokin@gmail.com - https://sites.google.com/site/ilyaprokin
# INRIA Rhone-Alpes
# STDP model : variables' names and initial values
import numpy as np
ST_vars_and_ic = {
'h_caL13': 0.99182137906713796,
'm_caL13': 0.0036977671871038817,
'o_AMPA': 0.0,
... | [
"tom.morse@yale.edu"
] | tom.morse@yale.edu |
a9992f4f561abbeb7842d4945ff18b0ff57b5493 | 0b8575873d696562c8279c9361433d38626bc6cc | /qa/rpc-tests/python-bogcoinrpc/bogcoinrpc/authproxy.py | e686f50b95493df4ad6b8326839167e87f4e7056 | [
"MIT"
] | permissive | colombiacoin/newbogcoin | 1be9b8f432a1281457b33a0313cef8f0127c3ea8 | d36069738e7e514b3f6d8c5b58bd4692b70b1a2e | refs/heads/master | 2020-07-24T15:27:04.311029 | 2019-09-13T12:16:24 | 2019-09-13T12:16:24 | 207,967,982 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,784 | py |
"""
Copyright 2011 Jeff Garzik
AuthServiceProxy has the following improvements over python-jsonrpc's
ServiceProxy class:
- HTTP connections persist for the life of the AuthServiceProxy object
(if server supports HTTP/1.1)
- sends protocol 'version', per JSON-RPC 1.1
- sends proper, incrementing 'id'
... | [
"rishabhshukla@opulasoft.com"
] | rishabhshukla@opulasoft.com |
45202ab545dae9546344b844321a47b93b3fe7ab | 5bc369d49b16bc46e23b76621144223dc4226997 | /model/valueset.py | 204d668f16ce93ac8d577d91ca0b5aedbefd6d55 | [
"MIT"
] | permissive | beda-software/fhir-py-experements | 90d8e802f92f9e691d47d6ea4b33fda47957383a | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | refs/heads/master | 2022-12-17T05:19:59.294901 | 2020-02-26T03:54:13 | 2020-02-26T03:54:13 | 241,292,789 | 0 | 0 | MIT | 2022-12-08T03:38:55 | 2020-02-18T06:53:02 | Python | UTF-8 | Python | false | false | 6,429 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/ValueSet) on 2020-02-03.
# 2020, SMART Health IT.
import sys
from dataclasses import dataclass, field
from typing import ClassVar, Optional, List
from .backboneelement import BackboneElemen... | [
"ir4y.ix@gmail.com"
] | ir4y.ix@gmail.com |
f904c5c7289553d7bb7d0f03975aa6101230c77f | bfbe642d689b5595fc7a8e8ae97462c863ba267a | /bin/Python27/Lib/site-packages/scipy-0.14.0-py2.7-win32.egg/scipy/sparse/linalg/isolve/tests/test_lsmr.py | 519d4498fffe9e1262b2432c530da07a2eddc333 | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | mcanthony/meta-core | 0c0a8cde1669f749a4880aca6f816d28742a9c68 | 3844cce391c1e6be053572810bad2b8405a9839b | refs/heads/master | 2020-12-26T03:11:11.338182 | 2015-11-04T22:58:13 | 2015-11-04T22:58:13 | 45,806,011 | 1 | 0 | null | 2015-11-09T00:34:22 | 2015-11-09T00:34:22 | null | UTF-8 | Python | false | false | 4,754 | py | """
Copyright (C) 2010 David Fong and Michael Saunders
Distributed under the same license as Scipy
Testing Code for LSMR.
03 Jun 2010: First version release with lsmr.py
David Chin-lung Fong clfong@stanford.edu
Institute for Computational and Mathematical Engineering
Stanford University
Micha... | [
"kevin.m.smyth@gmail.com"
] | kevin.m.smyth@gmail.com |
ba29ed82314cae6ed3ee61c684bfe1f5a68b82f6 | 5ca5a7120c3c147b3ae86c2271c60c82745997ea | /my_selenium/web_driver_three/data_frame/pageObjects/LoginPage.py | ba2b5ecb7dc39b416962ddc7f40bc3d108534d64 | [] | no_license | JR1QQ4/auto_test | 6b9ea7bd317fd4338ac0964ffd4042b293640af3 | 264b991b4dad72986e2aeb1a30812baf74e42bc6 | refs/heads/main | 2023-03-21T01:32:29.192030 | 2021-03-16T14:07:11 | 2021-03-16T14:07:11 | 321,591,405 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,437 | py | #!/usr/bin/python
# -*- coding:utf-8 -*-
from my_selenium.web_driver_three.data_frame.util.ObjectMap import *
from my_selenium.web_driver_three.data_frame.util.parse_configuration_file import ParseConfigFile
from selenium import webdriver
class LoginPage(object):
def __init__(self, driver: webdriver):
se... | [
"chenjunrenyx@163.com"
] | chenjunrenyx@163.com |
20234811a48b9100c4a4d892de7cbdf8b671601c | fc3f784c8d00f419b11cbde660fe68a91fb080ca | /algoritm/20상반기 코딩테스트/네트워크연결/bj3780.py | 81a9c28d91d9f9bda43b57b0f9ea4cab4770f1c5 | [] | no_license | choo0618/TIL | 09f09c89c8141ba75bf92657ac39978913703637 | 70437a58015aecee8f3d86e6bfd0aa8dc11b5447 | refs/heads/master | 2021-06-25T07:01:34.246642 | 2020-12-21T04:57:13 | 2020-12-21T04:57:13 | 163,782,782 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 472 | py | import sys
sys.stdin = open('bj3780.txt','r')
def find(x):
if P[x]==x:return Dis[x]
Dis[x]+=find(P[x])
P[x]=P[P[x]]
return Dis[x]
T=int(input())
for t in range(T):
N=int(input())
P=list(range(N+1))
Dis=[0]*(N+1)
while True:
L=list(map(str,input().split()))
if len(L)==1:b... | [
"choo0618@naver.com"
] | choo0618@naver.com |
78b0a50ab9ca8a2b3bdda54f39c9760a8e3ba0f5 | cda2c95ee6167a34ce9ba3ea25707469a2c357ca | /neural_augmented_simulator/old-code/data-collection/3-collect_mujoco_episodes_cheetah.py | 4496daf7cbcffb9a7fc72bdaaf3d5687de2c0805 | [] | no_license | fgolemo/neural-augmented-simulator | f43d9a88187fbef478aba9b4399eaa59d8795746 | eb02f20d92e6775824dbac221771f8b8c6dda582 | refs/heads/master | 2020-06-23T15:50:35.957495 | 2020-03-06T21:16:34 | 2020-03-06T21:16:34 | 198,666,041 | 0 | 1 | null | 2019-12-04T22:19:27 | 2019-07-24T15:49:48 | Jupyter Notebook | UTF-8 | Python | false | false | 5,037 | py | #import torch
import math
import h5py
from fuel.datasets.hdf5 import H5PYDataset
import gym
import gym_throwandpush
import numpy as np
from scipy.misc import imresize
from utils.buffer_images import BufferImages as Buffer
import matplotlib.pyplot as plt
from tqdm import tqdm
from hyperdash import Experiment
env = gym... | [
"fgolemo@gmail.com"
] | fgolemo@gmail.com |
1f076e31be7002240dc6cc7edc06f527821ec557 | de4d88db6ea32d20020c169f734edd4b95c3092d | /aiotdlib/api/functions/set_custom_language_pack.py | dd86e04e684d5f47e8ed95dcffb27b3d5a653339 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | thiagosm/aiotdlib | 5cc790a5645f7e4cc61bbd0791433ed182d69062 | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | refs/heads/main | 2023-08-15T05:16:28.436803 | 2021-10-18T20:41:27 | 2021-10-18T20:41:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,363 | py | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | [
"pylakey@protonmail.com"
] | pylakey@protonmail.com |
2be4b98c022d59fb74c3e543370f9f90e68cf785 | d28f0c984bbd4f80b770259ceb884f38e1cc0db8 | /bin/find-image-dirs.py | 54be7c595d65e0f9836b50b9be5cb1327028f05c | [] | no_license | cloudmesh-community/book | 435a96e2a8d2b8438428880b5f39a56d2c1c63b7 | f971bc1d15c82375d4c765b33c6fbe383b5819de | refs/heads/main | 2022-11-09T16:57:26.495231 | 2022-10-27T21:27:37 | 2022-10-27T21:27:37 | 135,431,595 | 29 | 134 | null | 2022-02-01T02:04:03 | 2018-05-30T11:14:59 | Jupyter Notebook | UTF-8 | Python | false | false | 494 | py | #!/usr/bin/env python
import sys
import glob
import os
directories = [".", "chapters"]
for root, dirs, files in os.walk("../chapters", topdown=False):
for name in dirs:
path = os.path.join(root, name)
if 'images' in path:
path = os.path.dirname(path)
# hack to remove ../ ... | [
"laszewski@gmail.com"
] | laszewski@gmail.com |
c6cf2696635c77f6477ce3791478441990c3096c | 48e124e97cc776feb0ad6d17b9ef1dfa24e2e474 | /sdk/python/pulumi_azure_native/offazure/v20200707/private_endpoint_connection.py | 2740aefae3714c0b2677e411cc0f31aa9e37e0e9 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | bpkgoud/pulumi-azure-native | 0817502630062efbc35134410c4a784b61a4736d | a3215fe1b87fba69294f248017b1591767c2b96c | refs/heads/master | 2023-08-29T22:39:49.984212 | 2021-11-15T12:43:41 | 2021-11-15T12:43:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,553 | 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"
] | bpkgoud.noreply@github.com |
a7ddf9fb5c1a07cb43829f558c8bec12271f05fa | 2391ff81d33e05efb1f38f7a67eff13dbb6a7b23 | /open_seq2seq/model/slstm.py | a93beee9507c8799bf6946c38afd75c4d0d30998 | [
"MIT"
] | permissive | matanhs/OpenSeq2Seq | 3b79222e114db75c1bf0f6b4b1eb0d231b8f0d0b | 540a1a230eff7c4cefcbb094ddc65aa11f64c9b3 | refs/heads/master | 2021-08-31T01:49:01.519514 | 2017-12-20T02:43:24 | 2017-12-20T04:47:16 | 113,621,881 | 1 | 0 | null | 2017-12-08T22:10:20 | 2017-12-08T22:10:20 | null | UTF-8 | Python | false | false | 6,106 | py | """Implement https://arxiv.org/abs/1709.02755
Copy from LSTM, and make it functionally correct with minimum code change
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
from tensorflow.python.ops import array_ops
from tensorflow.... | [
"okuchaiev@nvidia.com"
] | okuchaiev@nvidia.com |
bdba48f7601d0424df259c6617119b28ae6ad279 | e5202e0f36c15b8898920a461a866168fa059947 | /clirad/co2_0.0008/band_7/atmpro_trp/cliradlw_523cbb7/param.py | a8f164cd3c18dc90ee4a60ce1b07bfc7921db990 | [] | no_license | qAp/analysis_-_new_kdist_param | 653c9873751646f6fa9481544e98ed6065a16155 | 272dc3667030cdb18664108d0bd78fee03736144 | refs/heads/master | 2021-06-11T04:21:35.105924 | 2019-08-04T13:13:07 | 2019-08-04T13:13:07 | 136,108,828 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 536 | py | PARAM = {'commitnumber': '523cbb7', 'molecule': {'co2': 0.0008}, 'band': [7], 'atmpro': 'trp', 'tsfc': 300}
PARAM_LBLNEW = {'atmpro': 'trp', 'band': '5', 'commitnumber': 'a22ab94', 'conc': 0.0008, 'dv': 0.001, 'klin': 6.5e-24, 'molecule': 'co2', 'ng_adju': [0, 0], 'ng_refs': [1, 2], 'nv': 1000, 'option_compute_btable':... | [
"llacque@gmail.com"
] | llacque@gmail.com |
1e067717037ea679c74fa4d55b9080f7baba735a | bade79e88dd32b42b4841a1e1a94eddfc86652bf | /communication/communicationWindow.py | b1145de35a61d32076eb03a2f4d120f36de0285e | [] | no_license | a452669850/DCSNEW | 927171b10f455b396b50e8400001efcdb5fd1217 | 7578b6b18e021108c3e8b31c5dab2a17ac16a79d | refs/heads/master | 2023-01-04T11:25:09.787625 | 2020-10-20T13:16:54 | 2020-10-20T13:16:54 | 305,712,694 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,057 | py | import sys
from pathlib import Path
sys.path.append('D:\\dcstms')
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QApplication, QMainWindow, QMdiArea, QHBoxLayout
from communication import skio, iomapping
from communication.view.IntermediateVariable import intermediateVarWindow
from communication.view.databa... | [
"a452669850@outlook.com"
] | a452669850@outlook.com |
0d6be0c4188a1d84cc9f5b5b16671e49c1e36a28 | eb66f122da246af7e5f342c5a3be3a02d0957d04 | /oldBoy/upload_client.py | b80d3719e98c46debe6404bff1dbc93271e267d8 | [] | no_license | zhchwolf/pylearn | 00838be6f5f68176ba3d0131f223839469a16a55 | 5dc2d39a90dd064ac88669d4535ad08b082bf04f | refs/heads/master | 2022-08-27T03:25:10.854780 | 2019-09-27T09:38:47 | 2019-09-27T09:38:47 | 157,136,924 | 0 | 1 | null | 2022-08-06T05:22:44 | 2018-11-12T00:56:12 | Python | UTF-8 | Python | false | false | 690 | py | import socket
import os
sk = socket.socket()
address =('127.0.0.1',8000)
sk.connect(address)
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
while True:
inp = input('>>>') # post|123.jpg
cmd,path = inp.split('|')
path = os.path.join(BASE_DIR,path)
filename = os.path.basename(path)
fil... | [
"zhchwolf@sina.com"
] | zhchwolf@sina.com |
47afd7e643d3c1fb17daceaa3e205522b12cb9b4 | 13ce655f82b93fb4089b29e62a8e33dd7ff05493 | /src/wai/json/error/_RequiredDisallowed.py | 5305a58f8080b5fe1c0cc7bf695504fde72de1f4 | [
"MIT"
] | permissive | waikato-datamining/wai-json | 603b90b13155114bbfb60b40f45100248c03d710 | cb013fb16e7c1b8d91e040a387a143d29d4ced96 | refs/heads/master | 2021-01-07T15:06:22.957223 | 2020-03-17T23:59:14 | 2020-03-17T23:59:14 | 241,736,670 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 211 | py | from ._JSONPropertyError import JSONPropertyError
class RequiredDisallowed(JSONPropertyError):
"""
Error type for when trying to set a property as required,
but it is not allowed.
"""
pass
| [
"coreytsterling@gmail.com"
] | coreytsterling@gmail.com |
1c028682fb08f01c09007ae94fdf3bbee4bb88aa | 6612fcbf2d336ac98c03e1902496b8728b0d2cda | /kitsune/users/migrations/0010_auto_20151110_1307.py | 0e414f0bd7be9ca8ca10c9222a77ec3bd56c0545 | [] | permissive | ron813c/kitsune | 00af75780aa5976e0122b84c9018754f123ed0bb | 7ff783784084bddcb75fe38602f3a17d8f8c399c | refs/heads/master | 2022-11-05T12:58:49.097404 | 2020-06-13T17:54:16 | 2020-06-13T17:54:16 | 140,368,582 | 0 | 1 | BSD-3-Clause | 2022-10-18T20:43:15 | 2018-07-10T02:52:04 | Python | UTF-8 | Python | false | false | 26,827 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import timezones.fields
import kitsune.sumo.models
class Migration(migrations.Migration):
dependencies = [
('users', '0009_change_locale_sr_Cyrl_to_sr'),
]
operations = [
migrations.... | [
"willkg@mozilla.com"
] | willkg@mozilla.com |
59789cb9c983d28dc952d267e6db4245284bedb2 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/132/usersdata/260/41472/submittedfiles/al14.py | c446200a7c5705038df4fc037e84245344b06221 | [] | 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 | 224 | py | # -*- coding: utf-8 -*-
n=int(input("digite o número de pessoas:"))
altura=0
for i in range (1,n+1,1):
alturas=int(input("digite a altura dessas pessoa:"+str(i)))
total=alturas+total
media=total//n
print(media)
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
2ba8c74885ea992b4ecf86a44ac01f05dcfb83be | abad82a1f487c5ff2fb6a84059a665aa178275cb | /Codewars/8kyu/exclamation-marks-series-number-6-remove-n-exclamation-marks-in-the-sentence-from-left-to-right/Python/solution1.py | 2807034fb3df1b06926c996bb515a33858c445dd | [
"MIT"
] | permissive | RevansChen/online-judge | 8ae55f136739a54f9c9640a967ec931425379507 | ad1b07fee7bd3c49418becccda904e17505f3018 | refs/heads/master | 2021-01-19T23:02:58.273081 | 2019-07-05T09:42:40 | 2019-07-05T09:42:40 | 88,911,035 | 9 | 0 | null | null | null | null | UTF-8 | Python | false | false | 65 | py | # Python - 3.6.0
remove = lambda s, n: ''.join(s.split('!', n))
| [
"d79523@hotmail.com"
] | d79523@hotmail.com |
2a0ec0f69f93cf994d8be8e8c04d26b4bdf2deb8 | 9b9a02657812ea0cb47db0ae411196f0e81c5152 | /repoData/viorels-mtgox-trader/allPythonContent.py | d51e46a1c1721e51f34bbdefb9c57053b166785e | [] | no_license | aCoffeeYin/pyreco | cb42db94a3a5fc134356c9a2a738a063d0898572 | 0ac6653219c2701c13c508c5c4fc9bc3437eea06 | refs/heads/master | 2020-12-14T14:10:05.763693 | 2016-06-27T05:15:15 | 2016-06-27T05:15:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,472 | py | __FILENAME__ = api
from httplib2 import Http
import simplejson as json
from urlparse import urlunparse
from urllib import urlencode
class ServerError(Exception):
def __init__(self, ret):
self.ret = ret
def __str__(self):
return "Server error: %s" % self.ret
class UserError(Except... | [
"dyangUCI@github.com"
] | dyangUCI@github.com |
017d4a1b0484ade3ebe995b017041b678fbe1c5d | 5c00df958c8010c3bea2e5d5ef63d63642526495 | /setup.py | 278b6215ba952ddf33240cd2b2bf597c3adf6e25 | [
"MIT"
] | permissive | ppdebreuck/matbench | 32e9be021349c8bcb04efd992205f21e9850912f | 4bc373d86671e17aeba3ecdd8a49c3ad555d4513 | refs/heads/main | 2023-08-25T19:05:55.508133 | 2021-10-11T15:39:47 | 2021-10-11T15:39:47 | 393,661,109 | 0 | 0 | MIT | 2021-08-07T11:11:38 | 2021-08-07T11:11:38 | null | UTF-8 | Python | false | false | 1,468 | py | import os
from setuptools import setup, find_packages
MODULE_DIR = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(MODULE_DIR, "requirements.txt"), "r") as f:
requirements = f.read().replace(" ", "").split("\n")
# source of version is in the constants file
VERSION_FILE = os.path.join(MODULE_DIR,... | [
"ardunn@lbl.gov"
] | ardunn@lbl.gov |
62f74a9cfefeb751139c8a1fb60850c830101bfb | 287792543e5f15cd912661ffe0575d4fc3d03a49 | /backend/src/baserow/core/registries.py | c5f640f0e9fe3b433d04f42104a84869f0fef686 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | jacklicn/baserow | 27f7566a164127d8b4571be4493447347d8aa3ed | 978d9462ededbaa96674a6653028ba19876ea273 | refs/heads/master | 2023-04-02T19:06:20.961729 | 2021-04-08T16:00:37 | 2021-04-08T16:00:37 | 357,790,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,506 | py | from .registry import (
Instance, Registry, ModelInstanceMixin, ModelRegistryMixin, APIUrlsRegistryMixin,
APIUrlsInstanceMixin, ImportExportMixin
)
from .exceptions import ApplicationTypeAlreadyRegistered, ApplicationTypeDoesNotExist
class Plugin(APIUrlsInstanceMixin, Instance):
"""
This abstract clas... | [
"bramw@protonmail.com"
] | bramw@protonmail.com |
58b07d55f2442753f0175fb19c79c359c7b655d5 | 2f0d56cdcc4db54f9484b3942db88d79a4215408 | /.history/Python_Learning/Condiion_20200410231844.py | 807f9f0e50b806d27bf01dda56519bf8f565b699 | [] | no_license | xiangxing98/xiangxing98.github.io | 8571c8ee8509c0bccbb6c2f3740494eedc53e418 | 23618666363ecc6d4acd1a8662ea366ddf2e6155 | refs/heads/master | 2021-11-17T19:00:16.347567 | 2021-11-14T08:35:01 | 2021-11-14T08:35:01 | 33,877,060 | 7 | 1 | null | 2017-07-01T16:42:49 | 2015-04-13T15:35:01 | HTML | UTF-8 | Python | false | false | 3,178 | py | import time
print('如果你想拥有读心术,那选择X教授')
time.sleep(2)
print('如果你想干扰地球磁场,那选择万磁王')
time.sleep(2)
print('如果你想急速自愈能力,野兽般的感知能力,那选择金刚狼')
time.sleep(2)
print('如果你想拥有拥有念力移位和心电感应,那选择凤凰女')
time.sleep(2)
print('如果你想拥有拥有能随意控制气候的能力,那选择暴风女')
time.sleep(2)
print('那么,如果让你来选择的话,你想选择哪个人物?')
time.sleep(2)
print('请在以下六个选项【1 X教授... | [
"xiangxing985529@163.com"
] | xiangxing985529@163.com |
3886165407d0ba5f66efa43613de88aafdc77bbe | 5e8e4ca2205ccecf3b5b1ce12ae202883d4a5237 | /anchore_engine/clients/policy_engine/__init__.py | 481856d7a178a192d14edd75658cd2fa2d624924 | [
"Apache-2.0"
] | permissive | jasonwilk/anchore-engine | e6fb35060942688164e93a099559aa9be8900502 | 3b587a597be985cf5895f4a249418855d4be3fae | refs/heads/master | 2020-03-28T04:02:00.007092 | 2018-09-06T14:55:43 | 2018-09-06T14:55:43 | 147,689,738 | 0 | 0 | Apache-2.0 | 2018-09-06T14:53:27 | 2018-09-06T14:52:01 | Python | UTF-8 | Python | false | false | 1,577 | py | import random
import anchore_engine.clients.common
from anchore_engine.subsys.discovery import get_endpoints
from .generated import DefaultApi, configuration, ApiClient
from anchore_engine.subsys import logger
import anchore_engine.configuration.localconfig
SERVICE_NAME = 'policy_engine'
def get_client(host=None, us... | [
"nurmi@anchore.com"
] | nurmi@anchore.com |
8153e6afaf7e26c90c5d6e9b2a1aa321af0382d5 | 6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386 | /grafeas/v1/grafeas-v1-py/grafeas/grafeas_v1/types/deployment.py | 69ac2dac990e1a4f42b3f2fae3580581b4827d37 | [
"Apache-2.0"
] | permissive | oltoco/googleapis-gen | bf40cfad61b4217aca07068bd4922a86e3bbd2d5 | 00ca50bdde80906d6f62314ef4f7630b8cdb6e15 | refs/heads/master | 2023-07-17T22:11:47.848185 | 2021-08-29T20:39:47 | 2021-08-29T20:39:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,995 | py | # -*- coding: utf-8 -*-
# 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... | [
"bazel-bot-development[bot]@users.noreply.github.com"
] | bazel-bot-development[bot]@users.noreply.github.com |
0251b865943a31f95d2d8fcca8ff63221627c2f1 | 59e59cbc24650b557f41c041cbeb8dad10c4d2b1 | /01 Array/169. Majority Element.py | 718cf01d75ceb6a3273c129b36510ee9634562bf | [] | no_license | stungkit/Leetcode-Data-Structures-Algorithms | 5345211f4ceb7dc7651360f0ca0a7f48f2434556 | a3a341369a8acd86c29f8fba642f856d6ea2fd0a | refs/heads/master | 2023-07-26T18:14:17.993112 | 2021-09-13T15:40:47 | 2021-09-13T15:40:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,566 | py | # Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.
# You may assume that the array is non-empty and the majority element always exist in the array.
# Example 1:
# Input: [3,2,3]
# Output: 3
# Example 2:
# Input: [2,2,1,1,1,2,2]
#... | [
"noreply@github.com"
] | stungkit.noreply@github.com |
5ac4769b6bea10da8fbb4a97ed3d69902d8d9bd6 | c25e8f2fb5fcd7560f50cf77f49353816ceeffab | /Python for Everybody/Course_4_Using_Databases_with_Python/Assignment_19.py | 17cf366315ad22cae6100361d7264372cb300a74 | [] | no_license | koteshrv/Coursera | c7d75928d095142d2f39013708741ea324dd6464 | 5f37ce922b1f76abcd8582f7dd1c7b674162dd64 | refs/heads/master | 2023-02-09T06:52:31.975940 | 2021-01-05T18:10:23 | 2021-01-05T18:10:23 | 294,464,101 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,003 | py | '''
Retrieving GEOData
Download the code from http://www.py4e.com/code3/geodata.zip - then unzip the file and edit where.data to add an address nearby where you live - don't reveal where you live. Then run the geoload.py to lookup all of the entries in where.data (including the new one) and produce the geodata.sqlite. ... | [
"kkotesh100@gmail.com"
] | kkotesh100@gmail.com |
fc679ef509cb54b6f6526cdeede624b74324deaa | e5f194129752f3f89eed53478416d2c92cde0259 | /.cache/Microsoft/Python Language Server/stubs.v4/RAbd3hOzVRIjl5T9N_Z-WymMnylM5TJUMWmbys-xAPg=/speedups.cpython-38-x86_64-linux-gnu.pyi | 227c530185cbd8d826a94731aef6899a79524680 | [] | no_license | stepin-s/st | 1677fc25cb42c36afd76d2e3a48a1c0a5daf1b93 | b4cf346a446d57210197ee7f6f809cbc0a5b8799 | refs/heads/master | 2023-07-27T17:37:39.268414 | 2021-05-25T12:08:10 | 2021-05-25T12:08:10 | 405,090,749 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 206 | pyi | __doc__ = None
__file__ = '/home/st/.local/lib/python3.8/site-packages/tornado/speedups.cpython-38-x86_64-linux-gnu.so'
__name__ = 'tornado.speedups'
__package__ = 'tornado'
def websocket_mask():
pass
| [
"stpn.s@yandex.ru"
] | stpn.s@yandex.ru |
3af7a3b933bf513f93b14404512dd68ad5d4de48 | a689a72d3699883d7b58bd4ee3103373270bd0d5 | /BOJ/Python/BOJ1020.py | 12f8f79a460103398fcfb7620d39798d82a6ee6c | [] | no_license | Oizys18/Algo | 4670748c850dc9472b6cfb9f828a3ccad9c18981 | 45caafe22a8a8c9134e4ff3b227f5f0be94eefe7 | refs/heads/master | 2022-05-11T08:35:06.812539 | 2022-05-07T01:30:41 | 2022-05-07T01:30:41 | 202,690,024 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 415 | py | import sys
sys.stdin = open('BOJ1020.txt','r')
from pprint import pprint as pp
time = [int(i) for i in input()]
N = len(time)
cnt = {
1:2,
2:5,
3:5,
4:4,
5:5,
6:6,
7:3,
8:7,
9:5,
0:6
}
def count(time):
total = 0
for t in time:
total += cnt[t]
return total
d... | [
"oizys18@gmail.com"
] | oizys18@gmail.com |
38528b4c400b8e661dc7ca3250f4afcfea523742 | f1e9f557c5d724dcabbfa17903de93bb82767e35 | /py_ffmpeg_snapshot_mp4.py | 260b61a4ce66d6d9b5ea7477b98639ad3e9ab092 | [] | no_license | gregsheu/python | e5e9ff83dc0ce90541591e726c940e8a1f71a3d4 | 4a77295d58a522974ee85b201ab99cdbe410fd08 | refs/heads/master | 2023-08-18T08:30:15.611727 | 2023-08-08T06:55:44 | 2023-08-08T06:55:44 | 181,270,205 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,075 | py | import requests
import urllib
import ffmpeg
import os
import time
import threading
from requests.auth import HTTPDigestAuth
def convert_jpgmp4(ip):
t = 0
k = 'KingSolarman'
while t < 6:
t = t + 1
for i in range(1, 5):
try:
#r1 = ffmpeg.input('rtsp://admin:admin12... | [
"greg@mymacpro.bluefinops.io"
] | greg@mymacpro.bluefinops.io |
034aa04bd4df8e40af2fcc06330674f531b2564b | 1061216c2c33c1ed4ffb33e6211565575957e48f | /python-blueplanet/app/openapi_server/models/realm_domain.py | 5d2b636ee80ac8d5bad11d57f9865d8f0818a6ce | [] | no_license | MSurfer20/test2 | be9532f54839e8f58b60a8e4587348c2810ecdb9 | 13b35d72f33302fa532aea189e8f532272f1f799 | refs/heads/main | 2023-07-03T04:19:57.548080 | 2021-08-11T19:16:42 | 2021-08-11T19:16:42 | 393,920,506 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,622 | py | # coding: utf-8
from __future__ import absolute_import
from datetime import date, datetime # noqa: F401
from typing import List, Dict # noqa: F401
from app.openapi_server.models.base_model_ import Model
from openapi_server import util
class RealmDomain(Model):
"""NOTE: This class is auto generated by the swa... | [
"suyash.mathur@research.iiit.ac.in"
] | suyash.mathur@research.iiit.ac.in |
fb9d4914e6c20b05a500c61aaa95e60cb927b765 | 71dea7d99e3619f133826a134f8d4bb644fa3f91 | /libs/groupdocs_conversion_cloud/models/pdf_convert_options.py | 53adb7427fa4bdedd75a04a4b8becbd023e6bdca | [
"MIT"
] | permissive | rocketbot-cl/pdf2word | cd26aa77a2e38efaebd2180e8b097a4e9d947950 | 794d929651673155a96330b8b45d0f7c69856076 | refs/heads/master | 2022-12-30T16:16:12.908538 | 2022-12-12T22:08:08 | 2022-12-12T22:08:08 | 230,915,875 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 41,188 | py | # coding: utf-8
# -----------------------------------------------------------------------------------
# <copyright company="Aspose Pty Ltd" file="PdfConvertOptions.py">
# Copyright (c) 2003-2019 Aspose Pty Ltd
# </copyright>
# <summary>
# Permission is hereby granted, free of charge, to any person obtaining a copy... | [
"marce.rotten@gmail.com"
] | marce.rotten@gmail.com |
853844b8902491afe57cebbbb509d1c6a63f6d96 | 8a1144dd38388992c7e35a4cc84002e381f2cf1f | /python/django_fundamentals/login_and_registration/apps/login_registration/migrations/0001_initial.py | 9ea1b5fcdbc6512bea58f815ae55408d3fa91aa6 | [] | no_license | vin792/dojo_assignments | 18472e868610bacbd0b5141a5322628f4afefb5b | 449b752f92df224285bfd5d03901a3692a98562e | refs/heads/master | 2021-01-20T00:20:09.896742 | 2017-05-26T17:37:09 | 2017-05-26T17:37:09 | 82,735,702 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 893 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-03-17 20:47
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='User',... | [
"vin792@gmail.com"
] | vin792@gmail.com |
912291a36038721951374e02ac6c78b525f90162 | 6968c7f9d2b20b5296663829f99a27d184a59fc1 | /autodisc/autodisc/test/explorers/test_goalspacedensityexplorer.py | fabe579ee7322405d892713d4320675ee74cfeb5 | [
"Apache-2.0",
"MIT"
] | permissive | flowersteam/automated_discovery_of_lenia_patterns | d42dff37323d51732571b33845c0562d844f498f | 97cc7cde2120fa95225d1e470e00b8aa8c034e97 | refs/heads/master | 2020-06-29T07:08:58.404541 | 2020-05-14T07:37:10 | 2020-05-14T07:37:10 | 200,470,902 | 13 | 2 | null | null | null | null | UTF-8 | Python | false | false | 12,729 | py | import autodisc as ad
import numpy as np
import os
from autodisc.explorers.goalspacedensityexplorer import GoalSpaceDensityExplorer
def test_statistic_goalspace():
# use lenia as test system
system = ad.systems.Lenia()
config = GoalSpaceDensityExplorer.default_config()
config.seed = 1
config.num_... | [
"chris.reinke@inria.fr"
] | chris.reinke@inria.fr |
21816f17050910e9e18ccd56d0411ceab4b65bd8 | a8139ccd50a27861d3c5a4168fd0e4b351c0a514 | /material/code/advanced_oop_and_python_topics/4_ManagedAttributeDemo/ManagedAttributeDemo2.py | 79ffd4b1f17b51ffde72f399ac413b1c616988d1 | [] | no_license | shambhand/pythontraining | a124aa1485c3ce0e589fc2cd93c1e991746432e4 | 24dd923e2b2c07c70500775e3665e2a527240329 | refs/heads/master | 2021-05-17T22:54:45.331127 | 2019-01-11T03:12:59 | 2019-01-11T03:12:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 661 | py | # Attribute properties are inherited by the
# derived class
import sys
class Person:
def __init__(self, name):
self._name = name
def getName(self):
print('fetch...')
return self._name
def setName(self, value):
print('change...')
self._name = value
def delName(self):
print('remove...')
del self._na... | [
"amit2766@gmail.com"
] | amit2766@gmail.com |
4ffaf02529c48182b78088a71725d0fd48b1e682 | b945118b1344f05921af1f9974e5d6e370967253 | /cloudflu/r0.5/cloudflu/amazon/apps/reservation_rm.py | e97806bf40cf663f3ed7a01019d84af190e32399 | [
"Apache-2.0"
] | permissive | asimurzin/balloon-testing | aab85316d2a63c3a497b5afe46467c78c17a2691 | 35d72685a319fa66ee7006841b75c54bd62434e0 | refs/heads/master | 2016-09-06T20:16:59.157112 | 2011-07-26T11:51:49 | 2011-07-26T11:51:49 | 989,245 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,803 | py | #!/usr/bin/env python
#--------------------------------------------------------------------------------------
## Copyright 2010 Alexey Petrov
##
## 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... | [
"asimurzin@gmail.com"
] | asimurzin@gmail.com |
1c3dc4c7a6e7fa587df8ac58227acadc80637fca | 14d8418ca5990217be67aee89fdaa310db03fbba | /models/website.py | 860b81e8317c7d462118ecfceccd0e54019dd405 | [
"Apache-2.0"
] | permissive | sachanta/lm-sdk-python | 3a16457bd2d5b880a0d238a88a9d1d5b8d9675f0 | e476d415c7279457f79b5d032a73d950af2fe96b | refs/heads/master | 2023-08-03T08:39:42.842790 | 2021-09-13T07:20:56 | 2021-09-13T07:20:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 30,624 | py | # coding: utf-8
"""
LogicMonitor REST API
LogicMonitor is a SaaS-based performance monitoring platform that provides full visibility into complex, hybrid infrastructures, offering granular performance monitoring and actionable data and insights. logicmonitor_sdk enables you to manage your LogicMonitor account... | [
"bamboo@build01.us-west-1.logicmonitor.net"
] | bamboo@build01.us-west-1.logicmonitor.net |
2e3607e4c88c2ff608609c6e92f1369a1a64eb09 | 77311ad9622a7d8b88707d7cee3f44de7c8860cb | /res/scripts/client/gui/shared/gui_items/dossier/factories.py | 0a30a9ed5c74503078b8853569b8c45fbb26c42e | [] | no_license | webiumsk/WOT-0.9.14-CT | 9b193191505a4560df4e872e022eebf59308057e | cfe0b03e511d02c36ce185f308eb48f13ecc05ca | refs/heads/master | 2021-01-10T02:14:10.830715 | 2016-02-14T11:59:59 | 2016-02-14T11:59:59 | 51,606,676 | 0 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 12,884 | py | # 2016.02.14 12:41:35 Střední Evropa (běžný čas)
# Embedded file name: scripts/client/gui/shared/gui_items/dossier/factories.py
import nations
from dossiers2.ui.achievements import ACHIEVEMENT_TYPE, getType as getAchieveType, ACHIEVEMENT_BLOCK as _AB, WHITE_TIGER_RECORD, RARE_STORAGE_RECORD
from gui.shared.gui_items.do... | [
"info@webium.sk"
] | info@webium.sk |
ee05403c9afac4b0de051068d81af1443f0da820 | 9b0babcf6849e11b3f208e702d2b36fd049f63f2 | /Nov03/04Pattern638.py | 3c7b60988e41f0991146ca7c16ac43e3bf4cb094 | [] | no_license | nish235/PythonPrograms | d5ec56647d06136aef9501d732e7da32e82f3947 | f657c1263098665a50b1b1fcbfc49bea6ce7af6f | refs/heads/main | 2023-03-18T23:02:34.974009 | 2021-03-13T06:18:00 | 2021-03-13T06:18:00 | 302,834,862 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 233 | py | n = 5
a = n
b = n
for x in range(1, n+1):
for y in range(1, n * 2 + 1):
if y == a or y == b:
print(chr(a+64), end="")
else:
print(" ", end="")
a -= 1
b += 1
print()
| [
"noreply@github.com"
] | nish235.noreply@github.com |
07b601a95a976174ad12c9cdc6438dbe30736569 | 8f24e443e42315a81028b648e753c50967c51c78 | /release/k8s_tests/run_gcs_ft_on_k8s.py | 88997663a45da106ea15bb41777657025fdf1466 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | simon-mo/ray | d07efdada8d05c6e10417f96e8dfc35f9ad33397 | 1e42e6cd15e2fb96c217cba8484e59ed0ef4b0c8 | refs/heads/master | 2023-03-06T00:09:35.758834 | 2022-12-23T18:46:48 | 2022-12-23T18:46:48 | 122,156,396 | 4 | 2 | Apache-2.0 | 2023-03-04T08:56:56 | 2018-02-20T04:47:06 | Python | UTF-8 | Python | false | false | 12,176 | py | import enum
import json
import subprocess
from kubernetes import client, config, watch
import requests
import random
import uuid
import pathlib
import time
import ray
import os
# global variables for the cluster informations
CLUSTER_ID = None
RAY_CLUSTER_NAME = None
RAY_SERVICE_NAME = None
LOCUST_ID = None
# Kill no... | [
"noreply@github.com"
] | simon-mo.noreply@github.com |
7b52b03525110b80daf809be6771e62af13a65de | b1ddcf4bac9ca603a7a2333912eb29da8bf2cb7b | /ReadOnlyModelViewset/ReadOnlyModelViewset/wsgi.py | f5e6d48aa8a7cf1cd91df179630338e674686911 | [] | no_license | sankethalake/django_practice | e9477ae0beee4923cd6758cc6d37517ea5979610 | 9877304f0c6415ae8979e5cc13a49559155fdd9d | refs/heads/main | 2023-07-07T07:07:35.598657 | 2021-08-14T06:26:23 | 2021-08-14T06:26:23 | 389,917,128 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 433 | py | """
WSGI config for ReadOnlyModelViewset project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.enviro... | [
"sankethalake@gmail.com"
] | sankethalake@gmail.com |
eef03c572aa4c91aa3ca9b0b876c4ab34a9a2947 | 677ccdf2a0459179f03ef543c83d52f3b3174b98 | /django_app/wishlist/apis/wishlist.py | 060cb3d166eb89bc386295e20f2cbc039960e8f1 | [] | no_license | wps5-airbnb/airbnb | 6c4de1d5d6e7f9b2bd9190a9a84b8e19e845b761 | 68068def521bd911fbc462cb10eae23aa7b9b436 | refs/heads/master | 2021-01-01T16:18:43.854381 | 2018-10-29T06:22:18 | 2018-10-29T06:22:18 | 97,808,590 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,374 | py | from rest_framework import authentication, status
from rest_framework.response import Response
from rest_framework.views import APIView
from house.models import House
from house.serializers.house import HouseSerializer
from ..models import Wishlist
__all__ = [
'WishlistView',
]
class WishlistView(APIView):
... | [
"gaius827@gmail.com"
] | gaius827@gmail.com |
3b8f928c5a21247a282fb340146ff95376ee343a | ad05a747dc8f23822c51b02486b29c5cd2001369 | /releases/cws_toolbox/cws_tbx_1.4.6/cws_toolbox/transform_lidar/remove_blanks.py | 107baf1cd1f503a0dda18928dbbd91e908e0ea23 | [] | no_license | nickrsan/sierra-code-library | 9e2bcb51135b2f33c1ff4230ec21c0f30ab19c2c | 91abf016b63da901d4cc182f4761fe1d7f46cfe4 | refs/heads/master | 2022-04-11T10:53:17.439366 | 2020-03-24T00:32:06 | 2020-03-24T00:32:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,043 | py | import sys
import arcpy
from cws_toolbox.transform_lidar.cwslidar import *
class func_wrapper:
def __init__(self):
pass
def processor(self,data,mm,output = None): # mm is the minmax object
output.write("x y z i r g b\n")
for line in data:
match = re.search('^(\d*)\s*$',line) # if this line i... | [
"nickrsan@users.noreply.github.com"
] | nickrsan@users.noreply.github.com |
95f0622de154b99f837e5337ee28442eac324b12 | bb7909c8b1906d43836d798e3bf6e5d3aa12a2ea | /groovebox/utils/__init__.py | 2d84afcc8d1cf4cd0542eec3dbb20bca74d8ac5c | [] | no_license | thegroovebox/api.groovebox.org | 9e55002f22196ae4a94b05d3e6297de0d9d33c4f | 99701d24e686b5d2d0c339e5dbe6cb74a939b3d9 | refs/heads/master | 2021-01-22T14:11:44.163885 | 2016-07-30T07:47:21 | 2016-07-30T07:47:21 | 38,858,649 | 4 | 2 | null | 2016-07-30T07:47:21 | 2015-07-10T03:22:56 | Python | UTF-8 | Python | false | false | 1,795 | py | #!/usr/bin/env python
# -*-coding: utf-8 -*-
"""
utils
~~~~~
Various utilities (not groovebox specific)
:copyright: (c) 2015 by Mek
:license: see LICENSE for more details.
"""
from datetime import datetime, date
import json
import string
def subdict(d, keys, required=True):
"""Create a dic... | [
"michael.karpeles@gmail.com"
] | michael.karpeles@gmail.com |
32d7879356d81e175fd2276ed3fce8cab3d00e97 | 34ed44cdbbb641c6ace37b5caa05a850b5928980 | /impression_client/backends.py | 1ac8234b840f4300a722991080bc09b743d9a274 | [
"MIT"
] | permissive | gregschmit/django-impression-client | 627dfe89a2053e9965dc7e3ad8069e16dad55e4f | a2f4328024a67865eccaeff79567320842ab5d5c | refs/heads/master | 2020-12-01T13:35:35.092702 | 2019-12-29T02:17:15 | 2019-12-29T02:17:15 | 230,642,917 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,287 | py | """
This module implements our remote email backend.
"""
import requests
from django.core.mail.backends.base import BaseEmailBackend
from .settings import get_setting
class RemoteEmailBackend(BaseEmailBackend):
"""
This backend sends a RESTful request to the target Impression server, and allows
that re... | [
"schmitgreg@gmail.com"
] | schmitgreg@gmail.com |
641d4a77c65b117c530880486b96976994997758 | 1fe8d4133981e53e88abf633046060b56fae883e | /venv/lib/python3.8/site-packages/tensorflow/core/framework/variable_pb2.py | d039b2253deae01739d32df4de63b92afd561ed4 | [] | no_license | Akira331/flask-cifar10 | 6c49db8485038731ce67d23f0972b9574746c7a7 | 283e7a2867c77d4b6aba7aea9013bf241d35d76c | refs/heads/master | 2023-06-14T16:35:06.384755 | 2021-07-05T14:09:15 | 2021-07-05T14:09:15 | 382,864,970 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 130 | py | version https://git-lfs.github.com/spec/v1
oid sha256:44f055eb2279cd13afd13956996ab45ffe6357c2bc77bbe30d0d98318245f426
size 11678
| [
"business030301@gmail.com"
] | business030301@gmail.com |
177a00ba50bec956baa12e26723cf225d3cdd6fc | e6a73d0f2000932c520ee88c1681c4d2c9d84b9f | /app/spiders/ritz1.py | b8b1f95c784e601baf98774069b239ca57e66965 | [] | no_license | caseydm/hotels | d6763d36f82d843215583f78519b427cca715f1b | 9138b94e8769e087c8248ceff07c61d1ea1c243f | refs/heads/master | 2021-01-21T09:56:13.166453 | 2017-02-28T00:07:50 | 2017-02-28T00:07:50 | 83,364,973 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 120 | py | from app.spiders.marriott_scrape import scrape_marriott
from app.spiders.constants import RITZ1
scrape_marriott(RITZ1)
| [
"caseym@gmail.com"
] | caseym@gmail.com |
d09592cff798e5f6b30194c839b285354a53054a | 28a124b6a2f22a53af3b6bb754e77af88b4138e1 | /DJANGO/DjangoRestFramework/intro/comment/api/views.py | ec8c91dabbf7cefb14cd4267f581b6dfe6440a51 | [] | no_license | mebaysan/LearningKitforBeginners-Python | f7c6668a9978b52cad6cc2b969990d7bbfedc376 | 9e1a47fb14b3d81c5b009b74432902090e213085 | refs/heads/master | 2022-12-21T03:12:19.892857 | 2021-06-22T11:58:27 | 2021-06-22T11:58:27 | 173,840,726 | 18 | 4 | null | 2022-12-10T03:00:22 | 2019-03-04T23:56:27 | Python | UTF-8 | Python | false | false | 1,924 | py | from rest_framework.generics import CreateAPIView, ListAPIView, DestroyAPIView, RetrieveUpdateAPIView
from comment.models import Comment
from comment.api.serializers import CommentCreateSerializer, CommentListSerializer, CommentDeleteUpdateSerializer
from comment.api.permissions import IsOwner
from rest_framework.permi... | [
"menesbaysan@gmail.com"
] | menesbaysan@gmail.com |
eb9f93c41f17e6c67016513077e632e91c2443b2 | 8ee5dcbdbd407eb5f294d430813b16eca22f571c | /data/HW5/hw5_308.py | 2c3b780ef113894c2152aaba21d6a3219530477f | [] | no_license | MAPLE-Robot-Subgoaling/IPT | 5e60e2ee4d0a5688bc8711ceed953e76cd2ad5d9 | f512ea3324bfdceff8df63b4c7134b5fcbb0514e | refs/heads/master | 2021-01-11T12:31:00.939051 | 2018-08-13T23:24:19 | 2018-08-13T23:24:19 | 79,373,489 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 622 | py | def main():
width = int(input("Please enter the width of the box: "))
height = int(input("Please enter the height of the box: "))
outline = str(input("Please enter a symbol for the box outline: "))
fill = str(input("Please enter a symbol for the box fill: "))
for i in range(height):
line = "... | [
"mneary1@umbc.edu"
] | mneary1@umbc.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.