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
445409926fa5283911011a77f745099c9cf58d53
99a310f6bb6c7a6c728f1b3ae78054487372042d
/aoc2017/day9.py
915cef5559e604d0f1001897d7c7e96a442ff7ed
[]
no_license
jepebe/aoc2018
46ce6b46479a0faf2c2970413af14a071dcfdb79
4bf91b99bec4b59529533ef70f24bf6496bada99
refs/heads/master
2023-01-11T16:44:42.125394
2023-01-06T06:27:14
2023-01-06T06:27:14
159,912,721
1
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
def process(data): group_score = 0 garbage_count = 0 stack =[] garbage = False ignore = False for c in data: if ignore: ignore = False continue if c == '{' and not garbage: stack.append(len(stack) + 1) elif c == '}' and not garbage: ...
[ "jepebe@users.noreply.github.com" ]
jepebe@users.noreply.github.com
34974698db983346e41e782fa77394e2c568893b
b4874cbd7299492277ad28441bad05e6348307f2
/dummies/zerg/zerg_random.py
b950007a6b9104c741a3ee370c8d3c20e56d79a4
[ "MIT" ]
permissive
MadManSC2/sharpy-sc2
7d405578413c7a8f8fc1e4030ad719d7fe5df10a
13950357df2db58033daab24f076e3ae83f0b2a8
refs/heads/master
2021-01-05T03:38:58.038563
2020-03-07T20:35:24
2020-03-07T20:35:24
240,865,466
1
0
MIT
2020-02-16T09:38:05
2020-02-16T09:38:04
null
UTF-8
Python
false
false
400
py
import random val = random.randint(0, 5) if val == 0: from .lings import LadderBot elif val == 1: from .macro_roach import LadderBot elif val == 2: from .macro_zerg_v2 import LadderBot elif val == 3: from .mutalisk import LadderBot elif val == 4: from .roach_hydra import LadderBot elif val == 5: ...
[ "aki.vanttinen@sedgestudios.com" ]
aki.vanttinen@sedgestudios.com
ace60c9d9b2a94871157f75b667861d20615f347
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nncerberu.py
a13c5cb174a2f251e38dad6efed5b572a5b2cd0e
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
277
py
ii = [('SadlMLP.py', 1), ('PettTHE.py', 2), ('ClarGE2.py', 3), ('GellWPT2.py', 1), ('CarlTFR.py', 1), ('RoscTTI3.py', 1), ('AinsWRR3.py', 1), ('CookGHP2.py', 1), ('CoolWHM.py', 1), ('WestJIT2.py', 1), ('MedwTAI.py', 2), ('GodwWLN.py', 2), ('MedwTAI2.py', 1), ('BentJRP.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
8c4eecccb5304b7457c69b24b8d130d4c73a3c7f
1680edad321979cdf9f655ace5533f67c4ae6589
/client_support/client_support/doctype/email/email.py
8ab950a133bf6e6b679ac6897b073e95300c934b
[]
no_license
ssindham/Client_Support
18a28bd6f55807b1c07ff233a839a2207f039874
1fc59526f27ead426f5ce9ac8f582e5441b05410
refs/heads/master
2021-06-18T11:27:33.218878
2017-06-26T12:59:42
2017-06-26T12:59:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Makarand Bauskar and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class email(Document): pass
[ "sagarshiragawakar@gmail.com" ]
sagarshiragawakar@gmail.com
8c1c78e9cfc2ae9d9094e296aac2b89167f3d58d
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-lts/huaweicloudsdklts/v2/model/createfavorite_request.py
2cf325fae708d647ca8861334b066288102c28be
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,135
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreatefavoriteRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attrib...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
b4cda9c4c5944bb55bd00d0c587319d667ec5e35
85fa329cadd8edb7aa8ad32d573a1da91445c676
/RSVP_MVPA/MVPA_multi_methods/accs_multi_classifiers/do_MVPA_alltime_eeg.py
610f5f953b3b7c06808c11dcda1f379a0783158c
[]
no_license
listenzcc/RSVP_scripts
05aaed6d1aded2c3b1851ece61f52442c8a9eba8
e01a60c980c2bf6a002f2673a5b8984d3ad70f6e
refs/heads/master
2020-05-02T19:33:43.838999
2019-07-03T01:13:25
2019-07-03T01:13:25
178,161,875
0
0
null
null
null
null
UTF-8
Python
false
false
7,947
py
# coding: utf-8 ''' This script is to do MVPA on MEG RSVP dataset ''' import matplotlib.pyplot as plt import mne import numpy as np import os from sklearn import svm from sklearn.linear_model import LogisticRegression from sklearn.decomposition import PCA from sklearn.metrics import classification_report from sklearn....
[ "listenzcc@mail.bnu.edu.cn" ]
listenzcc@mail.bnu.edu.cn
007ce13e8ee357d1d8bf7b8c6463e0e1c51061a8
2ecfe49cd576fbf0cf88d64020bd3b321866e7ed
/src/azure-cli-core/azure/cli/core/aaz/_field_type.py
9cc5ec8835588ca50d0b538f696b3663e0bfac31
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
c-ryan-k/azure-cli
ebd3d2347503a540bdc99f6d93d8ae1eda454c52
fa2a2d8ea269b43d8c397f9bd5c43bfc97258876
refs/heads/dev
2022-10-26T03:16:07.347991
2022-10-14T07:06:13
2022-10-14T07:06:13
148,374,111
0
0
MIT
2021-12-07T17:49:19
2018-09-11T20:09:42
Python
UTF-8
Python
false
false
12,116
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" ]
c-ryan-k.noreply@github.com
e2aa1c6699efd5f2501f3a550014dce289e3e328
445b158bd10c79e19a679264745add3b3353dea3
/linux/bin/django-admin
c97656a5f6288659744de8ee0c98cf01c2083159
[]
no_license
Carlosdher/topicos_especiasi
27e523830408b49e852c8c03fc4d0c6ecb14f5e9
86df42ea4b514fe9159d83a44ed9cd7a9544ca96
refs/heads/master
2020-03-30T18:48:38.385266
2018-10-04T04:57:30
2018-10-04T04:57:30
151,515,273
0
0
null
null
null
null
UTF-8
Python
false
false
317
#!/home/ifpb/topicos/AndrmedAnime/andromedanimes/linux/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "carlosabc436@gmail.com" ]
carlosabc436@gmail.com
124fc4b718a9dab6fff8c0385fd2df121008dbe7
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp63_6000.py
ab89496808490d398ea518254730037f229a6d94
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,855
py
ITEM: TIMESTEP 6000 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 5.6030138703177812e-01 4.6639698612962775e+01 5.6030138703177812e-01 4.6639698612962775e+01 5.6030138703177812e-01 4.6639698612962775e+01 ITEM: ATOMS id type xs ys zs 8 1 0.12444 0.0623981 0.061891 35 1 0.0582605 0.124975 0.0550047 130 1 0.0637287...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
a2f9ef70d3a18cdda815fb0235790cb046d2e584
4a0e3ffff54be178b377a4c18fe0ced2d44b7be6
/tests/test_forbidden_ops.py
455eb958543a82e631cf21bd2396fe317e29d2a1
[]
no_license
WinVector/data_algebra
608371904c0fcc99ffab7e0fe57c49dc75fd6b21
1e96817919ae891ba108d8d7471b2200b2528271
refs/heads/main
2023-04-13T20:11:18.682084
2023-04-10T14:09:41
2023-04-10T14:09:41
203,080,133
113
5
null
null
null
null
UTF-8
Python
false
false
1,729
py
import pytest import data_algebra from data_algebra.data_ops import * import lark.exceptions def test_forbidden_ops_raises(): with pytest.raises(lark.exceptions.UnexpectedToken): TableDescription(table_name="d", column_names=["x", "y"]).extend( {"z": "x && y"} ) with py...
[ "jmount@win-vector.com" ]
jmount@win-vector.com
ae917e55d2a596415e27aed0be505c99621cfeff
1fe4f9eb9b1d756ad17e1ff6585e8ee7af23903c
/saleor/dashboard/brand/filters.py
61af9c9da3dd49b1b7a5fa75b7bb664b1a2508f7
[ "BSD-3-Clause" ]
permissive
Chaoslecion123/Diver
ab762e7e6c8d235fdb89f6c958488cd9b7667fdf
8c5c493701422eada49cbf95b0b0add08f1ea561
refs/heads/master
2022-02-23T10:43:03.946299
2019-10-19T23:39:47
2019-10-19T23:39:47
216,283,489
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
from django import forms from django.utils.translation import npgettext, pgettext_lazy from django_filters import CharFilter, ChoiceFilter, OrderingFilter from ...core.filters import SortedFilterSet from ...brand.models import Brand SORT_BY_FIELDS = { 'name': pgettext_lazy('Brand list sorting option', 'name')} B...
[ "chaoslecion71@gmail.com" ]
chaoslecion71@gmail.com
96bdcfd571407017f3cf00cc586fc0bf1d529645
e008427620158afc3fd92181d2e8d71a31174b22
/conductor/blueprints/user/controllers.py
4bcc107f244f83e7b423331e9b94c43df705a6b0
[ "MIT" ]
permissive
openbudgets/os-conductor
8ff336f4fd235c77d23850536701ca4ae2f9a716
6138f17b643a218f4782c76f5b2febd7171b44f3
refs/heads/master
2020-03-08T21:58:30.799707
2018-05-09T08:21:39
2018-05-09T08:21:39
128,419,191
1
0
null
2018-04-06T16:29:19
2018-04-06T16:29:19
null
UTF-8
Python
false
false
9,493
py
import os import datetime import logging import json import base64 import zlib try: import urllib.parse as urlparse except ImportError: import urlparse # silence pyflakes import jwt import requests from flask_oauthlib.client import OAuth, OAuthException from .models import get_permission, get_user, create_o...
[ "adam.kariv@gmail.com" ]
adam.kariv@gmail.com
4de65748c9746a5924fdb0a8c063ac3daef292d1
aa0d55b2aa22da0af6545ce0da46d04dbdc3bffc
/cpgames/core/games/pingpong/modules/sprites.py
5f00745d148bc0bb48b7b36a20e715cd42b66d90
[ "Apache-2.0" ]
permissive
cyanghsieh/Games
19fdad463cf12cbd503a399ed2700c0dae615714
07767df6d181b9eae89ce0a8b883d19afb450cc1
refs/heads/master
2023-05-11T11:11:09.777569
2023-02-22T14:28:18
2023-02-22T14:28:18
283,113,319
0
0
MIT
2020-07-28T05:49:13
2020-07-28T05:49:12
null
UTF-8
Python
false
false
3,664
py
''' Function: 一些必要的精灵类 Author: Charles 微信公众号: Charles的皮卡丘 ''' import random import pygame from .utils import loadImage '''乒乓球''' class Ball(pygame.sprite.Sprite): def __init__(self, imgpath, cfg, **kwargs): pygame.sprite.Sprite.__init__(self) self.cfg = cfg self.image = loadIma...
[ "1159254961@qq.com" ]
1159254961@qq.com
3a8bab67ec8ceee72f60fd6eb8163fcbd1d325f5
77717d0024c8597fec83600259ea5547abbc183a
/demo/image_demo.py
4a35a75b5f67f853a69af3ad51dc8550ac08a6b6
[ "Apache-2.0" ]
permissive
fengyouliang/wheat_detection
0a090ef5eda7f2c5463996f4795f9ce06dd04050
d056123426a1260c29b486cbb8e44a88a0a3c5bc
refs/heads/master
2022-11-17T15:09:29.113493
2020-07-18T13:47:34
2020-07-18T13:47:34
276,532,878
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
from argparse import ArgumentParser from mmdet.apis import inference_detector, init_detector, show_result_pyplot def main(): parser = ArgumentParser() parser.add_argument('img', help='Image file') parser.add_argument('config', help='Config file') parser.add_argument('checkpoint', help='Check...
[ "1654388696@qq.com" ]
1654388696@qq.com
cbab46f2372b7b4738133a09e2c904eba5e527ca
2caf6885511af24443e22aaa43cd679d694f6f80
/note/download_note/first_month/day15/my_project/skill_system/skill_deployer.py
0ebb3c60b4ac54c50d95e2cf3c952ee6d6af1563
[]
no_license
nandadao/Python_note
7f9ba54a73af05c935b4f7e24cacb728859a6c69
abddfc2e9a1704c88867cff1898c9251f59d4fb5
refs/heads/master
2020-11-25T18:29:50.607670
2019-12-19T01:28:02
2019-12-19T01:28:02
228,793,207
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
# 导入模块成功的唯一条件: # sys.path + 导入路径 可以正确定位模块 import sys sys.path.append('/home/tarena/month01/day15/my_project') print(sys.path) from common.list_helper import ListHelper class SkillDeployer: def generate_skill(self): print("SkillDeployer -- generate_skill") ListHelper.fun01()
[ "1361335953@qq.com" ]
1361335953@qq.com
1bae11f4339204618d4282ee3fc377f918457cdd
1406e2274c55ade3b105204ee5493fed5dcbf0e0
/tensorflow_transform/beam/combiner_packing_util.py
5ceb65486ecb0815b8da0a88e830806699d9df70
[ "Apache-2.0" ]
permissive
akamil-etsy/transform
76553cfe3f49eff26b74ba49bb0879830ede354a
4c89b650004ecd4f9e385cc7f828ae4726dde20f
refs/heads/master
2023-06-08T16:50:23.109029
2021-07-01T22:37:28
2021-07-01T22:38:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,416
py
# Copyright 2020 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 a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
49d39d44fc161e989c2e466a7903314ea706eff8
fab7b6e422b74424fb59398635f74faca9ff5a58
/waimak_extended_boundry/model_and_NSMC_build/pumping uncertainty.py
402dbd2253b25d06ce083a921ee8614cb69809c8
[]
no_license
hansonmcoombs/Waimakariri-Model-Ashley-to-Selwyn
c7a56a2ebd0d421c9679cb4a16ae319dfb2041b1
c96c2663b010975ec08d42840fbc7970f3c2b085
refs/heads/master
2023-05-29T10:57:33.916912
2020-04-23T21:32:21
2020-04-23T21:32:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
# -*- coding: utf-8 -*- """ Author: matth Date Created: 11/08/2017 3:15 PM """ from __future__ import division import numpy as np import pandas as pd from core.ecan_io import rd_sql, sql_db mike = pd.read_hdf(r"P:\Groundwater\Waimakariri\Groundwater\Numerical GW model\supporting_data_for_scripts\ex_bd_va_sdp\m_ex_bd_...
[ "hansonmcoombs@gmail.com" ]
hansonmcoombs@gmail.com
24e922c6f1f46bd3e4e246977f5c74031cbc8878
a8da7aa38ea0b094329f9ad25e2ed1d41b712269
/requests-html/code/basic.py
b1292fd7f8d7b26ec6d3f57c64887cf20994ed91
[]
no_license
ikedaosushi/python-sandbox
ef04fbece2aad56975a3abef4cf58badb53f37c0
d887b22f46635f053f9b5e3ea33c538058e4267c
refs/heads/master
2021-11-23T17:44:06.296229
2020-07-26T08:56:12
2020-07-26T08:56:12
154,621,904
13
2
null
2021-11-16T22:15:17
2018-10-25T06:37:01
Jupyter Notebook
UTF-8
Python
false
false
122
py
from requests_html import HTMLSession session = HTMLSession() resp = session.get("https://www.python.jp/") resp.html.url
[ "yutaro.ikeda@kaizenplatform.com" ]
yutaro.ikeda@kaizenplatform.com
cabba0c30aedd1e6ddf910614a74a65d4b90f2ce
7066555f4c2ff9b405754d2e793b97bf04b6ab98
/data_structure/arrays_and_strings/283_move_zeroes.py
99d522304d65fe65ab51f1bbd92f5af51da2a6ee
[]
no_license
yangtao0304/hands-on-programming-exercise
c0d0fe324ffaf73c7b4c45aba721a245a8cc9ce2
cc7740026c3774be21ab924b99ae7596ef20d0e4
refs/heads/master
2020-09-11T02:05:51.305196
2020-03-19T03:45:53
2020-03-19T03:45:53
221,904,831
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
class Solution(object): def move_zeroes(self, nums): """ :type nums: List[int] :rtype: None Do not return anything, modify nums in-place instead. """ i = 0 for idx in range(len(nums)): if nums[idx] != 0: nums[i] = nums[idx] ...
[ "im.yangtao0304@gmail.com" ]
im.yangtao0304@gmail.com
e8b238e8401c2b6ef7e6335fbc2bd0916d48419c
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/redreader/testcase/firstcases/testcase3_024.py
271a75bb52d16f7f9a87961616e0f6992ce81b86
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
3,525
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
bb1b2964504bbee76a34c09f71ff3d2ff2ebd505
c175c4e3560c6c66ec2b0c4b439cd586878b44a5
/prplatform/submissions/tests/test_models.py
3c2be9e4a42d51767fb62c1b5615a045a1c8072f
[ "MIT" ]
permissive
piehei/prplatform
fd30e2e388597583b9ef0e59462ea9643f7244ba
f3248b66019f207bb06a4681a62057e175408b3e
refs/heads/master
2020-03-09T17:09:47.893706
2019-09-18T15:24:58
2019-09-18T15:24:58
128,902,940
3
0
null
null
null
null
UTF-8
Python
false
false
2,242
py
from django.db import OperationalError from django.test import TestCase from prplatform.exercises.models import ( SubmissionExercise, ReviewExercise, ) from prplatform.submissions.models import ( OriginalSubmission, ReviewSubmission, ) from prplatform.submissions.reviewlock_mode...
[ "ph@extreg.com" ]
ph@extreg.com
14b52891220f3fee7d733147a3f39618853e24d8
134178ca3575d30bc3314b2182cd1fc26ed0385f
/day2/ifs.py
c0b6b70bcd96f1bfe59ddbf964559e8cbef2a819
[]
no_license
mpdevilleres/python-study-2021
c19d50138158ccc6c18e96c5831546ce1ec03a0d
36edc4711e0a39bc87eb84dd43b6ba058a726b20
refs/heads/master
2023-06-26T19:41:04.472116
2021-07-16T10:39:26
2021-07-16T10:39:26
378,050,476
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
# # defining if statements # # if (condition1): # pass # elif (condition2): # pass # else: # pass # # # example # if count == 1: # print('count is not 0') n = int(input("input a number: ")) if n % 2 == 0: print(n, 'is divisible by 2') elif n % 3 == 0: print(n, 'is divisible by 3') elif n % 5...
[ "mpdevilleres@gmail.com" ]
mpdevilleres@gmail.com
1c65de4d3f62ad7ca017c5b9b8c7e2fcc87ebe40
eeb8f0d9d0b0413f945e57e3de119c3964fb6a89
/epitools-env/lib/python3.8/site-packages/nltk/inference/nonmonotonic.py
7dc92d724201bf595172cbd1faa75c947949c4ea
[]
no_license
Hillary05/EPITECH-DOCUMENTATION
13ff301fa657ff9ffd55ef61e64647453eda7a8c
4ea0bbef1d27003b7d5902cbdfdd41fbc9173b2c
refs/heads/master
2023-05-10T12:43:09.237217
2021-06-29T11:41:05
2021-06-29T11:41:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,193
py
# Natural Language Toolkit: Nonmonotonic Reasoning # # Author: Daniel H. Garrette <dhgarrette@gmail.com> # # Copyright (C) 2001-2020 NLTK Project # URL: <http://nltk.org> # For license information, see LICENSE.TXT """ A module to perform nonmonotonic reasoning. The ideas and demonstrations in this module ar...
[ "hamidtessilimi@gmail.com" ]
hamidtessilimi@gmail.com
167db560b7a88ff7a3f779a57cf322b7a9e0603d
9028b6983685a3ace074049fccf2b8c503b77de8
/PyStationB/libraries/ABEX/abex/simulations/plot_predicted_optimum_convergence.py
4192c3ad9b51d68e2550387eb4284275c52ba4f0
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
mebristo/station-b-libraries
7f5517e5e77e6cdc54c03355804b8c0a4fcae65b
40bab526af6562653c42dbb32b174524c44ce2ba
refs/heads/main
2023-09-03T03:54:53.181082
2021-10-01T03:21:11
2021-10-01T03:21:11
412,871,835
0
0
MIT
2021-10-02T17:53:07
2021-10-02T17:53:06
null
UTF-8
Python
false
false
18,074
py
# ------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. # ----------------------------------------------------------------------...
[ "noreply@github.com" ]
mebristo.noreply@github.com
61689e089f90433880de471c2b687b9a35801ef4
cd8b429ba73017bd20d60b20e4d6dcf05ba44691
/profiles/migrations/0003_profile_location.py
aef6ac69739be6cf62ea6bfa014aece7716dbe64
[]
no_license
henrymbuguak/E-commerce-Site-Created-Using-Django-1.11.1
61d45f1f6861b9b8d308519660f2719d5d0e7b4e
327f6faa7fe8d13e9dad913b5b9f90884d77fbdd
refs/heads/master
2021-11-29T00:28:02.300796
2021-11-26T16:48:20
2021-11-26T16:48:20
93,396,154
16
17
null
2021-11-26T16:48:21
2017-06-05T11:16:58
Python
UTF-8
Python
false
false
480
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-03 18:38 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0002_profile_description'), ] operations = [ migrations.AddFiel...
[ "henrymbuguak@gmail.com" ]
henrymbuguak@gmail.com
832eba339e037d20014f155348e0ebee2b4ace38
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_1/dngmon002/question1.py
440db247854a75f0996c65246e23cce55cd49087
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
# Fancy art output # Monwabisi Dingane # 25 February 2014 print(" ____ ____ ___ ____ _____ _ _ _ _ _ ") print(" / ___/ ___|_ _/ ___|| ___| | | | \ | | |") print("| | \___ \| |\___ \| |_ | | | | \| | |") print("| |___ ___) | | ___) | _| | |_| | |\ |_|") print(" \____|____/___|____/|_| \___/|_| \...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
83745ed9a8e0c07cda36512d74784643936d8f65
2fd087fbc5faf43940153693823969df6c8ec665
/pyc_decrypted/latest/pymac/dlls/FSEvent.py
6fdf9e3df3d8a50f53eb9769bec23e32851ce298
[]
no_license
mickeystone/DropBoxLibrarySRC
ed132bbffda7f47df172056845e5f8f6c07fb5de
2e4a151caa88b48653f31a22cb207fff851b75f8
refs/heads/master
2021-05-27T05:02:30.255399
2013-08-27T13:16:55
2013-08-27T13:16:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
#Embedded file name: pymac/dlls/FSEvent.py from __future__ import absolute_import from ctypes import POINTER, c_ubyte from ..lazydll import FakeDLL from ..lazyframework import LazyFramework from ..types import CFAllocatorRef, CFArrayRef, CFUUIDRef, CFRunLoopRef, CFStringRef, CFTimeInterval, dev_t, FSEventStreamCallback...
[ "bizonix@me.com" ]
bizonix@me.com
bc90df29176cb40490d288bb8254b2327d3d0992
dd770e697daddab20e09fbf8ce199c97ee540c37
/bigtop-packages/src/charm/zookeeper/layer-zookeeper/actions/smoke-test
64814629a162acdf459dab3899fc8a1978368d94
[ "FreeBSD-DOC", "MIT", "DOC", "Apache-2.0" ]
permissive
PKConsul/bigtop
0e7b5133be17a2093c0d5279b000c60b67072a16
2f8311b184bf0c5d25756b098895e43b1dbc3c2e
refs/heads/master
2021-01-20T02:08:29.012667
2017-04-22T17:44:30
2017-04-23T06:27:13
89,379,381
1
0
null
2017-04-25T15:53:29
2017-04-25T15:53:29
null
UTF-8
Python
false
false
1,526
#!/usr/bin/env python3 # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Lic...
[ "kevin.monroe@canonical.com" ]
kevin.monroe@canonical.com
76532f0bfd74859dc88b4d5b0f4c9a449a6a84e2
52b5773617a1b972a905de4d692540d26ff74926
/.history/stacks_20200703102749.py
12f8182c2862178934b96e70b251a7b34a1c4479
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# stacks - where the last item to be added is the first to be reversed # reversing an array using stacks # def stacks(arr): # arr.append(6) # arr.append(7) # newArr = [] # for i in range(len(arr)): # newArr.append(arr.pop()) # print(newArr) # stacks([3,4,5]) # ======================...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
8868615a32d3f22a1d4f5f08ac876bc011a65f74
18c9109e3e6dfea227b80e0a8ebc5e92cfa117d3
/tests/unit/shared/test_containers.py
38a022c659f4139352e210f735651c518af4df3e
[ "Apache-2.0" ]
permissive
Xilinx/pyxir
9b0179da550471d251acd95c26e9bfe6f54502dd
8ce8a385a155f3ffdd84ce61501ca870cfb4a905
refs/heads/master
2023-09-05T12:07:59.732179
2022-03-31T19:24:48
2022-03-31T19:24:48
265,640,658
34
23
Apache-2.0
2022-05-29T08:05:58
2020-05-20T17:36:17
Python
UTF-8
Python
false
false
2,077
py
# Copyright 2020 Xilinx 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 in writing, ...
[ "jornt@xilinx.com" ]
jornt@xilinx.com
69f15ffcdc89289d39337e9f2cbdc77eeb439882
3e1fcf34eae508a3f3d4668edfb334069a88db3d
/tests/test_case_info.py
f9f4bb37beb8939a3a6647694a29a2215398d96f
[ "ISC" ]
permissive
mscarey/court-scraper
26d32cb7354b05bb5d5d27a55bf4042e5dde1a4d
e29135331526a11aa5eb0445a9223fc3f7630895
refs/heads/main
2023-07-14T20:23:33.488766
2020-08-31T14:02:19
2020-08-31T14:02:19
384,977,976
0
0
ISC
2021-07-11T15:04:57
2021-07-11T15:04:57
null
UTF-8
Python
false
false
788
py
from court_scraper.case_info import CaseInfo def test_attribute_mapping(): mapping = { 'case_num': 'number', } data = { 'foo': 'bar', 'case_num': '1' } CaseInfo._map = mapping ci = CaseInfo(data) assert hasattr(ci, 'case_num') == False assert ci.number == '1' assert ci.foo == 'bar' def t...
[ "zstumgoren@gmail.com" ]
zstumgoren@gmail.com
95ef73ae86b57acc18a1491c332ea73babf5daf3
b924079a344e718f1de3dccdae8064c8c24be373
/quantum/service.py
48ef432e2ae732b5fea5389b6ee75bad647545e8
[ "Apache-2.0" ]
permissive
ruijie/quantum
b24a14636a00c2363e1f2f365f41b58f6a5f1c07
b63a721785801a3b6f0aeb10bb2eb49b76323496
refs/heads/master
2021-01-20T05:08:35.704182
2012-11-12T08:33:23
2012-11-12T08:33:23
6,650,142
2
0
null
null
null
null
UTF-8
Python
false
false
2,876
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 Nicira Networks, 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.apach...
[ "root@vm1.net" ]
root@vm1.net
1b063a5d5a6f4416bf8b1ac6fbcf2c18198492dd
f6c62c253a49678e368d074302ab0358190d2f05
/CrossMgrCamera/ScaledImage.py
50cd5f5111eb00c9f3dcb2a2221972b2522f4fb1
[]
no_license
Adefx/CrossMgr
4ab0563972dfb8de173dae1542b0c322aef7ab20
ad803339c81994a784426164c20215a67fdbaba1
refs/heads/master
2021-01-17T08:24:52.641643
2017-02-24T14:05:50
2017-02-24T14:05:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,260
py
import wx contrastColour = wx.Colour( 255, 130, 0 ) def RescaleImage( image, width, height ): wImage = image.GetWidth() hImage = image.GetHeight() ratio = min( float(width) / float(wImage), float(height) / float(hImage) ) return image.Copy().Rescale( int(wImage*ratio), int(hImage*ratio), wx.IMAGE_QUALITY_NORMAL )...
[ "edward.sitarski@gmail.com" ]
edward.sitarski@gmail.com
ac9076f960b12064af864a6c2ebfe3ba357e8c2d
25dda94672497e3287a7403e283fb279ad171b79
/SW Expert Academy/2806. N-Queen.py
b2fd14ecd8a8c0c0a85200aacc0298fd3c6d1edc
[]
no_license
woorud/Algorithm
c94b844e8c96a446c5fdee5c0abb159bfee384d7
f5b8e3cf0aea7fc4400e6f5bb0c1531fad93e541
refs/heads/master
2023-02-23T13:53:28.645036
2021-01-29T12:24:23
2021-01-29T12:24:23
230,908,288
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
def diagnol(idx, c): # 대각선 위치 확인 for i in range(idx): if idx-i == abs(c-map[i]): # 행 - 열의 절대값이 같으면 대각선에 위치 return True return False def dfs(idx): if idx == N: global cnt cnt += 1 return for i in range(N): if visited[i]: continue if...
[ "woorud96@gmail.com" ]
woorud96@gmail.com
9f10259d22ebccc53fde33fe14816c7cb021cbe3
dbb8b269f78f07ed81032b83d50149b506610176
/Import SVG.py
2e748b22940ef9229bd86f51d4565fa119848d8c
[]
no_license
READ/Glyphs-Scripts
716be6e362ba61689fa3c5593b183b9d57d8d950
91c252425d1315ed81e840b794c819d7dc89d9bf
refs/heads/master
2021-01-24T03:36:38.702571
2012-12-15T16:46:00
2012-12-15T16:46:00
7,224,823
1
1
null
null
null
null
UTF-8
Python
false
false
9,049
py
#MenuTitle: import SVG # encoding: utf-8 """ Import SVG.py Created by Georg Seifert on 2010-11-28. Copyright (c) 2010 schriftgestaltung.de. All rights reserved. """ from objectsGS import * from vanilla.dialogs import getFile from xml.dom import minidom Bounds = None def stringToFloatList(String): points = String.rep...
[ "georg.seifert@mac.com" ]
georg.seifert@mac.com
d2ac1e03d5df1efcebfca1377db95f6e07600de8
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/eXe/rev2283-2366/left-trunk-2366/twisted/test/myrebuilder2.py
9eb92e11450989004c198b1d66a4b7c045cba6d0
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
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
216
py
class A: def a(self): return 'b' try: object except NameError: pass else: class B(A, object): def b(self): return 'c' class Inherit(A): def a(self): return 'd'
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
c46a875f4d21e9a5a2a243ec852c6a2644b74d29
bc268abf22dc2a4888a81946eacf313487a86219
/doc/conf.py
6ba4298ffcefd8dff4fb6d30560f1f53081e50fa
[ "MIT" ]
permissive
Coderguy321/imbalanced-learn
646a320c4bbc458a760ab548e00b86dc534477e4
032fa7c0cc46e6565d9afcb5279a5345542cccb9
refs/heads/master
2021-05-04T08:53:41.131939
2016-10-06T12:47:49
2016-10-06T12:47:49
70,373,945
1
0
null
2016-10-09T03:25:15
2016-10-09T03:25:15
null
UTF-8
Python
false
false
10,006
py
# -*- coding: utf-8 -*- # # imbalanced-learn documentation build configuration file, created by # sphinx-quickstart on Mon Jan 18 14:44:12 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated fi...
[ "glemaitre@visor.udg.edu" ]
glemaitre@visor.udg.edu
9d49c884c0df31778961a4fde18b09ec0e3aac9d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02420/s842100220.py
389376fb975d7637a465bc9f05a0d09e6c60ebbb
[]
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
169
py
while True: first = input().rstrip() if first == '-': break m = int(input()) for _ in range(m): h = int(input()) first = first[h:] + first[0:h] print(first)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1a08b0f2979c899b504f8fc87218e7d979d9d652
8255dcf7689c20283b5e75a452139e553b34ddf3
/app/views/dashboard/media/photos.py
ae8b16add3758cab891abe9a8780cbfb5dd38862
[ "MIT" ]
permissive
Wern-rm/raton.by
09871eb4da628ff7b0d0b4415a150cf6c12c3e5a
68f862f2bc0551bf2327e9d6352c0cde93f45301
refs/heads/main
2023-05-06T02:26:58.980779
2021-05-25T14:09:47
2021-05-25T14:09:47
317,119,285
0
1
null
null
null
null
UTF-8
Python
false
false
1,815
py
from flask import render_template, redirect, url_for, request, current_app from flask_login import login_required from app import db, logger from app.controllers.dashboard_controller import dashboard_controller from app.forms.dashboard_media import MediaPhotos from app.models.photo_catalogs import PhotoCatalogs from a...
[ "devwern@gmail.com" ]
devwern@gmail.com
07324d1a4440f3a9e0e462ca96ad5027842c622d
84c9a6fb5e18741f14a55d0d737e2a556383770d
/venv/Scripts/easy_install-script.py
3f672fec5a5c0e737faacd797657588a42ed2a5a
[]
no_license
AravindChan96/Vulcan
638a1db2f84df08bc50dd76c7f142014d529fbec
5548a6f36f04108ac1a6ed8e707930f9821f0bd9
refs/heads/master
2022-11-05T15:05:54.224578
2020-06-19T20:44:14
2020-06-19T20:44:14
273,396,348
1
1
null
null
null
null
UTF-8
Python
false
false
463
py
#!C:\Users\aravi\PycharmProjects\VulnerabilityScanner\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-sc...
[ "aravindchan.96@gmail.com" ]
aravindchan.96@gmail.com
5911126de8a3316316c55a211087dfce6aca418a
13d222bc3332378d433835914da26ed16b583c8b
/src/pemjh/challenge39/main.py
8f4884cd82bb3bbb2d75381260a80f02e168258f
[]
no_license
mattjhussey/pemjh
c27a09bab09cd2ade31dc23fffac07374bea9366
2ebb0a525d2d1c0ee28e83fdc2638c2bec97ac99
refs/heads/master
2023-04-16T03:08:59.390698
2023-04-08T10:54:00
2023-04-08T10:54:00
204,912,926
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
""" Challenge039 """ def number_of_perimeters(length): """ >>> number_of_perimeters(120) 3 """ count = 0 # c > b >= a # a + b > c # a + b + c = n # n = 100 # 1 <= a <= 33 # a <= b <= (n - a) / 2 + a # b <= c <= n - a - b limit = length // 3 ...
[ "matthew.hussey@googlemail.com" ]
matthew.hussey@googlemail.com
5bb3b06fa5b6ac7552d33eaa640de020e126f6c3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_hampshire.py
46f4aec748d11c63eb044ddd89f4c44dd82194b4
[ "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
353
py
#calss header class _HAMPSHIRE(): def __init__(self,): self.name = "HAMPSHIRE" self.definitions = [u'a county (= area with its own local government) in southern England'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], ob...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
94731e2c76a433376aed579f28bc5fc10c71f7c6
7e627a6f120f5e668d09f8b362c76f2592430a92
/dictionaria/assets.py
de3831bff39e3ef48f68a6fa44076febf86ba784
[ "Apache-2.0" ]
permissive
LimorNaaman/dictionaria
a541bb9d812d8f4b5fb340b9525f2d136d28a40f
9f8a5139af99eb4ae1af9ed0b340120c486cf112
refs/heads/master
2020-03-15T12:05:25.162179
2018-06-05T18:01:49
2018-06-05T18:01:49
132,136,322
0
0
Apache-2.0
2018-06-05T18:01:50
2018-05-04T12:16:53
Mako
UTF-8
Python
false
false
282
py
from clld.web.assets import environment from clldutils.path import Path import dictionaria environment.append_path( Path(dictionaria.__file__).parent.joinpath('static').as_posix(), url='/dictionaria:static/') environment.load_path = list(reversed(environment.load_path))
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com
06e1d46135ac73c4d98acecedfbc42f6b36f52fd
892dd32ee0be7135cd33c875b06dcc66307dcc99
/automation/MPTS/apikey_set_delegatedAdmin.py
ece407e17d0b344e8ac87658a5b870a8be88ba74
[]
no_license
cloudbytestorage/devops
6d21ed0afd752bdde8cefa448d4433b435493ffa
b18193b08ba3d6538277ba48253c29d6a96b0b4a
refs/heads/master
2020-05-29T08:48:34.489204
2018-01-03T09:28:53
2018-01-03T09:28:53
68,889,307
4
8
null
2017-11-30T08:11:39
2016-09-22T05:53:44
Python
UTF-8
Python
false
false
3,694
py
import json import requests import md5 import fileinput import sys import time from cbrequest import sendrequest, filesave, timetrack, queryAsyncJobResult, configFile, configFileName config = configFile(sys.argv); configfilename = configFileName(sys.argv); stdurl = 'https://%s/client/api?apikey=%s&response=%s&' %(conf...
[ "karthik.s@cloudbyte.com" ]
karthik.s@cloudbyte.com
eeb702c8ed77e9a4ec9c69d8a372d33e8b0f6823
c753216f44c4c5f34d50763a02d720e064ed5d13
/OPSI/web2/test/test_server.py
6a12fe7d22ef567ba7a8c4ea760a994618cda3a3
[]
no_license
mpice-mn/python-opsi
7fefcd590213a5b698022323b166710e8cbf5641
76dcd4e38100e019f64731539b31be6e8af60af7
refs/heads/stable
2023-05-02T05:25:31.478822
2020-02-05T21:16:50
2020-02-05T21:16:50
104,738,074
0
0
null
2017-09-25T10:49:13
2017-09-25T10:49:13
null
UTF-8
Python
false
false
20,493
py
""" A test harness for the OPSI.web2 server. """ from zope.interface import implements from twisted.python import components from OPSI.web2 import http, http_headers, iweb, server from OPSI.web2 import resource, stream, compat from twisted.trial import unittest, util from twisted.internet import reactor, defer, addre...
[ "j.schneider@uib.de" ]
j.schneider@uib.de
d9d31ca5bdaefea63563a4acb77cd20e1e91a9a6
3b5f28ed1505c68f94ec1df496fe061d110294ce
/lixian_alias.py
fa09dd28ac832bbfe0362309b4481423e064db57
[ "MIT" ]
permissive
yuanlizbyy/xunlei-lixian
089d388fbf4023bfae217906268c19dde43528e1
fe96ee19c1af8a268dc39818a5e8d33ff71e50ee
refs/heads/master
2021-01-17T21:48:13.932068
2012-12-10T05:35:43
2012-12-10T05:35:43
7,854,959
1
0
null
null
null
null
UTF-8
Python
false
false
213
py
def get_aliases(): return {'d': 'download', 'l': 'list', 'a': 'add', 'x': 'delete'} def get_alias(a): aliases = get_aliases() if a in aliases: return aliases[a] def to_alias(a): return get_alias(a) or a
[ "iambus@gmail.com" ]
iambus@gmail.com
38394182dc771084f43996ec5c98459435358d6b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_terse.py
6f23ba45e2ed3a286c756f26ee23e7427c152b34
[ "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
423
py
#calss header class _TERSE(): def __init__(self,): self.name = "TERSE" self.definitions = [u'using few words, sometimes in a way that seems rude or unfriendly: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): s...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cd521274e84ead7de41a90a16c88da24457be533
2cdd957f6cbf326ea902160011cb4f496e037bf9
/python_oops/prk2.py
1ae8c2a8d79c5f80d9275cabe183ae4f7ca24d16
[]
no_license
Nitesh101/thundersoft
81511c5672e8cb61055818b59fd216b26a784b1e
aa5cef1cfeb8a00d438a5280dff231bda494252d
refs/heads/master
2020-09-24T20:56:53.655269
2019-12-04T10:43:23
2019-12-04T10:43:23
225,841,374
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
class parent(): def first(self): print("first function") class child(parent): def second(self): print("second functtion") f = child() f.first() f.second()
[ "m.veeranitesh@gmail.com" ]
m.veeranitesh@gmail.com
68ba2eba29b311b644c732d07fe15d436790ceed
da1dbb0e1c8c323bbf7ba0eac43b5815ce075282
/python/ccxt/coinbase.py
6f59d7b3d60bb8a98ea58eba5a10b1352aae46d0
[ "MIT" ]
permissive
alexander-dev-hub/ccxt
d339662d527bdf0d99380c61ccce233c4475d1a1
eba5dbe98cf106361c45cec9debda3d2722ea878
refs/heads/master
2022-07-10T05:03:35.809978
2019-09-02T19:10:10
2019-09-02T19:10:10
205,919,117
1
1
MIT
2022-06-22T15:56:21
2019-09-02T19:00:14
JavaScript
UTF-8
Python
false
false
47,731
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 ccxt.base.exchange import Exchange from ccxt.base.errors import ExchangeError from ccxt.base.errors import AuthenticationError from cc...
[ "wangming19871126@gmail.com" ]
wangming19871126@gmail.com
008181a3ff8d888d84ca86e89c8bb777fa600932
afc677459e46635ceffccf60d1daf50e62694557
/ACME/math/randrotm.py
4c23dd04c57218e5324cda86a0211924591e4879
[ "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
514
py
from .constant import * from .eul2rotm import * def randrotm(n=1, device='cuda:0'): """ Returns n randorm rotation matrices Parameters ---------- n : int (optional) the number of rotation matrices to generate (default is 1) device : str (optional) the device to store the tenso...
[ "maurizio.kovacic@gmail.com" ]
maurizio.kovacic@gmail.com
873cbdcd0a29dfe7fca8f80e22b8dad16471b2fb
11f7add72635ad985b3e98fd77e9426e8c74ab08
/google-api-python-client-1.0beta7/samples/adsense/sample_utils.py
e4463e584deb6cc3a870ce678814f5b070beb7f1
[]
no_license
harshdarji/python
afa6b11338504567ece8bb1e78e841d13716ff14
8bad854304f423264b7b0724b87c7cd7de748cd6
refs/heads/master
2020-12-31T01:48:04.439466
2012-09-13T09:22:58
2012-09-13T09:22:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,811
py
#!/usr/bin/python # # Copyright 2011 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 b...
[ "jeromecukier@gmail.com" ]
jeromecukier@gmail.com
eed9a66ad4a6c595e1640777cc94f4b3abebc576
25040bd4e02ff9e4fbafffee0c6df158a62f0d31
/www/htdocs/wt/lapnw/data/item_20_3.tmpl.py
28c4804d0e6461b17d8ba3b9ace7498eb496d3a5
[]
no_license
erochest/atlas
107a14e715a058d7add1b45922b0f8d03bd2afef
ea66b80c449e5b1141e5eddc4a5995d27c2a94ee
refs/heads/master
2021-05-16T00:45:47.585627
2017-10-09T10:12:03
2017-10-09T10:12:03
104,338,364
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from lap.web.templates import GlobalTemplate, SubtemplateCode class main(GlobalTemplate): title = 'Page.Item: 20.3' project = 'lapnw' class page(SubtemplateCode): pass
[ "eric@eric-desktop" ]
eric@eric-desktop
eb90db1bbb2724acef1832c6ce3bcc52e6a902ac
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2017_07_01/aio/operations/_iot_hub_resource_operations.py
25662122bb60abebfac1843541c4c76061cd131e
[ "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
77,349
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
f626569e98ae081d24c8713a307a06dba8355c47
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/netapp/volumes/snapshots/describe.py
bbd36f4ef5454bc19ac3d530aa4c3c5ee430b40d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
2,651
py
# -*- coding: utf-8 -*- # # Copyright 2022 Google LLC. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
1f258b67de069bd06008aaeaf03c969cf81ea192
9bdc868dbc3910ae72a05ab66cf53d30dffab2a8
/test/functional/p2p_zpos_fakestake.py
b572c1e97eb8fd15a6ab5dbf088628530f98b212
[ "MIT" ]
permissive
YEPCOIN/Yep-Core
6aa8a3750e8496509501b7ff4d663a2681854c96
541ada7485b28abe1429c400835ce228ca9a6903
refs/heads/master
2020-07-03T04:44:44.361866
2020-05-06T19:45:05
2020-05-06T19:45:05
201,787,182
0
0
null
null
null
null
UTF-8
Python
false
false
4,016
py
#!/usr/bin/env python3 # Copyright (c) 2019 The Yep Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Covers the scenario of a zPoS block where the coinstake input is a zerocoin spend of an already spent coin. ''...
[ "ultrapoolcom@gmail.com" ]
ultrapoolcom@gmail.com
cc5ea903908b10ba307f2cedf7ce37fb78ad1004
3545ee160458acac7452666aa07826b58e144351
/demo/text_recognition/rflearning/configs/rfl_res32_attn.py
7f5925689be5d6a7f4dda0f6a30debf79ae900a1
[ "Apache-2.0" ]
permissive
OCRWorld/DAVAR-Lab-OCR
7cc81af43a0e8f60066e7761d950f509c40cfd46
fb47a96d1a38f5ce634c6f12d710ed5300cc89fc
refs/heads/main
2023-08-29T09:41:19.377628
2021-11-08T11:16:37
2021-11-08T11:16:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,809
py
""" ################################################################################################## # Copyright Info : Copyright (c) Davar Lab @ Hikvision Research Institute. All rights reserved. # Filename : rfl_res32_attn.py # Abstract : RF-learning recognition Model # Current Version: 1.0...
[ "qiaoliang6@hikvision.com" ]
qiaoliang6@hikvision.com
a3747ed815403f95d7732066115c2c6a00eb89b8
17079988dedef6f830633a7a54b181355231fe3e
/Car/Car3.py
db4c58f81a811a3cd44229bac7dcc8e68dec6f07
[]
no_license
sum008/python-backup
cdf6eaff60d882c36fe86b47ad311955d5869b02
729fbe2a5220941f9ba085c693c871592a529da8
refs/heads/master
2022-12-12T21:21:48.259680
2020-09-12T15:36:05
2020-09-12T15:36:05
285,461,845
0
0
null
null
null
null
UTF-8
Python
false
false
2,812
py
import pygame as p import vector_ import math p.init() width=600 height=600 display=p.display.set_mode((width,height)) image=p.image.load("car.png") run=True velocity=vector_.vector_functions() x=200 y=200 l=0 position=vector_.vector_functions() position.create(x, y) velocity.set_length(l) pos...
[ "noreply@github.com" ]
sum008.noreply@github.com
12625896c8c00d5dc56d6d965956ae0ad0522e0b
95269decf471db39653d12c8592b0b30f2ed7a5d
/tensorflow/python/layers/core.py
bdbbc59eaf05e1f6286340b544085a86c4bcd0bb
[ "Apache-2.0" ]
permissive
alvarofernandoms/tensorflow
99679dc36ecb61354e24b5b48b914446800b83f3
972a454f47a94fe263c7a889603bbbb36f16c32c
refs/heads/master
2020-04-10T13:07:28.654916
2018-03-07T21:36:07
2018-03-07T21:36:07
124,273,027
0
0
Apache-2.0
2018-03-07T17:49:18
2018-03-07T17:49:17
null
UTF-8
Python
false
false
16,513
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
ac56f5e8e9874e1a72c9f0a01d547345569ccffd
2c1a2724d4e1edfd99597ef700624650de7ed5b6
/amazon_cells_labelled.py
a79c25b69e01af09a06da35634be9b2c0c26803b
[]
no_license
hellosandeep1999/Machine_Learning
d91dd3b2930fef69cc1c6b6409b6591c4b8ca2e7
20b6296009c2a7844ad8d06d3e43b53b30a4b450
refs/heads/master
2022-10-11T17:52:50.610155
2020-06-08T02:53:02
2020-06-08T02:53:02
257,350,154
0
0
null
null
null
null
UTF-8
Python
false
false
2,762
py
# -*- coding: utf-8 -*- """ Created on Tue May 12 18:07:17 2020 @author: user """ """ Q1. Code Challegene (NLP) Dataset: amazon_cells_labelled.txt The Data has sentences from Amazon Reviews Each line in Data Set is tagged positive or negative Create a Machine learning model using Natural Language Processing ...
[ "sandeepjain20178@gmail.com" ]
sandeepjain20178@gmail.com
15d56b6e629ac4c09ec545de90e42842dda401f5
55dd731810dfae13bad4ffa9ddf415dc57c6dc19
/projects/DensePose/densepose/densepose_head.py
e2c499b667fce44cb044a29766257bbc228d1909
[ "Apache-2.0" ]
permissive
neurolaboratories/detectron2
cf87081a2cd44bb90a93b194e5e424ac0c55c7b7
e36814661e13ffcbb5900e8e3a1b857c78dc24fa
refs/heads/master
2022-12-11T15:24:19.036952
2020-09-14T12:39:31
2020-09-14T12:39:31
291,991,620
12
0
Apache-2.0
2020-09-14T12:39:32
2020-09-01T12:27:44
Python
UTF-8
Python
false
false
57,774
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import math from dataclasses import dataclass from enum import Enum from typing import Iterable, List, Optional, Tuple import fvcore.nn.weight_init as weight_init import torch from torch import nn from torch.nn import functional as F from detectron...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1d26a049c57d17eed0c9ca0b3efec122a762a23c
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/apimanagement/v20201201/get_api_policy.py
6924530cfd3623114e7744c89265ceeb2de1896e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,113
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
7800d2c0d0a64a5bc8c602666596e3007524a6ca
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/3905.py
40351dcbf8a07ac6656283972fb4be0fa055fb3c
[]
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
1,041
py
#!/usr/local/bin/python import sys def flip(s, n, i): return tuple( not s[j] if i <= j and j < i + n else s[j] for j in range(len(s)) ) def answer(initial, n): l = len(initial) maxflip = l - (n - 1) worklist = [initial] states = { initial: 0 } while worklist: state = worklist.pop(0)...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0c425e4fe95e0209d87b445dc116be63eb4ffdda
bc11e10521fa313d83011e77a2c31a0b6ed581af
/lib/rubyfox/server/data/lib/Lib/test/test_rfc822.py
470b92878fe1a54f6ff113544a80e5f9235b3637
[ "MIT" ]
permissive
neopoly/rubyfox-server
f6f191c68dcc30b8c56d22c8209e4a69251f4f27
26d67687fc642111ef8d02507f2b567828bd1ebd
refs/heads/master
2023-07-20T15:04:32.028192
2023-07-17T09:16:36
2023-07-17T09:33:20
6,457,322
3
4
MIT
2020-08-11T06:53:50
2012-10-30T13:06:32
Python
UTF-8
Python
false
false
7,518
py
import rfc822 import sys import test_support import unittest try: from cStringIO import StringIO except ImportError: from StringIO import StringIO class MessageTestCase(unittest.TestCase): def create_message(self, msg): return rfc822.Message(StringIO(msg)) def test_get(self): msg = s...
[ "ps@neopoly.de" ]
ps@neopoly.de
a2f07df3af8ee8974943f2f72af4f1d8e8c2c4f0
12091b1c0723759464f949b0a47b305c76549278
/tests/test_pedreader.py
ae00fa7fdd2ada7ea03426fe560e3525311546bc
[ "MIT" ]
permissive
whatshap/whatshap
6311e13d36210f395206683bb00b2054ef639653
15c9ff8c4f5b04b86195396dbc6620c874b5ceb8
refs/heads/main
2023-09-04T07:58:09.567203
2023-08-31T08:45:45
2023-08-31T08:45:45
276,673,862
254
27
MIT
2023-09-10T06:47:19
2020-07-02T14:53:00
Python
UTF-8
Python
false
false
883
py
import io from pytest import raises from whatshap.pedigree import PedReader, Trio, ParseError class TestPedReader: def test_parse(self): trios = list(PedReader("tests/data/pedigree.ped")) assert trios[0] == Trio(child="child1", mother="mother", father="father") assert trios[1] == Trio(chil...
[ "marcel.martin@scilifelab.se" ]
marcel.martin@scilifelab.se
c095c9ea75894cf94711c006a112018463e2b36e
a80963fbac8c0edcef5b1b9bad67a4b5913cd569
/tuple1.py
5d2d9ca7cc039ecf65294f12eb7021528954ca32
[]
no_license
manurp/Python_programs
946877caf93a2ff0239c68dc4e8e02c72fe6f156
1a0c896b05b72afee7a48dd1bc2bef2aa7ffe0af
refs/heads/master
2020-06-28T01:22:59.140092
2018-09-01T17:03:18
2018-09-01T17:03:18
97,080,367
2
0
null
null
null
null
UTF-8
Python
false
false
64
py
n=input() print(hash(tuple([int(i) for i in input().split()])))
[ "manojrpoojary@gmail.com" ]
manojrpoojary@gmail.com
5bb44b04e369f75bbfa730979f359f87774d86b2
f61cf1a24fa184dd552dd47dd8399b74c5816ee0
/tasks/10/10-10.py
e06737083170e2f17c7ee5587f9bbf2b030af1e0
[]
no_license
desve/netology
ea585d9db8658eea5319b98f63259239fa538fcb
c6039cc831058b8ba650d417fae25f761520139b
refs/heads/master
2020-01-23T21:11:31.291807
2017-04-06T05:19:08
2017-04-06T05:19:08
74,572,766
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
# Полустепени вершин n = 5 a= [[0, 0, 0, 0, 0], [0, 0, 0, 0, 1], [1, 1, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0] ] c1 = [0] * n for i in range(n): c11 = 0 for j in range(n): if a[i][j] == 1: c11 += 1 c1[i] = c11 c2 = [0] * n for i in range(n): c22 = 0 ...
[ "2901243@mail.ru" ]
2901243@mail.ru
729f408065f93d454e748e77b04b04967fb88c26
5cc204e2ecb9a756127e7c71633a1edcdb3e989b
/pylmp/InKim/LAMMPS_getViscosity.py
549a600e96d47dab74637bbb64c9f0a909aae361
[]
no_license
hopefulp/sandbox
1a1d518cf7b5e6bca2b2776be1cac3d27fc4bcf8
4d26767f287be6abc88dc74374003b04d509bebf
refs/heads/master
2023-06-27T17:50:16.637851
2023-06-15T03:53:39
2023-06-15T03:53:39
218,209,112
1
0
null
2022-09-13T13:22:34
2019-10-29T05:14:02
C++
UTF-8
Python
false
false
3,560
py
#!/home/noische/program/python27/bin/python """ template.py Original: Dec 28 2011 In Kim """ # Python Modules import sys import os import string import random import time import getopt import pprint # Custom Modules sys.path.append("/home/noische/scripts") sys.path.append("/home/noische/script") import bgf import bgf...
[ "hopefulp@gmail.com" ]
hopefulp@gmail.com
4b5a64ff4dfa130bfdb064b4d689d22a6410ef8d
e8d719fe45dfbff9cbbc4ed872832cec6cabaca6
/21_Merge_Two_Sorted_Lists.py
eb738c549da826985571891c40557a9c19c0cf19
[]
no_license
nlfox/leetcode
64f4f48d7f4be6df0542e51cc7037df40bf184a3
d61363f99de3d591ebc8cd94f62544a31a026d55
refs/heads/master
2020-12-21T01:43:01.792899
2016-11-14T23:10:12
2016-11-14T23:10:12
56,680,839
2
0
null
2016-05-17T17:16:37
2016-04-20T11:19:58
Python
UTF-8
Python
false
false
1,386
py
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None def construct(l): res = ListNode(l[0]) head = res for i in l[1:]: res.next = ListNode(i) res = res.next return head def pri(node): p = node wh...
[ "nlfox@msn.cn" ]
nlfox@msn.cn
f1290c1967e70ae6adf02d821fa34d407fc96a9a
e68fc7302d123d26f9e1d49c7877a3c2367cf676
/config.py
736f1d23ed37ee8f5ae1c0e589c3cb4efcf23da0
[ "MIT" ]
permissive
bmeares/sso
56ae3fb4336f4864e346d3cc366117b96e3f3a0c
d589098c6b6c8510815669184da84e0b561df90d
refs/heads/master
2023-06-01T10:09:04.656903
2021-06-05T17:01:15
2021-06-05T17:01:15
364,969,061
3
0
null
null
null
null
UTF-8
Python
false
false
1,802
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 from meerschaum.utils.prompt import prompt from meerschaum.config import get_plugin_config, write_plugin_config GOOGLE_CONF_URL = 'https://accounts.google.com/.well-known/openid-configuration' FACEBOOK_CONF_DICT = { 'api_base_url': 'https://graph.fac...
[ "bennett.meares@gmail.com" ]
bennett.meares@gmail.com
4dc66b762f786b20e0db445dc0eefe4d7163e1b7
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/dedal/train/training_loop.py
f371d2facd4a2c4143d83f03d601fae58f31ef3b
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
15,902
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
2af7e96fce26a0c36dc8219da9028f0f0366eac9
3940b4a507789e1fbbaffeb200149aee215f655a
/warmUpOC/binaryHeap-RandomArraytoMaxheap.py
87be6ff429535ca6536ad1e160d1c999e33f5d6b
[]
no_license
akimi-yano/algorithm-practice
15f52022ec79542d218c6f901a54396a62080445
1abc28919abb55b93d3879860ac9c1297d493d09
refs/heads/master
2023-06-11T13:17:56.971791
2023-06-10T05:17:56
2023-06-10T05:17:56
239,395,822
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
# Binary Heap - Random Array to Maxheap #### Prompt: Given an array of randomly sorted integers, rearrange the elements so that the array is a maxheap. What is the Big O runtime of this algorithm? Please provide your rationale as well #### Examples: ``` Example 1: arr = [3, 6, 4, 2, 7, 5, 1] return [7, 6, 5, 2, 3...
[ "akimi.mimi.yano@gmail.com" ]
akimi.mimi.yano@gmail.com
ec6a13a47cbceadb43a7cf88141a8bbd15d35e42
47d3e3149269277b164fecb176b5d0297d398b2e
/Python_coding_dojang/Unit 45/package01.py
26e03fb39f10ee0e5620aa19a6b0855bab0ab67a
[]
no_license
heechul90/study-python-basic-1
325e8c81fe35cd0cd22934869413e475b6734652
82d778e5960c0bde102bdc4c52fc61f61ba27745
refs/heads/master
2022-10-31T07:03:54.213599
2022-10-24T10:54:40
2022-10-24T10:54:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,923
py
### Unit 45. 모듈과 패키지 만들기 ## 45.3 패키지 만들기 ## 모듈은 스크립트 파일이 한 개지만 패키지는 폴더(디렉터리)로 구성되어 있습니다. # calcpkg/__init__.py # # __init__.py 파일은 내용을 비워 둘 수 있음 ## 폴더(디렉터리) 안에 __init__.py 파일이 있으면 해당 폴더는 패키지로 인식됩니다. ## 그리고 기본적으로 __init__.py 파일의 내용은 비워 둘 수 있습니다 ## (파이썬 3.3 이상부터는 __init__.py 파일이 없어도 패키지로 인식됩니다. ## 하지만 하위 버전에도 호환되도록 __i...
[ "heechul4296@gmail.com" ]
heechul4296@gmail.com
96df125c2050e8380da4e03b47062197c37e68f7
5bd4893a793ed739127f15becd9558cacf461540
/scripts/rot_photos.py
5219086d03b68403f7db22b5c1aced82b54b5007
[]
no_license
hauensteina/ahn-repo
d3aa665eeef846e426b866d587e8649c8283e74c
93bd7c54548a083f39510fc562c9e7540c4f672a
refs/heads/master
2023-07-24T05:34:51.289699
2023-07-13T16:10:25
2023-07-13T16:10:25
99,860,476
0
1
null
2023-07-15T01:33:35
2017-08-09T23:20:28
Python
UTF-8
Python
false
false
2,121
py
#!/usr/bin/env python # Rotate all *JPG files in the current folder so that the image header # matches the actual image rotation. # Then you can rotate them manually for upload to hauenstein.nine.ch/andiconny . # AHN, Jan 2020 from __future__ import division, print_function import os,sys,re,glob,shutil import subpro...
[ "hauensteina@gmail.com" ]
hauensteina@gmail.com
2023fb2002eba629aa483150c449161bf19a08ed
58b87ea29a95a5ceeaae4c2d7db1b16502ed158f
/ComputationalPhysics/Homework/hw3.py
d368ea50245383ff59eb1bac5299c93e92da3b2c
[]
no_license
meyerpa/Python
b609e8c036b478b20cd17a4cc47b71c129c968f8
3797f9be3341e69d5e9eccfc1b4e7f52fdd9c666
refs/heads/master
2021-01-01T03:58:40.183829
2018-03-14T14:24:57
2018-03-14T14:24:57
56,526,228
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
# -*- coding: utf-8 -*- """ Created on Thu Jan 26 13:30:49 2017 @author: Paige Meyer @date: 1-26-2016 @file: homework3 @description: This file contains code to read sunspots.txt, show the number of months, graph the sunspots with respect to time, and average the data. """ import numpy as np import matplo...
[ "meyerpa@mnstate.edu" ]
meyerpa@mnstate.edu
7f87b5c5bed34bb76c1ee9f8face990205269f2d
de392462a549be77e5b3372fbd9ea6d7556f0282
/accounts/migrations/0035_auto_20200910_1200.py
dac2d5c9008ca94f225b7cedf49b36e06ab4e2cf
[]
no_license
amutebe/AMMS_General
2830770b276e995eca97e37f50a7c51f482b2405
57b9b85ea2bdd272b44c59f222da8202d3173382
refs/heads/main
2023-07-17T02:06:36.862081
2021-08-28T19:07:17
2021-08-28T19:07:17
400,064,408
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
# Generated by Django 3.0.2 on 2020-09-10 09:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0034_auto_20200910_1126'), ] operations = [ migrations.AlterField( model_name='car', name='car_number', ...
[ "mutebe2@gmail.com" ]
mutebe2@gmail.com
d7d3c2d7ef21f281073e54af1f20b0d335a6d4a2
3c17e189622018329bc0ebd8523eae8db9f3112a
/ykdl/extractors/netease/live.py
8a3b1f40c764c49483d13ce1bbf800566e2c18ed
[ "MIT" ]
permissive
YU-zreo/ykdl
167c9b8715a1cecf57c18bf60c7da3b22437ad06
b59dacd78bcec79d208d7cb86b86fa65428e386a
refs/heads/master
2020-12-02T12:47:01.113309
2017-07-07T12:39:20
2017-07-07T12:39:20
96,594,712
1
0
null
2017-07-08T03:57:22
2017-07-08T03:57:21
null
UTF-8
Python
false
false
912
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from ykdl.util.html import get_content from ykdl.util.match import match1 from ykdl.extractor import VideoExtractor from ykdl.videoinfo import VideoInfo import json class NeteaseLive(VideoExtractor): name = u"网易直播 (163)" def prepare(self): info = VideoInf...
[ "zhangn1985@gmail.com" ]
zhangn1985@gmail.com
810ad686960f4a19c7624ae8c49a2c551ec555b7
9e5452e9a8079125d2f89aedca7ca5b675171fee
/src/industries/rubber_plantation.py
404260e3952ecc8087de4b62cb52bd265a5299ef
[]
no_license
RadarCZ/firs
c16f8b2faf3c770c873bab948adc0bd850156dd5
da1d614c0a92b91978ff212015ed9d00c9f37607
refs/heads/master
2023-08-13T09:05:32.939857
2021-09-24T18:10:28
2021-09-24T18:10:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,899
py
from industry import IndustryPrimaryOrganic, TileLocationChecks industry = IndustryPrimaryOrganic( id="rubber_plantation", prod_cargo_types_with_multipliers=[("RUBR", 16)], map_colour="121", prob_in_game="4", prob_map_gen="11", prospect_chance="0.75", name="TTD_STR_INDUSTRY_NAME_RUBBER_PLAN...
[ "andy@teamrubber.com" ]
andy@teamrubber.com
5660cf373fd81ac3f88d952f37b7290ad5c9e660
5c5e7b03c3373e6217665842f542ca89491290ff
/2015/day24.py
da34556a0fac89ed5e4bf110b667f266d5fe3ae1
[]
no_license
incnone/AdventOfCode
9c35214e338e176b6252e52a25a0141a01e290c8
29eac5d42403141fccef3c3ddbb986e01c89a593
refs/heads/master
2022-12-21T21:54:02.058024
2022-12-15T17:33:58
2022-12-15T17:33:58
229,338,789
0
0
null
null
null
null
UTF-8
Python
false
false
3,316
py
from getinput import get_input import itertools import copy def list_prod(x): prod = 1 for s in x: prod *= s return prod def partitionable(weights): weight_sum = sum(w for w in weights) if weight_sum % 2 != 0: return False n = len(weights) k = weight_sum // 2 # p[i][...
[ "incohatus.none+git@gmail.com" ]
incohatus.none+git@gmail.com
1bd16f88bb8cf77b42c10f23cb961dac40c8112e
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/torch/nn/parallel/scatter_gather.py
022b96bf08f30d37561e898459ab0e809d0e29ed
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:b69f556cfd2c67160d3730c231d1bb6d26eaf9dcc7d69128f5c480af8679521d size 2690
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
6a817ecffb86c41f42b6deea0488e93cad9bc8f1
0760b6a6912914dda2923f0fa79fc1a6571ef376
/turtle/graphics pattern.py
23c8f87a8e6efd6e58bebc6843f0815740aa7cc1
[]
no_license
PrateekJain999/Python-Codes
030cc8aedcea52e3142d545fb92aeff5f895ca5f
21e2f5a135e9646ac8fb5845ad10bc6bbf3c23c7
refs/heads/main
2023-02-26T11:11:28.951296
2021-02-04T11:36:09
2021-02-04T11:36:09
331,254,596
1
0
null
null
null
null
UTF-8
Python
false
false
217
py
import turtle as t t.setpos(0,0) t.circle(50) t.penup() t.setpos(-50,50) t.pendown() t.fd(100) t.penup() t.rt(90) t.setpos(0,100) t.pendown() t.fd(100) t.penup() t.setpos(0,-50) t.lt(90) t.pendown() t.circle(100)
[ "jain22719@gmail.com" ]
jain22719@gmail.com
62696409136a5cc3fdb711a033171a0ac2283072
8799cbe3a261fea3ff05af2fba7e3eade40b57f5
/SocialMedia/chat/migrations/0003_message.py
8d63257134147432e000872e0dc0071bfe366b5a
[]
no_license
Anoop-Suresh/Training
83b5759db0d2113bb90731b243a1dd2d5be5992f
e6f4dd8a77fec058917dd25c424a1f3afc7df236
refs/heads/master
2022-11-30T08:18:21.432284
2019-10-13T03:48:15
2019-10-13T03:48:15
190,737,085
0
0
null
2022-11-22T04:17:20
2019-06-07T12:05:47
Python
UTF-8
Python
false
false
843
py
# Generated by Django 2.2.4 on 2019-08-19 09:31 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('chat...
[ "anoopsuresh.sayonetech@gmail.com" ]
anoopsuresh.sayonetech@gmail.com
1a879097a3a0984ce04a4d7618b016354300f5f6
1d57fddd5945dd14868478bbf34dc7cbb272ee5c
/build/release/create_vortrac_src_release.py
fe6127028fb8ec5d4ebeb8a7c61ddd271b2f2349
[ "BSD-3-Clause" ]
permissive
1059444127/lrose-core
21bff2d6f05804a7b1c1517df341197cbd2e14f2
d1b62ee4b248ba98c73ec9d3cce969a7b7651679
refs/heads/master
2023-04-05T02:35:08.192082
2021-04-23T21:54:00
2021-04-23T21:54:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,034
py
#!/usr/bin/env python #=========================================================================== # # Create a source release for vortrac # # Assumes that a source release has already been created for lrose-core # #=========================================================================== from __future__ import pri...
[ "dixon@ucar.edu" ]
dixon@ucar.edu
11334580d227b390aefdefb498b228ab139c24cd
b5f9f93a415a5cc0117a580c5da12804e68c141d
/scripts/motions/test/follow1.py
2f7db1b8b9f8c5fa6b6ae576d5ae6484649a95d7
[]
no_license
akihikoy/lfd_trick
71f89d80abc27ffc6fbd5bc609322918a4f8264e
b7bf0189db7bcef07772db17de29302d6e8ba2bf
refs/heads/master
2021-01-10T14:22:53.341666
2016-03-29T18:16:15
2016-03-29T18:16:15
50,623,958
3
0
null
null
null
null
UTF-8
Python
false
false
5,335
py
#!/usr/bin/python from core_tool import * def Help(): return '''Test: follow a q_traj that we experienced a failure. Usage: test.follow1''' def Run(t,*args): if not t.robot.Is('Baxter'): CPrint(4,'This test is only for Baxter.') return q_traj= [ [-1.0544096854806089, -0.2776862141411402, 0.28087579...
[ "info@akihikoy.net" ]
info@akihikoy.net
fba4aaf68de22858534fd2c92373acfe6ed79e88
4b0e25df6e219ed71689405f371f097b715869ee
/scripts/util/dump_yearly.py
767b09337b14fc709769b3a1c64ccdb89e76213d
[ "MIT" ]
permissive
geogismx/dep
4ce9be3c6a42c3ad8dd1762d7819ab19404fae3f
303c715e70000b48c5c71df0b59e259b8c246e9c
refs/heads/master
2020-04-16T17:50:11.805351
2019-01-09T16:21:59
2019-01-09T16:21:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,670
py
"""Dump some monthly data""" from __future__ import print_function import pandas as pd from pandas.io.sql import read_sql from pyiem.util import get_dbconn # East Nish DATA = """102400030603 102400030704 102400030701 102400030702 102400030601 102400030602 102400030303 102400030304 102400030406 102400030502 1024000303...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
9236262b222aaefac7e5c01449e61de6661ebb41
bab1fb6a6879574f010d79b0bccd3ad2681a0034
/forumsite/forum/post/admin.py
6f314e5be0a43b8dfa0f652393edec73842f96d2
[ "Unlicense" ]
permissive
lyjhj/dj
ee5e2234d1e1347e5bdffeffcc7a176bd47934a2
867ae008a3a65fb38fb0ed95b93c616e753f3903
refs/heads/master
2020-03-23T18:00:15.498064
2018-06-13T11:17:38
2018-06-13T11:17:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import Category, Item, Comment admin.site.register(Category) class CommentInline(admin.TabularInline): model = Comment @admin.register(Item) class ItemAdmin(admin.ModelAdmin): list_display = ['title...
[ "ch1huizong@gmail.com" ]
ch1huizong@gmail.com
ed97e7bb8c4a7062ac88f90ec47428281e6b77b5
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/6666dc4eec284bd286b22d2f63110743.py
2ead89f1a06dfe3793ffe43dd3eb7edce4e3206a
[]
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
432
py
# # Skeleton file for the Python "Bob" exercise. # def is_question(what): return what[-1] == '?' def is_yelling(what): return what.isupper() def is_empty(what): return not what.strip() def hey(what): if is_yelling(what): return 'Whoa, chill out!' elif is_empty(what): retu...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
a4f3850908d168eab535b69ca348c26c249e1c88
0cc7fbe68074113b3db7a6b42a303dcd970da326
/exercises/reinforcement_learning/monte_carlo_policy_iteration.py
6187b706ca8664251e6a496def7406e0349a1dde
[]
no_license
jay-woo/comprobo2014
a7c32a37b56933635ece69821b00f0f93df83d15
4e8b77bb5a9926b3b7735020fc24f294f61533b8
refs/heads/master
2020-04-01T20:03:23.113694
2015-09-01T00:41:41
2015-09-01T00:41:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,893
py
#!/usr/bin/env python """ This Python script demonstrates the basics of the Monte-Carlo Policy Iteration algorithm with exploring starts """ import numpy as np import pdb from copy import copy def evaluate_policy_montecarlo(policy,p,r,gamma,n): """ computes v^policy and q^policy using monte-carlo evaluation """ #...
[ "paullundyruvolo@gmail.com" ]
paullundyruvolo@gmail.com
fb2755119d89487927d6f007973870fb4c5e228f
83316dd8a01070711fe8c42cd38d245da9a4711e
/testmethodology/results/ResultUtils.py
836fe4807b83806f812225e9b4955097b55d74b9
[]
no_license
CmWork/STAKCommands
fa46d561d0a85ac49c14f1b1fc6c014d2e0955bc
8b3fb68912116f7973fa9b3677d4e3d43c92f194
refs/heads/master
2020-05-02T00:57:20.940300
2015-07-10T04:32:37
2015-07-10T04:32:37
38,860,960
0
0
null
null
null
null
UTF-8
Python
false
false
4,669
py
import os import json from StcIntPythonPL import * from spirent.methodology.results.Status import Status from spirent.methodology.results.ResultEnum import ( EnumVerdict, EnumDataClass, EnumDataFormat ) import spirent.methodology.results.LogUtils as logger from spirent.methodology.results.ResultConst im...
[ "c@m.com" ]
c@m.com
f2d2a1d1453a1e73523857c1bcf4515f83691849
9f5fcff2513f2d78f27e5313698dcc47fce1e754
/Experiment/Parallel_EA_NAS/graphnas/gnn_model_manager.py
7cbd75a812a6420f3992d3d1dea04e4602bf9288
[ "Apache-2.0" ]
permissive
ncucjm/notebook
c2495f790e9fc2ca55c1c29a8eaa2dc1bfe7463f
7271a0d1b10cdd6298e223c7ff150d4df031aa76
refs/heads/master
2023-07-20T05:55:48.946687
2021-01-27T09:12:19
2021-01-27T09:12:19
202,633,012
0
0
null
2023-07-06T21:28:29
2019-08-16T00:58:45
Jupyter Notebook
UTF-8
Python
false
false
8,422
py
import os import time import numpy as np import torch import torch.nn.functional as F from dgl import DGLGraph from dgl.data import load_data from graphnas.gnn import GraphNet from graphnas.utils.model_utils import EarlyStop, TopAverage, process_action def load(args, save_file=".npy"): save_file = args.dataset +...
[ "1300887184@qq.com" ]
1300887184@qq.com
564452fb10213587922272db7d1083be27fc5b61
28ff818fcf120f52bde8d26dbaa654e951595009
/APUNTES/PYTHON/EJEMPLOS_FORMACION/djangoCMSproject/venv/Lib/site-packages/filer/models/foldermodels.py
6ba2e85233d96d43db46270b8b2fac84b4f5fe5a
[]
no_license
pcmaestro/my_repository
9c87382b2c30e5d0985a08ddfa172995de80a45a
13d47e67a49b5996654a5386c024e61c2c753e6b
refs/heads/master
2022-07-13T20:38:14.614763
2020-08-14T18:58:44
2020-08-14T18:58:44
234,505,688
2
0
null
2022-06-21T03:58:12
2020-01-17T08:32:56
Python
UTF-8
Python
false
false
12,171
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.conf import settings from django.contrib.auth import models as auth_models from django.core.exceptions import ValidationError from django.db import models from django.db.models import Q from django.urls import reverse from dja...
[ "pcmaestro@hotmail.com" ]
pcmaestro@hotmail.com
e40bad0cc4a7daf31b43b5798a29c426db6e2f2a
65dce36be9eb2078def7434455bdb41e4fc37394
/234 Palindrome Linked List.py
57debdf93004c385c901d8d4fc1ac7a1101d855a
[]
no_license
EvianTan/Lintcode-Leetcode
9cf2d2f6a85c0a494382b9c347bcdb4ee0b5d21a
d12dd31e98c2bf24acc20c5634adfa950e68bd97
refs/heads/master
2021-01-22T08:13:55.758825
2017-10-20T21:46:23
2017-10-20T21:46:23
92,607,185
1
0
null
null
null
null
UTF-8
Python
false
false
540
py
''' Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space? ''' # Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def isPalindrome(self,...
[ "yiyun.tan@uconn.edu" ]
yiyun.tan@uconn.edu
8d7b3d53d319729a792f4c4c9540b11d79a2188e
1646b3fe9000c3109695e99b4bb75679577906ff
/187.RepeatedDNASequences.py
4c2cf6b3b75206c0e73051291ec5b5a969f38cf3
[]
no_license
yao9208/lc
5ecf6720886beb951c9a70433f53a0ec0bcb74dc
024c1b5c98a9e85706e110fc2be8dcebf0f460c3
refs/heads/master
2020-04-03T20:55:40.199637
2017-02-10T08:30:46
2017-02-10T08:30:46
56,478,941
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
from sets import Set class Solution(object): def findRepeatedDnaSequences(self, s): """ :type s: str :rtype: List[str] """ result = [] dic = Set() resultSet = Set() for i in range(len(s)-9): sub = s[i:i+10] #key = self.transform...
[ "yao9208@foxmail.com" ]
yao9208@foxmail.com
cc0b564573152e35e57785774f3f8f3b7ae477e6
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/pdMwiMpYkJkn8WY83_4.py
f98843713468da39e6fdfb127999e93b793e8ef5
[]
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
445
py
""" Write a function that **recursively** determines if a string is a palindrome. ### Examples is_palindrome("abcba") ➞ True is_palindrome("b") ➞ True is_palindrome("") ➞ True is_palindrome("ad") ➞ False ### Notes An empty string counts as a palindrome. """ def is_palindrome(w):...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0189ebc033ef3f0dba5aa432cc867ce49bd47944
3da15577cf3faeeab75cf48f6230372e22e1ae39
/shop/api/permissions.py
08b7c9799ae7bdca64b6519bd140092e074eec4e
[]
no_license
deepdik/cityapl
991428e52f0bd33ba48bf42391244661512edd17
9e62ce2924018b0ca5e4d2e884279128605d5e0c
refs/heads/master
2020-04-04T22:37:42.507940
2018-11-06T06:02:05
2018-11-06T06:02:05
156,329,922
4
0
null
null
null
null
UTF-8
Python
false
false
584
py
from rest_framework.permissions import BasePermission,SAFE_METHODS class IsOwnerOrReadOnly(BasePermission): def has_object_permission(self, request, view, obj): if request.method in SAFE_METHODS: return True return obj.user == request.user class IsUser(BasePermission): def has_pe...
[ "dk5f95@gmail.com" ]
dk5f95@gmail.com
270980529a30f03e325df9ebbce376402f7393dd
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_fop.py
6e20e2da412efa43b68bdc5ddc1b75f6b64b011f
[ "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
388
py
#calss header class _FOP(): def __init__(self,): self.name = "FOP" self.definitions = [u'(especially in the past) a man who is extremely interested in his appearance and who wears very decorative clothes'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'no...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a174d3dad7d7bfec074ca8e6f17544d6a1a70f26
7278b31ebd6362bebf6986c2f3eca89d87201eb2
/exp/viroscopy/model/HIVEpidemicModel.py
f629736eb99ec5dbe3f39dfa031170162bfea751
[]
no_license
malcolmreynolds/APGL
c19827b1b834d3491d98a751c91838177aedc29e
1703510cbb51ec6df0efe1de850cd48ef7004b00
refs/heads/master
2020-12-25T05:52:45.826947
2013-03-26T12:30:00
2013-03-26T12:30:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,291
py
import logging import numpy from apgl.graph import * from apgl.util import * from exp.viroscopy.model.HIVGraph import HIVGraph from exp.viroscopy.model.HIVVertices import HIVVertices class HIVEpidemicModel(): def __init__(self, graph, rates, T=100.0, T0=0.0, metrics=None): """ This class models an ...
[ "charanpal@gmail.com" ]
charanpal@gmail.com
c030633d3f8acd75c40c4fc8a8369f4a9c37a819
334dea3e7941871a6b23be65cfc9b14d6be49db0
/apps/master/migrations/0011_auto_20210414_2324.py
ff34056bdb39745aa68bcc063db3a7463c01b49c
[]
no_license
HilmiZul/walikelas
e2f3d06dfab3ab48373eda2b1b363fe1e64caef6
3febaf97272c78310e488c883a9647b269e25930
refs/heads/master
2023-08-15T20:56:58.011519
2021-10-07T04:32:43
2021-10-07T04:32:43
367,083,389
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
# Generated by Django 2.2.17 on 2021-04-14 16:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('master', '0010_gurumapel_rombel'), ] operations = [ migrations.RenameField( model_name='rombel', old_name='guru', ...
[ "netspytux@gmail.com" ]
netspytux@gmail.com
cb4b2fa92a7b554dd223c4162d6d61fa9d634a54
4eddf6a34715752dc652571b1ab274f51ceb5da0
/.history/yjs/test_20210606212007.py
7d6be688304d2c14aecf1dd4e6af756385e35e82
[]
no_license
Suelt/Hust-SE-introduction-to-ML
649aba0e5b41363ceac03330ef02982982a0615d
a66785c3085da573f5748d13608eabf02e616321
refs/heads/master
2023-05-27T13:13:41.058545
2021-06-10T05:44:02
2021-06-10T05:44:02
375,582,438
1
0
null
null
null
null
UTF-8
Python
false
false
5,503
py
import numpy as np from tensorflow.keras.datasets import mnist import random class NumpyinMnist(): def __init__(self): self.layers=2 self.weight=[] self.weight.append(np.random.randn(30,784)) self.weight.append(np.random.randn(10,30)) self.bias=[] self.bias.append(...
[ "2552925383@qq.com" ]
2552925383@qq.com
2f84b258aeb88034ffb315eab22e7c3a81441c17
c09a8ed8cc41f1c60341aaa4a6c267950022d336
/database-test/code/app.py
2bfc3c647d519e86dfbc6a90541e1e17c4f6e196
[]
no_license
chuiizeet/Flask-bois
796abc1c135dd2d0032179a818a9227ee919d86e
a7c06e5167e169bc57a83bb4e17bef85e620c2fb
refs/heads/master
2020-05-30T02:06:43.128860
2019-06-25T22:08:12
2019-06-25T22:08:12
189,491,906
2
0
null
null
null
null
UTF-8
Python
false
false
474
py
from flask import Flask from flask_restful import Api from flask_jwt import JWT from secure import authenticate, identity from user import UserRegister from item import Item, ItemList app = Flask(__name__) app.secret_key = 'chuy' api = Api(app) jwt = JWT(app, authenticate, identity) api.add_resource(Item, '/item/<s...
[ "chuy.guerra19@outlook.es" ]
chuy.guerra19@outlook.es
74623723dc473959fda9ef462c8209ec5452c655
2e44570b5176e8facc05f8b7e58b167b625fdd03
/wms_project/settings.py
fe971b4e6386c30f9a0b82d056a8fb4d65c3cd8b
[]
no_license
jccode/wms_project
153e9b6e20c92c03881d88f44b9ab0c5e13851b3
c994de8ecda39d96e018956d609f12281a55ee85
refs/heads/master
2016-09-06T16:03:14.496501
2014-03-30T15:49:42
2014-03-30T15:49:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,530
py
# Django settings for wms_project project. import os gettext = lambda s: s PROJECT_PATH = os.path.split(os.path.abspath(os.path.dirname(__file__)))[0] DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': ...
[ "junchangchen@gmail.com" ]
junchangchen@gmail.com