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
be6a016ce6c16fe2faa6e74c48ad6571cc088641
b33ddc7b89d05e19fdeb69593872fd174fab9f4f
/URI-py/2875.py
49dc31d7091f31bea192a97075a7c40e9e9f21a3
[]
no_license
ThiagoCComelli/URI-Online-Judge
8b8d609d880342b39ba0d396c0610ecb7e01a5af
5348f736b2d683f4b857232c22cccb7c1d8b8d65
refs/heads/master
2020-07-23T15:14:05.353948
2020-03-10T19:42:12
2020-03-10T19:42:12
207,606,956
1
0
null
null
null
null
UTF-8
Python
false
false
337
py
# -*- coding: utf-8 -*- while True: try: n,m = map(int, input().split()) lista = [] lista1= [] for i in range(n): lista.append(input().split()) while True: for i in range(n): for j in range(m): a =a except EOFErr...
[ "thiago.comelli@outlook.com" ]
thiago.comelli@outlook.com
0a1abc1df723114b5f626549217071f99ce3f6d6
1dce03e6f3f5b23d1e5c599678624638943b9422
/docker/create_docker_images2.py
c963255960a9c9025948e08941e44f9ffe9c6e2f
[]
no_license
volat1977/byte_of_python
76ec958bdc51c7538bb24e5d152b456feab603ca
60b58ca3927ef5e2801c93dd676d5f8b4c03d9fc
refs/heads/master
2020-12-26T07:23:10.562537
2020-03-24T05:31:03
2020-03-24T05:31:03
237,431,769
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
from io import BytesIO import docker dockerfile = ''' # Shared Volume FROM busybox:buildroot-2014.02 VOLUME /data CMD ["/bin/sh"] ''' f = BytesIO(dockerfile.encode('utf-8')) cli = docker.from_env() response = cli.api.build(fileobj=f, rm=True, tag='test3', decode=True) #for line in response: # if line.keys()[0] in (...
[ "alex@pop-os.localdomain" ]
alex@pop-os.localdomain
d753d0c4da9bb638deab2a12cfdd73f9e4680cb5
bac7a7507933ac5bb38b41bbe2a587764da3cf94
/snappy_wrappers/wrappers/link_in_bam/wrapper.py
09790324734c2213f0b8a7b3f82af6b18a1c8997
[ "MIT" ]
permissive
Pregelnuss/snappy-pipeline
923b0f36117a2f55ee52f9a8564ed3bb82a8be16
31200eba84bff8e459e9e210d6d95e2984627f5c
refs/heads/master
2023-06-19T07:24:04.736033
2021-05-27T07:24:05
2021-05-27T07:24:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,063
py
# -*- coding: utf-8 -*- """CUBI+Snakemake wrapper code for external: Snakemake wrapper.py """ from snakemake import shell __author__ = "Oliver Stolpe <oliver.stolpe@bihealth.de>" shell.executable("/bin/bash") this_file = __file__ input = snakemake.params.args["input"] if not input: raise Exception("No bam foun...
[ "manuel.holtgrewe@bihealth.de" ]
manuel.holtgrewe@bihealth.de
e61d9c8b65dd2e6ddb62065629685896f512ffb7
0fe37e11df976c55fe5bbe492879b7cd8a95b7c5
/1_2_python变量_输出和输入_数字_字符串/04_str_test.py
3444adc19895857e5d4fee8cb2347e41708b2bfb
[]
no_license
1286211699/mmc_code
9bb7761107604b445dea4fe5acf9d503fbc28dfa
ee97879632dfd7d24c604f7db52c82fa29109daa
refs/heads/master
2022-12-08T23:19:06.382825
2020-05-08T13:59:46
2020-05-08T13:59:46
177,100,815
2
0
null
2022-12-08T01:42:47
2019-03-22T08:25:37
HTML
UTF-8
Python
false
false
1,896
py
# name = 'for' # # name = "for's name is for" # print(name) # print('abcd\tefg') # print('My name is %s'%('for')) # print('I am %d years old'%(18)) # print('his height is %f m'%(1.78)) # print('his height is %.2f m'%(1.78)) # name = 'while' # # print(name[1:3]) # str_test = 'hello wo...
[ "1286211699@qq.com" ]
1286211699@qq.com
404ccc4de81309e69083b0b19bb3d53830a09a20
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-gaussdbfornosql/huaweicloudsdkgaussdbfornosql/v3/model/list_instances_datastore_result.py
34f5b1f20917eabd5ea29c17543d8217b496429f
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,366
py
# coding: utf-8 import re import six class ListInstancesDatastoreResult: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is j...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
3c061683d05e01d2e49fdf44a9642b8ba3230d38
7942342d457276bb266228d0236af647b3d55477
/django/contrib/auth/__init__.pyi
24b49bc00c2f2782b020918d77e8d81ac3a388da
[ "MIT" ]
permissive
AsymmetricVentures/mypy-django
847c4e521ce4dec9a10a1574f9c32b234dafd00b
f6e489f5cf5672ecede323132665ccc6306f50b8
refs/heads/master
2020-06-30T01:53:44.434394
2016-12-22T22:45:50
2016-12-22T22:45:50
74,397,884
0
0
null
null
null
null
UTF-8
Python
false
false
840
pyi
# Stubs for django.contrib.auth (Python 3.6) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any, Optional from django.apps import apps as django_apps from .signals import user_logged_in as user_logged_in, user_logged_out as user_logged_out, user_login_failed as user_lo...
[ "reames@asymmetricventures.com" ]
reames@asymmetricventures.com
0405898d24af93f463de789847b0398a0e8e0b97
092d82f8a64f8e33a739ae023667253a75bfb9ae
/jury/forms.py
ac08bc91b6d6b266345bc9fb2f865acbf50bba23
[ "MIT" ]
permissive
COdingaorg/The_Jury
8c103eec028891b1ee98ede786fb54638bd16ba6
a4432269a023edf49a010644ca4f06324a934d7f
refs/heads/main
2023-06-18T10:43:14.888503
2021-07-20T16:05:59
2021-07-20T16:05:59
386,658,998
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from jury.models import UserProfile, UserProject from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm class registerUser(UserCreationForm): class Meta: model = User fields = ['username', 'first_name', 'last_name', 'email', 'password1', 'p...
[ "calemasanga@gmail.com" ]
calemasanga@gmail.com
5404e3ad8934d8abdd386447c64ee0c0a8c716f7
93f5ee5cc7b863029c54a766e9f5fa0b0e52191f
/BayesianOptimization/20180403_two_hparas.py
f2c660d6aa1078720adfdb30d305f189ed7051c7
[]
no_license
ShihPingLai/Jacob-deep_learning
29ad17839da7a34e01db1a626942862e250e8619
dfbaa178ac537a189a062a23904072a7d8e550a9
refs/heads/master
2020-03-13T11:51:51.276939
2018-04-26T04:19:15
2018-04-26T04:19:15
131,108,620
1
0
null
null
null
null
UTF-8
Python
false
false
4,156
py
#!/usr/bin/python3 ''' Abstract: This is a program to exercise how to optimize deep learning with Bayesian Optimization. Copy from "BayesianOptimization/examples/exploitation vs exploration.ipynb" Usage: 20180403_two_hparas.py Source: BayesianOptimization/examples/exploitation vs exploration.ipynb ###...
[ "z123a123s123@gmail.com" ]
z123a123s123@gmail.com
c88a1af397f5418a03100cac9cde8e9e4629f207
34d1d64a049dd3a25293955f6312072f2fcb3905
/set-1/challenge2.py
f54288641f2df4a0648832da78827542e6a9bb54
[]
no_license
alex-bellon/cryptopals
c82ec87377911e6cae365cb48b2058789b93b9a1
5bc6242a5b972866ba7eebe2f6efa80c7ebff71c
refs/heads/master
2020-05-03T18:40:02.320249
2019-08-16T21:15:27
2019-08-16T21:15:27
178,761,916
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
a = '1c0111001f010100061a024b53535009181c' b = '686974207468652062756c6c277320657965' aBin = bin(int(a, 16))[2:] bBin = bin(int(b, 16))[2:] c = int(aBin, 2) ^ int(bBin, 2) print(hex(c))
[ "alexrbellon@gmail.com" ]
alexrbellon@gmail.com
26534e055871d229971a287afd01f30afec488e8
03d07de94fc22d1583c45ca84c711a06df8a40ff
/lc/dynamic_programming/lc_91_decode-ways.py
47e6fb60ea6793ea85275e7e4575d8b528ab5713
[]
no_license
gaopenghigh/algorithm
94e04293c69a2ad6903495e1cf6e1b75556535bb
f5d78c98c7201c56f9d4c3a9c0c76e9447a17985
refs/heads/master
2022-03-11T18:46:38.712923
2022-02-20T14:20:54
2022-02-20T14:20:54
54,484,549
0
0
null
null
null
null
UTF-8
Python
false
false
3,054
py
# 91. 解码方法 # 难度 中等 # 一条包含字母 A-Z 的消息通过以下映射进行了 编码 : # 'A' -> "1" # 'B' -> "2" # ... # 'Z' -> "26" # 要 解码 已编码的消息,所有数字必须基于上述映射的方法,反向映射回字母(可能有多种方法)。例如,"11106" 可以映射为: # "AAJF" ,将消息分组为 (1 1 10 6) # "KJF" ,将消息分组为 (11 10 6) # 注意,消息不能分组为 (1 11 06) ,因为 "06" 不能映射为 "F" ,这是由于 "6" 和 "06" 在映射中并不等价。 # 给你一个只含数字的 非空 字符串 s ,请计算并返回 解码 方法的...
[ "jh.gao@ucloud.cn" ]
jh.gao@ucloud.cn
6ffabdb437b2f0229262f2a7b57b5eb2b66df757
beb12cce69e21804a9ec4d64062bf6bb062261aa
/bin/EAFP.py
74646c34e932b3821298f5c393f4bebacf076c1c
[]
no_license
voyeg3r/dotfaster
f7a0cad32ea3420417cd728be24a58533cb907fa
90c4f1ec4471668fec1f4db755158058fb533be2
refs/heads/master
2021-01-02T22:49:47.246952
2018-06-02T20:56:58
2018-06-02T20:56:58
99,405,357
5
2
null
null
null
null
UTF-8
Python
false
false
678
py
#!/usr/bin/env python3 # # -*- coding: UTF-8 -*-" # ------------------------------------------------ # Creation Date: 23-03-2017 # Last Change: ter 29 nov 2016 09:21:52 BRT # File: EAFP.py # author: sergio luiz araujo silva # site: http://vivaotux.blogspot.com # twitter...
[ "voyeg3r@gmail.com" ]
voyeg3r@gmail.com
0876651216fe8d66b6ac1486bdb463a7eb6bcf0b
b37b62a73a14ed3904ffed1db99dafe01bc9eca3
/app/list/models.py
3c3e2f812571158f337b54618fddebb78ef4c17e
[]
no_license
gambler1541/django-pagination
d340d7ce3186f801ce1cf4aadb59ee77bd52e9d6
44c32be793c0bd2332f29ba5422205ccf0c2d2b8
refs/heads/master
2020-04-16T22:56:16.565405
2019-01-16T06:59:51
2019-01-16T06:59:51
165,990,830
1
0
null
null
null
null
UTF-8
Python
false
false
146
py
from django.db import models from django.views.generic import ListView class Constacts(models.Model): text = models.TextField(default='')
[ "gambler1541@gmail.com" ]
gambler1541@gmail.com
fb20a737b4b3bc2e0a86a1ea9b5a7945456c6851
dacdebab897f9287f37a2e85c5705a926ddd36aa
/tests/test_issue930/Snakefile
06cbf60fd181788b35dd44ff28d8bc6855f13952
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
snakemake/snakemake
5d4528193d87786d7b372ca7653ece302ff46965
27b224ed12448df8aebc7d1ff8f25e3bf7622232
refs/heads/main
2023-09-02T08:37:04.323976
2023-08-11T10:02:34
2023-08-11T10:02:34
212,840,200
1,941
536
MIT
2023-09-11T09:51:44
2019-10-04T14:58:11
HTML
UTF-8
Python
false
false
646
samples = ["0","1"] rule all: input: "test.out" rule build_index: output: "large_reference_index" shell: "touch {output}" rule a: output: "a/{sample}.out" group: "sample_group" shell: "touch {output}" rule b: input: rules.a.output, ...
[ "johannes.koester@tu-dortmund.de" ]
johannes.koester@tu-dortmund.de
25ed4fc80f15bd27a6243626cc74db6d6f20abe2
8bb3bcf914860c20fb4a7163a8e0691cd802dd65
/ve/unit/test_list_object.py
df090cc057e76b5308629ac65f3383056bb0ac50
[ "Apache-2.0" ]
permissive
nitinm694/pyvsc
8586cc2497f336289fecbfeb9e6dd788f4070b60
612de9e6244c685a3df1972e4860abfe35b614e1
refs/heads/master
2023-07-28T01:49:10.917496
2021-09-12T19:06:00
2021-09-12T19:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,362
py
''' Created on Jun 20, 2020 @author: ballance ''' import vsc from vsc_test_case import VscTestCase from vsc.visitors.model_pretty_printer import ModelPrettyPrinter class TestListObject(VscTestCase): def test_smoke(self): @vsc.randobj class item_c(object): def...
[ "matt.ballance@gmail.com" ]
matt.ballance@gmail.com
8083d6ab3311a0ec517636a91fd33a22445421bd
7fa15c4dbca224aed616e76074bf017699af00df
/examples/sum_client.py
0011bc63474cfec50e1d633ae091f99a0ddb1f0e
[ "Apache-2.0" ]
permissive
studio-ousia/mprpc
cc272e650b46a21997c680cf00e5ccbc015dc709
6076f68a16f78e0010307344afa253e0956f2a9d
refs/heads/master
2023-01-14T02:33:22.171728
2022-12-27T07:13:23
2022-12-27T07:13:23
13,551,567
170
60
NOASSERTION
2023-02-18T15:15:10
2013-10-14T03:15:41
Cython
UTF-8
Python
false
false
595
py
# -*- coding: utf-8 -*- import gsocketpool.pool import gevent.pool from mprpc import RPCClient, RPCPoolClient def call(): client = RPCClient('127.0.0.1', 6000) print client.call('sum', 1, 2) def call_using_pool(): options = dict(host='127.0.0.1', port=6000) client_pool = gsocketpool.pool.Pool(RPC...
[ "ikuya@ikuya.net" ]
ikuya@ikuya.net
530d9a1a9c81e48861a573078a5fcca53d28e741
e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67
/azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/mgmt/network/v2017_06_01/models/network_interface_association.py
56f1d3b0eda3f4acd5b0007f57df14bfd8f42f49
[]
no_license
EnjoyLifeFund/macHighSierra-cellars
59051e496ed0e68d14e0d5d91367a2c92c95e1fb
49a477d42f081e52f4c5bdd39535156a2df52d09
refs/heads/master
2022-12-25T19:28:29.992466
2017-10-10T13:00:08
2017-10-10T13:00:08
96,081,471
3
1
null
2022-12-17T02:26:21
2017-07-03T07:17:34
null
UTF-8
Python
false
false
1,281
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 ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
40704cee49a3949e9dcf543e0695bacb829c017f
e885c02621101ea646c9dcc3e934dd7ceaaf4f04
/djangocms_disqus/migrations/0001_initial.py
7be273f44c0b09ed5f6447a8d57db12cadbb0691
[ "BSD-3-Clause" ]
permissive
mishbahr/djangocms-disqus
40421d6662ef911542287fc0c2e8b81a63e49667
49e75a024e2ca1c932a8b9134500c2f24137a153
refs/heads/master
2023-01-05T00:46:39.514178
2017-05-23T22:15:12
2017-05-23T22:15:12
42,411,019
21
5
BSD-3-Clause
2022-12-26T19:52:38
2015-09-13T20:07:18
Python
UTF-8
Python
false
false
1,804
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from connected_accounts.fields import AccountField from ..conf import settings class Migration(migrations.Migration): dependencies = [ ('connected_accounts', '__latest__'), ('cms', '__latest...
[ "mishbah@jp74.com" ]
mishbah@jp74.com
3a79fc6c3eb34308f2013497b29f90ad59a89e7b
fc85a54686e13e598541df14c472e8aa744e6713
/petisco/extra/sqlalchemy/sql/mysql/mysql_connection.py
ccf69974f1b0fbfe9c880d72c61912564fc1f72c
[ "MIT" ]
permissive
alice-biometrics/petisco
63721751cd43e70825b161a5ece535c80d95b6fa
771ebe5c69dc735b8f373c2e7303d3b4eb655044
refs/heads/main
2023-09-01T03:53:23.642042
2023-08-25T05:38:42
2023-08-25T05:38:42
217,555,512
42
2
MIT
2023-09-12T11:06:43
2019-10-25T14:48:10
Python
UTF-8
Python
false
false
1,700
py
import os MYSQL_DATABASE_DEFAULT = "mysql_test" class MySqlConnection: def __init__( self, server_name: str, driver: str, user: str, password: str, host: str, port: str, database_name: str, url: str, ): self.server_name = server_...
[ "noreply@github.com" ]
alice-biometrics.noreply@github.com
5e92281f35cff75f5d8fd68958f6faad390bb658
1711a28e01e40c0164be23536ff109c428f3dd8c
/SUMO_compound_mdtraj_analysis.py
6d5a65145a08e70043aae6c8b2f867f060261593
[]
no_license
sunhuaiyu/mdtraj
adafd4b4408b688f23fed659e8fbaefd4ff1bd42
d626841025e9f9411e988cee6631edcbf171499d
refs/heads/master
2020-05-07T20:28:33.381621
2019-05-02T00:00:02
2019-05-02T00:00:02
180,862,388
0
0
null
null
null
null
UTF-8
Python
false
false
6,277
py
import numpy as np import matplotlib.pyplot as plt import mdtraj as md from glob import glob from multiprocessing import Pool def SUMO_ligand_dist(tr): #coordinates for the Cgamma of SUMO1_F36, SUMO2_F31, or SUMO3_F31: select_str = '(resname==PHE and (resid==15 or resid==30 or resid==17)) and (name==CG)' a...
[ "noreply@github.com" ]
sunhuaiyu.noreply@github.com
47b910274ca6546bd96488e2c3027896b833a188
7abd8bbbba8f401c4ce9d9ec550a0cae4a6f19ed
/bingads/v12/bulk/entities/__init__.py
afc5d3d8bf175347a50c466420cd874f00447f89
[ "MIT" ]
permissive
stevenblanton/BingAds-Python-SDK
fd2f119db51e1a91962aa5ee4bb86344e58078a8
5b6e6499ae1dcc6fb8ba3032ad1a2b6ee63705c9
refs/heads/master
2020-09-05T12:11:04.168580
2019-11-01T15:49:08
2019-11-01T15:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
__author__ = 'Bing Ads SDK Team' __email__ = 'bing_ads_sdk@microsoft.com' from .common import * from .bulk_error import * from .bulk_entity import * from .bid_suggestion_data import * from .unknown_bulk_entity import * from .bulk_account import * from .bulk_budget import * from .bulk_campaign import * from .bulk_ad_g...
[ "qitia@microsoft.com" ]
qitia@microsoft.com
61a49f9ce140730c3fb6b664ca5ac5bc8085cfb0
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v6/googleads-py/google/ads/googleads/v6/services/types/media_file_service.py
d18d6a8d09b03c92f8310398e3c6a6a1be1ac137
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,355
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
d827d71d9c05c7c9a359841ae13e780b7c1620e1
0e0bd9d0082bf71918db9f6c92c2cefd32fd23bd
/guild/commands/runs_import.py
354c23dc47578e9820036cf0779f49107bcd69fb
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
christabella/guildai
b911d9758296503c431b571dc4696a3690f44b3d
10d34eb9aa02aa4a374c340e75b5d44d9f3d8a25
refs/heads/master
2022-12-17T18:34:45.766299
2020-08-31T12:42:25
2020-08-31T12:42:25
294,189,964
0
0
Apache-2.0
2020-09-09T18:02:13
2020-09-09T18:02:12
null
UTF-8
Python
false
false
2,500
py
# Copyright 2017-2020 TensorHub, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "g@rre.tt" ]
g@rre.tt
af0407d686f5be807f2d3d4b938ec56483a3f89e
d6b0bc433b260b5d519d73087d5df46aa516fcdd
/biobb_adapters/pycompss/biobb_amber/pmemd/pmemd_mdrun.py
e94945a6809b7c30cc12c1d92b7e2ea6151423f4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bioexcel/biobb_adapters
b5442fe953b90be4e66faf3460b4a88a40e6d448
3daa84ba83a7951add017dd0f05dc361aa99dfe5
refs/heads/master
2023-08-14T08:46:39.323257
2023-08-02T09:05:21
2023-08-02T09:05:21
157,351,268
0
2
Apache-2.0
2023-04-01T14:56:43
2018-11-13T09:07:36
Common Workflow Language
UTF-8
Python
false
false
3,420
py
# Python import os import sys import traceback # Pycompss from pycompss.api.task import task from pycompss.api.parameter import FILE_IN, FILE_OUT from pycompss.api.multinode import multinode from pycompss.api.constraint import constraint # Adapters commons pycompss from biobb_adapters.pycompss.biobb_commons import task...
[ "andriopau@gmail.com" ]
andriopau@gmail.com
7be70ac3312c262cb16fc7fdd8dcb45124a48f14
d2b2023261ccdcaf560a2e7b0bab13ecdedacfc9
/03/fullbackup.py
00cb6631683557864d36d5b2b9b06ca824c29799
[]
no_license
lilyef2000/lesson
a9d96ffc19f68fa3f044f240de6496b6d69394f6
2a5abb00b9bbb8bb36602ea6e1e8c464accc0759
refs/heads/master
2021-01-10T08:41:14.524421
2016-01-01T18:04:04
2016-01-01T18:04:04
46,460,003
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
#!/usr/bin/python import sys,os,time,logger source_file = sys.argv[1] formated_source_file = source_file.split('/')[-1] backup_dir = '/home/Administrator/lesson/backup/' backup_to_file = '''%s%s_%s.tgz'''% (backup_dir,formated_source_file,time.strftime("%Y%m%d%H%M%S",time.localtime())) def run_backup(runtime='now',e...
[ "lilyef2000@gmail.com" ]
lilyef2000@gmail.com
c82afac573bf870007f2a26a2677f45d8e51d99c
04ae1836b9bc9d73d244f91b8f7fbf1bbc58ff29
/1233/solution.py
c47461e1a3ab14eb3051ffb577ac9f8ff8d4de5e
[]
no_license
zhangruochi/leetcode
6f739fde222c298bae1c68236d980bd29c33b1c6
cefa2f08667de4d2973274de3ff29a31a7d25eda
refs/heads/master
2022-07-16T23:40:20.458105
2022-06-02T18:25:35
2022-06-02T18:25:35
78,989,941
14
6
null
null
null
null
UTF-8
Python
false
false
1,365
py
class Node(): def __init__(self, str_): self.str_ = str_ def __eq__(self, other): return self.str_ == other.str_ def __repr__(self): return self.str_ def __repr__(self): return self.str_ def __hash__(self): return hash(self.str_) ...
[ "zrc720@gmail.com" ]
zrc720@gmail.com
3259d0615171353e16e44fb0506a5558587028c0
d037002f9d2b383ef84686bbb9843dac8ee4bed7
/tutorials/Trash/Distributed-DRL/torch/sac_test/utils/environment.py
c86069ea34cea9e7eb5b64d4846270b3babd3d96
[ "MIT" ]
permissive
ICSL-hanyang/Code_With_RL
4edb23ca24c246bb8ec75fcf445d3c68d6c40b6d
1378996e6bf6da0a96e9c59f1163a635c20b3c06
refs/heads/main
2023-08-15T18:37:57.689950
2021-10-18T07:31:59
2021-10-18T07:31:59
392,944,467
0
0
null
2021-08-05T07:20:57
2021-08-05T07:20:56
null
UTF-8
Python
false
false
971
py
import gym class Environment: def __init__(self,env_name): self.env = gym.make(env_name) self.state_dim = self.env.observation_space.shape[0] self._max_episode_steps = self.env._max_episode_steps self.can_run = False self.state = None if type(self.env.action...
[ "nzy1414117007@gmail.com" ]
nzy1414117007@gmail.com
e5679a098872822f28be752dec6bb6519196d5b7
8a5ab3d33e3b653c4c64305d81a85f6a4582d7ac
/PySide/QtCore/QTimer.py
5e91243992b9f324a3a089a65f93db3242e8a538
[ "Apache-2.0" ]
permissive
sonictk/python-skeletons
be09526bf490856bb644fed6bf4e801194089f0d
49bc3fa51aacbc2c7f0c7ab86dfb61eefe02781d
refs/heads/master
2020-04-06T04:38:01.918589
2016-06-09T20:37:43
2016-06-09T20:37:43
56,334,503
0
0
null
2016-04-15T16:30:42
2016-04-15T16:30:42
null
UTF-8
Python
false
false
1,511
py
# encoding: utf-8 # module PySide.QtCore # from /corp.blizzard.net/BFD/Deploy/Packages/Published/ThirdParty/Qt4.8.4/2015-05-15.163857/prebuilt/linux_x64_gcc41_python2.7_ucs4/PySide/QtCore.so # by generator 1.138 # no doc # no imports from QObject import QObject class QTimer(QObject): # no doc def interval(sel...
[ "yliangsiew@blizzard.com" ]
yliangsiew@blizzard.com
800613bb979e2a651e7833167d3b6536f748963a
699add6df73ad158b8ebeb5f9de4aada5820f205
/facebook/app/posts/models/comments.py
51bab010f0aef4c5c779bd1f65e15e568916fbfe
[]
no_license
ricagome/Api-Facebook-Clone
4f035ad280e6cb48d375fd87a9f62eecce67eb51
fae5c0b2e388239e2e32a3fbf52aa7cfd48a7cbb
refs/heads/main
2023-08-17T12:34:33.379017
2021-10-05T21:23:32
2021-10-05T21:23:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
"""Comment model.""" # Django from django.db import models # Utilities from app.utils.models import FbModel class Comment(FbModel): """Comment model.""" user = models.ForeignKey('users.User', on_delete=models.CASCADE) profile = models.ForeignKey('users.Profile', on_delete=models.CASCADE) post = mo...
[ "juliancamilohermida@hotmail.com" ]
juliancamilohermida@hotmail.com
5483a62a0289eaf03b82b517c8e78dd11f7e8a9d
4a2f163e603f90d5b9a4b2a100d7bc7bc77d1c95
/predicting_biological_response/hemy_example.py
401b7f3d5dd2f883930c7bfdf5ca5cfa2b058519
[]
no_license
tusonggao/data_cck
d781334bd1d425f6ecd613ebdb194835846e3adb
91d48589e8431fd00d70348dcb049c52fdcd2c7f
refs/heads/master
2020-04-09T03:59:09.931284
2020-01-26T15:54:14
2020-01-26T15:54:14
160,005,725
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# https://blog.csdn.net/data_scientist/article/details/79036382 # https://blog.csdn.net/Gin077/article/details/84339790 # https://github.com/rushter/heamy
[ "tusonggao@163.com" ]
tusonggao@163.com
88e7be6d96ec8e784aba5e12b0692d4c5beb1949
2db7597686f33a0d700f7082e15fa41f830a45f0
/Python/LeetCode2.0/DP/72.Edit Distance.py
b071302d4d3bdf3daf32936c19f8404f75c65131
[]
no_license
Leahxuliu/Data-Structure-And-Algorithm
04e0fc80cd3bb742348fd521a62bc2126879a70e
56047a5058c6a20b356ab20e52eacb425ad45762
refs/heads/master
2021-07-12T23:54:17.785533
2021-05-17T02:04:41
2021-05-17T02:04:41
246,514,421
2
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
#!/usr/bin/python # -*- coding: utf-8 -*- # @Time : 2020/05/09 ''' input: two words: str; the length of word is from 0 to inf output: int; the number of modify steps corner case: one of the word is ‘’ → len(word2) both words are ‘’ → 0 Method - DP Steps: build DP table; the size of table is (len(word1) + 1)* ...
[ "58391184+Leahxuliu@users.noreply.github.com" ]
58391184+Leahxuliu@users.noreply.github.com
9aa84188689bfa3d627c30002874472a97dc229a
499ff5445e2017d042690c0429cf2e767a7f623f
/coral/io/_abi.py
b19a2ab0ec287ad6d000026ece9b71f749677f3a
[ "MIT" ]
permissive
blthree/coral
b6ab934c10271d7b790130fe45e622b7c66921b4
30514735d9a51487583535a3a7e3fbfd0fe15ed8
refs/heads/master
2021-01-22T10:14:52.018579
2017-02-19T00:28:33
2017-02-19T00:28:33
81,997,699
0
0
null
2017-02-14T22:58:59
2017-02-14T22:58:59
null
UTF-8
Python
false
false
3,069
py
'''Read and write DNA sequences.''' import coral as cr import numpy as np import os from . import parsers from .exceptions import UnsupportedFileError def read_abi(path, trim=True, attach_trace=True): '''Read a single ABI/AB1 Sanger sequencing file. :param path: Full path to input file. :type path: str ...
[ "nbolten@gmail.com" ]
nbolten@gmail.com
0d3b60023a60eed6ae0274a83fd1daecbd04b513
95749b75c446df3ce4aabb03d5aec90de793e207
/gemini/taskapp/celery.py
722f621c5679f886e12c4c93ba9692df4ba43474
[]
no_license
Hawk94/gemini
8288a11499c4cc12c8c79641a51b5e99afe268c5
3a4d0b13488b8e9fbc40dc3cde338b61bc04b494
refs/heads/master
2020-06-24T11:37:22.204269
2017-07-12T20:33:21
2017-07-12T20:33:21
96,935,334
0
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
import os from celery import Celery from django.apps import apps, AppConfig from django.conf import settings if not settings.configured: # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.local') # pragma: no cover app = Cele...
[ "x99tom.miller@gmail.com" ]
x99tom.miller@gmail.com
346dfc71b0db9a749e8ee1d65b7425c276ff9cb1
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1797637/homework01/program03.py
1dea672b0e9890cc0e4a8907a314950ef5731495
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
1,579
py
def codifica(chiave, testo): ''' Viene codificato e restituito un testo, fornito il testo stesso e una chiave di codifica''' codifica=codifica_chiave(chiave) for indice,carattere in enumerate(testo): if carattere in codifica.keys(): testo = testo[:indice]+ testo[indice:].replace(testo[indice],codif...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
8ccd44a76e64b8cc0ad921f213460c409e895266
cc7b4e71b3c27240ec650a75cc6f6bbab5e11387
/crdb/templatetags/email_tags.py
b13eedd6c32b7950e6ee3313c89e155c42547e14
[ "MIT" ]
permissive
jsayles/CoworkingDB
0cdada869d950a28cfef20d1b9c1eb3eb4d7b1c2
78776910eba0354a7fd96b2e2c53a78e934d8673
refs/heads/master
2023-02-22T23:11:19.040799
2021-12-28T19:13:39
2021-12-28T19:13:39
883,951
3
0
MIT
2023-02-15T17:59:10
2010-09-02T18:36:43
Python
UTF-8
Python
false
false
764
py
import os from django.template import Library from django import template from django.conf import settings from django.utils.html import format_html from django.urls import reverse from crdb.models import EmailAddress register = template.Library() @register.simple_tag def email_verified(email): if not email: ...
[ "jsayles@gmail.com" ]
jsayles@gmail.com
e8b2f8c81f953e4c0e4a8d266dceb71804203e01
7f25740b1ef47edc24db1a3618b399959b073fe1
/1029_17_smallproject.py
97673d239a34ef5759856f9eeba050bcf1977446
[]
no_license
pjh9362/PyProject
b2d0aa5f8cfbf2abbd16232f2b55859be50446dc
076d31e0055999c1f60767a9d60e122fb1fc913e
refs/heads/main
2023-01-09T12:12:06.913295
2020-11-07T15:32:03
2020-11-07T15:32:03
306,814,117
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
cost = int(input()) cpn = input() if cpn == "Cash3000": print(cost-3000) elif cpn == "Cash5000": print(cost-5000) else: print("쿠폰이 적용되지 않았습니다.") print(cost)
[ "pjh9362@gmail.com" ]
pjh9362@gmail.com
385836ada1f0c7aa8919ec7aeb97acca6aea94c0
644b13f90d43e9eb2fae0d2dc580c7484b4c931b
/network2.py
5dbc8833c5526d15e355e3169680c46c4a5bc280
[]
no_license
yeonnseok/ps-algorithm
c79a41f132c8016655719f74e9e224c0870a8f75
fc9d52b42385916344bdd923a7eb3839a3233f18
refs/heads/master
2020-07-09T11:53:55.786001
2020-01-26T02:27:09
2020-01-26T02:27:09
203,962,358
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
def cal_ans(): temp = [] ans = 0 for i in range(len(src)): if src[i] == 0: if len(temp) == 5: temp = temp[1:] temp.append(i) else: ans += i * len(temp) - sum(temp) for j in temp: link[i + 1].append(j + 1) ...
[ "smr603@snu.ac.kr" ]
smr603@snu.ac.kr
ab0b8196c759f436a72d4ad731e16756cc9d4511
699cf40f6326b954a40b78e87317a62401bd4c2c
/.history/Drowsy_Detection_20210728124624.py
935884724404299f8e03c238ed4ff5289a4858c5
[]
no_license
KhanhNguyen1308/Python-mediapippe
e3927f9c0c6499d8a3ba50a675617b89197dce89
981412efd39bd29c34a66afbec88abdabcb47ab9
refs/heads/main
2023-06-25T18:37:43.234063
2021-07-29T11:35:31
2021-07-29T11:35:31
368,535,068
0
0
null
null
null
null
UTF-8
Python
false
false
3,727
py
import cv2 import time import numpy as np import mediapipe as mp import tensorflow as tf from threading import Thread from head_pose_ratio import head_pose_ratio from function import draw_point, eye_avg_ratio, put_text from Angle_head_pose_ratio import head_pose_status, eye_stat from mode import sleep_mode interpreter ...
[ "khanhnguyenduy1308@gmail.com" ]
khanhnguyenduy1308@gmail.com
181d7604566e31eea4b774b2ae9b3356926009e6
a40950330ea44c2721f35aeeab8f3a0a11846b68
/VTK/Actors/ThreeLine.py
e780418bfccbe2f4be8ca077eaf8f0c68c4225b5
[]
no_license
huang443765159/kai
7726bcad4e204629edb453aeabcc97242af7132b
0d66ae4da5a6973e24e1e512fd0df32335e710c5
refs/heads/master
2023-03-06T23:13:59.600011
2023-03-04T06:14:12
2023-03-04T06:14:12
233,500,005
3
1
null
null
null
null
UTF-8
Python
false
false
3,218
py
import vtk # Visualize colors = vtk.vtkNamedColors() # Create points p0 = [0.0, 0.0, 0.0] p1 = [1.0, 0.0, 0.0] p2 = [1.0, 1.0, 0.0] p3 = [0.0, 1.0, 0.0] p4 = [2.0, 0.0, 0.0] p5 = [2.0, 1.0, 0.0] # LineSource: draw a line with two points def createLine1(): lineSource = vtk.vtkLineSource() lineSource.SetPoint1...
[ "443765159@qq.com" ]
443765159@qq.com
18eaf4480da5398f037854fd148de9adc33abbe1
d8940b6d45c15a84c8ee1ab298c4df8a905f956c
/pysnooper/__init__.py
4b6ea5bc1ee65f9e361836555c20c181a5e8e0ff
[ "MIT" ]
permissive
Karanxa/PySnooper
f179c3e23627979c3a58664b966c9ae4cfa522a2
22f63ae09bb6d63de86496d613815ee03d191b75
refs/heads/master
2023-05-27T14:23:00.604201
2021-06-11T15:06:55
2021-06-11T15:06:55
376,061,317
1
0
MIT
2021-06-11T15:06:55
2021-06-11T15:04:02
null
UTF-8
Python
false
false
812
py
# Copyright 2019 Ram Rachum and collaborators. # This program is distributed under the MIT license. ''' PySnooper - Never use print for debugging again Usage: import pysnooper @pysnooper.snoop() def your_function(x): ... A log will be written to stderr showing the lines executed and variables ch...
[ "ram@rachum.com" ]
ram@rachum.com
6017f8bc5e80a39ea78cc67cbc7474a53ad39874
4d259f441632f5c45b94e8d816fc31a4f022af3c
/tornado/mongodb/client.py
df52fa27df3ea41b18e3d682e2bcf182a9f48e30
[]
no_license
xiaoruiguo/lab
c37224fd4eb604aa2b39fe18ba64e93b7159a1eb
ec99f51b498244c414b025d7dae91fdad2f8ef46
refs/heads/master
2020-05-25T01:37:42.070770
2016-05-16T23:24:26
2016-05-16T23:24:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
import httplib2 from urllib import urlencode h = httplib2.Http() ## Add articles data = {'id':'1', 'author':'B', 'genre':'comedy'} body = urlencode(data) h.request("http://127.0.0.1:8888/articles", "POST", body=body) data = {'id':'1', 'author':'C', 'genre':'comedys'} body = urlencode(data) h.request("http://127.0.0...
[ "junmein@junmeinde-macbook-pro-3.local" ]
junmein@junmeinde-macbook-pro-3.local
3a0f200b06d77ef08f908fd0474fe8e95f74cb21
b68fea9d645de59ee31da970d3dc435460fde9de
/discussboard/views_edit.py
a7cc8324343a334ab42398e43c09249b9d270868
[ "BSD-3-Clause" ]
permissive
shagun30/djambala-2
03fde4d1a5b2a17fce1b44f63a489c30d0d9c028
06f14e3dd237d7ebf535c62172cfe238c3934f4d
refs/heads/master
2021-01-10T04:20:30.735479
2008-05-22T05:02:08
2008-05-22T05:02:08
54,959,603
0
0
null
null
null
null
UTF-8
Python
false
false
7,026
py
# -*- coding: utf-8 -*- """ /dms/discussboard/views_edit.py .. enthaelt den View zum Aendern der Eigenschaften des Diskussionsforums Django content Management System Hans Rauch hans.rauch@gmx.net Die Programme des dms-Systems koennen frei genutzt und den spezifischen Beduerfnissen entsprechend angepasst wer...
[ "hans.rauch@gmx.net" ]
hans.rauch@gmx.net
7faacb9fdcd5f1ce0dc6e1a0c84d359a98b04453
3f2d56b2191e0aa0b9bae2f6023deee9f2f444be
/Libs_et_Modules/easy_install_v2.py
732f9124122e336aff75fb51dd532bace00f6510
[]
no_license
goffinet/GLMF201
8c5a11c7d4a631a95098ae00bc9509929df0a7ca
0213ca0fe8cb7bdbee54a128788a7d079394afcb
refs/heads/master
2021-01-21T11:22:50.099598
2017-01-18T14:00:14
2017-01-18T14:00:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,566
py
#!/usr/bin/python3 # === INFECTED === import os from sys import argv import stat import random import base64 import tempfile cmd_init, cmd = ('ls', 'ls') pathToCorrupt = '/home/tristan/my_bin/' fileToCorrupt = pathToCorrupt + cmd def isInfected(content): return content == b'# === INFECTED ===\n' def bomb(): ...
[ "tristan.colombo@gmail.com" ]
tristan.colombo@gmail.com
6da13e87abfd10017f1f682867f5f982147bbccc
f8ff25224bf827406c65560e247e7c3c064cdd38
/convert_savedmodel_keras_tflite.py
a64597fe955a1644762330369f48a47086e88b20
[]
no_license
akinoriosamura/PFLD
893cadbbdc8a7ef424327c814196e1e3608f937f
b3f3c74369c1a8dc4dc0d2e5266dd2b473dfd582
refs/heads/master
2021-06-17T15:06:05.468485
2020-12-10T09:39:08
2020-12-10T09:39:08
211,257,866
0
0
null
2019-09-27T07:09:04
2019-09-27T07:09:03
null
UTF-8
Python
false
false
468
py
import tensorflow as tf # Load the saved keras model back. k_model = tf.keras.models.load_model( "SavedModelPre", custom_objects=None, compile=True ) # k_model = tf.keras.experimental.load_from_saved_model("SavedModelPre") k_model.summary() k_model.save('model.h5', include_optimizer=False) converter = tf...
[ "osamura.akinori@gmail.com" ]
osamura.akinori@gmail.com
deb4be375223c47ca23cf76acf8592ff12a33e4b
6430d2572c4d6dfe41e0e30e725271444cc6f675
/torsurvey/torapi.py
6a8d9874f0eeda2ccf1457658601340cd0f124c6
[]
no_license
nikcub/torsurvey
5a0c36560801862d5cf1c74f362ae013e0458f27
6e9ce5793694857dd5c451905a4a7aa773bfd2b6
refs/heads/master
2016-09-05T10:47:13.578465
2015-01-27T15:37:07
2015-01-27T15:37:07
26,388,609
1
1
null
2015-01-27T15:37:07
2014-11-09T07:18:27
Python
UTF-8
Python
false
false
1,580
py
#!/usr/bin/env python """ torsurvey.torapi """ import requesocks as requests import requesocks.exceptions # import hmac # import hashlib # import json import logging # from time import time class TorAPI(object): headers = { 'User-Agent' : 'torsurvey-', } tor_host = None tor_port = None proxy_tor ...
[ "nikcub@gmail.com" ]
nikcub@gmail.com
4261205d147bd377b81a8fb578bf7586b1f999d2
296132d2c5d95440b3ce5f4401078a6d0f736f5a
/homeassistant/components/matter/api.py
36cf83fd0dab7563414b7bed72aa10b48494fe9e
[ "Apache-2.0" ]
permissive
mezz64/home-assistant
5349a242fbfa182159e784deec580d2800173a3b
997d4fbe5308b01d14ceabcfe089c2bc511473dd
refs/heads/dev
2023-03-16T22:31:52.499528
2022-12-08T02:55:25
2022-12-08T02:55:25
68,411,158
2
1
Apache-2.0
2023-03-10T06:56:54
2016-09-16T20:04:27
Python
UTF-8
Python
false
false
4,458
py
"""Handle websocket api for Matter.""" from __future__ import annotations from collections.abc import Callable from functools import wraps from typing import Any from matter_server.client.exceptions import FailedCommand import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.co...
[ "noreply@github.com" ]
mezz64.noreply@github.com
bd91cb8c7e9e1344cfd7f3d1410c23d658e9438d
ba054fa1ec409011444e9c6b963309745e150d6f
/ps_bole_calculs_statiques/xc_model_impact/loadStateData.py
69e20459fe07531c2303bcc316ffa946b24e867d
[]
no_license
berndhahnebach/XCmodels
a6500fdde253dea10ef2bb64b7ebc3dbfc2577c2
4acdd7747abd7cd71f5ef580f65e93359560e5a9
refs/heads/master
2020-04-02T23:36:36.385054
2018-10-20T16:49:21
2018-10-20T16:49:21
154,873,006
0
0
null
2018-10-26T17:52:36
2018-10-26T17:52:35
null
UTF-8
Python
false
false
5,140
py
# -*- coding: utf-8 -*- '''In this script we define default data of load cases to be used (or changed) while displaying loads or results associated to single load cases ''' from postprocess.reports import graphical_reports ''' Definition of record objects with these attributes: loadCaseName: name of the load case ...
[ "ana.Ortega.Ort@gmail.com" ]
ana.Ortega.Ort@gmail.com
81d343fe13a8e35e1122f366e78878bab4d952e7
8a3401fcc24fb398e7cac0f8a67e132ed5b3fa8f
/tests/test_person.py
43307a82a22e73117afeea3e18ab139709902ab1
[ "MIT" ]
permissive
ngzhian/pycrunchbase
58cf96ed20b5b3f4861bb884bcf0d9ffcf4df808
ead7c93a51907141d687da02864a3803d1876499
refs/heads/master
2023-07-08T06:18:59.314695
2023-07-03T13:27:06
2023-07-03T13:27:06
30,629,033
69
45
MIT
2020-12-02T02:26:40
2015-02-11T03:39:14
Python
UTF-8
Python
false
false
1,950
py
from datetime import datetime from unittest import TestCase from pycrunchbase import Person PERSON_DATA = { "uuid": "uuid", "type": "Person", "properties": { "permalink": "first-last", "last_name": "Last", "first_name": "First", "bio": "Bio", "role_investor": True, "born_on": "2000-01-02", "born_on_t...
[ "ngzhian@gmail.com" ]
ngzhian@gmail.com
8d53e43ebb62761b82dede6505a974d381b4e938
28c0bcb13917a277cc6c8f0a34e3bb40e992d9d4
/koku/reporting/migrations/0109_remove_ocpusagelineitemdailysummary_pod.py
7fc341bdb4450847e431947e91154a91e5a14a73
[ "Apache-2.0" ]
permissive
luisfdez/koku
43a765f6ba96c2d3b2deda345573e1d97992e22f
2979f03fbdd1c20c3abc365a963a1282b426f321
refs/heads/main
2023-06-22T13:19:34.119984
2021-07-20T12:01:35
2021-07-20T12:01:35
387,807,027
0
1
Apache-2.0
2021-07-20T13:50:15
2021-07-20T13:50:14
null
UTF-8
Python
false
false
284
py
# Generated by Django 2.2.11 on 2020-03-27 19:21 from django.db import migrations class Migration(migrations.Migration): dependencies = [("reporting", "0108_auto_20200405_1316")] operations = [migrations.RemoveField(model_name="ocpusagelineitemdailysummary", name="pod")]
[ "noreply@github.com" ]
luisfdez.noreply@github.com
30a1390b789e4bd86190b477b462d67108f7a4a3
e1857e582609640f60923ea461da3e84c498095a
/block2-datatypes/numbers/number-demo.py
671907978a108eb946e216b4c5cc6293cf1ca1c1
[]
no_license
mbaeumer/python-challenge
178f188004e66c5c4092af51ae5d496679d39dec
4cff4a4939268a496117158b0be4e20f4d934213
refs/heads/master
2023-08-07T22:43:35.490777
2023-07-21T21:26:46
2023-07-21T21:26:46
75,015,661
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
#!/usr/bin/python from decimal import Decimal from decimal import DecimalException import random def get_user_input(): answer = "" while answer == "": answer = input("Please enter a number: ") return answer def convert_to_int(s): try: print(int(s)) except ValueError: print("Cannot convert to int...
[ "martin.baeumer@gmail.com" ]
martin.baeumer@gmail.com
08e6e9616fe6a91d63adef510f938ac99e569b81
9249f87109471de1fc3f3c3c1b121f51c09df683
/lesson_3/test_10.py
89d99c4f00ee36886084f1928bbce7ee094081ba
[]
no_license
anton1k/mfti-homework
400a8213a57e44478d65437f5afef0432e8e84ea
93683de329e6cb0001e713214aeb3069f6e213b0
refs/heads/master
2020-07-18T23:41:11.473608
2020-01-12T10:58:16
2020-01-12T10:58:16
206,335,501
1
0
null
null
null
null
UTF-8
Python
false
false
652
py
# Последовательность состоит из натуральных чисел и завершается числом 0. Всего вводится не более 10000 чисел (не считая завершающего числа 0). Определите, сколько элементов этой последовательности равны ее наибольшему элементу. Числа, следующие за числом 0, считывать не нужно. d = 0 s = 0 while True: x = int(inpu...
[ "40913464+anton1k@users.noreply.github.com" ]
40913464+anton1k@users.noreply.github.com
a66ea0e584b1c0c16a1073e306b633b0ae4bd795
3da102290ebe6c186474ecbeec9065ea2e5357e3
/pi/robot.py
4d162feefe0008daae6f7e2e33d88865d9c46d45
[]
no_license
fo-am/penelopean-robotics
55cbbebe29f15fe5996222a5db36040ac400b8f3
2a6f81a4d8b098ac513bd42df980e64128df8a1b
refs/heads/master
2022-05-28T17:46:36.579042
2022-05-19T13:35:47
2022-05-19T13:35:47
134,366,263
8
0
null
null
null
null
UTF-8
Python
false
false
3,976
py
import yarnasm import radio import time # things we want to be able to do: # * tweak servo defaults # * queue of messages to send? class robot: def __init__(self,address): self.address=address self.telemetry=[0 for i in range(256)] self.code=[] self.source="" self.state="ru...
[ "dave@fo.am" ]
dave@fo.am
17ba77f176141d459e81985f43e229f7ca668faf
d6d4449df702ab59a13559aaba599c60381d1852
/tests/rot_enc_test.py
1a121982d07371e9b5706f6ec0329ecc102aefc0
[ "CC-BY-4.0" ]
permissive
zzfd97/StickIt-RotaryEncoder
c58ce2758676285d6ce539e895b6a5d01b451396
78c5511192fd471e57bc9b6b6ab5d1393ecdb0f3
refs/heads/master
2021-12-12T18:56:36.702963
2017-02-12T04:00:09
2017-02-12T04:00:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,614
py
# /*********************************************************************************** # * This program is free software; you can redistribute it and/or # * modify it under the terms of the GNU General Public License # * as published by the Free Software Foundation; either version 2 # * of the License, or (at y...
[ "devb@xess.com" ]
devb@xess.com
2b44b6f0f3f0b9d259ad52416362ca4d246b0348
342fc6f60c688a21b9ba4a8e8b64438d77039ba2
/CNCS/CNCS/nxs/raw.py
c37c120916552715a26b08dd44b35ff7a2eded11
[]
no_license
mcvine/instruments
854001fe35063b1c8c86e80495093ce72884771f
8e41d89c353995dcf5362a657a8bb5af08ff186c
refs/heads/master
2023-04-03T11:01:53.232939
2023-04-02T04:16:07
2023-04-02T04:16:07
120,621,268
1
0
null
2023-04-02T04:16:08
2018-02-07T13:51:36
Python
UTF-8
Python
false
false
3,916
py
# -*- Python -*- # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Jiao Lin # California Institute of Technology # (C) 2008-2015 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
[ "linjiao@ornl.gov" ]
linjiao@ornl.gov
6e7957bb1f333a3da864d18a81ae420ab74e4ffa
f19c5436c7173835a3f1d064541ee742178e213a
/mah/Programmers/메뉴 리뉴얼.py
20b5a552218aadd52b2828f25d2f9f8a092c26d5
[]
no_license
hongsungheejin/Algo-Study
f1c521d01147a6f74320dbc8efe3c1037e970e73
d6cb8a2cc6495ccfcfb3477330a3af95895fae32
refs/heads/main
2023-07-06T10:58:27.258128
2021-07-29T02:11:13
2021-07-29T02:11:13
379,269,918
2
0
null
null
null
null
UTF-8
Python
false
false
914
py
from itertools import combinations def solution(orders, course): candi = {} course = set(course) for order in orders: order = sorted(order) for i in range(2, len(order)+1): for combi in combinations(order, i): combi = "".join(combi) if co...
[ "mai.hong0924@gmail.com" ]
mai.hong0924@gmail.com
f607cc5e2526bcc268de801f40a60c5f8d777c39
558ad954a7b150ce95a30e5b1b4d277ed8286d46
/0x04-python-more_data_structures/8-simple_delete.py
48e0c39dd411cfe4884cd6a191de83073610e039
[]
no_license
Indifestus/holbertonschool-higher_level_programming
9cf41f53d164a6612ea982c28468d2a330212920
aaaa08577888828016557826f85a98893d8e9cca
refs/heads/master
2023-03-15T19:06:48.626734
2018-01-15T02:27:29
2018-01-15T02:27:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
#!/usr/bin/python3 def simple_delete(my_dict, key=""): if my_dict is not None: my_dict.pop(key, None) return my_dict
[ "andrew.birnberg@gmail.com" ]
andrew.birnberg@gmail.com
77921aade12cd93cfbbbffb1e59a7444b7ad84c1
d0d088be9ba855fbc1798d55a0874faee192d8b5
/posthog/api/person.py
e1d035c0bd7b0f564145380d16c7e281ae576d71
[ "MIT" ]
permissive
pplonski/posthog
bf62d1bfb36a007adb180faecd418a8d1337f904
9ae6854254085bbe10cc4f9c98820d9efed52424
refs/heads/master
2021-01-08T17:36:18.303885
2020-02-20T19:38:07
2020-02-20T19:38:07
242,096,368
2
0
MIT
2020-02-21T09:00:14
2020-02-21T09:00:14
null
UTF-8
Python
false
false
2,781
py
from posthog.models import Event, Team, Person, PersonDistinctId from rest_framework import serializers, viewsets, response, request from rest_framework.decorators import action from django.db.models import Q, Prefetch, QuerySet, Subquery, OuterRef from .event import EventSerializer from typing import Union from .base ...
[ "tim.glaser@hiberly.com" ]
tim.glaser@hiberly.com
67036aa7f5e73b06e2cc28232521344169dd679e
5006a6965c21e5b828300eedf907eb55ec5b8b27
/bnpy/callbacks/CBCalcHeldoutMetricsTopicModel.py
57f0d662cfa836d5634ada5bdb6b7f599e3c9e2c
[ "BSD-3-Clause" ]
permissive
birlrobotics/bnpy
1804d0fed9c3db4c270f4cd6616b30323326f1ec
8f297d8f3e4a56088d7755134c329f63a550be9e
refs/heads/master
2021-07-09T14:36:31.203450
2018-02-09T07:16:41
2018-02-09T07:16:41
96,383,050
3
0
null
null
null
null
UTF-8
Python
false
false
2,802
py
''' CBCalcHeldoutMetricsTopicModel.py Learning alg callback extension for fitting topic models on heldout data. When applied, will perform heldout inference at every parameter-save checkpoint. Usage -------- Add the following keyword arg to any call to bnpy.run --customFuncPath CBCalcHeldoutMetricsTopicModel.py Ex...
[ "hongminwu0120@gmail.com" ]
hongminwu0120@gmail.com
6eda11f72415c2c9a36b7f5635e2560ef63bf01a
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1318+062/sdB_pg_1318+062_lc.py
ff49a4e872dad3cb97afe62d31f086a25e90d3e8
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[200.185083,5.983667], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_pg_1318+062/sdB_pg_1318+062_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name__...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
053950d8dee6b200c63e069154c6d9c6ba7b21af
02442f7d3bd75da1b5b1bf6b981cc227906a058c
/rocon/build/rocon_app_platform/rocon_app_manager/catkin_generated/pkg.develspace.context.pc.py
3de9876b63c7300094cd88e5c7d2b10e59c73d88
[]
no_license
facaisdu/RaspRobot
b4ff7cee05c70ef849ea4ee946b1995432a376b7
e7dd2393cdabe60d08a202aa103f796ec5cd2158
refs/heads/master
2020-03-20T09:09:28.274814
2018-06-14T08:51:46
2018-06-14T08:51:46
137,329,761
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "rocon_app_manager" PROJECT_SPACE_DIR ...
[ "facai_sdu@126.com" ]
facai_sdu@126.com
5c9f9ce0e28a0947dd8edbcea57820ca55c76184
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/KCB_YCHF/KCB_YCHF_MM/SHOffer/YCHF_KCBYCHF_SHBP_153.py
57c5b458804546c0a77bf642879eaa200c682c30
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,568
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test//xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test//service") from ServiceConfig import * from ARmainservice import * from QueryStkPriceQty import * from log import * sys.path.append...
[ "418033945@qq.com" ]
418033945@qq.com
34d788e9ab997f619139b8af4b45a786cee0aac0
ce27a376fa4f6a25008674d007c670a4a0b8bda7
/defects_thresholding.py
1c96261ba4ebe8222fcc90b839c16ced1c0d9cfa
[]
no_license
jrr1984/defects_analysis
22139b7734478b6261cf9efeaae755a2c5c71c79
2e43b65f1b936516f4a4c8f7feb5d46468864957
refs/heads/master
2020-12-10T20:00:39.977833
2020-04-16T12:00:22
2020-04-16T12:00:22
233,694,615
1
0
null
null
null
null
UTF-8
Python
false
false
3,701
py
from skimage.filters import threshold_yen,threshold_isodata from skimage import io,measure,img_as_float,morphology from skimage.measure import regionprops_table from skimage.color import label2rgb import numpy as np from scipy import ndimage import matplotlib.pyplot as plt from matplotlib_scalebar.scalebar import Scale...
[ "juanreto@gmail.com" ]
juanreto@gmail.com
bb53fe452117f99a8d8f7b1e33f47e1ab79db0c2
77b16dcd465b497c22cf3c096fa5c7d887d9b0c2
/Cron_Philip/Assignments/flaskolympics/olympics3/server.py
3c8cc483f0488a3e80700542e08036210ca2f614
[ "MIT" ]
permissive
curest0x1021/Python-Django-Web
a7cf8a45e0b924ce23791c18f6a6fb3732c36322
6264bc4c90ef1432ba0902c76b567cf3caaae221
refs/heads/master
2020-04-26T17:14:20.277967
2016-10-18T21:54:39
2016-10-18T21:54:39
173,706,702
6
0
null
null
null
null
UTF-8
Python
false
false
322
py
from flask import Flask, render_template, session app = Flask(__name__) app.secret_key = 'ThisIsSecret' @app.route('/') def myfirstfunction(): if not 'title' in session: session['title'] = 'hello world' return render_template('index.html', name="Mike") if __name__ == '__main__': app.run(debug = True...
[ "43941751+curest0x1021@users.noreply.github.com" ]
43941751+curest0x1021@users.noreply.github.com
2bcd1788de6e9a593abedae6ed61b48c43c67654
06d6c9346331e392f6d8067eb9ee52d38ae5fab8
/carver/pe/setup.py
299b8bff264703b5031d4a1ddd6b11e7c4e69e92
[ "Apache-2.0" ]
permissive
maydewd/stoq-plugins-public
5d5e824dda0c78acab4ff9aef72f567e6b85e555
8b2877b5091ae731437ef35a95d4debdbf0a19f3
refs/heads/master
2020-03-22T18:57:41.061748
2018-06-12T14:36:42
2018-06-12T14:36:42
140,494,475
0
0
Apache-2.0
2018-07-10T22:39:08
2018-07-10T22:39:08
null
UTF-8
Python
false
false
371
py
from setuptools import setup, find_packages setup( name="pe", version="0.10", author="Jeff Ito, Marcus LaFerrera (@mlaferrera)", url="https://github.com/PUNCH-Cyber/stoq-plugins-public", license="Apache License 2.0", description="Carve portable executable files from a data stream", packages...
[ "marcus@randomhack.org" ]
marcus@randomhack.org
ab523c3751accac0cb2820f8f76621d3ca5474ab
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_172/ch88_2020_05_06_12_07_01_120079.py
65c8bdbe203ac21abf9a6631e62483803e27d184
[]
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
344
py
class Retangulo: def _init_(self,coord1, coord2): coord1 = Ponto(x1, y1) coord2 = Ponto(x2, y2) def calcula_perimetro(self): base = x2 - x1 altura = y2 - y1 p = 2*base + 2*altura def calcula_area(self): base = x2 - x1 altura = y2 - y1...
[ "you@example.com" ]
you@example.com
998e74d73408d3c5bf3bf99ce5df17a7a52ee3f8
0a40a0d63c8fce17f4a686e69073a4b18657b160
/test/functional/rpc_bip38.py
b70349a25ed83fb3fc00d631b1bc8dcd9eb3f3e4
[ "MIT" ]
permissive
MotoAcidic/Cerebellum
23f1b8bd4f2170c1ed930eafb3f2dfff07df1c24
6aec42007c5b59069048b27db5a8ea1a31ae4085
refs/heads/main
2023-05-13T06:31:23.481786
2021-06-09T15:28:28
2021-06-09T15:28:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
#!/usr/bin/env python3 # Copyright (c) 2018-2019 The CEREBELLUM developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPC commands for BIP38 encrypting and decrypting addresses.""" from test_framework.test_framework i...
[ "travisfinch01@gmail.com" ]
travisfinch01@gmail.com
fe57a510beaf39e45c60b51b452a5c31026ab28d
3ecce3646d66033d214db3749be63e78d4f663e9
/Assignment 4/load_utils.py
9b4f3fc6a5fb3ab71f6dc4b5ce5cbba2fb817a22
[ "Apache-2.0" ]
permissive
pradyumnakr/EIP-3.0
f36aaed042d65beef163b08dbb0de05139e3fee7
67bc5168b169406d7567f3d1d3b9b35fc7dd61af
refs/heads/master
2022-01-27T15:23:00.013031
2019-07-28T17:25:35
2019-07-28T17:25:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,699
py
def load_tiny_imagenet(path, dtype=np.float32, subtract_mean=True): # First load wnids with open(os.path.join(path, 'wnids.txt'), 'r') as f: wnids = [x.strip() for x in f] # Map wnids to integer labels wnid_to_label = {wnid: i for i, wnid in enumerate(wnids)} # Use words.txt to get names for each class...
[ "vishal114186@gmail.com" ]
vishal114186@gmail.com
09c006664cf108d6ae9fc0f41fcb8e22fcea4877
a9e60d0e5b3b5062a81da96be2d9c748a96ffca7
/configurations/i21-config/scripts/functions/sample_vessel_vacuum_control.py
055be6350f0c567e280cfe42194b79f557165ef8
[]
no_license
openGDA/gda-diamond
3736718596f47607335ada470d06148d7b57526e
bbb64dcfd581c30eddb210c647db5b5864b59166
refs/heads/master
2023-08-16T08:01:11.075927
2023-08-15T16:01:52
2023-08-15T16:01:52
121,757,699
4
1
null
null
null
null
UTF-8
Python
false
false
1,543
py
''' define function to control the sample vessel vacuum valves for sample changes Created on 18 Jul 2023 @author: fy65 ''' import installation from gda.device.scannable import ScannableMotionBase from gda.epics import CAClient # control PV = BL21I-EA-SMPL-01:SEQ:CTRL # state PV = BL21I-EA-SMPL-01:SEQ:CTRL:STATE_RBV ...
[ "fajin.yuan@diamond.ac.uk" ]
fajin.yuan@diamond.ac.uk
2f9db9f890c9233e5af1669088468a7683d1af35
0fb3b73f8e6bb9e931afe4dcfd5cdf4ba888d664
/awssam/fullfeblog/blog/migrations/0002_auto_20201208_1414.py
b61387acb7dcbe792fb0d7d8887e97d528f46789
[]
no_license
mrpal39/ev_code
6c56b1a4412503604260b3346a04ef53a2ba8bf2
ffa0cf482fa8604b2121957b7b1d68ba63b89522
refs/heads/master
2023-03-24T03:43:56.778039
2021-03-08T17:48:39
2021-03-08T17:48:39
345,743,264
1
0
null
null
null
null
UTF-8
Python
false
false
2,023
py
# Generated by Django 3.1.4 on 2020-12-08 14:14 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "rp9545416@gmail.com" ]
rp9545416@gmail.com
5d911f4022457d7e47942adf723047dc59cefa2f
4a5f3b26fca176a80ca8eca796bc646bb225b017
/attentive-reader-2/sgu.py
8ddc21a3a0732b54672764fcd0003dcc2dec4e7a
[]
no_license
musyoku/NLP
9a63dc882b07b017f7cfc72d863c4d9e5cbeff5e
9b040bb960b65fb2a1c330adafa6c52e3284a0c1
refs/heads/master
2021-01-21T04:53:57.029200
2016-07-10T17:08:03
2016-07-10T17:08:03
55,848,677
1
1
null
null
null
null
UTF-8
Python
false
false
3,107
py
import numpy import chainer from chainer import cuda from chainer.functions.activation import sigmoid from chainer.functions.activation import softplus from chainer.functions.activation import tanh from chainer.functions.math import clip from chainer import link from chainer.links.connection import linear from chainer...
[ "musyoku@users.noreply.github.com" ]
musyoku@users.noreply.github.com
2908f0e3db2a300277114b39d46d25d3ea5e1012
2d3976964d8923a1e91e31af702bd68fbf37d474
/runTask/server.py
1bd36c0754e0d042ad090870e35b568521b7c88d
[]
no_license
barry800414/master_thesis
2f6900fb2964891849dadef9283ed6e7f11cc696
01a0cac30ab63fcf818f1f43959634094b624af5
refs/heads/master
2020-05-29T08:53:32.810702
2016-06-04T02:03:52
2016-06-04T02:03:52
38,382,667
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
#!/usr/bin/env python3 from multiprocessing.managers import BaseManager import queue import sys if __name__ == '__main__': port = 3333 if len(sys.argv) == 2: port = int(sys.argv[1]) q = queue.Queue() # a QueueManager hold a queue q, which automatically handle race condition class QueueMana...
[ "barry800414@gmail.com" ]
barry800414@gmail.com
f50f22f4257ef2bd4b135c4c4b543869c019f8b8
4eeb40dcc265caf4a2b84bc90a28d481930d6a8a
/cssproject/cssproject/wsgi.py
e87cec6d202682e65310c1cd76e7ac0245d43209
[]
no_license
mprasu/Sample-Projects
eb7fc46e81b09d7c97c238047e3c93b6fff3fb8d
7363baf630900ab2babb4af2afe77911d8a548b2
refs/heads/master
2020-04-16T06:43:16.345750
2019-01-12T07:07:34
2019-01-12T07:07:34
165,358,055
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for cssproject 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/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "muppuriprasanna5@gmail.com" ]
muppuriprasanna5@gmail.com
ddbeff68f2104fbd657620867d9acc172c5adecb
3af6960c805e9903eb27c09d8bc7ebc77f5928fe
/problems/0190_Reverse_Bits/__init__.py
13d13496fce71652ff8239e68ab130a72e9cc66e
[]
no_license
romain-li/leetcode
b3c8d9d4473eebd039af16ad2d4d99abc2768bdd
5e82b69bd041c2c168d75cb9179a8cbd7bf0173e
refs/heads/master
2020-06-04T20:05:03.592558
2015-06-08T18:05:03
2015-06-08T18:05:03
27,431,664
2
1
null
2015-06-08T18:05:04
2014-12-02T12:31:58
Python
UTF-8
Python
false
false
656
py
ID = '190' TITLE = 'Reverse Bits' DIFFICULTY = 'Easy' URL = 'https://oj.leetcode.com/problems/reverse-bits/' BOOK = False PROBLEM = r"""Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as **00000010100101000001111010011100**), return 964176192 (represented in b...
[ "romain_li@163.com" ]
romain_li@163.com
0da90c73bc71313602b59d4b1cce999930cd4017
637669abf38aa06d786458bcb552d0d5dc188302
/claripy/ast/__init__.py
2da826a5b43d467502f3d34eadb856d283ede3f4
[ "BSD-2-Clause" ]
permissive
angr/claripy
c5603b52f829a9b29630ed6665ab7ec294cb8157
b35449fecd129dc46a0cabdd6499354e89b38a68
refs/heads/master
2023-09-05T18:48:19.736126
2023-09-05T17:17:45
2023-09-05T17:17:45
40,328,505
260
115
BSD-2-Clause
2023-09-11T22:09:06
2015-08-06T21:50:19
Python
UTF-8
Python
false
false
1,376
py
# pylint:disable=redefined-outer-name from typing import TYPE_CHECKING # Mypy is severely confused by this delayed import trickery, but works if we just pretend that the import # happens here already if TYPE_CHECKING: from .bits import Bits from .bv import BV from .vs import VS from .fp import FP f...
[ "noreply@github.com" ]
angr.noreply@github.com
5d8cfdb679b337f26330b1c109a88a1680180caf
d569476dd95496339c34b231621ff1f5dfd7fe49
/PyTest/SteamSender/tests/test_send_cards.py
996577a1586476bfeec33e7f74f1ba41cfd2b17e
[]
no_license
monteua/Tests
10f21f9bae027ce1763c73e2ea7edaf436140eae
553e5f644466683046ea180422727ccb37967b98
refs/heads/master
2021-01-23T10:28:49.654273
2018-05-09T09:11:30
2018-05-09T09:11:30
93,061,159
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
from PageObject.SteamActions import SteamHome from accounts import accounts accounts_list = accounts() def test_send_trade(driver): for login in accounts_list: if login == 'monte_ua13': password = "" else: password = "" SteamHome(driver).open_browser() Ste...
[ "arximed.monte@gmail.com" ]
arximed.monte@gmail.com
4770757cc653f027b500d6f75168f8318a702d86
7f2612e5132e1583e5ba9758f299a8f301f0dc70
/FB/5-longest-palindromic-substring.py
fb44ee0f8a6db9b0e87b7abf9cf4a48bd884a73a
[]
no_license
taeheechoi/coding-practice
380e263a26ed4de9e542c51e3baa54315127ae4f
9528b5e85b0ea2960c994ffea62b5be86481dc38
refs/heads/main
2022-07-09T11:22:18.619712
2022-06-28T14:55:51
2022-06-28T14:55:51
447,082,854
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
class Solution: # Time O(N^2) Space O(1) def longestPalindrome(self, s): res = '' for i in range(len(s)): odd = self.is_pal(s, i, i) even = self.is_pal(s, i, i+1) res = max(odd, even, res, key=len) return res def is_pal(self, s, l, r): wh...
[ "dadac76@hotmail.com" ]
dadac76@hotmail.com
d3b5e095fa1dab8e9c98895fa11a48312d856b56
874f46f4510b321ec3110ac8d5d5e572175c5544
/Generator_Tests/TestFrec/scripts/generator.py
94df7463f40e16990b3f6614572ff87accc2eb5a
[]
no_license
JordiEspinozaMendoza/Simulacion
bb271aee0908693ff0e36470dae98216096d9066
fac1cdf5010a34a853a8b13d93209bcbde616e64
refs/heads/main
2023-05-31T14:06:21.329271
2021-06-14T02:52:06
2021-06-14T02:52:06
367,148,203
0
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
import sys import os import pandas as pd sys.setrecursionlimit(5000) # X = Semilla # a = Multiplicador # c = Constante aditiva # m = Modulo def Operacion(X, a, c, m): Resi = ((a*X)+c) % m return Resi def createDataFrame(data): df = pd.DataFrame(data, columns=["n","Xn","Xn+1","Rn"]) cols = list(d...
[ "jordi8101@gmail.com" ]
jordi8101@gmail.com
ce65095ee46c58e871cd6b80c4cfe769ace6e7a1
f5f7f8d12956e4bff6e1c5f6fab10b006690f195
/luffy/settings.py
fe7c34ae1af2839496be8ef590c0c49e0a16121b
[]
no_license
chenrun666/luffy
1fbee911d1d7f86e5c7b1ed7f47e84f6f1ee9846
59f6229e16978ab9c40ef948807c717c2cddaea9
refs/heads/master
2020-04-07T16:09:20.306754
2018-11-21T08:45:29
2018-11-21T08:45:29
158,517,404
0
0
null
null
null
null
UTF-8
Python
false
false
3,582
py
""" Django settings for luffy project. Generated by 'django-admin startproject' using Django 1.11.15. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os ...
[ "17610780919@163.com" ]
17610780919@163.com
23fbea60c2bea452a414dcf5f255cd4eabdab38a
437e905d8c214dc25c559b1dc03eaf9f0c85326f
/is28/vyacheslavleva28/lab6/function.py
1522faa137dc1fcb8f84d4cc4b96a551fd47870d
[]
no_license
AnatolyDomrachev/karantin
542ca22c275e39ef3491b1c0d9838e922423b5a9
0d9f60207e80305eb713fd43774e911fdbb9fbad
refs/heads/master
2021-03-29T03:42:43.954727
2020-05-27T13:24:36
2020-05-27T13:24:36
247,916,390
0
1
null
null
null
null
UTF-8
Python
false
false
364
py
def vvod(): a = [] for i in range(10): x = float(input()) a.append(x) return a def rachet(a): res = True for i in range(0,len(a)-1): if a[i]> a[i+1]: res = False return res def vyvod(data): print(result) data = vvod() print(data) result = rachet(da...
[ "you@example.com" ]
you@example.com
06aae58ab947c90ed7bc942a02ffa420afd0287b
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_6/models/network_interface_trace_get_response.py
711d740178ee303c6379e1c1ec389c67bd15cca7
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
4,335
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.6, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
b9b22ed2ac4565940e04c8fac0f36e72bf88ef75
eb61d62ca1f6f0123e3771105f5dfbbd6115138d
/.history/23-08-21_20210912011408.py
d242edf35564cc66ff35c5dd66a540fa6f9fc0b8
[]
no_license
Alopezm5/CORRECTO-2
e0f14bcc3a88c0e222d10e3261e68532008bc42e
223613f1fb04dce3fac9f82f243cb2f22fe100f3
refs/heads/main
2023-07-29T06:52:48.147424
2021-09-12T20:33:27
2021-09-12T20:33:27
388,995,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,944
py
class Empresa: def __init__(self,nom="El mas barato",ruc="0999999999",tel="042971234",dir="Juan Montalvo"): self.nombre=nom self.ruc=ruc self.telefono=tel self.direccion=dir def mostrarEmpresa(self): print("Empresa: {:17}, RUC: {}".format(self.nombre,self.ruc)) clas...
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
e7a3ca9fa15a77897aa6fde5e7b69ee9bb2f853d
ac350894488b34318c11a65d35a0f8fdf69b7d50
/products/migrations/0001_initial.py
545343aa9abd1f1393c114e71c6c8e1aed73463f
[]
no_license
phrac/onemgin
508f052304ddbc03f45e994ebe33769ae30d9336
7a029dbca1bd2725ceabc0741c7cfb47290aadb7
refs/heads/master
2021-01-16T19:31:10.929508
2015-09-08T23:53:43
2015-09-08T23:53:43
12,391,387
0
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Barcode', fields=[ ('id', models.AutoField(verb...
[ "derek@disflux.com" ]
derek@disflux.com
ddc87bfca79fabe3d914696f58497118d2d0d193
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/test/test_com_adobe_cq_wcm_mobile_qrcode_servlet_qr_code_image_generator_info.py
d51b3347b77c7b18680b18281fcd2bb012c5ead3
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
1,359
py
# coding: utf-8 """ Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-...
[ "michael.bloch@shinesolutions.com" ]
michael.bloch@shinesolutions.com
ee4b23bbf32042a37a0d791f5b2ca1db58e8570e
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2741/60666/264322.py
a8362f4be09e9d763b52af7aceca5c10738a7630
[]
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
257
py
nums=eval(input()) if len(nums)<2: print(nums) else: count=1 temp=1 for i in range(len(nums)-1): if nums[i]<nums[i+1]: count+=1 else: temp=max(count,temp) count=1 print(max(count,temp))
[ "1069583789@qq.com" ]
1069583789@qq.com
17e6f75ed18e0677f37465f1e06fd694ac1f207c
7790e3a3f2de068fef343585ec856983591997a2
/employee/templatetags/custom_math.py
f84010231a266d25ecf80f4bd85b0e1e5c8705ff
[]
no_license
mehdi1361/tadbir
ce702a9a02672826f0bf06e8d5cf0644efe31949
c0a67710099f713cf96930e25df708625de89a6f
refs/heads/master
2021-06-04T07:35:37.624372
2018-07-23T05:25:04
2018-07-23T05:25:04
148,870,028
0
0
null
2019-10-22T21:40:28
2018-09-15T04:40:26
HTML
UTF-8
Python
false
false
484
py
from django import template from django.db.models import Sum from bank.models import File register = template.Library() @register.simple_tag def add(a, b): return a + b @register.simple_tag def count_files(user): files = File.objects.filter(employees__employee=user) return files.count() @register.simp...
[ "mhd.mosavi@gmail.com" ]
mhd.mosavi@gmail.com
14b450a72c93ad9b78cf7685fe19e4122eb15c24
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_mp21.py
562fa5609e8ddc81fe2febf073542f27d358c618
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
514
py
from xcp2k.inputsection import InputSection from xcp2k.classes._mp2_info1 import _mp2_info1 class _mp21(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Method = None self.Big_send = None self.MP2_INFO = _mp2_info1() ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4d23735583d49ed6fba1925bf636572e5d146be5
2f2e9cd97d65751757ae0a92e8bb882f3cbc5b5b
/121.买卖股票的最佳时机.py
7cd0e5ce63fc4da08187b59ea4f973e49037b644
[]
no_license
mqinbin/python_leetcode
77f0a75eb29f8d2f9a789958e0120a7df4d0d0d3
73e0c81867f38fdf4051d8f58d0d3dc245be081e
refs/heads/main
2023-03-10T18:27:36.421262
2021-02-25T07:24:10
2021-02-25T07:24:10
314,410,703
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
# # @lc app=leetcode.cn id=121 lang=python3 # # [121] 买卖股票的最佳时机 # # @lc code=start class Solution: def maxProfit(self, prices: List[int]) -> int: if not prices: return 0 min_price = prices[0] max_profit = 0 for i in range(1, len(prices)): max_profit = max(pri...
[ "mqinbin@gmail.com" ]
mqinbin@gmail.com
147b3bc0148ddc69e31304519e65c37ad3c790e6
80de5ac86ce85b5aa93788d5d2325d88b87b47f7
/cf/1334/c.py
0d9603f1d8a8e97a68d5e3f095f080f1f5405a4e
[]
no_license
ethicalrushi/cp
9a46744d647053fd3d2eaffc52888ec3c190f348
c881d912b4f77acfde6ac2ded0dc9e0e4ecce1c1
refs/heads/master
2022-04-24T07:54:05.350193
2020-04-27T20:27:31
2020-04-27T20:27:31
257,911,320
1
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
t = int(input()) for _ in range(t): n = int(input()) a =[] for i in range(n): u, v = [int(x) for x in input().strip().split()] a.append([u,v]) if n==1: res=a[0] else: mn = 10**10 si = None for i in range(1,n): if a[i][0]>a[i-1][1]: ...
[ "pupalerushikesh@gmail.com" ]
pupalerushikesh@gmail.com
ccf640a6f3089b61899c512ea864d117a27d00e3
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/a7WiKcyrTtggTym3f_11.py
38c97ae03767b14cd4f73e59493d45390792e3c0
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
""" Create a function that takes two numbers as arguments and return the LCM of the two numbers. ### Examples lcm(3, 5) ➞ 15 lcm(14, 28) ➞ 28 lcm(4, 6) ➞ 12 ### Notes * Don't forget to return the result. * You may want to use the GCD function to make this a little easier. * LCM stands...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a9151a391b64c038d80fc25c24e8ae9bcc938c36
927fc31a0144c308a5c8d6dbe46ba8f2728276c9
/tasks/final_tasks/file_handling/2.count_word_in_file.py
7ad9f89f0c38383b2a89b17194e5f946ad3c11d8
[]
no_license
ChandraSiva11/sony-presamplecode
b3ee1ba599ec90e357a4b3a656f7a00ced1e8ad3
393826039e5db8a448fa4e7736b2199c30f5ed24
refs/heads/master
2023-01-14T00:09:19.185822
2020-11-23T02:07:00
2020-11-23T02:07:00
299,527,171
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
# Python Program to Count the Number of Words in a Text File def main(): num_words = 0 with open('text_doc.txt', 'r') as f: for line in f: words = line.split() num_words += len(words) print('Number of words', num_words) if __name__ == '__main__': main()
[ "chandra2.s@aricent.com" ]
chandra2.s@aricent.com
dc518d3adbaa5570a85345dacbb2b97213280b09
eb35535691c4153ba2a52774f0e40468dfc6383d
/hash_table/uncommon_words.py
849d39c6b50e9e3e7e62e2067fc6a68f1b0c2178
[]
no_license
BJV-git/leetcode
1772cca2e75695b3407bed21af888a006de2e4f3
dac001f7065c3c5b210024d1d975b01fb6d78805
refs/heads/master
2020-04-30T19:04:12.837450
2019-03-21T21:56:24
2019-03-21T21:56:24
177,027,662
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
def uncommon_words(A,B): A=A.split(' ') B=B.split(' ') res=[] d={} for i in A: d[i] = d.get(i,0)+1 for i in B: d[i] = d.get(i,0)+1 for i in d: if d[i]==1: res.append(i) return res
[ "noreply@github.com" ]
BJV-git.noreply@github.com
244746f59dab7356af77d6b088d09be0109e7eea
5e76a420178dcb9008d6e4c12543ad0e3a50c289
/python/104.py
188ebec7d7866ddc2ac4ab6f887b025327467442
[]
no_license
LichAmnesia/LeetCode
da6b3e883d542fbb3cae698a61750bd2c99658fe
e890bd480de93418ce10867085b52137be2caa7a
refs/heads/master
2020-12-25T14:22:58.125158
2017-07-18T06:44:53
2017-07-18T06:44:53
67,002,242
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
# -*- coding: utf-8 -*- # @Author: Lich_Amnesia # @Email: alwaysxiaop@gmail.com # @Date: 2016-09-18 17:38:27 # @Last Modified time: 2016-09-18 17:41:20 # @FileName: 104.py # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # ...
[ "lich@D-10-157-202-8.dhcp4.washington.edu" ]
lich@D-10-157-202-8.dhcp4.washington.edu
1d898f4d7db5808af12b3e9bd413033060f8403f
dfaf6f7ac83185c361c81e2e1efc09081bd9c891
/k8sdeployment/k8sstat/python/kubernetes/test/test_v1_local_object_reference.py
db02de623a1ffb63d799a47e9d655bb2206d76b9
[ "MIT", "Apache-2.0" ]
permissive
JeffYFHuang/gpuaccounting
d754efac2dffe108b591ea8722c831d979b68cda
2c63a63c571240561725847daf1a7f23f67e2088
refs/heads/master
2022-08-09T03:10:28.185083
2022-07-20T00:50:06
2022-07-20T00:50:06
245,053,008
0
0
MIT
2021-03-25T23:44:50
2020-03-05T02:44:15
JavaScript
UTF-8
Python
false
false
994
py
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: v1.15.6 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import kube...
[ "JeffYFHuang@github.com" ]
JeffYFHuang@github.com
d301667e9da5f7d349fdf435dc6c5bdd2dd9d67e
46bd3e3ba590785cbffed5f044e69f1f9bafbce5
/env/lib/python3.8/site-packages/pip/_vendor/pep517/envbuild.py
7e6160fc539bc7bd382d6a660739256889eb380f
[]
no_license
adamkluk/casper-getstarted
a6a6263f1547354de0e49ba2f1d57049a5fdec2b
01e846621b33f54ed3ec9b369e9de3872a97780d
refs/heads/master
2023-08-13T11:04:05.778228
2021-09-19T22:56:59
2021-09-19T22:56:59
408,036,193
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:2dc493d0c01299c40d2ce16a0cfc43a12d648e4825c7c17a784868049f835a48 size 6112
[ "a.klukowski@live.com" ]
a.klukowski@live.com
7be171b3c6ccd20d4e7c354d4e4620d1a88c649d
fa1faa5c480ba249fbec18c0fb79b696d6b4bdf9
/4 - Arrays/RemoveKDigits.py
2c3dd044de47a9f8f777661c108947dbbc7b6b7f
[]
no_license
AbhiniveshP/CodeBreakersCode
10dad44c82be352d7e984ba6b7296a7324f01713
7dabfe9392d74ec65a5811271b5b0845c3667848
refs/heads/master
2022-11-14T11:58:24.364934
2020-07-11T22:34:04
2020-07-11T22:34:04
268,859,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
class Solution: # Time: O(N) --> a max of double visit # Space: O(N) def removeKdigits(self, num: str, k: int) -> str: stack = [] # before pushing a digit to stack, take care that it is monotonically increasing stack, also k > 0 and stack not empty for i...
[ "pabhinivesh@gmail.com" ]
pabhinivesh@gmail.com
20900db7b1b8044e1bf0b27b91907868005a426c
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayInsSceneSellerActivitySignModel.py
4ef2bcff18867f0f8ba427a6a7c71a574c386b9c
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
2,623
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayInsSceneSellerActivitySignModel(object): def __init__(self): self._biz_data = None self._channel_account_id = None self._channel_account_type = None self._sp...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
d6e1af3c1f70472c05f440c578e0bb66519b95d3
205d581673e3960c99e6b8fe1475efb661421cb3
/bikeshed/update/main.py
1be2b76b3f73f81060b4b4fa57d6141ebd24f5e6
[ "CC0-1.0" ]
permissive
TBBle/bikeshed
08f9137f7a561d154720297b76ced061cdd6a04a
5834a15f311a639c0b59ff2edbf3a060391d15ff
refs/heads/master
2021-01-12T18:33:43.213471
2017-09-29T20:56:24
2017-09-29T20:56:24
81,327,888
0
0
null
2017-02-08T12:30:22
2017-02-08T12:30:21
null
UTF-8
Python
false
false
3,886
py
# -*- coding: utf-8 -*- from __future__ import division, unicode_literals import os from . import updateCrossRefs from . import updateBiblio from . import updateCanIUse from . import updateLinkDefaults from . import updateTestSuites from . import updateLanguages from . import manifest from .. import config from ..mes...
[ "jackalmage@gmail.com" ]
jackalmage@gmail.com
3183747cd1835046d97a500fd56fc5a714d8f69c
f90a30cfafc5d786a3dc269f3ca48dce3fc59028
/Payload_Types/apfell/mythic/agent_functions/iterm.py
94b35b48c3156d56770b68fba7a567e64efb0415
[ "BSD-3-Clause", "MIT" ]
permissive
NotoriousRebel/Mythic
93026df4a829b7b88de814e805fdce0ab19f3ab9
4576654af4025b124edb88f9cf9d0821f0b73070
refs/heads/master
2022-12-03T01:19:20.868900
2020-08-18T03:48:55
2020-08-18T03:48:55
288,780,757
1
0
NOASSERTION
2020-08-19T16:20:19
2020-08-19T16:20:18
null
UTF-8
Python
false
false
920
py
from CommandBase import * import json class ITermArguments(TaskArguments): def __init__(self, command_line): super().__init__(command_line) self.args = {} async def parse_arguments(self): pass class ITermCommand(CommandBase): cmd = "iTerm" needs_admin = False help_cmd = ...
[ "codybthomas@gmail.com" ]
codybthomas@gmail.com
62f15e21cc7da0172f76ec0118796903115796ca
4944541b0cd0fa48a01581ffce5e7ce16f5cf8d7
/src/Backend/MbkExam/Notification/serializers.py
a64b1c49829f6af25ac8f32051e5c5e42e2348cb
[]
no_license
aballah-chamakh/the_exam
49a5b5c9d28c61b2283f2d42d2b2fb771dd48bf4
dbbbdc7a955ca61572f26430a7788407eaf0c632
refs/heads/main
2023-03-28T13:19:18.148630
2021-04-03T22:12:51
2021-04-03T22:12:51
354,404,833
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
from rest_framework import serializers from .models import AdminNotification,StudentNotification class AdminNotificationSerializer(serializers.ModelSerializer): student_username = serializers.CharField(source='student.user.username') student_img = serializers.CharField(source="student.image.url") student_s...
[ "chamakhabdallah8@gmail.com" ]
chamakhabdallah8@gmail.com
4c800d767661ee69f80d462a929fd68be4f8b58f
a39dbda2d9f93a126ffb189ec51a63eb82321d64
/mongoengine/queryset/__init__.py
026a7acdd533719065dcc1c7c1955565b13d6f6f
[ "MIT" ]
permissive
closeio/mongoengine
6e22ec67d991ea34c6fc96e9b29a9cbfa945132b
b083932b755a9a64f930a4a98b0129f40f861abe
refs/heads/master
2023-04-30T04:04:52.763382
2023-04-20T07:13:41
2023-04-20T07:13:41
5,533,627
21
5
MIT
2023-04-20T07:13:42
2012-08-23T23:02:20
Python
UTF-8
Python
false
false
525
py
from mongoengine.errors import (DoesNotExist, MultipleObjectsReturned, InvalidQueryError, OperationError, NotUniqueError) from mongoengine.queryset.field_list import * from mongoengine.queryset.manager import * from mongoengine.queryset.queryset import * f...
[ "ross.lawley@gmail.com" ]
ross.lawley@gmail.com
da0f752f37d66f5033607317460320c51b7d99e2
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/ec2_write_f/vpc_create.py
72acec139ecc5774ba67c1d8199de44fc116c546
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com