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
67918c21546f9dabf3990c9326ba50c26bed0e95
b687a9118e59c1650b5b563308202f54b78b89c5
/haphilipsjs/data/__init__.py
a2be58b7ab49fd58891e93c4dff4945c4c48a8fc
[ "MIT" ]
permissive
danielperna84/ha-philipsjs
355a65a5646ae345a74ae7f6f75b82e52166ff32
19e84aeb4ae814ef9fde662771bbd6816a43d3fd
refs/heads/master
2023-06-25T11:53:17.962721
2023-06-14T22:04:22
2023-06-14T22:04:22
72,679,323
18
25
MIT
2023-06-14T22:02:56
2016-11-02T20:38:39
Python
UTF-8
Python
false
false
20
py
"""Data modules."""
[ "elupus@ecce.se" ]
elupus@ecce.se
1213b4cfe0ee051332c2a4fbe49a109885569f4a
4cc59179aac026ca7ba1d5556610673e3ffe9b0d
/voipain/urls.py
af96ec641dd968e5de11778f6f19f9a55b9323f4
[]
no_license
Pybast/Voipain
3f1d1e89dd8e770db20f3f0742744e760e54ded3
6c3404ada92fe39bbebb72171de0b7aef86e156b
refs/heads/master
2022-08-31T01:35:01.684643
2019-10-10T12:21:18
2019-10-10T12:21:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
from django.urls import path from django.conf.urls import url from . import views app_name = 'freckly' urlpatterns = [ path('', views.IndexView.as_view(), name='indexview'), path('demandes', views.SeeDemands.as_view(), name='seedemands'), path('demander', views.RegisterDemand.as_view(), name='registerdema...
[ "baptiste.0606@hotmail.fr" ]
baptiste.0606@hotmail.fr
63f0b3714d9174e540a1a9c7a40db8b81ca459e1
21b0b4c27193898207751c91b8b2ed168a1b1638
/py/py_0074_digit_factorial_chains.py
576fc3629b2ebe4479494eab79c28b6178f4a805
[ "MIT" ]
permissive
lcsm29/project-euler
67560a4e66968f1671a3d7ecf2dda6c956893dca
fab794ece5aa7a11fc7c2177f26250f40a5b1447
refs/heads/main
2023-07-04T11:45:24.374841
2021-08-07T08:20:41
2021-08-07T08:20:41
371,808,781
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
# Solution of; # Project Euler Problem 74: Digit factorial chains # https://projecteuler.net/problem=74 # # The number 145 is well known for the property that the sum of the factorial # of its digits is equal to 145:1! + 4! + 5! = 1 + 24 + 120 = 145Perhaps less # well known is 169, in that it produces the longest ch...
[ "lcsm29@outlook.com" ]
lcsm29@outlook.com
d2162dddde799f744fe944a44e2c4f42cb7a6370
2a0f5d71540376e11cf88210dbda35d339cc39c0
/blog/Otros/views1 (copia).py
441393b59386a8db057fb0f66d1b3c3eddcac93a
[]
no_license
JenniSuce/djangoapp
8dcb8765019b7a9a9c757e9034f2889e53c5cc02
2e41d6a599757a5ef84cb423855e38ab4e02d677
refs/heads/master
2020-09-20T22:44:14.306741
2016-11-18T17:55:31
2016-11-18T17:55:31
67,233,058
0
0
null
null
null
null
UTF-8
Python
false
false
3,907
py
#from django.shortcuts import render, get_object_or_404, redirect #from blog.models import Postear from django.utils import timezone #from .forms import PostearForm # Create your views here. from django.shortcuts import render, get_object_or_404, redirect from django.contrib import messages from .forms import AlumnosF...
[ "jenni_su@hotmail.com" ]
jenni_su@hotmail.com
d45d160bee6a0b3a490fca8a56a155d759b8ae7c
37d13a24e19cc5239629f8e909d6fc6844b32c75
/hw/code/9/ga.py
df5961a69475ea5d6ba47b3c51a30b52f0e08512
[]
no_license
swaruparam/x9115swa
6afa13c15e6980f528b90d19cd311667a5532e5d
6158509fbf72c6204abe8164878ab9f0086a5c70
refs/heads/master
2021-01-13T16:10:12.654476
2015-12-15T20:41:17
2015-12-15T20:41:17
41,177,856
1
1
null
null
null
null
UTF-8
Python
false
false
10,782
py
from __future__ import division from random import random, randrange, randint, uniform from abc import ABCMeta, abstractmethod from math import exp, sqrt, cos, pi, sin import sys from dtlz import Model, dtlz #from plot import make_plot import datetime from baseline import baseline, basePopulation def ga(model, b_min,...
[ "sramakr6@ncsu.edu" ]
sramakr6@ncsu.edu
78b73c3ac2179045d3310891b1e01f16e6c3a8e2
e59644b7ef8ddd5d806e8dfd2ec0091a552248a9
/cbrain/legacy/data_generator.py
c919517a3b0a3481ff9956b6a2f3b5b65e4dd2bf
[ "MIT" ]
permissive
GunnarBehrens/CBRAIN-CAM
51973c00476301f20d80274d33cd9565c4b2d163
a0c6c523c85c39a04a835551a1d5e59a420c5f6a
refs/heads/master
2022-07-07T05:54:07.745845
2022-07-05T12:14:05
2022-07-05T12:14:05
227,609,774
1
0
MIT
2019-12-12T13:09:07
2019-12-12T13:09:06
null
UTF-8
Python
false
false
7,386
py
"""Define DataGenerator class Author: Stephan Rasp """ import numpy as np import h5py import pdb import threading # To make generators thread safe for multithreading def threadsafe_generator(f): """A decorator that takes a generator function and makes it thread-safe. """ def g(*a, **kw): return...
[ "s.rasp@lmu.de" ]
s.rasp@lmu.de
e90c2f5b3dafdf720e55ab32568ca0901b82703d
1cedcf27afa82ada8eb9fb929bacc5233ecfb807
/process_data/create_entity_annotated_corpus.py
4ebe173f354ee7fccf225cc357946d2833e93497
[]
no_license
lukuang/trec_news
b4ae20ea0a9d72524e92287212b9753727b2ae0d
1a58e9ca9317dc16a327d2e5b259c257ddda6531
refs/heads/master
2020-03-17T06:59:43.204178
2019-04-04T13:25:48
2019-04-04T13:25:48
133,377,851
1
1
null
null
null
null
UTF-8
Python
false
false
9,378
py
""" Create corpus with entity annotation and each entity will be replaced by its cannonical form with some changes. More specifically, each entity will have 'ENT' annotated at the begining and the end. Besides that, the underscores and all other symbols to connect terms in the cannonical form of the entity will be...
[ "lukuang1989@gmail.com" ]
lukuang1989@gmail.com
a88810861bbfe0d3309fd3d06610071b44b273a4
8fa017b83d3b94962c212366f6eaa7ebcfc7f653
/crazylib/core/libtmux/server.py
641312c0a5a8faa661e2b4271b768f5f7baeeb18
[ "MIT" ]
permissive
crazysnowboy/Crazylibs
a481192c38098b7de89f52d213521b8b37bc315b
eb5128df132ec97d76a233d121ec02484ccb2725
refs/heads/master
2021-07-04T02:03:51.699527
2020-10-28T01:40:25
2020-10-28T01:40:25
193,744,219
0
0
null
null
null
null
UTF-8
Python
false
false
15,584
py
# -*- coding: utf-8 -*- """Pythonization of the :term:`tmux(1)` server. libtmux.server ~~~~~~~~~~~~~~ """ from __future__ import absolute_import, unicode_literals, with_statement import logging import os from . import exc, formats from .common import ( EnvironmentMixin, TmuxRelationalObject, has_gte_ver...
[ "kailinchen@faceunity.com" ]
kailinchen@faceunity.com
a1d57be50b7c6b7de643f9c7e0d3ee889b0adefe
cf7118bcfbde5d2bfae51f74bffb44a5f39b3961
/examples/discoro_client3.py
ee9165856b1f16aa58adac8fc11d8cec2376b2f3
[ "MIT" ]
permissive
tierralibre/asyncoro
b6aba8654a6c974898590f7814190c805704da1f
d0b7b4bb4f4e569235ee74ccc52810d74fe8af12
refs/heads/master
2021-01-17T07:56:01.467307
2016-08-06T19:24:56
2016-08-06T19:24:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,981
py
# Run 'discoronode.py' program to start processes to execute # computations sent by this client, along with this program. # Example where this client sends computation to remote discoro process to run # as remote coroutines. Computations are scheduled with custom scheduler # (without using RemoteCoroScheduler). Remote...
[ "pgiri@yahoo.com" ]
pgiri@yahoo.com
2014f2ffda5a4e7cacfe8f4a37985de9b35d1d3f
51e3aeebc9e5088854301c9d7d6b146d200db971
/LVQ and Linear Regression/lvq-example.py
c5f8c3e9d5547eaac6a8c241d45da3042866e7f9
[]
no_license
TheMaxmillanRies/Machine-Learning-Clustering
c54a68ac3520636e5bff0c91296a5053f7ada187
cd70420fb8e27a65c77103d313f102cd030ad7c2
refs/heads/main
2023-02-08T06:03:34.357420
2020-12-20T18:36:13
2020-12-20T18:36:13
323,130,747
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
from slearning import LVQ1 import pandas import numpy as np import matplotlib.pyplot as plt X = pandas.read_csv('datasets/lvqdata.csv') X = X.to_numpy() y = np.array([1 if i < 50 else 2 for i in range(X.shape[0])]) prototypes = [1, 2] for p in prototypes: lvq = LVQ1(n_classes=2, learning_rate=0.002, prot_per_cla...
[ "maxmillan.ries@yahoo.com" ]
maxmillan.ries@yahoo.com
801a2b62b4da99a4dcc49110be6c373608da7381
7b1a2930931191444c76d0ee4863912dc811ff4f
/advertising/templatetags/image.py
0d586ae2cdf441bfb2b19177898112acb045fa95
[ "BSD-3-Clause" ]
permissive
django-ve/django-advertising
97a68e49dc2102bfc2dc50eac4fbd443b44f3af8
d369de379c224161e1c8d5eecde14bfb2b7423c3
refs/heads/master
2022-11-21T20:31:53.675161
2020-07-23T16:27:11
2020-07-23T16:27:11
281,835,835
0
0
null
2020-07-23T02:59:43
2020-07-23T02:59:42
null
UTF-8
Python
false
false
2,527
py
import sys from django import template from django.conf import settings from django.shortcuts import get_object_or_404 from django.utils.safestring import mark_safe from ..models import Advertising register = template.Library() @register.simple_tag def get_images_advertising(height=100, campaign="", *args, **kwarg...
[ "martinpeveri@gmail.com" ]
martinpeveri@gmail.com
6d60e2ec9b7cae3397a6fc0edadaa40037633b41
275c25b4a8f8009799dc0e7aebab21df1e43f542
/FruitStore/main.py
e2bc96dcd13b8dfc1b3f07acd8704117a6564c5a
[]
no_license
aranooke/Python-Data-Structure
9a81cdf39a7d9a865a43b73b4e7db1f4f8a1e570
3e4ad8488385823b0c36f453159b463831a19335
refs/heads/master
2023-06-05T06:34:55.095557
2021-06-29T09:46:51
2021-06-29T09:46:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,708
py
from FStore import FStore from FStore import Cart import time import getpass import logging import json def getAvilableStock(): stockInfo = open(r"FruitStore\stock.json", "r") return json.load(stockInfo) openStore = FStore(getAvilableStock()) cartInstance = Cart() def getUserInput(fromWhichMenu): inputM...
[ "sanjay.siddha3@gmail.com" ]
sanjay.siddha3@gmail.com
a239a13d734f2f85c901126fa077257bd88ba16d
c8b541ea4fa7d159b80bef116e5cd232ac61b8c1
/venv/Lib/test/libregrtest/runtest.py
6b74a3bf598ab50b296434d0a0a67a0538e054f3
[]
no_license
shengmenghui/knowledge_building
7a2d8eef040c2d3a45726b3a908be301e922024b
04fd7784f15535efed917cce44856526f1f0ce48
refs/heads/master
2022-12-31T14:18:05.282092
2020-10-23T02:51:37
2020-10-23T02:51:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,435
py
import faulthandler import importlib import io import os import sys import time import traceback import unittest from sql_mode import support from sql_mode.libregrtest.refleak import dash_R, clear_caches from sql_mode.libregrtest.save_env import saved_test_environment # Test result constants. PASSED = 1 FAILED = 0 EN...
[ "15173342800@163.com" ]
15173342800@163.com
d6e8790d4afbffe19764a4389946f426ab19b25a
7da146cd833653a7fa992e4a36dc5105ad04464d
/Full-Stack Application (React, Docker, Python and more)/server/leads/migrations/0003_auto_20210125_1133.py
d602f250ddb58343d4a24fde5983192adf828095
[]
no_license
theonewithcurlyhair/ProjectsToShow
71348ea95193dd3e294e361f488d1fa6cb57408f
36a0c6cecc941f07653ec4206e0a74d03bf0482d
refs/heads/master
2023-02-28T06:05:59.740161
2021-02-02T16:06:04
2021-02-02T16:06:04
335,330,817
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# Generated by Django 3.0.5 on 2021-01-25 11:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('leads', '0002_auto_20210125_1131'), ] operations = [ migrations.AlterField( model_name='lead', name='notes', ...
[ "kot33adpot@gmail.com" ]
kot33adpot@gmail.com
9bc9e57f415526057f2a2aa24d732b612a705123
9b61c0bdc3013f7b44a03da4552f27002fccb758
/general/spiral_traveral.py
1f53af4fb3d7a0582c4738fc34d156584a1f60c7
[]
no_license
sunnysidesounds/InterviewQuestions
0a9145858fedc3ed246eb401b8cc5814b8a9a6d6
028d338700838dbb82aa2f2aea4f82eb870cb528
refs/heads/master
2021-03-03T10:41:59.245836
2020-10-27T20:24:18
2020-10-27T20:24:18
245,955,445
1
0
null
null
null
null
UTF-8
Python
false
false
2,991
py
def spiralMatrixPrint(row, col, arr): # Defining the boundaries of the matrix. top = 0 bottom = row-1 left = 0 right = col - 1 # Defining the direction in which the array is to be traversed. dir = 0 while (top <= bottom and left <=right): if dir ==0: for i in range(...
[ "sunnysidesounds@gmail.com" ]
sunnysidesounds@gmail.com
a9ea5149cf93c9b497359f9cef90b70f36913cc8
eb35b293e4d8e5d7a75c51c6d5337052cc0ca9eb
/AlternatingCharacters.py
70c5459e4589393692b11cceee8c616ecc3a96d3
[]
no_license
Edinas09/Challenges
b2f065c9a94f97003a6245068e101755688694ba
66cf46bff27129b07bdebc8c200e90d241ac80df
refs/heads/main
2023-06-14T00:33:18.853089
2021-06-26T12:39:06
2021-06-26T12:39:06
370,351,900
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
#!/bin/python3 import math import os import random import re import sys # # Complete the 'alternatingCharacters' function below. # # The function is expected to return an INTEGER. # The function accepts STRING s as parameter. # def alternatingCharacters(s): # Write your code here contador = 0 for index, ...
[ "edinas09@gmail.com" ]
edinas09@gmail.com
482f5d49eaccc3c22ece3c7ac66ee332cc9347d4
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/homework02/maoyanspiders/maoyanspiders/spiders/movies_20200627215602.py
ad264859fade5fe3cd565586e3a4f0428ad647bf
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
1,183
py
# -*- coding: utf-8 -*- import scrapy from maoyanspiders.items import MaoyanspidersItem # import xlml.etree from bs4 import BeautifulSoup as bs class MoviesSpider(scrapy.Spider): name = 'movies' allowed_domains = ['maoyan.com'] start_urls = ['http://maoyan.com/board/4'] # def parse(self, response): ...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
53088444bd80e9b67010533ddef20954542c298b
f253b4c50ac8f60646c1aeff49f6621080032260
/src/clv.py
9135a5718125e4d59ba273c9dc39609e5009b997
[ "MIT" ]
permissive
xuwenyihust/Shutterfly-Customer-Lifetime-Value
f4ad354d81f92b4eb89b9d9eaad7b7a72a032865
b7c63daeb45cce22ca1af98a9cb02de053c0ae4c
refs/heads/master
2021-01-25T00:49:24.966183
2017-06-19T03:14:50
2017-06-19T03:14:50
94,696,515
0
0
null
2017-06-19T02:17:34
2017-06-18T15:40:07
Python
UTF-8
Python
false
false
5,329
py
import os import json import argparse from datetime import datetime import heapq #from customer_info import customer_info #from time_frame import time_frame class customer_info(object): def __init__(self, customer_id): # Customer ID self.customer_id = customer_id # Record all the orders # HashMap<order_id, ...
[ "1016635786@qq.com" ]
1016635786@qq.com
1504536f77387901ecc8f27e6b3641dc9f27f0ed
18da7621287c06dc2fd094073350fddf6ce3be39
/store/models.py
007c1ecdf5b29a885599a6b0728f53601116d770
[]
no_license
saiyadfaizan/twenty
1486eaad044dce81983b15738353792a2ab2b826
35be3d7f9792d6b8a5e19440caa4365666804f88
refs/heads/master
2023-02-25T16:45:40.270079
2021-01-19T12:31:04
2021-01-19T12:31:04
330,972,009
0
0
null
null
null
null
UTF-8
Python
false
false
4,234
py
from django.contrib.auth.models import User from django.db import models from django.db.models.fields.related import ForeignKey from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here. ORDER_STATUS = ( ("Order Initiated", "Order Initiated"), ("Order Received...
[ "saliali@bestpeers.com" ]
saliali@bestpeers.com
a1812f7f2ebf3080a7e2a9e6e77a45f739bd7ac5
e65a428ca7ee11d2f62d702842d4afbd493f08a4
/dictionaries/odd_occurrences.py
94e312ac04aa7a670ac1baa72e8af5f96bccd5f7
[]
no_license
NikiDimov/SoftUni-Python-Fundamentals
d8ba24a06c4366e76bdc69f1c5225dca29fe955e
5bb1bf5928e40f2bac867d33566c8b9dac13f566
refs/heads/main
2023-07-15T05:57:57.085880
2021-08-19T10:27:45
2021-08-19T10:27:45
323,631,864
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
words = input().split() words = [el.lower() for el in words] dictionary = {} final_list = [] value = 1 for index in range(len(words)): key = words[index] if key in dictionary: dictionary[key] += 1 continue dictionary[key] = value for key, value in dictionary.items(): if dictionary[key] %...
[ "niki.dimov86@gmail.com" ]
niki.dimov86@gmail.com
caa8363fd5c97ab47dc848efc22a0d5699ff2f3d
6acd913b20546b96d9357600ebc9c489c8f68efd
/analysis/o2_lim.py
8e15f0e5b28ecbc8d53df94dab4f0baa7bfb3b30
[ "MIT" ]
permissive
Lokamruth/Cancer-compe-strat
eecaeea042af6e419100bb850b3c538ffea86a67
e4decacd5779e85a68c81d0ce3bedf42dea2964f
refs/heads/master
2023-08-03T08:45:33.294214
2021-09-15T05:46:25
2021-09-15T05:49:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,833
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import common_fn as cf plt.rcParams["svg.hashsalt"]=0 #Input parms o2_lim_arr=np.empty([0,2]) for llim in np.arange(0,1,0.2): for ulim in np.arange(llim+0.1,1,0.2): o2_lim_arr=np.append(o2_lim_arr,[[llim,ulim]],axis=0) parm_format='{:.1...
[ "harshavardhan.bv@students.iiserpune.ac.in" ]
harshavardhan.bv@students.iiserpune.ac.in
8f9f2b4084e6feae2c4e3634ec6c31e48e4bc526
b64c45e75aa215ddcf7249fb92e047f3e7731187
/projectdir/utils.py
a0dfa25016c6994023a415d114a185558e6928ca
[]
no_license
johngaitho05/CohMat
6731b4dfb94475c75f1cd1d2ec55cc810729f939
ff5b8e5eb877f68a0477f4f19b78c6e7c407af2c
refs/heads/master
2022-12-12T15:55:53.363782
2021-04-04T13:17:05
2021-04-04T13:17:05
239,868,710
1
0
null
2022-11-04T19:31:50
2020-02-11T21:31:47
Python
UTF-8
Python
false
false
2,081
py
import random from datetime import datetime, date, timedelta from django.template.defaultfilters import timesince, register from django.utils import timezone import pytz from django.utils import timezone class AgoTime: def __init__(self, date_time): ago = get_ago_time(date_time) if type(ago) != s...
[ "johngaitho05@gmail.com" ]
johngaitho05@gmail.com
d977250ceea5379d64823d5bd0fe50134a91e971
c38705c0dbcae486faf00301bda825b6588890e1
/app/sample_app/POD/PodLine.py
039783a6941422391b14bd1396dfa360dd18a87d
[]
no_license
eguerrer1/pipeline
1ce2a978aa1e21e6d1a321365aa1b8680402db37
19ab490673699a1ffd04b21a1570e795e2df1526
refs/heads/master
2021-01-25T12:43:34.168446
2018-04-04T00:15:49
2018-04-04T00:15:49
123,501,869
0
0
null
2018-03-01T22:55:05
2018-03-01T22:55:05
null
UTF-8
Python
false
false
1,897
py
import subprocess import os from PIL import Image import pytesseract import time outlineFilename = None framesPath = None #User Inputs def setUp(podcastVideoInput, frameFreq): global outlineFilename global framesPath #File/Folder Destination Generation based on User Inputs podcastName = podcastVideoInput.split('...
[ "eguerrer@vm133.sysnet.ucsd.edu" ]
eguerrer@vm133.sysnet.ucsd.edu
5a1d87df7a066281342eb5ce8eaa7bd75446b6dd
12f03dbeff75c4fc7d1c15326b4b317338735058
/adv_search1.py
21a2da2347bdc49507242e86304204c191b20438
[]
no_license
dzarco/hack.uva
fa969e4253a0f6697000c015ea246df46e38dd32
05a99673f7b1d2e54c50a1922e1a9c7768e6d5bb
refs/heads/master
2021-01-23T04:14:01.634780
2017-03-26T17:46:53
2017-03-26T18:44:39
86,176,379
0
0
null
null
null
null
UTF-8
Python
false
false
2,774
py
#!/usr/local/bin/python import urllib.request import bs4 import cgi def facebook_search(a): try: data = urllib.request.urlopen("http://facebook.com/"+a) bool = False except urllib.error.HTTPError: bool = True return bool def twitter_search(a): try: data = urllib.reque...
[ "noreply@github.com" ]
noreply@github.com
409de90c8d964428aa1c4c25095d1a6b0060d33e
5e0bbea04f52754eb08597b8abc8cc948dcfdfe2
/pyicloud/base.py
510bc2f175550a1069f6d76907e18e4e8c8e0a18
[ "Apache-2.0" ]
permissive
markmckinnon/iCloud-Extractor
990cb6947b889a5af75ab053f0cf742651ee148f
6ce79427285bc94d09b8b733ed39423761d07762
refs/heads/master
2023-01-06T18:21:31.220214
2020-11-01T00:38:45
2020-11-01T00:38:45
307,108,081
3
0
Apache-2.0
2020-11-01T00:38:46
2020-10-25T13:44:07
Python
UTF-8
Python
false
false
13,136
py
"""Library base file.""" from six import PY2, string_types from uuid import uuid1 import inspect import json import logging from requests import Session from tempfile import gettempdir from os import path, mkdir from re import match import http.cookiejar as cookielib from pyicloud.exceptions import ( PyiCloudFaile...
[ "mark.mckinnon@davenport.edu" ]
mark.mckinnon@davenport.edu
557a57896ed93a87211f261c55f0500f8ee1b31a
7e7f060d3b4a36fb5c1fe27a06ec87defe26a740
/QSBK/Test.py
76f5b21aeb069d63571307ae044c23710f670164
[]
no_license
darren573/python
801dcc5f6baeb325133422d19844d86a0a9fa703
06f0bdeafb9a1d61d6510c59fd8fded1344f3f2d
refs/heads/master
2020-03-29T19:48:27.699803
2018-09-26T09:16:29
2018-09-26T09:16:29
150,275,659
0
0
null
null
null
null
UTF-8
Python
false
false
4,954
py
# -*- coding:utf-8 -*- import urllib.request import re # 糗事百科爬虫类 class QSBK: # 初始化方法,定义一些变量 def __init__(self): # 当前页码 self.pageIndex = 1 # 模拟浏览器的user_agent self.user_agent = 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 ...
[ "1415754221@qq.com" ]
1415754221@qq.com
06dea2f47072e3eb1f7f198f4789000a3bf1ca0f
994727432f6a3ced0cc5aa954771a0adfd8c3811
/dbms_site/urls.py
03d2d14a27cf73cd079b36a24d3596a60581e89d
[ "MIT" ]
permissive
deep2696/DBMS_Website
d926c87adc94253ef749bb574675640ca147fa7b
849d0bd509e56d35c138fa6f410d693175523aa4
refs/heads/master
2020-04-03T21:51:16.382150
2017-11-18T05:13:06
2017-11-18T05:13:06
155,584,057
0
0
null
2018-10-31T15:52:01
2018-10-31T15:52:00
null
UTF-8
Python
false
false
926
py
"""dbms_site URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
[ "raghavg7796@gmail.com" ]
raghavg7796@gmail.com
38a964256cc858f7bbe2e910740899a5e048cfb4
271c3af541084b799efa1da63781ab6b9994cd8f
/blog/core/views.py
b5840826177485d568fbd9360fd63c32377c512e
[]
no_license
caetasousa/Blog-Django
434d5b27bee65c1cfdb8590f74addc55266eeb0e
820a929057ee4d882506db7ee14f69820edbe929
refs/heads/main
2023-07-27T00:05:44.602420
2021-09-11T23:38:36
2021-09-11T23:38:36
401,711,818
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
from django.http import HttpResponse from django.shortcuts import render from start.models import Post def frontpage(request): posts = Post.objects.filter(status=Post.ACTIVE) return render(request, 'core/frontpage.html', {'posts': posts}) def about(request): return render (request, 'core/about.html') d...
[ "caetasousa@gmail.com" ]
caetasousa@gmail.com
72eb57c4cbcfc2c21243dd50349394755e0eb80c
4d200e1f225455c58e0dd89db587a29411f86245
/venv/Lib/site-packages/openmdao/components/interp_util/interp_cubic.py
1d77e254cec12bd8bf1d3bdf520dfb65f8753000
[]
no_license
ManojDjs/Heart-rate-estimation
df0be78edbc70cc75c006c6f87c8169200de84e0
d9e89fe017f1131d554599c248247f73bb9b534d
refs/heads/main
2023-05-09T10:58:37.614351
2021-06-01T11:12:45
2021-06-01T11:12:45
371,493,498
1
0
null
null
null
null
UTF-8
Python
false
false
7,049
py
""" Interpolate using a cubic spline polynomial. Based on NPSS implementation. """ import numpy as np from openmdao.components.interp_util.interp_algorithm import InterpAlgorithm class InterpCubic(InterpAlgorithm): """ Interpolate using a cubic spline. Continuity of derivatives between segments is ass...
[ "djsmanoj0000@gmail.com" ]
djsmanoj0000@gmail.com
b5bcb3c16d020040adbb75be24a5f5395c03902d
94935a0f2f4edef219e9067d9633e4504d6b9f21
/algorithms/orden_por_mezcla.py
dcf436a0cd922da30d1b8864618d525d3567d76f
[]
no_license
albin-woto/python-poo
f34e4931437d673116356f7ea06c2eefa4bf1d4f
a24ed68c13ae9dec74fbe8df1832440adc1be6aa
refs/heads/master
2022-11-06T13:30:57.045906
2020-06-29T20:46:10
2020-06-29T20:46:10
275,686,711
1
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
import random def orden_mezcla(lista): if len(lista) > 1: # Esta parte tiene crecimiento logaritmico medio = len(lista) // 2 izquierda = lista[:medio] derecha = lista[medio:] print('Izquierda', izquierda, '*' * 5,'Derecha', derecha) # Llamada recursiva en cada mitad...
[ "albin.woto@gmail.com" ]
albin.woto@gmail.com
319b28d13a0433b38abca9cdaee98ec2266572b6
01704370437ab5b0418cc259049db6462f184aa5
/Winning Lottery.py
9b093198f95333baa47c6facad44970af99b0243
[]
no_license
PRONAY24/HackerRank
fe2d2ba7615ad39d15c2ba53deb43d6ffe3530d2
49b069f83846dffd2f13d3ca7150b5d2f3fbe299
refs/heads/master
2021-05-09T03:50:12.576641
2018-01-28T11:57:02
2018-01-28T11:57:02
119,253,870
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
n = int(input()) li = [] num = 0 k = 1 i = 0 j = 1 y = input() li.append(y) while True: if j == n: i += 1 j = i+1 if k < n: z = input() li.append(z) k += 1 if i==n-1: break x = str(li[i]+li[j]) #print(x) j += 1 if '0' in x:...
[ "noreply@github.com" ]
noreply@github.com
6ac6d80303e814d972d58b0ab300147087d0fedd
6607095d2c8fea57ae7f1b5d30698f5f8d74950b
/calibration.py
63eadc163eabe1b1d1edc5d4ba4ac45ca4e60f36
[]
no_license
Michael-Equi/image_transform_playground
3b2b0c5118dce3429bbfb855a3e24c2ab05d4794
a036389c973d4acca278e676f6b66fbae2f1738e
refs/heads/main
2023-01-13T23:17:23.784077
2020-11-20T02:21:37
2020-11-20T02:21:37
314,422,891
0
0
null
null
null
null
UTF-8
Python
false
false
2,740
py
import numpy as np import cv2 # https://medium.com/analytics-vidhya/camera-calibration-with-opencv-f324679c6eb7 # https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_calib3d/py_calibration/py_calibration.html path = './video/calibration2.MOV' cap = cv2.VideoCapture(path) # termination criteria cr...
[ "equim20@student.jhs.net" ]
equim20@student.jhs.net
5a8709278627f8364d572381810393c18f7ade2c
297497957c531d81ba286bc91253fbbb78b4d8be
/testing/web-platform/tests/tools/ci/run_tc.py
52d2dcf6fda24d64f4ab918c097479efb08369d5
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
Python
false
false
14,441
py
"""Wrapper script for running jobs in Taskcluster This is intended for running test jobs in Taskcluster. The script takes a two positional arguments which are the name of the test job and the script to actually run. The name of the test job is used to determine whether the script should be run for this push (this ...
[ "mcastelluccio@mozilla.com" ]
mcastelluccio@mozilla.com
70184c5f9e338003427b60e0ceb55c451b831a32
8c2d68e1efa9e6ce2eb477dead255b097047801b
/video/models.py
c4a661d8b0ce5db880a98a6668994b346cba438d
[]
no_license
LiuDaDaABC/test
84b67759fd7642de274e33927cf7e1ecf566bdd3
f361fd11a3c52582a70d2533e3fd8bfe0e007ff4
refs/heads/master
2020-05-20T05:34:46.549365
2019-05-07T14:53:45
2019-05-07T14:53:45
185,409,139
0
0
null
null
null
null
UTF-8
Python
false
false
3,138
py
from django.db import models from django.contrib.auth.models import User # Create your models here. # passwd = models.CharField(verbose_name='播放密码',max_length=10,null=True,blank=True) # hour = models.CharField(verbose_name="视频时长",max_length=10) # status = models.CharField(verbose_name='状态',choices=(('上线','上线'),('下线','...
[ "1591910042@qq.com" ]
1591910042@qq.com
45c2c6864471bc7754a822aefa5b6da2f771e297
13b82912fd09a01301ed9444e8c4ed73f77ef86c
/account_payment_mail/__manifest__.py
0a3e0b43f7ed02e461cb12e3dbd56beced7bd3dc
[]
no_license
lizethq/Mesadeayuda
f786ccd3e2b0f921cd66504ad7930f509104c00d
647e26143d2ca6f52f44bb37a49685b7b7cf6739
refs/heads/master
2023-07-08T16:26:13.214240
2020-10-01T15:16:32
2020-11-19T20:42:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
# -*- coding: utf-8 -*- { 'name': "Account Payment Mail", 'summary': "Account Payment Mail", 'description': "Account Payment Mail", 'author': "Todoo SAS", 'contributors': ['Carlos Guio fg@todoo.co '], 'website': "http://www.todoo.co", # Categories can be used to filter modules in modules...
[ "fg@todoo.co" ]
fg@todoo.co
d996d26cee1f9836c8a99db4f0c0cd0223f3746d
fe43d0dcab4ae34321ba6139bf113cf0519cd037
/cursos/admin.py
117eaa6235e4aa45b41d4bcfa97edbb2425b399c
[]
no_license
clecio-sousa/projeto-market-place
3ab23608db01dd3a07bfafe24a45a342e7e40730
af3cdb13708eca771b3abdb402613d4c850c4dae
refs/heads/master
2023-03-29T19:59:41.693098
2021-04-06T02:40:45
2021-04-06T02:40:45
355,030,540
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
from django.contrib import admin from .models import Categoria, Curso # Register your models here. class CategoriaAdmin(admin.ModelAdmin): list_display = ('id', 'nome_categoria', 'slug') list_filter = ['nome_categoria'] list_display_links = ['nome_categoria'] prepopulated_fields = {"slug": ("nome_cate...
[ "clecio1201@hotmail.com" ]
clecio1201@hotmail.com
41eb24e6669d494b806087633983297ee946a0d2
349031e4f1134ffa19b7062ba547a7796b705e64
/Final Project/geneticAlgorithm.py
830401ce4aeeec45c153d4b6e9202c79af5f9cb9
[ "MIT" ]
permissive
ryanboldi/UVM-CS206
3398529ee4633427b80d994a71b206208a813662
a2d0d29eb8f9209b6f60f97085e1e03f418cd71a
refs/heads/master
2022-11-14T16:58:11.322063
2020-07-05T15:46:59
2020-07-05T15:46:59
261,430,203
1
0
null
null
null
null
UTF-8
Python
false
false
2,938
py
import pyrosim import matplotlib.pyplot as plt import random import pickle import copy import os import constants as c from robot import ROBOT from individual import INDIVIDUAL from population import POPULATION from multiprocessing import Lock Load = False popSize = 1 ## pretrain-total-popsize-eval_time saveFile ...
[ "Ryan.boldi123@gmail.com" ]
Ryan.boldi123@gmail.com
f9bccb217e33bdbc10fe4c9e031feaa4e4a56226
8a67804d71b8a21c8eeb469066463c84fe6b4ec8
/Stegnography/main.py
b482ef30601ca040ff9e94f5e20b929274ae5d92
[]
no_license
yagav/Own-Interest
955ec286e63d12adf65242c71fadf4aadd67f68f
13c91f862278a41ff787d08ddfa72a01562d3838
refs/heads/main
2023-03-16T02:36:36.166508
2021-03-13T11:06:56
2021-03-13T11:06:56
312,471,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,921
py
import functions as fun import pyfiglet from rich.console import Console import easygui import time console = Console() intro1 = pyfiglet.figlet_format("IMG", font = "isometric1" ) intro2 = pyfiglet.figlet_format("S E C R E T", font = "digital" ) welcome = pyfiglet.figlet_format("Welcome to", font = "bubbl...
[ "noreply@github.com" ]
noreply@github.com
5efc6a2237ef78fb93a208505f91aae3d64f3023
98f139c8e02ae0eff693e2068da3dba6438c1e69
/credit-fraud-models.py
f9d273bbb16a863306dc697b776655bbacd34b9e
[]
no_license
vamsidesu5/credit-fraud-ml
2134c27a291d0036579126374cf4a30e09858dde
47844857c4f0479e5ae61dab27b54ac06b6d3db2
refs/heads/master
2022-04-24T14:52:37.068586
2020-04-19T19:42:12
2020-04-19T19:42:12
255,185,692
0
0
null
null
null
null
UTF-8
Python
false
false
10,104
py
# Vamsi Desu # GT username: vdesu7 import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier from sklearn import metrics from sklearn.model_selection import validation_curve, GridSearchCV from sklearn...
[ "vamsidesu5@gmail.com" ]
vamsidesu5@gmail.com
ed257b200472f5b7cd9f86ddcdafc3ff6835b40e
4a1b32db97f288e16c39a25b8caa3d59e8a3a46f
/tests/examples/cython/SConscript
0a298d938c3984003e5447fb63a59756cc3b5b45
[]
no_license
anweshadas/numscons
774d0fc80a36e953e8d170ef82cc0e2cc8022023
f0f0faa53ee76410823a737eac57291b29a3e937
refs/heads/master
2020-12-11T01:42:04.583418
2016-08-17T10:03:07
2016-08-17T10:03:07
65,895,977
0
0
null
2016-08-17T09:46:53
2016-08-17T09:46:53
null
UTF-8
Python
false
false
324
# vim:syntax=python from numscons import GetNumpyEnvironment env = GetNumpyEnvironment(ARGUMENTS) # cython tool not loaded by default env.Tool("cython") env.DistutilsPythonExtension(source = "yop.py") # You could build the source file manually too # yop = env.Cython("yop.py") # env.DistutilsPythonExtension(source = y...
[ "david@evans-2.local" ]
david@evans-2.local
44dd251a71f2ecd6938f781b741f5b0c22767724
c832a78eb1cc4a4c7d5b82d1e3e29af1ceac4091
/reporting_api/utils/response_utils.py
b672f39897343081d501dc541b2523e13c1273b4
[]
no_license
scottwedge/reporting-system
42b5a48a42251bc290bb474b0bd244ed0ee13ed4
59bb703824ca08dfac1550c1e28fc3bc1028e123
refs/heads/master
2022-12-25T13:21:04.059774
2020-09-24T03:24:39
2020-09-24T03:24:39
298,155,594
0
0
null
2020-09-24T03:07:57
2020-09-24T03:07:56
null
UTF-8
Python
false
false
2,049
py
from collections import Counter from datetime import datetime from enum import Enum from decimal import Decimal from sqlalchemy.exc import DatabaseError from eggit.flask_restful_response import ok from ..exceptions.system_error import SystemError from ..exceptions.system_exception import SystemException def obj_to_di...
[ "zh" ]
zh
58625ad2fe15144c99e7e344f947a4bbbc848a5d
fd707ce9a486dde3242c45cfa5d38bb18691fdc9
/tests/debugtalk.py
4ff35d3d23d2c97b5cbb322fb7e092918909d59e
[]
no_license
GRUNMI/httpRunnerDome
a81efa66535d2b43b90035437a0eeae7ed47f3b8
f717ca12696aff832c3de5156455f5e8229b1578
refs/heads/master
2020-03-27T01:20:01.994601
2018-08-22T12:14:56
2018-08-22T12:14:56
145,701,482
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
def get_postids(num): postid = 350757819118 postid_list = [] for i in range(num): postid += 1 postid_list.append({"postid2": str(postid)}) return postid_list def get_post_id(): return [ { "type1": "huitongkuaidi", "postid2": "350757819119" } ...
[ "610444547@qq.com" ]
610444547@qq.com
8da5e91e37818233a8f111a72e3b3124c8a462bc
acb5896ac838bc8c3593de2e21b21ff031233439
/modulos/uso_vehiculos.py
6bb4207789f64a7f7c86336864ff83080c351207
[]
no_license
vidaljose/pruebasPython
5c72e1ced4f78b39c481aab7fb958f9e05662645
73f7cdd9ddcc95d53fa7aafedd8b30c7b224face
refs/heads/master
2020-05-07T05:46:31.231577
2019-04-09T04:27:13
2019-04-09T04:27:13
180,284,564
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from modulo_vehiculos import * miCoche = Vehiculos("Mazda","MX5") miCoche.estado();
[ "vidaljose2004@gmail.com" ]
vidaljose2004@gmail.com
a4a28c733e26c2328f8f759630ed7daa1445de0d
fd0d4e46bc64bf813b1e8b30f6fd9ae45db75fbc
/exercism/python/palindrome-products/palindrome_products.py
b5940384384189fa051871b06752ca28b7b33a10
[]
no_license
cmonaghan76/pyplay
4b7332bec0bba764c4f13c49c907d36be5b26527
3786a7d9cf3eb5ab3aba291c15f1df0860a38f9c
refs/heads/master
2021-06-17T13:44:02.007469
2019-06-06T15:35:26
2019-06-06T15:35:26
187,353,383
0
0
null
2021-06-10T21:28:29
2019-05-18T12:09:37
Jupyter Notebook
UTF-8
Python
false
false
1,096
py
import itertools def largest_palindrome(max_factor, min_factor=0): palindromes = get_palindromes(max_factor, min_factor) if len(palindromes) >= 1: largest = max(palindromes.keys()) return (largest, set(palindromes[largest])) else: return (None,[]) def smallest_palindrome(max_fact...
[ "48956409+cmonaghan76@users.noreply.github.com" ]
48956409+cmonaghan76@users.noreply.github.com
374696dce42ea18decb6f012afe4ef136ea501a1
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/1/1.two-sum.333959566.Runtime-Error.leetcode.python3.py
8a44ca6d16b23521fd72653ab990f48e7fc81b5b
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
278
py
class Solution: def firstBadVersion(self, n): MAX = n MIN = 1 while MAX >= MIN: MID = (MAX + MIN) // 2 if isBadVersion(MID): MAX = MID - 1 else: MIN = MID + 1 return MAX + 1
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
5a881e2d021706cb4324a0249fd69db65547fe16
c7ac547509a75924fd3742b1d015011f6966fede
/rlcard/utils/logger.py
16e9a6b5f883a3fe4ffaf9e5040d9981c46d03d2
[]
no_license
RoberttsengTAO/rlcard
53ef0067b7984e59de821241f3288205776cfb2e
b87d083d94cb078315e4153892481af5705c954b
refs/heads/master
2023-04-16T12:32:40.583788
2021-05-05T01:53:48
2021-05-05T01:53:48
333,707,182
0
0
null
null
null
null
UTF-8
Python
false
false
3,206
py
import matplotlib.pyplot as plt import os class Logger(object): ''' Logger saves the running results and helps make plots from the results ''' def __init__(self, xlabel = '', ylabel = '', legend = '', log_path = None, csv_path = None): ''' Initialize the labels, legend and paths of the plot and lo...
[ "robert.tseng@skylinetw.com" ]
robert.tseng@skylinetw.com
a326be55d5ff18f5757d76c32f1bfcd1e3cae78c
7694529debbcb7a14bb6701b1d19dade3f4a2980
/header.py
95a5265eb2b794e72ada4543a5164b1ae1aa830a
[]
no_license
wangxf123456/P2P-Search
7d0b77df8d2cba2cb15db438064dfa246f61cf2c
496c42f1985c4ffe15ce83284723b70d0983566a
refs/heads/master
2016-09-06T20:11:33.895082
2015-08-13T13:58:38
2015-08-13T13:58:38
40,489,997
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
MAX_FILENAME_LEN = 40 FILE_BUF_LEN = 4096 CHUNK_SIZE = 4096 * 4096 INT_SIZE = 4 SHA1_LEN = 40 MAX_IP_LEN = 15 GET_TORRENT_LIST = 0 DOWNLOAD_TORRENT = 1 GET_CHUNK_IP = 2 PUT_CHUNK_IP = 3 DOWNLOAD_FILE = 4 SERVER_UPLOAD_FILE = 5 PEER_SEND_FILE = 6
[ "wangxf@umich.edu" ]
wangxf@umich.edu
93aa196eba09a4b348af0294abef4a924b0caa0e
068d271e241d8cdb46dbf4243166e4b8ee7025b2
/Django/进阶部分/day68orm/day68orm/app01/migrations/0007_auto_20180510_1228.py
bb626764f5aef8969f86f26f887e6cae0ca42e17
[]
no_license
caiqinxiong/python
f6e226e76cb62aac970bcfbcb6c8adfc64858b60
9029f6c528d2cb742b600af224e803baa74cbe6a
refs/heads/master
2023-05-26T19:41:34.911885
2020-05-15T09:02:08
2020-05-15T09:02:08
195,261,757
1
0
null
2021-06-10T23:33:33
2019-07-04T15:01:42
JavaScript
UTF-8
Python
false
false
494
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-05-10 04:28 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app01', '0006_auto_20180510_1227'), ] operations = [ migrations.AlterModelTable( ...
[ "13269469526@163.com" ]
13269469526@163.com
a4bfce16b09eb37e9cdb42148c47e285c832cacc
98a834b6cd7f5cb5f596b3818eb84fca0855d62e
/data_gen.py
fa368b0ec07470c9a71b08e50965d5f818b8be3b
[]
no_license
lmb633/transformer
2e6fe2200942a6e8eb9f24ebfd47eb15478004e8
e60c743da2078430b764aa68e224e0046b91384e
refs/heads/master
2020-09-06T11:05:33.875047
2019-11-12T03:47:07
2019-11-12T03:47:07
220,407,189
0
0
null
null
null
null
UTF-8
Python
false
false
2,631
py
import pickle import time import numpy as np from torch.utils.data import Dataset from torch.utils.data.dataloader import default_collate data_file = 'data.pkl' vocab_file = 'vocab.pkl' IGNORE_ID = 0 pad_id = 0 print('loading samples...') start = time.time() with open(data_file, 'rb') as file: data ...
[ "limingbo@focusmedia.cn" ]
limingbo@focusmedia.cn
edd5f5f00522bd99ab804ea3b1a81b8ff38392c0
ba8dfef0b0f92c3f790afa9ad2d18df3bf9e804c
/migrations/versions/de23e533e2e6_.py
71f0d6a38096453e77a6a61f5bca352fca8349b6
[ "MIT" ]
permissive
christopher-besch/ohg_plan_parser
e2817909c7f4530da68d535b4f8bb549a6a285da
074f78e4ae7e2591fdeca0e4a272f9d9383dce16
refs/heads/python_module
2022-09-26T10:08:58.736650
2020-08-26T07:22:38
2020-08-26T07:22:38
223,626,226
3
0
MIT
2022-09-17T12:43:14
2019-11-23T17:19:22
Python
UTF-8
Python
false
false
1,401
py
"""empty message Revision ID: de23e533e2e6 Revises: Create Date: 2020-05-29 08:31:45.562271 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'de23e533e2e6' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "christopher.besch@gmx.de" ]
christopher.besch@gmx.de
666f819b2e585f53d1ea0c2650496d6e74ffd74f
7012321f513bdddac31855ad3e4e1a12024d1d4d
/blurenv/bin/f2py
c1ac34a11061784bcaf3e2fd969df1c44a42fdab
[]
no_license
TheCBKM/Blur_IT
8d8a25cf5c38b1b55d3d235108059dd3a78eed20
7404aa855745b3699f34c808984a599c07b4ca20
refs/heads/master
2022-12-24T09:51:43.432453
2020-10-03T13:18:47
2020-10-03T13:18:47
254,670,747
0
2
null
2022-12-21T13:05:20
2020-04-10T15:34:35
Python
UTF-8
Python
false
false
269
#!/home/cbkm/Documents/Pythonprojects/blurImage/blurenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from numpy.f2py.f2py2e import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rjoshi.prober@gmail.com" ]
rjoshi.prober@gmail.com
df97e2cec6be03f872168b844e9078036280d682
0cfb5831a748ebd46e438e3ad7e7a09c1d196499
/com/chapter_08/section_03/task_8.3.4_functionWhile.py
f303ebafb04927959b06504d64048c0a65946b9e
[]
no_license
StevenGeGe/pythonFromIntroductionToPractice01
7cfe8cdb4bc5c0ddbe25b44976231d72d9e10108
9d2ba499056b30ded14180e6c4719ee48edd9772
refs/heads/master
2023-02-15T04:08:59.878711
2020-12-28T13:27:55
2020-12-28T13:27:55
310,980,820
0
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/11/20 21:26 # @Author : Yong # @Email : Yong_GJ@163.com # @File : task_8.3.4_functionWhile.py # @Software: PyCharm def get_formatted_name(first_name, last_name): """返回整洁的姓名""" full_name = first_name + ' ' + last_name return full_name.titl...
[ "Yong_GJ@163.com" ]
Yong_GJ@163.com
0e8e34a95621e1562424ed5cbad21f3ff281aab4
6ff457ee9590ad658bd9996bcbf08c028ef5ed90
/projects/6/proj6/code/cases/42.py
da6340853789d4d6522fc2c893568c0f9f15021c
[]
no_license
liyitian/8270
772a4639e45fd372850f75501c34a6f9118482a5
826ee5f7325d9a7c198aeba714a2129f7e2bbbb5
refs/heads/master
2021-09-03T08:40:19.304459
2018-01-07T16:52:04
2018-01-07T16:52:04
116,441,128
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
x = 12.0 print x x = 34 print x y = 23.5 print x*y
[ "yitianl@clemson.edu" ]
yitianl@clemson.edu
2aed9490ea75288161b903270f8666c198153e3c
b4071079acd2b5e8ef4c08f76feb9227f7859fe2
/ESGI SecurityDay 2013/code/python/module.py
d77408a85a25cf33d1430abe1f05ef311034dfcb
[]
no_license
mdeous/Talks
0087967984368ff817eb8fc225167adbd7553c63
2f1f3bd9d0f92294f1237c25a9f1922b8b36b53e
refs/heads/master
2021-05-28T04:45:45.183754
2013-02-23T13:12:33
2013-02-23T13:12:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os CONSTANT_VAR = 'some constant value' class SomeClass(object): class_attribute = 'attribute value' def __init__(self): self.instance_attribute = 'attribute value' def method(self): print "something" def function(arg, named_arg='d...
[ "mat.deous@gmail.com" ]
mat.deous@gmail.com
c683ca6dce9ddf447d8647dbd9cc1a2125736caf
7949ac01b27967fe6cd9c8020bc98ea1755c109a
/EshopApp/migrations/0003_category.py
0457477ab16756cf1d9bb7c98c40d9a04655e4b1
[]
no_license
SUMITSAXENA98/djangoshiop
bd994ed75d42f34ca2580d3d08a7ae0c7f177bc0
4b78973ee1a537e1d07b8934d0e02c3ba6c3b483
refs/heads/master
2023-03-31T04:52:41.235230
2021-04-04T15:27:29
2021-04-04T15:27:29
322,811,517
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
# Generated by Django 3.1.1 on 2020-12-14 12:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('EshopApp', '0002_product_image'), ] operations = [ migrations.CreateModel( name='Category', fields=[ ...
[ "sumit.saxena768@gmail.com" ]
sumit.saxena768@gmail.com
848d8a507b611badb7bc6d42ac1e61c9aba1f509
f033c09e35ebdbcd07bf6f6172792299a8118f6d
/mfrl/test1.py
43c964a145a02d2c56c7ce1df7c5a8b43b4efa08
[]
no_license
ashurzp/tradingpy
5ab545981445f96e295bc266a3206a43b43cc658
0407776898f1804b3ba061be93dbe63c1cb37dea
refs/heads/master
2020-04-20T10:17:44.612694
2019-02-17T12:47:38
2019-02-17T12:47:38
168,787,001
0
1
null
null
null
null
UTF-8
Python
false
false
2,871
py
import numpy as np import pandas as pd import time np.random.seed(2) N_STATES = 6 ACTIONS = ['left', 'right'] EPSILON = 0.9 # greedy policy ALPHA = 0.1 # learing rate GAMMA = 0.9 # discount factor MAX_EPISODES = 13 FRESH_TIME = 0.3 def build_q_table(nb_states, actions): table = pd.DataFrame( np.zeros...
[ "ashurzp@hotmail.com" ]
ashurzp@hotmail.com
cbde9f0bf1a2e007caa3216617674e61899f0a83
f7a469489146aa3e85f791c7605b9064b165cd2b
/migrations/versions/ce90a1f1406f_posts_table.py
30e38ec76e655ddc07810b0d445f6fe58c9bd9db
[]
no_license
wendyltan/microblog
5bcb9cef91ccdace0bff3b6204c2027f2b0139e6
75f76f5077368a43f53eef7303a81dac976371fc
refs/heads/master
2022-11-29T21:33:33.252809
2018-03-07T08:42:25
2018-03-07T08:42:25
121,330,280
0
1
null
null
null
null
UTF-8
Python
false
false
1,057
py
"""posts table Revision ID: ce90a1f1406f Revises: 34d7afa1b598 Create Date: 2018-02-13 10:21:30.096794 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'ce90a1f1406f' down_revision = '34d7afa1b598' branch_labels = None depends_on = None def upgrade(): # ##...
[ "youlinai233@gmail.com" ]
youlinai233@gmail.com
15113c318997014e892984c93d19e78847c9149d
bc183f7357cda3ad064f8c2ff34a176c406446d3
/pastepwn/analyzers/tests/alwaystrueanalyzer_test.py
0973040b894968d1844e79f9968191617269cd59
[ "MIT" ]
permissive
luton1507/pastepwn
b8a790168ce08f10c62574eeb0a68f0dedd5425d
9b2fee22857e54a5312fdb3d388b472a7d271c50
refs/heads/master
2022-11-10T20:18:40.102277
2020-06-19T23:34:14
2020-06-19T23:34:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
# -*- coding: utf-8 -*- import unittest from unittest import mock from pastepwn.actions.basicaction import BasicAction from pastepwn.analyzers.alwaystrueanalyzer import AlwaysTrueAnalyzer class TestAlwaysTrueAnalyzer(unittest.TestCase): def setUp(self): self.analyzer = AlwaysTrueAnalyzer(None) se...
[ "d-Rickyy-b@users.noreply.github.com" ]
d-Rickyy-b@users.noreply.github.com
9be8024597dc0dfb195c6f9b5d251c6cad6ebb0d
7cfeee5118e2d13b242f94ad9e917d2628bf59b8
/sns/user.py
72a4b688f199e12f4d655ee9a07e15f2211aad88
[]
no_license
dongyeon94/nosql-sns-
e7c128fab28d96868bebfc311737e5fab8af44fd
0bd72ccd6f9ce0070f08db08018d9de24ae15811
refs/heads/master
2020-04-03T06:31:26.395896
2018-10-31T12:34:00
2018-10-31T12:34:00
155,077,334
0
0
null
null
null
null
UTF-8
Python
false
false
2,556
py
def signup(db): ### registering try: new = input('Are you joining our webpage? : [Y/N]') ## request signin new = new.upper() if new == 'Y': ids = input('Please input your id : ') user_list, user_id = list(db.find()), [] for i in range(len(user_list)):...
[ "dongyeon94@naver.com" ]
dongyeon94@naver.com
d0d918048e79203fa04bd35694a3e2a29c255a23
47ffad75164ab85b855a11be30191993461e17dd
/HMM_test.py
1896b128598ea07b9980e323179fe4360ac0787d
[ "Apache-2.0" ]
permissive
siddharthhparikh/INFM750-project
64aa2fde056cf3fd33baf0ab72f5b705251e5d97
a5e6dde35f88f6eb6a7f3525f64630b14d3aeded
refs/heads/master
2021-01-11T02:19:40.726646
2016-12-06T19:10:10
2016-12-06T19:10:10
68,946,413
0
0
null
null
null
null
UTF-8
Python
false
false
2,680
py
""" Gaussian HMM of stock data -------------------------- This script shows how to use Gaussian HMM on stock price data from Yahoo! finance. For more information on how to visualize stock prices with matplotlib, please refer to ``date_demo1.py`` of matplotlib. """ from __future__ import print_function import datetim...
[ "siddharthhparikh@gmail.com" ]
siddharthhparikh@gmail.com
4894236295787d0bb66c0692901d406cee22aea6
80b591ef2fc062b7b7935ac0ed21ab007adf2b69
/auto_input.py
45d7affb261a6143681ecdd9a54a1abe3979501a
[]
no_license
flysafely/Auto_input
52677e492e3ec0d0177fc8f524940bd4b3b1dcf6
fa55997616bcbee0276191e8087e57d634532f26
refs/heads/master
2022-01-09T08:48:34.014990
2019-06-05T10:57:29
2019-06-05T10:57:29
106,656,447
2
0
null
null
null
null
UTF-8
Python
false
false
29,718
py
from pymouse import PyMouse from pykeyboard import PyKeyboard from pykeyboard import PyKeyboardEvent from openpyxl import Workbook # 写excel时候用,因为win32com使用多线程的时候会提示 被呼叫方拒绝接收呼叫 的错误 from openpyxl import load_workbook from openpyxl.writer.excel import ExcelWriter from win32com.client import GetObject from win32com.clie...
[ "616604060@qq.com" ]
616604060@qq.com
c4ab0b017776466c61193e88cafc3391fe2ec6a6
ae7ba9c83692cfcb39e95483d84610715930fe9e
/yubinbai/pcuva-problems/UVa 11349 symmetric matrix/main.py
5b0dbb58cb2e77b0c306a72f8344e573ab95df48
[]
no_license
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
Python
false
false
635
py
import math import sys def symM(matrix, n): flag = True for x in range(n & 1 + n >> 1): for y in range(n): flag &= (matrix[x][y] == matrix[n - 1 - x][n - 1 - y]) if not flag: break if not flag: break return flag sys.stdin = open('input....
[ "xenron@outlook.com" ]
xenron@outlook.com
f4dfad4a1b91586568b53826df7603466ad9c74a
f7a7b5cdd53bfd3467dd925a134df3613610ba5d
/lib/losses/fpointnet_loss.py
0be29b7f6f599e6af261deb37af7cd618073249f
[ "MIT" ]
permissive
sms95/patchnet
f1eecaf0998bc0849b6b40a4ccc59cb3363f881a
fbff77fa6cc9cf108f475a97440d16c5a37a6b9f
refs/heads/master
2023-03-21T01:52:48.543463
2021-03-17T06:56:18
2021-03-17T06:56:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,169
py
''' loss function for frustum pointnet & pseudo-LiDAR ''' import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from lib.utils.kitti.kitti_utils import boxes3d_to_corners3d_torch from lib.losses.huber_loss import smooth_l1_loss def get_loss(mask_label, center_label, ...
[ "fgjhgju@qq.com" ]
fgjhgju@qq.com
0925fe781a9387344a5bbabe0afaa1490f8ba84a
12fa60533e3f4e97fd81357517c510acfd74c6d2
/resources/errors.py
bd774b4ecc0cd053baf1d59355846d6c2edab334
[]
no_license
sudiq/dashboard-server
a33b8d4897f408759b9d2e9c6a6bbf0248ac22f0
75430818724c91304969e644aa71af40ce7b94da
refs/heads/main
2023-02-14T00:03:28.308952
2021-01-11T01:05:24
2021-01-11T01:05:24
328,506,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
from flask_restful import HTTPException class InternalServerError(HTTPException): pass class SchemaValidationError(HTTPException): pass class DiscoAlreadyExistsError(HTTPException): pass class UpdatingDiscoError(HTTPException): pass class DeletingDiscoError(HTTPException): pass class DiscoNot...
[ "sadiq@gmail.com" ]
sadiq@gmail.com
1aaa1f012491fea77d47373c581841fe582e8917
53fceba1553d77715be26936cb71bf2d9746f294
/config/settings/local.py
7bd3b46d8d5d88f9d9a9275b0e509d0b0696f740
[ "MIT" ]
permissive
Fcmam5/sidi-el-houari
e146e5fd16290b7d99eb9a4e6ec369b65e97619e
49edb9b763713cb42582e6eaebf2b6b43b54ddee
refs/heads/master
2021-06-19T19:07:59.594632
2017-06-13T13:11:35
2017-06-13T13:11:35
94,213,094
1
0
null
null
null
null
UTF-8
Python
false
false
2,219
py
""" Local settings - Run in Debug mode - Use console backend for emails - Add Django Debug Toolbar - Add django-extensions as app """ from .base import * # noqa # DEBUG # ------------------------------------------------------------------------------ DEBUG = env.bool('DJANGO_DEBUG', default=True) TEMPLATES[0]['OPT...
[ "dr.fcmam5@gmail.com" ]
dr.fcmam5@gmail.com
b2a20f09007dbc591303c6b4fda6e8dbdd6d4b5f
cfb66174eb5c0e37e818617159bead35cee31312
/plasmoid.py
e40040c4c78174de142755e845ec53505504c8f2
[]
no_license
demchenkoalexe/Space-inside-us
deb9b30defb0d4d251436fef750f0e0fe2986f97
973b0d237f4073b886e6233a3e7cd69ddc5d7779
refs/heads/master
2020-04-23T11:07:35.369656
2019-04-19T23:22:38
2019-04-19T23:22:38
171,125,308
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
import pygame from setting import HEIGHT, WIDTH class Plasmoid(pygame.sprite.Sprite): speed = -15 def __init__(self, position): super(Plasmoid, self).__init__() self.image = pygame.image.load('image/plasmoid1.png') self.rect = self.image.get_rect() self.rect.midbottom = position self.rect.y += 40 def ...
[ "demchenko_alexey@mail.ru" ]
demchenko_alexey@mail.ru
95aa96716922f86ac822f14a27bd749a4d0e7d32
5d7f6cd0b21ad50c6b59b3651dcf34bda6184b60
/std_ood_detector.py
2fce565943b66341f46dfef6abe38f00d3dcb23e
[]
no_license
engkarat/cosine-ood-detector
29a85105633a7b7d18217c66e67ccfe17df35cbb
bc328efd05ca969379b256acbb3de19d187ebc1e
refs/heads/master
2023-07-26T04:11:49.705068
2022-09-14T02:12:56
2022-09-14T02:12:56
187,947,197
43
6
null
2023-07-22T06:22:28
2019-05-22T02:23:19
Python
UTF-8
Python
false
false
5,290
py
from __future__ import division from torchvision import transforms, utils import argparse import math import numpy as np import os import socket import sys import torch import torch.nn as nn import torch.optim as optim import torch.utils.data project_path = os.path.dirname(os.path.abspath(__file__)) sys.path.append(pr...
[ "engkarat@vision.is.tohoku.ac.jp" ]
engkarat@vision.is.tohoku.ac.jp
a8f7de53cd21c1dc7f0beac6dcb19aab8614a3b6
71acb7214efd91c0d327f6d8958e1798eadb4401
/locations/spiders/croix_rouge_francaise_fr.py
d9186b484a1d64d25affb1fa82f39a5e9c319099
[ "CC0-1.0", "MIT" ]
permissive
alltheplaces/alltheplaces
21b9f8b4ace1352e52ae7b8f8825a930d2cb033e
1bcbb55cfcf06f2c714465570711f6e83f205c22
refs/heads/master
2023-08-30T19:45:35.098658
2023-08-30T17:51:54
2023-08-30T17:51:54
61,166,935
453
176
NOASSERTION
2023-09-14T17:16:40
2016-06-15T01:09:18
Python
UTF-8
Python
false
false
2,581
py
from scrapy import Spider from scrapy.http import JsonRequest from locations.dict_parser import DictParser from locations.hours import DAYS_FR, OpeningHours, sanitise_day class CroixRougeFrancaiseFRSpider(Spider): name = "croix_rouge_francaise_fr" item_attributes = {"brand": "Croix-Rouge française", "brand_w...
[ "noreply@github.com" ]
noreply@github.com
1ab6eecf2c7740b4635423f55c92b53542895e9c
86085d0db7e20b8754078b1af789273f2e6ea809
/vpt/hand_detection/depth_context_features.py
92cdd55383b73efe58c43f6c8d55cc6d82632b4d
[]
no_license
davidsjohnson/VPT2
38a108a726f3fcc2c8571207f1a5860c012400e9
8007f8ea27dd24819cecd2a781bb29ccc294d967
refs/heads/master
2022-01-12T13:11:53.543499
2019-05-17T21:06:14
2019-05-17T21:06:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,918
py
import sys import math sys.path.append("./") from vpt.common import * import vpt.settings as s import time # H. Liang, J. Yuan and D. Thalmann, "Parsing the Hand in Depth Images," # in IEEE Transactions on Multimedia, vol. 16, no. 5, pp. 1241-1253, Aug. 2014. # # http://ieeexplore.ieee.org/abstract/document/6740010/ ...
[ "fortjay81@gmail.com" ]
fortjay81@gmail.com
bcdc4923d4ed1a4e038c8ea8e01e5141e85444f9
755f8848e7105f4b17895f6fe174bef695466c67
/p2/si1pyenv/bin/pip3
2915f5e161eea7ab4ba1c64d8423561ab86ec671
[]
no_license
jfranco8/si
235462025fc72c76fb67f1adfe9de6752b9c0de5
8308e148d2b335fa8dd72153dee191e9fc390069
refs/heads/master
2022-03-27T02:24:23.384966
2019-12-18T22:01:58
2019-12-18T22:01:58
211,184,486
0
0
null
null
null
null
UTF-8
Python
false
false
259
#!/home/alumnos/e338009/public_html/si1pyenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jesus.franco@estudiante.uam.es" ]
jesus.franco@estudiante.uam.es
6b2c844e5379fece8c021f95a56e6406d466c579
5e28411b9d48f990c9e348f94dca50ac91abcf13
/noisi/test/test_zz_noisi.py
16aeab3a95b1610b3c9d5efae7399420b6061cd6
[]
no_license
jigel/noisi
1ce53e2e05a68b1c44c7786d6dd09048dbe93874
bb940c99069cf66a6ff7b267265a76af9e252c9c
refs/heads/master
2021-05-09T23:59:57.223626
2018-09-27T13:22:49
2018-09-27T13:22:49
118,816,779
1
0
null
2018-09-26T18:51:41
2018-01-24T20:15:00
Jupyter Notebook
UTF-8
Python
false
false
502
py
import os import sys def test_zz_noisi(): if os.path.exists("test/testdata/testsrc/step_0/corr"): os.system("rm -rf test/testdata/testsrc/step_0/corr") if os.path.exists("test/testdata/testsrc/step_0/adjt"): os.system("rm -rf test/testdata/testsrc/step_0/adjt") if os.path.exists("test/testdata/testsrc/step...
[ "laura.ermert@posteo.net" ]
laura.ermert@posteo.net
311fac66bd5619c74f93b0a3b033e01376dc2ce5
5b3caf64b77161748d0929d244798a8fb914d9c5
/Python Excel Examples/CellsApiDemo/row/setRowStyle.py
b7416ef885f311a5d401678b9b4094cb9616b63c
[]
no_license
EiceblueCloud/Spire.Cloud.Excel
0d56864991eaf8d44c38f21af70db614b1d804b7
d9845d5cefd15a3ab408b2c9f80828a4767e2b82
refs/heads/master
2021-07-20T23:44:39.068568
2021-07-15T03:04:49
2021-07-15T03:04:49
230,225,396
1
1
null
null
null
null
UTF-8
Python
false
false
1,264
py
import spirecloudexcel from spirecloudexcel.configuration import Configuration as ExcelConfiguration from spirecloudexcel.api.cells_api import CellsApi appId = "your id" appKey = "your key" baseUrl = "https://api.e-iceblue.cn" configuration = ExcelConfiguration(appId, appKey,baseUrl) api = spirecloudexcel.api....
[ "noreply@github.com" ]
noreply@github.com
2b488c0500b17063d82a364b2233880efd717c8a
765a5ee5c719d273fcf5b76b3e925bc2cc840de7
/core/migrations/0017_remove_payment_payment_charge_id.py
b39c991e3ed2326a5739f3030dbeb7eb876fb3dd
[]
no_license
bappi2016/django-ecommerce
6ef3a2a4b9f3e5863e183a2bc94e7e63fcf3bc45
56df6c647bc949961c4e56c68a6d4d857eea10cf
refs/heads/master
2022-12-12T10:42:00.160452
2019-09-09T13:53:13
2019-09-09T13:53:13
207,319,853
0
0
null
2022-12-08T06:08:30
2019-09-09T13:46:46
JavaScript
UTF-8
Python
false
false
337
py
# Generated by Django 2.2.4 on 2019-08-27 05:46 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0016_auto_20190827_0530'), ] operations = [ migrations.RemoveField( model_name='payment', name='payment_charge_id', ...
[ "bappi.ajmalaamir@gmail.com" ]
bappi.ajmalaamir@gmail.com
9e9d3101e2a16209f70c378a86662aa8e441d355
2a056b3e7edff56c3fa74892e2f9ca0cb67a17bf
/python_scripts/add_data.py
27fb4c3066fdb9839e56ba27836df6923b65cb47
[]
no_license
Eashwar93/Datasetcreator
40a86e85d07463d12ab7cfdafab7d3073aaf3707
d2ffe625549eebf8486469281a47e58cc712a0eb
refs/heads/main
2023-07-18T06:44:54.130136
2021-08-13T14:32:29
2021-08-13T14:32:29
363,075,010
3
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
import os, glob import shutil import argparse def add_data(source_path, dest_path, file_format): existing_names = [] for file in glob.glob1(dest_path,"*"+file_format): existing_name = os.path.splitext(file)[0] existing_names.append(int(existing_name)) existing_names.sort() if len(existing_names) >= 1: file_...
[ "rrh4fe@FE-C-000PW.fe.de.bosch.com" ]
rrh4fe@FE-C-000PW.fe.de.bosch.com
f8272ca45de32f6a39a7d8d47e44a4fd9cb2ae21
ccd70e84ced5825578ee690f18055dc070ca75b1
/utils/dataset.py
8315bb7321e38f6cad0676f5eba2023627212e90
[ "MIT" ]
permissive
ljm198134/FFVT
72b284dca3e60597cdbb5d1e6d723a52a96b59c7
9d894151f58a9c99f01c1aff3d4fedfbc5766939
refs/heads/main
2023-08-27T07:08:40.789620
2021-10-25T02:53:00
2021-10-25T02:53:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,453
py
import os import json from os.path import join import numpy as np import scipy from scipy import io import scipy.misc from PIL import Image import pandas as pd import matplotlib.pyplot as plt import torch from torch.utils.data import Dataset from torchvision.datasets import VisionDataset from torchvision.datasets.fol...
[ "cserwj@gmail.com" ]
cserwj@gmail.com
f70a22c217ab2a9c7bd948280c6aae46f79dba0f
8fa4be8224417d8a86f7f92f01ea7ab2215e99e8
/very_big_sum.py
40f4b9e66c048e32ce5fdc3dd0374bee9ddc3335
[]
no_license
tryanbeavers/prep_work
989550da0c83452be5e08c2f4e4990afe4c7fe5c
baad8730d01ea178beda64f3eea42565fd635c34
refs/heads/main
2023-06-25T15:43:59.115197
2021-07-27T22:57:48
2021-07-27T22:57:48
389,694,233
0
0
null
null
null
null
UTF-8
Python
false
false
1,638
py
# In this challenge, you are required to calculate and print the sum of the elements in an array, keeping in mind that some of those integers may be quite large. # # Function Description # # Complete the aVeryBigSum function in the editor below. It must return the sum of all array elements. # # aVeryBigSum has the foll...
[ "tryanbeavers@gmail.com" ]
tryanbeavers@gmail.com
d1230b257269e14de6d6a92780f184655cea298a
38ba13df9ea6e53c7b924cad1f3bea2de59c7a6a
/nibbler/trading/collectors/testfiles/XMRpusher.py
259b074e21ed320eb51482ce968fe4705c991153
[]
no_license
JizzFactoryEmployee/nibblerppman
0fbc1ce662cf8b4868b41a97291250fae29dc41d
160e557578a3e8a614450354f6ade233d32b052f
refs/heads/master
2022-11-14T01:10:31.743000
2020-07-04T01:21:52
2020-07-04T01:21:52
273,835,770
0
1
null
null
null
null
UTF-8
Python
false
false
640
py
import time import subprocess import inotify.adapters def XMRrunner(): while 1 <2: i = inotify.adapters.Inotify() i.add_watch(r'/home/nibbler/nibblerppman/nibbler/trading/collectors/coins/XMR/1m') events = i.event_gen(yield_nones=False, timeout_s=1) a = list(events) if a ==...
[ "52958901+JizzFactoryEmployee@users.noreply.github.com" ]
52958901+JizzFactoryEmployee@users.noreply.github.com
1ef14f9bf5f2e1e80006514d33da65623fc50dab
904258a06bcbd68e46463bbb32efa1265884912f
/PythonGettingStart/class/classInherit/InheritTutorial2.py
abf61aaf49a37726fff08a2553572f039b9c3f8f
[]
no_license
azznggu/PythonGettingStart
92f9619d5d95b66a3d6e581f9b974fbe2e217978
11ca04298e2e1d34cd2af6d8e9ea178e6a656fb4
refs/heads/master
2020-04-01T08:26:50.415687
2018-10-31T05:54:32
2018-10-31T05:54:32
153,031,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
#기반 클래스의 속성 사용 class Person: def __init__(self): print('Person __init__') self.hello = 'hello' class Student(Person): def __init__(self): print('Student__init__') self.school = 'school' james = Student() print(james.school) #print(james.hello) # -> AttributeError("'Student'...
[ "azznggu@gmail.com" ]
azznggu@gmail.com
665914894d7ebd47551f93c965d78a835312e7c2
4ee74237ad3230147674546223a0ff9644adf944
/manage.py
d874e06629a8f594ec5cda5b036ecfbd6de1b14f
[]
no_license
PMEAL/porespy-backend
d5641c8b1ae1930b5dd9185c43f74036d5e95f94
bb76cae9e752a95e428ec417bf1524f90b110790
refs/heads/master
2023-03-31T05:35:48.043698
2021-04-11T01:21:34
2021-04-11T01:21:34
323,444,231
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys ### email: afespiti@uwaterloo.ca ### username: admin ### password: porespyBackend def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'porespyBackend.settings') ...
[ "espitiaandres123@gmail.com" ]
espitiaandres123@gmail.com
f4c7922a4d689c89746373c980775b0a21ce13b7
500047f47a6b372fa7ff1e96b11315ee26acf5ef
/Chapter-05/badExample.py
c4cad1b499e3b50f0b20cd4f19c9a7030f4bff3b
[]
no_license
ra2003/Tkinter-In-Action
9f3a80bb2cab8dccf78621915f234f80cf79c58d
2a35ae029c2cfabb53adee8dae5fd0a7c6db817f
refs/heads/master
2022-03-02T16:25:26.146299
2019-10-07T06:36:41
2019-10-07T06:36:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,524
py
#!/usr/bin/python3 import tkinter as tk class RefactorExample(tk.Frame): def __init__(self,parent ): super().__init__() self.parent = parent panel = tk.Frame(self.parent, bg="white") prevButton = tk.Button(panel, text="<< PREV", command=self.OnPrev).place(x=50, y=0) ...
[ "noreply@github.com" ]
noreply@github.com
f5e77c44440654c6df428f077ef9cbf46dadd047
331a3f3e57a0ab7a2290e5a084eaa6bb8b4124e6
/pandas/io/xml.py
6432bba4c1a7caa118fed0df1adce9bc021d64d6
[ "BSD-3-Clause" ]
permissive
WuraolaOyewusi/pandas
f76aad45df9950ab7fcc4dfcae42dacab0b91f21
318f13a328f0f486b6712e9b6f26ca0249327843
refs/heads/master
2022-11-19T02:20:18.371013
2022-10-31T16:51:46
2022-10-31T16:51:46
220,716,671
2
0
BSD-3-Clause
2022-10-31T16:51:47
2019-11-09T23:26:39
Python
UTF-8
Python
false
false
36,142
py
""" :mod:`pandas.io.xml` is a module for reading XML. """ from __future__ import annotations import io from typing import ( Any, Callable, Sequence, ) from pandas._typing import ( TYPE_CHECKING, CompressionOptions, ConvertersArg, DtypeArg, FilePath, ParseDatesArg, ReadBuffer, ...
[ "noreply@github.com" ]
noreply@github.com
00388141ab983abcfbf53ac3e80e152faef0625d
28b982e01b092355bdd69b3112cf5831db76fc25
/Core/View/Dialogs/date_dialog.py
08606f28c52d2778714e3f15875594997789ec04
[ "MIT" ]
permissive
UpBeatMan/Abschlussarbeit
7c92b2ed136a4b50e4fd1c5bd43fa476ff535c04
e842df691bbfdf77cd1c41d9de00718166bb4e19
refs/heads/main
2023-08-18T11:45:29.944567
2021-10-05T23:45:11
2021-10-05T23:45:11
378,182,967
0
0
null
null
null
null
UTF-8
Python
false
false
3,289
py
# ToolKit module import tkinter as tk # handles date and time values import datetime # calendar input widget from tkcalendar import DateEntry class DateDialog(tk.Toplevel): """DateDialog class opens a popup window""" def __init__(self, parent, controller): """run __init__ section at class instantiat...
[ "albcycle@gmx.net" ]
albcycle@gmx.net
60e7a5055549c5b171c7514e242f9e379789c0f4
77c82c0a1c052d2ab1f92370c28419f5a59f1bfc
/a09.py
faec9acc7cec6bd3216f526c0e735176a6f901a1
[]
no_license
nandoken/CS-160
b58c22507aba755b4cd777f19ce56e1fbe2991d4
b1b442f3e0176f27f0768a1fcb9c8e764fee75fc
refs/heads/master
2023-03-25T09:04:24.868721
2021-03-22T04:10:08
2021-03-22T04:10:08
350,191,449
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
'''This program will create and store a list of 20 student names and their corresponding scores. Created by Fernando Ames Date Created: 03/16/2019''' nameUser = input ("Please enter your name") print("Hello, ", nameUser + ' ' "!! Welcome to my nineth Python Program.") names = ['Jim', 'Sarah', 'Jason', 'Lynne', 'Ginn...
[ "fernando.ames@pcc.edu" ]
fernando.ames@pcc.edu
85d28cca237e266aa7dc3d9cc824487e7a52f505
366070ac3c4d355af5383ee9ac637d24edb2f20f
/recipes/migrations/0010_auto_20201028_2028.py
4e0b7ca70f60a050e4b0a7558658faff592fac27
[]
no_license
BrianCambron/Django_Fullstack_Batchmaker
dbeda3f58fbcc702253ac48eac154a32577147fb
f7c0262bbdc94682479ba021b4d560005ef2407d
refs/heads/main
2023-01-01T00:12:50.775331
2020-10-30T15:12:51
2020-10-30T15:12:51
307,416,061
0
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
# Generated by Django 3.1.2 on 2020-10-28 20:28 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipes', '0009_auto_20201028_2011'), ] operations = [ migrations.AlterField( model_name='recipe',...
[ "69121396+BrianCambron@users.noreply.github.com" ]
69121396+BrianCambron@users.noreply.github.com
1fb27cb6901b58a0610dd351f051dbcd7cc107b9
0651514a903b109ebaed1dba586e127b763c8149
/AimBetter/Webget aws database/script1.py
ebe140b8365ba7c4b2f88392b35cd78bff2161c3
[]
no_license
hiratapqd/python
d23de6ed9438d3dd0bd4229faeb5484cd378ca39
95415ee78ef289284856dcbb6a4171c178f3ed74
refs/heads/master
2020-04-01T07:03:43.201002
2018-12-12T19:29:49
2018-12-12T19:29:49
152,970,451
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
import psycopg2 import csv def view(): conn=psycopg2.connect("dbname='acmedb' user='solve1' password='Solve123!' host='awspgdb.cp3x4epfttnq.us-east-2.rds.amazonaws.com' port='5432'") # conn=psycopg2.connect('postgres://szktdjccnybwae:d11900f5c5772e2c4a2cbc0145cb5ac8ef0ce61e6f5723e57851729a262de39e@ec2-23-23-22...
[ "hirata@HirataMBP.local" ]
hirata@HirataMBP.local
9b7918d1d533e510ce6ef3c4650b2b29a92e1da3
a6a78f59f442c18449befc89be2b193e37b695d6
/ivi/dcpwr.py
9c28dc0a695ccba5eaf52270ab1422ba87c08f1c
[ "MIT" ]
permissive
hohe/python-ivi
fa0b4b1232f4fca92bd046d2ae322e49959f8a83
0fe6d7d5aaf9ebc97085f73e25b0f3051ba996b6
refs/heads/master
2021-01-21T08:55:35.470107
2013-12-23T09:27:02
2013-12-23T09:27:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,975
py
""" Python Interchangeable Virtual Instrument Library Copyright (c) 2012 Alex Forencich 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 righ...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
01f2034592d9c1ef484d064e10ca70dd2949733b
fb4e4111af82cc1260407c8c0e17f57711697217
/cours/cours2_walk.py
76f22265b96c97e6d0b73804f0f33fdac4c87384
[]
no_license
francesco-morsillo/screwing
918f17e6b4e81819c423efbc93591cbeec38138d
2896ea3a5aa9d8b08c135447a27fba90c319d901
refs/heads/master
2021-01-23T03:28:31.599783
2013-10-11T14:56:17
2013-10-11T14:56:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,188
py
# ______________________________________________________________________________ # ****************************************************************************** # ______________________________________________________________________________ # ***************************************************************************...
[ "fmorsill@laas.fr" ]
fmorsill@laas.fr
54b58e13411fe66ee7997398ace384fbc860ff39
d10e5b34ea56653a81c21af2411e21922e2bde00
/Projects/focus_stack/GUI/tkinter_GUI_010.py
36f1ccf2f07a31b34aae48118c484c669746f9db
[]
no_license
aespositoiii/Work_In_Progress
7ce222f4a0819d010979ed51f702828458ca7d88
af100c1b89d0b0d1e7e02f1df676379d6c7108b5
refs/heads/main
2023-06-09T10:40:34.304518
2021-07-07T20:56:19
2021-07-07T20:56:19
329,193,133
2
0
null
null
null
null
UTF-8
Python
false
false
21,032
py
from tkinter import * from PIL import ImageTk, Image from tkinter import messagebox from tkinter import filedialog import glob import cv2 as cv import numpy as np import matplotlib.pyplot as plt from log_gabor.log_gabor import log_gabor # from tkmacosx import Button - allows background color and other features not av...
[ "antespositoiii@gmail.com" ]
antespositoiii@gmail.com
93ef50c85ce3b6ab9f8d2d735078a7f3d4f8fa8f
35dbd536a17d7127a1dd1c70a2903ea0a94a84c2
/tests/sentry/integrations/jira_server/test_utils.py
cd17caeb9eacffca5d0e6932a2c9fe1ac566c6bf
[ "Apache-2.0", "BUSL-1.1" ]
permissive
nagyist/sentry
efb3ef642bd0431990ca08c8296217dabf86a3bf
d9dd4f382f96b5c4576b64cbf015db651556c18b
refs/heads/master
2023-09-04T02:55:37.223029
2023-01-09T15:09:44
2023-01-09T15:09:44
48,165,782
0
0
BSD-3-Clause
2022-12-16T19:13:54
2015-12-17T09:42:42
Python
UTF-8
Python
false
false
525
py
from fixtures.integrations.mock_service import StubService from sentry.integrations.jira_server.utils import build_user_choice from sentry.testutils import TestCase from sentry.testutils.silo import control_silo_test @control_silo_test class BuildUserChoiceTest(TestCase): def test_jira_server(self): user_...
[ "noreply@github.com" ]
noreply@github.com
29c0709e19951d7b3647c908112818f08cf77117
d49d40234051253958e477499df4319a30f225eb
/HW6.py
400794147adece009d10fd65e830a87188512cc8
[]
no_license
wolfgam/Coursera_python
dde35ae72a073d36a7c33c42b8aa7c96c4232e82
c371dfdfd332ef9918609138074da65762b25af8
refs/heads/master
2021-01-17T08:07:11.025914
2015-09-07T01:05:02
2016-06-07T06:01:55
42,024,388
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
fruit = 'banana' pos = fruit.find('na') banana.upper() banana.lower() greet = ' Hello Bob ' nstr = greet.replace('Bob','Jane') print greet.replace('o','X') greet.lstrip() greet.rstrip() greet.strip() line='Please have a nice day' line.startswith('Please') ## Parsing the txt data='From stephen.marquard@uct.ac.za Sat Ja...
[ "wolfgam@users.noreply.github.com" ]
wolfgam@users.noreply.github.com
b8addbaf31dce94cbf9e67adfeee954a02ca3942
b3237e2600cfd2e84dbba3760a020c8434033e72
/Assignments/Exam Preparation/Python Advanced Retake Exam - 08 April 2020/03. Find the Eggs.py
893dfadef18cfd65e739782e2b18fa2140091f16
[ "MIT" ]
permissive
KaloyankerR/python-advanced-repository
94a22a5015bb66afa6c61b3fb8ad150dc7028d6a
711672d0f033a5adffc3ca689d02d2a7a9a26bfb
refs/heads/master
2023-04-11T18:48:40.538000
2021-04-21T10:55:30
2021-04-21T10:55:30
298,027,828
0
0
null
null
null
null
UTF-8
Python
false
false
1,464
py
def find_strongest_eggs(elements: list, sub_list): sub_listed_elements = [[] for x in range(sub_list)] ind = 0 while elements: if ind == sub_list: ind = 0 element = elements.pop(0) sub_listed_elements[ind].append(element) ind += 1 valid = [] for sub_lis...
[ "kaloyankulov2003kk@gmail.com" ]
kaloyankulov2003kk@gmail.com
c9254aa28c869a52d53345184a6a9e95a2d22220
b6475ca05b41a0a291c51dd7ffcab08a6456e08e
/application.py
a3511bb444f9a92daf4348b1539400822c7a12a1
[]
no_license
edprata/classificador-noticias
1e99c172f356804f279ce45cccb7644044111304
2fe63171a2fe222f088026aefb4a2dfbd2c18f18
refs/heads/main
2023-08-12T08:13:27.718897
2021-09-27T21:35:37
2021-09-27T21:35:37
394,815,267
0
0
null
null
null
null
UTF-8
Python
false
false
2,096
py
from os import environ from flask import Flask, request from src import api_response as resp from src import knn_service as model_knn from src import lstm_service as model_lstm from src import neural_service as model_neural from flask_restplus import Api, Namespace, Resource, fields # Flask config: app = Flask(__name_...
[ "edprata@gmail.com" ]
edprata@gmail.com
b6a500dbb6e5e89b8f77f9a39e75c82f44baa93a
bc9dc59b7f25809e5db23751063c20ce94a78c67
/RedCat_Main/RedCat/Serial.py
e9979c1b1b2ee189fb0a90d22a3ffd9fa4a53889
[]
no_license
UCDFPGALab/Ben
28987e7356ea5663f59b03bbd4e228f36cc894f5
fd9fe762a687a66c82b02c752af171beabfa8d9d
refs/heads/master
2016-09-06T11:04:48.801707
2015-01-16T01:28:18
2015-01-16T01:28:18
11,800,406
0
0
null
null
null
null
UTF-8
Python
false
false
8,382
py
import serial import sys import numpy from time import sleep import random from pyqtgraph import QtCore, QtGui from pyqtgraph import multiprocess as mp import pyqtgraph as pg import time import datetime port = "/dev/" + sys.argv[1]; outputFile = open('data3.txt', 'w'); try: ser = serial.Serial(port, 115200, time...
[ "bpgodfrey@ucdavis.edu" ]
bpgodfrey@ucdavis.edu
1e7f6856140032fd95f59ddef6e121a7362cd030
b16b0083b757547916c80fdc638bda3cec784f56
/venv/Scripts/pip3.7-script.py
1b152fbfb1ac8d3eef2588029e89b5a2f2ccc921
[]
no_license
GSHwhatever/shoppingnet
a318caeaf127fd0c76aec7ea3ed4b5f6c74adb67
247091b4ebca11f8156b12789c5355b554f5878b
refs/heads/master
2023-05-14T16:32:43.671897
2021-06-08T14:17:51
2021-06-08T14:17:51
373,699,976
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
#!F:\Git\test\project\shoppingnet\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "422455159@qq.com" ]
422455159@qq.com
07606bc0f0f4fa9a4192381f144e828133f83a4e
afb527b3e98d7bf35053b7e5898c1cc37b8d5773
/bookmarks/images/models.py
f1eaf5d5c53e5ba42c43db1e57e4ac10a8809cb2
[]
no_license
UmedJadhav/PhotoSharingSocialNetwork
6b0209efd9bf8af865eea777dd9da35ae3aa742f
19b4fe12a1c0ddf7abdc6563c238805361107102
refs/heads/master
2022-11-14T15:34:53.959498
2020-07-04T05:44:58
2020-07-04T05:44:58
276,705,606
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
from django.db import models from django.conf import settings from django.utils.text import slugify from django.urls import reverse class Image(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='images_created', on_delete=models.CASCADE) title = models.CharField(max_length = 200) slu...
[ "umed@browserstack.com" ]
umed@browserstack.com
96598fcc6743fce3cfcd3049d3f90fe270bb16fb
5f5879bf4cff26dbba289bcb0aa6d1a1d1e42f96
/lists/tests.py
f802ca3184445e244fc90de3da4b71fa2018c6e3
[]
no_license
hyunji92/tddProject
9cbf5ff2e2a64adbe30a41bd8af47c5d2c9ad635
24ef1d872e4ab360f4bf3b07d8a8bde6a52ded2e
refs/heads/master
2021-01-09T06:00:52.519815
2017-02-25T07:14:19
2017-02-25T07:14:19
80,889,599
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
from django.core.urlresolvers import resolve from django.test import TestCase from django.http import HttpRequest from django.template.loader import render_to_string from lists.views import home_page # Create your tests here. #class SmokeTest(TestCase): # def test_bad_maths(self): # self.assertEqual(1 +...
[ "chunghj09@gmail.com" ]
chunghj09@gmail.com
e1613009a320f82afd394d4a24aebf6eb46ab159
8ccfcb1f86b68b71726045ef419721fd56e15d41
/dataset/base/coco.py
43ddb5efc563648455137e84970caf799470c6ef
[]
no_license
zytx121/torch-yolov3
0652f47b9c5b4dae325f15d002a0c790ff364aab
1ec131418e042fe5fc4acb0d406d102427b1a872
refs/heads/master
2020-06-30T20:46:39.459883
2019-08-02T13:14:44
2019-08-02T13:14:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,113
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import pycocotools.coco as coco import numpy as np import os import torch.utils.data as data class COCO(data.Dataset): def __init__(self, config, split): super(COCO, self).__init__() confi...
[ "cwgnlfd@163.com" ]
cwgnlfd@163.com
2b980f81aa73b51a4fce9dccc6c3707de8b329d8
849364a9b65ac32feab67dd3bb86119a0102f048
/tests/test25/t3.py
9b7f290499290cdfb37499f319fb698ddf121072
[]
no_license
zokis/Python--Faster-Way
585b46e50cc70c6b4f3b026d3b82ba2705f6fc6b
8f11e9246198c6bc3c0c58668674d75188c966ae
refs/heads/gh-pages
2022-07-28T18:50:54.342599
2015-07-02T19:43:18
2015-07-02T19:43:18
12,438,963
200
31
null
2018-03-25T16:12:12
2013-08-28T16:35:19
HTML
UTF-8
Python
false
false
80
py
def a(): n = 1 if n: return False else: return True
[ "marcelo.zokis@gmail.com" ]
marcelo.zokis@gmail.com
69114fbbf1b5dd496c9af5359ad301b2f1eeb8b4
26ca1e0906feece27896bd267a1f58882fcb0513
/archive/Basics/multi_func.py
9820caf039d6f0b84af655361ed8812fdcd57056
[]
no_license
icecore2/python-training2019
092984c6dec1b05e70f9f899ee213d126c45ff63
ee39f93adabab506c9eef68c5e686ddb59953de9
refs/heads/master
2020-09-02T21:19:27.959213
2020-04-23T20:06:08
2020-04-23T20:06:08
219,306,742
0
2
null
2020-01-17T15:07:06
2019-11-03T13:40:56
Python
UTF-8
Python
false
false
385
py
import sys import os # from hints.time_gists import timeFormat firstNumber = 2 secondNumber = 3 # secondNumber.date = 22 def multiFunc(firstNumber, secondNumber): multiResult = firstNumber * secondNumber # time = timeFormat('%d-%m-%Y / %H:%M:%S') # print(time) return multiResult pass print("The...
[ "admin@example.com" ]
admin@example.com
20376acf5f6c1dbc18cd53a1ee4bafeee0d1be86
64760e804915b279bc8c8cee5137dc66e2623dc7
/r4ccors/web.py
8c11f5d44226fa713e64f476469470fe9c680a1c
[]
no_license
ss7pro/cloud
47b73f36e4be0ec0673273635d7508e27afc43e7
466d15463e94d220c6883e076b07455f98bc6fa1
refs/heads/master
2020-12-24T15:04:56.995987
2012-06-30T21:35:02
2012-06-30T21:35:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
from webob import Response from webob.dec import wsgify from paste.deploy import loadapp from eventlet import wsgi import eventlet import sys @wsgify def application(request): resp = Response() print request.headers if request.headers.get('Access-Control-Request-Headers'): resp.headerlist.appen...
[ "ss7pro@gmail.com" ]
ss7pro@gmail.com