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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
e4ef6f4daa034338122443da3d297af7f4609fc5
0a79ec5939314e206f6b34744927711278eca712
/author_publication.py
d4e1a3acf3f5dc083c29cf1baa56da5fb89cccce
[]
no_license
jbragg/cscw16-bootstrapping
9c6d69b8f5c6e54b190d29298447165e97c62f6e
bef2dcf5be09a1da4dafae262dc772b96f40bcd4
refs/heads/master
2021-03-24T10:19:11.952218
2018-08-15T04:59:34
2018-08-15T04:59:34
71,861,467
1
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
import sys import urllib import urllib2 import mechanize from bs4 import BeautifulSoup import csv import json import os import re #http://academic.research.microsoft.com/RankList?entitytype=2&topDomainID=2&subDomainID=5&last=0&start=1&end=100 def main(): fout = open('authors_publication.csv','a') writer = c...
[ "wenhuang98@gmail.com" ]
wenhuang98@gmail.com
0051e201f83b7918036521db7a336b590e2f1a20
e7291fab42533b944bf7b97df5f0f57428784c43
/web2attack/w2a/modules/info/reverse_ip.py
f4a348db5dd907bdba5a2b638795342a1d06f4a5
[]
no_license
carson0321/Py-Web-vul
10a60a393b212ba243146af30d852fb7c656dc03
4a66a66096b7393aa048b18cf6c1a4737c60c4cd
refs/heads/master
2022-11-23T01:25:00.958775
2017-03-12T13:45:19
2017-03-12T13:45:19
84,727,875
1
2
null
2020-07-24T07:22:43
2017-03-12T13:31:43
Python
UTF-8
Python
false
false
10,563
py
# modules/reverse_ip.py # # Copyright 2012 Kid :"> from w2a.core.templates import Templates from w2a.lib.net.http import HTTP from w2a.config import CONFIG from w2a.lib.thread import Thread from w2a.lib.dbconnect import IPInSerter, getDomain, getIP from w2a.lib.file import FullPath, ReadFromFile, AppendFile from re...
[ "carson.wang@droi.com" ]
carson.wang@droi.com
e971626e0f9e825a4073e567b737aeff836e3c06
946fa06e50cf680f25af3560e84969b123c9b43b
/CopyTranslator.py
963a3c7ae8ad080a6328f71bb372912b1bf0503f
[]
no_license
getnewday/copyTranslate-sample-pyqt
f0bc05f7f79f08f145003a42730d0b8ca25f7ea0
f0ce44ec72238e23f1ee07f1b2404f1518e49a48
refs/heads/master
2023-02-09T05:20:21.518029
2020-12-27T04:41:48
2020-12-27T04:41:48
324,686,787
1
0
null
null
null
null
UTF-8
Python
false
false
6,730
py
import sys,math,time from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * from translate import Translate from settings import Settings from utils import Utils class CopyTranslator(QMainWindow): def __init__(self): super(CopyTranslator, self).__init__() self.settings ...
[ "756459364@qq.com" ]
756459364@qq.com
c2ee78250d0f3860d8ec164c11ab88e734704bed
8efd8bcd3945d88370f6203e92b0376ca6b41c87
/problems100_200/151_Reverse_Words_in_a_String.py
11b5357b6300152e2debfd6b3f1328822ffebdd4
[]
no_license
Provinm/leetcode_archive
732ad1ef5dcdfdde6dd5a33522e86f7e24ae2db5
3e72dcaa579f4ae6f587898dd316fce8189b3d6a
refs/heads/master
2021-09-21T08:03:31.427465
2018-08-22T15:58:30
2018-08-22T15:58:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
#coding=utf-8 ''' 151. Reverse Words in a String Given an input string, reverse the string word by word. Example: Input: "the sky is blue", Output: "blue is sky the". Note: A word is defined as a sequence of non-space characters. Input string may contain leading or trailing spaces. However, your reversed string...
[ "zhouxin@gmail.com" ]
zhouxin@gmail.com
6659b4d8145e55d900dcabb7398db42929c560f4
d75560d9acde4f1f6457898d8862b06ba5f8dd7b
/backend/msm_sgsjhsjh4803_de_13561/wsgi.py
3cd1976c5b367e8dc49ef8d3516ab2cc510980f7
[]
no_license
crowdbotics-apps/msm-sgsjhsjh4803-de-13561
af6563f775832664041dbd8abc5d05af9d8d4a4f
9364d828ffee0edfe68d263fce2b0a7cb2949039
refs/heads/master
2022-12-29T15:25:29.870944
2020-10-19T08:18:12
2020-10-19T08:18:12
305,263,685
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
""" WSGI config for msm_sgsjhsjh4803_de_13561 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdef...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0d6abab4f087b0d960991fcb7127878d6ac60af7
4fc21c3f8dca563ce8fe0975b5d60f68d882768d
/neoOkpara/Phase-1/Day7/environmentVariables.py
65ec4f88a10f613d3f23446bd640b865aa59094e
[ "MIT" ]
permissive
Uche-Clare/python-challenge-solutions
17e53dbedbff2f33e242cf8011696b3059cd96e9
49ede6204ee0a82d5507a19fbc7590a1ae10f058
refs/heads/master
2022-11-13T15:06:52.846937
2020-07-10T20:59:37
2020-07-10T20:59:37
266,404,840
1
0
MIT
2020-05-23T19:24:56
2020-05-23T19:24:55
null
UTF-8
Python
false
false
110
py
import os print(os.environ['JAVA_HOME']) for k, v in os.environ.items(): print('{0}={1}'.format(k, v))
[ "emmox55@gmail.com" ]
emmox55@gmail.com
c0d4bd4492c238dfe6bf330055dd6f46d240b564
c043029afde70a73e55f181ca2a86607b69f847b
/1_fundamentals/statistics_python/covid-19.py
024ca2151c211e3d3be1341897ad7430f512ef29
[]
no_license
viasmo1/edem-mda
9918a2e1178ef661e34a0eb002342b994ea12e1b
4bba5b1252bec405ead2d45f4eb6b49652a99584
refs/heads/master
2023-06-14T16:20:45.725054
2021-07-10T08:18:48
2021-07-10T08:18:48
296,832,549
2
1
null
null
null
null
UTF-8
Python
false
false
2,114
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 22 14:42:01 2020 @author: vicent EDEM Master Data Analytics Statistics with Python Analysis Covid-19 in Spain """ import os import pandas as pd import numpy as np import matplotlib.pyplot as plt # %% # Get working directory print("Current Working directory: ", os.getcw...
[ "vicent.asenmol@gmail.com" ]
vicent.asenmol@gmail.com
63bd2a6cd2928deb0aa5f613631c38f4e76fbd4f
5be5d40aef67d9aac7dd4705e537af64d2d9ef40
/Ch7/restaurant_seating.py
4b61d89b10545f180e23b024e27b43b18079ae7d
[]
no_license
ajfm88/PythonCrashCourse
389ed422943d5caded10300b13fae5e4778f477c
e78a139edddd687257afc5ae7fd2b606d9568674
refs/heads/master
2023-06-16T16:13:46.296824
2021-07-07T06:59:36
2021-07-07T06:59:36
333,620,897
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
#Write a program that asks the user how many people are in their dinner group. #If the answer is more than eight, print a message saying they'll have to wait for a table. #Otherwise, report that their table is ready. guests = input("How many people are there in your dinner group?: ") guests = int(guests) if guests > ...
[ "ajfoucaultmo@mail.usf.edu" ]
ajfoucaultmo@mail.usf.edu
7c2df051bd8cf8322dd447539b9d462156b9db26
a52ff0573d248b13d40c605f6d70b14be3fc696b
/cienciaDaComputacaoPython/lista3/fatorial.py
315006f68ac44ab4c8e8ea3add307246a6e7f553
[]
no_license
jlucasldm/coursera
29007f21c3d0f4aae8652bde37748c3b083c7875
5a5b974c5ba296f96786c1124f6d03cd695a9a75
refs/heads/master
2022-12-05T23:41:45.036283
2020-08-10T01:27:44
2020-08-10T01:27:44
275,711,087
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
# Escreva um programa que receba um número natural nn na # entrada e imprima n!n! (fatorial) na saída. Exemplo: # Digite o valor de n: 5 # 120 valor = int(input('Digite o valor de n: ')) produto = 1 while valor!=0: produto*=valor valor-=1 print(produto)
[ "49415623+jlucasldm@users.noreply.github.com" ]
49415623+jlucasldm@users.noreply.github.com
289ffbd3b38c89023985e5dd2c6fb39330486eeb
d215aa9d6a07a93c5d0f62181e19812cd5724599
/onMoped/control/state.py
e630e49aedf08b91fa86d88c753795dd18cb4d7e
[]
no_license
petrosdeb/Group-Stierna
4f471276c37b59dd14b960a7f0f64a11fd7d5146
0789ef4aba54cf8d1da6a2ed501977311678a7a9
refs/heads/master
2021-01-21T12:11:26.214735
2017-10-27T14:57:43
2017-10-27T14:57:43
102,047,524
4
0
null
2017-10-26T09:45:52
2017-08-31T21:36:15
Python
UTF-8
Python
false
false
510
py
""" Simple enum-class representing the 3 driving states of the MOPED. Used in core to determine what output values are written """ from enum import Enum class State(Enum): """Basic enum class""" UNDEF = -1 MANUAL = 0 ACC = 1 PLATOONING = 2 def char_to_state(char): """Returns a State for a g...
[ "wamby@student.chalmers.se" ]
wamby@student.chalmers.se
c7d28a4fe1f480a771b61ed94b499e75064b41c0
abd5d19050e1c6eaf9fb0a760533177be6bdf8ad
/Chp 15. Webcam Face Detection/cam.py
f7009acd342a1f9addfaed7a416c246671767371
[]
no_license
Dodant/practical-opencv
9184899b7a0484bb8ca258de6e4906839c27861c
12d2dbe80791a1b8fec684640fe3975c58522b7c
refs/heads/master
2021-02-18T01:49:50.935088
2020-04-02T06:29:09
2020-04-02T06:29:09
245,146,549
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
from pyimagesearch.facedetector import FaceDetector import imutils import argparse import cv2 ap = argparse.ArgumentParser() # ap.add_argument("-f", "--face", required=True, help="Path to where the face cascade resides") # ap.add_argument("-v", "--video", required=True, help="Path to the (optional) video file") args =...
[ "ohho0728@naver.com" ]
ohho0728@naver.com
e348b3e0dfab26e0cc1f9c6a114ae59be50476c4
4c8755443320f0e8fde2718aec40c49ef27ab6fe
/{{cookiecutter.repo_name}}/cookiecutter_repo/utils/loaders.py
0d90448aa34fd2244e0f3ef816996b8e56608d99
[ "MIT" ]
permissive
ethman/cookiecutter-nussl
28266f2b714607493016aa554794617e1cb431aa
302df1bee74b13ff0e2c6725997f7b7fa26b32d5
refs/heads/master
2020-12-09T23:50:09.844838
2020-01-12T17:19:06
2020-01-12T17:19:06
233,449,725
0
0
null
2020-01-12T19:54:48
2020-01-12T19:54:47
null
UTF-8
Python
false
false
586
py
from .. import dataset, model def load_dataset(dataset_class, dataset_folder, dataset_config): DatasetClass = getattr(dataset, dataset_class) dataset_instance = DatasetClass(dataset_folder, dataset_config) return dataset_instance def load_model(model_config): model_class = model_config.pop('class', 'S...
[ "prem@u.northwestern.edu" ]
prem@u.northwestern.edu
f4f0aeaaed3e82afde0e0b60f90c9241c94be569
ec66135cd72a7a7dc115a48402e71f31fde54330
/database.py
9208a9f4e5efe41f403e8568f4d8eeebad55edd7
[]
no_license
ghiffaryr/Scraper-Berita
1efa8c231e2dc2843f96835166d84a886b383d99
f222c9f1bc30d89b2f36bb905a0c56fa56a73b8b
refs/heads/main
2023-05-22T00:29:29.378378
2021-06-09T15:52:25
2021-06-09T15:52:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,922
py
import sqlalchemy import os def init_connection_engine(): db_config = { # [START cloud_sql_mysql_sqlalchemy_limit] # Pool size is the maximum number of permanent connections to keep. "pool_size": 5, # Temporarily exceeds the set pool_size if no connections are available. "ma...
[ "isamujahid.im@gmail.com" ]
isamujahid.im@gmail.com
837d8f52574c6bab972f540869f2bca52b2bf000
94c8dd4126da6e9fe9acb2d1769e1c24abe195d3
/qiskit/circuit/library/boolean_logic/quantum_or.py
0864affb7958edffe5050f3c8d54af82bdc515be
[ "Apache-2.0" ]
permissive
levbishop/qiskit-terra
a75c2f96586768c12b51a117f9ccb7398b52843d
98130dd6158d1f1474e44dd5aeacbc619174ad63
refs/heads/master
2023-07-19T19:00:53.483204
2021-04-20T16:30:16
2021-04-20T16:30:16
181,052,828
1
0
Apache-2.0
2019-06-05T15:32:13
2019-04-12T17:20:54
Python
UTF-8
Python
false
false
3,664
py
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # 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" ]
levbishop.noreply@github.com
e9efde3650a1b2f848407adf06cf593657f835a2
01fa58693f3cca73d37837bae6792b7c4c1c32f6
/urls.py
87c9ebc979e591309f7fd8dfb19f3034538bfcc1
[]
no_license
Penchal9959/PayTM_Paymentgateway_Integration
80af615504f021f90930313d1fb4f1be93d12d20
3bf4e9c88f4d52b6758d325afc41866a38b61b5e
refs/heads/master
2023-01-10T10:52:19.949707
2020-11-14T07:48:55
2020-11-14T07:48:55
288,612,761
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
"""paytm_django URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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-...
[ "noreply@github.com" ]
Penchal9959.noreply@github.com
2ca0d2411629882a527b6fd48b184d6699705bea
55bed1d892c8eecc91d2c49711f08871c11fdbe4
/web_app/views.py
a49ab48c2fa095a21d1bfa273243cff4eda18606
[]
no_license
RydhaValenda/Website-Using-Flask-Admin1
7c2a32c42ec918a10d2e389ef84f6a6d678f3ca3
2076769bd1ac0288e199f7079011ba129fe36af9
refs/heads/master
2022-06-20T21:55:59.236219
2020-05-03T09:24:20
2020-05-03T09:24:20
259,565,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,692
py
from flask import request, url_for from flask_admin import AdminIndexView from flask_admin.contrib.sqla import ModelView from flask_login import current_user from werkzeug.utils import redirect from wtforms import TextAreaField from wtforms.widgets import TextArea class CKEditorWidget(TextArea): def __call__(self...
[ "ryval.study@gmail.com" ]
ryval.study@gmail.com
670480ff5dfa0c5afbda89a5114d85d8cdcdb17d
998e595768b290c06823278bd9fd9f33f569bcef
/multilang/resources/test.py
abc72a44b7a3354d4a03b4dfbc0ead4ae7c46dfd
[]
no_license
devbas/realtime-analytics-public-transport
bfdd8e5531a1ca8d15cf9029f511901998eeab77
1bb05f9243ced39ca4e6a798758b2d441a339424
refs/heads/master
2021-02-26T11:33:28.620428
2020-03-06T21:44:05
2020-03-06T21:44:05
245,521,710
0
0
null
2020-03-06T21:44:06
2020-03-06T21:42:04
Python
UTF-8
Python
false
false
89
py
#!/usr/bin/env python import sys while True: line = sys.stdin.readline() print(line)
[ "bastiangeneugelijk@me.com" ]
bastiangeneugelijk@me.com
a663a571c791506a5bbea2e874df529dbed68ebb
c75ec82316ed5322c5844912ce9c528c24360b9f
/nsd1907/py02/day01/cut_log.py
cceaf977d83d75e82696a61778603e0948c24313
[]
no_license
MrZhangzhg/nsd2019
a94cde22f2e4bd648bb9e56ca63827f558f3c083
54f6d2c7b348a69f13ad5f38f2fbdc8207528749
refs/heads/master
2021-08-22T17:38:27.697675
2020-02-22T08:36:21
2020-02-22T08:36:21
183,539,489
21
24
null
2020-05-17T12:07:55
2019-04-26T02:06:16
HTML
UTF-8
Python
false
false
525
py
import time t9 = time.strptime('2019-05-15 09:00:00', '%Y-%m-%d %H:%M:%S') t12 = time.strptime('2019-05-15 12:00:00', '%Y-%m-%d %H:%M:%S') with open('mylog.txt') as fobj: for line in fobj: t = time.strptime(line[:19], '%Y-%m-%d %H:%M:%S') if t > t12: break if t >= t9: ...
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
4642c3af95c961a08c5a33c1113ba484420e0887
5f51709bb1a8fd1e120e1aaaaaf655379d44e0e7
/venv/bin/flask
9f21f568c130daf42c7c3b7e8935124c0b5ed910
[]
no_license
amruthasanthosh0/todomanager
f58d026fd300db759104a01a2a55837f56f05082
b37c241718ef98bfe19fc6a49d91b8a8f55f121f
refs/heads/main
2023-06-26T06:07:00.515518
2021-07-31T07:35:13
2021-07-31T07:35:13
391,285,632
0
0
null
null
null
null
UTF-8
Python
false
false
230
#!/home/amrutha/todo/api/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "amrutha123santhosh@gmail.com" ]
amrutha123santhosh@gmail.com
e85cfa7c32176fd928719363cbe5642a5916c867
d59fce89fd7e7e93e0f8ebfe677e8060e5c2144a
/loops/prime_check.py
2dda2f9c13cf248522c5276f435ea40a3840555b
[ "MIT" ]
permissive
Rhoynar/pysel
a7cdb91063270c1f41fb88661702b0127c009931
7a283cfdcaea3b1e33e615d1e655b6bd1f23f09f
refs/heads/master
2021-05-07T03:38:22.376371
2017-12-01T22:19:02
2017-12-01T22:19:02
110,787,353
1
0
null
null
null
null
UTF-8
Python
false
false
299
py
# Check if a number is prime num = int(raw_input('Enter number: ')) prime = True for i in range(2, int(num/2)): if num % i == 0: prime = False break if prime: print('Number {} is a prime number!'.format(num)) else: print('Number {} is NOT a prime number!'.format(num))
[ "harsh@rhoynar.com" ]
harsh@rhoynar.com
84c2e76f5f17862565434bb732ecf476cd09b662
44ee04c2447612c00691bebf3bc9b2f4742bc4f2
/contact/migrations/0002_delete_contact_page.py
fcfd44612b9315c5db7c2b4b706260393bd2e266
[]
no_license
mohamedabouseif/Resume
1bb52522b74ac358e9c71dc4df09a48a3af15a3d
7a2abc4c1fd55b593842fdffa7301556e8717c3d
refs/heads/master
2020-05-16T06:23:39.547341
2019-04-22T20:21:31
2019-04-22T20:21:31
175,219,288
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2019-03-14 13:47 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('contact', '0001_initial'), ] operations = [ migrations.DeleteModel( nam...
[ "mohammedfaried364@gmail" ]
mohammedfaried364@gmail
423634247b347229c7434b61802502f83d82c1ff
b61163a79208557226f1868478693c314972d436
/Project_MNIST_Miniflow/OR.py
f58b3e0119db55d28b81dcc783d31b8f207acbc1
[]
no_license
nonlining/DeepLearningFoundation
e2fc5e5690e29b3ead68ca64d47e9fd8aa293edf
5614c4fdad194661e7837a4bf109551bf9e8551a
refs/heads/master
2022-11-12T09:46:33.886504
2017-12-12T14:37:59
2017-12-12T14:37:59
81,570,144
0
1
null
2022-10-26T13:56:56
2017-02-10T13:57:18
HTML
UTF-8
Python
false
false
1,473
py
#------------------------------------------------------------------------------- # Name: module1 # Purpose: # # Author: MJWang # # Created: 02/11/2017 # Copyright: (c) MJWang 2017 # Licence: <your licence> #------------------------------------------------------------------------------- import nump...
[ "nonlining@gmail.com" ]
nonlining@gmail.com
977abdd38f889b2f3c099b3ed2094d0a74a80e64
d5f34a573256944cffd9f89e646f38cd3c4a8207
/bin/module/Name.py
90832e8376c5c9f4da430940bd1930045bcd7b95
[ "MIT" ]
permissive
Skadisson/phoenix
03df6064ec6215472721753c5d09040382966ab6
5026088a224b71a6c3d51b5f921cf45ef4ff7327
refs/heads/master
2021-12-20T05:35:06.295600
2021-12-07T14:50:28
2021-12-07T14:50:28
217,016,873
2
0
null
null
null
null
UTF-8
Python
false
false
754
py
from bin.service import Logger, UserStorage class Name: def __init__(self): self.logger = Logger.Logger() def run(self, name): result = { 'message': '', 'success': True, 'error': None } try: user_storage = UserStorage.UserStora...
[ "skadisson@mailbox.org" ]
skadisson@mailbox.org
873e739ab0eea0d3486e0e87c7319848bca001ad
9cd923d5c0c3c8252f27ff21b84433aa7e09b60e
/user/tests.py
6e1933ff6dee3f92ba34ba6cd8c91f6afb254329
[]
no_license
Muxazuxa/freelance
45d66708da44a2c20385502f9f0f00b0f830bfcf
b18e8052f818a1c05734116186b5724a4d7d6b25
refs/heads/master
2022-06-17T02:09:42.717739
2019-07-28T16:44:59
2019-07-28T16:44:59
190,109,963
0
0
null
2022-05-25T02:27:57
2019-06-04T01:49:19
Python
UTF-8
Python
false
false
1,062
py
from django.test import TestCase from django.shortcuts import reverse from django.test import Client class UserProfileTest(TestCase): def setUp(self): self.client = Client() self.client.post(reverse('users:list'), {'username': 'test', 'email': 'test@mail.ru', 'password': '12345'}) self.cli...
[ "muxazuxa@mail.ru" ]
muxazuxa@mail.ru
b041c4045da2e483c82f6f9891353b1cf13e7757
344d025661d615a7740adf0482df5b66545302d2
/NLG/table/IO.py
1d757ca452586182c366042d454725c898f2b718
[]
no_license
Lyz1213/msc_dissertation
641806eda03cc0b943553c5709ced57a238b7c0d
7f109bcf3cc17d2c669e18fb2ad3357aa4e0fc2e
refs/heads/main
2023-07-03T19:59:19.893076
2021-08-16T10:22:16
2021-08-16T10:22:16
396,736,327
2
1
null
null
null
null
UTF-8
Python
false
false
19,153
py
import torch import torchtext.data import torchtext.vocab from collections import Counter, defaultdict from itertools import chain from table.Tokenize import SrcVocab PAD_WORD = '[PAD]' PAD = 0 BOS_WORD = '<s>' BOS = 1 EOS_WORD = '</s>' EOS = 2 SKP_WORD = '<sk>' SKP = 3 UNK_WORD = '[UNK]' UNK = 4 special_token_list = ...
[ "liyanzhou97@outlook.com" ]
liyanzhou97@outlook.com
7394010400225008bcf0ebefdea0242ca3765d3e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_96/1509.py
985390ba9c8945569ce4096912a9a40962d7ecaf
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
from string import split f1=open('B-large.in','r') f2=open('out.txt','w') t=int(f1.readline()) for i in range (t): k=0 s=f1.readline() data=list(map(int,s.split(' '))) u=data[1]+0 for j in range(data[0]): if data[j+3]==0 or data[j+3]==1: if data[j+3]>=data[2]: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
3a7a4e0fc74d98a3d4bb90e7220f2bca91eaa4d0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/97/usersdata/239/54617/submittedfiles/lecker.py
e3ba12e1ff6dc558621a8f2f17a217e1787cc426
[]
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
813
py
# -*- coding: utf-8 -*- from __future__ import division def lecker (lista): cont=0 for i in range (0,len(lista),1 if i==0: if lista[i]>lista[i+1]: cont=cont+1 elif i==(len(lista)-1): if lista[i]>lista[i-1]: cont=cont+1 else: if lista[i]>lis...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
fb2c1991f3e1461bc18cd5e916c0b0efc55a91b4
b50a760fa751b03afc9fcf7a938fc91a90b229c7
/sensor/bin/surfids-check.py
e92b2ab8178c476bd3a66a5091c56d5811fc58ff
[]
no_license
cyberintelframework/sensor
9e81fc7dea378c4be978689a758845c1191a5024
b6ef69fe2bf4f4a26af505cdaba579539f2dffee
refs/heads/master
2021-01-01T19:33:42.845958
2012-10-18T14:46:18
2012-10-18T14:46:18
38,752,711
0
0
null
null
null
null
UTF-8
Python
false
false
1,538
py
#!/usr/bin/env python import logging import os from sensor import altlog from sensor import functions from sensor import locations cmd = "ifconfig -a | grep ^br | wc -l" chk = os.popen(cmd).readline().rstrip() if chk == "0": logging.debug("Tunnel status: disabled") else: logging.debug("Tunnel status: enabled...
[ "github@nabber.nl" ]
github@nabber.nl
c4f8406bcf2bcb16312ae99e077dfae8f7b74118
c16fb74fd2fd69d65cd813a3d23d5e7b61f9808f
/xueqiu/scrape_callback2_p3.py
68dc6122a14157b3fe762554b9739ee400a06198
[]
no_license
nightqiuhua/selenium_crawler_xueqiu
9d3f9d10b2fdb5a479269e6d14cc52c97945ec31
0c68eeed7033c28f81def5f94351f2fbb42ca079
refs/heads/master
2020-03-20T17:54:53.943464
2018-06-16T13:36:45
2018-06-16T13:36:45
137,568,347
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
import re import pymongo from pymongo import MongoClient,errors class Scrape_Callback: def __init__(self): self.db = pymongo.MongoClient("localhost", 27017).cache def __call__(self,html): #html = Downloader(url).decode('utf-8') data_regx = re.compile('<pre style="word-wrap: break-word; white-space: pre-wrap;...
[ "208408@whut.edu.cn" ]
208408@whut.edu.cn
4ae9d4cd17ad18027fa1dffe901e6463804b40c4
5db0fab37c2b8a618d85d3b60fab9f806c416474
/src/python/pants/backend/python/typecheck/mypy/skip_field.py
672a681eeba2e506b35d3c2f51bbadb683934354
[ "Apache-2.0" ]
permissive
pantsbuild/pants
4988d1ac5474ec95f94ce2218aeb759401e4b011
98cbda8545f0d58c586ed2daa76fefd729d5e0d5
refs/heads/main
2023-09-05T03:44:17.646899
2023-09-01T19:52:09
2023-09-01T19:52:09
7,209,075
2,708
593
Apache-2.0
2023-09-14T19:33:33
2012-12-17T17:39:04
Python
UTF-8
Python
false
false
897
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from pants.backend.python.target_types import ( PythonSourcesGeneratorTarget, PythonSourceTarget, PythonTestsGeneratorTarget, PythonTestTarget, PythonTestUtilsGenerator...
[ "noreply@github.com" ]
pantsbuild.noreply@github.com
01abb829ed3171dd9ab444b05d782bc3a26e2d9b
334e7e8b9162cd74e1c9dd115a6e293f01051454
/src/videos/views.py
0215dd18336157f194698c4c49d03bb9bff38c8a
[ "MIT" ]
permissive
contactr2m/remote_repo
dec0dff9c299ab665cd36642a757ae9fa35950c3
5665c55b794929fd40645264c5c149e64d172097
refs/heads/master
2021-01-10T13:13:47.359357
2016-04-26T14:23:49
2016-04-26T14:23:49
53,814,820
0
0
null
2016-03-20T19:37:37
2016-03-14T00:13:06
Python
UTF-8
Python
false
false
170
py
from django.shortcuts import render from django.views import generic # Create your views here. class VideoPage(generic.TemplateView): template_name = "videos.html"
[ "contactr2m@gmail.com" ]
contactr2m@gmail.com
66b654358f12a58b653f3dd74fb992717fe0bcc6
a6b46a37bb2fc9e27ed000cb5d2e1fcef6e7527c
/python/common/expressions.py
fac15ec0ea42f9bfa0e78d51628dfc525e99d9a9
[ "MIT" ]
permissive
data-man-34/ad_examples
3c4b522b64a8387aed922a6fd062114a3e96c26f
f0d5d95c443cf1cfaf293a2e76b9bff3cbfd85b7
refs/heads/master
2020-04-09T15:12:48.677931
2018-12-04T18:58:22
2018-12-04T18:58:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,371
py
import tokenize import re import os import numpy as np # from sklearn.metrics import f1_score from sklearn.metrics import precision_recall_fscore_support """ General Rule-parsing functions. We might use only a subset of the features available. For some rule illustrations/examples, see test_rule_apis() To test: p...
[ "smd.shubhomoydas@gmail.com" ]
smd.shubhomoydas@gmail.com
1586616caf1191874f3dfdf0a908af9d390cbd3e
54eeab2befaa4bf0d96a7bd18110900f8f32c766
/other/sql/sqlite.py
cc06497fe5586ae73d672cbedf67aa19174a1c04
[]
no_license
w8833531/mypython
40239ada90426db73444ee54e6e79decc6c9fc9b
45ed12a611efd33838766e7bd73840e6d8b73e28
refs/heads/master
2021-01-19T06:59:09.790525
2017-10-18T06:20:43
2017-10-18T06:20:43
87,513,649
0
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
#!/usr/bin/env python #-*- coding: utf-8 -*- #由于SQLite的驱动内置在Python标准库中,所以我们可以直接来操作SQLite数据库。 #要操作关系数据库,首先需要连接到数据库,一个数据库连接称为Connection; #连接到数据库后,需要打开游标,称之为Cursor,通过Cursor执行SQL语句,然后,获得执行结果。 #导入SQLite 驱动 import sqlite3 try: # 连接到SQLite数据库 # 数据库文件是test.db # 如果文件不存在,会自动在当前目录创建: conn = sqlite3.connect('test.db') curs...
[ "w8833531@hotmail.com" ]
w8833531@hotmail.com
a06dff71a67cdd28e24856b0673ae851213d50df
6b6361645b19cf0aa97b7372c19ff9f72ca45041
/Open Sources/code-for-blog-master/pygame-3D/5_Using_matrices/displayWireframe.py
a026594df2c541a1e24b59c37ff578ec6d11375b
[]
no_license
ssy05468/2018-OOP-Python-lightbulb
43e1c72fd9ec00f85cf1f0fdaca98a61a0cb603a
3dd59e2f37173d92f5f1870729ef32e25a5b33f7
refs/heads/master
2020-04-06T08:26:59.805006
2019-06-05T01:08:42
2019-06-05T01:08:42
157,305,036
2
1
null
2018-12-07T20:13:33
2018-11-13T02:00:54
Python
UTF-8
Python
false
false
3,722
py
import wireframe as wf import pygame import numpy as np key_to_function = { pygame.K_LEFT: (lambda x: x.translateAll('x', -10)), pygame.K_RIGHT: (lambda x: x.translateAll('x', 10)), pygame.K_DOWN: (lambda x: x.translateAll('y', 10)), pygame.K_UP: (lambda x: x.translateAll('y', -10)), pyg...
[ "34187131+magicjunha@users.noreply.github.com" ]
34187131+magicjunha@users.noreply.github.com
4e752d4ff716073c6fb85e0f1f876a69a596e0af
634f86d2e9a534566b4e120c986c079ffb246804
/relevate_web_app/apps/profiles/models/user_models.py
f0a7aa99c6659f50c12aa50697a6032381edca4b
[]
no_license
jhock/Relevate
dcbb32a11c44766a55291dec1ed8b1f68fb32236
8296c49dfa8771b47965c24b6b49a2b6e8ace6cf
refs/heads/master
2023-01-19T14:13:56.756661
2019-08-12T22:19:02
2019-08-12T22:19:02
105,825,724
1
0
null
2023-01-13T22:30:25
2017-10-04T22:31:12
JavaScript
UTF-8
Python
false
false
1,625
py
from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User from .contributor_model import ContributorProfile from ...contribution.models import Topics class UserProfile(models.Model): user = models.OneToOneField(User) confirmed = models.BooleanField(default=False...
[ "joshua.a.hock@gmail.com" ]
joshua.a.hock@gmail.com
92863297ffa311b51dc9f97b666ff2df19874bba
62f10bb996b14777001da4bd3f27428e0d0010d8
/Flask_blog/flaskblog/__init__.py
9f61ec9055774dc52d7552dfa913e7a02cd79949
[]
no_license
Hardik-Ghori/Blog-using-Flask
d3ba0022ad79bd16d93af2cff665a086b62dbe3d
9f0b87beffcd09c8e1a65ae1917f5f1c432bbb4c
refs/heads/main
2023-03-11T02:51:46.440657
2021-03-02T17:05:26
2021-03-02T17:05:26
343,848,632
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_bcrypt import Bcrypt app = Flask(__name__) app.config['SECRET_KEY'] = 'fe65090ff8a3280dec4e4f0010526fa6' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.db' db = SQLAlchemy(app) bcrypt = Bcrypt(app) from flaskblog imp...
[ "noreply@github.com" ]
Hardik-Ghori.noreply@github.com
e3338b3c6f281013c90ce45537f49a37b900d982
b2f03f8bf5974baef7f56ebeb9a5f4bc00bb3a04
/aristaflow/remote_iterator_handler.py
9755d766cd379f8342099d3ba9ecc31b0d8d289e
[ "MIT" ]
permissive
riuns/aristaflowpy
14d79d9a03c5dea1e3b49425aeb28b0a592fe448
58ad48310366484379fc519d649c564c762f89f9
refs/heads/main
2023-06-18T22:24:10.561605
2021-06-17T09:34:34
2021-06-17T09:34:34
385,566,380
0
0
MIT
2021-07-13T10:35:36
2021-07-13T10:35:35
null
UTF-8
Python
false
false
1,408
py
# coding: utf-8 # Default Python Libraries from typing import List, Type # AristaFlow REST Libraries from aristaflow.service_provider import ServiceProvider class RemoteIteratorHandler(object): """ Utilities for handling remote iterators """ _service_provider: ServiceProvider = None def __init_...
[ "kevin.goeser@aristaflow.com" ]
kevin.goeser@aristaflow.com
37493f770591ef660a442812b1c6032e2a27f92b
01be310880d1df1d4207daa2e2c7bfaa9c065952
/calC.py
368076ea7cad2da9f18028d3b434c6105444f9eb
[]
no_license
pathakdhruv/GalDynPsr_0
62cb4e84e38ca305c38c5f1797ad8dedc97ea4e1
a36753767c7cc9940fbea4de11bc4fbe552c8095
refs/heads/master
2021-08-30T09:47:40.524768
2017-12-17T09:52:00
2017-12-17T09:52:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
from __future__ import print_function import math import numpy as np import parameters as par from ExcessZ import g from Excesspl import aplmod from Excesspl import Rpkpcfunc from Excesspl import Vprat from err_NT import errNT from err_excesspl_Reid import err_Reid14 def calc(bdeg, sigb, ldeg, sigl, dkpc, sigd, Har...
[ "noreply@github.com" ]
pathakdhruv.noreply@github.com
24f4ad0bc75271d08496072c0885072c734d3990
5b1ff6054c4f60e4ae7315db9f20a334bc0b7634
/Launchkey_MK2/Colors.py
6f5028d35ea48a5ef4fb11c613cb1206a59fc846
[]
no_license
maratbakirov/AbletonLive9_RemoteScripts
2869122174634c75405a965401aa97a2dae924a1
4a1517c206353409542e8276ebab7f36f9bbd4ef
refs/heads/master
2021-06-05T14:38:27.959025
2021-05-09T11:42:10
2021-05-09T11:42:10
13,348,327
3
4
null
2016-10-16T13:51:11
2013-10-05T16:27:04
Python
UTF-8
Python
false
false
4,566
py
#Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Launchkey_MK2/Colors.py from _Framework.ButtonElement import Color from .consts import BLINK_LED_CHANNEL, PULSE_LED_CHANNEL class Blink(Color): def __init__(self, midi_value = 0, *a, **k): su...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
341121855f7de7105622a140ad0326dd3ae1e54c
b139a0c76700aa6ef3c972bdbbefc862d44fe7cb
/string/aa.cpp
1ee4ddfb04ae9adc6cc45f35b5e2a9759ff77755
[]
no_license
sk10salman/dynamic-programming
d1b7d694f376f3972181a2887317b9f213a36d20
31fd22b120f785a2a1070ea0d33dc3e6eda8a235
refs/heads/master
2021-04-18T01:31:27.797931
2020-06-09T21:09:31
2020-06-09T21:09:31
249,493,420
1
0
null
null
null
null
UTF-8
Python
false
false
1,139
cpp
// C++ program to find maximum dot product of two array #include<bits/stdc++.h> using namespace std; // Function compute Maximum Dot Product and // return it long long int MaxDotProduct(int A[], int B[], int m, int n) { // Create 2D Matrix that stores dot product // dp[i+1][j+1] stores product consid...
[ "noreply@github.com" ]
sk10salman.noreply@github.com
ab14c4d4a9d8c432ae24647c18b9e98e4968ece0
90be755a741d6c93dd59d4acef8b27b4cf93ff54
/src/elsia/scripts/get_abs_ori.py
8decc0c43e2f8716f8f28629c4b7ed417de7cc24
[]
no_license
karry3775/Elsia_ws
05aa5786a6f3f64b70c7ceafead6d72d4ca18bab
031f8006e9a439d9947be5ed288a666f20fca3a7
refs/heads/master
2023-02-21T05:21:10.842475
2021-01-23T14:58:57
2021-01-23T15:21:46
326,032,434
0
0
null
null
null
null
UTF-8
Python
false
false
6,405
py
#!/usr/bin/env python import rospy from sensor_msgs.msg import Image from tf.transformations import quaternion_from_euler, euler_from_quaternion from cv_bridge import CvBridge, CvBridgeError from nav_msgs.msg import Odometry import cv2 import numpy as np import math as m # initialize the node rospy.init_node("get_abs_...
[ "kartikprakash3775@gmail.com" ]
kartikprakash3775@gmail.com
cab1ad315dd1080096ab4bf7cb6ea70f947a2eac
2d57a05c549be8cc43cef84f7959193db7f8ead8
/5_Peer_Graded_Assignment_Questions (1).py
3e5615753fe47546c34b433ea9451c787ab6b28b
[]
no_license
Gagan8533/pandas-dash
b526a49851495694e1e427619e6210d7dc947b01
e6cfb2988375d9906af573ce8bf447dfcde33685
refs/heads/main
2023-07-18T00:36:40.135049
2021-08-20T19:15:15
2021-08-20T19:15:15
398,377,974
0
0
null
null
null
null
UTF-8
Python
false
false
12,133
py
# Import required libraries import pandas as pd import dash import dash_html_components as html import dash_core_components as dcc from dash.dependencies import Input, Output, State import plotly.graph_objects as go import plotly.express as px from dash import no_update # Create a dash application app = dash.Dash(__n...
[ "noreply@github.com" ]
Gagan8533.noreply@github.com
6b723c4ecce3eb9878dfd0f11f0ff48ecb26c830
f04d1f900583708f54ff889e0cfce4c5aeb83030
/clustering/prepare.py
a4501944b0a1773fbca16017cdd29cb4f3596c44
[]
no_license
chemiczny/neural_networks_neupy
9facd09bc21407e7238c27dde7dafe5419b16d5a
bbf234b20140a4b24a2b897a35471bf1703461af
refs/heads/master
2020-05-06T12:14:19.646643
2019-04-11T13:27:31
2019-04-11T13:27:31
180,111,158
0
0
null
null
null
null
UTF-8
Python
false
false
1,968
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Apr 8 16:34:42 2019 @author: michal """ from os.path import isdir, join from os import mkdir, remove from glob import glob from SOFMgenerator import SOFMgenerator from dataPreprocessor import DataPreprocessor inputDir = "inputs" if not isdir(inputDi...
[ "glanowskimichal@gmail.com" ]
glanowskimichal@gmail.com
2819548a0f234a61815765acfeb1d9764740781f
24ea510c6f5356a8b55dfbcb5f01420130c8c67a
/src/predict.py
fda2bc1e644a8c87ad8e7c4c402c91d40fa0e2f2
[]
no_license
maestro73/OilandGasAssetEvaluation
eee4c37400f60d1f8c41792fda5b859435f7b86e
d882ba571264864f0f4ffc9a438ef88e161bcf73
refs/heads/master
2021-09-08T13:45:47.087030
2018-03-10T01:15:01
2018-03-10T01:15:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,611
py
from sklearn.model_selection import train_test_split,cross_val_score from sklearn.preprocessing import StandardScaler from sklearn.metrics import mean_squared_error, r2_score from catboost import CatBoostRegressor import numpy as np import pandas as pd import seaborn as sns import pickle import matplotlib.pyplot as plt...
[ "jccarrigan@gmail.com" ]
jccarrigan@gmail.com
df62e1d9eca4e326139aca3e09b2b263a8f172c2
0e2484fd7660c0a21e4f2ac199b0cc6737f19cfa
/api_tag/api_tag/settings.py
b613bbf56b628b4e6e77f5b120cd475c61008640
[]
no_license
codesree/tag-build
63bfa32c6036f78f7aa7659920369a2e51c3f892
192f305df88f08606b62f111152dfebf7f6f4063
refs/heads/master
2020-03-22T20:34:10.474808
2018-09-16T16:05:40
2018-09-16T16:05:40
140,610,535
0
0
null
null
null
null
UTF-8
Python
false
false
3,732
py
""" Django settings for api_tag project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os im...
[ "srekanth.me@gmail.com" ]
srekanth.me@gmail.com
b1dde0477b45dffe82a9f680f72b5dc5f910eee9
3eb4d64a8bb0bc240a2ef189724f4d51b5275eac
/heltour/tournament/migrations/0106_auto_20161031_0546.py
059d9943ff0cb31240b7a8a561df84ba822d9f3b
[ "MIT" ]
permissive
brucemubayiwa/heltour
c01cc88be7f86dce8246f619d7aa2da37e0e0ac2
fa4e9b06343acaf6a8a99337860e1ad433e68f6b
refs/heads/master
2021-01-23T19:59:04.099215
2017-09-06T03:34:31
2017-09-06T03:34:31
102,840,526
1
0
null
2017-09-08T08:53:30
2017-09-08T08:53:30
null
UTF-8
Python
false
false
2,839
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-10-31 05:46 from __future__ import unicode_literals from django.db import migrations import django.db.models.deletion import select2.fields class Migration(migrations.Migration): dependencies = [ ('tournament', '0105_seasonplayer_final_rating')...
[ "ben.cyanfish@gmail.com" ]
ben.cyanfish@gmail.com
3ec6bfaea601759fd9ce090e2468cd49049e454d
88cfeb8f7076450e7a38d31ab2d11883c1818c8d
/net/dpn92.py
bee4297159590c50e4ca40b1570569426a17eb3b
[]
no_license
ZQPei/Alibaba_Cloud_German_AI_Challenge_for_Earth_Observation
4e5a127c12e0c02ed1914ab000a131e1a7f7d844
c2efb32763af0a56a3a7ecb9d83c0744f71d5c14
refs/heads/master
2020-04-26T04:31:57.731178
2019-02-17T01:10:55
2019-02-17T01:10:55
173,305,034
2
0
null
null
null
null
UTF-8
Python
false
false
3,563
py
'''Dual Path Networks in PyTorch.''' import torch import torch.nn as nn import torch.nn.functional as F class Bottleneck(nn.Module): def __init__(self, last_planes, in_planes, out_planes, dense_depth, stride, first_layer): super(Bottleneck, self).__init__() self.out_planes = out_planes sel...
[ "dfzspzq@163.com" ]
dfzspzq@163.com
331b189e0343621baccb34a048bf215ef7de4929
bd00b3ada3097671771b2b37e49f3459023cae5d
/models/CNNs/p3d/p3d.py
b43169e5635de448229a9eb889492c7a21bd8b60
[]
no_license
jasonkli/cs224n-project
92d3f97625c6e5b7754ef471ed08a54835359983
05d5607bf5b9011e43496a30098a6643232a5467
refs/heads/master
2020-04-26T01:21:58.494887
2019-03-29T04:51:47
2019-03-29T04:51:47
173,201,812
0
0
null
null
null
null
UTF-8
Python
false
false
13,561
py
from __future__ import print_function import torch import torch.nn as nn import numpy as np import torch.nn.functional as F from torch.autograd import Variable import math from functools import partial __all__ = ['P3D', 'P3D63', 'P3D131','P3D199'] def conv_S(in_planes,out_planes,stride=1,padding=1): # as is descr...
[ "jasonkli@stanford.edu" ]
jasonkli@stanford.edu
9262d9b3881e896a97b190c2ea16eeea43d24d9c
958c19436632b41b43c9462337d13e836935a9da
/E01_python_for_data_analysis/04_NumPy/0403_numpy_cal.py
24af0cf6e7c79bf551a52bc51df3c822da19b676
[]
no_license
Vincent105/ML
4752b2a99c124e01e40e383a0177fb5d82115cb6
fa926caabf83628b3fb7d74cee02a3e923a917f7
refs/heads/master
2020-12-29T18:21:50.144711
2020-10-12T09:56:41
2020-10-12T09:56:41
238,697,320
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
import numpy as np arr = np.array([[1., 2., 3.], [4., 5., 6.]]) print(arr) print(arr * arr) print(arr * arr - arr) # 数组与标量的算术运算会将标量值传播到各个元素: print(1 / arr) print(arr * 0.5) # 大小相同的数组之间的比较会生成布尔值数组: arr2 = np.array([[0., 4., 1.], [7., 2., 12.]]) print(arr2) print(arr2 > arr)
[ "vincent1050917@gmail.com" ]
vincent1050917@gmail.com
b352068896dbae835d20da90ab54de2d4f34fec9
d2eb7bd335175edd844a3e6c1c633ee0dc2dbb25
/contests_atcoder/arc017/arc017_c.py
80b806e3389e7dfd81e012229a4a9723cc08f1d5
[ "BSD-2-Clause" ]
permissive
stdiorion/competitive-programming
5020a12b85f1e691ceb0cacd021606a9dc58b72c
e7cf8ef923ccefad39a1727ca94c610d650fcb76
refs/heads/main
2023-03-27T01:13:42.691586
2021-03-08T08:05:53
2021-03-08T08:05:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
from bisect import bisect_left, bisect_right n, x = map(int, input().split()) w = [int(input()) for _ in range(n)] pt1 = w[:16] pt2 = w[16:] w1 = [] for bit in range(1 << len(pt1)): weight = 0 for i in range(len(pt1)): if (bit >> i) & 1: weight += pt1[i] w1.append(weight) if not len(...
[ "itkn1900@gmail.com" ]
itkn1900@gmail.com
34eae03af1fab17696208689483285aabf0088d4
8c82443ac6f24f21509a73392a8bba6b49f12f88
/timepass.py
ddd73684ffda985025898a64ce6c4931b37dcc3b
[]
no_license
meetparmar002/Optimization-Lab
2b7ec211d2f7bfbbd4a482c0e64c14b53e870ecb
95ba34f7e3ced33e2b5961143738174d65ab49cc
refs/heads/master
2023-01-19T03:22:42.642312
2020-11-25T19:15:51
2020-11-25T19:15:51
306,827,082
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
import numpy as np import matplotlib.pyplot as plt a = [[1, 2], [3, 4]] print(a) b = [] for i in a: b.append(i.copy()) a[0][0] = 5 print(a) print(b)
[ "201801195@daiict.ac.in" ]
201801195@daiict.ac.in
23241518e94ae0d5c41c03ff56152a117f302c17
d7ec67a5ba315103fa6a6bae6dc045f1fecf7add
/docs_master_tensorflow/keras/tf_dqn_simple_master/dqn_agent.py
d0dc2cccfa0c1fbf14d21175a9b41c3605ff96e2
[]
no_license
munezou/PycharmProject
cc62f5e4278ced387233a50647e8197e009cc7b4
26126c02cfa0dc4c0db726f2f2cabb162511a5b5
refs/heads/master
2023-03-07T23:44:29.106624
2023-01-23T16:16:08
2023-01-23T16:16:08
218,804,126
2
1
null
2023-02-28T23:58:22
2019-10-31T15:57:22
Jupyter Notebook
UTF-8
Python
false
false
4,247
py
from collections import deque import os import numpy as np import tensorflow as tf class DQNAgent: """ Multi Layer Perceptron with Experience Replay """ def __init__(self, enable_actions, environment_name): # parameters self.name = os.path.splitext(os.path.basename(__file__))[0] ...
[ "kazumikm0119@pi5.fiberbit.net" ]
kazumikm0119@pi5.fiberbit.net
3e4424a55a0ac8f36a6a0779ff5a7059b5f1c270
a2da441808e9db76234cd50d8cae10a276cbb534
/virtualenv/bin/pip3
4208998c842ed10a629c16b30febaf7ac5f62206
[]
no_license
yakul-crossml/django_project
cad8a8f9ddb45d780cbc587cbea1e81e8766f474
7c8520aac6e667054e4d2443454fdb5b08920fd0
refs/heads/master
2023-07-25T10:59:01.759959
2021-09-02T05:56:24
2021-09-02T05:56:24
397,568,716
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/yakul/Desktop/django_project/virtualenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "yakul@crossml.com" ]
yakul@crossml.com
42bcc717daa52c76b623b77adb64ac1e50d8fe60
b57d337ddbe946c113b2228a0c167db787fd69a1
/scr/py00033SpiderDeath.py
6fd5b9134c2358a8544c5ef441100d8e4da50196
[]
no_license
aademchenko/ToEE
ebf6432a75538ae95803b61c6624e65b5cdc53a1
dcfd5d2de48b9d9031021d9e04819b309d71c59e
refs/heads/master
2020-04-06T13:56:27.443772
2018-11-14T09:35:57
2018-11-14T09:35:57
157,520,715
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
from toee import * from utilities import * from combat_standard_routines import * def san_dying( attachee, triggerer ): if should_modify_CR( attachee ): modify_CR( attachee, get_av_level() ) if (attachee.map == 5069): game.global_vars[3] = game.global_vars[3] + 1 if (game.party_alignment == LAWFUL_NEUTRAL or ...
[ "demchenko.recruitment@gmail.com" ]
demchenko.recruitment@gmail.com
fa428df271c1a095589ea4dda94bbd27ca4f7705
06870667821f26b0c8c96b52321938df58fd91f6
/parking_scrapers/scrapers/new_haven.py
85e9236cddfb6c481a2d0bfc60ccfb3c43b84610
[]
no_license
jmcarp/open-parking-spaces
69244962a316fe6bd3273ba6837bfe8d0f1f4b8e
5f855a1b25c9109f15af26e1fb3b4ecbd3ef5845
refs/heads/master
2023-01-24T11:43:53.641262
2020-11-30T19:00:46
2020-11-30T19:00:46
312,906,075
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
import re from typing import Iterator import lxml.html import requests from base import LotSpaces, Scraper class NewHavenScraper(Scraper): """Scrape New Haven html. https://parknewhaven.com """ HTML_URL = "https://parknewhaven.com" TIMEOUT = 5 SPACES_PATTERN = re.compile(r"(.*?):\s+(\d+)% \...
[ "jm.carp@gmail.com" ]
jm.carp@gmail.com
29643c3046fd8c594d777bdbc9bb75858a56e9ef
a7211f3f0ef6cbb96a796e502062656681dcdf9b
/run_rle.py
744e4c9379f0be2a0affd1c521af8540da053fae
[ "MIT" ]
permissive
chplushsieh/carvana-challenge
fdc3e78966a37f95f3e60a179a511705cc0da55f
cba536657714df7c1c33150b92e3e152195b68db
refs/heads/master
2021-01-01T19:40:08.442482
2017-10-05T17:53:29
2017-10-05T17:53:29
98,639,822
24
3
null
null
null
null
UTF-8
Python
false
false
1,284
py
import time import argparse import util.ensemble as ensemble import util.submit as submit import util.const as const import rle_loader def apply_rle(pred_dir, rle_loader): img_rles = {} for i, (img_name, rle) in enumerate(rle_loader): iter_start = time.time() assert len(img_name) == 1 ...
[ "chplushsieh@gmail.com" ]
chplushsieh@gmail.com
2245001287f01d37fdb2558b53963059c16d91d1
02818cb241a117f7bfda5462744b0fb8e2f69666
/core/models.py
c3cd8c5ec3ab20863777a7fe9e6dbcea82007b43
[]
no_license
Oswaldgerald/clients
4127b1440da650b91149d44d286e46b83c869202
5ffeafe5d7562471384fc14cec7c651fa1748ac3
refs/heads/master
2020-03-23T08:41:08.352313
2018-11-16T07:25:18
2018-11-16T07:25:18
141,340,298
1
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
from django.db import models class ID(models.Model): number = models.CharField(max_length=50) def __str__(self): return self.number class Client(models.Model): name = models.CharField(max_length=70) last_name = models.CharField(max_length=72) age = models.IntegerField() salary = mod...
[ "moswaldgerald@gmail.com" ]
moswaldgerald@gmail.com
a31b322b32555a927b3a63f5092900042142b843
27398b2a8ed409354d6a36c5e1d2089dad45b4ac
/backend/common/decapod_common/models/properties.py
2a7dbbf75e03a2cf644b94bf0f4bf491dda45988
[ "Apache-2.0" ]
permissive
amar266/ceph-lcm
e0d6c1f825f5ac07d2926bfbe6871e760b904340
6b23ffd5b581d2a1743c0d430f135261b7459e38
refs/heads/master
2021-04-15T04:41:55.950583
2018-03-23T12:51:26
2018-03-23T12:51:26
126,484,605
0
0
null
2018-03-23T12:50:28
2018-03-23T12:50:27
null
UTF-8
Python
false
false
3,449
py
# -*- coding: utf-8 -*- # Copyright (c) 2016 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "sarkhipov@mirantis.com" ]
sarkhipov@mirantis.com
f36d7b851dd1f3875bf4450554e4297e5133dd62
3dee7a51ab2f214f6aa69d737625e5dad73db352
/djragon/transcode/admin.py
ddd026a0fea7017e6acb0bcbcb7c40bd8147b6f9
[]
no_license
skyl/djragon-cms
533e33f94ab0ea56adfd47c9003dda8f6f97b7f4
45be3cde23193ca66405eb6a9b3eac0a0a53dc7b
refs/heads/master
2020-04-04T14:46:48.017588
2010-08-03T03:16:04
2010-08-03T03:16:04
629,046
2
0
null
null
null
null
UTF-8
Python
false
false
170
py
from django.contrib import admin from transcode.models import LogResult class LogResultAdmin(admin.ModelAdmin): pass admin.site.register(LogResult, LogResultAdmin)
[ "skylar.saveland@gmail.com" ]
skylar.saveland@gmail.com
c95ca03fbc0a46c72b98adbd06c05f447d748b46
64d7fd332075b1eedacf6e2324b998b03aa1ac92
/source/trigger_stackset_sm.py
0cd3ad4e3050d16034eca8a4fd70108a98098aae
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-3-Clause" ]
permissive
inderjeetrao1/aws-control-tower-customizations
8ec674facfba3c1a33eeb00427130f8a4e69f715
e4752bf19a1c8f0a597195982d63a1a2c2dd799a
refs/heads/master
2021-02-16T14:09:39.808765
2020-01-21T17:59:06
2020-01-21T17:59:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,880
py
###################################################################################################################### # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # ...
[ "georgebearden@gmail.com" ]
georgebearden@gmail.com
215a011898e29aea78aa8531f6aadbd936358259
d68c9105c03bef9dce2e438b5b91c2bdd0d856e2
/[9095] 1, 2, 3 더하기.py
308b6ff62e407f5494c58d595b9839b3addcf2e6
[]
no_license
newfull5/Baekjoon-Online-Judge
2a2dd1080af234551ecab6277968fedeb170a1f4
00d04f6c21080e3ad7c0fb06ca311f2324a591c0
refs/heads/master
2023-06-29T21:05:07.539911
2021-07-16T09:23:46
2021-07-16T09:23:46
267,557,726
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
def Reculsive(n): global answer if n >=3: Reculsive(n-3) if n >=2: Reculsive(n-2) if n >=1: Reculsive(n-1) if n == 0: answer += 1 return for _ in range(int(input())): answer = 0 Reculsive(int(input())) print(answer)...
[ "noreply@github.com" ]
newfull5.noreply@github.com
77a0588a1e9e67284d23379d6796e3d1c059dc1c
7e1c78c1a1b486e211c2a38ac60dbda46e7f99f7
/orders/backend/models.py
8b0e2e3d8b8e0a0920130e5ad17f120266edb59d
[]
no_license
andyAG24/pd-diploma
7c3dca8f326f44e3d8c5d9f554dcadf54c249ed0
64b10c24679fea25b617c39f37004a463e30f6d3
refs/heads/master
2023-01-31T00:57:04.717490
2020-12-09T21:32:02
2020-12-09T21:32:02
300,041,514
0
0
null
null
null
null
UTF-8
Python
false
false
10,665
py
from django.db import models from django.contrib.auth.base_user import BaseUserManager from django.contrib.auth.models import AbstractUser from django.contrib.auth.validators import UnicodeUsernameValidator from django.utils.translation import ugettext from django_rest_passwordreset.tokens import get_token_generator S...
[ "andy.ag.24@gmail.com" ]
andy.ag.24@gmail.com
02be7232b3923ceecd22b8fa265b5624213d162c
7a3d8975148146b63154e0922f6e97ce46b2fe95
/app/analyzers/brainless.py
b9a95b67a93bf3ebf787c473484ee31ee6212e8f
[]
no_license
mgorsk1/video-stream-analysis
20b9e6ef50811ac5843f1de0bde22d69edf54821
ccc99d958402fe1190901b768c8f30c3d92c2c8d
refs/heads/master
2022-12-12T00:08:18.387080
2019-11-16T19:15:58
2019-11-16T19:15:58
170,911,472
0
0
null
2022-11-22T04:30:39
2019-02-15T18:38:44
Python
UTF-8
Python
false
false
928
py
from app.analyzers.base import BaseAnalyzer from app.config import log from app.tools import format_key_active __all__ = ['Brainless'] class Brainless(BaseAnalyzer): """ Brainless class should be used when there is no grace period. """ def __init__(self, *args, **kwargs): super(Brainless, se...
[ "gorskimariusz13@gmail.com" ]
gorskimariusz13@gmail.com
8244ee0f70783c9f1817748f49a3a00d505bb0fa
5683e0be45bbd4c0eff0bc143e1fabb39e3dd2d1
/facilities/migrations/0011_facility_approved_national_level.py
d5c4978e3bf4e2a7d4d7d154806e8dee847ad9ef
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
permissive
SteveWaweru/mfl_api
be1e6b24a039553447dc6fdc23b588c4a6756a8f
695001fb48cb1b15661cd480831ae33fe6374532
refs/heads/master
2023-05-29T04:27:35.421574
2021-10-27T06:07:10
2021-10-27T06:07:10
205,343,934
0
5
MIT
2023-05-15T00:38:30
2019-08-30T08:54:14
Python
UTF-8
Python
false
false
539
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-09-08 14:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('facilities', '0010_auto_20190828_2112'), ] operations = [ migrations.AddField...
[ "mwaura.marika@gmail.com" ]
mwaura.marika@gmail.com
96b272fb814a0622763c4fe523506715910ee90b
59555ea98bedd9e8670898818474a84ac6e01461
/fiba_inbounder/settings.py
728124568a90d421a58c42cbdf99f67341c8cef7
[ "MIT" ]
permissive
nypgand1/fiba-inbounder
11a25ab45230c7dcff2b5a5d3d91655e01462061
6f4c3268c24a6e67f92cb918261ddeb7a320a96a
refs/heads/master
2023-05-25T23:12:48.274436
2022-11-12T15:27:34
2022-11-12T15:27:34
199,791,534
1
0
MIT
2023-05-22T22:30:20
2019-07-31T06:15:03
Python
UTF-8
Python
false
false
1,287
py
# -*- coding: utf-8 -*- import simplejson import logging from fiba_inbounder.shot_chart_zone import SHOT_CHART_ZONE_GEO LOGGER_FORMAT = '%(levelname)s: %(asctime)-15s: %(message)s' logging.basicConfig(format=LOGGER_FORMAT, level=logging.INFO) LOGGER = logging.getLogger('FibaInbounder') FIBA_DATA_URL_V5 = 'https://ww...
[ "nypgand1@gmail.com" ]
nypgand1@gmail.com
fcf3fe369d825fc8f70166e86d6154d98a1eccfa
23bc3e2bc6b2b9e3fd19f738d4767d09bec590b5
/CourseWork/Labs/lab3/vivek_pygame_base_template.py
e880efac680ed5ff5a5856816fdf28423d8e2bb4
[]
no_license
vivekVells/GameDesignProgramming
4e683114bf487d2ea4c5c1c4a2b7a3375e8be8e7
bee0fbc4d0a8d0e4001d6c9c9b35fea6b74da1f9
refs/heads/master
2020-03-27T13:49:52.159394
2018-12-12T09:37:01
2018-12-12T09:37:01
146,630,596
0
0
null
2018-12-12T08:32:11
2018-08-29T16:49:28
Python
UTF-8
Python
false
false
2,516
py
""" Show how to use a sprite backed by a graphic. Sample Python/Pygame Programs Simpson College Computer Science http://programarcadegames.com/ http://simpson.edu/computer-science/ Explanation video: http://youtu.be/vRB_983kUMc """ import pygame # Define some colors BLACK = (0, 0, 0) WHITE = (255, 255, 255) G...
[ "techengineervivek@gmail.com" ]
techengineervivek@gmail.com
4bb3df61f7e8707d0f5b6dc0a372e300a836a1f0
d5e4d88e4124ab2387bac64e7d7b76ff37793bf6
/011/problem11.py
072127ab96c86257506ca23cee758a4aa9743be4
[]
no_license
grawinkel/ProjectEuler
1ae5572eec92e4307183e8b30222ffa39ef4bbce
b470dd4219c769587769c9a70ec3bae5d3ca1166
refs/heads/master
2021-05-26T20:01:03.410567
2012-10-05T16:58:48
2012-10-05T16:58:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,421
py
# To change this template, choose Tools | Templates # and open the template in the editor. __author__="meatz" __date__ ="$01.08.2010 14:10:38$" m = [] max = 0 maxa,maxb = 0,0 def nw(a,b): global max,maxa,maxb prod = int(m[a][b]) * int(m[a-1][b-1]) * int(m[a-2][b-2]) * int(m[a-3][b-3]) if (prod > max): ...
[ "matthias@grawinkel.com" ]
matthias@grawinkel.com
b290f6c4c523dba303d7efb6b9edbfc26d01ce6b
4d0bbeb8ab52f7e450aff20056f7509e12751258
/lists/migrations/0003_list.py
da0266eb470c2bba6c9bd9b11f8ba74b47076401
[]
no_license
chicocheco/tdd_book
f7c9246dcb4eb5327704c72f655bf6e187b28849
574b1082aa523c7434f50e0c4cbdf5777ddf50ef
refs/heads/master
2022-05-02T17:44:27.217329
2020-03-13T18:57:22
2020-03-13T18:57:22
197,633,503
0
0
null
2022-04-22T22:19:12
2019-07-18T17:56:43
JavaScript
UTF-8
Python
false
false
441
py
# Generated by Django 2.2.3 on 2019-08-08 07:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lists', '0002_item_text'), ] operations = [ migrations.CreateModel( name='List', fields=[ ('id', mod...
[ "stanislav.matas@gmail.com" ]
stanislav.matas@gmail.com
eedea8ce429df0e2e5de299e797c1912dd4bd962
5d7e3b62244cf01c8e58e16e8ec50bed01cac43c
/matix-label cnn/test.py
b7d9099db41320c69c0052b0f13d46b91ea697d0
[]
no_license
yuguoqi-learner/NHD-and-method-of-paper-
9a64e6297335c2712e28aef4bbebe80ba08267d4
1bfb01a1ea59920650fca2eb29cbf1c9b99b1ee5
refs/heads/main
2023-06-04T01:24:08.795335
2021-07-08T03:18:01
2021-07-08T03:18:01
383,482,612
0
0
null
null
null
null
UTF-8
Python
false
false
7,870
py
import os import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torchvision.models as models import torchvision.transforms as transforms import torch.utils.data as data import torchvision from torch.autograd import Variable import matplotlib.pyplot as plt # from functions import ...
[ "noreply@github.com" ]
yuguoqi-learner.noreply@github.com
144fc7f9ff84f6e9a9f9ae2caa52b32ac79f98ec
51bcb50645153934604da620fecd5169ba80ba67
/tiparep2/pupils_large.py
a40494d8df12dd5001733cd4dcb18c9d32131c9d
[]
no_license
newusrlll/tiparep
abfb5bfd63aa9a60a64f22bfd5d7847066568362
bc7b245a08953363cf4bdd024af952d459a8460b
refs/heads/master
2023-03-22T03:50:04.041038
2021-03-14T12:10:46
2021-03-14T12:10:46
336,764,968
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
import time class Pupil(): def __init__(self, f, n, p): self.f = f self.n = n self.p = p pupils = 0 otlichniki = [] s_a = 0 start_time = time.time() with open("pupils_large_txt.txt", "r", encoding='utf-8') as file: for line in file: data = line.split(' ') data_pupil =...
[ "lebochkin2@yandex.ru" ]
lebochkin2@yandex.ru
ab16a287fd304c7b1b4ef1d73c9d1b094b4dd508
571361aa406dc135df5b47ac0fafea3e9f6713d5
/utils.py
4b3ebb1fd6a0ccb189e3e85e2535551a8376f26c
[]
no_license
ghsaheb/Genetic-Scheduling
6129c99dee61f8379beff2098b96c0ff2d053d9e
07db5cdf4a09820d921d423ffc12437b9021b910
refs/heads/master
2020-04-08T10:42:10.012518
2018-04-19T16:25:34
2018-04-19T16:25:34
159,279,060
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
import random from math import floor def get_random_professor(course_index, courses_profs): prof_num = int(floor(random.random() * len(courses_profs[course_index]))) return courses_profs[course_index][prof_num]
[ "bornaarzi@gmail.com" ]
bornaarzi@gmail.com
cca049b91b2745cd78349902b46db3b1dd1cdecc
d6aae799e18e907fb413b715200c7832252a87e5
/image-generation/stylegan2-cdc/execution/train.py
4a3272d0d68b5312fc4196f36ab69425919adf01
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-proprietary-license", "Apache-2.0", "CC-BY-NC-4.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sony/nnabla-examples
0d0bbd5df3028996e790bcf07248fdb0932697d1
41f71faa6efff7774a76bbd5af3198322a90a6ab
refs/heads/master
2023-09-04T03:45:54.023899
2023-08-22T03:31:21
2023-08-22T03:31:21
109,625,584
308
108
Apache-2.0
2023-08-22T03:31:23
2017-11-05T23:30:40
Python
UTF-8
Python
false
false
15,055
py
# Copyright 2021 Sony Corporation. # Copyright 2021 Sony Group Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
[ "Hua.Ding@sony.com" ]
Hua.Ding@sony.com
74500f2dd0b8c53a83c336ef4540ba2e49d79f58
5ca1893df92150683d386ba61f849a8a20e80f0a
/RSRvenv/lib/python3.5/site-packages/polcart/__init__.py
e72aa4dbaf2557af7d2da9b78431fe7fe7b21272
[]
no_license
JaredJRoss/RSR
a5340a087b7e19f5c9c8a47d8b322e2384ae8152
6601afbab963f095f939ba4ca07cc07c7257e271
refs/heads/master
2021-07-10T18:26:28.128522
2018-01-08T20:24:20
2018-01-08T20:24:20
104,166,288
0
6
null
2017-11-27T23:35:25
2017-09-20T04:38:26
Python
UTF-8
Python
false
false
23
py
from .polcart import *
[ "jaredrossj@gmail.com" ]
jaredrossj@gmail.com
aec1934da3b54fcc5c4063a0d4d125cd0a1329f0
af2beabfeca92de7204a06f38136ebeee836b14b
/shopping_cartapp/migrations/0002_auto_20201028_1404.py
85780978e73d23f3a13d86674b4d93565345358c
[]
no_license
isthatjoke/geekshop
be163714d031c79d5c3dedff61625aeeb2e8304b
b95e6124ae4c7d312a74f4664773372fffaf68af
refs/heads/master
2023-01-23T16:21:39.864886
2020-12-04T21:42:56
2020-12-04T21:42:56
317,832,905
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
# Generated by Django 3.1.2 on 2020-10-28 14:04 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shopping_cartapp', '0001_initial'), ] operations = [ migrations.RenameField( model_name='shoppingcart', old_name='product', ...
[ "61158881+isthatjoke@users.noreply.github.com" ]
61158881+isthatjoke@users.noreply.github.com
5377d5647573a6524196b794344d1e11aa5e927d
3440d670ec5c7d1db2c2a1e0e4cea942705c5cf7
/fatorial_v2.py
3fa7b853564d28b246f614f733fe8e17b2986241
[ "MIT" ]
permissive
paulo-caixeta/Curso-Python-IME-USP
417ae8473e5d43e4a970fc6755a5a72508160d73
03097c7ed625796560a79c01511b8990f37efa6a
refs/heads/main
2023-03-30T19:15:17.083456
2021-03-31T23:04:56
2021-03-31T23:04:56
330,421,980
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
n = int(input("Digite um número inteiro: ")) while n >= 0: fatorial = 1 while n > 1: fatorial = fatorial * n n = n - 1 print (fatorial) n = int(input("Digite um número inteiro: "))
[ "67445567+paulo-caixeta@users.noreply.github.com" ]
67445567+paulo-caixeta@users.noreply.github.com
8e54379c9e0e2512323873740a307b5ac6552d0b
de79ece8981f0fd241bcea578e4a534a1213397e
/spirl/configs/few_shot_imitation_learning/kitchen/hierarchical_cl_gc_demo_slide_demo_trained_vae/conf.py
1f2fcbafcc3b7ab14bb8c70bf240ee9d69987572
[ "BSD-3-Clause" ]
permissive
ahmeda14960/fist
3ee684cd7da0bb531d791321f1af09adad386ab4
baf2b0bfed12a9bc0db9a099abeefad1ef618d1c
refs/heads/master
2023-08-02T01:35:29.983633
2021-09-13T20:07:28
2021-09-13T20:07:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
import os from spirl.models.closed_loop_spirl_mdl import GoalClSPiRLMdl from spirl.components.logger import Logger from spirl.utils.general_utils import AttrDict from spirl.configs.default_data_configs.kitchen import data_spec from spirl.components.evaluator import TopOfNSequenceEvaluator from spirl.data.kitchen.src....
[ "kourosh_hakhamaneshi@berkeley.edu" ]
kourosh_hakhamaneshi@berkeley.edu
634ad361e16f38381b57bf4f8de237ed67db1539
5e9a2f34c833360818ed12e2a4fd33996d14fcb6
/MainApp/models.py
7ae91b6e8af831cdac94211a2e92934b3606522e
[]
no_license
sainishreya/Eshop
e308bce7cfe45df3eb1244203cc3baa3964a4ac8
f95decba0edaccb134e954b1d5cbb5b069df7b12
refs/heads/master
2020-06-18T03:14:59.500488
2019-07-10T06:43:04
2019-07-10T06:43:04
196,147,605
0
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
from django.db import models from django.contrib.auth.forms import User class Brand(models.Model): bid=models.AutoField bname=models.CharField(max_length=30) def __str__(self): return self.bname class Category(models.Model): cid=models.AutoField cname=models.CharField(max_length=30) de...
[ "student@test.com" ]
student@test.com
00213373c71f2901f04b9c3f250dfd0d591ee90b
bfd41fc543f6dbfc821341522cf8e7a9d2e34ce8
/venv/lib/python2.7/site-packages/astroid/scoped_nodes.py
f9ec7b774f86c4821ff457b8eb19100ab3217d62
[]
no_license
MaraKovalcik/Flask
783243560ead637a381f76d3893da2b212eff898
1ff8413f3551b051f8e6c76db6cf402fc7428188
refs/heads/master
2021-01-22T09:09:16.165734
2015-02-24T16:57:14
2015-02-24T16:57:14
31,268,626
1
0
null
null
null
null
UTF-8
Python
false
false
47,465
py
# copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of astroid. # # astroid is free software: you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by the #...
[ "mara.kovalcik@gmail.com" ]
mara.kovalcik@gmail.com
f1911672eeb5c5e79206ad117f84c748083bf7dc
e91e19c13377bd7fec291ae070a732a01455ad29
/kAndr/ch_3/permutation_in_string.py
4c3b385bc5ba0485fcd7eed6ef27e408dfa569d3
[]
no_license
lkrych/cprogramming
a51527154a196973d2a367f03f4b7b7d29317b4e
eb85937cf3b62a65b7eb312627feb02284a1ee66
refs/heads/master
2021-07-09T10:38:04.136854
2020-09-05T19:05:52
2020-09-05T19:05:52
191,394,417
0
0
null
null
null
null
UTF-8
Python
false
false
10,251
py
from typing import List def permutation(d: List, i: int, l: int, results: List) -> List[str]: if i == l: results.append(''.join(d)) else: for j in range(i, l): d[i], d[j] = d[j], d[i] permutation(d, i+1, l, results) d[i], d[j] = d[j], d[i] #r = [] #test = per...
[ "leland.krych@gmail.com" ]
leland.krych@gmail.com
209fce0e9ab23269f0f2c394e287b9bb821a5323
b87b4c16c0d596fff5069c3210040eb8565417fc
/Code forces/F. Way Too Long Words.py
b5f2bae7e1bffafcb88f854ea9e549b169cb86f3
[]
no_license
Seif-Fathi/Problem-Solving
e321411ec7e59c9c4f397f38896d6a1788acc1bd
ac0f3a81179e2d3418d47ab77e34188e1470425c
refs/heads/master
2023-04-25T13:03:50.780362
2021-05-15T18:39:17
2021-05-15T18:39:17
367,705,366
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
# -*- coding: utf-8 -*- if __name__=='__main__': num_tsts = int(input()) for i in range(num_tsts): sttr = input().lower() if len(sttr) <=10: print(sttr) else: print(sttr[0],len(sttr)-2,sttr[-1],sep='')
[ "seif.fathi22@gmail.com" ]
seif.fathi22@gmail.com
b0beb7eb20985e2746ae25244fe46cc036f72866
07eea58a2c39932ae75fef81981e3bc2a392d35f
/robotiq_c_model_control/src/robotiq_c_model_control/baseCModel.py
2a47199aab083d0d8d37ad524df155ca0a2a5a94
[ "BSD-2-Clause" ]
permissive
jhu-lcsr/robotiq
dda4a79460e45bf85c69e8db7ed8cd00f2aa8349
c2880525ef9a5e1ea8854dd7b57007e3b148fc91
refs/heads/kinetic-devel
2020-04-05T20:09:45.839988
2017-03-03T17:30:38
2017-03-03T17:30:38
22,268,277
3
3
BSD-2-Clause
2019-03-28T19:25:20
2014-07-25T19:30:12
Python
UTF-8
Python
false
false
4,874
py
# Software License Agreement (BSD License) # # Copyright (c) 2012, Robotiq, Inc. # 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 copyr...
[ "jrgnicho@gmail.com" ]
jrgnicho@gmail.com
ae48ce85c8caa8b2632e5bbc58f086388955ab75
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/application_command/application_command/tests/test__validate_version.py
0311466ec90e46c18abaa78702c11bd7846f90a8
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
1,003
py
import vampytest from ..fields import validate_version def test__validate_version__0(): """ Tests whether `validate_version` works as intended. Case: passing. """ version = 202302260011 for input_value, expected_output in ( (version, version), (str(version), version)...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
c65f10f40c7746b6a0f8b226efa07085cf5a26f6
3634703ad8685c9bc5d73edf148b7b8722356c0e
/Algorithm/programmers/pg_2016년.py
872b394b834701e55c74ca2098cf27d1a25d7d18
[]
no_license
chj3748/TIL
23d88f97ebc8b1e3a06bb93752dfd2d331d01fd8
40a4e524c28945c95f059b0dee598abb686abe04
refs/heads/master
2022-02-26T16:43:56.964719
2022-02-14T04:43:20
2022-02-14T04:43:20
235,233,054
1
0
null
null
null
null
UTF-8
Python
false
false
369
py
# math | programmers 2016년 # github.com/chj3748 import sys def input(): return sys.stdin.readline().rstrip() def solution(a, b): months = [0, 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] for i in range(1, 14): months[i] += months[i - 1] weeks = [ 'THU', 'FRI', 'SAT', 'SUN', 'MON', 'TUE...
[ "redsmile123@naver.com" ]
redsmile123@naver.com
b27b059c477b45152d67c266b8bde14dfdbcfe93
e122ab31559f7551e4bc4dff6dfa7f7dbbd10168
/jaqs/__init__.py
0be750ea380b5ec64652ff6b426589ec22e928c8
[ "Apache-2.0" ]
permissive
WayneWan413/JAQS
ffb909d6d550451552697358735ec5dd74975b2d
e7362fc261f49dd7a4353c9a9a3f98d6ef9a78b4
refs/heads/master
2021-08-30T10:30:20.675837
2017-12-17T14:14:59
2017-12-17T14:14:59
113,726,696
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
# encoding: utf-8 """ JAQS ~~~~ Open source quantitative research&trading framework. copyright: (c) 2017 quantOS-org. license: Apache 2.0, see LICENSE for details. """ import os __version__ = '0.6.6' SOURCE_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
[ "brillliantz@outlook.com" ]
brillliantz@outlook.com
8ce8d15ed85b76e97a1588db1e2a9fe574ea56bf
852b381ae34e817b7ac340d287c67216e7a18b89
/logisticRegression.py
46f2e239387d4254a60c4ade3d3aa12980195559
[]
no_license
ratom/Data-Science
d4dc85333a5c0ae3879331bc8d4c501f6955d8b6
1466fdeb02ea73c7da32dfa40665d2ba9222cb21
refs/heads/master
2021-06-09T04:40:15.157537
2021-05-08T16:35:55
2021-05-08T16:35:55
154,630,650
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from sklearn.cross_validation import train_test_split from sklearn.linear_model import LogisticRegression from sklearn.metrics import classification_report,confusion_matrix df=pd.read_csv("datasets/advertising.csv") #sns.heatmap(df.isnull()) #d...
[ "dulalatom@gmail.com" ]
dulalatom@gmail.com
b043bbed978055b6395eae69ddcac30437659c9c
39555d47880ce5433845424bf9942fd359fe4602
/TaxiFareModel/encoders.py
a0c7421dde24adae4b9ccfdcf293eeb628b2ff29
[]
no_license
Doxycy/TaxiFareModel
928289f62a255feb1d8d705d5cf23fe14a71fc77
18beb16daa2fe5dfe91c4f9d6fd057c1e87b135f
refs/heads/master
2023-07-17T04:45:32.633079
2021-08-17T14:04:45
2021-08-17T14:04:45
397,279,182
0
0
null
null
null
null
UTF-8
Python
false
false
1,982
py
from sklearn.base import BaseEstimator, TransformerMixin from TaxiFareModel.utils import haversine_vectorized import pandas as pd class TimeFeaturesEncoder(BaseEstimator, TransformerMixin): """Extract the day of week (dow), the hour, the month and the year from a time column.""" def __init__(self, time_col...
[ "morgan.godard@outlook.fr" ]
morgan.godard@outlook.fr
d3e1cb323db751ac2050493151ddde48bb868a90
566638e179b0add891e1d5c8900d35ae531af6dc
/alembic_simplelis/versions/6487bfd4c8aa_renamed_columns.py
6cd0406fe6bfe944447113a2432ef47fb6ff8af3
[]
no_license
likit/querystud
9b023a45adfdbf6dc8a3a2f97fefb82b765c8690
1702c09ff6931b2cd94d0b55ef42f244c503a68a
refs/heads/master
2020-03-25T19:25:40.412824
2018-08-09T18:08:48
2018-08-09T18:08:48
144,082,461
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
"""renamed columns Revision ID: 6487bfd4c8aa Revises: 8c08809abb09 Create Date: 2018-08-09 15:54:28.683879 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '6487bfd4c8aa' down_revision = '8c08809abb09' branch_labels = No...
[ "likit.pre@mahidol.edu" ]
likit.pre@mahidol.edu
69fa94dee859ced3c1d201cbaba72e52e49bd102
f57337d795f19c14d67887743cbd5941d1e84378
/blog_project/blog/migrations/0002_auto_20200603_2323.py
814f9e8c538d7234a6bec958a9fea7db5e5ac65c
[]
no_license
teja465/blog-project
7662884cb3b810b9959cd6d618560eebe1f08b58
c7ccb1cbc8e7c2cbb29e39b32cd6798ce6329d36
refs/heads/master
2022-10-03T02:54:59.115590
2020-06-06T17:16:54
2020-06-06T17:16:54
270,048,157
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
# Generated by Django 3.0 on 2020-06-03 17:53 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('blog', '0001_initial'), ...
[ "katukuri.raviteja465@gmail.com" ]
katukuri.raviteja465@gmail.com
63e68cd682ae71bda971f13061eb08f9b94186e0
b839791d8d52186b13e8d4f734ad8dc50f514927
/Exercises/4_5_State_and_Motion/car.py
95954c43a074620fc3e5e2d0cfbd087a7231a8b7
[ "MIT" ]
permissive
giuseppe-testa/Computer-Vision-ND
d5eb0d01863212d1da981755384109d4fda7e7e7
bbb939d6a654953037ad4e9dd4a20ee5d98cf10d
refs/heads/master
2022-11-28T19:05:42.338805
2020-02-17T16:43:00
2020-02-17T16:43:00
207,527,569
0
0
MIT
2022-11-22T02:24:31
2019-09-10T10:14:52
Jupyter Notebook
UTF-8
Python
false
false
4,903
py
import matplotlib.pyplot as plt """ The Car class defines a car's movement and keeps track of its state. The class includes init, move, and display functions. This class assumes a constant velocity motion model and the state of the car includes the car's position, and it's velocity. Attributes: ...
[ "giuseppe1.testa@gmail.com" ]
giuseppe1.testa@gmail.com
61c4329bc9311c20d6ca2fdca35994a57d850ee5
38fff7bdefd8d62a740d51329b50d0e1e49258bb
/projects/oscrypto/fuzz_keys.py
891da04cd3fd9abfb86f3c556edf67a2c729e495
[ "Apache-2.0" ]
permissive
google/oss-fuzz
026384c2ada61ef68b147548e830f60730c5e738
f0275421f84b8f80ee767fb9230134ac97cb687b
refs/heads/master
2023-08-31T23:30:28.157702
2023-08-31T21:49:30
2023-08-31T21:49:30
63,809,205
9,438
2,315
Apache-2.0
2023-09-14T20:32:19
2016-07-20T19:39:50
Shell
UTF-8
Python
false
false
938
py
#!/usr/bin/python3 # Copyright 2022 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 agr...
[ "noreply@github.com" ]
google.noreply@github.com
07ddfdca133dc644af21ed96ff81b51deae90705
7990a6b89de63d7d947224e1225d7821718d1af8
/variables.py
ca64358511e47b325f1e5633e45d2eed3e720883
[]
no_license
PragathiNS/PythonCodes
1838e75dbcd3a089954e8a67c382739660a158f3
87b63cc915bcbbc8ea29b132f888744cbf7a3aa8
refs/heads/master
2021-03-27T09:54:04.931646
2018-05-30T05:07:48
2018-05-30T05:07:48
85,904,623
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
# variables can be initialized without any type mentioned to it intVar = 10 floatVar = 1.1 stringVar = "Variable" boolVar = True #We can know the type of these variables using type() print(type(intVar)) print(type(floatVar)) print(type(stringVar)) print(type(boolVar))
[ "pragathi.code@gmail.com" ]
pragathi.code@gmail.com
af9e6bd4abe4b2dcb697a14bb3d04f04c3d8c514
b13c119cb96fe399e466731ab5db3f889af3492c
/book_catalog/migrations/0018_auto_20210103_1625.py
2efe2442ef53932bc852f9297be0576456c1ea88
[ "MIT" ]
permissive
shayweitzman/MyAutoBook
39deb85cb068c7c1e20c7cd9ce126bbd3391ce93
b5451e6d2db07c839b61802f94b57824a6b17da8
refs/heads/master
2023-02-25T19:17:56.430243
2021-02-04T14:02:59
2021-02-04T14:02:59
335,971,255
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
# Generated by Django 3.1.3 on 2021-01-03 14:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('book_catalog', '0017_book_isdamaged'), ] operations = [ migrations.RenameField( model_name='book', old_name='isdamaged', ...
[ "shaywe@ac.sce.ac.il" ]
shaywe@ac.sce.ac.il
6b7257ba5127367668d0f729c4c4ea950ad85e19
422383c9862d10ef6c0907fa7b6fda29a3951110
/satellite.py
2a3009b2d875f2d41c79a99040fd6271e95e2e70
[]
no_license
ypodim/brin.gy
1c861a3dac7cedf8c71cd621450a977627df58a7
8957733abc79edf11c5ed73f9789dd8d75522f64
refs/heads/master
2020-04-15T23:22:01.114584
2012-04-09T21:17:40
2012-04-09T21:17:40
2,501,542
4
0
null
null
null
null
UTF-8
Python
false
false
12,791
py
#!/usr/bin/python # -*- coding: utf-8 -*- import tornado.httpserver import tornado.ioloop import tornado.web import tornado.escape import sys, os, time, random from optparse import OptionParser from capability import * import redis CAPS = ['buysell','location','profile'] class Statistics: statistics = dict(hi...
[ "ypodim@gmail.com" ]
ypodim@gmail.com
207502ae33c51cacfd21b43da1ac824d09d91a43
1395ee264400c14a30115cdfbe374db0ca979a3d
/agent_DDQN_MA.py
05e3e64ee016613d98ef882029fd92ac4fea6892
[]
no_license
FabioTarocco/MultiAgent_ia
3b08e8c20e478ee7681da5dc998288c37d83f333
688cf7b0f3d0117685227e990d45398abfcf41c4
refs/heads/main
2023-09-01T06:24:30.694310
2021-10-25T15:02:17
2021-10-25T15:02:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,331
py
"""DDQN agent script This manages the training phase of the off-policy DDQN. """ #Simple tag, simple spread, simple push/simple adv import random from collections import deque import time import yaml import numpy as np with open('config.yml', 'r') as ymlfile: cfg = yaml.load(ymlfile, Loader=yaml.FullLoader) ...
[ "fabio.tarocco.vr@gmail.com" ]
fabio.tarocco.vr@gmail.com
d82c3dcf0fdf6c474665923a13598ff0c86c1f82
b916cce1d6a3e2d5bd01dee9f128c25be077eb10
/PracticaP/Pentagram/admin.py
f71531f0aafe47bf6bfa1adb0fcea9eb95040bbb
[]
no_license
PaulPanait/Repos
c763225d825241855e4862f3fcb1d805659ce197
77fa6b517d0ad55b04f87d1efeb4bc256106b98b
refs/heads/master
2021-01-20T20:31:54.404217
2016-07-26T10:01:19
2016-07-26T10:01:19
64,210,408
0
1
null
null
null
null
UTF-8
Python
false
false
195
py
from django.contrib import admin # Register your models here. from Pentagram.models import Photo, Comment, Like admin.site.register(Photo) admin.site.register(Comment) admin.site.register(Like)
[ "paulpanait93@gmail.com" ]
paulpanait93@gmail.com
67ad181f4344f69cbff4705ffb7bf58239f6c9a1
38ca2e5a7caddb275ed4dbf6b97a6651f647b0b7
/handlers/coronavirus.py
357bdbf0fa97749bfc70d1064bdead31c4d3a621
[ "MIT" ]
permissive
alias-rahil/CSI-BroBot
9b36042f4acc1c3b97cd10bf886fbc170dd6b368
058048a2ca9c9cb160fd4ce638dd673615adec4d
refs/heads/master
2023-05-26T22:04:02.316584
2020-07-17T19:35:06
2020-07-17T19:35:06
273,964,247
1
0
MIT
2023-05-23T00:20:51
2020-06-21T18:46:21
Python
UTF-8
Python
false
false
4,133
py
import requests from telegram import ReplyKeyboardMarkup import random from telegram.ext import ConversationHandler, MessageHandler, CommandHandler, Filters from misc.text import invalid_message, corona_api, ask_date, ask_country from misc.invalid_msg import wrong_option sessions = {} def country_selection(update, c...
[ "rahil.kabani.4@gmail.com" ]
rahil.kabani.4@gmail.com
1d272018d3ab808c4476b38fbcf7bd7a62ec4f2d
feb318908fd6a747f3c39d7ae75133ac33ba55c3
/src/config/utils/rbacutil.py
e4f1f4b6d1518daebcb985dcd8d2f1eeb59513c6
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
zhujunhui/contrail-controller
fc076ff94d361c6572cedeb3411d802edb208541
d03019ade541b9e9e665d0b9da0ec36ae6842082
refs/heads/master
2021-01-18T03:55:14.603612
2015-12-15T23:52:04
2015-12-15T23:52:04
48,093,859
1
0
null
2015-12-16T07:10:00
2015-12-16T07:10:00
null
UTF-8
Python
false
false
12,604
py
# # Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. # # Util to manage RBAC group and rules (add, delete etc)", # import argparse import uuid as __uuid import os import re from vnc_api.vnc_api import * from vnc_api.gen.resource_xsd import * from cfgm_common.exceptions import * example_usage = \ """ Ex...
[ "dsetia@juniper.net" ]
dsetia@juniper.net
8c94be0cfe69c5251592fc5018f9ba2b28c5d1e7
89abe6a8a502bf1cb3b9169b389a4e37f7ad70f9
/graphs_w5/connecting_points/connecting_points.py
5b4d19f92d5826a5f486ae46c0c00383a6f21d65
[]
no_license
anvad/courses_algorithms
41859e34b882538e78a35a0c10a9b77d692b7664
218c40b3020270cda3399b5baa0405a93d8fddaa
refs/heads/master
2020-07-10T20:02:37.316572
2016-10-03T18:32:05
2016-10-03T18:32:05
204,357,303
0
0
null
null
null
null
UTF-8
Python
false
false
4,496
py
#Uses python3 #using Kruskal Good job! (Max time used: 0.17/10.00, max memory used: 10133504/536870912.) #using prim with array based priority queue Good job! (Max time used: 0.07/10.00, max memory used: 10129408/536870912.) #prim slightly optimized to avoid find dij in some cases Good job! (Max time used: 0.06/10.00,...
[ "anil.vadlapatla@gmail.com" ]
anil.vadlapatla@gmail.com
cb69e8b638a917546fb9bfc2214ec6c812e10454
dd225d2ffd07e8e5fbf0b841e83c6c12fd7610ef
/dynamicsettings/__init__.py
8686a3379e05f0a8fb846fffc2d8335b0ca7aee4
[ "MIT" ]
permissive
fopina/django-dynamicsettings
1e90761649538d9ade30bf36dfd46746f6bedeef
9f6949a6d26bc43199d728ce26d85eb5b016139f
refs/heads/master
2023-06-15T14:21:44.008780
2021-07-08T13:10:32
2021-07-08T13:10:32
286,098,067
3
0
MIT
2021-07-08T13:10:33
2020-08-08T18:27:42
Python
UTF-8
Python
false
false
7,523
py
VERSION = (0, 0, 3) __version__ = '%d.%d.%d' % VERSION import time try: from django.core.exceptions import ImproperlyConfigured, ValidationError import django if django.VERSION < (3, 2): default_app_config = 'dynamicsettings.apps.DynamicSettingsConfig' except ModuleNotFoundError: # allow impo...
[ "fopina@gmail.com" ]
fopina@gmail.com
19d8978fecb310636b6db9dc5182a2863810b9a9
6d871334260c1b7f8d087dfd8ca6e2fe0c4f0307
/01-operacoes.py
a248fed695c0adb10aaf06ff978bc21822362298
[]
no_license
competcoce/python-intro
0dcffd27afd12ff2c29c6541669458fe92b32339
b6995f73ef8b9a664de8142bec1c0cb2ba3b4590
refs/heads/master
2016-09-06T13:15:40.388837
2015-03-04T12:19:20
2015-03-04T12:19:20
31,655,461
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
# coding: utf-8 # Operações #Soma # r = 1 + 1 # print r #Subtração # r = 1 - 2 # print r #Multiplicação # r = 2*2 # print r #Divisão 01 # r = 2/3 # print r #Divisão 02 # r = 2/3 # print r #Resto - par # r = 2%2 # print r #Resto - impar # r = 3%2 # print r #Potência # r = 3**6 # print r #Raiz # r = 4**1/2 # pr...
[ "gustavokira@gmail.com" ]
gustavokira@gmail.com