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
322d450662d582c2c1f19c213517f29168d4ec15
a9f676c06bacee1f8b27e08d3c411c89a69cfd40
/falmer/events/migrations/0031_auto_20180928_1223.py
f7d76238b0effcfd8ed14b357d772ca4cd902f86
[ "MIT" ]
permissive
sussexstudent/falmer
1b877c3ac75a0477f155ce1a9dee93a5ada686d6
ae735bd9d6177002c3d986e5c19a78102233308f
refs/heads/master
2022-12-11T19:40:12.232488
2020-03-20T13:01:47
2020-03-20T13:01:47
88,043,958
2
3
MIT
2022-12-08T03:17:26
2017-04-12T11:24:02
Python
UTF-8
Python
false
false
537
py
# Generated by Django 2.0.8 on 2018-09-28 11:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('events', '0030_brandingperiod_override_listings_root'), ] operations = [ migrations.AlterField( model_name='event', ...
[ "james@brudil.com" ]
james@brudil.com
eaa42c766189d48ffb00f361d854aead4aac7002
1534531d248728e583310214c84cd329cfeb243b
/accelerator/examples/a_dsexample_multipledatasets.py
1539fa2b787d90fd2240e9cfee47148b70491c9b
[ "Apache-2.0" ]
permissive
eBay/accelerator
415a006d18283940661c0f3cbae2c311acc1ffaa
8376d289e39cd90562de7dc2e3cdaa0bf080587b
refs/heads/master
2023-03-10T11:08:58.828517
2022-07-14T19:15:46
2022-07-14T19:15:46
130,265,539
146
30
null
null
null
null
UTF-8
Python
false
false
459
py
def prepare(job): dw1 = job.datasetwriter(name='first') dw2 = job.datasetwriter(name='second') dw3 = job.datasetwriter(name='third') dw1.add('col1', 'int64') dw2.add('col1', 'json') dw3.add('col1', 'number') dw3.add('col2', 'ascii') dw3.add('col3', 'bool') return dw1, dw2, dw3 def analysis(sliceno, prepare_r...
[ "anders@berkeman.org" ]
anders@berkeman.org
41423559ea1814593584b0719e067271b835e2f5
36de14c6b188886df6a284ee9ce4a464a5ded433
/Solutions/0481/0481.py
9cb5c5f805a1753547fb9a793374fca17c61eb5e
[]
no_license
washing1127/LeetCode
0dca0f3caa5fddd72b299e6e8f59b5f2bf76ddd8
b910ddf32c7e727373449266c9e3167c21485167
refs/heads/main
2023-03-04T23:46:40.617866
2023-02-21T03:00:04
2023-02-21T03:00:04
319,191,720
3
0
null
null
null
null
UTF-8
Python
false
false
481
py
# -*- coding:utf-8 -*- # Author: washing # DateTime: 2022/10/31 07:56 # File: 0481.py # Desc: class Solution: def magicalString(self, n: int) -> int: if n <= 3: return 1 l = [1,2,2] gai = 1 idx = 2 for _ in range(2, n): l.extend([gai] * l[idx]) ...
[ "1014585392@qq.com" ]
1014585392@qq.com
174372ef8d2ca43068f5360b308aef75060ce3fb
4766d241bbc736e070f79a6ae6a919a8b8bb442d
/archives/20190519python/0977. Squares of a Sorted Array.py
31e803b0f0a7a1799a41547fd8cdb2db90103d5c
[]
no_license
yangzongwu/leetcode
f7a747668b0b5606050e8a8778cc25902dd9509b
01f2edd79a1e922bfefecad69e5f2e1ff3a479e5
refs/heads/master
2021-07-08T06:45:16.218954
2020-07-18T10:20:24
2020-07-18T10:20:24
165,957,437
10
8
null
null
null
null
UTF-8
Python
false
false
1,211
py
class Solution: def sortedSquares(self, A: List[int]) -> List[int]: if not A: return A if A[0]>=0: return self.getSquares(A) if A[0]<0: if A[-1]<0: A=self.getSquares(A) return A[::-1] k=0 ...
[ "noreply@github.com" ]
yangzongwu.noreply@github.com
f2751c6ffd13b7ca049b44caf699c03881be8ee1
6e34d59a5220d42b8baa39bd5bc49d69f77103b6
/timelapse_stack.py
faa41545ac02dbba0480be8e54f29d69fd136595
[]
no_license
pbmanis/timelapse
034dc6633fa98d43cba03faf68eb9d2636da8120
6a989545cbf83e2a40e2d8f87120860104ee24b6
refs/heads/master
2021-06-29T18:38:41.726219
2020-07-14T01:33:03
2020-07-14T01:33:03
66,783,357
0
0
null
null
null
null
UTF-8
Python
false
false
6,952
py
""" Script used to convert timelapse+zstack data into a max-filtered video. Luke Campagnola and Paul Manis, 4-2015 and 3, 4-2016. Input data structures: 1. 'auto': ImageSequence_nnn has a number if image_nnn.ma files; each of those files is a single time point in the sequence. 2. 'manual': Each ImageSequence_nn...
[ "pmanis@med.unc.edu" ]
pmanis@med.unc.edu
a2912aa8082dd0c86f50d80a953f898ece522e01
e733d07a1492f6e9b762d9ca496ec59668aedb95
/qcloudsdkcvm/InquiryInstancePriceHourRequest.py
906b50e9717e953b7d3cb28273d3cd7f2de595fb
[ "Apache-2.0" ]
permissive
QcloudApi/qcloudcli
1f67d8467b81ac8964362491cd4f3104f8e59161
ba16161f65df5f621d9f1c5587b9900dca600cb5
refs/heads/master
2023-08-15T01:51:05.236254
2018-07-11T08:07:29
2018-07-11T08:07:29
100,922,202
8
6
null
2018-03-29T11:57:26
2017-08-21T06:55:45
Python
UTF-8
Python
false
false
2,262
py
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class InquiryInstancePriceHourRequest(Request): def __init__(self): super(InquiryInstancePriceHourRequest, self).__init__( 'cvm', 'qcloudcliV1', 'InquiryInstancePriceHour', 'cvm.api.qcloud.com') def get_bandwidth(self): ...
[ "zhiqiangfan@tencent.com" ]
zhiqiangfan@tencent.com
24de9783acf09079e0e372ead54d08b82db5e567
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/storagegateway_write_f/smb-file-share_update.py
3357133385bf1dc97e35672040d499ce1326752f
[]
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
676
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
2dd74bd70f39713191de8dc6a0ece7478c6387db
6e158a54409937515b14676730adfadfd457d4ae
/gaussian_spheres/pwl.py
829e513a721f8fe6245d003f3e220aab7e410ea8
[]
no_license
Tjstretchalot/machinelearning
e2b277efd99f6e45005cb92a0cc17e90bf7d37e4
5a3b17c49211a63f71cdf40ca35e00a3af4b198a
refs/heads/master
2020-05-02T09:25:25.032430
2019-07-25T14:37:43
2019-07-25T14:37:43
177,871,307
0
0
null
null
null
null
UTF-8
Python
false
false
5,665
py
"""A gaussian spheres input technique. Randomly places cluster centers in an n-dimensional cube. Then assigns each cluster a label. To generate points, a cluster is selected uniformly at random, then a radius is selected from a normal distribution, then a point is selected uniformly from within a sphere centered at ...
[ "mtimothy984@gmail.com" ]
mtimothy984@gmail.com
e9ad0d1f8948db6b00d4c77f6d1d720bfbf254d9
6b699b7763a0ff8c32b85014d96f6faf02514a2e
/models/research/object_detection/models/embedded_ssd_mobilenet_v1_feature_extractor.py
96586e17f65a9ead1cb9d1c93540cd46477f3b2f
[ "Apache-2.0" ]
permissive
leizeling/Base_tensorflow-object_detection_2Dcord
df7c195685fed21fd456f1dd79881a198cf8b6e0
d07418eb68543adc2331211ccabbc27137c8676e
refs/heads/master
2020-03-19T11:51:57.961688
2018-06-07T14:47:16
2018-06-07T14:47:16
136,481,479
0
1
null
null
null
null
UTF-8
Python
false
false
7,185
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "1072113944@qq.comm" ]
1072113944@qq.comm
1bcc583b18dbe1c149df61636316daf19ebb3da8
bc3bd7601fa427d638f872b4ddfdebe4ce23a25c
/bitbucketopenapi/models/branching_model_all_of_branch_types.py
5c19cc4a2bfc8439d01eead784bcecbd8c6be7a7
[]
no_license
magmax/bitbucket-openapi
59ef55ab3aa42940c8211d3ecd16ef7d6fc74c21
836ae762735ae5b1ececcee5287fa271d7d8de5b
refs/heads/master
2020-07-28T16:10:32.736169
2019-09-19T04:17:09
2019-09-19T04:17:09
209,460,884
3
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
# coding: utf-8 """ Bitbucket API Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework. # noqa: E501 The version of the OpenAPI document: 2.0 Con...
[ "miguelangel.garcia@gmail.com" ]
miguelangel.garcia@gmail.com
00d30d1d0c99da6ea3aafe35fc7e3c3e88eb6f3e
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/ZMGOCycleFlexConfig.py
a346c3b220c6ea3812a72dfb56fd69a64303cdc3
[ "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,868
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class ZMGOCycleFlexConfig(object): def __init__(self): self._cycle_flex_withhold_fee_name = None self._cycle_flex_withhold_max_price = None self._cycle_flex_withhold_total_perio...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
33142582fc29000c271ed5a172c7f98479c6dbda
2f09a5d75343702a0aecf10112b77b00c2063816
/setup.py
466ca0e3e205500ff3041ffbb29c2b4101f5c4d1
[ "Apache-2.0" ]
permissive
tracer0tong/statsitemap
8ac963d03ab53a61c942eeb7c1d63d4fb03c0c24
0e0cc4387b98cd91ffc717f5494e0a2168127992
refs/heads/master
2016-09-10T21:36:22.734268
2015-04-21T22:02:49
2015-04-21T22:02:49
34,352,916
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
from distutils.core import setup setup( name='statsitemap', packages=['statsitemap'], version='0.1', description='Library for building statistical graph (sitemap) from called URI/referer pairs', author='Yury Leonychev (@tracer0tong)', author_email='yuriy.leonychev@gmail.com', url='https://g...
[ "johndoe@example.com" ]
johndoe@example.com
c8f7add0004abb00bdec5a84216d5e250182acc9
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/agc007/B/4738230.py
5ff3a4324a3c6b6e9adee2311585322f49bfc888
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
252
py
n = int(input()) x = list(map(int, input().split())) a = [20001*i for i in range(1,n+1)] b = [20001*(n+1-i) for i in range(1,n+1)] for i in range(n): b[x[i]-1] += i for x in a:print(x, end=' ') print() for x in b:print(x, end=' ')
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
e914f312a676793d37bbd0b6ebd106a5a1ed8467
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/sankey/node/line/_widthsrc.py
f4b333792ea5fe507c7ee8f990eed4194966516e
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
419
py
import _plotly_utils.basevalidators class WidthsrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name="widthsrc", parent_name="sankey.node.line", **kwargs ): super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=...
[ "noreply@github.com" ]
hugovk.noreply@github.com
5cd9a52daf3835b8c6d129f6f036940adfa985e3
700bf615913fa5dd8686fac51b444f691023a035
/igrins/recipes/recipe_wvlsol_sky2.py
2ccbf18967d717ff08c39a6b8788abb53a01a2d4
[]
no_license
shihyuntang/plp
e24da3d23debabb61edfca5416a72577717c6195
842a5db71dfe57d1b3bf8ac292dabdb69830ac7f
refs/heads/master
2023-03-09T06:13:50.874801
2021-02-26T20:03:20
2021-02-26T20:03:20
285,095,289
0
0
null
2020-08-04T20:42:51
2020-08-04T20:42:50
null
UTF-8
Python
false
false
6,854
py
# This is to use new framework. Let's use this to measure flexure # between emission spectra (e.g., sky, UNe, etc.) #import os import numpy as np import pandas as pd def save_qa(obsset): df = obsset.load_data_frame("SKY_FITTED_PIXELS_JSON", orient="split") msk_ = df["slit_center"] == 0.5 dfm_ = df[msk_...
[ "lee.j.joon@gmail.com" ]
lee.j.joon@gmail.com
06470ed428c9e68e74635aeeb5e1e3f853111727
5686100c4ed0436347107f4e9faae30fca609c09
/leetcode/1030. Matrix Cells in Distance Order/Solution.py
926b64215552cf842d6465f0b2786a2cc0af72cb
[]
no_license
adamqddnh/algorithm-questions
7d4f56b7e5ac2ff9460774d43ecf8cba2cd7b0cb
93a1b082e10ade0dd464deb80b5df6c81552f534
refs/heads/master
2023-06-29T04:51:26.635740
2021-07-23T09:11:45
2021-07-23T09:11:45
252,675,682
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
class Solution(object): def allCellsDistOrder(self, R, C, r0, c0): """ :type R: int :type C: int :type r0: int :type c0: int :rtype: List[List[int]] """ maxLength = R + C + 1 distance = [[] for i in range(0, maxLength)] for i in range(0...
[ "noreply@github.com" ]
adamqddnh.noreply@github.com
f35da223ba059f5824b45b5398b78811b900ca89
aef40813a1b92cec0ea4fc25ec1d4a273f9bfad4
/Q15__/04_Count_Submatrices_With_All_Ones/Solution.py
c0f071e4eb738bc0cdf16e003c0295732600aa05
[ "Apache-2.0" ]
permissive
hsclinical/leetcode
e9d0e522e249a24b28ab00ddf8d514ec855110d7
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
refs/heads/main
2023-06-14T11:28:59.458901
2021-07-09T18:57:44
2021-07-09T18:57:44
319,078,569
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
from typing import List class Solution: def numSubmat(self, mat: List[List[int]]) -> int: rowLen = len(mat) colLen = len(mat[0]) medium = [ [0] * colLen for _ in range(rowLen) ] #stack to bottom for j in range(colLen): for i in range(rowLen): if ...
[ "luhongisu@gmail.com" ]
luhongisu@gmail.com
dc9f823aea13cfa9dee9a53a698656d62586ac18
d50d24a111f7fc078ef98bc5059355793fe7dd37
/tao_bao/db/dbhelper.py
97d38ade4af4772e1f66711aeb87dcddf3af6dc3
[]
no_license
liangxuCHEN/scrapy_taobao
f2cbd38b5d746052bac3366aa035edf988cb1115
595fb9a9dcd45a32b43e0478580a7a936d1b55a2
refs/heads/master
2021-05-08T11:50:12.854647
2018-04-11T03:20:17
2018-04-11T03:20:17
119,913,389
0
0
null
null
null
null
UTF-8
Python
false
false
2,986
py
# -*- coding: utf-8 -*- from scrapy.utils.project import get_project_settings #导入seetings配置 from sqlalchemy import create_engine, Column, String, DateTime, Integer, Float, func from sqlalchemy.ext.declarative import declarative_base import redis # 初始化数据库连接: # engine = create_engine('mysql+pymysql://root:123asd@localh...
[ "chenliangxu68@gmail.com" ]
chenliangxu68@gmail.com
09dc5e4b00b0196437111230fc9b278edca31401
cb6f9cf1901b68cad07def3dd0fad75ab046e330
/constructor/migrations/0037_auto_20210824_0700.py
28b5d8a020dee9473cd9b792f1def7f8a2828737
[]
no_license
Junaid522/Cons
631dd9e0e3f1249bd911196ba4a2fef8357bd8fb
cdceb1d07728209dad827917c8ba88e1319c94ad
refs/heads/master
2023-08-10T17:23:28.942917
2021-09-20T07:30:02
2021-09-20T07:30:02
408,348,598
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
# Generated by Django 3.1.2 on 2021-08-24 07:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('constructor', '0036_currency_description'), ] operations = [ migrations.AddField( model_name='course', name='career_...
[ "junaidtariq166@gmail.com" ]
junaidtariq166@gmail.com
be03a987402a3e0420168cf4f91c126ffd69c9de
d7641647d67d110e08997767e85bbea081c2537b
/bitmovin_api_sdk/encoding/inputs/udp_multicast/__init__.py
82c7c6f74bb923c3eaaf1fb60471039f9d174982
[ "MIT" ]
permissive
aachenmax/bitmovin-api-sdk-python
d3ded77c459852cbea4927ff28c2a4ad39e6026a
931bcd8c4695a7eb224a7f4aa5a189ba2430e639
refs/heads/master
2022-11-16T08:59:06.830567
2020-07-06T07:16:51
2020-07-06T07:16:51
267,538,689
0
1
MIT
2020-07-06T07:16:52
2020-05-28T08:44:44
Python
UTF-8
Python
false
false
322
py
from bitmovin_api_sdk.encoding.inputs.udp_multicast.udp_multicast_api import UdpMulticastApi from bitmovin_api_sdk.encoding.inputs.udp_multicast.customdata.customdata_api import CustomdataApi from bitmovin_api_sdk.encoding.inputs.udp_multicast.udp_multicast_input_list_query_params import UdpMulticastInputListQueryParam...
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
8a51a15dd22f14caa28b6fec7f2520ee774af67f
ed06ef44c944707276a2fca16d61e7820596f51c
/Python/path-with-minimum-effort.py
46d3f4ed6f06ca05828dba1b5a76a7f30589242a
[]
no_license
sm2774us/leetcode_interview_prep_2021
15842bef80637c6ff43542ed7988ec4b2d03e82c
33b41bea66c266b733372d9a8b9d2965cd88bf8c
refs/heads/master
2023-05-29T14:14:49.074939
2021-06-12T19:52:07
2021-06-12T19:52:07
374,725,760
0
0
null
null
null
null
UTF-8
Python
false
false
7,239
py
# Time: O(m * n * log(m * n)) # Space: O(m * n) import heapq # Dijkstra algorithm solution class Solution(object): def minimumEffortPath(self, heights): """ :type heights: List[List[int]] :rtype: int """ directions = [(0, 1), (1, 0), (0, -1), (-1, 0)] dst = (len(h...
[ "sm2774us@gmail.com" ]
sm2774us@gmail.com
5e8af7a5f3c6134790c205055461a82ddd53a5a9
292437b85108504a7ca91571f26a639a313501b6
/venv/lib/python2.7/site-packages/oslo_middleware/tests/test_correlation_id.py
6dde5d8af681454e6d686cb8ed827fed79d6f0df
[]
no_license
heekof/monitoring-agent
c86bebcf77091490df7a6b8c881b85fdb2b9e4eb
b1c079efdf2dabe854f2aa3d96f36d2ec7021070
refs/heads/master
2021-01-15T15:39:01.512801
2016-08-31T20:53:38
2016-08-31T20:53:38
58,620,098
1
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
# Copyright (c) 2013 Rackspace Hosting # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
[ "bendriss-jaafar@live.fr" ]
bendriss-jaafar@live.fr
6497240502fa621dc2ea8c4dcbce6f85011972b3
e8b6a669bdec937a4226e749a98c7e3905e327db
/rainbow/settings.py
445b701eab004e8de35ade8739bda4dbea1d130e
[]
no_license
danielmoniz/Rainbow
bef52a7bd18f225d48822aa563af03bbba862b9e
a9085476dc83a582b87927251cc269f228ecf557
refs/heads/master
2016-09-11T03:58:41.528607
2012-06-13T19:39:58
2012-06-13T19:39:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,675
py
# Django settings for rainbow project. from private_settings import get_database_settings DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS # This data comes from private_settings.py DATABASES = get_database_settings() # Local time zone for this insta...
[ "daniel.moniz@gmail.com" ]
daniel.moniz@gmail.com
b65f1abafd197004b408adad6774a73815be6aa0
6b9adefb8c3730e1b9edab5605e86ee4f1cfe53c
/treedb/__init__.py
610918df1417c888efe026a930ef6e857065fd8c
[ "MIT" ]
permissive
glottolog/treedb
8ac4b5dd6923a196ceb02f191200cd8053a2cd88
81e6a855e5d69bebc86e1fca05c938621c87ba7c
refs/heads/master
2023-07-21T04:04:27.709761
2023-07-17T20:10:20
2023-07-17T20:10:20
194,383,732
5
2
MIT
2022-05-24T17:48:32
2019-06-29T08:41:10
Jupyter Notebook
UTF-8
Python
false
false
3,066
py
"""Load Glottolog lanuoid tree ``md.ini`` files into SQLite3 database.""" from ._globals import SESSION as Session # noqa: N811 from ._tools import sha256sum from .backend import (print_versions, set_engine, connect, scalar, iterr...
[ "sebastian.bank@uni-leipzig.de" ]
sebastian.bank@uni-leipzig.de
188529fb0dbd729ac43830eb4e0ca46e6b0fad6a
88be4d5657d19462eb1d74d2d4d98180b423a889
/scripts/plot_experiment.py
6579ab2bdda9aaa2117fdcbaab143a8dce51aafd
[ "BSD-3-Clause" ]
permissive
domingoesteban/robolearn
bc58278fe38894f4ca9ec9e657ee13a479a368b7
0d20125425c352b80ef2eeed1c0b11ab6497b11a
refs/heads/master
2020-04-15T22:38:25.343229
2019-01-29T17:01:42
2019-01-29T17:01:42
165,080,647
1
1
null
null
null
null
UTF-8
Python
false
false
2,524
py
import os import argparse import numpy as np import matplotlib.pyplot as plt from robolearn.utils.plots import plot_process_iu_returns from robolearn.utils.plots import plot_process_iu_avg_rewards from robolearn.utils.plots import plot_process_iu_policies from robolearn.utils.plots import plot_process_iu_values_errors ...
[ "domingo.esteban@iit.it" ]
domingo.esteban@iit.it
9b5418cd23ca662fe1c45fcca5e76495bc07df0a
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-iotanalytics/huaweicloudsdkiotanalytics/v1/model/obs_content_req.py
22822ea39ffd91a7bf569bf3a12ad4b92bc758b9
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,178
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ObsContentReq: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
65ae635d43801f0ac9401fab6afbe228040b58f9
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/pyobjc-framework-Cocoa/PyObjCTest/test_cfuuid.py
12c65667350ddf8c8be73389156dd615e6a3126b
[ "MIT" ]
permissive
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,982
py
import re import CoreFoundation from PyObjCTools.TestSupport import TestCase class TestCFUUIDAPI(TestCase): def testTypes(self): self.assertIsCFType(CoreFoundation.CFUUIDRef) def testTypeID(self): v = CoreFoundation.CFUUIDGetTypeID() self.assertIsInstance(v, int) def testCreate(...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
d3778584e95ef333ce94c9c0141d55f17ae297a7
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2214/60586/309439.py
43887ed3a7a647d20cd7bf664444a594497e9b76
[]
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
144
py
a=input() b=input() if a=='1+1i' and 'b==1+1i': print("0+2i") elif a=='0+1i' and 'b==0+1i': print("-1+0i") else: print("0+-2i")
[ "1069583789@qq.com" ]
1069583789@qq.com
30bc551d847eeb3753771764c28f595558bbc9a0
e3b5e20bcb560a3c37c09f728b9340b1715c1818
/venv/lib/python3.7/site-packages/plotly/validators/scattercarpet/_hovertextsrc.py
748253ef5dd9d965185ead830412b2629267562e
[ "MIT" ]
permissive
180Studios/LoginApp
63bc50b1f91e7221c7581627ab166eeb01758f5c
66ff684a81b23d8f45eef2c56be19a2afd95ab29
refs/heads/master
2022-12-24T00:33:08.481826
2020-02-03T05:14:41
2020-02-03T05:14:41
144,414,562
0
1
MIT
2022-12-08T01:38:26
2018-08-11T19:57:44
Python
UTF-8
Python
false
false
498
py
import _plotly_utils.basevalidators class HovertextsrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name='hovertextsrc', parent_name='scattercarpet', **kwargs ): super(HovertextsrcValidator, self).__init__( plotly_name=plo...
[ "kylenahas@gmail.com" ]
kylenahas@gmail.com
35d3332b9b2acae00406b27ed618a1477d42c45d
3474b315da3cc5cb3f7823f19a18b63a8da6a526
/scratch/KRAMS/src/apps/scratch/faezeh/working_area/inputexport.py
1edffac01025a9a4ef04fe864a2eaeb85fcefe02
[]
no_license
h4ck3rm1k3/scratch
8df97462f696bc2be00f1e58232e1cd915f0fafd
0a114a41b0d1e9b2d68dbe7af7cf34db11512539
refs/heads/master
2021-01-21T15:31:38.718039
2013-09-19T10:48:24
2013-09-19T10:48:24
29,173,525
0
0
null
2015-01-13T04:58:57
2015-01-13T04:58:56
null
UTF-8
Python
false
false
4,034
py
#!/usr/bin/env python """ This demonstrates how to create a plot offscreen and save it to an image file on disk. """ # Standard library imports import os, sys # Major library imports from numpy import fabs, linspace, pi, sin from scipy.special import jn # Enthought library imports from enthought.traits.api import fal...
[ "Axel@Axel-Pc" ]
Axel@Axel-Pc
10fbec86fd6c3e609e74bfe53d632b78788da28c
08c8e80dc009166a8d678fd36b34dc6ddbbeecc7
/TTRPlayer.py
05d919340b3b6ecf7d02b12c5726ee121dbdafb9
[]
no_license
wqa/TicketToRide
12f6361f2b1a0461c645817c505d0ebf7a3b9ea8
dbf9ea161c5bbc456b3980a019b93dc1499ba83d
refs/heads/master
2020-03-07T21:06:42.089183
2018-04-02T07:52:57
2018-04-02T07:52:57
127,717,750
0
0
null
2018-04-02T07:00:15
2018-04-02T07:00:15
null
UTF-8
Python
false
false
2,626
py
import collections class Player(object): def __init__(self, startingHand, startingTickets, playerBoard, playerPosition, numTrains ): """orderNumber: int startingHand: list startin...
[ "codeprogress1@gmail.com" ]
codeprogress1@gmail.com
4c5d1f202e7cb831b781f2fdf9e12481448d3c4d
7482a2601861b61f61ad082dbca521a94c36dc92
/image_captioning/config/defaults.py
3c6c9351b41efc3e54c2292e17e424a4652735c1
[]
no_license
congve1/ImageCaptioning
0da1945ac27e406c388824f47e7e4545691ef0a1
ae2d4ec2dc45bc00ff12cde4f55197654100c309
refs/heads/master
2020-05-04T17:17:42.993462
2019-07-07T08:58:28
2019-07-07T08:58:28
179,305,660
1
0
null
null
null
null
UTF-8
Python
false
false
6,738
py
import os from yacs.config import CfgNode as CN # ------------------------------------------------------------------------------ # Convention about Tranining / Test specific parameters # ------------------------------------------------------------------------------ # Whenever an argument can be either used for traini...
[ "congve1@live.com" ]
congve1@live.com
8c636ef816876d5a9d8bccdf63b5af6f4356b911
252b3451ad9683166937152444fedec8b5da6647
/obsolete/py_deprecated/LookupTables.py
cd7936866ad410f7fce43018c4363adbe2b33474
[ "MIT" ]
permissive
faithcomesbyhearing/dbp-etl
993c4c329d8f1950234f02f7fb048ec29b1883da
eb56863415d0d83f7f7928d0fcf927425c039f95
refs/heads/master
2023-08-08T15:11:37.815057
2023-07-10T16:10:21
2023-07-10T16:10:21
204,502,403
1
1
MIT
2023-07-24T23:39:37
2019-08-26T15:12:47
Python
UTF-8
Python
false
false
5,498
py
# LookupTables class LookupTables: def __init__(self): # these are not being used yet? self.otBooks=[ "GEN", "EXO", "LEV", "NUM", "DEU", "JOS", "JDG", "RUT", "1SA", "2SA", "1KI", "2KI", "1CH", "2CH", "EZR", "NEH", "EST", "JOB", "PSA", "PRO", "ECC", "SNG", "ISA", "JER", "LAM", "EZK", "DAN", "HOS", "JOL...
[ "gary@shortsands.com" ]
gary@shortsands.com
27b669ce53b5e339d24c950c5bbf673fec5fd017
1ca315ac6f10d91784c9d2e9e0c993d1a528c644
/locators/class_parse_locators.py
1168ff983b02f53c51788fee41cf24dd739271cf
[]
no_license
osakoh/Scrapping-example
711df9e735f62dfdf5aad5891f8cda4cda678f44
6964f86f56a5797c8152f2e50048190d331ec6d4
refs/heads/main
2022-12-27T20:08:17.684832
2020-10-09T17:18:11
2020-10-09T17:18:11
302,692,216
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
class ParsedItemLocators: """ Locates an item in the HTML page. Allows us to see what our code will be looking at as well as change it quickly if the locator changes. """ NAME_LOCATOR = 'article.product_pod h3 a' LINK_LOCATOR = 'article.product_pod h3 a' PRICE_LOCATOR = 'article.product_pod...
[ "macmive@gmail.com" ]
macmive@gmail.com
718ce3d58ea9a8e84fe1c8a98f3bed47d617e276
743fe3fd926c4f23353e4d2801b007721f3dd1a1
/docstrings/bitmap.py
f9d253fbdea77806791284b8dfc21e3431bef2d8
[ "BSD-2-Clause-Views" ]
permissive
mdboom/freetypy
357cc7570987bf07daa3abd348ed616ad085186a
01b72ad35a613f1366accf16318d078b1e0dfc83
refs/heads/master
2021-01-18T07:03:53.232617
2015-11-04T01:20:01
2015-11-04T01:20:01
45,196,480
1
1
null
2015-10-29T16:38:09
2015-10-29T16:38:09
null
UTF-8
Python
false
false
5,308
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Michael Droettboom All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, t...
[ "mdboom@gmail.com" ]
mdboom@gmail.com
8180d20b9bd00bbe47b490f34495c8f341ec30bc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_narrators.py
7da72b67f09225deba5ce48d2f216e8a178bf663
[ "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
252
py
from xai.brain.wordbase.nouns._narrator import _NARRATOR #calss header class _NARRATORS(_NARRATOR, ): def __init__(self,): _NARRATOR.__init__(self) self.name = "NARRATORS" self.specie = 'nouns' self.basic = "narrator" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1e694dedbb1c710bec69da84e4e55be2f1a13405
d21dbab3f374eb42a10f9ec7c434c1ca6fb2bff7
/Python/03 String/04 Mutations.py
ba1b1e83ce4d06eb5589e674c69d305472bec8cd
[]
no_license
almamuncsit/HackerRank
5360ad1d54aa01075dba5527f6ae695e4c6d9c7a
6599cde4c7541ebf27bacff8af02dc0c3eaaa678
refs/heads/master
2021-07-06T00:33:25.912754
2021-01-13T09:09:29
2021-01-13T09:09:29
222,364,072
4
0
null
null
null
null
UTF-8
Python
false
false
270
py
def mutate_string(string, position, character): str_list = list(string) str_list[position] = character return ''.join(str_list) if __name__ == '__main__': s = input() i, c = input().split() s_new = mutate_string(s, int(i), c) print(s_new)
[ "msarkar.cse@gmail.com" ]
msarkar.cse@gmail.com
8ef9e1347e94621ccc9ed1cd1d225d3447098d25
02e4920166051129d1ca28a0da80405a982f1cfe
/curso_py/ex014.py
ae83f034a8736245163401189b8c4d757af60e64
[]
no_license
felipeonf/Exercises_Python
1ab40cea2466d6bb5459b5384a1dde8e1066b3b4
8eb2d17a35a6352fd5268a5fa43b834443171c70
refs/heads/main
2023-07-23T22:30:13.567469
2021-08-25T03:34:33
2021-08-25T03:34:33
397,062,295
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
import random lista = [] i = 0 while i < 4 : lista.append(input(f'Digite o nome do {1+i}° aluno: ')) i+=1 random.shuffle(lista) print(f'A ordem de apresentação escolhida foi {lista}')
[ "noreply@github.com" ]
felipeonf.noreply@github.com
133bb56e795f1304f909216fc94676e89bfc8e04
43eb31fb324240cf6f4150e310c5a7ec4087bbed
/online_inference/requests/make_request.py
324e23627b425313868aa3e32c1bd9f9e36c1ccb
[]
no_license
made-ml-in-prod-2021/bulaevvi
67cb63c0573b71eb152d102b4091f79eb887bfd5
6c0de66bb24c248b9291c03ddeed95ed1e990c61
refs/heads/main
2023-06-01T17:24:32.476388
2021-06-22T06:17:21
2021-06-22T06:17:21
354,891,217
0
0
null
2021-06-22T06:17:21
2021-04-05T16:03:26
Jupyter Notebook
UTF-8
Python
false
false
572
py
import pandas as pd import requests import time ENDPOINT = "http://127.0.0.1:8000/predict" REQUEST_FILE = "requests.csv" NUM_REQUESTS = 100 if __name__ == "__main__": data = pd.read_csv(REQUEST_FILE) for i in range(NUM_REQUESTS): request_data = data.iloc[i].to_dict() request_data["id"] = i ...
[ "noreply@github.com" ]
made-ml-in-prod-2021.noreply@github.com
50dda7b0b5ff6c2dd3b252bb5836dffa34c2fd4e
3f05ce6a332003595064d14b24b57fc36021da92
/matscholar_web/tests/test_util.py
a630bf3cc334db58f3314765428bfb6b5e431020
[ "MIT" ]
permissive
materialsintelligence/matscholar-web
392f845dff515cf7f4f4684d5b105e4c40a40d88
95231228fc6da1a596653d774307b10916fb5847
refs/heads/master
2023-05-10T06:54:44.213445
2023-01-24T20:45:00
2023-01-24T20:45:00
151,479,404
9
13
MIT
2023-05-02T18:28:28
2018-10-03T20:57:22
CSS
UTF-8
Python
false
false
832
py
import json import os import unittest import matscholar_web from matscholar_web.util import load_static_data_file """ Tests for core utilities. """ class TestCoreUtils(unittest.TestCase): def setUp(self) -> None: rootdir = os.path.dirname(os.path.abspath(matscholar_web.__file__)) data_dir = os....
[ "ardunn@lbl.gov" ]
ardunn@lbl.gov
c7d3f584401e6ffd29d0dc4040517f4a44631100
e9538b7ad6d0ce0ccfbb8e10c458f9e0b73926f6
/plugins/module_utils/network/ftd/operation.py
72d3e157b3287863a06c9ac800e2fde6a814e605
[]
no_license
ansible-collection-migration/misc.not_a_real_collection
b3ef8090c59de9ac30aca083c746ec3595d7f5f5
7ab1af924a3db4ada2f714b09bb392614344cb1e
refs/heads/master
2020-12-18T13:48:51.849567
2020-01-22T17:39:18
2020-01-22T17:39:18
235,400,821
0
0
null
null
null
null
UTF-8
Python
false
false
1,619
py
# Copyright (c) 2018 Cisco and/or its affiliates. # # This file is part of Ansible # # Ansible 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 v...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
66c716da60208194ea298347d9a3cd37cde9cdbe
51e6015db62fd30ff9eaa724926e8373aedf796e
/custom_components/zhibot/chatbot.py
f071c55cac18fde4f0e9057457baed88c9e1df32
[]
no_license
xxx2016/HAExtra
ed0cb3c0a5876c11894bde8a96fde31ca8a9e3a5
e71dc33f51455e2d91ab2d7eec39a931d06847d9
refs/heads/master
2023-02-24T04:41:38.779325
2021-01-25T13:04:12
2021-01-25T13:04:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,692
py
from homeassistant.components.http import HomeAssistantView from homeassistant.util.json import load_json, save_json # from homeassistant.components.http import KEY_HASS # Logging import logging _LOGGER = logging.getLogger(__name__) class chatbotView(HomeAssistantView): """View to handle Configuratio...
[ "Yonsm@qq.com" ]
Yonsm@qq.com
46dbd48b6d5e6c8ffb047612a78d868f11973154
17ba39d104403a36ecdfe83da0d5424feb3fdf24
/accounts/serializers.py
5758bb9f9ed301c9eb631dfdfec009cdfca7f20d
[]
no_license
bellomusodiq/obs
46bc3bfc316d224c732a8747649016ca2fdf9493
a207bf51c2e21c10996e53f01e56368b648c7e6e
refs/heads/master
2020-04-02T21:35:46.813250
2018-10-30T11:11:38
2018-10-30T11:11:38
151,956,354
0
0
null
null
null
null
UTF-8
Python
false
false
4,275
py
from rest_framework import serializers from rest_framework_jwt.settings import api_settings from .models import User, CuponCode from django.template.loader import render_to_string from django.core.mail import EmailMessage import string, random class UserSerializer(serializers.ModelSerializer): def gen_token(self)...
[ "bmayowa25@gmail.com" ]
bmayowa25@gmail.com
067961039a165f93e34347f56a947b446b17133d
1117ae9a0bc4bbbe0e505e573af70a9629ec8c45
/App/models.py
865bdb8ca8a7b9edfe0f5c7e75a61cbabda2da10
[]
no_license
Chukslord1/E-LIBRARY
003eadf124be91e40586f2f6661b5895a93d6a60
c16f6d7ab2efb2be136251298f28119c2023b19f
refs/heads/master
2023-01-10T17:43:28.293541
2020-11-17T20:27:52
2020-11-17T20:27:52
267,709,487
0
0
null
null
null
null
UTF-8
Python
false
false
2,724
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Book(models.Model): title=models.TextField() isbn = models.IntegerField() summary= models.TextField() author = models.TextField() position=models.CharField(max_length=100) genre=models.Char...
[ "chukslord1@gmail.com" ]
chukslord1@gmail.com
74e1f700ad462338166fff4c0f99dcfb6d303a54
0a5db329e6ca4690f6f5f84d34ed51c0f54273b4
/6 Extra 3/Example 1.py
42e838ef0565d84e028cb1912447b5a8a3e24c4a
[]
no_license
wiput1999/Python101
b7778e8feacdf95039260ba4e7d149a1fea30304
5d0eac78417cc1139f884652c5a6c6995dfb9e22
refs/heads/master
2021-01-20T15:31:19.170451
2017-04-08T16:03:38
2017-04-08T16:03:38
90,780,461
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
num = [] for i in range(10): num.append(int(input("Num : "))) for j in range(0,len(num)): for i in range(0,len(num)-1-j): if num[i] > num[i+1]: t = num[i] num[i] = num[i+1] num[i+1] = t print(num)
[ "wiput.pootong@gmail.com" ]
wiput.pootong@gmail.com
c96f702c3c4d089f96e3879dc22c4ec60f1ad720
29c58b3bec6ac0fcdb3070efc118600ee92004da
/test/test_connector_sync_event_dto.py
488ce7ea7b82b940e80e1efabe7d0b5b32f66c67
[ "MIT" ]
permissive
mailslurp/mailslurp-client-python
a2b5a0545206714bd4462ae517f242852b52aaf9
5c9a7cfdd5ea8bf671928023e7263847353d92c4
refs/heads/master
2023-06-23T00:41:36.257212
2023-06-14T10:10:14
2023-06-14T10:10:14
204,662,133
8
0
null
null
null
null
UTF-8
Python
false
false
2,387
py
# coding: utf-8 """ MailSlurp API MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://ww...
[ "contact@mailslurp.dev" ]
contact@mailslurp.dev
b9c545c2775953db809aa333c5571186f061f2f1
6080bfbc95ef2e4103fbd9c75c6b30402fe08aa5
/helpers/ccsm/ccsm2icar.py
1db50ddfa270a90c8105cc3a3cc03832c34efb97
[ "MIT" ]
permissive
d-reynolds/HICAR
0628f2a65922b61e7c68749ccc5b4328fe7c5dec
0ae97ec4556624bd5fe288420f0dde2f737bf1f8
refs/heads/master
2023-05-27T09:55:13.262316
2023-03-31T12:43:55
2023-03-31T12:43:55
284,660,559
1
1
MIT
2020-09-29T14:12:28
2020-08-03T09:40:03
Fortran
UTF-8
Python
false
false
1,103
py
#!/usr/bin/env python import os,traceback,sys import config import io_routines import output import convert def main(info): for k in info.keys(): if k!="times" and k!="lat_data" and k!="lon_data": print(k,info[k]) print(info.times[0],info.times[-1]) curtime=info.times[0] ...
[ "gutmann@ucar.edu" ]
gutmann@ucar.edu
21ffe4553a4099601f96bfe38dde4dcef4cce140
7a3114bedb5e866fc85fecca44432d1ce60e4262
/where/postprocessors/__init__.py
e701fda648f7bd0a1601571994da4ea81345f780
[ "MIT" ]
permissive
kartverket/where
99f26e5d5f2f23a79921bad0fb60cb8a99d05e7f
0c8c5c68adca08f97e22cab1bce10e382a7fbf77
refs/heads/master
2023-08-31T03:26:23.222100
2023-08-30T08:27:07
2023-08-30T08:27:07
111,802,841
21
15
MIT
2019-02-01T15:42:36
2017-11-23T11:44:29
Python
UTF-8
Python
false
false
1,007
py
"""Framework for post-processing data Description: ------------ Each postprocessor should be defined in a separate .py-file. The function inside the .py-file that should be called needs to be decorated with the :func:`~midgard.dev.plugins.register` decorator as follows:: from midgard.dev import plugins @plu...
[ "ask1982@yahoo.com" ]
ask1982@yahoo.com
9e616c90dd516ff508549568cd468a52e1e61faf
731ebf286a169b5f4dae914bcb0970c2388ba875
/tigereye/helpers/tetime.py
1def5631fe0d37df838160507a265594d8ef3325
[]
no_license
ljxproject/tigereye
f8e86287b03102b713b4179a9fa023f03cfd36ea
406024d88450b6dcbec7a337a79339ff8c97a3e3
refs/heads/master
2020-03-26T08:48:48.595467
2018-08-14T13:05:26
2018-08-14T13:05:26
144,721,251
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from datetime import datetime DEFAULT_DATETIME_FORMAT = '%Y%m%d%H%M%S' SIMPLE_DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S' def now(): return datetime.now().strftime(DEFAULT_DATETIME_FORMAT)
[ "403496369@qq.com" ]
403496369@qq.com
37ce0dc192e7a51cb2d91c3c8bbc9b94d5546a56
16ad791ae0fcf9b00fb3f3938e3e69fd86d91715
/solved/probs050-099/euler055.py
fd7e12947d84d15f28aec0927a223aa37fab9937
[]
no_license
chrisgilmerproj/project_euler
9a6cf051ddc1882d803531cb02cc356a94d9bdf4
5a2c72ae40cfff32b79b35bb93db2b93a84afc25
refs/heads/master
2020-05-07T16:44:22.052645
2011-05-03T15:35:34
2011-05-03T15:35:34
1,447,959
0
0
null
null
null
null
UTF-8
Python
false
false
2,772
py
# This is a problem from the Project Euler Website # http://projecteuler.net/ # # Euler Problem #055 # # Problem: How many Lychrel numbers are there below ten-thousand? # # Hint: If we take 47, reverse and add, 47 + 74 = 121, which is palindromic. # # Not all numbers produce palindromes so quickly. For e...
[ "chris.gilmer@gmail.com" ]
chris.gilmer@gmail.com
501225b7b62991c2bb7a453bcb123b336846959d
8b9a418950a8c3ee42e4a4692a0f690c033ba401
/emulators/csp_vis_sender_02/app/__main__.py
e9dfdda4a5725883e6a15b577f3cddae1c04009f
[ "BSD-3-Clause" ]
permissive
jan2nov/integration-prototype
da5b0f8b168365856dabb644bd1d2440ebced9e8
5b4db822b0d49ab45d10365d5c7aaa86954dc2e0
refs/heads/master
2020-03-20T14:54:23.937780
2018-06-04T12:09:21
2018-06-04T12:09:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
# -*- coding: utf-8 -*- """Module main to stream SPEAD visibility data.""" import sys import argparse import logging import json from .simulator import SimpleSimulator def _init_log(level=logging.DEBUG): """Initialise the logging object. Args: level (int): Logging level. Returns: Logge...
[ "ben.mort@gmail.com" ]
ben.mort@gmail.com
219470a0ff5bb403514695edf64cf9ab42c04142
6791fd830e1e3bb1b3e31bac32c8c43debc6e45b
/hash_table/files.py
bb007467042726baa23b98afaff41ac9fa007b62
[]
no_license
niccokunzmann/pydht
e3205eb4f93840531ef79019c7e47156aed44d29
89621647455657291dbb27f966a53ab10c6862f5
refs/heads/master
2020-05-30T17:48:43.608086
2013-10-09T20:34:28
2013-10-09T20:34:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,556
py
import io import tempfile import os from .. import hashing from ..errors import ContentAltered class HashTableFileMixin: """A mixin for a hashtable that adds itself to the hashtable when closed""" def __init__(self, hash_table, *args, **kw): super().__init__(*args, **kw) self._hash_table = has...
[ "niccokunzmann@googlemail.com" ]
niccokunzmann@googlemail.com
d95f07794f027cd5d62ae5f538ba541367149f10
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_97/492.py
a1f42066fd7dc40e8cdcf88aee4718a892fe6447
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
def find_recycled(n, b): ns = str(n) reclist = [] for i in xrange(1, len(ns), 1): nrec = ns[i:len(ns)] + ns[0:i] if nrec[0] != "0": nrec = eval(nrec) if nrec <= b and nrec > n and (n, nrec) not in reclist: reclist.append((n,nrec)) return reclist inp = file("input.in") T = eval(inp.readline()) out = f...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b211f6d3238e69fee4c33b2e8d89b34fe17e5730
f56a16a03346eb2854eaeae0a13a92a222806551
/test/functional/interface_bitcoin_cli.py
74867f2d89fe0cdd48537eea6e2d53ac2dc0d1e0
[ "MIT" ]
permissive
minblock/mishcoin
77b64c00043557cde6b49d4f58612b8ff670d8f6
65d47897b2413b83480d1f04eb2031f62b36a708
refs/heads/master
2021-05-22T23:56:07.613136
2020-04-05T03:14:27
2020-04-05T03:14:27
253,146,024
0
0
null
null
null
null
UTF-8
Python
false
false
4,408
py
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test mishcoin-cli""" from test_framework.test_framework import BitcoinTestFramework from test_framework...
[ "POSTMASTER@provgn.com" ]
POSTMASTER@provgn.com
655f1c6517e4c4109ba59bf8025f9fc0cb629994
41a0c25333100fd551e7a49ceec128c1cd80857f
/Scripts/doSuperResolution.py
7a61ed8b685cd6ce72250a81e478dc58cf0f5443
[]
no_license
ANTsXNet/MRISuperResolution
7a6a6b8e3290d993f79a8d0bc9aa357fee755cb0
3568ad193e124d2000a39e89f11e50231443fff6
refs/heads/master
2021-08-16T10:16:41.781465
2020-09-22T15:37:53
2020-09-22T15:37:53
223,532,949
4
0
null
null
null
null
UTF-8
Python
false
false
2,879
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et import os import sys import time import numpy as np import keras import ants import antspynet args = sys.argv if len(args) != 3: help_message = ("Usage: ...
[ "ntustison@gmail.com" ]
ntustison@gmail.com
ca829bb3b5c37e7e3f12c3fdecba9401acdbba5d
bccfab4d853f7417401a084be95de293e66ccd2a
/mySpider/auxiliary_files/Exhibition136_supporting.py
7999b97dede8993a5006d00cee82bfa1e3c14a46
[]
no_license
CS1803-SE/The-First-Subsystem
a8af03ce04a9de72a6b78ece6411bac4c02ae170
4829ffd6a83133479c385d6afc3101339d279ed6
refs/heads/main
2023-05-06T02:32:08.751139
2021-05-24T06:09:37
2021-05-24T06:09:37
363,400,147
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2021/5/11 20:14 # @Author : 10711 # @File : Exhibition136_supporting.py # @Software: PyCharm class Exhibition136Supporting: startUrl = ['http://www.changjiangcp.com/view/16351.html']
[ "1300978939@qq.com" ]
1300978939@qq.com
e340886d15839bcf81591484b8f866d8ee964e49
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02806/s940830540.py
373fb938a67908fb9d236775b0b7b61aa4ef974e
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
N = int(input()) st = [input().split() for i in range(N)] X = input() flg = 0 ans = 0 for s, t in st: if flg: ans += int(t) else: if s == X: flg = 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c1b942cfb9f3e78d5166a2ba3efb2c10a7cea81b
ab5cdf8f2de94c327e4679da84f941b1f3c04db4
/kubernetes/test/test_version_api.py
2949fd9417eb62fa0c11cfb164bab7abe4314d78
[ "Apache-2.0" ]
permissive
diannaowa/client-python
a4a92a125178db26004eaef5062f9b1b581b49a8
5e268fb0b6f21a535a14a7f968b84ed4486f6774
refs/heads/master
2020-12-02T22:06:03.687696
2017-06-30T21:42:50
2017-06-30T21:42:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
e125277049f9d9995016ddc244b396fee1ba6e28
40bc68b22e37e77ff7d7ed75f08b7195d16f9fde
/2019/day07/solutionsvm.py
4a2d5b272357149ee73475ed6667046cf732278d
[]
no_license
fuglede/adventofcode
1dd61b3bfd8db0346c8cb6838da8da5adf3d5296
e3c85daf96889dd7aac04a0e741d1409f74e549d
refs/heads/master
2023-09-03T08:52:48.575960
2023-08-26T18:29:19
2023-08-26T18:29:19
159,918,186
59
14
null
null
null
null
UTF-8
Python
false
false
676
py
from collections import deque from itertools import cycle, permutations from math import inf from vm import VM, read_program p07 = read_program(7) # Part one m = -inf for perm in permutations(range(5)): vms = [] signal = 0 for phase in perm: vm = VM(p07) signal = next(VM(p07, deque([phas...
[ "github@fuglede.dk" ]
github@fuglede.dk
d6c70c773646c56f5d50057fddd579b9c60a264a
213be849a50c84e9fc01aade5ff064a9aa7eb8c6
/nautobot_golden_config/__init__.py
133f8c98424367855de2c97353490af77f994942
[ "Apache-2.0" ]
permissive
nniehoff/nautobot-plugin-golden-config
c8d62b381727c9ba76740e4dfa81835561738840
5c5f051d244b277dc9d1dbd6a11c9b236ee9a229
refs/heads/main
2023-08-03T22:11:46.669288
2021-09-24T14:56:28
2021-09-24T14:56:28
413,983,604
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
"""Plugin declaration for nautobot_golden_config.""" __version__ = "0.9.7" from nautobot.extras.plugins import PluginConfig class GoldenConfig(PluginConfig): """Plugin configuration for the nautobot_golden_config plugin.""" name = "nautobot_golden_config" verbose_name = "Golden Configuration" versi...
[ "ken@celenza.org" ]
ken@celenza.org
2bca0b2d85d4f4a26bf43a98631bde8cfd883738
e2cd4f444b18adca671ae2ac8856594b22c6d2ae
/arc/migrations/0091_remove_story_details_change_date.py
1fd910194b0f36e1c5aaa93c79ea00542003a3f9
[]
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
341
py
# Generated by Django 2.2 on 2019-08-21 10:47 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('arc', '0090_story_details_change_date'), ] operations = [ migrations.RemoveField( model_name='story_details', name='change_dat...
[ "anshuman.airy04@gmail.com" ]
anshuman.airy04@gmail.com
95592d26dae1df0cb62329b8a85140998af39521
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/7c65ad11e2914bc9774abd37cdd1ac455f1c9433-<list_all>-fix.py
14a5a1ef5bf50d8cde4ae3f6831042b8b6ceec9b
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
def list_all(self): self.log('List all items') try: response = self.storage_client.storage_accounts.list() except Exception as exc: self.fail('Error listing all items - {0}'.format(str(exc))) return response
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
369727caa9b1f274cb3338d70531988c54568528
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_098/ch86_2020_06_21_19_53_15_222963.py
1fcf5f95c6e8c012df1e1136e94771e9acbee12f
[]
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
229
py
import csv with open('dados.csv','r') as csv_file, open('dados.tsv', 'w') as tsv_file: csv_file,tsv_file = csv.reader(csv_file), csv.writer(tsv_file, delimiter='\t') for linha in csv_file: tsv_file.writerow(linha)
[ "you@example.com" ]
you@example.com
0a1229effa14b40210a1abe973f19d6d8e697ee6
384d31fe319844c171891f7453b73df84a77bdcc
/src/apps_base/order/constants.py
efbdbf9e0bf0fc6b7c9cad05af960452d6cb5749
[]
no_license
danielhuamani/fanntop
0227a1b5337a45b3b91ab16c614e206f10efc891
1adb65f617f1e418cad75588fa60af909c1e690a
refs/heads/master
2021-03-22T00:46:51.355400
2018-10-06T05:46:07
2018-10-06T05:46:07
114,432,640
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
PENDIENTE = "PE" RECHAZADO = "RC" PAGADO = "PG" CANCELADO = "CN" DENEGADO = "DN" PROCESO = 'PR_1' PROCESO_2 = 'PR_2' ORDER_VALIDATED = 'VAL' ORDER_USED = 'USE' REEMBOLSO = 'RE' TYPE_STATUS = ( (PROCESO, "Pendiente"), ("RC", "Rechazado"), ("PG", "Pagado"), # ("PE", "Pendiente"), # (PROCESO_2, "Proces...
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
cf39c48564e9b19e551240ce121a93cc7743fb4b
dbf4f74403dec9c5531118a858c7b208c43323d4
/airflow/dags/lib/common.py
1ce3c55bbcfb30bcba974a240da78b23c1a92130
[]
no_license
LaoKpa/short_sale_volume
03208c6a5830b61a8e98ba3854b0ada45ee2a666
02c2fb9f91ca94845768554074a5a3018e87b0fe
refs/heads/master
2022-04-06T15:05:19.678439
2020-02-27T20:05:18
2020-02-27T20:05:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
from airflow.configuration import conf as airflow_config import configparser import json import os config = configparser.ConfigParser() airflow_dir = os.path.split(airflow_config['core']['dags_folder'])[0] config.read('{}/config.cfg'.format(airflow_dir)) CLUSTER_NAME = config['AWS']['CLUSTER_NAME'] VPC_ID = config['A...
[ "teguhwpurwanto@gmail.com" ]
teguhwpurwanto@gmail.com
877b61c1bf6a0f9f65e65d4dddc3d75e1788ad23
3ff1c245d945acf82e48f388d2457204e202275f
/desafio/migrations/0022_atributos.py
d65eeb6862db78a6105419422e55ae646f1da42a
[]
no_license
rauldosS/desafio_compiladores
075e7dcb3a167d20d71928727db6c1cb500e23af
da01adf41c47dafd50b1487bb4ad8d27c4f2d199
refs/heads/main
2023-01-03T09:13:18.990618
2020-10-29T01:25:59
2020-10-29T01:25:59
305,174,524
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
# Generated by Django 3.1.2 on 2020-10-28 23:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('desafio', '0021_auto_20201026_0732'), ] operations = [ migrations.CreateModel( name='Atributos', fields=[ ...
[ "48498755+rauldosS@users.noreply.github.com" ]
48498755+rauldosS@users.noreply.github.com
d01c0cfc4e6c223bd56c8cba997a671ee074cc0a
642b7138da231474154a83c2dc3b4a2a42eb441b
/array/sub_arr_with_least_avg.py
4adb849677697c4f94b4740e71555febb2a85ea6
[]
no_license
somanshu/python-pr
15465ed7182413591c709f9978420f6a16c9db91
7bfee6fc2a8340ba3e343f991a1da5bdb4ae9cb2
refs/heads/master
2020-07-02T17:21:37.132495
2019-08-22T08:04:11
2019-08-22T08:04:11
201,602,731
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
# https://www.geeksforgeeks.org/find-subarray-least-average/ def leastAvg(arr, k): summation = [] summation.append(0) summation.append(arr[0]) min_avg = 9999 min_avg_last_index = None for i in range(2, len(arr) + 1): summation.append(summation[i-1] + arr[i-1]) for i in range(3, l...
[ "somanshu@logos.social" ]
somanshu@logos.social
756c1be0b975f8ff483955c9a83fcd8608da7e75
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/3240.py
a6126108a389ce9f2e9429f3b4ddc959c34189ad
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
776
py
#!/usr/bin/env python import sys # import numpy import operator def main(filename): f = open(filename, 'r') T = int(f.readline()) for t in xrange(T): result = solve(f) print "Case #%i: %.7f" % (t+1, result) def solve(f): F0 = 2.0 C, F, X = map(float, f.rea...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0afde19c13d759b12976085d7ffb89bde8ee1f5e
9aaa39f200ee6a14d7d432ef6a3ee9795163ebed
/Algorithm/Python/812. Largest Triangle Area.py
892e5661352025b255cbf0cabc57d72ec735f4c0
[]
no_license
WuLC/LeetCode
47e1c351852d86c64595a083e7818ecde4131cb3
ee79d3437cf47b26a4bca0ec798dc54d7b623453
refs/heads/master
2023-07-07T18:29:29.110931
2023-07-02T04:31:00
2023-07-02T04:31:00
54,354,616
29
16
null
null
null
null
UTF-8
Python
false
false
1,046
py
# -*- coding: utf-8 -*- # Created on Mon Apr 09 2018 15:45:58 # Author: WuLC # EMail: liangchaowu5@gmail.com # get the area of triangle with Heron's formula # reference https://en.wikipedia.org/wiki/Heron%27s_formula class Solution(object): def largestTriangleArea(self, points): """ :type points: L...
[ "liangchaowu5@gmail.com" ]
liangchaowu5@gmail.com
f1196a410af03757d39757835dc4e5a8603ad26a
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/comparison/test_comment03.py
28e4c327e5958ca3a4b6bd46ac2f1bfae30638fe
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
961
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
09dddad36a31c3941f9759d85f109af7ad424d73
28c0bcb13917a277cc6c8f0a34e3bb40e992d9d4
/koku/api/migrations/0010_auto_20200128_2138.py
7aceb81ec568991a0e9b1d2e34bcf43e8c3ff8f9
[ "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
593
py
# Generated by Django 2.2.8 on 2020-01-28 21:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [("api", "0009_providerstatus_squashed_0042_auto_20200116_2048")] operations = [ migrations.RunSQL( """ UPDATE public.api_provider ...
[ "noreply@github.com" ]
luisfdez.noreply@github.com
de6c66ecf43e841a117ca0be3fd1b576c402f4e8
51e7336e8bb447187cbe6ede2910f40700316dc1
/simics/monitorCore/diddler.py
9bb67e16e8360d641a011f184d6c1538ec82b788
[]
no_license
hacker-steroids/RESim
69bac74a1b119c54d03b9ea0fda7a85cc45ea854
94498c699575f5078de415fac8c517d520cb2f94
refs/heads/master
2020-05-30T12:33:53.799610
2019-06-01T00:51:20
2019-06-01T00:51:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,721
py
#!/usr/bin/env python import os import re from simics import * def nextLine(fh): retval = None while retval is None: line = fh.readline() if line is None or len(line) == 0: break if line.startswith('#'): continue retval = line.strip('\n') return retval class ...
[ "mfthomps@nps.edu" ]
mfthomps@nps.edu
baebd8438e36c15261b39d8240930bbf3b21cfac
42fdf741bf64ea2e63d1546bb08356286f994505
/macrocab_ex2/rasp30_vmm_frame6.py
5ccb702b8fe5f8f28ed7cfe61ee3204261d47609
[]
no_license
skim819/RASP_Workspace_sihwan
7e3cd403dc3965b8306ec203007490e3ea911e3b
0799e146586595577c8efa05c647b8cb92b962f4
refs/heads/master
2020-12-24T05:22:25.775823
2017-04-01T22:15:18
2017-04-01T22:15:18
41,511,563
1
0
null
null
null
null
UTF-8
Python
false
false
377
py
'cab_vmm.O[0:5]' ,[range( 29, 23, -1), 21]] ## o/ps connectn to i/ps?? ummmmm !!! ---we need this self.li = smDictFromList(li_sm) li0b = recStrExpand(li_sm_0b) li0b.reverse() self.li0 = recStrExpand(li_sm_0a) + li0b self.li1 = recStrExpand(li_sm_1) #pdb.set_trac...
[ "ubuntu@ubuntu-VirtualBox.(none)" ]
ubuntu@ubuntu-VirtualBox.(none)
ded8ee76872f157d15e6d9423f30b3068ac198ae
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02392/s638672279.py
d0cf75d9c7215e1b6ef0047f7a19216eae852dd7
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
import fileinput for line in fileinput.input(): tokens = list(map(int, line.strip().split())) a, b, c = tokens[0], tokens[1], tokens[2] if a < b and b < c: print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ceb816aa78646111fde73dd941d40a313982aebe
95100d3a58122a81946eac46618b9e59bef1ba22
/Bin/autoTestClass.py
82c5b1f2fd5691c930ede521b36ef16f95f2afad
[]
no_license
ayiya-hui/automation
6fc65bf7168a2ca663d17ead66ad83adffb61cb4
d100795db2275994a40199b8935296ae30a9eb0e
refs/heads/master
2022-12-31T08:32:53.558207
2020-05-25T09:17:53
2020-05-25T09:17:53
135,518,107
2
1
null
null
null
null
UTF-8
Python
false
false
6,566
py
import logging class Config: def __init__(self): self.dataCollector='' self.appServer='' self.user='' self.password='' self.testModule='' self.testTask='' self.testSuites='' self.excludeSuites='' self.option='' self.sleep='' self.version='' class TestCategory: def __init__(sel...
[ "hhuang@fortinet.com" ]
hhuang@fortinet.com
8a08595a18180fdd63eb5e412db51e021f22bf79
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03050/s149029376.py
4af3d320d49d90f7eaaaa5bb9349d14574c742f6
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
def main(): def trial_division(n): divs = [] for i in range(1, int(n**0.5)+1): if n % i == 0: divs.append(i) if i != n//i: divs.append(n//i) return divs N = int(input()) divs = trial_division(N) ans = 0 for d in...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
965b64261b972827ee492000da2e36bc4999cadf
2776195dc0863f5e43c5394767f1f950ce7672bb
/util/command_console_tui.py
646711bad18fe43b632ea9eb243f651dc9bf2df2
[ "MIT" ]
permissive
sharkbound/PythonTwitchBotFramework
a5e6f55c89a0639cb8e3dd16b99bb6388ee5f5f8
3d9aff994d531272d53b869c3dac6602b04a9d70
refs/heads/master
2023-09-04T06:34:44.456338
2023-08-16T21:32:58
2023-08-16T21:32:58
134,095,615
111
47
MIT
2023-09-14T20:40:04
2018-05-19T20:24:24
Python
UTF-8
Python
false
false
6,689
py
#!/usr/bin/env python3 import asyncio import json import click import websockets from urwid import AsyncioEventLoop, Edit, ExitMainLoop, Filler, Frame, MainLoop, Text, connect_signal COMMAND_READ, PASSWORD_READ = 0, 1 SEND_PASSWORD = 'send_password' BAD_PASSWORD = 'bad_password' DISCONNECTING = 'disconnecting' LIST_C...
[ "ashort@mozilla.com" ]
ashort@mozilla.com
38507d07b45390ec1f2ae7abcb4b09bafc861be6
bea3febeda4c0688dfbb2db584ab4f7d710040e0
/django/instad/insta/settings.py
6010fe845419449c188ed9aa6dcdd3369ae86c0d
[]
no_license
airpong/TIL-c9
c471ac73e23716cf677ba590dd6099e584c42883
069cc53820a09cd9787765ad41ba7e792dc342b5
refs/heads/master
2022-12-12T22:26:23.147651
2019-06-27T08:24:44
2019-06-27T08:24:44
166,777,129
0
0
null
2022-11-22T03:46:57
2019-01-21T08:34:01
Python
UTF-8
Python
false
false
3,302
py
""" Django settings for insta project. Generated by 'django-admin startproject' using Django 2.1.8. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # B...
[ "giponge@gmail.com" ]
giponge@gmail.com
e62b8f2033d88c7c11b3b8e799e603b19e5974b7
4bfbcb96dcfe05fee32d222cb7a274099db055bd
/bilinear_LSTM_hingeloss/utils.py
ece2b6692b2ebe9ab87dc7f335d8cdfc537b3af4
[]
no_license
naushadzaman/ACL_CKBC
5c5c8b0669e059f9f08090b9500dff84af94d2e6
655f3aaf28ff5040f50e72fb8118934766306969
refs/heads/master
2020-07-17T07:30:07.943944
2018-11-19T01:27:13
2018-11-19T01:27:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,095
py
from scipy.io import loadmat import numpy as np import math from random import shuffle from random import choice from random import randint from theano import tensor as T def lookup(We,words,w): if w in words: return We[words[w],:] else: #print 'find UUUNKKK words',w return We[words['UU...
[ "abbeyli92@gmail.com" ]
abbeyli92@gmail.com
7c447cdc98629e0992225a79f10d08e2ae28ed04
650aed41de2191565dce812a3c4d2b049928f5a4
/tornado_overview/chapter01/blockio_test.py
1c48fd520ee956a849f583d2d50952c3f9107b0f
[ "Apache-2.0" ]
permissive
mtianyan/TornadoForum
a41dfc57f1a9ca60a0991dcaa4374cd4a8b6ba93
5698dd5cc0e399d3d0ec53e159b8e1f1cddfbe71
refs/heads/master
2022-04-23T09:48:25.933781
2020-04-20T17:06:23
2020-04-20T17:06:23
168,485,700
2
1
null
null
null
null
UTF-8
Python
false
false
651
py
# 阻塞io import socket import requests html = requests.get("http://www.baidu.com").text # #1. 三次握手建立tcp连接, # # 2. 等待服务器响应 print(html) print("*" * 30) # 如何通过socket直接获取html client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) host = "www.baidu.com" client.connect((host, 80)) # 阻塞io, 意味着这个时候cpu是空闲的 client.send("GET...
[ "1147727180@qq.com" ]
1147727180@qq.com
e1bd696eaab1b5eebddfedbc850748664f84c256
bb983b38f9be7b6fd4ab1a651484db37c1aeff39
/0705/test2_physical_properties.py
f6a28c9ca6581f46cb5dcee2ac17325035455cc2
[]
no_license
nakanishi-akitaka/python2018_backup
c214df78372cca993d69f8001010ec2f6dcaf1be
45766d3c3777de2a91b3e2cf50c6bfedca8627da
refs/heads/master
2023-02-18T08:04:28.625532
2022-06-07T01:02:53
2022-06-07T01:02:53
201,399,236
5
30
null
2023-02-10T21:06:51
2019-08-09T05:48:22
Jupyter Notebook
UTF-8
Python
false
false
583
py
# -*- coding: utf-8 -*- """ Check physical properties of materials Created on Thu Jul 5 14:04:59 2018 @author: Akitaka """ from mendeleev import element for i in range(1,100): x=element(i) # print(x.symbol) # print(x,x.electron_affinity,"electron affinity") if(x.electron_affinity==None...
[ "noreply@github.com" ]
nakanishi-akitaka.noreply@github.com
4b8beff234eb9196456cb171893224665acf0ae0
b580fd482147e54b1ca4f58b647fab016efa3855
/host_im/mount/malware-classification-master/samples/not/sample_good386.py
12e873b5df7e5bce9581700bed1365123b6204c4
[]
no_license
Barnsa/Dissertation
1079c8d8d2c660253543452d4c32799b6081cfc5
b7df70abb3f38dfd446795a0a40cf5426e27130e
refs/heads/master
2022-05-28T12:35:28.406674
2020-05-05T08:37:16
2020-05-05T08:37:16
138,386,344
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
import re import datetime import math import array import random import readline import textwrap import stringprep import difflib nterms = 719 n1, n2 = 0, 1 if nterms <= 0: print("Please provide a positive integer.") elif nterms == 1: print("Fibonacci sequence upto", nterms, ":") print(n1) else: print("Fibonacci se...
[ "barnsa@uni.coventry.ac.uk" ]
barnsa@uni.coventry.ac.uk
8e632b71a2abf023a97cded3ffed0e7a87717c64
5138b8077a944e655570c3d15389ccaac0dafceb
/scripts/fileserver.py
c20b8737a7e1bddee6c8ef5a3c1e1060c3c2b821
[]
no_license
cms-btv-pog/CTagTraining
9740abaf4a5a05500782695723cace90f6d8882e
affb2dc09a3bb812d59302990f59cbfaa06370f4
refs/heads/master
2021-01-18T22:29:05.148151
2016-04-07T07:12:29
2016-04-07T07:12:29
42,971,506
2
4
null
2016-01-25T10:15:07
2015-09-23T01:42:03
Python
UTF-8
Python
false
false
998
py
''' Workaround to allow xrd access to root files, given that the ROOT version shipped with anaconda does not provide the functionality. Files are transferred on demand and deleted when not needed any longer. ''' import subprocess import os import uuid class PoolFile(object): def __init__(self, path, delete_on_exi...
[ "mverzett@cern.ch" ]
mverzett@cern.ch
39c8bc0e2a0434d7c3f69aa93bb3a118e6a627a0
fa5e890e95f35744a42ae231c6678b8295502c12
/lectures/migrations/0001_initial.py
5b9fa25a457967d2fff42b78c8734607ad809eae
[]
no_license
JeeHyungPark/first_MVP
4518ae01114686e9ad9fde45112c2eef438e1054
c4a673a69772260d1ebdb16f73b242c4f90da674
refs/heads/master
2023-01-05T19:31:35.018377
2020-09-02T07:38:34
2020-09-02T07:38:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
# Generated by Django 3.0.9 on 2020-09-01 16:13 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Lecture', fields=[ ('id', m...
[ "cdkrcd8@gmail.com" ]
cdkrcd8@gmail.com
fa338f2fa35a152beb28b1af654dc0bd2c3f620e
e1efc8e0b0e4629dea61504fbc816c0527691bd9
/6.redis/redis12-线程模型.py
ed2756dce5974767a3cd606fad0585653fcbcf93
[]
no_license
xiongmengmeng/xmind-technology
2bb67a0bf92cfd660cac01f8ab3a2454423ccba5
e2fdb6987ef805a65f0a4feb52d84383853f4b77
refs/heads/main
2023-07-31T07:10:29.868120
2021-09-11T08:18:17
2021-09-11T08:18:17
307,636,242
3
1
null
null
null
null
UTF-8
Python
false
false
2,214
py
import os,sys parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0,parentdir) import xmind from xmind.core.markerref import MarkerId xmind_name="redis" w = xmind.load(os.path.dirname(os.path.abspath(__file__))+"\\"+xmind_name+".xmind") s2=w.createSheet() s2.setTitle("线程模型") r2=...
[ "xiongmengmeng@qipeipu.com" ]
xiongmengmeng@qipeipu.com
efd6dd85796d1d65f530aaa37a650624b1f19999
cc8905a957e9e0fa211e5e14e6cda6957727c5dc
/ipwxlearn/tests/glue/test_updates.py
91d6c4e7364f03c7f83768bba473cdaea04aab4c
[]
no_license
korepwx/ipwxlearn
630ae276e1a8b95e68d466debdaf4f51c5c6d634
afbfe8ee1af114a8bf6aac73aee36c4d0930b8fc
refs/heads/master
2021-01-14T10:15:05.883476
2016-07-15T01:59:23
2016-07-15T01:59:23
57,875,265
0
0
null
null
null
null
UTF-8
Python
false
false
2,116
py
# -*- coding: utf-8 -*- import unittest import numpy as np from ipwxlearn import glue from ipwxlearn.glue import G class UpdatesTestCase(unittest.TestCase): def _do_test_update(self, optimizer, n_dim=256, *args, **kwargs): graph = G.Graph() with graph.as_default(): # okay, compose t...
[ "public@korepwx.com" ]
public@korepwx.com
05a0b55aa941375cb364396a2d5cb1c4b6bd978a
1382e88bc948a1f6b506018521827a1fafb9c2df
/modules/dictionary/dictionary.py
39305b1b1169a9c819196605b33ef8f97574931d
[]
no_license
nano13/tambi
73c405d333b91dc478d7cd274e3f8516fde15bd5
9475110ddd9ebb153de4bc8c734ce95c11d63186
refs/heads/master
2021-01-18T12:52:22.386453
2019-01-19T13:52:50
2019-01-19T13:52:50
100,367,577
2
2
null
null
null
null
UTF-8
Python
false
false
2,458
py
# -*- coding: utf_8 -*- from interpreter.exceptions import CommandNotInThisModule from interpreter.structs import Result import sqlite3 class Dictionary(object): def __init__(self): pass def initDbConnection(self): self.connection = sqlite3.connect("./modules/vocable/vocables.db") ...
[ "nano13@gmx.net" ]
nano13@gmx.net
c626b14c3515006e2869ad2a09ddea3d53f9a59a
9468a03f04f91bbb76338253ccb53b885b65698a
/beam_models/EMSS/with_elevation/SKADCBeamPatterns/2019_08_06_SKA_Ku/interpolated/interpolate_beam_Ku.py
035dcf0d39393dc2b17e0baaeeffdfca603503e6
[ "BSD-3-Clause" ]
permissive
ska-telescope/sim-mid-pointing
53a9cd1cb1e66584a72b4f50e51b3e15942d1de7
0f11d37e6fac231d7f20e4a7e20ee76e7d2d560f
refs/heads/master
2020-05-20T06:47:51.107561
2020-01-23T13:50:22
2020-01-23T13:50:22
185,428,675
0
1
BSD-3-Clause
2019-10-15T16:21:26
2019-05-07T15:22:02
Python
UTF-8
Python
false
false
3,440
py
import logging import sys import numpy from processing_library.image.operations import create_empty_image_like from rascil.processing_components.image.operations import export_image_to_fits, import_image_from_fits import matplotlib.pyplot as plt log = logging.getLogger() log.setLevel(logging.INFO) log.addHandler(lo...
[ "realtimcornwell@gmail.com" ]
realtimcornwell@gmail.com
6d5689b96edd16de7af3d2cdb8ee31be61120d55
dcbb531eada723b717cf7243fbeac6d3738007b4
/chapter3/BX-CSV-Dump/users.py
ba7426d264ec460afc5d144cd1afc3500153ad3b
[]
no_license
yangtao0304/recommendation-system
14a023a57d38a2450d44467bb85c441bd067e8f9
995b93ed0fd146d5bb6d837055b8e150a8b145c7
refs/heads/master
2020-09-12T05:56:00.173486
2020-03-10T01:24:28
2020-03-10T01:24:28
222,332,946
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
import pandas as pd file_path = 'BX-Users.csv' users = pd.read_table(file_path, sep=';', header=0, encoding='ISO-8859-1') print('前5条数据为:\n{}\n'.format(users.head())) print('总的数据条数为:\n{}\n'.format(users.count())) print('年龄区间:<{},{}>'.format(users['Age'].min(), users['Age'].max())) ''' 总的数据条数为: User-ID 278858 Loca...
[ "im.yangtao0304@gmail.com" ]
im.yangtao0304@gmail.com
06017e09936000545346137f186f35e3dd4590ef
a1aba83b90285def84cc425c0b089dd632a01a51
/py千峰/day13线程与协程/xiecheng03.py
8ba4d3827ffd07f072a48671005c6c1fcbd1b612
[]
no_license
15929134544/wangwang
8ada14acb505576f07f01e37c936500ee95573a0
47f9abbf46f8d3cbc0698cb64c043735b06940d4
refs/heads/master
2023-05-11T19:59:54.462454
2021-05-25T15:19:43
2021-05-25T15:19:43
328,119,916
1
1
null
2021-05-11T16:13:18
2021-01-09T09:33:29
JavaScript
UTF-8
Python
false
false
1,285
py
""" greenlet已经实现了协程,但是这个是人工切换,是不是觉得太麻烦了,不要着急 python还有一个比greenlet更强大的并且能够自动切换任务的模块gevent 其原理就是当一个greenlet遇到了IO(指的是input output输入输出,比如网络、文件操作等) 操作时,比如访问网络,就自动切换到其他的greenlet,等到IO完成, 在适当的时候切换回来继续执行。 由于IO操作非常耗时,经常使程序处于等待状态,有了gevent我们自动切换协程, 就保证总有greenlet在运行,而不是等待IO。 """ import time import gevent as gevent from greenlet...
[ "you@example.com" ]
you@example.com
64f802ee3da662f7515a4b931b1bd80bc895e282
e2992e19ebc728387125a70c72a702a076de7a12
/Python/01_My_Programs_Hv/05_List/102_C5_E3.py
20429dcf098b179f726d90ec28f04fadd4ca8fe1
[]
no_license
harsh1915/Machine_Learning
c9c32ed07df3b2648f7796f004ebb38726f13ae4
c68a973cfbc6c60eeb94e253c6f2ce34baa3686e
refs/heads/main
2023-08-27T15:01:16.430869
2021-11-15T07:53:36
2021-11-15T07:53:36
377,694,941
0
1
null
null
null
null
UTF-8
Python
false
false
164
py
ls= ["abc", "def", "ghi"] print(ls[0][::-1]) def list_reverse(ls): ls1= [] for i in ls: ls1.append(i[::-1]) return ls1 print(list_reverse(ls))
[ "“hdjethva6@gmail.com”" ]
“hdjethva6@gmail.com”
a18d86d09a8f17900f98f2b1c6064003b6ee5ec0
50e10e8f304d32329ba88aa3fa8f8250c0a6a84d
/standard/girc.py
594043511c56131f646724eb2d265123d12a8728
[ "Apache-2.0" ]
permissive
candeira/duxlot
0a1b4468e1d93f3db90219ea21d45a8e494aaabb
69f4234e14ac8ad1ef53a0d663a7240d6e321e46
refs/heads/master
2021-01-20T04:26:10.588945
2012-09-13T17:00:18
2012-09-13T17:00:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,750
py
# Copyright 2012, Sean B. Palmer # Code at http://inamidst.com/duxlot/ # Apache License 2.0 # @@ this can't be named irc.py import duxlot # Save PEP 3122! if "." in __name__: from . import api else: import api command = duxlot.command # @@ ask, not tell yourself # IRC @command def ask(env): "Ask anothe...
[ "sean@miscoranda.com" ]
sean@miscoranda.com
5262ad751574f1650ce9fde9ee1b73565b930cb2
d7379fa682e25d1d40b93b61dfe7c1fc2a64e0ff
/test/test_variables.py
fb481be5d642768a394481a1a887f86acd895855
[ "Apache-2.0" ]
permissive
renuacpro/unit
f7b00cfc059b1ff9298824ead28b1ac404b86ff0
22c88f0253d57756ad541326df09d1398a871708
refs/heads/master
2022-12-10T08:27:15.371966
2020-09-07T12:21:14
2020-09-07T12:21:14
293,599,216
2
0
null
2020-09-07T18:08:47
2020-09-07T18:08:47
null
UTF-8
Python
false
false
3,888
py
from unit.applications.proto import TestApplicationProto class TestVariables(TestApplicationProto): prerequisites = {} def setUp(self): super().setUp() self.assertIn( 'success', self.conf( { "listeners": {"*:7080": {"pass": "routes/...
[ "zelenkov@nginx.com" ]
zelenkov@nginx.com
7e96ded78edf879fd044bae181c6553700ee19a1
3db9ef78b62b01bf79dff6671b02c24192cd4648
/13/8.py
b0c91ec8d0d5b114b03beb2ee22681599281cb1e
[]
no_license
rheehot/python-for-coding-test
401f5655af1a8cf20bc86edb1635bdc4a9e88e52
be95a0d0b3191bb21eab1075953fa472f4102351
refs/heads/master
2022-11-11T19:35:56.680749
2020-06-24T02:19:48
2020-06-24T02:19:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,759
py
from collections import deque def get_next_pos(pos, board): next_pos = [] # 반환 결과 (이동 가능한 위치들) pos = list(pos) # 현재 위치 pos1_x, pos1_y, pos2_x, pos2_y = pos[0][0], pos[0][1], pos[1][0], pos[1][1] # (상, 하, 좌, 우)로 이동하는 경우에 대해서 처리 dx = [-1, 1, 0, 0] dy = [0, 0, -1, 1] for i in range(4): ...
[ "noreply@github.com" ]
rheehot.noreply@github.com
43fceb1cbee1e30cbb8565be49c40ba5a3866b44
6d9fbe6e6a2abfd8455e92f6dba67a5f02d87f41
/lib/phonenumbers/shortdata/region_TR.py
4840c1a7757ec99155ac8ae581af9b61d4516426
[]
no_license
JamesBrace/InfluenceUWebLaunch
549d0b48ff3259b139cb891a19cb8b5382ffe2c8
332d25940e4b1b45a7a2a8200f77c8413543b199
refs/heads/master
2021-09-04T04:08:47.594900
2018-01-15T16:49:29
2018-01-15T16:49:29
80,778,825
1
1
null
null
null
null
UTF-8
Python
false
false
816
py
"""Auto-generated file, do not edit by hand. TR metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_TR = PhoneMetadata(id='TR', country_code=None, international_prefix=None, general_desc=PhoneNumberDesc(national_number_pattern='1\\d{2}', possible_number_pattern='\\d{...
[ "james.brace@mail.mcgill.ca" ]
james.brace@mail.mcgill.ca
9026e69e8f119456f9e40a29da8f7c7d3ef7372b
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/model_control/detailed/transf_Integration/model_control_one_enabled_Integration_PolyTrend_BestCycle_MLP.py
5274eb0449dc0222445102838746fbe7b7badd4e
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
154
py
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Integration'] , ['PolyTrend'] , ['BestCycle'] , ['MLP'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
36fa9338504116911b5efc2f47a261d074edb8a3
3cd4902b67de144d8e6f36335e125d0548d8cf97
/submissions/runs/RUN10_vc_extended_model_img_unsorted.py
129ab86ee4ee8a26ac6546af8dd14261d13a222a
[ "MIT" ]
permissive
stefantaubert/imageclef-lifelog-2019
5d201c2a28f15f608b9b58b94ab2ecddb5201205
ad49dc79db98a163c5bc282fb179c0f7730546b3
refs/heads/master
2022-10-06T12:42:30.011610
2022-08-29T13:35:09
2022-08-29T13:35:09
196,553,184
1
0
null
null
null
null
UTF-8
Python
false
false
3,215
py
from src.models.pooling.Model_opts import * from src.data.RawPlaces365Data import name_raw_places from src.data.IndoorOutdoorData import name_io from src.data.CocoYoloData import name_yolo from src.data.CocoDetectronData import name_detectron from src.data.CocoDefaultData import name_coco_default from src.data.OpenIma...
[ "stefan.taubert@posteo.de" ]
stefan.taubert@posteo.de
99fbbf8071ba11b6ce828063c78654215208e339
bede13ba6e7f8c2750815df29bb2217228e91ca5
/medical_lab_management/__manifest__.py
01ea6d84e8879c00ab859c47d9b8fa1631145e57
[]
no_license
CybroOdoo/CybroAddons
f44c1c43df1aad348409924603e538aa3abc7319
4b1bcb8f17aad44fe9c80a8180eb0128e6bb2c14
refs/heads/16.0
2023-09-01T17:52:04.418982
2023-09-01T11:43:47
2023-09-01T11:43:47
47,947,919
209
561
null
2023-09-14T01:47:59
2015-12-14T02:38:57
HTML
UTF-8
Python
false
false
2,048
py
# -*- coding: utf-8 -*- ############################################################################# # # Cybrosys Technologies Pvt. Ltd. # # Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). # # You can modify it under the terms of the GNU AFFERO # GENERAL PUBLIC LICENSE (AGPL v3)...
[ "ajmal@cybrosys.in" ]
ajmal@cybrosys.in
2d48271b9fc70a4e9d62124e31981289ac41c030
cfb373af248f1f24124194913a52d395e6b826e7
/recruitment_plus/config/docs.py
e2d3da882af7144d3fec38727c269c5516b501da
[ "MIT" ]
permissive
leaftechnology/recruitment-plus
616da8e1b9fc405d431e3e20559f55c2b5e78981
505478a9d4299b18089dba41a86d7ab3b4907289
refs/heads/master
2023-04-02T13:50:52.135805
2021-04-12T13:29:24
2021-04-12T13:29:24
328,859,542
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
""" Configuration for docs """ # source_link = "https://github.com/[org_name]/recruitment_plus" # docs_base_url = "https://[org_name].github.io/recruitment_plus" # headline = "App that does everything" # sub_heading = "Yes, you got that right the first time, everything" def get_context(context): context.brand_html =...
[ "jangeles@bai.ph" ]
jangeles@bai.ph
8351589ff5cf619e24e9651f2c6e06360a29a3d5
0580861bd8b993ac92faec0ed88a339975d702c0
/reagent/model_managers/discrete_dqn_base.py
ea825859334f6a14b3a64a0e0ef59b203444de62
[ "BSD-3-Clause" ]
permissive
Sandy4321/ReAgent
346094ae4c98121de5c54d504186f583de21daf0
0a387c1aeb922d242c705338fae9379becc82814
refs/heads/master
2023-07-17T01:27:17.762206
2021-08-19T03:15:15
2021-08-19T03:17:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,205
py
#!/usr/bin/env python3 import abc import logging from typing import Dict, List, Optional, Tuple from reagent.core import types as rlt from reagent.core.dataclasses import dataclass, field from reagent.core.parameters import ( EvaluationParameters, NormalizationData, NormalizationKey, RLParameters, ) f...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com