blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
673b277e8c1eb534425768123f79ddd2505204f1
925f2935b34042abc9161795413031ae68f45b9a
/multimodel_inference/fold_IMisc2sm.py
291a17afa018e415d33f158ff6cce511b0ce18fa
[]
no_license
Farhad63/AFS-analysis-with-moments
7e1d17f47c06ed97ebb7c9ec8245fe52a88622c3
7874b1085073e5f62d910ef2d79a22b29ff3be84
refs/heads/master
2022-04-09T22:11:12.341235
2020-03-11T21:15:42
2020-03-11T21:15:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,074
py
#!/usr/bin/env python # split into two diff sizes, then secondary contact with instantaneous size change followed by growth, with symmetric migration # "genomic islands" of two different migration regimes # n(para): 12 import matplotlib matplotlib.use('PDF') import moments import random import pylab import matplotlib...
[ "matz@utexas.edu" ]
matz@utexas.edu
494b730cf575803022fd0cfcf7c6a4255f7c81f4
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5706278382862336_1/Python/urupica/a.py
bacd3f027517e16fe04dada1b43ada1bbcbbb703
[]
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
2,570
py
#!/usr/bin/python import sys, datetime # https://code.google.com/p/gmpy/ from gmpy import sqrt from fractions import Fraction as frac def solve(pq): start = (frac(pq[0], pq[1]), 0) n = 0 y = start[0].denominator while y % 2 == 0: n += 1 y /= 2 if y != 1: return 'impossib...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
49f198411001677c7891235ff88a61cf81bd18d4
d921253b98a922975709693c411218746af2f017
/bgx/families/smart_stuff/setup.py
ca54e6e51fa7a6642a979686b71f4d14c11621d2
[ "Zlib", "MIT", "Apache-2.0" ]
permissive
bestonly125/DGT-Kawartha
223f88e224c1464fa22a4512e4567ac7ce1bc78f
edfbc18f2c70e813805ec23c28fbc35bf7866ffc
refs/heads/master
2022-11-22T13:18:21.204906
2020-07-24T09:03:57
2020-07-24T09:03:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,699
py
# Copyright 2020 NTRLab # # 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 writing, softw...
[ "sparsov@sinergo.ru" ]
sparsov@sinergo.ru
357363e824323766d3fcb3eb32e7192e1d62999e
a65de6ebf74a0ea70fdb4d85a28cc11e641554e0
/py-scripts/det_keychain_type2.py
929368c14258f7c70ec8f74e612c98827e8e58aa
[ "MIT" ]
permissive
VB6Hobbyst7/bbt
e4f63cdd0bb9ef9550edc40b0ee1def7148fe91a
7b35e4fe9041af9b73bcfb192aeeeb873d730c72
refs/heads/master
2023-01-22T03:44:04.506182
2020-11-23T23:12:56
2020-11-23T23:12:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,640
py
#!/usr/bin/env python3 # Copyright (C) 2017-2020 The btclib developers # # This file is part of btclib. It is subject to the license terms in the # LICENSE file found in the top-level directory of this distribution. # # No part of btclib including this file, may be copied, modified, propagated, # or distributed except...
[ "ferdinando@ametrano.net" ]
ferdinando@ametrano.net
6087bac61affd929686678fae8bc6328f0d68c6c
93c3abdedc8d5571dc2a5241b20a5806d1da59d8
/dcgan/.ipynb_checkpoints/main-checkpoint.py
000c110d3963eb3527631a1963b62db4a083e3a3
[]
no_license
Trccc/5242Project-GAN
bf33b33501b332d9716e2884d821016f5bbfd5aa
3cd3a7734ae42fb0d3b5efb5bd6839621a9e1b0c
refs/heads/master
2023-03-18T03:33:23.304285
2020-01-14T20:01:18
2020-01-14T20:01:18
222,341,507
4
1
null
null
null
null
UTF-8
Python
false
false
6,983
py
import matplotlib matplotlib.use('Agg') import tensorflow as tf import glob import imageio import matplotlib.pyplot as plt import numpy as np import pandas as pd import os import PIL from tensorflow.keras import layers import time from IPython import display import IPython import tensorflow_datasets as tfds from pytz i...
[ "google-dl-platform@googlegroups.com" ]
google-dl-platform@googlegroups.com
0d6b1608e13599f03b3bc14f985dd604ca4101c4
d7016f69993570a1c55974582cda899ff70907ec
/sdk/sql/azure-mgmt-sql/generated_samples/create_database_default_mode.py
9fca87c06715de4be793721ff9f2021becd6a493
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
1,935
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" ]
kurtzeborn.noreply@github.com
907ff0c5531274923b2904bb253a1409a2028b8b
b87402fa3729a2bee6e8c527dad8f2c09e84c115
/geemap/__init__.py
02d54e0f59c9c6c51b062296d246a2b813816863
[ "MIT" ]
permissive
tchigher/geemap
26e3214a7f4e604faf892276d9aad400faffcf67
66b2618f31d673230f6ec739fc88da33c50af5a3
refs/heads/master
2022-04-13T16:57:47.873576
2020-04-08T03:02:18
2020-04-08T03:02:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
"""Top-level package for geemap.""" __author__ = """Qiusheng Wu""" __email__ = 'giswqs@gmail.com' __version__ = '0.6.1' from .geemap import * from .basemaps import ee_basemaps
[ "giswqs@gmail.com" ]
giswqs@gmail.com
b86d96ebe13f417ecffb1d27aed00b6a10b9031d
6c58da2c54a3d35273e7984313d181f1da9981fc
/DB_Connection/venv/bin/easy_install-2.7
785646a1d64db62a32e5e767203f0d9d853dd016
[ "MIT-0" ]
permissive
py1-10-2017/rgero215_PY1-10-2017
e582cb12cc63f84b1c0c14d09a922cb6cb228016
f455b335ec9c8c850571f3a75dcd95759b4cfdad
refs/heads/master
2021-09-04T03:23:48.062326
2018-01-14T21:07:26
2018-01-14T21:07:26
105,612,652
1
0
null
null
null
null
UTF-8
Python
false
false
469
7
#!/Users/RGero13/Desktop/rgero215_PY1-10-2017/DB_Connection/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==36.6.0','console_scripts','easy_install-2.7' __requires__ = 'setuptools==36.6.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-...
[ "rgero215@gmail.com" ]
rgero215@gmail.com
4b00204bf1744504a90b22619170f254e3f4633d
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/9ED9zbHHhaPaBz2xi_1.py
55607ddaf041a60b190183711eb7aeff9bf882d2
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
""" Consider a sequence where the first two numbers are `0` and `1` and the next number of the sequence is the sum of the previous two numbers modulo three. Create a function that finds the `n`th element of the sequence. ### Examples normal_sequence(1) ➞ 0 normal_sequence(2) ➞ 1 normal_sequenc...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4056ce7d0c7d7aa37339d8d6f107d2fc1ba5f3ee
35e41dab4a3e8eebe17872f5414cf3efb86be54c
/supervised_learning/0x08-deep_cnns/3-projection_block.py
8cf99029892ce07e6fa99b4b6ec1db75920eeb35
[]
no_license
yasheymateen/holbertonschool-machine_learning
52eaf217e924404e8833e75e8b48e80807d784dc
1329ba88bf9ae50693188e1c85383d9b76c2b1f4
refs/heads/master
2022-12-24T13:51:02.743526
2020-10-08T06:59:04
2020-10-08T06:59:04
255,277,037
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
#!/usr/bin/env python3 """identity block maker""" import tensorflow.keras as K def projection_block(A_prev, filters, s=2): """Return an identity block""" out = K.layers.Conv2D(filters[0], 1, s, kernel_initializer='he_normal')(A_prev) out = K.layers.BatchNormalization()(out) ...
[ "yasheymateen@gmail.com" ]
yasheymateen@gmail.com
0b6fa605bb49d021790aa6ee7cb6c301ac938c7d
fe9b1fcf9f44092037a8c14b4c5cbfefa6ad6982
/shoppingsite.py
923848ec55b2472541fe4bc960484ee1da3d1163
[]
no_license
elaineyoung702/shopping-site
702abd1536b8e805dc719377de23f456773039c2
e2dbd14569203c6d4be4119ab075f2210c88b61d
refs/heads/master
2021-06-20T05:48:32.217285
2019-07-26T00:51:48
2019-07-26T00:51:48
198,886,591
0
0
null
2021-03-20T01:19:46
2019-07-25T19:00:51
Python
UTF-8
Python
false
false
4,873
py
"""Ubermelon shopping application Flask server. Provides web interface for browsing melons, seeing detail about a melon, and put melons in a shopping cart. Authors: Joel Burton, Christian Fernandez, Meggie Mahnken, Katie Byers. """ from flask import Flask, render_template, redirect, flash, session import jinja2 imp...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
7b67cdaa927798bb7bcd21bf3a652fc430e7d02c
a11d83fced34854664fac72e18d48fde6aa967e4
/0x11-python-network_1/2-post_email.py
9a6be815e066d3d6642c328bd74da639a6b63b2d
[]
no_license
afarizap/holbertonschool-higher_level_programming
ffe0bf1440726c952f4dd28b908eabc4ccb5225b
ad39e58f9cb20cba4b9e2c14075f216097588f47
refs/heads/master
2023-03-30T15:39:35.184484
2021-03-22T22:55:24
2021-03-22T22:55:24
259,437,040
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
#!/usr/bin/python3 """ takes in a URL and an email, sends a POST request with the email as a parameter, and displays the body of the response decoded in utf-8 """ from urllib import request, parse from sys import argv if __name__ == '__main__': data = parse.urlencode({'email': argv[2]}) data = data.encode('a...
[ "afarizap@gmail.com" ]
afarizap@gmail.com
8ab9ca2c71dcf5dd124863ea0ac9caad6daa108a
01245df7d402532d9729ff933f5ade8c2965760b
/fias/admin.py
8f9ffe8cfa5ca10b536c6a856b7b8b8a5df040b2
[ "BSD-2-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
aldev12/django-fias
c653edbef22d7f3fb42e4ebc0a8729fa488e3799
53980ada222f1f4f56c268c0489ab9a50a87d9f6
refs/heads/master
2020-06-02T18:39:30.285925
2020-04-14T02:26:19
2020-04-14T02:26:19
191,269,395
0
1
NOASSERTION
2019-07-17T00:51:28
2019-06-11T01:15:19
Python
UTF-8
Python
false
false
3,549
py
# coding: utf-8 from __future__ import unicode_literals, absolute_import from django.contrib import admin from fias.models import ( AddrObj, House, HouseInt, LandMark, Room, Stead, NormDoc, SocrBase, NDocType, ActStat, CenterSt, CurentSt, EstStat, HSTStat, IntvStat, OperStat, StrStat, )...
[ "root@proscript.ru" ]
root@proscript.ru
60d4fed93ac6cca6c2002acc9ab54c8781e1beb1
a4a540187b93a177331885caee59c3253e91ea7f
/pymcversion/java_version_manifest.py
340eb9a94fddb23da1d9f3eea8de3417385e38a9
[ "Unlicense" ]
permissive
aoirint/pymcversion
ae97123457594ad7741b8f8b69a8deff515eb09c
a3af1d06c9b1ce54530fc9af04b3cb48a0ba1340
refs/heads/main
2023-08-25T19:50:52.011370
2021-10-22T15:58:48
2021-10-22T15:58:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
import requests from typing import List from pydantic import BaseModel class VersionManifestLatest(BaseModel): release: str snapshot: str class VersionManifestVersion(BaseModel): id: str type: str url: str time: str releaseTime: str class VersionManifest(BaseModel): latest: VersionMan...
[ "aoirint@gmail.com" ]
aoirint@gmail.com
67ecd1716036514223b44bda3eada5013e806d32
1fcf52f71e4b08b9f6973dcb0a7acf1fe41b9c5f
/setup.py
fc0025b4f83392ce591bf27cf3013ce54c98453b
[]
no_license
svetlyak40wt/colorize
0a2c65059d4832b88ffbe62864328810f47f0750
1e1fd8eff1d2c820105d0655a8df36efac12600a
refs/heads/master
2020-05-20T08:14:22.598684
2014-01-16T12:57:29
2014-01-16T12:57:29
1,140,039
0
1
null
2014-01-16T12:57:29
2010-12-05T09:34:27
Python
UTF-8
Python
false
false
812
py
from setuptools import setup, find_packages setup( name = 'colorizer', version = '0.1.7', description = 'Console colorizer, which acts like grep but paint each match in it\'s own color.', author = 'Alexander Artemenko', author_email = 'svetlyak.40wt@gmail.com', url = 'http://github.com/svetlyak...
[ "svetlyak.40wt@gmail.com" ]
svetlyak.40wt@gmail.com
a1c1382419540480fb893cf3aba8e6f46c76eddc
f8cff1f2c00f000aba61cdf728d8a2b254647f09
/OpenSpider-master/concurrents/manager.py
b1c32985d3a928292464adbd637ee346c6da18c8
[]
no_license
vieyahn2017/crawlers
76097ec9ca71edd128addf341ae02ef26ef383dc
fa584094b026cbf0451e78303c56f614fa5fedde
refs/heads/master
2021-09-12T21:23:33.265856
2018-04-21T03:06:50
2018-04-21T03:06:50
102,854,533
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
__author__ = 'zhangxa' ''' A concurrentManager should apply a class func who has a run method. ''' class ConcurrentManger: def __init__(self,concurrents,runner,*args,**kwargs): self._concurrents = concurrents self._runner = runner self._args = args self._kwargs = kwargs def ru...
[ "283403891@qq.com" ]
283403891@qq.com
6eac61a01f8b8fcef649ff9f214998ce0fa0545d
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/connect_write_f/contact-recording_resume.py
934dbeb6b552f992ed8bf1aedd0a3c53fb46b289
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
2d770c24fe0c6044d3dc2542a21f7bcb180d892e
842e3cd1266d18752a3baf2b90232ed4ce41eb4f
/grako/test/grammar/semantics_test.py
9d520aaa87c70fb7d87067f9de6cfda85bd29469
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
apalala/grako
2786d85eef9799bf614c46c92f19ff183a435d46
efb373d89e6805930e661758c2cff2b26da4658a
refs/heads/master
2020-12-25T17:37:05.353167
2017-05-02T02:53:11
2017-05-02T02:53:11
65,163,853
16
6
null
null
null
null
UTF-8
Python
false
false
1,120
py
# -*- coding: utf-8 -*- # Copyright (C) 2017 by Juancarlo Añez # Copyright (C) 2012-2016 by Juancarlo Añez and Thomas Bragg from __future__ import absolute_import, division, print_function, unicode_literals import unittest from grako.tool import compile from grako.semantics import ModelBuilderSemantics class S...
[ "apalala@gmail.com" ]
apalala@gmail.com
b81db8a245a81834aad2e44681142b1dee1f761d
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/eXe/rev2735-2877/base-trunk-2735/exe/engine/mathidevice.py
d7c9a57ae1108ccbb969998567d54ab61700910a
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
1,261
py
""" MathIdevice: just has a block of text """ import logging from exe.engine.idevice import Idevice from exe.engine.field import MathField log = logging.getLogger(__name__) class MathIdevice(Idevice): """ MathIdevice: just has a block of text """ def __init__(self, instruc="", latex=""): Idevi...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
4f66d4ae6728ef58845bb197375e2267313d0135
275a96a33ae1f89e7b2ee0ecdbac7d78abe6d6cc
/test/test_ad_view.py
ea1ebb582cd5d6c22cdaaacd01a964bee35afdb7
[]
no_license
cascadiarc/cyclos-python-client
8029ce07174f2fe92350a92dda9a60976b2bb6c2
a2e22a30e22944587293d51be2b8268bce808d70
refs/heads/main
2023-04-03T16:52:01.618444
2021-04-04T00:00:52
2021-04-04T00:00:52
354,419,532
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
# coding: utf-8 """ Cyclos 4.11.5 API The REST API for Cyclos 4.11.5 # noqa: E501 OpenAPI spec version: 4.11.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.ad_view...
[ "dan@leftcoastfs.com" ]
dan@leftcoastfs.com
42d4548e0211060ef8143593198856e9ef130dfd
578db86c51d44ebddd0dc7b1738985b3dc69eb74
/corehq/apps/api/resources/serializers.py
f57a8fc1b707903d74990c7085001cd6ca31691d
[ "BSD-3-Clause" ]
permissive
dimagi/commcare-hq
a43c7dd32b5f89c89fd5aa1b1359ab7301f4ff6b
e7391ddae1af1dbf118211ecb52c83fc508aa656
refs/heads/master
2023-08-16T22:38:27.853437
2023-08-16T19:07:19
2023-08-16T19:07:19
247,278
499
203
BSD-3-Clause
2023-09-14T19:03:24
2009-07-09T17:00:07
Python
UTF-8
Python
false
false
489
py
import json from tastypie.serializers import Serializer class ListToSingleObjectSerializer(Serializer): """ Serializer class that takes a list of one object and removes the other metadata around the list view so that just the object is returned. See IdentityResource for an example. """ def ...
[ "czue@dimagi.com" ]
czue@dimagi.com
350ac6d5f55c221b5552b1ff7e6b0a3063604641
6eb318399cea68bc998fc635d7d519e187a24f15
/leetcode/39_combination_sum/39_combination_sum.py
3efee07c21fc16d136b49c82665b494a4d2096d8
[ "Apache-2.0" ]
permissive
ryangillard/misc
e8eb4813a54bc59babc263087f2d71bdc6af6b7a
d1f9919400636e6b988fa933493b94829a73331e
refs/heads/master
2021-11-24T17:26:52.740997
2021-11-16T06:27:42
2021-11-16T06:27:42
192,038,898
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
class Solution(object): def combinationSum(self, candidates, target): """ :type candidates: List[int] :type target: int :rtype: List[List[int]] """ paths = [] self.recursive(candidates, target, 0, [], paths) return paths def recursive(self, candi...
[ "ryangillard@google.com" ]
ryangillard@google.com
8602f6a64d2286cd253d640ee4063c095b9f289a
ca507259c36a4299666f4c064f25832f5c3f45c1
/symbol_openapi_client/models/transaction_status_dto.py
f51ff88a06df1f8858bcf03ab41ae5ee63116815
[]
no_license
fullcircle23/symbol-openapi-python-client
ae38a2537d1f2eebca115733119c444b79ec4962
3728d30eb1b5085a5a5e991402d180fac8ead68b
refs/heads/master
2022-04-15T06:20:47.821281
2020-04-16T02:39:14
2020-04-16T02:39:14
254,701,919
0
0
null
null
null
null
UTF-8
Python
false
false
7,790
py
# coding: utf-8 """ **************************************************************************** Copyright (c) 2016-present, Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp. All rights reserved. This file is part of Catapult. Catapult is free software: you can redistribute it and/or modify ...
[ "fullcircle2324@gmail.com" ]
fullcircle2324@gmail.com
1621cd025aba6ae82b0151c94d67dbcc0918af22
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/FenxiaoGradesGetRequest.py
b11baf371f16e5abe3b7f6e328da2e7a1297435a
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class FenxiaoGradesGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) def getapiname(self): return 'taobao.fenxiao.grades.get'
[ "poorevil@gmail.com" ]
poorevil@gmail.com
ddd78fe9da9398ec8fd58bfc448d03b175f789e7
c1261b9181d86c418df612dc809af933cfbb2c0d
/blog1/models.py
72e8cea72ffc9af34805e080119fd81054f69afd
[]
no_license
gitlGl/myblog
122a598407d12a7397420ce50f9c1ca68a3107d2
b3d7d1130e81ca625cb9d2b7204e19da6efe7d07
refs/heads/master
2023-09-01T14:06:04.720407
2022-10-22T08:47:02
2022-10-22T08:47:02
198,171,669
0
0
null
null
null
null
UTF-8
Python
false
false
4,075
py
from django.db import models from django.urls import reverse # Create your models here. #hjflghjglkhd # Create your models here. from django.shortcuts import render, get_object_or_404 #from .models import Post from django.db import models from django.contrib.auth.models import User from tinymce.models import HTMLFiel...
[ "you@example.com" ]
you@example.com
099a47f37b2f69649665afc8b56a49ed9d42362d
c2ae65792af1fab2e7843303ef90790819f872e8
/Algorithm/Math/Power-Function.py
f0b6d0d8a9288824dc87f7ac62ccb797cc247d80
[]
no_license
behappyyoung/PythonSampleCodes
47c224ca76ce509a03c8b75ef6b4bf7f49ebdd7f
f7640467273fa8ea3c7e443e798737ca5bcea6f9
refs/heads/master
2023-03-15T00:53:21.034605
2023-02-13T17:12:32
2023-02-13T17:12:32
26,919,763
3
3
null
2023-03-07T12:45:21
2014-11-20T15:57:16
Python
UTF-8
Python
false
false
1,804
py
""" Implement pow(x, n) """ from datetime import datetime def power_function(x, y): if y == 0: return 1 else: for i in range(y): x *= x return x def power_function_s(x, y): if y == 0: return 1 elif int(y % 2) == 0: return power_function_s(x, int(...
[ "behappyyoung@gmail.com" ]
behappyyoung@gmail.com
5bb0e557dd728812cf61315606915473308c1769
c4a33b613ffc77dccf96d33c3a5cc127405c0e95
/products/models.py
a07d41df737ce764165d547ebee4f370ea33ad54
[]
no_license
tsokac2/new-irish-life
25f49bd0b74dfa7c0a449772249f6cb51925b643
d09934b60a1fd4fbd4540d412dc5dab726f5b502
refs/heads/main
2023-07-02T09:54:55.082587
2021-07-30T04:42:57
2021-07-30T04:42:57
379,245,725
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
from django.db import models class Category(models.Model): class Meta: verbose_name_plural = 'Categories' name = models.CharField(max_length=254) friendly_name = models.CharField(max_length=254, null=True, blank=True) def __str__(self): return self.name def get_friendly_name(self...
[ "tsokac2@gmail.com" ]
tsokac2@gmail.com
822b4360a54f56d2fbbdea34fed6eb34287dcaa8
f9ed608c620093b9f6b5058bcedf7ae610c09c8d
/298-Binary_Tree_Longest_Consecutive_Sequence.py
da80a4acedcbf4c90c5005102e1c5612e3ed7da4
[]
no_license
chanyoonzhu/leetcode-python
9b88d7f2749e1ae3ed597759b1bf9f7fa4912c35
085d868ba0458fc8e6b5549aa00fa151c335fa7f
refs/heads/master
2022-05-24T11:20:35.927915
2022-04-16T06:02:33
2022-04-16T06:02:33
166,224,197
0
1
null
null
null
null
UTF-8
Python
false
false
1,998
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right """ Questions: - validity of number (floats, negative integer and 0) """ """ - top-down solution (pre-order traversal) ...
[ "zhuchanyoon@gmail.com" ]
zhuchanyoon@gmail.com
c1a76f770a4973d3e1450afc83bc808df1007e5b
b7174170d50b867050c80129dbde239a948f6f85
/tools/sapp/sapp/tests/sharded_files/sharded_files_test.py
1e1903098d02d2e0eba4cf7b97bb287f1d108f76
[ "MIT" ]
permissive
GreyElaina/pyre-check
c1a2b7a6ee050f606322eaa588f9bd95cd1b3dbc
abcb5daa64c38a25aed9ab238bb61290444ab06c
refs/heads/master
2022-12-19T21:35:09.582761
2020-09-12T05:54:32
2020-09-12T05:58:24
295,080,507
0
0
MIT
2020-09-13T04:52:19
2020-09-13T04:52:18
null
UTF-8
Python
false
false
3,086
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os import unittest from ...sharded_files import ShardedFile test_path = "tools/sapp/sapp//tests/sharded_files...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
cd28d35b22be1c515cd2b2d8c6067d3bec20ebf5
131cf803a1f7b9638ab0a604d61ab2de22906014
/tests/system/web/api_1_0/resources/test_action_template.py
cb67c0780e6d1e4638116518724615052eadf8a7
[ "Apache-2.0" ]
permissive
dimensigon/dimensigon
757be1e61e57f7ce0a610a9531317761393eaad0
079d7c91a66e10f13510d89844fbadb27e005b40
refs/heads/master
2023-03-09T06:50:55.994738
2021-02-21T11:45:01
2021-02-21T11:45:01
209,486,736
2
0
Apache-2.0
2021-02-26T02:59:18
2019-09-19T07:11:35
Python
UTF-8
Python
false
false
2,167
py
from flask import url_for from dimensigon import defaults from dimensigon.domain.entities import bypass_datamark_update, ActionType, ActionTemplate from dimensigon.web import db from tests.base import TestDimensigonBase class TestActionTemplate(TestDimensigonBase): def setUp(self) -> None: self.initials...
[ "joan.prat@knowtrade.eu" ]
joan.prat@knowtrade.eu
e7a482ab473236d6774c1f06998aecde86703dd1
e78154abbb8bacf5afccda9da371684cbeabad36
/popego/popserver/popserver/db/.svn/text-base/migration_004.py.svn-base
b03ff10669d839bab29b9c43a3f116206f18bf1f
[ "BSD-3-Clause" ]
permissive
enterstudio/popego
1a196fabc374c0f45764e5c74bd7752236424040
2d09e793d9d2f297139edb325b8a70ddda9b2705
refs/heads/master
2021-04-09T16:39:40.781634
2016-10-14T16:53:47
2016-10-14T16:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
""" agregar columna para grupo distinguido en itemgroups """ __docformat__ = "restructuredtext" # I'm using a creative whitespace style that makes it readable both here # and when printed. migration = [ ("""\ ALTER TABLE itemgroups ADD COLUMN is_null_group BOOLEAN NOT NULL; """, """\ ...
[ "santisiri@gmail.com" ]
santisiri@gmail.com
4aaf0372ce3ad85fcd307858db488117364e0b63
cb405bbb673711585ec36b9c9cf9e1c255579e83
/web/service/github/api/v3/users/SshKeys.py
67d609fd1471f4658286030e24db636d05bb71a7
[ "BSD-3-Clause", "CC0-1.0", "MIT", "Unlicense", "Apache-2.0" ]
permissive
ytyaru/Python.OTP.tools.201704200841
c5b265a6458d007ad9b1ad032b42a4eacb5944a3
120239f96e40467203939492fd7ad9c5967fac0f
refs/heads/master
2021-01-25T06:23:56.998622
2017-06-06T20:26:59
2017-06-06T20:26:59
93,560,782
1
0
null
null
null
null
UTF-8
Python
false
false
3,363
py
#!python3 #encoding:utf-8 import requests import datetime import time import json import web.service.github.api.v3.Response class SshKeys(object): def __init__(self, reqp, response): # def __init__(self): # self.__response = web.service.github.api.v3.Response.Response() self.__reqp = reqp ...
[ "ytyaru@outlook.jp" ]
ytyaru@outlook.jp
b65865ec1ef0c354e6434848517d607c33532700
fb23ef7cffab7c23081d026e4bf6e642746ba5fa
/pytext/models/r3f_models.py
ccae7e70cb022880311ad97ec658d450bc65251a
[ "BSD-3-Clause" ]
permissive
thomascherickal/pytext
2558d597f4355e728cd9982dc29f2b857caed77d
da680540176436163ffd34136dd35a22f98dbb3c
refs/heads/master
2023-02-27T07:20:30.079053
2021-02-04T04:56:57
2021-02-04T04:58:44
336,046,191
1
0
NOASSERTION
2021-02-04T18:28:05
2021-02-04T18:28:04
null
UTF-8
Python
false
false
7,228
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from contextlib import AbstractContextManager from enum import Enum from typing import Dict import torch import torch.nn.functional as F from pytext.common.constants import Stage from pytext.config import ConfigBase from pyt...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
d590ce824a5cb5b72f17a9cab92fbb89c815aae1
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_brains.py
f3368e44fd4ab511605eb85187d524295c0a1b9c
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#calss header class _BRAINS(): def __init__(self,): self.name = "BRAINS" self.definitions = brain self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['brain']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
59eac1215433b62efec457f6593d5623cc29ab49
933fc538fa7f1b304467b5e1a0ba7e155abbb535
/setup.py
9cc53f678f6035c91fc9ed565426d676a71e6390
[ "MIT" ]
permissive
PCKK123/geemap
f2f8d3ab59127b4399ecf005b2eca3cd91832791
ce65675ca4935076793e667f342e7be79a0ef6c5
refs/heads/master
2023-07-19T05:47:16.950807
2021-09-03T12:55:36
2021-09-03T12:55:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,024
py
#!/usr/bin/env python """The setup script.""" import platform from os import path as op import io from setuptools import setup, find_packages with open("README.rst") as readme_file: readme = readme_file.read() with open("HISTORY.rst") as history_file: history = history_file.read() here = op.abspath(op.dirna...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
45b6c019f9d4399a36f8f1ceb7bd52afae6238cf
86a017dd4c8d4d77c511cc598190aaa9dc0ae3e8
/study_class.py
4441fdb2079687168ed046dbee0f5dd42d538569
[]
no_license
sungguenja/studying
fd7459eb9faa6488d7b63bf3884a92513daf3c54
719f4dfbda211c34de2a0c8cf3b9d3001f29fcec
refs/heads/master
2023-08-17T13:46:44.343780
2023-08-10T11:55:15
2023-08-10T11:55:15
232,306,053
0
0
null
2022-12-16T10:53:26
2020-01-07T11:00:28
Python
UTF-8
Python
false
false
756
py
class Shape: def __init__(self, length): self.__length = length def ar(self): return self.__length * self.__length def length(self): return self.__length class Squre(Shape): def __init__(self, length, area): super(Squre, self).__init__(length) self.__area=area def area(self): return self.__area def __repr__(self):...
[ "59605197+sungguenja@users.noreply.github.com" ]
59605197+sungguenja@users.noreply.github.com
b070add0a3c79d07ec513e5fb177ced969dc9b3b
7e41fd7f107a771b9bb52f9c58cd4afda6308044
/tool/modules/ip_misc.py
097f6e8f3e0122de2126eac3e6ed632e7dd051fc
[]
no_license
gisazae/SpoofingDetector
e6043bef4b8c28af63fd905963abbc89c954f4a8
0ba2d6dd7e91f629f8b83dc851faa4f301f53db7
refs/heads/master
2021-01-24T08:41:53.820723
2018-02-26T15:35:56
2018-02-26T15:35:56
122,988,293
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
import re, os from scapy.all import * ''' Check if ip address is correctly formed ''' def check_IP(ip): pattern = re.compile("^(([0-9]){1,3}\.([0-9]){1,3}\.([0-9]){1,3}\.([0-9]){1,3})$") return pattern.match(ip) ''' Check if port number is between range 1-65535 ''' def check_port(port): return int(port) i...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
bd672e59d39f51800c208d1f7209a8897e8f0889
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/class_def_attr-big-134.py
466ed590182cc1782fc6ea8ba942f3b937d480e4
[]
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
1,300
py
class A(object): x:int = 1 class A2(object): x:int = 1 x2:int = 1 class A3(object): x:int = 1 x2:int = 1 x3:int = 1 class A4(object): x:int = 1 x2:int = 1 x3:int = 1 x4:int = 1 class A5(object): x:int = 1 x2:int = 1 x3:int = $Literal x4:int = 1 x5:int = 1 ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
13385c1bac21e9f6d94674d6956396df3909b0ad
dd3f5a712dbab0d3c4f4526c64c08ba710f78b81
/Basic/pachong/t04proxy.py
ff16307fbb87fb20b693ba29b62a7d190f6c04e9
[]
no_license
nameusea/pyGreat
3988ebcce3f80a7e458a20f9b2e3ccba368efcf8
dde8b6a1348620ffd3b2d65db3d5b4331e5c78be
refs/heads/master
2023-04-25T09:02:32.831423
2021-05-17T11:31:22
2021-05-17T11:31:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,590
py
import requests from bs4 import BeautifulSoup import json # https://wanakiki.github.io/2020/spider-with-proxy/ class GetIp(object): """抓取代理IP""" def __init__(self): """初始化变量""" self.url = 'http://www.xicidaili.com/nt/' self.check_url = 'https://www.ip.cn/' self.ip_list = [] ...
[ "darcyzhang@DarcydeMacBook-Air.local" ]
darcyzhang@DarcydeMacBook-Air.local
2ce825ca6f6f248267a0b77f24692ef69ed28d5c
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/de4a8b83df05373c8295f9771315d9a23bc2b591-<convert_mongo_result_to_valid_json>-fix.py
9e4aeda3cd4e73fb96be34588cc02ac29c6a781b
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
def convert_mongo_result_to_valid_json(self, result): if (result is None): return result if isinstance(result, (integer_types + (float, bool))): return result if isinstance(result, string_types): return result elif isinstance(result, list): new_list = [] for elem ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
4a0d71573f39fb6949ac84ec04eeedf104afda83
17bdba01253b57e0b74b20a44dae067a643c8b86
/ingenico/connect/sdk/domain/mandates/definitions/mandate_customer.py
e2fca0a6b17e66a4039b901f4e2e929a2e8f319f
[ "MIT" ]
permissive
BEAM-ZILLOW/connect-sdk-python3
04b18733216d1e8b5e5c724e315ed02de6b83aca
0355389ddb096edc19d770c8b8499bd3351d2b3d
refs/heads/master
2020-04-12T17:50:03.259747
2018-11-08T09:59:43
2018-11-08T09:59:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,861
py
# -*- coding: utf-8 -*- # # This class was auto-generated from the API references found at # https://epayments-api.developer-ingenico.com/s2sapi/v1/ # from ingenico.connect.sdk.data_object import DataObject from ingenico.connect.sdk.domain.definitions.bank_account_iban import BankAccountIban from ingenico.connect.sdk.d...
[ "jenkins@isaac.nl" ]
jenkins@isaac.nl
769ee646685638845b9b0dbcf4b77df4a9ac8a52
8b124607a1227013b05b9af9c6a6888200d8f67d
/spider/bookinfo/middlewares.py
18e1e908f8c17208c57e16c7afd0f1051ebc48b9
[ "Apache-2.0" ]
permissive
zzzz123321/Broadview-analysing-sales-figures
f32fcd4b41f00af59a44a09e744523199a17a9f6
bdff4239fd71b5077bc05703757d9f5d2610c536
refs/heads/master
2020-04-27T18:06:22.240431
2018-03-05T09:17:29
2018-03-05T09:17:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,319
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # http://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals import random from bookinfo.settings import IPPOOL from scrapy.downloadermiddlewares.httpproxy import HttpProxyMiddleware ...
[ "wonderfulsuccess@163.com" ]
wonderfulsuccess@163.com
ef7ace55198ec861fcb052180a141fca5b563670
f1961c86e6da14f35c21d7235f4fc8a89fabdcad
/DailyProgrammer/DP20160527C.py
5e886c195faa15637218b42b98ecb6636fdaec9c
[ "MIT" ]
permissive
DayGitH/Python-Challenges
d4930bdd85cd1a977d8f6192775ca956a375fcde
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
refs/heads/master
2021-01-17T13:01:03.784523
2018-06-29T23:49:04
2018-06-29T23:49:04
58,497,683
2
0
null
null
null
null
UTF-8
Python
false
false
3,641
py
""" [2016-05-27] Challenge #268 [Hard] Network and Cards: Part 3, The cheaters https://www.reddit.com/r/dailyprogrammer/comments/4lavv6/20160527_challenge_268_hard_network_and_cards/ #Description This week we are creating a game playable over network. This will be a 3-parter. The third part is going to be even more i...
[ "akber91@gmail.com" ]
akber91@gmail.com
ada2bcb6a2c7f0e34aad00da2a1dec1042a2ce24
0be5c80361a12ef7b56d3da8ce64cc1ab80a5ada
/todo_app/forms.py
807cfe1aa1b023703185a0585df2b8d10847d0f3
[]
no_license
swaraj70/TaskTodo
a73492afdd0c0920dea315681b400ac61a8ceb1f
652ef2a096055b2d96aa8122bb9825e5de79da8c
refs/heads/master
2023-04-29T02:46:11.406996
2020-02-14T05:47:41
2020-02-14T05:47:41
224,838,456
0
0
null
2023-04-21T20:41:35
2019-11-29T11:10:18
Python
UTF-8
Python
false
false
154
py
from django import forms from .models import Task class TaskForm(forms.ModelForm): class Meta: model = Task fields = ['task', 'done']
[ "apple@Apples-MacBook-Pro.local" ]
apple@Apples-MacBook-Pro.local
fa5d2b4c4e8ebff5883ae88aca6ee894eab5a525
e21599d08d2df9dac2dee21643001c0f7c73b24f
/practice/ai/pic/simular/pil_sample2.py
c5c9cc3432ed46ccad315b22eff21bde3567adb1
[]
no_license
herolibra/PyCodeComplete
c7bf2fb4ce395737f8c67749148de98a36a71035
4ef7d2c3aec6d28a53eed0e649cdeb74df3d783b
refs/heads/master
2022-07-17T05:39:03.554760
2020-05-03T07:00:14
2020-05-03T07:00:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
#!/usr/bin/env python # coding=utf-8 # author: zengyuetian from PIL import Image import math import operator from functools import reduce def image_contrast(img1, img2): image1 = Image.open(img1) image2 = Image.open(img2) h1 = image1.histogram() h2 = image2.histogram() result = math.sqrt(reduc...
[ "ijumper@163.com" ]
ijumper@163.com
58250e8bea0428c8b376e7e5f633cdc6431591e3
65f8211fc33eb5f9ac1ff0d68902226ca9a58692
/sorting_algorithms/quick_sort_cormen.py
9fdd4284ab2ac365d12a921a94e243eead478568
[]
no_license
szarbartosz/asd-python
46869f5699a1ef661e2df02e523af0adcddbbbda
0130cc3dcbba6ad62e1516c98b5cbab85848d619
refs/heads/master
2022-12-13T19:02:53.699381
2020-09-11T13:29:31
2020-09-11T13:29:31
242,975,318
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
def partition(arr, left, right): i = left - 1 pivot = arr[right] for j in range(left, right): if arr[j] <= pivot: i += 1 arr[i], arr[j] = arr[j], arr[i] arr[i+1], arr[right] = arr[right], arr[i+1] return i + 1 def quick_sort(arr, left, right): if right > left: ...
[ "szarbartosz@gmail.com" ]
szarbartosz@gmail.com
8a6ca59bb06502011b10a473553ad89562b21f6f
deb246d7cb1ce4ea57bba7e1b3c9964c503a0852
/khmer/khmerEnv/lib/python2.7/site-packages/screed/screedRecord.py
92eeb4728973624c2c3790803d7968f153a2c4dc
[]
no_license
chelseaju/TahcoRoll
89fec5e7d3f8658b3647cb01fb5d3dba90dc74a4
3a5978cd48d728c3ee36afcf95dec82cec58d7e1
refs/heads/master
2021-04-25T15:40:53.545677
2019-09-25T14:09:17
2019-09-25T14:09:17
109,560,971
2
0
null
null
null
null
UTF-8
Python
false
false
6,955
py
# Copyright (c) 2016, The Regents of the University of California. from __future__ import absolute_import from functools import total_ordering import types from . import DBConstants import gzip import bz2 from io import BytesIO try: from collections import MutableMapping except ImportError: import UserDict ...
[ "chelseaju@ucla.edu" ]
chelseaju@ucla.edu
99a3675e71c362c414c8ea7f39d3da678a6336ac
45614a944ffbdb75a0bef955582a722da5ce7492
/python/app.py
e7011353a8b938a296f146d092cafebdb5a08972
[]
no_license
wccgoog/pass
1c8ab5393547634a27c7543556a75dec771a9e3d
0ec01536ae10b3d99707002c0e726072acb50231
refs/heads/2
2023-01-15T13:27:26.312648
2019-10-23T09:30:45
2019-10-23T09:30:45
122,595,075
0
2
null
2023-01-07T10:42:38
2018-02-23T08:38:36
JavaScript
UTF-8
Python
false
false
639
py
from flask import Flask,request,render_template 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') @app.route('/signin',methods=['POST']) def signin(): use...
[ "wcc3@sina.com" ]
wcc3@sina.com
351e42f616d21721a870b7c8092d090c713bcead
2a603f33f109df24e55d392b124dad3f51922075
/0x11-python-network_1/5-hbtn_header.py
e67a32a20f51e94d671ba94a4ce7735bbdc91470
[]
no_license
michellegsld/holbertonschool-higher_level_programming
bc010270904ec2638953afea8fcfd650159e38ac
c6a3a4b2eb80b45708becfa3b08249c3e86294e8
refs/heads/master
2023-06-08T21:06:34.401385
2023-06-06T02:25:03
2023-06-06T02:25:03
226,925,789
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
#!/usr/bin/python3 """ Task 5: Sends a request and displays the value of X-Request-Id 5-hbtn_header.py """ import requests from sys import argv if __name__ == "__main__": req = requests.get(argv[1]) try: print(req.headers["X-Request-Id"]) except: pass
[ "michellegsld@gmail.com" ]
michellegsld@gmail.com
04c96bdf8c7d21cf82ad54365d7d445b04fd42ef
71e2ff113d8b0de6708c7b6165d01a7bbb199b41
/main.py
c273fb85ebc326ecbd9eb80415a83e91f7653d41
[]
no_license
MJB90/timeSeries
3b506b4659121fb58984c358d3ef50a66909df21
0b54fe1f06df5e12f26b5b3a0d210b4f86492414
refs/heads/master
2020-04-20T15:05:22.759585
2019-02-03T12:00:36
2019-02-03T12:00:36
168,918,799
0
0
null
null
null
null
UTF-8
Python
false
false
2,761
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt from datetime import datetime from pandas import Series import barplot as bp import warnings warnings.filterwarnings("ignore") train = pd.read_csv("data/Train_SU63ISt.csv") test = pd.read_csv("data/Test_0qrQsBZ.csv") train_original = train.copy(...
[ "you@example.com" ]
you@example.com
fdbf80ce6ac0265975d02e5efdc5009f07131870
ecf2511642e0e8fb11616249b062a7c8a130d137
/src/python_files/GenOpSpace.py
ef84cc5eff5f24db805665ab5b9ae3245e96df93
[]
no_license
zaddan/apx_tool_chain
61abc9d6958ce17d9823ac7bf71ae3097f76decf
ef81dd6515f110d3c8a4b62a642d44d9a4327a79
refs/heads/master
2021-01-24T06:37:12.248020
2017-04-08T20:39:08
2017-04-08T20:39:08
40,195,826
0
0
null
null
null
null
UTF-8
Python
false
false
3,515
py
import itertools import sys # Copyright (C) # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distri...
[ "behzadboro@gmail.com" ]
behzadboro@gmail.com
e18d24a68f51f405a4f8e4d13943f2abec5d6f23
6bf995003dfe009129f7d93b63ec2478927324e0
/backends/ubpf/tests/ptf/tunneling_test.py
cbc00770d83b8bdcef665d28aa9a236075469f62
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
p4lang/p4c
e9fd8acfa25a6e1e42adffd136cbf6cd5e94018a
4a393c951e1f4fdbdc3894a1f8d2929e700adeb7
refs/heads/main
2023-09-04T16:30:20.238093
2023-09-04T06:55:44
2023-09-04T06:55:44
55,433,859
621
555
Apache-2.0
2023-09-14T14:22:46
2016-04-04T18:12:32
C++
UTF-8
Python
false
false
2,190
py
#!/usr/bin/env python # Copyright 2019 Orange # # 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...
[ "noreply@github.com" ]
p4lang.noreply@github.com
601e2fd0c5ec8bd6a1589b74e3fe3c62cc00a0d1
c6ee7be1479797788dd9f9d3a29c0e76ea020db8
/apscheduler_yqt/rabbitmq_selenium/__init__.py
6aeef9ff6c2d7a54fa444b5060b547c6b8ca913f
[]
no_license
hikekang/apscheduler_yqt
2966e7231fff1f81c4fa4a75459cf638592aae6a
0d30c2ef721b8ffeba98dca6b2441613b4ed608d
refs/heads/master
2023-08-17T05:19:34.345553
2021-09-26T03:21:11
2021-09-26T03:21:11
406,217,786
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
#!/usr/bin/python3.x # -*- coding=utf-8 -*- """ Time : 2021/8/6 16:27 Author : hike Email : hikehaidong@gmail.com File Name : __init__.py.py Description: Software : PyCharm """
[ "38242754+hikekang@users.noreply.github.com" ]
38242754+hikekang@users.noreply.github.com
868f1a271bf1e90f4384544b6b79bb9e791ab6b9
8d47af9482444b07b52cf44cebcaf4b992df4d09
/agents/17_DoubleSampling/17.py
67cf990ddcfc9a4ff45dc4790a458cd55d3247c2
[]
no_license
w0lv3r1nix/retro-agents
f4dbce2db558c880b161062796e5397be65bdd10
c7f93a737dc6c6fc5d8343c099e14bd2bc97aaf1
refs/heads/master
2020-08-01T01:19:41.660018
2018-06-13T04:28:09
2018-06-13T04:28:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,854
py
#!/usr/bin/env python """ Train an agent on Sonic using an open source Rainbow DQN implementation. """ import tensorflow as tf from anyrl.algos import DQN from anyrl.envs import BatchedGymEnv from anyrl.envs.wrappers import BatchedFrameStack from anyrl.models import rainbow_models from anyrl.rollouts import BatchedPl...
[ "seungjaeryanlee@gmail.com" ]
seungjaeryanlee@gmail.com
ea8568e4d91e2982982e1baec28f8eafed53cab4
55d5430e266d331320eef97653bca303c775184b
/GAN/lib/dataset/alignDataSet.py
06f700b5543cbfd0abd70a7eea77b42820ee75d1
[]
no_license
arn1992/CCX-rayNet_and_CCX-rayGAN
57059bc8c02e01f2d03ad5047bf93e2cc0ae4e3a
b219ca9e19ee0a87cfd9895d11d6709429bb9f52
refs/heads/main
2023-05-09T03:00:21.496350
2021-06-03T02:12:24
2021-06-03T02:12:24
373,348,224
3
1
null
null
null
null
UTF-8
Python
false
false
6,619
py
# ------------------------------------------------------------------------------ # Copyright (c) Tencent # Licensed under the GPLv3 License. # Created by Kai Ma (makai0324@gmail.com) # ------------------------------------------------------------------------------ from __future__ import print_function from __future__ i...
[ "noreply@github.com" ]
arn1992.noreply@github.com
9a55f6475c0faa28d1d4f188a408cd6edb3b8c7b
8d472f9facb895dda9e1df81f3bb6c2f81b9c357
/master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_administration/NotificationMessageModule_updateProductionNotificationId.py
c500db8c5f0f5a55eeea84950922136ec276be23
[]
no_license
SlapOS/slapos.core
852485eed9382685f3df6ba8532f8192bb1389c4
369e8d56636e1c59a745e68dc68154abfc5b7840
refs/heads/master
2023-08-31T04:42:34.722241
2023-08-30T15:13:08
2023-08-30T15:13:08
1,825,920
11
4
null
null
null
null
UTF-8
Python
false
false
614
py
if context.getPortalType() != "Notification Message Module": raise ValueError("This folder is not a Notification Message Module") for notification_message in context.searchFolder(id="201%", validation_state="validated"): if notification_message.getValidationState() != 'validated': continue new_id = "master_...
[ "rafael@nexedi.com" ]
rafael@nexedi.com
48ddd44b06ec6eca0612ca841b1a3c4c4285e8ef
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_QC1758.py
9251f4bd17de4e61517b4875032d7ca930e91402
[ "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
4,787
py
# qubit number=5 # total number=60 import cirq import qiskit from qiskit import IBMQ from qiskit.providers.ibmq import least_busy from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from ma...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
c5de003f1e74c18d0f8f566bab3c1c6638eb1c13
725abfa74e3800622837e60615dc15c6e91442c0
/venv/Lib/site-packages/django/contrib/sites/managers.py
12f8e555d1819f45ba12459ff1e8dedf2b4a4201
[]
no_license
Malak-Abdallah/TODOlist
4840e2e0a27e6499ae6b37524bb3e58455d08bfb
fd35754e8eac9b262fae17ec16ad9fb510a12f5d
refs/heads/master
2023-07-16T11:38:48.759232
2021-08-31T09:43:11
2021-08-31T09:43:11
401,600,246
0
0
null
null
null
null
UTF-8
Python
false
false
1,973
py
from django.conf import settings from django.core import checks from django.core.exceptions import FieldDoesNotExist from django.db import models class CurrentSiteManager(models.Manager): "Use this to limit objects to those associated with the current site." use_in_migrations = True def __init__(self, f...
[ "malkobeidallah@gmail.com" ]
malkobeidallah@gmail.com
1f0ac06c86ccc934a38d76d04471bc0b6512f58e
d36ac2218dd70e9d1f26f0e82bc32cd2d0166e17
/tests/test_e_policy.py
e6cad3826d533caa3cf6f6ad7ea876072d51aec9
[ "MIT" ]
permissive
dre2004/reinforcement
b8b1524fb81ec2e540b0d8e64e5a77f6fff2ded8
50d59a49106ffecc26c0fd97fa240bddfff1384a
refs/heads/master
2020-05-20T04:38:22.524054
2018-10-28T18:59:55
2018-10-28T18:59:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,064
py
import random import pytest from reinforcement.policies.e_greedy_policies import EpsilonGreedyPolicy from tests.common_doubles import MockFilter, Call from tests.q_doubles import QFunctionWrapper def make_policy(epsilon, filter=None): return EpsilonGreedyPolicy(epsilon, filter) STATE_A = [0] STATE_B = [1] @p...
[ "b.raml@gmx.at" ]
b.raml@gmx.at
58c87bd862dce94dac7a79671928118b0d26a780
b01f25b447d5ec3d6bc08380ae2601d5badb6af3
/Graph Theory/find_town_judge_graph.py
a65dc5f13d930fed2aa087d3129ce35ebbcebc07
[]
no_license
SurajPatil314/Leetcode-problems
0b05faab17214437a599d846dd1c9a7ea82b9c4c
9201a87246842855281c90a9705f83fce24d1137
refs/heads/master
2021-09-05T02:20:05.274438
2021-08-09T21:24:05
2021-08-09T21:24:05
203,467,630
0
0
null
null
null
null
UTF-8
Python
false
false
1,107
py
""" In a town, there are N people labelled from 1 to N. There is a rumor that one of these people is secretly the town judge. If the town judge exists, then: The town judge trusts nobody. Everybody (except for the town judge) trusts the town judge. There is exactly one person that satisfies properties 1 and 2. You a...
[ "spatil2@umbc.edu" ]
spatil2@umbc.edu
19d37369afbab32c4d2c09847ce2d0f8ce1afa84
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_12663.py
6031a1a7cbb9dc2a4982856ada1abfbb19ec911f
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
# Getting SQLAlchemy to issue CREATE SCHEMA on create_all from sqlalchemy.schema import CreateSchema engine.execute(CreateSchema('my_schema'))
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
6e2c03b6b255c05b1a83bfd12d7a9abac813bc85
7ddc47adf330d48bf0b5c602a04c45fa4dc64590
/Multidimensional Lists/Exercises/Exercise multidimentional lists 04.py
5209364a7b2049de153e9e53b71c367116c85170
[]
no_license
Beshkov/Python_Advanced
634786e5f2de6f19ba74ab2fcf6489f751a774e8
e1bf1385a03b773b697bc65771193ebd9ef5d226
refs/heads/main
2023-03-03T16:19:35.271919
2021-02-18T20:45:37
2021-02-18T20:45:37
329,417,000
0
0
null
null
null
null
UTF-8
Python
false
false
2,503
py
r, c = tuple(int(el) for el in input().split()) matrix = [[el for el in input().split()] for _ in range(r)] def is_valid(command, matrix): if not command.split()[0] == 'swap' or not len(command.split()) == 5: print('Invalid input!') return row_one, col_one, row_two, col_two = [int(x) for x in ...
[ "alexander.beshkov@gmail.com" ]
alexander.beshkov@gmail.com
966bee64272b1e61f7a41d8aa904ff20763d2f3c
79e1b7919f34ec0425bb98cc4888e092e94e0273
/readMotionZone3.py
d3e197bc34d632b274850cb613793b6b3042dd07
[]
no_license
hamhochoi/K59_training
099e0c193b94677045bd3622f04440d49a3765fb
845ab3ac64035bf25a72c8dd380cc133092f2e42
refs/heads/master
2021-01-19T08:59:34.938053
2018-10-24T17:46:29
2018-10-24T17:46:29
87,705,721
0
0
null
2018-01-13T16:49:23
2017-04-09T12:09:21
null
UTF-8
Python
false
false
870
py
import paho.mqtt.client as mqtt import time from datetime import datetime #f = open("time_pin.txt", "a") def on_connect(client, userdata, flags, rc): print("Connected with result code "+str(rc)) # Subscribing in on_connect() means that if we lose the connection and # reconnect then subscriptions will be ...
[ "dothanhwork2017@gmail.com" ]
dothanhwork2017@gmail.com
764a01fab0d7c00916075b5b3e9e39d50334c0ab
31c7a5fb038c094abd9d25aa6eb30901aa255e5f
/planner/progression/utils.py
5352e96dab2b17174f42a3f797b21b240dbfbd26
[ "MIT" ]
permissive
hxdaze/pyplanners
0711d8d7065ea347925bd4395cc22460f8989299
ef1ae33e233f20cd93ce03cba363b0f14fd078bc
refs/heads/master
2023-05-13T03:40:21.480863
2021-06-02T02:45:24
2021-06-02T02:45:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
from random import random, randint, choice # TODO: Monte-Carlo Tree Search DEFAULT_GOAL_PROBABILITY = 0.1 def pop_random(queue): queue.rotate(randint(0, len(queue) - 1)) return queue.popleft() def sample_target(sample, goal_sample=None, goal_probability=DEFAULT_GOAL_PROBABILITY): if (goal_sample is not...
[ "caelan@mit.edu" ]
caelan@mit.edu
2a060797c6f0596efb85781e96e662b62b25a605
e20ed90b9be7a0bcdc1603929d65b2375a224bf6
/generated-libraries/python/netapp/volume/volume_qos_attributes.py
d9b68e9559d1de7eb232b2af87826e82481b4776
[ "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
1,405
py
from netapp.netapp_object import NetAppObject class VolumeQosAttributes(NetAppObject): """ QoS policy group attached with a volume. """ _policy_group_name = None @property def policy_group_name(self): """ The QoS policy group associated with this volume. <p> ...
[ "radek@gruchalski.com" ]
radek@gruchalski.com
ed29596b420bf723cd8950b86899310a5b4c08c5
8ad9ad16582ad302b121ce9f6cd743dff5187454
/dataset/dataset_loader.py
4cb35ca8619a1e7fa17cd3c92077eadf218d5962
[]
no_license
wolf943134497/3D-Aware-Ellipses-for-Visual-Localization
0d7d55b2b0997ffdd97f27b31e09de7725790dda
9caddecd4e175d7528ea6b8d74bb79954c74efef
refs/heads/master
2023-05-05T07:45:54.831338
2021-05-23T19:33:08
2021-05-24T21:35:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
import json import numpy as np class Dataset_loader: """ Interace with our own dataset file format. """ def __init__(self, filename): with open(filename, "r") as fin: self.dataset = json.load(fin) self.nb_images = len(self.dataset) def __len__(self): retur...
[ "zins.matthieu@gmail.com" ]
zins.matthieu@gmail.com
f412e114622a62333efacf8bd085912edb0d96e1
7eebbfaee45fdc57c4fc6ba32c87c35be1e62b14
/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/products_report.py
ea97bf690ae643e105877fc34e221bea461fb5e4
[ "MIT", "Elastic-2.0" ]
permissive
Velocity-Engineering/airbyte
b6e1fcead5b9fd7c74d50b9f27118654604dc8e0
802a8184cdd11c1eb905a54ed07c8732b0c0b807
refs/heads/master
2023-07-31T15:16:27.644737
2021-09-28T08:43:51
2021-09-28T08:43:51
370,730,633
0
1
MIT
2021-06-08T05:58:44
2021-05-25T14:55:43
Java
UTF-8
Python
false
false
8,127
py
# # Copyright (c) 2021 Airbyte, Inc., all rights reserved. # from copy import copy from .report_streams import RecordType, ReportStream METRICS_MAP = { "campaigns": [ "bidPlus", "campaignName", "campaignId", "campaignStatus", "campaignBudget", "campaignRuleBasedBu...
[ "noreply@github.com" ]
Velocity-Engineering.noreply@github.com
a8d8af51088b85de2bc2918484ac156679217741
6a9f6e6527afb38611a5c695e5845e492d7676ff
/102.binary-tree-level-order-traversal.py
7eb77a9a8d81de928a9b97a1005e30cb9e67ae71
[]
no_license
Junyangz/leetcode
39913d48778d369f9f0a96070352d63b207e7df6
5de48fbdcb61ce8a437255a119a4a3ae242ede52
refs/heads/master
2020-06-09T08:57:26.361138
2019-11-14T08:38:07
2019-11-14T08:38:07
193,413,271
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
# # @lc app=leetcode id=102 lang=python3 # # [102] Binary Tree Level Order Traversal # # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: res = [] def levelOrder(self, root: TreeNode, l...
[ "junyangz.iie@gmail.com" ]
junyangz.iie@gmail.com
227324e4b93ca4b8bf74ffa2dd956e21cce31967
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_primaries.py
e457d57cae006604c84eb17a3f6a03363e756bca
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
from xai.brain.wordbase.adjectives._primary import _PRIMARY #calss header class _PRIMARIES(_PRIMARY, ): def __init__(self,): _PRIMARY.__init__(self) self.name = "PRIMARIES" self.specie = 'adjectives' self.basic = "primary" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
d2cb3437eb8ea8a93580f88ea57e3ac8d9291e75
30b97efb2f36f81aa684d16d19e0e2db17f2967d
/09. 기본수학2/3009.py
9717ea46cc12a0dece6c17b3d29096b76c42fd5b
[]
no_license
jmseb3/bakjoon
0a784a74c6476ef51864e2ada9d2551c7c7979eb
a38db54e851372059b0e45add92e43e556835e62
refs/heads/main
2023-08-25T08:43:04.579785
2021-10-01T08:40:37
2021-10-01T08:40:37
362,287,450
2
0
null
null
null
null
UTF-8
Python
false
false
259
py
x = [0,0,0] y = [0,0,0] ans = [0,0] for i in range(3): x[i], y[i] = map(int, input().split()) for i in range(3): if x[i%3] == x[(i+1) %3]: ans[0] = x[(i+2)%3] if y[i%3] == y[(i+1)%3]: ans[1] = y[(i+2)%3] print(ans[0],ans[1])
[ "jmseb3@naver.com" ]
jmseb3@naver.com
eabdc460c1970ab10e273e221fc427cb01c439ff
08db753c516c90538fbebe6570b62caa395c6860
/MRaswan_Assignment8/harry_potter.py
ad18f3ee2f9e8943ef7cfde23a4a6da5a90242f2
[]
no_license
meghnaraswan/PythonAssignments
4c717fb90e6a782db8789582408d8ad313bbd000
63d6afaa0a6f4086031eaa66b1fbb7a6a533cd8f
refs/heads/master
2021-07-11T10:39:14.403841
2021-04-04T19:40:49
2021-04-04T19:40:49
237,349,522
0
0
null
null
null
null
UTF-8
Python
false
false
2,546
py
#Meghna Raswan #2337415 #raswan@chapman.edu #CPSC 230-10 (1515) #Assignment 8 #word count import operator def read_file(input_file_name): input_file_handle = open(input_file_name, 'r') ##opens the file and reads the file str_of_words = "" #initialize output string for line_str in input_file_handle: #iter...
[ "raswan@chapman.edu" ]
raswan@chapman.edu
751151aa43a65c2ae6631e2343285b05224fe7b3
b9d53e5506ee883d74614cf564e37de53e924b5c
/run.py
7b84858abcb14586b5bb52e0c378af1bf6e69ace
[]
no_license
Hodo7amShichiYA/VK_Img_V1
e5eb78d0374d24219183fb98da4b0e9018973611
307601cfa23bd150487eb14ecea43e3f0ab0aa0d
refs/heads/master
2020-06-05T09:00:25.851616
2019-06-17T16:50:43
2019-06-17T16:50:43
192,385,177
0
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
from selenium import webdriver from lxml import etree import time from time import sleep def vkimg(userid): email = 'x' pwd = 'x' with open('./%s lasturl.txt'%userid, 'r+') as l: url = l.read() print('地址获取成功') chrome_options = webdriver.ChromeOptions() chrome_options.add_argument('--head...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
22f9942da36f5533775e4cecabe544164b90f9ba
000a4b227d970cdc6c8db192f4437698cb782721
/python/helpers/typeshed/stdlib/profile.pyi
982bcabad40111fe78d27e3f9ba69534cb546a7e
[ "MIT", "Apache-2.0" ]
permissive
trinhanhngoc/intellij-community
2eb2f66a2a3a9456e7a0c5e7be1eaba03c38815d
1d4a962cfda308a73e0a7ef75186aaa4b15d1e17
refs/heads/master
2022-11-03T21:50:47.859675
2022-10-19T16:39:57
2022-10-19T23:25:35
205,765,945
1
0
Apache-2.0
2019-09-02T02:55:15
2019-09-02T02:55:15
null
UTF-8
Python
false
false
1,364
pyi
from _typeshed import Self, StrOrBytesPath from typing import Any, Callable, TypeVar from typing_extensions import ParamSpec __all__ = ["run", "runctx", "Profile"] def run(statement: str, filename: str | None = ..., sort: str | int = ...) -> None: ... def runctx( statement: str, globals: dict[str, Any], locals: d...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
98cbfc244d6321a2b2564a9a471a7607c49aa45d
943e502b6e293c48564cf6c6d7dd7e39fc7dcf56
/unnecessary_math/unnecessary_math.py
8bf025b4cc2960f579adae219e7107e308fd6d53
[]
no_license
charsyam/unnecessary_math
e3a49f757dcf1a606a53c90fb8be5ba50e5dd412
fcd6fe4a87b89419bb05886388e9f6342079b5cb
refs/heads/master
2021-01-20T12:52:19.963717
2017-05-13T03:33:19
2017-05-13T03:33:19
90,422,244
0
0
null
2017-05-13T03:33:19
2017-05-05T22:44:48
Python
UTF-8
Python
false
false
443
py
''' Module showing how doctests can be included with source code Each '>>>' line is run as if in a python shell, and counts as a test. The next line, if not '>>>' is the expected output of the previous line. If anything doesn't match exactly (including trailing spaces), the test fails. ''' def multiply(a, b): """ ...
[ "charsyam@naver.com" ]
charsyam@naver.com
0fd3fb1d4912d8adc8ba824a5d0208ed3da11c1d
a28e1e659e4dd82be5e253443b0c7a808cdcee92
/DataStructure/tree.py
a5baa7fec37b604010a20f5f471ca8781ac1a306
[]
no_license
LeBron-Jian/BasicAlgorithmPractice
b2af112e8f1299fe17cf456111276fce874586cb
51943e2c2c4ec70c7c1d5b53c9fdf0a719428d7a
refs/heads/master
2023-06-07T19:12:16.362428
2023-05-27T06:58:12
2023-05-27T06:58:12
217,682,743
13
14
null
2020-09-12T01:50:35
2019-10-26T08:59:04
Python
UTF-8
Python
false
false
1,892
py
#_*_coding:utf-8_*_ class Node: def __init__(self, name, type='dir'): self.name = name self.type = type # 'dir' or ; 'file' self.children = [] self.parent = None # 链式存储 def __repr__(self): return self.name ''' 分析列表,假设hello目录下如何找到子目录world的目录呢? n = Node('hello'...
[ "1171737614@qq.com" ]
1171737614@qq.com
a357f9ead60456ab5a7e9d939b363b35d728a205
1dec4f8f58202b3ebabcb12816811d22a8b7da3c
/test/scanner.py
d300ce1d50a3569256666a359fd39d53558fd36a
[ "MIT" ]
permissive
lsst-sqre/rubin-jupyter-hub
51df5d3590635009479732247c3c19333ea39ff5
162abe9422332aa60ef089af2862b7a0b0417fa1
refs/heads/master
2023-04-17T09:16:10.893045
2021-05-05T17:41:45
2021-05-05T17:41:45
287,143,775
0
0
NOASSERTION
2021-05-05T17:41:45
2020-08-13T00:33:31
Python
UTF-8
Python
false
false
280
py
#!/usr/bin/env python3 import rubin_jupyter_utils.hub as rh q = rh.SingletonScanner( name="sciplat-lab", owner="lsstsqre", debug=True, experimentals=2, dailies=3, weeklies=4, releases=3, cachefile="/tmp/reposcan.json", ) q.scan() q.get_all_tags()
[ "athornton@gmail.com" ]
athornton@gmail.com
e2810a18610a785f47a2d469dc933a538a438a11
b4b0e2979d3342449bd7847e619896a7f3878f2f
/day02/bathroom.py
396d3e9c53dcdcf71a2d0337c68f939dc29ad9eb
[ "MIT" ]
permissive
ecly/adventofcode2016
ebbfa39e0932488d930e286321d73e0cb59d24b5
d08411a887cb2bf6b53785b9b6c193a69f78ba87
refs/heads/master
2018-10-20T23:23:07.113189
2018-07-20T17:37:53
2018-07-20T17:37:53
114,026,630
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
def first(instructions): code = "" x, y = 1, 1 keypad = ((1,2,3),(4,5,6),(7,8,9)) for instruction in instructions: for c in instruction: if c == 'U'and y > 0: y-=1 if c == 'D'and y < 2: y+=1 if c == 'L'and x > 0: x-=1 if c == 'R'and x < 2: x+=1 ...
[ "ecly@mailbox.org" ]
ecly@mailbox.org
c2a01c5648c2e7f6f5fbaef3915cdf3dae6ded4b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2183/60895/250649.py
2ac41841d2853fb7b23c742a376c03a26de7de4b
[]
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
287
py
t=int(input()) while t>0: n=int(input()) temp=n start=0 sum=0 if n==1: sum=3 else: temp=temp-1 while temp>0: start=start+2*temp temp=temp-1 for i in range(0,2*n): sum=sum+start+i+1 print(sum)
[ "1069583789@qq.com" ]
1069583789@qq.com
15bbb5b5d25a476591ac3f22a66ddeba6418df73
e71b6d14fbdbc57c7234ca45a47329d7d02fc6f7
/flask_api/venv/lib/python3.7/site-packages/vsts/task_agent/v4_1/models/endpoint_url.py
6ac3ef6470b0974e3a1bbc74eb73896987dc48b9
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
u-blavins/secret_sasquatch_society
c36993c738ab29a6a4879bfbeb78a5803f4f2a57
0214eadcdfa9b40254e331a6617c50b422212f4c
refs/heads/master
2020-08-14T00:39:52.948272
2020-01-22T13:54:58
2020-01-22T13:54:58
215,058,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------...
[ "usama.blavins1@gmail.com" ]
usama.blavins1@gmail.com
9bb9fa1995a4ad19d223a45f59b6a2586b015ae6
00db9cdb3cf82306c0de9de1aac0f7514192f1d7
/dataset/SUN.py
61af030add5b5c574858bbecf4fffa3c461152a7
[]
no_license
lijiunderstand/BiSeNet-CCP
039b4aad6a20ed848141e09a265f50e204d0a28c
61023e13fed18fc58737194f1de8639b82382605
refs/heads/master
2020-04-24T22:19:47.595380
2019-01-22T01:30:40
2019-01-22T01:30:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,450
py
import torch import glob import os from torchvision import transforms from torchvision.transforms import functional as F import cv2 from PIL import Image import pandas as pd import numpy as np from imgaug import augmenters as iaa import imgaug as ia from utils import get_label_info, one_hot_it import random def augme...
[ "shuaixie@zju.edu.cn" ]
shuaixie@zju.edu.cn
85d1641bef7fd5909e21ca349f509fdd3421cc41
0987f31e64bcacb41ba3a1e20054d7b8ac0d7346
/contests/ABC062/C_correct.py
c036e7a61ea6e88afb42487b1449da2c480884d5
[]
no_license
masakiaota/kyoupuro
81ae52ab3014fb2b1e10472994afa4caa9ea463b
74915a40ac157f89fe400e3f98e9bf3c10012cd7
refs/heads/master
2021-06-27T04:13:52.152582
2020-09-20T03:21:17
2020-09-20T03:21:17
147,049,195
1
0
null
null
null
null
UTF-8
Python
false
false
743
py
# メインアイデア # T分割と||分割で差が小さい方を探す # 90度回転させた場合も考える # 総合的に小さい方を採用する # 図的な解説は別のPDFをアップロードしてある H, W = list(map(int, input().split())) # 3の倍数の場合は即座に0とわかる if (H * W) % 3 == 0: print(0) exit() def try_divi(W, H): # パターン1 err = W # パターン2 w2, w3 = W // 2, W // 2 if W % 2: w2 += 1 for h1 ...
[ "aotamasakimail@gmail.com" ]
aotamasakimail@gmail.com
399d8f1ccae0a90aaadd43bbb8361fc501069da4
34652a47355a8dbe9200db229a1bbc62619de364
/Maths/Euler Sum_for.py
d2db391244ef070127e556456b9ec176533aed0a
[]
no_license
btrif/Python_dev_repo
df34ab7066eab662a5c11467d390e067ab5bf0f8
b4c81010a1476721cabc2621b17d92fead9314b4
refs/heads/master
2020-04-02T13:34:11.655162
2019-11-10T11:08:23
2019-11-10T11:08:23
154,487,015
0
1
null
null
null
null
UTF-8
Python
false
false
213
py
import math N=int(input("Number of terms you want to sum up : \n")) sum = 0 for x in range(1, N+1, 1): sum = sum + 1/x**2 print("The result is : ", sum, "\n") print("The EXACT result is : ", math.pi**2/6)
[ "bogdan.evanzo@gmail.com" ]
bogdan.evanzo@gmail.com
ec58eda1e6caea7793bb434bbf060c242815ae28
3cbf4a9d14cd487520f2bd05db10542705a37baf
/h2o-py/tests/testdir_algos/deeplearning/pyunit_weights_and_biases_deeplearning.py
76f2f8903d02c8119cc64a31daddf0f61973f02b
[ "Apache-2.0" ]
permissive
KendraFabric/h2o-3
733ff021553ff2c2d8f0c3336450d886d029cf15
c75bc5d2dc644cc8c09df755185a4cc6e34e0d1a
refs/heads/master
2023-03-15T12:32:02.852026
2016-08-26T14:01:07
2016-08-26T14:27:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,413
py
import sys, os sys.path.insert(1, os.path.join("..","..")) import h2o from tests import pyunit_utils def weights_and_biases(): print "Test checks if Deep Learning weights and biases are accessible from R" covtype = h2o.upload_file(pyunit_utils.locate("smalldata/covtype/covtype.20k.data")) covtype[54] = covty...
[ "spnrpa@gmail.com" ]
spnrpa@gmail.com
e8858b1d17db014e60ff494d1957a7e6b40abea3
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/group_and_right_life/have_group/point/long_point_or_next_place.py
353072ad6581aa82d34c921d2190fd9605b2db54
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
#! /usr/bin/env python def person_or_next_work(str_arg): problem(str_arg) print('fact') def problem(str_arg): print(str_arg) if __name__ == '__main__': person_or_next_work('last_place')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
9997b4b6559fd1d70162f2a3a4866a702f635c0f
55591cff4b4dbfec91ac8e498652c2ad60bfdffe
/datahub/dataset/core/views.py
b8c2f58a8861f7ede2eddf27716026aace8c11eb
[ "MIT" ]
permissive
alixedi/data-hub-api-cd-poc
2caf6575cced33f0b2b22582d8bdcd60e99ba7d8
a5e5ea45bb496c0d2a06635864514af0c7d4291a
refs/heads/develop
2020-12-26T05:52:39.575158
2020-01-30T15:27:27
2020-01-30T15:27:27
237,407,350
0
0
MIT
2020-02-07T12:38:47
2020-01-31T10:25:34
null
UTF-8
Python
false
false
1,150
py
from rest_framework.views import APIView from config.settings.types import HawkScope from datahub.core.auth import PaaSIPAuthentication from datahub.core.hawk_receiver import ( HawkAuthentication, HawkResponseSigningMixin, HawkScopePermission, ) from datahub.dataset.core.pagination import DatasetCursorPagi...
[ "nick.ir.ross@gmail.com" ]
nick.ir.ross@gmail.com
54be352c9be4e5ee113aa84590c71e535dc20a78
21a7969bea3e4fb4b4734443aa1702000c26336b
/009-Guessing-Game-One.py
57b5a45057dda0866b8a9730d4d8a0efa3f39ef9
[]
no_license
jaapdejong/python-challenges
635823e7c67c6b5d769c22298d385cfa40cc9f9d
04fbb009d6c017bdb17a2a6cc45c543a13494fe0
refs/heads/master
2021-01-15T22:47:23.882155
2017-08-10T11:18:08
2017-08-10T11:18:08
99,915,001
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
#!/usr/bin/python3 # # Exercise 9 # Generate a random number between 1 and 9 (including 1 and 9). # Ask the user to guess the number, then tell them whether they guessed too low, too high, or exactly right. # (Hint: remember to use the user input lessons from the very first exercise) # from random import randint compu...
[ "jaap.dejong@nedap.com" ]
jaap.dejong@nedap.com
736d50cd559b4a440abd688caf3c6c50d476faaa
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/machinelearning/azure-mgmt-machinelearningservices/generated_samples/registry/code_version/delete.py
3e012305c57cb4acd3c379e49fb0e9f5eebf2636
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,683
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" ]
Azure.noreply@github.com
6dd679509464d24a600eedfe687833818a76add8
54aeeae3c4258e2312028ecd2a38242dd3f4f34d
/examples/BLE_Alerts_Secure_2/main.py
3bea866358ed00335b014cf3690356f44e0e374c
[]
no_license
zerynth/lib-espressif-esp32ble
09f4f9ae28056d49d4062c19c0a330bff61396f3
17ab2a1fbd80e99420cd988c8fc148b8f366e379
refs/heads/master
2021-06-08T04:12:22.808499
2020-09-24T15:31:45
2020-09-24T15:31:45
167,332,727
0
0
null
null
null
null
UTF-8
Python
false
false
4,832
py
################################################################################ # BLE Alerts with Security 2 # # Created by Zerynth Team 2019 CC # Author: G. Baldi ############################################################################### import streams #import the ESP32 BLE driver: a BLE capable VM is also need...
[ "dev@zerynth.com" ]
dev@zerynth.com
cc525d1d2d9552b17bd4b2818466de9dc2db4e33
f359c953ef823cc44f7d87a3736c3e4fb1817c0b
/EDBRCommon/python/simulation/RunIIDR74X/RSGravToZZToLLQQ_M-4500.py
f8823971e11ccf67430c5a39efff4e49bce8f793
[]
no_license
jruizvar/ExoDiBosonResonancesRun2
aa613200725cf6cd825d7bcbde60d2e39ba84e39
b407ab36504d0e04e6bddba4e57856f9f8c0ec66
refs/heads/Analysis76X
2021-01-18T20:00:57.358494
2016-05-30T21:30:19
2016-05-30T21:30:19
23,619,682
1
1
null
2016-04-22T18:38:45
2014-09-03T12:41:07
Python
UTF-8
Python
false
false
879
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/RunIISpring15D...
[ "jruizvar@cern.ch" ]
jruizvar@cern.ch
a9fc27c1b63235d582097a3ea144208589f0880d
b3b066a566618f49ae83c81e963543a9b956a00a
/Supervised Learning with scikit-learn/01_Classification/05_k-Nearest Neighbors Predict.py
96614384e3f708dc1e9787ed95b2a117a9ba84a8
[]
no_license
ahmed-gharib89/DataCamp_Data_Scientist_with_Python_2020
666c4129c3f0b5d759b511529a365dfd36c12f1a
f3d20b788c8ef766e7c86c817e6c2ef7b69520b8
refs/heads/master
2022-12-22T21:09:13.955273
2020-09-30T01:16:05
2020-09-30T01:16:05
289,991,534
2
0
null
2020-08-24T17:15:43
2020-08-24T17:15:42
null
UTF-8
Python
false
false
2,183
py
''' k-Nearest Neighbors: Predict Having fit a k-NN classifier, you can now use it to predict the label of a new data point. However, there is no unlabeled data available since all of it was used to fit the model! You can still use the .predict() method on the X that was used to fit the model, but it is not a good indi...
[ "Your-Email" ]
Your-Email
2ff172e2e6211730ddf823e829aa16698fff35b2
2f2667682bb78578445b9e3aac7cc62cfba83d5a
/googlenet/nets/cnn_model/CNN_MODEL.py
cb42ca784f10d89d88a49599ffdab9680d78e45d
[]
no_license
Yorwxue/trt_experence
9c770c2a1cb7c48c9d7f21c46be0107de91f1c41
778a6cef019dd8afdae6b608b3cbacb56480c7b1
refs/heads/master
2022-12-21T12:38:13.108402
2019-08-01T08:11:10
2019-08-01T08:11:10
195,760,238
0
0
null
2022-12-08T05:57:26
2019-07-08T07:36:12
Python
UTF-8
Python
false
false
4,407
py
import tensorflow as tf class cnn_model(object): def __init__(self, input_placeholder, num_classes): self.inputs = input_placeholder self.num_classes = num_classes self._build_model() self.labels = None def build_graph(self, label_place_holder): self.labels = label_pla...
[ "yorwxue@gmail.com" ]
yorwxue@gmail.com
2a129138b050a28bf745e50795dcbd843554f7d3
d7f45fac46598da9825a404d7511df7474237e4a
/ex.071.py
ae90bc20c6a1a345fd4295374d5d35af552c7539
[]
no_license
MarceloBCS/Exercicios_Curso_em_video
b4a8cbc8573e1303065c0cf1baad25c47d5a2fd8
a90fd67d83cf154f3554f962815fb791d3508d0c
refs/heads/master
2022-12-29T19:15:50.007022
2020-10-13T05:09:28
2020-10-13T05:09:28
303,592,782
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
cor = {'amarelo':'\033[1;33m', 'red':'\033[1;31m', 'limp':'\033[m'} print(cor['red'], '='*22) print(f' Bhering Bank') print('='*24, cor['limp']) n = int(input('Valor do Saque: R$ ')) nota50 = n // 50 resto50 = n % 50 nota20 = (resto50) // 20 resto20 = resto50 % 20 nota10 = (resto20) // 10 resto10 = resto20 % 1...
[ "63213758+MarceloBCS@users.noreply.github.com" ]
63213758+MarceloBCS@users.noreply.github.com
1517091c99791653d0cab3474d9bab53eab31f3b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_neglect.py
a50f6e279fa4b54dc4dbd0054f3c11b55146c2f7
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#calss header class _NEGLECT(): def __init__(self,): self.name = "NEGLECT" self.definitions = [u'to not give enough care or attention to people or things that are your responsibility: ', u'to not do something, often because you forget: '] self.parents = [] self.childen = [] self.properties = [] self.js...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
73139227eba251932205e3dbb90771cec1951790
92993cff825da80a8ff601572a0c52b0b7d3cbde
/algorithms/Svm/APG/L2/APG_L2_m22.py
a2277a8abdf5a9f18704027fccf9cf7bcdc2e1f7
[]
no_license
yingzhuoy/MRs-of-linear-models
06e8b1f84b08c6aa77553813824cf35c1806c5a7
c3df8299e039a12613f2022b370b8c3e9c2dd822
refs/heads/master
2023-04-07T23:09:37.736952
2021-04-04T05:33:37
2021-04-04T05:33:37
265,124,549
0
0
null
null
null
null
UTF-8
Python
false
false
2,845
py
import numpy as np from numpy import linalg import cvxopt from cvxopt import matrix,solvers from algorithms.clf import Clf def backtracking(l0, x0, p, q, low, up): # update x beta = 0.5 l = l0 L0 = 0.5*x0.T*(p*x0) + q.T*x0 g0 = p*x0 + q for k in range(128): #xp = x0 - l * g0 ...
[ "yingzhuoy@qq.com" ]
yingzhuoy@qq.com
1b4e72269db5cacbd411ce69d585d1981dee4c84
3449140c29d292c910527cc7163689d215d2f22d
/delivery/urls.py
edddc5b0d4461c75abdbf2a5259fa5461fd3ed6c
[]
no_license
gayatrishivani/ichoose-ead-project-sem6
89afeda33261bb18b3848e9171865409d0cf6b44
ae0f59769950656683bc72d1e76cec2bcfa7fd07
refs/heads/master
2023-03-08T18:43:02.970287
2021-02-25T19:06:25
2021-02-25T19:06:25
342,350,918
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
from django.contrib.auth import views from django.urls import path from .views import * urlpatterns = [ path('order/', OrderAPIView.as_view(), name="order"), path('deliver/', deliver_verify,name ="deliver"), ]
[ "you@example.com" ]
you@example.com
971536fe0a24d6e56e72428cf6577eb03a601f75
76133934b1dd287273a9bfa0c801d10d08a21b21
/test/functional/walletbackup.py
3734f2cfc1a6af61d4e6020705c5022fe3698f71
[ "MIT" ]
permissive
kenfmcoin/kenfmcoin
d8783b34fcb3ae01067e8d1b33e3a73e3b82b1f9
1fa48487593233f2066757dc54f48b2349e2d9db
refs/heads/master
2020-03-10T17:53:31.569229
2018-04-14T12:28:55
2018-04-14T12:28:55
129,511,375
0
0
null
null
null
null
UTF-8
Python
false
false
7,275
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The KenFMcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet backup features. Test case is: 4 nodes. 1 2 and 3 send transactions between each oth...
[ "37983255+spineinhalb@users.noreply.github.com" ]
37983255+spineinhalb@users.noreply.github.com
eb307b0b3d4c0305cf1ec3ffde93f182d60448a4
66b1f3c3e57f53e1404d6e17c4acc850173a531d
/Python/Fundamentals/Objects and Classes/04. Exercises.py
c63352f1eab3c72ca9d0b9b6bde644bfae6dd9ba
[]
no_license
bMedarski/SoftUni
ca4d6891b3bbe7b03aad5960d2f4af5479fd8bbd
62cd9cb84b0826e3381c991882a4cdc27d94f8ab
refs/heads/master
2021-06-08T17:32:39.282975
2020-02-04T11:57:08
2020-02-04T11:57:08
67,947,148
6
3
null
2021-05-06T20:35:42
2016-09-11T18:31:02
Python
UTF-8
Python
false
false
1,149
py
class Exercise: def __init__(self,topic,course_name,judge_contest_link,): self.topic = topic self.course_name = course_name self.judge_contest_link = judge_contest_link self.problems = [] def add_problems(self,list_of_problems): for problem in list_of_problems: ...
[ "boyamedarski@mail.bg" ]
boyamedarski@mail.bg
77d363126291b572790991bb8207eda8fe0559c8
a149044762566830b4356343c062ee84c8056471
/healthid/apps/orders/migrations/0019_auto_20191118_1908.py
cb35272d4db1312cee84af4026cfee38c1046a7f
[]
no_license
malep2007/healtid-web-api
23fbe8b34a3c5256cbb60cf15205f65cc035df13
d9e88b4d8fe1dbc297b61bb007d4182928e515d4
refs/heads/dev
2022-12-12T03:24:37.537569
2019-12-17T16:26:59
2019-12-17T16:26:59
228,655,076
0
1
null
2022-12-08T05:25:00
2019-12-17T16:17:27
Python
UTF-8
Python
false
false
521
py
# Generated by Django 2.2 on 2019-11-18 18:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0018_supplierrating'), ] operations = [ migrations.AlterField( model_name='supplierorderdetails', name='stat...
[ "ephraim.malinga@gmail.com" ]
ephraim.malinga@gmail.com
6e1c053097e229c6fd3c3bb3d6e367ae5d464e29
c231bdc8d01465c9dda429be2d6535f8e8ea5ece
/Complete Python Masterclass/Source_Codes/lesson_192_pigen.py
7cd19f181a3a2e3f01176230fb3bdbda2765cf2a
[ "MIT" ]
permissive
jessequinn/Udemy
1634049711eb888f59b697d883555767e38598a3
e3d652c8144660ae155149d897b6364416106c7c
refs/heads/master
2021-08-18T09:58:57.274897
2018-10-26T22:50:26
2018-10-26T22:50:26
142,214,616
0
1
null
null
null
null
UTF-8
Python
false
false
374
py
def oddnumbers(): n = 1 while True: yield n n += 2 def pi_series(): odds = oddnumbers() approximation = 0 while True: approximation += (4 / next(odds)) yield approximation approximation -= (4 / next(odds)) yield approximation approx_pi = pi_series(...
[ "me@jessequinn.info" ]
me@jessequinn.info
4a8fa681a8b0aae3c3b191b3e2b4ec7019a401fc
f40e5c91a18fc5c7e0b4d96fe964a493f924e958
/supervised_learning/0x0F-word_embeddings/4-fasttext.py
949c893776a76d2dde5174ec730529b71a0fd9e2
[]
no_license
jgadelugo/holbertonschool-machine_learning
ab46f71477998371ca5e3623455d61fe334ab221
e20b284d5f1841952104d7d9a0274cff80eb304d
refs/heads/master
2023-02-01T03:52:43.723569
2020-12-10T19:28:57
2020-12-10T19:28:57
256,043,170
1
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
#!/usr/bin/env python3 """creates and trains a genism fastText model""" from gensim.models import FastText def fasttext_model(sentences, size=100, min_count=5, negative=5, window=5, cbow=True, iterations=5, seed=0, workers=1): """creates and trains a genism fastText model @sentences: list o...
[ "alvarezdelugo.jose@gmail.com" ]
alvarezdelugo.jose@gmail.com