blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
0aec5173f63528b48692f278fc0dbae1c08e7cfe
30b97efb2f36f81aa684d16d19e0e2db17f2967d
/Prgrammers/lv2/쿼드압축 후 개수 세기.py
6380574700732c14239b3eb339d678bfe722a5f0
[]
no_license
jmseb3/bakjoon
0a784a74c6476ef51864e2ada9d2551c7c7979eb
a38db54e851372059b0e45add92e43e556835e62
refs/heads/main
2023-08-25T08:43:04.579785
2021-10-01T08:40:37
2021-10-01T08:40:37
362,287,450
2
0
null
null
null
null
UTF-8
Python
false
false
535
py
def solution(arr): def quad_tree(x,y,n): check = False ck = arr[x][y] for i in range(x,x+n): for j in range(y,y+n): if arr[i][j] != ck: check = True break if check: k=n//2 quad_tree(x...
[ "jmseb3@naver.com" ]
jmseb3@naver.com
d6248861ba5a432a3344522c5f2a9be2a7f76428
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_addressed.py
aed4f569188cfae3b06afa50cc244f7802b035d3
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from xai.brain.wordbase.verbs._address import _ADDRESS #calss header class _ADDRESSED(_ADDRESS, ): def __init__(self,): _ADDRESS.__init__(self) self.name = "ADDRESSED" self.specie = 'verbs' self.basic = "address" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
6202e1998890ed6ddfe7831301a0e92aad29b6d8
7298d1692c6948f0880e550d6100c63a64ce3ea1
/deriva-annotations/catalog1/catalog-configs/Vocab/chem_comp_type_term.py
0d217d2848e01d82437f337fefd80fd07574d74b
[]
no_license
informatics-isi-edu/protein-database
b7684b3d08dbf22c1e7c4a4b8460248c6f0d2c6d
ce4be1bf13e6b1c22f3fccbb513824782609991f
refs/heads/master
2023-08-16T10:24:10.206574
2023-07-25T23:10:42
2023-07-25T23:10:42
174,095,941
2
0
null
2023-06-16T19:44:43
2019-03-06T07:39:14
Python
UTF-8
Python
false
false
6,045
py
import argparse from deriva.core import ErmrestCatalog, AttrDict, get_credential, DerivaPathError from deriva.utils.catalog.components.deriva_model import DerivaCatalog import deriva.core.ermrest_model as em from deriva.core.ermrest_config import tag as chaise_tags from deriva.utils.catalog.manage.update_catalog import...
[ "brinda.vallat@rcsb.org" ]
brinda.vallat@rcsb.org
7db93f16828f66528bae473c68edf11b0b11e5ea
e2cd4f444b18adca671ae2ac8856594b22c6d2ae
/arc/models/reg_mod.py
94baada83c2914f232fbf7dce26c729334d68c5a
[]
no_license
anshumanairy/Sprint-Management
36c54c03b66a0d02071a337e8217144a0b0c9578
0c4e8fe87ec4099253d894b7876f0b5b914a2652
refs/heads/master
2022-12-28T02:46:25.847713
2020-10-02T10:02:13
2020-10-02T10:02:13
195,804,893
0
0
null
2020-10-02T10:02:14
2019-07-08T12:11:27
CSS
UTF-8
Python
false
false
1,459
py
from django.db import models class user_sprint_detail(models.Model): uname = models.CharField(max_length=150) name = models.CharField(max_length=20) sprint_id = models.IntegerField() roles = models.CharField(max_length=4) html = models.BooleanField(default=False) php = models.BooleanField(defa...
[ "anshuman.airy04@gmail.com" ]
anshuman.airy04@gmail.com
203096148783fea7c61cf1e7ead72f12c0d78fc3
a7a570a1e45e7a9a64e5ba92ced425b83efea372
/tests/test_centos7_shared/verify_client.d/test_consul.py
35958720f3718b4c95120869e2cdb45a2f70d0bb
[]
no_license
exphost/exphost.consul
caf3b1cef53c46178b37ac7e77a6ee2198c3514e
62496f41d9f55224aba938f61f3935aba3b12664
refs/heads/master
2023-02-04T15:06:14.777399
2021-06-20T08:42:33
2021-06-20T08:43:16
215,569,039
0
0
null
2023-01-24T23:15:25
2019-10-16T14:29:45
Shell
UTF-8
Python
false
false
150
py
def test_consul_members(host): assert host.check_output("consul members -http-addr=http://127.0.0.1:4440 list|grep 'alive.*client'|wc -l") == "2"
[ "torgiren@gmail.com" ]
torgiren@gmail.com
a228df0e36dec173a27f487b59bf1f9f09ebe607
4bfc3c184e736bb68dccbb6d5657f11c950df002
/tests/common/test_run/xlogy_grad_run.py
ae28ff0121c369251a8201432452aee38d41f3bf
[ "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
2,708
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...
[ "ckey.chengbin@huawei.com" ]
ckey.chengbin@huawei.com
c8ee088312afebbf087d3c0a0dcf9891a62eff46
4a52187b9bf77a767d6017aaa20269a9101b4e41
/Reposicion Gerardo Becerra/9 Nov/Rep3.py
336ce5d27134ff57ca28d551ecfc3d64adf3440e
[]
no_license
emilianoNM/Tecnicas3-2
b755d0ecbea43e927f8b2fa00160b7b4c5f1a849
3f9d9ba931c729a31d23520cad5ee894b469e698
refs/heads/master
2020-03-28T21:07:26.443447
2018-11-26T04:37:11
2018-11-26T04:37:11
149,130,371
1
5
null
null
null
null
UTF-8
Python
false
false
135
py
# coding: utf-8 # In[ ]: #Gerardo Becerra n = 1 h = '' while n <= 99: if n%2 == 0: h += ' %i' % n n += 1 print h
[ "noreply@github.com" ]
emilianoNM.noreply@github.com
ac3d008a24c8e47944b2d79d2bc72884fa2c5e6e
767e2c06c8973923a2514536fe4cd25a701e0e2f
/config/grid_gw_2.py
aa524d6fdd563d565f1865c48c87f04e5b5f305d
[]
no_license
stanleylio/grid
8b6aca2e682dfa6dfa6912e50a76de619b61165e
f25c969611a348fe7684db9a2cc5b13f2c8857cf
refs/heads/master
2021-01-23T21:45:54.023569
2017-11-30T23:52:14
2017-11-30T23:52:14
102,902,934
1
0
null
null
null
null
UTF-8
Python
false
false
3,473
py
nodeid = 'b206a62d-67b0-4f99-b364-dce9acb4834e' name = 'grid-gw-2' location = 'CLASSIFIED' note = 'nanopi-based, dummy data, norminal 1 sps' conf = [ { 'dbtag':'ts_gw', 'description':'Sample time (gateway)', }, { 'dbtag':'ts_pic', 'description':'Sample time (PIC, probably f...
[ "stanleylio@gmail.com" ]
stanleylio@gmail.com
d207a41133a700e3d57ddb143d995ac0e4f521df
d33fa69a6948e4f7ec95e9fe8f3ff2befbd51779
/mmdet/core/bbox/assign_sampling.py
b1b199a9cddb4a867418116d75f6a873cb997a50
[ "Apache-2.0" ]
permissive
chengdazhi/mmdetection
83848d7d26940ca982460e6a5c54f625b94f47db
08cb54216479e59b4e4fad19ea2c9b3c72fb0405
refs/heads/master
2020-04-10T13:46:51.481551
2018-12-25T13:01:27
2018-12-25T13:01:27
161,059,155
2
0
Apache-2.0
2018-12-09T16:32:58
2018-12-09T16:32:58
null
UTF-8
Python
false
false
1,215
py
import mmcv from . import assigners, samplers def build_assigner(cfg, default_args=None): if isinstance(cfg, assigners.BaseAssigner): return cfg elif isinstance(cfg, dict): return mmcv.runner.obj_from_dict( cfg, assigners, default_args=default_args) else: raise TypeErr...
[ "chenkaidev@gmail.com" ]
chenkaidev@gmail.com
2114873bc292280f71df9f6680f57c76c4e020d7
138de1dd1ee991b9ab530764dbd64ae829307318
/heap_demo.py
a1e22e37641a737a531bd68e1b2736bfc46ae146
[]
no_license
listenzcc/basic_algorithms
dcf45a79d80d77da9544f1c07d3ed75150819f8b
43896308bf6e5875e2d961be4316db5b98e874c4
refs/heads/master
2020-04-18T11:26:18.711426
2019-03-03T07:32:57
2019-03-03T07:32:57
167,499,779
0
0
null
null
null
null
UTF-8
Python
false
false
2,992
py
# code: utf-8 import numpy as np class Heap: def __init__(self): self.nums = [] self.length = 0 def len(self): return self.length def append(self, x): self.nums.append(x) self.length += 1 def stack(self, j): self.swap(j, self.len()-1) self.le...
[ "listenzcc@mail.bnu.edu.cn" ]
listenzcc@mail.bnu.edu.cn
3be202e64755f951a54ad55a2e343a5e999dd3ab
e9f2d427b3c74c68b97321768e7d03949e7de62a
/codeforces/20.02.24.A.py
06d44cd99432bcafaff8261606a09f2e530a2c4a
[]
no_license
mark-ni/competitive-programming
ab84f0af5831b76bdb7f36c3ddd6f89b4be34fee
efe74f111f71a2a1293a46f65a5eef1298046c1a
refs/heads/master
2023-03-20T00:02:32.030442
2021-03-09T01:09:59
2021-03-09T01:09:59
345,829,800
1
0
null
null
null
null
UTF-8
Python
false
false
295
py
t=int(input()) for _ in range(t): a,b=map(int,input().split()) if a == b: print(0) elif a < b: if (b - a) % 2 == 1: print(1) else: print(2) else: if (a - b) % 2 == 0: print(1) else: print(2)
[ "markni10423@gmail.com" ]
markni10423@gmail.com
32195feddbf80e325c1f31c5c3edbc5fc7a6d2bc
a4a44ad46cd1306e2da72ff89483b0102fc9787d
/SamplePython/samplePython/Networking/dari_buku_python_network_programming/Bab1_Sockets_IPv4_and_Simple ClientServer_Programming/_02_convert_IPv4_ke_format_binary.py
42613a809313e3bd42793ddd7ea62d69a27e39c9
[]
no_license
okipriyadi/NewSamplePython
640eb3754de98e6276f0aa1dcf849ecea22d26b1
e12aeb37e88ffbd16881a20a3c37cd835b7387d0
refs/heads/master
2020-05-22T01:15:17.427350
2017-02-21T04:47:08
2017-02-21T04:47:08
30,009,299
1
0
null
null
null
null
UTF-8
Python
false
false
642
py
""" When you would like to deal with low-level network functions, sometimes, the usual string notation of IP addresses are not very useful. They need to be converted to the packed 32-bit binary formats. """ import socket from binascii import hexlify for ip_addr in ['127.0.0.1', '192.168.0.1']: packed_ip_addr = so...
[ "oki.priyadi@pacificavionics.net" ]
oki.priyadi@pacificavionics.net
f88fc2c46ab9471724769c049245c7a3aa922db7
cd7d3e01e78b48eac77739157407b58cab1cc51c
/school/migrations/0001_initial.py
91a2b464f6543dbdff6efb3a3b56d65a759a2e53
[]
no_license
dimka1993kh/Dj_HW_5.1
5b0a0cfd6af8372353b0a88a37155060aaa6dc4e
a11271ea191d05478dcda37a8c71d61d91370050
refs/heads/master
2023-04-23T21:35:28.625669
2021-05-03T10:26:04
2021-05-03T10:26:04
363,892,637
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
# Generated by Django 3.1.2 on 2021-05-03 09:28 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Teacher', fields=[ ...
[ "dimka1993kh@gmail.com" ]
dimka1993kh@gmail.com
8d4d56eae6b0f88ff0450b0fc07a87fa327ce5cc
6e77f1dadd6e30d9c22dd9817354f04dd1261f7f
/cp_images.py
3f641489665a6914b8a89bea0c9cf4100935a6c2
[]
no_license
matthew-brett/mpl-build
c709634d5a0aecff0d2ad7e4b63c41cb1dce0e53
b7dd1cf0d7ea94a6c0cf689a0441c5d463776de9
refs/heads/master
2020-03-22T05:56:45.716719
2018-07-03T16:24:10
2018-07-03T16:24:10
139,601,385
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
""" Copy matplotlib test images to installed directory """ import sys from os.path import dirname, join as pjoin from shutil import copytree import matplotlib MPL_SRC_DIR = sys.argv[1] MPL_INSTALL_DIR = dirname(matplotlib.__file__) copytree(pjoin(MPL_SRC_DIR, 'lib', 'matplotlib', 'tests', 'baseline_images'), ...
[ "matthew.brett@gmail.com" ]
matthew.brett@gmail.com
89fb693f16bc4fb163e68fe1fffb48da7cb10357
a03ce6cf50d26f491aa8346044d99ea5ff25a02c
/tebblog/spiders/teb.py
04a931d61440e5350077a2d76ed1b7c81dc0ea18
[]
no_license
daniel-kanchev/tebblog
ef0f5a2c41cd664a630f045348d592fa269d8bcf
b6376ee8a842ecd27b6510974bbe6dbbd29e8710
refs/heads/main
2023-03-02T22:33:22.933433
2021-02-04T11:57:20
2021-02-04T11:57:20
335,917,578
0
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
import scrapy from scrapy.loader import ItemLoader from tebblog.items import Article from itemloaders.processors import TakeFirst class TebSpider(scrapy.Spider): name = 'teb' allowed_domains = ['blogteb.com'] # oldest article, scrape from here for all articles # start_urls = ['https://www.blogteb.com/...
[ "daniel.kanchev@adata.pro" ]
daniel.kanchev@adata.pro
ff0ecfbe8f1aa438bca09a1baf36eade6d9bc84c
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/FSAF_for_Pytorch/mmdetection/configs/cornernet/cornernet_hourglass104_mstest_10x5_210e_coco.py
e4b62db0b3027f15234152595b7bd844de90db49
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
3,997
py
# Copyright 2021 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 ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
ae9bdf90bb4b5a3b2ca548636cba97a033aec9d5
44d0ffe95850f83b0d7491fa426d1c495b9bea4c
/test/201704111512_test_25_stat_sbatch.py
267d2a28116d40f0c6c4f3f8d3dab851cbc82666
[]
no_license
lizhengbio/methylantion_ML_sumamry
e2870758ef9d124f92454e22207ad7e47494c7f7
d0505a41d41bab816618ee07af5b71a92f8fc93e
refs/heads/master
2020-05-19T11:17:18.256329
2018-03-23T01:31:37
2018-03-23T01:31:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
#!/usr/bin/python # -*- coding: utf-8 -*- # __author__ = "PengZhang" import os sbatch_job_id_all = "/mnt/ilustre/users/sanger-dev/sg-users/zhangpeng/fighting/test/20170411/test_25/all_time.txt" sbatch_name_file = "/mnt/ilustre/users/sanger-dev/sg-users/zhangpeng/fighting/test/20170411/test_25/" with open("/mnt/ilustr...
[ "zhangp@origimed.com" ]
zhangp@origimed.com
7a42644b55ae2bad33888f01d789f965d9d5b089
2bbd5079676d960cf10693df0ce4f33707a9a6b4
/monitoring-ansible/roles/ansible-kubernetes-modules/library/openshift_v1_role.py
7d3b557596b9d225957d759b2b7c7b05b0e414bc
[ "Apache-2.0" ]
permissive
amitganvir23/test-data
443740fdd30ccda590b72d0cd7a92493aa9294c8
2620ff79ffec93f98d30a1c9c640835ce7279978
refs/heads/master
2020-07-24T18:17:18.921405
2019-09-12T08:53:53
2019-09-12T08:53:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,615
py
#!/usr/bin/python # -*- coding: utf-8 -*- from ansible.module_utils.openshift_common import OpenShiftAnsibleModule, OpenShiftAnsibleException DOCUMENTATION = ''' module: openshift_v1_role short_description: OpenShift Role description: - Manage the lifecycle of a role object. Supports check mode, and attempts to to be...
[ "amit.ganvir6@gmail.com" ]
amit.ganvir6@gmail.com
1a1f8e0023ca7870a60f79f3592cf215e59a60ab
7d1d30be1995f2780cbf8999f1891e967936c090
/pttweaks/activity/models.py
5be3a6964eddfee275923e631d0913cdc771ec5a
[]
no_license
EastAgile/PT-tweaks
118274f70c198fb8885f4a42136a5a1bdefc4e51
7d5742862e42672eb77441ef7a7250d7a3a9359e
refs/heads/master
2022-12-10T20:07:04.859288
2019-08-08T05:29:41
2019-08-08T05:29:41
164,597,129
0
1
null
2022-12-08T05:49:40
2019-01-08T08:06:59
Python
UTF-8
Python
false
false
610
py
from django.db import models from django.contrib.postgres.fields import JSONField from model_utils.models import TimeStampedModel ADJUST_STORY_ACCEPTED_DATE = 'ADJUST_STORY_ACCEPTED_DATE' JOB_CHOICES = ( (ADJUST_STORY_ACCEPTED_DATE, 'adjust_accepted_date'), ) class ActivityChangeLog(TimeStampedModel): sto...
[ "open-source@eastagile.com" ]
open-source@eastagile.com
d6b02ddce533db44ba1c2a1040b43572a7885ec0
d1cea43b6cf60f54342d80a68615aeef3228882b
/koytola/core/account/utils.py
9b6a772013d344e2ab7c5e980a4a36c965eec735
[]
no_license
salesshuban/koytola-repo
33d82cbccb3264bddade80a5651a8be8eeb61942
acb64d667a2e8b3e8ddf32ec569743e6597540e1
refs/heads/main
2023-08-14T02:13:46.134653
2021-09-30T12:09:47
2021-09-30T12:09:47
412,049,302
0
0
null
null
null
null
UTF-8
Python
false
false
2,718
py
from ..core.utils import create_thumbnails from ..plugins.manager import get_plugins_manager from .models import User class AddressType: BILLING = "billing" SHIPPING = "shipping" CHOICES = [ (BILLING, "Billing"), (SHIPPING, "Shipping"), ] def store_user_address(user, address, addres...
[ "sales.shuban@gmail.com" ]
sales.shuban@gmail.com
d7781bebb8fd4517bea081320138beadedab8f35
beb4c1dd9077f11ebd7aca407b272acbc780aa3c
/natureShare/natureShare/settings.py
28cd33b3a17cf4eb51f4ad4146990ba0df8ab51c
[]
no_license
jpchato/nature-share
f89cfc1295648e9a0b03b7281d72d9179357b0be
2cb952e72ea43c45884cd4a6c4b39c32936fe612
refs/heads/master
2023-02-19T06:46:01.213253
2021-01-15T19:10:24
2021-01-15T19:10:24
317,411,534
1
0
null
2021-01-13T20:23:29
2020-12-01T03:15:01
Python
UTF-8
Python
false
false
4,727
py
""" Django settings for natureShare project. Generated by 'django-admin startproject' using Django 3.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathl...
[ "jpchato@gmail.com" ]
jpchato@gmail.com
d4d9e641d2e1cc92211d6f5c241aeb41d0082979
30f8afce1ba484183d8e1e14aae76cabb2d92354
/pbase/day30/udp_client.py
911c39814911295ef639c8738e02235f7e9d889a
[]
no_license
brooot/Python_Base_Codes
d83e8c3b8a37b86672412c812fdb0d47deb67836
a864685e160b5df4162a6f9fb910627eda702aaf
refs/heads/master
2023-04-10T20:08:39.161289
2021-03-25T12:59:23
2021-03-25T12:59:23
200,570,412
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
from socket import * from threading import * from time import sleep host = '0.0.0.0' post = 6666 BUFFERSIZE = 1024 addr = (host, post) sockfd = socket(AF_INET, SOCK_DGRAM) # def f1(fd): # while True: # data,address = fd.recvfrom(BUFFERSIZE) # print(data.decode()) def f2(): # fd.sendto('nih...
[ "1442704671@qq.com" ]
1442704671@qq.com
fc3d825a3fa87122f6c4650f97b41f8c214b98db
965ef7770b0efdf28ba1ab74e72598353060d256
/ex05_tuple.py
7fef0df77d50fe93f005b424f5d1b1c7429f28a4
[]
no_license
DikranHachikyan/CPYT210409-PLDA
87dfca698212905b33b50a0564ae904911d7ff00
7ec99a7ef6082e8b58d5a79a66a7875837520d21
refs/heads/master
2023-04-18T04:46:38.231406
2021-04-28T10:05:08
2021-04-28T10:05:08
356,246,772
0
1
null
null
null
null
UTF-8
Python
false
false
159
py
# %% tp = (12, 2, 4, 6) # %% tp[2] # %% # TypeError # tp[1] = 100 # %% a, b, c, d = tp # %% del d # %% b, c, a, _ = tp # %% 4 in tp # %% tp2 = (34,) # %%
[ "dhachikian@expert-bg.org" ]
dhachikian@expert-bg.org
f79f52d680b01a0f5979825aa57bc10c26efcf6e
1bbfeca83bac53d22b1110ca7f6c9a28bc46c22e
/ru-olymp-train-winter-2009/Problems/081225s/path/gen.py
089bd26e8ea7cd95f98439d992a0bb52c5fac2dc
[]
no_license
stden/olymp
a633c1dfb1dd8d184a123d6da89f46163d5fad93
d85a4bb0b88797ec878b64db86ad8ec8854a63cd
refs/heads/master
2016-09-06T06:30:56.466755
2013-07-13T08:48:16
2013-07-13T08:48:16
5,158,472
1
0
null
null
null
null
UTF-8
Python
false
false
3,180
py
#! /usr/bin/python TASKNAME = 'path' TESTSTR = '%02d' SMALLTESTS = 33 TOFILES = False import random, sys random.seed (hash (TASKNAME)) try: import psyco psyco.full () sys.stderr.write ('(using psyco)\n') except: sys.stderr.write ('(psyco not available)\n') MinN, MaxN = 1, 22 MinM, MaxM = 0, 1000 test = SMALLTEST...
[ "super.denis@gmail.com" ]
super.denis@gmail.com
29f84588a9f3215991a986a2e82a46d8200be473
52b5773617a1b972a905de4d692540d26ff74926
/.history/binary_20200524125845.py
dee91fb635a295b441cc9666c756637f995cfdb5
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
def solution(N): print(N) maximumCount = 0 binaryNumber = [] while( N > 0): N = int(N / 2) if N % 2 == 0 : binaryNumber.append(0) else: binaryNumber.append(1) # then reverse the number number = list(reversed(binaryNumber)) s = [str(i) for i i...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
44d028ce57728fc93d9d5fcf89834222d9f08cda
de20b8364925ee7e030c8dab1647745c0dd8e978
/107/save1_passed.py
eb1c6c0d8614b8c5f0a03a2320076d53579be401
[]
no_license
davidcolton/bitesofpy
46d9800df057aa8a1d23e2ebae251a36fbaa9c80
4e3226ea695095f763d68694c5e06800ad4891f1
refs/heads/master
2021-08-03T23:23:41.298304
2021-07-22T23:03:00
2021-07-22T23:03:00
201,806,869
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
def filter_positive_even_numbers(numbers): """Receives a list of numbers, and filters out numbers that are both positive and even (divisible by 2), try to use a list comprehension""" return [x for x in numbers if x % 2 == 0 and x > 0] filter_positive_even_numbers([-2,-1,0,1,2,3,4,5,6])
[ "davidcolton@gmail.com" ]
davidcolton@gmail.com
b840cc62bdc2e6c51e5a8f9fdab012db51e919dc
2ba65a65140e818787ab455ca374f99348ade844
/bit_manupulation/q016_n_queens.py
0581841f448a26a2ec821f9ace167984a709751f
[]
no_license
samyakjain101/DSA
9e917f817a1cf69553b5f8ca5b739bc6f0c81307
632a605150704ceb5238cb77289785eb5a58201c
refs/heads/main
2023-05-06T06:31:09.401315
2021-06-01T13:37:59
2021-06-01T13:37:59
340,645,897
1
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
"""Problem Statement https://leetcode.com/problems/sudoku-solver/ """ from typing import List class Solution: def solve(self, n, i, cols, diagonals, diagonals_reverse, board, answer) -> None: if i == n: temp = [] for row in board: temp.append("".join(row)) ...
[ "samyakjain101@gmail.com" ]
samyakjain101@gmail.com
a4a498714136fdda16e2dc4cd45ad4a27c4e8d61
947e71b34d21f3c9f5c0a197d91a880f346afa6c
/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/YARN/package/scripts/yarn.py
a9c7b3d1219321847df7e77d07227e6e3d422391
[ "MIT", "Apache-2.0", "GPL-1.0-or-later", "GPL-2.0-or-later", "OFL-1.1", "MS-PL", "AFL-2.1", "GPL-2.0-only", "Python-2.0", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
liuwenru/Apache-Ambari-ZH
4bc432d4ea7087bb353a6dd97ffda0a85cb0fef0
7879810067f1981209b658ceb675ac76e951b07b
refs/heads/master
2023-01-14T14:43:06.639598
2020-07-28T12:06:25
2020-07-28T12:06:25
223,551,095
38
44
Apache-2.0
2023-01-02T21:55:10
2019-11-23T07:43:49
Java
UTF-8
Python
false
false
5,261
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 use this ...
[ "ijarvis@sina.com" ]
ijarvis@sina.com
f2354c07805e1f7e82d331674ef07c9d59680b2d
7669f9120a603f27e5e1bc03a830d8a6f4444371
/application.py
a446e3bef7e2b935c8dc691a4f7d7da0ce105e8d
[]
no_license
cash2one/youxia
53bacdd7b31e95413438be7d92b5394d0393a9be
e865362f4fcfdd3ce4e0859e3c99f9d10765d489
refs/heads/master
2020-06-10T19:06:45.277808
2016-11-04T01:34:45
2016-11-04T01:34:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,431
py
#!/usr/bin/env python # coding=utf-8 # # Copyright 2016 youxia # cat /etc/mime.types # application/octet-stream crx import sys reload(sys) sys.setdefaultencoding("utf8") import os.path import re import memcache import torndb import tornado.httpserver import tornado.ioloop import tornado.options import tornado.web...
[ "gaolinjie@gmail.com" ]
gaolinjie@gmail.com
ba4a0e69334cad868240a15315f800e428d56c77
c3c31ce9a8822ac0352475934f5b3fbdacac62a1
/ssseg/cfgs/segformer/cfgs_ade20k_mitb0.py
6a3fb3954bd144101c34b8c24a8018cc257050eb
[ "MIT" ]
permissive
guofenggitlearning/sssegmentation
1e51b5b14bff3b5ad0d469ac98d711adb79cef11
7a405b1a4949606deae067223ebd68cceec6b225
refs/heads/main
2023-08-28T03:26:39.204259
2021-11-03T00:51:30
2021-11-03T00:51:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
'''define the config file for ade20k and mit-b0''' import os from .base_cfg import * # modify dataset config DATASET_CFG = DATASET_CFG.copy() DATASET_CFG.update({ 'type': 'ade20k', 'rootdir': os.path.join(os.getcwd(), 'ADE20k'), }) # modify dataloader config DATALOADER_CFG = DATALOADER_CFG.copy() # modify opt...
[ "1159254961@qq.com" ]
1159254961@qq.com
7fa7378161a6a61b12723c926a28f862f1f344df
d8ce86f69df7972bcd274f000f204a5a974a3bb1
/venv/Scripts/easy_install-script.py
c1a7cbe249c00ec092740f1ad7afedd8e969d1a4
[]
no_license
chinitacode/django_web_app
7c4674bb8aea6390695bc2a6921b93bdcc26733c
e4b30cbac2c201285e99580e8d6570e05c974267
refs/heads/master
2021-01-07T00:59:05.466453
2020-02-19T06:04:23
2020-02-19T06:04:23
241,532,036
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
#!D:\ELearning\DatasStructure\Projects\mysite\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-sc...
[ "ziyu_zhou_victoria@163.com" ]
ziyu_zhou_victoria@163.com
d17fbab645ba834567b2852c9aaabc8ff7551013
5d34003423b4bcf641cb31b3d58c062d2011c7b7
/code/test-27.py
0566f6b71c3d215c084601d6af772ff9bae5715d
[]
no_license
feiwl/Coding
a9f84cb867f7a84f0924b848a412dc1bedbb7d84
85973fe3d839b65f4f0b73c35ca0d0134588a76d
refs/heads/main
2023-02-17T21:54:04.441162
2021-01-07T04:25:19
2021-01-07T04:25:19
327,518,641
1
0
null
null
null
null
UTF-8
Python
false
false
5,332
py
import dolphindb as ddb import os import pandas as pd import time import numpy as np import argparse def generate_insert_args(directorys): szWindCode = list() nActionDay = list() nTime = list() nOpen = list() nHigh = list() nLow = list() nMatch = list() iVolume = list() iTurnover = ...
[ "feiwl8378@163.com" ]
feiwl8378@163.com
98c4e0f20bac396ce5f1253171e3e675bad68ffe
e35fd52fe4367320024a26f2ee357755b5d5f4bd
/geeksforgeeks/mathematical/gcd-of-array.py
4711f97c4a6c7bbc948bff0ef84fa3f919ccca76
[]
no_license
liseyko/CtCI
a451967b0a0ce108c491d30b81e88d20ad84d2cd
c27f19fac14b4acef8c631ad5569e1a5c29e9e1f
refs/heads/master
2020-03-21T14:28:47.621481
2019-11-12T22:59:07
2019-11-12T22:59:07
138,658,372
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
if __name__ == '__main__': for _ in range(int(input())): if int(input()) < 2: print(int(input())) continue nums = sorted(map(int, input().split())) while len(nums) > 1: nums = [nums[i] % nums[0] for i in range(1, len(nums)) if nums[i] ...
[ "liseyko@gmail.com" ]
liseyko@gmail.com
655876f8c51c74c491e6c8ecfecb51491fd3082d
b8c4593be5e941260748c35d43db29934b9ce5f0
/fee_calculator/settings/dev.py
3981b4e48572b2b63f59167381e754c08d6a5d97
[]
no_license
cosmic-byte/fee-calc
4d45d11ae2ed8a4d0904fe54e1b3f11a67b58708
41fe43e69038f4cd1dcabaeb5b8fc6c5d0ea814f
refs/heads/master
2022-12-12T04:09:51.872986
2020-02-20T09:56:41
2020-02-20T09:56:41
241,848,191
2
0
null
2022-12-07T09:13:06
2020-02-20T09:51:01
Python
UTF-8
Python
false
false
1,012
py
import sys from fee_calculator.settings.base import * # NOQA (ignore all errors on this line) SECRET_KEY = os.getenv( "DJANGO_SECRET_KEY", "alq7#8r33k!cv47r8pelqldnkl46v!b4-sfwvdo$x(=p%1read" ) JWT_AUTH.update({"JWT_SECRET_KEY": SECRET_KEY}) DEBUG = os.getenv("DJANGO_DEBUG", True) ALLOWED_HOSTS = os.getenv("DJAN...
[ "gregobinna@gmail.com" ]
gregobinna@gmail.com
4f9c7d9899103bbf94e184215b6ee0890206dfc8
61b546f7191a2c6c26bef09f349cdc76c5bd6b22
/resource/template/actioncode/sample.py
83ca680868f1013df92b1efa338862a7fd30962b
[ "OFL-1.1", "Apache-2.0", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
isabella232/openwhisk-vscode-extension
79c61f354206a22754167893940a47b86304aba9
32873bdbf4127e9a21eccbdb080ed8197ad616ec
refs/heads/master
2023-08-20T06:29:33.936866
2021-09-25T01:32:39
2021-09-25T01:32:39
418,880,872
0
0
Apache-2.0
2021-10-19T12:06:21
2021-10-19T10:45:50
null
UTF-8
Python
false
false
977
py
"""Python sample code. /* * 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 * (t...
[ "noreply@github.com" ]
isabella232.noreply@github.com
dcb44295524cda53f0f0e8209a8411545c6fb952
aae988b58da8078d9891b0bcceb22d02567ec24a
/order/migrations/0004_remove_order_total_price_with_code.py
4af624920c79c77070af868bb48189095c1c4ead
[]
no_license
skiboorg/docs_antiviral
450c3ed38c0e8461d391192c971d3f1966cf3e42
ce91986f33bad43779b2d370f6c5da06829ad102
refs/heads/master
2023-02-25T16:15:43.148108
2021-02-03T16:09:22
2021-02-03T16:09:22
321,614,906
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
# Generated by Django 3.1.4 on 2020-12-16 18:59 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('order', '0003_order_promo_code'), ] operations = [ migrations.RemoveField( model_name='order', name='total_price_with_code',...
[ "11@11.11" ]
11@11.11
b0d52d58ab2c7fce070d525a7e482d6f1367b0c2
d90283bff72b5a55dd4d0f90c7325355b00ce7b1
/p1804/p09/cqyx/game.py
c7f5a9f8d569a4a85b649ca6e3b1945f7666313f
[]
no_license
yuemeiss/p1804daima
f841f52e63081d53d50a199e4d148d4533605bb6
6ea08eb9971e42bf4ac535033a006d98ed98bf98
refs/heads/master
2020-03-15T23:29:59.691297
2018-08-06T02:42:49
2018-08-06T02:42:49
132,395,078
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
import random #1=苹果 2=梨 3=桃 user=int(input("请投币:")) money=1 while money < 5: a=random.randint(1,3) if a==1 : print("苹果") elif a==2 : print("梨子") else: print("桃子") if money == 3: break money += 1 """ b=random.randint(1,3) if b==1 : print("苹果") ...
[ "1083027306@qq.com" ]
1083027306@qq.com
bc544c627f1f77778105ad1e3142bf79943b51cd
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fifth/rank_3c9a_Q.py
c62dbfb4f2e5be3298327b3cd07c1e36c7f899f9
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
bb2223161ed514f0c68a6ae172de2834a7737968
350db570521d3fc43f07df645addb9d6e648c17e
/0862_Shortest_Subarray_with_Sum_at_Least_K/solution.py
8ec4c51dc096a729c23c703367af57d24a9af79d
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
239
py
''' 862. Shortest Subarray with Sum at Least K Level: Hard https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k ''' ''' Solution: ''' class Solution: def shortestSubarray(self, A: List[int], K: int) -> int:
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
7a566284f8e029b747e7ff66feaff0462c934afc
9afbb6993450d1e0c3bae68e86844bd06d4419ee
/gui/btn2.py
af01083fa4a29a0d99644799f414122dd8041859
[]
no_license
Jigar710/Python_Programs
6f331caac30878655d4cca4ad97d4214c0262088
714a6306487eb6712f32ccb51b6a2407a81873fa
refs/heads/main
2023-02-25T12:24:44.874199
2021-01-28T15:43:24
2021-01-28T15:43:24
332,869,164
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
from tkinter import * root = Tk() root.title("My window") root.minsize(200,200) root.maxsize(400,400) root.geometry("300x300") btn1 = Button(root,text="first",relief='raised',width=20) btn2 = Button(root,text="sec",relief='sunken',width=20) btn3 = Button(root,text="third",relief=FLAT,width=20) btn4 = Button(root,text...
[ "jigar.shekhat.777@gmail.com" ]
jigar.shekhat.777@gmail.com
d261c22b4cad8502af51cf0c3c63ac0b3b708edc
d12b59b33df5c467abf081d48e043dac70cc5a9c
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/auxiliaryconnection_71f4dd5bf8920fb286894abbd3dc40d2.py
386d4ad5c55d1cb2b4f4fe87168516a22bd094a8
[ "MIT" ]
permissive
ajbalogh/ixnetwork_restpy
59ce20b88c1f99f95a980ff01106bda8f4ad5a0f
60a107e84fd8c1a32e24500259738e11740069fd
refs/heads/master
2023-04-02T22:01:51.088515
2021-04-09T18:39:28
2021-04-09T18:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,045
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
388d9a26c2eb90e3dccc6de49454087c3cb305e3
6dbcbe21144dd2f5f77c05b1432afa44128abcb7
/model/pytorch/cnn.py
f59bb9e1fbe746d59a3bc4f663d9116db3321088
[ "MIT" ]
permissive
Ailln/text-classification
afe03977d2a983d88ea17ee30dffa6b6f38a074e
d7536ca7d072f9604f632c21f74eb0fa46233010
refs/heads/master
2021-07-07T16:49:54.554760
2020-07-16T02:19:05
2020-07-16T02:19:05
142,171,507
11
3
null
null
null
null
UTF-8
Python
false
false
1,698
py
import torch.nn as nn class Model(nn.Module): def __init__(self, config): super().__init__() self.seq_length = config["seq_length"] self.batch_size = config["batch_size"] self.embedding_size = config["embedding_size"] self.vocab_size = config["vocab_size"] self.num_...
[ "kinggreenhall@gmail.com" ]
kinggreenhall@gmail.com
b131655841408ce2fe89236dc2dc963907d39b8b
67a217b360c29ac52da4f09b227f89f3265f57ea
/aizynthfinder/training/preprocess_recommender.py
af6540021ab57cbc16d23a94b54d38aace972eeb
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
almohajer/aizynthfinder
ab404b9ec7bfb6b505cee7dfe509e7530986ceaa
42f83c9eb9fed3fe80dc966bb7b25ccacf1dc022
refs/heads/master
2023-08-18T08:18:38.960473
2021-09-20T10:56:21
2021-09-20T10:56:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,120
py
""" Module routines for pre-processing data for recommender training """ import argparse import pandas as pd import numpy as np from sklearn.preprocessing import LabelBinarizer from scipy import sparse from aizynthfinder.training.utils import ( Config, split_and_save_data, reactants_to_fingerprint, ) de...
[ "samuel.genheden@gmail.com" ]
samuel.genheden@gmail.com
9936d344c9018fa9d335bd8dd779d057ef293c44
99f851bc034bdedd61ff673b4ca1d294e9451d04
/iprPy/records/calculation-dynamic-relax.py
366ee15b74ee0f08f6d1e161c08e0b304ff4f5a2
[]
no_license
njisrawi/iprPy
c583ba92b2537ce449c3fb6a832a06036dc1918f
5ce6c14b1cc889069495a2f29db19d5d78e29ede
refs/heads/master
2021-01-20T09:00:24.709510
2017-01-25T20:28:54
2017-01-25T20:28:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,994
py
from DataModelDict import DataModelDict as DM import atomman as am import atomman.unitconvert as uc import numpy as np from iprPy.tools import aslist def schema(): dir = os.path.dirname(os.path.abspath(__file__)) return os.path.join(dir, 'record-calculation-dynamic-relax.xsd') def todict(record, full=True):...
[ "lucas.hale@nist.gov" ]
lucas.hale@nist.gov
847623801d00a34af1c8b164dd6dd1272ec19ada
e5b58c07ea05bcf637ae83962b120a2f53bba8ed
/staticfiles_dotd/views.py
1fa2d08274c544e91fce0ae74d9497458ed2063b
[ "BSD-3-Clause" ]
permissive
lamby/django-staticfiles-dotd
2094fb9c9c78329299cc87ee0239b61b89d9b1d2
7c0be4bbf9574cf46adad2685492673c8db7bdfa
refs/heads/master
2021-01-10T08:04:37.096623
2020-08-04T22:03:30
2020-08-04T22:03:30
50,206,004
0
0
null
null
null
null
UTF-8
Python
false
false
3,084
py
import os import stat import mimetypes import posixpath from urllib.parse import unquote from django.conf import settings from django.http import Http404, HttpResponse, FileResponse, \ HttpResponseNotModified from django.views import static from django.utils.http import http_date from django.views.static import w...
[ "chris@chris-lamb.co.uk" ]
chris@chris-lamb.co.uk
27f14f936a2c3a8bc704f552a9b6dd3a841d042e
de7cae42ec760bae3b532259b399a8c6df0394c9
/wxPython/samples/wxPIA_book/Chapter-01/spare.py
756e5c5df2723300dc0c8a11fc7e6d1a5caf421a
[]
no_license
nvaccess/wxPython
b70f91bd682b86e20434d0c69ac497dfbf875838
13cceab2a1891ab443e62078be729dc1e1e2e283
refs/heads/master
2020-05-31T00:11:36.079007
2016-07-12T09:25:04
2016-07-12T09:25:04
63,135,776
1
2
null
2016-07-18T02:43:08
2016-07-12T07:18:57
C++
UTF-8
Python
false
false
377
py
#!/usr/bin/env python """Spare.py is a starting point for simple wxPython programs.""" import wx class Frame(wx.Frame): pass class App(wx.App): def OnInit(self): self.frame = Frame(parent=None, title='Spare') self.frame.Show() self.SetTopWindow(self.frame) return True if __...
[ "robin@alldunn.com" ]
robin@alldunn.com
0a94048d1e29d38379afe7e4ef0eb3be8d5c434e
ed7757eb7c030e1c0cd7a2aacde9d7785b8ef825
/arcade/examples/text_loc_example_done.py
672b2b016631bba19da2d4ed6c8e5788a9974462
[ "MIT" ]
permissive
callmebg/arcade
3f45796e0e8b02151d7283f1b4d619ad320c64e5
50d05415001423a4f15013b95db05bea6ca1fd09
refs/heads/master
2021-05-17T10:20:25.070726
2020-03-27T19:19:58
2020-03-27T19:19:58
250,736,736
1
0
NOASSERTION
2020-03-28T07:20:06
2020-03-28T07:20:05
null
UTF-8
Python
false
false
1,979
py
""" Example showing how to draw text to the screen. If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.text_loc_example_done """ import arcade import gettext import os # Set the working directory (where we expect to find files) to the same # directory thi...
[ "paul@cravenfamily.com" ]
paul@cravenfamily.com
44d07a80dbd97e045dc5286f70381e5a80f0ee70
e2cef7fff2528a9c23bc1938bf34403061f3ef61
/extra_scripts/convert_folder_to_filelist.py
35c420712c85553bcf7427c0bc0531387ef1bcf7
[ "Apache-2.0", "MIT" ]
permissive
MetaVai/vissl
69361e75b294ce1029df3e2a216c10e45504abef
ee91c2c3b6cb9a27bb396161116bb270ec9c86c5
refs/heads/main
2023-08-22T09:56:12.729814
2021-10-15T19:14:49
2021-10-15T19:15:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,541
py
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ This script creates .npy filelist for all splits in the input path. The script assumes that the input directory has the structure of the to...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
82317b6adaf24828d66c1c1125d14c01e2b1d442
083c9e436115c778935ae430fd0ba3b2d52ce5b6
/remove_accent.py
716d5e18f3c0e0b7b62c5258749587ed1b856539
[]
no_license
thanhlt998/domain_rank
dc7e1e67b2a43b0659306a944c389be6c5f60629
b3231f195a5307dbd0b8b579071f4fc3ee9cfd7c
refs/heads/master
2022-02-12T03:17:27.705367
2019-08-07T03:55:00
2019-08-07T03:55:00
197,317,147
1
0
null
null
null
null
UTF-8
Python
false
false
2,835
py
import re import json from mysql_connection import select_domain_objects, update_meaning_word_rate PATTERNS = { '[àáảãạăắằẵặẳâầấậẫẩ]': 'a', '[đ]': 'd', '[èéẻẽẹêềếểễệ]': 'e', '[ìíỉĩị]': 'i', '[òóỏõọôồốổỗộơờớởỡợ]': 'o', '[ùúủũụưừứửữự]': 'u', '[ỳýỷỹỵ]': 'y' } def convert(text): """ ...
[ "thanhlt998@gmail.com" ]
thanhlt998@gmail.com
cb60a1fdcb896f7a5ff466ca6ce46afcdddeea1d
010c5fbc97731286be00028ff33fc981d943bca3
/primal/src/code/impute/impute/color/__init__.py
b72b71be9d5187b266acc8c7390bcd64a34b998f
[]
no_license
orenlivne/ober
6ce41e0f75d3a8baebc53e28d7f6ae4aeb645f30
810b16b2611f32c191182042240851152784edea
refs/heads/master
2021-01-23T13:48:49.172653
2014-04-03T13:57:44
2014-04-03T13:57:44
6,902,212
7
1
null
null
null
null
UTF-8
Python
false
false
303
py
''' ============================================================ IBD segment sharing identification algorithms package. Created on September 14, 2012 @author: Oren Livne <livne@uchicago.edu> ============================================================ ''' import hap_color_grouping, hap_color
[ "oren.livne@gmail.com" ]
oren.livne@gmail.com
5c3ed6940df396b67864cf5506eaa97685d84bce
0bab87d3d3bc6f790f6d924330acf7ae1c6ebc30
/kunyi/data_structure_ii/merge-k-sorted-arrays.py
742863010caf9769bbc52107fecb7f74aef29b62
[]
no_license
KunyiLiu/algorithm_problems
2032b9488cd2f20b23b47c456107475f609b178f
b27a1d4d65429101ef027f5e1e91ba2afd13bd32
refs/heads/master
2020-04-26T15:29:43.875656
2019-10-21T19:09:01
2019-10-21T19:09:01
173,648,702
0
0
null
2019-07-21T19:15:23
2019-03-04T00:48:02
Python
UTF-8
Python
false
false
3,089
py
############## heapq ######################## import heapq class Solution: """ @param arrays: k sorted integer arrays @return: a sorted array """ def mergekSortedArrays(self, arrays): # heapq records val, ind # maximumly put k elements to heap # O(N log k) hea...
[ "noreply@github.com" ]
KunyiLiu.noreply@github.com
ecfc55b5a861d8b9acd6c89aa1e0de4b29379336
454cb7ce13e0e359b978bc34830f83fdb7426630
/python/e345.py
ad88c12b94a811f8b5e6e44803878bf4823692c7
[]
no_license
scorpio-su/zerojudge
d662925b1769e8f2b7cba1db291642b44365e3e8
4897d1626147d432d21577c330d489c6dd576cd6
refs/heads/master
2022-12-06T00:59:20.648107
2020-08-20T13:16:56
2020-08-20T13:16:56
279,103,359
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
# -*- coding: utf-8 -*- """ Created on Sat Jan 4 00:29:15 2020 @author: Username """ import sys for t in [input()]: if t == 'EOF': break t=t.replace('\n','') while int(t)//10: num=0 for i in range(len(t)): num+=int(t[i]) t=str(num) print(t)
[ "aa891119@gmail.com" ]
aa891119@gmail.com
93da18573f34f043ba1bec8eabbd0fc8505ac684
1caf4418f3549567637f5e9893a445f52a38c6a0
/CmsAdmin/user_content/migrations/0017_auto_20201205_0617.py
ef2475c91152297c4bb512b44919be1c9b17ba1d
[]
no_license
Final-Game/social_network_backend
c601563e08c0fd7de72a614944f354ef8d2d31d8
8111787d1d20eb87733ae360d8baa745a65e2743
refs/heads/master
2023-03-04T21:12:43.147084
2021-02-23T03:45:22
2021-02-23T03:45:22
290,542,389
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
# Generated by Django 2.2.16 on 2020-12-05 06:17 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('user_content', '0016_auto_20201205_0549'), ] operations = [ migrations.AlterField( model_name=...
[ "kakavip.198.kaka@gmail.com" ]
kakavip.198.kaka@gmail.com
96d8a34b3cd25c0e6dc1ea2fbdab9a93836032c6
7bdc3d746cc9d6bff78b8a77d06253b7c489c00a
/env/lib/python3.6/site-packages/allauth/socialaccount/providers/stripe/provider.py
f0543fc16cf8adfd4cdc236059c43ffdfd1f3fde
[ "MIT" ]
permissive
Ao99/e-commerce-django
fadc0de705f67b16e8dd82f6cc962fd9efd548d9
6fe69a03047619b199c236532f53f7c2cb22a079
refs/heads/master
2022-12-14T01:56:19.266754
2021-09-09T18:18:47
2021-09-09T18:18:47
229,646,356
2
2
MIT
2022-12-08T03:22:13
2019-12-22T23:52:46
JavaScript
UTF-8
Python
false
false
738
py
from allauth.socialaccount.providers.base import ProviderAccount from allauth.socialaccount.providers.oauth2.provider import OAuth2Provider class StripeAccount(ProviderAccount): def to_str(self): default = super(StripeAccount, self).to_str() return self.account.extra_data.get('business_name', defa...
[ "aodong99@gmail.com" ]
aodong99@gmail.com
f777362a174a2f87bad3092ee523e69c4051168d
00b762e37ecef30ed04698033f719f04be9c5545
/scripts/test_results/scikit-learn_test_results/conflicts/43_species_distributions_expected.py
7f460789cc8fa9a9d9031f7e290c1130c7926513
[]
no_license
kenji-nicholson/smerge
4f9af17e2e516333b041727b77b8330e3255b7c2
3da9ebfdee02f9b4c882af1f26fe2e15d037271b
refs/heads/master
2020-07-22T02:32:03.579003
2018-06-08T00:40:53
2018-06-08T00:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,746
py
""" ============================= Species distribution dataset ============================= This dataset represents the geographic distribution of species. The dataset is provided by Phillips et. al. (2006). The two species are: - `"Bradypus variegatus" <http://www.iucnredlist.org/apps/redlist/details/3038/0>`_...
[ "srhee4@cs.washington.edu" ]
srhee4@cs.washington.edu
7fbcb9f778738f2956f6c8a8f2cbbb42806ce55d
7116c9850b40ea1ea27dc3d4a63ed718287be177
/assignments/mp7/utils/gen_pbs.py
c8c4ecc8a3623ddc2bb986505ab0f7b92f1a8d96
[]
no_license
share020/dl
f29829b51f9b0d223427b390805c49319945287b
73c10db832c4100da7454d3122c29bd22dd0e690
refs/heads/master
2020-04-17T06:22:06.998056
2018-11-30T03:05:48
2018-11-30T03:05:48
166,322,141
2
0
null
2019-01-18T01:19:43
2019-01-18T01:19:43
null
UTF-8
Python
false
false
771
py
"""This script creates a PBS file that runs one hyperameter setting.""" training_file = "preprocess_data.py" walltime = "02:00:00" jobname = "mp7-preprocess_data" netid = "zna2" directory = "~/scratch/mp7/" print "#!/bin/bash" print "#PBS -l nodes=1:ppn=16:xk" # Change this if your hyperparameters change print "#PB...
[ "32248549+Zhenye-Na@users.noreply.github.com" ]
32248549+Zhenye-Na@users.noreply.github.com
357fb5157bc85b2125aac9f00224da9f856e83c5
9a2a1df678c2a3bcfc7e2013798c7a633e3b4b96
/config/wsgi.py
7875815ac5e4c3ba85241bd1e2f3430bc60f836f
[ "MIT" ]
permissive
reckonsys/opensteer
05bf2cc34d52cecba09aabb70a20b4b93737cae3
3c47bcf0a8de8e363ce8cced02827fe21a0d406a
refs/heads/master
2022-12-09T11:33:59.270495
2020-07-29T03:05:09
2020-07-29T03:05:09
207,564,379
6
1
MIT
2022-12-08T06:39:46
2019-09-10T13:17:19
Python
UTF-8
Python
false
false
1,679
py
""" WSGI config for OpenSteer project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`...
[ "dhilipsiva@pm.me" ]
dhilipsiva@pm.me
5eb1d94205a5fa81a7e40a3960f87a2f47c7fd9e
87f676da996db82348282d7bdd49d05fe5372356
/test/unit/anchore_engine/subsys/auth/test_oauth.py
5ad570b28d0235723239a0d20d800e2e167e51e1
[ "Apache-2.0" ]
permissive
shrikant-rajappan/anchore
abad5baca5258c665d5f3fdc471ab75b86b71163
e9838894f666161e84ecce408922e48ca045eaf6
refs/heads/master
2023-01-06T04:47:14.516052
2019-08-26T20:35:39
2019-08-26T20:35:39
204,663,580
0
1
Apache-2.0
2022-12-21T15:42:54
2019-08-27T09:05:05
Python
UTF-8
Python
false
false
3,035
py
import pytest from anchore_engine.subsys import logger from anchore_engine.auth.oauth import load_keys, TokenVerifier, TokenIssuer, JwtTokenManager from anchore_engine.utils import ensure_bytes, ensure_str logger.enable_test_logging() def test_load_keys(): config1 = { 'public_key_path': 'test/data/certs/...
[ "zach@anchore.com" ]
zach@anchore.com
d6c2176cb6e43281e26785d32338fce868c0c6ab
fd8601dadcb9b0c3adf5fed7560e5078c7585f4c
/packages/i3blocks/settings.py
6283fe5e75cbb643d85b6353124326c00c0d6368
[ "MIT" ]
permissive
kalkins/system
2364c1da1b6b5025f58312f33698f4e3d592aa20
e1f7b4413d199d94758edfa516a1b7a6dbeb5da7
refs/heads/master
2023-05-13T10:54:33.018246
2023-05-08T09:42:54
2023-05-08T09:42:54
60,207,254
0
0
null
2019-02-20T15:21:30
2016-06-01T20:07:10
Vim script
UTF-8
Python
false
false
190
py
common_deps = {'i3blocks', 'upower'} dependencies = { 'arch': common_deps.union(['sysstat', 'acpi', 'alsa-utils']), 'fedora': common_deps, 'ubuntu': common_deps, } make = True
[ "sindre@sindrestephansen.com" ]
sindre@sindrestephansen.com
f8c56c0d5ee2bb61d9dc9ae9ebe8475f02f0a080
eec4e9956b360998e34e9a6efd23744b3b0cdf9c
/my_plugins/youcompleteme/python/ycm/client/completer_available_request.py
7822876fce4cd1e9e6a1c4218c9c35cd61b5b690
[ "GPL-1.0-or-later", "GPL-3.0-only", "MIT" ]
permissive
dragon7-fc/vimrc
7f89f8730090e81c8cb78cdc471437e35defd0c1
d5968c222023bfdbd68b4f047f6e407e978cc82f
refs/heads/master
2021-06-22T03:35:34.474482
2021-01-29T00:34:20
2021-01-29T00:34:20
182,471,836
0
0
MIT
2019-04-21T01:37:18
2019-04-21T01:37:17
null
UTF-8
Python
false
false
1,464
py
# Copyright (C) 2013 Google Inc. # # This file is part of YouCompleteMe. # # YouCompleteMe 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 License, or # (at your option) any later vers...
[ "dragon7.fc@gmail.com" ]
dragon7.fc@gmail.com
0bd8f3e0cc30331cfef979af97a85cb9c631a08d
6a7d8b67aad59c51dafdfb8bcffd53864a3d65b0
/LeetCode/constructTheRectangle.py
6c498886d70239a3dd7e574285d04a3561937003
[]
no_license
dicao425/algorithmExercise
8bba36c1a08a232678e5085d24bac1dbee7e5364
36cb33af758b1d01da35982481a8bbfbee5c2810
refs/heads/master
2021-10-07T08:56:18.030583
2018-12-04T05:59:17
2018-12-04T05:59:17
103,611,760
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
#!/usr/bin/python import sys class Solution(object): def constructRectangle(self, area): """ :type area: int :rtype: List[int] """ w = int(math.sqrt(area)) while area%w != 0: w -= 1 return [area/w, w] def main(): aa = Solution() print aa....
[ "di.cao425@gmail.com" ]
di.cao425@gmail.com
b337a0d62945a83a78314058879409d2876b147b
437f553955193ea28288dae0a7788313bf25d1cd
/users/migrations/0037_delete_profile.py
f1e26f9f31079308553f3c714c2f2d4a74358182
[]
no_license
sakows/backend
4a5807e334d6ff821b7c3f49eac9bd815f0c0ef0
0361ac2e3281372cfd2253d251d511e0a421e7da
refs/heads/master
2020-08-05T22:22:26.347366
2019-10-03T03:44:41
2019-10-03T03:44:41
212,733,181
0
0
null
2019-10-04T04:05:51
2019-10-04T04:05:51
null
UTF-8
Python
false
false
291
py
# Generated by Django 2.2 on 2019-09-16 20:21 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0036_auto_20190916_1253'), ] operations = [ migrations.DeleteModel( name='Profile', ), ]
[ "sdemirci55@gmail.com" ]
sdemirci55@gmail.com
aa823d982f38e2e85c3ad381081fcae1c9d767e3
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/g_tools/ops/curve_ops_backup.py
63b8e93ffe401e1ded01ab3ae7ed122ef7c811a8
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,758
py
#importdefs import bpy from g_tools.bpy_itfc_funcs import curve_fs from bpy_extras.io_utils import ImportHelper from bpy.props import StringProperty, BoolProperty, EnumProperty, CollectionProperty from bpy.types import Operator #fdef #opdef class curve_to_armature_op(bpy.types.Operator): """NODESC""" bl_idn...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
78d6dcfbee60a59f0a997910149936a99d09770b
70ab3ee89cafa7f4882a6944e6ec335210875d30
/run_Single_thread_scene_lemi.py
9b2bc66a1da39e7bff8e93ffd61e43a8ce9db3bb
[]
no_license
SXL5519/caipiao1.0_1
3fa1fecd00576c36f37e6af21f0fe9b326289a6a
2db4387c5bad536cce99417041fbd34a699aa2cc
refs/heads/master
2021-10-10T07:39:45.127902
2019-01-08T09:32:47
2019-01-08T09:32:59
164,613,453
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
import unittest,time from HTMLTestRunner_jpg import HTMLTestRunner from modle.function import send_mail,screen_shot,logfile case_dir = "./test_case/Lemi" pattern="*single_thread_*.py" discover = unittest.defaultTestLoader.discover(case_dir,pattern) logfile() if __name__ =='__main__': #日期格式化 times = time.strf...
[ "shaoxinlin5519@163.com" ]
shaoxinlin5519@163.com
e73312ed24bfd1cf634db3e83af0c3b8afdd542e
f35bb12066639698a94847cba4b4628aede1da70
/contests/python/abc205/c/main.py
e964fa4fb2ef25f67a7c74510a76156481e6880f
[]
no_license
fly1tkg/atcoder-python-note
7e74382a8867b07bb7a926988ac854a3b84e020b
6051b771c0a0399ce8caf1e24256a9909101b0e7
refs/heads/main
2023-08-26T23:52:14.766576
2021-10-30T11:58:38
2021-10-30T11:58:38
363,686,005
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
A, B, C = map(int, input().split()) if C == 0: print('=') exit() plus = C > 0 if C % 2 == 0: abs_a = abs(A) abs_b = abs(B) if abs_a > abs_b: print('>') if plus else print('<') elif abs_a < abs_b: print('<') if plus else print('>') else: print('=') else: if A > B: print('>') if plus e...
[ "fly1tkg@gmail.com" ]
fly1tkg@gmail.com
c95eb81f2418d5e9566fd4d3c5db3eb62e749593
813b90d336f7681dabe9eb242f9c7f916cbc52b6
/ytmdl/core.py
64995e7be8a3576668b28cb6c284f84e0147eb5d
[ "MIT" ]
permissive
4mitabh/ytmdl
4ab452949190c0515f9dd372ef3aecd7afb4783d
d9763dcae6e7c5b6d997b0a1c87c8cc5cdf1e3fe
refs/heads/master
2023-01-28T05:54:43.560706
2020-11-30T12:42:18
2020-11-30T12:42:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,053
py
"""Contain all the core functions for ytmdl""" from typing import Union from simber import Logger from colorama import Fore, Style from ytmdl import ( yt, song, stringutils, defaults, utility, manual, metadata ) from ytmdl.exceptions import ( DownloadError, ConvertError, NoMetaError, M...
[ "deep.barman30@gmail.com" ]
deep.barman30@gmail.com
79a94744eb308cb025877a8f016c81aeaeedbc48
3c9e26f68ce816c93a654232bdfa14ead0ffa836
/Protool/errors.py
6844661aad07febaf4f75a982561fad88f0c9149
[]
no_license
tommycarstensen/sandbox
ea96fbcad927f0cad8fe14c1358cc31349257c66
9bef770251bf7bd2f22703fc01188bc78a71b69a
refs/heads/master
2021-06-09T05:57:29.694528
2017-08-17T17:09:48
2017-08-17T17:09:48
6,844,854
0
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
# # $Id: errors.py 3233 2008-02-06 15:25:33Z nielsen $ # # This file is part of the Protool package # # (c) Jens Erik Nielsen, http://www.cmbi.kun.nl/gv/nielsen ## # This file contains error messages and a few flags that control # the overall behaviour of Protool # # # Invalid atoms - f.ex. side chain atoms for a ph...
[ "tommy.carstensen@gmail.com" ]
tommy.carstensen@gmail.com
c2ad929006311ad2a220c0cfffedd592a5d567df
6abb92d99ff4218866eafab64390653addbf0d64
/AtCoder/abs/practice/9.py
2ea0207f818b51d0ddfd8d8414f603be5eecdcba
[]
no_license
Johannyjm/c-pro
38a7b81aff872b2246e5c63d6e49ef3dfb0789ae
770f2ac419b31bb0d47c4ee93c717c0c98c1d97d
refs/heads/main
2023-08-18T01:02:23.761499
2023-08-07T15:13:58
2023-08-07T15:13:58
217,938,272
0
0
null
2023-06-25T15:11:37
2019-10-28T00:51:09
C++
UTF-8
Python
false
false
335
py
def main(): n, y = map(int, input().split()) for i in range(n+1): for j in range(n+1): k = n - i - j if k < 0: continue if 10000 * i + 5000 * j + 1000 * k == y: print(i, j, k) exit() print(-1, -1, -1) if __name__ == '__main...
[ "meetpastarts@gmail.com" ]
meetpastarts@gmail.com
4664b782f30318db3a1cc5bf8e2bc1700d22c1a4
622183f2069a84508e87d0ceebfd203d0ec9332a
/exercises/Decorators.py
48fd9a83dd0d43e7ec581f12310c6ab06cea6ba5
[]
no_license
kasrasadeghi/cs373
f4ff92fa8c472242fe9df10f6d5a022cba6fcdd9
7036f22db3e2830bf79395a3aef3c7bed4e58887
refs/heads/master
2021-01-01T18:23:57.473050
2017-07-25T15:58:55
2017-07-25T15:58:55
98,325,040
0
0
null
2017-07-25T15:59:32
2017-07-25T15:59:32
null
UTF-8
Python
false
false
446
py
#!/usr/bin/env python3 # pylint: disable = bad-whitespace # pylint: disable = invalid-name # pylint: disable = missing-docstring # pylint: disable = too-few-public-methods # ------------- # Decorators.py # ---- --------- def make_iterable (c) : class iterable : def __init__ (self, *t, **d) : ...
[ "downing@cs.utexas.edu" ]
downing@cs.utexas.edu
d0981efe09e97c36c2d3fe621091cd402d3d6ec8
49cd5b923560b3258bdc4bddf183a89d847bd3ff
/tools/config_validation/validate_fragment.py
d272f37fb006ca99df7576d37503b503f55a4ca3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
envoyproxy/envoy-wasm
4b12c109387594122915dcc8de36bf5958eba95b
ab5d9381fdf92a1efa0b87cff80036b5b3e81198
refs/heads/master
2023-08-01T12:38:34.269641
2020-10-09T18:27:33
2020-10-09T18:27:33
185,880,979
223
96
Apache-2.0
2020-12-15T18:56:39
2019-05-09T22:37:07
C++
UTF-8
Python
false
false
2,414
py
# Validate a YAML fragment against an Envoy API proto3 type. # # Example usage: # # bazel run //tools/config_validation:validate_fragment -- \ # envoy.config.bootstrap.v3.Bootstrap $PWD/configs/google_com_proxy.v2.yaml import json import pathlib import sys import yaml from google.protobuf import descriptor_pb2 fro...
[ "noreply@github.com" ]
envoyproxy.noreply@github.com
e371b97715d986b6e58e493ae4e685afba617754
31738f25e365067d0c2477dc99de3112517e9469
/setup.py
f4abad02aba073f0452a675177d7be6c29bdcd6b
[]
no_license
rfloriano/django-workdays
57c5a8eda1bfc9214a9e53d70b60c0e922e25776
33b0e294b654d9c419463f0fc162e1a36df04be9
refs/heads/master
2021-01-22T04:40:57.430365
2015-07-30T18:18:52
2015-07-30T18:18:52
32,201,286
0
0
null
null
null
null
UTF-8
Python
false
false
1,185
py
#!/usr/bin/python # -*- coding: utf-8 -*- # This file is part of backstage-store. # https://github.com/globoi/backstage-store from setuptools import setup, find_packages tests_require = [ 'ipdb', ] setup( name='django-workdays', version='0.0.1', description='workdays is a django-app for manage workd...
[ "rflorianobr@gmail.com" ]
rflorianobr@gmail.com
1e8f150da5ac9d636ff2ff9e98a2d9b2931f3ba8
5992bd392839340bfbaf3357cef5dbe8d09c4018
/0x02-python_async_comprehension/0-async_generator.py
ac52cf6cb6e9140ddc793b31f6a3bade4dbed32d
[]
no_license
kimha1030/holbertonschool-web_back_end
7baa9c8e00edaebe321a4d0b3b881067cef7e334
b0d5da9dde09c2627435d2d57cbcbcaa5403cef8
refs/heads/main
2023-08-27T12:49:39.439678
2021-10-12T23:40:57
2021-10-12T23:40:57
347,981,093
0
2
null
null
null
null
UTF-8
Python
false
false
485
py
#!/usr/bin/env python3 """async_generator""" import random import typing import asyncio async def async_generator() -> typing.Generator[float, None, None]: """[The coroutine will loop 10 times, each time asynchronously wait 1 second, then yield a random number between 0 and 10. ] Args: no args Re...
[ "1478@holbertonschool.com" ]
1478@holbertonschool.com
03ad5abf078df2a679175cff9a76178aad85e08e
8f5b54c49c1da2fd4cf6c9141c35924ccc255a16
/category/migrations/0001_initial.py
40fdbe9f6c0f7e1fe938b8086cec0795d019310c
[]
no_license
surajnai567/jshop
ee2ea14fe99fe3a36cd73263ce2b7dd190047bc6
e11c7174e9abe095f8a6d221978c7d41e2b34e96
refs/heads/master
2022-12-15T10:34:16.840769
2020-09-19T21:53:01
2020-09-19T21:53:01
295,671,670
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
# Generated by Django 3.1.1 on 2020-09-19 20:36 import cloudinary.models from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ...
[ "surajnai567@gmail.com" ]
surajnai567@gmail.com
a1096ba930c6c1e7098b7925c344e93a6eb2347b
07b4dd9a88f3404c4851ea7cbb57c67035bc9a54
/reg.py
dc269f8f4adefd95a62cf4ddbed598131a5d5c5c
[]
no_license
surajgholap/python-Misc
9c9d02c42bb37b7378d7336343f8bef7cd802edf
4a8ce4bfa5a959692d98663b7b5c0b67a165835f
refs/heads/master
2021-06-17T19:19:25.021038
2021-01-27T20:54:03
2021-01-27T20:54:03
142,781,295
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
import re def main(): inp = input("Enter the input") reg = re.compile('\d+.\d+.\d+.*\d*') a = reg.search(inp) print(a) if __name__ == "__main__": main()
[ "surajgholap27@gmail.com" ]
surajgholap27@gmail.com
5fd04f140f476608fcff1f2e420d78b077991248
ad1043674d5c4a0045f8f982cd2bdc95b467a3b4
/app/__init__.py
558a468f80df9598a5edf1b3143804c14c6679c9
[]
no_license
microrepar/les12019-sgfbh
ab85370942e5e153a44f32914c43603b451c41df
5d695e7141e8380b2201c78a263312be15fc2474
refs/heads/master
2020-05-28T02:37:25.760103
2019-05-27T14:18:41
2019-05-27T14:18:41
188,856,721
3
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
from flask import Flask from config import Config from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from flask_login import LoginManager # codigo de teste do Blueprint ######################################## db = SQLAlchemy(session_options={"autoflush": False}) migrate = Migrate() login = Lo...
[ "microrepar@gmail.com" ]
microrepar@gmail.com
2717320cba675030d015ef835440b7c564322e59
67e1083b9d2a44395710027641909c61607262bc
/azure-mgmt-media/azure/mgmt/media/models/image_py3.py
974dd6c2d213119548aea42c058529fb4b4ff6ae
[ "MIT" ]
permissive
JonathanGailliez/azure-sdk-for-python
56a0efb56bd01c9b970705b32fdd9956491840a9
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
refs/heads/master
2020-04-27T13:12:15.311711
2019-03-07T15:13:41
2019-03-07T15:13:41
174,361,054
0
0
MIT
2019-03-07T14:32:20
2019-03-07T14:32:19
null
UTF-8
Python
false
false
3,689
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
6a006eef04f3fcb2a7a7c9fe83bf75253e51710d
23255bee10b758d10e403b5a05fa6b16f95d9760
/experiments/cem_exp/benchmarks/comp_ag_vid_mpc_b200_iter5/mod_hyper.py
b0967b58777374ddc20ac441502eeb314f9855c7
[]
no_license
yilundu/visual_mpc
454e5c1cc80a7f3c6a272a65bca8057176c280ab
357ba4df88dc5ab07ddb67a6cab260fc24a43a01
refs/heads/master
2022-01-12T02:00:23.606406
2017-09-22T22:23:41
2017-09-22T22:23:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
current_dir = '/'.join(str.split(__file__, '/')[:-1]) from python_visual_mpc.visual_mpc_core.algorithm.cem_controller import CEM_controller policy = { 'type' : CEM_controller, 'low_level_ctrl': None, 'usenet':'', 'nactions': 5, 'repeat': 3, 'initial_std': 7, 'iterations' : 5, 'netcon...
[ "frederik.ebert@mytum.de" ]
frederik.ebert@mytum.de
c9648af216493191e2554de3f67d026a357bcf50
f8b3425615edd3e8605c98b5ef33fa9c3f5e409d
/robotics/ekf_slam_and_pf_localization/code/pf/RunPF.py
d1b3ea3eb7dcf886c954fe463e25b9b58d3c610a
[ "MIT" ]
permissive
mtn/ml-toybox
6ac3259e3e20f3dc29e04ec38a573b63fc7b14d6
2cd2c447c15baa41e9626fa453c2fdc872e73cd6
refs/heads/master
2022-07-27T00:09:24.653166
2019-09-22T00:45:51
2019-09-22T00:45:51
96,947,263
0
0
MIT
2022-06-21T21:44:23
2017-07-12T00:06:21
Python
UTF-8
Python
false
false
1,377
py
import sys import os import numpy as np import pickle import matplotlib.pyplot as plt from PF import PF from Laser import Laser from Gridmap import Gridmap if __name__ == "__main__": # This function should be called with two arguments: # sys.argv[1]: Pickle file defining problem setup # sys.argv[2]...
[ "michaeltnoronha@gmail.com" ]
michaeltnoronha@gmail.com
e12442401615adf079ba7aef1b043c1a51856ce4
12f18662719d04d2404396b9059b60525528f557
/findsportsordermanagement-master/stockupdatefiles/CLIPPER_INTERNATIONAL_STOCKUPDATE.py
b33cf064ae43e3ca24965014e2a569982e79dc1b
[]
no_license
ujjalgoswami/ordermanagementcustomdashboard
0bf4a5770d1913b257a43858d778e630e671a342
acd18510b0934601d30bd717ea4b3fbb61ecfb5c
refs/heads/master
2021-02-04T10:04:27.380674
2020-02-28T01:37:35
2020-02-28T01:37:35
243,653,613
0
0
null
null
null
null
UTF-8
Python
false
false
7,341
py
#!/usr/bin/env python # coding: utf-8 # In[6]: import CONFIG_STOCKUPDATE as config_stockudpate import pandas as pd import datetime import glob import csv import json import requests import boto3 import time import datetime from selenium import webdriver import re import json from selenium.webdriver.common.keys import...
[ "ujjalgoswami92@gmail.com" ]
ujjalgoswami92@gmail.com
f20b3abc3dbbe14743db601ca2957d582ed015d3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_luck.py
9745937b7fd42225bb1260a117eb619015d17fd7
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
#calss header class _LUCK(): def __init__(self,): self.name = "LUCK" self.definitions = [u'the force that causes things, especially good things, to happen to you by chance and not as a result of your own efforts or abilities: ', u'success: '] self.parents = [] self.childen = [] self.properties = [] sel...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
005019f629299d7f18b45e2cd5ff1ec61e37b3e4
26b9dcad0ad93cb81d1fae1775e235b6e379404c
/src/enamlnative/widgets/picker.py
5bc36204568c23decbd627063f18798c58551f09
[ "MIT" ]
permissive
nmilosev/enaml-native
d278c17142fbd70009c73aed7c00d0041693a422
a05938b0ab356a7e3fc233e9ca127e6772dbed5d
refs/heads/master
2020-03-07T12:34:45.688001
2018-03-26T13:35:22
2018-03-26T13:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,298
py
""" Copyright (c) 2017, Jairus Martin. Distributed under the terms of the MIT License. The full license is in the file LICENSE, distributed with this software. Created on July 6, 2017 @author: jrm """ from atom.api import ( Typed, ForwardTyped, List, Int, Bool, observe ) from enaml.core.declarative import d_ ...
[ "frmdstryr@gmail.com" ]
frmdstryr@gmail.com
8da39b230616b09c5dbe36689c782ed37a611b38
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/raw/GLES2/IMG/program_binary.py
592bc7b6cc4e1225f9b1ba4110077207d9c88432
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
581
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GLES2 import _types as _cs # End users want this... from OpenGL.raw.GLES2._types import * from OpenGL.raw.GLES2 import _errors from OpenGL.constant import Constant as _C import...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
a05288c1d0d8dfc1200009b69d9bc77e2a13eab2
181af10fcf40b824fe92d3b8f72fd15d6d1490c2
/Contests/201-300/week 296/2294. Partition Array Such That Maximum Difference Is K/Partition Array Such That Maximum Difference Is K.py
15572ac76423e6ade895d1d5001151b3cb8c3d19
[]
no_license
wangyendt/LeetCode
402c59a0b7b7f5b3a672231ea5dad8056ade36af
4a3ba15284c45b2d8bf38306c8c8526ae174615c
refs/heads/master
2023-08-10T06:27:54.995152
2023-08-10T02:22:27
2023-08-10T02:22:27
176,651,399
6
0
null
null
null
null
UTF-8
Python
false
false
702
py
#!/usr/bin/env python # -*- coding:utf-8 _*- """ @author: wangye(Wayne) @license: Apache Licence @file: Partition Array Such That Maximum Difference Is K.py @time: 2022/06/05 @contact: wang121ye@hotmail.com @site: @software: PyCharm # code is far away from bugs. """ from typing import * class Solution: ...
[ "905317742@qq.com" ]
905317742@qq.com
3b99b2c94dbbcfb950a59c0c158228926eb381e8
bc8a0e87417add0325c9124ee847efaf88d2daa1
/PycharmProjects/hello/server.py
2cac613f5b833ec4897dcb64137c6479b40c7042
[]
no_license
Ivanlasich/python
f0034426ea91d956d4d47a0a41e099785a6ddf1a
d8ed501537581f01d07733bd81911d0f523d7bfc
refs/heads/master
2022-12-12T21:06:46.473608
2019-12-08T19:03:41
2019-12-08T19:03:41
226,704,894
0
0
null
2022-12-08T02:40:00
2019-12-08T17:28:07
Python
UTF-8
Python
false
false
2,702
py
import asyncio class ClientError(Exception): pass class ClientServerProtocol(asyncio.Protocol): list = {} def __init__(self): pass def connection_made(self, transport): self.transport = transport def data_received(self, data): message = data.decode() lst = messa...
[ "ivanlazichny@gmail.com" ]
ivanlazichny@gmail.com
f4902a0a78c9a346e5d8c252e83243c00a11614d
cc08f8eb47ef92839ba1cc0d04a7f6be6c06bd45
/projects/computer-apps/py-qt/executable-file/venv/bin/easy_install-3.7
6878a43b5b004d6c009256c545228da67d0bfd39
[]
no_license
ProsenjitKumar/PycharmProjects
d90d0e7c2f4adc84e861c12a3fcb9174f15cde17
285692394581441ce7b706afa3b7af9e995f1c55
refs/heads/master
2022-12-13T01:09:55.408985
2019-05-08T02:21:47
2019-05-08T02:21:47
181,052,978
1
1
null
2022-12-08T02:31:17
2019-04-12T17:21:59
null
UTF-8
Python
false
false
312
7
#!/home/prosenjit/PycharmProjects/projects/computer-apps/py-qt/executable-file/venv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "prosenjitearnkuar@gmail.com" ]
prosenjitearnkuar@gmail.com
7e7fc009b3f430d6372cbeb37b45343695dfa677
e3293ed8e14a31bfae9156a9ef2839e6c221710b
/request_scripts/hwmon_amb_temperature_get.py
e67d926d26eb759c0d55f7126b58349bb95bcc3a
[ "MIT" ]
permissive
Boris0105/go_hwmon
ac9438a03d9d13f42e7f93e186358bf6cf126111
30044eddfd057ad49ebe75e5c2d0cf4f023a8966
refs/heads/master
2020-08-29T08:53:07.648574
2019-11-07T05:59:18
2019-11-07T05:59:18
217,986,540
0
0
null
2019-10-28T07:11:28
2019-10-28T07:11:28
null
UTF-8
Python
false
false
665
py
#!/usr/bin/python2.7 import sys import utils def request_list(hostname, out_format): entity = utils.ENTITY_AMB instant = 1 json = '{"entity":%d, "instant":%d}' % (entity, instant) url='http://%s/api/v1/hwmon/get/device/maxtemp' % hostname utils.response_output(out_format, utils.http_request(url, ...
[ "yuanyu.lin@gmail.com" ]
yuanyu.lin@gmail.com
ca65e165fba82ccd5bc020f1ea18045447718a37
eb629018776df5e1ed6fc8d0238ab782100a8a4d
/exercises/squat.py
28bc2c04c5419b04789b1b60227f37ce12b51089
[]
no_license
JSlaatsICAP/iCapturDebugger
c535e02ce784471ba95a811ac3b086a10a6530ec
aea87733b0b51e3d476e6b9a600452c2d7f45bde
refs/heads/main
2023-03-22T19:30:47.334618
2021-03-08T08:07:52
2021-03-08T08:07:52
344,814,298
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
from .functions import detectRaw from .functions import validate def detect(data): splitData = {} parameters = {'axisDet':'roll', 'peakTypeDet':'inverted', 'prominence':15, 'peakTypeStart' : 'positive', 'peakNrStart': 1, ...
[ "you@example.com" ]
you@example.com
c71a7afb49eae09710519174463372eaba384e65
51e75ad802507c4f15b85a3156b4eb6dcdcab811
/dashapp/util/show_docs.py
60022050b0aa00e3879b33ef05e48b8bab376a41
[]
no_license
FriendlyUser/finance-dashboard
548dcfca6a5fe1ee06307f0b44474e2807afe238
51fd6bef75f40e519476b8175e5b4fef2b5022bf
refs/heads/master
2020-07-22T12:43:05.821823
2019-11-14T03:01:30
2019-11-14T03:01:30
207,206,169
1
0
null
null
null
null
UTF-8
Python
false
false
422
py
from flask import Blueprint, send_from_directory docs = Blueprint('docs', __name__) @docs.route('/docs/<path:path>') def show_docs(path): try: return send_from_directory('docs', path) except Exception as e: if path.endswith("/"): print(e) return send_from_directory('docs'...
[ "davidli012345@gmail.com" ]
davidli012345@gmail.com
8821278e56929f27abf7d321fda5ddd9a47d05ea
0f6aa43822ff1f1d2eb06e8472747ad5171682c5
/FasterReID/optims/optimizers.py
4c8faed093712becf99882aea08d1ba591e799b5
[]
no_license
yu9s/ReID
c58ea22d0af8b48497100b21adaefc77328ae23c
6c5fd57d976172ba113f0542b17c9f89bb95989e
refs/heads/master
2023-03-31T17:36:13.273230
2021-04-12T02:02:06
2021-04-12T02:02:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,932
py
# -*- coding: utf-8 -*- # @Author: solicucu import numpy as np import torch import torch.nn as nn from torch.optim import lr_scheduler def make_optimizer(cfg, model): # for some layer was frozen params = filter(lambda p: p.requires_grad, model.parameters()) if cfg.SOLVER.OPTIMIZER_NAME == "SGD": optimizer...
[ "2748847613@qq.com" ]
2748847613@qq.com
490360f6c7470e261e4b8eeea2c537805f8b0ab3
8130c34d546c323d6d5d2ca6b4a67330af08828f
/.history/menu_app/urls_20210104152008.py
5e43087aac7cdc398cfcd1254883c156d2b5d591
[]
no_license
lienusrob/final
ba2dad086fc97b21b537ef12df834dfadd222943
f2726e31f1d51450e4aed8c74021c33679957b28
refs/heads/master
2023-02-15T01:36:54.463034
2021-01-07T12:47:05
2021-01-07T12:47:05
327,279,792
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
# from project.account_app.views import HomeView from django.urls import path from . import views from .views import view_cart, add_to_cart, adjust_cart urlpatterns = [ #path('', views.menu_list_view(template_name = 'menu_app/menu_list.html'), name = 'menu_list'), #path('menu/', views.menu_list_view, name = 'menu_lis...
[ "lienus.rob@hotmail.de" ]
lienus.rob@hotmail.de
0296b01675457b899414db301dda3d110004a22b
894a61cfc4517c14ae28690666477ef004aa37a1
/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_foot_triangles_only_multiscale_square_smaller.py
5b601463aad839cce11b08f7ee66d8cf9306c05d
[ "Apache-2.0" ]
permissive
jireh-father/mmdetection_210507
6d3867204ec1c61b88968e0501a577095c756e28
857c78d2caef8842909cb46d870570b4dd176792
refs/heads/main
2023-07-15T22:32:16.699351
2021-08-22T04:04:16
2021-08-22T04:04:16
365,158,778
0
0
null
null
null
null
UTF-8
Python
false
false
2,012
py
_base_ = [ '../_base_/models/mask_rcnn_r50_fpn_class3.py', # '../_base_/datasets/coco_instance.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] # dataset settings dataset_type = 'FootTriangles' data_root = 'data/coco/foot_triangles/' img_norm_cfg = dict( mean=[123.675, 116.28...
[ "seoilgun@gmail.com" ]
seoilgun@gmail.com
85436bf37326a6f9f29ce0e296a57ff45fc1398b
45cabaa649825d533f487bb9074ec2e855571d2b
/Project_Euler/20_Factorial_digit_sum.py
5a94e5674b231eefb0b05244c57ac00d0c964fb6
[ "MIT" ]
permissive
atupal/oj
511cd1849e2488c48f1a0028c6a37e0a711f2f43
2c85a65c57a504bc47e95d2dd7fae62115442be1
refs/heads/master
2021-01-22T06:29:11.702813
2019-06-09T08:14:43
2019-06-09T08:14:43
21,880,941
3
1
null
null
null
null
UTF-8
Python
false
false
590
py
# -*- coding: utf-8 -*- """ n! means n × (n − 1) × ... × 3 × 2 × 1 For example, 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800, and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27. Find the sum of the digits in the number 100! """ #mmap = lambda f, l: [] if not l else [f(l[0])] + mmap(f, l[1:]) #...
[ "atupalykl@gmail.com" ]
atupalykl@gmail.com
4c616ad9c478c1d0c8567641985647579bedd464
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/havan/programming/languages/python/psycopg2/actions.py
da87212b7e0a49b29fc07581734a8818fbcb2d75
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2008 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import pythonmodules from pisi.actionsapi import pisitools from pisi.actionsapi import get def...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
5523d87644b38c44cafb35ad057fd6014161be49
24b33a4a70223ce22e3583dc6d8196e22da5057d
/examples/vector/basic.py
cd2cd6137eb272a1a83957456c7e407876c8a611
[ "MIT" ]
permissive
will-hossack/Poptics
4b4fcd1c596d257835ba2e448a05b5904bfa20e5
4093876e158eb16421dfd4e57818210b11381429
refs/heads/master
2022-11-28T02:45:57.542189
2020-08-03T08:47:26
2020-08-03T08:47:26
265,811,818
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
""" Basic use of poptics.Vector3d Author: Will Hossack, The University of Edinburgh """ import poptics.tio as t import poptics.vector as v def main(): a = v.Vector3d(1.0,2.0,3.0) # Vector3d with three components specified. b = v.Vector3d([3.0,4.0,5.0]) # Vector3d with components as list c = a ...
[ "will.hossack@gmail.com" ]
will.hossack@gmail.com
bb8e98b01818ed9f9b9171861fad12941b9f7612
a35b24c8c3c5bdf861f3cda9396f2fa6795ec929
/abc/053/A.py
055d5653cf88bae2d3469cf19b81cd855d3b31c6
[]
no_license
Msksgm/atcoder_msksgm_practice
92a19e2d6c034d95e1cfaf963aff5739edb4ab6e
3ae2dcb7d235a480cdfdfcd6a079e183936979b4
refs/heads/master
2021-08-18T16:08:08.551718
2020-09-24T07:01:11
2020-09-24T07:01:11
224,743,360
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
def main(): x = int(input()) if x < 1200: ans = 'ABC' else: ans = 'ARC' print(ans) if __name__ == "__main__": main()
[ "4419517@ed.tus.ac.jp" ]
4419517@ed.tus.ac.jp
eeb425af4b93f13d4b4cc8298d86e6f8e6e5867e
2d59a479fe2c45b30d46d2c86ebb5a9414b112f5
/pyexlatex/logic/type_check.py
133d3cc733843cce8854435f767d7768a07cb80e
[ "MIT" ]
permissive
nickderobertis/py-ex-latex
24c8809784b9bdc8b74a05a57bb46cd05ec09945
66f5fadc35a0bfdce5f1ccb3c80dce8885b061b6
refs/heads/master
2023-01-07T03:25:11.640037
2021-11-10T13:42:50
2021-11-10T13:42:50
203,180,166
5
0
MIT
2022-12-26T21:51:20
2019-08-19T13:38:14
Python
UTF-8
Python
false
false
331
py
from typing import Sequence def item_is_in_allowed_type_strs(item, allowed_values: Sequence[str]) -> bool: is_allowed_attrs = [f'is_{value}' for value in allowed_values] for allowed_attr in is_allowed_attrs: if hasattr(item, allowed_attr) and getattr(item, allowed_attr): return True r...
[ "whoopnip@gmail.com" ]
whoopnip@gmail.com
bf9ff695dca4464e3242adeffdd890c9f8c853c1
af4eb8204923b5848fce3158c6f8a89a480ea1d8
/script/TTFF/BF_TTFF_static_130_L1L5_Cold_0001.py
813a07fc092e54d8a6fc35735d4b49983183c6d4
[]
no_license
wanghaoplus/gatog
4ab0c77d4f9eb93da136ad3933a68cbf0b5c5bca
8935e20a426638462cd1cc7bc048a16751287a2f
refs/heads/master
2022-04-10T21:36:20.395304
2020-03-26T10:09:28
2020-03-26T10:09:28
248,264,601
0
0
null
null
null
null
UTF-8
Python
false
false
2,749
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/03/07 12:00 # @Author : wanghao # @Site : # @File : BF_TTFF_static_130_L1L5_Cold_0001.py # @Software: Eclipse from aw.LbsTestCase import LbsTestCase #from autotest.core.logger.AutoLogManager import starttime class BF_TTFF_static_130_L1L5_Cold_000...
[ "418816179@qq.com" ]
418816179@qq.com
eb8815efd0e7e10f2ee5fcf38be1c3796f396776
1ad7fb96c4fc432c7a9b99fd68039febba1bc3f5
/project/docfile.py
13934e3e15ca7f177c9c721479acc8a93773d332
[]
no_license
tsiib/infosec_app
04750eb93384453ef64af53744d5a0221154537d
4d00979f2c5065718ae6f6f601ea78635cdf9b8f
refs/heads/master
2020-09-26T18:39:10.242540
2019-12-06T06:41:27
2019-12-06T06:41:27
226,315,700
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
from fpdf import FPDF class PDF(FPDF): def header(self): # Logo #self.image('Project/logo.jpg', 10, 8, 33) # Arial bold 15 self.set_font('Arial', 'B', 15) # Move to the right self.cell(80) # Title self.cell(80, 10, "The Multi-Web Application Scanner"...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
d6ffd774068cf707bd8c79ba4cc21b49ff86a0cc
b8cc6d34ad44bf5c28fcca9e0df01d9ebe0ee339
/GUI/event_eg.py
84db52f52f0aabc5493a686d25b1dbc907a933af
[]
no_license
python-yc/pycharm_script
ae0e72898ef44a9de47e7548170a030c0a752eb5
c8947849090c71e131df5dc32173ebe9754df951
refs/heads/master
2023-01-05T06:16:33.857668
2020-10-31T08:09:53
2020-10-31T08:09:53
296,778,670
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
# 事件简单的例子 import tkinter def baseLabel(event): global baseFrame lb = tkinter.Label(baseFrame,text="谢谢点击") lb.pack() # 画出程序的总框架 baseFrame = tkinter.Tk() lb = tkinter.Label(baseFrame,text="模拟按钮") # lable绑定相应的消息和处理函数 # 自动获取左键点击,并启动相应的处理函数,baseLable lb.bind("<Button-1>",baseLabel) lb.pack() #启动消息循环 #到此,表示程序...
[ "15655982512.com" ]
15655982512.com
6a43717b2995b74fb81e4abfdefd76c5566285e4
bf309f0b9cc49e2033a9f093d73c746bad45e6a0
/events/migrations/0006_auto_20160625_1523.py
b6714974434ed0bfe22eb8a57ccb1bb15d55f439
[]
no_license
OSDLabs/WavesWebsite2016
3757d551ec75245b0f55c9eca5b7911b2b63d7d9
4624ce6abdd7d06ebc32ea9cb9c64f4552ecffff
refs/heads/master
2021-01-11T04:34:49.820655
2016-11-03T23:18:47
2016-11-03T23:18:47
58,134,398
6
16
null
2016-11-02T11:49:59
2016-05-05T13:54:45
CSS
UTF-8
Python
false
false
667
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('events', '0005_merge'), ] operations = [ migrations.AlterField( model_name='event', name='event_cate...
[ "sebastinssanty@gmail.com" ]
sebastinssanty@gmail.com