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
629b3a5257059913a7da306eec068efe1e380de4
bd8bc7abe0f774f84d8275c43b2b8c223d757865
/705_DesignHashSet/MyHashSet.py
06a999a2cec78ea54e5bd553bcec061ffea7135f
[ "MIT" ]
permissive
excaliburnan/SolutionsOnLeetcodeForZZW
bde33ab9aebe9c80d9f16f9a62df72d269c5e187
64018a9ead8731ef98d48ab3bbd9d1dd6410c6e7
refs/heads/master
2023-04-07T03:00:06.315574
2021-04-21T02:12:39
2021-04-21T02:12:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
class Bucket: def __init__(self): self.buckt = [] def add(self, key): if key not in self.buckt: self.buckt.append(key) def remove(self, key): for i, k in enumerate(self.buckt): if k == key: del self.buckt[i] def contains(self...
[ "noreply@github.com" ]
excaliburnan.noreply@github.com
f008a629a26cf50be0ba05f2ff12cea28da03c6d
9188d0d7ce9fc5fadf4d2593741894e1448f9326
/indico/vendor/django_mail/__init__.py
9cee3d734ac462e5c0da565826c3884569db9e34
[ "MIT" ]
permissive
vaclavstepan/indico
b411410416acdfa50b0d374f89ec8208de00fb2f
8ca1ac4d4a958f22f24580a790b3cb015570bdfb
refs/heads/master
2023-07-21T04:42:03.031131
2021-09-01T09:54:17
2021-09-01T09:54:17
385,897,420
0
0
MIT
2021-07-16T13:07:32
2021-07-14T10:16:57
null
UTF-8
Python
false
false
1,359
py
# This file is part of Indico. # Copyright (C) 2002 - 2021 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. # TODO: Move this whole package into a standalone pypi package, since it's # useful in general for anyoen ...
[ "adrian.moennich@cern.ch" ]
adrian.moennich@cern.ch
7a98bd64abdb3d07cde81ab64491ac9725dcb528
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02936/s782768449.py
56eea4ff0a74433df558677289cc44ba5326f3a0
[]
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
552
py
n, q = map(int, input().split()) Tree = [[] for _ in range(n+1)] Counter = [0 for _ in range(n+1)] AB = (tuple(map(int, input().split())) for _ in range(n-1)) PX = (tuple(map(int, input().split())) for _ in range(q)) for a,b in AB: Tree[a].append(b) Tree[b].append(a) for p,x in PX: Counter[p] += x P = [-1]*(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6f05788dedfb6545482ba4bd9b8acffa93ddfb1e
29c476c037a05170ff2ddef8edd07014d3751614
/0x03-python-data_structures/10-divisible_by_2.py
787cefb10383f36ee67ca2a984d31d20a27f6684
[]
no_license
hacheG/holbertonschool-higher_level_programming
a0aaddb30665833bd260766dac972b7f21dda8ea
535b1ca229d7cf61124a128bb5725e5200c27fbc
refs/heads/master
2020-07-22T23:09:27.486886
2020-02-13T19:41:34
2020-02-13T19:41:34
207,360,462
0
1
null
null
null
null
UTF-8
Python
false
false
220
py
#!/usr/bin/python3 def divisible_by_2(my_list=[]): new_list = [] for i in my_list: if(i % 2 == 0): new_list.append(True) else: new_list.append(False) return(new_list)
[ "943@holbertonschool.com" ]
943@holbertonschool.com
a452e26672a218523c0d1f3f356856adc98f25b9
b6553d9371a3612c992cfe0dba678cbc16c6812b
/a-concurrent/http_request.py
36e4bf8acdab802ce4473dd7627fe7ccf2c97506
[]
no_license
drgarcia1986/bev-py-concurrency
071ef6f899c7c892eeb446c024b67bfa56d6a83c
4159b9acb82ade59c9b7d1b5ae49d764fddf5430
refs/heads/master
2021-01-09T05:50:37.331265
2017-02-03T15:30:24
2017-02-03T15:30:24
80,840,883
2
0
null
null
null
null
UTF-8
Python
false
false
528
py
import asyncio import aiohttp async def make_get(delay): response = await aiohttp.get('https://httpbin.org/delay/{}'.format(delay)) response.close() return delay, response.status == 200 async def make_requests(*delays): requests = [make_get(d) for d in delays] return await asyncio.gather(*reque...
[ "drgarcia1986@gmail.com" ]
drgarcia1986@gmail.com
907b45c3d962efdc0f0ec839c4a198f7fa84df2e
7ac82627034f262d110112112bd3f7e430f3fd90
/CodeEdgeDetection.py
13accf650198daa9d37272e2f4a0fbf31bbe2ac1
[]
no_license
saguileran/Codigos
bca7172e19aefb5ed9ec0720991cafff078278cc
f49a72f57de3769d06ff4a09df07e9d25d4dde29
refs/heads/master
2020-06-01T16:53:27.446944
2019-06-27T19:26:57
2019-06-27T19:26:57
190,854,062
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
import cv2 import numpy as np from matplotlib import pyplot as plt # loading image #img0 = cv2.imread('SanFrancisco.jpg',) img0 = cv2.imread('Camera.jpg',) # converting to gray scale gray = cv2.cvtColor(img0, cv2.COLOR_BGR2GRAY) # remove noise img = cv2.GaussianBlur(gray,(3,3),0) # convolute with proper kernels lap...
[ "root@beaglebone.localdomain" ]
root@beaglebone.localdomain
266c3267d5b874ecb5dda55196cfc42fc8c3ef76
29a78032c3b2fdd4722f6c054ab20a5a8cea627c
/studtpy/string2.py
ec6493272f2407e3dd9850cfac2e0d2a611c519b
[]
no_license
jungting20/pythonpro
838ea188f846b6e1a90f1a7c429f02464b1b0927
455dd23132023cb472bab5e8d9ba4a881331db54
refs/heads/master
2021-06-27T16:20:54.768172
2017-09-16T08:38:19
2017-09-16T08:38:19
103,737,995
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
n = 42 f = 7.03 s = 'string cheese' aa = {'n':42,'f':7.03,'s':'string cheese'} bb = {'n':40,'f':6.03,'s':'cheese'} #이걸 기억하자 깔끔하게 기억 넣는순서가있음 딕셔너리는 객체니까 그냥 1개로 보는 #거임 그러니 #결국 저 숫자 0 1의 의미는 .format에 인자에 넣는 순서를 말하는거임 ㅋ #깨달았다 bb = '{0[n]:<10d} {0[f]:<10f} {0[s]:<10s} {1[n]} {1[f]} {1[s]}'.format(aa,bb) cc = '{0:0>2d}'.form...
[ "jungting20@gmail.com" ]
jungting20@gmail.com
a1e5a47e98755a69e6e6ec284c49cc864ae633de
7d2f933ed3c54e128ecaec3a771817c4260a8458
/venv/Lib/site-packages/pandas/core/computation/pytables.py
0787ffe9d2aba703a0a4433d1e1344dc72020c57
[]
no_license
danielmoreira12/BAProject
c61dfb1d0521eb5a28eef9531a00e744bfb0e26a
859f588305d826a35cc8f7d64c432f54a0a2e031
refs/heads/master
2021-01-02T07:17:39.267278
2020-02-25T22:27:43
2020-02-25T22:27:43
239,541,177
0
0
null
null
null
null
UTF-8
Python
false
false
19,128
py
""" manage PyTables query interface via Expressions """ import ast import numpy as np import pandas as pd import pandas.core.common as com from functools import partial from pandas._libs.tslibs import Timedelta, Timestamp from pandas.compat.chainmap import DeepChainMap from pandas.core.computation import expr, ops, sc...
[ "danielmoreira12@github.com" ]
danielmoreira12@github.com
6b30f92d6c8692c9de33540170070de26905643f
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1815745/homework02/program02.py
5dd1b627308412ffb7923fffd477fb45a221ef02
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
4,805
py
''' Un file di compiti contiene informazioni su un insieme di compiti da eseguire. Esistono due tipologie di compiti: - compiti che possono essere eseguiti indipendentemente dagli altri. - compiti da svolgere solo al termine di un compito preliminare. I compiti del primo tipo sono codificati nel file mediante una ...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
bc5d19bd2accbef984fe12bf55bf5efc38843cdd
0e5291f09c5117504447cc8df683ca1506b70560
/netbox_client/models/virtual_chassis.py
55a342402aba80391af4f170111c0cc764deb924
[ "MIT" ]
permissive
nrfta/python-netbox-client
abd0192b79aab912325485bf4e17777a21953c9b
68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8
refs/heads/master
2022-11-13T16:29:02.264187
2020-07-05T18:06:42
2020-07-05T18:06:42
277,121,108
0
0
null
null
null
null
UTF-8
Python
false
false
5,791
py
# coding: utf-8 """ NetBox API API to access NetBox # noqa: E501 OpenAPI spec version: 2.8 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class VirtualChassis(object): """NOTE: This class is auto generated by the sw...
[ "67791576+underline-bot@users.noreply.github.com" ]
67791576+underline-bot@users.noreply.github.com
2064f456c5a1818c85b08b9b443632e186ae9c5d
d8010e5d6abc2dff0abb4e695e74fb23b4f7d558
/publishing/books/views.py
5a144558fd6f3fac6f3640f5283f5929042b46fd
[ "MIT" ]
permissive
okoppe8/django-nested-inline-formsets-example
d17f4e1181925d132625e51453cb8c50107ade1c
c0b1abb32f6d09a7732d48e40ea61e21b258e959
refs/heads/master
2020-03-09T21:48:51.804513
2018-03-04T11:13:55
2018-03-04T11:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,938
py
from django.contrib import messages from django.http import HttpResponseRedirect from django.shortcuts import render from django.urls import reverse from django.views.generic import DetailView, FormView, ListView, TemplateView from django.views.generic.detail import SingleObjectMixin from .forms import PublisherBooksW...
[ "phil@gyford.com" ]
phil@gyford.com
b7caeef897518daa65994562807bac7471c5cbf2
202180e6b7109e9058cce442054d6532c44c796d
/crm/migrations/0010_auto_20161127_1530.py
1ffb531b34b3e42c78cc8c52836e43f171d5a024
[ "Apache-2.0" ]
permissive
pkimber/old-crm-migrated-to-gitlab
230d4eec0cfa794c90fff8c75154d98699820093
835e8ff3161404316b7da35cf61e3851763b37b9
refs/heads/master
2021-06-15T22:07:08.207855
2017-04-27T21:05:53
2017-04-27T21:05:53
12,544,468
1
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-27 15:30 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): dependencies = [ migrations.swappable_depende...
[ "code@pkimber.net" ]
code@pkimber.net
d80e11fcc0b33c2543565138e2a0162fa4c18653
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba0142.pngMap.py
a8a06e317152099d16dd372f1deee6c101d4566c
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba0142.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111001111111000000000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000111111001111110000000000000000000000', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
d88bc3b619dd0c947cd3561a3c6ff54d1970a192
779af874adf1647461981b0c36530cf9924f5f01
/python3/dist-packages/UpdateManager/UpdateManagerVersion.py
d75b462722ca8685adf317e6dfadc5abbfc87df3
[]
no_license
hitsuyo/Library_Python_3.5
8974b5de04cb7780b0a1a75da5cb5478873f08e7
374e3f9443e4d5cae862fd9d81db8b61030ae172
refs/heads/master
2022-11-05T23:46:47.188553
2018-01-04T19:29:05
2018-01-04T19:29:05
116,093,537
1
2
null
2022-10-26T03:07:06
2018-01-03T05:02:20
Python
UTF-8
Python
false
false
21
py
VERSION = '1:16.04.5'
[ "nguyentansang3417@gmail.com" ]
nguyentansang3417@gmail.com
c26b0cd852fa2c4d413cab8c8391e0fee5551723
464338d9556cf9892a4647ab1b94dd9d2879274d
/ohealth/ohealth_insurance_plan/__init__.py
7fde06bc5796d75e88f9e7335f1229285c7746ad
[]
no_license
linzheyuan/O-health
5199637de8343508c5fe2d8e611a394cf39d1673
eab3fc74ee7b878dbcc8234597de053de9d9e608
refs/heads/master
2021-01-24T21:36:14.068894
2013-07-07T12:34:28
2013-07-07T12:34:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
# -*- coding: utf-8 -*- #/############################################################################# # # HITSF # # Special Credit and Thanks to Thymbra Latinoamericana S.A. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public L...
[ "rizabisnis@gmail.com" ]
rizabisnis@gmail.com
1672eb182095e59d0e9341177bf03cc900cbf11e
4ae3b27a1d782ae43bc786c841cafb3ace212d55
/django_test_proj/env_02/restful03/restful03/urls.py
7a095534f5b9d3d66860e7f591a63ea43cc1412b
[]
no_license
bopopescu/Py_projects
c9084efa5aa02fd9ff6ed8ac5c7872fedcf53e32
a2fe4f198e3ca4026cf2e3e429ac09707d5a19de
refs/heads/master
2022-09-29T20:50:57.354678
2020-04-28T05:23:14
2020-04-28T05:23:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
"""restful03 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') Class-bas...
[ "sunusd@yahoo.com" ]
sunusd@yahoo.com
3b9878aecf89cf4a6e5d1ea51931dd7545238438
70fc2cc55f1030c08382bd80050afc62c48c29ad
/scripts/run_benchmark.py
b29f9942681644f5b369ad95b6ee30aef0d14647
[]
no_license
haowenCS/transfer-hpo-framework
4ecdd3cf204f685e74a2b561263c6f21308ab9db
0f2cc036fac7a504e506ec0cc6bf914003933c44
refs/heads/main
2023-08-21T03:40:23.119136
2021-10-04T15:50:05
2021-10-04T15:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
44,506
py
import argparse import copy import json import os parser = argparse.ArgumentParser() parser.add_argument( '--benchmark', choices=['alpine', 'quadratic', 'adaboost', 'svm', 'openml-svm', 'openml-xgb', 'openml-glmnet', 'nn'], default='alpine', ) parser.add_argument('--task', type=int) parser.add...
[ "feurerm@informatik.uni-freiburg.de" ]
feurerm@informatik.uni-freiburg.de
e8ee357fd8205f654efb9640ce7e9edc737f31a8
4dace99563190bbf2c931572dc0ed8cffdf581b3
/ex25.py
02d130bdf892cc432df6ca0ca577cc5209cfa301
[]
no_license
AxelRigal/Exercice_debutant
e21a38f8e17e022195205a7076e2a2669a193b3a
816f2195cbd5e9140ac316e460b4fcf98685d372
refs/heads/master
2022-12-23T03:51:47.759407
2020-10-06T14:57:12
2020-10-06T14:57:12
276,771,646
0
0
null
2020-07-13T22:03:45
2020-07-03T00:32:01
Python
UTF-8
Python
false
false
120
py
liste = [1, 1, 4, 3, 3, 2, 6, 7, 7, 9, 2] resultat = [i*(i+1%(i*5)) for i in sorted(list(set(liste)))] print(resultat)
[ "axel.rigal@gmail.com" ]
axel.rigal@gmail.com
50dba4a8dc1c11bcde73b1533d03a5da993821bf
2449715d42e89f51bd352b3f3a311ef41f3f04f2
/exercise/news_test/muitlprocess_queue.py
97d0eb41eb5347ae036aa4552a0c54a362fa11e7
[]
no_license
SmallPuddingComing/PycharmProjects
d0d900c94691efe98d7d0e147f2968c28546f61c
28965e9e2524cb26449a30a237665f404c5aab70
refs/heads/master
2021-01-10T15:47:21.968541
2016-05-03T11:23:27
2016-05-03T11:23:27
54,554,420
0
0
null
null
null
null
UTF-8
Python
false
false
1,887
py
#coding:utf8 ''' Created on 2016-4-1 @author : yr website from : http://www.jb51.net/article/80115.htm ''' import multiprocessing import requests from multiprocessing.process import Process #IO密集型任务 #多个进程同时下载多个网页 #利用Queue+多进程 #由于是IO密集型,所以同样可以用threading ''' 1、初始化tasks,里面放着一系列的dest_url 2、同时开启4个进程向tasks中获取任务进行执行 3、处理结果...
[ "1076643147@qq.com" ]
1076643147@qq.com
89418b88b36775cd5558bcb8e547933c0d213a39
8da91c26d423bacbeee1163ac7e969904c7e4338
/pyvisdk/do/v_mware_dvs_config_spec.py
afb05925855d68f024da0b88a95e372d9f3d0e83
[]
no_license
pexip/os-python-infi-pyvisdk
5d8f3a3858cdd61fb76485574e74ae525cdc7e25
1aadea0afbc306d09f6ecb9af0e683dbbf961d20
refs/heads/master
2023-08-28T02:40:28.789786
2020-07-16T04:00:53
2020-07-16T04:00:53
10,032,240
0
1
null
null
null
null
UTF-8
Python
false
false
1,374
py
import logging from pyvisdk.exceptions import InvalidArgumentError ######################################## # Automatically generated, do not edit. ######################################## log = logging.getLogger(__name__) def VMwareDVSConfigSpec(vim, *args, **kwargs): '''This class defines the VMware specific ...
[ "jmb@pexip.com" ]
jmb@pexip.com
b57adcc39b9c6b4abe4965488f9b60417cd6389c
5c8139f1e57e06c7eaf603bd8fe74d9f22620513
/PartA/Py反转字符串内容2.py
b6b9af014070855a9b3a79797b620fdd1f3d974e
[]
no_license
madeibao/PythonAlgorithm
c8a11d298617d1abb12a72461665583c6a44f9d2
b4c8a75e724a674812b8a38c0202485776445d89
refs/heads/master
2023-04-03T07:18:49.842063
2021-04-11T12:02:40
2021-04-11T12:02:40
325,269,130
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
class Solution(): def reverseString(self,s): def helper(left, right): if left < right: s[left], s[right] = s[right],s[left] helper(left + 1, right-1) helper(0, len(s) - 1) return s if __name__ == "__main__": s = Solution() print(s.rever...
[ "2901429479@qq.com" ]
2901429479@qq.com
d6b58de7a4483d2044cdc0624c57e6f6d3792fbf
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/335/usersdata/297/99568/submittedfiles/matriz1.py
25872a5f7dbc94f97ca7250169563977b88328f5
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
3,475
py
# -*- coding: utf-8 -*- matriz=[] m=int(input('digite o numero de linhas dejado: ')) n=int(input('digite o numero de colunas dejado: ')) for i in range(m): linha= [] for j in range(n): linha.append(int(input('digite o valor do indice da linha%d e da coluna %d : ' %((i+1),(j+1))))) matriz.append(linh...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b869b5aabce6c786603cfd965af2eccc2d2311c2
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_170/run_cfg.py
72c397a816bf725adf80827a259310277ce5fb80
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_m...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
f9def055c1faf6d80a0eb67ecc555853b788a02f
77d834eb125fdc56c96af31cf74db5b741c8e94e
/api_v5/urls.py
99a4f29e1b51566b40e869de61c5b80f161f01cd
[]
no_license
zhouf00/learn_rest_framework
7c17124fcb08ce48f54f94201f2da29e41e9d867
a292e38ee9ff475e43ce4612fbb6c074b4073f84
refs/heads/master
2022-10-12T12:05:07.618651
2020-06-11T02:40:45
2020-06-11T02:40:45
268,827,695
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
from django.conf.urls import url,include from rest_framework import routers from . import views router = routers.DefaultRouter() urlpatterns = [ ]
[ "49618748+zhouf00@users.noreply.github.com" ]
49618748+zhouf00@users.noreply.github.com
05e9150c6a508e13e2e38e2590747d16dad070dd
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-mpc/huaweicloudsdkmpc/v1/model/create_watermark_template_request.py
fe26b61a406957be1a4292565fe85e4762ba11f4
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,991
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateWatermarkTemplateRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (di...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
3dface85d6a966e144d8e74a1ed487c73e9b9c72
d23dab09b21553353ad85246ebafaea790f2afbd
/src/python/pants/backend/scala/lint/scalafmt/rules.py
82f6198e1339413f45ec690c0b395020ca4addcc
[ "Apache-2.0" ]
permissive
asherf/pants
00e8c64b7831f814bac3c4fa8c342d2237fef17d
c94d9e08f65e9baf3793dff0ec2c571d682f6b90
refs/heads/master
2023-05-28T14:45:35.325999
2023-01-18T15:16:07
2023-01-18T15:16:07
185,082,662
0
0
Apache-2.0
2023-01-18T15:15:46
2019-05-05T21:09:43
Python
UTF-8
Python
false
false
7,856
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations import os.path from collections import defaultdict from dataclasses import dataclass from typing import cast from pants.backend.scala.lint.scalafmt.skip...
[ "noreply@github.com" ]
asherf.noreply@github.com
b89e16585be9d5a208e0711271a22f5d6e201515
886397f22f566025c268c7591ce1f91aa1413a86
/Stack_and_Queue/002_geeksforgeeks_Next_Larger_Element/Solution.py
8ffe729762e7b3fa8dec35455a1e065d75178d3c
[]
no_license
Keshav1506/competitive_programming
cd4323355c96a1368135bdfb6b24511bb0b11477
f2621cd76822a922c49b60f32931f26cce1c571d
refs/heads/master
2023-02-04T16:48:16.723296
2020-12-24T04:13:45
2020-12-24T04:13:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,468
py
# # Time : O(N); Space: O(1) # @tag : Stack and Queue # @by : Shaikat Majumdar # @date: Aug 27, 2020 # ************************************************************************** # Description: # # Given an array A of size N having distinct elements, the task is to find the next greater element for each element of the ...
[ "sm2774us@gmail.com" ]
sm2774us@gmail.com
997edcc27f6dff73d8aad74d24578f3cf20b226d
33feacc4ef80da09e6843c6b97469ad99b2215cb
/Dictionary/src/deldict.py
430e54047f93a5a797e4bbc2eea892edc3b91ce0
[]
no_license
DheerajJoshi/Python-tribble
cfbecbd4e33da38f514c5eee3d61ddd74408e071
eb82eb04e299ceec39ad19b9fc07873e5479ab74
refs/heads/master
2021-05-30T07:59:17.362407
2015-10-25T13:33:19
2015-10-25T13:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
#!/usr/bin/python dict1 = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}; del dict1['Name']; # remove entry with key 'Name' dict1.clear(); # remove all entries in dict1 del dict1 ; # delete entire dictionary print ("dict1['Age']: ", dict1['Age']); print ("dict1['School']: ", dict1['School']); #This will produce the foll...
[ "joshidj.12@gmail.com" ]
joshidj.12@gmail.com
da311bd0dc542b41b6afccbf71b942ad15aa3c0a
cc5a3fa80d2ae90afc2626e4a82b9a927726dfa0
/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/delete_certificate_request.py
49280d442ebc8df1c3ca56dc98901b35b2864376
[ "Apache-2.0" ]
permissive
Logan118/huaweicloud-sdk-python-v3
eca15e9b08bdccef7122e40735d444ddc958efa8
bb230c03bd00225b9f5780a56adce596e9456420
refs/heads/master
2023-07-17T14:57:50.799564
2021-08-25T10:40:43
2021-08-25T10:40:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,098
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class DeleteCertificateRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): T...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
3ebe149e847b53c61177f7563d3477880c98187a
88be3911c7e73d4bf71b0482ee6d15f49030463a
/Func_Decorator/demo8_decorator.py
0957bf20ac97a758b0acbd5f52d072b9f13b2289
[]
no_license
skyaiolos/Python_KE
85f879d1cb637debd2e3a0239d7c8d7bfb30c827
8cc42c8f4d1245de4b79af429f72a9ed2508bc1a
refs/heads/master
2021-01-22T08:47:47.761982
2017-05-28T14:57:02
2017-05-28T14:57:02
92,634,507
1
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
""" # Script Description: http://www.cnblogs.com/rhcad/archive/2011/12/21/2295507.html Python装饰器学习(九步入门) """ __author__ = "爱的彼岸(QQ:3124724)" __copyright__ = "Copyright 2017,3124724@qq.com" print("第八步:让装饰器带 类 参数") print("------示例8: 装饰器带类参数") '''示例8: 装饰器带类参数''' class locker: def __init__(self): ...
[ "skyaiolos@aliyun.com" ]
skyaiolos@aliyun.com
d32415e83f4447be4139a778226ca0f0b28ff00f
314245750f897949bc7867883d22b8ff1465fbe1
/boostcamp/ex/dfs_bfs/1_solved.py
8564949da94e717d888d487afad6e537ae1696c4
[]
no_license
dongho108/CodingTestByPython
e608d70235cc6c6a27c71eea86ee28d1271d4d1d
475b3665377a8f74944d7698e894ad3eafc49ad4
refs/heads/master
2023-05-24T15:01:56.563359
2021-07-01T14:23:20
2021-07-01T14:23:20
330,833,238
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
answer = 0 def dfs(n, sum, numbers, target): global answer if n == len(numbers): if sum == target: answer += 1 return dfs(n+1, sum+numbers[n], numbers, target) dfs(n+1, sum-numbers[n], numbers, target) def solution(numbers, target): global answer dfs(1, numbers[0...
[ "dongho108@naver.com" ]
dongho108@naver.com
f3d7325e4106686dfd04fb4b95d0df987c6a83c6
de213b73f703fb8f285bc8cf15e388cc2f98898f
/venv/bin/IveBeenEverywhere.py
32dad69578024fb806c25252463ac155bd2da901
[]
no_license
adampehrson/Kattis
18de025a6a569a46c54cc85c996eec0b55c9f74b
a04922caa356f8113fe30a523f3a148d458a6132
refs/heads/main
2023-07-10T02:53:29.782854
2021-08-14T10:44:30
2021-08-14T10:44:30
395,948,382
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
i = 0 x = int(input()) while i<x: e = 0 cities = list() total = 0 y = int(input()) while e <y: newcity = input() if cities.count(newcity) < 1: total = total +1 cities.append(newcity) e +=1 print(total) i+=1
[ "85373641+adampehrson@users.noreply.github.com" ]
85373641+adampehrson@users.noreply.github.com
1162591a036f543f84cd75cc9f65138a01a11000
8723f56398a7f969877709192922c053b0e20d56
/Kayit/migrations/0002_auto_20191230_2010.py
67c88c715ff83bd43a9649c5b886ab1c30655f68
[]
no_license
vektorelpython/Python17Web
f215efd9be96062886f67e456c4d0735602b5f00
f571a4157d2575d441f091f2450d5e24f4f3645d
refs/heads/master
2022-04-04T20:03:02.941949
2020-01-13T16:16:15
2020-01-13T16:16:15
230,123,576
1
0
null
null
null
null
UTF-8
Python
false
false
702
py
# Generated by Django 2.2.3 on 2019-12-30 18:10 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('Kayit', '0001_initial'), ] operations = [ ...
[ "ibrahim.ediz@gazi.edu.tr" ]
ibrahim.ediz@gazi.edu.tr
2fcd4d8f4ade86e244c888b374d3a52a7905389e
5b3c90d0426dd2adbe756e094c99f066925cda79
/todoist_tracker/cli/base.py
eee2baa5c52b59f692be8f17b0816a697bee1379
[ "MIT" ]
permissive
deanmalmgren/todoist-tracker
5bd85e3903b0f5ca10b05c406535da36a92d7ab5
f2576a6bf5a80873bc825b3d64a1dc6aed0a145b
refs/heads/master
2021-01-12T05:02:53.769394
2017-01-14T20:08:57
2017-01-14T20:08:57
77,838,338
2
0
null
null
null
null
UTF-8
Python
false
false
2,914
py
import argparse import json import os import shutil from todoist import TodoistAPI import gspread from gspread.exceptions import WorksheetNotFound from oauth2client.service_account import ServiceAccountCredentials class BaseCommand(object): help_text = '' def __init__(self, subcommand_creator): # k...
[ "dean.malmgren@datascopeanalytics.com" ]
dean.malmgren@datascopeanalytics.com
226804966ea7030faa28c955e70c9aaf1b2c505e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/131/usersdata/231/45412/submittedfiles/al10.py
a573e8bb660a39123122360930bff18c017929eb
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
# -*- coding: utf-8 -*- n=int(input('digite o número de termos:')) numerador=2 denominador=1 produto=1 i=0 while (i)<=n: produto=(produto*numerador)/denominador if i%2==1: numerador=numerador+2 else: denominador=denomidor+2 i=i+1 print(produto)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
93de3c327880536cb8e6fadfa3bb218dd1f988d7
4adc1d1b8f9badefcd8c25c6e0e87c6545ccde2c
/OrcApi/Run/RunDefMod.py
2f8dc08045cf79a3369be3dfb48b8252fd92eca1
[]
no_license
orange21cn/OrcTestToolsKit
eb7b67e87a608fb52d7bdcb2b859fa588263c136
69b6a3c382a7043872db1282df4be9e413d297d6
refs/heads/master
2020-04-15T07:30:35.485214
2017-09-30T06:16:17
2017-09-30T06:16:17
68,078,991
5
3
null
null
null
null
UTF-8
Python
false
false
4,612
py
# coding=utf-8 import os import re from OrcLib.LibCommon import OrcString from OrcLib import get_config from OrcLib.LibLog import OrcLog from OrcLib.LibNet import OrcResource from OrcLib.LibNet import ResourceCheck from RunData import RunData class RunDefMod: """ 运行列表管理,操作目录,目录名为 [类型]_[id],目录内含有 result.res 的属...
[ "orange21cn@126.com" ]
orange21cn@126.com
3d54b8a8ff113386e8decf0364c938387f21328f
45b4ff6a4e4804ff84847d56400e10cdb0d96186
/python/test/test_facility_api.py
45f0beb3033e2eea55022dd52157db63d76832e0
[]
no_license
pranav/mbta-libraries
fabbc9305569a344e25fa1b281cba290f0fa3f13
e793696addd94750f722f3132aadc8dfe00adef5
refs/heads/master
2021-08-22T11:15:26.014862
2017-11-30T03:12:52
2017-11-30T03:12:52
112,558,008
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
# coding: utf-8 """ MBTA MBTA service API. https://www.mbta.com OpenAPI spec version: 3.0 Contact: developer@mbta.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import unittest import swagger_client from swa...
[ "pgandhi@hubspot.com" ]
pgandhi@hubspot.com
ed03d817b2745fe31e30d8bef403cb40adbead8c
02bcd98063c2088e9ab6a266c7f7c57d0c06cd33
/install.py
9ec2a4b8a4f81785a93ba6c43892aee798a445c6
[ "MIT" ]
permissive
kevinsegal/BabySploit
e99d2c89a041de9f0f2e6e3d4f0ce5bb015011f0
66bafc25e04e7512e8b87b161bd3b7201bb57b63
refs/heads/master
2020-04-07T04:27:18.870230
2018-11-18T03:34:38
2018-11-18T03:34:38
158,056,891
1
0
MIT
2018-11-18T06:35:20
2018-11-18T06:35:20
null
UTF-8
Python
false
false
1,407
py
import os, time, subprocess, sys from sys import stdout def Command_exe(msg,cmd): i = "[STATUS] Processing" stdout.write(" " + msg + " %s" % i) stdout.flush() if subprocess.call(cmd +' >/dev/null 2>&1', shell=True)==0: i = "Complete [WARNING] " else: i = "Error [WARNING] " stdo...
[ "maxlikescs@gmail.com" ]
maxlikescs@gmail.com
07f73d058858e0f3315b38071815f60bc073c77a
f03bd5bd7873c5cc33b4ef5199f219539f3a340e
/CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/plotting/preparation.py
486c6eae84d41a5dfc524a86d527248f79a7be4c
[ "GPL-1.0-or-later", "AGPL-3.0-only", "AGPL-3.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-philippe-de-muyter", "MIT" ]
permissive
Stargrazer82301/CAAPR
5f8a7033b16792f23abd5d07021b53b9228a5db4
62b2339beb2eb956565e1605d44d92f934361ad7
refs/heads/master
2022-08-29T02:53:33.658022
2022-08-05T19:06:46
2022-08-05T19:06:46
49,977,601
8
1
MIT
2022-08-05T19:06:47
2016-01-19T19:32:42
Python
UTF-8
Python
false
false
22,385
py
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
[ "cjrc88@gmail.com" ]
cjrc88@gmail.com
29e7ca9976f3be06036fd6349285796e881773cd
45df508e4c99f453ca114053a92deb65939f18c9
/tfx/examples/custom_components/slack/example/taxi_pipeline_slack.py
3dbce075cb89247de90ea067d0bc447f94df9942
[ "Apache-2.0" ]
permissive
VonRosenchild/tfx
604eaf9a3de3a45d4084b36a478011d9b7441fc1
1c670e92143c7856f67a866f721b8a9368ede385
refs/heads/master
2020-08-09T13:45:07.067267
2019-10-10T03:07:20
2019-10-10T03:07:48
214,100,022
1
0
Apache-2.0
2019-10-10T06:06:11
2019-10-10T06:06:09
null
UTF-8
Python
false
false
7,087
py
# 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 required by applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
4f28e36150a4c5c9a4bf75957a1d0d02781ce721
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/contourcarpet/_db.py
bb09cf5f377e552d7947bdae4b474578ed21a179
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
463
py
import _plotly_utils.basevalidators class DbValidator(_plotly_utils.basevalidators.NumberValidator): def __init__(self, plotly_name="db", parent_name="contourcarpet", **kwargs): super(DbValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, edit_ty...
[ "noreply@github.com" ]
hugovk.noreply@github.com
a98d186aebdc18f7d4377a743b524e38f60cc783
1a59a9076c1e9f1eb98e24ff41a4c1c95e2b353e
/xcp2k/classes/_xc_functional4.py
ad5a17e378f40fa030a908f352016d1de833a6ac
[]
no_license
Roolthasiva/xcp2k
66b2f30ebeae1a946b81f71d22f97ea4076e11dc
fc3b5885503c6f6dc549efeb4f89f61c8b6b8242
refs/heads/master
2022-12-23T06:03:14.033521
2020-10-07T08:01:48
2020-10-07T08:01:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,913
py
from xcp2k.inputsection import InputSection from xcp2k.classes._becke884 import _becke884 from xcp2k.classes._lyp_adiabatic4 import _lyp_adiabatic4 from xcp2k.classes._becke88_lr_adiabatic4 import _becke88_lr_adiabatic4 from xcp2k.classes._becke88_lr4 import _becke88_lr4 from xcp2k.classes._lyp4 import _lyp4 from xcp2k...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a108251d6955ab18aefd892dba107082ec3cb923
612e5a48a75121b741650d345d58a682c0a81285
/graph/graphic_connection.py
19540bbd9258914c1ac4f6bf67f3fe13646fdac0
[]
no_license
BelowzeroA/stochastic-learning
e89f9f459219279eb97c53401295ec5202e11b0b
62242fd7ca4a63cd7c908032e97368985b1b97c5
refs/heads/master
2021-01-25T14:45:27.057441
2018-03-05T19:35:21
2018-03-05T19:35:21
123,724,592
0
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
from graphics import Line, Point from math import sqrt from brain.connection import Connection from brain.neuron import Neuron class GraphicConnection(Connection): def __init__(self, brain, source, target: Neuron): super(GraphicConnection, self).__init__(brain, source, target) self.prev_pulsing ...
[ "striver8" ]
striver8
20bf8a60d72585f0a48a322755aa4788d0275de3
16ac9158781d2616141433df9be4820e6d998e03
/src/eavatar.ava/ava/runtime/config.py
a5ce582b9c006054037c6cd74a3020d2f5fcad62
[]
no_license
pombredanne/ava-srv
0a357fb39d0179db0c0d545eb23d707d25b0e446
8acef33502d4bc3089f610f0b4ee33e7a5e779ae
refs/heads/master
2020-12-31T05:56:07.741625
2015-03-06T06:29:56
2015-03-06T06:29:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
# -*- coding: utf-8 -*- """ Configuration file reading/writing. """ from __future__ import absolute_import, division, print_function, unicode_literals import logging import logging.config import os.path from ConfigParser import SafeConfigParser from ava.runtime import environ AGENT_CONF = os.path.join(environ.conf...
[ "sam@eavatar.com" ]
sam@eavatar.com
d67b1d1eb636e8c25af967b331aac4f245fb3869
58e09fac582a76428819e167e42e60765d11bb11
/space/lib/python3.7/encodings/cp037.py
1c28037206a7ea44682ad9e60780db25d2233c50
[]
no_license
shanthimadugundi/DB_Project
25eb2a0e7504f81484ad11c0fa9e902b038c85b4
b5ba55af1bcddde164cecc60d331d615dd477165
refs/heads/master
2020-04-27T05:14:56.107466
2019-03-06T05:31:23
2019-03-06T05:31:23
174,075,941
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
/Users/shanthimadugundi/anaconda3/lib/python3.7/encodings/cp037.py
[ "shanthimadugundi@Shanthis-MacBook-Pro.local" ]
shanthimadugundi@Shanthis-MacBook-Pro.local
afae17498d04492c414161c081d29bd04a00c86e
32233aeda342ff6e107496caaf3c9be322ab80b2
/06 Brute-Force/6.1 sum + recursiveSum.py
a17932df866565d47efd0e67da2fd83ce2a96581
[]
no_license
kwr0113/Algo_Python
1258ed3b71f7826ec55f2ff9e46a6485df6039bf
b17ad19ccdb1bfe979618af8c98f04c67f38495f
refs/heads/master
2023-08-19T03:52:16.385548
2021-09-23T12:22:05
2021-09-23T12:22:05
407,837,400
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
# 1부터 n까지의 합을 계산하는 반복 함수와 재귀 함수 def ssum(n): ret = 0 for i in range(1, n+1): ret += i return ret def recursiveSum(n): if n == 1: return 1 return n + recursiveSum(n-1) print(ssum(10)) print(recursiveSum(10))
[ "kwr0113@gmail.com" ]
kwr0113@gmail.com
563f2484acad0c35b453f0173217d3702400dd48
dcb8f9c5739b00838ffa6bb2f9850e0e6f80312c
/hw1/minh_tran_hw1/minh_tran_task1.py
dbf8c8e8cb6dfd452cc68795d420470fbd89d7b1
[]
no_license
trademark152/Data_Mining_USC
d56c6b51b523c0a8548e94b638d3155fe189dd4e
124c17b9c55c3880b4c24815bcf369339f198e2b
refs/heads/master
2020-09-26T09:31:50.250840
2019-12-06T02:30:27
2019-12-06T02:30:27
226,227,472
0
6
null
null
null
null
UTF-8
Python
false
false
4,845
py
""" Task1: Data Exploration (3 points) You will explore the dataset, user.json, containing review information for this task, and you need to write a program to automatically answer the following questions: """ ## LIBRARIES import json from pyspark import SparkContext import sys ## TO RUN CODE """" spark-submit hw1/m...
[ "trademark152@gmail.com" ]
trademark152@gmail.com
f805b12d7737a2384464edefbddf64219b9fd22a
926fe08bf24a8335f9cec827b651a7c75dc9c000
/extract_from_node_results.py
b3a61703210b440e7db9725207b38bb96f2dbb59
[]
no_license
andycasey/ges-idr4-abundances
71d9cfa38f5909b21c98626fa75cdda8e100cd97
c0a74f90b5e45a20ef4b3337692014a2fbbcbfa1
refs/heads/master
2021-01-22T09:42:53.145128
2015-10-14T22:39:00
2015-10-14T22:39:00
42,256,257
0
0
null
null
null
null
UTF-8
Python
false
false
3,036
py
""" Extract OACT results for Li and place them in the line_abundances table """ __author__ = 'Andy Casey <arc@ast.cam.ac.uk>' import logging import numpy as np import release logger = logging.getLogger("ges") # We may need to do this many times... database, remove_existing = ("arc", True) element, ion, wavelengt...
[ "andycasey@gmail.com" ]
andycasey@gmail.com
7573a486fe8a2675af898eda3e9751590a91a632
a9652251346d469d4e6da48ca4e44438f3b6b65d
/neural_decoding/kalman_neural_decoding.py
190d0d6f668cf144cd31e2548f1dd6c172878bb6
[]
no_license
weihhh/python3-practice
201023e214881fb0c08b8dd10e86c47a621b23e5
7e2b40b7152ef5bf6fe68264c8b1c0bbbb16c5eb
refs/heads/master
2021-01-11T02:40:05.087986
2018-02-05T15:24:35
2018-02-05T15:24:35
70,913,924
0
0
null
null
null
null
UTF-8
Python
false
false
4,799
py
#Import standard packages import numpy as np import matplotlib.pyplot as plt # %matplotlib inline from scipy import io from scipy import stats import pickle #Import metrics from metrics import get_R2 from metrics import get_rho #Import decoder functions from decoders import KalmanFilterDecoder #获得原始数据 data_folder=''...
[ "wz591757596@163.com" ]
wz591757596@163.com
b51213646b02a5741d23ff6c94d22ab6f7e52add
6550dceb5b2d17dfedf94c4049f63e770c8d7712
/ffprobe3/ffprobe.py
f9e29250daba998461d685c77f44409a45a53291
[]
no_license
open-speech-org/openspeechcorpus.com
03baed28e54f15ece8b8050c501e8df6e641ab44
e2e612cacab2e0458a44f3729738c5816f57dc8f
refs/heads/master
2022-12-23T12:32:33.501336
2020-11-25T03:27:52
2020-11-25T03:27:52
171,372,750
0
1
null
2022-12-08T03:28:10
2019-02-18T23:42:25
Python
UTF-8
Python
false
false
7,783
py
""" Python wrapper for ffprobe command line tool. ffprobe must exist in the path. """ import os import sys import pipes import platform import re import subprocess from ffprobe3.exceptions import FFProbeError class FFProbe: """ FFProbe wraps the ffprobe command and pulls the data into an object form:: ...
[ "ma0@contraslash.com" ]
ma0@contraslash.com
3fc014bbb8096316c01d9b5024ecbfb3f9fd4c45
5f1e12cf84d02bbc4220ed11758752fed7cfd6c7
/samples/basic/executor/models/cisco-ios-xr/Cisco-IOS-XR-snmp-test-trap-act/nc-execute-xr-snmp-test-trap-act-416-ydk.py
71a0f1f9882b8624945da7f63b058d9a6bf42c89
[ "Apache-2.0" ]
permissive
eliwilliams/ydk-py-samples
6c3b8063848c8718910c7255256f7d3aee456974
40aa500e7d7ad05e960fb1552c73dab3adbc08c7
refs/heads/master
2021-07-25T01:21:26.442018
2017-11-06T17:23:05
2017-11-06T17:23:05
109,724,992
0
0
null
2017-11-06T17:07:40
2017-11-06T17:07:39
null
UTF-8
Python
false
false
2,677
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # 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 applicab...
[ "saalvare@cisco.com" ]
saalvare@cisco.com
3349e2469816e9fe64b77eb914dc2f2d778d5f7f
b3ab2979dd8638b244abdb2dcf8da26d45d7b730
/test/test_pagination_response_permission_set_response_model.py
ce8a5fe159bc67f84afe67dff0d2b4773ad93151
[]
no_license
CU-CommunityApps/ct-cloudcheckr-cmx-client
4b3d9b82c5dfdaf24f8f443526868e971d8d1b15
18ac9fd4d6c4ae799c0d21745eaecd783da68c0c
refs/heads/main
2023-03-03T19:53:57.685925
2021-02-09T13:05:07
2021-02-09T13:05:07
329,308,757
0
1
null
null
null
null
UTF-8
Python
false
false
1,159
py
# coding: utf-8 """ CloudCheckr API CloudCheckr API # noqa: E501 OpenAPI spec version: v1 Contact: support@cloudcheckr.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import cloudcheckr_cmx_client from cloudcheckr...
[ "pea1@cornell.edu" ]
pea1@cornell.edu
8b28f3977b55bf2426d6d91b6eebfd7d27177db7
9b32771b7d1513ee37bc62dd347675abcfc1bfc9
/example_snippets/multimenus_snippets/NewSnippets/NumPy/Pretty printing/Formatting functions for specific dtypes/Set formatter for `int` type.py
43cc777513adf98a89e3dab51b28036320290cf7
[ "BSD-3-Clause" ]
permissive
listar0810/jupyterlab-snippets-multimenus
44087ef1aeb030a3074862a337508b57d50072c6
477f51cfdbad7409eab45abe53cf774cd70f380c
refs/heads/master
2022-12-12T18:19:25.221083
2020-09-08T01:11:01
2020-09-08T01:11:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
def format_int(x): return 'int({0})'.format(x) with printoptions(formatter={'int': format_int}): print(np.random.randint(-3, 4, 10))
[ "kptan86@gmail.com" ]
kptan86@gmail.com
b7c426a31e6b5ddbc89e14288c66694f2ec8c368
a60e81b51935fb53c0900fecdadba55d86110afe
/python/note/改善python程序的91个建议.py
96231cef18a927a9f58d3e1b9e81c3ecd2cbf6bd
[]
no_license
FrankieZhen/Lookoop
fab6855f5660467f70dc5024d9aa38213ecf48a7
212f8b83d6ac22db1a777f980075d9e12ce521d2
refs/heads/master
2020-07-27T08:12:45.887814
2019-09-16T11:48:20
2019-09-16T11:48:20
209,021,915
1
0
null
2019-09-17T10:10:46
2019-09-17T10:10:46
null
UTF-8
Python
false
false
1,535
py
# coding=utf-8 # 2019-1-28 # 改善python程序的91个建议 # %占位符 value = {'name':'yauno', 'sex':'man'} print('name %(name)s , sex %(sex)s' % value) # str.format # ' 与 "的区别 print('"test"') print("\"test\"") # 常量的管理 # 12: 不推荐使用type来进行检查 # isinstance(object, classoinfo) print(isinstance('string', str)) # 13. 涉及除法运算时,尽量先将操作数转换...
[ "33798487+YangXiaoo@users.noreply.github.com" ]
33798487+YangXiaoo@users.noreply.github.com
e75de761a1fb602ca147a0559319f2c10eb8981b
9dba8607dce414f9905700d7a4ac44668de5e1f1
/ave_SR/PS_100_7_recto/calc_voladzExtr/directs.py
a1cd56e746b990c37d2ab7486afbdfc10eb2a5c6
[]
no_license
anaiortega/XCmodels
c0463ffe38531578aee281456e88528882255cd7
e9b8c2f996a21b8aa3314242f3cc12b0e391b5df
refs/heads/master
2023-08-16T22:44:01.168775
2023-08-14T18:15:10
2023-08-14T18:15:10
141,140,177
3
3
null
null
null
null
UTF-8
Python
false
false
107
py
dir_int_forces='../results_voladzExtr/internalForces/' dir_checks='../results_voladzExtr/verifications/'
[ "ana.Ortega.Ort@gmail.com" ]
ana.Ortega.Ort@gmail.com
aca8dd05d90354b8c7b9f7084c40e115a9c3fb42
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_jinn.py
5f214987ef38459b4a3fc545f79b4395f6eb6f08
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
#calss header class _JINN(): def __init__(self,): self.name = "JINN" self.definitions = [u'in Arab and Muslim traditional stories, a magical spirit who may appear in the form of a human or an animal and can take control of a person '] self.parents = [] self.childen = [] self.properties = [] self.jsonda...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f34128088a213795dfa4a912f86cdfc5140eff13
929a816fc299959d0f8eb0dd51d064be2abd6b78
/LintCode/ladder 08 memorized search/必修/683. Word Break III/solution.py
11811522a165c1860914fd748163d4584a24de2f
[ "MIT" ]
permissive
vincent507cpu/Comprehensive-Algorithm-Solution
27940da7bc0343921930a2eafbd649da93a5395d
04e01e49622457f09af2e1133954f043c0c92cb9
refs/heads/master
2023-07-20T07:12:15.590313
2021-08-23T23:42:17
2021-08-23T23:42:17
258,644,691
4
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
class Solution: """ @param: : A string @param: : A set of word @return: the number of possible sentences. """ def wordBreak3(self, s, dict): # Write your code here if not s or not dict: return 0 lower_dict = set() for piece in dict: ...
[ "vincent507cpu@gmail.com" ]
vincent507cpu@gmail.com
7911dfbc4c035eaa8f13d0d5a1931adb62c0bb1f
72357e298521452cfa3d9ca960235e6ddf1dfe46
/imsize.py
de19438293a2d32fb248522d0e2440e21c16b107
[]
no_license
pydemo/project-and-sketch
25b8fbdc1e85773b9aa150d8f63a0e7ced4c1a13
10397f3d40d117c15143ce3deb9bc8bf530c2269
refs/heads/master
2020-09-01T16:52:08.478915
2019-11-29T18:19:11
2019-11-29T18:19:11
219,009,137
1
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
# -*- coding: utf-8 -*- import struct import imghdr def test_jpeg(h, f): # SOI APP2 + ICC_PROFILE if h[0:4] == '\xff\xd8\xff\xe2' and h[6:17] == b'ICC_PROFILE': print "A" return 'jpeg' # SOI APP14 + Adobe if h[0:4] == '\xff\xd8\xff\xee' and h[6:11] == b'Adobe': return 'jpeg' ...
[ "olek.buzu@gmail.com" ]
olek.buzu@gmail.com
d5c0f577677ecd87a61b9a3767430c83a25b4e9c
64cdb9e8fdcde8a71a16ce17cd822441d9533936
/_baekjoon/1507_궁금한 민호(플로이드워샬).py
2413850d526ea506a6078831c86eb5db2427d6ec
[]
no_license
heecheol1508/algorithm-problem
fa42769f0f2f2300e4e463c5731e0246d7b7643c
6849b355e15f8a538c9a071b0783d1789316d29d
refs/heads/main
2023-07-20T23:46:07.037975
2021-08-31T12:47:33
2021-08-31T12:47:33
302,830,420
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
import sys sys.stdin = open('input.txt', 'r') N = int(input()) board = [list(map(int, input().split())) for _ in range(N)] visit = [[True] * N for _ in range(N)] flag = True for k in range(N): for i in range(N): if i != k: for j in range(N): if j != k and i != j: ...
[ "heecheol1508@gmail.com" ]
heecheol1508@gmail.com
5f90fc208121793359d9af378f9e0dbd53d87fea
297d045a587f354b96cf493dff9a2e719739715d
/pysimplehttp/scripts/ps_to_sq.py
3f77d7130a785960f715c81420767267909b9502
[ "MIT" ]
permissive
liaojack8/simplehttp
4805aef2f72dae9e2ce7eeb3f801818b0c66af43
1dbdea11276bc21915fc133fd9893a738654c240
refs/heads/master
2022-11-29T06:03:33.027824
2020-07-18T14:58:04
2020-07-18T14:58:04
280,678,089
0
0
MIT
2020-07-18T14:55:08
2020-07-18T14:55:07
null
UTF-8
Python
false
false
3,792
py
#!/usr/bin/env python """ generic pubsub to simplequeue daemon that takes command line arguments: --pubsub-url=<http://127.0.0.1:8090/sub> (multiple) --simplequeue-url=<http://127.0.0.1:6000> when multiple destination simplequeue arguments are specified, the daemon will randomly choose one endpoint to write a...
[ "jehiah@gmail.com" ]
jehiah@gmail.com
b5c10e61e40776f6dadc1d4661b2e717404b230c
2f6817fc8f6ddb48f5f88c913d8e40b672fc3dbf
/Mining/lec3-4.py
6d0fc9279955b2a3c15ab6c0cd0159695c4fda73
[]
no_license
cutz-j/TodayILearned
320b5774de68a0f4f68fda28a6a8b980097d6ada
429b24e063283a0d752ccdfbff455abd30ba3859
refs/heads/master
2020-03-23T17:34:51.389065
2018-11-24T08:49:41
2018-11-24T08:49:41
141,865,899
0
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
from tkinter import * from tkinter.simpledialog import * from tkinter.filedialog import * # 함수선언 def editFile(num): if num == 1: value = askinteger('제목', '설명-->', minvalue=1, maxvalue=255) label1.configure(text=str(value)) def openFile(): fileName = askopenfilename(parent=window, filetypes=(("...
[ "cutz309@gmail.com" ]
cutz309@gmail.com
dcf2ca8eb4d1386d15d7d71c29f0837616c7b8a3
dc1d341789a19b0dd8b905538b080149e6cd13ed
/iwmiproject/migrations/0158_yieldplantlevel_crop.py
252f49c5a654262d3b72ffd24869389f1cbd8651
[]
no_license
pngimbwa/Data-Collection-Tool
2629d31742edc311501bd25a2f9728ce7ac97d06
6081500d2a1dc2e30af908168cf83a46a6078a0f
refs/heads/master
2021-01-20T00:01:45.770837
2017-04-22T12:31:07
2017-04-22T12:31:07
89,068,181
3
1
null
null
null
null
UTF-8
Python
false
false
465
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('iwmiproject', '0157_yieldfarmlevel_crop'), ] operations = [ migrations.AddField( model_name='yieldplantlevel', ...
[ "pngimbwa6@gmail.com" ]
pngimbwa6@gmail.com
d5ecabadea34f17640fec743414710537061740d
8f615c636420f969afaf54fc3bf318028ab5819e
/python_data_wrangling/sast_data_convert.py
d4eda0cff9d49bf38610981f7dd9d61993fbf6ac
[]
no_license
sheltowt/application_security_data_visualizations
a20eff2c8c93b7e03720b6f287b7a1a1f424b351
f6950d2115d09e9f0e79313d802b9ac873944050
refs/heads/master
2022-10-30T04:14:38.495658
2020-06-19T16:35:10
2020-06-19T16:35:10
266,594,130
18
0
null
2020-06-15T18:55:04
2020-05-24T17:47:23
HTML
UTF-8
Python
false
false
1,167
py
import json with open('../raw_data/appsecco_dvna.json') as json_file: data = json.load(json_file) modified_object = {} modified_object["name"] = "DVNA sast scan" modified_object["children"] = [] for result in data["runs"][0]["results"]: new_result = {} new_result["name"] = result["message"]["text"] new_result["c...
[ "sheltowt@gmail.com" ]
sheltowt@gmail.com
52c32b83c0116f75bd3a04d268912c811b5a0e60
eeec2adfe1ca4e8cf5e7a0be9eaab2497df25861
/erudit_catalog/checks.py
0f45121f5d689aa777705d5ced3a2650f458c953
[ "BSD-3-Clause" ]
permissive
fabiobatalha/erudit-ps-packtools-plugin
3ecddab7835a25df44cbc00b228f241fae231155
29fabd087b8d8406b96d0b7296386f78da34aaeb
refs/heads/master
2020-03-15T01:28:04.287126
2018-11-21T19:28:07
2018-11-21T19:28:07
131,894,325
1
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
#coding: utf-8 from __future__ import unicode_literals import logging import itertools import json import plumber from packtools.style_errors import StyleError from packtools.catalogs import catalog LOGGER = logging.getLogger(__name__) with open(catalog.ISO3166_CODES) as f: ISO3166_CODES_SET = set(json.load(f))...
[ "fabiobatalha@gmail.com" ]
fabiobatalha@gmail.com
a3ce2a229b18dafa49e9ae81174f429d22c71cc6
a1b7c1357181320b272ef4c72b70d22600a407c1
/examples/test_get_locale_code.py
978cee5e42bcf637ac20361309a79c5c225e4623
[ "MIT" ]
permissive
BarryYBL/SeleniumBase
5c96e21eaebd45e2f6ac26d5bd563b3ba300e6f6
e3cb810331183fa003cea8af81057e4136dfd660
refs/heads/master
2022-12-04T11:34:20.134294
2020-08-28T05:45:24
2020-08-28T05:45:24
290,998,663
1
0
MIT
2020-08-28T08:52:44
2020-08-28T08:52:44
null
UTF-8
Python
false
false
387
py
from seleniumbase import BaseCase class LocaleTestClass(BaseCase): def test_get_locale_code(self): self.open("data:,") locale_code = self.get_locale_code() message = '\nLocale Code = "%s"' % locale_code print(message) self.set_messenger_theme( theme="flat", loc...
[ "mdmintz@gmail.com" ]
mdmintz@gmail.com
204f1f4fafb9264a0cf66934ec779f4e94f7674c
a09740e643d6277ada23c82d8e87853a1cd1a9e5
/oProto/omsql/wipdev/bycols_inupd.py
68d0417689a3a5d61efb19227176666e68519131
[ "Apache-2.0" ]
permissive
FuckBrains/omEngin
c5fb011887c8b272f9951df3880a879456f202e8
b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195
refs/heads/main
2023-03-20T18:27:53.409976
2021-03-14T15:50:11
2021-03-14T15:50:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,740
py
import pandas as pd import numpy as np import os def drop_cols(df, col2drop = []): if len(col2drop) > 0: cols = df.columns.to_list() ncols = [] for i in range(len(cols)): match = 0 for j in range(len(col2drop)): if cols[i] == col2drop[j]: ...
[ "omi.kabirr@gmail.com" ]
omi.kabirr@gmail.com
65ee2d6385a0bdfe37108f1dcac07c4caeedc45c
bf92a619b9b850678bb691915e45c39cd740fa63
/examples/work/run_main.py
1a7dae80a015feb1de2c673cd31a55474f62081c
[]
no_license
jrecuero/jc2cli
a045f1efa431f53351dfac968852fd82e8c963b6
c97615828880021b3965756aed939e39bac949b6
refs/heads/master
2021-05-10T10:16:34.698398
2018-11-06T17:43:53
2018-11-06T17:43:53
118,377,662
2
0
null
null
null
null
UTF-8
Python
false
false
551
py
from jc2cli.namespace import Handler # MAIN = __import__('examples.work.main') # __import__('examples.work.config') # __import__('examples.work.execute') class RunCli(object): def __init__(self): __import__('examples.work.main') # __import__('examples.work.config') # __import__('example...
[ "jose.recuero@gmail.com" ]
jose.recuero@gmail.com
453e33e779ceba90beb4a31868d07efe7f5fd23e
aff88e0922ae5c75f18b624cb1c81c263d12f2af
/layout/Calc.py
5adecf98c6435ee96b79364527e4a428e621c5fd
[]
no_license
TianJin85/Qtwindow
44f42c8972382bcdbde7bc26a4a7f5121736e0aa
3af712d8528d825cb3cecd6bc21c8f836232e775
refs/heads/master
2020-10-01T23:05:30.271773
2020-02-09T14:39:12
2020-02-09T14:39:12
227,642,240
0
0
null
null
null
null
UTF-8
Python
false
false
1,029
py
# -*- encoding: utf-8 -*- """ @File : Calc.py @Time : 2020/1/5 15:59 @Author : Tianjin @Email : tianjincn@163.com @Software: PyCharm """ ''' 栅格布局,实现计算器UI ''' import sys from PyQt5.QtWidgets import * class Calc(QWidget): def __int__(self): super(Calc, self).__int__() self.setWindowTit...
[ "307440205@qq.com" ]
307440205@qq.com
ea7fe2a8309980eadbd5238e810707e3d19f9d55
52b5773617a1b972a905de4d692540d26ff74926
/.history/intersectingDiscs_20200804190524.py
450fd58ee08624f00420da84936bbe498750bb5c
[]
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
586
py
def discs(A): newArr = [] opendiscs = 0 intersections = 0 for i in range(len(A)): newArr.append((i-A[i])) newArr.sort() i = 0 j = 0 while i < len(newArr) and j < len(A): if i == len(newArr)- 1: break if newArr[i]<=A[j]: opendiscs +...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
6dd8c29a98d12f0bea1db2e80ccf811aded94176
c92398a728817578850ecf508ec4197afe91a88f
/DemoYield Fun.py
b2e001740a146c35ba1011e91c7382282fbeecef
[]
no_license
HitanshuSoni/Python_practice
4d0ec0378124da85e364a15a7b94ddbbfe2fc929
7a3d0977b218ef76f91517d88518b1c0b68b9528
refs/heads/main
2023-04-18T21:55:12.709161
2021-05-08T15:39:08
2021-05-08T15:39:08
365,550,407
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
def checkyield(): yield 1 yield 2 yield 3 '''return 1 return 2''' for value in checkyield(): print(value)
[ "hitanshusoni10@gmail.com" ]
hitanshusoni10@gmail.com
f31f2e6b0b3bd7e6c5b2de59aad83d0d08c29089
077f29021738c3b577c7c3d9ef5851d76e93cbed
/demo/funs/passing_funs.py
a955b2a06551fd66872ba07965f05428360f0019
[]
no_license
srikanthpragada/PYTHON_10_JULY_2020
fb410d87260eb290ebcc5ac6a88b6d6b01ee15b5
b7a586cbcd49934d36facb4dd748c54038838334
refs/heads/master
2022-12-05T09:05:33.192365
2020-08-26T14:27:09
2020-08-26T14:27:09
279,319,937
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
# func,value,value def math_op(oper, n1, n2): return oper(n1, n2) def multiply(n1, n2): return n1 * n2 def power(n1,n2): return n1 ** n2 print(math_op(multiply, 10, 20)) print(math_op(power, 10, 20))
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
4f765a9facddb729a6c6639b7da5a76717970f85
e6713c7e72d6950c2e35c836ac88588bc673c19e
/auth_api/api.py
2367c4cb93b42931b648e5b2e9820f2db88543c8
[]
no_license
tanjibpa/scrumboard-with-drf
905175069d065b7174f3485832e6c9e8bcb453da
3d54b33f91a1719c4373677fe9efc7352b6ce53f
refs/heads/master
2020-06-25T03:59:06.358201
2017-06-13T16:43:55
2017-06-13T16:43:55
94,235,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
from django.contrib.auth import authenticate, login, logout from django.views.decorators.csrf import csrf_protect from django.utils.decorators import method_decorator from rest_framework import views, status from rest_framework.response import Response from .serializers import UserSerializer class LoginView(views.AP...
[ "ikram.tanjib@gmail.com" ]
ikram.tanjib@gmail.com
3e2c65de07c553b2bcc3d88da7d9142bd8231865
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/image_classification/DeiT_ID1558_for_PyTorch/timm/data/parsers/parser_tfds.py
01460f55212b8cc9ec49743582ba7c955e37c98f
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
13,386
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
194e61356c8666faa3168ed6093752c9ba74d3fc
ebd9c249d446d809abc9a0f3e4593f34922a1b93
/leetcode/235_lowest_common_ancestor_of_a_binary_search_tree.py
b20699956509fd6d35339669565185cc0d94e6c0
[]
no_license
jaychsu/algorithm
ac7a9dc7366f58c635a68bc46bf1640d2f5ff16d
91892fd64281d96b8a9d5c0d57b938c314ae71be
refs/heads/master
2023-05-11T00:40:39.237813
2022-09-14T07:43:12
2022-09-14T07:43:12
106,277,156
143
39
null
2022-09-14T07:43:13
2017-10-09T11:51:48
Python
UTF-8
Python
false
false
617
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def lowestCommonAncestor(self, root, p, q): """ :type root: TreeNode :type p: TreeNode :...
[ "hi@jaych.su" ]
hi@jaych.su
bc6fdbc733f95c52d979d6784b735214a3e8dbc3
344e2956b4e2a30a8ef7532d951f96d995d1dd1e
/18_mmaction/lib/mmcv/tests/test_image/test_photometric.py
f2e86d450da174e0e5bc8d0b5e362df36a5b7ca6
[ "Apache-2.0", "LGPL-3.0-only", "MIT", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "GPL-3.0-only" ]
permissive
karndeepsingh/Monk_Object_Detection
e64199705326e4cd65e4b29946cae210a4ef9649
425fa50a3236cb9097389646275da06bf9185f6b
refs/heads/master
2022-12-22T18:26:53.933397
2020-09-28T12:49:50
2020-09-28T12:49:50
299,307,843
1
1
Apache-2.0
2020-09-28T12:52:18
2020-09-28T12:52:17
null
UTF-8
Python
false
false
3,235
py
# Copyright (c) Open-MMLab. All rights reserved. import os.path as osp import cv2 import numpy as np from numpy.testing import assert_array_equal import mmcv class TestPhotometric: @classmethod def setup_class(cls): # the test img resolution is 400x300 cls.img_path = osp.join(osp.dirname(__...
[ "abhishek4273@gmail.com" ]
abhishek4273@gmail.com
22ed3addbe4bfa6066226c177ab15e87da4ccc4c
4a4579254118db40fb008439d18ad8c573e8fc1a
/devel/lib/python2.7/dist-packages/jsk_gui_msgs/msg/_TouchEvent.py
e602a239330814d3e80962f75199c5cbbf48a8d4
[]
no_license
amilearning/AD_mpc_ws
86ff6ef9e61c6cc5aae6e12f20c2c875b1930d41
1fc2d385f281e00c16aff688948f7296e02cbd3a
refs/heads/master
2023-06-24T13:54:59.759921
2021-07-16T01:08:52
2021-07-16T01:08:52
386,465,544
0
0
null
null
null
null
UTF-8
Python
false
false
4,280
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from jsk_gui_msgs/TouchEvent.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class TouchEvent(genpy.Message): _md5sum = "f074642ed1ad51ea5afc186cab8aaca1"...
[ "hojin.projects@gmail.com" ]
hojin.projects@gmail.com
82c22f6bda3155da5a29ca1d146703656037eb57
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories/141822/AXA_Telematics-master/Create_Ensemble/Combine_Solutions_with_sorting_Scott.py
feabcb82de2a11145b698fa1cca60e40f335e7b2
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
11,317
py
import csv import os import sys import time import string import numpy as np import matplotlib.pyplot as plt from file_paths import * def getkey(item): brk = string.split(item[0],'_') return brk[0] def getkey_route(item): brk = string.split(item[0],'_') return int(brk[1]) def secondvalue(item): re...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
c9a1e1f387c7a2cb2ba7b89988bfb22731bdb725
68e5e2c9a7e9372f536edf3d99847067eb734e75
/05-奠定项目基础-Model/typeidea/typeidea/comment/migrations/0001_initial.py
b025fc6f66017f5dd054dcd8948eed32546a206b
[]
no_license
gy0109/Django-enterprise-development-logs--huyang
f04d21df6d45f5d2f226760d35e38042f74a7ea8
ab4505f8cdaf0c1f9e3635591cd74645a374a73f
refs/heads/master
2020-05-17T05:24:51.602859
2019-05-08T03:42:13
2019-05-08T03:42:13
183,534,431
2
1
null
null
null
null
UTF-8
Python
false
false
1,285
py
# Generated by Django 2.1.7 on 2019-04-27 15:16 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.CreateModel( name='Comment', fields=[ ...
[ "1974326896@qq.com" ]
1974326896@qq.com
15a8de32a49edae93fb23dd1983e2c341bfda6a0
531a5c09ed774dca6f85f3c96827ff4d9f8fc3be
/AutotestWebD/apps/webportal/scripts/emailcopy.py
c6e55aa3e0f74b03e545142c9e259a3103d5155d
[ "MIT" ]
permissive
xiaochaom/sosotest
a98db41088d9411aa7d2723894f5bdc60bfbbd52
a3a5ce67c3dc302cf4bca906496ec6ee26b42c33
refs/heads/master
2020-07-06T09:31:39.598616
2020-06-23T07:51:00
2020-06-23T07:51:00
202,971,957
0
0
MIT
2019-08-18T07:12:52
2019-08-18T07:12:51
null
UTF-8
Python
false
false
935
py
import django import sys,os rootpath = os.path.dirname(os.path.realpath(__file__)).replace("\\","/") rootpath = rootpath.split("/apps")[0] # print(rootpath) syspath=sys.path sys.path=[] sys.path.append(rootpath) #指定搜索路径绝对目录 sys.path.extend([rootpath+i for i in os.listdir(rootpath) if i[0]!="."])#将工程目录下的一级目录添加到python搜索路...
[ "wangjilianglong@163.com" ]
wangjilianglong@163.com
ac170695f08d24863f873bcc35ea080070054620
1b1b074cca3a8c9f5a6d0630cd40d56a1d8b7468
/motorista/migrations/0006_auto_20170526_1645.py
7814af59c9ad678721f1bcc2b9b4edb020d7c863
[]
no_license
DiegoDigo/buScool
e392f62e3f43a0a892f14608447329d2b2d8b50a
fca579c0951dfedfabce79b52031804c9b6373ed
refs/heads/master
2021-01-21T07:00:39.043740
2017-05-26T20:19:24
2017-05-26T20:19:24
91,592,948
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-05-26 19:45 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('motorista', '0005_motorista_descricao'), ] operations = [ migrations.AddFie...
[ "di3g0d0ming05@gmail.com" ]
di3g0d0ming05@gmail.com
29c3ad28b41ef7b1b7689b86a33f01448b53bf57
ef42fa903820055b9b0a8b4ebb1863a16d386171
/config/urls.py
788b8ccbf55a2bf64fe274419f089478f6da357b
[]
no_license
sinjorjob/django-simple-capture-inquery-form
2537c8e03bc2c0118f772b69a59866ffb34d7cac
8bd2900a6bdf97b97ddca7b7240b42f478e14884
refs/heads/master
2023-07-02T14:40:43.840669
2021-08-10T21:24:24
2021-08-10T21:24:24
394,784,208
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('captcha/', include('captcha.urls')), path('', include('contact.urls')), ]
[ "sinforjob@gmail.com" ]
sinforjob@gmail.com
60d3de32df2546f2b7d1a59f47cd31ade136afe5
29a580900743a35c0d870c75b02decf3bfd24513
/src/windows_sniffer_example.py
6ef3b8a9447679386fb83b1fc2311d7238477496
[]
no_license
rduvalwa5/PythonNetworking
6695da9552beb62c3af0711a14c68e52fd412b12
52340292e4fbe0f628727838cabdf647c0a62e07
refs/heads/master
2021-01-19T17:47:31.589447
2019-07-11T06:02:25
2019-07-11T06:02:25
31,050,974
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
''' Created on Nov 26, 2018 https://docs.python.org/3.0/library/ssl.html @author: rduvalwa2 OSXAir:src rduvalwa2$ ls Asyncio echo_client.py simpleServer.py PyNet echo_server.py windows_sniffer_example.py PyProgramming_Chap5 simpleClient.py OSXAir:src rduvalwa2...
[ "rduvalwa5@hotmail.com" ]
rduvalwa5@hotmail.com
23a1ed94a24ef6a5903ca4baec53f1c87ce65dc4
2d0bada349646b801a69c542407279cc7bc25013
/examples/waa/apps/adas_detection/build_flow/DPUCADF8H_u200/scripts/utility/readme_gen/readme_gen.py
c5ff1bc54c59bd1e660ee64f2fa3992ea34e611f
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-other-permissive...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
Python
false
false
16,713
py
#!/usr/bin/env python from sys import argv import json import os import subprocess DSA = 'xilinx:vcu1525:dynamic' VERSION = 'SDAccel 2018.2' DEVICES = { 'xilinx:kcu1500:dynamic': { 'version': '5.0', 'name': 'Xilinx Kintex UltraScale KCU1500', 'nae': 'nx4' }, 'xilinx:vcu1525:dynamic': ...
[ "hanxue.lee@xilinx.com" ]
hanxue.lee@xilinx.com
808f3448e73d4b265567ef20529e5295ec1bb6ac
286a49d0360ee2eb718dd9a496be88555cef3227
/二叉树/__init__.py
0a783c22d3adee2845fb651ca69d0ca320a3ce51
[]
no_license
NaiveteYaYa/data-structrue
0618ab6bb7accc99c40e39a3ca60bbc0a9723c2f
a376863c1a8e007efafd5c1ed84929a80321b1b9
refs/heads/master
2023-07-02T03:15:33.523855
2021-08-14T02:02:07
2021-08-14T02:02:07
395,857,543
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
# -*- coding: utf-8 -*- # @Time : 2020/4/22 12:45 # @Author : WuxieYaYa from .full_binary_tree import *
[ "jgm247878528@.qq.com" ]
jgm247878528@.qq.com
efac4b3cf729f3ef140268b15ed0ff26865674c9
f71deab2aabb43128d42d6a9e7d8ccd74740c7dd
/binance/handlers/handlers.py
a39b12896cc0df084fd6dc9cb4df788b42a1e9b1
[]
no_license
kp-forks/python-binance-sdk
a1d3740d39f6b7b03bf7dc2ba81170de71967020
7e1962fe28226c69a5789c2a6f9eba9552f7b051
refs/heads/master
2023-03-26T22:43:04.951187
2021-03-25T07:33:46
2021-03-25T07:33:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,609
py
import traceback from datetime import datetime import sys from typing import TextIO from binance.common.constants import ( STREAM_TYPE_MAP, STREAM_OHLC_MAP ) from binance.common.types import ( DictPayload, ListPayload ) from .base import Handler class HandlerExceptionHandlerBase(Handler): def r...
[ "i+github@kael.me" ]
i+github@kael.me
bca560451b0408d76f387dc12b62152b768ac6ba
3db40bfa5c9e686293aa7f0540aa392be2e99a3b
/__init__.py
7e361a5cb12d48e18e7f290b9678075d4a2cd44a
[]
no_license
OpenVoiceOS/tskill-ocp-cps
0926a21f653dfc151ecd1e87f34dfaa95d3157f2
216fd7096f090e20ff1dc30846f61de66d8e616f
refs/heads/master
2023-09-03T15:06:04.577257
2021-10-21T16:53:30
2021-10-21T16:53:30
419,805,770
0
0
null
null
null
null
UTF-8
Python
false
false
3,151
py
from mycroft import intent_file_handler from mycroft.skills.common_play_skill import CommonPlaySkill, CPSMatchLevel import random from mycroft.util.parse import match_one track_dict = { 'bomb jack': 'http://remix.kwed.org/files/RKOfiles/Chronblom%20-%20Bomb%20Jack%20subtune%206%20(violin%20version).mp3', 'dru...
[ "jarbasai@mailfence.com" ]
jarbasai@mailfence.com
8a626e8d7d80f256f5efeb0b52ebc5927bc653a7
c6d389f085c683f33cc0d0ab6497b3f042f7c905
/vector.py
3ee0da0ab4351f22b2d671407b21f41f284307f2
[]
no_license
irhadSaric/computer-geometry
0d23fbafbedb18b22df30cc8071f4103237eef2d
25a73c756472896c316d685ca6792c8c94f31361
refs/heads/master
2020-04-04T08:01:38.501815
2019-02-26T20:05:08
2019-02-26T20:05:08
155,768,457
0
0
null
2019-02-26T20:10:33
2018-11-01T19:56:17
Python
UTF-8
Python
false
false
3,160
py
from Point import * class Vector: def __init__(self, head: 'Point', tail: 'Point'): self.head = head self.tail = tail self.currentPosition = head.y def changeCurrentPosition(self, value): self.currentPosition = value def __lt__(self, other: 'Vector'): if self.head....
[ "irhad.saric@hotmail.com" ]
irhad.saric@hotmail.com
12670c04398ed5572e2b9d26b7ba81c93a37eea4
b125f9a750a519c9c7a5ed66adb8530e0237367b
/loop/LoopPractice.py
ae419e05d2a6e216cbccf54d37fdad4281e03600
[]
no_license
isisisisisitch/geekPython
4e49fe19b4cca9891056f33464518272265e3dab
635e246dca7a221d87a3b3c5b07d1e177527498f
refs/heads/master
2021-05-27T01:29:09.755225
2021-01-18T23:18:46
2021-01-18T23:18:46
254,200,920
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
#一个小球从10米的高空落下,每次落地跳回原来的一半,再落下,求第10次时落地的高度 height = 10 for i in range(2,11): height/=2 print(i,height)
[ "dallucus@gmail.com" ]
dallucus@gmail.com
f9815346cd1953430a86b298cf50c513fed4f963
5330918e825f8d373d3907962ba28215182389c3
/RecoTracker/RingESSource/python/RingESSourceTIFTIBTOB_cff.py
007f2f6354f449c09d356f06e54b30988dd8d96e
[]
no_license
perrozzi/cmg-cmssw
31103a7179222c7aa94f65e83d090a5cf2748e27
1f4cfd936da3a6ca78f25959a41620925c4907ca
refs/heads/CMG_PAT_V5_18_from-CMSSW_5_3_22
2021-01-16T23:15:58.556441
2017-05-11T22:43:15
2017-05-11T22:43:15
13,272,641
1
0
null
2017-05-11T22:43:16
2013-10-02T14:05:21
C++
UTF-8
Python
false
false
349
py
import FWCore.ParameterSet.Config as cms # geometry # tracker geometry # tracker numbering import copy from RecoTracker.RingESSource.RingESSource_cfi import * # rings esproducer ringsTIFTIBTOB = copy.deepcopy(rings) ringsTIFTIBTOB.InputFileName = 'RecoTracker/RingESSource/data/rings_tiftibtob-0004.dat' ringsTIFTIBTOB....
[ "sha1-197b93d87bf2e1eb4349df76c6ec25fd8f1f348e@cern.ch" ]
sha1-197b93d87bf2e1eb4349df76c6ec25fd8f1f348e@cern.ch
41134729528c1d14ae99ed8d555dec4c20966af9
cfb6923223bd5b2cad56ece404f74fbb6889837b
/TAPI_RI/funcs_TapiNotification/context_NotifsubscriptionUuid_NotificationNotification_UuidAdditionalinfoImpl.py
a0dbbf54c5e02c9551ac997190cb2f5fc644be56
[ "Apache-2.0" ]
permissive
XingZhao-CATR/Snowmass-ONFOpenTransport
27206bd84ff8d9ea2ec7b8ee25a9085b9c96af6d
c5807944bb1333a8ed83d6beea3e55922d006495
refs/heads/develop
2021-01-13T16:59:27.016238
2016-12-21T13:19:17
2016-12-21T13:19:17
77,099,371
1
0
null
2016-12-22T01:29:16
2016-12-22T01:29:16
null
UTF-8
Python
false
false
690
py
import os.path, sys sys.path.append(os.path.join('/'.join(os.path.dirname(os.path.realpath(__file__)).split('/')[:-1]))) import backend.backend as be class Context_NotifsubscriptionUuid_NotificationNotification_UuidAdditionalinfoImpl: @classmethod def get(cls, uuid, notification_uuid): print 'handlin...
[ "ricard.vilalta@cttc.es" ]
ricard.vilalta@cttc.es
3526b5be57d277f2ad79e0df9304069a43370768
9fe60c108003f6b40efa69f6481f3cd2f2a08b2a
/rcsb/ccmodels/search/ChemCompModelAssemble.py
610b6abe4d55f477c854e40b7097a7d84c4edcf7
[ "Apache-2.0" ]
permissive
rcsb/py-rcsb_ccmodels
0407e3ecaec51d7469acbbaa7677d2a864ca441c
92094b8246b5cef3548bbe585a3e2b28972e5702
refs/heads/master
2023-06-23T05:52:52.932499
2023-06-20T15:04:23
2023-06-20T15:04:23
321,114,174
0
0
Apache-2.0
2023-06-20T15:04:24
2020-12-13T16:55:17
Python
UTF-8
Python
false
false
12,899
py
## # File: ChemCompModelAssemble.py # Author: J. Westbrook # Date: 4-Feb-2021 # Version: 0.001 # # Updated: ## """ Assemble model files and adjust audit records for the chemical component model workflow. Models identifiers and audit creation dates are reconciled with the audit details of the prior public model ...
[ "john.westbrook@rcsb.org" ]
john.westbrook@rcsb.org
b2dc3ba20396023b2dfbc243d1019fe2d64a8aed
e987cd566edc75997f9b02377514d4f3a0dba12c
/sys/src/Python/glue/GlueDoc.py
d232ba9d1930437ecefe845450be4cea57ffe4bc
[]
no_license
7u83/maxdb-buildtools
f942adff2cd55d0a046b6ef3e18f6645b011a26e
ce9a56943f6195d6755e983035aa96cbe95e6cb2
refs/heads/master
2020-05-04T18:23:30.849371
2015-02-15T19:25:49
2015-02-15T19:25:49
30,428,297
1
0
null
null
null
null
UTF-8
Python
false
false
2,400
py
# # ========== licence begin LGPL # Copyright (C) 2002 SAP AG # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option)...
[ "7u83@mail.ru" ]
7u83@mail.ru
461e3e4738dde29dad72d1244aac00aa59a41a84
4ba29d0e50d0af604231834b099faa35f2cb369f
/task.py
8134f928af0feb5ec687a03e666609b86200749f
[]
no_license
boxabhi/task
8a10b90c429c3e3bdd1d86a5a7e8bfb97653b1ec
242b7c325821941a95962bdfce384bb4519861fe
refs/heads/main
2023-04-14T11:13:13.381423
2021-04-27T05:48:41
2021-04-27T05:48:41
361,995,365
0
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
def checkout_time_for_customers(customers,cashregisters:int): if cashregisters == 1: return sum(customers) elif len(customers) <= cashregisters: return max(customers) registers = {} for i in range(cashregisters): registers[i] = customers.pop(0) total_time_taken = 0 wh...
[ "abhijeetg40@gmail.com" ]
abhijeetg40@gmail.com
e5006a48e87f2df9244a3b3122b5a6df5ffdd88a
8c96b3a657cfb1cd360b469dac564af58a946199
/repo/migrations/0001_initial.py
9a2ccef5ac67f632900fb51ac16ffd866142fa31
[]
no_license
nc415/ub40
db3de90533c2adcb997f1ffa57a3099b1905a331
a3642aad555d355dc8bfd29a3a34bfd6e7507a43
refs/heads/master
2021-05-10T18:49:52.746856
2018-01-19T14:28:38
2018-01-19T14:28:38
118,134,835
0
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2018-01-15 07:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='BU', ...
[ "njcollins@live.co.uk" ]
njcollins@live.co.uk
52b7a8983058473eafef32a6b44cae2203355232
052b287892e5e224df4a12f86a26efbbb31e0e2e
/canaimagnulinux/web/policy/utils.py
adab4ec0d8fc5cfb15e7c416dfcdf46ecbb06cdf
[]
no_license
soullessdead/canaimagnulinux.web.policy
6deb5771777f91f3e117c8960406942a81593a39
b9adffb0247633c9d89e87bb974bd764e1ae4abd
refs/heads/master
2021-01-18T12:41:36.024673
2014-07-02T23:43:29
2014-07-02T23:43:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,292
py
# -*- coding: utf-8 -*- import transaction import os, sys, re, string from sets import Set from StringIO import StringIO from time import gmtime, strftime from zLOG import LOG, INFO from zExceptions import BadRequest from App.config import getConfiguration from Products.CMFCore.utils import getToolByName from Products...
[ "leonardocaballero@gmail.com" ]
leonardocaballero@gmail.com
d20980431d2ee44f070b5a9c1c96fb17d2e08daa
7c16a9f999f966060c064ae5bd4bddaf8f4e1dd0
/factorialkabaap.py
b7d7d4c960d665df5099436437cc7c666ee6b215
[]
no_license
sbd2309/Adv.Python
fd5ed698b14c75484903006da7753a155cf11b47
f7ef906cd78114643ffaaaaca6d4cb0ccfb34f62
refs/heads/master
2021-10-25T01:48:29.420102
2021-10-17T06:20:11
2021-10-17T06:20:11
232,631,577
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
def factorialbaap(f,p): n=1 for i in range (f,0,-1): n=n*i #print(n) x=p flag=0 ans=0 while 1==1: for i in range (1,1000,1): x=p**i if n%x==0: ans=i elif x>n: flag=1 break break i...
[ "noreply@github.com" ]
sbd2309.noreply@github.com
c264903b770885106ba842f139ebd7276582f48c
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/iterators/iterator.py
af8ec00738a77944aec8db10c66ae4989a13a74a
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
237
py
class Counter(): def __init__(self): self.count = 0 def __iter__(self): return self def __next__(self): self.count += 1 return self.count for c in Counter(): print(c) if c > 10: break
[ "gabor@szabgab.com" ]
gabor@szabgab.com
3cf933e63768f3782c4288670a9dbd91e6322762
e267c91f23055397201c3d9c23d7583b269d51b8
/backend/pugorugh/tests/test_models.py
8dc2afd1f43216ec105938d91567b1737188eab6
[]
no_license
mcintoshsg/pug_or_ugh_v1
8678213b4b4ea09a70f369aa08002ff4a8194a29
3e735cd840ffc5a85497eab48518800f0757d9f3
refs/heads/master
2020-03-19T15:26:41.152968
2018-06-14T01:30:49
2018-06-14T01:30:49
136,670,924
0
0
null
null
null
null
UTF-8
Python
false
false
4,032
py
from django.contrib.auth.models import User from django.test import TestCase from pugorugh.models import Dog, UserDog, UserPref # 2. Test get all dogs # 3. Test get single dog # 4. Test delete single dog # 5. Test update single dog # 6. Test create user preferences # 7. Test get user preferences # 8. Test update user...
[ "s.g.mcintosh@gmail.com" ]
s.g.mcintosh@gmail.com
edd7051f3b24b7ae5b7bbd28ade6fb8b9621ccf9
e5eec1428da1d24d3e9b86f5723c51cd2ca636cd
/DFS-BFS/백준/골드/신기한 소수_dfs.py
118ff0683648aeac2cd16c566aebdc946eedd153
[]
no_license
jamwomsoo/Algorithm_prac
3c36c381f59277721517d331a8f1640399d80c1d
8393f3cc2f950214c47f3cf0b2c1271791f115d0
refs/heads/master
2023-06-09T06:49:14.739255
2021-06-18T06:41:01
2021-06-18T06:41:01
325,227,295
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
n = int(input()) prime = [2,3,5,7] def isprime(num): if num<2: return False for i in range(2,num): if num%i==0: return False return True def dfs(first,num): if num == 0: print(first) for i in range(1,10,2): tmp = first*10 + i if isprime(tmp): dfs(tmp,num-1) for i in ran...
[ "41579282+jamwomsoo@users.noreply.github.com" ]
41579282+jamwomsoo@users.noreply.github.com
fda5619a7e5ab87fb558f09dcbc1753b0164f43d
1f177b5e7bdaca49076c6ff806f5e2be9a86e834
/database/orm/models.py
d75da518cbf97101ca5fe3648930f63c92200bf2
[]
no_license
silverlyjoo/TIL
9e19ba407a9dc82c231e66e352f1c7783e767782
98a139770a6d19598d787674bcf20d2fe744ced0
refs/heads/master
2021-08-17T02:10:35.101212
2019-08-26T08:21:32
2019-08-26T08:21:32
162,099,046
6
1
null
2021-06-10T21:20:36
2018-12-17T08:32:39
Jupyter Notebook
UTF-8
Python
false
false
393
py
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() # Table 만들기 class User(db.Model): __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(80), unique=True, nullable=False) email = db.Column(db.String(120), unique=True, nullable=False) def ...
[ "silverlyjoo@gmail.com" ]
silverlyjoo@gmail.com