blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
b7eb0a6c17571f95eecb2d8d0106738004e2c7d0
18e9bbc8747f4edca0c96e522bbd6dde48a60966
/lang/py/detail/simphttp.py
09b6e116f9042b84864db836a4576b3fee95fbb5
[]
no_license
leizton/inote
6290be44b0fcb4d182c4b031ed95de6bdc736de8
c8114b3d46cb14a1bf9d431a765e203685cc3882
refs/heads/master
2023-08-31T04:22:43.517404
2023-08-17T09:37:22
2023-08-17T09:37:22
111,563,245
0
0
null
null
null
null
UTF-8
Python
false
false
8,867
py
"""Simple HTTP Server. This module builds on BaseHTTPServer by implementing the standard GET and HEAD requests in a fairly straightforward manner. """ import os import posixpath import BaseHTTPServer import SocketServer import urllib import cgi import sys import shutil import mimetypes try: from cStringIO impor...
[ "leizton@126.com" ]
leizton@126.com
fe7d9893fb76b7eb624d74e9a5ceebe38ecee595
3b0657e8edd9390518e5c14d15878e25683bfe91
/FORTRAN/DMMulti/scripts/param_red.py
8bb8fb9ca8fab4363d6ec2e5d5466491a37be1dc
[]
no_license
lmpizarro/atomistic_simulation
d3038ff4b1d106662904207099c42b4bccee9f0b
d526b1bda6d258e3ab4e4a8619331849b7a0c2bf
refs/heads/master
2021-01-10T08:17:00.947930
2018-11-29T22:06:58
2018-11-29T22:06:58
46,139,007
3
0
null
null
null
null
UTF-8
Python
false
false
827
py
#!/usr/bin/python # -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt axis_font = { 'size':'20'} plt.figure(1,figsize=(8,6)) x = [5.0 , 5.3 , 5.5 , 5.6 , 5.7 , 5.8 , 5.9 , 5.95, 6.0 , 6.1 , 6.2 , 6.3 , 6.4 , 6.5 , 6.6 ...
[ "pbellino@gmail.com" ]
pbellino@gmail.com
401caa772c709306a860945e1a837247a57746a2
cd38e69551eb8c205690aa29e21be414d32613b6
/manage.py
009fcccf4ca0e26a657de5b0ba0ef3ef39e8e1ef
[]
no_license
fj-fj-fj/weather-api
d779c6b2e5ef917be843cf6aba4d514eb84399d1
b364e50e031c3740f9c16139e408d82ac45754df
refs/heads/main
2023-04-14T03:00:38.418507
2021-04-25T11:32:06
2021-04-25T11:32:06
355,349,080
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
from main import * # noqa: F403, F401 from weather.app import manager if __name__ == '__main__': manager.run()
[ "berendeyzhiv@gmail.com" ]
berendeyzhiv@gmail.com
e0a8665cf9424448e8382bfa43878fee2adaea9c
893f8236a63752f3f5ec8222fc334c73c0a05208
/AC-IPSyn/source/Patterns_IPSyn.py
3120dd2f8cc76c77000f15df008e06bc093c0db6
[]
no_license
haewon-mit/Syntax-Analysis
0567e901fd61d244442779362f78ee9c391101d8
75f766e7817f6be3ff700d31946ace8c6e8c38af
refs/heads/master
2021-01-20T20:10:48.952924
2016-06-08T16:17:57
2016-06-08T16:17:57
60,710,511
0
0
null
null
null
null
UTF-8
Python
false
false
13,181
py
#Purpose: This contains the regular expression patterns that will be used for # extracting the constructs for the IPSyn structure. Patterns={ #Proper,Mass or Count Noun 'N1':r'(\((NNS|NNPS|NN|NNP) ([^)]*)\))', #Pronoun or prolocative excluding modifiers 'N2':r'(\((((PRP|WP) ([^)]*))|([W]?RB ([hH]ere|[Tt]her...
[ "personalrobots@personals-mbp-2.media.mit.edu" ]
personalrobots@personals-mbp-2.media.mit.edu
50e8e04c4deab7182142c61d85c30d3bfdd2d297
e5478c3d51ab4a2e1408264f13531659c6ccd56e
/resnet.py
1b7d5061eb6313023fc2717ec04923875e7795d1
[]
no_license
qy734504548/cloud-and-cloud-shadow
e4b21b0d106183ebd2e58183302a9aa3ee8f83ad
79698b661ec14bbf6596d2a0e8ad699fe085504e
refs/heads/master
2023-01-13T04:52:37.230604
2020-11-07T07:59:47
2020-11-07T07:59:47
310,792,842
1
0
null
null
null
null
UTF-8
Python
false
false
8,597
py
import torch import torch.nn as nn import torch.utils.model_zoo as model_zoo __all__ = ['ResNet', 'resnet18', 'resnet34', 'resnet50', 'resnet101', 'resnet152'] model_urls = { 'resnet18': 'https://download.pytorch.org/models/resnet18-5c106cde.pth', 'resnet34': 'https://download.pytorch.org/models/...
[ "734504548@qq.com" ]
734504548@qq.com
cff3e9148fe021dbca2f36fd24270a1aace86027
d9aa525b6a359378572fa7e48bd4fb8529b9ce23
/monitoring/services/tests.py
2e6a0fa69ed320fbbe1fcc4f7506227fdb4949ab
[ "Apache-2.0" ]
permissive
naanal/monasca-ui
cb5b7c279836d31809392d5b4572536fbea3634e
37d8926015e35f8949606183469d532924ab58c2
refs/heads/master
2020-02-26T13:04:25.471867
2016-08-16T05:39:24
2016-08-16T05:39:24
64,387,546
0
0
null
2016-07-28T10:46:54
2016-07-28T10:46:53
null
UTF-8
Python
false
false
1,595
py
# coding=utf-8 from django.core import urlresolvers from django.test import RequestFactory from mock import patch, call # noqa from monitoring.test import helpers from monitoring.services import constants from monitoring.services import views INDEX_URL = urlresolvers.reverse( constants.URL_PREFIX + 'index') c...
[ "rajagopalx@gmail.com" ]
rajagopalx@gmail.com
eb3b55eedce28c1c02e8152a77bbdf359143ea51
d73f54a99e833701917fdf86024e08f071411627
/sudoku.py
ae8b12d008abac544ee88ac758806dc24b68836b
[]
no_license
MrBenC88/Simple-Sudoku-Solver-Python
a86e5b5ffaf40b33a8b00f708f0190f5c50bd8d9
248bea2cad645d4d32802baa670f3caa3967e519
refs/heads/master
2020-11-27T13:24:21.904710
2019-12-21T17:16:57
2019-12-21T17:16:57
229,459,525
1
0
null
null
null
null
UTF-8
Python
false
false
3,711
py
#sudoku.py ''' Backtracking Sudoku Puzzle Solver 1. Parse through board and find empty space 2. Place digits 1-9 in space. 3. Check if digit is valid in spot and if board is valud. 4. If digit valid, fill next spot in board. If not valid, reset the square to empty (bd[row][col] = 0 ) using backtracking and ...
[ "chessben88@gmail.com" ]
chessben88@gmail.com
464fd32e21826eb900ab44421bba05a56e8c869a
6935f8334f17e59f0691695e1404ce2fa3c18b98
/src/signali_notification/migrations/0001_initial.py
f541895c83cd237322504219131944b4e337173d
[]
no_license
obshtestvo/signali
a7b74746cba487ea3dacedbd2eda4876b972056e
f0c64bea9e151023612e33e476d0723819924e19
refs/heads/master
2016-08-05T17:13:55.793165
2016-01-20T16:39:36
2016-01-20T16:39:36
34,040,168
0
3
null
null
null
null
UTF-8
Python
false
false
1,159
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('signali_contact', '0004_auto_20150903_0029'), ] operations = [ migrations.CreateModel( ...
[ "antitoxic@gmail.com" ]
antitoxic@gmail.com
7771948bcd169782ab2c13192c605d49d242b9ed
70bf561fb6b77577eebd3f14500cb457da25bdd2
/backend/api/features/users/schemas.py
2ad0cf8983ef8ee9e7401fa479039b75832e4bdb
[ "MIT" ]
permissive
mmvo91/recipe-manager
cdfeb066e5f5343a9fc4aa5b7bcf4b6d815c09e1
522804f2ef49ddd4bcd9f073a8d0beaf893ed8c0
refs/heads/master
2023-02-05T22:52:46.227482
2020-12-30T09:37:21
2020-12-30T09:37:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from api.utils.schema import JSONModel class UserBase(JSONModel): username: str email: str class UserCreate(UserBase): password: str class User(UserBase): id: int active: bool class Config: orm_mode = True class UserLogin(JSONModel): username: str password: str
[ "michaelmvo91@gmail.com" ]
michaelmvo91@gmail.com
170ccd24c50321c37c6335c0652314406ed7802a
22a7161361089b84a09457b46d79ce2bd87f5b2c
/tests/urls.py
bb83d09b1ab5c7ac9d1103f51acf97588d336b6b
[]
no_license
matthew-a-dunlap/django-inspectional-registration
56fb9b9945d41de069034fd066e3b92b388b8498
d6dd945718e5f7ac09966763c83104c4966cb775
refs/heads/master
2020-09-09T17:33:18.128626
2016-05-23T19:57:19
2016-05-23T19:57:19
221,512,520
0
0
null
2019-11-13T17:13:08
2019-11-13T17:13:07
null
UTF-8
Python
false
false
399
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals try: from django.conf.urls import url, patterns, include except ImportError: from django.conf.urls.defaults import url, patterns, include from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(...
[ "lambdalisue@hashnote.net" ]
lambdalisue@hashnote.net
c150cb2b3d525912e69339d0c70b0420d9e05cc5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02577/s522201630.py
dee13346a32585c238531954da820bc0241080a6
[]
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
88
py
x = input() if sum([int(i) for i in x]) % 9 == 0: print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4523042c199bfcef8e6db6475c59c6e2502fe508
037cf499131b335c8721c75620d835cdcbca63d7
/makemigrations.py
278ac19d6b905743aa51d89cf6c96df6e8138f14
[]
no_license
mihai-dobre/homework
35e38028785b485e06e7da704fca4a91563a63f6
a550d7044c664e1c56c092f4de3bf0539d069cd3
refs/heads/master
2021-01-23T04:53:23.602698
2017-09-05T17:17:45
2017-09-05T17:17:45
102,453,665
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
#!/home/mido/.virtualenvs/homework/bin/python import imp from migrate.versioning import api from app import db from config import SQLALCHEMY_DATABASE_URI from config import SQLALCHEMY_MIGRATE_REPO v = api.db_version(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO) migration = SQLALCHEMY_MIGRATE_REPO + ('/versions/%03d...
[ "mihai.dobre@cegeka.com" ]
mihai.dobre@cegeka.com
7c3d454eab4479bf2d1ee619b4491847e62b46a7
990be294e69d48676a0f8176c37110328956e71a
/setup.py
0f4229bd5622ea158ea444f05713573247bda4b3
[]
no_license
akshaypermunda/datascience
09898d9dd660e7ca441e22beed9d409174a46031
e06703b336d706131a708640c15567065d469f88
refs/heads/master
2022-12-15T08:28:03.846168
2020-09-13T16:25:45
2020-09-13T16:25:45
295,188,700
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='A dashboard which provides an interactive visualization of COVID-19 Data which can be customized accroding to local interests.', author='Akshay Permunda', license='', ...
[ "noreply@github.com" ]
akshaypermunda.noreply@github.com
87d4b4ebc24eaadfa59d9ccf86df148e535339ef
b7fa0b3198ced1e775cacff7c091dd13024f4b33
/kmeans_bluewarning_analysis.py
24458c222996fc4e3b511a6ec89b27f9cc14df0d
[]
no_license
Dechuan/BlueWarning_clusters
9052b23f56fd72fab414a86d3d057efd382833a9
2c5b2c4f7c7cb3b7ee5dde9cf99540e1c73859f2
refs/heads/master
2020-07-12T12:27:29.346655
2019-08-28T01:23:26
2019-08-28T01:23:26
204,819,731
0
0
null
null
null
null
UTF-8
Python
false
false
2,370
py
from sklearn.feature_extraction.text import CountVectorizer,TfidfTransformer from sklearn.cluster import KMeans import jieba from sklearn import metrics import pandas as pd #import os def kmeans_blue_warning(in_df): n_clusters=10 abs_score_list = [] ScoreList = [] CountDict = dict() TrainData = in_d...
[ "songciting@163.com" ]
songciting@163.com
b39d75d312bbf42e01d04bc586a80ba6c93b0ed2
e0330ee0cdc9521692595df137180fa0d00864e8
/ENV/bin/wsdump.py
516407141b978a7bdf49300d9872a925f8b2aba5
[]
no_license
lesps/Jeeves.Witherspoon
ce8fb4fc13b0824ffbf19a2a95c4df5b21f1b4c6
4012bb5f2bef1a61d7af849668740f6f156511fd
refs/heads/master
2020-05-27T10:34:12.492532
2013-07-27T20:20:15
2013-07-27T20:20:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,132
py
#!/home/spencer/python/Jeeves/ENV/bin/python import argparse import code import sys import threading import websocket try: import readline except: pass OPCODE_DATA = (websocket.ABNF.OPCODE_TEXT, websocket.ABNF.OPCODE_BINARY) ENCODING = getattr(sys.stdin, "encoding", "").lower() class VAction(argparse.Action...
[ "lesp@seas.upenn.edu" ]
lesp@seas.upenn.edu
1e44f68b4293ce9210579097294860acfc7ebac2
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-ons/aliyunsdkons/request/v20190214/UntagResourcesRequest.py
3e59f17cdafd0c517f61e6e5a9daaacecfc58d26
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
2,302
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 under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
eb254cada685f3a07b8214c37d6b93437b6240bd
cca32ed9fa8ee69550b46b42a689bad6ca03b256
/wizards/generate_commission.py
f0ff3b468a994e75af5c8d5ee53ffe38c4940392
[]
no_license
mohamedabuemira/courier
724dba8d4a734046c1085ffad97948869f069f38
d0574b157a1fb62fb0be11a68afa444c1d77dd5f
refs/heads/main
2023-09-01T07:03:08.412409
2021-10-29T23:33:23
2021-10-29T23:33:23
422,737,366
0
0
null
null
null
null
UTF-8
Python
false
false
7,685
py
from odoo import api, fields, models, _ from odoo.exceptions import ValidationError from datetime import date class SalesCommissionWizard(models.TransientModel): _name = 'sales.commission.wizard' date_from = fields.Date(string='Date From') date_to = fields.Date(string='Date To') user_ids = fields.Many...
[ "mohamed.abuemira@gmial.com" ]
mohamed.abuemira@gmial.com
7687d9795fd4f458ba5d860228bb5c67c20fb1f1
5851ed4f3398b3e96cb0f5c09b10289cadd89d6a
/digits/model/tasks/__init__.py
f8aaa77608973c67dd4c4885bef7604e12eba769
[ "LicenseRef-scancode-generic-cla" ]
no_license
wills2133/digits-distributed
953060830dde0c96957accfb621f4f00cc74837a
addf2fda32291a02a7c602b9d58d37ca71afe79d
refs/heads/master
2021-09-13T00:05:42.812330
2018-01-31T14:16:25
2018-01-31T14:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
# Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. from __future__ import absolute_import from .caffe_train import CaffeTrainTask ########################################## from .distrib_caffe_train import DistributedTrainTask ########################################## from .torch_train import TorchT...
[ "wills2133@hotmail.com" ]
wills2133@hotmail.com
31ca9b836c834e4a4bf5e8b867b7bc82bcc0f319
e2d069bc194216a5235a20d6075932ab6e146866
/03_递归.py
5648ae31ce082eb55b447efece54a74f77fd06b6
[]
no_license
ruoduan-hub/algorithm_py
e1642c62614024dbb3c4b724863a523524c9b359
600b20fad179a88ac2c1694154115de3b0a6359f
refs/heads/master
2023-07-23T15:05:46.490345
2021-09-06T11:50:19
2021-09-06T11:50:19
211,216,812
2
0
null
null
null
null
UTF-8
Python
false
false
362
py
# coding=UTF-8 """ 编写涉及数组的递归时,基线条件通常是数组为空或者是只包含一个元素。陷入困境时,请检查基线条件是不是这样的。 """ def count_down(i): print(i) if i <= 1: # 基线条件 (base case) return else: # 递归条件 (recursive csae) count_down(i - 1) count_down(100)
[ "chad97@126.com" ]
chad97@126.com
45620672ed607a3171dae6cf19a63dea278a32ce
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/edabit/_Edabit-Solutions-master/Odd Up, Even Down/solution.py
280dd4e50c5e27743667091935a4280519266904
[]
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
149
py
___ transform(lst output # list ___ i __ lst: __ i % 2 __ 0: ?.a.. i-1) ____ ?.a.. i+1) r.. ?
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
bfaeee67905c14d2f409f6f49ffa39866004282a
69974e2912b95495b23b9912001ddf3a1f71cbe9
/Learn_Args&Kwargs.py
66cf3cbb717d12770636a9b4ad0863e70fd31691
[]
no_license
AbhinavNmdo/Python
84fe7b7512defa210742f2384925d4e16cb79579
8a66592478111487df9af7f16ca0b127935dad22
refs/heads/master
2023-07-16T15:17:24.122926
2021-08-31T05:59:25
2021-08-31T05:59:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
def name(*args, **kwargs): # Always follow this ==> (normal statement, args statement, kwargs statement) print("This is args statement") for item in args: print(item) print("This is kwargs statement") for i, j in kwargs.items(): print(f"{i} is a {j}") names = ["Abhay", "Ashu", "PapaJ...
[ "abhaynam22@gmail.com" ]
abhaynam22@gmail.com
7a410cee59ce745aece00045c89256e91bdcc0c3
e53220dfff20c05516aa3e1b605758aae5344136
/test/python/transpiler/test_optimize_1q_decomposition.py
86e9d379aaa1de75d7ddd0add9c944eb07377461
[ "Apache-2.0" ]
permissive
Arihant-Joshi/qiskit-terra
67bf0a2f03f5abdb324bdedcfb710c65d772c0d9
3a402a3b4726e16c26f7235dc15bfb7e29617efe
refs/heads/main
2023-06-27T02:10:07.191096
2021-08-03T09:01:37
2021-08-03T09:01:37
363,187,722
0
0
Apache-2.0
2021-07-29T14:57:09
2021-04-30T15:46:41
Python
UTF-8
Python
false
false
18,598
py
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2018. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
[ "noreply@github.com" ]
Arihant-Joshi.noreply@github.com
405ac1f07f1a750299e9f7a772a78a0b4ac771b0
3c64db21529ebcd9d5612c49d71852df5f794043
/classifier.py
9bcc9db015e4ba09bf4456db797884b22c059073
[]
no_license
theerawatramchuen/AutoX_Kaggle_Rasnet50
265fdc17950e8304ac62554aaf7f49802401489b
b9dd0e891bfe15a9b0f79ea82a98bc630230d9e3
refs/heads/master
2020-06-11T05:58:28.369710
2019-07-07T23:06:10
2019-07-07T23:06:10
193,869,489
0
0
null
null
null
null
UTF-8
Python
false
false
3,338
py
# coding: utf-8 # ### Global Constants # Fixed for our Cats & Dogs classes NUM_CLASSES = 2 # Fixed for Cats & Dogs color images CHANNELS = 3 IMAGE_RESIZE = 224 RESNET50_POOLING_AVERAGE = 'avg' DENSE_LAYER_ACTIVATION = 'softmax' OBJECTIVE_FUNCTION = 'categorical_crossentropy' ## Common accuracy metric for all output...
[ "noreply@github.com" ]
theerawatramchuen.noreply@github.com
230fd3f583cf4b11ae9b08638c18199189fa8127
e1e101c278d6bba461e3782325d834ca199d7ce4
/hosts/migrations/0004_auto_20201109_2011.py
2567de45c317ce450e1d24a08d75ba0e4d7723c4
[ "MIT" ]
permissive
mateuslimax22/djangorest
6efeeff6a7282ca2d9ebda9c62eb3f165222d4ac
6d9a0cfa72c5e287218e53eaf708b7175bca475b
refs/heads/master
2023-01-11T01:08:02.234544
2020-11-10T23:24:15
2020-11-10T23:24:15
311,785,687
0
0
null
2020-11-10T23:24:17
2020-11-10T21:11:24
null
UTF-8
Python
false
false
508
py
# Generated by Django 3.1.3 on 2020-11-09 23:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vulnerabilities', '0005_remove_vulnerability_affected_host'), ('hosts', '0003_host_host'), ] operations = [ migrations.AlterField( ...
[ "mateuslimax8@gmail.com" ]
mateuslimax8@gmail.com
b74fd5349fcc910ed9dcad8717e15620b73eb4be
c516df2118000e3abaa61527de7badb94680081e
/utilities/common.py
b3a2eae746c77898ae21aed1623a0194a141bbd9
[ "MIT" ]
permissive
xod442/paw
82c8d54af052edaea05ed36a0846fe9722f047f3
f55df04dd7af7a1b25844c809187a99cfb24b813
refs/heads/main
2023-04-16T12:19:50.849945
2021-04-26T20:06:51
2021-04-26T20:06:51
360,992,530
0
1
null
null
null
null
UTF-8
Python
false
false
1,345
py
import time import boto3 from flask import current_app import datetime import arrow import bleach def utc_now_ts(): return int(time.time()) def utc_now_ts_ms(): return lambda: int(round(time.time() * 1000)) def ms_stamp_humanize(ts): ts = datetime.datetime.fromtimestamp(ts/1000.0) return arrow.get(ts...
[ "rick@rickkauffman.com" ]
rick@rickkauffman.com
0b684c99ea79b5699e5e6d3ae3e126bcb13269bb
cd829aa60c3716b7509d028437b78f953e86da34
/myapp.py
3596b6c79bd649d94b224f84cf94ca4373faf036
[]
no_license
raghavkgarg/pytutorial
fc893e7945c137e94a3aeef085ec175530434476
5971bd3b5cb4f5a459b17d02ea59830f167f2c75
refs/heads/master
2020-07-08T11:03:31.793145
2016-08-23T18:20:26
2016-08-23T18:20:26
66,391,869
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
import numpy as np from bokeh.models import Button from bokeh.palettes import RdYlBu3 from bokeh.plotting import figure, curdoc, vplot # create a plot and style its properties p = figure(x_range=(0, 100), y_range=(0, 100), toolbar_location=None) p.border_fill_color = 'black' p.background_fill_color = 'black' p.outli...
[ "raghav.garg21@gmail.com" ]
raghav.garg21@gmail.com
58ea7cf638432fef55e251a1f9aa71b69ef8417b
590aab339221662f547f8dbd45dfed336821a8cb
/cally.py
18097070d37bf5cfbb7d8c5ce7a092071a23a84d
[ "Apache-2.0" ]
permissive
krish2487/cally
d4fdea1d80903d697af292acabd5e994567b3346
f043437f122b5b71179fc178f24180b8ee679270
refs/heads/master
2022-01-14T14:03:41.090612
2018-04-06T09:31:01
2018-04-06T09:31:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,708
py
#!/usr/bin/python # # Copyright 2018, Eelco Chaudron # # 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...
[ "echaudro@redhat.com" ]
echaudro@redhat.com
f9472b9609eb5b6bde651f529d644276ff63fe2c
ab73f80a80d77d826ae347bdea7f74f93cf71c3c
/python/tests/test_array_reverse.py
a3a26d9c1a0ae1b83ad77df70505d167f5c22695
[]
no_license
moh-ash96/data-structures-and-algorithms
4c7f7b7598d50bfc0fc96f20751598aa412a26d6
bc42163393aa835c9e763e6848335c8a14cc2832
refs/heads/master
2023-06-03T21:37:14.740791
2021-06-29T14:48:12
2021-06-29T14:48:12
348,101,936
0
3
null
2021-06-29T14:27:49
2021-03-15T19:44:23
JavaScript
UTF-8
Python
false
false
265
py
from code_challenges.array_reverse.array_reverse import reverseArray def test_array (): assert reverseArray([1, 2, 3, 4, 5, 6]) == [6, 5, 4, 3, 2, 1] assert reverseArray([89, 2354, 3546, 23, 10, -923, 823, -12]) == [-12, 823, -923, 10, 23, 3546, 2354, 89]
[ "moh.ash96@gmail.com" ]
moh.ash96@gmail.com
ca7862cad14001a86cfc5966a988df66ea996a7f
ce4913de9832a5e67b234ba911f4a5cd0bfa82f3
/envs/airsim/airsimcarenv.py
425b669390cb3cf42e49ea775fffd91ee4ea5159
[]
no_license
Arlen0615/DRL-AutonomousVehicles
6c31fe7f154af6ac43298f814edd13cbf0d35cf8
96d698896edccfab693558181924b8b411aae7a4
refs/heads/master
2021-08-11T22:28:39.778934
2017-11-14T06:04:32
2017-11-14T06:04:32
110,491,854
0
0
null
2017-11-13T02:46:11
2017-11-13T02:46:11
null
UTF-8
Python
false
false
4,560
py
import logging import math import numpy as np import random import gym from gym import spaces from gym.utils import seeding from gym.spaces import Tuple, Box, Discrete, MultiDiscrete, Dict from gym.spaces.box import Box from envs.airsim.myAirSimCarClient import * logger = logging.getLogger(__name__) class AirSimCar...
[ "kaihu@smesh.net" ]
kaihu@smesh.net
fd11361d5c3dec153900e545c8908017550eba3e
eaf921d22d1d42d70b5f49d8f97f42e27ad5c16f
/Chap03/use_regex.py
31c3dfff2b10eb17e284911ebc69fc852daa7927
[]
no_license
atastet/Python_openclassroom
0f3ff87c44527edde4722a311bf3bbece123edfd
37992f3eb8937b7480aedbbd83152451eaa8c6b8
refs/heads/master
2020-03-19T13:48:26.439159
2019-01-30T20:25:30
2019-01-30T20:25:30
136,595,991
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
# -*-coding:Utf-8 -* import re chaine = "" exp = r"^0[0-9]([ .-]?[0-9]{2}){4}$" while re.search(exp, chaine) is None: raw_input("Numero")
[ "Anthony@macbook-pro-de-anthony.home" ]
Anthony@macbook-pro-de-anthony.home
b057a3a5c3f3098da54c67a78d50a565061a32c3
0dfa97730b9ad9c077868a045d89cc0d4b09f433
/tests/integration/goldens/credentials/samples/generated_samples/iamcredentials_generated_credentials_v1_iam_credentials_sign_blob_sync.py
ff60375d5635f5825a6f29c36bb0c61572147d95
[ "Apache-2.0" ]
permissive
anukaal/gapic-generator-python
546c303aaf2e722956133b07abb0fb1fe581962f
e3b06895fa179a2038ee2b28e43054e1df617975
refs/heads/master
2023-08-24T23:16:32.305652
2021-10-09T15:12:14
2021-10-09T15:12:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,567
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 or...
[ "noreply@github.com" ]
anukaal.noreply@github.com
af132b52a2a42c7eb350dd3fad4e62461d23f6d3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03548/s330099741.py
473abd697eb7a23e0c786ec6a00b442861d84293
[]
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
118
py
#!/usr/bin/python # -*- Coding: utf-8 -*- x, y, z = (int(i) for i in input().split()) n = int((x-z)/(y+z)) print(n)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e63e563efcb703fca24d599bdd39bad1a435a2e9
261830843d9474eff5ad951eb75e273e2ecfd2b1
/ginger/app/api/v1/gift.py
b05b7333fd567547817376a010ad138a10d54962
[]
no_license
shuaibikong/RESTful
1d1c21ac77ccd0d6928a5a9170b4b3f931f13d7e
e0dfd73b79537b1cfc232f7cb3b724c935225a4b
refs/heads/master
2022-12-13T02:16:00.567817
2018-11-08T10:25:41
2018-11-08T10:25:41
147,464,952
0
0
null
2021-05-06T19:24:45
2018-09-05T05:34:19
Python
UTF-8
Python
false
false
675
py
from flask import g from app.libs.error_code import Success from app.libs.redprint import Redprint from app.libs.token_auth import auth from app.models.base import db from app.models.book import Book from app.models.gift import Gift api = Redprint('gift') @api.route('/<isbn>', methods=['POST']) @auth.login_required ...
[ "40583736+shuaibikong@users.noreply.github.com" ]
40583736+shuaibikong@users.noreply.github.com
96b72c3e8d75f73087aa5d785f9d688d43fba4a9
920b9cb23d3883dcc93b1682adfee83099fee826
/iam/meta.py
1c14641c524eaf4af143f55b16491ad41f993154
[ "MIT", "LGPL-2.1-or-later", "LGPL-3.0-only" ]
permissive
TencentBlueKing/bk-itsm
f817fb166248d3059857b57d03e8b5ec1b78ff5b
2d708bd0d869d391456e0fb8d644af3b9f031acf
refs/heads/master
2023-08-31T23:42:32.275836
2023-08-22T08:17:54
2023-08-22T08:17:54
391,839,825
100
86
MIT
2023-09-14T08:24:54
2021-08-02T06:35:16
Python
UTF-8
Python
false
false
1,689
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2020 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
[ "1758504262@qq.com" ]
1758504262@qq.com
8fa4de3bff6962cb85451b714b9b0e03e4eec89b
fb47e95101efd3b3a40ac73dcf58ed0440dec928
/find missing number in the series.py
fedd41ede866e30cd091191227488c8fe132df98
[ "MIT" ]
permissive
sundar369/coding
5a474f471041061b859795b6190793f19a1bcbc1
d5e99623f055a39604351752d494c1c8817d6d91
refs/heads/main
2022-12-19T15:55:11.584832
2020-10-21T06:43:27
2020-10-21T06:43:27
305,928,000
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
n = int(input()) arr = list(map(int,input().split())) dif = int((arr[-1] - arr[0])/n) inc = 1 ele = arr[0] while True: ele += dif if ele != arr[inc]: print(ele) break inc += 1
[ "noreply@github.com" ]
sundar369.noreply@github.com
23e1c139d1f5d6d1538a825da39ce84355784a5c
eaf993358c740e2e86df4a0cd06beed51786c045
/credictcard/model.py
8ba3b4dfe8ab95e8cc3914d77a335152733a44e1
[]
no_license
mzjdy/credict
de6bc7c7ae72e7e1a49fc3407a124bdb34b2fd77
901dced9d6455c314839bcfb5334c1d8702a5f99
refs/heads/master
2020-04-18T00:56:41.462673
2018-05-01T09:10:38
2018-05-01T09:10:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,421
py
from sklearn.cross_validation import train_test_split import pandas as pd import matplotlib.pyplot as plt import matplotlib #%matplotlib inline import seaborn as sns from numpy import log from sklearn.linear_model import LogisticRegression import math data = pd.read_csv('cs_training.csv') data.columns = [...
[ "noreply@github.com" ]
mzjdy.noreply@github.com
7e3e293ac3834b01926d52d452d737a1aaa352ae
c836d305745c0d024c75f053f619f4e3193ce978
/gelin_group.py
a071017c051f2bfaf844c2b8bfb4f873cd949500
[]
no_license
eguinosa/minimax-hex
5fc87421528eb5929994f329629edfa58b80d3a7
9adaed2afe857deb517dbeeb5ffd97da5ca83bb6
refs/heads/master
2023-06-04T15:59:51.065212
2021-05-21T02:10:56
2021-05-21T02:10:56
379,028,278
0
0
null
null
null
null
UTF-8
Python
false
false
4,776
py
# Gelin Eguinosa Rosique # C-511 class Group: """Class to represent a group of stone with the same color""" def __init__(self, game, player, positions): """ Save the location of the stones of the group, the board and the player. Look how many rows or columns covers, to see how close to...
[ "eguinosa@gmail.com" ]
eguinosa@gmail.com
1fe26b687dbd81149de336083512b6e7129e88d1
2eb779146daa0ba6b71344ecfeaeaec56200e890
/python/oneflow/compatible/single_client/test/ops/test_transpose.py
02117e32289d49fe2caa7a1e4f230115958caf6e
[ "Apache-2.0" ]
permissive
hxfxjun/oneflow
ee226676cb86f3d36710c79cb66c2b049c46589b
2427c20f05543543026ac9a4020e479b9ec0aeb8
refs/heads/master
2023-08-17T19:30:59.791766
2021-10-09T06:58:33
2021-10-09T06:58:33
414,906,649
0
0
Apache-2.0
2021-10-09T06:15:30
2021-10-08T08:29:45
C++
UTF-8
Python
false
false
4,027
py
""" Copyright 2020 The OneFlow 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 applicable law or agr...
[ "noreply@github.com" ]
hxfxjun.noreply@github.com
b9fabd9eff824bc52f679ea4a021f6c1c82aac47
21363a3e7ca2cd9be81730fdd52b2c7cc0b06d4b
/codebase/Analysis.py
e6231222c936e1a75148c926d230da74ab72a1f8
[]
no_license
AkshatParmar/InfoAndNetw
1ed9c86c09977fae9af16a4e5035acbf9aa12224
52723355638abd76e0f1a1057dd0644f6668081f
refs/heads/main
2023-01-24T11:17:32.871990
2020-12-08T21:34:30
2020-12-08T21:34:30
314,391,766
3
1
null
null
null
null
UTF-8
Python
false
false
1,104
py
from matplotlib import pyplot as plt from server import vote_tally as vt def plot(): presidents, senators = vt() ##Senators plt.figure() ax = plt.subplot() s_keys= list(senators.keys()) s_votes = list(senators.values()) cmap = plt.cm.get_cmap('hsv', 10) sen_n = len(s_keys) for i ...
[ "ranisayed16@gmail.com" ]
ranisayed16@gmail.com
60e077f3f23f697b0b33bdeca4b24594f3478247
626b14ce13986b6d5e03143e151004247659625a
/Day01-15/code/Day08/student.py
7d753978b63ee1f015b2f6a12f70198e93ff89bc
[]
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
1,108
py
""" 定义和使用学生类 Version: 0.1 Author: 骆昊 Date: 2018-03-08 """ def _foo(): print('test') class Student(object): # __init__是一个特殊方法用于在创建对象时进行初始化操作 # 通过这个方法我们可以为学生对象绑定name和age两个属性 def __init__(self, name, age): self.name = name self.age = age def study(self, cours...
[ "Focavn@users.github.com" ]
Focavn@users.github.com
b017ea97681e78e573ef2263673d410c3b1bbfb0
ed04425041ff7c18eb60d27dda5353ba3b65974b
/src/dbscan.py
e6518e7dd770950a047e138a2a618b82847123bb
[]
no_license
alexmi256/colordiff
36e927b5acb72f61bc50a17cbfed4221e42c8e61
db91e0a10a0d8b1d1e3f734ca4c67635344f2b55
refs/heads/main
2023-03-15T09:32:23.209377
2021-03-08T02:19:47
2021-03-08T02:19:47
345,106,384
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
from sklearn.cluster import DBSCAN from src.example import make_matrix, print_clusters # Try out DBScan colors, distance_matrix = make_matrix() # Compute DBSCAN # The results are pretty bad db = DBSCAN(eps=17, metric="precomputed", min_samples=1).fit(distance_matrix) labels = db.labels_ # Number of clusters in labe...
[ "alexmi3.14@gmail.com" ]
alexmi3.14@gmail.com
7b6b378236a2bc362d4690f63b090adb2c04b502
ee2bf52e37e23ea3030da212beb484319a35ed80
/2015-2016 Nivel Basico/13_ejercicio13/ejer13.py
0b89a0858602cd945032f63ee17fb4405c586e74
[]
no_license
Trietptm-on-Coding-Algorithms/CLS-Exploits
318fde8c3817fc6cf7e81ddf392f5eeac1f5c898
94ea56cf51fcd89330c0d93e62d5f3d905e5e602
refs/heads/master
2020-03-20T19:15:58.696676
2016-08-28T11:02:32
2016-08-28T11:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,286
py
import struct,subprocess, win32api p = lambda x : struct.pack("<I", x) shellcode = "\x66\x81\xE4\xFC\xFF\x31\xD2\x52\x68\x63\x61\x6C\x63\x89\xE6\x52" shellcode += "\x56\x64\x8B\x72\x30\x8B\x76\x0C\x8B\x76\x0C\xAD\x8B\x30\x8B\x7E" shellcode += "\x18\x8B\x5F\x3C\x8B\x5C\x1F\x78\x8B\x74\x1F\x20\x01\xFE\x8B\x4C" shellcod...
[ "kalianon2816@gmail.com" ]
kalianon2816@gmail.com
18ec3d099574b4d49f99ed32f6cf549f4d0278bb
a9efc041fa75d447b26f7a57fc8673f48360acec
/pe015.py
52a33de20c1caad00896b0cdd18f40ee58e87e57
[]
no_license
stepheniota/euler
9b497073c49f764a4e1140ef18851f6a0bfafdb0
6f71440ebdc34b1e077c9cf145e456648a35f474
refs/heads/main
2023-08-27T01:15:56.915553
2021-11-14T10:54:51
2021-11-14T10:54:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
""" pe 15 - power digit sum What is the sum of the digits of the number 2^{1000}? """ ans = sum(int(n) for n in str(2**1000)) print(ans)
[ "iota@usc.edu" ]
iota@usc.edu
e39ec3b82e0551f31532345f993df0e4da0ee93f
459185e0e12d486e91fcfff3e6d6174afbdf70db
/JEX-V4/Exploits/wpinstall.py
84eb5f88c61670e0b117e32045f691f557ac28bc
[]
no_license
Hdiaktoros/laravel-dorks
e42a1be938b0fdbbf17e6689d50c7f8bcf30c464
a9ae0af4a27b522f939b5c1627db3b98f18bb5c3
refs/heads/main
2023-07-05T02:59:17.032717
2021-08-21T16:30:42
2021-08-21T16:30:42
398,522,099
2
1
null
null
null
null
UTF-8
Python
false
false
3,456
py
# coding=utf-8 from Exploits import printModule import requests from random import sample from BruteForce import Wordpress # ----------------==---- MY USER AGent ----==---------------- Headers = {'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0'} # -------------------- MYSQl...
[ "frimpongasante50@gmail.com" ]
frimpongasante50@gmail.com
dc65124f1049308aad58600a95ccf125c9d4d3b1
b84305736a16279a7e3eb94b597e0a59df15676c
/src/BCD.py
a4141aaa844b1ea137f62cad07b148485872790d
[]
no_license
ellenmdai/BiasedConstraintDemotion
cefcacf9f468f3fef316b352990f8cdee3bc2c33
ebd39f2d4a6fdf4009f56265e60cf8dae4cd078f
refs/heads/master
2022-04-26T08:37:52.234488
2020-05-01T21:15:57
2020-05-01T21:15:57
260,560,460
0
0
null
null
null
null
UTF-8
Python
false
false
15,028
py
import numpy as np from pandas import DataFrame, read_csv from collections import Counter from itertools import combinations class BCD(object): """A class that performs Biased Constraint Demotion on given data. Attributes: vt (DataFrame): violation tableau of data (optional); ct (DataFrame): ...
[ "12478985+ellenmdai@users.noreply.github.com" ]
12478985+ellenmdai@users.noreply.github.com
94d7d573288eb90d05e576a11a91c7c3562fa982
231c81317b3ae93237cc3a6f55f924c8bc3cadf3
/loca_test_v2_lang.py
dc314e071e5a1e97f82a8912ca306e6c2a1aaf53
[]
no_license
qianpeisheng/indo
2acd394051ee0f18dc01a8577d4a60507888a8a1
2abe017c61eb33d466d382d92614e56e2605a663
refs/heads/main
2023-03-24T07:52:43.350718
2021-03-20T18:56:48
2021-03-20T18:56:48
348,845,962
0
0
null
null
null
null
UTF-8
Python
false
false
15,986
py
import os import torch from datasets import load_dataset from torch import nn import torch.nn.functional as F from transformers import (AutoModel, BertTokenizer, AutoConfig, DataCollatorForLanguageModeling) # AutoModelForMaskedLM from torch.utils.data import DataLoader, random_split # AutoTokenizer from torchvision im...
[ "qpeisheng@gmail.com" ]
qpeisheng@gmail.com
ceab0fc7fa5ef71ff7b8ddb2c812ea071ed34b3a
3d468777900a94f5ed2acd859b5c8fb3961072fa
/imtools.py
e99ee1460753e4a6d48b35c2c71f195ac559dbe4
[]
no_license
lgguzman/CVisionexample
ae7b571524648bb9dd3045df1fa73eef9338c906
c64b7c95afd035f51125c94708ee429ec2b86a60
refs/heads/master
2020-03-08T21:08:21.817328
2018-04-06T13:49:53
2018-04-06T13:49:53
128,400,291
1
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
import os from numpy import * from scipy.ndimage import filters def get_imlist(path): return [os.path.join(path, f) for f in os.listdir(path) if f.endswith('.jpg') or f.endswith('.jpeg')] def histeq(im, nbr_bins =256): imhist, bins = histogram(im.flatten(), nbr_bins, normed=True) cdf = imhist.cumsum() ...
[ "ing.luis.guzman.reyes@gmail.com" ]
ing.luis.guzman.reyes@gmail.com
e843bc323ab895070d72d3d47f9812b5ecceddc9
120e2282a264a784a1fa3897f86ed5c318035b0c
/single_agent_game_20x10/constant.py
fec2348f3ae5f699530ab662d50a3c770f15a67e
[]
no_license
macwiatrak/CPR_game_RL
5ac1021f4d9d03ba9978964c06e23def28d19d8b
297140bfc624f0fd84a7150fdb00aad9a904d7b2
refs/heads/master
2020-04-16T04:24:50.034200
2019-03-27T01:54:30
2019-03-27T01:54:30
165,266,095
0
0
null
2019-03-27T01:54:31
2019-01-11T15:32:27
Python
UTF-8
Python
false
false
694
py
foodList = [(2,0), (2,1), (2,2), (1,1), (7,0), (7,1), (7,2),(6,1), (3,1), (8,1), (12,0), (12,1), (12,2), (11,1), (13,1), (17,0), (17,1), (17,2), (16,1), (18,1), (4,9), (3,8), (4,8), (4,7), (5,8), (9,9), (9,8), (9,7), (8,8), (10,8), (14,9), (14,8), (14,7), (13,8), (15,8), (19,9),...
[ "maciej.wiatrak.16@ucl.ac.uk" ]
maciej.wiatrak.16@ucl.ac.uk
19102a19834c96bbcc0fad460eac549a8e9a3f99
495d05bf59a650da83119e3e796f1978fc0d5081
/第九章/9.3.py
b6ece6eb0e8895913ba67c7d3152770ac3094773
[]
no_license
jaredchin/Core-Python-Programming
776e69764656cee8ffe3257dd953166a761099c1
a081560e78685634f29c89d109efd99b3100eb73
refs/heads/master
2021-09-10T17:56:50.288037
2018-03-30T15:09:04
2018-03-30T15:09:04
111,692,170
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
import os fobj = open('test.txt', 'w') while True: aLine = input("Enter a line ('.' to quit): ") if aLine != ".": fobj.write('%s\n' % aLine) else: break fobj.close()
[ "1007707989@qq.com" ]
1007707989@qq.com
3aee936d5111a837b9237d8b38ceb76fc98be8fe
e44cf49719aa36ee4fc7314ca624cd37d04efc88
/442-find-all-duplicates-in-an-array.py
592d200f353d2ae15fb28e535a7312ad5f08e508
[]
no_license
tiaotiao/leetcode
3115d8a64353aa236c25a6af266ee54bfab7d44b
88afef5388e308e6da5703b66e07324fb1723731
refs/heads/master
2020-05-21T13:47:20.264552
2018-09-19T22:52:28
2018-09-19T22:52:28
65,435,630
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
class Solution: def findDuplicates(self, nums): """ :type nums: List[int] :rtype: List[int] """ res = [] for i in range(len(nums)): idx = abs(nums[i]) - 1 if nums[idx] > 0: nums[idx] = -nums[idx] else: ...
[ "tiaotiaoyly@gmail.com" ]
tiaotiaoyly@gmail.com
0d45e78b19f4d813d68e96f4df32cedd410ce71d
8a80bb000cda51cc3e6d2057455dd36e665ee236
/django_server/scale/settings.py
2ccccd04c674f8bf73a55d0d82092bfd3eda50ef
[]
no_license
johncohn/SmartAmericaServer
16dbef7d8643294abbb8c5314f71c351adfb65b1
98f0d719340fd8e33ff55166d227da280f4efd3b
refs/heads/master
2021-01-21T17:53:52.419511
2014-05-15T01:21:58
2014-05-15T01:21:58
19,803,308
1
0
null
null
null
null
UTF-8
Python
false
false
6,268
py
import os, yaml DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( ('Kyle Benson', 'kyle.edward.benson@gmail.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'test_db', ...
[ "kyle.edward.benson@gmail.com" ]
kyle.edward.benson@gmail.com
20a9aad0196588ee85844a524186b9c74f485d9b
63862669b6b428ef23e2733e50b47ef7a11ceb60
/basic info/varia.py
ce978e8d87db873269e2593e3bcd2404f720095d
[]
no_license
CyborgVillager/Learning_py_info
961fde2cdba7ec0b7e1aacd437aeba99083cd192
a1504ab4610f88ae2de738a49ac6513c3358a177
refs/heads/master
2020-11-25T22:17:33.966387
2020-02-11T04:34:29
2020-02-11T04:34:29
228,869,781
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
#variables def story_example(): name = "John" age = 25 para0 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In interdum, odio et feugiat auctor, ante leo t" \ "incidunt tortor, sed lacinia leo augue vel lorem. In rutrum est libero" para1 = "Nunc euis...
[ "almawijonathan@gmail.com" ]
almawijonathan@gmail.com
da0a868e0dc20cb2ab7909a7a40490865620d82e
2a409a3f43fdbad202e9827e4fffd615a734c78b
/spotifylyrics/config.py
56ac99332601cb8675a52a1bf3468090829627c8
[ "MIT" ]
permissive
Turreted/Spotify-Lyrics
db2c9e4f3de2441ce5874a9a5932866464451d86
6bbbf6c29f6183536668e557e8aebe70a0d2f5e3
refs/heads/master
2021-06-19T03:10:58.723203
2021-06-13T14:31:05
2021-06-13T14:31:05
176,770,294
24
1
null
null
null
null
UTF-8
Python
false
false
493
py
import os import pathlib """ Defines application constants """ # Spotify application constants # the unique id for the Spotify application used to read data CLIENT_ID = "cabed21db9c54f13b906e562bc864c26" REDIRECT_URI = "http://localhost:8080/callback/" # directory constants, not meant to be used directly by progra...
[ "gideonmitchell01@gmail.com" ]
gideonmitchell01@gmail.com
431602925b46ace497c918040418d87142253df9
f87dab371a20e6144935e549b7e87aed36623e9c
/data/reinforcement_learning/utility_function_7_with_state_probs/base_scripts/plotting_functions.py
985cbfe884ec2f87f232556b81482a39af860176
[ "MIT" ]
permissive
MichalisPanayides/AmbulanceDecisionGame
7d6aa1a61932671c288550335c192e40fcf7da9f
1fbf7a8321395e2908fa6b1f537b3d1e5f1bb979
refs/heads/master
2023-04-17T19:14:53.229221
2022-12-20T15:43:12
2022-12-20T15:43:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,083
py
"""Plotting functions""" import csv import itertools import numpy as np import matplotlib.pyplot as plt import ambulance_game as abg def team_expertise_priority(srv, ind): # pylint: disable=unused-argument """ Servers priority based on expertise """ if srv.id_number == 1: return 0 if s...
[ "noreply@github.com" ]
MichalisPanayides.noreply@github.com
0870115ce996bd2ba821fa63ddbc96a6a15f12d1
badaf185bf21ab3318ef340d2c5b428f1f83f43f
/snmp/ex4_week2.py
fde07320ad5d75e856a29e4065542052833d47a1
[ "Apache-2.0" ]
permissive
cfalco73/python_class
48259956f047c8fc32430b16a0335bc782b2d7e3
a2a0628c6f3480d502816d34b7ba05d974feca0a
refs/heads/master
2021-04-12T08:08:49.424416
2018-04-13T21:23:48
2018-04-13T21:23:48
126,092,245
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
#!/usr/bin/env python from __future__ import print_function, unicode_literals from snmp_helper import snmp_get_oid,snmp_extract COMMUNITY_STRING = 'galileo' SNMP_PORT = 161 MIB_DESC = '1.3.6.1.2.1.1.1.0' MIB_NAME = '1.3.6.1.2.1.1.5.0' router_1 = ("184.105.247.70", COMMUNITY_STRING, SNMP_PORT) router_2 = ("184.105...
[ "carlo_falco@hotmail.com" ]
carlo_falco@hotmail.com
b1561a5a09375df8219b095e33b192ffafb03de1
eb755b42aa2ec9e6ab63001a6293d5e225837086
/Other_web_spider/Phantomjs/Phantomjs_id_location.py
f4b494cfe8dbfb44c591643255e8da05cbfcbc6d
[]
no_license
paramedick/python-web-crawlers
7c493cbc51c4189d0dabaeae6cfba84123f7401d
5deea2073583bbb8d229c6404680e543ebcdbc5b
refs/heads/master
2022-01-19T21:25:29.058709
2019-08-13T14:43:22
2019-08-13T14:43:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
# coding=utf-8 from selenium import webdriver browser = webdriver.Firefox() browser.get("http://www.baidu.com/") browser.find_element_by_id("kw").send_keys("python") browser.implicitly_wait(60) browser.quit()
[ "429095816@qq.com" ]
429095816@qq.com
249c8be8faca60c67ed1827c6122bee07e1fa8ac
a5a4cee972e487512275c34f308251e6cc38c2fa
/tests_old/tests_openmpi/test_hello_world/test_hello_world.py
b5a6b03915a4a452b63bb6efdf8838d172ecddf7
[ "MIT" ]
permissive
eragasa/pypospack
4f54983b33dcd2dce5b602bc243ea8ef22fee86b
21cdecaf3b05c87acc532d992be2c04d85bfbc22
refs/heads/master
2021-06-16T09:24:11.633693
2019-12-06T16:54:02
2019-12-06T16:54:02
99,282,824
4
1
null
null
null
null
UTF-8
Python
false
false
706
py
from subprocess import call import os # possibly the greatest hack of a test to ever be written def test_hello_world(): call(["sbatch", "runjob_hipergator.sh"]) while True: r0 = os.path.exists("rank_0") r1 = os.path.exists("rank_1") r2 = os.path.exists("rank_2") r3 = os.path.ex...
[ "seatonullberg@gmail.com" ]
seatonullberg@gmail.com
6c6313683fedb59ebf2b417b4e225337fbb854d1
42550b48b3fbb23f2ea95183eddbe29d23370db9
/3. Control Flow/2_perulangan.py
93f0123c91804b41c5294bb0f0dcd266641d16c8
[]
no_license
all4yandaru/Python
ad4beafe1e83591c6383dae149f29f492e8e1015
b47c66f37c3e9cd35c28942eac64efdb53abe70f
refs/heads/master
2023-04-26T05:05:55.472699
2021-05-27T03:00:59
2021-05-27T03:00:59
371,228,665
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
# for for huruf in "Dicoding": print("Huruf {}".format(huruf)) print("=========") flowers = ['mawar', 'melati', 'anggrek'] for bunga in flowers: print("flower : {}".format(bunga)) print("=========") for index in range(len(flowers)): print('Flowers [{}]: {}'.format(index, flowers[index])) for i in range(3...
[ "all4yandaru@gmail.com" ]
all4yandaru@gmail.com
f39918fe446e14b7afba346efa267b6e087a3fe4
ad784ca84b36073cd6abc3c29b696ffc08d3851f
/practice2.py
018468b2acb9a777bfe9263503094aa8e2ef3441
[]
no_license
YogeshwaranaPachiyappan/Python
356f0114e03cb017cc15e842815177fe3e18f1bb
01d7383c0691f57eb8640bad668c563998946671
refs/heads/master
2020-12-04T05:31:51.343612
2020-07-28T04:51:03
2020-07-28T04:51:03
231,633,361
0
0
null
2020-04-08T03:22:11
2020-01-03T17:23:04
Python
UTF-8
Python
false
false
59
py
s=input() a=s.split() print(len(a)) print(a.upper(:1))
[ "noreply@github.com" ]
YogeshwaranaPachiyappan.noreply@github.com
2752c83cd011675845e421f06b6105a534c335c1
0b490626a19dae9d2b9da68cebad27ee43c3dec5
/python/seqdiff/__main__.py
3b756498b413ec01837a11212d0b346101f4a8cd
[ "Apache-2.0" ]
permissive
tamuhey/seqdiff
1c8e4bb8bafaad069472282835a245a7d2b94ffa
4bd79979fbce25989d55644d6e3ca2efbc15edd8
refs/heads/master
2023-06-15T19:23:41.763124
2021-07-13T05:08:16
2021-07-13T05:08:16
273,475,966
5
0
null
2021-07-13T05:07:25
2020-06-19T11:19:56
Rust
UTF-8
Python
false
false
96
py
from seqdiff import print_diff if __name__ == "__main__": print_diff([1, 2, 3], [1, 3, 4])
[ "tamuhey@gmail.com" ]
tamuhey@gmail.com
b3cdcb8ef497d5e18564d7b7f47262c537e111e3
b89ec2839b4a6bd4e2d774f64be9138f4b71a97e
/dataent/website/doctype/website_settings/website_settings.py
4fc4412d550622749995427444bce0dbc835241c
[ "MIT" ]
permissive
dataent/dataent
ec0e9a21d864bc0f7413ea39670584109c971855
c41bd5942ffe5513f4d921c4c0595c84bbc422b4
refs/heads/master
2022-12-14T08:33:48.008587
2019-07-09T18:49:21
2019-07-09T18:49:21
195,729,981
0
0
MIT
2022-12-09T17:23:49
2019-07-08T03:26:28
Python
UTF-8
Python
false
false
4,869
py
# Copyright (c) 2015, Dataent Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals import dataent from dataent import _ from dataent.utils import get_request_site_address, encode from dataent.model.document import Document from six.moves.urllib.parse import quo...
[ "38303879+dataent@users.noreply.github.com" ]
38303879+dataent@users.noreply.github.com
df9e7c03601392167c361181c786ab8f9bbea75f
9a0b070f3f3501c6ac49b77008af6386ba6876a4
/2021/Oct/1012/4012_요리사/s1.py
1790bfaecded6f96b64791633700289227062390
[ "MIT" ]
permissive
Jin-RHC/daily_algo
9f865e1733748465d069f8b484ed061e61fd7f40
7985a69bf62621ef88319a035af00b52831fc105
refs/heads/main
2023-08-26T00:10:21.128812
2021-10-25T16:14:26
2021-10-25T16:14:26
415,309,428
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import sys sys.stdin = open('input.txt') from itertools import combinations T = int(input()) for tc in range(1, T + 1): N = int(input()) lst = [list(map(int, input().split())) for _ in range(N)] target = N // 2 comb = combinations(range(N), target) answer = 100000000000000 for i in comb: ...
[ "gksrnrdmlsk@gmail.com" ]
gksrnrdmlsk@gmail.com
2baeb00b87da6023b8316c4f129c32db3694b122
397dd04f8c7b55575c7c147261957adfa45b0fa9
/LF/LF1.py
2776a33b6d88c21518bd0ea15dbae50e2a65b3bb
[]
no_license
ArminJZ/Dining-Suggestion-Chatbot
6556c0f052f2241a5d18afdbe1a8694bc3bf08bb
7616e959a78c58bbf1d8b7c92ea5f7148f9629f0
refs/heads/master
2021-03-30T08:57:13.187622
2020-03-17T17:42:59
2020-03-17T17:42:59
248,034,810
0
0
null
null
null
null
UTF-8
Python
false
false
7,935
py
from botocore.vendored import requests import json import os import time import dateutil.parser import logging import datetime import urllib import sys import boto3 try: # For Python 3.0 and later from urllib.error import HTTPError from urllib.parse import quote from urllib.parse import urlencode excep...
[ "woodenrubberzhang@gmail.com" ]
woodenrubberzhang@gmail.com
bbb3f58b7effacb2400ce12ff121834858bb00af
5ff85cb7c0f447b6cd35bd521fde6b0e3fe76443
/webcopy1.py
1f140b91561f65d4049380294bef59a520cd2eba
[]
no_license
priyanshusankhala/Research-paper
17d9e72cca31439818631f236d37c9f29319f71e
a97bec6239abd8acef6cc8fbbae23706b082b993
refs/heads/main
2023-07-15T21:02:27.533836
2021-08-27T10:21:32
2021-08-27T10:21:32
366,608,391
0
0
null
2021-05-12T06:08:25
2021-05-12T05:59:03
null
UTF-8
Python
false
false
12,205
py
import urllib import json as m_json from urllib import request from urllib.parse import urlparse import sys import enchant from numpy import array from requests_html import HTMLSession from collections import Counter from urllib.parse import urlparse from bs4 import BeautifulSoup from urllib.request import urlopen impo...
[ "noreply@github.com" ]
priyanshusankhala.noreply@github.com
cb5db349433375952b79438f4586f8e8eb237a43
e9ff9715adbf6ed11d5073c966ae9ab586ff5942
/Desktop/code/app.py
0f596818aba02088fa0db725d761289e00b9b84b
[]
no_license
nischal-sudo/Flask-repo
f6dd42234f39dd524fab9f8955002b89e6b27bc9
c50ceb7b118935e9eb7e82e66f216b5b1066f41f
refs/heads/master
2022-12-12T20:52:41.191398
2020-09-07T15:14:00
2020-09-07T15:14:00
292,005,598
2
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
import os from flask import Flask,request from flask_restful import Api#An(API) is a set of routines, protocols, and tools for building software applications. # Basically, an API specifies how software components should interact from flask_jwt import JWT #security purpose 1 from resources.item import Item,ItemList fro...
[ "nischalhp98@gmail.com" ]
nischalhp98@gmail.com
30a66d64f31cafc94958091c752359386e6a4311
224bbfdc32d0863f2c01dc8df5d22f99d8ba8a59
/Django-Angular-Ionic-Env/Scripts/django-admin.py
c1c7b58459de83af3b060986cd7ea54a45f133fb
[ "MIT" ]
permissive
ricardoBento/Django-Angular-Ionic
f070d4a43e0a8fd5a99aeb55976f17a4937bf081
fea23986deb613603a150d11787b609971c7152f
refs/heads/master
2022-11-10T02:46:17.808929
2020-06-29T13:21:37
2020-06-29T13:21:37
269,649,736
0
0
MIT
2020-06-05T13:41:41
2020-06-05T13:41:39
null
UTF-8
Python
false
false
206
py
#!c:\users\rbento\documents\github\django-angular-ionic\django-angular-ionic-env\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "ricardo@flowhospitalitytraining.co.uk" ]
ricardo@flowhospitalitytraining.co.uk
2b12e572e60b666f33fddfbc79c028ad4366a179
9c33da70a0197addfa7fc53786a64ad0eaa06cbb
/bubbleSort.py
f33e617519563e098bf003936265825e18b844a5
[]
no_license
manuellara/dataStructuresPython
03e8e554055605dbf47532f4e2085f3ac9e69528
f59014b90e2c9260e5bd3ebeefb3780ee54d1df3
refs/heads/master
2020-03-27T01:57:49.908183
2018-08-22T20:26:59
2018-08-22T20:26:59
145,757,070
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
#Bubble Sort #Runtime :: O( n ) #Space Complexity :: O( 1 ) #good for small lists def bubbleSort( list ): for i in range( 0 , len( list )-1 ): for j in range( 0 , len( list ) - 1 - i ): if list[ j ] > list[ j+1 ]: list[ j ] , list[ j+1 ] = list[ j+1 ] , list[ j ] return l...
[ "manuellaraa@gmail.com" ]
manuellaraa@gmail.com
7ac53b30a3b57016edf0f73d53b71a70649b08bc
410a0fac2282d867aa7e531c40c7289e4484510c
/venv/bin/django-admin.py
61ab7e2731c49b3611f2427a7932908cf764ede8
[]
no_license
NickVazovsky/parser_go
922a46ecca1c3def1adcfe3e029c82641247804b
a8dc3c082d246e4325d13e7ef1863df7238694cc
refs/heads/master
2020-07-29T12:50:55.579542
2019-09-20T14:31:02
2019-09-20T14:31:02
209,806,760
0
0
null
2019-09-20T14:26:48
2019-09-20T14:13:45
Python
UTF-8
Python
false
false
164
py
#!/home/nick/PycharmProjects/new_project/venv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "nvazovsky@gmail.com" ]
nvazovsky@gmail.com
ecfcb71ce402310d3b32ca4dcfac0fb352addc47
d5c8ca88c643492b95ca57e972b76bcc56aac251
/tests/fr.py
04c4b5cd0876d96bfc25cd944cadcaa63294945c
[ "MIT" ]
permissive
olopost/l18n
b8462e6cd5eed0293e9e18cde23c850bc8553514
c6ef71a94f32537d5c072b493b94d35ee06d9bf4
refs/heads/master
2020-03-19T16:14:17.737843
2018-06-09T09:12:34
2018-06-09T09:12:34
136,706,924
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# -*- coding: utf-8 -*- import l18n from ._base import TestCase from ._compat import unicode class FrTests(TestCase): language = 'fr' def test_tz_city_translated(self): self.assertEqual( unicode(l18n.tz_cities['America/North_Dakota/New_Salem']), u'New Salem (Dakota du Nord)...
[ "samuel@meyn.fr" ]
samuel@meyn.fr
3da690d33b022de40070de3907852084abdc8e90
6badd56b2360979c1c4a22cfe719de9c6d5d56d7
/Flask/migrations/versions/8aaa54384776_.py
27e8343759c655f46575b7f6ad673423ef8c60f8
[]
no_license
ferrufino/t247
e78afff820816a2db39fbba95d2da94ce635e4ef
6247983295c448c987bef5eff40be99c61e43bcf
refs/heads/master
2021-09-03T15:15:23.945909
2016-12-26T23:06:37
2016-12-26T23:06:37
23,481,514
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
"""empty message Revision ID: 8aaa54384776 Revises: 839b2982db1f Create Date: 2016-11-29 18:06:51.782267 """ # revision identifiers, used by Alembic. revision = '8aaa54384776' down_revision = '839b2982db1f' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
[ "msf1013@gmail.com" ]
msf1013@gmail.com
c064a3df67c9e1823f33effe6f863832443c9cf3
7f8660729c81b3401147d813ec30fc86e2642c30
/python/funkcjee.py
fbac1675e083cbae3132c34d3d5d1b20141d4c4c
[]
no_license
Patrycja13/gitrepo
881e0451933919ef007bf649ea41af3014edb254
ea9f9fdce484c477b26cbb25f28261747657261a
refs/heads/master
2021-07-10T00:01:41.796938
2019-03-25T08:29:54
2019-03-25T08:29:54
103,923,098
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # funkcjee.py # # import random def wypelnij(lista, ile, maks): for i in range(ile): lista.append(random.randint(0, maks)) return lista def drukuj(lista): licznik = 0 for liczba in lista: if not liczba % 2: licznik += 1 ...
[ "patrycja.gawel13@onet.pl" ]
patrycja.gawel13@onet.pl
1f51647eba384115a71102ac36198438a8261671
55b78bafd8a396907ec669236206d1ea74a36610
/manage.py
b44e526b9dca86c886ab3a6c199470a05d761f59
[]
no_license
LorroWijn/eHealth
8dd6d171e6c4ab085c3d372f3ef404577de66afb
b963a3b92d774ca1e8cd63d7ec3736d4579ebbac
refs/heads/master
2023-02-11T01:54:46.658539
2021-01-12T10:46:09
2021-01-12T10:46:09
301,711,008
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'eHealth.settings') try: from django.core.management import execute_from_command_line except Impo...
[ "33690232+LorroWijn@users.noreply.github.com" ]
33690232+LorroWijn@users.noreply.github.com
9b065ad3bc64f06b7fcaff92d27fb2ee90ecfe6e
fc58366ed416de97380df7040453c9990deb7faa
/tools/dockerize/webportal/usr/lib/python2.7/site-packages/oslo_db/tests/old_import_api/utils.py
44eb1aeb24eb802ae554e3fcfda13866332912a7
[ "Apache-2.0" ]
permissive
foruy/openflow-multiopenstack
eb51e37b2892074234ebdd5b501b24aa1f72fb86
74140b041ac25ed83898ff3998e8dcbed35572bb
refs/heads/master
2016-09-13T08:24:09.713883
2016-05-19T01:16:58
2016-05-19T01:16:58
58,977,485
1
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
# Copyright 2010-2011 OpenStack Foundation # 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...
[ "wenxiang.wang1204@gmail.com" ]
wenxiang.wang1204@gmail.com
38e66487b8f3e6080d36fa5c19b8a95bc793311f
0e9f73d2ef1239b22e049ef6338362da7dbfb122
/source/web/Django/FatQuantsDjango/FatQuantsDjango/ticker/migrations/0065_auto_20190209_2232.py
da99dbc20030cad9a96f28f1f13228b4442183bd
[]
no_license
Andy-Mason/FatQuants
3c4bfafc29834af76b0be40e93b0e210e0ef5056
edd0e98f4599ef91adbdf4179164769ddd66c62a
refs/heads/master
2023-01-11T10:57:50.563742
2021-08-11T19:04:59
2021-08-11T19:04:59
73,127,295
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
# Generated by Django 2.1.3 on 2019-02-09 22:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ticker', '0064_auto_20190209_2231'), ] operations = [ migrations.AddField( model_name='tickereoddata', name='close_v...
[ "Andy-Mason@users.noreply.github.com" ]
Andy-Mason@users.noreply.github.com
789f531277e300cc7635ee1540d92eaf1537f0b8
a962e861619672524f8601ec721bf22dee9af0e9
/webapp/views/views.py
18d3d258bdff686fa2bffcbeaa7dfa41c1db92d5
[]
no_license
GELIFT/backend
679fdfd663c62153c0bf18ea1e450e12991e66e0
a39bf74d04dc4b2731da370860f0c49064b49868
refs/heads/master
2020-03-30T20:51:44.048039
2018-10-04T18:34:59
2018-10-04T18:34:59
151,607,239
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render from webapp.models import Event, User @login_required def admin_dashboard(request): events = Event.objects.all().order_by('-start_date')[:5] users = User.objects.exclude(is_superuser=True).order_by('last_name')[:5] ...
[ "g.a.f.derks@student.tue.nl" ]
g.a.f.derks@student.tue.nl
7a6558293f2b26ecc4cad8e89e91cbb1ffb1a202
c028e15a5287ad9ca5cf58ccacccaaa9c32f40a4
/apps/ex08query_explorer/migrations/0001_initial.py
c2fc147748f476bb8079f055679d77dfb272a6be
[]
no_license
huyx/django-exercise
0f6363c7ae7b0bb5409fa673118e50db221cb9be
6d81c8a5c94ee0820dfc56f817be3144c9636c30
refs/heads/master
2021-07-09T11:15:00.819385
2017-10-04T12:33:41
2017-10-04T12:33:41
105,282,358
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-04 03:01 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Query'...
[ "ycyuxin@qq.com" ]
ycyuxin@qq.com
503cdbd13ac9e95d89d2847aabb527de1c810769
369b7f114f9bd9b45dd5fef77a070cb73abb68d1
/handle/itl/h20180123/insertFundInvestLog.py
0754801c39b9a7088aaa3f77d47ee88123974bf7
[]
no_license
lyjloveabc/thor_handle
d790ee25317f724825c94a6b346a034ec0ae6e3d
8b9eda97ec873f3bf1732a428898a04d6a55c0af
refs/heads/master
2021-12-27T10:15:16.668264
2021-08-16T13:45:34
2021-08-16T13:45:34
84,824,162
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
import json import requests class InsertFundInvestLog: def __init__(self): # self.ENV = 'http://127.0.0.1:7001' self.ENV = 'http://127.0.0.1:7001' self.ENV_PROD = 'http://121.43.166.200:7001' def handle(self): with open('fundInvestLog_20180301.json', 'r') as f: da...
[ "546223592@qq.com" ]
546223592@qq.com
92a00f87e97ffb33bc7cf6bcb4ca4102f87306bb
0d05a57a20f482c1435a6945a908cf28efbf15ba
/perceptrons/classical/tinyYolo/pyjawns/dailybatcher_1.py
a84adee72ed0587e901cdc57af714621d85b26e6
[]
no_license
vinceparis95/zoo
67950d35585111bcd3f377f93f4de7b09dc45bb4
12d44327fc8bec5da2f5ea286dfeb24a5183194c
refs/heads/master
2020-09-10T22:03:39.231942
2019-11-21T02:05:54
2019-11-21T02:05:54
221,846,140
0
0
null
null
null
null
UTF-8
Python
false
false
2,796
py
import pandas as pd import numpy as np import datetime import glob import re ''' this program takes a daily batch of classifications for an environment, and creates a matrix, containing 'id', 'age', and 'feature sum' columns. These matrices are sent to output folders, one for each environment. ''' # create 'file' col...
[ "vinceparis19@gmail.com" ]
vinceparis19@gmail.com
f44c79dba52af15a4c324b94646a2e32d5a6143e
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.5_rd=0.65_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=90/sched.py
73271d93d6d30c676753279395b2f3b6ba2f57c3
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
-X FMLP -Q 0 -L 3 93 400 -X FMLP -Q 0 -L 3 80 400 -X FMLP -Q 1 -L 2 79 250 -X FMLP -Q 1 -L 2 57 175 -X FMLP -Q 2 -L 1 54 200 -X FMLP -Q 2 -L 1 39 400 -X FMLP -Q 3 -L 1 37 125 -X FMLP -Q 3 -L 1 33 200 29 150 18 150 16 150 11 125 11 125
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
c81a79a1e9e75fd4a88e801d5f26317e03ca49a3
e9c293194c317f4b4771074291e50a3f6545b279
/xmltxt.py
c8df80cec34f6cc7a927b9f3c09936d6a6fe325a
[]
no_license
XLSAAA/yolov5
5928a3b1c2b08d1a56d6de8f0720d17dfee5b42f
ad6a745341167e1d96c79d86eb5557b5ae6e352e
refs/heads/main
2023-07-07T22:40:37.477448
2021-09-05T03:17:07
2021-09-05T03:17:07
403,201,570
0
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
import os import xml.etree.ElementTree as ET dirpath = 'F:/yhzkpoj/yolov5-master/imagetxt' # 原来存放xml文件的目录 newdir = 'F:/yhzkpoj/yolov5-master/fenglangjuxu' # 修改label后形成的txt目录 if not os.path.exists(newdir): os.makedirs(newdir) for fp in os.listdir(dirpath): root = ET.parse(os.path.join(dirpath, f...
[ "noreply@github.com" ]
XLSAAA.noreply@github.com
2433ea1d0965c169a7c6fd0e959543ad462f83d3
7dcb8b52d2c7bd223a86fa93e40c0153b0959206
/Scapy/scapy_sniff.py
6d99313a30ebd36be3fce903987e728c285c233e
[]
no_license
gast04/CTF_ToolBox
2e36f81f083a1f4518a817e5fcaf8dfaa44e0b31
a1d74448a936e3b8ba1288edc099794776582fbd
refs/heads/master
2021-10-25T18:50:03.154094
2021-10-24T13:08:39
2021-10-24T13:08:39
94,090,071
15
1
null
null
null
null
UTF-8
Python
false
false
295
py
from scapy.all import * def pkt_callback(pkt): if TCP in pkt: print "TCP pkt" elif UDP in pkt: print "UDP pkt" # call without filter to get all packets sniff(iface="enp0s25", prn=pkt_callback, store=0) #sniff(iface="enp0s25", prn=pkt_callback, filter="tcp", store=0)
[ "kurt.nistelberger@student.tugraz.at" ]
kurt.nistelberger@student.tugraz.at
23ad3618568496efcd28687742ed0ff95e48fa3b
ad29d032cc11757584629d221dc4748cd5d8c5eb
/optimizer.py
e14ba389c1a30a92099b2e03553d99a932b71a44
[]
no_license
joalmei/Img2Mesh
58b26354f36081e474d20b88f2ec0d0d47ee2add
7299c069ac0f88e9ff9d29ece939ca4df1c05016
refs/heads/master
2022-03-24T11:21:36.882254
2019-12-05T13:56:17
2019-12-05T13:56:17
222,305,444
3
0
null
null
null
null
UTF-8
Python
false
false
4,503
py
import tensorflow as tf from tensorflow import keras import tensorflow.keras.backend as K import time import random import matplotlib.pyplot as plt from operator import itemgetter from losses import chamfer_loss from tools.optim_tools import shuffle_tensors # =======================================================...
[ "jv.aaguiar@gmail.com" ]
jv.aaguiar@gmail.com
13e2272bb18ea159a1d979995232168771b64045
3b930f60a7bea984c309f2a5572af2a586a6ca9a
/mango-python/bdgenomics/mango/utils.py
3c047972f51c6ab90e95a6ad5a0c0d2d26fafe11
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
shaneknapp/mango
00a2231c410a917747e66e8d520ae5c4a071d1ea
6eba24abd2387bd2c52ad319b34c8a82a904ec50
refs/heads/master
2020-06-10T03:48:46.360379
2019-06-24T19:16:01
2019-06-24T19:16:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
# # Licensed to Big Data Genomics (BDG) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The BDG licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this fil...
[ "akmorrow@berkeley.edu" ]
akmorrow@berkeley.edu
d15d0f7899b5d69e37ae286c5bc3ca8972755234
05fbca423d3704c4c2f75ad0677811bbd2bc8ec3
/sawa/urls.py
333b5d28c62c0d15f9407b7e940e5524041cc760
[]
no_license
stilgeki/SAWA
653add93da5a5263bdf7c720bb5344a9e4689192
4f3534a705ab1bae13f96b7e770f934f2a0550c2
refs/heads/master
2016-09-14T11:07:47.182117
2016-04-28T00:42:14
2016-04-28T00:42:14
57,258,358
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.upload, name = 'upload'), url(r'^execute/$', views.execute, name = 'execute'), url(r'^help/$', views.help, name = 'help'), url(r'^results/$', views.results, name = 'results'), url(r'^loading/$', views.loading, na...
[ "stilgeki@miamioh.edu" ]
stilgeki@miamioh.edu
e20e7f340b0e719fa019c02d2a227a6589f4cc4f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_baccalaureates.py
b6b3d264696b8bd5b102cbd3f2ddde23ad54b79c
[ "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
287
py
from xai.brain.wordbase.nouns._baccalaureate import _BACCALAUREATE #calss header class _BACCALAUREATES(_BACCALAUREATE, ): def __init__(self,): _BACCALAUREATE.__init__(self) self.name = "BACCALAUREATES" self.specie = 'nouns' self.basic = "baccalaureate" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ad8ca63c444d4bf8b98831272e3fa7df41cd671d
331635a7ffc237ebc34722d6eb2ae69e0b82c3a2
/20170818-threes-and-twos/threes-and-twos.py
b79b054b5eab3683bc35f973d3a6c7f9fcda2414
[]
no_license
brmcdonnell/riddlers
22192dd07288be99f5fcd659d68be9a65a32f3f7
674cb31637ed88f29f37078de1945d367895a2ca
refs/heads/master
2022-04-20T08:36:00.402698
2020-03-28T20:44:54
2020-03-28T20:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
import numpy as np import pandas as pd sq = [3, 3, 3, 2] ITER = int(1e4) for i in range(1, ITER): sq = sq + [3] * sq[i] + [2] print('\nTable of 3s and 2s:') print(pd.Series(sq).value_counts()) print('\nProportion of 3s and 2s:') print(pd.Series(sq).value_counts() / len(sq))
[ "tim.book@summit.local" ]
tim.book@summit.local
38986d4a704fb788926d73c8dcd2ed3bad07d847
45de3aa97525713e3a452c18dcabe61ac9cf0877
/src/primaires/objet/types/indefini.py
72fd243688f6d99b9e1d5c92bccd62e605901e8d
[ "BSD-3-Clause" ]
permissive
stormi/tsunami
95a6da188eadea3620c70f7028f32806ee2ec0d1
bdc853229834b52b2ee8ed54a3161a1a3133d926
refs/heads/master
2020-12-26T04:27:13.578652
2015-11-17T21:32:38
2015-11-17T21:32:38
25,606,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,744
py
# -*-coding:Utf-8 -* # Copyright (c) 2010 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # l...
[ "kredh@free.fr" ]
kredh@free.fr
d50d43cea20a3bde861eedd107d12122e4ea223d
18936a3058a0f130676535a3ee6408239fd7cdbc
/tests/path_helper.py
ed60538c773ea3cff382d9b7f778c6548d9ddf3d
[ "BSD-2-Clause" ]
permissive
thxo/cabrillo
4b7b5446087897f1a5a57a1aaca93348f4b37b99
fbfc047c42f877ff139de367b359de0af1e20441
refs/heads/master
2023-04-07T08:56:00.674525
2023-04-02T08:40:03
2023-04-02T08:41:48
161,945,220
12
7
BSD-2-Clause
2023-04-02T08:32:49
2018-12-15T21:28:06
Python
UTF-8
Python
false
false
239
py
import sys import os.path """Make the cabrillo module importable from the tests' point of view.""" project_root_dir = os.path.dirname(os.path.dirname(__file__)) if not project_root_dir in sys.path: sys.path.append(project_root_dir)
[ "21995564+thxo@users.noreply.github.com" ]
21995564+thxo@users.noreply.github.com
8de09eab1d45109af504b4a4e86309ad1f917a0d
eeccdfd79556fa3b867733132c9e4182389b3380
/InstanceHealth/flask/lib/python2.7/encodings/iso8859_9.py
1e9881a9bbe9cac0aed38804d7f58850314df9f8
[]
no_license
gokula1995/saveTime
ce44c5c4b48e1e3d9bc8af8c26b8e4f379937911
82f5554932cbdb870595298a6c93a3a1cd97d95a
refs/heads/master
2020-07-05T17:09:08.012468
2019-10-20T15:04:47
2019-10-20T15:04:47
202,707,399
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
/usr/local/Cellar/python@2/2.7.15_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_9.py
[ "gokula.adabala@gmail.com" ]
gokula.adabala@gmail.com
b7209cadc13f45308b995e0899d72fa860e99a50
30f654d2feea989ed36756a3beab302c4fa51a94
/DjangoDockerDemo/wsgi.py
b0d95077b72daa9b3cdd65ac27ebaad0416049bd
[]
no_license
cbalkig/DjangoDockerDemo
a3d061f0ab50bfd8151246d59b8cf80eef61b125
384ac5806399d01f5597db3a9e0c5203b285ee85
refs/heads/master
2022-04-20T07:04:55.984324
2020-04-22T12:14:58
2020-04-22T12:14:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for DjangoDockerDemo 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "balki1985@gmail.com" ]
balki1985@gmail.com
82d72696650cdd9a2724152e1d3ba36d60cf2985
683289aa4b0c9788b0f3d11dcd8b6cabaefbf17f
/solid/2. open_close_principle/__init__.py
dc82f5e9024073acaeec7d2fac505c84d9bd85e4
[]
no_license
Mort4lis/design-patterns
59f8387031da138416e73dbb2175001f67656639
2a6e3a46c877df94f5681798f8bea3a6a506fd59
refs/heads/master
2022-04-23T16:25:35.878979
2020-04-25T13:03:41
2020-04-25T13:03:41
258,315,417
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
# Принцип открытости / закрытости # Расширяйте классы, но не изменяйте их первоначальный код! # Нужно стремиться к тому, чтобы классы были открыты для расширения, # и закрыты для изменения. # Открытый класс - класс, который доступен для расширения (путем создания подкласса) # Закрытый (законченный) класс - класс, у к...
[ "mortalis94@gmail.com" ]
mortalis94@gmail.com
1bdf3386a5b0d8cfbe5b707f75b6b7a97e05548a
2a713ff21aba33bcbe54ea1448a0509d3ee1a5fd
/environments/CartPole-v1/discount_factor.py
54c5062d23b82605982b0a1083e6ceb304960052
[ "Apache-2.0" ]
permissive
ShreyanshDarshan/PyTorch-NEAT
b1b8a3e62d029b6db02459510a6a7d6c2f0f7d06
062efa487da3f7e9b444af7babd7868028bbb5f3
refs/heads/master
2022-10-23T17:49:20.757644
2020-06-07T19:37:18
2020-06-07T14:20:56
270,021,251
0
0
Apache-2.0
2020-06-06T20:04:36
2020-06-06T15:24:33
Python
UTF-8
Python
false
false
2,249
py
# Copyright (c) 2018 Archit Rungta # # 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...
[ "architrungta120@gmail.com" ]
architrungta120@gmail.com
527e23b43539f94bb5c055d96fa9cee41d724973
889949036343859dba198e2640f4d5cbed396673
/insta_project/insta_project/urls.py
c6dc4921aed5fc7c69771c533c7c81f4f54e3772
[]
no_license
RiyazUlHaque/s3Django
8d7f096d6a560db2e6ee37328e4848dcc8128a7d
2e8b52330c04345c6e7e0edc3e180a540f5dd630
refs/heads/master
2023-01-24T22:02:32.129575
2020-12-01T20:48:52
2020-12-01T20:48:52
290,001,212
0
1
null
null
null
null
UTF-8
Python
false
false
1,036
py
"""insta_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...
[ "riyazulhaque922@gmail.com" ]
riyazulhaque922@gmail.com
2e512f27daf59d99f6040b185763a00b8e07ea3a
8a84375dac5e6b33215d20e12e0c197aeaa6e83d
/docs/conf.py
9ff817f5b2af6580eaed06b752ba69a80d83d411
[ "Apache-2.0" ]
permissive
michaeljoseph/pymoji
5579af089cabf1784c656e7fddf9d20f9e6f5d6a
4bf26babc7b968d9a753907d4db5402cfd5c6d63
refs/heads/master
2021-01-01T18:12:37.805141
2013-12-09T10:42:24
2013-12-09T10:42:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,403
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # complexity documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # au...
[ "michaeljoseph+github@gmail.com" ]
michaeljoseph+github@gmail.com
f778fe4cf71a8dc151b39915e39e96516fc62612
00b20ac164caeea7eda33334b514741323034ab1
/Parsivel/RawParsivel.py
ad4cc877c2989e73a6388ad00ac7d1b7655494c8
[]
no_license
joejoezz/PyOLYMPEX
1a081eac1ab8be54d06c02e8b3fabcb71ac33bc1
1ce7f51808ae6c0ff2a49c1ac636819793e3d417
refs/heads/master
2021-01-10T09:53:44.119668
2018-01-29T03:03:27
2018-01-29T03:03:27
48,900,617
0
0
null
null
null
null
UTF-8
Python
false
false
8,093
py
import numpy as np import pdb import datetime def read_parsivel(filenames): ''' Takes an APU Parsivel file, returns a RawParsivel object ''' # initialize class: raw_parsivel = RawParsivel() # read parsivel file # takes array of filenames raw_parsivel.read_parsivel_file(filenames) ...
[ "joejoezz@gmail.com" ]
joejoezz@gmail.com
e73cfc2cdec009c867b3c766a6a035d38f33dfd6
b3ab2979dd8638b244abdb2dcf8da26d45d7b730
/cloudcheckr_cmx_client/models/azure_csp_authorization_request_model.py
e76c907e4fd2a4a72db3231108f61a129ace91ae
[]
no_license
CU-CommunityApps/ct-cloudcheckr-cmx-client
4b3d9b82c5dfdaf24f8f443526868e971d8d1b15
18ac9fd4d6c4ae799c0d21745eaecd783da68c0c
refs/heads/main
2023-03-03T19:53:57.685925
2021-02-09T13:05:07
2021-02-09T13:05:07
329,308,757
0
1
null
null
null
null
UTF-8
Python
false
false
5,134
py
# coding: utf-8 """ CloudCheckr API CloudCheckr API # noqa: E501 OpenAPI spec version: v1 Contact: support@cloudcheckr.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class AzureCspAuthorizationRequestModel(object): ...
[ "pea1@cornell.edu" ]
pea1@cornell.edu
63614eb49f87cdce16a2e82cd6cee95f4393abff
a2a772b2026c907a46da986d4a074255c79fc40c
/ResourceLib/BelowGround/Individual/OGS/helpers/__init__.py
170e9d41cde78b9c2dc06059452eeaa92cd54b0c
[ "MIT" ]
permissive
mcwimm/pyMANGA
537663dc24b91a5555e1c379917aa19229a9ed1f
b17cff097114bc444a3e5bb3d11f756e0c09fb59
refs/heads/master
2023-08-09T14:06:40.721064
2023-08-04T10:32:37
2023-08-04T10:32:37
223,939,358
0
0
MIT
2019-11-25T12:05:53
2019-11-25T12:05:52
null
UTF-8
Python
false
false
156
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Nov 8 15:25:03 2018 @author: bathmann """ from .CellInformation import CellInformation
[ "jasper.bathmann@ufz.de" ]
jasper.bathmann@ufz.de
5e01983cc6cc3c38d23b976ff0411fc7a18fe497
9ecee1c42c264d7fb26e56e9bb88ab969ff9e3c2
/ip.py
74b0b40cbcc69f3de03b0a965fe1db1d501dfab2
[ "Apache-2.0" ]
permissive
kkirsche/whatismyip
a508dcba7bd428119367390704877cabac3e0971
b53bfb0a0dbc26b3d83bca4bfc893cb5f2afc803
refs/heads/master
2021-06-04T20:33:39.354527
2021-03-22T23:23:40
2021-03-22T23:23:40
66,574,312
1
2
Apache-2.0
2021-03-22T23:23:41
2016-08-25T16:19:43
CSS
UTF-8
Python
false
false
328
py
import socket from flask import Flask, request, render_template app = Flask(__name__) app.config.from_object(__name__) app.config.from_envvar('VZIP_SETTINGS', silent=True) @app.route('/') def what_is_my_ip(): return render_template('index.html', request=request) if __name__ == "__main__": app.run(host='0....
[ "kev.kirsche@gmail.com" ]
kev.kirsche@gmail.com
b3e4d56fe678942121ac590ac0eb21f54c0a1b1d
ae2907b2b1cc11ea6a991f7cf5dfc22bf6dca8f0
/DBpedia/RefineEntropy.py
699763e0c3863030695d98acd05d46239062db27
[]
no_license
jxulie/ExtractInfoboxFromWikipedia
4cf6a8f3b51409633ba1cae84eeed3bbddf88c0a
0bc747ed73caa9d57f5240f0aa4f6f4bb1e3394c
refs/heads/master
2021-01-20T10:10:37.150290
2014-03-14T01:53:44
2014-03-14T01:53:44
15,223,866
1
1
null
null
null
null
UTF-8
Python
false
false
726
py
#-*- coding:UTF-8 -*- ''' Created on 2014年3月13日 @author: Bo Xu <mailto:bolang1988@gmail.com> @version: 1.0 @summary: ''' menu_path = "D:\\xubo\\dbpedia\\" entropy_file = open(menu_path + "filter_entropy.txt", 'r') entropy_lines = entropy_file.readlines() refined_file = open(menu_path + "refine_entropy.txt", 'w'...
[ "bolang1988@gmail.com" ]
bolang1988@gmail.com
05cc3ba1a5dd1f89efd2bab642e7f3ce8dc47824
2c0bc2b556fc0ca1d275ca683acdb677e07c1d22
/app/CC/migrations/0007_auto_20200512_1809.py
3a8433a89d251c2ba050acac3197a473ea303749
[]
no_license
KolbeinnIn/Verklegt-namskeid-II
99b8cfe6c829693e06e8fa2af6404d4f1287ae21
56afe071ca6d92a48cca7126c31a5c189378ce3f
refs/heads/master
2022-07-17T08:52:06.005997
2020-05-16T11:04:08
2020-05-16T11:04:08
259,033,039
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
# Generated by Django 3.0.6 on 2020-05-12 18:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('CC', '0006_category_children'), ] operations = [ migrations.AlterField( model_name='category', name='children', ...
[ "bjarkithorjonsson@gmail.com" ]
bjarkithorjonsson@gmail.com