blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
b216a687cf570621fe06b237e2f4af8888a5bd8f
4acd0d1561e057ac312b6f62a5504fef8a9b8d1a
/attacks/fast_gradient.py
334df07c4deb1a8f30dfa25f6ed35066dd55c5d3
[]
no_license
ValamogulisZ/DS_FoolingCNN
810bd8435752dbba2060901097aaf50d48e4eb08
b576f3efeea7bc0a841d833472a81e009fac84dd
refs/heads/master
2022-12-03T03:44:17.889915
2020-08-25T01:39:35
2020-08-25T01:39:35
290,056,767
0
0
null
null
null
null
UTF-8
Python
false
false
4,115
py
import tensorflow as tf __all__ = [ 'fgm', # fast gradient method 'fgmt' # fast gradient method with target ] def fgm(model, x, eps=0.01, epochs=1, sign=True, clip_min=0., clip_max=1.): """ Fast gradient method. See https://arxiv.org/abs/1412.6572 and h...
[ "wenda@uab.edu" ]
wenda@uab.edu
88eaf22c767ec5d231450ea9686ec6949a2023e5
a9760e9fe6d81cfeb76044a43008eee2adf0295b
/choose_your_own/your_algorithm.py
eea887add072af15e85eb41e6eb922be2fbe7319
[]
no_license
Valentine-Mario/Machine-learning
9ff39e33fe6dc4a4e88efaa03b3f36ebbd3aeacc
6a4261830057f104adbcff67c5e131707e124735
refs/heads/master
2022-07-18T17:37:44.582421
2020-02-03T18:14:14
2020-02-03T18:14:14
223,941,245
0
0
null
2022-06-21T23:32:48
2019-11-25T12:15:51
DIGITAL Command Language
UTF-8
Python
false
false
2,084
py
#!/usr/bin/python import matplotlib.pyplot as plt from prep_terrain_data import makeTerrainData from class_vis import prettyPicture from sklearn.neighbors import KNeighborsClassifier from sklearn.metrics import accuracy_score from sklearn.ensemble import AdaBoostClassifier from sklearn.ensemble import RandomForestClas...
[ "valentine13400@gmail.com" ]
valentine13400@gmail.com
1b6a2aa29c25d01d109682bef2c4e146e7d3ae9a
7b4cc3814338b600db560324e615cf5c3a02bff5
/test/test_inline_response20019_ranks_sum.py
7c843351bb5fea0cf90e0166453b3ff6628bd10a
[]
no_license
wood-run/opendota-client
58ea278c94d3edad0daf695438d5ec2a3d90fe08
2cd7defca67c7efde4ee414e9dcd8685245cd167
refs/heads/master
2022-12-29T02:17:26.862289
2020-10-13T08:29:06
2020-10-13T08:29:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
# coding: utf-8 """ OpenDota API # Introduction The OpenDota API provides Dota 2 related data including advanced match data extracted from match replays. You can find data that can be used to convert hero and ability IDs and other information provided by the API from the [dotaconstants](https://github.com/od...
[ "chujiyang@gmail.com" ]
chujiyang@gmail.com
e4ffd83343645d489fd7f0901317a07d4bdea4b1
c0a25bd77d98e6087c745d5fa2862c4a715a8f59
/standupmeeting/settings.py
241a863296e0a608133996cb32846d82c37359a1
[]
no_license
codyowl/standupmeeting
a84f356b611bd87956b9aa15c58a6ca63fbffebc
bd2a782406901f492f54c1780e1d85d07fe51c20
refs/heads/master
2021-01-21T15:18:49.137211
2017-06-17T17:47:40
2017-06-17T17:47:40
91,837,500
0
0
null
null
null
null
UTF-8
Python
false
false
2,870
py
""" Django settings for standupmeeting project. Generated by 'django-admin startproject' using Django 1.8. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build...
[ "codyowl@gmail.com" ]
codyowl@gmail.com
3f9f273e1fb3fa3b5e303f9f4d2789e44b45ead3
307da11c0b04aca15815e204be43355bf598b8b1
/FileHandlingAssig/assig3.py
e594a99e1ad2eba132dd7aab9980dc2103f7eba6
[]
no_license
asatiratnesh/Python_Assignment
a573e47ce6ebca8e48a5b5efc80c9fdd17eb10bf
ece2930d0f23383b9227a2d7110101fec35036e9
refs/heads/master
2020-04-19T10:32:41.592101
2019-02-01T12:40:25
2019-02-01T12:40:25
168,143,492
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
# convert the content of files in reverse order. fileHandle = open("abc.txt", "r") fileHandle.seek(0) revString = fileHandle.read()[::-1] fileHandleWrite = open("abc.txt", "w") fileHandleWrite.write(revString) fileHandleWrite.close()
[ "ratnesh.asati@harbingergroup.com" ]
ratnesh.asati@harbingergroup.com
17ed53f882b6351a4dfc34a6cd9a6c7e3bcc5816
95d7e59587cbe49e9b2cd54b9b7d1d7bd0e2d73a
/爬虫/code/抖音无水印下载.py
d4a779d2b6f2cd73d286ed8c633db581ce8bcd63
[ "MIT" ]
permissive
oncesimple/heima_python_learn
ddba1428c52cd3029019aad085ff79e8b0ebed0e
e4a2ff7e4f95ed910d54888d6ed79b315d0f148b
refs/heads/master
2023-03-29T08:17:17.476068
2021-04-10T10:17:39
2021-04-10T10:17:39
356,540,341
1
1
null
null
null
null
UTF-8
Python
false
false
1,386
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- __author__ = 'hyh' __date__ = '2020/7/4 21:07' import re import requests """ TODO 声明 脚本仅仅提供学习使用,拿来盗别人视频,或者商业用途,后果自负作者不会承担任何责任。。 """ def request(url): headers = { "user-agent": "Mozilla/5.0 (Linux; Android 5.0; SM-N9100 Build/LRX21V) > AppleWebKit/537.36 (KHTML, ...
[ "once_simple@outlook.com" ]
once_simple@outlook.com
aba137d2ba8d09a62e8c31bd44e5e317756309e1
639493af246a2d00fc1ef8f17c4e666d11537677
/Models/Deeplabv3.py
405c8a07245f51e20436cc4f6aef3728eee90483
[]
no_license
brillianti/Deeplabv3
ab68ed7b5a29ccbbf8f27fec441c83f5186ba622
f4aad6b112c2c629766ba54434ead4eb617ba0b8
refs/heads/master
2022-04-22T21:34:29.790094
2020-04-25T15:19:32
2020-04-25T15:19:32
258,806,523
0
0
null
null
null
null
UTF-8
Python
false
false
20,086
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import tensorflow as tf from keras.models import Model from keras.activations import relu from keras.layers import Conv2D, DepthwiseConv2D, UpSampling2D, ZeroPadding2D, Lambda, AveragePooling2...
[ "1602881391@qq.com" ]
1602881391@qq.com
c9d7473a10ec6484bfb9f69df952c0a761dd359d
7624e2cab8bcd6b7cf1d9b5c611610f7ca050dac
/internbot/view/topline_view/appendix_view.py
20d0c7d8e6f100d9f1a28b3051769b7a63a921d8
[]
no_license
carolinedarling/internbot
95aaaad81f81cbbbea2f7a04a6ff819f222290df
beebc0e168e405e246392ebf91f3b01562878728
refs/heads/master
2022-04-01T03:14:59.929299
2019-12-11T18:25:02
2019-12-11T18:25:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,141
py
## outside modules import kivy kivy.require('1.11.1') from kivy.app import App from kivy.uix.button import Button from kivy.uix.boxlayout import BoxLayout from kivy.uix.image import Image from kivy.graphics import Color, Rectangle from kivy.uix.popup import Popup from kivy.uix.label import Label from kivy.core.text im...
[ "kathryn@y2analytics.com" ]
kathryn@y2analytics.com
667786d0de27d6e59c028abbd242e1f9687c6d97
c1a7a020f950e0e80f4b63793eae458a068ed552
/src/uav_flight/src/python/drone_hunter.py
806a5ef803b938f65095be34991906460435d4e7
[]
no_license
Isaac-Seslar/uav_avoidance
504c4c244a8ae5a1da151f270fa6aa1103400ddb
5dbef1c9eb527a267f5afd9996a576043413b952
refs/heads/master
2023-01-05T04:15:09.082301
2020-10-29T16:46:46
2020-10-29T16:46:46
265,355,340
0
0
null
null
null
null
UTF-8
Python
false
false
6,564
py
#! /usr/bin/python #################### # Import libraries # #################### import math import numpy as np import rospy import mavros import std_msgs import tf import sys, select, os, tty, termios from geometry_msgs.msg import PoseStamped, TwistStamped, TransformStamped, Point, Vector3 from mavros_msgs.msg im...
[ "isaaciscool19@gmail.com" ]
isaaciscool19@gmail.com
7b480b508fc082bd44699b3765985666f6a32593
0db91f8a6b295ff72b0cb3e7e6b1ddf2a39f7c1e
/moorse_code1.py
f433dfc4a9f97cbca0af9d7b52f7771d0375f5d9
[]
no_license
alphabetz/dailyprogrammer
3fb239a3ae8bfb1ce7886584b479e8d5075f671a
ce78ef4f18b409cf8659f9ebe21fb672abe920b4
refs/heads/master
2020-07-11T22:56:47.111546
2019-09-05T08:18:34
2019-09-05T08:18:34
204,661,529
0
0
null
null
null
null
UTF-8
Python
false
false
877
py
# r/dailyprogrammer # easy #380 # Smooshed Morse Code 1 # write Moorse code generator def smorse(text): code = { 'a' : '.-', 'b' : '-...', 'c' : '-.-.', 'd' : '-..', 'e' : '.', 'f' : '..-.', 'g' : '--.', 'h' : '....', 'i' : '..', 'j' : '.---', 'k' : '-.-', 'l' : '.-..', 'm' : ...
[ "rm.ratthapong@gmail.com" ]
rm.ratthapong@gmail.com
4c05a7c1bbc996ad2ea1c67b8c197f53b49ee881
cf84ec58efa63846d09592a6b3d98f9ba31aba0a
/day01/Interaction.py
3543fe16091c1ade96d5a645c2634d360ee4d799
[]
no_license
EvanMi/s14
cedd3837d0bb87209a31e17467fc723c3b4d7041
186d3a471bfc5ac4edc888d1b2d0b65206b62803
refs/heads/master
2020-03-30T07:34:47.382925
2018-09-30T08:55:10
2018-09-30T08:55:10
150,950,275
2
0
null
null
null
null
UTF-8
Python
false
false
624
py
# -*- coding:utf-8 -*- # Author: Evan Mi name = input("name:") age = int(input("age:")) job = input("job:") salary = input("salary:") # %s %f %d info = ''' ---------- info of %s -------- Name: %s Age: %d Job: %s Salary: %s ''' % (name, name, age, job, salary) info2 = ''' ---------- info of {_name} -------- Name: {_na...
[ "1157015566@qq.com" ]
1157015566@qq.com
2b264b55b123a8cd5b282f6bb7e18cab92f2e684
e533a0ed04ef500d394d2a36131214109fd09925
/test_04_11_4.py
e7eabac535b0302c5edab0f859e6061f397171c5
[]
no_license
rocmc/Python_edu_171216
03a20ada87fbb6af00794d44b1c677840b95fdeb
f704211c96d75bef0a8b26c1d91227076b2f73ca
refs/heads/master
2021-03-19T15:38:59.719369
2017-12-23T08:16:20
2017-12-23T08:16:20
114,445,355
0
0
null
null
null
null
UHC
Python
false
false
427
py
#coding: euc-kr import sqlite3 db = sqlite3.connect("test.db") cursor = db.cursor() # 삭제 SQL cursor.execute("""DELETE FROM PHONEBOOK WHERE EMAIL=?""", ("visual@naver.com",)) # 반드시 커밋을 한다 db.commit() cursor.execute("""SELECT NAME, PHONE, EMAIL F...
[ "corea811@gmail.com" ]
corea811@gmail.com
1c1ae64bcd0ef9585b622bcc72dcfe53e29a844d
733a9f7fb141db20c9286e6971d59dc22f1a96c3
/plot.py
18aa40480148505fe7216e4af38773a4457eac1f
[]
no_license
MartinBCN/DeepRL
ca888dfe1a22a65abc597f34bd933965d2f86872
8394a373936a6fc1b77c1fb6762371f70bac8a1f
refs/heads/main
2023-04-20T07:34:21.619209
2021-05-16T13:07:39
2021-05-16T13:07:39
361,625,863
0
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
import streamlit as st st.set_page_config(page_title='RL Reacher', page_icon=None, layout='wide') import pandas as pd import json from pathlib import Path import numpy as np import plotly_express as px p = Path('runs/reacher') batch = pd.DataFrame() epoch = pd.DataFrame() configs = pd.DataFrame() for path in p.glob...
[ "martin-cleven@gmx.net" ]
martin-cleven@gmx.net
3a7267565f9ff70b2e81cefb0c86b27fd8f3b565
f62007cbfe69b169bc6fac79c143856e027af46c
/Day1/length.py
5c774bd03af217463c727630ea0a611cebc618b9
[]
no_license
nithishkumar98/100-days-of-python
272bff29d85cf99a54358fe79ab44fe63ea0870a
def3089ab482a70a2cc12fad28ef65bc6de6a6be
refs/heads/master
2023-06-25T00:42:33.873203
2021-07-20T18:19:30
2021-07-20T18:19:30
386,530,741
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
name = input("What is your name?") length = (len(name)) print("The length of the "+name+" is " + str(length))
[ "nithishindians@gmail.com" ]
nithishindians@gmail.com
ffea677591747dfafae0220b0d5104dd324b6948
6f45267c7e5e3167bc5c552ff57b1bb934c6911b
/load/save_load_xcm.py
15c70ceb20f11eed3a16928ec1c8e86f5526a215
[]
no_license
evandromr/pyxspec
d9c443680dfd508f2c6458157b3ade85b448fb66
410f1c457f2671cf11740d3bad4138bd04193939
refs/heads/master
2021-01-18T06:45:42.571328
2015-07-15T12:24:03
2015-07-15T12:24:03
39,135,887
0
1
null
2015-07-15T12:36:10
2015-07-15T12:36:10
null
UTF-8
Python
false
false
3,891
py
# pyxspec def save_as_xcm(filename,s_type="all"): '''saves stat,method,abund,xsect,cosmo,delta,systematic,model and parameters to an xcm file''' if len(filename.split("."))>1 and filename.split(".")[-1]=="xcm": ext="" else: ext=".xcm" fw_xcm=open(filename+ext,"w") fw_xcm.write("statistic "+str(Fit.statMethod)+...
[ "nocturnalastro@users.noreply.github.com" ]
nocturnalastro@users.noreply.github.com
aff99ca9c0437f8148335598643af70076e96820
aeb215ecd792ab99c722e864728d388fe69c545f
/templeB.py
a49bf3a6e3c1b0169646c01890bc40f785317d31
[]
no_license
kcho/templeBehavioural
d07e9b4aaf0123de5c3504d78e3f3b45fbfb7c9c
b8b9d386671b31be1d2f138c547d264434c28d30
refs/heads/master
2020-05-19T10:04:53.869137
2014-07-24T13:25:42
2014-07-24T13:25:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,276
py
#!/Users/admin/anaconda/bin/python import unicodedata import re import codecs import os import csv import argparse import textwrap import pandas as pd import numpy as np def findBehaviourDir(directory): # find 'Behavior_Data' behaviourDir=[] for root,dirs,files in os.walk(directory): if re.search(...
[ "cke8671@hotmail.com" ]
cke8671@hotmail.com
6df584caf2711d3e2e7ace2cad2cdc746637d3a9
7f591f2c5921a35b1ee86c134e6f76ccbe91eb53
/login/app/forms.py
24d77e0c69aec135095db84b303528e5728b3b66
[]
no_license
prashanthchaduvala/Myproject
cb91f7a6701927a847043c08f0512bc5f8deb2b4
2fa04185e7b53154e6b132ed28dfc462cc267929
refs/heads/master
2020-09-26T14:33:54.331103
2019-12-06T07:59:07
2019-12-06T07:59:07
226,274,400
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
from django import forms from .models import loginpage class LoginForm(forms.ModelForm): class Meta: model=loginpage fields='__all__' widgets={'password':forms.PasswordInput}
[ "54631863+prashanthchaduvala@users.noreply.github.com" ]
54631863+prashanthchaduvala@users.noreply.github.com
49d6d7963eb1e7251d939d8c77a74178713656ce
9148efb07cb949e686b8c1017460526b74c16319
/topic/migrations/0001_initial.py
be704877ef5a83f8ba906836a1463a856f940208
[]
no_license
kangsgo/pineapple
af5277144395135bc018552bcef2237a8c1cd011
d6f95eb1cf3cc30d97157a9b6fe35ad1889f6a82
refs/heads/master
2021-01-12T15:52:03.496417
2016-10-06T11:47:59
2016-10-06T11:47:59
70,171,425
1
0
null
2016-10-06T16:20:18
2016-10-06T16:20:18
null
UTF-8
Python
false
false
1,422
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-13 05:09 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('comments', '0001_initial'), migr...
[ "tonnie.lwt@gmail.com" ]
tonnie.lwt@gmail.com
aa5c179f6a82ed1c371e89ee709949f9a08fcf6f
7c42e938f896729b04ebb19ed6222083841c66c0
/tetris/ui.py
a5ac41cc480f2429c5eb5ada0397dd2533269c2d
[ "MIT" ]
permissive
xmye/games
6586805d94b452a604fe977773a7a1402e704930
4239022cf4f144dbf22b46baf51368a408faa97b
refs/heads/master
2021-04-03T08:56:26.637072
2018-03-05T22:01:33
2018-03-06T22:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,653
py
from PyQt5.QtCore import Qt, QTimer, QSize, QPointF, QRectF, QPropertyAnimation, QEasingCurve, \ QParallelAnimationGroup, QAbstractAnimation from PyQt5.QtWidgets import QWidget, QFrame, QMessageBox, QGraphicsScene, QGraphicsView, \ QGraphicsObject, QGridLayout, QStyl...
[ "vojta.molda@gmail.com" ]
vojta.molda@gmail.com
921edfd522099ada4d11a5a777e54f9d2dca360b
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.11.16/3/1569573269.py
7413ac80608e26f988f405d4836f82d6a23f8641
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
import functools import typing import string import random import pytest def leap(j: int) -> bool: if j % 4 == 0 and (j % 100 == 0 and j % 400 != 0): return False elif j % 4 == 0 and (j % 100 == 0 or j % 400 != 0): return True else: return False ####################################...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
e68500422dcce2cd1da8991f72a686ab537ad639
c87a2aa3752d51b2191e6d3fe09fd982b3d40f6d
/ABC105a.py
815275dcc7669d23cc6e40f980ac6864c5bed261
[]
no_license
kairyu33/atcoder
54df0eea2f1c61f516ec2dbb4b62eeeb59903269
61f76826ebaaf2604bfa0ce016e3de52d0a10f39
refs/heads/main
2023-06-14T21:52:33.208802
2021-07-09T15:14:06
2021-07-09T15:14:06
376,199,517
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
def main(): n, k = map(int, input().split()) if (n % k == 0): print(0) else: print(1) if __name__ == '__main__': main()
[ "kairyu333@gmail.com" ]
kairyu333@gmail.com
596fbd0f3ba50656e01ae10f54ce925cb0d45bc4
70a9b6201ed77235929f4561bfaf2baf20decd3e
/SelfStudy[Python]/Learn_Python/basics/changing_case_in_strings.py
868b21704acd79a9f869cb7e466cb355c335b939
[]
no_license
Troys-Code/Coding
4cb4fce0a7e79dbdf18828e4d32974f58789098d
5b8ee557e7fc2d1ee321c66ebedc596f72fa4bad
refs/heads/master
2023-07-14T14:03:22.789272
2021-08-25T00:22:05
2021-08-25T00:22:05
343,971,313
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
name = "troy schultz" print(name.title()) # Prints Each First Letter In The String As Capitals print(name.upper()) # Prints With All Characters Lower Case print(name.lower()) # Prints With All Characters Upper Case # .lower() and .upper() are useful for user inputs to validate user input with less variations # Troy ...
[ "41653822+Troys-Code@users.noreply.github.com" ]
41653822+Troys-Code@users.noreply.github.com
0f386418ae2dc0fc5c9218cff9565de3b2531ec0
c8cfc8f3e3e1c0a4a856355ff90cceca3191ba77
/web-client/slycat/web/client/dac_tdms_util.py
136a011e4bb6fbd2c30e33ffa9eef052f01c2c29
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
sandialabs/slycat
8fb41164c74a78f645ba3c4db6cb5e33e9b515c8
1af9aa38c7ffa5d3f02101cc057e5d2ff20897c0
refs/heads/master
2023-08-17T19:30:16.277591
2023-08-09T19:49:29
2023-08-09T19:49:29
11,371,048
69
24
NOASSERTION
2023-08-31T15:22:37
2013-07-12T14:50:39
JavaScript
UTF-8
Python
false
false
11,283
py
# Copyright (c) 2013, 2018 National Technology and Engineering Solutions of Sandia, LLC. # Under the terms of Contract DE-NA0003525 with National Technology and Engineering # Solutions of Sandia, LLC, the U.S. Government retains certain rights in this software. # Module defining Dial-A-Cluster .tdms parser, options,...
[ "smartin@sandia.gov" ]
smartin@sandia.gov
2f2d2f98b445b7c273a6c0c3b80e0ecc367e2b89
e77d6b3dcc1deb5c7d22eaba6fb00dbc33d0e5ac
/scripts/check-specs.py
16ae37cdb22e56b738e9d406ee80311f3678a753
[ "MIT" ]
permissive
troycurtisjr/portingdb
a6a4d30b78eefacdfe0abb1a0a5be59fb6f5d7be
6c5cf2b82551f4e40fc03d56e5f65d1dd2030d43
refs/heads/master
2021-07-06T19:56:27.646021
2017-09-22T14:39:49
2017-09-22T14:40:33
105,333,401
1
0
null
2017-09-30T02:11:26
2017-09-30T02:11:26
null
UTF-8
Python
false
false
5,099
py
#! /usr/bin/env python3 """Get number of specs which are also used for rhel. Check how many spec files among Fedora packages with naming issues are cross platform, meaning that the same spec file is also used for rhel/epel. This check is pretty naive and gives just general information. It checks spec files for using ...
[ "ishcherb@redhat.com" ]
ishcherb@redhat.com
96e111c9b79508abc86ab994ca72482efa2082de
0db3ffb5060fd0d4a7e1ee59ab1a5f6766f35c11
/4_Feature matching/code/4.6_KNN.py
b286eeff295cbf5749c3387ee1b852e1e517719a
[]
no_license
maibobo/Learn-cv
c525b780f0ce61d0906525dd51902aeab1ba8d75
928c6dae9c12427d1ae6dab7837657b68098f935
refs/heads/master
2020-06-14T10:36:25.655934
2019-07-03T12:50:44
2019-07-03T12:50:44
194,983,444
0
1
null
null
null
null
UTF-8
Python
false
false
1,340
py
# -*- coding:utf-8 -*- import os import cv2 import numpy as np ''' 使用KNN即K近邻算法进行特征匹配 ORB算法 ''' img1 = cv2.imread('orb1.jpg',0) #测试图像img1 # img1 = cv2.cvtColor(img1, cv2.COLOR_BGR2GRAY) img2 = cv2.imread('orb2.jpg',0) ##训练图像img2 # img2 = cv2.cvtColor(img2, cv2.COLOR_BGR2GRAY) orb = cv2.ORB_create...
[ "42796626+maibobo@users.noreply.github.com" ]
42796626+maibobo@users.noreply.github.com
3c5b287ba292013072af0952810ed48c30cfb9e9
95341c85a8a116dba0d77644360ccfb346ceeb80
/src/api-engine/api/routes/node/serializers.py
9d954df567d1319bff4f28d77173fa89c21c0968
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
kuochunchang/cello
109204905a6be17c47b6aa3268ee4bbfeadce43a
1f778cea3a2021aabadd48e41cdd69ed1f8e979c
refs/heads/master
2020-06-03T05:42:43.108481
2019-05-28T13:45:05
2019-05-28T13:45:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,661
py
# # SPDX-License-Identifier: Apache-2.0 # import logging from rest_framework import serializers from api.common.enums import ( Operation, NetworkType, FabricNodeType, FabricVersions, HostType, ) from api.common.serializers import PageQuerySerializer from api.models import Node LOG = logging.getLog...
[ "hightall@me.com" ]
hightall@me.com
a1a897e0a9c3bc5db171865931e925f1a2a52b18
8195596a47e5d47ec78b585d5ed4b1a9583f61f7
/app.py
1611a2b6eae0dd07fc9bf0c583d9d41aeb8e9ddf
[]
no_license
acoustically/EchoetServer
8f5b92a9dff31c2177f0e9b6b700ad257e478447
454b90105c87dba04ca3fcfb74466211def94ab7
refs/heads/master
2021-07-20T12:03:32.073197
2017-10-29T00:04:20
2017-10-29T00:04:20
108,533,779
0
1
null
2017-10-28T09:48:45
2017-10-27T10:40:26
Python
UTF-8
Python
false
false
858
py
from flask import Flask, request, jsonify, render_template from src.routes.daily_eat import daily_eat from src.routes.user import user from src.routes.food import food from src.routes.user_body import user_body app = Flask(__name__) app.register_blueprint(user, url_prefix="/user") app.register_blueprint(daily_eat, ur...
[ "ubuntu@ip-172-31-8-104.ap-northeast-2.compute.internal" ]
ubuntu@ip-172-31-8-104.ap-northeast-2.compute.internal
020359ee2e96f27dfb8106427a0cac3ff587cb41
f7e511e0dc14d2b23d2bbc1c7023d1efd346829a
/rocon_smartthings_bridge/setup.py
aeb49db35e53c3477c0c68ca0f7000b82d8e1551
[]
no_license
robotics-in-concert/rocon_devices
1f6ffd0968a0cc565a1992b8423e5a497dbd3440
614a190cb9f531c3db83c3e3e4650e8a0971c8c1
refs/heads/develop
2021-01-10T21:06:25.738755
2015-07-28T08:29:35
2015-07-28T08:29:35
18,580,058
10
11
null
2018-02-19T22:24:08
2014-04-09T00:40:15
Python
UTF-8
Python
false
false
233
py
#!/usr/bin/env python from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup d = generate_distutils_setup( packages=['rocon_smartthings_bridge'], package_dir={'': 'src'}, ) setup(**d)
[ "jihoonlee.in@gmail.com" ]
jihoonlee.in@gmail.com
75a51dcedafba4f54f170bc433e959f80f46a919
61e98b0302a43ab685be4c255b4ecf2979db55b6
/sdks/python/.tox/lint/lib/python2.7/site-packages/pylint/test/functional/too_many_nested_blocks.py
47dbf441bd71b32547d4d652a501a6d3189ff396
[ "BSD-3-Clause", "EPL-2.0", "CDDL-1.0", "Apache-2.0", "WTFPL", "GPL-2.0-only", "BSD-2-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "CDDL-1.1", "Classpath-exception-2.0" ]
permissive
dzenyu/kafka
5631c05a6de6e288baeb8955bdddf2ff60ec2a0e
d69a24bce8d108f43376271f89ecc3b81c7b6622
refs/heads/master
2021-07-16T12:31:09.623509
2021-06-28T18:22:16
2021-06-28T18:22:16
198,724,535
0
0
Apache-2.0
2019-07-24T23:51:47
2019-07-24T23:51:46
null
UTF-8
Python
false
false
2,259
py
"""Checks the maximum block level is smaller than 6 in function definitions""" #pylint: disable=using-constant-test, missing-docstring, too-many-return-statements def my_function(): if 1: # [too-many-nested-blocks] for i in range(10): if i == 2: while True: ...
[ "alex.barreto@databricks.com" ]
alex.barreto@databricks.com
5b51126a4fd9d20c0b17017409aed3f5df7dac5d
add47f91c68d6a7f0b1d8f60455594aba7dcf61c
/scripts/main.py
73887ba21d067dfb0229ea09f68947c9aa194428
[]
no_license
thejusp/BurnLaptop
7991a3abcafafb783eeb3019d3403f94158feb95
0dda109d3d2971b15bba02fe65d8d962971f1f72
refs/heads/master
2021-06-26T01:50:09.513248
2021-04-14T14:25:14
2021-04-14T14:25:14
226,454,013
0
0
null
null
null
null
UTF-8
Python
false
false
9,382
py
#!/usr/bin/env python import numpy as np import datastructure as ds import scipy.stats as ss from astropy.table import Table import matplotlib.pyplot as plt datastructure = ds.DataStructure() # Note: Software Sequences # [ G1 , G2 , G3 , G4 , G5 ] # [ SVG, WOT, TSR, PTN, COW] A_G1 = [datastructure.SVG.A.temperatu...
[ "thejus@lionsbot.com" ]
thejus@lionsbot.com
44743649534d60a91cc3986c48b9fcb6f15d46bd
30d61ce0b728f31a830db6b6b1954a32551990b2
/src/gui_config/custom/util.py
52c871fa4478b9296be8335390e061416b42f78d
[ "MIT" ]
permissive
hgiesel/anki_set_randomizer
6755dc8489b703887c55a5427bbbdab858f58a65
1a9a22480eb6c0e7f421dc08d36d14920e43dd3e
refs/heads/master
2022-08-24T05:45:13.339132
2020-01-15T17:04:26
2020-01-30T13:56:50
197,258,760
5
0
MIT
2022-07-20T17:28:42
2019-07-16T19:56:27
JavaScript
UTF-8
Python
false
false
90
py
def mapTruthValueToIcon(b): if b: return '✓' else: return '✗'
[ "hengiesel@gmail.com" ]
hengiesel@gmail.com
12c59a6154a461bf8059070f15b4a4dea294ecf4
e6abe4aca3994c9f98bedb561a522505caff4b7e
/mblog/migrations/0002_auto_20170901_1708.py
d674f72376381be696a04490fe048c76d4c8748f
[]
no_license
has727/newBlog
093d9f93ed0b78d7de76c7f39f8d99e4831c0970
37073ece4c648e136500d727423226cebdf4841e
refs/heads/master
2021-01-21T12:30:48.474803
2017-09-01T09:56:07
2017-09-01T09:56:07
102,074,996
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-01 09:08 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "has727@outlook.com" ]
has727@outlook.com
d920e855764cded63171a613b96a14801d525791
66932bac8dfdc4c107705e44294409fa1dd05f62
/venv/bin/django-admin
8f3f9f0a350610a30f5cdad40f7ccf0ef27a27d9
[]
no_license
jatia/django
6572d474738aade008930e7210ef0e4ca1c739be
20a97ce78755fb65dd551cf92f8322316ab39984
refs/heads/master
2021-09-07T03:39:02.119441
2018-02-15T15:24:11
2018-02-15T15:24:11
117,251,942
0
0
null
null
null
null
UTF-8
Python
false
false
296
#!/home/jatia/workspace/django/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "julissa.atia@gmail.com" ]
julissa.atia@gmail.com
0418b38156676b0628df4bd411124a771259d66b
3d2cf0037809d77f110a1383df4c42c68614487f
/graphs.py
57b3b1613cca1ca7ddd95f281503e5497f7d49f7
[]
no_license
zackbrienza/fantasy-football
469b0a6895a6227ff6c6019cd7748765860dba5a
d483f319292cc596052c08f9ec56902db861bc8b
refs/heads/master
2021-09-05T17:05:24.018307
2018-01-29T21:29:13
2018-01-29T21:29:13
109,536,608
0
0
null
null
null
null
UTF-8
Python
false
false
4,472
py
#Scott Dickson #1/3/2018 #Implementations of various graph algorithms #All take an adjacency list of size n^2 where n is #the number of vertices in the graph from Queue import Queue #Try to find a path fromt the start node to the end node #If found return a list of edges. Nil will be returned if #a path cannot be fou...
[ "sdd48@cornell.edu" ]
sdd48@cornell.edu
5e93c1c35118d3f32a43a70d453bab1653d00a3c
1e9c4294652b0f4699d85516afd54fb5697b4800
/python_exam/0803/mnist_cnn02.py
13b66b9af78378cf5592a9f8e0ee4e3c7dc36b17
[]
no_license
mgh3326/GyeonggiBigDataSpecialist
89c9fbf01036b35efca509ed3f74b9784e44ed19
29192a66df0913c6d9b525436772c8fd51a013ac
refs/heads/master
2023-04-06T07:09:09.057634
2019-06-20T23:35:33
2019-06-20T23:35:33
138,550,772
3
2
null
2023-03-24T22:43:06
2018-06-25T06:10:59
Jupyter Notebook
UTF-8
Python
false
false
4,430
py
# -*- coding: utf-8 -*- """ ml_day4 (2018.08.02) """ from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets('./MNIST_data', one_hot=True) import tensorflow as tf sess = tf.InteractiveSession() x = tf.placeholder(tf.float32, shape=[None, 784]) y_ = tf.placeholder(tf.float32, sha...
[ "mgh3326@naver.com" ]
mgh3326@naver.com
8d929af30fecbb516a27705d9275e005f0984c4c
e9c43b9df16d171b46e9a28b0862c2ad4619b832
/apc1000x.py
a444e29e92d4f2a11e61ce0ed6f3551a9a78e7b4
[]
no_license
Interra-seven/Zabbix-ex
5e4b16f38f6d6eae92d76f5e02ac227aaa3c1975
058c69c93c684c807ee827e1e5a6c26fdec6fa9d
refs/heads/master
2020-03-23T09:58:32.964830
2019-02-12T12:01:01
2019-02-12T12:01:01
141,418,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import telnetlib import re import time fin_lst = [] rgx_chg = re.compile('Battery charge[ ]+: ([0-9.]+)') rgx_ld = re.compile('Load[ ]+: ([0-9.]+)') rgx_vac = re.compile('Input voltage[ ]+: ([0-9.]+)') if len(sys.argv) == 2: tln = telnetlib.Telnet(sys.argv[...
[ "root@zabbix.interra.ru" ]
root@zabbix.interra.ru
3a5f62f6abb917dc1564d007536613a243d9b2b7
6e3dc22393206ffd334fe5510a11e7b914475ab9
/tp1 Funciones/ej1.py
72fd526e4e2fdcf03d442ee8ac2a33e8456ee0c0
[]
no_license
Rodrigo00909/pythonfacultad1
b9d3baf91818daf94bf7eb0a03f514e26a02953b
39af8d9e9f285c0ce338e49edd7d2e2380e60c49
refs/heads/main
2023-02-26T08:01:32.664894
2021-02-05T00:55:07
2021-02-05T00:55:07
332,917,011
0
0
null
null
null
null
UTF-8
Python
false
false
2,139
py
# 1. Desarrollar una función que reciba tres números positivos y devuelva el mayor de # los tres, sólo si éste es único (mayor estricto). En caso de no existir el mayor estricto devolver -1. # No utilizar operadores lógicos (and, or, not). Desarrollar también un programa para ingresar los tres valores, invocar a la ...
[ "noreply@github.com" ]
Rodrigo00909.noreply@github.com
26accc85bb295eeec34334972d717689820a06f2
1c822c0d49d7b67b0896c066958148a7b0731924
/Basic_Concepts_of_String_Manipulation/First_day!.py
d6cff37297cfcb07407b916cacdfdf68deaf9adc
[ "MIT" ]
permissive
RKiddle/python_reg_expressions
7e13a16475476c88543fde6dc55b53ec2fccbe37
9e89c1c59677ffa19a4c64a37e92bbea33fad88e
refs/heads/master
2020-06-23T00:34:07.027628
2019-10-27T14:51:32
2019-10-27T14:51:32
198,446,754
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
# Find characters in movie variable length_string = len(movie) # Convert to string to_string = str(length_string) # Predefined variable statement = "Number of characters in this review:" # Concatenate strings and print result print(statement + " " + to_string)
[ "noreply@github.com" ]
RKiddle.noreply@github.com
c10b64b68a73422fbdf6966007bc2b99cc7da702
633088a6c9f0248585b1e90d7857f57a76776906
/aspire-assembly-app.py
4d462da48dc35542cd63ba9b4105e0bb135aed5d
[ "Unlicense" ]
permissive
wmfgrey/assembly
12e351b846247a55fcea692fa8b9a04898252888
db72d2b09064447807ff37b678124e649ee704e2
refs/heads/master
2020-04-09T18:25:02.802949
2018-12-05T12:00:58
2018-12-05T12:00:58
160,511,488
0
0
null
null
null
null
UTF-8
Python
false
false
21,524
py
# Aspire Assembly Registration App # Will Grey # 23/11/2018 import base64 import sqlite3 from tkinter import * import datetime import hashlib import csv class Db(): def __init__(self): self.openDb() self.db.execute("""CREATE TABLE IF NOT EXISTS students ...
[ "noreply@github.com" ]
wmfgrey.noreply@github.com
7d1a9e35199da075a9e9b47dafc3b51e1f1c0ba8
2804432fba5a4fe639d07a207bb01f71e03d9189
/test/cts/tool/CTSConverter/src/nn/specs/V1_2/argmax_1.mod.py
6dc7430affa11a4f7cdba79b73c20f98a03f615b
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
intel/webml-polyfill
5685299e1b6d91a010c5e057685bf010d5646e4f
bd014955c5bcc9dc5465aea06721072f45ab4a75
refs/heads/master
2023-09-01T17:30:55.961667
2023-04-14T01:18:47
2023-04-14T01:18:47
126,892,425
168
75
Apache-2.0
2023-04-14T05:16:41
2018-03-26T21:31:32
Python
UTF-8
Python
false
false
1,025
py
# # Copyright (C) 2018 The Android Open Source Project # # 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 la...
[ "yanx.cui@intel.com" ]
yanx.cui@intel.com
ffb7f84314f3ce3965341cd0c04f5b5ec5d3771a
fe3e0d0a779ef7e4b4088dcb3ee56d89f669ac8d
/day03/pm/q5.py
9715cbda6cc7d2189c01b95690cfd91332e07b47
[]
no_license
sgmpy/quizzes
c6d389916ec5c75ae2dbf3de51a250352bdf9a8f
714b25969f79bb9744e1b4fb1fbe93d987e59f62
refs/heads/master
2020-04-12T07:07:47.710557
2018-12-20T14:42:10
2018-12-20T14:42:10
162,357,831
0
1
null
null
null
null
UTF-8
Python
false
false
382
py
''' 문제 5. 표준 입력으로 물품 가격 여러 개가 문자열 한 줄로 입력되고, 각 가격은 ;(세미콜론)으로 구분되어 있습니다. 입력된 가격을 높은 가격순으로 출력하는 프로그램을 만드세요. # 입력 예시: 300000;20000;10000 ''' prices = input('물품 가격을 입력하세요: ') # 아래에 코드를 작성해 주세요.
[ "no.water.in.the.house@gmail.com" ]
no.water.in.the.house@gmail.com
c2c5a3bd5bc7aa5c6d90f990321bbb6815626975
46d7bf2d5cfad08ef1301d3b3f54ddf07161df7d
/Jame.py
8020a30c227104ba8eaad48c373ef4c16ff7d026
[]
no_license
SanMuShen/Hobby
6c498cba0091d8c7b7e31b543791a3711bcb2a16
fe132108e4f593e87cf3f533adddd840e2a8de84
refs/heads/master
2020-03-30T00:46:09.771239
2018-09-27T03:53:17
2018-09-27T03:53:17
150,542,929
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
#!/usr/bin/python3 print('你好啊!带土')
[ "yaxu@tedu.cn" ]
yaxu@tedu.cn
206a46545ce7b3d6a02d574422bf55d6230e4d5b
657a0e7550540657f97ac3f7563054eb4da93651
/Boilermake2018/Lib/site-packages/twitter/__init__.py
c6e433f8e7a51315a4d2a247a08873855fb5ce5c
[ "LicenseRef-scancode-unknown-license-reference", "CC0-1.0" ]
permissive
TejPatel98/voice_your_professional_email
faf4d2c104e12be61184638913ebe298893c5b37
9cc48f7bcd6576a6962711755e5d5d485832128c
refs/heads/master
2022-10-15T03:48:27.767445
2019-04-03T16:56:55
2019-04-03T16:56:55
179,291,180
0
1
CC0-1.0
2022-10-09T13:00:52
2019-04-03T13:01:50
Python
UTF-8
Python
false
false
2,139
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2007-2018 The Python-Twitter Developers # # 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/LICE...
[ "tpa244@uky.edu" ]
tpa244@uky.edu
8de02a0c1735cdd7cd60394002e7404d4a42b5d8
c1291afe09bbee423442db59c5054023a8ec3fc9
/seqan/util/py_lib/seqan/auto_build.py
9d2a8936607b6440c2c1fcb8977ac149549b184b
[ "BSD-3-Clause" ]
permissive
xp3i4/linear
ae9e2053cf6021a37a8636c0ec93f75dd91faba8
10b5c152b6760b00ec948bdb7af1065c356f2b54
refs/heads/main
2023-04-15T03:56:42.432451
2023-01-15T03:43:22
2023-01-15T03:43:22
457,251,654
2
1
null
null
null
null
UTF-8
Python
false
false
24,743
py
#!/usr/bin/env python """ Automatic building of SeqAn apps and releases. """ from __future__ import print_function import subprocess import optparse import os.path import re import sys import shutil import tempfile # The git command to use. GIT_BINARY='git' # The CMake command to use. CMAKE_BINARY='cmake' # The def...
[ "cxpan@zedat.fu-berlin.de" ]
cxpan@zedat.fu-berlin.de
04967a4ffe67416e91dcdfacea1e59d437e7c886
28e7f0429e011a7be3da7fe2e1c5ee4cb0a5c4a9
/profilepage/migrations/0009_hearts.py
4e196d4d50dd5aeb05d8e8cc40a1ae160b7af8b9
[]
no_license
Code-Institute-Submissions/adam181189-FriendsDiscovery_JulyResub
ff0c60e2c1d24898895984f3e308635c5b04237b
c0f21e633d84e49047b00ce5a42e9fe8b57801f5
refs/heads/master
2023-06-20T03:34:13.537413
2021-07-17T21:17:25
2021-07-17T21:17:25
388,078,281
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
# Generated by Django 3.2.3 on 2021-05-22 21:03 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "adam181189@gmail.com" ]
adam181189@gmail.com
7f3bb8b0f3ee8e09d8543a0fad022eb658cbf932
002bc333a1cbd4c629037d4cc0162844a29e342d
/book1/ch06/stack.py
1a974f0deff0709865c9e38f1f0ee5f41c0dd5c1
[ "MIT" ]
permissive
dragancvetic/py_training
4c23a15e53852b2ce0eb48619757b1fe94648d67
f27fa021e630fa16882a0438e009a73e11d9515b
refs/heads/master
2016-08-05T11:06:21.816033
2015-08-23T20:57:57
2015-08-23T20:57:57
41,202,745
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
#!/usr/bin/env python ''' An example of using list as a text stack ''' stack=[] def pushit(): stack.append(raw_input('Enter new string: ').strip()) def popit(): if len(stack) == 0: print "There is nothing in stack" else: stack.pop() print 'Removed [', 'stack.pop()', ']' def views...
[ "dragan.m.cvetic@gmail.com" ]
dragan.m.cvetic@gmail.com
3eb870c63aff20c6821a235a064079297001494b
2289bc6c6307753839d128782d6feac16881b568
/svn/errors.py
56ae0b721705c81f719a70b9d372d872f28d82b2
[]
no_license
IARI/asp_grader
2fca4c6f7b55a483ee9e21f8759af241316e814c
35bd20b4f49dbe470be5952de4fc7e834828acca
refs/heads/master
2021-01-10T17:47:01.092880
2016-04-13T13:37:42
2016-04-13T13:37:42
55,492,782
0
0
null
null
null
null
UTF-8
Python
false
false
10,788
py
from enum import IntEnum import types class SVNError(ValueError): def __init__(self, message, returncode, cmd): super().__init__(message) self.message = message self.svn_errcode = None self.returncode = returncode self.cmd = cmd def __str__(self): return "Comma...
[ "jjarecki@mruecker-desktop" ]
jjarecki@mruecker-desktop
09dbe557b734959de714b524c4c6d01b5e629ece
40f68e2d7bf25fe6621a35f547f83fd003398c11
/MShop/views.py
eff3df95af950cce74a484274f89e0e0b4db7ad9
[]
no_license
DelaCerna-WebDev2/TasaShop
91fc5c8828ef88fe0a7d5be4f71a9da91d804e20
c3c30bdc11f85b071281b3658151647a4115b647
refs/heads/main
2023-05-09T08:39:01.236809
2021-06-04T00:44:28
2021-06-04T00:44:28
373,036,235
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
from django.shortcuts import render from .models import * def shop(request): products = Product.objects.all() cont = {'products': products} return render(request, 'shop.html', cont) def cart(request): if request.user.is_authenticated: customer = request.user.customer order, created = Order.objects.get_or_cre...
[ "sharalyn.delacerna@gsfe.tupcavite.edu.ph" ]
sharalyn.delacerna@gsfe.tupcavite.edu.ph
6a4675054e6b1622b80d37ae794ec9fbb98e9ef6
bdd2bbef297d6edd3d335c48ab89955925d331d5
/encyclopedia/urls.py
5f0ded8610846862e5b0f87a8029d45d825b1c9c
[]
no_license
michelle2014/CS50W-Wiki
424569bb1e2fd7c83fa7ff2a98c51821bcfc04fb
0301e48db06720b0419c5939816a9be345dff9b0
refs/heads/master
2023-07-28T05:05:42.512177
2021-09-05T05:33:06
2021-09-05T05:33:06
327,516,261
2
1
null
null
null
null
UTF-8
Python
false
false
312
py
from django.urls import path from . import views urlpatterns = [ path("", views.index, name="index"), path("create", views.create, name="create"), path("edit/<str:title>", views.edit, name="edit"), path("search", views.search, name="search"), path("<str:title>", views.entry, name="entry") ]
[ "michelle.transbetter@gmail.com" ]
michelle.transbetter@gmail.com
d3f0507bedcb7480314209d9473afa6749e406ff
e1f8bb28b022720445debea589c9cf091103a303
/doc/sphinxext/mock_gui_toolkits.py
097a3409b16793df0a2333fa9b2e06ab2289e15a
[]
no_license
demotu/matplotlib
e5a4e6c7047373b3ead918c40c97f93eb09c562d
1662e05278ecaea064b9149c4fcb15df9f337862
refs/heads/master
2021-01-22T00:06:39.310427
2018-06-12T20:38:12
2018-06-12T20:38:12
24,751,842
1
0
null
2018-06-12T20:38:13
2014-10-03T08:38:36
Python
UTF-8
Python
false
false
6,886
py
import sys from unittest.mock import MagicMock class MyCairoCffi(MagicMock): pass class MyPyQt4(MagicMock): class QtGui(object): # PyQt4.QtGui public classes. # Generated with # textwrap.fill([name for name in dir(PyQt4.QtGui) # if isinstance(getattr(PyQt4.QtGu...
[ "anntzer.lee@gmail.com" ]
anntzer.lee@gmail.com
f8550d69577aae249382d041cd32bcab3d3c55fb
b87dbd94e7ec70aab888dfeeb23bcfedc5bc22a8
/TCP/2/upload.py
914662f389e3af1cd2d122f2ed3a0e55c305c021
[]
no_license
CostSiwasit/305445-Network
105d93b5f8feb828ca7eb221c45b3e53555866dd
ac809c655b7cc269dbe736e00669e1ec4fab3ad3
refs/heads/master
2021-05-09T19:11:04.100812
2018-01-23T16:05:12
2018-01-23T16:05:12
118,633,296
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
import sys import socket import os TCP_IP = "127.0.0.1" TCP_PORT = 5007 FILE_NAME = 'IMG_001.jpg' print "TCP target IP:", TCP_IP print "TCP target port:", TCP_PORT print "Image:", FILE_NAME sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM) sock.bind((TCP_IP,TCP_PORT)) sock.listen(10) while 1: data,addr ...
[ "noreply@github.com" ]
CostSiwasit.noreply@github.com
80e3880492a040c298690f13180e5e63662152df
8be5db190392dc87ab24584b0a3518329320ac8a
/fid/utils/printing.py
52d7c24a2a6bb66ac8d592439d8545e4c9749234
[ "MIT" ]
permissive
jma100/SPADE_eval
6eccead21879bf5195e82d2dfb45ca79c2599de3
73ae45e79a7296651e9ea4091bffaf5b154d15ec
refs/heads/master
2020-09-25T23:31:00.828438
2019-12-05T17:53:40
2019-12-05T17:53:40
226,113,754
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
import torch # TODO: add zero padded int def format_str_one(v, float_prec=6): if isinstance(v, torch.Tensor) and v.numel() == 1: v = v.item() if isinstance(v, float): return ('{:.' + str(float_prec) + 'f}').format(v) return str(v) def format_str(*args, format_opts={}, **kwargs): ss =...
[ "jingweim@visiongpu22.csail.mit.edu" ]
jingweim@visiongpu22.csail.mit.edu
3763a13d4467d60994b0eaf0d4b6f867b09314da
7760d9cddd00041afa308c739fd3de23800c14c6
/urls.py
8a34fd657d1dc7da3b829174179b5a434ec7f866
[]
no_license
IanJames2/LogandReg_Python
01a9ebd3ad14c9237c37c8010f7523eb43d68b56
02fb6d520b173e5ff6af67ff520e7b5dfaeed0f4
refs/heads/main
2023-04-19T07:28:26.376232
2021-04-29T16:23:55
2021-04-29T16:23:55
362,627,131
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
from django.urls import path from . import views urlpatterns = [ path('', views.index), path('login', views.login), path('users', views.register), path('addmovie', views.movie_input), path('movie_added', views.added_movie), path('logout', views.logout) ] #dashboard = success
[ "noreply@github.com" ]
IanJames2.noreply@github.com
b8fe7ae8b85c3bcd71ac6f2dae28c73ba24a674b
d7016f69993570a1c55974582cda899ff70907ec
/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_04_01/aio/operations/_registries_operations.py
96c7dd2ba66633f991630f8e2ddcd4c222a39f8a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
10,664
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
4816cdf55b4591eae540be22cb3795910608a838
cf0ae24e1df5e38c0952d5b1eb73799df92b67dd
/user_group/urls.py
24ae4f995ba232e7ca465df886e4ca99411d0f56
[]
no_license
gunarevuri/User_Specific_Roles
8b3f7656261b9a577ba1feb25b6e887a0aa19586
b679fc2e481cf0204d8fe3447a83ec7bae6627ad
refs/heads/master
2022-11-30T15:27:30.847116
2020-08-16T14:21:15
2020-08-16T14:21:15
287,444,982
2
0
null
null
null
null
UTF-8
Python
false
false
2,675
py
from django.contrib import admin from django.urls import path from app import views from django.contrib.auth import views as auth_views from rest_framework_jwt.views import obtain_jwt_token, verify_jwt_token, refresh_jwt_token urlpatterns = [ path('admin/', admin.site.urls), path('', views.home, name='home'), pat...
[ "gunarevuri@gmail.com" ]
gunarevuri@gmail.com
5a28b6bebb2edcf6d7af16184dc4db6fd1d2ef8e
66e9207731dad5cefcf54ddad80607c269409d7b
/csv_creation1/new/csv_format.py
ddde3fdedbe59f1bc3791478426ecdef48bc1c69
[]
no_license
PawarKishori/Alignment1
2949df14734680264e0597c764086060e61ae704
d824957037b7a0c585d9751485e485e3b9f20679
refs/heads/master
2020-05-24T16:36:22.745901
2020-01-21T07:41:03
2020-01-21T07:41:03
187,359,528
0
0
null
null
null
null
UTF-8
Python
false
false
15,345
py
import csv import re log=open('file_missing_log','a') flag=0 flag4=0 flag5=0 flag6=0 flag7=0 flag8=0 flag9=0 flagg=0 flag10=0 flag11=0 flag12=0 flag13=0 try: f=open("word.dat",'r').readlines() n=len(f)-1 except: flag=1 log.write("E_id_word_dictionary.dat not found\n") try: f4=open("parser_alignmen...
[ "saumya@anu" ]
saumya@anu
d3a7e0ce6c8f1bf4acb2acb0c1a2ea60044ca6ad
b2d36c05e9eb5b7ea3ec4f4eba682703d536e137
/hclass.py
ce761b75ecc1affb275fb34928f1051fd01db5e2
[]
no_license
z-positive/drweb
52d72df835b3c5c9f376b53907c371990db99818
2506b2ae4aca1bd46cec9ee750225114d75ca4b4
refs/heads/master
2020-04-01T17:44:44.829721
2018-10-29T07:52:02
2018-10-29T07:52:02
153,447,845
0
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
class Handle: objects = {} def __init__(self, query): self.elements = query.split(' ') self.router(self.elements[0]) print(self.objects) def router(self, action): if action == 'SET': self.objects[self.elements[1]] = self.elements[2] ...
[ "noreply@github.com" ]
z-positive.noreply@github.com
22ee7ccbcbad29146f0ad48648691bdaa31a3adc
97db95833780dad8537a647a7ff90d0e2eeec686
/forcefields/alkanes/propane/TRAPPE2FESST_2.0.py
f4e1a6c1fc7b4a0f5bbf761a591f06571fb51549
[]
no_license
chr218/TRAPPE_ff_FEASST
3c21460f8f353bb0a72a2664d156b32c508ba7eb
afcf7717b11c62f61e39b8285b0ea3053ac215ec
refs/heads/main
2022-12-31T23:03:38.624039
2020-10-23T05:27:22
2020-10-23T05:27:22
305,815,123
0
0
null
null
null
null
UTF-8
Python
false
false
11,146
py
# -*- coding: utf-8 -*- """ Spyder Editor The purpose of this code is to convert the parameters taken from Siepmann's website (TRAPPE-UA) into FEASST readible input files. The input files are restrcited to rigid molecules. Author: Christopher Rzepa email: cvr5246@gmail.com """ import numpy as np import time import s...
[ "chr218@sol.cc.lehigh.edu" ]
chr218@sol.cc.lehigh.edu
a7a105f0306eb834baeef78f4a9c96a64ce5032b
3df5a2ff77403c077199853c0fa7afe49c290568
/python/smache/exceptions.py
bf0ce2c7caa4d87bf4aeae1138233f7fdab0a001
[]
no_license
bruce2008github/smache
d3370b494b411790e17088014c40347838aaf97b
be34b7370ef946a01293dd8e539bf976d25cf4f4
refs/heads/master
2021-01-18T21:00:07.097570
2011-01-03T16:59:47
2011-01-03T16:59:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
#!/usr/bin/env python class SmacheException(Exception): pass class ConfigException(SmacheException): pass class BackendException(SmacheException): pass
[ "amscanne@adin-ubuntu-dev.(none)" ]
amscanne@adin-ubuntu-dev.(none)
c7432b46e7815589e67b5f13126792906baa874b
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/optimized_659.py
2a149860964006fc23b9d40cde8de4ed76a7020a
[]
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
4,583
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
1633bb7068e1cd41998909fb9a5009c900e1c856
9bd7cb46c2628003d200e1865740f50f7ebdd538
/BuildWord.py
02d30f40613eeabcbf0fe41cd0f1a2bfc3a021f9
[]
no_license
ScoobyLuffyDoo/Hang-Man-Python
7c96861d552c116b1fc52cb30cff1469babe26fc
06491ccccb5226919c0d0a166ad2b3da5ef2b7c1
refs/heads/master
2023-07-27T01:00:41.002870
2021-09-06T12:37:22
2021-09-06T12:37:22
318,529,835
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
import requests import random import json # Retrives a random word form random word generator def get_randomWord(): url = "https://randomwordgenerator.com/json/words_ws.json" response = requests.request("GET",url) return_results = response.json() randomNumber= random.randint(1,3256) randomWord = r...
[ "jc.smal626@gmail.com" ]
jc.smal626@gmail.com
0f02c25f0dcf3729964ffb43624483cced191392
903e81d4f5c9a6067df4df987213478ed16f67f6
/Bike_Rental_System/BikeRental.py
ec33d4e7220dd8014455b40ec6150c2968e774cc
[]
no_license
imdadhaq/Oop-Bike-Rental-System
d873a8e3dc874f79939f89f51838648dab4b2494
3a85703524b54e011dec9219aaedda3a46a1e038
refs/heads/main
2023-07-08T22:38:53.096250
2021-08-09T15:41:13
2021-08-09T15:41:13
394,348,132
0
0
null
null
null
null
UTF-8
Python
false
false
4,204
py
import datetime class BikeRental: # initialize stock def __init__(self, stock=0): self.stock = stock # Display the Bikes are currently available def displaystock(self): print("We have Currently {} bikes avaiable to rent ".format(self.stock)) return self.stock # Rent bike ...
[ "imdadhaque2210@gmail.com" ]
imdadhaque2210@gmail.com
12d4cddcaf7218ea7fe7c363f8c5fb94f5bcd2e0
1688311b1287e9d38e27a44388f50568d9e07ea2
/blog/migrations/0007_auto_20190722_1243.py
8f8bf2ccf0851b2052ef4963725ead7c1d81589d
[]
no_license
Leeheejin1/teamprjt
e7e606b9411fde1b772f02ac27350304085a545a
8d3ab815b143597f6c2d4e912ef8a1549abb516d
refs/heads/master
2022-12-12T11:54:48.500322
2019-07-25T06:33:24
2019-07-25T06:33:24
198,760,424
0
0
null
2022-12-08T05:55:41
2019-07-25T05:00:13
JavaScript
UTF-8
Python
false
false
1,129
py
# Generated by Django 2.2 on 2019-07-22 03:43 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0006_auto_20190531_1715'), ] operations = [ migrations.AlterField( ...
[ "dlgmlwls3133@naver.com" ]
dlgmlwls3133@naver.com
27a2b8233ca588d5ce1b4954241ac87f2ee31b23
99e44f844d78de330391f2b17bbf2e293bf24b1b
/pytorch/tools/autograd/nested_dict.py
e1e09814199153aa94647c2246c983b2ba3ea303
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause", "MIT" ]
permissive
raghavnauhria/whatmt
be10d57bcd6134dd5714d0c4058abd56a1b35a13
c20483a437c82936cb0fb8080925e37b9c4bba87
refs/heads/master
2022-12-04T05:39:24.601698
2019-07-22T09:43:30
2019-07-22T09:43:30
193,026,689
0
1
MIT
2022-11-28T17:50:19
2019-06-21T03:48:20
C++
UTF-8
Python
false
false
581
py
# TODO: refactor nested_dict into common library with ATen class nested_dict(object): """ A nested dict is a dictionary with a parent. If key lookup fails, it recursively continues into the parent. Writes always happen to the top level dict. """ def __init__(self, base, parent): self....
[ "rnauhria@gmail.com" ]
rnauhria@gmail.com
1de610a31728f101b5dad9f241a84f4d1262e52b
66a262fe264882adfdd45c2e7507988f4b4f1954
/2019-INSomnihack-teaser/onewrite/onewrite.py
542e338c812fa4b11b4966f9f2f8cd5fd6f203e6
[]
no_license
Nepire/Pwn-Collection
1b5bfb6a5a6171da0ccae970caf16d39507d54b4
3a63710e66683c117918fc716079acdafd010010
refs/heads/master
2020-03-15T23:50:05.645571
2019-03-11T06:46:23
2019-03-11T06:46:23
132,401,669
0
0
null
2019-01-26T15:37:05
2018-05-07T03:22:03
Python
UTF-8
Python
false
false
5,436
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # Author = nepire # # Distributed under terms of the MIT license. from pwn import* context(os='linux',arch='amd64',log_level='debug') n = process('./onewrite') #n = remote('onewrite.teaser.insomnihack.ch',1337) elf = ELF('./onewrite') def leak_stack(): n.recvuntil('>'...
[ "3066574695@qq.com" ]
3066574695@qq.com
ceabc15d9478f8383faa3bce689875d157882138
56d3afdc5307ddaad2281d75ebeecf6ad499cf3a
/tic_tac_toe.py
501e6ec6e4b1685fea2de71408f0de0c2d10405e
[]
no_license
ianbrayoni/tictactoe
5cb64ee19b48cb7c901ae86accdc84ca527311ce
ed2563db15d7b791b7f0c32e87d1751a26030445
refs/heads/master
2022-12-10T07:51:59.910314
2020-01-28T18:25:17
2020-01-28T18:25:17
161,775,273
3
0
null
2022-12-08T03:30:57
2018-12-14T11:25:04
Python
UTF-8
Python
false
false
6,972
py
import random X = "x" O = "o" EMPTY = " " NUM_BOARD_POSITIONS = 9 WINNING_POSITIONS = ( (1, 2, 3), (4, 5, 6), (7, 8, 9), (1, 4, 7), (2, 5, 8), (3, 6, 9), (3, 5, 7), (1, 5, 9), ) def create_board(str_board): """ Convert string representation of the tictactoe board into a list ...
[ "ian.baraza@jumo.world" ]
ian.baraza@jumo.world
99286b2ac35687ea7459db1976eefff58c6ac283
3a3c7ab7d9cadfc5610888e07dbb9d6eaaf8aa01
/scripts/OpenFOAM/generateBodyOBJFile.py
b2dfdaab64702e895cf9fb115ccd64fdb7f598dc
[ "MIT" ]
permissive
cubayang/snake
7e430e8bcbf4acf99c007e5c1a646e0e6f45280c
f78844235f4d9b815b53a707f276dd634bce7a07
refs/heads/master
2021-01-17T20:24:27.359901
2016-08-18T00:34:18
2016-08-18T00:34:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,641
py
# file: generateBodyOBJFile.py # author: Olivier Mesnard (mesnardo@gwu.edu) # brief: Convert input coordinates file into a OBJ file. import os import argparse from snake.openfoam import OBJFile from snake import miscellaneous def parse_command_line(): """Parses the command-line.""" print('[info] parsing comman...
[ "mesnardo@gwu.edu" ]
mesnardo@gwu.edu
1e3d9cea7ebe335cd86c44fb107dd4becb2b36f5
34e07a5a711c52c4b0aabd353ec0bf06e93edfa7
/feature_importance.py
7a51ff2481d6fd8b081d410038b07c0c76613c0d
[]
no_license
Tools-Demo/PR_CodeSmells
bc769c2ea1b3de6c37da8990c4b65b8efd557255
81c8f1574fb66c44e8f68da652c2febb61e5fd48
refs/heads/main
2023-07-19T23:41:07.128083
2023-07-12T07:46:25
2023-07-12T07:46:25
390,305,788
0
1
null
null
null
null
UTF-8
Python
false
false
2,653
py
# Calculate Feature importance # random forest for feature importance on a classification problem import pandas as pd from sklearn.datasets import make_regression from sklearn.ensemble import RandomForestClassifier from matplotlib import pyplot import seaborn as sns import matplotlib.pyplot as plt df = pd.r...
[ "noreply@github.com" ]
Tools-Demo.noreply@github.com
46c542c9c5dd88deb06d9cc8b2a7920ee17809fd
08642798431f3dda1cf0529acb4435c9f38f3140
/tests/RunTest.py
10fb7c0152f524d5994ef0b3c873b5e8aca326b9
[ "MIT" ]
permissive
dsoon/pseudonaja
13bb11938d7c9483a42351624a802b97468190ca
2c94ba82efaae9bdf2b3f80d4f31b35b467c7d93
refs/heads/master
2023-08-26T18:27:58.365955
2021-10-20T12:29:32
2021-10-20T12:29:32
356,291,608
1
1
MIT
2021-10-20T11:27:33
2021-04-09T14:04:21
Python
UTF-8
Python
false
false
1,695
py
import sys, os sys.path += ['pseudonaja'] print(os.getcwd()) import pseudonaja.c.PInterpreter as pscint import json class RunTest: class Keyboard: def __init__(self, inputs): self.lines = inputs self.count = -1 def readline(self): self.count += 1 ...
[ "david.soon@outlook.com" ]
david.soon@outlook.com
b0e2004c44bed1e345528f2bcf3f3a675e16cb6e
ccbfc3dcc7fdd7b1cf245cadbc1b73f555ba1912
/.pybuilder/plugins/cpython-3.6.9.final.0/bin/flake8
85ae548865b7e6570e57b01064285b6ebd58e6ab
[]
no_license
dwalke22/cs3280Project5
028b4655b7d3433a018838052ac2bd34ad9665d1
b73187ad348afa6f8c3164a28e5b3caff2c8420b
refs/heads/master
2023-01-19T22:35:42.196076
2020-12-02T18:40:58
2020-12-02T18:40:58
316,641,730
0
0
null
null
null
null
UTF-8
Python
false
false
288
#!/home/dwalke22/Desktop/cs3280Project5/.pybuilder/plugins/cpython-3.6.9.final.0/bin/python3 # -*- coding: utf-8 -*- import re import sys from flake8.main.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "dwalke22@cs3280-vm10.uwg.westga.edu" ]
dwalke22@cs3280-vm10.uwg.westga.edu
5b9cb8a7ad424b8d939c86755a3ddeb0eb9efb65
209d360630262aaf2a8e600fe7efb6107fbba4f2
/python-app-basic/connect2redis.py
b5cc60a8f4c7c407ef43e3def7e4e9823acac2d4
[]
no_license
hemantdindi/redis-sentinel-docker-swarm
1f1bdc9797b56a4f9f777d6ffb677cd714cdfea2
bc7f5b9a5ebc9893223ead41770495b3c27e95f4
refs/heads/master
2022-10-21T20:21:10.736119
2020-06-13T12:46:53
2020-06-13T12:46:53
271,963,964
5
3
null
null
null
null
UTF-8
Python
false
false
503
py
from redis.sentinel import Sentinel import redis #sentinel = Sentinel([('node01', 26379),('node02',26379),('node03',26379)],password='F9HaeCD6df24nLpn',socket_timeout=0.5) sentinel = Sentinel([('redis-sentinel', 26379)],password='7cBEcwf6mV36Rx3S',socket_timeout=0.5) host, port = sentinel.discover_master('redis-cache')...
[ "hemantdindi@users.noreply.github.com" ]
hemantdindi@users.noreply.github.com
21b9c22f7f7d443ed421bf0db7af633c519aeda9
3849a67138f907e9336a2bfceda43057cb28e916
/utilities/manual_augmentation.py
d06b3640c64897a6712c6f77502e0fe7bf17448d
[]
no_license
wallacelibrary/OCR-Handwriting
ccb47bdc8f58e5f4514fb47831e76a5404d9c2e7
a02b9982c9db7fa3c193dec07d808762da4e1b74
refs/heads/master
2022-05-08T13:02:44.403883
2019-08-16T18:37:55
2019-08-16T18:37:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,684
py
# -*- coding: utf-8 -*- """ Created on Tue Jul 16 09:55:22 2019 @author: matth """ root_dir = r'C:\Users\matth\Documents\GitHub\OCR-Handwriting\bin\src\testing\convnet-smallset-ocr-test3\testing-data\original-sets' from scipy import ndarray import random import skimage as sk from skimage import transform from skimag...
[ "32942111+mattlm0831@users.noreply.github.com" ]
32942111+mattlm0831@users.noreply.github.com
4771d33f450e1a572a88312fad7e53a8ee9587d5
288710df36e1fc95f34a8b550ab7c26e59067af7
/Naming_Service_Project /server.py
e9b2be55068be83ec6d834e82be73c9564bfc808
[]
no_license
nadrane/LearnC
0b0f25cdf89f20292d402d60a785a51a6e06062f
9f0d67c0ee66111052d20e8e029307317c5891bc
refs/heads/master
2020-04-10T19:08:06.423197
2015-03-04T15:22:14
2015-03-04T15:22:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,566
py
import socket import threading import signal MAX_RECEIVE_LENGTH = 2048 class StoppableThread(threading.Thread): """Thread class with a stop() method. The thread itself has to check regularly for the stopped() condition.""" def __init__(self, *args, **kwargs): super(StoppableThread, self).__init__...
[ "nicholasdrane@gmail.com" ]
nicholasdrane@gmail.com
51a5de5a76db69817407b3251044c8d8f122a59f
264f392530710b287ac54f40ea805638c6348cc3
/scripts/run_tabular_bayes_dice.py
3326a3f91fd93e0b96222614b928658af9ee75ab
[ "Apache-2.0" ]
permissive
google-research/dice_rl
b26dd2231b0a664f11e0ede08d8209a4ace1cd2f
6551950608ad0472ddf6e8f4075f51793c9d2763
refs/heads/master
2023-08-06T21:35:15.690175
2023-01-30T19:26:12
2023-01-30T19:27:38
285,369,787
106
14
Apache-2.0
2023-01-30T19:27:44
2020-08-05T18:15:53
Python
UTF-8
Python
false
false
6,480
py
# Copyright 2020 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
191c02bf89080200ebe8e1069aea04fcdc50c317
0c9918f2e14ea5f63f6780ddcb24ae38fd98d1e7
/sha.py
aaa1d6155e4148af04137a197c272ddf99954b5f
[]
no_license
oguzpamuk/oguzpamuk.com
73889fc4b7439f83bab23b7604de4792fcf661f6
a99d1e862f89b9be850b6beb25bef50a9ce4a163
refs/heads/master
2020-05-23T08:05:23.585172
2016-11-12T13:02:08
2016-11-12T13:02:08
69,728,060
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' Author : Oguz Pamuk Date : 12.11.2016 ''' import hashlib def getSHA1ValueForString(plaintext): instance = hashlib.sha1() instance.update(plaintext) return instance.hexdigest() def getSHA224ValueForString(plaintext): instance = hashlib.sha224() instance.update(p...
[ "oguzcanpamuk@gmail.com" ]
oguzcanpamuk@gmail.com
9a30a5346928151a8854ade6050e0044f260903c
443ac26b4484b30512022ad3d11a1479e2a274c1
/lexer_rules.py
76d9e18bfa263517de30c5653b34e6ab66d791e8
[]
no_license
eduardpii/Lexer_Parser
5f98ae0a109828c96a50d4d4e519a5dae5f5d4f7
2eecb62f91a3ecdba5b742d897f4db9c288f38c8
refs/heads/master
2020-03-17T11:21:35.031988
2018-05-15T20:12:44
2018-05-15T20:12:44
133,548,506
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
import sys import re import ply.lex as lex tokens = ['NUMBER','PLUS','TIMES','LPAREN','RPAREN','MINUS','DIVIDE' ] t_ignore = ' \t\n' t_PLUS = r"\+" t_TIMES = r"\*" t_LPAREN = r"\(" t_RPAREN = r"\)" t_MINUS = r"-" t_DIVIDE = r"/" def t_NUMBER(token): r"[1-9][0-9]*" token.value = int(token.value) return t...
[ "noreply@github.com" ]
eduardpii.noreply@github.com
dec104f1556217e5f8b811392f81bac47904cebd
1ffdf1e2a3a32bf617d9f11d27c9eac129161b19
/Dataset_second.py
acea8db9cc5c0114d92e4286a7c0c9beceb1ec44
[]
no_license
cjj1234/Document_layout_analysis
8f7d27fc3a8d82d78c4cfd9abcd162fd5ee97e3a
a35231516bc17e047c670a0ba514a0bb02ac43d8
refs/heads/master
2021-01-08T20:03:43.582642
2020-02-16T09:50:16
2020-02-16T09:50:16
242,129,323
1
0
null
2020-02-21T12:01:06
2020-02-21T12:01:05
null
UTF-8
Python
false
false
3,544
py
import os import cv2 import numpy as np from augmentation import Augmentation from torch.utils.data import Dataset class ModelDataset(Dataset): def __init__(self, base_path='./Data', train=True): super(ModelDataset, self).__init__() # parameters # TODO add config file self.BLUR = 0...
[ "jameslimers@gmail.com" ]
jameslimers@gmail.com
dfabe356284d91b7abe48701e4cb31e026728bd1
e8d719fe45dfbff9cbbc4ed872832cec6cabaca6
/307_Range_Sum_Query_Mutable_TLE.py
09a96706fa016fe861dd7404e808a7fa4a7d89a3
[]
no_license
nlfox/leetcode
64f4f48d7f4be6df0542e51cc7037df40bf184a3
d61363f99de3d591ebc8cd94f62544a31a026d55
refs/heads/master
2020-12-21T01:43:01.792899
2016-11-14T23:10:12
2016-11-14T23:10:12
56,680,839
2
0
null
2016-05-17T17:16:37
2016-04-20T11:19:58
Python
UTF-8
Python
false
false
1,088
py
class NumArray(object): def __init__(self, nums): """ initialize your data structure here. :type nums: List[int] """ self.nums = nums self.len = len(nums) self.d = [] last = 0 for i in nums: self.d.append(last) last += i...
[ "nlfox@msn.cn" ]
nlfox@msn.cn
a412224fa7b20001afa3b1a7ae02d7fa57aef086
64cd387bd26410d072571d579ff3791e8729e8ef
/modeling/attention.py
71d12c40f14544d8f03e214d51fa04b65bd512bb
[ "Apache-2.0" ]
permissive
xdeng7/scale-aware_da
41f064022f61a47bb31c20b511886318803765ac
c69066524b4d234441081d587d0afc45fa2f585d
refs/heads/main
2023-03-11T19:24:29.304387
2021-03-04T01:53:43
2021-03-04T01:53:43
311,015,579
18
2
null
null
null
null
UTF-8
Python
false
false
3,059
py
from torch import nn import torch class CALayer(nn.Module): def __init__(self, channel, reduction=16): super(CALayer, self).__init__() self.avg_pool = nn.AdaptiveAvgPool2d(1) self.conv_du = nn.Sequential( nn.Conv2d(channel, channel // reduction,1, bias=False), nn.Re...
[ "noreply@github.com" ]
xdeng7.noreply@github.com
6a589c3f2246fe20b2c1aa3620a55f667b64a3d0
6d57d900dd04fbc8bc06da1570b91bf110d2b46a
/coins.py
b5c9765e9cd35e410a720eac2bc19e54b2849753
[]
no_license
seilcho7/week_1-python
3644d25bc3921ad6e5a545e991df5edef3811030
71f620c00d09a975c3f5a3f53a56327b30ed64ea
refs/heads/master
2020-04-24T00:37:09.136987
2019-02-20T00:15:25
2019-02-20T00:15:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
coins = 0 no_stop = True while no_stop: print("You have %d coins." % (coins)) ask_coins = input("Do you want another? ") if ask_coins == "yes": coins = coins + 1 elif ask_coins =="no": print("Bye") stop = False
[ "seilcho7@hotmail.com" ]
seilcho7@hotmail.com
df2805ded0f8ca965205b075e6a84753cff47e12
b2fb3c44c67eb61c41465996c24c094071c457cc
/LeetCode/print_words_vertically.py
3027e23f1272d85cbab87a94fe941c5d21586733
[]
no_license
zelzhan/Challenges-and-contests
8edd3a2f07a0538903dc885c86e15f02783821c5
e7df9b37ad1130d37f3efbf0114d06b6f3b4a4f1
refs/heads/master
2022-12-28T23:16:30.807040
2020-10-13T10:09:22
2020-10-13T10:09:22
118,697,222
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
from collections import defaultdict class Solution: def printVertically(self, s: str) -> List[str]: s = s.split(" ") hashtable = defaultdict(int) for i, string in enumerate(s): hashtable[i] = len(string) max_length = max(hashtable.values()) ...
[ "noreply@github.com" ]
zelzhan.noreply@github.com
6176d91067bf9468cfb74bf2abd4928f761a1d47
b635e833bd8078b567551c9df97012860ef23c4a
/src/boxplots.py
ea095fd4766f7b3097f621015dbf0e455954c544
[]
no_license
pebonte/AAindex
f94a58c8dc2dfff3d67e8a428f67c32e69571aa8
8aaed01f73f63dab49ae99a5f5a2a02fb0cf5729
refs/heads/master
2020-04-15T05:09:30.108528
2019-01-11T08:54:01
2019-01-11T08:54:01
164,410,963
0
0
null
null
null
null
UTF-8
Python
false
false
2,778
py
#! /usr/bin/env python3 import glob from aaindex_processing import (retrieve_values_aaindex, retrieve_loop_data, make_dataframe_from_aaindex_data, make_aaindex_boxplots_by_family) ''' Script that create boxplots and produc...
[ "pierreemmanuel.bonte@gmail.com" ]
pierreemmanuel.bonte@gmail.com
6e35f494ebe7c070ad17b73bbe9ec7029e8c0f99
2a2d5458160bbec34bb1be7c53dde620d293d818
/cheb.py
16bb696a1ba5e9e9e3fb947666bd05bcc8764fb1
[]
no_license
dowoncha/Mathematics
bf4eeb490e77e53f70abc2671524aefbbf7a9a60
948e1f5e8cbe76f564e35ea1dc34b665d6bf5208
refs/heads/master
2020-06-20T11:47:03.158869
2016-11-27T19:36:37
2016-11-27T19:36:37
74,867,268
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
from numpy import polynomial as P if __name__ == "__main__": p = P.Polynomial([1, -1.0/2, -1.0/8, -3.0/24, -15.0/384, -165.0/3840]) print p c = p.convert(kind=P.Chebyshev) print c print c.basis(3)
[ "dowoncha@live.unc.edu" ]
dowoncha@live.unc.edu
27be5fc47a6b530183918059c4a5da41219fe0ae
fb382bb253b1d3ef50009421d2fe266824d10a84
/peach/handlers/flask/api.py
c981210b320d105119d7df9d5cd12d61661200e5
[ "MIT" ]
permissive
craigpmc/peach
e29f260fa03cf35214f5a7347846e25958c72d54
503a0b00ed1562e8d619c5c6f4ca5be6c1d17339
refs/heads/master
2020-03-26T06:56:12.993223
2017-05-13T23:01:54
2017-05-13T23:01:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,762
py
import flask_restful from flask import Blueprint, jsonify, make_response from peach.rest.base_api import ApiFactory, ApiException class FlaskApiFactory(ApiFactory): def _build_api(self, app, api_def): api_blueprint = Blueprint(api_def.name, api_def.name, url_prefix=api_def.prefix) api_blueprint.c...
[ "seba@localhost.localdomain" ]
seba@localhost.localdomain
820aed6c6cda925ce81e6dcae90fc907ee2f0393
905d9f4b94a1b198b29cfd7f347a847471ef92b1
/core/authentication.py
c95893727c638455d2864f7e48b3e0f41b38252a
[]
no_license
prixite/backend-template
8addd6d38c2ecce92aaf8225c75e1eab00c802eb
ca0676eae35c507a6b51abeff04fc2bf430bccde
refs/heads/master
2023-06-11T03:08:55.462576
2021-07-03T09:07:36
2021-07-03T09:07:36
379,807,726
4
0
null
null
null
null
UTF-8
Python
false
false
130
py
from rest_framework import authentication class TokenAuthentication(authentication.TokenAuthentication): keyword = 'Bearer'
[ "umair.waheed@gmail.com" ]
umair.waheed@gmail.com
77c7c60572f8a72ca13834fc8673b3b32542bf3a
1347c41e3957ce7c9c1d10b25f0fd20a3e450b36
/labs/ex03/template/costs.py
14a3696f00ecc9c86c42a022aaa204b6b578ff7d
[]
no_license
hmoreau94/ML_course
a8f93e95c2ba0234a5ed5825c4e45038b548ada8
ced2268f571f8f1481a9353902b20f54f311aaa7
refs/heads/master
2021-01-11T06:21:03.044575
2016-10-12T13:38:07
2016-10-12T13:38:07
70,158,204
0
0
null
2016-10-06T13:47:43
2016-10-06T13:47:41
Jupyter Notebook
UTF-8
Python
false
false
494
py
# -*- coding: utf-8 -*- """a function used to compute the cost.""" import numpy as np def compute_cost_mae(y, tx, w): """calculate the cost. you can calculate the cost by mae. """ e = np.absolute(y - np.dot(tx,w)) toReturn = (np.sum(e) / y.shape[0]) return toReturn def compute_cost_mse(y, tx...
[ "moreauhugo@me.com" ]
moreauhugo@me.com
7e1eb1cb818f46327bce95c194898ef7c0b8d4ae
adfc039a4fa6550068b659db2169995b23b88ffa
/staticJsonRead1.py
cd860a781fa914d006a1fe290d4facff538ebb71
[]
no_license
nitinawathare/EVDExperimentSetup
b1928bc4a740618503830cff153c6853e802a41f
cd7289ba75a5bdc25c46d89203ed7bb314ac3b50
refs/heads/master
2022-05-12T18:26:08.991695
2019-11-14T07:40:30
2019-11-14T07:40:30
186,911,557
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
import json, ast from pprint import pprint with open('/home/ubuntu/gitRepoEVD/.ethereum1/static-nodes.json') as fopen: data = json.load(fopen) print(data[0])
[ "nitinawathare14@gmail.com" ]
nitinawathare14@gmail.com
20defbd45e630ebdc24a72142a0151dac547f4f5
df97a91911f59afea36aef2269e5842b2fedd170
/fabfile.py
4f2c0c5198d5ab4b254fa84df26c0ff71f532881
[]
no_license
TheLens/demolitions
9944003abdbadaacce9b5310a65f44b7054a070c
fc1fffc9ea61205b008eb4f04f8d9699aaf1ef27
refs/heads/master
2021-01-16T22:28:46.106695
2015-09-04T16:34:14
2015-09-04T16:34:14
39,971,839
2
0
null
null
null
null
UTF-8
Python
true
false
6,406
py
# -*- coding: utf-8 -*- ''' Methods for deploying to S3. ''' from fabric.api import local from scripts import PROJECT_DIR def minify(): '''Minify static assets.''' minify_js() minify_css() def minify_js(): '''Minify JS files.''' js_dir = '%s/demolitions/static/js' % PROJECT_DIR local( ...
[ "thomasjthoren@gmail.com" ]
thomasjthoren@gmail.com
585d43a1a1ba55b36a4a4fb310dc1ec619374015
884b78b9bdc19200cae87e532fa6458a92def273
/tk_test.py
a352191428c86b270ef587da27db1795e78280cc
[]
no_license
andermic/cousins
78bd68bf630c003ab21dfb110b3684615fbc0489
980f5a3ac50bb3f4847c1d02e5f74c97f9f8c5eb
refs/heads/master
2016-09-16T15:57:18.053704
2015-01-19T15:26:55
2015-01-19T15:26:55
7,281,208
1
0
null
null
null
null
UTF-8
Python
false
false
655
py
#! /usr/bin/python from Tkinter import * class MyApp: def __init__(self, parent): self.parent = parent self.f1 = Frame(parent) self.f1.pack() self.b1 = Button(self.f1, text='click', bg='blue') self.b1.pack(side=LEFT) self.b1.bind('<Button-1>', self.b1_left_click) self.b1.bind('<Return>', self.b1_left_...
[ "ptolemy777@gmail.com" ]
ptolemy777@gmail.com
3a36a2d2375d06055ac1d8512208165b78fe37aa
3e52ad548b7138b3d83310a5375cc8a3c5886580
/AI-ML/Supervised/ANN/Classification/artificial_neural_network.py
af13fae9193126525f062251d9509be5d3717d28
[]
no_license
alexal9/AI-ML
8ccdd05daac9c465ad7c2cdf35939d33266cdd1e
ce43619702ac6af95378eaaafb555405aba9452f
refs/heads/master
2022-11-23T02:35:44.335615
2020-07-28T08:39:57
2020-07-28T08:39:57
283,151,355
0
0
null
null
null
null
UTF-8
Python
false
false
4,057
py
# Artificial Neural Network # Importing the libraries import numpy as np import pandas as pd import tensorflow as tf print(tf.__version__) # Part 1 - Data Preprocessing # Importing the dataset dataset = pd.read_csv('Churn_Modelling.csv') X = dataset.iloc[:, 3:-1].values y = dataset.iloc[:, -1].values print(X) print(...
[ "noreply@github.com" ]
alexal9.noreply@github.com
36052de6dd45ad86930ea87779a2ffd46de82b96
28a78bf095125a1202842225c2d7512079017a02
/argorithm/2884_re.py
35e05cb9fef74bc98182ae9affe95a92feff041a
[]
no_license
sunyeongchoi/sydsyd_challenge
d322451a82c63b05097d44ee3b9fc4492645e204
93dd250e96b91f50215a61a3b5913a523f074445
refs/heads/master
2023-05-25T00:57:58.651494
2023-05-18T01:43:00
2023-05-18T01:43:00
293,253,085
2
0
null
null
null
null
UTF-8
Python
false
false
126
py
H, M = map(int, input().split()) if M >= 45: print(H, M-45) else: if H == 0: H = 24 print(H-1, (60+M)-45)
[ "sn0716@naver.com" ]
sn0716@naver.com
f9d41e644050b1e8ccffbcfc55ed36679fc061d4
54e406e685c0f78d1cd8d88a0107428729296d1c
/Who装配/member_test.py
5aa320b6fb8246f9eecdda8d60d5f140151d5ccb
[]
no_license
Kate-Lin/who_is_who
9ce656fae6910854cad69533669c41e658c530d5
420901819197ee18879d025fa07d8bb9c1e676df
refs/heads/master
2020-09-24T01:40:20.379241
2019-12-08T09:06:25
2019-12-08T09:06:25
225,631,851
0
0
null
null
null
null
UTF-8
Python
false
false
3,030
py
#! /usr/bin/env python #coded by Lin Shen, 20190513 ######################################### #import modules needed import os import rospy from geometry_msgs.msg import PoseStamped from std_msgs.msg import String,Int16 import tf import tf2_ros from sound_play.libsoundplay import SoundClient import sys import freenect...
[ "oncwnuLedn4TbGotWjICLQETNKDk@git.weixin.qq.com" ]
oncwnuLedn4TbGotWjICLQETNKDk@git.weixin.qq.com
6f6e441bbde59763d7fe65221a6f86714e769020
2082cd57fa2325a508af5f10bd00e8eca059bc09
/src/geometry/manifolds/translation_algebra.py
67b1958cc3594e112a9cdeb471c3976addf27f7f
[]
no_license
efernandez/geometry
98e5894a83acaa32eefb2187374d4c34801a5600
ec7fa1308224f3d156c54495bc4b05ce47a41004
refs/heads/master
2021-01-18T16:51:13.964917
2014-11-04T14:03:59
2014-11-04T14:03:59
36,390,891
0
1
null
2015-05-27T19:35:14
2015-05-27T19:35:14
null
UTF-8
Python
false
false
1,237
py
from . import MatrixLieAlgebra from .. import extract_pieces, combine_pieces from contracts import contract import numpy as np class tran(MatrixLieAlgebra): ''' lie algebra for translation ''' @contract(n="1|2|3") def __init__(self, n): MatrixLieAlgebra.__init__(self, n + 1, di...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
0d31c01c1720c23342929252c36a87159a44e0d6
ddc619da476d90bb0099a556114eedb1f93379e2
/dateandtime.py
509bf529027a9558e128ddafb35b2965f1da28d2
[]
no_license
akshunive/My-sanddunes
a54a8a288262a8b2cc5d762cadca79160f949305
9f9f6734fdb99b46e10925682b8dc76b70627b01
refs/heads/master
2021-01-20T18:19:58.768886
2016-08-07T14:09:20
2016-08-07T14:09:20
65,136,033
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
#to print the date and time of the system now import datetime print datetime.datetime.now()
[ "noreply@github.com" ]
akshunive.noreply@github.com
39206d2358730cbaaafc66c76aafc84382af746a
6a62bd2c79536d7392fc49d0e8bda279aef512b2
/conditionals/cond3.py
67ff55bdd4dc20daeb2b3401764e18b9d6e70b05
[]
no_license
codecachet/examples
7df7257627ff831ec3cac19f1fabd03c2b66933d
5bd697307144f38b03abd7ffa350f11b5e79f102
refs/heads/master
2020-04-13T13:17:24.074184
2019-04-28T22:08:20
2019-04-28T22:08:20
163,225,625
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
def loop1(max): n = 0 x = 0 while n <= max: x += n n += 1 return x def addthem(): max = 6 n = loop1(max) print(f'result={n}') addthem()
[ "david@codecachet.org" ]
david@codecachet.org
aa8118a8fbf2bd888e4917357eff53df4984fcfb
e5ce97f343b2617cce0396ebcfa3b9af70601393
/lale/search/search_space.py
dd7406b30be41bbe8bb4af33119a2a8df40b3eed
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kant/lale
c29f4be10ac7e36e0342b67cae26368381f0a3a1
972b4284775f1c2dfa8d1692381fdb0ddd1cfafe
refs/heads/master
2020-07-01T09:46:53.848785
2019-08-07T16:30:56
2019-08-07T16:30:56
201,133,071
0
0
Apache-2.0
2019-08-07T21:51:57
2019-08-07T21:51:57
null
UTF-8
Python
false
false
4,657
py
# Copyright 2019 IBM 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 required by applicable law or agreed to in writing, ...
[ "kakate@us.ibm.com" ]
kakate@us.ibm.com
22425d8ae6d33997675bb88ca7f2f42436dcf5c9
071ccc8d8eeb9983824d61c740c5476c59dbdc88
/app.py
e15da6bf3a4e9937978f75220e7051cc27fbe63d
[]
no_license
dewizdumb/SQLAlchemy
d2aaa0c617f95264acc23b3ea152b0cb6a62d194
8075fb8ef9ed8ccbd4a8cb7735477ac577f55254
refs/heads/master
2020-07-22T03:08:02.736484
2019-09-29T07:07:42
2019-09-29T07:07:42
207,056,497
0
0
null
null
null
null
UTF-8
Python
false
false
4,613
py
from flask import Flask , jsonify import sqlalchemy from sqlalchemy import create_engine, func from sqlalchemy.orm import Session from sqlalchemy.ext.automap import automap_base import datetime as dt from sqlalchemy.orm import scoped_session, sessionmaker ############################################# # Database Setup ...
[ "dewizdumb@gmail.com" ]
dewizdumb@gmail.com
2cd95fd2f36e95c2f5317974b9ce2f58a79cf559
3f44f32ad6cd51076f32fe7b6c7c06c06c0b4219
/delete_all_runway_containers.py
9749bb06e68af4e6d3ced3bee076bc8407451a2e
[ "Apache-2.0" ]
permissive
matthewoliver/runway
b2316ea4e2fd4454b15a44da355bbd141b5b8853
e675a36f3156d24268cae196b97c3a6a4a54c355
refs/heads/master
2020-04-06T04:04:10.392226
2017-02-26T02:04:19
2017-02-26T02:04:19
83,061,068
0
0
null
2017-02-24T16:28:48
2017-02-24T16:28:48
null
UTF-8
Python
false
false
2,231
py
#!/usr/bin/env python3 # do lxc list --format=json swift-runway # ...and delete them # while it would be cool if this worked, it doesn't and the docs are bad # https://linuxcontainers.org/lxc/documentation/#python # import lxc # for defined in (True, False): # for active in (True, False): # x = lxc.list_...
[ "me@not.mn" ]
me@not.mn
be9add49d0aeacb6d7afb2c253e3af21d0d744e8
4b0abab9cccec5789c9f5453c542a8567d448459
/main.py
aac3ce2162ca9a2cc9cd57d8746ab8afb35878fe
[]
no_license
aastha2008/Aastha-test-1
9a88f801b220704b837f945af8038e6a24b9a05a
28b4601ae016122f7bafbe564294ab11094b2fc9
refs/heads/master
2023-02-22T14:05:30.394348
2021-01-14T23:47:35
2021-01-14T23:47:35
329,761,917
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
print("hello world") x=20 y=5 m=x+y print(m)
[ "109658@eesd.org" ]
109658@eesd.org
546e8f3fe2ac890b2ad0e6c2249cd2e0ec0a27ed
c4c20c4c7653da52249dac4d9ced3ffcbcb2c299
/aidooit_access_point/migrations/0002_aidooitaccesspoint_address.py
2969a68765ae5b7b7748cbc2949a9d5d57913c8e
[]
no_license
rejamen/aidooit
4ebccdba65b07da29f13273c474dd45ddd78968d
31361307b70175d4e00ef4f7bbbb320ab7779551
refs/heads/master
2022-05-02T09:25:14.812540
2019-09-09T10:34:30
2019-09-09T10:34:30
191,284,990
1
0
null
null
null
null
UTF-8
Python
false
false
448
py
# Generated by Django 2.2.4 on 2019-09-08 03:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('aidooit_access_point', '0001_initial'), ] operations = [ migrations.AddField( model_name='aidooitaccesspoint', name=...
[ "rejamen@gmail.com" ]
rejamen@gmail.com