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
00fd2f7b85c5f249a96b5b79c00dc2cd07ceb413
9a3d3684df45ff87d24ee7fe0f8b0444640f830a
/scipy/interpolate/ndgriddata.py
280d9187cdeb859056afcffab219cc46ab08cd67
[]
no_license
dagss/private-scipy-refactor
fcb48627fdd7aa5820dffb48c1ae89d1d9abcbb8
dcc4efacf8702a56c2b8e8ffc546fd87499a3eeb
refs/heads/master
2020-12-25T12:41:03.863412
2010-10-14T15:39:40
2010-10-14T15:39:40
1,047,327
0
0
null
null
null
null
UTF-8
Python
false
false
5,755
py
""" Convenience interface to N-D interpolation .. versionadded:: 0.9 """ import numpy as np from interpnd import LinearNDInterpolator, NDInterpolatorBase, \ CloughTocher2DInterpolator, _ndim_coords_from_arrays from scipy.spatial import cKDTree __all__ = ['griddata', 'NearestNDInterpolator', 'LinearNDInterpolat...
[ "ptvirtan@d6536bca-fef9-0310-8506-e4c0a848fbcf" ]
ptvirtan@d6536bca-fef9-0310-8506-e4c0a848fbcf
45258e0051e16203d967f3eaf9ac4c325ba93335
0b4128cecc47be4f6e797633d1993d590d09174e
/Week 6/Assignment 4.6.py
96597c91712480408d3c77b38a701a81c0deff88
[]
no_license
ShubhamBhavsar101/Coursera--Programming-for-Everybody-Getting-Started-with-Python-
0acd4521e5f351498de0d5c855f4d251a79cf3f7
4f299467907771187d90fac6af65e89932fc482b
refs/heads/master
2022-12-27T14:49:02.048259
2020-09-21T15:13:03
2020-09-21T15:13:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
# 4.6 Write a program to prompt the user for hours and rate per hour using input to compute gross pay. # Pay should be the normal rate for hours up to 40 and time-and-a-half for the hourly rate for all hours worked above 40 hours. # Put the logic to do the computation of pay in a function called computepay() and us...
[ "noreply@github.com" ]
ShubhamBhavsar101.noreply@github.com
c66a825736493a97608e9eb55aa216b772ab328f
67950fbe22d0aa42b1846075e2615e8a5345aa3f
/server/settings.py
3bbb6566b3487192978af9e598943b059ab17a99
[]
no_license
adam-balassa/traffic-signs-model
6a16eb9ad1cef72682b4de2ed29d968d1db99ced
beb86b5f09e7dfb47b3a716a9dac22cf73953cdf
refs/heads/master
2023-01-29T22:37:20.635807
2020-12-10T16:33:00
2020-12-10T16:33:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,855
py
""" Django settings for server project. Generated by 'django-admin startproject' using Django 3.1.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/ """ from pathlib ...
[ "balassaadi@gmail.com" ]
balassaadi@gmail.com
c4683ca53729e536dd66f6af04b8cf056e1e8931
cf71fb2fe62838bc5858f52c8da1e1798a76e149
/geometry/gui/widgets.py
6d9eabd9b6dd3ff00d237908bed541d970ab5720
[]
no_license
demidov91/university-oop-geometry
0d505042ffa535371a30aa69fe7926f3cdfb5d0e
5d8975492b3dfa0732c41d724bbbaf92fc2cc6d9
refs/heads/master
2020-04-29T16:33:09.063404
2019-03-25T14:37:53
2019-03-25T14:37:53
176,264,962
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
import tkinter as tk from decimal import Decimal from geometry.core import Point import logging logger = logging.getLogger(__name__) class PointWidget(tk.Frame): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.x = DecimalWidget(self, width=10) self.y = Decima...
[ "demidov91@mail.ru" ]
demidov91@mail.ru
6fe5fa658c2e381056eab5db42ea004abdd77e1d
d27ec32dda69e07a6ca85a3c9f76bff2dc164925
/Ex 2.py
6cddc6e1bff9d4666c5c12657bf2fc6ffeb300fa
[]
no_license
NicolasKujo/Lista-3-TPA
f881a689caae7c664573c18e231ddca1e91b05e4
9e39cc41842013831976b136e0900bf4c52c5278
refs/heads/main
2023-07-12T05:45:01.573958
2021-08-24T23:26:58
2021-08-24T23:26:58
399,627,799
2
0
null
null
null
null
UTF-8
Python
false
false
542
py
print ('ola, sou um programa que vai te ajudar com a tabuada, basta inserir um numero de 1 a 10 que eu mostrarei a tabuada dele') print() a = int(input('insira um numero de 1 a 10: ')) b = 8 d = 1 while a > 10 or a < 1: print() print ('so vale numeros de 1 a 10: ') print() a = int(input('insira um numero d...
[ "marcela.souza.nr@gmail.com" ]
marcela.souza.nr@gmail.com
33f4ef7b5dbd34f4124d07d0de610e533ec31f91
5e6bb81b207f3306bca3a2412dcc86525ff09b51
/Django_test01/bookstore2/admin.py
0355d7977e527ccf07eb26e8c78a61ef2d03c17f
[]
no_license
ssk1987/FullStackExerciseLibrary
f16ad4a0ab2ce6864d00905738db0832a8e916a1
e050bffce3d8497b47980aab30ea99409f61856b
refs/heads/master
2021-06-03T02:40:06.840380
2021-03-27T11:37:22
2021-03-27T11:37:22
254,331,226
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from django.contrib import admin from . import models # Register your models here. admin.site.register(models.Publisher) admin.site.register(models.Book2)
[ "10293665@qq.com" ]
10293665@qq.com
3aab0a4cc763eab0afb829f945e472bc6030ed7d
dad01fede3f4802e98d5e6ef1d7a3d2c1c448257
/Algorithm/Greedy(탐욕법)/큰 수 만들기.py
76c1e8bc8fc0e9fb25049b6e882183253d7b71b9
[]
no_license
alyssa1996/CodingExercise
55ae8b1833552f1106a08005d651289d2dd5fd60
d31c3822a39ae8a301d48e1926fa787f556cff87
refs/heads/master
2021-10-17T04:11:22.155442
2021-10-08T13:45:08
2021-10-08T13:45:08
218,627,544
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
''' 이걸 풀려고 몇 시간동안 머리 싸매다가 결국 다른 사람들의 풀이를 보았는데, 핵심은 스택이었다. 탐욕법 알고리즘이라고 나와있긴 했지만 결국 사용해야 하는 자료구조는 스택이었고, 이 문제를 통해 알고리즘 문제를 해결하는데 자료구조가 어떻게 사용되며 왜 중요한지 어렴풋이 감이 잡혔다. stack 마지막에 들어있는 숫자(stack[-1])와 for문을 돌며 순서가 된(?) 숫자(i)를 비교하여 stack[-1]의 값이 i보다 크거나 같을 때까지 stack에서 마지막 값을 계속 삭제한다. 삭제가 될 때마다 k의 값도 감소시켜 제거해아하는 숫자의 조건을 계속 업데이트...
[ "jisu.park@blum.com" ]
jisu.park@blum.com
aea1c99516c53221118823234f915f92a4392fff
4988a9a2ee1c82f411fae51d5ff5613ecd62774f
/helloworld/ch03/confRead.py
ede7291cd099550736f000a431b20ea6b4e4b0d6
[]
no_license
shenchuang006/python
39e7853fe7e25026e4f491bd45a33c8b60a3b66b
946aab131a749b5cbebf261fd1c87546813d44f7
refs/heads/master
2022-12-23T10:29:50.833789
2019-11-27T06:54:21
2019-11-27T06:54:21
224,332,249
0
0
null
2022-12-16T06:23:37
2019-11-27T03:01:54
Python
UTF-8
Python
false
false
868
py
# /usr/bin/python import ConfigParser import string, os, sys import importlib cf = ConfigParser.ConfigParser() cf.read("test.conf") # return all section secs = cf.sections() print('sections:', secs) opts = cf.options("db") print('options:', opts) kvs = cf.items("db") print('db:', kvs) # rea...
[ "shenchuang@yunjiglobal.com" ]
shenchuang@yunjiglobal.com
3c06b630ecc6a7b987a0d44486d3347d1b66bdc8
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/lib/tests/test_xblock_utils.py
1bd926c648d0c4209e9fe4b68a6e1af8ae596d70
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
9,291
py
""" Tests for xblock_utils.py """ import uuid from unittest.mock import patch import ddt from django.conf import settings from django.test.client import RequestFactory from opaque_keys.edx.asides import AsideUsageKeyV1, AsideUsageKeyV2 from web_fragments.fragment import Fragment from xblock.core import XBlockAside ...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
4bc0bc66720acadb4e82c6913dc1c2cc79d5bbad
b9cb7886ba2a42dc2c50b55bfb5c730ccd6e083a
/data/checkerboard.py
c3e776a7d3f632660d01b0554e6e4754233b7e1c
[]
no_license
will-jac/sskm
0ca72d2745c2a2d9ac0289c6e571d3391d4cac68
9024e96927d906d0f09eb60f56cb4a66d52084d6
refs/heads/main
2023-04-07T18:02:58.284592
2021-04-12T05:09:54
2021-04-12T05:09:54
354,688,559
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
import numpy as np import util def generate_data(shape=(1000000, 2), board_range=2, noise=10, seed=None, shuffle = True): board_range = float(board_range) rng = np.random.default_rng(seed) X = rng.uniform(-board_range, board_range, shape) y = np.zeros(shape[0]) noise_array = rng.normal(0, noise, s...
[ "j.william@ou.edu" ]
j.william@ou.edu
a9003dd2139565c9b6a95fbf77d8a39cff6ba778
faf267a86fba5658a5b632dfcafd1fd924cef883
/images/migrations/0001_initial.py
96fd0aad1077b082bddee4ba6df65f0058882918
[]
no_license
toxicOxygen/bookmark_app-
ee07c9b85420b1c793489abf298b8f56149cebb4
41be63e15b4488e5a79815528a41986bc5b2ad6f
refs/heads/master
2022-12-13T22:13:08.070915
2020-09-30T21:34:15
2020-09-30T21:34:15
251,190,284
0
0
null
2022-12-08T03:55:43
2020-03-30T03:20:46
JavaScript
UTF-8
Python
false
false
1,090
py
# Generated by Django 3.0.4 on 2020-03-06 15:13 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...
[ "kwakukusi30@outlook.com" ]
kwakukusi30@outlook.com
597040ed63c80dc77fce45caef2782583890d690
a4c9d1abfb283294d2d5402c1cebf8bdcc31f065
/Tests/Alliaria.py
6e5470fe7f22140269392a9a8f68616954b17027
[]
no_license
garcinc/Projet-L3
623bf8635a16d8c096efe6804bc1547f907a00ee
6ec942f99ddeef17aa7e3f85c889ed045a4e4b9a
refs/heads/main
2023-06-05T02:46:44.688327
2021-06-30T13:26:06
2021-06-30T13:26:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
import os import pandas as pd from functions import * User = "Aurélien" path_to_train , path_to_folder = user_paths(User) ############# Transform class_names into class_names_2 ############# # Dataframe with id_species, species_name data = pd.read_csv(os.path.join(path_to_folder,"class_names_2.csv")) for i in ran...
[ "aurelien-mail@orange.fr" ]
aurelien-mail@orange.fr
f42980689431b7929ec800fdedd6bd583e210daf
553aba94bca1f4d9a250a61e87d7f85e2e26a240
/filter_packets.py
a0b8265b363f2ddca232678977b02548a3823636
[]
no_license
nickman3422/Network-Packet-Analyzer
b32266163f6fae070d012e6a3eb3bf4a20bcbeab
b920b664d5bfe5128c3eb9f5f2ee8a7661e4bf20
refs/heads/main
2023-01-08T14:07:20.552846
2020-11-17T18:03:53
2020-11-17T18:03:53
313,701,915
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
import os def filter() : print 'called filter function in filter_packets.py' files = ('Node1', 'Node2', 'Node3', 'Node4') for f in files: if os.path.exists('data/' + f + '_filtered.txt'): os.remove('data/' + f + '_filtered.txt') with open('data/' + f + '.txt', 'r') as fp: with open('data/' + f + '_filte...
[ "noreply@github.com" ]
nickman3422.noreply@github.com
601a3f8c97fd36a12e645631b212de82dac87682
ce6d74994bce49411f00f5053f56fb3b7c30bd50
/leetcode/prac10.py
387c9c657b00bec6eccc053770626f0dd75c3bb7
[]
no_license
zhengjiani/pyAlgorithm
9397906f3c85221e64f0415abfbb64d03eb1c51e
dbd04a17cf61bac37531e3337ba197c4af19489e
refs/heads/master
2021-07-11T19:07:26.480403
2020-07-16T00:25:24
2020-07-16T00:25:24
179,308,500
0
0
null
null
null
null
UTF-8
Python
false
false
2,039
py
# -*- coding: utf-8 -*- # @Time : 2019/4/18 16:57 # @Author : zhengjiani # @Software: PyCharm # @Blog :https://zhengjiani.github.io/ """ 题目描述: 请实现一个函数用来判断字符串是否表示数值(包括整数和小数)。 例如,字符串"+100","5e2","-123","3.1416"和"-1E-16"都表示数值。 但是"12e","1a3.14","1.2.3","+-5"和"12e+4.3"都不是。 目前看到三种解法:正则解法,剑指解法以及有限自动机解法 """ def is_numb...
[ "936089353@qq.com" ]
936089353@qq.com
0a668af03d88ae76632d2eed1fd4d0c2cb51036a
d066f7fe739fb78f74ec2de8ccbfefdd4270f60f
/tests/modules/deploy/apt/test_deploy.py
8efbe00aaa2d9008d24a9786855865ae5bc31f49
[ "MIT" ]
permissive
AppImageCrafters/appimage-builder
666e75363a74f615cdb3673b3ca9d51a6d292a49
f38699ef3644fa5409a5a262b7b6d99d6fb85db9
refs/heads/main
2023-08-17T06:34:54.029664
2023-06-03T17:51:04
2023-06-03T17:51:04
218,847,680
270
54
MIT
2023-09-06T17:04:18
2019-10-31T19:44:17
Python
UTF-8
Python
false
false
1,713
py
# Copyright 2021 Alexis Lopez Zubieta # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publi...
[ "contact@azubieta.net" ]
contact@azubieta.net
d7b428e5f34305e7b270c4b1473e0e3b9549bd8e
a66c7158d201f98f15a3859b7e88155c4463c61c
/Choice.py
8f70697a09da145edffc19bff52fc00087680ac3
[]
no_license
pengwei11/Automation3.0
9faa957874e6897bf2dc66e94a6ed78299aeb004
862e515d6a1868032f0b267641938c52bf62cd86
refs/heads/master
2022-12-11T11:53:58.662565
2020-07-31T03:28:34
2020-07-31T03:28:34
283,929,855
1
0
null
2022-11-22T05:01:48
2020-07-31T03:09:39
Python
UTF-8
Python
false
false
2,563
py
from PyQt5 import QtCore, QtWidgets from PyQt5.QtWidgets import QDialog from PyQt5.QtGui import QIcon from Utils.ConfigRead import * from QtGui.gui import Automation from QtGui.gui import Interface class Choice(QDialog): def __init__(self, parent=None): super(Choice, self).__init__(parent) self....
[ "1249294960@qq.com" ]
1249294960@qq.com
cf771d30b18d12a593a2ae992d3a9b1a077f4d60
871dddb5c8059d96b767a323b0f87d3fbb62e786
/vint/ast/plugin/scope_plugin/builtin_dictionary.py
0ab9bdd21b0047f5b8dcb6864ae438e520d60f19
[ "MIT" ]
permissive
msabramo/vint
6ef12ed61d54d0d2b2a9d1da1ce90c0e2c734ab2
f13569f2a62ff13ff8ad913e7d6fb2c57953af20
refs/heads/master
2023-08-24T01:20:14.699485
2014-12-31T18:28:59
2014-12-31T18:28:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,285
py
BuiltinVariables = { 'beval_col': True, 'beval_bufnr': True, 'beval_lnum': True, 'beval_text': True, 'beval_winnr': True, 'char': True, 'charconvert_from': True, 'charconvert_to': True, 'cmdarg': True, 'cmdbang': True, 'count': True, 'count1': True, 'ctype': True, ...
[ "yuki.kokubun@mixi.co.jp" ]
yuki.kokubun@mixi.co.jp
a172a2d0fc5b16f8e96e73a969bb995ac3af93e1
79820abb4257f099d6a8441eb05beb748798d5e1
/log_core.py
5591d6d0eab2ab3b31e9946d35e0ab510c0fb59c
[]
no_license
leighjpeter/python
f1683e166f50f74347f96af7dc527fde007accd2
b99148472f046ed746289a4b3a20ff2c959c417b
refs/heads/master
2022-03-17T05:42:49.929625
2019-05-29T03:07:49
2019-05-29T03:07:49
108,529,455
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import logging logger = logging.getLogger('main.core') def run(): logger.info('Core Info') logger.debug('Core Debug') logger.error('Core Error')
[ "leighj@163.com" ]
leighj@163.com
9ebc50c3950917c8b758138d6f68fd151cad4891
4371491b93bc2e9feb7d679bd30c3f40f1ec2052
/top_10_tags_mapper.py
7424acb723861a77f71f26bbf168088d7ba42c80
[]
no_license
cmohite/Intro_To_Hadoop_Udacity_Course_1
57022df16f516f0cf8191cd69e2c1a218f951362
a14a98e5450fcbdc8baea6e8a4fa7543cc2d7146
refs/heads/master
2016-09-13T14:27:15.228536
2016-05-24T12:18:30
2016-05-24T12:18:30
58,108,463
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
#!/usr/bin/python import sys from datetime import datetime for line in sys.stdin: data = line.strip().split("\t") if len(data) == 19: tag_names = data[2] author_id = data[3] node_type = data[5] if author_id == "author_id": continue #print "{0}\t{1}\t{2}".format(node_type, author_id, tag_names) ...
[ "cmohite@gmail.com" ]
cmohite@gmail.com
6d1276874a86938484b529f9876b2f83d6d872a0
fc85938507fe52534ef3043f24adb8edab96c46e
/tests/test_breastfeeding.py
907a9f83e40531ececb22280f2d720b3710dc206
[ "MIT" ]
permissive
gkovaig/apex_iud_nlp
00e165fcc81bb6325b460cb2ea322e2622856f02
f59afbd5d19d6bae21264f6de7ee24382ccb694e
refs/heads/master
2023-02-14T15:24:08.211611
2021-01-05T19:20:30
2021-01-05T19:20:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,095
py
import pytest from apex.algo.breastfeeding import LACTATION_VISIT, BF_UNKNOWN, BF_EXACT, BF_NO_EXACT, EXPRESSED_MILK_EXACT, BF_YES, \ PUMPING_ACTIVE, NIPPLE_SHIELD, BF_FEEDING, WHOLE_MILK, matches_nutrition_not_bf, BF_NOT @pytest.mark.parametrize('text', [ 'lactation consultation', ]) def test_lactationvisit...
[ "dcronkite@gmail.com" ]
dcronkite@gmail.com
461eaee8cd2b9f1017a7b1239a1c50f5402a998c
c6aa7ebf6e5368196ea03c2ed82cad3d115f75ab
/src/seedless_util.py
808a7ed8eaecf9c22d52e8b674cde2ebb8ec8548
[ "MIT" ]
permissive
metamarcdw/PyBitmessage-I2P
9c6df8cc1c8233f75fd9f6a70df5aa4873ea379a
a6e4f956dd7f8329af4f4b225539bff591b577ff
refs/heads/master
2021-01-17T07:03:30.010150
2016-12-17T10:23:26
2016-12-17T10:23:26
35,043,932
16
2
null
2016-05-14T15:04:23
2015-05-04T15:47:01
Python
UTF-8
Python
false
false
3,006
py
#!/usr/bin/env python import seedless from random import choice from urllib2 import HTTPError from socket import timeout def result_to_list(result, index): list = [] for entry in result[1]: item = entry.split(" ")[index] list.append(item) return list service = "" def scrapePeers(dest): ...
[ "metamarcdw@gmail.com" ]
metamarcdw@gmail.com
dc354b7de3bbe6ea71022ae2f679b77bbdd981c9
ccc2dceeffa8078883f2971ea145779fc1dcf34e
/COOK OFF/March Cook-Off 2018/p1.py
8ad5b34a1176595804987e13941a80a38bd2dbad
[]
no_license
dineshsonachalam/competitive-programming-2
85bbf8679660b2964ad56a711a6b60e0793148f8
2e85f58427eddd098dbb9e56362232cec8d1968e
refs/heads/master
2020-04-05T17:23:30.347444
2018-11-04T01:48:04
2018-11-04T01:48:04
157,058,120
1
0
null
2018-11-11T07:42:53
2018-11-11T07:42:53
null
UTF-8
Python
false
false
2,320
py
# Akash Kandpal # My Domain => http://harrypotter.tech/ # from fractions import gcd import math # from itertools import permutations # import statistics def readInts(): return list(map(int, raw_input().strip().split())) def readInt(): return int(raw_input()) def readIntsindex0(): return list(map(lambda x:...
[ "9654263057akashkandpal@gmail.com" ]
9654263057akashkandpal@gmail.com
e636f1750dec7d0f6586e42ce223ade8ddc3963f
f45195ad67119ac8be5cf9898554a8eccc5b6522
/Bookstore-using-tkinter-sqlite-python/frontend.py
6b536bd71446cbb6d4d6f652a26e358628a7da43
[]
no_license
gurupratap-matharu/my-first-repo
7a06184063ee1ba7bb66a082fe5d0fe24fb37b2c
9ccd946a98b0a00f24813fc732bf274d9f9b32f9
refs/heads/master
2022-12-06T03:36:43.555920
2020-08-27T01:03:27
2020-08-27T01:03:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,685
py
""" A program that stores this book information: Titlee, Author Year, ISBN User can: View all records Search an entry Update entry Delete entry Close entry """ from tkinter import * from backend import Database database = Database("books.db") class Command(): """Base class for actions of commands issued on the...
[ "gurupratap.matharu@gmail.com" ]
gurupratap.matharu@gmail.com
33ae20be8ff4d09fa0651c942b5a4d06b9da7e38
e994de2d306241babf30e0d334cd958e52d28eb5
/assignment1/test_swiss_reader.py
86d7d020a76fcccff3799f7183c7a4c2d0817b33
[]
no_license
linhvoyo/python_training
9dc03868cadfbf284f3278cae2bf68e3a9f70c90
cd56013cd18ff283858d11af2edb58e08e5b0212
refs/heads/master
2021-05-09T00:24:05.172714
2018-02-12T18:26:57
2018-02-12T18:26:57
119,743,179
0
0
null
null
null
null
UTF-8
Python
false
false
2,857
py
""" How many records are in the file? How many records have a sequence of length 260? What are the first 20 residues of 143X_MAIZE? What is the identifier for the record with the shortest sequence? Is there more than one record with that length? What is the identifier for the record with the longest sequence? Is there ...
[ "linh@linhs-work-MacBook.local" ]
linh@linhs-work-MacBook.local
9ce4f8302380dd5ab6aab99c3fcd416e8bb35178
d497c263eb5afa241ba47f2ffc71f457088fdddd
/migrations/versions/2d760b1c2fa0_add_blacklist_table.py
ade62a0767dd55dcf161b1274e9d5f4a04615cde
[]
no_license
Leovincent98/SanLigtas-API
5049767e7fdf4a7840069679192bea4fc80df758
5229922a57a9bebe7fccb566f123c7b81d0b7891
refs/heads/master
2020-05-07T12:55:01.451388
2019-04-02T01:35:59
2019-04-02T01:35:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
"""add blacklist table Revision ID: 2d760b1c2fa0 Revises: 9d10c4f3992c Create Date: 2019-03-12 23:19:23.325320 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '2d760b1c2fa0' down_revision = '9d10c4f3992c' branch_labels = None depends_on = None def upgrade(): ...
[ "skytrizero@gmail.com" ]
skytrizero@gmail.com
e76de7cca7dea3e33b3edc9baebfd8216e7abe6f
942d0888f47aaf0302dc694e5b90f38a44458b5f
/tsDjango/timesheetdj/urls.py
3d6ed9efe1a03e05f37ace9f7032a90965101436
[]
no_license
santiagotiprigan/tsdjango
61f211c15a94d0b89e0ddc0b3fe291c7a6ec53d0
9c6de1b4bf61a8590d667a3d4aca32fb527ce314
refs/heads/master
2022-11-16T12:22:13.571707
2020-07-16T19:28:59
2020-07-16T19:28:59
280,244,618
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
from django.urls import path from . import views urlpatterns = [ path('', views.activitate_list, name='activitate_list'), ]
[ "santiagotiprigan@yahoo.co.uk" ]
santiagotiprigan@yahoo.co.uk
a1f10db505b4ce00f7dcb3c581e0dff01382c21d
f9499f90b82f91a23d936647f61d7306714e48a3
/blog/views.py
e080f8f878355a95d41d8138e4129fbe1203941b
[]
no_license
Rootjon/djangopractice
eb57dcb1e6f2f156d6ac5f38e2bcd59aa646eca4
1d69bed20e9ce2e076534d042504a84f3a3afbf3
refs/heads/main
2023-05-30T15:45:30.878552
2021-06-08T19:12:00
2021-06-08T19:12:00
364,292,442
2
0
null
null
null
null
UTF-8
Python
false
false
2,157
py
from django.core import paginator from django.db.models import query from django.db.models.query import QuerySet from django.shortcuts import render from .forms import CommentForm from django.http import HttpResponseRedirect from .models import Post from django.db.models import Q from django.core.paginator import Pagi...
[ "ahmadjonaid9@gmail.com" ]
ahmadjonaid9@gmail.com
d3cdf3ab75fa24eb73dcdb0ef22a68a5603fb95e
defbdb519125a97138706a70fee3f86dd00a6fc7
/apps/historical_prices_comparison.py
03bdeed85230783b7a99c94ded6d83649acf000d
[]
no_license
junwei2110/Stock-Predictor-Website
f8451b86d89ad8bf33988a3a2b467278ebcfe489
a5be9e64b4b93c94fe359e201b187317efb4df47
refs/heads/main
2023-07-06T21:39:18.787245
2021-08-13T08:58:00
2021-08-13T08:58:00
381,242,458
0
0
null
null
null
null
UTF-8
Python
false
false
5,419
py
import dash import dash_core_components as dcc import dash_html_components as html import plotly.express as px import plotly.graph_objects as go from plotly.subplots import make_subplots from dash.dependencies import Input, Output, State from dash.exceptions import PreventUpdate import dash_bootstrap_components as dbc ...
[ "noreply@github.com" ]
junwei2110.noreply@github.com
7f71c3af60ff399691ae55eec2ba7d149fab3c92
b011f0ee2ba2867009002ef75baaf38fd2e76988
/app.py
3cf7b2bb3423928ac967cf8c2a3c494876dc7d6d
[]
no_license
praj98/stores
39511f82919bfdc8d8dccf0adc0341fc0ad33258
88db7c7c8d1ccf6c34c23b45750bf4d7c52179ea
refs/heads/master
2022-11-19T21:08:38.292652
2020-07-26T08:27:26
2020-07-26T08:27:26
282,437,351
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
import os from flask import Flask from flask_restful import Api from flask_jwt import JWT from security import authenticate,identity from resources.user import UserRegister from resources.item import Item,ItemList from resources.store import Store,StoreList app=Flask(__name__) app.config['SQLALCHEMY_TRACK_MODIFICAT...
[ "praj98730@gmail.com" ]
praj98730@gmail.com
86fb14e94de8d3da034ce2c0d09d245930c16388
e6a404fcf62c9b84a46acb06617dfeef2b98a454
/apps/organization/adminx.py
e094c703621b3671e399372afb02680b521a30a6
[]
no_license
flyerooo/djangomuke4
c3335a9a59d5b59633b18762e53b28b164d35f8f
ee1f613dd449d71dc61ca21a293691b0a91146b3
refs/heads/master
2021-01-25T08:12:38.868937
2019-03-09T06:11:50
2019-03-09T06:11:50
93,725,836
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
# -*- coding:utf-8 -*- __author__ = 'Jeff' __date__ = '2017/6/9 7:34' import xadmin from .models import CityDict,CourseOrg,Teacher class CityDictAdmin(object): list_display = ['name','desc','add_time'] search_fields = ['name'] list_filter = ['name','add_time'] class CourseOrgAdmin(object): list_displ...
[ "wxl.pure@gmail.com" ]
wxl.pure@gmail.com
45ae26fef5d6851a9535a15605db7aeeb2b147d4
868d1bd002a66bce3f86054b00a69c49f285126f
/books/01.DeepLearningScratch/chapter02/03.ArrayNAND/NAND.py
8acd7a67999200afe6a3474142a9baac393a00ea
[]
no_license
doukheeWon-gmail/DeepLearningStudy
cf81ac5867373c8028519133a1cca80024f8f0ff
d346d0572c45e2f2229bd14e5aadeb077074ffa9
refs/heads/master
2023-03-16T19:05:49.594092
2021-03-08T09:03:46
2021-03-08T09:03:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
#coding: utf-8 import numpy as np def NAND(x1, x2): x = np.array([x1, x2]) w = np.array([-0.5, -0.5]) b = 0.7 tmp = np.sum(x*w) + b if tmp <= 0: return 0 else: return 1
[ "fain9301@yahoo.com" ]
fain9301@yahoo.com
6b651a0f10ff1c3e3a42e19f9bdb66378032cac2
d9286ee4b057d82fbc62680bd617e1fbdb0a1bee
/opp.py
2afc6bfec35796e94dac2cc2748398666cb99970
[]
no_license
N-biswas000/python-projects
8ea9d531cce88e7c564513825180d384df371a8b
6549d0435634fbad363bdab2b5601a36f2350c6f
refs/heads/master
2022-11-22T08:16:56.992416
2020-07-26T11:35:24
2020-07-26T11:35:24
282,635,962
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# ------class Demo-------- class Person: #define the class def __init__(self, first_name, last_name, age): #<--------define constructor/ INIT Method self.first_name=first_name #<-----------define Attributes/ Instance Variables self.last_name=last_name self.age=age # ------Create Object...
[ "57007026+N-biswas000@users.noreply.github.com" ]
57007026+N-biswas000@users.noreply.github.com
2ac22ac91a55e7ed607fe0b001a82138c6c48259
728e57a80995d7be98d46295b780d0b433c9e62a
/src/data_manager/chromeos/chromeos_data_manager_test.gyp
f3f68fa55d884dc5648b0450effc6b201f86ff40
[ "Apache-2.0", "MIT", "BSD-3-Clause", "GPL-1.0-or-later" ]
permissive
SNQ-2001/Mozc-for-iOS
7936bfd9ff024faacfd2d96af3ec15a2000378a1
45b0856ed8a22d5fa6b4471548389cbde4abcf10
refs/heads/master
2023-03-17T22:19:15.843107
2014-10-04T05:48:29
2014-10-04T05:48:42
574,371,060
0
0
Apache-2.0
2022-12-05T06:48:07
2022-12-05T06:48:06
null
UTF-8
Python
false
false
3,276
gyp
# Copyright 2010-2014, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and ...
[ "kishikawakatsumi@mac.com" ]
kishikawakatsumi@mac.com
1c4f0a726de47474de20f4802d34d0cf92310207
7dd9a7c5316dc4ae1b9524f214928b9c96c03dc3
/BlocksToCpp/archive/blockread.py
75fbb29779685f76ee6577151e6402374373dda9
[]
no_license
NVSL/TAZI
035ae70b7fc9d424a47ae79434ff888880c87a6c
ac7887b1491a1c8af7373a42cd7fb81284acc396
refs/heads/master
2021-01-18T09:39:20.984516
2017-04-13T19:14:44
2017-04-13T19:14:44
44,073,629
3
0
null
null
null
null
UTF-8
Python
false
false
515
py
import ast tree = ast.parse('block.py') lines = [None] + code.splitlines() # None at [0] so we can index lines from 1 test_namespace = {} for node in tree.body: wrapper = ast.Module(body=[node]) try: co = compile(wrapper, "<ast>", 'exec') exec(co, test_namespace) except AssertionError: ...
[ "pnquach@ucsd.edu" ]
pnquach@ucsd.edu
d65262375ebe4019c8b19ba47acfafc247be6636
2c018d24dcc4e25c139feb70975e8715c121a845
/napari/utils/__init__.py
234d7ba3f8dc337865b3bb8a1a3a45963ce7448a
[ "BSD-3-Clause" ]
permissive
justinelarsen/napari
a7bb3eb03ff958f4cb0c96209af9c9bbd12dfc06
f9d3c9dadbc79ba47d9e500e2f848dac19f4051e
refs/heads/master
2020-09-09T20:28:55.504142
2020-04-16T15:36:45
2020-04-16T15:36:45
221,559,928
0
0
BSD-3-Clause
2019-11-13T22:02:07
2019-11-13T22:02:06
null
UTF-8
Python
false
false
42
py
from .info import sys_info, citation_text
[ "sofroniewn@gmail.com" ]
sofroniewn@gmail.com
3e0e00016d668e162bb554940ef36041d2e0aa1f
85beadc8b8c79715cb06f0f3ac4ee07091cd6f96
/chap4/4-23.py
924a196208c8c8b2169cdd88eb684b63dbd666c4
[]
no_license
CHENTHIRTEEN/PTA-PYTHON
7547dbf611471442a6cf8b8258abf73317910b21
f3d665cb894741aacc54fa1623e386016bb47a6f
refs/heads/master
2023-01-28T17:00:59.615166
2020-12-14T02:24:07
2020-12-14T02:24:07
321,207,127
4
0
null
null
null
null
UTF-8
Python
false
false
441
py
m, n = map(int, input().split()) nums = [] flag = True for i in range(m): num = list(map(int, input().split())) nums.append(num) for i in range(1, m - 1): for j in range(1, n - 1): if nums[i][j] > nums[i - 1][j] and nums[i][j] > nums[i + 1][j] and nums[i][j] > nums[i][j - 1] and nums[i][j] > nums[i...
[ "1030339437@qq.com" ]
1030339437@qq.com
af3b9c935f5c7c8d15341e50ce6ea6600933211e
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2016_AUSZ/2017/sept_2017/Freesurfer/regression_patients.py
bd91b200cca427d3f4c0e40ad72e1b67ea479128
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
2,030
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jan 20 16:44:25 2017 @author: ad247405 """ import os import json import numpy as np from sklearn.cross_validation import StratifiedKFold import nibabel as nib from sklearn import linear_model from sklearn.metrics import precision_recall_fscore_support ...
[ "ad247405@is222241.intra.cea.fr" ]
ad247405@is222241.intra.cea.fr
d35f1befcd4418d036bcbd94991b06ee61b0f6d4
43e563e4514f362b628e3a38af734e36d65cfdbf
/conference_rooms_reservations/views.py
28be76383e2201811df0ab592f95fa30b8179f7d
[ "MIT" ]
permissive
MarcinSzyc/conf_contact_combo
434074f0bce9060eb4f43952f6211f8286a41b6d
b39f7b4798b1b04bd14bb6876dc107b31232bfe3
refs/heads/master
2022-05-15T13:25:43.317362
2019-05-25T08:56:23
2019-05-25T08:56:23
169,214,960
0
0
null
2022-04-22T21:08:52
2019-02-05T09:16:10
CSS
UTF-8
Python
false
false
6,730
py
from django.shortcuts import render, redirect from .forms import NewRoomForm, NewReservationForm from django.contrib import messages from django.views.generic import View from .models import Room, Reservation from datetime import datetime from warsztat.mixins import MessageReturnMixin from django.core.paginator import ...
[ "szyc.marcin@gmail.com" ]
szyc.marcin@gmail.com
453b2bd72e519ea782b7f73c49b28f1c979a7b5e
182d1872479504c8d5e10740863fe15d45c89ce4
/common/__init__.py
f2eba4182ff60ae52f95a7a7008d860536bae2a5
[]
no_license
offtools/BLive
096a0b4c02042347e40d4f39039bbef0551e1e6c
275a469cb64224b5edfdf0d73f3adabb639db312
refs/heads/master
2020-04-06T06:39:46.068274
2015-02-24T19:43:05
2015-02-24T19:43:05
4,153,464
5
2
null
null
null
null
UTF-8
Python
false
false
1,437
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "info@offtools.de" ]
info@offtools.de
6fca64a778402ddeb17a1f69f5242ee7ebae89da
b5a4d29942efcbec4a645d5f513873d4d67e6458
/test1.py
cec57044f1d37547a6c92779b3ef7ea59f153168
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
starcraftvs/DeepHomography
238c52d7b7d78dee6a91759c67bed9d83d65556c
7a3a063402d35e52db34f3f18a687fda33817b15
refs/heads/master
2023-05-31T21:37:27.815461
2021-07-08T02:21:53
2021-07-08T02:21:53
383,973,899
0
0
MIT
2021-07-08T02:19:25
2021-07-08T02:02:11
null
UTF-8
Python
false
false
8,489
py
# coding: utf-8 import argparse import torch from torch.utils.data import DataLoader import torch.nn as nn import imageio from torch_homography_model import build_model from dataset import * from utils import transformer as trans import os import numpy as np def geometricDistance(correspondence, h): """ Corre...
[ "noreply@github.com" ]
starcraftvs.noreply@github.com
602962b9e0b1bcfc8ecc98d8c98ab4638a415180
003cc915904585701d3cefa4c603c2e7ab86155f
/libraryapp/views/libraries/form.py
0226ac5b5ea4dd9f08718cea5fa2c4ead5b0a61d
[]
no_license
dhobson21/Library-Project
97f243d5ad00554f115d50dde614c5e4bb8931cb
676939ff680d225b2dd667a03b50102ddcd4354c
refs/heads/master
2023-04-26T23:42:12.111779
2019-09-23T15:05:58
2019-09-23T15:05:58
209,570,690
0
0
null
2023-04-21T20:37:55
2019-09-19T14:09:28
Python
UTF-8
Python
false
false
314
py
import sqlite3 from django.shortcuts import render from django.contrib.auth.decorators import login_required from ..connection import Connection @login_required def library_form(request): if request.method == "GET": template ='libraries/form.html' return render(request, template, {})
[ "dhobson21@gmail.com" ]
dhobson21@gmail.com
3254ceb99ef503583373c9a64c646a2bfc0e7fe1
c95696ab64eaad2515259fb45f1dd2bca31f33db
/BoW/BoW_train.py
4a963f58047e7cecfc3ccec11156a09d2dbede8c
[]
no_license
Condor-G/CVwork-FashionMnist
5af3f161d99d8074e7f78a14e0197f5bbbf243d0
f253f5dfa227a14055f0557a1baed72660774da9
refs/heads/master
2022-09-10T02:31:28.258425
2020-05-25T02:10:09
2020-05-25T02:10:09
266,652,928
1
0
null
null
null
null
UTF-8
Python
false
false
2,359
py
import warnings warnings.filterwarnings("ignore") import os import cv2 import pickle import numpy as np import matplotlib.pyplot as plt from imutils import paths from sklearn.cluster import KMeans from scipy.cluster.vq import vq from sklearn.svm import LinearSVC from sklearn.model_selection import train_te...
[ "935532831@qq.com" ]
935532831@qq.com
b4b948cb7e7c4cfe8969c2fd72c9ffa6a8477e37
65139c1612261f4b26f3aaf0df4e4b3485c1e0a3
/pep_dpr_boxpol.py
9a6b7fac0ad7b441145885e2e825722923bfa8b3
[]
no_license
cycle13/gpm
449be99a97bfa888068905e1474aae0905031a5d
79c28c4d16fa8bea6b23f05c52cba22f8ec4fdd9
refs/heads/master
2022-01-26T00:06:11.519143
2019-08-20T05:28:02
2019-08-20T05:28:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,097
py
'''Dieses Program soll dazu dienen die Radardaten von BoxPol mit den GPM Daten hinsichtlich der Reflektivitat zu validieren. Hier werden mehrere Ueberflug analysiert''' #!/usr/bin/env python import h5py import numpy as np import matplotlib.pyplot as plt import pandas as pd import wradlib import glob import math impo...
[ "velibor.pejcic@gmx.de" ]
velibor.pejcic@gmx.de
79f39bbd63fb0447ed5f2aa649e85a0e310a66e9
567d2c777100179d8e823156c421c371df805588
/macros/leastsq_fit.py
8779620afa69f60d9f84878ea5758771126cea0f
[]
no_license
ManolisKar/Efield_multipoles
e18708dda73abc222411c802c08e2149f21bdd6d
37a5fc219234f7747716b6d2228b3df46b660b69
refs/heads/master
2022-05-26T19:48:07.344149
2022-05-19T16:43:48
2022-05-19T16:43:48
183,103,794
0
1
null
null
null
null
UTF-8
Python
false
false
849
py
import numpy as np def residual(pars, coordinates, V, err_V): pol0 = pars[0] pol1 = pars[1] pol2 = pars[2] pol3 = pars[3] x = coordinates[:,0] y = coordinates[:,1] z = coordinates[:,2] model = pol0 + pol1*x + pol2*y + pol3*z print 'model ::\n', model norm_residual = (V - mod...
[ "ekargian@fnal.gov" ]
ekargian@fnal.gov
478cb198b6020277b8687cfe9bc9bf469146f2e1
15af94958b27798ad1a8a7270594b3b80be98b3a
/Nextinfo/wsgi.py
205518f1d9b6f44a8339d0f4fe2049baad27e926
[ "MIT" ]
permissive
joe-diego/DjangoTutorialpythonClub
1dfeb12c3a7cdb2668bc82f78347cad9cb9aec21
cd90d14ec7b5776c35f079a30bae3a6a65c40be1
refs/heads/master
2021-01-10T09:54:09.325889
2016-01-18T17:48:34
2016-01-18T17:48:34
49,892,870
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for Nextinfo project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
[ "joediego@gmail.com" ]
joediego@gmail.com
898a48042b680099cbbdb0d349744b1439306132
0c642472361fee79d00c82aa53fc9a4b6911f4ee
/Lesson_4.py
c0b157e81bff18cfbb5ba61c64f6672e4f816825
[]
no_license
wh-debug/LearnNetwork
9fe8cd9fb3ffa9b68d0fd60d9953c4e5ce4a351a
9bb26e6b13d36255a83dc9ab3d54092148d0bc42
refs/heads/master
2023-08-01T21:50:48.649438
2021-09-24T12:17:24
2021-09-24T12:17:24
409,949,044
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
magicans = ['alice', 'david', 'carolina'] for magican in magicans: print(magican.title()) print('\n') for magican in magicans: print(magican.upper()) print('\n') for magican in magicans: print(f"{magican.title()}, that was a great trick!") # 创建数字列表 numbers = list(range(1, 6)) print(numbers) squares = [v...
[ "1813763848@qq.com" ]
1813763848@qq.com
1696148a136b8298f1574ee342018b92df3f8680
02c226ae22cb42901cbd5a0c796f6ef592fdc0a7
/characters.py
a89274bcb75118d3c5a42c672fae5b78e5c02880
[]
no_license
Drummerboy444/genetic-phrase-finder
6aa652ad53945d713b11234377d9f4c67af2672b
9fd277756dd0542ab624d16bca9b9e48146d99ce
refs/heads/master
2020-06-04T19:58:18.725974
2019-06-22T10:14:57
2019-06-22T10:14:57
192,170,944
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
import string CHARACTERS = f'!?,. {string.ascii_letters}'
[ "am13571@my.bristol.ac.uk" ]
am13571@my.bristol.ac.uk
707a0a337221757acf70a22d09f82aab628b468b
e1864d3c68e06edbbe3b7f395b8c0ceeed72ae62
/[338]比特位计数.py
d8a562e0a6db78fbc0fcb9ec2ef646ad6bdd5392
[]
no_license
TianhengZhao/LeetCode
239c3b886c0ebe172f57b40c78eacddb27075577
301f9725777b8462bc64800b01f580fb7d9c711f
refs/heads/master
2023-03-05T15:30:49.126149
2021-02-21T14:00:06
2021-02-21T14:00:06
277,789,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
# 给定一个非负整数 num。对于 0 ≤ i ≤ num 范围中的每个数字 i ,计算其二进制数中的 1 的数目并将它们作为数组返回。 # # 示例 1: # # 输入: 2 # 输出: [0,1,1] # # 示例 2: # # 输入: 5 # 输出: [0,1,1,2,1,2] # # 进阶: # # # 给出时间复杂度为O(n*sizeof(integer))的解答非常容易。但你可以在线性时间O(n)内用一趟扫描做到吗? # 要求算法的空间复杂度为O(n)。 # 你能进一步完善解法吗?要求在C++或任何其他语言中不使用任何内置函数(如 C++ 中的 __builtin_popc...
[ "1146824110@qq.com" ]
1146824110@qq.com
e71ae60c1f2199d91a915ed2e518b5b058c3cfd4
10f094a1f456c04c3bb86144fa3c80631e8d4a72
/01_extract_blobs_from_ai2d.py
5f23321c41795c9160bc9b4c73b0f64e4d1faeda
[]
no_license
InsaneX4/distant-viewing-diagrams
6108cbe688f03034b5bffb8f25a8c58f2c2144e3
2ed56f85710df379749d5a7313c04645d70e207e
refs/heads/main
2023-08-13T07:35:32.929556
2021-10-07T09:46:27
2021-10-07T09:46:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,021
py
# -*- coding: utf-8 -*- # Import libraries import numpy as np import cv2 import json from pathlib import Path from hdf5writer import DataWriter from skimage import feature from tqdm import tqdm """ Usage: 1. Download the AI2D corpus from https://ai2-public-datasets.s3.amazonaws.com/diagrams/ai2d-all.zip 2. Extract ...
[ "tuomo.hiippala@iki.fi" ]
tuomo.hiippala@iki.fi
2755646ee1fac70ca8011fcd5c88dc98f830ad79
0bd10e37ca6ca5a1c5664473cf9ce08753e7a2d0
/generate_datasets.py
940c6b2c9cdfe89e68275e828f00bc6faecd3652
[]
no_license
andrwkoval/ad-fontes-algo
764ad7dbabd5a72474637406a51ca116619fad64
a9d6497378339c042fdd3cb2a90ff7f776615b58
refs/heads/master
2020-04-10T11:05:26.298200
2018-12-10T21:42:28
2018-12-10T21:42:28
160,983,398
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
from itertools import chain, combinations from random import randint import pickle def all_subsets(ss): return tuple(chain(*map(lambda x: combinations(ss, x), range(1, len(ss))))) def generate_datasets(min_agents, max_agents): filename_spec = "_dataset" for i in range(min_agents, max_agents + 1): ...
[ "drone.kov@gmail.com" ]
drone.kov@gmail.com
9aa2319524dc87ebf4879ccb9acd0b6c71fe00aa
83bc96df34fc2311a33a68e8e79af802d84370b9
/vmraid/patches/v12_0/setup_comments_from_communications.py
8655459600d580c372b2c64f79f3c19a0d6c30de
[ "MIT" ]
permissive
sowrisurya/vmraid
001072130ac6be5a3ef5a84523d8949d891e6954
f833e00978019dad87af80b41279c0146c063ed5
refs/heads/main
2023-05-05T13:52:45.386039
2021-05-31T10:23:56
2021-05-31T10:23:56
372,466,378
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
from __future__ import unicode_literals import vmraid def execute(): vmraid.reload_doctype("Comment") if vmraid.db.count('Communication', filters = dict(communication_type = 'Comment')) > 20000: vmraid.db.auto_commit_on_many_writes = True for comment in vmraid.get_all('Communication', fields = ['*'], filters...
[ "sowrisurya@outlook.com" ]
sowrisurya@outlook.com
453de1c849d08b8ac7faeae40fcd6024045ca060
fd5ce70d4a7255cc02c362293f7b867b3aa3654e
/MyAPI/forms.py
5b3a23c8b236afc67228d6f2d636573308dc35d0
[]
no_license
Ahmad-Noor/Loan_ML_Deploy_Model_
f8d3e4b15e7039d053520f531ca350000eec1d03
db123d195d6fe70568e4ddbb56428771e12b3a99
refs/heads/master
2022-04-08T23:37:32.781967
2020-02-10T01:02:20
2020-02-10T01:02:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
from django import forms class ApprovalForm(forms.Form): Firstname=forms.CharField(max_length=150,widget=forms.TextInput(attrs={'placeholder':'Enter Firstname'})) Lastname=forms.CharField(max_length=150,widget=forms.TextInput(attrs={'placeholder':'Enter Lastname'})) Dependents=forms.IntegerField(widget=forms.Number...
[ "shahadanshaari@gmail.com" ]
shahadanshaari@gmail.com
8f6fc5bed1caec22b62db2bbddbbd80e628db2db
4b2a975bbc9a5db32ca27549d4d079c06a124ca4
/DNNShowCase/test/createmodel.py
2b659c910618675d696ab93210da9cdbf3b4972e
[]
no_license
riga/CMSSW-DNNShowCase
52eb4bbdc21cba23d5832919024e5af294036221
3606a3fc86d4c2588ca4f9c59fa3459ff271179c
refs/heads/master
2021-01-20T18:20:13.365512
2016-12-13T00:10:22
2016-12-13T00:10:22
59,830,731
1
1
null
null
null
null
UTF-8
Python
false
false
953
py
# -*- coding: utf-8 -*- """ Example of how a tfdeploy model is created from a tensorflow computation tree. """ import os import sys # update the sys path to import tfdeploy showCaseBase = os.path.normpath(os.path.join(os.path.abspath(__file__), "../..")) sys.path.insert(0, os.path.join(showCaseBase, "python")) imp...
[ "marcelrieger@me.com" ]
marcelrieger@me.com
a9332848060d6a9fcacd4d37a0bd7462db9e7acf
d568ff0a99862b7202a2847c58487cd444102a87
/asset.py
4d2782f4c43905f423232cda4095a29dfdc7f6ba
[]
no_license
jhexperiment/grow
d60f88640104418ac1f4feb24c4eef32f52cad09
9bce90a8d32893ada0b39001075b30c7f0d354fd
refs/heads/master
2020-03-27T06:49:37.082879
2018-08-22T04:02:31
2018-08-22T04:02:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
class Asset: def __init__(self, amount, symbol='TLOS'): self.symbol = symbol self.amount = amount def __str__(self): return ('%s %s') % ('%.4f'%(self.amount), self.symbol) def __add__(self, other): return Asset(self.amount + other.amount) def __sub__(self, other): ...
[ "peter@hornofthemoon.com" ]
peter@hornofthemoon.com
e7495dce76e2f15c5e707a6f00ded28859b5cbd4
69952d78ff308d48d5f242f589cccb917aecc94a
/tasks.py
dfaa294a66ec5f90c3694c15e59422b45f40bc19
[]
no_license
juyalpriyank/celery_task
b919cb3f166ea58d7ff791dc8b6891c3406e4462
bf729c14a66bb2d32680cf44be3c1fd35ad34932
refs/heads/master
2020-04-10T16:06:58.875017
2019-11-01T10:01:07
2019-11-01T10:01:07
161,133,635
0
0
null
null
null
null
UTF-8
Python
false
false
4,076
py
import logging import json import asyncio import rethinkdb as r from celery import Celery import datetime from celery.result import AsyncResult import time import pytz with open('config.json', 'r') as f: config = json.load(f) celery_config = config['CELERY'] app = Celery(celery_config['TASK_NAME'], backend=celery...
[ "juyalpriyank@gmail.com" ]
juyalpriyank@gmail.com
b669194564c48315f3dbe003e2da20e68a7d9659
ea378480ba678eb123ef826e3ca0c3eb8f4e538f
/py ref/agg:PIL/01-aggTkinterLines.py
9d88b4b166b270d15d9e50e4cd4e23b80fad7d2d
[]
no_license
msarch/py
67235643666b1ed762d418263f7eed3966d3f522
dcd25e633a87cdb3710e90224e5387d3516c1cd3
refs/heads/master
2021-01-01T05:21:58.175043
2017-05-25T08:15:26
2017-05-25T08:15:26
87,453,820
1
0
null
null
null
null
UTF-8
Python
false
false
372
py
import aggdraw import random import Tkinter root = Tkinter.Tk() import Image img = Image.new("RGB", (1000,2000), "#FFFFFF") import aggdraw as draw canvas = draw.Draw(img) pen = draw.Pen("black", 0.5) canvas.line((5,20,200,100), pen) canvas.line((0,500,500,0), draw.Pen("blue", 0.7)) canvas.flush() img.s...
[ "msarch@free.fr" ]
msarch@free.fr
9b92eb72f89103d08ab3cbd996189b790efd62a0
756be73ae5b44c716c3c1f2c6ae8e53903973386
/problems/arrays/python/problem13.py
a736f19c030971f4fd0518cd85c8ed69f23d9828
[]
no_license
sumitd-archives/coding_problems
4e8290b22740355be1e36238844d43ade33cc58b
4b3dc1a24750f710cc25a111f4b061ae57601c85
refs/heads/master
2020-07-01T03:45:14.968828
2016-11-18T06:27:35
2016-11-18T06:27:35
74,099,022
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
def leftswap(start, end, string): temp = string[end]; for i in range(end - 1, start - 1, -1): string[i + 1] = string[i]; string[start] = temp; def rightswap(start, end, string): temp = string[start]; for i in range(start, end): string[i] = string[i + 1]; string[end] = temp; def...
[ "sumit.083@gmail.com" ]
sumit.083@gmail.com
bb0199410c4738c988f1f6d0d10a2a88cb983db3
ec40422dea1feb7ed8c9556319d85fe78e90dc0a
/wtm_attack.py
f6cb4228c8b33edf2a4c91a390e04daa3601f1f2
[]
no_license
reproteq/WTM
c7929a5b51be5fe236c1d725f179e6495f34d701
cc82a73b105caaf0919406fca8e72c7b5792a0ce
refs/heads/master
2020-05-27T21:17:58.508532
2017-03-02T10:12:09
2017-03-02T10:12:09
83,655,344
0
0
null
null
null
null
UTF-8
Python
false
false
20,811
py
#!/usr/bin/python ############# # COLORS # ############# W = '\033[0m' # white (normal) R = '\033[31m' # red G = '\033[32m' # green O = '\033[33m' # orange B = '\033[34m' # blue P = '\033[35m' # purple C = '\033[36m' # cyan GR = '\033[37m' # gray ############### import wtm_settings, os, sys, time , csv # Execu...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
5fe0303762fa8663ebcec9d3b05324340cbb5f0b
e1517a4f37fe141e1fed134e05954be841a0d3b5
/bin/piclusterdeamon
8f8c268d9ca23675bf967f2f1039d787a136fa70
[ "Apache-2.0" ]
permissive
Lukas0025/piClusterManager
4ff6240ffc6c2d3c434e63a9e8f8bc76cf98ad88
c2ecd2169d2b1e6189e325ead3056afdcf33884f
refs/heads/master
2020-11-24T14:58:11.713184
2020-01-11T10:37:14
2020-01-11T10:37:14
228,204,366
0
0
null
null
null
null
UTF-8
Python
false
false
1,090
#!/usr/bin/python3 # -*- coding: utf-8 -*- # # Copyright 2019 Lukáš Plevač <lukasplevac@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License,...
[ "lukasplevac@gmail.com" ]
lukasplevac@gmail.com
88392cba273f55e85a5eb4525c261811706d73fe
ac52625e698bcc66973fc40399c1a278f535406d
/project1/framework.py
3d7b1e7cd7cf4ba6f6e2226bc3aac2354a5c48d5
[]
no_license
myselfliu/mobile_web
b4599febeccc255e44e28029aa262c3f9c556e88
658e15fd881b17c8715a58a906ac5aad91928acf
refs/heads/master
2020-05-07T18:50:16.017954
2019-04-12T05:00:08
2019-04-12T05:00:08
180,785,951
0
0
null
2019-04-12T05:00:11
2019-04-11T12:19:53
Python
UTF-8
Python
false
false
4,021
py
import pymysql import json import logging route_list = [] def route(path): # 装饰器 def decorator(fn): # 当执行装饰器装饰指定函数的时候,把路径和函数添加到路由表 route_list.append((path, fn)) def inner(): # 执行指定函数 return fn() return inner # 返回装饰器 return decorator # 获取首页数据 @...
[ "hufafa@163.com" ]
hufafa@163.com
7c3bc8f3ce18c045889bdf345fb28f13c847e7cc
02fe4832da9fee6c71263eaa5465964323698901
/piconzerodistancefromwallVL53v5.py
b50b1fa3cb95cee174087e37bf9f8a6235caa4ec
[]
no_license
MarkEdwards63/PiWars2017
8abcd30d2fbdb6ee953d351e79fe62e0b5ba608e
9a7946a9a0759bc1f12919388e646fe924cb83c9
refs/heads/master
2021-01-18T19:08:34.565141
2017-04-01T06:35:55
2017-04-01T06:35:55
86,890,175
0
0
null
null
null
null
UTF-8
Python
false
false
6,531
py
#====================================================================== # # Python Module to handle an HC-SR04 Ultrasonic Module # Aimed at use on Picon Zero # #====================================================================== import RPi.GPIO as GPIO, time import piconzero as pz import VL53L0X # GPIO for ToF Se...
[ "noreply@github.com" ]
MarkEdwards63.noreply@github.com
b94078a34bd48cdb8c3bbdaeda07fc9953dbb317
5c53bd12358278a471b6b4404ad15ebbb048fa52
/py_bacy/tasks/io.py
d2ed99232875ea284d1d9366438d2d9829ba96f3
[ "MIT" ]
permissive
tobifinn/py_bacy
526992cefff604e5516e9da99f02f215eb312e05
f550876fe0303eb1711866268871f6fd478ef1c1
refs/heads/main
2023-04-08T07:34:44.769622
2021-01-25T12:36:00
2021-01-25T12:36:00
317,234,427
1
1
MIT
2022-10-15T13:16:20
2020-11-30T13:36:05
Python
UTF-8
Python
false
false
5,870
py
#!/bin/env python # -*- coding: utf-8 -*- # # Created on 15.01.21 # # Created for py_bacy # # @author: Tobias Sebastian Finn, tobias.sebastian.finn@uni-hamburg.de # # Copyright (C) {2021} {Tobias Sebastian Finn} # System modules from typing import List, Union from shutil import copyfile # External modules import...
[ "noreply@github.com" ]
tobifinn.noreply@github.com
f75f09173cf40072dfb7123448b9ec2d6cd5e80c
0736ea6d2ed7d26167e17cdbedc50825c051ce78
/GenericConfigurationTool/WorkstationUI.py
042539b1463680a22460b1c09b24aa40a3fc2946
[ "Apache-2.0" ]
permissive
wbeebe/pyqt
2c25cf7b71513cd960b7bce9aa16df5e73c45f1d
bbaee3b965b54f93b9091d232e752762be1d0cb5
refs/heads/master
2021-06-27T15:54:33.157223
2021-03-08T15:34:29
2021-03-08T15:34:29
204,618,834
1
0
null
null
null
null
UTF-8
Python
false
false
3,641
py
# # Copyright (c) 2021 William H. Beebe, Jr. # # 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 t...
[ "wbeebe@gmail.com" ]
wbeebe@gmail.com
3fb0d96724c1854632f74679770e8364c96312f6
e19cc86817cefa4ebe4354612b2ec7f0e22f7712
/main.py
35f769b12efb060fbac1c95c5e60f08491b3886a
[]
no_license
ayaz479/blogapp
89a1f592e7f9739b0527599d8fa4f900019eb33e
63819c091a66f9ac8cfbc3d777830e301833b3ab
refs/heads/main
2023-04-12T13:01:39.338583
2021-04-28T19:10:55
2021-04-28T19:10:55
362,579,573
0
0
null
null
null
null
UTF-8
Python
false
false
8,115
py
from flask import Flask, render_template, flash, redirect, url_for, session, logging, request from flask_mysqldb import MySQL from wtforms import Form, StringField, TextAreaField, PasswordField, validators from passlib.hash import sha256_crypt from functools import wraps # kullanci adi dicureter def login_required(f...
[ "eiad.is1996@gmail.com" ]
eiad.is1996@gmail.com
aa083f2b87d7e143d77e77fe7d1f62b70edfa115
22b00137790f18cab99eea787e798e46d195e0f8
/djmod/blog/views.py
ddbf636b86359e495577c6400936856d71153734
[]
no_license
lalit-vasoya/djangostartproject
0db70c94b3fd71fcd155b7b18dbf2a22d474c267
8f5509a98fbdd7aef0d8c866cbb497f690804403
refs/heads/master
2020-12-18T19:37:51.419657
2020-02-17T04:56:34
2020-02-17T04:56:34
235,500,451
0
1
null
null
null
null
UTF-8
Python
false
false
948
py
from django.shortcuts import render from django.views.generic.base import TemplateView,TemplateResponseMixin,ContextMixin from django.views.generic import View from django.http import HttpResponse # """Create your views here.""" class AboutusTemplateView(TemplateView): template_name="aboutus.html" extra_con...
[ "lalitvasoya.286@gmail.com" ]
lalitvasoya.286@gmail.com
32d3db86f8e3f1438d2eaf5ad7687d07fa0cad4d
42f9a216b4c11b4f6f2edf6f7fd8a190e8d5096a
/qsbk/qsbk/settings.py
2314b881a98a9e086916a9f5416e098d7886019b
[]
no_license
KnightCicada/PythonArchive
91d6b19cf144f4291a5067f7e9d94a3e1fd3bb36
c172a403be4bdc09595bdfb6972b5124b7e13f4b
refs/heads/master
2023-07-09T09:41:34.088940
2021-02-07T05:53:11
2021-02-07T05:53:11
312,238,171
0
0
null
null
null
null
UTF-8
Python
false
false
3,115
py
# -*- coding: utf-8 -*- # Scrapy settings for qsbk project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics...
[ "872323740@qq.com" ]
872323740@qq.com
af2fb1ee0fc0b73e982605b6ccae6570b518d107
ad614d4aecbdf3a043766e8ec192f722322e0eb7
/Programmers/Level2/BfsDfs/TargetNumber.py
4d70e8ac58321600a5b1f09cfabfead4b8447f04
[]
no_license
Lee-JaeHyuk/AlgorithmStudy
9d2e61537db64e96777643f037e3f518ff06ad18
403db098ddc0980476c7a1de5bd21f3f61d2c0e2
refs/heads/master
2023-07-13T00:18:33.695984
2021-08-07T13:38:03
2021-08-07T13:38:03
338,356,096
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
def solution(numbers, target): answer = [0] for i in numbers: tem = [] for j in answer: tem.append(j+i) tem.append(j-i) answer = tem cnt = 0 for i in answer: if i == target: cnt += 1 return cnt numbers = [1, 1, 1, 1, 1] target = 3 ...
[ "leeseap33@naver.com" ]
leeseap33@naver.com
6488ec0d68991d84511c03b432cbbcd8bf6382a9
9c440ef6cace4095d42cd656e815c2a2193db63f
/eval_set_activation4.py
ee1e7227132715a533e4025ff34fc9f8916f67bc
[]
no_license
maorros/tangram_nih_mindset_3_0_evaluations
41081edd5ce8c14bd4531de78cfa8a66398fa5da
e2fa32310d292bee9f2935f8ff8a67f7d9618bac
refs/heads/master
2020-07-03T16:34:23.388139
2019-08-30T15:41:46
2019-08-30T15:41:46
201,970,239
0
0
null
null
null
null
UTF-8
Python
false
false
8,633
py
# Solve the last puzzle, given you learned nothing/0/1/2/3/4/5/6 from game_facilitator.SelectionGeneratorCuriosity import * from tangrams import * # import tensorflow as tf import numpy as np import math import pickle import random import matplotlib.pyplot as plt import time def json_to_NN(json_str): sol = Solver...
[ "maorros@gmail.com" ]
maorros@gmail.com
486b34fc9cd4c2fc72b6544ecaafc0167574542a
8af6c536d8f1ed2740a5420340d923d978429c9f
/NoSQL_requests.py
c241cc87ad0112de110776dae280eb951ccc184e
[]
no_license
matthieudeReynal/NoSQL-a4
b17e10a1f50316a1cfdef35dd1d56c6f5a82c1bb
10afd309e51ff7b3ee4ccab69109f489a656fd8c
refs/heads/main
2023-02-01T21:07:51.322221
2020-12-19T10:46:50
2020-12-19T10:46:50
322,823,961
0
0
null
null
null
null
UTF-8
Python
false
false
2,506
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 17 10:21:54 2020 @author: mattd """ import pymongo from bson.raw_bson import RawBSONDocument import time def getLowerPrice(): # print lower price of bitcoin registered in database myclient = pymongo.MongoClient("mongodb://localhost:27017/",document_class=...
[ "noreply@github.com" ]
matthieudeReynal.noreply@github.com
3773c11f5b4cd6c95d13dd9f3af801c105abbc49
eedc0b4647cc66bffa06a81c60cee15ceebbfe78
/base.py
249e23d17217031f25090f4657c92ebdc4ff265e
[]
no_license
ISA233/CodingTest
0eec362e9f888a945f36968b4bec5d89f956d527
6739ce1463db09903ec05663eeeca1ace02c4ade
refs/heads/main
2023-06-04T06:23:03.348943
2021-06-18T15:51:35
2021-06-18T15:51:35
378,198,182
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
from torch import nn class ResBlock(nn.Module): def __init__(self, channels): super(ResBlock, self).__init__() self.conv0 = nn.Conv2d(channels, channels, kernel_size=3, padding=1) self.conv1 = nn.Conv2d(channels, channels, kernel_size=3, padding=1) self.bn0 = nn.BatchNorm2d(channels) self.bn1 = nn.BatchNor...
[ "ys-zhang18@mails.tsinghua.edu.cn" ]
ys-zhang18@mails.tsinghua.edu.cn
2819e14510bfbf5b458c01e088afae2508b301bd
9bcc73f037edb3a1a19c21f1b2fe1f3c543fb718
/famille/utils/mail.py
fa93b5b2145082bfb4442a6f8104cc1a0135081e
[ "Apache-2.0" ]
permissive
huguesmayolle/famille
c8bee2aeaae9e8107a9c3d76573cf6c280cdecab
c7b3399e88a6922cadc0c7c9f2ff7447e7c95377
refs/heads/master
2021-01-09T06:28:21.078260
2014-06-24T21:32:00
2014-06-24T21:32:00
14,694,562
0
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
# -*- coding=utf-8 -*- import base64 from functools import partial import logging import json import smtplib from django.conf import settings from django.core import mail from django.core.exceptions import ObjectDoesNotExist from django.template.loader import render_to_string class Mailer(object): @classmethod ...
[ "mvergerdelbove@work4labs.com" ]
mvergerdelbove@work4labs.com
1634818226a0fc30047e34f01594960beed070a1
12f006a0e5d75ef2349d4ae519c1c9cac5309761
/Solution_280.py
11cd7505bdde8e3b44cd345e61a86d2600eb646c
[]
no_license
TimothySjiang/leetcodepy
c613db16282eade713e01b7d641c0f5b341ec84b
ef64e46b8833a684b8b0355ce576b767a0e03596
refs/heads/master
2020-07-01T14:48:35.953841
2020-01-12T06:19:44
2020-01-12T06:19:44
201,199,810
1
0
null
null
null
null
UTF-8
Python
false
false
452
py
class Solution: def wiggleSort(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ if not nums: return for i in range(1, len(nums)): if i % 2: should_swap = nums[i] < nums[i - 1] else: ...
[ "shjiang@ucdavis.edu" ]
shjiang@ucdavis.edu
fbef87490e98fd84855f2e7a1d8f299aa9bcb831
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/exp-big-1067.py
238bc82745159e6f8c60993d672d44248420347b
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
3,178
py
# Compute x**y def exp(x: int, y: int) -> int: a: int = 0 a2: int = 0 a3: int = 0 a4: int = 0 a5: int = 0 def f(i: int) -> int: nonlocal a nonlocal a2 nonlocal a3 nonlocal a4 nonlocal a5 def geta() -> int: return a if i <= 0: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
99c4f27b85cb176a47e8428516109c869629a4c6
e0f455b5ea82a1dcf5e5f58e44eba441836617a2
/desk/flask/bin/easy_install-3.4
2465315ecb8dfc3b370c2ed1530732ebb4dd6441
[ "MIT" ]
permissive
PlexHaxx/plex-desk
9d3580ada89112e909fe723ee623bfc115b961fc
551abb1a655f7ba43dbe26da834ee91dc156333d
refs/heads/master
2021-01-18T04:46:55.411509
2015-09-06T13:24:53
2015-09-06T13:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
257
4
#!/home/jj/Code/plex-desk/flask/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "josh.jacobs19@gmail.com" ]
josh.jacobs19@gmail.com
aa711919ff1e2e28fbd96758ef77e76aa0b5e23a
801f367bd19b8f2ab08669fd0a85aad7ace961ac
/cleaned_version/main.py
3ac5d8be014a8e25b1dac6beacd132991a977681
[ "MIT" ]
permissive
Wendong-Huo/thesis-bodies
d91b694a6b1b6a911476573ed1ed27eb27fb000d
dceb8a36efd2cefc611f6749a52b56b9d3572f7a
refs/heads/main
2023-04-17T18:32:38.541537
2021-03-12T19:53:23
2021-03-12T19:53:23
623,471,326
1
0
null
2023-04-04T12:45:48
2023-04-04T12:45:47
null
UTF-8
Python
false
false
401
py
# Author: Sida Liu, 2020 # Starting experiments # # for all available arguments, refer to arguments.py from arguments import get_args import step1_generate_bodies import step2_train_on_one_body args = get_args() def main(): env_id, dataset_path = step1_generate_bodies.generate_bodies() step2_train_on_one_b...
[ "sliu1@uvm.edu" ]
sliu1@uvm.edu
8e77312e78be660aea422bc6c904543e36801828
1da59a5838b2f954194b4cb1926a42ec472bed38
/Math modeling/lab3.py
4c43e1f656df7a534b7e7b56685d563207fb0611
[]
no_license
MaximShidlovski23/Math
3534f96c33764cbd94106246fdf02ac49d48a4a1
9aeed2b1d6ab178874e1a8bccd89c0dd802ee693
refs/heads/master
2023-06-07T04:33:08.431481
2021-06-22T12:23:03
2021-06-22T12:23:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,240
py
from bs4 import BeautifulSoup import numpy as np def get_marking(file): f = open(file, 'r') html = f.read() soup = BeautifulSoup(html, 'html.parser') matrix = [] for lol in soup.find_all('td'): matrix.append(lol.next_element) del matrix[0:4] del matrix[3::4] matrix_marking = []...
[ "m.shidlovski23@gmail.com" ]
m.shidlovski23@gmail.com
d244a2d68e725fc0ebbc61b04aa4c65c4fa4abcb
36c2e50fe8090d27c6f87671151c34eb6e5174ea
/Glue_Jobs_python_shell/glue_import_order_payments.py
e973150fc8e16d60dcaedd90a23b467ab066b2f1
[]
no_license
denzalvin/Data_Engineer_Project_ETL_BI
809a5a7bd2e5958c22fe83ec141092cb076f0454
69a754f8332a58f98e278c0fcf9a8defd812fab5
refs/heads/main
2023-03-20T20:54:23.773041
2021-01-26T12:25:14
2021-01-26T12:25:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
import boto3,json from pg import DB secret_name = 'secret-name' region_name ='ap-southeast-2' session = boto3.session.Session() client = session.client(service_name='secretsmanager',region_name=region_name) get_secret_value_response = client.get_secret_value(SecretId=secret_name) creds = json.loads(get_secret_va...
[ "noreply@github.com" ]
denzalvin.noreply@github.com
bbe121219182e529e2cb49702216e2f7f779882d
2fef9dac4fc88a5dad089ce1df78921eb50735dc
/geodata/Test.py
9d4aed708a29bee24f235426c64e43f06a248df6
[ "BSD-2-Clause" ]
permissive
corb555/Geodata
b8b217e4814c6759a64c7c738069aabfdfd50fd4
746e532dfc4536e19ef8afa715fc728150497b8e
refs/heads/master
2023-04-29T23:33:44.561925
2023-04-20T00:30:29
2023-04-20T00:30:29
231,111,325
1
1
BSD-2-Clause
2020-03-25T04:25:20
2019-12-31T15:36:05
Python
UTF-8
Python
false
false
5,100
py
# Temporary python file for testing things import queue from geodata import GeoUtil, Normalize places = [ '12 baker st, Man!@#%^&(chester, , England', # punctuation 'department kathedrale of westphalia kommune ', # normandie 'archipel de saint augustin', 'Le Mont Saint Michel', # county of ] ...
[ "corb@aol.com" ]
corb@aol.com
5c01afe75fb5df16f185b2fbf7c8336f2ab97715
1fc45a47f0e540941c87b04616f3b4019da9f9a0
/src/sentry/receivers/similarity.py
c8e1b5ebcddf7e9fa97da46bdb8689f6ff2dfff7
[ "BSD-2-Clause" ]
permissive
seukjung/sentry-8.15.0
febc11864a74a68ddb97b146cc1d2438ef019241
fd3cab65c64fcbc32817885fa44df65534844793
refs/heads/master
2022-10-28T06:39:17.063333
2018-01-17T12:31:55
2018-01-17T12:31:55
117,833,103
0
0
BSD-3-Clause
2022-10-05T18:09:54
2018-01-17T12:28:13
Python
UTF-8
Python
false
false
399
py
from __future__ import absolute_import from sentry import features as feature_flags from sentry.signals import event_processed from sentry.similarity import features as similarity_features @event_processed.connect(weak=False) def record(project, group, event, **kwargs): if not feature_flags.has('projects:similar...
[ "jeyce@github.com" ]
jeyce@github.com
c93c759d8271fb0805fb686c85dccd205e492b8b
43fe239253a88c8b9c667a762105688ef37b91e9
/pies/_utils.py
078318357b9b48a81908b5dcc8aba92e4a4ad161
[ "MIT" ]
permissive
timothycrosley/deprecated.pies
d1eb28bdd23bc5d512b8cd650033526760bfdea5
83405a8e45904e9b16b2681c15419735e654a0a6
refs/heads/develop
2021-01-08T11:29:51.666680
2016-03-27T05:17:39
2016-03-27T05:17:39
12,525,405
20
2
MIT
2019-02-24T10:48:34
2013-09-01T19:13:10
Python
UTF-8
Python
false
false
3,346
py
"""pies/_utils.py. Utils internal to the pies library and not meant for direct external usage. Copyright (C) 2013 Timothy Edmund Crosley Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without ...
[ "timothy.crosley@gmail.com" ]
timothy.crosley@gmail.com
c1f4a18bd49436f047646cd987895a2c8e36c574
0d3abea172f0769587be566fb913cb042acd68dd
/gae/cartosql.py
1a05a2356a530e1e138b98f6c331cc319df0b668
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
GlobalFishingWatch/pelagos-cartodb-proxy
69d29afe855f05feaabefcf57ce01b986be15097
c5f88fc59db648b434d2b82836100cdd6a43f2eb
refs/heads/master
2020-05-21T10:10:52.241949
2017-01-30T17:58:51
2017-01-30T17:58:51
68,815,087
0
0
null
2017-01-30T17:58:52
2016-09-21T12:35:18
Python
UTF-8
Python
false
false
1,212
py
import json import urllib import urllib2 import operator import re import google.appengine.api.urlfetch google.appengine.api.urlfetch.set_default_fetch_deadline(60) def load_url(*arg, **kw): try: return urllib2.urlopen(*arg, **kw) except urllib2.HTTPError as e: e.msg = e.read() raise e...
[ "egil.moller@freecode.no" ]
egil.moller@freecode.no
7a102aac00465f26707d05ca7c2dc555a824a90d
53c4ec58760768fc9073793cf17cd8c55978c3af
/annotator/uniformer/configs/_base_/models/deeplabv3_r50-d8.py
d7a43bee01422ad4795dd27874e0cd4bb6cbfecf
[ "Apache-2.0" ]
permissive
HighCWu/ControlLoRA
0b6cab829134ed8377f22800b0e1d648ddf573b0
3b8481950867f61b2cf072b1f156d84f3363ac20
refs/heads/main
2023-08-05T08:51:25.864774
2023-02-28T13:06:24
2023-02-28T13:06:24
603,359,062
421
20
Apache-2.0
2023-08-02T02:14:40
2023-02-18T09:12:15
Python
UTF-8
Python
false
false
1,273
py
# model settings norm_cfg = dict(type='SyncBN', requires_grad=True) model = dict( type='EncoderDecoder', pretrained='open-mmlab://resnet50_v1c', backbone=dict( type='ResNetV1c', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), dilations=(1, 1, 2, 4), strides=...
[ "highcwu@163.com" ]
highcwu@163.com
f12de33b658204e75c9c073f186efb2c3ddcd5cc
0a9015edaf9589e15429d2ba224ee763da513b7a
/src/app.py
671b9746a8c379c070357281500725ace4cbb6c7
[]
no_license
t-rad679/habitica_ga
47a09a3f98f4cb5a1e0b133358749aeab1d08049
445f582fa9a275a55d597f7ea3f7ea2c1afdf535
refs/heads/master
2023-04-23T07:41:26.220044
2021-05-06T01:53:08
2021-05-06T01:53:08
364,755,360
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
from flask import Flask from client.habitica_client import Difficulty, TaskType, create_task server = Flask(__name__) @server.route("/create_task") def handle_create_task(): response = create_task(TaskType.TODO, "test", Difficulty.TRIVIAL) return response.text
[ "IGoWhereI'mNeeded!23" ]
IGoWhereI'mNeeded!23
1d604523679d4dad152d28ba79dee0589334d99f
6f1034b17b49f373a41ecf3a5a8923fb4948992b
/pychron/social/google_calendar/__init__.py
f169af5aa3a8ffc66919042ffd9a893624e843c3
[ "Apache-2.0" ]
permissive
NMGRL/pychron
a6ec1854488e74eb5d3ff53eee8537ecf98a6e2f
8cfc8085393ace2aee6b98d36bfd6fba0bcb41c6
refs/heads/main
2023-08-30T07:00:34.121528
2023-06-12T17:43:25
2023-06-12T17:43:25
14,438,041
38
28
Apache-2.0
2023-08-09T22:47:17
2013-11-15T23:46:10
Python
UTF-8
Python
false
false
999
py
# =============================================================================== # Copyright 2015 Jake Ross # # 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...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
e946c26768fb5637935ac6e0bb625b6220179822
be2d39bbdf7f35249fc97936b0842719f720633a
/Apps/Biblioteca/views.py
37be899b8c0b662c7aa9cec0d481508f4fffb56c
[]
no_license
matias54321/Biblioteca
16f2ba639c2d7ddbe57a433657cfbb62a4f26d35
93872462aa61033f750cd5846bbb404d97a93679
refs/heads/master
2020-07-31T12:51:45.734339
2019-09-24T13:10:27
2019-09-24T13:10:27
210,609,626
0
0
null
2019-09-24T13:27:03
2019-09-24T13:26:55
null
UTF-8
Python
false
false
920
py
from django.shortcuts import render,redirect from .forms import AutorForm from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth import login, authenticate, logout from django.contrib.auth.decorators import login_required # Create your ...
[ "vina@duoc.acad" ]
vina@duoc.acad
cdf0447350241e897c4cd2b3f534517ed4c9dcd0
c9396af9d8effc7dc9b1d11707f1bc2eba1f8e60
/mysite/users/migrations/0044_auto_20190212_1924.py
ab11117e5a40285cb64af7fdad2b7f1b5bdabbfa
[]
no_license
nevergofullretard/easylearn
4af352db1dad480aa88adfe84ed7c2f6d0ec8102
6520bcf7d3e5dc27f512a95034105f98459d9f82
refs/heads/master
2022-01-23T04:27:50.105433
2019-07-28T08:12:29
2019-07-28T08:12:29
194,724,510
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
# Generated by Django 2.1.2 on 2019-02-12 18:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0043_auto_20190212_1922'), ] operations = [ migrations.AlterField( model_name='profile', name='units_gemach...
[ "jagermaxi1@gmail.com" ]
jagermaxi1@gmail.com
d9f963bf2f119a778d498521a6d41d1687864215
24bd5eaaed802de5402059404f5fa43569f4a076
/main.py
e2244ff049de37aec263f70d664322e2a38b155e
[]
no_license
oussama-talaoui/py_gui
dbc0c2662538aa5d1ee2a83609cefdc93468b1d5
cbb9bab846a75e9a4b76cd1702406195a4099258
refs/heads/master
2022-12-06T01:57:58.040371
2020-09-01T09:13:02
2020-09-01T09:13:02
291,355,840
0
0
null
null
null
null
UTF-8
Python
false
false
6,724
py
################################################################################ ## ## BY: OUSSAMA TAHIRIA ## PROJECT MADE WITH: Qt Designer and PySide2 ## V: 2.0.0 ## ################################################################################ import sys import platform import psutil import threading import GPUti...
[ "tahiri.oussup@gmail.com" ]
tahiri.oussup@gmail.com
2846b2395baf40fc31b5641fb2644c8af92d1c44
06ac73b42757da860e7120c841db9adfe028f626
/main.py
f7deb547986441def6572799e5a0499ddd6b3ddc
[]
no_license
sergiuiacob1/QLearning
f624455324cbd8c1e784861fd0d5007696e8f971
4294a24576a10a5328a2690606ef664057e54fbf
refs/heads/master
2020-09-24T23:37:03.519853
2019-12-04T13:12:05
2019-12-04T13:12:05
225,870,545
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
from maze import Maze from q_learning import QLearning if __name__ == '__main__': maze = Maze(n=10, no_obstacles=5) q_learning = QLearning(maze) q_learning.train(epochs=1000, eta=1.5, gamma=0.1, exploration_rate=0.1) q_learning.solve()
[ "sergiu.iacob1@gmail.com" ]
sergiu.iacob1@gmail.com
1bc47a49ef727ab6ccde52521741bdc2364f6e3c
2aadde1fdaf3915cfd0ad73b523b8760c724ed4f
/PyPersonalCollection/urls.py
05e003f4aec68bf174ce3cde80b962658b33312e
[]
no_license
WingGao/PyPersonalCollection
cd65ed88f2cb764392b88304e5e3da2452402b74
93e8ffbb64e7cc82d460f4d58dccf1862e77ba59
refs/heads/master
2021-03-12T22:07:16.745396
2015-01-16T06:54:04
2015-01-16T06:54:04
20,069,296
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
from django.conf.urls import patterns, include, url # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', url(r'^$', 'ppc.views.item.show'), url(r'^ppc/', include('ppc.urls')), url(r'^user/', include('wuser.urls')), ...
[ "wing.gao@live.com" ]
wing.gao@live.com
35e3195cf492e94e0fab9bf47f2e3d7d97aa2057
c99985d16a61bda4f75e2e4952f327f8209d3dd7
/manage.py
9ad71b5b6ce3245f01a948d17f1c9f0d021c12f3
[]
no_license
sindhyatodo/sindhyatodoproject
4d8b6c9c54ea264b13beafba1b128639a088dbcf
5830e4b643f8e3c13fa676aea63f833474b966d8
refs/heads/master
2023-07-17T05:36:16.167947
2021-09-10T15:41:17
2021-09-10T15:41:17
403,081,428
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'movieproject.settings') try: from django.core.management import execute_from_command_line ...
[ "noreply@github.com" ]
sindhyatodo.noreply@github.com
dda520c184f9b53b56be40fe906e1db08a59b5cb
e208bd998583bbbefbb5ece714597d16b48ff557
/apwsj/make_rdvs.py
462d3436d4a1d3431f50d3f1171fef7f35d03d3e
[]
no_license
edithal-14/rdv-cnn
b321250d64fce43597c97042e37ab3882b9adc22
496b5cdf567e49e3a418230a53d39f8e116bc86a
refs/heads/master
2022-11-07T06:07:54.188575
2020-06-22T08:14:41
2020-06-22T08:14:41
135,123,433
1
2
null
null
null
null
UTF-8
Python
false
false
2,269
py
import pickle import numpy as np from scipy.spatial.distance import cdist from collections import defaultdict def build_rdv(t,s): return np.concatenate([t,s,np.subtract(t,s),np.multiply(t,s)],axis=0) def rdv(tm,sm,label): match = np.argmin(cdist(tm,sm,metric="cosine"),axis=1) vec = np.stack((build_rdv(tm[i],sm[mat...
[ "vigneshedithal11031997v@gmail.com" ]
vigneshedithal11031997v@gmail.com
c4a026e38ec01759c413fa78c3e9aee9a5cba5f6
01776becc70eafe6dcbad140eb40a862bc623341
/LeetCode/Medium/322.Coin Change.py
e0d381a9018111b461d6039977d39203baef144c
[]
no_license
AnthonyTsui/AlgoPractice
8eae4d197080c0a94b0127ed5a95198f5d2f3269
59fcb2826fb95a304cf7b4b9a77c2ae710fb5c9a
refs/heads/master
2022-12-02T18:20:58.104356
2020-08-29T23:58:17
2020-08-29T23:58:17
250,649,377
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
# You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount. If that amount of money cannot be made up by any combination of the coins, return -1. # Example 1: # Input: coins = [1, 2, 5], amount = 11 #...
[ "atsui4688@gmail.com" ]
atsui4688@gmail.com
c4636ff70e18214193191a071dcf14a59ea059b2
8677c1191eec869bb2fa97a63f46210c6530b863
/product/migrations/0001_initial.py
109c3a41c5a9910737cec1f089f9c1cbdb4f0fa7
[]
no_license
Sukh0312/Products
8ce2ad7667a1ba333257a5a7dfa3cf5239b72cee
fdb6d3e3cca571bee142b1b01ae843a2d5fb8103
refs/heads/master
2022-12-14T22:33:46.619944
2020-09-12T10:57:34
2020-09-12T10:57:34
294,925,295
1
0
null
null
null
null
UTF-8
Python
false
false
609
py
# Generated by Django 3.1 on 2020-09-11 15:45 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(au...
[ "sudhanshumotewar2001@gmail.com" ]
sudhanshumotewar2001@gmail.com
0fffe8b26683512d075ac2a4c08f568778b310aa
a5c17ae4b6877f9f693cfce4857c7c81f718600a
/BLDUP/items.py
484909c0551b6d17f1a2359a97f3bfd78d232059
[]
no_license
Iron-Cow/Scrapy-Deeds
eb3471b09783318d6737823514c98adcc050ed44
ef9666f7185e982928a5e984d01364f85ff2850c
refs/heads/master
2022-11-12T22:40:49.257653
2020-04-09T13:01:58
2020-04-09T13:01:58
254,372,557
0
0
null
2022-11-04T19:40:15
2020-04-09T13:01:29
Python
UTF-8
Python
false
false
286
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class BldupItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "uangeji@gmail.com" ]
uangeji@gmail.com
f5c179ee6cc0cc278512c9b34595cbd0cad42c09
afebbb07b2b4eada17a5853c1ce63b4075d280df
/marketsim/gen/_out/_any.py
650d50f7a928ec5f36aa99fef8e6bf0bbbc5aec1
[]
no_license
peter1000/marketsimulator
8c0a55fc6408b880311d3ad49defc55e9af57824
1b677200a9d5323f2970c83f076c2b83d39d4fe6
refs/heads/master
2021-01-18T01:39:04.869755
2015-03-29T17:47:24
2015-03-29T17:47:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
class Any(object): pass
[ "anton.kolotaev@gmail.com" ]
anton.kolotaev@gmail.com
0d5f98ee1993327d144cdaaffd29576787ef6429
c934802edc057ce109d04c6bbb4606612beacf66
/examples/gui/gtk/simulator.py
ea0fb51e299ec6da648532224edd5607d2629d07
[ "BSD-3-Clause" ]
permissive
moltob/pymodbus
9925a4090c55c9d36ea6aa21e158b99441c54677
24cdc56d9f79593cbc1101416caa9cffc2023dd1
refs/heads/master
2021-01-15T15:04:40.058704
2015-01-22T19:32:37
2015-01-22T20:07:41
28,333,118
6
0
null
2015-10-19T10:15:07
2014-12-22T09:48:15
Python
UTF-8
Python
false
false
12,585
py
#!/usr/bin/env python #---------------------------------------------------------------------------# # System #---------------------------------------------------------------------------# import os import getpass import pickle from threading import Thread #---------------------------------------------------------------...
[ "bashwork@gmail.com" ]
bashwork@gmail.com
8a30b7639416084d36b061b8aa6b778360dcd013
eb1f7622905878a1590347b62dec4eb1cb355adb
/treecorr/binnedcorr3.py
06573596cfdcc3ba8240eba818989da63719c002
[ "BSD-2-Clause", "BSD-2-Clause-Views" ]
permissive
sukhdeep2/TreeCorr
831143521972c86304dba1ac1d8a6b12d2189e0b
7a31800291c438c9403c512fe8070b6c37787a1d
refs/heads/master
2021-06-01T06:06:22.025622
2016-06-01T19:13:44
2016-06-01T19:13:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,447
py
# Copyright (c) 2003-2015 by Mike Jarvis # # TreeCorr is free software: redistribution and use in source and binary forms, # with or without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of condi...
[ "michael@jarvis.net" ]
michael@jarvis.net
871b137fe0872b36469883e5e9a349c0675255a9
34722a32572fe7b5d9f440dd90c13b9dffec036e
/deep-learning-face-detection/detect_capture_faces.py
183c261601290f71c3b4095b28994349fb79fdc8
[]
no_license
NathanDuPont/Discovery-World-Face-GAN
d6bdece248ff57a85a9a044a20568e0868e1c193
2375704d9f6670bbba32fad4add8222111e8317c
refs/heads/main
2023-04-14T22:23:34.559386
2021-04-23T01:44:15
2021-04-23T01:44:15
347,130,421
1
0
null
2021-04-01T22:26:19
2021-03-12T16:34:03
Python
UTF-8
Python
false
false
2,740
py
# python detect_capture_faces.py --video swing.mp4 from imutils.video import FileVideoStream import numpy as np import argparse import imutils import cv2 import os # ap = argparse.ArgumentParser() # ap.add_argument("-v", "--video", required=True, # help="path to input video file") # args = vars(ap.par...
[ "dowdlek@msoe.edu" ]
dowdlek@msoe.edu
4e4a8e60733074a4f13e76f417f8b65a0dd28f7d
51d1263741394ebf2c7dc6be6cc2331352b98950
/blog/urls.py
480f281eba0bb7d628a807d67bf413652b275055
[]
no_license
Charles-Wu-Chen/djangogirls
25d5db139ef699e6489eedb0e8ee1a3893358cb4
5b20c90e69ffdc62aac3967d4320fe52efe17a23
refs/heads/master
2021-05-31T19:02:30.636495
2016-01-18T03:32:33
2016-01-18T03:32:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from django.conf.urls import url from blog import views urlpatterns = [ url(r'^$', views.post_list, name='post_list_name'), url(r'^post/(?P<pk>[0-9]+)/$', views.post_detail, name='post_detail'), url(r'^post/new/$', views.post_new, name='post_new'), url(r'^post/(?P<pk>[0-9]+)/edit/$', views.post_edit, n...
[ "wuchen2010@gmail.com" ]
wuchen2010@gmail.com
e0fb0a82beb95083e8fb38de30e260d71be13f1c
5e485ce79f6bac55a9c9e603a0608f51046428f2
/testjf_UI/interface/test_多人投资并发.py
024a27b177663583f30571bb511ce18eb93e131a
[]
no_license
3058035655/zstestjf122201
27205631132b402bab68dc35d83668b7b1c382c3
6fa6b648fbd4b60898a7b332ec051b772b2e491b
refs/heads/master
2020-04-12T22:51:57.148145
2018-12-22T10:13:31
2018-12-22T10:13:31
162,801,034
0
0
null
null
null
null
UTF-8
Python
false
false
3,577
py
#-*- coding:utf-8 -*- import unittest import time import sys import re import requests from testjf_UI.common.db import Db from testjf_UI.common.loginpage import LoginPage from testjf_UI.interface.test_多人投资ok import Test_duoren_invest from utils.config import DATA_PATH, REPORT_PATH from utils.file_reader import ExcelRe...
[ "3058035655@qq.com" ]
3058035655@qq.com