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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
14eb5ef0b9256f027c4f90d2ebfaba4734ede15e | f132bd3a1244c21fc845b39e9c7f254450b84740 | /toolkit/render_service/service.py | 288614817353d9429f8233911786a1d46b803335 | [
"MIT"
] | permissive | aimoonchen/RenderPipeline | b67025e7244cc37b5db312caa9e088a258c51095 | b5672ff3bc1d475bb9b67099f2b38d2a157ae0ac | refs/heads/master | 2021-01-18T02:21:40.083057 | 2016-04-09T11:41:14 | 2016-04-09T11:41:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,848 | py | """
Render service to render previews of materials
"""
from __future__ import print_function
import sys
import socket
import time
import pickle
from threading import Thread
from panda3d.core import load_prc_file_data, Vec4, Filename, Mat4, Notify
from panda3d.core import CS_zup_right, CS_yup_right, PNMImage, BamC... | [
"tobias.springer1@googlemail.com"
] | tobias.springer1@googlemail.com |
24be763b95afe2e8cdc566cecc503b9724a1c7db | 775f887ab0933c8bb9263febceb702974966bb48 | /packages/pyright-internal/src/tests/samples/typeNarrowing8.py | d958c492ea3b10ad9b10956045014ed295cb0613 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | isabella232/pyright | 160a4d9ce366cb61946949f9d5aebe7457539c67 | a192486099503353413e02078c41d0d82bd696e8 | refs/heads/master | 2023-03-13T05:04:51.852745 | 2021-03-03T07:51:18 | 2021-03-03T07:51:18 | 344,101,663 | 0 | 0 | NOASSERTION | 2021-03-03T11:24:10 | 2021-03-03T11:21:38 | null | UTF-8 | Python | false | false | 372 | py | # This sample tests the type narrowing logic for
# conditional expression involving assignment expressions
# (walrus operator).
# pyright: strict
from typing import Optional
class C:
def foo(self):
pass
def good(b: Optional[C]) -> None:
a = b
if a:
a.foo()
def bad(b: Optional[C]) -> Non... | [
"erictr@microsoft.com"
] | erictr@microsoft.com |
0b7aae1188e62722d1d8d03dd0380bc863afaa60 | f167dffa2f767a0419aa82bf434852069a8baeb8 | /lib/youtube_dl/extractor/weiqitv.py | 7e0befd3922b15194fbcf5e142419c1c62ae46c3 | [
"MIT"
] | permissive | firsttris/plugin.video.sendtokodi | d634490b55149adfdcb62c1af1eb77568b8da3f5 | 1095c58e2bc21de4ab6fcb67a70e4f0f04febbc3 | refs/heads/master | 2023-08-18T10:10:39.544848 | 2023-08-15T17:06:44 | 2023-08-15T17:06:44 | 84,665,460 | 111 | 31 | MIT | 2022-11-11T08:05:21 | 2017-03-11T16:53:06 | Python | UTF-8 | Python | false | false | 1,681 | py | # coding: utf-8
from __future__ import unicode_literals
from .common import InfoExtractor
class WeiqiTVIE(InfoExtractor):
IE_DESC = 'WQTV'
_VALID_URL = r'https?://(?:www\.)?weiqitv\.com/index/video_play\?videoId=(?P<id>[A-Za-z0-9]+)'
_TESTS = [{
'url': 'http://www.weiqitv.com/index/video_play?vi... | [
"noreply@github.com"
] | firsttris.noreply@github.com |
ae9bfc63cb074a60b0688c1775213dbeea5712ce | 238e46a903cf7fac4f83fa8681094bf3c417d22d | /VTK/vtk_7.1.1_x64_Debug/lib/python2.7/site-packages/twisted/internet/udp.py | dbf726d9800dfc2c2e7efec03a22daa9063f52cc | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | baojunli/FastCAE | da1277f90e584084d461590a3699b941d8c4030b | a3f99f6402da564df87fcef30674ce5f44379962 | refs/heads/master | 2023-02-25T20:25:31.815729 | 2021-02-01T03:17:33 | 2021-02-01T03:17:33 | 268,390,180 | 1 | 0 | BSD-3-Clause | 2020-06-01T00:39:31 | 2020-06-01T00:39:31 | null | UTF-8 | Python | false | false | 18,109 | py | # -*- test-case-name: twisted.test.test_udp -*-
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Various asynchronous UDP classes.
Please do not use this module directly.
@var _sockErrReadIgnore: list of symbolic error constants (from the C{errno}
module) representing socket ... | [
"l”ibaojunqd@foxmail.com“"
] | l”ibaojunqd@foxmail.com“ |
24686e8651261b2c4dccb5d2f9cd06e6d05969a6 | ce196aba0adde47ea2767eae1d7983a1ef548bb8 | /turtle_动画壳_爱心_3.py | 283ec10c2cc7e985af1e91f07397cef3243d2d3b | [] | no_license | xiang-daode/Python3_codes | 5d2639ffd5d65065b98d029e79b8f3608a37cf0b | 06c64f85ce2c299aef7f9311e9473e0203a05b09 | refs/heads/main | 2023-08-30T14:59:55.123128 | 2021-11-03T05:12:24 | 2021-11-03T05:12:24 | 333,632,892 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,212 | py | # 在这里写上你的代码 :-)
from turtle import *
import math
import sys
#修改最大递归层数到0xffffff
#sys.setrecursionlimit(0xffffff)
screensize(1080, 900, "#000")
k=1 #<<====全局变量======
def DrawLoop():
global k #<<====全局变量======
clear() #<<=====清空画布=====
#画图开始:-----------------------------
for m in range(-285,285,5):
... | [
"noreply@github.com"
] | xiang-daode.noreply@github.com |
99d8890122cf7ac8146711ac360b15b892727fda | 361dc38f1868a44528b8020b451c4709bdf8e7ef | /setup.py | d1ab99837fda500768d9c077ef7c8f19c93b1ef5 | [
"Apache-2.0"
] | permissive | tkrajina/cartesius | 95340210a965a54ddc3ee3ae6c0dd0bd872b8a77 | 77b376e5b6e264b152f3f439931be4ffd98a428b | refs/heads/master | 2021-01-21T21:42:53.066917 | 2016-04-23T13:45:37 | 2016-04-23T13:45:37 | 3,745,726 | 10 | 7 | null | 2016-04-23T13:45:39 | 2012-03-17T05:33:29 | Python | UTF-8 | Python | false | false | 1,106 | py | #!/usr/bin/python
# Copyright 2011 Tomo Krajina
#
# 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... | [
"tkrajina@gmail.com"
] | tkrajina@gmail.com |
49918c12fb6442f8912f9ae44547206a1ca98102 | 0f19d2010b1261c1b0cb10635fb2c601b34a98aa | /app/__init__.py | 3b5c3e46fe53dcccc6a38df225e449c29e1062fd | [
"MIT"
] | permissive | gabyxbinnaeah/Pitch | 75ad09d1ad6eaf02f5cc41ea42d26fc18900dd37 | 5cddfe63caf20a5946db017d452e57e3bc3bfd36 | refs/heads/master | 2023-06-05T16:51:57.150585 | 2021-06-25T08:26:59 | 2021-06-25T08:26:59 | 376,292,547 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,441 | py | from flask import Flask
from flask_bootstrap import Bootstrap
from config import config_options
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager
from flask_simplemde import SimpleMDE
from flask_uploads import UploadSet,configure_uploads,IMAGES
from flask_mail import Mail
# Instances of fla... | [
"gabyxbinnaeh4@gmail.com"
] | gabyxbinnaeh4@gmail.com |
91cec18d7122acc5179e1e64a722327bd455ebd2 | b5bc72861644c274b75e42374201ea8cdb84c1a2 | /socket_examples/socket_server_replace.py | 9be04989ef5059f7d80a4a4e4f7a450f41d161ae | [] | no_license | Aadhya-Solution/PythonExample | 737c3ddc9ad5e3d0cde24ac9f366ce2de2fa6cfe | 34bc04570182130ebc13b6c99997c81834ad5f53 | refs/heads/master | 2022-12-18T09:54:30.857011 | 2020-08-24T13:53:59 | 2020-08-24T13:53:59 | 288,183,879 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 680 | py | import socket
s = socket.socket()
print "Socket successfully created"
host = socket.gethostname()
port = 12349
s.bind((host, port))
print "socket binded to %s" % (port)
s.listen(5)
print "socket is listening"
while True:
c, addr = s.accept()
print 'Got connection from', addr
data = c.recv(1024)
a... | [
"shashikant.pattar@gmail.com"
] | shashikant.pattar@gmail.com |
e5174cc16ba2ff4c91db9384d82cccaec6910218 | ce76b3ef70b885d7c354b6ddb8447d111548e0f1 | /make_big_company_into_life.py | 71783e907e690ad9164ae7eae03ab14efbab66f5 | [] | no_license | JingkaiTang/github-play | 9bdca4115eee94a7b5e4ae9d3d6052514729ff21 | 51b550425a91a97480714fe9bc63cb5112f6f729 | refs/heads/master | 2021-01-20T20:18:21.249162 | 2016-08-19T07:20:12 | 2016-08-19T07:20:12 | 60,834,519 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 253 | py |
#! /usr/bin/env python
def great_woman(str_arg):
feel_different_point(str_arg)
print('public_problem_or_small_problem')
def feel_different_point(str_arg):
print(str_arg)
if __name__ == '__main__':
great_woman('great_world_or_point')
| [
"jingkaitang@gmail.com"
] | jingkaitang@gmail.com |
0c78e0b496843239805405b51a772beb8ddb753b | e19217693b5f7b7c78304a67e0a888f7d83cef3b | /scripts/tests/capture/test_capture_image_from_path.py | e9180b55cc7196ece7e486f3c66a18e537a69505 | [
"MIT"
] | permissive | GLO3013-E4/COViRondelle2021 | 0cac1e477e1cc7c5e776f67832bb3a7814f002fb | f8d23903d0a906e93a7698a555d90ebecdf83969 | refs/heads/main | 2023-04-10T05:36:35.104623 | 2021-04-25T17:08:38 | 2021-04-25T17:08:38 | 331,664,083 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 634 | py | import pytest
from scripts.src.capture.capture_image_from_path import capture_image_from_path
from scripts.tests.util.command_panel_helper import command_panel_images_path
def test_given_valid_path_then_image_is_valid():
valid_paths = command_panel_images_path
for valid_path in valid_paths:
assert_i... | [
"fabienroy28@gmail.com"
] | fabienroy28@gmail.com |
2eb1fd0ddc59cd3c694df73dbf8113c7c176ee03 | 5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d | /alipay/aop/api/domain/AccessProduceQrcode.py | a9816db91ce8ae2156e574f4a371cb36cda3981a | [
"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 | 2,362 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
class AccessProduceQrcode(object):
def __init__(self):
self._batch_id = None
self._core_url = None
self._produce_order_id = None
self._qrcode = None
@property
d... | [
"liuqun.lq@alibaba-inc.com"
] | liuqun.lq@alibaba-inc.com |
7f8c6404516516b829291a51a4ac880de4203c73 | 209a7a4023a9a79693ec1f6e8045646496d1ea71 | /COMP0016_2020_21_Team12-datasetsExperimentsAna/pwa/FADapp/pythonScripts/venv/Lib/site-packages/pandas/tests/indexes/numeric/test_indexing.py | 37421cff8c9d76d7ea7bbeb11f178716098d860c | [
"MIT"
] | permissive | anzhao920/MicrosoftProject15_Invictus | 5e2347015411bbffbdf0ceb059df854661fb240c | 15f44eebb09561acbbe7b6730dfadf141e4c166d | refs/heads/main | 2023-04-16T13:24:39.332492 | 2021-04-27T00:47:13 | 2021-04-27T00:47:13 | 361,913,170 | 0 | 0 | MIT | 2021-04-26T22:41:56 | 2021-04-26T22:41:55 | null | UTF-8 | Python | false | false | 10,380 | py | import numpy as np
import pytest
from pandas import Float64Index, Index, Int64Index, Series, UInt64Index
import pandas._testing as tm
@pytest.fixture
def index_large():
# large values used in UInt64Index tests where no compat needed with Int64/Float64
large = [2 ** 63, 2 ** 63 + 10, 2 ** 63 + 15, 2... | [
"ana.kapros@yahoo.ro"
] | ana.kapros@yahoo.ro |
3973796fa9b6fd0e965014d7e52d08a26e9344c9 | 358aaf68f3c60ebbbd86b3bc66d4e6c098bcb39e | /fonts/tsvga_et4000_8x8.py | cd9c77819b972bd7a5646d06c44978fca4c470d7 | [
"MIT"
] | permissive | ccccmagicboy/st7735_mpy | d2de0046abd81978d5176dace45a40758377af82 | b15f1bde69fbe6e0eb4931c57e71c136d8e7f024 | refs/heads/master | 2022-08-28T23:18:04.353733 | 2020-05-28T04:19:21 | 2020-05-28T04:19:21 | 254,869,035 | 7 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,685 | py | """converted from ..\fonts\TSVGA_ET4000_8x8.bin """
WIDTH = 8
HEIGHT = 8
FIRST = 0x20
LAST = 0x7f
_FONT =\
b'\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x30\x78\x78\x30\x30\x00\x30\x00'\
b'\x6c\x6c\x6c\x00\x00\x00\x00\x00'\
b'\x6c\x6c\xfe\x6c\xfe\x6c\x6c\x00'\
b'\x30\x7c\xc0\x78\x0c\xf8\x30\x00'\
b'\x00\xc6\xcc\x18\x30\x66\x... | [
"cuiwei_cv@163.com"
] | cuiwei_cv@163.com |
9be222c9faded735ec86c8e74b00fefcaabb907c | 5000bd2e88b2cfda57bba013617664fe6acd90d2 | /state.py | d5049d164e08d0bbd6cf48159c888878d522bf98 | [] | no_license | randName/RoboCup | 54d8e0f8275aa68a7d97bf74ac26adf0ff8dba37 | 64694fce92416663bd926512aec0b11a3f527495 | refs/heads/master | 2020-05-24T13:08:21.176625 | 2014-08-23T06:29:27 | 2014-08-23T06:29:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16 | py | state = Array()
| [
"kwokshungit@gmail.com"
] | kwokshungit@gmail.com |
f493b777562d9c4a0052bd3f1107751e539ffbd8 | 2a9b3bf8758c1199305a01c524be78b7287335b8 | /plugins/md/nolink/saint-marys.py | b84a19ac89c9a00b33b0f09075ecd8f62f818ddb | [] | no_license | thayton/bidmap | e222f34701c15d4694f1f51999ecc9d894abfe41 | de279cd64f66c79b253b38101c8ccdf748e540ac | refs/heads/master | 2021-01-21T17:03:14.317309 | 2014-09-26T18:27:45 | 2014-09-26T18:27:45 | 17,402,509 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,411 | py | import re, urlparse, datetime
from bidmap.bidscrapers.bidscraper import BidScraper
from bidmap.htmlparse.soupify import soupify, get_all_text
from bidmapdb.models import *
GOVINFO = {
'name': 'Saint Marys Maryland',
'location': 'Saint Marys, MD',
'home_page_url': 'http://www.co.saint-marys.md.us',
'... | [
"thayton@neekanee.com"
] | thayton@neekanee.com |
78a6052238c38af3acd00bdcb5006d6251908b19 | 01476d065436f5fbdcbe01a0910268bc040d46f8 | /core/task.py | 778abdb33b14c6d2f8e1f2676a85645871f38387 | [] | no_license | yanzongzhen/onlineSqlAudit | 667e77a66323d8ead275fb963f4f78e6ad9dce66 | 9458b87d8e4b9ada8b0b9da73495ee7cea4f1255 | refs/heads/master | 2020-04-28T20:07:00.118685 | 2019-03-14T03:03:17 | 2019-03-14T03:03:17 | 175,533,798 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,811 | py | from __future__ import absolute_import, unicode_literals
import logging
import functools
import threading
import ast
import time
from django.http import HttpResponse
from libs import send_email, util
from core.api.serachsql import replace_limit
from libs import call_inception,con_database, file_help
from .models import... | [
"2023335616@qq.com"
] | 2023335616@qq.com |
19267b46ea0ae010c2ff1b1dfa0bd1a8408cb49e | 4520f56d4952c788e198ee7eee39911c9a76c60f | /03_Bigdata/01_Collection/03_Web_crawling/02_Reguar_Expression/99_example/26_exam.py | 1382dc9fddea098da581eeb9de39dc6771a31959 | [] | no_license | SuHyeonJung/iot_python2019 | bef8877a1cd41981ad2125291f5af44f4fd1701c | 7860630ae28c53677a3c2761c9e997b28ea55f26 | refs/heads/master | 2020-06-14T22:18:27.503781 | 2019-11-08T05:50:41 | 2019-11-08T05:50:41 | 195,142,234 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 162 | py | import re
def chage_date_format(dt):
return re.sub(r'(\d{4})-(\d{2})-(\d{2})', '\\3-\\2-\\1', dt)
dt1 = "2026-01-02"
print(dt1)
print(chage_date_format(dt1))
| [
"galma94815@naver.com"
] | galma94815@naver.com |
dcb213e168fca239e1ebbe16b3ccd6127b4718a5 | a3b306df800059a5b74975793251a28b8a5f49c7 | /Graphs/LX-2/molecule_otsu = False/BioImageXD-1.0/GUI/Urmas/TimelinePanel.py | a669b2850c6bf3936b0fcc4d431fe94ea9b640ab | [] | no_license | giacomo21/Image-analysis | dc17ba2b6eb53f48963fad931568576fda4e1349 | ea8bafa073de5090bd8f83fb4f5ca16669d0211f | refs/heads/master | 2016-09-06T21:42:13.530256 | 2013-07-22T09:35:56 | 2013-07-22T09:35:56 | 11,384,784 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,445 | py | #! /usr/bin/env python
# -*- coding: iso-8859-1 -*-
"""
Unit: TimelinePanel
Project: BioImageXD
Created: 04.02.2005, KP
Description:
URM/AS - The Unified Rendering Manager / Animator for Selli
This is a timeline based GUI for controlling the rendering of datasets. The GUI allows users
to specify a path for t... | [
"fede.anne95@hotmail.it"
] | fede.anne95@hotmail.it |
815f2f88cbebf14c3060523bbb487aa0d3ba9e46 | 7d8e040cb703e6f6e2d55b5dc64fc9124d85dde8 | /docs/examples/plot_gpr.py | f6a2e4f40497c7b9f6744bce343eb434676368e5 | [
"MIT"
] | permissive | Global-localhost/sklearn-onnx | fc44aa481a91482f187cfd2307df6061b77742af | a8267e7ba946d8b0596951060e5dca39fec47439 | refs/heads/master | 2023-03-23T00:19:31.474251 | 2021-03-03T19:17:12 | 2021-03-03T19:17:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,942 | py | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
"""
.. _l-gpr-example:
Discrepencies with GaussianProcessorRegressor: use of double
============================================================
The `GaussianProcessRegressor
<https://scikit-learn.org/stable/modules/generat... | [
"noreply@github.com"
] | Global-localhost.noreply@github.com |
7d2453d45b92debd71ad9434d625204d469e4f1d | c08b5edb5075e7840e716b0a09006dae0a4d05ac | /.history/Missions_to_Mars/scrape_mars_20200812105816.py | 5d64fb4b409847ebf81631de5c639531fe2ce34e | [] | no_license | OlgaDlzk/web-scraping-challenge-1 | 06f915eb76c55c9bc37889017dd9af81122dc1a5 | f99c3436dfb0169595c46dae7733d90e21385cc6 | refs/heads/master | 2023-03-18T00:58:37.928024 | 2020-09-22T20:32:47 | 2020-09-22T20:32:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,643 | py | from splinter import Browser
from bs4 import BeautifulSoup as bs
import pandas as pd
import time
import re
# This is for debugging
def savetofile(contents):
file = open('_temporary.txt',"w",encoding="utf-8")
file.write(contents)
file.close()
def scrape():
executable_path = {"executable_path": "chrom... | [
"ermiasgelaye@gmail.com"
] | ermiasgelaye@gmail.com |
4957e6324f475b466c637d4bd3c8ef27e3b887e9 | 4b64dd47fa9321b50875e96298a5f0766ffe97c9 | /leetcode/p136.py | 2071188b8e52b40f692b286c502e8c2d8304ab75 | [] | no_license | choupi/puzzle | 2ce01aa85201660da41378c6df093036fa2d3a19 | 736964767717770fe786197aecdf7b170d421c8e | refs/heads/master | 2021-07-23T13:17:45.086526 | 2021-07-20T11:06:28 | 2021-07-20T11:06:28 | 13,580,701 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 141 | py | class Solution:
def singleNumber(self, nums: List[int]) -> int:
r = 0
for n in nums:
r ^= n
return r
| [
"chromosome460@gmail.com"
] | chromosome460@gmail.com |
7c358edcddbe8b1a40bad9ff794a69af4b64cd1d | e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f | /indices/nnsalisburi.py | ea9cd58a5a847e66b4e732cc465ce9a576ef88ab | [] | no_license | psdh/WhatsintheVector | e8aabacc054a88b4cb25303548980af9a10c12a8 | a24168d068d9c69dc7a0fd13f606c080ae82e2a6 | refs/heads/master | 2021-01-25T10:34:22.651619 | 2015-09-23T11:54:06 | 2015-09-23T11:54:06 | 42,749,205 | 2 | 3 | null | 2015-09-23T11:54:07 | 2015-09-18T22:06:38 | Python | UTF-8 | Python | false | false | 712 | py | ii = [('CookGHP3.py', 3), ('CoolWHM2.py', 1), ('WilbRLW.py', 8), ('WilbRLW4.py', 2), ('RennJIT.py', 8), ('CookGHP.py', 6), ('ShawHDE.py', 2), ('WilbRLW5.py', 2), ('AubePRP.py', 1), ('AdamWEP.py', 8), ('FitzRNS3.py', 2), ('WilbRLW2.py', 5), ('ClarGE2.py', 10), ('AinsWRR3.py', 1), ('CookGHP2.py', 1), ('ClarGE.py', 27), (... | [
"varunwachaspati@gmail.com"
] | varunwachaspati@gmail.com |
fa011fdf77be9411c2455632eb1a8fb57cf62c10 | 28ee8b03ee259d2470857a28e263cebfa28f187d | /danceschool/financial/forms.py | 68434fcc719cda5ebffaea67641976e1775ba962 | [
"BSD-3-Clause"
] | permissive | profigorxyz/django-danceschool | 536244dccf9ba85d7f13bcc38a8da1d15062c01c | 4df83131951b711a8636e9118667f570aeb54dd2 | refs/heads/master | 2021-02-05T06:54:43.862422 | 2020-02-21T21:44:26 | 2020-02-21T21:44:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,167 | py | from django import forms
from django.conf import settings
from django.contrib.auth.models import User
from django.core.validators import ValidationError
from django.urls import reverse
from django.db.models import Q
from django.forms.widgets import Select
from django.utils.encoding import force_text
from django.utils.s... | [
"lee.c.tucker@gmail.com"
] | lee.c.tucker@gmail.com |
3c64a074ee109c22415d175fe5f8da569e531b95 | 54857571461a579bed30cee27871aaa5fe396bcc | /nltk-0.9.7/src/nltk/chunk/__init__.py | 9addc5c42bf22e96909840dbba3f659eb931accd | [] | no_license | ahmedBazaz/affective-text-classification | 78375182e800b39e0e309e8b469e273c0d9590f0 | 719e9b26e60863c620662564fb9cfeafc004777f | refs/heads/master | 2021-01-10T14:50:01.100274 | 2009-01-09T03:59:01 | 2009-01-09T03:59:01 | 48,296,612 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,756 | py | # Natural Language Toolkit: Chunkers
#
# Copyright (C) 2001-2008 NLTK Project
# Author: Steven Bird <sb@csse.unimelb.edu.au>
# Edward Loper <edloper@gradient.cis.upenn.edu>
# URL: <http://www.nltk.org/>
# For license information, see LICENSE.TXT
#
"""
Classes and interfaces for identifying non-overlapping ling... | [
"tytung@6129d76e-ddfe-11dd-a37d-c9d1c40e0883"
] | tytung@6129d76e-ddfe-11dd-a37d-c9d1c40e0883 |
8b40d9c48621f7e02f34ccf8e06ee18656930e65 | 0e50497e14e2002fa2f40a181a92d010bcb8ca83 | /ecom/migrations/0003_auto_20200720_1507.py | 55c360bad4241f2e60e6605f45af24953650d89a | [] | no_license | ChetanKoranga/ecommerce | 00e14d103d81908632b0cd00dff7053d20f204e4 | 3a8fbd1fb56767c88ec04ce6748ad33cfbad4ce9 | refs/heads/master | 2023-04-30T15:53:50.625754 | 2020-07-20T15:01:41 | 2020-07-20T15:01:41 | 263,393,645 | 0 | 1 | null | 2023-04-21T20:59:13 | 2020-05-12T16:38:02 | CSS | UTF-8 | Python | false | false | 405 | py | # Generated by Django 3.0.8 on 2020-07-20 09:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ecom', '0002_product_product_image'),
]
operations = [
migrations.AlterField(
model_name='product',
name='product_im... | [
"chetankoranga3@gmail.com"
] | chetankoranga3@gmail.com |
e2f3343814809d6537a50108d07c24b121249a6d | 1b9075ffea7d4b846d42981b41be44238c371202 | /tags/2007-EOL/programming/tools/qconf/actions.py | 33eb9b8bd3403fcbc886348788374649819d4b7b | [] | no_license | pars-linux/contrib | bf630d4be77f4e484b8c6c8b0698a5b34b3371f4 | 908210110796ef9461a1f9b080b6171fa022e56a | refs/heads/master | 2020-05-26T20:35:58.697670 | 2011-07-11T11:16:38 | 2011-07-11T11:16:38 | 82,484,996 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 537 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.rawConfigure("--prefix=/us... | [
"turkay.eren@gmail.com"
] | turkay.eren@gmail.com |
7dad8adb1bad75cb3627ca47b80c820571f71b1b | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2092/60648/283293.py | 33a3a46c1a644ae9173f35e423f0055ef3d73b89 | [] | 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 | 61 | py | x=int(input())
ls=input().split(' ')
r=1000
print(r)
print(1) | [
"1069583789@qq.com"
] | 1069583789@qq.com |
0a73ac61b153cb7c40b6e81a3d94ecdf34f3eb3b | d01222b064295d3f686e871c5c40167d9d89d501 | /modules/event_handlers/module_join.py | dc886c9745609451141639fbb4b782cb200b92a4 | [
"MIT"
] | permissive | fossabot/KiwiBot | eccb4c350a3236e076c1a5d61fabe569234191bb | cd077ce742775ed69ea7a14796c967ed878e1abc | refs/heads/master | 2020-04-02T03:09:13.282489 | 2018-10-20T21:06:24 | 2018-10-20T21:06:24 | 153,948,343 | 0 | 0 | MIT | 2018-10-20T21:06:24 | 2018-10-20T21:06:24 | null | UTF-8 | Python | false | false | 3,579 | py | from objects.modulebase import ModuleBase
from objects.permissions import PermissionManageGuild
from utils.funcs import find_channel
from utils.formatters import lazy_format
from discord import Forbidden, NotFound
class Module(ModuleBase):
usage_doc = '{prefix}{aliases} [welcome text]'
short_doc = 'Allows ... | [
"gish.ee18@gmail.com"
] | gish.ee18@gmail.com |
e45bd4263011a4b790ce18d2fefa20fda149e2b1 | e13a79dec2668c1870b3fea05f071fe872d400f0 | /pde/tests/test_examples.py | 1b78a1118d2d55ae14c0f862508b6f22bb8063a5 | [
"MIT"
] | permissive | yiweizhang1025/py-pde | b27cc0b058b50d6af921e1ea84bf59a5bb0ff370 | 3862a35505b9ce4d62557bc65dfedd40638a90f3 | refs/heads/master | 2023-03-14T17:21:07.004742 | 2021-03-15T15:33:47 | 2021-03-15T15:33:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,924 | py | """
.. codeauthor:: David Zwicker <david.zwicker@ds.mpg.de>
"""
import glob
import os
import subprocess as sp
import sys
from pathlib import Path
from typing import List # @UnusedImport
import pytest
from pde.tools.misc import module_available, skipUnlessModule
from pde.visualization.movies import Movie
PACKAGE_PA... | [
"david.zwicker@ds.mpg.de"
] | david.zwicker@ds.mpg.de |
673ad0b95ab1538fafcb97c0495469f496e5d360 | 724d58882c9fbcfe80c1f2801e28e1c40ad98f52 | /search/email_events.py | c30cfee3d22c6c56c136060a716781b44d65d870 | [] | no_license | jerryjazzz/dancedeets-server | 018aca47ba5bc01c06215f9bf2af4e3130912ade | 8e0098d1f07edaf1951b53bcbefd4a5c8e4ab007 | refs/heads/master | 2021-06-01T21:27:19.873848 | 2016-07-20T22:57:17 | 2016-07-20T22:57:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,161 | py | import datetime
import jinja2
import logging
from google.appengine.api import mail
import fb_api
from loc import gmaps_api
from loc import math
from logic import friends
from logic import rsvp
from users import users
from util import fb_mapreduce
from util import urls
from . import search_base
from . import search
d... | [
"mlambert@gmail.com"
] | mlambert@gmail.com |
4072559d39155cbde347331e5bff987081e764b1 | 368ef102345a6575d97727b314addcd65f150e19 | /Modules/Upload_file_to_AWS_S3_using_boto/upload-demo1.py | 8c4fc5a71396a2375a5a0669ee20dd62c50d981a | [] | no_license | newstar123/Pythonlab_DEV | 844b43b6a8aef977515e367bd367e658e37cfa19 | cdb2f0c2369291d6bccd597c33354830e5606eab | refs/heads/master | 2020-04-07T18:08:06.631487 | 2018-11-21T19:47:54 | 2018-11-21T19:47:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 525 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#---------------------------------------
# Program: upload-demo1.py
# Version: 0.1 Test every module
# Author: Alan Tang
# Date: 2016-11-25
# Language: Python 2.7.12
# Description: Upload file to AWS S3 using boto
#---------------------------------------
from ... | [
"devilcuruso@gmail.com"
] | devilcuruso@gmail.com |
267964d491b7d288bb291840e25cd98b5c3e7565 | 7b7bfbfebd627a3ccfdd52bb7164fa4f94cda7fc | /optic_store/optic_store/report/customer_loyalty_point/customer_loyalty_point.py | 43a70d83908347d3cf2d5703ac685455fde8815a | [
"MIT"
] | permissive | f-9t9it/optic_store | d117b7ef7c4107ec15d8194fc57d66a18aff5945 | 4682ae99cdb2cbfb1ff99196398d7379b4b6c8f1 | refs/heads/master | 2022-07-01T10:29:54.783550 | 2022-06-21T14:34:40 | 2022-06-21T14:34:40 | 171,165,708 | 23 | 43 | NOASSERTION | 2022-06-21T14:21:16 | 2019-02-17T19:58:33 | Python | UTF-8 | Python | false | false | 2,467 | py | # Copyright (c) 2013, 9T9IT and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.utils import today
from functools import partial
from toolz import compose, pluck
from optic_store.utils import pick
from optic_store.utils.report import mak... | [
"sun@libermatic.com"
] | sun@libermatic.com |
fd6e94325745c21b2dc5d1be24f725bbf1013786 | 6527b66fd08d9e7f833973adf421faccd8b765f5 | /yuancloud/addons/product/product.py | b126a90858cdb0e0f1dd562a05023ed1ad77ac63 | [] | no_license | cash2one/yuancloud | 9a41933514e57167afb70cb5daba7f352673fb4d | 5a4fd72991c846d5cb7c5082f6bdfef5b2bca572 | refs/heads/master | 2021-06-19T22:11:08.260079 | 2017-06-29T06:26:15 | 2017-06-29T06:26:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 68,809 | py | # -*- coding: utf-8 -*-
# Part of YuanCloud. See LICENSE file for full copyright and licensing details.
import re
import time
import yuancloud
from yuancloud import api, tools, SUPERUSER_ID
from yuancloud.osv import osv, fields, expression
from yuancloud.tools.translate import _
from yuancloud.tools import DEFAULT_SE... | [
"liuganghao@lztogether.com"
] | liuganghao@lztogether.com |
213a4523801bc4a87ef60efdbb7c87e42adbba3c | 9c420cf63b042161967c66060e3563831d41e05f | /python_aida64/__init__.py | 5bd9a2a1794b2b20a79f17fef132f2a7b0d89d92 | [
"WTFPL"
] | permissive | BCSummer/python_aida64 | 6db0855ca417067d4df075604ab18e9a1343fde6 | 36c2d7b87082e3dc25a39a7eed3d27f239b4cbf8 | refs/heads/master | 2022-04-10T17:48:39.939327 | 2020-04-01T04:04:51 | 2020-04-01T04:04:51 | 288,331,864 | 2 | 0 | null | 2020-08-18T02:11:08 | 2020-08-18T02:11:07 | null | UTF-8 | Python | false | false | 1,525 | py | import mmap
from xml.etree import ElementTree as ET
import sys
def _readRawData(length):
with mmap.mmap(
-1, length, # anonymous file
tagname='AIDA64_SensorValues',
access=mmap.ACCESS_READ) as mm:
return mm.read()
def _decode(b):
for encoding in (sys.getdefaulten... | [
"gwy15thu@gmail.com"
] | gwy15thu@gmail.com |
11637f4ed6112a1d7761caed0e6682538e919f84 | d305e9667f18127e4a1d4d65e5370cf60df30102 | /tests/ut/python/dataset/test_cache_nomap.py | 52e7ddc650bb532383c20d5230bcb56b1d79789b | [
"Apache-2.0",
"MIT",
"Libpng",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.1-only",
"AGPL-3.0-only",
"MPL-2.0-no-copyleft-exception",
"IJG",
"Zlib",
"MPL-1.1",
"BSD-3-Clause",
"BSD-3-Clause-Open-MPI",
"MPL-1.0",
"GPL-2.0-only",
"MPL-2.0",
"BSL-1.0",
"LicenseRef-scancode-unknow... | permissive | imyzx2017/mindspore_pcl | d8e5bd1f80458538d07ef0a8fc447b552bd87420 | f548c9dae106879d1a83377dd06b10d96427fd2d | refs/heads/master | 2023-01-13T22:28:42.064535 | 2020-11-18T11:15:41 | 2020-11-18T11:15:41 | 313,906,414 | 6 | 1 | Apache-2.0 | 2020-11-18T11:25:08 | 2020-11-18T10:57:26 | null | UTF-8 | Python | false | false | 63,372 | py | # Copyright 2020 Huawei Technologies Co., Ltd
#
# 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... | [
"513344092@qq.com"
] | 513344092@qq.com |
2ed44c26136d75be4c5ab0caf61781e2cb5ecd94 | 87dae6d55c66df1d40d6881272009319a1600cb3 | /PROGRAMACION I PARCIAL 1 Ejercicio 2 GASTON ABALDE.py | ee037d2ae0e0e0b944a5ff989bb9646218267a59 | [] | no_license | abaldeg/EjerciciosPython | 92a30a82c05ec75aa7f313c8a6fa0dd052a8db11 | c8a3238587ebf6b10dbff32516c81bf00bb01630 | refs/heads/master | 2021-07-09T07:46:11.584855 | 2020-11-09T11:51:50 | 2020-11-09T11:51:50 | 210,438,930 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 478 | py | #Para determinar si un número es divisible por 7
#Funciones
def determinarDiv7(n):
l_invertida=[]
c=n
while c>=10:
c=n//10
d=n%10
n=c
lista.append(d)
if c<10:
lista.append(n%10)
l_invertida=lista[::-1]
for i in range... | [
"abaldeg@gmail.com"
] | abaldeg@gmail.com |
969759e6f14daccecd91c3d8478c07b1a9cd1a18 | 3bb713897dad238b3ef88100a7415681beea53ee | /scrapa/__init__.py | 352c3d6e3c4f0dc7f07788848066e52091e6c244 | [
"MIT"
] | permissive | newbyebye/scrapa | 0866bb9564976e2f8a98453097076ff5703ede0a | b123e4b29043f806f6a6bf59413b1ad2ae060e18 | refs/heads/master | 2021-01-21T18:15:38.222087 | 2016-09-08T23:56:22 | 2016-09-08T23:56:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 163 | py | __version__ = '0.0.2'
from .scraper import Scraper # noqa
from .exceptions import HttpError, HttpConnectionError # noqa
from .utils import async, store # noqa
| [
"mail@stefanwehrmeyer.com"
] | mail@stefanwehrmeyer.com |
8940c04675d3635836412de98b1cf2e182667668 | e27509d78f9bc9746c535b4ed7adec6370741af6 | /bwdesignworldenv/bin/google_accounts_daemon | 250eabbb86e4eeddd4ba443aca9a03ce337b0c85 | [] | no_license | bopopescu/bw | deae2323039d70b32a35043361f8562b09bea630 | 1ddb78a280388548ef7dd201a361db710e271791 | refs/heads/master | 2022-11-22T18:29:05.581667 | 2019-10-01T03:30:48 | 2019-10-01T03:30:48 | 282,542,998 | 0 | 0 | null | 2020-07-25T23:41:43 | 2020-07-25T23:41:42 | null | UTF-8 | Python | false | false | 283 | #!/home/sumit/bwwellnessgit/bwwellnessenv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from google_compute_engine.accounts.accounts_daemon import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"kr.sumit89@gmail.com"
] | kr.sumit89@gmail.com | |
958d113b7dc49abfd2c113aea5cf285a4af53537 | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /eKJ8E6wnd9GMWxGaZ_8.py | 5f555197ca00d6b2c3326f0fed5215bdd7b5c6bb | [] | no_license | daniel-reich/turbo-robot | feda6c0523bb83ab8954b6d06302bfec5b16ebdf | a7a25c63097674c0a81675eed7e6b763785f1c41 | refs/heads/main | 2023-03-26T01:55:14.210264 | 2021-03-23T16:08:01 | 2021-03-23T16:08:01 | 350,773,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 699 | py | """
Given a number, return a string which is formatted into **US Dollars and
cents!**
Remember that:
* You should round to two digits after the decimal point (even for integers).
* Thousandths should be separated by commas.
### Examples
dolla_dolla_bills(10) ➞ "$10.00"
dolla_dolla_bills(1000000)... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
08c4a63062e7a933301fc39ed08571c39a70f556 | cad563628f923dfdd3d52361fee7a9fc3a9a4c0e | /Model/lookalike-model/lookalike_model/application/pipeline/score_vector_table.py | aa8ee51f18231aea0bf6d13b63a107c94645a801 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla",
"Apache-1.1"
] | permissive | isabella232/incubator-bluemarlin | d21daae0216848b45a92b9fe03f61b7ef13627e7 | d40c9349e5559ec60c430a098b2ce31a54193816 | refs/heads/main | 2023-09-03T20:39:12.207839 | 2021-10-15T19:23:52 | 2021-10-15T19:23:52 | 418,089,865 | 0 | 0 | Apache-2.0 | 2021-10-17T10:33:10 | 2021-10-17T10:15:21 | null | UTF-8 | Python | false | false | 4,618 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may... | [
"reza_adib@yahoo.com"
] | reza_adib@yahoo.com |
ad55740cc694156174cc6620f83f9db9cf21e9a0 | 2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02 | /PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/tests/test_positional_encoding.py | d6f52269e5b9c0ccf7cd8b8303e3517cd76825d8 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference",
"GPL-1.0-or-later"
] | permissive | Ascend/ModelZoo-PyTorch | 4c89414b9e2582cef9926d4670108a090c839d2d | 92acc188d3a0f634de58463b6676e70df83ef808 | refs/heads/master | 2023-07-19T12:40:00.512853 | 2023-07-17T02:48:18 | 2023-07-17T02:48:18 | 483,502,469 | 23 | 6 | Apache-2.0 | 2022-10-15T09:29:12 | 2022-04-20T04:11:18 | Python | UTF-8 | Python | false | false | 3,411 | py | # coding:utf-8
# BSD 3-Clause License
#
# Copyright (c) 2017 xxxx
# All rights reserved.
# Copyright 2021 Huawei Technologies Co., Ltd
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code... | [
"wangjiangben@huawei.com"
] | wangjiangben@huawei.com |
1499bbd89813fd3f88772642e6f75feb85677ab0 | f9886d2b57d92186773d73f59dc0a0e9759b8944 | /03_sentdex_intermediate/13_Object_oriented_programming_intro.py | 0a02a8f8acbabe1a30a4c42325f7b11da91484c1 | [] | no_license | Meengkko/bigdata_python2019 | 14bab0da490bd36c693f50b5d924e27f4a8e02ba | a28e964ab7cefe612041830c7b1c960f92c42ad5 | refs/heads/master | 2022-12-12T15:51:21.448923 | 2019-11-08T03:50:15 | 2019-11-08T03:50:15 | 195,142,241 | 0 | 0 | null | 2022-04-22T22:37:59 | 2019-07-04T00:17:18 | HTML | UTF-8 | Python | false | false | 1,728 | py | # 13_Object_oriented_programming_intro
# 14_Creating_an_environment_intro
# 15_Many_blob_object
# 16 Object Modularity Thoughts
import pygame
import random
STARTING_BLUE_BLOBS = 10
STARTING_RED_BLOBS = 3
WIDTH = 800
HEIGHT = 600
WHITE = (255, 255, 255)
BLUE = (0, 0, 255)
RED = (255, 0, 0)
game_display = pygame.disp... | [
"you@ddd.com"
] | you@ddd.com |
60dd47a78bbbfeed613827dc76346ef427f78f0a | 24a291e5eb298b7c2b4f1105d789ac488457b59c | /Python_Pandas_Basics/Pandas01_10_FunEx04_김민교.py | 744821c1cb6438e769d8cb73e8042dc46ff602bd | [] | no_license | gmrdns03/Python-Introductory-Course_Minkyo | da3afff502ed44f178d5b3885fbb1b01249ad1de | ef0d4e16aee3dba6a4a10c422ef68b1465745833 | refs/heads/main | 2023-05-29T16:08:31.814542 | 2021-06-23T13:32:14 | 2021-06-23T13:32:14 | 379,300,979 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 263 | py |
# coding: utf-8
# ### **(두개)는 딕셔너리로 만들어진다
# #### Key = value형태의 결괏값이 그 딕셔너리에 저장된다.
# In[1]:
def print_kwargs(**kwargs):
print(kwargs)
print_kwargs(a=1)
print_kwargs(name='foo', age = '3')
| [
"noreply@github.com"
] | gmrdns03.noreply@github.com |
f4d7e5176fe5d5f0e0da796ebd0fdcb719d7fcc2 | eaf11c796012ef4d084a4b864cea88d347296356 | /9-Value-Investing/Magic_Formula/MagicFormulaTests.py | 47a6cd55398113008fb4466ef7a6cdf6ae8ea672 | [] | no_license | sra1github/QuantitativeFinance_RL | 9045dbcfb50bc19a3abec494ae7bc40cb7fe6018 | bbbc5764a7924ebea5a362f37341009ffa8d0b5c | refs/heads/master | 2023-02-02T08:49:29.225222 | 2020-12-21T02:52:49 | 2020-12-21T02:52:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,042 | py | import requests
from bs4 import BeautifulSoup
import pandas as pd
combined_financials = pd.read_csv('Com_Finance_data_NEW.csv')
# updating the tickers list based on only those tickers whose values were successfully extracted
tickers = combined_financials.columns
tickers = tickers[1:]
# print(tickers)
NewIdx = combine... | [
"andrei.sokurov.bitco@gmail.com"
] | andrei.sokurov.bitco@gmail.com |
c8bafbb8cd02123ee5f0414f29c7cec9a6f45cee | 9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97 | /sdBs/AllRun/sbss_1210+511/sdB_sbss_1210+511_lc.py | dd64d0256b40ba77c6513aa20b075e4134132b93 | [] | no_license | tboudreaux/SummerSTScICode | 73b2e5839b10c0bf733808f4316d34be91c5a3bd | 4dd1ffbb09e0a599257d21872f9d62b5420028b0 | refs/heads/master | 2021-01-20T18:07:44.723496 | 2016-08-08T16:49:53 | 2016-08-08T16:49:53 | 65,221,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 349 | py | from gPhoton.gAperture import gAperture
def main():
gAperture(band="NUV", skypos=[183.124667,50.900608], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_sbss_1210+511/sdB_sbss_1210+511_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3)
if __n... | [
"thomas@boudreauxmail.com"
] | thomas@boudreauxmail.com |
50523b70d569b6d3ce1301a56bfcfb16e61b6777 | 07645299e51aa4fb5c9229f0122e7c9771e2b2fd | /djangosige/apps/base/context_version.py | 48731810b0f64f0b217a23a65e20cd69c8b26c0b | [
"MIT"
] | permissive | brenothales/djangoSIGE | 22ab8940ce91b218a6bda118a29d16cc2d6dd314 | b4b7bca6a6c98edce06f411b344626c575f78f83 | refs/heads/master | 2020-12-02T22:17:53.588716 | 2017-07-02T19:28:34 | 2017-07-02T19:28:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 125 | py | # -*- coding: utf-8 -*-
from djangosige import __version__
def sige_version(request):
return {'versao' : __version__}
| [
"thiagovilelap@hotmail.com"
] | thiagovilelap@hotmail.com |
e4be68d03cc03e5abc1c0ed6bb991a34c9938ff6 | d1b711f66c5750b6f5251428416ab8e3aab17945 | /Creator/wsgi.py | c5c625e283e051d42844f12a1302594baa67396a | [] | no_license | rohitrajput-42/Task-Manager | f6473b38763177f8f43a99067914aa65850ec146 | d4773f9c607578bdb6ae3502e08d0f4217e6eb31 | refs/heads/main | 2023-06-18T00:50:40.932654 | 2021-07-07T02:49:16 | 2021-07-07T02:49:16 | 382,771,211 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 391 | py | """
WSGI config for Creator project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTI... | [
"rohit1471997@gmail.com"
] | rohit1471997@gmail.com |
1904d260d799fc0a7fdf78da4be46aa695a8c049 | ba416fc765f35c8f0e5f0faed20789fda27193e6 | /loader/load_testid.py | 9abd1d399b789ba7e06c7b500bb163be83d03d67 | [] | no_license | backonhighway/kaggle_talkingdata | 4ca085b0fb85525343294a228d2f1db254e1c533 | d6c2b76d3ef9e5c3fcaf84ed76ecbe22c419d70a | refs/heads/master | 2020-03-16T22:19:47.675303 | 2018-05-16T13:03:36 | 2018-05-16T13:03:36 | 133,034,893 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 554 | py | import pandas as pd
import gc
import csv_loader
file_name = "../input/test.csv"
dtypes = csv_loader.get_dtypes()
reader = pd.read_csv(file_name, dtype=dtypes, chunksize=1000*1000*10)
print("done loading...")
temp_df_list = []
for tmp_df in reader:
print("next_chunk")
tmp_df["index1"] = tmp_df.index
tmp ... | [
"pocketsuteado@gmail.com"
] | pocketsuteado@gmail.com |
25407d9cf14a929571cb5f6c0b9940e3478c9124 | e3d739317399940aac5e2fcd468da3fa94c87a1c | /Projects/RollingBack/rollback-0.py | ee88a5cc5047ed000554d9c23ca53fee5ad182f9 | [] | no_license | mohsen-mehrabani/Python_Udemy_Course | 9a03222b3ec5963108a48a044b15e2869b6d3338 | fdaef0fd970a956bccb0ee28de42b8ecf44d59b6 | refs/heads/master | 2021-01-30T13:11:10.762363 | 2020-05-01T14:02:16 | 2020-05-01T14:02:16 | 243,500,354 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,065 | py | class Account(object):
def __init__(self, name: str, opening_balance: float = 0.0):
self.name = name
self._balance = opening_balance
print("Account created for {}.".format(self.name), end=" ")
self.show_balance()
def deposit(self, amount: float) -> float:
if amount > 0.0... | [
"mohsen.mehrabani@hotmail.com"
] | mohsen.mehrabani@hotmail.com |
8f218f2ac92648c8e8056265f75ddc6226793e40 | 555b9f764d9bca5232360979460bc35c2f5ad424 | /google/ads/google_ads/v2/proto/enums/product_channel_pb2.py | 34944a13faf7c2612dd73dec4e6356947ab1e16f | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | juanmacugat/google-ads-python | b50256163782bc0223bcd8b29f789d74f4cfad05 | 0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a | refs/heads/master | 2021-02-18T17:00:22.067673 | 2020-03-05T16:13:57 | 2020-03-05T16:13:57 | 245,215,877 | 1 | 0 | Apache-2.0 | 2020-03-05T16:39:34 | 2020-03-05T16:39:33 | null | UTF-8 | Python | false | true | 3,829 | py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v2/proto/enums/product_channel.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import ... | [
"noreply@github.com"
] | juanmacugat.noreply@github.com |
266ea88aab35644cd1412843e5b439d4fdc7e6af | bfe1d367f09969c5f99b66960d23bd23db2d1cfd | /migrations/versions/0e54eb032201_user_notifications.py | 2e8956bc22ae4a85052fa3d8c9e72c61e44f8c7f | [] | no_license | sockduct/myblog | f97ed3e97262ea2d175499fb3acb7eac98cd3567 | 1b0a30e21c119b6c494d2f6241ff346a3bbcd4e9 | refs/heads/master | 2022-12-08T22:35:08.921777 | 2018-12-27T11:31:32 | 2018-12-27T11:31:32 | 160,174,872 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,145 | py | """User notifications
Revision ID: 0e54eb032201
Revises: 7a8ec1ea28d1
Create Date: 2018-12-15 15:46:21.390390
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '0e54eb032201'
down_revision = '7a8ec1ea28d1'
branch_labels = None
depends_on = None
def upgrade():
... | [
"james.r.small@outlook.com"
] | james.r.small@outlook.com |
e2a601182c4f5984600611d4ae75dc80a41c5b51 | 13d0ad57a2f5deb83593e73843be7cbeeaad8d3d | /easy/max_depth_n_ary_tree.py | 326b591ac53e3ffbc2f61b3b12083a6d71584bbf | [] | no_license | mwong33/leet-code-practice | b21f277d73b30df9e681499733baad07979480a1 | 9c0e6294bf3b3614b185f0760906abad60f8d9b6 | refs/heads/main | 2023-03-29T20:35:43.841662 | 2021-03-31T22:05:44 | 2021-03-31T22:05:44 | 317,382,193 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 988 | py | """
# Definition for a Node.
class Node:
def __init__(self, val=None, children=None):
self.val = val
self.children = children
"""
class Solution:
# O(n) space O(n) time
def maxDepth(self, root: 'Node') -> int:
if root == None:
return 0
if root.children =... | [
"noreply@github.com"
] | mwong33.noreply@github.com |
5df796e8c721f386995ceb3cae04b4ea1adf766e | 380e4a1a7052034b9177bfb0d6e2e6b661d91fc2 | /dashboard/dashboard/associate_alerts_test.py | 6a24e180766ad8c4bb383df53ff90e3b775b9a15 | [
"BSD-3-Clause"
] | permissive | SavoBit/catapult | 6832c77713ed44f9306c45535c2e069c11604f04 | d6c9e79555340ebce29aff6dc97f24c7618cbc84 | refs/heads/master | 2022-03-02T03:15:46.142768 | 2020-08-31T12:02:15 | 2020-09-01T01:21:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,872 | py | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
import unittest
import mock
import webapp2
imp... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a44e800b4bebb086f85b7d390e3a3e4ca0200d88 | 075ad2386ae2b51f181d9b3054b68ea7292d1603 | /python-ml/util/helpers.py | 26c527afe05d391d92a87616cbd9b81062379803 | [] | no_license | viktorfa/mpn-serverless | 1d50dac0abb88bf0dd32ed7ebfd9073b0ee47bc6 | 8f0f54e1d80e92bd72f57aa4c091ef6f6adb2186 | refs/heads/master | 2023-07-08T07:52:18.066375 | 2023-07-01T18:52:53 | 2023-07-01T18:52:53 | 214,096,586 | 0 | 0 | null | 2023-02-26T04:36:28 | 2019-10-10T05:44:25 | Python | UTF-8 | Python | false | false | 333 | py | import json
import pydash
def get_sns_message(event: dict) -> dict:
return json.loads(pydash.get(event, "Records.0.Sns.Message"))
def get_real_quantity(offer):
try:
return pydash.get(offer, "quantity.size.amount.min") * pydash.get(offer, "quantity.size.unit.si.factor")
except Exception:
... | [
"vikfand@gmail.com"
] | vikfand@gmail.com |
19cdf0610478681bc57d6b98a5310c13e6c9c20b | ce6fc44470dcb5fca78cdd3349a7be70d75f2e3a | /ORAC/AIIO 2006/Spies IV/prog.py | 5b75f831ae7c8d237c2f4444349ea9909629fb47 | [] | no_license | cormackikkert/competitive-programming | f3fa287fcb74248ba218ecd763f8f6df31d57424 | 3a1200b8ff9b6941c422371961a127d7be8f2e00 | refs/heads/master | 2022-12-17T02:02:40.892608 | 2020-09-20T11:47:15 | 2020-09-20T11:47:15 | 266,775,265 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 420 | py | inn = "spiesin.txt"
outn = "spiesout.txt"
inf=open(inn);outf = open(outn,"w");iinput=lambda:inf.readline().strip();
pprint=lambda args,sep=' ',end='\n':[outf.write(sep.join(map(str,args))+end),outf.flush()]
N = int(iinput())
XS = [None for i in range(N)]
YS = [None for i in range(N)]
for i in range(N):
a, b = map(... | [
"u6427001@anu.edu.au"
] | u6427001@anu.edu.au |
94a894915c91dc7a673cb31f8426fe12ab50a762 | 974c5a4f101d0e6f4dfa5fc2f7c641c9d2bd8184 | /sdk/appconfiguration/azure-appconfiguration/tests/test_azure_configuration_client_aad_async.py | 1102f0aefda75a13dfaeb3d914a1f20a55501ace | [
"LicenseRef-scancode-generic-cla",
"MIT",
"LGPL-2.1-or-later"
] | permissive | gaoyp830/azure-sdk-for-python | 4816f04c554dcffb7510a6b7044b0c86a2dd32e1 | 1c66defa502b754abcc9e5afa444ca03c609342f | refs/heads/master | 2022-10-20T21:33:44.281041 | 2022-09-29T17:03:13 | 2022-09-29T17:03:13 | 250,355,505 | 0 | 0 | MIT | 2020-03-26T19:42:13 | 2020-03-26T19:42:12 | null | UTF-8 | Python | false | false | 34,453 | py | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from azure... | [
"noreply@github.com"
] | gaoyp830.noreply@github.com |
98a0630b1ebd53d5fd1b4c56e737f1452f904c7e | 5de315bc92a87e73168cec627e96681abede801d | /rollover.py | 7deb29c544218c97f8de449baa3d930d49825472 | [] | no_license | chenxu0602/GlobalFutures | c1385d9cb81ff2c4c2a17e222e3270649bafc6cc | c74871aff88bb49e360f2ed7ffcd913c8d9684b5 | refs/heads/master | 2021-07-24T08:49:11.104234 | 2018-03-02T13:22:26 | 2018-03-02T13:22:26 | 96,419,545 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,786 | py | #!/usr/local/bin/python3
import numpy as np
import pandas as pd
import psycopg2 as pg
import sys, os, re
from collections import defaultdict
from datetime import date, datetime, timedelta
import operator
from srf_process import csv2sql
mon2char = {
'F' : 1,
'G' : 2,
'H' : 3,
'J' : 4,
'K' : 5,
'M' : 6,
'N' : 7... | [
"chenxu@Chens-iMac.local"
] | chenxu@Chens-iMac.local |
3cbbf5a7909dc2d18f33d21767894d70bcf2f900 | 1780cb2ba112f05f94d725b6cdab5ada09d89259 | /backend/medical_o_19581/urls.py | 2ab6dac19b221263cabe96239e0ad4f1151b17c8 | [] | no_license | crowdbotics-apps/medical-o-19581 | 257cf66392f01c760414ce0e25e12d41d831b7b0 | 84bd5e97699d2320f516627b0e950a2e6775b468 | refs/heads/master | 2022-11-28T16:03:58.515158 | 2020-08-15T16:58:09 | 2020-08-15T16:58:09 | 287,788,335 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,067 | py | """medical_o_19581 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.2/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')
Cla... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
f2131ddead1b266848efbbb0e546c7facf211199 | 9b64f0f04707a3a18968fd8f8a3ace718cd597bc | /huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/show_bigkey_autoscan_config_request.py | 2fa997480c5040d1ea5a8a86b7792db7a6346d9a | [
"Apache-2.0"
] | permissive | jaminGH/huaweicloud-sdk-python-v3 | eeecb3fb0f3396a475995df36d17095038615fba | 83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b | refs/heads/master | 2023-06-18T11:49:13.958677 | 2021-07-16T07:57:47 | 2021-07-16T07:57:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,824 | py | # coding: utf-8
import re
import six
class ShowBigkeyAutoscanConfigRequest:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value i... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
6ca587733a8bc8f3d7b3ddc28aaccdf7759a0d4f | 0485a490f466bd1d02eaae96d277888781208c0e | /tests/single_instruction_translation_validation/mcsema/register-variants-samereg/subq_r64_r64/Output/test-z3.py | 8c6304b929d7cb7fa070a6c7084e03d2aac5bc27 | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA"
] | permissive | Mthandazo42/validating-binary-decompilation | c0e2d54cd79e609bfa35802975bddfa52e646fad | c0fcd6f099e38195dcbbac9e8c13a825865c5cb5 | refs/heads/master | 2022-11-11T13:18:13.033044 | 2020-06-25T05:49:01 | 2020-06-25T05:49:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 21,331 | py | #############################################
######## Auto Generated Proof Scripts #######
#############################################
import z3
import sys
status=True
test_name="UnK"
if(len(sys.argv) > 1):
test_name = sys.argv[1]
def solve(msg, lvar, xvar, s):
global status
s.set("timeout", 60000)
res =... | [
"sdasgup3@illinois.edu"
] | sdasgup3@illinois.edu |
750233e796f427aaf64f8ab9e2174c61e8306f59 | 2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae | /python/python_28832.py | 476a8c960cda0ed902e0a3fb12efecad80dc9873 | [] | no_license | AK-1121/code_extraction | cc812b6832b112e3ffcc2bb7eb4237fd85c88c01 | 5297a4a3aab3bb37efa24a89636935da04a1f8b6 | refs/heads/master | 2020-05-23T08:04:11.789141 | 2015-10-22T19:19:40 | 2015-10-22T19:19:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 35 | py | # AttributeError in Python
warc.py
| [
"ubuntu@ip-172-31-7-228.us-west-2.compute.internal"
] | ubuntu@ip-172-31-7-228.us-west-2.compute.internal |
0d1ab6303a3e3f1334e1777518cb6b4dd76bd2c8 | 4ed0e1f2f8e92c32b9e5874a3f9661959a6d85ba | /src/ggrc/converters/handlers/assessment_template.py | fa8c07d74e6c953d04cf006a6804745b412f10a5 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | HLD/ggrc-core | a8e5619de0ee87e8e9826eff25fb26c98a8227f4 | 9bdc0fc6ca9e252f4919db682d80e360d5581eb4 | refs/heads/develop | 2022-08-11T05:44:50.639600 | 2017-11-22T02:45:31 | 2017-11-22T02:45:31 | 72,321,119 | 0 | 1 | Apache-2.0 | 2022-07-08T17:33:22 | 2016-10-30T02:47:13 | Python | UTF-8 | Python | false | false | 1,764 | py | # Copyright (C) 2017 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
"""Handlers for special object mappings."""
from sqlalchemy.orm.session import make_transient
from ggrc import db
from ggrc import models
from ggrc.converters.handlers import handlers
from ggrc.converters... | [
"zidarsk8@gmail.com"
] | zidarsk8@gmail.com |
a7b1bb1eeff9231554c6cb82f66035543f0e489b | d554b1aa8b70fddf81da8988b4aaa43788fede88 | /5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4487/codes/1753_1521.py | bd2c768b73bdf6d0bbdc4143b6377bab1cd7092f | [] | no_license | JosephLevinthal/Research-projects | a3bc3ca3b09faad16f5cce5949a2279cf14742ba | 60d5fd6eb864a5181f4321e7a992812f3c2139f9 | refs/heads/master | 2022-07-31T06:43:02.686109 | 2020-05-23T00:24:26 | 2020-05-23T00:24:26 | 266,199,309 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 150 | py | capacidade N= input(float("digite a quantidade: "))
estoque inicial=input(float("digite a quantidade: "))
quantidade Q= input(float("valor total"))
| [
"jvlo@icomp.ufam.edu.br"
] | jvlo@icomp.ufam.edu.br |
b67ab4b3c7f9939ddafa27a2ebdf3e7097c9cf4a | 993d873e4a78d1eea75f7419f00457453a648451 | /spirit/core/conf/defaults.py | d0ed3b9e447938d5f0040829fe1cce4d1adde553 | [
"MIT"
] | permissive | BinaryTree0/fer3 | b1483a0909e7060fe37b0b645317a25c3b9bd1e9 | 85c3bbf2f328e69ad4d7c01b6e2c8d4ef1d9e0a3 | refs/heads/master | 2022-12-07T13:03:08.288173 | 2020-03-10T15:23:40 | 2020-03-10T15:23:40 | 246,324,582 | 0 | 0 | MIT | 2022-11-22T05:23:20 | 2020-03-10T14:34:22 | CSS | UTF-8 | Python | false | false | 4,883 | py | # -*- coding: utf-8 -*-
"""
These are the default settings. \
They can be overridden by the project settings
"""
import os
#: The category's PK containing all of the private topics.
#: The category is auto-created and so this value should not change
ST_TOPIC_PRIVATE_CATEGORY_PK = 1
#: Enable/disable category orderin... | [
"filipradovic@protonmail.com"
] | filipradovic@protonmail.com |
441df14568c1a8b694e3c6d6afcdbc4675ecdae7 | d8cbe9ce0469f72b8929af01538b6ceddff10a38 | /homeassistant/components/lyric/__init__.py | 228cf4c1d5df753656ca1f11a46fc6eadc5528bb | [
"Apache-2.0"
] | permissive | piitaya/home-assistant | 9c1ba162dac9604e4d43e035e74bad7bba327f0b | 48893738192431f96966998c4ff7a3723a2f8f4a | refs/heads/dev | 2023-03-07T16:13:32.117970 | 2023-01-10T17:47:48 | 2023-01-10T17:47:48 | 172,578,293 | 3 | 1 | Apache-2.0 | 2023-02-22T06:15:56 | 2019-02-25T20:19:40 | Python | UTF-8 | Python | false | false | 6,090 | py | """The Honeywell Lyric integration."""
from __future__ import annotations
from datetime import timedelta
from http import HTTPStatus
import logging
from aiohttp.client_exceptions import ClientResponseError
from aiolyric import Lyric
from aiolyric.exceptions import LyricAuthenticationException, LyricException
from aio... | [
"noreply@github.com"
] | piitaya.noreply@github.com |
692903e3ecb513030cd197e4d9492e08d4e7b820 | d1cea43b6cf60f54342d80a68615aeef3228882b | /koytola/core/weight.py | 6c4f3317174ce277e6333ca2f5b80fd0765c4d5e | [] | no_license | salesshuban/koytola-repo | 33d82cbccb3264bddade80a5651a8be8eeb61942 | acb64d667a2e8b3e8ddf32ec569743e6597540e1 | refs/heads/main | 2023-08-14T02:13:46.134653 | 2021-09-30T12:09:47 | 2021-09-30T12:09:47 | 412,049,302 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,845 | py | """In Koytola we are using 'weight' instead of a 'mass'.
For those of us who are earth-bound, weight is what we usually experience.
Mass is a theoretical construct.
Unless we are dealing with inertia and momentum, we are encountering
the attractive force between ourselves and the earth,
the isolated effects of mass al... | [
"sales.shuban@gmail.com"
] | sales.shuban@gmail.com |
c3ae5da9469bd2c4c71c3a88de7bb24c5a053ee4 | 66c6df450753acc7c41db5afe66abd35d5018c8c | /cliente Rujel/bin135.py | 454e70b2ba7ef5195092b17f4a4ddb3c395979c7 | [] | no_license | hanmiton/CodigoCompletoEncriptacion | a33807d9470b538842751071031c9ce60951260f | efb7898af5d39025e98c82f1f71c8e9633cce186 | refs/heads/master | 2020-03-24T02:03:08.242655 | 2018-07-25T22:41:05 | 2018-07-25T22:41:05 | 142,360,817 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,410 | py | import sys
import math
import random
import openpyxl
import xlsxwriter
from time import time
LAMBDA = 16 #security parameter
N = LAMBDA
P = LAMBDA ** 2
Q = LAMBDA ** 5
def principal(m1,m2):
numsA = []
numsB = []
aux = []
numsAEncrypt = []
numsBEncrypt = []
keys= []
doc = openpyxl.load_workbook('cifrado.xlsx... | [
"hanmilton_12@outlook.com"
] | hanmilton_12@outlook.com |
75455ed42b46537d1db0458c86906e2f55ec1dd2 | facb8b9155a569b09ba66aefc22564a5bf9cd319 | /wp2/era5_scripts/02_preprocessing/concat82/445-tideGauge.py | 3ce3de5618e9648d50b61a195f92e2d73d1e28d7 | [] | no_license | moinabyssinia/modeling-global-storm-surges | 13e69faa8f45a1244a964c5de4e2a5a6c95b2128 | 6e385b2a5f0867df8ceabd155e17ba876779c1bd | refs/heads/master | 2023-06-09T00:40:39.319465 | 2021-06-25T21:00:44 | 2021-06-25T21:00:44 | 229,080,191 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,482 | py | # -*- coding: utf-8 -*-
"""
Created on Tue May 13 10:02:00 2020
---------------------------------------------------------
This script concatenates yearly predictor files
Browses the predictor folders for the chosen TG
Concatenates the yearly csvs for the chosen predictor
Saves the concatenated csv in a separate dire... | [
"michaelg.tadesse@gmail.com"
] | michaelg.tadesse@gmail.com |
8d92bb4445a9b3b250096c914aa5240f76bdfbfd | cd401d63c9f790ed99c9967f27940ef0fdd3901f | /Experiment/movie-test.py | fb4d9a24d259330b26f9eb475a9ba3c0e6b6d635 | [] | no_license | gprolog/python-for-learn | 696048351e09a3090639bf3e9bc7a97267cb7597 | e09c2de7f5e70fc818ac170d8708787a7ae075b2 | refs/heads/master | 2020-03-11T06:44:07.378422 | 2018-04-07T12:59:44 | 2018-04-07T12:59:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,848 | py | import requests
from bs4 import BeautifulSoup
from prettytable import PrettyTable
url='https://movie.douban.com/j/search_subjects?type=movie&tag=%E7%83%AD%E9%97%A8&page_limit=40&page_start=0'
class MovieCollection(object):
header='编号 评分 电影名称 电影id'.split
def __init__(self,rows):
self._rows=rows
... | [
"lpb.waln@outlook.com"
] | lpb.waln@outlook.com |
40e52411a14221e7ee78cf592e54d3daec6ba9aa | 9c577e80c68aa0357977f817b9d33d0c10572834 | /test_insight.py | aecb6a661995e4d886046786ed1f9e1932311c29 | [] | no_license | ruixiaoruirui/AIfuture | 8ae7113a68c1bde8019137c2131c06292a771360 | 4865b401080bd454f358971351ecbc91604a181f | refs/heads/master | 2022-04-12T18:16:27.631373 | 2019-07-09T15:17:27 | 2019-07-09T15:17:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,693 | py | from __future__ import print_function, division
import argparse
import csv
import numpy as np
import os
import mxnet as mx
from retinaface import RetinaFace
from face_model import FaceModel
import cv2
import mxnet_interface
def parse_args():
parser = argparse.ArgumentParser(description='Test Face Recogonition task... | [
"821244608@qq.com"
] | 821244608@qq.com |
f01870bb5b5f210cb5b1758c6139baff0d882e73 | 350db570521d3fc43f07df645addb9d6e648c17e | /1138_Alphabet_Board_Path/solution_test.py | 4b30d8e71722bde93b2036b8f28ad3203da1f8c0 | [] | no_license | benjaminhuanghuang/ben-leetcode | 2efcc9185459a1dd881c6e2ded96c42c5715560a | a2cd0dc5e098080df87c4fb57d16877d21ca47a3 | refs/heads/master | 2022-12-10T02:30:06.744566 | 2022-11-27T04:06:52 | 2022-11-27T04:06:52 | 236,252,145 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 373 | py |
'''
1138. Alphabet Board Path
Level: Medium
https://leetcode.com/problems/alphabet-board-path
'''
import unittest
class TestSum(unittest.TestCase):
def test_sum(self):
self.assertEqual(sum([1, 2, 3]), 6, "Should be 6")
def test_sum_tuple(self):
self.assertEqual(sum((1, 2, 2)), 6, "Should b... | [
"benjaminhuanghuang@gmail.com"
] | benjaminhuanghuang@gmail.com |
a004c70b6ef0540c15133761658524b20ab0fd7c | 5bfbf31332a5c4750ab57d305f400aa5e20bf6bd | /great_expectations/rule_based_profiler/domain_builder/categorical_column_domain_builder.py | 18380a30837be39a5e1120d4ada89990347d08fa | [
"Apache-2.0"
] | permissive | alexsherstinsky/great_expectations | 9d4ae4c06546c5ab2ee0d04fb7840e3515c25677 | 2fc4bb36a5b3791c8ada97c5364531cd7510d4ed | refs/heads/develop | 2023-08-04T13:13:38.978967 | 2023-07-24T18:29:46 | 2023-07-24T18:29:46 | 203,888,556 | 1 | 0 | Apache-2.0 | 2020-07-27T09:12:21 | 2019-08-22T23:31:19 | Python | UTF-8 | Python | false | false | 17,304 | py | from __future__ import annotations
from typing import (
TYPE_CHECKING,
ClassVar,
Dict,
Iterable,
List,
Optional,
Set,
Tuple,
Type,
Union,
)
import great_expectations.exceptions as gx_exceptions
from great_expectations.core.domain import Domain, SemanticDomainTypes
from great_ex... | [
"noreply@github.com"
] | alexsherstinsky.noreply@github.com |
52db517040b33840b2d39babac4e278755d8baff | 7e00b0ff35f8b019ad88859e400aaeda43a84c67 | /gen_dataset/assemble_Rnet_imglist.py | 489d9c107d3dfc7e7b8b1163b9b611394c0ef76a | [] | no_license | brahimbellahcen/MTCNN_PyTorch | 3093a5310627c68b56b2d243a4eb47daf84a4fe2 | 752b9f0f32f5c25df5647c7c279c24715dc3aa87 | refs/heads/master | 2022-11-05T03:46:46.648875 | 2020-06-29T13:00:21 | 2020-06-29T13:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 733 | py | import os
import sys
sys.path.append(os.getcwd())
import assemble
mode = 'val'
rnet_postive_file = 'annotations/pos_24_{}.txt'.format(mode)
rnet_part_file = 'annotations/part_24_{}.txt'.format(mode)
rnet_neg_file = 'annotations/neg_24_{}.txt'.format(mode)
# pnet_landmark_file = './annotations/landmark_12.txt'
imglis... | [
"vincentcheng929@gmail.com"
] | vincentcheng929@gmail.com |
b844f83e7f78bb6002c08c1f8fda532dc72360e9 | fe69c22d707a4749e9d8af21b1aa694ec5b31458 | /functions/cash_to_coins.py | 2c990fe9701f7980cc240f94c876c639bf5eaff0 | [] | no_license | krnorris65/python-exercises | 37a12c49fc2c702c25a613fd3d322de80bab614d | bb2f00497474f2bd1e0228c0b4b5c00fcc64b0c1 | refs/heads/master | 2021-05-24T15:31:50.792364 | 2020-04-15T18:32:26 | 2020-04-15T18:32:26 | 253,631,766 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,787 | py | import math
dollar_amount = 8.69
piggy_bank = {
"pennies": 0,
"nickels": 0,
"dimes": 0,
"quarters": 0
}
# calc_coins original
# def calc_coins (amount):
# total_remaining = amount
# while(total_remaining != 0):
# if(total_remaining >= .25):
# num_quarters = math.floor(total... | [
"krnorris65@gmail.com"
] | krnorris65@gmail.com |
f8c4fd3f1b07cb19de3054395fe3144ca0d91b61 | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/5/nxz.py | 221493451ec27cdf17b99e7d08358e05b69e4479 | [] | 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 |
8d363dd3bc9da0849165433b7982bb768f746e25 | bd42e2e215dc41bcf0bbc75de5f72038a867b5d8 | /categorys/migrations/0003_auto_20210925_1846.py | d1b3657a81c934abf1c2d46dad1eba786fbf320f | [] | no_license | aziz2719/COURSES-APP- | e83edd46abdc34acb30839e707f088969c158ed3 | 431e6273a7f395f22987dfb7bf54fcd3402ea4ea | refs/heads/master | 2023-08-23T09:26:54.441490 | 2021-10-20T09:43:03 | 2021-10-20T09:43:03 | 409,220,098 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 763 | py | # Generated by Django 3.2.7 on 2021-09-25 12:46
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('categorys', '0002_alter_contact_status'),
]
operations = [
migrations.AddField(
model_name='bra... | [
"davletovaziz511@gmail.com"
] | davletovaziz511@gmail.com |
fcde3d5b055e8efd07290c5c5e4cb8bc2ff9383f | e52b0124ad5f875ea16a10cc8aa5e771f5d7c3ea | /guniflask/scheduling/async_config.py | 22cad5adedbc74756eed9f5008bd814fcb31d1a9 | [
"MIT"
] | permissive | jadbin/guniflask | 24ec0c755827fe15ebbfeaec3149882ac6bc79b9 | f0f5029d03219b7793482dc3ed09eab508e538d6 | refs/heads/master | 2023-08-18T07:56:36.331037 | 2023-08-09T02:48:23 | 2023-08-09T02:48:23 | 147,511,047 | 14 | 2 | null | null | null | null | UTF-8 | Python | false | false | 983 | py | from abc import ABCMeta, abstractmethod
from guniflask.context.annotation import configuration, bean
from guniflask.scheduling.async_executor import AsyncExecutor, DefaultAsyncExecutor
from guniflask.scheduling.async_post_processor import AsyncPostProcessor
from guniflask.scheduling.config_constants import *
class A... | [
"jadbin.com@hotmail.com"
] | jadbin.com@hotmail.com |
9a189ae57fe656dc446a0afdd140d3e6ef365e4a | d2c4934325f5ddd567963e7bd2bdc0673f92bc40 | /tests/artificial/transf_Logit/trend_Lag1Trend/cycle_0/ar_/test_artificial_128_Logit_Lag1Trend_0__100.py | 3df56ffb6b6f05b941ae37e129c4c0d6954ac3ea | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jmabry/pyaf | 797acdd585842474ff4ae1d9db5606877252d9b8 | afbc15a851a2445a7824bf255af612dc429265af | refs/heads/master | 2020-03-20T02:14:12.597970 | 2018-12-17T22:08:11 | 2018-12-17T22:08:11 | 137,104,552 | 0 | 0 | BSD-3-Clause | 2018-12-17T22:08:12 | 2018-06-12T17:15:43 | Python | UTF-8 | Python | false | false | 266 | py | import pyaf.Bench.TS_datasets as tsds
import pyaf.tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 0, transform = "Logit", sigma = 0.0, exog_count = 100, ar_order = 0); | [
"antoine.carme@laposte.net"
] | antoine.carme@laposte.net |
790e933d4dee72399f409695b6b03e98823c690a | c520fa216470142530c62aedfaca3add9904233f | /utils/config.py | 25f242c9dd3c6490d94fbb67ea6b02c0d0c90632 | [
"MIT"
] | permissive | iChenning/face_detection | 7aecc99b3f4b4fa7b50cf64e273138bec4fcad8f | d9960144284cfdc391af8a9eb020e0dcc1bc3c02 | refs/heads/main | 2023-04-10T04:40:07.936046 | 2021-04-15T10:27:53 | 2021-04-15T10:27:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 998 | py | # config.py
cfg_mnet = {
'name': 'mobilenet0.25',
'min_sizes': [[16, 32], [64, 128], [256, 512]], # [[12, 24], [48, 96], [192, 384]] [[16, 32], [64, 128], [256, 512]],
'steps': [8, 16, 32],
'variance': [0.1, 0.2],
'clip': False,
'loc_weight': 2.0,
'gpu_train': True,
'batch_size': 32,
... | [
"chen19940524@live.com"
] | chen19940524@live.com |
dd9f37e1e21a4dcea5edcf9bdbef49cc2a035bdd | 084e9ed31b9f9fced7b1e5c9a4cae50b5c8b7eb5 | /cltk/stop/classical_hindi/stops.py | 84009a4e025418b33addd1ad76b8b615d200eb2c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | vikrant97/cltk | 7c9845d5e37fbfe256f862bb61c6ffe217f9104e | e9e0cdb9648d0104724db39a7bf1d8a2dc241e67 | refs/heads/master | 2021-04-30T02:15:08.075598 | 2018-02-16T12:37:04 | 2018-02-16T12:37:04 | 121,498,013 | 0 | 0 | null | 2018-02-14T10:27:53 | 2018-02-14T10:27:52 | null | UTF-8 | Python | false | false | 3,662 | py | """ Classical Hindi Stopwords
This list is composed from 100 most frequently occuring words in classical_hindi corpus <https://github.com/cltk/hindi_text_ltrc> in CLTK.
source code : <https://gist.github.com/inishchith/ad4bc0da200110de638f5408c64bb14c>
"""
__author__ = 'Nishchith Shetty <inishchith[at]gmail[.]com>'
ST... | [
"kyle@kyle-p-johnson.com"
] | kyle@kyle-p-johnson.com |
f6eb7f3bd8458ba1c954fd67a09955a21405d693 | c5759366f8b2cb2e129df0637b62774225a0c41a | /code/tensor2tensor/tensor2tensor/utils/multistep_optimizer.py | 3f516cd8e9cd968b9c37d5ba2fce10130da8c85a | [
"Apache-2.0"
] | permissive | cake-lab/transient-deep-learning | f8646a4386528aa147d8d3dcdff8089985870041 | 87c6717e4026801623cf0327e78ad57f51cb1461 | refs/heads/master | 2022-11-02T20:02:29.642997 | 2022-02-08T16:51:09 | 2022-02-08T16:51:09 | 227,036,173 | 11 | 1 | Apache-2.0 | 2022-10-05T13:01:38 | 2019-12-10T05:27:50 | Python | UTF-8 | Python | false | false | 5,295 | py | # coding=utf-8
# Copyright 2018 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | [
"ozymandias@OzymandiasdeMacBook-Pro.local"
] | ozymandias@OzymandiasdeMacBook-Pro.local |
c057549d1aa0b3c93fecd1c6df937f5c80c01fa5 | 43efc83672362b49a4a37dd8389624be9b004b09 | /core/domain/opportunity_services_test.py | dfbb12b74649d964188bccc912875d612f5faf48 | [
"Apache-2.0"
] | permissive | tejasdubhir/oppia | 52b6c4efc4c6b71a5a43842eeb526ef0f596363f | 7706a1c34462b6dd18456efa9fb39a7747a4c37b | refs/heads/develop | 2021-07-12T23:03:53.365217 | 2020-10-04T06:56:32 | 2020-10-04T06:56:32 | 212,261,162 | 0 | 1 | Apache-2.0 | 2020-10-04T06:56:34 | 2019-10-02T05:20:06 | null | UTF-8 | Python | false | false | 14,945 | py | # coding: utf-8
#
# Copyright 2014 The Oppia 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 requi... | [
"sean@seanlip.org"
] | sean@seanlip.org |
bd50dfceff1f72eb969776d5c30c9c0ec8a764cd | ea4aefd5ab0cc7660fc4da6fc69db577a3fc83ed | /tjdests/middleware/access_log.py | 664d67592aa1bac7f109673b107a998e7fe61038 | [] | no_license | jwoglom/tjdests | 54ee94ce1135072552ea21e98dac3c00f9feafc0 | 6939790a442b074bccb4b64050cc238c439bdc73 | refs/heads/master | 2021-01-10T09:30:52.503607 | 2016-12-14T03:13:07 | 2016-12-14T03:15:36 | 46,649,431 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 931 | py | import logging
from datetime import datetime
logger = logging.getLogger("tjdests_access")
class AccessLogMiddleWare(object):
def process_response(self, request, response):
try:
is_anon = request.user.is_anonymous()
except AttributeError:
is_anon = True
if is_anon... | [
"j@wogloms.net"
] | j@wogloms.net |
32b6d9313b8160ad2eb3824907f820480da99cf1 | 806bf6a28854da12df7fad1deefa175f4e974ad6 | /visualization/c4.2.08.py | 5ca95215a9b8e688cb82c4636d1899f33fc74b56 | [] | no_license | qliu0/PythonInAirSeaScience | ba613e61ce331e5e2b4b5c0045f0223cde42718b | 1c8d5fbf3676dc81e9f143e93ee2564359519b11 | refs/heads/master | 2023-08-28T08:24:15.894918 | 2021-08-26T12:26:58 | 2021-08-26T12:26:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 203 | py | import numpy as np
from mayavi import mlab
def test_barchart():
""" Demo the bar chart plot with a 2D array."""
s = np.abs(np.random.random((3, 3)))
return mlab.barchart(s)
test_barchart()
| [
"queensbarry@foxmail.com"
] | queensbarry@foxmail.com |
145a4a72bdb16ab261ba0edbee5538d0107c0d21 | 4fef7893e9c1ffef81cc5bb723e5859e7bbf3850 | /dozer/tests/test_leak.py | cd863dae8a5ccd9160028751df515723acd645e1 | [
"LicenseRef-scancode-public-domain"
] | permissive | nmoskopp/dozer | d38d7735b289ff6a38bde06135f3fab2d2a2e0fc | 1a91debff9a24975eb87f77ec341bd48f11d99d3 | refs/heads/master | 2020-03-17T13:47:15.351039 | 2018-04-13T16:35:37 | 2018-04-13T16:35:37 | 133,644,545 | 0 | 0 | null | 2018-05-16T09:49:27 | 2018-05-16T09:45:54 | Python | UTF-8 | Python | false | false | 8,549 | py | import gc
import unittest
from mock import patch
from webob import Request
from webtest import TestApp
from dozer.leak import Dozer
from dozer.leak import ReferrerTree
from dozer.leak import url
class DozerForTests(Dozer):
def __init__(self, app=None, *args, **kw):
super(DozerForTests, self).__init__(ap... | [
"marius@gedmin.as"
] | marius@gedmin.as |
791a7e941419b9ccf3678b96a52f9bda87b75366 | 05b6b7dd363567f2ad0ee4f7767abe5e551480f6 | /qttasks/read_tsv.py | 82d16c4dbff8ae6fd0e958ba9fe159af647542ac | [
"MIT"
] | permissive | UMCU-RIBS/qttasks | 3fc1fd24dfb4b2b2264dae4092216f99c3dc1e56 | 2870af84077316f2bd25e5711d468bc622629c3f | refs/heads/master | 2023-08-15T05:16:30.914342 | 2021-09-28T15:39:39 | 2021-09-28T15:39:39 | 404,675,426 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,748 | py | from numpy import (
append,
atleast_1d,
array,
dtype,
empty,
genfromtxt,
squeeze,
)
from PyQt5.QtGui import QPixmap
def read_stimuli(P):
task_dir = P['TASK_TSV'].parent
tsv = genfromtxt(
fname=str(P['TASK_TSV']),
delimiter='\t',
names=True,
dty... | [
"github@gpiantoni.com"
] | github@gpiantoni.com |
9aa6d952f40d493ed28deba40058b043ba645859 | 936243a10fe20b2c22a0b424fd15b2c155c45b2c | /chemex/experiments/cest/n_iph_fast/exp_help.py | d8891baed91164ac9010341e2ac42f8c8a4adeaa | [
"BSD-3-Clause"
] | permissive | yinagu/chemex | 712e0324f4659a1ef2383562c0e0ad67a3ae620b | f5e81151543ab597b0eb3089f35884694a36f4f8 | refs/heads/master | 2021-01-18T09:00:55.397828 | 2015-01-15T15:22:51 | 2015-01-15T15:22:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 646 | py | """
Created on Mar 2, 2012
@author: Alex Hansen
"""
parse_line = "15N - Pure In-phase Nitrogen CEST (Fast) [experimental]"
description = """
Analyzes 15N chemical exchange in the presence of 1H composite
decoupling during the CEST block. This keeps the spin system purely
in-phase throughout, and is calcu... | [
"gbouvignies@gmail.com"
] | gbouvignies@gmail.com |
1348fde58aa133d1f801d43b24892e7e3971dfb4 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2946/60712/255404.py | caee678287dfbb5e62a13e243bab0317bd1c610a | [] | 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 | 288 | py | l = list(input())
length = len(l)
s=[1]*length
s = "".join(s)
times=0
for i in range(length-1):
if s =="".join(l):
print(times)
break
for j in range(i+1):
if l[j]=='0':
l[j]='1'
else:
l[j]='0'
times+=1
| [
"1069583789@qq.com"
] | 1069583789@qq.com |
c6c5a1021a1d3d3ae1392501736b6cd129458e56 | 9b57429efa72dbfa2ead9ae8d98a148475264aef | /realtime_dataapp/urls.py | bd54d0d8d02d0b8cc0519b79adfd896267553096 | [] | no_license | Scottars/nis_website | 7d78b1ab8647ebf17bc2b020660a56ac6f6a039f | 2025e428dd65dba06c95738233978604ee011570 | refs/heads/master | 2022-03-07T19:04:15.565128 | 2021-01-19T16:03:50 | 2021-01-19T16:03:50 | 218,421,853 | 0 | 0 | null | 2022-03-02T06:49:57 | 2019-10-30T01:58:29 | JavaScript | UTF-8 | Python | false | false | 302 | py | from django.urls import path
from realtime_dataapp.views import realtimeshow,realtimeshowmulti,fast_display
urlpatterns = [
path('realtimeshow', realtimeshow, name='send-url'),
path('realtimeshowmulti', realtimeshowmulti, name='send-url'),
path('fastdisplay', fast_display, name='send-url'),
] | [
"ScottarSEEE@hust.edu.cn"
] | ScottarSEEE@hust.edu.cn |
93bb9dddae733229448481125e69b8717cd049fa | 426ecabad493dd07ee94156a5f8083a42bf13b08 | /ast2vec/tests/test_join_bow.py | 60ef311f7faad661a7c0a2b4d3463a2f0b869a26 | [
"Apache-2.0"
] | permissive | marnovo/ml | f9663ebce7d4af7dd841b8e2093f650dbb10c331 | 76761cd4ed318bc141658026fe180deb8aab5b2f | refs/heads/master | 2023-07-25T03:19:35.266107 | 2017-11-14T14:43:53 | 2017-11-14T14:44:38 | 110,726,471 | 0 | 0 | Apache-2.0 | 2023-07-05T21:16:30 | 2017-11-14T18:07:08 | Python | UTF-8 | Python | false | false | 926 | py | import argparse
import unittest
import tempfile
from ast2vec.bow import NBOW
from ast2vec.model2.join_bow import joinbow_entry
import ast2vec.tests.models as paths
class JoinBowTests(unittest.TestCase):
def test_join_nbow(self):
with tempfile.NamedTemporaryFile(prefix="ast2vec-test-join-nbow-", suffix=".... | [
"vadim@sourced.tech"
] | vadim@sourced.tech |
1053e0cbb2bf06834e4ca72b9910dc9dd121690a | 568fa58296378fa129ab3349adf010daa44ed45b | /third_party/incubator-tvm/python/tvm/relay/backend/_vm.py | e88f02a5a7c8def36cbd611f29d95047c6ed62fd | [
"Apache-2.0",
"BSD-3-Clause",
"NCSA",
"X11-distribute-modifications-variant",
"Zlib",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"LLVM-exception",
"BSD-2-Clause"
] | permissive | mindspore-ai/akg | 37f471badc66de6a831f1f45ad84344f34d23ef2 | 99f33858d6972741748cbfc9ab0bf9600428fef7 | refs/heads/master | 2023-07-25T23:03:17.672665 | 2023-07-11T07:33:57 | 2023-07-11T07:33:57 | 274,077,856 | 319 | 36 | Apache-2.0 | 2021-12-30T13:43:08 | 2020-06-22T08:09:05 | Python | UTF-8 | Python | false | false | 907 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"1027252281@qq.com"
] | 1027252281@qq.com |
d2ebd3e576517ec9945c55225b3879108544c740 | 6298b86479fa0c32a7627587d02ee94f2119b634 | /rapidsmsrw1000/apps/ubuzima/helper.py | fd83538826b3a70e34e97c59d4db0a66d99a9173 | [] | no_license | timkaboya/rapidsmsrw1000 | 99b2b158c3a73087b232b912b69f526f0b1cfd4e | 54655ea1c7a8f5399ff3c1276fcfbd0a6d391c19 | refs/heads/master | 2021-01-18T12:12:13.202580 | 2013-12-06T14:51:47 | 2013-12-06T14:51:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 100 | py | from ubuzima.models import *
class Helper(object):
def __init__(self):
self.statistics = {}
| [
"zigdidier@gmail.com"
] | zigdidier@gmail.com |
a80e2a2c1f05ad41db424362a3c7e7545179d6c3 | afb4cf30e328c78efc7adad573a4e4a1870754b6 | /Go Through/Eclipse Python/Image Comparision/Extra/pixelswirl.py | 692caed3896fc7ec481125d7a44db9a264f0767f | [
"Apache-2.0"
] | permissive | mmcclain117/School-Code | 5c404aaa9b95df136ba382dff79cb7d44e56b4bc | aa9c501d42fc51fa9a66f53c65b875408a40ea0c | refs/heads/main | 2023-01-21T00:27:18.669866 | 2020-11-29T21:32:52 | 2020-11-29T21:32:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,097 | py | void main()
{
gl_Position = ftransform();
gl_TexCoord[0] = gl_MultiTexCoord0;
}
[Pixel_Shader]
// Scene buffer
uniform sampler2D tex0;
// Currently not used in this demo!
uniform float time;
// GeeXLab built-in uniform, width of
// the current render target
uniform float rt_w;
// GeeXLab built-in uniform... | [
"codingmace@gmail.com"
] | codingmace@gmail.com |
557c641254e8ace90f4cbb113758a65208d15d3f | a7ddb0363f6563364b13740ea4d8c5a735625c39 | /src/crawler/import_leaderboard.py | 389b8c7056ea8bb1042f71e7bc28f48f2bf80e5d | [] | no_license | Yarin78/advent-of-code | 9d8160ad4d6a4fd5da700f5173d1576266d99eb3 | 939cad2bf1dab2bb124f259c8e55ccdfa9833b1b | refs/heads/master | 2023-01-10T10:30:00.380515 | 2022-12-25T05:15:17 | 2022-12-25T05:15:17 | 230,936,959 | 3 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,330 | py | import sys
from typing import List, Tuple
import requests
from dataclasses import dataclass
from bs4 import BeautifulSoup
import mysql.connector
@dataclass
class LeaderboardEntry:
pos: int
score: int
duration: int
name: str
def extract_daily_leaderboard(html_doc: str) -> Tuple[List[LeaderboardEntry], ... | [
"jimmy.mardell@gmail.com"
] | jimmy.mardell@gmail.com |
dbf90b52192c9554253c5546956aef5f201e8622 | 0c70dcec22a090e70b1f20613ea6e0a64fd9a037 | /GPS卫星位置的计算/venv/Lib/site-packages/pandas/core/arrays/timedeltas.py | 6e06ab3808be4dc5e95e2891e2942f765ee01b25 | [
"MIT"
] | permissive | payiz-asj/Gis | 82c1096d830878f62c7a0d5dfb6630d4e4744764 | 3d315fed93e2ab850b836ddfd7a67f5618969d10 | refs/heads/main | 2023-06-27T15:25:17.301154 | 2021-08-03T10:02:58 | 2021-08-03T10:02:58 | 392,269,853 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 36,157 | py | from datetime import timedelta
from typing import List
import numpy as np
from pandas._libs import lib, tslibs
from pandas._libs.tslibs import NaT, Period, Tick, Timedelta, Timestamp, iNaT, to_offset
from pandas._libs.tslibs.conversion import precision_from_unit
from pandas._libs.tslibs.fields import get_time... | [
"1778029840@qq.com"
] | 1778029840@qq.com |
5b5ad341c822e6abbeafe1de76eb7d6501ad6c55 | fdff2cfe5289d4cba4a457eee4b64fee5c6aea5a | /setup.py | 98967d4be7eccce080dcf5241e88006348896eef | [
"MIT"
] | permissive | Ramblurr/jsonmapping | bf729bbdada7eac6c12b0acb70c6e5f0b805dbc7 | 76110c46b22084d3a830e2b291d2d0f71295e376 | refs/heads/master | 2020-12-24T21:00:38.609298 | 2015-09-08T13:20:33 | 2015-09-08T13:20:33 | 41,037,613 | 0 | 0 | null | 2015-08-19T13:58:17 | 2015-08-19T13:58:16 | Python | UTF-8 | Python | false | false | 1,245 | py | from setuptools import setup, find_packages
setup(
name='jsonmapping',
version='0.3.1',
description="Map flat data to structured JSON via a mapping.",
long_description="",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Ap... | [
"friedrich@pudo.org"
] | friedrich@pudo.org |
34ad234204a8c2271fc08fbe3c67da48dbb76b92 | 62c58170689d6fc1669a6f4a92f8e777a390b49a | /lie_detector_server/manage.py | 5a030501aa320bbe20c3f51f25c2703462688718 | [] | no_license | svclaw2000/Lie-Detector | 3e89bc9ecf608ab29c5439bd9cba2352a2557408 | e9c46a342ab1d7b539bf5073800803e24b56d4fa | refs/heads/main | 2023-02-28T09:42:03.597097 | 2021-02-06T03:13:29 | 2021-02-06T03:13:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 639 | 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', 'lie_detector_server.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
... | [
"svclaw2000@gmail.com"
] | svclaw2000@gmail.com |
cb3ae73746cc81df048d87821d98051b18ad5ad9 | 4ceb3f541a5a0be6bbf6a5278ac17453731e85ad | /NextFlow/BenchMark/src/FCN_Object.py | a0c14b029dabb7d1f62476ed666645b19dd87f7e | [] | no_license | PeterJackNaylor/PhD_Fabien | 18bdc0f1accfc16ce8bbb47075d9936df1ab22d9 | 830bed0a15b3a70ed0692a47f6e33412bc8357b7 | refs/heads/master | 2020-04-06T05:01:18.615853 | 2018-02-19T17:44:01 | 2018-02-19T17:44:01 | 58,540,640 | 6 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,779 | py | import tensorflow as tf
import copy
import pdb
from tf_image_segmentation.models.fcn_8s import FCN_8s
from tf_image_segmentation.utils.tf_records import read_tfrecord_and_decode_into_image_annotation_pair_tensors
from tf_image_segmentation.utils.training import get_valid_logits_and_labels
from tf_image_segmentation.uti... | [
"peter.naylor@mines-paristech.fr"
] | peter.naylor@mines-paristech.fr |
26288ffcc9bfbcc6e29e9463df40f4daef9dcce5 | 9cda2257468d0ef2f7706d4d07099a7b6d897f02 | /letecode/1-120/1-24/13.py | b3f4ee7fa7770dca1857d6421d93b400dea37093 | [] | no_license | hshrimp/letecode_for_me | 4ba4031803687d7a309da9af4f003a328b48e53e | 6dc5b8968b6bef0186d3806e4aa35ee7b5d75ff2 | refs/heads/master | 2021-12-11T07:37:22.323713 | 2021-08-23T08:16:00 | 2021-08-23T08:16:00 | 204,437,378 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,012 | py | #!/usr/bin/env python
# encoding: utf-8
"""
@author: wushaohong
@time: 2019-12-16 10:08
"""
"""罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。
字符 数值
I 1
V 5
X 10
L 50
C 100
D 500
M 1000
例如, 罗马数字 2 写做 II ,即为两个并列的 1。12 写做 XII ,即为 X + II 。 27 ... | [
"wushaohong@zhongan.com"
] | wushaohong@zhongan.com |
39e99ddbb4d93d3c496c2b2523ad62c76674d022 | 1e0fd6a8626b3293d6d1546b509cc5580b38fbfd | /datasets/biccn-yao_integrated_transcriptomic_and_epigenomic_atlas/scripts/reformat_add_metadata_smart.py | 50f3387c1c1b9ca7997e2ddf521187b52406bebd | [
"MIT"
] | permissive | rcannood/single-cell-curation | d5ad98539126c2d1ce9a1c4aea6a270f34e96cde | 721ac0519f1af8d59fe711907fb9b0b1883e2296 | refs/heads/main | 2023-07-20T03:32:23.226512 | 2021-09-02T19:39:18 | 2021-09-02T19:39:18 | 403,897,539 | 0 | 0 | MIT | 2021-09-07T08:17:15 | 2021-09-07T08:17:15 | null | UTF-8 | Python | false | false | 2,380 | py | # Reformats data and appends metadata. Outputs h5ad
# Steps
# 1. Transposes mtx file to make it compatible with scanpy
# 2. Reads in mtx count file as anndata, and metadata files.
# 3. Joins metadata matrices
# 4. Appends metadata to anndata
# 5. Writes to file
# example
# python3 reformat_add_metadata_10X.py ./data/o... | [
"paedugar@gmail.com"
] | paedugar@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.