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
1b48fa35782b5a093d246a4325888a0a5482ada6
780fe51f58008bc901aef74baccacb22a796b308
/thrift/perf/py3/py3_server.py
8131991cc4b305b002cfb7b0bdf21e4e587a4f74
[ "Apache-2.0" ]
permissive
joseroubert08/fbthrift
f2e9f3adb9cca4c5248070383310d4573136fbb5
8edc86b4c3b991039e110f378cfa1d8a19665b55
refs/heads/master
2021-01-16T19:00:49.105359
2017-01-15T04:42:45
2017-01-15T04:47:30
79,018,635
1
0
null
2017-01-15T09:15:45
2017-01-15T09:15:45
null
UTF-8
Python
false
false
1,603
py
#!/usr/bin/env python3 # # 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 # "L...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
a333ccba45a929a80bcfc1e647c92d5977fe109c
da0a7446122a44887fa2c4f391e9630ae033daa2
/python/ray/air/tests/test_resource_changing.py
2299c5dabb9a112d5349433b2a4a5c95bfbd96ac
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
whiledoing/ray
d8d9ba09b7545e8fd00cca5cfad451278e61fffd
9272bcbbcae1630c5bb2db08a8279f0401ce6f92
refs/heads/master
2023-03-06T16:23:18.006757
2022-07-22T02:06:47
2022-07-22T02:06:47
252,420,044
0
0
Apache-2.0
2023-03-04T08:57:20
2020-04-02T10:07:23
Python
UTF-8
Python
false
false
4,697
py
from ray.air import session from ray.air.checkpoint import Checkpoint from ray.air.config import FailureConfig, RunConfig, ScalingConfig from ray.air.constants import TRAIN_DATASET_KEY from ray.tune.tune_config import TuneConfig from ray.tune.tuner import Tuner from ray.train.data_parallel_trainer import DataParallelTr...
[ "noreply@github.com" ]
whiledoing.noreply@github.com
71dbebb820dbd7f4b8c24505f4b638a923e62c66
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2475/60758/282446.py
47d5f768676492e85fb963899c2835b0bc9fed29
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
290
py
k=int(input()) for qqq in range(0,k): n=int(input()) num=list(map(int,input().split())) num.sort() out=0 count=0 for i in range(n-1): if(num[i]+1==num[i+1]): count+=1 out=max(out,count) else: count=0 print(out)
[ "1069583789@qq.com" ]
1069583789@qq.com
89a87ed681efbb6b832737666b35f803561484c1
33226b2cf373cb2d1ceac94fbc2a1558c1fd4f65
/Simple_BBS/Regiest_models.py
e9072fef27185d2d6b34304fe880859e4fe39411
[]
no_license
cnbjljf/simple_project
af54c6b494aa7f807e0bcfdd4fabfebf1a15cd76
95287682d7406be76c6dcd2974174fc2c1f4a372
refs/heads/master
2020-04-02T21:02:22.292978
2016-07-03T06:35:02
2016-07-03T06:35:02
62,478,177
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
#!/usr/bin/env python ''' ''' import os import sys path = os.path.dirname( os.path.dirname( __file__ ) ) sys.path.append( path ) from django.contrib import admin # register your models here from django.apps import apps from django.contrib.admin.sites import AlreadyRegistered app_models = apps.get_app_config('Simpl...
[ "1403208717@qq.com" ]
1403208717@qq.com
4831effd489528b9694cd5a1b45cb52a10ed6b7b
0f089307fe04a68569fe20bdb78be6ba43a589ea
/tests/helpers/test_restore_state.py
3a4c058f8534fdffa7677a0ae4d11a4d24057fec
[ "Apache-2.0" ]
permissive
wanman/home-alone
6983d4e25bbf6b046cc6eaf426816c2a2dca4eea
633aaed22b0de0129d1e72e23bcd974b9ce13656
refs/heads/master
2020-05-21T08:19:00.077989
2017-03-10T22:14:31
2017-03-10T22:14:31
84,603,132
1
0
null
2017-03-10T22:21:20
2017-03-10T21:44:26
Python
UTF-8
Python
false
false
3,475
py
"""The tests for the Restore component.""" import asyncio from datetime import timedelta from unittest.mock import patch, MagicMock from homeassistant.bootstrap import setup_component from homeassistant.const import EVENT_HOMEASSISTANT_START from homeassistant.core import CoreState, split_entity_id, State import homea...
[ "paulus@paulusschoutsen.nl" ]
paulus@paulusschoutsen.nl
98a6e00741c6fdbf71c95bdee694690cc1d91e5d
8ebc3925894d4f796efb703cdf3254fc56724c3a
/aws-apigateway-py-routes/__main__.py
c243fc1ce23aa47798dadf5ad13b3cd563bd256e
[ "Apache-2.0" ]
permissive
pulumi/examples
8db27b8847f8c05bcc8d99cdec8eb6c7b7ffa2a3
26ffb4bb327f00457796c96676e7db5e25e2bbd6
refs/heads/master
2023-09-04T04:56:53.098380
2023-08-31T14:33:12
2023-08-31T14:33:12
108,589,232
2,156
974
Apache-2.0
2023-09-13T23:27:18
2017-10-27T19:50:31
TypeScript
UTF-8
Python
false
false
5,573
py
# Copyright 2016-2021, Pulumi Corporation. import json import pulumi import pulumi_aws as aws import pulumi_aws_apigateway as apigateway import lambdas from dns import configure_dns # Create a Cognito User Pool of authorized users user_pool = aws.cognito.UserPool("user-pool") user_pool_client = aws.cognito.UserPoolCli...
[ "noreply@github.com" ]
pulumi.noreply@github.com
88144a5b367992096a70de7bf2ab6edca3aca8a0
a83bafc38b514a0339a5991be15870551ac49681
/bimdata_api_client/model/patched_unit_request.py
fe71e0a5af04aea155fba78e4e1175716c5abd9d
[]
no_license
bimdata/python-api-client
4ec2f81e404ef88d3a7e4d08e18965b598c567a2
c9b6ea0fbb4729b2a1c10522bdddfe08d944739d
refs/heads/master
2023-08-17T13:38:43.198097
2023-08-09T12:48:12
2023-08-09T12:48:12
131,603,315
0
4
null
2022-10-10T15:21:26
2018-04-30T14:06:15
Python
UTF-8
Python
false
false
14,548
py
""" BIMData API BIMData API is a tool to interact with your models stored on BIMData’s servers. Through the API, you can manage your projects, the clouds, upload your IFC files and manage them through endpoints. # noqa: E501 The version of the OpenAPI document: v1 (v1) Contact: support@bimdata.io...
[ "infra@bimdata.io" ]
infra@bimdata.io
99fa9801cdae9f52933c03149abc616dfe5cdadb
d418edb92b92d35a32a198d8675defb21448f513
/Assignment/4.py
4e6f781c3c332785be89906032891ee2fef22146
[]
no_license
JAntonioMarin/CursoPython3
a75ce49696e23903398fc186c81b5fb7c2116c21
ba04888eb6e5495b5180cbc5ed7a5c804ee8dbaf
refs/heads/master
2020-12-27T04:18:21.010039
2020-02-17T12:09:37
2020-02-17T12:09:37
237,762,726
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
def num_max(enteros): valorInicial = enteros[0] valorMaximo = valorInicial for valor in range (1, len(enteros)): if(valorMaximo<enteros[valor]): valorMaximo = enteros[valor] elif(valorMaximo==enteros[valor]): valorInicial = valorMaximo if(valorInicial==valorMaximo...
[ "avalanch.psp@gmail.com" ]
avalanch.psp@gmail.com
769fdc01c08347489e610c53259a047ffcf4ba3e
6d9fbe6e6a2abfd8455e92f6dba67a5f02d87f41
/lib/phonenumbers/data/region_HU.py
92c290b8f89c02dee52458951bc4d2c5236316bb
[]
no_license
JamesBrace/InfluenceUWebLaunch
549d0b48ff3259b139cb891a19cb8b5382ffe2c8
332d25940e4b1b45a7a2a8200f77c8413543b199
refs/heads/master
2021-09-04T04:08:47.594900
2018-01-15T16:49:29
2018-01-15T16:49:29
80,778,825
1
1
null
null
null
null
UTF-8
Python
false
false
2,133
py
"""Auto-generated file, do not edit by hand. HU metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_HU = PhoneMetadata(id='HU', country_code=36, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='[1-9]\\d{7,8}', possible_number_pattern='...
[ "james.brace@mail.mcgill.ca" ]
james.brace@mail.mcgill.ca
00fbff804c306f16c0d80cab257452d1511c1d7a
f8f6dadfb4215776ee40f022265d6c87ad2cc65b
/examples/dev/coord_transform.py
b0f390b9fd0a2c8d78a51c7f10bfcf4361189195
[]
no_license
oldbay/raster_tools
559112431146ccf3e0ed29a4a8ee3e3ac8adf025
171ed1313a0805cc2d7e8f8049914848ebee8331
refs/heads/master
2021-01-10T20:38:49.075348
2019-04-08T18:49:17
2019-04-08T18:49:17
31,228,764
11
0
null
null
null
null
UTF-8
Python
false
false
196
py
from rtools import geom_conv coords = [ (296153.369,7137678.937), (296203.959,7137570.986), (296256.938,7137645.476) ] conv = geom_conv(32638) print conv.coords_reproj(4326, *coords)
[ "old_bay@mail.ru" ]
old_bay@mail.ru
807a837d4cf69d4aa7173c4051e4c3c14d413ad2
a63d907ad63ba6705420a6fb2788196d1bd3763c
/src/datamgr/metadata/metadata/backend/mysql/replica_base.py
3ab330a878a927334f7842a1f2dc037e3d41de13
[ "MIT" ]
permissive
Tencent/bk-base
a38461072811667dc2880a13a5232004fe771a4b
6d483b4df67739b26cc8ecaa56c1d76ab46bd7a2
refs/heads/master
2022-07-30T04:24:53.370661
2022-04-02T10:30:55
2022-04-02T10:30:55
381,257,882
101
51
NOASSERTION
2022-04-02T10:30:56
2021-06-29T06:10:01
Python
UTF-8
Python
false
false
3,555
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ---------------------------------------------...
[ "terrencehan@tencent.com" ]
terrencehan@tencent.com
bf79e6abe3010bd150292be1c8375b3bc68486c1
56939ddccf722903ef6cc7ebc6aa85ee6b80b6dc
/orders/migrations/0003_alter_ordermodel_user.py
ffe024e4fa843e2440cd5c3d6357c752c5ace8d0
[]
no_license
Colibri7/felix_shop
d519b038446a49fc33cb1ce1c9108291e949c848
d9d635ad7797505503b56df2b36b4333bfa86b31
refs/heads/master
2023-07-21T03:30:36.714548
2021-08-30T11:03:53
2021-08-30T11:03:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
# Generated by Django 3.2.4 on 2021-07-22 09:55 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('orders', '0002_auto_2021...
[ "sarikkenjaev2002@gmail.com" ]
sarikkenjaev2002@gmail.com
db2dbeaf40c8d5ecc580df89a0eff4a1cd09dca8
a3ddd9a1cae3271d285daf272d733b67758d5cc7
/award/models.py
e54c876cf57587d41ec24e8352cfc90a1e61dccd
[]
no_license
peroh/memba-api
21edf7757b1dfcd2a42b6f52ed3bc25d0780106a
e6e5cc5bbd2afdcba5c2b7e9ee45ff717e4b75f1
refs/heads/master
2021-09-08T05:09:56.948766
2018-03-07T11:00:34
2018-03-07T11:00:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models class AwardCategory(models.Model): title = models.CharField(max_length=128) description = models.TextField() def __str__(self): return self.title class Award(models.Model): award_ca...
[ "mperrott6@gmail.com" ]
mperrott6@gmail.com
62669ff92a52f59f2282192d2d60739662712041
98b76260f5c31563aa40e76c412be514c1844fc2
/fHDHR_web/files/__init__.py
905566b59642e2809bef5b2c68fc79c8b3236bfc
[ "WTFPL" ]
permissive
DanAustinGH/fHDHR_Locast
cb54b235200a6123213853a133d6231df3b3a1ea
002117b666ad650c523aedb0209f1c996d576169
refs/heads/main
2023-02-15T20:27:21.141592
2021-01-05T19:09:35
2021-01-05T19:09:35
327,135,296
0
0
WTFPL
2021-01-05T22:28:13
2021-01-05T22:28:13
null
UTF-8
Python
false
false
314
py
from .favicon_ico import Favicon_ICO from .style_css import Style_CSS from .device_xml import Device_XML class fHDHR_Files(): def __init__(self, fhdhr): self.fhdhr = fhdhr self.favicon = Favicon_ICO(fhdhr) self.style = Style_CSS(fhdhr) self.device_xml = Device_XML(fhdhr)
[ "github@deathbybandaid.net" ]
github@deathbybandaid.net
0b8eb9d2a021eff067d7027dde5cd87766102069
a93fe443762b5183c10bfa2ea71dc1b000708f34
/spacecode/ibanpy/models.py
304714c7bd02f6d91ac422a7999168109ae8e4e2
[]
no_license
zoleikha-mousavipak/Django_Advance-Models
06d89fe63d1210224c478cbd3e2c0a19987ade0b
c238a69134232b7d54c69233c082787913c7eabd
refs/heads/master
2020-11-25T00:04:22.553911
2019-12-16T14:29:31
2019-12-16T14:29:31
228,400,079
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
from django.db import models class MyIBANField(models.Field): def db_type(self, connection): return 'char(25)' def from_db_value(self, value, expression, connection): return value def to_python(self, value): return value def value_to_string(self, obj): value = self.v...
[ "zmpak2000@gmail.com" ]
zmpak2000@gmail.com
1e3302bdc5b0746f1f6287f3c77657b08e6f1931
11c8dbe77dce5616e8e7ff5df647192887c279d3
/Sodda dasturlar/Sutkani boshidan secungacha necha minut va soat borligini aniqlash.py
bb0df7b1b966e4c76ca39f992fc06c7ad76bea7e
[]
no_license
extremums/the-simplest-programs
1fe9be078dc53260c47e7c1e3b2a2300b287e862
71d9be72fac1013c7b8ee8c0f792d24fc54e854a
refs/heads/main
2023-04-27T07:20:13.836780
2021-05-11T11:03:47
2021-05-11T11:03:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Sutkani boshidan secungacha necha minut va soat borligini aniqlash sekund = input("Sekundni kiriting ") if sekund.isdigit(): sekund = int(sekund) soat = sekund//3600 sekund %= 3600 minut = sekund//60 sekund %= 60 print("Sutkani boshidan {} soat {} minut va {} secund o'tdi".format(soat,minut,...
[ "84010165+Nurullox@users.noreply.github.com" ]
84010165+Nurullox@users.noreply.github.com
0afdacdf006dd4db28c2c037759bbef9c7385c71
ba895ee2765b60ddf2da15307f038c6a884da4ec
/month03/month03_django/django/day06/bookMgr/bookMgr/urls.py
3d84edec1ad804d943e88e23d695f8c78b14fa50
[]
no_license
jay0613/2020-0720-note
dc53831b829f7e7437fc57937eef38ab9e3942e9
7b2babd30a4dd9897b7853527a07e8a8fe2ba3ea
refs/heads/master
2022-12-06T17:01:19.542832
2020-08-22T10:39:06
2020-08-22T10:39:06
281,112,932
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
"""bookMgr URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "240110075@qq.com" ]
240110075@qq.com
8c96ef0652543325ee68e9afa0303c98f18ad8fb
e5c56d6340edd36167f53605e8d766972fe706ca
/sen/tui/widgets/graph.py
c019a34c1cb52dc740435f933d58b52881a6cbc6
[ "MIT" ]
permissive
TomasTomecek/sen
47090e7edcbf7f9358cb256d5d9d6885ee662840
ec292b5a723cd59818e3a36a7ea5091625fb3258
refs/heads/master
2023-06-21T14:19:45.138546
2023-04-12T07:21:42
2023-04-12T07:21:42
43,115,475
1,011
78
MIT
2023-04-12T07:21:43
2015-09-25T07:13:43
Python
UTF-8
Python
false
false
1,686
py
import math import logging import urwid logger = logging.getLogger(__name__) def find_max(list_of_lists): list_of_ints = [x[0] for x in list_of_lists] m = max(list_of_ints) try: return 2 ** int(math.log2(m) + 1) except ValueError: return 1 class ContainerInfoGraph(urwid.BarGraph):...
[ "ttomecek@redhat.com" ]
ttomecek@redhat.com
9724ad7aa8b657a2fb8995698be8b31bb74da85b
4bfc3c184e736bb68dccbb6d5657f11c950df002
/tests/common/test_run/cos_run.py
bff15552b892ebb77b63bcedbb20fc31b913efe3
[ "Apache-2.0", "Zlib", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-2-Clause" ]
permissive
laekov/akg
159aa64ef6135222b5af784c408731275dfa9bdb
5316b8cb2340bbf71bdc724dc9d81513a67b3104
refs/heads/master
2022-12-01T04:09:03.548063
2020-08-19T08:38:57
2020-08-19T08:41:28
288,678,192
0
0
Apache-2.0
2020-08-19T08:41:30
2020-08-19T08:36:53
Python
UTF-8
Python
false
false
1,779
py
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "ckey.chengbin@huawei.com" ]
ckey.chengbin@huawei.com
1d4f134c14d925405ea4bbb418b726779acaf34c
20e4b646c2b17483d5bd298b2a0ae0361534bd75
/Book_python3_web_spider/6_Ajax结果提取/test.py
ea0c67459127673c8c005fbf760199bfda6a34b5
[]
no_license
zzf531/WebSpider
fd68080fe9847d0a781024916a09959c58ef0ce3
6cd150aeeacd1bc6ec42c80579b2a4f25a39acce
refs/heads/master
2020-08-09T23:16:05.585782
2020-03-01T03:46:58
2020-03-01T03:46:58
214,198,000
1
0
null
null
null
null
UTF-8
Python
false
false
537
py
""" https://www.toutiao.com/api/search/content/? aid=24&app_name=web_search &offset=20&format=json &keyword=%E8%A1%97%E6%8B%8D &autoload=true &count=20 &en_qc=1 &cur_tab=1 &from=search_tab &pd=synthesis &timestamp=1582979073578""" params = { 'aid': '24', 'app_name': 'web_search', 'offset': offse...
[ "2315519934@qq.com" ]
2315519934@qq.com
8d76b7cbe0978b22f6558074ec5235ee0d556c1d
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/Sourcem8/pirates/world/DistributedGAInterior.py
7ecd938ea4f6de9eca964fd400377c2af9d62318
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
17,111
py
import random from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.distributed import DistributedObject from direct.distributed import DistributedCartesianGrid from direct.showbase.PythonUtil import report from pirates.audio import SoundGlobals from pirates.audio.SoundGlobals impor...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
adb73ef3cb0ce41f0e0a48c8f32809f66c3f59e6
77f6f49fbb71a51c77b169d2e902507e68e33615
/1373_3.py
dba9b02d1759cf11ed2e6455eb67e65386094acd
[]
no_license
goodsosbva/BOJ_theothers
1d39657b34f11cc940f0013011d83f5b3dfdc474
cf3da17e488b50d3d7cff65d403ba9dc58b8170e
refs/heads/main
2023-07-17T22:06:42.964302
2023-07-11T09:31:53
2023-07-11T09:31:53
334,390,930
1
0
null
null
null
null
UTF-8
Python
false
false
244
py
print(oct(int(input(), 2))[2:]) # (int(input(), 2) input받은 값은 이진수 값이고, 이값을 십진수로 바꾸겠다는 뜻 # 십진수 값을 8진수로 바꾸고 출력 2번째부터 출력([2:])
[ "noreply@github.com" ]
goodsosbva.noreply@github.com
d126ba6aec22a916b3e5a0f5725922602063046c
cefa560ae84e4bcb7a8f2828357ffd3ba8a88b49
/setup.py
9549c17fef0d9acac16f246cb4c2586a92b74d8d
[]
no_license
paultag/python-jackpot
eb294240925e598873598c96edb65cb191863e67
f4a832153a2eb71d2fed4e929b944093181a4d19
refs/heads/master
2021-04-03T09:07:54.113177
2018-03-18T15:59:06
2018-03-18T15:59:20
124,565,769
2
0
null
null
null
null
UTF-8
Python
false
false
385
py
#!/usr/bin/env python from setuptools import setup, find_packages from jackpot import __version__ long_description = '' setup(name='jackpot', version=__version__, packages=find_packages(), description='', long_description=long_description, platforms=['any'], install_requires=[ ...
[ "tag@pault.ag" ]
tag@pault.ag
ae518b92f0d9797b906239b9fe24dbbce0d6da8e
52c372d83179f7c4506d31ede4dbde97917abc74
/bob/db/nivl/models.py
d7c0faa9a8a9938e9e522ddd027b66bc01eadeff
[ "BSD-3-Clause" ]
permissive
bioidiap/bob.db.nivl
af78c64a2b593f5cf9a8c3abe04690887022604d
d5f9282894f5e93a77d35f38c6964629f9ea80ab
refs/heads/master
2023-04-18T18:13:16.461281
2020-11-10T10:34:52
2020-11-10T10:34:52
283,998,033
0
0
null
null
null
null
UTF-8
Python
false
false
5,163
py
#!/usr/bin/env python # vim: set fileencoding=utf-8 : # @author: Tiago de Freitas Pereira<tiago.pereira@idiap.ch> # @date: Mon Oct 19 17:41:51 CEST 2015 # # Copyright (C) 2011-2013 Idiap Research Institute, Martigny, Switzerland # # This program is free software: you can redistribute it and/or modify # it under the ...
[ "tiagofrepereira@gmail.com" ]
tiagofrepereira@gmail.com
d73652512bd558ac8c51d7ab86b3ae12c6a99bbb
a1439f8dfaf14e61720dcde463e0c8731e497526
/pao/mpr/examples/moore.py
0b20dd6de48dd9b40b8632d61a2f6982c475285a
[ "BSD-3-Clause" ]
permissive
whart222/pao
e5ef57baa073facb9d3ce8dc8e86b80d37aa90f3
3a80767ef5082be4dd98dd2f38000ffb96d2327c
refs/heads/master
2023-06-15T06:25:07.564944
2021-07-08T14:18:02
2021-07-08T14:18:02
265,347,819
0
0
null
2020-05-19T19:43:12
2020-05-19T19:43:11
null
UTF-8
Python
false
false
662
py
# # Example from # Moore, J. and J. Bard 1990. # The mixed integer linear bilevel programming problem. # Operations Research 38(5), 911–921. # from pao.mpr import * def create(): M = LinearMultilevelProblem() U = M.add_upper(nxZ=1) L = U.add_lower(nxZ=1) U.c[U] = [-1] U.c[L] = [-10] L.c[L] ...
[ "whart222@gmail.com" ]
whart222@gmail.com
56b0ec2eed72c8ac954b8c2725eb4f65f08a5aba
a8eb3ee2225bea109985ed463b146ef887e8822e
/features/create_features_all4.py
43825408ee77553edaec1b446ced3983038a85fc
[]
no_license
zakopuro/kaggle_Riiid
58148deb1c0f1d3672d44aa9c8ba5acf35180694
557caf57dc2460733e64cf24a7b547c7eee27363
refs/heads/main
2023-02-14T19:50:00.398300
2021-01-11T11:30:36
2021-01-11T11:30:36
302,792,953
0
0
null
null
null
null
UTF-8
Python
false
false
44,739
py
import pandas as pd import numpy as np import gc import os from tqdm import tqdm from collections import defaultdict from base_create_features import Feature, get_arguments, generate_features from pathlib import Path import pickle import dill import sys sys.path.append('./') from utils import data_util,logger import ti...
[ "zakopuro@gmail.com" ]
zakopuro@gmail.com
ced8a84d60c79476996223a6ce4c035cde0cec50
e1b3816615cce62ebe2b6c59b0eb3fbd3693d73b
/solutions/606-construct-string-from-binary-tree/construct-string-from-binary-tree.py
392a31dd693a4f747d9d30c1798437fa800fed15
[]
no_license
fagan2888/leetcode-6
1fb18979ffacb82d5db77988b38ecd7371b428b9
14176f1752e2bb94dec51bd90dfd412896ed84de
refs/heads/master
2022-01-10T03:27:51.388066
2019-06-15T14:13:48
2019-06-15T14:13:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
# -*- coding:utf-8 -*- # You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. # # The null node needs to be represented by empty parenthesis pair "()". And you need to omit all the empty parenthesis pairs that don't affect the one-to-one mapping rel...
[ "rzhangpku@pku.edu.cn" ]
rzhangpku@pku.edu.cn
c0fc556ea5948aed614ee57063c5122ab7b17078
ce0f8956c4c308c67bd700d31fe8d5a17b16ac08
/Python3/src/22 JSON and XML/XML/etree/03_createFile.py
2640cfed91f9383eba24796f1662d88f4bca71eb
[]
no_license
seddon-software/python3
795ae8d22a172eea074b71d6cd49d79e388d8cc6
d5e6db1509a25c1a3040d5ae82d757539a2ff730
refs/heads/master
2021-07-10T15:48:31.893757
2020-07-16T20:29:22
2020-07-16T20:29:22
175,872,757
0
1
null
null
null
null
UTF-8
Python
false
false
1,349
py
############################################################ # # createFile.py # ############################################################ from xml.etree.ElementTree import Element, ElementTree from xml.etree.ElementTree import _namespace_map """ Code to generate the following document: <book:book ...
[ "seddon-software@keme.co.uk" ]
seddon-software@keme.co.uk
ba9181dae8856bb6fc00c53e168e202b8f15e7ea
697af415566ba649502bd18751a6521ac526892c
/2020_VERSIONS/get_hrrr_plots.py
7e56cb6022afdc1b32c5b2d2a320ab4ae25b9cd6
[]
no_license
srbrodzik/impacts-scripts
df44c8f34746499b8397b5b1a4ad09859b4cc8d4
263c7545bbb912bbcea563a21d0619e5112b1788
refs/heads/master
2023-05-31T05:01:09.558641
2023-05-22T23:24:52
2023-05-22T23:24:52
215,638,568
0
1
null
null
null
null
UTF-8
Python
false
false
6,693
py
import os import sys import time from datetime import timedelta from datetime import datetime import requests from bs4 import BeautifulSoup import shutil def listFD(url, ext=''): page = requests.get(url).text #print page soup = BeautifulSoup(page, 'html.parser') return [url + '/' + node.get('href') for...
[ "brodzik@uw.edu" ]
brodzik@uw.edu
ec0874d853f78a0f15d0b9d998d6f76eec5ea4d5
85fc4fcd841226c30b1a5824468eae95e6da3cd1
/grass.py
16b07bf614dc8a4d3288eed474e10b56cb855a1c
[]
no_license
a5vh/kattis
1676060acfc6eef1d7c558299063646f3b7fcbf3
093cbeba31149fa0182ecc1bc8a43c60cdb1fa36
refs/heads/master
2020-08-17T19:54:11.754205
2019-11-26T01:34:29
2019-11-26T01:34:29
215,705,247
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
cost = float(input()) L = int(input()) sum = 0.0 for i in range(L): width, length = input().split() width = float(width) length = float(length) sum += (width*length)*cost print(float(sum))
[ "august.hummert5@gmail.com" ]
august.hummert5@gmail.com
10451e6a52200948649ca456a7e8d0ab43de0548
4fa785f727f8bd223e6a5a5ede9f8f642c67b4be
/tests/server/rest/task_stats_test.py
46b9084353e5f85d694203ea5176dd4360833a20
[ "MIT" ]
permissive
carlwitt/iceprod
d020ff56f233f4a6312cdfa1cb09b2781c630f0a
bd00be6051dd847bdbadfec276fbe7d8e3fef81a
refs/heads/master
2020-04-18T22:35:53.053632
2019-01-27T06:19:35
2019-01-27T06:19:35
167,798,458
0
0
null
2019-01-27T10:55:30
2019-01-27T10:55:30
null
UTF-8
Python
false
false
5,430
py
""" Test script for REST/task_stats """ import logging logger = logging.getLogger('rest_task_stats_test') import os import sys import time import random import shutil import tempfile import unittest import subprocess import json from functools import partial from unittest.mock import patch, MagicMock...
[ "davids24@gmail.com" ]
davids24@gmail.com
e65dc5a581a15d57eca06f9512858a6938fe718e
b049a961f100444dde14599bab06a0a4224d869b
/sdk/python/pulumi_azure_native/apimanagement/v20180101/__init__.py
fc73bf57d9496c3fbc71a455e1a1eea44a2efc5b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-azure-native
b390c88beef8381f9a71ab2bed5571e0dd848e65
4c499abe17ec6696ce28477dde1157372896364e
refs/heads/master
2023-08-30T08:19:41.564780
2023-08-28T19:29:04
2023-08-28T19:29:04
172,386,632
107
29
Apache-2.0
2023-09-14T13:17:00
2019-02-24T20:30:21
Python
UTF-8
Python
false
false
764
py
# coding=utf-8 # *** WARNING: this file was generated by pulumi. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from ... import _utilities import typing # Export this package's modules as members: from ._enums import * from .api_diagnostic import * from .api_diagnostic_logger impo...
[ "github@mikhail.io" ]
github@mikhail.io
5eee1f0c6972dcc67edd83dc03bce66c5ec25a2f
503f5089422a97dc6f496cb7ecdaaf711611e5c0
/ki/remote.py
c854b82580334b9df169d91e404712852fbe6ab3
[]
no_license
jd/ki
b3e782ed176ea38099aff8ba0aea4e1c06ba754b
343eeee119e2167a52e882d7772ecf3fe8f04d3a
refs/heads/main
2023-05-06T07:06:47.694980
2012-03-13T16:17:26
2012-03-13T16:17:26
363,116,328
0
0
null
null
null
null
UTF-8
Python
false
false
6,452
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # ki.remote -- Git based file system storage remote access # # Copyright © 2011 Julien Danjou <julien@danjou.info> # # 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 Fre...
[ "julien@danjou.info" ]
julien@danjou.info
ff42f8804ec94ff50d0a4adaeef22c31c4a5ffae
a0c31af5f4bfbe22b70144c10f7d86cf1184643f
/SWEA/D2/swea4869.py
a4bdcaf424186dbc110410f40ec353f88ab0c5dd
[]
no_license
ejolie/problem-solving
63a8eb39de11f7ea0525976c9c03b7f7675075c5
b51fbf71b72d837897db3c04cbc4037b6f6c11f7
refs/heads/master
2021-12-08T00:00:02.155359
2021-12-05T14:16:43
2021-12-05T14:16:43
138,751,091
5
3
null
null
null
null
UTF-8
Python
false
false
312
py
''' 4869. 종이붙이기 ''' def solve(n): memo = [0] * 1000 memo[0], memo[1], memo[2], = 0, 1, 3 for i in range(3, n+1): memo[i] = memo[i-1] + 2 * memo[i-2] return memo[n] tc = int(input()) for t in range(1, tc+1): n = int(input()) // 10 res = solve(n) print(f'#{t} {res}')
[ "ejisvip@gmail.com" ]
ejisvip@gmail.com
b97544b29ef011a1bb3f7e272cad39405a3fb6fe
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-artifact-registry/samples/generated_samples/artifactregistry_v1_generated_artifact_registry_update_repository_async.py
b63934b97c65c789e9fed24aaf4c1f93d927cd44
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,900
py
# -*- coding: utf-8 -*- # Copyright 2023 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...
[ "noreply@github.com" ]
googleapis.noreply@github.com
48c3584ee392fe27f7544c8d6fee6e955d5afa00
282d0a84b45b12359b96bbf0b1d7ca9ee0cb5d19
/Malware1/venv/Lib/site-packages/sklearn/ensemble/_hist_gradient_boosting/grower.py
eb2c27208662d5721e07c901e969a66e7645e995
[]
no_license
sameerakhtar/CyberSecurity
9cfe58df98495eac6e4e2708e34e70b7e4c055d3
594973df27b4e1a43f8faba0140ce7d6c6618f93
refs/heads/master
2022-12-11T11:53:40.875462
2020-09-07T23:13:22
2020-09-07T23:13:22
293,598,094
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:1fde0343be64a238fb4b62a8dce7854c50385b5236eeb3f1d75b38b1778d4544 size 19176
[ "46763165+sameerakhtar@users.noreply.github.com" ]
46763165+sameerakhtar@users.noreply.github.com
e16387b80fa3552314a78fda622b70dc3aebb153
de3f3575121df3188754145a43b7c10499305f37
/testCsv.py
1d577e4fb3c6d01b0fe7e1bc61ae52baa313c03f
[]
no_license
bobosky/GeoLifeDataMining
cbd24422959887575c3f15415988e4e43e6ed4b4
54a3d1727633bc4e7c43893b14e570fd8fce2068
refs/heads/master
2020-05-03T09:40:17.872102
2018-11-08T17:57:18
2018-11-08T17:57:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
import numpy as np import pandas as pd path = 'data/data.csv' df = pd.read_csv(path) print(df.head()) print(df.shape)
[ "781244184@qq.com" ]
781244184@qq.com
6fd61b04aee45278a3fe0c68198e4cb3b20772d6
44ddd25c6aa008cc0a814f9f49b2344c6a59aedb
/lib/coloraide/spaces/a98_rgb_linear.py
c5f0c249dad74d33c454e08de369aeef8a33f908
[ "MIT" ]
permissive
facelessuser/ColorHelper
eb757896fa6e4a9029090188fad789587dc2ed06
ad4d779bff57a65b7c77cda0b79c10cf904eb817
refs/heads/master
2023-08-31T20:51:30.390633
2023-08-28T15:53:39
2023-08-28T15:53:39
31,641,842
279
41
MIT
2023-09-06T23:37:41
2015-03-04T06:27:11
Python
UTF-8
Python
false
false
1,610
py
"""Linear A98 RGB color class.""" from ..cat import WHITES from .srgb import sRGB from .. import algebra as alg from ..types import Vector RGB_TO_XYZ = [ [0.5766690429101307, 0.1855582379065463, 0.18822864623499472], [0.2973449752505361, 0.6273635662554661, 0.07529145849399789], [0.027031361386412343, 0.07...
[ "noreply@github.com" ]
facelessuser.noreply@github.com
14a6e111047115fb194beef463f65d4a8c6f9c42
7d9d3d5ce2ac19221163d54a94c025993db0af4f
/autotest/ogr/ogr_as_sqlite_extension.py
196c19f4dacaaa9d6eaa16bd697cd2fcec173aff
[ "MIT" ]
permissive
dcgull/gdal
5408adad77d001db32173bba547b447220b5e9a2
a5e2a7b54db955bd061ebfc6d69aa2dd752b120c
refs/heads/master
2020-04-03T13:30:40.013172
2013-10-11T12:07:57
2013-10-11T12:07:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,417
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################################################### # $Id: ogr_as_sqlite_extension.py 25408 2012-12-30 21:41:43Z rouault $ # # Project: GDAL/OGR Test Suite # Purpose: Test GDAL as a SQLite3 dynamically loaded extension # Author: Even Rouault ...
[ "gerard.choinka@ambrosys.de" ]
gerard.choinka@ambrosys.de
0dcad145c3a9be191489a298a432ae4d0bec4600
619b9aae66e9787f335b2a31362bfee8e76672a7
/fa/jquery/templates/admin/edit.pt.py
b4da5d538f39f2d1845c335dd7f3f386c88e0f4c
[]
no_license
pgiraud/fa.jquery
150d8653875477c8fb4152a811a9dafd81cbd709
793154f287cd1ed339ffad2d46dcb90e37c319af
refs/heads/master
2020-12-30T17:50:14.830285
2011-05-13T16:17:52
2011-05-13T16:17:52
1,691,472
0
0
null
null
null
null
UTF-8
Python
false
false
10,699
py
registry = dict(version=0) def bind(): from cPickle import loads as _loads _lookup_attr = _loads('cchameleon.core.codegen\nlookup_attr\np1\n.') _attrs_4362945488 = _loads('(dp1\nVclass\np2\nVui-icon ui-icon-circle-arrow-w\np3\ns.') _init_scope = _loads('cchameleon.core.utils\necontext\np1\n.') _re_a...
[ "gael@gawel.org" ]
gael@gawel.org
08f8458a8dd2f4c2231f5131f93e9e29971d471a
52b5fa23f79d76883728d8de0bfd202c741e9c43
/kubernetes/test/test_v1beta1_replica_set.py
18fd0a6b9e4f4ded18a2d959d94bdc11e6ac95c0
[]
no_license
kippandrew/client-python-tornado
5d00810f57035825a84e37ff8fc89a7e79aed8da
d479dfeb348c5dd2e929327d800fe033b5b3b010
refs/heads/master
2021-09-04T13:01:28.275677
2018-01-18T23:27:34
2018-01-18T23:27:34
114,912,995
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.8.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import un...
[ "andy@rstudio.com" ]
andy@rstudio.com
7a3ac6320527067a9046da167e160e4d3cf4874b
056879eddb853dbf8c96954d212d862282a0dee7
/basic/text2num.py
e2d87139aa40b95eb976dee89a871e1df1deacc5
[]
no_license
pytutorial/samples
fed3965bc7ff3a81913bf24db7212dfbf6ab9411
850cdf87867ec4ac568405ab055ae9e40b636479
refs/heads/master
2022-08-14T23:26:31.606502
2022-07-26T02:55:16
2022-07-26T02:55:16
210,514,946
9
13
null
null
null
null
UTF-8
Python
false
false
1,714
py
""" Chương trình chuyển phát âm tiếng Việt của một số 3 chữ số sang giá trị số - Đầu vào : phát âm tiếng Việt của một số trong phạm vi 1 đến 999 - Đầu ra : giá trị của số """ bang_so1 = {'một' : 1, 'hai' : 2, 'ba' : 3, 'bốn' : 4, 'năm' : 5, 'sáu' : 6, 'bảy' : 7, 'tám' : 8, 'chín' : 9, 'mười' : 10} bang_so2 = {'một' ...
[ "duongthanhtungvn01@gmail.com" ]
duongthanhtungvn01@gmail.com
c1968fe6cfbb5444113b80f3730a3e5aeeba6f4b
dd7764ea75adb44bd3c51e862c9113c8da239b95
/quarry.wsgi
ac51a551dbbccfcf99e07b89e775f82a9ccf654d
[ "MIT" ]
permissive
ToAruShiroiNeko/analytics-quarry-web
29a498c3a4cb49d85323a879a17996ed9a66ca92
e2346c5ec47d63f9514b8aef9190211fa5ff0e45
refs/heads/master
2020-12-11T03:49:07.429616
2015-05-15T14:23:37
2015-05-15T21:47:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
46
wsgi
from quarry.web.app import app as application
[ "yuvipanda@gmail.com" ]
yuvipanda@gmail.com
6f940feba72d8b1ff8c1ca3a405ead22e64a3171
bd17e9fc0e5978cb664037bffdcf618a893e0523
/python/dataio/reader/discrete_sequence_reader.py
0991026d62042e0bee801ae9d215617255917c4c
[]
no_license
kedz/ntg
598513fb2c6e910ad11f40f031675a587eb7ec79
34f13b23a6850eb0c8a727a51e7aa49fd6aec098
refs/heads/master
2020-12-07T15:29:10.305416
2017-11-07T03:07:52
2017-11-07T03:07:52
95,521,368
0
0
null
null
null
null
UTF-8
Python
false
false
4,243
py
import torch from dataio.reader.reader_base import ReaderBase from preprocessor import TextPreprocessor from vocab import Vocab class DiscreteSequenceReader(ReaderBase): def __init__(self, field=0, strip=True, lowercase=True, replace_digits=True, tokenizer=None, unknown_token="_U...
[ "kedzie@cs.columbia.edu" ]
kedzie@cs.columbia.edu
e70451a24f542e96fed0a9b76822a4bdadd5842e
3f6088cf1aaaddc18ca1c6f2d5bfc69590941d60
/Xianyang_vmd/projects/tempCodeRunnerFile.py
bf13b6244bf4469a0f975dfc031366cad3270751
[ "MIT" ]
permissive
YX577/MonthlyRunoffForecastByAutoReg
80038b1b0401d0dbe9b4b67cf531298090815cf7
2d66c628141f001e4ffb3dc3b7520a0f0f0ff239
refs/heads/master
2022-03-30T10:48:30.165288
2020-01-17T02:36:47
2020-01-17T02:36:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3
py
vmd
[ "zuojianyi@outlook.com" ]
zuojianyi@outlook.com
f885ec0af4413843f7eeaa5784e43cc759c6288f
c1e4c5ee80eb8c820bbc0319f2803123ee4ab781
/misc/hashfiles.py
af58a723def1a6e16a757c8e9883af9b88906013
[]
no_license
pstrinkle/thesis-source
f6a2835e2464ea7294b35bbfdfec1f586196fc90
91ed3b5a4230864d20db38f4f9b22a7c0a73f1ec
refs/heads/master
2021-01-17T17:50:09.448806
2016-06-13T21:15:53
2016-06-13T21:15:53
61,070,103
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
#! /usr/bin/python __author__ = 'tri1@umbc.edu' ## # @author: Patrick Trinkle # Summer 2011 # # @summary: Stuff. # import os import sys import hashlib import misc def usage(): """Parameters.""" sys.stderr.write("usage: %s path\n" % sys.argv[0]) def main(): if len(sys.argv) != 2: usage() ...
[ "patrick@activatr.com" ]
patrick@activatr.com
b73546084cc6476dceee5b63449f2da885256011
5dc7dc7e33122e8c588eb6e13f23bf032c704d2e
/econ_platform_core/extensions/__init__.py
24d3751da8aa85d909e3378dd18c6abaa1729eb8
[ "Apache-2.0" ]
permissive
brianr747/platform
a3319e84858345e357c1fa9a3916f92122775b30
84b1bd90fc2e35a51f32156a8d414757664b4b4f
refs/heads/master
2022-01-23T16:06:26.855556
2022-01-12T18:13:22
2022-01-12T18:13:22
184,085,670
3
2
null
null
null
null
UTF-8
Python
false
false
4,506
py
""" Platform extensions. Place all modules that extend the platform (including monkey-patching the base code). This module creates an load_extensions() function that imports *all* python source (*.py) modules in this directory. Will come up more options (a user-configurable list?) later. Obviously, use at own risk!...
[ "brianr747@gmail.com" ]
brianr747@gmail.com
90e67e8f27903d86d9ceb8579ee7c679d3dfeaae
4d59015f3392952d3b969cd46289974f4ed625cc
/machines/rasppi01/current_loop_logger.py
513a8ace41ef71fc9224b526309d518a429499f5
[]
no_license
jlopezBolt/PyExpLabSys
766d6eae909c10db1783c31f9c0bb9478d22cd74
14d2a24c3031a78da0d2d686c42bc01ffe18faca
refs/heads/master
2021-01-19T23:57:52.297666
2016-04-19T08:20:02
2016-04-19T08:21:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,385
py
""" Argon pressure measuring """ from __future__ import print_function import threading import logging import time from PyExpLabSys.common.value_logger import ValueLogger from PyExpLabSys.common.database_saver import ContinuousDataSaver from PyExpLabSys.common.sockets import DateDataPullSocket from PyExpLabSys.common.s...
[ "jensen.robert@gmail.com" ]
jensen.robert@gmail.com
831d89d9010f5aa0c82cbaac8e30bf85c06391ab
364ce434984eedab1ed491ad3e12bb245eeddf8b
/Fwd Converter Tool and Script/parse.py
9217746b601771a526fa995f78a529361d9bfb3e
[]
no_license
anirudhdahiya9/sentence-type-identification
c532dffb14efcfb44444e2f737ddaa10d3673953
b4271a5b4f5c214fdcbe10582220c2cf3300c826
refs/heads/master
2021-01-19T05:03:53.533891
2016-07-05T10:47:20
2016-07-05T10:47:20
61,596,642
0
2
null
null
null
null
UTF-8
Python
false
false
2,271
py
#!/usr/bin/python import os import sys import codecs inp = sys.argv[1] out = sys.argv[2] count = 1 for line in codecs.open(inp, 'r', 'utf-8'): if line.strip() != '': codecs.open('temp.out', 'w', 'utf-8').write(line) os.system("sh $SHALLOW_PARSER_HIN/bin/sl/tokenizer/tokenizer.sh temp.out > temp1....
[ "anirudhdahiya9@gmail.com" ]
anirudhdahiya9@gmail.com
7f74138e0d9edcce5ccd2899fbd27e9087eee765
f22efea488f85d3ce88f9a5be7b8b6a0f589f747
/widgets/img/ex2_img.py
b536c2186829a2a491f5c328edc5f7ea5334d031
[ "MIT" ]
permissive
maozhifeng/lv_mpy_examples
c96cf97db58a93a65d2c3944a759694e9d7bd54d
9c5abcf562b3eb4ace65e658cb5a5ca5443347ba
refs/heads/main
2023-02-01T18:27:28.496638
2020-12-08T15:54:18
2020-12-08T15:54:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,346
py
#!/opt/bin/lv_micropython import time import lvgl as lv import init_gui from lv_colors import lv_colors from imagetools import get_png_info, open_png SLIDER_WIDTH=15 # Register PNG image decoder decoder = lv.img.decoder_create() decoder.info_cb = get_png_info decoder.open_cb = open_png with open('img_cogwheel_argb.p...
[ "uli.raich@gmail.com" ]
uli.raich@gmail.com
3b4c5a53b2b3f98002af33023a574713c44a007d
8e07f5f06452f9566640d2130a5c1bcefcebd745
/peter/completecrm/cases/forms.py
9a207afbdaa4159c453ba6a4cc06593941fbc2e9
[ "MIT" ]
permissive
bot242/djangocrm
65dbe42a814fd538d77ec9c0cc5626a7d6ce19b4
6f5e64b4f65dbb13583d68ef5f6a3feaea51befb
refs/heads/main
2023-01-23T10:29:32.338620
2020-12-02T06:43:35
2020-12-02T06:43:35
317,773,468
0
0
null
null
null
null
UTF-8
Python
false
false
4,996
py
from django import forms from cases.models import Case from common.models import Comment, Attachments from teams.models import Teams # import phonenumbers import datetime class CaseForm(forms.ModelForm): teams_queryset = [] teams = forms.MultipleChoiceField(choices=teams_queryset) def __init__(self, ...
[ "sankarmass619@gmail.com" ]
sankarmass619@gmail.com
742778cfbe8961fcfb828688a65fe536e706c2ac
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/ACL_PyTorch/contrib/cv/image_process/DnCNN/data_preprocess.py
729ade7a02e497f94c8c0476117cbb5214c790b1
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,544
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
f133d16d6fe109ffa3206420b69fd288981df2cb
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res_bw/scripts/common/lib/compiler/pyassem.py
e3100e515519b439a978b7a01d0545e12b960d99
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
21,220
py
# 2015.11.10 21:34:37 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/compiler/pyassem.py """A flow graph representation for Python bytecode""" import dis import types import sys from compiler import misc from compiler.consts import CO_OPTIMIZED, CO_NEWLOCALS, CO_VARARGS, CO_VARKEYWORDS class FlowG...
[ "info@webium.sk" ]
info@webium.sk
5b2880d4193c0aca32d56ce78f67f59b0a7be22d
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano1082.py
b8f95efbdc487c05e58b233e9de62f8739a7bc2f
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
5ecede91c8a95285d7e7ec86cac670978ed2ac09
d92aa5c7945348dcf522ededb924c4f60a49d39a
/COT/commands/add_disk.py
a90b766fe8382cccd71a950274107049ee0460bd
[ "MIT" ]
permissive
jarrod180/cot
254ba1a3c2216bbbac1b68fcce29723df9e2a14a
01b1446d8211648fb514446c5cc15569e24171d5
refs/heads/master
2020-04-12T00:17:14.659414
2018-05-07T17:26:41
2018-05-07T17:26:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,697
py
#!/usr/bin/env python # # add_disk.py - Implements "cot add-disk" command # # August 2013, Glenn F. Matthews # Copyright (c) 2013-2018 the COT project developers. # See the COPYRIGHT.txt file at the top-level directory of this distribution # and at https://github.com/glennmatthews/cot/blob/master/COPYRIGHT.txt. # # Thi...
[ "glenn@e-dad.net" ]
glenn@e-dad.net
8ea3119829e7f8014ee5ff896e439e31e5bef8d9
5a7a3447d434a458a7bb63f2aa11b64c284d5492
/Data_storage/ini/email_conf/email_RW.py
06351a2a740c5d3a12b234683e772c500589dd6e
[]
no_license
woshimayi/mypython
35792e12036a7a05f12d3ef7006637b2b03f0e2e
7f1eb38e8585bf6d2f21d3ad0f64dace61425875
refs/heads/master
2023-09-01T08:59:12.301836
2023-08-30T05:30:54
2023-08-30T05:30:54
130,017,052
4
0
null
2018-12-02T16:18:14
2018-04-18T06:50:36
HTML
UTF-8
Python
false
false
5,166
py
#!/usr/bin/env python # encoding: utf-8 ''' * @FilePath: email_RW.py * @version: (C) Copyright 2010-2049, Node Supply Chain Manager Corporation Limited. * @Author: dof * @Date: 2022/2/20 17:18 * @LastEditors: sueRimn * @LastEditTime: 2022/2/20 17:18 * @Descripttion: ''' # !/usr/bin/env python # e...
[ "woshidamayi@Gmail.com" ]
woshidamayi@Gmail.com
506663c388e8487f7280510f6f0aae4d6612f44c
97a09265d7898765a3f561c1b4a12e5b46346db8
/Python/numpy/Arrays.py
7bf0675732e562772204d7634dbfbc15ab6a4a48
[]
no_license
14E47/Hackerrank
35e7b5520fe00ae98377624b8429d42d237cbd46
c2af2fa7ee49c2a94304ee543900425f5a3b6551
refs/heads/master
2020-03-26T21:22:45.492630
2019-10-04T03:37:14
2019-10-04T03:37:14
145,384,365
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
import numpy # s = map(int,input().split()) a = numpy.array([1,2,3,4,5]) print(a[0])
[ "you@example.com" ]
you@example.com
b6d966b94063b30ff0e899960b8584eecd45215b
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/paloalto_wildfire/komand_paloalto_wildfire/actions/get_pcap/__init__.py
903787ad81d8a8ca9703d0f9d4e7e5f902d0843c
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
68
py
# GENERATED BY KOMAND SDK - DO NOT EDIT from .action import GetPcap
[ "jonschipp@gmail.com" ]
jonschipp@gmail.com
139c2b790b42e35160ff579c230c6aaf06592b0f
304926837d94f37ef33c46b8f3c71ecfac4690e8
/2.8_number_eight.py
811908108a2f301d97a7a3a5fc3092a6c35bf496
[]
no_license
ver0nika4ka/PythonCrashCourse
1015d207d9da1b0f9efaee3acc502d2757880f33
6bde3b716deb86d022da5cb478c0a95505fe5acc
refs/heads/master
2021-07-12T17:24:16.478133
2021-06-17T03:27:24
2021-06-17T03:27:24
246,993,773
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
addition = f"{5+3}" substraction = f"{9-1}" multipl = f"{2*4}" division = f"{16/2}" print(f"The result is:\n{addition}\n{substraction}\n{multipl}\n{division}") # same as above, but you can write in one line print(f"{5+3}\n{9-1}\n{2*4}\n{16/2}")
[ "veranika.aizu@gmail.com" ]
veranika.aizu@gmail.com
491d75489dc73b64d619f63effa5b9d9ade79f7f
846a7668ac964632bdb6db639ab381be11c13b77
/android/test/vts/testcases/host/camera/conventional/2_1/SampleCameraV2Test.py
a9b0087d3b858e0c6647feb0e5a3b5ddce105fa4
[]
no_license
BPI-SINOVOIP/BPI-A64-Android8
f2900965e96fd6f2a28ced68af668a858b15ebe1
744c72c133b9bf5d2e9efe0ab33e01e6e51d5743
refs/heads/master
2023-05-21T08:02:23.364495
2020-07-15T11:27:51
2020-07-15T11:27:51
143,945,191
2
0
null
null
null
null
UTF-8
Python
false
false
4,445
py
#!/usr/bin/env python # # Copyright (C) 2016 The Android Open Source Project # # 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 req...
[ "mingxin.android@gmail.com" ]
mingxin.android@gmail.com
06bd0eeeed12d227a0e832205e942acba3b8c52f
a15a7dcb2ba3880a75309dba66e718be7ca964b7
/st2tests/integration/orquesta/test_wiring_error_handling.py
8bd0218dd3110abe76d8f7235c15420dca021652
[ "Apache-2.0" ]
permissive
alexiono/st2
dfb6a9b2c6d00023771ff626883d9631e586fc06
a2bf25e085dfc9d2d407e8160a2febd48e5a4920
refs/heads/master
2020-04-02T00:48:03.440760
2018-10-18T17:13:56
2018-10-18T17:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,356
py
# Licensed to the StackStorm, Inc ('StackStorm') 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 use th...
[ "m4d.coder@gmail.com" ]
m4d.coder@gmail.com
c9e883fa698c1a3aefc67747af1fc68a37696834
891aba394df57d7894900e99e5881ad5817a84bd
/s23/23.4.1_readlines_v2.py
70870c5131582b1b2ae4b22f6171b7b1876f9546
[]
no_license
feliperojas/mision_tic_G11
42d87e698eb8c9ace896805f5fc5436a0035ec3b
cfc41e873a4138f3f4f2ad63143042eb606c0f45
refs/heads/master
2023-05-28T09:29:40.247531
2021-06-09T16:43:45
2021-06-09T16:43:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
contador = 1 with open("C:/Users/Camilo/Desktop/reportes/reporte2.txt","r") as archivo: data = archivo.readlines() print("El archivo tiene",len(data), "lineas") for linea in data: print(f"En la linea {contador} esta es la informacion: {linea}", end="") print() contador+=1
[ "camohe90@gmail.com" ]
camohe90@gmail.com
d094c0aaa88325a814350474f23b955acbc5a666
581d96e72cf7608ada7564db5fad3fde78f3644c
/test/test_serialization.py
7875dc3037e4308c3283912b3529a08f6608ba01
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
heitorschueroff/pytorch
dee92c2d2991f2ee0821c438a245dc704eb52b10
6f95850127e4659f857116c8205f03f66ab5a711
refs/heads/master
2023-08-11T11:47:06.710438
2021-08-02T17:24:37
2021-08-02T17:26:54
350,848,572
1
0
NOASSERTION
2021-03-23T20:29:19
2021-03-23T20:29:18
null
UTF-8
Python
false
false
30,719
py
import torch import unittest import io import tempfile import os import sys import zipfile import warnings import gzip import copy import pickle import shutil import pathlib from torch._utils_internal import get_file_path_2 from torch._utils import _rebuild_tensor from torch.serialization import check_module_version_g...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
f4dfc272af48dd327f4b10f236a506542361cb96
167b90bff7f1db51a066f7b8f6f543b77a077ebf
/exercise087.py
57696072a4ad8dc9594e5f6493b4d3508ae13084
[]
no_license
DanielMafra/Python-LanguageStudies
9bcbe753c14e5aa2b23b11c5e103cf00c7dfcad3
29700f832ebbddad6e74d88add70c08eeba14054
refs/heads/main
2023-07-02T09:34:31.856246
2021-07-29T21:34:39
2021-07-29T21:34:39
389,669,574
1
0
null
null
null
null
UTF-8
Python
false
false
723
py
headquarters = [[0, 0, 0], [0, 0, 0], [0, 0, 0]] spar = mai = scol = 0 for l in range(0, 3): for c in range(0, 3): headquarters[l][c] = int(input(f'Enter a value for [{l}, {c}]: ')) print('-=' * 30) for l in range(0, 3): for c in range(0, 3): print(f'[{headquarters[l][c]:^5}]', end='') ...
[ "danielmafradev@gmail.com" ]
danielmafradev@gmail.com
4c29258f54f9be2f278ea84aec911870138c9616
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_073/ch60_2019_08_19_13_12_46_356317.py
f51bbcd61001ea0ca3b849643fd9c759d8083ad8
[]
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
105
py
def asteriscos(n): barra='*'*n return barra n=int(input('digite_um_numero')) print(gera_barra(n))
[ "you@example.com" ]
you@example.com
ede2c4d557022d282d3225e376d14e79ed3466a0
cfad82fd82eeb832bce6f8d3c30aad05d000ae9b
/migrations/versions/13b676178b08_box_plot.py
d05afe3dbcf455bfc4681ad633e5ab85ccde9b6a
[ "Apache-2.0" ]
permissive
dpdi-unifor/caipirinha
73508fcc6aa519749db69d1126a65e4f27099ffd
43e4512c282cfcfa988ea38e160939b6f3c2c604
refs/heads/master
2022-12-08T04:39:19.637631
2020-07-16T22:50:30
2020-07-16T22:50:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
"""box_plot Revision ID: 13b676178b08 Revises: cfacecb61ac1 Create Date: 2019-04-16 21:55:10.723443 """ from alembic import op from sqlalchemy import String, Integer from sqlalchemy.sql import table, column, text # revision identifiers, used by Alembic. revision = '13b676178b08' down_revision = 'cfacecb61ac1' branch...
[ "waltersf@gmail.com" ]
waltersf@gmail.com
d022ac9505b8dfedb695be5bd5e43e6ab95c0ebd
22986b48baf0bb2e87055534cc47743292d123e7
/simcorpfinder/wsgi.py
264af00372a7a50265128d1d341b77f9b9dad156
[]
no_license
GoatWang/DjangoTest
9d8e97351ce61f8815cc0f8b957c77f8b7122789
2c0a057c5947ff3c20b4456b2b17e874cac3d225
refs/heads/master
2021-01-22T07:32:02.740989
2017-09-04T09:29:04
2017-09-04T09:29:04
102,306,565
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
""" WSGI config for simcorpfinder project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANG...
[ "jeremy4555@yahoo.com.tw" ]
jeremy4555@yahoo.com.tw
acbfef4791270a3e4d12702b4d80a8beb81ca83d
c868d681415d152ba331bd80e0ed542832f20f0e
/week13/onlineShop/onlineShop/main/models.py
0cf27335a5481957f4aa13325b13e507ce8ef636
[]
no_license
Yeldarmt/BFDjango
a297a6b0c00ffb1a269f05c7e6665c5d34a51097
b8256ff1d5f2125495df66eabf267fc17e667aeb
refs/heads/master
2022-11-30T12:45:17.356453
2020-04-19T16:50:26
2020-04-19T16:50:26
233,515,749
0
0
null
null
null
null
UTF-8
Python
false
false
1,584
py
from django.db import models import os from django.core.exceptions import ValidationError ALLOWED_EXTENSIONS = ['.docx', '.pdf'] def validate_extension(value): split_ext = os.path.splitext(value.name) print('split_ext', split_ext) if len(split_ext) > 1: ext = split_ext[1] if not ext.lower...
[ "eldarmukhametkazin@gmail.com" ]
eldarmukhametkazin@gmail.com
182f07a375be26f82adae3aaf222e5e132b84027
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba0835.pngMap.py
80cc596be7d4227a6457d246d70ba629efdd12ef
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba0835.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
494736c4c41ac8fb3a48320e6706ab5f44726047
28b06ed3e562eb9c2b372934ea9a04e81320bb59
/setup.py
7fb9e8c05924b417dac0eb5d9dd8f89ddc9da35d
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
biomodels/MODEL1310110026
1f2cc0849110b22ce30be8e7444eba0c29e293db
503fd2992f9c20b25c633fecb97177fd0116404b
refs/heads/master
2016-09-05T19:27:29.698048
2014-10-16T05:30:04
2014-10-16T05:30:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from setuptools import setup, find_packages setup(name='MODEL1310110026', version=20140916, description='MODEL1310110026 from BioModels', url='http://www.ebi.ac.uk/biomodels-main/MODEL1310110026', maintainer='Stanley Gu', maintainer_url='stanleygu@gmail.com', packages=find_packages(...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
e64fde0b61a1ff49dd4a9e786d2b8546b5e85b1f
67747b6ee7d4e1d24eadc5d0390f38d609501ccd
/爬虫/图片爬虫/crawlpjt/crawlpjt/spiders/smartspider.py
8343a383f946ac46bbbe47bf1f7fbbc7434ef945
[]
no_license
callmeliuchu/codeGitBook
577937013a355ba36a688792f5722d31be33fc0b
780cac294db47a46bb14129f166dd31c180e9473
refs/heads/master
2020-12-03T08:17:55.851568
2017-11-28T15:26:38
2017-11-28T15:26:38
95,679,807
1
0
null
null
null
null
UTF-8
Python
false
false
748
py
# -*- coding: utf-8 -*- import scrapy from crawlpjt.items import CrawlpjtItem from scrapy.http import Request import re class SmartspiderSpider(scrapy.Spider): name = "smartspider" allowed_domains = ["mmjpg.com"] start_urls = ['http://www.douluo123.com/shaonvmanhua/114220.html'] def parse(self, response): item ...
[ "1371772034@qq.com" ]
1371772034@qq.com
b0e4c3d769de1f3108c005c2de386ec073ad6d44
5147809b6382397185f2b1b6f43a272ea9e4f150
/reddening-colors.py
53c1d0fc71ecdf98e7c8f364825d71dbb0818e2b
[]
no_license
AngelGSoto/python-programs-1
f8df3d498756ed6332504e8601924991803c3561
5e2b607ee9dd1459143a55218f9890a61539fd6a
refs/heads/master
2023-01-08T00:24:15.664946
2020-10-23T21:07:23
2020-10-23T21:07:23
297,742,537
2
0
null
null
null
null
UTF-8
Python
false
false
3,460
py
# -*- coding: utf-8 -*- ''' Make color-color diagrams for JPLUS 2017 ''' from __future__ import print_function import numpy as np import glob import json import matplotlib.pyplot as plt import seaborn as sns import sys from scipy.stats import gaussian_kde import pandas as pd from astropy.table import Table #import Stri...
[ "gsoto.angel@gmail.com" ]
gsoto.angel@gmail.com
1a174e26cf1fe96bba7762cd1b733be0dcec6705
6e9d6a682f20054e13d3764e95b8bd3b7b64fabf
/dailychallenge525.py
d10d8a429a88bee8b70f25c94e5e6f075a337848
[]
no_license
SeanyDcode/codechallenges
30a271e04bc2b360bca923ae868be65a9533c8db
947cf3034911b381afaf777794d22d2af06aa5ba
refs/heads/master
2022-11-07T21:22:56.927863
2022-10-18T23:33:13
2022-10-18T23:33:13
154,498,776
1
0
null
2022-10-18T23:02:05
2018-10-24T12:38:45
Python
UTF-8
Python
false
false
412
py
# from dailycodingproblem.com # # Daily Challenge #525 # Given a N by M matrix of numbers, print out the matrix in a clockwise spiral. # # For example, given the following matrix: # # [[1, 2, 3, 4, 5], # [6, 7, 8, 9, 10], # [11, 12, 13, 14, 15], # [16, 17, 18, 19, 20]] # You should print out the following: #...
[ "noreply@github.com" ]
SeanyDcode.noreply@github.com
853a5e39a2163b7ab19cb4af8f77ccfbb4328637
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2371/60782/270717.py
94105bafb18dd168ee67d41dd0341234d6bebbe9
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
917
py
""" 题目描述 贾维斯在计算字母数字字符回文率方面很弱。 当钢铁侠忙于与灭霸战斗时,他需要启动音速冲动,但是贾维斯不会计算回文。 给定一个包含字母数字字符的字符串S,找出字符串是否是回文,拯救钢铁侠。 """ """ 输入描述 输入的第一行包含T,即测试用例的数量。随后是T个测试用例。测试用例的每一行都包含字符串“S”。 """ """ 输出描述 如果字符串是回文,则输出的每一行都包含“ YES”,如果字符串不是回文,则输出“ NO”。 """ times = int(input()) while times > 0: times = times - 1 string = i...
[ "1069583789@qq.com" ]
1069583789@qq.com
db0263c9651dc1ae01bf1e8ac4c68375a560f81e
e4ee9f2ca60b60ea9fa1b05c982594a2c1b10484
/day78 课上笔记以及代码/代码/luffy_permission/rbac/urls.py
1ae198f501bc00ee4561ad886e7e546e6b50df48
[]
no_license
tianshang486/Pythonlaonanhai
100df2cc437aad1ee1baf45bdfc4500b1302092b
2a5b46986f5ca684b2ae350596e293db54e1e2f4
refs/heads/master
2022-09-19T02:16:56.972160
2020-06-04T09:24:30
2020-06-04T09:24:30
269,314,860
1
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
from django.conf.urls import url from rbac import views app_name = 'rbac' urlpatterns = [ # /app01/role/list/ # rbac:role_list url(r'^role/list/$', views.role_list, name='role_list'), url(r'^role/add/$', views.role, name='role_add'), url(r'^role/edit/(\d+)/$', views.role, name='role_edit'), url(r...
[ "tianshang486@.com" ]
tianshang486@.com
ece832936045045a43c026cc845db74a25fc0911
1f4505ed66f4fd68c6d1edf18ecff58362742fad
/algorithm/Backtracking/131_Palindrome_Partitioning.py
94732d477f1b056aeaa91fc00bc9c257da15fab9
[ "MIT" ]
permissive
nishitpatel01/Data-Science-Toolbox
0d9b63a365698cc4a423abd5881cde8f6bf672be
80dc1310d103c9481feff8792426c550ddcc0a36
refs/heads/master
2020-05-19T08:26:40.319321
2019-05-04T05:58:48
2019-05-04T05:58:48
184,921,541
1
1
MIT
2019-05-04T16:53:21
2019-05-04T16:53:20
null
UTF-8
Python
false
false
3,120
py
import collections class Solution(object): # brute force def partition2(self, s): res = [] def dfs(s, path, res): if not s: res.append(path) return # warning: index ends with len(s), not len(s) - 1 # because s[:len(s)] is the ...
[ "shawlu@github.com" ]
shawlu@github.com
80eac598597ba1c160fb0155aeab022602216b45
b3c47795e8b6d95ae5521dcbbb920ab71851a92f
/Nowcoder/第八届“图灵杯”NEUQ-ACM程序设计竞赛个人赛/E.py
1ddd5930f982aa12adfaaa374f53809ba517673b
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Wizmann/ACM-ICPC
6afecd0fd09918c53a2a84c4d22c244de0065710
7c30454c49485a794dcc4d1c09daf2f755f9ecc1
refs/heads/master
2023-07-15T02:46:21.372860
2023-07-09T15:30:27
2023-07-09T15:30:27
3,009,276
51
23
null
null
null
null
UTF-8
Python
false
false
669
py
#coding=utf-8 from math import sqrt def solve(n, x): a, b = x - 1, n - x a, b = min(a, b), max(a, b) fi = (sqrt(5) + 1) / 2 k = b - a # print fi, k return a == int(k * fi) T = int(raw_input()) for case_ in xrange(T): (n, x) = map(int, raw_input().split()) if solve(n, x): # ...
[ "noreply@github.com" ]
Wizmann.noreply@github.com
57a0ac9bc20d54d341a96192fb4cc8965022b122
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/module_20200711111837.py
18d6ee88829fbaa10e977527ddf46ba38b94a3bc
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
# 모듈은 확장자가 .py이다. im
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
0ccfc081bdefc0a7fbcad29180a82dc2d1f77dc8
4f1218079f90a65befbf658679721886d71f4ee8
/python/atcoder/KH_seisen/1.2/b069.py
ce3076d036cd09429a2c1d39fc54d8e395345ed6
[]
no_license
Escaity/Library
9f57767617422a7930caf48718d18f7ebef81547
b34d8600e0a65845f1b3a16eb4b98fc7087a3160
refs/heads/master
2022-07-29T16:18:33.073738
2022-07-17T10:25:22
2022-07-17T10:25:22
238,588,249
0
0
null
2021-08-17T03:02:34
2020-02-06T02:04:08
Python
UTF-8
Python
false
false
117
py
s = list(input()) l = s.pop(0) r = s.pop() print(l, len(s), r, sep="") """ a,*b,c=input() print(a+str(len(b))+c) """
[ "sfz2306@gmail.com" ]
sfz2306@gmail.com
dade28675e6427d46d2f875da1203198c231c5ea
ed14784949d5fa2208aa99ae1e31be0b6d1f196d
/backend/fametok_19651/settings.py
6b0a917a15f6ad8150a19ad7f7b3fdf5478c88bb
[]
no_license
crowdbotics-apps/fametok-19651
d530a768e791d04394133ec8e92731c9d4f1f02e
aeecff19e0a628fed01c0d85d81c90c5dd98a99c
refs/heads/master
2022-12-03T06:33:14.174775
2020-08-19T12:41:58
2020-08-19T12:41:58
288,728,568
0
0
null
null
null
null
UTF-8
Python
false
false
5,841
py
""" Django settings for fametok_19651 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
abf86800d2a983e5d00cb8ab431150246bb1bdad
552ba370742e346dbb1cf7c7bf4b99648a17979b
/tbx/services/migrations/0006_new_servicepage_model.py
b9ca45203ff3651aafcc0a436498635c2cc4649e
[ "MIT" ]
permissive
arush15june/wagtail-torchbox
73e5cdae81b524bd1ee9c563cdc8a7b5315a809e
c4d06e096c72bd8007975dc016133024f9d27fab
refs/heads/master
2022-12-25T05:39:32.309635
2020-08-13T14:50:42
2020-08-13T14:50:42
299,591,277
0
0
MIT
2020-09-29T11:08:49
2020-09-29T11:08:48
null
UTF-8
Python
false
false
6,030
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2019-01-21 16:55 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import modelcluster.fields import wagtail.core.fields class Migration(migrations.Migration): initial = True dependencie...
[ "karl@torchbox.com" ]
karl@torchbox.com
d20c84f40a7f1f81a0a29e9c5675376a3601eb24
6c2961116fb4af485ec0f5806b6dca34c84eb27c
/python/paddle/fluid/tests/unittests/ngraph/test_mul_ngraph_op.py
412127af701045c0efbd1c0e2478eaa46ce245f9
[ "Apache-2.0" ]
permissive
NHZlX/Paddle
29e81479116e3766d50856cbd33c18f606580560
91a2627251ed8d989c45b15fea323572bc9c5544
refs/heads/develop
2020-12-30T16:33:15.983832
2020-03-18T05:52:11
2020-03-18T05:52:11
92,489,093
1
2
Apache-2.0
2019-04-15T09:20:27
2017-05-26T08:24:43
C++
UTF-8
Python
false
false
788
py
# Copyright (c) 2018 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 appli...
[ "luotao02@baidu.com" ]
luotao02@baidu.com
ee7eedfd43a41db4ba4f5048132a797a8ea062e8
2264807e07d88d0f0dea05d3973163430765794d
/wip/other/tap.py
daca3680b44ded7d42deb529c89fec50356ba486
[ "MIT" ]
permissive
deadsy/pycs
e0dc9d2d3ec2ff0f7019d0a31d94e0a1237c24b1
7e262c710255ac9742703c7ccedb0ae90ae079ec
refs/heads/master
2023-03-05T10:33:03.485327
2023-02-27T19:34:27
2023-02-27T19:34:27
38,818,707
57
11
null
2017-12-21T22:40:29
2015-07-09T12:24:47
Python
UTF-8
Python
false
false
2,818
py
#----------------------------------------------------------------------------- """ Generate TMS sequences for JTAG TAP state machine transitions Note: State names are taken from the SVF file specification. This keeps things simple when processing SVF files. """ #--------------------------------------------------------...
[ "jasonh@mistsys.com" ]
jasonh@mistsys.com
a9cd02628949811c68f380fb680e2de40035eea0
c1f9f4926cf7ac20a854e3222d18b5a0e3eeb6b3
/minos/thesis/styles.py
cba205dff8b46462376467149ce793834ec7d805
[]
no_license
ndevenish/python-minos
d794ec02ff2a7617b57e7d4ad983eef1ac5d071f
43876f473ac992e76037bfda219b56f068ab52fd
refs/heads/master
2021-03-19T06:14:19.390943
2015-04-21T20:51:59
2015-04-21T20:51:59
25,158,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
#coding: utf-8 # class Sizes(object): # A4 = (8.3-0.4, 11.7-0.4) # With 5mm margin on all sides # Standard = (5.9, 5.5) # Wide = (4.9, 3.3) # Half = import matplotlib as mpl #from minos.thesis import Sizes class Sizes(object): A4 = (8.3-0.4, 11.7-0.4) # With 5mm margin on all sides Standard = (5.9, 4.4)...
[ "ndevenish@gmail.com" ]
ndevenish@gmail.com
36d611a427b99241d39486c5737c8fb20e4e1194
2af94f8a7609d47fdcea28a2132c4f8bacb103e3
/lib/idigi_pc.py
62d44db918f767b61b1bc902aa601d06c006764b
[]
no_license
bernhara/DigiGateway4Raph
685527723f0b306f387233c78d27fe9d78717c38
f36ba29ef883d70f94b8609ff734b5dcde786c66
refs/heads/master
2020-07-05T19:56:27.027547
2019-08-19T06:10:46
2019-08-19T06:10:46
202,756,662
0
0
null
null
null
null
UTF-8
Python
false
false
2,223
py
############################################################################ # # # Copyright (c)2011, Digi International (Digi). All Rights Reserved. # # # # Permis...
[ "ORBA6563@S-ORBA65630.rd.francetelecom.fr" ]
ORBA6563@S-ORBA65630.rd.francetelecom.fr
3e21ac19dada8214c4ab79d2e9fcbdcaed32fc2e
1cf74ce90fd2bbe6d450312ae14b0cd581740281
/tests/test_evaluator.py
cfc38c0bfda7651c10db719049e0b4245dc9d56a
[ "Apache-2.0" ]
permissive
bearstech/whirlwind
aa05e4a0cdd81ef8b9260ccfb4ba2325dae49f46
2776de5c615bf5b6e1b2c30f917527321079817c
refs/heads/master
2021-06-06T17:32:41.669973
2020-10-13T09:46:24
2020-10-13T09:46:24
9,644,453
1
0
null
null
null
null
UTF-8
Python
false
false
2,042
py
import unittest from whirlwind import evaluator from whirlwind.mock import MockStaticReader, MockFinder from whirlwind.storage import Store from whirlwind.attime import parseATTime class EvaluatorTest(unittest.TestCase): def setUp(self): mock_reader = MockStaticReader() finder = MockFinder({ ...
[ "mlecarme@bearstech.com" ]
mlecarme@bearstech.com
6ea90f5be725e40ce34a353f8bb7cb2604b6367c
afa2ebb439e6592caf42c507a789833b9fbf44b2
/supervised_learning/0x02-tensorflow/7-evaluate.py
dcaf66e8a897d9e8fa382a62237c8ef55fef1152
[]
no_license
anaruzz/holbertonschool-machine_learning
64c66a0f1d489434dd0946193747ed296760e6c8
91300120d38acb6440a6dbb8c408b1193c07de88
refs/heads/master
2023-07-30T20:09:30.416167
2021-09-23T16:22:40
2021-09-23T16:22:40
279,293,274
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
#!/usr/bin/env python3 """ Script that Evaluates the output of a neural network """ import tensorflow as tf def evaluate(X, Y, save_path): """ Evaluate the output of a NN """ sess = tf.Session() saver = tf.train.import_meta_graph(save_path + '.meta') saver.restore(sess, save_path) y_pred =...
[ "laabidigh@gmail.com" ]
laabidigh@gmail.com
78776dd647b6904bb6a18538a5f55a8ee87e7683
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Runtime/InteropServices/__init___parts/UCOMIConnectionPointContainer.py
d6d4c5c738b33d1b7dac9915eb618e3272d54a34
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
1,025
py
class UCOMIConnectionPointContainer: """ Use System.Runtime.InteropServices.ComTypes.IConnectionPointContainer instead. """ def EnumConnectionPoints(self,ppEnum): """ EnumConnectionPoints(self: UCOMIConnectionPointContainer) -> UCOMIEnumConnectionPoints Creates an enumerator of all the connection points s...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
05b93131012fc6bad5c9fad35bf55749ba7a81cf
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_267/ch171_2020_06_22_16_19_21_764865.py
e62085add4dd9fd088cd16a9e2d58cfcd82a50b6
[]
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
489
py
class Carrinho: def __init__(self): self.dicio = {} def adiciona(self, nome_produto, preco): if nome_produto not in self.dicio.keys(): self.dicio[nome_produto] = preco else: self.dicio[nome_produto] += preco def total_do_produto(self, nom...
[ "you@example.com" ]
you@example.com
6d4cbc8ac1d3cde642db40343bb5cb5cafb3d8ed
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/52/usersdata/67/22506/submittedfiles/matriz1.py
b83917a56822d82448117c1894d206f2ee154a27
[]
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
1,094
py
# -*- coding: utf-8 -*- from __future__ import division import numpy as np def menorcoluna (a): for j in range (0,a.shape[1],1): for i in range (0,a.shape[0],1): if a[i,j]==1: return j def maiorcoluna (a): for j in range (0,a.shape[1],1): for i in...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b1872d572854fe276edbbdcc4e6f3e079f669d63
02467e9975b50c14b4dc8cdc6dc03748f9aa8245
/openshift/test/test_v1_route.py
d07794aa885877504dd0b80125303c2ca98063c8
[ "Apache-2.0" ]
permissive
ashcrow/python-openshift
3995e3c4b72bf52a62bc6b07dabf3d0f709444ae
74c9ade612def941938016385842631342e926de
refs/heads/master
2021-01-11T19:29:04.419005
2017-01-18T19:31:58
2017-01-18T19:31:58
79,377,387
0
0
null
2017-01-18T19:46:04
2017-01-18T19:46:04
null
UTF-8
Python
false
false
4,092
py
# coding: utf-8 """ OpenShift API (with Kubernetes) OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is...
[ "jdetiber@redhat.com" ]
jdetiber@redhat.com
b819f0927c0e24f8d7915d6afa203893a63b2360
2f7f918888f57a1a341035649e6c42b264c91313
/vendor/atmel/atmel.py
e769752270820deb68ade3716f33baed0ee2ad00
[]
no_license
arunsigood/pycs
8331417d46084b0ccb6381a85ac3490d97d8b162
4f6035a24169e4c9130f1a47ba0e68cc1bf6390b
refs/heads/master
2020-03-22T21:08:31.009632
2018-07-05T22:49:14
2018-07-05T22:49:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,525
py
#----------------------------------------------------------------------------- """ SoC file for Atmel SAM Devices Read in the SVD file for a named SoC. Run fixup functions to correct any SVD inadequecies. """ #----------------------------------------------------------------------------- import soc import cmregs imp...
[ "jasonh@mistsys.com" ]
jasonh@mistsys.com
34c7eb67850c4cf233982feffdbd2f7f4ff892db
c376179fd8572514826e574a67d0cb4002780497
/mnist_lenet5/mnist_backward_lenet5.py
70686effbde3d50738726ec93764022df4e9a308
[]
no_license
youthliuxi/tf_learn
a4ec4e03dfebe2abf550b895607b2aa76f19f2fe
617c26a72b4d8f95280723eda97d99a0e2b8bfbf
refs/heads/master
2020-03-19T09:45:16.750767
2018-06-06T10:54:56
2018-06-06T10:54:56
136,315,134
0
0
null
null
null
null
UTF-8
Python
false
false
2,445
py
#coding:utf-8 import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data import mnist_forward_lenet5 import numpy as np import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' BATCH_SIZE = 100 LEARNING_RATE_BASE = 0.005 LEARNING_RATE_DECAY = 0.99 REGULARIZER = 0.0001 STEPS = 2000 MOVING...
[ "lx_einstein@sina.com" ]
lx_einstein@sina.com
e0e6ee7e997ccdcc861d7be06c8017a1bd4981b7
b403c7fe56209472855dff451f0b6283d5471008
/Supplemental_Material/PythonProjects/10. GUI_Tkinter/GUI_BindingButtons_nb.py
5a8a1050361e8e0331cdb9c6a8943e10f1012300
[]
no_license
Sandbox4KidsTM/Python_Basics
842bde52796896e913fdb5cc349034c52092555f
68c95547ec1567958fc8069e6a4bb119e436211a
refs/heads/master
2020-03-23T01:06:29.363196
2018-08-10T04:32:58
2018-08-10T04:32:58
140,901,128
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
from tkinter import * root = Tk() def printName(): print("hello, my name is Bucky") button_1 = Button(root, text="Print my name", command=printName, bg="red", fg="white") # command binds the function printName() to the button_1 button_1.pack() root.mainloop()
[ "mitchslabrenz@gmail.com" ]
mitchslabrenz@gmail.com
356b51db1cd46f05c6cfb7019f4972928980f198
45f7a9b44ea1c45448703707da793d51151c0527
/ui_tests/answers/answers_02.py
2cb15c8bf8c7a775a15f8f87a5b2feb6fcc81548
[]
no_license
basdijkstra/python-for-testers
a40d30432c31712c6d0eadbca9de73056ff10535
50bfbabfb2b8426eed8d048b0448959c34f71b61
refs/heads/master
2023-05-24T18:48:58.557924
2023-05-23T05:44:11
2023-05-23T05:44:11
219,865,075
7
4
null
2023-05-23T05:44:13
2019-11-05T22:47:09
Python
UTF-8
Python
false
false
1,623
py
from selenium import webdriver from selenium.webdriver.support.ui import Select import pytest import time @pytest.fixture def browser(): driver = webdriver.Chrome() driver.maximize_window() yield driver driver.quit() # Exercise 2.1 # Extend this test with the following actions: # 1. Select the menu ...
[ "bas@ontestautomation.com" ]
bas@ontestautomation.com
866fb60bedda985216024081f5bbc4d86cc63df1
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/126/usersdata/179/32849/submittedfiles/ap2.py
ae550679631479cc360ae5392d5442f324129039
[]
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
486
py
# -*- coding: utf-8 -*- a=int(input('primeiro numero:')) b=int(input('segundo numero:')) c=int(input('terceiro numero:')) d=int(input('quarto numero:')) if a>b and a>c and a>d: print (a) elif b>a and b>c and b>d: print (b) elif c>a and c>b and c>d: print (c) elif d>a and d>b and d>c: print (d) if a<b an...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
93c2abc8dc6b584d0d34d9e88a0f7bc7b9846862
234c7fb0bdabdd696c8e4c6a449ac2c8e3f14ad5
/build/PureCloudPlatformClientV2/models/wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update.py
764e6f46b4764efe46b5470ce8444580ee530a9a
[ "Apache-2.0", "MIT" ]
permissive
humano7/platform-client-sdk-python
2a942c43cc2d69e8cb0c4113d998e6e0664fdedb
dd5b693b1fc90c9dcb36885d7227f11221db5980
refs/heads/master
2023-04-12T05:05:53.932393
2021-04-22T03:41:22
2021-04-22T03:41:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,118
py
# coding: utf-8 """ Copyright 2016 SmartBear Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
[ "purecloud-jenkins@ininica.com" ]
purecloud-jenkins@ininica.com
2583a229d3a812adb1e72cf5cc77957bfb57a97e
7e27d2b844e962a567e0311a6eb5ccf3fcdc7b98
/lib/exabgp/application/cli.py
3abc6a4b8deb29611f0efd9ba3fe1b415a3a3d6d
[]
no_license
slabakov/exabgp
1dbf6a98b06a2c2cdbeedf0954d0429f0dbf98fb
33f851d70715f4ba1792acc36436ef32b70c30c9
refs/heads/master
2020-12-30T19:46:09.570146
2015-06-05T15:36:19
2015-06-05T15:36:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,083
py
#!/usr/bin/env python # encoding: utf-8 """ cli.py Created by Thomas Mangin on 2014-12-22. Copyright (c) 2009-2015 Exa Networks. All rights reserved. """ import sys from exabgp.dep.cmd2 import cmd from exabgp.version import version class Completed (cmd.Cmd): # use_rawinput = False # prompt = '' # doc_header = ...
[ "thomas.mangin@exa-networks.co.uk" ]
thomas.mangin@exa-networks.co.uk
f019de6bfe87e4a0abc40de090dffd0869c0bc61
70976a4a0526f7585f810921925cf8d19e6aabfa
/project/apps/registration/tests/factories.py
75a1b1bcb049fe20c0d38982e66af5692df52680
[ "BSD-2-Clause" ]
permissive
barberscore/barberscore-api
36be50b943ed59ac2fc738069661f5b589354a36
1ed4c01ae35cad21282b573a492733837f956285
refs/heads/master
2023-09-03T21:14:57.358069
2023-07-08T20:45:03
2023-07-08T20:45:03
11,014,681
14
5
BSD-2-Clause
2023-02-08T01:18:17
2013-06-28T03:28:17
Python
UTF-8
Python
false
false
2,676
py
# Standard Library import datetime import rest_framework_jwt # Third-Party from factory import Faker # post_generation, from factory import Iterator from factory import LazyAttribute from factory import PostGenerationMethodCall from factory import RelatedFactory from factory import Sequence from factory import SubF...
[ "dbinetti@gmail.com" ]
dbinetti@gmail.com
5de7011859a215b253659cf1f2f4cd9ba586bbdc
6df0d7a677129e9b325d4fdb4bbf72d512dd08b2
/PycharmProjects/nsd_python_v02/day08/python_code_web/logs_engine/cals/cal_ip_converter.py
834453bfe8326dbd076717b52602cd8e2eef0ac2
[]
no_license
yingxingtianxia/python
01265a37136f2ad73fdd142f72d70f7c962e0241
3e1a7617a4b6552bce4a7e15a182f30e1bae221e
refs/heads/master
2021-06-14T15:48:00.939472
2019-12-13T05:57:36
2019-12-13T05:57:36
152,200,507
0
0
null
2021-06-10T20:54:26
2018-10-09T06:40:10
Python
UTF-8
Python
false
false
639
py
#!/usr/bin/python # coding=utf-8 """ 将IP地址翻译为具体地名 这里使用的是假的地名,真实情况,可以通过: 1)自己建立的地址库 2)网络上的开放地址库进行翻译 http://ip.taobao.com/service/getIpInfo.php?ip=120.25.63.167 http://ip.ws.126.net/ipquery?ip=120.25.63.167 """ import data_save as cache import sys sys.path.append("..") from defines import * def ip2Location(ip=""): ...
[ "root@room8pc205.tedu.cn" ]
root@room8pc205.tedu.cn