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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6f88ec631445227f469101845a9bc79e3e021b60 | 5f885e38973c4eddd6f086cbc7463de56fe1edab | /rotkehlchen/tests/utils/constants.py | 665da8a4de2a2adb4b6900a70cc80f38648ba9b8 | [
"BSD-3-Clause"
] | permissive | hjorthjort/rotki | 8922372e2f1ce5bf5fab3a68f0362b50a952af81 | 5bd4cdf0c756873b41999ced6d5fd7383fb75963 | refs/heads/master | 2021-03-24T00:14:56.421344 | 2020-03-10T12:26:16 | 2020-03-10T13:43:15 | 247,496,415 | 0 | 0 | BSD-3-Clause | 2020-03-15T15:39:52 | 2020-03-15T15:39:52 | null | UTF-8 | Python | false | false | 1,086 | py | from rotkehlchen.assets.asset import Asset, EthereumToken
from rotkehlchen.constants.assets import A_EUR
from rotkehlchen.typing import EthAddress
A_RDN = EthereumToken('RDN')
A_GNO = EthereumToken('GNO')
A_DAO = EthereumToken('DAO')
A_DOGE = Asset('DOGE')
A_XMR = Asset('XMR')
A_DASH = Asset('DASH')
A_IOTA = Asset('IO... | [
"lefteris@refu.co"
] | lefteris@refu.co |
ac8aa62e2c00972bac6bf1bdd6c0dcba45a5b7e9 | 135f0d1bb655953e761046b9addccca3f6a517cf | /user_management/migrations/0001_initial.py | 5cf800f11a1330127a2b1a99425008771ba6b18a | [] | no_license | nabaman/eureka | 04b687d19092fe3f3380616763d45b6bf68e7923 | dc72fbda74cede2a603f20ac3525f3470f18b923 | refs/heads/master | 2023-03-17T18:37:38.054046 | 2021-02-22T06:31:37 | 2021-02-22T06:31:37 | 344,375,865 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,156 | py | # Generated by Django 3.1.5 on 2021-02-19 12:58
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
... | [
"naba.alvian@gmail.com"
] | naba.alvian@gmail.com |
6af10245f6c7f8ad2d30b3feddf14505be2b59d2 | 3baab5342d1cdb8f4efe72f6f7ac3b5a6eda96c0 | /lib/node_types/esp8266/compile/uiot/_rgb_animator.py | ef0dbeb04f2f1ab30a8776b8134b1b115ddc1c4d | [
"MIT"
] | permissive | ulno/ulnoiot-upy | ff18043736c7f1627619ab5d56fef4e021811850 | 6e90c1c207f23c4b5bf374f58d3701550e6c70ca | refs/heads/master | 2018-11-30T01:01:24.282604 | 2018-09-05T17:16:11 | 2018-09-05T17:16:11 | 66,976,131 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,302 | py | # Animation class for performing a smimple animation
# of rgb lights
#
# author: ulno
# created: 2017-05-23
#
import time
from uiot import colors as _c
class Animation():
def __init__(self, device, command_str):
self.program = command_str.split()
self.device = device
self.playing = True
... | [
"devel@mail.ulno.net"
] | devel@mail.ulno.net |
46624d3368680e1f61b8b7dd8c68748b19a53696 | 00bc6bd538cf37bb8cfc9d963e814a72e3645e40 | /Python/gapped_pssms/information_content.py | 66f05cfc8b98da70929b0e1423a7d9440fea9963 | [
"MIT"
] | permissive | JohnReid/biopsy | 0ff46367dc94131c36ed2c08bafebd41b3e602bb | 1eeb714ba5b53f2ecf776d865d32e2078cbc0338 | refs/heads/master | 2021-01-23T07:15:43.953548 | 2015-04-22T19:14:03 | 2015-04-22T19:14:03 | 14,086,927 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,761 | py | #
# Copyright John Reid 2009
#
"""
Code to examine information content of gapped PWMs.
"""
import numpy as N, fpconst
def inc_index(idx, max=4):
"Increment the index."
for i in xrange(len(idx)):
idx[i] = (idx[i] + 1) % max
if 0 != idx[i]:
break
else:
return False
... | [
"johnbaronreid@netscape.net"
] | johnbaronreid@netscape.net |
01053e4de830719d9824fb50cf5cf056274d5a21 | 82b946da326148a3c1c1f687f96c0da165bb2c15 | /sdk/python/pulumi_azure_native/dbformysql/v20171201/virtual_network_rule.py | e9d72656faf8953d1b197d79b552c4b1089ebe6a | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | morrell/pulumi-azure-native | 3916e978382366607f3df0a669f24cb16293ff5e | cd3ba4b9cb08c5e1df7674c1c71695b80e443f08 | refs/heads/master | 2023-06-20T19:37:05.414924 | 2021-07-19T20:57:53 | 2021-07-19T20:57:53 | 387,815,163 | 0 | 0 | Apache-2.0 | 2021-07-20T14:18:29 | 2021-07-20T14:18:28 | null | UTF-8 | Python | false | false | 11,540 | 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"
] | morrell.noreply@github.com |
5e3b3981968ee9d1e6f2dbb6e6fcad06b50ef57c | 141b42d9d72636c869ff2ce7a2a9f7b9b24f508b | /myvenv/Lib/site-packages/_pytest/hookspec.py | f1b1fe5a28beccaa1d74c9ccf4aa0632cdb6cf91 | [
"BSD-3-Clause"
] | permissive | Fa67/saleor-shop | 105e1147e60396ddab6f006337436dcbf18e8fe1 | 76110349162c54c8bfcae61983bb59ba8fb0f778 | refs/heads/master | 2021-06-08T23:51:12.251457 | 2018-07-24T08:14:33 | 2018-07-24T08:14:33 | 168,561,915 | 1 | 0 | BSD-3-Clause | 2021-04-18T07:59:12 | 2019-01-31T17:00:39 | Python | UTF-8 | Python | false | false | 17,931 | py | """ hook specifications for pytest plugins, invoked from main.py and builtin plugins. """
from pluggy import HookspecMarker
hookspec = HookspecMarker("pytest")
# -------------------------------------------------------------------------
# Initialization hooks called for every plugin
# -------------------------------... | [
"gruzdevasch@gmail.com"
] | gruzdevasch@gmail.com |
59a483ba25c8bf40a16d80ed8b3e4007e1a512f3 | 360bb4f1887ff9a4d38df731df6998fe8c2eac5c | /prototype/logic/__init__.py | 8fd5953c2a4a31ff670abd61f13331bfda7a4661 | [
"BSD-3-Clause"
] | permissive | andres-mejia/ApiLogicServer | 3d35f1017a8d7e812e125de0895c07c6568ae8b1 | 02af2e8d8e9a31cffdf3a0438337de8c243d0cdc | refs/heads/main | 2023-04-02T13:09:11.090984 | 2021-04-12T03:20:59 | 2021-04-12T03:20:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,617 | py | # Initialize Logging
import logging
import util
import sys
from logic_bank.logic_bank import LogicBank
from logic_bank.exec_row_logic import logic_row
from logic_bank.rule_type import constraint
from sqlalchemy.orm import session
from safrs import ValidationError
import database.db
from logic.logic_bank import declare... | [
"valjhuber@gmail.com"
] | valjhuber@gmail.com |
fab4f4e00ef324365b9d6884267b893e45cf9ce4 | a2f6e449e6ec6bf54dda5e4bef82ba75e7af262c | /venv/Lib/site-packages/numpy/testing/_private/utils.py | 1fa78aacf1e4b3ef07bdba5bd4949316c97209c3 | [] | no_license | mylonabusiness28/Final-Year-Project- | e4b79ccce6c19a371cac63c7a4ff431d6e26e38f | 68455795be7902b4032ee1f145258232212cc639 | refs/heads/main | 2023-07-08T21:43:49.300370 | 2021-06-05T12:34:16 | 2021-06-05T12:34:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 130 | py | version https://git-lfs.github.com/spec/v1
oid sha256:747ec15efc77ab9e64b4196133a7fba6373d1f6a6106bdd2cdf40ffc3db109dc
size 87843
| [
"chuksajeh1@gmail.com"
] | chuksajeh1@gmail.com |
c0d5dece926168385fa9bf4e42a95cccea8d78dd | 9224a692d5a15408304a110999973ea13f89803c | /tests/test_notification.py | 950567ac4e0f70bcac3c9262ebf444ad5b7016f9 | [
"Apache-2.0"
] | permissive | isabella232/chaostoolkit-slack | fe64ef69a1a12637899388b03ddb7260c6dd8b5c | b88c5efb9ac83930251260c0ce697f70479f84ea | refs/heads/master | 2022-02-11T17:29:47.986646 | 2019-05-21T08:51:50 | 2019-05-21T13:52:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 928 | py | # -*- coding: utf-8 -*-
import time
import types
from unittest.mock import MagicMock, patch
from chaoslib.notification import RunFlowEvent
import pytest
import requests
import requests_mock
from chaosslack.notification import notify
def test_notify():
payload = {
"msg": "hello",
"ts": str(time.t... | [
"sh@defuze.org"
] | sh@defuze.org |
8b85c826abdca9adb7f64641a344603833d7677f | 5decd00662884a7f8200726aa6c46414512d3f38 | /levelupapi/models/gamer.py | 3953205fd21e9b0043c1a26070e23b7bd52a54cb | [] | no_license | NSS-Day-Cohort-42/full-levelup-server | 73de679095a12efe351b6e3c3820a53316860015 | 7643a13f781d742160ae30ab2ee2a80ba5bcc590 | refs/heads/master | 2023-01-07T12:20:20.198164 | 2020-11-05T14:50:41 | 2020-11-05T14:50:41 | 310,039,798 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 270 | py | """Gamer class module"""
from django.db import models
from django.conf import settings
class Gamer(models.Model):
"""Gamer model class"""
user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
bio = models.CharField(max_length=50)
| [
"chortlehoort@gmail.com"
] | chortlehoort@gmail.com |
9e206296c4206d53db8a25afc47f6128ba9c68ac | d3efc82dfa61fb82e47c82d52c838b38b076084c | /utils/ETF/Creation_HA/YW_ETFSS_SHSG_073.py | 2f8c59b02a4331ae675f4fc500327c545269b919 | [] | no_license | nantongzyg/xtp_test | 58ce9f328f62a3ea5904e6ed907a169ef2df9258 | ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f | refs/heads/master | 2022-11-30T08:57:45.345460 | 2020-07-30T01:43:30 | 2020-07-30T01:43:30 | 280,388,441 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,756 | py | #!/usr/bin/python
# -*- encoding: utf-8 -*-
import sys
import time
sys.path.append("/home/yhl2/workspace/xtp_test/ETF")
from import_common import *
class YW_ETFSS_SHSG_073(xtp_test_case):
def test_YW_ETFSS_SHSG_073(self):
# -----------ETF申购-------------
title = '上海ETF申购--错误的数量(非unit的倍数)'
... | [
"418033945@qq.com"
] | 418033945@qq.com |
1c996875b6e96a3e38e55a457769c2a4db24980e | c5f58af61e3577ded52acda210f4f664651b598c | /template/detectron2/projects/DensePose/densepose/evaluation/densepose_coco_evaluation.py | cdf801bc5a9d2be14addaf38eb441e58cc122e0b | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hojihun5516/object-detection-level2-cv-02 | 0a4ee5cea9a77ef5d43fb61a4b37fe3a87cb0eac | bc8a08286935b31b8e7e597c4b1ca2cbbaeb9109 | refs/heads/master | 2023-08-31T09:50:59.150971 | 2021-10-16T15:00:19 | 2021-10-16T15:00:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 55,996 | py | # Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
# This is a modified version of cocoeval.py where we also have the densepose evaluation.
__author__ = "tsungyi"
import cop... | [
"hojihun5516@daum.net"
] | hojihun5516@daum.net |
aea63975922330959f8f45228f027fcf76b29713 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5738606668808192_1/Python/srikanth/c-large.py | 2ae6a097928b745f539619001d1750f3fed84405 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | Python | false | false | 78,566 | py | #!/usr/bin/python
import sys
import numpy as np
ipfile, opfile = sys.stdin, sys.stdout
T = int(ipfile.readline().strip())
N, J = map(int, ipfile.readline().strip().split())
# precompute base multipliers
multipliers = np.zeros((11,N), dtype=np.uint64)
multipliers = []
for b in range(0,11):
multipliers.append([])
... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
e2b21b77f8e2c91f6cb89ee73b7d699980cf1eb6 | 501511f77434d65983e61d30eb7033202165e753 | /engineio/socket.py | 441d59218bcc42e81e363b952b3b50adbf0d7ca6 | [
"MIT"
] | permissive | bharling/python-engineio | 2a203a4eecaa2f87bb312d6d329e4b0ef8ddf530 | 86ed25d19fe6f97d7906891172a44f7d0c5fe185 | refs/heads/master | 2020-04-05T23:45:49.486133 | 2015-09-08T06:36:59 | 2015-09-08T06:40:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,480 | py | import time
import six
from . import packet
from . import payload
class Socket(object):
"""An Engine.IO socket."""
upgrade_protocols = ['websocket']
def __init__(self, server, sid):
self.server = server
self.sid = sid
self.queue = getattr(self.server.async['queue'],
... | [
"miguelgrinberg50@gmail.com"
] | miguelgrinberg50@gmail.com |
55f388e1fabee828a9b77bbe648d5e6b948207fd | bbe53d0171efbc78ca43f409b4a5235df51f36fa | /learning/djangoLearning/ddtcms/src/ddtcms/member/urls/en.py | 11499a9484c81b67abc000dd38bee29c98b2f7a4 | [] | no_license | brianwang/gftop | 2758ec93e326ba5e801af48f951c73b5761bb25d | 12a48eafb5114da325515fce4b97e744638e6faf | refs/heads/master | 2021-01-12T08:16:43.816679 | 2012-12-12T16:25:29 | 2012-12-12T16:25:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,174 | py | from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from ddtcms.member.views import *
from django.conf import settings
from ddtcms.member.models import Profile,Resume
info_dict = {
'queryset': Profile.objects.all(),
'template_name':'member/index.html',
}
pa... | [
"gaofeitop@0700f6e2-4af4-11de-a39b-05eb13f3dc65"
] | gaofeitop@0700f6e2-4af4-11de-a39b-05eb13f3dc65 |
5dc6cb4562dcf39d071e06c86751cd3cf81b1937 | 787ca20e18abc12f4361dc24ffdd62702a206488 | /legacy/calendar/update.py | e1d17a0bed14766f042099e5e14498c1434b3ae0 | [
"Apache-2.0"
] | permissive | Kirillpt/clist | c44c23b59968ac8873f5f52559bc906818acd43a | 1fae50266bda0e46fa7f3cd8a5b15bc921c9cc06 | refs/heads/master | 2021-01-02T17:02:34.228527 | 2020-02-12T12:20:58 | 2020-02-12T12:20:58 | 239,713,190 | 0 | 0 | Apache-2.0 | 2020-02-11T08:34:57 | 2020-02-11T08:34:57 | null | UTF-8 | Python | false | false | 4,648 | py | # -*- coding: utf-8 -*-
from googleapiclient.http import BatchHttpRequest
import os
import sys
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../api/google-calendar'))) # noqa
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../../'))) # noqa
os.environ['DJANGO_SET... | [
"nap0rbl4@gmail.com"
] | nap0rbl4@gmail.com |
047b0bcaf1deda82a1756cf82ec9c727ec966fb4 | 930c207e245c320b108e9699bbbb036260a36d6a | /BRICK-RDFAlchemy/generatedCode/brick/brickschema/org/schema/_1_0_2/Brick/Emergency_Air_Flow.py | 5372ee64a5d44aa9f9dd8047e9f534a18522baba | [] | no_license | InnovationSE/BRICK-Generated-By-OLGA | 24d278f543471e1ce622f5f45d9e305790181fff | 7874dfa450a8a2b6a6f9927c0f91f9c7d2abd4d2 | refs/heads/master | 2021-07-01T14:13:11.302860 | 2017-09-21T12:44:17 | 2017-09-21T12:44:17 | 104,251,784 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 400 | py | from rdflib import Namespace, Graph, Literal, RDF, URIRef
from rdfalchemy.rdfSubject import rdfSubject
from rdfalchemy import rdfSingle, rdfMultiple, rdfList
from brick.brickschema.org.schema._1_0_2.Brick.UndefinedMeasurement import UndefinedMeasurement
class Emergency_Air_Flow(UndefinedMeasurement):
rdf_type = ... | [
"Andre.Ponnouradjane@non.schneider-electric.com"
] | Andre.Ponnouradjane@non.schneider-electric.com |
944fc68e407dd5028ba322a14303a96d6a307a28 | d094ba0c8a9b1217fbf014aa79a283a49aabe88c | /env/lib/python3.6/site-packages/nibabel/tests/test_rstutils.py | 9fd708ba64dc416807debf8774d51c1f1c7eae5c | [
"Apache-2.0"
] | permissive | Raniac/NEURO-LEARN | d9274e0baadd97bb02da54bdfcf6ca091fc1c703 | 3c3acc55de8ba741e673063378e6cbaf10b64c7a | refs/heads/master | 2022-12-25T23:46:54.922237 | 2020-09-06T03:15:14 | 2020-09-06T03:15:14 | 182,013,100 | 9 | 2 | Apache-2.0 | 2022-12-09T21:01:00 | 2019-04-18T03:57:00 | CSS | UTF-8 | Python | false | false | 4,404 | py | """ Test printable table
"""
from __future__ import division, print_function
import sys
import numpy as np
from ..rstutils import rst_table
from nose import SkipTest
from nose.tools import assert_equal, assert_raises
def test_rst_table():
# Tests for printable table function
R, C = 3, 4
cell_values = n... | [
"leibingye@outlook.com"
] | leibingye@outlook.com |
fba026213397cba36870114080ab358fc4228443 | 3a48e3469239ce17b4f01b98b85e052faf137ab0 | /pytest_allure/按标签运行的方法/test_123.py | 1d5b48eb342fd422858f57297cee162974ece3e6 | [] | no_license | langdawang678/Py | 3b6887bb7840ec73ee750e69f5c0f2988730746d | 7f0863a245fc51a1dd07d2c8954eac67b55daac2 | refs/heads/master | 2021-07-17T22:03:01.177913 | 2021-07-14T14:01:16 | 2021-07-14T14:01:16 | 174,823,049 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 594 | py | #!/usr/bin/python3
# -*- coding: UTF-8 -*-
# @date: 2020/10/23 20:46
# @author:langdawang678
# file_name: test_abc.py
import pytest
def test_1(): # test开头的测试函数
print("test_1")
assert 1 # 断言成功
@pytest.mark.me
def test_2():
print("------->test_2")
assert 1 # 断言失败
# if __name__ == '__main__':
# ... | [
"langdawang678@sina.com"
] | langdawang678@sina.com |
b9957abe1f4a9806edb12ce3c5fa4ded15bf804e | 006ff11fd8cfd5406c6f4318f1bafa1542095f2a | /Validation/Performance/scripts/cmsPerfSuite.py | c66cfc229863b5f796b6e222f3a230429b4394d9 | [] | permissive | amkalsi/cmssw | 8ac5f481c7d7263741b5015381473811c59ac3b1 | ad0f69098dfbe449ca0570fbcf6fcebd6acc1154 | refs/heads/CMSSW_7_4_X | 2021-01-19T16:18:22.857382 | 2016-08-09T16:40:50 | 2016-08-09T16:40:50 | 262,608,661 | 0 | 0 | Apache-2.0 | 2020-05-09T16:10:07 | 2020-05-09T16:10:07 | null | UTF-8 | Python | false | false | 114,024 | py | #!/usr/bin/env python
import os, time, sys, re, glob, exceptions
import optparse as opt
import cmsRelRegress as crr
from cmsPerfCommons import Candles, KeywordToCfi, CandFname, cmsDriverPileUpOption, getVerFromLog
import cmsRelValCmd,cmsCpuInfo
import threading #Needed in threading use for Valgrind
import subprocess #N... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
04da45272b0a9f830f6f6b1dbb71e3107021f675 | 0e8b3ba080b7357957d3de6595e74d70c71f55b1 | /excel/salary-case.py | 8bcfcd86524a6b052e79f76b1bad07dfffe494c0 | [] | no_license | obligate/python-base | 3448b64e431702505f2572bdfaa06eda14799797 | 0ab3a9eba7293c46ed2586632baf6a0674bb3619 | refs/heads/master | 2022-12-31T05:30:02.956361 | 2020-10-29T10:41:41 | 2020-10-29T10:41:41 | 308,005,249 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,670 | py | # _*_ coding: utf-8 _*_
# @Time : 2020/10/29 13:27
# @Author : Peter
# @File : salary-case.py
import re
import openpyxl
from copy import copy
def cell_style(cell):
alignment = copy(cell.alignment) # 对齐样式
border = copy(cell.border) # 边框样式
fill = copy(cell.fill) # 填充样式
font =... | [
"peter@tidebuy.net"
] | peter@tidebuy.net |
260d7c7d564c824bce9ab19cc9a502718bd4ba0c | 908cf8e6ef52033bbf3d5afbb29637a25f5d66f8 | /test/test_codat_data_contracts_datasets_commerce_phone.py | eacdb8a09a5985c81b294f57ca1abdec6f233bb3 | [] | no_license | procurify/codat-python-sdk | 074769a2d9e72640741689b6f51e880d35b88095 | 3c8f664998427bda32bad8062c3bf324f39506da | refs/heads/master | 2023-08-25T03:55:19.817085 | 2021-10-22T22:14:34 | 2021-10-22T22:14:34 | 395,381,471 | 1 | 0 | null | 2021-10-20T21:10:31 | 2021-08-12T16:31:03 | Python | UTF-8 | Python | false | false | 1,162 | py | """
Codat API
[What's changed in our Swagger](https://docs.codat.io/docs/new-swagger-ui) # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import codat_python_sdk
from codat_python_sdk.model.codat_data_contracts_dataset... | [
"contact@alexchalk.net"
] | contact@alexchalk.net |
809bddde39258b5680c5709ac6505734ffc57206 | 46b4742ba83d936c7038ef7a16f20b28e9451b60 | /pages/proyecto1/urls.py | 58216fa21961b3583ca25ec201a5acb35cfa2eaa | [] | no_license | IvanPuentes/proyecto_dockers_martes_11_05 | fddf9cd0a7b35821cb832b55430a33b77a827a7b | 0187d6141ae6f52c7f208aeab1c0f54c441db332 | refs/heads/master | 2023-04-14T20:00:20.364052 | 2021-05-11T06:44:27 | 2021-05-11T06:44:27 | 366,277,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,495 | py | """proyecto_vacaciones URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')... | [
"ivan_andi@hotmail.com"
] | ivan_andi@hotmail.com |
fcc6caaa4849780ed472d14fbb44596e3c0c1a6a | a140fe192fd643ce556fa34bf2f84ddbdb97f091 | /.history/class_20200708165838.py | 22daa90656f9b12116a48f21ed8d2c294bae9fc4 | [] | no_license | sangha0719/py-practice | 826f13cb422ef43992a69f822b9f04c2cb6d4815 | 6d71ce64bf91cc3bccee81378577d84ba9d9c121 | refs/heads/master | 2023-03-13T04:40:55.883279 | 2021-02-25T12:02:04 | 2021-02-25T12:02:04 | 342,230,484 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 767 | py | # 마린 : 공격 유닛, 군인, 총을 쏠 수 있음
name = "마린" # 유닛의 이름
hp = 40 # 유닛의 체력
damage = 5 # 유닛의 공격력
print("{} 유닛이 생성되었습니다.".format(name))
print("체력{0}, 공격력 {1}\n".format(hp, damage))
# 탱크 : 공격 유닛, 탱크, 포를 쏠 수 있는데, 일반 모드 / 시즈 모드.
tank_name = "탱크"
tank_hp = 150
tank_damage = 35
print("{0} 유닛이 생성되었습니다.".format(tank_name))
print("... | [
"sangha0719@gmail.com"
] | sangha0719@gmail.com |
216d35240e1e9339dcce12bd48e9e12bd5c91261 | 6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386 | /google/cloud/speech/v1p1beta1/speech-v1p1beta1-py/google/cloud/speech_v1p1beta1/types/resource.py | f00175ce12fc26d1f7367faed1f327f0d6c1cd36 | [
"Apache-2.0"
] | permissive | oltoco/googleapis-gen | bf40cfad61b4217aca07068bd4922a86e3bbd2d5 | 00ca50bdde80906d6f62314ef4f7630b8cdb6e15 | refs/heads/master | 2023-07-17T22:11:47.848185 | 2021-08-29T20:39:47 | 2021-08-29T20:39:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,937 | py | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | [
"bazel-bot-development[bot]@users.noreply.github.com"
] | bazel-bot-development[bot]@users.noreply.github.com |
f361f68f81318eef3cb4d749e0f20e50a063cc39 | 3365e4d4fc67bbefe4e8c755af289c535437c6f4 | /.history/src/core/dialogs/waterfall_dialog_20170816102052.py | 00bddab9e1f659165a049fc7d840bc030612291a | [] | no_license | kiranhegde/OncoPlotter | f3ab9cdf193e87c7be78b16501ad295ac8f7d2f1 | b79ac6aa9c6c2ca8173bc8992ba3230aa3880636 | refs/heads/master | 2021-05-21T16:23:45.087035 | 2017-09-07T01:13:16 | 2017-09-07T01:13:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,816 | py | '''
Refs:
Embedding plot: https://sukhbinder.wordpress.com/2013/12/16/simple-pyqt-and-matplotlib-example-with-zoompan/
'''
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar
import matplotlib.pyplot a... | [
"ngoyal95@terpmail.umd.edu"
] | ngoyal95@terpmail.umd.edu |
2a839702a3407517559c87f12c998c837eab093c | 7138f8c051d60bea8952124682941425392356c3 | /nr_collection/util.py | e174b48f7d848e8458a957dfa39b416e4194f566 | [] | no_license | tatak/experimental | 24ac2bbfeea2908f9fcb5afa271d650a3552304c | 67c8e5ca533edbd4af884eb5f2db65bb704605a7 | refs/heads/master | 2021-01-17T12:04:14.472160 | 2014-10-13T09:57:41 | 2014-10-13T09:57:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,109 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) 2013, Nicolas P. Rougier. All rights reserved.
# Distributed under the terms of the new BSD License.
# ---------------------------------------------------------------------------... | [
"Nicolas.Rougier@inria.fr"
] | Nicolas.Rougier@inria.fr |
2344da1f038b7b997f1fba593e6f3c26e480b902 | de6c25932a32775890482763c16cb1b20954db1c | /biliob_spider/spiders/tag_adder.py | 62dbd2e0645ab9b571ea07bcad7c255c6cace35a | [] | permissive | jerryzhuochuxin/biliob-spider | e114d0e38abfb1051b27dc6d1da83c0fbd258b9f | 141a28870afef4b3cd2c122dd32992bc389d2c36 | refs/heads/master | 2021-01-01T13:32:16.183351 | 2020-02-22T12:20:22 | 2020-02-22T12:20:22 | 239,300,856 | 1 | 0 | MIT | 2020-02-09T12:27:15 | 2020-02-09T12:27:15 | null | UTF-8 | Python | false | false | 1,625 | py | # coding=utf-8
import datetime
import json
import time
import redis
import scrapy
from pymongo import MongoClient
from scrapy.http import Request
from scrapy_redis.spiders import RedisSpider
from biliob_spider.items import TagListItem
from biliob_tracer.task import SpiderTask
from db import db
class TagAdderSpider... | [
"jannchie@gmail.com"
] | jannchie@gmail.com |
2eeb6f094583aee781bfca5552ca7ef2024918ca | 498f6ee5b0d6f2b0b06f0b5d13a456de68fd05b9 | /Assignment_2/analysis_svm.py | 3f8bd49473326673b31194ea05279620b5a757cd | [
"MIT"
] | permissive | scheeloong/machine-learning | c6e2b94a55932c4aa22bcb10671c6d02a38e4f4d | 1d2850b82f49ccf31eec3c8f921f09d6260d13a4 | refs/heads/master | 2020-04-06T15:44:38.497020 | 2018-05-22T17:55:48 | 2018-05-22T17:55:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 759 | py | import sys
import matplotlib.pyplot as plt
import matplotlib.cm as cm
import numpy as np
file_xy = sys.argv[1].strip()
file_predicted_labels = sys.argv[2].strip()
with open(file_xy, "r") as gold, open(file_predicted_labels, "r") as predictions:
correct = 0
total = 0
for xy, p_y in zip(gold, predictions):
... | [
"hthuwal@gmail.com"
] | hthuwal@gmail.com |
75d5f38dd25565e42cbc40de78183cdaff3eea45 | 2ca5a1fe5608eb8298d7e142ecca98fd0fa4566b | /uwsgi_latest_from_installer/plugins/xslt/uwsgiplugin.py | 8a8c20c1aac02a6705a999af39f40cf7a7fa8d18 | [
"GCC-exception-2.0",
"GPL-2.0-only",
"MIT"
] | permissive | basemanbase/Animal-Health | 75bd2e4dc4eb29b6466125b197a77a70e14d91a4 | d9741aafd54126f05ba43e6f4ad6517755797c76 | refs/heads/master | 2023-05-30T17:53:19.905594 | 2022-01-30T05:52:53 | 2022-01-30T05:52:53 | 228,593,914 | 0 | 1 | MIT | 2023-05-01T20:37:31 | 2019-12-17T10:41:05 | Python | UTF-8 | Python | false | false | 185 | py | import os
NAME='xslt'
CFLAGS = os.popen('xslt-config --cflags').read().rstrip().split()
LDFLAGS = []
LIBS = os.popen('xslt-config --libs').read().rstrip().split()
GCC_LIST = ['xslt']
| [
"ogunbaseemmanuel@yahoo.com"
] | ogunbaseemmanuel@yahoo.com |
ab3d663591fa226f4068f997480753021eedd598 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_051/ch5_2020_09_02_11_21_54_715739.py | bb7ea9a7fddf0e381be799094ed3f53b2bfa2566 | [] | 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 | 58 | py | def libras_para_kg(X):
Y = (X)*0.45359237
return Y | [
"you@example.com"
] | you@example.com |
0ab07e066045a1d74c57fc46dc041e21ae8fe3ff | 22c5fc7dd52149ebd4338a487ae9ab0db0e43f01 | /tests/test_handler_checkpoint_saver.py | 5952316cc27a1603b45398c0ac0d56c7fe4ec0d0 | [
"Apache-2.0"
] | permissive | precision-medicine-um/MONAI-Deep_Learning | 3d3f547dd9815152561a6853f8d4727b0e5ca4c4 | d94c4d3a2c465717ba3fae01b7acea7fada9885b | refs/heads/master | 2022-12-28T07:04:07.768415 | 2020-10-17T13:11:56 | 2020-10-17T13:11:56 | 305,346,962 | 3 | 0 | Apache-2.0 | 2022-12-27T15:44:13 | 2020-10-19T10:30:07 | Python | UTF-8 | Python | false | false | 3,687 | py | # Copyright 2020 MONAI Consortium
# 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, s... | [
"noreply@github.com"
] | precision-medicine-um.noreply@github.com |
95917e72d829f415fa9941302110165497c46eff | 85b402cd9e762b2749c978105ea362b10d335e5c | /101-What is BM3D.py | 4579ab39e7a8446438912f51e4c70b8a47d55f0a | [] | no_license | bnsreenu/python_for_microscopists | 29c08f17461baca95b5161fd4cd905be515605c4 | 4b8c0bd4274bc4d5e906a4952988c7f3e8db74c5 | refs/heads/master | 2023-09-04T21:11:25.524753 | 2023-08-24T18:40:53 | 2023-08-24T18:40:53 | 191,218,511 | 3,010 | 2,206 | null | 2023-07-25T07:15:22 | 2019-06-10T17:53:14 | Jupyter Notebook | UTF-8 | Python | false | false | 1,079 | py | #!/usr/bin/env python
__author__ = "Sreenivas Bhattiprolu"
__license__ = "Feel free to copy, I appreciate if you acknowledge Python for Microscopists"
# https://youtu.be/aJrG8IH81SY
"""
http://www.cs.tut.fi/~foi/papers/ICIP2019_Ymir.pdf
"""
import matplotlib.pyplot as plt
from skimage import io, img_a... | [
"noreply@github.com"
] | bnsreenu.noreply@github.com |
649f930524f0a10f0af962c6149331e22f78fa8a | e29734c2b3543a05a28b6bc460c3248ea37aaf5c | /apps/course/migrations/0007_auto_20190415_1719.py | 24d02059958fc930af4571671a0d9a9755686dac | [] | no_license | simida0755/PopularBlogs | fda6dbe06751dde013ba57f73c708fd7106a49ee | 3a86989232206d0727223306c0e2d2c62d35fa9b | refs/heads/master | 2020-05-21T15:54:09.853341 | 2019-05-13T02:15:28 | 2019-05-13T02:15:28 | 186,101,555 | 5 | 1 | null | null | null | null | UTF-8 | Python | false | false | 597 | py | # Generated by Django 2.0.2 on 2019-04-15 17:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('course', '0006_auto_20190415_1717'),
]
operations = [
migrations.AlterField(
model_name='blogposts',
name='desc',
... | [
"simida027@163.com"
] | simida027@163.com |
9ce2085a3425a3d42ed57f90fc24274ffb545bba | 747f759311d404af31c0f80029e88098193f6269 | /addons/django/wizard/__init__.py | b65d3ef5ea90ba1e45b93cbca41cbf80f416022f | [] | 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 | 63 | py | /home/openerp/production/extra-addons/django/wizard/__init__.py | [
"geerish@omerp.net"
] | geerish@omerp.net |
7d34ec7dc0074628c636b7f2f1a7a69f7c70c214 | 0577a46d8d28e1fd8636893bbdd2b18270bb8eb8 | /update_notifier/thirdparty/wxWidgets/3rdparty/catch/scripts/fixWhitespace.py | 6f37c5399f8b51fd418a761b017df66c32bdb723 | [
"BSL-1.0",
"BSD-3-Clause"
] | permissive | ric2b/Vivaldi-browser | 388a328b4cb838a4c3822357a5529642f86316a5 | 87244f4ee50062e59667bf8b9ca4d5291b6818d7 | refs/heads/master | 2022-12-21T04:44:13.804535 | 2022-12-17T16:30:35 | 2022-12-17T16:30:35 | 86,637,416 | 166 | 41 | BSD-3-Clause | 2021-03-31T18:49:30 | 2017-03-29T23:09:05 | null | UTF-8 | Python | false | false | 1,319 | py | #!/usr/bin/env python
from __future__ import print_function
import os
from scriptCommon import catchPath
changedFiles = 0
def isSourceFile( path ):
return path.endswith( ".cpp" ) or path.endswith( ".h" ) or path.endswith( ".hpp" )
def fixAllFilesInDir( dir ):
for f in os.listdir( dir ):
path = os.... | [
"mathieu.caroff@free.fr"
] | mathieu.caroff@free.fr |
4e20a7eafa2f471f52387279c80b3ddfcc174464 | 5185eb841dc7e1d96b1a9a9887e57255bf3c5474 | /pixogo/apps.py | 413d6a21497772b5d92af81d2343ba04c6f489df | [] | no_license | OmiGitProjects/StackImages | 13e604fca0362c79a18ca9f28bb3e881ee14bfdc | 56de4451e3850bdc71f08c3b51f3ad92ba900020 | refs/heads/master | 2022-11-17T02:30:57.663465 | 2020-06-19T15:31:55 | 2020-06-19T15:31:55 | 273,525,927 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 87 | py | from django.apps import AppConfig
class PixogoConfig(AppConfig):
name = 'pixogo'
| [
"onkarnardekar2407@gmail.com"
] | onkarnardekar2407@gmail.com |
ab17b4e65491530711e1ac7da3b286d7ceff278d | a628718fa94c69880227f9f314bc7f0e34772498 | /tests/conftest.py | 8d1e79b159c3623d6a632f182e59da10f1774f2f | [
"MIT"
] | permissive | sralloza/vcm | 59f6a68b8f8d9cd1d5d3b7a38ccb94b9a398ca5b | 9906bc5ad286754a1e71f69f0f7ca43ad1152a6f | refs/heads/master | 2021-07-16T05:49:00.028209 | 2020-09-29T21:14:07 | 2020-09-29T21:14:07 | 208,504,943 | 1 | 0 | MIT | 2020-12-03T08:37:50 | 2019-09-14T21:16:39 | Python | UTF-8 | Python | false | false | 1,929 | py | from functools import lru_cache
import json
import os
from pathlib import Path
from tempfile import gettempdir
import pytest
from ruamel.yaml import YAML
@lru_cache(maxsize=10)
def get_settings_defaults():
path = Path(__file__).parent.with_name("vcm").joinpath("data/defaults.json")
return json.loads(path.rea... | [
"sralloza@gmail.com"
] | sralloza@gmail.com |
7ae7bfe91c297927644cb687947cae8a578266af | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_277/ch32_2020_06_21_15_49_45_408132.py | 21edfdff8dcb30dc2de2d14f5e14b97ff1c93b56 | [] | 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 | 364 | py | def eh_primo(n):
if n==0 or n==1:
return False
elif n==2:
return True
for i in range(3,n,2):
if n%2==0:
return False
elif n%i==0:
return False
return True
lista = []
def lista_primos(n):
while n < len(lista):
if eh_primo(n) == True:
... | [
"you@example.com"
] | you@example.com |
3301cb8f1c57867394d78a4c5425897090bda940 | 8b53afb455e3f24f38f67de1cba3ac50c042d8f9 | /docs/conf.py | b00536fe410b08e8b71a055d5faba8147fa956d3 | [
"Apache-2.0"
] | permissive | ScriptAutomate/salt-extensions-index | 8fadf487a4e72b11b1dd8807edbc2458c96ab1f3 | fb845c637868e792db74d9328cbe8d37e76341bf | refs/heads/main | 2023-08-06T23:47:00.496945 | 2021-03-31T02:11:41 | 2021-03-31T02:11:41 | 353,479,298 | 0 | 0 | Apache-2.0 | 2021-03-31T20:17:13 | 2021-03-31T20:17:13 | null | UTF-8 | Python | false | false | 6,274 | py | # Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If exte... | [
"pedro@algarvio.me"
] | pedro@algarvio.me |
ef29a051fb4ca7889d3b381e3b015727fd451dd1 | 9c5116ab446a0fba4dfaaa1685cbd3a1042dc054 | /kubernetes/client/models/v1_build_status_output.py | 66448e59c7ee046affaa9055e6b9aff950f3ec31 | [
"Apache-2.0"
] | permissive | caruccio/client-python | fc11a354ce15507c94308e35b6790b6776e01e6e | cb65186027ce68beedcd7752c488b8e3b5c0968e | refs/heads/master | 2021-01-25T08:18:45.601502 | 2017-06-08T13:14:06 | 2017-06-08T13:14:06 | 93,747,698 | 0 | 0 | null | 2017-06-08T12:37:32 | 2017-06-08T12:37:32 | null | UTF-8 | Python | false | false | 6,347 | py | # coding: utf-8
"""
OpenShift API (with Kubernetes)
OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is... | [
"mateus.caruccio@getupcloud.com"
] | mateus.caruccio@getupcloud.com |
7a7d934c4e45178efeccdeed98c7d28191e5be96 | 60481fbae9a6337430f36925dd443753c2c9ae3c | /app/celery_worker.py | b08ff9b76559e205380764432b8643bd937af798 | [] | no_license | Amertz08/EECS448-Project | b86711726773b1c0d552632beb968a6a0877c46e | 96eafcc6ef091b5abd336dc4925e25ba177a5616 | refs/heads/master | 2020-12-31T00:00:25.501315 | 2017-05-04T23:20:00 | 2017-05-04T23:20:00 | 86,583,091 | 1 | 0 | null | 2017-05-04T23:20:01 | 2017-03-29T13:05:59 | Python | UTF-8 | Python | false | false | 214 | py | from __future__ import unicode_literals, print_function, division, absolute_import
import os
from create import create_app, celery
app = create_app(os.getenv('APP_CONFIG') or 'default')
app.app_context().push()
| [
"adammertz@gmail.com"
] | adammertz@gmail.com |
f261ba811f40238314055d3c8d89337b86ef8ead | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_310/ch65_2019_03_28_18_42_59_212760.py | 6fbff3456b433e3643e4a810b4b976d47663c57f | [] | 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 | 181 | py | def acha_bigramas(palavra):
bigrama=[]
i=1
while i<len(palavra):
bg= palavra[i-1]+palavra[i]
bigrama.append(bg)
i+=1
return bigrama | [
"you@example.com"
] | you@example.com |
19deb3597609af81143bee9b0dd7a1d9b2678156 | dfe0798a322dca6b90e10743936c500e618ff078 | /Project-Bulldozer-Price-Prediction/env/bin/iptest | 3c7433bc7cca20300e08c5e3c53801b5993437c4 | [] | no_license | SenthilKumar009/Udemy-MLandDS-CompleteMastery | 7d0ff9d2ffa688ba35de5667441eafc443f9792a | ca5e867134ad2bbf03d158d78b34905390ab58b2 | refs/heads/master | 2022-11-21T16:01:51.416001 | 2020-06-16T03:15:48 | 2020-06-16T03:15:48 | 270,206,193 | 1 | 1 | null | 2022-11-16T05:57:51 | 2020-06-07T05:44:20 | Jupyter Notebook | UTF-8 | Python | false | false | 323 | #!/home/skk_thenotorious/Documents/Udemy-MachineLearning/Project-Bulldozer-Price-Prediction/env/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from IPython.testing.iptestcontroller import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main(... | [
"senthilkumark.nitt@gmail.com"
] | senthilkumark.nitt@gmail.com | |
9d4488d46caef3a3c29800d8b54c6287905d5eea | 57c570d1b5a621158d8763f935e2069be6b8c90a | /tykj-operation/tykj-operation/operation/estoreoperation/admin/newapps/models.py | 98232b2060a782910e0f463cf9b810a1b836409a | [] | no_license | liuliainio/liuli | e011decf45f7eca7009a12ad4a96f33a17055945 | 203fbf4f135efb6432c77b937633003ce2f2c9a2 | refs/heads/master | 2021-01-10T20:35:08.070770 | 2018-08-21T05:52:59 | 2018-08-21T05:52:59 | 25,625,853 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,584 | py | from django.utils.translation import ugettext as _
from estorecore.models.constants import APP_SOURCES
from estorecore.models.app import CustomManager
from estoreoperation.utils import string_with_title
from estoreoperation.app.models import Application, AppMaskOff
from estorecore.models.constants import REVIEW_STATUS... | [
"liuliainio@163.com"
] | liuliainio@163.com |
e3d239773e5532c8a6c34fc7c63357612dbd8133 | 5623771414b26c021be54facaaaefbd9314b389d | /Notes2/migrations/versions/3abd77a87867_.py | 545d8f2729c33f872a483ff261d24fe822020b92 | [] | no_license | saxenasamarth/BootCamp_PythonLearning | 36b705b83c7f0e297931bb8d75cb541088690248 | d5b8fe2d6fcfe54c5a7393f218414b1122f3e49e | refs/heads/master | 2023-04-17T15:29:05.402863 | 2019-08-29T08:46:34 | 2019-08-29T08:46:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,315 | py | """empty message
Revision ID: 3abd77a87867
Revises:
Create Date: 2019-07-13 12:47:38.686159
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '3abd77a87867'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto gene... | [
"saxenasamarth@gmail.com"
] | saxenasamarth@gmail.com |
4958ff8d0f0c088900522f7b1ce47fee4e5624cb | 496b5270078183b3ffc3e9a2eda76e95e18061f1 | /revscoring/languages/russian.py | 792e6b17924901458644ca785530e21635213c48 | [
"MIT"
] | permissive | wikimedia/revscoring | 87d0e9e856150b017b87f43e110b2062b4c90f07 | 5a3618e4ce6f93f1e571abf8b3600726d7295138 | refs/heads/master | 2023-08-23T03:48:07.172353 | 2023-01-24T10:58:33 | 2023-01-24T10:58:33 | 23,771,350 | 52 | 34 | MIT | 2023-04-17T06:03:24 | 2014-09-07T21:20:37 | Python | UTF-8 | Python | false | false | 4,142 | py | from .features import Dictionary, RegexMatches, Stemmed, Stopwords
name = "russian"
try:
import enchant
dictionary = enchant.Dict("ru")
except enchant.errors.DictNotFoundError:
raise ImportError("No enchant-compatible dictionary found for 'ru'. " +
"Consider installing 'myspell-ru'.... | [
"aaron.halfaker@gmail.com"
] | aaron.halfaker@gmail.com |
b6f3fe5e4c2a0dcc81ce9fab61d3098cfa52b8d2 | 61ef327bd1d5ff6db7595221db6823c947dab42b | /FlatData/WeekDungeonRewardExcel.py | d3fb1e3c9281ad1164ebe5b48129ebab49fab660 | [] | no_license | Aikenfell/Blue-Archive---Asset-Downloader | 88e419686a80b20b57a10a3033c23c80f86d6bf9 | 92f93ffbdb81a47cef58c61ec82092234eae8eec | refs/heads/main | 2023-09-06T03:56:50.998141 | 2021-11-19T12:41:58 | 2021-11-19T12:41:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,698 | py | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: FlatData
import flatbuffers
from flatbuffers.compat import import_numpy
np = import_numpy()
class WeekDungeonRewardExcel(object):
__slots__ = ['_tab']
@classmethod
def GetRootAs(cls, buf, offset=0):
n = flatbuffers... | [
"rkolbe96@gmail.com"
] | rkolbe96@gmail.com |
a73945917bc46787a944ac651b98c026325db3b6 | cc3a436bdbd82b0f4887ed2e038688abe30dd84e | /mod_1.py | 5de3a91a5964bfcb5cba0295ab24897c4f365ace | [] | no_license | enextus/python_learnstuff | 05673348bc66114fe30670aa11cff58fedade19a | 76b6acdab9dc0d685fd3b1265fd2a3ebe72c6dae | refs/heads/master | 2021-01-07T05:10:33.616407 | 2020-02-19T13:12:55 | 2020-02-19T13:12:55 | 241,564,349 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 852 | py | # from mytest import myname
# print(myname)
# A string, define which mode you want to open the file in:
# "r" - Read - Default value. Opens a file for reading, error if the file does not exist
# "a" - Append - Opens a file for appending, creates the file if it does not exist
# "w" - Write - Opens a file for writing, ... | [
"enextus@gmail.com"
] | enextus@gmail.com |
a159ee1edb88e2af136776a0968e65e96de912d1 | 1bebfd5c2d66b580b2be1ab8a4c1177b1abc4541 | /src/Components/missions/AERONET/aeronet_mcd12c_sampler.py | 7ec6a261f15bc58ac8b37d43ae83341018ea44c2 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | GEOS-ESM/AeroApps | 5752495c608614dd33447d9c7b2d59418412f0e7 | dff1f2ed36189f6879409375d241be40f18c5666 | refs/heads/develop | 2023-08-16T20:02:00.436945 | 2023-08-10T21:15:39 | 2023-08-10T21:15:39 | 249,462,106 | 4 | 0 | Apache-2.0 | 2023-09-14T20:15:24 | 2020-03-23T15:01:06 | Fortran | UTF-8 | Python | false | false | 1,112 | py | #!/usr/bin/env python3
"""
Wrapper to call mcd12c_stn_sampler.py
"""
import os
import argparse
#------------------------------------ M A I N ------------------------------------
if __name__ == "__main__":
# Defaults
DT_hours = 1
parser = argparse.ArgumentParser()
parser.add_argument("iso_t1",
... | [
"patricia.castellanos@nasa.gov"
] | patricia.castellanos@nasa.gov |
fa6dcdcf5f5e4f46438a1cf314e79b0e16732d8c | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/3/hmf.py | 279178f19d7989dfc224f0d63464aebe09601de5 | [] | no_license | G4te-Keep3r/HowdyHackers | 46bfad63eafe5ac515da363e1c75fa6f4b9bca32 | fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2 | refs/heads/master | 2020-08-01T12:08:10.782018 | 2016-11-13T20:45:50 | 2016-11-13T20:45:50 | 73,624,224 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 486 | py | import sys
def printFunction(lineRemaining):
if lineRemaining[0] == '"' and lineRemaining[-1] == '"':
if len(lineRemaining) > 2:
#data to print
lineRemaining = lineRemaining[1:-1]
print ' '.join(lineRemaining)
else:
print
def main(fileName):
with open(fileName) as f:
for line in f:
... | [
"juliettaylorswift@gmail.com"
] | juliettaylorswift@gmail.com |
33dc9e10d17ecfeb076aba185cdfd35f6ba56927 | 0fccee4c738449f5e0a8f52ea5acabf51db0e910 | /genfragments/EightTeV/ADD/ADDmonoPhoton_MD_3_d_3_8TeV_pythia8_cfi.py | 4108663c9fc44e18f56c215a10d4eb3baeed518c | [] | no_license | cms-sw/genproductions | f308ffaf3586c19b29853db40e6d662e937940ff | dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4 | refs/heads/master | 2023-08-30T17:26:02.581596 | 2023-08-29T14:53:43 | 2023-08-29T14:53:43 | 11,424,867 | 69 | 987 | null | 2023-09-14T12:41:28 | 2013-07-15T14:18:33 | Python | UTF-8 | Python | false | false | 1,376 | py | import FWCore.ParameterSet.Config as cms
from Configuration.Generator.PythiaUEZ2Settings_cfi import *
generator = cms.EDFilter("Pythia8GeneratorFilter",
maxEventsToPrint = cms.untracked.int32(1),
pythiaPylistVerbosity = cms.untracked.int32(1),
... | [
"sha1-45889d0b422ced4b08fb223eae59c585c331ccec@cern.ch"
] | sha1-45889d0b422ced4b08fb223eae59c585c331ccec@cern.ch |
081d1f30548acc0667b4fe9b533f0528364234af | a954978ac3ad131b1d61e9be17dc0b7d28f70a3a | /backend/manage.py | f480012ace26297c68928f8d9e7b5feef4a930ae | [] | no_license | crowdbotics-apps/virotest-15177 | 7692aef119e4b405a7b72a70ee9a5c9a1feb300f | 68de5b5c95c2426297673a316b25561785b8116c | refs/heads/master | 2023-01-29T16:46:29.179745 | 2020-03-29T11:32:12 | 2020-03-29T11:32:12 | 251,016,438 | 0 | 0 | null | 2023-01-24T01:48:16 | 2020-03-29T11:31:27 | JavaScript | UTF-8 | Python | false | false | 634 | 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', 'virotest_15177.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
7b9e664861499f771eba4a33f0104c7beb6fb8a1 | 4d33432d2864fbdd78e69da90f4fb11db41f65ab | /tests/test_config.py | 47bd1db51bdded81cf3029b740e903e2f5f6c1ca | [
"MIT"
] | permissive | wandyme/msl-equipment | fe12a6b4156cd7e269696647d93c207769206a9d | 84ece06461013bc6cc29e80afeea8248dea84a61 | refs/heads/master | 2023-03-21T16:49:25.903056 | 2021-03-11T23:58:41 | 2021-03-11T23:58:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,037 | py | import os
import pytest
from msl.equipment.config import Config
ROOT_DIR = os.path.join(os.path.dirname(__file__), 'db_files')
def teardown_module():
import cleanup_os_environ
cleanup_os_environ.cleanup()
def test_config_io_errors():
# xml file does not exist
with pytest.raises(IOError):
... | [
"joe.borbely@gmail.com"
] | joe.borbely@gmail.com |
5a7186a6380cba91d6cd74441dff208334db9122 | 0ebe8fa12b5c277cfedddc92dcd988a5fb58b727 | /kenwin/scripts/initialize_db.py | 5cf00fa1fc155489e83a5f4e163c708805eecd19 | [
"MIT"
] | permissive | aleducode/pyramid-simple-user-login | 3a4606035df9b7490c3b0ceab81ef3ef5507c0d8 | ef1d2d1ca7c1ec7edcd3f2b7f196926dba45f1db | refs/heads/master | 2020-12-21T13:21:48.535029 | 2020-01-27T15:11:40 | 2020-01-27T15:11:40 | 236,443,080 | 0 | 0 | MIT | 2020-01-27T15:11:41 | 2020-01-27T07:59:41 | Python | UTF-8 | Python | false | false | 1,497 | py | import argparse
import sys
from pyramid.paster import bootstrap, setup_logging
from sqlalchemy.exc import OperationalError
from .. import models
def setup_models(dbsession):
editor = models.User(name='editor', role='editor')
editor.set_password('editor')
dbsession.add(editor)
basic = models.User(na... | [
"ducode@outlook.com"
] | ducode@outlook.com |
c11848f794b419e320673d2e8815faf422a16311 | 276e60f69b51de7c50a333ce12212c823aeef71a | /char-lm-ud-stationary-wordVectors-pool.py | 924803e690497c6495795fd2f950ec20c112da10 | [] | no_license | m-hahn/probing-char-lms | e6ea3b00f82326140e28656290447d6c998278d6 | 5ab45883cefb1f69788e441b60d56d886833b3e4 | refs/heads/master | 2020-03-21T20:50:58.949446 | 2019-04-29T03:06:26 | 2019-04-29T03:06:26 | 139,032,281 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,628 | py | from paths import WIKIPEDIA_HOME
from paths import CHAR_VOCAB_HOME
from paths import MODELS_HOME
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("--language", dest="language", type=str)
parser.add_argument("--load-from", dest="load_from", type=str)
#parser.add_argument("--load-from-baseline", de... | [
"mhahn29@gmail.com"
] | mhahn29@gmail.com |
88478a870d5aba4ed1192817a60502867a9facfe | a9868b17ddc5f7f28911c57870e327238a2432d8 | /python_Pandas_Numpy/Pandas/HW_Pandas09_PracticeCHK08_최윤종.py | 506dc892370aab2ead66eea2195fd9a78282dfbc | [] | no_license | ChoiYoonJong/DataScience | 439568a668307ed0cab0cffb688fd832b10047ab | 3cab98eacecd8c1782e6f91b2b7ffa0ecefe4ed1 | refs/heads/main | 2023-06-07T02:56:08.335411 | 2021-07-09T13:23:58 | 2021-07-09T13:23:58 | 378,833,127 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,698 | py |
# coding: utf-8
# In[1]:
import pandas as pd
import numpy as np
deptDB = pd.read_csv('../data/deptDB.csv', header = None)
sawonDB=pd.read_csv('../data/sawonDB.csv', header = None)
geogekDB=pd.read_csv('../data/gogekDB.csv', header = None)
deptDB.columns =['deptno','dname','loc']
sawonDB.columns=['sabun','saname'... | [
"noreply@github.com"
] | ChoiYoonJong.noreply@github.com |
75c1a7071e97c6e31b276a5bec9068905528bf69 | de5eafa17b8c1e3a8aedb2848e03282eae775334 | /PS_GET_TOOLS/make_TFcalib_INC_PS.py | 4cba064583ce0789bd2273cb3a76b804d6551942 | [] | no_license | ekourkchi/HI | cba6601fbbb96231d457cc6a0a379c2fdb7a3e4d | 796ff5b9826d9d64e2a761e3ef587411df8edd80 | refs/heads/master | 2020-05-25T19:21:05.663026 | 2020-03-14T04:08:47 | 2020-03-14T04:08:47 | 187,949,260 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,490 | py | #!/usr/bin/python
import sys
import os
import subprocess
import math
import matplotlib.pyplot as plt
import numpy as np
import pylab as py
from astropy.table import Table, Column
##################################################
inFile = '../augment/EDD_distance_cf4_v11.csv'
table = np.genfromtxt(inFile , del... | [
"ekourkchi@gmail.com"
] | ekourkchi@gmail.com |
899ae472c6ae6eb4241071f61e23f673f2996fc2 | 9cc68ca08f6343f093c3f30181eca09c49f5a84a | /test1.py | ff6043af30cef9cb54a0da29b7e43561c498a71c | [] | no_license | SSITB/Employee_Face_Attendance | dd1f0f6db6035c7db3e8826f5d8b3d732a65228c | 84e2666d764c1dc17b5bd7e5983924b4210e1315 | refs/heads/master | 2022-04-28T03:02:46.350690 | 2020-04-26T05:55:02 | 2020-04-26T05:55:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,154 | py | from tkinter.ttk import Progressbar
import tkinter
class Example(tkinter.Frame):
def __init__(self, parent):
tkinter.Frame.__init__(self, parent)
self.parent = parent
self.initUI()
def initUI(self):
value_progress =50
self.parent.title("Progressbar Thingymawhatsit")
... | [
"kushalbhavsar58@gmail.com"
] | kushalbhavsar58@gmail.com |
7d6088c5b27834e9b49c1c7b3c9d3aa5da6b5830 | f1961c86e6da14f35c21d7235f4fc8a89fabdcad | /DailyProgrammer/DP20130510C.py | e53ef03af285987a03c9f6dbdc5b5664a44873f5 | [
"MIT"
] | permissive | DayGitH/Python-Challenges | d4930bdd85cd1a977d8f6192775ca956a375fcde | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | refs/heads/master | 2021-01-17T13:01:03.784523 | 2018-06-29T23:49:04 | 2018-06-29T23:49:04 | 58,497,683 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,377 | py | """
[05/10/13] Challenge #123 [Hard] Robot Jousting
https://www.reddit.com/r/dailyprogrammer/comments/1ej32w/051013_challenge_123_hard_robot_jousting/
# [](#HardIcon) *(Hard)*: Robot Jousting
You are an expert in the new and exciting field of *Robot Jousting*! Yes, you read that right: robots that charge one
another ... | [
"akber91@gmail.com"
] | akber91@gmail.com |
11133cfe946dea18f8d52da3d7124e0a75116a68 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02845/s168729050.py | 360201763d73f5a0ecd3bdb8cdea04d7c3d0ec2f | [] | 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 | 516 | py | import sys
from collections import Counter as cc
def input(): return sys.stdin.readline().rstrip()
def ii(): return int(input())
def mi(): return map(int, input().split())
def li(): return list(mi())
def main():
mod = 10**9 + 7
n = ii()
a = li()
t = [0]*(n)
ans = 1
for i in range(n):
i... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
4ea5e6b2a89b8201a9cfd8f00f955274a8739b0f | f4aa1885d4121e131c2a580183c6312aeefa8147 | /ch05/myproject_virtualenv/src/django-myproject/myproject/apps/news/urls.py | f824e495f9052b9e67198197230bb64ee331e2ed | [
"MIT"
] | permissive | PacktPublishing/Django-3-Web-Development-Cookbook-Fourth-Edition | 8f09d1ea9b13e8a66fc489fc09c9a5ee8f9968cf | 9371e0ea6f4dc61567bf28299cf57146519e274c | refs/heads/master | 2023-02-20T02:36:51.226985 | 2023-01-30T08:39:30 | 2023-01-30T08:39:30 | 201,903,680 | 189 | 117 | MIT | 2023-02-10T22:45:42 | 2019-08-12T09:54:54 | Python | UTF-8 | Python | false | false | 228 | py | from django.urls import path
from .views import ArticleList, ArticleDetail
urlpatterns = [
path("", ArticleList.as_view(), name="article_list"),
path("<slug:slug>/", ArticleDetail.as_view(), name="article_detail"),
]
| [
"aidasbend@yahoo.com"
] | aidasbend@yahoo.com |
7fa724f27ea7b2b8f5e6af14bb9670c8e52d9e0c | 2ef5b78a1a750ee33d86f36bba176796163e3933 | /demo21/config/emailConf.py | 3811b7ce0b7b61cbed7e9a9928e4a8e3d39df819 | [] | no_license | LIZEJU/flask-demo | 08f8419757dc4902239b89b3df9ea71ce918ad26 | 6ae201e3cc078b7a3fd18fb6d114b0b83f1b4b41 | refs/heads/master | 2020-09-27T05:58:09.742198 | 2020-01-30T11:04:41 | 2020-01-30T11:04:41 | 226,445,858 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,030 | py | import socket
import TickerConfig
from email.header import Header
from email.mime.text import MIMEText
import smtplib
def sendEmail(msg,receiver):
"""
邮件通知
:param str: email content
:return:
"""
# ret = True
try:
if TickerConfig.EMAIL_CONF["IS_MAIL"]:
sender = TickerCo... | [
"m18611694189@163.com"
] | m18611694189@163.com |
4074844bc13fe7aeaad63e6a292a38b6e33bd261 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03104/s246943630.py | 6d81ad62cf0c3aaf2913d4e951c5348d9cd0f761 | [] | 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 | 451 | py | def f(A, B):
assert A <= B
if A % 2 == 0 and B % 2 == 1:
return ((B - A + 1) // 2) % 2
if A % 2 == 0 and B % 2 == 0:
return (((B - A) // 2) % 2) ^ B
if A % 2 == 1 and B % 2 == 1:
return A ^ (((B - A) // 2) % 2)
if A % 2 == 1 and B % 2 == 0:
return A ^ (((B - A - 1) //... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
cac86d53e061bfc45802a77bffae631b7733b40d | 7e8bce5b3a6bb53d9c42f785302b8de2f214fb2a | /app/queries.py | 55e488eb84eb655324b62b006b8eed2537c68a65 | [] | no_license | EdmundMartin/premium_lucky | 30ee3e25fad0bb8704836712d9e8af8bae7edc6d | b7a6592fab7a9f98d5df282e938a5bcf3aae6a33 | refs/heads/master | 2020-04-17T15:15:02.310314 | 2019-01-21T19:53:26 | 2019-01-21T19:53:26 | 166,691,127 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 368 | py |
BIGGEST_WINNERS = """SELECT bond, sum(prize), count(bond) from winning_bonds
group by bond
order by 2 desc
limit(100);"""
MOST_TIMES_WON = """SELECT bond, sum(prize), count(bond) from winning_bonds
group by bond
order... | [
"edmartin101@googlemail.com"
] | edmartin101@googlemail.com |
ae6e1f30a18f9958f22a4ee0ef9caf84c5ddf5d2 | 74983098c5de53007bde6052a631845c781b5ba8 | /forrester/forrester24/forrester.py | 7a4f4dad4d16a0e0a227551b2e8a53b8e72c945e | [] | no_license | numairmansur/Experiments | 94ccdd60f4c2cf538fab41556ac72405656c9d77 | 592f39916461c7a9f7d400fa26f849043d1377ed | refs/heads/master | 2021-04-29T12:39:16.845074 | 2017-02-15T07:36:47 | 2017-02-15T07:36:47 | 78,043,284 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 691 | py | import numpy as np
import sys
import math
import time
import csv
from hpolib.benchmarks.synthetic_functions import Forrester
from time import gmtime, strftime
def main(job_id, params):
print '!!! Entered Main !!!'
print 'Anything printed here will end up in the output directory for job #:', str(job_id)
print par... | [
"numair.mansur@gmail.com"
] | numair.mansur@gmail.com |
6f9b11120247c9a2026985c433c7f4aecfc9dacd | 03fef621b7f904bcbb717c6eef942a5e1e077b75 | /scrapers/PEM/councillors.py | 980cd7847ed3167453800bf265615ec0a8815de9 | [
"MIT"
] | permissive | chris48s/LGSF | e2b387f0e8d694d13fc8c777bac3aaec1fdea114 | f5b8a5037b0237f811405c5df0aa20fa1c1624e6 | refs/heads/master | 2020-04-01T10:28:31.370990 | 2018-10-15T13:18:54 | 2018-10-15T13:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 159 | py | from lgsf.scrapers.councillors import ModGovCouncillorScraper
class Scraper(ModGovCouncillorScraper):
base_url = "http://mgenglish.pembrokeshire.gov.uk"
| [
"sym.roe@talusdesign.co.uk"
] | sym.roe@talusdesign.co.uk |
f11ddadcffc970a69d70d0e9199aef40c6c735cf | a46d135ba8fd7bd40f0b7d7a96c72be446025719 | /packages/python/plotly/plotly/validators/scatterternary/hoverlabel/font/_size.py | 609907e9c2f0c3c227cfb45e8328775a7d5832c6 | [
"MIT"
] | permissive | hugovk/plotly.py | 5e763fe96f225d964c4fcd1dea79dbefa50b4692 | cfad7862594b35965c0e000813bd7805e8494a5b | refs/heads/master | 2022-05-10T12:17:38.797994 | 2021-12-21T03:49:19 | 2021-12-21T03:49:19 | 234,146,634 | 0 | 0 | MIT | 2020-01-15T18:33:43 | 2020-01-15T18:33:41 | null | UTF-8 | Python | false | false | 513 | py | import _plotly_utils.basevalidators
class SizeValidator(_plotly_utils.basevalidators.NumberValidator):
def __init__(
self, plotly_name="size", parent_name="scatterternary.hoverlabel.font", **kwargs
):
super(SizeValidator, self).__init__(
plotly_name=plotly_name,
parent_... | [
"noreply@github.com"
] | hugovk.noreply@github.com |
2919912e24b502a574b368854b0582c550708b6a | 64ab5b65afdf8d950c4b56ad2259133b95fc2fec | /zeus/migrations/8bff5351578a_urls.py | 560a4897cb2d24445c827e6f009c7c30e11207a1 | [
"Apache-2.0"
] | permissive | getsentry/zeus | 3e88895443b23278fdb4c25121422ee214630512 | 6d4a490c19ebe406b551641a022ca08f26c21fcb | refs/heads/master | 2023-09-01T14:20:11.396306 | 2021-04-30T17:08:33 | 2021-04-30T17:08:33 | 96,131,433 | 222 | 27 | Apache-2.0 | 2022-06-01T03:17:16 | 2017-07-03T16:39:35 | Python | UTF-8 | Python | false | false | 731 | py | """urls
Revision ID: 8bff5351578a
Revises: 1fd74fb6ef0a
Create Date: 2017-07-25 11:27:45.436698
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "8bff5351578a"
down_revision = "1fd74fb6ef0a"
branch_labels = ()
depends_on = None
def upgrade():
# ### commands... | [
"dcramer@gmail.com"
] | dcramer@gmail.com |
5c1fac12b60d0393e84fa3b2ee9c6fbd3b6fabbd | 9bb01fa882e713aa59345051fec07f4e3d3478b0 | /cysparse/sparse/sparse_utils/generic/matrix_translations_INT64_t_INT32_t.pxd | cb122a431de3576982c543cc7d205e789074722a | [] | no_license | syarra/cysparse | f1169c496b54d61761fdecbde716328fd0fb131b | 7654f7267ab139d0564d3aa3b21c75b364bcfe72 | refs/heads/master | 2020-05-25T16:15:38.160443 | 2017-03-14T21:17:39 | 2017-03-14T21:17:39 | 84,944,993 | 0 | 0 | null | 2017-03-14T12:11:48 | 2017-03-14T12:11:48 | null | UTF-8 | Python | false | false | 1,322 | pxd | #!python
#cython: boundscheck=False, wraparound=False, initializedcheck=False
"""
Diverse utilities to translate one matrix format into another.
"""
from cysparse.common_types.cysparse_types cimport *
cdef csr_to_csc_kernel_INT64_t_INT32_t(INT64_t nrow, INT64_t ncol, INT64_t nnz,
... | [
"sylvain.arreckx@gmail.com"
] | sylvain.arreckx@gmail.com |
aa002143c69ead65284242c06b4f68c40cfcf833 | 98c6ea9c884152e8340605a706efefbea6170be5 | /examples/data/Assignment_1/abbazh001/question1.py | 6b99f8a72f288b7b2601e7fc2562e782f1163763 | [] | 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 | 347 | py | # Name: Azhar Aboobaker
# Student Number: ABBAZH001
# Date: 28 February 2014
print(" ____ ____ ___ ____ _____ _ _ _ _ _ ")
print(" / ___/ ___|_ _/ ___|| ___| | | | \ | | |")
print("| | \___ \| |\___ \| |_ | | | | \| | |")
print("| |___ ___) | | ___) | _| | |_| | |\ |_|")
print(" \____|____/___|___... | [
"jarr2000@gmail.com"
] | jarr2000@gmail.com |
29628be24242689cdb05ee24d36efb2b94b6a5af | e1e5ffef1eeadd886651c7eaa814f7da1d2ade0a | /Systest/tests/DoCoMo_8_1_1.py | 34e3398040712f672c1a451292f0873290a66d09 | [] | no_license | muttu2244/MyPython | 1ddf1958e5a3514f9605d1f83c0930b24b856391 | 984ca763feae49a44c271342dbc15fde935174cf | refs/heads/master | 2021-06-09T02:21:09.801103 | 2017-10-10T07:30:04 | 2017-10-10T07:30:04 | 13,803,605 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,668 | py | #!/usr/bin/env python2.5
"""
#######################################################################
#
# Copyright (c) Stoke, Inc.
# All Rights Reserved.
#
# This code is confidential and proprietary to Stoke, Inc. and may only
# be used under a license from Stoke.
#
####################################################... | [
"muttu2244@yahoo.com"
] | muttu2244@yahoo.com |
e92c29c967159e421fbdd6249f8239c9514bf6bf | a94a6841d844ecdc8297cd01bedfe7e2143573be | /tuffy.py | 99dc5951f0a3792083d4bcc253b4004d315cc047 | [] | no_license | tushancse04/MLCNN | 7c6adf38cef47c5edfae594b1008a80ff2f834b7 | 91efdf605d5d7de739288ccce948ac9bb5aa8cc5 | refs/heads/master | 2023-05-26T09:56:09.191878 | 2021-06-11T05:20:10 | 2021-06-11T05:20:10 | 312,120,133 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,073 | py | from subprocess import call
import time
from DBManager import dbconfig
import os.path
class tuffy(dbconfig):
def __init__(self,dsname):
dbconfig.__init__(self,dsname)
self.run_tuffy()
def run_tuffy(self):
ifile = open('time.txt','a')
for i in [0,1]:
for t in self.dbtypes:
start_time = time.time()
... | [
"tushancse@gmail.com"
] | tushancse@gmail.com |
32836bd79b2d392770b479fcfd6353b952a4cf73 | d57b51ec207002e333b8655a8f5832ed143aa28c | /.history/l3/dz/bot_20200620182628.py | 6ef1f5fc3167156e5401f109f3903824bebab082 | [] | no_license | yevheniir/python_course_2020 | b42766c4278a08b8b79fec77e036a1b987accf51 | a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b | refs/heads/master | 2022-11-15T07:13:24.193173 | 2020-07-11T15:43:26 | 2020-07-11T15:43:26 | 278,890,802 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,010 | py | import discord, random
a_count = 0
b_count = 0
TOKEN = 'NzIyMzUwOTI3MDEyNDI5ODI0.XuiVXg.p-fvgaK6mrctNxczYDctoRwCD0U'
client = discord.Client()
@client.event
async def on_message(message):
# we do not want the bot to reply to itself
if message.author == client.user:
return
c = ['камінь', 'ножиці... | [
"yevheniira@intelink-ua.com"
] | yevheniira@intelink-ua.com |
d2934f2ddec6ce31585ff01be1ee590455efe7ba | 61b44912cce1eb57c9630f7f55a33fec59d62cf5 | /gm | 0d371e955dfece59f5ba9b645d9b61d0ae39a9d1 | [] | no_license | kaleidos/greenmine-cmd | 6a704e48c34f69f0e88068f4acd690d81612bb39 | fbb629860acc93b578b61b56ed34e175453cc41f | refs/heads/master | 2020-05-17T15:34:37.756443 | 2013-03-29T12:24:43 | 2013-03-29T12:24:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,068 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from cmd import Cmd
import sys
import getpass
import pprint
from gmclient import GMClient
class GMCmd(Cmd):
prompt = "> "
host = ""
gmclient = GMClient()
current_project = None
current_milestone = None
def do_EOF(self, params):
''' Exit ''... | [
"jesus.espino@kaleidos.net"
] | jesus.espino@kaleidos.net | |
2a41969a2c8280c81c5e652d6d3826ff0ad3c0f0 | e0d9844e123fa0706388814b9f29758258589487 | /torch/quantization/fuse_modules.py | 1399014f99cb7205b68cb2ffa35000634c893ede | [] | no_license | pigpigman8686/seg | b5cf5261a5744e89ed5e5b145f60b0ccc3ba2c0c | 61c3816f7ba76243a872fe5c5fc0dede17026987 | refs/heads/master | 2023-04-10T22:22:35.035542 | 2021-04-22T06:24:36 | 2021-04-22T06:24:36 | 360,398,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,855 | py |
import copy
import torch.nn as nn
from .fuser_method_mappings import get_fuser_method
# for backward compatiblity
from .fuser_method_mappings import fuse_conv_bn # noqa: F401
from .fuser_method_mappings import fuse_conv_bn_relu # noqa: F40
from typing import List, Optional
# Generalization of getattr... | [
"952361195@qq.com"
] | 952361195@qq.com |
a8a19626f3e127225acbb3bf1dd46291c3be4838 | 098f80474295aa024657330b8f0813eca7d015c2 | /UnrealPythonLibrary/PythonLibraries/WorldFunctions.py | 946bbe70d2721c9ba8f3b149dc444e238f4e6fae | [] | no_license | sniler/UnrealScript | e4c4387caa6402a61b4bf0ba8952faf598e4464e | a4587d578366551b2470862f18b33c42439c5cdd | refs/heads/master | 2023-04-01T18:45:37.803690 | 2021-04-13T11:25:13 | 2021-04-13T11:25:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,711 | py | # unreal.EditorLevelLibrary
# https://api.unrealengine.com/INT/PythonAPI/class/EditorLevelLibrary.html
# unreal.GameplayStatics
# https://api.unrealengine.com/INT/PythonAPI/class/GameplayStatics.html
# unreal.Actor
# https://api.unrealengine.com/INT/PythonAPI/class/Actor.html
import unreal
import PythonHelpers... | [
"timmyliang@tencent.com"
] | timmyliang@tencent.com |
0b06dd21fd544a23533a5cccd117bffbba8898f2 | 7a013424c82b71bc82aa312e0165a1af4170ac23 | /ABC/ABC136/ABC136A.py | bfe4ccd8a0175c7904b407e0ac693fd4e7a73494 | [] | no_license | kikugawa-shoma/Atcoder | fe3405e36dd3e4e25127b6110d6009db507e7095 | 7299116b7beb84815fe34d41f640a2ad1e74ba29 | refs/heads/master | 2020-12-21T19:10:12.471507 | 2020-10-10T16:38:18 | 2020-10-10T16:38:18 | 236,531,207 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 65 | py | A, B, C = map(int, input().split())
print(max((C - (A - B)), 0))
| [
"kikugawa-s@sys.i.kyoto-u.ac.jp"
] | kikugawa-s@sys.i.kyoto-u.ac.jp |
a11c782319b58137b8ba95ebcddd6caf309dac93 | 10e1c07d665f9304d5ffd7033c64a164ea2a3ad9 | /Django_Backend/Farm/migrations/0003_auto_20181027_2221.py | 4f23fb988562ae063277e063465c05a4fd7f8f3b | [] | no_license | garvitkataria/AI_Hackathon_Server_Code | fba56605b25f4698110ebf92aa21809ebdcec462 | 1feee4122615bf0d1384889625a62db84c9ddb8b | refs/heads/master | 2023-01-11T11:26:00.619674 | 2019-09-29T06:09:07 | 2019-09-29T06:09:07 | 207,013,287 | 0 | 0 | null | 2022-12-31T03:04:05 | 2019-09-07T19:00:28 | Python | UTF-8 | Python | false | false | 363 | py | # Generated by Django 2.1.2 on 2018-10-27 22:21
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('Farm', '0002_auto_20181027_2006'),
]
operations = [
migrations.RenameField(
model_name='farm',
old_name='location',
... | [
"garvit.k16@iiits.in"
] | garvit.k16@iiits.in |
70b72af307585fafa74d98586457dbed44b6a2af | a9b322a0d941825df73a71ad3de605978c9e778d | /venv/bin/tkconch | a7e91a585f454ddd2d3dc3186ad88ce8bc8014ff | [] | no_license | Elianehbmna/chaty-final | 172562d9d7399dc9230cc434d3c29be66a70f094 | 0b459168414da09566ea5b079a922dc1fa8694d0 | refs/heads/master | 2022-12-15T15:03:31.584467 | 2019-12-05T15:29:26 | 2019-12-05T15:29:26 | 223,245,043 | 0 | 0 | null | 2022-12-08T06:55:21 | 2019-11-21T19:07:55 | Python | UTF-8 | Python | false | false | 254 | #!/home/wecode/Documents/chat/venv/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from twisted.conch.scripts.tkconch import run
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(run())
| [
"elianehabimana3@gmail.com"
] | elianehabimana3@gmail.com | |
84302960fdfff89455371e2226bf1107dfd44701 | 8484c9492450c057f298cb99b5c4e98dfe3415b5 | /Others/Demo_Bar_Chart.py | 89acdee399a4bbb62c22e64938c28508af1aa1af | [] | no_license | superstones/3Dmodel-information-hiding-Experiments | da37bedf37a2ccbfa3c4ff73df1261ea9fcfe808 | 22c58b5574b663dd9ad798d2ffed7c7a3353bf48 | refs/heads/master | 2023-05-03T09:21:13.963079 | 2021-05-24T14:09:18 | 2021-05-24T14:09:18 | 370,367,066 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,095 | py | # encoding: utf-8
"""
Author: 沙振宇
CreateTime: 2019-4-29
UpdateTime: 2019-12-12
Info: matplotlib 使用示例 —— 柱形图
"""
import numpy as np
import matplotlib.pyplot as plt
#柱状图
A1 = [0.88,0.81,0.85]
A2 = [0.89,0.86,0.84]
A3 = [0.88,0.83,0.89]
A4 = [0.86,0.86,0.88]
A5 = [0.90,0.83,0.83]
x = np.arange(3) #总共有几组,就设置成几,我们这里有三组,所以设置... | [
"292454993@qq.com"
] | 292454993@qq.com |
ffbd1bdaf45c458ec7dd313466fb5296bc81f296 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02818/s554507434.py | 5f864dffe0d0474a775948d80f8627819e071988 | [] | 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 | 207 | py | A,B,K = map(int,input().split())
if A+B<=K:
print("0 0")
else:
if A>=K:
print("{} {}".format(A-K,B))
else :
B = B-(K-A)
A = 0
print("{} {}".format(A,B)) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
da112a6fe91edaf9d743d1b52b99a4c8efbef143 | ded10c2f2f5f91c44ec950237a59225e8486abd8 | /.history/2/matrix_squaring_20200420140823.py | b094a0f0ba3d2fe52c5006ff57c69ecc4a79b1df | [] | no_license | jearistiz/Statistical-Physics-Projects | 276a86407b32ded4e06b32efb2fadbd8eff8daed | d9c5b16a50856e148dc8604d92b6de3ea21fc552 | refs/heads/master | 2022-11-05T03:41:23.623050 | 2020-06-28T06:36:05 | 2020-06-28T06:36:05 | 254,909,897 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,553 | py | # -*- coding: utf-8 -*-
from __future__ import division
import os
import numpy as np
import matplotlib.pyplot as plt
from time import time
import pandas as pd
# Author: Juan Esteban Aristizabal-Zuluaga
# date: 20200414
def rho_free(x,xp,beta):
"""Uso: devuelve elemento de matriz dsnsidad para el caso de una part... | [
"jeaz.git@gmail.com"
] | jeaz.git@gmail.com |
7499470c886339f3cef34aa74bbaa35ad1405156 | 3546dd5dbcffc8509440c820faa7cf28080c5df7 | /python35/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py | 2e5218058018d6f6a8bb61d11ed3630a1be00ad6 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"LGPL-2.1-only"
] | permissive | Matchoc/python_env | 55ad609c8270cc6148eda22d37f36709d73b3652 | 859d84d1717a265a4085ad29706b12c19c62d36f | refs/heads/master | 2022-02-13T11:05:51.825544 | 2020-06-05T02:42:08 | 2020-06-05T02:42:08 | 75,793,921 | 0 | 1 | Apache-2.0 | 2018-12-14T07:30:28 | 2016-12-07T03:06:13 | Python | UTF-8 | Python | false | false | 3,714 | py | """A demo of using win32net.NetValidatePasswordPolicy.
Example usage:
% NetValidatePasswordPolicy.py --password=foo change
which might return:
> Result of 'change' validation is 0: The operation completed successfully.
or depending on the policy:
> Result of 'change' validation is 2245: The password doe... | [
"matchoc@hotmail.com"
] | matchoc@hotmail.com |
a7dd849330c78013790c1fb053abfd8de4da39f4 | 487ce91881032c1de16e35ed8bc187d6034205f7 | /codes/CodeJamCrawler/16_0_2_neat/16_0_2_Darren_run_it.py | 8739f6b379bb534f1b0dfff1ba4f1000a3a15d19 | [] | no_license | DaHuO/Supergraph | 9cd26d8c5a081803015d93cf5f2674009e92ef7e | c88059dc66297af577ad2b8afa4e0ac0ad622915 | refs/heads/master | 2021-06-14T16:07:52.405091 | 2016-08-21T13:39:13 | 2016-08-21T13:39:13 | 49,829,508 | 2 | 0 | null | 2021-03-19T21:55:46 | 2016-01-17T18:23:00 | Python | UTF-8 | Python | false | false | 2,006 | py | #!/usr/bin/env python
import collections
def read_input():
input = []
total = -1
with open('./input.txt') as f:
input = f.readlines()
total = int(input.pop(0))
return (total, input)
def write_results(data):
write_out = open('./output.txt', 'w')
counter = 0
for index, val... | [
"[dhuo@tcd.ie]"
] | [dhuo@tcd.ie] |
2b89065fa702747bd67d1f7d9531e355c66cb62b | 717c5124b9237ca29a996206b8ed305ef6eadc89 | /src/oci/_vendor/chardet/version.py | b15b8061581788d3c362794710acafe3fed0a305 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"UPL-1.0"
] | permissive | ntzhong/oci-python-sdk | e36077be3edb1ca91ce0fe83a148d5fbe9da18ec | 438b7a47784723bebb4d9dd8fb5baccf503d330d | refs/heads/master | 2020-04-10T01:30:23.337185 | 2018-11-29T22:49:56 | 2018-11-29T22:49:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 459 | py | # coding: utf-8
# Modified Work: Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved.
# Original Work: Copyright (c) 2018 Character Encoding Detector contributors. https://github.com/chardet
"""
This module exists only to simplify retrieving the version number of chardet
from within setup.py a... | [
"mike.c.ross@oracle.com"
] | mike.c.ross@oracle.com |
c905033a1b68fe496caad73dbf5a1bb9cba1f3d4 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03504/s669486188.py | a16eaffc09ba8db361f035c26bc2511260ce01b3 | [] | 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 | 380 | py | n, c = map(int, input().split())
MAX_COLS = 10**5
table = [[0 for _ in range(MAX_COLS)] for _ in range(c)]
for _ in range(n):
s, t, i = list(map(int, input().split()))
for j in range(max(0, s - 2), t - 1):
table[i - 1][j] = 1
res = 0
for j in range(MAX_COLS):
count = 0
for i in range(c):
... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
a949f6c87258f97ba21d8aee6773e07b804d1a5e | f090c3e0faa70cf0ef7c4be99cb894630bce2842 | /clients/dcelectrodempx.py | ffb4e1e98ba0907d2604aff6660e7167a9ec9327 | [] | no_license | HaeffnerLab/resonator | 157d1dc455209da9b7de077157bda53b4883c8b7 | 7c2e377fdc45f6c1ad205f8bbc2e6607eb3fdc71 | refs/heads/master | 2021-01-09T20:48:03.587634 | 2016-09-22T18:40:17 | 2016-09-22T18:40:17 | 6,715,345 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 999 | py | import labrad
import time
cxn_dmm = labrad.connect("192.168.169.30") #Connect to Camera computer, which includes Keithley digital multimeter (dmm)
dmmServer = cxn_dmm.keithley_2110_dmm() #connect to Keithley server, known as dmmServer
cxn_pulser = labrad.connect() #Connect to labrad manager on this computer
pulserSer... | [
"soenkeamoeller@gmail.com"
] | soenkeamoeller@gmail.com |
4e8e88c6b171e612b6732b53e36e3ab7ccc85d7e | 20d24d085b065cf368241c0148bffc6e53205c55 | /FC_Study/blackjack_16_10_12.py | b8956044ac102d4de7b5bd85ef65834962a5f913 | [] | no_license | hgkimer/FastCampus_WPS | bd9d951a03273753a542680b0981479f202d0330 | b2d1806838306a6360ac8d7c30cf994d68cb7e6a | refs/heads/master | 2020-10-01T19:34:32.902303 | 2017-09-17T03:18:22 | 2017-09-17T03:18:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,039 | py | import random
# Make a decklist. J, Q, K are all treated as 10 here.
DECK_LIST = [1,2,3,4,5,6,7,8,9,10,10,10,'A'] * 4
# Each player has these functions and attributes.
class Player:
def __init__(self, name):
self.name = name
self.status = 0
self.deck = []
@property
def deck_sum(se... | [
"shoark7@gmail.com"
] | shoark7@gmail.com |
3da1fe4cb4922906ac3aba1518772e2af1ca22a5 | aacfdc9e151e5f85604b87cf6e1ba8ab94998484 | /accounts/models.py | 9bf562c7794f9268557197aee2478a5c04bece5f | [] | no_license | excellencemichel/sylimarket | a03bf2188ee1879cbd29e7a41e619ed0cbd2cc1d | 2e3025881a9eea9f6605c19342b81ec9d323bc46 | refs/heads/master | 2023-01-13T19:59:03.657835 | 2020-01-23T03:27:55 | 2020-01-23T03:27:55 | 148,489,458 | 0 | 0 | null | 2022-12-27T15:34:40 | 2018-09-12T14:00:20 | HTML | UTF-8 | Python | false | false | 6,619 | py | from datetime import timedelta
from django.conf import settings
from django.db import models
from django.db.models import Q
from django.db.models.signals import pre_save, post_save
from django.core.mail import send_mail
from django.urls import reverse
from django.contrib.auth.models import (
AbstractBaseUser... | [
"bnvnmmnl@gmail.com"
] | bnvnmmnl@gmail.com |
ce039dd94ce8d0febe044b8c695b5c2a8ae358af | d125c002a6447c3f14022b786b07712a7f5b4974 | /tests/bugs/core_4108_test.py | 6dca3b66c7732cda936742847de67b80a86b2030 | [
"MIT"
] | permissive | FirebirdSQL/firebird-qa | 89d5b0035071f9f69d1c869997afff60c005fca9 | cae18186f8c31511a7f68248b20f03be2f0b97c6 | refs/heads/master | 2023-08-03T02:14:36.302876 | 2023-07-31T23:02:56 | 2023-07-31T23:02:56 | 295,681,819 | 3 | 2 | MIT | 2023-06-16T10:05:55 | 2020-09-15T09:41:22 | Python | UTF-8 | Python | false | false | 754 | py | #coding:utf-8
"""
ID: issue-4436
ISSUE: 4436
TITLE: Regression: Server crashes when executing sql query "delete from mytable order by id desc rows 2"
DESCRIPTION:
JIRA: CORE-4108
FBTEST: bugs.core_4108
"""
import pytest
from firebird.qa import *
db = db_factory()
test_script = """
... | [
"pcisar@ibphoenix.cz"
] | pcisar@ibphoenix.cz |
4d72d1adcd47c7adebb42692e1f19cd8f1f3adb6 | 350eb7098034d7b0bec1ece97d2767e14fb96713 | /Wind/Architectures/RandomForestDirRegressionArchitecture.py | 12bf8c891ddcbf2cf2b5ecf2e2231837405921a6 | [] | no_license | thw1021/Wind | 62d27e3b4e14e53cf8542ec5bff7f8e17153b862 | e7f8665e569da4aa2ba6b142ce231586641c5f59 | refs/heads/master | 2020-09-20T22:08:15.790735 | 2019-10-23T09:06:23 | 2019-10-23T09:06:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,374 | py | """
.. module:: RandomForestDirRegressionArchitecture
RandomForestDirRegressionArchitecture
*************
:Description: RandomForestDirRegressionArchitecture
:Authors: bejar
:Version:
:Created on: 29/05/2019 12:21
"""
from Wind.Architectures.SCKArchitecture import SCKArchitecture
from sklearn.ensem... | [
"bejar@cs.upc.edu"
] | bejar@cs.upc.edu |
6a63fb25b0cc192c70b040441651de9535759717 | 45ae26afb881f1ca33c7645facb95961274ed957 | /inertia/physics/world2d.py | 26f9d3095c4c3d2316ab28b25647040732fcf1b2 | [] | no_license | cheind/py-inertia | 730d06a67b1ff6f67271ab1119e1225e41b4bc79 | 9fbefc3545910ba358d273ecca7594ff564f11e6 | refs/heads/master | 2020-12-24T09:23:31.138842 | 2016-11-14T07:06:59 | 2016-11-14T07:06:59 | 73,293,742 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,407 | py | import math
import numpy as np
from inertia.physics.body2d import Body2d, Body2dFields, Body2dView
from inertia import transform as t
class Items(object):
def __init__(self):
self.__dict__['_all'] = []
def __setattr__(self, name, value):
self._all.append(value)
super(Items, self).__se... | [
"christoph.heindl@gmail.com"
] | christoph.heindl@gmail.com |
e3c9ee939c60e74f5113e368bbd0116067552dde | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/nouns/_broilers.py | 31170467a2aa5e392abdcbd0f34ab9ae636b0edc | [
"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 | 245 | py |
from xai.brain.wordbase.nouns._broiler import _BROILER
#calss header
class _BROILERS(_BROILER, ):
def __init__(self,):
_BROILER.__init__(self)
self.name = "BROILERS"
self.specie = 'nouns'
self.basic = "broiler"
self.jsondata = {}
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
af5c2125da52cb75f80bcd10625e295ec36c6e25 | 8f2b0e182040d413462c3f65eff7e255f161c3d4 | /SWEA/문제/SWEA_4874_Forth_박수아.py | 8550cec2936ab12fe874bbd032628ddb47034cad | [] | no_license | irissooa/Algorithm-with-Python | e68404bcc6e639b0a7b305f6b02a23c5217b9b3c | 941fbf6b05e4f89f46e5a7c90c04f0f7ca98d548 | refs/heads/master | 2023-08-04T06:33:41.073378 | 2023-08-01T15:04:18 | 2023-08-01T15:04:18 | 342,212,453 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,589 | py | '''
Forth코드 연산 결과를 출력하라, 불가능한 경우 error를 출력
숫자는 스택에 넣고
연산자를 만나면 스택의 숫자 두 개를 꺼내 더하고 결과를 다시 스택에 넣음
'.'은 코드 마지막이란 뜻, 스택에서 숫자를 꺼내 출력
'''
import sys
sys.stdin = open('input.txt','r')
T = int(input())
for tc in range(1,T+1):
forth = list(input().split())
stack = []
#숫자면 스택에 넣음, 연산자면 스택의 숫자를 두개꺼내 계산하고 결과를 다시 스택에 넣음... | [
"xlalfskdl@naver.com"
] | xlalfskdl@naver.com |
8168032f2679f69a0c3359511de052d9f282979e | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03284/s353228377.py | b095605c13004d70edbead335a239a809d846de2 | [] | 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 | 51 | py | n,k=map(int,input().split());print(1 if n%k else 0) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
f9f29266a04e5ce40a36b2491ee21e918f1344ed | fb81dca9fe145e1e117bbe572d1a684e669d98f9 | /NewsRec/news/models.py | cae6c851df482ddea9b5a538ee1f8b3e85d2e8f5 | [] | no_license | legend1412/Recommend | 4f5e284790463ca96db1676953f65e2c6b43fcd8 | 5cfda3e8c033fc04dcac82f035d0317fd8de4865 | refs/heads/master | 2023-06-23T17:41:50.099510 | 2021-07-21T06:58:41 | 2021-07-21T06:58:41 | 330,176,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,665 | py | # -*- coding:utf-8 -*-
from django.db import models
# 新闻类别表
class Cate(models.Model):
id = models.AutoField(primary_key=True)
cate_id = models.CharField(blank=False, max_length=64, verbose_name='ID', unique=True)
cate_name = models.CharField(blank=False, max_length=64, verbose_name='名字')
def __str__(... | [
"zhaojianhao_1984@163.com"
] | zhaojianhao_1984@163.com |
be93a60b61e7c6bf824b8a673e8e2c6b5c75ec0d | 2876a5a8e7d50d97039b4e63c25f5eaf1cc20808 | /src/odontology/register/migrations/0009_auto_20160220_0225.py | bc8876be7446292220e5a6c8fbb12f1fbb08b261 | [
"Apache-2.0"
] | permissive | nanomolina/JP | 6fcd01b75d71aa560781d4c0350ff76025f85f92 | 248a47bced4dac850f85d28968ddf279cd123400 | refs/heads/master | 2022-11-29T09:31:43.449654 | 2019-07-16T18:25:20 | 2019-07-16T18:25:20 | 51,620,989 | 2 | 0 | Apache-2.0 | 2022-11-22T01:11:25 | 2016-02-12T22:33:24 | HTML | UTF-8 | Python | false | false | 631 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-02-20 05:25
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('register', '0008_auto_20160220_0105'),
]
operations = [
migrations.AlterMode... | [
"nanomolinacav@gmail.com"
] | nanomolinacav@gmail.com |
abd9b695e2416371e250b62c8fb68122d305bbd2 | d3fa8ded9d393ba9b03388ba7f05fc559cf31d1e | /Codes/agent/jmxfetch.py | 8413bba6a6d8e231a9054cadcf3560e522f15138 | [
"BSD-2-Clause"
] | permissive | lengxu/YouYun | e20c4d8f553ccb245e96de177a67f776666e986f | b0ad8fd0b0e70dd2445cecb9ae7b00f7e0a20815 | refs/heads/master | 2020-09-13T22:30:49.642980 | 2017-11-27T03:13:34 | 2017-11-27T03:13:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,937 | py | # set up logging before importing any other components
if __name__ == '__main__':
from config import initialize_logging # noqa
initialize_logging('jmxfetch')
# stdlib
from contextlib import nested
import glob
import logging
import os
import signal
import sys
import tempfile
import time
# 3p
import yaml
# pr... | [
"smartbrandnew@163.com"
] | smartbrandnew@163.com |
49e91f563b03cc6819c0ec9ea8dda2da758b43af | 1369b79c59d253b0af57ae4df2f0cdb30c8d24ad | /setup.py | dcbcd568075f863f6ce1a998a8381cec2685e9d5 | [] | no_license | bopo/mooquant_mootdx | 86a49463f4bed0112928bf5bf97a885aa931319f | 3496527e59fcae52ade4664b35d63c1029cfa429 | refs/heads/master | 2021-05-05T14:09:33.515067 | 2018-02-28T01:33:53 | 2018-02-28T01:33:53 | 118,424,725 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,542 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
from mooquant_mootdx import __version__
with open('README.md') as readme_file:
readme = readme_file.read()
requireme... | [
"ibopo@126.com"
] | ibopo@126.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.