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
0540326a34c8eea969ab2b250c2b3f1ec56b7c6a
289e17a9b3d0cf187f403894ebfb1007dcb1b3dc
/old-leetcode/older/455AssignCookies.py
675b3deca4cadfed6019c625c6b235707590c23c
[]
no_license
congyingTech/Basic-Algorithm
7ddb376e49ef3b1c0d989fb1d4a4949d2d121d63
18c06a96bb14688e4a1d5fb6baf235a6b53bd3ae
refs/heads/master
2021-11-27T07:01:05.474609
2021-11-15T07:16:31
2021-11-15T07:16:31
224,206,231
10
3
null
null
null
null
UTF-8
Python
false
false
288
py
class Solution(object): def findContentChildren(self, g, s): """ :type g: List[int] :type s: List[int] :rtype: int """ if __name__ == '__main__': a = Solution() g = [1,2,3,4] s = [2,4,6,8] print(a.findContentChildren(g, s))
[ "congyingTech@163.com" ]
congyingTech@163.com
ebebf49828ccb7b90e9a49da0fb21464b90fbbe0
5c29360b142773c87cae6b245b48cefa7cce708c
/inventory/inventory/report/alokasi_barang_terkirim/alokasi_barang_terkirim.py
9186e5fdbc59477a87e9214eeccd3b9205565207
[ "MIT" ]
permissive
bobzz-zone/inventory
4f496d57189496f0cdc58c5510b51d26f5ad8a68
0cf5f3c5cc5e77a577605f99b8210fb0178aea30
refs/heads/master
2020-05-22T09:30:20.896237
2016-10-28T14:28:31
2016-10-28T14:28:31
65,599,131
0
1
null
null
null
null
UTF-8
Python
false
false
3,859
py
# Copyright (c) 2013, Myme and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe def execute(filters=None): columns, data = [], [] columns = [] select_field = "" group_clause = "" order_clause = "" left_join = "" if filters.get("group_by") ==...
[ "bobzz.zone@gmail.com" ]
bobzz.zone@gmail.com
5cd5c23e6afd2f10efdc27cbbfc89a7c2f9d17d9
b5a31a9b0827232fb8efa2a56db90d396abbbcef
/Data Structures/Stack.py
84e9a0f480d06fa2389166dc1b9da774001d5e87
[]
no_license
Storiesbyharshit/Competetive-Coding
3a693b2b3193df6fea1b9bc3bbbbb2dfb79eecfd
722c216ee8931754eb7de0660d2aeb21544cf48b
refs/heads/master
2022-12-12T03:50:59.348383
2020-09-09T17:26:01
2020-09-09T17:26:01
281,312,841
2
2
null
2020-08-28T05:06:11
2020-07-21T06:20:05
Python
UTF-8
Python
false
false
326
py
class Stack: def __init__(self): self.stack = [] def isEmpty(self): return self.stack == [] def push(self, data): self.stack.append(data) def pop(self): data = self.stack[-1] del self.stack[-1] return data def peek(self): return self.stack[-1] def sizeStack(self): return len(self.s...
[ "noreply@github.com" ]
Storiesbyharshit.noreply@github.com
da7ce1aef3312b4041c16a690b5921d4eebe669f
c97b9ae1bf06757ba61f90905e4d9b9dd6498700
/venv/Lib/site-packages/shapely/algorithms/polylabel.py
2869a0ab011af07a9cb05229a701e2b1ba8fd562
[]
no_license
Rahulk1p/image-processor
f7ceee2e3f66d10b2889b937cdfd66a118df8b5d
385f172f7444bdbf361901108552a54979318a2d
refs/heads/main
2023-03-27T10:09:46.080935
2021-03-16T13:04:02
2021-03-16T13:04:02
348,115,443
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:597fdfa5049872301df5a7b2eaca0b4d5ce5dd97bdfc31f574663654b2341f22 size 4675
[ "rksc.k1p@gmail.com" ]
rksc.k1p@gmail.com
68989c58d3143706f0ff6d4c919e22855714c894
52389ba81fa5abe009b2dee5deb83fabe56982a8
/kgtk/cli/tail.py
bf327303d5eb480123f504ed88c4d47fdef28569
[ "MIT" ]
permissive
Qanu-survey/kgtk
4111a817bd81e9d48b0b0b421f733f2f25e45d7a
95024bfc61c12282c75d53d256115cdf41837f04
refs/heads/master
2023-09-01T03:17:34.712634
2021-10-23T00:30:45
2021-10-23T00:30:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,058
py
"""This utility is analogous to the POSIX 'tail' command. For "-n N", pass just the last N data edges of a KGTK input file to the KGTK output file. The POSIX 'tail' command's notion of '-n +N' is not supported. The header record, cotaining the column names, is always passed and is not included in N. Multiplier suf...
[ "rogers@isi.edu" ]
rogers@isi.edu
67fe1507b996d283661d40cca7f5ffaec7b9ad5c
1f006f0c7871fcde10986c4f5cec916f545afc9f
/apps/ice/plugins/required/plugin_auth_ldap_test.py
790563538a3ae1cca495208198b7d61596441ab3
[]
no_license
ptsefton/integrated-content-environment
248b8cd29b29e8989ec1a154dd373814742a38c1
c1d6b5a1bea3df4dde10cb582fb0da361dd747bc
refs/heads/master
2021-01-10T04:46:09.319989
2011-05-05T01:42:52
2011-05-05T01:42:52
36,273,470
0
0
null
null
null
null
UTF-8
Python
false
false
3,214
py
#!/usr/bin/env python # Copyright (C) 2007 Distance and e-Learning Centre, # University of Southern Queensland # # 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...
[ "raward@gmail.com@110e3293-9ef9-cb8f-f479-66bdb1942d05" ]
raward@gmail.com@110e3293-9ef9-cb8f-f479-66bdb1942d05
7b0151f365485c4c49e2ff58ec33293dc6a48996
eb99769b7c9e0eb1cf3b88878934a400ba42f0bf
/news/migrations/0002_favoriteitem.py
054ed15c2d05e485c9d310ce8e7432b2650c6d91
[]
no_license
Levalife/petsterr2.0
3657b200b9e236b81896f4ac104932e85517ceb3
43d20e65362596d72942fe624c29fd4f84d90f9a
refs/heads/master
2023-01-13T04:58:23.496527
2018-09-13T09:50:48
2018-09-13T09:50:48
203,134,329
0
0
null
2023-01-05T21:55:18
2019-08-19T08:48:32
Python
UTF-8
Python
false
false
1,358
py
# Generated by Django 2.0.6 on 2018-07-09 10:06 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('news', '0001_initial'), ...
[ "levushka14@gmail.com" ]
levushka14@gmail.com
94e03b2534aad88510168b1b286c1c69c38c9c59
7170e8a71c85bf88c43ae7524ffab25cf853b916
/awswrangler/__metadata__.py
b3ae6c0df2a77d84e65a606e7447b3fca0127a9e
[ "Apache-2.0" ]
permissive
ibanmarco/aws-data-wrangler
b18aa898e2c0f33f225c44cdebf11b25f6637f63
e99937296075c671e5f8a0998b430879c808687d
refs/heads/master
2022-12-29T21:18:18.351632
2020-10-19T19:13:58
2020-10-19T19:13:58
289,549,549
0
0
Apache-2.0
2020-10-19T19:13:59
2020-08-22T19:01:24
Python
UTF-8
Python
false
false
286
py
"""Metadata Module. Source repository: https://github.com/awslabs/aws-data-wrangler Documentation: https://aws-data-wrangler.readthedocs.io/ """ __title__: str = "awswrangler" __description__: str = "Pandas on AWS." __version__: str = "1.9.6" __license__: str = "Apache License 2.0"
[ "igorborgest@gmail.com" ]
igorborgest@gmail.com
280b193fda89b737c832f4360d1e6a627aa012db
d48b89048d4fe8f09d1fcc1702f89b195186e025
/portfolio/settings.py
1bc72b7660ac6fbed74985a0433e7bf586ff4454
[]
no_license
Aitodev/portfoliotestwithstudents
833e32f80afc5361204880031bdcbba3af580421
fb8e220bb504253ce47856ea46e1a28d3b6e46ef
refs/heads/master
2022-12-11T23:13:00.170658
2020-09-24T04:20:11
2020-09-24T04:20:11
298,162,892
0
0
null
null
null
null
UTF-8
Python
false
false
3,179
py
import os from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/ # SECURITY WARNING: keep the se...
[ "guruitcompany@gmail.com" ]
guruitcompany@gmail.com
4b61cdfe5342b7c9620f14ce0febe8663b51fffd
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/2t6NvMe27HtSmqC4F_9.py
5a367fa275b81bfe1cef01467c4a3e4dccdd6e0e
[]
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
1,153
py
""" Write three functions: 1. boolean_and 2. boolean_or 3. boolean_xor These functions should evaluate a list of `True` and `False` values, starting from the leftmost element and evaluating pairwise. ### Examples boolean_and([True, True, False, True]) ➞ False # [True, True, False, True] => [True, F...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
41f654ef6d53ddd5b0dd9ad92e5c7c59858f5527
741c5c70bf4a0adb05db6b0777c8d07e28eb9cf6
/lib/python3.4/site-packages/IPython/nbformat/v3/validator.py
bc037cce2b4a6337067ab018bbfd06fe6ddc9505
[]
no_license
andybp85/hyLittleSchemer
e686d2dc0f9067562367ea1173f275e8e2d2cb85
af5cb6adf6a196cc346aa7d14d7f9509e084c414
refs/heads/master
2021-01-19T07:48:31.309949
2015-01-04T00:57:30
2015-01-04T00:57:30
28,496,304
6
0
null
null
null
null
UTF-8
Python
false
false
2,786
py
from __future__ import print_function #!/usr/bin/env python # -*- coding: utf8 -*- import argparse import traceback import json from IPython.external.jsonschema import Draft3Validator, validate, ValidationError import IPython.external.jsonpointer as jsonpointer from IPython.utils.py3compat import iteritems def nbval...
[ "andy@youshallthrive.com" ]
andy@youshallthrive.com
101791f75248e23711a3f1cccf9fa0bdf8c2ba68
c4b8e1e09dedbccd37ca008ecaaca4438610bbaf
/google_or_tools/circuit.py
6b66df28031dfa54488a90ae0f6ab74b12c7d1e5
[ "MIT" ]
permissive
hakank/hakank
4806598b98cb36dd51b24b0ab688f52dadfe9626
c337aaf8187f15dcdc4d5b09cd2ed0dbdb2e72c2
refs/heads/master
2023-08-15T00:21:52.750270
2023-07-27T16:21:40
2023-07-27T16:21:40
11,933,517
336
97
MIT
2023-07-27T11:19:42
2013-08-06T20:12:10
JavaScript
UTF-8
Python
false
false
3,206
py
# Copyright 2010 Hakan Kjellerstrand hakank@gmail.com # # 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 ...
[ "hakank@gmail.com" ]
hakank@gmail.com
aa76d1630dc7831741c9ddd5d4369448e608559c
750f6d44fc8aa00a2011070af681936c53a6127e
/Question_11_20/q19.py
4702fdfae98fa1fe8953c0bd6c0cf364aa89eb71
[]
no_license
ryuseiasumo/Gazoshori100knock
2aab4bf625183e597a7e8401af4ec1dc67d334ad
71ae0ce1d712ae5979aa5be3d088290934e26369
refs/heads/master
2022-06-19T10:06:16.169369
2020-05-10T03:48:17
2020-05-10T03:48:17
254,810,301
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
import cv2 import sys sys.path.append("..") import numpy as np from Question_01_10.q2 import Gray def zero_padding(_img, K_size = 5): pad = K_size//2 out = np.pad(_img, ([pad,pad],[pad,pad]), "constant") return out def Log_fillter(_img, K_size = 5, sigma = 3): img = _img.copy() pad = K_size//2 ...
[ "ryusao5656@icloud.com" ]
ryusao5656@icloud.com
29c2efec1dab3982a89e48c821ee9c8b852062a3
f12f299984060186ad8422913ed591cac1fd918d
/miscellaneous/odd_even_jump.py
44b387b4c86d4f79aee8830bc8d895e058b8bb36
[]
no_license
pitikdmitry/leetcode
775f9163850dd5d6cdb971603c6fd4615c7f89d7
f82a36be6d8dcf842354d759bab98dd915173fd5
refs/heads/master
2023-01-23T23:42:01.568390
2020-12-07T09:03:45
2020-12-07T09:03:45
240,458,017
1
0
null
null
null
null
UTF-8
Python
false
false
3,812
py
''' You are given an integer array A. From some starting index, you can make a series of jumps. The (1st, 3rd, 5th, ...) jumps in the series are called odd numbered jumps, and the (2nd, 4th, 6th, ...) jumps in the series are called even numbered jumps. You may from index i jump forward to index j (with i < j) in the ...
[ "pitik.dmitry@mail.ru" ]
pitik.dmitry@mail.ru
5658fc51036576756e2e818068317ea39e8b4c02
fa5510464ba1573f41c94b4dd652fc684036beac
/FlaskURLShortener/main.py
f965c3e14b301c251cb9108cd21ff0bc8a3700e2
[]
no_license
AndrewErmakov/WebDevelopmentTraining
5371265f1737f929c454134a8ed032bdeda5e8ef
86aeab91157dab57be41b7a10b60535a39ea0a84
refs/heads/master
2023-05-11T06:43:14.422330
2021-06-27T18:56:13
2021-06-27T18:56:13
246,019,245
1
0
null
2023-05-01T22:52:00
2020-03-09T11:35:41
Python
UTF-8
Python
false
false
1,626
py
from flask import ( Flask, render_template, request, redirect, url_for, flash, abort, session, jsonify) import json import os.path app = Flask(__name__) app.secret_key = 'shtopor' @app.route('/') def index(): return render_template('index.html', codes=session.keys()) @app.r...
[ "andrew.67@list.ru" ]
andrew.67@list.ru
f509745a558fc1e998a4da4875a540a353adf7ab
afc677459e46635ceffccf60d1daf50e62694557
/ACME/transform/RandomScaling.py
e48ad04f0eca3ce1ef9b0a164f92ce91f4ee8876
[ "MIT" ]
permissive
mauriziokovacic/ACME
056b06da4bf66d89087fcfcbe0fd0a2e255d09f3
2615b66dd4addfd5c03d9d91a24c7da414294308
refs/heads/master
2020-05-23T23:40:06.667416
2020-01-10T14:42:01
2020-01-10T14:42:01
186,997,977
3
1
null
null
null
null
UTF-8
Python
false
false
821
py
import torch from ..utility.islist import * from ..math.normvec import * from .Transform import * class RandomScaling(Transform): def __init__(self, attr=['pos', 'norm']): super(RandomScaling, self).__init__() self.attr = attr if islist(attr) else [attr] def __eval__(self, x, *args, *...
[ "maurizio.kovacic@gmail.com" ]
maurizio.kovacic@gmail.com
71665b70d45138e620cfc606a18cb9ff5b7b5ff2
11f7207d5e7c1c6c3329f7ae9d4fa1507c806110
/test_faker_producer.py
c862e7e93684590ba0067889bc781f55559f764b
[]
no_license
gmdmgithub/pandas-playground
4a7a654a27acb0d14b442afdee6af22d67f64852
a24267ab6b79c2351e9220bd11e028a190df21c2
refs/heads/master
2022-12-09T20:26:55.233005
2019-10-07T15:02:38
2019-10-07T15:02:38
205,238,397
0
0
null
2022-12-08T06:36:42
2019-08-29T19:42:31
Python
UTF-8
Python
false
false
233
py
import unittest import faker_producer as fp class TestFakerProducer(unittest.TestCase): def test_first_name(self): self.assertIsNone(fp.first_name(None)) self.assertIsNotNone(fp.first_name('Alex'))
[ "gmika@interia.pl" ]
gmika@interia.pl
b370208f59708c4250a1eb9f3c929edf4c85b117
b4849ca0f38c29407a9a88007a7ecb11035851eb
/setup.py
011c251fcb84d42621397affd3b8ebe1d7cad831
[ "MIT" ]
permissive
qianshuqinghan/dicom2nifti
e85619051470d01f0db11deffa821edac2cf4c67
79ed535835bd3be003d27a03c119d3a1cb46a0ac
refs/heads/master
2020-04-01T03:58:12.176680
2018-10-11T17:39:24
2018-10-11T17:39:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
from distutils.core import setup from setuptools import find_packages version = '2.0.4' long_description = """ With this package you can convert dicom images to nifti files. There is support for most anatomical CT and MR data. For MR specifically there is support for most 4D data (like DTI and fMRI) """ setup( na...
[ "arne.brys@icometrix.com" ]
arne.brys@icometrix.com
9dabdb65c1ec3b2d7f17d7d6a72ad18da35458b0
93db77d922572c51678d68ca6c62b04b6be0d83a
/code/文本摘要/analyser.py
25beafdb91bb39225fe2bbf26ba06dd7d1bf7e70
[]
no_license
gmftbyGMFTBY/BITNLP
9b80900d9da39fa27fc1cbe25d7329b448e3fcf1
41ddcd4df1277ef429d70ddab8cde751cbecced0
refs/heads/master
2021-05-08T23:04:36.954316
2018-01-31T14:27:46
2018-01-31T14:27:46
114,972,685
2
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
#!/usr/bin/python3 # Author : GMFTBY # Time : 2017.1.23 ''' This script try to use the Edmundson Algorithm to analyse the result of the summary ''' import TFIDF def Edmundson(result, answer): # result 机器摘要 # answer 参考摘要 r_s = set(TFIDF.cut_by_sentence(result)) r_a = set(TFIDF.cut_by_sentence(an...
[ "18811371908@163.com" ]
18811371908@163.com
f7e3df9d2c601ce3a1dde43c93a654fc9db98c82
2a28a94fc8eb08961e76c61ab73889135153502b
/test/tests_file_controller.py
7790e78dace3fe43f4a65345c6179958af38d99a
[ "MIT" ]
permissive
aspose-cells-cloud/aspose-cells-cloud-python
45fc7e686b442302a29a8223e7dbddb71950438c
270d70ce7f8f3f2ecd9370b1dacfc4789293097e
refs/heads/master
2023-09-04T01:29:44.242037
2023-08-23T13:13:30
2023-08-23T13:13:30
123,092,364
6
5
null
null
null
null
UTF-8
Python
false
false
3,261
py
# coding: utf-8 from __future__ import absolute_import import os import sys import unittest import warnings ABSPATH = os.path.abspath(os.path.realpath(os.path.dirname(__file__)) + "/..") sys.path.append(ABSPATH) from asposecellscloud.rest import ApiException from asposecellscloud.apis.cells_api import CellsApi impo...
[ "roy.wang@aspose.com" ]
roy.wang@aspose.com
3bcf02b6585973dc6d8ead444f231a4e92e2c4c0
79030ecbe234e6906ec4925f0f816e626e30734a
/QQSpider2_new/mongo_temp.py
ac447a05a4be2424ae27873bddaef5746699b13b
[]
no_license
TSLNIHAOGIT/QQSpider
b6789e53aedb17e8f98c73ef83c15e7a1a6986d1
6f5c22e0ad0c22d193ec777e9dcb6294a2536934
refs/heads/master
2020-04-14T19:09:49.638777
2019-01-04T02:39:13
2019-01-04T02:39:13
164,047,349
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
from pymongo import MongoClient import datetime class MongoManager(object): def __init__(self, server_ip='localhost', client=None): print(server_ip) self.client = MongoClient(server_ip, 27017) if client is None else client # self.redis_client = redis.StrictRedis(host=server_ip, port=6379, d...
[ "2509072638@qq.com" ]
2509072638@qq.com
2440df8c04a8ff17110262f019f91d6b325a3e50
716abd9e5ba4b72b72cc5f724a6cc0a6ad4390d1
/8-Working with Python Modules/37-getpass-module.py
9b32db78d59efce0394ef03d7cefa784cd9b1224
[]
no_license
devopstasks/PythonScripting
ac45edd72dc134ec3539b962f02dfc866f365ecf
48bc37733ae6b3be4e2d64909ffe0962b6908518
refs/heads/master
2023-03-29T11:18:01.329452
2021-04-07T03:25:20
2021-04-07T03:25:20
350,388,744
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
''' ============================ getpass() prompts the usser for a password without echoing.The getpass module provides a secure way to handle the passsword prompts where program interact with the users via the terminal. getuser() function displays the login name of the user. This function checks the environment varia...
[ "rpadhan2015@gmail.com" ]
rpadhan2015@gmail.com
af02d32f9a6520f9d256420f9097e7778dad4acd
39689ee725bc7183d5d59fb34f7d2ffe5fd6ad36
/ABC_A/ABC142A.py
826ae07f226d78522817a44bd69684709a6e7e52
[]
no_license
yu5shi8/AtCoder
b6eb920a9046bdfa98012dd3fc65f75f16214ffe
f9ca69001ece8379e3a70c993c44b540f8be2217
refs/heads/master
2021-06-15T17:58:07.027699
2021-03-20T14:04:03
2021-03-20T14:04:03
177,757,053
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
# -*- coding: utf-8 -*- # A - Odds of Oddness # https://atcoder.jp/contests/abc142/tasks/abc142_a N = int(input()) if N % 2 != 0: num = N // 2 + 1 else: num = N // 2 ans = num / N print('{:.06f}'.format(ans)) # 21:00 - 21:05(AC)
[ "royal_unicorn411@hotmail.co.jp" ]
royal_unicorn411@hotmail.co.jp
ed8a4c0c136e477c942f8c3a86c55171d995ac60
d5be74d2de6fa0ded61d6c3ee7c91a403c0f90db
/tests/behave/features/steps/qrhei.py
d2b7556a64001e67f250b41cc98083845db657ff
[ "MIT" ]
permissive
tmancal74/quantarhei
43cf9d4be857b8e6db1274ebb8a384f1545cd9ad
fa3042d809005d47106e53609e6a63aa780c477c
refs/heads/master
2023-05-11T06:57:36.368595
2023-05-02T13:10:18
2023-05-02T13:10:18
63,804,925
20
22
MIT
2022-12-21T14:10:00
2016-07-20T18:30:25
Python
UTF-8
Python
false
false
1,870
py
""" Autogenerated by ghenerate script, part of Quantarhei http://github.com/tmancal74/quantarhei Tomas Mancal, tmancal74@gmai.com Generated on: 2018-06-06 15:00:05 Edit the functions below to give them desired functionality. In present version of `ghenerate`, no edits or replacements are ...
[ "tmancal74@gmail.com" ]
tmancal74@gmail.com
ba9ff63d687e7e07f7e50782cbf97d733c1fef07
f1a1e764c4ed1238c63c3f4908bd8bebdfb3197f
/opencv-starter/udemy/noise.py
731911a56b3499f4dbbc9b86c308053b60761107
[]
no_license
razmik/computer-vision-python
e4eadac1fae4fd0483189a23958ba7c794cbd68e
21f5557af9804fa01bcfddc085504678828c94ef
refs/heads/master
2021-01-25T06:35:55.600991
2017-06-13T01:40:59
2017-06-13T01:40:59
93,591,304
0
0
null
null
null
null
UTF-8
Python
false
false
3,281
py
import numpy as np import os from skimage.util import random_noise import matplotlib.pyplot as plt import scipy.misc import cv2 """ Parameters ---------- image : ndarray Input image data. Will be converted to float. mode : str One of the following strings, selecting the type of noise to add: 'gauss' G...
[ "razmik89@gmail.com" ]
razmik89@gmail.com
40c3c590320e9ad5cfb2362493d179d28943aeaa
510a042cc6ead9ee708a85e431bd5d271102da9c
/backend/admin/macro.py
759fe7ba7c87e9c15bbdb860994805de91adf74c
[ "MIT" ]
permissive
rushilsrivastava/flask-react-spa
8ad7683f9fc5a8fc2cbc551df6e135b82a8aef19
7cf45c92c0db411156fd6fd53c3febc84f81eba7
refs/heads/master
2022-11-17T19:03:16.447828
2020-07-18T22:44:52
2020-07-18T22:44:52
265,141,635
1
0
MIT
2020-05-19T04:12:11
2020-05-19T04:12:10
null
UTF-8
Python
false
false
691
py
def macro(name): """Replaces flask_admin.model.template.macro, adding support for using macros imported from another file For Example:: class FooAdmin(ModelAdmin): column_formatters = { 'col_name': macro('<macro_import_name_inside_template>.<macro_name>') } ...
[ "briancappello@gmail.com" ]
briancappello@gmail.com
27cdacfee09e4e1c2c9057af17e1eb5ef6004409
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/test/python/b63a17321b0865613f47eca68b65ccbb2894fa9erun.py
b63a17321b0865613f47eca68b65ccbb2894fa9e
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
1,027
py
"""myapp.py Usage: (window1)$ python myapp.py -l info (window2)$ python >>> from myapp import add >>> add.delay(16, 16).get() 32 You can also specify the app to use with celeryd:: $ celeryd -l info --app=myapp.celery """ import sys sys.path.insert(0,'lib') sys.path.insert(0, 'lib/celery') sys...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
4789e8cbb3ac096ea2f1fcca098891ef05488484
4e5141121d8b4015db233cbc71946ec3cfbe5fe6
/samples/basic/crud/models/cisco-ios-xr/Cisco-IOS-XR-ipv4-arp-cfg/nc-update-xr-ipv4-arp-cfg-10-ydk.py
8fa6211b688d0ec4c961bf8810acadbbe1a699e5
[ "Apache-2.0" ]
permissive
itbj/ydk-py-samples
898c6c9bad9d6f8072892300d42633d82ec38368
c5834091da0ebedbb11af7bbf780f268aad7040b
refs/heads/master
2022-11-20T17:44:58.844428
2020-07-25T06:18:02
2020-07-25T06:18:02
282,382,442
1
0
null
2020-07-25T06:04:51
2020-07-25T06:04:50
null
UTF-8
Python
false
false
2,663
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "saalvare@cisco.com" ]
saalvare@cisco.com
e05e89a8cc45a7fd835f8907cb25a8e9832090b9
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/ml/azure-ai-ml/azure/ai/ml/_utils/_storage_utils.py
abe32c22964c58192cf3d71b3014bfcb4b142c57
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-python-cwi", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", ...
permissive
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
8,103
py
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- import logging import re from typing import Optional, Tuple, Union from azure.ai.ml._artifacts._blob_storage_helper import BlobStorageClie...
[ "noreply@github.com" ]
Azure.noreply@github.com
74df06b01faeb3ebf08331a61bb0ae9a7f7e4705
2b0654193b3090b309a7ea6240fc57be01c0aa43
/xam/linear_model/auc_regressor.py
a4052bde26ea46ba09fbb8a0517cc1eb01753302
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Python-Repository-Hub/xam
86043af1cc9edd2c779ecb76e2ad5fe20044d3b0
93c066990d976c7d4d74b63fb6fb3254ee8d9b48
refs/heads/master
2022-04-07T11:33:10.455356
2020-02-04T20:38:45
2020-02-04T20:38:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
from functools import partial import scipy as sp from sklearn import linear_model from sklearn import metrics class AUCRegressor(): def _auc_loss(self, coef, X, y): fpr, tpr, _ = metrics.roc_curve(y, sp.dot(X, coef)) return -metrics.auc(fpr, tpr) def fit(self, X, y, verbose=False): ...
[ "maxhalford25@gmail.com" ]
maxhalford25@gmail.com
87288fea8165e3ccfadfccce0ad9128d031a9760
0644c03cc3f89b0fc22d9e548a2d06e6a594f1b4
/pabi_base/models/res_investment_structure.py
c3ed23de10b6fea7458a17f6f6a0e81a64860fa6
[]
no_license
phongyanon/pb2_addons
552fbf4cd904c81a1fd0ac5817dc1cf8f3377096
4c69002eeda2de8e806c8a168d8ba9f28527c8d2
refs/heads/master
2021-01-19T13:20:53.749866
2017-12-20T11:12:51
2017-12-20T11:12:51
97,184,424
0
0
null
2017-07-14T02:29:53
2017-07-14T02:29:52
null
UTF-8
Python
false
false
3,469
py
# -*- coding: utf-8 -*- from openerp import fields, models, api from openerp.addons.pabi_base.models.res_common import ResCommon CONSTRUCTION_PHASE = { '1-design': '1-Design', '2-control': '2-Control', '3-construct': '3-Construct', '4-procure': '4-Procurement', '5-other': '5-Others', } # Investme...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
667b89dec3e842d6015cbe4a72ffe366da95bcf0
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20161010/example_yaml/01cc.py
e9af9b204c556569002ac8f1244ad7c6ae27567b
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
2,719
py
SafeConstructor.add_constructor( 'tag:yaml.org,2002:null', SafeConstructor.construct_yaml_null) SafeConstructor.add_constructor( 'tag:yaml.org,2002:bool', SafeConstructor.construct_yaml_bool) SafeConstructor.add_constructor( 'tag:yaml.org,2002:int', SafeConstructor.cons...
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
4746f82e2d5ad8079a4557a45cd4a09eba253752
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-policyinsights/azure/mgmt/policyinsights/models/policy_definition_summary_py3.py
6ed5afbba2da97206e215dc580d8c25f7cbcb7ab
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,765
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
ac521f40077e998cd74f25609bde0b95df5e5258
8cdc63b549f5a7f1aca7b476a5a918e5c05e38c5
/app/account/authentication.py
8a8033971e3e0561994788b43e15e5dada3c0e08
[ "MIT" ]
permissive
rogeriopaulos/gep
984e3bcd8bd4569031577e1d28a8c47c6aace91f
e56fd0450bdb8f572e2e35cc59a74ab0f0b372e2
refs/heads/main
2023-08-14T08:41:19.558899
2021-09-15T02:51:46
2021-09-15T02:51:46
402,270,601
0
1
null
null
null
null
UTF-8
Python
false
false
536
py
# -*- coding: utf-8 -*- from django.contrib.auth.models import User class EmailAuthBackend(object): def authenticate(self, username=None, password=None): try: user = User.objects.get(email=username) if user.check_password(password): return user return ...
[ "rogeriopaulos@gmail.com" ]
rogeriopaulos@gmail.com
06ae159ec81acf80cbb7b8a38ccee9c9863f9f61
c22da67f4b1ac5e7fc28a9f81bf9fccefb33308e
/campus/mi/2019_fall_1.py
6ed4262c1b44d7c133b63eba4ff47ead975e8d70
[]
no_license
iamkissg/nowcoder
3b9d7ffffaba2c1ee43647595ae86619e2efb504
9b7e590d8f2e200d1ac98672d10f3ae9216a13e1
refs/heads/master
2020-05-04T10:35:55.606425
2020-04-28T12:49:52
2020-04-28T12:49:52
179,091,187
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
def is_huiwen(ll): len_ll = len(ll) if len_ll == 0: # 假定空链表是回文的 # raise ValueError('Empty input.') return True if len_ll == 1: return True for i in range(len_ll//2+1): if ll[i] != ll[len_ll-1-i]: return False else: return True ll = in...
[ "enginechen07@gmail.com" ]
enginechen07@gmail.com
93facca6d7d15082320c04bb9f392522ee8a120d
cf9103d28a1c09bd9d7aeffdb43e95961ae50f5d
/LSTM/data.py
00861d2151263c1a890e2879b64ba862b2e9ca6a
[]
no_license
AhmedSSoliman/NLP_models
d308993c07edb62809140952be304f222328b46c
c223d2398e55a6a87d45cf8c3ffed543a649bda4
refs/heads/master
2023-04-17T05:41:38.261185
2021-04-23T11:06:17
2021-04-23T11:06:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,978
py
import os import torch #from .tokenizer import tokenize from collections import defaultdict import logging from tqdm import tqdm #------------------------------------------------------------------------ from nltk.tokenize import sent_tokenize from nltk.tokenize import word_tokenize import os import re import inflect ...
[ "alexandre-pasquiou@orange.fr" ]
alexandre-pasquiou@orange.fr
d6bebea6f5eb3b2edc9a167664fd7feeb9a2d97a
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/Wicd/rev519-568/right-branch-568/wicd/backends/be-ip4network/wired/ui/gtkui.py
cdc56a51e6c38b0cc00182b964bced86b604f3bc
[]
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
459
py
import sys, os import logging sys.path.insert(0, os.path.abspath( os.path.join(os.path.dirname( os.path.realpath(__file__) ), '../..'))) logging.debug(sys.path[0]) from gtkuibase import ShortInterfaceUiBase sys.path.pop(0) class WiredShortInterfaceUi(ShortInterfaceUiBase): def _...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
15fd3e2083ed3d05dd57c9731f3d952acc1107d6
674e5072af9433f0f41d9520a260acf4ac4616f8
/mysite/mysite/views.py
ef985e7f90c71c47ff414656b28b0326f0966563
[]
no_license
dh-linux/eg_django
0446b62e2a691951ae7de30bfd3e2d1b526dd112
ed225eedc50255303a8305b667c5f57ec367ae71
refs/heads/master
2021-04-15T03:33:38.693205
2016-08-03T09:08:53
2016-08-03T09:08:53
64,833,308
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
from django.http import HttpResponse from django.shortcuts import render_to_response, render def search_form(request): return render_to_response('search_form.html') def search(request): if 'q' in request.GET: message = 'You search : %s' % request.GET['q'] else: message = 'You submitted an empty form.' return ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
9fe28abefb259f74efd5f4ae8626643f992ca4fd
60ca69e2a4c6b05e6df44007fd9e4a4ed4425f14
/beginner_contest/165/B.py
1933a54f16ef1d57c4ed38dcabb1ebdb098de06d
[ "MIT" ]
permissive
FGtatsuro/myatcoder
12a9daafc88efbb60fc0cd8840e594500fc3ee55
25a3123be6a6311e7d1c25394987de3e35575ff4
refs/heads/master
2021-06-13T15:24:07.906742
2021-05-16T11:47:09
2021-05-16T11:47:09
195,441,531
0
0
MIT
2021-05-16T11:47:10
2019-07-05T16:47:58
Python
UTF-8
Python
false
false
210
py
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) x = int(input()) year = 1 total = 100 while True: total = int(total * 1.01) if total >= x: break year += 1 print(year)
[ "204491+FGtatsuro@users.noreply.github.com" ]
204491+FGtatsuro@users.noreply.github.com
02662542389abbb0e92a4e8e6133371ba0804813
41209325da09107de74e5864821e7e429f16df6b
/h2o-py/tests/testdir_demos/notebooks/pyunit_prep_airlines.py
2392e0832111bebbb52d2087ddd2c48f25f9a74b
[ "Apache-2.0" ]
permissive
Sam7/h2o-3
8719fdced9f738db95f525165806dd7e585c53c6
c107d383ea4e201eea6e3e30129ed3d2748d6e61
refs/heads/master
2021-01-18T06:49:02.662728
2015-08-04T03:28:38
2015-08-04T03:28:38
40,160,767
0
0
null
2015-08-04T03:14:37
2015-08-04T03:14:37
null
UTF-8
Python
false
false
342
py
import sys sys.path.insert(1, "../../../") import h2o def prep_airlines(ip,port): # Connect to a pre-existing cluster h2o.init(ip,port) # execute ipython notebook h2o.ipy_notebook_exec(h2o.locate("h2o-py/demos/prep_airlines.ipynb"),save_and_norun=False) if __name__ == "__main__": h2o.run_test(sys...
[ "eric.eckstrand@gmail.com" ]
eric.eckstrand@gmail.com
66f954f76279951de08e260c1e5652866f7842e0
b3879bc761ac38dab903da57c4061ad79fd70c6d
/курсы пайтон модуль 4/задание 26.py
2b39f54e860189efac740823746dfecbc9b1c91b
[]
no_license
Ruslan5252/all-of-my-projects-byPyCharm
4df70cc3a31c4a5d97560fa858a706edcc856299
817d5f711408590ea141590ae52c6d888dfa2015
refs/heads/master
2023-05-03T01:06:30.156731
2021-05-29T13:51:16
2021-05-29T13:51:16
371,970,160
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
n = int(input("Введите количество элементов массива = ")) b = [] m="" sum = 0 count = 0 for i in range(n): a = int(input("введите число = ")) b.append(a) print(b) m=int(input("введите число m = ")) for i in b: if i>m: count+=1 sum+=i aver=sum/count print(aver)
[ "r.u.s_2000@mail.ru" ]
r.u.s_2000@mail.ru
3e54db497d49da0138de012bb12ff3abbe2a31b7
08401cff6a54ca358d3d563c0cbc1acf26e9960d
/Simulation_Tool/New_SimulationEnvironment_Ladybug/Sensitivity/SensitivityEnvelopAnnual.py
99fc1eb259284e048e510c5edccd8aab1fe972b9
[]
no_license
architecture-building-systems/ASF_Simulation
5f55ba474a06d48e4e629db77e794874cc376d44
8cabb20da689f61891966dfa5d15cc82771050d3
refs/heads/main
2022-10-28T08:27:10.781156
2022-10-03T19:19:19
2022-10-03T19:19:19
46,800,943
9
3
null
2022-10-03T19:19:20
2015-11-24T15:36:58
HTML
UTF-8
Python
false
false
6,604
py
""" Created on March 20 2017 @author: Prageeth Jayathissa """ import unittest import os import sys import pandas as pd import time import numpy as np from j_paths import PATHS paths = PATHS() sys.path.insert(0, paths['5R1C_ISO_simulator']) sys.path.insert(0, paths['main']) from SimulationClass import ASF_Simulatio...
[ "p.jayathissa@gmail.com" ]
p.jayathissa@gmail.com
2317d058180aaf1d421414b1a7f8fef85d9d7ffc
fe9573bad2f6452ad3e2e64539361b8bc92c1030
/Assignment/data_analysis/proving_fairness.py
f22b4ba82046ae8cb0861fd1f78fe43ddc168c11
[]
no_license
OceanicSix/Python_program
e74c593e2e360ae22a52371af6514fcad0e8f41f
2716646ce02db00306b475bad97105b260b6cd75
refs/heads/master
2022-01-25T16:59:31.212507
2022-01-09T02:01:58
2022-01-09T02:01:58
149,686,276
1
2
null
null
null
null
UTF-8
Python
false
false
132
py
from card_analyze import Card_analysis #create a deck with 4 suits in it a=Card_analysis(4) #show the diagram a.draw_average_value()
[ "byan0007@student.monash.edu" ]
byan0007@student.monash.edu
d459d0fd5da7c1b4733bab84227575675b742b81
3a8110706a67e111305a943ab7590d94782b0f6a
/temp_file.py
32a89fc94f6b8f71abd85a5d234030af2d27d891
[]
no_license
pawwahn/python_practice
41fac14f7107fd8f7c8a33fa7e09561f24bf9376
9e6564582abeb9f65c95de86121199939d0ee388
refs/heads/master
2022-10-04T10:32:49.952690
2022-09-15T09:43:18
2022-09-15T09:43:18
223,134,205
1
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
text = 'asd sdhosa afo hasdfoi fasd ' pattern = 'afo' def KnuthMorrisPratt(text, pattern): '''Yields all starting positions of copies of the pattern in the text. Calling conventions are similar to string.find, but its arguments can be lists or iterators, not just strings, it returns all matches, not just ...
[ "pavan.skt@gmail.com" ]
pavan.skt@gmail.com
a5256482ac3f5b173c2f34566009130210b5e73d
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/arc/arc044/D/answers/693063_tnk0812.py
808ab63297d877c466eb4ff8d1c1b5f6b9ceab7a
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
def main(): R = 10**9+7 N = int(input()) a = list(map(int, input().split(" "))) if a[0] != 0: return 0 amax = max(a) h = [0] * (amax+1) for i in a: h[i] += 1 if h[0] != 1: return 0 ans = 1 b = 1 for i in h[1:]: if i == 0: return ...
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
339ee1a6ae6f55d7ed98ae1c6906e31fd243914d
91438802ee114b2fb945aae4105a17993dd6953d
/build/learning_ros_noetic/Part_1/example_ros_service/catkin_generated/pkg.installspace.context.pc.py
f8ed8bfecc5e6967674ef6da63cd664c6b2eeaca
[]
no_license
AlexLam616/Baxter-robot
3a4cef31fe46da0fdb23c0e3b5808d84b412d037
d10fdcd35f29427ca14bb75f14fa9c64af3b028c
refs/heads/master
2023-05-12T01:25:56.454549
2021-05-25T02:02:09
2021-05-25T02:02:09
367,070,028
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include".split(';') if "${prefix}/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;std_msgs;nav_msgs;geometry_msgs;message_runtime".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX =...
[ "1155135145@link.cuhk.edu.hk" ]
1155135145@link.cuhk.edu.hk
ac99a5886f3a2a1b61a3b4229237a77c3f47b84d
c7014b5d347d63db9293260173642e41a3c73ccc
/.history/bacalab/settings/production_20190521163656.py
b2c5a0106006969ed89b327922ea11aafcd1ea18
[]
no_license
helder-a-reis/bacalab
6f03d218d6234fc656814f443afecf9b28f67e59
2b34c9ff6f303561d7b787d766d6f20d849bc3f1
refs/heads/master
2023-04-27T09:52:29.493627
2019-06-13T14:06:38
2019-06-13T14:06:38
171,745,411
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
from .base import * import django_heroku ALLOWED_HOSTS = ['bacalab.herokuapp.com'] # Database # https://docs.djangoproject.com/en/2.2/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'bacalab', 'USER': os.environ.get('DB_USER'), ...
[ "helderreis78@gmail.com" ]
helderreis78@gmail.com
ec626dc70cae86ce5e4964a304e8be838b6eefa0
8ce656578e04369cea75c81b529b977fb1d58d94
/bank_guarantee/management/commands/export_bank_config.py
c52f95d875669bff83d718689ce7e6d95ae76981
[]
no_license
JJvzd/django_exp
f9a08c40a6a7535777a8b5005daafe581d8fe1dc
b1df4681e67aad49a1ce6426682df66b81465cb6
refs/heads/master
2023-05-31T13:21:24.178394
2021-06-22T10:19:43
2021-06-22T10:19:43
379,227,324
0
0
null
null
null
null
UTF-8
Python
false
false
2,898
py
from django.core.management import BaseCommand from bank_guarantee.models import RequestPrintForm, OfferPrintForm from clients.models import Bank class Command(BaseCommand): """ команда в процессе разработки """ help = 'Экспортирует конфиг банка по коду банка' def add_arguments(self, parser): pa...
[ "javad@MacBook-Pro-Namig.local" ]
javad@MacBook-Pro-Namig.local
7fad11fabe4b33ddbf34788cfb4383664f2e3679
298266f026dd1762f4469f3b1343d0fbde51076c
/core/environnement/base/order_n_price_managment.py
1a3c681f97e27bcec4209428ba0883e1b93e1b2c
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
elvis121193/TradzQAI
721f7e57cfb9fc1014fc0f7dc4936f9fe6978b43
5cb8775833cb438e7e57a676702d05ab1733edb6
refs/heads/master
2020-04-01T20:46:49.304246
2018-10-08T10:52:11
2018-10-08T10:52:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,937
py
import time class onpm(object): def __init__(self): self.orders = [] self.order_number = 0 self.decay = 0.01 self.max_pip_diff = 5 def bestPriceFunc(self, bids, asks, order, side, tid): id = tid if not tid: id = self.order_number self.o...
[ "awakeproduction@hotmail.fr" ]
awakeproduction@hotmail.fr
40e5c01b7b17b21b34690cf16d24daa0d37bb3b8
023763d9f86116381f5765c51fb8b403e8eef527
/BootCamp_easy/agc012_a.py
c741541fb1fcb7ee964e0dfb2106f92bccd6d35c
[]
no_license
Hilary02/atcoder
d45589682159c0f838561fc7d0bd25f0828e578b
879c74f3acc7befce75abd10abf1ab43967fc3c7
refs/heads/master
2021-07-18T11:34:22.702502
2021-07-11T09:04:12
2021-07-11T09:04:12
144,648,001
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
n = int(input()) la = [int(w) for w in input().split()] la.sort() ans = 0 for i in range(1, n+1): ans += la[-2 * i] print(ans)
[ "c011605154@edu.teu.ac.jp" ]
c011605154@edu.teu.ac.jp
9c5152d4fff88be75490b75d261de4694934beb3
4fc016459e4c78680c61488c771eb6b7eb20d5fe
/Python-Algorithms-DataStructure/src/leet/166_FractiontoRecurringDecimal.py
b2a0d7150c268c7ce26934a19ec65bceec14faa7
[]
no_license
coremedy/Python-Algorithms-DataStructure
7c318de68fd9694377a0a4369d8dbeb49e1e17aa
3873502679a5def6af4be03028542f07d059d1a9
refs/heads/master
2021-01-25T07:34:17.714241
2015-11-05T10:17:40
2015-11-05T10:17:40
27,949,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,209
py
''' Created on 2015-08-30 ''' class Solution(object): def fractionToDecimal(self, numerator, denominator): """ :type numerator: int :type denominator: int :rtype: str """ if denominator == 0: return None sign, numerator, denominator =...
[ "coremedy@hotmail.com" ]
coremedy@hotmail.com
6f00a953f4fa99d16d0061f0dbc1fd5347fbf9e6
8e6005ff82a6b37b8c4e2a2fed5791323837d316
/RecoBTag/SoftLepton/python/softElectronES_cfi.py
52068ce86695633b8718d2cac44ad50b5f882ba5
[]
no_license
CMSRA2Tau/gurrola-sl5-on-sl6
633050a5ec5fd1a81a15c2e1dcf6b4952b718a9e
f56a99cd7121bcbdf301c2bea9fe397a6b9ef6a1
refs/heads/master
2020-04-15T06:13:09.462508
2014-12-17T17:57:01
2014-12-17T17:57:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
import FWCore.ParameterSet.Config as cms softElectron = cms.ESProducer("ElectronTaggerESProducer", ipSign = cms.string("any") )
[ "andrew.m.melo@vanderbilt.edu" ]
andrew.m.melo@vanderbilt.edu
8fac7d928bc84de65246152f01be74062f5b0855
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v6/googleads-py/google/ads/googleads/v6/errors/types/shared_set_error.py
43a227580d39ce496d5ef5f7db138a54ebe3bf91
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
2abdd38dea5b5bf0ea675c26ada1586f3d849381
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03439/s570157916.py
2dd9d9548f62cf052083d4afa720b0e4796ac96b
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
n = int(input()) print(0) L = R = input() if L == "Vacant": exit() l = 0 r = n while True: m = (l + r) // 2 print(m) M = input() if M == "Vacant": exit() if (M == L) ^ ((m - l) % 2 == 1): l = m L = M else: r = m R = M
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d338b9ceafda5116c1882198fe560b051f6d981b
0061ed492e5c566c8b4c9bfef7218b79518803f2
/python/generate-syllables.py
8e2321abfb9f6341eebf9f438f4197141b7447dc
[ "CC-BY-4.0" ]
permissive
oneoffcoder/rpa
4c04e811d22ec28fda17410be21100f27cc56aeb
cb0401e0c38652f998ca1b3bfe49d2084a279be7
refs/heads/master
2021-08-04T14:30:10.344198
2021-07-23T19:11:59
2021-07-23T19:11:59
225,539,119
11
0
null
null
null
null
UTF-8
Python
false
false
773
py
import itertools C = """ c, d, f, h, k, l, m, n, p, q, r, s, t, v, x, y, z, ch, dh, hl, hm, hn, kh, ml, nc, nk, np, nq, nr, nt, ny, ph, pl, qh, rh, th, ts, tx, xy, hml, hny, nch, nkh, nph, npl, nqh, nrh, nth, nts, ntx, plh, tsh, txh, nplh, ntsh, ntxh """.strip() V = """ a, e, i, o, u, w, ai, au, aw, ee, ia, oo, ua "...
[ "vangjee@gmail.com" ]
vangjee@gmail.com
7d5c1b44ad5a8a64637df9196e677c4996b7dde8
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/pybites/advanced/2_v3/regex.py
274f3408853cc0593272182183e8fe7bd31963bf
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,621
py
# _______ __ # ____ pp__ _______ pp__ # # COURSE ('Introduction 1 Lecture 01:47' # 'The Basics 4 Lectures 32:03' # 'Getting Technical! 4 Lectures 41:51' # 'Challenge 2 Lectures 27:48' # 'Afterword 1 Lecture 05:02') # TWEET ('New PyBites article: Module of the Week - Requests-cac...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
666f8021d9d99254a7a69fb2f55c76a50c261736
9d29861e44389e02762e6eb0457c6a415a54e26c
/samples/cloud_monitoring/util.py
4a83bb03cbb3e7051ea9b5ba34375c07d307ea8c
[ "MIT" ]
permissive
itsmemattchung/pyrax
e787d67f8a79036834575f951f8c9e81d64d8b8f
e8eff127a5c9b6e64a9a42593d5e889c3c03f81d
refs/heads/master
2021-01-18T10:14:31.752469
2015-05-16T16:44:35
2015-05-16T16:44:35
21,360,598
0
0
null
null
null
null
UTF-8
Python
false
false
1,694
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c)2013 Rackspace US, Inc. # 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.ap...
[ "ed@leafe.com" ]
ed@leafe.com
91ffe969a51f4efe6edb0ebab8465bbed5120892
bb35185816208aaeb73016b7380e01a2d6b86278
/lists/migrations/0003_list.py
a52176c79813f19f0b541d426d089bd9720f86e7
[]
no_license
the-fool/goat_driven_development
fa70dee5dc4dd48180ff6b5302e6ef966f2e207a
0d55ca75e29b4a90c4e54500df88c4b23854ab81
refs/heads/master
2021-01-10T02:32:16.947425
2016-02-15T17:25:37
2016-02-15T17:25:37
51,492,427
1
0
null
null
null
null
UTF-8
Python
false
false
505
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-12 16:08 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lists', '0002_item_text'), ] operations = [ migrations.CreateModel( ...
[ "sketchbang@gmail.com" ]
sketchbang@gmail.com
df3ff938a6aae98b752d7f465f52fbbab2f796c3
78d949674cd1e6261ee23372e6ff24897ba6bc9a
/user/migrations/0076_auto_20190310_0610.py
b9c330c739a0bf271a6f0b0cb827de029ff57fad
[]
no_license
Aravindhan-M/first_project
60377a65dec777ce6a55a57358dccb96ef6c396d
68f5815aa7a7d7fa695bb753b5312f66bb201fe1
refs/heads/master
2022-12-14T11:23:56.782700
2019-08-09T09:53:17
2019-08-09T09:53:17
185,782,547
2
0
null
2022-12-08T01:45:24
2019-05-09T11:02:59
Python
UTF-8
Python
false
false
415
py
# Generated by Django 2.1.5 on 2019-03-10 03:10 from django.db import migrations import user.managers class Migration(migrations.Migration): dependencies = [ ('user', '0075_merge_20190310_0257'), ] operations = [ migrations.AlterModelManagers( name='user', manage...
[ "aravindhan@sayonetech.com" ]
aravindhan@sayonetech.com
cd254179e403b8ca9bffcc103ef4ccd10d84811c
75452de12ec9eea346e3b9c7789ac0abf3eb1d73
/scripts/fuzzing/test/factory_fake.py
629dfd2ea6fcc8d2db3e8661a32834b1072f5f8b
[ "BSD-3-Clause" ]
permissive
oshunter/fuchsia
c9285cc8c14be067b80246e701434bbef4d606d1
2196fc8c176d01969466b97bba3f31ec55f7767b
refs/heads/master
2022-12-22T11:30:15.486382
2020-08-16T03:41:23
2020-08-16T03:41:23
287,920,017
2
2
BSD-3-Clause
2022-12-16T03:30:27
2020-08-16T10:18:30
C++
UTF-8
Python
false
false
3,616
py
#!/usr/bin/env python2.7 # Copyright 2020 The Fuchsia Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import sys import test_env from lib.factory import Factory from host_fake import FakeHost from lib.buildenv import BuildEnv from lib...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
1bbb76b0c9c1c2dacf2770af4281dbfd3e6218a5
eee0b990f4b09c3418d9fdce6ef733cf6df99fc8
/ansible_fsm/merge.py
35069b8bbf7978681723f9d604514aa3a57bb7d4
[ "Apache-2.0" ]
permissive
benthomasson/ansible-fsm
6a463339e9ca82fbf3bf36c09b5a978baba1ba5a
fc82655c66040bfee1bb3b9defb1c93fbb0d0f97
refs/heads/master
2020-04-08T19:55:59.943230
2019-01-30T13:39:36
2019-01-30T13:39:36
159,676,903
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
from collections import OrderedDict from pprint import pprint def _merge_list_of_named_items(merged, a, b, sub_merge_fn): """ Merge two lists by merging items with the same name. """ a_items = {x['name']: x for x in a} b_items = OrderedDict() for item_b in b: b_items[item_b['name']] =...
[ "bthomass@redhat.com" ]
bthomass@redhat.com
7f66c61d3053bbfe625c83c90d9fc0a051416dfb
3947a6283fd42413dcf68aa3133a13208d17c50e
/FinderTemplate.py
82d5d398b427b344db5ae7652429abc8c2a2a516
[]
no_license
Mystified131/FindingStrings
2d60ac114303c7ebdf54b43a1fecc86fb768228c
8d3a91957d66c4760818279e99c7579565c19cf0
refs/heads/master
2020-05-20T15:55:08.417673
2019-05-13T14:49:28
2019-05-13T14:49:28
185,654,392
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
#This code imports the modules import re import requests #This code retrieves a blob of text from the remote target page = requests.get("http://www.thomasparksolutions.com").text #This code makes a list of the substrings sought #Replace the string Python with your desired regex results = re.findall('(Thomas)',page)...
[ "mystifiedthomas@gmail.com" ]
mystifiedthomas@gmail.com
7bceaa84866c21708fd5eef20d623749a08a1709
46e57ccd746256fa4e471e53d8c24ce285635f50
/专题训练/数组/中等/3sum Closest.py
709fa3231efcccf5eb486141b9cdf79c39ec31f7
[]
no_license
sandwu/leetcode_problems
6aea1f1837f5a8cfebc8f9c4cd8863081dfabb87
b99ef39268c5713fae3dbbf0a5548ec1f5a7e434
refs/heads/master
2021-08-16T15:48:05.412320
2020-04-26T07:04:10
2020-04-26T07:04:10
168,446,663
1
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
class Solution(object): """ 和15题的思路差不多,利用先求得三者的和,然后进行与target最小值的判断,保持当前最小值sum1,然后逐步推进数组,直到l>=r,所以是个O(n^2) Runtime: 72 ms, faster than 75.37% of Python online submissions for 3Sum Closest. Memory Usage: 11 MB, less than 100.00% of Python online submissions for 3Sum Closest. """ def threeSumClose...
[ "wuxinlingwxl@163.com" ]
wuxinlingwxl@163.com
e6507917417689eff40a169e51c981fd54ab8bd0
63eb05febaac75f781a266d48d1cfff2debe64ea
/the_tale/game/bills/tests/test_building_destroy.py
3062c4ba21cf15e1d64eaa62978d2dd74b318cee
[ "BSD-2-Clause-Views" ]
permissive
MadRiw/the-tale
185ca33e410a59de63a594daf15fc8a5701338d2
1801beab2ed149556c0b3380e8adaaa976f74e6c
refs/heads/master
2021-01-15T23:45:34.873857
2015-06-17T13:06:12
2015-06-17T13:06:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,269
py
# coding: utf-8 import mock import datetime from the_tale.game import names from the_tale.game.map.places.models import Building from the_tale.game.map.places.prototypes import BuildingPrototype from the_tale.game.map.places.storage import buildings_storage from the_tale.game.map.places.relations import BUILDING_STA...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
77f81016ce59e4a6cc2945653f32bd7d8102a644
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02862/s826059466.py
e92f0b2b83b7a167580486ae93c9f6ca0120f581
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
import sys # N = int(input()) X, Y = [int(i) for i in input().split()] def cmb(n, r, mod): if ( r<0 or r>n ): return 0 r = min(r, n-r) return g1[n] * g2[r] * g2[n-r] % mod mod = 10**9+7 #出力の制限 N = 10**6 g1 = [1, 1] # 元テーブル g2 = [1, 1] #逆元テーブル inverse = [0, 1] #逆元テーブル計算用テーブル for i in range( 2, N + ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c50b7650fc3230e08546d4b0bde6a864e55bb463
e341bc45e2b889ae5f88576e6ef7c3e9c84a9f60
/dojo/a/Python_OOP_Slack/Python_OOP/Human/server.py
8c4b6aecd0d364dde3c270cacc0b19c2498b5d87
[]
no_license
jhflorey/Web_Automation_Framework
8efb5b91a9b4ef01f2c8bde0856ea8e85467ca1d
41bc124d3eaf2985667afa399e4789c26de8744a
refs/heads/master
2021-01-25T07:54:47.907619
2017-06-09T00:34:03
2017-06-09T00:34:03
93,682,430
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
import random class Human(object): def __init__(self, clan=None): print 'New Human!!!' self.health = 100 self.clan = clan self.strength = 3 self.intelligence = 3 self.stealth = 3 def taunt(self): print "You want a piece of me?" michael = Human() michael.taunt() def attack(self)...
[ "jhflorey@gmail.com" ]
jhflorey@gmail.com
24d8aaf428c14575bceaaa1eb0d3fc8997296484
902facd06f1f37f2a65a8e5c1b1a208a5429fba3
/buildout-cache/eggs/collective.carousel-1.7-py2.7.egg/collective/carousel/tests/test_portlet.py
fc410d96dddb0797ded993e4d974bf2cf356cea6
[]
no_license
Vinsurya/Plone
8366e57383da90b61aea82ab08a90415d753a15b
55e273528cd5db4bbd1929a23ef74c3d873ec690
refs/heads/master
2021-01-19T18:55:48.515216
2015-05-12T16:10:08
2015-05-12T16:10:08
33,325,981
0
0
null
null
null
null
UTF-8
Python
false
false
7,484
py
# Carousel is rendered through a viewlet in IAboveContent # using items provided by the carousel provider added to the context from collective.carousel.portlets import carousel from collective.carousel.tests.base import TestCase from plone.app.portlets.storage import PortletAssignmentMapping from plone.portlets.interfa...
[ "sdnlab@sdnlab.incntre.iu.edu" ]
sdnlab@sdnlab.incntre.iu.edu
a3f6e118f74a61067ad87c807459fdbef492e5fd
118704d5cc395019a3afb2aa74e8dc87da7fb8ba
/errorhandles.py
f955ef33c1a989108c2f66122c20a5f7382e1771
[]
no_license
daniemart5/PythangMan
a2a0eb546b9ce824009da796bccc5b63ca550d15
7a957f7218b9053306fd99eef91aa8e2c57ae8b8
refs/heads/master
2020-09-02T10:58:08.912103
2019-11-15T19:09:20
2019-11-15T19:09:20
219,206,382
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
try: age = int(input('Age: ')) income = 20000 risk = income / age print(age) except ZeroDivisionError: print("Age must be higher than 0") except ValueError: print('Invalid value')
[ "github email address" ]
github email address
f015df5f2e90e880e6be266068df95216321a9fa
4a42a8b32e2a79d598981141961396a6c2d625d2
/dialogbot/views.py
4d330c7a654e98a887491229c0105f322d53c20d
[]
no_license
sgmagar/DialogSlackBot
e851b2c44a11fd56b80c74e15b3dfb8fb8f74d22
89fddbacf58e6c8cf45d95d86411fd0668640c77
refs/heads/master
2022-12-15T22:46:53.536518
2018-07-08T04:03:41
2018-07-08T04:03:41
138,411,634
0
2
null
2022-12-08T02:13:27
2018-06-23T15:19:34
Python
UTF-8
Python
false
false
4,922
py
import json import logging from urllib.parse import urlencode import os import requests from django.http import HttpResponse, JsonResponse from django.views import View from django.views.generic import TemplateView from slackclient import SlackClient from dialogbot.models import Team, Category from .mixins import Sl...
[ "sp.gharti@gmail.com" ]
sp.gharti@gmail.com
f9dcccc861d7d82429d1611cba13efbfed9c30d5
309ac0cd757422b77e2bd820205fcafd11216bc9
/src/feature/BOB.py
47be42cf04e31d7c9a3a4d911e57ef4b855d3cd2
[ "Apache-2.0" ]
permissive
jainal09/speaker-recognition
024722fc16c60833a20529fdd9d651ee607ba9d3
53b0b5a3a7d6134e9bf21dfa4c1a7519b8e3389f
refs/heads/master
2020-09-04T17:28:46.365993
2019-11-05T19:16:03
2019-11-05T19:16:03
219,831,541
0
0
Apache-2.0
2019-11-05T19:15:33
2019-11-05T19:15:32
null
UTF-8
Python
false
false
993
py
#!/usr/bin/env python2 # -*- coding: UTF-8 -*- # File: BOB.py # Date: Wed Oct 29 22:38:35 2014 +0800 # Author: Yuxin Wu <ppwwyyxxc@gmail.com> from utils import cached_func, diff_feature import bob import bob.ap import numpy @cached_func def get_bob_extractor(fs, win_length_ms=32, win_shift_ms=16, ...
[ "ppwwyyxxc@gmail.com" ]
ppwwyyxxc@gmail.com
e814636b3b0b7fc2d863355d0f65f5daf9722c50
482ec3480e8418dda62f85a5359e70c89256f1a8
/pythonTutorial/drf_tutorial/quickstart/views.py
ca61c5364c666436720a5e36e5a295b7ce045e48
[]
no_license
rajatgirotra/study
84d319968f31f78798a56362546f21d22abd7ae7
acbb6d21a8182feabcb3329e17c76ac3af375255
refs/heads/master
2023-09-01T20:48:31.137541
2023-08-29T01:41:17
2023-08-29T01:41:17
85,041,241
6
1
null
2023-05-01T19:25:38
2017-03-15T07:17:24
C++
UTF-8
Python
false
false
602
py
from django.shortcuts import render from django.contrib.auth.models import User, Group from rest_framework import viewsets from .serializers import UserSerializer, GroupSerializer # Create your views here. class UserViewSet(viewsets.ModelViewSet): """ API Endpoint that allows users to be viewed and edited. """ ...
[ "rajatgirotra@yahoo.com" ]
rajatgirotra@yahoo.com
e0055c8917f50e0204eac439448028eb2c6d46c9
d05c946e345baa67e7894ee33ca21e24b8d26028
/web-scraping/pdf-url-extractor/pdf_link_extractor.py
f8ba7423e404f066582b76bc2e587b76fac36a74
[ "MIT" ]
permissive
x4nth055/pythoncode-tutorials
327255550812f84149841d56f2d13eaa84efd42e
d6ba5d672f7060ba88384db5910efab1768c7230
refs/heads/master
2023-09-01T02:36:58.442748
2023-08-19T14:04:34
2023-08-19T14:04:34
199,449,624
1,858
2,055
MIT
2023-08-25T20:41:56
2019-07-29T12:35:40
Jupyter Notebook
UTF-8
Python
false
false
412
py
import pikepdf # pip3 install pikepdf file = "1810.04805.pdf" # file = "1710.05006.pdf" pdf_file = pikepdf.Pdf.open(file) urls = [] # iterate over PDF pages for page in pdf_file.pages: for annots in page.get("/Annots"): uri = annots.get("/A").get("/URI") if uri is not None: print("[+] U...
[ "fullclip@protonmail.com" ]
fullclip@protonmail.com
397adeb4b7a56622f5af0d2c042b01dd33be81de
14d8e090d540a2947ba71038390078d7783ff510
/update/models.py
dabb8836578ee1835bce4b488ea09814ea5103b0
[]
no_license
BrutyLi/osupf
657d61c7e8e8711e50006944bfd675cb39bddedc
5dc218a05a980755ea218bd5e4b3189096a68c71
refs/heads/master
2021-01-25T12:52:59.625225
2018-03-02T02:34:13
2018-03-02T02:34:13
123,520,320
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
from django.db import models # Create your models here. class hostInfo(models.Model): hname=models.CharField(max_length=32,verbose_name='描述',blank=True) hip=models.GenericIPAddressField(verbose_name='IPadd') hcpu=models.CharField(max_length=8,verbose_name='cpu',) hdisk=models.CharField(max_length=16,...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
f1eb78fa9b327850db28fbb286357a8dd27b0ee2
747febe786dd6b7fd6c63cfe73dbe3023354daa8
/src/the_tale/the_tale/statistics/models.py
d416b459decf2bdf77f76b382d9135e4eca0ee66
[ "BSD-3-Clause" ]
permissive
the-tale/the-tale
4e4b8d91dc873a5fb935fe58e9721a877baa6d3f
e8450bd2332344da805b1851e728da5a3e5bf0ef
refs/heads/develop
2023-08-01T13:53:46.835667
2022-12-25T18:04:56
2022-12-25T18:04:56
1,949,167
98
52
BSD-3-Clause
2023-02-15T18:57:33
2011-06-24T18:49:48
Python
UTF-8
Python
false
false
465
py
import smart_imports smart_imports.all() class Record(django_models.Model): date = django_models.DateTimeField(null=False) type = rels_django.RelationIntegerField(relation=relations.RECORD_TYPE, db_index=True) value_int = django_models.BigIntegerField() value_float = django_models.FloatField() c...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
96ab3af6980eacbfc7d7b58bf47d470aa1ddfacf
06add04cbcffada7085043a75a1565d0e01cafff
/notion_scripts/not_goals.py
67c2cc703a4578364b23b72938d43c6cd2e0da0a
[]
no_license
josancamon19/productivity-apps-wrapper
0c405726e9dbdc0de3db4f6e59d55f8e2e8f20ab
7d99836bda716deca90f4592a95b84786a44dc9f
refs/heads/main
2023-06-15T12:34:39.698296
2021-07-07T17:44:22
2021-07-07T17:44:22
374,472,485
22
0
null
null
null
null
UTF-8
Python
false
false
1,944
py
import os import requests from . import utils, unofficial_api_utils, not_todoist from integrations.todoist import get_goals_sections,detail_completed_tasks database_goals = os.getenv('NOTION_GOALS_DB') def get_db_added_goals(): data = requests.post(f'{utils.base_url}databases/{database_goals}/query', json={}, h...
[ "joan.santiago.cabezas@gmail.com" ]
joan.santiago.cabezas@gmail.com
17c0f628eec50d0bb168010b4109176082c7f0e8
1ea0e2b4f064ba0de45a73c527ee89a36771e8fc
/src/sentry/south_migrations/0005_auto.py
da6dbb394a1b0bfafb965133f97ea71ddf694688
[ "BSD-2-Clause" ]
permissive
atlassian/sentry
6775e59c317f20f96982e91c2b3c88c02ecbb56b
b937615079d7b24dc225a83b99b1b65da932fc66
refs/heads/master
2023-08-27T15:45:47.699173
2017-09-18T22:14:55
2017-09-18T22:14:55
103,999,066
1
5
BSD-3-Clause
2023-04-01T07:49:37
2017-09-18T22:38:18
Python
UTF-8
Python
false
false
6,423
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding index on 'GroupedMessage', fields ['status'] db.create_index('sentry_groupedmessage', ['status']) de...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
441a838a11222598abb6d464a17d3eea057ef15f
aed3fa9b75944995f8441c28e3ef74cfe130a004
/test/conftest.py
1481114b302b275160a0f69af8d541512635c1af
[]
no_license
kziolkowska/PyEMMA_IPython
ca95fadc5cfa7c7808592668abd6b2e080498838
7105ec66091df3ff9c1a5f0c8babbc0ec1b3f104
refs/heads/master
2020-12-24T22:21:03.405851
2015-02-26T09:07:18
2015-02-26T09:07:18
31,358,905
0
0
null
2015-02-26T09:02:18
2015-02-26T09:02:18
null
UTF-8
Python
false
false
291
py
''' Created on Jun 20, 2014 @author: marscher ''' def pytest_pycollect_makeitem(collector, name, obj): """ this is a hook for pytest to enforce the dynamic generated testcases of 'TestNotebooks' are initialized. """ if name == 'TestNotebooks': obj.setUpClass()
[ "m.scherer@fu-berlin.de" ]
m.scherer@fu-berlin.de
d1947ffbf45071eabaa38c2962280ba3fd7b0196
ff9fd1bae4ea538fcae66df96b4acc1abdef1556
/fabnet/mgmt/mgmt_db.py
84e7c574f548521ba85fe95e832c70da12c3d242
[]
no_license
fabregas/fabnet
640b6cf9d96ef477f8db5038881bd448dfcbc2a1
6ad7f0791ca0fd08dcbbfc49f785ef634e5fcffa
refs/heads/master
2021-01-10T20:22:20.107342
2014-02-17T16:51:30
2014-02-17T16:51:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,142
py
#!/usr/bin/python """ Copyright (C) 2013 Konstantin Andrusenko See the documentation for further information on copyrights, or contact the author. All Rights Reserved. @package fabnet.mgmt.mgmt_db @author Konstantin Andrusenko @date July 24, 2013 This module contains the implementation of MgmtDatabaseManager ...
[ "kksstt@gmail.com" ]
kksstt@gmail.com
1408f27ecce4aa24ccc4ea574ef3aeb35d24887f
4b6046439b3411cbc30276e00ad712a3d4c95768
/pysaga/commons.py
b09fb685312fab7a85a2babab18b4eda9a5bcd58
[]
no_license
Aluriak/pysaga
4c731a5d404d0ca0087997af4315e69ecf14fc37
54320e5b65a73e793ad18c306b9c004cf8cb0593
refs/heads/master
2020-03-30T00:09:21.380417
2018-09-27T13:21:22
2018-09-27T13:21:22
150,507,760
1
0
null
null
null
null
UTF-8
Python
false
false
885
py
"""Various general definitions. """ import re from . import utils TEMPLATE_PATH = 'sagas-mp3/{saga_name}/Textes/' REFWORDS = 'REF', 'LOL', 'TRI', 'JDM' REG_CHAPTER = re.compile(r"^Chapitre ([0-9]+) - (.+)$") REG_CHARACTER = re.compile(r"^([A-Z0-9ÉÈÊÀÄÂÔÛÏ.,!?' -]+) : ?") REG_LINE = re.compile(r"^([A-Z0-9ÉÈÊÀÄÂÔÛÏ....
[ "lucas.bourneuf@laposte.net" ]
lucas.bourneuf@laposte.net
3a99c35b78a898a0605d35c6f449c950a1532dc9
53e8c9feacc101f3bfefe013808a778c81a0aca7
/my_words/nounce.py
b536f3cbe57a331ec82d779d2f32f15d3e6b3e04
[]
no_license
chouchouyu/my_words
0cc98c2b1e66b38c0311f871f390932215faecde
2227fcb28bd49f2daca8fcf0bfa8645a95d434c9
refs/heads/master
2020-11-24T10:42:17.802396
2019-12-02T00:35:41
2019-12-02T00:35:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,580
py
英语词源字典 nounc announce, 宣布 【发音释义】, [ə'naʊns]vt, 宣布, 述说, 预示, 播报vi, 宣布参加竞选, 当播音员 【结构分析】, announce = an(=ad, 去)nounce(报告)→宣布 词源解析, nounce←拉丁语nuntiare(报告, 叙述)←拉丁语nuntius(信使) enunciate(宣布), renounce(宣布放弃), denounce(谴责), pronounce(发音, 宣判) 【衍生词】, announcement(宣布), announcer(广播员) announce, 通知 前缀an同ad, 词根nounce, 通知, 见pron...
[ "iwtfagp@gmail.com" ]
iwtfagp@gmail.com
b0ae0ec00f64dacd2002923982d4003e65fbdadf
d98fae9cd74992a2f81f8c267a71542475b27300
/img_core/img_mvp/woot/apps/img/cpmath/setup.py
e5f56b50cfa997c4ee985bf49748913c5f251ce1
[]
no_license
NicholasPiano/img-desktop
f516c4da8041aabe3cd4a1af24fdbc42eda105fa
9a2eed6cc0d912b675d02d8b0b20f60a71a5b481
refs/heads/master
2021-01-23T13:17:49.601534
2015-10-07T11:28:25
2015-10-07T11:28:25
39,502,099
0
0
null
2015-10-07T11:28:26
2015-07-22T11:19:19
Python
UTF-8
Python
false
false
4,197
py
"""setup.py - setup to build C modules for cpmath CellProfiler is distributed under the GNU General Public License, but this file is licensed under the more permissive BSD license. See the accompanying file LICENSE for details. Copyright (c) 2003-2009 Massachusetts Institute of Technology Copyright (c) 2009-2015 Broa...
[ "nicholas.d.piano@gmail.com" ]
nicholas.d.piano@gmail.com
c2773af266019d171d5db388a8485e13acd96789
d2628b4562ec2f7815ae9a5af546a9fe56492ff3
/sitch/sitchlib/config_helper.py
c94b725e51c79583c32dc5ae100c90651a40921a
[ "Apache-2.0" ]
permissive
mtigas/feed_builder
6b5927e48a0d65d4a83830a99eda75decfb30202
59c65f50f221e170c229444fd8f3c7b3b1dce6a1
refs/heads/master
2021-01-11T14:02:44.662709
2017-06-20T23:57:32
2017-06-20T23:57:32
94,944,694
0
0
null
2017-06-20T23:53:53
2017-06-20T23:53:53
null
UTF-8
Python
false
false
806
py
import os class ConfigHelper: def __init__(self): self.ocid_key = os.getenv("OCID_KEY") self.base_path = "/var/feed/" self.iso_country = "US" self.twilio_sid = ConfigHelper.get_from_env("TWILIO_SID") self.twilio_token = ConfigHelper.get_from_env("TWILIO_TOKEN") self...
[ "ash.d.wilson@gmail.com" ]
ash.d.wilson@gmail.com
b9ce33769d4545ddcaa1e2b7122e021dec4a6681
7c9173875ba6e20a9fc705753a5c553891d01a79
/Python_Bilibili/同济子豪兄/zihaowordcloud/code/example6.py
1722efd0b58e1763c9a8e46f96ad47fc63ebc500
[]
no_license
zhy0313/children-python
1df120930637b8bd320ab090ea784aab7b7cfed2
941e29d5f39092b02f8486a435e61c7ec2bdcdb6
refs/heads/master
2021-01-07T00:59:31.332746
2020-02-10T11:45:52
2020-02-10T11:45:52
241,533,568
0
1
null
2020-02-19T04:36:38
2020-02-19T04:36:37
null
UTF-8
Python
false
false
1,035
py
# 6号词云:乡村振兴战略中央文件(五角星形状) # B站专栏:同济子豪兄 2019-5-23 # 导入词云制作库wordcloud和中文分词库jieba import jieba import wordcloud # 导入imageio库中的imread函数,并用这个函数读取本地图片,作为词云形状图片 import imageio mk = imageio.imread("wujiaoxing.png") # 构建并配置词云对象w,注意要加scale参数,提高清晰度 w = wordcloud.WordCloud(width=1000, height=700, ...
[ "baixuelin12hit@outlook.com" ]
baixuelin12hit@outlook.com
a8639ef72bab2024a9a6515cc547b788964a64da
788bdd9e443a571bc8262323425317015303cf1d
/p1522.py
1aed2ee14ece3b5ccb7ddd473dcdf6620cf438ff
[]
no_license
qyx2018/Xiaojiayu
e07dd5480babafb5f1940a2032ef30a92c7331f2
e7decd439ed95b5a6d3cf195444cabfedf0eff76
refs/heads/master
2020-03-11T06:21:27.609708
2018-04-17T01:33:40
2018-04-17T01:33:40
129,827,662
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
from tkinter import * root = Tk() s1 = Scale(root, from_ = 0, to = 42) s1.pack() s2 = Scale(root, from_ = 0, to = 200,orient = HORIZONTAL) s2.pack() def show(): print(s1.get(), s2.get()) Button(root, text = 'Position', command = show).pack() mainloop()
[ "noreply@github.com" ]
qyx2018.noreply@github.com
28c527fbe2a4759a8226f709c73a8b020425f06e
f87c86c4dcb9192717a06ec41caa5c49b1fd0201
/adv/summer_verica.py
1dd6707c1ca4334defc697de0b3bec11834d4fce
[ "Apache-2.0" ]
permissive
Caledor/dl
5377982f31f0c1890aff487d5eefc1ffb6f7115f
fc5e9b6855afb40c4c499a70dfa0e0503e8c8f05
refs/heads/master
2023-04-01T19:15:04.372285
2021-03-28T23:25:06
2021-03-28T23:25:06
277,363,765
0
0
Apache-2.0
2020-07-05T18:49:36
2020-07-05T18:49:36
null
UTF-8
Python
false
false
321
py
from core.advbase import * class Summer_Verica(Adv): def prerun(self): self.s2.autocharge_init(self.s2_autocharge).on() def s2_autocharge(self, t): if self.s1.sp > self.s1.charged: log("sp", "s2_autocharge", 1578) self.s2.charge(1578) variants = {None: Summer_Verica}...
[ "wildshinobu@gmail.com" ]
wildshinobu@gmail.com
e7d4ce72e6fa92f7206ac7798833e5fd688d432e
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/5bYXQfpyoithnQisa_13.py
a15674c0b040fae09a272140048ddb56764fc393
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
def encode_morse(message): char_to_dots = { 'A': '.-', 'B': '-...', 'C': '-.-.', 'D': '-..', 'E': '.', 'F': '..-.', 'G': '--.', 'H': '....', 'I': '..', 'J': '.---', 'K': '-.-', 'L': '.-..', 'M': '--', 'N': '-.', 'O': '---', 'P': '.--.', 'Q': '--.-', 'R': '.-.', 'S': '...', 'T': '-', 'U': '..-', 'V': '...-', ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d4380185dc4b6ddf9ad0d4f353b0a695e968d5d4
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/consumption/v20180131/outputs.py
c66a207304ca209166f50facce58d6ca57713144
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
7,747
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 from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
7c0ef510fdaeb63ff3582c9253c1ae34e03d982b
66fe6eb64afeb7313a4c7685a8748455325b6726
/918-maximum-sum-circular-subarray.py
0150e754bb0889e9f423b95cd511f16e0fef3402
[]
no_license
anantkaushik/leetcode
b54eb27b17ed95b02ab426392208c346f2d87aaa
06f0a6dbff2e2062fa4568efa5f01ad982d6ac94
refs/heads/master
2022-03-07T18:21:35.881943
2022-02-23T12:27:24
2022-02-23T12:27:24
120,501,367
40
13
null
2019-10-11T11:07:22
2018-02-06T18:05:51
Python
UTF-8
Python
false
false
1,949
py
""" Problem Link: https://leetcode.com/problems/maximum-sum-circular-subarray/ Given a circular integer array nums of length n, return the maximum possible sum of a non-empty subarray of nums. A circular array means the end of the array connects to the beginning of the array. Formally, the next element of nums[i] is ...
[ "anant.kaushik2@gmail.com" ]
anant.kaushik2@gmail.com
63d843377be4bde15c3f3fabfa13e644d1cd9f48
4111ca5a73a22174f189361bef654c3f91c3b7ed
/Lintcode/Ladder_11_15_A/362. Sliding Window Maximum.py
352cc5b57065b3b2edbc26517191dbbcd1fa9897
[ "MIT" ]
permissive
ctc316/algorithm-python
58b541b654509ecf4e9eb8deebfcbdf785699cc4
ac4580d55e05e93e407c6156c9bb801808027d60
refs/heads/master
2020-03-16T06:09:50.130146
2019-08-02T02:50:49
2019-08-02T02:50:49
132,548,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
from queue import Queue from collections import deque class MaxQueue: def __init__(self, capacity): self.capacity = capacity self.que = Queue() self.max_deque = deque() def put(self, val): if self.que.qsize() >= self.capacity: self.pop() self.que.put(val) ...
[ "mike.tc.chen101@gmail.com" ]
mike.tc.chen101@gmail.com
146995e0e0ef52d28990b4198ac8a86ec561fe8e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02883/s186596180.py
a67dc653be0d152e0a20b9113874949cc3e810b6
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
import sys import os,io input=io.BytesIO(os.read(0,os.fstat(0).st_size)).readline n,k=map(int,input().split()) a=list(map(int,input().split())) f=list(map(int,input().split())) a.sort() f.sort() f.reverse() if sum(a)<=k: print(0) sys.exit() pointer=0 l=0 r=0 for i in range(n): r=max(r,a[i]*f[i]) while l+1<r: tr...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8cb6515893f4750b2e3a962fcd4192b44c3107ae
913fb9ec1e709a5140676ba7b2371b1976afca72
/endoClip/miRandaTest/parseAlignment.py
c08d09bcc7dc0a4a54c27a157d1eb854ad369bb4
[]
no_license
cgreer/ResearchScripts
171cfe9555ea06fdeb91084c12d07d1b45a2335c
1107803bb1459d6b6e1dfb1a89679d2b6fd49062
refs/heads/master
2016-09-05T10:43:19.090247
2012-04-12T21:38:11
2012-04-12T21:38:11
1,673,080
0
3
null
null
null
null
UTF-8
Python
false
false
7,998
py
import bioLibCG import cgNexusFlat import cgDL from cgAutoCast import autocast import string from cgNexus import Nexus @autocast def updateAdjustedMismatches(fN, fF, guValue = .5, otherValue = 1.0): NX = Nexus(fN, fF) NX.load(['sigMask', 'adjustedNumMismatches']) while NX.nextID(): mask = NX...
[ "chrisgreer88@gmail.com" ]
chrisgreer88@gmail.com
c2c2302c19cd27a8c388c3076648b346e94027f1
4f98acd943807cfa593c61b4332548fd3cd6fb72
/CodeChef/2016 Nov/1ALEXTASK.py
18583b9192db4d160449ec59b1d559bba8f3e51b
[]
no_license
mrkimkim/Competitive-Programming-Summary
9086986782bef615db2002a3be3f3d8317c80345
fa75693818c8ec65f623d98b11c1fe0123bc7200
refs/heads/master
2021-01-20T05:25:10.793615
2017-11-12T10:33:14
2017-11-12T10:33:14
89,775,003
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
def lcm(a1, a2): a, b = a1, a2 while a % b != 0: a %= b a, b = b, a return a1 * a2 / b T = int(raw_input()) for tt in xrange(T): N = int(raw_input()) A = [int(x) for x in raw_input().split(' ')] LCM = [] for i in range(N): for j in range(i+1, N): ...
[ "=" ]
=
f2e706a3ce884256f22aef75a2af9a5311ac1719
5004c5592ead17f55acacce36d880bb3b12a1255
/graphql/client.py
33eb2cdc977f484ead2333602eac2a2dc6967621
[]
no_license
xav-b/stacks
f856c9efd5b5c3fb5165d31fb9b928cca14038f4
2faa0ca759509174920eca88c6553f1b55a14f09
refs/heads/master
2021-10-08T05:07:44.878158
2018-12-08T02:29:46
2018-12-08T02:29:55
64,149,347
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 import requests HEADERS = {'Content-Type': 'application/json'} QUERY = {'query': '{ hello }'} res = requests.post('http://localhost:4000/graphql', headers=HEADERS, json=QUERY) if res.status_code == 200: print(res.json())
[ "xavier.bruhiere@gmail.com" ]
xavier.bruhiere@gmail.com
7dd3116a2797092f761d2f59ec02bc3ba7272e5a
9d862dd68f8b4ea4e7de9397fef8592824c77449
/app/top/api/rest/WlbWmsSkuCreateRequest.py
6598145c2d04de7ebb441ec797e5897dc69e60ee
[]
no_license
hi-noikiy/tmall-sku-outer_id
ffaca630dfb288ca33d962b8a050932d1047b9c8
1bcf29386a513bcb210bf5d91016e0dcb1ebc1ad
refs/heads/master
2021-05-09T18:20:27.150316
2017-03-08T06:43:57
2017-03-08T06:43:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
''' Created by auto_sdk on 2016.05.25 ''' from app.top.api.base import RestApi class WlbWmsSkuCreateRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.advent_lifecycle = None self.approval_number = None self.bar_code = None self.brand = None ...
[ "1037096435@qq.com" ]
1037096435@qq.com
2a93997c42a613a172bca0bdc009d9f471283b9a
3449e5511dc8da19fc841af767dbe8d216e26ffb
/manage.py
580284fcc718e6d888b0f90ffd61253c58d00251
[]
no_license
erikwestra/mm-server
8ba2af0ee7acd372949589b6f8d429099a38ea58
bead1ad439541211e33fdc60264a869f18a99ae9
refs/heads/master
2021-01-10T21:14:23.636707
2015-05-27T21:22:54
2015-05-27T21:22:54
28,573,174
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mmServer.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "ewestra@gmail.com" ]
ewestra@gmail.com
7a2fda54a67c368b387b99cdca294856aff50611
40b9c3020bda615a7c097ea962c039fc08a90a2f
/bonsai/core/admin.py
108699c3a43ee6c0619aa03ee7c034ed2673ed10
[]
no_license
mahongquan/bonsailims
980e9d606a58a81c7637e7f9e640cb16b9cabb61
9f5d58a49d24ba86c8d9472ea7e6449bc8c61538
refs/heads/master
2020-12-24T14:53:56.886079
2013-11-27T02:35:15
2013-11-27T02:35:15
14,733,537
2
0
null
null
null
null
UTF-8
Python
false
false
279
py
from django.contrib import admin from models import * admin.site.register(ProjectCode) admin.site.register(CollectionMethod) admin.site.register(Material) admin.site.register(StorageMethod) admin.site.register(Project) admin.site.register(Subject) admin.site.register(Sample)
[ "mahongquan@sina.com" ]
mahongquan@sina.com
f944801874341c8211053e8eeb0fde3287cd620e
9ce4292954000fd66bcdbd0797a280c306308d08
/quizzes/00.organize.me/Cracking the Coding Interview/17-14-2.py
47dc8b3fc7400cb532246997349c31584ce6d361
[ "MIT" ]
permissive
JiniousChoi/encyclopedia-in-code
0c786f2405bfc1d33291715d9574cae625ae45be
77bc551a03a2a3e3808e50016ece14adb5cfbd96
refs/heads/master
2021-06-27T07:50:10.789732
2020-05-29T12:50:46
2020-05-29T12:50:46
137,426,553
2
0
MIT
2020-10-13T08:56:12
2018-06-15T01:29:31
Python
UTF-8
Python
false
false
3,161
py
''' 17.14 - 구둣점이 없어진 문장을 최대한 복원하라. ''' WORD_LIST = [] with open('english_dictionary.txt', 'r', encoding="ISO-8859-1") as fp: WORD_LIST = fp.read().splitlines() WORD_LIST = [word.lower() for word in WORD_LIST] WORD_LIST = list(set(WORD_LIST)) _WORD_LIST = [] for word in WORD_LIST: for ch in ...
[ "jinchoiseoul@gmail.com" ]
jinchoiseoul@gmail.com
6d18e5b463a36cc4e08cb5c8a534bab7b40eed17
d36c4c882089b9b81e6e3b6323eeb9c43f5160a9
/7KYU/Basic Calculator/solution.py
b3781c325d408bf5bcf4057d678e10d871a6578b
[]
no_license
stuartstein777/CodeWars
a6fdc2fa6c4fcf209986e939698d8075345dd16f
d8b449a16c04a9b883c4b5e272cc90a4e6d8a2e6
refs/heads/master
2023-08-27T20:32:49.018950
2023-08-24T23:23:29
2023-08-24T23:23:29
233,281,814
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
def calculate(num1, operation, num2): if operation == '+': return num1 + num2 elif operation == '-': return num1 - num2 elif operation == '*': return num1 * num2 elif operation == '/' and num2 != 0: return num1 / num2 return None
[ "qmstuart@gmail.com" ]
qmstuart@gmail.com
f8d124ea1738661ae00c133c22ce07c03b60fac3
1d60c5a7b8ce6277bff514e376f79848f706344c
/Machine Learning Scientist with Python/13. Feature Engineering for NLP in Python/01. Basic features and readability scores/04. Hashtags and mentions in Russian tweets.py
993f21900df53d45c8ed5930dbf0aecac0dd49e1
[]
no_license
DidiMilikina/DataCamp
338c6e6d3b4f5b6c541c1aba155a36e9ee24949d
3bf2cf3c1430190a7f8e54efda7d50a5fd66f244
refs/heads/master
2020-12-15T13:16:54.178967
2020-05-06T17:30:54
2020-05-06T17:30:54
235,113,616
4
3
null
null
null
null
UTF-8
Python
false
false
1,693
py
''' Hashtags and mentions in Russian tweets Let's revisit the tweets dataframe containing the Russian tweets. In this exercise, you will compute the number of hashtags and mentions in each tweet by defining two functions count_hashtags() and count_mentions() respectively and applying them to the content feature of twee...
[ "didimilikina8@gmail.com" ]
didimilikina8@gmail.com
83ff8724593b0b4cb2fbcade365b2021df9e4454
4dd695521343d56ff943e8c1768343d7680714e3
/experiments/experiments_SBrT_2018/scripts_bob/ivector_T200_fold4.py
ed7c89dd5e015998081776051f44612c8bdf818c
[]
no_license
natharb/environment
ea659ee541f6473e92b5b30c549e52b66f47b280
86e6cee6e01d2370abeb7c55a2c8a15001735919
refs/heads/master
2021-09-28T02:39:02.222966
2018-11-13T12:03:34
2018-11-13T12:03:34
139,762,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
import sys sys.path.insert(0, '.') import bob.bio.spear import bob.bio.gmm import numpy import scipy.spatial temp_directory = './closedset_ynogutti/ivector/256/T200/fold_4/temp/' result_directory = './closedset_ynogutti/ivector/256/T200/fold_4/results/' sub_directory = 'subdirectory' database = 'database_ivector_T20...
[ "nathbapt@decom.fee.unicamp.br" ]
nathbapt@decom.fee.unicamp.br