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
197947df3f6c3b552f542cad538188861870d86f
95c027e7302751b335b33d287e0efac7483edfc3
/boj/BOJ_평균.py
aaf5066b2ef4cd7f9d8f10ec2c10ff292124ceba
[]
no_license
kimchaelin13/Algorithm
01bd4bcb24c58d5d82714e60272d5af91d2d9ce8
53f7f3cff5a141cf705af3c9f31cdb9ae997caff
refs/heads/master
2023-02-03T08:58:26.660299
2020-12-20T17:01:16
2020-12-20T17:01:16
296,996,924
1
0
null
null
null
null
UTF-8
Python
false
false
185
py
import sys sys.stdin = open("input.txt", "r") s = [] for i in range(5): s.append(int(input())) for j in range(len(s)): if s[j] < 40: s[j]=40 print(round(sum(s)/len(s)))
[ "kimchaelin13@gmail.com" ]
kimchaelin13@gmail.com
3775521386c59304a0872b9053c2111fdfe7ca55
da687718aa8ce62974090af63d25e057262e9dfe
/cap14-funcoes/extras/entrada.py
8f9a269e72ba810cb2bb7d637f9fbdeaae697fbd
[]
no_license
frclasso/revisao_Python_modulo1
77928fa4409c97d49cc7deccdf291f44c337d290
1e83d0ef9657440db46a8e84b136ac5f9a7c556e
refs/heads/master
2020-06-25T05:37:28.768343
2019-07-27T22:23:58
2019-07-27T22:23:58
199,217,969
1
0
null
null
null
null
UTF-8
Python
false
false
329
py
def valida_inteiro(mensagem, minimo, maximo): while True: try: v = int(input(mensagem)) if v >= minimo and v <= maximo: return v else: print(f'Digite um valor entre {maximo} e {minimo}.') except: print('Voce deve digitar um numero i...
[ "frcalsso@yahoo.com.br" ]
frcalsso@yahoo.com.br
1c1842851e7ef3306eade4b5362a299e7a952d0f
4cdf4e243891c0aa0b99dd5ee84f09a7ed6dd8c8
/django2/bookmarks/bookmarks/settings.py
8277bde8c3c7f242eb407532c2ef68e2c0ae896b
[ "MIT" ]
permissive
gozeon/code-collections
464986c7765df5dca980ac5146b847416b750998
13f07176a6c7b6ac13586228cec4c1e2ed32cae4
refs/heads/master
2023-08-17T18:53:24.189958
2023-08-10T04:52:47
2023-08-10T04:52:47
99,432,793
1
0
NOASSERTION
2020-07-17T09:25:44
2017-08-05T15:56:53
JavaScript
UTF-8
Python
false
false
3,367
py
""" Django settings for bookmarks project. Generated by 'django-admin startproject' using Django 2.0.8. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os ...
[ "goze.qiu@gmail.com" ]
goze.qiu@gmail.com
990c0d14f1a9a11941085c4fae1209efd43555c4
e9988eb38fd515baa386d8b06bb7cce30c34c50d
/sitevenv/lib/python2.7/site-packages/django/utils/translation/trans_real.py
6ab071dabaf28cf2d985efd0f10d8189984cabaf
[]
no_license
Arrrrrrrpit/Hire_station
8c2f293677925d1053a4db964ee504d78c3738d8
f33f044628082f1e034484b5c702fd66478aa142
refs/heads/master
2020-07-01T01:24:18.190530
2016-09-25T20:33:05
2016-09-25T20:33:05
201,007,123
0
0
null
null
null
null
UTF-8
Python
false
false
30,622
py
"""Translation helper functions.""" from __future__ import unicode_literals import gettext as gettext_module import os import re import sys import warnings from collections import OrderedDict from threading import local from django.apps import apps from django.conf import settings from django.conf.locale...
[ "kunal1510010@gmail.com" ]
kunal1510010@gmail.com
ef04eda75ce46249309cb75b6cbb7b0c9858fbe3
9f3991f4e7b405c04f2ef03ac7747b5a69d26b4b
/openpyxl/csv_to_excel.py
8efbab73e40cd93a497cd0cec0ccd755b3044f64
[]
no_license
zcxyun/pythonDemo
f66eb5e6e4274db2137480786eae4d6ca7e73163
adf18cf6b58282a7f2f9203aa09d5cb60ced2e35
refs/heads/master
2021-07-29T19:06:52.481792
2021-07-27T16:10:38
2021-07-27T16:10:38
101,542,803
0
0
null
null
null
null
UTF-8
Python
false
false
3,467
py
#!/usr/bin/env # -*- coding: utf-8 -*- import csv import re import openpyxl import itertools from datetime import datetime # from openpyxl.utils import get_column_letter, column_index_from_string money = [] payee = [] payeeNumber = [] firstPayDate = [] #with open('resource/example.csv', encoding='utf-8') as originFi...
[ "zcxyun@126.com" ]
zcxyun@126.com
a08b6a7a99b0ab5b2de2ff6bf12388fbf6319a48
c4bfd8ba4c4c0f21bd6a54a9131f0985a5a4fa56
/crescent/resources/s3/bucket_policy/constants.py
5ba83647b2baf057d3d871cc99288b7e11f8f64e
[ "Apache-2.0" ]
permissive
mpolatcan/crescent
405936ec001002e88a8f62d73b0dc193bcd83010
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
refs/heads/master
2022-09-05T04:19:43.745557
2020-05-25T00:09:11
2020-05-25T00:09:11
244,903,370
1
0
null
null
null
null
UTF-8
Python
false
false
325
py
from crescent.core.constants import get_values class _RequiredProperties: class BucketPolicy: BUCKET = "Bucket" POLICY_DOCUMENT = "PolicyDocument" # -------------------------------------------------- class ResourceRequiredProperties: BUCKET_POLICY = get_values(_RequiredProperties.BucketPol...
[ "mutlupolatcan@gmail.com" ]
mutlupolatcan@gmail.com
5aadabb6bec3aec95c8f54c9736e197ced6a47ab
0daf6763c960cd898e9bb5612b1314d7e34b8870
/mnist_1/data.py
b1bf29e2af4aca2bbe3f70fd3c775cddef6107cf
[ "MIT" ]
permissive
evanthebouncy/nnhmm
a6ba2a1f0ed2c90a0188de8b5e162351e6668565
acd76edaa1b3aa0c03d39f6a30e60d167359c6ad
refs/heads/master
2021-01-12T02:27:32.814908
2017-04-01T05:01:24
2017-04-01T05:01:24
77,956,435
0
0
null
null
null
null
UTF-8
Python
false
false
7,180
py
import numpy as np from scipy.misc import imresize from scipy.ndimage.filters import gaussian_filter from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) X_L = 10 L = 14 N_BATCH = 50 OBS_SIZE = 20 KEEP = 0.6 # ---------------------------- helpers d...
[ "evanthebouncy@gmail.com" ]
evanthebouncy@gmail.com
a232db2616848042691d1e7c825e015af8882aab
5fe72bb13baf3649058ebe11aa86ad4fc56c69ed
/hard-gists/3409403/snippet.py
0e119325f7fbab1ea9ab0c1fde4fd52135828a49
[ "Apache-2.0" ]
permissive
dockerizeme/dockerizeme
8825fed45ff0ce8fb1dbe34959237e8048900a29
408f3fa3d36542d8fc1236ba1cac804de6f14b0c
refs/heads/master
2022-12-10T09:30:51.029846
2020-09-02T13:34:49
2020-09-02T13:34:49
144,501,661
24
20
Apache-2.0
2022-11-21T12:34:29
2018-08-12T21:21:04
Python
UTF-8
Python
false
false
547
py
from google.appengine.ext import db, ndb from google.appengine.datastore import entity_pb def db_entity_to_protobuf(e): return db.model_to_protobuf(e).Encode() def protobuf_to_db_entity(pb): # precondition: model class must be imported return db.model_from_protobuf(entity_pb.EntityProto(pb)) def ndb_enti...
[ "42325807+dockerizeme@users.noreply.github.com" ]
42325807+dockerizeme@users.noreply.github.com
9a3f3542a14276c1794492528c5d906908c7f791
6b9084d234c87d7597f97ec95808e13f599bf9a1
/evaluation/logger/pytracking.py
6e17451f77982c297479789660635ffca35a1ee4
[]
no_license
LitingLin/ubiquitous-happiness
4b46234ce0cb29c4d27b00ec5a60d3eeb52c26fc
aae2d764e136ca4a36c054212b361dd7e8b22cba
refs/heads/main
2023-07-13T19:51:32.227633
2021-08-03T16:02:03
2021-08-03T16:02:03
316,664,903
1
0
null
null
null
null
UTF-8
Python
false
false
606
py
import numpy as np import os class PyTrackingLogger: def __init__(self, output_path=None): self.output_path = output_path def log_sequence_result(self, name: str, predicted_bboxes: np.ndarray, **kwargs): print(f'Sequence: {name}') print(f'FPS: {kwargs["fps"]}') predicted_bboxe...
[ "linliting06@live.com" ]
linliting06@live.com
a9ab497015525833279bb4f7cb7b294f7e35efe7
5fd401dbc7b9ac782d387067c43a559971de5028
/modules/file/upload.py
5ad9b4a030323d70e88e69b37d7ef047af896c60
[]
no_license
SagaieNet/weevely3
0b41be1bbd08a8ebde1e236775462483ad175c6e
c169bbf24807a581b3f61a455b9a43a5d48c8f52
refs/heads/master
2021-01-22T15:00:19.838734
2014-09-30T20:00:07
2014-09-30T20:00:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,139
py
from core.vectors import PhpCmd, ModuleCmd from core.module import Module from core import messages from core.loggers import log import random import hashlib import base64 class Upload(Module): """Upload file to remote filesystem.""" def init(self): self.register_info( { ...
[ "emilio.pinn@gmail.com" ]
emilio.pinn@gmail.com
6bf462112c68e100b92acc5b9b8ed814e8f09d27
ef4a1748a5bfb5d02f29390d6a66f4a01643401c
/algorithm/new_teacher_algorithm/AD/도약.py
5c781e9d4bc4c9a28efdc8ca127c58b5528ef92d
[]
no_license
websvey1/TIL
aa86c1b31d3efc177df45503d705b3e58b800f8e
189e797ba44e2fd22a033d1024633f9e0128d5cf
refs/heads/master
2023-01-12T10:23:45.677578
2019-12-09T07:26:59
2019-12-09T07:26:59
162,102,142
0
1
null
2022-12-11T16:31:08
2018-12-17T08:57:58
Python
UTF-8
Python
false
false
2,093
py
import sys sys.stdin = open("도약.txt") ########################################################### ########################## 두개 쓰기 ######################## ########################################################### # def lowerSearch(s,e,f): # # f 이상 중에서 가장 작은 값의 위치를 리턴 # sol = -1 # while s<=e: # m ...
[ "websvey1@gmail.com" ]
websvey1@gmail.com
f6721ea11faae85216d3a60224be9c9ec0207242
3fc4bca70bb817d8c14c2e6eaf29cda765e8cf19
/venv/bin/pip3.6
548512482798bf15606d78d042dcc9e3e66cd6e0
[]
no_license
OseiasBeu/ExemploDjango
4841412dca9e15613671951cdcb18ea8d18ff68a
31e4dfb12b84d217ff989bd7fc0fa5636312b8c4
refs/heads/master
2020-03-28T16:05:10.873540
2018-09-13T15:22:59
2018-09-13T15:22:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
261
6
#!/home/OseiasBeu/Documents/LPs/django/projeto/venv/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())
[ "oseiasbeu@outlook.com" ]
oseiasbeu@outlook.com
b563da1a4aa94a36c4599e6482162f6ded7d93e9
5b2218208aef68cf06609bcc3bf42b499d99d5f6
/docs/source/conf.py
e94bc7c7e29be180973b828865b19e7712c33ad6
[ "MIT" ]
permissive
c137digital/unv_app_template
c36cacfff3e0be0b00ecad6365b20b434836ffe7
a1d1f2463334afc668cbf4e8acbf1dcaacc93e80
refs/heads/master
2020-05-25T19:24:17.098451
2020-04-24T19:33:08
2020-04-24T19:33:08
187,950,678
0
0
null
null
null
null
UTF-8
Python
false
false
5,816
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "morty.space@gmail.com" ]
morty.space@gmail.com
4c1e7c5233cb21118ed12162d9ba099c0665a80a
e0980f704a573894350e285f66f4cf390837238e
/.history/flex/models_20201029143145.py
b68119b214fd032d442ee5cf1b7492154ab67eb2
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
from django.db import models from wagtail.core.models import Page from wagtail.core.fields import StreamField from wagtail.admin.edit_handlers import StreamFieldPanel from wagtail.snippets.blocks import SnippetChooserBlock from wagtail.core import blocks as wagtail_ from streams import blocks from home.models import n...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
71bfd188e3307f50316b5807460e05e6b0dab81e
0be27c0a583d3a8edd5d136c091e74a3df51b526
/int_long.py
09d9178607925a32fd93bcf2ea90ca80acb00f96
[]
no_license
ssangitha/guvicode
3d38942f5d5e27a7978e070e14be07a5269b01fe
ea960fb056cfe577eec81e83841929e41a31f72e
refs/heads/master
2020-04-15T05:01:00.226391
2019-09-06T10:08:23
2019-09-06T10:08:23
164,405,935
0
2
null
null
null
null
UTF-8
Python
false
false
172
py
n=int(input()) if(n>=-2**15+1 and n<=2**15+1): print ("INT") elif n>=-2**31+1 and n<=2**31+1: print("LONG") else: print ("LONG LONG") #..int,long...longlong
[ "noreply@github.com" ]
ssangitha.noreply@github.com
e32bd0130a28604d940e0a1e7d79496057d8a0cb
66a9c25cf0c53e2c3029b423018b856103d709d4
/tests/live_test.py
b71930af68b02cc6137cb3b01a6f80f39c0ef9f3
[ "MIT", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
fritzy/SleekXMPP
1b02d3e2b22efeb6bf3f8f487e6c0343b9b85baf
cc1d470397de768ffcc41d2ed5ac3118d19f09f5
refs/heads/develop
2020-05-22T04:14:58.568822
2020-02-18T22:54:57
2020-02-18T22:54:57
463,405
658
254
NOASSERTION
2023-06-27T20:05:54
2010-01-08T05:54:45
Python
UTF-8
Python
false
false
3,422
py
import logging from sleekxmpp.test import * class TestLiveStream(SleekTest): """ Test that we can test a live stanza stream. """ def tearDown(self): self.stream_close() def testClientConnection(self): """Test that we can interact with a live ClientXMPP instance.""" self....
[ "lancestout@gmail.com" ]
lancestout@gmail.com
f5058ccbcc8449198222100dc98b9d6777472a89
2f6d017dedc68588b2615d65c1e8ca8bcdd90446
/api/deploy/write_json.py
01f5c1cf3ca63b0de2e90ca19f9b694b331c12f5
[]
no_license
hysunflower/benchmark
70fc952a4eb1545208543627539d72e991cef78a
c14f99c15b4be9e11f56ea378ca15d9c3da23bab
refs/heads/master
2022-06-30T07:04:14.986050
2022-06-15T02:43:04
2022-06-15T02:43:04
224,449,279
1
0
null
2019-11-27T14:29:29
2019-11-27T14:29:29
null
UTF-8
Python
false
false
3,347
py
#!/bin/python # -*- coding: UTF-8 -*- # 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/...
[ "noreply@github.com" ]
hysunflower.noreply@github.com
89189e31f7eff193f8991a28da369417a28ae86d
68cd659b44f57adf266dd37789bd1da31f61670d
/D2/D2_20190715파리퇴치.py
37273d877cfb93458b8b8fdef4531e610039777c
[]
no_license
01090841589/solved_problem
c0c6f5a46e4d48860dccb3b0288aa5b56868fbca
bbea2f31e5fe36cad100bc514eacd83545fb25b1
refs/heads/master
2023-07-02T23:55:51.631478
2021-08-04T13:57:00
2021-08-04T13:57:00
197,157,830
2
0
null
null
null
null
UTF-8
Python
false
false
657
py
def arrr(N) : for i in range(N) : inp = input().split(' ') inp = [int(j) for j in inp] fly.append(inp) return fly def max_cal(fly,N,M): sum_num = 0 max_num = 0 for i in range(N-M+1) : for j in range(N-M+1) : for l in range(M) : for m in ra...
[ "chanchanhwan@naver.com" ]
chanchanhwan@naver.com
f21360c68557a49b1b4e4413627b85cd6737f75c
73c9211d5627594e0191510f0b4d70a907f5c4c5
/nn/keras_dataguru/lesson2/work2.py
4dcacb8f30dd2feaffbd330256b8915e94435bcf
[]
no_license
tigerxjtu/py3
35378f270363532fb30962da8674dbcee99eb5ff
5d24cd074f51bd0f17f6cc4f5f1a6e7cf0d48779
refs/heads/master
2021-07-13T05:34:15.080119
2020-06-24T09:36:33
2020-06-24T09:36:33
159,121,100
2
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import keras import numpy as np from keras.datasets import mnist from keras.utils import np_utils from keras.models import Sequential from keras.layers import Dense from keras.optimizers import SGD # In[2]: (x_train,y_train),(x_test,y_test)=mnist.load_data() print('...
[ "liyin@16010.net" ]
liyin@16010.net
9f719d70ff61b820cde1a602f393ba9c91b6514b
d83f50302702d6bf46c266b8117514c6d2e5d863
/number-of-boomerangs.py
7add2f05767711dbf020f6215cc8f92ec9b5a59c
[]
no_license
sfdye/leetcode
19764a6bdb82de114a2c82986864b1b2210c6d90
afc686acdda4168f4384e13fb730e17f4bdcd553
refs/heads/master
2020-03-20T07:58:52.128062
2019-05-05T08:10:41
2019-05-05T08:10:41
137,295,892
3
0
null
null
null
null
UTF-8
Python
false
false
415
py
class Solution(object): def numberOfBoomerangs(self, points): """ :type points: List[List[int]] :rtype: int """ ans = 0 for p in points: d = collections.defaultdict(int) for q in points: d[(p[0] - q[0]) ** 2 + (p[1] - q[1]) ** ...
[ "tsfdye@gmail.com" ]
tsfdye@gmail.com
840b8e213aaeafea3b9c2b03e58bd84996694d5a
bafcde124dd3af37ef14e322e0e76e82d8684469
/restapi/services/models/PasswordResetModel.py
47e24ce9d570005a767967ad9265625a49a108e4
[]
no_license
mentimun-mentah/balihot-property-backend
1c7ac91c04f791ca55f5f97e872034fbc30a8d32
b715cc3988ca70d16dbe2e89839653af310fa091
refs/heads/master
2022-12-27T15:01:23.196310
2020-09-06T17:00:53
2020-09-06T17:00:53
268,197,437
1
0
null
2020-10-20T16:55:31
2020-05-31T02:46:41
Python
UTF-8
Python
false
false
1,310
py
import uuid, os from services.serve import db from time import time from flask import url_for from sqlalchemy import func from services.libs.MailSmtp import MailSmtp class PasswordReset(db.Model): __tablename__ = 'password_resets' id = db.Column(db.String(100),primary_key=True) email = db.Column(db.String...
[ "nyomanpradipta120@gmail.com" ]
nyomanpradipta120@gmail.com
014e8f1ddcd99487d99ffa878a6e6cfa7d50ed6c
d55bda4c4ba4e09951ffae40584f2187da3c6f67
/h/admin/views/groups.py
0caffe6dcf887350fc17bfffc50c9f1ecc8b64bc
[ "BSD-3-Clause", "BSD-2-Clause-Views", "BSD-2-Clause", "MIT" ]
permissive
ficolo/h
3d12f78fe95843b2a8f4fc37231363aa7c2868d9
31ac733d37e77c190f359c7ef5d59ebc9992e531
refs/heads/master
2021-01-15T21:08:17.554764
2016-06-09T15:42:01
2016-06-09T15:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
# -*- coding: utf-8 -*- from pyramid.view import view_config from h import models from h import paginator @view_config(route_name='admin_groups', request_method='GET', renderer='h:templates/admin/groups.html.jinja2', permission='admin_groups') @paginator.paginate def groups_in...
[ "nick@whiteink.com" ]
nick@whiteink.com
b9aeff68654c2ed50000a30879c2e21c640d81e5
0206ac23a29673ee52c367b103dfe59e7733cdc1
/src/nemo/compare_2nemo_simulations.py
041bbfd0229b247c34b4796abf04bc639b9483ae
[]
no_license
guziy/RPN
2304a93f9ced626ae5fc8abfcc079e33159ae56a
71b94f4c73d4100345d29a6fbfa9fa108d8027b5
refs/heads/master
2021-11-27T07:18:22.705921
2021-11-27T00:54:03
2021-11-27T00:54:03
2,078,454
4
3
null
null
null
null
UTF-8
Python
false
false
3,484
py
from collections import namedtuple from pathlib import Path from matplotlib import cm from matplotlib.gridspec import GridSpec from nemo.nemo_yearly_files_manager import NemoYearlyFilesManager __author__ = 'huziy' # Compare 2 Nemo outputs import matplotlib.pyplot as plt import numpy as np def main_compare_max_year...
[ "guziy.sasha@gmail.com" ]
guziy.sasha@gmail.com
92e85c7b6e66817ecaf916d920cc1d86019397c2
fe9573bad2f6452ad3e2e64539361b8bc92c1030
/scapy_code/sniif_packet.py
97cbf240c0083c9937735a47714341cd1d7da111
[]
no_license
OceanicSix/Python_program
e74c593e2e360ae22a52371af6514fcad0e8f41f
2716646ce02db00306b475bad97105b260b6cd75
refs/heads/master
2022-01-25T16:59:31.212507
2022-01-09T02:01:58
2022-01-09T02:01:58
149,686,276
1
2
null
null
null
null
UTF-8
Python
false
false
224
py
from scapy.all import * def print_pkt(pkt): print("---------------this is a new packet----------------------") new_pkt = pkt[IP] if new_pkt[ICMP]: new_pkt.show() sniff(filter= "icmp" , prn=print_pkt)
[ "byan0007@student.monash.edu" ]
byan0007@student.monash.edu
bae78268a22dd8097a25f839b0a4b162beeae02c
4d332c45578246847ef2cdcdeb827ca29ab06090
/modules/Bio/Graphics/GenomeDiagram/_GraphSet.py
0a2ed5a0bc20757fad28322a3c8d7e8873e6337e
[ "MIT" ]
permissive
prateekgupta3991/justforlearn
616cc297a2a6119fa959b9337a5e91c77a11ebf7
3984c64063b356cf89003e17a914272983b6cf48
refs/heads/master
2021-03-12T22:09:12.184638
2014-01-28T10:37:07
2014-01-28T10:37:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
/usr/share/pyshared/Bio/Graphics/GenomeDiagram/_GraphSet.py
[ "prateekgupta.3991@gmail.com" ]
prateekgupta.3991@gmail.com
83a912f2fd9bb92402ffe65df2ebaf7a667edd7e
e590449a05b20712d777fc5f0fa52097678c089b
/python-client/test/test_stash_appscode_com_v1alpha1_api.py
58eaf340d2c3e2c403e782c27e9854d90c2f4271
[ "Apache-2.0" ]
permissive
Hardeep18/kube-openapi-generator
2563d72d9f95196f8ef795896c08e8e21cd1a08e
6607d1e208965e3a09a0ee6d1f2de7e462939150
refs/heads/master
2020-04-11T03:30:18.786896
2018-05-05T20:57:51
2018-05-05T20:57:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,173
py
# coding: utf-8 """ stash-server No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unit...
[ "tamal@appscode.com" ]
tamal@appscode.com
c693954cad97f78d72668a79087d4930ccea1091
a8b37bd399dd0bad27d3abd386ace85a6b70ef28
/airbyte-integrations/connectors/source-opsgenie/source_opsgenie/source.py
743694d15b54b6ca441b6e91b3a528af43f6b85c
[ "MIT", "LicenseRef-scancode-free-unknown", "Elastic-2.0" ]
permissive
thomas-vl/airbyte
5da2ba9d189ba0b202feb952cadfb550c5050871
258a8eb683634a9f9b7821c9a92d1b70c5389a10
refs/heads/master
2023-09-01T17:49:23.761569
2023-08-25T13:13:11
2023-08-25T13:13:11
327,604,451
1
0
MIT
2021-01-07T12:24:20
2021-01-07T12:24:19
null
UTF-8
Python
false
false
1,870
py
# # Copyright (c) 2023 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple import requests from airbyte_cdk.sources import AbstractSource from airbyte_cdk.sources.streams import Stream from airbyte_cdk.sources.streams.http.requests_native_auth import TokenAuthenticator from .streams i...
[ "noreply@github.com" ]
thomas-vl.noreply@github.com
a0b0afefa29d9867d2ca4e7ea95add21f514f525
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/cognitiveservices/azure-mgmt-cognitiveservices/tests/disable_test_cli_mgmt_cognitiveservices.py
36137183535e3c620a46e8cea7f926e0adadefd9
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
4,767
py
# coding: utf-8 #------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #----------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
87db78fc9bb040bc77eeeb14ffba6ee78b8c43fa
42394bd8cd674dcd0822ae288ddb4f4e749a6ed6
/fluent_blogs/sitemaps.py
97da332b7a014536107d1f7fe042d295b321ac83
[ "Apache-2.0" ]
permissive
mmggbj/django-fluent-blogs
4bca6e7effeca8b4cee3fdf4f8bb4eb4d192dfbe
7fc3220d6609fe0615ad6ab44044c671d17d06a3
refs/heads/master
2021-05-08T13:02:51.896360
2018-01-31T21:54:27
2018-01-31T21:54:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,647
py
from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType from django.contrib.sitemaps import Sitemap from fluent_blogs.models import get_entry_model, get_category_model from fluent_blogs.urlresolvers import blog_reverse from parler.models...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
83f1f904fbc11dea0d949ea539259c4155273c82
364e2632a334241c034448ee0a7242818b49cdf7
/bigmler/tests/test_02_batch_predictions.py
f37bd5abba68ee95bee0e21639252ce78ebf007f
[ "Apache-2.0" ]
permissive
cybernetics/bigmler
46f6bf508b9ac6c6000c3859b5ed32a7619a3dad
c1c91548169e6f6053aef1b09085fa1fb7a43e43
refs/heads/master
2021-01-18T01:07:10.519630
2015-06-12T23:56:28
2015-06-12T23:56:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,126
py
# -*- coding: utf-8 -*- # # Copyright 2014-2015 BigML # # 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 ...
[ "merce@bigml.com" ]
merce@bigml.com
27ea18a5756b03152493d5b0994a5db4e48e30db
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03227/s470552278.py
434e9ba40f42f909254017bbb3c840bf9b0c6468
[]
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
49
py
n = raw_input() print n if len(n)==2 else n[::-1]
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b149655165dbfc3253e689f968488cd68f3e18c6
3e660e22783e62f19e9b41d28e843158df5bd6ef
/script.me.syncsmashingfromgithub/smashingfavourites/scripts/oldscripts/smashingtvextended.py
23aa7191d67b111064220b6ce41ecbc4caa91859
[]
no_license
monthou66/repository.smashingfavourites
a9603906236000d2424d2283b50130c7a6103966
f712e2e4715a286ff6bff304ca30bf3ddfaa112f
refs/heads/master
2020-04-09T12:14:34.470077
2018-12-04T10:56:45
2018-12-04T10:56:45
160,341,386
0
0
null
null
null
null
UTF-8
Python
false
false
5,059
py
# -*- coding: utf-8 -*- # opens tv channel or guide groups via smashingfavourites and / or keymap. import os import os.path import xbmc import sys # make sure dvbviewer is running - enable and wait if necessary def enable(): if not xbmc.getCondVisibility('System.HasAddon(pvr.dvbviewer)'): xbmc.executeJSON...
[ "davemullane@gmail.com" ]
davemullane@gmail.com
6042ebe496e64d755d312557f38f2f61d3e98e80
18e687608ff326fae4d1e1604cf452f086f99559
/classroom/admin.py
7da03566a6f4b009b1d4c24281b22e580476a82c
[ "Apache-2.0" ]
permissive
nu11byt3s/lms-ml
955bad451ddcb78e464227294496ee0a92be08c0
c0ea63f09d4125b0ae9033fd8b0a4aab2604bb42
refs/heads/main
2023-08-13T08:09:53.097312
2021-10-12T09:51:31
2021-10-12T09:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
from django.contrib import admin from .models import ClassFiles, ClassRoom, MemberShip, RoomStream, Comment admin.site.register(ClassRoom) admin.site.register(ClassFiles) admin.site.register(MemberShip) admin.site.register(RoomStream) admin.site.register(Comment)
[ "farsin310yeariha9701@gmail.com" ]
farsin310yeariha9701@gmail.com
59bd29fb6eb52de6fe04df9967256812d218e790
4e60e8a46354bef6e851e77d8df4964d35f5e53f
/share/create_db/__init__.py
89e75b0e45db463c422c246e51d237b4f3e7984d
[]
no_license
cq146637/DockerManagerPlatform
cbae4154ad66eac01772ddd902d7f70b62a2d856
9c509fb8dca6633ed3afdc92d4e6491b5d13e322
refs/heads/master
2021-04-09T13:58:14.117752
2018-03-19T13:41:04
2018-03-19T13:41:04
125,712,276
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
# -*- coding: utf-8 -*- __author__ = 'CQ'
[ "1016025625@qq.com" ]
1016025625@qq.com
f50a2c13091de7e6652bd032364405a6cb81e40a
f08336ac8b6f8040f6b2d85d0619d1a9923c9bdf
/148-sortList.py
deaa09cb9bde869ffaac11cb72d4a48498d2f6ed
[]
no_license
MarshalLeeeeee/myLeetCodes
fafadcc35eef44f431a008c1be42b1188e7dd852
80e78b153ad2bdfb52070ba75b166a4237847d75
refs/heads/master
2020-04-08T16:07:47.943755
2019-02-21T01:43:16
2019-02-21T01:43:16
159,505,231
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
''' 148. Sort List Sort a linked list in O(n log n) time using constant space complexity. Example 1: Input: 4->2->1->3 Output: 1->2->3->4 Example 2: Input: -1->5->3->4->0 Output: -1->0->3->4->5 ''' # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next...
[ "marshallee413lmc@sina.com" ]
marshallee413lmc@sina.com
24aeb181fe8842ceab8dcbdae1e7eae470e32e96
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/2091.py
2be5159255a480621d5ba476c77387286fc6d261
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
def get_values(f,line): choices = []; for i in range(0,4): if i+1 == line: choices.extend(f.readline().split()) else: f.readline() return choices if __name__ == "__main__": with open('problem.txt','r') as f: trials = int(f.readline()) for i in ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
94039fd9178ad4160ba0efb6f0dda17c0fde9816
8926a97e04be31c62a28ee9031520ca785f2947b
/flask/member_test/app3.py
1879796d52c5957ea5c6d9b35167283e4c2e6a95
[]
no_license
ragu6963/kfq_pyhton
3d651357242892713f36ac12e31f7b586d6e7422
bdad24e7620e8102902e2f0a71c8486fb0ad86c9
refs/heads/master
2022-11-26T16:02:49.838263
2020-07-31T00:40:59
2020-07-31T00:40:59
276,516,045
0
0
null
null
null
null
UTF-8
Python
false
false
4,306
py
from flask import Flask, request, render_template, redirect, url_for, jsonify, json import pymysql, os, cx_Oracle from flask_sqlalchemy import SQLAlchemy from json import JSONEncoder app = Flask(__name__) app.config["SQLALCHEMY_DATABASE_URI"] = "oracle://hr:hr@127.0.0.1:1521/xe" # app.config['SQLALCHEMY_DATABASE_URI'...
[ "bhj1684@naver.com" ]
bhj1684@naver.com
89bb0587757a6aed99336fb24ec99c4a1cbfe575
8d2a785ffc06ec46a546cdf50af41054a382f05a
/classes/day02/class/3.pass语句.py
f2defecd7c5467b8ae56a75acfff0e26254f3c38
[]
no_license
Pigcanflysohigh/Py27
4be0d9ad93f5d695c48fd89157952230ec4d111a
2f6568fce2a6f09c73cdc08342a8b05645c87736
refs/heads/master
2020-06-18T08:09:08.217036
2019-11-20T16:14:05
2019-11-20T16:14:05
196,225,940
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
if 1==2: ... # 什么也不做,只是占个地方,表示我是明白python的语法规则的 n = 0 while n<6: pass
[ "729167925@qq.com" ]
729167925@qq.com
b40d364523a6a0d9a5830630e0d64197363cab87
95884a6b32f6831e68c95d7785bc968a56877121
/cifar_imagenet/models/cifar/momentumnet_restart_lookahead_vel_learned_scalar_clip_mom.py
ba44f69eff7577785b303b3c9d7d192514916fc3
[ "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
7,243
py
# -*- coding: utf-8 -*- """ momentum net """ import torch import torch.nn as nn import math from torch.nn.parameter import Parameter __all__ = ['momentumnet_restart_lookahead_vel_learned_scalar_clip_mom'] def conv3x3(in_planes, out_planes, stride=1): "3x3 convolution with padding" return nn.Conv2d(in_planes,...
[ "mn15@rice.edu" ]
mn15@rice.edu
066f467af220cf2210d237b5be14036c9a366795
c4ee4a9d28425aa334038ad174c7b1d757ff45db
/py/survey_backdeck/SurveyBackdeckDB.py
425ea9aadef024c30c34e6d6199380a96c70f5d1
[ "MIT" ]
permissive
nwfsc-fram/pyFieldSoftware
32b3b9deb06dba4a168083a77336613704c7c262
477ba162b66ede2263693cda8c5a51d27eaa3b89
refs/heads/master
2023-08-03T07:38:24.117376
2021-10-20T22:49:51
2021-10-20T22:49:51
221,750,910
1
1
MIT
2023-07-20T13:13:25
2019-11-14T17:23:47
Python
UTF-8
Python
false
false
1,155
py
__author__ = 'Todd.Hay' # ------------------------------------------------------------------------------- # Name: TrawlBackdeckDB.py # Purpose: Provides connection to the trawl_backdeck.db SQLite database # Author: Todd.Hay # Email: Todd.Hay@noaa.gov # # Created: Jan 08, 2016 # License: M...
[ "will.smith@noaa.gov" ]
will.smith@noaa.gov
56cb0a401e086cffa893b8b4dcd75edf07ca9e4c
dacf092e82b5cc841554178e5117c38fd0b28827
/day24_program4/server_start.py
80694736d2929c195b9ccc3caf71539ee8767758
[]
no_license
RainMoun/python_programming_camp
f9bbee707e7468a7b5d6633c2364f5dd75abc8a4
f8e06cdd2e6174bd6986d1097cb580a6a3b7201f
refs/heads/master
2020-04-15T11:27:09.680587
2019-04-06T02:21:14
2019-04-06T02:21:14
164,630,838
4
1
null
null
null
null
UTF-8
Python
false
false
1,604
py
import socket import os from conf import setting from interface import common_interface from db import models, db_handler import logging.config def upload_file(): # 接收文件 file_path = os.path.join(BASE_DIR, 'db', 'file_upload') if not os.path.exists(file_path): os.makedirs(file_path) path = os.path...
[ "775653143@qq.com" ]
775653143@qq.com
50a805dc8a946792bd4c670cf4d42f3317b82c4d
5925c0fc934760f1726818a18d6098499dcfb981
/GAN_upscale_28x28/GAN_upscale_28x28.py
0c4f60692043ba8d1aaf07a121723c78c1911750
[ "MIT" ]
permissive
PsycheShaman/Keras-GAN
64b4b20471f4b185580860f28caa9320ed615a51
9a1f2576af8f67fad7845421ea5feb53012c1c9f
refs/heads/master
2020-06-17T11:03:23.993616
2019-09-14T08:04:25
2019-09-14T08:04:25
195,858,154
2
0
MIT
2019-09-14T08:04:26
2019-07-08T17:33:39
Python
UTF-8
Python
false
false
6,859
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 11 12:14:02 2019 @author: gerhard """ from __future__ import print_function, division from keras.datasets import mnist from keras.layers import Input, Dense, Reshape, Flatten, Dropout from keras.layers import BatchNormalization, Activation, ZeroPadding2D fro...
[ "christiaan.viljoen@cern.ch" ]
christiaan.viljoen@cern.ch
babc9118bdcf7d2c25b4dc9e551d807e63b0a18f
6b6c00e637e4659e4c960ff5dc48c8b25f09c543
/myihome/web_html.py
86d5f26bfaab5886725ef16013e4324d6595659e
[]
no_license
too-hoo/myiHome
881d24f7835a1d6f95fea8cc97d68194d078d451
54c57755f5c9a700330cb38a47fe88e4f9f7ab3a
refs/heads/master
2020-07-13T11:26:53.915246
2019-09-04T11:43:01
2019-09-04T11:43:01
205,073,018
9
6
null
null
null
null
UTF-8
Python
false
false
1,638
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # 静态文件加载的显示文件 from flask import Blueprint, current_app, make_response from flask_wtf import csrf # 引入CSRF防御 # 提供静态文件的蓝图 html = Blueprint("web_html", __name__) # 127.0.0.1:5000/() # 127.0.0.1:5000/(index.html) # 127.0.0.1:5000/(register.html) # 127.0.0.1:5000/(favico.ico...
[ "13414851554@163.com" ]
13414851554@163.com
328588836d307293f0d666768429a1b18e4e1007
3a1c5ae00324fc26728ad9549cd4cf710a6dfcca
/trackmeapp/serializers.py
ecb9872ce6f7e0f07739fb553cc72ca93c734d99
[]
no_license
EnockOMONDI/TRACK-ME
c39b3f6ed04957a011c96735526475dae596941c
aff6704f2ce1645a6b7f044a52abf0769de7d604
refs/heads/master
2021-06-24T22:26:49.841861
2019-06-24T07:19:22
2019-06-24T07:19:22
193,167,979
0
0
null
2021-06-10T21:37:58
2019-06-21T22:46:08
Python
UTF-8
Python
false
false
309
py
from rest_framework import serializers from trackmeapp.models import Task # transforming objects to JSON and vice versa class TaskSerializer(serializers.ModelSerializer): class Meta: model = Task fields = ('item_id', 'title', 'description', 'created_at', 'comp_date', 'status')
[ "enockomondike@gmail.com" ]
enockomondike@gmail.com
4835bc6e70d40dff4467464c94615a922a6eeb0d
82ef9a0dd1618a28770597227acfc0150b948af2
/wearnow/tex/plug/_plugin.py
dd765acd80043d80efc8cafe2aca871e1af2e00f
[]
no_license
bmcage/wearnow
ef32a7848472e79e56763b38551835aa97864b21
c8dfa75e1ea32b0c021d71c4f366ab47104c207e
refs/heads/master
2021-01-16T00:27:59.597812
2016-01-19T11:55:03
2016-01-19T11:55:03
37,195,574
0
0
null
null
null
null
UTF-8
Python
false
false
2,318
py
# # WearNow - a GTK+/GNOME based program # # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2009 Benny Malengier # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versi...
[ "benny.malengier@gmail.com" ]
benny.malengier@gmail.com
35d145eae9baf5f65b192fdad8fad0e7408f07eb
9eff544e604f9cff4384d4154204ab3276a56a23
/mpsci/distributions/gumbel_max.py
c6080c33985af06b004adc47893c0f19297ed96c
[ "BSD-2-Clause" ]
permissive
WarrenWeckesser/mpsci
844d22b0230bc8fb5bf2122e7705c6fd1f0744d9
cd4626ee34680627abd820d9a80860b45de1e637
refs/heads/main
2023-08-31T11:01:11.412556
2023-08-25T20:30:43
2023-08-25T20:30:43
159,705,639
8
0
null
null
null
null
UTF-8
Python
false
false
7,575
py
""" Gumbel probability distribution (for maxima) -------------------------------------------- This is the same distribution as: * `scipy.stats.gumbel_r`; * NumPy's `numpy.random.Generator.gumbel`; * the Gumbel distribution discussed in the wikipedia article "Gumbel distribtion" (https://en.wikipedia.org/wiki/Gumbel...
[ "warren.weckesser@gmail.com" ]
warren.weckesser@gmail.com
af43c669459f8dd1c60ac2dae04418f9744f6a29
44a7b4879c1da661cc2e8aa51c7fcc24cfb0fd3b
/tests/psu/psu_version_test.py
b3942b4c3523ed8b6ec2b0b234eb1705e2bb042b
[ "MIT" ]
permissive
seoss/scs_core
21cd235c9630c68f651b9a8c88120ab98fe5f513
a813f85f86b6973fa77722a7d61cc93762ceba09
refs/heads/master
2021-08-08T08:09:56.905078
2020-04-16T19:46:52
2020-04-16T19:46:52
156,239,538
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
#!/usr/bin/env python3 """ Created on 13 Nov 2017 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) """ import json from scs_core.data.json import JSONify from scs_core.psu.psu_version import PSUVersion # ---------------------------------------------------------------------------------------------------...
[ "bruno.beloff@southcoastscience.com" ]
bruno.beloff@southcoastscience.com
3206f80ebb7cd794ba25b8f13f14e0c5a68d2477
6f8c5d58ccd771d1ba92dc053b54caa44be9515c
/inst_fluid_en/models.py
7fba96ece1c1d3dfd9ed2d96070362bda8abf302
[ "MIT" ]
permissive
manumunoz/8004
b6f32cf446a3d0d66988d34a03a252ba4d885da1
06b5a5a8cdea53294ff85c4bedb6be163d2da25a
refs/heads/master
2020-03-24T22:24:37.155460
2019-03-28T07:02:18
2019-03-28T07:02:18
143,083,725
0
0
NOASSERTION
2018-12-07T15:17:27
2018-08-01T00:29:45
HTML
UTF-8
Python
false
false
4,478
py
from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) import itertools author = 'Manu Munoz' doc = """ Identity Switch - Networks: Instructions FLUID """ class Constants(BaseConstants): #------------------------------------------ ...
[ "manumunozh@gmail.com" ]
manumunozh@gmail.com
389d80a51e57aab9b9e90dd9cf236befa5c6cd93
457c673c8c8d704ec150322e4eeee2fde4f827ca
/Python Fundamentals - January 2020/Functions/03_Repeat_string.py
e36aa36cc0812058b32ec3f857f6917eeb7e1787
[]
no_license
xMrShadyx/SoftUni
13c08d56108bf8b1ff56d17bb2a4b804381e0d4e
ce4adcd6e8425134d138fd8f4b6101d4eb1c520b
refs/heads/master
2023-08-02T03:10:16.205251
2021-06-20T05:52:15
2021-06-20T05:52:15
276,562,926
5
1
null
2021-09-22T19:35:25
2020-07-02T06:07:35
Python
UTF-8
Python
false
false
94
py
def repeat(s, rep): return s * rep s = input() rep = int(input()) print(repeat(s, rep))
[ "daredevil91138@gmail.com" ]
daredevil91138@gmail.com
b1a7b240bbf7f17341177d6f03acfd50f21dbac8
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc094/B/4253154.py
6d7383b45734c25c5fe494a308375919ce98d92e
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
502
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import math def solve(a, b): a, b = min(a, b), max(a, b) if a == b: return 2 * a - 2 c = int(math.sqrt(a * b)) + 2 while True: if c * c < a * b: if c * (c + 1) >= a * b: return 2 * c - 2 ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
4dd6abce27312bede65ef9f29a7d675967b34fe5
0f799b88204d002d655f48894a3095bf006f9d1f
/chapter12/file_pickle.py
282b759494246bb4280bf6f94244a262ea552c48
[]
no_license
liuyuzhou/pythonsourcecode
4008b4adf0342e61a1b6c03f12ab55ad04252e7e
476c75ff6b83953565175a66e21cad3139f06ad2
refs/heads/master
2020-05-16T01:39:20.518816
2019-04-22T02:48:49
2019-04-22T02:48:49
182,607,905
2
1
null
null
null
null
UTF-8
Python
false
false
74
py
import pickle d = dict(name='xiao zhi', num=1002) print(pickle.dumps(d))
[ "liuyuzhou@banggood.com" ]
liuyuzhou@banggood.com
049e4a9ab11ab90ed899286b280e96eef25db4de
cadd27a5c72644fe87940e156e4f40f1131b9a57
/udemy/_internal.py
0cc13463a4fdad5b5c127e648080b4c565dc88a2
[ "MIT" ]
permissive
mrbrazzi/udemy-dl
1ef576800bd01ed2724911144a1fd8bad70b18f9
0f0a3ff00167b3b4614d5afc0d4dc6461e46be97
refs/heads/master
2022-11-13T17:41:38.170496
2020-07-01T18:17:24
2020-07-01T18:17:24
274,795,490
1
0
MIT
2020-06-25T00:16:33
2020-06-25T00:16:32
null
UTF-8
Python
false
false
6,961
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Author : Nasir Khan (r0ot h3x49) Github : https://github.com/r0oth3x49 License : MIT Copyright (c) 2020 Nasir Khan (r0ot h3x49) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft...
[ "r0oth3x49@gmail.com" ]
r0oth3x49@gmail.com
6d9aa23aac7fc83f966804c5d25d3a1d9096f76b
81f9d88a560edb2b92997855c6445628cf0e6eaa
/homura/__init__.py
53bd57eca602723adbb53d18674e93be0451c1cd
[ "Apache-2.0" ]
permissive
haiyan-he/homura
e1de6e0162a0a3d5c2f2ce142f551562dc30f4c3
2b98d4e0071b926233869e5396a02e70638d19f7
refs/heads/master
2023-02-06T18:25:15.557698
2020-10-01T07:54:23
2020-10-01T07:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
from .register import Registry from .utils import TensorDataClass, TensorTuple, distributed_print, enable_accimage, get_args, get_environ, \ get_git_hash, get_global_rank, get_local_rank, get_num_nodes, get_world_size, if_is_master, init_distributed, \ is_accimage_available, is_distributed, is_distributed_avail...
[ "hataya@keio.jp" ]
hataya@keio.jp
10682582ea1863fd922d5da0927d22778286f60e
38c35956be6343855914b1c58b8fbd2e40c6e615
/Grafos/2131.py
2dd6d299343e38504e64253ea933e1dd5ba17cd3
[]
no_license
LucasBarbosaRocha/URI
b43e4f4a6b3beed935f24839001bea354411c4bd
2c9bcc13300a9f6243242e483c8f9ec3296a88ad
refs/heads/master
2020-06-25T05:06:51.297824
2019-08-22T04:50:11
2019-08-22T04:50:11
199,210,037
0
0
null
null
null
null
UTF-8
Python
false
false
1,953
py
# -*- coding: utf-8 -*- # Funcao que cria um grafo def cria_grafo(lista_de_vs, lista_de_arestas): grafo = {} for v in lista_de_vs: grafo[v] = [] for aresta in lista_de_arestas: grafo[aresta[0]].append(aresta[1]) return grafo # Busca em profundidade personalizada def dfs_iterative(grafo...
[ "lucas.lb.rocha@gmail.com" ]
lucas.lb.rocha@gmail.com
3b29475196e55b01c9672bfe50448f45d59c16f9
9ffd8754679f363f7c03fa2873dfd3b1f5af41a7
/UserRegistration/admin.py
90d6d157eb401162e4d94faa6e1e2727258d82ca
[]
no_license
cmrajib/django_fashion_ecommerce
54848c7f3f1ede349bad77533647cd161d86c413
141e87ad77f4a4503e487de8ad360789a9e272f4
refs/heads/main
2023-02-21T12:31:07.457942
2021-01-19T17:58:31
2021-01-19T17:58:31
331,065,005
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
from django.contrib import admin # Register your models here. from UserRegistration.models import User, Coupon class UserAdmin(admin.ModelAdmin): list_display = ('email', 'full_name') list_display_links = ('email', 'full_name') # list_filter = ('user__email','full_name','city') # list_editable = ('i...
[ "cmrajib@gmail.com" ]
cmrajib@gmail.com
b5aa8a920de266e4b7fb60ea573ed638ecf93516
ab4f74d127bfc89813ee359bb9c779eca5426ddc
/script/label_image.runfiles/org_tensorflow/tensorflow/python/ops/spectral_ops.py
101e33656cb9435c28ff2b5093959cbdf275dfad
[ "MIT" ]
permissive
harshit-jain-git/ImageNET
cdfd5a340b62862ad8d1cc3b9a0f30cccc481744
1cd4c2b70917e4709ce75422c0205fe3735a1b01
refs/heads/master
2022-12-11T12:47:46.795376
2017-12-19T05:47:26
2017-12-19T05:47:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
/home/co/Documents/ImageClassifier/tensorflow/tensorflow/python/ops/spectral_ops.py
[ "harshitjain1371999@gmail.com" ]
harshitjain1371999@gmail.com
4049996983313e176aa4972cf259096df6168fe7
eee6dd18897d3118f41cb5e6f93f830e06fbfe2f
/venv/lib/python3.6/site-packages/scipy/sparse/spfuncs.py
a5aeb7d325475944cf4927075b955f7bbfa4a436
[]
no_license
georgeosodo/ml
2148ecd192ce3d9750951715c9f2bfe041df056a
48fba92263e9295e9e14697ec00dca35c94d0af0
refs/heads/master
2020-03-14T11:39:58.475364
2018-04-30T13:13:01
2018-04-30T13:13:01
131,595,044
0
0
null
null
null
null
UTF-8
Python
false
false
2,759
py
""" Functions that operate on sparse matrices """ __all__ = ['count_blocks','estimate_blocksize'] from .csr import isspmatrix_csr, csr_matrix from .csc import isspmatrix_csc from ._sparsetools import csr_count_blocks def extract_diagonal(A): raise NotImplementedError('use .diagonal() instead') #def extract_d...
[ "georgeosodo2010@gmail.com" ]
georgeosodo2010@gmail.com
fa00dc55b7191039833d1a3dea845bcd117e6125
55e9f3b00fc2e488597bab5225ed321c86efbd4b
/sdk/yapily/configuration.py
e060bb0c81cb4f122ad71cd083264392d20f804d
[ "MIT" ]
permissive
bs-yapily/yapily-sdk-python
ad9d04c28f3d744830734c3444c1cef8215206fd
0bba45e351b674eb655425a51190f539c4e9896f
refs/heads/master
2020-08-26T17:18:53.156429
2019-10-22T11:01:16
2019-10-22T11:01:16
217,085,936
0
0
null
null
null
null
UTF-8
Python
false
false
8,451
py
# coding: utf-8 """ Yapily API To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501 OpenAPI spec version: 0.0.155 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __fu...
[ "systems@yapily.com" ]
systems@yapily.com
621d2aad3eb42bb8dbd059d46d0a17ff7f170215
a8f6a8afd6b3609a947cafad5988d025454b4f9c
/datesFromLogs_Test.py
c15388862c6f16360d4caae0cd5764dee4ff4481
[]
no_license
andreodendaal/100DaysOfCode
aede59a6e1f3f3ada30a1a534548939a7b9b375f
282bf21c2d75fcd562ae935fa23e41a7c4c0cb45
refs/heads/master
2020-03-20T17:21:44.649611
2019-02-27T17:22:56
2019-02-27T17:22:56
137,557,756
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
import unittest from datesFromLogs_d2 import datetime, timedelta from datesFromLogs_d2 import loglines, convert_to_datetime, time_between_shutdowns class TestDatesFromLogs(unittest.TestCase): def test_convert_to_datetime(self): line1 = 'ERROR 2014-07-03T23:24:31 supybot Invalid user dictionary file' ...
[ "aodendaal.direct@gmail.com" ]
aodendaal.direct@gmail.com
aa8d5d425f8c8c07e9aa8bd8b01d8c38944a0232
295ecf4f254c42e9201657ef0a13ec2c68c40c9b
/buy/forms.py
c80566d1a697136ed495d48bc28f1acb92a3c021
[]
no_license
zwolf21/StockAdmin-pre2
0236061284a6fe8801591608591d21129d4ea7c0
b21d069ff215c17ce3bca040ecf9b8f48b452ed4
refs/heads/master
2021-05-01T09:28:59.818469
2016-11-30T17:33:30
2016-11-30T17:33:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
from django import forms from .models import BuyItem, Buy from datetime import date class CreateBuyForm(forms.ModelForm): date = forms.DateField(initial=date.today(), widget=forms.TextInput(attrs={'tabindex':'-1','readonly':'readonly'})) class Meta: model = Buy fields = ['date'] class BuyItemAddForm(forms.Mod...
[ "pbr112@naver.com" ]
pbr112@naver.com
c6ab3e4068fda9c8202f9017c37654175a68e019
393a387cdb286cde75b4b7d760625d5851b6b080
/Sorting items from user in alphabetical and reverse.py
90a60ccf36cb5d37082e64d25c13965862512f11
[]
no_license
nami-h/Python
b57f12ae48d5bc17a3de72ec7c5abb5622ba0cd2
7b067950da29df705237405742564d2f127f1446
refs/heads/master
2021-06-27T16:00:10.113762
2020-09-22T19:59:05
2020-09-22T19:59:05
136,550,054
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
lis=[] num=int(input("How many animals do you want to enter? ")) for add in range(num): add=input("Enter animal: ") lis.append(add) animals=['horse','cat','mouse'] s=lis+animals print("Our list consists of: ", s) s.sort() print("Alphabetically ordered: ", s) s.reverse() print("Reverse ordered: ",s)
[ "noreply@github.com" ]
nami-h.noreply@github.com
75abc5b6b01a6dcbb9c8d615f21e672899c50936
f9e3a0fb511470561d3d94bc984dafaee06000cb
/PP4E-Examples-1.4/Examples/PP4E/Preview/person_start.py
c1ba77cd5ea9c9f2d7400fccde6645dfcf752e38
[]
no_license
Sorath93/Programming-Python-book
359b6fff4e17b44b9842662f484bbafb490cfd3d
ebe4c93e265edd4ae135491bd2f96904d08a911c
refs/heads/master
2022-12-03T01:49:07.815439
2020-08-16T22:19:38
2020-08-16T22:19:38
287,775,012
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
class Person: def __init__(self, name, age, pay=0, job=None): self.name = name self.age = age self.pay = pay self.job = job if __name__ == '__main__': bob = Person('Bob Smith', 42, 30000, 'software') sue = Person('Sue Jones', 45, 40000, 'hardware') print(bob...
[ "Sorath.Soomro@isode.com" ]
Sorath.Soomro@isode.com
5e46bc761055167ebad6fd4ddfafcf2a93b274cb
a7a3863acaf31d0fb679a482000c6ff89636a55c
/python/main_test_lfads_old.py
64bb6d1eb50d2a138072ffea80eb887c69bcd805
[]
no_license
gviejo/SWR_factors
313280926b3e1f895578ca453c474900e1a3f320
87c74106c26b7c7ec03a197858b8013f10f74780
refs/heads/master
2021-11-10T02:57:39.280051
2021-11-05T01:37:58
2021-11-05T01:37:58
176,997,481
0
0
null
null
null
null
UTF-8
Python
false
false
21,639
py
# Copyright 2017 Google Inc. 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 applicable law or a...
[ "guillaume.viejo@gmail.com" ]
guillaume.viejo@gmail.com
a52bc78e9d3b3e11b7cddbd0d97869f5a2a6bec2
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/5040/828005040.py
4a6d507aea18f617baa5083c1e25b5d6ed822f7a
[]
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
823
py
from bots.botsconfig import * from records005040 import recorddefs syntax = { 'version': '00504', 'functionalgroup': 'DA', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BAU', MIN: 1, MAX: 1}, {ID: 'N1', MIN: 0, MAX: 1}, {ID: 'N2', MIN: 0, MAX: 99999}, {ID: 'N3', MIN: 0, MAX: 99...
[ "doug.vanhorn@tagglogistics.com" ]
doug.vanhorn@tagglogistics.com
2940503764898b98082340170692f4e10443826b
8e59a43de9d427865c5d67fef39e9a50e44f07ce
/ppocr/modeling/heads/rec_multi_head.py
0b4fa939eecad15c79f5e37384944720b1879205
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleOCR
af87db8a804b9a4f4eac8a0b2faf80d1dd71633a
15963b0d242867a4cc4d76445626dc8965509b2f
refs/heads/release/2.7
2023-09-01T04:53:37.561932
2023-08-30T02:22:15
2023-08-30T02:22:15
262,296,122
34,195
7,338
Apache-2.0
2023-09-14T06:08:11
2020-05-08T10:38:16
Python
UTF-8
Python
false
false
4,301
py
# copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. # # 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...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
47c310bae1e4abdaa6b75569a117b14e0647509e
a53998e56ee06a96d59d97b2601fd6ec1e4124d7
/基础课/jichu/day16/seek.py
9bc56e0f93452a501443ed06d36a8a5bd659e588
[]
no_license
zh-en520/aid1901
f0ec0ec54e3fd616a2a85883da16670f34d4f873
a56f82d0ea60b2395deacc57c4bdf3b6bc73bd2e
refs/heads/master
2020-06-28T21:16:22.259665
2019-08-03T07:09:29
2019-08-03T07:09:29
200,344,127
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
fr = open('20bytes.txt','rb') print('当前读写位置是:',fr.tell())#0 b = fr.reed(2) print(b)#b'AB' print('当前读写位置是:',fe.tell())#2 #读写abcde这五个字节 fr.seek(5,0)# # fr.seek(3,1) # fr.seek(-15,2) b = fr.read(5)#b'abcde' print(b)
[ "zh_en520@163.com" ]
zh_en520@163.com
83c7d94c9223617493fa9162a58e518ded6fbd10
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-cloudide/huaweicloudsdkcloudide/v2/model/show_price_response.py
437f28d12f863bbca7d3ec3c11acd04386c74027
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
3,513
py
# coding: utf-8 import pprint import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ShowPriceResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
4a538cff9ad6cd0890340bd264318ca2cc7dc8c3
cc9a0d5608b2209b02591ceace0a7416823a9de5
/config/settings/local.py
cc31fc60988cb0f8692e336882a572a81a46a794
[ "MIT" ]
permissive
morwen1/hack_your_body
240838e75dd4447c944d47d37635d2064d4210fd
d4156d4fbe2dd4123d5b5bceef451803a50a39f8
refs/heads/master
2020-11-24T01:55:46.323849
2019-12-15T18:15:51
2019-12-15T18:15:51
226,505,010
0
0
null
null
null
null
UTF-8
Python
false
false
2,759
py
from .base import * # noqa from .base import env # GENERAL # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#debug DEBUG = True # https://docs.djangoproject.com/en/dev/ref/settings/#secret-key SECRET_KEY = env( "DJANGO_SECRET_KEY...
[ "morwen901@gmail.com" ]
morwen901@gmail.com
c67c6aa5d5f63958801f1bc6b365fa8cf502cda7
bd933b02a85343e5c7b2bf4018c7d9e11d39b222
/MODEL1303260003/model.py
e613b83d4e71b70742457b7c2808d360bbdebe8c
[ "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
biomodels/MODEL1303260003
8533d064f8a9a65e84258cc98d91386adb69eb1e
a2695ffb9d247f28b8c397bc516c8750ea6ab559
refs/heads/master
2016-09-05T13:57:50.132052
2014-10-16T05:49:12
2014-10-16T05:49:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import os path = os.path.dirname(os.path.realpath(__file__)) sbmlFilePath = os.path.join(path, 'MODEL1303260003.xml') with open(sbmlFilePath,'r') as f: sbmlString = f.read() def module_exists(module_name): try: __import__(module_name) except ImportError: return False else: ret...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
79e07c6d4eb631d0458dd3a369941042ebf329ff
3a9f2b3d79cf214704829427ee280f4b49dca70a
/saigon/rat/RuckusAutoTest/scripts/zd/ats_ZD_Combo_CLI_Config_SNMP_Trap.py
1cd2cc625e0a8cef8938c78b6c4bf089240f43cd
[]
no_license
jichunwei/MyGitHub-1
ae0c1461fe0a337ef459da7c0d24d4cf8d4a4791
f826fc89a030c6c4e08052d2d43af0b1b4b410e3
refs/heads/master
2021-01-21T10:19:22.900905
2016-08-20T03:34:52
2016-08-20T03:34:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,956
py
''' Config SNMP Trap via ZD CLI Config snmp trap via ZD CLI successfully 1. The trap information from CLI and GUI are same. 2. Enable trap v2, the information are same between get and set, CLI get and GUI get. 3. Enable trap v3, the information are same between get and set, CLI get and GUI get. 2. ...
[ "tan@xx.com" ]
tan@xx.com
a00da9b3a8568ca40cac0d1ea67083ce9ef97c43
9af35b0e0c0ed4b102c61c563d7c7647a758bb72
/braindecode/datautil/signal_target.py
ebb6280370c5f4026abc132b5482426657926cdc
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
TonioBall/braindecode
7c0a5217c944e8718d74fd9763b3c609252c9feb
d5b8d87d959c96ea8422e21099e1ef4b71b9d05a
refs/heads/master
2020-12-13T08:56:34.939109
2020-01-17T13:27:30
2020-01-17T13:27:30
234,367,901
0
0
BSD-3-Clause
2020-01-16T16:56:45
2020-01-16T16:56:44
null
UTF-8
Python
false
false
911
py
class SignalAndTarget(object): """ Simple data container class. Parameters ---------- X: 3darray or list of 2darrays The input signal per trial. y: 1darray or list Labels for each trial. """ def __init__(self, X, y): assert len(X) == len(y) self.X = X ...
[ "robintibor@gmail.com" ]
robintibor@gmail.com
3dcff99559d2d1556f67ba262ff9fb3338adab21
d34087fa552d7492406def9871f756f101d3b6a6
/source/packages/mailman_2.1.20-1_brcm63xx-tch/usr/local/mailman/Mailman/Gui/ContentFilter.py
9043fe89179fa2d4b5f438060f3a35b49968b0ed
[]
no_license
fexofenadine/brcm63xx-tch
b0a582518418c43078bf6799e59f72e31c5c9e4f
b50c32f7bab074c7017d7b15d76da06430036a76
refs/heads/master
2023-07-22T10:22:20.838756
2023-07-08T02:57:10
2023-07-08T02:57:10
132,597,313
7
8
null
2022-10-19T00:54:37
2018-05-08T11:10:50
Vim script
UTF-8
Python
false
false
9,149
py
# Copyright (C) 2002-2005 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # Th...
[ "pwandz@gmail.com" ]
pwandz@gmail.com
9f7cd33b09083b7ca32ab65d512beb3d76667dc4
525bdfe2c7d33c901598a501c145df94a3e162b0
/subject6_graphs/text.py
e255a01bf2155d3b55fd0ba8180d1b331aa5b94d
[]
no_license
davendiy/ads_course2
f0a52108f1cab8619b2e6e2c6c4383a1a4615c15
e44bf2b535b34bc31fb323c20901a77b0b3072f2
refs/heads/master
2020-04-06T09:37:12.983564
2019-05-09T10:28:22
2019-05-09T10:28:22
157,349,669
0
0
null
null
null
null
UTF-8
Python
false
false
2,980
py
#!/usr/bin/env python3 # -*-encoding: utf-8-*- # created: 05.12.18 # by David Zashkolny # 2 course, comp math # Taras Shevchenko National University of Kyiv # email: davendiy@gmail.com tasks = int(input()) for mini_task in range(tasks): s = input().split() n, m = int(s[0]), int(s[1]) l = [] x, y = -1, ...
[ "davendiy@gmail.com" ]
davendiy@gmail.com
8d5ab2ac2f9f3feed3bcb898040784ad256e54f9
8878700a71196cc33b7be00357b625cf9883043c
/store/tests/tests_viewset_OrderLine.py
e4296695c7e7c37c60581d5c5eff5512440e9821
[ "MIT" ]
permissive
Jerome-Celle/Blitz-API
bc7db966cbbb45b29bbbe944adb954d6cb5a0040
a0f870d6774abf302886ab70e169572a9d0225ef
refs/heads/master
2021-06-10T06:05:03.753314
2018-11-30T15:40:38
2018-11-30T15:46:19
165,642,546
0
0
MIT
2019-01-14T10:32:29
2019-01-14T10:32:28
null
UTF-8
Python
false
false
19,573
py
import json from datetime import timedelta from rest_framework import status from rest_framework.test import APIClient, APITestCase from django.utils import timezone from django.urls import reverse from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType from blitz_a...
[ "frank.jeanneau@gmail.com" ]
frank.jeanneau@gmail.com
cd6e8276b89ab78c02389cbb84c51b5ba844fbdb
421d58c6b93b81e0724f8f4576119300eb344252
/influencers/users/migrations/0005_auto_20181111_1505.py
1d7c2ca75db84615820701ef82599ab6c705746f
[]
no_license
momen/influencers
7728228c92a552bdff9ae62f85986ad03bce186e
f9c76cfc2970440112967f9579dc31f77063cb25
refs/heads/master
2020-06-03T22:20:03.881411
2019-06-15T07:48:43
2019-06-15T07:48:43
191,754,739
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
# Generated by Django 2.1.2 on 2018-11-11 15:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0004_user_is_removed'), ] operations = [ migrations.AlterField( model_name='user', name='is_active', ...
[ "momennegm@gmail.com" ]
momennegm@gmail.com
e62fda6ebc68743af0af01a2bc34bc14ba0e666a
3117852233ea6c2644e723587a7b28d6d6518d95
/ttslang.py
28c918e4b4594278eeae4e3af6f10d766e7db1e7
[]
no_license
harishravi121/Pythoncodes
d70059a3b7785d668a4b03f3ec85b0777b33706f
1d6d6ca0ed6348b6c5d07d27d24668fb567527ca
refs/heads/master
2023-07-07T11:58:03.741814
2023-07-01T08:01:56
2023-07-01T08:01:56
211,642,477
3
0
null
2020-01-13T06:45:25
2019-09-29T10:00:32
Python
UTF-8
Python
false
false
83
py
import pyttsx3 engine = pyttsx3.init() engine.say("HEllo") engine.runAndWait()
[ "noreply@github.com" ]
harishravi121.noreply@github.com
792451ae4deffa9b1fcfbae36e7e0397b0f3d802
cf4f3c181dc04c4e698b53c3bb5dd5373b0cc1f4
/meridian/tst/acupoints/test_zusanli213.py
f53e9b7310099603a6d346caed38546241f59172
[ "Apache-2.0" ]
permissive
sinotradition/meridian
da3bba6fe42d3f91397bdf54520b3085f7c3bf1d
8c6c1762b204b72346be4bbfb74dedd792ae3024
refs/heads/master
2021-01-10T03:20:18.367965
2015-12-14T14:58:35
2015-12-14T14:58:35
46,456,260
5
3
null
2015-11-29T15:00:20
2015-11-19T00:21:00
Python
UTF-8
Python
false
false
301
py
#!/usr/bin/python #coding=utf-8 ''' @author: sheng @license: ''' import unittest from meridian.acupoints import zusanli213 class TestZusanli213Functions(unittest.TestCase): def setUp(self): pass def test_xxx(self): pass if __name__ == '__main__': unittest.main()
[ "sinotradition@gmail.com" ]
sinotradition@gmail.com
78114eb9b8af0d0f91311f5efe983687ab814067
71f00ed87cd980bb2f92c08b085c5abe40a317fb
/Data/GoogleCloud/google-cloud-sdk/lib/surface/ai_platform/operations/describe.py
06aa812cb986b22a941e19bab4929cc2330eda88
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
factoryofthesun/Rao-NLP
2bd8269a8eed1cb352c14c8fde88e3111ccca088
87f9723f5ee51bd21310d58c3425a2a7271ec3c5
refs/heads/master
2023-04-18T08:54:08.370155
2020-06-09T23:24:07
2020-06-09T23:24:07
248,070,291
0
1
null
2021-04-30T21:13:04
2020-03-17T20:49:03
Python
UTF-8
Python
false
false
1,528
py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC. 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 requir...
[ "guanzhi97@gmail.com" ]
guanzhi97@gmail.com
1b661917f1bbf1889691f540f74bfadc8996f42a
244189d49a3967b4b002af73f40ca8e8064c4771
/modules/auxiliary/scanner/http/octopusdeploy_login.rb
e95f4eb8c6b5e148702da83e0b31045c7dcf1249
[ "MIT" ]
permissive
darkcode357/thg-framework
7540609fb79619bdc12bd98664976d51c79816aa
c1c3bd748aac85a8c75e52486ae608981a69d93a
refs/heads/master
2023-03-01T05:06:51.399919
2021-06-01T14:00:32
2021-06-01T14:00:32
262,925,227
11
6
NOASSERTION
2023-02-10T23:11:02
2020-05-11T03:04:05
Python
UTF-8
Python
false
false
2,528
rb
## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'metasploit/framework/credential_collection' require 'metasploit/framework/login_scanner/octopusdeploy' class MetasploitModule < Msf::Auxiliary include Msf::Exploit::Remo...
[ "darkocde357@gmail.com" ]
darkocde357@gmail.com
adb6427317dfc161210edab8159cb6ef4ec06f21
23b44edcd663eb60d4deee64ced5a5b27ee3b7d2
/thermosteam/chemicals/phase_change.py
ef5a32237d3cf1e9db68f454ccd5c957c0c7a959
[ "LicenseRef-scancode-unknown-license-reference", "NCSA", "MIT" ]
permissive
sarangbhagwat/thermosteam
7b13c6c3146fe2fc378b453fe3c732dc7397ea0c
710ec22b17c257a742300bf172fd3121852abf98
refs/heads/master
2022-12-13T03:37:49.251727
2020-09-14T17:24:30
2020-09-14T17:24:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,344
py
# -*- coding: utf-8 -*- # BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules # Copyright (C) 2020, Yoel Cortes-Pena <yoelcortes@gmail.com> # # This module extends the phase_change module from the chemicals's library: # https://github.com/CalebBell/chemicals # Copyright (C) 2020 Caleb Bell <Caleb...
[ "yoelcortes@gmail.com" ]
yoelcortes@gmail.com
6b5240c09546ae48c6e11c2e580c271be45aea67
b75ee1f07fcc50142da444e8ae9ba195bf49977a
/test/todo.py
fda75e5f8c9744005e5de098f819c7cadc1540c1
[ "Apache-2.0" ]
permissive
FlorianLudwig/code-owl
369bdb57a66c0f06e07853326be685c177e2802a
be6518c89fb49ae600ee004504f9485f328e1090
refs/heads/master
2016-08-04T02:26:07.445016
2014-05-25T19:19:13
2014-05-25T19:19:13
18,918,361
6
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
# this file contains tests for missing features # this means the tests here do FAIL. import codeowl.search def match(query, code): query = codeowl.search.generate_query(query) code = codeowl.code.parse(code) return codeowl.search.tokens(query, code, '<test>') def test_py_import(): assert match( ...
[ "f.ludwig@greyrook.com" ]
f.ludwig@greyrook.com
2bf16d2a0b120a587301917cafe6e3763746f348
52a3beeb07ad326115084a47a9e698efbaec054b
/horizon/.venv/bin/heat
da3eeefdf4e4f11003d3c6597a0c69aea163d0fd
[ "Apache-2.0" ]
permissive
bopopescu/sample_scripts
3dade0710ecdc8f9251dc60164747830f8de6877
f9edce63c0a4d636f672702153662bd77bfd400d
refs/heads/master
2022-11-17T19:19:34.210886
2018-06-11T04:14:27
2018-06-11T04:14:27
282,088,840
0
0
null
2020-07-24T00:57:31
2020-07-24T00:57:31
null
UTF-8
Python
false
false
240
#!/home/horizon/horizon/.venv/bin/python # -*- coding: utf-8 -*- import re import sys from heatclient.shell import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "Suhaib.Chishti@exponential.com" ]
Suhaib.Chishti@exponential.com
62de38f216a4bb285bd5c78c9ae8517e3d1c44dc
4ddf82eeb31d46fb67802a4375390eb42a8f23b8
/tests/pyb/adc.py
875d31d732cc3648fff5484fb1e95c617dda69ad
[ "MIT" ]
permissive
pulkin/micropython
1437a507b9e90c8824e80c3553e6209d89e64565
c274c947c611f510fd2b1c4ef6cbd9f4283794fc
refs/heads/master
2023-03-08T02:35:28.208819
2022-04-19T12:38:47
2022-04-19T12:38:47
167,732,676
103
36
MIT
2023-02-25T03:02:36
2019-01-26T19:57:59
C
UTF-8
Python
false
false
1,546
py
from pyb import ADC, Timer adct = ADC(16) # Temperature 930 -> 20C print(str(adct)[:19]) adcv = ADC(17) # Voltage 1500 -> 3.3V print(adcv) # read single sample; 2.5V-5V is pass range val = adcv.read() assert val > 1000 and val < 2000 # timer for read_timed tim = Timer(5, freq=500) # read into bytearray buf = byte...
[ "damien.p.george@gmail.com" ]
damien.p.george@gmail.com
ba2dba9f3f8b6287d25ffbb5992a661635b0b81c
f1b9dc71b2dafc2b331de495ef4ceab938734fbe
/test.py
b80d38b36f71633c8ecb41f54b9fdf2f08e362bc
[]
no_license
philippjfr/FOSS4G-2017-Talk
7deb6e48755b71658f930aa55c06d3a903f1abc6
e3f035dc648cfc4642e774e536d6c07c847417b5
refs/heads/master
2022-11-07T07:19:37.053629
2017-08-23T17:16:38
2017-08-23T17:16:38
100,023,633
2
4
null
2022-11-01T10:51:44
2017-08-11T11:09:21
JavaScript
UTF-8
Python
false
false
1,261
py
import holoviews as hv import param import parambokeh import numpy as np from bokeh.io import curdoc renderer = hv.renderer('bokeh').instance(mode='server') class CurveExample(hv.streams.Stream): color = param.Color(default='#000000', precedence=0) element = param.ObjectSelector(default=hv.Curve, ...
[ "P.Rudiger@ed.ac.uk" ]
P.Rudiger@ed.ac.uk
a8b75d380cc2dabf3b993334ea90a79166b071f7
729ee5bcb31708a82b08509775786597dac02263
/coding-challenges/week06/AssignmentQ4.py
40922ab75fb78db62f5805f72f03ea8d78695d15
[]
no_license
pandey-ankur-au17/Python
67c2478316df30c2ac8ceffa6704cf5701161c27
287007646a694a0dd6221d02b47923935a66fcf4
refs/heads/master
2023-08-30T05:29:24.440447
2021-09-25T16:07:23
2021-09-25T16:07:23
358,367,687
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
# Given an array of size n and a number k, find all elements that appear # more than n/k times # Input : k = 4 ,n=9 , A = [ 3 ,1, 2, 2, 2, 1, 4, 3, 3 ] # # Output: - [ 3 , 2] list1=list(map(int,input("Enter the list=").split())) n=len(list1) k=int(input("Enter the value of k=")) frequency={} for i in list1: if...
[ "ankurpandey131@gmail.com" ]
ankurpandey131@gmail.com
98a3bb666aa53326b5eaed0135122f7aa1ea659d
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part002017.py
3e62b15d60a4b9a7663df6952ee01bd0980a8d61
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,304
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
d04aaef21caf30a7b3162da917e0162e5972d2ce
4e93e4275e82a08d3c114c9dd72deb0959d41a55
/src/ch10/binary/__init__.py
6f8ad9a2cdb18a4e50d6eeff4b4bd01581729622
[]
no_license
wsjhk/wasm-python-book
fd38e5a278be32df49416616724f38a415614e8b
872bc8fe754a6a3573436f534a8da696c0486c24
refs/heads/master
2023-03-16T02:18:48.869794
2020-09-17T11:31:49
2020-09-17T11:31:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
#!/usr/bin/env python # encoding: utf-8 """ @author: HuRuiFeng @file: __init__.py @time: 2020/8/19 1:55 @project: wasm-python-book @desc: """ from ch10.binary import reader decode_file = reader.decode_file
[ "huruifeng1202@163.com" ]
huruifeng1202@163.com
9d9b777e9db5f14839481e9edb2dc062d203210a
93b5da40708878016d953aeb4d9b908ff8af1e04
/function/practice2.py
3a807a52ef9fe652abe3614a37febbc4e2a91658
[]
no_license
Isaccchoi/python-practice
e50e932d2a7bf13b54e5ca317a03a5d63b406c6b
70e3e1f8590667cfe5ba4c094873eb39d555c44a
refs/heads/master
2021-06-29T05:45:18.371743
2017-09-21T06:15:47
2017-09-21T06:15:47
103,229,226
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
def sequential_search(str, key): count = 0 while count < len(str): if str[count] == key: return count else: count += 1 return 0 print(sequential_search("개구리고양이", "개")) print(sequential_search("개구리고양이", "구")) print(sequential_search("개구리고양이", "리")) print(sequential_se...
[ "isaccchoi@naver.com" ]
isaccchoi@naver.com
d85ff8da66e28d47df80755796b5b30c21127fba
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/able_way/long_way/take_eye.py
cfcd983c2042f55d5d6e7c99ddba0ad24bf58cf2
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#! /usr/bin/env python def good_time(str_arg): problem_and_work(str_arg) print('high_thing') def problem_and_work(str_arg): print(str_arg) if __name__ == '__main__': good_time('able_fact_and_life')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
a4096b7f1c4116a6ffaf257384b64bd4bd388996
5d302c38acd02d5af4ad7c8cfe244200f8e8f877
/String/6. ZigZag Conversion(Med).py
1e80504fb03188e5ba70ed8751bed04c9c9c96c4
[]
no_license
nerohuang/LeetCode
2d5214a2938dc06600eb1afd21686044fe5b6db0
f273c655f37da643a605cc5bebcda6660e702445
refs/heads/master
2023-06-05T00:08:41.312534
2021-06-21T01:03:40
2021-06-21T01:03:40
230,164,258
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
class Solution: def convert(self, s: str, numRows: int) -> str: if numRows == 1: return s store = [["" for _ in range(len(s))]for _ in range(numRows)]; i = 0; m, n = -1, 1; while i < len(s): if m == -1: m += 1; n -= 1; ...
[ "huangxingyu00@gmail.com" ]
huangxingyu00@gmail.com
83216ab4814f0ddc0657688c7f97149e35a3bdbb
142362be3c4f8b19bd118126baccab06d0514c5b
/xapian64/site-packages/djapian/utils/decorators.py
1deb7553ccf6014639b53b8845f5a841e5fbcb2e
[]
no_license
dkramorov/astwobytes
84afa4060ffed77d5fd1a6e8bf5c5c69b8115de6
55071537c5c84d0a27757f11ae42904745cc1c59
refs/heads/master
2023-08-27T07:10:51.883300
2023-08-02T16:52:17
2023-08-02T16:52:17
191,950,319
0
0
null
2022-11-22T09:15:42
2019-06-14T13:44:23
HTML
UTF-8
Python
false
false
898
py
import xapian def retry_if_except(errors, num_retry=4, cleanup_callback=None): def _wrap(func): def _inner(*args, **kwargs): for n in reversed(range(num_retry)): try: return func(*args, **kwargs) except errors: # propagate ...
[ "zergo01@yandex.ru" ]
zergo01@yandex.ru
14f7ea5a0fd4e2ab4ffa08421ed6e486da33ccfc
4692f28f86ee84a76abfac8cc8a0dd41fcd402e4
/tasks/github_tasks.py
ddf0c9af7bae0fe3c10ef1e08285fae600084aa1
[ "CC0-1.0", "BSD-3-Clause", "Apache-2.0", "GPL-1.0-or-later", "MIT", "0BSD", "Unlicense", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "BSD-2-Clause-Views", "MPL-2.0" ]
permissive
DataDog/datadog-agent
cc4b89839d6031903bf23aa12eccc2a3f3c7f213
d960cdb7de8fa5d1c7138cfe58e754af80cb796a
refs/heads/main
2023-09-04T10:45:08.138748
2023-09-04T09:13:43
2023-09-04T09:13:43
49,970,739
2,388
1,288
Apache-2.0
2023-09-14T20:06:34
2016-01-19T17:40:41
Go
UTF-8
Python
false
false
3,694
py
import os from invoke import Exit, task from .libs.github_actions_tools import ( download_artifacts_with_retry, follow_workflow_run, print_workflow_conclusion, trigger_macos_workflow, ) from .utils import DEFAULT_BRANCH, load_release_versions @task def trigger_macos_build( ctx, datadog_agent...
[ "noreply@github.com" ]
DataDog.noreply@github.com
380ff41b42f8149fb0f95f550c5bedddd25c9232
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02724/s435287686.py
462d510537b496c3a2a42ca1c7ffce6125472883
[]
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
90
py
x = int(input()) hap = x // 500 hap2 = (x - hap*500)//5 ans = hap*1000 + hap2*5 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
019ab9a8348c516eab7132b6900f6f45b8172cdb
243ce25168eea65144713a1100ca997a2d29f280
/p68.py
aaea8a7b5cd711d48a2ecaed6cc2366716f5667f
[]
no_license
acadien/projecteuler
6aa1efbb1141ecf36d6b23bb6b058070e5e881e0
2efb0b5577cee7f046ed4f67d0f01f438cbf3770
refs/heads/master
2020-04-28T21:33:49.631044
2013-12-06T19:25:20
2013-12-06T19:25:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
#!/usr/bin/python from math import * from random import * from itertools import chain,permutations o_ind=range(5) i_ind=[[5,6],[6,7],[7,8],[8,9],[9,5]] def trysum(A): if 10 in A[5:]: return False B=set([A[i]+A[i_ind[i][0]]+A[i_ind[i][1]] for i in range(5)]) if len(B)==1: return True re...
[ "adamcadien@gmail.com" ]
adamcadien@gmail.com
e1deab83389f3a158a86076670d0bded1a976175
99e57f00fcaf4469c1c1b79f2d17176aaef9a790
/hr_payslip_batch_confirm/models/__init__.py
07e6a958e3299a35542efcae0c6a19e9d50b4dda
[]
no_license
detian08/mcl
d007ffd0e869f3bd9a8c74bc8473119901f0de2a
32d61148326c931aca0107c3894061773f287e33
refs/heads/master
2022-03-23T19:36:29.608645
2019-12-11T10:15:50
2019-12-11T10:15:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
from . import hr_payroll from . import hr_payroll_run
[ "adarsh@prixgen.com" ]
adarsh@prixgen.com
ae9e61d3ae9ee479adabb49c6e4d75d50cecfd7e
b1f7c8eecdfc1e54e868430d7b6192b162f5a530
/insta/signals.py
2177664422d6238343c5645260f46897273c08a5
[]
no_license
Nyagah-Tech/instagramWebApp
490c9d8874c082132e9a0d78eb849e2b1136656b
abf3421a408ac1daf5f5bf20b76073ad73894eba
refs/heads/master
2022-12-13T04:33:26.104920
2020-01-06T21:18:17
2020-01-06T21:18:17
229,194,006
0
0
null
2022-11-22T05:13:48
2019-12-20T05:08:18
Python
UTF-8
Python
false
false
565
py
from django.db.models.signals import post_save from django.contrib.auth.models import User from django.dispatch import receiver from .models import Profile @receiver(post_save, sender=User) def create_profile(sender,instance,created,**kwargs): ''' this is a function that creates a profile of a user after registrat...
[ "dan@localhost.localdomain" ]
dan@localhost.localdomain
62b7897f6f243bde43c73bd0addea96c61ff23d3
e2d23d749779ed79472a961d2ab529eeffa0b5b0
/gcloud/tests/core/models/test_user_default_project.py
a8944c2c0e485a689a536b1e3088ebda6139b172
[ "MIT", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
manlucas/atom
9fa026b3f914e53cd2d34aecdae580bda09adda7
94963fc6fdfd0568473ee68e9d1631f421265359
refs/heads/master
2022-09-30T06:19:53.828308
2020-01-21T14:08:36
2020-01-21T14:08:36
235,356,376
0
0
NOASSERTION
2022-09-16T18:17:08
2020-01-21T14:04:51
Python
UTF-8
Python
false
false
2,282
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
[ "lucaswang@canway.net" ]
lucaswang@canway.net
02778531cc548dda2bfadf226376a93af1bcd11f
746bf62ae3599f0d2dcd620ae37cd11370733cc3
/leetcode/contains-duplicate.py
768cd64e1cb979d349fc2bf6872d9d0a27bb7e6b
[]
no_license
wanglinjie/coding
ec0e614343b39dc02191455165eb1a5c9e6747ce
350f28cad5ec384df476f6403cb7a7db419de329
refs/heads/master
2021-04-22T14:00:48.825959
2017-05-02T12:49:05
2017-05-02T12:49:05
48,011,510
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
#!/usr/bin/env python # -*- coding:utf-8 -*- ''' Author: Wanglj Create Time : 20151223 Last Modified: 判断列表中是否有重复的 ''' class Solution(object): def containsDuplicate(self, nums): """ :type nums: List[int] :rtype: bool """ nums_set = set(nums) if len(nums_set) < len(n...
[ "hitwhwlj@163.com" ]
hitwhwlj@163.com
f9d7f2202c7c7b8cfb47887171023887d23fb306
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_192/ch50_2020_03_31_18_26_15_429003.py
9cc22791965cdb59d8ef25da1a85490c844cd611
[]
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
177
py
def junta_nome_sobrenome(n, s): n_s = [] espaco = [' ']*len(n) i = 0 while i < len(n): n_s.append(n[i] = espaco[i] + s[i]) i += 1 return n_s
[ "you@example.com" ]
you@example.com
38723203b79a0913486767469b468bcf4790caac
795ba44e09add69a6c3859adf7e476908fcb234c
/backend/mod_training_1_27492/urls.py
58881d4c5e4d89926432059cb0802a8f7062e3db
[]
no_license
crowdbotics-apps/mod-training-1-27492
0df7b863ef18e7ba4e3f1c34f1bac7554e184553
91815c10d4f8af1e18bb550db97373b4099a4ae9
refs/heads/master
2023-04-26T00:57:13.854464
2021-06-01T19:48:41
2021-06-01T19:48:41
371,498,927
0
0
null
null
null
null
UTF-8
Python
false
false
2,247
py
"""mod_training_1_27492 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'...
[ "team@crowdbotics.com" ]
team@crowdbotics.com