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
816ab3ea2f2aa70a194ab70f5b4edf02058b1926
8f0ce1be6cc093d962c64179eec99c7ccc20ffc4
/fabrication/migrations/0002_auto_20170522_2054.py
bb9f50cf4571262b07c8bd43de137ffccd69989e
[]
no_license
dmeehan/futuregreenstudio
cf5e12c6ead8f0c7023ba09d5868749888068b72
e6e2b7f7ffa2ed251d21e6b1d07573ab4f70782f
refs/heads/master
2023-08-30T20:12:24.814970
2023-08-28T14:55:26
2023-08-28T14:55:26
89,943,081
0
0
null
null
null
null
UTF-8
Python
false
false
2,047
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-05-22 20:54 from __future__ import unicode_literals from django.db import migrations import wagtail.wagtailcore.blocks import wagtail.wagtailcore.fields import wagtail.wagtailembeds.blocks import wagtail.wagtailimages.blocks class Migration(migrations.Migr...
[ "dmeehan@gmail.com" ]
dmeehan@gmail.com
269de419f647a554c8e7218a5395f7f52ae9865f
de0a69e419b98bcf2556456d9c60208e4804d50b
/curator/actions.py
3da90e41de526d8d0e276919177f652c372bb0fb
[ "Apache-2.0" ]
permissive
sk163/curator-1
754cf447e0fd94914e03fd5ac09f1dc7cbb1efc2
76b396c7d34e650ad8de1e9040c109094eb5e672
refs/heads/master
2020-12-30T11:28:10.694444
2017-05-16T13:03:30
2017-05-16T13:03:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
65,524
py
from .exceptions import * from .utils import * import logging import time from datetime import datetime class Alias(object): def __init__(self, name=None, extra_settings={}, **kwargs): """ Define the Alias object. :arg name: The alias name :arg extra_settings: Extra settings, inclu...
[ "aaron@mildensteins.com" ]
aaron@mildensteins.com
95ffd688e970ee7591bc3d5adc0e0f6570dfb5dd
67c92dd802a14b41956589dafc6c8fad9f5043cb
/venv/bin/easy_install
b3dabbbbbad2ac29c808766ee81b920ecbc5a971
[]
no_license
sunny-kathuria/ReconnTool
f9a68aca869cb27ad45351a1f5b8f59178590a75
274d2aad29f0b8c408772821b8066adfd43a9540
refs/heads/master
2021-01-05T02:36:59.159207
2020-02-16T07:49:10
2020-02-16T07:49:10
240,848,236
0
0
null
null
null
null
UTF-8
Python
false
false
431
#!/root/PycharmProjects/Recon/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
b9e506df9c12fad0bd4108510fa77486a23a356d
4f0192ccd0b29b4b28428daa9813010cd70f49a3
/news/migrations/0010_auto_20140519_1249.py
9ffe01021e97f71a6319b89b0b3a6c86147bb51f
[]
no_license
nbedi/appletini
03c2a7286cb5775a63e17c41c3ccd2af48f0b90a
dd1f34f0fa3948fa808979e35844b6d58d46c0ea
refs/heads/master
2016-08-05T00:08:35.461725
2015-03-08T06:02:56
2015-03-08T06:02:56
31,575,783
2
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
# encoding: utf8 from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('news', '0009_page_parent'), ] operations = [ migrations.AddField( model_name='category', name='twitter', ...
[ "omniaura5@gmail.com" ]
omniaura5@gmail.com
069bd1201208b6e6dcd4c8d5a3897aaf17dfad90
8f2f83bc1381d4ce7fc968aec72fa400aae4155d
/pybitcoin/types/address.py
99c9195e3bd8727bf34cc0d36170c29765b43ee1
[ "MIT" ]
permissive
nifrali/pyStratis
c855fb33be77064c9a741255e324003319a4789f
b1a80bf155b7941e9ef8fc2ea93fa1b08a0c4366
refs/heads/master
2023-06-20T16:02:30.863589
2021-07-01T19:24:18
2021-07-01T19:24:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
from __future__ import annotations from typing import Callable from pybitcoin.networks import BaseNetwork class Address: """A address model. Address is validated by the network.""" def __init__(self, address: str, network: BaseNetwork): self.validate_values(address=address, network=network) s...
[ "skaal@protonmail.com" ]
skaal@protonmail.com
b62904185be0fc06afc95aca81b753375fbeeef0
a1dbad34ad37f0856c29791bdc961233807ba49c
/gstudio/management/__init__.py
3606a89de7b56484b245fd9dbd151b3e22a09694
[ "BSD-3-Clause" ]
permissive
gnowgi/django-gstudio
d03b6cc845d3a3c1ef2683f940386b8e4384605c
d515883fc4ffe01dd8b4b876d5a3dd023f862d30
refs/heads/master
2020-12-24T10:23:38.958910
2012-03-14T12:09:50
2012-03-14T12:09:50
2,724,426
1
9
null
null
null
null
UTF-8
Python
false
false
35
py
"""Management module of Gstudio"""
[ "nagarjun@gnowledge.org" ]
nagarjun@gnowledge.org
736cb5b4a52da061d34b42230a957d40324f6fb9
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-LocalAuthentication/setup.py
a2118691526813fa2bc6cb10fc669f8a09239aa3
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
""" Wrappers for the "LocalAuthentication" framework on macOS. These wrappers don't include documentation, please check Apple's documention for information on how to use this framework and PyObjC's documentation for general tips and tricks regarding the translation between Python and (Objective-)C frameworks """ from...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
08ba34c09978507b3c6bcd1dcf0f9689f5613194
555b9f764d9bca5232360979460bc35c2f5ad424
/google/ads/google_ads/v2/services/transports/campaign_bid_modifier_service_grpc_transport.py
5f1bd483bd72991b807a4acf3847203f0f421fc9
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
juanmacugat/google-ads-python
b50256163782bc0223bcd8b29f789d74f4cfad05
0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a
refs/heads/master
2021-02-18T17:00:22.067673
2020-03-05T16:13:57
2020-03-05T16:13:57
245,215,877
1
0
Apache-2.0
2020-03-05T16:39:34
2020-03-05T16:39:33
null
UTF-8
Python
false
false
5,103
py
# -*- coding: utf-8 -*- # # Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "noreply@github.com" ]
juanmacugat.noreply@github.com
f57d887b142a32218aa4c3df1b3b08198019563f
8f68af7b8854d8c5000f8ecbe3a3c4330b4d6a7c
/docs/interviewPrep/designPatterns/Behavioral_patterns/Memento/python/Memento.py
13b40cf9c3bcb0f1aa3c53ea95daf48f89fa96a0
[]
no_license
reshinto/reshinto.github.io
7590d0fb26cbf239b2545fd3b745416ab31aa7aa
71e5b82d49a11d9a9171a38bcb3ac23dd07ee62f
refs/heads/dev
2022-12-05T13:45:53.578262
2022-12-01T15:34:59
2022-12-01T15:34:59
211,689,735
6
0
null
2022-08-07T22:07:36
2019-09-29T16:11:25
TypeScript
UTF-8
Python
false
false
357
py
from abc import ABC, abstractmethod class Memento(ABC): """ The Memento interface provides a way to retrieve the memento's metadata, such as creation date or name. However, it doesn't expose the Originator's state. """ @abstractmethod def get_name(self): pass @abstractmethod ...
[ "terencekong2002@gmail.com" ]
terencekong2002@gmail.com
2d2104f7dd3191c1a45bdf24ccc0559a181e3bfd
3d83e5d6c5c3b264dbca94f2fedcd1abaf522278
/docs/source/conf.py
34117acfb1003d1e24d7e473b7f2a321cbd12283
[ "Apache-2.0" ]
permissive
cp4cds/c4cds-wps
4767d779a2338d46d52f0c23bb89f0072928c482
5abd9281195548bbd1e7653fe2ab1fee26745200
refs/heads/master
2020-04-02T06:43:19.383112
2020-01-14T16:05:36
2020-01-14T16:05:36
154,164,988
0
0
NOASSERTION
2020-01-14T16:05:37
2018-10-22T15:09:32
Python
UTF-8
Python
false
false
5,253
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # c4cds documentation build configuration file, created by # sphinx-quickstart on Fri Jun 9 13:47:02 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autog...
[ "ehbrecht@dkrz.de" ]
ehbrecht@dkrz.de
29e29ae5ff4022a72a00e62679cd8b9718301532
d75cbad7a79e24b49f405c6529633ea65c9b286d
/most_contributive_feature.py
c3628be932c6847796e1899376eca75bccc8b7f3
[]
no_license
aj2622/ML_HW1
bc49e61781f108c66dfd598423915e27c72f7b3a
7497f8d71f6b731fc232058d6a0597af4884a53f
refs/heads/master
2020-04-22T08:49:52.188349
2017-10-31T14:23:02
2017-10-31T14:23:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
import numpy as np import scipy.io as io import poly_regression feature = ['sepal length', 'sepal width', 'petal length', 'petal width'] if __name__ == '__main__': data = io.loadmat('data/5_X.mat')['X'] target = io.loadmat('data/5_T.mat')['T'] train_x = np.concatenate((data[:40], data[50:90], data[100:14...
[ "ya70201@gmail.com" ]
ya70201@gmail.com
786af33be62d301d22854f723ab696e318419bdc
f97b8cd110b651a13628a2f394b018bed3d8957d
/screenshot_to_csv.py
ce2fa840bc41658c62a9de726137505330fe9596
[]
no_license
sebastiengilbert73/chess_scribe
d09a9bcca37a15216342245bbddb546d87bf75c9
3073a8f12f086592e0eebb67f800112c914515e8
refs/heads/main
2023-03-30T15:18:56.852056
2021-03-29T00:46:39
2021-03-29T00:46:39
352,422,592
0
0
null
null
null
null
UTF-8
Python
false
false
3,944
py
import cv2 import argparse import logging import os import numpy as np from tesserocr import PyTessBaseAPI from PIL import Image parser = argparse.ArgumentParser() parser.add_argument('ImageFilepath', help="The filepath to the screenshot") parser.add_argument('--outputDirectory', help="The directory where the output w...
[ "sebastiengilbert73@yahoo.ca" ]
sebastiengilbert73@yahoo.ca
eea28399f23ba03c93add6c9473bc9bab6478311
942ee5e8d54e8ebe9c5c841fbfdd1da652946944
/1001-1500/1029.Two City Scheduling.py
aa44653739248dc7f890e08295a3dd9bd2cedb30
[]
no_license
kaiwensun/leetcode
0129c174457f32887fbca078fb448adce46dd89d
6b607f4aae3a4603e61f2e2b7480fdfba1d9b947
refs/heads/master
2023-08-31T07:30:50.459062
2023-08-27T07:59:16
2023-08-27T07:59:16
57,526,914
69
9
null
2023-08-20T06:34:41
2016-05-01T05:37:29
Python
UTF-8
Python
false
false
343
py
class Solution(object): def twoCitySchedCost(self, costs): """ :type costs: List[List[int]] :rtype: int """ diff = [(cost[0] - cost[1], cost) for cost in costs] diff.sort() N = len(costs) / 2 return sum(pair[1][0] for pair in diff[:N]) + sum(pair[1][1]...
[ "noreply@github.com" ]
kaiwensun.noreply@github.com
79e4094ee8c558cf5207293f1b1395a43cd41174
aef8eb6681e555ecb61ac67151e4c54d6fdd1023
/plots/plotsDaniel/regions/covarianceMatrix.py
395fda4f1921f5142a11da1b8d19d03b0329829a
[]
no_license
HephyAnalysisSW/TopEFT
0e2dc89f7a43bacf50c77a042f56663e9d4f3404
53174807c96dffa6654e4dc63bef92f2b71706ee
refs/heads/master
2022-11-07T02:41:53.120759
2020-03-31T08:08:27
2020-03-31T08:08:27
98,643,866
0
3
null
2019-10-14T09:02:09
2017-07-28T11:38:23
Python
UTF-8
Python
false
false
7,589
py
import shutil, os import ROOT from array import array import math import pickle import numpy as np import copy from TopEFT.Tools.user import combineReleaseLocation as releaseLocation import re def natural_sort(list, key=lambda s:s): """ Sort the list into natural alphanumeric order. http://stackoverflow.c...
[ "daniel.spitzbart@cern.ch" ]
daniel.spitzbart@cern.ch
cf390af645cb88d0be8039c0bb54d5193044fcf1
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/lrx.py
494875a7ada72dddb9e71b6b3dbf5fbf9203dc27
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
7ce1d9097321b92cdf001e1ecbcd96d23b2ed402
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-tms/huaweicloudsdktms/v1/model/predefine_tag.py
5bbfd3f3ded7213f0f5b7bef8e19d6e57181afd3
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
4,468
py
# coding: utf-8 import pprint import re import six class PredefineTag: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is js...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
16f3de4254710303d6a86d6135995be72fcc7625
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/664.py
4fc3d46c0a13dbea8850ff91f3343512c00a2b8e
[]
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
711
py
def flip(pancakes, left_index, spatula_size): for i in range(left_index, left_index + spatula_size): pancakes[i] = not pancakes[i] def solve(pancakes, spatula_size): """Flip left-to-right.""" flips = 0 for left_index in range(0, len(pancakes) - spatula_size + 1): if not pancakes[left_index]: flips += 1 f...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
36bbf0f5a20d0315d125827ef6e66ec12b5d9e74
2f71665621698da42e7f6d9245deea95325f3320
/energy.py
551577081cac09255f411ae0a2d53168fcb49ee4
[ "MIT" ]
permissive
MiroK/fenics-rigid-motions
dfee68a4d726f16db2d293f0aef492d43698dba2
cd50c1641d0137ac7653f032fba15d0b23b26ac6
refs/heads/master
2020-12-02T10:03:37.532532
2017-07-13T06:16:59
2017-07-13T06:16:59
96,685,308
2
0
null
null
null
null
UTF-8
Python
false
false
3,298
py
from dolfin import * from block import block_mat, block_vec, block_transpose from block.iterative import ConjGrad from block.algebraic.petsc import AMG from rigid_motions import first import rigid_motions def energy(lmbda, mu, f, h, mesh, Z=None): ''' Solves -div(sigma) = f in Omega sig...
[ "miroslav.kuchta@gmail.com" ]
miroslav.kuchta@gmail.com
619d787fd1c5414403f3e6be8bac6d920d0a6743
9ac793d32e70775bb119aaddeb832624e3cf9281
/consoverloading.py
d6ef77beed8a28d74e31642020cc01266eca143a
[]
no_license
prabhatpal77/Adv-python-polymorphism
9368311732e1bca9b54e099489c255e3498fbb9b
d68375e4816a746a1ffbffa6d179c50227267feb
refs/heads/master
2020-07-29T00:41:08.162385
2019-09-19T16:35:32
2019-09-19T16:35:32
209,601,547
1
0
null
null
null
null
UTF-8
Python
false
false
457
py
# Constructor overloading:- The concept of defining multiple constructor with the same number parameters are different number of parameters # within a class is known as aa constructor overloading. class X: def __init__(self): print("in no parameter constructor of x") def __init__(self, a, b): pr...
[ "noreply@github.com" ]
prabhatpal77.noreply@github.com
ca92618105b8fcd2c360427f208e240fccd36c7b
031d0c267bef0cb8dad9a39b9863b2946a93e8bd
/pymap3d/azelradec.py
2338ab71388c7ae4544ca4e327c51ffd1a164e08
[ "BSD-2-Clause" ]
permissive
nhz2/pymap3d
70a8e8987d7d739ff6d801b608830adc6de0d4fc
74dbe48fe794a27e67c599c0740d88e84d22b3c5
refs/heads/master
2020-08-01T10:52:25.182699
2019-09-24T15:21:51
2019-09-24T15:21:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,014
py
""" Azimuth / elevation <==> Right ascension, declination """ from typing import Tuple from datetime import datetime from .vallado import azel2radec as vazel2radec, radec2azel as vradec2azel from .timeconv import str2dt # astropy can't handle xarray times (yet) try: from astropy.time import Time from astropy ...
[ "scivision@users.noreply.github.com" ]
scivision@users.noreply.github.com
291a36f12c47975a6010052d2f3be3a8a91bf36b
548ca3821601f3085eb9dde36b76b558a4334f0f
/apps/common/__init__.py
7cb93a9bca26544725a42c47ecb58ecef962471f
[]
no_license
Erick-LONG/flbbs
9257726b120012f118999e267a63f15d558d3756
f2ac48d522799e4bb1ab278bd5a5cc7d56ca1fc8
refs/heads/master
2020-03-18T06:51:03.494630
2018-06-04T05:57:17
2018-06-04T05:57:17
134,418,124
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
from .views import common_bp
[ "834424581@qq.com" ]
834424581@qq.com
91d9a979cbfbb76e781425a6e40b815428a3fba0
6ec91b363b077bffd33f15300a0935124e9fb915
/Cracking_the_Code_Interview/Leetcode/1.Array/581.Shortest_Unsorted_Continuous_Subarray.py
59ee17c1d77f092052632f84b1267f3614dfbe84
[]
no_license
lzxyzq/Cracking_the_Coding_Interview
03232515ae8eb50394d46322d36b230d1a626fcf
79dee7dab41830c4ff9e38858dad229815c719a0
refs/heads/master
2023-06-05T19:52:15.595289
2021-06-23T22:46:02
2021-06-23T22:46:02
238,068,000
0
1
null
null
null
null
UTF-8
Python
false
false
2,967
py
# Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be sorted in ascending order, too. # You need to find the shortest such subarray and output its length. ''' Example 1: Input: [2, 6, 4, 8, 10, 9, 15] Output: 5 Explanat...
[ "lzxyzq@gmail.com" ]
lzxyzq@gmail.com
7270bd3fa6b6b145daf3013f882bea4b4cdd44be
0343e1bf2154ea4b1515264d365faecfe3506e5b
/Atom.py
4788d33ee37b23ab32baa3e618f02369867cf7ee
[]
no_license
declanoller/hyperevo
4273fb1d94b670a69c4f25c2e5552e735b934630
ff3d62f8305c5ecbdcc5e51603d1bbfb042c1408
refs/heads/master
2020-04-20T16:59:07.431135
2019-02-03T18:02:19
2019-02-03T18:02:19
168,975,673
0
0
null
null
null
null
UTF-8
Python
false
false
13,969
py
import numpy as np from math import tanh import sympy import os import FileSystemTools as fst import json from copy import copy ''' I guess for this one, the output_weights should probably be tuples of the form (atom, input #, weight), because a given atom can have multiple inputs. Likewise, the output_weights for t...
[ "declanoller@gmail.com" ]
declanoller@gmail.com
6c43c50d4f5bd3c8db2cb275e43b1e2924c155c4
6569158699caec02fca237748b537863b861460c
/src/similarity/heterogeneous/PathSimStrategy.py
d3d3a468eb321db70008c2b917cd2cd3494c99d0
[]
no_license
wfnuser/RicherPathSIM
7c570ed35680c99643408ca9d1ccc40e935b4a36
253906f9a2fe4fb4d3451ebd1d3b51de51e0d239
refs/heads/master
2021-01-11T06:19:12.669466
2013-06-20T23:05:46
2013-06-20T23:05:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,378
py
import numpy from src.similarity.MetaPathSimilarityStrategy import MetaPathSimilarityStrategy __author__ = 'jontedesco' class PathSimStrategy(MetaPathSimilarityStrategy): """ Class that implements the PathSim similarity measure for same-typed nodes on heterogeneous graphs. Based on publication by Yizh...
[ "jon@jontedesco.net" ]
jon@jontedesco.net
22b8bc857da47675a13651377ee28938d3bc1028
5c7f2ff956b1fd1477d56486e239b6e661a08efd
/supervised_learning/0x06-keras/4-train.py
3af2ede58a820421ddda52a4111f58e7d5ef1030
[]
no_license
diego0096/holbertonschool-machine_learning
60c5f40e185df04d02d9887d966542e85a981896
64b8984846c2b2b88bbf11125b55b482c7b74eea
refs/heads/master
2023-04-02T01:27:59.263397
2021-04-02T21:33:51
2021-04-02T21:33:51
279,229,931
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
#!/usr/bin/env python3 """Module used to""" import tensorflow.keras as K def train_model( network, data, labels, batch_size, epochs, verbose=True, shuffle=False): """Function that trains a model""" history = network.fit(data, ...
[ "dfqz93@hotmail.com" ]
dfqz93@hotmail.com
43690166d40128ffbbd3a038c62b64dc7eeb5ea7
ebcc57cbd7bc4c951fe3cf9826efc2d03d1e47e8
/Chapter1/Q1.8.py
d8d57988cc79c56d9f0a1356d1eb38f885e22581
[]
no_license
Vahid-Esmaeelzadeh/CTCI-Python
17a672e95f1d886f4fb66239a4aa22a87f38382a
867360ab13dd63d24d6f3e45b5ac223755942b54
refs/heads/master
2022-10-26T16:43:54.939188
2020-06-11T21:42:15
2020-06-11T21:42:15
190,065,582
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
''' Zero Matrix: Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column are set to 0. ''' def zeroMatrix(mat: list): rowNum = len(mat) colNum = len(mat[0]) if rowNum != 0 else 0 if rowNum == 0 or colNum == 0: return firstRowHasZero = mat[0].count(0) > 0 ...
[ "v.esmaeelzadeh@gmail.com" ]
v.esmaeelzadeh@gmail.com
bee1cfef342afe3e9ebadd5185c7059521be9dfc
54417b54c6e025a5d9bd89ae119c9134ccca4510
/test/test_connectomics/datastructures/testvoxel.py
43b80fd448b4b48a89d428df47cb82d55b2de147
[]
no_license
SheetsKG/py-connectome-analysis
15481d579c089010b031d57141486114a2a153b2
169274d562b2981bc6f04032797c87ca5a66bbb0
refs/heads/master
2021-01-22T15:42:33.947279
2014-09-16T21:06:25
2014-09-16T21:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,230
py
''' Created on Feb 3, 2014 @author: u0490822 ''' import unittest import numpy as np import connectome_analysis as ca import connectome_analysis.datastructures.voxel as voxel import scipy.spatial.distance as sdist class VoxelTest(unittest.TestCase): def checkIndicies(self, vol, position, expectedIndicies, msg=N...
[ "james.r.andreson@utah.edu" ]
james.r.andreson@utah.edu
2b8c4867f20c06f28ecc9fbcf2774b04be05a04e
c15a28ae62eb94dbf3ed13e2065195e572a9988e
/Fluent Python/20/20.2.py
c2c01f531425d86d457d80596f247fa9439c1bda
[]
no_license
xuyuchends1/python
10798c92840a1a59d50f5dc5738b2881e65f7865
545d950a3d2fee799902658e8133e3692939496b
refs/heads/master
2021-01-25T07:07:04.812140
2020-02-28T09:25:15
2020-02-28T09:25:15
93,647,064
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
class Quantity: _count=0 def __init__(self): cls=self.__class__ prefix=cls.__name__ index=cls._count self.storage_name='_{}#{}'.format(prefix,index) cls._count+=1 def __set__(self, instance, value): if value>0: instance.__dict__[self.storage_name]...
[ "xuyuchends@163.com" ]
xuyuchends@163.com
25c8366f63832321581fc1dce1f206218e841d65
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/698PartitiontoKEqualSumSubsets.py
1a8ec7581d9cf1bb49975573f231f9da53963e1b
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
1,607
py
# coding=utf-8 ''' Created on 2017�10�16� @author: Administrator ''' class Solution(object): def canPartitionKSubsets(self, nums, k): """ :type nums: List[int] :type k: int :rtype: bool """ summ = sum(nums) if summ % k != 0: return False targ...
[ "yanhuang1293@gmail.com" ]
yanhuang1293@gmail.com
7cf12da9090e35e42593c445e9e5eb711089d0fb
a52066a5f390e1372fd4de78c69c16b5e247e46a
/property/admin.py
2d37a754e348b2cdbdd1282e97ca6faed46d8e92
[]
no_license
bl4ck4ndbr0wn/landville-backend-web-api
48de112b50a16da81611b550a91bd71486b20824
2248e95a91ffabc0c69fad25ba69a7ade1081512
refs/heads/develop
2022-12-14T11:18:29.294693
2019-09-17T07:58:41
2019-09-17T07:58:41
230,882,054
0
0
null
2022-12-08T05:34:56
2019-12-30T08:54:55
null
UTF-8
Python
false
false
283
py
from django.contrib import admin from .models import (Property, PropertyReview, PropertyInspection, PropertyEnquiry) admin.site.register(Property) admin.site.register(PropertyReview) admin.site.register(PropertyEnquiry) admin.site.register(PropertyInspection)
[ "ephraim.malinga@gmail.com" ]
ephraim.malinga@gmail.com
f3b2047bb8c15d009d5cfdc2294fd57939f37105
ff3eb18d5c3234a7e23a03fac7f8cc2a9bf94547
/glearn/_likelihood/_base_likelihood.py
be0f78987b4f72087c2946cdb8b65715e075c570
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ameli/glearn
afe9f73edcf1719a9a59600d3934ce3653d7e43a
c5183c746306522e74e163b64ef115a65681266c
refs/heads/main
2023-08-16T16:36:37.097729
2023-08-15T23:38:08
2023-08-15T23:38:08
373,664,668
2
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
# SPDX-FileCopyrightText: Copyright 2021, Siavash Ameli <sameli@berkeley.edu> # SPDX-License-Identifier: BSD-3-Clause # SPDX-FileType: SOURCE # # This program is free software: you can redistribute it and/or modify it under # the terms of the license found in the LICENSE.txt file in the root directory # of this source ...
[ "sia.sunrise@gmail.com" ]
sia.sunrise@gmail.com
748335d095a70db2081c5a1775861689f7ca3d8a
1fd7d0ac2903beb5ef70370b22485a3b43df7466
/Machine Learning/Klassifikation/Logistische Regression.py
b830413869dfe89c624468c86e2c1fc8d7429582
[ "MIT" ]
permissive
stanman71/Python_Basics
a34b3ea95b035ced5e607a8ba4841836c7667666
fe442e421362b22f61d05235e835a568d9ce3aef
refs/heads/master
2021-06-07T21:29:58.565300
2019-09-22T21:07:56
2019-09-22T21:07:56
161,891,286
1
0
MIT
2021-05-08T16:50:05
2018-12-15T09:47:23
CSS
UTF-8
Python
false
false
2,234
py
""" Unter logistischer Regression oder Logit-Modell versteht man Regressionsanalysen zur Modellierung der Verteilung abhängiger zufälliger (diskreter) Variablen und Zuordnung zu einer Klasse. Ziel: Kurvenverlauf mit möglichst geringen Abstand zu den einezlnen Punkten """ ## ###################...
[ "stanlay@gmx.net" ]
stanlay@gmx.net
49d717a463fe1aa2aba56a457a609fd5ef28eaef
99fca8eaa3fb5e93ed4ed857b439293bc0952c79
/Code Testing/test_survey.py
a5a66d73334b39d02acfeb0c00b35ea6e63ad6e4
[]
no_license
Ebyy/python_projects
7adb377f4e8eec94613e4e348f02c2ded306efac
0cacfab443d3eeeb274836b7be4b7205585f7758
refs/heads/master
2020-05-19T22:28:17.672051
2019-05-19T19:32:19
2019-05-19T19:32:19
185,240,041
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
import unittest from survey import AnonymousSurvey class TestAnonymousSurvey(unittest.TestCase): """Test for class AnonymousSurvey.""" def test_store_single_response(self): """Test that a single response is stored.""" question = "What language did you first learn to speak?" my_survey ...
[ "eberechi_oo@yahoo.com" ]
eberechi_oo@yahoo.com
a6a11b9f02b65505c57c67c82f445c38bf20424f
9cbab916088192af67a19aaee25fe7d6e5d27a31
/web/flask/mvc/mvc.py
4b9513e871f0b010000c26f6a1b3992bdfc99267
[]
no_license
ddayzzz/Pythonlearning
806c75304d7d954f2c935031d4d7516be7ce7300
54e92aa5282da97b6d4bd2355a668a16c272ee68
refs/heads/master
2020-12-30T12:44:49.465356
2017-05-25T15:12:53
2017-05-25T15:12:53
91,356,527
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
# coding=utf-8 # MVC结构初探 from flask import Flask, render_template, request import json import os app = Flask(__name__) @app.route('/', methods=['GET', 'POST']) def home(): return render_template('home.html') @app.route('/signin', methods=['GET']) def signin_form(): return render_template('form.html') @a...
[ "wangshu214@live.cn" ]
wangshu214@live.cn
183146db1c12b5739955d5dd2905e1e8753a16e5
b872ccff0c2f79886c0136b32da5f04cb8d3276c
/etcewrappers/emane/emaneeventtdmaschedule.py
55875966e00e3b6b7a7d46e29ca2f41d9efe2459
[]
no_license
prj8121/python-etce
9c22b3a182f103f46b1d865d13ded277482e4a34
bbd74a65280a09f3edc05457961b8c51ec009165
refs/heads/master
2022-11-18T05:19:19.324966
2020-04-02T15:15:47
2020-04-02T15:15:47
276,674,792
0
0
null
2020-07-02T14:57:07
2020-07-02T14:57:06
null
UTF-8
Python
false
false
3,961
py
# # Copyright (c) 2015-2018 - Adjacent Link LLC, Bridgewater, New Jersey # 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 source code must retain the above copyright # ...
[ "eschreiber@adjacentlink.com" ]
eschreiber@adjacentlink.com
bf26cfc8f60644c52cb50448bc33a7c5e8dddb18
505343f6ace00d22f8753c1a943a5794a619e698
/katas/Python/6 kyu/Schrdingers Boolean 5a5f9f80f5dc3f942b002309.py
e09f00fb145d91c745d59a94f46968afea841d81
[]
no_license
bullet1337/codewars
7652e50bf768bc47976a9124dd98b93602d4d458
ba7f13ddd766158b41e036dae5d6b15f7f08761a
refs/heads/master
2020-03-27T05:04:03.751302
2019-04-30T17:45:39
2019-04-30T17:45:39
145,991,995
1
0
null
null
null
null
UTF-8
Python
false
false
145
py
# https://www.codewars.com/kata/5a5f9f80f5dc3f942b002309 class Omnibool: def __eq__(self, other): return True omnibool = Omnibool()
[ "alichek95@mail.ru" ]
alichek95@mail.ru
6d4ba7dbe4ec8724bcfc6c95ce18bb818fc5b124
0ebcfdb5a98ff3e3975fb16e5f3b0616447b27e5
/DPSPipeline/database/userassignments.py
c07e0f32c85254e6e9223126fbb45bb0ef4c8edb
[]
no_license
satishgoda/DPS_PIPELINE
ff7723dba09c54dca4caaaf390c398f33d474bf3
49100eea1f81bb0b86a5fed1bb5c3b1b5411b912
refs/heads/master
2021-01-21T18:34:46.613939
2016-03-04T22:42:47
2016-03-04T22:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,241
py
import sharedDB #timestamp from datetime import datetime from PyQt4 import QtCore from PyQt4.QtCore import QObject ''' Group by project/phase order by due date For percentage completed Get the number of unfinished tasks / total number of tasks To get estimated hours per assignment, take (8 hr * work days left in...
[ "kanooshka@gmail.com" ]
kanooshka@gmail.com
6475dfcd1638382b256d2c080aa332986c8c10aa
bc5dd7be84a43ec53f8e4215761badb9b61a13ad
/kurs_2/vertualenv/Lib/site-packages/django/db/models/functions/text.py
b896b61e28ff97d18e7080780b35a37804a24f9f
[]
no_license
MaximMak/DL_Academy_Lessons
ef4758be02e43954748031ac95c970077f71cd7e
427576859657e88fd81683494397af3df920c674
refs/heads/master
2023-01-29T19:53:11.650096
2020-12-13T21:40:58
2020-12-13T21:40:58
276,397,551
0
0
null
null
null
null
UTF-8
Python
false
false
10,906
py
from django.db import NotSupportedError from django.db.models.expressions import Func, Value from django.db.models.fields import IntegerField from django.db.models.functions import Coalesce from django.db.models.lookups import Transform class BytesToCharFieldConversionMixin: """ Convert CharField results from...
[ "54116778+MaximMak@users.noreply.github.com" ]
54116778+MaximMak@users.noreply.github.com
44101645cfe34b8ec96656991a6c490fbcb09586
48de70e198d6c8f446dcba7efcebbae971ede3b3
/FireHydrant/BDT/xgbcallbacks.py
14b26f322fa93a2388352358000bc7c27f34187c
[]
no_license
phylsix/FireHydrant
9e2eb95b9e20c2fcc38fb42af572a5d7ce3de7d1
0848bbe5595b73ee4b4b15aec00f5723a9a58752
refs/heads/master
2020-06-16T00:27:20.157672
2019-12-24T23:06:40
2019-12-24T23:06:40
195,430,826
0
3
null
2019-10-01T22:39:25
2019-07-05T15:24:18
Jupyter Notebook
UTF-8
Python
false
false
8,297
py
#!/usr/bin/env python """callbacks for xgboost """ import time import numpy as np import xgboost as xgb from xgboost import rabit def callback_overtraining(best_test_auc, callback_status): """overtrain callback for xgboost :param best_test_auc: best auc score on test set :type best_test_auc: float :...
[ "siweinan@gmail.com" ]
siweinan@gmail.com
1d1a3137d03706cbb5c91955085020705c30c27e
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Scripts/pyinstaller/PyInstaller/loader/pyimod02_archive.py
9296bbd14c1aef42a27da920eae5501b3e9edccd
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:c97ad5e579ca97d5b44d77cfa269fe74c6d46c1c0b473a1c8de6cf7df2228569 size 7279
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
2b9265fbb0e7033162161f8319ba5d843fec6c6e
7c79c8caee77d08aa05cdc59eb68e569abf54a7e
/ics 33/solutions/ile2 solutions/Lab 8/PhanChristopher/poly.py
5eebdb03bbe68e9c447e9c4bb418dcfd86860a0f
[]
no_license
solomc1/python
2e4715cc24e7b23d91c879fc95954f615a615982
119e388fb6f4ab42f581e48393919d4052a08ef6
refs/heads/master
2021-01-17T16:48:02.671810
2016-07-29T05:27:50
2016-07-29T05:27:50
64,452,881
0
0
null
null
null
null
UTF-8
Python
false
false
5,060
py
class Poly: def __init__(self,*terms) -> None: ''' > self.terms is a dictionary > keys are *powers* of x > values are *coefficients* of x ''' self.terms = {} if len(terms) == 0: return else: for coeffi...
[ "solomc1@uci.edu" ]
solomc1@uci.edu
35e4465ea5c36e613c6aa15fad18b6c59e34aca2
d8e23b9eaaea8080aa7a910b06fe1ae04b7f2a74
/flavio/math/test_optimize.py
ace5779277eed50b329b85089cccbea69c4cecf4
[ "MIT" ]
permissive
flav-io/flavio
7ba0f8735193f2014ee69b4b64e139714637f1df
cf9fe5c56b2a6930e366142894ddc66951c1ce52
refs/heads/master
2023-07-07T00:45:48.923555
2023-06-01T13:25:59
2023-06-01T13:25:59
50,420,265
76
65
MIT
2023-06-29T06:57:05
2016-01-26T10:03:12
Python
UTF-8
Python
false
false
1,149
py
import unittest import numpy as np import numpy.testing as npt import flavio def f(x): return (x[0]-2)**2 + (x[1]-1)**2 def g(x): return -f(x) def h(x, a): return (x[0]-a)**2 + (x[1]-1)**2 class TestOptimize(unittest.TestCase): def test_slsqp(self): res = flavio.math.optimize.minimize_robust(f...
[ "david.straub@tum.de" ]
david.straub@tum.de
42c767941b8f7a8d86d7e4cb597956535457e53c
d324b3d4ce953574c5945cda64e179f33c36c71b
/php/php-sky/grpc/src/python/grpcio_tests/tests/unit/framework/foundation/stream_testing.py
32b0341ad7966e0c9bd1fa259e35f43792aea7cf
[ "Apache-2.0" ]
permissive
Denticle/docker-base
decc36cc8eb01be1157d0c0417958c2c80ac0d2f
232115202594f4ea334d512dffb03f34451eb147
refs/heads/main
2023-04-21T10:08:29.582031
2021-05-13T07:27:52
2021-05-13T07:27:52
320,431,033
1
1
null
null
null
null
UTF-8
Python
false
false
2,017
py
# Copyright 2015 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
71df8e684ed3dae9857b6460d28c08af04f7c124
8ab46cba46fb2938835dde6e49af61937ab192af
/poetry/__version__.py
77eaf592dd6b7bd8809d79dca477381f98d3ac82
[ "MIT", "GPL-2.0-only", "Apache-2.0", "BSD-2-Clause", "LGPL-2.1-only", "GPL-2.0-or-later", "BSD-4-Clause", "GPL-3.0-only", "LGPL-3.0-only", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "GPL-3.0-or-later", "LGPL-3.0-or-later", "LGPL-2.1-or-later" ]
permissive
isabella232/poetry
c5c056a29db3bf611bf6d97fcef3f156aa72c871
05a3c85f8a7902f572cbda8eb23701a9a56dafa2
refs/heads/master
2022-03-29T05:03:57.764249
2019-12-11T20:16:12
2019-12-11T20:16:12
474,336,367
0
0
MIT
2022-03-26T22:04:05
2022-03-26T12:08:50
null
UTF-8
Python
false
false
24
py
__version__ = "1.0.0b9"
[ "noreply@github.com" ]
isabella232.noreply@github.com
60b0db1dcc7d38d48d1c419268514304c1806bd6
9c4508b340f7f84fc5084decc64ebff75afaec68
/analysis/webservice/webmodel/StatsComputeOptions.py
86e5d597215a4585d335caa8d2b389c2df4ae911
[ "Apache-2.0" ]
permissive
apache/incubator-sdap-nexus
4590d6417b362acd88ac3ec6b315da06f7460718
76f3e4d617abbf283804d6f52aa2eff86e15a744
refs/heads/master
2023-09-01T12:52:17.381622
2023-08-22T21:35:26
2023-08-22T21:35:26
108,511,090
21
34
Apache-2.0
2023-09-14T20:18:33
2017-10-27T07:00:11
Python
UTF-8
Python
false
false
2,586
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 use ...
[ "noreply@github.com" ]
apache.noreply@github.com
e2aecbe9701cbaf4eaa6a72fdedbf8eeb13950b0
0a727f3ffde045805b9b789abbaa9c8497667f8e
/CrossMgrCamera/AddPhotoHeader.py
a9ab798acf0f813bf0c8bc2a0fb48a2709f0153d
[ "MIT" ]
permissive
esitarski/CrossMgr
ff4a632089a144f6ecc57970e2b29a7c31a15118
a95ac1d65f2d0cab712cc6e5f9393668c1bbf83c
refs/heads/master
2023-08-30T22:48:43.457978
2023-08-24T14:12:44
2023-08-24T14:12:44
1,042,402
33
20
MIT
2023-04-30T13:32:11
2010-11-01T17:25:15
Python
UTF-8
Python
false
false
6,801
py
import wx from wx.lib.agw.aui import LightColour import os import math import Utils class dotdict( object ): pass def formatTime( secs ): f, ss = math.modf( secs or 0.0 ) secs = int(ss) hours = secs // (60*60) minutes = (secs // 60) % 60 secs = secs % 60 + f return '{:02d}:{:02d}:{:06.3f}'.format( hours, min...
[ "edward.sitarski@gmail.com" ]
edward.sitarski@gmail.com
860636ada08867c77753a3c24ddd474e3242f227
94f5e16caf4d10a6ac4ba7e9896b33c8d503f1bb
/migrations/versions/5f7a5ddbf7af_.py
9a94c55035b427c0504ccd18b74553992c051ce5
[]
no_license
hornLK/LKproject
3dd760ad1c83b2d6faaddf66c32d4be16349c2d2
9f9b7c324b740aa215d5dd0ac7a7eecdb0a4ef0c
refs/heads/master
2021-09-05T22:05:20.321201
2018-01-31T07:43:27
2018-01-31T07:43:27
112,689,101
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
"""empty message Revision ID: 5f7a5ddbf7af Revises: 1d0cc801c49f Create Date: 2018-01-15 20:24:46.074233 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '5f7a5ddbf7af' down_revision = '1d0cc801c49f' branch_labels = None depends_on = None def upgrade(): # ...
[ "bjlkq546449541@gmail.com" ]
bjlkq546449541@gmail.com
9fb1d67a0e9b750a78cab4ce36eddb0fad97d4ca
fa33d9994e45348b28a4aa375575460a0a5ef100
/bazaar/urls.py
96301ff62b6682a4206f791fd7476f3220ddb817
[]
no_license
KushalVijay/Smart-Buy
6730b4cbb9951bfb9c59045af2c479574a6ad6e5
4bdcfc44826d6c1aaa2f10b507b181cd092e3cb0
refs/heads/master
2022-04-09T21:38:31.927219
2020-03-23T10:12:50
2020-03-23T10:12:50
249,395,588
11
8
null
null
null
null
UTF-8
Python
false
false
1,734
py
"""project3 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-b...
[ "vijaykushal8118@gmail.com" ]
vijaykushal8118@gmail.com
27ee28679d9eb1bffb2f1e431d2bc7787ec15af2
bb37226fe4f918cec1b5d3b9f3c2abd227c740fb
/library/setup.py
da6190df6b671fac3be9afc2c85b4235220dd3c5
[ "BSD-2-Clause" ]
permissive
piecafe/rpi_ws281x-python
e942f44b77cb9c61f10a4777b1140463020b5ab5
7c7513aec0aa60dd2d8c3d8fdcb2e8bba6fa3ef6
refs/heads/master
2021-01-23T07:16:31.825159
2017-08-18T12:54:47
2017-08-18T12:54:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,424
py
#!/usr/bin/env python # Python wrapper for the rpi_ws281x library. # Authors: # Phil Howard (phil@pimoroni.com) # Tony DiCola (tony@tonydicola.com) from setuptools import setup, find_packages, Extension from setuptools.command.build_py import build_py import subprocess class CustomInstallCommand(build_py): ...
[ "phil@gadgetoid.com" ]
phil@gadgetoid.com
2b694d9643bf16ae008b20db0368e0915d9f8158
0674b9d8a34036a6bbe2052e1cae0eee9a44554b
/Baekjoon/2941.py
ee51dc09161855679d9cb3d0955c5af4efebcde3
[]
no_license
timebird7/Solve_Problem
02fb54e90844a42dc69a78afb02cc10a87eda71c
2d54b6ecbe3edf9895fd8303cbca99b3f50f68f3
refs/heads/master
2020-04-14T23:37:15.354476
2019-04-15T14:32:41
2019-04-15T14:32:41
164,208,673
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
s = input() while s.find('c=') >= 0: s = s.replace('c=','1') while s.find('c-') >= 0: s = s.replace('c-','2') while s.find('dz=') >= 0: s = s.replace('dz=','3') while s.find('d-') >= 0: s = s.replace('d-','4') while s.find('lj') >= 0: s = s.replace('lj','5') while s.find('nj') >= 0: s = s.re...
[ "timebird7@gmail.com" ]
timebird7@gmail.com
fc3fdfec5df7869e6e4c00786c0cb1712f5f7405
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/program/pyquil/startPyquil191.py
5d80d7ba626c297f6554e4295cdaa0a9f0341404
[ "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,154
py
# qubit number=2 # total number=9 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(0) # number=1 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
be9f2bb0defc1f2082a178d6bb37135cf836224c
5b71e2952f34dd3bb20148874d952fee06d31857
/app/mf/crud/migrations/0107_auto_20210208_2328.py
37f44934ff8cd007fd1f0c5693956ab187222266
[]
no_license
isela1998/facebook
a937917cddb9ef043dd6014efc44d59d034102b1
a0f2f146eb602b45c951995a5cb44409426250c5
refs/heads/master
2023-07-18T02:14:50.293774
2021-08-28T03:26:06
2021-08-28T03:26:06
400,613,743
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# Generated by Django 3.1.1 on 2021-02-09 03:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('crud', '0106_auto_20210208_1919'), ] operations = [ migrations.AlterField( model_name='cancelledinvoices', name='pro...
[ "infantefernandezisela@gmail.com" ]
infantefernandezisela@gmail.com
e46899246ef5d5ccc4e48374f590c0591205b6dc
567e89b21aca23db5f14032889fdd1cb7c7700f7
/Ia de morpion 1.py
85df14cede381f6300d00965b3de944a959dfe20
[]
no_license
MarcPartensky/Python-2018
7ab83d42eb28b34bed88fc6fb77892e62094dd8d
27d2a57a6b6d6cdaa883fd2ce55e1c5eefd13ccc
refs/heads/master
2020-04-17T13:12:41.448439
2019-01-19T23:55:05
2019-01-19T23:55:05
166,605,846
0
0
null
null
null
null
UTF-8
Python
false
false
2,487
py
import math import numpy M=[0]*9 Grille = [0]*9 Liste = np.zeros([9][8][7][6][5][4][3][2][1]) Enjeux = [[9,-5], [-9,8], [7,-4], [-8,6], [5,-3], [-7,4], [3,-2], [-6,2], [1,-1]] for a in range(0,9): M[0]=a Avantage=Avantage+Enjeux[...
[ "marc.partensky@gmail.com" ]
marc.partensky@gmail.com
baff098ad1a4ceb0d889a74177b3d6da526db038
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_10324.py
32be4825222f5f15db073907b679ed582a5c4b98
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,841
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
1c34d14ba96c3625da9c663dd7e84a221f2a03a4
025660ec946f46cb7458abb12ce32fb4a2e437bb
/event/arguments/loss.py
60b776d0dcc85bde9d1d031e11f8f8068f8c034e
[ "Apache-2.0" ]
permissive
edvisees/DDSemantics
af22070a239ac227694b87218db5e9c2021ac57b
9044e4afa6f9d6d7504de028633295f30679278d
refs/heads/master
2022-12-01T10:50:32.221836
2020-06-18T04:29:44
2020-06-18T04:29:44
283,858,855
0
0
Apache-2.0
2020-07-30T19:19:55
2020-07-30T19:19:55
null
UTF-8
Python
false
false
224
py
import torch def cross_entropy(y_hat, y): print(y_hat) print(y) if y_hat == 1: return -torch.log(y) else: return -torch.log(1 - y) def hinge(y_hat, y): return np.max(0, 1 - y_hat * y)
[ "hunterhector@gmail.com" ]
hunterhector@gmail.com
8989121be2a99eb5d69e650fe7256dd5990e7d0b
046cd4903994a736e31a50601550d05b53462372
/vision/vis.py
7692876d8b6aa2702b8a7e0af2bcb33c6e6ae775
[]
no_license
Kyriection/compexp
baa0a13e8a16296c0088a2633476ee7d3de74891
1038c4cd66f47f4d56998927a8f64dc70839ab48
refs/heads/master
2023-04-20T03:34:03.692825
2021-05-10T14:04:26
2021-05-10T14:04:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,748
py
import settings from loader.model_loader import loadmodel from dissection.neuron import hook_feature, NeuronOperator from dissection import contrib from visualize.report import ( neuron as vneuron, final as vfinal, index as vindex, ) from util.clean import clean from util.misc import safe_layername from tqd...
[ "6245103+jayelm@users.noreply.github.com" ]
6245103+jayelm@users.noreply.github.com
33f283df6d6a2614a08df515391e4bc8357670c2
9c5b9e4197bfdcf74cec45dcca47d9caa3317a4b
/main.py
06e1a299d1af620fd21b58c3165b1705a3f4d14e
[]
no_license
rhuidean/terrain_data
614c1a8f5420538b74e2e72bc20e19ccce7e565f
596b2e3993d7b445c8115cd316349a026ad63dae
refs/heads/master
2021-01-25T06:36:11.245301
2017-06-07T05:21:27
2017-06-07T05:21:27
93,593,657
0
0
null
null
null
null
UTF-8
Python
false
false
1,530
py
#!/usr/bin/python """ Complete the code in ClassifyNB.py with the sklearn Naive Bayes classifier to classify the terrain data. The objective of this exercise is to recreate the decision boundary found in the lesson video, and make a plot that visually shows the decision boundary """ from prep_t...
[ "rhuidean06@gmail.com" ]
rhuidean06@gmail.com
663e6787be5b9db16ae4072efaf3ea2dbae9775f
64509ed67a7c6594485f15eb1a3014d25c02957f
/plugins/module_utils/network/avi/ansible_utils.py
9abd7b8c9b6f1e6eea3d8a51afff8ae382c7a26b
[]
no_license
ansible-collection-migration/ansible.avi
4a2673f10ba5196ea02ddc6f7b5509898dcbd0a6
bef71c337f967ef2f7a9969bac78dc71df14c78f
refs/heads/master
2020-12-18T13:02:59.075595
2020-02-03T22:02:18
2020-02-03T22:02:18
235,393,245
0
0
null
null
null
null
UTF-8
Python
false
false
21,449
py
from __future__ import absolute_import """ Created on Aug 16, 2016 @author: Gaurav Rastogi (grastogi@avinetworks.com) """ import os import re import logging import sys from copy import deepcopy from ansible.module_utils.basic import env_fallback try: from ansible_collections.ansible.avi.plugins.module_utils.netw...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
6572a45e896e65f747dd399131d451027c8a0f8e
bfb113c3076f5b0570953583e7a2321c774d73ea
/Classes/class_example106.py
fb14ae80d41b7c5e58d8fbd7205723b8647d23bc
[]
no_license
gsudarshan1990/Training_Projects
82c48d5492cb4be94db09ee5c66142c370794e1c
2b7edfafc4e448bd558c034044570496ca68bf2d
refs/heads/master
2022-12-10T15:56:17.535096
2020-09-04T06:02:31
2020-09-04T06:02:31
279,103,151
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
#This python program is about static method class Rectangle: def area(length, breadth): return length*breadth Rectangle.area=staticmethod(Rectangle.area) print(Rectangle.area(10,12)) class Square: def area(side): return side**2 area=staticmethod(area) print(Square.area(7))
[ "sudarshan2009@live.in" ]
sudarshan2009@live.in
5ec2bd27d104ad261ca02ea4c6eb402c72836eb5
e1c7c25c22c2f854aa8e3d8f6fffdf80a0b4dfbf
/CodeForces/CodeForces_Solution_In_Python/watermelon_problem.py
e4682dc0816385ec70cb341507d02ceba1752e7f
[]
no_license
roshan13ghimire/Competitive_Programming
efc85f9fe6fa46edff96931ca3a1cca78628918b
0c238a391c6acee8763968ef298b765c133b7111
refs/heads/master
2023-04-15T16:35:07.711491
2021-04-12T03:00:05
2021-04-12T03:00:05
273,682,360
4
1
null
2020-08-05T02:11:53
2020-06-20T09:59:57
Python
UTF-8
Python
false
false
132
py
#watermelon_problem n=int(input()) if(n==2): print("NO") exit() if(n%2==0): print("YES") else: print("NO")
[ "noreply@github.com" ]
roshan13ghimire.noreply@github.com
523b04f22ef940fae42d54f7acd0945edab44cd0
26c8a9bda50bb2ea9d44529d803477e788d102a2
/MODEL1302180002/model.py
a2c7fdcded362373ccd9ab2e6a9483cf516de075
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
biomodels/MODEL1302180002
20a378031da3750921062cd69752e11eb9ff6645
fd9c884345a84dcf4c75d3db87f27520d6c3853f
refs/heads/master
2020-05-31T02:54:36.073367
2014-10-16T05:49:30
2014-10-16T05:49:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import os path = os.path.dirname(os.path.realpath(__file__)) sbmlFilePath = os.path.join(path, 'MODEL1302180002.xml') with open(sbmlFilePath,'r') as f: sbmlString = f.read() def module_exists(module_name): try: __import__(module_name) except ImportError: return False else: ret...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
14280dd87f4eec14382e48e5062801018048ead1
99deab5f52fd7262a26de9aa5d0163bfa738590f
/python/leetcode/geometry/593_valid_square.py
10db741d5cf9151696a35d715fbce4d92f80f27b
[]
no_license
zchen0211/topcoder
e47fc07c928b83138e27fd6681b373ce499480b0
4d73e4c1f2017828ff2d36058819988146356abe
refs/heads/master
2022-01-17T16:54:35.871026
2019-05-08T19:26:23
2019-05-13T05:19:46
84,052,683
0
2
null
null
null
null
UTF-8
Python
false
false
1,474
py
""" 593. Valid Square (Medium) Given the coordinates of four points in 2D space, return whether the four points could construct a square. The coordinate (x,y) of a point is represented by an integer array with two integers. Example: Input: p1 = [0,0], p2 = [1,1], p3 = [1,0], p4 = [0,1] Output: True Note: All the in...
[ "chenzhuoyuan07@gmail.com" ]
chenzhuoyuan07@gmail.com
b7ab08da2f79c2419645422a6de099e4cd1df741
72880d033c9948098291efebf934255635f8c6ea
/pythonexamples/constructor2.py
0dec20edf9b0368a505ee3cb68138df8219450b0
[]
no_license
manutdmohit/mypythonexamples
729347aec300bda01f629224337c84d5838a71f2
b189c201d07b1a345478699bbb3852c02eb96ce5
refs/heads/master
2023-04-18T01:55:22.026867
2021-05-13T05:59:09
2021-05-13T05:59:09
366,946,854
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
class Student: def __int__(self,name,rollno,marks): print('Creating instance variables and performing initialization...') self.name=name self.rollno=rollno self.marks=marks s1=Student('Ram',101,90) s2=Student('Sita',102,95) print(s1.name.s1.rollno,s1.marks) print(s2.name.s2.rollno,s2.marks)
[ "saudmohit@gmail.com" ]
saudmohit@gmail.com
070e6ab9841df7311809ebd17f01a2e542e6a9bb
7a4ed01a40e8d79126b26f5e8fca43c8e61e78fd
/Geeky Shows/Advance Pyhton/220.Module[34]/PythonProject/Example-16.py
e95b5e1423d89cfc81cdc3ab590dfb301de598a5
[]
no_license
satyam-seth-learnings/python_learning
5a7f75bb613dcd7fedc31a1567a434039b9417f8
7e76c03e94f5c314dcf1bfae6f26b4a8a6e658da
refs/heads/main
2023-08-25T14:08:11.423875
2021-10-09T13:00:49
2021-10-09T13:00:49
333,840,032
1
0
null
null
null
null
UTF-8
Python
false
false
166
py
# Example-16.py <---- Main Module from thired import Myclass,Myschool from fourth import Mycollege c=Myclass() c.name() s=Myschool() s.show() cl=Mycollege() cl.disp()
[ "satyam1998.1998@gmail.com" ]
satyam1998.1998@gmail.com
e2f30408e62e31ec33316a8fdad1c5f5e6477b7c
b95e71dcc1b42ebf3459ee57bd0119c618a79796
/HashTable/Easy/811.py
e34b3be698d497e6d4f22a44b9eb0185ba053eed
[]
no_license
anton-dovnar/LeetCode
e47eece7de28d76b0c3b997d4dacb4f151a839b5
6ed9e1bd4a0b48e343e1dd8adaebac26a3bc2ed7
refs/heads/master
2023-06-29T07:21:06.335041
2021-07-31T15:08:05
2021-07-31T15:08:05
361,205,679
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
""" Subdomain Visit Count """ from collections import deque class Solution: def subdomainVisits(self, cpdomains: List[str]) -> List[str]: hash_table = dict() for record in cpdomains: count, domain = record.split() queue = deque(domain.split(".")) while queue: ...
[ "fode4cun@gmail.com" ]
fode4cun@gmail.com
f01df49e553d025d48a9b6321804b23a2568aec9
b00840e56173dc2a196442bd354b9e3cc13b17df
/code_dust_fargo/plotBothDensityMaps.py
44ec031d239796ac37957df88912b7f62710b65e
[]
no_license
Sportsfan77777/vortex
56c28fb760f6c98de4a7c8fdcf1168d78b4e57af
780ec14937d1b79e91a367d58f75adc905b8eef2
refs/heads/master
2023-08-31T02:50:09.454230
2023-08-24T10:55:05
2023-08-24T10:55:05
41,785,163
1
1
null
null
null
null
UTF-8
Python
false
false
9,817
py
""" plot 2-D gas and dust density maps side-by-side usage: plotBothDensityMaps.py [-h] [-c NUM_CORES] [--dir SAVE_DIRECTORY] [--hide] [-v VERSION] [--range R_LIM R_LIM] [--shift] [--cmap CMAP] [--cmaxGas GAS_CMAX] [--cmaxDust DUS...
[ "mhammer44444@gmail.com" ]
mhammer44444@gmail.com
f0a7ba891391990b621ed21caa25719191d833b9
7bb9ffe61491817e999de40266653063ae4f8cfb
/swamp_angel/sa_sa2_vars/allNcFiles_sa2.py
1df7d70733f86ceacc5088842ad6eb38a63c481a
[]
no_license
cycle13/chapter1
b0e43d7c3297aa24109d0fd00e9bfaa9a95cea2c
18638f5ef806fa16d7b3b14b43501674478e220e
refs/heads/master
2022-04-09T23:55:21.936738
2020-03-31T01:44:44
2020-03-31T01:44:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,752
py
av_ncfiles = ["C:/Users/HHS/summaTestCases_2.x/output/swampAngel/sa_sa2_vars/sa_sa2_ljh_2006-2007_senatorVariableDecayRate_1.nc", "C:/Users/HHS/summaTestCases_2.x/output/swampAngel/sa_sa2_vars/sa_sa2_ljh_2007-2008_senatorVariableDecayRate_1.nc", "C:/Users/HHS/summaTestCases_2.x/output/swampA...
[ "safa.hamideh@gmail.com" ]
safa.hamideh@gmail.com
9d72d1fe8cfc2b68d11f5698576f8ab92bb82e06
d66fd976d66632267551467c3df9b2fbfb8be1cd
/Interview01/100 python传参还是传址.py
ab4c8e34f9f1c32e2d62671c0823d23c97d79687
[]
no_license
bobopython/PythonInterviewQuestions
d8f580932f36bd85432aaafd5c00924183bac16a
9f38a9368bbca32d071062d59748518c0c4f0d09
refs/heads/master
2020-06-07T06:37:25.038426
2019-02-22T16:46:00
2019-02-22T16:46:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
# _*_ coding: utf-8 _*_ __author__ = 'jevoly' __date__ = '2019/2/16 0016 下午 11:29' """ python中函数参数是引用传递。 对于不可变类型(数值、字符串、元组),因变量不能修改 所以运算不会影响到变量自身; 对于可变类型(列表字典)来说,函数体运算可能会更改传入的参数变量 """ def selfAdd(a): a += a a_int = 1 print(a_int) selfAdd(a_int) print(a_int) a_list = [1, 2] print(a_list) selfAdd(a_list) print(a_...
[ "jevoly@163.com" ]
jevoly@163.com
1fd6bc312a6a1bc45018278de45bf926b5e94a90
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnn1875.py
87e2540084a7b287dfde7037cd1f346bc054f5ca
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
120
py
ii = [('UnitAI.py', 1), ('WadeJEB.py', 1), ('MereHHB3.py', 2), ('MereHHB.py', 1), ('StorJCC.py', 1), ('SadlMLP2.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
a76f71b1b0a7bbd3e2980596c7741c93c2f0397d
6f4ee285871ee52ea4c1143d54581ead795bca87
/example/asr/preprocess_aihub.py
966a54cb9783dff1ab5f8ed68a23ec6dd026ed95
[ "MIT" ]
permissive
rosinality/imputer-pytorch
f3773074ddec615c8eaffd1b89a67402790aa3cc
7ff8f73dcd7bd62a98c5b8a126946c5fe381d895
refs/heads/master
2022-05-24T16:30:05.588670
2020-05-03T00:36:28
2020-05-03T00:36:28
257,501,256
52
8
null
null
null
null
UTF-8
Python
false
false
3,933
py
import argparse import io import re import os import string import wave import pickle from multiprocessing import Pool from functools import partial import lmdb import librosa import torch from tqdm import tqdm from audio import FilterbankFeature from text import collapse_whitespace re_pronunciation = re.compile(r'\...
[ "kim.seonghyeon@snu.ac.kr" ]
kim.seonghyeon@snu.ac.kr
3f25f208b39b728d049043a65f1698f402063b63
d4dda2e2992ca16b8fe628e417f8a4243af0ed4a
/step10_plottingutilities/nexpectedeventsDbkg0.5.py
694952c3137cf9cfe4b69eb75d783cd8b5acd850
[]
no_license
hroskes/anomalouscouplings
01f46c0d38f5332c58538b0bdea373704cf06fcc
391eb7fbd52d8605b09ca2e461b1789e019b1da0
refs/heads/production
2021-11-24T22:37:48.932830
2021-10-29T18:38:54
2021-10-29T18:38:54
60,651,233
0
2
null
2017-01-24T14:20:56
2016-06-07T22:37:23
Python
UTF-8
Python
false
false
1,170
py
#!/usr/bin/env python import os import ROOT from helperstuff import config from helperstuff.enums import analyses, channels, categories from projections import Projections assert len(config.productionsforcombine) == 1 production = config.productionsforcombine[0] class NExpected(Projections): @property def nexp...
[ "jroskes1@jhu.edu" ]
jroskes1@jhu.edu
7e18b441ca5e77bb4d99946436324fdc717db390
c8836eac0f6a20a6d3056fc3651c9daf5ce0572d
/test_hu/test_cadastro.py
dac1ceb79c100055f70f3db34a7f50d2195c4645
[]
no_license
rafaelcoelho/code_interview_training
cb44eb6701b6902a28eaf1c0025aea4921dfccb4
fa7484487bf1a2fa9fb4a4abe135c6114fd98bf8
refs/heads/master
2021-01-18T20:05:59.486916
2020-11-27T00:00:56
2020-11-27T00:00:56
100,544,717
0
0
null
2017-08-17T00:36:50
2017-08-17T00:36:49
null
UTF-8
Python
false
false
3,447
py
""" Utilizando o conceito de dicionários, faça uma ficha de cadastro de 4 funcionários utilizando a seguinte estrutura: Chave: Nome Dados: Idade, email, setor, salario Inclua os funcionários: Joao Pereira, 25, joao.pereira@hurb.com, marketing, 1950 Maria Silva, 23, maria.silva@hurb.com, comercial, 2300 Pedro Peixoto, 3...
[ "renzon@gmail.com" ]
renzon@gmail.com
7410a60093d30f7f552fe587527803a22d586e60
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/scrabble-score/4f89ec23c2c3437681d68f5c9bf4d3d9.py
ee4dbb86106d575505a2c999db6b7e251a7494d5
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
382
py
def score(phrase): score_dict = { "a": 1, "b": 3, "c": 3, "d": 2, "e": 1, "f": 4, "g": 2, "h": 4, "i": 1, "j": 8, "k": 5, "l": 1, "m": 3, "n": 1, "o": 1, "p": 3, "q": 10, "r": 1, "s": 1, "t": 1, "u": 1, "v": 4, "w": 4, "x": 8, "y": 4, "z": 10 } s = 0 for char in phrase....
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
1d945a7c1bf6726a99ca1c625db31858855c0347
5ba0e63ff6d94efbd28ed425bb6074e74d3148a0
/app.py
c9fe431141f706fd0d4bbe760be77e916c60c677
[]
no_license
SmartPracticeschool/SBSPS-Challenge-4160-Sentiment-Analysis
ad25e307f38828dd219e26a2bcbb7250a2cf023e
b448d93e8464bf5af5bd70cacf631ed124d96a18
refs/heads/master
2022-11-20T08:31:50.487634
2020-07-29T11:23:24
2020-07-29T11:23:24
272,616,702
0
0
null
null
null
null
UTF-8
Python
false
false
2,313
py
from flask import Flask, render_template,request, jsonify import tweepy from textblob import TextBlob app = Flask(__name__) app.config["DEBUG"] = True cons_key="zJQyiylJYFuutBTOzomm2ZgDc" cons_sec="gPXYZSZ7jVqjTOIG48p4CYzs7fx9fmaWHFPnmSMp4DF10Bla3D" acc_token="1269151933559762945-wZYKQZRbSRaTuDkxW29PnLVaTUJmea...
[ "noreply@github.com" ]
SmartPracticeschool.noreply@github.com
d31b596c5a1b60f72386ba04c19e591e3b4d2eca
7ef2308e51d1d5700fbd092177ee15e2a03ebdd8
/WorkLean/Python/Scrapy/testCrawler3_0/testCrawler3_0/items.py
6672b1af9e9bd24d5a6602896aef9d975422922e
[]
no_license
STAWZW/STAWZW1.0
741002eb35c2883e5739fee8d14ff430e9622c01
a835ac27aba17f968116e321bd201b26c9fb3578
refs/heads/master
2020-07-21T20:21:59.753992
2019-09-26T09:21:28
2019-09-26T09:21:28
206,965,347
2
0
null
null
null
null
UTF-8
Python
false
false
293
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class Testcrawler30Item(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "1223868042@qq.com" ]
1223868042@qq.com
9eaa568ed36cd7532c669f74ff9bdcb0cae51b8e
bbefcbb5fdaa571b1bd674269a51d855eadbb2cb
/ticketing/migrations/0037_auto_20200207_1606.py
a6ef78cdee50e70b0274b2594896c195a3920f96
[]
no_license
fadhlimulyana20/event_organizer
8a0e87e71ca24f9ca82af5c90b39be1e61e7867d
4995d529a533d0a6b855e42283c2aaf441fa5a9c
refs/heads/master
2020-12-13T17:11:49.562499
2020-03-01T22:19:29
2020-03-01T22:19:29
234,480,025
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
# Generated by Django 2.2.7 on 2020-02-07 09:06 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('ticketing', '0036_auto_20200206_1445'), ] operations = [ migrations.AlterField( ...
[ "baba.fadhli@gmail.com" ]
baba.fadhli@gmail.com
1026e8e368b714ae254ae648462cc092ae78c161
499c37bf1fe03b0beeb0121e9fa9ffd795b93392
/crowd.py
7ab6970834b393b0f05307b01bb7c3549db5c428
[ "ISC" ]
permissive
wezu/p3d_gpu_anim
b2788c1950fbaa588068fc587aa112a33259b9ff
8429da56ffe52fd130fd8bbd0977e92200e9177a
refs/heads/master
2020-12-02T17:52:32.393525
2017-07-16T14:46:23
2017-07-16T14:46:23
96,442,664
3
0
null
null
null
null
UTF-8
Python
false
false
11,980
py
from panda3d.core import * from direct.interval.MetaInterval import Sequence from direct.interval.FunctionInterval import Func from direct.interval.FunctionInterval import Wait from random import random from math import floor import json __author__ = "wezu" __copyright__ = "Copyright 2017" __license__ = "ISC" __versio...
[ "grzechotnik1984@gmail.com" ]
grzechotnik1984@gmail.com
c0a5fb209b3e0ee8dd0b5293a6afb6b3dd4fe217
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/dbforpostgresql/v20210410privatepreview/server.py
78315aa30f6e698fdd1320e012bb19f618b33a14
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,962
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
140d5a49d274013ddeace0c911a004f3725a8cd0
3432efd194137e1d0cb05656eb547c9992229f02
/web_test/nineteen cookie/cookie.py
d0991972774ab8c00cf93a1c3cace275a13d7ecc
[]
no_license
zhanganxia/other_code
31747d7689ae1e91fcf3f9f758df130246e7d495
8d09d9d0b6d6a1a9b8755487f926ac6fafd761fa
refs/heads/master
2021-09-04T02:22:38.632685
2018-01-14T15:37:14
2018-01-14T15:37:14
107,007,482
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
#coding=utf-8 from selenium import webdriver import time driver = webdriver.Chrome() driver.get("http://www.youdao.com") #获得cookies信息 cookie=driver.get_cookies() #将获得cookies的信息打印 print cookie driver.quit()
[ "kk@kk.rhel.cc" ]
kk@kk.rhel.cc
5926a539dc685e3b284ebafa5e13af890c809432
5a281cb78335e06c631181720546f6876005d4e5
/openstack-cyborg-2.0.0/cyborg/accelerator/drivers/gpu/utils.py
15a926e52a1cf7a63768cf2955192eb569ff9f26
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
4,150
py
# Copyright 2018 Beijing Lenovo Software Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
5b8c473a88965f160d27bbdbf6da45b8cdebd7e6
f8e778d31a83fdbacb0c498f6c71aa2c48f2d000
/scenarios/card_hold_show/executable.py
2631ad59e96fdaab9c937f252adb2b5251b792f3
[ "MIT" ]
permissive
bsmartt13/balanced-python
a254c695032a80bb1919b8e3fc5cb4c28b4ef44b
c5e192f9547f7b251486cf78d98933410a31daca
refs/heads/master
2020-12-27T15:01:01.237398
2014-03-11T00:00:22
2014-03-11T00:06:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
import balanced balanced.configure('ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc') card_hold = balanced.CardHold.fetch('/card_holds/HL2bT9uMRkTZkfSPmA2pBD9S')
[ "ben@unfiniti.com" ]
ben@unfiniti.com
4202d20e3558a69f15aca8363391280f1b305552
bdc10ba57424040129cc72ad018ff26bc8bca66a
/ConfigDefinitions/UserConfigs/SMHTT_2018_AntiIso_Config_Deep/WZ2L2QConfig.py
202bcd9c8f5a2cfb9428c372ab52265bd277a253
[]
no_license
aloeliger/Jesterworks
61e0ac38ca325fefbbd8ccedaa8eb02d8a76ebbe
96a22bac4ce20b91aba5884eb0e5667fcea3bc9a
refs/heads/master
2021-06-09T15:39:06.976110
2021-04-23T11:25:06
2021-04-23T11:25:06
157,698,363
0
1
null
null
null
null
UTF-8
Python
false
false
1,139
py
from ConfigDefinitions.JesterworksConfigurations import JesterworksConfiguration as Config from ConfigDefinitions.BranchAdditions.UserDefinedCollections.SMHTT_2018_MC_Collection import MCCollection as BranchCollection from ConfigDefinitions.BranchAdditions.UserDefinedCollections.Differential_2018_Collection import Dif...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
351d6d1a08897caeb5585ccbdb3876717d0023d5
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/drops/losses_lt.py
c869e8d540379dbcd7601885b983516301ccee98
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
11,409
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
c75c44f6362a5182bd3aaf113b8dcc84a58fecf2
f4e69d05d4bea5198f5bd15c968562fac654c88e
/openapi_client/model/otoroshi_models_bad_response.py
f69321f6aba8eab34a6902ec62e1ba31844058e6
[]
no_license
krezreb/openapi-client-otoroshi
2877ae9230b1ca29024880994420101a232cb906
0dafc780777857b9a0d0d8264e215bd6e0557224
refs/heads/master
2023-05-06T07:23:45.988523
2021-05-27T13:00:18
2021-05-27T13:00:18
371,374,475
0
0
null
null
null
null
UTF-8
Python
false
false
11,681
py
""" Otoroshi Admin API Admin API of the Otoroshi reverse proxy # noqa: E501 The version of the OpenAPI document: 1.5.0-alpha.14 Contact: oss@maif.fr Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from openapi_client.model_utils import ( # noq...
[ "josephbeeson@gmail.com" ]
josephbeeson@gmail.com
74dfd81b92c42b2eb058bc68e74d6c4e6896e6b6
b57d337ddbe946c113b2228a0c167db787fd69a1
/scr/py00587orc_shaman.py
49d5f9d1d140d117755bced2b4c7db596c67a640
[]
no_license
aademchenko/ToEE
ebf6432a75538ae95803b61c6624e65b5cdc53a1
dcfd5d2de48b9d9031021d9e04819b309d71c59e
refs/heads/master
2020-04-06T13:56:27.443772
2018-11-14T09:35:57
2018-11-14T09:35:57
157,520,715
0
0
null
null
null
null
UTF-8
Python
false
false
9,064
py
from toee import * from utilities import * from combat_standard_routines import * def san_dying( attachee, triggerer ): if should_modify_CR( attachee ): modify_CR( attachee, get_av_level() ) return RUN_DEFAULT def san_start_combat( attachee, triggerer ): webbed = break_free( attachee, 3) if (attachee != OBJ_H...
[ "demchenko.recruitment@gmail.com" ]
demchenko.recruitment@gmail.com
13229a7fa36de42831537b95efa97c775f649005
edf125be37a40caeb14c7fe32bd9f7511cf0ce9b
/09-manipulating-dataFrames-with-pandas/1-extracting-and-transforming-data/indexing_and_column_rearrangement.py
745bece0cdcb2ca968e8a8950bf5140557d4b32e
[]
no_license
vedpbharti/Datacamp
1d3d2ca0722a3a19733e91fa054f64e0c3b7114a
b6d019efebe1b46765f19212ba2d8ebb9d90de57
refs/heads/master
2020-04-05T05:47:28.528088
2019-02-10T22:34:00
2019-02-10T22:34:00
156,610,704
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
'''Indexing and column rearrangement There are circumstances in which it's useful to modify the order of your DataFrame columns. We do that now by extracting just two columns from the Pennsylvania election results DataFrame. Your job is to read the CSV file and set the index to 'county'. You'll then assign a new Data...
[ "ved.bhartig@gmail.com" ]
ved.bhartig@gmail.com
f1771c403450a958403c400739cb654460474052
bb2a7aacab41acb8e804d823c98b9b4dd3267f0c
/modules/vector_distance.py
382c89c12b6bc1894a47194efedb0bf9387fc871
[ "MIT" ]
permissive
nicolasying/WordNet-Embeddings
7f9f5c57f534d5ea1db956a9e2d7f0dd178e4998
a6a5782dca97376e487df41fb83542729f284197
refs/heads/master
2020-04-21T16:58:48.668802
2019-06-11T14:10:10
2019-06-11T14:10:10
169,720,827
1
0
null
null
null
null
UTF-8
Python
false
false
6,003
py
# coding=utf-8 #! /usr/bin/env python3.4 """ MIT License Copyright (c) 2018 NLX-Group 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...
[ "ruben.branco@outlook.pt" ]
ruben.branco@outlook.pt
4896c1d2ea4c5fa667528ba15bcffab3b2030178
295d37dcad3ad6f2cf71ded944eb1a86b3404e6b
/firstsite/learn/views.py
9093870d9a45add351fddacba712e9b8c63be4a4
[]
no_license
guwenfeng/Django
c47f9cd9d7d58b75867665a9574fc5d84235a970
86a3af2c50f85de0fe57d74224ac145e735aa960
refs/heads/master
2021-04-03T01:43:54.115874
2018-03-09T08:50:15
2018-03-09T08:50:15
124,513,609
0
0
null
null
null
null
UTF-8
Python
false
false
2,395
py
#coding=utf-8 from django.shortcuts import render,render_to_response,redirect from django.http import HttpResponse,HttpResponseRedirect,request from django.template import RequestContext from django import forms from .models import ResUser from django.db.models import Q #表单 class UserForm(forms.Form): ...
[ "guwenfengvip@163.com" ]
guwenfengvip@163.com
ce1f1e15dd9fb2cc99a49b1ed54484e2d655871c
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/aio/_configuration.py
625f14a52e1f2f4aa3eb2678b58649f3107f1ead
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
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,531
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. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
487f69e10372f0cca2d9dc1ca97d415961b90453
a248ebfced3e5892d763c8fff1f5e5ebd0ffb02e
/src/shortener/migrations/0005_auto_20180813_1614.py
aafc0011e8f31d9f752193ba370df885856a28ff
[]
no_license
gauravsaxena1997/URLshortener
78b9a33ae1640ae27759085f47e72605ae8f0b94
d1350760dc0436c9a2eea0a549f030e6f4f734f7
refs/heads/master
2020-03-26T06:05:45.229523
2018-08-15T17:56:04
2018-08-15T17:56:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-08-13 16:14 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shortener', '0004_auto_20180813_1448'), ] operations = [ migrations.AddFiel...
[ "gauravsaxena.cs@gmail.com" ]
gauravsaxena.cs@gmail.com
513164c5b81b86296b7c191d7adb745634d4d6b1
3e306d0ec56608259e36c9fe28c95ab5bd58147c
/keras/layers/activation/leaky_relu.py
bc563705cd88ddff65155e02ca7ada49e1c43903
[ "Apache-2.0" ]
permissive
Alan-love/keras
8012319eb3f88bfb3806e9df913f62b442701137
6c392b5ad96fb47a05019e6dda42d2af1f1ec08e
refs/heads/master
2023-08-22T17:44:36.217261
2022-03-29T23:06:19
2022-03-29T23:06:50
209,978,278
0
0
Apache-2.0
2022-03-31T03:09:20
2019-09-21T12:05:44
Python
UTF-8
Python
false
false
2,538
py
# Copyright 2015 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
22917a83efbde931e2a785846a9a92c36e59b834
704976ea552111c6a5af9cd7cb62b9d9abaf3996
/pypy/module/test_lib_pypy/ctypes_tests/conftest.py
fdc368945bef163758eaf608e7187c32b4663584
[ "BSD-3-Clause" ]
permissive
mesalock-linux/mesapy
4f02c5819ce7f2f6e249d34840f1aa097577645d
ed546d59a21b36feb93e2309d5c6b75aa0ad95c9
refs/heads/mesapy2.7
2023-08-16T21:33:02.239581
2019-08-13T10:29:43
2019-08-13T18:06:45
136,080,721
396
33
NOASSERTION
2020-04-01T03:05:18
2018-06-04T20:45:17
Python
UTF-8
Python
false
false
3,400
py
import py import pytest import sys import os def pytest_ignore_collect(path): if '__pypy__' not in sys.builtin_module_names: return True # XXX: copied from pypy/tool/cpyext/extbuild.py if os.name != 'nt': so_ext = 'so' else: so_ext = 'dll' def _build(cfilenames, outputfilename, compile_extra, lin...
[ "mssun@mesalock-linux.org" ]
mssun@mesalock-linux.org
409fdc1ded1a89799c4f089c66d3b135a74ab98c
6a34b039ededb2e1dcdc07c6976475654ca0ae0a
/code_all/day19/review01.py
8a5cedfdc9e72fce003c67cf1aa52efc1de9219f
[ "MIT" ]
permissive
testcg/python
57c62671ab1aad18205c1dee4457b55009cef098
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
refs/heads/main
2023-07-09T13:19:24.740751
2021-08-11T09:25:20
2021-08-11T09:25:20
394,932,987
0
0
null
null
null
null
UTF-8
Python
false
false
2,791
py
""" 总复习 - Python 核心 一、自动化内存管理机制 1. 引用计数: 每个对象记录被变量绑定(引用)的数量, 当为0时被销毁。 缺点-循环引用: 两个垃圾互相引用,但是计数不为0 2. 标记清除 全盘扫描,标记不再使用的数据 缺点-速度慢 3. 分代回收 程序运行时,将内存分为小0、中1、大2三块. 每次创建新数据,一定在0代分配空间. ...
[ "cheng@eaglesoftware.cn" ]
cheng@eaglesoftware.cn
556fce78a0b96456125b3b21025368e300672f3f
4f1598d02567fe3329ccb55f4e65299589dd339b
/examples/mxnet/cnn/imagenet_inference.py
06aaaf8590ef323a59c486ef91569d41ee69a37c
[ "MIT", "Apache-2.0" ]
permissive
ashokei/lp-inference-kit
ad64a774ce5982a2dab8166dcf6101da18c14d15
24aafdf9459dcab34647bbf187b0d924f364360b
refs/heads/master
2022-11-23T14:57:30.207647
2020-07-09T06:20:25
2020-07-09T06:20:25
279,693,622
2
0
null
2020-07-14T21:09:57
2020-07-14T21:09:57
null
UTF-8
Python
false
false
13,972
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...
[ "feng.tian@intel.com" ]
feng.tian@intel.com
bc19c45df8d46e53fc84287d52e1a50a79d9f27f
08ee36e0bb1c250f7f2dfda12c1a73d1984cd2bc
/src/mnistk/networks/resnetstyle_22.py
93fa67898bf4b568a507a10d0985d17c6c533350
[]
no_license
ahgamut/mnistk
58dadffad204602d425b18549e9b3d245dbf5486
19a661185e6d82996624fc6fcc03de7ad9213eb0
refs/heads/master
2021-11-04T07:36:07.394100
2021-10-27T18:37:12
2021-10-27T18:37:12
227,103,881
2
1
null
2020-02-19T22:07:24
2019-12-10T11:33:09
Python
UTF-8
Python
false
false
1,077
py
# -*- coding: utf-8 -*- """ resnetstyle_22.py :copyright: (c) 2019 by Gautham Venkatasubramanian. :license: MIT """ import torch from torch import nn from torchvision.models.resnet import BasicBlock class ResNetStyle_22(nn.Module): def __init__(self): nn.Module.__init__(self) self.f0 =...
[ "41098605+ahgamut@users.noreply.github.com" ]
41098605+ahgamut@users.noreply.github.com
390a58d4b13f9ee7281e3f5ab74fa8d5329df6c7
519aa4942b6eb6663811dd2a050f498c8d3e0f95
/Python 2.X/ZERO/GUI/Backup/Backup 1.0.pyw
6ba365f5534e462ebd99d91fcad5f01a8c949418
[]
no_license
jacobbridges/my-chaos
2b5aab5dcac703b268f03efb07fc54e9d4984f29
45837fc39f99b5f7f69919ed2f6732e6b7bec936
refs/heads/master
2020-05-20T03:21:32.747460
2016-08-13T02:12:25
2016-08-13T02:12:25
29,456,630
0
0
null
null
null
null
UTF-8
Python
false
false
5,008
pyw
import os import sys import Tkinter import tkFileDialog import tkMessageBox def main(): global master, source_dialog, destination_dialog, source_entry, destination_entry # Create the main window. master = Tkinter.Tk() master.title('Backup 1.0') master.resizable(False, False) # Create the file d...
[ "him@jacobandkate143.com" ]
him@jacobandkate143.com
7609647aad7ffa3b5252aa5069b284baa0eb4d7f
86813bf514f3e0257f92207f40a68443f08ee44b
/0378 有序矩阵中第K小的元素/0378 有序矩阵中第K小的元素.py
c74fd3302ed9d2435bde0f0195ed617c845e2b4e
[]
no_license
Aurora-yuan/Leetcode_Python3
4ce56679b48862c87addc8cd870cdd525c9d926c
720bb530850febc2aa67a56a7a0b3a85ab37f415
refs/heads/master
2021-07-12T13:23:19.399155
2020-10-21T03:14:36
2020-10-21T03:14:36
212,998,500
4
1
null
null
null
null
UTF-8
Python
false
false
935
py
#label: 二分查找 difficulty: medium """ 解题思路: 看到这种有序(或者部分有序)的数组,一般考虑使用二分查找进行优化。 开始时,左指针指向矩阵中最小元素,右指针指向矩阵中最大元素(注意:指针代表的是元素值,而不是位置), 计算矩阵中小于等于左右指针中间值的元素个数c,然后通过比较c与k的值,进行左指针或者右指针的移动。重复上述过程直到l >= r. """ class Solution: def kthSmallest(self, matrix: List[List[int]], k: int) -> int: l = matrix[0][0] r ...
[ "noreply@github.com" ]
Aurora-yuan.noreply@github.com
fd1bf15834426fd092f37b7667afda9bd7e54df2
d4ea1f9747799bf503523b86b8b5ee29bab65eff
/gyun/cli/iaas_client/actions/s2/enable_s2_shared_targets.py
eab03da093de332254257c250d9d7fe7bc891cbd
[ "Apache-2.0" ]
permissive
gyun-gome/gyun-cli
88b5493d90a19c5bf56a1bba4bf301d1b4a3156d
275b6664335e2ef21a01a48f8c06d6a89dd63467
refs/heads/master
2021-06-28T13:53:01.300135
2017-09-13T04:44:01
2017-09-13T04:44:01
103,353,093
0
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
# encoding: utf-8 # ========================================================================= # ©2017-2018 北京国美云服科技有限公司 # ------------------------------------------------------------------------- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this work except in compliance with the ...
[ "lvyonggang@gomeholdings.com" ]
lvyonggang@gomeholdings.com
80e2f36e6bc596fd3d476900e6c9fe46833f12de
caaf1b0754db1e676c37a6f1e58f19183754e654
/sdk/tables/azure-data-tables/azure/data/tables/_entity.py
aa1ccae843a4eeb457a282f8013be5b4f718ea84
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
rdomenzain/azure-sdk-for-python
45dfb39121a0abda048c22e7309733a56259f525
58984255aeb904346b6958c5ba742749a2cc7d1b
refs/heads/master
2023-07-07T06:53:12.967120
2023-07-04T16:27:37
2023-07-04T16:27:37
258,050,134
0
0
MIT
2020-04-23T00:12:14
2020-04-23T00:12:13
null
UTF-8
Python
false
false
2,551
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- from enum ...
[ "noreply@github.com" ]
rdomenzain.noreply@github.com
e12bb3c1b2e7f6ba0856850ff98c3e2c05ab5f88
95a2924dfbed2b07587c9c6516df4ac248f2586c
/Data Visualization/Bokeh/Streaming Real Time Data/random-generator.py
fdd31efee2d80d3eb98b68af91a68676a18d6868
[]
no_license
souviksaha97/Data-Science-Lab
49f50ef80dff3bcfed6f26d735707ec485a393ae
d18681460f51e83252d5b6a491b997a3600c7715
refs/heads/master
2020-12-18T19:50:00.327882
2019-06-24T17:41:20
2019-06-24T17:41:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
""" Created on Sat Feb 9 2019 @author: Nodar Okroshiashvili """ # Serve Random Number Generation in Bokeh Server #import libraries from bokeh.io import curdoc from bokeh.models import ColumnDataSource from bokeh.plotting import figure from random import randrange # Create Figure f = figur...
[ "n.okroshiashvili@gmail.com" ]
n.okroshiashvili@gmail.com