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
808675dc32aeb91a3c33e5bb7573201502bb7568
d231660a58604ec32f5a9a40558daa8456360dd3
/askmasala/apps/home/models.py
02164fb6913edcdb728d5ef75b4d30a13987e3e3
[]
no_license
gout-tech/ask-masala
34f8830c569a236eb2e5d33852935adbc76f0b44
f778af5995e8802045e50033baa1f4ff11b02650
refs/heads/master
2023-05-09T06:05:38.679739
2020-10-30T14:15:47
2020-10-30T14:15:47
194,424,193
0
2
null
2023-04-21T20:33:05
2019-06-29T16:05:30
HTML
UTF-8
Python
false
false
456
py
from django.db import models # Create your models here. def get_image_filename(instance, filename): return '/'.join(['images', str(instance.name), filename]) class Images(models.Model): name = models.CharField(max_length=100) image = models.ImageField(upload_to=get_image_filename, verbose_name='Image',...
[ "goutham.hashroot@gmail.com" ]
goutham.hashroot@gmail.com
6f2327496b543b5db3dea6d6def2b8182206894d
048df2b4dc5ad153a36afad33831017800b9b9c7
/atcoder/abc070/abc070_b.py
8eebaed79ee4401258734e1df1bc72dd71ed521e
[]
no_license
fluffyowl/past-submissions
a73e8f5157c647634668c200cd977f4428c6ac7d
24706da1f79e5595b2f9f2583c736135ea055eb7
refs/heads/master
2022-02-21T06:32:43.156817
2019-09-16T00:17:50
2019-09-16T00:17:50
71,639,325
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
a, b, c, d = map(int, raw_input().split()) A = [0 for i in xrange(150)] for i in xrange(150): if a <= i < b: A[i] += 1 if c <= i < d: A[i] += 1 print A.count(2)
[ "nebukuro09@gmail.com" ]
nebukuro09@gmail.com
098047f7ef9c63daa7ace42086beb946ecd61f6b
b38247a5d84d8b52ce8363f8dd81629cfbe17f65
/reagent/optimizer/utils.py
2a918eaeb146dbd5d32a4c727bdc941d78df1933
[ "BSD-3-Clause" ]
permissive
facebookresearch/ReAgent
7f2b82eaaf7a19e58cc50aacc307d7b001231440
c5f1a8371a677b4f8fb0882b600bf331eba5259d
refs/heads/main
2023-09-05T15:56:49.175072
2023-08-29T21:48:40
2023-08-29T21:48:40
98,565,575
1,480
290
BSD-3-Clause
2023-09-12T23:09:30
2017-07-27T17:53:21
Python
UTF-8
Python
false
false
566
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import inspect import torch def is_strict_subclass(a: object, b: object): if not inspect.isclass(a) or not inspect.isclass(b): return False return issubclass(a, b) and a != b def is_torch_optimizer(cls):...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
7982df99b30018772a7e9094c5d2ae2f097e4c51
27281e8b274753e135231bb2bb444675c6edfa1b
/lesson1/lambda.py
7099357b54e1d8e678baf7e826a3103b27896740
[]
no_license
igortereshchenko/bigquerypandasplotly
59c9b7e1d2afd9a1b6de8132a9944e8f3d9a2fc1
414172fc44bcd23f880c799802c3fe57c42ad83d
refs/heads/main
2023-01-05T12:00:55.357033
2020-11-03T14:21:40
2020-11-03T14:21:40
309,338,833
0
3
null
null
null
null
UTF-8
Python
false
false
132
py
def f1(x): return x+1 print(f1(1)) prt = lambda x: x+1 print(prt(1)) # few variable ptr = lambda x,y: x+y print(ptr(1,2))
[ "tereshchenko.igor@gmail.com" ]
tereshchenko.igor@gmail.com
598078d429af09125760933955333f63ec7cb927
377180281ee5534ffbc5580f75d8c374def08591
/tgeste.py
113413d84db2e2f4db04ee6d636f26d066d96e0a
[]
no_license
AlcindoSchleder/Frontend-vuttr
05af3db4d64ec5d485963a37887a7e3e973b02f9
421d5e2d8288427a101a8477f6ddb09980280bdc
refs/heads/master
2020-05-09T15:12:50.735901
2019-05-21T15:53:20
2019-05-21T15:53:20
181,225,323
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
class moeda: def __init__(self): self._symbol = 'R$' self._valor = 0 class moeda10(moeda): def _init__(self): super(moeda10, self).__init__(self) self._valor = 10 @property def valor(self): return self._valor @property def symbol(self): return...
[ "alcindoschleder@gmail.com" ]
alcindoschleder@gmail.com
1d7726d166dc40af8a68206113dd6cab81390b2a
b0993b98fde504444eb789fd1e2fa518c732b450
/src/physics/hamilton.py
00b6995fd3e0f90dcf0eec3b713dca34dd3ed601
[ "MIT" ]
permissive
mountain/planetarium
3fabaac776fe6d67ea16298bf26cfccb5475a0c6
14c5a75f9ac0be36f28d059c7bf7a77635d617da
refs/heads/master
2021-01-25T14:34:12.612343
2018-04-09T03:16:35
2018-04-09T03:16:35
123,713,360
1
0
null
null
null
null
UTF-8
Python
false
false
654
py
# -*- coding: utf-8 -*- import numpy as np """ Hamiltonian """ def hamiltonian(unit, m): b = m.shape[0] n = m.shape[1] def h(x, v, limit=n): s = np.sum(v * v, axis=-1) k = m * s / 2.0 u = np.zeros([b, limit, limit]) for i in range(limit): for j in range(i): ...
[ "mingli.yuan@gmail.com" ]
mingli.yuan@gmail.com
e39e60c47e7c023916279450e83a8a56539497cf
fa0c53ac2a91409eaf0fc7c082a40caae3ffa0d8
/com/lc/python_1_100_Days_Demo/Day01-15/Day09/code/clock.py
e572a7f78fd4b7a3d6bfa6a6c2c1cedfe568f099
[]
no_license
ahviplc/pythonLCDemo
aba6d8deb1e766841461bd772560d1d50450057b
22f149600dcfd4d769e9f74f1f12e3c3564e88c2
refs/heads/master
2023-07-24T01:41:59.791913
2023-07-07T02:32:45
2023-07-07T02:32:45
135,969,516
7
2
null
2023-02-02T03:24:14
2018-06-04T04:12:49
Python
UTF-8
Python
false
false
1,226
py
from time import time, localtime, sleep """ 属性的使用- 使用已有方法定义访问器/修改器/删除器 Version: 0.1 Author: LC DateTime:2018年9月18日13:50:47 一加壹博客最Top-一起共创1+1>2的力量!~LC LC博客url: http://oneplusone.top/index.html """ class Clock(object): """数字时钟""" def __init__(self, hour=0, minute=0, second=0): self._hour = hour ...
[ "ahlc@sina.cn" ]
ahlc@sina.cn
f356491a89aa6be1363b27a5a66637daeac2abd1
b565143dbd490ad2721af7d8578483aa053383d0
/recipes/emsdk/all/conanfile.py
69dc7c65e146901613127d84175d0cfc9f11446d
[ "MIT" ]
permissive
czoido/conan-center-index
da7fbe837c88e3a65f7f2d6ed24ada62eb601c69
7952190873e49e23996fc7192a76e5917c49ec8a
refs/heads/master
2023-07-20T02:13:08.706521
2022-12-13T17:01:47
2022-12-13T17:01:47
228,573,093
0
0
MIT
2022-12-13T17:01:49
2019-12-17T08:49:29
Python
UTF-8
Python
false
false
6,893
py
from conans import ConanFile, tools import os import json required_conan_version = ">=1.33.0" class EmSDKConan(ConanFile): name = "emsdk" description = "Emscripten SDK. Emscripten is an Open Source LLVM to JavaScript compiler" url = "https://github.com/conan-io/conan-center-index" homepage = "https:/...
[ "noreply@github.com" ]
czoido.noreply@github.com
e7a75d2d6b8612724ed68e684e2127ee4769e59e
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v6/googleads-py/google/ads/googleads/v6/services/types/ad_group_ad_asset_view_service.py
d17cfce61caad6078fc9bd5551f1a318517e3abf
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
a44b27cfe986722c8c365671c2ca9f9da80acc47
ecf0d106831b9e08578845674a457a166b6e0a14
/programming_fundamentals/classes_and_objects_exercise/8_vehicle.py
ed21040be4ec124b89084f32d9646ae6e6ff34d3
[]
no_license
ivo-bass/SoftUni-Solutions
015dad72cff917bb74caeeed5e23b4c5fdeeca75
75612d4bdb6f41b749e88f8d9c512d0e00712011
refs/heads/master
2023-05-09T23:21:40.922503
2021-05-27T19:42:03
2021-05-27T19:42:03
311,329,921
8
5
null
null
null
null
UTF-8
Python
false
false
693
py
class Vehicle: def __init__(self, typ, model, price): self.type = typ self.model = model self.price = price self.owner = None def buy(self, money, owner): if self.owner: return "Car already sold" else: if money < self.price: return "Sorry, not enough money" else: self.owner = owner c...
[ "ivailo.ignatoff@gmail.com" ]
ivailo.ignatoff@gmail.com
e6e2712d153f21b6d9085168d5e686ed101bf78a
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/cloud/dataproc/v1beta2/dataproc-v1beta2-py/google/cloud/dataproc_v1beta2/services/workflow_template_service/client.py
fd524a3d0c4b1e813933c88f9ac2c30107465d7c
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,302
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
bafe122310aae75ec6ba62858ee19ee9ddaea8b6
64ab5b65afdf8d950c4b56ad2259133b95fc2fec
/zeus/migrations/2174d4350f40_multiple_revision_authors.py
514a62a67ff03a78c948d98268e129ccc248af02
[ "Apache-2.0" ]
permissive
getsentry/zeus
3e88895443b23278fdb4c25121422ee214630512
6d4a490c19ebe406b551641a022ca08f26c21fcb
refs/heads/master
2023-09-01T14:20:11.396306
2021-04-30T17:08:33
2021-04-30T17:08:33
96,131,433
222
27
Apache-2.0
2022-06-01T03:17:16
2017-07-03T16:39:35
Python
UTF-8
Python
false
false
1,507
py
"""multiple_revision_authors Revision ID: 2174d4350f40 Revises: f8851082b9d9 Create Date: 2020-01-06 15:57:52.051760 """ import zeus from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "2174d4350f40" down_revision = "f8851082b9d9" branch_labels = () depends_on = None ...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
18571dcf2de3a137c2d3169e8a70b09c9b7f0b20
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/tests/components/shelly/test_climate.py
6c0ac74296a0df1f73333e7929d8ddbce68ac553
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
17,495
py
"""Tests for Shelly climate platform.""" from unittest.mock import AsyncMock, PropertyMock from aioshelly.exceptions import DeviceConnectionError, InvalidAuthError import pytest from homeassistant.components.climate import ( ATTR_HVAC_MODE, ATTR_PRESET_MODE, ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
5ede53879eaf6105a236f5d03c484c03c5b99b97
3030b4b1822446922f42694a2fed9b1bbf091ebe
/kaggle_utils/features/image.py
1825c8eaa2c424eb35a6cefb540c2ed57501c557
[]
no_license
upura/solafune-light
c89a8db09b391179291cf8fbcb8bd5f7c2c8a5d6
ca9357466e8ecd866845da58ae89fcfcdd5c7f40
refs/heads/master
2023-07-07T20:24:31.003571
2021-08-21T13:21:31
2021-08-21T13:21:31
352,811,945
2
0
null
null
null
null
UTF-8
Python
false
false
15,508
py
import multiprocessing import operator import os from collections import defaultdict from functools import partial import cv2 import matplotlib.pyplot as plt import numpy as np import pandas as pd from PIL import Image, ImageStat from skimage import feature from sklearn.metrics.pairwise import euclidean_distances fro...
[ "upura0@gmail.com" ]
upura0@gmail.com
3d2a020bc47a26d5cd9dda1e267c3bbdbff0bdd4
80b7f2a10506f70477d8720e229d7530da2eff5d
/uhd_restpy/testplatform/sessions/ixnetwork/topology/localipv6address_db0b032b0167051f08ee1b875f3bb0d5.py
e6b69f4f0348fb10f8d0e8cf296b143c60ea23ae
[ "MIT" ]
permissive
OpenIxia/ixnetwork_restpy
00fdc305901aa7e4b26e4000b133655e2d0e346a
c8ecc779421bffbc27c906c1ea51af3756d83398
refs/heads/master
2023-08-10T02:21:38.207252
2023-07-19T14:14:57
2023-07-19T14:14:57
174,170,555
26
16
MIT
2023-02-02T07:02:43
2019-03-06T15:27:20
Python
UTF-8
Python
false
false
3,508
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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 use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
8f323926d3126aa3d5ef5dcf1652b8dd6bbcfef2
af809730607b01e33a962f7d7e0e8fb1ca5171f3
/airflow_ml_dags/dags/constants.py
7893c1e5df791dc1e7b1176b5325584b2a879f21
[]
no_license
made-ml-in-prod-2021/lkudrenok
d1091e518b32e2a626675c61bc13750c1635d3b7
a08192ec6dd375cff83a8b76f3a143da12204153
refs/heads/main
2023-06-08T07:25:15.565349
2021-06-27T18:13:33
2021-06-27T18:13:33
354,630,441
0
0
null
2021-06-27T18:13:34
2021-04-04T19:34:05
Jupyter Notebook
UTF-8
Python
false
false
760
py
from datetime import timedelta from airflow.models import Variable HOST_DATA_DIR = Variable.get('data_dir', default_var='') PREDICT_MODEL_DIR = Variable.get('model_dir', default_var='') PREDICT_TRANSFORMER_DIR = Variable.get('transformer_dir', default_var='') RAW_DATA_DIR = '/data/raw/{{ ds }}' PREPROCESS_DATA_DIR ...
[ "noreply@github.com" ]
made-ml-in-prod-2021.noreply@github.com
ef00e94aca0018cb93fd3b230b6d24690d829cd2
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-slb/aliyunsdkslb/request/v20140515/CreateLoadBalancerUDPListenerRequest.py
3d1fc79b734d3ef48f66d99abc7eacc176afcd79
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,066
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "1478458905@qq.com" ]
1478458905@qq.com
a03ef623d9d0de53a7d87222c761b53c31a09be4
3261ff6f0df713a2939bc6f3664e959f52728c47
/RL/problems/vrp/state_mcvrp.py
443c90ffbb6c1f6d07f7417850b6d340a5d1e878
[ "Apache-2.0" ]
permissive
ChanaRoss/Thesis
0057c710e8ce3abd3edbf7c4a4ef6a986d702142
39ab83d52055d401a3bb71da25b3458ad9196ecd
refs/heads/master
2022-12-03T21:05:55.269387
2020-02-02T19:52:28
2020-02-02T19:52:28
145,448,655
0
0
Apache-2.0
2022-11-22T04:10:19
2018-08-20T17:20:11
Python
UTF-8
Python
false
false
6,600
py
import torch from typing import NamedTuple from utils.boolmask import mask_long2bool, mask_long_scatter class StateMCVRP(NamedTuple): # Fixed input coords: torch.Tensor # Depot + loc demand: torch.Tensor # If this state contains multiple copies (i.e. beam search) for the same instance, then for memo...
[ "chanaby@gmail.com" ]
chanaby@gmail.com
29319c68299f2fbff40ed94c4a66cb427da150fb
f7dd190a665a4966db33dcc1cc461dd060ca5946
/venv/Lib/site-packages/django/utils/translation/trans_real.py
a4f7e8fd920e6dac9576bd44d1d69b3e3c974993
[]
no_license
Darwin939/macmeharder_back
2cc35e2e8b39a82c8ce201e63d9f6a9954a04463
8fc078333a746ac7f65497e155c58415252b2d33
refs/heads/main
2023-02-28T12:01:23.237320
2021-02-02T17:37:33
2021-02-02T17:37:33
328,173,062
0
0
null
null
null
null
UTF-8
Python
false
false
19,914
py
"""Translation helper functions.""" import functools import gettext as gettext_module import os import re import sys import warnings from asgiref.local import Local from django.apps import apps from django.conf import settings from django.conf.locale import LANG_INFO from django.core.exceptions import AppRegistryNotR...
[ "51247000+Darwin939@users.noreply.github.com" ]
51247000+Darwin939@users.noreply.github.com
e304cb57bfbe867d8adc6cdd4d364b8561142f50
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/WebMirror/management/rss_parser_funcs/feed_parse_extractThreecupsynWordpressCom.py
74a9faf6904c82a5eb7cb8693a8ce15130a37dec
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
666
py
def extractThreecupsynWordpressCom(item): ''' Parser for 'threecupsyn.wordpress.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('Villain\'s White Lotus Halo', 'Villain\'s White Lotus H...
[ "something@fake-url.com" ]
something@fake-url.com
bed3f2caf0e117a2a18d1a5d1ed6b39caa92e8b9
4df61a986fd8a7cc40836e80f8c6b2d39256999a
/test.py
16413b7d03b33214f923bc1e094ecbfa498b5250
[ "MIT" ]
permissive
TerryGriffin/xlsor_lung_segmentation
aa0b2773c5249c798559702ede6a081ee50b5921
369fdd75c45c0398b8c6c683a21eef14a0ced758
refs/heads/main
2023-04-09T16:06:47.027373
2021-04-22T19:22:15
2021-04-22T19:22:15
360,579,898
1
0
null
null
null
null
UTF-8
Python
false
false
4,598
py
''' Youbao Tang Imaging Biomarkers and Computer-Aided Diagnosis Laboratory National Institutes of Health Clinical Center April 2019 For testing, you need to modify some arguments according to your own setting and run the command "python test.py". Modified by Xinzi Sun University of Massachusetts Lowell Modif...
[ "tgriffin62@yahoo.com" ]
tgriffin62@yahoo.com
1d8c0ccaa7ed4ef9a3e8fe185a1ffb36beadd471
30569618ec13465ee323f27797933ba85035711a
/test/test_body67.py
52d3047c42ada7aa5196ce867090989f39cc81d3
[ "MIT" ]
permissive
ike709/tgs4-api-pyclient
c0fdd7e648fd4fb77f0caf3253a7e1daafc0477a
97918cfe614cc4ef06ef2485efff163417a8cd44
refs/heads/main
2023-03-14T08:11:06.146596
2021-03-01T18:21:33
2021-03-01T18:21:33
336,353,718
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
# coding: utf-8 """ TGS API A production scale tool for BYOND server management # noqa: E501 OpenAPI spec version: 9.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.model...
[ "sparebytes@protonmail.com" ]
sparebytes@protonmail.com
98093ce757dd83f13880483885b6973a5e63e7fa
dbcf50c5ce2f2d0bcba28113747d277e64e72018
/scripts/test_submission.py
2979d417852a15a01edf3769efac70a3a092882f
[ "MIT" ]
permissive
MahamadSalah74/matbench
8e0d86569c886381b2782d5f4961a4ac2579ee0c
2d6d804ee8a43731feecf8ed90ad915c917ed790
refs/heads/main
2023-06-25T12:12:03.681745
2021-07-28T00:17:59
2021-07-28T00:17:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,334
py
import os import glob import unittest from monty.serialization import loadfn from matbench.bench import MatbenchBenchmark BENCHMARKS_DIR = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), os.pardir), "benchmarks") LOCAL = False # LOCAL = True INFO_FILE = "info.json" RESULTS_FILE = "results.js...
[ "ardunn@lbl.gov" ]
ardunn@lbl.gov
eb744f3599bd1d22c01fa09948fa8c17f0cfe0ba
443fbf0cdd31bb65db09e2b1f3e9770adc69c08d
/Python 1/3 - Colecciones/27 - Tuplas/venv/Scripts/easy_install-script.py
3dab86edb68a39858993e1b6fc8a9246bbc35362
[]
no_license
marcvifi10/Curso-Python
b9b376c39713e525756eb26f31f914359aef537a
047830ca92e027c7d37e2f6bb042971a773a5d6d
refs/heads/master
2020-07-15T08:30:53.622053
2019-09-18T16:23:35
2019-09-18T16:23:35
205,521,518
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
482
py
#!"E:\Altres arxius\Programació\Python\25 - Colecciones\27 - Tuplas\venv\Scripts\python.exe" -x # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[...
[ "36198307+marcvifi10@users.noreply.github.com" ]
36198307+marcvifi10@users.noreply.github.com
37ebdc76408d3edb3459ea75f0ba20878c4f412e
acc19d4a36617f9f051437a0b229b93a48a4b684
/scripts/deprecated/to_crfsuite-with-embeddings-and-brown.py
6fcd55613f41576109b4ebec523ca49a37c0f6d1
[]
no_license
kalyanp/crfchunking-with-wordrepresentations
f544e175441b77b27a9d42723063cd189522ce82
bb15ed28c71b2084ebadb03f5681a5f23cc9cfe3
refs/heads/master
2021-01-21T07:53:11.824836
2010-02-16T07:24:08
2010-02-16T07:24:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,046
py
#!/bin/env python import sys assert len(sys.argv) == 2 embeddingsscale = float(sys.argv[1]) #embeddingsfile = "/u/turian/data/share/embeddings-20090916-rcv1.case-intact.LEARNING_RATE=0_000000001_--EMBEDDING_LEARNING_RATE=0_0000032.model-720000000.txt.gz" embeddingsfile = "/u/turian/data/share/hlbl_reps_clean_1.rcv1....
[ "turian@gmail.com" ]
turian@gmail.com
8429b93e9fd9314de7aaf70d0f487c67907b199a
2b94263155a0c3bdc2d6cf841184771a82c23fcc
/evidently/profile_sections/cat_target_drift_profile_section.py
0e550f47080631ee026f4c79cf607f78235d16b0
[ "Apache-2.0" ]
permissive
RadionBik/evidently
69ce5ddbf29da71c9bde8b074a19a63c1ce271f9
c3e1fface7c7df41b39d974af7a86d5676ae4ccd
refs/heads/main
2023-08-03T11:13:23.504842
2021-09-11T06:45:04
2021-09-11T06:45:04
406,320,238
0
0
Apache-2.0
2021-09-14T10:21:31
2021-09-14T10:21:31
null
UTF-8
Python
false
false
1,172
py
from datetime import datetime import json from evidently.analyzers.cat_target_drift_analyzer import CatTargetDriftAnalyzer from evidently.profile_sections.base_profile_section import ProfileSection class CatTargetDriftProfileSection(ProfileSection): def part_id(self) -> str: return 'cat_target_drift' ...
[ "emeli.dral@gmail.com" ]
emeli.dral@gmail.com
cc89380bb473a612661da22f3a56caa6f2e0fa9c
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_physical_interface/test_c141627.py
814c5e2cda6f95e8b72ac89c690c63fd434749df
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,469
py
import pytest import time import sys from page_obj.scg.scg_def import * from page_obj.scg.scg_def_log import * from page_obj.common.rail import * from page_obj.scg.scg_def_interface import * from os.path import dirname, abspath from page_obj.common.ssh import * sys.path.insert(0, dirname(dirname(abspath(__fi...
[ "15501866985@163.com" ]
15501866985@163.com
9e0d87c2e2bf0a3a1ec67667ca04e074ecf99bf6
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2022_05_01_preview/aio/operations/_monitoring_settings_operations.py
592b75bc3d156f92626a5f045226964bdf3f517f
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
17,538
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
7b99e5e6de7662b0d45c01fb66979ab7f3391eec
090fd16451ef226f0660d4be797c8a5fbf309f97
/models/filters/shallow_convolutions/original_data/validation/compare_images.py
3b0538024118970dedf7cf735a3a6d79a16200f7
[]
no_license
philip-brohan/Robot_Rainfall_Rescue
2cdd20131a1ceae4e4af54059381b815f1cc138b
4121d69aba6c8d180b57d92a0da11d09cd6843b4
refs/heads/master
2023-04-13T10:07:08.160001
2021-04-21T10:24:17
2021-04-21T10:24:17
267,624,025
0
0
null
null
null
null
UTF-8
Python
false
false
2,440
py
#!/usr/bin/env python # Compare one of the test images - original v. filtered import os import sys import tensorflow as tf import numpy import itertools import matplotlib from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure from matplotlib.patches import R...
[ "philip@brohan.org" ]
philip@brohan.org
a6cb40fe66c384f4dcee085872007ca6f36a6034
52fa4c0a130ac23b531840d1cc4e2a10854f3048
/dayu_widgets3/label.py
e2c4d920c08f4fe4c032375e6d5ca6a65dbb396f
[ "MIT" ]
permissive
YanruMu-sunding/dayu_widgets3
127b629406c609edf3db2828cf98772ed37fe06c
a319cc719d84c031829893c45b8f20e87cbbabc8
refs/heads/master
2023-02-24T04:33:21.239949
2021-01-29T09:31:04
2021-01-29T09:31:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,341
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ################################################################### # Author: Mu yanru # Date : 2019.2 # Email : muyanru345@163.com ################################################################### from dayu_widgets3.qt import QLabel, QSizePolicy, Qt, QSize, Property, Q...
[ "muyanru345@163.com" ]
muyanru345@163.com
8530a297e8c5a219240841a6c9f4a8cf787646d7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03149/s792945385.py
7cb24456cad394e55089bc96ff3c7c7d11211f67
[]
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
66
py
print('YES' if set(map(int,input().split()))=={1,9,7,4} else 'NO')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d56de588d95c64a3a5cce9d3c029b59baddbde6f
d32bc79eb8631d6bc4ab20498631ba516db4d5f7
/23_mergeLists.py
7f0b23602efdc21f954a0536e77a6fb305c5d572
[]
no_license
Anirban2404/LeetCodePractice
059f382d17f71726ad2d734b9579f5bab2bba93c
786075e0f9f61cf062703bc0b41cc3191d77f033
refs/heads/master
2021-10-08T04:41:36.163328
2021-09-28T02:16:47
2021-09-28T02:16:47
164,513,056
1
0
null
null
null
null
UTF-8
Python
false
false
2,438
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Apr 20 17:48:54 2019 @author: anirban-mac """ """ 23. Merge k Sorted Lists Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Example: Input: [ 1->4->5, 1->3->4, 2->6 ] Output: 1->1->2->3->4->4->...
[ "anirban-mac@Anirbans-MacBook-Pro.local" ]
anirban-mac@Anirbans-MacBook-Pro.local
cfcc745aaf8ca4de8bed6c6186ece97946132850
a3d1e8a67ed43e1bea59180cc51c49f25a961a49
/scripts/split_markable
2b5ca167c760294928f148451c2a9e2e8d9a2136
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
WladimirSidorenko/TextNormalization
38b076d88a2de40dae72dc8b4096e354b774f2f4
ac645fb41260b86491b17fbc50e5ea3300dc28b7
refs/heads/master
2020-04-14T16:48:42.541883
2019-09-29T23:38:28
2019-09-29T23:38:28
163,962,092
1
0
null
null
null
null
UTF-8
Python
false
false
2,683
#!/usr/bin/env python2.7 # -*- coding: utf-8-unix; -*- """ This script splits markables in different files according to the presence. """ ################################################################## # Libraries import argparse import glob import os import re import sys import xml.etree.ElementTree as ET from ...
[ "wlsidorenko@gmail.com" ]
wlsidorenko@gmail.com
0de1035f2dd046bcfa5c2c84aa993df288083c62
c80ec1805a7e6cb1bd3f4b3e383ef4f4cf164765
/gen/plug/report/utils.py
4f1dade513f2529a798beae426494a7f68d1baf3
[]
no_license
balrok/gramps_addon
57c8e976c47ea3c1d1298d3fd4406c13909ac933
0c79561bed7ff42c88714edbc85197fa9235e188
refs/heads/master
2020-04-16T03:58:27.818732
2015-02-01T14:17:44
2015-02-01T14:17:44
30,111,898
2
1
null
null
null
null
UTF-8
Python
false
false
9,606
py
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2007-2009 Brian G. Matherly # Copyright (C) 2008 James Friedmann <jfriedmannj@gmail.com> # Copyright (C) 2010 Jakim Friant # # # This program is free software; you can redistribute it and/or m...
[ "carl.schoenbach@gmail.com" ]
carl.schoenbach@gmail.com
5df487b9259d36e701c8f06f2b285081f1bb21cd
094ef702456ea4d1a054c261f3e9cd2f99d8d388
/probe/basis/main_PE.py
7e50b05ba85ccca064e524c4630b0c19b6f03f6e
[]
no_license
dw839566105/GhostHunter2021
4b4a2a367291d673d9452625f13ea6037234a9bf
26daa1cb580466599b51a7242d6465ca41cf21d3
refs/heads/main
2023-05-03T16:44:26.644139
2021-05-27T06:02:08
2021-05-27T06:02:08
362,003,855
0
0
null
null
null
null
UTF-8
Python
false
false
2,727
py
import numpy as np import tables import matplotlib.pyplot as plt import h5py import sys file = sys.argv[1] output = sys.argv[2] path = '/junofs/users/junoprotondecay/zhangaq/MIX/simulation/e-/uniform/' PMT_pos = np.loadtxt('/junofs/users/junoprotondecay/xubd/harvest/data/geo.csv') x = np.sin(PMT_pos[:,1]/180*np.pi) ...
[ "839566105@qq.com" ]
839566105@qq.com
7fdada662df49e11b6c3a8641b5021cf5583d76a
e1189f10ff2d17961a3177f90249c975a7d0fb44
/data/candidate/migrations/0001_initial.py
7eed499dc3466beaa30d5a902c264c3548817a0a
[]
no_license
adrianwebb/zimagi-fec
3a3334982f5c4d5f80d9b6bfd5bdb820a698edc4
3e3bed16c9e0b5ead9fb7b9f1bdc8095263a80d9
refs/heads/main
2023-05-23T18:38:20.866899
2021-07-13T07:06:33
2021-07-13T07:06:33
295,887,544
0
1
null
null
null
null
UTF-8
Python
false
false
1,589
py
# Generated by Django 3.2.5 on 2021-07-13 07:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('political_office', '0001_initial'), ('political_party', '0001_initial'), ] operations =...
[ "adrian@webb.sh" ]
adrian@webb.sh
ce33b959a367ca7789f67002dde1c30f19264068
d2ff5d87ce0cd69e05d5d1462cedf89b7bb49c14
/python/old/sym_diff.py
c80c17bf52b66cf36fd7ddd291ee4a27352ece8f
[]
no_license
kt3k/anarchy-golf-old-solutions
ecc1b9d33508e1a9fd376f10a2b4ef7854e87c91
0ad9804af82b5ebb0bf5cb52083b925998e86cb4
refs/heads/master
2023-08-18T03:55:50.085429
2015-04-25T08:16:08
2015-04-25T08:16:08
34,560,939
1
3
null
null
null
null
UTF-8
Python
false
false
64
py
print' '.join(sorted(eval(("^set(raw_input().split())"*2)[1:])))
[ "stibium121@gmail.com" ]
stibium121@gmail.com
5f3fabf5a2790b48fcc240e2a62291889d542511
06e14d1fe4a4fbed7e08250f591704b26c856bba
/python3实验/d_2.py
7fc9c7ba399feef0e49d6f8d7aabb02ec787ea20
[]
no_license
Roc-J/python-3.5
03410c14a2f3b80ae9bf3053ab96e0906cd9f59c
8bea95ac2944c43b7c78b81ab20eb7f3c8b74910
refs/heads/master
2021-01-10T16:13:37.083613
2017-05-23T15:14:38
2017-05-23T15:14:38
53,039,514
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
#4-2.py import math #利用栈实现大整数加法 #栈的实现 #主函数入口 if __name__=="__main__": #输入两个加数 add1 = input("请输入第一个加数:") add2 = input("请输入第二个加数:") #建立建立加数栈1、加数栈2和结果栈 add1List = [] add2List = [] result = [] #加数1和加数2按照由高位到低位分别入栈 for s in add1: add1List.append(ord(s)-ord('0')) for s in add...
[ "646481338@qq.com" ]
646481338@qq.com
a2726500006e35d90efe38d0c241c0c3a0913c44
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/Google/Drive/Files/Untrash.py
7ed8753fd8cd7ebe9d12fd60e7811b1a92d90c20
[ "MIT", "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
4,696
py
# -*- coding: utf-8 -*- ############################################################################### # # Untrash # Restores a file from the trash. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except ...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
375fad8ea713a9d5bf25cb42f741c34b7b92659f
6ae6ef706387bc07177cafc336b1dc1e8fd332d3
/tests/device/cli/test_otp.py
d37b552e71720d031f0e887ceaf9b8d37fc13fb4
[ "BSD-2-Clause" ]
permissive
Yubico/yubikey-manager
f1f2169c147aab60db4f12261f7831132b9e5d68
7749ed6e4bd5c26c674e661a6fa2e22a1371cf5b
refs/heads/main
2023-09-01T04:41:57.914320
2023-08-25T13:43:38
2023-08-25T13:43:38
62,567,919
750
133
BSD-2-Clause
2023-08-31T09:31:03
2016-07-04T14:23:53
Python
UTF-8
Python
false
false
23,421
py
# vim: set fileencoding=utf-8 : # Copyright (c) 2018 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # ...
[ "dain@yubico.com" ]
dain@yubico.com
887723c6d0c0db1dc302424b95606c1f25fe4af8
1233fb2a09ba98eb9990022883b9c8567d5daadf
/pgq/producer.py
0cdbaff810a5fc069208d976731e67aba9beff14
[]
no_license
gridl/python-pgq
65a38d244a0f880cdaf52e95b6a12fc3f5cde61a
b4ba4f9b68b7b71db0714f8bb28577d45c286ead
refs/heads/master
2021-03-19T14:49:37.885873
2016-12-05T12:55:06
2016-12-05T12:55:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
"""PgQ producer helpers for Python. """ from __future__ import division, absolute_import, print_function import skytools __all__ = ['bulk_insert_events', 'insert_event'] _fldmap = { 'id': 'ev_id', 'time': 'ev_time', 'type': 'ev_type', 'data': 'ev_data', 'extra1': 'ev_extra1', 'extra2': 'ev_...
[ "markokr@gmail.com" ]
markokr@gmail.com
0317efd3faae8700fbcf631496c06e8c429cacc4
425db5a849281d333e68c26a26678e7c8ce11b66
/剑指Offer/No_31.py
26b15f4fc2ef6d409d5c080b1fc2084cacfd7842
[ "MIT" ]
permissive
lih627/python-algorithm-templates
e8092b327a02506086414df41bbfb2af5d6b06dc
a61fd583e33a769b44ab758990625d3381793768
refs/heads/master
2021-07-23T17:10:43.814639
2021-01-21T17:14:55
2021-01-21T17:14:55
238,456,498
29
8
null
null
null
null
UTF-8
Python
false
false
370
py
class Solution: def validateStackSequences(self, pushed: List[int], popped: List[int]) -> bool: if not pushed and not popped: return True aux = [] idx = 0 for _ in pushed: aux.append(_) while aux and aux[-1] == popped[idx]: aux.pop(...
[ "lih627@outlook.com" ]
lih627@outlook.com
7f5e730b505d0a82ca4cd9d507e12f899374763b
96a34a048c783a75736bf0ec775df22142f9ee53
/services/datcore-adapter/tests/unit/test_route_health.py
7ab697612c4117548b6d75b26f72dbee8dbb3abf
[ "MIT" ]
permissive
ITISFoundation/osparc-simcore
77e5b9f7eb549c907f6ba2abb14862154cc7bb66
f4c57ffc7b494ac06a2692cb5539d3acfd3d1d63
refs/heads/master
2023-08-31T17:39:48.466163
2023-08-31T15:03:56
2023-08-31T15:03:56
118,596,920
39
29
MIT
2023-09-14T20:23:09
2018-01-23T10:48:05
Python
UTF-8
Python
false
false
1,784
py
# pylint:disable=unused-variable # pylint:disable=unused-argument # pylint:disable=redefined-outer-name from datetime import datetime import httpx import respx from models_library.app_diagnostics import AppStatusCheck from starlette import status async def test_live_entrypoint(async_client: httpx.AsyncClient): ...
[ "noreply@github.com" ]
ITISFoundation.noreply@github.com
c31fcfcbad041a089ee7115f59ba528ecf4fb43a
1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc
/venv/lib/python2.7/site-packages/ansible/modules/network/fortios/fortios_firewall_ttl_policy.py
3cb04e804e9d59e39e68e54459002b06618e6b43
[ "MIT" ]
permissive
otus-devops-2019-02/devopscourses_infra
1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c
e42e5deafce395af869084ede245fc6cff6d0b2c
refs/heads/master
2020-04-29T02:41:49.985889
2019-05-21T06:35:19
2019-05-21T06:35:19
175,780,457
0
1
MIT
2019-05-21T06:35:20
2019-03-15T08:35:54
HCL
UTF-8
Python
false
false
10,513
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Lic...
[ "skydevapp@gmail.com" ]
skydevapp@gmail.com
a20250ed248c1bf545e3d596d8849e11b4cbfc41
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-sas/aliyunsdksas/request/v20181203/DescribeCloudCenterInstancesRequest.py
af57f10de00c506723041ec0287de9fe7190ec4d
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
2,296
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
7da61592e89ba54dba9038a35faf46cbd483bdc7
f3d75509d63297588227b7652462bb95bfed3c52
/les_8_task_2.py
9b672dca1184acbbf84630af157903e28f90bad0
[]
no_license
snlnrush/python-alg-and-data
220faa912ab1ce7ad53c62aa905d792ef4c5d280
a4a3d20e46dc48bf394733e7cf6dccabdcf9bed4
refs/heads/master
2022-06-17T01:59:26.439289
2020-05-08T10:19:08
2020-05-08T10:19:08
260,943,073
0
0
null
2020-05-07T15:02:13
2020-05-03T14:30:07
Python
UTF-8
Python
false
false
1,457
py
""" 2. Доработать алгоритм Дейкстры (рассматривался на уроке), чтобы он дополнительно возвращал список вершин, которые необходимо обойти. """ g = [ [0, 0, 1, 1, 9, 0, 0, 0], [0, 0, 9, 4, 0, 0, 5, 0], [0, 9, 0, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0...
[ "cross-fire@list.ru" ]
cross-fire@list.ru
a969e34def5cf4854dc75417c1c64f06954b70d4
e23a4f57ce5474d468258e5e63b9e23fb6011188
/110_concurrency_parallelism/_examples/Python Parallel Programming Solutions/Section5/RPyC/rpyc-master/issues/nested_exceptions.py
47ceee90313eaadc2d343c72b6cfe960cf9cf00b
[ "MIT" ]
permissive
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
137
py
import rpyc c=rpyc.classic.connect_thread() c.execute("import rpyc; c2=rpyc.classic.connect_thread()") c.namespace["c2"].execute("1/0")
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
a30fe9179fe9dc89710b3f9652a572ce1fcb60b9
f1195d9cabd3b792bbdb2fdfad61ed32890f7acd
/plot-c19.py
b3d7696828deb334e12cb91c74fb22ab398dc274
[]
no_license
christinahedges/k2-footprint-plots
e4769ca0fc594cfa53735a5e3803f03683886f03
cffee7f625d58a83d26ca84cae01410f3c265afe
refs/heads/master
2021-01-15T11:30:26.204101
2017-08-03T04:47:33
2017-08-03T04:47:33
99,621,801
0
0
null
2017-08-07T21:25:06
2017-08-07T21:25:06
null
UTF-8
Python
false
false
2,920
py
from matplotlib import pyplot as pl from matplotlib import style from matplotlib.ticker import MultipleLocator import matplotlib.patheffects as path_effects from K2fov import plot from fieldplot import annotate_target CAMPAIGN = 19 style.use('gray.mplstyle') p = plot.K2FootprintPlot(figsize=(11, 11)) #p.plot_eclipti...
[ "geert@barentsen.be" ]
geert@barentsen.be
ccfb4ce093eb6115c3966f37b6c983c38929d882
1f214956382f62e876de3d00c40c5a8684a3b5df
/skeleton/omas.py
cff01ef5ac22ea8e732786e4878aa8177b5e4e11
[ "MIT" ]
permissive
ennima/omas
e1f00e0d3445f995d36b221c43ab47113750aeee
c8507b95c8c07a311c29c70acc0a7d3504d28f78
refs/heads/master
2021-01-18T18:11:49.027451
2016-10-14T19:28:14
2016-10-14T19:28:14
56,949,079
0
0
null
null
null
null
UTF-8
Python
false
false
2,408
py
import os, sys from OmasError import * omasFilePath = "" omasFile = omasFilePath+'user.omas' lines = [line.rstrip('\n') for line in open(omasFile)] omas_project = "empty" print(lines) count = 0 error = OmasError() scope = {"activeScope":"","tabs":""} varTypes = ["uid","bool","int","string","float"] def getLine(cou...
[ "ennima@hotmail.com" ]
ennima@hotmail.com
a866fb493edddd2e9f440b7253302e72b6290118
e9a38c6a00b49dc8fb0e5bef9e63bd30c7748db2
/Coil_Codes/coil_validation/tools/convertwp.py
e4b27df622f1d67232f4e4859682ccc4541c4dd5
[]
no_license
rohitgajawada/chauffeur_GAN
2736f3bd6bb292b3cff7619a4fec0e656db200a0
01c0078454c2d7d02ac0e7b7e9f99efc606ed2ea
refs/heads/master
2020-03-20T13:55:55.828292
2019-02-04T19:57:32
2019-02-04T19:57:32
137,470,548
2
0
null
null
null
null
UTF-8
Python
false
false
5,058
py
#!/usr/bin/env python import sys sys.path.append('utils') sys.path.append('configuration') import glob import argparse import numpy as np import h5py import math import time import scipy import os sys.path.append('drive_interfaces') class Control: steer = 0 gas = 0 brake = 0 hand_brake = 0 reve...
[ "rishabhmadan96@gmail.com" ]
rishabhmadan96@gmail.com
42499bb50bdfc2aea2aa7b0610e061b0735a21fb
885ce27e57464b9e07f876c7da94487134fc76b0
/sum2.py
daf9a192aea900de86c174ac99d428fbc82fdee8
[]
no_license
sohnryang/has-informatics
103785efe558798394da1ed7343c80a740887e8e
1f73cbed7bde8b0b51e7db28d0bee91610dbaac2
refs/heads/master
2020-05-04T20:09:01.952173
2019-10-29T04:46:54
2019-10-29T04:46:54
179,424,112
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
print(sum(filter(lambda x: x % 3 != 0, range(1, 101))))
[ "loop.infinitely@gmail.com" ]
loop.infinitely@gmail.com
bf26b307433240ed9f99d67d57d073525ea1a309
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/jupyter_contrib_nbextensions-0.5.1-py3.7.egg/jupyter_contrib_nbextensions/nbconvert_support/pre_pymarkdown.py
2e77d953c46f10b0215a814359f09e7eb7939573
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
1,564
py
# -*- coding: utf-8 -*- """Nbconvert preprocessor for the python-markdown nbextension.""" import re from nbconvert.preprocessors import Preprocessor class PyMarkdownPreprocessor(Preprocessor): """ :mod:`nbconvert` Preprocessor for the python-markdown nbextension. This :class:`~nbconvert.preprocessors.P...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
9011eb0f209d6723097d8efc718de7c58111c316
7eeb72dceb2e2e357ac19d04e43c6fe22989028d
/gym/gym/envs/gazebo/world.py
1fbfa2dbb7aec5efc5c6b00b217e4f5b4c2b37b3
[ "MIT" ]
permissive
jerry-z/humanoid-robotics-proj
0d3d7f43b7b196678baab6016a4d6fea181d29c2
4adb7c379d518ef877a11d6e77df0c7077cf9f7b
refs/heads/master
2020-05-04T04:34:36.228133
2019-05-07T07:03:58
2019-05-07T07:03:58
178,968,213
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
import rospy from gazebo_msgs.srv import SpawnModel from geometry_msgs.msg import Pose print ("first") rospy.init_node('insert_object',log_level=rospy.INFO) print ("sed") initial_pose = Pose() initial_pose.position.x = 1 initial_pose.position.y = 10 initial_pose.position.z = 1 print ('thi') f = open('/home/xiya/.gazeb...
[ "jz2966@columbia.edu" ]
jz2966@columbia.edu
3f1992fefad10e21fa86ac4aeffd6a5c30028004
21662a92987513b75536af1050c715ef1c273cff
/March31-BinarySearchTrees/BinarySearchTrees.py
5eb16e53808ecae76fa9d4f5d1f8d1cd2d53d078
[ "MIT" ]
permissive
nairoukh-code/CIS2001-Winter2020
c32ce1c465dbfdf7797c2f84fbcde485c50b791a
e51d967e97399248dc8b69aaed2d5ca8aee0cd6e
refs/heads/master
2020-12-18T12:32:38.257810
2020-04-07T20:19:51
2020-04-07T20:19:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,815
py
# 10 # / \ # 8 15 # / \ / \ # 4 9 12 20 class Item: def __init__(self, key, value=None): self._key = key self._value = value def __eq__(self, other): return self._key == other._key def __ne__(self, other): return not (self == other) def __lt__...
[ "eric.charnesky@careevolution.com" ]
eric.charnesky@careevolution.com
0b57957604fb9ba4cc49e7f03a4b563b1cd99fe3
946469c469a07e70260143805c0b395508aad27f
/tf06_xla_jiasu/tf06_xla_jiasu.py
7feb5b31bd35a9ed79feab53eeafd410006a3fc1
[]
no_license
jpegbert/TensorFlow1.x
6f4bf2d658ac3cea298b0247c405f48cefa5db7f
bded173429581805324fda4bccd8180eafdd3496
refs/heads/master
2023-03-21T15:19:39.440658
2021-03-19T12:57:02
2021-03-19T12:57:02
348,709,037
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
import tensorflow as tf """ TensorFlow1.x XLA加速线性代数编译器 http://c.biancheng.net/view/1891.html """
[ "jiangpeng.jiang@zhaopin.com.cn" ]
jiangpeng.jiang@zhaopin.com.cn
50ac2651bb8f9f02e87fd54f963e241674134050
71d64d4f563c1737b6b309beb4c2fa573d3abab0
/shoottikala/models/cosplayer.py
f1fb23eef1b7a921a85f04016dc460ce6bd54d3a
[ "MIT" ]
permissive
conikuvat/shoottikala
a888e5db4c1f0fa61b426668bb90b4f3aca7ce8b
bf5ab15e20173994bac25e6b5cd3aec42f671f05
refs/heads/master
2021-06-17T20:39:22.504932
2017-05-26T11:37:26
2017-05-26T11:37:26
75,854,906
0
0
null
null
null
null
UTF-8
Python
false
false
5,217
py
from django.db import models from django.utils.translation import ugettext_lazy as _ from django.core.urlresolvers import reverse from django.conf import settings from django.contrib.auth import get_user_model from ..privileges import AccessControlMixin from ..utils import get_random_days SOURCE_TYPE_CHOICES = [ ...
[ "santtu@pajukanta.fi" ]
santtu@pajukanta.fi
f2ff232eb774b859d7bad673a47035c73ab0b8de
473b75d1958d6b34396b4c60c55fffb92d39b1ab
/petsc4py_snes_2.py
ebae123f892999c56b7e61b7309ca9d956fa7166
[]
no_license
robintux/petsc4py-cse2011
39b5141d1adc26cb2cf9088a0376a7d49f95fea4
cba13dacc1d7c74fe0c2df3cdaa78d8d690e0d42
refs/heads/master
2021-05-04T09:24:48.676880
2011-03-12T15:42:27
2011-03-12T15:42:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
# create nonlinear solver snes = PETSc.SNES().create() # register the function in charge of # computing the nonlinear residual f = PETSc.Vec().createSeq(m*n) snes.setFunction(Bratu2D, f, args=(alpha, m, n)) # configure the nonlinear solver # to use a matrix-free Jacobian snes.setUseMF(True) snes.getKSP().setType('cg'...
[ "dalcinl@gmail.com" ]
dalcinl@gmail.com
9f6ba91b89f7387328d2b42cbf9f5339aa0a4124
5ccfa68d2e26facc7dd51a65bdb80d3372903365
/translation/factory.py
0728a15a775b7b6af3b58d9e8457cad22c986c91
[]
no_license
ceasaro/ceasaro_py
71b93165a48dce48b027c2a3c727f6fdeaf62f0f
a3e2c02140e2abc165cc522756a9bce1f422a9e2
refs/heads/master
2023-06-25T20:17:33.826726
2023-06-12T11:38:07
2023-06-12T11:38:07
12,404,093
0
0
null
2023-05-22T22:36:36
2013-08-27T11:18:46
Python
UTF-8
Python
false
false
982
py
from handlers.json_handler import JSONHandler from handlers.yaml_handler import YAMLHandler class TranslatorFactory: handlers = [JSONHandler, YAMLHandler, ] def translate_file(self, file_path, target_lang, source_lang=None): handler_class = self.find_handler(file_path) if handler_class: ...
[ "ceesvw@gmail.com" ]
ceesvw@gmail.com
aec048454b78478a1ae1acb021875341c237e638
82a84fc485d60fe504f7654e8f30db62d0dc6b40
/ion/agents/platform/status_manager.py
6fa8aa9d4aecb3010b125529fb50798787e6af41
[]
no_license
MauriceManning/coi-services
6298a32a306d4c0db607364fd8b4b5270613fb47
62b7ac1b2b88f0f7987a26b0d14261926ae077bf
refs/heads/master
2021-01-17T08:43:35.804807
2013-07-27T04:16:37
2013-07-27T04:16:37
2,731,747
0
0
null
null
null
null
UTF-8
Python
false
false
42,772
py
#!/usr/bin/env python """ @package ion.agents.platform.status_manager @file ion/agents/platform/status_manager.py @author Carlos Rueda @brief Helper class for aggregate and rollup status handling. Some basic algorithms adapted from observatory_util.py @see https://confluence.oceanobservatories.org/d...
[ "carueda@mbari.org" ]
carueda@mbari.org
c2df04e730cc8b38154fb90a8c46f09d515495b4
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_generated/models/_models.py
3f67974affad0073586b4bd536f8a1c11262b213
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
232,995
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" ]
yunhaoling.noreply@github.com
1aea635f48027b3852b50e12e5d75a30cc2976af
be439be4e7c0177d701e9d3984cda97ecc190070
/src/apply_manual_codes.py
dc241f936279b099e956bbcd45e0521cf6bfea83
[ "MIT" ]
permissive
AfricasVoices/Project-LQ
50a6c54b9a680a104647179a1ad12394465d13e9
baaa4e911cd2d0f2ed873b8ee0144e88b7af74ab
refs/heads/master
2020-05-31T09:32:02.764029
2020-04-26T17:26:46
2020-04-26T17:26:46
190,213,839
0
0
null
2020-04-26T17:26:47
2019-06-04T14:05:00
Python
UTF-8
Python
false
false
12,155
py
import time from os import path from core_data_modules.cleaners import Codes from core_data_modules.cleaners.cleaning_utils import CleaningUtils from core_data_modules.cleaners.location_tools import KenyaLocations from core_data_modules.traced_data import Metadata from core_data_modules.traced_data.io import TracedDat...
[ "as2388@cam.ac.uk" ]
as2388@cam.ac.uk
145142b7d086f2a491772c77fde18f5a6b86c489
2ead01207ac9f1ae017ec4eb1f96b285d0014fef
/tests/test_exception.py
dc270a913e9334cb27c6f2661082508b188a5643
[ "MIT" ]
permissive
qntln/async_lru
3e20bcbc8c7bde1ac1c7729a08fb2ed12a7a03c1
6aa653508ff473ee80aad6d8679390db995fc3f4
refs/heads/master
2020-06-01T09:42:51.020803
2019-06-10T07:29:21
2019-06-10T07:29:21
190,736,181
1
2
MIT
2019-06-07T12:01:40
2019-06-07T11:57:57
Python
UTF-8
Python
false
false
1,169
py
import asyncio import pytest from async_lru import alru_cache pytestmark = pytest.mark.asyncio async def test_alru_cache_exception(check_lru, loop): @alru_cache(cache_exceptions=True, loop=loop) async def coro(val): 1/0 inputs = [1, 1, 1] coros = [coro(v) for v in inputs] ret = await ...
[ "hellysmile@gmail.com" ]
hellysmile@gmail.com
dc482e6522b5d814de0d5dc26da81483a84fef6c
2a91a64f5464c48fb56bd2f0e01668737d4eafa9
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/workflows/v1beta/workflows_v1beta_messages.py
a62307f5b4a7610c1545824597d0dab676054eb5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
salewski/google-cloud-sdk
8513faf8c2f5b9180361efb567c4cfb9986d1e21
060174026ac068b6442b6c58bedf5adc7bc549cb
refs/heads/master
2023-08-16T09:44:57.948620
2021-10-05T00:00:00
2021-10-05T16:15:40
417,465,521
0
0
null
null
null
null
UTF-8
Python
false
false
24,874
py
"""Generated message classes for workflows version v1beta. Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API. """ # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.protorpclite import ...
[ "gcloud@google.com" ]
gcloud@google.com
c8ab9e2832b41e5b3c5c0bfb9f3ab1d371199fa8
f78cb1e6a6b6c644cd35b5139b01017fcf8dcdb1
/Common/scripts/getNumEventsFromGCConf.py
71d579972df2776643fab1587f35f941437393f3
[]
no_license
dsavoiu/Karma
9506fc449d94db060fabd0bfa61ff7673107b40d
1e9f1d237cb6b0f7c92e7c2ea1a14c6b4a5745cd
refs/heads/master
2023-06-26T08:53:09.979674
2023-04-06T15:11:14
2023-04-06T15:19:33
143,059,118
1
6
null
2022-11-22T20:39:17
2018-07-31T19:37:46
Python
UTF-8
Python
false
false
1,480
py
#!/usr/bin/env python from __future__ import print_function import ConfigParser import sys import os import subprocess import time import signal import threading import json if __name__ == "__main__": if len(sys.argv) != 2: print("[ERROR] Expecting one argument, got {}".format(len(sys.argv)-1)) # --...
[ "daniel.savoiu@cern.ch" ]
daniel.savoiu@cern.ch
c310aa3336b6990ea378e63ffbb1a366b5c6566e
aa9297175621fcd499cad5a0373aaad15f33cde8
/clases_objetos_POO/manejo_de_excepciones/excepciones_2.py
d6887b9fad5fb76463fb4f5cba33bf71b69d8422
[]
no_license
eflipe/python-exercises
a64e88affe8f9deb34e8aa29a23a68c25e7ba08a
b7a429f57a5e4c5dda7c77db5721ca66a401d0a3
refs/heads/master
2023-04-26T19:19:28.674350
2022-07-19T20:53:09
2022-07-19T20:53:09
192,589,885
0
0
null
2023-04-21T21:23:14
2019-06-18T18:06:14
HTML
UTF-8
Python
false
false
143
py
resultado = None a = '' b = 0 try: resultado = a / b except Exception as err: print(f'Error: {err}') print(f'Resultado: {resultado}')
[ "felipecabaleiro@gmail.com" ]
felipecabaleiro@gmail.com
d43c1248048e1f78c12ee0833c20773ccfbdedb4
1bed2f766620acf085ed2d7fd3e354a3482b8960
/homeassistant/components/volvooncall/const.py
bc72f9c5267a1ca6fc646bf1dd94565839f3dd35
[ "Apache-2.0" ]
permissive
elupus/home-assistant
5cbb79a2f25a2938a69f3988534486c269b77643
564150169bfc69efdfeda25a99d803441f3a4b10
refs/heads/dev
2023-08-28T16:36:04.304864
2022-09-16T06:35:12
2022-09-16T06:35:12
114,460,522
2
2
Apache-2.0
2023-02-22T06:14:54
2017-12-16T12:50:55
Python
UTF-8
Python
false
false
1,510
py
"""Constants for volvooncall.""" from datetime import timedelta DOMAIN = "volvooncall" DEFAULT_UPDATE_INTERVAL = timedelta(minutes=1) CONF_SERVICE_URL = "service_url" CONF_SCANDINAVIAN_MILES = "scandinavian_miles" CONF_MUTABLE = "mutable" PLATFORMS = { "sensor": "sensor", "binary_sensor": "binary_sensor", ...
[ "noreply@github.com" ]
elupus.noreply@github.com
0cda0353c4b8fab5db824d7fa4bef99cb7b08db2
b3fe1aa33675890311f76ba728c424c7b85ec5a7
/lib/twitterspy/xmpp_ping.py
c4ace66803f3c2f0033566137f7866dc1f8fa305
[]
no_license
kshep/twitterspy
34310311ad452da1bded5ad1a97f42662f30d83f
d040cc590a69cffc6be0976300d97ac2f26754aa
refs/heads/master
2021-01-18T06:12:44.318284
2009-09-08T02:45:10
2009-09-08T02:47:02
309,957
1
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
from zope.interface import implements from twisted.python import log from twisted.internet import defer from wokkel.subprotocols import XMPPHandler, IQHandlerMixin from wokkel import disco from wokkel import generic from wokkel.iwokkel import IDisco NS_PING = 'urn:xmpp:ping' PING = generic.IQ_GET + '/ping[@xmlns="' +...
[ "dustin@spy.net" ]
dustin@spy.net
0d69bc88c66a3ce125c79a5e179f4947b624f039
fe8f5df7f40b2906914ff2538537f548f4926961
/resolve__typeOfString.py
8732ce27457818b14d27f214e4d2ff65ddad2048
[]
no_license
wfw-pgr/nkUtilities
3379196fd6540f657388a7b60539e08d094d54e5
3fd1d5503e49ffe120134949ee65c15e34348358
refs/heads/main
2023-04-02T14:04:41.040935
2023-03-25T11:41:45
2023-03-25T11:41:45
236,768,090
0
0
null
null
null
null
UTF-8
Python
false
false
6,126
py
import os,sys,re # ========================================================= # # === resolve__typeOfString.py === # # ========================================================= # def resolve__typeOfString( word=None, priority=["None","int","float","logical",\ ...
[ "wfw.pgr@gmail.com" ]
wfw.pgr@gmail.com
61cece8fb2a2bb12c7d7d3951ce5a26d2c703c9a
8552e3b9127c2aa7fd0f31674b5549c0a6b49e1a
/certificateApp/certificate.py
bd462803a4e969a6f75f83c72329365871d6347f
[]
no_license
jhabarsinghbhati/final
a475456e626d446611f1d076e4d9dce739e7e3f3
b003751a274acc2b6e0eb9e11bd427b21e765f5a
refs/heads/master
2022-11-17T03:18:40.478815
2020-07-13T09:35:09
2020-07-13T09:35:09
279,258,883
0
0
null
null
null
null
UTF-8
Python
false
false
4,384
py
from PIL import Image,ImageDraw,ImageFont from datetime import datetime from .models import CertificateConfig def generate_certificate(filespath,name,interntype,profile,startdate,enddate,logoname,registration,*args, **kwargs): """ Function to generate a certificate take parameters path to file,name of intern,...
[ "jhabarsinghbhati23@gmail.com" ]
jhabarsinghbhati23@gmail.com
ba50cea68626ac8b4d112afffde30854b651f83a
1b1baaee6b6037786ff0b38e7acef4dcc95320f4
/usuario/views.py
6b86dff9683906480d539838cc40f722b48e3e15
[]
no_license
pato134/agroganaderia
b248160eebb4559a96890d9e826bb02a82e09e40
c0c99fae084ad7236a47f27ecc38700eeaeef39f
refs/heads/master
2021-08-08T18:09:41.874896
2017-11-10T20:36:56
2017-11-10T20:36:56
106,481,655
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from django.views.generic import CreateView from django.core.urlresolvers import reverse_lazy from usuario.forms import UsuarioForm from django.shortcuts import render class RegistroUsuario(CreateView): model = User ...
[ "you@example.com" ]
you@example.com
8496feadd3189101a16713a2dc60aabf51f6c418
5193d68e71f362e8232c46c51e82c5b200486b14
/factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/azure_pd_deploy_status/apps.py
0016e2bd8ae852a7d3647eb9da30d009bd4a84c0
[ "MIT" ]
permissive
linkernetworks/azure-intelligent-edge-patterns
626ea1e0e878a7e7cc0a4ca81448fed04c937f39
1b65b1b703153a4d598c4649aed3733ed86877a1
refs/heads/develop
2022-06-12T12:54:38.846565
2021-09-27T09:03:59
2021-09-27T09:03:59
249,405,143
8
2
MIT
2022-05-06T11:01:57
2020-03-23T10:53:27
JavaScript
UTF-8
Python
false
false
1,017
py
"""App. """ import logging import sys from django.apps import AppConfig logger = logging.getLogger(__name__) # pylint: disable=unused-import, import-outside-toplevel class AzurePDDeployStatusConfig(AppConfig): """App Config""" name = "vision_on_edge.azure_pd_deploy_status" def ready(self): ""...
[ "peteeelol@gmail.com" ]
peteeelol@gmail.com
23c7a5e589b579ed1a9a4f12cffb8a2c13c72fb6
e1c14c3b3ed552f1af97f427c342be70d8e3b27f
/src/3.1Array/next smallest palindrome.py
15ccb4cc328312b1a66d9301cb2a29c417d233df
[ "MIT" ]
permissive
mohitsaroha03/The-Py-Algorithms
4ab7285b6ea2ce0a008203b425ec3f459995664b
b5ba58602c0ef02c7664ea0be8bf272a8bd5239c
refs/heads/master
2023-01-28T09:25:33.317439
2020-12-05T06:17:00
2020-12-05T06:17:00
280,189,627
0
0
null
null
null
null
UTF-8
Python
false
false
2,673
py
# Link: https://www.geeksforgeeks.org/given-a-number-find-next-smallest-palindrome-larger-than-this-number/ # https://www.youtube.com/watch?v=hRy6OQ6JKQ4 # https://www.youtube.com/watch?v=1aKjQ6Tvh2w # Returns next palindrome of a given number num[]. # This function is for input type 2 and 3 # TODO: pending def gener...
[ "MohitSaroha@Etechaces.com" ]
MohitSaroha@Etechaces.com
4b5875f03adca08f2307e5fda77cf5da814700b6
128e2652e2f0a4b4be57894bffab461c90170657
/tej_python/basics/files/run_other_prg.py
a7f96a686228177587781cfdcb97b3fb47b60259
[]
no_license
tejadeep/Python_files
ec2695ec844e723d0784a67bd13c9a178c0aa601
43fde84dd62543e5ed9896177949cca877fdb858
refs/heads/master
2020-06-11T04:35:55.850108
2019-08-08T07:23:23
2019-08-08T07:23:23
193,851,082
0
0
null
2019-06-26T07:19:34
2019-06-26T07:19:34
null
UTF-8
Python
false
false
53
py
import os #os.system("dir*.py") os.system("file.py")
[ "you@example.com" ]
you@example.com
fbf8410fad01bd63e4136642d844b4e997512ede
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/storage/cases/test_KT1NWYrMCGqKyz5mJG6fk1DfRMZ4HkchCdxW_babylon.py
5d5ccc86bbe73775a967291d3a182312877f8d03
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
1,170
py
from unittest import TestCase from tests import get_data from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline, micheline_to_michelson class StorageTestKT1NWYrMCGqKyz5mJG6fk1DfRMZ4HkchCdxW_babylon(TestCase): @classmethod def setUpClass(cls): cls.maxDiff = None ...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
c13679a626b52569f94c1caa8c7db57facaea00b
ea1a5f31ac815bfb158420b5c2cff6607aac13bc
/src/containerapp/azext_containerapp/_constants.py
8764b0c3aaa46eaeac21cf63a402aff44fd97845
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
c-ryan-k/azure-cli-extensions
fcfa26a4cd20de1d54e16c9df22a7c670b18ed9b
9f76683d35796d957f22689184994a2575376482
refs/heads/master
2023-08-03T07:04:08.245504
2023-05-04T20:44:22
2023-05-04T20:44:22
149,332,185
0
0
MIT
2018-09-18T18:09:52
2018-09-18T18:09:52
null
UTF-8
Python
false
false
2,404
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
c-ryan-k.noreply@github.com
bfccf353c400a4789be9eade6b8723047d52961d
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/violin/hoverlabel/font/_sizesrc.py
49637a30aa530258fcdf4e365c9cbed10f6ffefb
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
422
py
import _plotly_utils.basevalidators class SizesrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name="sizesrc", parent_name="violin.hoverlabel.font", **kwargs ): super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_na...
[ "noreply@github.com" ]
hugovk.noreply@github.com
a6ff53c83d1dc192dbc532f382a70c4fccb2236c
08ace4e8d7b2fcfa4ff4983e643873fd9c01f6de
/winappdbg/plugins/do_exchain.py
e5cddf25c05fe5d315d648ba33568fec4db2a70c
[]
no_license
0x90/winappdbg
87d2e769707ec4ca482af0c946e02f77976314a2
5acffe77379836622042385460411ef4dc751d46
refs/heads/master
2020-09-26T08:19:10.600353
2019-12-06T00:42:52
2019-12-06T00:42:52
226,215,022
6
1
null
2019-12-06T00:41:16
2019-12-06T00:41:15
null
UTF-8
Python
false
false
2,313
py
#!/bin/env python # -*- coding: utf-8 -*- # Command line debugger using WinAppDbg # Show exception handlers list # Copyright (c) 2009-2018, Mario Vilas # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following condit...
[ "mvilas@gmail.com" ]
mvilas@gmail.com
9e06fd2944ad74517c38f3c05d3a0e45d81bc572
e014e5324ac8c05f14fc96227295dbf2007054e5
/2017/2.py
a534bf12b91bdfa7d37255d51b8c51003e7a3967
[]
no_license
analylx/Py_script
6fa75c02caa53d57c3ffdf5f098de43a62b38346
68098875a2fb3668e4d15ba11079de6adebc6b7f
refs/heads/master
2020-06-22T11:29:47.660370
2019-07-19T06:18:00
2019-07-19T06:18:00
197,707,076
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
import time file_path = 'D:\Py_script\script\\BFD_tunne_' + time.strftime('%Y-%m-%d_%H_%M_%S',time.localtime(time.time()))+".ps" def do_write(tunnel_name,tunnel_label,remote,interface1,interface2,tunnel_label_p): with open(file_path, 'a') as fi: fi.write('''set protocols mpls static tunnel bidirectional {...
[ "a322494@ecitele.com" ]
a322494@ecitele.com
32b7f0690b779c878315a1c6d994c8e974032661
03b30e760f571e309ab1539edbc24ce0ff47c141
/leecode/lec_704.py
e1dc3b230435b175c6bb4976dfd628f3e788a102
[]
no_license
latata666/newcoder
548f32ab3acd75b592ce7f7b399ecdf340e747d8
e9206ab924899a2985bece312777e3b5d55c6f60
refs/heads/master
2022-12-12T22:46:03.255804
2020-08-31T02:27:17
2020-08-31T02:27:17
263,274,517
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
# -*- coding: utf-8 -*- # @Time : 2020/7/16 14:24 # @Author : Mamamooo # @Site : # @File : lec_704.py # @Software: PyCharm """ 给定一个 n 个元素有序的(升序)整型数组 nums 和一个目标值 target  , 写一个函数搜索 nums 中的 target,如果目标值存在返回下标,否则返回 -1。 示例 1: 输入: nums = [-1,0,3,5,9,12], target = 9 输出: 4 解释: 9 出现在 nums 中并且下标为4 """ # class Solution: # def...
[ "aslovc@gmail.com" ]
aslovc@gmail.com
da7171fe3716885d1262884c94cb3c5e89b18b99
b90922bed1dd8549df68b98090f4f2453c1caa77
/Problems_1_to_100/Problem_16/tests/test_problem_16.py
0c59b3ba57d8eb15d4d41fe1be45d5e1e405f101
[ "Unlicense" ]
permissive
ikostan/ProjectEuler
37129ef0f8baf778cf660af1a1569648bfc0e655
d54adb72c0844c8ba47bd5f571cd70b7e68ab2aa
refs/heads/master
2021-06-11T00:49:26.001098
2020-03-15T16:35:27
2020-03-15T16:35:27
176,010,636
1
0
null
2021-04-20T18:31:30
2019-03-16T18:38:52
Python
UTF-8
Python
false
false
579
py
#!/usr/bin/python import unittest import os from Problems_1_to_100.Problem_16.problem_16 import find_the_sum class MyTestCase(unittest.TestCase): print("Running unit tests from: " + os.path.basename(__file__) + "\n") def test_basic(self): number = 2 power = 15 expected = 26 ...
[ "igorkostan@gmail.com" ]
igorkostan@gmail.com
6989529f7c7ca461c3de452470e212687fa79a8f
e1092274408656117bc00252bc761e3609ec437f
/python/paddle/nn/__init__.py
e1c40e8d0d3d7ecd480cd9ec340c365c5a2eab95
[ "Apache-2.0" ]
permissive
xiegegege/Paddle
92822623e4d7fe0263503f11b63fb22610bf2773
df1d04ca0031da2d701f314f1c98afdbb107b1b5
refs/heads/develop
2022-01-13T08:34:09.835700
2021-12-30T07:06:03
2021-12-30T07:06:03
226,800,733
0
0
Apache-2.0
2019-12-09T06:28:40
2019-12-09T06:28:39
null
UTF-8
Python
false
false
10,821
py
# Copyright (c) 2020 PaddlePaddle 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 app...
[ "noreply@github.com" ]
xiegegege.noreply@github.com
ea2d0d999839e4137af313368a3d978ecce45105
fd6d64527382365a125289ac96759154e0809703
/tests/evens.py
69644ee52e7b668c482ae8d04217f980c4563cfd
[]
no_license
Ahmad-Magdy-Osman/JCoCo
f82dab9786fe2ec4c7563334cbc61343328853af
9aefc8912ad019e20524a3b13e8271f03cad8e93
refs/heads/master
2021-04-06T10:01:53.142853
2019-01-11T06:52:55
2019-01-11T06:52:55
124,740,788
2
0
null
2018-03-11T09:16:53
2018-03-11T09:16:53
null
UTF-8
Python
false
false
249
py
import disassembler import sys def main(): #try: print(list(range(0,int(input("Please enter a non-negative integer:"))+1,2))) #except: # print("You didn't enter an integer.") if len(sys.argv) == 1: main() else: disassembler.disassemble(main)
[ "kentdlee@gmail.com" ]
kentdlee@gmail.com
0ddc2e66c2531a31ec169a0f9b110c7b9493b127
b15f257eddafc713ad3264b7420cefad1500e479
/metaopt/concurrent/worker/util/import_function.py
a4079b30827e9cff3c9775a894a951b5fdd022e9
[ "BSD-3-Clause" ]
permissive
cigroup-ol/metaopt
aaf4946dcbbab9d02ac0f0afb1f7cf8eb6f9bfc3
6dfd5105d3c6eaf00f96670175cae16021069514
refs/heads/develop
2021-06-23T16:40:40.314828
2017-02-26T18:43:19
2017-02-26T18:43:19
13,773,704
9
6
null
2017-02-26T18:43:19
2013-10-22T13:15:31
Python
UTF-8
Python
false
false
654
py
# -*- coding: utf-8 -*- """ Utility that imports a function. """ # Future from __future__ import absolute_import, division, print_function, \ unicode_literals, with_statement def import_function(function): """Imports function given by qualified package name""" function = __import__(function, globals(), lo...
[ "bengt.lueers@gmail.com" ]
bengt.lueers@gmail.com
294030ebcff181ce5d8d90eb06c9680dbb6da7dd
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_security_groups_operations.py
8b4f33b452a87138e191372f598415ac84de9930
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
30,747
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" ]
scbedd.noreply@github.com
d143b5e94bdb3b3cc4d23686afc8c4067eaae6b3
cd8617ee061ed3b52a4f63bc0c7430758143ccbb
/unipdgest/portlet/navigation/query_builder.py
91c957e4d38fdff4ad350a2f1e385d259de64e1a
[]
no_license
PloneGov-IT/unipdgest.portlet.navigation
54f1e574e2feec17dd9594119f458ce4531c4b4f
7cfe752e8ec68e508ed6ffef02f211e6859de865
refs/heads/master
2021-01-10T19:00:33.090938
2014-07-25T12:15:28
2014-07-25T12:15:28
21,424,334
0
1
null
null
null
null
UTF-8
Python
false
false
2,561
py
# -*- coding: utf-8 -*- from zope.interface import implements from plone.app.layout.navigation.interfaces import INavigationQueryBuilder from Products.CMFCore.utils import getToolByName from plone.app.layout.navigation.root import getNavigationRoot from Products.CMFPlone import utils class NavtreeQueryBuilder(object...
[ "luca@keul.it" ]
luca@keul.it
5bea5561b61211c8272bec4425b7d4110d3684ed
8ef6dbdd3791dd7fbe1320483a22e0540c54359b
/Core Python/list/14LstFunc.py
7c29427097a4085e4123edf78ec775d21f2c9b39
[]
no_license
kundan4U/Python
8095eecba088910d2068a6375c907d47f2bb9c95
6b3fdbe66edb52e9f612352abb9c6563547b6297
refs/heads/main
2023-06-24T06:29:43.770282
2021-07-21T18:40:11
2021-07-21T18:40:11
388,213,053
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
# Creating empty list using list Function a=list(range(0,100,5)) # first position 0= start,100= end, 5= stepsize print(a) print(type(a))
[ "kc946605@gmail.com" ]
kc946605@gmail.com
93b3be8471dfdc26f7c82e98c1d7a848343268ca
9d68e4c8e210b4a25483887a5d10850bdbe0b712
/187_2.py
c2a745ecc496ce06b9a6d1c66a5006b96e3f00ff
[]
no_license
kliner/leetcode
588f26e8d9a977ef8c581ba89165c9a1360187ac
4145d415dabb2e5e8195817b517e5a28e2bf216f
refs/heads/master
2020-12-24T16:15:31.060680
2016-02-25T15:38:29
2016-02-25T15:38:29
33,992,348
0
0
null
null
null
null
UTF-8
Python
false
false
943
py
class Solution(object): def findRepeatedDnaSequences(self, s): """ :type s: str :rtype: List[str] """ m = {'A':'1','C':'2','G':'3','T':'4'} revertm = {1:'A',2:'C',3:'G',4:'T'} d = set([]) ret = set([]) bit = "" for ch in s: ...
[ "kliner@live.cn" ]
kliner@live.cn
6477201a38e99cd5e28b6646c41ccb0a32133c29
626d5c9d8d0de2dc869cb87f34985828fe4f972c
/aiida_verdi/tests/test_param_computer.py
2eb06c05b22e15421910bb4d0d4e90efd134bda8
[]
no_license
DropD/aiida-verdi
3b429cf5325d8b3b584776041374f17dfa8c7fc1
6e4e537395b2a790dc6c3def46839b8893af9b5e
refs/heads/master
2021-01-11T14:23:16.554025
2017-02-27T14:24:23
2017-02-27T14:24:23
81,361,383
1
0
null
null
null
null
UTF-8
Python
false
false
1,783
py
#-*- coding: utf8 -*- """ unit tests for :py:class:`aiida_verdi.param_types.computer.ComputerParam` """ import click from click.testing import CliRunner from aiida_verdi.param_types.computer import ComputerParam def setup_comp_opt_cmd(convert=True, **kwargs): """ scenario comp: simple cmd with only a Compute...
[ "r.haeuselmann@gmx.ch" ]
r.haeuselmann@gmx.ch
b59a90b41806b160577424f6ee82f6e023ad0230
8a2c007ce11fdf98c36a9bc047ec34d303581ca6
/thingsGate/messaging/messaging.py
43f7292d0494bcda04169fc732373fb600237089
[ "MIT" ]
permissive
lubusax/2005_thingsGate
5f34891ee4693eb860515cc46f8d1ec5113932a8
8a7450ae391870b70a137ec14bbdb5564a2f0015
refs/heads/master
2023-05-22T19:33:59.223866
2021-06-11T16:26:14
2021-06-11T16:26:14
261,146,550
0
0
null
null
null
null
UTF-8
Python
false
false
5,489
py
import time import zmq import itertools import pickle import log.logger as l from random import randrange class SubscriberMultipart(): def __init__(self,port): self.context = zmq.Context() self.socket = self.context.socket(zmq.SUB) self.socket.connect(f"tcp://localhost:{port}") self.port=port d...
[ "lu.bu.sax@gmail.com" ]
lu.bu.sax@gmail.com
329c8cfd972fe021681a5ee646042e4b9577e613
73e147e1d49656fafba5d4bf84df5ded2c4dca73
/team_9/cocos/test/test_label_opacity.py
3506a94ccdf882e696c5f9e2b48e6a6f676aa271
[ "LGPL-2.1-only", "CC-BY-NC-4.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license", "CC-BY-NC-SA-2.0", "BSD-3-Clause" ]
permissive
Donnyvdm/dojo19
2278747366c57bfc80eb9ee28ca617ec0a79bae3
3cf043a84e3ad6d3c4d59cd9c50b160e1ff03400
refs/heads/master
2020-07-26T12:22:15.882800
2019-09-15T20:34:36
2019-09-15T20:34:36
208,642,183
1
0
BSD-3-Clause
2019-09-15T18:57:53
2019-09-15T18:57:52
null
UTF-8
Python
false
false
901
py
from __future__ import division, print_function, unicode_literals # This code is so you can run the samples without installing the package import sys import os sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) # testinfo = "t 0.1, s, t 5, s, t 10.1, s, q" tags = "Label, opacity, FadeOut" import cocos...
[ "a.campello@wellcome.ac.uk" ]
a.campello@wellcome.ac.uk
3445445f26eae6dcfab32712e1f29da3c1248c93
307798cae0443890f075bf8d561a00da1d18ecf5
/meta_pdf/meta_pdf.py
4e5cdcd9bcb687c4cad4bcd232e95bb60ade0fa8
[ "Apache-2.0" ]
permissive
amanaksu/laikaboss-modules
9d2829297940061421bead2b861d574d26a50df4
0267947f16814de86ef4d740c3a675bbf7b13949
refs/heads/master
2020-12-24T20:33:51.401117
2016-02-09T16:57:56
2016-02-09T16:57:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,339
py
# Copyright 2016 Josh Liburdi # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "liburdi.joshua@gmail.com" ]
liburdi.joshua@gmail.com
9ca0ac03e7a067572365aeb7c4c771ab53fd2481
7bc54bae28eec4b735c05ac7bc40b1a8711bb381
/src/trainer_v2/dev_runner/keras_save_test.py
9bd39ad51ed7cf17400a4c5fb7fd825d3ebf267b
[]
no_license
clover3/Chair
755efd4abbd5f3f2fb59e9b1bc6e7bc070b8d05e
a2102ebf826a58efbc479181f1ebb5de21d1e49f
refs/heads/master
2023-07-20T17:29:42.414170
2023-07-18T21:12:46
2023-07-18T21:12:46
157,024,916
0
0
null
2023-02-16T05:20:37
2018-11-10T21:55:29
Python
UTF-8
Python
false
false
579
py
import os import tensorflow as tf from cpath import output_path from models.keras_model.bert_keras.modular_bert import NamedLinear def main(): hidden_size = 6 label_input = tf.keras.layers.Input(shape=(hidden_size,), dtype='float32', name="label_ids") inputs = [label_input] named_linear = NamedLinea...
[ "lesterny@gmail.com" ]
lesterny@gmail.com
7d4ca4924012fd2ad685e17c0f79c2597a8e230a
68171d7d42e92f4967a3559c912d3cd9a9da3883
/10-Error-Handling-Lab/repeat_text.py
78af74400f887914103c40cf003fde463559a0ec
[]
no_license
l-damyanov/Python-Advanced---January-2021
7c3b5bd2ab62ff4780fd42a79134a895f064f084
1dc4fd31610a5744df0ee7e9dc64b99ad81cd7d2
refs/heads/master
2023-03-02T09:23:13.220242
2021-02-13T18:05:34
2021-02-13T18:05:34
328,987,173
2
1
null
null
null
null
UTF-8
Python
false
false
205
py
def repeat_text(text, count): try: return text * int(count) except ValueError: return ("Variable times must be an integer") word = input() n = input() print(repeat_text(word, n))
[ "l_l_damyanov@abv.bg" ]
l_l_damyanov@abv.bg
3e9ed0b61e776a6027c0fdf214844fc67e9c818a
0d8486c1d55c40bebea7c5428930f18165d2d0e9
/tests/wasp1/AllAnswerSets/random_bug_01.test.py
6112eaca56280668c0d961dc4224d2bb40f4a70f
[ "Apache-2.0" ]
permissive
bernardocuteri/wasp
6f81bf6aa8fb273c91bbf68ecce4ecb195a55953
05c8f961776dbdbf7afbf905ee00fc262eba51ad
refs/heads/master
2021-06-08T11:58:25.080818
2020-10-05T16:57:37
2020-10-05T16:57:37
124,245,808
0
0
Apache-2.0
2018-03-07T14:13:16
2018-03-07T14:13:16
null
UTF-8
Python
false
false
7,945
py
input = """ p35 :- p31,p12,p48. p37 :- p28,p25,not p81. p11 :- p88,p22,p27. p42 :- p3,p73,not p6. p90 :- p53,p75,p65. p26 :- p96,p7,not p66. p19 :- not p30,not p5,not p24. p93 :- p9,not p63,p86. p1 :- p56,p60,not p26. p13 :- p34,not p22,p44. p18 :- not p91,p53,p35. p23 :- not p62,p32,p25. p86 :- not p63,no...
[ "mario@alviano.net" ]
mario@alviano.net
6e782f219ca11bbb1da5ad1c1e8e5a38ffe6ee3a
39edf93c0d4002abb9356ea927eeb2be28a8d662
/pybuildtool/tools/cppcheck.py
65d6a469989c5143af9b78b38d3a7e5f8e78efa8
[ "MIT" ]
permissive
dozymoe/PyBuildTool
134991de33d1cab277d7ce1aa08bf754cf400078
98e73d9dd45a3fa2685ae4810c2540bb049c3b79
refs/heads/main
2023-04-13T08:11:01.872509
2023-04-05T06:46:45
2023-04-05T06:46:45
16,072,880
5
1
null
null
null
null
UTF-8
Python
false
false
14,333
py
""" Generate documentation. Options: * work_dir : str, None, change current directory * build_dir : str, None, Analysis output directory. Useful for various data. Some possible usages are; whole program analysis, incremental analysis, distributed analysis. ...
[ "dozymoe@gmail.com" ]
dozymoe@gmail.com
499752dd046918dae2fc7118573c1c3a6881e1aa
170026ff5b435027ce6e4eceea7fff5fd0b02973
/glycan_profiling/composition_distribution_model/site_model/glycoproteome_model.py
1b90accb6cdf3032eca34b63f8f902ab48a5148a
[ "Apache-2.0" ]
permissive
mstim/glycresoft
78f64ae8ea2896b3c4f4c185e069387824e6c9f5
1d305c42c7e6cba60326d8246e4a485596a53513
refs/heads/master
2022-12-24T23:44:53.957079
2020-09-29T13:38:20
2020-09-29T13:38:20
276,471,357
0
0
NOASSERTION
2020-07-01T20:04:43
2020-07-01T20:04:42
null
UTF-8
Python
false
false
6,061
py
import re import warnings try: from collections.abc import Mapping except ImportError: from collections import Mapping from glycopeptidepy.structure.parser import strip_modifications from glycan_profiling.structure import LRUMapping from glycan_profiling.tandem.spectrum_match import SpectrumMatchClassificati...
[ "mobiusklein@gmail.com" ]
mobiusklein@gmail.com
d62ec3d42e619db6e9d0b617f1fcf2b0c64c5a92
db0267cfd2214ce252ec0dafb246d7de1e1d4197
/app/main/views.py
7b9c7c743ae65ae9622d2bd39488906abf273587
[ "MIT" ]
permissive
DK-denno/m-fare
9c5df9df1c753d74d439fdcacd2aa67c1719c653
9d7e1a31e6c8162edf48df03805e57c7ab8738e8
refs/heads/master
2020-03-29T01:42:28.601839
2018-09-21T08:15:13
2018-09-21T08:15:13
149,402,238
0
0
null
2018-09-20T09:27:37
2018-09-19T06:25:35
Python
UTF-8
Python
false
false
389
py
from . import main from flask import render_template from .. import db from ..models import User,Sacco # from .request import Api_call @main.route('/',methods=['GET','POST']) def index(): return render_template('index.html') @main.route('/saccos',methods=['GET','POST']) def saccos(): saccos = Sacco....
[ "dennisveer27@gmail.com" ]
dennisveer27@gmail.com
1c4d6cf72fe7bd85291dfcd8b7f5ae3f787b719f
c27dd6ee0691882b346cc19a2fc5b072df18deef
/ideas/pile_of_paper/gen_random_input.py
01821decec66e88443c42b192b1a62a7e0bccc4e
[ "MIT" ]
permissive
fsufitch/dailyprogrammer
0036d408dcde517b0ccc338373f2bc2a6d9f8919
c6dc24d796d0810aabbd749491bc2b5f0a05d112
refs/heads/master
2020-12-12T10:11:15.939756
2016-11-10T15:56:24
2016-11-10T15:56:24
33,205,273
6
8
null
null
null
null
UTF-8
Python
false
false
630
py
import sys, random if len(sys.argv) < 2: print("Args: width height num_colors num_rects") sys.exit() width = int(sys.argv[1]) height = int(sys.argv[2]) num_colors = int(sys.argv[3]) num_rects = int(sys.argv[4]) print("%s %s" % (width, height)) for i in range(num_rects): col1 = random.randint(0, width-5)...
[ "fsufitchi@gmail.com" ]
fsufitchi@gmail.com
439ca4a800e39bcc9e63f95a42b920cdfcae8d49
6f394a5f520ba50671d95aa18b3e594e427a4d21
/flytekit/common/workflow_execution.py
9d1f54d9295743920045a1fb1928f695df13513c
[ "Apache-2.0" ]
permissive
jbrambleDC/flytekit
844cf2216954eecfe8243e1bd9ca733a2802304c
2eb9ce7aacaab6e49c1fc901c14c7b0d6b479523
refs/heads/master
2022-04-15T10:30:22.433669
2020-04-13T17:09:15
2020-04-13T17:09:15
255,514,936
1
0
Apache-2.0
2020-04-14T05:04:46
2020-04-14T05:04:45
null
UTF-8
Python
false
false
5,330
py
from __future__ import absolute_import import six as _six from flytekit.common import sdk_bases as _sdk_bases, nodes as _nodes from flytekit.common.core import identifier as _core_identifier from flytekit.common.exceptions import user as _user_exceptions from flytekit.common.mixins import artifact as _artifact from fl...
[ "matthewsmith@lyft.com" ]
matthewsmith@lyft.com
21b4cce07d95082cd55ef72bd54992c3e226c6c8
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2463486_0/Python/Fixman/Fair.py
e8d617a04f33ed9963e9dbba03b602ff15a244c7
[]
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,201
py
import sys def sgn(n): if (n == 0): return 0 return int(n / abs(n)) def P(Q, n, s, m): if (s >= 5 or 2 * n + (m == 1) > len(Q)): return 0 r = 1 if (2 * n + 1 + (m == 1) <= len(Q)): r += 1 q = m if m else sgn(1 - int(Q[n])) if (2 * n + 1 + (q == 1) <= len(Q)): r += 1 q = m if m else sgn(2 - int(Q[n])...
[ "eewestman@gmail.com" ]
eewestman@gmail.com