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
b12345375b94548d94e5c5d384d0d44efc75d30c
de644b254b17a28f82e9212d80872a3d9eca2149
/lib/3rdparty/common/pyqode/core/modes/matcher.py
ef91213f5b3d9565aa19c4386b331542604bd593
[ "MIT" ]
permissive
pixpil/gii
506bee02b11eb412016b583d807dcfcc485e189c
ba6d94ada86d82bacae06f165567a02585264440
refs/heads/master
2021-12-03T06:30:31.503481
2021-11-24T03:02:49
2021-11-24T03:02:49
431,331,021
4
1
null
null
null
null
UTF-8
Python
false
false
9,842
py
# -*- coding: utf-8 -*- """ This module contains the symbol matcher mode """ from pyqode.core.api import get_block_symbol_data from pyqode.core.api.decoration import TextDecoration from pyqode.core.api.mode import Mode from qtpy import QtWidgets, QtGui #: symbols indices in SymbolMatcherMode.SYMBOLS map PAREN = 0 SQU...
[ "tommo.zhou@gmail.com" ]
tommo.zhou@gmail.com
cbd29b856aba6d0d9418a5a5179e29983c94d569
a79da24bda658f588fd8e71c7e63f01931c1a694
/bigapple/venv/lib/python3.7/site-packages/plotly/graph_objs/scattergl/_hoverlabel.py
6982130da59b7a13a6e1195a1e75fb89e953bc35
[]
no_license
replicantdeca/bigapple-insys
60519b486f13e1a3eb18b5ba637e45deaf8e1d8e
5e7328fb94362fbb04a71c2e297bffd83443eebc
refs/heads/master
2020-03-27T12:57:31.894182
2019-12-01T11:25:13
2019-12-01T11:25:13
146,580,916
0
1
null
2018-08-29T10:00:28
2018-08-29T10:00:27
null
UTF-8
Python
false
false
15,286
py
from plotly.basedatatypes import BaseTraceHierarchyType import copy class Hoverlabel(BaseTraceHierarchyType): # bgcolor # ------- @property def bgcolor(self): """ Sets the background color of the hover labels for this trace The 'bgcolor' property is a color and may be spe...
[ "mgfcrespo@gmail.com" ]
mgfcrespo@gmail.com
5550cad5c53f5d9b9059b64b8327774be9f7a787
b35f80114ad96928ccce44d40840177e0b5158aa
/dfvfs/compression/decompressor.py
aebeb16a696379ab37da02e828f8eb9980e7d553
[ "Apache-2.0" ]
permissive
ryanmjones/dfvfs
7b62bab127cb201e679331fa808ec79e8ef03bd9
29ae5baddbf285260a596a67a199d0f5077214c1
refs/heads/master
2020-03-29T23:47:49.363000
2018-09-03T11:43:03
2018-09-03T11:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# -*- coding: utf-8 -*- """The decompressor interface.""" from __future__ import unicode_literals import abc class Decompressor(object): """Decompressor interface.""" @abc.abstractmethod def Decompress(self, compressed_data): """Decompresses the compressed data. Args: compressed_data (bytes): ...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
ebca116a0ac32a739ea58c230bf19aeeac1dca00
b403c7fe56209472855dff451f0b6283d5471008
/Supplemental_Material/Python_PartB_PROJECTS/PythonObjects/AnimalGroupsinheritance.py
f2c457369fcf974d579fc1f9d2055a0859de92ac
[]
no_license
Sandbox4KidsTM/Python_Basics
842bde52796896e913fdb5cc349034c52092555f
68c95547ec1567958fc8069e6a4bb119e436211a
refs/heads/master
2020-03-23T01:06:29.363196
2018-08-10T04:32:58
2018-08-10T04:32:58
140,901,128
0
0
null
null
null
null
UTF-8
Python
false
false
2,171
py
# this explores the OOP concept of inheritance # https://www.youtube.com/watch?v=d8kCdLCi6Lk class Animal: def __init__(self, birthType="Unknown", appearance="Unknown", blooded="Unknown"): self.birthType = birthType #live or egg self.appearance = appearance #fur, feathers, etc. ...
[ "mitchslabrenz@gmail.com" ]
mitchslabrenz@gmail.com
655a3bd63ddfcd9ecd0da97b0fd2f4c3cb34fb9f
767c07db1fb131047af3d9b0a065b8fdc8aac9ab
/84-Clustering/84H_hclust_customers.py
b320bbf6acf46bd019d769c0d42008be37d8a339
[]
no_license
DUanalytics/pyAnalytics
e52c5469da30a5f436ec0f3120d9f15fb82fd9b3
107a08bebe46ea51afccfeae4a666213bb405d41
refs/heads/master
2023-07-08T04:32:54.758902
2023-07-03T14:37:04
2023-07-03T14:37:04
202,094,535
394
31
null
null
null
null
UTF-8
Python
false
false
7,003
py
#Topic: Hierarchical Clustering #----------------------------- #libraries import numpy as np X = np.array([[5,3], [10,15], [15,12], [24,10], [30,30], [85,70], [71,80], [60,78], [70,55], [80,91],]) X #%%% import matplotlib.pyplot as plt labels = range(1, 11) plt.figure(figsize=(8,6)) plt.s...
[ "dup1966@gmail.com" ]
dup1966@gmail.com
4eba2c4e7d3f3a716f4fb9c487b54cc496062efc
f79402983074f9b3031ac84377924fdcfc69a1a3
/中等148. 排序链表.py
8b8f0b60a7f7ee48f3d9858b52f8c7aa2fb718a8
[]
no_license
ganhan99/leetcode
bd328b5a58c87c7cc1e8fcf4d721a8d29deb3f23
173754f20605ddf4d010938c8bbe85beac04da53
refs/heads/master
2023-03-18T13:28:01.412612
2021-03-03T03:52:59
2021-03-03T03:52:59
308,853,281
0
0
null
null
null
null
UTF-8
Python
false
false
3,696
py
""" 给你链表的头结点 head ,请将其按 升序 排列并返回 排序后的链表 。 进阶: 你可以在 O(n log n) 时间复杂度和常数级空间复杂度下,对链表进行排序吗?   示例 1: 输入:head = [4,2,1,3] 输出:[1,2,3,4] 示例 2: 输入:head = [-1,5,3,4,0] 输出:[-1,0,3,4,5] 示例 3: 输入:head = [] 输出:[] """ """ 合并排序,利用递归,自上而下 """ #大神做法1 class Solution: def sortList(self, head: ListNode) -> ListNode: de...
[ "940320304@qq.com" ]
940320304@qq.com
10737ee28709c6f69cd44dc07390956149671c1c
90b5a86b07745561267fde367259b9f48da3ca74
/blogpy/urls.py
74a1c9962b5324260c433ff2fdefe64cc99d2682
[]
no_license
enjoy-binbin/pyblog
fb8bfc6017595412850faf20ba4ce0c8e5ee761b
47e93d67dbfd8acf58bfb7e2e15c0c6cce32ef6e
refs/heads/master
2021-08-11T06:38:52.959002
2019-02-06T13:46:50
2019-02-06T13:46:50
166,924,461
2
0
null
2021-08-09T20:47:43
2019-01-22T03:59:51
Python
UTF-8
Python
false
false
2,132
py
"""blogpy URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
[ "binloveplay1314@qq.com" ]
binloveplay1314@qq.com
6a1eef9c44bc3d758c9c7601cd43fe88313fc497
297497957c531d81ba286bc91253fbbb78b4d8be
/testing/web-platform/tests/tools/third_party/pywebsocket3/test/test_stream.py
e3560d1ad4210f3e858306085bb511c1f67b8d93
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
Python
false
false
1,116
py
"""Tests for stream module.""" from __future__ import absolute_import import unittest import set_sys_path from mod_pywebsocket import common from mod_pywebsocket import stream class StreamTest(unittest.TestCase): """A unittest for stream module.""" def test_create_header(sel...
[ "mcastelluccio@mozilla.com" ]
mcastelluccio@mozilla.com
dbdf847edde35b2fd7e57bd9dd69cb16c7da4ec9
b07d48a3cb7c37e2114e0e8ee8f12c188a06ff0a
/rlvision/tests/restructure_dataset.py
a1315692d5e5510acd6467016be8f612ed58ccb9
[ "MIT" ]
permissive
collector-m/Learning-to-navigate-without-a-map
7212f35d6c958d08ce11569c4296d1ae20ed947c
232f13c84036b1f3e7902ec163e8217a67e0aa28
refs/heads/master
2021-08-27T17:26:45.790832
2017-06-24T19:48:10
2017-06-24T19:48:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,641
py
"""Restructure data. As the original data has shuffled the data randomly, therefore it's difficult to reconstruct the exact path. Here we manually select the necessary data from raw data. Author: Yuhuang Hu Email : duguyue100@gmail.com """ from __future__ import print_function import os import numpy as np import r...
[ "duguyue100@gmail.com" ]
duguyue100@gmail.com
b1991c7f0d10e33d585635a22f195bc5a1a4b046
c0f808504dd3d7fd27c39f1503fbc14c1d37bf9f
/sources/scipy-scipy-414c1ab/scipy/ndimage/measurements.py
e5e8b071ff27b160c73d6109d0c8066eac7c5ba8
[ "BSD-3-Clause" ]
permissive
georgiee/lip-sync-lpc
7662102d4715e4985c693b316a02d11026ffb117
e931cc14fe4e741edabd12471713bf84d53a4250
refs/heads/master
2018-09-16T08:47:26.368491
2018-06-05T17:01:08
2018-06-05T17:01:08
5,779,592
17
4
null
null
null
null
UTF-8
Python
false
false
43,453
py
# Copyright (C) 2003-2005 Peter J. Verveer # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following d...
[ "georgios@kaleadis.de" ]
georgios@kaleadis.de
b0389c1366da16e45c6a83b90d51b05aaf87e5c4
5ab5f41948ee2fffc5120ac65f16e3c0cb651ca4
/src/anyio/_core/_testing.py
f4438116bd2ef95be42f066f476d812a5e1e0a7e
[ "MIT" ]
permissive
smurfix/anyio
e3f4f4ae3a17bcfda436e1667957de143e5f350b
509cd598554af0fb205bdf0ad2d9509644ae0c01
refs/heads/master
2022-12-22T02:51:30.170581
2020-10-04T20:33:30
2020-10-04T20:33:30
152,191,752
1
0
NOASSERTION
2018-10-09T05:18:54
2018-10-09T05:18:54
null
UTF-8
Python
false
false
1,582
py
from typing import Coroutine, List, Optional from anyio._core._eventloop import get_asynclib class TaskInfo: """ Represents an asynchronous task. :ivar int id: the unique identifier of the task :ivar parent_id: the identifier of the parent task, if any :vartype parent_id: Optional[int] :ivar...
[ "alex.gronholm@nextday.fi" ]
alex.gronholm@nextday.fi
8b780613fe2ca102d2c573febf97f4bd7b9f1165
9743ea1ef7c7b7e23de0b34aa1478602c7b42695
/060Tornado/tornado_queue.py
fbe4b58ca106487d0e17b57a9439466cfedb0bc6
[]
no_license
Amigolinux/Crawler4Caida
fc47b5ffc6e1288f27b09ca9092d103ce65d5f7d
c35fe1c544a33fe07a3b523ee96209582206ce0f
refs/heads/master
2023-07-15T21:10:28.917951
2021-08-12T10:28:33
2021-08-12T10:28:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,451
py
# coding:utf-8 """ create on Jan 22, 2021 By Wenyan YU Email: ieeflsyu@outlook.com Function: 探索Tornado异步网络爬虫技术 """ import time from datetime import timedelta from html.parser import HTMLParser from urllib.parse import urljoin, urldefrag from tornado import gen, httpclient, ioloop, queues base_url = "http://www.mr...
[ "ieeflsyu@outlook.com" ]
ieeflsyu@outlook.com
01013f8f90b13c4ecad08108ceb3fda16ac646c6
6238dc5b5818f54295547cf4cb1afa5553ddfb94
/taobao/top/api/rest/ItemTemplatesGetRequest.py
58254460177ffc1d1a7982b31bf3bafecfc539e4
[]
no_license
liaosiwei/guagua
8208bb82b1df5506dcb86c1a7094c849ea5576a6
ee6025813e83568dc25beb52279c86f8bd33f1a4
refs/heads/master
2016-09-06T16:45:00.798633
2013-05-03T04:02:35
2013-05-03T04:02:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
''' Created by auto_sdk on 2013-04-14 16:35:32 ''' from top.api.base import RestApi class ItemTemplatesGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) def getapiname(self): return 'taobao.item.templates.get'
[ "liaosiweiorxiaowei@gmail.com" ]
liaosiweiorxiaowei@gmail.com
82b12763df34bbf79d69f9b995cd62212e88b889
c717fc84f873a11424580f9799e96e229abd5409
/bigmler/defaults.py
e4ae4a3ff8a9c45b598f917abdb4224c05b930c2
[ "Apache-2.0" ]
permissive
sdesimone/bigmler
97405dd684707d9410907d1e66a612a3ddc0f609
aa9a5c73bda81e9002e1cfc4a2bede6f4757b945
refs/heads/master
2021-01-17T05:58:53.558507
2014-04-15T15:24:13
2014-04-15T15:24:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,402
py
# -*- coding: utf-8 -*- #!/usr/bin/env python # # Copyright 2012-2014 BigML # # 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...
[ "merce@bigml.com" ]
merce@bigml.com
2d961406ec556e055ce3121720c4fc33ada2b5ac
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/bids/analysis/transformations/base.py
410d040f9f061b0adc14dbafb7f63402b1022c6f
[ "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
16,091
py
''' Base Transformation class and associated utilities. ''' import numpy as np import pandas as pd from bids.utils import listify import warnings from abc import ABCMeta, abstractmethod from copy import deepcopy import itertools import inspect from bids.variables import SparseRunVariable from six import add_metaclass ...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
2fdda6deebbcfcfd7fc8adf1a335551ad2a7a108
a683336af761bfd67cf2af1977867eb43a1aea86
/spotifyics_gui.py
c39a47251968d422d6c39967dd7e36bf60e48daf
[]
no_license
nicehiro/spotifyics
9903928ac8359af6c42596c958064d70b6e6ad4a
b7a73689f584d9911ae4ad56f6d96cc994530ae8
refs/heads/master
2020-06-09T03:18:28.203669
2019-06-25T13:33:37
2019-06-25T13:33:37
193,360,473
2
0
null
null
null
null
UTF-8
Python
false
false
2,118
py
import sys from functools import reduce from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QWidget, QApplication, QLabel, QScrollArea, QVBoxLayout, QPushButton from lyric_parser import LyricParser from netrequest import NeteaseRequest from spotifydbus import SpotifyDBus class SpotifyricsWin(QWidget): ...
[ "wfy11235813@gmail.com" ]
wfy11235813@gmail.com
065592314f66034e84bb0c6fc70d8546b8c3b427
586a2b27f687957518c20483e82cbd986f4fa220
/backend/home/migrations/0001_load_initial_data.py
ede12baf2f2d4bde435dd750c1048f292e9fe103
[]
no_license
crowdbotics-apps/trackey-28720
de09332dd77f9a5c4b62f656cc031648d831c3e2
75b2287d3be3ec649978c53f7aafc442bc83caa7
refs/heads/master
2023-06-19T16:54:15.349872
2021-07-11T15:11:31
2021-07-11T15:11:31
384,979,624
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
from django.db import migrations def create_site(apps, schema_editor): Site = apps.get_model("sites", "Site") custom_domain = "trackey-28720.botics.co" site_params = { "name": "Trackey", } if custom_domain: site_params["domain"] = custom_domain Site.objects.update_or_create(d...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
dd437d8a9fdd1e9180cdc05dcef75b91111e6a5d
6e74581033d5f09600feb3cf009d44fefcaad830
/blog/migrations/0003_auto_20200615_0613.py
77deb9f07a2113881429a239f669482e3486b04c
[]
no_license
vsevolodpohvalenko/Django_project2
6c18ef31f0794bace207fae52d8aedf80eef06c0
7ed467276384012cded2b8ab259f2d490c9a736f
refs/heads/master
2022-11-07T09:43:56.793584
2020-06-19T20:25:35
2020-06-19T20:25:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
# Generated by Django 3.0.7 on 2020-06-15 03:13 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20200614_1752'), ] operations = [ migrations.AlterField( ...
[ "vsevolod.pohvalenko@gmail.com" ]
vsevolod.pohvalenko@gmail.com
b982d59d0ed5ae4c1f32880df7bdece73dc42706
7ef7ebce070ee7efab187c77dd4e0a626cff515a
/Tree/preorder.py
973f71a92274cc4a4fb226b3725855e0d7682e4d
[]
no_license
winston1214/Data-structure
3e371bc88aa141fcfcc94ba80c9f852f92555c3e
e0b0095e2802d5d33c0e44c55b6522b768d62af0
refs/heads/master
2022-12-11T03:27:52.860508
2020-09-08T12:05:44
2020-09-08T12:05:44
284,871,488
1
0
null
null
null
null
UTF-8
Python
false
false
513
py
# @Author YoungMinKim # Data Structure - binary Tree Function - Preorder class TNode: def __init__(self,data,left,right): self.data = data self.left = left self.right = right def preorder(n): # 전위순회 VLR if n is not None: print(n.data,end='') preorder(n.left) preor...
[ "winston1214@naver.com" ]
winston1214@naver.com
99783b9dacd73fa661cd3a5edaec32fbc7056551
ec9f108742315278c9e4e904efaf394c00b230af
/alpyro_msgs/map_msgs/projectedmapinfo.py
d33f2fdc889a9018991985f98d27ab1dab11adc9
[ "MIT" ]
permissive
rho2/alpyro_msgs
3cdc51e0eac5b3cbb2599ce55f69d5813c3064e5
b5a680976c40c83df70d61bb2db1de32a1cde8d3
refs/heads/master
2022-12-05T09:54:16.291162
2020-08-26T18:16:37
2020-08-26T18:16:37
290,033,264
1
0
null
null
null
null
UTF-8
Python
false
false
447
py
from alpyro_msgs import RosMessage, float64, string class ProjectedMapInfo(RosMessage): __msg_typ__ = "map_msgs/ProjectedMapInfo" __msg_def__ = "c3RyaW5nIGZyYW1lX2lkCmZsb2F0NjQgeApmbG9hdDY0IHkKZmxvYXQ2NCB3aWR0aApmbG9hdDY0IGhlaWdodApmbG9hdDY0IG1pbl96CmZsb2F0NjQgbWF4X3oKCg==" __md5_sum__ = "2dc10595ae94de23f22f8a...
[ "git@rho2.eu" ]
git@rho2.eu
2907e94e5f511137fdaa057a447a3d25d7a1b7bc
b3e147ac438246d60644725fa93c16c9bae7fa7e
/Python Collections/devowel.py
d92a2f269092f25893e8ccc7f088943914473ed9
[]
no_license
Ehsan-Molavi/teamtreehouse
c55180b3d8eac8c18c03f335056fae1088c769e4
cbe90b2eff0708e4c95a6909d7edec494ddd9615
refs/heads/master
2020-09-09T05:54:49.828487
2017-04-25T16:09:19
2017-04-25T16:09:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
state_names = ["Alabama", "California", "Oklahoma", "Florida"] vowels = list('aeiou') output = [] for state in state_names: state_list = list(state.lower()) for vowel in vowels: while True: try: state_list.remove(vowel) except: break output.append("".join(state_lis...
[ "brian@ubuntu.ubuntu-domain" ]
brian@ubuntu.ubuntu-domain
41608e640d9f9159029ae05a91aa3ae5ff027b16
3395c396354e529f4a905872d274291136c41ce5
/input_list.py
33492a52e82a44513cccfa398a0f4ac690a1014c
[]
no_license
austinmw/Python-code
fef9e0c34923a4ba054256c70f303813cea9b333
c63a8d7c808f2b02706b0c9b9dfac835ee16e67b
refs/heads/master
2020-03-14T04:48:24.294916
2018-04-28T23:01:05
2018-04-28T23:01:05
131,450,139
2
0
null
null
null
null
UTF-8
Python
false
false
95
py
n = input() l = [int(n) for n in input().split()] print(n) print(l) # sample input: #3 #1 2 3
[ "fake.email@domain.com" ]
fake.email@domain.com
b39ed748383f2e894b535d091b191f3d3f6a1e3b
b232b26af08e8b9c84139a35e7ab42188a14309f
/ydy_web/migrations/0001_initial.py
58e35ded167ce4af2d78e9c26b8c1427792d3590
[]
no_license
SS4G/ydy
c6116d216b5eeafc450dc16625bad0a0bacc4f46
123a0a04fe8f43010aa4de8932915052cfb0132f
refs/heads/master
2021-01-19T01:31:11.682393
2016-11-10T03:28:21
2016-11-10T03:28:21
72,983,878
0
0
null
null
null
null
UTF-8
Python
false
false
2,945
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-11-06 13:55 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Commen...
[ "ziheng_song@126.com" ]
ziheng_song@126.com
0bfae41cfb0b9342a207fda795717112507279ba
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R1/benchmark/startQiskit187.py
09da5a462a355f4377f450dfa08576e5add70a66
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,485
py
# qubit number=3 # total number=12 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collectio...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
1aab20fc3027a937df5ab29a89cfd90d6f30fa2e
cc8dd1bf3ff193e24e636ef6aad54ce18e831270
/游戏/大作业/demo_bird.py
47822c43b2e3b47e307ec8c3e1de242f3c07b32c
[]
no_license
RelaxedDong/python_base
c27cbc1c06914826d3287dae46a9fe0dd2bff7b0
7f865c7d5bdb6454f3b20cd899dbaf19092fb360
refs/heads/master
2022-01-08T12:43:58.851895
2019-04-24T03:17:13
2019-04-24T03:17:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
#encoding:utf-8 # __author__ = 'donghao' # __time__ = 2019/4/22 15:25 import pygame class Bird(pygame.sprite.Sprite): def __init__(self): pygame.sprite.Sprite.__init__(self) # 初始化 position = 230,230 #初始位置 self.img = pygame.image.load('ab.png') #加载小鸟素材 self.rect = self.img.get_rect(...
[ "1417766861@qq.com" ]
1417766861@qq.com
e4a67a51fb67326c04b06bed4fee2eebda3fb38b
abf9238ac124738796a61e4ae3e667cae950d55a
/Custom Troop Trees/Source Files/header_troops.py
ba58b5a11199ed6e7dd855efe9981e17e800f26c
[]
no_license
ChroniclesStudio/custom-troop-trees
d92d4c3723ca117fd087332451ea1a0414998162
d39333cf8c4ea9fddb3d58c49850a4dffedbb917
refs/heads/master
2023-02-18T07:27:56.439995
2021-01-19T14:46:50
2021-01-19T14:46:50
331,012,346
0
0
null
null
null
null
UTF-8
Python
false
false
21,920
py
from header_common import * from header_skills import * ################################################### # header_troops.py # This file contains declarations for troops # DO NOT EDIT THIS FILE! ################################################### #Troop flags tf_male = 0 tf_female = 1 ...
[ "knowscount@gmail.com" ]
knowscount@gmail.com
c37c6dd8379626d08fb6b1e1821f9d9c22423640
70b114071d1d695584b460f7ba6cbf09b28871b0
/catkin_ws/build/geometry2-indigo-devel/tf2/catkin_generated/pkg.develspace.context.pc.py
eae044a983c9f4df7f7ddc39e28fd733ad4a52e3
[]
no_license
Jykkis/atv
d17602174c6cbcf3b5b4e96f6e9d7269718c3d8e
ba0e3bd899e234ae7c69644846d73c20189b330d
refs/heads/master
2020-03-11T19:37:07.875140
2018-04-19T12:52:03
2018-04-19T12:52:03
130,212,737
1
0
null
null
null
null
UTF-8
Python
false
false
696
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/atv/atv-project-2017/catkin_ws/src/geometry2-indigo-devel/tf2/include;/usr/include".split(';') if "/home/atv/atv-project-2017/catkin_ws/src/geometry2-indigo-devel/tf2/include;/usr/include" != "" ...
[ "jyri.hallikas@aalto.fi" ]
jyri.hallikas@aalto.fi
34994c881016bb2d2e989ded9eadd27b121db701
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/F/fh/chronik-c-w.py
0e67afeb716d54a7ed559a1fc8b809014f1d7cc2
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,480
py
import scraperwiki import lxml.html import re try: scraperwiki.sqlite.execute("drop table if exists 'chronik-cw'") scraperwiki.sqlite.commit() except: print 'e' try: scraperwiki.sqlite.execute(""" create table 'chronik-cw' ( id INTEGER PRIMARY KEY AUTOINCREMENT ) ...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
873266cf35dafade2a083060805c6e6bb2ecc66d
a6af6bf06b57d91ae8f85b08a0d526d9c6bb8f55
/manager/urls.py
cd7065d95d37b8ae9d993d9cdf3a205b05de1cf1
[]
no_license
Laksh8/password_manager
1ed12d7b660a561bf274847bc977d3415e306ab1
5c67708a03acd5fbcd84e19bca162ff738d7feea
refs/heads/master
2022-12-17T13:34:38.466625
2020-09-07T13:48:11
2020-09-07T13:48:11
293,539,633
3
1
null
2020-10-04T14:16:08
2020-09-07T13:43:56
CSS
UTF-8
Python
false
false
197
py
from django.urls import path from .views import HomeView,CreateDetail urlpatterns = [ path("home/",HomeView.as_view(),name="home"), path("detail/",CreateDetail.as_view(),name="detail") ]
[ "lakshitkhanna311@gmail.com" ]
lakshitkhanna311@gmail.com
fb7b437611f66adfd54e90510f3f92dc3f6d35db
a1119965e2e3bdc40126fd92f4b4b8ee7016dfca
/trunk/repy/tests/ut_repytests_testfileflushwrite.py
d09edfdf0a2664ea52eb5eed605015b61da090e1
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
SeattleTestbed/attic
0e33211ddf39efdbcf5573d4fc7fa5201aa7310d
f618a962ce2fd3c4838564e8c62c10924f5df45f
refs/heads/master
2021-06-10T23:10:47.792847
2017-05-15T12:05:43
2017-05-15T12:05:43
20,154,061
0
1
null
2014-10-16T17:21:06
2014-05-25T12:34:00
Python
UTF-8
Python
false
false
306
py
#pragma repy if callfunc == "initialize": filename = "junk_test.out" mode = "w+b" num = "2" fobj = open(filename,mode) try: fobj.write(num) fobj.flush() fobj.seek(0) if fobj.read(1) != num: print ' write did not flush to disk on mode: '+mode finally: fobj.close()
[ "USER@DOMAIN" ]
USER@DOMAIN
4ecc6b6e59558dce5a5bac0e649930b7699b0841
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_17159.py
0a5fa8ff4b301b99c0235df60c02b1baae53426d
[]
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
56
py
# Installing numpy on Amazon EC2 sudo yum install numpy
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
ad2b9d20f8a32efa3d159bdf352f6f5ca7cb2207
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_hometowns.py
90f5f4e89e82fc12e01622be847075a1c3c83cd4
[ "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
252
py
from xai.brain.wordbase.nouns._hometown import _HOMETOWN #calss header class _HOMETOWNS(_HOMETOWN, ): def __init__(self,): _HOMETOWN.__init__(self) self.name = "HOMETOWNS" self.specie = 'nouns' self.basic = "hometown" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
3428ad0a18f37bcca79ede004c6b06a5d1307d4a
37fef592f365194c28579f95abd222cc4e1243ae
/streamlit/venv/venv/bin/plasma_store
c5573b53b6370fbafb6bc9ffb9baf35917638e57
[]
no_license
edimaudo/Python-projects
be61e0d3fff63fb7bd00513dbf1401e2c1822cfb
85d54badf82a0b653587a02e99daf389df62e012
refs/heads/master
2023-04-07T03:26:23.259959
2023-03-24T12:03:03
2023-03-24T12:03:03
72,611,253
4
3
null
2022-10-31T18:10:41
2016-11-02T06:37:17
null
UTF-8
Python
false
false
308
#!/Users/edima/Documents/Coding/python_projects/streamlit/venv/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pyarrow import _plasma_store_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(_plasma_store_entry_point())
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
8b7f905dfb0eb18ae9e537d1c7ddd44315b701fe
1c81269ce733638f1f8b7a5640468110acdb79bf
/BIOMD0000000341/model.py
8ed882e2dda90d5c51fce487fa0406ff08190222
[ "CC0-1.0" ]
permissive
biomodels/BIOMD0000000341
f21831ecc004310f422c35de92418799ba925c63
aa43ac45a44ea59bb424fe548f8b2cd639b98d05
refs/heads/master
2021-01-22T05:05:54.927382
2014-10-16T05:17:12
2014-10-16T05:17:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import os path = os.path.dirname(os.path.realpath(__file__)) sbmlFilePath = os.path.join(path, 'BIOMD0000000341.xml') with open(sbmlFilePath,'r') as f: sbmlString = f.read() def module_exists(module_name): try: __import__(module_name) except ImportError: return False else: ret...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
89fc8813bd847262276d578b2abb8885a2b7628a
cd2d3b6be41eb9b96ecc3a22dc730325c21f22e6
/charalog/log3/gui899.cgi
c58445d49b5b3aeb308e1f5d50d3633773930eb8
[]
no_license
cappuu/TC
c61f235349e9a68d472fa85bbea1adbef3ea154a
def08d09219e11bee2135f6b796569b769ee21c1
refs/heads/master
2021-09-10T19:37:33.847161
2018-03-31T22:56:05
2018-03-31T22:56:05
124,523,296
0
0
null
null
null
null
UHC
Python
false
false
280
cgi
[188년07월]여몽님이 무안국님을 상대로 설전에서 승리! 무안국님의 수비력이 약화되었습니다. <font color=red>32</font>회:여몽의 정신력 12 (-2) VS 무안국의 정신력 0 (-4) [188년07월]여몽(지력:51 매력:50)님과 설전을 시작!
[ "lu2447315@gmail.com" ]
lu2447315@gmail.com
018c8410a1bce41a65394e62993f4dc4cff82327
6bd51065a8ecd097e7f80ee3c6acd16a083be350
/tensorflow/python/ops/linalg/linalg_impl.py
04a15e3e5bc548f99bd5d4ad1fcbf0fa22b4d1ef
[ "Apache-2.0" ]
permissive
cglewis/tensorflow
29b50dadbdb599bacd06af960689bc518a472de1
6eac524ef63728bdc10c40f95d30c94aede5f4ea
refs/heads/master
2023-04-07T18:38:29.752739
2017-10-31T17:56:48
2017-10-31T17:56:48
109,033,012
0
0
Apache-2.0
2023-04-04T00:37:48
2017-10-31T17:54:48
C++
UTF-8
Python
false
false
3,837
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
7543103a30954629ca3c0d0b21c3a1ff83558b28
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_256/ch17_2020_04_12_21_38_26_417893.py
e695d5c40e46d4c5254606021bd2a1157e32c54e
[]
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
230
py
def eh_bissexto(ano): if ano % 100 == 0: if ano % 400 == 0: eh_bissexto=True else: eh_bissexto=False elif ano % 4 == 0: eh_bissexto = True else: eh_bissexto=False
[ "you@example.com" ]
you@example.com
031b3c2e4a6a54a79401414b1c1ef1cd32982b62
9fcd6a91132fd12731d259fe7d709cdf222381bb
/2022/23/foo.py
f590717c6e2d0db817f4d4b7d8f9059247dd4462
[]
no_license
protocol7/advent-of-code
f5bdb541d21414ba833760958a1b9d05fc26f84a
fa110cef83510d86e82cb5d02f6af5bb7016f2c7
refs/heads/master
2023-04-05T15:33:26.146031
2023-03-18T14:22:43
2023-03-18T14:22:43
159,989,507
0
2
null
null
null
null
UTF-8
Python
false
false
3,084
py
import sys from collections import * from itertools import * from util import * def parse(line): return line.strip() xs = list(map(parse, sys.stdin)) g = set() for y, row in enumerate(xs): for x, c in enumerate(row): if c == "#": g.add((x, y)) dirs = [(N, NW, NE), (S, SE, SW), (W, NW, SW...
[ "niklas@protocol7.com" ]
niklas@protocol7.com
b66cd41d94a322bd42c30251b79a75dfe84c7937
48d850797008fca07e2e60da2f2cc2551d30aa90
/python_tech/description.py
7595468231b75ea6b3daa3f85837793f3821ec3e
[]
no_license
Vvegetables/code-piece
69bfc7bd5371aee20e9088d82678c47f0625cb84
cbf652ec600e8f6644fb0df2ab79d8304d006fd0
refs/heads/master
2020-04-05T17:30:38.526603
2019-04-04T08:37:45
2019-04-04T08:37:45
157,064,280
1
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
from openpyxl.styles.fills import PatternFill class Color: def __init__(self, color): self.color = color def __get__(self, obj, objtype=None): return self.color def __set__(self, obj, value): pass def __delete__(self, obj): pass class OpTypeColor: CREAT...
[ "625736074@qq.com" ]
625736074@qq.com
1481fa7e51d815401fa1ba0ff082178ca414eee0
48ac73068d4b9f54eedeca1bf91711c3d5d1ab46
/notebooks/riiid_fe.py
23c83496ae06d371e3360ff8c8fbf6045f2bb667
[]
no_license
Naoki1101/kaggle-riiid
ae260d8e75c54c2ac9d8f4a5b1a39eaed7e5319a
223148098bfe93d5c1812ef1f94c40989ee52642
refs/heads/main
2023-02-23T12:15:41.768719
2021-01-25T00:37:21
2021-01-25T00:37:21
318,398,912
1
0
null
null
null
null
UTF-8
Python
false
false
88,098
py
import os # import sys # import gc # import logging import pandas as pd import numpy as np from collections import defaultdict from bitarray import bitarray # import pickle5 from tqdm import tqdm from collections import Counter from sklearn.preprocessing import MultiLabelBinarizer from sklearn.decomposition import Tr...
[ "naoki.narimatsu111@gmail.com" ]
naoki.narimatsu111@gmail.com
1c9efeee9d9d6d2654ecc23b8f8ee071cbad534a
c6a8c75e6fa9abe7f38f8d3d30b531e7a19599e1
/.history/spider_20210124001849.py
dbe9bfbaf8146862984c613c38ee67898d1d412b
[ "MIT" ]
permissive
KustomApe/yahoauc_spider
b8d16e6a7c23694656db624c8b2fa632500efdec
bea630bbe1aa88e5138a98137c21865f316fdc96
refs/heads/main
2023-02-24T11:59:07.431130
2021-01-23T16:19:40
2021-01-23T16:19:40
332,230,993
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
import io,sys import requests import urllib.request as urlreq from bs4 import BeautifulSoup sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8') # def main(): words = input("検索したいキーワードを入力してください(複数の場合は半角スペースで区切ってください):").split(' ') print(words) word = '+'.join(words) print(word) url_origin = 'https://au...
[ "kustomape@gmail.com" ]
kustomape@gmail.com
17e8900933c8e8cb478898c421a12f1279c6e8bb
52825eeb90f5c31a344a5485617ff4ba2af42217
/chapter_09/read_file.py
fa29627394da8ba6dfc0b47613f6adfb064663b8
[]
no_license
hsqf/Course_Python
e3c73e1e1c067f3c2d83def49651e3bb111737f2
d1a0633a600dc84d9faed9537b64ff1f16b1a9ce
refs/heads/master
2021-01-03T20:34:13.404896
2019-09-22T02:29:02
2019-09-22T02:29:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
# -*- coding: utf-8 -*- """ 运用生成器读取500G 的大文件,该文件比较特殊,只有一行 """ def my_read_lines(file, new_line): buf = "" while True: while new_line in buf: pos = buf.index(new_line) yield buf[:pos] buf = buf[pos + len(new_line):] chunk = file.read(4096*10) if ...
[ "1692717842@qq.com" ]
1692717842@qq.com
ccc492771bba7208dc00c5e318f91ce1a6b15c1d
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba2208.pngMap.py
d684b6d261f9ad16d3fdbdf4789ebc3966cb7dcc
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba2208.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
fdfa492e0b97f77a289aff3eaacf3943ad08e18d
59de7788673ade984b9c9fbc33664a7cbdba67d3
/res_bw/scripts/common/lib/plat-mac/lib-scriptpackages/explorer/microsoft_internet_explorer.py
ba59e3be1de6fb0d42931ca8c8de17bf2ce63683
[]
no_license
webiumsk/WOT-0.9.15-CT
3fa24ab37a6c91b7073034afb2f355efa5b7fe36
fbd194fbaa6bdece51c7a68fc35bbb5257948341
refs/heads/master
2020-12-24T21:27:23.175774
2016-05-01T13:47:44
2016-05-01T13:47:44
57,600,180
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,350
py
# 2016.05.01 15:31:52 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/plat-mac/lib-scriptpackages/Explorer/Microsoft_Internet_Explorer.py """Suite Microsoft Internet Explorer Suite: Events defined by Internet Explorer Level 1, version 1 Generated from /Applications/Internet Explorer.app AETE/AEUT r...
[ "info@webium.sk" ]
info@webium.sk
73efd571f94a8935b71ceb1752b5dbed16a9a037
de9e185233fceef88798dcafa11d575f37fc2832
/build/mayatoolbox_rigging.py
39012a6c30244a6c498ab3124b1bd3139317d34c
[ "MIT" ]
permissive
joss13aws/MayaToolbox
9f4e6a932e748bc76369fd25fa2f766ec2b052ac
a84f3da32366c1eee51332a720b404b8d43dc344
refs/heads/master
2022-01-09T14:17:31.391504
2019-02-09T14:58:54
2019-02-09T14:58:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,530
py
# RIGGING # function to create a default bipedal skeleton def createBipedSkeleton(prefix="", size=1.0, hands=False): joints = [] if len(prefix) > 0: prefix += ("_") rootJnt = mc.joint(name=prefix+"root_jnt", p=(0.0*size,15.161*size,0.0*size)) # make other joints #1. root to head2 spi...
[ "nick@fox-gieg.com" ]
nick@fox-gieg.com
2482724f54aef90cf5adfdc227f20d61c3724e5c
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/전달값과 반환값_20200705101830.py
90423cb6a5058eb25ea7be952b5cd7f6cf87529a
[]
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
898
py
def open_account(): print("새로운 계좌가 개설되었습니다.") def deposit(balance, money): # 입금 print("입금이 완료되었습니다. 잔액은 {0} 원입니다.".format(balance + money)) return balance + money def withdraw(balance, money) # 출금 if balance >= money: # 잔액이 출금보다 많으면 print("출금이 완료되었습니다. 잔액은 {0} 원입니다.".format(balance - money...
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
e2422acbd69777a09ef24405d863b1b4cccd8825
491980a6d5936d09bc1bb9b9124729c02f3b1724
/hello-01/crawl/os-module.py
c073ce4a0a87c4824c5ef3c359eb7dc3b21c70ce
[]
no_license
larryback/hello
2dc8506dcc20af615feff1f29d2b889bbb1142bb
e0937cd616c1dc7795d887ea88613ef399d7b17d
refs/heads/master
2020-04-04T23:15:36.303348
2019-05-02T08:48:31
2019-05-02T08:48:31
156,352,391
1
0
null
null
null
null
UTF-8
Python
false
false
630
py
# 모듈을 읽어 들입니다. import os # 기본 정보를 몇 개 출력해봅시다. print("현재 운영체제:", os.name) print("현재 폴더:", os.getcwd()) print("현재 폴더 내부의 요소:", os.listdir()) # 폴더를 만들고 제거합니다[폴더가 비어있을 때만 제거 가능]. os.mkdir("hello01") os.rmdir("hello01") # 파일을 생성하고 + 파일 이름을 변경합니다. with open("original.txt", "w") as file: file.write("hello") os.rename("...
[ "41230266+larryback@users.noreply.github.com" ]
41230266+larryback@users.noreply.github.com
2a64970b8765b47fcaa5b72f491093caf8a6d0f7
836d8b6461eeb968c8a7054820f06b830c527bd4
/CBDSimulator/himesis/HFlatten1_opt.py
273b69f6c53f7beff4507eaa8be6d75ff47f5d6e
[]
no_license
BentleyJOakes/BDOT
7b4da9e8e3bf0c10855c00d3634a3dd5180a3c91
0650b923996ec8ab4e6315d03a82916eb6af7ab2
refs/heads/master
2021-01-13T01:41:29.793413
2014-04-28T03:56:23
2014-04-28T03:56:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,685
py
from Server.TCore.core.himesis import Himesis import cPickle as pickle from uuid import UUID inf = "inf" class HFlatten1_opt(Himesis): def __init__(self): """ Creates the himesis graph representing the Simulink model HFlatten1_opt. """ # Flag this instance as compiled now ...
[ "bentleyjoakes@gmail.com" ]
bentleyjoakes@gmail.com
e8f19c20fc6b1b46f4f669a2c8ebb08237e48e35
624ee4b890e6af1e04201e214811b2021c2f9430
/cartography/intel/github/users.py
81eeeefae0c66b7fbcc0b1c97982f87d4b772be9
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
sigopt/cartography
fa31420613e3aaa396c0d3f7137624e083588300
59b16d4371518915822e50b60bbb919619ed2a1a
refs/heads/master
2023-08-11T08:33:10.800166
2021-09-28T20:05:24
2021-09-28T20:05:24
411,351,171
0
0
Apache-2.0
2021-09-28T20:05:25
2021-09-28T16:05:59
Python
UTF-8
Python
false
false
3,309
py
import logging from typing import Dict from typing import List from typing import Tuple import neo4j from cartography.intel.github.util import fetch_all from cartography.util import run_cleanup_job from cartography.util import timeit logger = logging.getLogger(__name__) GITHUB_ORG_USERS_PAGINATED_GRAPHQL = """ ...
[ "noreply@github.com" ]
sigopt.noreply@github.com
bd64fa0296db0ceba374585c1bb3a144e58d6430
0ad77d9b016c0e631789591455fe3d9983651367
/generating-dataset/generating-dataset-for-bev/generating_train_bev.py
d00baab0309c8eea58a929cb0ee39faf287c4160
[ "MIT" ]
permissive
jionie/Lyft-3D-Object-Detection
a49cc46b4b831cede8dd9ec98d56ede3a6561820
2762d4cf15c694a43fb152c379500ed06058174e
refs/heads/master
2020-08-06T04:54:26.426568
2020-02-11T04:10:12
2020-02-11T04:10:12
212,839,339
3
1
null
null
null
null
UTF-8
Python
false
false
10,901
py
from lyft_dataset_sdk.lyftdataset import LyftDataset from datetime import datetime from functools import partial import glob from multiprocessing import Pool # Disable multiprocesing for numpy/opencv. We already multiprocess ourselves, this would mean every subprocess produces # even more threads which would lead to a...
[ "jionie@sjtu.edu.cn" ]
jionie@sjtu.edu.cn
d0a5238501b0f69b9d76a89477572fbd8f9aeebb
98bc4630f37995e9fb6a2986b729031a06db7879
/portfolio/portfolio/wsgi.py
bbbc4b9c1a38ccf6b76bfb44f97d4f09fcb640a9
[]
no_license
dusty-g/DjangoAssignments
58bed45797005832a11ede4bf1059acea3b5e5ba
52d6852e294263707ffc9324de8b0df308ce108d
refs/heads/master
2021-01-19T21:19:14.575570
2017-05-01T23:26:12
2017-05-01T23:26:12
88,639,280
2
0
null
null
null
null
UTF-8
Python
false
false
396
py
""" WSGI config for portfolio 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/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "dustygalindo@gmail.com" ]
dustygalindo@gmail.com
0d2e7a3f60ea72c80388fabb4abb61eeb00715fa
46ad9c1dea1ae28763296089b4421c69c2dbd834
/backend/menu/api/v1/serializers.py
9321412906410326338a101a88c3fa7a99e030e9
[]
no_license
crowdbotics-apps/teste-28254
f36b97833e2059984066debfd1fc26a066a60150
c078ffabf55a19a60c985b166f15375b07b445b5
refs/heads/master
2023-06-16T16:02:29.123525
2021-07-11T19:55:14
2021-07-11T19:55:14
380,772,296
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
from rest_framework import serializers from menu.models import ItemVariant, Country, Item, Category, Review class ItemSerializer(serializers.ModelSerializer): class Meta: model = Item fields = "__all__" class CategorySerializer(serializers.ModelSerializer): class Meta: model = Catego...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
c118fbf036127f8fdfc83a2e8bcda86d22f94565
79e0405110badb9acb5c5448a4ce12faf457b7a2
/libweasyl/libweasyl/text.py
e359bfb34c4d98d588408a944c4586f20aa8d727
[ "Apache-2.0" ]
permissive
TheWug/weasyl
ace5aa735d00847a6ee23f380ce22697de6b2e94
a568a542cc58c11e30621fb672c701531d4306a8
refs/heads/master
2023-03-17T00:49:58.341065
2021-07-04T06:33:52
2021-07-12T22:51:24
193,024,774
0
0
null
2023-03-09T08:59:11
2019-06-21T03:32:41
Python
UTF-8
Python
false
false
8,618
py
# encoding: utf-8 import re from lxml import etree, html import misaka from .defang import defang from .legacy import get_sysname try: from html.parser import locatestarttagend_tolerant as locatestarttagend except ImportError: from html.parser import locatestarttagend def slug_for(title): title = title...
[ "~@charmander.me" ]
~@charmander.me
2530bcbfe39cc233cb899ae1b52dab595110cc0c
38fa1687570e496f248c82023ad2283c428fe937
/DetailView.py
988cd2fb08271da9435628d7cc5848e43b466781
[]
no_license
sugar-activities/4730-activity
1bd3dab074d00c5521d198386e76e6b5fe616dcd
acdadec13d18994cb6a12b93029046f0d03d961b
refs/heads/master
2021-01-19T23:15:36.749445
2017-04-21T05:30:22
2017-04-21T05:30:22
88,937,966
0
0
null
null
null
null
UTF-8
Python
false
false
33,587
py
from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GObject from PaintScore import * from math import * import cairo import os import shutil class DetailView(Gtk.DrawingArea): def __init__(self, width, height, gwid, ghei, platform, main): self.width = ...
[ "ignacio@sugarlabs.org" ]
ignacio@sugarlabs.org
693f3bdbc9b4b00c3199fcb32c86f162faa95506
3aad08b916e28c7ad361163a9c18b71a44e51b72
/jobboard/migrations/0015_auto_20180804_1811.py
5ec46a59953003f00eb6521062b85cf374bb018b
[]
no_license
vaibhavmule/csclub
870fd8bb61c3d094a510bea2eb603d09bbba1322
e7a7ee9fa8790da82b7f0fd69622214acc9f8a28
refs/heads/master
2022-12-19T01:33:41.974383
2019-07-26T04:45:05
2019-07-26T04:45:05
164,586,470
0
0
null
2022-12-07T23:53:32
2019-01-08T07:08:54
Python
UTF-8
Python
false
false
421
py
# Generated by Django 2.0.7 on 2018-08-04 12:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobboard', '0014_auto_20180804_1750'), ] operations = [ migrations.AlterField( model_name='employer', name='logo', ...
[ "vaibhavmule135@gmail.com" ]
vaibhavmule135@gmail.com
5d53323a7bf1da5a8ea62e3af787915087055791
40d404e424489bb48c3673dee6664de64dbab39c
/myWebsite/venv/lib/python3.8/site-packages/zope/viewlet/viewlet.py
27960fe0b5b466aab87d139f9427658b2ed5dbda
[]
no_license
alyasamba/me
07c9f5f27aa16f768e0432780ac8f6f5ab6afbd1
978053c867181bad8eb316a0920ba290a7b1ceae
refs/heads/main
2023-01-28T09:57:46.616285
2020-12-02T02:31:25
2020-12-02T02:31:25
315,935,399
1
0
null
null
null
null
UTF-8
Python
false
false
8,271
py
############################################################################## # # Copyright (c) 2004 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "sopesherifabdoulah@gmail.com" ]
sopesherifabdoulah@gmail.com
2e0b67aac1f41cacc4bbc5de6d1cf92ec7857539
7c64360b6e32f8576344048db7b9938ea722dedd
/ana/x021.py
93be8d60d853a8451d2d049e3cffbd3e7f207af5
[ "Apache-2.0" ]
permissive
recepkandemir/opticks
4be08a9243c3e0abe82eca77be70178e6384e555
523387f7593676bab58de22d22049e650de3f5c3
refs/heads/master
2023-01-24T16:55:04.131498
2020-12-04T20:25:09
2020-12-04T20:25:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,929
py
#!/usr/bin/env python # # Copyright (c) 2019 Opticks Team. All Rights Reserved. # # This file is part of Opticks # (see https://bitbucket.org/simoncblyth/opticks). # # 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...
[ "simoncblyth@gmail.com" ]
simoncblyth@gmail.com
ae18182f74fe3f42460e7447bad8f4a8e12386a4
1a5cac9ab714b2d74acc3985241ada40723b2285
/tests/prediction_latency_test/sunspots_handler.py
d5c387d731bcdc709375c7d99d84123aec5bc075
[ "LicenseRef-scancode-warranty-disclaimer", "GPL-3.0-or-later", "LGPL-2.0-or-later", "LGPL-2.1-or-later", "GPL-1.0-or-later", "GPL-3.0-only" ]
permissive
yarenty/mindsdb
e592629bf193a5e3d28fe6f88503c49adbfc5b05
9164bca6f45fd0f5ec329babe973f286ffe59709
refs/heads/master
2022-01-25T20:42:49.591904
2022-01-21T11:32:07
2022-01-21T11:32:07
161,689,155
0
0
MIT
2018-12-13T20:04:33
2018-12-13T20:04:33
null
UTF-8
Python
false
false
111
py
def handler(df): months = df['Month'] for i, val in enumerate(months): months[i] = val + "-01"
[ "george@cerebralab.com" ]
george@cerebralab.com
49d70e2708022caf129f195cae70529b7c6fa51e
c7e0c86a24521a13c3b06c73244e9f5854f47284
/smarts/core/traffic_provider.py
eef2560acb572c0069631f29b5d1ca63fe1b7423
[ "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "CC-BY-NC-4.0", "GPL-1.0-or-later", "LicenseRef-scancode-generic-exception", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.0-or-later", "GPL-3.0-or-later", "BSD-3-Clause", "MIT", "LGPL-...
permissive
huawei-noah/SMARTS
243d1f1fa4d3afe52a1dd8f7c6c500054d4a1a97
2ae8bd76a0b6e4da5699629cec0fefa5aa47ce67
refs/heads/master
2023-08-31T05:06:29.064270
2023-08-28T23:11:31
2023-08-28T23:11:31
301,903,883
824
212
MIT
2023-08-08T14:52:00
2020-10-07T02:11:23
Python
UTF-8
Python
false
false
2,679
py
# Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to us...
[ "noreply@github.com" ]
huawei-noah.noreply@github.com
186235a3f8058ba3a8a1da830fd1a8321a052a05
a606893da1e354c7c617d0c9247b23118be2813a
/字节/394.py
f3a517a43cb453602e3d88f33323f7664bcf76f2
[]
no_license
lindo-zy/leetcode
4ce6cb9ded7eeea0a6953b6d8152b5a9657965da
f4277c11e620ddd748c2a2f3d9f5f05ee58e5716
refs/heads/master
2023-07-22T06:19:00.589026
2023-07-16T12:35:14
2023-07-16T12:35:14
229,958,065
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- class Solution: def decodeString(self, s: str) -> str: # 记录当前字符串 res = '' # 记录当前的数字 num = '' st = [] for c in s: if c.isdigit(): num += c elif c == '[': st.append((res, i...
[ "492201845@qq.com" ]
492201845@qq.com
a8ce35a69724571d3254641d516a7a0a4fd57c61
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02392/s952674766.py
ab9db14766ad8c71525c3f219c111a156b776904
[]
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
120
py
x = raw_input().split() if float(x[0]) < float(x[1]) and float(x[1]) < float(x[2]): print "Yes" else: print "No"
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
957d75545ac88883914c52fb06cf23a1063d08ce
596e92d0d484b6e7eee6d322e72e52748fdeaa5d
/sportsdata/nfl_play_by_play/rest.py
c40f9ca9b677882f2a8656c416c23104af4e0274
[]
no_license
scottypate/sportsdata
f5f61ddc7eb482883f93737c6ce73dd814ed4336
a07955ab50bf4fff1ce114ed9895095ff770c473
refs/heads/main
2023-08-18T16:51:56.452678
2021-10-22T12:44:08
2021-10-22T12:44:08
420,062,350
1
1
null
null
null
null
UTF-8
Python
false
false
12,947
py
# coding: utf-8 """ NFL v3 Play-by-Play NFL play-by-play API. # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import io import json import logging import re import ssl import certifi # python 2...
[ "scotty.pate@auth0.com" ]
scotty.pate@auth0.com
2a8c8dee3663795e00d729773d1b9618a0cba5f2
f5c859f8a8c31e343f8a293cc43982f0879db2ab
/class-29/demo/users/users/views.py
15df2ff370239a2127a5240fe4f4494f08d6d212
[]
no_license
Plastiche/seattle-python-401n1
ff12b9cb0b95f048b34ddada38485804e1449fdc
0f28d6e5454784827420863615c0e119f60f507e
refs/heads/master
2022-12-29T05:14:51.944810
2020-10-17T08:30:27
2020-10-17T08:30:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from django.shortcuts import render from django.urls import reverse_lazy from django.views.generic.edit import CreateView from .forms import CustomUserCreationForm # Create your views here. class SignUpView(CreateView): form_class = CustomUserCreationForm success_url = reverse_lazy('login') template_nam...
[ "rogerhuba@gmail.com" ]
rogerhuba@gmail.com
3b0d5912ba87d9d5d830ca2af6c0870e91e91e09
ad17506f24832e321db2c88e131a663d6763dd43
/test/json/店铺运营_单价优化.py
368115f197fe5ec901d70106907a388ddc214a59
[]
no_license
gitletian/mpintranettool
01e291f2c03a0da4d1733ae45a008cbe9a8873fd
c47d62c890ebf851d84d3236c6a71930234519bb
refs/heads/master
2021-09-15T21:19:14.998815
2018-06-11T02:36:13
2018-06-11T02:36:13
105,220,623
0
0
null
null
null
null
UTF-8
Python
false
false
3,733
py
# coding: utf-8 # __author__: "" ####################################### 店铺运营 -> 单价优化 ####################################### # 请求(默认)参数 { "interval": [ {"name": "start_date", "value": "2017-01-02"}, {"name": "end_date", "value": "2017-05-02"}, {"name": "date_type", "value": "1"} ], ...
[ "guoyuanpei12@sina.com" ]
guoyuanpei12@sina.com
ae9263c0bd6290e23b612f4680453fa3266dd468
4c499782655f8e929a5dd6b39d6c5d378fcfd7bd
/amazing_quicksort_implementation.py
320c61502e441727f75371975a065d5fb4d57188
[]
no_license
IanCBrown/practice_questions
53a3fd66bee807f6e30e6d57632966f146c704c9
838b94c26cd3c26b76c3908277944a3b5f9bc7c7
refs/heads/master
2021-08-06T07:14:57.237709
2020-04-16T05:03:33
2020-04-16T05:03:33
149,521,025
1
0
null
null
null
null
UTF-8
Python
false
false
309
py
def quicksort(arr): if len(arr) <= 1: return arr pivot = arr[len(arr) // 2] left = [x for x in arr if x < pivot] middle = [x for x in arr if x == pivot] right = [x for x in arr if x > pivot] return quicksort(left) + middle + quicksort(right) print(quicksort([3,6,8,10,1,2,1]))
[ "icb0004@auburn.edu" ]
icb0004@auburn.edu
87a9d32f2cd27d42e4b7f92adbf85735ac590515
8f5c1ad76f3f9aa67d6720154b4884c9fab2ecbc
/toontown/toon/DistributedNPCTailorAI.py
4f40d382bb601d7eec353fd8d0cd682b3f3b2df7
[]
no_license
RegDogg/ttr-2014-dev
eb0d9da3e91b9504b83804c27e1a00d87a0b7220
8a392ea4697cf15bd83accd01dcf26d0f87557eb
refs/heads/master
2023-07-13T02:40:56.171517
2021-07-12T00:31:28
2021-07-12T00:31:28
372,103,145
2
0
null
null
null
null
UTF-8
Python
false
false
10,586
py
from pandac.PandaModules import * from DistributedNPCToonBaseAI import * import ToonDNA from direct.task.Task import Task from toontown.ai import DatabaseObject from toontown.estate import ClosetGlobals class DistributedNPCTailorAI(DistributedNPCToonBaseAI): freeClothes = config.GetBool('free-clothes', 0) hous...
[ "regdogg.acr@gmail.com" ]
regdogg.acr@gmail.com
675e47687ddcdc0a01f4c3e27f1c64c516241d26
6905f33488d3ee648baf6a1fd8a8609677ee0b5e
/sesion_5/mongo.6.py
30ae71aa57ee0a359161b54b91ecc14bd14fa253
[]
no_license
badillosoft/python-cisco
66394cd07c5e45061b888a733edc121f1d21c19f
a0ab2190af837683d2be841fbc954d3e2d1ea5c1
refs/heads/master
2021-01-21T18:59:08.937297
2017-05-27T03:22:54
2017-05-27T03:22:54
92,102,637
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
# _*_ coding: utf-8 _*_ from pymongo import MongoClient client = MongoClient() db = client.cisco personas = db.personas f = open("personas_nombres.txt", "w") for persona in personas.find(): nombre = "%s %s\n" % (persona["nombre"], persona["apellido"]) f.write(nombre) f.close()
[ "kmmx@hsoft.local" ]
kmmx@hsoft.local
11d4ba4cf9e2f78371d37f8dd501a1693d187f6b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03591/s073999102.py
dc8013d2d4353da657e438eed641a028f598cab2
[]
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
38
py
print('YNeos'[input()[:4]!='YAKI'::2])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
28b8b33333519a7d09876a2e371e37cbf42f5bcb
b037e81ad5486cc9edd8d6a11184c3657dc9781b
/magicranker/rank/tests.py
d7a8fef65eb52d380125d0c90f18cb5721b75e4d
[]
no_license
lextoumbourou/magicranker
f9bc36b2b1d006a39d655d7278a154d51a57392f
7859359561702ccf930fcc03118845e7a336c760
refs/heads/master
2021-01-13T17:13:37.787155
2018-03-24T03:57:44
2018-03-24T03:57:44
7,437,619
6
4
null
2018-03-20T12:06:24
2013-01-04T08:54:44
JavaScript
UTF-8
Python
false
false
2,681
py
from django.test import TestCase from magicranker.rank.Ranker import Ranker class RankerTest(TestCase): fixtures = ['rank_stock_data.yaml'] def testRankByPEReturnsLowestFirst(self): pe_rank = { 'name': 'pe', 'min': { 'changeable': True, 'value'...
[ "lextoumbourou@gmail.com" ]
lextoumbourou@gmail.com
4435a3baf7f81a0295da570ad2dd917b0ae33e92
9d21e0faaa56e477d257fe54f7f3a95c477e7611
/u02/u02_03_time.py
c77e6e56c1f4b1f4a10ac0ed8b41ad92e571b216
[]
no_license
dorahero/python_basic
e6b0d3607145f714fd0e4a5af29f5787bf6184ca
d6ea4892f9f789b09e24450853946fb787b22c38
refs/heads/master
2022-12-07T20:35:17.961818
2020-08-08T02:27:32
2020-08-08T02:27:32
285,957,969
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
import time import locale locale.setlocale(locale.LC_CTYPE, 'chinese') unix_sec = time.time() loc_time = time.localtime() utc_time = time.gmtime() readable_time = time.asctime() print('UNIX Time:', unix_sec) print('local time:', loc_time) print('GM time:', utc_time) # 台灣-8 print('readable time:', readable_time) # ...
[ "dorahero2727@gmail.com" ]
dorahero2727@gmail.com
7669f7c7686ac2cebfe0ae0c1044839591068e90
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04001/s503027557.py
1174eb7e766c0657923cba5115fda20915afbf81
[]
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
1,193
py
import sys S=input() S_seq=[] for i in S: S_seq.append(i) if(len(S_seq)==1): print(int(S)) sys.exit() separate=[] for i in range(len(S_seq)-1): a=[] if(i==0): a.append("*") a.append("_") else: for j in separate: a.append(j+"*") a.append(j+"_") ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
018c7914276792cf907ae124a62d987e05caf3b1
69d8e789b289edfeb2fc18d0ef1c395bde9fb375
/candy_135.py
438b09fb4345704dccd4ac6f2b639154a3a7e77f
[]
no_license
Lucces/leetcode
d2db842eae7cdf1d7b9c56844660eb6f1940d88a
2c3dbcbcb20cfdb276c0886e0193ef42551c5747
refs/heads/master
2021-01-19T05:59:04.712086
2016-08-29T13:33:00
2016-08-29T13:33:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,534
py
#!/usr/bin/env python # coding=utf-8 class Solution(object): def candy(self, ratings): """ :type ratings: List[int] :rtype: int """ n = len(ratings) if n == 1: return 1 candies = [1] * n i = 0 requirement = 1 while i < n - 1...
[ "cntqrxj@gmail.com" ]
cntqrxj@gmail.com
bc74411398f110fae4bc606d35050688aa740125
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03372/s201968363.py
8876222b4837bd5d33ca01385020af07a1d69219
[]
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
1,013
py
N, C = map(int, input().split()) Xi = [list(map(int, input().split())) for _ in range(N)] #両端に(0,0)があると考えると楽なので追加 Xi.insert(0, [0, 0]) Xi.append([C, 0]) # 真上に0があると考える。下から⇢にいくか←にいくかで区別 #右方向に進んだときの累積Caloryと累積max total = 0 R_max = [0 for i in range(N + 2)] for i in range(1, N + 1): total += Xi[i][1] - (Xi[i][0] - Xi...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
24887d33f578465e60b4ebdec574cad154a3b999
02b5e89f444c695fd117c60bb68b9d801945bb97
/ooi_data/test/test_ooi_data.py
61f473e1be6c818737eade6801ab9a5268715ef3
[]
no_license
petercable/super-guacamole
a4a728bc192c37060cd006a9756f7f7977f4d640
c35a27fd1aaafa8f03b747481e41339d9c890e3f
refs/heads/master
2020-06-14T08:10:31.866083
2016-11-30T17:57:34
2016-12-02T01:28:00
75,212,445
0
0
null
null
null
null
UTF-8
Python
false
false
4,058
py
import unittest import datetime from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from sqlalchemy_utils import database_exists, create_database, drop_database from ooi_data.data import find_modified_bins_by_jobname from ooi_data.ooi_postgres.model import Base, Parameter, Stream, PartitionMe...
[ "petercable@gmail.com" ]
petercable@gmail.com
4cc51d223b7a0ee9e3fdd6f6575e3d8acd7e4b2a
6d6e53333cb6cf3c546f48ed5442b272f8ac8243
/pandas_ta/utils/_metrics.py
c1012487d814b370f3a8373b990079d1917cd359
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
FGU1/pandas-ta
e81b758e8fa54a7d9c032a3b45d49376b9d7b7e1
2e33024187182d4544f5f6286d872ea59fc01282
refs/heads/master
2021-06-23T17:45:15.676986
2021-05-19T17:23:03
2021-05-19T17:23:03
224,412,140
0
0
MIT
2019-11-27T11:11:11
2019-11-27T11:11:10
null
UTF-8
Python
false
false
9,110
py
# -*- coding: utf-8 -*- from typing import Tuple from numpy import log as npLog from numpy import NaN as npNaN from numpy import sqrt as npSqrt from pandas import Series, Timedelta from ._core import verify_series from ._time import total_time from ._math import linear_regression, log_geometric_mean from pandas_ta im...
[ "appliedmathkj@gmail.com" ]
appliedmathkj@gmail.com
e82afab3491700820ec1a4efdbe145808233f12a
70c751c0ac7690028b7d8bd492ad208717f501a9
/manage.py
dc9382d213eaeee8e06e0b2d89018654b5cb0dfd
[]
no_license
KennyDaktyl/ap-hutnik.krakow.pl
42ca36f167d9d592fcbe4531cb89909c167a5d82
154d73f93e0f0b29ba913381ee5bed10f1f55e38
refs/heads/master
2023-07-17T12:21:17.498742
2021-03-11T06:08:51
2021-03-11T06:08:51
300,211,542
0
0
null
null
null
null
UTF-8
Python
false
false
629
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', 'ap_hutnik.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impo...
[ "krakow@miktelgsm.pl" ]
krakow@miktelgsm.pl
9483cb06f92a4836b1a60f4d08d2be200c3e9f5f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/116/usersdata/158/26829/submittedfiles/al1.py
2ff6fcc13b1d7c4bfecea95a8747dc666f905ceb
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
R=float(input('digite R') h=float(input('digite h')) v=3.14159*(R**)*h print('v é %.3f'%v)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
454e0e18517f77fc782524c77362a56c27983aa9
ac69b8e84c0980310c960d649d5202315475247b
/awesone-python3-webapp/www/orm.py
da0e9f9ec7ada1e5f7413a30fc353b16644eb31c
[]
no_license
diffstyle/Python_learning
b511649b3c48c1acc96a804782cf13ef5b11b689
6f66c16733ca3d712925f760ab332714f51fd4d4
refs/heads/master
2020-04-30T05:41:56.746377
2019-03-21T06:00:01
2019-03-21T06:00:01
176,632,783
0
0
null
null
null
null
UTF-8
Python
false
false
8,019
py
#!/usr/bin/python # -*- coding: utf-8 -* #__author__ = 'Zhang Shi Qiang' import asyncio, logging import aiomysql def log(sql, args=()): logging.info('SQL: %s' % sql) async def create_pool(loop, **kw): logging.info('create database connection pool...') global __pool __pool = await aiomysql.create_poo...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
a6f8afb19ca6a3911d015c0dfdd5601c5a5c6320
9851c3f47c1aa165bc0d239074fe238f82055875
/Data Structure/Sort/Merge Sort/main.py
70899459f8d5b0b94f22fd5cafa4b96424ac2315
[ "Apache-2.0" ]
permissive
InnoFang/algo-set
12f886dbec0da664327d26bcaf02c1316151a643
2419a7d720bea1fd6ff3b75c38342a0ace18b205
refs/heads/master
2023-03-16T09:51:24.631068
2023-03-13T11:08:54
2023-03-13T11:08:54
86,413,001
23
9
null
null
null
null
UTF-8
Python
false
false
798
py
import random def merge_sort(arr): if len(arr) < 2: return arr mid = len(arr) // 2 left, right = arr[:mid], arr[mid:] return merge(merge_sort(left), merge_sort(right)) def merge(left, right): result = [] while len(left) and len(right): if left[0] < right[0]: ...
[ "innofang@outlook.com" ]
innofang@outlook.com
37d0da28d5bc108c6f17cc633ba9f9372a5bb9cb
dc01f08dd5edc4f4bd9f8df2c936f53bf127d61e
/10_processes/supervisor1.py
a727d51d1d004d98dd3f9568f012f1257afcf3ac
[ "MIT" ]
permissive
lluxury/P_U_S_A
03218deed17a6eb7250dd361547a2e8727972cd5
1eb9d1fef74f9ce3618ae950f5223f598510be84
refs/heads/master
2020-04-06T04:13:01.715182
2019-03-21T03:22:57
2019-03-21T03:22:57
83,023,043
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
#!/usr/bin/env python import time print ("Daemon runs for 3 seconds, then dies") time.sleep(3) print ("Daemons dies")
[ "tmp4321@qq.com" ]
tmp4321@qq.com
56de320d480c828beebb2ca1bb2de89c6e7d64ac
9ac405635f3ac9332e02d0c7803df757417b7fee
/cargues_catalogos/migrations/0027_auto_20200130_0939.py
439603491fb07f502366a36c25bed2c3d63a6343
[]
no_license
odecsarrollo/07_intranet_proyectos
80af5de8da5faeb40807dd7df3a4f55f432ff4c0
524aeebb140bda9b1bf7a09b60e54a02f56fec9f
refs/heads/master
2023-01-08T04:59:57.617626
2020-09-25T18:01:09
2020-09-25T18:01:09
187,250,667
0
0
null
2022-12-30T09:36:37
2019-05-17T16:41:35
JavaScript
UTF-8
Python
false
false
3,707
py
# Generated by Django 2.2.6 on 2020-01-30 14:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('sistema_informacion_origen', '0004_auto_20190610_1453'), ('colaboradores', '0001_initial'), ('cargues_catalo...
[ "fabio.garcia.sanchez@gmail.com" ]
fabio.garcia.sanchez@gmail.com
f37db5df55b3dc835e1343425ac7fb15fae540b5
59d1f3e95cff507f97b8a9b09e580b49bf9e5668
/idioms/python/PolicyBasedDesignEx3.py
8d1f9532ad3d0b96098e4bea96f7367647debdfb
[]
no_license
baites/examples
55daa4602c30d3234de0e769418cd072dc068f8f
97246c26483637b95198ed2ef76e234d3c0194dc
refs/heads/master
2023-05-27T05:28:30.174487
2023-05-25T09:57:48
2023-05-25T09:57:48
101,946,654
4
3
null
null
null
null
UTF-8
Python
false
false
1,002
py
#! /usr/bin/env python # Define policy classes class InputMessage: """Implement a message.""" def run(self): return 'hello world' def AddPrefix(Input): """Implement the concatenation of a prefix.""" class _(Input): def set_prefix(self, prefix): self._prefix = prefix ...
[ "bazterra@gmail.com" ]
bazterra@gmail.com
f73d5d7bea8a3ec21985e6574fee70d7ef89826f
f526368983ada3dcb61b882fd6f1fcdff628408f
/utilities/deploy/apache/project.wsgi
73e272a01d27702711cd16de874d7d1842cc006d
[]
no_license
dimagi/data-hq
c43b212ae44ed5d86c38926e3a70d81599634a8c
763c0865e1d51d6a5139978068959ce084e6eccc
refs/heads/master
2016-09-10T15:00:59.756145
2010-09-16T17:56:32
2010-09-16T17:56:32
847,904
6
1
null
null
null
null
UTF-8
Python
false
false
2,962
wsgi
#!/usr/bin/env python import os import os.path import sys # Calculate the project path based on the location of the WSGI script. PROJECT_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) SRC_ROOT = os.path.dirname((os.path.dirname(__file__))) # add our local apps and shared directory to the path for ...
[ "rluk@dimagi.com" ]
rluk@dimagi.com
bd40d850c2aeca48c80d551b7688ed3018453b6c
a6e85d590394bfbe4b58f5c035bcd76bbac6d287
/NEURON_Simulator_Yale/share/nrn/lib/python/neuron/rxd/rxdmath.py
78443591d5a33d51f5cd52df5d37655213393bb4
[]
no_license
anuragpallaprolu/verilog
756409c6513631917c3047dd9268a978baa53366
daefffe4fc90a8f35ba8899f04beb05bae36541b
refs/heads/master
2021-01-20T05:31:48.668358
2014-03-28T03:39:35
2014-03-28T03:39:35
17,890,996
3
0
null
null
null
null
UTF-8
Python
false
false
13,525
py
import math import numpy import rxdmath import species import weakref import functools def _vectorized(f, objs): if hasattr(objs, '__len__'): return numpy.array([f(obj) for obj in objs]) else: return f(objs) def _vectorized2(f, objs1, objs2): if hasattr(objs1, '__len__'): retu...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
c43e01ba36e4f93f97b9159c53e503e7e22d5784
41ede1722f3d93c962d10a93d4e318835ffe2070
/solo/models.py
62a8706311a55b43ef19c4df8724ab388b033d13
[]
no_license
sharingsimplethoughts/mygame
1b247a838d4338ca1fed20e0eec4634810dc5785
2649105c22fdf37e3d047176c1f04b1e52a45f0e
refs/heads/master
2023-05-31T13:00:39.099906
2020-07-01T07:39:15
2020-07-01T07:39:15
276,053,412
0
0
null
2021-06-11T18:12:27
2020-06-30T09:19:54
Python
UTF-8
Python
false
false
9,505
py
from django.db import models from registration.models import * game_types=(('1','solo'),('2','group'),('3','multiplayer')) # Create your models here.. class Hand(models.Model): title=models.CharField(max_length=20,blank=True,null=True) hand_image=models.ImageField(upload_to='solo/hand',blank=True,null=True) ...
[ "sukamal.sinha@fluper.in" ]
sukamal.sinha@fluper.in
8f4d375234e647cc1f3f17db8a097d441675a3b1
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/mne-tools_mne-python/mne-python-master/mne/decoding/time_gen.py
440cdf358c8ef73f30332ec8a87583b6750225b7
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
65,433
py
# Authors: Jean-Remi King <jeanremi.king@gmail.com> # Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr> # Denis Engemann <denis.engemann@gmail.com> # Clement Moutard <clement.moutard@gmail.com> # # License: BSD (3-clause) import numpy as np import copy from .base import _set_cv f...
[ "659338505@qq.com" ]
659338505@qq.com
97a6785c9ef815328d3605e2c2f8adf079c11076
cd5746f8cc7aee1f20606a65b4fae0d5e8ee78dc
/Python Books/Python-3-Video-Tutorial/Exercise Files/Exercise Files/17 Modules/modules.py
6cc4314e961bba4d3ba2d6d2441efc5bf4f916b6
[]
no_license
theGreenJedi/Path
df24fca355590efef0c6cb5c52e7216c6b5d2464
b5ed2805dbb046480929e49e550bfd8af5bb4d6f
refs/heads/master
2023-07-27T14:23:37.694546
2021-07-16T01:38:55
2021-07-16T01:38:55
87,686,563
8
2
null
2023-07-11T22:49:03
2017-04-09T05:57:30
Jupyter Notebook
UTF-8
Python
false
false
303
py
#!/usr/bin/python3 # modules.py by Bill Weinman [http://bw.org/] # This is an exercise file from Python 3 Essential Training on lynda.com # Copyright 2010 The BearHeart Group, LLC import sys def main(): print('Python version {}.{}.{}'.format(*sys.version_info)) if __name__ == "__main__": main()
[ "GreenJedi@protonmail.com" ]
GreenJedi@protonmail.com
acd6a70fc201c4fc5c8f30638577f52f2efe6935
4ec709b16e366c60a9c7f2f7696608b036825140
/merced/policies/__init__.py
8f9b5f3ef69dc40c06c6ec95fc9a5f916872bdd3
[]
no_license
alanccai/sierra-pywr
19c7efc4485879a4ca35677fdb14b3c795829e02
4447c6247af5159030b3025f14c2397283c4fcd0
refs/heads/master
2020-08-19T10:17:30.590861
2019-10-15T20:33:45
2019-10-15T20:33:45
215,909,820
0
0
null
2019-11-15T17:54:23
2019-10-18T00:31:58
null
UTF-8
Python
false
false
179
py
# Importing specific policy classes into this file exposes them for importing from the policies module as a whole from .IFRs import Requirement_Merced_R_below_Crocker_Huffman_Dam
[ "herr.rhein@gmail.com" ]
herr.rhein@gmail.com
3735f1892b80ec43e77425072adb02483996160a
3312a3ba01e124ba6083678501a58df3e8b960c6
/zero_to_one_hundred/processors/refresh_puml_processor.py
103af2b007a7c2e81867cf432f006c32d9168c6f
[ "Apache-2.0" ]
permissive
fossabot/0to100
0940971e7ab0d17c1ddf0b30da497960e87f6cb3
37faa1340b2ec8b87e5d4c268c8caf521ea164cb
refs/heads/main
2023-07-30T12:22:25.362981
2021-09-22T15:30:23
2021-09-22T15:30:23
409,258,608
0
0
Apache-2.0
2021-09-22T15:30:22
2021-09-22T15:30:21
null
UTF-8
Python
false
false
897
py
"""RefreshPUMLProcessor: add uml like mind-map of the sections """ # pylint: disable=C0116,R0903,E0401,W0703,W1201,redefined-outer-name,missing-function-docstring,E0401,C0114,W0511,W1203,C0200,C0103,W1203 from configs.config import ConfigMap from models.map import Map from models.puml import PUML class RefreshPUMLPro...
[ "noreply@github.com" ]
fossabot.noreply@github.com
7b84e1ecff86cba5ead18f12b7502f8e708e2555
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/xlsxwriter/test/comparison/test_chart_format29.py
521fac41d1ed255fe5b9d0ad2f4b5bc36945acba
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
1,854
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
a74ace8e8a4cf26b1911783c160a00a797a3e2e1
053ee75478fc27fcf12993e9db89856e492e2ce4
/modules/dbnd-airflow/test_dbnd_airflow/scenarios/scheduler_for_profiling.py
dff8c537769b4ecc792af7dc0b8da34913821fc0
[ "Apache-2.0" ]
permissive
bireports/dbnd
ece7ee767c025043d65565bf17af44a56b59c976
3fb73677f162892921ba1de39612177a2d149a5e
refs/heads/master
2022-11-09T14:47:15.736707
2020-06-21T18:39:27
2020-06-21T18:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
import logging import os # before we load any config! os.environ["DBND_DISABLE_SCHEDULED_DAGS_LOAD"] = "True" os.environ["DBND__LOG__SQLALCHEMY_PROFILE"] = "True" os.environ["DBND__LOG__SQLALCHEMY_TRACE"] = "True" print(os.environ["DBND__LOG__SQLALCHEMY_TRACE"]) # in order to profile scheduler.py Dag Processor you ...
[ "evgeny.shulman@databand.ai" ]
evgeny.shulman@databand.ai
719937c9e472e9136b0cdae830660dd03e879fa4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/68omQmgQEwv8558ZK_1.py
a7ca5f47756c160a41ed947582daf8546938a770
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
characters = { 'Knight': [120, 140, 6], 'Warrior': [180, 71, 8], 'Fairy': [71, 100, 16], 'Robot': [160, 120, 11], 'Giant': [160, 200, 4] } items = [[10, 20], [20, 30], [3, 24]] def max_stats(character, gold): return [characters[character][i] + items[i][0] * min(gold // items[i][1], 5) for i in range(3)]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0b803d90ae6d480c1ea5690997ae209763b57ca4
b898bf5c6bfc92a652fae3f4174f7326554767fa
/tools/lint/clang_format.py
3256471c627e9b02434b569785a2098f81306536
[ "BSD-3-Clause" ]
permissive
rcory/drake
98ee71c89431b50cc405c2504a08e39637fe78b4
d6537f094d1141dd84d5f2dbb5bafa4042797fa9
refs/heads/master
2023-06-08T09:00:01.526990
2018-02-22T15:27:31
2018-02-22T15:27:31
88,185,612
1
0
NOASSERTION
2020-04-30T21:53:10
2017-04-13T16:36:33
C++
UTF-8
Python
false
false
359
py
"""Drake's wrapper for the clang-format binary. """ import os import sys def get_clang_format_path(): if sys.platform == "darwin": path = "/usr/local/bin/clang-format" else: path = "/usr/bin/clang-format-4.0" if os.path.isfile(path): return path raise RuntimeError("Could not f...
[ "jeremy.nimmer@tri.global" ]
jeremy.nimmer@tri.global
0f4ff9d876a86b75c4e8696837914878ff528f8f
056863ff17af7121b0348db31bf28836ff584e4a
/33.py
37f2850eb93d6d3756fb0a421da0948b6d21668f
[]
no_license
saranya258/python
1face016cdd52c55df6fd6493f5f2aa5bcae9212
df2274ad72bd36b7eb8cf4a4d2360e40dc902ee0
refs/heads/master
2020-06-07T14:19:32.476586
2019-07-10T08:53:32
2019-07-10T08:53:32
193,040,334
0
1
null
null
null
null
UTF-8
Python
false
false
33
py
ntx=input() print(ntx.count(" ")
[ "noreply@github.com" ]
saranya258.noreply@github.com
8ae3f278639a3ee5fee546538811ae1771a7855e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_fascination.py
c97c7b7f18fa8e0b7296a300e715d2fdc9b789ab
[ "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
344
py
#calss header class _FASCINATION(): def __init__(self,): self.name = "FASCINATION" self.definitions = [u'the fact of finding someone or something fascinating: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []):...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
52d2939c4e9fd69d2937834bd3fcf489338853b4
362fc140b0a179878ecb9121bf83e10d78f60ce0
/_unittests/ut_documentation/test_run_notebooks_onnx_viz.py
955eea555f25fc1a6cc87f19bb2a65b221c8654c
[ "MIT" ]
permissive
adrinjalali/mlprodict
4694e7f8435c13079082ad8726698a4b1b74ea8d
bc1606ec3683a7e2830875350eafc8cb8e2bc3a0
refs/heads/master
2020-06-23T13:38:08.097582
2019-08-13T12:50:29
2019-08-13T12:50:29
198,639,337
0
0
null
2019-07-24T13:18:00
2019-07-24T13:17:59
null
UTF-8
Python
false
false
1,099
py
# -*- coding: utf-8 -*- """ @brief test log(time=30s) """ import os import unittest from pyquickhelper.loghelper import fLOG from pyquickhelper.ipythonhelper import test_notebook_execution_coverage from pyquickhelper.pycode import ( add_missing_development_version, ExtTestCase, unittest_require_at_least ) impo...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
c7a144e715bc2b8f0a12930df94f080903ee1c6c
94f180b4b0b0a699d6948fd5e1216d16d6735edc
/source-code/Subdomain Visit Count 811.py
47453a6bde243d7a44c8a505b14e6a990970c660
[ "MIT" ]
permissive
ttungl/Coding-Interview-Challenge
7093b7f8da0c03abaf2f61340384cdc15c7a31e7
d80c3e15468d50b42ee53fcc73e9326c6c816495
refs/heads/master
2021-09-15T05:25:27.192040
2018-05-26T19:02:33
2018-05-26T19:02:33
115,586,997
0
0
null
null
null
null
UTF-8
Python
false
false
2,608
py
# 811. Subdomain Visit Count # ttungl@gmail.com # A website domain like "discuss.leetcode.com" consists of various subdomains. At the top level, we have "com", at the next level, we have "leetcode.com", and at the lowest level, "discuss.leetcode.com". When we visit a domain like "discuss.leetcode.com", we will also vi...
[ "noreply@github.com" ]
ttungl.noreply@github.com
f6c7bab54e61be867b0e953a842289f1679b16d6
958c748bee94e214813df9555852fe7c27fc9e79
/stacc.py
418ab22a20005d7b1423ba92c6852927afd2e7bc
[]
no_license
kekloldyormarket/SeemsRareSOLdrop
3b0c3147066d14eebd13973b2e0ac292e512dacb
217a141f5517a432046914aaaa3c6cc285b3bcd8
refs/heads/main
2023-08-25T20:01:37.735588
2021-10-11T03:03:08
2021-10-11T03:03:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
import json import requests with open('staccsnap.json', 'r') as f: staccs = json.loads(f.read()) for stacc in staccs: try: arweave = requests.get(staccs[stacc].uri).json() for att in arweave['attributes']: if att['trait_type'] == 'Rarity': rarity = float(att['value']...
[ "you@example.com" ]
you@example.com
523e3b509b5dc8ae3c6c8ee8ea83a1994f1d9bd0
2a028a56022805980bf31f11aa713d28de8f8622
/0901/mayi - 饼图、分页/mayi/mayi/settings.py
047abfbaeccaf11cbf7c33e50c3d9c7c52b5ae52
[]
no_license
ALICE5/U-PLAN
e066ab9b3e52446cd7318b8f7c38a818d6250c4c
76f92ba074f30ea51b771db1e0c656b3cd3d6607
refs/heads/master
2020-03-27T00:37:28.337909
2018-09-19T07:07:30
2018-09-19T07:07:30
145,639,213
1
0
null
null
null
null
UTF-8
Python
false
false
3,173
py
""" Django settings for mayi project. Generated by 'django-admin startproject' using Django 2.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Buil...
[ "alice4u@bjtu.edu.cn" ]
alice4u@bjtu.edu.cn
3de88d52cb5f60534d73cd138adff6793d84dbef
c9abbbfd1ccdbdf75c5b35b28c841b6fc8165ee6
/AtCoder/ARC/A/27.py
c09641148826ccd1f6996c76d9a7f7ca661a92cc
[]
no_license
kanade9/kyopro
8d9b12a4da2353595836cf68066e2b425379990b
3b5d998b99603c4473dc22e62252a2dd5ba143c2
refs/heads/master
2023-04-20T15:18:37.199790
2021-05-19T17:49:16
2021-05-19T17:49:16
175,988,232
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
h, m = map(int, input().split()) print((18 - h-1) * 60 + (60-m))
[ "maronkazu94@gmail.com" ]
maronkazu94@gmail.com