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
dc8476ff65d986fde193dfbc48caa5381ba0aadf
ac7a258cc02677750a4a4821702659504b35fdaf
/aclark/db/migrations/0013_auto_20180623_1950.py
c10ee8e3ea45d8432aea5d284260c1d6a76320c9
[]
no_license
aclark4life/aclark-net-2018
1b3529bd264d2198b15b499c41f4d4a8ad92e420
2ca9cc089790b4b5ba9ac1a696ecc95ce9014ff2
refs/heads/master
2021-08-16T18:29:51.956980
2018-07-28T12:55:05
2018-07-28T12:55:05
132,064,705
0
0
null
2021-06-10T20:16:32
2018-05-04T00:35:21
HTML
UTF-8
Python
false
false
636
py
# Generated by Django 2.0.6 on 2018-06-23 19:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('db', '0012_auto_20180620_1607'), ] operations = [ migrations.RemoveField( model_name='estimate', name='estimate_type...
[ "aclark@aclark.net" ]
aclark@aclark.net
968bda4eb87abdc7982118b1dcb7fa3f5527a23a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/118/usersdata/86/25507/submittedfiles/questao2.py
068e51fec3ac5a5e25f01e2fe627d00a7352d9be
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import as numpy qf=int(input('digite o numero de quadrados:')) fita=[] for i in range(1,qf+1,1): fita.append(input('digite se esta colorido:')) cor=[] for i in range(0,len(fita),1):
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2b0ef4d5fc363e2cb90c3c8875af643043f2b40c
7c2702d19a975b5f431cf86adbe6a75d0b0aa6fa
/closest_downstream2.py
3295c986824e49302a03a8616417ec34bb59550c
[ "MIT" ]
permissive
brendane/miscellaneous_bioinfo_scripts
5b2e15a8a7e7eb2b3db17de9e871c41ecea68cb3
91ca3282823495299e4c68aa79bdc1c0225a6d7b
refs/heads/master
2020-03-25T00:50:30.658106
2020-01-13T21:04:02
2020-01-13T21:04:02
143,208,594
0
0
null
null
null
null
UTF-8
Python
false
false
2,639
py
#!/usr/bin/env python2.7 """ Process a bed file from bedtools closest -D to get the nearest downstream feature is within a certain distance and isn't "blocked" by another feature. This version ("2") anticipates an extra column in the bed file. """ import csv import itertools import sys max_dist = int...
[ "epste051@umn.edu" ]
epste051@umn.edu
31b55ee00a55362032585bc01c0a1adc34d3dd27
7b84d055c2e0f247079d7bce08dc16f9681d1f11
/bin/eulb-describe-tags
8eb14ae466e280dfa7b9846160eb58ebd7790f57
[ "BSD-2-Clause" ]
permissive
eucalyptus/euca2ools
a660bbc6ef14b2ce340df7f28b55f758ca81f5d8
6b3f62f2cb1c54f14d3bfa5fd92dab3c0ecafecb
refs/heads/master
2021-03-19T11:36:33.828355
2017-04-26T23:13:12
2017-04-26T23:32:47
1,795,596
38
22
BSD-2-Clause
2018-07-31T12:28:02
2011-05-24T20:37:14
Python
UTF-8
Python
false
false
187
#!/usr/bin/python -tt import euca2ools.commands.elasticloadbalancing.describetags if __name__ == '__main__': euca2ools.commands.elasticloadbalancing.describetags.DescribeTags.run()
[ "gholms@devzero.com" ]
gholms@devzero.com
0a303521e7a5ead6c430a08f075cfe59b68dd9b2
243545e34e6aee1aab4388719c37b4873d3866b7
/gpkg/slim/images_prepare.py
54e724c9c847ce2bfb9b1ea389d8f36b2c93e532
[ "Apache-2.0" ]
permissive
guildai/packages
08ad303fe84a7b5a5136f3bc5ac41f6902ff3c7f
5a149d2f1adaf9e84f5aff73488ab63ee9b2f9cf
refs/heads/master
2023-08-11T15:16:54.498525
2023-07-31T18:59:58
2023-07-31T18:59:58
106,281,587
3
1
null
null
null
null
UTF-8
Python
false
false
6,457
py
# Copyright 2017-2019 TensorHub, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "g@rre.tt" ]
g@rre.tt
65c34c0badfd3dcb00bf22b3cb2e54e3cc3f9a22
6a8406e404519cbb4b36bd1b4f57389bd3155184
/610/610-hashMap.py
25af459fcde82fb1caa213325a70b2f84aa16586
[]
no_license
sjzyjc/lintcode
6ab57105e70c5108ac2403ea14dde1151c30bd96
5ae51281cac99dd995f6ec584ce2c1dd1d580f8e
refs/heads/master
2020-03-26T23:57:44.680981
2019-08-15T22:00:48
2019-08-15T22:00:48
145,581,676
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
class Solution: """ @param nums: an array of Integer @param target: an integer @return: [index1 + 1, index2 + 1] (index1 < index2) """ def twoSum7(self, nums, target): index_map = {} for index,i in enumerate(nums): if i - target in index_map: return ...
[ "jcyang@MacBook-Air.local" ]
jcyang@MacBook-Air.local
1d1e77afe920c7d8d50c64409e6164b9418d5f46
61b8c22a578534fa3e1cd81130c61191a4eeddd3
/pydrawing/modules/beautifiers/oilpainting/oilpainting.py
7959cdd16280948ca25a6b6cbc47967e57ecfd1a
[ "Apache-2.0" ]
permissive
CharlesPikachu/pydrawing
15f24844ca52a17a24d3ad70406b7ce207e382d2
e980ad9bf4cece42ff40ed2bc7bed7a155eabb8e
refs/heads/master
2023-05-22T17:36:50.806360
2022-08-09T05:31:05
2022-08-09T05:31:05
194,899,961
148
7
null
null
null
null
UTF-8
Python
false
false
3,768
py
''' Function: 照片油画化 Author: Charles 微信公众号: Charles的皮卡丘 ''' import cv2 import random import numpy as np from scipy import ndimage from ..base import BaseBeautifier '''照片油画化''' class OilpaintingBeautifier(BaseBeautifier): def __init__(self, brush_width=5, palette=0, edge_operator='sobel', **kwargs): ...
[ "1159254961@qq.com" ]
1159254961@qq.com
6ae6fed515b789289d2850ef275d4efaddbae469
fc210e56f3d20947f84039a8ef07107bb11e6b5a
/.test/snippet.py
636a094233fc063ecd32e2b7286bc7f2f460b608
[]
no_license
ZhouYzzz/RecurrentTracking
344b5fcb73f04a749f9822ae0b18f8de83ee6308
9dfaf2b383b2a0f67272ec090b2a40bb5d1adee4
refs/heads/master
2021-09-11T20:47:31.566421
2018-04-12T06:50:05
2018-04-12T06:50:05
112,092,396
0
1
null
2018-03-22T11:39:37
2017-11-26T15:07:42
Python
UTF-8
Python
false
false
4,015
py
from typing import Any, Dict, List class Shot(object): def __init__(self, trackid:str, frame:int, bndbox:List[int]): self._trackid = trackid self._frame = frame self._bndbox = bndbox @property def trackid(self): return self._trackid @property def frame(self): return self._frame @propert...
[ "zhouyz9608@gmail.com" ]
zhouyz9608@gmail.com
2bff1434c0862fa3f89143836397cc3d2e159cfd
2ece848b37f7fa6f13ce0e94ddfd0fbd46c72b8f
/backend/utils/config.py
27608f720b2f01348c779e8fe7af37d58e7e3c27
[ "Apache-2.0" ]
permissive
rockeyzhu/eastmoney
1a2d2db18bd658abe8e65875bf863f1cfcefd545
c8aa33a69ebee54c64f22a8edbcf30ed0f29b293
refs/heads/master
2023-03-06T12:20:03.896607
2021-02-20T07:20:53
2021-02-20T07:20:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
import configparser import platform linux_database_config_path = '/config/database.ini' windows_database_config_path = 'D:\\database.ini' def get_db_config(): config = configparser.ConfigParser() config.sections() if 'linux' in platform.system().lower(): config.read(linux_database_config_path) ...
[ "1397991131@qq.com" ]
1397991131@qq.com
72671212a25b94e1c3070a45a05f84c00d782a6e
1f629e009a7b92ef74b4e6f4cb9b05d34c0d6456
/Python PowerPoint Examples/NotesSlidesApiDemo/addNotesSlide.py
1528a55b1c6a357b3feb44fc8751a9d050dab819
[]
no_license
EiceblueCloud/Spire.Cloud.PowerPoint
6c8796f0bfd01b54cbc3a460c065e2ce689201dc
fbb00171b0ab2f9cd109fbb33f25716cc14853cf
refs/heads/master
2022-12-09T05:39:04.046853
2020-08-20T07:15:48
2020-08-20T07:15:48
271,465,842
1
0
null
null
null
null
UTF-8
Python
false
false
556
py
import spirecloudpowerpoint from spirecloudpowerpoint.configuration import * appId = "your id" appKey = "your key" baseUrl = "https://api.e-iceblue.cn" configuration = Configuration(appId, appKey, baseUrl) api = spirecloudpowerpoint.api.notes_slides_api.NotesSlidesApi(configuration) name = "AddNotesSlide.ppt...
[ "noreply@github.com" ]
EiceblueCloud.noreply@github.com
722e0021ec1d60657be6d55d1f31ea6e0d420374
96086ae5e7bfa1e40159f919269a90c83e472326
/opengever/tabbedview/tests/test_base_tabs.py
5eb02d2da593d9f35bdde0e351865ca9d2117522
[]
no_license
lukasgraf/opengever.core
6fc313717fbec3692354e56c2c3293789076a389
a15c4ff8e0d5494906d7de46a43e3427c8d2d49f
refs/heads/master
2020-12-01T11:38:46.721555
2018-06-18T10:13:09
2018-06-18T10:13:09
57,871,187
0
0
null
2016-05-02T06:59:58
2016-05-02T06:59:58
null
UTF-8
Python
false
false
892
py
from opengever.testing import IntegrationTestCase from ftw.testbrowser import browsing from plone import api from opengever.base.interfaces import IReferenceNumberSettings class TestGeverTabMixin(IntegrationTestCase): @browsing def test_reference_number_custom_sort(self, browser): self.login(self.reg...
[ "philippe.gross@4teamwork.ch" ]
philippe.gross@4teamwork.ch
995cadeb1f9fefd5c98fd83b94085bb338d7a420
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03844/s486119750.py
1f6927c797f4f3e33d18b2108135d2eb86e8f080
[]
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
341
py
import sys import copy import math import bisect import pprint import bisect from functools import reduce from copy import deepcopy from collections import deque if __name__ == '__main__': a,b, c = map(str ,input().split()) ans = 0 if b == "+": ans = int(a)+int(c) else: ans = int(a)-int...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1844b60384b3732313de790782f715bd7c739511
646cadb1c72ef4a060343baf2fcbe271958b6878
/tigerjython/TJExamples/04-So/So4d_e.py
c966d8f691c52fe33cf2c1b95f2ace947f49437c
[]
no_license
tigerjython/tjinstall
bd75cf8e4ae27b639a13865ef1ec5710391a2938
aab61519b5299c2ab4f423c6fc5d8ea7c7860a99
refs/heads/master
2021-01-17T08:53:50.386905
2018-01-12T06:56:28
2018-01-12T06:56:28
40,659,466
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
from soundsystem import * from entrydialog import * def onTouched(item): wakeUp() speaker1 = RadioEntry("Frau (Deutsch)") speaker1.setValue(True) speaker2 = RadioEntry("Mann (Deutsch)") speaker3 = RadioEntry("Man (English)") pane1 = EntryPane("Speaker Selection", speaker1, speaker2, speaker3) textEntry = StringEn...
[ "support@tigerjython.com" ]
support@tigerjython.com
603d9ea3599691d5b10fc8f57254da626784186c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2807/60901/257547.py
cdfa9e8ae508af0c04563ac829b9d53898e18c62
[]
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
518
py
def question24(): inf = input().split() caseNum = int(inf[0]) keyNum = int(inf[1]) cases = list(map(int, input().split())) keys = list(map(int, input().split())) evenCase = 0 evenKey = 0 for i in cases: if i % 2 == 0: evenCase += 1 for i in keys: if i % 2 ...
[ "1069583789@qq.com" ]
1069583789@qq.com
61017b92a48a809eeb2a5f40e12f992fbb4c6a89
1ad12a71c3d5d2b3810ce03e8bd138c4ffb66eb8
/xlsxwriter/test/comparison/test_hyperlink48.py
b507ca1d7328302fccdea420681d272decb366bd
[ "BSD-2-Clause-Views" ]
permissive
idreamsfy/XlsxWriter
b52929229b16e2ee1eaca0cda9980a5a0aad5769
129044ed821de67895b4562c6b71f90eba5be6b4
refs/heads/master
2021-01-02T20:39:20.415882
2020-02-07T21:07:55
2020-02-07T21:07:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2020, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
4c462860d3df77fd544f01cf80b428da102655e7
ddacc08724b4b6c5c7951e2df884bb3f06711c30
/college/migrations/0014_collegebookmark.py
b581871cba5712e65fbbc47730bd09b0fa8536b6
[]
no_license
Manjimadutta/myCollegeAI
51685014e66a41d3c6e0378b518e249e6059777d
d2eb855df218dad9f9f98fe0a5db5a0da11ab2c6
refs/heads/main
2023-07-10T14:47:35.287436
2021-08-08T03:19:10
2021-08-08T03:19:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
# Generated by Django 3.1.4 on 2021-05-20 17:46 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ ('profiles', '0008_merge_20210504_1106'), ('college', '0013_auto_20210509_1351'), ] operations = ...
[ "sonicxxx7@gmail.com" ]
sonicxxx7@gmail.com
2c5ee1b24707976568f1bdd8cde9fd0065b91717
cf93be05cb55d09672eb2a8f29be510f29682a0a
/backend/m_11_nov_2020_dev_14959/settings.py
11b165d67729754f6b5faf50aa55641c92abe0e3
[]
no_license
crowdbotics-apps/m-11-nov-2020-dev-14959
ae360767147dab38379e6eaec9bf2a8d251ead5c
3f5ca1e790bbaaef94049eceb3aa7d45413636df
refs/heads/master
2023-01-12T21:45:11.223735
2020-11-11T14:23:35
2020-11-11T14:23:35
311,935,268
0
0
null
null
null
null
UTF-8
Python
false
false
7,042
py
""" Django settings for m_11_nov_2020_dev_14959 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ "...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0fef014991b46c7a0c08e2c62276df6716a3e542
728871b962f2a5ec8d8ec7d5b607def074fb8864
/W261/HW1-Questions/mapper.py
d53b4678d83e4636efa39451387ebccf12095477
[]
no_license
leiyang-mids/MIDS
0191ffbaf9f7f6ec0e77522241c3e76d012850f1
918b0d8afc395840626eb31c451ad6c4b2f3bc39
refs/heads/master
2020-05-25T15:46:56.480467
2019-03-28T16:16:17
2019-03-28T16:16:17
35,463,263
1
2
null
null
null
null
UTF-8
Python
false
false
966
py
#!/usr/bin/python import sys import re # let's use two dictionaries to hold the word counts for spam and non-spam n_count, s_count = {}, {} nSpam, nNormal = 0, 0 WORD_RE = re.compile(r"[\w']+") filename = sys.argv[1] #keywords = sys.argv[2].lower() with open (filename, "r") as myfile: for email in myfile.readlines(...
[ "ynglei@gmail.com" ]
ynglei@gmail.com
683bf7756615fabb185ffb057e5a60bff47a1c28
bed559d18b0a9604e6d18879e1f3837d228d1440
/rx/linq/observable/amb.py
881cffbb9ce88da8a3d53ef1d0ef15afb2547052
[ "Apache-2.0" ]
permissive
jesonjn/RxPY
a80b7a8f0a3a8a6ddcb7f3ed678d2f8411cad84e
9dfb62979f2c54b93bbb8c0ee5fa18cfae4d73d0
refs/heads/master
2020-12-29T00:25:17.866220
2014-11-15T10:24:05
2014-11-15T10:24:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,607
py
from six import add_metaclass from rx import Lock, Observable, AnonymousObservable from rx.disposables import CompositeDisposable, SingleAssignmentDisposable from rx.internal import ExtensionMethod @add_metaclass(ExtensionMethod) class ObservableAmb(Observable): """Uses a meta class to extend Observable with the ...
[ "dag@brattli.net" ]
dag@brattli.net
add157bde41c9a4cbd1338c5b651fff8d021b2b2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02684/s806665429.py
ddb04eef1caf0b6b1a36b814666965d0ab0b518c
[]
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
365
py
n, k = map(int, input().split()) a = list(map(int, input().split())) route = [] town = set() now = 1 while True: now = a[now-1] if now in town: break town.add(now) route.append(now) count = route.index(now) if count >= k: print(route[k-1]) else: route = route[count:] num = (k-coun...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8e8e799a747770ae8ada540b024fdbdb038e1051
9463d85666453fd8e57a0ce9e515e4765ae2b60a
/cwgoogleplay/setup.py
672f884140f3869dc45f98e033e5229b8e134abf
[ "MIT" ]
permissive
trujunzhang/djzhang-targets
dc6c3086553a5450fb239cc1cef5330a51a02e1f
c2e327acde9d51f0455e7243f17d93d74b579501
refs/heads/master
2021-01-09T20:52:31.258826
2016-07-16T13:18:53
2016-07-16T13:18:53
60,747,429
2
1
null
null
null
null
UTF-8
Python
false
false
259
py
# Automatically created by: scrapyd-deploy from setuptools import setup, find_packages setup( name = 'project', version = '1.0', packages = find_packages(), entry_points = {'scrapy': ['settings = cwgoogleplay.settings']}, )
[ "trujunzhang@gmail.com" ]
trujunzhang@gmail.com
40ed249d3f469f3beaefc411e13cfa0c9b8eb094
069430e576d37cbd01283015c2b642d7365fb40e
/tcex/__metadata__.py
8c87f4485f0e12a77fce22a4631aff2e05c40742
[ "Apache-2.0" ]
permissive
NThreat/tcex
19633d5fb0fe3aaa8802e2c5211bb19725d30011
7c314857311042526e317fc226cb6f7f8b74a36a
refs/heads/master
2023-03-25T20:28:46.687077
2021-03-20T14:38:30
2021-03-20T14:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
"""Package version and other metadata""" __author__ = 'ThreatConnect (support@threatconnect.com)' __author_email__ = 'support@threatconnect.com' __description__ = 'ThreatConnect Exchange App Framework' __license__ = 'Apache License, Version 2' __package_name__ = 'tcex' __url__ = 'https://github.com/ThreatConnect-Inc/tc...
[ "bsummers@threatconnect.com" ]
bsummers@threatconnect.com
fb73cbbd5571a77d41bd9836d7c78ebc57153914
8963feb7f81c45de2ba56d4d6f5fdde1f41d4a33
/im2mesh/r2n2/models/__init__.py
69778d673347eaa716f35e1ac802366db493df62
[ "MIT" ]
permissive
AlexsaseXie/occupancy_networks
ae2fd48d67caf944f244b4baa4045496f3bc7920
972119ae7a7c9f782e1fc1df48a5b85b678edd31
refs/heads/master
2021-07-19T03:11:42.100464
2020-10-30T03:41:05
2020-10-30T03:41:05
225,619,537
3
2
MIT
2019-12-03T12:53:04
2019-12-03T12:53:04
null
UTF-8
Python
false
false
757
py
import torch.nn as nn from im2mesh.r2n2.models.decoder import Decoder # Decoder dictionary decoder_dict = { 'simple': Decoder, } class R2N2(nn.Module): ''' The 3D Recurrent Reconstruction Neural Network (3D-R2N2) model. For details regarding the model, please see https://arxiv.org/abs/1604.00449 ...
[ "lars.mescheder@tuebingen.mpg.de" ]
lars.mescheder@tuebingen.mpg.de
0ccb8ab49fe46166e923d1f523f543d3fe1b98d8
e0ff22c17eaa1e7009089a58575567b0ead63d49
/cnntrain/pylibseg/segtrain.py
aecfec99496f84d0c07e3328c99dd26ccf2892dd
[]
no_license
slehaff/dblive
afcb5297057ad4d78177b886013250d2ed068424
7f7bdf38998bd65d00e5ac7df3ef5289b2781e83
refs/heads/master
2023-05-27T16:38:21.865344
2021-06-07T10:09:28
2021-06-07T10:09:28
303,078,424
0
0
null
null
null
null
UTF-8
Python
false
false
5,087
py
from tensorflow.keras import layers import numpy as np import os import cv2 import pandas as pd import keras_preprocessing import tensorflow.keras from tensorflow.keras.models import Sequential, Model from tensorflow.keras.layers import Conv2D from tensorflow.keras import optimizers from tensorflow.keras.callbacks impo...
[ "samir@lehaff.dk" ]
samir@lehaff.dk
629d202047ac4e24386d711bb511367202eded3f
571d36f865b545c0a72134e586fbcddd6953a68b
/eng/box.py
ececc240ed1b4279d650253024d3d5bb7f9e7674
[]
no_license
andrew-turner/Ditto
a5a79faaf31cc44d08ac5f70fa2ac51e51d1b60f
72841fc503c716ac3b524e42f2311cbd9d18a092
refs/heads/master
2020-12-24T14:19:01.164846
2015-05-20T08:42:26
2015-05-20T08:42:26
35,935,568
0
0
null
null
null
null
UTF-8
Python
false
false
4,184
py
import os import pygame import eng.globs as globs import eng.settings as settings import eng.data as data class Box(pygame.Surface): """ Class to provide sized boxes. Box(size, fn=None) cursor sidecursor """ def __init__(self, size, fn=None): """ Draw the box and load cursor...
[ "andrew.turner@merton.ox.ac.uk" ]
andrew.turner@merton.ox.ac.uk
a290e85705ab99d42c9637d0930b248484550781
89979cdf3e7ef2d07ae28ea5027a39561b24404a
/Utils/NLPUtils/classification/models/NaiveBayesClassifiers.py
8ccf5074997faf3749bb70314680a3130fc1deaa
[]
no_license
LautaroEst/BecaNLP
8c273043052910c2567ec95222282fa6d43a6efe
dad43317cd51fa4ec80cbe36ba0ec07b54f0b424
refs/heads/master
2022-11-04T23:45:32.396013
2021-04-29T21:19:10
2021-04-29T21:19:10
220,004,944
4
1
null
2022-10-12T09:38:18
2019-11-06T13:37:21
Jupyter Notebook
UTF-8
Python
false
false
634
py
import numpy as np from sklearn.naive_bayes import MultinomialNB as sklearnMNB, BernoulliNB as sklearnBNB, CategoricalNB as sklearnCNB from .BaseClassifiers import NaiveBayesClassifier class MultinomialNB(NaiveBayesClassifier): def __init__(self,**kwargs): self.classifier = sklearnMNB(**kwargs) class BernoulliN...
[ "lautaro.est@gmail.com" ]
lautaro.est@gmail.com
4ffc57cb887238c331f84dfb5129cbc404e41515
ed44c039862c6bde4c790c29f49d4e1012ae04ff
/sep11/venv/bin/pybabel
156e1d5524373ce023fe6f81f7c95b4464057966
[]
no_license
ravijaya/sep13
983bc2fc62a03c607478400dbdf9f91acc028b5d
fca95700ec9e3b56fc99621396d72ae411b3be92
refs/heads/master
2022-09-19T05:04:29.422670
2019-09-13T13:17:21
2019-09-13T13:17:21
208,267,991
0
0
null
2022-09-13T23:02:52
2019-09-13T13:15:15
Python
UTF-8
Python
false
false
269
#!/home/ravijaya/Trainings/Python-Devops/sep11/venv/bin/python # -*- coding: utf-8 -*- import re import sys from babel.messages.frontend import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ravijaya@localhost.localdomain" ]
ravijaya@localhost.localdomain
607bed4f5eacf2ae276141645ca6c12778e3438b
d4a89b9113980e7b8225a5cfc197f6742b3e2ffe
/1st year/PF/Lab/Test1/services.py
10a591c73cdb41d7730549538867d4be5613afdf
[]
no_license
Akitektuo/University
26a37d2831c3ed8a42dc27bd8c27778b479367c2
3c94b6aedcf6e69012d8e892d775481965e7551d
refs/heads/master
2023-03-19T22:16:20.529707
2022-05-19T13:33:02
2022-05-19T13:35:03
212,976,476
2
2
null
2023-03-06T16:32:34
2019-10-05T09:46:05
Java
UTF-8
Python
false
false
3,059
py
from flight import * from validator import * def preload_flights(): """ Preloads the flight list with flights Input: - Output: - """ flights = [] flights.append(create_flight("0B3001", 30, "Cluj-Napoca", "Bucharest")) flights.append(create_flight("0B3002", 60, "Cluj-Napoca"...
[ "alexcopindean@yahoo.com" ]
alexcopindean@yahoo.com
7a36f95bdcb55677ffdc4a8de86278144e830cd9
4ce49f691f8f32b37bbc19059398915f341fe065
/setup.py
984656d532ef56c4a6759e806b6a99127c5e8b5a
[ "MIT" ]
permissive
rjagerman/chainercb
03afddec5f4f9858623084e31e4915718125d87a
72f18146828e7ec3dbaec210ab2f41fe25033e42
refs/heads/master
2021-04-06T05:29:47.671405
2018-11-07T00:38:03
2018-11-07T00:38:03
125,028,563
1
0
null
null
null
null
UTF-8
Python
false
false
678
py
from setuptools import setup setup( name='chainercb', version='0.2.3', description='Neural Contextual Bandits using Chainer', url='https://github.com/rjagerman/chainercb', download_url = 'https://github.com/rjagerman/chainercb/archive/v0.2.3.tar.gz', author='Rolf Jagerman', author_email='rj...
[ "rjagerman@gmail.com" ]
rjagerman@gmail.com
c458ef647a88a0968a664cde49e5b1984cd65e44
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-GameCenter/PyObjCTest/test_gklocalplayer.py
2cb908dba9a7f2babf933d3c24a216a8e9c1251d
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
2,803
py
from PyObjCTools.TestSupport import * import objc import sys if sys.maxsize > 2 ** 32: import GameCenter class TestGKLocalPlayer(TestCase): @expectedFailureIf(os_release().rsplit(".", 1)[0] == "10.9") @min_os_level("10.8") def testMethods10_8(self): self.assertIsInstance(Ga...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
63f775b20515da0b6bf1a3a387735f7bb4a50c4f
8d161515037cd42dcd6404a068620c11b2597ae8
/LeetCode/TopologicalSort/course_schedule_2.py
3f1577ea0da66c1a344af053230500ea313c1199
[]
no_license
YiseBoge/CompetitiveProgramming
433526d18a7bfe754f9e1c8d20b2b234d7b7568c
26b720623bcc1afe054101a13ca37b65ff518ce1
refs/heads/master
2021-12-03T17:52:00.048476
2021-11-23T17:40:14
2021-11-23T17:40:14
225,392,780
1
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
import collections class Solution: def findOrder(self, numCourses: int, prerequisites: list) -> list: results = [] visited = set() graph = {} incomings = [0] * numCourses for i in range(numCourses): graph[i] = [] for el in prerequisites: in...
[ "Ethiopia1!" ]
Ethiopia1!
714657f61ebb00d1e2486853057d73e867e44a9b
9ac205e4d8f111608d1abbcfa78b5b6598c17955
/303.区域和检索-数组不可变.py
62b93782eb46009f74fde34f0f122348a64246e1
[]
no_license
oceanbei333/leetcode
41ff0666da41750f7d3c82db53ec6f7f27125d3e
5d29bcf7ea1a9e489a92bc36d2158456de25829e
refs/heads/main
2023-03-16T18:17:25.232522
2021-02-28T04:56:40
2021-02-28T04:56:40
319,561,951
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
# # @lc app=leetcode.cn id=303 lang=python3 # # [303] 区域和检索 - 数组不可变 # # @lc code=start class NumArray: def __init__(self, nums: List[int]): for index in range(1, len(nums)): nums[index] += nums[index-1] self.nums = nums @functools.lru_cache(None) def sumRange(self, i: int, j:...
[ "root@DESKTOP-2T4F83G.localdomain" ]
root@DESKTOP-2T4F83G.localdomain
0811c571a3808f0d496175d63bdb28a4be42e8fe
8229649a3a8c54a15b623ba44d090e23a8186ca1
/src/accounts/admin.py
6198d2e0249467f2ee62d0556b07a90738303310
[]
no_license
jirayr2609/SportsUnitedBackEnd
5c4292f88a4e1f41df02ff9c8942725318e05cf3
607d2a60471009a314f6e1ab7dfa8d92a7ad1ade
refs/heads/master
2021-05-10T20:03:23.211460
2018-01-13T03:27:17
2018-01-13T03:27:17
118,175,133
0
0
null
2018-01-19T20:29:31
2018-01-19T20:29:31
null
UTF-8
Python
false
false
1,692
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from .models import * # class UserAdmin(BaseUserAdmin): # search_fields = ('email', 'first_name') # ordering = ('email',) # list_display = ('id', 'email', 'first_name') # fieldsets = ( # (None, {'...
[ "e.amespizarro@gmail.com" ]
e.amespizarro@gmail.com
da3c5684a7721cfe8d3fe89486c230fc19623644
9c52998e7d92640b82284e7e85bf69205fc94d73
/SeleniumLearningFiles/SeleniumLearning04/webdriver/Test1/generater.py
da79e98a24909b7d45bd5ede85d260ff7a25f0ba
[]
no_license
github653224/GitProjects_SeleniumLearing
b0c57d27fa48b0cd7475f8d8e8b19c57160e65fc
818b573a3b0f18def98610e59e3c0c6500a675bc
refs/heads/master
2021-07-20T05:54:46.392948
2017-10-27T12:53:41
2017-10-27T12:53:41
107,764,014
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
a=[x*x for x in range(11)] print(a) # 如果列表元素可以按照某种算法推算出来,那我们是否可以在循环的过程中不断推算出后续的元素呢? # 这样就不必创建完整的list,从而节省大量的空间。在Python中,这种一边循环一边计算的机制, # 称为生成器:generator。 要创建一个generator,有很多种方法。第一种方法很简单,只要把一个 # 列表生成式的[]改成(),就创建了一个generator: g=(i*i for i in range(11)) print(next(g)) print(next(g)) print(next(g)) print("================...
[ "944851899@qq.com" ]
944851899@qq.com
87e3126b85b06a59837880826fd87046c6382599
e8bc479b6ab88dff328c4d6ba3b24dec2b14ac27
/nuitka/tools/quality/autoformat/__main__.py
2cc6525631b690fe19e937df750bbca8cdbb7fe2
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
Pihu1998/Nuitka
368469700b7c7310a54ab781bb3bf2b768067aff
b84034fbc516afb1d501a9eb84a58552efa247c2
refs/heads/develop
2020-04-28T16:38:00.978801
2019-03-09T16:11:52
2019-03-09T16:11:52
175,418,891
0
0
Apache-2.0
2019-03-13T12:43:16
2019-03-13T12:43:15
null
UTF-8
Python
false
false
2,377
py
#!/usr/bin/env python # Copyright 2019, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this fi...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
b9750053cf0af6fc9fb2076a0a93e7da78b67efc
52f0984561895b48f3e6e40658a6e52c97705715
/python-folder/dictionary-dictionary.py
8fa1c8e1239aa41bc362c920db16c8be9959c7e1
[]
no_license
jsanon01/python
8da2755e7724850875518455c1760bb9f04dd873
edd52214e3578f18b71b0ad944c287411fb23dfb
refs/heads/master
2022-05-20T00:29:10.550169
2022-05-10T01:08:48
2022-05-10T01:08:48
165,682,490
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
""" I want to print a main dictionary and sub-dictionary with keys and values I want to print a dictionary inside main dictionary with keys and values I want to print indexes in a dictionary """ data = { 'teams': 'Red Sox, Bruins, Patriots', 'wins': {'year': 2018, 'score': '36-12'} } print("\nI want to print 'main...
[ "jeansanon180@gmail.com" ]
jeansanon180@gmail.com
e1c4af9241459df5e7bcd59937c031f4fb87f751
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03606/s818080839.py
c288dfefdd86db85a45f087c0e9ec3028334b76d
[]
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
440
py
import bisect,collections,copy,heapq,itertools,math,string import sys def S(): return sys.stdin.readline().rstrip() def M(): return map(int,sys.stdin.readline().rstrip().split()) def I(): return int(sys.stdin.readline().rstrip()) def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) def LS(): return lis...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
46fb2fe5eb4b01bf7de8dc822f00a214fb9979f3
633638a8c901b19d05178a4ebee586cb6e4b6dbf
/src/detectyuri.py
85ad8b72fe0ee66737321625d2b66ab463c60878
[]
no_license
onnga-wasabi/yuri
2961c8f3be33634b08ccb9b082aaa014955c4960
fcc70f4ee49c88e6635f282511cb0ebb47baf8e0
refs/heads/master
2020-03-10T22:58:30.156085
2018-04-21T04:34:49
2018-04-21T04:34:49
129,630,662
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
import numpy as np import cv2 from pathlib import Path import sys def main(): cascade = cv2.CascadeClassifier('models/model.xml') p = Path('../data/' + DNAME) imgs = [fname for fname in p.iterdir() if not fname.name == '.gitkeep'] i = 0 for img in imgs: image = cv2.imread(str(img), 1) ...
[ "yuuto.onnga.23@gmail.com" ]
yuuto.onnga.23@gmail.com
54764fa0fb34992adc11f76791ab7dbcd5e8a90f
4cc97094736f53c005e4da5674e968ad757d6f10
/easy/10_alphabet_soup.py
41c0e31c7cd6d9d452ee4ee1a7c8365dd2e920df
[]
no_license
Gabkings/coderbyte
8bd59a69a9db46b562d5f5c011e5ab70fbb480c9
bdbd0ca0c79f89485b927f40c700e5aedba197d4
refs/heads/master
2023-03-18T04:49:16.797425
2015-11-25T22:51:52
2015-11-25T22:51:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
# Have the function AlphabetSoup(str) take the str string parameter being passed and return the string with the letters # in alphabetical order (ie. hello becomes ehllo). Assume numbers and punctuation symbols will not be included in the string. def AlphabetSoup(a_string): list_of_chars = [] for char in a_str...
[ "paigebolduc@gmail.com" ]
paigebolduc@gmail.com
5e5d7c3e6155b2c19b3a4d1849738190be2fde9d
e78f76b899117637944f0134a386a6f4443334d0
/sample/9/NotePadAT.py
f2caeb2cd7b5389fa3e22625d6e550be158afc0b
[]
no_license
yama5/pythonLab-v3
b6183eca91fadb7e6d09d886b4c602b1d8c83c75
edf012748e021a14dc93dcd9f474412b7eca0e44
refs/heads/master
2020-04-27T06:01:32.179510
2019-02-19T09:52:34
2019-02-19T09:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
# -*- coding: UTF-8 -*- from datetime import datetime from pywinauto import application from time import sleep #sleep time sleepSec=1 # Win32 API(Default) app = application.Application(backend='win32') app.start('notepad.exe') # Notepad クラス (Notepad のウィンドウ) を探して日時を入力 app.Notepad.Edit.set_edit_text(datetime.now()) ...
[ "to-yuki@jtp.co.jp" ]
to-yuki@jtp.co.jp
f3f518efa443fa90cde3a6be4048a1dd6b85d304
a130fd7c22f60ff70824331c9ad5bc7cb7c1f8bd
/test/test_back_end/test_emitter/test_statements/test_jumps.py
4cefa8f1da5c349f2f053ae68aba10a4356b38dc
[]
no_license
samyvilar/c_compiler
a366421972ac0f9560538531cf965087ffd9bf9c
fde490814ec751aa052ecfdaa3ba1be1c6209db4
refs/heads/master
2020-04-30T00:17:23.463952
2014-02-27T23:13:28
2014-02-27T23:13:28
17,496,354
5
2
null
null
null
null
UTF-8
Python
false
false
3,042
py
__author__ = 'samyvilar' from test.test_back_end.test_emitter.test_statements.test_compound import TestStatements from front_end.parser.ast.expressions import ConstantExpression, IntegerType class TestJump(TestStatements): def test_continue(self): source = """ { int sum = 0, index = 0...
[ "samy.vilar@gmail.com" ]
samy.vilar@gmail.com
2006a9d4b702cc41c5285de2838fd9506e4a8fbd
8ecd1d9d1760acbf1f9b999363a5d150460e1c2a
/E4-9.py
6d2844a811980e233b2f0222db4e702ed356d8c9
[]
no_license
Gary2018X/data_processing_primer
0910c7c37af7ed03546520303c7d1660c62b0254
b0d2cb16b4fcaed08f01accb4695232a33131d28
refs/heads/master
2023-01-14T17:39:48.856606
2020-11-17T03:21:32
2020-11-17T03:21:32
298,432,953
1
0
null
null
null
null
UTF-8
Python
false
false
281
py
# -*- coding: utf-8 -*- # author:Gary import numpy as np # ********numpy二元数组索引参照和切片********# arr = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) print(arr) # (1)取出值为3的元素; print(arr[0, 2]) # (2)取出二元数组[[4,5],[7,8]]; print(arr[1:, 0:2])
[ "56428019+Gary2018X@users.noreply.github.com" ]
56428019+Gary2018X@users.noreply.github.com
2da1934f98b282a1c541e63bf6c90856a5f62161
46c521a85f567c609f8a073cb9569ea59e2a104f
/20_function_28.py
4e8e7f5f2a5cf86daea7531c18a2e89cda32acbe
[]
no_license
Kunal352000/python_adv
c046b6b785b52eaaf8d089988d4dadf0a25fa8cb
d9736b6377ae2d486854f93906a6bf5bc4e45a98
refs/heads/main
2023-07-15T23:48:27.131948
2021-08-21T13:16:42
2021-08-21T13:16:42
398,557,910
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
from math import* print(pi) print(sin(90)) print(cos(0)) print(tan(45)) print(ceil(2.1)) print(floor(2.99)) print(2,3) print(gcd(6,12)) print(lcm(6,12)) print(prod([1,2,3,4])) print(sqrt(49)) print(factorial(5)) print(perm(5,2)) print(comb(5,2)) """ output: 3.141592653589793 0.8939966636005579 1.0 1...
[ "noreply@github.com" ]
Kunal352000.noreply@github.com
9108ad430c413db6b6458b729c7530c4146e2eac
64fbb76326f92ecebdd721327129ee7c20d8c6d8
/utils/main.py
0ff63c4d4f0073b632f4928d93627dcd2ca63b85
[]
no_license
shaoqianliang/block_chain
dfcbf098bed45454cf8b43bb9b6e465bcbb65aff
67f2206fb65170dc2fc53d87577e892e2493c9f7
refs/heads/master
2020-03-27T22:51:25.973093
2018-09-04T06:41:07
2018-09-04T06:41:07
147,224,409
0
0
null
null
null
null
UTF-8
Python
false
false
5,230
py
# -*- coding: utf-8 -*- import pandas as pd from auto_trade import models import datetime import requests account = models.Account.objects.values() trade_cal = pd.read_csv('trade_cal.csv')#暂时没数据,交易时间 request = requests.session() class G: pass class Context: def __init__(self, cash, start_date, end_date, stat...
[ "1132424753@qq.com" ]
1132424753@qq.com
9ac88ac238eebb51f69cab7b35c71ce3e460fe79
3db2fcd1a34ae7b22225029587369f49424457dd
/tests/DataPreparerTest.py
35dc5a3f4d64057b9016cbefac5442a9f2d13fbe
[]
no_license
pombredanne/realigner
7f0fdfdf42f757fead45cdeb5ea2901c4965e944
b0c32cace20dd720c7609f009d86846d9ecb750f
refs/heads/master
2021-01-18T03:57:30.977009
2014-05-06T09:35:46
2014-05-06T09:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,697
py
__author__ = 'michal' import unittest from classifier_alignment import constants from classifier_alignment.DataPreparer import DataPreparer, IndelDataPreparer from classifier_alignment.DataLoader import DataLoader from alignment import Fasta class DataPreparerTest(unittest.TestCase): def __init__(self, *args): ...
[ "mhozza@gmail.com" ]
mhozza@gmail.com
44411e9b9f7e5b41bed79a8639bfcc52a16e52bb
79041f273c057b2fbb115b35494b13250ac7a42c
/bel/resources/manage.py
d46410a6d919a247ccbf09d0f9715b448b5ab429
[ "Apache-2.0" ]
permissive
belbio/bel
3786b65a10d44735407b0e79c8489bea1df58863
14ff8e543a679e7dfff3f38f31c0f91ffd55e4d8
refs/heads/master
2022-12-08T23:02:28.242510
2020-12-21T16:17:47
2020-12-21T16:17:47
116,027,945
6
2
Apache-2.0
2022-06-01T23:58:52
2018-01-02T15:14:32
Python
UTF-8
Python
false
false
7,083
py
# Standard Library import copy import gzip import json from typing import List # Third Party from loguru import logger # Local import bel.core.mail import bel.core.settings as settings import bel.core.utils import bel.db.arangodb as arangodb import bel.db.elasticsearch as elasticsearch import bel.resources.namespace ...
[ "william.s.hayes@gmail.com" ]
william.s.hayes@gmail.com
079c06a43d4f3e5d049d315a0559e8491d1abd3a
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-emr/aliyunsdkemr/request/v20160408/ListClusterServiceComponentRequest.py
48714e9a03d978d4a7c3d24a5bb5f7e4f0223c9b
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
2,710
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
a0693e9c66f9a14fa8bd9eaf0783e7d63d52be58
9501635a28693b0cfd7dd91ecf6004f3517b1aa9
/deploy.py
aef4b16b5bbc4d72b79a6f6d2ef3ccf609c4fa76
[]
no_license
EvolveWork/EvolveWork-hugo
723bf3fd78a352742f9224cc38304ddfd8b74074
69a3a2bd1ec0f15780edc43b2661dd90182152fe
refs/heads/master
2023-07-09T05:24:33.022541
2023-06-21T18:45:05
2023-06-21T18:45:05
144,762,124
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
from pathlib import Path import sys import os import shutil exclude = [ ".git", ".gitkeep", "CNAME", "README.md", ] root_name = Path().cwd().stem.split("-")[0] target = Path.cwd().parent / f"{root_name}.github.io" def unknown(item): print("UNKNOWN ITEM: {}".format(item)) sys.exit(1) for item...
[ "mindviewinc@gmail.com" ]
mindviewinc@gmail.com
6da4928982eb3db9b43481b949d33b97d283ca16
7dae72dbf90230633271669f4bd1c24a3bfb651c
/src/matches/migrations/0003_auto_20171009_0851.py
a1d589e36d9bfa5079630eec5cb1b37de443f156
[]
no_license
cshc/cshc-web
81bcb134db607c45e3284d7ef4d825f04f5cd9c7
d85aa4522c4ffa603efa9e8625fc7253fb7550b5
refs/heads/master
2023-03-04T16:45:51.823450
2022-10-21T15:16:48
2022-10-21T15:17:58
106,065,961
3
1
null
2023-08-28T13:43:22
2017-10-07T02:28:25
Python
UTF-8
Python
false
false
1,196
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-09 01:51 from __future__ import unicode_literals from django.db import migrations, models import model_utils.fields class Migration(migrations.Migration): dependencies = [ ('matches', '0002_auto_20171008_1816'), ] operations = [ ...
[ "admin@grahammcculloch.co.uk" ]
admin@grahammcculloch.co.uk
4e54c9055ac6e0a17ea8477cf80fadca35c754ee
c47340ae6bcac6002961cc2c6d2fecb353c1e502
/test/test_token_data_response.py
da6f78e9ff0165bd5ba97f9b88cd256efebe3b52
[ "MIT" ]
permissive
rafaeldelrey/controlm_py
6d9f56b8b6e72750f329d85b932ace6c41002cbd
ed1eb648d1d23e587321227217cbfcc5065535ab
refs/heads/main
2023-04-23T09:01:32.024725
2021-05-19T00:25:53
2021-05-19T00:25:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
# coding: utf-8 """ Control-M Services Provides access to BMC Control-M Services # noqa: E501 OpenAPI spec version: 9.20.115 Contact: customer_support@bmc.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import con...
[ "dcompane@gmail.com" ]
dcompane@gmail.com
7d9b5e9a7355d8c69586e6db9203367fad8f78fd
010b9b003f71bae2feed4c050ee97a7a806766c5
/acd/scores/cd.py
f7340a41d11266271a052dc71a2406320a530885
[ "MIT" ]
permissive
SilanHe/hierarchical-dnn-interpretations
19c4bb524e80288e61b55ae7bda8a3402f4def51
d6f96d0ab6fec48ee53ab930b2660e80525993b9
refs/heads/master
2022-04-20T15:38:48.677928
2020-01-20T18:27:50
2020-01-20T18:27:50
255,742,196
0
0
MIT
2020-04-14T22:29:59
2020-04-14T22:29:58
null
UTF-8
Python
false
false
7,923
py
import torch import torch.nn.functional as F from copy import deepcopy import numpy as np from scipy.special import expit as sigmoid from .cd_propagate import * from .cd_architecture_specific import * def cd(im_torch: torch.Tensor, model, mask=None, model_type=None, device='cuda', transform=None): '''Get contextua...
[ "chandan_singh@berkeley.edu" ]
chandan_singh@berkeley.edu
3f5b0a2477d0db12851f351f7537189440c1b853
4731f08d4a56ea33d7031d1b2aeed11859c5d722
/google-dev-python/rest/copyspecial.py
58513cf9f0a8d8f5f0e618d7c2d4b308ad7c7576
[]
no_license
cshintov/python
720bdecf30712e472b05a33efa08374e3b7baac9
995d07d15e3a709d771b4b1a38356c1f186c13e9
refs/heads/master
2021-01-23T06:54:45.302136
2015-09-23T16:59:31
2015-09-23T16:59:31
31,851,452
1
0
null
null
null
null
UTF-8
Python
false
false
2,442
py
#!/usr/bin/python # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ import sys import re import os import shutil import commands """Copy Special exercise """ #...
[ "cshintov@gmail.com" ]
cshintov@gmail.com
0f7cc766f64807ae4e1540145b07693fd5704b3d
041a7a021537af4abaa1a6799da8de5b2bd9bfe8
/01_Jump_to_Python/Chap03/131_2.py
72e2dbe9dcb80d21f42400fbd2d33e6d7979b78b
[]
no_license
webmia/Bigdata
8fbdbb988a5b7eb72d429f5c65735ba4a5503294
22f7135f311dc95c2d7677f2f2902cf3968c2ce9
refs/heads/master
2020-03-15T09:27:22.668735
2018-05-04T02:42:15
2018-05-04T02:42:15
132,075,187
0
0
null
null
null
null
UHC
Python
false
false
475
py
#coding: cp949 my_data=[1,1,1,4,2,4,4,6,8,6,8] print(my_data) unique_data=set(my_data) print(unique_data) for element in unique_data: print(element) t_data=(1,4,5,3,77) for element in t_data: print(element) str_data="Hello world" for element in str_data: print(element) dic_data = {"이름":"박가은", "나...
[ "USER@test.com" ]
USER@test.com
1c25cdbb08aec5cbd191e105438e0cf01d5a7c63
d7ad696cd1b550bb41d20f87b83c984ec7f19aa7
/atcoder/python/beginner/abc242/B/main.py
82ffdc9e2d174acb7d9af10b83050edfc1184d29
[]
no_license
mida-hub/hobby
2947d10da7964d945e63d57b549c1dcb90ef7305
6e6f381e59fc2b0429fab36474d867aa3855af77
refs/heads/master
2022-12-21T23:33:14.857931
2022-12-19T16:30:34
2022-12-19T16:30:34
147,890,434
0
0
null
2021-03-20T04:31:58
2018-09-08T01:31:59
Jupyter Notebook
UTF-8
Python
false
false
521
py
#!/usr/bin/env python3 import sys def solve(S: str): print(''.join(sorted(list(S)))) return # Generated by 2.12.0 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template) def main(): def iterate_tokens(): for...
[ "rusuden0106@gmail.com" ]
rusuden0106@gmail.com
7642875fdf14af91fc099130c8f414e12d6c416f
936a8929956eb82b08c8f48c9bf2e7fb621412df
/tf_load_images.py
da2cb7677ce585dbb7b77194efd0638e32cc1205
[]
no_license
chenxu0602/TensorFlow2.0
3871b9b0cd391ca65938da7d3409e4667acb929c
c13742750ad09d8ec26fabe32578d27c927701a8
refs/heads/master
2021-07-12T11:10:08.665940
2021-02-27T09:21:29
2021-02-27T09:21:29
237,641,001
0
0
null
null
null
null
UTF-8
Python
false
false
5,182
py
import numpy as np import os import PIL import PIL.Image import tensorflow as tf import tensorflow_datasets as tfds print(tf.__version__) from pathlib import Path dataset_url = "https://storage.googleapis.com/download.tensorflow.org/example_images/flower_photos.tgz" data_dir = tf.keras.utils.get_file(origin=dataset_u...
[ "chenxu@Chens-iMac.local" ]
chenxu@Chens-iMac.local
d0703b9ce59cd95e14be57be8347ed11f1034d6c
2ed82968a60f7b2ef7ca70ff000e2098a853de75
/customized class/Bookclassbased/Books/models.py
7c0dcf8d059d35dd5c9266e120fa03ae72523e9f
[]
no_license
mariachacko93/DjangoProjectsFull
9d4fd79b51166fe10d322757dbba96feb68fdde1
5c4dbd142a553b761e660e237a40572d610b97cc
refs/heads/master
2023-02-28T01:57:25.578004
2021-02-04T10:05:34
2021-02-04T10:05:34
335,884,831
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
from django.db import models # Create your models here. class Books(models.Model): book_name=models.CharField(max_length=120) pages=models.IntegerField() price=models.IntegerField() author=models.CharField(max_length=120) def __str__(self): return self.book_name
[ "mariachacko93@gmail.com" ]
mariachacko93@gmail.com
b20a10504c845f3e93d6fca2120a7c94da6edee6
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/Mailpile/2015/8/html_magic.py
fe5e4480c4f9db54ba730a6dd0b83408748066f1
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
4,383
py
# This plugin generates Javascript, HTML or CSS fragments based on the # current theme, skin and active plugins. # import mailpile.config from mailpile.commands import Command, RenderPage from mailpile.i18n import gettext as _ from mailpile.i18n import ngettext as _n from mailpile.plugins import PluginManager from mail...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
dd22e59f7eee2edd60e53575f35c61c4cd566253
84e1e3c5b44a599cd89ab592c0bd4f623bb8dbf0
/tests/test_manifolds.py
d0884d139cf57a578c953e22890fdcce4df32140
[ "MIT", "X11-distribute-modifications-variant" ]
permissive
oaxiom/glbase3
053d548e0c89e3ff6afba3e2a22a09c8cf3b81e5
a1e35eba86fb62b336d559c0b8c0015f38426781
refs/heads/master
2023-07-11T08:21:10.096623
2023-07-07T10:06:35
2023-07-07T10:06:35
125,803,860
12
2
MIT
2023-07-06T22:16:29
2018-03-19T05:03:46
Python
UTF-8
Python
false
false
3,198
py
""" manifolds tester code. Part of glbase3 Tests for the various manifolds """ import unittest # get glbase import sys, os, math sys.path.append(os.path.realpath("../../")) import glbase3 as gl def fq_eq(a, b, eps=0.000001): return abs(math.log(abs(a)) - math.log(abs(b))) <= eps class Test_Manifold(unittes...
[ "oaxiom@gmail.com" ]
oaxiom@gmail.com
b3ce04e610ea0659b6a80eab6724381fe7860097
70263abbb3c7efabf4039f5861e4d417926c13af
/nova/nova/manager.py
a7b67cfa7cc0b8baec2710e21dd52ca99845c9f6
[ "Apache-2.0" ]
permissive
bopopescu/keystone_hierarchical_projects
9b272be1e3069a8ad1875103a1b7231257c90d9c
bf5cbb2e1c58dae17e77c2ec32ed171ec3104725
refs/heads/master
2022-11-21T04:33:35.089778
2014-02-24T19:23:47
2014-02-24T19:23:47
282,174,859
0
0
null
2020-07-24T09:12:32
2020-07-24T09:12:31
null
UTF-8
Python
false
false
4,210
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compli...
[ "tellesnobrega@gmail.com" ]
tellesnobrega@gmail.com
c235d132122f248b7e8ab02f80721c18a4dfcb8c
b715549ade0932ecfd0d9748bd8b1cd4e8493d04
/Datasets/Vectors/global_power_plant_database.py
84049f40364e9243491d553419bfa420d2ed1006
[ "MIT" ]
permissive
donverone/earthengine-py-notebooks
05326b052551f2e3ad2eee8fb12c1a825a6eb5f5
99fbc4abd1fb6ba41e3d8a55f8911217353a3237
refs/heads/master
2023-05-07T00:28:36.722332
2021-03-16T15:04:57
2021-03-16T15:04:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,012
py
# %% """ <table class="ee-notebook-buttons" align="left"> <td><a target="_blank" href="https://github.com/giswqs/earthengine-py-notebooks/tree/master/Datasets/Vectors/global_power_plant_database.ipynb"><img width=32px src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" /> View source on GitHub</a></td> ...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
737c3a4f1b4e938b4456d1d1192ad31270dbff68
3af9b6f42339603616b7327bed21a8bd669bc293
/get_tweets_followers.py
ce8c03b4da2647bc4a377778dfe9b3f949ff187f
[]
no_license
gtatiya/Twitter-Hashtags-Polarity
d7a2fd760c2c9f813b313f76b5c625726c23ff0b
58b67c33f085f402459898934c045e31f186f270
refs/heads/master
2020-11-30T22:32:15.380578
2019-12-28T16:38:06
2019-12-28T16:38:06
230,497,483
0
1
null
null
null
null
UTF-8
Python
false
false
2,296
py
import socket import sys import requests_oauthlib import json import tweepy def show_tweet(tweet): try: return ' '.join([tweet.created_at.strftime("%m/%d/%Y, %H:%M:%S"), tweet.user.screen_name, tweet.text]) except: return '************************ bad or no tweet!*************...
[ "gtatiya@live.com" ]
gtatiya@live.com
71442dcfee6d819bc5eb2560bbee5313f9f82293
ba60d3ccf11157abaf6c7bcf3a81aace27c6af88
/spoj/pwrarr.py
5e0c8824b453ee8607fa8e92d23a0900714fd4aa
[]
no_license
eightnoteight/compro
9a09628593cdd3201f4d3bcf271f1ca6a4e5efca
1e5d32ee83e9d8f27623dee7262decad3d107bd5
refs/heads/master
2021-01-21T04:19:02.746824
2016-08-01T20:51:16
2016-08-01T20:51:16
44,669,361
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
from sys import stdin from itertools import groupby def main(): nextint = iter(map(int, stdin.read().split())).next for _ in xrange(nextint()): s = 0 psum = 0 for _, it in groupby(sorted([nextint() for _ in xrange(nextint())])): k = len(list(it)) s += k ...
[ "mr.eightnoteight@gmail.com" ]
mr.eightnoteight@gmail.com
7af933a1022a1f5fbf74fc9a32a3bf24ac368492
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/pose_estimation/HRNet_MMPose_for_PyTorch/configs/face/2d_kpt_sview_rgb_img/topdown_heatmap/aflw/hrnetv2_w18_aflw_256x256.py
072796fdae7b47cef8a78db994c7e5f384f5baf4
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,880
py
_base_ = [ '../../../../_base_/default_runtime.py', '../../../../_base_/datasets/aflw.py' ] checkpoint_config = dict(interval=1) evaluation = dict(interval=1, metric=['NME'], save_best='NME') optimizer = dict( type='Adam', lr=2e-3, ) optimizer_config = dict(grad_clip=None) # learning policy lr_config =...
[ "zhangjunyi8@huawei.com" ]
zhangjunyi8@huawei.com
539221ab08c5d86de43720acf3b20f99a924bb3a
a3bb911570c0eb1b545a0012841430bb13703069
/0_getjson.py
24b023529159470aa36a297d98ed6a5f4aa3efe7
[]
no_license
koryako/changeface
7d786427474c62e8d58463ef881a17cfb3dffd3e
a327a043832ec478629caadfb2a9da218c8ab9c5
refs/heads/master
2021-05-01T14:30:55.844176
2018-02-12T06:44:39
2018-02-12T06:44:39
121,087,695
1
0
null
null
null
null
UTF-8
Python
false
false
4,212
py
import sys sys.path.append('./face_swap') from PIL import Image,ImageDraw import imageio import cv2 import argparse import cv2 import dlib import json import numpy import skimage from pathlib import Path from tqdm import tqdm from umeyama import umeyama from face_alignment import FaceAlignment, Landma...
[ "daijie@kuaikuaidai.com" ]
daijie@kuaikuaidai.com
e1a25eb1ffd0afcb7aa1b5e81918a542c6522970
1676168244eed1c5610b2c1c38f692f89990b112
/part3-python/Bigdata/Code11-01 리뷰 DB연동.py
62ca0338c858e715a3b5a59904bd85d64e9797d1
[]
no_license
gtpgg1013/AI_docs
351e83f986d66224c82fff2de944753c98336d03
43f8eed8b2732314bd40ed65e1d7eb44dd28fc04
refs/heads/master
2022-12-09T17:32:02.992554
2019-11-20T09:03:56
2019-11-20T09:03:56
182,927,565
1
0
null
2022-12-08T06:50:23
2019-04-23T03:54:56
Jupyter Notebook
UTF-8
Python
false
false
408
py
import pymysql # DB config IP_ADDR = '192.168.56.106'; USER_NAME = 'root'; USER_PASS = '1234' DB_NAME = 'BigData_DB'; CHAR_SET = 'utf8' con = pymysql.connect(host=IP,user=USER_NAME,password=USER_PASS,db=DB_NAME, charset=CHAR_SET) cur = con.cursor() sql = "INSERT INTO emp_tbl (emp_id, emp_name, emp_pay)" sql += "VALU...
[ "gtpgg1013@gmail.com" ]
gtpgg1013@gmail.com
4519f7cc9d9773409a1b7b68ffada3e601a2a84b
a51b1814a9bf2fdcf880772fefaa2ab79e8c7308
/codewars/TV-Remote.py
de41442361589b272fa792b877d1c2c34b203202
[]
no_license
369geofreeman/MITx_6.00.1x
d38913805168440969034e1d82611b0dbcd7a29a
ba84f70cc4e7cfbd4b685b742aa87d3f85cbbf59
refs/heads/master
2023-04-21T01:55:08.538290
2021-05-13T13:03:50
2021-05-13T13:03:50
282,055,845
3
0
null
null
null
null
UTF-8
Python
false
false
1,787
py
# TV Remote # Background # My TV remote control has arrow buttons and an OK button. # # I can use these to move a "cursor" on a logical screen keyboard to type "words"... # # The screen "keyboard" layout looks like this # # a b c d e 1 2 3 # f g h i j 4 5 6 # k l m n o 7 8 9 # p q r s t . @ 0 # u v w x y z _ /...
[ "geofreeman369@gmail.com" ]
geofreeman369@gmail.com
514b52d8c2be79efed0358a86ac9b2f7d0c04027
0693c9aeb907b9c0a61b4287d604a4e1fe56f153
/albumy/extensions.py
bab05eb08a0e0f9ff59380c77d58ad2902af6ec9
[ "MIT" ]
permissive
xichagui/albumy
0f1cbf7b5466049e7d486198312d7e87394a1e4a
319a0bc74d25f130e21746ee03ab04c291a7e032
refs/heads/master
2020-07-24T19:11:13.736712
2018-08-05T02:23:27
2018-08-05T02:23:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
# -*- coding: utf-8 -*- """ :author: Grey Li (李辉) :url: http://greyli.com :copyright: © 2018 Grey Li <withlihui@gmail.com> :license: MIT, see LICENSE for more details. """ from flask_bootstrap import Bootstrap from flask_mail import Mail from flask_moment import Moment from flask_sqlalchemy import SQLAl...
[ "withlihui@gmail.com" ]
withlihui@gmail.com
bc55a623027f28cba4f3f6c91fdb124c02d9ffcc
e2cd4f444b18adca671ae2ac8856594b22c6d2ae
/arc/migrations/0046_register_empid.py
90ee3efd4e5e8f33c15b12b2adab79a780c9b20c
[]
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
412
py
# Generated by Django 2.2 on 2019-07-31 14:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('arc', '0045_delete_upload'), ] operations = [ migrations.AddField( model_name='register', name='empid', fi...
[ "anshuman.airy04@gmail.com" ]
anshuman.airy04@gmail.com
43a7f9be2096f2712a6f3bc0e0f949f5c333662f
4d6975caece0acdc793a41e8bc6d700d8c2fec9a
/leetcode/720.longestWordInDictionary/720.longestWordInDictionary.py
3a13bff3c2cad6295c9a48aeeadf39aa3cf15a62
[]
no_license
guiconti/workout
36a3923f2381d6e7023e127100409b3a2e7e4ccb
5162d14cd64b720351eb30161283e8727cfcf376
refs/heads/master
2021-08-03T10:32:02.108714
2021-07-26T04:38:14
2021-07-26T04:38:14
221,025,113
0
0
null
null
null
null
UTF-8
Python
false
false
2,472
py
# 720. Longest Word in Dictionary # Easy # 462 # 568 # Add to List # Share # Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other words in words. If there is more than one possible answer, return the longest word with the...
[ "guibasconti@gmail.com" ]
guibasconti@gmail.com
0963cb30f00377c442cdab168a91b8809aafe635
57d059d12fda1f58802fbac0d75849fd87268fba
/damm/urls.py
93d4a68034172f40f0ad1ba1d41b58f662deeb36
[]
no_license
stephenmcd/sydjango-damm
11be9b63c4d56b97046445614a7f1752fdad9f30
1518b5b47ede4dfc251805a873d7bf2c089eaa3a
refs/heads/master
2016-09-03T07:33:51.260407
2012-11-17T23:00:21
2012-11-17T23:00:21
6,393,537
1
0
null
null
null
null
UTF-8
Python
false
false
186
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), )
[ "steve@jupo.org" ]
steve@jupo.org
09278782caa33dc5c7a127a544733a62b937c4a8
4ba9a6274d78ff47bc00920be790b62390fc8f42
/63不同路径II.py
4daa69df0585bd73cf73d773e2536339000e470d
[]
no_license
wzwhit/leetcode
02b04f9f354de321a32d8e5b93f20a527100cca5
e732ee7e99a015a0d124677ab73fb58fc8e64b59
refs/heads/master
2020-04-26T03:02:06.380171
2019-08-23T04:04:42
2019-08-23T04:04:42
173,253,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
# 一个机器人位于一个 m x n 网格的左上角 (起始点在下图中标记为“Start” )。 # 机器人每次只能向下或者向右移动一步。机器人试图达到网格的右下角(在下图中标记为“Finish”)。 # 现在考虑网格中有障碍物。那么从左上角到右下角将会有多少条不同的路径? # 网格中的障碍物和空位置分别用 1 和 0 来表示。 # 说明:m 和 n 的值均不超过 100。 # 示例 1: # 输入: # [ # [0,0,0], # [0,1,0], # [0,0,0] # ] # 输出: 2 # 解释: # 3x3 网格的正中间有一个障碍物。 # 从左上角到右下角一共有 2 条不同的路径:...
[ "1064951590@qq.com" ]
1064951590@qq.com
90c55fd54630e87d34e89686ec5c995243c1a813
f1b910a646fe12bb92eacbb875e04ebda0755d80
/dfs/FinalStatePatternListener.py
80a006975bad342dba53d2f3cdf1d365361402ed
[ "MIT" ]
permissive
charlesvardeman/DFSParserExperiments
de0cce3480ff7eae32a74dbf1f51b07c97c77540
9c8a9c7754d9d9fad8ea250e20a6507a6a951e4e
refs/heads/master
2021-01-01T05:01:25.281824
2016-05-24T20:51:16
2016-05-24T20:51:16
59,607,937
0
0
null
null
null
null
UTF-8
Python
false
false
4,227
py
# Generated from FinalStatePattern.g4 by ANTLR 4.5.2 from antlr4 import * # This class defines a complete listener for a parse tree produced by FinalStatePatternParser. class FinalStatePatternListener(ParseTreeListener): # Enter a parse tree produced by FinalStatePatternParser#top_level. def enterTop_level(se...
[ "charles.vardeman@gmail.com" ]
charles.vardeman@gmail.com
aa81f8e635befbe257d714ed22cfec5d3b172fc0
9be2d4717f74ea8373e85427ce00c516724b0c96
/python project/Day13 - 类和对象/tj_08_homework.py
d400aef3e11b6c123c2eefa7ad8238a86e07378d
[]
no_license
chongjing001/Python-Basis
cad380fde4b0ba2e731494ef1423a07b34b171de
6a29a4bd31df9160b842be7288fe098bbd42b433
refs/heads/master
2020-04-12T10:01:11.952917
2019-03-30T07:13:04
2019-03-30T07:13:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,684
py
""" 1.声明⼀个电脑类: 属性:品牌、颜⾊、内存⼤小 方法:打游戏、写代码、看视频 a.创建电脑类的对象,然后通过对象点的方式获取、修改、添加和删除它的属性 b.通过attr相关方法去获取、修改、添加和删除它的属性 """ class Computer: def __init__(self, brand, color, storage): self.brand = brand self.color = color self.storage = storage def play_game(self): return "玩游戏" def ...
[ "635629424@qq.com" ]
635629424@qq.com
e25a006bab5db38d63d470256f5af54a8414d53d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_210/ch169_2020_06_10_23_59_34_008172.py
17091a0a098399fba0901cda3f14dc9d126937e0
[]
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
372
py
def login_disponivel(login, lista_logins): cont = 1 login_ok = login while login_ok in lista_logins: login_ok = login login_ok += str(cont) cont += 1 return login_ok inp = input() lista = [] while inp != "fim": login = login_disponivel(inp, lista) lista.append(login) ...
[ "you@example.com" ]
you@example.com
0ae49fdfe2235c942eb5d314dff051c387ebc0db
ec760cb774a45a12d40529036b7fca3dd589223c
/services/TS29222_CAPIF_Events_API/capif_events/models/websock_notif_config.py
9a7c40bf246d840b7714b335f9db2d0d306dece8
[ "Apache-2.0" ]
permissive
EVOLVED-5G/CAPIF_API_Services
e4d7f8c7fc9a69aa364787471c5bd54d51fd1cb8
c907c68d54adf3e3ad7be15ac6707b8c64a1b778
refs/heads/develop
2023-07-29T09:31:23.176795
2023-05-31T12:56:33
2023-05-31T12:56:33
416,657,882
15
5
Apache-2.0
2023-09-04T12:01:57
2021-10-13T08:46:52
Python
UTF-8
Python
false
false
3,120
py
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from capif_events.models.base_model_ import Model from capif_events import util class WebsockNotifConfig(Model): """NOTE: This class is auto generated by OpenAPI ...
[ "jorge.moratinossalcines@telefonica.com" ]
jorge.moratinossalcines@telefonica.com
dc5f300a6ae71ae79e2a1ea24f54237079802424
db2fb3ffdafe1a94327c3c22c1934253f2fc5c48
/ifloop.py
a2273f3566efa766c0812f9bd0638b5920f996ea
[]
no_license
SSITB/CorePython
d2ae0de6cace8e3b328d91d8bf1d0e0000f9ec9f
fe17d1358a973df8a04a1806e5d4c57758ac8a78
refs/heads/master
2022-01-27T12:43:54.917203
2019-07-18T11:48:15
2019-07-18T11:48:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
##LOOP ##For loop # for i in range(10): # for j in range(i): # print('*',end = ' ') # print() / for i in range(10): for j in range(i): print("$",end='ku') print() # maths = int(input('Enter your Maths marks')) # sci = int(input('Enter your Science marks')) # SS = int(input('Enter you...
[ "kushalbhavsar58@gmail.com" ]
kushalbhavsar58@gmail.com
016e447638e9c8d65d492f45cddf7ffa18c92339
94becda0e99eb1bf23f2649d63a6a2af0f631e33
/unet3d/model/bak/non_local.py
84ca5554cf611bbf6b40170ad837ca05f880fce6
[ "MIT" ]
permissive
guusgrimbergen/3DUnetCNN_BRATS
d560a878dfbe7dfe95ca5a37c8b066199300d276
1c4ad386b66c550770adc8c9e7371c1ce476db94
refs/heads/master
2022-01-08T13:37:05.253386
2019-06-17T13:10:59
2019-06-17T13:10:59
185,376,310
0
0
null
2019-05-07T10:07:33
2019-05-07T10:07:32
null
UTF-8
Python
false
false
5,668
py
from keras.layers import Activation, Reshape, Lambda, dot, add from keras.layers import Conv1D, Conv2D, Conv3D from keras.layers import MaxPool1D from keras import backend as K def non_local_block(ip, intermediate_dim=None, compression=2, mode='embedded', add_residual=True): """ Adds a Non...
[ "minhmanutd@gmail.com" ]
minhmanutd@gmail.com
05bc8775e1f427765763beabb9c7cf075889f058
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2869/60594/265425.py
b0ddfabf1268f6666a70e59b0d32abb54a0c751b
[]
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
330
py
n=(int)(input()) num=[int(n) for n in input().split()] xt=[] for index in range(n): cunzai=False for i in xt: if num[n-1-index]==i: cunzai=True if not cunzai: xt.insert(0,num[n-1-index]) print(len(xt)) for index in range(len(xt)-1): print(str(xt[index])+" ",end='') print(xt[l...
[ "1069583789@qq.com" ]
1069583789@qq.com
48cb0c2abf97bce405fb0c2daba0febba80cbb14
fbcc650dceb75aedc4b23a7709167236481d640f
/eventex/subscriptions/tests/test_view_detail.py
dd3d5aa945b09d3a85d792dd525ee61ad30e1500
[]
no_license
sembug/wttd-eventex
09135f95666a6ee19baee06755b9e81a1e9eda9f
83416d270be23666e802a6c3b5225daa2597fd0a
refs/heads/master
2021-01-16T22:15:15.354594
2016-02-19T01:32:38
2016-02-19T01:32:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
from django.shortcuts import resolve_url from django.test import TestCase from eventex.subscriptions.models import Subscription class SubscriptionDetailGet(TestCase): def setUp(self): self.obj = Subscription.objects.create(name='Harry Potter', email='harryp...
[ "cuducos@gmail.com" ]
cuducos@gmail.com
5f85a089191541b97160e689c6e12ba04bbe45bb
97a4d29863d1ce96f366554fdd985c3ce580bb5d
/077.py
6a8728dcdc932214b11ba9dba10bb7db085ef7f0
[]
no_license
Everfighting/Python-Algorithms
5c3a102fed3a29858f3112d657c69e077efc7e28
235e9b4c66602035be39a8d3b3ad9cf016aebbb9
refs/heads/master
2021-01-20T22:19:18.902687
2018-03-02T05:38:27
2018-03-02T05:38:27
61,302,323
2
0
null
null
null
null
UTF-8
Python
false
false
162
py
#!/usr/bin/python # -*- coding: UTF-8 -*- if __name__ == '__main__': s = ["man","woman","girl","boy","sister"] for i in range(len(s)): print s[i]
[ "cbb903601682@163.com" ]
cbb903601682@163.com
6379c8a6184384ccd10a104529bbd9e8753c6fa1
8d834944c9d2689ba2786d5ace863426d30ab3cf
/venv/bin/mturk
c2472dc306c7ca2a340f6db7a48bcf2831379271
[]
no_license
bopopescu/zurc2_dance
4a0bc584aad46a314ed600d92d296f4b83c5a036
3b3f94c092004d73c021c3ec4717b10c5245a9a8
refs/heads/master
2022-11-25T07:05:08.888372
2013-09-30T19:59:55
2013-09-30T19:59:55
282,521,428
0
0
null
2020-07-25T20:39:50
2020-07-25T20:39:49
null
UTF-8
Python
false
false
197
#!/home/luizcruz/projects/zurczdance/venv/bin/python # EASY-INSTALL-SCRIPT: 'boto==2.9.9','mturk' __requires__ = 'boto==2.9.9' import pkg_resources pkg_resources.run_script('boto==2.9.9', 'mturk')
[ "luizfabiodacruz@gmail.com" ]
luizfabiodacruz@gmail.com
f3b1f23622b9d79a77be6020a0e6449cd9b557ca
13a82b9daf2f050c8c76636df0ba37d9092f3795
/E01_python3/0302_requests/0206_prepared_request.py
53ee9574eb2fe6336df3381cc460a528e446d520
[]
no_license
Vincent105/1st-PyCrawlerMarathon
68c9d11aa90e0b8884a3a00c057d6e8bf255b277
d66e19b2bacccd1c0c2535f50aee0309c2fe3880
refs/heads/master
2022-12-12T17:35:31.174585
2021-01-21T09:47:16
2021-01-21T09:47:16
223,867,991
0
2
null
2022-12-08T07:46:44
2019-11-25T05:26:16
Jupyter Notebook
UTF-8
Python
false
false
570
py
from requests import Request,Session url = 'http://httpbin.org/post' data = { 'name':'germey' } headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36' } s = Session() req = Request('POST',url,data=data,headers=headers)...
[ "vincent1050917@gmail.com" ]
vincent1050917@gmail.com
cb2d95a406956cddb514855ef05c051cc768da3b
5963c12367490ffc01c9905c028d1d5480078dec
/homeassistant/components/hunterdouglas_powerview/sensor.py
d66671fe1ea3130d45047beebace33074a661152
[ "Apache-2.0" ]
permissive
BenWoodford/home-assistant
eb03f73165d11935e8d6a9756272014267d7d66a
2fee32fce03bc49e86cf2e7b741a15621a97cce5
refs/heads/dev
2023-03-05T06:13:30.354545
2021-07-18T09:51:53
2021-07-18T09:51:53
117,122,037
11
6
Apache-2.0
2023-02-22T06:16:51
2018-01-11T16:10:19
Python
UTF-8
Python
false
false
2,672
py
"""Support for hunterdouglass_powerview sensors.""" from aiopvapi.resources.shade import factory as PvShade from homeassistant.components.sensor import SensorEntity from homeassistant.const import DEVICE_CLASS_BATTERY, PERCENTAGE from homeassistant.core import callback from .const import ( COORDINATOR, DEVICE...
[ "noreply@github.com" ]
BenWoodford.noreply@github.com
a56ab4e1101247084b45943d3cc75eaf980d4476
b4ca78134c296d8e03c39496bcc57369fd5f619b
/kubehub/vbox_api/vbox_functions/vbox_set_ram_size.py
9cda921275ad2aeb718ba217ffbad82b4f2e229d
[]
no_license
dedicatted/kubehub-backend
7f4b57033962f1ef8604a2cee0cf55bebd533ec9
3b944e462f5366b2dbad55063f325e4aa1b19b0e
refs/heads/master
2023-02-05T04:44:50.213133
2020-06-10T15:02:03
2020-06-10T15:02:03
236,169,121
1
1
null
2023-01-24T23:19:38
2020-01-25T12:45:32
Python
UTF-8
Python
false
false
375
py
from os import system def set_ram_size(name, ram_size): ram_size_mb = int(ram_size) * 1024 vbox_set_ram_size_cmd = f'VBoxManage ' \ f'modifyvm {name} ' \ f'--memory {ram_size_mb} ' \ f'--vram 128' vbox_set_ram_size = syst...
[ "noreply@github.com" ]
dedicatted.noreply@github.com
7e580a1fbdc72cb6cb7491b48af6ce29c2e10472
350873b97f470488678d5d24e595737f0fc3ced2
/core/migrations/0031_auto_20170301_1220.py
24a9b6a6c9196c97c8cd49b4c49c74b35e69ff7a
[]
no_license
Scaledesk/ase
a2435745f7fbae252eb7af30223d4d59e1070817
891b8d5945b554ae5666c146eca342d649d48ae7
refs/heads/master
2021-01-22T20:26:14.603745
2017-05-16T10:14:22
2017-05-16T10:14:22
85,322,355
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-03-01 12:20 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0030_project_projectname'), ] operations = [ ...
[ "nkscoder@gmail.com" ]
nkscoder@gmail.com
aca28879338aadc44966d770863d903d66c63162
b284d59bdf2c01977eb6d80795e2c75cb95b9b2c
/docs/conf.py
e99c73988670737dc5d91028bdb42372399c8c45
[ "MIT" ]
permissive
CoutinhoElias/danibraz
58d27cb30661d06091196cc487a9d902f4f8dac9
b21f3ce3477ded74c901fa377a5b2ac5e68faf36
refs/heads/master
2021-01-20T02:12:30.096953
2018-04-01T15:52:40
2018-04-01T15:52:40
89,386,992
0
1
MIT
2017-12-01T16:52:47
2017-04-25T17:14:27
JavaScript
UTF-8
Python
false
false
7,798
py
# Dani Braz documentation build configuration file, created by # sphinx-quickstart. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that ar...
[ "coutinho.elias@gmail.com" ]
coutinho.elias@gmail.com
230a0fd6e9ae73d01699b39549cadbdfc4ee219c
78c0a441742a4451fcca2d304d30bd21ce2b2dbd
/src/l1_7_lgb_4.py
81a518d18424f744c214cecc631d8b62137a95a2
[]
no_license
ivan-filonov/mlbootcamp_5
c7aa7506a6d929a055f89c9129584f0df71490c1
b3b06eb91c1cbc81fea68fb1724197513a19b07a
refs/heads/master
2023-08-19T06:58:05.099722
2019-08-22T11:25:30
2019-08-22T11:25:30
97,398,154
4
1
null
2023-08-28T17:18:16
2017-07-16T17:08:06
Python
UTF-8
Python
false
false
581
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import model_base_ho_lgb import data_clean_1 as data #import features_text_2 as fea_1 import features_kmeans_2 as fea_2 import features_wa_4 as fea_3 class model(model_base_ho_lgb.LgbModelBase): def __init__(self): name = 'l1_7_lgb_4' debug = False ...
[ "ivan.filonov@gmail.com" ]
ivan.filonov@gmail.com
cd8904c38ec4f94118e81f35697c3f5a9b2976ba
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02682/s156139297.py
b0d4f8960502ca04a060454391fb87d33ee3e20b
[]
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
176
py
a,b,c,k = map(int,input().split()) ans = min(a,k) k -= ans if k == 0: print(ans) exit(0) k -= min(b,k) if k == 0: print(ans) exit(0) ans -= min(c,k) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d74b53c8194884095a424e12fff32ad21ef22052
55c8fd9ce0c5bb147cbdb69274873b93b35356fc
/pathGeneration-v2/Analysis/code-v2/data/dataProcess_main.py
d9bc53cdbd9ccda05b6b8c6826cd9a2e38026651
[]
no_license
WOW5678/pathGeneration
b4143bbbc2be686ee011d24af46d57d2cee88f06
88f31b4f30750307fa7f5072e7faa2f959a6d0c0
refs/heads/master
2020-08-06T17:46:22.075128
2019-11-15T12:38:07
2019-11-15T12:38:07
213,097,008
1
0
null
null
null
null
UTF-8
Python
false
false
7,784
py
# -*- coding:utf-8 -*- """ @Time: 2019/06/17 21:37 @Author: Shanshan Wang @Version: Python 3.7 @Function: 数据预处理的主文件 """ # --*- coding:utf-8 -*- import sys import numpy as np import pandas as pd from collections import Counter,defaultdict import csv import math import operator from get_discharge_summari...
[ "noreply@github.com" ]
WOW5678.noreply@github.com
0510513265114689d36cabf25f566ba6d8f05b71
a69ca52f16f3e91b68334d60edfdd1fe9adfe106
/二叉树/二叉树的遍历/BFS/117. Populating Next Right Pointers in Each Node II.py
babbed44961c7ff461f35eddd72599f6e93f9274
[]
no_license
lidongdongbuaa/leetcode2.0
09535e7a44ab290ab5eed14b52058a7e4a36a55f
f1bab194c2d16905baa9e4d3ff89cb3fb1f4fdb8
refs/heads/master
2020-09-05T00:49:21.865190
2020-08-20T05:59:19
2020-08-20T05:59:19
219,935,354
3
3
null
null
null
null
UTF-8
Python
false
false
2,930
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/2/21 14:16 # @Author : LI Dongdong # @FileName: 117. Populating Next Right Pointers in Each Node II.py '''''' ''' 题目分析 1.要求:Given a binary tree struct Node { int val; Node *left; Node *right; Node *next; } Populate ea...
[ "lidongdongbuaa@gmail.com" ]
lidongdongbuaa@gmail.com
b615f5014322c3d06b867c582598e385bc42a775
cf0ab8503d4d704045070deea1e2125375711e86
/apps/billing/appconfig.py
11c11dc40288fc4cf7ba444daca34945b9a18014
[]
no_license
faierbol/syncano-platform
c3c6468600115752fd9fa5e46a0ad59f75f6bc9c
879111874d1ef70418b4890cf970720b0a2be4d8
refs/heads/master
2023-07-20T10:13:40.066127
2021-02-08T15:01:13
2021-02-08T15:01:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
# coding=UTF8 from django.apps import AppConfig as _AppConfig class AppConfig(_AppConfig): name = 'apps.billing' def ready(self): from . import signal_handlers # noqa
[ "rk@23doors.com" ]
rk@23doors.com
4ee564ff26a6d9e9bebabed6505d17d1473bad7b
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AnttechBlockchainDefinSaasPaymentCancelResponse.py
3b3e760b611f0079040263d16a00154fabac122a
[ "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,605
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AnttechBlockchainDefinSaasPaymentCancelResponse(AlipayResponse): def __init__(self): super(AnttechBlockchainDefinSaasPaymentCancelResponse, self).__init__() self._ava...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
ebe03a1ebbe5b33a962a26d1914041d64087b8b6
12620eef65e2675da5102d3ce7946ca4f0404db7
/ursina/models/procedural/cylinder.py
9cd3b03acf306d506f64cffbaf545226aaf88463
[]
no_license
solomonvimal/ursina
28e4a26a71639077b6a601118604b10a75f37efd
20555c37c579aee56c0e2e8c8cff307d8a0e4517
refs/heads/master
2020-06-28T02:25:11.096764
2019-08-01T19:55:20
2019-08-01T19:55:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
from ursina import * class Cylinder(Prismatoid): def __init__(self, resolution=8, radius=.5, start=0, height=1, direction=(0,1,0), mode='triangle', **kwargs): super().__init__( base_shape=Circle(resolution=resolution, radius=.5), origin=(0,0), path=((0,start,0), Vec3(di...
[ "pokepetter@gmail.com" ]
pokepetter@gmail.com
606f6fb48be89fbe5c49adf052347c3837123a68
bd217477924d810e347ab1ded67022bb2076b2a3
/Heap/TestCircularDoublyLinkedList.py
dd3047d85c23bb8e0d8733d14c20aaef67a4f456
[ "MIT" ]
permissive
kopok2/DataStructures
b701a663e58b4d2dad2077f99d3ce06cbbf59da0
d3877b542872c0be0f97306061c6ce0c3d98f1f3
refs/heads/master
2021-06-28T19:48:45.404826
2020-11-30T10:41:03
2020-11-30T10:41:03
196,040,844
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
# encoding-utf-8 import unittest from CircularDoublyLinkedList import CircularDoublyLinkedList class TestCircularDoublyLinkedList(unittest.TestCase): def test_simple_list(self): cdll = CircularDoublyLinkedList(17) cdll.insert_new_node(24) cdll.insert_new_node(23) cdll.insert_new_no...
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
ce7c97ae29fb8b74bf4c9803bf5c2ed0252245d5
2adfa5b5125d14a9dd800946ee6ab0906fe79ed7
/brainmap/models/specificity.py
11d6ef21d36638fd3973540d52666898ecdbe81f
[ "MIT" ]
permissive
cabrittin/elegansbrainmap
25f28352b5faf6f06eaa930e8cbbd0ab1d907654
049a26a094e085bacc70f5b05ea04a007d00eb2c
refs/heads/main
2023-06-24T02:01:20.014968
2021-07-29T19:22:06
2021-07-29T19:22:06
322,699,973
4
2
null
null
null
null
UTF-8
Python
false
false
4,551
py
""" @name: specificity @description: Specficity and basal connectivity models @author: Christopher Brittin @email: "cabrittin"+ <at>+ "gmail"+ "."+ "com" @date: 2020-March """ import numpy as np from scipy.special import comb class Model: def __init__(self,n=5): self.Z = np.zeros(n) self.space = 0 ...
[ "cabrittin@gmail.com" ]
cabrittin@gmail.com
f8ed76cf51b68a829ca9cd163433eb7bdaf712bc
7daab7f2e91d62ba0383fa050f3dea1dc9752975
/iniciante/1097_sequencia_IJ_3.py
7f0d0df01909254bed663107992ae50f23027440
[]
no_license
luandadantas/URI-Python
97ccdaa3835b2d2fa403f148969ca7e893d3f119
2cb67f39725b20e6fcbbeaf27d04c4ba05dba665
refs/heads/master
2022-12-04T02:51:14.374361
2020-08-14T17:59:58
2020-08-14T17:59:58
255,736,816
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
a = 7 b = 6 c = 5 for I in range(1, 10, 2): print("I={} J={}".format(I,a)) print("I={} J={}".format(I,b)) print("I={} J={}".format(I,c)) a += 2 b += 2 c += 2
[ "ludanttas@gmail.com" ]
ludanttas@gmail.com
4be511e2e14b066ed3506bad58a80cd8fcdc9b1a
dbaf0da3cd586223549f3d9d2b340b5fb033ee32
/webscaff/fabric/sys/venv.py
ef12bfca2e51b72c60b76d3956943f1df2f6078b
[ "BSD-3-Clause" ]
permissive
idlesign/webscaff_legacy
7393339f267c04a1a8ebf71d8ef64bcc9d00cdaa
198395a00c9e0908657c86e2568a385cbc6fcb13
refs/heads/master
2022-02-10T00:15:42.670376
2019-09-29T06:06:00
2019-09-29T06:06:00
60,078,315
1
0
null
null
null
null
UTF-8
Python
false
false
899
py
from contextlib import contextmanager from fabric.api import cd, prefix, task, run from fabric.contrib.files import exists from os import path from ..settings import PATH_REMOTE_PROJECT_BASE NAME_VIRTUALENV_DIR = 'venv' PATH_VENV = path.join(PATH_REMOTE_PROJECT_BASE, NAME_VIRTUALENV_DIR) __all__ = ['venv', 'create'...
[ "idlesign@yandex.ru" ]
idlesign@yandex.ru
031bfa8baa730c31216daa2f92ecfecb665943fe
7daab7f2e91d62ba0383fa050f3dea1dc9752975
/iniciante/1114_senha_fixa.py
c0593ad5c8f8e9ce8a9215ba9e66fc0bd6f04ab7
[]
no_license
luandadantas/URI-Python
97ccdaa3835b2d2fa403f148969ca7e893d3f119
2cb67f39725b20e6fcbbeaf27d04c4ba05dba665
refs/heads/master
2022-12-04T02:51:14.374361
2020-08-14T17:59:58
2020-08-14T17:59:58
255,736,816
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
while True: senha = int(input()) if senha == 2002: print("Acesso Permitido") break else: print("Senha Invalida")
[ "ludanttas@gmail.com" ]
ludanttas@gmail.com
c0c76ea4b6fc3bd8b3fdb064c4bdb77620ec0ab4
b848e8b8cf772f9498d4447b3b19ab14dac0e534
/supervised_learning/0x03-optimization/10-Adam.py
ec1162f293604c0fd10931058e2780ec01814c86
[]
no_license
jaycer95/holbertonschool-machine_learning
efc93da7cb5c62ca0b578ce59bbc583f1ce55e03
16dc37d1c6dc00a271053b60724c51763914029a
refs/heads/main
2023-06-09T02:51:26.268088
2021-06-30T23:30:59
2021-06-30T23:30:59
310,918,525
0
1
null
null
null
null
UTF-8
Python
false
false
283
py
#!/usr/bin/env python3 """ Normalization function """ import tensorflow as tf def create_Adam_op(loss, alpha, beta1, beta2, epsilon): """ creates the training operation for a neural network """ return tf.train.AdamOptimizer(alpha, beta1, beta2, epsilon).minimize(loss)
[ "jacer.dabbabi95@gmail.com" ]
jacer.dabbabi95@gmail.com
2b7cad34da26dbf22ff8b4694e203f4c533ec73d
8eafb73fdab3e422aa717bac9af338dcba5e3c1e
/bbp/utils/misc/get_shakemap_data.py
b6cc64a70ab970124220cd85ce09fdc9ac8baebf
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
LevyForchh/bbp
6dae4ce3577a73f5cef9b9b5507753a1381ec870
3cc389fb956ea14ef827af0f437ce37e8291afac
refs/heads/master
2020-06-03T05:10:35.751009
2019-06-11T21:38:18
2019-06-11T21:38:18
191,453,945
0
0
null
2019-06-11T21:38:16
2019-06-11T21:38:15
null
UTF-8
Python
false
false
2,448
py
#!/usr/bin/env python """ Copyright 2010-2019 University Of Southern California Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
[ "fsilva@usc.edu" ]
fsilva@usc.edu