blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
6db2f2bffdf1414130a745c38c695d1487cb7613
05ea9d119263eca2292e23fa2151b7b4cabd8de6
/setup.py
188200af449f4008c216f639b97207689b00c9c8
[ "MIT" ]
permissive
BugBreaker/smote_variants
55f5f650abac163a1dbebf71adb96ce13060e6da
dd937a5c827580912ec81d3e209ae96074623301
refs/heads/master
2020-04-16T21:26:05.344604
2019-01-01T16:36:23
2019-01-01T16:36:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,240
py
import os import codecs from setuptools import setup def readme(): with codecs.open('README.rst', encoding='utf-8-sig') as f: return f.read() version_file= os.path.join('smote_variants', '_version.py') with open(version_file) as f: exec(f.read()) DISTNAME= 'smote_variants' DESCRIPTION= 'Variants of ...
[ "gyuriofkovacs@gmail.com" ]
gyuriofkovacs@gmail.com
233365653559692108c043142b29b488ee4196ec
47b028ec01008ed901f2fd7779abe47f52d458fe
/tests/test_api.py
279dc71cb898c8d6e493c54c58b52be80ebc4953
[ "MIT" ]
permissive
avara1986/gozokia
d6a5c2214f96c666283f129b96d22ce78291b32e
03da46359c4a97a35b8f94686cccec7fc9b438cd
refs/heads/master
2020-12-24T06:24:06.031752
2016-10-12T10:27:12
2016-10-12T10:27:12
38,059,692
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
# encoding: utf-8 import unittest import os from gozokia import Gozokia from gozokia.rules import GreetingRaise, GreetingObjetive os.environ.setdefault("GOZOKIA_SETTINGS_MODULE", "tests.settings_tests") class ApiTest(unittest.TestCase): def test_foo(self): goz = Gozokia() goz.initialize() ...
[ "a.vara.1986@gmail.com" ]
a.vara.1986@gmail.com
abb4fca4705ef6f801a4ae2c4b73ea567e65411f
c7f1c021d88e215dccb0bbb10db02293cd8528b8
/plugins/agent2/agent2/__init__.py
06fa9186ad1d3376ceff7add1d40b3ac454ed2dd
[]
no_license
manuelnaranjo/OpenProximity
d11e61418b2249d210f0bbf5adbc6ccc38cd2773
f93c8009e40ce60c65090370adf0427e944d375b
refs/heads/master
2023-08-31T11:17:28.033936
2011-11-13T03:27:10
2011-11-13T03:27:10
1,778,676
4
2
null
null
null
null
UTF-8
Python
false
false
988
py
# OpenProximity2.0 is a proximity marketing OpenSource system. # Copyright (C) 2009,2008 Naranjo Manuel Francisco <manuel@aircable.net> # # 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 version 2...
[ "manuel@aircable.net" ]
manuel@aircable.net
1d0bddf3aee9a3f85fd686500670596d63d534b2
71a4a5ff8dac94da32769710ed7734b6d93013de
/durgajobs/testapp/admin.py
22abbfb07dee953ad05bbe9e0aeebfcf61c1e93b
[]
no_license
djangoprojects5pm/durga-jobs-project
fc6f114ac37276bda1567470831a5ff464432254
7cd967a2114a3bdd3038931a1ee15a7fa2367911
refs/heads/master
2022-11-22T07:39:08.747916
2020-07-20T13:44:04
2020-07-20T13:44:04
281,136,994
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
from django.contrib import admin from testapp.models import hydjobs,blorejobs,chennaijobs,punejobs # Register your models here. class hydjobsAdmin(admin.ModelAdmin): list_display=['date','company','title','eligibility','address','email','phonenumber'] class blorejobsAdmin(admin.ModelAdmin): list_display=['dat...
[ "you@example.com" ]
you@example.com
53dcc50f07e28eea9f33d772461b6d58768e8783
409ce560793c070ef4211b99c5a4a5316a258c4f
/pylith/topology/JacobianViewer.py
b8265fba4e31aecf6a5a07b3d37f9c57c2e909a2
[ "MIT" ]
permissive
calum-chamberlain/pylith
bb718bfb4305f03b45d42348e5d4fa5ed5f4a918
8712c39ade53c1cc5ac0e671e4296cee278c1dcf
refs/heads/master
2020-12-06T17:15:08.638337
2016-05-15T20:30:28
2016-05-15T20:30:28
46,401,744
0
0
null
2016-05-15T20:30:29
2015-11-18T07:09:12
C++
UTF-8
Python
false
false
3,525
py
#!/usr/bin/env python # # ---------------------------------------------------------------------- # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
02026e3cc3bc04d240c802281453151f5a171cb6
4a7e359bb329e3df757c2b6c812512c24ec615eb
/zxserver/migrations/0013_zxcomments_active.py
849c33e5850883aaea0e8f8950c9b6f5450d2b3a
[]
no_license
AlexBlueCrow/farmbackend
7768e84edafea230de713241db6bb566f7b8407e
311b25543d312a6b9d1b68905c15a6785a0b5097
refs/heads/master
2021-08-20T04:47:28.018997
2020-08-12T16:23:49
2020-08-12T16:23:49
214,458,002
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 2.2.5 on 2020-03-25 06:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('zxserver', '0012_auto_20200324_0957'), ] operations = [ migrations.AddField( model_name='zxcomments', name='active',...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
e486af2f2186d3f22ed87c24324d04a5f84e88dd
6a15a85acf553d8091d9e17014ff327135859fca
/space_view3d_mouselook_navigation/dairin0d/utils_userinput.py
fbe143da7915f475c8f19cd43c9862698d094362
[]
no_license
PyrokinesisStudio/myblendercontrib
a45d12bb074c25940d0d8b871ac468afb84e100c
4cce128cd65cb0dcda7e410fb16a780217faa68e
refs/heads/master
2021-05-29T13:58:26.447837
2015-07-09T12:08:13
2015-07-09T12:08:13
108,990,581
1
0
null
2017-10-31T12:11:28
2017-10-31T12:11:28
null
UTF-8
Python
false
false
15,157
py
# ***** BEGIN GPL LICENSE BLOCK ***** # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distri...
[ "Develop@Shaneware.Biz" ]
Develop@Shaneware.Biz
ec9d306935b9d6e779748f27758791152ace2ff5
581b8d28255229ce8c08c679ad1f169ec33dccc8
/tests/test_adjdictbqm.py
bebba45ad99b789da7e46a03dd1e0748b981877f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
arcondello/dimod
6e3381299dd08e8aa01af2b95350ef92a9504ef9
9af460dc0f9028a1292cf786063c278cae3c0c80
refs/heads/master
2023-08-20T18:57:06.730554
2020-10-08T02:56:36
2020-10-08T02:56:36
115,138,524
1
0
Apache-2.0
2022-04-21T16:23:24
2017-12-22T17:55:46
Python
UTF-8
Python
false
false
1,444
py
# Copyright 2019 D-Wave Systems 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...
[ "arcondello@gmail.com" ]
arcondello@gmail.com
e23f0cb5a1eb50017a36c14d298d189291529d76
f704ae02dae34b34f668b475f0355970a20694c3
/python/planetlabAPI.py
ac8cad68dcc843e530443b72bf8fd2d2b8dd3da2
[]
no_license
JustinCappos/stork
18575009d893db75681e8e0efa21db083576d133
3299ea959bad6d145522e8f84df65df5e76fbd81
refs/heads/master
2021-01-13T14:18:46.267743
2015-04-15T15:37:14
2015-04-15T15:37:14
34,002,712
1
1
null
null
null
null
UTF-8
Python
false
false
8,986
py
# /usr/bin/env python """ <Program Name> planetlabAPI.py <Started> September 16, 2007 <Author> Justin Cappos <Purpose> Wraps all of the PLC authentication calls. Hopefully I can make this less of a mess than the old code for this. Detailed information about args, the API itself, etc. is at: ...
[ "justincappos@gmail.com" ]
justincappos@gmail.com
5056b4eb34025036efed2f77739e4022a917041f
4ca8382d8e0bc00f4cd440be63d7d64fbbd033c0
/test_site/mysite/news/migrations/0006_auto_20210608_1502.py
c4c425c07c24e3f981fdecb4725908c322ffb1cd
[]
no_license
KarinaYatskevich/python
8ea0b8273399a313f161f5b4ce5e62e421109be1
b889532fe6dbf7f953b250c923584e910bc70b21
refs/heads/master
2023-08-28T14:52:27.298276
2021-10-22T19:27:29
2021-10-22T19:27:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
# Generated by Django 3.2.3 on 2021-06-08 12:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('news', '0005_alter_news_category'), ] operations = [ migrations.RenameField( model_name='news', old_name='content', ...
[ "karinav19817@gmail.com" ]
karinav19817@gmail.com
2cc8b618cd4e35fd10fa646f358e5c93a80a1fa9
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/machinelearningexperimentation/get_account.py
aa9a9943ca410746d33829d222c0140cfd266fd4
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,987
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
940287a3c1503fd4beefd16acea158f5422f72d3
633ab8880dc367feefdb6ef565ed0e70a4094bc1
/10001-11000/10989.py
dac6c76fc02397c18eca1041d39086789a6943ec
[]
no_license
winston1214/baekjoon
2e9740ee2824d7777f6e64d50087b5c040baf2c6
20125255cd5b359023a6297f3761b2db1057d67d
refs/heads/master
2023-03-04T09:07:27.688072
2021-02-16T13:51:49
2021-02-16T13:51:49
284,832,623
3
1
null
null
null
null
UTF-8
Python
false
false
273
py
# @Author YoungMinKim # baekjoon import sys N=int(sys.stdin.readline()) result = [0]*10001 for _ in range(N): a=int(sys.stdin.readline()) result[a] = result[a]+1 for i in range(10001): if result[i] != 0: for j in range(result[i]): print(i)
[ "winston1214@naver.com" ]
winston1214@naver.com
8807631112c2be71c1b5d45755803ffd6af7db0f
8606e128484a4cc1fc4e7b406817a7ea96b55c8b
/src/run.py
fbb1ff4541fb7f17ac4c7648ff7c86c21ecf6c22
[ "CC0-1.0" ]
permissive
ytyaru/Python.PySimpleGuiWeb.SetUp.20210618110027
a3eba2e262cbf40a3e26e854c849e604244aeb99
9b5163d7eb07ff8efae5de91bd21d02a87455a39
refs/heads/master
2023-06-07T21:16:56.862107
2021-06-18T06:38:15
2021-06-18T06:38:15
378,022,064
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
#!/usr/bin/env python3 # coding: utf8 import PySimpleGUIWeb as sg print(dir(sg)) print(sg.theme_list()) sg.theme('DarkGreen') layout = [ [sg.Text('PySimpleGUIWeb テスト')], [sg.Text('名前', size=(15, 1)), sg.InputText('山田太郎')], [sg.Text('年齢', size=(15, 1)), sg.Spin(None, initial_value=20)], [sg.Text('趣味', ...
[ "yttry0@gmail.com" ]
yttry0@gmail.com
17739c606e36fb190c627f7507e332546d8a1ae7
1577e1cf4e89584a125cffb855ca50a9654c6d55
/pyobjc/pyobjc/pyobjc-core-2.5.1/PyObjCTest/test_bridges.py
e803ab31cb684dd435a09d66a77d2d80598b1a77
[ "MIT" ]
permissive
apple-open-source/macos
a4188b5c2ef113d90281d03cd1b14e5ee52ebffb
2d2b15f13487673de33297e49f00ef94af743a9a
refs/heads/master
2023-08-01T11:03:26.870408
2023-03-27T00:00:00
2023-03-27T00:00:00
180,595,052
124
24
null
2022-12-27T14:54:09
2019-04-10T14:06:23
null
UTF-8
Python
false
false
2,106
py
from PyObjCTools.TestSupport import * from PyObjCTest.testbndl import OC_TestClass2 import objc import collections import sys if sys.version_info[0] == 2: from UserList import UserList from UserDict import IterableUserDict else: from collections import UserDict as IterableUserDict, UserList NSMutableAr...
[ "opensource@apple.com" ]
opensource@apple.com
90e7ecdd1b7ff7bb7d60e0fd4a70f7234fb44cf0
f000fa4e6ef1de9591eeabff43ba57b7bf32561d
/tests/common/test_retryutils.py
878419ecfa97affa641c0bd768d0921c7056692b
[]
no_license
VictorDenisov/ceph-lcm
1aca07f2d17bfda8760d192ffd6d17645705b6e4
3cfd9ced6879fca1c39039e195d22d897ddcde80
refs/heads/master
2021-01-15T09:19:23.723613
2016-09-17T01:18:45
2016-09-17T01:18:45
68,424,913
0
0
null
2016-09-17T01:17:36
2016-09-17T01:17:36
null
UTF-8
Python
false
false
3,106
py
# -*- coding: utf-8 -*- """Tests for cephlcm.common.retryutils""" import unittest.mock import pymongo.errors import pytest from cephlcm.common import retryutils @pytest.fixture def func_always_fails(): func = unittest.mock.MagicMock() func.__name__ = "" func.side_effect = Exception return func ...
[ "sarkhipov@mirantis.com" ]
sarkhipov@mirantis.com
2a4ab14fe77c86874630bbd75a3bd0aa9c75fbb6
291fe7fb4cc5b682e560b0c5958e2220054451c6
/Big48/클래스연습1.py
c1975edcbe42a3c2942626d1924915e230b33b94
[]
no_license
MinksChung/BigdataCourse
44dc5e7e578515e1dafbb7870911e09347a788f4
293803415da5d9f354059ea556818cc7610f36a5
refs/heads/master
2022-12-22T06:14:59.880933
2020-01-26T14:58:09
2020-01-26T14:58:09
202,575,724
0
0
null
2022-12-15T23:28:43
2019-08-15T16:29:35
Python
UTF-8
Python
false
false
1,357
py
# 파이썬은 '함수' 중심의 언어(모듈 중심). 모듈과 클래스는 별개 ## 클래스 생성 class Dog: # 클래스명은 대문자로 사용. ( ) 없이 :만 사용 ## 멤버 변수 # 변수선언 color = "" # 색 field = "" # 견종 ## 생성자 함수(init) (생성자는 함수? (o), 객체를 생성할 때 자동으로 호출되는 함수를 생성자라고 한다) def __init__(self): # 클래스안에 있는 생성자라는 표시로 변수명이 self 로 자동완성 됨 print("내가 마...
[ "minkschung@gmail.com" ]
minkschung@gmail.com
5ef9ea6662f4ffcc844776800d65dfb1c07daa47
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/13102432.py
ef19e6f2fb686eeee810105d86b362e257cc42be
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,832
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/13102432.py generated: Fri, 27 Mar 2015 16:09:59 # # Event Type: 13102432 # # ASCII decay Descriptor: {[[B_s0]nos -> pi+ pi- (pi0 -> gamma gamma)]cc, [[B_s0]os -> pi- pi+ (pi0 -> gamma gamma)]cc} # from Configurables import Generation Generation().EventTy...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
9aaa01fae066eb8b73fc2e88e7d5553d38668bed
7341a4f317639eed3c6868310c7421e8eb7016ce
/usados/users/admin.py
b8baf198dd2a857373c88643faac6d26fb6227d9
[]
no_license
fabianfalon/drf-boilerplate
f637fb66f7dd260e4a3b9c9daf6217ad99a90765
d24fd3a8de653f9731d41781e1e4e207881fbbb2
refs/heads/master
2020-05-19T06:05:12.629587
2019-11-12T18:44:15
2019-11-12T18:44:15
184,864,871
0
0
null
2019-10-22T06:26:39
2019-05-04T07:25:09
Python
UTF-8
Python
false
false
614
py
"""User models admin.""" # Django from django.contrib import admin from django.contrib.auth.admin import UserAdmin # Models from .models import Profile, User class CustomUserAdmin(UserAdmin): """User model admin.""" list_display = ('email', 'username', 'first_name', 'last_name', 'is_staff',) @admin.regis...
[ "fabian.falon@gmail.com" ]
fabian.falon@gmail.com
ca4ae6b51f677ae0b957d2c9e6b32f94cde2244b
3d2e5d1092acccfb73c07d68b6beeffc44b3f776
/planet/src/utils/plotting.py
cda9af3d36ef802034023f45d54fcd336fb5a5c4
[]
no_license
MatthijsBiondina/WorldModels
f6cbcfe5349da7119329ef10831810d1b85c9d02
ab468f1aa978e3aa4e05174db24922085d1e33b1
refs/heads/master
2022-12-22T11:54:46.040828
2020-09-23T11:41:48
2020-09-23T11:41:48
248,212,491
0
0
null
null
null
null
UTF-8
Python
false
false
2,336
py
import json import os from bokeh.plotting import output_file, figure, save from bokeh.layouts import gridplot import src.utils.config as cfg def save_metrics(metrics: dict, save_loc: str): with open(os.path.join(save_loc, 'metrics.json'), 'w+') as f: json.dump(metrics, f, indent=2) output_file(os.pa...
[ "biondina.matthijs@gmail.com" ]
biondina.matthijs@gmail.com
fe0c97d136e57f6216b83ca4c91edb61a8a19ef9
51f7e1a08f9db6dffae33c486381567c6f619d68
/tensorflow/contrib/learn/python/learn/learn_io/graph_io.py
d82ddb5c3b6c776d577b1a65697176de941176ce
[ "Apache-2.0" ]
permissive
jinumohan173/tensorflow
ec33271af31f93a44242bcd34fb6f6549290cc41
c967084e6af90b560b47435ff4d3292677353bfe
refs/heads/master
2020-03-28T01:56:36.509074
2019-05-16T11:39:04
2019-05-16T11:39:04
147,534,316
0
0
Apache-2.0
2018-09-05T14:48:36
2018-09-05T14:48:36
null
UTF-8
Python
false
false
21,737
py
# Copyright 2016 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
fb1685195ae352ac08edff4c05fa3f7106b9115a
c4702d1a06640555829b367852138cc93ba4a161
/dym_report_hutang/models/__init__.py
6a1cad99141266f27609c49c92ee3c235f1560e7
[]
no_license
Rizalimami/dym
0ecadf9c049b22ebfebf92e4eab6eaad17dd3e26
af1bcf7b77a3212bc8a8a0e41e6042a134587ed4
refs/heads/master
2020-04-08T10:56:43.605698
2018-11-27T06:44:08
2018-11-27T06:44:08
159,287,876
0
2
null
null
null
null
UTF-8
Python
false
false
28
py
import dym_report_hutang_aml
[ "rizal@portcities.net" ]
rizal@portcities.net
c807672ac9a93e578d16c491d87364a6512dba76
da3e36172daaf863ef73372f8c36cc2629ec1769
/tuplas/eje03.py
bb54a038752b4310aef8c28e3c48b273a8959656
[]
no_license
mentecatoDev/python
08eef1cb5a6ca2f16b01ee98192ccf1a65b9380a
80ddf541d3d1316ba8375db8f6ec170580e7831b
refs/heads/master
2021-06-30T07:03:51.957376
2021-02-22T09:40:46
2021-02-22T09:40:46
222,322,503
3
4
null
null
null
null
UTF-8
Python
false
false
1,134
py
""" Ejercicio 3 =========== Escribir un programa que lea un archivo e imprima las letras en orden decreciente de frecuencia de aparición. El programa debería convertir toda la entrada a minúsculas y solo contar las letras a-z (excluir la "ñ"). No se debeen contar espacios, dígitos, signos de puntuación o cualquier otro...
[ "favila@iesromerovargas.com" ]
favila@iesromerovargas.com
3da0ac5df135ea5ca9acb2681b46952392d40bff
ef0f84bcba3ded3624697c5c2a36e5c99cc5e498
/bumpversion/functions.py
b00f726a6650eb78bbecce9bb7197b7618e92fcd
[ "MIT" ]
permissive
lbryio/bumpversion
e502d7a78608f72f6d6817bad451232fc02d75c0
0c8f0e327ac97d896ca3fd2e254628e2afd0a4fe
refs/heads/master
2021-01-11T11:57:20.662827
2018-10-31T15:49:54
2018-10-31T15:49:54
76,699,829
3
1
MIT
2018-10-31T15:49:56
2016-12-17T02:44:18
Python
UTF-8
Python
false
false
2,873
py
import re import datetime class NumericFunction(object): """ This is a class that provides a numeric function for version parts. It simply starts with the provided first_value (0 by default) and increases it following the sequence of integer numbers. The optional value of this function is equal ...
[ "giordani.leonardo@gmail.com" ]
giordani.leonardo@gmail.com
f20cea7c2a92454e78c5329560ee8cf9c53555e6
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/sklearn/impute/_knn.py
e995c37a08e2e2b058641a63cec0e3dbf58a4303
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:890c089e7000acacdf6a7598f456bcc2d31f0331adb33d1b18c7cb84120d3758 size 11662
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
781e20ee60bcb21fe4e6068d568ba9a9e5393d25
8e311f8f94c9d218bd37f81c0badc906d78d6b33
/env/Lib/site-packages/openpyxl/utils/escape.py
52ef33e0a97ffe61274bfc2b8c8686fd8d78d159
[ "MIT" ]
permissive
htwenhe/DJOA
d76307ff8752c1e2a89101de1f74094b94bf9b18
3c2d384a983e42dedfd72561353ecf9370a02115
refs/heads/master
2021-09-03T21:49:28.267986
2018-01-12T08:12:55
2018-01-12T08:12:55
108,937,324
0
1
MIT
2018-01-12T08:06:50
2017-10-31T02:59:26
Python
UTF-8
Python
false
false
828
py
from __future__ import absolute_import # Copyright (c) 2010-2017 openpyxl """ OOXML has non-standard escaping for characters < \031 """ import re def escape(value): r""" Convert ASCII < 31 to OOXML: \n == _x + hex(ord(\n)) +_ """ CHAR_REGEX = re.compile(r"[\001-\031]") def _sub(match): ...
[ "htwenhe@hotmail.com" ]
htwenhe@hotmail.com
e4832b743c96639a2e1820a18dea177fd0b25045
54da94dce244ab659c8036cafcdc1b326fbfe490
/datoteke-s-predavanj/2015-16/10-nakljucna-stevila/matematiki/ocenipi.py
a001630b6569c0a30461ff211502ce246eb54d9d
[]
no_license
jakamrak/uvod-v-programiranje
640b2738164e2026308d7e60f1478659df79cc40
3c05290f4f23b384ad9063880fffe208c08fc599
refs/heads/master
2022-07-17T16:50:18.563453
2020-05-18T13:54:13
2020-05-18T13:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
import random def oceni_pi(stevilo_poskusov): v_krogu = 0 for _ in range(stevilo_poskusov): x, y = random.random(), random.random() if x ** 2 + y ** 2 <= 1: v_krogu += 1 return 4 * v_krogu / stevilo_poskusov def oceni_eno_kocko(stevilo_poskusov): pogostosti = {} for _ ...
[ "matija@pretnar.info" ]
matija@pretnar.info
9ff1408db7be8a1136af5560f389a255626ebc8d
f1614f3531701a29a33d90c31ab9dd6211c60c6b
/menu_sun_integration/infrastructure/pernod/translators/pernod_product_translator.py
310121443153e34684dfcbcfcb6ea8f758c223f6
[]
no_license
pfpacheco/menu-sun-api
8a1e11543b65db91d606b2f3098847e3cc5f2092
9bf2885f219b8f75d39e26fd61bebcaddcd2528b
refs/heads/master
2022-12-29T13:59:11.644409
2020-10-16T03:41:54
2020-10-16T03:41:54
304,511,679
0
0
null
null
null
null
UTF-8
Python
false
false
1,581
py
from menu_sun_api.domain.model.product.product import Product, ProductStatus from menu_sun_api.domain.model.seller.seller import Seller from menu_sun_integration.application.translators.interfaces.abstract_product_translator import \ AbstractProductTranslator from menu_sun_integration.infrastructure.pernod.presenta...
[ "pfpacheco@gmail.com" ]
pfpacheco@gmail.com
f94f884ae27d3ed75f4d10e846d2b7d48fa3ebc8
169f134442ce7f040e8a1878258c90ef9f0cbcc1
/skivvy.py
0ff0ad391b9f1781aa56ece1702caab15635ef0e
[]
no_license
Kazade/skivvy
9d41b0acc934e6059d60b386cc54a0638b14f7cc
41278fa66b559ee507862c729ad89028ccd5ae52
refs/heads/master
2016-09-11T04:41:31.998555
2014-12-05T16:36:10
2014-12-05T16:36:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,832
py
import os import sys import argparse import json import re import tempfile import subprocess ENV_REGEX = r"(.+)\[(.+)\]" parser = argparse.ArgumentParser(description="underling task worker") parser.add_argument("--config", type=unicode, default="underling.json") parser.add_argument("--env", type=unicode, default="") ...
[ "kazade@gmail.com" ]
kazade@gmail.com
6a761ba24b8b47cb5af1cfae4382ae695c5c1676
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_sultanates.py
18564bf3d0e82aa07511fead77ff8b845972a870
[ "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
234
py
#calss header class _SULTANATES(): def __init__(self,): self.name = "SULTANATES" self.definitions = sultanate self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['sultanate']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1ccac1f41ac29343126ed052cb5f0f3e98e6ec18
4909bdc40f9d606e336a077908ca16933989f66f
/tensorflow/python/distribute/multi_worker_continuous_run_test.py
19790a0d69fb2eb2bdeee043f96d30c1f8e66767
[ "Apache-2.0" ]
permissive
xhook/tensorflow
9532fcf1b466f65f938aa95aba290d99d2004ad0
978d3b37393a4dd2411e2e6657dff1bbcac81a66
refs/heads/master
2020-09-06T21:00:35.848217
2019-11-08T18:03:54
2019-11-08T18:59:48
220,535,874
0
0
Apache-2.0
2019-11-08T19:39:19
2019-11-08T19:39:18
null
UTF-8
Python
false
false
3,472
py
# Copyright 2019 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
59a16006343239f0fce22a8359cb005c9a563593
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03363/s899204324.py
4e166a6e2b65758d9abb5e6794647c95abe254e6
[]
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
429
py
import bisect import math n = int(input()) a = list(map(int,input().split())) s = [0]*(n+1) for i,e in enumerate(a): s[i+1] = s[i] + e def comb(n,m): return math.factorial(n)//math.factorial(m)//math.factorial(n-m) ans = 0 s = sorted(s) l = 0 r = 0 #print(s) while l < n+1: while r < n+1 and s[l] == s[...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
dcb8a80e5b04d0964118e6cb6917ac60f0a9857e
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/place_and_point/week_and_next_day/work_or_high_way/take_good_year_with_next_hand/woman/get_small_way.py
5a4a7c6086c5ee148aac418594f1d5b2fa66fbc4
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
#! /usr/bin/env python def place_and_few_case(str_arg): go_next_thing_at_great_way(str_arg) print('old_work') def go_next_thing_at_great_way(str_arg): print(str_arg) if __name__ == '__main__': place_and_few_case('seem_point')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
3dccb0ced631f2774613aa58ddedc938d556cee2
083b758356821647b6a2db3f4ae32b355ebd28c4
/Question_91_100/answers/answer_98.py
e98d41c8e6551a43cc8e51166b79b4fd2f798cbf
[ "MIT" ]
permissive
litiangu/Gasyori100knock
0b2e2844748acecba383500f56a25afad5a22973
38305760a4db4c6f8addf176630197960e7fc6a9
refs/heads/master
2020-07-16T18:00:05.756714
2019-09-01T22:58:39
2019-09-01T22:58:39
205,837,921
1
0
MIT
2019-09-02T11:02:30
2019-09-02T11:02:30
null
UTF-8
Python
false
false
5,894
py
import cv2 import numpy as np np.random.seed(0) # read image img = cv2.imread("imori_1.jpg") H, W, C = img.shape # Grayscale gray = 0.2126 * img[..., 2] + 0.7152 * img[..., 1] + 0.0722 * img[..., 0] gt = np.array((47, 41, 129, 103), dtype=np.float32) cv2.rectangle(img, (gt[0], gt[1]), (gt[2], gt[3]), (0,255,255), ...
[ "naga.yoshi.yoshi@gmail.com" ]
naga.yoshi.yoshi@gmail.com
31b1d495a4fa66ef1fc0ef77615b43c7dd5e44f3
ef54d37f8a3303013ca7469871a320d303957ed7
/robo4.2/fusion/tests/RIST/OVST/DDQual-API-HW/resources/variables.py
99de24a1b639071c60d76b95b0eded7fbd23e980
[]
no_license
richa92/Jenkin_Regression_Testing
d18badfcf16bda682dfe7bcbbd66f54a9a27a58d
24a74926170cbdfafa47e972644e2fe5b627d8ff
refs/heads/master
2020-07-12T10:01:59.099137
2019-08-27T12:14:53
2019-08-27T12:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,698
py
""" resources/variables.py - Enclosure variables used for AM-DVT Fusion testing = Usage = | *** Settings *** | | variables | resources/variables.py | | variables | resources/variables.py | ${ENCLOSURE} | | pybot --variablefile resources/variables.py | | pybot --variablefile resources/variables.p...
[ "akul@SAC0MKUVCQ.asiapacific.hpqcorp.net" ]
akul@SAC0MKUVCQ.asiapacific.hpqcorp.net
0c12edb269940c014aef162b5d110b539b105f38
165e706d485e90f4e4f63cfb9f2c35acda14cfc0
/solver1d/setup.py
43d90808245998eaf72f1a296070e72c855444fc
[ "Apache-2.0" ]
permissive
Tarkiyah/googleResearch
65581f3bbbe2ffe248c9e613c0ea7eac336d5372
dea327aa9e7ef7f7bca5a6c225dbdca1077a06e9
refs/heads/master
2022-12-07T12:04:44.153221
2019-11-21T16:03:48
2019-11-21T16:18:28
223,229,888
11
2
Apache-2.0
2022-11-21T21:39:10
2019-11-21T17:38:31
Jupyter Notebook
UTF-8
Python
false
false
1,148
py
# coding=utf-8 # Copyright 2019 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
0146a04104dc8ddd02af43bba75341ee40c82792
e73e318c099c5c71b750269ee84f1bbe09fffac2
/promis/admin.py
9e1f17c2da686b0bb73e82d7a11c462b1f97fda6
[]
no_license
ArietNyshanbaev/deputat
f304f2deb0807241d691a8838d2d11f3e7328c46
6a744969a2ee7a811f31b03994eced9d571c4be2
refs/heads/master
2021-03-23T23:47:39.893956
2016-09-12T16:46:15
2016-09-12T16:46:15
66,534,121
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
# Импорт стандартных пакетов Django from django.contrib import admin # Импорт моделей из баззы данных from .models import Promis, PromisRank, Result, Comments class PromisAdmin(admin.ModelAdmin): """ Класс Регистрации Админки для Клеинтов """ list_display = ('title', 'person', 'date', 'is_approved') list_filter = ...
[ "ariet.nyshanbaev@iaau.edu.kg" ]
ariet.nyshanbaev@iaau.edu.kg
6f74581e0d8602c2f47bea02cff088e3ce4eadb6
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_11059.py
9815daed4b4f8901097b703a4e2b8c9c3ac7fe0a
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
# How to Handle JSON with escaped Unicode characters using python json module? data = jsDat.get('data') data = data.encode('ascii', 'ignore')
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
17968e3caa7ee7355836b9479e64c6bc5051f7d8
2bd8fbe6e2ee2511d00479440aa589249234c2d8
/01-Supervised/17-neuralNetwork/day19/day19-1-neuralNetwork-2-MLPClassifier.py
23e1e91ceac3ac54f709ffc568dc722516ce7512
[]
no_license
LeenonGo/sklearn-learn
71d21f9b26cfb5cc6d65a22883127db873a31091
460d6e75e82943c802f7c025a03c821d02b5d232
refs/heads/master
2023-07-13T18:42:17.510938
2021-08-18T11:34:06
2021-08-18T11:34:06
371,628,997
0
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
# -*- coding: utf-8 -*- # @Author : Lee # @Time : 2021/7/23 9:20 # @Function: https://www.scikitlearn.com.cn/0.21.3/18/#1172 # from sklearn.neural_network import MLPClassifier X = [[0., 0.], [1., 1.]] y = [0, 1] clf = MLPClassifier(solver='lbfgs', alpha=1e-5, hidden_layer_sizes=(5, 2), random_state=1) clf.fit(X, y...
[ "yaa.lee@hotmail.com" ]
yaa.lee@hotmail.com
e60c0abdc0b7ac4f9ffc02f61ca16a77fee99345
61ba1d073fdbb34ad2ae4e9d0ae1b88083faeb02
/Sem I/Programarea Algoritmilor/laboratoare/lab2/problema6.py
82197831572d9292a03a2e658d6479b36dae91a4
[]
no_license
CosminHorjea/fmi
d899b639a085203963413918d2c508307cb9ba60
6b4911cdec64929710d984223385c1e8e36d5c7c
refs/heads/master
2023-07-09T01:04:24.418286
2023-06-22T21:50:00
2023-06-22T21:50:00
213,064,779
7
1
null
null
null
null
UTF-8
Python
false
false
1,120
py
''' 6. Jurnalul electronic al Anei conține, în fiecare zi, câte o frază cu informații despre cheltuielile pe care ea le-a efectuat în ziua respectivă. Scrieți un program care să citească o frază de acest tip din jurnalul Anei și apoi să afișeze suma totală cheltuită de ea în ziua respectivă. De exemplu, pentru fraza “A...
[ "horjeacosmin@yahoo.com" ]
horjeacosmin@yahoo.com
5ae0ec49d2a08f1c7a2d6df28e40d28902ff9950
1d450f4655ae63240e88b474b8a17c1e711e1a81
/AttributesAndMethods/DocumentManagement/project/topic.py
1244ef4688a709dd1f29d1fbdede9e2fc76badc3
[]
no_license
RuzhaK/PythonOOP
f2cb396390349e2aac605c90fd7a18039653cf5e
68cbf321b5947b376459d7397aed36554347d256
refs/heads/master
2023-05-30T06:17:42.618984
2021-06-17T08:04:46
2021-06-17T08:04:46
371,284,629
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
class Topic: def __init__(self,id, topic,storage_folder): self.id=id self.topic=topic self.storage_folder=storage_folder def edit(self,new_topic: str, new_storage_folder: str): self.topic=new_topic self.storage_folder=new_storage_folder def __repr__(self): ret...
[ "rkaraatanasova@gmail.com" ]
rkaraatanasova@gmail.com
9aaf56b91989e82c66fa113d95de30112ec46571
bf2d60eaa66d20f4a463999aca15bc43a026db22
/app/email.py
6f81dd2a55cde5d2582978572a2654ce5caa7d47
[]
no_license
kfinn6561/covid_map
2c60fdea3787b73b5f754eed51c56d3e276473fb
52d3f36375f0d610cc9b852b485f5397cb2ab642
refs/heads/main
2023-03-24T19:54:35.251710
2021-03-23T10:18:23
2021-03-23T10:18:23
350,666,986
1
0
null
null
null
null
UTF-8
Python
false
false
458
py
''' Created on 7 Jun 2020 @author: kieran ''' from flask_mail import Message from app import app,mail from threading import Thread def send_async_email(app,msg): with app.app_context(): mail.send(msg) def send_email(subject, sender, recipients, text_body, html_body): msg = Message(subject, sender=s...
[ "kieran.finn@hotmail.com" ]
kieran.finn@hotmail.com
2dbbce0ffe811caa9084b2700bb291b04f1da200
b372bc13b4715e87f39f80c1c2465fc6d93f3609
/register/tipmac.py
56092803f1532810fb9f495adae1b494bb9538a3
[ "WTFPL" ]
permissive
Retenodus/Maiznet
4dff822f0ab3d8c08196d09f08ef169357e37c2f
f7fa2c4ee964cab1cc2e33feadeed826f18489b7
refs/heads/master
2021-01-24T00:02:49.168595
2012-06-25T23:13:02
2012-06-25T23:13:02
2,130,383
1
0
null
null
null
null
UTF-8
Python
false
false
1,864
py
######################################################################## # vim: fileencoding=utf-8 ts=8 noexpandtab : # # ~~~~ Maiznet.fr ~~~~ # # -> register/tipmac.py # # # Copyright 2011 Grégoire Leroy <gregoire.leroy@retenodus.net> # Copyright 2011 Rémy Sanchez <remy.sanchez@hyperthese.net> # # This file is distri...
[ "remy.sanchez@hyperthese.net" ]
remy.sanchez@hyperthese.net
1d6a50cd2453611e0a4132a1cb10f5c1d4fbffc1
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_23/models/network_interface_eth.py
3190b8ae65d39d8a5813962e70c371dac0b1d779
[ "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
6,348
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.23 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
ab2bda27234228c0eddad94ca062b9b2d0cf30ea
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_242/ch16_2020_03_23_19_51_17_162358.py
4c14a0bbe8dc96d55dae4bea543ccd289b62c78f
[]
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
185
py
v = float(input('Qual o valor da conta?:')) def valor_da_conta(v): resultado = v * 1.1 return resultado print('Valor da conta com 10%: R$ {0:.2f}'.format(valor_da_conta(v)))
[ "you@example.com" ]
you@example.com
1a5fe7c6d9e954247f9388fd4b723a23fe944586
5286255a93db21ea9defc1f8f6fc71990c3c2fa9
/testing/scripts/.svn/text-base/xclean_unit_tests.py.svn-base
5c8066c963806e62aba75180468dffb41a007d7e
[]
no_license
brynmathias/AnalysisV2
1367767dbf22eef6924700c4b0a00581ea8ed965
ee17c019bb04243876a51c7ef7719cc58a52adea
refs/heads/master
2021-01-01T19:20:27.277628
2012-04-17T13:34:26
2012-04-17T13:34:26
2,600,415
0
2
null
null
null
null
UTF-8
Python
false
false
436
#!/usr/bin/env python import setupSUSY import unittest #import xclean.clonevector_tests #import xclean.basic_tests if __name__ == '__main__': testcases=["xclean.clonevector_tests.TestCloneVector", "xclean.basic_tests.TestBasic"] suite = unittest.TestLoader().loadTestsFromNames(testcases) pri...
[ "brynmathias@gmail.com" ]
brynmathias@gmail.com
65062af86c81873c11336b2bac695d78088412cc
f08f09b23dbf3ce3b967c46c5f109b792c5c8993
/visual_dynamics/envs/env_spec.py
4145f5c2af567b74f0d3173f709f5f31f27471e0
[ "MIT" ]
permissive
saadmahboob/visual_dynamics
5df6ea0f53144f0de8fdc991c9f00d78ac98c680
90227bb0d0aebb1989117b5c25ca311655ca7cc7
refs/heads/master
2021-06-17T05:50:22.661375
2017-05-12T02:53:47
2017-05-12T02:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
from visual_dynamics.spaces.base import Space from visual_dynamics.utils.config import ConfigObject class EnvSpec(ConfigObject): def __init__(self, action_space, observation_space): self._action_space = action_space self._observation_space = observation_space @property def observation_spa...
[ "alexleegk@gmail.com" ]
alexleegk@gmail.com
42fa0316fcea9a59c8394e31d472a79f370cde1f
d4fe2607c25e514df42831ddae3f9509057c2d46
/USBApplication/tasks/serial_task.py
17f72ecaadd8834d1c0fcb55d28f2c8e6acdfd52
[]
no_license
bxm156/EECS398
8cdbb1057f8d7d2fd8764df4309dd4712799d766
aa638d81fea008d467118691882cee73cefde147
refs/heads/master
2021-01-01T05:36:00.159758
2013-12-05T17:11:09
2013-12-05T17:11:09
12,497,895
0
1
null
null
null
null
UTF-8
Python
false
false
142
py
from base_task import BaseTask class SerialTask(BaseTask): def set_parameters(self, param_dict): self.parameters = param_dict
[ "bxm156@case.edu" ]
bxm156@case.edu
2b7259f9c38153470debef2a76db963f8b051486
660c72411c148507b0b04c517f154df7d0396281
/wiki/middleware.py
7ad75cf3cf8b65314f7ee3a31ae1213d0886b9e0
[]
no_license
xuguangzong/WIKI
e38dc3d434470c3238ebdf552768e42a7becb292
ac6b573ff6a658977fc97508ff90f004df3169a1
refs/heads/main
2023-06-26T15:29:55.675667
2021-07-23T08:39:50
2021-07-23T08:39:50
386,569,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,417
py
import time import logging from wiki.documents import ELASTICSEARCH_ENABLED, ElaspedTimeDocumentManager logger = logging.getLogger(__name__) class OnlineMiddleware(object): def __init__(self, get_response=None): self.get_response = get_response super().__init__() def __call__(self, request):...
[ "2359301733@qq.com" ]
2359301733@qq.com
d7a1d6e57acc930c4bd99451bd5df4c5e3bc6cfe
fb8ee3a962f6d690badd02409206be0724e6a659
/examples/bScript.py
a85a71e0fb6d3ca27b6c1f220cfa141ea50ff6fa
[]
no_license
chonlei/SanPy
3efbfcfd46b5223c52724a57d1640a241cbde82b
fb9f399527adcdf01dad49011d7ecfd47ac77139
refs/heads/master
2023-07-11T03:46:37.249897
2021-08-11T01:54:44
2021-08-11T01:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
import sys sys.path.append("..") # Adds higher directory to python modules path. import matplotlib matplotlib.use("TkAgg") import matplotlib.pyplot as plt from sanpy import bAnalysis # open an abf file into a bAnalysis object myFile = '../data/19114001.abf' ba = bAnalysis.bAnalysis(myFile) # detect spikes myThresh...
[ "robert.cudmore@gmail.com" ]
robert.cudmore@gmail.com
b407fac8430611e58e38951ad808096c8da0eb7f
3f394cd47a1aaf0ae2f8de5ab9854f52341e017a
/clay/helpers.py
df83597113a8b027b38f28f310309ccb1a9a6517
[ "MIT" ]
permissive
devildeveloper/Clay
e3771d97d23ae3ba7d866d8921102d50e95a6562
ca419ee4cfe191724ed68e3507515a5b258bb4bb
refs/heads/master
2021-01-18T02:27:22.094481
2013-11-18T20:24:02
2013-11-18T20:24:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,628
py
# -*- coding: utf-8 -*- from datetime import datetime import errno from fnmatch import fnmatch import io import os import shutil import unicodedata def to_unicode(txt, encoding='utf8'): if not isinstance(txt, basestring): txt = str(txt) if isinstance(txt, unicode): return txt return unicod...
[ "juanpablo@lucumalabs.com" ]
juanpablo@lucumalabs.com
849c3e365db5121e9b999f5684403461c40b7bfd
2467b5d4a6d8d6ffeff547478a8dd7fa3d4d9234
/chapter04/demo_4.4.py
efcf5f6dae4cb9cfb3a2035c834d797028778720
[ "MIT" ]
permissive
NetworkRanger/tensorflow-ml-exercise
6c92ec3cf87a6def0c1d7818e59c83585cc1aebe
d0c46c10bfc3ee06c211ebe2f25489f8407c369f
refs/heads/master
2020-04-02T22:54:57.268384
2018-12-22T13:52:01
2018-12-22T13:52:01
154,848,809
3
2
null
null
null
null
UTF-8
Python
false
false
5,629
py
#!/usr/bin/python2.7 # -*- coding:utf-8 -*- # Author: NetworkRanger # Date: 2018/11/5 下午10:44 # 4.4 TensorFlow上核函数的使用 # 1. 导入必要编程库,创建一个计算图会话 import matplotlib.pyplot as plt import numpy as np import tensorflow as tf from sklearn import datasets sess = tf.Session() # 2. 生成模拟数。生成的数据是一两个同心圆数据,每个不同的环代表不同的类,确保只有类-1或者1。为...
[ "17346503142@163.com" ]
17346503142@163.com
6f9704f52133fd74a784d3d12df74871c7595eff
70538979b952b8afc380bd19ac565b3967178b87
/docker_odoo_env/commands/command.py
e95e7d0446d250b93fb8a576afb260b1bd0a060c
[ "MIT" ]
permissive
sebatista/docker_odoo_env
b693b9111e68f4162784ee77910c034b5dcb0b21
57963fb677257a71c2d9bfbf0400a78eaa62fd10
refs/heads/master
2020-04-25T06:59:31.635170
2019-02-25T01:42:22
2019-02-25T01:42:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# -*- coding: utf-8 -*- # For copyright and license notices, see __manifest__.py file in module root from docker_odoo_env.messages import Msg msg = Msg() class Command(object): def __init__(self, config): self._config = config def execute(self): raise NotImplementedError def show_doc(s...
[ "jorge.obiols@gmail.com" ]
jorge.obiols@gmail.com
3b55ba6c605dd0fc783bf9b32b031d064c3a3e25
32bbbd6dbd100bbb9a2282f69ac3b7b34516347f
/Study/keras/keras40_mnist3_dnn.py
fb46b91e2a7ed5c39bd84d7fe794c8c87742301f
[]
no_license
kimjh1753/AIA_Academy_Study
2162d4d4f1a6b8ca1870f86d540df45a8742f359
6022718ae7f9e5170a19c4786d096c8042894ead
refs/heads/master
2023-05-07T12:29:12.920693
2021-06-05T01:09:33
2021-06-05T01:09:33
324,136,796
0
0
null
null
null
null
UTF-8
Python
false
false
3,065
py
# 주말과제 # dense 모델로 구성 input_shape=(28*28, ) # 인공지능계의 hello world라 불리는 mnist!!! import numpy as np import matplotlib.pyplot as plt # 1. 데이터 from tensorflow.keras.datasets import mnist (x_train, y_train), (x_test, y_test) = mnist.load_data() print(x_train.shape, y_train.shape) # (60000, 28, 28) (60000,) print(x_...
[ "kimjh1753@naver.com" ]
kimjh1753@naver.com
ea5831164ca916edd5d87547c9867c3506951b19
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/scattermapbox/marker/colorbar/_ticksuffix.py
f10a7f2ec190f24f5ab3753b5e8bbd093bd710b0
[ "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
465
py
import _plotly_utils.basevalidators class TicksuffixValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name="ticksuffix", parent_name="scattermapbox.marker.colorbar", **kwargs ): super(TicksuffixValidator, self).__init__( plo...
[ "noreply@github.com" ]
hugovk.noreply@github.com
c5e6b35ebc6e4bdbfceaaeb25098ab18f8b9b869
667f153e47aec4ea345ea87591bc4f5d305b10bf
/Solutions/Ch5Ex113.py
c53cc96c6971b3a0a5a3f6418b386e6ee3f1b5fb
[]
no_license
Parshwa-P3/ThePythonWorkbook-Solutions
feb498783d05d0b4e5cbc6cd5961dd1e611f5f52
5694cb52e9e9eac2ab14b1a3dcb462cff8501393
refs/heads/master
2022-11-15T20:18:53.427665
2020-06-28T21:50:48
2020-06-28T21:50:48
275,670,813
1
0
null
2020-06-28T21:50:49
2020-06-28T21:26:01
Python
UTF-8
Python
false
false
583
py
# Ch5Ex113.py # Author: Parshwa Patil # ThePythonWorkbook Solutions # Exercise No. 113 # Title: Formatting a List from Ch5Ex107 import inputWordList def formatWordList(words): if len(words) == 1: return str(words[0]) elif len(words) == 2: return str(words[0]) + " and " + str(words[1]) elif len(wor...
[ "noreply@github.com" ]
Parshwa-P3.noreply@github.com
67cf3b7a3529607eabe8db685af3c5341070b75b
b2a14c4398c3e3917ac0c5e4bf4f80ca0c39c7a4
/backend/manage.py
a0889d37f699f6b1c500e493be1b41aaa0babe05
[]
no_license
crowdbotics-apps/twentyonem-dev-2089
44303b993b32e82b1e0c54ab85b57168513adc59
a33e29a7393f202889dbd6b387621e97689c914d
refs/heads/master
2022-04-09T06:46:32.455007
2020-03-23T13:42:16
2020-03-23T13:42:16
248,944,609
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "twentyonem_dev_2089.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d1330779a375b8df3f50246f86dbb910325224aa
b441503bcdb484d098885b19a989932b8d053a71
/neural_sp/models/seq2seq/encoders/conformer.py
37c2d75300f54d407e4e33e7a613a214d7d3638d
[ "Apache-2.0" ]
permissive
entn-at/neural_sp
a266594b357b175b0fea18253433e32adc62810c
9dbbb4ab3985b825f8e9120a603a6caa141c8bdd
refs/heads/master
2020-08-28T05:48:28.928667
2020-06-22T19:17:53
2020-06-22T19:17:53
217,611,439
0
0
null
2019-10-25T20:40:18
2019-10-25T20:40:18
null
UTF-8
Python
false
false
21,405
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2020 Kyoto University (Hirofumi Inaguma) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """Conformer encoder.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import copy import lo...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
b2a8c7cfd3bf211f2448c0dc1cf0653aeca34ce4
a37e8dfac12bab3d78567dca9643eb802be24ebe
/stripe/wsgi.py
dd39a606114920521b7cc51b33bf1444e47495e0
[]
no_license
mltuts1998/Django-Stripe
228928cf9b591cda7df3634199278cbd580c43dd
184fde11db61bc3f68b903c010f8883ac609638d
refs/heads/master
2022-09-10T00:08:56.149413
2020-05-31T18:53:53
2020-05-31T18:53:53
268,315,474
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for stripe 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "jhabarsinghbhati23@gmail.com" ]
jhabarsinghbhati23@gmail.com
3ad1936f9886833ee45e5a08262baef20d9c7826
8049dd81d52e0659054b574323887cf06dbb03a9
/api/audit/__init__.py
9a6d49f35270ff09a98c36e94c5bf5628c104561
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
funetes/flagsmith
b6bfdb79e023a6e8832e898b13635e36486e5aa2
97dba4175fac4e723e7bc4208e004d61e748eed7
refs/heads/main
2023-06-21T08:18:53.531171
2021-07-26T16:47:01
2021-07-26T16:47:01
389,799,101
1
0
NOASSERTION
2021-07-26T23:57:23
2021-07-26T23:57:23
null
UTF-8
Python
false
false
46
py
default_app_config = "audit.apps.AuditConfig"
[ "matthewe@solidstategroup.com" ]
matthewe@solidstategroup.com
46a4911acf850993eefe9e0829a86a80d6eff49a
65510e35b6908d9365b69d8cc467ce4950bbfb11
/manage.py
041854b26ef3a1e4c42fffec3cfbe3e8d30c5ca7
[]
no_license
Jolin-blank/vsphere_cobbler
7824d68da903c88ea03624687b601f5b32057609
dc49674e98c19b7a3d7bf87c3319e5571a5ec0c0
refs/heads/master
2022-11-20T02:46:32.176336
2020-07-26T06:25:27
2020-07-26T06:25:27
282,589,937
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ippool.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ra...
[ "root@cobbler240.gzhc.local" ]
root@cobbler240.gzhc.local
40ac2a92a23c0cf29aaa67a5f202967f7527b8dc
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4040/494004040.py
8b2f5f83eb14d0b75d277c1ae37a8190e141fa8f
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
998
py
from bots.botsconfig import * from records004040 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'TP', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'REN', MIN: 1, MAX: 1}, {ID: 'DK', MIN: 1, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
19dad8cafa255111037ec4d564a616e8fe94fe5d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2819/60580/293103.py
a5bcdd091887b7679ef45973eb5fbcfc0d5f124a
[]
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
842
py
import math size = int(input()) tempList = input().split() intList = [] for var in tempList: intList.append(int(var)) d = {} for var in intList: if var in d.keys(): d[var] += 1 else: d[var] = 1 l = sorted(d.keys()) realD = {} for i in l: realD[i] = d[i] result = 0 resultD = {} resultD[1...
[ "1069583789@qq.com" ]
1069583789@qq.com
1d8c1e36a64b2846dae7a9d01729e5c129613ed3
c84d807bd359ae58ed5e115a51fb85be5ac93262
/11_binary_search/9_search_rotated_array_duplicates.py
e650cdc1c68f500010263519962cbcf78ade74c2
[]
no_license
terrifyzhao/educative
bc35d1d10ea280ddc50b1a2708c0e22a7a5cd6d0
7a5c82abeb7853a9a1262e28b2fe58a20f547802
refs/heads/master
2020-11-28T04:25:30.425519
2020-03-05T10:23:09
2020-03-05T10:23:09
229,702,388
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
def search_rotated_with_duplicates(arr, key): start, end = 0, len(arr) - 1 while start <= end: mid = start + (end - start) // 2 if arr[mid] == key: return mid # the only difference from the previous solution, # if numbers at indexes start, mid, and end are same, we c...
[ "zjiuzhou@gmail.com" ]
zjiuzhou@gmail.com
8a3938da7e8df9e31d0c8249ff2d5bd9dcdbeb84
80c8d4e84f2ea188a375ff920a4adbd9edaed3a1
/third/opencv/gaussian_mix.py
f7aebe86c7fe07415fabff67ac7d4fa8ccebf641
[ "MIT" ]
permissive
Birkid/penter
3a4b67801d366db15ca887c31f545c8cda2b0766
0200f40c9d01a84c758ddcb6a9c84871d6f628c0
refs/heads/master
2023-08-22T14:05:43.106499
2021-10-20T07:10:10
2021-10-20T07:10:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,141
py
#!/usr/bin/env python # Python 2/3 compatibility from __future__ import print_function import sys PY3 = sys.version_info[0] == 3 if PY3: xrange = range import numpy as np import cv2 as cv from numpy import random def make_gaussians(cluster_n, img_size): points = [] ref_distrs = [] for _i in range(c...
[ "350840291@qq.com" ]
350840291@qq.com
f7cc3625a1915ecc9b75645903de41058b2871d8
41c0d29efcb3ac0e22237bd3fadc5cdf550698cd
/homeassistant/helpers/check_config.py
4052a94b9de9b74054a64a28de168d2b2c8172b9
[ "Apache-2.0" ]
permissive
EthanW1215/home-assistant
7c19ce668821f3063b3d46f9e9a0ef5a6e102689
a48ac4d18fab253572780671f896b3a417322699
refs/heads/master
2020-09-05T09:02:59.513681
2019-11-05T18:57:08
2019-11-05T18:57:08
220,050,094
2
0
Apache-2.0
2019-11-06T17:13:33
2019-11-06T17:13:32
null
UTF-8
Python
false
false
6,303
py
"""Helper to check the configuration file.""" from collections import OrderedDict, namedtuple from typing import List import attr import voluptuous as vol from homeassistant import loader from homeassistant.core import HomeAssistant from homeassistant.config import ( CONF_CORE, CORE_CONFIG_SCHEMA, CONF_PA...
[ "balloob@gmail.com" ]
balloob@gmail.com
43b38e5883d24cf3c27a2a95b78dae01d48f23f0
e0565926a5e94d1ea51e88876d509cff4cf04011
/www/webframe.py
44eb43d907ddbdaee6fa078f75f1988148f47bc4
[]
no_license
MaxWhut2017/awesome-python3-webapp
1bd69d174a415bc1909ef64aaf42ee3c299147d4
a68b84973f1852c19cb85161f0d465e66893a199
refs/heads/master
2020-05-16T10:22:05.342081
2017-10-09T05:42:11
2017-10-09T05:42:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,633
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ 基于aiohttp的web框架,进一步简化Web开发 aiohttp相对比较底层,想要使用框架时编写更少的代码,就只能在aiohttp框架上封装一个更高级的框架 Web框架的设计是完全从使用者出发,目的是让框架使用者编写尽可能少的代码 """ __author__ = 'Hk4Fun' import asyncio # 用来修改文件模块路径 import os # 用来获取函数的参数信息 import inspect import logging # 用来还原被装饰函数的属性,如__name__ import functools...
[ "941222165chenhongwen@gmail.com" ]
941222165chenhongwen@gmail.com
7ee2477300774d84db1d5704b72267bb02468b6a
ca44cdd205d27fc5cfabaaa349e93afddd7c902b
/dyskretka/try.py
fd2fb9dcd0fb84b7f9e1f87a82a8fe90afe00cbc
[]
no_license
SOFIAshyn/BaseProgramming_course_Basic_Python
8402b7c2eff570e7102ba1f9b0b6636a6f0b881a
cf4d0d204a836367ee51e329828a53072aef20e9
refs/heads/master
2021-10-21T08:02:35.611635
2019-03-03T15:46:59
2019-03-03T15:46:59
173,553,760
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
n = input("here1: ") lst = [] while n != "": n = input("here: ") lst.append(n) print(lst)
[ "sophiya2petryshyn@gmail.com" ]
sophiya2petryshyn@gmail.com
d7272c54660fa14d98ac4d2516403bfb2e29ff54
1284718203be50b23dcd1f6159746cfa42a04163
/python_visual_mpc/visual_mpc_core/agent/create_configs_agent.py
a2b76acca59fe3533af98db31afeec8a2b65ee17
[]
no_license
febert/robustness_via_retrying
8fe4106d7705228ff339f9643518a80c0a243d36
1def282dc22f24b72c51ff1ef9ea1a7a83291369
refs/heads/master
2020-03-31T19:33:39.664525
2018-11-07T21:52:56
2018-11-07T21:52:56
152,502,702
17
2
null
null
null
null
UTF-8
Python
false
false
1,042
py
""" This agent is responsible for creating experiment configurations for benchmarks """ from .general_agent import GeneralAgent class CreateConfigAgent(GeneralAgent): def __init__(self, hyperparams): super().__init__(hyperparams) def rollout(self, policy, i_trial, i_traj): # Take the sample....
[ "sdasari@berkeley.edu" ]
sdasari@berkeley.edu
4c751b204ddfbb53faf33d7dc3ac55f1264ffed0
66276325d623c894c9e6344bb161f3c25974a838
/LeetCode/1000.Minimum-Cost-To-Merge-Stones/Minimum-Cost-To-Merge-Stones.py
28e75801dcc20fa763cdee38273e25d1f9a94f16
[]
no_license
htingwang/HandsOnAlgoDS
034b5199b394ca82fd4fb16614ddabb45f3325e2
5b14b6f42baf59b04cbcc8e115df4272029b64c8
refs/heads/master
2021-07-11T15:50:30.944794
2020-09-27T05:08:02
2020-09-27T05:08:02
192,391,446
12
2
null
2019-07-03T04:09:35
2019-06-17T17:36:01
Jupyter Notebook
UTF-8
Python
false
false
874
py
import heapq class Solution(object): def mergeStones(self, stones, K): """ :type stones: List[int] :type K: int :rtype: int """ n = len(stones) if (n - 1) % (K - 1): return -1 pre_sum = [0] * (n + 1) for i in range(1, n + 1): ...
[ "49448790+htingwang@users.noreply.github.com" ]
49448790+htingwang@users.noreply.github.com
48131bd43563d096580819b13c5c6e9caf79dc10
a2ac73af04a07bb070cd85c88778608b561dd3e4
/addons/hr_recruitment/__openerp__.py
aea1ab4cf0fdbb0eb6b423829fb9ec35600c7615
[]
no_license
sannareddy/openerp-heimai
c849586d6099cc7548dec8b3f1cc7ba8be49594a
58255ecbcea7bf9780948287cf4551ed6494832a
refs/heads/master
2021-01-15T21:34:46.162550
2014-05-13T09:20:37
2014-05-13T09:20:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
/usr/share/pyshared/openerp/addons/hr_recruitment/__openerp__.py
[ "549636719@qq.com" ]
549636719@qq.com
6f0e65141279b2df4349a3b475b32f0b180420c6
41f960a830752877bf2248bb2c620491752ccfe5
/python_grammar/time.py
3b5ee777c9a9abb2e41eda0e63a623296b6c51ca
[]
no_license
drakhero/python_base
368617032d2d3d5388f22de2cb2ca0af81de00ec
90848ef630ab607a1b5563f773e1b4ca7eaef08f
refs/heads/master
2020-04-24T09:51:09.596139
2019-02-23T03:52:35
2019-02-23T03:52:35
171,875,042
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
import time old = time.mktime((2019, 1, 15, 0, 0, 0, 0, 0, 0)) now = time.time() days = (now - old)/3600/24 print(days)
[ "17504336124@163.com" ]
17504336124@163.com
0665059974ce35e023c58e61975a130e51d29396
6d24fb1c67771e7285dea61840f9766013589dd1
/manage.py
d7031ecdad34e4d427ed940b884e8d8c8477c930
[]
no_license
PandaBalu/gglobal
b045fb66f7daea8eeb8d6c62f5dc872ff0b1b246
c063c44c30d023bf562c0b4b39d10161540e7a92
refs/heads/master
2020-12-10T03:14:00.710720
2017-06-26T12:22:05
2017-06-26T12:22:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.local') try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure tha...
[ "narnikgamarnikus@gmail.com" ]
narnikgamarnikus@gmail.com
3738ae3586b803368bac15fdb7da8a6778e9353d
473645b727129e33ab12b42ecece255db73dfcfc
/PatObjectOwnRefProducer/patobjectownrefproducer_cfg.py
bcd95a65ab955d338995758f308c9b88bc41d278
[]
no_license
jpata/AnalysisModules
b3c17ff60ec31b76798ff8a473397b5728e96ca7
02d9d3e28f937c683616c7be4efeddf8874f571c
refs/heads/master
2021-01-21T07:39:34.632912
2014-07-02T07:47:48
2014-07-02T07:47:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,644
py
import FWCore.ParameterSet.Config as cms import os inFile = os.environ["TESTING_FILE"] process = cms.Process("OWNPARTICLES") process.load("FWCore.MessageLogger.MessageLogger_cfi") process.MessageLogger=cms.Service("MessageLogger", destinations=cms.untracked.vstring('cout'), debugModules=cms.untracked.v...
[ "joosep.pata@gmail.com" ]
joosep.pata@gmail.com
dfe1d9dd9dfdd2d164927e535fef2fab31bc1835
5e8342e4f6e48688f4a0079310e8f0b5e5386044
/POO/Factura/factura.py
9f45e3faba5e32f086d57287d8428a3e6b3f8bb6
[]
no_license
fernado1981/python_
27a154406b5fba7e18da418bc5f75c58f3ccc24f
7d846cd332405464fa14707ea3f2286a918fc9de
refs/heads/master
2023-02-15T19:30:02.257345
2021-01-21T10:35:46
2021-01-21T10:35:46
277,186,729
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
from InteractuarFactura import InteractuarFactura # Escribir un programa que gestione las facturas pendientes de cobro de una empresa. # Las facturas se almacenarán en un diccionario donde la clave de cada factura será el número de factura # y el valor el coste de la factura. El programa debe preguntar al usuario si ...
[ "fernando.manrique.villanueva@gmail.com" ]
fernando.manrique.villanueva@gmail.com
6c2097075bea78e867fd80fe82401f7083691e3f
e8defe94b483fb29fe42563876cf36587cb351b0
/lib/sqlalchemy/testing/plugin/pytestplugin.py
f2e7d706f6c37756b3b14d88192dab3c07585418
[ "MIT" ]
permissive
graingert/sqlalchemy
e5a453065614996f351d9a5f137b26bf2b3ac7f6
b289fb032ead703eb131ad1b0d0e0dcba8617ca3
refs/heads/master
2022-02-20T13:57:37.483599
2020-04-13T22:39:47
2020-04-13T22:39:47
255,667,496
0
0
MIT
2021-08-02T18:45:04
2020-04-14T16:46:31
null
UTF-8
Python
false
false
16,122
py
try: # installed by bootstrap.py import sqla_plugin_base as plugin_base except ImportError: # assume we're a package, use traditional import from . import plugin_base import argparse import collections from functools import update_wrapper import inspect import itertools import operator import os import...
[ "mike_mp@zzzcomputing.com" ]
mike_mp@zzzcomputing.com
0f5bee18ae85a0d5b0a6a43a1130f89838d0cf3c
49d419d657d4fc29b486fb97c4409b904fe43012
/pytorch/synaptic/gan.py
0efae754f48b139ef3a96e9884a969c73b9f460a
[]
no_license
anantguptadbl/python
660101e7284fb24bd269659bb8f461f7f13d47b6
4954efbe52ff3190201a8c0836d80015d13d4d15
refs/heads/master
2022-03-23T03:52:47.956875
2022-02-24T12:26:29
2022-02-24T12:26:29
114,909,673
3
3
null
null
null
null
UTF-8
Python
false
false
5,581
py
import os import numpy as np import torch import torchvision from torch import nn from torch.autograd import Variable from torch.utils.data import DataLoader from torchvision import transforms, datasets # FIRST SHAPE GAN learning_rate=0.001 n_classes=4 embedding_dim=10 latent_dim=10 # CONDITIONAL GAN class Generato...
[ "noreply@github.com" ]
anantguptadbl.noreply@github.com
1cc02218743180f0e7cfee9382aa8e4dfc3a14f4
b1018e272ed284ab70ffe6055b90726e879004b3
/MIDI Remote Scripts/Push2/observable_property_alias.py
9425fff2c4cd6cac938da28aa0e083b11d2b675d
[]
no_license
aumhaa/livepy_diff
8e593ffb30b1e7909225352f3a0084d4de2e51e6
266a7380c4d5a162c051c23f534f74cb7eace538
refs/heads/master
2020-04-12T03:17:56.545373
2017-04-24T02:02:07
2017-04-24T02:02:07
13,946,086
3
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
from __future__ import absolute_import, print_function from ableton.v2.base import EventObject, Slot class ObservablePropertyAlias(EventObject): def __init__(self, alias_host, property_host = None, property_name = '', alias_name = None, getter = None, *a, **k): super(ObservablePropertyAlias, self).__init...
[ "aumhaa@gmail.com" ]
aumhaa@gmail.com
0cb91498a8fec68c9a95ee15d7048009ec9e4165
ca17757a2c9140a11e4e10e581c4e5f086c92177
/elit/version.py
ece3c23fd05a8776f1d524dba26bfa30286875d2
[ "Apache-2.0" ]
permissive
archanatikayatray19/elit
22aebbfbed3a2b56a1c45faea0f2e6c6d5aa0a0f
f0fd5181ee6613231e5086c82df0241fc3e8e434
refs/heads/main
2023-03-09T17:02:33.731637
2021-02-05T20:14:56
2021-02-05T20:14:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
# ======================================================================== # Copyright 2020 Emory University # # 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/lice...
[ "jfservice@126.com" ]
jfservice@126.com
3988164b11a41d709645f15e7415f92b1cdbc978
ec164c8b16fdca016c03ef24aaa9ac623e873fa6
/zentral/core/events/base.py
d271721c94aa77a2b87f1262c56e3785b7c764ad
[ "Apache-2.0" ]
permissive
coreservice/zentral
a67c2139e7aaadb7bce14938a3e668e867373cd2
24a00b0ff15aee531027c2d0ff39931a318eff9e
refs/heads/master
2021-06-17T12:35:20.260526
2017-05-15T17:57:44
2017-05-15T17:57:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,738
py
from datetime import datetime import logging import os.path import re import uuid from dateutil import parser from django.utils.functional import cached_property from django.utils.text import slugify from zentral.contrib.inventory.models import MetaMachine from zentral.core.queues import queues from .template_loader im...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
3dec57ae1f1dbea2ae89aaa75b6bee067092dd1f
865bd0c84d06b53a39943dd6d71857e9cfc6d385
/179-largest-number/largest-number.py
4bc8f0d54937b5992d4b0409c3c534c6cb19937f
[]
no_license
ANDYsGUITAR/leetcode
1fd107946f4df50cadb9bd7189b9f7b7128dc9f1
cbca35396738f1fb750f58424b00b9f10232e574
refs/heads/master
2020-04-01T18:24:01.072127
2019-04-04T08:38:44
2019-04-04T08:38:44
153,473,780
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
# Given a list of non negative integers, arrange them such that they form the largest number. # # Example 1: # # # Input: [10,2] # Output: "210" # # Example 2: # # # Input: [3,30,34,5,9] # Output: "9534330" # # # Note: The result may be very large, so you need to return a string instead of an integer. # class...
[ "andyandwei@163.com" ]
andyandwei@163.com
51a0b57a4843284c84f38263e5747348b00f6de2
d7016f69993570a1c55974582cda899ff70907ec
/sdk/security/azure-mgmt-security/azure/mgmt/security/v2020_01_01/aio/operations/_external_security_solutions_operations.py
180037abff08cde8f2d7c069462cc835a36ff72c
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
13,540
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
48b99421ac4eec624238b6abb45995860b5a7022
fb64776f71eb2a469395a39c3ff33635eb388357
/apps/accounts/tests/factories/user.py
96bbc988f36a6f82a99567ea1bca2505a79beae1
[ "MIT" ]
permissive
jimialex/django-wise
ec79d21c428fd1eea953362890051d2120e19f9e
3fdc01eabdff459b31e016f9f6d1cafc19c5a292
refs/heads/master
2023-04-30T20:59:51.625190
2021-05-10T06:55:40
2021-05-10T06:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
# -*- coding: utf-8 -*- import factory from faker import Factory from faker.providers import misc, person, profile from apps.accounts.models.user import User fake = Factory.create() fake.add_provider(person) fake.add_provider(profile) fake.add_provider(misc) def fake_username(): return fake.simple_profile()['u...
[ "vicobits@gmail.com" ]
vicobits@gmail.com
c75997f1473800d28b0da9e07ecc158b5a2a2585
1a30cff1f2660ba5cef26898bac56cbc9269e5d4
/server/src/test/unit/weblab/core/test_reservation_processor.py
550556c9dfdbcc0ab2170984cfede4aad59b64cc
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
fiodarhancharou/weblabdeusto
0bcfc7628bc793a7fe7364f68461eaba3eb45997
d5a268cbb83ff193b0639db717b11ec448638df8
refs/heads/master
2022-05-24T03:31:34.946845
2020-03-05T16:55:18
2020-03-05T16:55:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,654
py
#!/usr/bin/env python #-*-*- encoding: utf-8 -*-*- # # Copyright (C) 2005 onwards University of Deusto # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. # # This software consists of contributions made by many individual...
[ "pablo.orduna@deusto.es" ]
pablo.orduna@deusto.es
96d9a1b535980b5c4821400c772bd1885d87ca2c
a12c090eb57da4c8e1f543a1a9d497abad763ccd
/django-stubs/forms/utils.pyi
0131077285c5d3dbc9de498e79682756eb713275
[ "BSD-3-Clause" ]
permissive
debuggerpk/django-stubs
be12eb6b43354a18675de3f70c491e534d065b78
bbdaebb244bd82544553f4547157e4f694f7ae99
refs/heads/master
2020-04-04T08:33:52.358704
2018-09-26T19:32:19
2018-09-26T19:32:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,779
pyi
from collections import UserList from datetime import datetime from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union from django.core.exceptions import ValidationError from django.utils.safestring import SafeText def pretty_name(name: str) -> str: ... def flatatt(attrs: Dict[str, Optional[str]])...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
82e4a2ec6b46eff9f8e2a406b016bbc33060b85f
6ff318a9f67a3191b2a9f1d365b275c2d0e5794f
/python/小练习/socket.py
f649e706ec3dcebf2cd1769b94c7c70fb4f9a757
[]
no_license
lvhanzhi/Python
c1846cb83660d60a55b0f1d2ed299bc0632af4ba
c89f882f601898b5caab25855ffa7d7a1794f9ab
refs/heads/master
2020-03-25T23:34:00.919197
2018-09-13T12:19:51
2018-09-13T12:19:51
144,281,084
0
0
null
null
null
null
UTF-8
Python
false
false
1,429
py
# 1、买手机 import socket phone = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # tcp称为流式协议,udp称为数据报协议SOCK_DGRAM # print(phone) # 2、插入/绑定手机卡 # phone.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1) phone.bind(('127.0.0.1', 8080)) # 3、开机 phone.listen(5) # 半连接池,限制的是请求数 # 4、等待电话连接 print('start....') while True...
[ "1541860665@qq.com" ]
1541860665@qq.com
fcfcac8d51858207750e6f6453a9f9c6478ac802
b3ab2979dd8638b244abdb2dcf8da26d45d7b730
/test/test_related_permission_model.py
990172835c1b8a26c3210da6641997d46a7c88b8
[]
no_license
CU-CommunityApps/ct-cloudcheckr-cmx-client
4b3d9b82c5dfdaf24f8f443526868e971d8d1b15
18ac9fd4d6c4ae799c0d21745eaecd783da68c0c
refs/heads/main
2023-03-03T19:53:57.685925
2021-02-09T13:05:07
2021-02-09T13:05:07
329,308,757
0
1
null
null
null
null
UTF-8
Python
false
false
977
py
# coding: utf-8 """ CloudCheckr API CloudCheckr API # noqa: E501 OpenAPI spec version: v1 Contact: support@cloudcheckr.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import cloudcheckr_cmx_client from cloudcheckr...
[ "pea1@cornell.edu" ]
pea1@cornell.edu
8567a2b83ce96aee7862a2f85ae3ce4df8398a62
53192abcbb297198128952df6ceed17a32cb5f1f
/pyidml/models/tags.py
1e1fcd76f396d48e9313ac2465021f33ae9f0098
[]
no_license
guardian/pyidml
2e4ba754c6487eb94193db3a74b32a7b58d79384
39afddfee9c432aa5ff12d526aad0eebd2ac66a3
refs/heads/master
2022-07-01T21:03:46.011695
2015-08-10T12:44:42
2015-08-10T12:44:42
987,182
5
8
null
2022-06-17T21:07:33
2010-10-14T14:51:16
Python
UTF-8
Python
false
false
401
py
from pyidml.fields import * from pyidml.models import Element, Properties class Tags(Element): DOMVersion = StringField() class XMLTagProperties(Properties): TagColor = StringField() # TODO InDesignUIColorType_TypeDef class XMLTag(Element): Self = StringField(required=True) Name = StringField(re...
[ "ben@firshman.co.uk" ]
ben@firshman.co.uk
3f7f296b636c36d74be827a2e22cbcf0d2ca042d
028d788c0fa48a8cb0cc6990a471e8cd46f6ec50
/Python-OOP/Iterators-Generators/Exercise/09_permutations.py
0398ec46a79574384144b0fc86190ae53603e0df
[]
no_license
Sheko1/SoftUni
d6b8e79ae545116f4c0e5705ad842f12d77a9c9d
a9fbeec13a30231b6a97c2b22bb35257ac1481c0
refs/heads/main
2023-07-13T15:39:48.826925
2021-08-21T12:51:02
2021-08-21T12:51:02
317,266,200
2
3
null
null
null
null
UTF-8
Python
false
false
199
py
from itertools import permutations def possible_permutations(data): result = permutations(data) for el in result: yield [*el] [print(n) for n in possible_permutations([1, 2, 3])]
[ "martinkypar@gmail.com" ]
martinkypar@gmail.com
51d49121dddb8c05767b1d8f43bd424a39fa97d0
552bc626603a1757cf7836401cff5f0332a91504
/django/django-instagram-clone_kindfamily/instaclone-backend/accounts/admin.py
05daffd421368208ed05399d35596a5e4d5b43c7
[]
no_license
anifilm/webapp
85f3d0aae34f46917b3c9fdf8087ec8da5303df1
7ef1a9a8c0dccc125a8c21b22db7db4b9d5c0cda
refs/heads/master
2023-08-29T18:33:00.323248
2023-08-26T07:42:39
2023-08-26T07:42:39
186,593,754
1
0
null
2023-04-21T12:19:59
2019-05-14T09:49:56
JavaScript
UTF-8
Python
false
false
559
py
from django.contrib import admin from .models import Profile, Follow class FollowInline(admin.TabularInline): model = Follow fk_name = 'from_user' @admin.register(Profile) class ProfileAdmin(admin.ModelAdmin): list_display = ['id', 'nickname', 'user'] list_display_links = ['nickname', 'user'] sea...
[ "anifilm02@gmail.com" ]
anifilm02@gmail.com
4c2b2d67d7dc4ec40f448d6cdbeaca6b5577c01c
ef5f369a8fb3978dbb57cdab2c0f83880fa43c36
/amatino/ledger_order.py
048e9ff9e8eb4cb348903040d2c78b4fc6279022
[ "MIT" ]
permissive
pypi-buildability-project/amatino-python
c8a93c849d9e97ea907d411511a0c732ee51b29e
9178e0883b735f882729c19a7a68df68b49e057b
refs/heads/master
2022-07-19T12:24:06.587840
2020-05-21T05:28:08
2020-05-21T05:28:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
""" Amatino API Python Bindings Ledger Order Module Author: hugh@amatino.io """ from enum import Enum class LedgerOrder(Enum): OLDEST_FIRST = True YOUNGEST_FIRST = False
[ "hugh.jeremy@gmail.com" ]
hugh.jeremy@gmail.com
31192339ea0302d32f15714aa4d5d108ec2ff4b1
443416bab5d7c258936dae678feb27de6c537758
/kratos/python_scripts/application_generator/classes/variableCreator.py
27d35d56986e388d58e7fe4caacfbe7e247208c9
[ "BSD-3-Clause" ]
permissive
pyfsi/Kratos
b941e12594ec487eafcd5377b869c6b6a44681f4
726aa15a04d92c958ba10c8941ce074716115ee8
refs/heads/master
2020-04-27T17:10:10.357084
2019-11-22T09:05:35
2019-11-22T09:05:35
174,507,074
2
0
NOASSERTION
2020-03-27T16:38:28
2019-03-08T09:22:47
C++
UTF-8
Python
false
false
2,293
py
from __future__ import print_function, absolute_import, division from utils.constants import ctab class VariableCreator(object): def __init__(self, name, vtype, is3D=False): ''' Creates a variable for an application Input ----- - name: string name of t...
[ "roigcarlo@gmail.com" ]
roigcarlo@gmail.com
a5c0765f4077d63debef0b2e1bd84bb5f445cc20
851e327e5e75392aa755f3d699b474846b886623
/qa/rpc-tests/smartfees.py
f453a2a7c1f68b8c3ebceb91cfdbdb5c58314971
[ "MIT" ]
permissive
advantage-development/v4
140535cfb56e789459078de030c7455ef3228e8f
59245b326a2b1e488be77816dad9c32166465c73
refs/heads/master
2021-10-09T15:32:34.396521
2018-12-30T16:25:43
2018-12-30T16:25:43
163,597,095
0
0
null
null
null
null
UTF-8
Python
false
false
4,309
py
#!/usr/bin/env python2 # Copyright (c) 2014 The Bitcredit Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test fee estimation code # from test_framework import BitcreditTestFramework from bitcreditrpc.authprox...
[ "you@example.com" ]
you@example.com
618e2b66a661669d15aebbce7f698055d592a0ef
c049d678830eb37879589a866b39f8e72186a742
/upcfcardsearch/c301.py
0a57ec0a5d0c8b1861615d90c6339ee5cee31ad4
[ "MIT" ]
permissive
ProfessorSean/Kasutamaiza
682bec415397ba90e30ab1c31caa6b2e76f1df68
7a69a69258f67bbb88bebbac6da4e6e1434947e6
refs/heads/main
2023-07-28T06:54:44.797222
2021-09-08T22:22:44
2021-09-08T22:22:44
357,771,466
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
import discord from discord.ext import commands from discord.utils import get class c301(commands.Cog, name="c301"): def __init__(self, bot: commands.Bot): self.bot = bot @commands.command(name='Mage\'s_Magic', aliases=['c301']) async def example_embed(self, ctx): embed = discord.Embed(tit...
[ "professorsean3@gmail.com" ]
professorsean3@gmail.com
387008f8bd1d7b7e2da36f90cdf6c06072c8b63d
76cef2e2909ffaa6f6b594a8fd1aaaa9b754a69b
/netmiko/scp_handler.py
5e0fb7d0cc0c75aea57b5907f566f8ba35c55ec4
[ "MIT" ]
permissive
jinesh-patel/netmiko
978b7747ea2dea3a8b05208313ffc74846d9c2fc
f19b51f9de783a06102d74ef9780ca8547eb2f89
refs/heads/master
2021-01-18T05:16:16.285330
2015-09-04T01:16:34
2015-09-04T01:16:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,416
py
''' Create a SCP side-channel to transfer a file to remote network device. SCP requires a separate SSH connection. Currently only supports Cisco IOS. ''' from __future__ import print_function from __future__ import unicode_literals import re import os import hashlib import paramiko import scp class SCPConn(objec...
[ "ktbyers@twb-tech.com" ]
ktbyers@twb-tech.com
f10d440a207cdc966fcc27e8e8a60b4fe07de07f
ee6ec35a80351480d566b5c65ae331a0f6f577ee
/models/tempdb_tdc.py
ec464c80db58a3e4cf9f2425672a584466aae249
[]
no_license
aroodooteam/connecteur_aro_tempdb
d262103a816156e73a4c30fd86ad6175f449a8b3
f29629a6b380487e6a38cb98344b446ecb49adf5
refs/heads/master
2020-03-12T14:05:21.855008
2018-04-23T08:28:01
2018-04-23T08:28:01
130,658,701
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
# -*- coding: utf-8 -*- from openerp import models, fields class TempdbTdc(models.Model): _name = 'tempdb.tdc' _description = 'Load tempdb_tdc in recup nom apporteur' name = fields.Char(string='Name') statut = fields.Char(string='Statut') agence = fields.Char(string='Agence', size=4) old = f...
[ "aroodoo@asus.aro" ]
aroodoo@asus.aro
7a7d02691a84fce6559b63583b7262b88c04daa9
ad59fb12042bfd3f5c43eca057d0f747f9e148cf
/Se2iP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/tsiplayer/addons/resources/hosters/dustreaming.py
07a22d09c704cc118d14249ac2bf9d521d16dc1e
[]
no_license
lexlong2007/eePlugins
d62b787100a7069ad5713a47c5688008063b45ec
167b262fe36901a2d3a2fae6d0f85e2307b3eff7
refs/heads/master
2022-03-09T05:37:37.567937
2022-02-27T01:44:25
2022-02-27T01:44:25
253,012,126
0
0
null
2020-04-04T14:03:29
2020-04-04T14:03:29
null
UTF-8
Python
false
false
2,140
py
#-*- coding: utf-8 -*- #Vstream https://github.com/Kodi-vStream/venom-xbmc-addons from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.lib.handler.requestHandler import cRequestHandler from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.hosters.hoster import iHoster from Plugins.Extensions.IPTVPl...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
25daeb07963fe92517947f4aa8197cc45303103d
68e65df90da9169733025dfede0a8b30a5e3d7e3
/Inheritance_and_More_on_OOPS/11_practice_test2.py
a5a4b0e8cd0c57a3f7980babe409762b8328ee98
[]
no_license
shubam-garg/Python-Beginner
290346cbb309a28d28d6ac04034cb084b71ccbc6
30742006c380a0a18aff574567a95c8b8c694754
refs/heads/main
2023-05-06T07:11:29.943475
2021-05-29T20:35:59
2021-05-29T20:35:59
354,527,532
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
''' create a class pets from class animals and further create class dog from pets, add a method bark to class dog ''' class animals: animaltype="Mammal" class pets(animals): petcolor="Black" class dog(pets): @staticmethod def bark(): print("dog") d=dog() d.bark()
[ "81907680+shubam-garg@users.noreply.github.com" ]
81907680+shubam-garg@users.noreply.github.com
ca6db4381b477d224e0c52a8e60201f6444ddf5d
1d0a4750e216f301ec49a247bf7bf07cd61fa29f
/app/views/reports/integration/advantage_payroll/advantage_payroll_client_setup_csv.py
fcfcf75d4a02f73167a6dcc346bf96726af2ace1
[]
no_license
smoothbenefits/BenefitMY_Python
52745a11db2cc9ab394c8de7954974e6d5a05e13
b7e8474a728bc22778fd24fe88d1918945a8cfc8
refs/heads/master
2021-03-27T15:57:34.798289
2018-04-29T19:04:04
2018-04-29T19:04:04
24,351,568
0
1
null
null
null
null
UTF-8
Python
false
false
751
py
from rest_framework.response import Response from django.http import HttpResponse from django.http import Http404 from app.views.reports.report_export_view_base import ReportExportViewBase from app.service.Report.integration.advantage_payroll.advantage_payroll_company_setup_csv_service \ import AdvantagePayrollCo...
[ "jeffzhang_misc@hotmail.com" ]
jeffzhang_misc@hotmail.com
79b5630a7028e9684b024691493af2f536e75980
159d4ae61f4ca91d94e29e769697ff46d11ae4a4
/venv/lib/python3.9/site-packages/pandas/tests/libs/test_hashtable.py
08bfc74e0ef8dcfccfd2496ccc91cde128205b85
[ "MIT" ]
permissive
davidycliao/bisCrawler
729db002afe10ae405306b9eed45b782e68eace8
f42281f35b866b52e5860b6a062790ae8147a4a4
refs/heads/main
2023-05-24T00:41:50.224279
2023-01-22T23:17:51
2023-01-22T23:17:51
411,470,732
8
0
MIT
2023-02-09T16:28:24
2021-09-28T23:48:13
Python
UTF-8
Python
false
false
18,483
py
from contextlib import contextmanager import tracemalloc import numpy as np import pytest from pandas._libs import hashtable as ht import pandas as pd import pandas._testing as tm from pandas.core.algorithms import isin @contextmanager def activated_tracemalloc(): tracemalloc.start() try: yield ...
[ "davidycliao@gmail.com" ]
davidycliao@gmail.com
ab58404bbcdbd307415fd151a7e798392d35f0f6
25872e1ba4f86cbbf77d0130f341b21e5dd9e692
/GameOfLife.py
00600969a68b00f6a35c13b6dc1b798ddd428888
[]
no_license
zongxinwu92/leetcode
dc3d209e14532b9b01cfce6d4cf6a4c2d7ced7de
e1aa45a1ee4edaf72447b771ada835ad73e7f508
refs/heads/master
2021-06-10T21:46:23.937268
2017-01-09T09:58:49
2017-01-09T09:58:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,468
py
''' Created on 1.12.2017 @author: Jesse '''''' According to the Wikipedia s article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970." Given a board with m by n cells, each cell has an initial state live (1) or dead (0). Eac...
[ "darrencheng0817@gmail.com" ]
darrencheng0817@gmail.com