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
af29f1373881a02c258e3d0ecea610a37bfd95e4
18536f8145457a193b976eec44ee92535f588e54
/awscli/customizations/configure/get.py
368cfeffcb6439f29e29cf537aba8cae575bc73c
[ "Apache-2.0" ]
permissive
jamsheedsaeed/awsapp
07e4ec6b9e07f679106db8e61f104ee9065e6af0
5498a3652b1d471a8695e14ca9739140e88a4b29
refs/heads/master
2023-01-01T23:44:16.181967
2020-06-19T06:56:48
2020-06-19T06:56:48
273,418,893
0
0
NOASSERTION
2022-12-26T20:16:39
2020-06-19T06:16:31
Python
UTF-8
Python
false
false
4,230
py
# Copyright 2016 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acc...
[ "jamsheedsaeed786@gmail.com" ]
jamsheedsaeed786@gmail.com
18f9315cb8550f97f69077a4e82faa732178c9ee
b953185d407ae143bdbfecbd8d11c8dfec177a30
/accounts/tests/conftest.py
19507bf8ab49831d74c87149ad8c8b0cf6ac58b4
[]
no_license
OmarFateh/tefit-api
e93684411d4be96445ca2271c939c9529b620ddf
8d3091686a30f8559b5b577c3c3e82ebb6bf53d9
refs/heads/main
2023-07-11T02:42:35.707584
2021-08-13T22:49:17
2021-08-13T22:49:17
388,274,315
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
import pytest from pytest_factoryboy import register from .factories import UserFactory register(UserFactory) @pytest.fixture def new_user(db, user_factory): user = user_factory.create() # client.force_login(user) return user
[ "66747309+OmarFateh@users.noreply.github.com" ]
66747309+OmarFateh@users.noreply.github.com
45d5fd73fcd614ce22fed57c6a5352d9f60abc2f
b0742d240520af3a35fab31f71cfb1cd71c73696
/Python/EditMLTkinter/PracQ1.py
988704379f7e29da83d5296cc62179bb154628ce
[]
no_license
subhamrex/Coding_Practice
90c95e74f403781a90cd39ca0b441251dc4974d5
677579dbb4d92c9f3a2a7d5403b14c9f6f51014b
refs/heads/master
2023-07-29T02:01:43.678180
2021-09-08T15:48:36
2021-09-08T15:48:36
373,430,589
1
0
null
null
null
null
UTF-8
Python
false
false
991
py
class Solution(object): def myAtoi(self, s): #Remove WhiteSpace s = s.strip() if (s == None or len(s) == 0): return 0 res = 0 isNeg = False start_index = 0 if s[0] == '+' or s[0] == '-': start_index +=1 if s[0]...
[ "subhamkundu486@gmail.com" ]
subhamkundu486@gmail.com
c1d21fc5599c6b828d92bc3584939ac0e85814d7
51c1e15fe726bb911e2bd8fd39795acd642c33bf
/steiner_tree/__main__.py
af0558b492f9c16e683ba40cd5d6310bc5e32de4
[]
no_license
ducminh-phan/project-2.24.2
912f8cb778a1e5c8a0265f5c86732bdc1b2f04ce
44bb53477dcff20a2e555a71c77c84b8d2c32b18
refs/heads/master
2021-05-08T16:43:58.996313
2018-02-11T20:23:17
2018-02-11T20:23:17
120,167,228
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
# Execute with # $ python -m steiner_tree from .main import main if __name__ == '__main__': main()
[ "alephvn@gmail.com" ]
alephvn@gmail.com
642927a525d20d6f825425c7d7cec0e619d2d0a2
8e93dbb0e1d92979682776187959de020453cdfb
/tracing/__init__.py
ee705dd3ab110e242ff488831aa65911163708e8
[ "MIT" ]
permissive
dbsiavichay/django-tracing
6a454b8d20e54e2b11e70f3e9b4b28862a3a1412
1476cd0a57e935433f76ddafb136f218f5dfac82
refs/heads/master
2023-08-28T14:35:44.184737
2021-10-20T03:12:38
2021-10-20T03:12:38
316,652,038
0
0
MIT
2021-10-17T04:23:57
2020-11-28T03:55:11
Python
UTF-8
Python
false
false
50
py
default_app_config = "tracing.apps.TracingConfig"
[ "dbsiavichay@gmail.com" ]
dbsiavichay@gmail.com
f4e1fbd560b0ee6986f7682f4d8caf302504ff3d
d1ad901e1e926d9c92ce4dc7a7ba3c6ee91a65e2
/tests/pc/test_lag_2.py
7f4565e700f293d78a8886a04d51d66e97320d5a
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
SubhajitPalKeysight/sonic-mgmt
ff59c2c5baf53cc2575aea2d541278fc9cf56977
e4b308a82572996b531cc09cbc6ba98b9bd283ea
refs/heads/master
2022-12-31T01:03:47.757864
2020-10-15T11:04:37
2020-10-15T11:04:37
286,815,154
1
1
NOASSERTION
2020-08-11T18:08:34
2020-08-11T18:08:33
null
UTF-8
Python
false
false
12,520
py
import pytest import json import time import logging import os from tests.common.fixtures.ptfhost_utils import copy_ptftests_directory # lgtm[py/unused-import] from tests.ptf_runner import ptf_runner from tests.common.devices import AnsibleHostBase from tests.common.fixtures.conn_graph_facts import conn_graph_facts...
[ "noreply@github.com" ]
SubhajitPalKeysight.noreply@github.com
46dffa0efcef51c33e39dc2ce86f80bf37b2151c
c5f6ac453b5a0b573f818208bebbfab7ee2f7db8
/myprog.py
7ce265bd1546db9587717c09d5577b21b69cbbbc
[]
no_license
LauraAherne/giving-it-a-go
b1de05bf9b4acc686a41ef0641614e8e835aa9dd
53fa80f1ce9304ab5274dd4f3af669a17b07080d
refs/heads/main
2023-06-14T19:41:56.120609
2021-07-08T19:29:40
2021-07-08T19:29:40
383,723,258
0
0
null
null
null
null
UTF-8
Python
false
false
16
py
print ("Myprog")
[ "me@me.com" ]
me@me.com
889732355e93b417f28e3c450322810268e05a57
f0983505b5a0b3864260e79d3068edc7e353aecc
/python/qipkg/actions/extract_package.py
addcc22e0760f47f6c42c9a8e5192884fae1c79b
[ "BSD-3-Clause" ]
permissive
cgestes/qibuild
4182488701dcf28ed168bece5561b7a7498c2d46
c3bcd819ef7d323b80778a57d76e3c1a15479cbd
refs/heads/master
2021-01-15T12:26:44.754669
2014-09-03T10:00:40
2014-09-03T10:04:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
""" Extract the contents of a package """ import os import zipfile from qisys import ui import qisys.parsers import qipkg.package def configure_parser(parser): qisys.parsers.default_parser(parser) parser.add_argument("pkg_path") parser.add_argument("--cwd", "-C", dest="output_path") def do(args): pk...
[ "dmerejkowsky@aldebaran-robotics.com" ]
dmerejkowsky@aldebaran-robotics.com
54599a21eb28ed1c909096e1ef9791e344309a36
b0f0473f10df2fdb0018165785cc23c34b0c99e7
/Peach.Core/Lib/BaseHTTPServer.py
6760daa7b4e0500dd62b360db1ddf9ed81be97e7
[]
no_license
wimton/Meter-peach
d9294a56ec0c1fb2d1a2a4acec1c2bf47b0932df
af0302d1789a852746a3c900c6129ed9c15fb0f4
refs/heads/master
2023-04-25T22:54:31.696184
2021-05-19T13:14:55
2021-05-19T13:14:55
355,202,202
0
0
null
null
null
null
UTF-8
Python
false
false
22,749
py
"""HTTP server base class. Note: the class in this module doesn't implement any HTTP request; see SimpleHTTPServer for simple implementations of GET, HEAD and POST (including CGI scripts). It does, however, optionally implement HTTP/1.1 persistent connections, as of version 0.3. Contents: - BaseHTTPRequestHandler: ...
[ "wimton@yahoo.com" ]
wimton@yahoo.com
2d7fd4bd79bcfdd8fe6d41de27c72b53b7640e8d
50914176887f9f21a3489a9407195ba14831354c
/find_mode_in_binary_search_tree_test.py
4088523b73401ba24d22ff461d49caac24867724
[]
no_license
nkukarl/leetcode
e8cfc2a31e64b68222ad7af631277f1f66d277bc
b1dbe37e8ca1c88714f91643085625ccced76e07
refs/heads/master
2021-01-10T05:42:04.022807
2018-02-24T03:55:24
2018-02-24T03:55:24
43,725,072
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
import random from unittest import TestCase from nose_parameterized import parameterized from find_mode_in_binary_search_tree import Solution from utils_tree import construct_tree class TestFindModeInBST(TestCase): @parameterized.expand([ [ construct_tree([]), [], ], ...
[ "kai.wang.nankai@gmail.com" ]
kai.wang.nankai@gmail.com
7ad3a9fc30c1086cb4d5bfc400365c126b3ab993
4869c5e4d4b5ba6af434b62a2369ed58891c4eb0
/addons/plugin.video.fen/resources/lib/caches/trakt_cache.py
42b180c9572b11ae82996aa891221d8301080b8a
[]
no_license
JohnnyBlackwater/Zephyr-mod
1bd73a04549da83965a0979a1957ab4f98b03a6d
2e9472793b45287b1114221f5dd1674ce886bca1
refs/heads/master
2023-08-31T22:54:47.827433
2021-11-15T03:01:01
2021-11-15T03:01:01
428,104,158
0
0
null
null
null
null
UTF-8
Python
false
false
7,657
py
# -*- coding: utf-8 -*- import sqlite3 as database from modules.utils import to_utf8 from modules.kodi_utils import translate_path, sleep, confirm_dialog, close_all_dialog # from modules.kodi_utils import logger dbfile = translate_path('special://profile/addon_data/plugin.video.fen/traktcache.db') timeout = 60 SELECT...
[ "Johnnyblackx3@aol.com" ]
Johnnyblackx3@aol.com
14b7ef20bb451a423a1a8b4616606b3daa2dc076
2b661e9a112940c7536e1cfe48efae5777045f6f
/Pygame/Beleg/dungeon_ss2021/startBild.py
c4456280946f1592c75ac5f316a284e0f8d56f7f
[]
no_license
ViktorLysow/main.py
0e33bc045eff51c0a47f1a08ac521fc1d2418e70
6e8422672ba62b93170b4f61d8bd2df86992833a
refs/heads/master
2023-06-17T11:58:22.036517
2021-07-09T13:59:52
2021-07-09T13:59:52
384,451,894
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
# (c) Hochschule Anhalt, veröffentlicht unter MIT-Lizenz # Hauptprogramm # Autor: Viktor Lysow # Letzte Änderung: 12.03.2021 # Zweck: Steuerung des gesamten Spielablaufs - dieses Programm muss gestartet werden, um das Spiel zu spielen. import pygame from screen import screen from button import button hintergrundstart...
[ "viktor_lysow@gmx.de" ]
viktor_lysow@gmx.de
97029d6a85dffe59226fcd8c05ea808894ba293d
fb1e852da0a026fb59c8cb24aeb40e62005501f1
/infoxlm/fairseq/scripts/compare_namespaces.py
db5121189a9bb405f87a010857009afa29da744e
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-free-unknown", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
microsoft/unilm
134aa44867c5ed36222220d3f4fd9616d02db573
b60c741f746877293bb85eed6806736fc8fa0ffd
refs/heads/master
2023-08-31T04:09:05.779071
2023-08-29T14:07:57
2023-08-29T14:07:57
198,350,484
15,313
2,192
MIT
2023-08-19T11:33:20
2019-07-23T04:15:28
Python
UTF-8
Python
false
false
1,052
py
#!/usr/bin/env python """Helper script to compare two argparse.Namespace objects.""" from argparse import Namespace # noqa def main(): ns1 = eval(input('Namespace 1: ')) ns2 = eval(input('Namespace 2: ')) def keys(ns): ks = set() for k in dir(ns): if not k.startswith('_'): ...
[ "czwin32768@sina.com" ]
czwin32768@sina.com
ea48a13649960529e0b38a3973eabb77bad5b531
f228ca343256c648494770017c435136c0f9f2f8
/cloudmersive_validate_api_client/api/email_api.py
26ad226accf0011acd105eb722b84469d240b141
[ "Apache-2.0" ]
permissive
doc22940/cloudmersive.apiclient.python
5f8caf0f9fc0d89491ed9bc3836cae7f4e592067
8646291f45ebd7c6572a296e30f693693a6782c4
refs/heads/master
2020-09-15T18:18:03.656443
2019-10-19T21:29:36
2019-10-19T21:29:36
223,525,506
0
0
null
null
null
null
UTF-8
Python
false
false
14,613
py
# coding: utf-8 """ validateapi The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API. # noqa: E501 OpenAPI spec version: v1 Ge...
[ "35204726+Cloudmersive@users.noreply.github.com" ]
35204726+Cloudmersive@users.noreply.github.com
2105a3cb1496ad3906791bce68ac6a9863974891
943dca755b940493a8452223cfe5daa2fb4908eb
/abc173/b.py
43af639c35c1c62e2de9631bf524b1b38c343526
[]
no_license
ymsk-sky/atcoder
5e34556582763b7095a5f3a7bae18cbe5b2696b2
36d7841b70b521bee853cdd6d670f8e283d83e8d
refs/heads/master
2023-08-20T01:34:16.323870
2023-08-13T04:49:12
2023-08-13T04:49:12
254,348,518
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
n=int(input()) l=[input()for _ in range(n)] for s in ['AC','WA','TLE','RE']: print(s,'x',l.count(s))
[ "ymsk.sky.95@gmail.com" ]
ymsk.sky.95@gmail.com
d86b4aa0c046e6ea8a0658d34b5ed37c4e38a941
ebf1558c6f681e6c9a77b33e117ba10bdc7c426b
/justthereadme/apps/repos/views.py
1cb1242aaa51f820aa2f43848a215850110503c3
[]
no_license
spulec/justthereadme
c1039c9307796fcb5ee807f76a83ae5e3b1f7413
7783046ebd4e49f589e9423262f5300b61a122da
refs/heads/master
2021-01-23T18:11:05.321675
2012-07-16T04:05:51
2012-07-16T04:05:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,977
py
from django.contrib.auth.decorators import login_required from django.core.cache import cache from django.http import HttpResponse, HttpResponseForbidden from django.shortcuts import get_object_or_404 from django.utils.decorators import method_decorator from django.views.generic import TemplateView from repos.models i...
[ "spulec@gmail.com" ]
spulec@gmail.com
541259c9860b1ddff95185855c3f6ebce83f5f67
ba9e1fc7797ebc55a61a40ee66c51b467f353ff1
/little-data-visualization/world_population/country_codes.py
d42601ea00088b75d1f08a2e295c10e9181f1c0a
[]
no_license
sanpianye/the-little-python
77c938164d43cbb120063a6d17d0705cc9e92e93
c04898bf0812afb53b71567699ee523d1bc56a29
refs/heads/master
2021-06-14T01:55:31.452777
2017-03-09T13:31:59
2017-03-09T13:31:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- '''''' __author__ = 'Engine' from pygal.maps.world import COUNTRIES def get_country_code(country_name): """""" # dict COUNTRIES contains 2-letter country code (key) # and country name (value) for code, name in COUNTRIES.items(): if name == coun...
[ "enginechen07@gmail.com" ]
enginechen07@gmail.com
efcab3566582895d074c1393b5fcbbcbfe6bb277
5152267a5c7a0a935a4f6cc8972779014805f04c
/kimrecessive.py
09e5be231668703b0192039e998cd1f776d7a36f
[]
no_license
argriffing/xgcode
d099af1a3ac36c88383f3312f1cb9aaf661fd7db
91c6f8331f18c914eb3dfc51bc166915998c5081
refs/heads/master
2020-05-17T09:00:00.431019
2014-08-08T23:52:21
2014-08-08T23:52:21
471,437
1
2
null
null
null
null
UTF-8
Python
false
false
10,224
py
""" This module implements functions from Kimura 1957. It gives explicit analytic solutions of some definite integrals. Some of the explicit solutions may not be as well behaved numerically as the numerical integration provided by scipy.integrate.quad. """ import math import numpy from numpy import testing import sc...
[ "argriffi@ncsu.edu" ]
argriffi@ncsu.edu
8b53d6f293367c534c0c9246850029e561617be4
9bb01fa882e713aa59345051fec07f4e3d3478b0
/tests/cysparse_/sparse/common_attributes/test_common_attributes_matrices_likes_CSRSparseMatrix_INT64_t_COMPLEX128_t.py
10f7f7abacbdd69457cb4de92049830549457ce6
[]
no_license
syarra/cysparse
f1169c496b54d61761fdecbde716328fd0fb131b
7654f7267ab139d0564d3aa3b21c75b364bcfe72
refs/heads/master
2020-05-25T16:15:38.160443
2017-03-14T21:17:39
2017-03-14T21:17:39
84,944,993
0
0
null
2017-03-14T12:11:48
2017-03-14T12:11:48
null
UTF-8
Python
false
false
7,403
py
#!/usr/bin/env python """ This file tests basic common attributes for **all** matrix like objects. Proxies are only tested for a :class:`LLSparseMatrix` object. See file ``sparse_matrix_coherence_test_functions``. """ from sparse_matrix_like_common_attributes import common_matrix_like_attributes import unittest fro...
[ "sylvain.arreckx@gmail.com" ]
sylvain.arreckx@gmail.com
95adb5473478a7dd917438636a379eb52b77432f
ddf1267a1a7cb01e70e3b12ad4a7bfaf291edb3e
/src/oauth/views.py
0d4ff02865bfd6df984a996579f06aa674da8969
[ "MIT" ]
permissive
Garinmckayl/researchhub-backend
46a17513c2c9928e51db4b2ce5a5b62df453f066
cd135076d9a3b49a08456f7ca3bb18ff35a78b95
refs/heads/master
2023-06-17T04:37:23.041787
2021-05-18T01:26:46
2021-05-18T01:26:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,766
py
import requests from allauth.socialaccount.helpers import render_authentication_error from allauth.socialaccount.models import SocialLogin, SocialAccount from allauth.socialaccount.providers.base import ProviderException from allauth.socialaccount.providers.google.views import GoogleOAuth2Adapter from allauth.socialac...
[ "lightning.lu7@gmail.com" ]
lightning.lu7@gmail.com
f0c2875cbd5b27f48a6ba0827c633555349a35d8
524c5c868fcd40c538ad2854e434dfc9352d51b4
/harken/main/migrations/0006_auto.py
a394437b8ba9fed675d2104fb75aa305ba7ca1f7
[]
no_license
thraxil/harken
cfd61fa3fe7688a6d5fbdb7e68f6bb4655a52f5b
afa9325d4a30145c64a1091ae1992578b3fac1a5
refs/heads/master
2021-01-02T09:13:43.632259
2013-10-09T02:22:10
2013-10-09T02:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,809
py
# flake8: noqa # -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding index on 'Url', fields ['url'] db.create_index('main_url', ['url']) def backwa...
[ "anders@columbia.edu" ]
anders@columbia.edu
c378ef336f3ba2fad8756b47653591ee96737eb6
f8f8651ab604acc4937f8725caadaca1fb97a5e8
/tests/tests_pytorch/trainer/properties/test_auto_gpu_select.py
05ee9d2ab31704211934d390f9acf61aac580c20
[ "Apache-2.0" ]
permissive
neptune-ai/pytorch-lightning
ac59e746a486e07e21abae426b28e5d72812ac98
702014418e2ec0437e67d8bf97809edef686a02c
refs/heads/master
2022-09-28T09:34:07.653729
2022-09-12T11:13:48
2022-09-12T11:13:48
229,063,811
1
1
Apache-2.0
2022-09-26T03:29:49
2019-12-19T13:48:16
Python
UTF-8
Python
false
false
2,468
py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "noreply@github.com" ]
neptune-ai.noreply@github.com
531f4033e0e345f334c911fe1c4058ac78973f81
be791583545a1f66a7650085d920171d0df040da
/nni/common/blob_utils.py
a573a33e098d9fd92ece8da507d49bd46b58e9e4
[ "MIT" ]
permissive
Lijiaoa/nni
de4f598585d346c17aae1030774eab8346ba6b5e
7bcf1ebd47caf144032825aa078c8d9a51833320
refs/heads/master
2023-06-08T08:00:44.947829
2022-09-14T08:37:09
2022-09-14T08:37:09
242,638,482
1
0
MIT
2020-07-16T08:24:42
2020-02-24T03:30:45
Python
UTF-8
Python
false
false
4,622
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import logging import hashlib import os import shutil import subprocess import tempfile from pathlib import Path from typing import Optional import requests import tqdm __all__ = ['NNI_BLOB', 'load_or_download_file', 'upload_file', 'nni_cache_h...
[ "noreply@github.com" ]
Lijiaoa.noreply@github.com
064c2cb438ac943443e7e9bdc58d191dbe293828
521efcd158f4c69a686ed1c63dd8e4b0b68cc011
/airflow/migrations/versions/90d1635d7b86_increase_pool_name_size_in_taskinstance.py
940840b61d3099947f26133ea14532ff0e407b8a
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
coutureai/RaWorkflowOrchestrator
33fd8e253bfea2f9a82bb122ca79e8cf9dffb003
cd3ea2579dff7bbab0d6235fcdeba2bb9edfc01f
refs/heads/main
2022-10-01T06:24:18.560652
2021-12-29T04:52:56
2021-12-29T04:52:56
184,547,783
5
12
Apache-2.0
2022-11-04T00:02:55
2019-05-02T08:38:38
Python
UTF-8
Python
false
false
1,532
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
coutureai.noreply@github.com
24ec22a923f805098ba9dc1713a88b4cde2c3b22
ed1ec951e77f5274abf49247cd5469d4154aad3d
/src/noobit/models/data/websockets/stream/parse/kraken/user_trade.py
59061186902424ee039968e0651f67aed953113d
[]
no_license
webclinic017/noobit-backend
c7356d019cd5ddcc5c7e99592b609d66f309b6f3
dce2a18a694ccd53f71fe1a89635340db553634a
refs/heads/master
2023-05-31T01:57:58.165155
2020-06-28T14:28:45
2020-06-28T14:28:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,888
py
from decimal import Decimal from noobit.logger.structlogger import get_logger, log_exception logger = get_logger(__name__) def parse_user_trade(message): try: parsed_trades = [ parse_single_trade(key, value) for trade_dict in message[0] for key, value in trade_dict.items() ] ...
[ "maximousse@protonmail.com" ]
maximousse@protonmail.com
ef5f2b8ab42034e5fa29349df547910f012b6e84
ac379c1d7c99d73c9a13ef9e35cc169ad67ba748
/zywa_small_helper/hedgehog_spider_test/webdriver/webDriverChrome.py
8dd14c88d731db135deda5dcc0ad28c64519bfcd
[]
no_license
hedgehogBoby/beyebe-spider-hedgehogBoby
70c6b4b90e64535d41e357d1484bdc50bc25986c
80ca0a1f68e9ba14d432ea52a89dec56c35fd945
refs/heads/master
2020-03-28T15:43:51.289892
2018-09-13T10:22:48
2018-09-13T10:22:49
148,620,530
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
import platform from selenium import webdriver from selenium.webdriver.chrome.options import Options print(1) chrome_options = Options() chrome_options.add_argument('--headless') chrome_options.add_argument('--disable-gpu') print(2) chrome_options.binary_location = '/opt/google/chrome/chrome' if 'Linux' in platform.s...
[ "gudandezhupi@163.com" ]
gudandezhupi@163.com
6478559a25ca4383fc457c5f245eef762bc4bb44
2f330fc050de11676ab46b963b7878882e9b6614
/memsource_cli/models/buyer_reference.py
29f197b77cca9453136d8feaa9ef2972c40a86d0
[ "Apache-2.0" ]
permissive
zerodayz/memsource-cli-client
609f48c18a2b6daaa639d4cb8a61da43763b5143
c2574f1467539a49e6637c874e88d75c7ef789b3
refs/heads/master
2020-08-01T12:43:06.497982
2019-09-30T11:14:13
2019-09-30T11:14:13
210,999,654
1
0
null
null
null
null
UTF-8
Python
false
false
3,892
py
# coding: utf-8 """ Memsource REST API Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis...
[ "cerninr@gmail.com" ]
cerninr@gmail.com
56cc7b1930143b04de247c1a7f0734972191e211
8f0f1b818fbbc96d22cbd24e9e8c439c46e0a891
/application/__init__.py
e0b9bf2a2b08fa6b95a4e2113bdd4e1baa7447dc
[ "MIT" ]
permissive
bernieyangmh/personal_flask_web
4974dba7cd48dcddfa087920d188be4ff1cd93c6
a81ebb56141646c21a2f22d7f8c41b2f5c48fb28
refs/heads/master
2021-01-13T01:08:56.881416
2017-02-12T14:13:32
2017-02-12T14:13:32
81,467,698
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
# -*- coding:utf-8 -*- """ 工厂函数创建实例 """ from flask import Flask from flask_bootstrap import Bootstrap from flask_mail import Mail from flask_moment import Moment from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager from config import config from flask_pagedown import PageDown bootstrap = Boots...
[ "berniey@163.com" ]
berniey@163.com
15df86a3f084856afa2ca5bb296880cf44ca2995
bf902add6952d7f7decdb2296bb136eea55bf441
/YOLO/pytorch-yolo-v3/color_conversion.py
dd32637f5c553c8524e5febe54e6636e5f1bd464
[ "MIT" ]
permissive
jphacks/D_2003
c78fb2b4d05739dbd60eb9224845eb78579afa6f
60a5684d549862e85bdf758069518702d9925a48
refs/heads/master
2023-01-08T16:17:54.977088
2020-11-07T06:41:33
2020-11-07T06:41:33
304,576,949
1
4
null
null
null
null
UTF-8
Python
false
false
410
py
import numpy as np import imutils import cv2 img_rgb = cv2.imread('images/phase_2.jpg') Conv_hsv_Gray = cv2.cvtColor(img_rgb, cv2.COLOR_BGR2GRAY) ret, mask = cv2.threshold(Conv_hsv_Gray, 0, 255,cv2.THRESH_BINARY_INV |cv2.THRESH_OTSU) #img_rgb.Set(mask,cv2.Scalar(0,0,255)) img_rgb[mask == 255] = [0, 0, ...
[ "73480314+ryo-jpg@users.noreply.github.com" ]
73480314+ryo-jpg@users.noreply.github.com
d81125c51147909fd7d6c26104b06bf8bab0998d
dbaf0da3cd586223549f3d9d2b340b5fb033ee32
/webscaff/fabric/django/manage.py
a0617a0fc692b52ab3a54bbfe36d9721677b3dd0
[ "BSD-3-Clause" ]
permissive
idlesign/webscaff_legacy
7393339f267c04a1a8ebf71d8ef64bcc9d00cdaa
198395a00c9e0908657c86e2568a385cbc6fcb13
refs/heads/master
2022-02-10T00:15:42.670376
2019-09-29T06:06:00
2019-09-29T06:06:00
60,078,315
1
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
from os import path from fabric.api import task, get, put, cd, sudo, run, env from ..settings import PROJECT_NAME, PATH_TEMP, PATH_REMOTE_PROJECT, WEBSERVER_USER from ..sys.fs import rm, gzip_dir from ..sys.venv import venv __all__ = [ 'manage', 'migrate', 'create_superuser', 'loaddata', 'dumpdata'] @task def ...
[ "idlesign@yandex.ru" ]
idlesign@yandex.ru
3eb8f1cff8551b97398fd0ace53363c1450f6988
c0bf1f7ca6d9d7562f72b4a668e97a2d5ffe7c88
/tests/extension/thread_/ram_own_mutex/test_thread_ram_own_mutex.py
25be2cff856972c09492bd956c0ddee16ec62329
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
00mjk/veriloggen
cee0da16182c3c9bd95340a966d6a3febc0e7ad1
9d0af9638470b3b85cbf9cb53f16b853932571c8
refs/heads/master
2023-06-23T07:10:20.645734
2021-07-18T14:53:13
2021-07-18T14:53:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
from __future__ import absolute_import from __future__ import print_function import os import veriloggen import thread_ram_own_mutex def test(request): veriloggen.reset() simtype = request.config.getoption('--sim') rslt = thread_ram_own_mutex.run(filename=None, simtype=simtype, ...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
d2b267354fb7d3ecea80b8d8aaf283094a5eea1d
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/sum-of-multiples/4a078c78515048059407277d4bcd2837.py
d24032f025a3de85cc16cc1e0b828606b18b0502
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
243
py
def sum_of_multiples(input_number, factors=[3, 5]): multiples = [] for factor in factors: for i in range(1,input_number): if factor*i < input_number and factor*i not in multiples: multiples.append(factor*i) return sum(multiples)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
8acda23489d833757e7a379fc21072b8f6c8ffa7
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/iam_read_1/service-linked-role-deletion-status_get.py
a78bd601a53ba794c8c6912e81f633d8ba458cc7
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import execute_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/get-service-linked-role-deletion-status.h...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
1b72db3cc81c25b23b3b426a83e470b972461cb3
3f49317642d480177851f39363049cdca8acdac0
/isy_homie/devices/scene.py
d8a0d18f17391dfb07d3abe7e2e6ae55f536a380
[ "MIT" ]
permissive
berndpfrommer/ISY-Homie-Bridge
8eb5f22c221266a1a57a8e81524bb6f66fec2a4e
2bb952e5bfc07cb85e961654963c2f4e5e962aec
refs/heads/master
2020-09-22T03:53:54.995440
2019-10-26T21:08:07
2019-10-26T21:08:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
#! /usr/bin/env python from homie.device_switch import Device_Switch from .base import Base class Scene(Base,Device_Switch): def __init__(self, isy_device=None,homie_settings=None, mqtt_settings=None): Base.__init__ (self,isy_device) Device_Switch.__init__ (self,self.get_homie_device_id(), is...
[ "mike@4831.com" ]
mike@4831.com
ca0f8c2d41b898ee78a32592b31a1f84ff4ea730
693cd83d5e17602948f99a337101d18d53d24e6d
/ojoalplato/cards/migrations/0013_restaurant_chef.py
c8a565413500f160dceab691ccbf9817506e9859
[ "MIT" ]
permissive
javipalanca/ojoalplato
ba64e9584dc61df0687cffdaeb9a104301368f8d
7c113c69d324de8d07437043ad24fef2bb811746
refs/heads/master
2023-08-10T19:03:53.243183
2023-07-30T12:10:29
2023-07-30T12:10:29
65,632,242
1
0
MIT
2022-04-23T17:38:39
2016-08-13T18:53:56
HTML
UTF-8
Python
false
false
498
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2017-06-01 08:02 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cards', '0012_auto_20170521_1100'), ] operations = [ migrations.AddField( ...
[ "jpalanca@dsic.upv.es" ]
jpalanca@dsic.upv.es
1a7b9f63614498689c91bc73891baca781c49613
59b3dce3c770e70b2406cc1dd623a2b1f68b8394
/python_3/lessons/Timing_Computations/src/making_time.py
e9649ec374c51168ef353df8cdbeaff4862d8aba
[]
no_license
patrickbeeson/python-classes
04ed7b54fc4e1152a191eeb35d42adc214b08e39
b5041e71badd1ca2c013828e3b2910fb02e9728f
refs/heads/master
2020-05-20T07:17:36.693960
2015-01-23T14:41:46
2015-01-23T14:41:46
29,736,517
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from datetime import datetime print(datetime(2012, 10, 31)) print(datetime(2012, 10, 31, 12)) print(datetime(2012, 10, 31, 12, 30)) print(datetime(2012, 10, 31, 12, 30, 59)) print(datetime(2012, 10, 31, 12, 30, 59, 300))
[ "patrickbeeson@gmail.com" ]
patrickbeeson@gmail.com
95fbf3163070ee737bfd8c23a5d508ff369443cb
88509a8ce62a22acc0639c683900d5d0cb8d69e7
/Day24/drf/app/migrations/0001_initial.py
558d7426e6d9be2dc2abe566a3c6dfd070ee5e0a
[]
no_license
pytutorial/py2104
8b0238ab6f6d2f5395aee5fbe1f4aff03b819cd3
48b36d6b1f40730ef2747c310e70fb6997eda388
refs/heads/main
2023-09-03T16:55:02.285158
2021-10-20T05:24:31
2021-10-20T05:24:31
391,613,464
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
# Generated by Django 3.2 on 2021-08-15 13:03 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Customer', fields=[ ('id', models.BigAutoFiel...
[ "duongthanhtungvn01@gmail.com" ]
duongthanhtungvn01@gmail.com
b5f93ca3c54f809b97ef732aca1b4215a9a555fc
43053ad1bde204277ac07e353c74976f2914bcab
/vedacore/hooks/optimizer.py
b882d104239162cfb48f87849fc847ad4dda8d45
[ "Apache-2.0" ]
permissive
YuxinZou/vedadet
8410ce29fe2460953b85950fc2d86c96c555d009
5f9574c20e04f9555615b01288ec0c52a439f858
refs/heads/main
2023-04-15T11:32:31.838837
2021-04-30T02:29:06
2021-04-30T02:29:06
362,363,711
1
0
Apache-2.0
2021-04-28T06:36:59
2021-04-28T06:36:58
null
UTF-8
Python
false
false
963
py
from torch.nn.utils import clip_grad from vedacore.misc import registry from .base_hook import BaseHook @registry.register_module('hook') class OptimizerHook(BaseHook): def __init__(self, grad_clip=None): self.grad_clip = grad_clip def clip_grads(self, params): params = list( fi...
[ "xyc_sjtu@163.com" ]
xyc_sjtu@163.com
f2522bb45dbcf9aa28663c418165fa1a5909128e
197ce142bf8dbe50e0a61ae31e1f88395538b4bc
/demos/playlists/manage.py
bc94f48d6211572c7308cd95f19937317762ca84
[]
no_license
PdxCodeGuild/Full-Stack-Day-Class
1e712ab9dd8e7b804b3c571fa55640e5173d099f
1c77e724b3f11a97998972f5a1f65593257e1c99
refs/heads/master
2021-05-03T17:13:32.767176
2016-10-14T21:54:17
2016-10-14T21:54:17
54,865,362
7
11
null
2016-06-23T02:46:58
2016-03-28T04:28:13
Python
UTF-8
Python
false
false
807
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "playlists.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that th...
[ "selassid@gmail.com" ]
selassid@gmail.com
aebb5847080196bc6bbefd6734ed685249cf02e3
8205128a5a3564a826b4ae432f082a9ed4134316
/algo/bfs/_0694_NumberOfDistinctIslands.py
95720132ba0323b9610816c788f61652bb101389
[]
no_license
ianlai/Note-Python
507094bda9fefa0fe2f45a629076c679178a2c74
ca95110b77152258573b6f1d43e39a316cdcb459
refs/heads/master
2023-03-19T03:26:35.532874
2021-03-10T16:10:51
2021-03-10T16:10:51
68,308,972
0
0
null
null
null
null
UTF-8
Python
false
false
5,019
py
class Solution: # DFS (ref) [O(n), 55%] def numDistinctIslands(self, grid): seen = set() def explore(r, c, r0, c0): if (0 <= r < len(grid) and 0 <= c < len(grid[0]) and grid[r][c] and (r, c) not in seen): seen.add((r, c)) shape...
[ "ian.explore.world@gmail.com" ]
ian.explore.world@gmail.com
94e3aae0898b27a39a0df4857a7462019f48a5d8
c7428d2195d1f622b1ed0d78ba90b36254c41b0c
/photonpump/__init__.py
855808653a3384e6d2f4b401f3f42ea940bec5fd
[ "MIT" ]
permissive
bopopescu/photon-pump
fe785748e5a4993b0cba6d6e9cca1385a324e1d9
6aa6b293d328ec5b94790907dbb8775fffeefa34
refs/heads/master
2022-11-22T00:43:14.900419
2020-07-14T16:09:07
2020-07-14T16:09:07
281,020,229
0
0
MIT
2020-07-20T05:16:21
2020-07-20T05:16:21
null
UTF-8
Python
false
false
1,165
py
import logging from .connection import * # noqa from .exceptions import * # noqa from .messages import * # noqa INSANE_LEVEL_NUM = 5 TRACE_LEVEL_NUM = 9 logging.addLevelName(TRACE_LEVEL_NUM, "TRACE") logging.addLevelName(INSANE_LEVEL_NUM, "INSANE") def trace(self, message, *args, **kws): if self.isEnabledFor...
[ "noreply@github.com" ]
bopopescu.noreply@github.com
71e3d09ac8d81888e81be179a0182647e6460ccf
87537b8a74584249b6bed8bddd86990fc4032d6c
/aaa/aaa/settings.py
a38b2677853c782b2fb50645f6ae50cadd48b66d
[]
no_license
hireach/pythonPra
8a09de5002b321a1da863c939bf7aa4ee5e7ed4e
ba0ca9d4d7f1e0ecf62f4b073aee07c42ac6ab9a
refs/heads/master
2023-03-18T20:15:39.608481
2019-06-03T02:36:52
2019-06-03T02:36:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,098
py
# -*- coding: utf-8 -*- # Scrapy settings for aaa project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/latest/top...
[ "954316227@qq.com" ]
954316227@qq.com
91c03e66e96a9275e81e0fbec9cf219e85977ad3
6db867a41fa9074216ac99375b988359cb1bcaab
/python/GafferUI/DocumentationAlgo.py
f32bca212a95b3c825132e027642e52030064f40
[ "BSD-3-Clause" ]
permissive
tjahnke/gaffer
a1bafe3113751b3933a915d403959cbad58a128f
521717023c9e019b769a6dd17bb03a65bcc09278
refs/heads/master
2020-12-28T23:05:10.923877
2016-05-09T18:29:20
2016-05-09T18:29:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,557
py
########################################################################## # # Copyright (c) 2016, John Haddon. All rights reserved. # Copyright (c) 2016, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that ...
[ "thehaddonyoof@gmail.com" ]
thehaddonyoof@gmail.com
e9f928d19609fad6fe006da1c7836b1886e4c1f4
31de5296dea4dfc760e9824f43a17c458dea8085
/src/训练神经网络/小批量学习.py
cd2d44493cd640c95e0cf1d834c08e24cd940842
[]
no_license
geekori/tensorflow_train
e7a2910e7c86031360c69aff9082b8cfa254eae1
3f9146d7de16bd3d127d54151f4c3f3cfa49b87e
refs/heads/master
2020-05-21T16:50:05.913899
2019-10-05T00:47:26
2019-10-05T00:47:26
186,110,987
1
2
null
null
null
null
UTF-8
Python
false
false
2,024
py
import numpy as np from dataset.mnist import load_mnist (x_train,t_train),(x_test,t_test) = load_mnist(normalize=True,one_hot_label=True) print(x_train.shape) print(t_train.shape) batch_size = 1000 train_size = x_train.shape[0] batch_mask = np.random.choice(train_size,batch_size) print(batch_mask) x_batch = x_train[...
[ "helloworld@126.com" ]
helloworld@126.com
9d1cc4bc9415aeae589368df0b2b5ed20adf47d1
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Python_Scripting_for_Computational_Science_Third_Edition/py/examples/pde/wave1D_class.py
1f3753b529796590e82c3d1937da909d94f65032
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
11,037
py
#!/usr/bin/env python """ Classes for solving a 1D wave equation. """ from __future__ import division # disable integer division from scitools.numpyutils import * from CurveViz import graph import sys from scitools.PrmDictBase import PrmDictBase class WaveEq1(PrmDictBase): def __init__(self, **kwargs): P...
[ "bb@b.om" ]
bb@b.om
6d46c345f0e41765b15c301ba7352e606513b528
090a4e026addc9e78ed6118f09fd0d7d4d517857
/graph_objs/funnel/hoverlabel/_font.py
77dd651878f6d179d1bda76a7086414fcea21c58
[ "MIT" ]
permissive
wwwidonja/new_plotly
0777365e53ea7d4b661880f1aa7859de19ed9b9a
1bda35a438539a97c84a3ab3952e95e8848467bd
refs/heads/master
2023-06-04T19:09:18.993538
2021-06-10T18:33:28
2021-06-10T18:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,232
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Font(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "funnel.hoverlabel" _path_str = "funnel.hoverlabel.font" _valid_props = {"color", "colorsrc", "...
[ "wwwidonja@gmail.com" ]
wwwidonja@gmail.com
721e9e9c897e47f1897b2dab08e92d0a75acb194
95884a6b32f6831e68c95d7785bc968a56877121
/cifar_imagenet/.ipynb_checkpoints/cifar_momentum_4plot-checkpoint.py
fca99f8889f677f956cb9e8f65f0e801a7e6f5bf
[ "MIT", "Apache-2.0" ]
permissive
minhtannguyen/RAdam
d89c4c6ce1ce0dd95b0be3aa2c20e70ea62da8b0
44f403288df375bae0785cc82dd8c888eaaaa441
refs/heads/master
2020-08-09T07:53:50.601789
2020-02-17T06:17:05
2020-02-17T06:17:05
214,041,479
0
0
Apache-2.0
2019-10-09T23:11:14
2019-10-09T23:11:14
null
UTF-8
Python
false
false
23,735
py
''' Training script for CIFAR-10/100 Copyright (c) Wei YANG, 2017 ''' from __future__ import print_function import argparse import os import shutil import time import random import fcntl import torch import torch.nn as nn import torch.nn.parallel import torch.backends.cudnn as cudnn import torch.optim as optim impor...
[ "mn15@rice.edu" ]
mn15@rice.edu
01f8ffc2b45eae71740a0d3b38b0f196bad3fc12
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/Scaleform/daapi/view/meta/FalloutRespawnViewMeta.py
095ad3948a7710b4c6177c05e661e723955bef03
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
1,746
py
# 2017.08.29 21:48:12 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/FalloutRespawnViewMeta.py from gui.Scaleform.framework.entities.BaseDAAPIComponent import BaseDAAPIComponent class FalloutRespawnViewMeta(BaseDAAPIComponent): def onVehicleSelected(self, vehicleID):...
[ "info@webium.sk" ]
info@webium.sk
62bc8e597fe70121e5a1403fe4152e66d846c8d6
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2210/60632/262384.py
09d9fc2b281abefbbb49c077fb24476f281ec7c5
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
656
py
t = int(input()) result = ['-1'] * t for i in range(t): s = list(input()) # 字符串 x = list(input()) # 文本 for j in range(len(x), len(s)): find = True for k in range(0, len(s)-j+1): find = True window = s[k:k+j] for char in x: if char not in ...
[ "1069583789@qq.com" ]
1069583789@qq.com
1d78079dd68898508233ad8fca2e2a9de3d51bca
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02699/s108032049.py
c99491a592d14f92f495c6c1e6425390dd3ed555
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
#MLE注意!0や1のケースに注意 def main(): import sys input = sys.stdin.readline sys.setrecursionlimit(10**7) from collections import Counter, deque #from collections import defaultdict from itertools import combinations, permutations, accumulate, groupby, product from bisect import bisect_left,bisect_r...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f550e0a031b8ab89dc87571ac522b083130e8087
93edaa828f1cb4703221a0c8a683863312d796ed
/phedex-site-mon/webapp/units.py
415b69690c12b0b3650cf05c43657a28df7ce60d
[ "Apache-2.0" ]
permissive
uobdic/dice-docker-archive
19ede61c4d073b633a4774d882c5d3b9f0c9634b
2204403c8ef198151e1c265cf2954e4e9c8db1ae
refs/heads/master
2023-01-09T14:32:16.295085
2019-05-16T13:29:34
2019-05-16T13:30:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
from __future__ import unicode_literals import math SIEXPONENTS = range(24, 2, -3) + range(2, 0, -1) SIEXPONENTS += [0] + [-x for x in SIEXPONENTS[::-1]] SIPREFIXES = ( "Y", "Z", "E", "P", "T", "G", "M", "k", "h", "da", "", "d", "c", "m", "0xCE", "n", "p", "f", "a", "z", "y" ) SIUNITS = zip(SIEXPONENTS, SI...
[ "lkreczko@googlemail.com" ]
lkreczko@googlemail.com
9b040656215df6cb2cbaf61cef06d3229cf5ec37
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/kombu/transport/django/management/commands/clean_kombu_messages.py
c82ba9f7d5c59e698be39989c9aa8fe574e65d9a
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
564
py
from __future__ import absolute_import from django.core.management.base import BaseCommand def pluralize(desc, value): if value > 1: return desc + 's' return desc class Command(BaseCommand): requires_model_validation = True def handle(self, *args, **options): from kombu.transport.d...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
1a3c2aa18026b98259d88ea9719c906a34489c71
a6ed990fa4326c625a2a02f0c02eedf758ad8c7b
/meraki/sdk/python/createNetworkSwitchSwitchStackRoutingInterface.py
0ce2a4ccb652e314b6b798bef63f87ed69ad35de
[]
no_license
StevenKitavi/Meraki-Dashboard-API-v1-Documentation
cf2352976c6b6c00c17a5f6442cedf0aeed46c22
5ed02a7def29a2ce455a3f2cfa185f76f44789f5
refs/heads/main
2023-03-02T08:49:34.846055
2021-02-05T10:31:25
2021-02-05T10:31:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
import meraki # Defining your API key as a variable in source code is not recommended API_KEY = '6bec40cf957de430a6f1f2baa056b99a4fac9ea0' # Instead, use an environment variable as shown under the Usage section # @ https://github.com/meraki/dashboard-api-python/ dashboard = meraki.DashboardAPI(API_KEY) network_id = ...
[ "shiychen@cisco.com" ]
shiychen@cisco.com
fe45adc398e18f98dd4f88d0ec538a32c534e6ac
150a8c8c11ad8bdab7ce7da697086f9ca4ef92f6
/tmi/queue.py
d4b91e4ff39695113e44ef9bf2c51d7cc03f5ca9
[]
no_license
jacqui/tmi
ff1fba928146766fab8171e6bcf070626cbe1c09
69b7f9954b95bd1d745dea053c73874bff5756e1
refs/heads/master
2021-01-15T13:49:46.870716
2014-12-10T21:03:57
2014-12-10T21:03:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
import logging from tmi.core import celery as app from tmi.extract import extract_entities from tmi.model import Card, Link, db from tmi import spiders log = logging.getLogger(__name__) @app.task def extract(card_id): parent = Card.by_id(card_id) log.info('Extracting entities from "%s"...', parent.title) ...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
a9e20eba9395ca0cfecd1ff59e9b4165ca666c2d
1779f1d096d4af6d3112e39ad36c63ff4b04ae00
/rl/regression/real_env_param_regression.py
8a0503120716b0a63c2503186e097f693e21aa1f
[]
no_license
10erick-cpu/RL_Mixing_Colours
eb753f7b6b309cf54fe41f74f993dfada83d7867
a11756d6988422929a452dc1e19ccf6b051f0832
refs/heads/master
2023-07-27T22:38:34.299006
2021-09-09T16:16:33
2021-09-09T16:16:33
398,141,652
0
0
null
null
null
null
UTF-8
Python
false
false
11,878
py
import pickle import gym import matplotlib.pyplot as plt import numpy as np import pandas as pd import torch from torch.nn import L1Loss from torch.nn.modules.loss import SmoothL1Loss from torch.utils.data import SubsetRandomSampler from torch.utils.data.dataloader import DataLoader from torch.utils.data.dataset impor...
[ "leonelerick59@gmail.com" ]
leonelerick59@gmail.com
c2882fa6e360452f18003f9dea86934a2ba24dcb
2dd560dc468af0af4ca44cb4cd37a0b807357063
/Leetcode/965. Univalued Binary Tree/solution1.py
4caa4322603d9b8828b1def4128035ab9c878c5c
[ "MIT" ]
permissive
hi0t/Outtalent
460fe4a73788437ba6ce9ef1501291035c8ff1e8
8a10b23335d8e9f080e5c39715b38bcc2916ff00
refs/heads/master
2023-02-26T21:16:56.741589
2021-02-05T13:36:50
2021-02-05T13:36:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def isUnivalTree(self, root: TreeNode) -> bool: if not root: return False val = root.val ...
[ "info@crazysquirrel.ru" ]
info@crazysquirrel.ru
9dbc024335b29aecb20459b8b93a569645e35443
d32c0f5a81e2c0f32289edef261ca5171282db7b
/questions/string/num_anagram_substring_pairs.py
b30869595436f00dcfe85c0ecabafaaf36fec587
[]
no_license
mpettersson/PythonReview
5a9c863a298855d4949fb06c52e31c8a114736c3
14be619208dfffeafcab1a6ba5c3ff0b1e31c0b5
refs/heads/master
2022-03-05T00:18:42.397061
2022-02-19T15:15:35
2022-02-19T15:15:35
233,277,588
0
0
null
null
null
null
UTF-8
Python
false
false
5,296
py
""" NUM PALINDROME SUBSTRING PAIRS (hackerrank.com/challenges/sherlock-and-anagrams/problem) Write a function, which accepts a string s, then finds the number of pairs of substrings in s that are anagrams of each other. Two strings are anagrams of each other if the characters of one string can be rear...
[ "matt@mpettersson.com" ]
matt@mpettersson.com
3f030af4d39ca347e0f9e0c4705b9c30661f1009
2310666ca3de8c5e41b1fb7268632015b0658dde
/leetcode/0717_1_bit_and_2_bit_characters.py
d2fb11015896bdf694bb7328d35b8c989c291c94
[ "BSD-2-Clause" ]
permissive
chaosWsF/Python-Practice
72196aa65a76dd27e1663e50502954dc07f4cad6
49a0b03c55d8a702785888d473ef96539265ce9c
refs/heads/master
2022-08-16T13:04:41.137001
2022-08-16T06:17:01
2022-08-16T06:17:01
144,381,839
1
0
null
2021-09-16T03:58:32
2018-08-11T12:02:19
Python
UTF-8
Python
false
false
1,009
py
""" We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 11). Now given a string represented by several bits. Return whether the last character must be a one-bit character or not. The given string will always end with a zero. ...
[ "25746440+chaosWsF@users.noreply.github.com" ]
25746440+chaosWsF@users.noreply.github.com
24f91f42a2b4b207a02a3465a55e27d169f2f2da
527fd39d3a1555800c2c32025fdd15fd86ba6672
/String/find/replace.py
85d92c3a28df34bb4521b76a7a1f79154688cc32
[]
no_license
rohanwarange/Python-Tutorials
cfd39551f7ff62bd032946976ba3820474e42405
53d8fb226f94d027ae7999f9678697206d37d83a
refs/heads/master
2023-06-18T10:45:36.884324
2021-07-07T17:44:22
2021-07-07T17:44:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
state="india is most beautifil country and i love india" print(state.replace("india","usa")) print(state.find("india"))
[ "rohanwarange24@gmail.com" ]
rohanwarange24@gmail.com
c6f6cc98dc3bbe89e745bd4ed6c6bbdb13a41fc2
e0a51ac08f13f4d3d89ccd770225a9ca0cecb80a
/seucorretor/core/management/commands/notificacao_admin_tempos.py
bd55d657a3ca6f7228dfcc81f0d0afda67f5de9b
[]
no_license
MarcosDihl/corretaza-buscador
8bbc94a81f7414a3cbc4a1b7ce7b841431209b1c
a3579059839f32c585dda05775fa525fdd34121e
refs/heads/master
2022-04-04T03:36:47.360708
2018-01-31T03:05:13
2018-01-31T03:05:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from __future__ import absolute_import import arrow from optparse import make_option from django.core.management.base import BaseCommand from django.db import models from django.db.models import F from django.conf import settings from magicemailtemplate...
[ "huogerac@gmail.com" ]
huogerac@gmail.com
5af595df4da96d072b176410f1a26ac9d474de65
b937687c03c114dd1a34d8264dc8fab757511b69
/myvenv/bin/easy_install
804a8a3b71bb4ca3a4fd86f8f8cb5cff2d0adb5c
[]
no_license
8th-caulion/kiwonkim
e096371a6c0ff9beebd21193d9fd7d97188193c5
298665ce6642715b224f10c344c64d05f150b67a
refs/heads/master
2021-06-12T19:35:21.403740
2020-05-11T18:08:45
2020-05-11T18:08:45
254,382,203
0
0
null
null
null
null
UTF-8
Python
false
false
267
#!/Users/kiwonkim/Desktop/meotsa8/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rldnjs9347@gmail.com" ]
rldnjs9347@gmail.com
e1214d26ffb91f6351be9c7cc1b603ff1ed15034
d9df9a8eb2769c843e95ca2653a916144aebf737
/pose_detection/alphapose_pickles.py
4428ecee8f10a58fcc72121f04f7856e4a404e4c
[]
no_license
threatclassification/wacv2020
3fc75c05cb1b5e1887dba4f5b9f8a193b3ceb060
679c7e9a8bb49d74ff67b13f12a18dafc0babf8a
refs/heads/master
2020-06-23T19:53:59.226671
2019-08-13T00:06:17
2019-08-13T00:06:17
198,733,622
0
0
null
null
null
null
UTF-8
Python
false
false
18,861
py
import sys import numpy as np import cv2 import os # for testing paths from os import walk # for listing contents of a directory from shutil import copyfile # for copying duplicates to folder (for now) from shutil import move # for moving duplicates to folder (eventually) import random import yaml import json import pi...
[ "you@example.com" ]
you@example.com
a8be1af05c952e8467434ae73a47863decaadd8c
376b21ffce4d28be7a6be4033b08dcfad6d90394
/quizoo/quizoo/urls.py
e4096b197b61107e9eb7900dee010f8f579c6203
[]
no_license
kushstrong13/Quizoo
4734eda044c065800bd93672ffac3d4f02c519d6
e729e4809ea93cdd89c0afa8ecf1dbf208b5930e
refs/heads/master
2022-12-19T20:19:28.989985
2020-09-26T22:52:48
2020-09-26T22:52:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
"""quizoo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "nk28agra@gmail.com" ]
nk28agra@gmail.com
5fffe6e638b166a036ffeb5b126e8f6d688499a2
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/xlsxwriter/test/workbook/test_write_defined_names.py
7a412a9da700a91a4f06dbbea1246a09a3a0fb7d
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
2,581
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ...workbook import Workbook class TestWriteDefinedNames(unittest.TestCase): """ ...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
8e0dcd4d598a7f4222b8f0fdc82265964b6d5685
5075e6671fb2798c1e27ce5950d462218dce51fb
/pychromecast/discovery.py
f7b4cab348cb2e86ac4bba7636c1f28a6b0841a8
[ "MIT" ]
permissive
Akarius/pychromecast
256116eab4af97dacb5a1261d31f32ee34b710c8
9caff9c56bc8ebdc8a2185db9025a7faba43b802
refs/heads/master
2021-01-15T11:49:58.991200
2015-01-07T04:20:24
2015-01-07T04:20:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,320
py
import time from zeroconf import ServiceBrowser, Zeroconf DISCOVER_TIMEOUT = 5 class CastListener(object): def __init__(self): self.services = {} @property def count(self): return len(self.services) @property def devices(self): return list(self.services.values()) d...
[ "paulus@paulusschoutsen.nl" ]
paulus@paulusschoutsen.nl
e086b6745ebd5136cebfe45aa5990f52fca2abce
fffb732290af97687ea3221ce4a6ce4d95640aff
/courses/w16/source_xycar/test/topic_sub.py
629ccd064216b658bf8a8bebbf7663f19ddcc485
[]
no_license
NamWoo/self_driving_car
851de73ae909639e03756eea4d49ab663447fc19
cd5c1142c9e543e607ca9dc258f689de6879d207
refs/heads/master
2021-07-24T19:51:54.459485
2021-07-06T13:58:19
2021-07-06T13:58:19
186,267,543
9
7
null
null
null
null
UTF-8
Python
false
false
220
py
# !/usr/blin/env python import rospy from std_msgs.msg import String def callback(msg): print msg.data rospy.init_node("topic_sub") sub = rospy.Subscriber("test_string", String, callback) rospy.spin()
[ "pre3ice@gmail.com" ]
pre3ice@gmail.com
92c37dfa71f96b1e3dfe6419a392bc8df9bc3327
84b68b5dc1df9a0d88c38f7f4de3dbe371b08358
/cars/admin.py
ab43514f86131a123252a3690d18789fb6eeb009
[]
no_license
alisamadzadeh46/car
e489c548343096ca9c547c693c5339569f221b4e
057ea3d35cf86d44530683e06c963a54771aa386
refs/heads/main
2023-05-28T10:44:36.574886
2021-06-16T16:58:09
2021-06-16T16:58:09
374,656,937
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
from django.contrib import admin from .models import Cars, Images, Message class CarsImageInline(admin.TabularInline): model = Images extra = 5 @admin.register(Cars) class ProductAdmin(admin.ModelAdmin): list_display = ['car_name', 'state', 'city', 'year', 'cars_image', 'is_featured'] list_filter = ...
[ "alisamadzadeh46@gmail.com" ]
alisamadzadeh46@gmail.com
d9691354cba4160cb52dfb60c66d39af268b08ad
fb63c25920d15f9b48b8e9e604ffbbde99a7aeae
/ttest_2sample_mid.py
fbdcfadfc494d2f1ad88fe11fdd5ebe860173c25
[]
no_license
kellyhennigan/cueexp_scripts
763385c96772867a4875c734732bb32a3b051d1c
7264b0033a9cc83cc362c96cd04d94706728c994
refs/heads/master
2023-07-21T20:35:11.607859
2022-01-10T20:18:12
2022-01-10T20:18:12
55,538,490
1
1
null
2023-07-06T21:16:20
2016-04-05T19:17:21
Python
UTF-8
Python
false
false
3,304
py
#!/usr/bin/python # script to extract some single-subject parameter estimates and perform a simple t-test. # "infiles" are assumed to contain results from fitting a glm to individual subject data. # Infile names should be in the form of: *_in_str, where * is a # specific subject id that will be included in the out...
[ "kelhennigan@gmail.com" ]
kelhennigan@gmail.com
b9c78b5ba65230ad0726c3aa5515cd4486d5aa98
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/Sudoku_II_008_20180622004750.py
bdf6e908b83700753f09ddc8b3caac573a82cfc9
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
7,386
py
from random import randint import copy import solveSudoku def giveHint(emptyS, solvedS): for x in range(0, 9): for y in range(0, 9): if emptyS[x][y] == " ": print("x,y =", x, y) print("emptyS[x][y] = ", emptyS[x][y]) print("solvedS[x][y] = ", so...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
2d929269072cb04c0e6ee86e663ea631698b730b
5b4c803f68e52849a1c1093aac503efc423ad132
/UnPyc/tests/tests/CFG/2/return/return_try+except+else+finally_for_.py
b8372bcd8ceb79ac6ece2a42e4c173c5f8305a30
[]
no_license
Prashant-Jonny/UnPyc
9ce5d63b1e0d2ec19c1faa48d932cc3f71f8599c
4b9d4ab96dfc53a0b4e06972443e1402e9dc034f
refs/heads/master
2021-01-17T12:03:17.314248
2013-02-22T07:22:35
2013-02-22T07:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
def f(): for i in range(3): try: return except: return else: return finally: return
[ "d.v.kornev@gmail.com" ]
d.v.kornev@gmail.com
c18a5a2f5a9d371bc7bc729f78059fa0d484dcc3
9a4a607a57e3a5edc4d7ce11918efedbf3f0fd02
/Working with list/numbers.py
4d1c98a1867ccbdfcfab54d59746eadecefddb5c
[]
no_license
Lossme8/Python_Fundamentals
c559194a630948a99da4f778dbf867c0e85b2f12
b6e5ca8b6e941bd9ac024c62fbd005059d74ee5d
refs/heads/master
2021-01-07T21:07:43.158676
2020-02-20T07:52:10
2020-02-20T07:52:10
241,820,922
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
for value in range(1,6): print(value) numbers = list(range(1,6)) print(numbers)
[ "noreply@github.com" ]
Lossme8.noreply@github.com
021adbcf44b6dcc9d1358a098c00f6e02835171c
a140b45f9f16b74353d15ed573ea765b3fef046d
/algorithms/leet.0144.src.1.py
0ffb2dc4d09a734c9018cc78040e1df7e4c54fbc
[]
no_license
fish-ball/leetcode
258d4b37f05560d914bcd29f7c54820deeadb33f
3dfd8f73c65d43cc2766c20700a619141acb927b
refs/heads/master
2023-05-28T18:32:43.638675
2023-05-20T04:25:23
2023-05-20T04:25:23
31,968,994
1
0
null
null
null
null
UTF-8
Python
false
false
476
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def preorderTraversal(self, root: TreeNode) -> List[int]: def dfs(node): if not node: ...
[ "noreply@github.com" ]
fish-ball.noreply@github.com
6f461007a58d14c09beb3714ff7c4f818ceb7481
0add7953d3e3ce2df9e8265102be39b758579753
/built-in/TensorFlow/Official/cv/image_classification/VGG16_for_TensorFlow/00-access/vgg16/model.py
7e177806f5c248b6a6e8efa1c132ffc78857a159
[ "Apache-2.0" ]
permissive
Huawei-Ascend/modelzoo
ae161c0b4e581f8b62c77251e9204d958c4cf6c4
df51ed9c1d6dbde1deef63f2a037a369f8554406
refs/heads/master
2023-04-08T08:17:40.058206
2020-12-07T08:04:57
2020-12-07T08:04:57
319,219,518
1
1
Apache-2.0
2023-03-24T22:22:00
2020-12-07T06:01:32
Python
UTF-8
Python
false
false
2,546
py
import tensorflow as tf from . import vgg class Model(object): def __init__(self, args, data, hyper_param, layers, logger): self.args = args self.data = data self.hyper_param = hyper_param self.layers = layers self.logger = logger def get_estimator_model_func(self, f...
[ "1571856591@qq.com" ]
1571856591@qq.com
634542ac785612e986b2021b0327837ccb593770
9fefb0fcc6f1e32d107ce7a550eb62ce29b9686f
/main.py
083c02defca76d3f7adc8f505921c24887a4a686
[]
no_license
fredshao/violet_server
c4facb386db06b2e80e13ce1784dfce7967eeef8
1aabc37a95a18a578062b43a5f91e412f3911aaa
refs/heads/master
2021-05-16T14:34:27.642684
2018-01-22T03:53:46
2018-01-22T03:53:46
118,403,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
#coding=utf-8 from twisted.internet.protocol import Factory from twisted.protocols.basic import LineReceiver from twisted.internet import reactor class Chat(LineReceiver): def __init__(self, users): self.users = users self.name = None self.state = "GETNAME" def connectionMade(self): ...
[ "=" ]
=
2408db8377f8330138fda871bf6d5a0dec216751
5821e83ccdd97c7d4d472b6d854490950854ba9f
/code/test_pike.py
65483db724d8c1fd50b1800c65c4e3e3f23edb60
[ "CC-BY-4.0" ]
permissive
dhellmann/presentation-regex-implementations
b44b6b0a2ed6304c1c7f63c8702d23f7aa54cdb2
c02b74651876b596201c59b0d35758ef36298081
refs/heads/master
2022-12-15T20:21:24.953111
2019-11-03T20:34:06
2019-11-03T20:34:06
219,158,579
1
0
null
2022-12-11T11:47:57
2019-11-02T13:35:33
CSS
UTF-8
Python
false
false
528
py
#!/usr/bin/env python3 from pike import match def test_simple(): assert match('a', 'aab') assert match('aa', 'aab') assert match('aab', 'aab') assert not match('aac', 'aab') def test_star(): assert match('a*b', 'b') assert match('a*b', 'ab') assert match('a*b', 'aab') assert not mat...
[ "doug@doughellmann.com" ]
doug@doughellmann.com
4ae57dade32ffbe6605ac44b4cdb5270f4661adf
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_20269.py
cb8b401c102168d90a1072717424edb83cf026ea
[]
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
56
py
# jinja2 flask escaping jinja2-highlight item.text|safe
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
334f0d1ea26964025a9fa88f1919abebf86b43c4
b5479a025524c1387d3ba14f4fba7173f1d2df31
/老师の课堂代码/day06/day6_类和对象.py
2d7cd93da744a2521052f13efe0caac8c3aaf325
[]
no_license
liousAlready/NewDream_learning
063f5e225d62eec8285e69bb5ba3bff850096ca3
7b790f675419224bfdbe1542eddc5a638982e68a
refs/heads/master
2023-06-30T08:28:34.949464
2021-08-01T00:42:17
2021-08-01T00:42:17
391,489,851
0
0
null
null
null
null
UTF-8
Python
false
false
2,470
py
''' @File : day6_类和对象.py @Time : 2021/4/21 20:47 @Author: luoman ''' # import lib # 面向对象 --- 编程思路---写代码的思路 ''' 面向过程:C语言,把要实现的功能 按流程一步一步的来实现 比如:美团点个外卖:先要打开美团,选择商家,选择外卖,商家接单,骑手送餐,拿到外卖 面向对象:对象 比如:美团点个外卖:涉及哪些对象,美团软件,商家,骑手,你吃东西 ''' # 面向对象包括三个过程:面向对象分析(OOA)、面向对象设计(OOD)、面向对象编程(OOP)。 ''' 描述对象:属性/特性 操作/方法 把具有相同属性或者方法的对象进行抽象-...
[ "m15574933885@163.com" ]
m15574933885@163.com
4f0e275e1b0145deca80ecd9a1c2c585934d8850
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/chromite/lib/graphite_lib/es_utils.py
b49ef7b3fa33cab7a370b9bea156b7e1bd395522
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT" ]
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
14,113
py
# Copyright 2015 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # This file defines helper functions for putting entries into elasticsearch. """Utils for sending metadata to elasticsearch Elasticsearch is a key-value...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
d813351ec12813f0282f17076f58f1efb940ed35
5209fb96942c71b3e6a5514ffdb917cca4141459
/scherzo/scherzo/settings.py
c6f538c5621aa06e8669809d9435efdb0b1d4cc2
[ "Apache-2.0" ]
permissive
asimonia/NSS-BackendCapstone
f356041d9d4dce191ce2c71c30d3d5d56f209db4
8649a8ef697b3278ae2ebba6352ab709a359781d
refs/heads/master
2021-01-22T20:49:15.624082
2017-03-23T20:22:49
2017-03-23T20:22:49
85,361,815
0
0
null
null
null
null
UTF-8
Python
false
false
2,792
py
import os from django.core.urlresolvers import reverse_lazy BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = 'gvo4ku5ycm+w3z)f*(!1dnju0lq!d1d)47d)9#guh))1zm#n9w' DEBUG = True ALLOWED_HOSTS = [] # Application definition INSTALLED_APPS = ( 'django.contrib.admin', 'djang...
[ "alex.simonian@gmail.com" ]
alex.simonian@gmail.com
d975c2d7b5f8553d849e043fcb853fd2f787a8c5
91c74abb387b5b755e04d18dac407e1ed6c85365
/action-im_leaving.py
754864f69f0510462257c5a0ebe96164f8b9e607
[]
no_license
LLUWE19/im-leaving
01973432e24dc736d1907fe29a5b9ff1d7d1bd78
dc46d17764b6514951782456add7b95cf1dfa38f
refs/heads/master
2020-07-18T00:26:42.003965
2019-09-04T14:24:11
2019-09-04T14:24:11
206,133,732
0
0
null
null
null
null
UTF-8
Python
false
false
5,208
py
#!/usr/bin/env python2 # -*-: coding utf-8 -*- from hermes_python.hermes import Hermes import requests as rq import ConfigParser import json import io CONFIGURATION_ENCODING_FORMAT = "utf-8" CONFIGURATION_INI = "config.ini" MQTT_IP_ADDR = "192.168.0.136" MQTT_PORT = 1883 MQTT_ADDR = "{}:{}".format(MQTT_IP_ADDR, str(...
[ "you@example.com" ]
you@example.com
39d6236212b554fb56a6b88e88ead4152dff0406
b7a2970cf8c1249f75e23018cefd16a042e79e25
/admin.py
8f21443c6065ad3ac65d46ecd7663fb7ec2da0bf
[]
no_license
mayank2498/Inventory_module
ce9460e8f5f6f4ec96c20f5d293252e6e79259c3
5fc9f6aa5bc717e4104937d23141df2f611a5d3a
refs/heads/master
2021-08-15T20:02:42.275700
2017-11-18T06:37:36
2017-11-18T06:37:36
111,182,836
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
from django.contrib import admin from .models import * # Register your models here. class StockAdmin(admin.ModelAdmin): list_display = ["product_name","units","measured_unit",'id','product_id'] # fields=["id","name","price","discounted_price","unit","size"] # fields=["category_name","sub_category_name","im...
[ "mayankchaurasia.bsp@gmail.com" ]
mayankchaurasia.bsp@gmail.com
40e89dc81067b67ad106dba8813916671c97b17a
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/msData/datatypes/Facets/unsignedInt/unsignedInt_minInclusive004.py
ebc27c83a3ee61a7753a5b40dde9d0d1e3174854
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
159
py
from output.models.ms_data.datatypes.facets.unsigned_int.unsigned_int_min_inclusive004_xsd.unsigned_int_min_inclusive004 import Test obj = Test( foo=5 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
75d77052d4e266e1181898479feb3d016f71316e
44b3d66dce1b8b87ed7a20b9f2a57d5c40a6c010
/enso/platform/linux/input.py
de8c16e9c98ad61f94cc9e448832eb4c1e191a58
[ "BSD-2-Clause" ]
permissive
blackdaemon/enso-launcher-continued
0b203567c9670d5a6fa95b546d7edf64953ee94c
346f82811e77caf73560619cdeb16afabfbf1fce
refs/heads/master
2020-06-03T16:29:31.579370
2019-05-22T22:39:32
2019-05-22T22:39:32
30,513,152
7
4
null
null
null
null
UTF-8
Python
false
false
18,639
py
""" Author : Guillaume "iXce" Seguin Email : guillaume@segu.in Contributions from: Stuart "aquarius" Langridge, sil@kryogenix.org Copyright (C) 2008, Guillaume Seguin <guillaume@segu.in>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided th...
[ "pavelvitis@gmail.com" ]
pavelvitis@gmail.com
de2e63b83edd5aa9d0ecdeb5dec2ba2c8d8b2276
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/qNQkYzY8GpiFMmndh_11.py
6da0befe977c8c63744fa70bdc2249b841fe0196
[]
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,778
py
""" Write a function that connects each previous word to the next word by the shared letters. Return the resulting string (removing **duplicate characters** in the overlap) and the **minimum** number of shared letters across all pairs of strings. ### Examples join(["oven", "envier", "erase", "serious"]) ➞ ["ov...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
82a6bfa73b0e7925b12b0e2409c9d4a311da37c9
dcfac04f77ee9bc36c450da0a7fd7c410344d4d1
/Plate Recognition/plate_segmen.py
fb5ddd1d3fab8abdf0bc7763b9b93e628ffd6c15
[]
no_license
Bobby981229/Computer-Vision-Based-Vehicle-Integrated-Information-Collection-System
8f5b47dd1c38e17bb87f846dba40323e2c8f9d25
c64c81bb5812dbe0ddb0ce6d2a87322ed6de66af
refs/heads/master
2023-04-24T16:27:32.521210
2021-05-12T19:16:35
2021-05-12T19:16:35
360,210,675
2
1
null
2021-04-22T12:13:44
2021-04-21T15:01:15
Python
UTF-8
Python
false
false
7,599
py
""" Segmentation of license plate areas using the U-net model """ import os import cv2 import numpy as np import tkinter as tk import tkinter.messagebox from tensorflow import keras def unet_predict(unet, img_src_path): """ Predict the licence plate by U-Net model :param unet: U-Net Model :param img_s...
[ "729461836@qq.com" ]
729461836@qq.com
cd6eb0b8025fa3cf74f13e51d0384def42a9360f
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4042/358004042.py
4d811d28a79c78055816467f4648ef796a8ce07b
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
597
py
from bots.botsconfig import * from records004042 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'BD', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'M10', MIN: 1, MAX: 1}, {ID: 'P4', MIN: 1, MAX: 20, LEVEL...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
c10a4128ea33ed6ab476f7d6fc669498f09aaf6a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_anathemas.py
94a217d247e4a738d1f523a5015b4dd275704785
[ "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
230
py
#calss header class _ANATHEMAS(): def __init__(self,): self.name = "ANATHEMAS" self.definitions = anathema self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['anathema']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9123bb47ae98f4ba462206f8b83545aa7ae95a9b
64da2ffac0a4c325bb9abc2910862e39de4d6204
/reinforcement_learning/utils.py
3bd69876f42b3552d07324a1c77884f97cd3ea0a
[]
no_license
bryonkucharski/text-based-rl-generalization
5fd5422cc6ab34503a247ab7ee19a56f73df579c
16724d4af1fe52b6eba304abfd42fb646ce6ac2f
refs/heads/master
2022-10-16T01:57:36.190507
2020-06-11T01:27:54
2020-06-11T01:27:54
269,798,263
1
0
null
null
null
null
UTF-8
Python
false
false
10,242
py
import os import glob import logger import re import sentencepiece import torch.nn.functional as F import torch import numpy as np import random def clean_game_state(state): lines = state.split("\n") cur = [a.strip() for a in lines] cur = ' '.join(cur).strip().replace('\n', '').replace('---------', '') ...
[ "bryonkucharski@gmail.com" ]
bryonkucharski@gmail.com
3efa5daf7237490fd47896ec97bc38edd2b042d8
49ceea832307cbee1e7cc48434645b4b66ca2b6d
/codigo/test_sqlite.py
62324f2ad157a5371be7aaf1bd191300a5c42c9f
[]
no_license
javacasm/RaspberryOnline2ed
10bc03e8e394152dac1c932fc5c7eced76b94dac
1138e7b88023ec30e69cfac199ce0617965808d0
refs/heads/master
2023-02-17T05:34:46.822106
2023-02-15T13:02:06
2023-02-15T13:02:06
184,058,734
2
0
null
null
null
null
UTF-8
Python
false
false
478
py
import sqlite3 ficheroBaseDatos = 'datosSensores.db' def guardaDatos(sensor1,sensor2, sensor3): conn=sqlite3.connect(ficheroBaseDatos) # abrimos la base de datos c=conn.cursor() c.execute("""INSERT INTO sensores (sensor1, sensor2, sensor3, fecha , hora) VALUES((?), (?), (?) date('now'), ...
[ "javacasm@gmail.com" ]
javacasm@gmail.com
89d9dcb4b8a9490dc2a413649c1d1415acf93e9b
3ba2d4091332b9d0a2b053f15a4d4ce4ae1c1ef0
/409、最长回文串.py
063f8f1f911ccd41bb03d01def85256e68a3eb84
[]
no_license
ganhan999/ForLeetcode
126272d34250035abda6c2d67222c2c186a3f80b
9980a9e4bf448b2cf3fed98891a54b6d202a64db
refs/heads/master
2023-05-01T14:21:49.883692
2021-05-12T08:59:51
2021-05-12T08:59:51
348,708,572
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
""" 给定一个包含大写字母和小写字母的字符串,找到通过这些字母构造成的最长的回文串。 在构造过程中,请注意区分大小写。比如"Aa"不能当做一个回文字符串。 注意: 假设字符串的长度不会超过 1010。 示例 1: 输入: "abccccdd" 输出: 7 解释: 我们可以构造的最长的回文串是"dccaccd", 它的长度是 7。 """ """ 1.统计各字符次数,eg:"ddsad":[3, 1, 1] 2.统计两两配对的字符总个数,eg: {"ddass":4,"ddsss":4} 3.判断是否有没配对的单字符,有结果加一。 eg: {"ddss":4, "ddhjSS":4+1}-->{"ddss":4...
[ "940320304@qq.com" ]
940320304@qq.com
47cb846535d2b5a11a7bd7fa793153cd463023bf
6146d080087b21e36347408eea76598f4691ed67
/code/string/4522.py
026cb9347513c38d3384f0908bd72aa828ac2ba3
[]
no_license
banggeut01/algorithm
682c4c6e90179b8100f0272bf559dbeb1bea5a1d
503b727134909f46e518c65f9a9aa58479a927e9
refs/heads/master
2020-06-27T14:07:51.927565
2019-12-19T03:48:30
2019-12-19T03:48:30
199,800,363
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# 세상의 모든 팰린드롬 4522.py t = int(input()) for tc in range(1, t + 1): word = input() n = len(word) i = 0 while i <= n // 2 - 1: if word[i] == word[n - 1 - i]: i += 1 elif word[i] == '?' or word[n - 1 - i] == '?': i += 1 else: # 팰린드롬 아니면, print('#...
[ "genie121110@gmail.com" ]
genie121110@gmail.com
37488a36c39c9cf874ef8bc576a61f5fa230c24b
53455eff1375276bacd7528c4186d1a916e04e37
/main/apps/semi_restful_users/urls.py
eaef497ab0d325f75038b15fe736ccc3207d465e
[]
no_license
MovinTarg/semi-restful-users
d9005ca2e6ddd3fdb5cbce4a9270dda996da44fe
d4c6443e11b22718697200274207da5e820024f6
refs/heads/master
2020-03-06T18:19:44.972803
2018-03-27T15:09:08
2018-03-27T15:09:08
127,005,107
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^users$', views.users), url(r'^users/new$', views.new_user), url(r'^users/(?P<user_id>\d+)$', views.show_user), url(r'^users/(?P<user_id>\d+)/edit$', views.edit_user), url(r'^users/create$', views.create_user), url(r'^us...
[ "pbianchi192@gmail.com" ]
pbianchi192@gmail.com
0bee15807f8c06a14fb98d3ad219a9604c6702e7
756f1c2c014b928c57fc2001347abbb1f104b696
/python/marvin/web/controllers/explore.py
1436de4ab9eefa6354c87d421eb50597eda676a5
[ "BSD-3-Clause" ]
permissive
sdss/marvin
ebe1e5325ed20fb46324ae6529bcc9acc220bd10
db4c536a65fb2f16fee05a4f34996a7fd35f0527
refs/heads/main
2022-11-08T23:16:00.622114
2022-11-02T15:25:53
2022-11-02T15:25:53
71,501,855
56
40
BSD-3-Clause
2022-08-11T13:16:21
2016-10-20T20:30:15
Python
UTF-8
Python
false
false
9,236
py
# !/usr/bin/env python # -*- coding: utf-8 -*- # # Filename: explore.py # Project: controllers # Author: Brian Cherinka # Created: Tuesday, 7th July 2020 3:45:32 pm # License: BSD 3-clause "New" or "Revised" License # Copyright (c) 2020 Brian Cherinka # Last Modified: Tuesday, 7th July 2020 3:45:32 pm # Modified By: Br...
[ "havok2063@hotmail.com" ]
havok2063@hotmail.com
c93c45d68858a0b311522f7a6593c516e8fd3ac5
a99a44aee5cfc5e080f6d83d2bcc1c3d273a3426
/htdocs/plotting/auto/scripts200/p212.py
2b470c90e1a20d19958a8abd1830473a34f432a1
[ "MIT" ]
permissive
ragesah/iem
1513929c8bc7f254048271d61b4c4cf27a5731d7
8ed970d426bddeaa3e7ded593665d22f0f9f6e87
refs/heads/main
2023-08-20T20:01:15.480833
2021-10-12T15:44:52
2021-10-12T15:44:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,568
py
"""Plot Time Series for Sounding Parameter.""" import datetime import pandas as pd from pandas.io.sql import read_sql from pyiem.plot.use_agg import plt from pyiem.util import get_autoplot_context, get_dbconn from pyiem.exceptions import NoDataFound PDICT = {"00": "00 UTC", "12": "12 UTC"} PDICT3 = dict( [ ...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
cc50adb501a877a7ec7aeb3476732aca0cc24ae5
616d502a84d123a06cf847141b0e553f5db66f3b
/scripts/multiple_alignment/parallel_codon_alignment_by_prank.py
965640d7e02648898c592d9969dd42ca6953aa31
[ "MIT" ]
permissive
wangpanqiao/MAVR
a95b225484a80fdea490c0ad909a32b7ebfef3bb
c1f86a408ca2e369b2fac874240190bc08994d7b
refs/heads/master
2020-05-23T11:52:08.964020
2019-05-10T08:21:26
2019-05-10T08:21:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,170
py
#!/usr/bin/env python __author__ = 'Sergei F. Kliver' import argparse from RouToolPa.Tools.MultipleAlignment import PRANK from RouToolPa.Routines import FileRoutines parser = argparse.ArgumentParser() parser.add_argument("-i", "--input", action="store", dest="input", required=True, type=lambda x:...
[ "mahajrod@gmail.com" ]
mahajrod@gmail.com
321db9632e574cd71c735e2c86b4cd5a7bb11678
7967a3ee1c0ba80d2c4be404f5b779882cd24439
/playground/config/backends.py
f28bf818dec41a16461008d152bb95fe4afb85bd
[ "MIT" ]
permissive
LeeHanYeong/django-quill-editor
bf0e7150afedc890652b20b288b27c635c777a5f
f49eabd65503462f0a9081626dfc66d2d7ddce36
refs/heads/master
2023-06-24T07:26:55.664214
2023-02-07T08:14:56
2023-02-07T08:30:14
245,107,729
184
44
MIT
2023-06-09T09:35:05
2020-03-05T08:27:55
Python
UTF-8
Python
false
false
517
py
from django.contrib.auth import get_user_model User = get_user_model() __all__ = ("StaticBackend",) class StaticBackend: def authenticate(self, request): user = User.objects.get_or_create( username="django-quill-editor", is_staff=True, is_superuser=True, )[0] ...
[ "dev@lhy.kr" ]
dev@lhy.kr
181d72b4f866a5bb0c9c98bc9e3a7880bf4737a2
5b7ad87f5c8c17f39696b0459ddc698ee9dee391
/lib/ponyguruma/test_unicode.py
74ef087afe1d235e1e252895afe722325e11130c
[ "BSD-3-Clause" ]
permissive
D3f0/ponyguruma
e98460df843e9d5d64ed29c43f46ea7604842e4e
63e489b4cf444ed66335e5cb5d246862ed80e307
refs/heads/master
2016-09-06T07:49:36.914819
2011-04-26T13:31:54
2011-04-26T13:31:54
1,177,308
0
1
null
null
null
null
UTF-8
Python
false
false
68,053
py
# -*- coding: us-ascii -*- """ ponyguruma.test_unicode ~~~~~~~~~~~~~~~~~~~~~~~ Port of the Oniguruma unicode test suite. :copyright: Copyright 2007 by Georg Brandl. :license: BSD. """ from ponyguruma import * errors = [] runs = [0] def xx(pattern, str_, from_, to, mem, not_): # convert to U...
[ "nahuel.defosse@gmail.com" ]
nahuel.defosse@gmail.com
7fee8ecbeceaaa7ecff75f64bca7a5b5b0b90b98
36edcd412cb760c5f7dbbc458ae440d7093d4974
/main.py
e204fb8c4a4cd4f59086ad79827e46a50b49ec76
[]
no_license
xiaolinzi-xl/flask-study
d107f29533ff092c4120bfa5df5ee534de8d6b54
148412ba919829e1a35a47bbbc0310947f8a68d6
refs/heads/master
2020-03-12T09:44:13.070434
2018-04-22T10:54:42
2018-04-22T10:54:42
130,558,703
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
# -*- coding:utf-8 _*- """ @author: xiaolinzi @file: main.py @time: 2018/04/22 """ from flask import Flask from config import DevConfig app = Flask(__name__) app.config.from_object(DevConfig) @app.route('/') def home(): return '<h1>Hello World!</h1>' if __name__ == '__main__': app.run()
[ "daoshangxl@163.com" ]
daoshangxl@163.com
428f434ff573d0810e3d1bba0e7ec7037ea71c1d
26bd175ffb3bd204db5bcb70eec2e3dfd55fbe9f
/exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/plugins/modules/ovh_ip_loadbalancing_backend.py
0242b6faed4cef22544f0cfc15e383bfc9c9db4f
[ "GPL-3.0-only", "MIT", "GPL-3.0-or-later", "CC0-1.0", "GPL-1.0-or-later" ]
permissive
tr3ck3r/linklight
37814ed19173d893cdff161355d70a1cf538239b
5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7
refs/heads/master
2021-04-11T04:33:02.727318
2020-03-25T17:38:41
2020-03-25T17:38:41
248,992,437
0
0
MIT
2020-03-21T14:26:25
2020-03-21T14:26:25
null
UTF-8
Python
false
false
11,288
py
#!/usr/bin/python # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], ...
[ "joshuamadison+gh@gmail.com" ]
joshuamadison+gh@gmail.com
1868217b1288cc329b860334990e5b966b6cee9d
3b04ddc1a8a0de16680b99bec345e18a043bd795
/setup.py
32940a36d1c2f7c921ef645af47d1c7741f6d9e5
[]
no_license
sebbekarlsson/issueline
8bccd08c793b4f61bdb43a5394532991f502a85a
a7aed98a1aef2058a3691a87ba953d51bd7f9312
refs/heads/master
2020-03-21T18:20:34.106970
2018-07-02T13:06:24
2018-07-02T13:06:24
138,886,154
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
from setuptools import setup, find_packages setup( name='issueline', version='1.0', packages=find_packages(), entry_points={ 'console_scripts': [ 'issueline = issueline.bin:run' ] } )
[ "sebbekarlsson97@gmail.com" ]
sebbekarlsson97@gmail.com