blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
d283446b10876ebe6d6ec44b9d3d6da3984eda61
d4a4a2ffc4e4f385ffda3154c449e160dc6cd8f3
/yauber_algo/_algo/tests/test_featurewize_quantile.py
ff6b69e993736bd3edddb5239ad2273fc0317ce8
[ "MIT" ]
permissive
LongNguyen1012/yauber-algo
09a2b3db2d4e3a5b6c28d1f3349b26107225d8e3
40f7d805408a788e7f363ec02d3315ff379cc069
refs/heads/master
2020-03-31T18:15:19.782116
2018-10-10T17:19:36
2018-10-10T17:19:36
152,451,472
0
0
MIT
2018-10-10T16:01:59
2018-10-10T16:01:59
null
UTF-8
Python
false
false
9,144
py
import unittest from yauber_algo.errors import * class QuantileTestCase(unittest.TestCase): def test_quantile(self): import yauber_algo.sanitychecks as sc from numpy import array, nan, inf import os import sys import pandas as pd import numpy as np from yau...
[ "i@alexveden.com" ]
i@alexveden.com
71208c9d74ccb595710c815513d702dbbb8cd3ff
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-alloydb/samples/generated_samples/alloydb_v1alpha_generated_alloy_db_admin_create_secondary_cluster_sync.py
3d786c1001f027b7769b0b096ff4df6c0707a141
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
2,198
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # 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...
[ "noreply@github.com" ]
googleapis.noreply@github.com
7ddaa3610dda33051fd5ff099b49a0098ba9276f
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil1936.py
cc05da196ed62af0317b2f4287f3344bee19f573
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,738
py
# qubit number=4 # total number=36 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(3) # number=33 prog...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
5a7700101bf585664de57aef748dac407649019c
d873f3e6c322c930068711e795bfc635ed98fd6a
/mainapp/model/Event.py
11a61af2861727e14156815c2d055a2d35b26e66
[]
no_license
trunganhvu/personalweb
3d912366045448b20ec9b7722e9190197cef4f61
b7afc1a32665e578cbd546b1d2c375597b060914
refs/heads/master
2023-08-18T04:30:40.302843
2021-09-30T15:46:24
2021-09-30T15:46:24
401,062,022
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
from django.db import models class Event(models.Model): """ trunganhvu 2021/08/29 """ event_id = models.AutoField(primary_key=True) event_name = models.CharField(max_length=255) event_note = models.CharField(max_length=1000) event_slogun = models.CharField(max_length=500) event_descript...
[ "vutrunganh1@gmail.com" ]
vutrunganh1@gmail.com
0a25cb4b2a5d15f07ec3088c5a97ab6188e86906
a2e638cd0c124254e67963bda62c21351881ee75
/Python modules/viod_duplicates_ccc.py
6b319e0bc36770d5409af54ad70a4189bc705004
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,691
py
import acm from collections import defaultdict from at_time import to_datetime duplicates = defaultdict(list) portfolio = acm.FPhysicalPortfolio["ACS RTM - 41012"] value_date = '2019-03-20' query = acm.CreateFASQLQuery('FTrade', 'AND') query.AddAttrNode('Portfolio.Name', 'EQUAL', portfolio.Name()) query.AddAttrNode(...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
e6eba136bfb214ac5b1fcef643f9d06174f1d56e
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/IPython/terminal/ipapp.py
defe3e79fa8a3874be6cf2b8661cbfa5b1ba7fe1
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
14,215
py
#!/usr/bin/env python # encoding: utf-8 """ The :class:`~IPython.core.application.Application` object for the command line :command:`ipython` program. """ # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. import logging import os import sys import warnings from tra...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
ad062bb209226419ecca066071ca8d5e4b19c2f2
2aaccbbc31a81c65b6b09b63c861eb663682baa7
/ThorLabs_motor_controller/__init__.py
1c2690c9f5637eaf72fa0a98e3225dfe6f0decb7
[ "MIT" ]
permissive
vstadnytskyi/drivers
3736494c79dda1f10c2c9deb5329cfcba00c3c8a
3d4dbc43dac7d13ddec25b179252ccea18792bc7
refs/heads/master
2020-07-04T22:46:25.675871
2019-09-05T01:59:32
2019-09-05T01:59:32
177,037,846
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
#!/bin/env python """ """
[ "v.stadnytskyi@gmail.com" ]
v.stadnytskyi@gmail.com
8536886123bc95c8edcd67958b518f026e365b39
116f465951d8a17898d4e8ddaf71d9555668a97e
/a8/wsgi.py
c0c99d7ca91697beb8ca05db87aad97a042c315f
[]
no_license
nikoladang/a8.com.vn
9fb5a055b6cadb5ab7aac8390d9f80413ac8108c
6ab3a6766f5c3dc04c50dd9a61fe561c16459849
refs/heads/master
2020-04-11T08:45:03.403947
2013-09-17T14:26:23
2013-09-17T14:26:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
""" WSGI config for a8 project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`` setti...
[ "ducthinhdt@gmail.com" ]
ducthinhdt@gmail.com
563f9a46a6d30aa6a3c1bd79d35b88fb0ff95a4b
b943c4cb8c470344986fd8c4af72cc46f8cdb841
/accounts/views.py
c14932b22c5ce89d97ddf52716250c1454694ed8
[]
no_license
maniklaldas/korsera
7351adbd09d1fce83e99b4b6d6ed665b2e816851
82b21b58e5445ca99c22dc187c4e8aeb32cb2de8
refs/heads/master
2023-02-16T05:27:35.800052
2021-01-15T15:48:21
2021-01-15T15:48:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,782
py
from django.shortcuts import render, get_object_or_404, redirect from django.contrib.auth import login, authenticate from allauth.socialaccount.models import SocialAccount from django.contrib.auth.decorators import login_required from django.contrib.admin.views.decorators import staff_member_required from django.contri...
[ "f20190029@pilani.bits-pilani.ac.in" ]
f20190029@pilani.bits-pilani.ac.in
3813478b409b3018edcb0c96753c7619a220c9c7
8850f01a5b61fad9175cb7246a4c7f3c6b455b4d
/tests/test_xmlChan.py
954a3640addab49c99159c080e42b616d8405db1
[]
no_license
lsst/astshim
26134d1f604e6c892040c99e71217ac833110a3d
3273194fdb8a9e75327a71b15298448ff22f26ca
refs/heads/main
2023-09-04T09:58:40.617680
2023-07-10T00:10:23
2023-07-10T00:10:23
64,975,235
2
18
null
2023-04-05T17:10:43
2016-08-05T00:07:02
C++
UTF-8
Python
false
false
2,001
py
import os.path import unittest import astshim as ast from astshim.test import ObjectTestCase class TestXmlChan(ObjectTestCase): def setUp(self): self.dataDir = os.path.join(os.path.dirname(__file__), "data") def test_XmlChanDefaultAttributes(self): sstream = ast.StringStream() chan ...
[ "rowen@uw.edu" ]
rowen@uw.edu
ae0293e1a7bfd67f4a5c97f1c023bce83a71a546
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW05_20210712164333.py
cfaa83193784d1baac114565a017420786e167b2
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
3,330
py
from points import calculate """ Georgia Institute of Technology - CS1301 HW05 - Modules, Dictionaries, Try/Except Collaboration Statement: """ ######################################### """ Function Name: vowelCounter() Parameters: cities (list) Returns: number of vowels in each city (int) """ ####################...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
59c933710acd8320cf9af5408de53ed4802f2f89
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2742/60705/295928.py
c0f6e4928eba7c3e911f53109b58a4f56168dae8
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,170
py
n = int(input()) data = [[]] for _ in range(0, n): [v, opt, x] = list(map(int, input().split(" "))) temp = data[v].copy() # 插入x if opt == 1: temp.append(x) # 删除x elif opt == 2: if x in temp: for i in range(0, len(temp)): if temp[i] == x: ...
[ "1069583789@qq.com" ]
1069583789@qq.com
fec115f555e7a7583562a1d04f6f83b9a9b9731b
01bcaafb0258a1f217bcc1daf659ec8fcf76fe3e
/config.py
7448a0059d307714c786387ec470afe416b669a5
[]
no_license
Curiouspaul1/Handees
32c90d6cd885dbc74c4afb611d04119d73911268
98f64e8dd66b02d749d6fd3aef870d810935d515
refs/heads/main
2023-06-26T23:51:16.681983
2021-07-30T15:20:40
2021-07-30T15:20:40
388,266,127
0
1
null
null
null
null
UTF-8
Python
false
false
653
py
import os from dotenv import load_dotenv # set location for db base_dir = os.path.abspath(os.getcwd()) class Config: SQLALCHEMY_TRACK_MODIFICATIONS = False SECRET_KEY = os.getenv('secret') CLERK_KEY = os.getenv('clerk_dev_key') class DevelopmentConfig(Config): load_dotenv(base_dir, '.env.developmen...
[ "170408025@live.unilag.edu.ng" ]
170408025@live.unilag.edu.ng
aeabfafd79c4f8bf4ff8190c89c3717f4a9f198e
10fbe5526e5f0b8588b65f70f088cd86b6e9afbe
/gbsaqmaxu/migrations/0004_utfwgx.py
1304655e6a8c9c21bf36607d9d701c96619aa4bd
[]
no_license
MarkusH/django-migrations-benchmark
eb4b2312bb30a5a5d2abf25e95eca8f714162056
e2bd24755389668b34b87d254ec8ac63725dc56e
refs/heads/master
2016-09-05T15:36:45.250134
2015-03-31T23:44:28
2015-03-31T23:44:28
31,168,231
3
1
null
null
null
null
UTF-8
Python
false
false
534
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gbsaqmaxu', '0003_auto_20150218_1621'), ] operations = [ migrations.CreateModel( name='Utfwgx', fiel...
[ "info@markusholtermann.eu" ]
info@markusholtermann.eu
913e7e51be645c585f5ba480cd56aab2ed4bceb2
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-fnf/aliyunsdkfnf/request/v20190315/DeleteFlowRequest.py
c1c19b0ebf003f717d079fb98e6b6d88615527cc
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
1,553
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
fecbad38f3a9a3cf7ceb7a4ece39517f2d3ab3a9
a3c970cb385cb4c6e2122b3c096f61ceb37b3acd
/defence/.history/dashboard/do_views_20191210164537.py
002ccc9e1da65da9c516fe0b42a761ec59365b82
[]
no_license
kirubasuba/certa
ec7cd06352ff9c477236afcead89daf9a28943bc
111f2bdfd2626475951f5f86746f04f5fd42ded4
refs/heads/master
2022-12-14T03:44:20.207843
2020-05-19T12:36:15
2020-05-19T12:36:15
212,568,163
0
0
null
2022-11-22T04:41:30
2019-10-03T11:56:13
Python
UTF-8
Python
false
false
28,209
py
from django.shortcuts import render from django.contrib.auth.decorators import login_required from django.conf import settings from django.contrib.auth.models import User,Group from .forms import UserCreationForm,TAapplicationForm,cemilacUserForm,proforma_A_form from django.contrib import messages from common.decorator...
[ "30341216+kirubasuba@users.noreply.github.com" ]
30341216+kirubasuba@users.noreply.github.com
d7b16915c7d115efeaa148a85d8ea500df711849
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/try_life/world/life/big_fact/company/hand_and_case.py
7b38fde54ace93e8df49e36305f88ff4ceb01f68
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
#! /usr/bin/env python def way_and_able_hand(str_arg): right_hand(str_arg) print('number') def right_hand(str_arg): print(str_arg) if __name__ == '__main__': way_and_able_hand('try_world_beneath_problem')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
da273d83f0da551bca831c708a11441d84625dba
cfcca8c1776f1ef3b7dd866ec400f728110a599f
/scr_fr/my_classifier.py
e781b78c5e3e2fb7e57c82d6173258279e9c05f7
[ "Apache-2.0" ]
permissive
SmileSouth/Emotion-Analyse
52dfaab55e184dc8046a4a9d764b6f847c34d6e4
b5d9f23fdf6c75f57f5cf20d58834a095b0c7e1e
refs/heads/master
2020-07-06T00:00:12.561142
2018-01-12T09:15:09
2018-01-12T09:15:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,582
py
#! /usr/bin/env python # -*- coding: utf-8 -*- """ @Author:lch02 @Time: 2017/12/26 18:23 @Description: """ import config import os import itertools import nltk import pickle import collections from nltk.classify import SklearnClassifier from nltk.metrics import * from sklearn.svm import LinearSVC __author__ = 'lch0...
[ "1251680944@qq.com" ]
1251680944@qq.com
33e09b82a87183280fce4b0a5aae4d801cb6c21f
0db1877723f1506fc9494b50af3ee8c87d9a148b
/reslib/__init__.py
c284d3536a5c5902f0da75cfa2f9735ef05207a3
[ "MIT" ]
permissive
trickeydan/rescalc
6fcddd39e6b3f97ae0c456fd0aa688747dae6b21
237bd8961d60a4ba62ab0f5992777af971c73889
refs/heads/master
2020-03-18T15:12:41.936826
2018-06-12T11:37:20
2018-06-12T11:37:20
134,893,599
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
from .course import Course
[ "dan@trickey.io" ]
dan@trickey.io
e9191db194c400a3354c9a7edcde6a3179818e0e
20899d453bc61c169153338ac9d22d324df089c1
/others/typical90/34.py
4f550501168052b2f819b0890aeeca8094a36da7
[]
no_license
mui-nyan/AtCoder
b2d926b113963915426af679bf9b28430569707c
a702280f11a5b0b1b29dd099dbfc7b1c31fb89fd
refs/heads/master
2022-07-04T16:32:41.164564
2022-06-19T07:24:11
2022-06-19T07:24:11
182,425,947
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
from collections import defaultdict import sys sys.setrecursionlimit(10**7) def input(): return sys.stdin.readline().strip() def INTS(): return [ int(s) for s in input().split(" ")] def log(*args, **kwargs): print("DEBUG:", *args, **kwargs, file=sys.stderr) def main(): n, k = INTS() A = INTS() count = de...
[ "hngrmi@gmail.com" ]
hngrmi@gmail.com
94e7f23b08edd94c8f6d0aa8aeb06f155db1589b
30242df49b73775aee89fa1258998399d82c4856
/sopds_site/wsgi.py
5f598cc9ecabecd09308bbb19696d5115cf5dc4a
[]
no_license
TrellixVulnTeam/sopds_site_LW4Y
f79206e5bb12a26ef140c1dc381d092d2bc067e1
268b440db9ff17733e92cec3c03e98bd556081c9
refs/heads/master
2023-03-15T11:48:48.468810
2017-11-10T04:54:12
2017-11-10T04:54:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for sopds_site project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "mitshel@mail.ru" ]
mitshel@mail.ru
a638e4e213321b13c1c550d5c1371179642ef2af
bc441bb06b8948288f110af63feda4e798f30225
/artifact_sdk/model/flowable_service/bpmn_process_pb2.py
a0be59e12217c88318ba1c017cebf895623d4b95
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
7,600
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: bpmn_process.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
[ "service@easyops.cn" ]
service@easyops.cn
8bcd9387423097310c9280170567e08908149bbd
f366c19ce822a3e8f3cd5f670b25c6fa54322d0b
/python_udemy/introducao-python/escopo-variavel.py
8094e02eb6735f488d3512c20aec509fe66c60ac
[]
no_license
marcelomatz/py-studiesRepo
b83875a366010c9a60bc15d853fcf81c31cee260
ce99014228f00d8c73cc548dd6c4d5fedc3f1b68
refs/heads/main
2023-09-05T00:03:47.712289
2021-06-15T09:43:27
2021-06-15T09:43:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,322
py
""" Escopo de variáveis no Python """ # GLOBAL # variavel = 'valor' # aqui a variável é global no documento # def func(): # print(variavel) # def func2(): # global variavel # não é uma boa prática, porém é possível alterar o valor global de uma variável de dentro da função # variavel = 'Outro valor' ...
[ "agenciahipster@gmail.com" ]
agenciahipster@gmail.com
ec1e7449a8e159e48fef3c61c4b9fc8e6b0323ce
0a1f8957a798006deaa53d10d09f733fab1e6b05
/bin/Python27/Lib/site-packages/pyparsing.py
6a3f582cf62559512f974b90c6ffca848392b077
[ "LicenseRef-scancode-other-permissive" ]
permissive
metamorph-inc/meta-core
a89504ccb1ed2f97cc6e792ba52e3a6df349efef
bc7a05e04c7901f477fe553c59e478a837116d92
refs/heads/master
2023-03-07T02:52:57.262506
2023-03-01T18:49:49
2023-03-01T18:49:49
40,361,476
25
15
NOASSERTION
2023-01-13T16:54:30
2015-08-07T13:21:24
Python
UTF-8
Python
false
false
221,313
py
# module pyparsing.py # # Copyright (c) 2003-2015 Paul T. McGuire # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to u...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
b26fa9d2e55784a5fb776b88a7848bf3704ad585
03969015ab882f4751dc0e91beeda1212babca48
/robot_code/nimbus_explore_with_arb/src/MG_tests.py
21d24415feebad03749168007296d7b2ea4f398c
[]
no_license
lnairGT/Thesis_code
f3ad57f4344691227dcd128a741eb9c0e937738e
6f5dbfc2510272f294a0e9bb4273beceeacbff2a
refs/heads/master
2023-03-17T21:43:56.320553
2020-09-26T16:05:31
2020-09-26T16:05:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
# All the different tool tests to perform on Nimbus class tool_tests(): def __init__(self, test_tool, obj_poses, ): self.test_tool = test_tool self.obj_poses = obj_poses
[ "lnair3@gatech.edu" ]
lnair3@gatech.edu
83aa7d1f1a16d056ddcce6d3f8ffb706ee680e84
71875792ea0e1520e442b37f5296c90e37734581
/Python/heap/heapTest.py
c5a0b6e6bbcffb14f095b6d2f26137b57b7824d4
[ "MIT" ]
permissive
kangqiwang/myLeetcode
401e806fbf43e8c3f2c70a720edfdb4c799ea897
40f6da994e443cd027752bd6f3ab33eb3556a220
refs/heads/master
2023-01-22T15:57:51.257811
2023-01-07T21:33:44
2023-01-07T21:33:44
190,908,551
0
0
null
2022-04-19T10:18:45
2019-06-08T16:11:35
Python
UTF-8
Python
false
false
461
py
import heapq # heapData = [10, 50, 60, 20, 70] # heapq.heapify(heapData) # print("Heap:") # print(heapData) # heapq.heappush(heapData, 40) # print(heapData) # heapq.heappush(heapData, 30) # print(heapData) # heapq.heappop(heapData) lists= [[1,4,5],[1,3,4],[2,6]] h=[(1, 0), (1, 1), (2, 2)] while h: print(h) val...
[ "kangqiwang@outlook.com" ]
kangqiwang@outlook.com
be25fef64556aaf63ea6c5025c07eadc23246aba
f13ad562462b415e3301e4db9013eef8bccd4411
/PythonHackerGuideBook/13/overload3.py
37c3086f599f0519af09a6aaff93819b138c4f91
[ "Apache-2.0" ]
permissive
t2y/python-study
1dd6d5ccda6a9028e434f3906a25c19ee26091f5
52a132ea600d4696164e540d8a8f8f5fc58e097a
refs/heads/master
2021-12-08T19:37:44.035022
2021-11-30T19:07:35
2021-11-30T19:07:35
64,656,041
18
6
null
null
null
null
UTF-8
Python
false
false
167
py
def add(x, *args): total = x for i in args: total += i print(f'{x=} + {args=} = {total}') add(1, 2, 3) add(1, 2) add(1, 2, 3, 4, 5, 6, 7) add(1)
[ "tetsuya.morimoto@gmail.com" ]
tetsuya.morimoto@gmail.com
5b032c15c43e63c6a5332bcb6b63306ac902a6b7
94a0b4fe0eabd60d516de3e99ebdd5720dd90110
/backend/massive_web/music_tracks/migrations/0005_musictrack_name_es.py
cab2776a7176c3c9a1ede70142024d0b17b34169
[]
no_license
JavierCabezas/massive-web
fde99db296d24c1809d65a3e99dc697d5f764d26
1227bd37858bf01d3fbdff4ebb91d49ddfed577f
refs/heads/master
2021-01-20T13:27:07.812276
2017-11-04T01:50:28
2017-11-04T01:50:28
90,494,897
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-18 14:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('music_tracks', '0004_auto_20170918_1408'), ] operations = [ migrations.AddF...
[ "jcleyton@gmail.com" ]
jcleyton@gmail.com
3cb699b793a39ad1793c6ccfb63fc1fbd4056718
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/296/84335/submittedfiles/testes.py
183c492c3c750118b5d2c43e90b7259d71279d1f
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO #ENTRADA for i in range (0,n+1,1): print ("Olá Mundo")
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8d27f563ed44935355d553b9d7b433b56eb05cdc
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/2d5a944bd5d0c7638f75796d44c46e8c8f8238ce5a857f39bbd6458bb15e89fc/_cython_0_29_12.py
2a5e36032bb62b3901116472de3dbb05b4803052
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
5,875
py
# encoding: utf-8 # module _cython_0_29_12 # from C:\Users\Doly\Anaconda3\lib\site-packages\skimage\measure\_ccomp.cp37-win_amd64.pyd # by generator 1.147 # no doc # no imports # Variables with simple values __loader__ = None __spec__ = None # no functions # classes class cython_function_or_method(object): def...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
afa966790c41cd3a959cd0ef95038cb482614e26
0adb19e463ec27dda57b7f551b2d49e229053b8c
/feed/fnotes.py
4eb46e1b725e05776cd2324b1b655f48e4496858
[]
no_license
alam-mahtab/FastapiCD
c8d36852a674583bba088eee8b1cb98a24acbea1
7206179408a9ae67ba485a4620d14b470009153d
refs/heads/main
2023-02-25T05:56:35.685081
2021-02-03T16:16:26
2021-02-03T16:16:26
335,682,061
0
0
null
null
null
null
UTF-8
Python
false
false
1,896
py
from typing import List from feed import crud from feed.models import FeedDB, FeedSchema from fastapi import APIRouter, HTTPException, Path, Depends from fastapi import FastAPI, File, Form, UploadFile # Pagination from fastapi_pagination import Page, pagination_params from fastapi_pagination.paginator import paginate ...
[ "67095487+alam-mahtab@users.noreply.github.com" ]
67095487+alam-mahtab@users.noreply.github.com
896fc9351165b882b637f9f1b1a4f89278667e2c
a0cdbaf2ba59c72ebb4de73f614bcbaffe416a0d
/if_else_patterns.py
d6a1e918de0c4d73a01912c5b26d4fdc61b64770
[]
no_license
ravi4all/PythonAugMorning_21
d5a7406e5ecc0e46f0659fa559e5300c10cc09ce
f3789562427c3f1c27c3aa40ef53e7b29a965a7c
refs/heads/main
2023-09-03T14:06:10.321416
2021-11-03T03:21:27
2021-11-03T03:21:27
396,625,525
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
for i in range(5): for j in range(5): if i % 2 == 0: print("1",end='') else: print("0",end='') print() print("*" * 30) k = 0 for i in range(5): for j in range(5): k += 1 if k % 2 == 0: print("0", end='') else: ...
[ "noreply@github.com" ]
ravi4all.noreply@github.com
e162fe4328ceeec9bc0bcb0afcd9123688e085f4
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/thirtyPercent/rank_2q0o_J.py
4fe33417df89ce5a64dc9548ca9229620cc0313c
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,392
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
2f953371e1e72dad43d6d1c0ea04400cfcc84597
0ff270a6b2a72f3829362547cacc6a56ef4fd8ce
/app_product_type_sequence/models/product_template.py
b52a2b5de688ef1f52ed91115f58b86b5f26c860
[]
no_license
aymannabil86/app-odoo
90cc4a3e9f4fc629d1680e0a8ccfef890cb8d2ae
78759ec5acd7c20856a0ca2a1281394524854076
refs/heads/master
2021-09-01T15:16:48.244296
2017-12-27T16:58:51
2017-12-27T16:58:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,657
py
# -*- coding: utf-8 -*- # Created on 2017-11-05 # author: 广州尚鹏,http://www.sunpop.cn # email: 300883@qq.com # resource of Sunpop # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # Odoo在线中文用户手册(长期更新) # http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html # Odoo10离线中文用户手册下载 # http://www.sunpop.c...
[ "guohuadeng@hotmail.com" ]
guohuadeng@hotmail.com
e0f5b29c335f278797a132a86b7bac50c1cb68de
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2331/60678/298048.py
5ccccf85076d76c9996f5dd6f195d54889ab3d2c
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
2,603
py
string = input() + input() if string == '5 5 22991 1170 5511 9907 2058': print(1170) elif string == '12 22 31628 3001 9385 9699 5061 7278 2286 7013 5253 3367 3220 1196 3025 3645 2148 4772 246 8914 3323 7328 9537 4984': print(435) elif string == '249 250 495 6 4 4 6 5 8 2 10 1 5 8 10 3 5 1 8 5 3 9 5 9 3 5 4 4 10...
[ "1069583789@qq.com" ]
1069583789@qq.com
d3659623dda240f7bcde4559b346445bbb245df1
b75854b46b4702772cacea186fcf0bf036018ba6
/example.py
be5863b2868948647fb1b0b81948ca78c6ae8be1
[]
no_license
codesharedot/dash-price-chart
07d0024afc360937dc0fc121144b1f61b585e85f
88bf348da3f43d8eb33cde5b04809bb8f592e473
refs/heads/master
2020-07-27T12:03:58.668119
2019-09-17T15:00:46
2019-09-17T15:00:46
208,891,650
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
import time import os import json import requests from bs4 import BeautifulSoup import csv import sys from time import sleep from time import gmtime, strftime import matplotlib.pyplot as plt enddate = strftime("%Y%m%d", gmtime()) r = requests.get("https://coinmarketcap.com/currencies/dash/historical-data/?start=20140...
[ "codeto@sent.com" ]
codeto@sent.com
86ff3bb076021aef058ee01070fe80568b854dc3
4a1cfd43c4e9dc92b1f7d4b874a0d6375f0c0927
/예제및유제(190608)/Level 2/[예제2-2]숫자출력.py
07b0cd3737965d737ccae926ff4e490acafe474b
[]
no_license
mkhoin/pycodinglec
b754c87f83f852d36092064eb08df2cac04e199b
4eacd18a0baad9f415684bcc8ee4e5c3fe6b1e56
refs/heads/master
2020-12-14T22:22:11.184708
2019-06-26T08:57:35
2019-06-26T08:57:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
print("3") print(3) print("1+2") print(1+2)
[ "jeipubmanager@gmail.com" ]
jeipubmanager@gmail.com
a2301dbf86f9463a2708e95d1efb5043f66c93e4
a8cb7f89a1d2092072092ff8cb90cce88b2e15b6
/brixilated/brixilated/asgi.py
f1f941bcdd95b65412bfd0e5b916b65057b0e941
[]
no_license
LilDataMonster/Brixilated-Server
9283876884e3b2f9e4e8ea0906300c5af6bc9212
939908cde3448c45149e3e8521e0e8fd8c554465
refs/heads/main
2023-08-23T16:43:51.312009
2021-10-23T01:20:51
2021-10-23T01:20:51
413,112,265
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for brixilated project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "fand.kanade@gmail.com" ]
fand.kanade@gmail.com
6ebd91a549cb7c36edcb69e706c9a774a47e07d7
a2628f3d036be58314ace13b7db4c733203fd711
/myshop/coupons/views.py
1b02db05240b4e3b585fe60d2bb7304cd3a29c44
[]
no_license
Gabkings/online-shop-django
29dab187eed5f74d2f7c8ec5005eb474c2d077ef
22ad6c332bfbc76de9328ffc39532b71a9494506
refs/heads/master
2020-09-13T04:14:26.091812
2019-11-25T15:03:28
2019-11-25T15:03:28
222,652,021
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
from django.shortcuts import render, redirect from django.utils import timezone from django.views.decorators.http import require_POST from .models import Coupon from .forms import CouponApplyForm # Create your views here. @require_POST def coupon_apply(request): now = timezone.now() form = CouponApplyForm(requ...
[ "gabworks51@gmail.com" ]
gabworks51@gmail.com
ba3a45bba443923c8c5c10b710ea4e4b3bfb5f8f
a16af39ced3796f233242c9b39699ce51ef7a02b
/django/table_to_orm/manage.py
e50316773c909a81996730174e2d0b0c2f941d45
[]
no_license
topljd/studycode
c62ca8038955feba163077bb42a9c48b630862ff
e156270ade61d9f8b2fe29e12e8dfc78f3416d57
refs/heads/master
2022-10-22T16:05:37.852635
2020-06-11T01:27:40
2020-06-11T01:27:40
258,974,230
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'table_to_orm.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "820230548@qq.com" ]
820230548@qq.com
569be828fd9af410da8d8c6aaad1da1efc1da944
e463e169c6dcd5222dbba9c4c699f70b5eda3591
/Chapter_12/rotate-sprite.py
2560cc6323fe323f8c280a6605170ca664ae261c
[]
no_license
mrwillbarnz/Python_FAB_Reimplementation
1e00e3ecdcb6c9e3d671aae9dddf8aa475c01e8e
5f02c6d3f392612fe17d97e648302ea2e3edf01c
refs/heads/master
2022-04-12T05:47:11.577985
2020-03-01T17:37:40
2020-03-01T17:37:40
239,611,675
0
0
null
2020-02-16T19:28:19
2020-02-10T20:57:21
Python
UTF-8
Python
false
false
1,076
py
# Rotate Sprite # Demonstrates rotating a sprite from livewires import games games.init(screen_width = 640, screen_height = 480, fps = 50) class Ship(games.Sprite): """ A rotating ship. """ def update(self): """ Rotate based on keys pressed. """ if games.keyboard.is_pressed(games.K_RIGHT): ...
[ "willbarnard687@pm.me" ]
willbarnard687@pm.me
455d9b17fd80afa14c235d88d6fae904f6c54280
eb9d1fe693d342d97df683bf71e9da0e1b5ac5f7
/parkings/api/internal/parking.py
3667493bb63c5014e561ae7b04f5382f7008369d
[ "MIT" ]
permissive
mingfeng/parkkihubi
44d4bcd7f7d5364d79398e4e317e477c3ac45185
c817f8e852c1caee969c4ad59f686bf7c1e94526
refs/heads/master
2021-01-11T15:42:47.436587
2017-02-03T13:41:30
2017-02-03T13:41:30
79,906,923
1
0
null
2017-01-24T11:48:42
2017-01-24T11:48:42
null
UTF-8
Python
false
false
636
py
from rest_framework import permissions, serializers, viewsets from parkings.models import Parking from ..common import AddressSerializer, ParkingFilter class InternalAPIParkingSerializer(serializers.ModelSerializer): status = serializers.ReadOnlyField(source='get_state') address = AddressSerializer(read_onl...
[ "tuomas.haapala@anders.fi" ]
tuomas.haapala@anders.fi
7ce6f627e2f9778c49fa650fa644484fecb8baec
b1c403ad1211221427dddc80a7f15956da498175
/0x01-python_async_function/4-tasks.py
cbae22798a4669d19875d061c9b61d497a800732
[]
no_license
oumaymabg/holbertonschool-web_back_end
246dd47b9abdb277d6ef539c9bc38a8f0509554a
dce7ff683d8bce9ad986d72948c9e75ca7b80d2a
refs/heads/master
2023-09-05T22:27:28.961336
2021-11-15T21:05:53
2021-11-15T21:05:53
389,440,104
1
0
null
null
null
null
UTF-8
Python
false
false
656
py
#!/usr/bin/env python3 """ Take the code from wait_n and alter it into a new function task_wait_n. The code is nearly identical to wait_n except task_wait_random is being called. """ import asyncio from typing import List task_wait_random = __import__('3-tasks').task_wait_random async def task_wait_n(n: int, ...
[ "oumaymabou257@gmail.com" ]
oumaymabou257@gmail.com
fbea72948555ff7460da0869beaea61415b8d3f5
eb3ff3bf5168d29caa0f9c4eec0892375aed4670
/pipeline/src/app/main/transformation/transform_2_1b.py
adacb3591817bc866730660aeb2a3bbf5ed8c799
[]
no_license
JialinLiOSU/MORPC
a60400b0c627d78fd563dfe8343facad5244b187
afc374d1356c4abf1ef179863157fa1657274b99
refs/heads/master
2021-07-20T01:25:39.572477
2020-07-03T19:56:55
2020-07-03T19:56:55
187,646,671
0
0
null
null
null
null
UTF-8
Python
false
false
4,507
py
import pandas as pd import sys import pickle import datetime #pm2.5:year by year ingestion def Indicator2_1b(data_dic): ''' input:[ data_dict: { 'name': 'approved_facilities' 'schema_name': 'approved_facilities_schema', 'schema_version': '1.0',...
[ "32602256+JialinLiOSU@users.noreply.github.com" ]
32602256+JialinLiOSU@users.noreply.github.com
97d552fc20272a46ac567a74a27f452e03a46ae4
acee6ef4336b0ae6a43de84c980baf75bb5a9fac
/practice/fibonacci.py
f0753bc3b36c6e6d8bf2adf87912e04371897dad
[]
no_license
entrekid/2019_KAIST_Python
67ac62b9cd87f425be67d324acec8e247d3364a2
6b96fd0709aa994019048564fb0162f057b5547f
refs/heads/master
2022-04-10T07:53:07.505420
2020-02-26T01:27:44
2020-02-26T01:27:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
def FibonacciDP(n): dicFibonacci = {} dicFibonacci[0] = 1 dicFibonacci[1] = 1 for iter in range(2, n + 1): dicFibonacci[iter] = dicFibonacci[iter - 1] + dicFibonacci[iter - 2] return dicFibonacci[n] print(FibonacciDP(1))
[ "root@LAPTOP-S2FAKB33.localdomain" ]
root@LAPTOP-S2FAKB33.localdomain
bb4af830aa98ae0442174cfecabe0e337ad1368a
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_managed_instance_encryption_protectors_operations.py
339ffbc022b7a747f82ca011d804af2eaab38563
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
28,379
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
6afd932935c5f665508a8784c7a85aacc988c96a
8d4f26bccc3b016cf45e8270df617cea73d1a741
/big_experiment.py
a122ddea89cfe2f3b03d8004aa891b4a6e4af6dd
[]
no_license
krylatov-pavel/aibolit-ECG
3b6e4fc8d87ada6a615038c7fb94048570af2d43
27bad875981547ea93ac0088518eb29149078988
refs/heads/master
2022-12-26T05:49:30.827061
2019-08-19T10:47:20
2019-08-19T10:47:20
191,343,111
1
0
null
2022-12-08T05:56:08
2019-06-11T09:53:21
Python
UTF-8
Python
false
false
3,013
py
import os import json from hyperopt import fmin, tpe import training.metrics.stats as stats import utils.helpers as helpers import utils.dictionary as dictionary from utils.config import Config from training.experiment import Experiment def save_json(model_dir, fname, params): fpath = os.path.join(model_dir, fnam...
[ "krylatov.pavel@gmail.com" ]
krylatov.pavel@gmail.com
51eafe602f992bb75624bbb7d1e1ed930e823304
d886044be14ba64412c884b87ae3629f55c8259a
/rest_framework_jsonp/renderers.py
9699ec5e80b6a581775f2db14c13aa4221408a07
[ "BSD-3-Clause" ]
permissive
jpadilla/django-rest-framework-jsonp
0eba7dafb4299fe6bbfd2d52e76b902950bcdcf6
64e91d451206a815b98d4b4a4e27e705104ad06e
refs/heads/master
2023-05-30T13:31:32.490443
2019-04-13T01:21:29
2019-04-13T01:21:29
27,236,250
16
16
BSD-3-Clause
2022-12-26T20:15:27
2014-11-27T17:57:38
Python
UTF-8
Python
false
false
1,442
py
""" Provides JSONP rendering support. """ from __future__ import unicode_literals from rest_framework.renderers import JSONRenderer from .compat import get_query_params class JSONPRenderer(JSONRenderer): """ Renderer which serializes to json, wrapping the json output in a callback function. """ ...
[ "jpadilla@webapplicate.com" ]
jpadilla@webapplicate.com
9c079a3f0bdb767247cacc7bec96688c0f11db0a
bc82de9237a6aa28fd7623a27b35c02ae8416702
/allennlp/data/dataset_readers/multiprocess_dataset_reader.py
759636137beb304e84e231d3acf3e96b941a5279
[ "Apache-2.0" ]
permissive
Snnzhao/GrailQA
78190a8a5bae934c07f4035786f658ef4764c510
e89e66380402e51bac56f59c7d24d4400bcd11b6
refs/heads/main
2023-04-26T19:49:21.683922
2021-04-11T09:40:34
2021-04-11T09:40:34
370,937,323
1
0
Apache-2.0
2021-05-26T07:00:21
2021-05-26T07:00:20
null
UTF-8
Python
false
false
9,343
py
import glob import logging import os from queue import Empty from typing import List, Iterable, Iterator, Optional import numpy as np from torch.multiprocessing import Process, Queue, Value, log_to_stderr from allennlp.data.dataset_readers.dataset_reader import DatasetReader from allennlp.data.instance import Instanc...
[ "gu.826@cse-cnc196739s.coeit.osu.edu" ]
gu.826@cse-cnc196739s.coeit.osu.edu
38b30299006af3e8d6dbea83688d6d18162ed4d8
c6d2df1e28ef2a4d269087852c4a0c600f3ab0ed
/baseinfo/views/employee_view.py
67d274cf1e9571e4840f30677cc6798ceeaaec8a
[]
no_license
homan220/salary
96edf91afcf5b97b0c3281c452ff2035cf96fd42
153035c9c614fc7ff0e20f12bc7847ed4a267539
refs/heads/master
2020-05-07T18:16:21.549050
2019-04-11T10:41:45
2019-04-11T10:41:45
180,760,125
0
0
null
2019-04-11T09:33:29
2019-04-11T09:33:28
null
UTF-8
Python
false
false
1,300
py
from django.shortcuts import render from django.views.generic.edit import FormView from django.views.generic import TemplateView from baseinfo.forms import * from baseinfo.models import * def employees_list_view(request,*args,**kwargs): context={ 'objects':Employee.objects.filter(), 'titles':['نام',...
[ "kiani.hamidreza@gmail.com" ]
kiani.hamidreza@gmail.com
7b9edd5258818fc699c8bfdfdf45ce16df753a06
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/air_cancel_port_type_service_output.py
3db178274fa34813e6cd6309b984414423fc7d50
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
2,417
py
from __future__ import annotations from dataclasses import dataclass, field from travelport.models.air_cancel_rsp import AirCancelRsp from travelport.models.error_info_1 import ErrorInfo1 __NAMESPACE__ = "http://www.travelport.com/service/air_v52_0" @dataclass class AirCancelPortTypeServiceOutput: class Meta: ...
[ "chris@komposta.net" ]
chris@komposta.net
4645502fa211f741cb060aaa38740175bd23b4c9
3030b4b1822446922f42694a2fed9b1bbf091ebe
/kaggle_utils/features/groupby.py
9751570fc642815d850aa4f473e3defec47e7230
[]
no_license
upura/solafune-light
c89a8db09b391179291cf8fbcb8bd5f7c2c8a5d6
ca9357466e8ecd866845da58ae89fcfcdd5c7f40
refs/heads/master
2023-07-07T20:24:31.003571
2021-08-21T13:21:31
2021-08-21T13:21:31
352,811,945
2
0
null
null
null
null
UTF-8
Python
false
false
32,644
py
import gc import numpy as np import pandas as pd from sklearn.model_selection import BaseCrossValidator from ..utils import change_dtype from .base import BaseFeatureTransformer class BaseGroupByTransformer(BaseFeatureTransformer): def __init__(self, param_dict=None): self.param_dict = param_dict ...
[ "upura0@gmail.com" ]
upura0@gmail.com
bb253578db67a2e4e728e16b04913de89878a3ff
f04fb95416d0e59faa71c29ac40b4d6f1fa1e168
/HWs/HW1/edu/uci/cs221/hw/project1/WordFreq.py
5fffd1c24b59f92f342dc40d851d8d1a8a954afc
[]
no_license
vrdmr/CS-221-Information-Retrieval
9dae6b2b37367745a25e9e305c4070c8f3ef5535
aad6212df228f566ab8252a50f614856635fe202
refs/heads/master
2020-06-04T08:57:10.049075
2015-03-31T05:10:11
2015-03-31T05:10:11
28,899,930
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
""" Homework 2 of CS 221 Information Retrieval. Author: Varad Meru <vmeru@ics.uci.edu> Last Change: Jan 7, 2015 Course Webpage: http://www.ics.uci.edu/~lopes/teaching/cs221W15/#homework Homework Number: 1 Question Number: Part B """ __author__ = 'varadmeru' from collections import Counter class WordFreq: def _...
[ "varad.meru@gmail.com" ]
varad.meru@gmail.com
f9b218f5451181fd90e9e020eb443c6f82cc0af1
3325f16c04ca8e641cbd58e396f983542b793091
/Seção 04 - Variáveis e Tipos de Dados em Python/tipo_numerico.py
b54a755bf014935ea67bc1b96b7486d63353d05c
[]
no_license
romulovieira777/Programacao_em_Python_Essencial
ac929fbbd6a002bcc689b8d6e54d46177632c169
e81d219db773d562841203ea370bf4f098c4bd21
refs/heads/master
2023-06-11T16:06:36.971113
2021-07-06T20:57:25
2021-07-06T20:57:25
269,442,342
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
""" Tipo Numérico """ num = 1_000_000 print(num)
[ "romulo.vieira777@gmail.com" ]
romulo.vieira777@gmail.com
6324585b4749c508e74d87ef6a17dd4356ca0e65
943f78c52c0d8c808bcc5c314d55efa6f2459655
/emu/processes/wps_say_hello.py
a60642332017cedb8a8d2a8eca30fe4457af9acc
[ "Apache-2.0" ]
permissive
agstephens/emu
3154a8a9216aa59aca3ffe4231d5c4f73c2ced0c
f5ece0c4278799aec1c653c8e6a2c57caf3789a5
refs/heads/master
2021-08-22T22:34:59.453424
2017-12-01T13:31:01
2017-12-01T13:31:01
112,743,027
0
0
null
2017-12-01T13:29:04
2017-12-01T13:29:03
null
UTF-8
Python
false
false
1,460
py
from pywps import Process, LiteralInput, LiteralOutput, UOM from pywps.app.Common import Metadata import logging LOGGER = logging.getLogger("PYWPS") class SayHello(Process): def __init__(self): inputs = [ LiteralInput('name', 'Your name', abstract='Please enter your n...
[ "ehbrecht@dkrz.de" ]
ehbrecht@dkrz.de
a44b39f84cff383e5fee1748711eb55124c34baf
e0471c2dc5911b5f9eb4695e346234aaae8d4690
/bin/job_post_run.py
12aa7af316e6242d3fb7f4960f455a30abd890a3
[ "MIT" ]
permissive
CroP-BioDiv/isabella
14b46c4cb64bee4b385899da687da46ce5ef9157
2d98f6fec609e72e88e45842ac83212243daf60a
refs/heads/main
2023-02-20T00:40:20.478012
2021-01-20T11:45:57
2021-01-20T11:45:57
327,027,025
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
#!/usr/bin/python3 import os.path import datetime from isabella.utils import on_finish_job from isabella.processing import JOB_FILENAME with open(JOB_FILENAME, 'a') as _out: _out.write(f'ended: {datetime.datetime.now()}\n') on_finish_job()
[ "ante.turudic@gmail.com" ]
ante.turudic@gmail.com
c5066e88c35cd33f29ea37f5b410f271ca30d52d
ec35df4cc4543f20bd6a1d30f244f67873ecd261
/193.py
0d05d0542b16ca300088e8bf844e24912694a250
[]
no_license
timsergor/StillPython
02b6ddc3226cf8d27d8575ca36e75a19cfe6ac9d
84b3b37bc165b9daf83cca78d577b5a927e483ec
refs/heads/master
2020-05-24T09:34:14.819413
2020-04-19T13:35:06
2020-04-19T13:35:06
187,209,209
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# 172. Factorial Trailing Zeroes. Easy. 37.6%. # Given an integer n, return the number of trailing zeroes in n!. class Solution(object): def trailingZeroes(self, n): """ :type n: int :rtype: int """ answer = 0 d = 5 while d <= n: answer += n // d...
[ "noreply@github.com" ]
timsergor.noreply@github.com
96bdede450e4687ccde119a038d7ea2624526ea7
db4f7cc841d801f29a53187fafbb46df9a6542a4
/examples/factors/block_selector.py
0d29f7f4539ecbd952dbb6a38c9f5557d268bbe7
[ "MIT" ]
permissive
everhopingandwaiting/zvt
ebf67df363f319309a48c9c391ea9b718ee3beca
c6bcc2b340406da55d920a411f59ab8d4cc7e76d
refs/heads/master
2023-03-02T23:49:23.465091
2020-11-26T03:48:53
2020-11-26T09:49:04
316,705,536
0
0
MIT
2021-02-13T04:41:23
2020-11-28T10:10:13
null
UTF-8
Python
false
false
1,397
py
# -*- coding: utf-8 -*- from zvt.contract import IntervalLevel from zvt.domain import Block from zvt.factors.technical import BlockMoneyFlowFactor from zvt.factors.target_selector import TargetSelector class BlockSelector(TargetSelector): def __init__(self, entity_ids=None, entity_schema=Block, exchanges=None, c...
[ "5533061@qq.com" ]
5533061@qq.com
68d24aedcc94e0235fa02f4c497a59dc81b0e6b2
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/SendGrid/WebAPI/Profile/UpdateAccountProfile.py
5d26bc6e896577c78b1dd4605101a451d29b7f70
[ "Apache-2.0", "MIT" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
5,687
py
# -*- coding: utf-8 -*- ############################################################################### # # UpdateAccountProfile # Update a SendGrid account profile. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use t...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
de280aa776e68890fd46ac3770b78c7c8b4a7d64
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/pnd7xPYuvogkNfHg6_5.py
c8d0fa77a344d8fd735f586104740aadbe84f2a8
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
def get_best_student(grades): lst = [] for i in grades: lst.append([i, sum(grades[i]) / len(grades[i])]) maxxx = [n[1] for n in lst] return lst[maxxx.index(max(maxxx))][0]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
39283032c9b54fdc032aeaa316ef96b678face10
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/audio/speech-transformer/src/transformer/optimizer.py
039db153144533e8e5a8d853b7ca4d49cde55493
[ "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
3,779
py
# BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain th...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
6e8c34609e58ed42661b45ba725869b993c869e6
8eec73044e9abc408ae761d096f7cac380b60599
/gpuexperiments/hardwarelimits.py
ebe98a6e76dcd5b0c2e255b82d6dea288d51fe04
[ "BSD-2-Clause" ]
permissive
hughperkins/gpu-experiments
53bbcaee9a67dec8771367d6a20402069aca7fee
3e5064e45682494be97190558807672b602f1c76
refs/heads/master
2021-01-15T15:26:33.319645
2016-09-05T23:22:56
2016-09-05T23:22:56
62,437,172
2
0
null
null
null
null
UTF-8
Python
false
false
550
py
# data comes from http://developer.download.nvidia.com/compute/cuda/CUDA_Occupancy_calculator.xls # and from http://www.hardware.fr/articles/948-2/gp104-7-2-milliards-transistors-16-nm.html "La mémoire partagée des SM # du GP100 passe de 96 à 64 Ko mais elle n'est associée qu'à deux partitions au lieu de 4 ce qui indiq...
[ "hughperkins@gmail.com" ]
hughperkins@gmail.com
cca450f5eba02008c8559cc421c67e71f91cc193
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_vied.py
ac564b034a2ae6fcb9f249117f4b0361e169951a
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
#calss header class _VIED(): def __init__(self,): self.name = "VIED" self.definitions = vie self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['vie']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a12d442a4b2d4af5bb291b54ef291636698e631b
c26dc7928b1facac2c0912f6532076d35c19e835
/build/moveit_msgs/cmake/moveit_msgs-genmsg-context.py
7176cf5849dec086d4c29334b230960bce0bbcaa
[]
no_license
mattedminster/inmoov_ros
33c29a2ea711f61f15ad5e2c53dd9db65ef6437f
e063a90b61418c3612b8df7876a633bc0dc2c428
refs/heads/master
2021-01-23T02:39:36.090746
2017-08-09T02:56:42
2017-08-09T02:56:42
85,995,826
0
0
null
2017-03-23T20:45:32
2017-03-23T20:45:32
null
UTF-8
Python
false
false
7,289
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/robot/inmoov_ros/devel/share/moveit_msgs/msg/ExecuteTrajectoryAction.msg;/home/robot/inmoov_ros/devel/share/moveit_msgs/msg/ExecuteTrajectoryActionGoal.msg;/home/robot/inmoov_ros/devel/share/moveit_msgs/msg/ExecuteTrajectoryActionResult.msg;/hom...
[ "mattedminster@gmail.com" ]
mattedminster@gmail.com
4878991ca967a6741556e31f1a7c349bbac18635
d61183674ed7de0de626490cfba77d67c298d1be
/py_scripts/example.py
3d11d975184ce9f76ed78c2f064fd926f67b3812
[]
no_license
Giannos-G/python_dataset
bc670a53143d92cf781e88dee608da38b0e63886
18e24cbef16ada1003a3e15a2ed2a3f995f25e46
refs/heads/main
2023-07-25T20:24:31.988271
2021-09-09T10:31:41
2021-09-09T10:31:41
363,489,911
2
0
null
null
null
null
UTF-8
Python
false
false
678
py
# Dummy Code containing multiple functions #import cProfile #@profile def create_array(): arr=[] for i in range(0,400000): arr.append(i) initialize_array(arr) #@profile def print_statement(): print('Array created successfully') #@profile def initialize_array(my_array = [], *arr): for x in range(0,4000...
[ "giannos.gavrielides@gmail.com" ]
giannos.gavrielides@gmail.com
478ae2400d5076f3dee7bb687c397bf151544b7b
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/mupen64plus/testcase/firstcases/testcase5_023.py
cb0c82d06a9d7879aa64f81ff0f140f238210d35
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
7,372
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
2d4eca7cb198b1f0ff2b96a415e95f45f63781b3
3a4f14d6638bc0c12c129ed73c6c3543437203df
/src/morphforge/simulation/neuron/objects/neuronrecordable.py
b52faa8e0ac77a278c7380db8d6193b176900d82
[ "BSD-2-Clause" ]
permissive
unidesigner/morphforge
ef04ccb3877f069a0feea72eb1b44c97930dac44
510cd86549b2c2fb19296da2d4408ed8091fb962
refs/heads/master
2021-01-15T22:34:28.795355
2012-04-05T08:55:12
2012-04-05T08:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
#------------------------------------------------------------------------------- # Copyright (c) 2012 Michael Hull. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # - Redistributions of sourc...
[ "mikehulluk@googlemail.com" ]
mikehulluk@googlemail.com
0a31fcafbaf1864156a8e3e61aba1a157d6c3da6
b155be1edeac8183736ababc64b52f07f15e3269
/appengine/swarming/bb/go/chromium/org/luci/buildbucket/proto/step_pb2.py
da30d814c6898a8b8673e47388995a1242066203
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
luci/luci-py
d9ef3325a2b193d3f127363c012fe60860ea91fd
10cc5fdcca53e2a1690867acbe6fce099273f092
refs/heads/main
2022-11-26T09:32:20.640834
2022-11-24T15:11:30
2022-11-24T15:11:30
33,140,918
84
36
Apache-2.0
2022-11-23T13:56:13
2015-03-30T18:39:14
Python
UTF-8
Python
false
true
8,598
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: go.chromium.org/luci/buildbucket/proto/step.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflectio...
[ "infra-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
infra-scoped@luci-project-accounts.iam.gserviceaccount.com
365758648c1d6dc1b5a29c25cceb29722ff09d4b
01fa2aca31eb73a559d192fd29e44350f26a13a9
/HAX/18.CocoJoe/script.module.scrubsv2/lib/resources/lib/sources/en/myswatchseri.py
889ede53ef5153403c327945f9386cb84b757a67
[]
no_license
RandomIntermition/k4y108837s
b4beedeff375645bd4fa9ad348631a9a9f3640b6
e9115aad49795dfe30a96c278cedaf089abcc11d
refs/heads/master
2022-05-01T18:45:57.298903
2022-03-30T03:41:08
2022-03-30T03:41:08
109,356,425
1
0
null
2019-11-08T02:20:47
2017-11-03T05:36:48
Python
UTF-8
Python
false
false
1,990
py
# -*- coding: UTF-8 -*- # -Cleaned and Checked on 10-16-2019 by JewBMX in Scrubs. import re, base64 from resources.lib.modules import cfscrape from resources.lib.modules import cleantitle from resources.lib.modules import source_utils class source: def __init__(self): self.priority = 1 self.langu...
[ "github+github@github.github" ]
github+github@github.github
4e876fe1a3aa3878734747374e947ea1c9fb454d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_cheaper.py
e93f0c195f1b9a0530c1a09430c1ffc52c6efd2f
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
from xai.brain.wordbase.adjectives._cheap import _CHEAP #calss header class _CHEAPER(_CHEAP, ): def __init__(self,): _CHEAP.__init__(self) self.name = "CHEAPER" self.specie = 'adjectives' self.basic = "cheap" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
55286ef648340e57d07a682f6dc92816086fb499
ee79e734486c0ca550bb8238ef54c78c7727384a
/Baselib/visualisation/heatmap.py
09439ed352068cf89019a8bace43ec9d0ce06a38
[]
no_license
neilrobertson/BICRCode
212636e5395f0c0e4dfb3ac3c133f01eb07273ee
7b3f4da9cdefd7680f07b707339aee59faece1d2
refs/heads/master
2020-03-30T16:07:22.637571
2018-10-03T10:12:57
2018-10-03T10:12:57
151,394,096
0
0
null
null
null
null
UTF-8
Python
false
false
10,644
py
''' Created on 23 Aug 2010 @author: mcbryan ''' from datastructures.memoized import memoized from datastructures.orderedset import OrderedSet import numpy import os.path import csv import sys import rpy2.rpy_classic as rpy #from rpy2.rpy_classic import * import rpy2.robjects as robjects import getopt import collection...
[ "neil.alistair.robertson@hotmail.co.uk" ]
neil.alistair.robertson@hotmail.co.uk
827a9a55d585cc8e348f0604832e2d1e87f7fd9e
5b530047002ce6b2d59a08522deb71a457c2dc8a
/ooni/resources/cli.py
cab9700255d9a0a0b339184cb1633d3c2ec24e3f
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
skmezanul/ooni-probe
fc67ff0c5ba5a57eb7a4effde9ba0ae86976b80d
8f570e6679f525a14e384876165c7d227c2d0543
refs/heads/master
2023-03-10T20:03:09.710120
2023-03-03T16:23:49
2023-03-03T16:23:49
45,778,476
0
0
NOASSERTION
2023-02-20T01:00:07
2015-11-08T11:56:08
Python
UTF-8
Python
false
false
1,458
py
import sys from twisted.internet import defer from twisted.python import usage from ooni.utils import log from ooni.resources import __version__ from ooni.resources import update class Options(usage.Options): synopsis = """%s""" % sys.argv[0] optFlags = [ ["update-inputs", None, "Update the resour...
[ "art@fuffa.org" ]
art@fuffa.org
ad6492256aa9263ac94d890b1b37c035f8a51068
0180b1a8e19c0a02e7c00ebe1a58e17347ad1996
/_Framework/Layer.py
04542f5addabbf3cd10451039b2efe4978caff10
[]
no_license
cce/buttons
e486af364c6032b4be75ab9de26f42b8d882c5b0
7d4936c91df99f4c6e08f7e347de64361c75e652
refs/heads/master
2021-01-17T06:56:55.859306
2014-12-22T05:03:00
2015-11-25T03:42:28
46,657,841
3
0
null
null
null
null
UTF-8
Python
false
false
6,085
py
# Embedded file name: /Users/versonator/Jenkins/live/Binary/Core_Release_64_static/midi-remote-scripts/_Framework/Layer.py """ Module implementing a way to resource-based access to controls in an unified interface dynamic. """ from __future__ import absolute_import from itertools import repeat, izip from .ControlElemen...
[ "cce@appneta.com" ]
cce@appneta.com
05c9337d5c9eabae3fcebedb99480b9af35bdae9
c2b386e1d28c58efbb9d847098a87032e2cbacca
/purbeurre/urls.py
e08d99e8926529172555e28438ec458c9054a2fc
[]
no_license
jmlm74/P11-Ameliorez-un-projet-existant-en-Python
e6468342554f5c4aa03bc0bb954aa7995e98e293
28cd84698bf272e279bbf6e1d15211ef2a3c6403
refs/heads/master
2022-12-11T02:57:59.563283
2020-09-10T16:02:27
2020-09-10T16:02:27
290,844,109
0
0
null
null
null
null
UTF-8
Python
false
false
1,775
py
"""purbeurre URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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') Class-bas...
[ "jmlm74@gmail.com" ]
jmlm74@gmail.com
9b47924dac164ce77d123260eeb4ea2b687210f4
021f39cacf51d828bfa06ea3d044778beabd9b42
/dnstwister/domain/statistics.py
5f3c86e11e15452efc33e8d65d5fe7e8f1616a33
[ "Apache-2.0", "Unlicense" ]
permissive
kieran-whittenburg/dnstwister
e1768904812198566bcdc2babc61cadee89ef06e
61f72b20b6f083459296b2aa4f07f218ccedb320
refs/heads/master
2021-07-10T04:31:34.680945
2017-10-11T03:53:13
2017-10-11T03:53:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,791
py
"""Statistics models.""" import datetime class NoiseStatistic(object): """Holds noise statistics.""" # How many days in a statistics window. WINDOW_SIZE = 30 # Higher and lower threshold to mark as noisy or not, of changes per day. NOISE_ON = 0.5 NOISE_OFF = 0.25 # Minimum number of day...
[ "rwallhead@gmail.com" ]
rwallhead@gmail.com
90fdba2e36b5def49f2b2863427358dc719fc758
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04029/s167826690.py
b438a1dd2a1c2ba1bfa1fd4385d3850cfa69a915
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
N = int(input()) a = 0 for i in range(1,N + 1): a =i + a print(a)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c8d8665e2c356ca5797b3d8e3bc2228b53a307af
5c8b0b95755255adf5ca207a605f142b600f8571
/图片转字符画/ascii.py
d0ab0196a50d6deb381fafb566a851ec15a852c3
[]
no_license
huanglun1994/python_projects
94485f486278278abdcf349789ab42b5c5cd7ef1
324409ebfdc75fb673156d73ca59677456967c69
refs/heads/master
2021-08-19T03:00:27.584741
2017-11-24T15:13:12
2017-11-24T15:13:12
103,481,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
# -*- coding: utf-8 -*- """xxxxx""" __author__ = 'Huang Lun' from PIL import Image import argparse # argparse库是用来管理命令行参数输入的 # 命令行输入参数处理 parser = argparse.ArgumentParser() parser.add_argument('file') # 输入文件 parser.add_argument('-o', '--output') # 输出文件 parser.add_argument('--width', type=int, default=80) # 输出字符画宽 pa...
[ "492593760@qq.com" ]
492593760@qq.com
0883e5e296a3dec59f43ac5ecf30ad031f5159f5
c8d8d47ba191c2011b5efe2fe50ebf3db6ded46d
/trails/feeds/proxyrss.py
24cd34d159993f1416463be362709a0d874066d5
[ "MIT" ]
permissive
gvvynplaine/maltrail
51830e029f88b4a9cad2afc09ecca39d6564eefb
e4df0a10570fbb128a24bb8bb1f40cc3ec865e05
refs/heads/master
2023-01-04T21:48:22.816058
2020-11-04T10:34:30
2020-11-04T10:34:30
310,009,861
1
0
MIT
2020-11-04T13:26:00
2020-11-04T13:24:45
null
UTF-8
Python
false
false
727
py
#!/usr/bin/env python """ Copyright (c) 2014-2020 Maltrail developers (https://github.com/stamparm/maltrail/) See the file 'LICENSE' for copying permission """ from core.common import retrieve_content __url__ = "https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/proxyrss_1d.ipset" __check__ = "proxyrs...
[ "miroslav.stampar@gmail.com" ]
miroslav.stampar@gmail.com
d4167042693648e5b30416bafe3edb22fc99fe09
863066adc85e592b0542ef61273f34e573d01972
/src/spec/login_test.py
18d4089bab9fe77c540ba9994dc643de3599f9a2
[]
no_license
prashanth-sams/storms
5a494225e5ef8543d286813fe1366b3e4406ce01
522d3f954eedfcca24dbec55cc0fb361ff4bcf79
refs/heads/master
2022-12-09T16:31:33.066823
2020-09-15T06:37:35
2020-09-15T06:37:35
295,170,357
0
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
import pytest from src.helpers.appiumdriver import Driver from src.screens.news_screen import NewsScreen from src.screens.login_screen import LoginScreen from src.screens.dashboard_screen import DashboardScreen from src.helpers.app import App class TestLogin(Driver): def __init__(self, driver): super()._...
[ "sams.prashanth@gmail.com" ]
sams.prashanth@gmail.com
7db50d68e86d2acbaf06a0fdd6b72da17d2bf799
342deb7f73cbb9201a559cb3cb77cdc9ca79dc89
/todo/serializers.py
74edeb17b3a56a004459d3071102cc75091cf367
[]
no_license
mhozza/tia-todo-backend
51931a012569db2be74911597d52e9a46fc64259
06361de6fb41a8de74a5b8122a871e0062ccf9eb
refs/heads/master
2021-01-10T06:32:49.989234
2016-03-31T20:37:52
2016-03-31T20:37:52
55,167,331
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
from .models import ToDo from rest_framework import serializers class ToDoSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = ToDo fields = ('id', 'url', 'checked', 'value')
[ "mhozza@gmail.com" ]
mhozza@gmail.com
9adf7f6e08663b7c13033442d4bfe212ffcd4ad3
781b9a4a1098f3ac339f97eb1a622924bcc5914d
/Exercices/21_nombres/NBR-003.py
c60b4539bd96f1c7e057f2663ce507dbc703002e
[]
no_license
xpessoles/Informatique
24d4d05e871f0ac66b112eee6c51cfa6c78aea05
e8fb053c3da847bd0a1a565902b56d45e1e3887c
refs/heads/main
2023-08-30T21:10:56.788526
2023-08-30T20:17:38
2023-08-30T20:17:38
375,464,331
2
0
null
null
null
null
UTF-8
Python
false
false
237
py
a,b,n = 0,1,0 while a!=b: b,n = (a+b)/2,n+1 print(b) #5e-324 est le nombre le plus petit que l'on peut représenter car on peut le représenter avec un nombre dénormalisé égal à 1/2**52*2**(-1022)=5e-324 print(5e-324.hex())
[ "xpessoles.ptsi@free.fr" ]
xpessoles.ptsi@free.fr
005b802d94be94c9d09baa63076f04ad400e2dc5
8a9ed23c6d78f3aacf5aa692ac04f2bc18e1698e
/Data_Structures/Dictionary/06_remove_key.py
16f1892a70b257a55b874f15d2eddbb69b533ee9
[]
no_license
RinkuAkash/Basic-Python-And-Data-Structures
308448b0dc10151f0fbec01e31172b9e81e2af51
22d1875e7f57cb3125ee941d70e67426bb2dfbbc
refs/heads/master
2020-12-07T20:08:39.454391
2020-05-29T07:57:40
2020-05-29T07:57:40
232,789,812
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
''' Created on 11/01/2020 @author: B Akash ''' ''' problem statement: Write a Python program to remove a key from a dictionary. ''' dictionary={'key1':'value1','key2':'value2','key3':'value3','key4':'value4','key5':'value5','key6':'value6','key7':'value7','key8':'value8','key9':'value9'} key=input("Enter key (eg. key...
[ "akashrinku2@outlook.com" ]
akashrinku2@outlook.com
98d0fe94929d8adecc872f7e49d60f237ff88630
52855d750ccd5f2a89e960a2cd03365a3daf4959
/ABC/ABC36_A.py
4bd83df5a4dae4dcd8caa7425f86a7273ba646cf
[]
no_license
takuwaaan/Atcoder_Study
b15d4f3d15d48abb06895d5938bf8ab53fb73c08
6fd772c09c7816d147abdc50669ec2bbc1bc4a57
refs/heads/master
2021-03-10T18:56:04.416805
2020-03-30T22:36:49
2020-03-30T22:36:49
246,477,394
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
A,B = map(int,input().split()) print((B+A-1)//A)
[ "takutotakuwan@gmail.com" ]
takutotakuwan@gmail.com
460f2d9ee51187ec6ff563ee3be4b6086af171f9
49e17d736df9889b3a0d91705abd0f3ed579d17c
/quests/Fairy_Tale_I_Growing_Pains.py
1ec4863bd93b32581bfbea754b72e0692802abee
[]
no_license
TheWhirl/RunescapeQuestWebsite
4f258c04a1c1e6bb9f6d9e0fa63fdcab452ccfc2
8d5dacbc8251bd1f2dded4ffa04400ed48e0f1fb
refs/heads/master
2020-05-16T02:54:35.603906
2018-12-23T13:03:58
2018-12-23T13:03:58
182,643,424
0
0
null
2019-04-22T07:22:00
2019-04-22T07:21:59
null
UTF-8
Python
false
false
416
py
import os import sys sys.path.insert(0, os.path.dirname(os.path.realpath(__file__))[ 0:-len("quests")]) from QuestInfo import Quest class Fairy_Tale_I_Growing_Pains(Quest): def __init__(self): super().__init__("Fairy Tale I - Growing Pains") self.age = 5 ...
[ "musomaddy@gmail.com" ]
musomaddy@gmail.com
88c266822866863a23ab101c322b5678ca89fe7a
95eed88115075f7e1916a14de7497d05a12a9330
/abc138c.py
b7c5bf63f83cedd21b438338610a68b44623b4e2
[]
no_license
ynagi2/atcoder
bdbbd030f1dd39e937b0872b028ce0f38372521e
e404f4500d837bfd6ca473aa2837f46ae71ad84a
refs/heads/master
2022-04-29T12:48:44.229462
2022-04-22T15:04:50
2022-04-22T15:04:50
241,098,529
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
n = int(input()) v = list(map(int,input().split())) v.sort() while len(v) > 2: v.append((v[0] + v[1]) / 2) v.remove(v[0]) v.remove(v[0]) v.sort() print((v[0] + v[1]) / 2)
[ "noreply@github.com" ]
ynagi2.noreply@github.com
12097fd3acb852342156228489f0390178cb1144
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_206/1269.py
7b0cafeee48e8558b62a5f9b7161100f5422e64d
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
fin = open('1.in') fout = open('1.out', 'w') T = int(fin.readline()) for iter in range(0, T): D,N = fin.readline().split(" ") D = float(D) N = int(N) p = [] for i in range(0,N): k_i, s_i = fin.readline().split(" ") p.append((float(k_i),float(s_i))) p.sort(key=la...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0508ac7e41dd555333a97e172882d37767916f92
a275cec1fddb6e034b4e9df72f8039536c009990
/codes/py/flask-upload/cli.py
e2e35a8a09e65810258a020e63467339164c771c
[]
no_license
taoste/dirtysalt
a3cbd16710c81de65f00aa919f4e67a1fc66d226
bd68294fb7727d598ea1c8bf0a559247e07c1aea
refs/heads/master
2021-08-24T10:44:47.607924
2017-12-09T08:47:12
2017-12-09T08:47:12
113,807,519
1
0
null
null
null
null
UTF-8
Python
false
false
264
py
#!/usr/bin/env python # coding:utf-8 # Copyright (C) dirlt # http://cn.python-requests.org/zh_CN/latest/api.html import requests ss = requests.session() r = ss.post('http://localhost:10001/', files = {'xfile': ('test.py', open('test.py'))}) print r.status_code
[ "dirtysalt1987@gmail.com" ]
dirtysalt1987@gmail.com
927b22fd2b766a3a4812932a34a8100f9033a340
077e2802cc4dfb1e9cff720c35803b0e95bef9aa
/venv/lib/python3.8/site-packages/pyrogram/raw/base/group_call_participant.py
0b707410d7b17c945d6234f967f65f367efabc7a
[]
no_license
Anveena/WOWScript
ff6b897e542e460a00bbf79c98c4b5d2c962fab5
2ab5b79a2add2c2291d9c06bf654a7a560358d60
refs/heads/main
2023-02-09T13:27:56.617457
2021-01-11T16:52:12
2021-01-11T16:52:12
324,855,123
0
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
# Pyrogram - Telegram MTProto API Client Library for Python # Copyright (C) 2017-2020 Dan <https://github.com/delivrance> # # This file is part of Pyrogram. # # Pyrogram is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free...
[ "panys@panyushideMac-mini.local" ]
panys@panyushideMac-mini.local
eb645e30ae2ba479b55dd087e1927de0bdd31b53
1fdad1e45625edf2fdaf26ca284054461839a2d4
/tzgx_tzgs/utils/pipelines/MysqlTwistedPipeline.py
92c1657393a3c764309e78c110c1a089fe22dac8
[]
no_license
Mdxue/crawler-scrapy
b99a61f2fa0eff7a1194495314acdb7907018369
ed4dcf5ffc15b60f9efa5d7e5093872343d2bbd0
refs/heads/master
2020-12-09T08:02:53.134473
2020-01-11T13:44:28
2020-01-11T13:44:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,565
py
import copy import time import pymysql from twisted.enterprise import adbapi from scrapy.exceptions import DropItem import logging class MysqlTwistedPipeline(object): def __init__(self, dbpool): self.dbpool = dbpool @classmethod def from_settings(cls, settings): dbparms = dict( ...
[ "sn_baby@qq.com" ]
sn_baby@qq.com
0b3990fea97ffaab62d6388bee230c33d8d7d370
6b518cf14ea3f59fd59136dbd2a7ac70234bb96e
/exercise4.py
a1e3d687d07d73d7105a38d8dc8fe379aac31e22
[]
no_license
simula67/advanced-python-course-material
8064a1adddff45b0980d4bd1948fdeb2f88aec89
98870da337cbc001bcf4215ce44f82f0430fd3ce
refs/heads/master
2016-09-06T12:29:37.397321
2015-06-29T05:10:19
2015-06-29T05:10:19
38,228,793
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
__author__ = 'antonjoj' ul = [l.rstrip().split(':') for l in open("datafiles\\passwd")] print sorted(ul, key=lambda elem: int(elem[2]))
[ "simula67@gmail.com" ]
simula67@gmail.com
9b915c1b9fae78fc6261918dcff81c94893d5fdf
e6f7bfa132326cf342f7e76dac6885fd674fa600
/Lesson_1/homework.py
76a33939690b2e36f5d1dc0943469617b8dba256
[]
no_license
mariyakovleva/tkinter
ff64c6e660d173916955a4c1ab2a2f5728dfe981
1a6b3221b402faeb7721a90f23fcb4ecf6de8b97
refs/heads/master
2020-04-25T03:52:11.494117
2019-05-06T11:40:21
2019-05-06T11:40:21
172,491,600
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
from tkinter import* root=Tk() root.geometry('350x250') fr1=Frame(root) fr2=Frame(root) fr3=Frame(root) fr1.pack(side=TOP,fill=BOTH) fr2.pack(side=BOTTOM,fill=BOTH) fr3.pack(anchor=CENTER) btn1=Button(fr1,text='1',width=5,height=2) btn1.pack(side=LEFT) btn3=Button(fr1,text='3',width=5,height=2) btn3.pack(side=RIGHT...
[ "you@example.com" ]
you@example.com
18d0b04471bdbbcbab1e873d4e2e2786e64c0a62
9f722c2df93740064c79afac72ff0dce3e6c9a15
/180mmx130mm/sensor_mount_plate/mount_plate.py
fda9ff572eae6952c954c5523f1a1c104bab84f1
[]
no_license
iorodeo/photogates
647943b9150dd6b87b1bc53a9c0f8a1251476111
425cf1d99eb663ceead35f163f273cc6a6b4b90a
refs/heads/master
2022-10-29T14:37:55.410201
2014-08-13T01:02:33
2014-08-13T01:02:33
273,791,784
1
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
from py2scad import * x,y,z = 1.0*INCH2MM, 0.6*INCH2MM, 0.0625*INCH2MM radius = 0.1*INCH2MM sensorWidth = 0.32*INCH2MM sensorOffsetX = 0.08*INCH2MM sensorHoleSep = 0.335*INCH2MM sensorHoleDiam = (0.14*INCH2MM, 0.185*INCH2MM) sensorHoleRelPosX = (-0.5*sensorHoleSep,0.5*sensorHoleSep) mountHoleDiam = 0.116*INCH2MM mo...
[ "will@iorodeo.com" ]
will@iorodeo.com
7a721afb3ff89e3484ba6ce2b98b74800586409f
9ac779e1a2e795c0637423fcdfb73699c2768d07
/api/serializers.py
8459b1211d909ff8767a4d0cdc93bdb9e9431b0a
[]
no_license
rmaceissoft/mz-test
e7defb8455ba0467407610b5fc21da5791126c28
5a06a4f5aa9510a3f25a31d7e90117ecd6f070b9
refs/heads/master
2021-01-10T05:14:53.730036
2015-11-09T17:51:21
2015-11-09T23:09:45
45,813,151
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
from rest_framework import serializers from core.models import ServiceArea class ServiceAreaSerializer(serializers.ModelSerializer): class Meta: model = ServiceArea fields = ('path', 'created_at', )
[ "rmaceissoft@gmail.com" ]
rmaceissoft@gmail.com
d3e0eaa395834712b580a4feec346e3f11b474b5
f13776abb59dbe8848d6ae7f7e27bac3bcc24f1d
/database/database.py
a32c1ae7b006e8722b1434511032101d27194834
[]
no_license
stayliv3/wydomain
b8d6a014c27f9cb86c2ffcef715793984a1fdc5a
93d32cff3cb43f01acadee4b126b98d3d53926aa
refs/heads/wydomain2
2020-12-24T06:15:11.490753
2016-11-09T12:40:20
2016-11-09T12:40:20
73,162,028
0
0
null
2016-11-08T07:50:01
2016-11-08T07:50:00
Python
UTF-8
Python
false
false
6,675
py
#!/usr/bin/env python # encoding: utf-8 from sqlalchemy import * from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import UniqueConstraint from config import * """ @version: ?? @author: phpergao @license: Apache Licence @contact: endoffight@gmail.com @sit...
[ "you@example.com" ]
you@example.com
6f8bad805f7e70e1eed5cc1b608e6e3987dafafd
1509d32ef8854845428961c3ead89fff26c0dd9d
/celsius_2_farenheit.py
cda85ff3bd1f64df3274f1643024c95be32804a0
[]
no_license
antonioam82/ejercicios-python
d623324e2e59ecddcf03400064a8aa3591bfd7e5
2dfe23494b9b34a9a0abe9379dcb69af9b1e9d73
refs/heads/master
2023-09-04T02:16:55.584179
2023-09-03T19:50:05
2023-09-03T19:50:05
137,039,851
35
41
null
null
null
null
UTF-8
Python
false
false
506
py
from tkinter import * root = Tk() c_entry = Entry(root, width=4) c_entry.pack(side='left') Cunit_label = Label(root, text='Celsius') Cunit_label.pack(side='left') def compute(): C = float(c_entry.get()) F = (9./5)*C + 32 F_label.configure(text='%g' % F) compute = Button(root, text=' is ',command=compute...
[ "noreply@github.com" ]
antonioam82.noreply@github.com
4ffdbdd50430bf998d24a0e69b0e678e3ef7300e
af60b015bbc0f75ffc87b870dc3ff7f72975da3d
/scripts/__init__.py
822ce50d16438cc6fcaeba97b73381e2e11706b0
[]
no_license
lupyanlab/fidelity
7fdf60ac6ee248379ee13a966c6a456d682ee6b3
3db38c60a7e37f2ae37e2342d3cb482bc9037ae5
refs/heads/master
2020-12-24T15:23:06.648564
2016-03-16T17:39:13
2016-03-16T17:39:13
42,475,846
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
from unipath import Path csv_output_dir = Path('data-raw') survey_dir = Path('data-raw/survey') def unfold(json_frame, field): json_frame[field] = json_frame.fields.apply(lambda x: x[field]) return json_frame
[ "pierce.edmiston@gmail.com" ]
pierce.edmiston@gmail.com
77b3d526e4c447d4d8c9eed4c31d9e148149db7e
5dd190725aaaeb7287d935b3c99c20480b208816
/official/vision/image_classification/configs/configs.py
f1926c96bc34a5115bd1f2c32d3330a76889bf2e
[ "Apache-2.0", "MIT" ]
permissive
DemonDamon/mask-detection-based-on-tf2odapi
32d947164fb54395b9e45368c0d4bcf3a6ea1c28
192ae544169c1230c21141c033800aa1bd94e9b6
refs/heads/main
2023-05-13T05:05:44.534885
2021-06-08T05:56:09
2021-06-08T05:56:09
369,463,131
2
1
null
null
null
null
UTF-8
Python
false
false
5,013
py
# Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # 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...
[ "noreply@github.com" ]
DemonDamon.noreply@github.com
f77eff7e819541ac2f5ac9f6d2d0b74f1bf1fad6
edc1f1369794a4a1c499c6e9d5fe49a712657611
/algorithms/BAT-algorithms/Bit operation/数组中唯一一个不重复的元素.py
7e05540b057ef2f70104ec77067663fbccecdce2
[]
no_license
williamsyb/mycookbook
93d4aca1a539b506c8ed2797863de6da8a0ed70f
dd917b6eba48eef42f1086a54880bab6cd1fbf07
refs/heads/master
2023-03-07T04:16:18.384481
2020-11-11T14:36:54
2020-11-11T14:36:54
280,005,004
2
0
null
2023-03-07T02:07:46
2020-07-15T23:34:24
Python
UTF-8
Python
false
false
890
py
""" 一、题目 给定的任意数组只有一个数字只出现了一次,其他数字出现了偶数次, 求这个只出现一次的数? 二、思路 * 暴力求解 使用hash统计每个数字出现的次数。时间复杂度O(N),空间复杂度是O(N) * 位运算快速就求解 利用异或运算的性质可以快速求解,见知识点介绍 “利用 x ^ x = 0 和 x ^ 0 = x 的特点,可以将三个数中重复的两个数去除,只留下另一个数” 三、例子 2 2 3 3 4 2^2=0 0^3=3 3^3=0 0^4=4 ...
[ "william_sun1990@hotmail.com" ]
william_sun1990@hotmail.com
fdb13e577c104d85b7baa714f0ae8837a80396e4
9cc6fb0daffdbc936ef28eb04b4297419242cb5d
/products/forms.py
4e5f5e3aa7d0b56f97d1f14c4006e02288a220c9
[ "MIT" ]
permissive
tiagocordeiro/djmenu
0a3b6805fdf4bac7029213d819813d574d16478b
8ebad2a87abef012b10317fd044ebda4b75fdcdd
refs/heads/master
2023-08-06T05:22:21.755096
2021-05-12T14:44:00
2021-05-12T14:46:16
222,106,802
11
4
MIT
2023-09-13T15:17:38
2019-11-16T13:55:37
CSS
UTF-8
Python
false
false
1,681
py
from django.forms import ModelForm, TextInput, Textarea, NumberInput, Select from .models import Product, Category, Variation, ProductVariation class CategoryForm(ModelForm): class Meta: model = Category fields = [ 'name', 'description', ] widgets = { ...
[ "tiago@mulhergorila.com" ]
tiago@mulhergorila.com
b4fd24704cd83670760a4324110f27fe76bbbd17
bfba01869f1530e64c10e280f5fd6d55be7f601d
/backend/v1/apps/authentication/views.py
544adcd53024578dc756040551d78da15eb28428
[]
no_license
pranavnkc/CRM
f9614c7f1354fcc19ec0897f049ffac22989b0fe
0ff7f7633151be07f2ad665061b979ada9d995c1
refs/heads/master
2023-01-07T19:17:58.731884
2020-03-10T05:16:34
2020-03-10T05:16:34
199,622,014
0
2
null
2022-12-31T02:21:15
2019-07-30T09:39:35
Python
UTF-8
Python
false
false
714
py
from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response from rest_framework.permissions import AllowAny from rest_framework.authtoken.models import Token from .serializer import AuthSeralizer class AuthViewset(APIView): permission_classes = (AllowAn...
[ "pranav.kumar@silicus.com" ]
pranav.kumar@silicus.com