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
ed70f9acc90e84050111b3f5819ebc489b03f4ab
2cebd56a33ae2dde9b948ac574d7ad6950f7cf46
/emt_project/venues/migrations/0004_auto_20170122_2214.py
7c308536571640a064f725ba56f3cab79725c05d
[]
no_license
shivam04/Event-Management
fd125e9ddc07f6fe28f0e539eba001b03bc942ae
7fcc625d129bd012702db44c8677bf2d83d3e9a8
refs/heads/master
2021-03-27T18:59:22.151084
2018-09-09T18:47:52
2018-09-09T18:47:52
79,534,250
0
2
null
null
null
null
UTF-8
Python
false
false
771
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-01-22 16:44 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('venues', '0003_auto_20170122_1040'), ] operations = [...
[ "sinhahsivam04@gmail.com" ]
sinhahsivam04@gmail.com
d69751a04c4e71b04fc4f2b8e4ec4df4f5af6343
8e138461e9ed8e36245965e215685ce978742535
/qiskit/test/mock/backends/quito/fake_quito.py
376b824c305ba8df34dcde32132d2e61e2f48b8d
[ "Apache-2.0" ]
permissive
faraimazh/qiskit-terra
15d8c378114ee109f7b757a7d3795b4c9079c0a8
11c2e3ed89452cb6487db784c17c68a8a6284a57
refs/heads/master
2023-03-16T11:31:27.071954
2022-09-27T00:33:02
2022-09-27T00:33:02
220,650,207
0
0
Apache-2.0
2023-03-06T18:13:26
2019-11-09T13:59:40
Python
UTF-8
Python
false
false
1,142
py
# This code is part of Qiskit. # # (C) Copyright IBM 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
faraimazh.noreply@github.com
ee0f89a908884f3e73a16c6f3b75dc33a5a55d18
bb2df6ec14e74300f32766eba7673fef5b016b68
/numba/type_inference/module_type_inference.py
e99ae1966ab9a07fdd521154a9f89d934a90be25
[ "BSD-2-Clause" ]
permissive
hfeeki/numba
5b62156e95a4cb6f6d49a49320926ef36c03b3e8
186a125711ee1eefe1c9b624208a2d5c53a1850e
refs/heads/master
2023-09-04T08:24:01.686078
2013-01-31T23:10:18
2013-01-31T23:10:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,812
py
import ast import inspect import types import numba from numba import * from numba.minivect import minitypes from numba import typesystem, symtab, error, nodes from numba.typesystem import get_type import numpy.random import numpy as np import logging debug = False #debug = True logger = logging.getLogger(__name__...
[ "markflorisson88@gmail.com" ]
markflorisson88@gmail.com
0a80438ab7c6c7e06510d9b690441c872d265af9
49b7929c4c2b0eea3306f634609121abee29b50b
/_chapters/chp03/django_ecommerce/payments/tests.py
5de00a32107a16a5b1394612271ed2d6b876703e
[]
no_license
lpatmo/book3-exercises
5a8649828e0e87fe434b0b0bcb0381c683967018
7b624509d1a780bf58f1287810db9a31f7771883
refs/heads/master
2021-01-17T23:38:50.304742
2015-04-27T12:04:44
2015-04-27T12:04:44
35,077,140
0
1
null
2015-05-05T04:06:29
2015-05-05T04:06:29
null
UTF-8
Python
false
false
2,658
py
from django.test import TestCase from payments.models import User from payments.forms import SigninForm, UserForm import unittest class UserModelTest(TestCase): @classmethod def setUpClass(cls): cls.test_user = User(email="j@j.com", name='test user') cls.test_user.save() def test_user_to...
[ "hermanmu@gmail.com" ]
hermanmu@gmail.com
8c43cfd92b497ac17bfa84c2cc43e04d02e1eea1
434288dd7644610175cb34bc7c1abe07f731a005
/database_services/BaseDataResource.py
e91771beea9041a3c414eeeafde10e45edf0de82
[]
no_license
ibarral18/demo-flask
b1eb8f2e808d83158b5d650b005d163ec8590063
ce677a3d84e2c60d867f1ef9b37cb9ebe39984bb
refs/heads/main
2023-08-15T02:16:18.654442
2021-09-22T22:59:16
2021-09-22T22:59:16
409,060,256
1
2
null
null
null
null
UTF-8
Python
false
false
170
py
from abc import ABC, abstractmethod class BaseDataException: def __init__(self): pass class BaseDataResource(ABC): def __init__(self): pass
[ "donff2@aol.com" ]
donff2@aol.com
7b379894b965c9d4075a931065d2bef86b5ffce5
99f3a1ca940b0b8324e1a161275232f38f7bf062
/languagefundamentals/helloworld.py
eca48e1098deaff6e1fc80c993ed5662346223a5
[]
no_license
luminartraining/LuminarPythonNovembersecond
1bd797f0ffd3eb69d3f8d2c7d61b56eafa930278
828eddd5cae6cea95c49897aab3e52296bead8df
refs/heads/master
2023-02-11T11:14:56.481302
2021-01-12T03:53:22
2021-01-12T03:53:22
315,840,003
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
name=input("enter value for name") age=input("enter value for age") print(name,",",age)
[ "sajaykannan10@gmail.com" ]
sajaykannan10@gmail.com
97120abbaef7218f44a68259d15d942519f316c9
a0eb6744e6f7f509b96d21f0bc8b3f8387f6861c
/notebook/format.py
ba84e0a8305a9d3f50bfc6ac077185065f4cb0f1
[ "MIT" ]
permissive
nkmk/python-snippets
a6c66bdf999502e52f4795a3074ced63bf440817
f9dd286a9cf93f474e20371f8fffc4732cb3c4d5
refs/heads/master
2023-08-03T04:20:05.606293
2023-07-26T13:21:11
2023-07-26T13:21:11
98,900,570
253
77
MIT
2020-10-25T01:12:53
2017-07-31T14:54:47
Jupyter Notebook
UTF-8
Python
false
false
7,301
py
i = 255 print(format(i, '#04x')) print(type(format(i, '#04x'))) # 0xff # <class 'str'> s = 'abc' print(format(s, '*^10')) # ***abc**** print('{:#04x}'.format(i)) print(type('{:#04x}'.format(i))) # 0xff # <class 'str'> print('{:*^10}'.format(s)) # ***abc**** print('{}-{}-{}'.format(255, 'abc', 1.23)) # 255-abc-1.2...
[ "nkmk.on@gmail.com" ]
nkmk.on@gmail.com
f4b8a033fac52e6943eb9acf2c51a3558d895b3d
5672737d1ff34bebfeb408426e52ed49df8be3bb
/graphgallery/nn/models/pytorch/graphat/gcn_vat.py
16c9925e8943abeffed187256571f99b720da3dc
[ "MIT" ]
permissive
sailfish009/GraphGallery
5063ee43340a6ca8da9f2d7fb3c44349e80321b2
4eec9c5136bda14809bd22584b26cc346cdb633b
refs/heads/master
2023-08-24T19:19:59.714411
2021-10-16T10:10:40
2021-10-16T10:10:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,003
py
import torch import torch.nn as nn from torch import optim from graphgallery.nn.models import TorchEngine from graphgallery.nn.models.pytorch.graphat.utils import * from graphgallery.nn.layers.pytorch import GCNConv, Sequential, activations from graphgallery.nn.metrics.pytorch import Accuracy class GCNVAT(...
[ "cnljt@outlook.com" ]
cnljt@outlook.com
c3dcb2560dc09036e85f58125f829875ef3bd458
d2c9e35f7895ce4291a7e0d7a71d5e6e8f05c2a1
/dependencies/generate maps/pythongis/vector/fileformats/thirdparty/stata_dta/stata_dta.py
651c2a4af9910bd3c5a125a802496f17d8433723
[ "MIT" ]
permissive
karimbahgat/ToponymGeoreferencingPaper
23596328c77d781696ae1efcf8f1ad131aef545a
eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f
refs/heads/master
2023-04-12T18:09:24.292247
2021-12-08T12:44:46
2021-12-08T12:44:46
167,424,976
3
0
MIT
2022-11-22T04:22:13
2019-01-24T19:33:11
Python
UTF-8
Python
false
false
258,671
py
from __future__ import print_function from struct import pack, unpack from struct import error as StructError from math import log, floor, sqrt from datetime import datetime import os import ntpath import collections import re import copy import sys import warnings PY3 = sys.version[0] == "3" if not PY3: str = un...
[ "karim.bahgat.norway@gmail.com" ]
karim.bahgat.norway@gmail.com
2217a4be07b2f3b7341c7c66b067c8788be6ca5b
ad8ef6a83cc1f205aa5d01b3a98639773054fca3
/2015/8b.py
9d4f36bc636337681a212196aa67e5f975d6b59d
[]
no_license
adamchainz/advent-of-code-dot-com-answers
9f23219a8160295d2165a68879bac0ee5bf60364
c0b8a26eed6a676017347957c24e0a29dfe41aa9
refs/heads/master
2023-07-20T04:38:54.784249
2021-12-05T18:13:07
2021-12-05T18:13:07
48,240,312
0
1
null
2018-12-24T15:54:55
2015-12-18T14:47:09
Python
UTF-8
Python
false
false
668
py
#!/usr/bin/env python3 import re def main(): diff = 0 with open('8.txt', 'r', encoding='utf-8') as f: for line in f: diff += data_code_diff(line.strip()) print(diff) def data_code_diff(string): code = '"' for char in string: if char == '"': code += '\\"' ...
[ "adam@adamj.eu" ]
adam@adamj.eu
12470c9647d51f1c018b3a442c9b1a0e70f54bf7
00456c17d94afcf8e27b0d9c0a3a0a36ca584748
/venv/Scripts/pip3.6-script.py
43ec85d8f70ce1c63c736b7b86f3285d943f73ad
[]
no_license
LiuXTao/Spider
99c970b9d1febae6735234373989c039b12ee021
f7b0eaa39e510d0537eb163f0daa3e3121c5bb15
refs/heads/master
2020-03-26T06:36:22.858074
2018-08-13T17:36:48
2018-08-13T17:36:48
144,612,368
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
#!D:\pyCase\pachong\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "email@example.com" ]
email@example.com
61fc31cb015d1bd3157134d63208c910d45908a0
16c5a7c5f45a6faa5f66f71e043ce8999cb85d80
/app/__init__.py
4c2be95c5ebc33104cbda0d92c3b2b0274b56363
[]
no_license
vectorhuztt/test_android_copy
ca497301b27f49b2aa18870cfb0fd8b4640973e5
f70ab6b1bc2f69d40299760f91870b61e012992e
refs/heads/master
2021-04-03T19:26:48.009105
2020-06-05T01:29:51
2020-06-05T01:29:51
248,389,861
1
1
null
null
null
null
UTF-8
Python
false
false
66
py
#!/usr/bin/env python # encoding:UTF-8 # @Author : SUN FEIFEI
[ "vectorztt@163.com" ]
vectorztt@163.com
8c4a82f154065b5b30059b5fd540a1421f4ccf44
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/surface/compute/instances/remove_tags.py
a80f76e0163b0a9b2ff090714e72ee79bab321dd
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
2,101
py
# Copyright 2014 Google Inc. All Rights Reserved. """Command for removing tags from instances.""" from googlecloudsdk.api_lib.compute import base_classes from googlecloudsdk.calliope import arg_parsers from googlecloudsdk.third_party.py27 import py27_copy as copy class RemoveTags(base_classes.InstanceTagsMutatorMixin...
[ "joe@longreen.io" ]
joe@longreen.io
e6552e166d4e0a2abbdb7a29754dee14a6247599
517d9d0b7d54b01f2f4062969ebc0a9afb70617d
/amadon/amadon/urls.py
278484270bd86fd57655bcb01f2cc97072625678
[]
no_license
cd-chicago-june-cohort/jp_django_intro
3caad7d0c880f82f6db93ad710de57bba6ccaa3e
df76ddedb5d436336246d182427e47e582828e14
refs/heads/master
2021-01-01T04:28:01.857471
2017-10-12T16:48:53
2017-10-12T16:48:53
97,178,445
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
"""amadon URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "jpdoherty90@gmail.com" ]
jpdoherty90@gmail.com
9cecf0c20d4e6602ad0e28c4da6127f6ad5bdef7
f374ad4cecdd63a06e7270bfac8de4f8e71a0354
/ch02_python_basic/sec04_hanshuyumokuai/g2_4_4_mokuaidejibenyufa.py
d3970a95f2a8aa6130308285ee0361b64c37b114
[]
no_license
leijiancd/book_python_gis
90a5d8721b2816c3042a1e7ca581e1a8a544ef82
14467c565796d3377d5d2e00dd09ce0fc9007371
refs/heads/master
2021-01-20T15:26:53.290859
2016-12-07T15:51:33
2016-12-07T15:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# -*- coding: utf-8 -*- import os def print_file_path(indir): for wroot, wdirs, wfiles in os.walk(indir): for wfile in wfiles: (file_name, file_ext) = os.path.splitext(wfile) if ('wx' in file_name) and (file_ext == '.py'): filepath = os.path.join(wroot.wfile) ...
[ "bukun@osgeo.cn" ]
bukun@osgeo.cn
7f15918eb347719418c97b65cd61ffca7ff7a496
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/list_get_element-27.py
169ea0b14613549b1675a4c16708dce02c19c744
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
x:[int] = None x = [1, 2, $INT] print(x[0]) print(x[1]) print(x[2])
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
4a37bd3130627bb4f420eb8ee0d4a37a36561b12
55c24645dd63a1c41037dcfb9fb45bc7bcdea4be
/venv/lib/python3.7/site-packages/sqlalchemy/sql/ddl.py
4c58aa96667400bae75ae0f199174d886237f311
[]
no_license
abdullah-nawaz/flask-boilerplate
7c42801a21ee3e6a647cc8a7d92e0285f8e86cad
01bc7fe1140e8ec613de4a38546a07ddfbdbd254
refs/heads/master
2022-12-02T05:06:08.297759
2020-06-24T21:36:32
2020-06-24T21:36:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,106
py
# sql/ddl.py # Copyright (C) 2009-2020 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """ Provides the hierarchy of DDL-defining schema items as well as routines to invoke them...
[ "muhammadabdullah@wanclouds.net" ]
muhammadabdullah@wanclouds.net
2a2f8f84a3a6a5593477123de0fc86529c97ec71
4e03c7bf21da7f66761e451b99532358cb1ad633
/automatron_markov/reply.py
bcc8f02edf9276015d212d02a76781ad457e3c4b
[ "MIT" ]
permissive
automatron/automatron-markov
a7ffe6946d57a133a5383fccb45d721a6137197b
59247a7a6c272ddb25a16927802f3f406b4393bb
refs/heads/master
2021-01-18T20:17:57.042005
2014-03-25T08:18:47
2014-03-25T08:18:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
import random from twisted.internet import defer from twisted.python import log from automatron_markov import decode, encode, CLEANUP_RE, PHRASE_RE @defer.inlineCallbacks def build_reply(redis, prefix, message): query_words = sorted([ (word, int(frequency)) for word, frequency in [ (wo...
[ "iksteen@gmail.com" ]
iksteen@gmail.com
f6a044219f4a7b987897ec8ff05bc782f816fd9b
0aaaea0952acaf94d8637c883378a5a3cd5981f0
/src/vcnmodel/analyzers/analyze_run.py
46724ddcf6c44f2e83791347631fe71568220dad
[]
no_license
pbmanis/VCNModel
ee9bd37472c69d5e283684d4c118e5d44e1624a5
e0e9ac1a0757dc3e0ff63df2524a1340f04a7e8c
refs/heads/main
2023-09-04T05:17:23.869116
2022-08-31T16:22:46
2022-08-31T16:22:46
37,219,106
0
0
null
null
null
null
UTF-8
Python
false
false
15,381
py
import os import pickle from typing import Union import numpy as np from lmfit import Model from lmfit.models import ExponentialModel from pylibrary.tools import utility as pu verbose = False """ Perform analysis of IVs pip from model_run Provides basic analysis for: 1. Current clamp IV 2. Voltage clamp IV ...
[ "pmanis@med.unc.edu" ]
pmanis@med.unc.edu
dbc3eaaa8e70480e0346c43ab156141708dae39d
4ae178e2f872acba3acdcb06cb145b82e48908f8
/trial_test_ws/devel/lib/python2.7/dist-packages/moveit_planners_ompl/cfg/__init__.py
47688ce7d05e4ddb429d946930eb61d8de5a80d0
[]
no_license
ZhikaiZhang1/ros-lbr-repo
51279a0c1e00f1e1d5f0f3be2e3feb2dc04600df
8fce59c6145481a0ec58d345cb3caa641c59f78e
refs/heads/master
2023-06-04T15:55:18.769023
2021-06-22T12:34:00
2021-06-22T12:34:00
380,094,172
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
/home/logan/trial_test_ws/devel/.private/moveit_planners_ompl/lib/python2.7/dist-packages/moveit_planners_ompl/cfg/__init__.py
[ "zhikaizhangHULK@gmail.com" ]
zhikaizhangHULK@gmail.com
c23b5bd19cefd3e7d4b03d2989e0c92a41ec9db9
795b68819d51af14dfabb8dbe40c9e8153029188
/Algorithms/Smallest_enclosing_circle/start.py
1af419e971ded337cfd8d93d56493d1770b85c31
[]
no_license
MotazBellah/Code-Challenge
507f1fd3d5b3265e54905979c80d609afd81c54d
c38c95239193e26c1a88f6736d2ab9ee37185964
refs/heads/master
2022-02-25T02:54:10.216892
2022-02-19T19:28:05
2022-02-19T19:28:05
193,115,018
1
0
null
null
null
null
UTF-8
Python
false
false
3,202
py
#!/usr/bin/env python import math import random import itertools import matplotlib.pyplot as plt import json from find_circle import circle_three_points, circle_two_points # Function to generate random points def generate_points(): # Get random no. of the points points_length = random.randint(25, 60) # Cre...
[ "engineer.android@yahoo.com" ]
engineer.android@yahoo.com
c84bdd2dcb47e5b0696cc9ff4b5062800d209c78
d58a58261efe1db9f2956be1e7081dbd4e7eeb0f
/options/distill_options.py
ca3badf73abeeae8daade43229e868bd5e91b822
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
mit-han-lab/gan-compression
6245dc896ce79470e6a55a39e678ec32197c0fc0
3dd79dd4973e4bdad511169fde89b3e9e12adc5e
refs/heads/master
2023-08-24T09:12:58.311288
2022-11-10T00:57:24
2022-11-10T00:57:24
245,032,939
1,135
166
NOASSERTION
2023-02-16T00:44:54
2020-03-05T00:27:13
Python
UTF-8
Python
false
false
6,816
py
import argparse import data import distillers from options.base_options import BaseOptions class DistillOptions(BaseOptions): """This class defines options used during both training and test time. It also implements several helper functions such as parsing, printing, and saving the options. It also gath...
[ "lmxyy1999@foxmail.com" ]
lmxyy1999@foxmail.com
40604bab06f1b1fe27257806b8262f0688d584bf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03112/s269554044.py
960b0fea16f775f8e2f1067082ab010c7143f0e4
[]
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
1,186
py
import bisect import sys input = sys.stdin.readline A,B,Q = map(int,(input().split())) s = [[0]*3 for _ in range(A)] t = [[0]*3 for _ in range(B)] x = [[0]*3 for _ in range(Q)] slen = [] tlen = [] road = [] for i in range(A): s[i][0] = int(input()) slen.append(s[i][0]) s[i][1] = "s" road.append(s[i]) f...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f4b654e9779b3aab71862108e6711592a4e1d1f2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03137/s551664270.py
5247383e9246c6b1a18dabfc1f9fbff93aba0d48
[]
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
229
py
n, m = list(map(int, input().split())) x = list(map(int, input().split())) x = sorted(x) dist = [x[i+1] - x[i] for i in range(len(x) - 1)] dist = sorted(dist) if n == 1: print(sum(dist)) else: print(sum(dist[:-(n-1)]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
639d9e08ab59b055ccc7a5c385e964057f6b4211
2ba4fc06d78d54b5a284f84841512c8e302b14d4
/st_wd/gln_binding_protein/PyrosettaScores.py
72aee632c9f99297f1aa5f2e91511790793e4fc4
[]
no_license
sophia-tan/combs_backup
6e64e41344a4f8267d611f10ed9d7d68b943add3
ef565d73563169ef63b32a5ba8bbffe10a1ac9d1
refs/heads/master
2021-09-03T15:07:58.737204
2018-01-10T01:46:55
2018-01-10T01:46:55
112,664,634
0
0
null
null
null
null
UTF-8
Python
false
false
4,363
py
import optparse # for option sorting import numpy as np from pyrosetta import * init() init(extra_options = "-constant_seed -ignore_unrecognized_res") # WARNING: option '-constant_seed' is for testing only! MAKE SURE TO REMOVE IT IN PRODUCTION RUNS!!!!! def pose_scoring(pose, display_residues = []): # create a ...
[ "bob@bobigail.com" ]
bob@bobigail.com
9cd1b4b3c52ccfe813a01162d7c04731e4e96f23
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/common/Lib/urllib2.py
1ca0095605d00351a1cd2e8326bdc8cf5be95adc
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
41,797
py
# 2016.11.19 19:57:28 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/urllib2.py """An extensible library for opening URLs using a variety of protocols The simplest way to use this module is to call the urlopen function, which accepts a string containing a URL or a Request object (described below)....
[ "info@webium.sk" ]
info@webium.sk
de1556cd603ae1d06e6fd1955b42ad03063e22e2
3b9338d99cf8090387418e32ca81617f072c39fb
/waf-light
7593eaa955c1638a506c4a1e69389b55f1bc9778
[]
no_license
sillsdevarchive/wsiwaf
8ca14c286bafceb9ee6fad740b64ad7131282dc3
2dcddafc3602a7220acbe995df4ba85abb06b767
refs/heads/master
2020-12-30T17:10:21.701380
2017-05-12T05:12:17
2017-05-12T05:12:17
91,052,898
0
1
null
null
null
null
UTF-8
Python
false
false
4,078
#!/usr/bin/env python # encoding: ISO8859-1 # Thomas Nagy, 2005-2011 """ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions a...
[ "tnagy1024@f0382ac9-c320-0410-b3f0-b508d59f5a85" ]
tnagy1024@f0382ac9-c320-0410-b3f0-b508d59f5a85
cd8cd184812e3abf35a2b97e5718ece061cfa84a
e1dd6d9dccb822d472b7f4f9e8446dd9202eb5a1
/sdk/argo/sdk/models/io_k8s_api_core_v1_service.py
c45e1565d9dbcab07a9359b514df4da54d5e87ff
[]
no_license
swiftdiaries/argo_client
8af73e8df6a28f9ea5f938b5894ab8b7825e4cc2
b93758a22d890cb33cbd81934042cfc3c12169c7
refs/heads/master
2020-05-17T12:11:57.556216
2019-07-24T23:23:33
2019-07-24T23:23:33
183,701,327
0
0
null
null
null
null
UTF-8
Python
false
false
7,533
py
# coding: utf-8 """ Argo API Client Generated python client for the Argo Workflows # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from argo.sdk.models.io_k8s_api_core_v1_service_s...
[ "adhita94@gmail.com" ]
adhita94@gmail.com
30ef3fd554174307baa9f1ab9f46b2f5e63769a7
7fb87945b77d3adaedd8a155c981e97946734e41
/repoze/who/_compat.py
4a5732770ca65658bc84ef981ae07674a1765453
[]
no_license
Tony910517/openstack
916b36368ea9f17958e4eb04bd1f9daf3aba9213
4c1380a03c37e7950dcf2bba794e75b7e4a8dfd0
refs/heads/master
2020-05-20T01:05:22.499224
2019-05-07T01:11:05
2019-05-07T01:11:05
185,292,662
0
0
null
null
null
null
UTF-8
Python
false
false
3,847
py
try: STRING_TYPES = (str, unicode) except NameError: #pragma NO COVER Python >= 3.0 STRING_TYPES = (str,) try: u = unicode except NameError: #pragma NO COVER Python >= 3.0 u = str b = bytes else: #pragma NO COVER Python < 3.0 b = str import base64 if 'decodebytes' in base64.__dict__: #pragma N...
[ "471123674@qq.com" ]
471123674@qq.com
3bae4701fed070b89cc4f0a4725f35c6458581e4
6e878c4815e99a5b2c25893b59e63775c63a7873
/reader/adapters/__init__.py
76c6b7499bab8e04b8317871515dab42e04d594c
[]
no_license
weiyinfu/Reader
2e44c0f9abbb4b391859ca6abfa0a064d13c8bc8
efe1c32436e85e8ce14c60943ba569d7df9aeb22
refs/heads/master
2022-06-09T11:34:02.123300
2022-04-30T05:48:14
2022-04-30T05:48:14
99,140,490
3
0
null
2022-02-05T06:35:33
2017-08-02T16:49:04
Python
UTF-8
Python
false
false
32
py
""" 各个书籍的适配器 """
[ "weiyinfu.weiyinfu@bytedance.com" ]
weiyinfu.weiyinfu@bytedance.com
7a9fd34f608d258fa2b4dbe8608db07541ece3a6
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_Acl/test_c143972.py
f2061d484026b85aacc4cd72ed471cca44d05e4b
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
3,785
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def import * from page_obj.scg.scg_button import * from page_obj.scg.scg_def_log import * from page_obj.common.rail import * from page_obj.scg.scg_dev impo...
[ "15501866985@163.com" ]
15501866985@163.com
74f2c0de3b35089424db1e01a89aa4e038b55004
af059741171257dfe7e2a5e719fa389fd007523e
/bypy/pkgs/qt_base.py
40965355bf5fabc37f00a65b0f1aef139399dded
[]
no_license
844189873/bypy
df4b13d2a47df5a4d49a346ae0f2097b94a295db
2bd8403752ed32d56c7be4050a2f622c421b7dcf
refs/heads/master
2023-02-28T07:50:12.765416
2020-10-03T09:09:08
2020-10-03T09:09:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,120
py
#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2019, Kovid Goyal <kovid at kovidgoyal.net> import os import shutil from bypy.constants import (CFLAGS, LDFLAGS, LIBDIR, MAKEOPTS, NMAKE, PREFIX, build_dir, islinux, ismacos, iswindows) from bypy.utils import replac...
[ "kovid@kovidgoyal.net" ]
kovid@kovidgoyal.net
3e0f469ecfaaf95c769dc75ed789fde4447f436f
d8ff8d809fcff5f8370e317d837485648cc6ac9b
/jieba_test/first_jieba.py
3dd0faa7c47cfbaf9d58bbbbed9760212dafb3eb
[]
no_license
xiabofei/python_details
c9b1ebfdc9574201b8ac21ebd8aa5e0e8442d3de
1d6950d0fc32997e6f6e6cb269cd1ef4bb233c2f
refs/heads/master
2020-04-02T06:35:05.659746
2019-04-05T06:11:58
2019-04-05T06:11:58
60,343,232
3
0
null
null
null
null
UTF-8
Python
false
false
233
py
#encoding=utf8 import jieba seg_list = jieba.cut('我来到知春路东华合创大厦', cut_all=True) print "\t".join(seg_list) seg_list = jieba.cut('我来到知春路东华合创大厦', cut_all=False) print "\t".join(seg_list)
[ "xbf9xbf@qq.com" ]
xbf9xbf@qq.com
cb21407ce4bbf7d6a29a05ba01276a91dbd5f9af
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/bhrjam001/question4.py
1a5eff0ec6409fbbd70ddf097c83ca7a631e3131
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
# James Behr # 2014-04-23 # Assignment 6 Question 4 def printlabel(label, count): '''Print out a histogram 'label' and a 'count' number of Xs''' print('{:2}|{}'.format(label, 'X' * count)) def rangefilter(lst, lower, upper): '''Return 'lst' where the values lie between upper and lower''' r...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
440af96b955a09ab2d41fa303ef5b964f48929ce
1375f57f96c4021f8b362ad7fb693210be32eac9
/kubernetes/test/test_v1_resource_quota_spec.py
12a593c68dcfcbb87e9c9a41109662751afde02a
[ "Apache-2.0" ]
permissive
dawidfieluba/client-python
92d637354e2f2842f4c2408ed44d9d71d5572606
53e882c920d34fab84c76b9e38eecfed0d265da1
refs/heads/master
2021-12-23T20:13:26.751954
2017-10-06T22:29:14
2017-10-06T22:29:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
2a41e05bf40a5b3d6e26ff4ff1e7a279f1ef856f
c635ff855ce2fdbae22c402a683af44d41beee44
/Compucell/lib/site-packages/cc3d/twedit5/twedit_plus_plus_cc3d.py
ff7a1ad34b5c1b35212b3a66763cb96b17ca4fcf
[]
no_license
teinvdlugt/ru-modellenpracticum
d2ff87c6253429c3c5a55a3b60c9e9cdcc6eaf44
d1a1ba344fdddd4cab988cd265d64665b612bbac
refs/heads/master
2022-11-20T19:09:07.504230
2020-07-10T14:32:32
2020-07-10T14:32:32
256,532,365
1
0
null
null
null
null
UTF-8
Python
false
false
4,956
py
from os import environ import platform import getopt from cc3d.twedit5.twedit.utils.global_imports import * from cc3d.twedit5.twedit.CQt.CQApplication import CQApplication from cc3d.twedit5.EditorWindow import EditorWindow from cc3d.twedit5.DataSocketCommunicators import FileNameSender import sys from cc3d.twedit5.wind...
[ "kjartanvandriel@gmail.com" ]
kjartanvandriel@gmail.com
21d94b3df6e7bcb1a5974eb5156e71492fd72493
5d827651186ebd369c718f5afc5702305b89d62b
/e_courier/delivery_service/forms.py
8de2ebac6b2476d5a16ff1aa94f17e83fad47985
[]
no_license
iamlaboniraz/E-courier-Project-for-RMG-Industry
13b027acb9fb2d53b8417acaef6cdf28772bd940
b23bd9b78bab71299b05b97af29947d1866c1a12
refs/heads/master
2023-04-11T09:40:58.602925
2021-04-29T16:40:32
2021-04-29T16:40:32
280,169,627
0
0
null
null
null
null
UTF-8
Python
false
false
2,101
py
from django import forms ## -- from models -- ## from industry.models import Industry from .models import DeliveryProduct, TypesOfProduct, DelevaryInfo, OrderUpdate ## ---- ## -- for product delivery Form -- ## class deliverForm(forms.ModelForm): class Meta: model = DeliveryProduct fields = ['fro...
[ "you@domain.com" ]
you@domain.com
179715b551a3f4a51996e9dadb84779bd2a8978a
a0afdd22430c9324278e21cb2ec71172fa9d9136
/mango/oracles/serum/serum.py
6200bee58ef2a8fc09e7391576c8941d8014e28b
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
jeromeku/mango-explorer
8e00cdc5f9154184004afb02637dd10bb98be089
5d26b782e25886d794b1f90cbf761fb9ce3100b7
refs/heads/master
2023-07-18T05:08:21.882520
2021-08-16T21:42:38
2021-08-16T21:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,465
py
# # ⚠ Warning # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT # LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN # NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIA...
[ "geoff@knife.opgeek.lan" ]
geoff@knife.opgeek.lan
9cf4fc32ab279cafb498c45fd94f4cb275057667
8535bbc7781c4691880c935bd7025646f0dbb7c3
/co-prime.py
725d4ecdc13e4848a45b1f518d5385a3dcc07c78
[]
no_license
Mahadev0317/Codekata
3b2149f3116ebe4b48b2059b873544c27b23ff39
c35fa0ed0c4870faea69152638f461e743a9ff69
refs/heads/master
2020-04-15T04:59:17.062947
2019-05-29T04:46:35
2019-05-29T04:46:35
164,404,727
1
2
null
null
null
null
UTF-8
Python
false
false
249
py
n,k=input().split() n=len(n) k=len(k) li=[] def factors(x): for i in range(2,x+1): if x%i==0: li.append(i) factors(k);factors(n) lis=[] for i in li: if i in lis: print("no") break else: lis.append(i) else: print("yes")
[ "noreply@github.com" ]
Mahadev0317.noreply@github.com
4b62c051124e5b1450537347a64b7c3ad645a382
b8a3e758eff2922ff6abc77947d879e3f6d1afa3
/ws_baxter/devel/lib/python2.7/dist-packages/baxter_msgs/msg/_JointPositions.py
f0e22fa38e94e952731c0d0745601da81db99a85
[]
no_license
rrowlands/ros-baxter-coffee
ab7a496186591e709f88ccfd3b9944428e652f3e
32473c3012b7ec4f91194069303c85844cf1aae7
refs/heads/master
2016-09-05T20:58:20.428241
2013-12-02T23:10:44
2013-12-02T23:10:44
14,313,406
0
1
null
null
null
null
UTF-8
Python
false
false
5,024
py
"""autogenerated by genpy from baxter_msgs/JointPositions.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class JointPositions(genpy.Message): _md5sum = "a43c815223f80009ee6700b6d1dd906a" _type = "baxter_msgs/JointPositions" _has_header = False...
[ "peth8881@csel-112-02.csel.loc" ]
peth8881@csel-112-02.csel.loc
3162b56e514c6c9256656545c74f770edcfdc951
2836c3caf8ca332635640a27254a345afd449081
/sbw/list_forecasters.py
e7886ce44af3b605d1ded5ee7bfabf19ad8edcea
[ "Apache-2.0", "MIT" ]
permissive
akrherz/DEV
27cf1bac978a0d6bbfba1851b90d2495a3bdcd66
3b1ef5841b25365d9b256467e774f35c28866961
refs/heads/main
2023-08-30T10:02:52.750739
2023-08-29T03:08:01
2023-08-29T03:08:01
65,409,757
2
0
MIT
2023-09-12T03:06:07
2016-08-10T19:16:28
Jupyter Notebook
UTF-8
Python
false
false
941
py
"""A one off.""" import pandas as pd from pandas.io.sql import read_sql from pyiem.util import get_dbconn def main(): """Go Main Go.""" pgconn = get_dbconn("postgis") df = read_sql( """WITH data as ( SELECT distinct wfo, eventid, extract(year from issue) as year, fcster from warni...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
fe72dad681e036e5d358509f5f2a005805aa1a74
b48a1d5733d10c39a112698c2286ae1afb02f36a
/studygroups/migrations/0141_studygroup_online.py
5ae491902b6bfd6d1faf869939d20c69055aa80c
[ "MIT" ]
permissive
p2pu/learning-circles
ecb317aaa8620cb076ce45c42d055e89e6586516
ae8de4df48aae0844fb50dca5c62c099b3b2b0a3
refs/heads/master
2023-08-19T19:18:09.198077
2023-08-10T09:23:58
2023-08-10T09:23:58
32,735,768
11
10
MIT
2023-08-10T09:30:04
2015-03-23T14:05:41
Python
UTF-8
Python
false
false
396
py
# Generated by Django 2.2.13 on 2020-11-11 14:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('studygroups', '0140_auto_20201110_0854'), ] operations = [ migrations.AddField( model_name='studygroup', name='onli...
[ "dirkcuys@gmail.com" ]
dirkcuys@gmail.com
48c477aa136b0c5a495630b2d5cac6f4bd33b21c
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/4469/codes/1636_2728.py
48bd6104fd3a6ca550ba02877c8853a505d10fc4
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
187
py
percurso = float(input("Percurso: ")) tipoCarro = input("Tipo do carro: ") if(tipoCarro.upper() == "A"): consumo = percurso / 8 else: consumo = percurso / 12 print(round(consumo, 2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
bd326b9ccfdad76afc4c7dd713b8352a2d2183a6
ca5de66d73dcf62b3d3f9014f4577ed3119054c5
/ivy_tests/test_nn/test_stateful/test_training/test_on_call_build.py
64a6d8f14b4aa4245b7e200987dbae8086e2028a
[ "Apache-2.0" ]
permissive
MZSHAN/ivy
172dea365e8a903d3548b786cbb0f10d4fd03406
02ac7e8ee2202563049116186fe6595313d65cc1
refs/heads/master
2023-08-20T19:02:57.389728
2021-10-23T12:34:54
2021-10-23T12:34:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,373
py
""" Collection of tests for training neural network layers with "on call" building """ # global import pytest import numpy as np # local import ivy import ivy_tests.helpers as helpers # Weight Conditioned Network # # ---------------------------# class FC(ivy.Module): def __init__(self, output_size=1, num_laye...
[ "daniel.lenton11@imperial.ac.uk" ]
daniel.lenton11@imperial.ac.uk
bb362258af262dc95ffda060c3e511444467ca11
8e3a3c845ca3320483b233e8a0db4081aa3b8664
/teoria/migrations/0003_auto_20160723_0113.py
4b0970522af2059dcf48f1bed58ae6acced6f669
[]
no_license
sofide/loiprocesos
7d56398395e6f3302f4d9ec3627ed1b4c24bc17a
4047fa02d0cfbcf744c80d59e3402215f8b294d3
refs/heads/master
2021-07-08T03:26:55.171459
2020-08-04T03:23:10
2020-08-04T03:23:10
61,167,908
0
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-23 04:13 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('teoria', '0002_auto_20160708_1849'), ...
[ "sofi.denner@gmail.com" ]
sofi.denner@gmail.com
b1adfbb6d44dd8d398fd1bc771c03d6ef6943817
d3b907d29603a687e38aa1b8d20b429cb61b3ce2
/pycones/core/helpers/files.py
5100bc14b21f39e964f285a0db85ce5e6ea8308f
[ "MIT" ]
permissive
python-spain/PyConES-2016
f191708330d2d7944d414ff2a442ae06f38713a1
618deb55168f7b93f9569b0813f6fa26274b45ee
refs/heads/master
2020-04-06T05:05:41.535114
2017-01-24T14:31:04
2017-01-24T14:31:04
55,438,888
4
9
null
2016-10-04T00:13:31
2016-04-04T19:30:16
Python
UTF-8
Python
false
false
1,422
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import time import random import hashlib import os from django.utils.encoding import smart_text from django.utils.deconstruct import deconstructible from django.utils.text import slugify @deconstructible class UploadToDir(object): """Generates a fun...
[ "marcosgabarda@gmail.com" ]
marcosgabarda@gmail.com
61c1834890e05c9ad57dd37e2a0f1b0c270add2a
671be233c177e7c3fd1993456350cc1db82aa413
/Association Learning/apriori.py
0a4759ae6b54323c2c2920a82d196ab64dc7450f
[]
no_license
maanavshah/machine-learning
d4836034498388a4c8d03590d528e084086cb2be
f8566e717efc30a97f7bd3ca4c382056fa752312
refs/heads/master
2022-09-03T19:13:51.499445
2020-05-28T09:37:40
2020-05-28T09:37:40
255,892,241
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
# Importing the libraries from apyori import apriori import numpy as np import pandas as pd import matplotlib.pyplot as plt # Importing the dataset dataset = pd.read_csv('Market_Basket_Optimisation.csv', header=None) # Apriori needs list of lists as input transactions = [] for i in range(0, 7501): transactions.ap...
[ "shah.maanav.07@gmail.com" ]
shah.maanav.07@gmail.com
055610b36a8e2b149c9bbdec40a36691a1b1ad5a
6f7c425a09118e7c84431183474a5bf906e518fa
/src/easy_ftp/__init__.py
2cfc0881de1ce6a9009bbd6c0b79ab3f805a24fd
[ "Apache-2.0" ]
permissive
mogproject/easy-ftp
8a7ee8c98b67a6e218cd9c96afa620d399cbc6e2
843fd113a0e78e710f551d3669acf850dd79ffa5
refs/heads/master
2021-09-08T00:53:31.605662
2018-03-04T19:39:42
2018-03-04T19:39:42
123,651,217
0
0
Apache-2.0
2018-03-04T19:39:43
2018-03-03T02:17:02
Python
UTF-8
Python
false
false
641
py
import os import sys __version__ = '0.0.1' # # Constants # VERSION_HELP = "Show program's version number and exit." # # Utility Functions # __program_name = os.path.basename(sys.argv[0]) def _print_version(ctx, param, value): import click if not value or ctx.resilient_parsing: return click.ec...
[ "mogproj@gmail.com" ]
mogproj@gmail.com
e2279333f75e244a99b5a01fbe7c87df48ab7aa6
709755d919b2965c52638c85abd94b56faa99290
/indexed_gzip/__init__.py
94d203be17a61082e38a66fcad901cdb0c5b35ff
[ "Zlib" ]
permissive
Md-Sh/indexed_gzip
77d78b3a6eb93954fc9b2f7f517e1e095eda72c4
9b5181454830baf8eb1a3110be6c3655a2f02f76
refs/heads/master
2021-07-06T06:13:14.431351
2017-10-03T13:06:15
2017-10-03T13:06:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
#!/usr/bin/env python # # __init__.py - The indexed_gzip namespace. # # Author: Paul McCarthy <pauldmccarthy@gmail.com> # """The indexed_gzip namespace. """ from .indexed_gzip import (IndexedGzipFile, SafeIndexedGzipFile, NotCoveredError, ...
[ "pauldmccarthy@gmail.com" ]
pauldmccarthy@gmail.com
e5044e434f01444030eedffb001049d70b5ec34b
a97c7ed367a0d4f0b3af2d21a7cf8e4cbf460c3c
/pandaharvester/harvestercore/pilot_errors.py
498447959bdeb937ae2e845258c67cf501e39267
[ "Apache-2.0" ]
permissive
wguanicedew/panda-harvester
88894aa9cee628113bdedc08d79f199d47d989c9
29c5560fbbea34495edb13ff379b4ec8aaf9c794
refs/heads/master
2020-03-15T12:54:12.300314
2018-12-07T13:16:20
2018-12-07T13:16:20
132,154,206
0
0
null
2018-05-04T14:58:31
2018-05-04T14:58:30
null
UTF-8
Python
false
false
17,559
py
# Error codes : Taken from pilot1. To be removed once pilot2 API is ready class PilotErrors: """ Pilot error handling """ # error codes ERR_UNKNOWNERROR = 0 ERR_GENERALERROR = 1008 ERR_DIRECTIOFILE = 1009 # harmless, just means that copy-to-scratch was skipped in favor or direct i/o access ERR...
[ "tmaeno@bnl.gov" ]
tmaeno@bnl.gov
b666b879f32ec11b852e8d30a3abd9ce75c99f5f
8e718563c4a33d4befad646c36c0a6cc4b1cded1
/newsheadline/newsapp/views.py
474ffcb68e07917d708a577414bf678a13773714
[]
no_license
viplavdube/WebScraping
2cf2f3123f12229eeebeb9ff1ccf20a2ae4d62b0
f9c899a2007f3d47c7b6cd3bc631a1a1e27d1c4f
refs/heads/master
2023-01-02T09:02:32.851074
2020-10-21T06:58:19
2020-10-21T06:58:19
305,933,303
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
from django.shortcuts import render #times of india News headline....... import requests from bs4 import BeautifulSoup # GEtting news from Times of India toi_r = requests.get("https://timesofindia.indiatimes.com/briefs") toi_soup = BeautifulSoup(toi_r.content, 'html5lib') toi_headings = toi_soup.find_all('h2') toi...
[ "viplav45@gmail.com" ]
viplav45@gmail.com
bbd6eb89eedffb6f52afdae666fe10769e6c2af3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03644/s016636451.py
62dc0f5d721bd5d01a647dc6086617a2b74bd21b
[]
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
205
py
N = int(input()) ans = 0 res = 1 for i in range(2,N+1): j = i if j % 2 == 1: continue cnt = 0 while j % 2 == 0: j //= 2 cnt += 1 if ans < cnt: res = i ans = cnt print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9b733bade64eceac99e4ebcbed0ddb4ca7442a2f
76a3c79bd2849c809c789150971586980cedd59c
/dvalib/indexer.py
461455a7d80d5478379f7f21f95cf1953543708e
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
zhyjiang/DeepVideoAnalytics
a2072b204fe02c39532dcf5418ba7efecb55a81f
7bd911c618e63bf29404e309f7f9bd43d15d33a9
refs/heads/master
2021-06-18T06:53:57.413695
2017-07-13T19:43:17
2017-07-13T19:43:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,619
py
import numpy as np import os,logging,json from scipy import spatial try: from tensorflow.python.platform import gfile from facenet import facenet import tensorflow as tf except ImportError: logging.warning("Could not import Tensorflow assuming operating in either frontend or caffe/pytorch mode") import ...
[ "akshayubhat@gmail.com" ]
akshayubhat@gmail.com
8d0cb321aff7b7bb8cfaf9b28907ebb6c5979f14
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2278/60708/251817.py
8576eec1045f192251a1973c4cab53be7cd5ebd8
[]
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
162
py
a=input() b=input() c=input() if c=="10 11 1 2 3": print("1 10 3 1 3") if c=="3 4 55 5 6" print("7 51 50 3 6") else: print(c) print("11 3 7 3 6")
[ "1069583789@qq.com" ]
1069583789@qq.com
2a939463792dfed16aae09980501dbadfba7a1ba
429915a970f0e9489ba89e822386b653294fe8a9
/vis/apps/core/templatetags/core_tags.py
d6d76d7a84ac8b7b68a09ab55825137a518b533c
[]
no_license
jeanfrancis/vis
bd8aea5b0fba6bf3a56117e0f2228972c19fb5e7
e972d8c2120aa9bb6aea12b5a39ccbbd68530cc4
refs/heads/master
2021-01-16T21:15:40.363023
2015-02-27T16:52:30
2015-02-27T16:52:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
from django import template from wagtail.wagtailcore.models import Site from pages.models import PCCPage register = template.Library() @register.assignment_tag(takes_context=True) def get_site_root(context): # NB this returns a core.Page, not the implementation-specific model used # so object-comparison t...
[ "info@marcofucci.com" ]
info@marcofucci.com
5eb397a23b7f4cdb04bbf70befebd19413869544
e20ed90b9be7a0bcdc1603929d65b2375a224bf6
/generated-libraries/python/netapp/job/__init__.py
bf32b94425d5b0f3cad2164f9dfb3f52b5d21367
[ "MIT" ]
permissive
radekg/netapp-ontap-lib-gen
530ec3248cff5ead37dc2aa47ced300b7585361b
6445ebb071ec147ea82a486fbe9f094c56c5c40d
refs/heads/master
2016-09-06T17:41:23.263133
2015-01-14T17:40:46
2015-01-14T17:40:46
29,256,898
2
0
null
null
null
null
UTF-8
Python
false
false
116,949
py
from netapp.connection import NaConnection from job_history_get_iter_key_td import JobHistoryGetIterKeyTd # 5 properties from job_private_resume_iter_key_td import JobPrivateResumeIterKeyTd # 3 properties from job_schedule_consumer_get_iter_key_td import JobScheduleConsumerGetIterKeyTd # 5 properties from job_type_by_c...
[ "radek@gruchalski.com" ]
radek@gruchalski.com
56b31a245e622cad125c8f4fcc9a434cb9b7e1b3
a69ca52f16f3e91b68334d60edfdd1fe9adfe106
/链表/链表排序与划分/148. Sort List (linked list).py
930963204e0db36a2b25f64bb10bec5201819cae
[]
no_license
lidongdongbuaa/leetcode2.0
09535e7a44ab290ab5eed14b52058a7e4a36a55f
f1bab194c2d16905baa9e4d3ff89cb3fb1f4fdb8
refs/heads/master
2020-09-05T00:49:21.865190
2020-08-20T05:59:19
2020-08-20T05:59:19
219,935,354
3
3
null
null
null
null
UTF-8
Python
false
false
10,847
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2019/11/13 9:14 # @Author : LI Dongdong # @FileName: 148. Sort List (linked list).py '''''' ''' 题目分析 1.要求:Sort a linked list in O(n log n) time using constant space complexity. Input: 4->2->1->3 Output: 1->2->3->4 Input: -1->5->3->4->0 Output: -1->0->3->4...
[ "lidongdongbuaa@gmail.com" ]
lidongdongbuaa@gmail.com
392b8dc4985b06321d435caad89aa51a9a3a0932
5759c0ed3219c06437ce5b39ef9ad92b5e191fed
/py/0494_target_sum.py
5735cdd562d3af901f2d9885b269891767d25a10
[]
no_license
mengnan1994/Surrender-to-Reality
ba69df7c36112ad19f19157a9f368eae6340630f
66232728ce49149188f863271ec2c57e426abb43
refs/heads/master
2022-02-25T01:34:49.526517
2019-09-22T17:21:28
2019-09-22T17:21:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,950
py
""" You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have 2 symbols + and -. For each integer, you should choose one from + and - as its new symbol. Find out how many ways to assign symbols to make sum of integers equal to target S. Example 1: Input: nums is [1, 1, 1, 1, 1], S...
[ "hurricane.cui@gmail.com" ]
hurricane.cui@gmail.com
4866640c3c406ca213973d4d38bbc62f9e6255d5
b0735323f67cfa035b60b6172af356ad7b8bedd0
/GTCI_BitwiseXOR/1/SingleNumber.py
02c269b6b434630f121a48a91cc795ac87b37645
[]
no_license
arvakagdi/GrokkingTheCodingInterviews
041e744c0391fd4bb49c5df6319edac591885c50
7476f4576650def48b97c020d19ccf6746763349
refs/heads/master
2022-12-14T17:35:13.129933
2020-09-04T04:31:12
2020-09-04T04:31:12
278,866,685
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
''' Problem Statement # In a non-empty array of integers, every number appears twice except for one, find that single number. Example 1: Input: 1, 4, 2, 1, 3, 2, 3 Output: 4 Example 2: Input: 7, 9, 7 Output: 9 Solution with XOR # following are the two properties of XOR: It returns zero if we take X...
[ "noreply@github.com" ]
arvakagdi.noreply@github.com
ce9b5a68666b6726258471eb72a56c91fbd5aaba
424df052a7d3bb943d6d65ee80c81f56c203c953
/pem/_core.py
d29137925a5dd4a9ee1e4af3de454e21473f4972
[ "MIT" ]
permissive
arollyson/pem
16ecebf53109bdd87be84f9a1d4f0cdf9491f4fa
edb069e99e10ceab5a781cf460477ee3cd33a9a8
refs/heads/master
2021-05-29T10:59:17.154318
2015-08-14T14:51:23
2015-08-14T14:51:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,618
py
# -*- coding: utf-8 -*- """ Framework agnostic PEM file parsing functions. """ from __future__ import absolute_import, division, print_function import codecs import hashlib import re class _Base(object): """ Base class for parsed objects. """ def __init__(self, _pem_str): self._pem_str = _p...
[ "hs@ox.cx" ]
hs@ox.cx
a75bbe49ab39d9bce3bb5206408e1944f66f52c9
5399dd4580ea3f528753bc8b52a981743d62f8bb
/keras2/keras62_4_wine.py
5dfe5a7a65e961f979bd67dd3a37c285313aee77
[]
no_license
iwillbeaprogramer/Study
3ac7c118ffe3981d78b4ad263cb62432eae13970
3bfe571da5bbfc545b994e5878e217f9306bde14
refs/heads/main
2023-05-07T16:31:05.564973
2021-05-27T14:50:00
2021-05-27T14:50:00
324,044,441
8
1
null
null
null
null
UTF-8
Python
false
false
2,648
py
import numpy as np from sklearn.datasets import load_wine from sklearn.model_selection import train_test_split,RandomizedSearchCV from sklearn.preprocessing import MinMaxScaler from tensorflow.keras.utils import to_categorical from tensorflow.keras.layers import Dense,Input from tensorflow.keras.models import Model fro...
[ "wisixicidi@gmail.com" ]
wisixicidi@gmail.com
e6b3834d69b46dec4b569379bef25c112347468b
e0907079a19dec3d27ea67eae03dbe982d647c67
/modules/TrainData_deepFlavour.py
ef957fa9be45b553dee1320bc3b03ca7b9d39166
[]
no_license
jkiesele/DeepJet
7b7517237d5d1cafa36291a680b7ac6847a6fc3c
da851a1eac4061899ab2d8e62142a12a25f230bc
refs/heads/master
2021-01-19T10:12:41.381169
2017-05-26T09:31:43
2017-05-26T09:31:43
82,168,110
0
1
null
2017-03-20T14:54:46
2017-02-16T10:20:06
Python
UTF-8
Python
false
false
9,825
py
from TrainData import TrainData_fullTruth from TrainData import TrainData,fileTimeOut class TrainData_deepFlavour_FT(TrainData_fullTruth): ''' classdocs ''' def __init__(self): ''' Constructor ''' TrainData.__init__(self) self.addBranches(['j...
[ "jkiesele@cern.ch" ]
jkiesele@cern.ch
e93955678432ea5facf67e73ff762e817fa2ec3d
8bd8476072ff89c9343cf5ae1440f7e450015581
/com/bridgelabz/datastructure/BalancedParentheses.py
81f1ced0c1414e69e0e3423541e6e29792b3e3ac
[]
no_license
rohinizade27/PythonDjangoPrograms
baa790ec5569b42ee3ddad681eff5c9ca3becff1
be33b6c51187aa2872ac3720957deadc926799fc
refs/heads/master
2020-04-12T19:38:53.424713
2019-01-11T13:04:31
2019-01-11T13:04:31
162,714,379
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
""" purpose : To implement the all the operations of stack,and check given expression is having balance parentheses @Author : Rohini Zade @version : 1.0 @since : 27-11-2018 """ from com.bridgelabz.utility.Datastructure_utility import * if __name__ == "__main__": stack_obj = Stack() stack...
[ "rohinizade43@gmail.com" ]
rohinizade43@gmail.com
5c70c26cab44c88f3e37dd3e34f7b2629dd8a3dd
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2692487_1/Python/Giles/ajam.py
e62b0c312177585cbffe75fee3131c466f44c292
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,346
py
from codejam.utils.codejamrunner import CodeJamRunner import codejam.utils.graphing as graphing import networkx as nx from decimal import * import codejam.utils.polynomials as pol class Dynam(object):pass def calc_steps_needed(next_m, size): n = 0 new_size = size if new_size <= 1: return 1000000...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
f709bf971cdffec6f37ca5553d07a6c3b7e2d06b
024ad288e3e8c4407c147d3e5a3cef9c97ddecce
/tf/tf08_mv02.py
787485b57229193fa86a452bf96cf69a9b29ba73
[]
no_license
keumdohoon/STUDY
a17f62549e5dc59640875970b79b41ba8f62932c
83a1369d8e93767ebc445a443d8f55921cd984ce
refs/heads/master
2022-12-15T17:25:00.809774
2020-09-07T02:00:30
2020-09-07T02:00:30
264,050,749
1
0
null
null
null
null
UTF-8
Python
false
false
977
py
#multi variable import tensorflow as tf tf.set_random_seed(777) x_data = [[73, 51, 65], [92, 98, 11], [89, 31, 33], [99, 33, 100], [17, 66, 79]] y_data = [[152], [185], [180], [205], [142] ] x = tf.placeholder(tf.float32, sha...
[ "58944180+keumdohoon@users.noreply.github.com" ]
58944180+keumdohoon@users.noreply.github.com
986ae6e8715855c31d682ee94b1bc27ddaed88cc
5f453bed68c4fd573e5993889b7d8e89ab1d5e0d
/InformationSpider/InformationSpider/spiders/ft_new.py
1b5f7609cbbb755f540d75a43e880bd762d7cf19
[]
no_license
cannon-liu/InfoSearchDisplay
fbcdd04d951d339b5c19dfae41eabdb14d9ac146
7ec13b93f7fed9d305eabeb82da5ada5f137e663
refs/heads/master
2020-03-28T22:30:23.247514
2018-09-18T06:36:26
2018-09-18T06:36:26
149,237,701
0
0
null
null
null
null
UTF-8
Python
false
false
5,018
py
# -*- coding: utf-8 -*- import scrapy import scrapy from scrapy.http import Request from urllib import parse import datetime from scrapy.loader import ItemLoader import chardet import random import time from scrapy.selector import Selector #self package from InformationSpider.utils.common import get_score, get_md5, ma...
[ "woliuliwen@163.com" ]
woliuliwen@163.com
eb167cd741f032c89176ef14646132656598ee10
94d5467b1315791fa75165eb862fdd8fef300958
/yunyan_baotou/src/web/dap/gz_crim_phone_num.py
47d16d732be8424b4a5be5cec56e0e7b18546f48
[]
no_license
scmsqhn/code
e31926174c247d49c1db8f121e3ec1b82f8a2d9d
b389d7dc5fafad8a4185a03cd6d5519ccf8f99df
refs/heads/master
2022-12-09T05:37:07.065840
2019-05-14T01:55:07
2019-05-14T01:55:07
185,903,771
1
0
null
2022-12-08T05:05:51
2019-05-10T02:22:28
Python
UTF-8
Python
false
false
10,797
py
# coding=utf-8 import flask from flask import Flask, Response import json from functools import wraps from dmp.gongan.gz_case_detail.caseDetails import user_idcard, phone_sn, phone_number, phone_card, plate_number, mac_addr, vehicle_sn, engine_sn, case_location # from dmp.gongan.storm_crim_classify import extcod...
[ "2364839934@qq.com" ]
2364839934@qq.com
3976894342225357b925648757c5c2f4788780ea
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/TauES_test/down/emb/DoubleMuParked/StoreResults-Run2012B_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CMG_V5_16_0_1374851323/HTT_24Jul_newTES_manzoni_Down_Jobs/Job_25/run_cfg.py
f375206d84a528eaafe24060e3aa1a9a0cfbfde1
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
69,054
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/TauES_test/down/emb/DoubleMuParked/StoreResults-Run2012B_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
1eb8048ff3dd66b2ed75d7e70a9d95a2e03e375c
cf7c928d6066da1ce15d2793dcf04315dda9b9ed
/Jungol/Lv1_LCoder_Python/py20_변수와입력/Main_JO_723_변수와입력_자가진단4.py
6061a136f3c6cdc85c315d892a1901885d613b62
[]
no_license
refresh6724/APS
a261b3da8f53de7ff5ed687f21bb1392046c98e5
945e0af114033d05d571011e9dbf18f2e9375166
refs/heads/master
2022-02-01T23:31:42.679631
2021-12-31T14:16:04
2021-12-31T14:16:04
251,617,280
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
weight = 49 gravity = 0.2683 print("%d * %.4f = %.4f" % (weight, gravity, weight * gravity))
[ "refresh6724@gmail.com" ]
refresh6724@gmail.com
e42a27022885ff20b8ff1bcc286cf081ff12f4d7
7623d4ca5cacb259a1b2e7a98b1e8a3011592348
/SICP/examples/approximation.py
88ab1c24b169c0ad7d1c246d6550e49c4fd46c67
[]
no_license
nextdesusu/Learn-Python
3b875ab5093844fe64cc13e717a3637bdfe62a9a
3212059408eec27ee2ed359ac9d691b3d061372f
refs/heads/master
2022-01-29T07:39:11.915177
2019-07-21T14:18:10
2019-07-21T14:18:10
198,063,648
0
0
null
null
null
null
UTF-8
Python
false
false
2,860
py
def average(x, y): return (x + y) / 2 def sqrt_improve(guess, x): return average(guess, x / guess) def sqrt_stream(x): def guesses(): yield 1 for elem in stream_map(lambda guess: sqrt_improve(guess, x), guesses()): yield elem return guesses() def s...
[ "noreply@github.com" ]
nextdesusu.noreply@github.com
8a259afe301a8929dfa9de88653b372b274a45c8
bf9a77bd51ba2dd5bf9c6e7cbf0ec9ec403f0b4f
/src/clld/lib/rdf.py
a5cf432998cb61a345c32af7c2fdd11ddbba355c
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
s672/clld
bf3e53698ef19b71181ca8e837b863d8ea423afe
cce7abeb504e0e29b61e7d14e93a1dc1d2294a3b
refs/heads/master
2023-03-30T06:22:06.732159
2021-04-07T06:57:20
2021-04-07T06:57:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,593
py
"""This module provides functionality for handling our data as rdf.""" import io import collections from clldutils.misc import encoded from rdflib import Graph, URIRef, Literal from rdflib.namespace import ( Namespace, DC, DCTERMS, DOAP, FOAF, OWL, RDF, RDFS, SKOS, VOID, XMLNS, XSD, ) # make flake8 happy, but stil...
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com
f61b3dc9f15c20add20ab326b1df5e635df73235
7c3116ca951c1c989fcc6cd673993ce6b1d4be5a
/modules/windows_superfetch/sfexport2.py
83012242c8751769d2516fa8da32ba4943bb71b7
[ "Apache-2.0" ]
permissive
Kimwonkyung/carpe
c8c619c29350d6edc464dbd9ba85aa3b7f847b8a
58a8bf7a7fc86a07867890c2ce15c7271bbe8e78
refs/heads/master
2022-12-15T13:51:47.678875
2020-09-11T05:25:43
2020-09-11T05:25:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,576
py
import os.path import sys import struct from modules.windows_superfetch.lib import superfetch from modules.windows_superfetch.lib import delphi as pas tail_slash_mark = lambda v: v + '\\' if v.find('/') == -1 else v + '/' app_path = tail_slash_mark(os.path.dirname( os.path.abspath( __file__ ) )) # 현재 소스 경로 def utf16...
[ "jbc0729@gmail.com" ]
jbc0729@gmail.com
7825169d6f13a88fa5d66a4cdf9905116ad178df
a6bb71f951c104ea9a3eb9d7a4ab413f45e84c5b
/aula87-undoRedo.py
3b2c8a9c96468eacdd2645750599841d814891f9
[]
no_license
romulorm/udemy-python
7e15621014c124190c18f3e67d6f6fa1f400e4d1
4a03ae860b9febad9f04bba0aabda211ccb0169d
refs/heads/master
2021-05-24T15:07:01.113977
2021-03-13T19:28:32
2021-03-13T19:28:32
253,619,683
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
to_do = [] re_do = [] def listar_tarefas(): print('== Lista de Tarefas: ==') for tarefa in to_do: print(f'\t- {tarefa}') def adicionar_tarefa(task): to_do.append(task) def desfazer(lst_todo, lst_redo): if not lst_todo: print('Nada a desfazer!') return last_todo = lst_to...
[ "62728349+romulorm@users.noreply.github.com" ]
62728349+romulorm@users.noreply.github.com
303ec58abe340c36aaf7e686a34ed8a953245770
4313a4d0b04e8a877687779d049ab3717ad1c6fc
/build/auro_navigation/catkin_generated/pkg.installspace.context.pc.py
cdad916b031125933d7de0796bd8685ba4151391
[ "MIT" ]
permissive
AshfakYeafi/my_test_ws
9e54004ac5652d7cb976c2070bf638a9e7876c69
9eed06109e4f9a0e3f334f30df7ae1281e570415
refs/heads/main
2023-07-02T15:56:48.308900
2021-07-27T11:10:26
2021-07-27T11:10:26
389,951,218
1
0
null
null
null
null
UTF-8
Python
false
false
383
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "auro_navigation" PROJECT_SPACE_DIR = ...
[ "ashfakyeafifahim@gmail.com" ]
ashfakyeafifahim@gmail.com
8311ce26f650cf5fdbf784b36add9e31109690cf
aa1b1b49e1d948d2677cfb6026840f9a878f4921
/makeriis.py
62620fe782518b86516d4f6a70dc422f2b4b1251
[]
no_license
vitroid/jssearch
75156a41c986deb8cde6e1137f283f5cab76d6d8
0139944a47d49f973552484f056d642a468cd9a2
refs/heads/master
2023-09-03T15:40:10.487575
2022-03-18T02:33:48
2022-03-18T02:33:48
203,846,290
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
#!/usr/bin/env python from replacer import repl import sys d = { "%%PDFBASE%%" : "http://www.riis.okayama-u.ac.jp/p/" } fin = sys.argv[1] fout = sys.argv[2] repl(d, fin, fout)
[ "vitroid@gmail.com" ]
vitroid@gmail.com
d21ab6ce71e0c3ae21e0340889cb91bcd18bf11f
a4364a0ee3dd9aa057c049771319c628b88b1b8d
/week5/assignment/3-6.py
d00cebc94ceb89b642fd4e89c4b81f42d7f9a8d3
[]
no_license
lsh931125/altole
22e69c98af2fd673fa2dc40d58b64a6ebc0ce577
15afc3d511ed5be56ea091e9842408b362ad79e3
refs/heads/main
2023-04-10T16:15:14.865549
2021-04-12T14:13:59
2021-04-12T14:13:59
336,302,892
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
numbers = [1, 2, 3, 4, 5] def oddMultiTwo(list): result = [] for i in list: if i%2 == 1: result.append(i*2) print(result) oddMultiTwo(numbers)
[ "you@example.com" ]
you@example.com
20cc80636142a3b84ec5e9e257d60f0c58fdc7e9
8ab265b09af7c968803875e9da2e8a3620fa6f7c
/omg/omg_configuration.py
2bffa6740fef51f552d6c32a6c8457d20140bea5
[]
no_license
limweb/my-openerp-addons
5be34a4611c265055096f8cd0479e68d0f5eb6d2
1c30894b5ce5249261f1dae297ed427d78813b02
refs/heads/master
2021-01-01T18:11:37.685202
2012-10-27T08:16:41
2012-10-27T08:16:41
32,463,325
0
0
null
null
null
null
UTF-8
Python
false
false
2,405
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify # ...
[ "thitithup@63ab4253-1d0f-0ef1-39c5-73446a8bc111" ]
thitithup@63ab4253-1d0f-0ef1-39c5-73446a8bc111
3433f38bdf72c5801e1af47dc1684694e79f4968
dd49219ad76d2e32e52983762af3784efb53c975
/acme/agents/jax/dqn/learning_lib.py
e92be2e888714ac9916735e613657c6bdfac14be
[ "Apache-2.0" ]
permissive
jhtschultz/acme
15ce0072117f4ce83df1fc2716595d21bac0964f
7fa9b804e47fd1b1fbb20ed5e62275d822607c8b
refs/heads/master
2023-02-28T12:00:15.732441
2021-02-02T19:54:52
2021-02-02T19:55:14
277,521,804
0
0
Apache-2.0
2020-07-06T11:20:24
2020-07-06T11:20:23
null
UTF-8
Python
false
false
5,857
py
# Copyright 2018 DeepMind Technologies Limited. 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 ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
3100d69ba56f7aaa13514b90ee128d90e13336b2
eadc22ca135f5fa4c095e3292f2a55d642b58b5a
/tests/__init__.py
49f8cff1ce2755758cdad27f9ace2dcd447f79a1
[ "Apache-2.0" ]
permissive
ZhuangzhuangWu/polymath
eb4b71f2e310a0c99b985935984aa396643bed46
4857df309a8aecf392fc8a1c7ec1fdfad3706426
refs/heads/master
2023-06-24T02:44:36.095451
2021-07-28T18:04:45
2021-07-28T18:04:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
from __future__ import print_function, division, absolute_import
[ "sean.kinzer@gmail.com" ]
sean.kinzer@gmail.com
857da23dc72f10b6b623204a2bc01253a00ae6c4
f7bd50d5ea7fee00591540113d756a1ba9364fa7
/run/zzh/admin.py
6f029613b96907daf0ab56b7e2201604ae7b3704
[]
no_license
a1403893559/shitian
8fabed04adf6643411a939e6872faf9545c4a021
6a236e82bb9931636507fdb4e5d74efb745a378f
refs/heads/master
2021-05-12T05:14:30.942174
2018-05-28T06:53:04
2018-05-28T06:53:04
117,186,399
0
1
null
null
null
null
UTF-8
Python
false
false
88
py
from django.contrib import admin from zzh.models import Biao admin.site.register(Biao)
[ "1403893559@qq.com" ]
1403893559@qq.com
b231810eb7d4b1932c4c93d9e888c0af5c9cd424
52266a44e2aca241707984e3b138775681b3e95f
/Exercise/多任务/协程/3、yield方式.py
7b43422b547b7913ee301373f08ee0bad5f992dc
[]
no_license
Mr-hongji/pythonNote
91b1252711ce0b919fc365932276b89d85d4c16b
ff5eda0c8f63345de4d98cff8f0f7ab5254c77a6
refs/heads/master
2020-04-11T14:49:39.637983
2019-05-26T09:21:09
2019-05-26T09:21:09
161,869,676
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# -*- coding:utf-8 -*- '''''' ''' yild: 是使用的构造器方式来实现协程 ''' def A(): print('A.....') yield print('A,,,,,') def B(): print('B.....') a.next() print('B,,,,,,') a = A() B() ''' 预想结果应该是这样: A..... B..... A,,,,, B,,,,,, 输出结果: B..... A..... B,,,,,,...
[ "shihongji@xiaoneng.cn" ]
shihongji@xiaoneng.cn
afd3d4eb505120c864f97cfb9e149855dd0c424c
224ca57f7f0ceeaf93b2ae93bcaedee5e1e8589d
/leetcode/factorial_trailing_zeros.py
066c4e400324ba9853526cdb1bd6a0b47a64ad52
[]
no_license
myliu/python-algorithm
71fa69502596634464007f64d3ac02826d3b07df
036a29d681cc91f2317d454e04530d7375d55478
refs/heads/master
2021-01-23T11:34:07.732641
2017-02-27T00:27:58
2017-02-27T00:27:58
13,375,481
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
class Solution(object): def trailingZeroes(self, n): """ :type n: int :rtype: int """ result = 0 while n >= 5: result += n / 5 n /= 5 return result if __name__ == '__main__': s = Solution() print s.trailingZeroes(25)
[ "mliu@quantcast.com" ]
mliu@quantcast.com
e1f6f4e7e1160f0f7acd151cbf627f70fefb36dc
cd5746f8cc7aee1f20606a65b4fae0d5e8ee78dc
/Python Books/PythonTesting-BeginnersGuide/code/integration/integration_tests/test_file.py
20f1e457da9b66b07b6870f3f82deac7482ff47d
[]
no_license
theGreenJedi/Path
df24fca355590efef0c6cb5c52e7216c6b5d2464
b5ed2805dbb046480929e49e550bfd8af5bb4d6f
refs/heads/master
2023-07-27T14:23:37.694546
2021-07-16T01:38:55
2021-07-16T01:38:55
87,686,563
8
2
null
2023-07-11T22:49:03
2017-04-09T05:57:30
Jupyter Notebook
UTF-8
Python
false
false
940
py
from unittest import TestCase from planner.persistence import file from os import unlink class test_file(TestCase): def setUp(self): storage = file('file_test.sqlite') storage.store_object('tag1', 'A') storage.store_object('tag2', 'B') storage.store_object('tag1', 'C') stor...
[ "GreenJedi@protonmail.com" ]
GreenJedi@protonmail.com
848d4d36268f904c2183974594491173dc97818c
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/ml/azure-ai-ml/tests/test_configs/dsl_pipeline/spark_job_in_pipeline/pipeline.py
6ada55f208db6c2afdea095f93e7ba883ea33847
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-python-cwi", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", ...
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
3,172
py
from pathlib import Path from azure.ai.ml import Input, Output, dsl, load_component, spark from azure.ai.ml.constants import AssetTypes, InputOutputModes from azure.ai.ml.entities import PipelineJob parent_dir = str(Path(__file__).parent) synapse_compute_name = "spark31" def generate_dsl_pipeline_from_yaml() -> Pip...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
76f5a7806c63e9098853dc05d9ce1081d225bb20
7b29700c45bcaa00e5ae8c034c782febcfa285ca
/CMGTools/WMass/python/analyzers/common_functions.py
f73bd23f5a948acf28b06ffb08eb1d17d06a483d
[]
no_license
rmanzoni/tH
e29c09a247dd0795fce24d9bafbf5280df679b10
05f0baefed4d0b64dc121c43e4420ff7f1ac8e22
refs/heads/master
2016-09-03T07:21:59.444230
2014-06-09T19:48:52
2014-06-09T19:48:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,394
py
import operator import ROOT import numpy as my_n import copy import math, os from CMGTools.RootTools.fwlite.Analyzer import Analyzer from CMGTools.RootTools.statistics.Counter import Counter, Counters from CMGTools.RootTools.fwlite.AutoHandle import AutoHandle from CMGTools.RootTools.physicsobjects.PhysicsObjects impor...
[ "perrozzi@cern.ch" ]
perrozzi@cern.ch
9290bdc936a63632fbb5a63c9853b1df56fdfc09
9a5598d82f2e69eef3d3eff4659ba734c92d8890
/tests/hwsim/test_wpas_ap.py
ba11e603cc566a5a028cbc82817fa8ae305b375b
[ "BSD-3-Clause" ]
permissive
gxk/hostap
5186a23ef4c6512c7c9a414a52babfc620baeea7
af8bc24da37c340e17417317d7d97f1ea2ef0dc3
refs/heads/master
2021-01-10T21:18:35.630156
2017-03-06T11:46:00
2017-03-06T22:34:14
2,074,094
2
0
null
null
null
null
UTF-8
Python
false
false
24,315
py
# wpa_supplicant AP mode tests # Copyright (c) 2014, Qualcomm Atheros, Inc. # # This software may be distributed under the terms of the BSD license. # See README for more details. from remotehost import remote_compatible import time import logging logger = logging.getLogger() import hwsim_utils from utils import Hwsi...
[ "j@w1.fi" ]
j@w1.fi
281abca4f7bc5df7334b72667ebc9c5cbabab82f
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v3/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py
b5f9cb62c74319b23d8f56cdc8a46b283b1770b1
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
true
5,140
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v3/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descripto...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
eb5ec56354f2c00d16a129dae526af786a01bbce
c91775afdc25f8897c6839cf8294869f3e928083
/PythonFiles/snowmass_cfg_BB_14TEV_300_700_Conf3_8.py
388e55617dbef4005dbf7ab049d886e06d2cfdfe
[]
no_license
Saptaparna/Miscellaneous
7e6df9cdfd10d4861e2e382b1837dbd4c26fb249
b954189d85e56a02fe257b5f5cbd779365719c00
refs/heads/master
2021-01-23T13:29:30.283308
2017-12-20T08:26:37
2017-12-20T08:26:37
42,525,018
0
0
null
null
null
null
UTF-8
Python
false
false
9,275
py
import FWCore.ParameterSet.Config as cms import FWCore.PythonUtilities.LumiList as LumiList import FWCore.ParameterSet.Types as CfgTypes # # Parameters that can be set via command line # when submitting Condor jobs # isMc_settable = True isSignalMc_settable = False def FindFile(name): fname = 'file.tx...
[ "saptaparna@gmail.com" ]
saptaparna@gmail.com
3e3c60b38a6f4ce5f9545c9e8e004a48d4331dd6
38149c629c85c6af365b99dcfb21ce80123cd48a
/Experimental/mp_MDP_run.py
e4cac2b613489d6296a072f0cf31a0920ae80ef0
[]
no_license
YaojieLu/LAI_optimization
6c714fa3a848242f5bc729006917ea2405e05fe5
1927e1802cf9fafd46594d83d6c4defc7f9c111c
refs/heads/master
2021-06-27T02:23:06.532539
2020-12-13T21:58:02
2020-12-13T21:58:02
195,875,854
0
1
null
null
null
null
UTF-8
Python
false
false
3,850
py
import numpy as np import pandas as pd from MDP_class import MDP from scipy import interpolate from multiprocessing import Pool import timeit # mdp class mdp = MDP(gamma = 0.9, dL_unit = 0.2, gs_unit = 0.02, L_max = 2, mL = 2, cL = 10, mean_rd = 0.2) # value iteration gap_L = 5 gap_s = 500 epsilon = 100 ti...
[ "=" ]
=
7e07c1089f4827186708c73e806e41d1537f85eb
e65a448da4f82d6e7c95cfadc5e8dfd06ed05c62
/tempest/tempest/api/network/test_ports.py
80097dbdc6b09625bd18a6dab376f98c2727462a
[ "Apache-2.0" ]
permissive
bopopescu/devstack
7a9d11bcc37884f3686e7178ebc25c178a6da283
6b73b164af7e5895501f1ca5dafebbba90510846
refs/heads/master
2022-11-19T19:58:43.536574
2015-01-29T09:00:59
2015-01-29T09:00:59
282,101,378
0
0
null
2020-07-24T02:17:48
2020-07-24T02:17:47
null
UTF-8
Python
false
false
13,616
py
# Copyright 2014 OpenStack Foundation # 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 requ...
[ "swethapts@gmail.com" ]
swethapts@gmail.com
16d1d732e99c04ac0187bfe5fd6c69fd65edaad4
fc3a8c4a93d39460b1785e1e9701d6a675da66b7
/RestPy/DemoScripts/loadConfigFile.py
eeef65a5b2e33210c7f52522a80352b900a5ad34
[ "MIT" ]
permissive
mkim2001/IxNetwork
000b7285872e1fd436b6c347501d49d082e6dc78
1292d3e636c3deb626be1cde88f9c0084360058b
refs/heads/master
2021-04-05T20:03:29.294972
2020-03-06T20:09:51
2020-03-06T20:09:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,340
py
""" loadConfigFile.py: Tested with two back-2-back Ixia ports - Connect to the API server - Configure license server IP - Load a saved config file - Configure license server IP - Optional: Assign ports or use the ports that are in the saved config file. - Start all protocols - Verify all proto...
[ "hubert.gee@keysight.com" ]
hubert.gee@keysight.com
cad8d42767bf6349f09a3948378bdaaa68b8e6ed
aa0270b351402e421631ebc8b51e528448302fab
/sdk/communication/azure-communication-jobrouter/tests/test_router_job.py
483a2cebd860714e9a78d38bf67373998c189c7c
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
33,985
py
# 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. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
64163d4f65e79e2a4e58ef4eb95d211271a92acc
a64d0cb86782f67329302f2171001b723be509d3
/boundaries/tests/test_compute_intersections.py
a59483252f836863781ee52f7d91a5578dda7031
[ "MIT" ]
permissive
opennorth/represent-boundaries
ccaaa6701eb4db811aa74a49896a20b0e589b67c
c78ef526ad26adf67a03c52276825ea21996aafd
refs/heads/master
2020-04-05T18:52:38.815945
2020-01-21T22:40:33
2020-01-21T22:40:33
3,002,746
20
16
NOASSERTION
2020-01-21T22:39:52
2011-12-17T19:40:47
Python
UTF-8
Python
false
false
189
py
# coding: utf-8 from __future__ import unicode_literals from django.test import TestCase class ComputeIntersectionsTestCase(TestCase): def test_command(self): pass # @todo
[ "james@slashpoundbang.com" ]
james@slashpoundbang.com
95d6703451ea587c5f9d2a3f7c6083def2c52482
eb24cfef9d733e692a4612979e66c44e0a2eb802
/clientes/forms.py
53a449f0e44130436863038be2563fbb06e9a98f
[]
no_license
C4st3ll4n/gestao_cliente
271ae256020dfa5fa8d7aaba25b7ccba1155f757
1bbdd4958f36b0972fa19e6b8bed588a144c6308
refs/heads/master
2020-05-07T18:05:00.832799
2019-04-25T19:31:30
2019-04-25T19:31:30
180,753,518
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
from django.forms import ModelForm from clientes.models import Pessoa class PessoaForm(ModelForm): class Meta: model = Pessoa fields = ["nome", "sobrenome", "idade", "salario", "bio", "foto"]
[ "p13dr0h@gmail.com" ]
p13dr0h@gmail.com
fa9fcd7021c7262b31739b2e7c1e15939bf67b26
5332fef91e044555e605bb37cbef7c4afeaaadb0
/hy-data-analysis-with-python-2020/part03-e03_most_frequent_first/src/most_frequent_first.py
4f321fe984743908c898f8eb9a0c2e7511b94c1d
[]
no_license
nopomi/hy-data-analysis-python-2019
f3baa96bbe9b6ee7f0b3e6f6b8b0f3adfc3b6cc8
464685cb377cfdeee890a008fbfbd9ed6e3bcfd0
refs/heads/master
2021-07-10T16:16:56.592448
2020-08-16T18:27:38
2020-08-16T18:27:38
185,044,621
4
0
null
null
null
null
UTF-8
Python
false
false
643
py
#!/usr/bin/env python3 import numpy as np def most_frequent_first(a, c): unique, counts = np.unique(a[:,c], return_counts=True) ordered = unique[counts.argsort()][::-1] A = np.concatenate([a[a[:,c] == i] for i in ordered]) return A def main(): a = np.array([[5,0,3,3,7,9,3,5,2,4] ,[7,6,8,8,1,6...
[ "miska.noponen@gmail.com" ]
miska.noponen@gmail.com
5dc638abc3db637316cd006541ae9cade220a917
e03bce53de6f88c0e09f56e4fe11c36af0f1161f
/typings/awacs/cloud9.pyi
0af3e9ce4cede57cfbd38f650c41d9cf3f260f1a
[ "Apache-2.0" ]
permissive
onicagroup/runway
20c31df9cbc1a1ffc5c9aa468ce5cf7d6ac7899f
0763b06aee07d2cf3f037a49ca0cb81a048c5deb
refs/heads/master
2023-08-30T22:35:54.113981
2023-08-29T14:13:35
2023-08-29T14:13:35
122,529,924
156
79
Apache-2.0
2023-09-13T13:43:50
2018-02-22T20:12:55
Python
UTF-8
Python
false
false
1,311
pyi
""" This type stub file was generated by pyright. """ from .aws import Action as BaseAction from .aws import BaseARN service_name = "AWS Cloud9" prefix = "cloud9" class Action(BaseAction): def __init__(self, action=...) -> None: ... class ARN(BaseARN): def __init__(self, resource=..., region=..., account=.....
[ "kyle@finley.sh" ]
kyle@finley.sh
5b79e7dd08f4b0cc14d37d64ea262cbfed6a5f5a
6d69b249a81e076d79787dd08eb8957908052052
/projects/temporary/storages/copy_to_new/copy_authors.py
ee5009f6fe001f97d025303a30d6c783abdcaf30
[]
no_license
2vitalik/wiktionary
02ee1f1327c3b82fc7b4d7da12083b1431b1eb8b
8edae2f7dcf9089084c5ce7033c4fb0b454f4dfa
refs/heads/master
2023-02-06T11:28:41.554604
2023-02-05T22:49:01
2023-02-05T22:49:01
121,025,447
7
2
null
2021-10-13T17:36:32
2018-02-10T15:06:24
Lua
UTF-8
Python
false
false
553
py
import sys from os.path import dirname, abspath sys.path.append(dirname(dirname(dirname(dirname(dirname(abspath(__file__))))))) from core.conf import conf from projects.authors.authors_storage import AuthorsStorage, authors_storage from projects.temporary.storages.copy_to_new.base_copy_to_new_storage import \ copy...
[ "vitaliy.lyapota@anvileight.com" ]
vitaliy.lyapota@anvileight.com
a72f04a7ae3135628322969b56e517425c3458ed
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/talecommon/__init__.py
2cb3614f42b94cfb1bd85677d152337f34252fea
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
#Embedded file name: talecommon\__init__.py """ Functions and constants shared between client and server for the tale system """ import blue from carbon.common.lib.const import MIN def CalculateDecayedInfluence(info): """Calculate the current influence is based upon the time since last update""" currentTime = ...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
cadc0c0ed700519ee16f680ea1edbfebaa2eb8b4
6e68584f2819351abe628b659c01184f51fec976
/Centre_College/CSC_117/CSC_117_Python_Files/DegtoRad.py
77c699a441893a3d6cd853b168244551fa0992ea
[]
no_license
DanSGraham/code
0a16a2bfe51cebb62819cd510c7717ae24b12d1b
fc54b6d50360ae12f207385b5d25adf72bfa8121
refs/heads/master
2020-03-29T21:09:18.974467
2017-06-14T04:04:48
2017-06-14T04:04:48
36,774,542
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
# #This function converts degrees to radions # #Authors Daniel Graham and David Newton # degrees=input("What is the degree of your angle?") print (3.1415926535897931/180)*degrees
[ "dan.s.graham@gmail.com" ]
dan.s.graham@gmail.com
ad45df6d0277e4a4c7a43252bb4af08ec8d51e15
79b6a2497953d6832670af4447d2bbb3bdf23965
/v3_00/Bluetooth/Bluetooth/v3_00_Pairing_Control.py
51efcbbda1bc3b6dd172b7b51003d2590fcaf9bc
[]
no_license
davidjsanders/studyWork
07a0ec7d47324377a09b4a71e6186e374900255d
ba992c17def649a3b789930d7776cda68423e8ce
refs/heads/master
2021-05-31T05:24:36.323939
2016-04-15T00:23:53
2016-04-15T00:23:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,138
py
from flask_restful import Resource, Api, reqparse, abort from flask import Response from Bluetooth import Pairing_Database from Bluetooth.Control import global_control import datetime, time, json # # SuperClass. # ---------------------------------------------------------------------------- class v3_00_Pairing_Control(...
[ "dsanders_can@outlook.com" ]
dsanders_can@outlook.com