blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
ab08841831bc3435f4fd676c5bc2d514ae282892
ca6173bd7600d269cdc1e18da0d7a1fbe4e0f31f
/rsys/rblog/urls.py
049f945156ad311f232d75e5be1cd7d794b0d02a
[]
no_license
dgscharan/django-rsys
299409705a537233e35af589254acdd08696375a
9485183c9e6f34d6c1d5547ec8275904fb752ecb
refs/heads/master
2023-01-04T00:00:50.388278
2020-11-02T06:39:15
2020-11-02T06:39:15
309,279,890
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
from django.urls import path, include from . import views from .views import HomePage, ArticleDetailView, AddPostView urlpatterns = [ path('', HomePage.as_view(), name='Home'), path('article/<int:pk>', ArticleDetailView.as_view(), name='article-details'), path('add_post/', AddPostView.as_view(), name = 'a...
[ "sricharan@beezlabs.com" ]
sricharan@beezlabs.com
8725abdd6d54053715a6c6250547207cdaa688e2
d8506b53c20768591024efe23a8d949f90a7d304
/venv/Scripts/easy_install-script.py
da9dff5dff56b5bd232a6838105fb7f5724da605
[]
no_license
undercookie/Python_Game
3efa22562faa0632470f64b06d9b734ee33b54fd
13d05ae5a17ae197c12144f20e9124a75cad4ae4
refs/heads/master
2022-09-08T17:49:05.081795
2020-05-25T18:50:37
2020-05-25T18:50:37
263,611,143
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
#!C:\Users\p\PycharmProjects\Python_Game\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\....
[ "jamie.seckinger@web.de" ]
jamie.seckinger@web.de
7942e8232444511231b96ddaa7360ebcd0efa788
1e963eae16ad14c9043cb5fb4ca2e1fc83ffe6c9
/01.DeepLearning/01.captcha/01.Captcha.py
dbc11d5343b4d5afe8161f1b7165bc635914469a
[]
no_license
johnsondiao0521/MachineLearningInAction
5b65842b28762d6947b54f9294d8f4d2c468e87f
13a6de20fdfa7de36aaf0379db20e69997483164
refs/heads/master
2020-03-31T12:07:14.664977
2019-05-31T08:30:57
2019-05-31T08:30:57
152,203,987
5
1
null
2018-11-06T07:17:34
2018-10-09T07:06:49
Jupyter Notebook
UTF-8
Python
false
false
17
py
#encoding:utf-8
[ "332886494@qq.com" ]
332886494@qq.com
4b8524cc460faabc41efc6e9ca0584712bb5bfd6
ab69c2e3e4ec895fc533a4d37768aab517f86722
/tests/structures/test_comparisons.py
995b3acc05d605970a8217e4e74851e623881818
[ "BSD-3-Clause", "MIT" ]
permissive
pranavmodx/batavia
9cf7d7528cb88b16d5b33b64481281b60e84cbec
084d78eb553f21c787009e1141638e810fcc654f
refs/heads/master
2020-08-07T19:08:36.105839
2019-10-08T06:32:23
2019-10-08T06:32:23
213,560,529
1
0
NOASSERTION
2019-10-08T06:01:52
2019-10-08T06:01:50
null
UTF-8
Python
false
false
5,319
py
from ..utils import TranspileTestCase class ComparisonTests(TranspileTestCase): def test_is(self): self.assertCodeExecution(""" x = 1 if x is 1: print('Correct') else: print('Incorrect') print('Done.') """) ...
[ "russell@keith-magee.com" ]
russell@keith-magee.com
eda77b3fb111fdadddce59be538af5500de1b8e4
e9abcb6021cc6fcc15ef2258f09812492b4e093d
/ironic/drivers/modules/pxe_auto_deploy.py
e710fc477b8a458092f3fcfad209f81f16a14b57
[ "Apache-2.0" ]
permissive
ericxiett/ironic-customized
e6df6a62840ae34180b8004c98ac56790462408b
3a2ad13969e1497889a0c3be80f9f5f671ff4d1b
refs/heads/master
2020-07-16T08:29:03.447845
2019-09-02T01:31:58
2019-09-02T01:31:58
205,754,554
0
0
null
null
null
null
UTF-8
Python
false
false
9,371
py
import os import socket from shutil import rmtree import jinja2 import time from oslo_log import log from oslo_utils import fileutils from ironic_lib import utils as ironic_utils from ironic.common import exception, pxe_utils, boot_devices, states from ironic.common import utils from ironic.common.i18n import _, _LE,...
[ "eric_xiett@163.com" ]
eric_xiett@163.com
e7ef8ab3673ccb8b8ad875387a5ce492d1062396
e3f30481111e0a91abc55d591647b758bf78b890
/albums/wsgi.py
e02d0ccbb59c91f5dd81681da5b9e36c55d4d8bd
[]
no_license
raviteja91/albums
84e78693bff0f3e66698245713dd29ee5691b785
e56f4a00684bcfed9f99353106a7b22ca89d3a76
refs/heads/master
2020-05-14T14:27:56.050896
2015-07-16T06:19:23
2015-07-16T06:19:23
39,179,923
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
""" WSGI config for albums 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`` s...
[ "ravi@gmail.com" ]
ravi@gmail.com
359382acb24cd83e62add5654614e219cc603ace
264c35aa1a7a5a71e1b3b4e92ece8fb63bc4bde2
/bin/pilfont.py
a42088009a4c006dd28e5685f015b7b81697b89e
[]
no_license
muhiza/demp
f0ae15874690e1c7801bd1402c663f21c237b4a7
77f29ac541fa6ecb43d51a3c91abe49f56fa2045
refs/heads/master
2020-07-17T01:13:26.218907
2016-12-03T10:25:50
2016-12-03T10:25:50
73,937,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
#!/home/muhiza/sem/market/src/bin/python # # The Python Imaging Library # $Id$ # # PIL raster font compiler # # history: # 1997-08-25 fl created # 2002-03-10 fl use "from PIL import" # from __future__ import print_function VERSION = "0.4" import glob import sys # drivers from PIL import BdfFontFile from PIL imp...
[ "muhizafrank@gmail.com" ]
muhizafrank@gmail.com
4d73f1009f9545a495de388d2b5332138d8fc0d7
237162607427106ae9564670d47427a62356861f
/users/migrations/0040_auto_20190426_1040.py
477aac69c7a6db31f52e331f91b20015a89d3272
[]
no_license
pitipund/basecore
8648c1f4fa37b6e6075fd710ca422fe159ba930e
a0c20cec1e17dd0eb6abcaaa7d2623e38b60318b
refs/heads/master
2020-09-13T20:16:02.622903
2019-11-20T09:07:15
2019-11-20T09:07:15
221,885,342
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2019-04-26 10:40 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0039_applicationdefaultrole'), ] operations = [ migrations.AlterModelOpti...
[ "longman_694@hotmail.com" ]
longman_694@hotmail.com
3cdf23ebb4b45ecc30c12028629a839c476eebad
437f05765c4f8c4cccbbaf10d9d6551e7e0df60a
/shop/views.py
2648f4e43fba119f88bdaa4ac57388a8587be729
[]
no_license
akhilprakash634/Aqua
6668944b619ed979ad25417547eaf4004782cba8
657ba3829996ab0fc691f7fd0b9b45ce4a3d8b9d
refs/heads/master
2023-08-05T11:43:13.423955
2021-09-14T08:04:48
2021-09-14T08:04:48
406,276,489
1
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
from django.shortcuts import render,get_object_or_404 from.models import * from django.db.models import Q from django.core.paginator import Paginator,EmptyPage,InvalidPage # Create your views here. def home(request,c_slug=None): c_page=None prodt=None if c_slug != None: c_page = get_object_or_404(c...
[ "akhilprakash634@gmai.com" ]
akhilprakash634@gmai.com
bf28587cc995e0346c99fca4c63a858116550ef6
9562a72a5c5e8647a9bc6442bdb556ddbb13c908
/Charlotte_Notes/dynamic_steps/autoregressive model.py
b8345f45c212597b08b58ed02e8f78f06223806e
[]
no_license
BIAPT/Scripts
e7529c99bf744967beb7ce3a02d311ac31578ca9
9ee5016c79b4768dd44492136a3c020516cc43e5
refs/heads/master
2022-11-27T06:16:06.184576
2022-01-05T02:00:24
2022-01-05T02:00:24
193,906,623
8
5
null
2022-11-22T04:58:19
2019-06-26T13:09:29
Jupyter Notebook
UTF-8
Python
false
false
5,263
py
import matplotlib matplotlib.use('Qt5Agg') import numpy as np from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D from sklearn.decomposition import PCA import pandas as pd from sklearn.cluster import KMeans import matplotlib.backends.backend_pdf from sklearn import preprocessing from clustering...
[ "55599742+CharlotteMaschke@users.noreply.github.com" ]
55599742+CharlotteMaschke@users.noreply.github.com
bc1eca6413b63ee747fbdc5ce978fea9d29c9081
b7ddbfdc0b7bf2eb2fcbbcd2cfa8dccf6af58d7a
/src/words/main.py
9fff5e544b66128a30010a85ff9a77155af2a951
[]
no_license
Naerriel/popular-words
29050bc7ee73184f182fd3632d2e4b1f59a06170
fd7647758bedcf70809de0dabd438bd12737239c
refs/heads/master
2023-07-13T07:38:11.664806
2021-08-18T18:21:14
2021-08-18T18:21:14
296,834,385
2
0
null
null
null
null
UTF-8
Python
false
false
329
py
from src.words.frequencies import get_relative_frequencies # book[0] - book title, book[1] - book words array def create_chart(books): relative_frequencies = get_relative_frequencies(books) result = [] for (i, book) in enumerate(books): result.append((book[0], relative_frequencies[i])) retu...
[ "naerriel@gmail.com" ]
naerriel@gmail.com
f8fd4511a108b8fa1fb60b90cb489e7232eb676d
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/galex_j032139.63+472718.83/sdB_galex_j032139.63+472718.83_coadd.py
7700527b519c981826539b80b5486dc86e5c9e84
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[50.415125,47.455231], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_galex_j032139.63+472718.83/sdB_galex_j032139.63+472718.83_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOT...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
63093190ee20e10698bd99dcea94ccf5d076a006
04803c70bb97012b7d500a177ac0240fb2ddbe38
/1heptane/pdep/network4267_1.py
8a706002eeed10a53d67be4e75593936ac4c0251
[]
no_license
shenghuiqin/chpd
735e0415f6688d88579fc935459c1b0f53596d1d
396ba54629036e3f2be0b3fabe09b78c90d56939
refs/heads/master
2023-03-01T23:29:02.118150
2019-10-05T04:02:23
2019-10-05T04:02:23
192,084,217
0
0
null
2019-06-18T18:33:13
2019-06-15T13:52:28
HTML
UTF-8
Python
false
false
69,142
py
species( label = 'C=C([CH]C)C(=C)[CH]C(24182)', structure = SMILES('[CH2]C(=CC)C([CH2])=CC'), E0 = (249.687,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([325,375,415,465,420,450,1700,1750,2750,2770,2790,2810,2830,2850,1350,1400,1450,1500,700,800,1000,1100,1350,1400,900,1100,3000,3033.33,...
[ "qin.she@husky.neu.edu" ]
qin.she@husky.neu.edu
f9b3d7f8b37f4afc692c782c12a1ff0d80cf01ad
b1a2a7910198c56bb6fe94ceaad32fb2a99dec2c
/Quiz 7.2.py
5738c936b7e70a6417c8e8b10d8e63aa4eb1a584
[]
no_license
rodyholland/Python-Udacity
1cd4dd3e99cc343337915f0c663f9c914d2b03e0
1bc04d04bc88f5b784e5388ee403b73248a7e8e0
refs/heads/master
2020-04-15T00:36:12.210899
2019-01-05T21:29:11
2019-01-05T21:29:11
164,246,243
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
import pandas as pd from ggplot import * def lineplot_compare(hr_by_team_year_sf_la_csv): # Write a function, lineplot_compare, that will read a csv file # called hr_by_team_year_sf_la.csv and plot it using pandas and ggplot. # # This csv file has three columns: yearID, HR, and teamID. The d...
[ "noreply@github.com" ]
rodyholland.noreply@github.com
91271ead575e6c8ddbb5fe997bcaef60aee8dbff
c91aecb334bf18812e29b7336a8d9d8d9799efa1
/setup.py
719f8b200b3ccde8e203084111980db03e31fad7
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
Rishit-dagli/isab
5037603bb6a3be7f7e48459eb0e1470aacef804c
6caa92f25ccd0fdcb88ec3148a88412efa716223
refs/heads/main
2023-04-17T06:26:14.210341
2023-01-01T03:41:25
2023-01-01T03:41:25
583,542,754
9
1
null
null
null
null
UTF-8
Python
false
false
2,310
py
import os.path from setuptools import find_packages, setup def read(rel_path: str) -> str: here = os.path.abspath(os.path.dirname(__file__)) # intentionally *not* adding an encoding option to open with open(os.path.join(here, rel_path)) as fp: return fp.read() def get_version(rel_path: str) -> ...
[ "rishit.dagli@gmail.com" ]
rishit.dagli@gmail.com
5b57c80425c7a2bc8858c206e234cb38b942af96
2e538c87783a371a994cba27acbcb8951ed827ae
/recommender/urls.py
4c01e49104967c1709b5d83f75f721c7cc1124ef
[]
no_license
egilabert/marketplace
6b2c0699553885393ab1b9c6ba50a9eef0b2efb9
4a476e18bdda6a53d039056598bbbf3cd6d4e313
refs/heads/master
2020-07-05T16:31:29.491668
2017-07-11T08:31:30
2017-07-11T08:31:30
74,110,995
0
0
null
2017-07-11T08:31:31
2016-11-18T08:38:13
JavaScript
UTF-8
Python
false
false
805
py
from django.conf.urls import url from django.contrib import admin from .views import (SearchView, HomeView, ClientView, ProviderView, EmpresaDetailView, OpportunityClientsView, OpportunityProviderVie...
[ "gilabert.enric@gmail.com" ]
gilabert.enric@gmail.com
56f5127fe5a3d3278623e616dd17c1d07308518f
61a8c6219a49a24c3691f579e4400a66207e26e7
/Blog/migrations/0008_auto_20170709_2333.py
15f6f73f15f40ccb9caaff6802efebb175fc46e0
[]
no_license
oleoneto/EKLETIK-V1
0348499ead4a1dff509e40bcf81ddf4b6273e211
1720da9b3fb73a5434500529c7b76436e284897c
refs/heads/master
2021-09-18T10:34:47.646694
2018-07-13T02:46:19
2018-07-13T02:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-07-09 23:33 from __future__ import unicode_literals from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('Blog', '0007_auto_20170707_1719'), ] operations = [ migrations.Al...
[ "csneto@L13.local" ]
csneto@L13.local
fb09bbf045dde145556337fcce8727a7953af5f7
bd5803e5f12a35dd6783c3bb6b8314b0f094baf6
/profiles/migrations/0001_initial.py
8014d655afea5e749f1ea528486d082ef631c26f
[]
no_license
Farrrukh/Django-Bootcamp
c56503631c05193aacd54456d5e5f5ec28b2daf0
59491cd778563fad4ac0ecb8270d4a225ab73dcc
refs/heads/main
2023-03-18T17:19:51.063074
2021-02-27T05:42:04
2021-02-27T05:42:04
342,779,375
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
# Generated by Django 3.1.6 on 2021-02-13 20:10 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Profiles', fields=[ ('id', ...
[ "farrukhkhan30@hotmail.com" ]
farrukhkhan30@hotmail.com
a7c12c0c81879fc2ae0d9f7d163beeef16b99619
4b70a23e74a332c54e70fe33c9b0fe79bb328d85
/WGB/tests.py
150266ac3a772eb5520f7750260a12777f21311c
[]
no_license
tevawolf/wgb
3b095897cbdc9b71c4b233f6b755f65f2693d582
f30be8575b03f24bf797b305e34b7fda866fa0c0
refs/heads/master
2022-12-10T23:18:04.175394
2021-01-29T06:40:01
2021-01-29T06:40:01
159,421,804
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
from django.test import TestCase from . import models class UserAccountTests(TestCase): def test_blank_icon(self): account = models.UserAccount() account.username = 'test' account.password = 'test' account.nickname = 'test' account.save() saved = models.UserAccount...
[ "tevawolf@yahoo.co.jp" ]
tevawolf@yahoo.co.jp
700fa75fb3bd427c2ace99115edf7c741cc1a10c
9449368b4a4100f1ef6dd0f4a845faad6f1161a4
/models/Qaw_reactnet_18_bf.py
658a6b782cca02444f3726bafd5009b17e234335
[ "MIT" ]
permissive
TrendingTechnology/BNN_NoBN
b6a770fb176a9881d22ccea20381084b4abc0bcc
d2777845d04449cabfcfc5ce72738e1e6287f633
refs/heads/main
2023-06-17T13:38:26.296326
2021-04-21T22:28:49
2021-04-21T22:28:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,526
py
''' React-birealnet-18(modified from resnet) BN setting: remove all BatchNorm layers Conv setting: replace conv2d with ScaledstdConv2d (add alpha beta each blocks) Binary setting: only activation are binarized ''' import torch import torch.nn as nn import torch.utils.model_zoo as model_zoo import torch.nn.functiona...
[ "wiwjp619@gmail.com" ]
wiwjp619@gmail.com
566d9229e5df35820ffbd6103a0ba793ed993eae
c38fdf616d465b80f21b6f407476a1e849f4598e
/steven/python/personal_workshop/containers/dictionary.py
956c036c455e26f9a03f2f89d709d64a30168bf9
[]
no_license
crazyguy106/cfclinux
fd3b910302dbeaa940284e4a54ccb8514d15920a
a5748dff5f34254f5780daa87619037b357aa59b
refs/heads/main
2023-07-31T20:14:07.276695
2021-09-24T15:40:07
2021-09-24T15:40:07
399,391,445
0
0
null
2021-08-30T05:39:38
2021-08-24T08:31:31
Shell
UTF-8
Python
false
false
393
py
#!/usr/bin/python3 dictionary = {'my_string': 'Steven Chia', 50: 'I am number fifty'} # Get data var = dictionary['my_string'] print(var) # Update data dictionary['my_string'] = 'I have been changed' print(dictionary) # Delete data (pop) dictionary.pop('my_string') print('After deleting', dictionary) # add data #...
[ "stevenchia56@gmail.com" ]
stevenchia56@gmail.com
4d4dfa1fce2d0ec301b8527dca38e03ba0e4b365
e371a21cc31c0616da346e386fea411f39dd0f7b
/LAB04/02-CloudAlbum-Chalice/cloudalbum/chalicelib/config.py
525345eb14cc26298fa3b523b0b550141477e306
[ "MIT" ]
permissive
aws-kr-tnc/moving-to-serverless-renew
c0152763de822cea64a862cd395f4f940d2e4e03
312248c689a19ea9b589025c82f880593fc70f82
refs/heads/master
2023-03-21T19:59:23.717295
2022-03-12T15:38:59
2022-03-12T15:38:59
199,081,822
6
4
MIT
2023-03-07T10:02:25
2019-07-26T21:26:02
Python
UTF-8
Python
false
false
1,530
py
""" cloudalbum/chalicelib/cognito.py ~~~~~~~~~~~~~~~~~~~~~~~ Configurations for application. :description: CloudAlbum is a fully featured sample application for 'Moving to AWS serverless' training course :copyright: © 2019 written by Dayoungle Jun, Sungshik Jou. :license: MIT, see LICENSE for m...
[ "liks79@gmail.com" ]
liks79@gmail.com
f8a37192cc9531db7d44401ceba6f80cc0088655
5bd9bcbeef293e95b8d404e2ff6c6883e74ea75e
/general_tools/__init__.py
93a094701ed594231b0ac14de87e5463b3f33081
[]
no_license
yayatab/physics_python_tools
bade02fa8de62d80da8e253c06ac11488404848a
6cb52aa730e3516247e7f96b23257ca4bb5e8b9f
refs/heads/master
2020-04-19T09:57:43.334790
2019-06-10T06:57:48
2019-06-10T06:57:48
168,125,619
1
0
null
null
null
null
UTF-8
Python
false
false
239
py
from general_tools.convertions import * from general_tools.general_math import * from general_tools.histogram import * # from general_tools.lab import * from general_tools.statistics.statistics import * from general_tools.vectors import *
[ "taboch.yair@gmail.com" ]
taboch.yair@gmail.com
d05fea8f51d2ceb6bb397c133a35c1c2656f42c6
212696828a60c0d633d4d720d32de84002cbc238
/Controller/CRUD_Controller/CrudController.py
91f137259afe29f286964bd3ade55477f15c80e6
[]
no_license
ankitbasarkar/CS297-Console-Application
15874a7229b07eea173ce332eb2230ca9f215a54
0536e77c2d582d1228d3deeadfde61f90bf90c40
refs/heads/master
2021-01-18T22:16:30.694786
2016-11-29T05:35:38
2016-11-29T05:35:38
72,370,321
0
0
null
null
null
null
UTF-8
Python
false
false
1,271
py
import time import sys from View.CRUDAnalysisSpecView import CRUDAnalysisSpecView class CRUDController: def __init__(self): self.renderCRUDOptions() self.getCRUDViewOptions() def renderCRUDOptions(self): CRUDView = CRUDAnalysisSpecView() CRUDView.renderView() def getCRUDVi...
[ "ankit.basarkar@gmail.com" ]
ankit.basarkar@gmail.com
95c60f0c1f2feba7d1b4731c4a3380a16d56e159
7bcb5328193d0f05a4eaec8dce2248ac1c5e1c79
/weighter/aggregate_results.py
4a67e637e683f8bc2a0d75812581ee2bb238eaf7
[]
no_license
olantwin/muon_shield_optimisation
904eedacda73ff60f2bdc7873c023a6f89679bdb
7a2a97802f6b4811169f6e286bf1cfc14057aed4
refs/heads/disneyland
2021-09-08T07:18:06.608722
2018-03-08T10:21:45
2018-03-08T10:22:06
82,297,983
3
5
null
2018-03-03T21:33:06
2017-02-17T13:03:27
Python
UTF-8
Python
false
false
1,904
py
import numpy as np import re import os import argparse from utils import loss def get_xs_path(tag, id): return os.path.join("/input", "xs_" + tag + str(id) + '.npy') def get_indeces_path(tag, id): return os.path.join("/input", "index_" + tag + str(id) + '.npy') def get_number(filename): return re.find...
[ "oliver@lantwin.de" ]
oliver@lantwin.de
50b6541a87ce1981e8124b7c49f7a80e0dd3e1d1
90d48bd593d755ead347ef1c35efa032246ec301
/app/main/forms.py
ad18abdd8acaf9316c0752c443f4e2386a4e3eef
[]
no_license
TarEnethil/trivia
f95aac8a5599cf1d1e8c5e3bc8621d9a3a06fe24
6118633f66564ab63ff8fcb219dfe20fa40f0d72
refs/heads/master
2023-08-02T18:36:31.201369
2023-06-24T13:49:25
2023-06-24T13:49:25
142,294,955
0
1
null
2023-07-25T21:29:28
2018-07-25T12:11:13
Python
UTF-8
Python
false
false
983
py
from app import db from flask_login import current_user from flask_wtf import FlaskForm from wtforms import StringField, TextAreaField, PasswordField, BooleanField, SubmitField, SelectMultipleField, BooleanField from wtforms.validators import DataRequired, Length, EqualTo class LoginForm(FlaskForm): username = St...
[ "thorbenroemer@t-online.de" ]
thorbenroemer@t-online.de
fe02328eeb7bc12489a814ca22c9097a2349e9af
25ce3a4d8156f417a9bf3dfcef3888e8a0ce12c1
/yourenv/bin/easy_install
efb81ccc74b0753f20ae7072a5b62924b25eccac
[]
no_license
prajvalgupta/PickupSports_Project
6e0b544ece7a1f7ee1fb28adc0eeddf71982c3c7
eec874848f0c840018d59553122e78ea7fa8794c
refs/heads/master
2020-06-30T05:19:06.408909
2019-08-05T18:58:23
2019-08-05T18:58:23
200,734,693
1
0
null
null
null
null
UTF-8
Python
false
false
271
#!/Users/prajvalgupta/apad_project/yourenv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "prajvalgupta@utexas.edu" ]
prajvalgupta@utexas.edu
eba0648acc9316ce39061499fa08bb07bd36bf3e
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Scripts/pyinstaller/PyInstaller/hooks/hook-PyQt5.QtQuickWidgets.py
5bfdb0b29bff0c35d055c5b3a918351177aeea00
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:46db77cbf463b412fb237dd8420a2e12c39b4b5c5fd0cc8d34382ca45cfc9ae0 size 1992
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
fa1decabdc9cfeaae56d5aa526045977eb82c6ac
27b39add06235b1c32ea792186ed4d576cbe5dc0
/ski_resort/migrations/0004_auto_20210428_1631.py
97a00359e28f0d289852c6b30879669af3729a76
[]
no_license
StefSmlk/rest_center
ddc5bd92664cadd281b0df0b4040607ef1bda0c1
93a1d2c71343d697e80442f673995d6a708018d2
refs/heads/main
2023-04-26T15:53:28.444508
2021-05-25T14:05:53
2021-05-25T14:05:53
360,866,985
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 3.1.7 on 2021-04-28 13:31 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('ski_resort', '0003_auto_20210428_1630'), ] operations = [ migrations.AlterModelOptions( name='choices', options={'verbose_na...
[ "gsstteeff7777@gmail.com" ]
gsstteeff7777@gmail.com
43660d881616d308e9b8c0860549c6bf81f808e5
ab3d361d784ee2bf066802f9942371625f6b5b6d
/untitled/venv/Scripts/easy_install-script.py
acdcc9176bab9448fd3d4efdac30187d1eb5d519
[]
no_license
patricia8229/Dictionery
9b74cdc990604007ead8952bd4ce390749ba679b
8e5ec7a1510f6b53bd2ab0273d8f84a3e0d8a180
refs/heads/master
2020-08-17T04:22:03.811513
2019-10-25T18:00:57
2019-10-25T18:00:57
215,606,877
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
#!C:\Users\HP\PycharmProjects\untitled\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.ex...
[ "patricia.kibunja@gmail.com" ]
patricia.kibunja@gmail.com
87c8c170ef802ad2829ca7d65d50f6db98b5fe4f
67205c9dc9c806fc83615cdfa92239270c2a2f35
/dialog_duzelt_dograma.py
2d3c7fe7989f7a78ff8cb369317407b224b84699
[]
no_license
gsimin/mtrakv2
e73e594ca2fcde2d417fb25557a2ccf136f6c60b
79bdf0a55ab206b973fa1fae0a30fa78f9e74165
refs/heads/master
2020-06-07T14:45:04.337061
2019-06-21T06:30:09
2019-06-21T06:30:09
193,043,316
0
0
null
null
null
null
UTF-8
Python
false
false
4,864
py
import sys from PyQt5.QtWidgets import * from dialog_mesaj import uyari_ver, dograma_veri_kontrol # Seçilen doğramada düzeltme yapmayı sağlayan arayüz class DialogDuzeltDograma(QDialog): def __init__(self, tip, depo): """ Input: tip: (str) Doğrama tipi """ super().__init__(...
[ "simingurdal@gmail.com" ]
simingurdal@gmail.com
2f38fcb8e531ceded0274df3d91c710c99137c53
7ed033f04bfc94b60292a0eb11de8d0e1f762873
/src/deep_dialog/agents/agent_baselines.py
fcda9ccc5f7aa77b7e9de45ae53022bf188429da
[ "MIT" ]
permissive
tanayz/TC-Bot-py3
70ef42039d52fd52c2533c87d0b11229f60e24d6
048aca2fe58ced780baa0b24390cb44ce5ef6850
refs/heads/master
2022-07-29T23:31:23.938555
2020-05-26T15:27:19
2020-05-26T15:27:19
266,559,884
1
1
null
null
null
null
UTF-8
Python
false
false
6,408
py
""" Created on May 25, 2016 @author: xiul, t-zalipt """ import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../..'))) import copy, random from deep_dialog import dialog_config from deep_dialog.agents.agent import Agent class InformAgent(Agent): """ A simple agent to t...
[ "zmiao@mail.ustc.edu.cn" ]
zmiao@mail.ustc.edu.cn
acf8780a7e3c34f862cb116e10f719a9e4a6f1f7
3ace5e6ab1bf36dceeef2a5362a04d1e39f2c680
/DjangoSintactico/DjangoSintactico/urls.py
69ac0875e5f3ea5f4232e1caf3826b3c49d08f7e
[]
no_license
Yesker/SegundoParcial
256eed72c3e0af8876ff276987a3748a02f20144
41dbb7cf4d6f951da83dd91e616d7d92aa6dc292
refs/heads/main
2023-01-30T23:30:43.926017
2020-12-17T21:11:59
2020-12-17T21:11:59
322,413,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
"""DjangoSintactico URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "52689644+Yesker@users.noreply.github.com" ]
52689644+Yesker@users.noreply.github.com
1dcf4dd502ff5b8c72cdbeb598b1de71aedd20de
3320c0e111cd6dbbbbd1d9a30b485d17c39276cb
/funusecmd.py
28db40310cc6ca405f3c8b0d5d857c4f68ddbdf7
[]
no_license
INeedHealingWQ/funuse
9a2219102b4999202a1a985207b60e65f9c0347e
25e776d4a419d1de368b78e03fc1b2cd5b5f1731
refs/heads/master
2020-12-06T18:26:21.083411
2020-03-06T01:27:01
2020-03-06T01:27:01
232,525,583
0
0
null
null
null
null
UTF-8
Python
false
false
3,537
py
import sys import os from pathlib import Path import getopt from gvars import * from parameterobj import * import copy class CmdParseObj: def __init__(self, argv): self.__argv = argv[1:] self.__parameter_obj = ParameterObj() self.help_message = r''' Usage: funuse <option(s)> <path>...
[ "qiangwang@nettech-global.com" ]
qiangwang@nettech-global.com
a3f2478c50b69e79db6f319da77c3bf63634a403
1791cbad7764758651d1d1770955482d477d842d
/src/magnets/consts.py
f8fd5898ba2a3702af9e56d042f14f8d8b696686
[]
no_license
maor10/magnets-server
d05539b1fb2e66d0e2ad80e0f818792bea91cdd5
8ba3975704af4943b731bc73e596a008712ff1fe
refs/heads/master
2022-04-16T04:08:48.548899
2020-04-15T09:39:38
2020-04-15T09:39:38
254,864,909
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
import os UPLOAD_FOLDER = "C:\\Temp\\magnets\\photos" if os.name == 'nt' else '/etc/magnets/photos'
[ "kern@adaptive-shield.com" ]
kern@adaptive-shield.com
d37e237bfb76097bacca622b5cb294c75c3dc0a2
192da4ad4b065d460632dd968206ecde4b1c4864
/mfeatures.py
ff073d478c1762e795c6f4788a65022d89d95713
[]
no_license
Meetkumar1/Speaker-Recognition
2481bc0db8c441a85ea0f0081ef29b7a153e43ac
ca5346a6e1247ffaaa3db949cb82a8328e556a69
refs/heads/master
2020-07-14T08:42:12.636489
2019-08-30T02:35:29
2019-08-30T02:35:29
205,285,820
0
1
null
null
null
null
UTF-8
Python
false
false
1,194
py
import numpy as np from sklearn import preprocessing import features_extraction as mfcc def calculate_delta(array): """Calculate and returns the delta of given feature vector matrix""" rows,cols = array.shape deltas = np.zeros((rows,20)) N = 2 for i in range(rows): index = [] j = 1...
[ "noreply@github.com" ]
Meetkumar1.noreply@github.com
04bc708a8398d75edd4c95abe4ac6891383e4858
ed9025b0b5b4815ca86e4956a6cf9ee3f5606105
/ColorSelect.py
b4b8e0f24fe732564abe9335bf059957df0bcd45
[ "Apache-2.0" ]
permissive
damay27/GB_Tile_Maker
af55add047e8d1a2f66ac816cde323999347cc1e
44e94580966d4337bf008e987ad4fffba31bef0f
refs/heads/main
2023-08-07T18:36:50.826261
2021-08-21T22:58:15
2021-08-21T22:58:15
398,668,993
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
import pygame from Colors import * class ColorSelect: def __init__(self, x, y, square_size): self.x = x self.y = y self.square_size = square_size self.selected_value = 3 self.square_list = [] for i in range(4): self.square_list.append(pygame.Rect(x + ...
[ "damay27@outlook.com" ]
damay27@outlook.com
ac201c32c190e05228316b6f02938c7fff0898f6
2b99c11477778b07078a8611e2e2b6a5f4e9d6a4
/app/accounts/urls.py
5c83ba4d6032b4ec4b8556a00fe1835c4bc4be8c
[]
no_license
ParsiSrijay/FinalProject
e6f43cb047771f8c69c1985b2f0ac1afa3e8132f
fb423769f01a60184504c488286d752063600c71
refs/heads/master
2022-12-03T20:32:46.502835
2020-08-28T09:10:54
2020-08-28T09:10:54
291,000,150
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
from django.contrib import admin from django.urls import path from . import views urlpatterns = [ path('admin/', admin.site.urls), path('',views.FinRecords,name ='fr'), path("first",views.first,name='first'), path('display',views.disp,name="display"), path('edit',views.edit,name="edit"), path('r...
[ "parsi.srijay@gmail.com" ]
parsi.srijay@gmail.com
4eff612830ab9f15f6735835500fc1eaeb948fc7
1ea992a40e0320223d6a991eac305681ae30778b
/Euler005.py
4f36fa18064e4c9f1c1692a9e9c3ce302639fd50
[]
no_license
FionnMarf/ProjectEuler
8cf0f775e523c93a678acaf6ca45ed54b8e717b3
165d6b89b45b7b750b9ed191062b50d7af20de3a
refs/heads/master
2021-07-25T16:18:13.003373
2017-11-07T11:50:04
2017-11-07T11:50:04
107,702,861
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
def main(): p = 2*3*5*7*11*13*17*19 finished = False increment = 1 while not finished: finished = True for i in range(1, 20): if p%i != 0: finished = False if finished == True: print p increment += 1 p *= increme...
[ "noreply@github.com" ]
FionnMarf.noreply@github.com
4e50d964d1988184ce87c9853b5c8d6ac4fc84be
d4d8d848f6dede33173dc92c13f8ba19cabee8e0
/delphi/condition/test_auc_condition.py
456c1b18286cb43df06e089263e844902ac5a302
[]
no_license
a4anna/delphi-cvat
dba066dfd9cff6018e9031ce83c587f84212f5c8
019fd518af259e54259ae19f1621a3ea896a10d6
refs/heads/main
2023-03-23T06:55:54.915302
2021-02-03T15:48:36
2021-02-03T15:48:36
310,442,361
2
1
null
null
null
null
UTF-8
Python
false
false
678
py
from typing import Dict, Optional from delphi.condition.model_condition import ModelCondition from delphi.model_trainer import ModelTrainer from delphi.proto.delphi_pb2 import ModelStats class TestAucCondition(ModelCondition): def __init__(self, threshold: float, trainer: ModelTrainer): super().__init__...
[ "shilpag@cloudlet027.maas" ]
shilpag@cloudlet027.maas
6301edb7062fa45ed01d04ba326e978ab1a9c163
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/n1nj4sec_pupy/pupy-master/pupy/modules/screenshot.py
1a3055e23702c2b625f5306a537f0e3d8a04c751
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
3,976
py
# -*- coding: utf-8 -*- # -------------------------------------------------------------- # Copyright (c) 2015, Nicolas VERDIER (contact@n1nj4.eu) All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # #...
[ "659338505@qq.com" ]
659338505@qq.com
153038b998ce42a5b1773cd540aba540aa79ed90
4cae91877e1a47858e3f218d6b94ba34435d7351
/Chapter2/hello_world.py
28c1fb5e65eb200161cd8f0c834a8128dd373259
[]
no_license
czer0/python_work
a2e99a362ea0d992d09cf72c856d13141337e171
bec45f742ecee4a6d4d21bd52bb6a05c4fb82667
refs/heads/master
2021-01-20T14:36:13.495235
2017-06-07T15:29:38
2017-06-07T15:29:38
90,636,246
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
message = "Hello Python world!" print(message) message = "Hello Python Crash Course world!" print(message) message = "Hello Python CrasH Course reader!" print = (mesage)
[ "clint.mk@gmail.com" ]
clint.mk@gmail.com
3152ceb7f390a21f795d30bcba482e89cf743ba0
55951cd3e6a8dcd24247588a7f8918c29254f794
/book_manager/apps/accounts/models.py
5e989dea650393c226f6b59848e4a827fec3f3e9
[ "MIT" ]
permissive
uoshvis/book-manager
dd63da99223cb637d1921a8c083d3cab05b7c29d
cd9d2b17ce3e786e2fd5319be5c34c3503cc2930
refs/heads/main
2023-07-12T01:11:24.448066
2021-08-14T13:35:58
2021-08-14T13:35:58
392,918,443
0
0
null
null
null
null
UTF-8
Python
false
false
2,921
py
from django.contrib.auth.base_user import AbstractBaseUser from django.contrib.auth.models import PermissionsMixin, UserManager from django.contrib.auth.validators import ASCIIUsernameValidator from django.contrib.postgres.fields import CICharField, CIEmailField from django.core.mail import send_mail from django.db imp...
[ "uoshvis@gmail.com" ]
uoshvis@gmail.com
5791ebb116ef3d5e6f93c11b93c8d18411fc5370
58f7505f698e868798a9bb640a0e3dc72af76b53
/app.py
bb24f710e1665a8765e4cd209193e87f3f32ce30
[ "MIT" ]
permissive
sosudo/graphing-the-weather
f0916a8d60626af1af73f41dc22402e2232d0eef
c0fef44b28fdbcff0cdf4adc8377c2924a4a90b6
refs/heads/master
2022-04-08T18:10:11.688264
2020-02-10T00:41:42
2020-02-10T00:41:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
from requests import get import matplotlib.pyplot as plt from dateutil import parser url = 'https://apex.oracle.com/pls/apex/raspberrypi/weatherstation/getallmeasurements/2801460' weather = get(url).json() temperatures = [] for record in weather['items']: temperature = record['ambient_temp'] temperatures.append(tempe...
[ "noreply@github.com" ]
sosudo.noreply@github.com
9343a0cea27c110bb7b85dddee1c08f2ef5c37f8
3e46f70ace83a5e0d1fc4078d906a721988b9398
/Largest_Number.py
19deab55a27eec87148e3272d31af6ba189ade6b
[]
no_license
ZamanbekNuridinov/Algorithms
3a687a32f054b3def8b3c387852909d52e58e01b
907ed758790ebb36f1877623650cac7f15d16060
refs/heads/master
2022-12-19T10:55:08.779951
2020-09-17T15:30:59
2020-09-17T15:30:59
296,365,139
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
n=int(input()) a=[] for i in range(n): l=input() a.append(l) b=[] max=a[0] while len(a)>0: for i in range(len(a)): if a[i]>max: max=a[i] b.append(a[i]) a.remove(a[i]) print(f"Max element in this list is: {max}") print(f"Largest number of some digits is: {b}")
[ "nuridinov.zamanbek.911@gmail.com" ]
nuridinov.zamanbek.911@gmail.com
c9d9d4bf240b7da78e89c784bec95b7431fbc94b
1ffebb705e252d0f2f7ad9c573585dba9f65aa57
/app.py
3960d00169f7a10de7bfc95d47b068a39540b145
[]
no_license
Cyrill98/Flask_Blog
9b130db521055a23f382654a228de83d1cca7f42
f6c569618275f821e7aabe047f2c55abefce37d9
refs/heads/master
2023-09-01T22:31:25.265449
2021-09-21T08:40:41
2021-09-21T08:40:41
408,695,243
0
0
null
null
null
null
UTF-8
Python
false
false
2,605
py
import sqlite3 from flask import Flask, render_template, request, url_for, flash, redirect from werkzeug.exceptions import abort app = Flask(__name__) app.config['SECRET_KEY'] = 'mysecretkey' def get_db_connection(): conn = sqlite3.connect('database.db') conn.row_factory = sqlite3.Row return conn def get...
[ "cyrillanwar98@gmail.com" ]
cyrillanwar98@gmail.com
7defb7e409f5c5289b0e5425ea3683d8825b4f0d
96543443202bb30332f97007d8d0a027356b813d
/dictionary.py
c912341d03d5822a7bcb9fd0336354936a2c0a36
[]
no_license
JovanDel/August
4451a7bbb7d67f365eb26bce06d39c57d81a1ffd
0f65f21c23e8e7e597b5406074652b9117264630
refs/heads/master
2022-12-10T02:40:06.973909
2020-09-02T07:47:23
2020-09-02T07:47:23
292,213,881
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
gpas = { "Mark Lassof" :3.45, "Fred Smith" :2.99, "Mary Johnson" :2.55, "John Hadley" :1.95, "Louis Lane" :3.15, "Brett Smith" :4.0, } print ("The GPA is:", (gpas["Mark Lassof"])) print ("The GPA is:", (gpas["Fred Sm...
[ "noreply@github.com" ]
JovanDel.noreply@github.com
a0c2872edf9c53827783de141070af4c60b0b066
3b4c766ed91d0b7b5244df0b9cf2b66215e7f280
/sns/migrations/0001_initial.py
1a87e863bcb429c33ea2c613d3a94e793aa80c5b
[]
no_license
shake551/SNS_wannabe
d36c0e0907a7c53476e441cb096b103c15c2c787
562adafdf4157fc58d5b10a2a71bfe33baa0918d
refs/heads/main
2023-02-21T06:55:43.569986
2021-01-05T07:00:33
2021-01-05T07:00:33
324,520,697
1
0
null
null
null
null
UTF-8
Python
false
false
2,727
py
# Generated by Django 3.1.1 on 2021-01-01 05:33 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "hiroki.yamako@ezweb.ne.jp" ]
hiroki.yamako@ezweb.ne.jp
4b21a0a6b7c713016c63c6be1178fc15c4ec5993
76ec6b4fb847b46f6bec2872ed6b2ee24a426fd4
/CMPE-275-Project/bloomfilter.py
c52b66a3c0c5c9ce800c0183430b02696ffa27c6
[]
no_license
aasthakumar/Flask-RestAPI
8137e249c4ee6fea721ee56da29df107ae650efc
52ca1d6ff47f855ab9216fd6327b5eb0049f06cf
refs/heads/master
2020-03-07T20:02:53.578684
2018-04-02T01:54:08
2018-04-02T01:54:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,649
py
# Python 3 program to build Bloom Filter # Install mmh3 and bitarray 3rd party module first # pip install mmh3 # pip install bitarray import math import mmh3 from bitarray import bitarray class BloomFilter(object): ''' Class for Bloom filter, using murmur3 hash function ''' def __init__(self, item...
[ "aastha.kumar@sjsu.edu" ]
aastha.kumar@sjsu.edu
727d7ace2d7e5bb03b05240b8fb2e711a818186e
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/modules/cctbx_project/xfel/ui/components/xfel_gui_controls.py
3d08fe4ffe7f49a0c8341e17313896eb3ca5a7db
[ "BSD-3-Clause", "BSD-3-Clause-LBNL" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
Python
false
false
29,197
py
from __future__ import absolute_import, division, print_function import six ''' Author : Lyubimov, A.Y. Created : 06/03/2016 Last Changed: 06/03/2016 Description : XFEL UI Custom Widgets and Controls ''' import os import wx import wx.lib.agw.floatspin as fs from wxtbx import metallicbutton as mb # Platform-...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
3e4a8653ecc75f1f157f55c060ab43aaddc1ebc2
780a52dfb9d3465243e916861aae6a78ae54ae8c
/templates/mysql_config.py
8d0e7659cc21bdf319b05ab199f39ce600d8ae6c
[]
no_license
yx287618817/NewSchoolSystem
6eae2c61ac3323fb65d86a10d5b37f13417be905
740f99ce59f829b578cef622f9adc2e0b84abb0e
refs/heads/master
2022-12-15T19:56:21.485873
2019-09-05T09:53:34
2019-09-05T09:53:34
182,994,152
0
1
null
2022-12-08T05:04:56
2019-04-23T10:45:38
JavaScript
UTF-8
Python
false
false
230
py
# -*- coding: utf-8 -*- # @Time : 2019-05-22 08:57 # @Author : Paul # @Email : 287618817@qq.com # @File : sql.config.py # @Software: PyCharm LOCALHOST = 'localhost' USER = 'root' PASSWORD = 'yx123456' DATABASE = 'School'
[ "287618817@qq.com" ]
287618817@qq.com
337d27c4666d08ff02e5ac3fb7470dae4cbe5a9c
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/SSD/mmdet/models/roi_heads/point_rend_roi_head.py
3642628ea91a376a39ce5e5813e50509d0ea712a
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
10,905
py
# Copyright 2021 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 agree...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
0efbe9bfb390808b69847c11b125982b045933b4
d1ec629354ba7ee6f0187ce60b0cdab1cc680a7b
/retinanet/model.py
61ecaa2ec3db78be8f29087eb7282437ee76d015
[]
no_license
albatro-vm/apiepp
48fc255e30e12d5617c204b69ca87f79c7bcb16d
05a1b35aede8bac50cdbea40bc82e4a6890471e8
refs/heads/main
2023-08-12T19:12:30.675571
2021-10-15T00:44:55
2021-10-15T00:44:55
403,156,470
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:ab4175c56ab7ddbef2da78e9d2472af7685828fafb500fdd83bfb8717781a0a4 size 13050
[ "liamoreno14@gmail.com" ]
liamoreno14@gmail.com
8d62902da0b74f4b028f6b0033e8d4d333a9e97d
97d1d43e232ece771ffcba6bd3f634df39d9417f
/multiagent/multiAgents.py
7148717f20b970649b0795e616af4bbc5fc0af73
[]
no_license
Ain2211/pacman-Multi-Agent-Search
d681ebe0b20fb46df2a2c9dd768575c40e420e74
f69ebe4109bc93fb364505071ce0b33985d10ce2
refs/heads/main
2022-12-28T07:29:54.149047
2020-10-16T10:21:26
2020-10-16T10:21:26
304,528,285
0
0
null
null
null
null
UTF-8
Python
false
false
12,431
py
# multiAgents.py # -------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.e...
[ "tuanh221120@gmail.com" ]
tuanh221120@gmail.com
a8639e979db7d895673d5f6b9e4d845b351e3782
dac57de9c28700ebacc25331d5ff04dec129b74b
/MxOnline/users/adminx.py
59f3b2e3d6b9d7bc1ab58c529d848aaef9f1bd53
[]
no_license
zmm064/Django-
08144522ef9afcc3d85c11faa848554282fc6fcd
1f8836ebb4902a738efc6c626ab10aa91fdde720
refs/heads/master
2021-08-09T03:00:01.049464
2017-11-12T01:52:34
2017-11-12T01:52:34
110,396,352
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
import xadmin from xadmin import views from .models import EmailVerifyRecord, Banner class BaseSetting: enable_themes = True use_bootswatch = True class GlobalSettings: site_title = "慕学后台管理系统" site_footer = "慕学在线网" menu_style = "accordion" class EmailVerifyRecordAdmin: list_display = ['cod...
[ "zmm064@foxmail.com" ]
zmm064@foxmail.com
0b9fdfc19478cd3711fb29d2dcfef928d5c522aa
f67dec556fe0dddc0be1cf28c44964425ee38019
/venv/lib/python3.7/types.py
b685ab0b6897f18501ae1598f2ada4d95cbdb929
[]
no_license
AdamC66/July-18--Avoiding-Bugs-with-Linters
3b3a050227ee7865373adec6084a16fdc21334e7
1a5060efc23774941606b7c70a0ec56599f4ab39
refs/heads/master
2020-06-22T02:06:14.023492
2019-07-18T14:52:12
2019-07-18T14:52:12
197,469,940
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
/home/oem/.pyenv/versions/3.7.3/lib/python3.7/types.py
[ "adam.cote66@gmail.com" ]
adam.cote66@gmail.com
463d4a3035c7536df43458eb4be4d53450af98d3
5fee6afe91711fbb1ca87845f502776fbfab7851
/examples/pymanopt_autograd_demo.py
1761abe78a82061ff7149582fca5d90df8e0d786
[ "MIT" ]
permissive
chenxofhit/pyprobml
f66ad4c1186f0ba22e520e14700ac0bd6fee400d
fe48d6111bd121e01cfbdefe3361a993fa14abe1
refs/heads/master
2021-01-24T09:39:29.828935
2016-09-17T03:34:59
2016-09-17T03:34:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
#https://github.com/pymanopt/pymanopt/blob/master/pymanopt/core/problem.py import autograd.numpy as np from pymanopt import Problem def cost(theta): return np.square(theta) problem = Problem(manifold=None, cost=cost, verbosity=1) print problem.cost(5) print problem.egrad(5.0)
[ "murphyk@gmail.com" ]
murphyk@gmail.com
da15cd852366822a8d3987b0d3e6a408da6dceb7
61757ba1effd7b876a33db63aa5755d55753e2fe
/tool.py
9890bd352f95e93a7ed0e0743fa49e00bbba9002
[]
no_license
lotus0099/backup-blog
b06b3d8e6e4f36aae60370be3aa0821edcc0b5e7
05fe9dd57c20710b1a5073f88c67152ad8ef31ca
refs/heads/master
2021-08-22T15:48:09.780591
2017-11-30T15:11:28
2017-11-30T15:11:28
112,496,086
0
0
null
null
null
null
UTF-8
Python
false
false
6,020
py
#coding: utf-8 from PIL import Image import qiniu import os import sys import json from datetime import datetime from ImageProcess import Graphics # 定义压缩比,数值越大,压缩越小 SIZE_normal = 1.0 SIZE_small = 1.5 SIZE_more_small = 2.0 SIZE_more_small_small = 3.0 def make_directory(directory): """创建目录""" os.makedirs(direc...
[ "lvdeshi2011@gmail.com" ]
lvdeshi2011@gmail.com
c205d9ebfe6ca44bdca6e70d2161a94a246b4998
be1fe5c3eeea0f83aa24d3e6c5fa1739fe3974e4
/src/dtgui/tables.py
d0678c8524cecda9061387de039296e81ba9ae18
[]
no_license
rofl0r/dro-trimmer
03da573ae25c749ac8cba7668b72bbaddde5bbad
6fcf6f960b17a4da84ae4a86a589a5c935bb4993
refs/heads/master
2023-02-21T07:57:54.323313
2017-11-04T00:52:03
2017-11-04T00:52:03
332,579,433
2
0
null
null
null
null
UTF-8
Python
false
false
6,013
py
#!/usr/bin/python # # Use, distribution, and modification of the DRO Trimmer binaries, source code, # or documentation, is subject to the terms of the MIT license, as below. # # Copyright (c) 2008 - 2014 Laurence Dougal Myers # # Permission is hereby granted, free of charge, to any person obtaining a...
[ "laurencedougalmyers@gmail.com" ]
laurencedougalmyers@gmail.com
c89dd05b450410234b2a9964c70453cd420d4db4
c6dd05439afbf7763bf6d01cd924d564ca0e5348
/wrappers/python3/LongMult/AddTogether.py
ceb438595087cc6bf322fc880013742c8b50a086
[]
no_license
jherrero/ensembl-hive
c232ee0236153ace61091da185c75a035c4eb034
31869d945230f89f1d7656041491662f157e99a5
refs/heads/master
2020-12-06T19:13:54.510300
2015-09-18T10:45:10
2015-09-18T10:45:10
15,343,860
1
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
import eHive import time class AddTogether(eHive.BaseRunnable): """Runnable that adds up all the partial-multiplications from PartMultiply""" def param_defaults(self): return { 'take_time' : 0, 'partial_product' : {} } def fetch_input(self): a_multiplier...
[ "muffato@ebi.ac.uk" ]
muffato@ebi.ac.uk
eaca63e5e424fa56715f10e05ddfbe09b2ff2f4c
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/RunKeeper/Weight/UpdateEntry.py
e7d943997a26bf0fc309b517c6fea8f1ba7349e6
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,005
py
# -*- coding: utf-8 -*- ############################################################################### # # UpdateEntry # Updates a weight entry in a user’s feed. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreography ...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
504fbc42f87d185e7faba42c6ee71c860bcd255f
e5d3968f5cc89e4c66796f9a0ba0621397213a5b
/problem_set_1/exercise1_1.py
36866a2a955c99241bdb89cf2a8c7b84b655cc7a
[]
no_license
thainv0212/spinningup-exercises
ad34dd1cab8c6ff13fa70f54a7ea1f3ec1d04f72
b17d2af3131bc40b8edc9649df703fe636e31a81
refs/heads/master
2022-03-16T08:14:38.129181
2022-02-20T06:56:44
2022-02-20T06:56:44
209,860,564
0
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
import tensorflow as tf import numpy as np """ Exercise 1.1: Diagonal Gaussian Likelihood Write a function which takes in Tensorflow symbols for the means and log stds of a batch of diagonal Gaussian distributions, along with a Tensorflow placeholder for (previously-generated) samples from those distributions, an...
[ "nguyenvanthai0212@gmail.com" ]
nguyenvanthai0212@gmail.com
245e371f161140331b66bbcb3db32a5c16c35c99
252bf6d3b1a59e7842acd3bf3101fe03ba05752a
/dao.py
54e7b8b0e14c5820337527bcb47673b2d8792c5b
[]
no_license
longsion/bigcwxspider
df596d078483508cb4810dc063f5f7562960e55d
8621e99a9d98bdc8fff58812efa3b8c344daf065
refs/heads/master
2020-04-11T20:19:04.030363
2017-11-27T03:41:36
2017-11-27T03:41:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,572
py
#! /usr/bin/env python # coding:utf-8 # author:jzh # 时间:2015-10-14 10:17 import utils, traceback def get_schedule_pubnum_id(db): return db.query("select pubnum_id from wechat_pubnum where last_article_time < %(article_time)s", article_time=utils.get_middle_night()) def set_pubnum_status(db...
[ "chiwah.keen@gmail.com" ]
chiwah.keen@gmail.com
6af51bf8cb1672b3a526dc92325dd61f00709985
63cbfedc2e6141ae12fc113a81e147e9b5769670
/Chapt 13/sample2.py
842aeb8880e4bceca85a07e275a5080323161ffd
[]
no_license
DamoM73/Learn-to-program-in-Python
82d5fdfbb456186d63aa8ae244e87bf96955ff86
44b6b9ffa81735739180dc2055e2e803f4526c79
refs/heads/master
2020-04-23T06:51:58.591548
2019-04-27T09:16:14
2019-04-27T09:16:14
170,988,387
0
0
null
null
null
null
UTF-8
Python
false
false
2,427
py
# Program name: Ch 13 Sample app 2 validate password aaaaa.py # Program askss use to login, then checks password # in this program password is "aaaaaa" from tkinter import * from tkinter import messagebox def submit(): password = entry_password.get() username = entry_username.get() messageAlert = Label(ro...
[ "damomurtagh@gmail.com" ]
damomurtagh@gmail.com
35547c7260ff7326d7ad645bdebb3212f6456a1c
950785ac7c72a6ac634f355f2e3cb2559c581335
/lesson1_list.py
86becb1fa25c46ecc182ad09068c7e666908a4c3
[]
no_license
olyapasy/classwork
af223995733675008edcbeb0c58c67e7e2eac19c
56a2f76aba07d57fe9d62d7d35e7747cb12e26ce
refs/heads/master
2021-05-06T20:42:51.696771
2017-12-20T17:01:16
2017-12-20T17:01:16
110,445,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
import random # lst = [10, 20, 30, 40, 50, 60, 70, 80, 90] # for i in range(len(lst)): # print(i, lst[i]) # # # for i, elem in enumerate(lst): # print(i, elem) # lst[i]*= 2 # print(i, elem) # # # for elem in lst: # elem *= 2 # print(elem) # # # for i in range(len(lst)): # lst[i] *= 2 # ...
[ "olgapasibayeva98@gmail.com" ]
olgapasibayeva98@gmail.com
537bfc2830a5733b015fc4dc3a52b74404fa4c96
5206b472075924831f70e2b0674915eeda123ec4
/forloop.py
853443390c08228c9cd00716864fbffc3824a24f
[]
no_license
vrushabhd/GitLearningRepo
15bfb889af54186a00b49f492d52b847d6497d2b
ce990cab5ed3ce92e8c12e560f8f97268d11ac4a
refs/heads/master
2020-12-30T08:39:01.352507
2020-02-07T16:07:37
2020-02-07T16:07:37
238,933,286
0
0
null
2020-02-07T15:23:40
2020-02-07T13:43:52
Python
UTF-8
Python
false
false
105
py
for i in range(10): print("Yahoo") print("done with for loops") print("wait what about while loops")
[ "vrushabhdhond1907@gmail.com" ]
vrushabhdhond1907@gmail.com
61809667b75b77ed0658b2764d8a6580eff27210
ba3231b25c60b73ca504cd788efa40d92cf9c037
/nitro-python-13.0.36/nssrc/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_cachepolicy_binding.py
69f8f99dd0ca1e599fbfdbfaa6887a306492e901
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhuweigh/vpx13
f6d559ae85341e56472e3592cbc67062dac34b93
b36caa3729d3ca5515fa725f2d91aeaabdb2daa9
refs/heads/master
2020-07-04T22:15:16.595728
2019-09-20T00:19:56
2019-09-20T00:19:56
202,435,307
0
0
null
null
null
null
UTF-8
Python
false
false
10,840
py
# # Copyright (c) 2008-2019 Citrix Systems, Inc. # # 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 l...
[ "zhuwei@xsky.com" ]
zhuwei@xsky.com
b74ebc898da76e03be426ceeac6797a359cd3fe7
fb5148945d6211ceaa4e633b45c304793af3a893
/content/urls.py
02a01a10888cbce74bbeca5d52f6626e1bb53eea
[]
no_license
HanabiDev/ElDiario
722546491839b155b988527d6b36e99387775036
4d2cfb6a6c52b6cda1a1a75d45febc55093dbba3
refs/heads/master
2021-01-22T07:03:08.202867
2015-05-07T21:14:23
2015-05-07T21:14:23
20,891,136
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
from django.conf.urls import patterns, url, include urlpatterns = patterns('', url(r'^/$', 'content.views.home', name='home'), url(r'^/categorias/$', 'content.views.list_categories', name='categories'), url(r'^/categorias/nueva/', 'content.views.add_category', name='new_category'), url(r'^/categorias/ed...
[ "dianariscanevo@MacBook-Pro-de-Diana-Riscanevo.local" ]
dianariscanevo@MacBook-Pro-de-Diana-Riscanevo.local
cb9e95714806a3d517d16ea18f12a2ab5abd1bec
2b4d9e395aa9d87ae5c67dc0cbb059e4661a8315
/web_calculator/settings.py
c46bc585293a7fa45125c9edfa632e524b0cfafc
[]
no_license
ElenaVolchkova/web_calculator
c3d5d47b77ab433d46a516686230e85297077101
cd4e6baeb85c82d4734adf66e67059661531803d
refs/heads/master
2020-12-14T12:43:03.638130
2020-01-18T10:23:17
2020-01-18T10:23:17
234,748,391
0
0
null
2020-01-18T14:39:08
2020-01-18T14:39:07
null
UTF-8
Python
false
false
3,179
py
""" Django settings for web_calculator project. Generated by 'django-admin startproject' using Django 3.0.2. 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/ """ impor...
[ "vladislav-shepilov@digitalunicorn.com" ]
vladislav-shepilov@digitalunicorn.com
0283af68947c62fb9881df0ba44b2a01e4807361
1f980a8693e87a0a64f1ba861e641ff48778baa3
/utils.py
af1e60a177cbca7faa44632679edfc176d509559
[]
no_license
ijt/swyzl
3c0ee8a008a8c7b0665407dd5a6e1aa4e37ee320
0de408bebb0f1cb37ebbbb95da2b011abc623b98
refs/heads/master
2021-01-20T05:08:32.577935
2012-07-18T08:29:06
2012-07-18T08:29:06
73,775
1
0
null
null
null
null
UTF-8
Python
false
false
5,120
py
"""Functions that do not depend on App Engine""" import random def MakeRandomLetterMap(): """ Make a one-to-one map from every capital letter to every other. @return: a mapping with a random permutation of letters @rtype: dict """ alphabet = [chr(c) for c in range(ord('A'), ord('Z') + 1)] ...
[ "issac.trotts@gmail.com" ]
issac.trotts@gmail.com
a05c06d05e818c0aac7388e1a05bbfd442decc2c
65581440417d9c3833f26c5cb673dd2e25e88c93
/src/pasteFunBot/templates/buildbotLocal/funkload/credentialFL/test_Cmf.py
5e3a31cf35ad3fe04ef2cbb200fcd02143289110
[]
no_license
Piers73600/pasteFunBot
a2c80b36c31ef11d1149da4db7c6a814e97a5884
4a374b64bd7c4168dc8c8b0b8834530577c7bd7c
refs/heads/master
2021-01-11T03:06:04.543633
2009-07-27T08:58:07
2009-07-27T08:58:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,221
py
import unittest from random import random from funkload.FunkLoadTestCase import FunkLoadTestCase from funkload.utils import xmlrpc_get_credential, xmlrpc_list_credentials from funkload.Lipsum import Lipsum class CmfTestCase(FunkLoadTestCase): def cmfLogin(self, login, pwd): params = [["login", login], ["pass...
[ "stpda@stpda-laptop.(none)" ]
stpda@stpda-laptop.(none)
54a0286ff3e65c09df7ef4eff15345fef71120c9
2c4dbf80b7493beccdd6e8e3f3dbcfe05c235ae5
/Lecture.8.Testing-CI-CD/airline/flights/migrations/0003_auto_20180329_1500.py
188b3fb726b1df9d543d3ec08643890bda3fb938
[]
no_license
mbegumgit/cs50
9cbe88dbc5d9d1751cb9c020ba1a6337dcfab8b5
d7d641ef039794c18be3228596bbfbe6e58662d8
refs/heads/master
2021-07-12T11:12:14.864921
2021-02-26T05:02:12
2021-02-26T05:02:12
237,889,463
0
0
null
2020-02-03T05:08:26
2020-02-03T05:08:25
null
UTF-8
Python
false
false
839
py
# Generated by Django 2.0.3 on 2018-03-29 15:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('flights', '0002_auto_20180329_1219'), ] operations = [ migrations.CreateModel( name='Passanger', fields=[ ...
[ "taqi.official@gmail.com" ]
taqi.official@gmail.com
861746feb7cdb398feda0237dcb2510589b3fa6d
c686e8f8fa580b03f37db9134ea6c1496efbe9d1
/cmdb/models.py
2f1a60b624da66d72d1fec4fcae8c001b04140a2
[ "BSD-2-Clause" ]
permissive
reven-tang/ITMP
e5b8b696e13b20a5d569c3960e635dcebd1afbdd
8d6686edb19fcc26c9cf1f7e14037f9d38a6e702
refs/heads/master
2022-12-13T10:31:38.032360
2018-12-29T07:40:32
2018-12-29T07:40:32
163,487,313
0
0
BSD-2-Clause
2022-12-08T03:00:35
2018-12-29T07:20:29
JavaScript
UTF-8
Python
false
false
7,065
py
from django.db import models # Create your models here. class DeviceInfo(models.Model): dev_status = ( ('Online', '在线'), ('Offline', '下线'), ('Unknown', '未知'), ('Fault', '故障'), ('Backup', '备用'), ) dev_type = ( ('VM', '虚拟机'), ('PM', '物理机'), ...
[ "wujh8701@163.com" ]
wujh8701@163.com
d3f5cc473e7adb26e330593982da67161e41dc53
ed5043e4fafb3655e26bc372e7f45fe1a55a1ad9
/参数解析.py
546c140d56b5be88e0bb7b3b6ae08a3d2dc45adb
[]
no_license
zhangyongming13/test
e4ecdbdef43303d064f6cad171853d0bf7599c0c
2ffc8f0d7b05122282198405931c3108806504ce
refs/heads/master
2021-03-06T11:32:44.433731
2020-04-01T13:02:38
2020-04-01T13:02:38
246,195,808
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
# https://www.nowcoder.com/practice/668603dc307e4ef4bb07bcd0615ea677?tpId=37&tqId=21297&tPage=4&rp=&ru=/ta/huawei&qru=/ta/huawei/question-ranking while True: try: input_string = str(input()) result = [] # flag用来记录遇到“和” flag = 0 start = 0 for index, value in enumerate(...
[ "790454963@qq.com" ]
790454963@qq.com
a37917ec2176aa13584edf7f2258ef73127c0c3b
a4e27d18c8a92a747c7350042190ff74117d61c3
/router/osrm_router.py
8f0ef0d134726cbbe402aa160cfd50055950aa98
[]
no_license
zreactor/osrm
ebca63922f0101e786f62015ad8c7800f5119cff
511e02cfa0d19313ecd4993bb5a0477bfa236dc7
refs/heads/master
2020-03-21T18:51:23.895171
2018-06-27T18:30:19
2018-06-27T18:30:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,707
py
import urllib2 import json from route import RouteObject class RouteRequester(object): '''Does stuff''' def __init__(self, endpoints): self.endpoints = endpoints self.from_latlon = endpoints[0] self.to_latlon = endpoints[1] self.route = None self._generateRoute() d...
[ "tachibana.yki@gmail.com" ]
tachibana.yki@gmail.com
79ab0431676802091010294afa5ac2e1dc2ed0bd
06f544e970fe833c98929a15170a3a4b85750440
/examples/python/6d_pose_annotation/coco_writer.py
868c3b8a73bdf1354469d4d5e490424209201ab0
[ "MIT" ]
permissive
mikkeljakobsen/Open3D
330ffb81bac95b098cfdc750de87cb2b692d203e
1b085653eaa3cc4145c911b8170d6d9f9f8a6d87
refs/heads/master
2023-05-23T08:59:36.961549
2021-06-03T11:19:16
2021-06-03T11:19:16
308,018,342
0
0
NOASSERTION
2021-01-07T14:44:47
2020-10-28T13:04:23
C++
UTF-8
Python
false
false
7,926
py
# 6DoF pose annotator # Shuichi Akizuki, Chukyo Univ. # Email: s-akizuki@sist.chukyo-u.ac.jp # import open3d as o3 import json import numpy as np import os from realsense import RealsenseDataset from pathlib import Path import pycocotools.mask as maskUtils from PIL import Image def project(xyz, K, RT): # xyz: [N...
[ "mikkeljakobsen@hotmail.com" ]
mikkeljakobsen@hotmail.com
c1125a3c9282509b5516cdeb792bc198e9d43345
56907a3844ad8a237b4210f433ceda08f59d82ea
/Couprie_et_al_2013/szakdoga5_lookup.py
46750913131a92bcff125dd43955f7165482bd9e
[]
no_license
ilitygergo/thesis
aee73e7b387148ea96d3462a3df2bd031ead662c
e72d337bbb37df2461e43143de7e4120b40b2a71
refs/heads/master
2023-07-09T03:45:36.931594
2020-12-13T12:26:57
2020-12-13T12:26:57
162,641,024
0
0
null
null
null
null
UTF-8
Python
false
false
3,125
py
import cv2 import time import bcolors from Common.functions import imreadgray from Common.functions import flip from Common.functions import equalmatrix from Common.functions import makeequalmatrix from Common.functions import borderpoint8 from Common.functions import binmatrix from Common.functions import lowneighbour...
[ "h659367@stud.u-szeged.hu" ]
h659367@stud.u-szeged.hu
d02c4a0793ee279dabe9c0b95d2105dcd9706e63
7b3743f052da9a74808b7d2145418ce5c3e1a477
/v2/api.thewatcher.io/api/models/saviors.py
89626aa29873222a92953c0510d71808dfbb67f1
[ "MIT" ]
permissive
quebecsti/kdm-manager
5547cbf8928d485c6449650dc77805877a67ee37
a5fcda27d04135429e43a21ac655e6f6acc7768e
refs/heads/master
2020-11-26T19:22:53.197651
2019-10-22T20:53:40
2019-10-22T20:53:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
#!/usr/bin/python2.7 from api.assets import saviors from api import Models import utils class Assets(Models.AssetCollection): def __init__(self, *args, **kwargs): self.root_module = saviors Models.AssetCollection.__init__(self, *args, **kwargs) def get_asset_by_color(self, color=None): ...
[ "toconnell@tyrannybelle.com" ]
toconnell@tyrannybelle.com
14940a0b39f1f7c4e8107e47cdc734cdf845df28
28bf7793cde66074ac6cbe2c76df92bd4803dab9
/answers/MridulMohanta/Day29/question1.py
bd0a470a4989c366aa27de5d8ad3952e877f35eb
[ "MIT" ]
permissive
Codechef-SRM-NCR-Chapter/30-DaysOfCode-March-2021
2dee33e057ba22092795a6ecc6686a9d31607c9d
66c7d85025481074c93cfda7853b145c88a30da4
refs/heads/main
2023-05-29T10:33:31.795738
2021-06-10T14:57:30
2021-06-10T14:57:30
348,153,476
22
135
MIT
2021-06-10T14:57:31
2021-03-15T23:37:26
Java
UTF-8
Python
false
false
534
py
a=[] b=[] x=int(input("Enter length of the two variables")) n=int(input("Enter test number")) y=0 for i in range(0,x): p=int(input("Enter element in a:")) a.append(p) q=int(input("Enter element in b:")) b.append(q) for i in range(x-1,-1,-1): for j in range(i,-1,-1): if ((a[i]+b[j])<=n): ...
[ "noreply@github.com" ]
Codechef-SRM-NCR-Chapter.noreply@github.com
51b1e28cd322243c65d4e3e017c30b7b475c2a90
341bd4e4cf07f37e44fd8f2124d15c02b3f50884
/visualization.py
91ee7151c496fb065a83924228742fc1e3602587
[]
no_license
Shikhar2205/Object-Recognition
95afb21f9dcf94705a94db2180c8d4c18b453fac
19060e8f972c7bd15d9626d38ae49f7500928f10
refs/heads/main
2023-05-01T14:38:14.041498
2021-05-17T20:15:29
2021-05-17T20:15:29
356,995,494
0
1
null
null
null
null
UTF-8
Python
false
false
2,834
py
# -*- coding: utf-8 -*- """ Created on Thu May 13 05:55:30 2021 @author: Shikhar Bajpai """ import cv2 as cv import matplotlib.pyplot as plt import pandas as pd import numpy as np import glob import torch import os from PIL import Image, ImageDraw os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE" def visualization(image_p...
[ "shikharstruck@gmail.com" ]
shikharstruck@gmail.com
57b74ea185e7550cf4cb4f8e83d488ac68fa2da2
0370bb3899e0f5ca5d151940f98a28c57945cac8
/blueprints/user.py
763c09a21ce1dcd337a256a366f748f6d47c0a48
[]
no_license
mabattistini/beerfactory-api
8ab302d1109aef6862df68232ca7690b46339920
b3eeb2ebb183209405aa574070f4ea9a4656037a
refs/heads/master
2020-12-02T06:36:20.231087
2017-07-11T07:12:01
2017-07-11T07:12:01
96,862,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,262
py
# -*- coding: utf-8 -*- from flask import Blueprint, jsonify, request, json from flask_jwt import jwt_required from app.models.user import User, getUserRecord from lib.tools import sha224 usr_blueprint = Blueprint('user', __name__) @usr_blueprint.route('/', methods=['GET']) @jwt_required() def index(): listaRe...
[ "mabattistini@gmail.com" ]
mabattistini@gmail.com
1b5c39bc881e8cafd04e3f2cbd784c8cb2dbfcd0
43880d1273cb1104dec7ac982ff8e931a288cb8b
/decoder.py
710751cb85a4c431f605bc3b7fc0d0d9e92c9185
[]
no_license
moshen2888/AI-CW2
9870aa58bca3086694747f43f1f58b028222fbb2
4cf2268829c7ab8feb9cf293e6ff1c8eee795eb2
refs/heads/main
2023-04-24T19:33:20.980840
2021-05-21T11:39:16
2021-05-21T11:39:16
369,513,284
0
0
null
null
null
null
UTF-8
Python
false
false
6,794
py
""" COMP5623M Coursework on Image Caption Generation python decoder.py """ import torch import numpy as np import torch.nn as nn from torchvision import transforms from torch.nn.utils.rnn import pack_padded_sequence from PIL import Image import matplotlib.pyplot as pyplot import random from datasets import Fl...
[ "noreply@github.com" ]
moshen2888.noreply@github.com
f1ef048dff6b754ce5053155e42e2165854b2913
5d7a6113c19a6923039569f7cb07c8d525866188
/lecture4/pages/login_page.py
2d3381ffe8cd7031bed75329050a2aba3aeceb88
[]
no_license
kashifch/selenium_training
34a77fdf2ae16e5098d86d2882eb0b246ddaa7c8
3e8465a6be5b16953de2bd2bce4fe4ba60d4b69f
refs/heads/master
2020-09-29T19:57:38.254442
2020-01-27T12:17:27
2020-01-27T12:17:27
227,110,086
1
1
null
2020-01-27T12:17:28
2019-12-10T12:02:08
Python
UTF-8
Python
false
false
879
py
from .base_page import BasePage from .dashboard_page import DashboardPage class LoginPage(BasePage): def is_browser_on_page(self): return self.find_elem('button[type="submit"]').is_displayed() def fill_form(self, user_email, user_password): email_elem = self.find_elem('#login-email') ...
[ "kashif.chaudhry@arbisoft.com" ]
kashif.chaudhry@arbisoft.com
c72a6cfe94c62774e52e776dc27fd7cad37b4e39
76dde16457b3b41e12fef86e6c8a492ab7eeef7e
/03_pozoleria_map.py
f76261cb3fe9bfe8cc342f56accda0a1e8cf1758
[]
no_license
Jmarquez30/bedu_data_03_281120
332200d554c51aed74ff5129ab16620e6c85c915
8f0b43ab5c2e7f75fb364782213824d7c8cee8a2
refs/heads/main
2023-01-24T17:07:42.718496
2020-11-28T20:14:33
2020-11-28T20:14:33
316,763,657
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
#como usar la funcion map de python IVA = 0.16 def aplicar_iva(precio): resultado = precio * (1 * IVA) return round(resulado, 2) precios_sin_iva = [415, 90, 355, 385, 115, 100, 250, 600] print(precios_sin_iva) #usar map para palicar una funcion a cada elemento de mi lista precios_con_iva = list(map(ap...
[ "jmarquez.30@hotmail.com" ]
jmarquez.30@hotmail.com
fad9116ad52a04d52f07e3dce17358804e1f7288
3da14b320b1b362bfe7b76244d2dc2e42a68e615
/src/pyhf/optimize/opt_numpy.py
3741e20ac670d7f1006e37b0cf2ca1f44ee5d59e
[ "Apache-2.0" ]
permissive
vladov3000/pyhf
d54232fd77b399bae8fb7a4537d94a515e5aacc0
e55eea408d7c28e3109338de96252119ac63f87a
refs/heads/master
2022-11-24T16:12:41.264392
2020-07-23T22:42:54
2020-07-23T22:42:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
"""Numpy Backend Function Shim.""" from .. import get_backend from .. import exceptions def wrap_objective(objective, data, pdf, stitch_pars, do_grad=False, jit_pieces=None): """ Wrap the objective function for the minimization. Args: objective (`func`): objective function data (`list`):...
[ "noreply@github.com" ]
vladov3000.noreply@github.com
f46544f55783262cd511a1757d6230411238224d
d7f0369feac59997d465b3f55788ee04ad61d6b4
/libs/flask_volcano/factory.py
82808f5295150aa4013de479abb3fc1bcb433935
[]
no_license
volcanicpixels/volcanicpixels
ba0c3e67b88d9485b31d5400acd9149a9e892fd5
2913baab89d2206f2c988f47b578403d0163c8e8
refs/heads/master
2021-01-22T02:28:34.383613
2015-04-27T10:47:11
2015-04-27T10:47:11
8,817,758
1
0
null
2014-02-27T22:21:55
2013-03-16T11:33:01
Python
UTF-8
Python
false
false
1,305
py
# -*- coding: utf-8 -*- """ flask_volcano.factory ~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2013 by Daniel Chatfield """ from flask import Flask, Blueprint from flask.ext.modular_template_loader import register_loader from .helpers import register_blueprints, url_build_handler, is_dev_server def create_app...
[ "chatfielddaniel@gmail.com" ]
chatfielddaniel@gmail.com
ef13df11512ea719086cfbfdf39a8b87e1caf542
9cd2a076f5044f29ba336d3a8c9721133f90b8d4
/lingvodoc/views/v3/views.py
140de8ccec5a14f09abf287c9a01a148b3430208
[ "BSD-3-Clause", "BSD-3-Clause-Modification", "LGPL-3.0-or-later", "LicenseRef-scancode-openssl-exception-lgpl3.0plus", "Zlib", "ZPL-2.1", "LGPL-2.1-only", "Apache-2.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-other-permissive", ...
permissive
ispras/lingvodoc
19e889a92bfd5428fe8f2a409e21b44bd8a25d06
4e129f73e99a1dea93d900c4abf476409bc56957
refs/heads/heavy_refactor
2023-08-17T10:48:17.617483
2023-08-10T13:06:56
2023-08-10T13:06:56
22,783,020
7
22
Apache-2.0
2023-09-06T14:13:29
2014-08-09T09:19:56
JavaScript
UTF-8
Python
false
false
3,990
py
# from lingvodoc.views.v2.utils import ( # get_user_by_client_id, # view_field_from_object, # check_client_id # ) # from sqlalchemy.exc import IntegrityError # # from pyramid.response import Response # from pyramid.view import view_config # from lingvodoc.models import ( # DBSession, # Locale, # ...
[ "a.tapekhin@gmail.com" ]
a.tapekhin@gmail.com
4b19ca2268f7d449f84c5f54f7f7e339e68f9e97
cf1f1d3f7a4aaaaaee322b0101f7b294909c5a67
/Code/Kevin/django/ShortenerProj/ShortenerApp/views.py
169c98adf09a7d1dcc2612f010b37055d1f06769
[]
no_license
PdxCodeGuild/class_emu
0b52cc205d01af11860a975fc55e36c065d1cc68
9938f384d67a4f57e25f2714efa6b63e2e41b892
refs/heads/master
2020-05-31T01:16:52.911660
2019-12-09T05:22:06
2019-12-09T05:22:06
190,046,342
4
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
from django.shortcuts import render, get_object_or_404, redirect from django.http import HttpResponse, HttpResponseRedirect from django.urls import reverse from .models import ShortURL import random # Create your views here. def index(request): shorturls = ShortURL.objects.all() context = { 'shorturl...
[ "wrenJTD@gmail.com" ]
wrenJTD@gmail.com
b1e5d11c3810f209a4d9efd41bfcd65fb38800dc
8b20e8f36a1d9758aa927b1674f9877d8a21a6c9
/hello.py
d534f1d0f2c3794f9d1d4a8953b5775ad17acf7a
[]
no_license
EmperorNiu/ChineseSpeechEvaluationBe
ec5028ada5152c81bc0a6270f6e5110aada4f5d7
7d9afd49550b57c9e7d57fe9ac8fc317dca4f248
refs/heads/main
2023-03-10T20:01:37.185220
2021-02-20T19:17:02
2021-02-20T19:17:02
337,700,705
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
import sys a = sys.argv[1] b = sys.argv[2] print("hello world",a,b)
[ "niuyuean99@sina.com" ]
niuyuean99@sina.com
b2623d79325303f544e7d0d69417d268e841b738
0578fa0de4197184cc603099e44ec2574f2f2543
/HackerrankBubbleSort.py
1b529291dac3261f64dd0ab635c8ea739713b0db
[]
no_license
AlMamun-CSE/Python-Problem-Solving
15c36dac7f55ce680b0f09512e1595802dbd037a
b71d4efe6b784a7f5a94994d9ba60f089f896d39
refs/heads/master
2023-01-24T08:30:44.846767
2020-12-07T14:28:47
2020-12-07T14:28:47
318,968,857
3
0
null
null
null
null
UTF-8
Python
false
false
537
py
#!/bin/python3 import sys n = int(input().strip()) a = list(map(int, input().strip().split(' '))) # Write Your Code Here numSwaps = 0 for i in range(n): numberOfSwaps = 0 for j in range(n-1): if a[j] > a[j+1]: temp = a[j] a[j] = a[j+1] a[j+1] = temp num...
[ "almamuncse2020@gmail.com" ]
almamuncse2020@gmail.com
bd4aad249f16920134c68e9fbf78296000b44bc2
c50eb81b57f3dac7c0273d1781e4ce5ba9c41584
/petBookApi/petBookApi/models/pet_allergy_model.py
c67664989193caba336206fb16738bcd41a10203
[]
no_license
rsbabcock/pet-book
474b7c6ffb27a2765cbda359b796e089ccc78f45
ccd548f119fcad93ee85415dddcd3b6c9f1d94d9
refs/heads/master
2020-03-27T08:57:34.884012
2018-10-13T19:06:47
2018-10-13T19:06:47
146,301,896
0
1
null
null
null
null
UTF-8
Python
false
false
496
py
from django.db import models class PetAllergy(models.Model): """Pet Allergy This class represents the Pet Allergies join table resource in the database. Each Model in the join table needs to have a reference as a foreign key This model is needed to have a join table, but you do not need to refere...
[ "rachael.s.babcock@gmail.com" ]
rachael.s.babcock@gmail.com
97c0f32ede8294cdc6a2e47a1577f8df99873183
e0219e252eee7e61dffe23584f70f8e8cb879a8f
/hsserver/sqlalchemy-workspace/bin/easy_install
ab91837fbde6e38e3e2806b9747dfc0a8493ff4e
[]
no_license
ColbySaxton/sizzle
8bda4a4a7036522719603c4ecc041f61c4096300
c3582698295a225386249bfc7a078ff89a46e511
refs/heads/master
2020-04-23T11:01:35.510303
2019-02-17T12:39:50
2019-02-17T12:39:50
171,121,993
0
0
null
null
null
null
UTF-8
Python
false
false
292
#!/Users/colbysaxton/Desktop/hotMaps/hsserver/sqlalchemy-workspace/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "cas264@case.edu" ]
cas264@case.edu
fdfaf5133245d102f34dbb38f190dc97481a6095
bdc0b8809d52933c10f8eb77442bd0b4453f28f9
/build/std_msgs/rosidl_generator_py/std_msgs/msg/_header.py
9b81821f0602af102a642cfc19c4bb22e9f5e525
[]
no_license
ClaytonCalabrese/BuiltRos2Eloquent
967f688bbca746097016dbd34563716bd98379e3
76bca564bfd73ef73485e5c7c48274889032e408
refs/heads/master
2021-03-27T22:42:12.976367
2020-03-17T14:24:07
2020-03-17T14:24:07
247,810,969
1
0
null
null
null
null
UTF-8
Python
false
false
5,074
py
# generated from rosidl_generator_py/resource/_idl.py.em # with input from std_msgs:msg/Header.idl # generated code does not contain a copyright notice # Import statements for member types import rosidl_parser.definition # noqa: E402, I100 class Metaclass_Header(type): """Metaclass of message 'Header'.""" ...
[ "calabreseclayton@gmail.com" ]
calabreseclayton@gmail.com
0efa85ab2f38d40aa8bc541800359c5db6ec6353
f87d67c70cf13512320d50671e9bf31c5653f795
/temple_project/use_app/admin.py
a7eb79d8f945c596322e8509e4e63bf1442b0b6f
[]
no_license
wtyhome/testing
bf6e5b45e8efc0696c0bf877868ee1adf54c8c79
663b7d4714aedff0d516bc5eb3d29c2f72a98c90
refs/heads/master
2020-12-22T18:34:36.328037
2020-01-29T02:53:11
2020-01-29T02:53:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
from django.contrib import admin from .models import Home, People_data, activity_data,history_data # Register your models here. admin.site.site_header = '後臺管理系統' admin.site.site_title = '後臺管理' admin.site.index_title = '鄉廟資料庫 管理' class set_history(admin.ModelAdmin): list_display = [field.name for field in histo...
[ "asd19199009@gmail.com" ]
asd19199009@gmail.com
8baad6fdfbd6f0d94ef8ee0e79d18a18ebbde60c
6230afce84d14ab22f52fcc3fe6879bb8ee6f324
/0x0A-python-inheritance/100-my_int.py
75c0c7f3f2837d5e7cc0de2832cbf5a57ef77dcd
[]
no_license
Rielch/holbertonschool-higher_level_programming
a7b4c893953f269fff6ebec0d858dab930c0b1f3
cb7505dc860891ef33a2bd5408defcedf01d7bf3
refs/heads/main
2023-07-10T12:56:37.666165
2021-08-20T20:05:54
2021-08-20T20:05:54
319,380,808
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
#!/usr/bin/python3 """Creates a class MyInt that inherites from int that inverts == and !=""" class MyInt(int): """Class that inherites from int but inverts == and !=""" def __init__(self, value): """Initializates a MyInt class""" self.value = value def __new__(cls, value): """Cre...
[ "2288@holbertonschool.com" ]
2288@holbertonschool.com
5c4e8a88206eeec9f0f6a8c430c17346c8d7179c
8366f74f63b5fabf6d9eb400dfebeac051d283e5
/vir/lib/python2.7/site-packages/scss/tool.py
205bb8170a167d92a4ffbbf669bc95f28cc417a2
[]
no_license
matthewst/flask-skeleton
6438d2fb4d57b7222d8b67b8bbee4eb9957b6db6
9aa62336ba21d464e854bf16f997cec034474d34
refs/heads/master
2020-05-29T18:40:15.896150
2015-03-04T12:45:04
2015-03-04T12:45:04
31,656,127
1
0
null
null
null
null
UTF-8
Python
false
false
15,962
py
#!/usr/bin/env python from __future__ import absolute_import from __future__ import print_function from contextlib import contextmanager import logging import os import re import sys from collections import deque from scss import config from scss.util import profiling from scss import Scss, SourceFile, log from scss ...
[ "ykur@seznam.cz" ]
ykur@seznam.cz
891b80fe0e964a07d5c4a98e20bab20b2fd165a9
b2e306049892a510c4623f0f16653274c7bdd760
/MinAvgTwoSlice.py
5f34f76e66ee9343fe1acebec6cfa95e5aa6c014
[]
no_license
letteropener/algo_exercises
199fcf377538cbb1784aa4518caeacbc98b4f095
b176fef271cb593d4e7fbed032a8b4b0f9d8ad53
refs/heads/master
2020-03-22T15:59:41.851136
2018-07-20T16:15:59
2018-07-20T16:15:59
140,294,719
0
0
null
null
null
null
UTF-8
Python
false
false
2,429
py
''' A non-empty array A consisting of N integers is given. A pair of integers (P, Q), such that 0 ≤ P < Q < N, is called a slice of array A (notice that the slice contains at least two elements). The average of a slice (P, Q) is the sum of A[P] + A[P + 1] + ... + A[Q] divided by the length of the slice. To be precise, ...
[ "letteropener2011@gmail.com" ]
letteropener2011@gmail.com
76248405f1c00343fddef1efe2213d5897023cdc
51086c09f2c920d057db12e373a01b08571c4cbf
/pebble-sdk/SDKs/4.3/sdk-core/pebble/common/tools/inject_metadata.py
132a3d5457b902f386c30f11dc86721ecedec725
[]
no_license
JohnHoder/pebble-dev
66dc69258dfd009313c23ba5c2eb518aec257652
e9d95bd564ba6f58b539a1a68f21fe82b6d0992b
refs/heads/master
2022-11-23T17:32:26.573394
2018-12-26T03:17:37
2018-12-26T03:17:37
163,131,045
0
1
null
2022-10-31T10:03:38
2018-12-26T03:15:57
Python
UTF-8
Python
false
false
11,374
py
#!/usr/bin/env python from __future__ import with_statement from struct import pack, unpack import os import os.path import sys import time from subprocess import Popen, PIPE from shutil import copy2 from binascii import crc32 from struct import pack from pbpack import ResourcePack import stm32_crc # Pebble App M...
[ "hoder.john@gmail.com" ]
hoder.john@gmail.com
02b18a3855a92224188e775e3c0f3759dfe9ae54
d6abe9b5286efeaca03b08325690c4e32a00994f
/index/urls.py
3707dd480c4030805d5ec0c77429b914ec913817
[]
no_license
lookflying/pictrail
b5e8896ae53bdde9201d81e2689b7c75c2921630
1f00c173cdc88fc3b6746f8c86732e3d067559e4
refs/heads/master
2020-06-01T16:05:59.618272
2014-07-24T01:59:06
2014-07-24T01:59:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
from django.conf.urls import patterns, url from index import views urlpatterns = patterns('', url(r'^$', views.index, name='index'), )
[ "lookflying@gmail.com" ]
lookflying@gmail.com
0edb15c99b81287d2f5f4c1a226de09d6b692c6c
ce0a34a4a1f44cda31042e4294e6cef334392a37
/tests/test_gui_klgui.py
9c28eb7d7c5c47e2c9694da7f660414fd1c1df94
[ "GPL-3.0-only" ]
permissive
PhonologicalCorpusTools/CorpusTools
ba6644f90a9790d3f61d923b3b5622eaeaa24caa
314bd30be24b1cb7ee0c252a6529bbfe964056ad
refs/heads/master
2022-09-29T20:36:12.148289
2022-09-16T01:57:47
2022-09-16T01:57:47
18,848,568
108
24
BSD-3-Clause
2021-05-07T23:58:03
2014-04-16T17:14:55
Python
UTF-8
Python
false
false
188
py
from corpustools.gui.klgui import * def test_klgui(qtbot, specified_test_corpus, settings): dialog = KLDialog(None, settings,specified_test_corpus, True) qtbot.addWidget(dialog)
[ "michael.e.mcauliffe@gmail.com" ]
michael.e.mcauliffe@gmail.com