blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
b9c2eafabcc422185d25520e77910dd66ca153e6
425db5a849281d333e68c26a26678e7c8ce11b66
/LeetCodeSolutions/LeetCode_1249.py
b201911e1129c8f2db7ad7a3446d8cf269ba10af
[ "MIT" ]
permissive
lih627/python-algorithm-templates
e8092b327a02506086414df41bbfb2af5d6b06dc
a61fd583e33a769b44ab758990625d3381793768
refs/heads/master
2021-07-23T17:10:43.814639
2021-01-21T17:14:55
2021-01-21T17:14:55
238,456,498
29
8
null
null
null
null
UTF-8
Python
false
false
505
py
class Solution: def minRemoveToMakeValid(self, s: str) -> str: stack = [] res = [''] * len(s) for idx, val in enumerate(s): if val == '(': stack.append([idx, '(']) res[idx] = '(' elif val == ')': if stack: ...
[ "lih627@outlook.com" ]
lih627@outlook.com
bcddc785198dd4dfe6ed7c983ffc98e275103776
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/allergies/76c89c05add142a5bedef7b724ee84dd.py
230885176ab163f21562dbcc0189ce3e469cd325
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
887
py
class Allergies(): def __init__(self, id): list = [] if id > 255: self.id = id % 256 else: self.id = id # Map to binary list, probably self.allergies_match = [int(x) for x in bin(self.id)[2:]][::-1] self.allergies_list = [ ...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
5c87d0b227b33ef6578fd3ac68063dd2ed9d815b
d638929e5b699e80c6af8e675b6695e622ddc51b
/alarm/alarm.py
f95c2a463cad2bd9d80da1f1bece6af3aaf009dd
[ "MIT" ]
permissive
hobojoe1848/pybites-alarm
51636dbd53ef7777953450b9b672dd11cc1384b1
40d5ef42846840ef2140f04db2b9b73a259ed12e
refs/heads/main
2023-08-19T18:14:32.403388
2021-10-31T10:07:16
2021-10-31T10:07:16
423,051,580
0
0
MIT
2021-10-31T04:23:02
2021-10-31T04:23:01
null
UTF-8
Python
false
false
1,206
py
from pathlib import Path import time from typing import Optional from pydub import AudioSegment from pydub.playback import _play_with_simpleaudio def countdown_and_play_alarm( seconds: int, alarm_file: str, display_timer: bool = False, timeout: Optional[int] = None, ) -> None: """Countdown N seco...
[ "bobbelderbos@gmail.com" ]
bobbelderbos@gmail.com
831e19fb1affdcc0a44354a8d57c591877ad3f8c
53dfe70337a2923ec7872ab911a0b85cf233a708
/dtree.py
eb2fccab07ffa58c612f5f6abf255930076a8a8a
[]
no_license
rcaseyatbat/CS155Kaggle
268334214bb3e635133414cc59673da12007f7be
5d50125995312dc42732edd730ab94012cbb36ce
refs/heads/master
2021-01-25T08:59:56.228301
2015-02-18T21:35:19
2015-02-18T21:35:19
30,485,803
0
0
null
null
null
null
UTF-8
Python
false
false
2,219
py
import sys # I need this because my python installation is weird.. sys.path.append('/usr/local/lib/python2.7/site-packages') from sklearn import tree import csv import numpy as np import matplotlib.pyplot as plt # NOTE: Decrease if you want to do some cross validation. # (just changed to 4000 to train the final mod...
[ "=" ]
=
190ab7fce3bf18f63578fa2eb65d119e36c79aae
01d46b81fd351f157f896d99451610e0ebf467e7
/rjgoptionssite/oldflasky/flasky-09SEP/controllers/download_controller.py
769a20639ea0565207852b6451761d890f20f5dd
[]
no_license
hfwebbed/Stock-Option-Analytics
d30e389d48f92a327af5d04fbb182245b1e3dcde
1049f2cd543bced34a9a3c50505b5c8e120ffcea
refs/heads/master
2023-08-03T04:52:48.975821
2022-03-15T19:07:25
2022-03-15T19:07:25
193,752,461
29
8
null
2023-07-22T09:17:04
2019-06-25T17:20:25
Python
UTF-8
Python
false
false
1,200
py
from flask import send_file import shutil import openpyxl from openpyxl import load_workbook import time class DownloadController: def __init__(self,parameterService,tickerRateService): self.parameterService = parameterService self.tickerRateService = tickerRateService pass def disp...
[ "30417960+hfwebbed@users.noreply.github.com" ]
30417960+hfwebbed@users.noreply.github.com
a9ca55a19c0e1c55bbe0e7079fa7a63ab9e5208c
5ba2ea4694d9423bc5435badba93b7b8fedfadd0
/webapp/data_import/faust_stadtarchiv/DataImportFaustStadtarchivWorker.py
ac7737bf40552d794b0a8ca29ce5d458cca12081
[]
no_license
Digital-Botschafter-und-mehr/mein-stadtarchiv
bdf480d82b366253afd27c697143ad5d727f652f
a9876230edac695710d4ec17b223e065fa61937c
refs/heads/master
2023-02-05T18:43:13.159174
2021-01-01T09:35:46
2021-01-01T09:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,877
py
# encoding: utf-8 """ Copyright (c) 2017, Ernesto Ruge All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions an...
[ "mail@ernestoruge.de" ]
mail@ernestoruge.de
77c97608f89f50599a28a23bff835d368f149a12
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/eventhub/azure-eventhub/azure/eventhub/aio/_eventprocessor/in_memory_checkpoint_store.py
22ef721c0ee08b96a6f06b1267650094a1962f37
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
1,664
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
scbedd.noreply@github.com
c6b1ec9abb66fcae482e064c75ae93ff5eabb333
10d5ce0b34806bd82715d544703e1cf1add4a146
/TrafficGenerator/support/SSL_TLS_Support.py
5ded90f2d52d6922cbd3fd4ad91ea306ba3c97d8
[]
no_license
szabgab/ScapyTrafficGenerator3
17c05e4ca4c9dda0013b90eac328e2ff5d098c2f
53c81b0796d436a1ec64b0ea46173d98d4bc1fa7
refs/heads/main
2023-03-12T02:24:23.410164
2020-12-22T08:11:55
2020-12-22T08:11:55
323,560,016
0
0
null
null
null
null
UTF-8
Python
false
false
7,896
py
from scapy.all import * import logging logging.getLogger("scapy.runtime").setLevel(logging.ERROR) from Scapy_Control import * class SSL_TSL_Supprt(): def __init__(self): self.defaultCipher="RSA_WITH_AES_128_CBC_SHA" self.sshcipher=65664 def simple_clientHello(self, ...
[ "gabor@szabgab.com" ]
gabor@szabgab.com
d8904f842a18029786a44e9787a3ea3d4e287b8b
c9ad6ad969de505b3c8471c6f46dfd782a0fb498
/0x11-python-network_1/2-post_email.py
f9456c986de8e9178377c07526c55742ec51eb58
[]
no_license
enterpreneur369/holbertonschool-higher_level_programming
002fd5a19b40c8b1db06b34c4344e307f24c17ac
dd7d3f14bf3bacb41e2116d732ced78998a4afcc
refs/heads/master
2022-06-20T00:57:27.736122
2020-05-06T14:26:10
2020-05-06T14:26:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
#!/usr/bin/python3 """ Module 2-post_email Python script that send a POST request """ import urllib.request import sys if __name__ == "__main__": try: url = sys.argv[1] email = sys.argv[2] values = {"email": email} data = urllib.parse.urlencode(values) data = data.encode("as...
[ "jose.calderon@holbertonschool.com" ]
jose.calderon@holbertonschool.com
c8ea297268457b9ea391fff1005c0915bf107e5e
9141823df0c7f40a405c5ed5d3a7ec5596ff5ad6
/apps/login/urls.py
aacd3592e2a7fd23d16940f74f6dca6eb4d851b7
[]
no_license
jqchang/dojo_secrets
9ea70527e396a5205b2e7b19360e99a614e151b1
e1d84d1cee201cbdde4b065ed50702c9caee7595
refs/heads/master
2021-01-21T06:42:41.697539
2017-02-23T21:18:44
2017-02-23T21:18:44
82,870,690
0
0
null
2017-02-23T21:13:19
2017-02-23T01:33:26
Python
UTF-8
Python
false
false
397
py
from django.conf.urls import url, include from . import views # from django.contrib import admin urlpatterns = [ url(r'^$', views.index, name='login_index'), # url(r'^success$', views.success, name='login_success'), url(r'^process$', views.process, name='login_process'), url(r'^login$', views.login, na...
[ "jqchang@gmail.com" ]
jqchang@gmail.com
c1ebf23dd23f02933f1422f1713e8966feb7c239
d972579395ced64fea4d40ec946c4aa053ef2c1b
/api/models.py
9d38f73f74631163abb6bdba76a4baf3babb1b59
[]
no_license
ziaurjoy/Serializer-and-ajax
7a0e117e36e87b8889eb270a7c3c78b3f75f670e
395a7802229badc139f9b4a6d5fbae563e093276
refs/heads/master
2022-06-09T09:32:57.054391
2020-05-03T15:26:34
2020-05-03T15:26:34
260,957,479
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
from django.db import models # Create your models here. class Task(models.Model): title = models.CharField(max_length=50) complited = models.BooleanField(default=False,blank=True,null=True) def __str__(self): return self.title
[ "ziaurjoy802@gmail.com" ]
ziaurjoy802@gmail.com
c2304a67a1780051792c3fc974a55cd4a567394d
caf6ae544fce3b332b40a03462c0646a32c913e1
/merchant/python/test/test_new_invoice.py
d5860b0d8d6e26a30956c2c4527a926aa0978c06
[ "Apache-2.0" ]
permissive
coinsecure/plugins
827eb0ce03a6a23b4819a618ee47600161bec1c7
ad6f08881020c268b530d5242d9deed8d2ec84de
refs/heads/master
2020-05-30T07:17:56.255709
2016-11-27T22:22:23
2016-11-27T22:22:23
63,496,663
3
5
null
null
null
null
UTF-8
Python
false
false
1,600
py
# coding: utf-8 """ coinMerchant Api Documentation To generate an API key, please visit <a href='https://pay.coinsecure.in/payment-tools/api' target='_new' class='homeapi'>https://pay.coinsecure.in/payment-tools/api</a>.<br>Guidelines for use can be accessed at <a href='https://pay.coinsecure.in/api/guideline...
[ "vivek0@users.noreply.github.com" ]
vivek0@users.noreply.github.com
285827778cb5d7d41286c78da3a8c7d7e1a18d6e
45e376ae66b78b17788b1d3575b334b2cb1d0b1c
/tests/terraform/checks/resource/aws/test_APIGatewayMethodSettingsCacheEnabled.py
949fe13423e8a9120e84913042e47da6a765b876
[ "Apache-2.0" ]
permissive
bridgecrewio/checkov
aeb8febed2ed90e61d5755f8f9d80b125362644d
e64cbd27ffb6f09c2c9f081b45b7a821a3aa1a4d
refs/heads/main
2023-08-31T06:57:21.990147
2023-08-30T23:01:47
2023-08-30T23:01:47
224,386,599
5,929
1,056
Apache-2.0
2023-09-14T20:10:23
2019-11-27T08:55:14
Python
UTF-8
Python
false
false
1,354
py
import os import unittest from checkov.runner_filter import RunnerFilter from checkov.terraform.checks.resource.aws.APIGatewayMethodSettingsCacheEnabled import check from checkov.terraform.runner import Runner class TestAPIGatewayMethodSettingsCacheEnabled(unittest.TestCase): def test(self): runner = Run...
[ "noreply@github.com" ]
bridgecrewio.noreply@github.com
3039965ef509beb90baae8e5c128e86ed06be81f
ca7f34b5a105984ff3f3f4c794a3a4b95ab35abc
/iterm2_tools/shell_integration.py
9676d0dae14f99722ef3110e7b84f0bbc5ba446c
[ "MIT" ]
permissive
Carreau/iterm2-tools
d6b0fa016759ace1315e6e708b389eb235a7dda8
3d42811b1c411f3a11b5550476fae78efa305164
refs/heads/master
2020-04-05T19:22:34.873301
2016-06-01T21:30:47
2016-06-01T21:30:47
60,203,359
0
0
null
2016-07-19T17:23:52
2016-06-01T19:02:26
Python
UTF-8
Python
false
false
6,279
py
""" Shell integration See https://groups.google.com/d/msg/iterm2-discuss/URKCBtS0228/rs5Ive4PCAAJ for documentation on the sequences, https://github.com/gnachman/iterm2-website/tree/master/source/misc for example implementations, and https://iterm2.com/shell_integration.html for a list of what this lets you do in iTer...
[ "asmeurer@gmail.com" ]
asmeurer@gmail.com
a077ee542a3cdeb2e8d4aa5dfae685ee2dd37922
180dc578d12fff056fce1ef8bd1ba5c227f82afc
/official/legacy/detection/modeling/architecture/nn_ops.py
c8e2f5b534a79a7dba8ff321417f77b8d8a47cf7
[ "Apache-2.0" ]
permissive
jianzhnie/models
6cb96c873d7d251db17afac7144c4dbb84d4f1d6
d3507b550a3ade40cade60a79eb5b8978b56c7ae
refs/heads/master
2023-07-12T05:08:23.314636
2023-06-27T07:54:20
2023-06-27T07:54:20
281,858,258
2
0
Apache-2.0
2022-03-27T12:53:44
2020-07-23T05:22:33
Python
UTF-8
Python
false
false
3,853
py
# Copyright 2023 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
89c9395c09734718f314c543c5e5285374ce3142
7759122052337252217fff9d51ec6d125ef370e0
/iq/components/wx_filterchoicectrl/filter_ext_funcs.py
50b4369d690700d6454a622d6f3a0e9e5a447bbc
[]
no_license
XHermitOne/iq_framework
3325670c74233d99e599921fad4bd41e5d8104f3
7550e242746cb2fb1219474463f8db21f8e3e114
refs/heads/master
2023-09-03T21:07:58.107750
2023-09-01T07:30:13
2023-09-01T07:30:13
195,210,479
1
0
null
null
null
null
UTF-8
Python
false
false
8,299
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Additional filter functions. """ import datetime from ...dialog import std_dlg_func from ...util import dt_func __version__ = (0, 0, 0, 1) DEFAULT_DATE_FMT = '%Y.%m.%d' DEFAULT_BEGIN_DATE_FMT = '%Y.%m.%d 00:00:00' DEFAULT_END_DATE_FMT = '%Y.%m.%d 23:59:59' def ...
[ "xhermitone@gmail.com" ]
xhermitone@gmail.com
c29f4258256a0299f7c1ce8d83dab9055e20dd92
2b2b5e2a28038b8e2dea5bbec0f833cabfa0c256
/eland/ml/pytorch/_pytorch_model.py
de1b550656bf9fcbea7b056e77b763c3bdce3cbc
[ "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
elastic/eland
09b321d500c31abb04673a17bc9ea32f13d3358e
95864a9ace67337b863ebeb65ded808cf5ba03b3
refs/heads/main
2023-09-01T18:13:38.645147
2023-08-31T09:34:36
2023-08-31T09:34:36
191,316,757
524
95
Apache-2.0
2023-09-14T19:31:16
2019-06-11T07:24:06
Python
UTF-8
Python
false
false
5,662
py
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use ...
[ "noreply@github.com" ]
elastic.noreply@github.com
1ba36e754a18fa91d89c43dbe3bf65dfd2bef5d8
95b37927e64e2901e664cc958ff01927734081fc
/ethereumetl/mappers/receipt_log_mapper.py
0712b1469f387b381e854450096902201d0a30c5
[ "MIT" ]
permissive
farooqarahim/ethereum-etl
335d5ea74fcd4e62960ee035d31e320445fd8bf2
ef462ba2c413088931e46638d8b8b1391a469f5d
refs/heads/master
2020-03-23T22:01:18.156250
2018-07-23T16:58:44
2018-07-23T16:58:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,337
py
# MIT License # # Copyright (c) 2018 Evgeny Medvedev, evge.medvedev@gmail.com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # ...
[ "medvedev1088@gmail.com" ]
medvedev1088@gmail.com
3260047056822f3f7f151764bf6c76b00d2c5a54
6eb59488a043d78e5758922ee0136103d4fd419f
/tests/test_surround_delete.py
b0e2509fe5fc9e617ade38961f57ba8eba6bf5a1
[ "MIT" ]
permissive
SublimeSix/plugin-surround
e038e3bf246900f454facc3ad765cc31d1d0732e
eba4fd9af4f4f686f94796a4d6cfe53b94f3e1d2
refs/heads/master
2020-03-19T17:30:53.230178
2018-07-14T20:36:41
2018-07-14T20:38:10
136,763,619
3
0
MIT
2018-06-24T20:45:49
2018-06-09T22:56:59
Python
UTF-8
Python
false
false
2,025
py
import os import unittest import sublime from sublime import Region as R from User.six.tests import ViewTest from Six.lib.command_state import CommandState from Six.lib.constants import Mode from Six.lib.errors import AbortCommandError from Six.lib.yank_registers import EditOperation from User.six.surround import ...
[ "guillermo.lopez@outlook.com" ]
guillermo.lopez@outlook.com
db164c4acb91643dac552db8d6754de1e2163630
7df7642c30f0cd09db47c42abe2738a00d8c9562
/hearthstone/stringsfile.py
d72f60096e67c53bc2058e4ea64427e1caec8165
[ "MIT" ]
permissive
mshirinyan/python-hearthstone
601887c49385f041acd0c98c23170269b29ff5f5
3855e9565d45f0a5677fffe2f88cbe160cc6c7e1
refs/heads/master
2021-09-07T12:33:05.479242
2018-02-14T12:33:20
2018-02-14T16:05:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
""" Hearthstone Strings file File format: TSV. Lines starting with `#` are ignored. Key is always `TAG` """ import csv from pkg_resources import resource_filename _cache = {} def load(fp): reader = csv.DictReader(filter(lambda row: not row.startswith("#"), fp), delimiter="\t") stripped_rows = [{k: v for k, v in...
[ "jerome@leclan.ch" ]
jerome@leclan.ch
319a4bc95aea3b757559574c3ed43e018eac55d3
9a216260e3c3ba9c73f3cbad0b16c3bb4cd3b622
/imGcode/env_imGcode/Lib/site-packages/imageio/plugins/pillowmulti.py
f525922067a53301d339b1da2de00e1644b76bb5
[ "Apache-2.0" ]
permissive
vidmo91/imgcode
a214348650e349b81cc9c43c4f92e17d9f791875
7c8d0b6f01af4d96e70b9afb1bbb1e7b72603c3c
refs/heads/master
2023-07-19T17:00:44.757756
2020-07-27T15:07:44
2020-07-27T15:07:44
171,950,671
16
7
Apache-2.0
2023-07-06T21:33:35
2019-02-21T21:48:50
Python
UTF-8
Python
false
false
12,571
py
""" PIL formats for multiple images. """ import logging import numpy as np from .pillow import PillowFormat, ndarray_to_pil, image_as_uint logger = logging.getLogger(__name__) NeuQuant = None # we can implement this when we need it class TIFFFormat(PillowFormat): _modes = "i" # arg, why bother; people sho...
[ "mateuszwidomski@gmail.com" ]
mateuszwidomski@gmail.com
7517ade199886b75515bbcbb06d3d8a2b2e6f48c
5e04d2979dd28a78fdd9e17136d7ce85dc247576
/B/mar10_fileio.py
984a7efad6220bac645caa03f841774632616813
[]
no_license
ptyork/ptyork-au-aist2120-20sp
a821c0fe8b52eafbb15205b2f4bdacdae415ccd9
1cb928c59b5efe8cde26185bf781293c599e9823
refs/heads/master
2020-12-14T00:28:24.766261
2020-08-01T20:42:05
2020-08-01T20:42:05
234,577,202
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
import sys print(sys.argv) # exit() #f = open('kennedy.txt') #f = open('emails.txt') if len(sys.argv) != 2: print('ERROR: give me a file name, dang it!!') exit() filename = sys.argv[1] # [0] is always the name of the script...others are arguments f = open(filename) lines = f.readlines() # print(lines) # ex...
[ "paul@yorkfamily.com" ]
paul@yorkfamily.com
8bb1eb0ffeb0976e549400d0f3a5e787c1245934
2004cfde7f0cb70d10ae045e0bab12afa0d18b35
/etc/print_ascii_value.py
8159f82049d0b0a046891decd4d1ca54a6f7ae38
[]
no_license
erpost/python-beginnings
a51951eb9a3bfd58bfcabd60e5968cbd7d29bc1d
8ef94a0ac077a463ecafbd085f8b79d78284a42a
refs/heads/master
2023-02-05T08:29:32.101001
2023-01-27T18:29:27
2023-01-27T18:29:27
120,106,285
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
# Using Print 'Ordinal' print(ord('A')) print(ord('B')) print(ord('C')) print(ord('a')) print(ord('b')) print(ord('c'))
[ "25180070+erpost@users.noreply.github.com" ]
25180070+erpost@users.noreply.github.com
4428d1bfb6506986315772492de1c8636cf30025
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/operations/__init__.py
b30d1928382064e02bd6a6a8d0e62c67b220a026
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
2,517
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" ]
scbedd.noreply@github.com
4b89aa25d517a40a3ecfeefcfed52951b89750b7
36feed24f91d0c9ab07b81208cbc195bdbac2d63
/algorithms/047.Permutations_II/Permutations_II.py
dc5ba7b5b30b875d0797b2653075b1cdeda82cf6
[]
no_license
borisnorm/leetcode-1
da8ef87219d18c674f74721df1a8159bd856e1d7
6200c8704614e918c8bfa5357c648dd1b4f7eb74
refs/heads/master
2021-01-15T09:18:58.403345
2016-02-26T12:31:41
2016-02-26T12:31:41
63,475,809
1
0
null
2016-07-16T09:31:10
2016-07-16T09:31:07
null
UTF-8
Python
false
false
739
py
# Time: O(n!) # Space: O(n) class Solution: # @param num, a list of integer # @return a list of lists of integers def permuteUnique(self, nums): solutions = [[]] for num in nums: next = [] for solution in solutions: for i in xran...
[ "1012351692@qq.com" ]
1012351692@qq.com
4a9657ba76659ff9b7d54328426931dd9ba6a668
80c8d4e84f2ea188a375ff920a4adbd9edaed3a1
/scikit-learn/getstart.py
a1ec7488efb339202a33afeaac8479175ed84d74
[ "MIT" ]
permissive
Birkid/penter
3a4b67801d366db15ca887c31f545c8cda2b0766
0200f40c9d01a84c758ddcb6a9c84871d6f628c0
refs/heads/master
2023-08-22T14:05:43.106499
2021-10-20T07:10:10
2021-10-20T07:10:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,818
py
from sklearn import datasets #从sklearn包中加载数据集模块 from sklearn import svm import pickle #iris = datasets.load_iris() #加载鸢尾花数据集 from sklearn.model_selection import GridSearchCV,learning_curve from sklearn.tree import DecisionTreeClassifier digits = datasets.load_digits() #加载数字图像数据集 ,原始的样例是一张(8 x 8)的图片 digits.images[0] ...
[ "350840291@qq.com" ]
350840291@qq.com
0c16543c22bf0a5523d861f24fc2de0d4fb253c8
f038216be109882668ccd89b71efe0127d845bfb
/LeetCode/min_stack.py
9dca4b9380e50d1dbf1198cffd736275f183daad
[]
no_license
kunalt4/ProblemSolvingDSandAlgo
84b29a7eb2f73ea3b0450ed4b0707bc2d031c00d
6a796dd1a778049418d47bc3b94b82c7a2680d26
refs/heads/master
2021-08-16T23:05:39.452968
2020-09-16T00:02:06
2020-09-16T00:02:06
221,677,287
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
class MinStack: def __init__(self): """ initialize your data structure here. """ self.queue = [] def push(self, x: int) -> None: curMin = self.getMin() if curMin == None or x < curMin: curMin = x self.queue.append((x,curMin)) ...
[ "noreply@github.com" ]
kunalt4.noreply@github.com
ce6243ebd2da16359d4d0e2c1cf4296bce11b1eb
c049d678830eb37879589a866b39f8e72186a742
/upcfcardsearch/c313.py
99e6cce0e9eef77b67d3c2b5f3dec098d7f84f7a
[ "MIT" ]
permissive
ProfessorSean/Kasutamaiza
682bec415397ba90e30ab1c31caa6b2e76f1df68
7a69a69258f67bbb88bebbac6da4e6e1434947e6
refs/heads/main
2023-07-28T06:54:44.797222
2021-09-08T22:22:44
2021-09-08T22:22:44
357,771,466
0
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
import discord from discord.ext import commands from discord.utils import get class c313(commands.Cog, name="c313"): def __init__(self, bot: commands.Bot): self.bot = bot @commands.command(name='Sakeira_Angel_of_Radiance', aliases=['c313']) async def example_embed(self, ctx): embed = disco...
[ "professorsean3@gmail.com" ]
professorsean3@gmail.com
97ee36d34266878ce39e0966a92bc7b4a28296ef
6ea94d75b6e48952c1df2bda719a886f638ed479
/build/catkin_generated/order_packages.py
739b395ae277adbe22aa0c27c87e69448faf3ecb
[]
no_license
lievech/ork_ws
634e26355503c69b76df7fca41402ea43c228f49
e828846b962974a038be08a5ce39601b692d4045
refs/heads/master
2020-08-02T20:19:43.109158
2019-09-28T11:56:56
2019-09-28T11:56:56
211,493,180
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# generated from catkin/cmake/template/order_packages.context.py.in source_root_dir = "/home/lhn/ork_ws/src" whitelisted_packages = "".split(';') if "" != "" else [] blacklisted_packages = "".split(';') if "" != "" else [] underlay_workspaces = "/home/lhn/catkin_ws/devel;/home/lhn/dev/catkin_ws/install;/home/lhn/dev/ca...
[ "2328187416@qq.com" ]
2328187416@qq.com
6be89daa6031f02d723df31d1d37085327e40bca
7aec3f10b07403b542e1c14a30a6e00bb479c3fe
/Codewars/7 kyu/The highest profit wins!.py
5e228294dea1a2500dbb9f73de763563d9840210
[]
no_license
VictorMinsky/Algorithmic-Tasks
a5871749b377767176ba82308a6a0962e1b3e400
03a35b0541fe413eca68f7b5521eaa35d0e611eb
refs/heads/master
2020-08-02T23:18:06.876712
2020-01-16T19:08:49
2020-01-16T19:08:49
211,541,179
1
0
null
null
null
null
UTF-8
Python
false
false
777
py
""" Story Ben has a very simple idea to make some profit: he buys something and sells it again. Of course, this wouldn't give him any profit at all if he was simply to buy and sell it at the same price. Instead, he's going to buy it for the lowest possible price and sell it at the highest. Task Write a function that r...
[ "panasyuk.vityu@gmail.com" ]
panasyuk.vityu@gmail.com
d34712b924f654bbb796cbbac888511c65eded0f
572ce2b8a9c687f302ea4953dd9bd978470d0c4b
/sqldocker/catalog/migrations/0001_initial.py
5af04b2cede3bcf06af327b114a5f6c6cfa07f56
[]
no_license
fainaszar/pythonPrograms
5f539c8b80deb5d57e6aa984b0325389cf3b6f51
03f6c8b540981332e6f940308c7407a5038faac9
refs/heads/master
2021-09-07T18:10:43.603405
2018-02-27T05:27:37
2018-02-27T05:27:37
106,532,756
0
0
null
null
null
null
UTF-8
Python
false
false
2,915
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-14 08:56 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ mig...
[ "fainaszar@gmail.com" ]
fainaszar@gmail.com
c3233b39c80491ea57b8c6b094790aa03eab60d6
539a4acbe915c354f1b9139d1ab39de1ba746ec6
/toolsPrivate/apps.py
9f04450446eb326ad557876e8807fb93afa07edf
[]
no_license
wildmanwang/proSrvTool
7a6af1ec2a25aa14f666c6bd75e4181a5fefe43b
97d3c64c3a855133827bffbadf3a870613428b6a
refs/heads/master
2022-06-21T01:13:50.530231
2020-05-11T00:33:04
2020-05-11T00:33:04
258,078,792
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
from django.apps import AppConfig class ToolsprivateConfig(AppConfig): name = 'toolsPrivate'
[ "cliff.w@qq.com" ]
cliff.w@qq.com
b66f6fc5300779c6da72a45041d8f78a306152a0
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/2nx4JCytABfczdYGt_16.py
65994004d9fdac0a92d175f39874b8cfce3ba52e
[]
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
3,207
py
""" In this challenge, you must build a function that inflects an infinitive regular Italian verb of the first conjugation form to the present tense, including the personal subjective pronoun. All first conjugation Italian verbs share the same suffix: **ARE**. The first thing to do is separate the verb root from th...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b9c29aff989b8cc73cf841b5c389bf6883295914
f4335e8e7d3010506f570167bbba18156d3a4674
/stubs/django/conf/locale/ko/formats.pyi
581d846279c7333b7f12804a4726ab9dc0515996
[]
no_license
rtpg/typehangar
133686ea45ad6187b768290aeebda9cbcae25586
790d057497c4791a38f9e3e009b07935b4a12f45
refs/heads/master
2021-01-19T04:49:17.940793
2017-01-16T13:54:14
2017-01-16T13:54:14
69,260,488
0
0
null
null
null
null
UTF-8
Python
false
false
634
pyi
# Stubs for django.conf.locale.ko.formats (Python 3.5) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any DATE_FORMAT = ... # type: str TIME_FORMAT = ... # type: str DATETIME_FORMAT = ... # type: str YEAR_MONTH_FORMAT = ... # type: str MONTH_DAY_FORMAT = ... # ty...
[ "raphael@rtpg.co" ]
raphael@rtpg.co
b2cf969038c12fc06c64cc60d9d81294d425db03
c68d238ac786a42c4dd47d4ab5820709aa4dcdb3
/ExFin/users/migrations/0002_auto_20180326_0034.py
e344fcc2077b49f263dd413e0ee55312c480dc74
[]
no_license
tenebranum/ExFin
b78d2a9651d5b9e8fb0fae3adccc48f7897221d2
7ac7b7a0be00537a6a600721009f4a28eb90c3ab
refs/heads/master
2022-12-14T21:17:02.334600
2022-09-21T10:33:27
2022-09-21T10:33:27
139,338,729
0
0
null
2022-12-08T00:59:15
2018-07-01T15:07:52
Python
UTF-8
Python
false
false
456
py
# Generated by Django 2.0.2 on 2018-03-25 21:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='profile', options={'verbose_name': 'Дополнител...
[ "vetal969696@gmail.com" ]
vetal969696@gmail.com
1861d39623e7386994c000de1bf394dddee1eeed
2745f49a3205c0ae14346cb1d4115f0e50a9b52e
/app/users/adapters.py
c7ce2735de6da811ca245051e27d1667cb0100d1
[]
no_license
caleffa/lomanegra-cursos-ministerio
0430777f7f23e422c0a3aa48ad41c71b20c18bec
c92cf6d70c2cf9c2a7cfd39e88f852e222d21528
refs/heads/master
2023-07-03T06:04:40.293469
2021-08-09T23:55:14
2021-08-09T23:55:14
394,474,306
0
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
from typing import Any from allauth.account.adapter import DefaultAccountAdapter, get_current_site from allauth.socialaccount.adapter import DefaultSocialAccountAdapter from django.conf import settings from django.http import HttpRequest from django.shortcuts import resolve_url from encuestas.models import Encuesta ...
[ "lcaleffa@americavirtualsa.com" ]
lcaleffa@americavirtualsa.com
bdd2d5e5b6e0af6e8bdedaddca15e291e15aa69b
e1dd6d9dccb822d472b7f4f9e8446dd9202eb5a1
/sdk/test/test_scheduling_v1beta1_api.py
df9ee2f3b9b235097a92ca1fddfda040c1a0286e
[]
no_license
swiftdiaries/argo_client
8af73e8df6a28f9ea5f938b5894ab8b7825e4cc2
b93758a22d890cb33cbd81934042cfc3c12169c7
refs/heads/master
2020-05-17T12:11:57.556216
2019-07-24T23:23:33
2019-07-24T23:23:33
183,701,327
0
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
# coding: utf-8 """ Argo API Client Generated python client for the Argo Workflows # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import argo.sdk from api.scheduling_v1beta...
[ "adhita94@gmail.com" ]
adhita94@gmail.com
96c58983dafffd2d7bc3624ce48be044ac52e6a6
ad715f9713dc5c6c570a5ac51a18b11932edf548
/tensorflow/python/tpu/tests/tpu_embedding_v1_correctness_test.py
13ee105e7e4e03c11d03d4c2a342e7a7cc7ace0b
[ "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
rockzhuang/tensorflow
f1f31bc8edfa402b748c500efb97473c001bac95
cb40c060b36c6a75edfefbc4e5fc7ee720273e13
refs/heads/master
2022-11-08T20:41:36.735747
2022-10-21T01:45:52
2022-10-21T01:45:52
161,580,587
27
11
Apache-2.0
2019-01-23T11:00:44
2018-12-13T03:47:28
C++
UTF-8
Python
false
false
13,791
py
# Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
451ec70484000fda302a338852acf332709ecca6
1bad7d2b7fc920ecf2789755ed7f44b039d4134d
/ABC/138/D-1.py
2543595f30ef39026a28d3c80847bb010a317fa7
[]
no_license
kanekyo1234/AtCoder_solve
ce95caafd31f7c953c0fc699f0f4897dddd7a159
e5ea7b080b72a2a2fd3fcb826cd10c4ab2e2720e
refs/heads/master
2023-04-01T04:01:15.885945
2021-04-06T04:03:31
2021-04-06T04:03:31
266,151,065
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
from collections import deque n, q = map(int, input().split()) ab = [list(map(int, input().split())) for i in range(n-1)] px = [list(map(int, input().split())) for i in range(q)] ans = [0]*n adlist = [[] for i in range(n)] for i in range(q): ans[px[i][0]-1] += px[i][1] for i in range(n-1): x, y = ab[i] adli...
[ "kanekyohunter.0314@softbank.ne.jp" ]
kanekyohunter.0314@softbank.ne.jp
892c213e53ab6f5e683ffc239c9749f4aedcd193
e6d08b66d50a93137126f24f8a5bc7118fa32375
/TM1py/Services/ChoreService.py
b3c461073283ef42f817a4957fb9a773aedd3a8a
[ "MIT" ]
permissive
BigFriendly/tm1py
bfb000f8299c335beca494859ed0ec0d2f54ade1
03210d672cc3797025b8de80c42037e1e11f369f
refs/heads/master
2021-02-26T12:38:03.081027
2020-02-05T00:52:35
2020-02-05T21:26:53
245,526,018
0
0
MIT
2020-03-06T22:13:07
2020-03-06T22:13:06
null
UTF-8
Python
false
false
7,472
py
# -*- coding: utf-8 -*- import functools import json from TM1py.Objects import Chore, ChoreTask from TM1py.Services.ObjectService import ObjectService def deactivate_activate(func): """ Higher Order function to handle activation and deactivation of chores before updating them :param func: :return: ...
[ "MariusWirtz2@gmail.com" ]
MariusWirtz2@gmail.com
bfe22330785926fc4d2c6cf528c9842dbfcbed22
d21071464bef4f3fd51e554f280418d06975a77e
/leetcode/43. Multiply Strings.py
747f0a44adaf0dd54d658f7622d6a2399503bed4
[]
no_license
DeshErBojhaa/sports_programming
ec106dcc24e96231d447cdcac494d76a94868b2d
96e086d4ee6169c0f83fff3819f38f32b8f17c98
refs/heads/master
2021-06-13T19:43:40.782021
2021-03-27T14:21:49
2021-03-27T14:21:49
164,201,394
1
0
null
2019-08-27T22:21:26
2019-01-05T09:39:41
C++
UTF-8
Python
false
false
1,373
py
# 43. Multiply Strings class Solution: def multiply(self, num1: str, num2: str) -> str: if num1 == '0' or num2 == '0': return '0' def str_sum(a, b): if len(a) < len(b): a, b = b, a ans, carry = [], 0 b = '0' * (len(a) - len(b))...
[ "noreply@github.com" ]
DeshErBojhaa.noreply@github.com
e855c443e9701c74c9c931a05f911ad23be542d4
182d36353a6e33dc1f27f2dc7c0ae95577941dca
/python大数据分析基础及实战/pandas_data_clean.py
319213a7a6809af5f975e40bdc4f0d7f12be8953
[]
no_license
tp-yan/PythonScript
d0da587162b1f621ed6852be758705690a6c9dce
497c933217019046aca0d4258b174a13965348a7
refs/heads/master
2020-09-02T02:49:20.305732
2019-12-01T06:54:19
2019-12-01T06:54:19
219,115,755
0
0
null
null
null
null
UTF-8
Python
false
false
3,629
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 7 13:27:15 2019 pandas数据处理: 1.数据清洗 处理缺失数据以及清除无意义的信息,如删除无关数据、重复数据,平滑噪声数据,处理缺失、异常值等 @author: tangpeng """ from pandas import Series,DataFrame, read_excel data_source_path = r'C:\Users\tangpeng\Documents\my_data_source\big_data_source' print("================数据清洗========...
[ "tp1084165470@gmail.com" ]
tp1084165470@gmail.com
88d5af0f03ee81abab266a8e5a12b356f24cf021
02255565aff9ea18a4d566955cc53ca06090efa4
/Python 2000/lambda.py
02d5baf6f077110e462b6fd485c2077dce5d8115
[]
no_license
BrainiacRawkib/Practical-Python-for-Begineers
20a8a3697812bed78646c6af54a6dc195694109a
cb29ea1a38339fcf2fac005feb92b5a72ae98387
refs/heads/master
2020-12-01T09:10:06.802758
2019-12-28T15:27:40
2019-12-28T15:27:40
230,598,655
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
lamba = lambda x: x * 2 print(lamba(12)) lambb = lambda x, y, z: lamba(x) + (y * 2) + (z * 2) print(lambb(12, 13, 14))
[ "brainiacrawkib@gmail.com" ]
brainiacrawkib@gmail.com
3af0aa51c68aff6d586fb8fffd88f501e710c456
8e69eee9b474587925e22413717eb82e4b024360
/v1.0.0.test/toontown/parties/InviteVisual.py
4634f5f246c01da12300794e50bed844fd0c9bac
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
6,527
py
from datetime import datetime import calendar from direct.gui.DirectGui import DirectFrame, DirectLabel from toontown.toonbase import TTLocalizer from direct.showbase import PythonUtil from direct.fsm.FSM import FSM from toontown.parties import PartyGlobals from toontown.parties import PartyUtils from toontown.toonbase...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
2ec4319a8b318185cc3a485ae30115f3a6f43c4c
36add5afc63ec09d63b8a877c29c17391938ee5c
/.history/utils_20201113150643.py
b1ea8873e12bf771558a629a51c7e7e9797d58a3
[]
no_license
E-STAT/sentiment_api
e84eb04a9f21c7368ca20bdb97436ffea9f65f25
bd9ee0d78d9eac8b6448b96c2560611a64f7b79d
refs/heads/master
2023-01-12T13:06:14.654883
2020-11-20T11:30:22
2020-11-20T11:30:22
314,534,974
0
0
null
null
null
null
UTF-8
Python
false
false
2,264
py
import re import string import numpy as np from nltk.corpus import stopwords from nltk.stem import PorterStemmer from nltk.tokenize import TweetTokenizer def process_tweet(tweet): """Process tweet function. Input: tweet: a string containing a tweet Output: tweets_clean: a list of words co...
[ "owojori.tolulope@gmail.com" ]
owojori.tolulope@gmail.com
a4899302ed7e52ae6969f56638557bd17b85fe82
0c1cf007f9d5d00ceefaf7be57e3f81c1c49fb11
/lightning_asr/model/convolution.py
a50fc9319b9718886add9479c46efc446f3e0523
[ "MIT" ]
permissive
sooftware/lightning-asr
f345f34dce132a6ccdb393b74c1f9bf0e1ccaac8
3b4d8222fad15c90a8c9b44ecacd67f309b34124
refs/heads/main
2023-04-30T17:46:21.737471
2021-05-19T11:56:33
2021-05-19T11:56:33
357,467,261
16
5
MIT
2021-05-12T14:22:05
2021-04-13T07:46:44
Python
UTF-8
Python
false
false
7,518
py
# MIT License # # Copyright (c) 2021 Soohwan Kim # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, ...
[ "sooftware@Soohwanui-MacBookPro.local" ]
sooftware@Soohwanui-MacBookPro.local
c6150fdd3254128e541a79fb9345a0c27ab09eec
c0c45e74c57d451ca5f17cfd426bbfa8cc8c709a
/examples/wps-uk-station-data/midas/midasSubsetter.py
cb43282f202e4f5a5a6ce1d17a40e521df7b8084
[ "Apache-2.0" ]
permissive
cehbrecht/goshawk
42845f684b1ddd111bd6ed90b2af052fbc8a85a7
224d39a6e4ad64a5dc4034853853bdf8eb683d0b
refs/heads/master
2020-05-01T18:15:30.891875
2019-03-29T22:11:47
2019-03-29T22:11:47
177,620,154
0
0
null
null
null
null
UTF-8
Python
false
false
19,926
py
#!/usr/bin/env python """ midasSubsetter.py ================= Subsets data from the MIDAS flat files. Allows extraction by: - table - date range - column name - value conditions The MIDASSubsetter class needs to be able to see the file 'midas_structure.txt' which is essentially a description of the table contents ...
[ "ehbrecht@dkrz.de" ]
ehbrecht@dkrz.de
70e6484e664647d51041b07444f98e59bc804062
4e44c4bbe274b0a8ccca274f29c4140dfad16d5e
/Push2_MIDI_Scripts/decompiled 10.1.2b5 scripts/Push2/master_track.py
6945fed63946ff4e9f53dc50c482a386c8650f83
[]
no_license
intergalacticfm/Push2_MIDI_Scripts
b48841e46b7a322f2673259d1b4131d2216f7db6
a074e2337b2e5d2e5d2128777dd1424f35580ae1
refs/heads/master
2021-06-24T15:54:28.660376
2020-10-27T11:53:57
2020-10-27T11:53:57
137,673,221
2
0
null
null
null
null
UTF-8
Python
false
false
1,809
py
# uncompyle6 version 3.0.1 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.13 (default, Jan 19 2017, 14:48:08) # [GCC 6.3.0 20170118] # Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\master_track.py # Compiled at: 2018-11-27 11:59:27 from __future__...
[ "ratsnake.cbs@gmail.com" ]
ratsnake.cbs@gmail.com
7cfef3ad9a45a8220295e0ff7f9630081978c9af
a8d8d9343b9cccd03245946cce2b07d247177e63
/Jupyter/work/bitbank/modules/scheduler/scheduler.py
e98d5ef7b44c584145c84a724211d9fed23c294e
[]
no_license
yamaguchi-milkcocholate/milkcocholate
27dad24c6636e98948199dbfac0d5b39d6807529
c8b013344472459b386890cacf4a39b39e9bb5a7
refs/heads/master
2020-03-28T16:04:45.734261
2019-04-06T04:52:15
2019-04-06T04:52:15
148,657,236
0
1
null
2019-04-06T04:52:16
2018-09-13T15:17:46
Python
UTF-8
Python
false
false
1,692
py
import sched import datetime import time class Scheduler: def __init__(self, runner, start, end, second): """ :param runner: object :param start: tuple :param end: tuple :param second: """ self.runner = runner self.start = datetime.datetime(start[0]...
[ "zuuuubo.tetsu@outlook.jp" ]
zuuuubo.tetsu@outlook.jp
20cf2be0e8c4099cad188ec21f432f4050f80d42
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/pres/perleafaggregatedepupd.py
f5b036959f13d5d4e0f60d34e24cf32dfccb64e2
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,041
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
35ab6be71b35fa4128942fbd689562ea1203dcb3
dd2147a468dea361d0cc86eef516106771b3f486
/FlatTreeProducer/test/crabConfig_TT_DYJetsToLL_M-10to50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8.py
5355f6e5c5c6d01c7b08f6eb30eeda16385949e9
[]
no_license
cirkovic/FlatTree
2fe264d6d91ace3e09e0d9c648e7f2f61ad6150a
6103cfc07a3fcf9fd3c8720e24b15b55e109af36
refs/heads/master
2020-07-30T02:05:29.234034
2016-12-07T09:34:52
2016-12-07T09:34:52
73,637,268
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = config() #config.General.requestName = 'FCNC_MC_analysis_TTbar_Hct_1' config.General.workArea = 'crab_projects' #config.General.transferOutputs = True #config.General.transferLogs = True config.JobType.pluginName = 'Analysis' config.JobType.p...
[ "predrag.cirkovic@cern.ch" ]
predrag.cirkovic@cern.ch
579b1c0adfccd115f17b6c8ca30c0a740f1f152c
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/communication/azure-communication-networktraversal/samples/network_traversal_samples.py
e0a658cbd18786cc9af061a881171e1587388e80
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
3,611
py
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
catchsrinivas.noreply@github.com
ea82efb595ff46fca54727748c1b999323c90b93
a07fd8aca2d69ade2e388054dd2c1c9991232185
/tests/test_tutorial/test_extra_models/test_tutorial005_py39.py
7278e93c36ae40070c1e1c9c204a6b9fe699ffdc
[ "MIT" ]
permissive
vitalik/fastapi
76b71bbbade19f12484c73dcbdca426197cc2db6
0276f5fd3aafb38dcbb430177a4685aeb58e5c69
refs/heads/master
2023-08-01T06:56:06.053824
2023-07-25T20:46:02
2023-07-25T20:46:02
315,668,229
1
0
MIT
2020-11-24T15:07:16
2020-11-24T15:07:15
null
UTF-8
Python
false
false
1,668
py
import pytest from fastapi.testclient import TestClient from ...utils import needs_py39 @pytest.fixture(name="client") def get_client(): from docs_src.extra_models.tutorial005_py39 import app client = TestClient(app) return client @needs_py39 def test_get_items(client: TestClient): response = clie...
[ "noreply@github.com" ]
vitalik.noreply@github.com
a5c2ed13a059f9c0461c139bca5cf192899f27f1
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_174/ch15_2020_09_26_19_02_03_724087.py
7093b5ceea863fa860debe8cedbf5d38ea052f2d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
NOME=input("Qual o seu nome?") if NOME=='Chris': print("Todo mundo odeia o Chris") else: print("Olá,NOME")
[ "you@example.com" ]
you@example.com
31a29ed36747fc61bbeb4a01851ced2c621d027f
0d65e96ce358b7a6827734f6a5598f8a7ecf75e8
/klokah/補充教材句型篇解析.py
cade41c9545c7c4ac6eb047e4cc7e3d86f0b49cd
[]
no_license
Taiwanese-Corpus/klokah_data_extract
68f26cb8e851a6ea2e05995d02a7e4e01e4481b3
25cd44b68075b7650a8ec10c1c38eb16b3ca113d
refs/heads/master
2021-01-18T12:45:46.420151
2015-11-04T13:03:32
2015-11-04T13:03:32
34,839,122
1
0
null
null
null
null
UTF-8
Python
false
false
5,474
py
from bs4 import BeautifulSoup from os.path import dirname, join, abspath class 補充教材句型篇解析: 專案目錄 = join(dirname(abspath(__file__)), '..') def 解析全部檔案(self): with open(join(self.專案目錄, '資料', 'dialectView.xml')) as 檔案: for 方言 in BeautifulSoup(檔案.read(), 'xml').find_all('item'): ...
[ "ihcaoe@gmail.com" ]
ihcaoe@gmail.com
ce1d61db205731db825c00f838e83aaa92c2bb1d
d40ffccfb981d789ead4e5e3be150c4b55fd9547
/test/test_quantized_nn_mods.py
2af6f3b8302548cddff206305c2797104f08506a
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
bhelo/pthorch
0307fa4a64cf130667a183b2ce341c712d898cfc
6590ecf1c9d30c2cfa5dbc762ce03672275ac8af
refs/heads/1.3.namedComp
2022-11-11T18:05:24.384016
2019-10-07T03:04:28
2019-10-07T03:04:28
236,931,055
0
1
NOASSERTION
2022-10-22T19:34:46
2020-01-29T07:57:41
C++
UTF-8
Python
false
false
23,850
py
import torch import torch.nn.quantized as nnq import torch.nn.quantized.dynamic as nnqd import torch.nn._intrinsic.quantized as nnq_fused import torch.nn.quantized.functional as qF from torch.nn.quantized.modules import Conv2d from torch.nn._intrinsic.quantized import ConvReLU2d import torch.quantization from common_ut...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
960b6662c8bb4ab84cb3afa154fccf1b85150481
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/benanne_kaggle-ndsb/kaggle-ndsb-master/configurations/bagging_20_cp8.py
076d49cce4675181859ea0dde853b7ff7e22974b
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
5,727
py
import numpy as np import theano import theano.tensor as T import lasagne as nn import data import load import nn_plankton import dihedral import dihedral_fast import tmp_dnn import tta validation_split_path = "splits/bagging_split_20.pkl" patch_sizes = [(95, 95), (95, 95)] augmentation_params = { 'zoom_ran...
[ "659338505@qq.com" ]
659338505@qq.com
3307b14e93f64351ac32c094b1588ce301c3bf9c
f0b549be6b291d98c20efc8a7b6322ae556f0068
/data_structures/tree/binary_search_tree/binary_search_tree.py
195990630439a798f46f1de4c5072e9efba16155
[]
no_license
ehdgua01/Algorithms
3607871d35521172e5f94c5dccb3b4e9e008fe61
107173ddf91f3588f10adbe294b64d680675a9ee
refs/heads/master
2022-03-16T10:47:34.986441
2022-03-03T14:59:19
2022-03-03T15:28:44
249,157,085
3
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
""" 대용량의 데이터에 적합하지 않은 알고리즘이지만, 이진 탐색 트리 자료 구조를 학습하기 위한 알고리즘입니다. """ class Node(object): def __init__(self, value) -> None: self.left = None self.right = None self.parent = None self.value = value class BinarySearchTree(object): def __init__(self) -> None: self.root = ...
[ "ehdgua01@naver.com" ]
ehdgua01@naver.com
bf650208e6b6746d1222cef1a8020c6fc0507a04
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/exclamations/_mans.py
9abf726d7a0faffa49e8a16610dd007e86804acd
[ "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
231
py
from xai.brain.wordbase.exclamations._man import _MAN #calss header class _MANS(_MAN, ): def __init__(self,): _MAN.__init__(self) self.name = "MANS" self.specie = 'exclamations' self.basic = "man" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
dae6a8f58e1e7f55370b2c531273fc77c51f3f32
a62c437ed0beca4bb32cd085c7ba7bad80ce2022
/urls.py
1528960e812fc75085bdf164dade44bdc4fba14c
[ "MIT" ]
permissive
Lvxingpai/viae-gateway
d23303324e533bbe85f6209d3ca0eb67c9f5b07f
5d88c3f0c7d1edd3e42da6bed6b866374ff7977b
refs/heads/master
2021-01-10T16:58:05.079719
2016-01-15T06:23:01
2016-01-15T06:23:01
49,177,568
1
0
null
2016-01-10T08:50:08
2016-01-07T03:09:39
Python
UTF-8
Python
false
false
254
py
from django.conf.urls import url from app.views import tasks, pong # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = [ url(r'ping/?$', pong), url(r'^tasks/?$', tasks) ]
[ "haizi.zh@gmail.com" ]
haizi.zh@gmail.com
d9c5c7a4043db90471483a4129edf0208f509295
c97a3396b9a574a8b43240a3a9d139be5d8dd204
/config/setting.py
2749adf6382f19add77cf0b560943e49549760ff
[]
no_license
cs4224485/ATM
524f69335b8d0ca3cf910b9af36737370ab23d6c
c6ce9be03b55390f20f2bc763ade3fe8998dec9e
refs/heads/master
2020-03-27T06:23:08.788653
2018-08-26T02:11:14
2018-08-26T02:11:14
146,101,769
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
# Author: harry.cai # DATE: 2018/1/31 import os import logging BASEDIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) USER_DB_PATH = os.path.join(BASEDIR, 'account', 'userdb') ADMIN_DB_PATH = os.path.join(BASEDIR, 'account', 'admindb') LOGGER_DB_PATH = os.path.join(BASEDIR, 'log', 'logdb') # 日志类型 LogTy...
[ "414804000@qq.com" ]
414804000@qq.com
dae6836cf32d21b82c2ab6ec8088998e119643f4
60ec1bf5342eca3d97629dcdf974f7731d7be12b
/streamblocks/migrations/0002_indexedparagraph_height.py
99cb5c1e1beb6fc4e73c255c435ba02a862c3105
[ "BSD-2-Clause" ]
permissive
andywar65/rpnew_base
8eef1b71562a00889d170b1668faa487a753cb05
9281cb16783313a1cd23b1394f2bad485ac1b33d
refs/heads/master
2020-09-07T15:06:23.205802
2020-03-09T17:24:13
2020-03-09T17:24:13
220,818,439
1
0
BSD-2-Clause
2020-02-16T12:30:04
2019-11-10T16:38:52
Python
UTF-8
Python
false
false
468
py
# Generated by Django 3.0.2 on 2020-02-07 15:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('streamblocks', '0001_initial'), ] operations = [ migrations.AddField( model_name='indexedparagraph', name='height', ...
[ "andy.war1965@gmail.com" ]
andy.war1965@gmail.com
6dd9bbaa78c54ffbd643c88383638be880d8dd27
bcdb24b6e8ffb2f0616e68965c1cb69841bde302
/ml_explore/deepLearning/multi_gpu.py
bbab9a937466b0d88c600b89de753efce966fdfa
[]
no_license
Fisher87/ai_explore
962fcf66acf81077ffe5cbd37108ea12ca2eb70a
90898f8315a71207f746c57476a175bb92ef7a85
refs/heads/master
2022-09-12T23:42:28.360063
2022-09-01T07:06:35
2022-09-01T07:06:35
224,246,505
63
14
null
null
null
null
UTF-8
Python
false
false
13,254
py
#!/usr/bin/env python # coding=utf-8 #================================================================ # Copyright (C) 2020 Fisher. All rights reserved. # # 文件名称:mulit_gpu.py # 创 建 者:YuLianghua # 创建日期:2020年01月09日 # 描 述:多卡训练 # reference: [1]. https://github.com/tensorflow/models/blob/master/tutorial...
[ "yulh@tuya.com" ]
yulh@tuya.com
90dcd5b53232078c0c9160884ae5f2822bd1bd20
5241641cba4a6cf3b87284b72dcc5b6e70504f32
/events/views.py
842acbc90dfabe8acfe9851c847e7b8e158243a9
[]
no_license
sdnnet3/coocooclub
a11505b2559b199164f2d881fa37a65cf9767aac
5b1708194386048f62aa8222ef619f854758c556
refs/heads/master
2020-06-11T15:37:01.437796
2019-08-26T05:37:48
2019-08-26T05:37:48
194,009,534
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
from django.http import HttpResponse from django.shortcuts import render from . models import event def eventPage(request): eventList = event.objects.order_by('-date') context = {'eventList':eventList} return render(request, 'events/twocolumn1.html', context)
[ "clayton.hutton@gmail.com" ]
clayton.hutton@gmail.com
88c7325a6d02e081335eedd2028496386aeda85d
540d62df9ac5a33598325f0a1267f31decf2b496
/src/tests/mpi/common.py
ec7c0975d823d1f52a2a05114e315dd6c31ebd47
[ "MIT" ]
permissive
ghackebeil/pybnb
a83c98995f11e30c3c752347f511dc4f80be4a4f
1f69b0684cfbe83d69ca1be00641ce438cbc3d7b
refs/heads/master
2021-07-14T11:59:10.955888
2021-07-08T16:33:05
2021-07-08T16:33:05
130,922,413
55
10
MIT
2019-12-27T23:50:41
2018-04-24T22:54:21
Python
UTF-8
Python
false
false
127
py
try: import mpi4py # noqa: F401 mpi_available = True except ImportError: # pragma:nocover mpi_available = False
[ "gabe.hackebeil@gmail.com" ]
gabe.hackebeil@gmail.com
54f5da8cad0ea0623c6b009e440ad3adf8dcbe11
1577e1cf4e89584a125cffb855ca50a9654c6d55
/pyobjc/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/test_nspathutilties.py
081c53662d09d0758abb0d4e48365801798ec651
[ "MIT" ]
permissive
apple-open-source/macos
a4188b5c2ef113d90281d03cd1b14e5ee52ebffb
2d2b15f13487673de33297e49f00ef94af743a9a
refs/heads/master
2023-08-01T11:03:26.870408
2023-03-27T00:00:00
2023-03-27T00:00:00
180,595,052
124
24
null
2022-12-27T14:54:09
2019-04-10T14:06:23
null
UTF-8
Python
false
false
3,966
py
from PyObjCTools.TestSupport import * from objc import * from Foundation import * try: unicode except NameError: unicode = str class TestNSPathUtilities(TestCase): def testSearchPaths(self): self.assert_( NSSearchPathForDirectoriesInDomains( NSAllLibrariesDirectory, NSAllDomainsMa...
[ "opensource@apple.com" ]
opensource@apple.com
85886a94f7c1a38d4d18359f4ddc35d5a4e21590
95368a0ed3e5d50ff3b8a435ecab9e8332772ec0
/fluent_utils/softdeps/comments.py
fda3da49895771ec2e1e48311a8e0c9e3f9f9262
[ "Apache-2.0" ]
permissive
seroy/django-fluent-utils
7ed4a850f5651d12f68b55b4588d1d5f631bc67d
dfd4b65a27830876dd71f9d7a20a51c889a0468b
refs/heads/master
2021-05-10T10:24:45.711558
2017-11-21T10:14:27
2017-11-21T10:15:47
118,381,508
0
0
null
2018-01-21T23:00:58
2018-01-21T23:00:58
null
UTF-8
Python
false
false
7,390
py
""" Optional integration with django-contrib-comments This avoids loading django_comments or django.contrib.comments unless it's installed. All functions even work without having the app installed, and return stub or dummy values so all code works as expected. """ import django from django.conf import settings from dj...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
e8aa4e017e03c9d4c842e5c2b7bf15b3b18d5232
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03067/s448549647.py
f1bc365f60080966c05a2d74e27b78edf38e977c
[]
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
96
py
A, B, C = map(int, input().split()) print('Yes' if C in range(min(A, B)+1, max(A, B)) else 'No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0a1a20b8bc8d9ad824d050a5ba78fdd7a944c3b1
8454441f899c3beb9fcea26cffc2f4c3cf75ff6a
/common/code/snippets/parasites/tweetable-polyglot-png-main/pack.py
cd7f50bd6f7027a29ee8897d091d8db24a8d38ad
[ "MIT" ]
permissive
nevesnunes/env
4a837e8fcf4a6a597992103e0a0c3d0db93e1c78
f2cd7d884d46275a2fcb206eeeac5a8e176b12af
refs/heads/master
2023-08-22T15:49:35.897161
2023-08-15T13:51:08
2023-08-15T13:51:08
199,400,869
9
6
MIT
2023-06-22T10:59:51
2019-07-29T07:24:47
Python
UTF-8
Python
false
false
1,941
py
import zlib import sys PNG_MAGIC = b"\x89PNG\r\n\x1a\n" if len(sys.argv) != 4: print(f"USAGE: {sys.argv[0]} cover.png content.bin output.png") # this function is gross def fixup_zip(data, start_offset): end_central_dir_offset = data.rindex(b"PK\x05\x06") cdent_count = int.from_bytes(data[end_central_dir_offset+10...
[ "9061071+nevesnunes@users.noreply.github.com" ]
9061071+nevesnunes@users.noreply.github.com
c1fbbf0d68a638d41feb44374be008c294de2af1
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/kid_part_day/year_air/netflix_number/DNS/man_money_eye/morning.py
3cfcdaf46151c709896bd057eb2685a9b783a373
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
export async function getWebTranslation(text, sourceLanguage, targetLanguage) { let https = require ('https'); let host = 'api.cognitive.microsofttranslator.com'; let path = '/translate?api-version=3.0'; let params = '&from=' + sourceLanguage + '&to=' + targetLanguage; let content = JSON.stringify ([{'Text' :...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
6da545845c30626b26358c919e8cfd2df26da36b
f48d22a65b9c55f444ba63322272fc43a18be7f8
/src/pybel/utils.py
19f04bea60c020b4b14102e6c0bb59aa43211d64
[ "Apache-2.0" ]
permissive
stashkov/pybel
61b5eb52c83b0a830fcb77402a64a10dc74acf95
04dfd714d1469a149540465b09852ef64f12305e
refs/heads/master
2020-03-26T03:51:36.011893
2018-07-31T11:28:52
2018-07-31T11:28:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,999
py
# -*- coding: utf-8 -*- from collections import Iterable, MutableMapping, defaultdict import hashlib import json import logging import networkx as nx import pickle from datetime import datetime from six import string_types from .constants import ( CITATION_AUTHORS, CITATION_ENTRIES, CITATION_REFERENCE, CITATION_...
[ "cthoyt@gmail.com" ]
cthoyt@gmail.com
4d81faf8a6f057dae590eb378f38613b1f2d8f3a
6e17999700d87263f3b2d146fc8b0502b31094cc
/setup.py
86bed86eabe2291fdf92ca55990832adca2ef179
[]
no_license
libargutxi/collective.newsticker
9c85f75de24ad5be578c485b18f48d832b3ba402
11e596a5379608b920e20a1f231e6e29722457c4
refs/heads/master
2020-12-25T11:52:16.705745
2012-12-11T08:07:21
2012-12-11T08:07:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,938
py
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages version = '1.0rc2.dev0' long_description = open("README.txt").read() + "\n" + \ open(os.path.join("docs", "INSTALL.txt")).read() + "\n" + \ open(os.path.join("docs", "CREDITS.txt")).read() + "\n" + \ ...
[ "hector.velarde@gmail.com" ]
hector.velarde@gmail.com
40c3139932cc04676b0b8dc6ab3baa716e931bc9
4e8cab639ddfa3e791b5b3a08aa491fb92c1ecaa
/Python_PostgresSQL/Python Refresher/errors_in_python.py
7db3aaa46306a070397b8a7f319c0b86d4ef62ca
[]
no_license
LesediSekakatlela/SQL_projects
49b91bebdf6f9b1176c40c3752232ab8d3d091dd
9c78fc027dd137ef96446ea0946343293f3be007
refs/heads/main
2023-07-13T02:41:41.261558
2021-08-20T09:03:23
2021-08-20T09:03:23
386,646,245
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
def divide(dividend, divisor): if divisor == 0: raise ZeroDivisionError("Divisor cannot be 0.") return dividend / divisor students = [ {"name": "Bob", "grades": [75,90]}, {"name": "Rolf", "grades": [50]}, {"name": "Jen", "grades": [100,90]}, ] print("Welcom to the average grade program...
[ "leseditumelo32@gmail.com" ]
leseditumelo32@gmail.com
7010d13dee74c17cf18df227a66134c0f8afed28
39f2ff90808f68c2d88778a1d60ccf27c1d18121
/leetcode/python/258.py
fba101b1fd8d04e081c5832730d8c2acf0ceea0c
[]
no_license
JushuangQiao/MyCodes
f4912d997fce8c14f5357e497fe52280e8bdaddf
2fd6842784ef8e56e4e5f742ce1313d17130c0d9
refs/heads/master
2021-01-10T23:53:13.346573
2018-05-12T11:57:03
2018-05-12T11:57:03
70,792,457
0
0
null
2017-04-19T10:31:55
2016-10-13T09:47:30
Python
UTF-8
Python
false
false
330
py
class Solution(object): def addDigits(self, num): """ :type num: int :rtype: int """ s = str(num) while len(s) != 1: s = str(sum([int(i) for i in s])) return int(s) '''if num == 0: return 0 return num % 9 if num % 9 !=0 ...
[ "747848783@qq.com" ]
747848783@qq.com
5a812f1449a8e78359f47d198f701adab733c96d
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/src/sims4communitylib/enums/tags_enum.py
3ddd96b101db644b2c3c94b042532665a4412b5a
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
209,543
py
""" The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode Copyright (c) COLONOLNUTTY """ from sims4communitylib.enums.enumtypes.common_int import Co...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
ea712da6c3c5368cbe62fe07cdf80b5d4dfe2388
9c894d56f153156b82bc4bbde2db09fb04ec58cf
/17/mc/ExoDiBosonResonances/EDBRTreeMaker/test/c23000.py
ec854653b2df327b7979e936336071e57cb3f4fb
[]
no_license
gqlcms/run2_ntuple
023bb97238980e3d4e7b8c112bc11e63658f1844
196c90facf042a64fddfef1e1c69681ccb9ab71c
refs/heads/master
2020-08-04T09:01:43.466814
2019-10-01T11:40:36
2019-10-01T11:40:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,400
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'c2_3000' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName='Analysis' config.JobType.sendExternalFolder=True# = 'Analysis' config.JobType.inputFiles ...
[ "c.chen@cern.ch" ]
c.chen@cern.ch
3c30e065e142dc6f48ba905cc61fc78f98dfea69
5f4d82c3a6b89b75da63893b77892f9e252b7b06
/first_year/combinatorial_algorithms/Labs/first/reverse_order/sorter_binary_insertions.py
22984bc44d908dfb7fa01398d68f5be183655f44
[]
no_license
jackiejohn/ifmo
180813cbde45e3e4842452c9a57b5d54bbd207ce
c5ad17de8bfc6baa3c6166220849c564e1071e4b
refs/heads/master
2021-06-02T06:58:47.726339
2017-12-28T16:46:19
2017-12-28T16:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
import time f = open('data1024.txt') j=0 k = [] numberofelements = int(f.readline()) while j<numberofelements: i = int(f.readline()) k.append(i) j=j+1 tit1=time.time() for i in range(1,len(k)): if k[i-1]>k[i]: left = 0 right = i - 1 while True: mid ...
[ "zeionara@gmail.com" ]
zeionara@gmail.com
0152c1fa815851d72ad325f7a22d2e29930e2d13
545bdb267ecc33ead36fadbbb94b0b9584a0d281
/train_test/model.py
cd9663d35505c065df0fc99bcf241339af590da5
[]
no_license
Sardhendu/DeepFaceRecognition
20fb19fccd330505953a7a8796152caff224e8ae
b360a6df8c11f6ddcb5fd58aa55e2b70bb1df23d
refs/heads/master
2021-09-10T15:08:39.868773
2018-03-28T08:28:12
2018-03-28T08:28:12
112,471,536
21
7
null
null
null
null
UTF-8
Python
false
false
3,848
py
from __future__ import division, print_function, absolute_import from nn.loss import loss from nn.network import * from config import myNet, vars import tensorflow as tf def trainModel_FT(imgShape, params, init_wght_type='random'): inpTensor = tf.placeholder(dtype=tf.float32, shape=[None, imgShape[0], imgShape[1]...
[ "sardhendumishra@gmail.com" ]
sardhendumishra@gmail.com
42871c96c31961ac437daddcb2ba133e49eda6cb
ac1ce9002c03014482e8f6b190eae1595affee4b
/src/adjust_brightness_pre-process.py
e86d39cd791f90685a044be93a2b1b112831f651
[]
no_license
tom-uchida/brightness-adjustment
83a35601c283ce6069467f019c75a6af84fc4d2e
f79c07dab20db7d55d48039d7f05b6f4a8617fdd
refs/heads/master
2023-03-05T18:05:30.338443
2021-02-13T08:21:45
2021-02-13T08:21:45
150,406,878
1
0
null
null
null
null
UTF-8
Python
false
false
29,893
py
###################################################### # @file adjust_brightness_decompose_mapping.py # @author Tomomasa Uchida # @date 2019/10/27 ###################################################### import numpy as np from matplotlib import pyplot as plt from matplotlib import cycler from scipy import sta...
[ "tomomasa.is.0930@gmail.com" ]
tomomasa.is.0930@gmail.com
e7a80b2a8b0153488c715141516c2261b6829a26
22b8c680d7787cc9fcee678cdeed73dc685a4d0f
/sdk/python/gnmi/ydk/gnmi/path/__init__.py
137096fb8ef3bb58c7b13c9c66c85a58cb06492a
[ "Apache-2.0" ]
permissive
CiscoDevNet/ydk-gen
cf36433acb8d90b514f8748531a2cb06e66f7f2d
27dd7d85134a62aa9e9fa48edc0359d32b6a31ec
refs/heads/master
2023-05-13T22:52:26.135573
2023-02-01T03:27:31
2023-02-01T03:27:31
53,680,541
138
98
Apache-2.0
2023-09-07T21:55:37
2016-03-11T16:27:20
C++
UTF-8
Python
false
false
781
py
# ---------------------------------------------------------------- # Copyright 2018 Cisco Systems # # 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/LICENS...
[ "ygorelik@cisco.com" ]
ygorelik@cisco.com
de449801de7b76559d6fec4f67ff7fccf572dd49
6fcdfb6cf2a1cbd4d40afd41bd229557abd54d67
/mark2cure/common/formatter.py
b2920170923d72a1e47164b708a045b5320a03f0
[ "MIT" ]
permissive
gtsueng/mark2cure
37f96fa4ba155020a2cc88c8ce0760b2a38e7c71
715c577bbf8e4ebd100c0dbc1837a95a73447fc8
refs/heads/master
2021-01-21T09:46:36.925815
2016-11-29T22:14:55
2016-11-29T22:14:55
56,716,223
0
0
null
2016-05-20T19:00:11
2016-04-20T19:43:35
Python
UTF-8
Python
false
false
8,593
py
from ..common.bioc import BioCWriter, BioCCollection, BioCAnnotation, BioCLocation, BioCRelation, BioCNode import xmltodict import itertools import datetime import json import nltk def pad_split(text): text = text.replace("\\(", " ( ") text = text.replace("\\)", " ) ") text = text.replace("\\.", " . ") ...
[ "max@maxnanis.com" ]
max@maxnanis.com
a00d423fc4ebad8852831d27ef7fe2ef797459ae
cad9c13ad5864317d7687b44f39db42a402f36f0
/venv/Scripts/soup-script.py
0e1a7ceadb25db4f357a25515879b4e87932b898
[]
no_license
handaeho/lab_python
12b686eb0d57358509f2d0cd607064deced5b25d
da068ea62682ffa70c7d23dde4ef132c49a81364
refs/heads/master
2020-11-26T08:22:27.656109
2020-04-13T02:28:47
2020-04-13T02:28:47
229,013,932
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
#!C:\dev\lab-python\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'soup==0.1.0','console_scripts','soup' __requires__ = 'soup==0.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "mrdh94@naver.com" ]
mrdh94@naver.com
16b8749ac5d03d7fa63239a1514a756a3a9d7c18
727e50c524c229bc7736a757fbc51cc5939b7e10
/peering/migrations/0034_auto_20190308_1954.py
03ed8a1d6237d1de1c86a9282d59370a63321db8
[ "Apache-2.0" ]
permissive
netravnen/peering-manager
71fbe1801fe6e063ac1b4375cdb9fe3c8c3feee5
c2a5149b3cb197291e0c9c10040738ce5fb29f02
refs/heads/main
2023-08-17T02:56:43.799975
2023-07-04T18:23:15
2023-07-04T18:23:15
149,284,135
0
0
Apache-2.0
2023-09-11T08:18:27
2018-09-18T12:24:28
Python
UTF-8
Python
false
false
711
py
# Generated by Django 2.1.7 on 2019-03-08 18:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("peering", "0033_router_encrypt_passwords")] operations = [ migrations.AlterModelOptions( name="routingpolicy", options={ ...
[ "guillaume@mazoyer.eu" ]
guillaume@mazoyer.eu
2f478ff41ee28ca4a2b766dd50ae38fe69fbc4a1
b9a23d1947f5f6328ca13c7e652499173f64da47
/s_081/s_081_plotter.pyde
9d43ff8402374529d9c685ad205a498e69d768ab
[]
no_license
berinhard/sketches
96414a14ec40ca1281dcd8b2fec2c50db1d76e9a
f0e4be211397f205bcc6bd2c8b053b920a26bb62
refs/heads/master
2021-06-09T07:49:59.220785
2020-12-08T04:14:55
2020-12-08T04:23:43
137,092,663
41
15
null
2021-03-20T00:41:39
2018-06-12T15:34:49
JavaScript
UTF-8
Python
false
false
2,108
pyde
# Author: Berin # Sketches repo: https://github.com/berinhard/sketches from random import choice from save_frames import save_video_frames add_library('svg') WHITE = color(235, 235, 235) WHITE_WITH_ALPHA = color(235, 235, 235, 70) BLACK = color(27, 27, 27) RED = color(181, 32, 10, 7) GOLDEN = color(218, 185, 32, 7) ...
[ "bernardoxhc@gmail.com" ]
bernardoxhc@gmail.com
526c71bd6687a28464391300348158e387bdff04
9d91b256f737b90d397d7a9306ba0c5874027de1
/tests/duration/test_add_sub.py
92d97c70022b77b875b60c210a8b234536f30aa2
[ "MIT" ]
permissive
devcode1981/pendulum
bde8e60526048c346fa4d420bf10fa338310efe1
af128be06f6b42f8127ba906e418961396919ea7
refs/heads/master
2023-04-07T08:07:46.284600
2018-11-25T03:09:34
2018-11-25T03:09:34
158,993,326
1
0
MIT
2023-04-04T01:06:21
2018-11-25T03:10:25
Python
UTF-8
Python
false
false
1,162
py
import pendulum from datetime import timedelta from ..conftest import assert_duration def test_add_interval(): p1 = pendulum.duration(days=23, seconds=32) p2 = pendulum.duration(days=12, seconds=30) p = p1 + p2 assert_duration(p, 0, 0, 5, 0, 0, 1, 2) def test_add_timedelta(): p1 = pendulum.du...
[ "sebastien@eustace.io" ]
sebastien@eustace.io
1a634ab28dee07221b1c19f9000ec0baf19a5a2b
6ee05982a411d09a38526de738372a29b0585bb3
/language/canine/tydiqa/data.py
3202f7c42302da0929ad964e2f23bd913a9001e4
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
rpiryani/language
661b3f996c041ef0ea8a0a11fcc762ab82de03d2
6a33c77284add1c978d5b022c7ba63b54d4f54c3
refs/heads/master
2023-04-19T19:19:22.118137
2021-04-30T18:24:14
2021-04-30T18:44:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,746
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
[ "kentonl@google.com" ]
kentonl@google.com
dfc5b8648b212583d761bc97c8fecf2e919110d5
362fc140b0a179878ecb9121bf83e10d78f60ce0
/mlprodict/onnxrt/shape_object.py
014119895379b6fe5a2512bb6c9d38ba26a54dcb
[ "MIT" ]
permissive
adrinjalali/mlprodict
4694e7f8435c13079082ad8726698a4b1b74ea8d
bc1606ec3683a7e2830875350eafc8cb8e2bc3a0
refs/heads/master
2020-06-23T13:38:08.097582
2019-08-13T12:50:29
2019-08-13T12:50:29
198,639,337
0
0
null
2019-07-24T13:18:00
2019-07-24T13:17:59
null
UTF-8
Python
false
false
23,872
py
""" @file @brief Shape object. """ import numpy class BaseDimensionShape: """ Base class to @see cl DimensionObject, @see cl ShapeOperator, @see cl ShapeObject. """ def to_string(self, use_x=True): """ Converts the object into a string. """ raise NotImplementedErro...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
af34211344ee131cb660ec7830500c7c4adce6fb
fee1f9ec7be6049a27396ca24fb12287d36f66af
/19100101/echojce/d6_exercise_stats_word.py
5829b67c7d96bc59958eca82d0447526895c4da3
[]
no_license
zhoujie454650/selfteaching-python-camp
4a85c7a792157af84c1ecfc3468c1401f946a48a
5bb6a0c35adb3e26fee0ac68f29e12ac11a13710
refs/heads/master
2020-05-01T09:49:06.986010
2019-05-14T12:32:50
2019-05-14T12:32:50
177,408,611
0
0
null
2019-03-24T11:59:04
2019-03-24T11:59:04
null
UTF-8
Python
false
false
3,128
py
# this is d6 excercise for defining functions # date : 2019.3.23 # author by : qiming # 示例字符串 string1 = ''' The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is bette...
[ "6396023+realcaiying@users.noreply.github.com" ]
6396023+realcaiying@users.noreply.github.com
0a2b8d5776dab01f8b75e847a18ca27dee3f0e87
5a281cb78335e06c631181720546f6876005d4e5
/ec2-api-8.0.0/ec2api/tests/unit/test_integrated_scenario.py
aea31950559b9408e34a661f7b99407d9673427d
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
12,986
py
# Copyright 2014 # The Cloudscaling Group, 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 applicable law or agreed to...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
a70f46a6bea169b6595b64c976d186f17c1cc171
b47abf1a1e7daf4320c2c3a35d963ac6f7663702
/mvpa/atlases/__init__.py
f09b72cb2af45c503c104bdd62bf243a69891440
[ "MIT" ]
permissive
gorlins/PyMVPA
d9690399b24ae7d760735b4aa858e08912c9235d
2a8fcaa57457c8994455144e9e69494d167204c4
refs/heads/master
2021-01-16T18:08:43.289333
2009-09-05T15:06:35
2009-09-05T15:06:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the PyMVPA package for the # copyright and license terms. # ### ### ### ### ###...
[ "debian@onerussian.com" ]
debian@onerussian.com
d545c9d0153fe73fb3024225c493f6309795b2bb
11c036911cf893325199d9e9a91a11cd1dca7c90
/bst_iterator/solution.py
b4cc675a147cbbf30c4d9a1c0e14e5e271338b95
[]
no_license
arpiagar/HackerEarth
34f817f69e94d88657c1d8991a55aca302cdc890
4a94f1b11a353ab6b2837a1ac77bfbd7c91f91d2
refs/heads/master
2021-07-18T14:23:05.124943
2021-02-09T21:58:12
2021-02-09T21:58:12
19,204,412
0
1
null
null
null
null
UTF-8
Python
false
false
2,192
py
#https://leetcode.com/problems/binary-search-tree-iterator/submissions/ # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None # 7 3 class BSTIterator: def __init__(self, root: TreeNode): self.node_li...
[ "arpit.agarwal@booking.com" ]
arpit.agarwal@booking.com
91f420a5007fb80dea0f2198aa6fae2d6e6c238f
c5b7e98aa295b3bd0596e7fca1028e1e9bbba122
/ARK.py
c4bf5b8be6a55dd47b4be6078c2115d417f9f47f
[]
no_license
sunomon/100at6low10
a3439462fd8c2e92eb0b94e634cdf7c2c92f93e3
d062161e542fe6d6168204f5a45ae6da62b6f589
refs/heads/main
2023-06-11T18:31:11.533914
2021-07-06T09:07:46
2021-07-06T09:07:46
382,562,626
0
0
null
null
null
null
UTF-8
Python
false
false
7,377
py
import time import pyupbit import datetime import schedule from fbprophet import Prophet access = "PgXnWWPxxv88s7z2PSnz4aoqaYL0gxkRxReK0WDK" secret = "wgCfiEmQVH76s9sblwFKQsOKOp91t2ic3XAHuNsK" def get_target1_price(ticker, k): df = pyupbit.get_ohlcv(ticker, interval="day", count=2) target1_price = df.iloc[0][...
[ "noreply@github.com" ]
sunomon.noreply@github.com
2c43299ecc34ec23afb270c90846c746c8306059
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02761/s462447361.py
69384e889176bfda05dabb08fc5eb2678077220e
[]
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
674
py
def resolve(): N, M = list(map(int, input().split())) SC = [list(map(int, input().split())) for _ in range(M)] value = [None for _ in range(N)] for s, c in SC: if not (value[s-1] is None or value[s-1] == c): print(-1) return value[s-1] = c for i in range(N): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d68d1d9bd66667fde387802ccfbcdabf02aefc98
9294b3424928386124eee22d436f2eb8d4c261f2
/agents/views.py
f05aa26bc8f3ce5586cdf06554387ef1d39b3eaf
[]
no_license
khrispin-whiteman/buysellauto
1cb8ff0459f5cfeb81fcd1af5dc5fc7f27f478dd
e1cae7bdb8c74102eabd70f154c0ef0f03758d63
refs/heads/master
2022-11-10T23:28:19.151335
2020-06-21T14:45:08
2020-06-21T14:45:08
241,604,117
0
0
null
null
null
null
UTF-8
Python
false
false
10,822
py
from django.contrib import messages from django.contrib.auth import authenticate, login from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.views import LoginView from django.core.exceptions import ValidationError from django.http i...
[ "khrispinwhiteman@gmail.com" ]
khrispinwhiteman@gmail.com
2aa898f0fc19d777a0f1a0ab64f2ad7965b9298b
bcbc5fbdaf73146c1473f925d8d3303ef9d1256f
/tests/logic_adapter_tests/test_data_cache.py
007497cde3d393ad5e93ca65c3daac80d9cfd547
[ "BSD-3-Clause" ]
permissive
korymath/ChatterBot
b1a3b2700d4eefbbc5a3460e174dd9d539131902
b517e696e016b6c2fae4b5326029b16d45ee6471
refs/heads/master
2021-01-15T09:27:41.970135
2016-04-08T05:21:35
2016-04-08T05:21:35
55,752,170
1
0
null
2016-04-08T05:18:31
2016-04-08T05:18:31
null
UTF-8
Python
false
false
2,270
py
from unittest import TestCase from chatterbot import ChatBot from chatterbot.adapters.logic import LogicAdapter from chatterbot.conversation import Statement import os class DummyMutatorLogicAdapter(LogicAdapter): """ This is a dummy class designed to modify a the resulting statement before it is returned...
[ "gunthercx@gmail.com" ]
gunthercx@gmail.com
48e884145f2d6d824b9b7ca96b18b696b8ba315c
5d9932a1abeae21b8201368e5cf465680f106761
/data_ccxt/async_support/acx.py
cfc8148129cac02d95e719368eb21d1300673d1f
[]
no_license
qqzhangjian789/text
5dc6086e55d8a9494b889fa40cc9730da6bf5940
938be0df0a965aacf13cfb942548b8d2a1c7cec0
refs/heads/master
2023-05-04T11:38:47.178345
2021-05-21T17:44:13
2021-05-21T17:44:13
286,178,737
1
6
null
null
null
null
UTF-8
Python
false
false
17,497
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from data_ccxt.async_support.base.exchange import Exchange from data_ccxt.base.errors import InsufficientFunds from data_ccxt.base.errors i...
[ "qqzhangjian000@163.com" ]
qqzhangjian000@163.com
709e78c2b8bc7044a4039b9309ee131eb6a4c2bf
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/2561.py
5c5cf379a6e3f42b99e7e7d7cedcccfa7f4e7302
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
def getint (): return int(raw_input()) def printCase(c, s): print "Case #" + str(c) + ": " + str(s) def intersection (list1, list2): first = set (list1) second = set (list2) return list(first.intersection(second)) def getPossibleCards (rows1, choice1, rows2, choice2): firstpos = rows1[(choice1 - 1) * 4 : (choi...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0f8f8c2a132dc4b5f32f59e3caeec2ca41fa62fd
48894ae68f0234e263d325470178d67ab313c73e
/pm/pmwriter/utils.py
3d645751e738fe862b42f2f2f4e85fd3d1f828ce
[ "BSD-3-Clause" ]
permissive
DreamerDDL/noc
7f949f55bb2c02c15ac2cc46bc62d957aee43a86
2ab0ab7718bb7116da2c3953efd466757e11d9ce
refs/heads/master
2021-05-10T18:22:53.678588
2015-06-29T12:28:20
2015-06-29T12:28:20
118,628,133
0
0
null
2018-01-23T15:19:51
2018-01-23T15:19:51
null
UTF-8
Python
false
false
2,347
py
## -*- coding: utf-8 -*- ##---------------------------------------------------------------------- ## Various utilities ##---------------------------------------------------------------------- ## Copyright (C) 2007-2014 The NOC Project ## See LICENSE for details ##--------------------------------------------------------...
[ "dv@nocproject.org" ]
dv@nocproject.org
9c7dca77c6c26775f1feecfead204233a89add10
d83fde3c891f44014f5339572dc72ebf62c38663
/_bin/google-cloud-sdk/.install/.backup/lib/surface/compute/firewall_rules/update.py
9a34bca4513ed8a3027d2f2242b7c8767484d7d2
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
gyaresu/dotfiles
047cc3ca70f4b405ba272856c69ee491a79d2ebe
e5e533b3a081b42e9492b228f308f6833b670cfe
refs/heads/master
2022-11-24T01:12:49.435037
2022-11-01T16:58:13
2022-11-01T16:58:13
17,139,657
1
1
null
2020-07-25T14:11:43
2014-02-24T14:59:59
Python
UTF-8
Python
false
false
10,340
py
# Copyright 2014 Google 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.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "me@gareth.codes" ]
me@gareth.codes
f85487eddb03f6b8cc19f4f619baaa31663a03f5
de702e4f4a2344c891d396bb8332a90d042b0971
/Back-End/Django/Bucky/website/music/admin.py
ae2c74d7782109c4bcc71cc9f49a13390b05001b
[]
no_license
ScarletMcLearn/Web-Development
3bf093a261ddad4e83c3ebc6e724e87876f2541f
db68620ee11cd524ba4e244d746d11429f8b55c4
refs/heads/master
2022-12-17T10:56:56.238037
2021-01-18T14:13:33
2021-01-18T14:13:33
88,884,955
0
0
null
2022-12-08T06:47:35
2017-04-20T16:03:19
HTML
UTF-8
Python
false
false
118
py
from django.contrib import admin # Register your models here. from .models import Album admin.site.register(Album)
[ "noreply@github.com" ]
ScarletMcLearn.noreply@github.com