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
6c1b9d9dcd3eab7af59865ab2979893e1889391e
86b57bb2c884f4d6ce5c6f9c96ec84f4f8f7989a
/pandas/plotting/plotting.py
c227d4ec601db9b3d23c27fdd3ff466f0ba9cf75
[ "MIT" ]
permissive
ptracton/ExperimentalPython
95b01f8ac7d91663da9d388dbebf72fd22426707
a3159226982ec9656bb0f81f6997687da22f4466
refs/heads/master
2020-03-09T07:53:44.836841
2018-11-18T22:47:48
2018-11-18T22:47:48
128,675,381
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
#! /usr/bin/env python3 import logging import sys import PyQt5 import PyQt5.QtWidgets import UI if __name__ == "__main__": # Start our log, now any module in this application # can import logging and write out details logging.basicConfig(filename="plotting.log", level=logging.DE...
[ "ptracton@gmail.com" ]
ptracton@gmail.com
82fbc817f871694b9f73c2b9e32fe6739ae1b8d0
890c8b8e90e516a5a3880eca9b2d217662fe7d84
/armulator/armv6/opcodes/arm_instruction_set/arm_media_instructions/arm_parallel_addition_and_subtraction_unsigned/__init__.py
c411228e2ab17edd76a94a2f2a95a30e7d0209ec
[ "MIT" ]
permissive
doronz88/armulator
b864135996f876c7857b79a314d4aa06cc19c549
0294feac2785c8947e5943ac0c34f941ee4b5fff
refs/heads/master
2022-11-05T08:14:42.405335
2020-06-18T23:53:17
2020-06-18T23:53:17
273,363,061
2
0
null
2020-06-18T23:51:03
2020-06-18T23:51:02
null
UTF-8
Python
false
false
2,785
py
from uadd16_a1 import Uadd16A1 from uasx_a1 import UasxA1 from usax_a1 import UsaxA1 from usub16_a1 import Usub16A1 from uadd8_a1 import Uadd8A1 from usub8_a1 import Usub8A1 from uqadd16_a1 import Uqadd16A1 from uqasx_a1 import UqasxA1 from uqsax_a1 import UqsaxA1 from uqsub16_a1 import Uqsub16A1 from uqadd8_a1 import ...
[ "matan1008@gmail.com" ]
matan1008@gmail.com
834c125c776756b1834bfd5299f54ac61c21ae50
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/dfirtrack/dfirtrack_artifacts/apps.py
93a49df445a7ea9b434057e296e70014dd8641fd
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
112
py
from django.apps import AppConfig class DfirtrackArtifactsConfig(AppConfig): name = 'dfirtrack_artifacts'
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
43f6f93d773e96d3dc3e18d28ae595c898e396ea
76eb3b1f3048e670244b9afe30ab6c7264ee6135
/Bitcoin/ngcccbase-master/ngcccbase/pwallet.py
7b4e5fd2ebeaeabe9a0ed2e5c01f01d887913d5e
[ "MIT" ]
permissive
elkingtowa/alphacoin
9a04a16bd6ede14819809f881ccde5d1aeaf9bae
a50ed2d315755889a0247cf73edb4b3b58f898de
refs/heads/master
2021-01-20T12:15:19.810656
2014-06-28T02:02:32
2014-06-28T02:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
""" pwallet.py A colored-coin wallet implementation that uses a persistent data-store. The actual storage is in sqlite3 db's via coloredcoinlib """ from wallet_model import WalletModel from coloredcoinlib import store import sqlite3 import os class PersistentWallet(object): """Represents a wallet object that st...
[ "elkingtonx@gmail.com" ]
elkingtonx@gmail.com
b0a169e789b3e5e614b8cb4fa5ac1bc4bcbdfa4e
d532dd7dcaf3c2116d894315b1867f7a37e5267a
/algorithm/dancing-link/dancinglink/dancinglink.py
76185906c68459a5a8d74088c33f6f2ff928676f
[]
no_license
pandolia/myrepository
3c8477cb99f066bfee4fa932cdf960b0ae0c4e4a
afea29708b5b7ce282997192cb37c5a5ea74064d
refs/heads/master
2021-01-21T13:33:47.457581
2016-05-14T16:48:06
2016-05-14T16:48:06
52,666,558
0
0
null
null
null
null
UTF-8
Python
false
false
3,107
py
from crossDoubleLink import CrossDoubleLinkNode MAX_INT = 2147483647 class MatrixHeadNode(CrossDoubleLinkNode): pass class ColumnHeadNode(CrossDoubleLinkNode): def __init__(self, matrixHead, col): super(self.__class__, self).__init__(right = matrixHead) self.size = 0 self.c...
[ "pandolia@yeah.net" ]
pandolia@yeah.net
7c576ae602ca4a8c35d72d025a9cb76875f56da9
c99427245fdb9cb3f1d9f788963759664885b6ec
/cloudshell/shell/flows/connectivity/models/connectivity_model.py
bfac7e1809ea2360ace526d3b3eb0e2a9a743838
[]
no_license
QualiSystems/cloudshell-shell-connectivity-flow
98cf33e49fbdef147e37dbda0179b76400492e36
c2a1bb8589b25a62dd7c20f7ef35c7f2f8d5aa1c
refs/heads/master
2023-08-22T22:48:28.051220
2023-08-17T18:04:19
2023-08-17T18:27:45
218,023,805
0
1
null
2023-08-17T18:27:46
2019-10-28T10:42:09
Python
UTF-8
Python
false
false
3,583
py
import warnings from enum import Enum from typing import Any, Optional from pydantic import BaseModel, Field, validator class ConnectivityTypeEnum(Enum): SET_VLAN = "setVlan" REMOVE_VLAN = "removeVlan" class ConnectionModeEnum(Enum): ACCESS = "Access" TRUNK = "Trunk" def list_attrs_to_dict(list_a...
[ "saklar13@gmail.com" ]
saklar13@gmail.com
7f68be57da1db301cd1e2e9560326b91af19f95c
d3720c1848fb69a05121fcd378a12a6d1921f303
/3_Offer2nd-HandWriting/4_Hash/3_48.-最长不含重复字符的子字符串.py
1f60cdcb8fd25c9d319dda0e1d2a0be344635f64
[]
no_license
fzingithub/SwordRefers2Offer
32a44e87c178bafc554108f1d1e479e18b0ee028
57f303aa6e76f7c5292fa60bffdfddcb4ff9ddfb
refs/heads/master
2023-04-08T09:35:02.082121
2023-03-28T00:06:00
2023-03-28T00:06:00
219,700,616
1
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
class Soluiton: # 暴力+hash 时间复杂度 O(n^2) 空间复杂度 O(1_最短回文串.py) def lengthOfLongestSubString(self, s): length = len(s) if length ==1: return 1 res = 0 for i in range(length): Map = {} flag = 0 for j in range(i, length): ...
[ "35060424+fzingithub@users.noreply.github.com" ]
35060424+fzingithub@users.noreply.github.com
25fcdebe8b3846644ac68a97700dc62061dbabc7
ecba7c2ebf695721a0c11f276d859f2016e99393
/catkin_ws/devel/.private/robotiq_modbus_tcp/lib/python2.7/dist-packages/robotiq_modbus_tcp/__init__.py
d6c60f2789dac406d117fbbea8b578e2973f09ce
[]
no_license
giorgioGunawan/jenga-vs
3e609d0bb0a31777f1a77229b3f657882b8b0994
a8a55833c4b73e030fa9c6a2ab2ba7551a4d0ab9
refs/heads/main
2023-05-31T00:35:40.714836
2021-06-11T08:19:32
2021-06-11T08:19:32
375,953,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
# -*- coding: utf-8 -*- # generated from catkin/cmake/template/__init__.py.in # keep symbol table as clean as possible by deleting all unnecessary symbols from os import path as os_path from pkgutil import extend_path from sys import path as sys_path __extended_path = '/home/matt/JBOT_Working/catkin_ws/src/robotiq/ro...
[ "grggnwn@gmail.com" ]
grggnwn@gmail.com
af462079e7b2c0c92c04ef1bf75e0861f21029be
a2bbd69fe69ec9a5737565b3b7325b5dcaaecf53
/main/test_input_talk.py
f45d620729e91a0dadbda8cde5d62a5a4361ddc5
[]
no_license
SamWithWorld/selenium-2
d945a03492548e8ee59bbb06d8c3bdb8593d8c54
a575d7b3962a2754e69acb99cd48fe13dc62c6e5
refs/heads/master
2022-09-27T09:31:28.978249
2015-03-12T07:03:22
2015-03-12T07:03:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
#!/usr/bin/env python import time, unittest, os, sys from selenium import webdriver from page.pe_login import * from page.pe_shop import * from page.pe_product import * class TestInputTalk(unittest.TestCase): dict_user = { "email" : "tkpd.qc+13@gmail.com", "password" : "1234asdf" } def setUp(self): self.d...
[ "herman.wahyudi02@gmail.com" ]
herman.wahyudi02@gmail.com
39f394ff717b6a69003e690e46d818837ab914c2
12977c4d2eae4bfd3b7112814a7e63c506e7bbbe
/ad_budget_detail_div/__init__.py
ff44d005f795badeae44f90bfe8902f48d520045
[]
no_license
aryaadiputra/addons60_ptgbu_2013
211f3ab9fc74cc3e3f4df770b6ada65d24b83977
b5cf28bdbb347df4c39ffe3ca32355bd2206077b
refs/heads/master
2020-04-06T04:11:37.667486
2016-11-25T03:27:54
2016-11-25T03:27:54
58,649,631
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
import report import budget_detail_div
[ "aryalemon.mail@gmail.com" ]
aryalemon.mail@gmail.com
563288144411548ccf2382f30d1d712e4abe7b7a
e71b6d14fbdbc57c7234ca45a47329d7d02fc6f7
/flask_api/venv/lib/python3.7/site-packages/azure/cosmos/database.py
eaff2a37573b464fa11d141d76348c4a605d8e7b
[]
no_license
u-blavins/secret_sasquatch_society
c36993c738ab29a6a4879bfbeb78a5803f4f2a57
0214eadcdfa9b40254e331a6617c50b422212f4c
refs/heads/master
2020-08-14T00:39:52.948272
2020-01-22T13:54:58
2020-01-22T13:54:58
215,058,646
1
0
null
null
null
null
UTF-8
Python
false
false
30,586
py
#The MIT License (MIT) #Copyright (c) 2014 Microsoft Corporation #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software without restriction, including without limitation the rights #to use, copy...
[ "usama.blavins1@gmail.com" ]
usama.blavins1@gmail.com
d2e3626c7ebfba20128bf2da96bbb51c569f599a
3dc7476dc7c77e2db6d6def77656fa7d9fbfd70b
/es_search_server/es_search_server/urls.py
d39d264a112b9234258877351c8b3dc3f4a98ca0
[]
no_license
PrimaryCY/es_search
df76608554acb7d3de664a6d696b737c84043df2
0f0f0095c6f8bcb70363a08859143788cde595ae
refs/heads/master
2022-05-01T13:42:37.177546
2019-09-20T01:58:11
2019-09-20T01:58:11
206,211,180
2
0
null
2022-04-22T22:17:07
2019-09-04T02:13:49
Python
UTF-8
Python
false
false
822
py
"""es_search_server URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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') Cl...
[ "907031027@qq.com" ]
907031027@qq.com
aa71032f791cbc80e647510bbcedaa89bb8c2085
6310c834caf9f775d1ddeb0328a41d5648a733fa
/source/api_v1/tests/test_article_api_views.py
becc7d1028365e8ef1208b9631c9bd746fa1118b
[]
no_license
big-arturka/test_task
54205245d26c966dd4c3982dc6809d8c989f2cad
8dc37994754f7ef04c5c697b5090be65f7058ebd
refs/heads/master
2023-06-06T19:36:38.291673
2021-07-08T05:55:32
2021-07-08T05:55:32
321,126,387
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
from django.contrib.auth import get_user_model from django.db.models import Model from django.test import TestCase from django.urls import reverse from rest_framework.response import Response from news_client.models import Article, Category EXAMPLE_DATA = [{ "id": 1, "title": "...
[ "arturkrmnlv10@gmail.com" ]
arturkrmnlv10@gmail.com
7fb95d229007a0b9963d68c57aa8a3b2631461ae
3db7b5409f2f9c57ab3f98bda50f8b548d98063d
/google/cloud/bigquery/opentelemetry_tracing.py
be02c16869215d5dde0038d75974c4a5daa7f1d1
[ "Apache-2.0" ]
permissive
googleapis/python-bigquery
66db156b52e97565f6211b2fab5aac4e519fa798
3645e32aeebefe9d5a4bc71a6513942741f0f196
refs/heads/main
2023-09-01T07:41:24.893598
2023-08-23T19:04:13
2023-08-23T19:04:13
226,992,475
622
287
Apache-2.0
2023-09-12T04:31:26
2019-12-10T00:09:04
Python
UTF-8
Python
false
false
5,735
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "noreply@github.com" ]
googleapis.noreply@github.com
e226a00c553490b3a5341ba467b183a4e7920c3d
1825283527f5a479204708feeaf55f4ab6d1290b
/interview/Sorting/topK.py
052e53aa0ef0532ef4bbe3f5723a9a51ada439b3
[]
no_license
frankieliu/problems
b82c61d3328ffcc1da2cbc95712563355f5d44b5
911c6622448a4be041834bcab25051dd0f9209b2
refs/heads/master
2023-01-06T14:41:58.044871
2019-11-24T03:47:22
2019-11-24T03:47:22
115,065,956
1
0
null
2023-01-04T07:25:52
2017-12-22T02:06:57
HTML
UTF-8
Python
false
false
751
py
from heapq import heapify, heappop, heappush def topK(arr, k): '''Keep a sorted list insert an element into sorted list if there is an existing element do not insert if length of list is larger than k remove smallest element ''' out = [] if len(arr) <= 0: return out s = set() ...
[ "frankie.y.liu@gmail.com" ]
frankie.y.liu@gmail.com
779ca44f447050f4953eea358988c2f7ccfead24
baa57f56d80e444da14a4967497cae8f11d377e1
/archive/lym_project/deep_conv_classification_alt29.py
747acc7a6d2f8aa9f773c23c5e628b68198bdeb6
[ "BSD-3-Clause" ]
permissive
leoatchina/u24_lymphocyte
ae7b422b08bad6e5c33836662b65c5e91a54e4f4
94a72686e41cad874d5e40604cec960939c79a28
refs/heads/master
2020-07-16T09:25:37.339784
2019-08-09T16:53:43
2019-08-09T16:53:43
205,763,378
0
0
BSD-3-Clause
2019-09-02T02:36:29
2019-09-02T02:36:29
null
UTF-8
Python
false
false
17,968
py
import pickle import sys import os import urllib import gzip import cPickle import time import lasagne import theano import numpy as np import theano.tensor as T from lasagne import layers from lasagne.updates import nesterov_momentum from nolearn.lasagne import NeuralNet from nolearn.lasagne import BatchIterator from...
[ "lehhou@bright70.cm.cluster" ]
lehhou@bright70.cm.cluster
14706f7350cd7fa420f1d5dc220f6361bd78a77d
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/instructor/tasks.py
bf4c9fe1a613d9808afb29a387b024e8e617245c
[ "MIT", "AGPL-3.0-only", "AGPL-3.0-or-later" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
4,683
py
""" Celery Tasks for the Instructor App """ import logging from celery import shared_task from celery_utils.logged_task import LoggedTask from django.core.exceptions import ObjectDoesNotExist from opaque_keys import InvalidKeyError from opaque_keys.edx.keys import UsageKey from xblock.completable import XBlockComplet...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
c69dd0f547d31eca9570e0e17157cccda8126df4
150464efa69db3abf328ef8cd912e8e248c633e6
/_4.python/__code/Python自學聖經(第一版)/ch14/np14.py
53fed9b1a4f0fc5c2cb1f0fad6a2629879cd7b81
[]
no_license
bunshue/vcs
2d194906b7e8c077f813b02f2edc70c4b197ab2b
d9a994e3afbb9ea84cc01284934c39860fea1061
refs/heads/master
2023-08-23T22:53:08.303457
2023-08-23T13:02:34
2023-08-23T13:02:34
127,182,360
6
3
null
2023-05-22T21:33:09
2018-03-28T18:33:23
C#
UTF-8
Python
false
false
555
py
import numpy as np a = np.arange(1,10).reshape(3,3) b = np.arange(10,19).reshape(3,3) print('a 陣列內容:\n', a) print('b 陣列內容:\n', b) print('a 陣列元素都加值:\n', a + 1) print('a 陣列元素都平方:\n', a ** 2) print('a 陣列元素加判斷:\n', a < 5) print('a 陣列取出第一個row都加1:\n', a[0,:] + 1) print('a 陣列取出第一個col都加1:\n', a[:,0] + 1) print('a b 陣列對應元素相加:\n...
[ "david@insighteyes.com" ]
david@insighteyes.com
35c235c01fbb5ef48166be6e3b0802a405e6d980
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_148/ch168_2020_06_29_18_16_56_289347.py
6fd917b2c884426e0b1ebf76575423f51ce8b392
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
def login_disponivel(nome, lista): i = 0 while i<len(lista): if nome != lista[i]: return nome else: nome = nome + str(i) return nome i += 1
[ "you@example.com" ]
you@example.com
263e52e98fba17b9334fe9bea704b0d010aed1f5
28bc52023a49ad8d6f7e6be6de2001a99907e8f4
/server/quizapp/migrations/0005_choice_time_taken.py
e2d9ac167ff75052f97ced488e7d845c9a645435
[]
no_license
Joetib/quiz
3a5fadac9f26576dbb113e5b546efb26605b3685
04411cc0f6904537d25c90990ff5ac0b89bba66f
refs/heads/master
2022-11-27T14:31:51.818641
2021-03-19T14:42:39
2021-03-19T14:42:39
246,600,233
0
1
null
2022-11-22T07:39:49
2020-03-11T14:55:36
JavaScript
UTF-8
Python
false
false
461
py
# Generated by Django 3.0.4 on 2020-03-12 21:01 from django.db import migrations, models import datetime class Migration(migrations.Migration): dependencies = [ ('quizapp', '0004_auto_20200312_0809'), ] operations = [ migrations.AddField( model_name='choice', name...
[ "otiboatengjoe@gmail.com" ]
otiboatengjoe@gmail.com
277c736c0f685c52038b94b7b1901299640018ad
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/grappler/model_analyzer.py
f88ba3e797e411bfe5c15206f488e9173366c253
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
3fd0926119877c1d159fc737e0fc08a0182eb9f0
d8c5f1d5f5b7d222834d233db26d8b03e37bdfa3
/clients/kratos/python/ory_kratos_client/model/identity_credentials.py
a301d706581a4aa56262c7accf645faa13d5e573
[ "Apache-2.0" ]
permissive
kolotaev/sdk
31a9585720c3649b8830cf054fc7e404abe8e588
0dda1becd70be8d7b9d678321ebe780c1ba00485
refs/heads/master
2023-07-09T21:36:44.459798
2021-08-17T09:05:22
2021-08-17T09:05:22
397,220,777
0
0
null
null
null
null
UTF-8
Python
false
false
7,823
py
""" Ory Kratos API Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the admini...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
6615f1614adb20bfd90da271543dc0e6d789bedb
73fa97da75d7771cdf6055e59c7ee13b6b24ce28
/setup.py
8beaf0f4df87bfd45d8c87ee26fc7df83e7b402c
[ "Apache-2.0" ]
permissive
we1l1n/dialogbot
028003da495ddb97ebf77917285315ec2a0318ad
e0e545d60cce31ab45397dc026f273b21be75d49
refs/heads/master
2023-03-30T16:46:51.536841
2021-04-02T13:22:38
2021-04-02T13:22:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,929
py
# -*- coding: utf-8 -*- """ @author:XuMing(xuming624@qq.com) @description: """ from __future__ import print_function import sys from setuptools import setup, find_packages from dialogbot import __version__ if sys.version_info < (3,): sys.exit('Sorry, Python3 is required for dialogbot.') with open('README.md',...
[ "507153809@qq.com" ]
507153809@qq.com
70c94a7b995b5a52fa2614252ac63bbb1d142874
fbfe37305712d49c84d87b2bb3ef88d3cf68cf69
/apps/post/migrations/0002_comment.py
a96967a99554e87a259b3ce1644440382c6bc530
[]
no_license
xal9wiii4ik/social_network
50ba7788bbd4b53c77f69f61c5790c3a4a13b6e4
23d6c72bf4ed0e182570d0e55e973f22701850cd
refs/heads/master
2023-03-30T22:03:28.379419
2021-04-08T21:55:56
2021-04-08T21:55:56
325,549,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
# Generated by Django 3.1.5 on 2021-02-20 12:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('post', '0001_initial'), ...
[ "xal9wIII4ik@yandex.ru" ]
xal9wIII4ik@yandex.ru
c82681d7b6315f9314c7dd338f9a80932b2b0b2c
ea85e903db500eee66fe70ed3029b05577494d9d
/链表/面试题 02.08. 环路检测.py
8129e468b64a1d4cfc30803224175ab5ebdf9b70
[]
no_license
baolibin/leetcode
fcd975eb23e5ca3fc7febbd6c47ec833595b5a51
bc0540ec42131439be144cca19f6355a01de992a
refs/heads/master
2021-08-15T20:40:25.580955
2021-01-20T09:57:21
2021-01-20T09:57:21
76,557,864
0
0
null
null
null
null
UTF-8
Python
false
false
2,570
py
''' 面试题 02.08. 环路检测 题目参考网址: https://leetcode-cn.com/problems/linked-list-cycle-lcci/ ''' # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def detectCycle(self, head: ListNode) -> ListNode: dict1 = {} while ...
[ "yangfengling@inttech.cn" ]
yangfengling@inttech.cn
f0a0ae7029b9a4e448fdf7c29cedf83b14f5840b
72000eb7bd7a7ad2c4a88746067d85ec53d09639
/DMAlgorithms/DecisionTree/treePlotter.py
cf4a5a71ec33400fcf6ec436244633cb4217b49a
[]
no_license
Winniekun/Data_Mining
f3c9cb8b2a16f8647a18d22c2b2f202f3953467f
61baeb80a57d0e8152af513474dc6e16a8e2f30c
refs/heads/master
2022-04-01T07:42:09.337582
2020-01-02T11:02:42
2020-01-02T11:02:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,308
py
''' Created on Oct 14, 2010 @author: Peter Harrington ''' import matplotlib.pyplot as plt import matplotlib.font_manager as fm from DMAlgorithms.DecisionTree.trees import createTree,createDataSet myfont = fm.FontProperties(fname='/usr/local/share/fonts/msyh.ttf') decisionNode = dict(boxstyle="sawtooth", ...
[ "kongwiki@163.com" ]
kongwiki@163.com
b32e423fda661c54f0ed04a61ab3ca348ca43767
5793e64b1cac6b79323f5675ac1338fe3e7ad881
/creme/optim/losses.py
f5d041aa272c019be0193f48b5b3eda44a2367d0
[ "BSD-3-Clause" ]
permissive
sicotfre/creme
0217364fe04b67bd91d32cd737a658022b2cf4c5
71ec7e9edeb79a8b47672a27323dd3fd96c68588
refs/heads/master
2022-11-21T20:52:31.088309
2020-07-24T08:17:51
2020-07-24T08:17:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,016
py
"""Loss functions. Each loss function is intented to work with both single values as well as numpy vectors. """ import abc import math import typing import numpy as np from scipy import special from creme import base from creme import utils __all__ = [ 'Absolute', 'BinaryLoss', 'BinaryFocalLoss', ...
[ "maxhalford25@gmail.com" ]
maxhalford25@gmail.com
4c6b4efb419bb52f33f906a4e2a7aa87e4f64ead
8f7de2b37e7e8549853478b4a4ee6e7b93b1a402
/sdk/python/tests/test_sanity_deviation.py
0d206efdc31bcf0262090e41462e0cb83895fb74
[ "Apache-2.0" ]
permissive
waffle-iron/ydk-gen
44b0eaa1682892dba216243aceb78d11e19f5f3b
699a04d844c6d557df8d2980d92cfe3a4fefce04
refs/heads/master
2021-01-17T17:17:41.591673
2016-04-28T22:27:44
2016-04-28T22:27:44
57,337,749
0
0
null
2016-04-28T22:27:43
2016-04-28T22:27:43
null
UTF-8
Python
false
false
7,692
py
# ---------------------------------------------------------------- # Copyright 2016 Cisco Systems # # 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/LICENS...
[ "xiaoqin.zhu.4@gmail.com" ]
xiaoqin.zhu.4@gmail.com
0a64c549ae295594ea9170e109a2baff101179bc
fcf71d8ed3a0d05750a0caba93f2f9cdb9ec0adc
/3.python/wagle/adServer.py
e08f7b223b60f1ff008ea93c543ed706e1f64b54
[]
no_license
handol/python_study
a6e6faeae2213a66b303524b57550c879c83c190
4d4cf3847c29ef363c1b8fd10bf2525d6f801ddd
refs/heads/master
2021-01-10T21:20:31.140133
2013-03-28T06:30:16
2013-03-28T06:30:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
#!/usr/bin/env python import sys import os import SocketServer from daemon import daemonize from anydict import anydict class MyHandler(SocketServer.BaseRequestHandler): def handle(self): while 1: lenpart = self.request.recv(4) if not lenpart: break #print "LEN:", lenpart msglen = int(lenpart) m...
[ "jiinhan@iMac.local" ]
jiinhan@iMac.local
2043a82cc6b223d9a4849b6eeefd369b62cdaba0
b35758113414f3e11fab067e4b2abca4471f458d
/tests/test_util.py
c4a8c5ad50ffdaa6b6c6befb1bcee7533f738231
[ "MIT" ]
permissive
shufashter/numphy
952ab79730456206335924a9803ef846870dead9
b666742a9c473da18f59bff9f4556f1dce361349
refs/heads/master
2020-05-28T08:33:09.408122
2018-05-04T09:14:18
2018-05-04T09:14:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
# -*- coding: utf-8 -*- __all__ = ["UtilTest"] import unittest import numphy as ph class UtilTest(unittest.TestCase): def test_empty_slice(self): self.assertEqual(ph.util.empty_slice, slice(None)) def test_ellipsis_expansion(self): seq = (1, 2, 3, Ellipsis, 6) self.assertEqual(...
[ "marcelrieger@me.com" ]
marcelrieger@me.com
a290e1f18b5774c616e23175c73b0694dcc2ecd1
c5758c1f4c880f4530df1a5ffb4c30ee2da445ee
/pytracking/vot_ep/sk3x3_max/vot_wrapper_sk3x3_max_ep0021.py
916999aef08e748cfd9b72a3efa0450e6f4b57f4
[]
no_license
bfjei2825401/d3s
6d662fc301181a0e3ad831b0db6111e3cf8f4097
32140a3c67252f0e98cbfbf6ad6d2a79267c221b
refs/heads/master
2023-02-27T09:57:25.692878
2021-01-27T14:20:57
2021-01-27T14:20:57
297,217,521
0
0
null
2020-09-21T03:23:09
2020-09-21T03:23:09
null
UTF-8
Python
false
false
2,473
py
import pytracking.vot as vot import sys import cv2 import os os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = "0" from pytracking.tracker.segm_sk3x3_max import SegmSK3x3Max from pytracking.parameter.segm_sk3x3_max import default_params_ep as vot_params def rect_to_poly(rect): x...
[ "752958525@qq.com" ]
752958525@qq.com
9f30494ba48eb00335e5a298037585946976dd6f
78ae07bffc2dd4bd77526b7cdecdd7d0d9d90a87
/Project5/django_project/django_project/urls.py
37503455e67e94c25e979eea165209696ebbe0fb
[ "Unlicense" ]
permissive
nadersayed22/udacity-fullstack-nanodegree-projects
97d41fa55e5c9ee309b4cce6ad4cab7a9bb13bc7
69c6ca2c6b939ff10166aa90f7c066bede7c7d5f
refs/heads/master
2023-03-23T08:40:01.697956
2019-08-18T08:06:55
2019-08-18T08:07:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,143
py
"""django_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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') Clas...
[ "mahammad.mamdouh@gmail.com" ]
mahammad.mamdouh@gmail.com
da2000a0de592e76c8a02c0d614203eb2c9375fe
06e030c6d0703bc3ad4a0a48821278ebeb3f992c
/run.py
c35edff0c4301571ce857104060b6f371495612e
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
Sandy4321/document_feature_selection
bee35868c61bafe74eb2c5f495675b0130ad8a5f
24e7ea0b9abaf94a93dfa6fe0fecddd4a7169000
refs/heads/master
2021-01-17T18:23:45.531720
2015-11-04T02:38:54
2015-11-04T02:38:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from document-feature-selection.cli import main __author__ = 'kensuke-mi' main()
[ "kensuke.mit@gmail.com" ]
kensuke.mit@gmail.com
5d0e732b815f6c550c6a355e0f9baf7b96a549d8
53091c48daac0d758731f6ba24e6e1cfdff45914
/contrib/spendfrom/spendfrom.py
7308682cda91a5d79c90259ec0fadc3f63d58bad
[ "MIT" ]
permissive
stance-project/snxt-core
c9b20ef6a78b230f90aeffb81d42361d7dc070a6
16597824413e83f43c13bb3aa2fe24cb12bf5237
refs/heads/master
2020-05-05T03:23:13.527869
2019-04-05T17:29:04
2019-04-05T17:29:04
179,670,222
1
0
null
null
null
null
UTF-8
Python
false
false
10,035
py
#!/usr/bin/env python # # Use the raw transactions API to spend CSPNs received on particular addresses, # and send any change back to that same address. # # Example usage: # spendfrom.py # Lists available funds # spendfrom.py --from=ADDRESS --to=ADDRESS --amount=11.00 # # Assumes it will talk to a csportsd or csport...
[ "moabproject@protonmail.com" ]
moabproject@protonmail.com
c03d3de627b409cbf4b7ba6dbb45f1b852a10d5c
ba1e90ae6ea9f8f74d9b542e159825341c717712
/2016/cf3391.py
c6bc3562607148f47654c3aff17160aa4d9f63d8
[]
no_license
sailesh2/CompetitiveCode
b384687a7caa8980ab9b9c9deef2488b0bfe9cd9
5671dac08216f4ce75d5992e6af8208fa2324d12
refs/heads/master
2021-06-24T22:39:11.396049
2020-11-27T05:22:17
2020-11-27T05:22:17
161,877,355
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
import math x=raw_input().split(' ') l=int(x[0]) r=int(x[1]) k=int(x[2]) p=1 cnt=0 while 1: if p>r: break if p>=l and p<=r: cnt=1 print p, p=p*k if cnt==0: print "-1"
[ "sailesh.ku.upadhyaya@gmail.com" ]
sailesh.ku.upadhyaya@gmail.com
db995f2ff0999028a35bc0ba0216f68d218601a8
0a07eb98ab070ac5b09ecf3c8d6692123c50fa2e
/blog/migrations/0001_initial.py
dfca274130ad1724db1465e05637bbe1cdb08985
[]
no_license
exelik/my-first-blog
fd939c52bbb091faba88f0f545e3b5d98238daab
e0f31d83e1475caa22ad0988eb2c301cb7b2a948
refs/heads/master
2021-01-19T08:53:14.395375
2017-04-10T17:00:39
2017-04-10T17:00:39
87,692,825
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-08 18:16 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depend...
[ "you@example.com" ]
you@example.com
d65e486dbe3e1eb694016b1f080fde7ce9a57610
0e4f76fc3f9aae8b00a67806dffcfc6360e310d1
/classes/ifcwallstandardcase.py
ceb709f03223289c74d157af9483afe4b93e68cd
[]
no_license
HassanEmam/PyoIFC
e11f3b330d3e758aaae47ee9e70b2ae5b5847432
c2ec4e017ce366b07686491dbe22827aec2711c0
refs/heads/master
2020-07-31T14:27:53.305768
2019-09-24T15:41:28
2019-09-24T15:41:28
210,630,850
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
class IFCWALLSTANDARDCASE(IFCWALL): def __init__(self):
[ "hassan.emam@hotmail.com" ]
hassan.emam@hotmail.com
c8e2871c2ecf6400b7eb619b44c635e1e5a2cc34
d5f75adf5603927396bdecf3e4afae292143ddf9
/python/paddle/fluid/tests/unittests/dygraph_to_static/test_resnet.py
553ad00a6d29bb23a1a185b81df49b1beca9de01
[ "Apache-2.0" ]
permissive
jiweibo/Paddle
8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4
605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74
refs/heads/develop
2023-07-21T03:36:05.367977
2022-06-24T02:31:11
2022-06-24T02:31:11
196,316,126
3
2
Apache-2.0
2023-04-04T02:42:53
2019-07-11T03:51:12
Python
UTF-8
Python
false
false
14,387
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
jiweibo.noreply@github.com
07dba2d1590d4e9e83f126838ed79a5d1d60bf5d
f5d4a7fafe9c0b666ed1cba2f7b4c94b0c966f1e
/pyfuntk/stats/model.py
9c0f1721ea57192bd20ae094ba097b3249f89e50
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
salma1601/pyfuntk
6145080e3e3258b62c3ae121de166f6803328231
83e4682daf317376b6c11b8118e04947d92ace20
refs/heads/master
2021-01-18T03:19:17.946997
2017-03-15T12:38:53
2017-03-15T12:38:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,576
py
########################################################################## # NSAp - Copyright (C) CEA, 2013 # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # for details. ##########...
[ "antoine.grigis@cea.fr" ]
antoine.grigis@cea.fr
4e1113d65e1ce90e72f0f8a98ba8ecb074875b82
5c1ec474c579ad1280a2f6f71aaa5a9191f82f32
/src/exports/migrations/0004_move_exports_dir.py
b56a79b4362a6d787de9e9b9e9ba5f64b9e02454
[ "MIT" ]
permissive
Talengi/phase
bcc51837e6131fd65308728aa79380c37305d1a7
60ff6f37778971ae356c5b2b20e0d174a8288bfe
refs/heads/master
2022-12-09T15:42:14.459215
2021-06-28T08:12:21
2021-06-28T08:12:21
9,164,756
8
7
NOASSERTION
2022-12-08T01:18:49
2013-04-02T07:28:30
Python
UTF-8
Python
false
false
750
py
# -*- coding: utf-8 -*- import os from django.db import migrations from django.conf import settings def move_exports_dir(*args): protected_root = settings.PROTECTED_ROOT if not os.path.exists(protected_root): os.makedirs(protected_root) private_root = settings.PRIVATE_ROOT if not os.path.e...
[ "thibault@miximum.fr" ]
thibault@miximum.fr
8977d91cf2d625a2a7c48015deea122296b0dbbd
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v11/errors/types/policy_validation_parameter_error.py
bd94e2c223278ab59ad4cc888cb14815fd30076c
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
1,416
py
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
163bfcb39340ee306f3109a417a970aa8e426ac9
225895b88bbfdf2194ef3df86fd590c2556275f9
/intellij-community/system/python_stubs/-1247972723/_dbus_bindings/__init__.py
8fc8b3d7677b0721361a3d21f2c4dbee3f8413d4
[ "Apache-2.0" ]
permissive
novokrest/JBIDEA
228d65681fbdb6b3534f7d18bcc944a5eafe6687
f43706f22a5d33e6d39c1c72ef4fdeee9e4472f6
refs/heads/master
2021-01-19T14:06:48.645122
2014-07-29T17:42:31
2014-07-29T17:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,829
py
# encoding: utf-8 # module _dbus_bindings # from /usr/lib/python2.7/dist-packages/_dbus_bindings.so # by generator 1.135 """ Low-level Python bindings for libdbus. Don't use this module directly - the public API is provided by the `dbus`, `dbus.service`, `dbus.mainloop` and `dbus.mainloop.glib` modules, with a lower-le...
[ "novokrest013@gmail.com" ]
novokrest013@gmail.com
28e5f35224a61fbf88e231e09995a51de98bc1d1
92d75c642a787665abde70f5d5401ab8177727ce
/docs/appendix/type.py
6db9ac19b3232a1d9f49cb5eeebea3b1dfdbdbbe
[ "MIT" ]
permissive
rhuygen/mkapi
2f973fbe3fa4e5aa04c7f11d3d09267dbcb3f291
ee8fa799a20f21bff6b8ad786b25ef1c19e84ef7
refs/heads/master
2022-10-15T22:58:58.168978
2020-06-12T07:59:17
2020-06-12T07:59:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,566
py
"""md # Type Annotation Examples {{ # cache:clear }} <style type="text/css"> <!-- .mkapi-node { border: 2px dashed #88AA88; } --> </style> """ import mkapi # ## Builtin Types def builtin(i: int, f: float, s: str, l: list, d: dict, t: tuple, e: set) -> bool: """Function with buitin type annotation. A...
[ "daizutabi@gmail.com" ]
daizutabi@gmail.com
da5f19a9bc3ce345d98ca120143fa6be2dc41c4d
d7e03480790cf9f7e077e4bdacb0dd623b9a41ec
/pycyt/errors.py
62db0b6f8511239a08d44bf8b6a978d441115462
[ "MIT" ]
permissive
jlumpe/pycyt-old
a1778bf9689c2a9782fe96b524a45e8e27e18996
d5b46d911490b8fa48c7dc42170b398d636e6f98
refs/heads/master
2022-11-21T08:06:40.396716
2016-03-14T02:39:10
2016-03-14T02:39:10
43,226,391
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
"""Package-specific errors""" class FCSReadError(IOError): """ Raised when reading an FCS file and something doesn't go as expected. """ def __init__(self, msg=None, path=None): """Generic default message, optionall with path of file""" if msg is None: msg_template = 'Error reading {0}, file may be corrup...
[ "mjlumpe@gmail.com" ]
mjlumpe@gmail.com
df05954dfbfeae84262a2f09a47e15b28303060c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2527/60699/235014.py
9d11d6db8096c2129ea5811d0055fc459dcc8cd7
[]
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
861
py
inp = input() length = len(inp) list1 = [] i = 0 while i <= length - 1: temp = [] while i <= length - 1: if inp[i].isdigit(): temp.append(int(inp[i])) elif inp[i] == ']': break; i += 1 i += 1 if (len(temp) != 0): list1.append(temp) restaurants=list...
[ "1069583789@qq.com" ]
1069583789@qq.com
7eeb97293f8d5c37bcd9b88def22b4cfc3714256
9727d8bd53a935caa2a2a2655e85f852646ce19e
/tag/utils/util.py
764108d964b5de797d6cd771607e051807cbd117
[]
no_license
tyrchen/kagalaska
86612c8976becd3f6ae6652d00b5a4c836e8ad1a
240eaeec5a566f351668fc4de8d2694c01a4654b
refs/heads/master
2016-09-05T22:31:57.441457
2012-11-24T02:32:03
2012-11-24T02:32:03
5,365,524
0
0
null
null
null
null
UTF-8
Python
false
false
2,382
py
# -*- coding: utf-8 -*- # __author__ = chenchiyuan from __future__ import division, unicode_literals, print_function from django.conf import settings def to_str(obj): if isinstance(obj, unicode): return obj.encode('utf-8') elif isinstance(obj, str): return obj else: return obj def to_unicode(obj):...
[ "chenchiyuan03@gmail.com" ]
chenchiyuan03@gmail.com
b46eb9a04b8e32df89896e5c5a2b88d14d5e3b10
93dd86c8d0eceaee8276a5cafe8c0bfee2a315d3
/python/paddle/fluid/tests/unittests/dygraph_to_static/test_cycle_gan.py
d6840ed62810e13648b869340a41691aa0e89101
[ "Apache-2.0" ]
permissive
hutuxian/Paddle
f8b7693bccc6d56887164c1de0b6f6e91cffaae8
a1b640bc66a5cc9583de503e7406aeba67565e8d
refs/heads/develop
2023-08-29T19:36:45.382455
2020-09-09T09:19:07
2020-09-09T09:19:07
164,977,763
8
27
Apache-2.0
2023-06-16T09:47:39
2019-01-10T02:50:31
Python
UTF-8
Python
false
false
21,720
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
hutuxian.noreply@github.com
6ef46e40715966480c6a9ccce0aee5cf9bdc011b
0fc4f615115fe2da514f17530cc46555dd0f14c3
/tests/loading/definition/responses/headers/single/test_items_validation.py
60e305c9e8c9f029c2d4541947e526e5729732b0
[ "MIT" ]
permissive
ossdev07/flex
c63469e00412a070bea2acaa6b652792bf891280
7486c2295dee87ae0663a35820c749ce4cf42989
refs/heads/master
2020-11-27T01:51:16.238689
2019-12-05T05:40:53
2019-12-05T05:40:53
229,262,607
0
0
MIT
2019-12-20T12:39:54
2019-12-20T12:39:53
null
UTF-8
Python
false
false
1,138
py
import pytest from flex.constants import ( ARRAY, ) from flex.exceptions import ( ValidationError, ) from flex.loading.definitions.responses.single.headers.single import ( single_header_validator, ) def test_items_is_not_required(msg_assertions): try: single_header_validator({}) except Va...
[ "piper@simpleenergy.com" ]
piper@simpleenergy.com
9d70a845aa05b5b82ff78d75e433c3d550d7cba6
92762e5f452aa84051f9c44eb76a34a0aa1099d2
/mmic/components/base/config.py
5a680f7f547b9d035f387218ef48fe20d7a0cf6a
[ "BSD-3-Clause" ]
permissive
pk-organics/mmic
8e4fbeeb9c0f0e90434906f6e52bbaa609ff9a36
5ac1a8dce982b6c1094cecc3dcca6ab9805f4f54
refs/heads/main
2023-03-22T04:36:58.537716
2021-03-23T17:25:26
2021-03-23T17:25:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
""" TaskConfig Model """ from typing import Any, Dict, Optional, Union import pydantic class TaskConfig(pydantic.BaseModel): """Description of the configuration used to launch a task.""" # Specifications ncores: int = pydantic.Field(None, description="Number cores per task on each node") nnodes: int ...
[ "andrew.gaam@gmail.com" ]
andrew.gaam@gmail.com
cf37dd1a33606873fee59d2c411b11531479fdd6
90294ad4065c56116c592796ade9463174776f04
/scripts/fit-streams.py
663b4583db0e718ba6542dac4e8010d0a03a8a75
[ "MIT" ]
permissive
adrn/StreamBFE
21c518da03e9d3c937e043a28662b705e5903839
a1749439d52fc20d44b0831b3dbb401b627e1275
refs/heads/master
2021-01-01T04:45:53.093862
2016-04-26T20:24:14
2016-04-26T20:24:14
56,625,942
0
0
null
null
null
null
UTF-8
Python
false
false
15,207
py
__author__ = "adrn <adrn@astro.columbia.edu>" # Standard library import os import sys import pickle # Third-party from astropy import log as logger import astropy.coordinates as coord import astropy.units as u import emcee import matplotlib.pyplot as pl import numpy as np import scipy.optimize as so import h5py impor...
[ "adrian.prw@gmail.com" ]
adrian.prw@gmail.com
80d79e3ecab032193849c6d564812f9af39f8541
ad5c6daba04c8e04054085f96d36f5b167a09a37
/src/lepl/regexp/unicode.py
8ba173f7135b1c0e695174f21a8e4311fabc4006
[]
no_license
nyimbi/LEPL
f49fee47a3c47d0291d2356e8a1e9b3120e32c05
0603505f187acc3c7da2e1a6083833a201f8b061
refs/heads/master
2021-04-15T13:40:32.860153
2018-03-26T14:00:25
2018-03-26T14:00:25
126,837,047
2
2
null
null
null
null
UTF-8
Python
false
false
4,101
py
# The contents of this file are subject to the Mozilla Public License # (MPL) Version 1.1 (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.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS" # b...
[ "nyimbi@gmail.com" ]
nyimbi@gmail.com
8b5da781ca0a6b9ff73c2af959e17e8dfd0c544a
fa6ac9e8ea1cadccb2bf8255d9b9be646bd653ae
/src/callback_watch.py
f7de0fbc1d04e39b331f5c9d54da994c3ccd854a
[]
no_license
zakopuro/openai_gym_baselines
cf1e78223ec6c53b5964139b618dbbb9a0f3ccfc
31e18f162a64c31bbbe7aae62335ba207238e7b1
refs/heads/master
2022-12-24T20:52:15.063845
2020-09-26T06:35:19
2020-09-26T06:35:19
297,920,806
0
0
null
null
null
null
UTF-8
Python
false
false
1,648
py
import gym import os import numpy as np import datetime import pytz from stable_baselines.bench import Monitor from stable_baselines.common.vec_env import DummyVecEnv from stable_baselines import PPO2 from stable_baselines.results_plotter import load_results, ts2xy # グローバル変数 num_update = 0 # 更新数 best_mean_reward = -np...
[ "zakopuro@gmail.com" ]
zakopuro@gmail.com
77c95a173d2491c9fef09ee1277c77c4a5de941f
a5d05e3cecfa6571016e41d19c982f1082714582
/ZCO14003.py
d86ade20108e8c0a1e8f5ec0bd1153ba0b2f02f8
[]
no_license
Sanket-Mathur/CodeChef-Practice
8ebc80eb9a32c90a5b3785348fca2048190dbeb0
cba5bc2eaaf5489cbd8e85acaca6f82d223cff4f
refs/heads/master
2023-08-08T05:59:42.755206
2021-09-26T12:44:15
2021-09-26T12:44:15
268,267,425
1
0
null
null
null
null
UTF-8
Python
false
false
219
py
try: N = int(input()) L = [] for _ in range(N): x = int(input()) L.append(x) L.sort() P = [] for i in L: P.append(i * N) N -= 1 print(max(P)) except: pass
[ "rajeev.sanket@gmail.com" ]
rajeev.sanket@gmail.com
b08ded63c6ec255a60548d40620e9d7719491c1a
3046c1cc7cb070f2daf69ea322a2801229c1efe9
/src/lk_db/ents/both/census/EntCookingFuelOfHousehold.py
4b1331c60e6cee0962b247ddd0dfdfd650e19930
[ "MIT" ]
permissive
nuuuwan/lk_db
aaf2c570837f9ed4af1db03bd9ec8f69b02d7b85
ac0abfa47ba31b0d4c2c8566b3101b83749bd45d
refs/heads/main
2023-07-21T22:07:02.327667
2021-09-09T05:25:37
2021-09-09T05:25:37
404,558,665
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
# Auto Generated - DO NOT EDIT! from lk_db.ents.both.EntCensusResult import EntCensusResult class EntCookingFuelOfHousehold(EntCensusResult): pass
[ "nuuuwan@gmail.com" ]
nuuuwan@gmail.com
224cc7cba2ab060d0cce0a7ba0ab3b0f61df49b2
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/3e9b3a8cfc28e97695a3573a19412316564082f4-<to_json>-fix.py
58ed7835767c05054a33ba85c95668a98f3cf4a7
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
def to_json(self): return prune_empty_keys({ 'prefix': six.text_type(self.prefix), 'subscope': (six.text_type(self.subscope) if (self.subscope is not None) else None), 'limit': self.limit, 'window': self.window, 'reasonCode': self.reason_code, })
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
bc40b8d431143c178bb1532bae875401d7cc0aa9
dc30781fdbd4c1582104781d860d4bf25bf9f9c3
/genomisc/plots/mds.py
ee3cc4afaf83ad6d460dcaa18498a8cc0b586c16
[ "Apache-2.0" ]
permissive
timodonnell/genomisc
5fe6538abc2ff6aa2d73a82dceb0dbecb7cdd37a
f28e80bac86c4d2d251dc26e8f325aa683960cdd
refs/heads/master
2021-01-23T18:50:28.401904
2015-06-16T23:24:05
2015-06-16T23:24:05
31,794,321
1
0
null
null
null
null
UTF-8
Python
false
false
403
py
import numpy from matplotlib import pyplot def plot_embedding(points, labels, colors=None): points = numpy.array(points) figure = pyplot.figure() pyplot.axes([0., 0., 1., 1.]) pyplot.scatter(points[:, 0], points[:, 1], color=colors) for i in range(len(labels)): pyplot.annotate( ...
[ "timodonnell@gmail.com" ]
timodonnell@gmail.com
4477f0f65503cc5cd1981039c53da6d69dd6daaf
37139630a41144529bbb95d573ffdf68bd9626d7
/onadata/__init__.py
c3b79d1d4162d42595c2b81c6ad3cb1c2cae12df
[ "BSD-2-Clause" ]
permissive
bilesanmiahmad/onadata
01b66b44d92d4d8724f5f251ec0d236fb1318c4a
244f0f15ac820b8d05f282998561ad2bc2578808
refs/heads/master
2020-07-18T00:16:24.074680
2019-09-03T15:25:20
2019-09-03T15:25:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
# -*- coding: utf-8 -*- """ Onadata django application, provides ODK Aggregate Server APIs, ODK Briefcase API and a REST API to manage data analysis, collection and visualization. """ from __future__ import absolute_import, unicode_literals __version__ = "2.0.9" # This will make sure the app is always imported when ...
[ "ukanga@gmail.com" ]
ukanga@gmail.com
5378d1308313b6416a190bacf8827087af0c5bd9
39cb8284731dbc8ea4d495489b24688a212f3fa1
/profiles_api/views.py
bcdd753f7525fa9d4a93f7991b9249f515ca9e2f
[ "MIT" ]
permissive
BarunBlog/profiles-rest-api
ba4615fda597b5895180ba3a9bf87b1f2819b9ef
48e8f8b66b61d8a47a6aea16ca3a4971fee3f505
refs/heads/master
2022-12-25T21:24:58.250315
2020-10-11T05:46:00
2020-10-11T05:46:00
301,616,573
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
from rest_framework.views import APIView from rest_framework.response import Response class HelloApiView(APIView): """Test API View""" def get(self, request, format=None): """Returns a list of APIView features""" an_apiview = [ 'Uses HTTP methods as function (get, post, patch, put,...
[ "bhattacharjeebarun25@gmail.com" ]
bhattacharjeebarun25@gmail.com
4306f4889a38ccd66f43eb079e8a9a1c9057a758
8c680fc22c005aadc84deff33850d819e943124a
/bobstack/sipmessaging/concretesipmessages/cancelSIPRequest.py
d042577da4fda57b1f3257bcf3d3f036e5980a59
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bobjects/BobStack
abc824b8513d826cbc725e8fbd3837ae8e03d646
c177b286075044832f44baf9ace201780c8b4320
refs/heads/master
2020-04-06T05:12:35.041273
2017-10-08T23:39:35
2017-10-08T23:39:35
50,403,711
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from ...sipmessaging import SIPRequest class CANCELSIPRequest(SIPRequest): @property def is_cancel_request(self): return True @property def is_known(self): return True
[ "bob@bobjectsinc.com" ]
bob@bobjectsinc.com
33dc0bd6417b2f5a49cf3ec1cea8b3a01aacea12
749bd7db8d1902274a47bb7d98b9d6ced3ef6b68
/S-NET/nmt_snet_4/nmt/scripts/rouge.py
1bd684665ad63e71ec681a696978015e1f56322b
[]
no_license
burglarhobbit/machine-reading-comprehension
37582e0fdca4690bd55accf33987b5fce1f663ea
04729af3d934a7696938f4079089b9b014c986aa
refs/heads/master
2023-02-08T10:39:19.262900
2020-01-11T04:08:30
2020-01-11T04:08:30
114,113,176
29
15
null
2023-02-02T02:32:54
2017-12-13T11:34:36
Python
UTF-8
Python
false
false
12,696
py
"""ROUGE metric implementation. Copy from tf_seq2seq/seq2seq/metrics/rouge.py. This is a modified and slightly extended verison of https://github.com/miso-belica/sumy/blob/dev/sumy/evaluation/rouge.py. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function fro...
[ "bhavyapatwa007@gmail.com" ]
bhavyapatwa007@gmail.com
014f076094227cf38e1411a11e972b3886c2429f
60c9d72d4128ebf1d1658f878b0f96df2893b546
/30-Days-of-Code/Day24-linked-list-delete.py
7cff8a9627aff4f03c61f55a9d6ae209b283e538
[]
no_license
kylemaa/Hackerrank
d4f8076f39ccf825835219c1e9961c8f550dd5e1
ce6079777f28e05be0505be4eb0b6c2c87f1fe85
refs/heads/master
2020-08-06T06:23:03.920477
2020-06-23T19:34:40
2020-06-23T19:34:40
212,870,001
1
1
null
null
null
null
UTF-8
Python
false
false
1,137
py
class Node: def __init__(self,data): self.data = data self.next = None class Solution: def insert(self,head,data): p = Node(data) if head==None: head=p elif head.next==None: head.next=p else: ...
[ "kylemaa95@gmail.com" ]
kylemaa95@gmail.com
36a11aceee3b67ae790d053a9a470bc250b0ad57
80a2ce90dbf509314ebcaee9f0bef1b919415c25
/common_utils/tests/conftest.py
82bf157e88418681cd2b0e2584d83a6b51f665e1
[ "MIT" ]
permissive
City-of-Helsinki/youth-membership
9c22a50681c40dc128da4c529a6a20c90f17f2f2
0f3294765fab4fce78629437fcd2f9cdaae4abc9
refs/heads/master
2023-07-08T11:35:57.190776
2023-06-29T11:50:36
2023-06-29T12:03:08
239,963,892
2
1
MIT
2023-06-29T12:03:40
2020-02-12T08:41:08
Python
UTF-8
Python
false
false
882
py
import pytest from common_utils.utils import read_json_file from youth_membership.tests.conftest import * # noqa @pytest.fixture(scope="session") def my_profile_response(): """ProfileNode:5b36406d-da95-4cb0-88d8-2ec6f80e9fc9""" return read_json_file(__file__, "responses", "my_profile_response.json") @pyte...
[ "juha.louhiranta@anders.fi" ]
juha.louhiranta@anders.fi
43766f61a9db8cc2ab309dd7b97ac1af5bb4ed7c
36efbe2faf6f687a7be88f338ec52f221734304a
/demo/oop/account.py
8e054324038b9518563f8338a03af852c0c1240e
[]
no_license
tejdeep-mitta/PYTHON_29_OCT_2020
02ad622c517b08649f30d02379681d454483d0d1
fda08f2192d0f889e188c6a08195674cf8748ac8
refs/heads/master
2023-01-18T19:58:52.194515
2020-11-23T02:26:19
2020-11-23T02:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
class SavingsAccount: # Static variable or Class attribute minbal = 5000 @staticmethod def setMinbal(minbal): SavingsAccount.minbal = minbal @staticmethod def getMinbal(): return SavingsAccount.minbal def __init__(self, acno, ahname, balance=0): # Object Attributes...
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
df655d452b60fdcebc45b136035b48fcebf2cd7b
6e1549257568a0ca81b3fc5864e2e1fa65171b06
/salarydk/models/inline_response20016.py
2de3623f94fecaab636a32fb126c26ca1b7237e9
[]
no_license
tdwizard/salarydk
19d3453de8fbdd886a0189dbf232f98de971e18a
dcf5040101b3e576f1068ea104148651e5c66511
refs/heads/master
2023-08-05T05:40:09.561288
2021-09-24T09:41:43
2021-09-24T09:41:43
409,910,180
0
0
null
null
null
null
UTF-8
Python
false
false
7,643
py
# coding: utf-8 """ Salary.dk API This is the public API for Salary.dk. # General Our API is a JSON-based, REST-like API. Our webapp uses the exact same API, so everything you can do in our webapp, you can do through our API. However, we are slowly opening up the API, so not all endpoints are documented her...
[ "tdrobiszewski@tdwizard.com" ]
tdrobiszewski@tdwizard.com
3187439f368a4e90a53fbbdee0fe8c39bcc1e4be
52b5773617a1b972a905de4d692540d26ff74926
/.history/trapping_20200617165425.py
fd96bfed3d3da8497a9b4b18da69792fa213a720
[]
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
175
py
def trap(arr): for i in range(len(arr)): # find the maximum on its left left = arr[i] print("left",left) trap([3,0,2,0,4])
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
93ccb3a99c9b22f1c9d8065d0f3023ded9e7945d
15fd4dcb1ca31fd882e02c3e9d2c6e950093c47c
/myenv/bin/pip3.7
bc62e200452586ed383b1cd183f6a7abd64dc3c3
[]
no_license
sanix-sandel/SoNet
50d76834bda7c0bd72c530a012a753cfdd4d7ad6
5f352af76569141b360573ad222ff35df0449a1d
refs/heads/master
2022-11-12T12:41:50.578913
2020-07-06T17:47:00
2020-07-06T17:47:00
257,199,042
0
0
null
null
null
null
UTF-8
Python
false
false
244
7
#!/home/sanix/Documents/SoNet/myenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sanicksikani@gmail.com" ]
sanicksikani@gmail.com
a23a1dc6cffd0eaed73c667a2592f2db968007fe
1eaaeee197d0809f354b8dfe669ecc2fe8424757
/Python_Challenge_115/6/F.py
de2d96eb9081272f5172b90d540db88b204c04b4
[ "MIT" ]
permissive
jhleed/LikeLion_Django_Study_Summary
4ec3ae9b05b24eca370075c613c70211da957c1c
c788182af5bcfd16bdd4b57235a48659758e494b
refs/heads/master
2022-03-27T16:53:42.886054
2019-12-07T03:49:33
2019-12-07T03:49:33
265,724,111
1
0
MIT
2020-05-21T01:22:33
2020-05-21T01:22:33
null
UTF-8
Python
false
false
427
py
''' Statement Fibonacci numbers are the numbers in the integer sequence starting with 1, 1 where every number after the first two is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, ... Given a positive integer n, print the nth Fibonacci number. Example input 6 Example output 8 ''' num = int(input()...
[ "alstn2468_@naver.com" ]
alstn2468_@naver.com
fab83340cc67601e9839a71904d0fcde468793f3
1cfb54adac19bfd69cc58ab23918925a800494c4
/youtube_project/youtube_app/forms.py
6a68df74e085dd61b1ab5a32311752646fec416a
[]
no_license
SatishNitk/youtube_clone
f743bae04190d4a3c0881a2a1b3daf23d9d9e468
698c94d5ef9689428da6a35b01928fd071978772
refs/heads/master
2020-06-18T20:08:56.113547
2019-07-28T04:56:52
2019-07-28T04:56:52
196,431,093
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
from django import forms class LoginForm(forms.Form): username = forms.CharField(label="username",max_length=30) password= forms.CharField(label="password", max_length=30) class RegisterForm(forms.Form): username = forms.CharField(label="username",max_length=30) password= forms.CharField(label="passwo...
[ "satishkrgu95@gmail.com" ]
satishkrgu95@gmail.com
498b626cf99104517faf5fd5540ce0350055e4c9
e8bae13e1dd475ef559fb0e24d66af9db08d324b
/bookmarks_example/actions/migrations/0001_initial.py
ad144b4ecb841cb3ef208a0e4c794f9578451224
[]
no_license
unixxxx/django_examples
de00d2370161b89f405f8d77024c52fc31161254
9ff65f5b895e0d7d85557dea9cc35f14e7fa9f65
refs/heads/master
2021-01-18T17:53:34.623893
2017-04-24T11:10:45
2017-04-24T11:10:45
86,822,325
1
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-07 12:45 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('contentt...
[ "sh.jashiashvili@gmail.com" ]
sh.jashiashvili@gmail.com
5057c0027da2419a43bce083ac769862d9d2c3f7
2cd980e7d2e60fe3b659d23ade346e651fe4f3bb
/NBA_Data_Analysis/NBA-Data-Analysis.py
3be5cd7ffd6e5c1c8c492cf6f1d54526877de763
[]
no_license
nbgao/Python-Project
79666c86e68531c6a9312576785e88ebb028a68f
9665aec2adb9e85ec333a1bccc014d27b15b949a
refs/heads/master
2021-01-02T23:01:12.147940
2019-05-03T09:05:05
2019-05-03T09:05:05
99,439,676
2
1
null
null
null
null
UTF-8
Python
false
false
5,716
py
# coding: utf-8 # ## 1. 导入相关模块 # In[1]: import pandas as pd import numpy as np import math import csv import random from sklearn import linear_model from sklearn.model_selection import cross_val_score # ## 2. 设置回归训练时的参数变量 # In[2]: # 当每支队伍没有Elo等级分时,赋予其基础Elo等级分 base_elo = 1600 team_elos = {} team_stats = {} X = [...
[ "nbgao@126.com" ]
nbgao@126.com
61508c16c1e2d5d03e3817d87188cdc5664b014d
85b2c758837e37937d431f6e71ca1d6a39685b3f
/1905-exploits/ecs31-dos.txt
bd44b848533a7df88de3fd1186bf4ca9b46b916d
[]
no_license
Silentsoul04/packetstorm-exploits
e737f4ed192b47866aff113df8818117410615e3
f6c0733c76b2c8f86d8e05e70f80a87faa0e0267
refs/heads/master
2023-02-01T21:56:43.721503
2020-12-16T15:48:54
2020-12-16T15:48:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
txt
#!/usr/bin/python #--------------------------------------------------------- # Title: Easy Chat Server Version 3.1 - (DOS) # Date: 2019-05-07 # Author: Miguel Mendez Z # Team: www.exploiting.cl # Vendor: http://www.echatserver.com # Software Link: http://www.echatserver.com/ecssetup.exe # Platforms: Windows # Version: ...
[ "sepehrdad.dev@gmail.com" ]
sepehrdad.dev@gmail.com
864a48b50b84b72e3517402937bcf15adf616a7f
da33244d31996a4549b32c21d9bead58d9b5dbae
/algorithm-solution/sqrtInt.py
a153d0942ab38d68261278a752574f6dadb9b5af
[]
no_license
Vutsuak16/LeetCode
85fcc55a208336f877b3f07ee9e7aca72e9f6be8
4a8edc573879addd0e432cce50949676bcd649ce
refs/heads/master
2021-09-06T13:55:11.287050
2018-02-07T07:19:26
2018-02-07T07:19:26
103,197,989
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
#thing I learnt : INTEGERS HAVE BINARY SEARCH PROPERTY AS THEY ARE SORTED def mySqrt(x): if x==0: return 0 if x==1: return 1 start=1 end=x ans="" while(start<=end): mid=(start+end) / 2 if m...
[ "vutsuak96@gmail.com" ]
vutsuak96@gmail.com
92da86fcef3a60787d0cd84cc078cefa73c9da39
89afb47648305068fa7ca75164052da20c7c7eb4
/core/urls.py
9a47f488de803860d2149ec12491b89c7bbd20d0
[]
no_license
cclague/RaceDB
a0bc21c750049a0bf0d2f79fc1e9f88c60775b01
e760138436d1f9ee0745bf58e10b68ebc99dc8a9
refs/heads/master
2023-01-30T12:49:34.707725
2020-12-08T21:37:28
2020-12-08T21:37:28
319,435,453
0
0
null
2020-12-08T21:37:29
2020-12-07T20:24:27
null
UTF-8
Python
false
false
25,876
py
from django.conf.urls import re_path from django.contrib.auth import views as auth_views from django.views.generic import RedirectView from core import views from core import participant from core import self_serve from core import number_set from core import seasons_pass from core import discipline from core import r...
[ "edward.sitarski@gmail.com" ]
edward.sitarski@gmail.com
8db40eeb0b0a2c08bad219d2311b54272db76be1
a3f45a3189fc0f26fd03803bc7b8f5bac17fdeee
/Tests/32-default-heights.py
f5e729b604b95476da56a3e7205ebbbab20376fd
[ "MIT" ]
permissive
coldmax88/PyGUI
128ee1259830ae1d7ab7eeabbff21bc9c5b14863
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
refs/heads/master
2023-03-16T00:37:52.220603
2018-05-17T07:11:38
2018-05-17T07:11:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
# # PyGUI - Default control height test # import sys from GUI import Window, Label, TextField, Button, CheckBox, RadioButton, Slider, \ StdFonts, Font, run from testing import say #from AppKit import NSLayoutManager #nslm = NSLayoutManager.alloc().init() # #def showfont(n, f): # say("%s: %s" % (n, f)) # say("heigh...
[ "greg.ewing@canterbury.ac.nz" ]
greg.ewing@canterbury.ac.nz
c1c663c87048bb8d1cbdb766209be13be6074c96
e6c6b7a22252a32617c6340c6eb099c77f2097ae
/webnotepad/notepad/urls.py
e515857532c6efcffb7c9a39f7a5acbded1cd9ae
[]
no_license
brave-jang/WebNotepad
70a210a3b797a3b47e4e22b83425214eeb841299
51b5f30a4c50b0e30deabf5654c51a34862a5ef3
refs/heads/main
2023-02-10T03:52:10.288854
2021-01-06T08:11:51
2021-01-06T08:11:51
326,602,770
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
from django.urls import path, include from .views import memo_list, memo_write, memo_detail, memo_edit app_name = "notepad" urlpatterns = [ path('', memo_list), path('write/', memo_write), path('<int:post_id>/', memo_detail, name="detail"), path('edit/<int:post_id>', memo_edit, name="edit") ]
[ "wkdrmfmt@gmail.com" ]
wkdrmfmt@gmail.com
4f84f8e5827e3040bc600fa80f5547b93eafda31
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03282/s855343582.py
c5286c1021cec08a02d57ddf96d23a1df054467b
[]
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
139
py
N = input() K = int(input()) ans = '1' for i in range(K): if i >= len(N): break if N[i] != '1': ans = N[i] break print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
45eb17f0b32304f72ab616596249367676a695fc
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_W_focus_Zok_div/ch096/woColorJ/Sob_k05_s001_EroM/pyr_Tcrop255_p60_j15/pyr_5s/L6/step10_a.py
3ed9d84b43daf29e2d8f506304856ebd33dfee1f
[]
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
251,154
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
991ad9efa220b71680968601a550d7553304a752
747febe786dd6b7fd6c63cfe73dbe3023354daa8
/src/the_tale/the_tale/game/bills/tests/test_road_change.py
d71c31b14c19cfcb4d90c252a380c9ffe98fe7af
[ "BSD-3-Clause" ]
permissive
the-tale/the-tale
4e4b8d91dc873a5fb935fe58e9721a877baa6d3f
e8450bd2332344da805b1851e728da5a3e5bf0ef
refs/heads/develop
2023-08-01T13:53:46.835667
2022-12-25T18:04:56
2022-12-25T18:04:56
1,949,167
98
52
BSD-3-Clause
2023-02-15T18:57:33
2011-06-24T18:49:48
Python
UTF-8
Python
false
false
8,517
py
import smart_imports smart_imports.all() class RoadChangeTests(helpers.BaseTestPrototypes): def setUp(self): super().setUp() self.new_path = 'rddr' self.old_road = roads_logic.road_between_places(self.place1, self.place2) self.assertNotEqual(self.new_path, self.old_road.path)...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
91728ceebe7544d11bf328ab4c1b754110dc2275
3a533d1503f9a1c767ecd3a29885add49fff4f18
/saleor/app/migrations/0010_update_app_tokens.py
762262fa21001cda435c7dc82b4e392020f9fb06
[ "BSD-3-Clause" ]
permissive
jonserna/saleor
0c1e4297e10e0a0ce530b5296f6b4488f524c145
b7d1b320e096d99567d3fa7bc4780862809d19ac
refs/heads/master
2023-06-25T17:25:17.459739
2023-06-19T14:05:41
2023-06-19T14:05:41
186,167,599
0
0
BSD-3-Clause
2019-12-29T15:46:40
2019-05-11T18:21:31
TypeScript
UTF-8
Python
false
false
1,233
py
# Generated by Django 3.2.12 on 2022-03-29 10:04 from django.contrib.auth.hashers import make_password from django.db import migrations BATCH_SIZE = 10000 def update_app_tokens(apps, schema_editor): AppToken = apps.get_model("app", "AppToken") queryset = AppToken.objects.all() for batch_pks in queryset_...
[ "noreply@github.com" ]
jonserna.noreply@github.com
59966de6076cd65320d8430bf4231d1cdf5844c6
ab9db05162f0a477cae6d2e93ad18ef433983739
/stroki/problem11.py
d4766c6f755c09778f38da7ee810543f578daa6b
[]
no_license
Nurzatnur/rabota2
271073c36e9081fd440065f168a21804696d12e1
96d2d6e3363e2ca6affa87fbca2b5e825fe9283d
refs/heads/master
2023-03-08T08:37:22.918927
2021-02-22T12:35:06
2021-02-22T12:35:06
340,947,594
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
v = 'хакеры слили в сеть данные пакистанской энергетической компании k-Electric' d = v.split() c = [] w = "" for s in d: c.append(s.title()) for t in range(len(c)): w = w + c[t]+" " print(w) print()
[ "nurzatnur25@gmail.com" ]
nurzatnur25@gmail.com
759c29e0552b384c3f8453fa125fab481d1550d4
7f446cbc9cfeff35ddca053e924612b6b8febb0d
/.pycharm_helpers/python_stubs/-533200126/gi/_gi_cairo.py
3cb42d48bc3f0ed87f44cba10b77b81da35896a0
[]
no_license
theskyareblue/testdemo
2832f9d643a0b2905b8fb38f78f02f60959f34a2
833afe4ea8dd92ebaed5fd40f1ad6ce4a1206604
refs/heads/master
2023-04-09T07:40:27.638892
2019-06-21T03:34:32
2019-06-21T03:34:32
192,511,828
1
0
null
2023-03-16T16:19:55
2019-06-18T09:46:52
Python
UTF-8
Python
false
false
170
py
# encoding: utf-8 # module gi._gi_cairo # from /usr/lib64/python2.7/site-packages/gi/_gi_cairo.so # by generator 1.145 # no doc # no imports # no functions # no classes
[ "234315653@qq.com" ]
234315653@qq.com
800245082131d8c5de6ee28f9e0310ae37ece7a4
620b58e17d4851e43bd1270cabc8c26f43629a7b
/lib/candy_editor/qt/controls/EditorCommon/IEditor.py
fcbec3864eb7ac28bf84dfea9570da0f4e82f9ca
[ "MIT" ]
permissive
lihaochen910/Candy
78b9862cf06748b365b6fb35ac23f0e7a00ab558
d12cb964768459c22f30c22531d3e1734901e814
refs/heads/master
2022-11-25T19:12:34.533828
2021-11-07T16:11:07
2021-11-07T16:11:07
141,284,960
1
1
NOASSERTION
2022-11-22T09:20:08
2018-07-17T12:12:02
Lua
UTF-8
Python
false
false
3,687
py
from abc import ABCMeta, abstractmethod from enum import Enum, IntEnum from .Commands.CommandManager import CEditorCommandManager from .ToolBar.ToolBarService import CToolBarService from ..QToolWindowManager.IEditorClassFactory import CClassFactory class EEditorNotifyEvent ( Enum ): Notify_OnInit = 'OnInit' Notify...
[ "lihaochen910@hotmail.com" ]
lihaochen910@hotmail.com
bf17656cd8182e345ada0fb1020bdf50477cb9a7
3e9cd7999638d45c9b8ba17c2c10bcf092a5e94a
/apps/utils/YunPian.py
7faa772f80413e9607d4d2749c29edb75a6ba752
[]
no_license
tang1323/Mxonline
becc562807a1acebf6825e2dec6c553ab47d2e1a
2f4ed6f2a712e6cd1b39ac87c68d11f72873f9a1
refs/heads/master
2023-04-09T21:16:33.254976
2021-04-14T14:28:37
2021-04-14T14:28:37
357,934,819
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
import requests import json # json是我们最常用的数据常用类型 def send_single_sms(apikey, code, mobile): # 发送单条短信 url = "https://sms.yunpian.com/v2/sms/single_send.json" text = "【唐明锐】您的验证码是{}。如非本人操作,请忽略本短信".format(code) res = requests.post(url, data={ "apikey": apikey, "mobile": mobile, "t...
[ "1171242903@qq.com" ]
1171242903@qq.com
7403909e499ffe8bd77f32112f83d371460d52ce
6a28ccbaa175c08430a07a86c42954dec1b6a301
/snippets/urls.py
ff8ad52c3cfa07b3caacae13e13cf993d0f1feb1
[]
no_license
qmnguyenw/tutorial-DRF-snippets
71a9c350f4b1ec54de3f4499642a846abf774a4d
da9db064058148e8e14818cdf0fff86926dcda2d
refs/heads/master
2022-12-14T16:34:37.055879
2020-05-09T10:24:49
2020-05-09T10:24:49
240,566,933
0
0
null
2022-12-08T03:36:55
2020-02-14T17:48:18
Python
UTF-8
Python
false
false
1,015
py
# from django.urls import path # from snippets import views # from rest_framework.urlpatterns import format_suffix_patterns # urlpatterns = [ # path('snippets/', views.snippet_list), # path('snippets/<int:pk>/', views.snippet_detail), # ] # urlpatterns = format_suffix_patterns(urlpatterns) from django.urls i...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
e0c05384bd05d4cfa5eb0cada3a3ed03c755d976
f1056661b869efe5f8080042ecc0eb8e05853e13
/database/create_other_data.py
6d98628f2af7b134db4ac82f196f2242dcdd4551
[]
no_license
HyuncheolOh/snopes
16e631dc390e36c56c10b48fc0a62ba6a6e1f44b
5ab76dc99f8ab1024cf36a82de99fba7d9c7310f
refs/heads/master
2020-03-11T14:05:07.326024
2018-06-20T06:13:16
2018-06-20T06:13:16
130,043,528
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
import MySQLdb def sql_connect(): conn = MySQLdb.connect(host="localhost", user="root", passwd="mmlab", db="fake_news") cursor = conn.cursor() return conn, cursor def sql_close(cursor, conn): cursor.close() conn.close() if __name__ == '__main__': conn, cursor, = sql_connect() sql ...
[ "hcoh@mmlab.snu.ac.kr" ]
hcoh@mmlab.snu.ac.kr
9ffa5364eab8afc8c26fa83deea1eadc0e6bdb8a
835db5ec0fc127df1de58a9a3af4a869a1a7cd84
/assignments/dictionaries/name_number.py
43e60482413edab078512474d68e1f08881cb4ca
[]
no_license
thorhilduranna/2020-3-T-111-PROG
3ba097e1b54d68bdd6efbf1d7f90911a9336fa5a
c9758b61256aa6e39a3308e576c8ad0bf2b6d027
refs/heads/master
2023-02-09T23:39:22.879653
2021-01-07T12:59:19
2021-01-07T12:59:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
def get_name_number_pair(): '''Returns a tuple of name and number entered by the user''' name = input("Name: ") number = input("Number: ") return (name, number) def dict_to_tuples(a_dict): '''Returns a list of tuples contains the key-value pairs in a_dict''' tuple_list = [] for key, value i...
[ "hrafnl@gmail.com" ]
hrafnl@gmail.com
447f5063d24748abbcf40707be9436bbcfbda59e
2a49a67daded95614d2545ec426160b975c0b871
/tests/test_terminalcontrol.py
56f144a7ae8763f33bf5d1700bbfc6ea7748fb2e
[ "MIT" ]
permissive
thomasballinger/scottwasright
ff2f2edd930a490814fe4744db21137917ff9de8
0956a10bb3b7f0b69f86ed32eb964cc955060457
refs/heads/master
2020-04-14T15:10:13.072519
2014-06-10T13:11:15
2014-06-10T13:11:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,940
py
import unittest from scottsright.events import WindowChangeEvent from cStringIO import StringIO from scottsright.terminalcontrol import TerminalController import pyte class Translator(object): def __init__(self): self.out = StringIO() self.stream = pyte.DebugStream(self.out) self.last_tell...
[ "thomasballinger@gmail.com" ]
thomasballinger@gmail.com
4339bc34284c6471c54f1e3a16151aa305e29a80
eb77bc768eccb93418ae5dcffe5722b08f1dc742
/tests/test_cli.py
e4d83021f5c5ebdf5137b488c2dd97fc2feb4d4c
[ "MIT" ]
permissive
citizenlabsgr/osmerge
bc57003ea0d70dcdcf146ba9f2d51b30ea37af30
2a0004a5411e8e18846e1d3d69333f6b2f4b7cd1
refs/heads/develop
2020-12-28T22:00:51.066746
2017-02-24T01:20:56
2017-02-24T01:20:56
68,758,269
0
0
null
2016-12-07T01:51:11
2016-09-20T22:25:12
Makefile
UTF-8
Python
false
false
1,646
py
# pylint: disable=unused-variable,expression-not-assigned,redefined-outer-name import sys import pytest import scripttest from expecter import expect @pytest.fixture def env(tmpdir): path = str(tmpdir.join("test")) env = scripttest.TestFileEnvironment(path) return env @pytest.fixture def cli(env): ...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
4c1cd9492812f3d4a812e1ce53a56a21ddde8e8a
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/23513001.py
55d8deb3a0fd610bf134526208b821ecb679730b
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/23513001.py generated: Fri, 27 Mar 2015 15:48:15 # # Event Type: 23513001 # # ASCII decay Descriptor: [D_s+ -> ( tau+ -> mu+ mu+ mu- ) nu_tau]cc # from Configurables import Generation Generation().EventType = 23513001 Generation().SampleGenerationTool = "...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
e6b69fe7d1cb2d729069f4c09ce5abff151640f8
dcaaadfcd17b447d06aa7206b8693264ed62c08c
/tests/testJsonConfig.py
f867b64fd5a63232837954ecfc655044b9578412
[]
no_license
thorbenk/lazyflow
6749b27cdf8dc20805901f228d477ae5d24ad831
45bc9b758bfb1219e606a119cb70c8b568dd9adb
refs/heads/master
2021-01-18T13:55:27.598696
2013-04-08T17:36:05
2013-04-08T17:36:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,574
py
import os import sys import copy import tempfile import shutil import collections import numpy import nose from lazyflow.utility.jsonConfig import Namespace, JsonConfigParser, AutoEval, FormattedField import logging logger = logging.getLogger(__name__) logger.addHandler(logging.StreamHandler(sys.stdout)) logger.setLe...
[ "bergs@janelia.hhmi.org" ]
bergs@janelia.hhmi.org
a7c6868dd619779e076871a3bc95d5f69c9b60d3
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/python/71daa7a2d45ebc38d67b0ebe405f0d2af2426570manager.py
71daa7a2d45ebc38d67b0ebe405f0d2af2426570
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
1,592
py
from irc import Irc from broker import Broker from events import Quit as QuitEvent from multiprocessing import Process, Queue import settings from os import path from imp import load_source class Manager(object): def __init__(self): self.rxq = Queue() self.txq = Queue() self.inputs = [] ...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
bbaa074c4124734073b5acf02e7ee20bf025d67c
996f6021fa31c7d73a81407fbb4ce09eb3b1f655
/.history/Magician_main_20210925102428.py
0c5551585c196f5a52143826100ec1071d79854a
[]
no_license
leonardin999/My-Robotics-Toolbox
d27819e2686a39bc5b0186f041d5cb56e3c5190f
856dc64cbf3a079766920a9e39a33dddfb69e0c5
refs/heads/main
2023-08-22T21:50:13.640034
2021-10-24T06:45:20
2021-10-24T06:45:20
408,374,970
1
0
null
null
null
null
UTF-8
Python
false
false
5,815
py
import sys import matplotlib import platform import os from matplotlib import cm matplotlib.use('Qt5Agg') from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.figure import Figure import matplotlib.ticker as ticker from matplotlib.animation import FuncAnimation from PyQt5 ...
[ "89053434+leonardin999@users.noreply.github.com" ]
89053434+leonardin999@users.noreply.github.com
63b650d2c8975cde5d20a87f2d3668164cba89c3
457e2f5b2a26877df739e314ec1560e8a3ecfb97
/jointHierarchy/jointHierarchy_v04.py
de5d4dae37db1633c924d3f0a7020c0942706195
[]
no_license
mappp7/tools
f6685d9a682bd540d59c1bff0cebb60f79fd6556
c537e7648112c51ba4f44225418e773ee6b8be6c
refs/heads/master
2021-01-14T16:40:44.450790
2020-10-30T05:30:27
2020-10-30T05:30:27
242,682,763
1
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
import json import os import maya.cmds as cmds jsonPath = os.path.abspath('/dexter/Cache_DATA/CRT/member/taewoo/scripts/jointHierarchy/jointList.json') dirList = ['hipList','shoulderList','indexList','middleList','ringList','pinkyList','thumbList','legList'] with open(jsonPath, 'r') as o: JD = json.load(o) JL = ...
[ "56536931+mappp7@users.noreply.github.com" ]
56536931+mappp7@users.noreply.github.com
27e5927cf49dcc9591d7b821fe019f9648a1bd13
f3d025255368bf17ddaef02c94ab4daf39a69ff2
/figures/direct-recovery/differential.py
520185aaa8ad21aed02dd77cc5bdb2298e5084ea
[]
no_license
jason-neal/PhDThesis
fcc08c7b9efa7618cd6b03d243cc06f45c3e91d3
78a6f632e805894e60b57fdeb135aec16d151e2e
refs/heads/master
2021-03-19T11:32:06.997335
2020-01-15T09:44:44
2020-01-15T09:44:44
45,697,310
0
0
null
2019-12-27T11:46:12
2015-11-06T17:41:30
TeX
UTF-8
Python
false
false
12,881
py
import copy import glob import sys import matplotlib.pyplot as plt import numpy as np from TelluricSpectra import Obtain_Telluric as obt from astropy.io import fits from mingle.utilities.crires_utilities import barycorr_crires_spectrum from spectrum_overload.spectrum import Spectrum from utils.rv_utils import RV sys....
[ "jason.neal@astro.up.pt" ]
jason.neal@astro.up.pt
53b4698ace0cdea9bf98d19d6ab3d97244244b37
ed91c9b589ea539670173348def5cb99467b5154
/movie_list/ipcontent/Tester.py
6d632298219f43ef15534aced85e3b3a663b7a4c
[]
no_license
xingtianwuganqi/python_spider
cace4e9ce839fbda51824bfdf3eac16bd4b4d56c
f8330ea20cb8c2ccfd2229ace7d9ee8cb40605ca
refs/heads/master
2023-02-23T10:24:12.522942
2022-02-24T15:18:45
2022-02-24T15:18:45
203,012,770
0
1
null
2023-02-08T00:42:53
2019-08-18T14:07:37
Python
UTF-8
Python
false
false
1,863
py
VALID_STATUS_CODES = [200] TEST_URL = "http://www.beiwo888.com/list/1/" BATCH_TEST_SIZE = 20 import asyncio import ssl from ipcontent.RedisClient import RedisClient import aiohttp import time class Tester(): def __init__(self): self.redis = RedisClient() async def test_single_proxy(self,proxy): ...
[ "254032134@qq.com" ]
254032134@qq.com
1ef49e824e9ca47b1eb4525431899b6056f7898c
ff075ec9ed3e36d07e71eeeee38ee5db49dcd976
/pyclopedia/p03_stdlib/_datapersistance/sqlite3/cursor_fetchone_fetchall_fecthmany.py
ae9e2454f3b83c278736c2b4c4736f95149602f8
[ "MIT" ]
permissive
MacHu-GWU/pyclopedia-project
bdbc818012bfa163401d6dae367d742d51249fd0
c6ee156eb40bc5a4ac5f51aa735b6fd004cb68ee
refs/heads/master
2021-01-21T14:44:17.671507
2019-03-25T16:40:20
2019-03-25T16:40:20
59,604,497
0
0
null
null
null
null
UTF-8
Python
false
false
1,565
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 在select操作中, cursor的fetchone, fetchall, fetchmany方法的区别。 """ import sqlite3 connect = sqlite3.connect(":memory:") cursor = connect.cursor() # Create Table cursor.execute("CREATE TABLE test (id INTEGER)") # Insert Test Data records = [(i, ) for i in range(1000)] curso...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
9e473a316e4892bc88978ba60c87faa6793eaffe
752d4c8688edbe28d92c8d701a0958cfef0467f9
/other-source-bak/feet8/feet8/feet8/dbop/attachment_mixin.py
afa979c500fe90c8e0c1d279e46f3bd46f552d64
[]
no_license
ww-yang/scrapy-utils
0bccc24828af48b2fe3b3e4d02983a505f09bd98
72bbf65860a0b25f277d83c3e0cf6cd7655c9fa3
refs/heads/master
2021-01-18T02:39:26.849664
2013-10-01T00:58:30
2013-10-01T00:58:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
#coding=utf8 #!/usr/bin/env python """ Author:wuya @ smallteam Date: 13-7-3 """ from __future__ import division, print_function, unicode_literals from feet8.utils.digest import url_digest __metaclass__ = type class AttachmentMixin(): def save_attachment(self, attach): # noinspection PyUnresolvedReferen...
[ "daipeng123456@gmail.com" ]
daipeng123456@gmail.com
7d6300e06d952a7983bef3391ccd095f3f74aef0
04696efad0892eb7a94202a60a9c5a9c0e7aef39
/sanggeon_obd/mmdetection_trash/configs/trash/swin/mask_rcnn_swin_tiny_patch4_window7_mstrain_480-800_adamw_1x_coco.py
ca9f870be31812fa983a315625512f1a7e9f6a8f
[]
no_license
Sooho-Kim/p3-ims-obd-doggum
266edd941068db151504965816cd830283a70876
2ed73c34121acaf62e496c32e0dfc4894696ae3c
refs/heads/main
2023-08-05T07:03:02.908828
2021-07-11T23:42:58
2021-07-11T23:42:58
374,856,533
0
0
null
2021-06-08T02:25:56
2021-06-08T02:25:55
null
UTF-8
Python
false
false
3,665
py
_base_ = [ '../../_base_/models/mask_rcnn_swin_fpn.py', '../dataset.py', '../../_base_/schedules/schedule_1x.py', '../../_base_/default_runtime.py' ] model = dict( backbone=dict( embed_dim=96, depths=[2, 2, 6, 2], num_heads=[3, 6, 12, 24], window_size=7, ape=...
[ "sglee487@gmail.com" ]
sglee487@gmail.com
329a8916d9523399ce217fcd75e99d8598934bac
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03761/s209908334.py
e76456dc8b6723aa1a4d5346fcf5ab95f42b018f
[]
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
473
py
from operator import itemgetter import sys n = int(input()) data = [] s = input() if n == 1: L = list(s) L.sort() print("".join(L)) sys.exit() data.append(s) S = set(list(s)) for i in range(n-1): s = input() S = S & set(list(s)) data.append(s) A = [] for i in S: ans = float("inf") fo...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f13e5e3a3dda13f78f8d1de6b80be81e60520e51
bd9a3cbea230cf24246c59faa0785676d6fdf5cf
/core/__init__.py
faaad0adde4d98d23bfbc7c0996b5c9ea5ec4a87
[]
no_license
watchme-dimigo/watchme-closed-eye-detection
241e39fe8f2b5326446f012015feb6e7e216c1ab
24263b8c29cc878e5eacecf42b50f3a15ce6f59f
refs/heads/master
2020-05-16T23:43:31.142868
2019-05-17T09:25:45
2019-05-17T09:25:45
183,376,226
2
2
null
null
null
null
UTF-8
Python
false
false
41
py
import core.eye_closed import core.utils
[ "32605822+JunhoYeo@users.noreply.github.com" ]
32605822+JunhoYeo@users.noreply.github.com