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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
07efcb73589a847cd0bd2b31bb0f826aebe8979e | b95e71dcc1b42ebf3459ee57bd0119c618a79796 | /String/Easy/1374.py | 7e39ead0d7da4661d3c70cdf37753df1d23203f0 | [] | no_license | anton-dovnar/LeetCode | e47eece7de28d76b0c3b997d4dacb4f151a839b5 | 6ed9e1bd4a0b48e343e1dd8adaebac26a3bc2ed7 | refs/heads/master | 2023-06-29T07:21:06.335041 | 2021-07-31T15:08:05 | 2021-07-31T15:08:05 | 361,205,679 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 227 | py | """
Generate a String With Characters That Have Odd Counts
"""
class Solution:
def generateTheString(self, n: int) -> str:
if n % 2:
return "a" * n
else:
return "a" * (n - 1) + "b"
| [
"fode4cun@gmail.com"
] | fode4cun@gmail.com |
c89f19b516aba33b64d9f0f29dd393598f5be906 | b22778ed4a21cc1102512ae7da7e8225b5f5299e | /examples/vector_v6.py | f25eb18f10fab88b440d5f4b48a7c0cd0583b007 | [
"MIT"
] | permissive | afcarl/pythonic-api | 4722358935075878ff91a640174a2e5d0ae5764d | 764cb9dba9418c591d6d0cef20401b58d8ce0b1b | refs/heads/master | 2020-03-18T16:41:40.297453 | 2016-07-30T19:45:41 | 2016-07-30T19:45:41 | 134,980,879 | 1 | 0 | null | 2018-05-26T17:18:08 | 2018-05-26T17:18:08 | null | UTF-8 | Python | false | false | 1,864 | py | """
A multi-dimensional ``Vector`` class, take 6
"""
from array import array
import math
import reprlib
import numbers
import functools
import operator
class Vector:
typecode = 'd'
def __init__(self, components):
self._components = array(self.typecode, components)
def __len__(self):
retu... | [
"luciano@ramalho.org"
] | luciano@ramalho.org |
7b5dc50eae91c13f9c17a463a94206493e255c66 | 67487a6df520e3ddbd918fdf4b9c8dcd4c783147 | /PythonExercicios/Mundo 3/11_tuplas/ex077b.py | aee9a4bf4bd705d89ea82ae88496d54e988cebd2 | [
"MIT"
] | permissive | GuilhermoCampos/Curso-Python3-curso-em-video | c7d7a25f87f5a8fd706f34030282f12b1dc88e01 | 723767bc6069e9c1fa9e28fe412e694f9eb8d05e | refs/heads/master | 2021-05-18T22:33:48.062467 | 2020-09-20T10:52:40 | 2020-09-20T10:52:40 | 251,457,675 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 348 | py | palavras = ('APRENDER', 'PROGRAMAR', 'LINGUAGEM', 'PYTHON', 'CURSO',
'GRATIS', 'ESTUDAR', 'PRATICAR', 'TRABALHAR', 'MERCADO',
'PROGRAMADOR', 'FUTURO')
for palavra in palavras:
print(f'\nNa palavra {palavra} temos: ', end='')
for letra in palavra:
if letra in "AEIOU":
pr... | [
"GuilhermoCampos@users.noreply.github.com"
] | GuilhermoCampos@users.noreply.github.com |
94c012624ebdd241732b9c82eb5b7f6b834aae81 | 969675dd8c44c5897f9113d982e87b08bd38353f | /EAD/aspace_prep/subject_term_identification.py | 185940b7762ce0de870f8fc7cac62b82c7adac5f | [] | no_license | bentley-historical-library/archivesspace_migration | 571b087dae3457329d4157351e7d037454550192 | 84b508f4f14aeb84b0efeebf4c00532122972771 | refs/heads/master | 2016-08-11T21:49:03.958670 | 2016-04-04T12:53:43 | 2016-04-04T12:53:43 | 52,303,628 | 0 | 1 | null | 2016-04-04T12:53:44 | 2016-02-22T20:34:02 | Python | UTF-8 | Python | false | false | 9,937 | py | from lxml import etree
import csv
import os
from os.path import join
def subject_term_identification(ead_dir, subjects_agents_dir):
ead_agents = join(subjects_agents_dir, 'compound_agents.csv')
ead_subjects = join(subjects_agents_dir, 'ead_unique_subjects.csv')
marc_agents = join(subjects_agents_dir, 'mar... | [
"djpillen@umich.edu"
] | djpillen@umich.edu |
4beccc2541931caf7c816d1349abe6a17966235b | 316a07bd7ab47d447606d341c5d221d8318f65b9 | /horizon/horizon/dashboards/syspanel/networks/ports/tables.py | 6476183a229168e5873dcbc652affe10965f1257 | [] | no_license | kumarcv/openstack-nf | 791d16a4844df4666fb2b82a548add98f4832628 | ad2d8c5d49f510292b1fe373c7c10e53be52ba23 | refs/heads/master | 2020-05-20T03:10:54.495411 | 2013-06-16T23:44:11 | 2013-06-16T23:44:11 | 7,497,218 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,026 | py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 NEC Corporation
#
# 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/LICEN... | [
"b37839@freescale.com"
] | b37839@freescale.com |
a56e799308ee99be213e696d704b17c90be92814 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/14/43/13.py | a4adf533bd167e8b8905d43975ca9c10648fe5bf | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | Python | false | false | 3,370 | py | from __future__ import division
import sys
import math
from collections import deque
import itertools
from collections import namedtuple
sys.stdin = open('small.in')
debug = open('debug.txt', 'w')
sys.stdout = open('small.out', 'w')
Building = object()
Goal = object()
MetGoal = object()
DeadWater = ob... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
b382ef9bb84424b11a271869cb2fa0b0a35cd010 | 283fbc1a930f55fc92f6d6b917d749245b0e22fc | /utils/LM2Logger.py | cf19ab9a9cf7ec676c0c9d43f525cbf8c03127ac | [] | no_license | ankhbold/sm_lm2_archive_convert | a6d28542c8d99532c9853e06e23f6c1f73e4670e | b43e8511e4966f9d7aa132f771771d5b2786d33b | refs/heads/master | 2021-07-12T22:49:10.875345 | 2017-10-19T01:32:45 | 2017-10-19T01:32:45 | 106,109,100 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,588 | py | __author__ = 'Anna'
# !/usr/bin/python
# -*- coding: utf-8
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.exc import SQLAlchemyError
from ..model.Singleton import Singleton
from ..model import Constants
class LM2Logge... | [
"aagii_csms@yahoo.com"
] | aagii_csms@yahoo.com |
606390556768ee8c9db7ca9a6ae45ce97c06e7ba | ee5040164beb866310c9cf23584002a342b451c0 | /infra/libs-400rc2-20190512/examples/mcp230xx_simpletest.py | a216eec20dab4d14ef583f1876558b413547d0ee | [
"MIT"
] | permissive | jadudm/feather-isa | cf9a47c627408addbbc84581e5d6dff35a79773e | b7419e6698c3f64be4d8122656eb8124631ca859 | refs/heads/master | 2020-05-22T11:45:33.753573 | 2019-06-11T15:49:42 | 2019-06-11T15:49:42 | 186,329,428 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,872 | py | # Simple demo of reading and writing the digital I/O of the MCP2300xx as if
# they were native CircuitPython digital inputs/outputs.
# Author: Tony DiCola
import time
import board
import busio
import digitalio
import adafruit_mcp230xx
# Initialize the I2C bus:
i2c = busio.I2C(board.SCL, board.SDA)
#... | [
"matt@jadud.com"
] | matt@jadud.com |
b8a3f4f20b7212a447cdbb297df0c8d6095fd33f | 8916133c1d5299db8dd2fd8f746100fb0ff77eb1 | /web_flask/3-python_route.py | 476efee349abfa9a801b8a431721cbfc525cabcb | [] | no_license | nuelkaiser/AirBnB_clone_v2 | 685cf06c368cde5e9a43387d49971746fbc08b51 | 8b9e600a3bdfa53aa71eb52cf4e5885cb478fb57 | refs/heads/master | 2023-04-25T15:56:54.982999 | 2021-05-03T23:56:36 | 2021-05-03T23:56:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,621 | py | #!/usr/bin/python3
""" script that starts a Flask web application:
Your web application must be listening on 0.0.0.0, port 5000
Routes: 1- /: display “Hello HBNB!”
2- /hbnb: display “HBNB”
3- /c/<text>: display “C ” followed by the value of the text
variable (replace unde... | [
"kfw2@outlook.com"
] | kfw2@outlook.com |
e009c0334f24a24b54aef073a829b33a27842e5d | e905abd9bb7bd7017657d0a0c4d724d16e37044c | /.history/article/spiders/ieee_20210208183036.py | 5e06ea7067b04ab8e30e1f43641c624ae368bd07 | [] | no_license | tabdelbari/articles | a8b921841f84fb473f5ed1cdcda743863e6bc246 | f0e1dfdc9e818e43095933139b6379a232647898 | refs/heads/main | 2023-03-05T10:21:35.565767 | 2021-02-10T13:35:14 | 2021-02-10T13:35:14 | 325,654,973 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,393 | py | import scrapy
import logging
import re
from scrapy_splash import SplashRequest, request
from article.items import ArticleItem
import json
class IeeeSpider(scrapy.Spider):
name = 'ieee'
allowed_domains = ['ieee.org']
lua_script = """
function main(splash, args)
assert(splash:go{
splash.a... | [
"abdelbari1996@hotmail.com"
] | abdelbari1996@hotmail.com |
db9fd84794c75d494b1e2f041623447fc3766506 | 5257652fc34ec87fe45d390ba49b15b238860104 | /nn_interpretation/make_parent_html.py | 33c9a97d12ccd59c0cd0946f7ff8f48eb542cce8 | [] | no_license | thekingofall/alzheimers_parkinsons | cd247fa2520c989e8dd853ed22b58a9bff564391 | 4ceae6ea3eb4c58919ff41aed8803855bca240c8 | refs/heads/master | 2022-11-30T22:36:37.201334 | 2020-08-12T01:23:55 | 2020-08-12T01:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,488 | py | #generate html web page to visualize the SNP interpretations
import sys
from xml.etree import ElementTree as ET
#get the significant SNPs
snps=open('sigsnps.txt','r').read().strip().split('\n')
clusters=list(range(1,25))
folds=list(range(0,10))
html=ET.Element('html')
head=ET.Element('head')
title=ET.Element('title... | [
"annashcherbina@gmail.com"
] | annashcherbina@gmail.com |
794ecea6293fe97cc409d675d1076d75e60727df | 5e31705389a23939101b9ebe9f8814bee8d27317 | /exrs/ifelse2.py | e29691d88a63d7c8e9cd0de6ed5e56491802a1e2 | [] | no_license | Maga1807/PP2 | 4c7b837bfa61d22b4a6ccee11144a982969c959d | 3e42e9d79ccf048b34cf460502fe92171254b838 | refs/heads/main | 2023-07-17T01:29:35.807121 | 2021-07-29T07:22:13 | 2021-07-29T07:22:13 | 379,923,531 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 54 | py |
a = 50
b = 10
if a != b:
print("Hello World") | [
"noreply@github.com"
] | Maga1807.noreply@github.com |
e1dd591b5a375da75091a29739de24983336337a | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/18/usersdata/145/6263/submittedfiles/maiormenor.py | e3671b07448086fab4d7fa5cb088272e473b8e33 | [] | 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 | 240 | py | # -*- coding: utf-8 -*-
from __future__ import division
import math
a = input('Digite o número 1: ')
b = input('Digite o número 2: ')
c = input('Digite o número 3: ')
d = input('Digite o número 4: ')
e = input('Digite o número 5: ')
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
7c65cfddfe3ae155177fe393818a6d21a5945a34 | 50025b693f437cd43e27282daadef67d7b77c5e0 | /test.py | aaf7e2baa24a9feceedf9af165f8a405389e12ce | [] | no_license | MatthijsBiondina/Memory-Augmented-Neural-Networks | b29e99a2b167ce94e03b1eea63afd90049ddcb47 | 510e6f6703775db9ade6b8599744623b9b58f074 | refs/heads/master | 2023-01-11T00:33:41.024739 | 2020-11-06T16:32:09 | 2020-11-06T16:32:09 | 301,348,077 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 211 | py | import random
import subprocess
while True:
lr = 0.1**(random.uniform(2,3))
bs = int(2**random.randint(6, 8))
ms = 32
subprocess.run([f"python main.py {lr} {bs} {ms}"], shell=True, check=True)
| [
"biondina.matthijs@gmail.com"
] | biondina.matthijs@gmail.com |
1103c3df0cde969ac87ba2fec7dbf91c81004a14 | ec1059f4ccea10deb2cb8fd7f9458700a5e6ca4c | /venv/Lib/site-packages/qiskit/circuit/library/standard_gates/equivalence_library.py | 08aa95ee40e957eeaaf8ef26278768ab394f96b6 | [
"Apache-2.0",
"MIT"
] | permissive | shivam675/Quantum-CERN | b60c697a3a7ad836b3653ee9ce3875a6eafae3ba | ce02d9198d9f5a1aa828482fea9b213a725b56bb | refs/heads/main | 2023-01-06T20:07:15.994294 | 2020-11-13T10:01:38 | 2020-11-13T10:01:38 | 330,435,191 | 1 | 0 | MIT | 2021-01-17T16:29:26 | 2021-01-17T16:29:25 | null | UTF-8 | Python | false | false | 17,065 | py | # This code is part of Qiskit.
#
# (C) Copyright IBM 2017.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative wo... | [
"vinfinitysailor@gmail.com"
] | vinfinitysailor@gmail.com |
204fdc281cb19813df2356b43dfe33b74a0b0c5d | 2c6658770803f0df6c41dc8463c393fa3bceca5f | /oil_library/oil_library_parse.py | f9f59638452f3266f0b520493fe1baffae2f32b6 | [
"Unlicense"
] | permissive | oblute/OilLibrary | 300703e92dcb565d9e7d07ec9b04ae601c82ff60 | ee376fe12070214a5eab8382905163fbd2953c81 | refs/heads/master | 2022-04-02T07:42:04.669076 | 2019-11-20T01:26:10 | 2019-11-20T01:26:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,906 | py | #!/usr/bin/env python
import sys
import logging
logger = logging.getLogger(__name__)
class ImportFileHeaderLengthError(Exception):
pass
class ImportFileHeaderContentError(Exception):
pass
class OilLibraryFile(object):
''' A specialized file reader for the OilLib and CustLib
flat datafiles.
... | [
"james.makela@noaa.gov"
] | james.makela@noaa.gov |
b53e1112c8d55a9ed3060b1204bacb29fd09e035 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /jingle/DEPS | d3bb3fdea62d6f305762bdcf22d0c4f4f5b18e69 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | Python | false | false | 215 | include_rules = [
"+mojo/core/embedder",
"+net",
"+services/network/public/mojom",
"+third_party/libjingle_xmpp/task_runner",
"+third_party/libjingle_xmpp/xmllite",
"+third_party/libjingle_xmpp/xmpp",
]
| [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com | |
23f2facfea66c937dc7a3ab9801f3c5ce90f3013 | 0eaa236053a4b352dea1da65f064f7cf4a2e0872 | /sample_project/example/models.py | 424828cfee79462253c7bef35267d682cc4e3981 | [
"MIT"
] | permissive | mireq/django-attachments | 5caeebc5fa13acca1919819d587557e9f3729499 | 48b4f60f765b4f34aca7a00f88e2e7c30f5e01ba | refs/heads/master | 2023-05-13T21:42:07.715562 | 2023-05-11T04:30:01 | 2023-05-11T04:30:01 | 112,865,251 | 2 | 0 | NOASSERTION | 2021-04-30T08:28:41 | 2017-12-02T18:11:57 | Python | UTF-8 | Python | false | false | 491 | py | # -*- coding: utf-8 -*-
from django.db import models
from django_attachments.fields import LibraryField, GalleryField
class Article(models.Model):
title = models.CharField(max_length=100)
attachments = LibraryField(related_name='articles_with_attachment', on_delete=models.CASCADE)
gallery = GalleryField(related_na... | [
"miroslav.bendik@gmail.com"
] | miroslav.bendik@gmail.com |
9aeaf9de89e8000e7c4e0bc54f7e234fe4a044bc | 5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d | /alipay/aop/api/response/AlipayOpenAppAppcontentFunctionOfflineResponse.py | c4dd286edd49ef4f4e7f4e306dbaa1725278592d | [
"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 | 781 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
class AlipayOpenAppAppcontentFunctionOfflineResponse(AlipayResponse):
def __init__(self):
super(AlipayOpenAppAppcontentFunctionOfflineResponse, self).__init__()
self._servi... | [
"jiandong.jd@antfin.com"
] | jiandong.jd@antfin.com |
665b969c26ead168a30445dc7e8b05b19564f983 | f39a67b768887350a16b18c96892623022219afe | /hardware/cpu/cpu.py | ca1da6fad98eb1aa590bf30efd6b9bed3910ba37 | [
"MIT"
] | permissive | cu2/aldebaran | 130157915eb532d65f9328375be34d7db1e8e514 | affd692bd568cdb5a3a1840c6bc02b5197da1064 | refs/heads/master | 2023-01-08T16:46:57.530691 | 2021-10-02T23:42:34 | 2021-10-02T23:42:34 | 25,054,030 | 4 | 0 | MIT | 2023-01-03T23:15:51 | 2014-10-10T21:31:31 | Python | UTF-8 | Python | false | false | 7,008 | py | '''
CPU
'''
import logging
import time
from instructions import operands
from utils import utils
from utils.errors import AldebaranError
logger = logging.getLogger('hardware.cpu')
logger_user = logging.getLogger('hardware.cpu-user')
class CPU:
'''
CPU
'''
def __init__(self, system_addresses, inst... | [
"cucu.szpem@gmail.com"
] | cucu.szpem@gmail.com |
bf39d93e07b9b8dad3f1f682e1fdb95274396f2b | 89a90707983bdd1ae253f7c59cd4b7543c9eda7e | /fluent_python/16-coroutine/coroaverager1.py | 7a026e1db612bd6500417c5792f8fabda06c68c7 | [] | no_license | timothyshull/python_reference_code | 692a7c29608cadfd46a6cc409a000023e95b9458 | f3e2205dd070fd3210316f5f470d371950945028 | refs/heads/master | 2021-01-22T20:44:07.018811 | 2017-03-17T19:17:22 | 2017-03-17T19:17:22 | 85,346,735 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 610 | py | # BEGIN DECORATED_AVERAGER
"""
A coroutine to compute a running average
>>> coro_avg = averager() # <1>
>>> from inspect import getgeneratorstate
>>> getgeneratorstate(coro_avg) # <2>
'GEN_SUSPENDED'
>>> coro_avg.send(10) # <3>
10.0
>>> coro_avg.send(30)
20.0
>>> coro_avg.send(5)... | [
"timothyshull@gmail.com"
] | timothyshull@gmail.com |
68e89f12596a08825e728a16907dc4c2022fc53d | c8629a5f189738176543a64ee2e61f19c882d2d0 | /current_session.py | 9cddcd96b67a8a03666eda4ef53bcc856d35a43a | [] | no_license | Gabrielatb/OO-drawing | c674f96c1b7727a32bdb954f3a548bdb9bef9646 | b42aea976d864adf43fbb0c829dedd79aa603f59 | refs/heads/master | 2021-04-06T17:07:26.012989 | 2018-03-15T22:24:35 | 2018-03-15T22:24:35 | 125,433,189 | 0 | 1 | null | 2018-10-27T05:31:13 | 2018-03-15T22:27:14 | Python | UTF-8 | Python | false | false | 3,001 | py | # coding: utf-8
import cs1graphics as cg
paper = cg.Canvas()
paper.setBackgroundColor('skyBlue')
paper.setWidth(800)
paper.setHeight(600)
paper.setTitle('My World')
paper.
dir(paper)
paper.getBackgroundColor()
paper.getWith()
paper.getWidth()
sun = cg.Circle()
paper.add(sun)
sun.setFillColor('yellow')
sun.setRadius(50)... | [
"no-reply@hackbrightacademy.com"
] | no-reply@hackbrightacademy.com |
2fcfe1fa300fc7de92bc05a5188853a52ccc9e2f | 9e1d722ba2ca84385e1a663650edb680bfa74bac | /chapters/34_embed/ploneconf/site/events/votable.py | 3bfdbd74a756e845c9fabd587ea17ee050a3e9bb | [] | no_license | collective/ploneconf.site_sneak | eeaf17179a8405f6421109623dd4db551bd25e5f | cf3c181496d60f84aa049308fe7b84fe11778f83 | refs/heads/master | 2023-08-31T11:24:10.154186 | 2017-10-14T20:14:00 | 2017-10-14T20:14:00 | 25,198,750 | 2 | 3 | null | 2017-10-14T20:14:01 | 2014-10-14T09:11:49 | Python | UTF-8 | Python | false | false | 369 | py | from plone.api.content import transition
from plone.api.content import get_state
from starzel.votable_behavior.interfaces import IVoting
def votable_update(votable_object, event):
votable = IVoting(votable_object)
if get_state(votable_object) == 'pending':
if votable.average_vote() > 0.5:
... | [
"do3cc@patrick-gerken.de"
] | do3cc@patrick-gerken.de |
165f37559e010bf62717041625c79b26a2e58ac0 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_360/ch22_2020_03_11_19_40_17_956199.py | ff09feeaa539c6a94dcfe5296644a778bf58d749 | [] | 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 | 157 | py | fuma = int(input("Quantos cigarros você fuma por dia?"))
anos = int(input("Há quantos anos você fuma?"))
print("Você perdeu" (((fuma*10)/1440)*anos*365) | [
"you@example.com"
] | you@example.com |
35bbb1f37f063d99837e5e6808604f76a58dca1e | 528def9844f2ce13e6a358938b0b560945ab2248 | /tests/models/test_peer_rir.py | cf893ad95e7dadddf1461a535e2dfb007936835e | [
"BSD-3-Clause"
] | permissive | skripkar/noc | 055afbd42ab4c447d05d2cde0a822916f9e0844e | df193b99e478fe39157c8d27ff4098262d9cb734 | refs/heads/master | 2020-04-10T12:53:09.602779 | 2018-12-08T07:50:30 | 2018-12-08T07:50:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 523 | py | # -*- coding: utf-8 -*-
# ----------------------------------------------------------------------
# peer.RIR tests
# ----------------------------------------------------------------------
# Copyright (C) 2007-2018 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------... | [
"dv@nocproject.org"
] | dv@nocproject.org |
f9e38c1e1364c064914ed43ab51b2270faea3ac3 | a2e638cd0c124254e67963bda62c21351881ee75 | /Python modules/FFixing.py | bc033e2a8922852d3d06747676609d2cf305a4c7 | [] | no_license | webclinic017/fa-absa-py3 | 1ffa98f2bd72d541166fdaac421d3c84147a4e01 | 5e7cc7de3495145501ca53deb9efee2233ab7e1c | refs/heads/main | 2023-04-19T10:41:21.273030 | 2021-05-10T08:50:05 | 2021-05-10T08:50:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,057 | py | """ Standard_Queries:1.0.0 """
import ael
import math
# This function returns the interpolated rate for stub fixings. The rate is interpolated
# between the rate of the index shorter and the rate of the index longer than the
# term of the cashflow period. The indexes must be grouped into families. This is done
# by ... | [
"nencho.georogiev@absa.africa"
] | nencho.georogiev@absa.africa |
1c48cc617c5946f4a08b72ffd215365e2ffc2fec | 6ce8390b9d508d66da381c467852091116c2be33 | /.history/neutrinos_20210602105012.py | 9556323f4bc5e171c8bd6f787b98cdf44ad03fb2 | [] | no_license | MichaelCullen2011/QuantumAndNeutrinos | 0a269f44f35826f541b79b22d4b0f6927e0b10f8 | 9fd999e5e3b4248248b0e5803789d88015d5bd7d | refs/heads/master | 2023-05-07T20:43:14.766929 | 2021-06-02T16:27:34 | 2021-06-02T16:27:34 | 317,365,182 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,240 | py | import numpy as np
import matplotlib.pyplot as plt
'''
To Do - Add graphing for a range of energies for each neutrino cs reaction
'''
'''
Variables and Constants
'''
# Variables
delta_m_sq = 'Mass difference squared between two flavour states'
delta_m_e_mu_sq = 7.53e-5 # eV**2
delta_m_tau_mu_sq = 2.44e... | [
"michaelcullen2011@hotmail.co.uk"
] | michaelcullen2011@hotmail.co.uk |
e28cbb406fc59ba37f79c5ebe7ad71e3d9d5e5b7 | c91e63b1f688aa4efd8db66eda2aff11f2391ed5 | /python/helpers/typeshed/stdlib/parser.pyi | aecf3244ca8dc60bcdf39f1b523d047cd95fd7c9 | [
"Apache-2.0",
"MIT"
] | permissive | Mattlk13/intellij-community | c49d9b2742b61e98370ffb8604611db1e680d2e7 | 43b95d766e988814033b202ebe97a0ad53df59ee | refs/heads/master | 2023-08-28T16:52:36.973221 | 2022-01-27T14:23:41 | 2022-02-11T13:43:51 | 83,334,899 | 0 | 0 | Apache-2.0 | 2023-03-08T04:13:59 | 2017-02-27T17:00:46 | null | UTF-8 | Python | false | false | 983 | pyi | from _typeshed import StrOrBytesPath
from types import CodeType
from typing import Any, Sequence, Tuple
def expr(source: str) -> STType: ...
def suite(source: str) -> STType: ...
def sequence2st(sequence: Sequence[Any]) -> STType: ...
def tuple2st(sequence: Sequence[Any]) -> STType: ...
def st2list(st: STType, line_in... | [
"intellij-monorepo-bot-no-reply@jetbrains.com"
] | intellij-monorepo-bot-no-reply@jetbrains.com |
fbd9d755c943f8877d8f2f1b1a02401238b85d71 | 091a301b966f3141fc6020c754916ca1828216f9 | /exercises/23_oop_special_methods/task_23_3.py | 7aaa3eb64ff3c65c0a500496b900439cfb5af15d | [] | no_license | netproglogic/pyneng-examples-exercises-en | f9d6a9b04873fc79ef6d3362844fb6464715cd3d | 299676a575f1d97922d8e60e8773ad9ea0301ce5 | refs/heads/main | 2023-06-28T23:12:02.153433 | 2021-07-27T02:38:51 | 2021-07-27T02:38:51 | 389,825,380 | 0 | 0 | null | 2021-07-27T02:30:05 | 2021-07-27T02:30:04 | null | UTF-8 | Python | false | false | 2,189 | py | # -*- coding: utf-8 -*-
"""
Task 23.3
Copy and modify the Topology class from job 22.1x.
In this task, you need to add a method that will allow you to add two instances
of the Topology class. The addition should return a new instance of the Topology
class.
Creating two instances of the Topology class:
In [1]: t1 =... | [
"nataliya.samoylenko@gmail.com"
] | nataliya.samoylenko@gmail.com |
098e8f0518074d7f227d0c1e7559828a20af3fb9 | 64cdb9e8fdcde8a71a16ce17cd822441d9533936 | /_baekjoon/노드의 거리.py | 41bb5abb43df1898a7cb6f817fd13a1a8d7a1cc2 | [] | no_license | heecheol1508/algorithm-problem | fa42769f0f2f2300e4e463c5731e0246d7b7643c | 6849b355e15f8a538c9a071b0783d1789316d29d | refs/heads/main | 2023-07-20T23:46:07.037975 | 2021-08-31T12:47:33 | 2021-08-31T12:47:33 | 302,830,420 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 915 | py | import sys
sys.stdin = open('input.txt', 'r')
T = int(input())
for tc in range(1, T+1):
V, E = map(int, input().split())
adj_list = [[] for _ in range(V+1)]
visited = [False for _ in range(V+1)]
for _ in range(E):
s, e = map(int, input().split())
adj_list[s].append(e)
adj... | [
"heecheol1508@gmail.com"
] | heecheol1508@gmail.com |
99d528f48cf9c1c2df7ef8668f8657728c45d259 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03591/s027869567.py | c93a86fc7e06d59036fb14ba52a5c00b8c3c1672 | [] | 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 | 75 | py | S = input()
if S.startswith("YAKI"):
print("Yes")
else:
print("No") | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
63a1288914b997d021b36c7453917163363470ff | 2d040fde3d3638939718ccfd42eff9e35c352331 | /EXAMPLES/EDABIT/EXPERT/001_100/76_decrypt_the_string_from_digits_to_letters.py | 3ab1bc9430a11d879736809fd6fb9f3eb82c1011 | [] | no_license | ceyhunsahin/TRAINING | fcb9837833d2099dc5724f46a675efe4edf3d5f1 | 73cc7dba8447e4066ccfe7adadc727d134ffbf0b | refs/heads/master | 2023-07-13T01:12:53.160300 | 2021-08-17T11:50:51 | 2021-08-17T11:50:51 | 397,591,819 | 1 | 0 | null | 2021-08-18T12:25:45 | 2021-08-18T12:25:44 | null | UTF-8 | Python | false | false | 1,555 | py | """
https://edabit.com/challenge/KgBqna3XhRkoL2mo7
Decrypt the String from Digits to Letters
Given a string s consisting from digits and #, translate s to English lowercase characters as follows:
Characters ("a" to "i") are represented by ("1" to "9").
Characters ("j" to "z") are represented by ("10#" to "26#").
Exam... | [
"mustafaankarali35@gmail.com"
] | mustafaankarali35@gmail.com |
11256f235d988a9f2eed283338dafe9070297ff1 | 2a0865c583a12c66fdd1e7a62535b3e35482d37b | /CarAI/joshua_work/old/tutorial/Code/10_Code/Flatten/src/Application.py | 8df42713e85340f047e74632aed4c94c92030a7a | [] | no_license | MyAusweis/UnrealAI | fe4a6df2859143cd4ca66a063016fc4d22d62bb7 | 9e5ad6b93df7ecf2293de10d41f09969c42404b3 | refs/heads/master | 2022-02-11T12:43:52.129313 | 2018-07-01T22:08:23 | 2018-07-01T22:08:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,520 | py | from direct.showbase.ShowBase import ShowBase
from panda3d.core import *
import random
class Application(ShowBase):
def __init__(self):
ShowBase.__init__(self)
self.cam.setPos(0, -100, 10)
self.setFrameRateMeter(True)
envRoot = render.attachNewNode("envRoot")
for i in range... | [
"joshualevy44@berkeley.edu"
] | joshualevy44@berkeley.edu |
d513a6594881351f6e21e3b313ce64803db99e4a | c9d0b850b1627af9e0181634740ddbb573574745 | /scripts/run/run_attribute_detector.py | 8a2a6afd4ee1c7fd27f83cb02fa7aede05035fd9 | [] | no_license | stjordanis/detailed_captioning | da932b98abc43499ad41e3cd86f4fa10e8b509b6 | 444dc267406ca054a82b51c3fdb96ae8ec85a974 | refs/heads/master | 2020-06-02T16:09:48.403562 | 2019-02-08T06:40:43 | 2019-02-08T06:40:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,072 | py | '''Author: Brandon Trabucco, Copyright 2019
Run the attribute detector on images passed through the command line.'''
import os
import time
import tensorflow as tf
import numpy as np
from detailed_captioning.layers.box_extractor import BoxExtractor
from detailed_captioning.layers.attribute_detector import AttributeDet... | [
"brandon@btrabucco.com"
] | brandon@btrabucco.com |
2b5d4e744630cb401065fa7ce6e5eeed9865f78a | f82757475ea13965581c2147ff57123b361c5d62 | /gi-stubs/repository/WebKit2/InputHints.py | bdc4da7703cb4ebae98c21c23986dd23cd606438 | [] | no_license | ttys3/pygobject-stubs | 9b15d1b473db06f47e5ffba5ad0a31d6d1becb57 | d0e6e93399212aada4386d2ce80344eb9a31db48 | refs/heads/master | 2022-09-23T12:58:44.526554 | 2020-06-06T04:15:00 | 2020-06-06T04:15:00 | 269,693,287 | 8 | 2 | null | 2020-06-05T15:57:54 | 2020-06-05T15:57:54 | null | UTF-8 | Python | false | false | 13,989 | py | # encoding: utf-8
# module gi.repository.WebKit2
# from /usr/lib64/girepository-1.0/WebKit2-4.0.typelib
# by generator 1.147
"""
An object which wraps an introspection typelib.
This wrapping creates a python module like representation of the typelib
using gi repository as a foundation. Accessing attributes of ... | [
"ttys3@outlook.com"
] | ttys3@outlook.com |
841291236be92d3d1096b77a0b433e91b17095f1 | 431a1f574e810930c7f0426291a1473a43018ac9 | /src/quantum/azext_quantum/vendored_sdks/azure_mgmt_quantum/models/__init__.py | 0ca1bf3b133667cdc27df5641f8fe6901dad7d4f | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | IshanArya/azure-cli-extensions | ed4b79c8e278650b83fef95d020c6df2677da5ca | 488675c7daa4096b4cdce8698ad11aa7c9755726 | refs/heads/master | 2023-08-13T03:51:08.180117 | 2021-07-12T09:39:46 | 2021-07-12T09:39:46 | 277,632,065 | 0 | 2 | MIT | 2021-09-27T06:14:15 | 2020-07-06T19:35:16 | Python | UTF-8 | Python | false | false | 4,179 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | [
"noreply@github.com"
] | IshanArya.noreply@github.com |
d0a7703f858e151257b7fca70700b4fb5444df93 | 4cf3f8845d64ed31737bd7795581753c6e682922 | /.history/main_20200118155742.py | ccbd35da48f361cc3bea889825aaeb5a93df3b66 | [] | no_license | rtshkmr/hack-roll | 9bc75175eb9746b79ff0dfa9307b32cfd1417029 | 3ea480a8bf6d0067155b279740b4edc1673f406d | refs/heads/master | 2021-12-23T12:26:56.642705 | 2020-01-19T04:26:39 | 2020-01-19T04:26:39 | 234,702,684 | 1 | 0 | null | 2021-12-13T20:30:54 | 2020-01-18T08:12:52 | Python | UTF-8 | Python | false | false | 923,771 | py | from telegram.ext import Updater, CommandHandler
import requests
import re
# API call to source, get json (url is obtained):
contents = requests.get('https://random.dog/woof.json').json()
image_url = contents['url']
def get_url():
contents = requests.get('https://random.dog/woof.json').json()
url = cont... | [
"ritesh@emerald.pink"
] | ritesh@emerald.pink |
34c50fcbb270d9906197e0fe8b387de2644f7b2b | c30fbcaeede77091e548b19a68a2de021e984e9f | /Msgrpc/Handle/webdelivery.py | adb679c7017869b88edfc278d3bcbf1ab4487ec9 | [
"BSD-3-Clause"
] | permissive | chorkei/viperpython | cc8507ed5abe1c74ccea8219c0d173d4ef6d3ed3 | 26772b1865623e1c27ffbf2f9463b9cf43bee324 | refs/heads/main | 2023-07-10T05:48:57.908946 | 2023-07-01T09:43:32 | 2023-07-01T09:43:32 | 399,507,746 | 0 | 0 | BSD-3-Clause | 2021-08-24T15:01:54 | 2021-08-24T15:01:54 | null | UTF-8 | Python | false | false | 4,022 | py | # -*- coding: utf-8 -*-
# @File : handler.py
# @Date : 2021/2/25
# @Desc :
from Lib.api import data_return
from Lib.configs import CODE_MSG_ZH, WebDelivery_MSG_ZH, RPC_JOB_API_REQ, WebDelivery_MSG_EN, CODE_MSG_EN
from Lib.msfmodule import MSFModule
from Lib.notice import Notice
from Msgrpc.Handle.job import Job
c... | [
"yu5890681@gmail.com"
] | yu5890681@gmail.com |
250c49efafb6fe684d310d3f0a77e9254d57406e | 6b791247919f7de90c8402abcca64b32edd7a29b | /xml/dom/domreg.py | c6008032019b4c24dd8c2d18f9e0c4ea866579e4 | [
"Apache-2.0"
] | permissive | theclashingfritz/Cog-Invasion-Online-Dump | a9bce15c9f37b6776cecd80b309f3c9ec5b1ec36 | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | refs/heads/master | 2021-01-04T06:44:04.295001 | 2020-02-14T05:23:01 | 2020-02-14T05:23:01 | 240,434,213 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,000 | py | # uncompyle6 version 3.2.4
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
# Embedded file name: xml.dom.domreg
from xml.dom.minicompat import *
well_known_implementations = {'minidom': 'xml.dom.minidom',
'4DOM': 'xml.dom.DOMImpl... | [
"theclashingfritz@users.noreply.github.com"
] | theclashingfritz@users.noreply.github.com |
cc3fd96a100a69333efcce016be90247c920501f | 7681c936b3ec9cb9d033944bc03ee0569d30e2f7 | /accounts/migrations/0015_auto_20160508_2147.py | 0386b196ad0cf467ed2ab1d6fb594ece4f637d16 | [] | no_license | kij8323/mynewspaper | c624816bb87dedfe2c28182535f187e09b2f2824 | 12677e636224b53469b75d72185b2d198a6b5836 | refs/heads/master | 2021-04-12T03:33:51.549169 | 2017-08-26T07:24:37 | 2017-08-26T07:24:37 | 49,888,027 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 467 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('accounts', '0014_auto_20160427_1005'),
]
operations = [
migrations.AlterField(
model_name='myuser',
... | [
"shenanping2008@Hotmail.com"
] | shenanping2008@Hotmail.com |
1bd7c206a3e536e118a6a0a56d209c15c911123a | aee72719701664e9fa71fce1ae3af112184b7ea5 | /vct100/apps/scope/handler.py | 08b845b29c831901f61360e1ff0dd3f24a8f83e7 | [] | no_license | dahunuaa/VCT | d3c918fc4c5ffae866b343650d1e0dd288adaf36 | 884245802b8dbe4f08ad7655938ad61e992e8c5f | refs/heads/master | 2021-01-16T18:49:10.631781 | 2017-08-12T14:22:22 | 2017-08-12T14:22:22 | 100,116,993 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 513 | py | # -*- coding:utf-8 -*-
from vct100.apps.base.handler import TokenHandler,SingleStandardHanler,MultiStandardHandler
from vct100.libs.loglib import get_logger
from vct100.libs.oauthlib import get_provider
logger = get_logger("debug")
class ScopeHandler(SingleStandardHanler,TokenHandler):
_model = "scope.ScopeModel... | [
"dahu yao"
] | dahu yao |
996ff1873471045dae9168f2b0decaa1b4cc8927 | 3eae9c14c119ee2d6a7d02ef1ba5d61420959e3c | /modules/core/util/rwtrace/src/rwtrace_gi_filter.py | bac25986db1e4631b2b596359db13b7d3d24ce3b | [
"Apache-2.0"
] | permissive | RIFTIO/RIFT.ware | 94d3a34836a04546ea02ec0576dae78d566dabb3 | 4ade66a5bccbeb4c5ed5b56fed8841e46e2639b0 | refs/heads/RIFT.ware-4.4.1 | 2020-05-21T14:07:31.092287 | 2017-06-05T16:02:48 | 2017-06-05T16:02:48 | 52,545,688 | 9 | 8 | null | null | null | null | UTF-8 | Python | false | false | 672 | py | #!/usr/bin/python
# STANDARD_RIFT_IO_COPYRIGHT
# -*- Mode: Python; py-indent-offset: 4 -*-
# vim: tabstop=4 shiftwidth=4 expandtab
import sys
renames = {
0: {'rwtrace': 'RwTrace'},
1: {'ctx': 'Ctx'},
}
def gobjectify(ident):
if not ident.startswith('rw_'):
if not ident.startswith('rw'):
... | [
"Leslie.Giles@riftio.com"
] | Leslie.Giles@riftio.com |
c46f19937e30546e3759e275a7ad82c81a35a3d5 | 4522fc52bc43654aadd30421a75bae00a09044f0 | /share/itzamara/__init__.py | 2ad91b08837a2a2a82724adbc06f610f6f02ab90 | [] | no_license | qesoalpe/anelys | 1edb8201aa80fedf0316db973da3a58b67070fca | cfccaa1bf5175827794da451a9408a26cd97599d | refs/heads/master | 2020-04-07T22:39:35.344954 | 2018-11-25T05:23:21 | 2018-11-25T05:23:21 | 158,779,332 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 435 | py |
def key_to_sort_item(item):
if 'description' in item and item.description is not None:
return key_to_sort_item_description(item.description)
else:
return ''
def key_to_sort_item_description(description):
description = description.lower().strip()
if ')' in description:
descript... | [
"qesoalpe@gmail.com"
] | qesoalpe@gmail.com |
4231d0b652ab9071d0443d91d93b89bcbfba615b | 9f84d91a8ae3df53b07fe3267992fba00a99ac9e | /test/nn/test_compile_basic.py | dc730c2de2c7955c9c96a0af2f7040f064f0d581 | [
"MIT"
] | permissive | pyg-team/pytorch_geometric | ebea601eae228f3905465b5c2349d3fb3bb5cb26 | a52af694b8ce6a80811e20966fe6d08a3e7511fe | refs/heads/master | 2023-08-31T04:13:40.943308 | 2023-08-30T12:48:42 | 2023-08-30T12:48:42 | 106,024,057 | 6,775 | 1,563 | MIT | 2023-09-14T17:10:18 | 2017-10-06T16:03:03 | Python | UTF-8 | Python | false | false | 5,391 | py | import torch
import torch_geometric
from torch_geometric.profile import benchmark
from torch_geometric.testing import (
disableExtensions,
onlyFullTest,
onlyLinux,
withCUDA,
withPackage,
)
from torch_geometric.utils import scatter
# Basic "Gather-Apply-Scatter" patterns commonly used in PyG:
def ... | [
"noreply@github.com"
] | pyg-team.noreply@github.com |
3c2534f6256ee96d83a31129cf34c706ea6dd04c | a1614311937bae5204e171b2a3481fb31e61a490 | /media/codigos/280/280sol58.py | 19869af4cd4111f400a7709d17dfb14f0ed6db52 | [] | no_license | alexandre146/avaliar | 8d406100ed72f10292a0580edac50ad061ad92e9 | 3daf247ca68962086592a356e013b07fa1569afe | refs/heads/master | 2020-03-21T03:09:29.493919 | 2018-07-23T11:41:38 | 2018-07-23T11:41:38 | 137,883,682 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 146 | py | __author__ = 's01d'
nome = input()
valor = float(input())
vendas = float(input())
total = valor + vendas*0.15+0.01
print("TOTAL = R$ %.2f"%total) | [
"alexandre146@gmail.com"
] | alexandre146@gmail.com |
4965662e108849aeafec266f178c08fcaca8dd32 | 0129b016055daa1aaa1e9e0911f271fa7b38e27e | /programacao_estruturada/20192_166/Bimestral2_166_20192/Parte_2/Suzy Fabian/questao4.py | 60fd378f5a3220afa0813372f45b3b838173b446 | [] | no_license | rogeriosilva-ifpi/teaching-tds-course | 7c43ff17d6677aef7b42071929b3de8361748870 | 771ccdc4dc932d0ef5ce6ba61a02b5ee11920d4c | refs/heads/master | 2022-04-04T01:08:45.157185 | 2020-01-30T19:36:57 | 2020-01-30T19:36:57 | 206,439,119 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 960 | py | def programa():
palavra1 = input('Primeira palavra: ')
palavra2 = input('Segunda palavra: ')
palavra3 = input('Terceira palavra: ')
if palavra1 == 'vertebrado':
if palavra2 == 'ave':
if palavra3 == 'carnivoro':
print('Aguia')
elif palavra3 == 'onivoro':
... | [
"rogerio.silva@ifpi.edu.br"
] | rogerio.silva@ifpi.edu.br |
108b91ce01253a86f2db9bd05f0002beb37df193 | 56d6257e932e1397ab03b1e7ccc6231378665b04 | /LV2_LX2_LC2_LD2/ParamMap.py | 779ed6eb6e05aebaf918b1cf08b96a8c0677741b | [] | no_license | gluon/AbletonLive10.1_MIDIRemoteScripts | e6c8dc4956cff9630aaa36f3667994387ad1d0cf | 2468b51eba7e5082b06f9e381b3e72027c5f272c | refs/heads/master | 2023-01-10T18:37:46.504180 | 2022-12-23T09:21:48 | 2022-12-23T09:21:48 | 213,423,555 | 205 | 59 | null | 2021-02-12T16:15:01 | 2019-10-07T15:44:52 | Python | UTF-8 | Python | false | false | 2,851 | py | #Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/LV2_LX2_LC2_LD2/ParamMap.py
from __future__ import absolute_import, print_function, unicode_literals
import Live
class Callable:
def __init__(self, anycallable):
self.__call__ = anycalla... | [
"julien@julienbayle.net"
] | julien@julienbayle.net |
f916934db1c582d01bdee62c715d1c15ec4fbe45 | 87ac76b8aae5bf1c8a1530cd317972e4cf54fd62 | /azext_iot/sdk/digitaltwins/controlplane/models/group_id_information_properties.py | 1398514fb260acfaa5ca67d9577c8a44c4bcfd46 | [
"MIT"
] | permissive | montgomp/azure-iot-cli-extension | 911dbb10bb27d1b4ba2446fad4e37014c99bea6e | 7dee61b369f5dd7c7b9753edfc87b8ed35841c72 | refs/heads/dev | 2023-08-28T18:58:16.052628 | 2021-10-21T21:13:11 | 2021-10-21T21:13:11 | 271,131,011 | 1 | 1 | NOASSERTION | 2020-08-05T15:56:03 | 2020-06-09T23:30:08 | Python | UTF-8 | Python | false | false | 1,455 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | [
"noreply@github.com"
] | montgomp.noreply@github.com |
b41d0a1db671ce20a76607826256bf5947220005 | 72df811521e3da73187388c737599ddd0a4631fc | /190720/bs4_searchingchart.py | dafa6b2ecdd7388b5c39151b8eb08d447b047f22 | [] | no_license | munsangu/20190615python | e7480044cfa07dcb65e8ca168c7cf9ecb73ffe7a | c496bc471503ac0e2ba0d928c01085c8b569d173 | refs/heads/master | 2020-06-04T14:59:49.822865 | 2020-02-08T11:49:16 | 2020-02-08T11:49:16 | 192,071,616 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 583 | py | import urllib.request
from bs4 import BeautifulSoup
url ='https://www.naver.com/'
req = urllib.request.urlopen(url)
res = req.read()
soup=BeautifulSoup(res, 'html.parser')
keywords = soup.find_all('span',class_='ah_k') # 필요 정보가 있는 태그를 기록
#get_text() == 데이터에서 문자열만 추출
# strip() == 데이터의 양 옆 공백 제거
#[:20]의 이유? 인기검색어의 중복을 ... | [
"ds-3632@hanmail.net"
] | ds-3632@hanmail.net |
4cbe36bbc4d38fc4837cae8dc70a30377025dfb2 | 0e1e643e864bcb96cf06f14f4cb559b034e114d0 | /Exps_7_v3/doc3d/Wyx_w_M_w_Sob_to_Wz_focus/IN_Sob_k15_EroM/Mae_s001/pyr_Tcrop256_pad60_jit15/pyr_3s/L3/step09_3side_L3.py | 8df417fc18338d796a4b40a781669a965e370be2 | [] | no_license | KongBOy/kong_model2 | 33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307 | 1af20b168ffccf0d5293a393a40a9fa9519410b2 | refs/heads/master | 2022-10-14T03:09:22.543998 | 2022-10-06T11:33:42 | 2022-10-06T11:33:42 | 242,080,692 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,252 | py | #############################################################################################################################################################################################################
##################################################################################################################... | [
"s89334roy@yahoo.com.tw"
] | s89334roy@yahoo.com.tw |
803a5cd88aea97f6e5e31b9681c9fc314ff5b50c | 63cb66189455864a7f5700cf771ca4763f7f0726 | /Python-Scripts/FunctionOverloading_demo.py | 3144b51003c955c77dc47b3d3e7f40c96748fdc0 | [] | no_license | minotaur423/Python3 | 463df1cb709ccfd56f6c44e0afd958fa3c1b0565 | b78280a7415fba0bb957cd01ef335981e674d790 | refs/heads/master | 2020-07-05T11:38:17.961199 | 2020-03-23T21:13:37 | 2020-03-23T21:13:37 | 202,638,793 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 704 | py | class ServiceInfo(object):
def __init__(self, id, name, description):
self.id = id
self.name = name
self.description = description
# Default arguments for omitting calling arguments
def alter(self, id, name=None, description=None):
self.id = id
if name != None:
... | [
"minotaur423@me.com"
] | minotaur423@me.com |
06ccf3072364b15b69d8611cf0f4c168c5f7d86c | 9e647f3093638e82635bad8399d752387041032f | /horizon_autotests/steps/flavors.py | e3ddaab04ac2b79a79ecd3a95142ba537fc25dcd | [] | no_license | schipiga/horizon_autotests | bf563dc05c34ab066703779caf33895ac0f79d87 | f04f4c60992c9464e4a233ced2ccddb91644829f | refs/heads/master | 2021-06-03T08:08:56.100537 | 2016-08-02T08:26:12 | 2016-08-02T13:16:33 | 61,306,269 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 5,567 | py | """
Flavors steps.
@author: schipiga@mirantis.com
"""
# 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 o... | [
"schipiga@mirantis.com"
] | schipiga@mirantis.com |
2003ccb2ebcbf6d5057fa53c673609ece6e8c314 | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /vbPYZ6RiZEkiz24wx_19.py | 31b7059c96abe031c70786934142118fbfa98105 | [] | 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 | 529 | py | """
Create a function that will work as the modulus operator `%` without using the
modulus operator. The modulus operator is a way to determine the remainder of
a division operation. Instead of returning the result of the division, the
modulo operation returns the whole number remainder.
### Examples
mod(5, 2)... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
af9cce13f880d60f0bb8c04348e3219457ef53aa | c6ed09339ff21fa70f154f34328e869f0dd8e394 | /python/gemsim/word2vec/sample_tsne.py | 1a1ae7f7bc9b417e3d30400484cff5ea82495f09 | [] | no_license | fits/try_samples | f9b15b309a67f7274b505669db4486b17bd1678b | 0986e22d78f35d57fe1dd94673b68a4723cb3177 | refs/heads/master | 2023-08-22T14:35:40.838419 | 2023-08-07T12:25:07 | 2023-08-07T12:25:07 | 642,078 | 30 | 19 | null | 2022-12-28T06:31:24 | 2010-05-02T02:23:55 | Java | UTF-8 | Python | false | false | 694 | py |
import sys
import matplotlib.pyplot as plt
from gensim.models import word2vec
from sklearn import manifold
data_file = sys.argv[1]
dest_img = sys.argv[2]
sentences = word2vec.LineSentence(data_file)
model = word2vec.Word2Vec(sentences, size = 30, sg = 1, window = 2, min_count = 2, iter = 5000)
tsne = manifold.TSNE... | [
"wadays_wozx@nifty.com"
] | wadays_wozx@nifty.com |
0f761a6b264b8f4928e66898a4e82724cc2a2e2d | 776c8a5821eb8cd1357439454c9c20c9da239afb | /November,2020~July,2021/2020-12-11/2573_이승민_빙산.py | 45cc492c4daea49d4b5bea766e6e0fa34ad1b380 | [] | no_license | JinYeJin/algorithm-study | 85d84a726e0f7bb78a2da37504bc04a42b3906ea | 538c911e6adcdad3bfed3d9f76ccb30804dfb768 | refs/heads/master | 2023-07-04T16:09:12.101837 | 2021-08-14T02:23:44 | 2021-08-14T02:23:44 | 272,363,049 | 8 | 2 | null | null | null | null | UTF-8 | Python | false | false | 3,439 | py | # 빙산
# 구현 아이디어 : DFS 방식 시간초과 -> BFS로 전환
# BFS 방식으로 주변이 0 이면 0 개수만큼 빼주고 한 번 BFS가 돌때 마다 numOfIce를 1씩 증가
# numOfIce가 2이상이 되면 그 순간 ans(시행 횟수)를 출력하고 끝낸다.
# 종료 조건 : 루프를 돌 때마다 0의 개수가 (n - 2) * (m - 2)이거나 numOfIce가 2이상일 때
# bfs도 런타임 에러가 발생했지만,,, pypy3으로 돌리면 돌아갔다... 종료조건이 중요한듯하다.
# visited = [[0] * m] * n -> 이런 형식은 2차원에서 인덱스로 ... | [
"yeen0606@gmail.com"
] | yeen0606@gmail.com |
15e9b6be434d69e044a1c8c60c235d5846368792 | 14e19bcaaf917924e7bb78e4f7e6b42662ff5164 | /fancy_month02/day19_onlinedict/day19_teacher/dict_server.py | 01278c58988bae4b6542732bf7c8ff1fad2e3371 | [] | no_license | Lzffancy/Aid_study | 5b3538443ca0ad1107a83ef237459b035fef70d0 | 4ba5e5045371490d68459edd1f0a94963e0295b1 | refs/heads/master | 2023-02-22T19:11:00.867446 | 2021-01-25T13:01:35 | 2021-01-25T13:01:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,118 | py | """
dict 服务端逻辑处理
"""
from socket import *
from multiprocessing import Process
from dict_db import *
from time import sleep
# 处理客户端具体请求
class Handle:
def __init__(self, connfd):
self.connfd = connfd
def do_register(self, name, passwd):
if db.register(name, passwd):
self.connfd.send... | [
"731566721@qq.com"
] | 731566721@qq.com |
e42e274837ade221b2ff95e6d8460ca03452122c | 701aa04cf1032e90a3fedde44fcacf662b786767 | /valid_number.py | fa1968f0f3b40ed3f71fc4743f943d0d07648070 | [] | no_license | baloooo/coding_practice | fb8ff60a58bf0edbfbe8aeb7048cd88e7cbadf83 | 57212d700dfba0db4925d9d4896f7f0b9635a5b5 | refs/heads/master | 2021-01-13T15:47:33.269791 | 2019-08-09T09:08:38 | 2019-08-09T09:08:38 | 76,843,893 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,278 | py | """
Validate if a given string is numeric.
Some examples:
"0" => true
" 0.1 " => true
"abc" => false
"1 a" => false
"2e10" => true
Note: It is intended for the problem statement to be ambiguous. You should gather all requirements up front before implementing one
"""
class Solution(object):
def isNumber(self, s):... | [
"discoverx1@gmail.com"
] | discoverx1@gmail.com |
d94eb8bc7c2b71a4aa1d3c26794d98fbae06bdcd | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02887/s902641207.py | 78b5f55852f57afe6c5523446da4ba421586b7da | [] | 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 | 126 | py | N=int(input())
S=input()
ans=1
for i in range(len(S)-1):
if S[i]==S[i+1]:
pass
else:
ans+=1
print(ans) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
640d3f4663015c7774e120e4094b9c5407a87a43 | 63395e6ff40e2279d919f49d46b7ed5d882044f0 | /docs/conf.py | 2705ae17373f5f7c757926b38571b4102b8cd317 | [
"MIT"
] | permissive | zilishen/gala | 0f132fdfe16cfa94f8f06dbe894ed8c922345532 | f7184e6b09fbc42a349f6b5a2bca6242f1e9936e | refs/heads/main | 2023-03-15T09:05:51.254060 | 2021-03-18T12:25:27 | 2021-03-18T12:25:27 | 301,760,306 | 0 | 0 | MIT | 2020-10-06T14:47:32 | 2020-10-06T14:47:31 | null | UTF-8 | Python | false | false | 7,050 | py | # -*- coding: utf-8 -*-
# Licensed under a 3-clause BSD style license - see LICENSE.rst
#
# Astropy documentation build configuration file.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this file.
#
# All configurati... | [
"adrian.prw@gmail.com"
] | adrian.prw@gmail.com |
247f86a9406f2b0c4cd017f628132a74671e8548 | 39d4504ec1da8975fac526d6801b94f4348b6b61 | /research/object_detection/core/box_list.py | 08cd25f6005995cc3f70ed789f26925c59794069 | [
"Apache-2.0"
] | permissive | vincentcheny/models | fe0ff5888e6ee00a0d4fa5ee14154acdbeebe7ad | afb1a59fc1bc792ac72d1a3e22e2469020529788 | refs/heads/master | 2020-07-23T21:38:24.559521 | 2019-11-15T07:50:11 | 2019-11-15T07:50:11 | 207,712,649 | 1 | 0 | Apache-2.0 | 2019-09-11T03:12:31 | 2019-09-11T03:12:31 | null | UTF-8 | Python | false | false | 7,024 | 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... | [
"1155107977@link.cuhk.edu.hk"
] | 1155107977@link.cuhk.edu.hk |
18d5f1df2132ef50597fe2ddda0880d7f0ee313e | b02ce92b409e09932156e288e7764501b9546843 | /sample.py | 3fb5ff16ba7df7db19e7c55f1b09365788d34885 | [] | no_license | qhuydtvt/reddino | 73c751d0ea9d371781e426bc8b1c5c342f4f8b1d | 5ca07fcc16b1b50e4eb503fa6772cd6531cc45a8 | refs/heads/master | 2021-05-09T21:22:04.573843 | 2018-01-24T06:52:04 | 2018-01-24T06:52:04 | 118,445,997 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 224 | py | import cv2
import time
cap = cv2.VideoCapture(0)
ret, img = cap.read()
time.sleep(5)
ret, img = cap.read()
blur = cv2.blur(img, (3, 3))
hsv = cv2.cvtColor(blur, cv2.COLOR_BGR2HSV)
cv2.imwrite("red_hsv_light.bmp", hsv) | [
"qhuydtvt@gmail.com"
] | qhuydtvt@gmail.com |
0c8e218fdb756384fee589cad4424637103f1624 | d024c256c3147d412f924a6650ab363aff6e2068 | /Python3标准库/eleven_text/socketserver_创建网络服务器/socketserver_echo_simple.py | 6ecce79a32c1720d922f01687f817ac9eb152aae | [
"MIT"
] | permissive | Highsir/Python3_stdlib | cc1e9255794e3286f310cccb2beadff85ecd06ba | 06d4fce817104e00e7e2823d2b51ac2d7b8e2255 | refs/heads/master | 2020-09-01T13:49:17.661707 | 2019-11-01T11:34:21 | 2019-11-01T11:34:21 | 218,971,674 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 816 | py | import socketserver
class EchoRequestHandler(socketserver.BaseRequestHandler):
def handle(self):
data = self.request.recv(1024)
self.request.send(data)
return
if __name__ == '__main__':
import socket
import threading
address = ('localhost',0)
server = socketserver.TCPServ... | [
"highsir421@163.com"
] | highsir421@163.com |
c888fcdc14b4f9e4b3533e8b380a2053d3afd378 | 3949414cb8e26d025fd46bb8094aee3908b5658d | /2_字符串和文本/2_12.py | 5cd5538b0277a762956ef8b9a249d65c77c89de2 | [] | no_license | haoxiaoning1125/python_cookbook | 6b932aae4a6bdc849e257d21de702a2ae0c241ee | a1e5f9feeb949b39d93fda8bcf97050699cf6bff | refs/heads/master | 2020-07-02T01:50:21.314472 | 2019-09-09T02:29:35 | 2019-09-09T02:29:35 | 201,377,132 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 88 | py | # coding:utf-8
"""
审查清理文本字符串
"""
if __name__ == '__main__':
pass | [
"1977835153@qq.com"
] | 1977835153@qq.com |
2dc01d41da5733fce11ec4e9e9e5f2721c17e8a3 | e3cfab409afb5ff9a0b3812bf848be6ca9239cee | /test/testHeights.py | 149e6868e294473cfdc5572e51302fa999ed63cd | [
"MIT"
] | permissive | mrJean1/PyGeodesy | 565266a4f7f6cda5abe98e915bbd868f6cbe1760 | eba35704b248a7a0388b30f3cea19793921e99b7 | refs/heads/master | 2023-08-23T13:58:20.069917 | 2023-08-20T18:50:45 | 2023-08-20T18:50:45 | 68,028,481 | 283 | 66 | null | 2022-04-09T00:40:52 | 2016-09-12T16:49:10 | Python | UTF-8 | Python | false | false | 14,033 | py |
# -*- coding: utf-8 -*-
# Test L{heights} interpolators.
__all__ = ('Tests',)
__version__ = '23.05.14'
import warnings # PYCHOK expected
# RuntimeWarning: numpy.ufunc size changed, may indicate binary
# incompatibility. Expected 192 from C header, got 216 from PyObject
# warnings.filterwarnings("ignore", message="... | [
"mrJean1@Gmail.com"
] | mrJean1@Gmail.com |
122a45b839b5c1c2d8d30c1bf676e1276c643d8c | 244ecfc2017a48c70b74556be8c188e7a4815848 | /res/scripts/client/gui/scaleform/daapi/view/lobby/store/shop.py | 3da8196912b5b21df6dda282744fc249975ca552 | [] | no_license | webiumsk/WOT-0.9.12 | c1e1259411ba1e6c7b02cd6408b731419d3174e5 | 5be5fd9186f335e7bae88c9761c378ff5fbf5351 | refs/heads/master | 2021-01-10T01:38:36.523788 | 2015-11-18T11:33:37 | 2015-11-18T11:33:37 | 46,414,438 | 1 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 13,843 | py | # 2015.11.18 11:54:39 Střední Evropa (běžný čas)
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/store/Shop.py
import BigWorld
from PlayerEvents import g_playerEvents
from gui.shared.formatters.time_formatters import RentLeftFormatter
from gui.shared.tooltips import getItemActionTooltipData, getItem... | [
"info@webium.sk"
] | info@webium.sk |
72c93a09a89ba044c059fabc7e7b23aa49d7efe5 | cc4d7a0dc58e70379fda3d1f6b75c7b70ad1e205 | /Udemy/class_child.py | 8c5659050456bd5987b580f472cfa968974dcb79 | [] | no_license | evamaina/Python_practice | 2da766d61c111135285323aa2b8fb50ee5b31be1 | ecd6c255dc66b2dc6f2cd81ec79bc42a241bfca1 | refs/heads/master | 2020-03-24T00:08:17.911604 | 2018-07-25T09:17:41 | 2018-07-25T09:17:41 | 142,275,510 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 423 | py | # MRO Genetics Solution
# Notice the order that Child inherits: Mother first and then Father.
class Mother:
def __init__(self):
self.eye_color = "brown"
self.hair_color = "dark brown"
self.hair_type = "curly"
class Father:
def __init__(self):
self.eye_color = "blue"
... | [
"evajohnson714@gmail.com"
] | evajohnson714@gmail.com |
4578355cf949adf96bc7bcf892d38fe0debe3ea8 | e86364b36b82c24596dd71f9fa2221d036e8defc | /collections/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/l3_interfaces/l3_interfaces.py | 9ef4672d81c171e473a2addc63530bcde37bfcf6 | [] | no_license | ganeshrn/network_collections_migration | b3f11be5ecb9557787bcd12ca01b227379c7c102 | 8f56b60bfde606b291627665a1218bf7ce15f3a1 | refs/heads/master | 2020-09-12T12:10:58.189645 | 2019-11-18T11:44:48 | 2019-11-18T11:44:48 | 222,419,125 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,002 | py | #
# -*- coding: utf-8 -*-
# Copyright 2019 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)#!/usr/bin/python
"""
The nxos l3_interfaces fact class
It is in this file the configuration is collected from the device
for a given resource, parsed, and the facts tree is p... | [
"ganesh634@gmail.com"
] | ganesh634@gmail.com |
132eb24bd607d455a1f406c020510f3d3de49837 | 824b582c2e0236e987a29b233308917fbdfc57a7 | /sdk/python/pulumi_google_native/cloudresourcemanager/v3/get_tag_key_iam_policy.py | 328248bfd4d1f8a13f4763032b836d21b6f17421 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | 24601/pulumi-google-native | ce8faf8455609a9572a8cbe0638c66427bf0ae7f | b219a14201c6c58eaa10caaeacbdaab528931adf | refs/heads/master | 2023-08-23T05:48:31.819709 | 2021-10-08T18:50:44 | 2021-10-08T18:50:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,492 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | [
"noreply@github.com"
] | 24601.noreply@github.com |
34db08a9c7df89b262fb73ce652e333701e8fe9e | c724ccb663e3fad5600a6503ce5ec264d554bd78 | /example/exampleapp/urls.py | 99321ab0c5de9a904586d106df6ad3d036a7b9e3 | [
"MIT"
] | permissive | The-Politico/politico-civic-vote | 238ea2504c0f34449e3b0a754b4a981b3d84ea1c | 49348f6c8137c07e4602da184aa500cbcc09affc | refs/heads/master | 2022-12-21T12:20:13.494104 | 2018-11-16T15:57:02 | 2018-11-16T15:57:02 | 116,028,769 | 0 | 0 | MIT | 2022-12-08T01:16:50 | 2018-01-02T15:22:20 | Python | UTF-8 | Python | false | false | 163 | py | from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('vote.urls')),
]
| [
"jmcclure@politico.com"
] | jmcclure@politico.com |
b925852542f68b2506bfd2e0ffd993d849b6c222 | f5c62bab2e95bb2dc6986ba271662ade8cae4da0 | /docs/PythonSAI/MetadataString.py | 0d30a80fffc6a9be2f1f5d6821fad686f468c6f0 | [] | no_license | Has3ong/X3DViewer | d211b159c29523e61158eddc015bb320e4ba7c9d | c629305c24b5c25fd41d3a46816efbf1f74d0092 | refs/heads/master | 2021-06-25T16:36:46.278469 | 2021-01-03T11:26:02 | 2021-01-03T11:26:02 | 180,564,246 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,930 | py | from . import *
# MetadataString defines a concrete node interface that extends interface X3DMetadataObject.
class CMetadataString(CX3DMetadataObject):
m_strNodeName = "MetaDataString"
def __init__(self):
self.m_strNodeName = "MetadataString"
self.m_Parent = [None]
self.children = []
... | [
"khsh5592@naver.com"
] | khsh5592@naver.com |
6eb3506a0a6581b73a97fecd82f44c64dcea0018 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/otherforms/_militarising.py | fb92351ffe6c79b74b718553970c60d463d37bbf | [
"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 | 240 | py |
#calss header
class _MILITARISING():
def __init__(self,):
self.name = "MILITARISING"
self.definitions = militarise
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.basic = ['militarise']
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
c7de5af07db494972a5992b0545089b6e8b4b6f6 | 9b78bc34a80e4137da15648b094196bfce144091 | /Pantallas/Serializables/estadoArticuloSerializables.py | a22d579ab23d2bebebe9aed858d92653b10e9afe | [] | no_license | AlemFernandez786/Scabox | a3cb3bc16e0bcc95dda7671c19ca9b2fab11247e | 733efd788451b2ce914a5773f71789fbe246d027 | refs/heads/master | 2022-03-02T05:27:39.097097 | 2019-11-07T22:52:33 | 2019-11-07T22:52:33 | 202,450,306 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,459 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Form(object):
def setupUi(self, Form):
Form.setObje... | [
"gustavorojas.1403@gmail.com"
] | gustavorojas.1403@gmail.com |
9cef3dad7b1febf9ccc917aa19f9ab9d322e3758 | 774353c913eb170ec15ca881cd2bae43121b99e1 | /color.py | 7669fde3358080341f2f814ac85b0da68a055f26 | [
"MIT"
] | permissive | nathancy/stackoverflow | b83bdca4f44fd523259b551301a7371e03fb8493 | ed5a00319ad3a2c7631825e17963c392aee5a103 | refs/heads/master | 2022-05-19T15:09:37.883623 | 2022-05-14T20:21:19 | 2022-05-14T20:21:19 | 175,527,064 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,098 | py | import cv2
import numpy as np
def nothing(x):
pass
# Load image
try:
image = cv2.imread('1.jpg')
except:
image = cv2.imread('1.png')
# Create a window
cv2.namedWindow('image')
# Create trackbars for color change
# Hue is from 0-179 for Opencv
cv2.createTrackbar('HMin', 'image', 0, 179, nothing)
cv2.crea... | [
"nathancy@hawaii.edu"
] | nathancy@hawaii.edu |
b1092e201344ec701a874729a1e261d792444c89 | f24c35bb0919f9ad75f45e7906691c3189536b33 | /catkin_ws/build/teleop_twist_keyboard/catkin_generated/pkg.installspace.context.pc.py | 19c91a569ae3bed4c279065e6379a175bc85078f | [] | no_license | mfkiwl/supreme-xcb | 9b941f49bab5a811d23a0cd75790d1e5722aa9f0 | d1287657607bf86d4b1393acf285951760670925 | refs/heads/main | 2023-03-07T12:10:28.288282 | 2021-03-02T11:46:00 | 2021-03-02T11:46:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 382 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "teleop_twist_keyboard"
PROJECT_SPACE_... | [
"xiechengbinin@gmail.com"
] | xiechengbinin@gmail.com |
aad373e66bd72507ad1215ac41ee0f97afd78dc7 | be7fef3e4c39c6ed5dcd35d0634cc50c7942e190 | /examples/evaluation/quantify_peak_picking.py | 490f9c2117ca20d866a9bd5394a904e04a120d3e | [] | no_license | aspect-analytics/Esmraldi | d6c4716655389a5a8795959b4f9c98af72939529 | cc56966cab6309ef1df967411ee3fb22419d7451 | refs/heads/master | 2023-08-13T20:42:15.909939 | 2021-10-13T10:58:53 | 2021-10-13T10:58:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,211 | py | import csv
import argparse
import os
import csv
import esmraldi.spectraprocessing as sp
import numpy as np
import matplotlib.pyplot as plt
from scipy.ndimage.morphology import white_tophat
from scipy.ndimage import gaussian_filter
import scipy.sparse as sparse
from scipy.sparse.linalg import spsolve
from itertools impo... | [
"gm.florent@gmail.com"
] | gm.florent@gmail.com |
9f9894bbd689f823e9f84a415b73c51919525a5e | 2bdbf7b0cb3542c6b2d40226959434057a41a646 | /scripts/projects/strain_mock/run.py | 22cfcb6982b2fe1fbc6e4ed00666b308de52118c | [
"MIT"
] | permissive | mtop/gefes | ad63f6c9a50bdac65455b7aee3ff0f4a8e5202fd | 7cad7f270a7013930a3eb445d39081690133b238 | refs/heads/master | 2021-01-14T12:39:29.147114 | 2014-11-11T13:52:25 | 2014-11-11T13:52:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 980 | py | #!/usr/bin/env python2
"""
A script to contain examples commands for running the pipeline.
"""
# Don't run it #
import sys
sys.exit("Copy paste the commands you want in ipython, don't run this script.")
# Modules #
import gefes
from fasta import FASTA
################################################################... | [
"lucas.sinclair@me.com"
] | lucas.sinclair@me.com |
bf1b1b888770269048591a43162a38a9b71aa4c3 | e8e603760636ceff5393251b33fb81e3d0aaf4a3 | /home/migrations/0002_load_initial_data.py | 9101ba1149cf45bd196f6989ec8ed4df24790713 | [] | no_license | crowdbotics-apps/testapppayment-dev-9221 | 94e321290ced3b8eed6ee17f46e7231ac56f2a7e | b318ab8e559cfadc504d3d7e339106848a76875a | refs/heads/master | 2022-12-15T13:27:01.148355 | 2020-08-17T15:06:42 | 2020-08-17T15:06:42 | 288,211,444 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,313 | py | from django.db import migrations
def create_customtext(apps, schema_editor):
CustomText = apps.get_model("home", "CustomText")
customtext_title = "TestAppPayment"
CustomText.objects.create(title=customtext_title)
def create_homepage(apps, schema_editor):
HomePage = apps.get_model("home", "HomePage"... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
4fc600bbdabb8ebf062fa986b6e9b5fa0cc20ef8 | e35302b37ca3b1d7cb1257c15c3c95450014b4fa | /mapusaurus/tests/test_fetch_zip.py | d252f395141578422ab8dbb3e64082f6dc04be1c | [
"CC0-1.0"
] | permissive | cmc333333/mapusaurus | 4cfb3b3e00d01fecc3e602bbdb104a462fdab046 | 1d7ccef90d0ed832d52f797cbe68057057cd0177 | refs/heads/master | 2021-01-21T08:43:36.762595 | 2019-03-03T23:17:29 | 2019-03-03T23:17:29 | 19,944,863 | 0 | 0 | NOASSERTION | 2019-03-03T23:17:30 | 2014-05-19T14:25:28 | Python | UTF-8 | Python | false | false | 1,765 | py | import re
from io import BytesIO
from zipfile import ZipFile
from mapusaurus import fetch_zip
def test_fetch_and_unzip_file(responses):
content = BytesIO()
with ZipFile(content, "w") as archive:
with archive.open("contents.txt", "w") as contained_file:
contained_file.write(b"Some contents... | [
"cm.lubinski@gmail.com"
] | cm.lubinski@gmail.com |
b7eea41273c71c2b7f227e46369b1d93e6320eea | 7c15f211adc9e9eb9f66ccdd570c9f38dff7ea8d | /packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/operations/__init__.py | 65edf8ff8c9821b51bd2872ed4e2a3c3e42ada48 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | Azure/autorest.python | cc4bfbf91ae11535731cad37cedd6b733edf1ebd | a00d7aaa3753ef05cb5a0d38c664a90869478d44 | refs/heads/main | 2023-09-03T06:58:44.246200 | 2023-08-31T20:11:51 | 2023-08-31T20:11:51 | 100,315,955 | 47 | 40 | MIT | 2023-09-14T21:00:21 | 2017-08-14T22:58:33 | Python | UTF-8 | Python | false | false | 1,275 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | [
"noreply@github.com"
] | Azure.noreply@github.com |
d595b1d4dc04a8e423145fa642fa98e98b52a4b9 | bd55c7d73a95caed5f47b0031264ec05fd6ff60a | /apps/core/migrations/0078_auto_20180821_1803.py | f5867eff429fda84cfabf5b28133614c43788c91 | [] | no_license | phonehtetpaing/ebdjango | 3c8610e2d96318aff3b1db89480b2f298ad91b57 | 1b77d7662ec2bce9a6377690082a656c8e46608c | refs/heads/main | 2023-06-26T13:14:55.319687 | 2021-07-21T06:04:58 | 2021-07-21T06:04:58 | 381,564,118 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,661 | py | # Generated by Django 2.0.5 on 2018-08-21 09:03
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0077_auto_20180817_1211'),
]
operations = [
migrations.AlterField(
model_name='automess... | [
"phonehtetpaing1221@gmail.com"
] | phonehtetpaing1221@gmail.com |
9bb3af11f4c83d4e78ea7df0acd726b3c1200cd2 | 048cda95057e9852b7f1cebbab864ea10e3fc0db | /crawler/v1/xinhuamyanmarcom.py | fe8935f9352a58ed8c036856026d82894e0708c2 | [] | no_license | AMAtreus/dg_crawler_website | fa9e587cf07549c0752bb88a8f61b1057496da26 | 1bcb03a48aff1ebca4e04a5c060be299ca9881d4 | refs/heads/master | 2023-08-17T09:56:51.379743 | 2021-10-13T13:50:23 | 2021-10-13T13:50:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,340 | py | from crawler.spiders import BaseSpider
import scrapy
from scrapy import FormRequest
from utils.util_old import *
from crawler.items import *
from scrapy.http import Request, Response
import re
import time
from bs4 import BeautifulSoup
# author 刘鼎谦
class XinhuamyanmarcomSpider(BaseSpider):
name = 'xinhuamyanmarcom'... | [
"2782299413@qq.com"
] | 2782299413@qq.com |
5a775eac66461635944a67c5aef7654760173ac8 | 3ae6136e4a0461dd00c68471bdd647df1513e022 | /MNfurniture/Program_python/GuiBill.py | 9416ad3aac39add2fb3f8645b5a6930eb390c402 | [
"MIT"
] | permissive | nipponnp/aboutme | ce0cb19db310dfcffb1e0b1ccec69fc7326cbdab | 4f589705b9c5ac0b29ad4864a1bf742e84820bc4 | refs/heads/master | 2022-12-27T03:55:46.055925 | 2020-09-23T09:39:11 | 2020-09-23T09:39:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,108 | py | import PySimpleGUI as sg
from creategui import changedicttolist ,CreateTablegui,Data_template
from resizefill import resize,xyaxis
import cv2
from PIL import ImageFont, ImageDraw, Image
import tldextract
sg.theme('DarkAmber')
x_offset=100
y_offset=350
layout=CreateTablegui(Data_template)
window = sg.Window('Billing Ad... | [
"pection.naphat@gmail.com"
] | pection.naphat@gmail.com |
b962ce2a488d2a5779785977b4b0cb21514ac7b7 | 773ab7c3b95b1c0acc178cf1902e3f945db944ec | /mama/lib/python3.8/site-packages/github/objects/label.py | 0e9512c83a3f149ae294b88e8a7e5cd0a52954ef | [
"Apache-2.0"
] | permissive | iamdarshan7/portfolio | 32d2cf574de1bd10d8999bb9e9e0cd828495dcbf | 9937630642a3cc52c884551a4f1047cbf32106f4 | refs/heads/master | 2023-01-31T16:56:02.179442 | 2020-12-01T17:46:08 | 2020-12-01T17:46:08 | 321,680,966 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,703 | py | """
/github/objects/label.py
Copyright (c) 2019-2020 ShineyDev
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
... | [
"darshanthapa872@gmail.com"
] | darshanthapa872@gmail.com |
59a08284ab132b52e8fe9577d5142d24c411d329 | f07a42f652f46106dee4749277d41c302e2b7406 | /Data Set/bug-fixing-4/2deac4e447095718a88bb74d1831c3bc018f7e75-<init_data_type_with_fusion>-fix.py | 2216b62ceccbaee33ed48d3069c4e04444515cba | [] | no_license | wsgan001/PyFPattern | e0fe06341cc5d51b3ad0fe29b84098d140ed54d1 | cc347e32745f99c0cd95e79a18ddacc4574d7faa | refs/heads/main | 2023-08-25T23:48:26.112133 | 2021-10-23T14:11:22 | 2021-10-23T14:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 227 | py | def init_data_type_with_fusion(self, input_dt, fuse_relu, fuse_residual):
self.srctype = input_dt
self.dsttype = (np.uint8 if fuse_relu else np.int8)
self.fuse_relu = fuse_relu
self.fuse_residual = fuse_residual | [
"dg1732004@smail.nju.edu.cn"
] | dg1732004@smail.nju.edu.cn |
e552ce0608ac6ce12e3f6547d02c1ee27b55ea13 | 4a3ba8d989d6b042ea6101ef99635efd52012b15 | /지형이동 프로그래머스.py | 911c48856cf39d2a3d3c9b15bb81f1347dbee02e | [] | no_license | kwoneyng/beakjoon | 9d966716a9aed10e760fa99ec59ec5e9df626920 | 1742026f8b6feb3fc17e077992ea31400b6935a3 | refs/heads/master | 2022-12-29T03:42:36.694851 | 2020-10-17T05:45:58 | 2020-10-17T05:45:58 | 263,789,080 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,508 | py | from collections import deque
from heapq import heappop, heappush
import sys
sys.setrecursionlimit(100000)
def mark(x,y,bd,vis,cnt,near,h):
vis[x][y] = cnt
for a,b in near:
xi,yi = a+x, b+y
if 0<=xi<len(bd) and 0<=yi<len(bd) and vis[xi][yi] == -1:
if abs(bd[x][y] - bd[xi][yi]) <= h:
mark(xi,y... | [
"nan308@naver.com"
] | nan308@naver.com |
1b29988f8bebd066a93864817de0d97ece6aa0da | 33b75d77c3eb526594e7f4ee767c635141409187 | /server/patton_server/service/input_sources/simple.py | da47c0983a373f8282c8aca6db6962ee7bec7a94 | [
"Apache-2.0"
] | permissive | triplekill/patton | e3a3489abca74291effe62aa177e1960c60c30cc | 5401b68b54938647ef8b5d6eaea38fa97217a36b | refs/heads/master | 2020-07-06T19:23:48.024295 | 2019-07-19T12:34:23 | 2019-07-19T12:34:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,182 | py | import slugify
from typing import List, Dict
def simple_builder(package: List[Dict[str, str]],
max_packages_to_analyze: int = 300) -> str:
"""Return the full text query"""
query = set()
packages_to_analyze = 0
for lib in package:
library = slugify.slugify(lib.get("library... | [
"cr0hn@cr0hn.com"
] | cr0hn@cr0hn.com |
46f0f7e5bc182fdc86c43d4acff9aa7e7df4846a | 1dd89e25ae58eded2fc3a5756a706fd654c9b40a | /czsc/traders/advanced.py | ba593533e36a7aa5f8f79118335e57055f043245 | [
"Apache-2.0"
] | permissive | jiev/chan | 9672bd3ac3146248da1da60660a6123ab1fa34b1 | a6c57a9f64e37c9cb05cf498f16719dbc2757a4c | refs/heads/master | 2022-06-17T21:31:19.680827 | 2022-06-10T01:52:36 | 2022-06-10T01:52:36 | 247,880,355 | 2 | 0 | MIT | 2020-03-17T04:38:18 | 2020-03-17T04:38:17 | null | UTF-8 | Python | false | false | 14,804 | py | # -*- coding: utf-8 -*-
"""
author: zengbin93
email: zeng_bin8888@163.com
create_dt: 2021/11/7 17:09
describe: 支持分批买入卖出的高级交易员
"""
import os
import webbrowser
import pandas as pd
from collections import OrderedDict
from typing import Callable, List
from pyecharts.charts import Tab
from pyecharts.components import Table
... | [
"zeng_bin8888@163.com"
] | zeng_bin8888@163.com |
8c7f2a5dd1a987c2491baa94b1076c12faadad88 | 02626713a8b08b6441a44544b5d512c5c4b5b7c8 | /wsgi.py | 97b205cd3ddec5c7ae649a3a04fa02d0301f8147 | [] | no_license | chitrankdixit/freshdesk-flyrobe-app | 56240f0f81e57606fb5db09ab5e61438958bb66d | d4adb310a052a5505a250b9c7934ca7ae3205831 | refs/heads/master | 2022-12-14T20:52:31.738845 | 2018-02-05T12:55:47 | 2018-02-05T12:55:47 | 119,705,056 | 0 | 1 | null | 2021-06-01T21:48:42 | 2018-01-31T15:26:10 | Python | UTF-8 | Python | false | false | 71 | py | from freshdesk_app import app
if __name__ == "__main__":
app.run() | [
"chitrankdixit@gmail.com"
] | chitrankdixit@gmail.com |
03d9f6ea8d74c9e333c0aaade43fc75499d344f1 | 61afd923551491846ae827821f55c4fb5fd04c98 | /packages/levylab_lib_cryostation_instrument/levylab_lib_cryostation_instrument-1.1.6.14.spec | 8f7f20861cbb361567047f419ac7f8f4aa627395 | [
"BSD-3-Clause"
] | permissive | laserengineer/levylabpitt.github.io | b74b711aff2a5eb1b46f880a1071ac0873f1a9ac | cdf9aeb6faaf136211291ce2232c239229d85bbe | refs/heads/master | 2023-04-29T02:36:48.736236 | 2021-05-14T19:20:40 | 2021-05-14T19:20:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,036 | spec | [Package]
Name="levylab_lib_cryostation_instrument"
Version="1.1.6.14"
Release=""
ID=d119881f9f9cba80ac72480ce35bf7a0
File Format="vip"
Format Version="2017"
Display Name="Cryostation"
[Description]
Description="Program for logging Montana Instruments Cryostation status to the DSC. Provides a UI and API for getting i... | [
"p.irvin@levylab.org"
] | p.irvin@levylab.org |
a218b140548d16333d767b2b2c4efa1b295e04a9 | f662bd04d2f29ef25bbfd7e768b1e57dfbba4d9f | /apps/evaluacion/migrations/0001_initial.py | a7633e204c144016e727cc9cc12c44548fc6d301 | [] | no_license | DARKDEYMON/sisevadoc | f59b193688f7eca7c140a03ee414f5d20ada78c7 | 9fc0943200986824a2aab2134fdba5c9f3315798 | refs/heads/master | 2020-03-19T03:27:07.907125 | 2019-12-11T13:30:43 | 2019-12-11T13:30:43 | 135,729,070 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,204 | py | # Generated by Django 2.0.8 on 2018-10-08 14:13
import apps.evaluacion.models
from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import smart_selects.db_fields
class Migration(migrations.Migration):
initial = True
depende... | [
"darkdeymon04@gmail.com"
] | darkdeymon04@gmail.com |
814b8b9b61015a2c4b7bc2887f99e6ddf0cb5d62 | 4bd555bc662b8182a2e7644976bfdb00ed5e1ebe | /PythonistaAppTemplate/PythonistaKit.framework/pylib/site-packages/xhtml2pdf/default.py | 2900140509bcb3b85a652499731d715219f06229 | [] | no_license | fhelmli/homeNOWG2 | a103df1ef97194dec9501dbda87ec1f7c111fb4a | e794fd87b296544542fd9dc7ac94c981c6312419 | refs/heads/master | 2020-04-04T13:40:20.417769 | 2019-01-30T21:41:04 | 2019-01-30T21:41:04 | 155,970,686 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,929 | py | #import pythonista
# -*- coding: utf-8 -*-
from reportlab.lib.pagesizes import (A0, A1, A2, A3, A4, A5, A6, B0, B1, B2, B3,
B4, B5, B6, LETTER, LEGAL, ELEVENSEVENTEEN)
# Copyright 2010 Dirk Holtwick, holtwick.it
#
# Licensed under the Apache License, Version 2.0 (the "License");
# ... | [
"tberk@gmx.at"
] | tberk@gmx.at |
2e304e2f166036b259295aee5a9b13ebb9ac238d | f82236cb5a388846ea8c8980ac21d0e11f20171d | /Examination/16_小Q的歌单.py | 596e57a5c660c1cb14ea9489168bdedcaefc8f42 | [] | no_license | cp4011/Algorithms | f2889c219d68b597a38d86899d8ff682e386e649 | e7214e59640cd24d908a6b95d8876c9db9822d8b | refs/heads/master | 2020-04-27T20:21:43.937234 | 2019-08-18T15:12:09 | 2019-08-18T15:12:09 | 174,654,563 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,805 | py | """小Q有X首长度为A的不同的歌和Y首长度为B的不同的歌,现在小Q想用这些歌组成一个总长度正好为K的歌单,每首歌最多只能在歌单中
出现一次,在不考虑歌单内歌曲的先后顺序的情况下,请问有多少种组成歌单的方法。
输入描述:
每个输入包含一个测试用例。
每个测试用例的第一行包含一个整数,表示歌单的总长度K(1<=K<=1000)。
接下来的一行包含四个正整数,分别表示歌的第一种长度A(A<=10)和数量X(X<=100)以及歌的第二种长度B(B<=10)和数量Y(Y<=100)。保证A不等于B。
输出描述:
输出一个整数,表示组成歌单的方法取模。因为答案可能会很大,输出对1000000007取模的结果。
输入例子1:
5
2 3 ... | [
"957628963@qq.com"
] | 957628963@qq.com |
c4726ecb4dc4d8f3bc7921983ab124089255a287 | a820336e1ba1678ea795b97a13e8f24ac1f4047d | /places/apis_views.py | 4020506f55d980ff3981e15daaa25bf2d93e58f1 | [
"MIT"
] | permissive | acdh-oeaw/dig_ed_cat | 492ad0b6ba7c984244e0e78629b98b410b9c8a8f | 3747ba28435848f01da37ebdb74108ef3bcd76c6 | refs/heads/master | 2023-05-28T07:16:25.281149 | 2023-05-23T06:28:00 | 2023-05-23T06:28:00 | 58,523,978 | 12 | 5 | MIT | 2023-05-23T06:28:01 | 2016-05-11T07:39:28 | JavaScript | UTF-8 | Python | false | false | 429 | py | from rest_framework import viewsets
from .serializers import PlaceSerializer, AlternativeNameSerializer
from .models import Place, AlternativeName
class PlaceViewSet(viewsets.ModelViewSet):
queryset = Place.objects.all()
serializer_class = PlaceSerializer
depth = 2
class AlternativNameViewSet(viewsets.M... | [
"Peter.Andorfer@oeaw.ac.at"
] | Peter.Andorfer@oeaw.ac.at |
5c85903cdd3d6c0ed256c8312491f4014135a1d1 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5753053697277952_0/Python/JustAMan/task1.py | 1c0e0e97692e8bd3f1dc946aa6e29c179fad09de | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | Python | false | false | 1,011 | py | import sys
A_NUM = ord('A')
def index2party(*idx):
return ''.join(chr(A_NUM + x) for x in idx)
def solve(p):
plan = []
while any(x > 0 for x in p):
idx1, _ = max(enumerate(p), key=lambda (i, v): v)
p[idx1] -= 1
idx2, _ = max(enumerate(p), key=lambda (i, v): v)
p[idx2] -= 1
... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
0490440560a38678c76c944cc2ce8393e211b6ba | 6d79783fa490d209e19639276051fc9e7e470fba | /integration-test/1491-south-korean-shields.py | 8aac2e322fbca38a8279b6c1866c061e2849b73f | [] | permissive | va2ron1/vector-datasource | d9007c2558d6866f75679d1a711a62044fdc81ab | 0145844e27d1e3cb3256b449040511b6791febd7 | refs/heads/master | 2021-05-10T15:30:59.456868 | 2019-06-18T00:36:58 | 2019-06-18T00:36:58 | 118,549,672 | 0 | 0 | MIT | 2019-06-18T00:36:59 | 2018-01-23T03:03:00 | Python | UTF-8 | Python | false | false | 13,316 | py | # -*- encoding: utf-8 -*-
from . import FixtureTest
class SouthKoreanShields(FixtureTest):
def test_asianhighway(self):
import dsl
z, x, y = (16, 55875, 25370)
self.generate_fixtures(
dsl.is_in('KR', z, x, y),
# https://www.openstreetmap.org/way/547188348
... | [
"zerebubuth@gmail.com"
] | zerebubuth@gmail.com |
af7acd4198ed01f248b585d74da066970f4bb5f5 | c0960d3ebef9b4167c7f7581c50adcfb66cc02fa | /app/importer/handlers.py | d75f7a5ec82761a43f049d0ba25491c38ec31d2b | [] | no_license | hebkhan/server | 8358c3970322383473e4d7165447ccc800d864be | 3150d9316489da638a19470085ca97061c3592ee | refs/heads/master | 2021-06-13T15:27:01.571952 | 2015-08-03T22:09:43 | 2015-08-03T22:09:43 | 13,910,197 | 1 | 2 | null | 2016-02-29T21:23:07 | 2013-10-27T20:57:13 | Python | UTF-8 | Python | false | false | 7,296 | py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, with_statement
import json
from collections import defaultdict
import copy
from google.appengine.api import users
from google.appengine.ext import db
from request_handler import RequestHandler
from user_util import dev_server_only
from models import Use... | [
"oferko@il.ibm.com"
] | oferko@il.ibm.com |
3a017b900197b00c5f1cfd40e6aea2a65108e07c | d094ba0c8a9b1217fbf014aa79a283a49aabe88c | /env/lib/python3.6/site-packages/pandas/tests/tseries/test_frequencies.py | eb4e63654b47b49d76ebf30d279a75b472ad3292 | [
"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 | 29,684 | py | from datetime import datetime, timedelta
import numpy as np
import pytest
from pandas._libs.tslibs import frequencies as libfrequencies, resolution
from pandas._libs.tslibs.ccalendar import MONTHS
from pandas._libs.tslibs.frequencies import (
INVALID_FREQ_ERR_MSG, FreqGroup, _period_code_map, get_freq, get_freq_c... | [
"leibingye@outlook.com"
] | leibingye@outlook.com |
c775dfbdd9e3ff016859c95b19ca5cf1516715e8 | 159aed4755e47623d0aa7b652e178296be5c9604 | /data/scripts/templates/object/draft_schematic/scout/shared_item_trap_flash_bomb.py | 75d25515e7c8511a1bb926e66454877f7bd0ff4e | [
"MIT"
] | permissive | anhstudios/swganh | fb67d42776864b1371e95f769f6864d0784061a3 | 41c519f6cdef5a1c68b369e760781652ece7fec9 | refs/heads/develop | 2020-12-24T16:15:31.813207 | 2016-03-08T03:54:32 | 2016-03-08T03:54:32 | 1,380,891 | 33 | 44 | null | 2016-03-08T03:54:32 | 2011-02-18T02:32:45 | Python | UTF-8 | Python | false | false | 455 | py | #### NOTICE: THIS FILE IS AUTOGENERATED
#### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY
#### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES
from swgpy.object import *
def create(kernel):
result = Intangible()
result.template = "object/draft_schematic/scout/shared_item_trap_flash_bomb.iff"
result.attribute_te... | [
"rwl3564@rit.edu"
] | rwl3564@rit.edu |
c61bba04ba90b902317654197e8dd0546a386380 | 2734b77a68f6d7e22e8b823418ad1c59fe1a34af | /opengever/tabbedview/upgrades/to2202.py | 7dd61b11749007b632aaebc5820297a180e31a60 | [] | no_license | 4teamwork/opengever.core | 5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1 | a01bec6c00d203c21a1b0449f8d489d0033c02b7 | refs/heads/master | 2023-08-30T23:11:27.914905 | 2023-08-25T14:27:15 | 2023-08-25T14:27:15 | 9,788,097 | 19 | 8 | null | 2023-09-14T13:28:56 | 2013-05-01T08:28:16 | Python | UTF-8 | Python | false | false | 349 | py | from ftw.upgrade import UpgradeStep
class RenameStatefilterJS(UpgradeStep):
def __call__(self):
js_registry = self.getToolByName('portal_javascripts')
js_registry.renameResource(
'++resource++opengever.tabbedview-resources/tasklisting.js',
'++resource++opengever.tabbedvie... | [
"philippe.gross@4teamwork.ch"
] | philippe.gross@4teamwork.ch |
b8b0ae01aebed89c4fcd1c8e915ea2361bdfabae | d57b51ec207002e333b8655a8f5832ed143aa28c | /.history/1/PyGame/game_20200606103144.py | 6ff9f41e5074746419088a6a5bb1697c348cd040 | [] | no_license | yevheniir/python_course_2020 | b42766c4278a08b8b79fec77e036a1b987accf51 | a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b | refs/heads/master | 2022-11-15T07:13:24.193173 | 2020-07-11T15:43:26 | 2020-07-11T15:43:26 | 278,890,802 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 7,341 | py | # 1 - Import library
import pygame
from pygame.locals import *
import math
import random
import os
import json
# 2 - Initialize the game
pygame.init()
width, height = 640, 480
screen=pygame.display.set_mode((width, height))
keys = [False, False, False, False]
playerpos=[100,100]
acc=[0,0]
arrows=[]
badtimer=100
badtim... | [
"yevheniira@intelink-ua.com"
] | yevheniira@intelink-ua.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.