blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
2039ff7d0768c6476744991c6d52fdf164de5faf
226fdb0204955c8bd31858bebb8b213e8cb761e1
/accounts/models.py
28a2fa2362ba25fd82f2ea8cf452ba765fa6e1c4
[]
no_license
jangjichang/askdjango-form
5dfa4908d4384ccdf12a2ce9d61a4a1bd6a917f9
47723f7d7fad996c3ed4ff54bd887193b41ca71f
refs/heads/master
2020-08-03T21:17:18.875229
2019-09-30T15:09:23
2019-09-30T15:09:23
211,887,988
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
from django.conf import settings from django.core.validators import RegexValidator from django.db import models class Profile(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) phone_number = models.CharField(max_length=11, validators=[RegexValidator(r'^010[1-9]\d{7}$'...
[ "wlckd90@gmail.com" ]
wlckd90@gmail.com
49c582f2751feba319e97d329a620f2fb31cf24d
6df0d7a677129e9b325d4fdb4bbf72d512dd08b2
/PycharmProjects/my_python_v03/spider/sp_get02.py
121e1e0a96722116b1b94946a70fbb521d91763d
[]
no_license
yingxingtianxia/python
01265a37136f2ad73fdd142f72d70f7c962e0241
3e1a7617a4b6552bce4a7e15a182f30e1bae221e
refs/heads/master
2021-06-14T15:48:00.939472
2019-12-13T05:57:36
2019-12-13T05:57:36
152,200,507
0
0
null
2021-06-10T20:54:26
2018-10-09T06:40:10
Python
UTF-8
Python
false
false
401
py
#!/usr/bin/env python3 #__*__coding: utf8__*__ import urllib.request import urllib.parse url = 'http://www.goubanjia.com' header = { 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0' } request = urllib.request.Request(url, headers=header) response = urllib.request.urlopen(reques...
[ "root@room8pc205.tedu.cn" ]
root@room8pc205.tedu.cn
759792dbcc508f5bb4fc61fa95ad39835bea6dfe
e2c2c68e45a048e4f7618d7f0cad9ebdc0719e90
/blog/helpers/elastic.py
c41847c3ca2431cf87aa19cf46356f9ed245b12e
[]
no_license
wangjiancn/blog
1c751e4718974b181fd0e0869039946153c331a3
e123036da2b6c581e0b281f1b873acfdb4ae7402
refs/heads/master
2020-03-28T21:16:30.665917
2019-01-10T08:12:08
2019-01-10T08:12:08
149,143,322
1
0
null
null
null
null
UTF-8
Python
false
false
7,737
py
from math import ceil from elasticsearch_dsl import Document, Text, Date, Integer, Keyword, Boolean, InnerDoc, Nested, connections from flask import request, abort connections.create_connection(hosts=['localhost']) class ESTag(InnerDoc): id = Integer() name = Keyword() class ESCategory(InnerDoc): id =...
[ "wangjianchn@outlook.com" ]
wangjianchn@outlook.com
d6c06a465c36430e4f2d355450dc495061913d77
66bad57fb663349518cfc5a19dd34e00b4672165
/sagan/inference.py
6aa27b1444cbae5555ce4dacbd171b005222ea6b
[]
no_license
B-Step62/anime-GANs
233ac55ae5b0b2031757d7c4d908a65952a25c8d
8ea05e19121612bb8adb2dd4c7453423e198f320
refs/heads/master
2020-04-22T12:13:59.644268
2019-03-26T07:17:43
2019-03-26T07:17:43
170,365,673
6
2
null
2019-10-21T06:05:40
2019-02-12T18:02:21
Python
UTF-8
Python
false
false
6,543
py
import os import sys import glob import argparse import shutil import subprocess import numpy as np from PIL import Image import torch import torch.backends.cudnn as cudnn import torch.nn.functional as F from torch.autograd import Variable from torchvision.utils import save_image sys.path.append(os.pardir) from model...
[ "bsatbeyp@gmail.com" ]
bsatbeyp@gmail.com
ae15aaea354ba8ba8008629d61486c0626694206
357c69a0441089b1cf5b62a0e21825488f02b4f9
/cart/migrations/0004_auto_20181203_1316.py
087c5022a78d226272bdccd83571aeae4fc2e663
[]
no_license
OBAA/oneoverthree_subdomain
3e40d5ae6a59bf4b97afb4d475d6fa9c736ee170
57b42058cb7c49b3b37f5aa1e444dc4650da9188
refs/heads/master
2022-12-11T16:13:02.152275
2019-03-26T18:53:28
2019-03-26T18:53:28
157,768,081
1
0
null
2022-11-22T02:56:19
2018-11-15T20:23:58
HTML
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-12-03 12:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cart', '0003_auto_20181203_1256'), ] operations = [ migrations.AlterField( ...
[ "agbanabolu@gmail.com" ]
agbanabolu@gmail.com
a748788a44f536cfc34fbe772070ea86ef1c477a
6223dc2e5de7921696cb34fb62142fd4a4efe361
/.metadata/.plugins/org.eclipse.core.resources/.history/53/50712669208f001414849ea2c9622fd7
6064dfb1299533771991a1a9fc755bbf31976e92
[]
no_license
Mushirahmed/python_workspace
5ef477b2688e8c25b1372f546752501ee53d93e5
46e2ed783b17450aba29e4e2df7b656522b2b03b
refs/heads/master
2021-03-12T19:24:50.598982
2015-05-25T10:23:54
2015-05-25T10:23:54
24,671,376
0
1
null
2015-02-06T09:27:40
2014-10-01T08:40:33
Python
UTF-8
Python
false
false
3,825
#!/usr/bin/env python # # Copyright 2014 <+YOU OR YOUR COMPANY+>. # # This 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, or (at your option) # any later version. # # This software is dis...
[ "imushir@gmail.com" ]
imushir@gmail.com
94e42f9a8ca7003b1566affa88dae5d5c5f2e648
98ca37f5dd2751efaa060cca19e0b83f871d7765
/sdk/keyvault/azure-keyvault-keys/tests/_test_case.py
93dad527b681cd0828b8b8e3555d7c40a4035e41
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
jayhebe/azure-sdk-for-python
5ea99732ebb9929d3f6f77c08cc640d5915970b1
f4455f85d9fe747fa4de2fdc691b975c07bfeea5
refs/heads/main
2023-06-24T01:22:06.602194
2021-07-28T02:12:25
2021-07-28T02:12:25
390,290,984
1
0
MIT
2021-07-28T09:23:46
2021-07-28T09:23:46
null
UTF-8
Python
false
false
5,404
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ import functools import os from azure.keyvault.keys._shared import HttpChallengeCache from azure.keyvault.keys._shared.client_base import ApiVersion, DEFAULT_VERSION fr...
[ "noreply@github.com" ]
jayhebe.noreply@github.com
9cb12efdfc49744bfcccb7facb4e2d8589650e19
2089958088f8ae0f44d1b9a8cf6b0d25d0ec84a3
/join/profiles/views.py
2420d1cdc4d66272fe9cb01b8df3d7c00e45667b
[]
no_license
austinbrovick/django-dating
e41eb3559d46e184cde0e49b0969fadcb7d1c568
b5c950fa1216bdbcf0bafdfed6ce6d1766b8aa7b
refs/heads/master
2021-06-01T21:21:28.796558
2016-02-26T21:20:16
2016-02-26T21:20:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,606
py
from django.shortcuts import render, get_object_or_404, redirect from django.http import HttpResponse, HttpResponseRedirect from django.contrib.auth import get_user_model # so we can get the User object from django.contrib.auth.decorators import login_required from .forms import UserProfileForm from .models import Use...
[ "austinbrovick@gmail.com" ]
austinbrovick@gmail.com
d954c78af98f39c7b0a7093460f4ea913811790a
8255b11e8defdd4585eacf37f57a3da1cfc9267b
/data/root/.vim/bundle/jedi-vim/pythonx/jedi/jedi/api/__init__.py
0008f6ffb917e683c59a72a42c385cb2c78a6d4d
[ "MIT" ]
permissive
BlackArch/blackarch-installer
0c779ba669e4bc1b959ab0d8d7edbe4a59d25090
3d930330819d6338084e74b4c0052a803263005f
refs/heads/master
2023-04-30T17:40:32.091587
2023-03-20T16:36:06
2023-03-20T16:36:06
55,813,279
127
92
null
2023-04-15T19:14:08
2016-04-08T22:23:07
Python
UTF-8
Python
false
false
31,145
py
""" The API basically only provides one class. You can create a :class:`Script` and use its methods. Additionally you can add a debug function with :func:`set_debug_function`. Alternatively, if you don't need a custom function and are happy with printing debug messages to stdout, simply call :func:`set_debug_function`...
[ "noptrix@nullsecurity.net" ]
noptrix@nullsecurity.net
7f9c6e0ae816be1de2417f6af7369c5d13a90adb
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part009432.py
e14e635672867a6b2747d80bf9be143a0b217f87
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,929
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
8563852bc228183a5331c3ef3e838db59bbabb35
57fc5d54f5df359c7a53020fb903f36479d3a322
/controllers/.history/supervisor/supervisor_20201126210552.py
c5784f810b719b5af73a8d2dd27a58c226a64aea
[]
no_license
shenwuyue-xie/webots_testrobots
929369b127258d85e66c5275c9366ce1a0eb17c7
56e476356f3cf666edad6449e2da874bb4fb4da3
refs/heads/master
2023-02-02T11:17:36.017289
2020-12-20T08:22:59
2020-12-20T08:22:59
323,032,362
0
0
null
null
null
null
UTF-8
Python
false
false
22,868
py
import math import numpy as np from numpy import random from numpy.core.fromnumeric import size from numpy.lib.function_base import meshgrid import utilities as utils from deepbots.supervisor.controllers.supervisor_emitter_receiver import \ SupervisorCSV # from deepbots.supervisor.wrappers.tensorboard_wrapper imp...
[ "1092673859@qq.com" ]
1092673859@qq.com
c940d5d6ce75c1768c2e6bb6b4aa3e2a4b76808e
5332fef91e044555e605bb37cbef7c4afeaaadb0
/hy-data-analysis-with-python-2020/part01-e19_sum_equation/src/sum_equation.py
1239284a20db349b402b0e23396f779308fa250b
[]
no_license
nopomi/hy-data-analysis-python-2019
f3baa96bbe9b6ee7f0b3e6f6b8b0f3adfc3b6cc8
464685cb377cfdeee890a008fbfbd9ed6e3bcfd0
refs/heads/master
2021-07-10T16:16:56.592448
2020-08-16T18:27:38
2020-08-16T18:27:38
185,044,621
4
0
null
null
null
null
UTF-8
Python
false
false
273
py
#!/usr/bin/env python3 def sum_equation(L): #if empty list if len(L) == 0: return "0 = 0" #if not empty, return equation as string return " + ".join([str(x) for x in L]) + f" = {sum(L)}" def main(): pass if __name__ == "__main__": main()
[ "miska.noponen@gmail.com" ]
miska.noponen@gmail.com
79b78f7bb9292e9949405d7577b9888e9b7e643e
d1b6aafccd0f6915fe5b3215137524b8fae5d3db
/config/settings.py
655162e0718c4e8e03bcec7a747cb6db441975a7
[]
no_license
dtrodger/nginx-docker
9b7b71ac936065b6145f4606cd746e6ad4d4dfe0
55814b08fb09949224cbe6c93cf9bb7974dbfaa7
refs/heads/master
2021-01-25T01:04:51.653107
2017-06-19T01:48:25
2017-06-19T01:48:25
94,725,560
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
SECRET_KEY = 'pickabettersecret' APP_NAME = 'Moby Dock' DEBUG = True TESTING = False SQLALCHEMY_DATABASE_URI = 'postgresql://dave:rene1634@mobydocker.cv6q5bk7olf8.us-east-1.rds.amazonaws.com:5432/mobydock' REDIS_URL = 'redis://redis:6379/0'
[ "dtrodger20@gmail.com" ]
dtrodger20@gmail.com
864bd2315e172856dfca126baff942f51595a1d9
3062a7d44e1bf2ed533199c8729671e86757ca3e
/demo.py
b26ab41bdfc8b1376d5189050664e232fe0baba3
[ "MIT" ]
permissive
Peiiii/wkstock
2f79237820c69ae9bcd56b530fea0d38d7849fdd
540cec91a5575716d6e79d99371770509dbea4dd
refs/heads/master
2023-01-20T07:25:19.527783
2020-11-23T14:56:20
2020-11-23T14:56:20
315,317,256
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import wkstock import pandas_datareader as pdr import random stocks=wkstock.load_china_stock_info() # print(stocks) codes=wkstock.get_stock_codes() print(codes) # x=pdr.get_data_yahoo('000816.sz') # x=pdr.get_data_yahoo('688179.ss') x=wkstock.get_yahoo_code(random.choice(codes)) print(x) x=wkstock.get_stock_info_form...
[ "1535376447@qq.com" ]
1535376447@qq.com
aa67675d5659db79c8b767b90c1d870dcf2bfe0f
22b58a28327258eac6b75570e67914b9c102aeb1
/LR/LR1-3/remote.py
b8bc746f3f6c10b8759d5f3a5714f3537ad7add5
[]
no_license
herzenuni/sem5-2016-packages-Bolzuka
73373b58c90bfe67ced51e3ad7ab8cea7ec17c83
18b93c74569c10dda7a80ce1223bc784cfe601e8
refs/heads/master
2020-03-30T12:28:48.226678
2018-10-23T16:04:09
2018-10-23T16:04:09
151,226,098
0
2
null
null
null
null
UTF-8
Python
false
false
59
py
def f(): print('Hello, world! This is remote module.')
[ "noreply@github.com" ]
herzenuni.noreply@github.com
82efd577438ead5083d3808600667154932f5523
c053e243a6a0916b8d1552afe6b1485bd217c034
/AppDB/appscale/datastore/fdb/indexes.py
c9ecbabb0448adca6c0464e86d702528bfa1a295
[ "Apache-2.0" ]
permissive
EddieJJEFFERSON/appscale
2f87df45239deace29308735b6fdc09913cb43a8
012e75ff0a29cdf12662146b7b796add68ab4db9
refs/heads/master
2020-09-29T06:24:38.902497
2019-12-05T17:11:42
2019-12-05T17:11:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,560
py
""" This module stores and queries entity indexes. The IndexManager is the main interface that clients can use to interact with the index layer. See its documentation for implementation details. """ from __future__ import division import logging import sys from tornado import gen from appscale.common.unpackaged impo...
[ "chris.donati@appscale.com" ]
chris.donati@appscale.com
957820993d59fb19a5a65a7ea2818805f9f79acf
96cd605f9e0dd50e40fd2024d7046c7b5897bece
/HW_SEP/Делители.py
0c068e5f0d965bbda119224dafa02fee40317488
[]
no_license
astreltsov/firstproject
8cdc3b71fbf3d17405f3b1ee6fd44139ea5c23cf
be7bff2aea8b42b1eb43893a430c21a5cfdb7a35
refs/heads/master
2023-01-11T20:08:04.250711
2020-11-14T16:56:14
2020-11-14T16:56:14
304,677,146
0
0
null
2020-10-19T16:11:49
2020-10-16T16:09:30
Python
UTF-8
Python
false
false
191
py
a = int(input('Введите число ')) for i in range(1, a + 1): #a = 5 , [0, 1, 2, 3, 4] if a % i == 0: #если делится без остатка print(i, end =" ")
[ "astrelts@gmail.com" ]
astrelts@gmail.com
1cee74b6c4ac6db8fed8e10644ced6d681132703
788bdd9e443a571bc8262323425317015303cf1d
/p1503.py
06216cca846e1ffcd88367a1b18c103cdcc71147
[]
no_license
qyx2018/Xiaojiayu
e07dd5480babafb5f1940a2032ef30a92c7331f2
e7decd439ed95b5a6d3cf195444cabfedf0eff76
refs/heads/master
2020-03-11T06:21:27.609708
2018-04-17T01:33:40
2018-04-17T01:33:40
129,827,662
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
from tkinter import * root = Tk() textLabel = Label(root, text = 'Testing') textLabel.pack(side = LEFT) photo = PhotoImage(file = '20161024144619_FLXfK.gif') imgLabel = Label(root, image = photo) imgLabel.pack(side = RIGHT) mainloop()
[ "noreply@github.com" ]
qyx2018.noreply@github.com
226593530534022dfaa056c02cc33aef1cf68c81
3257372291236aac1737b057c9ac6c61da9ccca0
/tutorials/W0D5_Statistics/solutions/W0D5_Tutorial2_Solution_fe639311.py
8a31b6889845f67296a334951a4e437c9d18aff3
[ "CC-BY-4.0", "BSD-3-Clause", "MIT" ]
permissive
NeuromatchAcademy/precourse
230ead0d11ae7b0dba21c8df97695a1796e9797d
b7f2432c6a68a7984ca923ceed8e07d5cfdb77c3
refs/heads/main
2023-07-26T11:18:24.493966
2023-07-09T14:42:49
2023-07-09T14:42:49
256,327,558
639
174
MIT
2023-07-09T14:42:50
2020-04-16T20:54:03
Jupyter Notebook
UTF-8
Python
false
false
291
py
""" You should notice that the parameters estimated by maximum likelihood estimation/inference are very close to the true parameters (mu = 5, sigma = 1), as well as the parameters visualized to be best after Coding Exercise 2.1, where all likelihood values were calculated explicitly. """;
[ "noreply@github.com" ]
NeuromatchAcademy.noreply@github.com
366714052cfa7413ec189cc051f7dca0e769df7b
ef6229d281edecbea3faad37830cb1d452d03e5b
/ucsmsdk/mometa/adaptor/AdaptorFcPortProfile.py
cc266ababb8de54236654b0ae5c07f3b7e2b35aa
[ "Apache-2.0" ]
permissive
anoop1984/python_sdk
0809be78de32350acc40701d6207631322851010
c4a226bad5e10ad233eda62bc8f6d66a5a82b651
refs/heads/master
2020-12-31T00:18:57.415950
2016-04-26T17:39:38
2016-04-26T17:39:38
57,148,449
0
0
null
null
null
null
UTF-8
Python
false
false
2,653
py
"""This module contains the general information for AdaptorFcPortProfile ManagedObject.""" import sys, os from ...ucsmo import ManagedObject from ...ucscoremeta import UcsVersion, MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class AdaptorFcPortProfileConsts(): pass class AdaptorFcPortProfile(Manag...
[ "test@cisco.com" ]
test@cisco.com
5580591caf3d665aa8cdb7b49c9b191c4d18af12
8d9b6dd24ebd6fee527b1694bc88abf6c7d44423
/venv/bin/jupyter-troubleshoot
a5e85cbddcc708ca905f129f773c85764b75f9be
[]
no_license
hopetambala/transferMarket-flask-beautifulSoup
881c24b085bd46ea81b34a0d91fc761b086d4cc5
fabe2e7145fa7e99fe8993568ebed91ed1633a48
refs/heads/master
2022-12-15T06:20:15.024254
2018-12-12T16:00:43
2018-12-12T16:00:43
160,048,546
0
0
null
2022-12-08T01:28:15
2018-12-02T13:10:43
Python
UTF-8
Python
false
false
295
#!/Users/hopetambala/Documents/development/school/SI507_finalProject/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from jupyter_core.troubleshoot import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "hopetambala@outlook.com" ]
hopetambala@outlook.com
774274325d588e4170893388b58ae41a9354daad
499f5402baed77d000c65f243b457c69dc3d2fe4
/pycatia/hybrid_shape_interfaces/hybrid_shape_circle_bitangent_point.py
0f28007b3bcc92172daca300c7f7871eb7f8dcc6
[ "MIT" ]
permissive
evereux/pycatia
416189b34f3c60effea8a76258e36ffc5ae86e22
5f5726d5dc66265b3eba8a01910c4aeae424365d
refs/heads/master
2023-08-21T10:03:41.660445
2023-08-09T16:21:10
2023-08-09T16:21:10
159,069,580
141
42
MIT
2023-08-09T11:15:27
2018-11-25T20:04:31
Python
UTF-8
Python
false
false
16,327
py
#! usr/bin/python3.9 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
[ "evereux@gmail.com" ]
evereux@gmail.com
ed049497a166aed76c350fbfb90267cc9d70dbc4
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_3/gwxyon001/question2.py
8dce816c3f2e994ffe2a4e9b3e39dab2f39a90c4
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
#module def tri(par1): gap=par1-1 #we need // here - why? inc=0 for i in range(1,par1+1): print(' '*gap,end='') print('*'*(i+inc)) gap-=1 inc+=1 h=eval(input("Enter the height of the triangle:\n")) tri(h)
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
933b3f8a07a45eb275446ffd5f29a8d35509ec04
e8343d9fd859f06d86f4b9b5fa3364bc6c00b9ad
/coro/asn1/test/t0.py
1e1a1ae09e96f42b57e36fabff183fc6a42919e7
[ "MIT", "HPND" ]
permissive
mkushnir/shrapnel
afdf0abeb401d5ea6ae1df1887779a1322db3f76
ec85cefcd85e2a7e613375f4a37a80fa59cab135
refs/heads/master
2020-12-24T22:29:03.261275
2016-01-21T07:31:50
2016-01-21T07:31:50
9,703,997
0
0
null
null
null
null
UTF-8
Python
false
false
7,150
py
# -*- Mode: Python -*- from coro.asn1.ber import * import unittest # These are mostly positive test cases, need some negative ones as well. # Though - this code *has* been through the protos c06-ldapv3-enc-r1 test suite, # but it's a rather large suite (89MB). Consider automating a download of # the suite here? ...
[ "gitsam@rushing.nightmare.com" ]
gitsam@rushing.nightmare.com
9c44a2f14b55583f77c8b15a0254dc02c5f2fe4d
2898598ed7dafe211bbf768a431bd4cbc5d0392c
/redo_2by4importance_plot.py
f8df71d7df19515970f08e99a036e6e7fb671a93
[ "MIT" ]
permissive
nickmvincent/you-geo-see
c34ef407676b973bfd1be7c15871a22db3458afc
003c9915ac25110b043b2047d661b899201bcd67
refs/heads/master
2021-03-19T17:20:46.229569
2019-05-13T20:41:29
2019-05-13T20:41:29
109,033,221
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
import pandas as pd from plotters_jan17_2by4 import plot_importance import matplotlib.pyplot as plt def main(): importance_df = pd.read_csv('importance_df.csv') plot_importance(importance_df) plt.show() main()
[ "nickmvincent@gmail.com" ]
nickmvincent@gmail.com
406d846db2f44ab42c7c0d19c916353c4eab049e
0ce681e151d6ffe515f3df3ee4237c8e366c1f3c
/xnat/pipeline/catalog/incf/qa/basic_structural.py
47be4fd53081e7ace3b2f85eb14b5bbfcf853ba2
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
satra/one_click
31d41f43ff88ca64d2c03344d972227e614baa38
258cfbd799bbe396e69f8d14950de6da2ccc0767
refs/heads/master
2021-01-16T00:46:27.768614
2012-09-09T06:56:16
2012-09-09T06:56:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,207
py
#!/usr/bin/python import sys import os import tempfile import shutil import datetime import subprocess import xml.dom.minidom import pyxnat def attr_value(attrs, name, default=None): for (n, v) in attrs: if n == name: return v return default def append_text_element(doc, parent, name, valu...
[ "christian.haselgrove@umassmed.edu" ]
christian.haselgrove@umassmed.edu
78c241026dc92c68d434bfc7f0bca6fdcc8ff2f5
6508fbf82ef5041143d447ffa2249db0ff82539b
/mp_resource/playgrounds/views.py
2d73291fed74fa5b95f56c98a3656de5ed2e4e2a
[]
no_license
elcolie/resource-server
9c7b2e58566f4da1ec3ba4372c93474e1c4d3301
cdbe051fa35c309925b0ca18ba882e61c91f47ba
refs/heads/master
2020-03-18T11:57:24.686461
2018-05-24T10:16:40
2018-05-24T10:16:40
134,700,486
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
from django.http import HttpResponse from oauth2_provider.views import ProtectedResourceView class ApiEndpoint(ProtectedResourceView): """Example of class-based view by backend render the HTML document""" def get(self, request, *args, **kwargs): return HttpResponse("Hello World2")
[ "sarit@elcolie.com" ]
sarit@elcolie.com
1355811ba253b888282088510178791d96c3e35c
2e472a48217bdb319ff93b3dc07debaaf73ff772
/python/ccxt/async_support/hollaex.py
b5180699bab3bee1cc138ae30862914e1a6f5dba
[ "MIT" ]
permissive
bitkub/ccxt
ab26e3c878046a04dd410fbc09acafeb8bb6837b
6bc708ba3d653c1f74fb7b72c705cb370dc6c498
refs/heads/master
2022-11-16T00:08:07.790044
2020-06-23T12:56:47
2020-06-23T12:56:47
267,220,019
4
5
MIT
2020-06-23T07:39:36
2020-05-27T04:25:03
JavaScript
UTF-8
Python
false
false
43,523
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange from ccxt.base.errors import AuthenticationError from ccxt.base.errors import Argumen...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
b61223bba6fffcc79a54425178c6095ae6f4ad79
79b1d3d8ffbda5297fff6fefe2528e303bf2110a
/RSGGenFragment/RSToGG/RSGravitonToGluonGluon_W-0p25_M_8750_TuneCUETP8M1_13TeV_pythia8_cfi.py
e0a501d093d0c614818d8a78ca2cd5fd01e94af5
[]
no_license
yguler/MCFragments-1
25745a043653d02be3a4c242c1a85af221fc34b3
7c4d10ee59e00f997221109bf006819fd645b92f
refs/heads/master
2021-01-13T14:09:12.811554
2016-12-11T15:57:37
2016-12-11T15:57:37
76,184,433
0
0
null
2016-12-11T15:59:22
2016-12-11T15:59:22
null
UTF-8
Python
false
false
1,311
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(0.00000136),...
[ "emine.gurpinar@cern.ch" ]
emine.gurpinar@cern.ch
cc3929b7595dc9eedea1114fdfca48d55777411d
3f51bb14f8bc671afffd9984c891eaa5c2f3ec19
/everwary/everwary/settings.py
e6c379b23c7c76395874a91c51637b8fcac192d1
[]
no_license
digideskio/everwary
ee8b408467a67fd9bbe5962b23ed4d176b25af2a
e268c9775016f1d461ce62075cda659752ec2a63
refs/heads/master
2021-01-11T03:39:26.316954
2013-10-27T11:31:45
2013-10-27T11:31:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,008
py
import os import sys import errno import string import random import tempfile DEBUG = True TEMPLATE_DEBUG = DEBUG TESTING = 'test' in sys.argv or 'test_coverage' in sys.argv ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.bac...
[ "btimby@gmail.com" ]
btimby@gmail.com
d6f7fd887d9e4aa67a837be442ad575b4faed7ae
3e13c7f7a89a3b87334364a034fe1934d1415413
/test.py
664d5547dc3e1a0f49f9c4d3d5c2581dbefd02a6
[]
no_license
xwjBupt/MySaNet
cf9e2420302e18ed2740292890244e41e7b61c80
39cb09f9f90636e940a22c6e19bb8f5181d43708
refs/heads/master
2020-04-25T01:40:18.805776
2019-09-06T13:13:05
2019-09-06T13:13:05
172,415,249
0
0
null
null
null
null
UTF-8
Python
false
false
4,395
py
import torch import torch.nn as nn import torchvision.utils as vutil from util.lib import * import sys from util.mydataset import * from src.Net import * from src.net import SANet as newSa import tqdm from tensorboardX import SummaryWriter from matplotlib import pyplot as plt import math from src.ssim_loss import * fro...
[ "xwj_bupt@163.com" ]
xwj_bupt@163.com
4446fd9f49e85d97dc74567071c61595803baa64
0a8fa17957c1be28a1fd297ec6c8832308a11bf2
/tools/result-info-klee-simple-stats.py
7281a67ed6a05bd61322181f6c85985b9001d963
[ "MIT" ]
permissive
delcypher/klee-runner
180c5e0bd42a2eb3cc224340db697f8c01da5056
ba966bdf3fec23875b000a57eb2eebf88b27d1eb
refs/heads/master
2020-05-29T08:54:07.774422
2018-03-05T11:34:15
2018-03-05T11:34:15
69,264,143
1
2
null
2017-01-02T22:04:03
2016-09-26T15:27:54
Python
UTF-8
Python
false
false
7,307
py
#!/usr/bin/env python # vim: set sw=4 ts=4 softtabstop=4 expandtab: """ Report simple statistics on a set of KLEE runs """ import argparse import logging from enum import Enum import os import pprint # pylint: disable=wrong-import-position from load_klee_analysis import add_kleeanalysis_to_module_search_path from load...
[ "daniel.liew@imperial.ac.uk" ]
daniel.liew@imperial.ac.uk
3e7e07134dac5d1e75f95fa9d9662942c2d7c309
8c6d0876c72f9705587f697429f8f3324ce0c4e9
/meterbus/api/pysicalIf.py
3cc2b7e002d17add629209d86d591f44ec311a00
[]
no_license
ms412/meterbus
6d91a2cdb89e7606e54b5690a684ae2455a4af61
366231bd75f97ed380298b5e37df20851fee1339
refs/heads/master
2022-07-09T04:51:51.648583
2020-05-15T21:35:52
2020-05-15T21:35:52
263,380,145
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
import serial import time from datetime import datetime class serialIf(object): def __init__(self): self._if = None def _inter_byte_timeout(self,baudrate): definition = { 300: 0.12, 600: 0.60, 1200: 0.4, 2400: 0.2, 4800: 0.2, ...
[ "m.schiesser@gmail.com" ]
m.schiesser@gmail.com
0ff9b71e8cd46396a2757c9353101e62da86b153
a4830a0189c325c35c9021479a5958ec870a2e8b
/deploy/jobs/site.py
53ce7192904c55023d117555ce1ae78c3d048de1
[]
no_license
solutionprovider9174/steward
044c7d299a625108824c854839ac41f51d2ca3fd
fd681593a9d2d339aab0f6f3688412d71cd2ae32
refs/heads/master
2022-12-11T06:45:04.544838
2020-08-21T02:56:55
2020-08-21T02:56:55
289,162,699
0
0
null
null
null
null
UTF-8
Python
false
false
13,408
py
# Python import io import sys import time import requests import datetime import traceback from collections import OrderedDict # Django from django.utils import timezone from django.conf import settings # Application from deploy.models import Site, Device, DeviceType # Third Party from lib.pyutil.util import Util fr...
[ "guangchengwang9174@yandex.com" ]
guangchengwang9174@yandex.com
3194316f6ca155f8a3cc3a045df836041ef30f3c
96d7812acfd2f8c5df7d56b3ee3f66dfecd58963
/finalproject-testing.py
93de9ccb378ef229d6b3cc35be489df2b5e74145
[]
no_license
sockduct/CS101
84d72616a6d752fa00bd30f6e28b0a4fc0862266
d317fe3abc5b3cc25af2b82386475aa4837c6b4a
refs/heads/master
2021-01-19T13:53:35.949818
2017-02-19T01:07:11
2017-02-19T01:07:11
82,426,414
0
0
null
null
null
null
UTF-8
Python
false
false
5,759
py
########################################################################### # # Testing for finalproject # ########################################################################### # # Data: example_input="John is connected to Bryant, Debra, Walter.\ John likes to play The Movie: The Game, The Legend of Corgi, Dinosa...
[ "james.r.small@outlook.com" ]
james.r.small@outlook.com
82f7582b5e0e044adf1f9ca9094b430886919ab7
8e6203db7383475f1c24a590f0456330b969bb4b
/optbinning/binning/auto_monotonic.py
70102a54d5de991cfa0d37a4c9d8fef5b11f6d5b
[ "Apache-2.0" ]
permissive
guillermo-navas-palencia/optbinning
6fdfc764a214052b4d7d8e0b59114f0a63e6d5a8
73aee82008ebe88b732430e7c5764da57fb4d3ae
refs/heads/master
2023-08-28T13:33:43.536143
2023-08-22T19:20:18
2023-08-22T19:20:18
231,076,826
377
91
Apache-2.0
2023-09-05T20:14:14
2019-12-31T11:17:44
Python
UTF-8
Python
false
false
13,077
py
""" Automatic monotonic trend algorithm. """ # Guillermo Navas-Palencia <g.navas.palencia@gmail.com> # Copyright (C) 2019 import numpy as np from scipy.spatial import ConvexHull def n_peaks_valleys(x): """Find number of peaks and valleys in an array of values. Parameters ---------- x : array-like,...
[ "g.navas.palencia@gmail.com" ]
g.navas.palencia@gmail.com
0ba85393ac521e136b92d7eaa01c85699a46c248
2c28b14b37ca319d889a9931595464073c9a037f
/L1TMuonEndCap/test/unittests/test_Event1687428853.py
2d473a48b2872e5c9c67342e2e5014af8435eaad
[]
no_license
RafHL/L1TriggerSep2016
b4675cbcfdd282e9be77f9889ec02511b05e8ffc
3748891299340aadc3f67910568f8252e6074147
refs/heads/master
2020-07-01T23:29:08.384943
2018-02-21T00:03:33
2018-02-21T00:03:33
201,342,169
0
0
null
2019-08-08T21:46:44
2019-08-08T21:46:44
null
UTF-8
Python
false
false
3,221
py
import unittest from FWLiteAnalyzer import FWLiteAnalyzer class TestEvent1687428853(unittest.TestCase): def setUp(self): inputFiles = ["Event1687428853_out.root"] # 3 1 1 0 2 1 14 9 95 1 1 5 # 3 1 1 0 4 1 15 10 3 4 0 142 # 3 1 1 2 5 1 13 7 38 1 1 52 # 3 1 1 2 5 1 15 10 38 1 0 118 # 3 1 1 0 ...
[ "jia.fu.low@cern.ch" ]
jia.fu.low@cern.ch
4693edc650a940dade051a49501720cb39bb0c7a
a3a2f72880282f9fc74d0aa505614624d71cdeaa
/Model/link_prediction_new/COSSIMMLP/model.py
f8841b31e19c3cfa8fbb6a414169f7fd32da3840
[]
no_license
hsack6/citation
2c390b93fc795d128bfdda13062f0e7da826f42b
3d9f0961921c561c554a0eb93cd0bfda7465d8df
refs/heads/master
2023-02-27T23:39:20.210268
2021-02-02T13:57:42
2021-02-02T13:57:42
308,533,476
0
0
null
null
null
null
UTF-8
Python
false
false
1,367
py
import torch.nn as nn import torch class COSSIMMLP(nn.Module): def __init__(self, opt): super(COSSIMMLP, self).__init__() self.batchSize = opt.batchSize self.state_dim = opt.state_dim self.out = nn.Sequential( nn.Sigmoid() ) self._initialization() ...
[ "yamasaki.shohei@ist.osaka-u.ac.jp" ]
yamasaki.shohei@ist.osaka-u.ac.jp
fa8155f1d9e567f6a6d68ad216139b11779bea5f
a7c799472136d4dac4c82f468986e1f7846934c1
/Python/interview-questions/mapDecoding.py
1076e654d4c6095b9dd88bf4e92198641fce1ab5
[ "MIT" ]
permissive
monica-sam/algorithms
51086123fc5602387b6867ab6733d5cd8c9abaa5
8fbb96f324f2e4222be31923490bc234f73e656f
refs/heads/master
2022-11-10T11:58:51.598015
2020-06-28T11:27:26
2020-06-28T11:27:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
from functools import lru_cache from collections import defaultdict valid = set(str(i) for i in range(1, 26 + 1)) mod = 10 ** 9 + 7 @lru_cache(maxsize=512) def mapDecoding(message): """ >>> mapDecoding("123") 3 """ if len(message) == 0: return 1 if len(message) == 1: if messag...
[ "info@martin-thoma.de" ]
info@martin-thoma.de
b03768b56d359994f90f65f1188a36520af9f457
dd8227454b817ccf2ceb24b3dfd4260d4ded7a72
/scripts/item/consume_2434544.py
c9944fbbccb991ac70ebd448f331bde28d4b5cfb
[ "MIT" ]
permissive
Snewmy/swordie
0dd3c17808b064c2cb2bd9576b51daf01ae5d686
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
refs/heads/master
2023-06-30T21:14:05.225798
2021-07-06T14:32:39
2021-07-06T14:32:39
389,497,502
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
# Kanna Damage Skin success = sm.addDamageSkin(2434544) if success: sm.chat("The Kanna Damage Skin has been added to your account's damage skin collection.")
[ "vcalheirosdoc@gmail.com" ]
vcalheirosdoc@gmail.com
da039bbe01764da661518f55b911cc8249ca4bf0
e2b952d8ab9a224d14c94ecab47f309a15a81a01
/bin/rewrite-cassandra-yaml
0d1215af93d9e774e7ace8be83ded8f0746547a8
[ "MIT" ]
permissive
hughdbrown/rewrite-cassandra-yaml
f15290ea52f51582663097ecb7c114557cd01ef3
7a03b85580f581b55bc481c6f1753deca66f3ba4
refs/heads/master
2021-01-22T04:05:02.346143
2017-02-10T02:50:31
2017-02-10T02:50:31
81,498,384
0
0
null
null
null
null
UTF-8
Python
false
false
70
#!/usr/bin/env python from rewrite_cassandra_yaml import main main()
[ "hughdbrown@yahoo.com" ]
hughdbrown@yahoo.com
2004d0962ec2b8d30d75b42fa2cd3fb34946b892
d2c229f74a3ca61d6a22f64de51215d9e30c5c11
/qiskit/pulse/transforms/canonicalization.py
ba9fc4d0f12dfc47bc0cb01b880675beac402210
[ "Apache-2.0" ]
permissive
1ucian0/qiskit-terra
90e8be8a7b392fbb4b3aa9784c641a818a180e4c
0b51250e219ca303654fc28a318c21366584ccd3
refs/heads/main
2023-08-31T07:50:33.568824
2023-08-22T01:52:53
2023-08-22T01:52:53
140,555,676
6
1
Apache-2.0
2023-09-14T13:21:54
2018-07-11T09:52:28
Python
UTF-8
Python
false
false
19,975
py
# This code is part of Qiskit. # # (C) Copyright IBM 2021. # # 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 derivative wo...
[ "noreply@github.com" ]
1ucian0.noreply@github.com
f327ecef9f930854a08ea4dd6883a781572a7271
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_38645.py
03575bb8ff36d7d87e3c5d2b99250325a0267494
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,845
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
06264bb97a604dee4c2a9012297dc818d4d3bf32
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/12164001.py
995ae911bcd20d6a8ddcef659e633cd9ed4537fe
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,796
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/12164001.py generated: Fri, 27 Mar 2015 16:10:01 # # Event Type: 12164001 # # ASCII decay Descriptor: [B+ -> (anti-Sigma_c-- -> anti-Lambda_c- pi-) pi+ pi+ p+]cc # from Configurables import Generation Generation().EventType = 12164001 Generation().SampleG...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
1d7a7a9654466aad7abc38d0cdd8800b5b17eb1e
54526205da004c8f832e0be09f5d71afcaec4bdc
/snippets/python/templates/transform_dict.py
abb137adbb54beb2b1d4eba958038ca8f9d9c5b3
[ "MIT" ]
permissive
c6401/snippets
f71404c861ebc658edcd23165789dc6d06fb529c
fad59e9632f34e991b512e26a41a72f16041e503
refs/heads/master
2023-08-18T16:06:05.258194
2023-08-10T05:54:28
2023-08-10T05:54:28
216,496,076
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
{k: v for k, v in ___.items() if ___}
[ "nc6401+gthb@gmail.com" ]
nc6401+gthb@gmail.com
487727c9514e03c468ece47d55c40cb9dbf10985
738b6d6ec4572f5848940b6adc58907a03bda6fb
/tests/pymcell4_positive/0501_cellblender_viz_output_v2/model.py
1c249d46e9ec80f7271d5e8ea791577a995b2c2c
[ "MIT", "Unlicense", "LicenseRef-scancode-public-domain" ]
permissive
mcellteam/mcell_tests
09cd1010a356e0e07c88d7e044a73c5606c6e51a
34d2d967b75d56edbae999bf0090641850f4f4fe
refs/heads/master
2021-12-24T02:36:24.987085
2021-09-24T14:19:41
2021-09-24T14:19:41
174,733,926
1
0
null
null
null
null
UTF-8
Python
false
false
5,977
py
#!/usr/bin/env python3 import sys import os import array MCELL_PATH = os.environ.get('MCELL_PATH', '') if MCELL_PATH: sys.path.append(os.path.join(MCELL_PATH, 'lib')) else: print("Error: variable MCELL_PATH that is used to find the mcell library was not set.") sys.exit(1) import mcell as m def read_ce...
[ "ahusar@salk.edu" ]
ahusar@salk.edu
b177b3e1ec2f95ed03bb47a41bc0548764e7296f
47470688fe9d1998909def5715160af69624f328
/sourmash/__init__.py
6a0403a66ae3bb7253c7936cd24b920231b50417
[ "LicenseRef-scancode-public-domain", "BSD-3-Clause" ]
permissive
dimancheite/sourmash
4985daee8ee51dd0a420e950f611c4c646813a56
d2e2e3fd59b4b26416b18a455bd0711254bb2c0d
refs/heads/master
2020-04-08T06:42:57.161409
2018-10-27T20:49:02
2018-10-27T20:49:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
#! /usr/bin/env python """ An implementation of a MinHash bottom sketch, applied to k-mers in DNA. """ from __future__ import print_function import re import math import os from ._minhash import (MinHash, get_minhash_default_seed, get_minhash_max_hash) DEFAULT_SEED = get_minhash_default_seed() MAX_HASH = get_minhash_m...
[ "titus@idyll.org" ]
titus@idyll.org
c7ced81508764fc937a91a4cbd4954e58628fbee
2d007ed8dc854ad7058c6a6ed8b30dbd6e084a10
/backend/manage.py
f3b03d815d2c145fa3b510e40b6a9fd3d8f75e46
[]
no_license
crowdbotics-apps/myfirstapp-3463
65ca0607db6713327a98747d9e1665e0fb418362
0aa2f2bc69e0eba3693c0594ba10555eedadce25
refs/heads/master
2020-05-24T09:58:00.059779
2019-05-17T13:15:26
2019-05-17T13:15:26
187,218,474
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myfirstapp_3463.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure t...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
79fb8a6fbf2ab880883bfa149f35caf5f4210b83
3d7fbf490b060f1cf2b5b438df3f802cf4880feb
/memento.py
f84d6d9b6f0fe6a7478388ef34c7f69f12b34ed5
[]
no_license
gennad/Design-Patterns-in-Python
6e5e847e5b0b327c324ffa794c6923af115896de
9377958fcaee0c547ed9481a97e5fb67c934aa38
refs/heads/master
2022-06-09T12:20:39.854652
2020-12-19T22:54:42
2020-12-19T22:54:42
2,097,144
635
218
null
2021-08-06T01:15:36
2011-07-24T16:15:57
Python
UTF-8
Python
false
false
2,082
py
# TODO finish it import copy def Memento(obj, deep=False): state = (copy.copy, copy.deepcopy)[bool(deep)](obj.__dict__) def Restore(): obj.__dict__.clear() obj.__dict__.update(state) return Restore class Transaction: """A transaction guard. This is realy just syntactic suggar arount a...
[ "gennad.zlobin@gmail.com" ]
gennad.zlobin@gmail.com
4cf6a905f2375c3bca1cbd4410a2481cd5c786c3
2c190caa30c907a7177bfa588bce8c55158e03f7
/examples/demo_mc60.py
ba1d86d45f2bffc1c04fa7ad0979c2b05df7f7e6
[]
no_license
PythonOptimizers/HSL.py
4ee86a5bc0f4ce731d5bc704aa4dd1a6870fc2ec
4456d20a193749e16df9317059903da8888923bd
refs/heads/master
2020-12-30T21:57:52.617301
2017-09-19T08:28:16
2017-09-19T08:28:16
43,091,560
5
0
null
2017-09-19T08:28:18
2015-09-24T20:32:41
Python
UTF-8
Python
false
false
1,403
py
"""MC60 demo from the HSL MC60 spec sheet.""" import numpy as np from hsl.ordering import _mc60 icntl = np.array([0, 6], dtype=np.int32) # Abort on error jcntl = np.array([0, 0], dtype=np.int32) # Sloan's alg with auto choice weight = np.array([2, 1]) # Weights in Sloan's alg # Store lower triangle ...
[ "sylvain.arreckx@gmail.com" ]
sylvain.arreckx@gmail.com
11b90e39fe58726e223a59606ac29ea6d89a0461
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/cyphon/cyphon/aggregator/samples/models.py
9b5c8327e1d0a46ad5e986b883ff92bc97930480
[ "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-copyleft", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
2,294
py
# -*- coding: utf-8 -*- # Copyright 2017-2019 ControlScan, Inc. # # This file is part of Cyphon Engine. # # Cyphon Engine 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, version 3 of the License. # # Cyphon En...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
e2282d85d9a138b2aee1a4aeba064093576526e0
1669b79084113b3c7dcdb434c0ec769d12b171f9
/analytics/emr/emr-on-eks/scripts/spark-etl.py
c103ab025454dcb92010f2797df4d03cc3549d88
[]
no_license
liangruibupt/aws-is-how
5179ecf6ec5f23a0cdb530f4c8bfaa9565618c9a
9be933060f8a4e305f1bcfc6b4b55c242153c873
refs/heads/master
2023-08-31T03:38:18.947297
2023-08-31T03:15:12
2023-08-31T03:15:12
254,254,020
37
20
null
2023-05-01T20:59:31
2020-04-09T02:42:12
Jupyter Notebook
UTF-8
Python
false
false
738
py
import sys from datetime import datetime from pyspark.sql import SparkSession from pyspark.sql.functions import * if __name__ == "__main__": print(len(sys.argv)) if (len(sys.argv) != 3): print("Usage: spark-etl [input-folder] [output-folder]") sys.exit(0) spark = SparkSession\ .b...
[ "liangrui.bupt@gmail.com" ]
liangrui.bupt@gmail.com
507a9db7ba63ff49275df1eaafc305ca579ac7d4
2fac796fa58c67fb5a4a95a6e7f28cbef169318b
/leetcode/math/reach-a-number.py
a03ddea4aaee8dffe204bd4aaa9ea8f51ccc79bd
[]
no_license
jwyx3/practices
f3fe087432e79c8e34f3af3a78dd10278b66dd38
6fec95b9b4d735727160905e754a698513bfb7d8
refs/heads/master
2021-03-12T20:41:59.816448
2019-04-14T06:47:30
2019-04-14T06:47:30
18,814,777
2
0
null
null
null
null
UTF-8
Python
false
false
877
py
# https://leetcode.com/problems/reach-a-number/ # https://leetcode.com/problems/reach-a-number/discuss/112986/Concise-Python-with-explanation-and-example # https://www.youtube.com/watch?v=Bdw2Y9FrqcU # Time: O(sqrt(N)) # Space: O(1) class Solution(object): def reachNumber(self, target): """ :type t...
[ "jwyx88003@gmail.com" ]
jwyx88003@gmail.com
863f52e8f94e8d0a21b3cacde91c7a5573b6be4c
89fea7d230e282b3bd3cf2d7db1b003e572e6fa8
/genconf/tests/test_models.py
ebfd219a0d1931c79f130c07ae00da6019959b23
[]
no_license
madron/genconf
45abaf66010944e2df9ca1bdaa32328267c62584
99c7d82d55b5075299940adfeaff903b0c70bc8b
refs/heads/master
2020-12-04T11:51:16.029577
2016-01-15T09:35:01
2016-01-15T09:35:01
231,754,213
0
0
null
null
null
null
UTF-8
Python
false
false
6,000
py
import netaddr from django.core import urlresolvers from django.test import TestCase from .. import factories from .. import models class ProjectModelTest(TestCase): def test_str(self): project = factories.ProjectFactory(name='Test') self.assertEqual(str(project), 'Test') class RouterModelTest(T...
[ "massimiliano.ravelli@gmail.com" ]
massimiliano.ravelli@gmail.com
b12c9679513d9c63130ba2fa416abd9a05047537
aee144770c8f4ec5987777aebe5b064e558fc474
/doc/integrations/pytorch/parlai/tasks/personality_captions/agents.py
c9ae1274963b24c1be8b4099ffc2f1a17892594e
[ "CC-BY-SA-3.0", "Apache-2.0", "AGPL-3.0-only", "MIT" ]
permissive
adgang/cortx
1d8e6314643baae0e6ee93d4136013840ead9f3b
a73e1476833fa3b281124d2cb9231ee0ca89278d
refs/heads/main
2023-04-22T04:54:43.836690
2021-05-11T00:39:34
2021-05-11T00:39:34
361,394,462
1
0
Apache-2.0
2021-04-25T10:12:59
2021-04-25T10:12:59
null
UTF-8
Python
false
false
9,581
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Images and Comments from Personality-Captions dataset. 200k images + comments, with different personalities. ...
[ "noreply@github.com" ]
adgang.noreply@github.com
9c03fb73e0d409c4687aacb85c5220370a3a0f04
b954021d24a73021226e9f7718c57104bee9b391
/flask_web_app/__init__.py
7681b25c93221275623788eb5734d9868d991faa
[]
no_license
ezalorpro/flask_web
d35c3d406bf2244a9aa8bb1859ce7b2ddb23aaf8
c167b375751981610e9aad5c45d856be04e05c9a
refs/heads/master
2023-02-15T03:34:02.186518
2020-04-22T21:18:04
2020-04-22T21:18:04
258,022,491
0
0
null
null
null
null
UTF-8
Python
false
false
1,338
py
import os import os.path as op from flask_debugtoolbar import DebugToolbarExtension from flask_sqlalchemy import SQLAlchemy from flask_uploads import UploadSet, IMAGES, configure_uploads, patch_request_class from flask_migrate import Migrate from flask_admin import Admin from flask_login import LoginManager from flask...
[ "kleiver615@gmail.com" ]
kleiver615@gmail.com
b22baa02f48b15bb3732de22c386af854812c7ac
c94d1a966cea970eb60886831e6462f7cd25c686
/settings.py
eacc7dad48d3cee53020f834da2743581396d938
[]
no_license
morrah/pg_grep_server
440053439a8c1c664132932c9e44f0dc7e4d9d40
5864fccacbdbda8242d233e4b3f5ed56a6949e37
refs/heads/master
2021-01-17T12:00:36.674238
2017-06-28T19:10:33
2017-06-28T19:10:33
95,393,914
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import logging log = logging.getLogger('app') log.setLevel(logging.DEBUG) f = logging.Formatter('[L:%(lineno)d]# %(levelname)-8s [%(asctime)s] %(message)s', datefmt = '%d-%m-%Y %H:%M:%S') ch = logging.StreamHandler() ch.setLevel(logging.DEBUG) ch.setFormatter(f) log.addHandler(ch)
[ "none@none.com" ]
none@none.com
c9279bfa3f2d22c39a0ff526acfa308eaf5a8a5a
b0735323f67cfa035b60b6172af356ad7b8bedd0
/GTCI_ModifiedBinSearch/1/CeilingOfNumber.py
e6503e12a07a54b00f262596f8c2a5da22f28d1f
[]
no_license
arvakagdi/GrokkingTheCodingInterviews
041e744c0391fd4bb49c5df6319edac591885c50
7476f4576650def48b97c020d19ccf6746763349
refs/heads/master
2022-12-14T17:35:13.129933
2020-09-04T04:31:12
2020-09-04T04:31:12
278,866,685
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
''' Problem Statement # Given an array of numbers sorted in an ascending order, find the ceiling of a given number ‘key’. The ceiling of the ‘key’ will be the smallest element in the given array greater than or equal to the ‘key’. Write a function to return the index of the ceiling of the ‘key’. If there isn’t a...
[ "noreply@github.com" ]
arvakagdi.noreply@github.com
c9ca2accc09c7e5e94da601dfcfa3dd6cb38ad85
a2dc75a80398dee58c49fa00759ac99cfefeea36
/bluebottle/funding/migrations/0048_add_permissions.py
09cd265cb197c2f8cd8fb82c76ec997546aaf289
[ "BSD-2-Clause" ]
permissive
onepercentclub/bluebottle
e38b0df2218772adf9febb8c6e25a2937889acc0
2b5f3562584137c8c9f5392265db1ab8ee8acf75
refs/heads/master
2023-08-29T14:01:50.565314
2023-08-24T11:18:58
2023-08-24T11:18:58
13,149,527
15
9
BSD-3-Clause
2023-09-13T10:46:20
2013-09-27T12:09:13
Python
UTF-8
Python
false
false
686
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2019-11-11 12:19 from __future__ import unicode_literals from django.db import migrations from bluebottle.utils.utils import update_group_permissions def add_group_permissions(apps, schema_editor): group_perms = { 'Staff': { 'perms': ( ...
[ "loek@goodup.com" ]
loek@goodup.com
30fd4bcf5ddb5c70d74ff3608a73219a9e2fd7c4
adb759899204e61042225fabb64f6c1a55dac8ce
/2100~2199/2156.py
238b8237d49ba120d04fa220b50278fad098528d
[]
no_license
geneeol/baekjoon-online-judge
21cdffc7067481b29b18c09c9152135efc82c40d
2b359aa3f1c90f178d0c86ce71a0580b18adad6f
refs/heads/master
2023-03-28T23:25:12.219487
2021-04-01T09:19:06
2021-04-01T09:19:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
# 문제 # 효주는 포도주 시식회에 갔다. # 그 곳에 갔더니, 테이블 위에 다양한 포도주가 들어있는 포도주 잔이 일렬로 놓여 있었다. # 효주는 포도주 시식을 하려고 하는데, 여기에는 다음과 같은 두 가지 규칙이 있다. # 포도주 잔을 선택하면 그 잔에 들어있는 포도주는 모두 마셔야 하고, # 마신 후에는 원래 위치에 다시 놓아야 한다. # 연속으로 놓여 있는 3잔을 모두 마실 수는 없다. # 효주는 될 수 있는 대로 많은 양의 포도주를 맛보기 위해서 어떤 포도주 잔을 선택해야 할지 고민하고 있다. # 1부터 n까지의 번호가 붙어 있는 n개의 포도주 잔이 순서대로 ...
[ "alstn2468_@naver.com" ]
alstn2468_@naver.com
ba484a8ef5a73bf131ff187e31fde36fe0df935c
71854dbbcb1726be246d9889dc9cdbf50da8a96f
/zvt/recorders/ccxt/coin_kdata_recorder.py
d220dcfda070c3e3f19b81162886ee5b79dc1ab6
[]
no_license
dxcv/zvt
7698af3332a3a15a785204feaa03b0ae30eb0ef3
c8ed9a4e56b46a4f90d87356ed777f2fada5e49d
refs/heads/master
2020-06-10T05:45:59.286444
2019-06-23T07:42:24
2019-06-23T07:50:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,138
py
# -*- coding: utf-8 -*- import argparse import logging from zvt.accounts.ccxt_account import CCXTAccount from zvt.api.common import get_kdata_schema, generate_kdata_id, to_ccxt_trading_level from zvt.domain import SecurityType, TradingLevel, Provider, to_pd_timestamp, Coin, COIN_EXCHANGES, COIN_PAIRS from zvt.recorder...
[ "5533061@qq.com" ]
5533061@qq.com
fa57a8fd9bf35f08469e6e5f5d844d7294072688
df4e8c7385ab7b2b663d2b35929fb105e69d5ee5
/code/neural_networks/neural_stack.py
5e4b0384d83a1dcf29bd883a696cba3d39a82419
[]
no_license
EricSchles/intro_to_ml
6e2cf22b335afff4dccb7508ede061bba2365896
53e6a9b26d7bece2016895681f438fb5b9eff4a3
refs/heads/master
2020-12-29T02:24:50.390610
2017-04-06T20:38:43
2017-04-06T20:38:43
53,215,014
26
12
null
null
null
null
UTF-8
Python
false
false
13,569
py
import numpy as np def sigmoid(x): return 1/(1+np.exp(-x)) def sigmoid_out2deriv(out): return out * (1 - out) def tanh(x): return np.tanh(x) def tanh_out2deriv(out): return (1 - out**2) def relu(x,deriv=False): if(deriv): return int(x >= 0) return max(0,x) class NeuralStack(): ...
[ "ericschles@gmail.com" ]
ericschles@gmail.com
6d36b09d0370b696234a2a6b98085ce91b022dc1
6225ccaaa4bfd1f97663be98abe7ac1db162d50c
/ports/esp32/boards/manifest_tve.py
0f79b37d768590cc45fea597b710c76ad5054fb6
[ "MIT" ]
permissive
tve/micropython
7b4710549667ac5feeffcdd300661504545af86d
fa38712e1ae1d477ca19e86ea7303b11e2688138
refs/heads/tve-1.13
2021-06-30T19:07:16.418770
2021-01-19T00:35:45
2021-01-19T08:32:28
230,519,911
4
2
MIT
2022-07-29T11:45:51
2019-12-27T21:20:20
C
UTF-8
Python
false
false
568
py
freeze("$(PORT_DIR)/modules") SRC_TOP = "/home/src/esp32/" freeze(SRC_TOP + "mqboard/mqtt_async", "mqtt_async.py") freeze(SRC_TOP + "mqboard/mqrepl", ["mqrepl.py"]) # "watchdog.py" freeze(SRC_TOP + "mqboard/board", ["logging.py"]) # "mqtt.py" freeze(SRC_TOP + "mpy-lib/sntp", "sntp.py") freeze(SRC_TOP + "mpy-lib/seven...
[ "tve@voneicken.com" ]
tve@voneicken.com
165909378429642f83e3e0b154710ba0cc4e0d26
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/zulip/2016/8/html_grep.py
8bc74fb0d032835b7c682f077c6a72ef27d41ddf
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
1,805
py
from __future__ import absolute_import from __future__ import print_function from collections import defaultdict from six.moves import range from .template_parser import html_branches, Token, HtmlTreeBranch def show_all_branches(fns): # type: (List[str]) -> None for fn in fns: print(fn) text =...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
776b3ae72aab13b942e8065de5778cf5316f4db5
592f8de9c3a0c4187b1918931963d8d184ad2d77
/tests/system/user.py
8d3e8880e1179f0ba079c666fe48b7b2b21516e1
[ "MIT" ]
permissive
jacebrowning/coverage-space
5982385a0395b0fd88d2d04467c4e8d95f5b590c
0a6d07d4a2616ab5de278376077e1f9ab84497f2
refs/heads/main
2022-12-11T10:20:43.517366
2022-12-09T00:36:34
2022-12-09T00:36:34
50,630,439
3
0
NOASSERTION
2022-12-08T07:45:08
2016-01-29T02:16:25
Python
UTF-8
Python
false
false
111
py
site = None browser = None def visit(path): browser.visit(site + path) def goto_home(): visit("/")
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
42cea08857cb019e709d3ea59b0505beafd30409
59166105545cdd87626d15bf42e60a9ee1ef2413
/dbpedia/models/journalist.py
46a9273feabb98b5513922caf6934d6257226f00
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
237,562
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from dbpedia.configuration import Configuration class Journalist(object...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
67e8b5bb9d61449c5b5dd9d1d130297d6ad0e759
2954771f6f3accfd9d2cc14baf6f82b28639eb24
/thesis_cover.py
ee425a7bbb2d4a878d4c868479aaca31f4deb4d5
[]
no_license
PoeBlu/spin-orbit-nanowires
b4d8582424dd84cfed58c0c58a33f326d0905316
a7fb5a9a335b74ec0d135bf4663bdecfaf1b7545
refs/heads/master
2023-04-27T04:21:18.868876
2019-12-13T23:57:18
2019-12-13T23:57:18
227,952,864
0
0
null
2019-12-14T02:08:01
2019-12-14T02:08:00
null
UTF-8
Python
false
false
5,352
py
import os import os.path import sys from glob import glob from typing import Optional import matplotlib import matplotlib.cm import matplotlib.tri as mtri import numpy as np from matplotlib import pyplot as plt import adaptive def learner_till(till, learner, data): new_learner = adaptive.Learner2D(None, bounds=...
[ "basnijholt@gmail.com" ]
basnijholt@gmail.com
8a0df5b66459c3e54362ac894a5f3b6bcd5d5472
d87483a2c0b50ed97c1515d49d62c6e9feaddbe0
/.history/main_20210201003749.py
6ea6a4fb9990325f6fb98ea273aa35115ebd10ef
[ "MIT" ]
permissive
HopperKremer/hoptrader
0d36b6e33922414003cf689fb81f924da076a54b
406793c10bc888648290fd15c7c2af62cf8c6c67
refs/heads/main
2023-06-12T15:51:00.910310
2021-07-06T16:15:41
2021-07-06T16:15:41
334,754,936
0
2
null
null
null
null
UTF-8
Python
false
false
992
py
import os, sys currentdir = os.path.dirname(os.path.realpath(__file__)) parentdir = os.path.dirname(currentdir) sys.path.append(parentdir) import config import holdings import robin_stocks as r import pyotp from selenium import webdriver import time # totp = pyotp.TOTP("My2factorAppHere").now() # login = r.login('ho...
[ "hopperkremer@gmail.com" ]
hopperkremer@gmail.com
0ccefec851e39d4b1fc77ad618a95f34071e93fc
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/Brocade-TC.py
5d929966782f66742e8df1f9ece1f7b4cb9cfffb
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
2,845
py
# # PySNMP MIB module Brocade-TC (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Brocade-TC # Produced by pysmi-0.3.4 at Mon Apr 29 17:19:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
e6ea60ec908dd0bfd46977236911d007605b4279
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnavanc.py
0294ad64bd0299dfec3f35a1b6060f8f99fa4cfb
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
43
py
ii = [('PettTHE.py', 1), ('CarlTFR.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
edac2a418fa590005df37b9dbbbe39dde2eb31a1
eade1861db1968645e0e17dfaa5250a4b8245b98
/paipaidai/feat1.py
d3aab608198a026459f9112b9de05330282e7c53
[]
no_license
piupiuup/competition
5b5da56fed336e07cf99cef8f5bfe89a8f771900
076c30df3d2647cb3580c543e604375e84590ca7
refs/heads/master
2022-09-30T14:47:01.244084
2020-05-30T12:56:02
2020-05-30T12:56:02
268,074,180
1
0
null
null
null
null
UTF-8
Python
false
false
5,071
py
from tool.tool import * data_path = 'C:/Users/cui/Desktop/python/paipaidai/data/' test = pd.read_csv(data_path + 'test.csv') train = pd.read_csv(data_path + 'train.csv') question = pd.read_csv(data_path + 'question.csv') char = pd.read_csv(data_path + 'char_embed.txt') word = pd.read_csv(data_path + 'word_embed.txt') ...
[ "278044960@qq.com" ]
278044960@qq.com
68511d3c134a7ccc773a6bbf0130c6dcf27e1673
7bd9be7f25be80791f9220b62025f06170273293
/front-plugins/visible/src/event.py
897727553359c8f6fbf5b331ac46c818a81c94ed
[]
no_license
cerebrohq/cerebro-plugins
ab46b4844adcb12c51d14e21f2c0d8b758b0bb57
e2e0f97b548ef22957e13d614200027ba89215e0
refs/heads/master
2021-11-12T16:25:48.228521
2021-10-22T11:25:58
2021-10-22T11:25:58
143,178,631
5
3
null
null
null
null
UTF-8
Python
false
false
482
py
# -*- coding: utf-8 -*- import cerebro import visible.config as config def before_event(event): if event.event_type() == event.EVENT_CREATION_OF_TASK: if not cerebro.core.user_profile()[cerebro.aclasses.Users.DATA_ID] in config.ignore_users: event.definition().set_client_visible(True) if event.event_type() ==...
[ "41910371+cerebroSupport@users.noreply.github.com" ]
41910371+cerebroSupport@users.noreply.github.com
09f8326f6ab05f512e29df35e3a8dd8aafe9afb6
0859a864b1270164fe44a878ab12cfb3302c36bf
/abc164/e.py
b61885703a1b3ad571a50e7f9e652300632a1205
[]
no_license
wataoka/atcoder
f359d49ab6e0db39c019d9f6d2e8b92d35f723c4
b91465dd5f655d05b89485fc7ad222283c5958f5
refs/heads/master
2021-04-15T06:02:59.593965
2020-05-11T04:38:23
2020-05-11T04:38:23
126,754,342
0
0
null
2020-02-28T02:31:03
2018-03-26T00:51:12
Python
UTF-8
Python
false
false
813
py
""" ダイクストラ法 Params: s: 始点 num_v: 頂点の数 cost[u][v]: 辺uvのコスト (存在しない場合はINF) Return: 始点sから各頂点への最短距離リスト """ def dijkstra(s:int, num_v:int, cost): d = float("inf")*num_v used = [False]*num_v d[s] = 0 while True: v = -1 for i in range(num_v): if not(used[i]): ...
[ "wataoka@stu.kobe-u.ac.jp" ]
wataoka@stu.kobe-u.ac.jp
9fdf89d609436c743e6d8cc3892ce4843639b507
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv2/lib/python3.8/site-packages/ansible/modules/clustering/etcd3.py
fdb155499477e7aa54564f7e32ca640f71e543b7
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
5,932
py
#!/usr/bin/python # # (c) 2018, Jean-Philippe Evrard <jean-philippe@evrard.me> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = { 'metadata_version': '1.1', 'st...
[ "sifang@cisco.com" ]
sifang@cisco.com
5388eda7fe5ec8b6ba30f7e8db7061fe5cd936f2
6b0d0aec9704d70663fe0edc2a6624a689cc081e
/src/core/tacotron/model_acc.py
9878ef3bf6f90b7fc2670aead1f46025c3054e52
[ "BSD-3-Clause" ]
permissive
stefantaubert/tacotron2
086d81b38b2c49655df6b0d8d63c633e7531399a
8475f014391c5066cfe0b92b6c74568639be5e79
refs/heads/master
2023-03-29T21:07:02.266973
2020-11-25T09:57:40
2020-11-25T09:57:40
267,858,113
5
0
BSD-3-Clause
2020-05-29T12:56:56
2020-05-29T12:56:55
null
UTF-8
Python
false
false
28,593
py
# from logging import Logger # from math import sqrt # from typing import List, Optional, Tuple # import torch # from torch import Tensor, nn # from torch.autograd import Variable # from torch.nn import functional as F # from src.core.common.globals import PADDING_SYMBOL # from src.core.common.layers import ConvNorm,...
[ "stefan.taubert@posteo.de" ]
stefan.taubert@posteo.de
96b93d86b4c38a545307ebadd34537fb48efcfb8
d9d0d3a82d5ba4016097491c276409b9b1ea778a
/Kattis/flyingsafely.py
78374f1dcd6988acda35571b8016d25176dc362c
[ "MIT" ]
permissive
ruidazeng/online-judge
311b9f2c3120b47da91da2d404e2ea1d9a2a24dd
6bdf8bbf1af885637dab474d0ccb58aff22a0933
refs/heads/master
2022-02-16T00:35:11.852600
2022-01-26T02:28:53
2022-01-26T02:28:53
191,827,952
0
1
MIT
2019-07-31T10:25:36
2019-06-13T20:21:18
Python
UTF-8
Python
false
false
129
py
T = int(input()) for _ in range(T): n, m = map(int, input().split()) print(n - 1) for _ in range(m): input()
[ "ruida.zeng@vanderbilt.edu" ]
ruida.zeng@vanderbilt.edu
6d6d0e40511bd174ec235b758aafa6f0c6316370
8afb5afd38548c631f6f9536846039ef6cb297b9
/GIT-USERS/amitness/photolog/photoreport/mainapp/migrations/0003_inputfile_project.py
aac44d1cb2a253288e0a2cc3673f41c61546369c
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
623
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-08-14 11:15 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [("mainapp", "0002_auto_20160813_0245")] operations = [ migr...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
fe98fdf9a6181b05d75b3fccdb96e410226574fe
56c6a57db903979bad3a876e80ea5c1269cc6f8b
/pyqt5/ex13_pixmap.py
ac70878d6b55c574b302a369e9639dc500cb9d9c
[]
no_license
benzoa/pythonStudy
ea28916265e4223eed0043a274b702d1f997f578
ae36a0daf360d7e948fb6b3704ecbf2629cc5e4e
refs/heads/master
2021-03-29T18:20:57.966073
2020-10-31T13:08:20
2020-10-31T13:08:20
247,975,252
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
import sys from PyQt5.QtWidgets import QWidget, QApplication from PyQt5.QtGui import QPixmap from PyQt5 import uic form_class = uic.loadUiType("ui/pixmap.ui")[0] class WindowClass(QWidget, form_class): def __init__(self): super().__init__() self.setupUi(self) # Pixmap self.pixmap...
[ "namu8si@gmail.com" ]
namu8si@gmail.com
9357c7b2da13e8783448c31d213a2552b1e03fdf
377420d718094a37da2e170718cecd80435d425a
/google/ads/googleads/v4/enums/types/ad_strength.py
9a80bb7ad6be63c3fcc5a234717ffd628012b4ff
[ "Apache-2.0" ]
permissive
sammillendo/google-ads-python
ed34e737748e91a0fc5716d21f8dec0a4ae088c1
a39748521847e85138fca593f3be2681352ad024
refs/heads/master
2023-04-13T18:44:09.839378
2021-04-22T14:33:09
2021-04-22T14:33:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
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...
[ "noreply@github.com" ]
sammillendo.noreply@github.com
7cf53367ab86d416e16fe5b41f6cbfe6f33f9004
25fbc8c31904f24d3501dbad79e07e89bd2de92c
/main.py
8f11025f980de5d9e2e25fdc1c7013f0be5a5f71
[]
no_license
NaleRaphael/gh_actions_test
9c16b24dee3fbfa3cafff87a2907c67bc3c3ef61
5d6a83c89258059c9ff46df9dc3d18069f85b4c5
refs/heads/master
2022-10-31T22:27:34.877505
2020-05-30T10:40:00
2020-05-30T10:40:00
268,036,293
0
0
null
2020-06-11T17:40:05
2020-05-30T08:06:47
Python
UTF-8
Python
false
false
366
py
import torch import torch.nn as nn import torch.optim as optim from torch.optim.lr_scheduler import LambdaLR def main(): model = nn.Linear(4, 8) optimizer = optim.SGD(model.parameters(), lr=1e-3) scheduler = LambdaLR(optimizer, lr_lambda=[ lambda epoch: 0.1**epoch ]) print(scheduler.last_e...
[ "gmccntwxy@gmail.com" ]
gmccntwxy@gmail.com
e4410e576eac3a68491ead5d6ee1c3faced4bb7a
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/satm/fabp.py
9d0ab269379b22baf154fe19f8b8d3311b87c8af
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
6,421
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
9a59d45d375a20bfc774ac0abe8c2449012812cb
3c90e5845a780e2cbffda34c20dd9a3a25107e27
/提成查询/con_sql.py
0dfd1aff2a377ea3360ebf3229413537ae64638f
[]
no_license
zhouf00/TestCode
25044dea54d23836c89b3fa7abca5150977ad70d
a414e007a55112ff8b9fd9447ae1b6e336768f78
refs/heads/master
2020-05-17T18:13:30.454445
2020-05-14T09:45:52
2020-05-14T09:45:52
183,878,917
0
1
null
null
null
null
UTF-8
Python
false
false
3,438
py
import pymysql.cursors class MySql(object): # 用构造函数实现数据库连接,并引入mydb参数,实现调用不同的数据库 def __init__(self, con_name): server_ip, server_port, server_user, server_pwd, server_db = con_name if server_db == "-": server_db = None config = { "host": server_ip, "p...
[ "49618748+zhouf00@users.noreply.github.com" ]
49618748+zhouf00@users.noreply.github.com
d921cef5e5cd545ba243138c4d2f408582a27b5f
19102b3cc7a78b4f09d5e5eef3f7a93e33d8b988
/backend/api/services/model_year_report.py
67902b750e87d22721d29bc640eef74cff68bd5b
[ "Apache-2.0" ]
permissive
emi-hi/zeva
196b766096d2353b8ba57347b4946dce43c1b0a7
b395efe620a1b82c2ecee2004cca358d8407397e
refs/heads/master
2023-04-16T15:20:29.240394
2023-03-21T21:44:08
2023-03-21T21:44:08
234,123,338
0
0
Apache-2.0
2020-01-15T16:27:38
2020-01-15T16:27:37
null
UTF-8
Python
false
false
14,996
py
from decimal import Decimal from datetime import date from api.models.model_year_report_confirmation import \ ModelYearReportConfirmation from api.models.model_year_report_statuses import ModelYearReportStatuses from api.models.model_year_report import ModelYearReport from api.models.model_year import ModelYear fr...
[ "noreply@github.com" ]
emi-hi.noreply@github.com
967a93f43a5e56f3e51b5ca6054f45d770fa1ca9
2d6f57a52d1510f0125865846e0a741bbff7394f
/morgan/api.py
f57d561e12e11268ed18032d254019f9eb1996db
[]
no_license
songlei1979/Morganoffice
30609dc00efad79b319ede13553222048afb31b1
094859c44aa60d3a28d20b9146b16bc4e94e726e
refs/heads/master
2023-07-18T20:36:54.042563
2020-08-03T00:35:31
2020-08-03T00:35:31
281,807,389
0
0
null
2021-09-22T19:29:17
2020-07-22T23:54:42
Python
UTF-8
Python
false
false
1,052
py
from morgan.models import Department, Employee, Project, Assignment from rest_framework import viewsets, permissions from .serializers import DepartmentSerializer, EmployeeSerializer, ProjectSerializer, AssignmentSerializer class DepartmentViewSet(viewsets.ModelViewSet): queryset = Department.objects.all() per...
[ "gabriel_sl19798@hotmail.com" ]
gabriel_sl19798@hotmail.com
d344dc80d81aaf7143b4e16951ca048b2941eeb5
79ed3f72555aad8548634f523f775f34cfe166e7
/catch/datasets/rodent_hepacivirus.py
f54d25df6cac127cb0bff213b26d000c483a8a7a
[ "MIT" ]
permissive
John-Bioinfo/catch
a2ab188ed598767e7759f74227f24af2b284b379
fe63b86bc41396c1da0b449ac440c6ae9e52b2c5
refs/heads/master
2020-03-18T09:29:10.315733
2018-04-17T18:36:47
2018-04-17T18:36:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
"""Dataset with 'Rodent hepacivirus' sequences. A dataset with 1 'Rodent hepacivirus' genomes. THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROGRAM! DO NOT EDIT! """ import sys from catch.datasets import GenomesDatasetSingleChrom __author__ = 'Hayden Metsky <hayden@mit.edu>' ds = GenomesDatasetSingleChrom(__name...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
2ebedc7cc3d09c6f5310e11a47ac11ef771e871c
78c41e28d9718b5d043078f984352d9643aa18ac
/Search a 2D Matrix.py
e0793754f885b3586f225dbbf541e8c108af615a
[]
no_license
vyshor/LeetCode
43c772e249d57b6e23649e73b99e7ace09dd6278
c19713ffee5c2919c293b5680bd3d3dfc8345414
refs/heads/master
2023-08-03T04:37:27.846968
2023-08-02T17:54:35
2023-08-02T17:54:35
336,757,790
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
class Solution: def searchMatrix(self, matrix: List[List[int]], target: int) -> bool: for row in matrix: if not row: return False if row[-1] < target: continue else: ind = bisect_left(row, target) if ind >= 0...
[ "vyshornehc@gmail.com" ]
vyshornehc@gmail.com
da33f4bdf24f817e09fe92b928d2fac1fd91c56a
1625edfe28b4b0979fd32b4a3c5e55249a993fd5
/baekjoon9613.py
8b0e69e8e234bf1b4abd4e15b75cf9d233915ee1
[]
no_license
beOk91/baekjoon2
b8bf504c506c6278899d4107ecfe51974ef13f5e
39569f8effb8e32405a7d74d98bdabcab783ec56
refs/heads/master
2023-05-11T20:11:19.015113
2020-09-14T23:58:49
2020-09-14T23:58:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
def gcd(a,b): a,b= b if a<b else a, a if a<b else b if b==0:return a return gcd(b,a%b) t=int(input()) for _ in range(t): cmd=list(map(int,input().strip().split()))[1:] print(sum(gcd(cmd[i],cmd[j]) for i in range(len(cmd)) for j in range(i+1,len(cmd)) ))
[ "be_ok91@naver.com" ]
be_ok91@naver.com
a7ba8dc19ccdfba9d2ca9846f0fe348ebbc2f2f1
ed0f9eb0c1cb4858d91ef7e2d435db307f23a5a5
/dist/manage/django/conf/locale/pl/formats.py
1aeee3bbb339c6f5fc8188d8ea18aaa4fbd4d293
[]
no_license
hjlhehehe123/ATC_Data
81b4622e7279aa9cc2013db8cc5a71d33561e768
ad35e61afb8e87d8bab2d2b3aeea08e9409d56c0
refs/heads/master
2023-07-13T16:23:45.951584
2021-08-20T12:37:34
2021-08-20T12:37:34
256,994,694
1
1
null
null
null
null
UTF-8
Python
false
false
1,011
py
# This file is distributed under the same license as the Django package. # # The *_FORMAT strings use the Django date format syntax, # see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date DATE_FORMAT = 'j E Y' TIME_FORMAT = 'H:i' DATETIME_FORMAT = 'j E Y H:i' YEAR_MONTH_FORMAT = 'F Y' MONTH_DAY_FORMAT...
[ "1598214715@qq.com" ]
1598214715@qq.com
a6bb97a322138f1854fa44d0476c60910df034dc
04243fa373388586703403684cf9f9c612db0ce6
/plugins/email/pattern.py
8e10f5c185d76698197522d147255a14b079f59c
[ "MIT" ]
permissive
alexisolivo/FARO
c6c73746b993a53f0071b0becd801e9350e11a61
4d5585a1f08ce74baff3acf92668646dc9919439
refs/heads/master
2023-05-14T09:45:04.644505
2021-02-08T10:32:40
2021-02-08T10:32:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from utils.pattern.pattern_base import PluginPatternBase _CWD = os.path.dirname(__file__) class PluginPattern(PluginPatternBase): def strict_regexp(self): return { "STRICT_REG_EMAIL_ADDRESS_V0": r"[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA...
[ "jose.torres@11paths.com" ]
jose.torres@11paths.com
4cbc36de519641cc6bcc0e4c5931c985feead347
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/ml/azure-ai-ml/azure/ai/ml/_schema/_feature_set/feature_set_schema.py
782642fd844e2f9fe9763001eb905a7b3567d947
[ "LicenseRef-scancode-python-cwi", "LGPL-2.1-or-later", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", "HPND", "ODbL-1.0", "GPL-3.0-only", "Z...
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
1,135
py
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- # pylint: disable=unused-argument,no-self-use from marshmallow import fields, validate from azure.ai.ml._schema import NestedField from a...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
11d7644c9096509b561dfd9cd9747efe15cb79ec
2d040fde3d3638939718ccfd42eff9e35c352331
/EXAMPLES/EDABIT/EXPERT/122_alpha_range.py
d0d18805e2ad88eccef063cd0672b936ff5ebf55
[]
no_license
ceyhunsahin/TRAINING
fcb9837833d2099dc5724f46a675efe4edf3d5f1
73cc7dba8447e4066ccfe7adadc727d134ffbf0b
refs/heads/master
2023-07-13T01:12:53.160300
2021-08-17T11:50:51
2021-08-17T11:50:51
397,591,819
1
0
null
2021-08-18T12:25:45
2021-08-18T12:25:44
null
UTF-8
Python
false
false
2,951
py
""" https://edabit.com/challenge/rihSbQq6x8R2D4aoa Alpha-Range As you know, the function range() returns a range of numbers, but it doesn't work on alphabets. In this challenge, we try to fill this gap. Write a function alpha-range() which takes three arguments start, stop, and step (which its default value is o...
[ "mustafaankarali35@gmail.com" ]
mustafaankarali35@gmail.com
574422462da282f9177f4e76d83c74f0b4e59796
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03696/s176008767.py
f20302bbb676aa8129663f5f5f26fc79fac6cd03
[]
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
288
py
#!/usr/bin/env python # coding: utf-8 # In[1]: N = int(input()) S = input() # In[2]: l = 0 r = 0 for s in S: if s == "(": r += 1 else: if r > 0: r -= 1 else: l += 1 ans = "".join(["("*l , S, ")"*r]) print(ans) # In[ ]:
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c70ca8ec89f936700eda664d17bd244a58fd991b
562b4d1d738d6d3645df90a811900050e4b31c83
/MIT Practice Solutions/Ps1/ps1_c[solution2].py
b5d12ccb6b7a8e9ba12c298a814c40b0e0edcef3
[]
no_license
nivethaa8/PythonSolutions
0318d027b8f666d585898f91c151a9794cffe8d1
63baf6a5ea030af83f65693c4a5540820b30a302
refs/heads/master
2022-12-06T13:49:23.655870
2020-09-14T01:49:06
2020-09-14T01:49:06
295,273,863
0
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
def find_best_savings_rate(starting_salary): low = 0 high = 10000 steps = 0 # Bisection search for the best savings rate while True: steps += 1 best_savings_rate_guess = (high + low) // 2 current_savings = 0 annual_salary = starting_salary for months in range(...
[ "nivethaa.321@gmail.com" ]
nivethaa.321@gmail.com
b2836895383507a6dfef8da48aa1800deab271ff
eefb06b0d8c8c98c1e9cfc4c3852d5c453eb5429
/data/input/ak3n/aurora/aurora_app/users/views.py
02228798f0b179793d3de23d14a2c350752274ab
[]
no_license
bopopescu/pythonanalyzer
db839453bde13bf9157b76e54735f11c2262593a
8390a0139137574ab237b3ff5fe8ea61e8a0b76b
refs/heads/master
2022-11-22T02:13:52.949119
2019-05-07T18:42:52
2019-05-07T18:42:52
282,079,884
0
0
null
2020-07-23T23:46:09
2020-07-23T23:46:08
null
UTF-8
Python
false
false
2,662
py
from flask import Blueprint, render_template, redirect, url_for, request, g from ..decorators import must_be_able_to from ..extensions import db from ..utils import notify, get_or_404 from .models import User from .forms import EditUserForm, CreateUserForm users = Blueprint('users', __name__, url_prefix='/users') ...
[ "rares.begu@gmail.com" ]
rares.begu@gmail.com
52e21b9446cf48884e0f2e9e2da47f4a842f0824
8454441f899c3beb9fcea26cffc2f4c3cf75ff6a
/linux/bin/manage_extension.py
c92c66c6ed767c9d60b179e2f159a522765dd5cb
[ "MIT" ]
permissive
nevesnunes/env
4a837e8fcf4a6a597992103e0a0c3d0db93e1c78
f2cd7d884d46275a2fcb206eeeac5a8e176b12af
refs/heads/master
2023-08-22T15:49:35.897161
2023-08-15T13:51:08
2023-08-15T13:51:08
199,400,869
9
6
MIT
2023-06-22T10:59:51
2019-07-29T07:24:47
Python
UTF-8
Python
false
false
460
py
import sys import subprocess def make_extension_array(extension): old_array = subprocess.run( \ 'gsettings get org.gnome.shell enabled-extensions', \ shell=True, \ stdout=subprocess.PIPE).stdout return old_array[:-2].decode(encoding='UTF-8') + ", '" + extension + "']" if __...
[ "9061071+nevesnunes@users.noreply.github.com" ]
9061071+nevesnunes@users.noreply.github.com
ae510c2f9246629cd01d9a14c84d130b95c1c1ac
526bf18a8695862067c817f432ab197ceb645f39
/scrappers/bfs/weedmaps/weedmaps.py
08aaecd54213eb8cf37ec96151bb77f41266e9e1
[]
no_license
sintimaski/bfs-be
a7fd623911a2220face49a0ef84574f3fd7a09a8
964a9c7e9cc876aaf8b0723d6b3f26bd378c3721
refs/heads/master
2023-08-02T09:00:44.855055
2021-09-22T13:07:01
2021-09-22T13:07:01
339,531,610
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
from .api.api_weedmaps import WeedmapsAPIScrapper def scrape_data(): scrapper = WeedmapsAPIScrapper() scrapper.scrape_data() # if __name__ == "__main__": # scrape_data()
[ "dimadrebezov@gmail.com" ]
dimadrebezov@gmail.com
d129341fad0ef41202b6542263d11cabe079574f
055a6fe8385bf9bfdc081290b89d7a91271eb60e
/extract_sift_kornia_affnet_desc.py
3b7db2396f67e7424ddf47d14fba6806d40f519d
[ "Apache-2.0" ]
permissive
bankbiz/image-matching-benchmark-baselines
3f34ae01209ad7bfee37955fb64839c8d2f289dd
ef7ab62d506bc2a1bd878f67653eed2ea8112e2b
refs/heads/master
2023-07-31T17:30:24.618577
2021-09-13T17:10:14
2021-09-13T17:10:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,735
py
import os import sys from PIL import Image import numpy as np import torch.nn as nn import torch import argparse from glob import glob import h5py import json from torch import tensor sys.path.append(os.path.join('third_party', 'r2d2')) import kornia as K import kornia.feature as KF from kornia_moons.feature import * ...
[ "ducha.aiki@gmail.com" ]
ducha.aiki@gmail.com
a53a8fe29b6ff19c4aca33b877636b483a49f899
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/106/usersdata/219/52317/submittedfiles/questao2.py
41dcf093bc79572aba20af4c9b94d5090e0dae54
[]
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
994
py
# -*- coding: utf-8 -*- j1=int(input('Digite o valor de j1:')) j2=int(input('Digite o valor de j2:')) j3=int(input('Digite o valor de j3:')) j4=int(input('Digite o valor de j4:')) j5=int(input('Digite o valor de j5:')) j6=int(input('Digite o valor de j6:')) s1=int(input('Digite o valor de s1:')) s2=int(input('Digite o ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4f5a3cea4c944a41ce631abd2a2ad5e5bf124517
3a117858e61c87b703c694d8e1b6da61e6074851
/src/.history/Hiwin_strategy_test_20190614131246.py
3a2a13e3e920ca65cce2a820f7d7d0320714e5fd
[ "MIT" ]
permissive
SamKaiYang/ROS_Socket
4daa2c66181a76038e20161a44f1362084b6bd58
aa131496617cec0a9c32141565faa668db738eb9
refs/heads/master
2020-05-25T22:02:02.468922
2019-07-18T09:02:35
2019-07-18T09:02:35
188,009,003
0
1
null
null
null
null
UTF-8
Python
false
false
12,471
py
#!/usr/bin/env python3 # license removed for brevity #策略 機械手臂 四點來回跑 import rospy import os import numpy as np from std_msgs.msg import String from ROS_Socket.srv import * from ROS_Socket.msg import * import math import enum NAME = 'strategy_server' pos_feedback_times = 0 mode_feedback_times = 0 msg_feedback = 1 Arm_st...
[ "tt00621212@gmail.com" ]
tt00621212@gmail.com
710620bdbcc8a169e8a7e7f2acbcce700702f1f8
36216b52f6d3c9b5d16e9d93c56540fe07bc5f5a
/problem/migrations/0006_auto_20170829_2033.py
d0df334ed034644e6e3014bdef8f68ab613c85b2
[ "MIT" ]
permissive
zerolfx/eoj3
3984676d1e29ad5d04f06a41836ece3f1a452054
156060399d1c3e5f7bcdbf34eaffbe2be66e1b20
refs/heads/master
2020-08-10T19:55:36.278006
2019-10-11T10:26:20
2019-10-11T10:27:19
214,410,171
1
0
MIT
2019-10-11T10:39:12
2019-10-11T10:39:11
null
UTF-8
Python
false
false
458
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-08-29 20:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('problem', '0005_auto_20170825_2201'), ] operations = [ migrations.AlterFiel...
[ "scottyugochang@hotmail.com" ]
scottyugochang@hotmail.com