blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
2622b4b48f92d9c5c9b8811b8a7a0759654b023b
66b88803ab13b2029217331fba15a6adacaa5798
/learn/ajax.py
0715e69947655e3698eb19d4d390565c5f8c55cb
[ "Unlicense" ]
permissive
ericmok/eri53
446e9f5ba14c3744f18cddf47346e1de3be59406
511f21787a7e1eae1eeb87399ae2b93bbcf1210e
refs/heads/master
2020-05-23T16:36:26.357975
2014-02-25T18:14:08
2014-02-25T18:17:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,364
py
import django.http import django.template import django.utils.simplejson from django.shortcuts import render_to_response import views import models import svm import svmutil def json(dict): ret = django.utils.simplejson.dumps(dict) return django.http.HttpResponse(ret, mimetype='application...
[ "eric.mok.0@gmail.com" ]
eric.mok.0@gmail.com
882bc8305c6b4b4ae3fbbf64ffc2a1c691800e88
f987a6669e721747d4bbbcfc9e99a9d244e07bb8
/test/merge_sort.py
c06169c73def4b0205ec2dc751cecf13bc8e3e11
[]
no_license
matiTechno/various
ece6be63c0c032f97eb9dedc933f97112649977b
e482ac1d186914fdc798369679608a7ca2834272
refs/heads/master
2021-07-17T14:56:11.906189
2021-07-13T21:37:47
2021-07-13T21:37:47
252,883,529
1
0
null
null
null
null
UTF-8
Python
false
false
1,628
py
""" algorithm: merge sort input: (a_1, ..., a_n) output: sorted sequence step <- 2 half <- 1 while half < n do i <- 0 while i + half <= n do l <- ( a_i, ..., a_(i + half - 1) ) end <- min(i + step - 1, n) r <- ( a_(i + half), ..., a_(end) ) (a_i...
[ "mateusz.macieja8@gmail.com" ]
mateusz.macieja8@gmail.com
1b59d9d8da3ff73d6273decbaf467d407763001a
d69e59155c7eb8b692feb927bf12d13260d50ebb
/Admin_Panel/asgi.py
5fc512c293fcfe509121637253b2e6eac0921274
[]
no_license
susmitha009/Admin-Panel
8ee905150c84c6a197d77c0ddb03d3c7c81c3de4
4eddcfe60f95c07e79d57be7de2fb1ae2f155cc3
refs/heads/master
2023-06-22T01:16:14.085588
2021-07-17T10:42:54
2021-07-17T10:42:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for Admin_Panel project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "gurramsusmitha09@gmail.com" ]
gurramsusmitha09@gmail.com
e7f03e415f0656bb0c5cceb31b095325aff331d4
19eb60415bc13ccd65634511482a1b300c05c2ff
/droid.py
3a54fde5f815e90e3a2af148143f030b36603324
[]
no_license
vaiper79/probe_droid_diorama
87969f45cb783d5e47d7811a59eea317d5bf625d
60f7da1963d74d570bce37321115416e2ad0454a
refs/heads/master
2020-07-03T05:25:59.610389
2019-12-20T14:29:11
2019-12-20T14:29:11
201,796,602
0
0
null
null
null
null
UTF-8
Python
false
false
8,225
py
# Python3 # Version 7, 20.12.2019, OleA aka vaiper79 # Volume configuration by Adafruit: # Hardware: MCP3008 DAC Chip # Code: https://learn.adafruit.com/reading-a-analog-in-and-controlling-audio-volume-with-the-raspberry-pi/overview # Amplifier configuration by Adafruit: # Hardware: TPA2016 i2c amplifier # Code: http...
[ "olestordal@gmail.com" ]
olestordal@gmail.com
23f7b2ae612a0f3288a140242598fb0d27ce7b2b
36e1c37b4af7685840e145a3b444c2417d246438
/object/get-item.py
94e04a9354bee08d198131c50b7bcb21c0acd29e
[]
no_license
lynndotconfig/python-analysis
0850fa87cfbb5a295970ad3eebb2759371a469bf
dcfb4d139bc8df0e41a979fa6d9b89a6184ef786
refs/heads/master
2021-01-13T16:40:03.063075
2018-04-04T09:53:03
2018-04-04T09:53:03
78,192,318
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
"""object has no dict like method.""" class Vhost(object): def __init__(self, name, permission): self.name = name self.permission = permission if __name__ == '__main__': vhost1 = { "name": "test2", "permissions": "partily" } print "name:", vhost1["name"] print "permissions:", vhost1["permissions"] v...
[ "lynn.config@gmail.com" ]
lynn.config@gmail.com
68c721a16385f419d079d43fbc79a0b7a4f246ea
0ec6292fb64aaf66cee6172991a50a6db166c4a7
/venv/Scripts/pip-script.py
8f562948be7a119ad9082035d649059fe5ce21c3
[]
no_license
orjantonnessen/TDT4136IntroAI
1bca377c3b5464be94f79a181989bb10f8b9bfe1
9e5a4011e2b7931e152429d959975d9e49c260ca
refs/heads/master
2020-03-28T18:38:11.314966
2018-11-10T11:29:51
2018-11-10T11:29:51
148,897,251
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
#!C:\GitHub\TDT4136IntroAI\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exi...
[ "orjanto@stud.ntnu.no" ]
orjanto@stud.ntnu.no
747a467ce325c42417835ac7a9bc48c51520fa31
21410fb2d07712ae4b95e1f74f8605f99b149856
/tests/test_environment_variables.py
d6ea97bdc39996d764c318378f84ece5aababf28
[]
no_license
decobots/sentence_sentences
22bf8ebea4c32d8daf005c7f8b9fd3e2a3f85820
01ae972a1490416d0142844cabbf8b5fef506b10
refs/heads/master
2022-12-15T08:55:26.264525
2020-03-03T09:56:10
2020-03-03T09:56:10
226,102,502
1
0
null
2022-12-08T03:35:37
2019-12-05T12:56:32
Python
UTF-8
Python
false
false
313
py
import pytest from preparation.environment_variables import get_env def test_environment_variables_correct(global_variable): assert get_env(global_variable[0]) == global_variable[1] def test_environment_variables_not_defined(): with pytest.raises(OSError): get_env("undefined_variable_name")
[ "deco-bots@yandex.ru" ]
deco-bots@yandex.ru
cbdd87c23c5758f0816784a7b7a07ec29a0d2930
ea50e9b44ca708cfb68bb51bd3f346a430818445
/dsl_parser/exceptions.py
bdb65ad5b7d7cdbf7fc69acb84c5a5f56d7f80fb
[ "Apache-2.0" ]
permissive
mahak/cloudify-dsl-parser
1dcbde1efe122214d6c7c47217f6eeaf5b418b11
dc76673abdd2b80ad42a49f620dcb7efeb97145a
refs/heads/master
2020-12-25T23:26:06.144065
2014-08-27T16:13:56
2014-08-27T16:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,167
py
######## # Copyright (c) 2014 GigaSpaces Technologies Ltd. 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...
[ "idan@gigaspaces.com" ]
idan@gigaspaces.com
911253e690f721990fdf83a54bb4150a30380b41
4b4581e74a03442ee0293b1bbfdff7a171f8b8c5
/IndiaFacts/skill_env/ask_sdk_model/interfaces/videoapp/metadata.py
4edb57b5af1e586416f432f7dc56c8bd0fa5e129
[ "Apache-2.0" ]
permissive
JeremieBou/AlexaSkills
53d6b78e09cfbbb63dcdaf489b582da20ee86944
5d81c2c6e7ca8068e3850e8f2f2ebb3d9cca87cd
refs/heads/master
2022-12-14T01:11:42.975211
2018-12-20T17:02:26
2018-12-20T17:02:26
162,493,681
0
0
Apache-2.0
2022-11-22T02:54:58
2018-12-19T21:39:59
Python
UTF-8
Python
false
false
3,221
py
# coding: utf-8 # # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file # except in compliance with the License. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
[ "JeremieBou" ]
JeremieBou
dbd1cb95a499b1e63d3f2bd7a291e479c1a24a56
db1bb993c1356265b64372471a09fc6e8313a07e
/final_module_iDIL_django/image_analysis/chat_engine.py
10287e8aebe0789e2cf6e5db2781e0df1f3b71b1
[]
no_license
nabajitdey/iDIL_final_module
c61878644271a5d08a5b6e37b69a9572d28aaf1f
a4505ca0b81f073d561806952338e56786919204
refs/heads/master
2022-11-30T07:09:16.193701
2020-08-17T16:12:14
2020-08-17T16:12:14
288,140,679
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from .models import * from cv2 import cv2 import numpy as np from .forms import * import glob class ChatEngine: def chat_engine(self,question): x=1
[ "nabajitdey@gmail.com" ]
nabajitdey@gmail.com
5ca0355653e6138d821f89fc37bb78fd804a4efd
ca54cd99fd98fc938081248c06d2e077bdedca92
/pvae/datasets/__init__.py
a6ccfacbc2ff39cea3ccdc375ecdcbbc2d954109
[ "MIT" ]
permissive
emilemathieu/pvae
85b965d0b2556edaf53627cfc58f3c4ed933d486
c04ec2149fc4d37fd83946a366780816c0cbe3c0
refs/heads/master
2023-07-19T12:36:02.809762
2022-07-11T08:50:50
2022-07-11T08:50:50
183,016,471
124
39
MIT
2023-07-06T21:52:03
2019-04-23T13:03:27
Python
UTF-8
Python
false
false
23
py
from .datasets import *
[ "emile.mathieu@stats.ox.ac.uk" ]
emile.mathieu@stats.ox.ac.uk
4de46bf17c31dccd69fe817cec18302d393d27ea
b7ce1274bd442c0b8ec31493198edaa2efcf43ce
/hrl_fabric_based_tactile_sensor/src/hrl_fabric_based_tactile_sensor/pr2_tactile_sleeve_pps_driver_node.py
a8233ab45366103d1c39500d2977ad0884442f4a
[ "Apache-2.0" ]
permissive
JuChanyoung/hrl-haptic-manip
692a62a1cb7b02cabf9e31a74c2cad96a9655e47
6458187075033ecd3a22fbcdc1a632df39b0cba1
refs/heads/master
2021-01-18T12:10:37.422794
2014-10-09T21:36:50
2014-10-09T21:36:50
84,330,897
1
0
null
2017-03-08T14:44:22
2017-03-08T14:44:22
null
UTF-8
Python
false
false
2,997
py
#!/usr/bin/python import sys import math, numpy as np import copy import roslib; roslib.load_manifest('hrl_fabric_based_tactile_sensor') import rospy import hrl_lib.util as ut import hrl_lib.transforms as tr from m3skin_ros.msg import RawTaxelArray from geometry_msgs.msg import Transform from m3skin_ros.srv import...
[ "phillip.grice@gatech.edu" ]
phillip.grice@gatech.edu
793e1359815f61e9f5619b8a1c5ad08b1c69c5d0
5f7e140c9fc6c9e4db6f9132126ff5747735c29f
/blog/migrations/0003_avatarimages_wallpaperimages.py
7130986ba7c58a4394a24fba4ec7c0ba27ddc811
[]
no_license
xw0235/django-blog-tutorial
29370bc76e1b06b1f5259da85517353b5746cca9
024d1ceabbabb45743f6d74e83bed392d732855a
refs/heads/master
2020-04-02T17:03:34.987972
2018-10-25T07:59:03
2018-10-25T07:59:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2018-10-12 05:42 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0002_qkcookies'), ] operations = [ migrations.CreateModel( ...
[ "abc00cba@sina.com" ]
abc00cba@sina.com
84adbc43e66bede94f5f3d17b8aa071e9becf93f
97930b7800bc26a84c46a4a1f026d12f3be80aae
/runtests.py
09f59e13547b6cb21d4f79df0aaee1ad928a8943
[]
no_license
iambibhas/imgee
3844abb984267454ea91cb36989304a911a814d6
a681733b0aeb4d031e241f3a25e546acb0d9e4e8
refs/heads/master
2021-01-12T08:02:50.513284
2016-08-31T15:10:16
2016-08-31T15:10:16
77,111,006
0
0
null
2016-12-22T04:06:34
2016-12-22T04:06:34
null
UTF-8
Python
false
false
77
py
#!/usr/bin/env python # -*- coding: iso-8859-15 -*- import nose nose.main()
[ "nigel@hasgeek.com" ]
nigel@hasgeek.com
1816403908201b8142c37717149c787cc4e1003f
ea231f0d8d4a367946db544ac5f3aa6e670d8829
/leakage-sort.py
1c5a082e14ddc45a117ca17e980ce6b2f3175739
[]
no_license
YuXinFan/prototype
844d26758d71fe36f05c207c2580cf0411cc5d24
be2cf2a771ab35289abeddc34e294c6ea8bfbeb0
refs/heads/main
2023-02-25T23:53:28.209731
2021-01-26T12:35:50
2021-01-26T12:35:50
333,078,883
0
0
null
null
null
null
UTF-8
Python
false
false
2,256
py
#!/usr/bin/python from z3 import * #semantic consequence def imply(range,lh, rh): return ForAll(range, Implies(lh, rh)) def declassifyBranchCondition(s, range, constrain, condition): s.push() s.add(imply(range, constrain, condition)) then_branch = s.check() s.pop(num=1) if (then_branch == s...
[ "fanyx@shanghaitech.edu.cn" ]
fanyx@shanghaitech.edu.cn
5d18fad5753e2a8aa91824a074334bac59808902
a2d885e1e700fe0107e5f9a34f006b854ea304d0
/messageBomber using amazon/messageBomber.py
f169a45380621afa7da90bce1edb55fea7ff1a6c
[]
no_license
sayon-moulik/automation-with-python
eec7c5d4435d91ae5fcbd4aa530671b856c781af
bb9c786953e9ed2154090ad8e01310122f9d34d3
refs/heads/master
2022-12-03T18:59:38.923668
2020-08-29T16:08:48
2020-08-29T16:08:48
291,299,678
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
from selenium import webdriver number=input("give the phone number:") times = int(input('give the number of times to bomb:')) browser = webdriver.Firefox(executable_path='./geckodriver') browser.get('https://www.amazon.in/ap/signin?_encoding=UTF8&ignoreAuthState=1&openid.assoc_handle=inflex&openid.claimed_id=http%3A%2...
[ "noreply@github.com" ]
noreply@github.com
213b6d95f66148c90d8f72fb0b15ee4a02a875de
d952071b94a4a0dfd19bf45700919282fc5a0f54
/blog/forms.py
b911c0f5e7406d4f6e13bd3063178e9d0b5d8ad7
[]
no_license
bit1creative/django-blog
d96deb716455e115c46739e178775c597cc9e028
5bfebf7511ac2a8aa9c21ac2ed65559a3ce9c66b
refs/heads/master
2021-03-17T21:45:58.429759
2020-03-25T10:45:34
2020-03-25T10:45:34
247,020,424
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
from django import forms from .models import Post class PostForm(forms.ModelForm): picture = forms.ImageField(required = False) class Meta: model = Post fields = ('title', 'text', 'picture',)
[ "hrytsenko.svan@gmail.com" ]
hrytsenko.svan@gmail.com
ccc71337af5b2333284f5be54fd753ba6fb5cd6b
fd00425844776d26ddbea9af8b6cbcf2a0679131
/polpos/admin.py
f83d55d346eb7c5b6f78cb00c5c36f4c2baeedc7
[ "MIT" ]
permissive
InformaticsResearchCenter/kabayan
6066fd43d6b50148dfa64b8ded790f4a019ca8b5
98139958d6b42098c233f7a6e74bef8a0edde60d
refs/heads/master
2022-12-04T06:50:30.574503
2020-07-15T15:46:49
2020-07-15T15:46:49
276,532,891
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from django.contrib import admin from .models import PenjadwalanProdi, PenjadwalanBAAK admin.site.register(PenjadwalanProdi) admin.site.register(PenjadwalanBAAK)
[ "divakrishnam@gmail.com" ]
divakrishnam@gmail.com
f9311c1afbc3f5b617fcd14c1e8ab7262aeba117
fb33ebb63b5b293eefbb7125532cc94269361df6
/prac_06/car.py
7804abf2224c6ecac18db3b8bc618c682bef199d
[]
no_license
Brendan-Hill-00/CP1404_Pracs
318ee76a103f98b5b78b9352e57d6ceb9cc85784
344d1bd73d63e759c4a241302562f2fecfea9190
refs/heads/master
2020-03-26T07:47:26.168018
2018-10-23T05:51:48
2018-10-23T05:51:48
144,670,916
0
0
null
2018-09-04T01:32:05
2018-08-14T05:03:42
Python
UTF-8
Python
false
false
954
py
"""CP1404/CP5632 Practical - Car class example.""" class Car: """Represent a Car object.""" def __init__(self, name="", fuel=0): """Initialise a Car instance. fuel: float, one unit of fuel drives one kilometre """ self.name = name self.fuel = fuel self.odomete...
[ "brendan.hill3@my.jcu.edu.au" ]
brendan.hill3@my.jcu.edu.au
08b5b79225c285027c5c22c3b2e35508d3c6dc76
247b63718b37a3cfdf08528f4724a2fd43f67100
/similarity matrix producer/similarity.py
d82aa13f50cef07a2cf47bb1b1c6a18a4e6c067f
[]
no_license
avaspataru/Dissertation
db70fe4998985c0dfc850ca5ded97dbec20410ad
8dbe9095dd66f2c31aa0ea4432831935d49f0470
refs/heads/master
2022-12-10T05:58:37.878487
2020-09-04T17:16:32
2020-09-04T17:16:32
155,190,087
0
0
null
null
null
null
UTF-8
Python
false
false
3,014
py
import numpy as np import pandas as pd from sklearn.preprocessing import scale def readData(fileName): fp = open( fileName, 'r') line = fp.readline() #ignore headers cnt = 1 array = [] while line: line = fp.readline() if line == "": continue qcnt = 0 #number of " ...
[ "ava.spataru@yahoo.com" ]
ava.spataru@yahoo.com
2b5b0f6b693cfac095904a5938f52e7ac20fcba1
24c14fa953f35eb23ead2a9b38547bd3ddafe841
/exercise_7/utils.py
9a134e82c56c99cec51c2b967ea229ebaff0db2b
[]
no_license
HaLamUs/machine-learning-coursera
ba79fec213091a9faf2bad0977a313eec431d3a0
e485f76daa8e9bea95a37425c6c53cd7d6c26bbd
refs/heads/master
2023-02-17T02:13:41.964492
2023-02-14T17:33:32
2023-02-14T17:33:32
249,435,919
1
0
null
null
null
null
UTF-8
Python
false
false
6,439
py
import sys import numpy as np from matplotlib import pyplot from matplotlib.animation import FuncAnimation import matplotlib as mpl sys.path.append('..') def displayData(X, example_width=None, figsize=(10, 10)): """ Displays 2D data in a nice grid. Parameters ---------- X : array_like The...
[ "itzlamz9x@gmail.com" ]
itzlamz9x@gmail.com
f3833dd3d59f4158a04d1bd6615ecb69f32df1f0
cc4cd41a51b8bd7ed8ae3e8eaa5020c04a2bb9e8
/main.py
74a8db44072d27d656ae647715230fd524a20ff5
[]
no_license
fatmaerciyas/restaurant-reservation
b32fadad13752332bcd21ba450501af968baa478
522bc2c315d7e93bdf28bf115f1a40070e116947
refs/heads/master
2022-10-24T12:08:34.424714
2020-06-13T17:26:49
2020-06-13T17:26:49
272,054,700
3
0
null
null
null
null
UTF-8
Python
false
false
27,087
py
import json bilgiler = dict() def musteri_ekle(): global bilgiler with open("ornek_dosya_icerigi.txt", "r", encoding="utf-8") as file: try: bilgiler = json.load(file) # dosyadan verileri çek ve 'bilgiler' sözlüğüne ekle except ValueError: ...
[ "noreply@github.com" ]
noreply@github.com
7c41c9497b4849dcb62f2a90fddadf53879e5b91
259cc507d97bfeff84d21de3a0ab56640676a9eb
/venv1/Lib/site-packages/tensorflow/python/estimator/canned/head.py
44c0a891298d270c410658bb4a603de4ff466789
[ "MIT", "Apache-2.0" ]
permissive
Soum-Soum/Tensorflow_Face_Finder
c3ef71b6f718f6720b80f8760d28b6ca6e11e6d2
fec6c15d2df7012608511ad87f4b55731bf99478
refs/heads/master
2020-03-22T20:31:39.606644
2018-07-12T13:47:56
2018-07-12T13:47:56
140,607,068
0
0
null
null
null
null
UTF-8
Python
false
false
61,632
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "pes.carceller@gmail.com" ]
pes.carceller@gmail.com
e59112aa5411caae42368ea3b747fbc042137c92
e6a53434fe18c6f4a9871dd8be9333e0f2800d0d
/redis_demo.py
49ec2212d905264d58d1015449b6624798bbd4cf
[]
no_license
13794521695/python_base
02754263f0f6d98bd46a54e8f7dc21c42a495c07
88469624d27d3f7790e4fbe7ec7d96be5ec8b46f
refs/heads/master
2020-04-07T13:31:08.857195
2018-11-20T15:30:06
2018-11-20T15:30:06
158,410,523
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
import redis # 创建连接 re = redis.Redis(host='192.168.237.131', port='6379', password='123456') ########### 字符串 # key value # re.set('py_name', '你好') # b ==> byte # print(re.get('py_name').decode('utf8')) 中文的话,需要解码成utf8, 不然会变成乱码。 # print(re.get('py_name')) # re.mset('s_name', 'which', 'age', 18) # 不行...
[ "704213848@qq.com" ]
704213848@qq.com
6f3ed7062a5c9335a152c8f552a54604184fda09
586767ee351748702c04b1dfa9d1d5377640cdc3
/evaluate.py
7e3a2b489519b70133cbe1cdb7718b7fd1d62f02
[]
no_license
timkambic/FaceRecognitionAndPresentationAttackDetection
e781b20d6329ae8108aaf25d5c28161d1ef5f692
fd76d1f76b8fdcc6138dc10d9e706a87d84512a1
refs/heads/master
2020-04-05T18:21:56.872758
2018-12-28T14:23:00
2018-12-28T14:23:00
157,098,833
5
0
null
null
null
null
UTF-8
Python
false
false
1,683
py
import numpy as np from sklearn.metrics import roc_curve, auc import matplotlib.pyplot as plt import argparse ap = argparse.ArgumentParser() ap.add_argument("-s", "--scores", required=True, help="numpy array with scores") ap.add_argument("-l", "--true_labels", required=True, help="true labels") ap.add_argument("-t", "...
[ "tim.kambic12@gmail.com" ]
tim.kambic12@gmail.com
4b45f7810f155b74596cdf39bc9d09a05fe545f6
4fe726c9fe9073f6f5774a0d0376389771f1aa06
/src/6_StrAndRe/9_strformat_startwith.py
f0ac1dda93342efff51dba6ee44c13de6fcc6a0c
[]
no_license
wangkangreg/LearnPython
3ebf8ac6f1e4e0a40873b37576b0db2de75f5219
59785b2caa36796c5c93f90c02630d5cfdc0d3f1
refs/heads/master
2021-01-10T01:35:38.204786
2015-12-03T07:18:01
2015-12-03T07:18:01
46,340,338
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
# -*- coding:utf-8 -*- ''' Created on 2015年11月11日 @author: Administrator ''' word = 'hello world' print 'hello' == word[0:5] print word.startswith('hello') print word.endswith('ld', 6) print word.endswith('ld', 6, 10) #False,不包括位置10 print word.endswith('ld', 6, len(word))
[ "wangkangs.smile@139.com" ]
wangkangs.smile@139.com
d1b78ac3b11c174a585c1148fdeb6c9e05f1caa4
b1cbace1dc6ad8519d983060ad0f974ccfd49560
/actions/O3E.py
dbb3d48ebfe1d2201ce01e9a09b974cedf9d642f
[]
no_license
saifilali/Crescendia
40665426f1952d329d2a709c2abdff578cfacc45
3eb6656ec53f6e8223baef2cc17ce37856123c26
refs/heads/master
2021-01-20T01:34:58.893394
2018-08-02T21:03:34
2018-08-02T21:03:34
89,301,645
0
0
null
null
null
null
UTF-8
Python
false
false
5,053
py
import argparse import pymysql import configparser import action_helper config = configparser.ConfigParser() config.read("/var/www/config.ini") sqlhost = config.get("configuration", "sqlhost") sqluser = config.get("configuration", "sqluser") sqlpassword = config.get("configuration", "sqlpassword") sqldatabase = config...
[ "saifilali@Saifils-MacBook-Pro.local" ]
saifilali@Saifils-MacBook-Pro.local
5d9bedd621589e37661167f4141544fdf25ba0ba
462385714beddead618fe0193a68685365793e5c
/Python/Python_Problems/Rosalind-master/036_KMER.py
27ad7ed199f2fa44d9af243b80a5829c416182b6
[]
no_license
0n1udra/Learning
7e3f83a3a1ed850cc476ef738c76759616d9e12e
69e656327c782465318db85abdee519e2f79dab0
refs/heads/master
2022-12-04T06:29:29.894406
2020-08-17T20:47:47
2020-08-17T20:47:47
73,001,058
2
0
null
null
null
null
UTF-8
Python
false
false
745
py
#!/usr/bin/env python ''' A solution to a ROSALIND bioinformatics problem. Problem Title: k-Mer Composition Rosalind ID: KMER Rosalind #: 036 URL: http://rosalind.info/problems/kmer/ ''' from itertools import product from scripts import ReadFASTA dna = ReadFASTA('data/rosalind_kmer.txt')[0][1] # Get a list of all 4...
[ "dxzt99@gmail.com" ]
dxzt99@gmail.com
5112b4e87a70c071052e9dc0329d0df3a393061f
98763b94e214d56806456a43b008ac3042fe97ad
/LinkedList.py
729de55824af51e30aa29ad2ee80a5a93fe76500
[]
no_license
sjshashank31/DSA-Using-Python
aedf19d9d78e59fe80548148430b717cba180e20
f5112e5a841c73b96f4be317b74274b1df050f8c
refs/heads/main
2023-05-04T09:44:51.642792
2021-05-17T12:49:23
2021-05-17T12:49:23
368,183,203
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
class LinkedList: def __init__(self): self.node = None def listPrint(self): l = [] node = self.node while node is not None: l.append(node.data) node = node.next return l def insertAtBeginning(self, data): # create a newnode with data ...
[ "noreply@github.com" ]
noreply@github.com
d86deeb04414323dde6f6b016d006bd60a386e97
477ed010c5c0154fa6d2f2fae05403da982c684f
/raas/http/http_client.py
da1096892cf36c200468d9d34c0b75162a88a311
[ "MIT" ]
permissive
fahimahmedmasood/raas-v2-sdk-python
37235f3460c21bf1f80d08ee6965a64d9d55f4dc
300b4649e945aecc761c6f25cdbf829ff951788b
refs/heads/master
2020-03-26T08:40:40.890471
2018-08-14T12:52:55
2018-08-14T12:52:55
144,714,917
0
0
null
2018-08-14T12:07:34
2018-08-14T12:07:34
null
UTF-8
Python
false
false
7,094
py
# -*- coding: utf-8 -*- """ raas.http.http_client This file was automatically generated for Tango Card, Inc. by APIMATIC v2.0 ( https://apimatic.io ). """ from .http_request import HttpRequest from .http_method_enum import HttpMethodEnum class HttpClient(object): """An interface for the me...
[ "git@apimatic.io" ]
git@apimatic.io
8b67ca6610cbc4bf66c2a1463e124df29e04d9bb
c3c864a8383b1b7fcb1a7f6743c82e1deb4b2b8b
/MyDjango/user/views.py
b9fbdcfecdceccdb1f9d44fa1b38f07f65e62849
[]
no_license
ytkz11/Playing-Django2.0
d7c2481737213f06923d60ab07f968034d7915b9
7232e376f6621e62974993056028f5a5d32ae819
refs/heads/master
2023-03-21T18:17:01.569154
2019-03-04T00:56:45
2019-03-04T00:56:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,526
py
from django.shortcuts import render, redirect from django.contrib.auth.models import User from django.contrib.auth import login, logout, authenticate # Create your views here. def loginView(request): # 设置标题和另外两个URL链接 title = '登录' unit_2 = '/user/register.html' unit_2_name = '立即注册' unit_1 = '/user/...
[ "39071564+tangerine122@users.noreply.github.com" ]
39071564+tangerine122@users.noreply.github.com
f2827e6f18278dc41439a58eb8e284eea0b23b2f
cfdf08cb9592760a1b676282b458e58779abb0dd
/20180103/zq805_tur_v5.py
52a83eceb88f46bfe7739529197dcad1b844ff5b
[ "MIT" ]
permissive
webturing/Python3
d830c22921fe1d1e6182e9481bcd0a930309f65c
6fcf6ee6cc5afba0225bd56e6928b01882eb9ecb
refs/heads/master
2021-06-12T13:13:44.421511
2020-06-28T11:56:01
2020-06-28T11:56:01
128,641,162
1
2
null
null
null
null
UTF-8
Python
false
false
4,741
py
# -*- coding: utf-8 -*- ''' zw_tur.py tur海龟策略 ''' import numpy as np import pandas as pd # zwQuant import zwSys as zw import zwTools as zwt import zwQTBox as zwx import zwQTDraw as zwdr import zwBacktest as zwbt import zwStrategy as zwsta import zw_talib as zwta # ======================= # ----策略函数 def...
[ "zj@ahstu.cc" ]
zj@ahstu.cc
9d676d7395968293c805875f15eb1dc736e81eb2
d27af9d58b91b8cd998ac0eb87d980d304ff0670
/Grand-Contest/AGC004/AGC004_D.py
030a7c23d767d81445f1a33236c56c006519f836
[]
no_license
mongesan/Atcoder-m0_ngesan-py
29dd79daab149003ffc8b6b6bad5fa2e7daa9646
6654af034d4ff4cece1be04c2c8b756976d99a4b
refs/heads/master
2023-08-20T19:50:04.547025
2021-10-27T12:24:51
2021-10-27T12:24:51
258,486,105
1
0
null
null
null
null
UTF-8
Python
false
false
9
py
#AGC004_D
[ "syun1.mongesan@gmail.com" ]
syun1.mongesan@gmail.com
34d8d98cd8234d0e633ad686d0b4fcf7e3530d30
2109f71920e7b5783ae0070b2629f2138dfb20c1
/tmp/demo/create_service.py
cecf74824b367d75266b18550eea3f261835c954
[]
no_license
caocheng7979/selenium_test
d2d214b9bd84ae43e3fd0afe7815ba97538f4e86
67de0d1183a54caf7b70d0790ca962d0cfc5a84d
refs/heads/master
2020-03-11T07:35:00.143023
2018-05-15T12:57:31
2018-05-15T12:57:31
129,860,567
0
0
null
null
null
null
UTF-8
Python
false
false
1,744
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sys import time import common def main(url): # login browser=common.login(url) # Let the page load browser.implicitly_wait(30) browser.find_element_by_css_selector('#li_topologyComp > span').click() browser.find_element_by_xp...
[ "caocheng@fujitsu.com" ]
caocheng@fujitsu.com
34419ff2a426f39a2c5fcf8d970df3a306bcab8c
532964fa286f0ffd9a6d1ee5efad313fa91bcbc3
/core/main.py
31558605d9168029285351ae6d5949cd265f520c
[]
no_license
dalzymendoza/python-repo-template
39268a05419daba312fc7b818cafa18927920175
afea892810e7ade2bdc2773b9a16cee8c633d517
refs/heads/main
2023-02-03T00:03:01.382643
2020-12-22T04:08:31
2020-12-22T04:08:31
323,513,858
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
def main(): print("Hello World") return 0 if __name__ == "__main__": main()
[ "dalzyeulamendoza@gmail.com" ]
dalzyeulamendoza@gmail.com
7a692e40b1fd5219c7accd3ce76fc3dad4deb111
0f07b4ae2557578dcc4fd96048930aa79b56736e
/gpe_mcmc_tools/priors.py
a7a0a497edb8719a36cdac1225ad45b4dcfaf533
[]
no_license
swarder/GPE_MCMC_tools
8b661dd2a02f7ba863a475a54c9b309f34076ff2
eba4c34d10c81534125ec9ab2670b72e01e5b029
refs/heads/main
2023-05-06T21:37:47.734892
2021-05-26T16:17:15
2021-05-26T16:17:15
338,350,920
0
0
null
null
null
null
UTF-8
Python
false
false
1,645
py
import numpy as np class Prior: """ Base class for priors """ def __init__(self, log=False): self.log = log def evaluate(self, x): """ Evaluate prior in non-log space""" pass def evaluate_log(self, x): """Evaluate prior in log space""" p = self.evaluate(x) if p == 0: return -np.inf else: re...
[ "s.warder15@imperial.ac.uk" ]
s.warder15@imperial.ac.uk
0efd0348cc1782a86ccfa09781d30cca1fe25e65
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/55/usersdata/103/23187/submittedfiles/av2_p3_civil.py
4f8ae6b97b467691b490965b5681026eb0e327a2
[]
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
550
py
# -*- coding: utf-8 -*- from __future__ import division import numpy as np linhas=input('Digide a dimensão da matriz:') colunas=linhas x=input('Digite a linha que contém a célula em questão:') y=input('Digite a coluna que contém a célula em questão:') a=np.zeros((linhas,colunas)) for i in range(0,a.shape[0],1): for...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2e506c50df709df29fe6ff6d203aaa9cb0127915
c9e8089d2dfd7e6fd207388c149645a509d03762
/users/serializers.py
c31feb779821ce08f047978c7b454d2143abe428
[]
no_license
fahad1226/Fahads-Blog
c554d7c06433dccbb5140bc0e55d80e6733155eb
e0ed2e5798e34788e70dd799a2208ba006ac4bf9
refs/heads/master
2020-05-15T15:04:43.552455
2019-04-20T06:09:15
2019-04-20T06:09:15
182,358,393
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
from django.contrib.auth import get_user_model from rest_framework import serializers from django.urls import reverse_lazy User = get_user_model() class UserDisplaySerializer(serializers.ModelSerializer): follower_count = serializers.SerializerMethodField() url = serializers.SerializerMethodField(...
[ "noreply@github.com" ]
noreply@github.com
26fa565e2057c6211af8a22ed06099b2f55222c3
0d73194c6fc5aedb0a7bcecc4dd551746139d174
/tools/CameraCapture.py
1464a6abf98b41dd26c477173eee9943497d5352
[]
no_license
t109368038/Specail_topic
c4474bbfc662b9326541ce95fca1b7893c7b5656
cfea70cac25682b10a6bfaf1307e6cecd7735a98
refs/heads/master
2023-05-02T06:51:00.541011
2021-05-19T10:44:47
2021-05-19T10:44:47
368,833,733
0
0
null
null
null
null
UTF-8
Python
false
false
2,895
py
import cv2 import threading as th import time import mediapipe as mp import sys class CamCapture(th.Thread): def __init__(self, thread_id, name, counter, th_lock, cam_queue=None, save_queue=None, status=0, mode=0,mp4_path=''): th.Thread.__init__(self) self.threadID = thread_id self.name = ...
[ "75005730+t109368038@users.noreply.github.com" ]
75005730+t109368038@users.noreply.github.com
06f41b4f9db3b0d72109d8dbbfaa840b8c33c73e
690759d4fa4e5c66d89cd72dea84036a022ee745
/saxo/spiders/spider.py
f61a43ba38ef5396b52ef63a4c5f12a20d242acb
[]
no_license
SimeonYS/saxo
a2810f661c8ac7bb92986dad192b7f65553dd216
570ca7431b81f0edc0cd4189311900de076ebf83
refs/heads/main
2023-03-21T12:00:36.768452
2021-03-05T08:59:54
2021-03-05T08:59:54
344,751,795
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
import re import scrapy from scrapy.loader import ItemLoader from ..items import SaxoItem from itemloaders.processors import TakeFirst pattern = r'(\xa0)?' class SaxoSpider(scrapy.Spider): name = 'saxo' start_urls = ['https://www.home.saxo/about-us/press-releases'] def parse(self, response): post_links = respons...
[ "simeon.simeonov@ADPVT.com" ]
simeon.simeonov@ADPVT.com
12c8ac23f61c67f952c29319a037c8df56823a73
4500172cf203b078bd1826062821af16018747ee
/project/staff/migrations/0009_auto__add_field_aimtransaction_transaction_type.py
e9cf52cfec33962500d863ca0e268b48223c4a83
[]
no_license
chrisblythe812/gamemine
726ad338279a80676eee9693a6ecc6bfca5eaf13
7c3acc39a24c38ae2ee06b71104a24cfbbde8453
refs/heads/master
2020-04-05T22:53:46.622902
2012-01-26T00:50:28
2012-01-26T00:50:28
3,269,945
1
0
null
null
null
null
UTF-8
Python
false
false
7,724
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'AimTransaction.transaction_type' db.add_column('staff_aimtransaction', 'transaction_type',...
[ "christopher.ratha@gmail.com" ]
christopher.ratha@gmail.com
978c0dd3aaec7962333cd38cc22995d9eb6f0e50
7d6a5d79fb1443b019bf135ade812e504e2e9a9c
/match_flann_orb.py
724425aeea1ab2edc88af2b97a0605aee94583ab
[]
no_license
tdrops/opencv
154a97d5a9ff394a2df6b67ef81112029185e67a
76fb94cfbb7746b6db3603ba1594a5876bc8376d
refs/heads/main
2023-06-28T11:32:23.556429
2021-08-03T05:59:35
2021-08-03T05:59:35
380,880,551
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
""" opencv 출처 제목: 파이썬으로 만드는 OpenCV 프로젝트 저자: 이세우 출판: 프로그래밍인사이트 """ """ 요약 [예제 8-18] FLANNMatcher 와 ORB 로 매칭 """ import cv2 import numpy as np img1 = cv2.imread(filename="../img/taekwonv1.jpg") img2 = cv2.imread(filename="../img/figures.jpg") gray1 = cv2.cvtColor(src=img1, code=cv2.COLOR_BGR2GRAY) gray2 = cv2.cvtColo...
[ "69343375+tdrops@users.noreply.github.com" ]
69343375+tdrops@users.noreply.github.com
604d167ee22f327db5a232ca5cfcf97e45146276
32114bed9535bcecf4c05f6a3546dbd95fc1b57a
/logdog/roles/formatters/base.py
a72420564f7fabfd44fd8e34f2a49e5314b7153c
[]
no_license
miphreal/python-logdog
8bd6e4067d73deecd7e2fe1debdeb6e007ef3b55
44194b199f1906a156aa15bb97a40bb8b13f3d52
refs/heads/master
2020-05-18T04:42:08.143627
2015-07-04T23:12:09
2015-07-04T23:12:09
30,718,313
19
1
null
null
null
null
UTF-8
Python
false
false
197
py
from __future__ import absolute_import, unicode_literals import logging from logdog.core.base_role import BaseRole logger = logging.getLogger(__name__) class BaseFormatter(BaseRole): pass
[ "miphreal@gmail.com" ]
miphreal@gmail.com
caf749c110411a6f35abe9cdfac7b7aea7d76df8
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/grorumaEjyFDmZQCx_8.py
fe3acccd6fdd436692863a4d9ddb364c77a9a3e9
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
def is_wristband(lst): a = check_horizontal(lst) b = check_vertical(lst) c = check_left_diagonal(lst) d = check_right_diagonal(lst) ​ if (a+b+c+d>0): return True else: return False def check_horizontal(lst): for i in range(0,len(lst)): for j in range(0,len(lst[i])-1): if(lst[i][j] !=...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
9ff96557e800b32b0ff952b4c19545cc2d773048
fc81adee79f12d06e65283c1cb276e49292cc214
/myquora/urls.py
835bcf80b36713529715224f9a17829af550e8fc
[]
no_license
Joy-Cse/Q-A-forum-for-exam-preparationweb-app-like-quora-in-Django
335d1ac3733a365f0d515cd170b819c7fd0685ea
11476a58439bc4ab724cb95856440ec2a2c73fb4
refs/heads/master
2022-12-19T02:14:00.247944
2020-09-22T11:13:11
2020-09-22T11:13:11
297,620,207
1
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('question/add/', views.QuestionCreate.as_view(), name='question-add'), path('questions/', views.QuestionListView.as_view(), name='questions'), path('answers/', views.AnswerListView.as_view(), nam...
[ "joychakraborty441@gmail.com" ]
joychakraborty441@gmail.com
6303afc4ff3f1b115da67e485f03d84430a0e26a
492e2bed8aaee614c37811fe99fa11b31cf858ca
/ship.py
393394b86291b7d931389b313af747be514dea6d
[]
no_license
foxyol/Cat_alien_invasion
93e5358a357b790ec6e2dcfb73a42ec6a4221ab4
2b100750d696a24b4aa3aa2a598e64a3bd20a6a8
refs/heads/master
2022-12-22T10:54:35.331762
2020-09-20T19:27:55
2020-09-20T19:27:55
294,505,419
0
0
null
null
null
null
UTF-8
Python
false
false
1,854
py
import pygame from pygame.sprite import Sprite class Ship(Sprite): ''' Класс для управления кораблем''' def __init__(self, ai_game): '''Инициализирует корабль и задаёт его начальную позицию''' super().__init__() self.screen = ai_game.screen self.screen_rect = ai_game....
[ "noreply@github.com" ]
noreply@github.com
80b153cbb7ed5da530a851223186462c4bdc392c
4e3518947811d63025a18f5ed96081aa82fe1da1
/getpaid/wiretransfer/tests.py
0efe16f594b22070cea395402e140340f3dded74
[]
no_license
collective/getpaid.wiretransfer
d8d8af1c3a273c1711c8946a3c00ef27cd7311c7
e6f87ee286d07fa446a4bcaa955e2091aacc7276
refs/heads/master
2023-08-24T23:45:03.992203
2009-11-14T12:57:22
2009-11-14T12:57:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
import unittest from zope.testing import doctestunit from zope.component import testing from Testing import ZopeTestCase as ztc from Products.Five import zcml from Products.Five import fiveconfigure from Products.PloneTestCase import PloneTestCase as ptc from Products.PloneTestCase.layer import PloneSite ptc.setupPlo...
[ "mikko@redinnovation.com@5c657d5f-f92f-0410-bf4e-417a11dd3c0b" ]
mikko@redinnovation.com@5c657d5f-f92f-0410-bf4e-417a11dd3c0b
bb55fecab0a1fc36dfb41251345cbbc5e4f4a6d8
7a9e7fb91b344983cf2a986d60cddb49b348ba5a
/image/img_client.py
141bc13c7cd300007d1dbc43a608bdf9318a2ac4
[]
no_license
ivantrw/client---server
5d9463813f85ff399c12876c896ddd6888c5f06b
0396d9b8174fc7a76cbfc19c33293037019bde00
refs/heads/master
2022-07-30T17:08:03.790985
2020-05-20T06:59:11
2020-05-20T06:59:11
265,478,829
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
# A very simple Flask Hello World app for you to get started with... from _future_ import print_function from flask import Flask import requests import json import cv2 app = Flask(_name_) @app.route('/') def hello_world(): addr = 'http://ivanserver.pythonanywhere.com/' test_url = addr + '/api/te...
[ "noreply@github.com" ]
noreply@github.com
90ca5761541b1fa1bb8c2f881a15e991a3e39327
39cb4512737bafa6e6c8b33834420c4a3cbd0617
/tools/readable.py
bd64fa99c5ec7a8b8368584c5b97c237090e7e2e
[]
no_license
byui-cse/cse111-course
e691ab311ddf1880c3a8dc1d36b8affd6e30cb6c
113fcbcd545a03407d217ba33df482cca94ef2bb
refs/heads/master
2023-05-24T19:24:54.882191
2023-05-19T20:24:33
2023-05-19T20:24:33
215,662,254
4
8
null
2023-05-19T20:20:11
2019-10-16T23:26:14
HTML
UTF-8
Python
false
false
4,238
py
import os import os.path as path import re import sys import readability def main(argv): argv.pop(0) if len(argv) == 0: argv = ["."] if len(argv) == 2 and path.isfile(argv[0]) and path.isfile(argv[1]): srcpath = argv[0] dstpath = argv[1] measure = measure_file(srcpath, ds...
[ "barzeer@byui.edu" ]
barzeer@byui.edu
03a23ef5796f720ff8f501a87a913af9728598fc
e2bd39106992b592de686e5bd79002edc05cc8bc
/429-N 叉树的层序遍历/LevelOrder.py
add08fd51114e2c7edf52a4c81ce76d29533ee4c
[]
no_license
Mumulhy/LeetCode
9b8ad3af9f9a3b838bdd54727cf8f33401292d27
269419ba2a2840fcf100fa217c5275029ffa229e
refs/heads/master
2022-10-28T23:06:54.081073
2022-10-23T07:48:49
2022-10-23T07:48:49
212,135,892
3
1
null
null
null
null
UTF-8
Python
false
false
715
py
# -*- coding: utf-8 -*- # LeetCode 429-N 叉树的层序遍历 """ Created on Fri Apr 8 10:18 2022 @author: _Mumu Environment: py38 """ from typing import List # Definition for a Node. class Node: def __init__(self, val=None, children=None): self.val = val self.children = children class Solution: def l...
[ "1043994188@qq.com" ]
1043994188@qq.com
ff3266e467c727ae0981e545f66227850fd75da1
3dc393ba07cfb57cdb1efbcd3824817a1bed9eb6
/src/my_package/todelete/functions/functions_pytorch0.2/InterpolationChLayer.py
f840fb7931113fd513ee4553899655db90cd63d4
[ "MIT" ]
permissive
laomao0/AIM_DAIN
c7ebf96db7b8b305d6574bc2252a7ca10ab2fc95
8322569498d675d3b2c1f35475c1299cad580bde
refs/heads/master
2020-07-23T07:34:51.043470
2019-09-10T13:20:58
2019-09-10T13:20:58
207,486,949
4
0
null
null
null
null
UTF-8
Python
false
false
3,129
py
# this is for wrapping the customized layer import torch from torch.autograd import Function import _ext.my_lib as my_lib #Please check how the STN FUNCTION is written : #https://github.com/fxia22/stn.pytorch/blob/master/script/functions/gridgen.py #https://github.com/fxia22/stn.pytorch/blob/master/script/functions/st...
[ "shenwang@sjtu.edu.cn" ]
shenwang@sjtu.edu.cn
6d273cadf77a130f8e83404e3653ad01bb4cae41
455cad4ee469c82f0f7f07e4f9964e72b5d8db59
/formatForKeepass_Objects.py
490f8406b93d584624fe8ab7375f6a7690b391fe
[]
no_license
RobertoChapa/Kaspersky_Keepass_import
0114eb7732619c048c5df0a70bc8aac97c54afa3
5651ea91a4b3758120b2257eb7fc71250a18e30d
refs/heads/main
2023-01-14T05:38:14.207872
2020-11-23T21:14:13
2020-11-23T21:14:13
315,440,970
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
""" Bobby Chapa 11-5-2020 Format for keepass """ # format output for keepass. returns text file read for import by keepass class formatForKeepass: def __init__(self, read_timport): self.read_timport = read_timport # input output file stream. writes, reads, or appends to text file # ar...
[ "noreply@github.com" ]
noreply@github.com
b928a2599f378c149035d2366e023ce00be56d7c
99f30c49517d39e3695bdc287aa91e3150342ac4
/OpenAi-Gym/Basics/Basics_Reward.py
a57f2086e7c414aec3209b39aa10b14cd2150fcf
[]
no_license
Pavankunchala/Python
ab2c4786a60e66cd885a4ee257c5baf3ecba123f
0c6e542ac14bab1b8345fc2ac869eea8e11f1b8d
refs/heads/master
2020-08-01T01:46:08.167599
2020-05-27T04:54:40
2020-05-27T04:54:40
210,816,859
1
1
null
null
null
null
UTF-8
Python
false
false
715
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jan 31 12:32:06 2020 @author: pavankunchala """ import gym #creating the environment env = gym.make("CartPole-v1") env.reset() #Play 10 games for i in range(0, 10): #initalizing the variables done = False game_rew = 0 while no...
[ "pavankuchalapk@gmail.com" ]
pavankuchalapk@gmail.com
332a75d5d3398638a690352b60ebc299c77435f9
b0653128bc312878778f1392fdda26eab454901f
/Challenges/chall_04.py
70f3a7f653b75675784b18413b89607c45cdcf13
[ "MIT" ]
permissive
HKuz/PythonChallenge
aef9df8e02e9e2710a8d7c3f77dba5890d16e063
e9d72616aa389483cab710bca3bccf708c0f99e0
refs/heads/master
2021-01-21T15:44:54.367043
2018-12-04T23:44:30
2018-12-04T23:44:30
91,855,491
0
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
#!/usr/local/bin/python3 # Python Challenge - 4 # http://www.pythonchallenge.com/pc/def/linkedlist.html # http://www.pythonchallenge.com/pc/def/linkedlist.php # Keyword: peak import urllib.request import re def main(): ''' html page shows: linkedlist.php php page comment: urllib may help. DON'T TRY ALL N...
[ "heather.kusmierz@gmail.com" ]
heather.kusmierz@gmail.com
f1a76ee4f36025e73c4d4a367b9438d92d130164
4fa9c8ae53e13784d5602d97aa223cb2c904c213
/Sliding Window/Longest Substring with maximum K Distinct Characters (medium)/solution.py
bc8555fe6a983694c07432709e179b966b4cb23b
[]
no_license
rykumar13/problem_solving-
e32c6f9a4d18fc53f2e37319fb0a6cd825d780f2
35e0c4a9c0b10bfefd83e0205fcd9a28c4c4d9d7
refs/heads/main
2023-07-23T11:02:20.435390
2021-08-27T16:30:05
2021-08-27T16:30:05
397,321,455
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
def longest_substring_with_k_distinct(str1, k): window_start = 0 char_count = {} longest_window_sofar = 0 for window_end in str1: if window_end not in char_count: char_count.update({window_end: 0}) char_count[window_end] += 1 while len(char_count.keys())...
[ "rykumar13@gmail.com" ]
rykumar13@gmail.com
6ef05a8b7d726e1033756a873bcf34f33297c403
49b43859c65a0a32ddedd5c19eec30be37423b17
/test/unit/test_lr_scheduler.py
d94a55e850df7d92b1227f6589ce5854438ca91b
[ "Apache-2.0" ]
permissive
KellenSunderland/sockeye
665b9bccc7e4cacb70c28c21dc46adc4514b83dd
23a6fd3f3614f935fc9f5588eee2ca507aba3b20
refs/heads/master
2021-01-01T19:17:03.911163
2017-07-27T15:27:08
2017-07-27T15:45:09
98,554,080
1
0
null
2017-07-27T15:43:21
2017-07-27T15:43:21
null
UTF-8
Python
false
false
1,120
py
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not # use this file except in compliance with the License. A copy of the License # is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
[ "fhieber@amazon.de" ]
fhieber@amazon.de
340bf8ec998fe6a67518036364be5978b887cf81
83003007b7bc12493e2bca2b5c78be5ea86df56c
/Day56-Day70/Day57/shape.py
5ecbd3f55132627ccb0aa7fca7c2378a713dbdcc
[]
no_license
a6361117/code
fa7fe2f33c522ad38d92e6c429b50ef8a271bb1e
bd8bf877416acc5400dbda90212b7e83020ff643
refs/heads/master
2022-09-07T22:22:24.765271
2020-05-26T14:27:47
2020-05-26T14:27:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
import turtle sides=int(input('enter the number of sides:')) angle=360.0/sides length=400.0/sides turtle.fillcolor('blue') turtle.begin_fill() for side in range(sides): turtle.forward(length) turtle.right(angle) turtle.end_fill() turtle.done()
[ "46365521+Becky-nuo@users.noreply.github.com" ]
46365521+Becky-nuo@users.noreply.github.com
ef9bcffbb4f3daa7e4edb6dbf073902ecc54e597
cbbbd77bc292287003e622a8ff9231070364fb9b
/Users/migrations/0003_remove_articles_click_num.py
941cf01563c0fd2e8e31daddb65d777c4fb36f92
[]
no_license
NicoNicoDouban/Douban
b62d62de8269c206a02b3b7de6694b50c4f0b113
951bdc2b2bfd5b73db06209b7f50b9e4f5994502
refs/heads/classes
2021-04-09T17:57:51.708536
2018-03-21T13:28:41
2018-03-21T13:28:41
125,724,814
0
1
null
2018-04-02T09:20:24
2018-03-18T12:54:32
Python
UTF-8
Python
false
false
394
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-03-17 00:25 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Users', '0002_auto_20180317_0810'), ] operations = [ migrations.RemoveField( ...
[ "332756109@qq.com" ]
332756109@qq.com
caff3311e78445f44ab4fc68b41dd9ce624974ac
87cecfcdcbae7fa42a5a9dc9c4e56ce4b5ee0645
/openstackM/OM/apps.py
a5cba4b4c394ac2da5b948500522338d451e9b25
[]
no_license
pinzBro/Django-for-openstack-services
a79afba24b1795bdb1c0d20cfcf690053f640ade
dcb4b1e5bf5356c1a124d1899a7f30328a7cc8b0
refs/heads/master
2021-10-19T04:38:01.595104
2019-02-18T05:47:48
2019-02-18T05:47:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
from django.apps import AppConfig class OmConfig(AppConfig): name = 'OM'
[ "2663480697@qq.com" ]
2663480697@qq.com
97075b6a6a696ee1e610f9344173a920d147eac9
793b45444a35ac762ebba1f7145aa4137efd0ef2
/iscsi_initiator/scandev.py
504644e54ac174ffd10e238c6b63cafe88eb2c5c
[ "Apache-2.0" ]
permissive
MatheMatrix/SoftSAN
aa6165b178c20868e877407b1be53b4496981018
1b8ab2cae92b7aac34211909b27d4ebe595275d7
refs/heads/master
2020-09-24T04:09:33.789116
2014-09-22T06:43:10
2014-09-22T06:43:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
import os # the blockdevice information about a target # can be found in directory'/sys/class/iscsi_session/' # # iscsi_session # | # ----------------------------- # | | ..... | # session1 session2 ..... sessionN # |---------- # | | # device targetname #here chec...
[ "yongchuanli@gmail.com" ]
yongchuanli@gmail.com
0751150ee28930c1d6705eb9e3833545c8d89bba
df6af3eb8800c8d417dec2025af5dc154c7d23ac
/python/day2.py
240af16b046ffe0e15d0f014e858ff3e2a45e87d
[]
no_license
aravindsbr/GraduateTrainingProgram2018
e8e7f213f43da16de1ab87d1e65be5091443be1f
c374f7d2082ba92d40a0700a28c860f4c5bb2b93
refs/heads/master
2020-03-27T21:36:18.594429
2018-10-04T06:44:59
2018-10-04T06:44:59
147,160,502
0
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
""" # 1) inventory = { 'gold' : 500, 'pouch' : ['flint', 'twine', 'gemstone'], 'backpack' : ['xylophone','dagger', 'bedroll','bread loaf'] } # qn 1 inventory["pocket"]=[] print(inventory) # qn 2 inventory["pocket"]=['seashell', 'strange berry','lint...
[ "noreply@github.com" ]
noreply@github.com
61bd7217fb13a193f920eb71fa014833220a44a0
2da68c7c34b19f6086c82e187a541a112e49bf91
/src/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/config.gypi
63cfd5ebcf7ab6860c30292b251d339af6940579
[ "MIT" ]
permissive
nuzelac/zavrsni
ad227514adef1baea35e1645734dbad47a6ab6fc
da2e488ba119a92012501c719ad8f04295f04378
refs/heads/master
2021-01-18T14:06:23.250395
2014-06-08T22:38:58
2014-06-08T22:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,055
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "uzelac.nino@gmail.com" ]
uzelac.nino@gmail.com
d6c55808982af7175dff9bb53cc42a74d57ef574
f842e97b92f1e56354fe412e84ed86dc5b96af11
/deoldify/utils.py
f2ae407d4b020e12f7c897c57959017781ece681
[ "MIT" ]
permissive
teejs2012/DeOldify
c1af30f256bdbcee1bde5bed59a7a6654f6173f0
3aa97d2ad4f293dfe2e44f115beae425d9157c68
refs/heads/master
2022-11-29T21:01:58.277172
2020-08-12T08:31:09
2020-08-12T08:31:09
269,106,950
0
0
MIT
2020-06-03T14:15:44
2020-06-03T14:15:43
null
UTF-8
Python
false
false
4,224
py
import random import numpy as np # from skimage.measure import block_reduce import cv2 from PIL import Image import os def mini_norm(x): y = x.astype(np.float32) y = 1 - y / 255.0 y -= np.min(y) temp = np.max(y) if temp>0: y /= np.max(y) return (255.0 - y * 255.0).astype(np.uint8) de...
[ "teejs2012@gmail.com" ]
teejs2012@gmail.com
51e417701a68ede865d60f6a5c4e6cc84ef5d56b
5a281cb78335e06c631181720546f6876005d4e5
/senlin-7.0.0/senlin/api/openstack/v1/webhooks.py
06fdf36a4269553ce0d9c367326b9dc133fdc167
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
1,976
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed unde...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
164a9e59f5de5e0e83c9c2b467c583b578612e3b
aedd5f417a49d61799ff35984419e5fee50b67a0
/NST-laplacian/NST_lp.py
223ce2eb8766e1d593e573ab54d54808d373fb26
[]
no_license
maxencealluin/NST
74ce96a3cc4ea25dd9240d5c539afe12be3920ee
d818f8ed00b3b0fffc2e315e7edc39b521f4bf4a
refs/heads/master
2020-05-31T15:33:56.772551
2019-06-24T09:38:18
2019-06-24T09:38:18
190,359,792
0
0
null
null
null
null
UTF-8
Python
false
false
15,052
py
import copy import os import sys import time import argparse import matplotlib.pyplot as plt import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torchvision import torchvision.models as models import torchvision.transforms as transforms from PIL impo...
[ "ma.alluin@gmail.com" ]
ma.alluin@gmail.com
286c7731d8f8b34e7e7b66859dbdceddead2240a
9b01f7d430f7ee87217618cfa4567f42635e8923
/22-06-2017/cloudformation/nginx-demo-1/ansible/.env/lib/python2.7/site-packages/ansible/plugins/lookup/sequence.py
677d15319af9893132e24c8017e01a2a18639c86
[]
no_license
awsusergroupsantiago/demos
ccb045545d2a407a39d865cf19800d2b6d284b8f
e7f0dc8d9a4e8f2547c33a5a294fd76bf3ac9c9c
refs/heads/master
2022-04-30T23:43:30.646556
2020-08-08T01:35:40
2020-08-08T01:35:40
95,129,959
2
0
null
2022-03-29T21:54:09
2017-06-22T15:29:25
Python
UTF-8
Python
false
false
7,113
py
# (c) 2013, Jayson Vantuyl <jayson@aggressive.ly> # # 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, or # (at your option) any later v...
[ "eduardo.miranda.becerra3@gmail.com" ]
eduardo.miranda.becerra3@gmail.com
451282af5adab19e1e4c182523f7cc39af24bd1b
8034b64a63e9c23e255a2171cd441512b60a8316
/tasks.py
a3083f5a3b60dc8bc5418966c39c7972fd920447
[ "MIT" ]
permissive
Design-Machine-Group/compas_roomacoustics
bb1e90bc5f0764209c44fc71831db101b90bc5a5
1eb166fa56a636222d985b542f5ce4cc4453ce62
refs/heads/master
2022-12-12T03:07:29.243427
2020-08-25T17:48:08
2020-08-25T17:48:08
210,474,746
2
0
null
null
null
null
UTF-8
Python
false
false
5,988
py
# -*- coding: utf-8 -*- from __future__ import print_function import contextlib import glob import os import sys from shutil import rmtree from invoke import Exit from invoke import task try: input = raw_input except NameError: pass BASE_FOLDER = os.path.dirname(__file__) class Log(object): def __ini...
[ "tmendeze@uw.edu" ]
tmendeze@uw.edu
b48812a7cf6c9c96ef3032fea5de658e810a739d
6527c6f9e0e3c81090a87894e1f9759d3ad9ca3e
/main_app/apps/delivery/delivery_exceptions.py
3d0f1b6d469473870daf72f0eef318dd6684b4bd
[]
no_license
worlddeleteRin/eda_edet_backend
7692611facc191b5a987dcc6a98b3c1e27ab1cff
593a77bcc8f9619b9db6e99c92b2880716b450e3
refs/heads/master
2023-08-24T03:38:34.809418
2021-10-29T15:21:38
2021-10-29T15:21:38
405,609,561
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from fastapi import HTTPException, status class DeliveryMethodNotExist(HTTPException): def __init__(self): self.status_code = 400 self.detail = "DeliveryMethod not exist"
[ "worlddelete0@gmail.com" ]
worlddelete0@gmail.com
4526c354576f6fc27aea54a02a8cf7891d6e97a3
dc7daedfaa6207380873a5243888cc8dc9b410c4
/CataractProject_New/InformTable/migrations/0005_auto_20190923_0922.py
9200708197aa2fb151ad6e5049aee74f774a7725
[ "MIT" ]
permissive
Pangxiaox/Cataract-Platform
bd25ca897be8e333a34a05c70e91cb612e34c187
605293093f8a9c28b33e29ab4253f8e5c407788f
refs/heads/master
2020-07-15T08:33:35.589392
2019-11-04T16:53:25
2019-11-04T16:53:25
205,521,190
0
2
null
null
null
null
UTF-8
Python
false
false
949
py
# Generated by Django 2.2.5 on 2019-09-23 01:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('InformTable', '0004_auto_20190922_2231'), ] operations = [ migrations.AlterField( model_name='eyeexamine', name='lef...
[ "517486387@qq.com" ]
517486387@qq.com
5fe18f1d52089d6f4a506a552bc32aadb587f980
ed73bdb29c31f776fe22f7cae545b03084515bc2
/stack_usingLL.py
102dead96b9f53104ffcc4eff9ab9ebc9d2bc8ac
[]
no_license
pratiyush23/lecture0
8eca4d8ce22de717a01a72be5b4fb1511a8c46e7
0ad901bdce37cfbf0c6d3df5fbee5dcd628cda37
refs/heads/master
2021-05-23T08:16:00.913054
2020-12-25T12:45:44
2020-12-25T12:45:44
253,193,358
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
# class to create new node class Node: def __init__(self,data): self.data = data self.next = None #class to implement stack class stack: # to create stack using LL, need to intialise head def __init__(self): self.__head = None self.__count = 0 def push(self,element): ...
[ "23pratiyush@gmail.com" ]
23pratiyush@gmail.com
7fcee8f82bd039ff027fc4ed9a2739cd4af5e95b
fb4bdb96dc895fe3d0d59e8087682499446d3338
/lab7/demoo/asgi.py
3c5792859cf22232d77073fd9f0fa01deef08ed1
[]
no_license
aiddana19/web
649fe21880a761bab7a7c008c71352c601970c9b
3554f2ea7397a1a2ef67c5e2258ba138f1964923
refs/heads/main
2023-04-06T21:11:56.891931
2021-04-14T21:27:50
2021-04-14T21:27:50
336,527,788
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for demoo project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('D...
[ "noreply@github.com" ]
noreply@github.com
be0e4151b1eef7e095765d3b69de5b4a280c88ab
7207c610f771a20c7afd4e5e48ba79156ac621a9
/MultiObjectiveModel_YMPNet_Pavan/genrate_3dmodel/nwrite_ply_seg.py
4794a4e5ccd85b609b3301199aef1831635f7611
[ "MIT" ]
permissive
eva5covergence/EVA5_AI_Projects_new
56694909da2a057f85f47ebce0d04217a730f8c5
7052373c52b6b9901cd0bc05a4758dd4b63f7480
refs/heads/master
2023-01-22T11:40:14.236296
2020-12-06T18:09:56
2020-12-06T18:09:56
293,308,541
7
3
null
null
null
null
UTF-8
Python
false
false
7,853
py
import os import cv2 import random import numpy as np from PIL import Image from distutils.version import LooseVersion from sacred import Experiment from easydict import EasyDict as edict import torch import torch.nn.functional as F import torchvision.transforms as tf from models.baseline_same import Baseline as UNe...
[ "nagapavan.kalepu@gmail.com" ]
nagapavan.kalepu@gmail.com
9766f5ae5551f7b344ac55fbab96416af2689fc8
0bcf4b5027080223031b3c697408cedd7798afaa
/common/xrd-ui-tests-python/tests/xroad_audit_log/XroadAuditLog.py
3d0ad6aac1fad359d20d0a1adc0d4f58c919f9e3
[ "MIT" ]
permissive
asaquality/X-Road-tests
0fbfcf64a41ff4bc23f0083e35f834fab951ae24
51208cb7b06619f391c881e938a270c11ff00fab
refs/heads/develop
2021-01-15T23:20:55.096511
2018-06-13T13:28:06
2018-06-13T13:28:06
99,924,513
0
2
null
2017-08-10T13:11:48
2017-08-10T13:11:48
null
UTF-8
Python
false
false
3,303
py
# coding=utf-8 import unittest import tests.xroad_audit_log.audit_log as audit_log from main.maincontroller import MainController import json import sys class XroadAuditLog(unittest.TestCase): """ Stand-alone test for checking X-Road audit.log after running tests that generate log entries. Ge...
[ "mardu@varuosakeskus.ee" ]
mardu@varuosakeskus.ee
3b830d17f916075a8bf9d0a4962c5d1436ba5103
3ae34c59cf0a0eb1ad02fc89bfa69acf32e3a581
/code/utils/patch.py
d712cf7090aea1f399b5f8342817551a8199d278
[]
no_license
hyliang96/pytorch_template
883b06658521ca214a2ee7a74cf2227cf1d26047
3031e812b9e1bab5955256cb21d303ae6d5f7ffc
refs/heads/master
2021-07-10T09:47:24.610579
2020-11-08T20:24:03
2020-11-08T20:24:03
203,366,515
4
1
null
null
null
null
UTF-8
Python
false
false
343
py
# __all__ = ["_tqdm", "_meter", "_state_dict", "_misc"] # from ._tqdm import * # from ._meter import * # from ._state_dict import * # from ._misc import * # from _tqdm import * # from _meter import * # from _state_dict import * # from _misc import * from . import _tqdm from . import _meter from . import _state_d...
[ "hyliang96@hotmail.com" ]
hyliang96@hotmail.com
8114a5dbf8b1606bf1387ec8f8939d36c5ea1eaf
1abb5ab0580d69b11d1688424adf1e624c554a7a
/gitdemo/wsgi.py
3ce89c28f219afa3c2dab7cad42bdda0fc01776a
[]
no_license
wzw5566/gitdemo
2994e768168f840cf9bb4e19a32ef49025fdde14
efe89493b1801830d3e445c049eabd52191fa527
refs/heads/master
2021-01-19T14:46:06.197242
2017-04-01T00:07:34
2017-04-01T00:07:34
86,638,627
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
""" WSGI config for gitdemo 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_SETT...
[ "vincentwen@vincentwendeMacBook-Pro.local" ]
vincentwen@vincentwendeMacBook-Pro.local
5288b19cab98fb5e5d327276ad479db412c99148
51c13596cb3f56380c847ee6e5b888963f887929
/program.py
9761142394236bf414d37280b0286b3f7c13dcfe
[]
no_license
j-skalicky/shamir
9144c1d7cd12d040c7b88223ee4256fbf8c01750
9412255cc7c94e2311ab266a7d33a751c1995850
refs/heads/main
2023-07-05T14:48:44.639094
2021-09-04T12:10:24
2021-09-04T12:10:24
399,807,780
0
0
null
null
null
null
UTF-8
Python
false
false
4,196
py
from shamir import ShamirSecretShare from base64 import b32decode, b32encode, decode import os class Program: def __init__(self) -> None: self.shamir = ShamirSecretShare() def intro(self) -> None: print('\nVítejte! Toto je jednoduchý program na Shamirovo sdílení tajemství.\n\n') #prin...
[ "jakub.skalicky@protonmail.com" ]
jakub.skalicky@protonmail.com
aef0c8480c917bc229594cae6ec37dddd5516166
546646a49b5cc0a19c3659ecab21743401c1f418
/Problem 0010/main.py
834113b49cbbf92ae9a33748e3f637e4a7b3583a
[]
no_license
Kippiii/Project-Euler
12c2bd336c27e7408aee730f6a6094fc4afae8e0
2f1218929aab4c580882f8078572fb55e8fbc100
refs/heads/master
2020-07-07T06:38:46.627887
2019-08-23T02:44:55
2019-08-23T02:44:55
203,280,333
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
LENGTH = 2000000 def attempt_removal(n, nums): for i in range(2 * n, LENGTH + 1, n): nums[i] = 0 nums = [0] * (LENGTH + 1) for i in range(2, len(nums)): nums[i] = i; for n in nums: if n != 0: attempt_removal(n, nums) sum = 0 for i in nums: sum += i print(f'The sum is {sum}.'...
[ "ian.orzel@irchsonline.org" ]
ian.orzel@irchsonline.org
04bdd549e01ff64fbc6ecf237ca1619467cc6d2a
fb8dfbd2758ed01995687f2ce46923c96d86506f
/bikeshare.py
f302474ccac3f660854f7c568a587a0380684677
[]
no_license
dhruv-3d/bikeshare-data-analysis
a23aab90b9d74b93d726bfc504ef65f419b0e658
1615c66e13cd916bc103e275379eaefcb109d075
refs/heads/master
2022-12-12T15:17:38.340860
2021-02-16T21:49:31
2021-02-16T21:49:31
143,008,522
0
0
null
2021-06-01T22:32:59
2018-07-31T12:02:39
Python
UTF-8
Python
false
false
8,841
py
import time import pandas as pd import numpy as np CITY_DATA = {'chicago': 'chicago.csv', 'new york city': 'new_york_city.csv', 'washington': 'washington.csv'} DAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] MONTHS = ['January', 'February', 'Mar...
[ "dhruvdesai3d@gmail.com" ]
dhruvdesai3d@gmail.com
432a1ed4d5c68641381ae0c6964b987b2d21b412
f2357c7fded6032e4d488e8f4437a089bab5454b
/numpy예제/소스코드_예제/ch10/ex10-2.py
d4aa5e401bba0f5390baa4e761f2483250a57569
[]
no_license
stufit/pycharm_test
094ba681b3bc5d27a827aa1ed12305da8be7ce30
aa98cd1d871596a71c52d068d08c1a529e5f13cd
refs/heads/master
2023-02-07T12:41:04.881144
2020-12-28T04:05:14
2020-12-28T04:05:14
324,903,682
0
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
#!/usr/bin/env python # coding: utf-8 # # 10.2 Numpy를 이용한 plot 기능 # In[1]: #p164 get_ipython().run_line_magic('matplotlib', 'inline') import numpy as np points = np.array([[1,1], [1,2], [1,3], [2,1], [2,2], [2,3], [3,1], [3,2], [3,3]]) p = np.array([2.5, 2]) import matplotlib.pyplot as plt plt.plot(points[:,0], poi...
[ "rhksdud23000@naver.com" ]
rhksdud23000@naver.com
9bbd0defc841cae9736b86805843e05884596ebc
f137f67d96a83cb698a8f1bfc4547c3a8acf324c
/Chapter01/keras_MINST_V3.py
25d3357a9a695cd19e8e736ed33ed7d51dca0813
[ "MIT" ]
permissive
PacktPublishing/Deep-Learning-with-Keras
55740afe4680d9f8aaaa2232890cfcef462ec134
44b2b7e11e0db168ff861e91de832d4b22d80414
refs/heads/master
2023-01-23T02:23:23.560272
2023-01-18T09:24:20
2023-01-18T09:24:20
88,967,358
1,151
796
MIT
2018-10-05T16:43:05
2017-04-21T09:31:27
Jupyter Notebook
UTF-8
Python
false
false
2,528
py
from __future__ import print_function import numpy as np from keras.datasets import mnist from keras.models import Sequential from keras.layers.core import Dense, Dropout, Activation from keras.optimizers import SGD from keras.utils import np_utils import matplotlib.pyplot as plt np.random.seed(1671) # for reproduci...
[ "noreply@github.com" ]
noreply@github.com
0a46bde86ddac7465d01e383e35eba1b8671078b
f3fb71fa8477812578448001dd87ed965a5848cd
/wxgigo/wxmp/api/webauth.py
77e1048da9cc794719964911b7bbf2dd86b86e2a
[ "MIT" ]
permissive
rfancn/wxgigo
0da920c27f8db2c0d30f9573184ea254c8e3554b
7ed64248e4df037dbb5ff0683f21f458d3f29a0e
refs/heads/master
2021-01-12T04:19:47.041858
2017-03-31T06:01:41
2017-03-31T06:01:41
77,586,025
0
0
null
null
null
null
UTF-8
Python
false
false
5,696
py
#!/usr/bin/env python # coding=utf-8 """ Copyright (C) 2010-2013, Ryan Fan <ryan.fan@oracle.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your opti...
[ "reg_info@126.com" ]
reg_info@126.com
d6e643149dea7d26fbc701c6232120ad1003e55e
beca83e67a86ec7c68f7b96d541938e31b2d1297
/index.py
eb66115c2226639be978c88c71348cfcf67b8985
[]
no_license
temilaj/opencv-object-tracking
8c5fc2212df73985c8792ad13bc70f978a3a31b0
83fb2b4f442696bc2f676cd9c338278b5505916d
refs/heads/master
2023-02-13T05:11:28.321623
2021-01-07T08:08:24
2021-01-07T08:08:24
326,603,619
0
0
null
null
null
null
UTF-8
Python
false
false
3,546
py
# Import Libraries import cv2 import sys from random import randint # Tracker Types tracker_types = ['BOOSTING', 'MIL', 'KCF', 'TLD', 'MEDIANFLOW', 'GOTURN', 'MOSSE', 'CSRT'] # Define trackers by nam...
[ "temilaj@hotmail.com" ]
temilaj@hotmail.com
ec0a70d28ff06e456905b87458756bd729bde88f
f99062c0aed4794b2e8ea0ce72222694e822a39f
/Contents/Code/common.py
b8b7e9e51820fb61e31f59e10937a6e1c7bac0de
[]
no_license
mrhenko/SVT-Play.bundle
b4e8f7fc775f59c06e2fc30feba0ac9112c28e85
71a89d13bb00cfa2b45378e655e6c8ece89a5089
refs/heads/master
2021-01-18T03:29:03.184943
2012-06-19T13:34:43
2012-06-19T13:34:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
# -*- coding: utf-8 -* # Global constants # - - - - - - - - - - - - - - - - - - - - - - - - - - - - VERSION="3.2b4" PLUGIN_PREFIX = "/video/svt" #URLs URL_SITE = "http://www.svtplay.se" URL_INDEX = URL_SITE + "/program" URL_LIVE = URL_SITE + "/?live=1" URL_LATEST_SHOWS = URL_SITE + "/?ep=1" URL_LATEST_NEWS = URL_SITE...
[ "notvalid@whatnot.com" ]
notvalid@whatnot.com
c4172ddda4b37e3b5899a65e1c84aa267a569a13
ce39aefe6560e9671ab1979a94eb6768118dbbcc
/venv/bin/python-config
6065aada329a0d461974cb5c3b8a462085ea3057
[]
no_license
prakharrr/FlaskWebApp
47b6e859e813c4e1452746158c1869d20af78779
4576ebe52f1b4ed0e1f6a7f36bb92d2786f03552
refs/heads/master
2021-04-15T04:44:02.040680
2018-03-25T05:32:45
2018-03-25T05:32:45
126,663,830
0
0
null
null
null
null
UTF-8
Python
false
false
2,368
#!/Users/prakharrawat/PycharmProjects/untitled2/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags'...
[ "pxr7185@g.rit.edu" ]
pxr7185@g.rit.edu
8bcc948639a7d8f437c507c88481025bef23509d
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/dataproc/v1/dataproc-v1-py/google/cloud/dataproc_v1/services/autoscaling_policy_service/pagers.py
6ecc0cd0d9b184d60845ea13568c5783c926dc36
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,108
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
3670b6fc6b5f37305e60b54993958638f85b4b0e
6c67ba252649110d4fc59a67bb1a7bf4691d0502
/backend/urls.py
18e6540e725fe35773ab413e2bf91d12a86942fd
[]
no_license
zhongrunqiu/WechatApp_assistant
f632cc03f9c4597cd326e04cf0a27db04d469b25
d8ed1cf5fe78e142d940907e77017586824ca7d5
refs/heads/master
2021-07-12T12:10:14.179701
2020-08-16T14:02:31
2020-08-16T14:02:31
192,075,746
0
0
null
2020-08-16T14:02:33
2019-06-15T12:24:36
Python
UTF-8
Python
false
false
863
py
"""backend_ch1_sec1 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "zhongrunqiu@qq.com" ]
zhongrunqiu@qq.com
dc71c972bd595603815a1a31980e602af8a47e8a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02775/s024011055.py
5d23c1a3f899c3391966a9a6d01203faca1d9ba6
[]
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
272
py
N = list(map(int, list(input()))) dp=[[-1,-1] for i in range(len(N)+1)] dp[0]=[0,1] b=0 N.insert(0,0) for i in range(1,len(N)): up = 10-N[i] dp[i][0]=min(dp[i-1][0]+N[i],dp[i-1][1]+up) dp[i][1] = min(dp[i-1][0]+N[i]+1, dp[i-1][1]+up-1) print(dp[-1][0])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
91b0cc3fb2bd9ff42cf6883343d3e40cc279c24f
2114ffa5fe09efaaf519b041a5c459561ba8f1ff
/work03/window.py
755c3c9206bd65fa9373aec2b394405aa6fec829
[]
no_license
wasabi-candy/python
daea3ff7d6265b156691bc4d5434e2cf9ef59b7a
ceec91be8eb12e50063bd4e3a065bdb8a764ab07
refs/heads/master
2020-05-01T12:44:29.211695
2015-07-09T05:11:30
2015-07-09T05:11:30
36,272,052
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import threading import time import urllib.request as ur import tkinter as tk class GetBoard(): def __init__(self): self.url = "http://viper.2ch.net/news4vip/subback.html"; def get_data(self): self.fp = ur.urlopen(self.url) html = self.fp.r...
[ "user@test.com" ]
user@test.com
c39805898c26aa007db8eacb4fab4f796edbbadf
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/52/usersdata/106/20724/submittedfiles/matriz1.py
add0d8a2bfdbd3cf2ff19de84bb0eee193c9d9e3
[]
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
1,244
py
# -*- coding: utf-8 -*- from __future__ import division import numpy as np #Funções def colunaEsquerda(a): Esquerda = 0 for j in range (0,a.shape[1],1): for i in range (0,a.shape[0],1): if a[i,j] == 1: Esquerda = j break return Esquerda def colunaDireita...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
492c10c00dde0cddb679dbe7cc3733120630ba5b
75d8667735782cd1d0eb4877e52c89da5cd92dde
/nova/tests/unit/virt/libvirt/test_imagecache.py
040ee0c223bedf396922f127ac400909a4e0bed7
[ "Apache-2.0" ]
permissive
bopopescu/nova-token
ffecfd3ec561936b7d9d7e691bc57383cde05436
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
refs/heads/master
2022-11-22T09:53:31.073483
2016-05-14T02:47:01
2016-05-15T22:02:55
282,105,621
0
0
Apache-2.0
2020-07-24T02:42:19
2020-07-24T02:42:18
null
UTF-8
Python
false
false
87,385
py
begin_unit comment|'# Copyright 2012 Michael Still and Canonical Inc' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain'...
[ "dmg@uvic.ca" ]
dmg@uvic.ca
368870cf443f5ff87fef8280e99d7f7666221e82
ab80d1978214ff59dc1baa18e09b7ec602f09664
/src/tp1/lab/repetidas.py
25070ab8782f17aa9622dfea12c1ce9fd6115898
[]
no_license
unmateo/7506-TP
5accb6dc72202748dcb8cb5e7897cbfce0af2b0e
3875906e3820c7eab597d71e08add5ab18297a61
refs/heads/master
2022-08-10T15:29:56.054968
2019-12-02T12:56:30
2019-12-02T12:56:30
204,795,454
0
0
null
2022-07-29T23:05:20
2019-08-27T21:43:01
HTML
UTF-8
Python
false
false
1,455
py
#!/usr/bin/env python # coding: utf-8 # ### Analizaremos la existencia de publicaciones repetidas # In[35]: import pandas as pd #importo las funciones para levantar los dataframes get_ipython().run_line_magic('run', '"../../utils/dataset_parsing.ipynb"') df = levantar_datos("../../"+DATASET_RELATIVE_PATH) #importo ...
[ "gim.andr26@gmail.com" ]
gim.andr26@gmail.com
130edc3275a971600e9bc89ac9832da9afce3a92
dee2d5c0d0308cab977856ebe5c3ac4b36a8f025
/hello.py
d592b533e124f63f3b0bf443db0b22b297c51ebe
[]
no_license
ShubhamGarg2001/nonu1
346e7301290794e513a5b9e405250c3cc95f4b66
54aca1f26380ea5dd74794548c28a8a38c695a8b
refs/heads/master
2022-04-26T04:10:45.974592
2020-04-29T15:55:05
2020-04-29T15:55:05
259,642,527
0
0
null
2020-04-28T13:49:34
2020-04-28T13:19:16
null
UTF-8
Python
false
false
24
py
print("Greetings Mummy")
[ "sgarg3072@gmail.com" ]
sgarg3072@gmail.com
738273917f078668e89f2bf2c5c54e511654c183
e1e804221b203c50d49569a68539cf2e61414ebb
/tools/static_code_analysis.py
ee7ce44c1ce26f316a2ab7636a51b56018285a44
[]
no_license
declankeyesbevan/api-skeleton
f6b5150d7edfd319f71e5b2891417ee5322ff736
432090cb2ed92939146ba9bda3aa447321d12de2
refs/heads/master
2023-05-07T19:35:02.413306
2021-05-27T04:44:57
2021-05-27T04:44:57
371,290,643
1
0
null
null
null
null
UTF-8
Python
false
false
3,624
py
import contextlib import os from pathlib import Path import anybadge from pylint.lint import Run from radon.cli import CCHarvester, Config, RawHarvester from radon.complexity import SCORE from app.constants import FIRST class StaticCodeAnalysis: @property def _paths(self): return ['app'] @prop...
[ "4962478-declankeyesbevan@users.noreply.gitlab.com" ]
4962478-declankeyesbevan@users.noreply.gitlab.com
3b2bf47b29e824907b68e5277d4220df836181ad
5ac3f3ea75065a5ba1649b4b869f4f98136b9c41
/P1-Clasificación/ParseandoDatosConParametros.py
fa0522f2484ee9ba02cb4f536f6c9c1d62118f5f
[ "MIT" ]
permissive
jcgq/Inteligecia-de-negocio
4d199eec0c1bc334d1418019fe76bddb624b8bcc
78a993c339fb8eb399ef3513fc225bc951b293e6
refs/heads/main
2023-04-30T18:26:31.036977
2021-05-25T14:12:37
2021-05-25T14:12:37
369,571,654
1
0
null
null
null
null
UTF-8
Python
false
false
7,462
py
#!/usr/bin/env python # coding: utf-8 #Todas las librerías para los distintos algoritmos from sklearn.naive_bayes import GaussianNB from sklearn.naive_bayes import ComplementNB from sklearn.naive_bayes import BernoulliNB from sklearn.naive_bayes import MultinomialNB from sklearn.svm import LinearSVC from sklearn.svm i...
[ "juancarlosgq@correo.ugr.es" ]
juancarlosgq@correo.ugr.es
8c92a6705b031f5ec8052f1b6563088effcb9459
a863483b9fa4e940718a3206340e698d9cdbc341
/elpy/rpc-venv/lib/python3.8/site-packages/yapf/yapflib/yapf_api.py
13b02a44f1dd80cfc0eb9d3899a867b92e56c35f
[ "BSD-2-Clause" ]
permissive
jhsygg/emacs.d
ebed42b52d4609e23ad9fa41fa873d2f52980bec
addf36f3e2fb3419f547df6180b835036a295542
refs/heads/main
2023-06-12T07:54:26.863128
2023-06-06T07:02:02
2023-06-06T07:02:02
124,079,470
0
0
null
null
null
null
UTF-8
Python
false
false
12,937
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "jhsygg@126.com" ]
jhsygg@126.com
00e9ff6636aa69231a33c1ca0e566fc09609f5cc
eb7ff98746500472a7e36f5fae666d68a76120e8
/world-maze.py
961b0444fd9eb9f83648c842d715392d3eb9d37a
[]
no_license
Jony-5/Python-2019
8d3744a0d595fcb9d59a49582b5810a78b968171
6a699f5962e2765ff2ff6f4432da77bca5ce7a7d
refs/heads/master
2020-07-29T02:04:31.935828
2020-02-20T19:38:59
2020-02-20T19:38:59
209,627,165
0
0
null
null
null
null
UTF-8
Python
false
false
3,527
py
#cwc 200121 from mcpi.minecraft import Minecraft from mcpi import block from array import * import random def flowe(mc,x,y,z, total): done = 0 while(done < total): h = random.randint(0,100) l = random.randint(0,100) mc.setBlock(x+h,y,z+l,37) done = done + 1 def init(): #ipStri...
[ "noreply@github.com" ]
noreply@github.com
873f3c5c2bfb0a1878a7e950aea4ecd21d965b33
732605a2bf9bc5470fcca8d8710440ad563ac452
/23-day.py
76a422ba2c6fc0d5f4bf816b2f449a84458e77e4
[]
no_license
capJavert/advent-of-code-2017
6417f6b6fa16cc0c3383baa6bf0cab6edb47292a
0ad7669ea00251e0cbf63c30b964b363d4270d2f
refs/heads/master
2021-09-01T06:56:41.066536
2017-12-25T14:11:37
2017-12-25T14:11:37
112,718,287
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
h = 0 for num in range(106500, 123500, step=17): prime = True for i in range(2, num): if num % i == 0: prime = False if prime: h += 1 print(1001-h)
[ "ante.baric3@gmail.com" ]
ante.baric3@gmail.com
42d4e5c41eb1c7f9addf3cd7d114f77ca73b49ea
1f1b62a23e9267fba41a5f9dc757d2c107d3d7c1
/nongji.butie/butie.1.py
7cf3504f4412053a303b8464d1143667406520d5
[ "Apache-2.0" ]
permissive
zzh-python/all-project
0e45e2e542b9e63f6ed080ad47725d71f1590772
915a47fb42d63ff3a36814992283c2f4ed8703a3
refs/heads/master
2020-07-24T01:47:19.924959
2019-09-11T08:48:17
2019-09-11T08:48:17
207,765,744
1
1
null
null
null
null
UTF-8
Python
false
false
2,679
py
from bs4 import BeautifulSoup import requests import xlsxwriter import re page=226 privince='10内蒙古' urlroot='http://222.143.21.233:2018/pub/GongShiSearch' cook='__RequestVerificationToken=; __RequestVerificationToken_Lw__=4EDW+mpynwTkqW3DETpxdWrxn5W8nj6kMXUofKCESrXXkSYTWX4iH7MuETUbxuum0oVst5OqG1adH3bD5...
[ "379935132@qq.com" ]
379935132@qq.com
1766d2cff2bfbb73ab2a5eaafc0d7abda24093a8
67b7e6d2c08f08403ec086c510622be48b8d26d8
/src/test/tinc/tincrepo/mpp/gpdb/tests/package/metadata_track/__init__.py
2b24a0179775914babb588e562817fc26853a33d
[ "Apache-2.0", "PostgreSQL", "LicenseRef-scancode-rsa-md4", "OLDAP-2.8", "HPND-sell-variant", "BSD-4-Clause-UC", "BSD-3-Clause", "Zlib", "LicenseRef-scancode-zeusbench", "LicenseRef-scancode-mit-modification-obligations", "OpenSSL", "MIT", "LicenseRef-scancode-other-copyleft", "bzip2-1.0.6"...
permissive
sshyran/gpdb
41012411d22b0294204dfb0fe67a1f4c8d1ecaf6
2d065ecdd2b5535cb42474f17a0ee6592b4e6837
refs/heads/master
2023-04-09T14:05:44.030212
2016-11-12T08:33:33
2016-11-12T08:34:36
73,544,159
0
0
Apache-2.0
2023-04-04T00:30:10
2016-11-12T09:43:54
PLpgSQL
UTF-8
Python
false
false
3,727
py
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 ...
[ "jyih@pivotal.io" ]
jyih@pivotal.io
b59d0204f4a30c0e448cfec7c2eaa61ec8c8b964
db48843f666aed5d3c0a38a147e6b758fcac5376
/config/development.py
e6fa47f24e6ba64dcd93223715acd8740d577262
[ "Apache-2.0" ]
permissive
Cmlsltnl/mdpress
6dcb5dff97139a6a490c7b9ad8a51bd0487d38c0
6fe44f36833443dc7a6ae1c7c4609137ef20b2e2
refs/heads/master
2021-01-11T11:25:08.695125
2016-10-31T15:02:14
2016-10-31T15:02:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
# coding: utf-8 from .default import Config class DevelopmentConfig(Config): """Base config class.""" TESTING = False SECRET_KEY = "DevelopmentConfig" # Site domain SITE_TITLE = "mdpress" REDIS_CONFIG = { 'HOST': 'localhost', 'PORT': 6379, 'DB': 10 } UPLOAD_F...
[ "liqianglau@outlook.com" ]
liqianglau@outlook.com