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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1e88b4905c58719396ac3a5ba541c9b66da4468a | 3c000380cbb7e8deb6abf9c6f3e29e8e89784830 | /venv/Lib/site-packages/cobra/modelimpl/comm/webconnag1w.py | eee6f897e973916bc32fecbff1ae310e61e6d490 | [] | 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 | 17,851 | 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 |
055a0a056e4c316e4fb5425388900dc3ea5d47ba | 47a3a59288792f654309bfc9ceb6cbfa890720ef | /ramda/omit_test.py | 11fd6af8b845020962f91cbac8aa37846ca872a5 | [
"MIT"
] | permissive | jakobkolb/ramda.py | 9531d32b9036908df09107d2cc19c04bf9544564 | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | refs/heads/master | 2023-06-23T00:46:24.347144 | 2021-02-01T16:47:51 | 2021-02-01T16:48:25 | 388,051,418 | 0 | 0 | MIT | 2021-07-21T16:31:45 | 2021-07-21T08:40:22 | null | UTF-8 | Python | false | false | 352 | py | from .omit import omit
from ramda.private.asserts import assert_dicts_equal
def pick_nocurry_test():
assert_dicts_equal(
omit(["a", "d"], {"a": 1, "b": 2, "c": 3, "d": 4}), {"b": 2, "c": 3}
)
assert_dicts_equal(
omit(["there_is_no_key"], {"a": 1, "b": 2, "c": 3, "d": 4}),
{"a": 1,... | [
"slava.ganzin@gmail.com"
] | slava.ganzin@gmail.com |
12b2601062b88a0764fe4605d06bd9c8dd80a3cc | 1cb49fbe0e99d30869cd30e0ccec2c9477849374 | /Face Detection/face_classifier/backup-17-May-2018/face_classifier.py | cf14b6b276b159ee1e6eeaa77a929a30eec826c7 | [] | no_license | wuyx/Machine-Learning | ea0f5417669243a8d85cd8a5132dcffdc8e069e8 | 42a7c843289cc22592ad8e8331367f973ab0b7e4 | refs/heads/master | 2022-12-19T02:43:28.961837 | 2020-08-17T03:05:01 | 2020-08-17T03:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,431 | py | import platform
print("Platform is", platform.system())
if platform.system() == "Darwin":
import matplotlib
matplotlib.use("TkAgg")
import matplotlib.pyplot as plt
else:
import matplotlib.pyplot as plt
import numpy as np
import cv2
import tensorflow as tf
from tensorflow.contrib.layers import flatten... | [
"liprin1129@gmail.com"
] | liprin1129@gmail.com |
9ba8cf12520d5f34fba58ef8cbe065bfe5b8a94b | 4b24e80dc274353ff9bd5a8fe62c50cc57444aeb | /fmcapi/api_objects/object_services/urls.py | 34c62846acb127a348bd1fd0054e7c645510516f | [
"BSD-3-Clause"
] | permissive | realvitya/fmcapi | ba4dede492238890fdfec1c3fd447906ffeab706 | 38fb9a8da2d9ebbadf4ed4cb559244646b3bf3be | refs/heads/master | 2020-09-13T23:14:53.177902 | 2019-12-09T03:17:37 | 2019-12-09T03:17:37 | 222,935,028 | 0 | 0 | BSD-3-Clause | 2019-11-20T12:42:42 | 2019-11-20T12:42:41 | null | UTF-8 | Python | false | false | 775 | py | from fmcapi.api_objects.apiclasstemplate import APIClassTemplate
import logging
import warnings
class URLs(APIClassTemplate):
"""
The URLs Object in the FMC.
"""
VALID_JSON_DATA = ["id", "name", "url", "description"]
VALID_FOR_KWARGS = VALID_JSON_DATA + []
URL_SUFFIX = "/object/urls"
REQU... | [
"dmickels@cisco.com"
] | dmickels@cisco.com |
f811b9919ddd4e93906f3d2c8777defe2f814acb | 7a3c5280f07ceb5eabbb7c38fe864c3288397a26 | /pilgram/css/blending/tests/test_soft_light.py | a8da18c2c45f774217789bdcf8708c310e9ea4f7 | [
"Apache-2.0"
] | permissive | asharpc/pilgram | 17443db1bc4e51d07eb36680138806603cc1b839 | c585ca4f7f08549842befdcd05dd7d9972f7b0a2 | refs/heads/master | 2023-08-30T03:45:33.196127 | 2021-10-12T04:58:58 | 2021-10-12T04:58:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,332 | py | # Copyright 2019 Akiomi Kamakura
#
# 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 writi... | [
"akiomik@gmail.com"
] | akiomik@gmail.com |
958e2e9ced0acff38b7089f329cfee9354494764 | c71c8dc74cc70b06c0c703ef409363496f95871e | /src/agents/migrations/0015_auto_20180618_0335.py | 934f399c15649367a689401ee93ad922336c6f89 | [] | no_license | l3h4ng/test1 | 76e882882f8f8a5e0f87088abff13eeac90f33f3 | 870583fdc6107e16abf04434d83c285f273215f3 | refs/heads/master | 2020-04-08T07:18:18.315397 | 2018-11-26T08:57:27 | 2018-11-26T08:57:27 | 159,134,139 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,305 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-06-18 10:35
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('agents', '0014_auto_20180605_0348'),
]
operations = [
migrati... | [
"you@example.com"
] | you@example.com |
824eaef60b468f8583973a13aa291b47f2721308 | e0597a144cfdcecc72e97b149ff5b1e4e90d1c6d | /src/metapack_build/package/__init__.py | 9b22d2a38b3487f8e07fda168b906cabcab03408 | [
"MIT"
] | permissive | Metatab/metapack-build | e7f684e924c732c1f25472d0b4ce70847260d154 | 5e47728c5fc41b9dd1d4d6ef82bbfb67a1d9f953 | refs/heads/master | 2022-11-13T17:09:44.338504 | 2022-11-10T21:10:07 | 2022-11-10T21:10:07 | 185,630,844 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 487 | py | # Copyright (c) 2017 Civic Knowledge. This file is licensed under the terms of the
# MIT License, included in this distribution as LICENSE
""" """
from metapack.package import Downloader, open_package # NOQA
from .core import PackageBuilder # NOQA
from .csv import CsvPackageBuilder # NOQA
from .excel import Excel... | [
"eric@civicknowledge.com"
] | eric@civicknowledge.com |
4bffd584589c2250a04486cee649559d807811e8 | 6e2487477765a38604cc94ca96af4774dbd88f58 | /hc/api/tests/test_admin.py | 86a7db1e3e00c9b71ff78700e6c3a8c088e52554 | [
"BSD-3-Clause"
] | permissive | herbertUG/healthchecks | e247428012ef8e0c79fe3fe44567b6f9eaf9b298 | 1cdb6e6d1d1a5bed7026132ed316213e60cb6be1 | refs/heads/master | 2020-09-28T08:56:17.415441 | 2019-12-06T06:58:32 | 2019-12-06T06:58:32 | 226,740,247 | 4 | 0 | BSD-3-Clause | 2019-12-08T22:20:23 | 2019-12-08T22:20:21 | null | UTF-8 | Python | false | false | 1,080 | py | from hc.api.models import Channel, Check
from hc.test import BaseTestCase
class ApiAdminTestCase(BaseTestCase):
def setUp(self):
super(ApiAdminTestCase, self).setUp()
self.check = Check.objects.create(project=self.project, tags="foo bar")
self.alice.is_staff = True
self.alice.is_s... | [
"cuu508@gmail.com"
] | cuu508@gmail.com |
4f3c2f3566543195b8bf42f7c494580c1a518f9d | fb744d622b947cba3f167bf8b8da810c34ded83d | /run.py | 5cbf62bfa20333878ba812ecfb2f043e28a24949 | [] | no_license | petres/septupus | 8f0f1e7ab7658ee03bd53d66c19db1a412ff1b0e | be83d3c5029ca6d2ce3f72a48c03114fb8535566 | refs/heads/master | 2023-05-28T20:52:09.223214 | 2023-02-23T22:46:03 | 2023-02-23T22:46:03 | 195,785,991 | 0 | 0 | null | 2023-05-24T01:31:32 | 2019-07-08T10:03:06 | Python | UTF-8 | Python | false | false | 1,274 | py | #!/usr/bin/env python
from web import WebManager
from flask import request
import threading
from lib.multiManager import MultiManager
from lib.camera.cameraManager import CameraManager
from lib.robot.robotManager import RobotManager
from lib.robot.serialManager import SerialManager
from lib.games.spaceInvadersManager i... | [
"peter.reschenhofer@gmail.com"
] | peter.reschenhofer@gmail.com |
e8930236dbe18fffb17fe6b8fe61950997e6c864 | 26bd175ffb3bd204db5bcb70eec2e3dfd55fbe9f | /exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/tests/unit/modules/network/ironware/test_ironware_facts.py | e29b4db64b06c1907d83fd2341f728677407fc96 | [
"GPL-3.0-only",
"MIT",
"CC0-1.0",
"GPL-1.0-or-later"
] | permissive | tr3ck3r/linklight | 37814ed19173d893cdff161355d70a1cf538239b | 5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7 | refs/heads/master | 2021-04-11T04:33:02.727318 | 2020-03-25T17:38:41 | 2020-03-25T17:38:41 | 248,992,437 | 0 | 0 | MIT | 2020-03-21T14:26:25 | 2020-03-21T14:26:25 | null | UTF-8 | Python | false | false | 4,806 | py | # (c) 2016 Red Hat Inc.
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is dis... | [
"joshuamadison+gh@gmail.com"
] | joshuamadison+gh@gmail.com |
2e733eb8587c4253faf3b6e89cc778fd0e48feb9 | 8bccc05fcb3cfc6ed93991927a514a96f53f7ec0 | /old_version/candidate_selection/tensorflow_models/components/vector_encoders/multilayer_perceptron.py | 0ea714aca10a4f774d400220f89e347aca98eb8a | [
"MIT"
] | permissive | afcarl/QuestionAnsweringGCN | 54101c38549405d65ef22e38fed9e5bd58122ada | e9c1987b40a553f0619fa796f692c8880de32846 | refs/heads/master | 2020-03-20T10:35:55.729170 | 2018-06-07T11:45:12 | 2018-06-07T11:45:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,082 | py | import numpy as np
import tensorflow as tf
from candidate_selection.tensorflow_models.components.abstract_component import AbstractComponent
class MultilayerPerceptron(AbstractComponent):
transforms = None
variable_prefix = None
variables = None
weights = None
biases = None
l2_scale = None
... | [
"michael.sejr@gmail.com"
] | michael.sejr@gmail.com |
c2530ceda5d20dbbc5a7f5eb0707c0cf79756021 | 7ac2ba90f973f5230a046cc7b72ad3056554e6d4 | /pyswagger/contrib/client/requests.py | 8e877e11173c27eed403ecefc6924002f3e45f9e | [
"MIT"
] | permissive | larscwallin/pyswagger | 1d38faef430dfc5c4ccb0e288541544248eb3326 | 1e07d52d0ce342b7183319ebc9c1ddc51a78577e | refs/heads/master | 2020-02-26T13:27:51.525526 | 2014-10-22T11:01:26 | 2014-10-22T11:01:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,333 | py | from __future__ import absolute_import
from ...core import BaseClient
from requests import Session, Request
import six
class Client(BaseClient):
""" Client implementation based on requests
"""
def __init__(self, auth=None):
"""
"""
super(Client, self).__init__(auth)
self._... | [
"missionaryliao@gmail.com"
] | missionaryliao@gmail.com |
3e299aab3601833fdc7272c15795f37dbf3e61b9 | 255021fadf9f739db042809ca95f5b9f75609ec5 | /D3/3376 파도반 수열.py | f2c65b6a4faecf7ea3da169bf4c90873e1a40770 | [] | no_license | unsung107/Algorithm_study | 13bfff518fc1bd0e7a020bb006c88375c9ccacb2 | fb3b8563bae7640c52dbe9324d329ca9ee981493 | refs/heads/master | 2022-12-13T02:10:31.173333 | 2020-09-13T11:32:10 | 2020-09-13T11:32:10 | 295,137,458 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 340 | py | padoban = []
for i in range(100):
if i <= 2:
padoban.append(1)
elif i <= 4:
padoban.append(2)
else:
padoban.append(padoban[i - 1] + padoban[i - 5])
results = []
for rounds in range(int(input())):
num = int(input())
results.append(f'#{rounds + 1} {padoban[num - 1]}')
print(... | [
"unsung102@naver.com"
] | unsung102@naver.com |
d120af91880a53f8918e9093dbf577db62dbec94 | b59e093876a78054bf58ae16fa245bace5d924a2 | /maxScoreSightseeingPair.py | 36b9b1671edb6621285ca0e34a6d90dbde65d895 | [] | no_license | NeilWangziyu/Leetcode_py | 539551585413e1eebd6e6175ba3105c6bc17e943 | 4105e18050b15fc0409c75353ad31be17187dd34 | refs/heads/master | 2020-04-08T03:50:05.904466 | 2019-10-15T07:13:49 | 2019-10-15T07:13:49 | 158,991,828 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,622 | py | class Solution:
def maxScoreSightseeingPair(self, A):
if not A:
return 0
if len(A)<2:
return 0
res = 0
for i in range(len(A)):
for j in range(i+1, len(A)):
score = A[i] + A[j] + i - j
if score > res:
... | [
"noreply@github.com"
] | NeilWangziyu.noreply@github.com |
9b8d48fea44093bfc1ddc7c034a4104d64e8a76b | 34111dffa8598cd1baf84ecad87248d3b2c62269 | /beartype/_util/text/utiltextlabel.py | ea65c94e16e1741098acd23390eba69a1f01864d | [
"MIT"
] | permissive | mbeacom/beartype | e6b7dc4490d19e446288a5bea2396204c67d51b1 | ad20c2c3bd2590331ee3f3de702371d86ec8cb55 | refs/heads/main | 2023-07-30T00:14:05.275537 | 2021-09-17T07:21:39 | 2021-09-17T07:21:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,670 | py | #!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2021 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide **text label** (i.e., human-readable strings describing prominent
objects or types, typically interpolated into error ... | [
"leycec@gmail.com"
] | leycec@gmail.com |
8c588d45717f6bd6101922802c938990ea431eff | 55a273347cb103fe2b2704cb9653956956d0dd34 | /code/tmp_rtrip/test/test_pkgimport.py | 792cf3d14675d94179d159006b840859501355be | [
"MIT"
] | permissive | emilyemorehouse/ast-and-me | 4af1bc74fc967ea69ac1aed92664f6428acabe6a | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | refs/heads/master | 2022-11-18T03:50:36.505882 | 2018-05-12T17:53:44 | 2018-05-12T17:53:44 | 115,035,148 | 25 | 1 | MIT | 2022-11-04T11:36:43 | 2017-12-21T18:27:19 | Python | UTF-8 | Python | false | false | 2,404 | py | import os
import sys
import shutil
import string
import random
import tempfile
import unittest
from importlib.util import cache_from_source
from test.support import create_empty_file
class TestImport(unittest.TestCase):
def __init__(self, *args, **kw):
self.package_name = 'PACKAGE_'
while self.pa... | [
"emily@cuttlesoft.com"
] | emily@cuttlesoft.com |
c5bdf2f6cea518025127e5600520e7dde670c65d | 0c1bb0e2b3ee7c6e2d9fa104178b3a3f5d223194 | /flask/bin/flask | 53441bf3e52839eec2304bc5bea2126658c1ea0a | [] | no_license | prasadbiradar/date-extraction-from-images | b2a94c137c14b20b5b0fb879cfd4ba4c7f17940d | 055199f5321f346f131beb9c4bcbc2b86841cf13 | refs/heads/master | 2021-06-27T00:39:06.076822 | 2019-12-04T16:51:37 | 2019-12-04T16:51:37 | 225,878,458 | 0 | 0 | null | 2021-03-20T02:20:17 | 2019-12-04T13:50:39 | Python | UTF-8 | Python | false | false | 276 | #!/home/analytix/Downloads/personal/image_work/ocr-image-text-master/flask/bin/python2
# -*- coding: utf-8 -*-
import re
import sys
from flask.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"root@localhost.localdomain"
] | root@localhost.localdomain | |
d8c3c5cdd9933763803433ce5b76cc6d0c2c328f | f576f0ea3725d54bd2551883901b25b863fe6688 | /sdk/education/azure-mgmt-education/azure/mgmt/education/aio/operations/_operations.py | 369e23054c0cb208284134ebbe6f6929b0453fc8 | [
"LicenseRef-scancode-generic-cla",
"MIT",
"LGPL-2.1-or-later"
] | permissive | Azure/azure-sdk-for-python | 02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c | c2ca191e736bb06bfbbbc9493e8325763ba990bb | refs/heads/main | 2023-09-06T09:30:13.135012 | 2023-09-06T01:08:06 | 2023-09-06T01:08:06 | 4,127,088 | 4,046 | 2,755 | MIT | 2023-09-14T21:48:49 | 2012-04-24T16:46:12 | Python | UTF-8 | Python | false | false | 4,564 | py | # pylint: disable=too-many-lines
# 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) AutoRe... | [
"noreply@github.com"
] | Azure.noreply@github.com |
f8953b3dc628c752016e48ddd21004f39880c333 | 68f0fe638c9cab6fb01a21bbf5da9beb2833f9c7 | /zfrobisher-installer/src/viewer/viewer.py | fad12f94addb7da6db3ed7640a1398de8dab2e48 | [] | no_license | fedosu85nce/work | cd7a8545211cdeafba6ff820ce27cacdd52668d5 | 1c738fd5e6ee3f8fd4f47acf2207038f20868212 | refs/heads/master | 2021-01-15T17:45:31.878900 | 2015-04-09T10:02:55 | 2015-04-09T10:02:55 | 31,659,550 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,280 | py | #
# Code
#
class Viewer(object):
"""
Base interface for KoP installer viewer
"""
def getMenu(self):
"""
Creates and returns a Menu screen object
@rtype: Menu
@returns: screen object
"""
raise NotImplementedError("getMenu not implemented")
# getMenu... | [
"twu@gmail.com"
] | twu@gmail.com |
c3264ac3ec8ee90688ca8d7c237485a05abdffa0 | 490ffe1023a601760ae7288e86723f0c6e366bba | /kolla-docker/zun-ui/zun_ui/api/rest_api_providerregion.py | 057018392db5c00f90f8d641943c030ace74da17 | [
"Apache-2.0"
] | permissive | bopopescu/Cloud-User-Management | 89696a5ea5d2f95191327fbeab6c3e400bbfb2b8 | 390988bf4915a276c7bf8d96b62c3051c17d9e6e | refs/heads/master | 2022-11-19T10:09:36.662906 | 2018-11-07T20:28:31 | 2018-11-07T20:28:31 | 281,786,345 | 0 | 0 | null | 2020-07-22T21:26:07 | 2020-07-22T21:26:06 | null | UTF-8 | Python | false | false | 3,580 | py | # 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, software
# d... | [
"Mr.Qinlichao@hotmail.com"
] | Mr.Qinlichao@hotmail.com |
2ad74319a496c7b3398ffb728a98915725928b27 | 3499fc278bfd25fc42c8c52598e918bd010f8f3e | /venv/bin/django-admin | 24c3d11d58c2bfe33c706b5ac9f1e7b170b038a2 | [] | no_license | Janice-M/poll | 365c7e4725ccc3831297e2a64042e914a5061532 | dcb5f12f56837c5291c0e94917efe036e976b3ec | refs/heads/master | 2022-12-22T08:53:28.698930 | 2020-09-25T19:07:59 | 2020-09-25T19:07:59 | 293,923,592 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 294 | #!/home/moringa/Documents/roof/venv/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())
| [
"janiceink001@gmail.com"
] | janiceink001@gmail.com | |
cc965e537aaab0e3ead7413323732bd1789e1d8a | 49cb44cfe9b4cd382d8a7d10e1719de69e356ed9 | /scripts/ch6/doFindAnronovHopfBifucationPointINapIKLowThreshold.py | de1dca0d51e4920df4c52bdd56e6062cdca36559 | [] | no_license | joacorapela/figsResultsAndErrorsFromIzhikevich2007 | 913a25ff10479b04fa657cea013226766bef730c | 2c04cacbaa94485168926ddc7e343207beb033b9 | refs/heads/master | 2022-01-28T15:26:30.122964 | 2022-01-21T19:56:52 | 2022-01-21T19:56:52 | 150,012,910 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,280 | py |
import sys
import numpy as np
import pdb
import matplotlib.pyplot as plt
from INapIKModel import INapIKModel
def main(argv):
i0 = 0
v0 = -70.0
vf = -50.0
dv = 1e-3
deltaAnnotate = 0.3
def i(t): return(i0)
iNapIKModel = INapIKModel.getLowThresholdInstance(i=i)
vs = np.arange(v0, vf, dv... | [
"joacorapela@gmail.com"
] | joacorapela@gmail.com |
bd196701ca9cec3ecb32a2718c4300597e17e4ad | 461d6e951b9904a3248f974842e70b01da464afb | /0x02-python-import_modules/3-infinite_add.py | ed89ea180217ad3aff0375dd7cb083f45dc11bfa | [] | no_license | diego0096/holbertonschool-higher_level_programming | 76e27997aabb966488e8610837cbd39b2ee0ac8f | e89de4a988acac492670ada8c9c6d5f5d940a1d2 | refs/heads/master | 2020-09-29T00:58:11.432351 | 2020-05-15T02:15:08 | 2020-05-15T02:15:08 | 226,907,227 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 173 | py | #!/usr/bin/python3
if __name__ == "__main__":
from sys import argv
sum = 0
for c in range(1, len(argv)):
sum += int(argv[c])
print("{}".format(sum))
| [
"dfqz93@hotmail.com"
] | dfqz93@hotmail.com |
0cc835788b39e16f4c18709bb19ea70716d6eccf | 5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d | /alipay/aop/api/response/MybankPaymentTradeNormalpayOrderRefundResponse.py | 0704e0638c37464d8e3cb62748e4b75c1470ee65 | [
"Apache-2.0"
] | permissive | alipay/alipay-sdk-python-all | 8bd20882852ffeb70a6e929038bf88ff1d1eff1c | 1fad300587c9e7e099747305ba9077d4cd7afde9 | refs/heads/master | 2023-08-27T21:35:01.778771 | 2023-08-23T07:12:26 | 2023-08-23T07:12:26 | 133,338,689 | 247 | 70 | Apache-2.0 | 2023-04-25T04:54:02 | 2018-05-14T09:40:54 | Python | UTF-8 | Python | false | false | 1,651 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
class MybankPaymentTradeNormalpayOrderRefundResponse(AlipayResponse):
def __init__(self):
super(MybankPaymentTradeNormalpayOrderRefundResponse, self).__init__()
self._opera... | [
"jiandong.jd@antfin.com"
] | jiandong.jd@antfin.com |
ca0e94353ac689cbcf8766216f229425d21a9263 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/compiler/tests/pooling_ops_3d_test.py | fff500a9e3c8c90f2c90b7d84f7950a5ba23e306 | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | Python | false | false | 15,518 | py | # Copyright 2017 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... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
9798e07455813c5b3bd72e88fdfab5132f8f6ed5 | a73d3d3851a738e1bbdd84ce4c6e10112b6bb852 | /ansible-container/openshift-deploy/roles/ansible.kubernetes-modules/library/k8s_v1beta1_deployment_list.py | 7fdc9a97da81830af835e06fd4810d2a9313ad09 | [
"Apache-2.0",
"Beerware"
] | permissive | LeHack/Docker-network-research | 39d8b8d7ae511a2a12ac56b76282cb4e2d1449b2 | 62a57a6d723d8701a6d045a07a5abd2bd844a409 | refs/heads/master | 2021-01-21T20:47:18.818031 | 2017-06-03T20:06:29 | 2017-06-03T20:06:29 | 92,281,052 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 126,033 | py | #!/usr/bin/env python
from ansible.module_utils.k8s_common import KubernetesAnsibleModule, KubernetesAnsibleException
DOCUMENTATION = '''
module: k8s_v1beta1_deployment_list
short_description: Kubernetes DeploymentList
description:
- Retrieve a list of deployments. List operations provide a snapshot read of the under... | [
"lehack-ghub@lehack.pl"
] | lehack-ghub@lehack.pl |
77844ea2871718c6734f51e15170dee491eb798f | fdd050eef1c075965b7717f014ae2eeb51c1483f | /tools/imagedb.py | 78c250ee0bd4a4ff6e3dcc0b9eef230fd46a8cca | [] | no_license | digital-nomad-cheng/MTCNN_PyTorch_Zero_To_One | a8b33b4b39c6f325280d04f22f0e72c532b33cd3 | 30c3fd34c29aa81c4353029c55721b54cc961534 | refs/heads/master | 2022-11-06T18:30:35.344107 | 2019-10-09T06:30:17 | 2019-10-09T06:30:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,288 | py | import os
import sys
import numpy as np
import torch.utils.data as data
from PIL import Image
import config
def pil_loader(path):
# open path as file to avoid ResourceWarning (https://github.com/python-pillow/Pillow/issues/835)
with open(path, 'rb') as f:
img = Image.open(f)
return i... | [
"vincentcheng929@gmail.com"
] | vincentcheng929@gmail.com |
55601c8bb38d719b6102c5fb2c751d1dd5cd13d0 | 5bce1118b13289308d23510f323c79aa972ddc27 | /src/modules/irisv2/message/testAndPreviewDBAssertion.py | 4c27a9dcebe7eaf26d5833febc6fc2e93b8fee11 | [] | no_license | anupsl/pyApps | 62b64b90723de32684bbabee402220317a4fe817 | 2651d502c366b87449a0c977a9876cc32521c57c | refs/heads/master | 2022-07-03T05:49:12.828630 | 2020-05-10T17:25:26 | 2020-05-10T17:25:26 | 255,157,123 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,507 | py | import time
from src.dbCalls.campaignShard import list_Calls
from src.dbCalls.messageInfo import message_calls
from src.modules.irisv2.list.createAudienceDBAssertion import CreateAudienceDBAssertion
from src.modules.irisv2.message.authorizeMessageDbAssertion import AuthorizeMessageDBAssertion
class PreviewDBAssertio... | [
"anup@CAP-LAP-450.local"
] | anup@CAP-LAP-450.local |
4721727fb57a7576274589538fe2043374a72c05 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_109/ch178_2020_08_14_14_36_55_463698.py | 0fdcafae5574c8b94fafe555c0e97a93b5af8c7a | [] | 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 | 409 | py | def junta_nomes(homens, mulheres, sobrenomes):
nomes_possiveis = []
for i in range(len(homens)):
for p in range(len(sobrenomes)):
nomes_possiveis.append(homens[i] + ' ' + sobrenomes[p])
for i in range(len(mulheres)):
for p in range(len(sobrenomes)):
... | [
"you@example.com"
] | you@example.com |
c5778be46b1c38b2fd8acfee1a06f2bd935fbd86 | 02e930875e95713a387c60b7de816a3a354ceb3d | /bids/variables/entities.py | b5dc02b76d6a3ff0ad3e12c9c2677fdeba6a467d | [
"MIT"
] | permissive | Islast/pybids | 6a7899cbef03ec3579a21e1cbe85deb5d180ca1e | 3e80e617e6bd6258e027c9937ccedafe1c8e6b14 | refs/heads/master | 2020-03-23T22:00:14.970425 | 2018-07-24T14:14:08 | 2018-07-24T14:14:08 | 142,146,832 | 0 | 0 | MIT | 2018-07-24T11:06:51 | 2018-07-24T11:06:51 | null | UTF-8 | Python | false | false | 6,874 | py | from itertools import chain
from collections import namedtuple
from . import kollekshuns as clc
import pandas as pd
class Node(object):
''' Base class for objects that represent a single object in the BIDS
hierarchy.
Args:
id (int, str): A value uniquely identifying this node. Typically the
... | [
"tyarkoni@gmail.com"
] | tyarkoni@gmail.com |
ab9d39808661bb3098b6747960768e9d011d9399 | 42516b0348936e257d04113c2e632dc72ba58e91 | /test_env/test_suit_stress_test_camera1/test_suit_stress_test_camera1_case000017.py | 79f22f009c1b436dedff6bac1f89f0baac4b734c | [] | no_license | wwlwwlqaz/Qualcomm | 2c3a225875fba955d771101f3c38ca0420d8f468 | a04b717ae437511abae1e7e9e399373c161a7b65 | refs/heads/master | 2021-01-11T19:01:06.123677 | 2017-04-05T07:57:21 | 2017-04-05T07:57:21 | 79,292,426 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,250 | py | '''
@author: c_caijie
'''
import fs_wrapper
import settings.common as SC
from case_utility import *
from logging_wrapper import log_test_case, save_fail_log, print_report_line
from test_case_base import TestCaseBase
from qrd_shared.case import *
from qrd_shared.mms.Mms import *
class test_suit_stress_test_camera1_c... | [
"c_wwan@qti.qualcomm.com"
] | c_wwan@qti.qualcomm.com |
ff1ebae24a9c6ef914e9a6c47a53c6da1336ba23 | 651a296c8f45b5799781fd78a6b5329effe702a0 | /r8lib/r8_huge.py | 3212dcce4b575bf4fb3ea62d8ce0f2d932756e7f | [] | no_license | pdhhiep/Computation_using_Python | 095d14370fe1a01a192d7e44fcc81a52655f652b | 407ed29fddc267950e9860b8bbd1e038f0387c97 | refs/heads/master | 2021-05-29T12:35:12.630232 | 2015-06-27T01:05:17 | 2015-06-27T01:05:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,186 | py | #!/usr/bin/env python
def r8_huge ( ):
#*****************************************************************************80
#
## R8_HUGE returns a "huge" real number.
#
# Discussion:
#
# The value returned by this function is intended to be the largest
# representable real value.
#
# Licensing:
#
# This code i... | [
"siplukabir@gmail.com"
] | siplukabir@gmail.com |
065f78194b63a1663e27951f0551f53bc9903c51 | db12b990924703cd74748d8585cd9c11fafa6746 | /h2o-py/tests/testdir_apis/H2OAssembly/pyunit_h2oassembly_download_mojo_col_op_string_properties_unary.py | 880d83dd40179596139d27f51b6cffb3f83bfaf1 | [
"Apache-2.0"
] | permissive | h2oai/h2o-3 | 919019a8f297eec676011a9cfd2cc2d97891ce14 | d817ab90c8c47f6787604a0b9639b66234158228 | refs/heads/master | 2023-08-17T18:50:17.732191 | 2023-08-17T16:44:42 | 2023-08-17T16:44:42 | 17,371,412 | 6,872 | 2,345 | Apache-2.0 | 2023-09-14T18:05:40 | 2014-03-03T16:08:07 | Jupyter Notebook | UTF-8 | Python | false | false | 3,006 | py | import sys, os
sys.path.insert(1,"../../")
from tests import pyunit_utils
from h2o.assembly import *
from h2o.transforms.preprocessing import *
from h2o.pipeline import H2OMojoPipeline
import uuid
def h2oassembly_download_mojo_col_op_string_properties_unary():
test_unary_string_properties_function(H2OFrame.countm... | [
"noreply@github.com"
] | h2oai.noreply@github.com |
e3a88448f7923a6ad70e5a9fdad0dff77a9fdd20 | 2ce65a628e05837df6f9ef0e5ce4cc74a59b625c | /geekromeo/urls.py | 7b1cccce5c29df4c50c0abfd5a0e7f115a155764 | [] | no_license | jarus/geekromeo | 8ccc32cee05442bc9a59ffe866ebdff613c1e14d | b4eb4a7f7e3dba69cf26e4b566b35c0e2d144336 | refs/heads/master | 2023-05-30T07:26:12.199961 | 2013-01-25T21:35:41 | 2013-01-25T21:35:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 991 | py | from django.conf.urls import patterns, include, url
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
from .views import HomeView
import os
urlpatterns = patterns('',
# Examples:
url(r'^$', HomeView.as_view(), name='home'),
# url(r'^geekromeo/', inc... | [
"andreas@madflex.de"
] | andreas@madflex.de |
a0b1ae3aa061540ab7fe6a2bdc19fb422a88e49e | 12f664c45e338772832ce8a65213f12ee59451f6 | /devel/lib/python2.7/dist-packages/naoqi_bridge_msgs/msg/_JointTrajectoryFeedback.py | 20f7e6b527d2ed89c9751f680a85038b3559a164 | [] | no_license | Jose-Pedro/NAO-KINECT-ROS | 89eefd3956a2d739496fb4e7199b7e523f47a2ec | efb01e20983788e62baac26d2aab7949729609b6 | refs/heads/master | 2021-01-19T04:13:42.647533 | 2016-06-22T19:46:45 | 2016-06-22T19:46:45 | 61,549,669 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,982 | py | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from naoqi_bridge_msgs/JointTrajectoryFeedback.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class JointTrajectoryFeedback(genpy.Message):
_md5sum = "d41d8cd98f00b204... | [
"zepedro.medeiros@gmail.com"
] | zepedro.medeiros@gmail.com |
9657030f16cb4e300b77f2974b20dded8e72bac9 | 32c44b66ec20651893aaa83da355740784c85d94 | /python/rsyscall/unistd/__init__.py | a88db3611ac914f4017e1488352a32dd921b8eea | [] | no_license | LongJohnCoder/rsyscall | 1dbbba3aa7dcae3b018c159f409f3c56a1c5f896 | 1b4c0f51f92c0a1b91e1b45389fcecb1f0cc29bf | refs/heads/master | 2023-06-10T02:45:35.711203 | 2021-07-03T18:52:00 | 2021-07-03T19:42:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,368 | py | "`#include <unistd.h>`"
from __future__ import annotations
from rsyscall._raw import ffi, lib # type: ignore
import enum
from rsyscall.struct import Serializer, FixedSerializer, Serializable
import struct
import typing as t
import rsyscall.near.types as near
import os
from rsyscall.handle.pointer import Pointer, Writte... | [
"sbaugh@catern.com"
] | sbaugh@catern.com |
023c4b5ec5708de9a8b72465670ae5a7e63a7e1f | c3649aec8b628cf39f30c9440423ecbb8a9bc3aa | /tests/integration/frameworks/models/diffusers.py | f9c2d45d4f2f16058f0589ac8fc57473abd75174 | [
"Apache-2.0"
] | permissive | parano/BentoML | 2488ad1baa3f948f925edbe6b0eb2ea458bdad17 | eaa6218eb805acd6016eb140a4e3a9d6818dd995 | refs/heads/main | 2023-07-07T06:34:41.571577 | 2023-03-14T08:07:32 | 2023-03-14T08:07:32 | 178,978,356 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,250 | py | from __future__ import annotations
import numpy as np
import diffusers
import bentoml
from . import FrameworkTestModel
from . import FrameworkTestModelInput as Input
from . import FrameworkTestModelConfiguration as Config
framework = bentoml.diffusers
backward_compatible = False
def check_output(out):
# outp... | [
"noreply@github.com"
] | parano.noreply@github.com |
dfb6c353d24339a4c1d7cf4a53abac4fc578888a | fee5f3fd1424dcf413ab4c13f267fa488d8afbf5 | /mfit/mfit/models/habit_groups.py | 49f1f1ef2d62cf585e36bf38ee0535c69508af0f | [
"MIT"
] | permissive | dnguyen0304/mfit | 95e6fff353653f3ffde5cf36c893c01a24ddb0fe | d949c0710aad085f45fab510235ce6d1037a9b61 | refs/heads/master | 2021-06-20T04:51:08.929556 | 2017-04-06T22:56:36 | 2017-04-06T22:56:36 | 61,484,874 | 0 | 0 | null | 2017-04-06T22:56:37 | 2016-06-19T14:45:25 | Python | UTF-8 | Python | false | false | 1,289 | py | # -*- coding: utf-8 -*-
from sqlalchemy import Column
from sqlalchemy.orm import relationship
from . import Base
__all__ = ['HabitGroups']
class HabitGroups(Base):
__tablename__ = 'habit_groups'
name = Column()
users = relationship('Attempts', back_populates='habit_group')
habits = relationship(... | [
"dnguyen0304@gmail.com"
] | dnguyen0304@gmail.com |
ef5e14b6b3ffa1e6b66ec5925abcce7548cfd2c3 | fef8f43025cff430d9aea080885173d9c22b3cb6 | /etalia/users/migrations/0020_auto_20161104_1812.py | dbf41a0f86adea9fa7cd070370c4d04b1a926b8e | [] | no_license | GemmaAA1/etalia-open | 30a083141330e227ac1de9855894bfb6e476e3cc | 260ce54d2da53c943d8b82fa9d40bb0c0df918a6 | refs/heads/master | 2023-03-28T03:33:13.771987 | 2017-10-30T00:55:27 | 2017-10-30T00:55:27 | 351,120,827 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 851 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0019_auto_20160816_0703'),
]
operations = [
migrations.AddField(
model_name='usersettings',
... | [
"nicolas.pannetier@gmail.com"
] | nicolas.pannetier@gmail.com |
07c24bba0c91f1a7e053c792fb6e11c9f23a4d48 | 7e6c828d8fa50b70fefb9f38e001834e9dba3413 | /my315ok/socialorgnization/content/annualsurveyfolder.py | aa439164f286cfac7bd9b75205c942119590be0c | [] | no_license | adam139/my315ok.socialorgnization | 6cc23978f4431c7f234f7f9294f4dceb943dcff5 | 49eca00b28251b263d0c4bcd280805f87c195108 | refs/heads/master | 2021-04-22T04:55:11.902028 | 2019-09-20T01:37:34 | 2019-09-20T01:37:34 | 23,513,662 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 267 | py | from five import grok
from zope import schema
from plone.directives import form, dexterity
from my315ok.socialorgnization import _
class IAnnualSurveyFolder(form.Schema):
"""
a folder contain some annual survey information for social organizations
"""
| [
"yuejun.tang@gmail.com"
] | yuejun.tang@gmail.com |
54916acb615b0a6155a08e8ff92f9d8bb8890b7d | aac5982c8dcf26221419086fb90c399b9f4324ef | /DFTB/Modeling/average_pyrene_displacements.py | d8c6479dfa094447b3dae8e0d6da73b79239142b | [] | no_license | by-student-2017/DFTBaby-0.1.0-31Jul2019 | 99184d3fa2976d4e02f7f1bddee97e56526d9365 | 92cb73f1a6472f88588986561349d7f2ad1b1c15 | refs/heads/master | 2022-12-12T00:12:50.449505 | 2020-09-01T21:05:59 | 2020-09-01T21:05:59 | 290,116,049 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 981 | py | #!/usr/bin/env python
import sys
import numpy as np
if __name__ == "__main__":
if len(sys.argv) < 2:
print "Usage: python %s <list of displacement.dat files>" % sys.argv[0]
print " averages dislacements over all trajectories and writes"
print " the result to the file 'displacements_avg.d... | [
"studentsctest@gmail.com"
] | studentsctest@gmail.com |
bcdbff6bd342ba076fc0e82ace283c37966f37be | 4b078271d4b28bc1b49df8595f07c8fc652fd443 | /test/rela/test_point.py | 3faeb4cbff749fb42adef0d6b168bbb24f06d157 | [
"BSD-3-Clause"
] | permissive | PingjunChen/pycontour | 452b70c550e0aa0d43056c007e88eeb8907a1eaa | 13f64b685740368605db314b0f547f9f8dd4e737 | refs/heads/main | 2021-09-25T15:32:22.180229 | 2021-09-21T04:45:09 | 2021-09-21T04:45:09 | 143,360,185 | 10 | 4 | BSD-3-Clause | 2021-09-21T04:45:10 | 2018-08-03T01:03:37 | Python | UTF-8 | Python | false | false | 825 | py | # -*- coding: utf-8 -*-
import sys
import numpy as np
from os.path import dirname as opd
from os.path import abspath as opa
from os.path import join as opj
TEST_PATH = opa(opd(opd(__file__)))
PRJ_PATH = opd(TEST_PATH)
sys.path.insert(0, PRJ_PATH)
sys.path.insert(0, opj(PRJ_PATH, "pycontour"))
from pycontour.rela imp... | [
"chenpingjun@gmx.com"
] | chenpingjun@gmx.com |
a7e48964afb60ac5e5b78685ac5471e681846406 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2672/58585/310357.py | 33bde8b926f059c66571265a77d6d63b4359801f | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 437 | py | T=int(input())
nums=[]
for i in range(T):
N=int(input())
nums.append(N)
if(nums==[428938, 1]):
print(4294538357)
print(4294967294)
elif(nums==[4289, 1]):
print(4294963006)
print(4294967294)
elif(nums==[428,1]):
print(4294966867)
print(4294967294)
elif(nums==[4289384, 1]):
print(42906... | [
"1069583789@qq.com"
] | 1069583789@qq.com |
0fa9b2984d59d36b94ef9b04a86c4f530898bcd6 | 7f86c5021e1114c63c07554109c5dd5ba68f82e7 | /dEvol.py | ca2fa292ff56a26ff1f1117b2a940fe939f2fe8c | [] | no_license | rahlk/xtree_0 | dd1f651ff8f8d7829d8a8e14ab1503063264ff46 | 12237822adcdc9fd460715decd3ef1065067b2d7 | refs/heads/master | 2020-12-08T01:24:09.821652 | 2016-08-18T17:21:43 | 2016-08-18T17:21:43 | 66,016,742 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,676 | py | import sys, os
sys.path.append(os.environ['HOME'] + '/git/axe/axe')
sys.path.insert(0, os.getcwd() + '/_imports');
from demos import *
import sk; # @UnresolvedImport
from dectree import *
from settings import *
from settingsWhere import *
from pdb import set_trace
from abcd import _Abcd
from Prediction import rforest... | [
"i.m.ralk@gmail.com"
] | i.m.ralk@gmail.com |
8e3acaeb12b7d4d05b351fcb3f11530a75f6ca23 | 8832f83436809e8e918e60e5526d95add9fe8dbd | /books_app/migrations/0019_auto_20190612_2009.py | 658c57163d35505f32b4d54074f9cd85ed791686 | [] | no_license | HCDigitalScholarship/booksofduchesses | e31e56eaba253b92a1362de5918b5b005cb27f3c | 3f0e27515963c92a56714c5bada3b6a68a8665df | refs/heads/master | 2022-12-09T18:41:20.019687 | 2021-10-25T14:58:18 | 2021-10-25T14:58:18 | 190,254,161 | 0 | 3 | null | 2022-12-08T05:21:54 | 2019-06-04T18:05:08 | Python | UTF-8 | Python | false | false | 919 | py | # Generated by Django 2.2.2 on 2019-06-12 20:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("books_app", "0018_auto_20190612_2003")]
operations = [
migrations.AlterField(
model_name="author",
name="image",
fiel... | [
"apjanco@gmail.com"
] | apjanco@gmail.com |
b8b94a357e1b336c0aaeea2fc267679b8e1b0ec3 | ff182eeaf59b16f79b7d306eef72ddaadf0f4e71 | /Vaffle_interface/testcase/MessageModule/Message_test6_member_yunxin_updatetoken.py | c95822a19b4996737ab0e027668660ce9fb75b3d | [] | no_license | heyu1229/vaffle | 04d6f8b0d3bd0882ff1cdea54d18d5fdde7933b9 | 2c1c040f78094cf3cfc68f08627a958c4aa5e1d5 | refs/heads/master | 2023-06-05T09:55:21.894344 | 2021-03-12T07:26:45 | 2021-03-12T07:26:45 | 381,248,658 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 750 | py | # -*- coding:UTF-8 -*-
import unittest,time,json
from Vaffle_interface.public_1.func_requests import FuncRequests
#---------------更新云信token----------------------
class Message(unittest.TestCase):
def setUp(self):
self.r = FuncRequests()
#-----------------更新云信token----------------------------------
... | [
"921467314@qq.com"
] | 921467314@qq.com |
a7914b482d4dcb16e34702fae23777663bce65f1 | 43ff15a7989576712d0e51f0ed32e3a4510273c0 | /tools/pocs/bugscan/exp_2767.py | 22358c6eec95432ab631435bdd8d463c3b3f4979 | [] | no_license | v1cker/kekescan | f2b51d91a9d6496e2cdc767eb6a600171f513449 | 3daa1775648439ba9e0003a376f90b601820290e | refs/heads/master | 2020-09-19T16:26:56.522453 | 2017-06-15T02:55:24 | 2017-06-15T02:55:24 | 94,495,007 | 6 | 3 | null | null | null | null | UTF-8 | Python | false | false | 918 | py | # -*- coding: utf-8 -*-
from dummy import *
from miniCurl import Curl
curl = Curl()
#!/usr/bin/evn python
#--coding:utf-8--*--
#Name:票友票务系统通用sql注入(补漏)
#Refer:http://www.wooyun.org/bugs/wooyun-2010-0128207
#Author:404
def assign(service,arg):
if service=="piaoyou":
return True,arg
def a... | [
"liyueke@huobi.com"
] | liyueke@huobi.com |
df252d46ea6c6e56ced9d07328c3e2a73e317e3f | bbab56c2d201014b0206ffafce80ff86e2d6c2dd | /actions/urls.py | 1c456c5959f7b2f95fc6fbd545f1cab2907609eb | [] | no_license | boogiiieee/printershop | 89903fee19fc144fc48671fe5b674fe9cc797b0a | 52c462d9be12edc339995e6397338120561ddd1a | refs/heads/master | 2021-05-31T21:08:53.081485 | 2016-06-10T12:27:38 | 2016-06-10T12:27:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 194 | py | from django.conf.urls.defaults import *
# urlpatterns = patterns('actions.views',
# url(r'^$', 'all', name='action_url'),
# url(r'^(?P<id>[0-9]{1,4})/$', 'full', name='action_item_url'),
# ) | [
"shalyapinalexander@gmail.com"
] | shalyapinalexander@gmail.com |
b3ca216443074bbd5e670c0542c87ef50c053998 | 017fbf17ec42c69a5091a0dd66e7a91badabec90 | /divisiones_areas_urbanas/migrations/0001_initial.py | 9de5726f0774a92acbdfb926a1d176f55d74b0de | [] | no_license | gfcarbonell/app_erp | a6f92323968ba8f377dbcf4ded97f7ca3cf20c07 | 774d69a1ebecfe4df7358c5a9fc9000a6e98bdd4 | refs/heads/master | 2021-01-12T16:41:24.098031 | 2016-11-16T12:08:08 | 2016-11-16T12:08:08 | 71,009,630 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,150 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-11-03 16:04
from __future__ import unicode_literals
from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
depe... | [
"r.gian.f.carbonell.s@gmail.com"
] | r.gian.f.carbonell.s@gmail.com |
27ba1cda20b49903cb49c36c0d14f857c855dc5d | 0c3697694f64e8b6964e5d8f961732e4793ab843 | /responses.py | d8981d251b8133faeb7eae1cd583f1183aeb7050 | [] | no_license | abunuwas/dynamodb-service | f38f59820ce662c5c9f76e453cf2677244013306 | 2db1a45c144d5ee3ddb251eb478c782c136de87a | refs/heads/master | 2021-01-01T05:15:11.941811 | 2016-05-06T11:10:42 | 2016-05-06T11:10:42 | 56,703,964 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 783 | py | import json
import decimal
class QueryResponse:
def __init__(self, response):
self._raw_data = response
metadata = response.get('ResponseMetadata', {})
self.request_id = metadata.get('RequestId', None)
self.count = response.get('Count', None)
self.items = response.get('Items', None)
self.status = metadat... | [
"joseharoperalta@gmail.com"
] | joseharoperalta@gmail.com |
9047341fadcc719bb4dd3ed18e235c3e1c6e046f | 471479fd33215ffd088e09940c78cc8b2f65ffcd | /docs/source/01-AWS/01-All-AWS-Services-Root/01-Compute/02-AWS-Lambda-Root/05-Versioning/deploy.py | 6fcc79c92392847eb5b63db8c0fafd745934c0ad | [
"MIT"
] | permissive | MacHu-GWU/Dev-Exp-Share | a25ec59f9402e56c3bd9d98269634894fa452537 | 0b659c62bf795374ea981953b25119ca30007e7d | refs/heads/master | 2023-08-22T05:28:52.536090 | 2023-08-14T13:37:31 | 2023-08-14T13:37:31 | 84,245,070 | 3 | 1 | MIT | 2023-02-13T23:44:03 | 2017-03-07T20:53:18 | Shell | UTF-8 | Python | false | false | 1,506 | py | # -*- coding: utf-8 -*-
import cottonformation as ctf
from cottonformation.res import iam, awslambda
# create a ``Template`` object to represent your cloudformation template
tpl = ctf.Template(
Description="Aws Lambda Versioning Example",
)
iam_role_for_lambda = iam.Role(
"IamRoleForLambdaExecution",
rp_... | [
"husanhe@gmail.com"
] | husanhe@gmail.com |
8dc71aea2ba393c0ade6f74745aa59a5ff234fbd | dfb6a80dda5882a1c2be87b0b6e1e7a87a7b4c20 | /test/test_device_envelope.py | 76ff297fcd55e94dd43e1c4cc67b595f7f80911b | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | artikcloud/artikcloud-python | a090201bea9fadbdf5dd57d94d9085b03b34f927 | c5489b2fca27fd9a8bcea99f309e02cb690dd349 | refs/heads/master | 2020-12-26T03:33:00.657575 | 2017-12-28T20:40:05 | 2017-12-28T20:40:05 | 55,102,598 | 13 | 11 | null | 2017-03-18T03:22:58 | 2016-03-30T22:38:07 | Python | UTF-8 | Python | false | false | 825 | py | # coding: utf-8
"""
ARTIK Cloud API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sy... | [
"jswattonjue@gmail.com"
] | jswattonjue@gmail.com |
9e450a671d7311598350b4aee29fc2b0f66d6326 | 9b3e29a4e83b59e0eb0b0fb17a93dc01151e30f6 | /rcsb/utils/tests-ccdc/testCcdcSearch.py | e5f5735c16a6b42bdb6912940d760db64c9f791c | [
"Apache-2.0"
] | permissive | rcsb/py-rcsb_utils_ccdc | 0fd5ccc9a2d5ae8ccd56d855d042c5d4b4faa717 | 7baba6f79693e239a5d840d27ea6f06b3e6fb070 | refs/heads/master | 2023-06-23T16:40:27.396078 | 2023-06-19T14:08:25 | 2023-06-19T14:08:25 | 321,128,445 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,553 | py | ##
#
# File: testCcdcSearch.py
# Author: J. Westbrook
# Date: 13-Dec-2020
# Version: 0.001
#
# Updated:
#
##
"""
Test cases for chemical component search against the CCDC local Python API -
"""
__docformat__ = "restructuredtext en"
__author__ = "John Westbrook"
__email__ = "john.westbrook@rcsb.org"
__license__ ... | [
"john.westbrook@rcsb.org"
] | john.westbrook@rcsb.org |
bae371606a84b417b053178411397de508c245e7 | d2d0c6c1acde115c4d2058259a9965af0d050363 | /textx/textx.py | 439c8781b9769cf9fdc623fd62ada14350963d7f | [
"MIT"
] | permissive | Vinayakatk/textX | 7dd9bdd9c8e13b1f65a1a7881546c83d25d501ca | 13572dcd693e6383be5b91ebd406eec486457736 | refs/heads/master | 2021-07-07T17:17:37.187470 | 2017-10-03T18:18:16 | 2017-10-03T18:18:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 35,061 | py | #######################################################################
# Name: textx.py
# Purpose: Implementation of textX language in Arpeggio.
# Author: Igor R. Dejanovic <igor DOT dejanovic AT gmail DOT com>
# Copyright: (c) 2014-2016 Igor R. Dejanovic <igor DOT dejanovic AT gmail DOT com>
# License: MIT License
#
... | [
"igor.dejanovic@gmail.com"
] | igor.dejanovic@gmail.com |
f9dad584be247cc14c812be48d6df595dbb1d4a2 | 4a6fc126c59de4b18c2cbe23872c4ddef2512c6b | /telegram_bot.py | bd0412760ac508d115e6d2e1d1107490c7df89a4 | [
"MIT"
] | permissive | cccaaannn/telegram_predictor | ac4f1c9500f087c5ac90526663315b81f4f04e82 | a939954e386e1218afcd1c6a705cc617898023b5 | refs/heads/master | 2023-02-20T20:46:13.055986 | 2021-01-26T22:52:12 | 2021-01-26T22:52:12 | 330,818,809 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,649 | py | from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
import requests
import logging
import shutil
import uuid
import cv2
import os
from yolo_predictor import yolo_predictor
from yolo_drawer import yolo_drawer
class telegram_bot():
def __init__(self,
botkey,
model_path,
... | [
"can.kurt.aa@gmail.com"
] | can.kurt.aa@gmail.com |
ba166ec68ed45f1baee801c418526f086fe4e4fb | b351c1ad85bfdc04913c53cb729b794352836f8a | /backend/manage.py | 6f068a8da99360e9966b3c22d1cb4e450e3a5126 | [] | no_license | crowdbotics-apps/test-editor-app-dev-17601 | 4410becc4c7e66923170c8a36aba4f9ab6ca03ab | 6e4ac67da4fd0d5145ca65f33117b2aadb78aaa2 | refs/heads/master | 2023-02-08T23:13:29.600787 | 2020-12-29T14:08:41 | 2020-12-29T14:08:41 | 325,297,718 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 659 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault(
"DJANGO_SETTINGS_MODULE", "test_editor_app_dev_17601.settings"
)
try:
from django.core.management import execute_from_command_line
except ImportEr... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
5a5f402c8daf720263f8740dae71ece795237d2f | b39d9ef9175077ac6f03b66d97b073d85b6bc4d0 | /Refacto_WC500049008.2.py | 082eeb0b9a6e209ca0ede208ae135a65eaeb910d | [] | no_license | urudaro/data-ue | 2d840fdce8ba7e759b5551cb3ee277d046464fe0 | 176c57533b66754ee05a96a7429c3e610188e4aa | refs/heads/master | 2021-01-22T12:02:16.931087 | 2013-07-16T14:05:41 | 2013-07-16T14:05:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,882 | py | {'_data': [['Very common',
[['Blood', u'Faktor VIII-inhibitorer -PUP'],
['Metabolism', u'Anorexi'],
['Nervous system', u'Huvudv\xe4rk'],
['Respiratory', u'Dyspn\xe9,'],
['GI', u'Kr\xe4kning'],
['Skin', u'Urtikaria,'],
['Musculoske... | [
"daro@daro-ThinkPad-X220.(none)"
] | daro@daro-ThinkPad-X220.(none) |
7dc8b486ce666edb8d88dc74dce31293c30fcfc4 | dd717946dfe8ee6290c94f2e6fdb8fcfbdddf1f1 | /commands/ni_locale_coords.py | ca48a02cc027ebf5a2ddeb81a01316616d036c3c | [] | no_license | czarrar/niscripts | 9fa24859b94aae32d88e2d3ada1fcf9e2f21af8c | 732c2b8e01ae5c66eb577693f12ad53d7da11819 | refs/heads/master | 2021-01-25T05:15:26.383943 | 2012-08-16T02:50:22 | 2012-08-16T02:50:22 | 2,116,239 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 11,276 | py | #!/usr/bin/env python
import argparse, os, sys
import os.path as op
import numpy as np
from copy import deepcopy
from string import Template
import nipype.interfaces.fsl as fsl # fsl
standard_image = fsl.Info.standard_image
sys.path.append(os.path.join(os.environ.get("NISCRIPTS"), "include"))
import zlogger
from usa... | [
"czarrar@gmail.com"
] | czarrar@gmail.com |
9dee9c3844cab45e6caef41ae80c1a736f459e3b | 808f0437f494a6629ab6770ade37b19244d4fd40 | /src/promnesia/sources/browser_legacy.py | 1bfbd51e01d016eb77f78878d8deef9fd65212f1 | [
"MIT"
] | permissive | karlicoss/promnesia | f00271a8f77a20c0028a3524635bec4cd4ecc55c | 78e7d73b40c88c4c0374cd9a495d2347017f4b55 | refs/heads/master | 2023-09-01T08:54:37.659477 | 2023-08-25T02:06:55 | 2023-08-25T02:44:14 | 179,840,530 | 1,632 | 83 | MIT | 2023-08-25T02:44:15 | 2019-04-06T14:03:08 | Python | UTF-8 | Python | false | false | 10,180 | py | from datetime import datetime
from pathlib import Path
from urllib.parse import unquote
import sqlite3
from typing import List, Set, Optional
import pytz
from ..common import PathIsh, Results, Visit, Loc, logger, Second, is_sqlite_db
from .. import config
# todo mcachew?
from cachew import cachew
def index(p: Path... | [
"karlicoss@gmail.com"
] | karlicoss@gmail.com |
8fe8e8fc1131cce8977a6e71efef66886883df23 | dfd42f222f9c9cff47a01c5bc1f37764802cfea1 | /video_det.py | 448bda365f56b638cbea29bf45164c5deee83b5f | [] | no_license | CheungBH/Swim_detection | 5f34d731968007794ed3de575d50f23b2b801ab2 | f6f6cb36ed89628a10e6822f87ac003f75bef412 | refs/heads/master | 2020-08-12T11:52:22.064990 | 2020-01-27T11:13:39 | 2020-01-27T11:13:39 | 214,762,481 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,379 | py | import cv2
import os
from config import config
import numpy as np
cnt = 0
save_ls = [175, 333, 556, 888, 1000, 1080]
video_num = 54
img_folder = str(video_num)
cap = cv2.VideoCapture(os.path.join('Video/Selected', '{}.mp4'.format(img_folder)))
fgbg = cv2.createBackgroundSubtractorMOG2(history=500, varThreshold=200, d... | [
"534660436@qq.com"
] | 534660436@qq.com |
8000e027e36e054344f96f4ff1d0ab86b608b4dd | 259ec5070b9cdb64089244528e350b9d0af2ffe8 | /analysis.py | e8f2f924ab4fad44e0cb6eea968d73bb708284c0 | [] | no_license | pengzhang1991/stargeo | 21e8f8aa3d956ef1e5507e65c36fe0bfe7b8c6cb | 153688869fb87412dd716ac27994e51baeb16078 | refs/heads/master | 2020-04-06T06:16:32.855251 | 2015-10-16T19:10:54 | 2015-10-16T19:10:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 25,016 | py | import os
import re
import gzip
import urllib2
import shutil
import logging
from easydict import EasyDict
from funcy import first, log_durations, imap, memoize, cat, re_all
import numpy as np
import pandas as pd
import scipy.stats as stats
import psycopg2.extras
#### create logger
logger = logging.getLogger(__name__)... | [
"daniel.himmelstein@gmail.com"
] | daniel.himmelstein@gmail.com |
1f0647a82ec298b7fd062cfa3cc353018b00d7ae | acaed6ad4a2bb3f6df553debf547d0feafdd99e9 | /List/group.py | a2833a6241a9dc45b4a99d6a2fc85facdafbe9f2 | [] | no_license | SAM1363/TH-Python | 764691b7b8281b3298ace985039ee9c05ef340a1 | 421c4d7f54ed56233a87c7d9907ac3d1ab993c94 | refs/heads/master | 2020-05-30T01:12:49.404476 | 2019-08-04T04:45:32 | 2019-08-04T04:45:32 | 189,472,375 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 510 | py | musical_groups = [
["Ad Rock", "MCA", "Mike D."],
["John Lennon", "Paul McCartney", "Ringo Starr", "George Harrison"],
["Salt", "Peppa", "Spinderella"],
["Rivers Cuomo", "Patrick Wilson", "Brian Bell", "Scott Shriner"],
["Chuck D.", "Flavor Flav", "Professor Griff", "Khari Winn", "DJ Lord"],
["A... | [
"isamu3636136@gmail.com"
] | isamu3636136@gmail.com |
9936ad7e397f768960297e8f9eccd89b14b4501f | 0ddcfcbfc3faa81c79e320c34c35a972dab86498 | /tests/test_utils.py | 4d48eca5725d58a50d4d971b6a360e9e2bf5ba73 | [] | no_license | IvanWoo/coding-interview-questions | 3311da45895ac4f3c394b22530079c79a9215a1c | 1312305b199b65a11804a000432ebe28d1fba87e | refs/heads/master | 2023-08-09T19:46:28.278111 | 2023-06-21T01:47:07 | 2023-06-21T01:47:07 | 135,307,912 | 0 | 0 | null | 2023-07-20T12:14:38 | 2018-05-29T14:24:43 | Python | UTF-8 | Python | false | false | 983 | py | from typing import Optional
import pytest
from puzzles.utils import NaryNode, TreeNode, make_nary_node, make_tree
@pytest.mark.parametrize(
"vals, expected",
[
([0, 0, None, 0, 0], TreeNode(0, TreeNode(0, TreeNode(0), TreeNode(0)), None)),
(
[0, 0, None, 0, None, 0, None, None, 0... | [
"tyivanwu@gmail.com"
] | tyivanwu@gmail.com |
9da058de57b98d9790e33229d76a413361bbd24e | a276d03f34457c174d2e79fc4fdb17c90299e843 | /projects/buttons/lib/jsonschema/tests/test_jsonschema_test_suite.py | 146bf3e9a4e7a0cb0261683dd6a3907a2116dc18 | [
"MIT"
] | permissive | lucidworks/streams | effba3bc55df10431fb505937180b30d72e248b8 | 89aaf02382494cf09041ca5dadb41dddb86cf9d8 | refs/heads/master | 2021-06-02T04:09:27.626504 | 2020-01-07T01:28:09 | 2020-01-07T01:28:09 | 106,742,467 | 8 | 6 | null | 2020-03-17T21:17:48 | 2017-10-12T20:34:28 | Python | UTF-8 | Python | false | false | 9,059 | py | """
Test runner for the JSON Schema official test suite
Tests comprehensive correctness of each draft's validator.
See https://github.com/json-schema/JSON-Schema-Test-Suite for details.
"""
from decimal import Decimal
import glob
import json
import io
import itertools
import os
import re
import subprocess
try:
... | [
"kordless@gmail.com"
] | kordless@gmail.com |
01058a3e566c48e4d64f1631c34c9250e4586ae1 | 747f759311d404af31c0f80029e88098193f6269 | /addons/account_voucher/incorrect/account_voucher.py | 96ce7d5a43b51cc2193176786d81b40bf48f5cf1 | [] | no_license | sgeerish/sirr_production | 9b0d0f7804a928c0c582ddb4ccb7fcc084469a18 | 1081f3a5ff8864a31b2dcd89406fac076a908e78 | refs/heads/master | 2020-05-19T07:21:37.047958 | 2013-09-15T13:03:36 | 2013-09-15T13:03:36 | 9,648,444 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 50,466 | py | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU... | [
"geerish@omerp.net"
] | geerish@omerp.net |
47dd5781de4069de4d2e442c24cd2979fc5a0aac | 51aa2894c317f60726fe9a778999eb7851b6be3e | /140_gui/pyqt_pyside/examples/PyQt_PySide_book/003_Placing several components in the box/001_Horizontal and vertical alignment/058_insertStretch.py | 768928415d0c882a97ec7dad9040e389f828a0fe | [] | no_license | pranaymate/Python_Topics | dd7b288ab0f5bbee71d57080179d6481aae17304 | 33d29e0a5bf4cde104f9c7f0693cf9897f3f2101 | refs/heads/master | 2022-04-25T19:04:31.337737 | 2020-04-26T00:36:03 | 2020-04-26T00:36:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 471 | py | # -*- coding: utf-8 -*-
from PyQt4 import QtGui
import sys
app = QtGui.QApplication(sys.argv)
window = QtGui.QWidget()
window.setWindowTitle("insertStretch")
window.resize(350, 50)
button1 = QtGui.QPushButton("1")
button2 = QtGui.QPushButton("2")
button3 = QtGui.QPushButton("3")
hbox = QtGui.QHBoxLayout()
hbox.addWidg... | [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
63079e8da1dd06e4fdf0eb83766653ee242d8090 | bc5484a8173bd937c56fb9a4c0dc6a54a5bb4d62 | /Exceptions.py | 8c72314af3f7b8a37d33bf120bc83e40ad4f2567 | [] | no_license | PiyushChandra17/HackerRank_Python | 4686cc872ac622d1ec7b8206cca0efccdc15f235 | 443fa8484c81a56d652d546fa7cc4a0ba24b8185 | refs/heads/main | 2023-01-24T18:45:55.673808 | 2020-12-09T00:02:16 | 2020-12-09T00:02:16 | 319,788,277 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 163 | py | N = int(input())
for _ in range(N):
try:
a,b = map(int,input().split())
print(a//b)
except Exception as e:
print('Error Code:',e)
| [
"noreply@github.com"
] | PiyushChandra17.noreply@github.com |
f1c921a60c4fb3ad157e9299ffd20047aecfaa28 | 94e964496acd225e1a04060a9bc9f639e6cff99c | /app/invitations/migrations/0004_auto_20201102_1100.py | 2fe6602b722d46813c07a701de91615cc619b763 | [] | no_license | indigocodeit/conflictcartographer | 64b6ab2c991cd3ad020c4832cdb26974d342b564 | ab19b4559c1e016ef485bfa1a01df17fb15679ce | refs/heads/master | 2023-03-05T00:44:03.805241 | 2021-02-19T08:50:23 | 2021-02-19T08:50:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 397 | py | # Generated by Django 3.1.2 on 2020-11-02 11:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('invitations', '0003_auto_20201102_0936'),
]
operations = [
migrations.AlterField(
model_name='invitation',
name='mai... | [
"pglandsverk@gmail.com"
] | pglandsverk@gmail.com |
93364714c8458b6b06d05de577f9b868ef1c277f | fe4f4ae5583cdc71be78094f639df15e27e77e0c | /saas/extras.py | e3470ed950539c2203c05c299fd2b0dc404dc7c7 | [
"BSD-2-Clause"
] | permissive | petrios888/djaodjin-saas | 6bf803673db55d6a8262b440cd705ed1d4e3bbc7 | 6bedad11bc37d3884addb67c980b1f764803ada7 | refs/heads/master | 2020-04-04T20:32:54.592402 | 2018-09-30T22:53:29 | 2018-09-30T22:53:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,117 | py | # Copyright (c) 2018, DjaoDjin inc.
# 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 and t... | [
"smirolo@djaodjin.com"
] | smirolo@djaodjin.com |
1ea2461bb4d5cd62ba56ea2998b7e61b0495fbf9 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/otherforms/_ascertained.py | caf37433ed7e596dded7a9c9ce0ed0c6cfe4047d | [
"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 | 236 | py |
#calss header
class _ASCERTAINED():
def __init__(self,):
self.name = "ASCERTAINED"
self.definitions = ascertain
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.basic = ['ascertain']
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
aa8483d7801ccd73022481b46b35195378df86cd | 72d010d00355fc977a291c29eb18aeb385b8a9b0 | /Roland_FA/control_element_utils.py | 7c3b09249e0be193508803db7452627c39577661 | [] | no_license | maratbakirov/AbletonLive10_MIDIRemoteScripts | bf0749c5c4cce8e83b23f14f671e52752702539d | ed1174d9959b20ed05fb099f0461bbc006bfbb79 | refs/heads/master | 2021-06-16T19:58:34.038163 | 2021-05-09T11:46:46 | 2021-05-09T11:46:46 | 203,174,328 | 0 | 0 | null | 2019-08-19T13:04:23 | 2019-08-19T13:04:22 | null | UTF-8 | Python | false | false | 740 | py | # Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Roland_FA/control_element_utils.py
# Compiled at: 2018-04-23 20:27:04
from __future__ import absolute_import, print_function, unicode_literals
import Live
from ableton.v2.base import depends
from ableton.... | [
"julien@julienbayle.net"
] | julien@julienbayle.net |
8e4d244cc7b9ead7983a37336328ed8efb8412b5 | 5da5473ff3026165a47f98744bac82903cf008e0 | /packages/google-cloud-tpu/samples/generated_samples/tpu_v2_generated_tpu_list_runtime_versions_async.py | 42f6f965e84337949ebd142d31417dfbf72bbabb | [
"Apache-2.0"
] | permissive | googleapis/google-cloud-python | ed61a5f03a476ab6053870f4da7bc5534e25558b | 93c4e63408c65129422f65217325f4e7d41f7edf | refs/heads/main | 2023-09-04T09:09:07.852632 | 2023-08-31T22:49:26 | 2023-08-31T22:49:26 | 16,316,451 | 2,792 | 917 | Apache-2.0 | 2023-09-14T21:45:18 | 2014-01-28T15:51:47 | Python | UTF-8 | Python | false | false | 1,873 | py | # -*- coding: utf-8 -*-
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | [
"noreply@github.com"
] | googleapis.noreply@github.com |
8a90740da74279846df059f6cdd3bf485bfdf13b | 5f6160cc922fee51c89eb066adf396183e52279f | /backend/chat/migrations/0001_initial.py | 8b828e045ffc83f7861521d66676f4b3e4a2b8db | [] | no_license | crowdbotics-apps/pira-21713 | 884fabf88e6c08891895c3ba1f214174b8ca46c1 | df0f7b9c18ff9be6ec1cc9e79fb987a49c684353 | refs/heads/master | 2023-02-24T05:51:16.466832 | 2021-01-29T21:51:37 | 2021-01-29T21:51:37 | 305,415,668 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,805 | py | # Generated by Django 2.2.16 on 2020-10-19 14:49
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('chat_user_profile', '0001_initial'),
]
operations = [
migrations.CreateModel(
... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
44c3c26e151e0b6ede67bf415abfa2306d4e00b7 | f4b60f5e49baf60976987946c20a8ebca4880602 | /lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/eqpt/ftlocateltask.py | d2a8a136af9c5e4d291611bc82b05c57d57081d5 | [] | no_license | cqbomb/qytang_aci | 12e508d54d9f774b537c33563762e694783d6ba8 | a7fab9d6cda7fadcc995672e55c0ef7e7187696e | refs/heads/master | 2022-12-21T13:30:05.240231 | 2018-12-04T01:46:53 | 2018-12-04T01:46:53 | 159,911,666 | 0 | 0 | null | 2022-12-07T23:53:02 | 2018-12-01T05:17:50 | Python | UTF-8 | Python | false | false | 398,366 | py | # coding=UTF-8
# **********************************************************************
# Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved
# written by zen warriors, do not modify!
# **********************************************************************
from cobra.mit.meta import ClassMeta
from cobra.m... | [
"collinsctk@qytang.com"
] | collinsctk@qytang.com |
e0bb612833f054ba95c0fbc6a3cade75f69976cf | e58fcc1467ad81084b016d2a48d672d75da2c058 | /rdkit/rdkit/DataManip/Metric/__init__.py | ecb2ee43043d5acf993e710bd8c5abe9caf7d837 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ali1810/sol_heroku | 294375d70c656452749e959bfb851a50defc0e01 | 97b548ce7d864e6fed936c53b790c1dc8038cff2 | refs/heads/main | 2023-08-15T06:18:26.933254 | 2021-09-14T10:20:19 | 2021-09-14T10:20:19 | 405,223,280 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 375 | py | # $Id$
#
# Copyright (C) 2004-2006 Rational Discovery LLC
#
# @@ All Rights Reserved @@
# This file is part of the RDKit.
# The contents are covered by the terms of the BSD license
# which is included in the file license.txt, found at the root
# of the RDKit source tree.
#
from rdkit import rdBase
fr... | [
"noreply@github.com"
] | ali1810.noreply@github.com |
235af6e192fec2f1b75f4bd482c67205da7d931b | a67571dc6f4e83e44a90e4802d2f54b22fb21fd2 | /tns_glass/locales/templatetags/locales.py | 9288e224158f458fa254bdc08382626190183645 | [] | no_license | TechnoServe/SMSBookkeeping | 1833690e3329967b6ae731aad2ddb6b93655d935 | cbc816368ba4980ca6ce87c2bda95b76295009f1 | refs/heads/master | 2020-08-03T19:12:13.023005 | 2019-11-05T12:08:45 | 2019-11-05T12:08:45 | 211,856,646 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,593 | py | from django import template
from datetime import datetime
from django.utils import simplejson
from ..models import comma_formatted
from django.conf import settings
from django.contrib.humanize.templatetags.humanize import intcomma
import pytz
from decimal import Decimal
register = template.Library()
@register.filter
... | [
"56976732+hgtal@users.noreply.github.com"
] | 56976732+hgtal@users.noreply.github.com |
d676af8e17b6a00bc0e80a2fd344d538af7e3d17 | 61f921e1ee1d2461ba420ef33b854a53f2169c6f | /typhon/display.py | 83e235d08ea8585dd43ab4f030da224e8e3884dd | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jsheppard95/typhon | 420ef80b8568dec76bb0551301354144d9bf18ea | 072e3cd821068f7f148d9ed7bffe58abc5a4d7d4 | refs/heads/master | 2020-04-18T09:48:18.368334 | 2019-01-23T21:44:21 | 2019-01-23T21:44:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,572 | py | from enum import Enum
import logging
import os.path
from pydm import Display
from qtpy.QtCore import Property, Slot, Q_ENUMS
from qtpy.QtWidgets import QHBoxLayout, QWidget
from .utils import (ui_dir, TyphonBase, clear_layout,
reload_widget_stylesheet)
from .widgets import TyphonDesignerMixin
lo... | [
"trendahl@slac.stanford.edu"
] | trendahl@slac.stanford.edu |
97daa8af63232dc5fab30bf297f4f50efbe5b8a6 | 02acba9459ebbcdf3d4636c9a8187363a9762dca | /paper2remarkable/__version__.py | 089d249ffd39aef18d369b38c1ee3dacffa8042d | [
"MIT"
] | permissive | shpotes/paper2remarkable | a1203861bf254c0ddb39b3cb7fc9518c5bad14f4 | 8f9df280344e84fbf2a8c6569f6db1a6dcf0e03e | refs/heads/master | 2022-07-06T07:17:01.790719 | 2020-05-12T03:19:33 | 2020-05-12T03:19:33 | 263,218,515 | 0 | 0 | MIT | 2020-05-12T03:05:11 | 2020-05-12T03:05:10 | null | UTF-8 | Python | false | false | 88 | py | # -*- coding: utf-8 -*-
VERSION = (0, 6, 6)
__version__ = ".".join(map(str, VERSION))
| [
"gertjanvandenburg@gmail.com"
] | gertjanvandenburg@gmail.com |
9d9298d491f9355cf0b40cd48b69830babf911c4 | ccd45a60940628e2b5a75ca018936b4aab78e647 | /config.py | 20ccee4fe3602f6cd080595e4283a23f2390bed4 | [] | no_license | GNK48LXZ/bert_test | 8853e041d65bbc9602d3bb61bf4274b1cb6c79f1 | 86c78d8bebbcad8051e5a1f9baba51e6d35588c9 | refs/heads/main | 2023-08-19T03:45:14.757576 | 2021-09-21T08:30:17 | 2021-09-21T08:30:17 | 408,739,774 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 826 | py | import os
PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
Config = {
'Corpus_File_Path': os.path.join(PROJECT_PATH, 'Data\preprocess_sentence.txt'),
'Vocabulary_File_Path': os.path.join(PROJECT_PATH, 'Data/vocaba.txt'), # 词表存放位置
'Log_Dir': os.path.join(PROJECT_PATH, 'Logs'),
# 'Saved_Weight... | [
"your email"
] | your email |
255123e9ddeae3912c5dde73fe83a188998078a9 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/133/usersdata/251/41014/submittedfiles/al15.py | 9d38935ef75af5e62e774b5daa85cecd967e6cad | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 68 | py | # -*- coding: utf-8 -*-
for i in range (1000,10000,1):
print(i)
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
6cc4471719509120c666393dc2e7eed5b40f35f8 | 8af8290b5aa09b8764e1e06e35bef43571c38cbc | /numpy_study/_07deep_stack_split.py | 6bdadf9695fb02266461c6e56f3cdabea0493954 | [] | no_license | wochonglai/AI_learn | cad527c0c5a88bcfea3072a544547da486528e71 | f06dd05e59046492469699cbac6d4064739b4a72 | refs/heads/master | 2020-03-26T07:59:52.879435 | 2018-10-03T01:33:39 | 2018-10-03T01:33:39 | 144,681,244 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 276 | py | # -*- coding: utf-8 -*-
import numpy as np
a = np.arange(11,20).reshape(3,3)
print('a:',a)
b = a +10
print("b:",b)
# 深度合并
c = np.dstack((a,b))
print('c:',c)
# 深度拆分
d,e = np.dsplit(c,2)
print('d:',d)
print('e:',e)
print('dT:',d.T[0].T)
print('eT:',e.T[0].T)
| [
"noreply@github.com"
] | wochonglai.noreply@github.com |
bc131fb89cd26403efa2f9589f1cd1f5f69415eb | ebba19c671eb241e9363700aac0f3f91489fc4bf | /Tareas/T01/entidades.py | 071efbf4e539b4606e15d4ae39ce1a40ff39e08b | [
"MIT"
] | permissive | FarDust/FarDust-IIC2233 | 6358a489399428e2ec621ffb0f82eb88c3c38226 | f941be5fc2f3eab48ed4a78cca29ddac7ca2a26d | refs/heads/master | 2023-04-06T07:10:14.636304 | 2021-04-19T19:24:56 | 2021-04-19T19:24:56 | 103,351,653 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 556 | py | # Entidades v1.0.0
from abc import ABCMeta, abstractmethod
class Entidades(metadata=ABCMeta):
def __init__(self, nombre):
self.nombre = nombre
self.usuario = None
class ANAF(Entidades):
def __init__(self):
self.empleados = []
pass
class Persona(Entidades):
def __init__... | [
"gnfaundez@uc.cl"
] | gnfaundez@uc.cl |
f330147c75c69e8d0f284de36f81d0239b97a513 | ef32b87973a8dc08ba46bf03c5601548675de649 | /pytglib/api/types/page_block_table.py | b8a0e04514fa250dcf57fc03851043c842f17357 | [
"MIT"
] | permissive | iTeam-co/pytglib | 1a7580f0e0c9e317fbb0de1d3259c8c4cb90e721 | d3b52d7c74ee5d82f4c3e15e4aa8c9caa007b4b5 | refs/heads/master | 2022-07-26T09:17:08.622398 | 2022-07-14T11:24:22 | 2022-07-14T11:24:22 | 178,060,880 | 10 | 9 | null | null | null | null | UTF-8 | Python | false | false | 1,237 | py |
from ..utils import Object
class PageBlockTable(Object):
"""
A table
Attributes:
ID (:obj:`str`): ``PageBlockTable``
Args:
caption (:class:`telegram.api.types.RichText`):
Table caption
cells (List of List of :class:`telegram.api.types.pageBlockTableCell`):
... | [
"me@amirh.co"
] | me@amirh.co |
420b4c8e12f33757ae20a038063d0bc5b90214cf | 8ebf6311c3c1db40c7bb56051cf4e37e1b85a4f9 | /rm-server/gateway/gateway/router/templatemanager/document/comments/classify.py | 07a9a30736b52f8da7942eccb87bc4af038bbcdc | [] | no_license | sq591442679/requirements-manager | e8b074afb7fd2a83632f2546d392dab4c35aeeeb | 6d664ce338b455150dcc9a86145967e8dd67a9dd | refs/heads/master | 2023-07-08T04:38:20.064019 | 2021-08-11T03:41:13 | 2021-08-11T03:41:13 | 392,877,568 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 551 | py | from flask import request
from gateway.app import app
from gateway.utils.handle_api import (
get_client_username, handle_request_response
)
from gateway.http_client import templatemanager_http_client
@app.route('/document/comments/classify', methods=['POST'])
@handle_request_response
@get_client_username
def com... | [
"591442679@qq.com"
] | 591442679@qq.com |
2978d2a3a3e6e231bc6ae317f19693320024810a | d73409535734a788af83a9b2b2e32dd1b979d5d2 | /proxySTAR_V3/certbot/venv.1509389747.bak/lib/python2.7/site-packages/zope/component/persistentregistry.py | 8b1b4e6bf91b34de0bb6b132fff5bfdb890411a4 | [
"Apache-2.0",
"MIT"
] | permissive | mami-project/lurk | adff1fb86cb3e478fe1ded4cbafa6a1e0b93bfdd | 98c293251e9b1e9c9a4b02789486c5ddaf46ba3c | refs/heads/master | 2022-11-02T07:28:22.708152 | 2019-08-24T19:28:58 | 2019-08-24T19:28:58 | 88,050,138 | 2 | 2 | NOASSERTION | 2022-10-22T15:46:11 | 2017-04-12T12:38:33 | Python | UTF-8 | Python | false | false | 2,102 | py | ##############################################################################
#
# Copyright (c) 2004 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOF... | [
"diego.deaguilarcanellas@telefonica.com"
] | diego.deaguilarcanellas@telefonica.com |
0d2e2932574b684a99214f4f2fbaf76e7c8cacc8 | 325530749d02c4e80456977238e1c7bf4360592e | /valuenetwork/valueaccounting/views.py | fea5a643650cd0149415ac32e81124dd8f52b9c6 | [] | no_license | bhaugen/valuenetwork | ed91e0294e9119907e7530d483cbd0a183eaf007 | 06a08624d0bc6f79dce03d816fcea9821f7c5638 | refs/heads/master | 2021-01-10T19:45:10.271646 | 2013-04-09T14:59:02 | 2013-04-09T14:59:02 | 5,718,090 | 9 | 3 | null | null | null | null | UTF-8 | Python | false | false | 36,678 | py | import datetime
import time
import csv
from operator import attrgetter
from django.db.models import Q
from django.http import Http404
from django.views.generic import list_detail
from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response, get_object_or_404
from django.core.urlresolver... | [
"bob.haugen@gmail.com"
] | bob.haugen@gmail.com |
c6af23485f7ab289c07941c2729af10e573fe1c6 | 59d7299e1c8f81dc27458aeb2efc9b5ccbccc1c3 | /utilities/classify_data_baseline_hmm.py | b3d5f1338f7cfbeeaad49a6eee03ad40b7cf0c3b | [] | no_license | Cognitive-Technology-Group/PyOBCI | 43993ef9451d9120176d3a0899e5338098e4f5e7 | 611d22265aa68dc7ca4381c6c65f5349e641c97d | refs/heads/master | 2016-09-06T15:36:49.057104 | 2015-01-17T06:16:27 | 2015-01-17T06:16:27 | 21,548,385 | 5 | 2 | null | 2015-04-30T00:09:55 | 2014-07-06T20:50:57 | Python | UTF-8 | Python | false | false | 10,311 | py | #!/usr/bin/env python2
from sklearn.ensemble import ExtraTreesClassifier
from sklearn.neighbors import KNeighborsClassifier
from sklearn.neighbors.nearest_centroid import NearestCentroid
from sklearn.decomposition import PCA
from sklearn import cross_validation
from sklearn import svm
from sklearn.externals import job... | [
"krchtchk@gmail.com"
] | krchtchk@gmail.com |
dba584dd19b9cd732105b0d9baf0c1de3bdb0802 | bccfab4d853f7417401a084be95de293e66ccd2a | /mySpider/spiders/Collection36.py | 56bf0105f695645fcbfb1f8d4c5cc72613a4f51e | [] | no_license | CS1803-SE/The-First-Subsystem | a8af03ce04a9de72a6b78ece6411bac4c02ae170 | 4829ffd6a83133479c385d6afc3101339d279ed6 | refs/heads/main | 2023-05-06T02:32:08.751139 | 2021-05-24T06:09:37 | 2021-05-24T06:09:37 | 363,400,147 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,056 | py | #!/usr/bin/python3.7
# -*- coding: utf-8 -*-
# @Time : 2021/5/1 17:28
# @Author : ana
# @File : Collection36.py
# @Software: PyCharm
from ..items import *
from ..str_filter import *
from ..auxiliary_files import Collection36_supporting
class Collection36(scrapy.Spider):
name = "Collection36"
allowed_... | [
"1300978939@qq.com"
] | 1300978939@qq.com |
914c7f5609eddc9843dab1308819682ab8de7b95 | 6c219c027c7d0ef454bdeac196bd773e8b95d602 | /system/tomcat/tomcat_weak_pass.py | 02071bb0dd5c7a622b9e690d910e97973b11f9f4 | [] | no_license | aStrowxyu/pocscan | 663f3a3458140e1bce7b4dc3702c6014a4c9ac92 | 08c7e7454c6b7c601bc54c21172c4788312603b1 | refs/heads/master | 2020-04-19T10:00:56.569105 | 2019-01-29T09:31:31 | 2019-01-29T09:31:31 | 168,127,418 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,681 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
name: Tomcat 弱口令漏洞
referer: unknown
author: Lucifer
description: tomcat 后台弱口令。
'''
import sys
import json
import base64
import requests
import warnings
from termcolor import cprint
class tomcat_weak_pass_BaseVerify:
def __init__(self, url):
self.url = url
... | [
"wangxinyu@vackbot.com"
] | wangxinyu@vackbot.com |
5d9abf7be2b4eff085ba4b1190760c8cdc557f3e | e66afbbd0e057ad436e2106e17aadb0ecd748f7f | /src/longformer/diagonaled_mm_tvm.py | 2441c87e8c71fcd1c47b482a057b08e9f5e0a6da | [] | no_license | wjunneng/2020-AI-English-Text-Semantic-Similarity | 2a666bdfcd703c7795df761b852042c67efa2200 | e5efe77c0f0f42129d4806ba6228b0766d6cecbd | refs/heads/master | 2022-07-11T16:07:33.131607 | 2020-05-10T06:22:57 | 2020-05-10T06:22:57 | 254,600,139 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 17,814 | py | from typing import Union
from functools import lru_cache
import torch
import os.path
# this can be the small runtime python library, and doesn't need to be the whole thing
from tvm.module import load
# convert the tvm function into a pytorch function
from tvm.contrib import dlpack
# import the full tvm library here fo... | [
"1194348056@qq.com"
] | 1194348056@qq.com |
3e163d3f7184f533ac5ac44fb4d0b92ce5ed07a3 | 30cffb7452220c2ac2961dd2e0f42e3b359a59c0 | /simscale_sdk/models/volume_heat_flux_bc.py | 4c19bc6fa2fc9b31e93ea47336624efae4391462 | [
"MIT"
] | permissive | vpurcarea/simscale-python-sdk | 0bf892d8824f8d4599caa0f345d5ba28e038f5eb | 6f2d12b2d21142bd854042c0fb402c2c797629e4 | refs/heads/master | 2023-03-14T04:31:06.226337 | 2021-03-03T16:20:01 | 2021-03-03T16:20:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,793 | py | # coding: utf-8
"""
SimScale API
The version of the OpenAPI document: 0.0.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from simscale_sdk.configuration import Configuration
class VolumeHeatFluxBC(object):
"""NOTE: This class is auto generated... | [
"simscale"
] | simscale |
495c8590432112853a5e32efd49fc8c474f63fe8 | e8a6e0e218ce4bb51388e221e3f072f0a7c952c3 | /SendGrid/City's Happiness/mission-backup.py | 55013ca4f520219ca865870181a54ef4dc636247 | [] | no_license | imtiaz-rahi/Py-CheckiO | 34c553f08e2ec7ec3566fb3a0c6da371949470aa | 588b8e513b250040a4f1c37cf3c499dbdf2244d8 | refs/heads/master | 2020-07-04T13:59:10.297822 | 2019-12-05T15:42:18 | 2019-12-05T15:42:18 | 202,305,336 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,682 | py | import collections
from itertools import chain
def find_dups(data, val):
return [k for k, v in data.items() if v == val]
def most_crucial(net, users):
max_user = max(users, key=users.get)
if len(find_dups(users, users[max_user])) == 1:
return [max_user]
# print(len(users.values()) == len(set... | [
"imtiaz.rahi@naztech.us.com"
] | imtiaz.rahi@naztech.us.com |
285b7977f70837a5ab8665312296cfade02c6b14 | 9f01627911817add0d08a8f77d330802c26bd8f0 | /cvpods/modeling/backbone/mobilenet.py | dbaac189f04c8a7905fca6f8cc3d5dcd9052ff77 | [
"Apache-2.0"
] | permissive | StevenGrove/LearnableTreeFilterV2 | 44389a2d471db1716147bedd3fb3d304349d770d | 0c85352155ed56dfc6126fc1ebcfec35f16d4375 | refs/heads/main | 2023-02-19T09:41:56.736387 | 2020-12-16T07:06:43 | 2020-12-16T07:06:43 | 303,635,302 | 93 | 8 | null | null | null | null | UTF-8 | Python | false | false | 8,860 | py | from copy import deepcopy
import numpy as np
import torch.nn as nn
from cvpods.layers import Conv2d, FrozenBatchNorm2d, ShapeSpec, get_activation, get_norm
from cvpods.modeling.backbone import Backbone
__all__ = [
"InvertedResBlock",
"MobileStem",
"MobileNetV2",
"build_mobilenetv2_backbone",
]
cla... | [
"stevengrove@stu.xjtu.edu.cn"
] | stevengrove@stu.xjtu.edu.cn |
c249268db1786d8cdb7bf00127d40f7646a30e50 | 09e57dd1374713f06b70d7b37a580130d9bbab0d | /benchmark/startQiskit1903.py | b51d36f8d6e5a86356943e98873a8ade2bd63789 | [
"BSD-3-Clause"
] | permissive | UCLA-SEAL/QDiff | ad53650034897abb5941e74539e3aee8edb600ab | d968cbc47fe926b7f88b4adf10490f1edd6f8819 | refs/heads/main | 2023-08-05T04:52:24.961998 | 2021-09-19T02:56:16 | 2021-09-19T02:56:16 | 405,159,939 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,833 | py | # qubit number=5
# total number=71
import cirq
import qiskit
from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister
from qiskit import BasicAer, execute, transpile
from pprint import pprint
from qiskit.test.mock import FakeVigo
from math import log2,floor, sqrt, pi
import numpy as np
import networkx as ... | [
"wangjiyuan123@yeah.net"
] | wangjiyuan123@yeah.net |
d9141d1e99e4af79e76fdbd167877c57e8730b0b | eddbf9518e7384f0e9a1d9e19cbe74855c3f24bd | /2017013401_ouyyn/2017013401_mongoDB.py | 6b1b3f22a4e98ecb2157c86b25e8007a9244b964 | [] | no_license | wanghan79/2019_Python | 9d2391d799efd9545b2afb3565bc5c6d542d1d86 | f856409af92af3990773966d937d58d9d1cade04 | refs/heads/master | 2020-05-05T12:54:30.921361 | 2019-07-20T09:50:03 | 2019-07-20T09:50:03 | 180,050,522 | 11 | 14 | null | 2019-07-15T15:00:03 | 2019-04-08T01:59:24 | Python | UTF-8 | Python | false | false | 1,872 | py | import pymongo
import urllib
import threading
from urllib import request
"""在MongoDB中,定义一个数据库"""
myclient = pymongo.MongoClient("mongodb://localhost:27017/")
db = myclient.test
collection = db['test']
"""定义一个MongoDB操作的类"""
class mongo_operation(threading.Thread):
def __init__(self,num):
... | [
"noreply@github.com"
] | wanghan79.noreply@github.com |
5ebc086f0d77e202299f3b3be477c9f71d6911c6 | 0617c812e9bf58a2dbc1c1fef35e497b054ed7e4 | /venv/Lib/site-packages/pyrogram/raw/functions/channels/get_participants.py | 4421b21274922f390d1e789624cfb6e888760da2 | [] | no_license | howei5163/my_framework | 32cf510e19a371b6a3a7c80eab53f10a6952f7b2 | 492c9af4ceaebfe6e87df8425cb21534fbbb0c61 | refs/heads/main | 2023-01-27T14:33:56.159867 | 2020-12-07T10:19:33 | 2020-12-07T10:19:33 | 306,561,184 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,167 | py | # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free... | [
"houwei5163"
] | houwei5163 |
90a609d52ae1e0ba248f43b1f930d8fa6a4f7130 | dad9579a08ff0eff8f70f87b29ae5343c969e486 | /01.Knowledge-11Tensorflow与深度学习/02.代码实现-05简单卷积网络-01简单卷积神经网络.py | 5f80e87abf556112a82c8063d92cb863abbb7bcd | [] | no_license | myboyliu/MachineLearning | cd3caac06d0eba49f4f67dc4d1c00277d5a78260 | fa246e4e0e3841ec5e4544d585adbcbf9d60a1f8 | refs/heads/master | 2021-07-09T19:11:26.222674 | 2017-08-25T07:38:06 | 2017-08-25T07:38:06 | 104,562,647 | 3 | 0 | null | 2017-09-23T11:28:28 | 2017-09-23T11:28:27 | null | UTF-8 | Python | false | false | 10,436 | py | '''
使用mnist数据集,
输入层数据:data = 28 * 18 * 1
卷积层:conv2d = 5 * 5 * 1 - 输出输出:data = 24 * 24 * K(K就是卷积核的个数)
激活层ReLU- 输出数据:data = 24 * 24 * K
池化层:pool2d - MaxPool 2 * 2 步长S=2 输出数据为12 * 12 * K
全连接层-线性 units = 10 输出数据(特征):logits = 1 * 1 * 10(最终需要分10类:0-9)
Softmax:计算属于每个分类的概率
'''
import tensorflow as tf
import os
import csv
from ... | [
"jeffcobile@gmail.com"
] | jeffcobile@gmail.com |
924add228ae4fae3582cb5a29409b21a5ba61c17 | cb9755de39b3cb30a287710eecab1c2d7d8d4968 | /modules/dbnd/test_dbnd/targets_tests/test_local_target.py | 0643dee58975f88007260b400caf1b57dc79dff3 | [
"Apache-2.0"
] | permissive | turbaszek/dbnd | 64b57109967159f5ad7253f92fc9fea668a76573 | 6efbf3e7ecd175645e8e58d0d015d32fe9e95ea0 | refs/heads/master | 2021-04-20T22:23:39.009965 | 2020-03-23T06:40:00 | 2020-03-23T06:40:00 | 249,721,465 | 0 | 0 | Apache-2.0 | 2020-03-27T14:34:39 | 2020-03-24T13:53:49 | null | UTF-8 | Python | false | false | 8,271 | py | # -*- coding: utf-8 -*-
#
# Copyright 2012-2015 Spotify AB
# Modifications copyright (C) 2018 databand.ai
#
# 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/LI... | [
"evgeny.shulman@databand.ai"
] | evgeny.shulman@databand.ai |
80c10ca7be99a36f645a76e73a3ef3a2ddacbf3d | e5b778a273e3888ad0575a9dada39d458158127a | /page_extend/menu.py | af9ee20528dfdba95ea996ccd54becce8c5e8ad0 | [] | no_license | SevenLines/django-tealeaf | 896784baead7b9514e83edad8c3c2defdcdd060b | 959dbcbdd37a4e8f45de400e71710c5e746a97da | refs/heads/master | 2021-01-23T00:01:43.793383 | 2015-05-15T15:58:52 | 2015-05-15T15:58:52 | 17,891,988 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 717 | py | from cms.models import Page
from menus.base import Modifier
from menus.menu_pool import menu_pool
class PageExtendModifier(Modifier):
"""
"""
def modify(self, request, nodes, namespace, root_id, post_cut, breadcrumb):
if breadcrumb:
return nodes
for node in nodes:
... | [
"mmailm@mail.ru"
] | mmailm@mail.ru |
000fa7d336c18bb5123c8819e4e0034612b94e24 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/40/usersdata/124/24859/submittedfiles/main.py | 3274f178ccd8d3ee62b0080a390c7e6db74611c3 | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 380 | py | # -*- coding: utf-8 -*-
from __future__ import division
import funcoes
import vabsol(m)
#COMECE AQUI
m = int(input('Digite o número m de termos da fórmula de pi: '))
epsilon = input('Digite o epsilon para o cálculo da razão áurea: ')
m = vabsol(m)
print('Valor aproximado de pi: %.15f' %calculopi(m))
print('Valor apr... | [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.