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
7f418b7bee3176104ad9a89194ca1f4a3fa27ee1
3a9b154aa9d5e379683476f80f30630bf44d2102
/Server_v1/api/urls.py
d9480d7b24288746c33ed7570e2a86d0a4d9360c
[]
no_license
KevinDon/py_amazon_analysis
81995e360d2b536e1df6e515aae9457054edae29
13b5fbb046ca6516ac3a47e8f7867baf358011f4
refs/heads/master
2022-12-13T00:27:27.511783
2019-08-14T11:45:53
2019-08-14T11:45:53
185,160,162
0
1
null
2022-12-10T05:38:15
2019-05-06T08:56:40
TSQL
UTF-8
Python
false
false
8,094
py
# coding:utf-8 from django.conf.urls import url from django.urls import include, path # from rest_framework import routers from rest_framework_swagger.views import get_swagger_view from api.views import * # router = routers.DefaultRouter() # 创建路由对象 # router.register(r'statvisitqrcodeskus', StatVisitQrcodeSkusSet, ...
[ "kevintang002@gmail.com" ]
kevintang002@gmail.com
8996a492d2fae89a7cdfe698186f932481087617
1ca466de0ffc59b48ab63afdda369ccc13fe4fd3
/python_import/test_audio_sum_use_01.py
9b81b7f39cbb116710eaff58efe5025bac9c108d
[]
no_license
forwiat/youngri
380df95b6eb5c6eaa070099530b5ff9ba39cc8d0
9ed93838db56f202153413095b661273c1e33ddb
refs/heads/main
2023-05-06T06:36:50.651872
2021-06-04T02:30:18
2021-06-04T02:30:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,612
py
# 국립 국어원 발화 말뭉치의 여성 화자를 화자별, 토픽9만 합쳐보자!! import librosa from pydub import AudioSegment import soundfile as sf import os from voice_handling import import_test, voice_sum import_test() # ==== it will be great ==== # --------------------------------------------------------------- # voice_sum: 오디오 한 wav 파일로 합쳐서 저장하기 # ...
[ "lemontleo0311@gmail.com" ]
lemontleo0311@gmail.com
5cbdb08ef6c1b94df2eec04e2133cd087b486f96
0d86bb399a13152cd05e3ba5684e4cb22daeb247
/python-exercise/6-regex/py151_match_address.py
8d42e31cc168df7f51b8b1e726739eb9d57c1862
[]
no_license
tazbingor/learning-python2.7
abf73f59165e09fb19b5dc270b77324ea00b047e
f08c3bce60799df4f573169fcdb1a908dcb8810f
refs/heads/master
2021-09-06T05:03:59.206563
2018-02-02T15:22:45
2018-02-02T15:22:45
108,609,480
0
0
null
null
null
null
UTF-8
Python
false
false
862
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 18/1/12 下午5:47 # @Author : Aries # @Site : # @File : py151_match_address.py # @Software: PyCharm ''' 15-5 匹配住址. 1180 Bordeaux Drive 3120 De la Cruz Boulevard ''' from re import match def match_address(address=''): try: return match...
[ "852353298@qq.com" ]
852353298@qq.com
41e85e05c129f9c11ad1d862da42bb45eac84f4b
9a2ea68439d24632cdf1321db0137f412ad2b1ed
/analyzePcapWithScapy.py
61ddb90dc464a22310a33722337e2244798418df
[]
no_license
parahaoer/AnalyzePcap
91ec1656fd65e0aa51ce1fbc14d2cb7aac18fd22
c67e6f0d72a9351c86c8ae05e55426e21ad2ec02
refs/heads/master
2022-12-13T05:19:19.832656
2020-08-28T07:28:16
2020-08-28T07:28:16
279,524,775
0
0
null
null
null
null
UTF-8
Python
false
false
4,500
py
from scapy.all import * import re def analyzePcap(filepath): s1 = PcapReader(filepath) ftxt = open('scapy_analyze_result/result_feature_great_than_30.txt','a', encoding="utf-8") write_line = [] vnc_feature_count = 0 global vnc_file_count No = 1 try: # data 是以太网 数据包 data =...
[ "884101054@qq.com" ]
884101054@qq.com
0890a6bf27d61c2f9589587a2bffc15d5faec9cc
06e10ace821eb75f88299b8721f7e42ad497ca4c
/libby/main.py
25cb7a143748aef15cab1aebc3c877138cff324b
[]
no_license
kwarwp/henrietta
a36f4e7fecf652e6fb00600aeed92fe18acc481b
76963014bb7d47c0713cc7b43d61fe1292794f72
refs/heads/master
2022-11-23T22:37:35.872643
2022-11-08T17:39:41
2022-11-08T17:39:41
128,998,573
0
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
# henrietta.libby.main.py class Templo: def __init__(self): self._esta_no_templo = False def entra(self): self._esta_no_templo = True def sai(self): self._esta_no_templo = False def entrou(self): return self._esta_no_templo class EntradaDoTemplo...
[ "38007182+kwarwp@users.noreply.github.com" ]
38007182+kwarwp@users.noreply.github.com
d01ab306dfeee67e9bda6895a5e86a518044d490
d14032ed6f3ec3b4f149a02df9e5bf6fbd8fda44
/app/modules/auth/active.py
d58070692fb442d44cd4994d430d41a8cfbe55ad
[]
no_license
tomszhou/pony
6bae77c6188c710eaf82898b6e792234ec773161
1fa6ab22a04f3cd2c1a130803833c5c22460a382
refs/heads/master
2021-05-17T23:21:42.023804
2018-07-09T05:54:45
2018-07-09T05:54:45
250,999,515
1
0
null
2020-03-29T09:50:46
2020-03-29T09:50:45
null
UTF-8
Python
false
false
1,375
py
from django.shortcuts import redirect from app.models.account.account import UserAccount from app.models.account.token import AccessToken from app.models.account.info import UserInfo from app.modules.common.util_struct import * from app.modules.common.secret import verify_password from app.modules.common.easemob impor...
[ "wudong@eastwu.cn" ]
wudong@eastwu.cn
8965f08a72396840cde95e71a464254a0bf45145
3bb57eb1f7c1c0aced487e7ce88f3cb84d979054
/paetzold_nns/scripts/rankers/Run_Glavas.py
081d7414d035f7ae7b6995b54c84c075c76a41a6
[]
no_license
ghpaetzold/phd-backup
e100cd0bbef82644dacc73a8d1c6b757b2203f71
6f5eee43e34baa796efb16db0bc8562243a049b6
refs/heads/master
2020-12-24T16:41:21.490426
2016-04-23T14:50:07
2016-04-23T14:50:07
37,981,094
0
1
null
null
null
null
UTF-8
Python
false
false
2,319
py
from lexenstein.rankers import * from lexenstein.features import * import sys victor_corpus = sys.argv[1] test_victor_corpus = sys.argv[2].strip() output_path = sys.argv[3].strip() model = '/export/data/ghpaetzold/benchmarking/lexmturk/scripts/evaluators/stanford-postagger-full-2015-04-20/models/english-bidirectional...
[ "ghpaetzold@outlook.com" ]
ghpaetzold@outlook.com
790f2c451355c35536dceb9e440223556ded9d71
1bad7fc3fdd9e38b7ff50a7825565b7b190fa5b7
/qrback/migrations/0026_company_slogan.py
c8bcd1c71abe99686a4ad68070fc1d0f902b136d
[]
no_license
furkankykc/QRforAll
d4be43e403d75c86436ed9d9e2b222619ecf92b1
6cc0555fdc27797586628f2012523dce5212b321
refs/heads/master
2023-07-10T13:02:27.618792
2021-08-05T07:22:29
2021-08-05T07:22:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# Generated by Django 3.0.8 on 2020-08-22 09:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('qrback', '0025_company_counter'), ] operations = [ migrations.AddField( model_name='company', name='slogan', ...
[ "furkanfbr@gmail.com" ]
furkanfbr@gmail.com
63389afedfb107a2984a334fcbf2d0ddd4c0af9e
d1d9b21a81a354baf1c5bc1b3db4ee38825f794b
/_eh.py
52189ad74a92a321aac330cbb9af43576d83b004
[]
no_license
pytsite/plugin-seo
5c235630490fea8d0067d8c03c76a9b1678d6c51
486d4a8e8ab42938ca73b7bd757b7f8bee51ed78
refs/heads/master
2021-01-11T18:49:19.960731
2018-08-02T11:13:42
2018-08-02T11:13:42
79,632,947
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
"""PytSite SEO Plugin Event Handlers. """ __author__ = 'Alexander Shepetko' __email__ = 'a@shepetko.com' __license__ = 'MIT' from pytsite import metatag as _metatag, reg as _reg def router_dispatch(): for tag in _reg.get('seo.global_metatags', []): _metatag.t_set(tag['name'], tag['content'])
[ "a@shepetko.com" ]
a@shepetko.com
9a8df1df3b7aaeea7f01727f104107208d1bf7fd
02b1eccce01f515089ecb40862fc01c8b214fc50
/auth.py
cb6da04d15be14443a0013fbfededf9ac506b531
[ "MIT" ]
permissive
Nekmo/nekutils
1f8a1f4e309733d31d16ca34c266367369f2cb45
1de28bb810625db1d4c575f61426ab67e7d1f1e0
refs/heads/master
2016-08-12T16:10:13.838188
2016-04-01T14:45:20
2016-04-01T14:45:20
43,179,008
0
0
null
null
null
null
UTF-8
Python
false
false
1,888
py
class AuthAddress(object): def __init__(self, address): self._user = None self._host = None self._port = None self._endpoint = None self.address = address @property def user(self): if self._user is None: user_endpoint = self.address.split('@') ...
[ "contacto@nekmo.com" ]
contacto@nekmo.com
0db417c20a5d963481fb0f4b056258b3c8389ac1
7d5e694aba546c166004cab8e592a000fb7283ef
/PyQt5_Udemy/01_Basic_Widgets/07_comboBox_2.py
72affbce9bf5aa4a6a113f381cf8eab7b81f8c4c
[]
no_license
OnurKaraguler/PyQt5
45ffe320911f25f2ad0e318de2c7e3851db7be0c
909546b53c0f80c1eae27c660f47cd5ded3ff1a6
refs/heads/master
2022-12-21T09:06:24.063816
2020-09-24T14:54:11
2020-09-24T14:54:11
298,299,258
1
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
import sys, os from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import Qt class Main(QWidget): def __init__(self): super().__init__() self.setWindowTitle('combo box demo') self.setGeometry(500,150,300,300) self.setFixedSize(self.size()) #Ekran ölçü...
[ "onurkaraguler@hotmail.com" ]
onurkaraguler@hotmail.com
c3765a33bb6228a494b01e9c2042906c4ff81caf
8412b576f09202e8b07a241749d31fd6ef5380c3
/rpc_interface.py
fe2bc978670679ced000f0f3ccc914e095611aff
[ "MIT" ]
permissive
meeh420/ngcccbase
2d7f64e16972904a4c4a97d300f3e301632b98d0
1c15e9f813076151b9c758e2b8c7de086fccedc0
refs/heads/master
2020-12-31T01:11:23.659834
2013-11-18T01:10:09
2013-11-18T01:10:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,652
py
""" rpc_interface.py This file connects ngccc-server.py to wallet_controller.py The main functions that this file has are to take the JSON-RPC commands from the server and pass them through to the wallet controller. Note console_interface.py does a similar thing for ngccc.py to wallet_controller.py """ from wallet_co...
[ "jaejoon@gmail.com" ]
jaejoon@gmail.com
b4050eea1c4ce4a8157554ca83fc9bbb7fcd3a6d
d8cbe9ce0469f72b8929af01538b6ceddff10a38
/homeassistant/components/scrape/config_flow.py
cbd0ed7d525a4948b89d1fa79f9dd60463e63892
[ "Apache-2.0" ]
permissive
piitaya/home-assistant
9c1ba162dac9604e4d43e035e74bad7bba327f0b
48893738192431f96966998c4ff7a3723a2f8f4a
refs/heads/dev
2023-03-07T16:13:32.117970
2023-01-10T17:47:48
2023-01-10T17:47:48
172,578,293
3
1
Apache-2.0
2023-02-22T06:15:56
2019-02-25T20:19:40
Python
UTF-8
Python
false
false
9,208
py
"""Adds config flow for Scrape integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any import uuid import voluptuous as vol from homeassistant.components.rest import create_rest_data_from_config from homeassistant.components.rest.data import DEFAULT_TIMEOUT from ...
[ "noreply@github.com" ]
piitaya.noreply@github.com
052d73f6b96d29283777078b074e925cc5d8b8f4
ac1fdf53359b53e183fb9b2602328595b07cf427
/ParlAI/parlai/scripts/convert_data_to_fasttext_format.py
70ebc7703659461c6ac56e9bc58a7c97fc00ca52
[]
no_license
Ufukdogann/MasterThesis
780410c5df85b789136b525bce86ba0831409233
b09ede1e3c88c4ac3047800f5187c671eeda18be
refs/heads/main
2023-01-24T18:09:52.285718
2020-11-27T16:14:29
2020-11-27T16:14:29
312,416,173
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:efecd6dfb74a652f16bcda15d3f0cf10eb85b19973aaaee4dabc722b6798caf9 size 3094
[ "134679852Ufuk*" ]
134679852Ufuk*
95a028c6657a6a3a6252707015f2e449e578cd0c
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-servermanager/azure/mgmt/servermanager/models/__init__.py
e6e542614005fecb3af1a7d6d4f16fb74b7017be
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
2,795
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
f39c368702daa9eef179818bc2e09dc0458cd47a
863b664aa0849c9c90124e0c644490feae42b9e9
/python3-demo/app/log.py
70e7f2a8c22ad938b31a26f384a052bea88aa920
[]
no_license
mingz2013/study.python
75d856a77c752a6b6c58b8fcdbd4c2c2bb9189fe
d65017912aa8f8b2ec932518a95990d1ff0c8c6e
refs/heads/master
2021-12-28T04:57:11.266866
2021-08-03T02:59:10
2021-08-03T02:59:10
78,043,106
1
0
null
null
null
null
UTF-8
Python
false
false
3,227
py
# -*- coding: utf-8 -*- """ @FileName: log @Time: 2020/5/19 15:41 @Author: zhaojm Module Description """ from datetime import datetime # from app.config import config def register_logging(): import logging logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message...
[ "305603665@qq.com" ]
305603665@qq.com
2d401730bc0c78d7c4c300b3aec2845406bb0f39
b885eaf4df374d41c5a790e7635726a4a45413ca
/LeetCode/Session3/MinimumDepth.py
f6f31c751b0207b9ab055f367ff94a5a73cd8970
[ "MIT" ]
permissive
shobhitmishra/CodingProblems
2a5de0850478c3c2889ddac40c4ed73e652cf65f
0fc8c5037eef95b3ec9826b3a6e48885fc86659e
refs/heads/master
2021-01-17T23:22:42.442018
2020-04-17T18:25:24
2020-04-17T18:25:24
84,218,320
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def minDepth(self, root: TreeNode) -> int: if not root: return 0 return self.minDepthHelper(root) def minDepthHelper(self, root: TreeNode) -> int: ...
[ "shmishra@microsoft.com" ]
shmishra@microsoft.com
b0697372f6464df3cdb5fcb923c349a26573ab08
02e2e17aeebe1e9e69a955f88686edab7efbe5a8
/kiyoshi_ni_shokuhatsu/update_objects.py
7f636d04e83eeebce0822a2e9369f71f0f8acdc7
[ "MIT" ]
permissive
grokit/grokit.github.io
948d893010ed3203f43a54af2d75259b69e2a895
4150b013eacb9bbdbc1a5046bbc8355d8306a9bc
refs/heads/master
2021-07-17T21:06:08.951517
2020-04-26T18:58:22
2020-04-26T18:58:22
136,870,651
10
3
null
null
null
null
UTF-8
Python
false
false
1,403
py
#!/usr/bin/python3 import dcore.env_setup as env_setup import glob import os def gen_generic_objects(): files = list(glob.iglob('.' + '/**/*.**', recursive=True)) exts = ['.js'] files = [os.path.splitext(os.path.split(f)[1])[0] for f in files if os.path.splitext(f)[1] in exts and os.path.split(f)[1][0:2]...
[ "you@example.com" ]
you@example.com
7dfa6fce30442805c5ee7317697fc349a849a656
5094868ffc84f6591ee4ec6feb25b10b549aef2b
/inwin/fund/orderform.py
2435061a767cd8d8161548e88387a2065c4af9ab
[]
no_license
137996047/finance_trading
c8d9606cfb67525d79a9e60d5cb36b1c293fcc3c
d97edfbfbafc9eea7c47f30064b7aeb3f6e4bf55
refs/heads/master
2020-12-10T08:49:02.272634
2013-11-19T08:12:11
2013-11-19T08:13:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,953
py
''' Created on 2013/2/13 @author: yhuang ''' from django import forms from django.utils.translation import ugettext as _ from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Fieldset, ButtonHolder, Submit, MultiField, Div, Field,Button from crispy_forms.bootstrap import AppendedText,For...
[ "yingchauhuang@gmail.com" ]
yingchauhuang@gmail.com
41fd56496294aa28b4df70baf4467a20cfc53bc6
ea5b4fdf353e76c44a8de71fa16aa8bae88c726a
/heap/613.highFive.py
9f8641a749e1afe5a6f792b433db444a691bcab7
[]
no_license
umnstao/lintcode-practice
dd61c66950ae89abec000063fe0d1a33f13ce6ec
e73b495e23c4dcb0421ab09133e573aaba23c431
refs/heads/master
2021-01-23T02:48:26.294160
2018-03-27T21:54:26
2018-03-27T21:54:26
86,024,853
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
''' Definition for a Record class Record: def __init__(self, id, score): self.id = id self.score = score ''' class Solution: # @param {Record[]} results a list of <student_id, score> # @return {dict(id, average)} find the average of 5 highest scores for each person # <key, value> (studen...
[ "umnstao@gmail.com" ]
umnstao@gmail.com
1ef60f5fc25c6b4427ff0a3202d65fbdb4d2172c
f039b3665b5ca29a5e197ed05a9860f9180a16aa
/maxProfit.py
946506e98ea2316952ca5664c4aa99c22eb4f464
[]
no_license
NeilWangziyu/HighPerformancwAlgorithm
895a0e9d78aee9a0eacc6f81352f8fde10b9310b
7e3fba6879bbe25b738989ef550fd71c7a49dab0
refs/heads/master
2020-04-17T04:36:35.178522
2019-08-09T16:11:34
2019-08-09T16:11:34
166,237,126
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
class Solution: def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ if not prices: return 0 profit = 0 for i in range(1, len(prices)): if prices[i] - prices[i - 1] > 0: profit += prices[i] - prices[i...
[ "noreply@github.com" ]
NeilWangziyu.noreply@github.com
45978b08a29506f6bd384b7c4cc8c361fc40d77b
62442c2547b22aae27f3bb3a0d3f84a9e8e535a0
/python/djangopro/mysite/polls/admin.py
55708fd52ed1fb701b7c1cd1b86a4096caca8aef
[]
no_license
jsdelivrbot/demos
935729fe9afde33709c4e4e74863b64c16c33b33
01a97eda371c2d832c9f2c907a945310662e0710
refs/heads/master
2020-04-10T10:35:44.039560
2018-12-08T10:53:29
2018-12-08T10:53:29
160,970,588
0
0
null
2018-12-08T19:13:00
2018-12-08T19:13:00
null
UTF-8
Python
false
false
872
py
from mysite.polls.models import Poll from mysite.polls.models import Choice from django.contrib import admin #class ChoiceInline(admin.StackedInline): class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class PollAdmin(admin.ModelAdmin): # Show the fields in the following order #fields = ['pub_date...
[ "amjedonline@gmail.com" ]
amjedonline@gmail.com
2374b67ce1f63682539314996c2c82b71ee4b6df
cc8f8030d143f21e885995f97fd146d3dcc5fa40
/sbb/tools/instances.py
b6775a7f93f1bdd48286bca7253a32349a5af83c
[ "MIT" ]
permissive
DanielLSM/train-sbb-challenge
6719cb197df4eb16ef56e0ee3dbe267400cc5fcf
9779b178c1e31f445d136d567e9f62390b0d2c5e
refs/heads/master
2020-03-28T20:54:50.023088
2018-10-17T16:25:46
2018-10-17T16:25:46
149,113,258
1
0
null
null
null
null
UTF-8
Python
false
false
7,913
py
import logging import sbb.tools.logger import pprint import networkx from collections import defaultdict from itertools import chain, product, starmap from functools import partial from sbb.tools.parsers import parse_input_paths, parse_json_file from sbb.tools import input_dir, input_samples from sbb.tools.route_grap...
[ "daniellsmarta@gmail.com" ]
daniellsmarta@gmail.com
c8fad1f100e4968fe5c63524938cdcb4c7395128
9b422078f4ae22fe16610f2ebc54b8c7d905ccad
/xlsxwriter/test/comparison/test_chart_pattern05.py
4ffee075709f4ba1541f72c152fcaf13ae9b4934
[ "BSD-2-Clause-Views" ]
permissive
projectsmahendra/XlsxWriter
73d8c73ea648a911deea63cb46b9069fb4116b60
9b9d6fb283c89af8b6c89ad20f72b8208c2aeb45
refs/heads/master
2023-07-21T19:40:41.103336
2023-07-08T16:54:37
2023-07-08T16:54:37
353,636,960
0
0
NOASSERTION
2021-04-01T08:57:21
2021-04-01T08:57:20
null
UTF-8
Python
false
false
3,121
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
b75df8010682fe9df788a973a54b7c29ad65d8bb
11aac96a622eadf3992d12659eaf0a450b9398bf
/Assignment/settings.py
95126fea50afc7271ec767a5834dbca2a8746130
[]
no_license
naveenkumar2505/Assignment
36604d0545c10a4bcce5606ea26dbbf1c7596159
635c64c8116ad17a2893aa86f498cf8ecdc1f944
refs/heads/master
2020-06-01T03:54:23.802759
2019-06-07T05:57:41
2019-06-07T05:57:41
190,622,923
0
0
null
null
null
null
UTF-8
Python
false
false
3,655
py
""" Django settings for Assignment project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os ...
[ "naveentechhie@gmail.com" ]
naveentechhie@gmail.com
dbd7245e581ae91c182ba9ce192bb227f29d3af5
e4266d7995c6952a374037e6809678a28e2972f4
/abs/abs_project_task_template/models/task_template.py
5fc1f01895efab778ea89c021e1665e3f7aa96f9
[]
no_license
h3llopy/addons_12
cdd3957faa46be9beb20239b713bcde7d3fb24bf
7440086ae976754b0d268986519705cbc9ea0a8a
refs/heads/master
2023-08-31T12:33:54.645648
2021-11-01T02:21:06
2021-11-01T02:21:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,772
py
# -*- coding: utf-8 -*- ################################################################################# # # Odoo, Open Source Management Solution # Copyright (C) 2018-Today Ascetic Business Solution <www.asceticbs.com> # # This program is free software: you can redistribute it and/or modify # it under the...
[ "diegobgajardo@gmail.com" ]
diegobgajardo@gmail.com
66b94cd88087c441f60c732183e04658634fc47f
3dff4bef08954fadb7cc83c4f212fffa81b7d27e
/pub_site/src/pub_site/transfer/forms.py
e39f18c35f5843e52340d97b53ee14bb5ffa4b0e
[]
no_license
webee/pay
3ec91cb415d9e3addabe961448533d861c0bd67a
b48c6892686bf3f9014bb67ed119506e41050d45
refs/heads/master
2020-04-29T14:31:09.643993
2016-02-02T07:14:14
2016-02-02T07:14:14
176,198,802
1
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from decimal import Decimal from flask.ext.wtf import Form from pub_site.commons import amount_less_than_balance, MyRegexp from wtforms import StringField, SubmitField, ValidationError, DecimalField from wtforms.validators import DataRequired, NumberRang...
[ "yiwang@lvye.com" ]
yiwang@lvye.com
26bcb4a835dda6d70c80ca374cf533025eb70965
c1a2befc19abff0cb476618e33004a2c8ed3b01f
/tensorflow/contrib/rnn/python/ops/rnn_cell.py
72206daff4c0dd5cd4f161984d26bb89c77d056e
[ "Apache-2.0" ]
permissive
SatishGitHubs/TensorFlow
842ede88c31157ab886c8e01b91f3170c38d5395
422b17b34f4f1380d2e487b3509bb97ff726edca
refs/heads/master
2022-10-20T05:14:39.748631
2016-09-20T13:19:29
2016-09-20T13:19:29
68,717,129
0
1
Apache-2.0
2022-09-30T19:31:40
2016-09-20T13:55:53
C++
UTF-8
Python
false
false
36,709
py
# Copyright 2015 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
19ef3e931eaaa31f4ee7726864baf8d4c408bd89
a5d22c99e781270317078f8980c934bcc71e6e8b
/samples/misc/opencv_samples/mqtt_cam/config.py
c1ba8083f6f40c04138fb58ff10003c9d0deedcf
[ "Apache-2.0" ]
permissive
aivclab/vision
dda3b30648b01c2639d64a016b8dbcfccb87b27f
06839b08d8e8f274c02a6bcd31bf1b32d3dc04e4
refs/heads/master
2023-08-21T22:35:10.114394
2022-11-02T10:14:08
2022-11-02T10:14:08
172,566,233
1
3
Apache-2.0
2023-08-16T05:11:30
2019-02-25T19:00:57
Python
UTF-8
Python
false
false
979
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "Christian Heider Nielsen" __doc__ = r""" """ from pathlib import Path from warg import NOD MQTT_CAM_CONFIG = NOD( mqtt=NOD( broker="localhost", port=1883, QOS=1 ), # or an ip address like 192.168.1.74 camera=NOD( vi...
[ "christian.heider@alexandra.dk" ]
christian.heider@alexandra.dk
42e17a6a17075549bcba19d12ccfd1b3f4983c35
f525a67f7920d6d35077e60bbe3012ffd455ebdb
/sorting/reorder_data_log_files.py
d2cffa475979985bf5fd5fcbac86803e9689541e
[]
no_license
uma-c/CodingProblemSolving
c29671a76762ba34af0cab05d68e86f798616cab
b7d3b9e2f45ba68a121951c0ca138bf94f035b26
refs/heads/master
2023-05-02T05:38:43.666829
2021-05-19T02:23:13
2021-05-19T02:23:13
286,168,682
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
''' You have an array of logs. Each log is a space delimited string of words. For each log, the first word in each log is an alphanumeric identifier. Then, either: Each word after the identifier will consist only of lowercase letters, or; Each word after the identifier will consist only of digits. We will call thes...
[ "chowtoori@live.com" ]
chowtoori@live.com
bccfed5d348f8c095814aa00c8d5e77feb4040ee
05e454259b44882a1bfff0ba82475374b36b74f0
/vision/utils/video_writer.py
099a8a4933882341dd3d3cd0c9295757e019ac70
[ "BSD-3-Clause" ]
permissive
TeamAutonomousCarOffenburg/TACO_2017
ec49f539528388f28114cca9787c1ab7db880e64
724c37188209818c22046d2229f67d882c36e2f4
refs/heads/master
2021-08-14T18:33:24.203830
2017-11-16T13:48:57
2017-11-16T13:48:57
110,350,009
4
1
null
null
null
null
UTF-8
Python
false
false
1,930
py
import os import time as t from threading import Thread import utils.tools as tools import cv2 class VideoWriter: def __init__(self, im_width, im_height, folder, video_queue): self.video_queue = video_queue self.folder = folder self.im_width = im_width self.im_height = im_height ...
[ "jensfischer95@gmail.com" ]
jensfischer95@gmail.com
a9ea65ef0f77600f090da1acf54b75f98d380c1c
c2643d37464d847facfaa39eca662578b6744c39
/async_www/app.py
a365c66be8802682fdcaba1b4ff00589baf96892
[]
no_license
Jelair/TMS_back_end
c85cd8dd74792a88354c8c2d85ff7e99dfd92677
be267a70741cf7b6810bcc165fbe383c809f24ff
refs/heads/master
2021-09-07T08:36:58.711793
2018-02-20T11:52:11
2018-02-20T11:52:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,866
py
# !/usr/bin/env python # -*- coding:utf-8 -*- """ ------------------------------------------------- File Name: app Description : Author : simplefly date: 2018/2/3 ------------------------------------------------- Change Activity: 2018/2/3: ---------------------------...
[ "1059229782@qq.com" ]
1059229782@qq.com
6823ae91cfcabb0d9c1f3bdc24adb4ffb866e73c
3e30f89790a93e715ef7eb396575e28ae5849cf0
/SurfaceTest.py
d4faf5549dc422114ab10b5dc19c567fb65d69b3
[]
no_license
sulantha2006/Surface
090d5d56fbe778de0b6c3a75cfb6cc3a2ebe12f3
ccc58cbd206da5063c880927c8ba130b6fe6e097
refs/heads/master
2021-01-10T18:49:45.489158
2013-12-11T19:01:48
2013-12-11T19:01:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
__author__ = 'sulantha' import numpy from mayavi.mlab import * from mayavi import mlab def test_contour3d(): x, y, z = numpy.ogrid[-100:100:1, -100:100:1, -100:100:1] scalars = (x*2*y*z*z)+(x*y*z) obj = contour3d(scalars, contours=4, transparent=True) return obj test_contour3d() mlab.show()
[ "sulantha.s@gmail.com" ]
sulantha.s@gmail.com
81dac263c0eb19bc1f2482b80239c0c651db6ed4
45fd54ecc12334806b4a285ca3886f3fe0d191c4
/tests/fixtures/entities.py
3d1cb92dff353405a98989dc76ded7ab47a091a7
[ "BSD-3-Clause" ]
permissive
azthief/pontoon
124fcb4b36ecbe7dc288df8d49ac4ed8e02b9d71
14f9de9b020e45c375311181ed32e487e76d28f8
refs/heads/master
2021-08-23T21:05:16.511013
2017-12-01T15:01:30
2017-12-01T15:01:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
# -*- coding: utf-8 -*- import functools import pytest from pontoon.base.models import Entity @pytest.fixture def entity0(resource0): """Entity 0""" return Entity.objects.get(resource=resource0, string="entity0") @pytest.fixture def entity1(resource1): """Entity 1""" return Entity.objects.get(res...
[ "ryan@synca.io" ]
ryan@synca.io
a00525930a6cd48eadc9c0a8846ad4b1f4204286
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_070/ch159_2020_06_21_20_15_37_551744.py
5e4469af1a68b27e0cd0f94e4e1993cac9b58f68
[]
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
286
py
import json with open('estoque.json', 'r') as arquivo: estoque = arquivo.read() estoque = json.loads(estoque) valorfinal = 0 for produto in estoque["produtos"]: qntd = produto["quantidade"] valor = produto["valor"] valorfinal += (qntd * valor) print(valorfinal)
[ "you@example.com" ]
you@example.com
6a11e069625a1828e9ba4064e026411c93586e9f
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_load_balancer_backend_address_pools_operations.py
9307da4a8071e2a55f8c2e4a3ff1f14923674312
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
22,448
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
catchsrinivas.noreply@github.com
4ce36af0556c38c0b99aa0f46457cfeee2e0ccb1
318572c21d892155e7418e7eee88057a4f3c721d
/test/test_csr.py
a5958650d7ea97ccde7757fc32b9ade9bdb92cdc
[ "BSD-2-Clause" ]
permissive
goran-mahovlic/litex
69a1b1d8b1e0c1e3788c5691888527ae7bc74506
8030c691137d294043d797ff140de3c65aefc086
refs/heads/master
2020-07-11T08:49:58.894980
2019-08-26T21:02:03
2019-08-26T21:02:03
204,495,234
1
0
NOASSERTION
2019-08-26T16:36:25
2019-08-26T14:36:25
null
UTF-8
Python
false
false
3,085
py
# This file is Copyright (c) 2019 Florent Kermarrec <florent@enjoy-digital.fr> # License: BSD import unittest from migen import * from litex.soc.interconnect import csr from litex.soc.interconnect import csr_bus def csr32_write(dut, adr, dat): for i in range(4): yield from dut.csr.write(adr + 3 - i, (d...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
85d1b8bfb200d8f6023817335f55d8cc0ce0daa0
6a0cb1571b72b3f5708bb861b303380cc57a9a16
/English/prepare_flickr_train_chunks.py
3fa5629d374d4e1aa59fb12e265eddbe8553ad13
[ "Apache-2.0" ]
permissive
cltl/Spoken-versus-Written
5bb8f5c46bba2594e86bcaeb12b63c29f78aa443
997024ae60a3f1dacf87162aa3c82439393c1bf2
refs/heads/master
2020-03-21T13:35:22.902840
2018-12-07T20:56:28
2018-12-07T20:56:28
138,614,224
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
from collections import defaultdict def chunks(l, n): """Yield successive n-sized chunks from l.""" for i in range(0, len(l), n): yield l[i:i + n] # Only focus on the training data. with open('./Resources/Flickr30K/splits/train_images.txt') as f: train_ids = {line.split('.')[0] for line in f} # C...
[ "emielonline@gmail.com" ]
emielonline@gmail.com
0f736fdf633fa85c109716227574ac1e44c6a553
bfb036667018dd50883f03ccc51b2d7cbe93b94e
/SignIn/urls.py
d7e0b30211a9534c025dc93ee04b8e09a3c42ea1
[]
no_license
uniquehou/txj-php
845589bd256237d133471d51e4501a06082ff6c7
05edbbcfac541a03754421850c7d0767d12030cc
refs/heads/master
2021-07-21T05:10:01.513922
2017-10-30T23:27:50
2017-10-30T23:27:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
from django.conf.urls import url from . import views app_name = "SignIn" urlpatterns = [ url(r'^$', views.index), url(r'index', views.index, name='index'), url(r'submit', views.submit, name='submit'), ]
[ "919863463@qq.com" ]
919863463@qq.com
f465a631611beafd6ed28baa3a9cd236e84b711e
45e03dd61493195cbbbce14fa54a787715c7c1fb
/Python_String_Methods/Encode().py
66027a0d7c89956c85b20b4cacfba92d51cd82c2
[]
no_license
VaishnaviReddyGuddeti/Python_programs
c55ee69c05d78a70a44385ee2e66365f69546035
309a1786fa5a3886d516cd49eb09f9cd847389df
refs/heads/master
2023-02-17T03:41:31.480858
2021-01-14T15:39:52
2021-01-14T15:39:52
279,762,059
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
# Encode() - Returns an encoded version of the string # Syntax - string.encode(encoding=encoding, errors=errors) # UTF-8 encode the string: txt = "My name is Sushanth" x = txt.encode() print(x) # These examples uses ascii encoding, and a character that cannot be encoded, showing the result with different errors: tx...
[ "vaishnavireddyguddeti@gmail.com" ]
vaishnavireddyguddeti@gmail.com
390c4e261333eb5c95eb3d2d31bbf17f59221205
0ffed23713096d9034efdc44a9f1740f79ddc9e5
/scripts/QMDP_RCNN/IRL_linear_decay.py
3e763658e69cb3f7aea43ee969982ea4cbb4f5d1
[]
no_license
rohitsemwal16/RCNN_MDP
1f559a725195fbaf59e6f2f375695372251b8e55
1c493d17d71c470ebc1dbd1795a75d8ed11eb00a
refs/heads/master
2021-09-04T17:24:04.348415
2018-01-20T10:52:17
2018-01-20T10:52:17
118,078,756
0
0
null
2018-01-19T04:52:16
2018-01-19T04:52:16
null
UTF-8
Python
false
false
5,552
py
#!/usr/bin/env python import numpy as npy from variables import * action_size = 8 def initialize_state(): # global current_pose, from_state_belief, observed_state global observed_state from_state_belief[observed_state[0],observed_state[1]] = 1. def initialize_observation(): global observation_model # observatio...
[ "tanmay.shankar@gmail.com" ]
tanmay.shankar@gmail.com
9985f02a3baeb6a8113ad32eba14a61b5d1e079b
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnurethra.py
e6482a1e9e0c51deb67c1bc5d89eac47143830f5
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
44
py
ii = [('LeakWTI2.py', 1), ('ClarGE2.py', 5)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
97852b5e54f297008951ce01fea42b20236751c7
34652a47355a8dbe9200db229a1bbc62619de364
/Algorithms/Pascal's Triangle grid.py
7171af45039db025d7f6251f269ee3a26bdb34cf
[]
no_license
btrif/Python_dev_repo
df34ab7066eab662a5c11467d390e067ab5bf0f8
b4c81010a1476721cabc2621b17d92fead9314b4
refs/heads/master
2020-04-02T13:34:11.655162
2019-11-10T11:08:23
2019-11-10T11:08:23
154,487,015
0
1
null
null
null
null
UTF-8
Python
false
false
2,263
py
grid = [] n = 7 for i in range(n+1): grid.append([1] * (n+1)) for i in range(n): for j in range(n): grid[i+1][j+1] = grid[i][j+1] + grid[i+1][j] print(grid) print(str(grid[n][n])) ''' 1 1 1 ...
[ "bogdan.evanzo@gmail.com" ]
bogdan.evanzo@gmail.com
50c850718ee41b0daaf57cbf5aa1c0f224458fa1
6aab2d11b3ab7619ee26319886dcfc771cbcaba5
/0x0A-python-inheritance/4-inherits_from.py
7c1e345e609de731fc003fa63903631ed93486f7
[]
no_license
IhebChatti/holbertonschool-higher_level_programming
ef592f25eb077e182a0295cb5f2f7d69c7a8ab67
ca58262c6f82f98b2022344818e20d382cf82592
refs/heads/master
2022-12-18T10:06:30.443550
2020-09-24T17:31:30
2020-09-24T17:31:30
259,174,423
1
1
null
null
null
null
UTF-8
Python
false
false
429
py
#!/usr/bin/python3 """check if obj inhertied directly of a class """ def inherits_from(obj, a_class): """inherits_from definition Arguments: obj {[object]} -- [the object to check] a_class {[class]} -- [the class] Returns: [bool] -- [true if inherited directly, false if not] ...
[ "iheb.chatti@holbertonschool.com" ]
iheb.chatti@holbertonschool.com
f4fdf0ae11d02017349137cfed039cd42492a91b
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/pytorch/source/caffe2/python/modeling/gradient_clipping_test.py
ca5c2ba8e22b62f2beb49d53b2707c3b0769a17a
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
10,161
py
# Copyright (c) 2016-present, Facebook, 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...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
316acafff434b705f475ce32dac493a6ae7e8acc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02921/s577429851.py
3c521007cd28832c9426b343761ba33af753eeb7
[]
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
99
py
s = input() t = input() ans = 0 for i in range(3): if s[i] == t[i]: ans += 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0c79eacddb49731e119b453110e076bd5b9ca5da
9ba2b89dbdeefa54c6b6935d772ce36be7b05292
/devilry/devilry_group/cradmin_instances/crinstance_base.py
f01a0b0b7c01fb528306066de649c1c7909be4c5
[]
no_license
kristtuv/devilry-django
0ffcd9d2005cad5e51f6377484a83d778d65050f
dd2a4e5a887b28268f3a45cc3b25a40c0e313fd3
refs/heads/master
2020-04-27T06:02:45.518765
2019-02-15T13:28:20
2019-02-15T13:28:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,093
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.db.models.functions import Lower, Concat from devilry.apps.core.models import Examiner, Candidate, AssignmentGroup from devilry.devilry_dbcache.models import AssignmentGroupCachedData class DevilryGroupCrInstanc...
[ "stianjul@gmail.com" ]
stianjul@gmail.com
9ce297a89bcb7527f0066f244fe50fac15f47f23
ca75f7099b93d8083d5b2e9c6db2e8821e63f83b
/z2/part3/updated_part2_batch/jm/parser_errors_2/158698348.py
07c5e587ea7fc17c711767e5940198e5050b7d40
[ "MIT" ]
permissive
kozakusek/ipp-2020-testy
210ed201eaea3c86933266bd57ee284c9fbc1b96
09aa008fa53d159672cc7cbf969a6b237e15a7b8
refs/heads/master
2022-10-04T18:55:37.875713
2020-06-09T21:15:37
2020-06-09T21:15:37
262,290,632
0
0
MIT
2020-06-09T21:15:38
2020-05-08T10:10:47
C
UTF-8
Python
false
false
3,078
py
from part1 import ( gamma_board, gamma_busy_fields, gamma_delete, gamma_free_fields, gamma_golden_move, gamma_golden_possible, gamma_move, gamma_new, ) """ scenario: test_random_actions uuid: 158698348 """ """ random actions, total chaos """ board = gamma_new(5, 3, 3, 7) assert board is...
[ "noreply@github.com" ]
kozakusek.noreply@github.com
fb618bb99c8eb4fecc90504df2e15c24a4405d5e
50eb4e3092fadb9af8f5ad33f2d37edce43633ed
/okfncart/tests/test_promotion_loader.py
fe9378704631eaf15f98a06f8b440fc913f5d10a
[]
no_license
tomwardill/okfncart
8723cf42955f1393deeebadc4e7dbaa0de5b435e
89759bf18efb7a49e16492dabdcf23fca41f49c9
refs/heads/master
2020-04-06T04:01:39.242094
2014-09-08T14:23:29
2014-09-08T14:23:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
import unittest from okfncart.promotions.promotion_loader import PromotionLoader class TestPromotionLoader(unittest.TestCase): def setUp(self): self.loader = PromotionLoader() def test_load_promotions_empty(self): promotions = self.loader.load_promotions() self.assertTrue(promotions...
[ "tom@howrandom.net" ]
tom@howrandom.net
12b07ab23fed1bee315b968b910789912c086c85
e0d9844e123fa0706388814b9f29758258589487
/torch/jit/_fuser.py
349ecbea75621a03adfa9001d1d4c5bbd82370e0
[]
no_license
pigpigman8686/seg
b5cf5261a5744e89ed5e5b145f60b0ccc3ba2c0c
61c3816f7ba76243a872fe5c5fc0dede17026987
refs/heads/master
2023-04-10T22:22:35.035542
2021-04-22T06:24:36
2021-04-22T06:24:36
360,398,108
0
0
null
null
null
null
UTF-8
Python
false
false
2,647
py
import contextlib import torch @contextlib.contextmanager def optimized_execution(should_optimize): """ A context manager that controls whether the JIT's executor will run optimizations before executing a function. """ stored_flag = torch._C._get_graph_executor_optimize() torch._C._...
[ "952361195@qq.com" ]
952361195@qq.com
0beb595ac8b8afe6fe9f98094c63c6054d060ac7
df1eea603a7adbdd3f81e06800f788ee97ecefe1
/0x11-python-network_1/101-starwars.py
bf5bd2f574c972d35b0370cd4d2369fe11c16ebf
[]
no_license
ledbagholberton/holbertonschool-higher_level_programming
be0b4423beb8331bd5915f065870a2cbcd8c6008
df937fd4888dc64470f0068323a9fa6ad400e56d
refs/heads/master
2021-06-12T15:16:57.812663
2019-10-01T06:00:34
2019-10-01T06:00:34
184,110,453
0
0
null
2021-04-30T21:18:08
2019-04-29T16:59:29
TSQL
UTF-8
Python
false
false
550
py
#!/usr/bin/python3 """ With request ask for header""" import requests import sys if __name__ == "__main__": url = "http://swapi.co/api/people/?all=true" if len(sys.argv) < 2: sys.exit(1) else: data = {'search': sys.argv[1]} html = requests.get(url, params=data) try: my_json ...
[ "789@holbertonschool.com" ]
789@holbertonschool.com
da5af4886df7355553c45475f6a10ea3d749dcbb
18e10db2ac29420dadf40fc1185091a1e827d6b8
/lib/core/model/facebox/net.py
521cbca006167d62a739d88199d16dcd83b6996c
[ "Apache-2.0" ]
permissive
liuxiaoliu321/faceboxes-tensorflow
a853fb86b8c1ee895028e4ce35f141f8f3ff158c
39d12704cf9c1da324bb439b6e8a72c8b4d01d34
refs/heads/master
2020-08-08T08:05:57.379527
2019-09-25T04:06:25
2019-09-25T04:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,032
py
import tensorflow.contrib.slim as slim import tensorflow as tf import numpy as np from lib.core.model.facebox.losses_and_ohem import localization_loss, ohem_loss from lib.core.model.facebox.utils.box_utils import batch_decode from lib.core.model.facebox.utils.nms import batch_non_max_suppression from train_config im...
[ "2120140200@mail.nankai.edu.cn" ]
2120140200@mail.nankai.edu.cn
7fe9f839b8d31d5cc614f940a265d49226e3dd4c
0326f06f68fb0d919f8467f4744dfd60a654836a
/eggs/Django-1.6.5-py2.7.egg/django/contrib/gis/db/models/query.py
1f2e5196a4b36b6f6d7b2ae9c794a847e4f479a0
[]
no_license
ethirajit/onlinepos
67de6023241339ae08c3b88a9e7b62b837ec17a3
186ba6585d0b29f96a5c210462764515cccb3b47
refs/heads/master
2021-01-17T13:23:36.490727
2014-07-01T10:30:17
2014-07-01T10:30:17
34,388,218
1
0
null
null
null
null
UTF-8
Python
false
false
37,047
py
from django.db import connections from django.db.models.query import QuerySet, ValuesQuerySet, ValuesListQuerySet from django.contrib.gis import memoryview from django.contrib.gis.db.models import aggregates from django.contrib.gis.db.models.fields import get_srid_info, PointField, LineStringField from django.co...
[ "root@server.onlinepos.co.in" ]
root@server.onlinepos.co.in
18f4edd212936a2d9ad07e7a58d32021e5000f79
cc619d6e81c39fe54d4875e3c6936e25bb8a7ebd
/Python/src/17 Scientific Python/SciKitImage/03_tablets.py
35e9a6bcf6f9bf53efee9a38eb2c8fe75f4f809d
[]
no_license
joshua4289/python3-examples
cb01060f649c7dc97185566b00fa0d59a1ffdca3
70c1fd0b1e5bf25e82697257fb9f92cd06e922b7
refs/heads/master
2020-12-19T08:19:13.310071
2017-04-28T13:48:01
2017-04-28T13:48:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,018
py
import numpy as np import scipy.ndimage as nd import matplotlib.pyplot as plt import skimage.morphology as morphology import skimage.feature as feature import PIL.Image as Image def load_image( infilename ) : img = Image.open( infilename ) img.load() data = np.asarray( img, dtype="int32" ) return data ...
[ "seddon-software@keme.co.uk" ]
seddon-software@keme.co.uk
6a300cad68c584580fc8f8d23564a9d3917e56de
73d9b5664d6949140b13e92d8b91a01e8502752a
/good_spot/images/migrations/0006_auto_20180313_1440.py
d6a7bce62944f54512cae8f23ae1618d32f2648b
[ "MIT" ]
permissive
jasmine92122/NightClubBackend
3ed46cce0f6b534b4b49829f53fe7cb6a42ae42e
7f59129b78baaba0e0c25de2b493033b858f1b00
refs/heads/master
2022-11-23T00:42:25.606762
2019-10-02T01:56:29
2019-10-02T01:56:29
212,234,882
0
0
MIT
2022-11-22T02:10:16
2019-10-02T01:47:52
JavaScript
UTF-8
Python
false
false
462
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-03-13 14:40 from __future__ import unicode_literals from django.db import migrations def reorder(apps, schema_editor): from django.core import management management.call_command('reorder', 'images.PlaceImage') class Migration(migrations.Migration...
[ "jasminegarcia111@outlook.com" ]
jasminegarcia111@outlook.com
20c0be5ceca17532092c08704ef8644540114ee4
936dc2666f27de7a7d1428c7ad2ded62a722b8fa
/src/geofr/tasks.py
cccc966051394561c8ed36e13ac6c969e30e66cd
[ "ISC" ]
permissive
MTES-MCT/aides-territoires
03451a32bdeaab3812b8593bfe3a27c1b1d9a182
af9f6e6e8b1918363793fbf291f3518ef1454169
refs/heads/master
2023-09-04T22:15:17.819264
2023-08-25T13:19:17
2023-08-25T13:19:17
124,301,398
21
11
NOASSERTION
2023-09-12T13:46:49
2018-03-07T22:19:11
Python
UTF-8
Python
false
false
206
py
from core.celery import app from django.core import management @app.task def count_by_department(): """Count backers and programs by department.""" management.call_command("count_by_department")
[ "noreply@github.com" ]
MTES-MCT.noreply@github.com
df71e788bcfd8b63c8f6aabc31fca3443c9f04b4
df716b2868b289a7e264f8d2b0ded52fff38d7fc
/tests/parsers/trendmicroav.py
a8f3cf80dcbcd5830b11ee17d920946a8d4d990f
[ "Apache-2.0" ]
permissive
ir4n6/plaso
7dd3cebb92de53cc4866ae650d41c255027cf80a
010f9cbdfc82e21ed6658657fd09a7b44115c464
refs/heads/master
2021-04-25T05:50:45.963652
2018-03-08T15:11:58
2018-03-08T15:11:58
122,255,666
0
0
Apache-2.0
2018-02-20T21:00:50
2018-02-20T21:00:50
null
UTF-8
Python
false
false
1,777
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the Trend Micro AV Log parser.""" from __future__ import unicode_literals import unittest from plaso.formatters import trendmicroav as _ # pylint: disable=unused-import from plaso.parsers import trendmicroav from tests import test_lib as shared_test_lib from t...
[ "onager@deerpie.com" ]
onager@deerpie.com
4d1e24b85cf62a6aab7cfc79383b9f0d1481768f
5b4fe473179b5fadaf59ec96d55b2ec4cb326f65
/src/graph_transpiler/webdnn/backend/webgl/optimize_rules/insert_channel_mode_conversion.py
121a0b3cbf32a9c693a52efa3c3fdef3de9bc1d1
[ "Zlib", "MIT" ]
permissive
TarrySingh/webdnn
13d3f1ec4936916abacfb67e270f48571e2fcff2
b31b19de0798d8ca198b78d19cb06e4fce1bc260
refs/heads/master
2021-05-07T02:24:47.500746
2017-11-13T13:00:24
2017-11-13T13:00:24
110,582,816
0
1
null
2017-11-13T18:03:46
2017-11-13T18:03:46
null
UTF-8
Python
false
false
2,948
py
from typing import Tuple from webdnn.backend.webgl.attributes.channel_mode import ChannelModeEnum, ChannelMode from webdnn.backend.webgl.attributes.texture_shape import TextureShape from webdnn.backend.webgl.operators.convert_r_to_rgba import ConvertRtoRGBA, convert_r_to_rgba from webdnn.backend.webgl.operators.conver...
[ "y.kikura@gmail.com" ]
y.kikura@gmail.com
cb0ecd20b0fdca9b9abf3647279afb77cc77ecbb
318270aeab9182a42482c33167f90b3e6bb8a77b
/Pattern exercise/pattern 8.py
69e53ceffc379c4d66b91586da5711cef2d1d07f
[]
no_license
Raj-kar/Python
b857214392384752855f6ab5d673b0218ce3ecd7
7eab4705eda566827ad01b3285095d253e55a7dc
refs/heads/master
2023-01-21T07:11:03.054162
2020-11-30T08:47:11
2020-11-30T08:47:11
286,132,816
3
11
null
2020-10-13T21:47:31
2020-08-08T23:09:42
Python
UTF-8
Python
false
false
428
py
# * * # ** ** # *** *** # **** **** # ***** ***** # ****** ****** # ************* num = int(input("Enter a range :: ")) symbol = input("Enter a symbol :: ") # user can enter any symbol for print ! num += 1 for i in range(1, num): for j in range(1, (num*2)-2): if j <= i or j >...
[ "rajkar921@gmail.com" ]
rajkar921@gmail.com
cfd6f557a31e4bd3f453e4ab345336c9aedd49ed
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/request/KoubeiMallScanpurchaseDiscountdetailModifyRequest.py
5233478aa7ed053e012b041bd7d35200c1f49d5d
[ "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
4,051
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.KoubeiMallScanpurchaseDiscountdetailModifyModel import KoubeiMallScanpurchaseDiscountdetailModifyModel class KoubeiMallScanpurchaseD...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
0346683d74959bf1bc9cf8400043c01c34de5b01
8200122ad875e73f627f5d1eca29c778167cb5fb
/tests/test_documenter.py
a9b851c1b0a4b51e81f69479b92cd72e904c4922
[ "ISC" ]
permissive
jaimergp/mkdocstrings
bb1a5ad2360f051e17e4af0c854119dcc6b652ac
895c3192cb9328d0800234a8732745ecae840d97
refs/heads/master
2021-02-17T17:47:03.476674
2020-03-04T20:30:36
2020-03-04T20:30:36
245,115,235
1
0
ISC
2020-03-05T09:05:19
2020-03-05T09:05:19
null
UTF-8
Python
false
false
862
py
from mkdocstrings.documenter import Documenter def test_getattr_dunder(): class Base: def __init__(self): pass def __getitem__(self, item): """Written docstring.""" return item class Child(Base): def __init__(self): super().__init__() ...
[ "pawamoy@pm.me" ]
pawamoy@pm.me
28a809f729a9e54614cfc5b64ccef5cd57046d51
5f73d71c47ecac793e2e1a1ce14ca5c24483d45a
/tools/vis_gt_stats.py
a64d6b583c3b35e1c28d921cf1f608683c3aa6c4
[]
no_license
GeeeG/sixd_toolkit
694db642c9f2a179353284dfcf7b16f45722aaae
ec914f3a9d2ced9a5b6d87722f342c6bef1b95b7
refs/heads/master
2021-08-08T13:32:29.018936
2017-11-10T12:10:36
2017-11-10T12:10:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,069
py
# Author: Tomas Hodan (hodantom@cmp.felk.cvut.cz) # Center for Machine Perception, Czech Technical University in Prague # Plots statistics of the ground truth poses. import os import sys import matplotlib.pyplot as plt sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from pysixd import in...
[ "tom.hodan@gmail.com" ]
tom.hodan@gmail.com
0370c67e4ad6a1c9a00ba24860cd52675781253d
616cc6c05f525dd2cb67916601f6ecd2c8242f24
/homework/hw05/problems/client/protocols/collaborate.py
eee5309d70dd21fd0d26006009d80ae2aa9e2c93
[]
no_license
cookieli/cs61a_li
6f1d51aad7cd32fb27f64c855b3803bd2f8d9aad
6ee0df9c64842bde9e30a0484e661abf04212358
refs/heads/master
2020-04-07T14:32:38.337554
2018-03-07T10:18:03
2018-03-07T10:18:03
124,218,933
2
0
null
null
null
null
UTF-8
Python
false
false
14,240
py
from client.protocols.common import models from client.protocols.grading import grade from client.utils import output from client.utils import auth from client.utils.firebase import pyrebase import client import requests import os import sys import shutil import json import logging import urllib.error import urllib....
[ "you@example.com" ]
you@example.com
f760f1df9186ccfbc96386c84461deddfae9e773
d420b5780e26071caa34de8bc0cfcaf431ae4dcd
/testing/test_disjoint_catstrat.py
90d218907624eea220027bd9b546e12261795221
[ "MIT" ]
permissive
parrt/stratx
2a09fdacd6b7a0f9b065feada1ecdfdfa0f0b513
97741afcead00c83dbe7fce37a42c4a4d4890a1c
refs/heads/master
2022-04-30T13:57:50.037114
2022-04-24T16:55:58
2022-04-24T16:55:58
185,261,236
61
14
MIT
2019-10-21T21:14:14
2019-05-06T19:46:39
Jupyter Notebook
UTF-8
Python
false
false
14,278
py
""" MIT License Copyright (c) 2019 Terence Parr Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
[ "parrt@cs.usfca.edu" ]
parrt@cs.usfca.edu
01986fb8b82dfc269f8acfe87fc88ab902ec5cd7
a9868b17ddc5f7f28911c57870e327238a2432d8
/python_Pandas_Numpy/Pandas/Pandas08_05_Oper_최윤종.py
8e68d21c628a7da3d95fdb66df283dc46f2a3a4d
[]
no_license
ChoiYoonJong/DataScience
439568a668307ed0cab0cffb688fd832b10047ab
3cab98eacecd8c1782e6f91b2b7ffa0ecefe4ed1
refs/heads/main
2023-06-07T02:56:08.335411
2021-07-09T13:23:58
2021-07-09T13:23:58
378,833,127
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# coding: utf-8 # In[1]: import pandas as pd # In[2]: scientists = pd.read_csv('../data/scientists.csv') # In[3]: ages = scientists['Age'] print(ages.max()) # In[5]: print(ages + ages) # In[6]: print(ages * ages) # In[7]: print(ages + 100) # In[8]: print(ages * 2) # In[9]: print(pd.Seri...
[ "noreply@github.com" ]
ChoiYoonJong.noreply@github.com
18843cd91a77a4b123c23a31259d14bb5f63f9a9
f83934dd60d4961848c0a86f6d7fbe07b79a1d63
/examples/skybox.py
35338a6b839cf8d1a1925b6a5bd7f559fced491a
[]
no_license
brianholland/glumpy
2a31e2f5fd039d1debb30dd010ad36c458f329cf
a691082385e02db9b1d461847b9e36d8534630fa
refs/heads/master
2020-12-25T21:43:58.743259
2015-11-30T11:04:46
2015-11-30T11:04:46
46,670,630
0
0
null
2015-11-30T11:04:46
2015-11-22T17:10:24
Python
UTF-8
Python
false
false
2,225
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright (c) 2014, Nicolas P. Rougier # Distributed under the (new) BSD License. See LICENSE.txt for more info. # ----------------------------------------------------------------------------...
[ "Nicolas.Rougier@inria.fr" ]
Nicolas.Rougier@inria.fr
29610a74a78bbc0a0b58a407062d860d22fc3808
f65eefd3a4835f5fabcd2000540f352309c79451
/nomos/__init__.py
aed7179c7ef31fcf7e5325ff2e30b79cb450f1d6
[ "Apache-2.0" ]
permissive
whiteclover/Nomos
b3610e5b1e450d96b99d492476ead092887cb48b
13d52f8bc728982496948b0b2a23e1bf60de60c0
refs/heads/master
2018-07-10T16:21:07.312647
2018-06-01T07:11:59
2018-06-01T07:11:59
103,917,940
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
#!/usr/bin/env python # # Copyright 2017 Nomos # # 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 agre...
[ "lyanghwy@gmail.com" ]
lyanghwy@gmail.com
8d14fad12f09747881d57daf744f6a3832bf66d5
f4d0c26d3aa27c77a7c27d9002a08465a0638cbb
/csv_schema/apps.py
cc68a34da948dcfb3886e8505753ddb7fcf4e90f
[]
no_license
uk-gov-mirror/nhsengland.NCDR-reference-library
3afe0711f47dc1b5fa25646bc870a806b3512ce5
cac30ee0787e81fb9868731576c242c7ea3dbde8
refs/heads/master
2023-04-03T15:10:19.320708
2017-11-03T15:03:27
2017-11-03T15:03:27
356,799,453
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class CsvSchemaConfig(AppConfig): name = 'csv_schema'
[ "fredkingham@gmail.com" ]
fredkingham@gmail.com
d41949b29005b96b1b15f022fe7c76b524793263
f5d3d2f2a79b07bf71a0f1bbbb50385f135f5dd3
/jina/peapods/runtimes/base.py
504d65cff495cf7ce2b57c50bf5d6701964b5b87
[ "Apache-2.0" ]
permissive
Rohitpandit021/jina
5ab9be96eebeb6ec1a7cfae78a47e9b71789158e
f3db4d5e480375d8dc3bceda814ac1963dee76d7
refs/heads/master
2023-06-02T14:46:16.445246
2021-06-21T10:18:01
2021-06-21T10:18:01
378,832,389
0
0
Apache-2.0
2021-06-21T10:22:10
2021-06-21T06:42:59
Python
UTF-8
Python
false
false
3,683
py
import argparse from ...logging.logger import JinaLogger class BaseRuntime: """A Jina Runtime is a procedure that blocks the main process once running (i.e. :meth:`run_forever`), therefore must be put into a separated thread/process. Any program/library/package/module that blocks the main process, can be...
[ "rajashree.patil@embold.io" ]
rajashree.patil@embold.io
0b283b8c8bf43055210cd3e22e33b88cdbe61862
e4428f7635a978e3e68f0a94b736c3626f0ea66d
/src/basic/server/server.py
e17e91830e4dfa9c9aceece4d5eb3c8a59fa0211
[]
no_license
rodrigoms2004/pythonWebSocketsNumpy
df297908f796dd5b9c7ff69d82cad3c06b240c46
353af18cc1303dfa0a0f2da7533eb603b7fe6bcb
refs/heads/master
2020-08-04T04:39:28.198215
2019-10-01T04:08:30
2019-10-01T04:08:30
212,009,424
1
0
null
null
null
null
UTF-8
Python
false
false
610
py
#!/usr/bin/env python # WS server example import asyncio import websockets import numpy as np from pickle import dumps, loads async def inverseMatrix(websocket, path): buffer_matrix = await websocket.recv() matrix = loads(buffer_matrix) print("Receiving matrix:\n", matrix) inverse = np.linalg.inv(m...
[ "rodrigoms2004@gmail.com" ]
rodrigoms2004@gmail.com
148085e914624bff502e11b0827994b9858b1877
7d98c95227ff36e7735eaf05857507baa8ecfaff
/myproject/settings.py
2521c71c6540df85adc9b41e75e259df36493067
[]
no_license
KANISHK-VERMA/Blogapp
55876b58f1a5cb9db252571ad0898fb92c1df85a
87e384139c453bff3e1487992449fed2e3e6d045
refs/heads/master
2022-11-11T13:25:57.291910
2020-07-02T17:35:53
2020-07-02T17:35:53
254,918,211
0
0
null
null
null
null
UTF-8
Python
false
false
3,326
py
""" Django settings for myproject project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "you@example.com" ]
you@example.com
3bb3f731ef2c9152d232482fc1e57fa643925b8e
ca59d18e503ef22fbc920c6de48ffc8eac5a1443
/tools/Polygraphy/examples/api/02_using_real_data/example.py
c59a454b5dbe79668694119aaf766617c9d0051b
[ "Apache-2.0", "BSD-3-Clause", "ISC", "BSD-2-Clause", "MIT" ]
permissive
boh-inspur/TensorRT
9fc0ae0ad4e31da040d10728b63d9dc284852b67
e4d2f7f4406f1c8f4632cc67de33728cef90ca29
refs/heads/master
2023-04-13T21:24:13.912673
2021-04-23T09:55:18
2021-04-23T09:55:18
265,431,588
0
0
Apache-2.0
2021-04-23T09:55:19
2020-05-20T02:49:58
null
UTF-8
Python
false
false
2,068
py
#!/usr/bin/env python3 # # Copyright (c) 2021, NVIDIA CORPORATION. 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 # # ...
[ "rajeevsrao@users.noreply.github.com" ]
rajeevsrao@users.noreply.github.com
5bec41631c278d7d249f2265987181c7564e255d
8a936bd3e28c9ec116244df37d3ba5aedd48c9cc
/dashboard/internal/pages/frmcmd4.py
b751b2e3718719d22d233b122acc197ad1d5ed43
[ "Apache-2.0" ]
permissive
AssassinDev422/PHP_Minera
a66bd23610cbcfd43545e5b6a689c2c1b1248814
f507dbcc4b4609990f14995754d54f42dcaaa618
refs/heads/master
2020-03-15T13:16:30.708491
2018-05-04T16:20:05
2018-05-04T16:20:05
132,162,749
0
1
null
null
null
null
UTF-8
Python
false
false
116
py
import os import sys print '<form action="process_order.php?sid=' + sys.argv[1] + '" method="post" role="form">'
[ "saas.exp7@gmail.com" ]
saas.exp7@gmail.com
b4a25d41e9e2a05fc29f834942d9ff3e5a17ecf4
e0bd328b49ac5992316961aa8a1b17bbffa535f9
/gnn/segments.py
0d176ea1619c96c723515ee25b92c8670a54bd87
[ "MIT" ]
permissive
BartoszPiotrowski/ATPboost
2e71e3c98793567c1217f9fb9af99e2d7b644e77
ae65e7b1ad41eea37bf27ad94cb9307c0adb1854
refs/heads/master
2021-05-04T14:50:36.639256
2020-07-02T15:51:40
2020-07-02T15:51:40
120,211,828
3
1
null
null
null
null
UTF-8
Python
false
false
11,983
py
import tensorflow as tf import os tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.FATAL) os.environ['TF_CPP_MIN_VLOG_LEVEL'] = '3' os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import numpy as np from .debug_node import tf_debug from .tf_helpers import * from collections.abc import Iterable # class encapsulating tf...
[ "bartoszpiotrowski@post.pl" ]
bartoszpiotrowski@post.pl
2a897f6362fbdff9b1df3a593a276ff405e2436c
b2e1d96c0551b6b31ef85353f9b6e5b6354d64e8
/datafaucet/spark/data.py
b701af9a518224f407232a2f190558970479dda2
[ "MIT" ]
permissive
SylarCS/datafaucet-1
8bd7b96cecc5592e153b61367892e2a63a96119d
a63074ba1fb1a6d15f06e2bfff05df754aaaa452
refs/heads/master
2020-09-15T06:04:31.999012
2019-11-18T20:00:55
2019-11-18T20:00:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
from pyspark.sql import DataFrame from datafaucet.data import _Data class Data(_Data): def collect(self, n=1000, axis=0): res = self.df.select(self.columns).limit(n).toPandas() return res.T if axis else res def _data(self): return Data(self) DataFrame.data = property(_data)
[ "natalino.busa@gmail.com" ]
natalino.busa@gmail.com
f52739e9263506b2a11cd2811dcdee2f33f93112
d2cc4c74652edcc1e877e47ae549a7a99be70bf8
/DEMscripts/dem_headwall_medial_axis.py
5247e5c6bbbaa3c4253dcb6451f85071606ba29a
[ "MIT" ]
permissive
sun1753814280/rs_data_proc
2bc87812650d394af38e42d6f628e06db425fe53
c815dccc940034ad20bbdefaf2ca478f65db47ee
refs/heads/main
2023-08-25T01:28:19.608056
2021-11-10T18:29:20
2021-11-10T18:29:20
394,591,797
0
0
MIT
2021-08-10T09:12:26
2021-08-10T09:12:25
null
UTF-8
Python
false
false
40,094
py
#!/usr/bin/env python # Filename: dem_headwall_medial_axis.py """ introduction: try to extract headwall based on skimage.morphology.medial_axis authors: Huang Lingcao email:huanglingcao@gmail.com add time: 26 August, 2021 """ import os,sys from optparse import OptionParser import time from skimage import measure f...
[ "huanglingcao@gmail.com" ]
huanglingcao@gmail.com
7c881f192f7bb5eea325cab96de8af8dd74bfdf8
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/classification/Resnet50_Cifar_for_PyTorch/configs/_base_/models/regnet/regnetx_12gf.py
d0b11c71bd70e06fedb1869a0fa5f51e24fc5d1b
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer" ]
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
928
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
8a4a6045331fbe880e465f92ec60997cf8936fb5
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_cabbie.py
6e6ef5a74bd29c23a2f80dd665c5137381783643
[ "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
298
py
#calss header class _CABBIE(): def __init__(self,): self.name = "CABBIE" self.definitions = [u'a driver of a taxi'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.jsondata
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9be3e219222181adcea02d90ac202c71fab57999
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4051/867004051.py
975e246781a36ab16a69e9109f3e1c5a1418a908
[]
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
3,180
py
from bots.botsconfig import * from records004051 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'PT', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BPT', MIN: 1, MAX: 1}, {ID: 'CUR', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
4ca43d2b719997ab42b0ad4b0cd4e19ca724f756
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/storagegateway_write_f/working-storage_add.py
fdffa92a273c0f4515c3752bc83ee18b075b6423
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
e6e142ba00e50a37c2699eb8e541e435194bb656
f09e98bf5de6f6c49df2dbeea93bd09f4b3b902f
/google-cloud-sdk/lib/surface/compute/operations/__init__.py
62bb5791805c19a38a10ac3b652bdc619bac8e65
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Peterfeng100/notepal
75bfaa806e24d85189bd2d09d3cb091944dc97e6
d5ba3fb4a06516fec4a4ae3bd64a9db55f36cfcd
refs/heads/master
2021-07-08T22:57:17.407571
2019-01-22T19:06:01
2019-01-22T19:06:01
166,490,067
4
1
null
2020-07-25T04:37:35
2019-01-19T00:37:04
Python
UTF-8
Python
false
false
1,057
py
# -*- coding: utf-8 -*- # # Copyright 2014 Google Inc. 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 requir...
[ "kevinhk.zhang@mail.utoronto.ca" ]
kevinhk.zhang@mail.utoronto.ca
30e09cae99d89491f961c166bc2f75e473bea427
0809673304fe85a163898983c2cb4a0238b2456e
/src/lesson_algorithms/functools_reduce_short_sequences.py
55bf8b3a815b7250c2e53d854cee96174ee95735
[ "Apache-2.0" ]
permissive
jasonwee/asus-rt-n14uhp-mrtg
244092292c94ff3382f88f6a385dae2aa6e4b1e1
4fa96c3406e32ea6631ce447db6d19d70b2cd061
refs/heads/master
2022-12-13T18:49:02.908213
2018-10-05T02:16:41
2018-10-05T02:16:41
25,589,776
3
1
Apache-2.0
2022-11-27T04:03:06
2014-10-22T15:42:28
Python
UTF-8
Python
false
false
487
py
import functools def do_reduce(a, b): print('do_reduce({}, {})'.format(a, b)) return a + b print('Single item in sequence:', functools.reduce(do_reduce, [1])) print('Single item in sequence with initializer:', functools.reduce(do_reduce, [1], 99)) print('Empty sequence with initializer:', ...
[ "peichieh@gmail.com" ]
peichieh@gmail.com
eb748af2736e8a4cc158f58a4ef86fc66c6f8b14
aa480d8b09dd7ad92c37c816ebcace24a35eb34c
/third-round/540.有序数组中的单一元素.py
98dff56fd19fa1ef3b473daf1bbf5de8db64538d
[]
no_license
SR2k/leetcode
7e701a0e99f9f05b21216f36d2f5ac07a079b97f
de131226159865dcb7b67e49a58d2ddc3f0a82c7
refs/heads/master
2023-03-18T03:37:02.916453
2022-09-16T01:28:13
2022-09-16T01:28:13
182,083,445
0
0
null
2023-03-08T05:44:26
2019-04-18T12:27:12
Python
UTF-8
Python
false
false
1,739
py
# # @lc app=leetcode.cn id=540 lang=python3 # # [540] 有序数组中的单一元素 # # https://leetcode-cn.com/problems/single-element-in-a-sorted-array/description/ # # algorithms # Medium (61.02%) # Likes: 480 # Dislikes: 0 # Total Accepted: 88.8K # Total Submissions: 145.7K # Testcase Example: '[1,1,2,3,3,4,4,8,8]' # # 给你一个仅由整...
[ "luozhou.csy@alibaba-inc.com" ]
luozhou.csy@alibaba-inc.com
d66c544c7a655a84d2c0492fddee34becf974d0a
1e987bd8b8be0dc1c139fa6bf92e8229eb51da27
/util/freefocus/server/flask/flask.py
a41889348901545b057d2d513b7db5ebe3f9a5ae
[]
no_license
tszdanger/phd
c97091b4f1d7712a836f0c8e3c6f819d53bd0dd5
aab7f16bd1f3546f81e349fc6e2325fb17beb851
refs/heads/master
2023-01-01T00:54:20.136122
2020-10-21T18:07:42
2020-10-21T18:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,738
py
#!/usr/bin/env python """Run a REST server.""" import typing from argparse import ArgumentParser from contextlib import contextmanager import flask import flask_cors import sqlalchemy from flask import abort from flask import request from util.freefocus import freefocus from util.freefocus import sql app = flask.Fl...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
77331412b268e9fbf82fdb836edc42208c80e3a2
bc2742cac4347eb8652295a0d4aeb8633eea7c1b
/tests/layers/test_gated_average_layer.py
9b7827828d7f8e22c374d627ce99185f293b49e2
[ "MIT" ]
permissive
temp3rr0r/neupy
933648658cc2a5e85e0fc3955de0a3de65ea97c1
f36071f5f46bf79ffd18485acca941db578656e8
refs/heads/master
2023-05-25T09:55:10.654122
2018-12-17T16:56:30
2018-12-17T16:56:30
163,117,180
0
0
MIT
2023-05-22T21:44:38
2018-12-25T23:24:17
Python
UTF-8
Python
false
false
5,202
py
import numpy as np from neupy import layers from neupy.utils import asfloat from neupy.exceptions import LayerConnectionError from base import BaseTestCase class GatedAverageTestCase(BaseTestCase): def test_gated_average_layer_negative_index(self): gated_avg_layer = layers.GatedAverage(gating_layer_inde...
[ "mail@itdxer.com" ]
mail@itdxer.com
6329de61ee60371c8076e5ae6630d63412935d5a
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_106/ch60_2020_05_05_08_13_18_583778.py
43482c80ca128e108aa30532e4ae4edf9f5a01b4
[]
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
192
py
def eh_palindromo(string): new=[] for i in string: new.append(i) new.reverse() news=''.join(new) if news==string: return True else: return False
[ "you@example.com" ]
you@example.com
d98a36fe8eefb7fd90bd8d44aeabd6b7876417a2
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/1/test_20200606181205.py
39015065b66f8a71c94844dc817ec7ffaed21592
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
72
py
people = ["Влад", "Яромир"] for name in people print(people)
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
69540f2a46c06f8779897219544ba72f26af92e3
bbf874cf4abb20e7ec5c66e808e97ae6f2043c3f
/0x01-python-if_else_loops_functions/1-last_digit.py
b40981bd458d6316d7bf311194b37fbc97f191f0
[]
no_license
imperfectskillz/holbertonschool-higher_level_programming
105fd80c2bea8fbb60eb786ce9019b3f63188342
704e99b29125d6449db32b9d52ede443318df620
refs/heads/master
2021-09-14T10:44:22.551896
2018-05-12T03:38:59
2018-05-12T03:38:59
113,130,980
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
#!/usr/bin/python3 import random number = random.randint(-10000, 10000) if number >= 0: last = number % 10 if last == 0: print("Last digit of {} is {} and is 0".format(number, last)) elif last < 6: print("last digit of {} is {} and is less than 6 and not 0".format(number, last)) elif las...
[ "j.choi.89@gmail.com" ]
j.choi.89@gmail.com
629f048bdb22a01508441f0c624ddca24a37e392
bcca6c84d7fd2cbb782b38c68425b24a2dedeaee
/tests/chainsync/test_chainsync_adapter.py
854d25620dc372d8124deb67d56a268041972a18
[ "MIT" ]
permissive
dpays/chainsync
8ba3f057e889f6b3b7d6405cbea1bf350493164a
1277363787e37aa595571ab8a789831aadf0d3e6
refs/heads/master
2020-03-28T12:05:39.448076
2018-06-15T04:16:56
2018-06-15T04:16:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,937
py
from chainsync import ChainSync from chainsync.adapters.steem import SteemAdapter import unittest class ChainSyncAdapterTestCase(unittest.TestCase): def setUp(self): self.chainsync = ChainSync(adapter=SteemAdapter) def test_adapter_init_default_adapter(self): self.assertNotEqual(self.chainsy...
[ "aaron.cox@greymass.com" ]
aaron.cox@greymass.com
2e47504f5f032988f0852462405fce0dfe5432fc
0130c8b14927097663157846adc4b146d67d2fda
/tests/common/test_run/reduce_min_run.py
e46d731933bfc91f2158e842557a774c331fd039
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-3-Clause", "NCSA", "LLVM-exception", "Zlib", "BSD-2-Clause", "MIT" ]
permissive
Shigangli/akg
e8be3e0ee1eafe3e42b4cc4d424c28f08ef4c0bc
3766c54e0b109541932d147a6b5643a334b82403
refs/heads/master
2023-09-06T05:13:40.571583
2021-11-23T03:44:54
2021-11-23T03:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,453
py
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "1027252281@qq.com" ]
1027252281@qq.com
71f3d25a4e999716de853943d0178735c0406b4c
6b1b506139088aa30de9fd65cff9e3b6a3a36874
/sofia_redux/toolkit/splines/spline.py
69fdd56907113a61dddfbedbe4fe3afdc16bce09
[ "BSD-3-Clause" ]
permissive
SOFIA-USRA/sofia_redux
df2e6ad402b50eb014b574ea561734334d70f84d
493700340cd34d5f319af6f3a562a82135bb30dd
refs/heads/main
2023-08-17T11:11:50.559987
2023-08-13T19:52:37
2023-08-13T19:52:37
311,773,000
12
2
null
null
null
null
UTF-8
Python
false
false
42,195
py
import itertools import numpy as np from sofia_redux.toolkit.splines.spline_utils import ( flat_index_mapping, build_observation, find_knots, create_ordering, solve_observation, add_knot, knot_fit, calculate_minimum_bandwidth, check_input_arrays, determine_smoothing_spline, perform_fit) __all__ = ['Sp...
[ "mclarke@sofia.usra.edu" ]
mclarke@sofia.usra.edu
1aa9df92148ee3c66a03c148fee3e222dc4f2641
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_240/ch152_2020_04_13_19_48_06_345499.py
e688570e1002fdff7ff6b90dde697c99074708c1
[]
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
47
py
def verifica_preco(l, d, t): return t[d[l]]
[ "you@example.com" ]
you@example.com
275470b552dbd57a9f1a0a80b53b397c66d110f4
88bd9a59edb18ecc51b3c0939cd96fb5baebf18d
/tests/test_linkedlist.py
777e69c1866af79b65e9f2b806460f6737d2df3c
[]
no_license
LennyBoyatzis/compsci
244d540485155d5846a93a84399d18097925468e
9c1ca2288090ad7c1c7151202bb28990760b1997
refs/heads/master
2022-07-20T22:25:42.549428
2019-09-05T05:26:18
2019-09-05T05:26:18
91,846,937
0
0
null
2022-06-21T21:45:37
2017-05-19T21:31:42
Python
UTF-8
Python
false
false
305
py
from datastructures.linkedlist import SingleLinkedList def test_single_linked_list_init(): linked_list = SingleLinkedList() assert linked_list.head is None def test_push_front_method(): linked_list = SingleLinkedList() linked_list.push_front(7) assert linked_list.head is not None
[ "lennyboyatzis@gmail.com" ]
lennyboyatzis@gmail.com
8beaeecef14307357208d23d9892986cb71a2f27
93ceca6312bbbee196d57df3a6634bd66800bd26
/hgsc_vcf/io.py
bc241057fc45947ee6620d435b769723830ab730
[]
no_license
OpenGenomics/muse-tool
a9c058bddce466a6af64447a7fbdfc68a593f7c0
cd59173c8e69c2a4f073ac2f1e07402835400b85
refs/heads/master
2021-01-24T05:25:28.170881
2019-09-23T07:50:54
2019-09-23T07:50:54
59,329,634
1
5
null
2018-02-10T17:53:16
2016-05-20T22:17:03
Python
UTF-8
Python
false
false
4,494
py
import csv from hgsc_vcf.metainfo import * from collections import * class Reader(object): def __init__(self, fobj): self.fobj = fobj self.header = VCFHeader() self.header.load(self.fobj) self._next = None @staticmethod def parse_info_field(info): infos = info....
[ "kellrott@gmail.com" ]
kellrott@gmail.com
dbdbac578d96de37dc813bbbeee84b1773aabd04
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Anscombe/trend_Lag1Trend/cycle_30/ar_/test_artificial_128_Anscombe_Lag1Trend_30__100.py
5582c252a3315ff23753b7b0b1494b978e138ecb
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
270
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 30, transform = "Anscombe", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
22857c0d3ef535f2ee9b813146680f4fb73bde70
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/11/usersdata/64/5178/submittedfiles/jogo.py
5dd413f8c66a659270296c78990142bc4fae2baa
[]
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
689
py
# -*- coding: utf-8 -*- from __future__ import division import math Cv = input('Digite o número de vitótias do Cormengo: ') Ce = input('Digite o número de empates do Cormengo: ') Cs = input('Digite o saldo de gols: ') Fv = input('Digite o número de vitótias do Flaminthians: ') Fe = input('Digite o número de empates do...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8a552617657674743ae61f13d460d8618ba37d1e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_frenzy.py
5638f60ebd7f097df0883fb40ad7ee40d162e391
[ "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
369
py
#calss header class _FRENZY(): def __init__(self,): self.name = "FRENZY" self.definitions = [u'(an example of) uncontrolled and excited behaviour or emotion that is sometimes violent: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(sel...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
173535ac75a264211a5a21d5ad8aa98a968678e0
e2a9c92dc7a4b2e73f2bcc1a2d507b591b75f814
/Many-Tricks-for-ImageCalssification/model/__init__.py
abb0584a4cdb1e1724c348121213c2b82920356c
[]
no_license
ForrestPi/Tricks
f5f74f47e6e6ec24a5a544837eba35c5ce8e773e
d874318d4662c0192bcd147e1aad1e92cd3ea8b6
refs/heads/master
2022-12-08T18:06:24.390238
2020-10-20T04:01:04
2020-10-20T04:01:04
220,658,244
4
2
null
2022-12-08T03:44:45
2019-11-09T14:59:23
Jupyter Notebook
UTF-8
Python
false
false
580
py
# -*- encoding: utf-8 -*- ''' @File : __init__.py.py @Contact : whut.hexin@foxmail.com @License : (C)Copyright 2017-2018, HeXin @Modify Time @Author @Version @Desciption ------------ ------- -------- ----------- 2020/2/21 10:18 xin 1.0 None ''' from .baseline import B...
[ "forrest_zhu@foxmail.com" ]
forrest_zhu@foxmail.com
68551acd8cab934463307fbf762962f323034d23
b4e072d0759775836155ae97e06f6d1f0fce7500
/dasss/__init__.py
7722037351c57feb8d85a4b22e638d7da7153ed5
[]
no_license
David-Hakobyan1/_different
99abdfd62db8224dcc1a944537f43e3d83d34921
7c57f626cac7acfb2666d28f1a623ed60f8020d4
refs/heads/master
2023-06-18T00:27:18.745467
2021-07-19T09:01:52
2021-07-19T09:01:52
387,401,624
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
import os from flask import Flask from flask_sqalchemy import SQLAlchemy from flask_migrate import Migrate from flask_login import LoginManager login_manager = LoginManager() app = Flask(__name__) app.config['SECRET_KEY']='fhuiefh236374623ewhfwwhfeu' basedir = os.path.abspath(os.path.dirname(__file__)) app.config['SQL...
[ "my@mail.ru" ]
my@mail.ru
ab583ceecd8854228670358e21d0f10d0cbf031d
114b61513733083555924fc8ab347335e10471ae
/stackone/stackone/model/LDAPGroupManager.py
0a863ce54ec5c114a96c1a39e5db5fec2260546d
[]
no_license
smarkm/ovm
6e3bea19816affdf919cbd0aa81688e6c56e7565
cd30ad5926f933e6723805d380e57c638ee46bac
refs/heads/master
2021-01-21T04:04:28.637901
2015-08-31T03:05:03
2015-08-31T03:05:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,081
py
from stackone.core.utils.utils import to_unicode, to_str, get_ldap_module import tg import logging LOGGER = logging.getLogger('stackone.model') from pprint import pprint LDAP_Groups_Dict = {} class LDAPBaseGroup(): def __init__(self): self.ldap = get_ldap_module() self.SCOPE_BASE = self.ldap.SCOPE_B...
[ "18614072558@163.com" ]
18614072558@163.com