blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
5a66924ddb59c8542e5f6e80dd533f2bfdd5390f
0f22a445063944a3d5aab2d3c47c57aeb496750c
/hubblestack/__init__.py
5dbba3dfee0cd038c43d616edabc0f915f63c895
[ "Apache-2.0" ]
permissive
yassingh/hubble
47d1a4164685f5b286cd42b804aa45486155ca54
ada653cddb7c97bf4a05c8aeac41b90fd3acbbcf
refs/heads/develop
2021-01-24T04:34:53.893379
2019-07-26T19:46:43
2019-07-26T19:46:43
130,213,700
0
0
Apache-2.0
2018-04-20T10:09:42
2018-04-19T12:40:40
Python
UTF-8
Python
false
false
107
py
__version__ = '3.0.5' __buildinfo__ = { 'branch' : 'BRANCH_NOT_SET' , 'last_commit' : 'COMMIT_NOT_SET' }
[ "colton.myers@gmail.com" ]
colton.myers@gmail.com
83d22405fec7ab45b9e7215454d8e00c8122a53c
53aa2703b632c36714cf762bfb017157fb936089
/wshom/views.py
d24e0b2ff3d3ec9df3de37de30ea51b1caa5a703
[]
no_license
ervanalb/wshom
6033e7d18ee4e54d4ad338dcf00054e20c6c9c2b
b5d70a2a4c83f986b51b4d9f25fd989ff88841e2
refs/heads/master
2021-01-04T06:36:36.654119
2020-09-22T04:34:38
2020-09-22T04:34:38
240,433,111
0
1
null
null
null
null
UTF-8
Python
false
false
3,608
py
import flask from flask import Blueprint import flask_login import werkzeug.security from wshom.model import User from wshom.extensions import db, login_manager import wshom.forms from flask_login import current_user blueprint = Blueprint("public", __name__, static_folder="../static") login_manager.login_view = "publ...
[ "eric@van.al" ]
eric@van.al
fdd4638884d947455012f888f979014d61edaff5
8e328e186da6c5bb12c35c72a967ab73be97d6c5
/CSMWeb/models.py
50a3d4cb6e83c4946df1b2340bafec3794e70140
[]
no_license
PaloAltoCSM/CSM
48bef57a7db0e623deec60d66e3e5dc4470354e9
dd4aaeada040df8e199e9efcea779bef45bbbdb1
refs/heads/master
2021-01-01T16:30:04.794114
2015-08-15T01:46:29
2015-08-15T01:46:29
40,500,511
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
from django.db import models from django.contrib.auth.models import User from django.conf import settings class Tag(models.Model): text = models.CharField(max_length=100, primary_key=True) def __str__(self): return "Tag #%s" % (self.text) class Project(models.Model): name = models.CharField(max_l...
[ "donkimber@gmail.com" ]
donkimber@gmail.com
131e0442abd7cbd1516745791955cccf291ecff1
84bed1d23308a30149d79e175ea77f7d6ea61b90
/config/settings.py
f13a475d226320583508b48c472dba027d580741
[]
no_license
aianman4823/Mymemoblog
c3da74614be6ddec8915636c363fdaa1bc6ecfbb
8a4d8f7d0134fe71cf0f961017d05b73064f9626
refs/heads/master
2022-12-10T21:28:18.194950
2020-08-26T14:32:38
2020-08-26T14:32:38
196,415,132
0
0
null
2022-12-08T05:54:26
2019-07-11T14:55:40
Python
UTF-8
Python
false
false
3,695
py
""" Django settings for config project. Generated by 'django-admin startproject' using Django 2.2.3. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "akitoaianman1@gmail.com" ]
akitoaianman1@gmail.com
6400f4903b725995686f1dc13d4b7ec2e15b4b82
cc0d83e03ef5b3d17d6a1f92a2cbeca9db9f4f6c
/config.py
b51a30a7dc7b2ffaf1a9933d8ae94f0e12288a7f
[]
no_license
dgbkn/copygram
9af16537e25d623d630bf48b548240a1b8a5b3c9
ad226c761ba9fd2d3ba2736b86940a228a8e480b
refs/heads/master
2021-12-22T04:33:47.673532
2017-10-10T14:42:05
2017-10-10T14:42:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
API_ID = dddddd API_HASH = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ROOT_DIR = "/path/to/dir/" SESSION_NAME = "username" ITERATIONS = 2 MESSAGE_LIMIT = 200 PAUSE = 10 PHONE = "+ddddddddddd"
[ "tovrey@gmail.com" ]
tovrey@gmail.com
df2b33ba8127fbda9f96de0e82e305e68ece647f
58c0d614d675222372f62c49b8e4c1a1d7e1a87b
/162. Find Peak Element.py
d13df0aa1ed9ea1af15a8d92798632d4398fbe38
[]
no_license
gagankaushal/LeetCodeSolutions
edfbce4a654d50cb0e2c388be49bb46700f952b4
efddd6213f623e7c65f5ec81608f48be18fccf51
refs/heads/master
2021-06-22T20:49:42.922944
2021-01-16T22:28:24
2021-01-16T22:28:24
183,146,650
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
class Solution(object): def findPeakElement(self, nums): """ :type nums: List[int] :rtype: int """ mountain = 0 for i in range(0,len(nums)-1): if nums[i]<nums[i+1]: mountain = i+1 ...
[ "noreply@github.com" ]
noreply@github.com
f3d6e32ba56b1f3c171a7e56a43242007896c59d
eed78cde637a1238cbb33c377552a588b4acbd7c
/挑战python/034密码生成 .py
4b041ae907c1f5fa3034d8f58f866b07846fa234
[]
no_license
dty999/pythonLearnCode
34abcf2962f0134fe8315cea5d32b45d4a664810
32fc6176ecca525a95a4cc2e99c3fe5a44187840
refs/heads/master
2022-01-12T02:00:27.997927
2019-05-09T07:26:19
2019-05-09T07:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,469
py
"""生活在当代社会,我们要记住很多密码,银行卡,qq,人人,微博,邮箱等等。\ 小P经过一番思索之后,发明了下面这种生成密码方法:\ 给定两个正整数a和b, 利用a / b我们会得到一个长度无限的小数\ (若a / b不是无限小数,比如1/2=0.5,我们认为0.5是0.5000000...,同样将其看做无限长的小数),\ 小P将该小数点后第x位到第y位的数字当做密码,\ 这样,无论密码有多长,小P只要记住a,b,x,y四个数字就可以了,牢记密码再也不是那么困难的事情了\ ...
[ "dingtongya@aliyun.com" ]
dingtongya@aliyun.com
b07b16db3d774aac0bbdc84ffbfe276598532c9b
fc353b0433348ff58841cf32bf1f5e594e037513
/leetcode/414.Third Maximum Number.py
ca03468944b1979e12857f95f61398921bb8c3d2
[]
no_license
TrellixVulnTeam/Demo_933I
ce759ec52dd191f99b998862f4aba7971878ba37
ab662060eb07a88a48c9832e09bf268517c1a3fa
refs/heads/master
2023-04-27T16:55:29.627491
2021-05-07T05:38:58
2021-05-07T05:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
# Given a non-empty array of integers, return the third maximum number in this a # rray. If it does not exist, return the maximum number. The time complexity must # be in O(n). # # Example 1: # # Input: [3, 2, 1] # # Output: 1 # # Explanation: The third maximum is 1. # # # # Example 2: # # Input: [1, ...
[ "1149061045@qq.com" ]
1149061045@qq.com
b73ef610ccf9d1d236b302ade0d3e4fd0fa31714
c77843e9d25458d4a848c41f7e88d942bcc0d7dc
/code/lib/nltk/hmm/multioutput.py
9ee4dbd559fff9840778123f936b296380ed6b25
[]
no_license
sethwoodworth/wikipedia-style-edits
0cf99e9f184a8cafce8b8e3e92bbbd6dc0540659
b660ac52ee2c901bc5358e2af2fa8be2d43f6a4c
refs/heads/master
2021-01-22T03:12:54.954349
2008-10-15T21:32:23
2008-10-15T21:32:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,870
py
# Natural Language Toolkit: Multi-Output Hidden Markov Model # # Copyright (C) 2004 University of Melbourne # Author: Phil Blunsom <pcbl@cs.mu.oz.au> # URL: <http://lib.nltk.sf.net> # For license information, see LICENSE.TXT # # $Id: multioutput.py,v 1.4 2005/04/02 22:52:13 stevenbird Exp $ """ Two Hidden Markov Model...
[ "asheesh@fe7ecb3d-170a-0410-af80-b42c727aa7d5" ]
asheesh@fe7ecb3d-170a-0410-af80-b42c727aa7d5
7516852dd574508330178cbc13a9ed763a228644
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/MtktG9Dz7z9vBCFYM_1.py
b19055d28322e4de6c3ee44a3d7684ed9c0daf4d
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
""" Write a function that takes an IP address and returns the domain name using PTR DNS records. ### Example get_domain("8.8.8.8") ➞ "dns.google" get_domain("8.8.4.4") ➞ "dns.google" ### Notes * You may want to import `socket`. * Don't cheat and just print the domain name, you need to make a rea...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
72c239785824f901fde0f8cc47591a09b1ce7e56
b2214d9632bd7f29df201e7a338dfe8c9761073b
/python/problem22.py
5210cadb7dafd350300002a8506fd337543466d4
[]
no_license
CrapsJeroen/ProjectEuler
2fb4f7c94b8ba528eef1797481f538ef8591a0fb
b8ae62fb1163d48cc773ae645fee8f02367bad03
refs/heads/master
2021-09-06T18:24:29.427626
2018-02-09T16:48:46
2018-02-09T16:48:46
80,348,242
0
0
null
null
null
null
UTF-8
Python
false
false
46,618
py
import string names = sorted(["MARY","PATRICIA","LINDA","BARBARA","ELIZABETH","JENNIFER","MARIA","SUSAN","MARGARET","DOROTHY","LISA","NANCY","KAREN","BETTY","HELEN","SANDRA","DONNA","CAROL","RUTH","SHARON","MICHELLE","LAURA","SARAH","KIMBERLY","DEBORAH","JESSICA","SHIRLEY","CYNTHIA","ANGELA","MELISSA","BRENDA","AMY","...
[ "Jeroen.Craps@yahoo.com" ]
Jeroen.Craps@yahoo.com
eadd4d8f602d1f43d67d3e52f1ae9a8fae5f0f87
d422392b701fd4b3aa046f9052625569e3ccc1a7
/scripts/segmentation.py
74c9a90a98277fb589656cf91ef0a1a967b428b7
[]
no_license
sankalpdayal/sensor_sticks
abe79ed9324f2ba799c5b230e9f1b82d2dc0cd3c
7aa1af0a96d692f111e4d3ba81815a6f88fe9f61
refs/heads/master
2020-03-18T05:15:44.888341
2018-05-21T22:55:44
2018-05-21T22:55:44
134,333,379
0
0
null
null
null
null
UTF-8
Python
false
false
3,323
py
#!/usr/bin/env python # Import modules from pcl_helper import * # TODO: Define functions as required # Callback function for your Point Cloud Subscriber def pcl_callback(ros_cloud): # TODO: Convert ROS msg to PCL data pcl_cloud = ros_to_pcl(ros_cloud) # TODO: Voxel Grid Downsampling vox = pcl_clou...
[ "sankalpdayal@gmail.com" ]
sankalpdayal@gmail.com
1758fe1abc9cedcad8fee180725d8c762d9bd68b
b2b2a60e5c7fe3f7f25ce476c43a41bf045415c9
/data_utils.py
84168b808a50544dd146bd1e200468b98161dfdf
[ "MIT" ]
permissive
yashgupta-7/syntactic-template-generation
c83a665ead2d1855be0e51788a3218fc99cf7134
b20ff62ea9daf87d5a26adb25697cc8a0d5202db
refs/heads/master
2022-04-08T00:06:37.779390
2020-01-28T05:01:07
2020-01-28T05:01:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,876
py
import os import pickle import numpy as np from collections import Counter from decorators import auto_init_args, lazy_execute from config import UNK_IDX, UNK_WORD, BOS_IDX, EOS_IDX class data_holder: @auto_init_args def __init__(self, train_data, train_tag, vocab, tag_bucket): self.inv_vocab = {i:...
[ "cmingda@hotmail.com" ]
cmingda@hotmail.com
c9e537cc2c2c9142e84927d41a7f141a1aedcec8
b362fa22e2127a5855a04ba5bc16d2b52c8ab447
/com/foo/SimpleReadFile.py
30ba003df50c926043e0d15895c1a28baad177f5
[]
no_license
dakebubi/flaskX
7da18cc837fb2fe85079303e1b100f2186e4d949
fa9162bd2e085afdce400e26f852bbcc6fe3e85f
refs/heads/master
2021-09-04T05:28:05.036182
2018-01-16T09:53:24
2018-01-16T09:53:24
117,646,723
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
from com.foo import testReadFile testReadFile()
[ "wangzheng@guahao.com" ]
wangzheng@guahao.com
244537803eabece33bf150b7a3e93cf37db117cb
b0eef0efd10556a4b054574fdd2d43124cb0856b
/npbench/benchmarks/azimint_hist/azimint_hist_numba_np.py
a59941dc12823543eda3a331f4260532d55b9226
[ "BSD-3-Clause" ]
permissive
learning-chip/npbench
140d38be2095b54393de6e0008264b54b7cf686b
f2f545afe3603d5c8f1771f26d660f25ce4a3cda
refs/heads/main
2023-05-10T09:54:52.719759
2021-05-31T12:09:48
2021-05-31T12:09:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,291
py
# Copyright 2014 Jérôme Kieffer et al. # This is an open-access article distributed under the terms of the # Creative Commons Attribution License, which permits unrestricted use, # distribution, and reproduction in any medium, provided the original author # and source are credited. # http://creativecommons.org/licenses...
[ "alexandros.ziogas@inf.ethz.ch" ]
alexandros.ziogas@inf.ethz.ch
b95b7a882aebceedc9fee427790ed367ef8a9225
257bf1dff915605004a922bb90ccf441363ac695
/day_3/kenyan.py
a8fdaa09381888db62030137e52ae38abcfe0ef1
[]
no_license
rosekay/Bootcamp77
75d45c3f39886d7138b3aa206f08772f45d4dd51
2607908709b61806ea8b5ec9bac137742147547d
refs/heads/master
2021-01-01T05:07:55.369890
2016-04-29T08:10:22
2016-04-29T08:10:22
57,123,135
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
from person import Person class Kenyan(Person): corrupt = False def probe(self, corrupt): self.corrupt = corrupt def is_corrupt(self): if self.corrupt: return "Yes" return "No" #for now
[ "https://github.com/rosekay/Bootcamp77.git" ]
https://github.com/rosekay/Bootcamp77.git
fc06b2cf7a2c085f6d82620d81d38e0f624396a5
3bef97689f5a1c7e3d4af9bfe9f45e5e2d831975
/app.py
34a04f85861104cde8850c94ce8a49ca9fca57a0
[]
no_license
mrnguyencongquy/directdatatools01
117e2c1d73a28234dd9bcaedb7415313d396bd4a
c86a73c61e44a3ebbc501bfb3d64355849c55780
refs/heads/master
2023-07-14T18:30:01.485176
2021-08-25T04:18:43
2021-08-25T04:18:43
396,624,383
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
from flask import Flask, render_template, request import os import pandas as pd import csv app = Flask(__name__) # homepage @app.route('/', methods=['GET', 'POST']) def home(): return render_template('index.html') # data display @app.route('/data', methods=['GET', 'POST']) def data(): if request.method == '...
[ "mrnguyencongquy@gmail.com" ]
mrnguyencongquy@gmail.com
f18b10da4811d2244bda1229f6469b17e08ba92c
fe6b112403bb2c14b9527543a84764fe7f3d8af5
/IndoorPositionEstimator/cflib/logger.py
5f969d8c8c20e9c397d5282bef919ae147034961
[ "Apache-2.0" ]
permissive
capriele/Crazyflie-Indoor-Position-Logger-Controller
02593863bee95a35fb2267de223034f643b31bc5
6f7a44984553d85a66a29c169a2f7c758a2aaac7
refs/heads/master
2021-01-23T03:27:33.801092
2017-05-02T19:16:41
2017-05-02T19:16:41
86,079,562
7
0
null
null
null
null
UTF-8
Python
false
false
14,694
py
# -*- coding: utf-8 -*- # # Author: Alberto Petrucci (petrucci.alberto@gmail.com) 2017 """ Simple example that connects to the first Crazyflie found, logs the Stabilizer and prints it to the console. After 10s the application disconnects and exits. """ import logging import math import time from threading import Threa...
[ "capriele93@hotmail.it" ]
capriele93@hotmail.it
4be5262eb72d98b7f7b1cb06740c0657b12c6488
f48d8f9f29d0158004c0e58b1a9df66c0bcb6a24
/shop/admin.py
7d9e3be753f73dfb6fc54f8435f064c5c0338b9d
[]
no_license
michaelandrew123/python-crud
3329e2268cc80d6deb2bee92c18148d022831aa5
9b7f1afac3050c5cfb809d86269c9f3669f58e8b
refs/heads/master
2023-02-03T02:06:30.768441
2020-12-15T13:53:32
2020-12-15T13:53:32
321,675,822
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
from django.contrib import admin from .models import Product # Register your models here. class ProductAdmin(admin.ModelAdmin): list_display =('name', 'price', 'stock') admin.site.register(Product, ProductAdmin)
[ "michaelandrewsuarez0@gmail.com" ]
michaelandrewsuarez0@gmail.com
2909a2a5e8472f11077a18f4193d07bf13221f66
1ac34246e75efc4e91da18e7610ea7a5a9df7ed6
/Tasks.py
9b94cac046b0ccd478070c572709edb479b0c7ba
[ "MIT" ]
permissive
Jessica-Andrew/CodeDrillz
39f431123fa7d381846b5d8c3ea58af2a1d4adb3
8ddbdc293a8b990133542f428abe8276016c8330
refs/heads/master
2021-04-28T18:26:00.320516
2019-03-18T14:01:09
2019-03-18T14:01:09
121,872,792
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
# -*- coding: utf-8 -*- """ Created on Sat Jan 27 16:41:28 2018 @author: JESSICA """ #A function that solves the equation (x+y*z) + (x-z) def cat(x,y,z): w=(x+y*z) + (x-z) return w print cat(1,2,3) x=int(input()) y=int(input()) def cat(a,b): w=(x+y) return w print cat(a,b) def cat(): x=...
[ "nseabasionyinyechukwu@gmail.com" ]
nseabasionyinyechukwu@gmail.com
c0a3e051bbc2c684475bd3bf28a5112cb6f2f3d3
4ccd7bab3b9491426300d9714330ad58f65fab68
/Train/train.py
f9f4c923c120389b2dc08391d660292b893e70f9
[]
no_license
jcn16/nert
48ebcb3fb64bb2913ab20f85f9b8ab3ae00f4731
3b6e9d85e77077d1ad3b669fe88799d6a19e6d99
refs/heads/main
2023-06-06T11:31:21.520886
2021-06-20T08:33:36
2021-06-20T08:33:36
378,593,994
0
0
null
null
null
null
UTF-8
Python
false
false
8,813
py
import os, sys from opt import get_opts from tqdm import tqdm from torch.utils.data import DataLoader from datasets import dataset_dict # models from models.nerf import Embedding, NeRF,NeRF_sigma,NeRF_albedo from models.rendering_part import render_rays from losses import MSELoss from collections import defaultdict #...
[ "591599635@qq.com" ]
591599635@qq.com
d3d617196c79898607274a2c4ae603b3476a8c61
5e715d3ab6769af0e16de3784b72ffc20b834c34
/dags/milkyway/campaign_outcomes.py
ac5b6857e7c41f3c8c019a134996df7d0a6ff566
[ "MIT" ]
permissive
goodhamgupta/mars
6943483b428cffc77e1f1aa2e7d7ee3aa1d04ba5
06371dd35a94a5e3605e9256972f6d2a5197459f
refs/heads/master
2023-03-25T17:09:30.780427
2020-03-06T15:42:01
2020-03-06T15:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
# -*- coding: utf-8 -*- # Airflow DAG for campaign outcomes from operators.sqoop_emr_workflow import SqoopEmrWorkflow from airflow import DAG params = { 'schedule_interval': '0 13 * * *', 'source_app': 'milkyway', 'destination': 'campaign_outcomes' } dag = SqoopEmrWorkflow.create(params)
[ "shubhamg2208@live.com" ]
shubhamg2208@live.com
9e228d561f731bb4bf18ea933ec8a48124a58919
ca78c7f0c96e3ea5c4929974cda67f017d296648
/Day 10/Akashproject1/firstapp/migrations/0002_alter_person_mo_no.py
7c320227aec2475c05a61619d844c99619f6f21e
[]
no_license
Dhairya77/15-Days-Internship
fc7dcbebe1d6061973adbb4d74ab5fdfce213b0e
88b249725e5741395311284c95a73864ada98937
refs/heads/main
2023-05-30T10:56:28.532133
2021-06-09T18:51:10
2021-06-09T18:51:10
370,724,033
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# Generated by Django 3.2.3 on 2021-06-09 17:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('firstapp', '0001_initial'), ] operations = [ migrations.AlterField( model_name='person', name='mo_no', f...
[ "dhairya2001shah@gmail.com" ]
dhairya2001shah@gmail.com
ed2d8e730e1f68799c443568132b6b04df8ed6f2
9f884a3584eef771f8c010e296c5d763098be243
/povary/apps/recipes/urls.py
8e69a1a748b52fe7ca90910cd8edfb48e5a05e85
[ "BSD-3-Clause" ]
permissive
TorinAsakura/cooking
fc8658ce2ac21c2e00dc307399a5fa24971a20c1
cf0c78f613fa9ce0fcd4ec7a397ab880d9dd631a
refs/heads/master
2023-01-24T13:07:38.529811
2020-12-08T22:14:33
2020-12-08T22:14:33
319,773,012
0
0
BSD-3-Clause
2020-12-08T22:14:34
2020-12-08T22:08:34
null
UTF-8
Python
false
false
1,408
py
# -*- coding: utf-8 -*- from django.conf.urls import patterns, url from recipes.views import RecipeWizard from recipes.forms import RecipeFormStep1, RecipeFormStep2, RecipeFormStep3, IngredientForm from django.forms.formsets import formset_factory FORMS = [("first", RecipeFormStep1), ("second", formset_fac...
[ "me@torinasakura.name" ]
me@torinasakura.name
f7a3c943d8c85fccf709187e661a13d1febedf80
9ba9d85650fc1fbd76a5f8fd0fa862873ec0b4e3
/tests/api/fitting.py
7f1ef0910646df7b685532de97f8f9dd80b739e8
[]
no_license
schrodinger/pymol-testing
786fa2564a1dcde95f9f3bcb98ba78cb1348d711
55ca60606b366da49922fc2fd0c5e46b3574a5b6
refs/heads/master
2023-07-23T22:42:43.871156
2023-07-20T17:22:36
2023-07-20T17:22:36
9,170,861
6
5
null
2023-09-01T06:41:20
2013-04-02T13:29:39
Python
UTF-8
Python
false
false
3,258
py
from pymol import cmd, testing, stored from chempy import cpv class TestFitting(testing.PyMOLTestCase): def testAlign(self): cmd.load(self.datafile("1oky-frag.pdb"), "m1") cmd.load(self.datafile("1t46-frag.pdb"), "m2") cycles = 2 r = cmd.align("m1", "m2", object="aln", cycles=cycle...
[ "thomas.holder@schrodinger.com" ]
thomas.holder@schrodinger.com
a2deb81e082bf67336d547b9135fe152c5689596
76ade503017f5f2b40cbaa7bf507824b0b047249
/blog/views.py
9f0fa565ea4db856fd58d77a23c8986549081609
[]
no_license
Utsav-Raut/Django_proj_2703
c76d6e5fcec12731beebf10cd8f6d4b86b756f3b
dcc63f4a06a60d78e9ea5f74fedbed9df683654f
refs/heads/master
2020-05-02T17:44:13.579332
2019-03-28T02:07:55
2019-03-28T02:07:55
178,107,800
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
from django.shortcuts import render # from django.http import HttpResponse # Create your views here. posts = [ { 'author': 'Utsav', 'title': 'Blog Post 1', 'content': 'First post content', 'date_posted': 'Aug 27, 2018' }, { 'author': 'Jane Doe', 'title': 'Blo...
[ "utsav.raut@yahoo.com" ]
utsav.raut@yahoo.com
95e1625f25d743050cb651088f93e69da0459865
e0d404675839dc10bc1e995be4c35a69ab9133a5
/api_client/python/grr_api_client/config.py
18fe1aba06e22f8e98221caa6d7e3312da7a36a9
[ "Apache-2.0" ]
permissive
feitianyiren/grr
4afebc4a1912d46b4df4f1b4b0d25500505d05e5
9cc014f44ea9b21166e3b6815eb218d39f37fa07
refs/heads/master
2020-04-09T02:53:22.199635
2018-11-28T10:54:52
2018-11-28T10:54:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,804
py
#!/usr/bin/env python """Functions and objects to access config-related GRR API methods.""" from __future__ import absolute_import from __future__ import unicode_literals from grr_api_client import utils from grr_response_proto.api import config_pb2 class GrrBinaryBase(object): """Base class for GrrBinary referenc...
[ "realbushman@gmail.com" ]
realbushman@gmail.com
4233db2e24aff377c5c4e20ff3efb300be3154dd
5a2b800103edba4d56baefd0141f7cc73e92e598
/scripts/2020-03-05/main.py
78cdad05aed8ac9c2aeee5df4f6dae17765df81c
[]
no_license
oasislabs/private-questnet-upgrade-scripts
dc99f24fb617644d56e82070175510b2e7670557
d3b6ce7ec6778c9d67bf5a34885fe8afa9d84c29
refs/heads/master
2021-02-11T09:26:52.749012
2020-05-11T06:02:54
2020-05-11T06:02:54
244,477,471
0
1
null
null
null
null
UTF-8
Python
false
false
9,178
py
""" Hacky upgrade script for 2020-03-05... we should instead use the tools in the-quest-entities on the next upgrade """ import json import tarfile import os import sys import subprocess import shutil import io import time import slack import click import requests from collections import OrderedDict from datetime impor...
[ "reuven@oasislabs.com" ]
reuven@oasislabs.com
1bfe256e98b3819a009084e61cbab623b1b98742
2a68b03c923119cc747c4ffcc244477be35134bb
/Algorithm/BFS/cutOffTreesForGolf.py
2a98a13b8ff88d702b43e4e35845dcc69aa477f3
[]
no_license
QitaoXu/Lintcode
0bce9ae15fdd4af1cac376c0bea4465ae5ea6747
fe411a0590ada6a1a6ae1166c86c585416ac8cda
refs/heads/master
2020-04-24T20:53:27.258876
2019-09-24T23:54:59
2019-09-24T23:54:59
172,259,064
1
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
from collections import deque DIRECTIONS = [(-1, 0), (1, 0), (0, 1), (0, - 1)] class Node: def __init__(self, x, y, h): self.x = x self.y = y self.h = h def __lt__(self, other): return self.h < other.h class Solution: """ @param fo...
[ "jeremyxuqitao@outlook.com" ]
jeremyxuqitao@outlook.com
36c5d58052d1d80eff3a9073fc0e64540949f326
477cc1f7effd6fec845b697356be01829c70185e
/elearning/elearning/settings.py
e75383a863d3d9d6568403c17b77ff7721e9e27a
[]
no_license
ksabnekar/assignment4p1
0e106cf2101ee97bb0b0f00b01632d88d0791e68
ecdc8a05c1a01101f0994e73d1374f49c4d95f3d
refs/heads/master
2022-04-25T23:57:11.320102
2020-04-13T03:16:48
2020-04-13T03:16:48
254,993,682
0
0
null
null
null
null
UTF-8
Python
false
false
3,304
py
""" Django settings for elearning project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "ksabnekar@unomaha.edu" ]
ksabnekar@unomaha.edu
557f78d41f5e7f386f5954b451a96102c2d85a61
6ce4f2c61bcbdfafcb87da8f1ea56d2f7e3840fd
/backend/app/app/tests/api/api_v1/test_users.py
7c2b6b3d13a4a5acd11f9173f9ff8699961a75ef
[ "MIT" ]
permissive
Toreno96/hello-fastapi
5956ce7703386cd1e6658624bf74bc4930bb009c
ab2c8c1f1144cfa3b7c7cb4a1900e2e570a4c4ca
refs/heads/master
2022-12-13T07:19:39.437128
2020-06-30T08:34:13
2020-06-30T08:34:13
239,751,828
0
0
MIT
2022-12-08T03:38:13
2020-02-11T12:02:08
Python
UTF-8
Python
false
false
3,551
py
from app import crud from app.core import config from app.db.session import db_session from app.schemas.user import UserCreate from app.tests.utils.utils import random_lower_string def test_get_users_superuser_me(test_client, superuser_token_headers): r = test_client.get( f"{config.API_V1_STR}/users/me", ...
[ "toreno96@gmail.com" ]
toreno96@gmail.com
6fdf82764e7bedb0106b8819a6f2767a11903402
e315e9ad3c77289702517ebf464f8d8d8efcaf90
/LGTVRemote/PythonistaKit.framework/pylib/Cookie.py
68d989383e053a126368a37b2851b709104ee722
[]
no_license
Megarushing/LGTVRemote
856123c7907777fe1cbbd431669aaa5e5490746c
abc5e92fa91cd41df68104df7dc9d13270914550
refs/heads/master
2020-03-23T12:51:42.635735
2018-08-10T19:48:40
2018-08-10T19:48:40
141,586,628
2
0
null
null
null
null
UTF-8
Python
false
false
25,822
py
# #### # Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu> # # All Rights Reserved # # Permission to use, copy, modify, and distribute this software # and its documentation for any purpose and without fee is hereby # granted, provided that the above copyright notice appear in all # copies and that ...
[ "olezorn@gmx.net" ]
olezorn@gmx.net
bb66bf071a75efcfd3911bfff82f02abb6f859f3
d8183ea32f7e041dc4094cb955c075586bf66b73
/subscriptions/api/urls.py
b63a5e68b48dfb2f6ec1e280cb64cdad63d00b63
[ "BSD-2-Clause" ]
permissive
mjumbewu/django-subscriptions
e8426ff510f06268c3f4151e7d71ffad59fa115b
78a35742ec5062380aded053b64fd96cba677dac
refs/heads/master
2016-09-05T18:03:22.761915
2013-04-01T18:05:08
2013-04-01T18:05:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
from django.conf.urls.defaults import patterns, include, url from subscriptions.api.views import SubscriptionIndex, ContentFeedRecordIndex urlpatterns = patterns('', url('^subscriptions/$', SubscriptionIndex.as_view()), url('^feed_records/$', ContentFeedRecordIndex.as_view()), )
[ "mjumbewu@gmail.com" ]
mjumbewu@gmail.com
9068990897aab8e31bc3528c0d1e5e71e9ac3716
ded13e921c8365c6113911a5834969ec3d33f989
/190/Reverse Bits.py
daf8020e90da61121938b47c386e6a71c42cebc4
[]
no_license
ArrayZoneYour/LeetCode
b7b785ef0907640623e5ab8eec1b8b0a9d0024d8
d09f56d4fef859ca4749dc753d869828f5de901f
refs/heads/master
2021-04-26T23:03:10.026205
2018-05-09T15:49:08
2018-05-09T15:49:08
123,922,098
0
1
null
null
null
null
UTF-8
Python
false
false
542
py
# /usr/bin/python # coding: utf-8 class Solution: # @param n, an integer # @return an integer def reverseBits(self, n): bit_list = [] for i in range(32): if n == 0: bit_list.append(0) else: bit_list.append(n % 2) n //=...
[ "hustliyidong@gmail.com" ]
hustliyidong@gmail.com
6119e21de413f89ea0c25e3931a8f84ed5f2fd03
076c95502979e0c2adbfdf6a604bd449c5c0abd9
/decorator2.py
5193c9c77916367bc12d23994f23047ab7e2c7b3
[]
no_license
manvillej/NonTrivialPython
344a4bc279db944604cdbbe7de43ba19e3b1d71f
2cd4e1d86118d918938c3143f17899d2e931df7a
refs/heads/master
2021-07-21T01:40:28.090741
2017-10-30T02:14:18
2017-10-30T02:14:18
106,458,752
0
0
null
2017-10-30T02:14:19
2017-10-10T18:56:53
Python
UTF-8
Python
false
false
801
py
"""fulfills Ynon Perek's nontrivial python, Decorator & Generators, part 2""" class memoize(object): """""" def __init__(self, func): """sets dictionary and stores func as attribute""" self.dictionary = {} self.func = func def __call__(self, n): """checks count, calls func...
[ "jeffmanvillejr@gmail.com" ]
jeffmanvillejr@gmail.com
384f2c32d83751bbaee4e8bf82c84cbdb8560799
db1592ee9ba472d2a2f94056ac32b255deb69ecd
/hog/api/migrations/0007_auto_20190618_1648.py
03bfdfd56703771d235c0fe8b69f4fc89eb337bf
[]
no_license
tech4nature/hogapp
3fadcad8353dd2cecdc97eff87d0f196e144a2f5
24d50c9756853534e1dafdccbf3609fd512f253a
refs/heads/main
2023-03-07T00:45:53.100651
2022-07-09T13:00:16
2022-07-09T13:00:16
175,845,744
1
0
null
2023-02-15T19:58:09
2019-03-15T15:27:33
Python
UTF-8
Python
false
false
1,182
py
# Generated by Django 2.1.7 on 2019-06-18 16:48 import django.core.validators from django.db import migrations, models import re class Migration(migrations.Migration): dependencies = [ ('api', '0006_location_coords'), ] operations = [ migrations.AddField( model_name='measure...
[ "seb.bacon@gmail.com" ]
seb.bacon@gmail.com
eb18307f5c09220358b1737156166da9713aa4ca
197a0d2f5e19d718c11bf0f97734b4196814d1da
/CVE-2018-6961/velo_sploit.py
d6aeb0537ce2af165f01bc87ba1447ca01e12108
[]
no_license
drizzt-do-urden-da-drow/CVE-HOLDER
5ba679ba6ca13de3a1050bbae0760669819a7ff5
a1961dd57144a0afee4310f031e4867bbfb15092
refs/heads/master
2023-03-21T16:12:06.911428
2021-03-05T03:39:39
2021-03-05T03:39:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,574
py
#!/usr/bin/env python # Exploit Title: Unauthenticated Command Injection vulnerability in VMware NSX SD-WAN by VeloCloud # Date: 2018-06-29 # Exploit Author: paragonsec @ Critical Start # Credit: Brian Sullivan from Tevora and Section 8 @ Critical Start # Vendor Homepage: https://www.vmware.com # Security Advisory: h...
[ "noreply@github.com" ]
noreply@github.com
e3e726f4d57c94ed8256edcfe84f417f77f8704e
d6a23ae6d581364ebdbba36f1ffaf14c5c4df807
/db/app/migrations/0003_auto_20190212_2212.py
fca365c505b71659a1bb6c74161073f9edc61c32
[]
no_license
CRivers09/FGO_App
2e31eff0153dc0881da1fd61aa39ed86db0dbf83
8f4302f8bf4bf7fe9b3c31665f2d3209b73ff4e4
refs/heads/master
2020-05-15T13:44:11.136843
2019-04-19T21:52:11
2019-04-19T21:52:11
182,308,336
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
# Generated by Django 2.1.5 on 2019-02-13 03:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0002_auto_20190212_2131'), ] operations = [ migrations.AlterField( model_name='servant',...
[ "42360083+CRivers09@users.noreply.github.com" ]
42360083+CRivers09@users.noreply.github.com
508adf8642b9920d2152095cd5a761b3ab2e54c0
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/recoveryservices/v20210201/get_protection_policy.py
ecf4c141423f4c2b9f265781df528fc03ccf1e76
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,829
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
noreply@github.com
f78e0d1e184a5c826d83685785d87fa356c49fe8
3f470c9e12c299cebc0b0b775617f6d2982dc02f
/PythonQ2/Oefening1.py
0986c7ab34873331651676a4ce865e4004d48863
[]
no_license
calvinterpstra/TUDelftPython
b38186434fba75206b8588c6ed8e3c244e29055c
9e38c0285d2b9f48275941116b51b01b705d83a6
refs/heads/master
2021-03-22T01:06:25.386243
2019-10-28T17:06:20
2019-10-28T17:06:20
102,731,164
1
1
null
null
null
null
UTF-8
Python
false
false
1,838
py
# -*- coding: utf-8 -*- """ Oefening1.py -- compute and plot spring load diagram @author: Bart Gerritsen """ import matplotlib.pyplot as plt def plotLoadDiag(ax,path,k,s,F,colString='k'): ax.plot([path[0],path[0]], [F[0],F[1]], colString) ax.plot([path[1],path[1]], [F[0],F[1]], colString) f = getForces(...
[ "calvinterpstra@gmail.com" ]
calvinterpstra@gmail.com
5087f2c5eb792fc077f75a8c5f8159b68ddeb12a
c7ceced08eb50aae5078212a056a5435e9f53370
/src/pygletTest.py
2d614ce6185c060b0b7701b5e8241a4aa8e146c0
[]
no_license
matrixzombie/AudioGame-Sample-with-Pyglet
93d72e25fbecb297bfd2eb59d75bda60c29d2735
91ab44992c3048514b6a94ad790a921bb1a55e3b
refs/heads/master
2020-07-01T09:57:21.213436
2019-08-07T21:58:01
2019-08-07T21:58:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from GameLoop import * import pyglet game = GameLoop() window = game.place_window() window.push_handlers(game) @window.event def on_draw(): window.clear() def update(dt): game.update(dt) game.load_sounds() game.set_up_menus() game.speak_random() pyglet.clock.schedule_interval(update, 1 / 1000.0) pyglet.app.r...
[ "lozano.edgar94@gmail.com" ]
lozano.edgar94@gmail.com
f88454fa9aec4c56926c2ca6e93a4e29b4d5ed11
2c32cf726e111b8625265c458feeaea436652e83
/pramp-condility-3month/mid-ll-03.py
1e8be57a8c2ad51d2eaf8186bda15d8dd284e8ed
[]
no_license
minhthe/practice-algorithms-and-data-structures
6fa3bf98e8e2fe98f4e32419fb797b1df4400364
488a82dd3a0c797859a6c9e1195d6d579d676073
refs/heads/master
2021-05-16T23:01:20.026475
2020-09-23T04:17:13
2020-09-23T04:17:13
250,505,610
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
'''https://leetcode.com/problems/middle-of-the-linked-list/''' class Solution: def middleNode(self, head: ListNode) -> ListNode: slow = head fast = head while slow.next : slow = slow.next fast = fast.next.next if not fast or not fast.next: return slow return slow
[ "minhthe.007@gmail.com" ]
minhthe.007@gmail.com
e73e71b19defdf97b66220f6612d3d90b742c593
954e69e23e10e18d6f8ac721d8e42d6aabceb9ab
/topytorch_all.py
c9c65555052d46e5aa3dce65220f004f795fe386
[]
no_license
jie311/2018--ZJUAI--PyramidBoxDetector
53fc001d6e60fdc67d22ab0864ed1b574c53c182
cc9b87b5082df65704a24117ff7136f9d077f49e
refs/heads/master
2022-09-09T02:30:05.219093
2020-05-28T07:37:59
2020-05-28T07:37:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
# pdpd输入格式的txt pdfile = './final_all.txt' # pytorch输入格式的txt ptfile = './final_all_pt.txt' f = open(pdfile, 'r') f_pt = open(ptfile, 'w') lines = f.readlines() i = 0 rect = 0 total = 0 while i < len(lines): if 'jpg' in lines[i]: im_id = lines[i].rstrip() # print(im_id) num = int(lines[i + 1...
[ "2755289083@qq.com" ]
2755289083@qq.com
972b95e58bc601013a567acdc82203b5a299b235
9b3eca4c129468c18022af3a7b19786f4af813d9
/valleybackups/extensions/glacier.py
dd7d182518857717d5cdd58da9e85fa2d4d9ffe7
[ "MIT" ]
permissive
valleyworks/valleybackups
b111045055e681a9fb3b7bbd7a2f558d6e7851d1
82744b318907656c783b28ad1b083e983f93b3b5
refs/heads/master
2020-04-05T19:20:13.932707
2016-04-12T16:39:18
2016-04-12T16:39:18
52,806,184
1
0
null
2017-03-31T21:50:06
2016-02-29T16:34:10
Python
UTF-8
Python
false
false
5,610
py
import os import boto3 import hashlib from botocore.exceptions import ClientError from valleybackups import db from valleybackups.exceptions import JobNotFound class GlacierClient: """ Wrapper for uploading/download archive to/from Amazon Glacier Vault. Parameters ---------- VAULT_NAME : str ...
[ "nahuel.chaves@gmail.com" ]
nahuel.chaves@gmail.com
dbf395d4bf499cc6bb680aa5eed7b36ef0890dce
32748d435f63ff76616e42e095a9738d6799674d
/scripts/stub_generation/buildstubs.py
a16cacfbdb2c992d179e3ffbd585f6721bf72150
[]
no_license
fiso/mtgengine
bc503935c4f29eae66790799dfbd5ca4ec9d1442
6dd8aaa0f81ee450b69856c97cc262fc8abac512
refs/heads/master
2022-12-06T10:51:38.360092
2020-09-17T19:14:26
2020-09-17T19:14:26
53,063,912
4
1
null
2022-12-02T08:41:10
2016-03-03T16:04:28
JavaScript
UTF-8
Python
false
false
5,531
py
# -*- coding: utf-8 -*- import json import requests import time import sys import os import codecs import time import platform def getFullResultAsJson(queryUrl): fullResult = [] page = 1 while True: r = requests.get("%s&page=%d" % (queryUrl, page)) if len(r.json()['data']) ...
[ "filip.l.haglund@gmail.com" ]
filip.l.haglund@gmail.com
6197555be9447c71a89da3eb0d1f289e8cba7faa
bf68f52e74768e9360d65eb0cffd9e139dcd4181
/src/Snowboy/bin/snowboydecoder_susi.py
e3d9fe3cdedd6184bd25fc24b84e3efc44be25a5
[]
no_license
andreasdominik/Susi
234cda56fb125675814a98af62c71827149a1e78
ec7997c26018ae32ccbb999b7ed08e6017781f10
refs/heads/master
2022-04-23T05:05:28.365475
2020-04-22T12:05:40
2020-04-22T12:05:40
230,613,256
0
0
null
null
null
null
UTF-8
Python
false
false
7,291
py
#!/usr/bin/env python # # modified demo program for hotword detection for Susi. # Based on snowboydecoder.py as distributed with Snowboy. # import collections import pyaudio import snowboydetect import time import wave import os import logging logging.basicConfig() logger = logging.getLogger("snowboy") logger.setLeve...
[ "andreas.dominik@mni.thm.de" ]
andreas.dominik@mni.thm.de
2bbb39fe5babeea63d64753ec257101e06ecd9b6
600d36ca7db6e289e42bcbe9c9169643b1b4f992
/src/mlLearning/NaiveBayes/NB.py
2f50adf5c9c8f54d745b5a2c4b2a61c9f8e7ec8a
[]
no_license
perveil/ml_learning
8e3f3e5c13b46d2625eba3bab95411d894ed7241
01d8f32c46796aaa4af8f8261165ae32f7a5e3ae
refs/heads/master
2020-12-04T19:07:56.071926
2020-04-14T10:49:26
2020-04-14T10:49:26
231,876,484
0
0
null
null
null
null
UTF-8
Python
false
false
4,454
py
import numpy as np from functools import reduce def loadDataSet(): postingList=[['my', 'dog', 'has', 'flea', 'problems', 'help', 'please'], #切分的词条 ['maybe', 'not', 'take', 'him', 'to', 'dog', 'park', 'stupid'], ['my', 'dalmation', 'is', 'so', 'cute', 'I', 'love', 'h...
[ "986778566@qq.com" ]
986778566@qq.com
7cc289dec6ce5fc1cdb6c044527a23f03c69ae3a
2a9fcdff18ab0889ad1ef6635147ffe3a26b17b4
/scheduler-scripts/model/enum.py
d39dcd423653578e0352bd1e74cead5c3d56195e
[]
no_license
jas-haria/VOID_0.1
fe48f67e364f79897eb0c4fe47043d1ebfbbf1be
6f90091f1bd7278c327325e1745c9be6a66b7519
refs/heads/master
2023-06-02T10:45:43.403167
2021-06-27T05:29:16
2021-06-27T05:29:16
286,480,409
2
0
null
null
null
null
UTF-8
Python
false
false
478
py
import enum class TimePeriod(enum.Enum): DAY = "day" WEEK = "week" MONTH ="month" def __str__(self): return str(self.value) class QuoraQuestionAccountAction(enum.Enum): ANSWERED = "ANSWERED" ASKED = "ASKED" EVALUATED = "EVALUATED" REQUESTED = "REQUESTED" ASSIGNED = "ASSIG...
[ "jasharia1998@gmail.com" ]
jasharia1998@gmail.com
3df115b3dffbcbdc55a87e74face40f87c7cca8f
00504f069d4f0eb93ed8777b627a6cd7de0fe94d
/10.0/auth_allowed_ips/__init__.py
4f27000c587c01350a8ffde35f37c6c282bb6e4c
[]
no_license
Gofekra/odoo-2
6e1a688a9e04cc0ecd1ca91ad7fca004194f1c4a
a2f870a695663fe505451b6d97692433a4ea2b1d
refs/heads/master
2021-04-09T13:32:46.994819
2018-03-13T07:52:55
2018-03-13T07:52:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
# coding: utf-8 import re import logging from odoo import models, fields, SUPERUSER_ID, api _logger = logging.getLogger(__name__) class User(models.Model): _inherit = 'res.users' allowed_ips = fields.Text(string='Allowed IPs', help=u"""正则匹配 如:^192\.168\.2\.\d{1,3}$, 支持多个正则,每一个正则单独一行。满足任意一行即可通过。 """) ...
[ "guwenfengvip@163.com" ]
guwenfengvip@163.com
ec0bc629407e2da0c931df53b3bc0f6c13734559
207a9545f1d6bedd3718d0fce252c8f1c2b05b98
/getkeys.py
b06f5a1557d45470dd21db5b61290b671f327e78
[]
no_license
nohsh92/EuroSimDriver
1467d2d80ddeaf2c887c8c354c5821ac9d370745
24deda889b3b08a51b397703af6617cb3fbed3c5
refs/heads/main
2023-04-03T10:55:22.701517
2021-03-31T06:26:44
2021-03-31T06:26:44
353,250,080
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
# Citation: Box Of Hats (https://github.com/Box-Of-Hats ) import win32api as wapi import time keyList = ["\b"] for char in "ABCDEFGHIJKLMNOPQRSTUVWXYZ 123456789,.'$/\\": keyList.append(char) def key_check(): keys = [] for key in keyList: if wapi.GetAsyncKeyState(ord(key)): keys.append...
[ "nohsh92@gmail.com" ]
nohsh92@gmail.com
9cdaad47d5357ac4e8efec69e5a276d9740b076e
c77a40408bc40dc88c466c99ab0f3522e6897b6a
/Python_fundamentals/Lists_basics/InvertValues.py
4f376e4458c8f0257c55551b39bf912e393e5243
[]
no_license
vbukovska/SoftUni
3fe566d8e9959d390a61a4845381831929f7d6a3
9efd0101ae496290313a7d3b9773fd5111c5c9df
refs/heads/main
2023-03-09T17:47:20.642393
2020-12-12T22:14:27
2021-02-16T22:14:37
328,805,705
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
string = input() list_of_string = string.split(' ') reverse_list = [] for i in range(len(list_of_string)): reverse_list.append(int(list_of_string[i]) * -1) print(reverse_list)
[ "vbukovska@yahoo.com" ]
vbukovska@yahoo.com
e7b90fb80eaba4c1b2f33fb886f8a4040d9400ff
89ec3a57fc8fdbf7f2ed2f7ea1a199a2d2222c69
/todo/main/models.py
ef4ccf530d655cab9fd5cf38ced6514078e8663e
[]
no_license
alicsan/todoapp
c9c91e8884c9900188b45ef26916852359811bc0
a6a19e3813cca9e24c652f11057ee484eabea5b3
refs/heads/master
2023-01-14T17:19:48.034936
2020-11-19T16:00:13
2020-11-19T16:00:13
312,561,828
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
from django.db import models # Create your models here. class Todo(models.Model): added_date = models.DateField() text = models.CharField(max_length=100) alt_text=models.CharField(max_length=300,null=True,blank=True)
[ "49616301+alsoacat@users.noreply.github.com" ]
49616301+alsoacat@users.noreply.github.com
be11b741bfcdd7a38ab0381a2686283f96a1864b
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/PCUBE-SMI.py
057c4bae47ebfa759260a8448e4e0cd9d353529d
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
3,457
py
# # PySNMP MIB module PCUBE-SMI (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PCUBE-SMI # Produced by pysmi-0.3.4 at Wed May 1 12:11:29 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
feed524d46fc43a5a00ade655735ab24f32d2272
b9da6b253241577e8c8fc15483cc9c49275226ce
/Quora Answer Classifier.py
eea98f07bdbb48dcedeb8fbb9281f2ba7ff36435
[]
no_license
AhmetHamzaEmra/AI_Hackerrank
16385034bd06f3b830849e1ecf93faea76ea1089
905f98fa2cf5b85373784a0d1d9d096429d1bf8e
refs/heads/master
2021-01-21T05:04:58.089118
2017-03-28T22:30:48
2017-03-28T22:30:48
83,123,938
1
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
n,m=map(int, input().strip().split(" ")) name=[] label=[] data=[] for i in range(n): line=[a for a in input().strip().split()] name.append(line[0]) label.append(line[1]) datas=line[2:] arr=[] for i in range(len(datas)): if i+1<10: a=list(datas[i]) b=''.join(a[2:])...
[ "noreply@github.com" ]
noreply@github.com
760b0eb4c5e3ffc5e8dc4d8b21479bb959617a91
0a28bcde2499e6a41e16d88ed62cd2e80a5b464d
/hb_quant/huobi/model/subuser/trade_market.py
74d22b7034eb44acc3ad53c865621798e9a56b5f
[ "MIT" ]
permissive
wenli135/Binance-volatility-trading-bot
2cfe66007294b13a89b16d1622d50ce1615f1d66
75a03ad61df0e95492128fb6f1f419d4dc256ab3
refs/heads/main
2023-06-13T06:40:43.855256
2021-07-01T02:03:25
2021-07-01T02:03:25
373,853,320
0
0
MIT
2021-06-04T13:38:26
2021-06-04T13:38:26
null
UTF-8
Python
false
false
658
py
class TradeMarket: """ The trade information with price and amount etc. :member subUid: sub user ID. accountType: activation: sub user account state for given accountType. """ def __init__(self): self.sub_uid = "" self.account_type = "" self.activat...
[ "wenli@quchaogu.com" ]
wenli@quchaogu.com
cf2c071600cf89670b46b014cbde4a9a7279af0f
0bc32e0f0cb26e460c663cdb5af226899e9c45be
/csss-site/src/announcements/migrations/0001_initial.py
ab468ed8d5596a6885bec88d5d8f81fef18327a0
[]
no_license
CSSS/csss-site
b4a376540e057bcbd9c94be0bcb0bc4d1de32658
5152787e8db3b1c4a73362e8f06a117f5fadc817
refs/heads/master
2023-08-22T01:10:40.675483
2023-08-07T08:13:14
2023-08-07T08:13:14
107,208,988
9
17
null
2023-09-03T17:07:39
2017-10-17T02:42:48
Python
UTF-8
Python
false
false
1,995
py
# Generated by Django 2.2.13 on 2020-10-06 17:51 from django.db import migrations, models import django.db.models.deletion import django_markdown.models class Migration(migrations.Migration): initial = True dependencies = [ ('about', '0004_auto_20200915_1744'), ('django_mailbox', '0008_auto...
[ "noreply@github.com" ]
noreply@github.com
249ab99aec490d4e6164883dbd8dea5220340a17
19d6bddc562b8cc3c7a6e67465f7601c74979e05
/results/190902/failed/lifelong-stochastic-tight-big_h-11_w-11/stochastic-tight-big.py
9b63dc6b158b73d05568948f1f0b3b6fa474c43e
[]
no_license
SuReLI/llrl
3bca1d1c755e5c59a5d242c18df997ed17f546d0
5f581cdded3cdecf69a8af76dc624494d82a4034
refs/heads/master
2023-01-08T04:04:28.358563
2020-11-06T10:27:33
2020-11-06T10:27:33
169,303,041
9
3
null
null
null
null
UTF-8
Python
false
false
3,358
py
""" Lifelong RL experiment in constant transition function setting """ import numpy as np from llrl.agents.rmax import RMax from llrl.agents.lrmax import LRMax from llrl.agents.maxqinit import MaxQInit from llrl.agents.lrmaxqinit import LRMaxQInit from llrl.utils.env_handler import make_env_distribution from llrl.exp...
[ "erwan.lc2@gmail.com" ]
erwan.lc2@gmail.com
b03e1b6b540f0d896760c25b92429dfe53546f87
9fe2f775a80b95fd8962ece53bd9e7f25004b972
/ct/wsgi.py
1f7dd9be84b4c036a5ba39d6fe9a1bc14cbced42
[]
no_license
keho98/commit-tracker
a55c11de19a92260098db0ee58709f5bf52b13f3
6f9493b5d3d2a8b660a859b92660f50d63c1b35b
refs/heads/master
2020-12-24T16:49:44.611496
2013-10-09T04:43:11
2013-10-09T04:43:11
9,352,406
1
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
""" WSGI config for ct project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`` setti...
[ "keho98@gmail.com" ]
keho98@gmail.com
eabe122568e9add95b39d840e2c32d04e51337fa
d65d4404d45bca5527d0852297d802c98afa8761
/C6 Exercise 1_2_2.py
8cec9fd3eee4f86527219a1dfb7b3f78e0bada39
[]
no_license
TashanM/Programs
b5e8577d2ab86262d6d00a8b20cba9918b75dc10
a635bb907e032c87168e5cf02a30f60d49fef840
refs/heads/master
2020-04-25T14:05:47.838265
2019-02-27T04:39:43
2019-02-27T04:39:43
172,829,634
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
# Exercise 1_2 # Tashan Maniyalaghan # 693776 # ICS3U0-B # 26 October 2017 # Mr. Veera number = int(input('Enter the lower number:')) number2 = int(input('Enter the higher number:')) if (number == 1): num = number+1 else: num = number while (num <= number2): count = 2 flag = True ...
[ "noreply@github.com" ]
noreply@github.com
214b3914aab920368717b8b7efce2aa7628cfc34
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/tree-491.py
b791356b5b8ce529fe2fb5cf44c992b2430b4224
[]
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
1,451
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: return self.left.insert(x) elif x > self.value: if self....
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
09ea0b40efa8888339172dc32566216f4f482dcb
c23ab0101270ea674c4507c7eb7ce86b1fc9f78b
/UBS-PI/PrathamWebApp_v2/core/migrations/0004_auto_20210420_1920.py
95a7e257d9ccdbd506d757e3c7138858f2549db1
[]
no_license
satishkumar-pratham/UBS_PI_App
e28ce7ca38d5cfa1ec79d83ea59f9d60105ca9a5
c7e88f0f0309607f00915a3b6e7cf9b747fe0b9e
refs/heads/main
2023-06-10T14:56:05.783336
2021-06-29T04:39:01
2021-06-29T04:39:01
381,240,229
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
# Generated by Django 3.1.5 on 2021-04-20 19:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20210420_1755'), ] operations = [ migrations.RemoveField( model_name='threshold', name='sentimentT...
[ "pratham@ubsPI.bracml5x4anu3jstaephetmvlc.sx.internal.cloudapp.net" ]
pratham@ubsPI.bracml5x4anu3jstaephetmvlc.sx.internal.cloudapp.net
6dcec5b996d8a262227be3e7686fc90e5ef05185
fc5816b2ba73124a4744d08b7acf8f62ced66640
/timer.py
ec255d136560e92c284404460b1a319a77e14567
[]
no_license
rkdarst/fitz
51e2b9e28a36ffe2b58f49ff36a4593ca55c5045
b2ac6aaff47217f40ac39042d27ffd130b8a36a5
refs/heads/master
2016-09-05T17:20:52.187546
2015-05-16T10:49:14
2015-05-16T10:49:14
22,289,724
0
0
null
null
null
null
UTF-8
Python
false
false
2,755
py
# Richard Darst, 2006 """Provides a stopwatch for code. Classes ======= There is a class defined called Timer. It has the following methods: __init__ -- argument is `clock`, which is the timing function to use for this timer. It defaults to proctime. reset -- zero the stopwatch. The getrusage system ...
[ "rkd@zgib.net" ]
rkd@zgib.net
564eb8dd822398cab41324be637f7a3661023d63
cacc518a4eb4b03a2377bb6f1b1ac168e3356896
/fundamentos/caja.py
d8ea6e42d6a9ca15732a10fdb7afc56ad16faa52
[]
no_license
DanHR14/PythonTraining
61e4137e3159c23fabe8aed5867f82cb700fb61c
4ef74b02a8a84873fb8fa148c34e17284d122daf
refs/heads/master
2023-03-13T14:14:58.617806
2021-03-02T11:15:33
2021-03-02T11:15:33
340,644,688
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
class Caja: def __init__(self, ancho, largo, alto): self.ancho = ancho self.largo = largo self.alto = alto def volumen(self): return self.ancho * self.largo * self.alto caja = Caja(2,5,9) print(caja.volumen())
[ "daniel.hernandezr@col.vueling.com" ]
daniel.hernandezr@col.vueling.com
39faa2c7706ff90e5f28a27eb6dba3e1fd63a9ce
136b1c0818737e5acaed5db3b0d3a40172974915
/frontendtcc/urls.py
47b78442acd311a2000d62d783aa15f494ec514c
[]
no_license
thiagourias/projeto_tcc_2019
5b931abca17cd7e01f38afe0448adcbf0f01da84
ee5f3a738e53e55dc11d79e6f4dceecfc53b8f05
refs/heads/master
2021-07-15T05:25:07.064631
2021-06-23T14:11:55
2021-06-23T14:11:55
204,796,793
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django.conf.urls import url from django.urls import path, include from . import views urlpatterns = [ url(r'^$', views.home, name='home'), ]
[ "thiagourias_@hotmail.com" ]
thiagourias_@hotmail.com
5f2fa5252a4d7002896b53ef145780ce7afb9386
d3cbe8059641ccd60e44ba873abbfb007364bc37
/models/models.py
6a5c15e5eb5b204f3dccd4bb960864563960c6e2
[]
no_license
Meyjan/evieta_site
6186583be3a82d5675cee43c92cbf86a5ab0950e
dbd8ef0bbf9bae402b2209c612f9e26103e5816c
refs/heads/master
2020-09-10T05:53:31.982645
2019-11-14T10:02:39
2019-11-14T10:02:39
221,665,562
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# -*- coding: utf-8 -*- from odoo import models, fields, api class evieta_site(models.Model): _name = 'evieta_site.evieta_site' name = fields.Char() value = fields.Integer() value2 = fields.Float(compute="_value_pc", store=True) description = fields.Text() @api.depends('value') def _valu...
[ "saragih.meyer0821@gmail.com" ]
saragih.meyer0821@gmail.com
94b1862eb93320066ac7a8decddd711afff7f812
94dfddc5049a8a789744a581d6f13ef3b5368f55
/forms/migrations/0002_auto_20200409_1823.py
6473230ca0d4228b88358f1710f11c08766dba4b
[]
no_license
sid230798/G6_SE_Business_Workflow
ff668e292a5025a8c888975d84144edac6ae697f
b40c007dfd36bef48b328987f5c49f91bc0b2371
refs/heads/master
2022-04-20T14:36:33.369351
2020-04-13T14:55:12
2020-04-13T14:55:12
250,846,577
0
1
null
null
null
null
UTF-8
Python
false
false
527
py
# Generated by Django 3.0.4 on 2020-04-09 18:23 import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('forms', '0001_initial'), ] operations = [ migrations.AlterField( model_name='fielddescript...
[ "2016csb1043@iitrpr.ac.in" ]
2016csb1043@iitrpr.ac.in
059d150cef53170a11bc22868662fc2d21035b3b
1c478d73725207211396153c3aa996cf75e7f3a8
/General/files/oop_patterns/flyweight.py
ec20f68e323421d352b3bd491db9810368b04cd5
[ "MIT" ]
permissive
trucker-su/web-developer-cheatsheet
cfa1d78eed89c3cb27e5e4176543a0f0581ef041
b7ed1f662337dd6c31f3c5056eb014b0a9c64258
refs/heads/master
2022-12-24T02:47:13.987320
2020-09-30T06:14:49
2020-09-30T06:14:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
import weakref class Color(object): """Приспособленец""" def __init__(self, name): self._name = name def __str__(self): return self._name class ColorFactory(object): """Фабрика приспособленцев""" _colors = weakref.WeakValueDictionary() @classmethod def get_color(cls, na...
[ "DRyutov@optimum.omd.ru" ]
DRyutov@optimum.omd.ru
50044a2dd9b35759a67db96f8c1e6bf676344c6a
c9ff6d5349a9df7c33124e63e520ea99bb525beb
/mysql_procedure/mysqlcomm.py
06247edf997e52f2a609ef9654472d3aa22fd91b
[]
no_license
Varior/TestSW
d1c3e8063faf33432802cdddba4349504c886386
6b1ad5b98dd1d35418339e6e2218c47797fb6592
refs/heads/master
2021-07-09T14:22:09.851807
2017-10-06T08:38:21
2017-10-06T08:38:21
105,128,042
0
0
null
null
null
null
UTF-8
Python
false
false
3,222
py
from flaskext.mysql import MySQL class MysqlCommands(MySQL): """docstring for MysqlCommands""" def __init__(self): super(MysqlCommands, self).__init__() def count_all(self): self.cursor = self.connect().cursor() self.cursor.callproc('count_all') self.total = self.cursor.fe...
[ "alexandrvenzor@gmail.com" ]
alexandrvenzor@gmail.com
04acfb0871b24828e9009bd41d13a1eabbfac3cf
eb9e987f83cbcd6dfbbb5e9258b63d25ef9157bd
/insta/migrations/0001_initial.py
cea169d37ec0eac9a8110d878b76f3a47e3ea0dd
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ndanu-josy/Instagram
080c2e4337d2154b5e673f67a1bdbb16d0e6c5a6
e8b189b06e8c9326a680759b06fd85462c49d124
refs/heads/master
2023-06-25T16:51:39.438629
2021-07-15T06:17:51
2021-07-15T06:17:51
384,429,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-07-11 05:18 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrati...
[ "josphinendanu3@gmail.com" ]
josphinendanu3@gmail.com
8f1f456f8c6c106e8b87700495924afa34c3ccbc
a5cbe3c2cf494971c7bd6ff46c6e670827509e7f
/thumt/scripts/visualize.py
6d732f0e0473d0d4abfaca49df34a7fdc867881f
[ "BSD-3-Clause" ]
permissive
caoqian1995/THUMT
527cbfe0aef6a8ebc720f2071c1ca659350acac8
b21bba63ea34fc48b545b90510ef60850eeee0b3
refs/heads/master
2020-04-28T08:53:36.393087
2019-03-17T01:57:11
2019-03-17T01:57:11
175,146,342
0
0
BSD-3-Clause
2019-03-12T06:08:37
2019-03-12T06:08:30
Python
UTF-8
Python
false
false
1,239
py
import os import sys import matplotlib import matplotlib.pyplot as plt import numpy import re from matplotlib import font_manager def parse_numpy(string): string = string.replace('[', ' ').replace(']', ' ').replace(',', ' ') string = re.sub(' +', ' ', string) result = numpy.fromstring(string, sep=' ') ...
[ "grit31@126.com" ]
grit31@126.com
16a3fc07f5076c8209e850bf5fae219bc5f9d24a
a718de5d51c8d430e791aca6092669c04548fd64
/Census-Analyser-master/census_analyser/test_census.py
a1d7d9093033bac09637e510c928fb25d4e80fa1
[]
no_license
santoshikalaskar/Basic_Advance_python_program
d0fef4134ed4b14f84ff05a3b37e1773c111a2d1
84df5c336d5304c3c727102194ba62417640643a
refs/heads/master
2023-01-22T15:06:24.909145
2020-12-02T14:01:29
2020-12-02T14:01:29
314,511,681
0
0
null
null
null
null
UTF-8
Python
false
false
4,451
py
import pytest from stateCensusAnalyser import CSVStateCensus, SortData, Mapping from custom_exceptions import ( FileIsNotCSVTypeException, EmptyFileException, InvalidDelimiterException) sort_ref = SortData() map_ref = Mapping() class TestCensus: ...
[ "kalaskars1996@gmail.com" ]
kalaskars1996@gmail.com
4275cb488e77d1a9edb6a1bf5983ec76c0dc2e2e
9e9f1f908c931473e4bcaea15c2d3d9a23762da9
/Cap4/Programa 4_37.py
ed3088f894df023c387d64ba0c10b7a33c0278cd
[]
no_license
LucasMaiale/Libro1-python
d09d0b1b4bd43c4d3bc241ea0db0a066088772dd
56ef9eb4b3ad62844e703c311d33f83c066b762d
refs/heads/master
2023-07-31T19:30:06.662798
2021-09-07T21:47:43
2021-09-07T21:47:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
# -*- coding: utf-8 -*- """ @author: guardati Problema 4.37 Encuentra e imprime todos los números primos gemelos comprendidos en el intervalo de 1 a un valor dado por el usuario. """ valor = int(input('\nIngrese hasta qué valor quiere analizar: ')) if valor <= 0: print('¡Error en el dato!'.upper()) els...
[ "noreply@github.com" ]
noreply@github.com
5da6b4055e3184bf7455551e7ce6d064274315dc
d3fb91a332f361db8fa95c3e7363f0d1ad8746b6
/crawl_engine/migrations/0011_auto_20170415_0833.py
9f49c191ce075db59d58819fff860465ac68315e
[]
no_license
yugri/ibis
f778cdb3157f76a36824933ec00719296e827122
b4685b3e35606e3c4aff13126a143d48d36d0389
refs/heads/main
2023-01-05T07:42:29.956147
2017-05-23T13:20:40
2017-05-23T13:20:40
311,342,338
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-04-15 08:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('crawl_engine', '0010_auto_20170415_0814'), ] operations = [ migrations.Alte...
[ "vovangan@gmail.com" ]
vovangan@gmail.com
e8f27c127611b97912f4823557801cdf37ed5c21
8537b6ee34a7fa3a08322dacf5599540e2804f7f
/UX/screentest.py
b598fae3c71d240e922dc53137a2a3a8f5a6337c
[ "MIT" ]
permissive
cylindricalcow/physics_hackathon
7213483d409a864919f4c0633c60e3dbdd071f35
726df1bce391dc4b64c850b34fefbce71e25b4db
refs/heads/master
2021-04-27T02:56:20.581789
2018-08-30T23:40:45
2018-08-30T23:40:45
122,704,040
2
4
null
null
null
null
UTF-8
Python
false
false
1,243
py
from kivy.app import App from kivy.lang import Builder from kivy.uix.screenmanager import ScreenManager, Screen # Create both screens. Please note the root.manager.current: this is how # you can control the ScreenManager from kv. Each screen has by default a # property manager that gives you the instance of the Screen...
[ "habibsarah11@gmail.com" ]
habibsarah11@gmail.com
0c80371e2bfa26e44298ef6ee0467de3c1f87c35
d697c1d45e96bd440be9c17ab14243a5882b1f52
/qianfeng/常用模块/Tkinter/Button.py
b271d275b4103dc54132277c710592fefe06f946
[]
no_license
ithjl521/python
9eeda2e60dda97ee36e8764c06400eb12818689f
f4fe50799501c483cb64445fd05ee0f30f56576c
refs/heads/master
2020-07-12T23:10:53.608276
2019-11-08T08:59:35
2019-11-08T08:59:35
204,931,359
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
import tkinter def fun(): print('hello word') win = tkinter.Tk() win.title('title-hjl') win.geometry("400x400+200+50") # 创建按钮 button = tkinter.Button(win, text='按钮', command=fun, width=10, height=10) button.pack() button2 = tkinter.Button(win, text='按钮', command=win.quit) button2.pack() win.mainloop()
[ "it_hjl@163.com" ]
it_hjl@163.com
b0801fbca38eab3b1410d89be8e62894c863870c
3d402c0e7fa42ec8b5a87510a8c5bb3a3f09b6bf
/PythonApplication1/PythonApplication1/Path.py
8d36e3ed7556aef810484b4c80e0d3720e4fa879
[]
no_license
JohnSdev/Pathfinding-algorithms
1a36ae5a3c4a855ee966792296371ea8ca2eb946
6f5a8aae55511b6c1972e25107425d2f45c9b6e1
refs/heads/master
2021-09-08T05:37:58.016526
2018-03-07T18:25:42
2018-03-07T18:25:42
113,319,219
0
0
null
null
null
null
UTF-8
Python
false
false
2,942
py
import collections class Queue: def __init__(self): self.elements = collections.deque() def empty(self): return len(self.elements) == 0 def put(self, x): self.elements.append(x) def get(self): return self.elements.popleft() class SimpleGraph: def __i...
[ "swanjohn79@outlook.com" ]
swanjohn79@outlook.com
020ddbf0922b9db0f277824f61b424bf206d5a7b
3f7aabda22656cb1f8d80df6628d663c55442dde
/HierLSTM.py
327eef38ce2de790d655b8f79b3808f387d9d54f
[]
no_license
rambozzz/HierarchicalLSTMAE
b63bd2c0e04bd5526a2542c7c01607ab8c914363
78855c9e6adad48ec8a38602d05234fb7d8a51ad
refs/heads/master
2022-05-11T15:31:05.858739
2019-07-22T01:24:37
2019-07-22T01:24:37
191,769,981
0
0
null
null
null
null
UTF-8
Python
false
false
7,382
py
import torch import torch.nn as nn import torch.nn.utils.rnn as rnn from utils import to_var, repackage_hidden import random ''' ENCODER ''' class Encoder_sent(nn.Module): def __init__(self, vocab_size, embedding_size, hidden_size, num_layers, dropout): super(Encoder_sent, self).__init__() self...
[ "noreply@github.com" ]
noreply@github.com
05c23d3ef6d72aa84e09497c3c41edd8d0861524
370fd5c6e66f38b620bbd24b3d694349ab96ae4f
/src/utils.py
c7a499390011ebebcb2c60427ae6f5b30da4021a
[]
no_license
joacolej/proygrado
6adca39da90faea7d7701ee9384163cb157a4ed8
3fd8d8d895e5fe4021b5f9dfa3ac5fe71b8e4a7a
refs/heads/master
2020-03-10T15:31:27.520226
2019-06-04T21:28:47
2019-06-04T21:28:47
129,450,347
1
0
null
null
null
null
UTF-8
Python
false
false
815
py
import json # Importa y lee un archivo del tipo json def abrir_json_file(ruta_texto): with open(ruta_texto) as data_file: data = json.load(data_file) return data def postag_a_synset(tag): if tag[0:2] == 'VB': return 'v' elif tag == 'NN': return 'n' elif tag == 'JJ': return 'a' elif tag == 'R...
[ "isabel@neocoast.com" ]
isabel@neocoast.com
c8102ce77517b58eb46cba1e0b7cabc365d29a06
5c252092d0816c324d926e8e8228f38685df764c
/Student/stephen/lesson06/calculator_activity/calculator/subtracter.py
1c95c6bb0fc82394f755e27fa896465a98bcb2a3
[]
no_license
ssoukasene/SP2018-Python220-Accelerated
93717ec7ff4b996bd7b799125dd2d7dcbf524207
550d1f04be1f01514bd806d713f9453caadeba22
refs/heads/master
2020-03-18T11:39:52.961012
2018-07-10T06:37:23
2018-07-10T06:37:23
134,684,467
0
0
null
2018-05-24T08:22:05
2018-05-24T08:22:04
null
UTF-8
Python
false
false
286
py
""" This module provides the subtraction operation """ class Subtracter(object): """ Class for subtraction """ @staticmethod def calc(operand_1, operand_2): """ Method defining subtraction operation """ return operand_1 - operand_2
[ "ssoukasene@gmail.com" ]
ssoukasene@gmail.com
ff5da7da6b07126320c3f20bf185a5bb97f29a76
45edff14271724c5bf27e62e96eeb635840eae22
/DeepLearning/tensorflow/10-1验证码生成.py
088f13b02cdcbe8d829ad08df6367e5e7919adc9
[]
no_license
DaiJitao/machine_learning
1e41208dc94836a97e57a4b0f5778f8da2bb81d4
49e1db9ecbfbf886a11ce416eea402d214cf2049
refs/heads/master
2021-06-25T23:52:06.066315
2021-02-07T16:17:50
2021-02-07T16:17:50
209,712,507
3
1
null
null
null
null
UTF-8
Python
false
false
1,595
py
# coding: utf-8 # In[1]: # 验证码生成库 from captcha.image import ImageCaptcha # pip install captcha import numpy as np from PIL import Image import random import sys from DeepLearning.utils import mkdir number = ['0','1','2','3','4','5','6','7','8','9'] # alphabet = ['a','b','c','d','e','f','g','h','i','j','k','l','m'...
[ "976185561@qq.com" ]
976185561@qq.com
b0d2b4f8eaed721a8be9df9a97bd427807e1a106
4e7bf08096967beb1fd847747ad554486093257b
/base/admin.py
c9b21c5832143f8c59f97ba2e10ff36b25060d31
[ "BSD-3-Clause" ]
permissive
sakthicse/agriuplift
1ead218ddbfbd126e99e679fa8b5567ca9b89f83
0c8e7e7a8c9189f10ebd0dde26c5d9ac4c0f879a
refs/heads/master
2021-01-21T21:54:01.666404
2016-07-14T18:14:49
2016-07-14T18:14:49
59,393,282
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.contrib import admin from .models import Projects,SiteInfo # Register your models here. class ProjectsAdmin(admin.ModelAdmin): list_display = ['name'] class SiteInfoAdmin(admin.ModelAdmin): list_display = ['site_name'...
[ "root@sakthivelraman-Aspire-4739Z" ]
root@sakthivelraman-Aspire-4739Z
076d0c24585171a3414acf0e308031f259db7d5e
e36383776478faaedd0c33434c8a5dd386466465
/gunicorn.py
0073f31017021f900a6396c6b9c6dc65b83e738e
[]
no_license
AndreNalevaiko/optilab-bi
a7a70dbb2dc099a33073663dde7b969e0da894da
2565762799f3f49feffb76c631af1d5506110839
refs/heads/master
2022-07-23T11:59:57.698881
2020-01-07T10:58:50
2020-01-07T10:58:50
128,579,734
0
0
null
2022-06-21T23:58:05
2018-04-08T00:19:12
Python
UTF-8
Python
false
false
151
py
import multiprocessing bind = '0.0.0.0:5000' workers = multiprocessing.cpu_count() + 1 worker_class = 'eventlet' timeout = 180 loglevel = 'debug'
[ "andre@gorillascode.com" ]
andre@gorillascode.com
7c0d3636d3d1b404de25ea386b6215af399a2679
c0261c06dc1442af883f3daee4c33171f940301c
/bd_analysis_practice.py
851d1723920c6c36ce453e4f02de00233dbd968c
[]
no_license
Ring-wdr/for_code_practice
60e5506523f57f49acc91c49a3c777bb69974e0d
da79284b4bc290be684a2a3c6b1154492d89387f
refs/heads/main
2023-06-01T01:45:34.659438
2021-05-31T06:03:58
2021-05-31T06:03:58
317,890,594
0
0
null
null
null
null
UTF-8
Python
false
false
3,947
py
# https://www.datamanim.com/dataset/99_pandas/pandasMain.html import pandas as pd df = pd.read_csv("https://raw.githubusercontent.com/Datamanim/pandas/main/lol.csv" , sep = "\t") df.iloc[:5,] df.shape df.columns df.columns[5] df.iloc[:,5].dtypes df.index df.iloc[2,5] ## df1 = pd.read_csv("https://raw.githubus...
[ "enne123@soongsil.ac.kr" ]
enne123@soongsil.ac.kr
7387bc8c680ddf6e983f76fe022effcf72866da2
b058e5bf04e90964836af666980926eb4502e7f3
/GAN-mnist/tf_wgan_conv.py
ff5dbb5094369d927707b4d36063d22c9306c0fc
[]
no_license
eivhav/Machine-Learning
448d626fd08f0c5601facee7611a336b4336f1ad
f209b77ff1e5207021698862099896c5aac275ee
refs/heads/master
2021-03-13T03:04:42.358429
2017-05-16T18:00:48
2017-05-16T18:00:48
91,486,678
1
0
null
null
null
null
UTF-8
Python
false
false
5,857
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # tf_wgan_tdt4173.py: Rudimentary implementation of a wasserstein GAN that # is to be used as a base for the second programming task in assignment 4. # import sys import numpy as np import tensorflow as tf import helpers import matplotlib.pyplot as plt def plot_errors...
[ "eivhav@gmail.com" ]
eivhav@gmail.com
88e6212e0a65ccc966a6e87bccacc0dcc5c18067
b1d5c21549a81c6b7a8f6348aa17bb6a5b717e35
/lib/python3.6/weakref.py
58a76bd02dc3012df3f9f01e460a37a59d56410b
[ "MIT" ]
permissive
jhallman5/fencing_tournament
2038b464448a6f2a7c24dde31cf2572cc8c1aab8
a9b6f01ef505013c64cdddcd26a1234204b0b971
refs/heads/master
2021-04-18T21:59:46.954971
2018-04-01T00:51:05
2018-04-01T00:51:05
126,651,594
0
0
MIT
2018-04-01T00:51:07
2018-03-25T00:28:58
Python
UTF-8
Python
false
false
51
py
/Users/jhallman5/anaconda3/lib/python3.6/weakref.py
[ "jhallman5@gmail.com" ]
jhallman5@gmail.com
ea796738c0ea8c09243d2bef06d9183481be9d08
d2f7471c1429f1ca454bb4cc982bbbecc31f8160
/app/conf/wsgi.py
9cc41bf59a4f0f8c847660a80aebaaa9ea5625f6
[ "MIT" ]
permissive
HenriqueLR/hangman-game
1e442735f688c4e0b2ada6f2208360a01e0df353
6cb29ae1ab666af0d6b054b2e1d598ebb5ff8db3
refs/heads/master
2021-08-22T03:39:08.156486
2017-11-29T05:08:56
2017-11-29T05:08:56
108,403,950
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for app 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.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "conf.settings_production") from django.co...
[ "henrique.lr89@gmail.com" ]
henrique.lr89@gmail.com
be71609e5074e41ffc9f506a37860c8cf9929d00
fb61bcbcee82088a5112031db8efafa343ed8584
/accounts/tests/test_views.py
711b2f141ffad0450fe65396a891058016a95867
[]
no_license
shiftypanda/python-tdd-book
0f9ec05a82930967d8e63e509068d05add676ff5
e93eaf1240108590815f5c1cf28c7c784f4e6cdf
refs/heads/master
2021-05-01T19:58:13.425864
2018-04-09T18:48:00
2018-04-09T18:48:00
120,955,520
0
0
null
null
null
null
UTF-8
Python
false
false
3,114
py
from accounts.models import Token from django.test import TestCase from unittest.mock import patch, call import accounts.views class SendLoginEmailViewTest(TestCase): def test_redirects_to_home_page(self): response = self.client.post('/accounts/send_login_email', data={ 'email': 'edith@exampl...
[ "drtimddavis@gmail.com" ]
drtimddavis@gmail.com
7bd74f7f74f25aa60a6d3c899e266548019c3bb7
c2d28a16d385758fd12ea96b259b5245b4d688cc
/traffic_control/traffic_control/settings.py
6014555d550ef90b7ba94cb27af2c6b4fa0422fc
[ "Apache-2.0" ]
permissive
malfin/Control
6a3992961536b1557d4f0c93234e273355d54d3c
60fe5c86853228da07d39a244f4ce4a52b81df2b
refs/heads/main
2023-08-24T14:46:52.813716
2021-10-24T06:48:04
2021-10-24T06:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,043
py
from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key us...
[ "aiex.0115970@gmail.com" ]
aiex.0115970@gmail.com
cb89ad4dc7d811a3c6175664338070c909e0d774
a2f34c6ad614ffdf996f2253111d76c8e9b1d600
/1차원 배열/최대최소_1.py
a96fcea12888413d65558a78f05adf69d77763df
[]
no_license
dltbwoddl/Algorithmuslearning
f51dc0fc0837397ea30ba3908a62051838079fb2
63b41f0c98760bbf020bfbdd2b59eabaf5fe0ce5
refs/heads/master
2023-01-10T05:03:53.652888
2020-11-19T06:43:35
2020-11-19T06:43:35
272,353,880
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
n=int(input()) s=input() si=[int(i) for i in s.split()] si.sort() print('%d %d'%(si[0], si[n-1]))
[ "noreply@github.com" ]
noreply@github.com
b103abb42775db1d299c2397e070f7fdc8378d99
234c8250906704404b645d0267bb9223d70aa4fb
/spider.py
b6bc021c601b5cd9d35d257c87cf47110890d121
[]
no_license
g0t3n/gplanet
7c69bde9ec798fd4cd229d5d9b394526a506842d
a84512265817e75f47f2b8948f4df285f9155ac1
refs/heads/master
2016-08-04T01:47:50.503065
2013-06-15T01:57:21
2013-06-15T01:57:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,712
py
#!/usr/bin/env python #-*- coding:utf-8 -*- import feedparser import datetime import time # my module import config try: import logger print 'spider: logger load' except: pass def toutf8(datas): if type(datas) == type(u''): return datas.encode('utf-8') try: p = datas.decode('utf-8').encode('utf-8') return...
[ "vinxiaohua@gmail.com" ]
vinxiaohua@gmail.com
118965a0cbbd148f40c881e19c934a043d2da78c
444a9480bce2035565332d4d4654244c0b5cd47b
/research/cv/faster_rcnn_ssod/src/FasterRcnn/fpn_neck.py
595e39d535292bfeb4861a491359db10edac8e05
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
4,481
py
# Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "lzw18248617759@163.com" ]
lzw18248617759@163.com
eb0e700c8e810354d18306dda17f026431387c41
d40aa60243a9c378adf7fee3e4a48639ac8d293c
/Session4/list_for_2.py
08c9df775bbde7417728990f23af5f82ba28f3f9
[]
no_license
peekachoo/dangthuhuyen-fundamental-c4e25
0bc0a83b515518d1a50bf2bbf67d628c1eeae990
372b17e65fc19d1c80da85e8ca94c0579904c0ae
refs/heads/master
2020-04-13T09:10:06.250844
2019-01-04T17:01:20
2019-01-04T17:01:20
163,103,818
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
lists = ["Pho", "Com", "Chao"] # for i for i in range(len(lists)): #duyet theo so thu tu print(i+1, lists[i])
[ "dhuyen135@gmail.com" ]
dhuyen135@gmail.com
4ef05a18025c3b9771195e64c53dcd263b60cdae
72cd5de02834849e2893f2c862fc37d1565b1d2e
/cdms_to_gems_1.py
c2d611acc0594e54835316f3f01d3c165fff1235
[]
no_license
gaofenghao/Fuzzy-Name-Matching
497f58962094f3c938b46978e1f9e10b4be59935
221cff580edc1d0eec8f410d88b8d52e8b0886c9
refs/heads/master
2021-09-18T19:43:36.597679
2018-07-18T21:32:43
2018-07-18T21:32:43
126,068,423
2
0
null
null
null
null
UTF-8
Python
false
false
18,482
py
""" Created on 01/26/2018 12:33 AM @author: e612495 """ import string import numpy as np import pandas as pd import difflib from functools import partial from fuzzywuzzy import process import re from math import* from decimal import Decimal class Similarity(): """ Five similarity measure...
[ "noreply@github.com" ]
noreply@github.com
baaea832d2de21fc9bdca57ef60c88bc7b43cf92
df2cbe914f463ad050d7ed26194424afbe3a0a52
/addons/website_sale/models/product_image.py
eea9afb69671067f39780fa6041a4031d9e785e0
[ "Apache-2.0" ]
permissive
SHIVJITH/Odoo_Machine_Test
019ed339e995be980606a2d87a63312ddc18e706
310497a9872db7844b521e6dab5f7a9f61d365a4
refs/heads/main
2023-07-16T16:23:14.300656
2021-08-29T11:48:36
2021-08-29T11:48:36
401,010,175
0
0
Apache-2.0
2021-08-29T10:13:58
2021-08-29T10:13:58
null
UTF-8
Python
false
false
2,699
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import api, fields, models, tools, _ from odoo.exceptions import ValidationError from odoo.addons.website.tools import get_video_embed_code class ProductImage(models.Model): _name = 'product.image' _...
[ "36736117+SHIVJITH@users.noreply.github.com" ]
36736117+SHIVJITH@users.noreply.github.com
22bca3371efa81aa4949a3b5987d263314fe8d89
22c89c04e9a82cb0a9762fafc7dc3b84d2a70e7f
/menu/views.py
829923db1f188de77cfc0b4bc765b2e9d03bcdfa
[]
no_license
zonbose/pizzamama1
ac7e0864b29d4eee62923b2d9ba2e8a02036bc72
4e5872f9d9ff82c9c9ac2ab86f18d1ab7d72b04b
refs/heads/master
2023-08-25T07:35:45.898769
2021-10-13T21:09:03
2021-10-13T21:09:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
from django.shortcuts import render from django.http import HttpResponse from django.core import serializers from .models import Pizza # Create your views here. def index(request): ''' pizzas_list = [pizza.name + ":" + str(pizza.price) + "$" for pizza in pizzas] pizzas_list_str = ", ".join(pizzas_list)'''...
[ "zabes141@gmail.com" ]
zabes141@gmail.com
aaf535db89833ff3ec0594144e628cb3305216a7
24f324f83e2245f7811b8ce97f5fca410605f88c
/setup.py
f4dbe9dfeedbe7b7d0f2314fb9aba3fa1b745426
[ "MIT" ]
permissive
jfajkowski/PyCheckers
c4791f4e03d22a6b3f56864eaf5e8931b2f0a61d
2747ec645fe78bbaa9306987cfad0117b366dcc1
refs/heads/master
2020-03-10T23:12:21.237439
2018-06-11T21:21:49
2018-06-11T21:21:49
129,636,146
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
from setuptools import setup, find_packages with open('README.md') as f: readme = f.read() with open('LICENSE') as f: license = f.read() setup( name='pycheckers', version='0.1.0', description='Checkers game for AI algorithms demonstration', long_description=readme, author='Bartłomiej Bie...
[ "j.fajkowski@stud.elka.pw.edu.pl" ]
j.fajkowski@stud.elka.pw.edu.pl
ac6ced78d8d29bd526ed9c01e7c7f89ac4c106b1
8496c516f3d0b087e6e285a0dcff1984f21e0b56
/blog/migrations/0010_quotestitle.py
fe7a770791ce8f48c23f4344b61dfe80539cd8f7
[]
no_license
Hastes/testblog2016
22fa733f890c0e8574b8653e50cf560a760d0ea8
6a363b2eb6ea2122d34d720b46ec9b90430f17e2
refs/heads/master
2020-04-18T03:42:03.504624
2016-10-02T13:52:31
2016-10-02T13:52:31
66,251,160
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-10-01 14:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0009_remove_likes_dislike'), ] operations = [ migrations.CreateMode...
[ "rom541997@gmail.com" ]
rom541997@gmail.com
c227bd7e8a5d2110d0ff22a4bd3d177ce65344de
d8db486c6c0e4f7c4da3dd9d8752a2de0174a1d6
/test/apiv2/rest_api/v1_test_rest_v1_0_0.py
acd6273ef57d7afcf195aca5cd60f67e8b9c27dd
[ "Apache-2.0" ]
permissive
isabella232/podman
49c10ca0df99bbc4362b8ec284b43bf05c38cca8
dcd498a6885f0293934214af0c6fc2d3c7717bd5
refs/heads/master
2023-03-07T23:36:51.958197
2020-11-18T15:59:41
2020-11-18T15:59:41
314,002,564
0
0
Apache-2.0
2021-02-23T16:35:32
2020-11-18T17:06:49
null
UTF-8
Python
false
false
7,662
py
import json import os import shlex import signal import string import subprocess import sys import time import unittest from collections.abc import Iterable from multiprocessing import Process import requests from dateutil.parser import parse PODMAN_URL = "http://localhost:8080" def _url(path): return PODMAN_UR...
[ "jhonce@redhat.com" ]
jhonce@redhat.com
45ca12ece2008353a184352bf94e2f41823cd372
1a55dcabeb6efc86cc5a07651f594db6e86e0258
/setup.py
e7b90f8f84c722a0b855dcf703c75cad706d1a09
[ "Apache-2.0" ]
permissive
ishine/athena-decoder
c69ed3f15df336e917fc632e5f1c8daa0a7493ba
51e72019f411c0c50bf000717e0417f29126fa1f
refs/heads/master
2021-07-03T20:03:10.339354
2021-04-23T07:17:11
2021-04-23T07:17:11
232,736,656
0
0
Apache-2.0
2021-04-23T07:17:12
2020-01-09T06:16:57
Python
UTF-8
Python
false
false
423
py
from setuptools import setup import setuptools setup( name = 'pydecoders', version = '0.1.0', author = 'DIDI AI LAB SPEECH', author_email = 'didi@didi.com', description = 'different kinds of python versioin decoders for seq2seq model', url = 'https://github.com/athena-te...
[ "neilhanyang@didiglobal.com" ]
neilhanyang@didiglobal.com
f300a0ebf5b2cde3b0a2f689bfd2d14ae3a15d55
6db92345b0ed973d33abe2b7e9c2f344f14b8224
/eventex/subscriptions/tests/test_views_success.py
052a8255118552a840eff16884b5b3681761610c
[]
no_license
elyssonmr/wttd
04780cbfd329d67eaab31b2943bab2eab12d5484
bc6c71d24cd335c13eedd1d40ce2ad765ea1209d
refs/heads/master
2021-01-13T01:49:38.277289
2013-02-11T00:23:57
2013-02-11T00:23:57
7,615,953
0
1
null
null
null
null
UTF-8
Python
false
false
1,256
py
# coding: utf-8 from django.test import TestCase from eventex.subscriptions.models import Subscription from django.core.urlresolvers import reverse as r class SuccessTest(TestCase): def setUp(self): self.s = Subscription.objects.create(name = 'Élysson MR', cpf = '12345678901', email = 'elysson...
[ "elyssonmr@gmail.com" ]
elyssonmr@gmail.com