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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c06b62f0d63e1d04242598918306df367ec92d5a | 77f00f129308b82138c517e928380fc65e547bcb | /2018/06/part_2.py | 7af107221e7e71cd2a7cac8f9c73655723cf47ef | [] | no_license | Hall-Erik/AdventOfCode | 99075a9d46dedb244bf6ac2c026a3f9e3d0e1fba | 0629cf336dd06bea1ce11802d873abe1f299873c | refs/heads/master | 2023-03-10T17:13:31.027794 | 2022-12-26T18:38:15 | 2022-12-26T18:38:15 | 161,951,303 | 0 | 0 | null | 2023-03-05T16:42:49 | 2018-12-15T23:15:31 | Python | UTF-8 | Python | false | false | 1,827 | py | from typing import List
points = []
with open('input.txt', 'r') as f:
for line in f:
l = line.strip()
x, y = l.split(', ')
p = [int(x), int(y)]
points.append(p)
def get_distance(a: List[int], b: List[int]) -> int:
'''
Returns Manhattan distance of two points
'... | [
"hall.erik@gmail.com"
] | hall.erik@gmail.com |
388481b96e51f53bceedf30b12831cfa1f6d8933 | 901944f407f4a06a4c4027d6139ce21165976857 | /Protein_Structure_Prediction/protein_model_code4/parallel_main_experts.py | 92c9d5584bf76b139b96c7dfdc12e964b701b4d1 | [] | no_license | chriscremer/Other_Code | a406da1d567d63bf6ef9fd5fbf0a8f177bc60b05 | 7b394fa87523803b3f4536b316df76cc44f8846e | refs/heads/master | 2021-01-17T02:34:56.215047 | 2020-05-26T13:59:05 | 2020-05-26T13:59:05 | 34,680,279 | 7 | 4 | null | null | null | null | UTF-8 | Python | false | false | 2,317 | py |
import numpy as np
import os
import numpy as np
import tensorflow as tf
import math
import random
import pickle
import json
import phase_1_model
import protein_model_tools
from multiprocessing import Pool
import sys
from os.path import expanduser
home = expanduser("~")
#RASH
L = 166
msa_file = home + '/Documents... | [
"chris@Chriss-MacBook-Pro.local"
] | chris@Chriss-MacBook-Pro.local |
b1750df738bd79655826274525af9f0cbd580b45 | 5d5f6ba3bdcb52b4750a5f28afa8a1a1019bfc9e | /django/django_fundamentals/ninjaGoldProject/ninjaGoldProject/asgi.py | 29329a1fddfdd54f07df4fe1c89e6ab2052e0ee5 | [] | no_license | eDiazGtz/pythonLearning | 06e96f2f5a6e48ac314cb815cf9fbf65d0b7c2c8 | 57d7b2292cf5d9769cce9adf765962c3c0930d6c | refs/heads/master | 2023-06-18T02:16:09.293375 | 2021-05-03T18:09:52 | 2021-05-03T18:09:52 | 335,090,531 | 0 | 0 | null | 2021-05-03T18:09:53 | 2021-02-01T21:35:24 | Python | UTF-8 | Python | false | false | 409 | py | """
ASGI config for ninjaGoldProject project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJA... | [
"ediaz-gutierrez@hotmail.com"
] | ediaz-gutierrez@hotmail.com |
1626409a1035bc63d593bd9f20bc111b2d957b18 | 0e51d1be69b26a4bc2020db597b187b8b4784614 | /03. Inheritance/03. project/knight.py | 9793052c11a77fb1b7bfe8461711866ab89706ee | [] | no_license | dplamen/04_Python_OOP | 81dbc21095ca776d9ce034dbe9959ca4903c8d82 | cb0880a70c903e252958587d7051527527f57af4 | refs/heads/main | 2023-09-03T03:15:28.313039 | 2021-11-13T16:51:27 | 2021-11-13T16:51:27 | 427,719,779 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 122 | py | from project import Hero
class Knight(Hero):
def __init__(self, name, level):
super().__init__(name, level) | [
"plamenkostov@gmail.com"
] | plamenkostov@gmail.com |
814d38ad04c862e9ade6a62c9e8d11c619b2b54d | 294bb6e4a439bceb3937ea1abd781389a4d7ae00 | /clock_sync_ds/code/bloom_clock_4.py | 143da17400ff6119486ac7813de44f819d162aaa | [] | no_license | rupeshkmr/Bloom-Clock | b282d966bcb62f8e839dbb97ae8fa3ec06f7f0a8 | 0928ed1d53000f68b7e54ec58144936aa51eef23 | refs/heads/master | 2022-12-02T20:27:51.297471 | 2020-08-16T09:31:32 | 2020-08-16T09:31:32 | 272,669,651 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,456 | py | # referenced from https://towardsdatascience.com/understanding-lamport-timestamps-with-pythons-multiprocessing-library-12a6427881c6
from multiprocessing import Process,Pipe,Manager
from os import getpid
from datetime import datetime
from bloom_filter import BloomFilter
from hasse import Hasse
import json
import csv
n =... | [
"rupeshkmr955@gmail.com"
] | rupeshkmr955@gmail.com |
8d3073bcfd4fbf7022fdc56c8e182030feed1fb7 | de674c103f1dd184d97f56493c62ef50973c655e | /Exercise4_Phasit_P.py | 1de7ed289c50fe0d10b69861f80640bcb2cf8da3 | [] | no_license | FlorkforGithub/CP3-Phasit-Supharojdilok | 64f2e0c37ffa2e7dcd453861d94777180c43792d | ab61702501009d0dc24276fac906de0438734065 | refs/heads/main | 2023-02-08T02:08:46.788335 | 2021-01-01T16:23:29 | 2021-01-01T16:23:29 | 325,516,442 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 588 | py | ''' เก็บข้อมูลคะแนนสอน 4 วิชา ของนักศึกษา '''
''' รายวิชาทั้ง4 '''
Fe = " Subject : Foundation English"
Gb = " Subject : General Bussiness"
Cs = " Subject : Introduction to Computer System"
Cp = " Subject : Computer Programming"
'''s = student'''
s_Fe= Fe+':'+ " 10 point = A Grade"
s_Gb= Gb+':'+ " 5 point = B Gr... | [
"Florkphasit@hotmail.com"
] | Florkphasit@hotmail.com |
8d220ca7329f6275ed998c629538a17f89c22dff | 94c9ce58200f255920e4006deda65cc6ddb24575 | /RESUMEWEBSITE/settings.py | 0332874cf16048f75a9810deaa1b55b7f577bf9a | [] | no_license | puja81198/ResumeWebsite | 3e5ff1cfb3d4b328a0f12125879d8d883db753ef | 9a31c323a34144dcfbebff52550448ba36584082 | refs/heads/master | 2023-06-03T23:31:36.010731 | 2021-06-20T09:00:49 | 2021-06-20T09:00:49 | 378,599,977 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,264 | py | """
Django settings for RESUMEWEBSITE project.
Generated by 'django-admin startproject' using Django 3.1.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
import os... | [
"p81198@gmail.com"
] | p81198@gmail.com |
cc20e260af9a3ff85b8c39ca5df665f100fa4eff | beeee5695deeb3b21eefcf44b31558746e9bc575 | /build/segmentation/catkin_generated/pkg.develspace.context.pc.py | 627464c637c630f50e4462711b39aa275d67e041 | [] | no_license | mannylazalde/EECS106A | 47db0728a02db498e77184010f1b59983c5a98a2 | 0ac0de951bdba56eb8634711448677b7c8a73114 | refs/heads/master | 2020-09-13T11:48:36.878212 | 2019-12-21T07:03:57 | 2019-12-21T07:03:57 | 222,768,305 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 412 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "segmentation"
PROJECT_SPACE_DIR = "/h... | [
"mannylazalde@berkeley.edu"
] | mannylazalde@berkeley.edu |
f098e7c71f2213558005887d417d8f3e749e4ed3 | 2238d81eb5a8f1b6d8a0364319533b0b58f5b019 | /youtube/views.py | 2c5ec119f11e6f20dd6885f656e2ac57b1e4d895 | [] | no_license | gar-den/py_web_ver1 | 9e14aefbf3362ec3c0b1f36de1ebd605b0325442 | 7408180ccbdf22b689cb5325a87b5e13e799964a | refs/heads/master | 2022-12-30T14:51:26.137041 | 2020-10-24T01:42:09 | 2020-10-24T01:42:09 | 287,203,270 | 0 | 0 | null | 2020-08-14T08:37:19 | 2020-08-13T06:48:53 | Python | UTF-8 | Python | false | false | 185 | py | from django.shortcuts import render
from django.views.generic import ListView
from youtube.models import Youtube
# Create your views here.
class YoutubeLV(ListView):
model = Youtube
| [
"prepella3@gmail.com"
] | prepella3@gmail.com |
299305ee4aee9caf43fa57f664f00935d1ae6ae7 | 5f23bfaac3a29bec0e1fc84d2041e56fb08d6122 | /Hearts/Hearts/Team.py | 7c63bf01ab597c521a170eb909a0c6fa80203384 | [] | no_license | dscott-kamen/Hearts | 27a217c90a4ce91c4948b21b4b5a5e18fba699d0 | d27c96d01e9de6b8bdda3f04c724ad2599f5dba4 | refs/heads/master | 2020-06-01T02:29:48.970934 | 2019-06-18T15:54:47 | 2019-06-18T15:54:47 | 190,597,300 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 855 | py | '''
Created on Apr 23, 2019
@author: Doug Kamen
'''
class Team(object):
'''
classdocs
'''
def __init__(self):
'''
Constructor
'''
self.roundScore = 0
self.totalScore = 0
self.bags = 0
self.hands = []
def setBags(self... | [
"Doug Kamen@LAPTOP-N8E98DTQ.attlocal.net"
] | Doug Kamen@LAPTOP-N8E98DTQ.attlocal.net |
b93d484729f23cb51cfb7cf363ab0cd5e3f534f6 | 2dd3f59b229bebd3486bbc9dfa6d661419e28cd9 | /fibonacci_last_digit_fd.py | 21135cc6f45dce0fcb54fc4ea7c42a8bbe07a637 | [] | no_license | rajfal/algos | 7e73e17dccc60ff28bc19bc1c7786c9f5e797efa | cc2cd8a4947a893822f682f31fe89e81cb52373c | refs/heads/master | 2021-01-22T20:50:15.718882 | 2017-06-06T01:59:40 | 2017-06-06T01:59:40 | 85,369,076 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 906 | py | #
# Fast doubling Fibonacci algorithm (Python)
#
# Copyright (c) 2015 Project Nayuki
# All rights reserved. Contact Nayuki for licensing.
# https://www.nayuki.io/page/fast-fibonacci-algorithms
#
import sys
# (Public) Returns F(n).
def fibonacci(n):
if n < 0:
raise ValueError("Negative arguments not impl... | [
"noreply@github.com"
] | rajfal.noreply@github.com |
4449e49661a93160ebe5eee3a2b91f66910ff3fe | c5042a26594b2b8758128b6e0a623393acdb0464 | /Assignments/Week 7/Lab7-1.py | e615842c95a9e31a9c36f1c8cf758bddcc549efd | [] | no_license | ian-garrett/CIS_122 | 892e72c167f5bbdefb3a2ce7f5c744d5e3f58c8f | a0ba7982357887a0758ca099189c2777ac3d3960 | refs/heads/master | 2021-01-23T18:50:03.047509 | 2015-05-16T00:45:43 | 2015-05-16T00:45:43 | 35,703,569 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,171 | py | # by Ian Garrett'
# Lab 7-1
print ("Welcome to my turtle program\n")
import turtle
turtle.speed(0)
def get_ok():
ok = input("Do again? Press y or n")
ok = ok.lower() + "x"
ok = ok[0]
return ok
def ask_y_or_n(question):
answer = ' '
while answer != 'y' and answer != 'n':
answer = inp... | [
"igarrett@uoregon.edu"
] | igarrett@uoregon.edu |
3e4b24a783839a4c708bc72c6f8d4fdcd529d307 | 261af4075ccb5e838af1a5274507691bd41ab707 | /control-flow/range.py | ff848426b0c4ef091f48b7bf2fc6a44ad1cd12c6 | [] | no_license | md-rabiul-hasan/Python | 977cf8c8348a48abe27a885bc0185afb52458a34 | 45219762bb57be1be6d5b4ff9def85b2bb64a013 | refs/heads/main | 2023-03-06T23:50:18.406482 | 2021-02-14T03:01:06 | 2021-02-14T03:01:06 | 338,703,623 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 193 | py | for i in range(5) :
print(i)
for i in range(5,10, 2) : # value , end, stepping
print(i)
print(range(10))
ssum = sum(range(4))
print(ssum)
print(list(range(0,10,2))) # [0, 2, 4, 6, 8] | [
"rabiul.fci@gmail.com"
] | rabiul.fci@gmail.com |
77e2650141b3df3dd0db9e967a404402301ac1c6 | 17984a295f87b9f7f9c7f71caef7342117c3997e | /todo/migrations/0001_initial.py | b88665dfc5184431cc701a373f3e9792925ef58c | [] | no_license | rsalazarhanson/todolist | 06058ecf15fc45fab333ab45e2c485819dd87323 | 4cf0f3b869a0681395b921c00d6999af7d9b2928 | refs/heads/master | 2022-04-25T15:45:42.432929 | 2020-04-25T19:00:53 | 2020-04-25T19:00:53 | 258,686,529 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 998 | py | # Generated by Django 3.0.5 on 2020-04-19 23:23
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | [
"rsalazarhanson@gmail.com"
] | rsalazarhanson@gmail.com |
d08f60a954f8103cf36b659ef841607c9ed7362f | 1f49933377063f75262c50f978d316b1a7bdd483 | /createDatabase.py | 170b85002e04a58cdc21b3b317b372f1734a22c8 | [] | no_license | hasadi/CognitiveHF-uhd | 65c1793c2f76640b26a3f2aeea454094ab52e9e7 | bfafdd046a5b3ffc25a71525bac4f62cf3b50295 | refs/heads/master | 2020-02-26T13:25:03.480647 | 2016-09-16T22:35:15 | 2016-09-16T22:35:15 | 68,416,908 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,954 | py | import time
import numpy as np
import random
import math
import sqlite3
from CE import *
######################################################################
conn=sqlite3.connect('config.db')
print "Opened database successfully";
conn.execute('''CREATE TABLE CONFIG
(ID INT PRIMARY KEY NOT NULL... | [
"asady.hamed@gmail.com"
] | asady.hamed@gmail.com |
61b41d699962a32345f95dfdce17ff9e173bc03d | da1d3a5c7d6fa4c7d71d585272895ec53cf4b844 | /feature_extractor.py | f3a7419ed4fd27fabf6edf3c0de87ead48bf737e | [] | no_license | teaf1001/DataChallenge | fdbd7af43fd0b757b5229f4a0c697c75bb8b9824 | ae78844bae8e4c169406cb6cd5574568e9ce6fb8 | refs/heads/master | 2023-02-14T02:22:17.823989 | 2021-01-03T09:27:38 | 2021-01-03T09:27:38 | 326,348,973 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,287 | py | import features_reboot as features
import init
import numpy as np
import json
import jsonpickle
import sys
import datetime
from glob import glob
import csv
import sys
import os
#folders = [r"E:\KISA-CISC2017-Malware-1st"]
#csv_path = r"E:\label\2017_malware_1st_answer.csv"
folders = sys.argv[1] # 추출 대상... | [
"sin-yeongjae@sin-yeongjaeui-Mac-mini.local"
] | sin-yeongjae@sin-yeongjaeui-Mac-mini.local |
49b7400ff1fb27da159f80419327e64298ec00db | 9a4c569548c6aa96f9e137da1e4dba9a8dd0ec13 | /catkin_ws/build/ur5_moveit_config/catkin_generated/pkg.develspace.context.pc.py | 903c7800f8d6143865f2fe142b89bd26f6c954a4 | [] | no_license | capf-2011/Vargi-Bots-eYRC | 081014358a1b2f9cf55064d58ff2e5bdee554445 | 89b0bd0d5de1215e2338379931e31aea2e946ed3 | refs/heads/master | 2023-03-23T07:50:43.159560 | 2021-03-07T10:19:50 | 2021-03-07T10:19:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 406 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "ur5_moveit_config"
PROJECT_SPACE_DIR ... | [
"satyamozar@gmail.com"
] | satyamozar@gmail.com |
708a5fb086d03666cca8733239d0066138462d8f | 599e320b8d66e86a77db268f8c26cf36e1ee4ec5 | /DP/barn/barn_len.py | 755e650842843682aa800a5a333b40c70b7149cb | [] | no_license | DariaMikhailovna/Algorithms | 7f28b1582a5e451f20b9afe2d7773b3b57f39da7 | 13be99696ab9f6a22cc3cfa8efa292e9ae9f433e | refs/heads/master | 2022-12-10T16:11:18.616755 | 2020-05-07T19:13:49 | 2020-05-07T19:13:49 | 221,887,652 | 0 | 0 | null | 2022-12-08T09:32:06 | 2019-11-15T09:15:00 | Python | UTF-8 | Python | false | false | 456 | py | def get_len():
n, m = map(int, input().split())
t = int(input())
matrix = [[1] * n for _ in range(m)]
for i in range(t):
c, r = list(map(int, input().strip().split()))
matrix[r][c] = 0
for m_ in range(1, m):
for n_ in range(n):
if matrix[m_][n_] != 0:
... | [
"0610-1994@mail.ru"
] | 0610-1994@mail.ru |
346d47583613b27aac0f54c6122283312a8ceb10 | 1299f84b3c8fc3c32395aaed716c7838f5612363 | /flask_blog/main/routes.py | 7baa571210f11f4c93b413c865a7bd0075af5a8e | [] | no_license | Mahdi-py/FlaskBlog | 3086352e03f4c80aee8605b29497c513fcd9a03b | fc06d23256e9fe69355385fcca6f66d5e1727fca | refs/heads/master | 2022-07-01T01:02:45.143600 | 2020-05-14T02:33:00 | 2020-05-14T02:33:00 | 261,048,728 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 635 | py | from flask import Blueprint
from flask import render_template, request, Blueprint
from flask_blog.models import Post
main = Blueprint('main', __name__)
@main.route('/')
@main.route('/home')
def home():
page = request.args.get('page', 1, type=int) # to identify the page number we want
posts = Post.query.ord... | [
"61730840+Mahdi-py@users.noreply.github.com"
] | 61730840+Mahdi-py@users.noreply.github.com |
1b4f8dc92b5359ccad11d45ce4e14519b47c409d | 00c71b014f328ed841057754b77c350f4d7ff5f7 | /customers/migrations/0007_auto_20190312_1358.py | c1e5f5ba6a9f3c1560e5cd5899eccfa372c4438c | [] | no_license | vlehra/djangoproject | c91aca392167316167acf87b8d09ff117ce80685 | 968c22a18f05fc338c79044388196f0960bffb5b | refs/heads/master | 2020-04-29T09:15:22.170780 | 2019-04-18T07:54:15 | 2019-04-18T07:54:15 | 176,017,430 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 696 | py | # Generated by Django 2.1.5 on 2019-03-12 08:28
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('customers', '0006_auto_20190311_1435'),
]
operations = [
migrations.AlterField(
model_name='customer',
... | [
"vaibhavlehra@gmail.com"
] | vaibhavlehra@gmail.com |
b96a098719f93c3d4ef9c9aff636a205cd38883c | fda9a6eabdeb6e41ea9023e112b7809b93936d86 | /viewer/scenes.py | cf0e13d0c279a8e5f952fcd7132e05640210280b | [] | no_license | snsinfu/3dview | 3c6f9b14192de0208ab0fc0605cc3be871b18b90 | c80fd5c16bef6aec793204bcf37ce0b95617c3f0 | refs/heads/master | 2020-03-21T17:39:00.074821 | 2018-06-27T07:15:49 | 2018-06-27T07:21:05 | 138,844,796 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 636 | py | from vispy import gloo
from shaders import CompositeShader
class TranslucentScene(object):
def __init__(self, shaders, background='black'):
self._shader = CompositeShader(shaders)
self._background = background
def set_view_matrix(self, view):
self._shader.set_view_matrix(view)
d... | [
"snsinfu@gmail.com"
] | snsinfu@gmail.com |
3f251aa3b4a8d8a424bbb3c5ee2fbe0956835183 | 95e1a08dc19813180ce7e1668320160bd59122be | /src/examples/Client/generated_gui_client.py | ed071d380c8b859c39f3ad829ba6d5c896e1d14c | [] | no_license | SuperKuooo/ZYNC | 8a1ee02aa37892716beae4eb439ac56375078478 | 3083828403135799de448967293462e01791bb6f | refs/heads/master | 2020-06-13T23:10:34.315310 | 2019-07-26T09:26:55 | 2019-07-26T09:26:55 | 194,817,765 | 1 | 0 | null | 2019-07-24T10:27:13 | 2019-07-02T08:05:29 | Python | UTF-8 | Python | false | false | 12,344 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ZYNC_Client.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_frmClientTerminal(object):
def setupUi(self, frmClientTerminal)... | [
"jerrykuo820@gmail.com"
] | jerrykuo820@gmail.com |
18503f562a8631a5dd079fd0e2bd0c2cd019d0e7 | 7bb27e5b89ff67b19fc3a2b28b42be42e737b3ec | /rest_tutorial/s4/code/security.py | 6ff46d619544d1459c340fdf5c717dbaa0cb47b2 | [] | no_license | obitech/tutorials | c87fe1c9820d67f9870426fff52746d560a1669f | a4b86a70bbeb76de2e1b4bae4d614d2ae0bb9c7b | refs/heads/master | 2020-05-23T02:11:07.197006 | 2017-11-02T20:27:14 | 2017-11-02T20:27:14 | 84,741,493 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 426 | py | from user import User
users = [
User(1, 'bob', 'abc')
]
username_mapping = { u.username: u for u in users}
userid_mapping = {u.id: u for u in users}
def authenticate(username, password):
user = username_mapping.get(username, None)
if user and user.password == password:
return user
# payload = content of J... | [
"the.am0k@gmx.de"
] | the.am0k@gmx.de |
35a755dc8baf89055c4eb85e7e9f6bf0f24b42b1 | e9d64b02a01214b1c6f083fe09c5126bf53ef515 | /docs/conf.py | 91205c0c3f33deb6bc1f7de9b3345097c6e1add0 | [
"BSD-3-Clause"
] | permissive | lihang00/scikit-neuralnetwork | feababbb3a5db39f4dc865911fa3c78b9e217d5c | e16f591df5026807589d7564bb2f94ff0809e69e | refs/heads/master | 2021-01-13T05:21:38.083474 | 2015-06-12T22:33:52 | 2015-06-12T22:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,830 | py | # -*- coding: utf-8 -*-
#
# scikit-neuralnetwork documentation build configuration file, created by
# sphinx-quickstart on Tue Mar 31 20:28:10 2015.
import sys
import os
project = u'scikit-neuralnetwork'
copyright = u'2015, scikit-neuralnetwork developers (BSD License)'
# -- Configuration of documentation --------... | [
"alexjc@aigamedev.com"
] | alexjc@aigamedev.com |
fab3f271f5738e8faba34e026e918b5949d34853 | 156554b4c94718af0b20bb4ae27bbc15f50ec059 | /GDPRconsent/__init__.py | b74d9370ccb90820b6badc5f2059ec097f4c41ed | [
"MIT"
] | permissive | brassic-lint/gdpr-consent-string | 1d3ca5a4830aa1df8e9283848f6f9a7cff80e19c | 69add3b14745c7c1b573b66fa5dc30793aaa3039 | refs/heads/master | 2020-04-25T05:41:04.207610 | 2018-07-16T11:51:26 | 2018-07-16T11:51:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 123 | py | from GDPRconsent.consent import Consent
from GDPRconsent.consent_decoder import StringConsentDecoder
name = "GDPRconsent" | [
"etrapero@acceso.com"
] | etrapero@acceso.com |
4064d294f4238a13f7c3f3cdb692b5d489635da2 | 79e1b483198b64d44431ca821fda8318549b8c6c | /zlfs.py | 3a791d2189030a0638b4739d41d62f30c0a63660 | [] | no_license | xufucun/zhzl | b8ec473118880752eab0008ed71a5b9e209054ef | dd3ca88ea1f904cc23488df07620934457f660e2 | refs/heads/master | 2021-05-10T08:24:03.694146 | 2018-01-25T08:59:30 | 2018-01-25T08:59:30 | 118,888,389 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 609 | py | """
获取知乎专栏粉丝
DATE:20180125
"""
import requests
# 请求链接
url = 'https://zhuanlan.zhihu.com/api/columns/alenxwn/followers'
# 模拟浏览器
header = {'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) '
'Chrome/63.0.3239.132 Mobile Safari/537.36'}
# ... | [
"xufucun@gmail.com"
] | xufucun@gmail.com |
2f8755e473548b558b553e9baf43fcd11723fb3f | c845e02456ed0a4987de684a6d032b2dcaa23ba5 | /blog/admin.py | 7ee50b36e4fd2db90a174d0eae66a19829eb4359 | [] | no_license | inkvizitor1991/Optimizing-the-Site | 023203fd1a718a9178e019653fb34f4d4b2e15c5 | 761d108930b9663ef86e26ae815fc8403d09d302 | refs/heads/main | 2023-09-03T18:15:56.285005 | 2021-11-10T16:01:44 | 2021-11-10T16:01:44 | 420,957,982 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 344 | py | from django.contrib import admin
from blog.models import Post, Tag, Comment
class PostAdmin(admin.ModelAdmin):
raw_id_fields = ('author', 'likes', 'tags')
class CommentAdmin(admin.ModelAdmin):
raw_id_fields = ('post', 'author')
admin.site.register(Post,PostAdmin)
admin.site.register(Tag)
admin.site.registe... | [
"85788805+inkvizitor1991@users.noreply.github.com"
] | 85788805+inkvizitor1991@users.noreply.github.com |
fc3270bfe0be25cc014d30c7e3917835e547f841 | b8554b90dedaa2b4b6311dc9817160f3aeba1919 | /l10n_ar_debit_credit_note/wizards/__init__.py | 7ecdc05a8eeef12a68f36c9567553c34ffa5485e | [] | no_license | armandorg81/aitic-argentina-odoo | 836c7f39c5084cc6a09499c65292030d8634ec1d | df0a40e7537d6ef6ecb6a21c33dcf3903704778e | refs/heads/master | 2022-04-21T12:13:24.955080 | 2020-01-28T20:18:49 | 2020-01-28T20:18:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 97 | py | # -*- coding: utf-8 -*-
from . import account_invoice_debit
from . import account_invoice_refund
| [
"aparra@aitic.com.ar"
] | aparra@aitic.com.ar |
c82cf537500229dbea0c0563f4ed084782152caa | 1aecfba7cd453709f4676bdc39c6262225902732 | /venv/bin/gunicorn_paster | d4f24805edf8344a31e97de8dbd503494113e64c | [] | no_license | JoaquinRoca/heroku_python | 8e5f764e73124cbf1a3a5009c24a5f0aba61a0e2 | 1b5b35b1c162d8e2a0c4036fcbcd100461d12b79 | refs/heads/master | 2020-12-24T15:05:12.177433 | 2015-06-17T02:50:56 | 2015-06-17T02:50:56 | 37,420,580 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 273 | #!/Users/joaquinroca/python_projects/heroku_python/venv/bin/python2.7
# -*- coding: utf-8 -*-
import re
import sys
from gunicorn.app.pasterapp import run
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(run())
| [
"me@joaquinroca.com"
] | me@joaquinroca.com | |
5859658c2b11c214e2e9c2fe644c988070b1fb54 | ade1a0b38e4128753d8b2a28bb1f8ef224ae4f56 | /manage.py | 9e3c71d991889aa428cb704de9d1cb5737044a77 | [] | no_license | james-allen/astromapper | efdbb3db6507b29bacb7323dded4feeabf3277c5 | 6174f9bdacb0f63e745e0aac7137c567b7a5dc91 | refs/heads/master | 2020-05-22T13:19:38.939608 | 2015-09-19T00:33:36 | 2015-09-19T00:33:36 | 42,753,315 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 254 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "astromapper.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| [
"j.allen@physics.usyd.edu.au"
] | j.allen@physics.usyd.edu.au |
96eb4824c3f7bdc697a50705e230d558c819654b | 933b22e4168665f8737cedf2e05dbaec87219fb8 | /application/posts/models.py | 4558c3b38bfb06b34ccc749c7501c6ca0c26eb0d | [] | no_license | shtakai/flask_brueprint_socializer | 7114116723aa5119f7dd3223357962c30ee0ab04 | a0f07d614127dcbd740a80b09946d30cb709ad93 | refs/heads/master | 2021-04-15T03:44:27.465597 | 2016-08-14T06:25:29 | 2016-08-14T06:25:29 | 65,615,191 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 748 | py |
__all__ = ['Post']
from application import db
import datetime
class Post(db.Model):
# The unique primary key for each post created.
id = db.Column(db.Integer, primary_key=True)
# The free-form text-based content of each post.
content = db.Column(db.Text())
# The date/time that the post was c... | [
"shtakai@gmail.com"
] | shtakai@gmail.com |
c360f9a9ce63394f5931d074266031400e036f84 | 6aa4d173e6f89fb3ca1952b42a51ea3f99b26782 | /Server/game/html2text.py | 90d5f0efe5b23a4e6bf29bfa0653ecd2a209c6c5 | [] | no_license | RhostMUSH/trunk | 3c2e849e57e405eff0f6882d197151284d8bd5b3 | 05fdec0d11ee8b015ab3f416e6bad839e3c318a2 | refs/heads/master | 2023-08-17T03:18:55.226735 | 2023-08-07T19:16:02 | 2023-08-07T19:16:02 | 23,922,823 | 30 | 26 | null | 2023-08-31T16:35:25 | 2014-09-11T14:57:33 | C | UTF-8 | Python | false | false | 32,122 | py | #!/usr/bin/env python
"""html2text: Turn HTML into equivalent Markdown-structured text."""
__version__ = "3.200.3"
__author__ = "Aaron Swartz (me@aaronsw.com)"
__copyright__ = "(C) 2004-2008 Aaron Swartz. GNU GPL 3."
__contributors__ = ["Martin 'Joey' Schulze", "Ricardo Reyes", "Kevin Jay North"]
# TODO:
# Support d... | [
"mrsenile@gmail.com"
] | mrsenile@gmail.com |
82cf840ba3e0aef7cd5e83f5b1345dff0248f2bc | 84115aea93154878ac65599ed9cb4988fce76e8c | /2nd_phase_code/exploratory/tracts_kmeans.py | c067c4b562acbbcc27a3fba4b6a6aa19f44a40c6 | [] | no_license | BradyEngelke/msba_elp | b03939f6df3d79e98c1b55c06103de102a9216b3 | 29f527043dbde335b869b3f748f436f97735fb55 | refs/heads/master | 2022-07-15T05:17:57.961579 | 2020-05-15T15:39:40 | 2020-05-15T15:39:40 | 263,989,391 | 0 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,954 | py | from py2neo import Graph
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
sns.set(style="darkgrid")
from sklearn.preprocessing import StandardScaler
from sklearn.cluster import KMeans
graph = Graph('http://localhost:7474', password='cypha2')
tracts = pd.DataFrame(graph.run(... | [
"noreply@github.com"
] | BradyEngelke.noreply@github.com |
ffef9189714bac90c1249eed5cc90b4205c99cec | 3e2c69c403ffaad7c5e69836c870075e96ce9572 | /2252.py | fe3b1b4eaa21ad4dd2c2c58650b913addff5a843 | [] | no_license | Hongyiel/algorithm_study | 88252607117779fa9489a4087c21b215e75c87b5 | 18477da8085db56f7ee08cfa883a9444a2ff265c | refs/heads/main | 2023-04-16T17:44:41.196908 | 2021-05-03T03:35:12 | 2021-05-03T03:35:12 | 328,557,597 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 705 | py |
from collections import deque
n, m = map(int, input().split())
in_degree = [0 for _ in range(n+1)]
graph = [[] for _ in range(n+1)]
q = deque()
result = []
def sortRange():
for _ in range(n):
print(q)
print(graph)
if not q:
return
target = q.popleft()
... | [
"suhho@oregonstate.edu"
] | suhho@oregonstate.edu |
005705b8027973cdde1035fa4f275b774574a615 | 5588539c3733f3c212a0815bf9b692476e775e95 | /mspray/apps/reveal/views.py | b1edfe2a521c855a77b69854b0102add27afe4dd | [
"Apache-2.0"
] | permissive | Frazerbesa/mspray | 87605937b95a97a23333495de8b6353c3bf59889 | b3e0f4b5855abbf0298de6b66f2e9f472f2bf838 | refs/heads/master | 2022-01-20T17:18:40.428046 | 2019-02-06T08:41:27 | 2019-02-06T08:41:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 713 | py | """views module for reveal"""
from django.core.exceptions import ValidationError
from rest_framework import status
from rest_framework.decorators import api_view
from rest_framework.response import Response
from mspray.apps.reveal.utils import add_spray_data
@api_view(["GET", "POST"])
def add_spray_data_view(reques... | [
"kjayanoris@gmail.com"
] | kjayanoris@gmail.com |
7f322781490d01de8281072c57fe57c46ec6e724 | b0958e674b9d562b9b983d26eca99747acc00365 | /backend/apps/user/migrations/0009_auto_20200309_1428.py | ffe58a5080a239f08f6e34643da31971af4d68f6 | [
"MIT"
] | permissive | IT-xiaoge/Journey | d55bae3d6a4e8ac6fddc39c492f9a6a4699341a1 | 43f241e25e6030ddae39cc06a74b3da70c48da34 | refs/heads/master | 2021-05-23T10:51:33.424181 | 2020-03-23T03:15:10 | 2020-03-23T03:15:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,144 | py | # Generated by Django 2.0.4 on 2020-03-09 14:28
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
dependencies = [
('user', '0008_auto_20200303_1721'),
]
operations = [
migrations.AddField(
model_name='menu',
name='api',
... | [
"977983452@qq.com"
] | 977983452@qq.com |
b78d22c718e0eac68bbac1d7ec6c144290552cbe | 5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d | /alipay/aop/api/domain/CropsPlantingInfo.py | 2ed0cdb31c9a7141470a9bdac5c6225ccf088307 | [
"Apache-2.0"
] | permissive | alipay/alipay-sdk-python-all | 8bd20882852ffeb70a6e929038bf88ff1d1eff1c | 1fad300587c9e7e099747305ba9077d4cd7afde9 | refs/heads/master | 2023-08-27T21:35:01.778771 | 2023-08-23T07:12:26 | 2023-08-23T07:12:26 | 133,338,689 | 247 | 70 | Apache-2.0 | 2023-04-25T04:54:02 | 2018-05-14T09:40:54 | Python | UTF-8 | Python | false | false | 2,478 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
class CropsPlantingInfo(object):
def __init__(self):
self._actual_date = None
self._addition_info = None
self._crop_code = None
self._planting_area = None
@property... | [
"jishupei.jsp@alibaba-inc.com"
] | jishupei.jsp@alibaba-inc.com |
89002b7ba7e2a0837b46746488412e38d8378680 | d9c0cd08c22334e2e1f2a3de80d95a250436990f | /build/goal_set/catkin_generated/pkg.installspace.context.pc.py | 9b5fe7787d2e4fa497bb4704848dee0cc3e84608 | [] | no_license | temburuyk/rise_ws | 88b96e027a65cedc49376171b66d69b6382a3c25 | 34567040945842784f438bc702d9ae3eb14f0f9f | refs/heads/master | 2021-07-18T16:39:45.485621 | 2017-10-27T18:54:16 | 2017-10-27T18:54:16 | 108,579,035 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 372 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "goal_set"
PROJECT_SPACE_DIR = "/home/... | [
"temburuyk@gmail.com"
] | temburuyk@gmail.com |
727198d4d30fcba99d7f86924fe4c259ac22f877 | 674f5dde693f1a60e4480e5b66fba8f24a9cb95d | /armulator/armv6/opcodes/concrete/ssub16_a1.py | 97e11338e7793896109aef02af803c4965a9c1f9 | [
"MIT"
] | permissive | matan1008/armulator | 75211c18ebc9cd9d33a02890e76fc649483c3aad | 44f4275ab1cafff3cf7a1b760bff7f139dfffb07 | refs/heads/master | 2023-08-17T14:40:52.793120 | 2023-08-08T04:57:02 | 2023-08-08T04:57:02 | 91,716,042 | 29 | 7 | MIT | 2023-08-08T04:55:59 | 2017-05-18T16:37:55 | Python | UTF-8 | Python | false | false | 458 | py | from armulator.armv6.bits_ops import substring
from armulator.armv6.opcodes.abstract_opcodes.ssub16 import Ssub16
class Ssub16A1(Ssub16):
@staticmethod
def from_bitarray(instr, processor):
rm = substring(instr, 3, 0)
rd = substring(instr, 15, 12)
rn = substring(instr, 19, 16)
i... | [
"matan1008@gmail.com"
] | matan1008@gmail.com |
c20c712ae52e9c55489f99d31bbcc3ddc0311148 | c711b870b3c4f420e055e41190babbfee2c15c99 | /mainProcessUI.py | 09e153c98b092a988abac47cef3603a9d33008c6 | [] | no_license | usino/Self-checkout | c5bcc349052cf7bb949b131500bdc1b676883066 | 148b198cc244881f84738aa32b63bb2fa5a413c8 | refs/heads/master | 2020-09-26T08:59:22.865137 | 2019-12-06T01:59:50 | 2019-12-06T01:59:50 | 226,222,298 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,511 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainProcessUI.ui'
#
# Created by: PyQt5 UI code generator 5.13.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
... | [
"noreply@github.com"
] | usino.noreply@github.com |
02ae5de0ecdaedea5b8a3dc63be2667ba76018c7 | a2733474a25d504903be46ad0602817708055374 | /lambda/alertNotify/alert_notification_config.py | 5c37e62374bf81eb633d57a3853f03821537041a | [] | no_license | XrizA/big_data_backend | c2470cb132e9134014feac36c63147eb2bba9ef0 | ff64c58bb9b118209f60b9ecb7e2a56956f78670 | refs/heads/main | 2023-05-31T01:14:24.324195 | 2021-06-20T17:29:40 | 2021-06-20T17:29:40 | 378,690,059 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 124 | py | aws_access_key_id = 'your aws key '
aws_secret_access_key = 'your aws secret key'
region_name = 'your aws region'
ARN = ''
| [
"suzngod1062474@gmail.com"
] | suzngod1062474@gmail.com |
c0263a27dc0d5f52ae3207227f08690e9f1a2545 | de01a51dcd29b05c1d90b87d1e57592e3fcb1a0d | /Euler/part1/p4.py | d0e2d61bd8339bc68267d1e695736d0556332aba | [] | no_license | qs8607a/Algorithm-39 | 9f9dea54f3098929c54fd669948c165cafb343b0 | e1a106e98ba5002672acb7914dd827e4bd5f760c | refs/heads/master | 2021-01-10T20:30:20.178902 | 2013-01-29T10:20:38 | 2013-01-29T10:20:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,729 | py | ##A palindromic number reads the same both ways. The largest palindrome made from
##the product of two 2-digit numbers is 9009 = 91 99.
##Find the largest palindrome made from the product of two 3-digit numbers.
def isPalindromic(n):
return str(n)==''.join(reversed(str(n)))
def f1():
result=0
fo... | [
"llq@gmail.com"
] | llq@gmail.com |
98fcb55342df28798e6509142a57153fd0b115ec | b168ae36f71f5877553324ee21a00cd8ccb61269 | /ios/manage.py | c00f88c1c7b16e6ac08214388d3e6e2da2989a9b | [] | no_license | davidamin/IOSBackend | e9b9595ccd1fb105eeb657c1f1e689d52748a09d | 30b8344604596c90f8d3ad80daea0681cff66cd4 | refs/heads/master | 2016-08-11T13:01:44.346991 | 2015-12-04T05:05:27 | 2015-12-04T05:05:27 | 46,690,646 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 246 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ios.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| [
"ubuntu@ip-172-31-62-154.ec2.internal"
] | ubuntu@ip-172-31-62-154.ec2.internal |
05833df3f8579a3eb93e90a581a2d832eaa99e02 | 621d94eddc55ed3ea4f5788ecdf9237bf9d9270f | /nicefolder/make3d_cost_graph.py | c32b3408514572ee9361062297c4fea1631cecc2 | [] | no_license | epicarts/tensorflow | 0b571892fd0f3158b2b36e4577a43c5ddf402ca2 | 4a12f5dbc86edd1ecc7d6bc54264b0f5223cd2f1 | refs/heads/master | 2020-03-27T11:11:44.294673 | 2019-02-25T11:57:15 | 2019-02-25T11:57:15 | 146,471,328 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,019 | py | import matplotlib.pyplot as plt
import numpy as np
from mpl_toolkits.mplot3d import Axes3D
import tensorflow as tf
import pandas as pd
from pandas import DataFrame, Series
'''
3d 그래프를 텐서플로우를 사용하여 그려보쟈!!
1. 3d 그래프에 대한 설정을 한다.(x좌표: Weight, y좌표: Bais, z좌표: cost)
2. x좌표와 y좌표를 전부 이용한다. cost 함수는 모든 x, y좌표값을 사용함
3. 모든 weight... | [
"0505zxc@gmail.com"
] | 0505zxc@gmail.com |
0a68cf069d2cb76e4209408adf21e61e6a70be83 | 838766d5150e3f1b4869fb06bf9e897f6bd54040 | /venv/bin/django-admin | 8701dc09babf822384c4dd88cb1c8a96fd0e05ec | [] | no_license | tcelik/DjangoApp | aca0a66916a7b694fa5154a436b265a384d7881d | 7f727c599ac899fe7d121ded38f7abce69628b77 | refs/heads/master | 2020-04-15T19:28:55.824266 | 2019-01-09T23:25:23 | 2019-01-09T23:25:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 330 | #!/Users/tugberk/Desktop/Kurslar/Python/src/DjangoWithIntellijApp/venv/bin/python
# -*- 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_comman... | [
"mehmettugberkcelik@gmail.com"
] | mehmettugberkcelik@gmail.com | |
52b57870d45b2e64728eb50e46f8e63372d4ea5b | 9ed7f1aca163cdb65ff2b46fdccffb4d0a473c4e | /练习/11_python的垃圾回收机制.py | 40c0eaad58143ef4e731d2ecb94aa79b88fcad51 | [] | no_license | xmlu2020/python_learn | f3d567e5038ac1f56b9860cd18c4c15a5ac6bde9 | bb8ca4077eb987f4e60d5eb58b7df2a5c66026cd | refs/heads/master | 2023-01-02T10:14:51.266254 | 2020-10-19T11:04:48 | 2020-10-19T11:04:48 | 277,552,512 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,065 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time : 2020/9/16 16:11
# @Author : XiaomeiLu
# @FileName: 11_python的垃圾回收机制.py
# @Software: PyCharm
"""
python垃圾回收主要以引用计数为主,标记-清除和分代清除为辅的机制,其中标记-清除
和分代回收主要是为了处理循环引用的难题
引用计数算法
当有1个变量保存了对象的引用时,此对象的引用计数就会加1
当使用del删除变量指向的对象时,如果独享的引用计数不为1,比如3,那么此时只会让这个引用计数
减1,即变为2,当再次调用... | [
"xmlu@aibee.com"
] | xmlu@aibee.com |
3685139b4b8bde3db2388418149e456e5ecfa998 | 4acd6fcea175d92d8402904f193bb11bb887de22 | /servidor/redOperonesJSON.py | afe96260cc2b74b855f9f681654b5e3088c99823 | [] | no_license | AgustinPardo/mycoRT | 5ab6cc471294357e14fd42ae46cd17221a3b3ccc | 2d50e8d528ad3f0a3211982d3f1a1bf5cbe099b4 | refs/heads/master | 2021-07-01T08:00:50.870312 | 2019-08-21T20:10:18 | 2019-08-21T20:10:18 | 102,166,645 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 831 | py | from __future__ import print_function
import mysql.connector
def redRTOperones():
cnx = mysql.connector.connect(user='root', password="agustin", database='mycoDB')
cursor = cnx.cursor()
# Query
query = (
"SELECT o1.operonID, o2.operonID FROM operons o1, operons o2, redRTOperons r WHERE o1.mfinderID = r.A AND ... | [
"agu_pardo@hotmail.com"
] | agu_pardo@hotmail.com |
9fda735e612bcc0a100e0481b836e13b86c40ae5 | 9db62269224ba5913eb9adfdf2e648dda4ed31c3 | /cnocr/consts.py | 9147212d3b155af045b771722270a2b79a862217 | [
"NCSA",
"Zlib",
"Intel",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-2-Clause-Views",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Jinnrry/cnocr | acb72509a8825c98ba2fc8dfc4d15f847cb50d8a | e685db43622916b127728e0a714fef81036b8caa | refs/heads/master | 2020-05-05T04:02:44.694466 | 2019-04-05T14:18:43 | 2019-04-05T14:18:43 | 179,695,433 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 107 | py | MODEL_BASE_URL = 'https://www.dropbox.com/s/5n09nxf4x95jprk/cnocr-models-v0.1.0.zip?dl=1'
MODEL_EPOCE = 20
| [
"breezedeus@163.com"
] | breezedeus@163.com |
6241a31d4b9a7b6b7322874469928947427a22a6 | 47b75d1084cc3584a622dc1567ab866b89a0b62b | /luxon/utils/middleware.py | e0f31a5dc3b7dbfffab66787056cdf9440e5a8e3 | [
"BSD-3-Clause"
] | permissive | Vuader/old_luxon | 956152013aee93bd644c39a743e310bf151dd842 | 5d2417816ccad7491143bace9158d58c3feba32b | refs/heads/master | 2021-09-10T15:19:40.731714 | 2018-01-14T18:02:47 | 2018-01-14T18:02:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,093 | py | # -*- coding: utf-8 -*-
# Copyright (c) 2018 Christiaan Frans Rademan.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, ... | [
"christiaan.rademan@gmail.com"
] | christiaan.rademan@gmail.com |
6bbf8605b2a34bf5082402876f6879fe59b06a08 | e951ec12086ea36bfb45424d6250dcd41259a134 | /swegallery/gallery/migrations/0003_contact.py | 791e3d15b4abc3b855550f9f1181afec7e326a88 | [] | no_license | Niamulhasan11/SWE_Gallery | f7d274a7a867721674c9adfabd95e19f4b088767 | 1c0f0a568c5200be5954503d039a3fcb61987390 | refs/heads/master | 2022-12-02T00:17:26.162915 | 2020-08-14T08:12:32 | 2020-08-14T08:12:32 | 287,479,569 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 689 | py | # Generated by Django 3.0.8 on 2020-08-08 20:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('gallery', '0002_auto_20200729_0139'),
]
operations = [
migrations.CreateModel(
name='contact',
fields=[
... | [
"niamulhasan111@gmail.com"
] | niamulhasan111@gmail.com |
bac053d577408eea75543b60753d156b6e9bc083 | d5280a5dd28a81b9e3a687b7c5312a0a4c36353a | /Transactions/emptyEntryClassCreateAndContinueTestCase.py | a8c25fd2417de7b8ab9ab2a0a6c4b0e2f0162a07 | [] | no_license | amritregmi/python_automation | 4eb394ecbc09517eeae3edcd7ab6b8d335a58fb0 | c514641a69c83dd3691eed973facf6f938dccd06 | refs/heads/main | 2023-03-07T06:02:36.563055 | 2021-02-19T21:40:08 | 2021-02-19T21:40:08 | 313,269,526 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,712 | py | from selenium.webdriver.support.ui import Select
import os, sys
sys.path.insert(0, os.path.abspath(".."))
from Base import loggedInBaseTestCase
class EmptyEntryClassCreateAndContinueTestCase(loggedInBaseTestCase.LoggedInBaseTestCase):
def test_EmptyEntryClassCreateAndContinue(self):
self._caseId = 138
self._suit... | [
"amrit@amrit.com"
] | amrit@amrit.com |
16a89efdd04e4aaa80fcfabc958e5849e510f080 | 7d68ecca889f7a77932759fe58299e9e2a76001e | /src/video_emotion_color_demo.py | 6504c79b257631cb0eab568e43933cc4f876ee7a | [] | no_license | harshfadadu/facial-expression-recognition-real-time | 1e4a5125ae98529f39ad6a0a6a29afde097e2966 | ecf1460f6e4d75b75e695c3431a4c0a0833cbd8d | refs/heads/master | 2023-04-14T16:01:08.818141 | 2022-02-10T07:22:55 | 2022-02-10T07:22:55 | 204,751,501 | 1 | 0 | null | 2023-03-25T01:27:20 | 2019-08-27T17:09:14 | Python | UTF-8 | Python | false | false | 3,163 | py | from statistics import mode
import cv2
from keras.models import load_model
import numpy as np
from utils.datasets import get_labels
from utils.inference import detect_faces
from utils.inference import draw_text
from utils.inference import draw_bounding_box
from utils.inference import apply_offsets
from utils.inferenc... | [
"noreply@github.com"
] | harshfadadu.noreply@github.com |
da9a8fb990e076c40a614cffcc13160625e43c6f | 1310b85ae7b3fdbf05745c81231b3c5cd88b6957 | /AI/lab1/KNN/my_vs_sklearn.py | b70691462deeadb601d251039571460b9a3d7d9e | [] | no_license | Lester1707/Mywork | 25c8085e74b6fd4aee8ee7dd39bec9e53f9b6c0b | d66eb4f1a2a280e1722ab37050260eda595db1ed | refs/heads/master | 2021-08-16T16:53:30.700608 | 2021-06-25T15:14:35 | 2021-06-25T15:14:35 | 218,858,727 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,358 | py | from myKNN import KNN
import numpy as np
import pandas as pd
from sklearn.datasets import load_breast_cancer
from sklearn.metrics import confusion_matrix
from sklearn.neighbors import KNeighborsClassifier
from sklearn.model_selection import train_test_split
breast_cancer = load_breast_cancer()
X = pd.DataFrame(breast_... | [
"antylol311@gmail.com"
] | antylol311@gmail.com |
5bd6343ecea5951ab07e334dc403a8fdbaedd594 | ba77287322dfe0ceaa4db6285951252a0dce482f | /accounts/forms.py | 34f00add8427efa782bcb6c3a384c188a1c523ea | [] | no_license | dash9231/assignment_3 | 52245a918b6f1299b213996c2fd3bad2621c3473 | 9a72887edcfcc83a96da39161bfa6a43ffc2fb90 | refs/heads/master | 2020-05-16T22:32:19.765827 | 2015-08-25T12:20:02 | 2015-08-25T12:20:02 | 41,361,497 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 429 | py | from django import forms
from accounts.models import UserProfile
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
class UserForm(UserCreationForm):
class Meta:
model = User
fields = ('username', 'email','password1', 'password2')
class UserProfi... | [
"dash9231@gmail.com"
] | dash9231@gmail.com |
3a00b624fcad6e46c859e40eb09612fac83daad5 | 6febcc9e34f44bebe36908a443400d8d4f3fdf53 | /lib/python/setup.py | d94fd5a83843d42ee246de9a65715d70c9ff77c8 | [
"Apache-2.0"
] | permissive | ray-project/photon | 517b133d3dd04a0765f400595d13e3a95cd99900 | 63ec24478487de76a984c525c0303e3a817e885d | refs/heads/master | 2023-08-29T08:46:26.468069 | 2016-10-19T01:27:43 | 2016-10-19T01:27:43 | 68,425,226 | 1 | 1 | null | 2016-10-19T01:27:43 | 2016-09-17T01:26:57 | Python | UTF-8 | Python | false | false | 699 | py | from setuptools import setup, find_packages, Extension
photon_module = Extension("photon",
sources=["photon_extension.c", "../../common/lib/python/common_extension.c"],
include_dirs=["../../", "../../common/",
"../../common/thi... | [
"pcmoritz@gmail.com"
] | pcmoritz@gmail.com |
053534610b9b61747d4654db2ffff6a143e5e247 | 710a8800a1155b67c292a19f9a3eb2e9fba61bdd | /keygen_api/urls.py | b7196fb1f17d024d9ffc9ce4ebc8f58770403eb4 | [] | no_license | chirazcheikha/key-generator-app | 8735188cfae1ac745c62a88c744b0d29f933c2ed | 051bb5452e226975016d30e4c38848d81ac703ac | refs/heads/main | 2023-07-27T20:25:33.055334 | 2021-09-10T02:13:18 | 2021-09-10T02:13:18 | 404,097,275 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 430 | py | from django.contrib import admin
from django.urls import path,include
from crud import views
from rest_framework import routers
# registering route to serialized data
router = routers.DefaultRouter()
router.register(r'keys', views.KeyView, 'index')
urlpatterns = [
path('admin/', admin.site.urls),
path('',vie... | [
"chirazcheikha@gmail.com"
] | chirazcheikha@gmail.com |
36f5188f122b3ee8c1b8fb88b89d38942266287b | dc63bff99ae5e8013c03e1c0650b281ac6d0ba3b | /backend/blog/handler/open/blog.py | 4b7a04366b3d0d416a213f0126216aac1ea5616f | [
"MIT"
] | permissive | o8oo8o/blog | f99c6304ea5ef5e706620418f8a3db57624ee19e | 2a6f44f86469bfbb472dfd1bec4238587d8402bf | refs/heads/main | 2023-04-21T19:41:34.188436 | 2021-05-09T04:32:34 | 2021-05-09T04:32:34 | 200,951,083 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 470 | py | #!/usr/bin/evn python3
# coding=utf-8
from handler.open.base import WebBaseHandler
from service.blog import BlogSrv
class BlogHandler(WebBaseHandler):
async def get(self, blog_id):
"""
# 根据博客ID获取一个博客
:param blog_id: 博客ID
"""
blog = BlogSrv.get_blog(int(blog_id), is_read=T... | [
"a@huangrui.vip"
] | a@huangrui.vip |
862866fc41f7fa6674620d7c40d57979c7fcff77 | 9875d011bf7b478421a4a5a57c6b42c24c069903 | /examples/07_paraview/SimpleCone/LocalRendering.py | 2523ff9be9b5a9565a31f6838b1fba4384c5cdd6 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Kitware/trame | bc9a0d7d6a845050f4fb386d514bd7e9b7060a21 | 861b60718798cca2db292e65e6ad39106ba75ccd | refs/heads/master | 2023-08-20T22:42:57.129511 | 2023-08-18T04:25:32 | 2023-08-18T04:25:32 | 410,108,340 | 198 | 41 | NOASSERTION | 2023-09-14T15:29:10 | 2021-09-24T21:38:47 | Python | UTF-8 | Python | false | false | 2,534 | py | r"""
Version for trame 1.x - https://github.com/Kitware/trame/blob/release-v1/examples/ParaView/SimpleCone/LocalRendering.py
Delta v1..v2 - https://github.com/Kitware/trame/commit/37e36bdd0bc55dfa9134e4f8eba9a014dda4f865
Installation requirements:
pip install trame trame-vuetify trame-vtk
"""
import para... | [
"sebastien.jourdain@kitware.com"
] | sebastien.jourdain@kitware.com |
c9bed746fda7add413531d4186b3ad460e613fdc | d71790dc935189e8008b202d4c43c1f439fb3f82 | /mysite/base/variable_for_trans.py | be02e0d6da7c5372764f0747adbe57399efdb9cb | [] | no_license | RockyLiys/erp | 2c93846f2f0a169bd420cc3cba125ad54039f96c | f9fb551afbf47aaca7cdeba8b64a32d2fe3e30d6 | refs/heads/master | 2020-12-30T14:13:25.060004 | 2017-06-05T14:05:54 | 2017-06-05T14:05:54 | 91,294,386 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,019 | py | # -*- coding: utf-8 -*-
from django.utils.translation import ugettext_lazy as _
# 变量的翻译放在此数组中好让makemessage_ext能够检测到
list_variable_for_trans = [
_("get_emp_name"),
_("name"),
_("groups"),
_("accfirstopen_set"),
_(u"首卡常开"),
_("get_name_by_PIN"),
_(u"姓名"),
_("accmorecardset_set"),
_(u"... | [
"liyansong@weizoom.com"
] | liyansong@weizoom.com |
7ce810fe13ba0bcc23fe6cd00258925650027e53 | 6661cd69f78744040079af8c99a2a5f9d7473f7a | /exam/Template/nousethread.py | a032b0872430322608344b62ccfb1eba196b9229 | [] | no_license | Sushilprajapati/online-examination-web-application | 2c36adafbc4d9e82edee8911d1fafec9a431633e | 8ab03c162a296c32d754980e1a8cf8c554dc05b1 | refs/heads/master | 2023-03-15T13:44:00.508344 | 2021-03-07T17:55:01 | 2021-03-07T17:55:01 | 270,981,040 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 731 | py | from threading import Thread
import pyscreenshot as ImageGrab
import time
#
# def sum():
# for i in range(100000):
# print("Sushil")
# def man():
# for i in range(1000000):
# print("Chhaya")
# t1 = Thread(target=sum)
# t2 = Thread(target=man)
#
# t1.start()
# time.sleep(.1)
# t2.start()
def Takescre... | [
"susheelprajapati07001@gmail.com"
] | susheelprajapati07001@gmail.com |
146583a997648d25f329abd2cc16516579b13fa4 | 89b2db0af633ae5b5be515a04d87a5db9c9b5778 | /07-01.py | 6196721a0962d459229b4619a75fca0841d268b7 | [] | no_license | slahmar/advent-of-code-2018 | d4f6cc33997332c74758bf1a194a2db5001b5544 | 67348b501b7119558855d6034c9178285da30203 | refs/heads/master | 2020-04-09T12:40:55.213364 | 2019-02-09T18:16:46 | 2019-02-09T18:16:46 | 160,359,882 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 924 | py | from collections import deque
with open('07.txt', 'r') as file:
lines = file.readlines()
couples = [(line[line.index('Step')+5],line[line.index('step')+5]) for line in lines]
prerequisites = {}
order = ''
for couple in couples:
if couple[0] not in prerequisites:
prerequisites[c... | [
"noreply@github.com"
] | slahmar.noreply@github.com |
5d870e3b0cd04789ba780a20b773bb5dde6db19b | 319c5751d6a05371474e0fe52718ca1c64577455 | /subprocess_ls.py | b9db17411e3638cfde1190bb3246b65cc090377e | [] | no_license | abhiroyg/useful-scripts | a691840eea164cbaea11d3bab933f46daca5b903 | 66ee79347e1a446f49274ee759b7e29da3133270 | refs/heads/master | 2021-01-20T11:45:14.354531 | 2018-10-21T19:55:01 | 2018-10-21T19:55:01 | 58,490,480 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 251 | py | import subprocess
def b(folder_path):
try:
a = subprocess.check_output('ls {}'.format(folder_path), shell=True)
except:
a = ''
print filter(None, a.split())
b('/home/nineleaps/')
b('/home/nineleaps/Pictures/craigslist/')
| [
"abhilashroy.g@gmail.com"
] | abhilashroy.g@gmail.com |
81b07a97e7b77e409a6504ba04817caf89baba25 | 15eea21e7fa3531d45ad0eb8bfab305fcc0fe37a | /程序员代码面试指南-左程云/链表问题/q5.py | 845248b69b5fcfea8fefa56cc4609124d4a74bad | [] | no_license | yearing1017/Algorithm_Note | a3fcfd852903536d02f9360d96d31fc1a7aa6f8f | 8a3f1bda222cb777ff7786170c6d2071ad951ac0 | refs/heads/master | 2023-02-20T19:19:32.641519 | 2023-02-06T15:55:44 | 2023-02-06T15:55:44 | 223,118,925 | 43 | 9 | null | 2023-02-06T15:55:45 | 2019-11-21T07:55:50 | Python | UTF-8 | Python | false | false | 2,930 | py | """
问题描述:给定一个单链表的头结点head,以及两个整数from和to,在单链表上
把第from个节点到第to个节点这一部分进行反转。
例如:
1->2->3->4->5->None, from=2, to=4
调整结果为:1->4->3->2->5->None
再如:
1->2->3->None, from=1, to=3
调整结果为:
3->2->1->None
要求:
1.如果链表长度为N,时间复杂度要求为O(N),额外空间复杂度要求为O(1)
2.如果不满足1<=from<=to<=N,则不用调整
"""
# 单链表结构
class Node:
def __init__(self, value):
... | [
"yearing1017@126.com"
] | yearing1017@126.com |
c5d592b4710455595b596cad3d3570ef844a554b | 643523d89250b00b59809dbf1ec1b9a447d79489 | /search_sort/min_meeting_rooms.py | f155a9737af680926a520f5b5a3b3187cbe60f14 | [] | no_license | adarshmodh/Data-Structures-Algorithms-in-Python | 2ef51b596a837c16d9a72a09f173feb4a931dffa | d6219afa4281e95178bfddb69aa5fdb5d0685aeb | refs/heads/master | 2022-12-08T20:55:32.994194 | 2020-08-25T22:14:01 | 2020-08-25T22:14:01 | 265,917,651 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,764 | py | """
Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), find the minimum number of conference rooms required.
Example 1:
Input: [[0, 30],[5, 10],[15, 20]]
Output: 2
Example 2:
Input: [[7,10],[2,4]]
Output: 1
"""
import heapq
def minMeetingRooms(intervals):
... | [
"adarsh.modh@gmail.com"
] | adarsh.modh@gmail.com |
b5c88421aad051a281faedea524b3c35cc6b0c07 | d59282c74143cb09ddf8a67388a8adacc86e05ab | /math/202_Happy_Number.py | f9a74380bdb1b9b00b63c200c79c3e993e77bd8d | [] | no_license | mclearning2/Algorithm_Practice | f8ebe64ad26b244f4e6a9b9485cb10db834a4924 | 7ed38310078647c3d11ca29a055b697577f3eddb | refs/heads/master | 2020-07-04T09:02:59.975373 | 2019-09-06T12:51:19 | 2019-09-06T12:51:19 | 202,233,519 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 848 | py | '''
Write an algorithm to determine if a number is "happy".
A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycl... | [
"mclearning2@gmail.com"
] | mclearning2@gmail.com |
e2349b7f298d9a6052fa440b3fc315906f36d9ec | ca429f6ad184f54f8ed431fce5e5d61a87a8d9dc | /05.1.Loops/06.MinNumber.py | 0b4eccf690f9fd152b3a05f2b43978e7eab5d315 | [] | no_license | EmiliaPavlova/Learning_Python | 2ba84d4c7e42870170154df9219b67d758741d16 | 3a25c64d4a3e54b158e363a77452f1653a9610e1 | refs/heads/master | 2020-06-07T23:34:55.017197 | 2019-08-09T15:27:59 | 2019-08-09T15:27:59 | 193,115,737 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 205 | py | from sys import maxsize
n = int(input())
smallest_number = maxsize
for i in range(0, n):
number = int(input())
if smallest_number > number:
smallest_number = number
print(smallest_number)
| [
"epavl@softserveinc.com"
] | epavl@softserveinc.com |
7086f1cc76f73edceb39695f6680d0b875781e1a | 96331651bbd57dbaa92fb53215909437aca9a5b8 | /test.py | 75d9b4dc2ff50f11d59d474ae90a965d7f7322ae | [] | no_license | okkevdwal/nmt_sa | 94ec98b6415577b90490308db5121cf430d19b15 | da60f21735680b79aad01512b18bfa5eee5fcb6d | refs/heads/master | 2020-05-06T15:43:59.228955 | 2019-05-22T12:40:20 | 2019-05-22T12:40:20 | 180,205,698 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 37 | py | def main (x,y):
print x*y
main() | [
"okkevanderwal@gmail.com"
] | okkevanderwal@gmail.com |
929595b1b7243cd4cbd0b161aa2aab5df169153b | 65b15e9da9b5b88e9ce248f06bb011663ebdf22b | /post_a_comment.py | 1580f329cfe0763756953ac5b11fd67dd4a5369f | [] | no_license | JYOTITHAKUROSEM/instabot | 8ad7f82d602edd03efd83204ee50a17947b57651 | 0043aadc78345183e7d82ca0b4576b29373af9ac | refs/heads/master | 2020-12-02T16:14:32.582068 | 2017-07-11T09:39:12 | 2017-07-11T09:39:12 | 96,522,634 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 682 | py | import requests
from constants import APP_ACCESS_TOKEN,BASE_URL
from get_post_id import get_post_id
def post_a_comment(insta_username):
media_id=get_post_id(insta_username)
comment_text=raw_input("Your Comment: ")
payload={"access_token":APP_ACCESS_TOKEN, "text" : comment_text}
request_url=(BASE_URL + '... | [
"jyotithakur15111@gmail.com"
] | jyotithakur15111@gmail.com |
d08c375fec4142731d34d72bd786e25ab5438af3 | bdf14b6ff6a52a44e704a191e22467e7378167aa | /image.py | 8816e79841bcf261f103e832956850d486350dc7 | [] | no_license | OwenFeik/dndmap | f9b98c8d9f6d9c185fbf455296bfeba1c92f7c5f | 89cf2c4cd82779fb2b1f3bc0d5bded208ad20a07 | refs/heads/master | 2023-01-19T21:54:36.712155 | 2020-11-27T02:25:40 | 2020-11-27T02:25:40 | 294,429,277 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,409 | py | import io
import numpy as np
import PIL.Image, PIL.ImageTk
import gui_util
# must be either 'pillow' or 'pygame'; currently 'pygame' is somewhat faster
# if using pillow, pillow-simd is likely to offer better performance
RENDERER = 'pygame'
class ImageWrapper():
IMAGE_FORMAT = 'RGBA'
BLOB_FORMAT = 'PNG'
... | [
"owenhfeik@gmail.com"
] | owenhfeik@gmail.com |
14f25ced3a3f281101ab2d388450248a0529e8eb | a0cc20d183c2cf5817913183fa431218e7c1567a | /randomCards.py | b42880244b5162c12507c87defa63e014f0c20e1 | [] | no_license | tab1tha/Beginning | 3aa1289931da91d555b29c1b4171727c151c7447 | d0c7e0b3553a91fd0925acd979be52e8e9d39b98 | refs/heads/master | 2022-11-22T07:36:15.926509 | 2022-11-08T12:10:23 | 2022-11-08T12:10:23 | 149,529,940 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 599 | py | #this program deals a pseudorandom card each time.
# real randomness can only be achieved using the urandom() function.
values=list(range(1,11)) +'Jack King Queen '.split()
suits='Hearts Spades Diamonds Clubs'.split()
deck=['{} of {}'.format(v,s) for v in values for s in suits]
from random import shuffle
shuffle(deck) ... | [
"tambetachere@gmail.com"
] | tambetachere@gmail.com |
4d235725ff0fb5417f1d71d8b9f04900e876d8bd | 76a12d5180ebbe2c0ad24471789e1368e14b298f | /memorytools/plugins/ocr/ocr.py | 36d1582a9d5347a39b62dffb67a2be4caf5e30a6 | [
"MIT"
] | permissive | shanhaiying/MemoryTools | 213076a97a412768e5e7621b7377c4e6b0149f32 | 6a95f44fd824db9a508f0206945db32f5f712a5f | refs/heads/master | 2023-02-04T14:11:13.106216 | 2020-12-24T05:07:17 | 2020-12-24T05:07:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,067 | py | # -*- coding: utf-8 -*-
"""
@file: ocr
@author: Memory
@date: 2020/10/11
@description: ocr插件的定义
"""
from pathlib import Path
from . import BaiduOCR
from . import LatexOCR
from PIL import Image, ImageGrab, ImageDraw
from .ocrbox import OcrBox
from tools.logger import logger
from globals import BAIDU_ACCOUNTS, XUEERSI_AC... | [
"732527427@qq.com"
] | 732527427@qq.com |
b670e6a607d2b3a5ec144863a84871c42fd619f6 | 5054a97e7805aacdb6fa8ff903f5b6d0797ce422 | /scripts/acr_generate_overview_overall.py | bc56329b3164590bd232d0fc53706074261003bb | [
"BSD-3-Clause"
] | permissive | jstorrs/LAB-QA2GO | ec59ee933e16e1474ae596e9e9b5a9011dfa1902 | be434da7399d396413309f947f4b634d8fae9a17 | refs/heads/master | 2022-01-27T04:38:06.466147 | 2019-07-15T08:20:16 | 2019-07-15T08:20:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 27,289 | py | #script to generate the graphs for the overview page and to create the overview page for the acr
#!/usr/bin/python
# script to generate the overview graphs and to generate the overview html page for the gel phantoms
import os,sys
sys.path.append('/home/brain/qa/scripts/')
import cgi
import cgitb; cgitb.enable()
... | [
"christophvogelbacher@gmail.com"
] | christophvogelbacher@gmail.com |
56fdabbe1587c1823795ba24b870fd98aabe0384 | e2f823cf79c6ec89b976e7f53e0035b0eb0831cc | /01.python/ch04/ex02.py | 1b1d44dd12dc79593a00a66c1f45098a55231734 | [] | no_license | taxioo/study_python | a292ea371d5e75ff97cede040f71838dabcc9d56 | 28f9436948e806ff559a2778946b5147605f45b9 | refs/heads/master | 2023-06-13T03:58:46.843182 | 2021-07-13T08:43:19 | 2021-07-13T08:43:19 | 383,677,279 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 95 | py | print(3**3)
print(2**10)
print(5/2)
print(5//2)
print(5%2)
print(7%2)
print(8%3)
print(9%3)
| [
"taxioo@naver.com"
] | taxioo@naver.com |
dd95876820f404bb83e0407de3cbb5f7f4cb2719 | 97f74fe460e2622e42dc713abc44de29ec3b8544 | /Week7/day5/xp.py | 0a1d4f5184d98184a899207816a30f944a4f0621 | [] | no_license | amcamhi/Developers-Institute | dd54878955bc6cefdba819b9a543fb0e79b2aab0 | 255917850a0234c97a80f7de3da8c67ca94967b6 | refs/heads/master | 2022-11-24T05:53:28.301057 | 2020-08-04T13:11:49 | 2020-08-04T13:11:49 | 272,376,528 | 0 | 0 | null | 2020-06-15T15:43:27 | 2020-06-15T07:56:51 | HTML | UTF-8 | Python | false | false | 679 | py | import json
# sampleJson = """{
# "company":{
# "employee":{
# "name":"emma",
# "payble":{
# "salary":7000,
# "bonus":800
# }
# }
# }
# }"""
# data = json.loads(sampleJson)
# print(data['company']['employee']['payble']['salary'])
sampleJson = {"i... | [
"andrescamhi@gmail.com"
] | andrescamhi@gmail.com |
4f7a9fd1c215ece430e21b41ce6af42e090f8715 | 3291359d8867e7b5ca9e8befb83629810938f903 | /timetable_v3/webapp/migrations/0005_auto_20210625_1358.py | 120f34ac33c17a1128eccac0690cad55bf008e69 | [] | no_license | A-miin/timetable_v3 | f9e4610800acb83f3477dcffd2b0ce1c75d2c1d0 | 1de0885f04beec83657672275deff22b71af2de3 | refs/heads/master | 2023-06-09T18:51:44.298534 | 2021-07-02T15:01:54 | 2021-07-02T15:01:54 | 341,462,656 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 958 | py | # Generated by Django 3.1.7 on 2021-06-25 07:58
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('webapp', '0004_auto_20210507_0129'),
]
operations = [
migrations.RemoveField(
model_name='timetablegenerator',
name='course'... | [
"zulaykaisaeva@gmail.com"
] | zulaykaisaeva@gmail.com |
2d551f252fa3c728349140379132ba33e39183ad | 51970fa793ec7f92164e60c1fcbf17f62aa469d5 | /ScreamingIce/pages/views.py | 261c600db923286480ac868117163b2fcdd5b679 | [] | no_license | SixStringsCoder/pdx_coding | 6eef25490c74459feafd53a190ab06a0aaf685aa | 5853bb74a247187cec6ac0f4bb8b3a54931372e9 | refs/heads/master | 2021-01-19T20:41:23.268478 | 2017-08-24T06:37:29 | 2017-08-24T06:37:29 | 88,534,471 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 169 | py | from django.shortcuts import render
# Create your views here.
def home(request):
"""
Renders the landing page.
"""
return render(request, 'home.html') | [
"rshanlon@gmail.com"
] | rshanlon@gmail.com |
06630dccbc178eb0cd698a329c16505bf613ac97 | ba6601770cad359b3f9b2724ceb7f469081a0c33 | /djangoDemo/bin/python-config | 0216af85e8e66a6c5553f2043eacd25f86994142 | [] | no_license | merryt/djangoDemo | 57f848242025049d828320f2dd9ab9e7ffe9787a | 7243d64845747f8378c28c74c4bd754849894a27 | refs/heads/master | 2021-09-02T12:32:50.647043 | 2018-01-02T16:48:20 | 2018-01-02T16:48:20 | 115,240,629 | 0 | 0 | null | 2018-01-02T16:42:35 | 2017-12-24T04:49:16 | null | UTF-8 | Python | false | false | 2,385 | #!/Users/tylermerry/Dropbox/SideProjects/fool-devinterview/djangoDemo/bin/python
import sys
import getopt
import sysconfig
valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
'ldflags', 'help']
if sys.version_info >= (3, 2):
valid_opts.insert(-1, 'extension-suffix')
valid_opts.... | [
"tymerry@gmail.com"
] | tymerry@gmail.com | |
443ff8d3ac0f5fd82f895ebe8333083de4acfa43 | b4d334e6495f97fa20e4a19d5546cafab49c36c9 | /src/Prodavac.py | da010f2ff258bc2a65641d3ab67da5085b904fdc | [] | no_license | OMKE/CinemaApp | 892cf35312ca0e23e0fe7a33980bbe496210a2a8 | e58d251e0f52f5e60981fdca5f435d3862c6a4d9 | refs/heads/master | 2020-03-21T14:25:11.507322 | 2018-10-11T23:16:09 | 2018-10-11T23:16:09 | 138,656,235 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,027 | py | import Menadzer
import ProdavacPrikaz
import Login
import datetime
import uuid
racun = []
ukupnoZaPlatiti = []
def prodajaKarti():
print(28 * "-")
print(" Prodaja karata ")
print(28 * "-")
projekcije = Menadzer.prikazProjekcija()
nadjen = False
unosId = input("Unesite ID projekcije: "... | [
"noisewavehd@gmail.com"
] | noisewavehd@gmail.com |
4ef05b142fdc35985ff11f279c6a5933b45adfb3 | 346351a2ca85267d68f1a5897ccfb36e52b166fb | /manage.py | b88d5435e0232bd437170d646b418ac49c9131a1 | [] | no_license | jeffyromney/VRC | 1e00a1369127231eba4e8653f9ff3c5214b763c4 | 384ba7d4f08962ec8ad47141b79da475acc18142 | refs/heads/master | 2021-05-23T06:21:36.972639 | 2021-02-10T18:05:10 | 2021-02-10T18:05:10 | 42,422,738 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 246 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "vrc.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| [
"jeffyromney@gmail.com"
] | jeffyromney@gmail.com |
db378aa0c16f3ee5c69c61b89bb58d0e9d9b3077 | fd54c0886b81b49a55c31eb8c5254ce83df78785 | /Source_Code/madagascar/appussd/ussd/services/prepaid/prepaidServicesServer.py | 958a6c3c2997ac0db1b9f53b6f8c10cea1f1ef4c | [] | no_license | santsy03/RADIX | 7854896651833b1be6e3279be409db59a71c76e4 | da8f2535692697b80a6dc543b9eb270fe3d5e4d3 | refs/heads/master | 2021-01-12T09:48:32.085432 | 2016-12-13T06:01:41 | 2016-12-13T06:01:41 | 76,260,115 | 0 | 0 | null | 2016-12-13T06:01:41 | 2016-12-12T13:46:31 | null | UTF-8 | Python | false | false | 2,681 | py | #!/usr/bin/env python
from twisted.web import http
from string import Template
from twisted.internet import threads,reactor,defer
from config import debug,errorMsg
import cx_Oracle
from DBUtils.PooledDB import PooledDB
def getParams(request):
params = {}
for k,v in request.args.items():
params[k] = v[0... | [
"root@oc4686551628.ibm.com"
] | root@oc4686551628.ibm.com |
e9e2af2ca6bcc6c6f56fc553bfda90c0b95f9869 | fefb1e9b0b736da4e49d7754f8d1dbaf37f2fa6a | /.history/test_class_20210217173011.py | bce5fddaade07a680e979ac2cd09b3d00cf65f73 | [] | no_license | wh-debug/python | 5a78a2227874ebc400d075197de0adab9f55d187 | 1467eeda670f170e6e2d7c0a0550f713f1ee9d75 | refs/heads/master | 2023-03-12T22:08:12.608882 | 2021-02-17T09:49:52 | 2021-02-17T09:49:52 | 334,032,494 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 599 | py | '''
Author: 零到正无穷
Date: 2021-02-17 17:13:26
LastEditTime: 2021-02-17 17:21:47
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: \python\test_class.py
'''
class AnonymousSurvey:
def __init__(self, question):
self.question = question
self.responses = []
def show_qu... | [
"1813763848@qq.com"
] | 1813763848@qq.com |
fee879aeb0c17bd0494eed14ce79c9daf9a1cad2 | c3ef4e33bcdbd8c880f5903bdab1ae1848963ef4 | /pomodoro.py | 5a24941849eb33e61adb5c51d8a5dd8fc554ad91 | [] | no_license | permanentdaylight/pomodoro_tkinter | 1380f5a7e05c2b8d55d2adc9294e72c425a12eed | 991861ae494bae609efa9543d5ae0544617ecf8f | refs/heads/master | 2021-06-02T03:28:23.989775 | 2016-08-17T22:05:16 | 2016-08-17T22:05:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,455 | py | import tkinter
from tkinter import messagebox
DEFAULT_GAP = 60 * 25
DEFAULT_GAP = 5
class Pymodoro:
def __init__(self, master):
self.master = master
self.mainframe = tkinter.Frame(self.master, bg='white')
self.mainframe.pack(fill=tkinter.BOTH, expand=True)
self.timer_text = tkint... | [
"oakesonline@gmail.com"
] | oakesonline@gmail.com |
648cbaab7881874ead2cdc6da70524daa33610e1 | c716b5a5d68e2c17dd83d3b051e6d7791ae50e5b | /main.py | 566f4881a4e1e647cde880bad52db2633881cb3a | [] | no_license | Akon-111/telegram_bot | 8146a24e709bda761406994e0d212df7fddaa7b2 | 293be9b84846429994a68b52c855bbe29250501a | refs/heads/main | 2023-02-10T12:37:03.018008 | 2021-01-09T10:56:16 | 2021-01-09T10:56:16 | 328,089,160 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,695 | py | from telegram import ReplyKeyboardMarkup
from telegram.ext import Updater, CommandHandler, CallbackContext, ConversationHandler, MessageHandler,Filters
from covid19 import Covid19
buttons = ReplyKeyboardMarkup([[ 'Statistika'],['Dunyo']], resize_keyboard = True)
covid = Covid19()
def start(update,context):
updat... | [
"aromjonadhamov@mail.ru"
] | aromjonadhamov@mail.ru |
0ad006c54cbc1cf67afd98386a4474fad49ffcab | 8f7b7a910520ba49a2e614da72f7b6297f617409 | /Problemset/sqrtx/sqrtx.py | 6624e19f4dc011f04130cc73002bce4d6d2ef5c9 | [] | no_license | fank-cd/python_leetcode | 69c4466e9e202e48502252439b4cc318712043a2 | 61f07d7c7e76a1eada21eb3e6a1a177af3d56948 | refs/heads/master | 2021-06-16T23:41:55.591095 | 2021-03-04T08:31:47 | 2021-03-04T08:31:47 | 173,226,640 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 481 | py |
# @Title: x 的平方根 (Sqrt(x))
# @Author: 2464512446@qq.com
# @Date: 2020-11-23 17:00:58
# @Runtime: 48 ms
# @Memory: 13.5 MB
class Solution:
def mySqrt(self, x: int) -> int:
left, right = 1, x
res = 0
while left <= right:
mid = left + (right-left)//2
sqrt = mid * mid... | [
"2464512446@qq.com"
] | 2464512446@qq.com |
1f33da6f38fbb1be0b6988122f5be9fc863eb5c5 | 8f43323e42495b766cae19a76a87d24c2ea2b086 | /compiler/tests/11_ms_flop_array_test.py | ce24f49a2230155c4473399da4189fc694c32e97 | [
"BSD-3-Clause"
] | permissive | rowhit/OpenRAM | 7c78b3998044d8c30effd33c9176dc07491df949 | f98155fc0b6019dc61b73b59ca2a9d52245bb41c | refs/heads/master | 2021-05-05T22:32:43.177316 | 2017-12-19T15:39:43 | 2017-12-19T15:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,627 | py | #!/usr/bin/env python2.7
"""
Run a regresion test on a dff_array.
"""
import unittest
from testutils import header
import sys,os
sys.path.append(os.path.join(sys.path[0],".."))
import globals
from globals import OPTS
import debug
import verify
import importlib
#@unittest.skip("SKIPPING 20_sram_test")
class dff_arra... | [
"mrg@ucsc.edu"
] | mrg@ucsc.edu |
de9931a68f802ab5e6176d363006cdef2f69ac7b | 104a73fff0fb23e002f1b75167fea12364cf6574 | /timeline_logger/migrations/0002_auto_20160624_1045.py | 071bfa7be73e29e2967c21c8d04ef98cbf724d75 | [
"MIT"
] | permissive | maykinmedia/django-timeline-logger | 2ae4c3dd450c4a1674ee258015962e184a5c05fe | 63f656699b11f242e7aaad1d07cb80ebc953cd48 | refs/heads/master | 2023-07-20T13:08:41.703719 | 2023-07-12T09:29:31 | 2023-07-12T09:29:31 | 61,119,762 | 56 | 7 | MIT | 2023-07-12T09:12:37 | 2016-06-14T12:08:51 | Python | UTF-8 | Python | false | false | 520 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-06-24 10:45
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("timeline_logger", "0001_initial"),
]
operations = [
migrations.AlterModelOptions(
... | [
"sergei@maykinmedia.nl"
] | sergei@maykinmedia.nl |
b7cc83503174e4285c45f749f026d6c253fbba70 | eb07b61f41e6d8e3a9c36e92ac0f41e180a63a87 | /excelerador.py | a61ffda3337b70b61b951a3dbbf6fbc0f3864029 | [] | no_license | grodriguece/NPO | 11b6640d79c38f2a9926a53f60201ef9d5fad099 | 087774f73b2e4af0236839bbc5c69c8ccfad5257 | refs/heads/master | 2023-02-14T22:10:25.312262 | 2021-01-11T19:00:04 | 2021-01-11T19:00:04 | 280,881,032 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,611 | py | def pasarchivo(ruta, datb, tablas, tipo):
"""copy to csv files tables from query results"""
import sqlite3
import pandas as pd
import timeit
from pyexcelerate import Workbook
from pathlib import Path
from datetime import date
dat_dir = Path(ruta)
db_path1 = dat_dir / datb
start_t... | [
"grodriguece@gmail.com"
] | grodriguece@gmail.com |
8a78e1eeec85f9bc4813694064d41de800fa6166 | 0559d727fbf03410674daf16f2be7dd335a1159d | /hello.py | 4aa3a10a5eb408c937d7ae874e5978f733631054 | [
"MIT"
] | permissive | sanjaykim/class | 8c89da225477f1069b04423976266f5bd696924c | 48a96045476873c56adaaa7ef9ce81db5e785f76 | refs/heads/master | 2021-01-19T01:05:24.747735 | 2016-06-16T08:51:40 | 2016-06-16T08:51:40 | 61,268,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 42 | py | import pandas as pd
print("Hello World") | [
"sanjay@sanjay.gq"
] | sanjay@sanjay.gq |
a775d9b0bb304911d934449b4f80e22ed88eba30 | 9ef923b4f24e1db90cc2904556fe30c4d99abff6 | /prime-numbers.py | b24d111f14ba0accca8acf507349931dddeb2489 | [] | no_license | magda-zielinska/python-level1 | f8ca551fb6b136a8eef51a24a617eea475c34b85 | c6a19b6d35a1b68ba6294e82074e3085e8d34c6f | refs/heads/master | 2021-10-21T07:43:37.666621 | 2019-03-03T11:00:21 | 2019-03-03T11:00:21 | 173,561,698 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 320 | py | def IsPrime(num):
if num % 2 == 0 and num > 2:
return False
if num % 3 == 0 and num > 3:
return False
if num % 4 == 0:
return False
else:
return True
#
# put your code here
#
for i in range(1,20):
if IsPrime(i + 1):
print(i+1,end=" ")
print() | [
"zielinska.magdalen@gmail.com"
] | zielinska.magdalen@gmail.com |
a56d637b3b5b50849575e94c56f6cfec42b1dc51 | eb3ac9092eeb0b9f738cd4317b46be49de7774c5 | /test_mg-waypoint-test-2.py | f4e3155e336cc56e9cdd60f23f0f5ee3932848b2 | [] | no_license | tiny-dancer/deepracer-fun | e8a32852d62239d819cda018755b8ac2c9b49429 | bea81061d964e7120335c44d055559d9eb49dc8e | refs/heads/master | 2020-07-16T20:58:36.963787 | 2020-02-23T21:20:23 | 2020-02-23T21:20:23 | 205,867,673 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,766 | py | import pytest
import os
from mg_waypoint_test_2 import reward_function
def test_reward_function():
os.environ['LOCAL_TESTING'] = 'true'
params = {
'all_wheels_on_track': 1,
'waypoints': [[6.309836387634277,2.717386484146118],[6.195788621902466,2.7166789770126343],[6.081685543060303,2.71536791... | [
"grose.matthewf@gmail.com"
] | grose.matthewf@gmail.com |
801d15a87798caa4cf2a52967cbd60c92b086f45 | 636b31e9bef7c82183f288d441f08d448af49f9c | /parlai/mturk/tasks/light/light_chat_eval/task_config.py | 5f9e334abcba8a67746b5518ff0e9e64cf26b9d2 | [
"MIT"
] | permissive | ShaojieJiang/tldr | a553051c6b615237212082bbc21b09e9069929af | c878ed10addbae27fa86cc0560f168b14b94cf42 | refs/heads/master | 2023-08-21T23:36:45.148685 | 2020-04-08T15:09:35 | 2020-04-08T15:09:35 | 247,427,860 | 12 | 0 | MIT | 2023-08-11T19:52:22 | 2020-03-15T08:25:21 | Python | UTF-8 | Python | false | false | 1,381 | py | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
task_config = {}
task_config['frontend_version'] = 1
"""A short and descriptive title about the kind of task the HIT ... | [
"s.jiang@uva.nl"
] | s.jiang@uva.nl |
6da1ef318047a6a8dabbd5231cdc3bbccdb5658b | 30fa4bb7b0cb9b72aab786af3ed7d2462a1e72bf | /v_env/lib/python3.7/enum.py | e275cd25667f3e78f3e1d8a3bba70e3438e155a9 | [
"MIT"
] | permissive | buds-lab/psychrometric-chart-makeover | 3be2f45455b050a6b0673d232b2e02707e34f28a | e7267f57584d8ba645507189ea4a8e474c67e0de | refs/heads/master | 2022-12-11T16:21:08.114952 | 2019-07-24T14:28:12 | 2019-07-24T14:28:12 | 148,023,677 | 6 | 1 | MIT | 2021-06-01T23:47:24 | 2018-09-09T12:36:05 | Python | UTF-8 | Python | false | false | 93 | py | /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/enum.py | [
"p.jayathissa@gmail.com"
] | p.jayathissa@gmail.com |
2b06a62180b5b84c2ac1e7b938b0c1fcf65e79a7 | feface5c27a81ac1e79f14c890166a58a02caeeb | /flaskr/youtube2.py | ce64db78e0710d230a355e2954f46bf5e7043c1c | [] | no_license | acx2o/boc_music | bd3d39f784b505c362c047de8c051d493b1810da | d1c8818705925417ad720b3550a32255fc2fceee | refs/heads/master | 2020-03-19T04:20:27.084298 | 2018-07-19T05:44:06 | 2018-07-19T05:44:06 | 135,817,900 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,220 | py |
from apiclient.discovery import build
from apiclient.errors import HttpError
from oauth2client.tools import argparser
import os
# Set DEVELOPER_KEY to the API key value from the APIs & auth > Registered apps
# tab of
# https://cloud.google.com/console
# Please ensure that you have enabled the YouTube Data API for y... | [
"acx2o.mm@gmail.com"
] | acx2o.mm@gmail.com |
57cddf491e2bb50812cbc97ea8ec4dd626164350 | 32cd1029b15f481c763f597fc824736de4e0b1ac | /setup.py | a37e482f0259ac707687008d6380e83606af3553 | [] | no_license | renero/dataset | 7805825893247612a7a82f47c61fd27bdf24f325 | a7771f10c72c2f1a9db0453d4224592e455c5a2a | refs/heads/master | 2023-07-22T08:08:05.669928 | 2021-07-19T13:50:34 | 2021-07-19T13:50:34 | 174,870,468 | 7 | 8 | null | 2023-07-06T21:55:03 | 2019-03-10T19:26:52 | Jupyter Notebook | UTF-8 | Python | false | false | 1,389 | py | # -*- coding: utf-8 -*-
# Copyright (C) 2021 Jesus Renero
# Licence: MIT
import codecs
import os.path
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
with open('README.md', encoding="utf-8") as f:
long_description = f.read()
def read(r... | [
"jesus.renero@gmail.com"
] | jesus.renero@gmail.com |
3420d95ed0d3806058205bc6ef1f5ccf8d2eb0c4 | 7a5bf238df905ec2e0fdd63edf4132f87ce7421a | /Train/model/__init__.py | e3bb74a5f97580ee5505140fd7be1b65691befaf | [] | no_license | scott-mao/LPNet-PyTorch | f14aaea19f4446e623ecf3401c1612d5313e9f9a | 1c38cc7213ea3eb50b62195274f726c4a8da545b | refs/heads/main | 2023-03-27T08:54:18.030090 | 2021-03-31T06:29:40 | 2021-03-31T06:29:40 | 356,148,832 | 5 | 1 | null | 2021-04-09T05:37:36 | 2021-04-09T05:37:36 | null | UTF-8 | Python | false | false | 6,398 | py | import os
from importlib import import_module
import torch
import torch.nn as nn
from torch.autograd import Variable
class Model(nn.Module):
def __init__(self, args, ckp):
super(Model, self).__init__()
print('Making model...')
self.scale = args.scale
self.idx_scale = 0
sel... | [
"cvjunchengli@gmail.com"
] | cvjunchengli@gmail.com |
2cabb97340331fa3487eb8d75167daf5abeae380 | 97a818fd366221c92a2ade0445135740cfee4fa8 | /app/controllers/system_configuration_controller.py | 1a9f00c6423655fb1be39cdeec42055cbe8b448e | [] | no_license | f228476653/parking_server_code_v2 | e55cbeeb1f7dd2640b547a27bf0680c1f5bd2b5c | 00eb1a81d120bd2978d97a02c77af01148142454 | refs/heads/main | 2023-02-10T16:19:35.137510 | 2020-12-31T00:33:15 | 2020-12-31T00:33:15 | 325,676,426 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,229 | py | import json
from app.controllers.controller import Controller
from app.decorators.authorize import authorize
from app.controllers.api_response import ApiResponse
from app.services.system_configuration import SystemConfigurationService
class SystemConfigurationController(Controller):
async def create_syste... | [
"huilong@gmail.com"
] | huilong@gmail.com |
18506f3fbc27c4b41b2452c10e701ae411a989f3 | 6cf39b2089734e049e7c8ea5bc676077a10a436b | /countries/migrations/0006_auto_20200816_0022.py | e75f3ffcf31cd537cf921108c0bcc19bb9a3fa8f | [] | no_license | Azmah-Bad/where2go-backend | 3869d148f12b2a45265e33c923602f7ca6b9b605 | f56e131d934875b2d116088ce928e48d314fa152 | refs/heads/master | 2022-12-27T15:19:03.135731 | 2020-10-14T10:56:15 | 2020-10-14T10:56:15 | 288,805,248 | 0 | 1 | null | 2020-10-01T12:49:02 | 2020-08-19T18:19:00 | Python | UTF-8 | Python | false | false | 410 | py | # Generated by Django 3.1 on 2020-08-16 00:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('countries', '0005_auto_20200816_0021'),
]
operations = [
migrations.AlterField(
model_name='country',
name='info',
... | [
"56384031+Azmah-Bad@users.noreply.github.com"
] | 56384031+Azmah-Bad@users.noreply.github.com |
aceca9bba4cb87a2ea51e8dab7fe35a25df64288 | c7da4e737a6a8c276581907ef4dd5c926929a01a | /Module6/assignment2.py | d86de7d3b1575d667063a6630c6753dfd3eb61c9 | [
"MIT"
] | permissive | galinams/Programming-with-Python-for-Data-Science | e31f7d14d5be4fe5b37e4d643c890aa8d1e66489 | 9f37a6698b58becbfccc8ef44df73104c3f8e858 | refs/heads/master | 2021-01-22T06:11:11.330226 | 2017-11-23T23:06:33 | 2017-11-23T23:06:33 | 81,742,084 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,564 | py | import pandas as pd
# The Dataset comes from:
# https://archive.ics.uci.edu/ml/datasets/Optical+Recognition+of+Handwritten+Digits
# At face value, this looks like an easy lab;
# But it has many parts to it, so prepare yourself before starting...
def load(path_test, path_train):
# Load up the data.
# You probab... | [
"korolvlondone@gmail"
] | korolvlondone@gmail |
a9eb87d1a7b947e187a134b36a9714680f316838 | d3f6083ae5c2d5d3233339f57e53ea0ecaae9e9f | /src/database/exceptions/user_recovery_token_not_found_error.py | 9698108a76e020077b8bc222344082bf8c33157a | [] | no_license | crpistillo/taller2-auth-server | c7db4177f22a652a9e696212aac48df8a945e9d1 | 86cd3b9a753a0da68dc10adbedc1a96860a31fa2 | refs/heads/master | 2022-11-18T18:29:19.177046 | 2020-07-25T03:10:29 | 2020-07-25T03:10:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 56 | py | class UserRecoveryTokenNotFoundError(KeyError):
pass | [
"cpistillo@fi.uba.ar"
] | cpistillo@fi.uba.ar |
b47b24dc2788e39f4046e9ec28ca28fc5c85b985 | 91d1a6968b90d9d461e9a2ece12b465486e3ccc2 | /ds_write_1/snapshot_delete.py | 339319e6eb10dc8e4205981138e524afa8f8c359 | [] | no_license | lxtxl/aws_cli | c31fc994c9a4296d6bac851e680d5adbf7e93481 | aaf35df1b7509abf5601d3f09ff1fece482facda | refs/heads/master | 2023-02-06T09:00:33.088379 | 2020-12-27T13:38:45 | 2020-12-27T13:38:45 | 318,686,394 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,055 | py | #!/usr/bin/python
# -*- codding: utf-8 -*-
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import write_one_parameter
# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ds/delete-snapshot.html
if __name__ == '__main__... | [
"hcseo77@gmail.com"
] | hcseo77@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.