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
1bd795ddca133e60d61b47e641b568b3945ea1b9
8da76aabcf9cfea3478f56037edbb5fa1513140b
/talls/lib/python2.7/site-packages/html5lib/inputstream.py
6c211b4e7eee73384858021f951111c1295f5cfd
[]
no_license
mikanyman/.virtualenvs-legacy
039479f31f2ca9f9a3d3544d8837429ddd0a7492
5486128b5b3b7ddb9ec81d43e3bb601a23b4025a
refs/heads/master
2020-12-31T07:10:07.018881
2017-02-01T02:16:55
2017-02-01T02:16:55
80,566,220
0
0
null
null
null
null
UTF-8
Python
false
false
30,606
py
from __future__ import absolute_import, division, unicode_literals from six import text_type import codecs import re from .constants import EOF, spaceCharacters, asciiLetters, asciiUppercase from .constants import encodings, ReparseException from . import utils from io import StringIO try: from io import BytesI...
[ "mika.nyman@synapse-computing.com" ]
mika.nyman@synapse-computing.com
d80297e71294a37b02f17f59041029e8e7f646a4
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/share/PhysValSUSY_jobOptions.py
35e75db8b1b928b6f74ab87eb24a10ea2f37c756
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
4,813
py
### configuration run_default_rel19 = True run_migrated_rel17_tools = True rel17_use_separate_output = False run_other_tools = { 'MET' : True, 'Muon' : True, 'Tau' : True, 'InDet': False, } ### print configuration print "PhysValSUSY job options:" print " Running default release 19 tool : %s" % s...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
d82eb3cb3eb21df97bba550f9eaf5bfe97b112ad
f28e54ae7a04ab40ff1eb71184f1a39fe848c07e
/8Django/formularios2/manage.py
96468de469d9a69e924933fdcf9f00ff3ae68057
[]
no_license
Phonethedor/fullPy
116c2c2ce1d0bc4d42b95e2acaad2a6acf9db4d3
fbd216470f60c772bb72381990b23e235776479d
refs/heads/master
2023-08-12T14:02:24.048500
2021-09-28T13:09:28
2021-09-28T13:09:28
371,515,406
0
2
null
null
null
null
UTF-8
Python
false
false
632
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'formularios2.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise I...
[ "alvaroc.giovannim@gmail.com" ]
alvaroc.giovannim@gmail.com
21c402504fe3f0d408b7357e842acf6ae49d7b72
0bb007de7a7b749e71bd4c5a63c9cb754660977d
/results/QPROP/RoboschoolHumanoidFlagrun-v1_Resumed/2018-04-16_01_18_19/QPropPolicy.py
43dc04d9392b7ae57d300ea6d733441212f56279
[]
no_license
HarveyYan/RL-Robotic-Control
000e41032e94d465fddeba9b4094db607f8faa91
8c0aa98352fc3ce653de0c6ed7254928c08e67f8
refs/heads/master
2020-03-07T12:14:49.860443
2018-04-27T04:44:36
2018-04-27T04:44:36
127,473,793
5
1
null
null
null
null
UTF-8
Python
false
false
11,835
py
""" without eligibility trace, this one is almost identical to the reference policy implementation. """ import tensorflow as tf import tensorflow.contrib.layers import numpy as np import os os.environ["CUDA_VISIBLE_DEVICES"]="0" gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.1) gpu_options.allow_growth...
[ "zichao.yan@mail.mcgill.ca" ]
zichao.yan@mail.mcgill.ca
6fa5e352e75bf210bee00874a2a19a98fab5b1d5
f02485de5a101f3b69a45b2c4e71bd950ee55eba
/Z_other/ImgMatTiffUtil/ImgMatTiffUtil.py
647136fee778f51e87704f7bf8050ecf06269481
[]
no_license
newjokker/PyUtil
ef4266b0ca32157f9de6e2cac1b1a10647190d99
32e64be10a6cd2856850f6720d70b4c6e7033f4e
refs/heads/master
2020-11-28T00:19:02.073391
2019-12-23T02:07:40
2019-12-23T02:07:40
229,654,616
0
0
null
null
null
null
UTF-8
Python
false
false
10,072
py
# -*- coding: utf-8 -*- # -*- author: jokker -*- import gdal import os import numpy as np from PIL import Image, ImageEnhance import matplotlib.pylab as plt class ImgMatTiff(object): """tiff,mat,image 之间的转化 """ # ------------------------- 四个基础变换 -------------------------- @staticmethod def tiff_to_...
[ "18761609908@163.com" ]
18761609908@163.com
8fd2b5abe11973bb39a5ea5414185d6020233a5c
8f73125d816f3b44b03159dba272e095f37c1f0c
/scripts/GC.py
e44c355231dd8f230cc820456915ffc1d42efce0
[]
no_license
tarah28/nanopore
356b218e5ca3dfb98e4dd7232d8f1c6303f899d1
ec716ee15ab26d7bf33b7f7352ab8cad1c369ae8
refs/heads/master
2021-05-27T06:21:51.958938
2014-09-10T11:36:07
2014-09-10T11:36:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
#!/usr/bin/python import sys from Bio import SeqIO from Bio.SeqUtils import GC for rec in SeqIO.parse(open(sys.argv[1]), "fasta"): print GC(rec.seq)
[ "n.j.loman@bham.ac.uk" ]
n.j.loman@bham.ac.uk
6fe58ce1fb865313489a03dc9cbef4f19f953283
2b502aae9bc33bac6c4b28d1e702591f2cbed690
/terrascript/resource/dns.py
8fd238ad486f0695dd33eb92a6bb8da3554771cd
[ "Python-2.0", "BSD-2-Clause" ]
permissive
LeeroyC710/python-terrascript
4c8fbe032e9b7dd8844d962f888c28f87a26ff77
b8f3c3549b149c124e3e48e0cea0396332ad1a1d
refs/heads/master
2020-12-28T03:58:04.502969
2020-01-19T21:46:52
2020-01-19T21:46:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# terrascript/resource/dns.py import terrascript class dns_a_record_set(terrascript.Resource): pass class dns_aaaa_record_set(terrascript.Resource): pass class dns_cname_record(terrascript.Resource): pass class dns_mx_record_set(terrascript.Resource): pass class dns_ns_record_set(terrascript.Reso...
[ "markus@juenemann.net" ]
markus@juenemann.net
ac0f4899d4ebbe4d45351d1bb0bc011e329c2d38
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/redis/models/RedisKey.py
4b67d2add41fd0fc6356753b584e5c9f4bdea130
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
1,319
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
[ "tancong@jd.com" ]
tancong@jd.com
21877d77b4b1bf26d4c63363609811615fcedfb2
4c852fab792606580acb3f3a61b7f86ae25930b0
/Python/UoM/3-UsingPythonToAccessWebData/Assignments/wk06/json2.py
d85bd8bffe3c3a47e3bf9ddff4a4707c8d4955fa
[]
no_license
hmchen47/Programming
a9767a78a35c0844a1366391f48b205ff1588591
9637e586eee5c3c751c96bfc5bc1d098ea5b331c
refs/heads/master
2022-05-01T01:57:46.573136
2021-08-09T04:29:40
2021-08-09T04:29:40
118,053,509
2
1
null
2021-09-20T19:54:02
2018-01-19T00:06:04
Python
UTF-8
Python
false
false
358
py
import json input = ''' [ { "id" : "001", "x" : "2", "name" : "Chuck" } , { "id" : "009", "x" : "7", "name" : "Chuck" } ]''' info = json.loads(input) # print json.dumps(info, indent = 4) print 'User count:', len(info) for item in info: print 'Name', item['name'] print 'Id', item['i...
[ "h.m.chen@ieee.org" ]
h.m.chen@ieee.org
76d227e325f5ae99474dd87d0bb5ad3011dba504
c0e9fe97583b8d431064e9bc382f8d4e4b7c2ad4
/utils/import_gender.py
5134a5acc0014f9de1fe89a49066b06d33c3aa64
[]
no_license
satoriforos/data-api-website
4f21c58702b9586ebc9aea1e6d1db9beb35da190
3fad87754568201c1a2dc345227837a1096d2513
refs/heads/master
2020-08-06T04:08:53.695134
2019-10-04T13:59:34
2019-10-04T13:59:34
212,810,425
0
0
null
null
null
null
UTF-8
Python
false
false
4,043
py
#!/usr/bin/env python3 import pandas as pd from pathlib import Path from settings.settings import settings from modules.databasemanager.DatabaseManager import DatabaseManager from modules.geolocation.UsCounty import UsCounty from modules.geolocation.City import City from modules.geolocation.UsState import UsState from ...
[ "{ID}+{username}@users.noreply.github.com" ]
{ID}+{username}@users.noreply.github.com
8ecfcc9c5a994ea6745c9f9f0ca6bc160156ace3
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/C/cptasker/ta.py
3c5a52688d846067ba383e2459f47873a5980b98
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,508
py
#This one scrapes the top 200 list import scraperwiki import lxml.html import decimal import urlparse import string import urllib2 import time ID = 1 ############################################################################## # scrapeScore takes 2 urls url1/url2 and stores the name and average score def s...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
a619a2370f98ade6097f5eee217494a59fb8c848
026991d5749c55910f4c33cc6f35a778494ef89e
/Laboratory Works/Lab_7/Problems/Informatics/Loops/For/335.py
86aa7d0128aee684c9b5ea93d22e666baa62e8a3
[ "MIT" ]
permissive
diable201/WEB-development
e832df0e35a837fc5464d6b0dada1c8fd8c9783b
370bd731b9a65a1658033a60c63abece11d4e259
refs/heads/master
2023-06-02T03:46:20.786310
2021-06-28T15:57:11
2021-06-28T15:57:11
336,358,294
3
1
null
null
null
null
UTF-8
Python
false
false
203
py
from math import sqrt a = int(input()) b = int(input()) result = [] for i in range(a, b + 1): j = int(sqrt(i)) if j * j == i: result.append(i) print(' '.join(str(i) for i in result))
[ "diable201@protonmail.com" ]
diable201@protonmail.com
f3368b9c95ad10ebfa7c6e9990af3b273864b5ed
0e25538b2f24f1bc002b19a61391017c17667d3d
/cmdt/win_cmdtdirectory.py
e380d3bf0c25daf67520c700f8e97391f780840d
[]
no_license
trondhindenes/Ansible-Auto-Generated-Modules
725fae6ba9b0eef00c9fdc21179e2500dfd6725f
efa6ac8cd2b545116f24c1929936eb8cc5c8d337
refs/heads/master
2020-04-06T09:21:00.756651
2016-10-07T07:08:29
2016-10-07T07:08:29
36,883,816
12
2
null
null
null
null
UTF-8
Python
false
false
2,378
py
#!/usr/bin/python # -*- coding: utf-8 -*- # <COPYRIGHT> # <CODEGENMETA> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, ...
[ "trond@hindenes.com" ]
trond@hindenes.com
bc2906b349072602366dcb6b45306532d65f9503
ddd993057174b52a9c4ecffddda655504ccc2366
/src/main/python/systemds/operator/algorithm/builtin/img_posterize.py
c6f2b41dcd3bc80e6a8d7069d6d0509a782f2bbc
[ "Apache-2.0" ]
permissive
atefeh-asayesh/systemds
68840e3e8005d5bff3e76aeed811c7ab1cb89e8f
96733360c8f600355d5600f2edb8960ba1d47861
refs/heads/master
2023-08-04T18:23:56.076995
2021-09-27T08:41:40
2021-09-27T08:41:40
368,129,199
0
0
Apache-2.0
2021-06-08T20:22:08
2021-05-17T09:29:42
Java
UTF-8
Python
false
false
1,694
py
# ------------------------------------------------------------- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you unde...
[ "baunsgaard@tugraz.at" ]
baunsgaard@tugraz.at
2e92535c0ca6f3823476fc3db4570fe323ad764c
c989cc503ffd0ad57653f89ad49f882ae3a12839
/env/bin/pildriver.py
2e6a9017a9f66aa8ddbbf2bf2df1be9333364931
[]
no_license
armandohuarcaya/SoftwareReservas
e963ae2e7baec1cfc6b6fa4f128b9884ae48f59b
6e913d1ec2ac1cb692d51829eef9988356dbc016
refs/heads/master
2020-12-03T01:48:56.024828
2017-06-30T09:01:45
2017-06-30T09:01:45
95,869,826
0
0
null
null
null
null
UTF-8
Python
false
false
15,525
py
#!/home/abaro/pro/env/bin/python3 """PILdriver, an image-processing calculator using PIL. An instance of class PILDriver is essentially a software stack machine (Polish-notation interpreter) for sequencing PIL image transformations. The state of the instance is the interpreter stack. The only method one will normall...
[ "armando_huarcaya@upeu.edu.pe" ]
armando_huarcaya@upeu.edu.pe
7fb067b74a39322835924b99508c932a474ff19d
8c209079e798c53a5a149613de06f96d10ad756a
/backend/tst_al_11171_dev_15203/wsgi.py
3faa1e00012a46d702dc1e691a81218d24ab281d
[]
no_license
crowdbotics-apps/tst-al-11171-dev-15203
d415d3a80eca99c6f76740db887de1345bdf1306
c7e456053f15411f8e6635d4888520e335c5980b
refs/heads/master
2023-01-13T20:57:17.850058
2020-11-17T22:26:37
2020-11-17T22:26:37
313,758,333
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
""" WSGI config for tst_al_11171_dev_15203 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
8af796943db03458872ba948f02d5d4666aa68ea
284c49f1a514088cd25b29375c1e2c6c2b5d9628
/src/conf/gunicorn_conf.py
f4b6a9b80ee828bf0a8acb8d2f75d143b7cd272d
[]
no_license
oscar6echo/redirect-server
2397578680c194c086f0d456da862f71f004f95c
d72ae59ec32595519f976d46b0556b5370c2936e
refs/heads/master
2020-04-26T12:35:11.232084
2020-03-16T10:32:15
2020-03-16T10:32:15
173,554,405
0
0
null
2019-05-28T15:38:37
2019-03-03T09:23:41
Vue
UTF-8
Python
false
false
290
py
bind = '0.0.0.0:5000' backlog = 2048 workers = 1 worker_class = 'sync' worker_connections = 1000 timeout = 30 keepalive = 2 daemon = False errorlog = '-' loglevel = 'debug' accesslog = '-' access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"' reload = True
[ "olivier.borderies@gmail.com" ]
olivier.borderies@gmail.com
c8eb4caf29ca60835a43044d8d8a3a9e735b9d52
ccc545fb3f4107741c715b41976b72177bea0957
/encoding/functions/basic.py
e7cc2e09ae4b16466ec8c5af8f6ee0388792d906
[ "MIT" ]
permissive
lfz/PyTorch-Encoding
98eada3a73da6f6f7bed08e1a079c9071f1638a4
dbcae04e3fb29417fbafcb2cc96d87def3739400
refs/heads/master
2021-05-02T11:27:54.213818
2018-02-08T15:27:36
2018-02-08T15:27:36
120,778,758
1
0
null
2018-02-08T15:24:08
2018-02-08T15:24:07
null
UTF-8
Python
false
false
7,871
py
##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ## Created by: Hang Zhang ## ECE Department, Rutgers University ## Email: zhang.hang@rutgers.edu ## Copyright (c) 2017 ## ## This source code is licensed under the MIT-style license found in the ## LICENSE file in the root directory of this sou...
[ "zhang.hang@rutgers.edu" ]
zhang.hang@rutgers.edu
45ce06463620ba75517c876a1aa7fa66b990db3c
e9c9e38ed91969df78bbd7f9ca2a0fdb264d8ddb
/lib/python3.8/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_url_match.py
ea53f2672a69ee663d05463797204ebfd95b0008
[]
no_license
Arceusir/PRELIM_SKILLS_EXAM
882fcf2868926f0bbfe1fb18d50e5fe165936c02
b685c5b28d058f59de2875c7579739c545df2e0c
refs/heads/master
2023-08-15T07:30:42.303283
2021-10-09T01:27:19
2021-10-09T01:27:19
415,167,192
0
0
null
null
null
null
UTF-8
Python
false
false
18,156
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019-2020 Fortinet, 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 3 of th...
[ "aaronchristopher.dalmacio@gmail.com" ]
aaronchristopher.dalmacio@gmail.com
ecde5f0d489cadb5227aa49e7e8fe29890b68494
9680800074ee2f50c7f9573076f0414b0b37cc70
/backend/home/migrations/0003_test.py
f8d4b6538dd97edf54edbec05074b17072795872
[]
no_license
crowdbotics-apps/testnewmobile-dev-1517
6bc6b0df8bef375dd13a750ad4f4894e55465482
6eeb801f949dac5d47391fdef4c99c3c2750b19a
refs/heads/master
2022-11-18T04:01:52.930493
2020-07-15T23:38:56
2020-07-15T23:38:56
234,537,030
0
1
null
null
null
null
UTF-8
Python
false
false
707
py
# Generated by Django 2.2.9 on 2020-01-23 10:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("home", "0002_load_initial_data"), ] operations = [ migrations.CreateModel( name="Test", fields=[ ( ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
235a3f420a9e5d6da034ccc5fa3786a231a5c5c5
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_mixing.py
3fd7241702edc77070a2b1628ae489ab3e937317
[ "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
214
py
#calss header class _MIXING(): def __init__(self,): self.name = "MIXING" self.definitions = mix self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['mix']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
518d57e4b6824f9d2d23efade951dfe404bad0ca
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_waivers.py
4561725c43217e00c698770290379ce1da4c364a
[ "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
222
py
#calss header class _WAIVERS(): def __init__(self,): self.name = "WAIVERS" self.definitions = waiver self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['waiver']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ef9227af50c4ba29def9aa46fa510d5b13377a44
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/mobile_api/urls.py
a6fec8dd978ca0c55326ed76d877e0eff6cfc7b0
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
341
py
""" URLs for mobile API """ from django.conf.urls import include, url from .users.views import my_user_info urlpatterns = [ url(r'^users/', include('lms.djangoapps.mobile_api.users.urls')), url(r'^my_user_info', my_user_info, name='user-info'), url(r'^course_info/', include('lms.djangoapps.mobile_api.co...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
d5da1b70e6407c1638c9816437723719580a57d4
70730512e2643833e546e68761ee6cd3d7b95e1d
/01-python基础/code/day14/module01.py
be1e6837225cdfe1bbc42fd6506d29dd55e3f212
[]
no_license
Yuchen1995-0315/review
7f0b0403aea2da62566642c6797a98a0485811d1
502859fe11686cc59d2a6d5cc77193469997fe6a
refs/heads/master
2020-08-26T23:16:33.193952
2019-10-24T00:30:32
2019-10-24T00:30:32
217,177,822
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
""" Module01 模块 """ def fun01(): print("Module01 -- fun01") def fun02(): print("Module01 -- fun02") def fun03(): print("Module01 -- fun03")
[ "2456830920@qq.com" ]
2456830920@qq.com
d2081c5594a00d4d326c9ed1272419e2f5280042
e86364b36b82c24596dd71f9fa2221d036e8defc
/collections/ansible_collections/cisco/nxos/plugins/modules/nxos_hsrp_interfaces.py
4f1e68c3cdc543565ca3705927e1027b20a80ae6
[]
no_license
ganeshrn/network_collections_migration
b3f11be5ecb9557787bcd12ca01b227379c7c102
8f56b60bfde606b291627665a1218bf7ce15f3a1
refs/heads/master
2020-09-12T12:10:58.189645
2019-11-18T11:44:48
2019-11-18T11:44:48
222,419,125
1
0
null
null
null
null
UTF-8
Python
false
false
3,905
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright 2019 Cisco and/or its affiliates. # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ############################################# # WARNING # ############################################...
[ "ganesh634@gmail.com" ]
ganesh634@gmail.com
86b2703f93f197bc7cf3ed852e7f82e536e6d092
17a0371a52c00e949460a891702109d1471d19af
/backend/no_crop_ig_stories_20282/urls.py
5dcff4097643848f9f51e9868241285e295389ba
[]
no_license
crowdbotics-apps/no-crop-ig-stories-20282
2df2d1957f660e7fcd89f9a9b6619cb1fe54a6dc
a79f7e9b3ed3533b2e6fcbc2562db32f2d50d46a
refs/heads/master
2022-12-12T18:17:55.054916
2020-09-15T08:27:57
2020-09-15T08:27:57
295,663,249
0
0
null
null
null
null
UTF-8
Python
false
false
1,979
py
"""no_crop_ig_stories_20282 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='h...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
905c0a9dbb7ada9c3de9b778a76664ef072ef7c6
284f4775828d155fd289697f5da52cf138e8c937
/abc104/a.py
c8723430c9a572ab922018eb1b2075e7fb5bfe42
[]
no_license
aikiyy/AtCoder
f006d9eec4bea0c265b700259fa4a43790f92df0
e4208bcc708c301b088d01528294fe013a475f21
refs/heads/master
2020-06-29T16:57:29.692986
2020-01-20T04:53:08
2020-01-20T04:53:08
200,572,345
0
0
null
2020-01-19T15:36:57
2019-08-05T03:00:55
Python
UTF-8
Python
false
false
157
py
r = int(input()) if r < 1200: print('ABC') elif r < 2800: print('ARC') else: print('AGC') # print(['ABC', 'ARC', 'AGC'][int(input())//50+8>>5])
[ "aiki.yougai@gmail.com" ]
aiki.yougai@gmail.com
c87942ff1d3c1afae847306e4346fda63c7e5397
919817200361a55f194e32ad1636a5a7054e4c58
/传统方法爬虫/requests/模拟登陆.py
012c9349753b677de5452930ae6997a38fd7152d
[]
no_license
luoshanya/crawl_project
2d68272d6ef71c9fb033dc267ce6b56dfebfddc4
2881093ad37dd005be72f8b2214cadc97255470f
refs/heads/master
2020-07-05T01:36:28.985965
2019-08-23T02:06:03
2019-08-23T02:06:03
202,484,100
1
1
null
null
null
null
UTF-8
Python
false
false
2,581
py
import requests import ssl #ssl错误:requests.exceptions.SSLError: HTTPSConnectionPool(host='www.yaozh.com', port=443): Max retries exceeded with url: /login/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'...
[ "310927880@qq.com" ]
310927880@qq.com
fbf195990428f078f116132132635148407abaa2
c9ad6ad969de505b3c8471c6f46dfd782a0fb498
/0x0F-python-object_relational_mapping/10-model_state_my_get.py
e1b8c12f3ce8649549fd011e01d9d604ab15cec7
[]
no_license
enterpreneur369/holbertonschool-higher_level_programming
002fd5a19b40c8b1db06b34c4344e307f24c17ac
dd7d3f14bf3bacb41e2116d732ced78998a4afcc
refs/heads/master
2022-06-20T00:57:27.736122
2020-05-06T14:26:10
2020-05-06T14:26:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
#!/usr/bin/python3 """Module 9-model_state_filter_a.py """ import sys from model_state import Base, State from sqlalchemy import (create_engine) if __name__ == "__main__": """ Main Get the States by a n letter using SQLAlchemy """ engine = create_engine( 'mysql+mysqldb://{}:{}@localhost/{}' ...
[ "jose.calderon@holbertonschool.com" ]
jose.calderon@holbertonschool.com
a37d7da8f835b83be2821b76a95ed83ee07ad3b5
5181d3b3ef8fe301ea2d6b095260e9d327c2fd79
/scripts/iemre/areal_coverage.py
dcbd0b2c6f99ad435cfa8f0078503e6ef15a8952
[]
no_license
danhreitz/iem
88113ef9c9c4a2918c9c2abdfd0510d5ca4ec819
ed490dcd6c2a8359f88cb805ccee8f6707566f57
refs/heads/master
2021-01-18T15:27:28.607250
2015-08-10T21:33:54
2015-08-10T21:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,568
py
import netCDF4 from pyiem import iemre, plot import numpy import datetime import pytz import matplotlib.pyplot as plt import matplotlib.dates as mdates sts = datetime.datetime(2013,4,1, 0) sts = sts.replace(tzinfo=pytz.timezone("UTC")) ets = datetime.datetime(2013,6,16, 0) ets = ets.replace(tzinfo=pytz.timezone("UTC")...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
1e333d4c033792130b775c73a3c6c372ece02d41
14373275670c1f3065ce9ae195df142146e2c1a4
/stubs/python-xlib/Xlib/ext/ge.pyi
d0add2edbd711d2a66f70a9614bafbfc6f77c1ed
[ "Apache-2.0", "MIT" ]
permissive
sobolevn/typeshed
eb7af17c06a9722f23c337e6b9a4726223155d58
d63a82640390a9c130e0fe7d409e8b0b836b7c31
refs/heads/master
2023-08-04T05:59:29.447015
2023-06-14T21:27:53
2023-06-14T21:27:53
216,265,622
2
0
Apache-2.0
2022-02-08T10:40:53
2019-10-19T20:21:25
Python
UTF-8
Python
false
false
556
pyi
from typing_extensions import Final from Xlib._typing import Unused from Xlib.display import Display from Xlib.protocol import rq from Xlib.xobject import resource extname: Final = "Generic Event Extension" GenericEventCode: Final = 35 class GEQueryVersion(rq.ReplyRequest): ... def query_version(self: Display | res...
[ "noreply@github.com" ]
sobolevn.noreply@github.com
83da271d2007ec5ce1f1ba16f484a54719876d17
da5bf3d91fd7b73752d955b6ae783019c11267ec
/cuda-device-2.py
6f653305999de71218042a7ef855d8f0be1290e5
[]
no_license
izham-sugita/numba-fd
badd89608fcbbc3cd69be1a92ff69b81248b2498
8c4b2003c800454e5202908fc9abeb0df531e9df
refs/heads/master
2023-03-28T01:04:56.136570
2021-03-30T10:09:36
2021-03-30T10:09:36
284,838,894
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
from numba import cuda, float32 import math import time @cuda.jit def matmul(A, B, C): """Perform square matrix multiplication of C = A * B """ i, j = cuda.grid(2) if i < C.shape[0] and j < C.shape[1]: tmp = 0. for k in range(A.shape[1]): tmp += A[i, k] * B[k, j] C[i...
[ "sugita5019@gmail.com" ]
sugita5019@gmail.com
aaad4f9650237b09e2f1935c4e00ff4f34b6c145
9cc6721acb439db2e7cff8eb4dbff4b6e14040d5
/백준/2231.py
12b6383564cc1f9fc8b9974f79a0ce94df16f6f4
[]
no_license
young31/Algorithm
35c6ec6b6d9b192f9d0e6e6f6484f33c92100232
bfcccfa798d031a930490efa24d9b2263bd4b984
refs/heads/master
2021-11-04T14:01:53.827508
2021-10-25T06:35:24
2021-10-25T06:35:24
196,034,851
0
3
null
null
null
null
UTF-8
Python
false
false
193
py
n = list(input()) l = len(n) n = int(''.join(n)) for i in range(max(0, n-9*l), n): k = list(map(int, list(str(i)))) if sum(k)+i == n: print(i) break else: print(0)
[ "migael38317@gmail.com" ]
migael38317@gmail.com
4de5316a1b00eba55f5fbc916cdf2bbf7b91b27d
763be4d77e20504848c9ddd29fe99b8012b00ea7
/uchicagohvz/game/dorm_migrations/0008_highvaluedorm_dorm_fk.py
7484b9415b6045ca84f26983520b969e079375f4
[ "MIT" ]
permissive
kz26/uchicago-hvz
2207c944f19c6fcc3310d4a43b4e733ac8225b18
85e89a1b70fa2a23445890686312407fe8b2084a
refs/heads/master
2021-12-07T03:21:03.118945
2020-10-08T14:31:02
2020-10-08T14:31:02
13,137,628
11
6
MIT
2021-11-29T17:59:45
2013-09-27T00:28:39
HTML
UTF-8
Python
false
false
447
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('game', '0007_set_dorm_fk'), ] operations = [ migrations.AddField( model_name='highvaluedorm', name='...
[ "whitehat2k9@gmail.com" ]
whitehat2k9@gmail.com
09cbf9993c29b825bd52fd02515b9643ed8493ff
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4458198.3.spec
9afe952d68ad4351bc2a552770949ffc40099690
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
14,313
spec
{ "id": "mgm4458198.3", "metadata": { "mgm4458198.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
61ba5f04c6fdb92dd53cf834f471d9a8bfa509ea
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/netapp/v20201201/account.py
f3edb9464b8f1982985ca14d2a40dd982d6b1e04
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,934
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
e12c1c659d3522d8afd7c9c6a5000dcd949f7080
e23a4f57ce5474d468258e5e63b9e23fb6011188
/070_oop/007_exceptions/_exercises/templates/GoCongr/022_Coding Exceptions Classes_!cool!.py
741999e8439973d27e69f5a1bd8bf673b05a8ae2
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
351
py
# # Coding Exceptions Classes # c_ General ? p.. # c_ Specific1 G.. p.. # c_ Specific2 G.. p.. # # ___ raiser0 r____ G... # ___ raiser1 r____ S.1 # ___ raiser2 r____ S.2 # # ___ func __ _0 _1 _2 # ___ # ? # ____ G.. __ X # X is the raised instance # print('caught:' X. -c ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
3e68c157c162e237bcf7cbdfab3344aa166b63ed
f76862c7dfcc08a495927eae3f4a995e416b948c
/amulet_map_editor/api/opengl/__init__.py
485d3392e3d5341aa400e59e6ba9d552087799c4
[]
permissive
Ex-Ark/Amulet-Map-Editor
0bc1e6ac07349736114ea80e6c3ee2233863366e
24704b91749727e8bce25aecf41d39f4b0eba433
refs/heads/master
2023-03-02T23:06:46.201874
2021-02-14T12:31:59
2021-02-14T12:31:59
221,939,739
0
0
MIT
2019-11-15T14:26:14
2019-11-15T14:26:14
null
UTF-8
Python
false
false
145
py
from .context_manager import ContextManager from .drawable import Drawable from .thread_generator import ThreadedObject, ThreadedObjectContainer
[ "james_clare1@yahoo.co.uk" ]
james_clare1@yahoo.co.uk
5f94299b8ab5fe88eeb251205f9efa410e4838a0
acfac20206023b951a1016664771e1dda6c22a45
/QUANTAXIS/QAData/QADataStruct.py
9ab3f5fb84537052f42572ca99a9dcdf4c052dd2
[ "MIT" ]
permissive
qzm/QUANTAXIS
fc8b99dc2fdb2d6f2c38556710337f2cf97d5da3
055fdc16d67670fb4770e7097865336199e55f3e
refs/heads/master
2020-03-17T19:53:31.346748
2018-05-17T14:40:33
2018-05-17T14:40:33
133,882,796
1
0
null
2018-05-18T00:35:15
2018-05-18T00:35:14
null
UTF-8
Python
false
false
24,156
py
# coding:utf-8 # # The MIT License (MIT) # # Copyright (c) 2016-2018 yutiansut/QUANTAXIS # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation th...
[ "yutiansut@qq.com" ]
yutiansut@qq.com
0eed7b1f3619229cbb86a603a93f32fc7c03967f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_065/ch140_2020_04_01_19_28_19_184199.py
e9a126ebc7ed42b415088a88add0bda4fb22a9be
[]
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
89
py
def faixa_notas(notas): result = [0]*len(notas) while notas: print(notas)
[ "you@example.com" ]
you@example.com
ad8e82445acb57add0fd8ed5e34f5c5e3db445b7
20b5ef21ed539ac5b906d252e323d3622432fe52
/phantompy/webelements.py
bfcca92a3940679bdfdd6110ed810aba1e8a47b4
[ "BSD-2-Clause" ]
permissive
ballacky13/phantompy
51277264e4d3f4368abb329f798413e04a276ab4
9460c93565151b40f0137b29f8c6dde8eded7651
refs/heads/master
2021-01-21T01:59:25.939983
2013-05-24T14:38:19
2013-05-24T14:38:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
# -*- coding: utf-8 -*- from .api import library as lib from .api import ctypes class WebElement(object): def __init__(self, el_ptr, frame): self._el_ptr = el_ptr self._frame = frame self._closed = False # Setup tagname tagname = lib.ph_webelement_tag_name(el_ptr) ...
[ "niwi@niwi.be" ]
niwi@niwi.be
ed07f6d6de8dd7e3d776e9358767ea4cc11affc9
ba602dc67ad7bb50133aeb312f3c6c54627b3dec
/data/3955/WA_py/508331.py
e587cdede063c05ef1b12076f39eb043f6dff69e
[]
no_license
Dearyyyyy/TCG
0d21d89275906157372d775f33309ce337e6bc95
7b80de16de2d3f5d95a7c4ed95d45a9e38882e67
refs/heads/master
2020-12-27T23:19:44.845918
2020-02-04T01:59:23
2020-02-04T01:59:23
238,101,032
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
# coding=utf-8 while True: n1,n2 = input().split() n3 = '' for i in range(len(n1)): n3 = n1[i:] + n1[:i] if n3 == n2: print("Yes") break else: print("No")
[ "543271544@qq.com" ]
543271544@qq.com
5be7a9deeb09ea616df6b8cc3c5b75a2fd056175
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03645/s325823599.py
4ee88108ab98ed34053bd76fe0f66cfe1a062006
[]
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
237
py
n, m = map(int, input().split()) arr_ = [tuple(map(int, input().split())) for _ in range(m)] one = set([b for a, b in arr_ if a == 1]) last = set([a for a, b in arr_ if b == n]) print("POSSIBLE" if len(one & last) >= 1 else "IMPOSSIBLE")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a24259cf4a4c9640df796299cdbea9e8c318b970
2312ee83cd5cdfcd83af3a805dc14444b38f89c6
/barpie.py
6cda7263efdad4ff5e567070c4c80f8530c455cb
[ "MIT" ]
permissive
llord1/DataVisualization
49ea215d012566d149a740c87185092d0a4e8ede
d7f7f43479549732ef6c94e7cd1c1ccc401593a8
refs/heads/master
2021-09-21T15:29:40.016594
2018-08-28T14:34:46
2018-08-28T14:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
#!/usr/bin/env pythonw import matplotlib.pyplot as plt import seaborn as sns #sns.set_style('ticks') # Get default color cycle prop_cycle = plt.rcParams['axes.prop_cycle'] colors = prop_cycle.by_key()['color'] fig, axs = plt.subplots(nrows=2, ncols=3) dataA = [17, 18, 20, 22, 24] dataB = [20, 20, 19, 21, 20] dataC...
[ "bgoncalves@gmail.com" ]
bgoncalves@gmail.com
697efe77da57a33f49ad2ede10702df06f27631b
b3c3a810d48b02e40685f57d346fd9c0f2237a9e
/Python Essentials/5.0 Lists Basics/05. Numbers Filter.py
ce2d045c045aed6537ce710c040b83b686b4c757
[]
no_license
byAbaddon/Essentials-Course-with----JavaScript___and___Python
7ef8112edafd6a2e2cef82c7709f974a67c64cc0
5194d9e74c2aa186e5571745f8931f31595d4b99
refs/heads/main
2023-03-27T23:23:18.426633
2021-04-05T21:09:06
2021-04-05T21:09:06
349,848,597
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
num_list = [int(input()) for _ in range(int(input()))] command = input() def calc(type_command): switch_command = { 'even': list(filter(lambda x: not x & 1, num_list)), 'odd': list(filter(lambda x: x & 1, num_list)), 'negative': list(filter(lambda x: x < 0, num_list)), ...
[ "noreply@github.com" ]
byAbaddon.noreply@github.com
97a8d4ed865ee8e97ff76957231e9f0eafaa5a40
1925c535d439d2d47e27ace779f08be0b2a75750
/CtCl/Sorting and Searching/quick_sort.py
c1b55d5d7746ba459bff4223121d04d400ffdc4c
[]
no_license
arthurDz/algorithm-studies
ee77d716041671c4b8bb757d8d96f3d10b6589f7
1e4d23dd0c40df34f58d71c7ca3e6491be732075
refs/heads/master
2023-04-27T12:17:06.209278
2021-04-30T20:16:18
2021-04-30T20:16:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# Runtime O(NlogN) - average, O(N^2) - worst, Memory O(logN) def quickSort(num): if len(num) < 2: return num less = [] more = [] equal = [num[0]] for i in range(1, len(num)): if num[i] < num[0]: less.append(num[i]) elif num[i] == num[0]: equal.append(num[i]...
[ "yunfan.yang@minerva.kgi.edu" ]
yunfan.yang@minerva.kgi.edu
04eb1ce6cbc6df42d8291e624e380c36614137c9
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fiftyPercent/rank_2aq1_M.py
908c5c4edee253682ca2a80a88fbae072bc24c6e
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,390
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
ad7770f5327908343402cf810055eb1ed533e4e5
ce16345f020d14b138c0cb152abbdd1acbe450f5
/grobber/grobber/sources/masteranime.py
6e021e191b6101afd8a9d6aa3d9def0cee96ffef
[ "MIT" ]
permissive
siku2/MyAnimeStream
9f1b57f33f344e35c6f0bae0c0008c6c76518eea
addfa3831cbe52667fea7f58d49325d6f200b2a1
refs/heads/master
2020-03-21T19:04:45.667147
2018-12-27T09:34:03
2018-12-27T09:34:03
138,929,617
1
1
MIT
2018-10-05T18:33:22
2018-06-27T20:27:27
Python
UTF-8
Python
false
false
3,914
py
import json import logging from typing import Any, AsyncIterator, Dict, List, Optional from . import register_source from .. import utils from ..decorators import cached_property from ..languages import Language from ..models import Anime, Episode, SearchResult, get_certainty from ..request import DefaultUrlFormatter,...
[ "siku2@outlook.com" ]
siku2@outlook.com
87b28b565810895139b674762e321a21a41a3b6a
2da56d31de9ed0727be67e1080c9ba7c9491c824
/ilit/data/transforms/transform.py
9dbd8d7cfe29bdd2437c0021231f186b2d6b394b
[ "Apache-2.0", "Intel", "MIT" ]
permissive
TrendingTechnology/lp-opt-tool
49b564b09721b2a70ac603ee9e9323a4daf58c62
e2e3ff30292bced1122fef519d1768a2eb72faf7
refs/heads/master
2023-01-07T16:55:51.230933
2020-11-09T07:25:02
2020-11-09T07:25:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,407
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2020 Intel Corporation # # 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 # # Unl...
[ "feng.tian@intel.com" ]
feng.tian@intel.com
9a501b13539c3f91f4c336f040f5baa05f56b93c
53cb2e9e1f5dfb57090295fe45d4810aac07caad
/example/example/tests/test_tenants.py
4d69f27fa8417ea99daead345777b5a42686dc35
[]
no_license
kissgyorgy/django-tenants
47c01f79b459842d6aaf72828a16327b9690ff47
327fc85ba18a10b6622a06ad1fe6c5f9ec8d83c6
refs/heads/master
2020-04-29T07:58:43.877588
2013-11-23T11:27:50
2013-11-23T11:27:50
14,571,644
3
0
null
null
null
null
UTF-8
Python
false
false
487
py
from django.test import TestCase from django.db import connection as conn from django.core.management import call_command from example.models import Team class TenantCreationTest(TestCase): def setUp(self): Team.objects.create(name='Something', domain='127.0.0.1', schema='something') def test_create_...
[ "kissgyorgy@me.com" ]
kissgyorgy@me.com
2993e9834a1447e598649f1c186faef412f6e96f
3e06c2e64c14c3e3486cd3604268f12510fdeb56
/nostradamus/nostradamus/urls.py
da6c0686f55de26517f6a72f5c2a01de940b74af
[ "Apache-2.0" ]
permissive
exactpro/nostradamus
42296e9d4762ac6d7364a665dd5cd74117caacc8
80df847a012374ad2b702cc9f9c9cb46c1153ee7
refs/heads/master
2022-09-29T08:49:14.505795
2021-12-21T12:43:01
2021-12-21T12:43:01
162,601,150
32
8
Apache-2.0
2022-09-13T23:04:20
2018-12-20T15:58:05
TypeScript
UTF-8
Python
false
false
1,588
py
"""nostradamus URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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-b...
[ "litvinov.ivan44@gmail.com" ]
litvinov.ivan44@gmail.com
4de9633aa2daa7c8e1e69befaaa0c97c1d963018
8e833f71bc2f913f459b112e08725ad6d37b0897
/myapp/migrations/0002_auto_20200309_2105.py
8bcc39339b7f2fdb42f5e6f23a51a5694601bec4
[]
no_license
21toffy/slider
0d5727befac41f7e37160e6684dd92d9c2583671
fc064ce61b110351be911abd614fab2810c9c046
refs/heads/master
2021-01-09T19:12:39.625561
2020-04-22T01:25:23
2020-04-22T01:25:23
242,425,521
0
1
null
2020-02-23T01:06:51
2020-02-22T23:16:47
Python
UTF-8
Python
false
false
406
py
# Generated by Django 2.0.13 on 2020-03-09 20:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0001_initial'), ] operations = [ migrations.AlterField( model_name='pictures', name='image', f...
[ "oketofoke@gmail.com" ]
oketofoke@gmail.com
184ae98d1ffdd0597c98eebc3660eb8b5a22ef05
e76ea38dbe5774fccaf14e1a0090d9275cdaee08
/src/chrome/app/DEPS
4d39b7881b84cb0b57b7e6b77d01a35d4ff0eefb
[ "BSD-3-Clause" ]
permissive
eurogiciel-oss/Tizen_Crosswalk
efc424807a5434df1d5c9e8ed51364974643707d
a68aed6e29bd157c95564e7af2e3a26191813e51
refs/heads/master
2021-01-18T19:19:04.527505
2014-02-06T13:43:21
2014-02-06T13:43:21
16,070,101
1
3
null
null
null
null
UTF-8
Python
false
false
743
include_rules = [ "+apps", "+breakpad", "+chrome/browser", "+chrome/installer", "+chrome/plugin/chrome_content_plugin_client.h", "+chrome/renderer/chrome_content_renderer_client.h", "+chrome/utility/chrome_content_utility_client.h", "+chromeos/chromeos_paths.h", "+chromeos/chromeos_switches.h", "+co...
[ "ronan@fridu.net" ]
ronan@fridu.net
c0ff601cfe6ec3253c26ecaea026da62e49352a3
4985143dce9379c939d562d277350f0d8224f06a
/todo_project/todo_project/urls.py
f70f3583dc5a3c121ffd9fcc5b4e30bf38a0350f
[]
no_license
jkinathan/Task_todo
a74ae010dc703ba0ed4654a569b57a5ce7634857
e19da9ab9dede272b6c148b686e6e77e3da1687a
refs/heads/master
2023-03-23T13:51:41.816050
2021-03-20T09:32:32
2021-03-20T09:32:32
274,080,927
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
"""todo_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "jkinobe@gmail.com" ]
jkinobe@gmail.com
d3389799ab4c3d8f942947a427250ff6be14a12c
626b14ce13986b6d5e03143e151004247659625a
/Day01-15/code/Day13/generator1.py
7b575dd1c65f8f34f1e31fbf29de050b1a02a0d5
[]
no_license
Focavn/Python-100-Days
c7586ecf7ae3f1fd42f024558bb998be23ee9df8
d8de6307aeff9fe31fd752bd7725b9cc3fbc084b
refs/heads/master
2021-08-08T17:57:02.025178
2020-09-17T11:58:04
2020-09-17T11:58:04
220,427,144
0
0
null
2019-11-08T08:59:43
2019-11-08T08:59:41
null
UTF-8
Python
false
false
365
py
""" 生成器 - 生成器语法 Version: 0.1 Author: 骆昊 Date: 2018-03-21 """ seq = [x * x for x in range(10)] print(seq) gen = (x * x for x in range(10)) print(gen) for x in gen: print(x) num = 10 gen = (x ** y for x, y in zip(range(1, num), range(num - 1, 0, -1))) print(gen) n = 1 while n < num: print...
[ "Focavn@users.github.com" ]
Focavn@users.github.com
79eda3f61f4e8bd36a9b6f559862df999c11672e
1e9ad304868c2bda918c19eba3d7b122bac3923b
/kubernetes/client/models/v1_persistent_volume_claim_list.py
0424df102137fcef71706c3593b0b6412a5b3642
[ "Apache-2.0" ]
permissive
pineking/client-python
c77e5bd3d476ac852e6dffa96056008baa0f597f
74a64d7325518f4298600d4bb300f92843c29347
refs/heads/master
2021-01-22T22:16:27.368406
2017-03-15T08:21:21
2017-03-15T08:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,612
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems im...
[ "mehdy@google.com" ]
mehdy@google.com
9d23561509673b26ce9e745b5ff62cef4fcfd824
c44bc905d49853f089b653af8a2ea2e1a5fc3a15
/attributemaps.old/saml_uri.py
ea5b7dbff0452739d54f57a34c19fb7fcb8b65c9
[ "Apache-2.0" ]
permissive
sheagcraig/crypt-server-saml
1730113bbb153db608ae33da799858699a8521d2
70a95aeb13325bac094c2a6340b19de0958279fe
refs/heads/master
2022-11-13T17:38:50.227183
2020-06-12T14:30:23
2020-06-12T14:30:23
254,650,451
0
0
Apache-2.0
2020-04-10T14:09:42
2020-04-10T14:09:41
null
UTF-8
Python
false
false
13,252
py
EDUCOURSE_OID = "urn:oid:1.3.6.1.4.1.5923.1.6.1." EDUPERSON_OID = "urn:oid:1.3.6.1.4.1.5923.1.1.1." LDAPGVAT_OID = ( "urn:oid:1.2.40.0.10.2.1.1." ) # ldap.gv.at definitions as specified in http://www.ref.gv.at/AG-IZ-PVP2-Version-2-1-0-2.2754.0.html UCL_DIR_PILOT = "urn:oid:0.9.2342.19200300.100.1." X500ATTR_OID = ...
[ "graham@grahamgilbert.com" ]
graham@grahamgilbert.com
802b0edc1a9e3592359f16311158f23402fe536a
4eb967cfb3d78ee72e9647f12157eeb58c1f07a4
/time.py
5f23e2f7542adfcecc7b2f1b8e999938f472b422
[]
no_license
shyam96s/python1
757ed6fc0e16dfc58e3b9fda53f6337de74cd305
2907e768092d2c05b7c2cb07d69ba7572422430b
refs/heads/master
2020-04-05T20:53:54.284850
2018-11-12T17:01:34
2018-11-12T17:01:34
157,199,142
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
import time import calendar cal=calendar.month(2018,11) myTime=time.localtime(time.time()) print(myTime) print(cal)
[ "you@example.com" ]
you@example.com
a921dee3bc36edab5c71cb2fc72aada3b8e898c0
63c5306b91db445016059a7f0c7ac167bf231d3c
/caffe2/python/core.py
a929a4ae53151406074aadf72d1263aa2ea13e91
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Fletcher3003/caffe2
b57ad712993b7c50d16b8f0eedc2e5587bc89e0e
731096902a090b49612b02cc5a1301c81bf93943
refs/heads/master
2020-04-15T18:10:11.514190
2019-01-09T17:10:14
2019-01-09T17:10:14
164,903,847
0
0
Apache-2.0
2019-01-09T17:02:59
2019-01-09T17:02:53
Shell
UTF-8
Python
false
false
101,685
py
## @package core # Module caffe2.python.core from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from collections import namedtuple, OrderedDict from past.builtins import basestring from future.utils import viewitems, view...
[ "charliehouseago@gmail.com" ]
charliehouseago@gmail.com
498f10683ef402dac4279ed635e049a50304e21b
51f43f1901d5aad2bce2b5ccd82bd9d5a0b397d1
/TranskribusDU/graph/FeatureDefinition.py
ebadd300a6236d4fd7664bfa8d804b789e9ac6d6
[ "BSD-3-Clause" ]
permissive
kapitsa2811/TranskribusDU
e1fd32b656ed8e3dcddc62e149647398cc48030e
9e680b0bf14ea52678f7c4dccad465d5a9d9ee9d
refs/heads/master
2020-08-09T12:52:52.832320
2019-10-01T15:04:38
2019-10-01T15:04:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,235
py
# -*- coding: utf-8 -*- """ Feature Definition Sub-class it and specialize getTransformer and clean_tranformers Copyright Xerox(C) 2016 JL. Meunier 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 ...
[ "jean-luc.meunier@naverlabs.com" ]
jean-luc.meunier@naverlabs.com
d7fee68df34da617cb66adea6b51ff9b78e676cb
f66ef1c5aff4a601deb7cb6957e380f53fdfd72a
/lectures/session2/session2_warmup_1.py
a00d13f18d6ee1653d2cdaaebd7e639def828a1f
[]
no_license
techkids-vn/C4E
dca0673a4b86aa3e4351f418283d9d62b41c813a
b8c32c17b05fa8415845b263f75ef801609ce352
refs/heads/master
2016-09-12T14:48:13.238969
2016-04-26T10:52:18
2016-04-26T10:52:18
57,104,583
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
from turtle import * side = 5 for i in range(side): forward(20) left(360/side) mainloop()
[ "qhuydtvt@gmail.com" ]
qhuydtvt@gmail.com
14a8ed01957f432d88c64cd1119811b80606126c
6238dc5b5818f54295547cf4cb1afa5553ddfb94
/taobao/top/api/rest/SimbaRptAdgroupeffectGetRequest.py
3a84baac14a3d21395468c846584c6fc0d259785
[]
no_license
liaosiwei/guagua
8208bb82b1df5506dcb86c1a7094c849ea5576a6
ee6025813e83568dc25beb52279c86f8bd33f1a4
refs/heads/master
2016-09-06T16:45:00.798633
2013-05-03T04:02:35
2013-05-03T04:02:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
''' Created by auto_sdk on 2013-04-14 16:35:32 ''' from top.api.base import RestApi class SimbaRptAdgroupeffectGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.adgroup_id = None self.campaign_id = None self.end_time = None self.nic...
[ "liaosiweiorxiaowei@gmail.com" ]
liaosiweiorxiaowei@gmail.com
9fc4ac132c48756bea8f1d552e5271d4383972b4
9d1e84e70048a6a6cba71e93c3f0a66afbd276dd
/code/storyboard_root/models/storytext_model.py
e438cdf05920d4e9a3aa77c4f18e98ee6b741cc1
[]
no_license
1SouravGhosh/StoryBoard-API-services
ab7cd6523bf06d1f042aa0a9dbba52a5bc712336
4cb79e7df1d95ae1dc337267b008c0a6cf42e80a
refs/heads/master
2023-04-09T01:59:01.882784
2023-03-26T14:18:18
2023-03-26T14:18:18
166,553,151
0
0
null
null
null
null
UTF-8
Python
false
false
2,739
py
import datetime from optparse import Option from os.path import getsize, join from symbol import with_item from typing import Text from xml.etree.ElementTree import tostring import psycopg2 from click import DateTime from flask.globals import session from flask_restful.fields import Boolean, DateTime, Integer from psy...
[ "1SouravGhosh@noreply.github.com" ]
1SouravGhosh@noreply.github.com
d8ce2e16873a5987085be1bb79a1fefb9ae058d4
5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e
/main/source/src/python/PyRosetta/src/pyrosetta/__init__.py
3f89716dc31faf5c322be7b1d5ec64653c77360a
[]
no_license
MedicaicloudLink/Rosetta
3ee2d79d48b31bd8ca898036ad32fe910c9a7a28
01affdf77abb773ed375b83cdbbf58439edd8719
refs/heads/master
2020-12-07T17:52:01.350906
2020-01-10T08:24:09
2020-01-10T08:24:09
232,757,729
2
6
null
null
null
null
UTF-8
Python
false
false
15,367
py
from __future__ import absolute_import # :noTabs=true: # # (c) Copyright Rosetta Commons Member Institutions. # (c) This file is part of the Rosetta software suite and is made available under license. # (c) The Rosetta software is developed by the contributing members of the Rosetta Commons. # (c) For more information,...
[ "36790013+MedicaicloudLink@users.noreply.github.com" ]
36790013+MedicaicloudLink@users.noreply.github.com
ecb2e410d0ae0ebcdf8a1a3a003cd918ee96c2e2
9127a5582694a055e7c64ae65ae97a11728ff82f
/cunt/pools/pool_wallet_info.py
7400e5ee4d419ef638f85277bf296554277e9d21
[ "Apache-2.0" ]
permissive
nahvan/cunt-blockchain
0f881df58f3ca5fe554b52a025437053df6f1037
447084a809ec0339bcd24f7141f39ee0e8dddffa
refs/heads/main
2023-06-24T16:47:31.099801
2021-07-29T21:17:02
2021-07-29T21:17:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,502
py
from dataclasses import dataclass from enum import IntEnum from typing import Optional, Dict from blspy import G1Element from cunt.protocols.pool_protocol import POOL_PROTOCOL_VERSION from cunt.types.blockchain_format.coin import Coin from cunt.types.blockchain_format.program import Program from cunt.types.blockchain...
[ "svginsomnia@gmail.com" ]
svginsomnia@gmail.com
72c779db595f8a965e534bfecb6c2abac1be83d7
b49e1aa873f8bc6669eea59acad1f5a01b3a94b5
/amset/scattering/elastic.py
cbd59d4cc6c13fb872886a2827df4934a14ca962
[ "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-hdf5", "BSD-2-Clause" ]
permissive
wangvei/amset
981222f9e00cdf2a4a2010a9a1d727b3ce2f0bf4
1e341d68bd03eef47916e680e687fc085966a0c0
refs/heads/master
2023-01-21T14:43:08.303303
2020-11-30T13:25:50
2020-11-30T13:25:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,792
py
import logging from abc import ABC, abstractmethod from pathlib import Path from typing import Any, Dict, Tuple import numpy as np from pymatgen import Spin from tabulate import tabulate from amset.constants import ( boltzmann_au, coulomb_to_au, ev_to_hartree, gpa_to_au, m_to_bohr, s_to_au, ) ...
[ "alexganose@googlemail.com" ]
alexganose@googlemail.com
dd0718fed67c8e6fbc08d84adfd6864150fac493
5f2103b1083b088aed3f3be145d01a770465c762
/210. Course Schedule II.py
68cd9b9b2fc5afeac0093f89da02788485c01257
[]
no_license
supersj/LeetCode
5605c9bcb5ddcaa83625de2ad9e06c3485220019
690adf05774a1c500d6c9160223dab7bcc38ccc1
refs/heads/master
2021-01-17T17:23:39.585738
2017-02-27T15:08:42
2017-02-27T15:08:42
65,526,089
2
0
null
null
null
null
UTF-8
Python
false
false
921
py
class Solution(object): def findOrder(self, numCourses, prerequisites): """ :type numCourses: int :type prerequisites: List[List[int]] :rtype: bool """ innode = {} graph = {} haszero = 0 for i in range(numCourses): graph[...
[ "ml@ml.ml" ]
ml@ml.ml
1e90f2c55b41185c48d23dff1e6fb2d9fad2fd87
09cead98874a64d55b9e5c84b369d3523c890442
/sj200917_python2m6/day02_200924/dict_11_methodlist.py
5a508f734ba7992c2c1f3f0404da772b9b41c2af
[]
no_license
edu-athensoft/stem1401python_student
f12b404d749286036a090e941c0268381ce558f8
baad017d4cef2994855b008a756758d7b5e119ec
refs/heads/master
2021-08-29T15:01:45.875136
2021-08-24T23:03:51
2021-08-24T23:03:51
210,029,080
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
""" dictionary methods """ """ dict.clear() - remove all items dict.copy() - generate a dictionary dict.fromkeys() - generate a dictionary dict.get(key) - get value by a key , v.s. dictname[key] dict.items() - get items (key-value pairs) dict.keys() - get keys dict.values() ...
[ "lada314@gmail.com" ]
lada314@gmail.com
af08d772855a08671c2e692e3c7b06ad5fbcf4d6
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Scripts/Lazymux/routersploit/tests/exploits/routers/multi/test_misfortune_cookie.py
8e606a9221a4791e9846362b46e42b3d6b09a037
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:6bcf1caec62792e74d178e8d2aa3078c7144e75b45a0fa53cc1c5451184f3f3e size 695
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
c14014bc0cff2309d97cd09333fc79ea81f4c9c5
a05c81cb118116d655e1d5d8aaefb2647e134def
/src/azure-cli-core/azure/cli/core/local_context.py
654097bea7154bd2b5780882af546281e9a1d2fd
[ "MIT" ]
permissive
yungezz/azure-cli
8acef71d30d937f2fc48981804fa66fd9e1c980d
c7b9f98ffe0f824fc16252a9e990d3b4da46b80c
refs/heads/master
2023-03-15T14:22:26.085920
2020-07-14T11:41:19
2020-07-14T11:41:19
279,810,977
0
1
MIT
2021-02-08T08:09:06
2020-07-15T08:26:59
Python
UTF-8
Python
false
false
9,030
py
# -------------------------------------------------------------------------------------------- # 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" ]
yungezz.noreply@github.com
d04fd4b38a21bf1a91a7f87ac2ddf9a8d4186477
9e3620265aee10c0772484403509fbace7259f40
/mhw_armor_edit/ftypes/wp_dat_g.py
44512ba612426c4b7a65e1e6cc23e28121a973e4
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
nikibobi/MHWorldData
5d104fa886087fe121b262497686ad81e6720751
78b5a4dc10ef532d5bad7359ef0b098f99104782
refs/heads/master
2020-12-14T23:41:45.224370
2020-01-20T08:40:16
2020-01-20T08:40:16
234,912,823
0
0
MIT
2020-01-19T14:25:05
2020-01-19T14:25:04
null
UTF-8
Python
false
false
1,023
py
# coding: utf-8 from mhw_armor_edit.ftypes import StructFile, Struct class WpDatGEntry(Struct): STRUCT_SIZE = 68 id: "<I" unk1: "<H" base_model_id: "<h" part1_id: "<h" part2_id: "<h" color: "<B" tree_id: "<B" is_fixed_upgrade: "<B" muzzle_type: "<B" barrel_type: "<B" m...
[ "cfern1990@gmail.com" ]
cfern1990@gmail.com
469c0b09e5b32a0e9eaee51ec4926608ce93ff46
7b85779e7cec84604315ffe3929e325b32ccd9b0
/Python设计模式/singleton/with_decorator_and_param.py
0c69281b9cafa823ebbb9e1e9c6800242f191deb
[]
no_license
clara123clara/test_auto
d27fa78b8d7f1f917402d4c3336ef003ceeaf4d5
26cf9ab7428a8895450e94bbae894aeb4462358f
refs/heads/master
2023-07-09T19:56:05.248972
2021-08-18T02:44:14
2021-08-18T02:44:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
def singleton(cls): """ 定义单例的装饰器(闭包) :param cls: :return: """ _instance = {} def _singleton(*args, **kargs): if cls not in _instance: _instance[cls] = cls(*args, **kargs) return _instance[cls] return _singleton @singleton class Singleton(object): """单例...
[ "xinganguo@gmail.com" ]
xinganguo@gmail.com
25fa2da3e63064f3e8395f02f7af98751bcd472a
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/coverage-big-4678.py
98da00a1f98c3949df99c4823a1f0695572b0799
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
13,350
py
count:int = 0 count2:int = 0 count3:int = 0 count4:int = 0 count5:int = 0 def foo(s: str) -> int: return len(s) def foo2(s: str, s2: str) -> int: return len(s) def foo3(s: str, s2: str, s3: str) -> int: return len(s) def foo4(s: str, s2: str, s3: str, s4: str) -> int: return len(s) def foo5(s: str,...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
f69f660717b475fe52eb6697bf4346389ecffd0b
759de7cc7c264b165cc481d277eaf46235470bc6
/database/async_saver.py
a14ca2cc66d956e8aec3bb7fcfa0ad010ac9375b
[]
no_license
RuzzyRullezz/insta_project
cdc743bcad8c95bbbec589d202aaa4e4bcc44857
3c29e5a505abaec9b468817117da1f0222fb2b49
refs/heads/main
2021-06-27T01:01:02.532268
2020-10-28T09:45:25
2020-10-28T09:45:25
174,750,569
1
0
null
2020-06-05T20:05:13
2019-03-09T21:56:57
Python
UTF-8
Python
false
false
721
py
import json from django.db import IntegrityError from mq_consumer.consumers import Consumer from utils.mq import get_connector class DBSaver(Consumer): def __init__(self): from database import models queue = 'db_save' self.model_attr = 'model' self.models = models super()...
[ "rgilfanov@fix.ru" ]
rgilfanov@fix.ru
04fd9dc3ef6cc0f4d6723d76bc02b3ed81a09056
ba4bcfdfc70062bc904bd6490faaf66c5c4c7345
/TestResult_Project_ver0.3/GetResultsXls/write_Excel_UnixBench_1thread-good.py
77cdbc940fa778c5812cd8b138a0e739f138b8ed
[]
no_license
jianxiamage/Proj_TestResults
8ac5cf9c2eb20685e6e03aea8999a07768154bf4
4a5c2c7c44babad754ac0755787022308888713d
refs/heads/master
2022-11-28T09:23:34.617677
2020-04-23T07:44:03
2020-04-23T07:44:03
203,519,769
0
0
null
2022-11-22T00:34:30
2019-08-21T06:20:47
Python
UTF-8
Python
false
false
9,528
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys #引入模块 import os import traceback import ConfigParser import glob import xlwt #防止自动将ini文件中的键名转换成小写 class myconf(ConfigParser.ConfigParser): def __init__(self,defaults=None): ConfigParser.ConfigParser.__init__(self,defaults=None) def optionxform...
[ "jianxiamage@163.com" ]
jianxiamage@163.com
4b1685e4d87b983cc9dd2aa6bb969e8ca01d7711
a873f3cd46a10ad879fc56d78e1f533d8bf486c0
/spider/阶段11-爬虫开发/代码以及其他/06.mongodb数据库/code/1.pymongo_test.py
ee716a5ce8e5881760249665d2d051612ead4a44
[]
no_license
shenhaiyu0923/resful
d0301b39363e6b3d3659f62fa4a9b2532ebcd225
1e66cae7d68fa231794776953cc1a5e999bf36c6
refs/heads/master
2021-07-08T20:46:57.300298
2021-06-01T08:17:27
2021-06-01T08:17:27
244,308,016
2
1
null
null
null
null
UTF-8
Python
false
false
853
py
#coding:utf-8 from pymongo import MongoClient # 创建数据库链接对象 client = MongoClient('172.16.123.223', 27017) # 选择一个数据库 db = client['admin'] db.authenticate('python','python') # 选择一个集合 col = client['pydata']['test'] # col.insert({"class":"python37"}) # col.insert([{"class":"python38"},{"class":"python39"},{"class":"py...
[ "1802161998@qq.com" ]
1802161998@qq.com
e7817dd212cdd36df40dd836c8d9c61472074615
7def8c4abacc5c596358467c90afdc8dbd677c02
/SWEA/swea_4012_chef.py
2de21e8079a7670e820becb96d956a34785627b2
[]
no_license
liza0525/algorithm-study
0b2e41a29e6f263c1906a90771f9c932008b84d2
906e817ba1d033b2e6cfad4b64bb9906d0fe03b7
refs/heads/master
2023-08-18T11:08:31.238163
2021-09-06T14:31:50
2021-09-06T14:31:50
208,087,839
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
def score(arr): s = 0 for i in range(len(arr)-1): for j in range(i+1, len(arr)): s += table[arr[i]][arr[j]] + table[arr[j]][arr[i]] return s def combi(arr, d, next): global group1,group2, res if d == int(N/2): group1 = arr[:] group2 = list(set(food) - set(arr)) ...
[ "double.y.0525@gmail.com" ]
double.y.0525@gmail.com
d824969c11f9acd62838ef00fe7b652c4b39d466
f2658c4bd7f833ace25ac2b63e88317b05f4602d
/2017 July/2017-July-11/st_rdf_test/model2/RelationsAdmin.py
789db15c499db32fbdf401d7303f8bbb4316d67f
[]
no_license
xiaochao00/telanav_diary
e4c34ac0a14b65e4930e32012cc2202ff4ed91e2
3c583695e2880322483f526c98217c04286af9b2
refs/heads/master
2022-01-06T19:42:55.504845
2019-05-17T03:11:46
2019-05-17T03:11:46
108,958,763
0
0
null
null
null
null
UTF-8
Python
false
false
6,148
py
#------------------------------------------------------------------------------- # Name: RelationsAdmin model # Purpose: this model is used to mapping the # columns: [ ] # # Author: rex # # Created: 10/12/2015 # Copyright: (c) rex 2015 # Licence: <your licence> #------------------...
[ "1363180272@qq.com" ]
1363180272@qq.com
97d687b966e97df88df10a56f64cc44e28716f66
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_2_00/openflow_state/interface/__init__.py
66c3df256e4d4472e9e3d147fac2436ed05e9fbe
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,118
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
f9b5d946001dbc2a7b0e167bab23eec454bf4d50
7ddb110792c8242acd2c1a8042caf62a586dd3f5
/OnlineClustering/main_fast.py
2b9d60f523f3721b1ffdafe8c65c7ce0bfe78205
[]
no_license
rashadulrakib/short-text-stream-clustering
43744dd5761ca102d576d90f487c1c5b63e75c6a
f7600a3501064000ddfd849653c7b36f5cc742f7
refs/heads/master
2021-07-03T09:05:29.161305
2020-12-17T01:23:31
2020-12-17T01:23:31
320,949,303
7
2
null
null
null
null
UTF-8
Python
false
false
2,444
py
import os from datetime import datetime from general_util import readlistWholeJsonDataSet from evaluation import Evaluate_old from read_pred_true_text import ReadPredTrueText from clustering_term_online_fast import cluster_biterm from word_vec_extractor import extractAllWordVecsPartialStemming ignoreMinusOne=True isS...
[ "rashadul.rakib@gmail.com" ]
rashadul.rakib@gmail.com
7b462f75e7c76807b69e821d3c3f4330b2d1ff28
be30e4f6bdd9e9e9ec1fc56d6c083fc4ebcf0b23
/urls/client.py
6991212984d87225f3864f4a2a7ef17a9ef94cd2
[]
no_license
Cronopioss/braavos
2ecc404ce4efdc29434ca9c1ebbe385e86da4f68
32ebd07177c06a5e6bec4a69cd1abde2a5faf64b
refs/heads/master
2021-06-07T12:17:19.647469
2016-07-28T07:07:12
2016-07-28T07:07:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
from controllers.client import client_bp def client_register_blueprint(app): app.register_blueprint(client_bp, url_prefix='/clients')
[ "guoyu@inad.com" ]
guoyu@inad.com
a8b3047f947b583472067a2401b98ff1708113fb
2b5dfacdb7389aefff64c67fac863e3f82d3723e
/source/tygame-sdk/src/tysdk/entity/pay4/payment/payv4_wandoujiadanji.py
dc33aaaa616e37b8b338639cfd8b5dbdbf2c1dad
[]
no_license
hi-noikiy/hall0
54ef76c715f7ac7fec4c9ca175817e12f60fbd6a
21ea94c5b048bc611fb1557ac0b6e3ef4fdbbc09
refs/heads/master
2020-04-08T21:58:55.239106
2018-01-15T14:58:32
2018-01-15T14:58:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
# -*- coding=utf-8 -*- import json from payv4_helper import PayHelperV4 from tyframework.context import TyContext from tysdk.entity.pay.rsacrypto import rsaVerify from tysdk.entity.pay4.charge_model import ChargeModel from tysdk.entity.pay4.decorator.payv4_callback import payv4_callback from tysdk.entity.pay4.decorato...
[ "cg@ibenxi.com" ]
cg@ibenxi.com
63154825c27e52db1c81a916e178d71201a7bb5a
b59f66a9c4b5492b95c767b7ca76cd026f6f572a
/aac/transforms/pad.py
df4df193638df824329e201a743c55d1d9400c40
[]
no_license
Labbeti/dcase2021task6
b50f51370af15c241bd9f257920e2df4bc925669
2e792749bd9b2a495fa4b870f6190f6fb389fc56
refs/heads/main
2023-06-11T07:10:50.179348
2021-07-05T09:28:11
2021-07-05T09:28:11
377,414,427
0
0
null
null
null
null
UTF-8
Python
false
false
3,562
py
import random import torch from torch import Tensor from torch.nn import Module from torch.nn.functional import pad class Pad(Module): def __init__( self, target_length: int, align: str = 'left', fill_value: float = 0.0, dim: int = -1, mode: str = 'constant', p: float = 1.0, ): """ Example : ...
[ "etienne.labbe31@gmail.com" ]
etienne.labbe31@gmail.com
bb568e0c498b71992d25b88b505eca73155e3abd
c0d28a5a52748d78563372a8cffa53cacab1847a
/django项目/MovieProject/MovieProject/wsgi.py
111e9f0f5ef27d51c33b447d4ded1ca266301eaf
[]
no_license
fanfanstl/projects
5f1cf83bdb1c21855c3c1b3b4904f99a08dd2808
0c12892e691971a55239a1c5317df77220402d5e
refs/heads/master
2021-08-11T04:21:50.379625
2018-12-27T15:39:19
2018-12-27T15:39:19
148,894,526
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
""" WSGI config for MovieProject project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setde...
[ "2094531487@qq.com" ]
2094531487@qq.com
817c70df624353a0834faa58ab16bbffc92b6df0
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/little_thing/thing/problem/next_place/big_woman_and_large_number/big_person.py
cfd590d9cafb67969b1bdf84b3de88bdc33d89f5
[]
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
256
py
#! /usr/bin/env python def know_big_work_after_way(str_arg): have_great_world_in_way(str_arg) print('important_group') def have_great_world_in_way(str_arg): print(str_arg) if __name__ == '__main__': know_big_work_after_way('last_work')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
2b1bfe55b661da28a117416f4296194407e005db
ad23b164febd12d5c6d97cfbcd91cf70e2914ab3
/TestCaseFunction/autotest/test/marketing/yichang/AutoTestRwIDToYy.py
c243b03e7d9fad39965f8b95438d6b3c9674a98e
[]
no_license
wawj901124/webtestdata
9eedf9a01dec2c157725299bda9a42e8d357ef0b
54f6412566fce07ece912760c5caea73ede819cb
refs/heads/master
2022-12-09T14:18:38.125191
2021-04-25T07:54:07
2021-04-25T07:54:07
175,773,318
1
1
null
2022-12-08T02:39:15
2019-03-15T07:49:16
Python
UTF-8
Python
false
false
17,940
py
import unittest from webtestdata.settings import WEB_URL_TITLE,MANAGER_LOGIN_ACCOUNT,MANAGER_LOGIN_PASSWORD,MARKETING_CREATE_ACTIVITYID from webtestdata.settings import RW_DSX_EDIT_ACTIVITYID,RW_JXZ_EDIT_ACTIVITYID,RW_YJS_EDIT_ACTIVITYID #导入任务活动ID from webtestdata.settings import YY_DSX_EDIT_ACTIVITYID,YY_JXZ_EDIT_...
[ "410287958@qq.com" ]
410287958@qq.com
73bec882ceac5d897c1bcee5afab1ea363ad254c
c31ee23b3d0c219deba0b0f462f172858df8b5ac
/chineblog/chineblog/wsgi.py
ebf3780fe13bfd1997d36b0c71cbfb80ba8c827f
[]
no_license
qinxuye/chineblog
b0afca7302c121021d0af821fa1143c42686bfa2
8c7df04d8cd4e3f120ef78546c3a18000909d2aa
refs/heads/master
2021-06-04T04:48:51.404366
2016-10-07T14:49:02
2016-10-07T14:49:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
""" WSGI config for chineblog project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "xuye.qin@alibaba-inc.com" ]
xuye.qin@alibaba-inc.com
af4ee720495d2af2515908848f9e97725a22992d
93fc75b62e3fb6524f3891daf58772175fee781c
/夏丽平/第一次作业/第一次作业-金工17-1 -2017310413--夏丽平/夏丽平 金工17-1 2017310413/zy4.py
fe4cb5c18967dbeb5f85aedf3d715091ae3ff401
[]
no_license
jingong171/jingong-homework
13174a4a7b39b8ae6d5da103cbf0fb40766d59c1
542e8781f26676a62538714b92fb0bccdf41b47b
refs/heads/master
2020-03-29T13:38:34.152280
2018-12-17T14:38:08
2018-12-17T14:38:08
149,974,131
8
11
null
2018-10-08T14:40:58
2018-09-23T10:32:35
Python
UTF-8
Python
false
false
153
py
list=[] j=2 for i in range(2,100): for j in range(2,i): if i%j==0: break; else: list.append(i) print(list)
[ "35986375+FrancisLau098@users.noreply.github.com" ]
35986375+FrancisLau098@users.noreply.github.com
826d074f96c4b666cf4a019492d4a6be84d6a780
5dd7eccc1314861babdb19b840c117da46b70c3f
/dispersing/kaitai_parsers/summoning_colors.py
fbd3a95c7c262a5e8c9c7fde02a36416f3c3c29e
[ "BSD-3-Clause" ]
permissive
matthewturk/dispersing
fba98e06e3b3a97ce819f09d485310268bbfc38b
e368e21bb7b42035b1b28f38727f4e0f880fec0b
refs/heads/main
2023-08-05T00:22:06.065355
2023-07-02T20:14:13
2023-07-02T20:14:13
226,524,950
1
1
NOASSERTION
2023-08-02T02:05:13
2019-12-07T14:14:56
Python
UTF-8
Python
false
false
3,272
py
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version import kaitaistruct from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO import collections if parse_version(kaitaistruct.__version__) < parse_version('0.9'): raise E...
[ "matthewturk@gmail.com" ]
matthewturk@gmail.com
68060140507db7822a5adeded2f77f1d002209a9
a8750439f200e4efc11715df797489f30e9828c6
/CodeForces/stack_sorting.py
3a9343d2622a99a3a07cf0a0a9e909d06efc4016
[]
no_license
rajlath/rkl_codes
f657174305dc85c3fa07a6fff1c7c31cfe6e2f89
d4bcee3df2f501349feed7a26ef9828573aff873
refs/heads/master
2023-02-21T10:16:35.800612
2021-01-27T11:43:34
2021-01-27T11:43:34
110,989,354
0
0
null
null
null
null
UTF-8
Python
false
false
2,447
py
''' Let's suppose you have an array a, a stack s (initially empty) and an array b (also initially empty). You may perform the following operations until both a and s are empty: Take the first element of a, push it into s and remove it from a (if a is not empty); Take the top element from s, append it to the end of arr...
[ "raj.lath@gmail.com" ]
raj.lath@gmail.com
aa74dd25d623bfc3edf85fed5ea24609da6a8f6a
35e41b591609e17e6de4a27dfe27ac0233bd58c3
/src/forms/unused_or_obsolete/open_meta_mac.py.bak.py.bak
c35a727cea1e4067f9f3a8b38f8ddd8cd6195fc8
[]
no_license
doclumbri666/OpenMeta-analyst-
9fe1449f08c99b9f703fc34c02f29522cdb8a6ad
7ed715b5fe30ffe28d553685808c6ac988975a2b
refs/heads/master
2020-12-25T21:33:51.153178
2014-01-08T20:33:37
2014-01-08T20:33:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,039
bak
#------------------------------------------------------------------------------ # open_meta_mac.py # # this is an initscript used by cx_freeze for our mac # distribution. we set the R_HOME variable via the sys # library before starting up meta_form. to use this script # just point cx_freeze to it via the inits...
[ "byron.wallace@gmail.com" ]
byron.wallace@gmail.com
0019c9d8911a07b945a54c9471c43fe8d4cc2941
16136f6f9578358ad6ff00101831978d20a43926
/bhch13/bhch13exrc15.py
7dc7b1bef78419ceceac1a59a36181c5d77bee30
[]
no_license
Yaachaka/pyPractice1
567c0f8e62cb4f6bff66f1f50672a2ffbc57eeee
fcd4deda3d1094c91ef228b36dfb6124cfa86a8b
refs/heads/main
2023-06-15T17:14:59.697340
2021-07-07T05:01:20
2021-07-07T05:01:20
331,349,117
0
1
null
null
null
null
UTF-8
Python
false
false
815
py
""" bhch13exrc15.py: Write a function called root that is given a number x and an integer n and returns x^(1/n). In the function definition, set the default value of n to 2. """ print('*'*80) def root(x, n=2): return x**(1/n) x = eval(input('Enter value of x: ')) n = eval(input('Enter value of n: ')) pri...
[ "rosaarjuna@gmail.com" ]
rosaarjuna@gmail.com
b22e13972500b9baa18d1bdd873447fb0805c26c
463c053bcf3f4a7337b634890720ea9467f14c87
/rllib/models/tf/complex_input_net.py
02efc73860bbf01ab0f73a8e22611968dc985e00
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
pdames/ray
e8faddc4440976211a6bcead8f8b6e62c1dcda01
918d3601c6519d333f10910dc75eb549cbb82afa
refs/heads/master
2023-01-23T06:11:11.723212
2022-05-06T22:55:59
2022-05-06T22:55:59
245,515,407
1
1
Apache-2.0
2023-01-14T08:02:21
2020-03-06T20:59:04
Python
UTF-8
Python
false
false
8,273
py
from gym.spaces import Box, Discrete, MultiDiscrete import numpy as np import tree # pip install dm_tree from ray.rllib.models.catalog import ModelCatalog from ray.rllib.models.modelv2 import ModelV2, restore_original_dimensions from ray.rllib.models.tf.misc import normc_initializer from ray.rllib.models.tf.tf_modelv...
[ "noreply@github.com" ]
pdames.noreply@github.com
22de353a73e7d67235c8c5e2de8e3c62546c7dcb
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02801/s775521872.py
cf142388b832a1e7f19d0475b989460a9fb8bec4
[]
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
82
py
n = input() alf = [chr(i) for i in range(97, 97+26)] print(alf[(alf.index(n))+1])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3ee509e0d421e69dd1400611c08ff74fb32c9166
0005e05b9d8b8ad0d3c3c0539b2ded9db6e9f1dd
/test/test_inline_response_200_22_result.py
fb5ddc58fea76b357717bc0b200a0de81c7004cb
[]
no_license
termicoder/codechef-client-lib
a3e3de2b300355c5daa5ed3fad03a9859af13d86
74d6b21787c75a987e3451751f5554e4cc6cf469
refs/heads/master
2020-03-27T17:58:45.298121
2018-09-30T18:03:14
2018-09-30T18:03:14
146,889,644
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
# coding: utf-8 """ CodeChef API CodeChef API to support different applications. # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import codechef_client from codechef_client.m...
[ "diveshuttamchandani@gmail.com" ]
diveshuttamchandani@gmail.com
0bd0c5a423a35ddb6ce09b44bc1e4e5507e2d085
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/providerhub/v20210901preview/skus_nested_resource_type_second.py
cbd7c2e1f4054011798cc402a3eaf677db6d89f1
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,513
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
64589a084642ed05b9d147b11ed69dfa36eb6f9b
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/apigatewayv2_write_3/api-mapping_update.py
96fa1132d9b4a58195e8e476f296d2f2e2c06bb6
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,315
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_three_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/apigatewayv2/update-api-mapping.html if __name...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
be7b2fc4819c966c4e8aeae9a2b7673d0262e9a6
06cf972369c30da9d98b296bcbc26a826aa98126
/aloisioimoveis/locations/tests/views/test_view_cities.py
38198318512150fe06089a2c2fac463e84bfffb1
[]
no_license
thiagorossener/aloisioimoveis
2597422af6ac058ed3b8aa6e58f0f8913488a7fe
f9d974440f9a8cc875da8a1d4a5c885429563c1b
refs/heads/master
2021-06-16T23:02:11.193518
2021-02-01T14:17:10
2021-02-01T14:17:10
94,144,023
18
17
null
2021-06-10T20:35:48
2017-06-12T21:55:18
JavaScript
UTF-8
Python
false
false
787
py
from django.test import TestCase from model_mommy import mommy from aloisioimoveis.locations.models import City class CitiesViewTest(TestCase): def test_get(self): """GET /api/locations/cities should return status 200""" response = self.client.get('/api/locations/cities') self.assertEqual...
[ "thiago.rossener@gmail.com" ]
thiago.rossener@gmail.com
1058a4ceb4d0151caf6da4ca219bf6f9660dec47
c2d3c6d5fe759f8b582ad9f3adba0c9889be7299
/modules/demo/test_module/module.py
d48f6a87b880f959c0163d38d4e4ae233ade2ae9
[ "Apache-2.0" ]
permissive
nepeplwu/HubModule
592e272df32797730cec0afdbe8537359bae44cc
590b6e617038cbdf3851de8c12cc43e44cfffe59
refs/heads/master
2021-01-07T00:46:50.620074
2020-10-19T06:41:30
2020-10-19T06:41:30
241,528,583
2
4
Apache-2.0
2020-04-22T12:58:33
2020-02-19T04:00:21
Python
UTF-8
Python
false
false
236
py
from paddlehub.module.module import moduleinfo @moduleinfo( name='test_module', version='1.0.0' ) class TestModule: def __init__(self): print('This is a test module.') def echo(self, text): print(text)
[ "wuzewu@baidu.com" ]
wuzewu@baidu.com
ce299ac7109455025df8ba76b1decea26d789703
0f3146f6e44e43048dc030a6ad44def9201dbd29
/src/basket/highscore/models.py
4256326506b4ef5ccd57752527aa60814f4ec122
[]
no_license
socek/basket
30c7c4be753006a33b997c17cf6348a32b420cd6
30ba79a35f63fd1cf4a4cdaf4b3d21b063cfc1b6
refs/heads/master
2016-09-10T18:40:40.334233
2015-03-25T21:29:00
2015-03-25T21:29:24
30,159,677
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
from haplugin.sql import Base from sqlalchemy import Column, Integer, ForeignKey from sqlalchemy.orm import relationship class HighScore(Base): __tablename__ = 'highscores' id = Column(Integer, primary_key=True) index = Column(Integer, nullable=False) team_id = Column(Integer, ForeignKey('teams.id'),...
[ "msocek@gmail.com" ]
msocek@gmail.com