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
115a5f4de9b5a815764712b22925f2dff071cb0c
acef5161a1eeb107b116f9763114bb9f77d701b4
/pytorch/深度学习之PyTorch入门/廖星宇教程/14_googlenet.py
92ed042f6f1974bc2acbf433b857c3b0917fb789
[]
no_license
lingxiao00/PyTorch_Tutorials
aadb68582edbaa093ab200724c670b36763156b7
285bcfb0c60860e47343485daeb54947cd715f97
refs/heads/master
2021-10-20T16:56:21.275740
2019-03-01T02:46:42
2019-03-01T02:46:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,188
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2018-12-25 09:07:53 # @Author : cdl (1217096231@qq.com) # @Link : https://github.com/cdlwhm1217096231/python3_spider # @Version : $Id$ import torch import torchvision import torch.nn.functional as F from torch.autograd import Variable from torchvision.data...
[ "1217096231@qq.com" ]
1217096231@qq.com
1d32e1151eba68baf6a8345f309bbe74e4e2f45e
3cb59da879c7865dd6ddb246b7ea92d5a71cb838
/documentation/book/src/conf.py
da1eca7ba63789d464e1cc8f1721a2ecc13e5f7b
[]
no_license
iNarcissuss/Cuckoodroid-1
9110be112f45327ffe8a74b2216fe8ad6a153485
0170c52aa9536ffc5b8391190dec892c9bd7ba0b
refs/heads/master
2020-04-07T08:53:28.011215
2018-06-17T22:25:29
2018-06-17T22:30:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,078
py
# -*- coding: utf-8 -*- # # Cuckoo Sandbox documentation build configuration file. # # 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 are...
[ "upgautam@ualr.edu" ]
upgautam@ualr.edu
9e204b2a44c4a6faeafac15f08663c30bceeb24e
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/prb_control/entities/random/squad/actions_handler.py
5f596563a646d6a33336b7a766a43818fd80f3e2
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,310
py
# 2017.02.03 21:48:45 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/prb_control/entities/random/squad/actions_handler.py from CurrentVehicle import g_currentVehicle from constants import MIN_VEHICLE_LEVEL, MAX_VEHICLE_LEVEL from gui import DialogsInterface from gui.Scaleform.daapi.view.dialogs imp...
[ "info@webium.sk" ]
info@webium.sk
94f99e7b82a5ec22f9c330c1c3424c80ddffd340
68cf7c25bb614883c50d21e5051fbea8dbf18ccb
/ecommercejockey/premier/migrations/0004_premiermanufacturer_is_relevant.py
7fffb9a4c92c2468f267399e76f0273e040662dc
[ "MIT" ]
permissive
anniethiessen/ecommerce-jockey
63bf5af6212a46742dee98d816d0bc2cdb411708
9268b72553845a4650cdfe7c88b398db3cf92258
refs/heads/master
2022-12-14T02:29:25.140796
2021-05-15T01:20:30
2021-05-15T01:20:30
211,400,595
1
1
MIT
2022-12-08T06:45:40
2019-09-27T20:57:19
Python
UTF-8
Python
false
false
420
py
# Generated by Django 2.2.5 on 2019-10-24 21:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('premier', '0003_premierproduct_vendor_part_number'), ] operations = [ migrations.AddField( model_name='premiermanufacturer', ...
[ "anniethiessen79@gmail.com" ]
anniethiessen79@gmail.com
91ee91326e2c26dfbfda3d24dd84086ee64b226b
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories/124701/kaggle-bike-sharing-demand-master/support_vector_regression.py
759c9ec148be5704e863f8be68bcb9bf1a95db7a
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
2,644
py
# Kaggle Bike Sharing Demand # Joey L. Maalouf # Approach: Support Vector Regression # -- import any necessary modules ---------------------------------------------- import csv from sklearn.svm import SVR # from sklearn.grid_search import GridSearchCV # -- define our functions ---------------------------------------...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
6b6a068af11269018cfc37811340df981f155484
760c354ab910fb9ad5f1ea44221e1dc724f1108b
/tests/test_extrusion_stiffness.py
8b49218dfee3067009ce6ae4e0e2c5320fc400a6
[ "MIT" ]
permissive
yijiangh/assembly_instances
dabeafc7c5fc8b8b2b9ce7003ab493ad0f421db8
b97a4924d9998b64815c692cada85f4f595e023f
refs/heads/master
2021-06-13T13:27:27.579912
2020-01-30T02:40:51
2020-01-30T02:40:51
174,738,145
3
0
null
null
null
null
UTF-8
Python
false
false
2,286
py
import os import pytest import numpy as np from pyconmech import StiffnessChecker @pytest.fixture def stiffness_tol(): trans_tol = 0.0015 rot_tol = 5 * np.pi / 180 return trans_tol, rot_tol @pytest.fixture def known_failure(): return ['klein_bottle_trail.json', 'rotated_dented_cube.json'] def create_...
[ "yijiangh@mit.edu" ]
yijiangh@mit.edu
5b641a6aa3fe121f56f85194dd5c3617d7814729
e2220b78a968d8bff21061bdf67b027d933bb2be
/rentoMojo/rentoMojo/asgi.py
5399867dc8911d3da9c3bd8daa85d9e095910552
[]
no_license
amannvl/rentoMojo
eab2ed103ed32e9e81424093571019160d9c49c0
0f4f0076f00ccd7178f42dee0081ee0d58027874
refs/heads/master
2023-03-08T10:24:44.339962
2021-02-20T09:48:30
2021-02-20T09:48:30
340,601,344
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" ASGI config for rentoMojo project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SET...
[ "Your-Email" ]
Your-Email
d7eaedaf350f3b86d019a17c881535f17a757277
7b1de4a2607e3125b719c499a05bf6e2d3ec532d
/design_patterns/Command/ex2/actions.py
12e98f5164f5d62f49fffacf1ac797ab96234447
[]
no_license
ganqzz/sandbox_py
61345ac7bddb09081e02decb78507daa3030c1e8
cc9e1ecca2ca99f350a3e2c3f51bbdb5eabc60e1
refs/heads/master
2022-12-01T21:54:38.461718
2021-09-04T03:47:14
2021-09-04T03:47:14
125,375,767
0
1
null
2023-04-16T00:55:51
2018-03-15T14:00:47
Python
UTF-8
Python
false
false
599
py
# Receiver classes class Appliance(object): def __init__(self, name): self._name = name def on(self): print('%s has been turned on.' % self._name) def off(self): print('%s has been turned off.' % self._name) class Door(object): def __init__(self, name): self.name = ...
[ "ganqzz@users.noreply.github.com" ]
ganqzz@users.noreply.github.com
41a9e2c99011225acf96d6969a1bfc6ac8265ef4
837c1bd7e021f071fbee78e2e4c7c27695ff62db
/meiduo_lianxi/apps/areas/migrations/0001_initial.py
9296f6f3a0d7380538a93604e5129fed0e6b4aa4
[ "MIT" ]
permissive
Wang-TaoTao/lianxiku
0ae87b3db98e9f869a2a9901c24da80ccb63fe6f
0f58b6859b4dcd4e81d8f7c4f67be68f245811cc
refs/heads/master
2020-07-06T01:21:59.869064
2019-09-16T16:05:24
2019-09-16T16:05:24
202,844,338
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-08-23 09:00 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
47f5d95e1f02be15883f5396f1c1136658fc91af
8660f77e77948f7646e2f0e4e46b46c0c7b318c5
/examples/ps-simulator.py
1e61d5fc5c05526a910c34ea8942a6492baf3424
[]
no_license
ajoubertza/icalepcs-workshop
b6c227c4e6f79181222c40a9c505d3c41a8d068f
06ff925fe4724a71c17bbd193e3387884a919e51
refs/heads/gh-pages
2020-08-03T09:28:09.959380
2019-10-06T01:04:06
2019-10-06T01:04:06
211,702,036
1
1
null
2019-10-05T16:28:27
2019-09-29T17:45:48
HTML
UTF-8
Python
false
false
3,665
py
#!/usr/bin/env python3 import time import random import logging import gevent.server DEFAULT_BIND = '' DEFAULT_PORT = 45000 class Attr: def __init__(self, *, initial_value=0., encode=lambda x: bytes(str(x), 'ascii'), decode=float): self.value = initial_value self...
[ "coutinhotiago@gmail.com" ]
coutinhotiago@gmail.com
4672862d3327093a2d281b7b1a5b7c8ee31255f7
fafbddf21e669a20e3329d85f8edb06fb03d5a82
/wp2txt2json_run.py
fd6589378173f0054d69a1acae25e2572e872c3d
[]
no_license
quesada/runs-gensim
07e188ca971d9734989c1981f297f00d7813eedc
aae75cc3188b99bd571fe7bbef008ac94bf3918a
refs/heads/master
2020-06-05T00:46:10.856429
2011-09-01T19:14:35
2011-09-01T19:14:35
1,306,724
0
1
null
null
null
null
UTF-8
Python
false
false
2,042
py
#!/usr/bin/env python # encoding: utf-8 """ wp2txt2json.py Created by Stephan Gabler on 2011-06-09. Copyright (c) 2011 __MyCompanyName__. All rights reserved. """ from os import path import codecs import glob import json import os import re import sys import time import tools def main(param_file=None): # setup...
[ "stephan.gabler@gmail.com" ]
stephan.gabler@gmail.com
4279424d2d636b5183bcdaca92e5e30219f6fbc4
0a9949a7dbe5f7d70028b22779b3821c62eb6510
/static/rice/tools.py
542ed77243cfdf7ef84167c7dd93f31ce1e57930
[]
no_license
744996162/warehouse
ed34f251addb9438a783945b6eed5eabe18ef5a2
3efd299a59a0703a1a092c58a6f7dc2564b92e4d
refs/heads/master
2020-06-04T22:10:14.727156
2015-07-03T09:40:09
2015-07-03T09:40:09
35,603,929
0
0
null
null
null
null
UTF-8
Python
false
false
5,322
py
#ecoding=utf-8 __author__ = 'Administrator' import os import xlwt import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.application import MIMEApplication import datetime from email.mime.image import MIMEImage # import sys # reload(sys) # sys.setdefaultencod...
[ "744996162@qq.com" ]
744996162@qq.com
7d35d105cdd8d6255538d78fb8262fabfedcd14f
1e17cce2124d772871eaa7086a37e98b5af14adf
/Alphabets/Q.py
59937c56bc6e491340c16d5360de8e91efd68e2d
[]
no_license
venukumarbv/PythonPatternPrinting
b5e62e23ac2e9d929a74f5b58a42116f27163889
3318907b8e930ada6e367cc04a0b6e314666ec24
refs/heads/master
2022-12-23T02:02:18.793081
2020-07-03T07:21:23
2020-07-03T07:21:23
276,833,884
0
1
null
2020-09-30T19:44:18
2020-07-03T07:14:53
Python
UTF-8
Python
false
false
508
py
''' * * * * * * * * * * * * * * * * * * * ''' for row in range(7): for col in range(5): if row in {0, 6} and col in {1, 2, 3}: print('*', end=' ') elif row in range(1,6) and col in {0, 4}: print('*', end=' ') elif (row == 4 and col == 2) ...
[ "VKvision@venu.com" ]
VKvision@venu.com
6f349d3c153769bb6bfa800268372e30579abeb6
a82aa8430e32eaf62df0f44b20afb0e7d50c3d7b
/ippon/tournament/seralizers.py
8c29e4688e49aed3e000d0f5c7bfc44a4784bbeb
[ "MIT" ]
permissive
morynicz/ippon_back
314daac99f79247b749dc46d59a645a6eb840263
dce901bfc649c6f8efbbf0907654e0860606b3e3
refs/heads/master
2022-12-20T23:33:10.898738
2021-10-17T09:25:39
2021-10-17T09:25:39
124,851,931
0
2
MIT
2022-12-08T12:37:26
2018-03-12T07:43:17
Python
UTF-8
Python
false
false
3,502
py
from django.contrib.auth.models import User from rest_framework import serializers from rest_framework.exceptions import ValidationError import ippon.models.player as plm import ippon.models.tournament as tm import ippon.player.serializers as pls class TournamentParticipationSerializer(serializers.ModelSerializer): ...
[ "morynicz@gmail.com" ]
morynicz@gmail.com
a62739539e974b10b70d26d979a69301251dca72
c49590eb7f01df37c8ec5fef00d0ffc7250fa321
/test/test_res_mtf_order_cancel.py
b4faf84610f01187cc9e405cac99e3cb98b887c9
[]
no_license
harshad5498/ks-orderapi-python
373a4b85a56ff97e2367eebd076f67f972e92f51
237da6fc3297c02e85f0fff1a34857aaa4c1d295
refs/heads/master
2022-12-09T19:55:21.938764
2020-09-03T05:22:51
2020-09-03T05:22:51
293,533,651
0
0
null
2020-09-07T13:19:25
2020-09-07T13:19:24
null
UTF-8
Python
false
false
1,481
py
# coding: utf-8 """ KS Trade API's No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unitte...
[ "thebhushanp@gmail.com" ]
thebhushanp@gmail.com
62605144fd6035421844ef44be1d02b01acb69ce
2fe58e7f6bfc3efdb78ca56f72a4e2a75a24c270
/eric/eric6/E5Gui/E5Led.py
4571e0736687cac051cfd8c678a3d5649eb747e9
[]
no_license
testerclub/eric6-20.3
3053e0e6962060b213f5df329ee331a4893d18e6
bba0b9f13fa3eb84938422732d751219bc3e29e2
refs/heads/master
2023-03-18T08:24:03.472297
2020-03-14T06:44:14
2020-03-14T06:44:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,710
py
# -*- coding: utf-8 -*- # Copyright (c) 2006 - 2020 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing a LED widget. It was inspired by KLed. """ from PyQt5.QtCore import pyqtSignal, Qt, QSize, QPoint from PyQt5.QtGui import QColor, QRadialGradient, QPalette, QPainter, QBrush from PyQt5.QtWidget...
[ "skeptycal@gmail.com" ]
skeptycal@gmail.com
5ffe3a1f93e81e9e2774504dd769dcc13ce6537b
c0c533728e049d41206282bb929bf66aedc1d154
/apps/application/migrations/0011_auto_20180516_0149.py
9ce644b45d34365c8c220b0648d3c407cf6e19b2
[]
no_license
nolan1299/madras
5df425a7796fae71f3c9d6763a06aa08145d50e0
489f6279160622e72fcaf8654ec0c1bed7413fe8
refs/heads/master
2020-03-17T16:30:34.728894
2018-05-25T18:02:13
2018-05-25T18:02:13
133,751,296
0
0
null
2018-05-17T03:03:48
2018-05-17T03:03:48
null
UTF-8
Python
false
false
832
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2018-05-16 01:49 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('application', '0010_resume'), ...
[ "jreinstra@gmail.com" ]
jreinstra@gmail.com
6f8b879786c5c0c3dc31c1641bfe4a723a5afa62
b2cce36e9f7dba3f393ce5a177cd4d03eced094a
/PageObject/me/CollectSwipeDellPage.py
f4c7122b39fce18cf1115b05b2baee5de90966a1
[]
no_license
tachibana814/appium
180192ba0727f4ab0cdfaec54f332ce603e203b4
1f8945f8fa2057a46f2291d03de152af2566ad55
refs/heads/master
2021-08-22T22:34:26.056831
2017-12-01T13:47:57
2017-12-01T13:47:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,383
py
from Base.BaseStatistics import countSum, countInfo from Base.BaseYaml import getYam from Base.BaseOperate import OperateElement from Base.BaseElementEnmu import Element as be import re class CollectSwipeDelPage: ''' 滑动删除收藏 isOperate: 操作失败,检查点就失败,kwargs: WebDriver driver, String path(yaml配置参数) ''' ...
[ "284772894@qq.com" ]
284772894@qq.com
ffdf703a0923d7b64e0319499dffc354cf526805
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Scripts/pyinstaller/build/lib/PyInstaller/hooks/hook-dynaconf.py
d8b99ecb1e4dab7a0cca50558645cd76d92825ed
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:837c53561512a82c5654188db01cd8d6fbe3b2a9eb1608240134ac0b77dda545 size 886
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
2f1a8a7c8912e0d47a5e9ad908e93778deb29aa0
6b7ae49d83c51c298f1ed4e5a8324db7ee393f06
/rms/urls.py
9c10cde55095b8e9e47bb26c15768b2c486c9e7b
[]
no_license
MoTechStore/ma
6837596be92532f613e4b8f2bd91cbcf6daa103d
21a4c63f66681e2b919c8bfcfe3acf12de385205
refs/heads/main
2023-08-22T01:49:22.739313
2021-10-05T10:03:25
2021-10-05T10:03:25
411,613,640
0
0
null
null
null
null
UTF-8
Python
false
false
2,502
py
from django.urls import include, path from . import views from django.contrib import admin from django.contrib.auth import views as auth_views urlpatterns = [ path('', views.ma, name='ma'), path('engine/', views.ai_search, name='engine'), path('rms/', views.index, name='rms'), path('report/', views.dow...
[ "mosesnoel02@gmail.com" ]
mosesnoel02@gmail.com
cd4554e2cfdb845fb82245f7c366f0dfe311f709
3506d8c9a8391be52d24cff54f27537a92a7228c
/HackerRank/Implementation/Picking_Numbers.py
8120850a099a18dbfc581f4ef6b163926e96aed7
[]
no_license
saumya-singh/CodeLab
04ef2c61c516c417c03c6a510e8b5e6e498fbe5d
9371f0d6bd45e5592dae25b50f0d04ba45ae67cf
refs/heads/master
2021-09-12T05:01:17.491312
2018-04-14T19:48:40
2018-04-14T19:48:40
81,596,628
1
0
null
null
null
null
UTF-8
Python
false
false
970
py
#!/bin/python3 #https://www.hackerrank.com/challenges/picking-numbers/problem def pickingNumbers(n, a): dictionary = {} for element in a: value = dictionary.get(element, "None") if value == "None": dictionary[element] = 1 else: dictionary[element] = int(value) +...
[ "saumya.singh0993@gmail.com" ]
saumya.singh0993@gmail.com
d3c4ff20dda9054f73a27d12749f649b646cc97c
0791b310393b0a88ae03e05593abf921e1920951
/resourses/convertui.py
5653855d28da8e3db4670c41f89c569103ed4a0c
[ "MIT" ]
permissive
sashgorokhov-heaven/python-vkontakte-music-gui-old
482ae8f84e43abbc1137f920fe445a67d81522a3
b57d80686d404292a35d9055ba43b0da0e5aaab2
refs/heads/master
2021-06-01T04:30:05.525614
2014-06-24T16:42:08
2014-06-24T16:42:08
20,318,424
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
__author__ = 'sashgorokhov' __email__ = 'sashgorokhov@gmail.com' import os, time os.startfile('convertui.cmd') files = [ r'..\modules\forms\downloadform\ui.py', r'..\modules\forms\mainform\ui.py', r'..\modules\forms\mainform\components\audiolist\components\audiolistitemwidget\ui.py', r'..\modules\form...
[ "sashgorokhov@gmail.com" ]
sashgorokhov@gmail.com
facebbe13610d58711da7060347d0e724d170152
4427916fafe69a32626cb5d8c02bc55c7c87f642
/FortyTwo/plugin.py
df71696ddb0010cbf8d1a2244f0c02d37bdc3f81
[]
no_license
ki113d/Supybot-plugins
13f91f2fe0c01c9769a562e3d480d4f0e7fa8739
0d6b4447004b822acbe41fd7075cc85d8476a289
refs/heads/master
2021-04-15T07:57:27.272322
2012-12-30T21:35:56
2012-12-30T21:35:56
4,077,461
1
0
null
null
null
null
UTF-8
Python
false
false
5,562
py
### # Copyright (c) 2011, Valentin Lorentz # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditi...
[ "progval@gmail.com" ]
progval@gmail.com
39f23942de022147dd5876c2b5e9383005d57383
bb970bbe151d7ac48d090d86fe1f02c6ed546f25
/arouse/_dj/utils/_os.py
4f586b4c0305d41a7a7a672366300d62577ff519
[ "Python-2.0", "BSD-3-Clause" ]
permissive
thektulu/arouse
95016b4028c2b8e9b35c5062a175ad04286703b6
97cadf9d17c14adf919660ab19771a17adc6bcea
refs/heads/master
2021-01-13T12:51:15.888494
2017-01-09T21:43:32
2017-01-09T21:43:32
78,466,406
0
0
null
null
null
null
UTF-8
Python
false
false
3,593
py
from __future__ import unicode_literals import os import sys import tempfile from os.path import abspath, dirname, isabs, join, normcase, normpath, sep from arouse._dj.core.exceptions import SuspiciousFileOperation from arouse._dj.utils import six from arouse._dj.utils.encoding import force_text if six.PY2: fs_e...
[ "michal.s.zukowski@gmail.com" ]
michal.s.zukowski@gmail.com
7ea6777f121d25cecdd3df4ad37bc8958faa33f6
f82349a5d9cb285ced7c52db1ce95c65f5fd0cf0
/mars/tensor/execution/optimizes/ne.py
34e7ee8d39dbabd98b8b5eb609277840c853c493
[ "MIT", "BSD-3-Clause", "OFL-1.1", "LicenseRef-scancode-unknown-license-reference", "Python-2.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
pingrunhuang/mars
8d2602356b6f4d9eb7c6dfe4b2c4536b4bdfc229
ae920c374e9844d7426d0cc09c0d97059dc5341c
refs/heads/master
2020-04-17T03:42:11.147774
2019-01-18T06:49:29
2019-01-18T06:49:29
166,196,676
0
0
Apache-2.0
2019-01-17T09:17:25
2019-01-17T09:17:25
null
UTF-8
Python
false
false
4,936
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 1999-2018 Alibaba Group Holding 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-...
[ "xuye.qin@alibaba-inc.com" ]
xuye.qin@alibaba-inc.com
84246ba2dc3ebc23ea5633a69655136b4e07164e
2ada0217e09e02c6d1ab1af6c12c1262eb66ea06
/NTWebsite/migrations/0033_auto_20190518_1729.py
73af9010eb07ba2cb93c8ef71bfd283d8ac97d07
[]
no_license
lianglianggou/Django-Python-NagetiveWeb-Beta
74545d2f19d7a65b974e7b88c06cbe1bae450568
e19175d14541debf59d6ea1223fef54727bd2150
refs/heads/master
2021-01-07T00:43:16.696519
2019-12-12T14:02:13
2019-12-12T14:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
# Generated by Django 2.0.6 on 2019-05-18 09:29 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('NTWebsite', '0032_auto_20190518_1714'), ] operations = [ migrations.AlterField( model_name='com...
[ "616604060@qq.com" ]
616604060@qq.com
53df6c2ebd3e371dd21d207caaa24b7293593289
fa7e75212e9f536eed7a78237a5fa9a4021a206b
/python/smqtk/tests/representation/DataElement/test_DataElement_abstract.py
80492106247f0fbfc59c332c3d5f27c062eb74f8
[]
no_license
kod3r/SMQTK
3d40730c956220a3d9bb02aef65edc8493bbf527
c128e8ca38c679ee37901551f4cc021cc43d00e6
refs/heads/master
2020-12-03T09:12:41.163643
2015-10-19T14:56:55
2015-10-19T14:56:55
44,916,678
1
0
null
2015-10-25T15:47:35
2015-10-25T15:47:35
null
UTF-8
Python
false
false
8,164
py
""" Tests for DataElement abstract interface class methods that provide functionality. """ import hashlib import mock import nose.tools as ntools import os.path as osp import tempfile import unittest import smqtk.representation.data_element __author__ = "paul.tunison@kitware.com" # because this has a stable mimety...
[ "paul.tunison@kitware.com" ]
paul.tunison@kitware.com
e1361bf2b8bd4dd6a0afeb1667b5967a9269d8a3
159d4ae61f4ca91d94e29e769697ff46d11ae4a4
/venv/lib/python3.9/site-packages/jedi/third_party/django-stubs/django-stubs/utils/datastructures.pyi
7b5f7b2d182a86676ef63a639789ad5293c52f11
[ "MIT" ]
permissive
davidycliao/bisCrawler
729db002afe10ae405306b9eed45b782e68eace8
f42281f35b866b52e5860b6a062790ae8147a4a4
refs/heads/main
2023-05-24T00:41:50.224279
2023-01-22T23:17:51
2023-01-22T23:17:51
411,470,732
8
0
MIT
2023-02-09T16:28:24
2021-09-28T23:48:13
Python
UTF-8
Python
false
false
2,624
pyi
from typing import ( Any, Callable, Dict, Iterable, List, Mapping, MutableMapping, MutableSet, Tuple, TypeVar, Union, overload, Iterator, Optional, ) from typing_extensions import Literal _K = TypeVar("_K") _V = TypeVar("_V") class OrderedSet(MutableSet[_K]): ...
[ "davidycliao@gmail.com" ]
davidycliao@gmail.com
d9bd2890dfcfbc0a88d99138185203be8d152d8b
13d8ede6d23ed0a375bbc9310d93be035fd164e9
/InterviewBits/arrays/flip.py
f9d5783e746d6b7c2e6a9d020b5caec7cd947ea2
[]
no_license
iamrishap/PythonBits
192d3fb7bce101485eb81da2153e5b0c82b6872a
dcbc5f087ad78110a98e78dd6e5943ed971309c2
refs/heads/master
2022-03-10T07:16:08.601170
2019-11-17T04:01:00
2019-11-17T04:01:00
206,778,724
0
0
null
null
null
null
UTF-8
Python
false
false
2,038
py
""" You are given a binary string(i.e. with characters 0 and 1) S consisting of characters S1, S2, …, SN. In a single operation, you can choose two indices L and R such that 1 ≤ L ≤ R ≤ N and flip the characters SL, SL+1, …, SR. By flipping, we mean change character 0 to 1 and vice-versa. Your aim is to perform ATMOST ...
[ "rishap.sharma@iress.com" ]
rishap.sharma@iress.com
a27ec35f7aa311ffa7144d14cdcef4c0bea23acd
4bebd76e65768c6a2fe9f8019c99ae9e579dbafd
/scripts/LAPipe/NumPy/PART2/P2.10RW.py
c37313dde9fcf99a541e71b68a800c74863e1648
[]
no_license
hadad-paper/HADAD_SIGMOD2021
7e0f7687bfdb3601b817570a2c10c2b923970fd9
6bfef6838a5549288adca6bdd71ec0d3497d3f2e
refs/heads/master
2023-03-05T22:54:36.894263
2021-02-22T23:24:43
2021-02-22T23:24:43
296,177,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
with open(__file__) as fh: print fh.read() import os import sys import datetime import time import numpy as np import numpy.linalg as alg import pandas as pd from numpy import genfromtxt def timeOp(string,cleanup=None): times = [] time_stamp = datetime.datetime.fromtimestamp( time.time()).strftime('%Y...
[ "hadad-paper@clt-128-93-177-51.vpn.inria.fr" ]
hadad-paper@clt-128-93-177-51.vpn.inria.fr
ff05fe771f713034457ab59fd6057ba63edd7043
aaf4a46f6bde17bfcbb8334f83d4e5972c1ed9cc
/HiggsFastSim/launchVBFHToETau_8TeVBeamspot_20PU.py
e0c79f9fdcff8d4d7ad7c6fb44b64c6cda31e6b2
[]
no_license
taroni/usercode
72811057e54691edfd3eee1f5cd2eab163ff97c6
94888ed661f1c31f0fb2c8593add5efd8ecaafa4
refs/heads/master
2021-06-06T20:52:41.776442
2019-07-09T13:31:39
2019-07-09T13:31:39
11,950,720
0
0
null
null
null
null
UTF-8
Python
false
false
8,325
py
#!/bin/env python from os import popen #numero iniziale i=10 #inizio ciclo while i<20: #inizio file cfg cfg = """ import FWCore.ParameterSet.Config as cms process = cms.Process('HLT') # import of standard configurations process.load('Configuration.StandardSequences.Services_cff') process.load('SimGenera...
[ "Silvia.Taroni@cern.ch" ]
Silvia.Taroni@cern.ch
6e523c8eb1f2c2e9af921a9ad5ae44de98465a3f
c8f4cdee426f04fcf0e7c4865515508178cdc580
/NFL_Draftkings/__init__.py
4a572416a3b992c5d443c98ea2d1fb2048bd2cc4
[ "MIT" ]
permissive
jkope892/NFL_Draftkings
734d5dd6145cea1ba8cc2f18ccb3f56098c67458
3744d53c63c9f58a5c0a1ce4cf6ebce989b3c0da
refs/heads/master
2021-05-17T08:37:45.698445
2016-09-05T00:18:39
2016-09-05T00:18:39
250,710,985
1
0
MIT
2020-03-28T04:04:24
2020-03-28T04:04:23
null
UTF-8
Python
false
false
80
py
__author__ = 'Kacper Adach' __version__='0.4' from GetPlayerDKScores import *
[ "kacperadach@gmail.com" ]
kacperadach@gmail.com
ff68e33fd5b4b5b0f46bab5d93a2456434b1b756
fe6775ca8c5b42710785e3a923974ae079f92c8f
/code/111. 二叉树的最小深度.py
3e4de4635aa4de1d9e8f7a31cf17e83b061248e2
[]
no_license
AiZhanghan/Leetcode
41bda6676fa1a25fa19e393553c1148ed51fdf72
101bce2fac8b188a4eb2f5e017293d21ad0ecb21
refs/heads/master
2021-06-28T10:48:07.865968
2020-11-20T09:45:15
2020-11-20T09:45:15
188,155,059
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def minDepth(self, root): """ Args: root: TreeNode Return: int """ if not...
[ "35103759+AiZhanghan@users.noreply.github.com" ]
35103759+AiZhanghan@users.noreply.github.com
8cbcd942da4735224385ab3dbc3923e725f2b36b
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/request/AlipayMarketingCampaignDiscountBudgetQueryRequest.py
1c336dd763456ee791f4e197b59b28af345ec219
[ "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,052
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.AlipayMarketingCampaignDiscountBudgetQueryModel import AlipayMarketingCampaignDiscountBudgetQueryModel class AlipayMarketingCampaign...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
ec38695fe5da3b2dbd32e767f06c00c40ededda7
b05761d771bb5a85d39d370c649567c1ff3eb089
/venv/lib/python3.10/site-packages/clikit/io/input_stream/null_input_stream.py
028240ec0f8db6eac4aaef02276bb18a572c1cad
[]
no_license
JawshyJ/Coding_Practice
88c49cab955eab04609ec1003b6b8c20f103fc06
eb6b229d41aa49b1545af2120e6bee8e982adb41
refs/heads/master
2023-02-19T10:18:04.818542
2023-02-06T21:22:58
2023-02-06T21:22:58
247,788,631
4
0
null
null
null
null
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/a1/7e/50/f915f39cc05a20660c21d59727fecc2940e54cafe21c2b2ba707d671e7
[ "37465112+JawshyJ@users.noreply.github.com" ]
37465112+JawshyJ@users.noreply.github.com
8b69cd4779156df3932f49444b300b44d248ecf2
5464dcbcf10bafdda01d04fcbff71eeafbe3c432
/src/metrics/user_metric.py
54ed042d3ff0d3a92dea242d52c2127ae685c3c2
[ "BSD-3-Clause" ]
permissive
dsc/E3_analysis
caeeb29a8cf7381f67652ebb7059c0da1ce53b08
5bd27b038d6b56632205a81137450ebb884ca1bb
refs/heads/master
2023-07-31T20:34:53.990017
2013-02-08T00:20:37
2013-02-08T00:20:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,206
py
""" This module will be used to define Wikimedia Foundation user metrics. The Strategy behavioural pattern(http://en.wikipedia.org/wiki/Strategy_pattern) will be used to implement the metrics generation. In general the UserMetric type utilizes the process() function attribute to produce an internal list...
[ "rfaulkner@wikimedia.org" ]
rfaulkner@wikimedia.org
10d0c0440ab0d5f8b17d79217c02ccde8d00ed6f
fd03997cf671c295e1c36fea5a7ff0888af4620e
/tests/pyfilter/operations/test_setproperties.py
c0083a326aa4e089ce2ef711d31153d39c17ce39
[]
no_license
johnathandinh/Houdini-Toolbox
5d8ae22ee6e50db97eb48ad1aa8ff4c3dd5cb70b
975e11fc59e42953938d8e03a1d49099abbc7b34
refs/heads/master
2020-12-01T16:52:37.978855
2019-11-16T20:05:26
2019-11-16T20:05:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,463
py
"""Test the ht.pyfilter.operations.setproperties module.""" # ============================================================================= # IMPORTS # ============================================================================= # Standard Library Imports import argparse # Third Party Library Imports import pytest ...
[ "captainhammy@gmail.com" ]
captainhammy@gmail.com
37c277ed6f27a9c565bc80f5f94a5ff4a42bba0b
eb7513f3e59cf5ab1dda5611627793e4391582f4
/fab_bundle/django.py
78fb35a4743d2e5d3d4dc088cb680677edfc4fa5
[]
no_license
linovia/fab-bundle
69e51224216cf8d365fb128fd98165b79564fc1b
640544bd1d9131f8814e5dc8b4ea0d050889b502
refs/heads/master
2021-01-18T14:31:40.857998
2015-05-20T05:54:49
2015-05-20T05:54:49
7,828,777
1
0
null
2015-01-16T13:32:22
2013-01-25T21:21:08
Python
UTF-8
Python
false
false
2,021
py
from fabric.api import env, run from .utils import die, template from .db import postgres def manage(command, noinput=True): """Runs a management command""" noinput = '--noinput' if noinput else '' run('%s/env/bin/django-admin.py %s %s --settings=settings' % ( env.bundle_root, command, noinput)) ...
[ "xordoquy@linovia.com" ]
xordoquy@linovia.com
339acf442deb6e5204b27de4e42be183a8496e8c
59453f279255ed7e65ba6b134ab428e5b8c3a565
/chapter4/ans_34.py
b4b3668a3cccd7a562615202cfff8e5c6bc2952a
[]
no_license
takapy0210/nlp_2020
b42497f0db95f947e7ad61ec058769e824bbbc9c
085747a8c22573a095658e202faccb7197a7041e
refs/heads/master
2023-07-12T20:32:34.225335
2021-08-21T04:31:12
2021-08-21T04:31:12
258,741,277
3
1
null
null
null
null
UTF-8
Python
false
false
1,051
py
""" 名詞の連接(連続して出現する名詞)を最長一致で抽出せよ. """ def parse_morpheme(morpheme): (surface, attr) = morpheme.split('\t') attr = attr.split(',') morpheme_dict = { 'surface': surface, 'base': attr[6], 'pos': attr[0], 'pos1': attr[1] } return morpheme_dict def get_value(items): r...
[ "takanobu.030210@gmail.com" ]
takanobu.030210@gmail.com
7c92ef5096f56c6a4b16819e0acc383015d28bf6
40f4908483b98fc4f370ff4f2d520e1284d045b3
/phase02/immortals_repo/harness/pymmortals/generated/com/securboration/immortals/ontology/expression/expressionnodenumerical.py
febd6b50e97fc22a14dfb1027c13f4ae466cba44
[]
no_license
TF-185/bbn-immortals
7f70610bdbbcbf649f3d9021f087baaa76f0d8ca
e298540f7b5f201779213850291337a8bded66c7
refs/heads/master
2023-05-31T00:16:42.522840
2019-10-24T21:45:07
2019-10-24T21:45:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
from pymmortals.generated.com.securboration.immortals.ontology.expression.booleanexpressionnode import BooleanExpressionNode # noinspection PyPep8Naming class ExpressionNodeNumerical(BooleanExpressionNode): _validator_values = dict() _types = dict() def __init__(self): super().__init__()
[ "awellman@bbn.com" ]
awellman@bbn.com
7a95e48001ec08aa7b2bedd788bde129b64e0428
d7016f69993570a1c55974582cda899ff70907ec
/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/azure/mgmt/desktopvirtualization/aio/__init__.py
94f7d29315942145af837775f21461b65c304732
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
896
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" ]
kurtzeborn.noreply@github.com
a67884aee78455d36ecfc302f9c6662415a78945
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03807/s795555323.py
e475574fc854fb02f0a1a7c16e5c54a3109a3d00
[]
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
110
py
N = int(input()) A = [int(j) for j in input().split()] if sum(A)%2==0: print('YES') else: print('NO')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d35d55dc09e71211c9c1ab9c5f08da0e330fe2f5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02261/s604578340.py
adf89a926b10d9913875be65ef10f9e9f300870a
[]
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
943
py
def BubbleTrump(C, N): i = 0 while i < N: j = N - 1 while j > i: if int(C[j][1]) < int(C[j-1][1]): c = C[j] C[j] = C[j - 1] C[j - 1] = c j -= 1 i += 1 return C def SelectionTrump(C, N): i = 0 while i < N...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6c2769a2bf8a7ef756a5322aeb6a586e6aa66ebf
5ede9cb1b4a13286c7844680f3ca3e7befb0f06d
/lang/clang32/files/patch-utils_llvm-build_llvmbuild_main.py
3c878e708b1cbf3a19a033ce53b311e83d92c93e
[]
no_license
waynemareci/DPorts
3fdeb479f3aaee1188704799c143acaa0191de38
8f47230488a8a169641b023a357dbc9d50858d30
refs/heads/master
2021-01-17T08:52:43.282910
2014-12-16T05:42:03
2014-12-16T05:42:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
$FreeBSD: head/lang/clang32/files/patch-utils_llvm-build_llvmbuild_main.py 340725 2014-01-22 17:40:44Z mat $ --- utils/llvm-build/llvmbuild/main.py.orig +++ utils/llvm-build/llvmbuild/main.py @@ -633,7 +633,13 @@ # We handle a few special cases of target names here for historical # reasons, as these are t...
[ "nobody@home.ok" ]
nobody@home.ok
52af64e512464476b3c7a71be4c14934d950a785
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03095/s821591285.py
5426f4262b305dbd1540275eb9ed8bdc4c475f98
[]
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
214
py
from collections import Counter n = int(input()) s = input() mod = 10**9+7 scnt = Counter(s).most_common() ans = 1 for i in range(len(scnt)): ans = ans*(scnt[i][1]+1)%mod ans = (ans - 1 + mod)%mod print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
54e92565033d5c76621554dac95020cc7b579dc2
fa5713863cada0177d15e56f5327b79d907a119f
/test/compare_releases.py
70cf5e5907f8577f16a47c9a3461b04ef5c48543
[]
no_license
rappoccio/EXOVV
1500c126d8053b47fbc425d1c2f9e76f14cb75c5
db96edf661398b5bab131bbeba36d331b180d12d
refs/heads/master
2020-04-03T20:12:57.959191
2018-08-24T01:30:03
2018-08-24T01:30:03
39,910,319
4
2
null
null
null
null
UTF-8
Python
false
false
3,404
py
#!/usr/bin/env python from optparse import OptionParser from jettools import getJER from math import sqrt parser = OptionParser() parser.add_option('--outname', type='string', action='store', dest='outname', default = "", help='Histogram to plot') (options, ar...
[ "rappoccio@gmail.com" ]
rappoccio@gmail.com
9f78ccf6f31955eb84196daddffa4cab5da805dd
18c6f7ee10526583d8c65acc5ce04579a91fdeeb
/ch_01/7.integers.py
0883a24b2e0b30ba2b91364da434831ca9e1cb38
[]
no_license
cloudsecuritylabs/pythonProject_1
97273634df25e306d0a2aed56fcf5c836d2ac33c
8fc0d17b549d7195f8de46a227e5bb5d9f2ed4ed
refs/heads/master
2023-07-22T16:06:14.550571
2021-08-24T03:09:00
2021-08-24T03:09:00
399,319,867
0
0
null
null
null
null
UTF-8
Python
false
false
5
py
(4+4)
[ "basu.ankan@gmail.com" ]
basu.ankan@gmail.com
35ee5dd2a7c74bc6385b06d89e2b1c6463b7d74e
814872021c865b44d6b8c1d1db6e8e16971163fc
/IPTVPlayer/hosts/hostanyfiles.py
6aab25ea4d647cd34ad62796da5ac8c758effa5b
[]
no_license
friman/iptvplayer-for-e2-1
b661a31567a00616e7d04768a1600f8bdeed307b
88292aa16a742cd1387568927490cc07722b8316
refs/heads/master
2021-01-14T14:03:06.537602
2015-11-27T23:20:27
2015-11-27T23:20:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,239
py
# -*- coding: utf-8 -*- # Based on (root)/trunk/xbmc-addons/src/plugin.video.polishtv.live/self.HOSTs/ @ 419 - Wersja 636 #ToDo # Błąd przy wyszukiwaniu filmów z polskimi znakami ################################################### # LOCAL import ################################################### from Plugins.Exte...
[ "samsamsam@o2.pl" ]
samsamsam@o2.pl
b6d448d6dfd72df5f4a0ff1d9f654247d4fed8d2
6ff0f16f7207a058c8aa4703031168ec14a2299a
/autoregressive_pybullet.py
c5139497ca0391efc249fae0a839906c48957f83
[]
no_license
modanesh/recurrent_implicit_quantile_networks
528ca85187cd36d05e536f03121674f38d8f49b1
8a31d988158856b43bac145f983a93c2f4f3b6cd
refs/heads/master
2023-08-28T10:12:51.189662
2021-10-24T06:33:28
2021-10-24T06:33:28
259,685,919
13
3
null
null
null
null
UTF-8
Python
false
false
36,261
py
import os import gym import math import torch import random import sklearn import argparse import numpy as np import pybullet_envs import torch.nn as nn import seaborn as sns import env_preparation import matplotlib.pyplot as plt from detecta import detect_cusum from stable_baselines3 import TD3 from sklearn.metrics im...
[ "mohamad4danesh@gmail.com" ]
mohamad4danesh@gmail.com
4d422bbbbeeb2c15974cfa4de441a3c6671ccf70
3a857528f238c9460fd7c14fc0477a9bee0974a5
/ipycanvas/_frontend.py
2da2ede4429a6af5aed88050218d375c62a47c5c
[ "BSD-3-Clause" ]
permissive
amoeba/ipycanvas
aafb38b341828f0ff69cc4816ea3ab169096c251
0cc98b4d0cd1dc7a0b4057fe8d5d276efdb55928
refs/heads/master
2023-02-04T21:58:01.556211
2020-12-17T20:42:01
2020-12-17T20:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
#!/usr/bin/env python # coding: utf-8 # Copyright (c) Martin Renou. # Distributed under the terms of the Modified BSD License. """ Information about the frontend package of the widgets. """ module_name = "ipycanvas" module_version = "^0.7.0"
[ "martin.renou@gmail.com" ]
martin.renou@gmail.com
e7ad97b4def6fb6fa2145820b08d36b0816395ea
5e31705389a23939101b9ebe9f8814bee8d27317
/exrs/ifelse1.py
041f8f55fe22728d3ef1a915088ddf33228e3f2a
[]
no_license
Maga1807/PP2
4c7b837bfa61d22b4a6ccee11144a982969c959d
3e42e9d79ccf048b34cf460502fe92171254b838
refs/heads/main
2023-07-17T01:29:35.807121
2021-07-29T07:22:13
2021-07-29T07:22:13
379,923,531
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
a = 50 b = 10 if a > b: print("Hello World")
[ "noreply@github.com" ]
Maga1807.noreply@github.com
8f0e1b6af08c0ba68ced1a36c3dd18973cf224ab
5292b03998384c0d2bb5858058892d7e45c5365b
/InCTF/2021/crypto/Lost_Baggage/main.py
2db4763071280ad4c8a5294fa28c99cb3bb0c207
[ "MIT" ]
permissive
TheusZer0/ctf-archives
430ef80d367b44fd81449bcb108e367842cb8e39
033ccf8dab0abdbdbbaa4f0092ab589288ddb4bd
refs/heads/main
2023-09-04T17:56:24.416820
2021-11-21T06:51:27
2021-11-21T06:51:27
430,603,430
1
0
MIT
2021-11-22T07:24:08
2021-11-22T07:24:07
null
UTF-8
Python
false
false
1,119
py
#!/usr/bin/python3 from random import getrandbits as rand from gmpy2 import next_prime, invert import pickle FLAG = open('flag.txt', 'rb').read() BUF = 16 def encrypt(msg, key): msg = format(int(msg.hex(), 16), f'0{len(msg)*8}b')[::-1] assert len(msg) == len(key) return sum([k if m=='1' else 0 for m, k in zip(msg...
[ "sajjadium@google.com" ]
sajjadium@google.com
12cf8b1fc6f4b7f9991b27ccfa0db18d53281139
d96ffbadf4526db6c30a3278f644c1bc25ff4054
/src/flickr/city.py
54ab51925d971f99e12f845cbc74900f03e05b10
[ "MIT" ]
permissive
dballesteros7/master-thesis-2015
07c03726f6ceb66e6d706ffe06e4e5eb37dcda75
8c0bf9a6eef172fc8167a30780ae0666f8ea2d88
refs/heads/master
2021-05-03T11:22:28.333473
2016-04-26T14:00:30
2016-04-26T14:00:30
44,601,064
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
from enum import Enum from flickr.boundingbox import BoundingBox class City(Enum): LONDON = ('london', BoundingBox(51.672343, 0.148271, 51.384940, -0.351468)) ZURICH = ('zurich', BoundingBox(47.434680, 8.625370, 47.320230, 8.448060)) NEW_YORK = ('new-york', BoundingBox(40.915256, -73.700272, 40.491370, -...
[ "diegob@student.ethz.ch" ]
diegob@student.ethz.ch
52ea565222d6051d93f5b73b48e501c55e9bd1ce
736032949e6ec4291dba0b06a441efe9d8ad2b82
/colegio/models.py
451bf327c02291b724848dab273618cf88c656d4
[]
no_license
CoriAle/Examen-Final
b93498e10818d91cb672ef216dbc1663cb1973ef
bcbdecce989ee55e85c0dbfbf22c20950bfd2199
refs/heads/master
2021-08-26T05:32:34.204416
2017-11-21T18:56:45
2017-11-21T18:56:45
111,577,021
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
from django.db import models from django.utils import timezone from django.contrib import admin class Alumno(models.Model): carnet=models.CharField(max_length=50) nombre=models.CharField(max_length=50) apellido=models.CharField(max_length=50) fecha_nacimiento = models.DateField() def __str__(self)...
[ "1995coral@hotmail.es" ]
1995coral@hotmail.es
127b3622e28069bc808f7dc1542354d21e9dce3c
80b5bc903e5ceb368f374f9a1313e1dc7ac698c2
/bcoffice/members/views/member_force_disable.py
1dbe2b8b190ef21b05374aca59a95a45fed30cbc
[]
no_license
Bobur-kobilov/back
830471f7d36f9120aa04e3ae884f7091f0ba4333
5a852c4d24da3db6226ce17c437c4ae9c6b01141
refs/heads/master
2022-10-01T22:50:24.073570
2019-08-02T01:51:19
2019-08-02T01:51:19
200,145,509
0
0
null
null
null
null
UTF-8
Python
false
false
4,360
py
from . import * import pytz # 회원 강제 상태변경 class MemberForceDisable(APIView): name = "member-force-disable" permission_classes = [MemberForceDisablePermission] def put(self, request, *args, **kwargs): member_id = request.data.get('member_id', None) reason = request.data.get('reason',...
[ "bobur0114jon@gmail.com" ]
bobur0114jon@gmail.com
5e8d232feecaf3739a9c05723fb003384adf5152
23ae328d533fafdeb8b49b8a66911a9e9aef4e83
/exercises/1901090010/1001S02E06_stats_word.py
0b2d0b586169d3cc48703ba0459b9c517888bf39
[]
no_license
sky3116391/selfteaching-python-camp
85b35ba16e014e7d1c2545e450a22021acd668e7
635a74035b37bdd4e37919a81848e86bdb853a11
refs/heads/master
2020-05-25T15:51:30.853311
2019-05-30T06:49:20
2019-05-30T06:49:20
187,006,599
0
0
null
2019-05-16T10:32:55
2019-05-16T10:32:55
null
UTF-8
Python
false
false
3,945
py
import re #(1)定义一个名为 stats_text_en 的函数 def stats_text_en(text): #(2)函数接受一个字符串 text 作为参数。如果不是字符串,则提示 if not isinstance(text,str): return '请输入字符串' #(3)统计参数中每个英文单词出现的次数 # 1.替换掉所有的符号 word_str = text.replace(','," ").replace('.'," ").replace('!'," ").replace('*'," ").replace('--'," ") # 2.按照...
[ "46160162+EthanYan6@users.noreply.github.com" ]
46160162+EthanYan6@users.noreply.github.com
049dbb89411218fa3f9f32a259e522708a2d52eb
db4de90863ba763f9fc0954a7a534518ec9d5778
/striplog/markov.py
9a1d8ce264ebef1247120ce05f963e40b5ab371b
[ "Apache-2.0" ]
permissive
Skuxley/striplog
744cab01e3352107aac5275907af84b6554f5b92
02ae02ec4ec7c31990faa06e5156924a9b87254f
refs/heads/master
2022-11-11T12:22:32.094127
2020-05-26T15:35:04
2020-05-26T15:35:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,618
py
# -*- coding: utf-8 -*- """ Markov chains for the striplog package. """ from collections import namedtuple import numpy as np import scipy.stats import matplotlib.pyplot as plt from .utils import hollow_matrix class MarkovError(Exception): pass def regularize(sequence, strings_are_states=False) -> tuple: ...
[ "matt@agilegeoscience.com" ]
matt@agilegeoscience.com
99a090ec7d96de49b32002c3d389094efe608890
b6233af6a39e7ab500743d6b2ac7d52f68ae3be2
/19/00/2.py
9a4163a95b325fbdda531426194e1e107c5ac754
[ "CC0-1.0" ]
permissive
pylangstudy/201712
9754526e1d8f1c0519fcce98bc7df803f456cc4e
f18f1251074729c4a3865b113edc89ec06b54130
refs/heads/master
2021-09-02T06:08:08.278115
2017-12-30T23:04:55
2017-12-30T23:04:55
112,670,974
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
import asyncio try: from socket import socketpair except ImportError: from asyncio.windows_utils import socketpair # Create a pair of connected file descriptors rsock, wsock = socketpair() loop = asyncio.get_event_loop() def reader(): data = rsock.recv(100) print("Received:", data.decode()) # We a...
[ "pylangstudy@yahoo.co.jp" ]
pylangstudy@yahoo.co.jp
ffff5d674aabfb39a7fe604058e907e6a8469b8d
af71dc3825a4ad9f8f3582a1532828d680005dea
/social/__init__.py
895ff9af9158dab005e6dc20c74f0c3c076e27b9
[ "BSD-2-Clause", "Python-2.0", "BSD-3-Clause" ]
permissive
loitd/python-social-auth
48c81b05858e9aabecd7989f6721018da14406d7
3a2e40c1d4341a0237363e28928b540ba7e7a49b
refs/heads/master
2021-07-15T17:07:17.700728
2016-04-29T16:40:05
2016-04-29T16:42:53
58,113,389
0
0
NOASSERTION
2021-03-20T05:01:35
2016-05-05T07:40:35
Python
UTF-8
Python
false
false
212
py
""" python-social-auth application, allows OpenId or OAuth user registration/authentication just adding a few configurations. """ version = (0, 2, 19) extra = '' __version__ = '.'.join(map(str, version)) + extra
[ "matiasaguirre@gmail.com" ]
matiasaguirre@gmail.com
30aadff3b0ad693ad37410c5ddadb1a597999933
9f86a677c78db9b670759595b3b8b1a7f233acfd
/listings/admin.py
f8e5077d979804e2802b8dda4a1599caec15823d
[]
no_license
husainr/btre_project
0337f8e705ca59460a62da06f54905fff4b50841
e5bfbdc5d9e214d04aa212badeaca09fb2f37090
refs/heads/master
2020-04-20T07:00:44.152929
2019-01-28T14:26:25
2019-01-28T14:26:25
168,700,092
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
from django.contrib import admin from .models import Listing class ListingAdmin(admin.ModelAdmin): list_display = ('id','title','is_published','price','list_date','realtor') list_display_links = ('id','title') list_filter = ('realtor',) list_editable = ('is_published',) search_fields = ('title','description','ad...
[ "you@example.com" ]
you@example.com
827af1cf985b10a20d8f337fcaae5cbb62d5988b
23165420a2ced2306c1154cbd479e67006860e87
/Algorithms/二叉搜索树的最近公共祖先.py
91ed039655c7be3b5e96ef60887d3ebe524a141a
[]
no_license
pppineapple/LeetCode
8a446a65f99e2f2c572696caca2550c6e3bd8acc
e41a86e9d4615079247ef3ef9a35537f4b40d338
refs/heads/master
2020-04-06T14:54:02.475837
2018-11-19T09:38:56
2018-11-19T09:38:56
157,558,169
0
0
null
null
null
null
UTF-8
Python
false
false
2,737
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Sun Sep 23 22:29:22 2018 @author: pineapple """ ''' 给定一个二叉搜索树, 找到该树中两个指定节点的最近公共祖先。 百度百科中最近公共祖先的定义为:“对于有根树 T 的两个结点 p、q, 最近公共祖先表示为一个结点 x,满足 x 是 p、q 的祖先 且 x 的深度尽可能大(一个节点也可以是它自己的祖先)。” 例如,给定如下二叉搜索树: root = [6,2,8,0,4,7,9,null,null,3,5] _______6_____...
[ "504434414@qq.com" ]
504434414@qq.com
9969c9d8301f7eb0cef375d5b636e00db8126cfb
d2cacbd1bde10e464faabc22ad5936f1aaf4e2ef
/data/DescLearning/SummerTests/RGBtrainD/Alexnet/BUTF/OTS/MAC-true/main.py
07ef2c62f3b6a26072f5d33198b09fcb7f045794
[]
no_license
npiasco/dl_management
a26950a3b53c720d881a8b7ac3fa81161a048256
11c29a3637efa5fd223b36664d62c704e8166bab
refs/heads/master
2021-03-16T05:44:39.806437
2019-09-06T13:52:52
2019-09-06T13:52:52
124,055,338
1
0
null
null
null
null
UTF-8
Python
false
false
1,619
py
#!/usr/bin/env python import os, sys import setlog conf_file = os.environ['DEV'] + 'dl_management/.log/logging.yaml' save_file = os.path.abspath(sys.argv[0])[:-len(sys.argv[0])] + 'log/' setlog.reconfigure(conf_file, save_file) import system.DescriptorLearning as System if __name__ == '__main__': machine = Sy...
[ "nathan.piasco@gmail.com" ]
nathan.piasco@gmail.com
b856dc6e44247152863978aafc57924c228d7b01
9c85d132b2ed8c51f021f42ed9f20652827bca45
/source/res/scripts/client/gui/scaleform/locale/messenger.py
88742dcdfb19b86cca8c151693bcde5ffae16696
[]
no_license
Mododejl/WorldOfTanks-Decompiled
0f4063150c7148184644768b55a9104647f7e098
cab1b318a58db1e428811c41efc3af694906ba8f
refs/heads/master
2020-03-26T18:08:59.843847
2018-06-12T05:40:05
2018-06-12T05:40:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
89,831
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/locale/MESSENGER.py from debug_utils import LOG_WARNING class MESSENGER(object): CONTACTS_SETTINGSVIEW_TOOLTIPS_BTNS_APPLY = '#messenger:contacts/settingsView/tooltips/btns/apply' CONTACTS_SETTINGSVIEW_TOOLTIP...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
b83333bde4c5f401bfdfa13b41e2fcfc9a51c187
42fa1862effc3e494859904b76c43ce2bcd623a0
/low_high_band_pass_filtering.py
f4ad03423a9a9bded4c998b4dc162316a4c715fa
[]
no_license
PaulHalloran/desktop_python_scripts
3e83aedf3e232da610b5f7477e4d7e8fb0253f99
325e923527278a5c3e9ab8c978f29b2816dab087
refs/heads/master
2021-01-01T19:52:06.828997
2015-06-27T21:14:10
2015-06-27T21:14:10
38,155,075
0
0
null
null
null
null
UTF-8
Python
false
false
2,945
py
import iris import matplotlib.pyplot as plt import scipy import iris.quickplot as qplt import numpy as np ''' We will use the following functions, so make sure they are available ''' def butter_bandpass(lowcut, cutoff): order = 2 low = 1/lowcut b, a = scipy.signal.butter(order, low , btype=cutoff,analog...
[ "paul.halloran@gmail.com" ]
paul.halloran@gmail.com
a031ad5ed05e689e5acac722ec476741ddb709b9
55d4e10ff2c71ac0f0042bda930d7e3dcc7a1a76
/freezing/web/scripts/fix_photo_urls.py
6950149827302ee3339431889337c9bc2382c8c6
[]
no_license
freezingsaddles/freezing-legacy
28f813690b0c81d6a075fe2fc4ebe6d644ab7417
d2c0a445e189e0a359fa134258e0d5e14bd9de56
refs/heads/master
2021-05-09T11:24:56.219056
2018-01-23T16:25:57
2018-01-23T16:25:57
118,989,278
0
0
null
null
null
null
UTF-8
Python
false
false
2,024
py
from instagram import InstagramAPIError from freezing.model import meta from freezing.model.orm import RidePhoto from freezing.web.autolog import log from freezing.web.scripts import BaseCommand from freezing.web.utils.insta import configured_instagram_client class FixPhotoUrls(BaseCommand): @property def ...
[ "hans@xmpl.org" ]
hans@xmpl.org
b867f04b4d5338ab74beb5d363063aedb323f8bc
9b2255e0a474555d8a4d90f586e280d40224a181
/apps/navigation/api.py
c97f598f1ff10310113981f52a3913081ccd3fed
[]
no_license
rogeriofalcone/redirector
85f496f7c3a3c755b2d9f86f90d25ace783842e4
8255be80ce4e3245317864dcc580a1ef68a7c244
refs/heads/master
2020-04-08T07:03:19.053680
2012-08-12T19:13:35
2012-08-12T19:13:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
import copy object_navigation = {} multi_object_navigation = {} model_list_columns = {} sidebar_templates = {} top_menu_entries = [] def register_multi_item_links(src, links, menu_name=None): """ Register a multiple item action action to be displayed in the generic list template """ multi_object...
[ "Roberto.Rosario.Gonzalez@gmail.com" ]
Roberto.Rosario.Gonzalez@gmail.com
fbe5e008b57babb92e2dd06f1be7edb60f2f4dac
299e5934971f9de638692e2667d6e270bcab5cbd
/13.罗马数字转整数.py
6aa2f8131eac1ddc741f6bd0b4331f804a96ec00
[]
no_license
ycj123/Leetcode-Python3
14bcd6c9f4d26191d5d40c77e923df4d0be4c0e5
1593960cdf2655ef1dcf68e3517e7121670c6ac3
refs/heads/master
2022-12-16T23:12:19.326702
2020-09-18T00:17:45
2020-09-18T00:17:45
295,302,872
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
# # @lc app=leetcode.cn id=13 lang=python3 # # [13] 罗马数字转整数 # # 优先匹配长度为2 # @lc code=start class Solution: def romanToInt(self, s: str) -> int: helper = { 'I':1, 'V':5, 'IV':4, 'X':10, 'IX':9, 'L':50, 'C':100, 'XL...
[ "yangchijiang@icloud.com" ]
yangchijiang@icloud.com
9ebb2d8c25c8e4c6f8e7973204a6127aa4844a89
40530b1d97c237944e4a01826f2e7a746d98acc0
/modifydevicetree.py
e555e1cd8a21521c84bf59a3b2062e527d8e0050
[ "CC0-1.0" ]
permissive
Hackveda/XNUQEMUScripts
e0270b27a3cb889822a8429a0842e548507a34c8
d5492cbffe2c1ce29026901b833c0d9cd295f37b
refs/heads/master
2021-01-05T22:40:01.532712
2018-07-21T17:07:54
2018-07-21T17:07:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,320
py
import sys from devicetreefromim4p import * #removeCompatibles = [b"aic,1", b"pmgr1,t8015", b"wdt,t8015\x00wdt,s5l8960x", b"gpio,t8015\x00gpio,s5l8960x", b"sochot,s5l8955x", b"tempsensor,t8015", b"aes,s8000"] keepCompatibles = [b"uart-1,samsung", b"D22AP\x00iPhone10,3\x00AppleARM"] removeNames = [b"wdt", b"backlight"]...
[ "zhuoweizhang@yahoo.com" ]
zhuoweizhang@yahoo.com
95509adab1d7fd1668388a55b0f78c9747fc7365
23744d0acc0119d0222c003179335af5b3259a67
/DOTA_configs/_base_/datasets/NV10.py
5ce6a3f114d7cd51496ba0e3c9b8a205c7f78373
[ "Apache-2.0" ]
permissive
yawudede/mmd_rs
f3db3c0288eea67b78fdde09600d9b1ef4e60478
a0a468933e69bf90d9bc71c37c8626d8dda7fd24
refs/heads/master
2023-03-18T01:00:11.029808
2021-03-23T03:41:14
2021-03-23T03:41:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
dataset_type = 'CocoDataset' data_root = 'data/NWPU_VHR_10/' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations', with_bbox=True), dict(type='Resize', img_scale=(800, 800), keep_rati...
[ "alexhzy@126.com" ]
alexhzy@126.com
c98407abf255ab9a3130d1de2aec9835447aed79
d1ea752332028ad6e621b68c32496cad5ae33fa4
/backend/testing_module_options_1/urls.py
89bfdd81e27b4afcd715afbaecd9cc0510ba8d08
[]
no_license
crowdbotics-apps/testing-module-options-1
872d24a6dd8e34c0b73b61e066b3187f2a4adfab
1a061e46115787df3b1013aeb5282891f825b473
refs/heads/master
2023-07-27T02:01:22.644918
2021-09-16T14:50:17
2021-09-16T14:50:17
407,200,684
0
0
null
2021-09-16T14:51:11
2021-09-16T14:40:27
Python
UTF-8
Python
false
false
2,291
py
"""testing_module_options_1 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='h...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5c1df1d7fc9d51ab054ea9607fffab52a876136c
55a729cee20bb37f9a2bab323b1afb148e0768d2
/pyigm/cgm/cgmsurvey.py
d2d1529f9d090035854331d413db2ec16708549b
[]
no_license
SunilSimha/pyigm
502b1d46533dfec60dacfa41498b38bcc9622298
cd09dedce40cf959ed15eaecd4f01f05856dd9f2
refs/heads/master
2021-01-25T06:24:29.282634
2017-06-01T18:54:39
2017-06-01T18:54:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,740
py
""" Classes for CGM Surveys """ from __future__ import print_function, absolute_import, division, unicode_literals import numpy as np import os import warnings import pdb import json, io from astropy.table import Table, Column from astropy.coordinates import SkyCoord from pyigm.utils import lst_to_array from pyigm.s...
[ "xavier@ucolick.org" ]
xavier@ucolick.org
e33058af373d06e2f01f0dedd2779cbce9ab58b6
cef082f9fd218e807ad6deedfc95b485fe4152a0
/SecondWeek/example_http.py
601ec43cf64d916ec85671ec7715c03db19b71b8
[]
no_license
banziha104/DjangoProjects
bdb814dbcaa9a0c50d05b42ee7e319a5129dfef9
802e412fcabedd5e08abbf14f2587bd2231491ff
refs/heads/master
2021-01-23T05:29:17.563194
2017-10-17T10:28:16
2017-10-17T10:28:16
102,469,859
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
# python3 -m http.server 8000 # localhost:8000 # python3 -m http.server 8000 --bind 127.0.0.1 # python3 -m http.server --cgi 8000 import http.server import socketserver PORT = 8000 Handler = http.server.SimpleHTTPRequestHandler with socketserver.TCPServer(("",PORT), Handler) as httpd: print("serving at port", P...
[ "they6687@naver.com" ]
they6687@naver.com
3cd443b57e159232737995be844e35ac1210e2c3
72b77f97876983025eb05a5aa1d6f248a1be3074
/difference_between_element_sum_and_digit_sum_of_an_array.py
8bac67b7f16134a05d0c93079b75484b8335f70b
[ "Apache-2.0" ]
permissive
erjan/coding_exercises
4c6bccb2cdac65ccbc3107a482914275ecd157f7
68dac358a6d4dabd41d47dbd4addb2ec50e0ca11
refs/heads/master
2023-09-02T07:25:30.886175
2023-08-27T06:13:06
2023-08-27T06:13:06
236,281,070
5
0
Apache-2.0
2020-05-05T15:08:49
2020-01-26T07:32:09
Python
UTF-8
Python
false
false
727
py
''' You are given a positive integer array nums. The element sum is the sum of all the elements in nums. The digit sum is the sum of all the digits (not necessarily distinct) that appear in nums. Return the absolute difference between the element sum and digit sum of nums. Note that the absolute difference between tw...
[ "noreply@github.com" ]
erjan.noreply@github.com
958cfc9e90e536eeeaddfdc8e2dc87dfd64c8875
faa83d63a23aec7c4f45c6ce6d140985a9fb2d50
/tests/conftest.py
7baac17e56d03fac2affcd5502b8e75d9cc40e56
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
thomasyi17/diana2
dbf23382f5f84bd9cf86ce531f46452f0083e7f6
983e58ef0a5fe0d820a56c41c823369754019171
refs/heads/master
2023-03-24T15:13:29.421614
2022-06-12T21:42:28
2022-06-12T21:42:28
167,248,482
0
0
MIT
2019-06-25T19:41:36
2019-01-23T20:22:50
Python
UTF-8
Python
false
false
1,973
py
import sys import pytest import docker from diana.utils.endpoint import Containerized sys.path.append('utils') @pytest.fixture(scope="session") def setup_orthanc0(): S = mk_orthanc() yield S print("Tearing down orthanc fixture") S.stop_container() @pytest.fixture(scope="session") def setup_orthanc1...
[ "derek_merck@brown.edu" ]
derek_merck@brown.edu
32138084abc6dd3ae53877add615df18640ec606
92f69f1f33f6b3aa29dc4f3ccce7d4a06eb24bdf
/deploy/infer_onnx_tensorrt.py
be847017b35e952bf6f78ecc7da8ac525342cab4
[ "MIT" ]
permissive
carlsummer/lcnn
5d0b4c81e3b626e0380fdd36ad5685f3a6b9eb8f
b7ad7fa5502243ac50ca15a355e0001c5992d050
refs/heads/master
2023-06-21T05:45:44.910052
2021-07-29T00:55:33
2021-07-29T00:55:33
384,020,516
0
0
MIT
2021-07-08T06:13:42
2021-07-08T06:13:41
null
UTF-8
Python
false
false
1,530
py
# !/usr/bin/env python # -- coding: utf-8 -- # @Author zengxiaohui # Datatime:7/26/2021 10:12 AM # @File:infer_net1_onnx.py import argparse import onnx import onnx_tensorrt.backend as backend import torch from imutils import paths from deploy.torch2onnx import get_image if __name__ == "__main__": parser = argpars...
[ "zengxh@chint.com" ]
zengxh@chint.com
7306eaafeb9996f56c25f6148352a8b7c266f68f
fcfc5d6b6fe509072ace7522a8b48e7c3a8d80a8
/api/upload/urls.py
0f1e7170bdc27c20e7ede08af83e29b54b07da69
[]
no_license
Torque-Webdev/ChamipnshpDatabase
0323d13d39f27aa5516b68891e3cfde51ad063f4
a3f44f7786d98afb58744e0410904750906f5ae0
refs/heads/master
2023-05-01T22:19:14.180758
2021-05-21T16:41:16
2021-05-21T16:41:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
from django.urls import path from .views import FileViewSet from rest_framework import routers from django.urls import path, include app_name = "upload" router = routers.DefaultRouter() router.register('file', FileViewSet) urlpatterns = [ path('', include(router.urls)) ]
[ "sibbengaharry@gmail.com" ]
sibbengaharry@gmail.com
d118b958141f7a74f558cabfc48f8c64170a1520
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW03_20210706182647.py
1346d8dad64a99274877a7859b1338bb7f9edce1
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
""" Georgia Institute of Technology - CS1301 HW03 - Strings and Lists Collaboration Statement: """ ######################################### """ Function Name: movieNight()  Parameters: subtitle (str) Returns: fixed subtitle (str) """ ######################################### ########## WRITE FUNCTIO...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
68da85645730e39e77b20e6b4145c05c4e7f8e65
c8b427f7d548d2028911682ec1fcdcd0150fd1c3
/encoding/datasets/cocostuff.py
e3e06d059fbc752baa2bd5098006bcabb120653b
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
yougoforward/GSFramework
544f120681777752cda9dcd4872170118e2f6073
000060691fcf252cbdf834326db19415f9754cdf
refs/heads/master
2022-12-21T07:59:48.571069
2020-07-10T12:57:34
2020-07-10T12:57:34
271,774,293
0
1
NOASSERTION
2022-12-19T09:48:36
2020-06-12T10:44:20
Python
UTF-8
Python
false
false
3,726
py
########################################################################### # Created by: CASIA IVA # Email: jliu@nlpr.ia.ac.cn # Copyright (c) 2018 ########################################################################### import os import sys import numpy as np import random import math from PIL import Image, Image...
[ "908865817@qq.com" ]
908865817@qq.com
3abf98dbe914d4e4050166a3786a346691c89178
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/nmw.py
24096ea6412cc5e2a05bb57f81dff109435bf570
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
70ecb1031c4cffdd7b880aa97025bd23e23d1211
240c225039581d7454e3229f8e35cce2e2f6b529
/httprunner/context.py
f812b7e7b1b39f2170652635bd02036028d6b6ae
[ "MIT" ]
permissive
leo1001/HttpRunner
2588666286476ff4e4d00f2647ef3bf008b768ae
bb2343470a328f7444c42582162b4c32f3b331b7
refs/heads/master
2020-03-16T08:44:02.810857
2018-08-21T07:57:18
2018-08-21T07:57:18
132,601,259
0
0
MIT
2018-08-21T07:57:19
2018-05-08T11:49:22
Python
UTF-8
Python
false
false
20,851
py
# encoding: utf-8 import copy import os import random import re import sys from httprunner import built_in, exceptions, loader, logger, parser, utils from httprunner.compat import OrderedDict, basestring, builtin_str, str def parse_parameters(parameters, testset_path=None): """ parse parameters and generate car...
[ "httprunner" ]
httprunner
74c32424b84aeca23312e1bc1337aeae4ce88b19
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5769900270288896_0/Python/Yizow/noisyNeighbors.py
56699b486ce068641289c157a81da28e58850b66
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,779
py
import sys def main(): inputFileName = sys.argv[1] outputFileName = sys.argv[2] with open(inputFileName, 'r') as inputFile: with open(outputFileName, 'w') as outputFile: numTestCases = int(inputFile.readline()) for testNum in range(numTestCases): if testNum >...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
e636ed229257f4495131784688b2d673f17fedc4
86f8b6366fefdc91f9bd658efcb292001fe02da0
/src/rosbag_to_file/scripts/rosbag_to_csv.py
cbc70a3e2768d76ec7e4b9324606857c49befc69
[ "MIT" ]
permissive
mingtsung86/dodobot-ros
32a1a42fbf5b7b9e7415f5e4ba21e9574827e5ba
85971caeac958db2f592eeeca13b01b4d365eebd
refs/heads/master
2023-06-09T08:07:22.867868
2021-07-02T05:58:03
2021-07-02T05:58:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,946
py
import csv import rospy from datetime import datetime import utils def bag_to_csv(options): writers = dict() for topic, msg, timestamp in utils.enumerate_bag(options, options.path): if topic in writers: writer = writers[topic][0] else: f = open_csv(options, topic) ...
[ "woz4tetra@gmail.com" ]
woz4tetra@gmail.com
e5a0abd466402d924ea93b9c01766280787d1b41
5ac15873df4df7aeef3908ea7aebe0805cca0181
/flask_mrbob/templates/project/+project.name+/base/context_processors.py
833ad7be23d69c4d1f2722e10bb1eaacf874d3c6
[ "BSD-3-Clause" ]
permissive
jstacoder/flask-manage
0a942cef5a32b2966dc73cf14c5a58682b0af0f2
76f1802c4b7042c482dcdcc884fbc0e4fd114b5e
refs/heads/master
2020-04-19T18:18:11.872007
2014-07-02T15:24:38
2014-07-02T15:24:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# -*- coding: utf-8 -*- """ base.context_processors ~~~~~~~~~~~~~~~~~~~~~~~ The most common context processors for the whole project. """ from flask.helpers import url_for def common_context(): return { 'my_email': 'kyle@level2designs.com', 'type':type, ...
[ "kyle@level2designs.com" ]
kyle@level2designs.com
4a6230ff0f148f3c5547d32f390c7c2905610b99
89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04
/sandbox/linux/sandbox_linux.gypi
039e9b405174b708ad4fc36049f0f97c6b1ddcd3
[ "BSD-3-Clause" ]
permissive
bino7/chromium
8d26f84a1b6e38a73d1b97fea6057c634eff68cb
4666a6bb6fdcb1114afecf77bdaa239d9787b752
refs/heads/master
2022-12-22T14:31:53.913081
2016-09-06T10:05:11
2016-09-06T10:05:11
67,410,510
1
3
BSD-3-Clause
2022-12-17T03:08:52
2016-09-05T10:11:59
null
UTF-8
Python
false
false
13,026
gypi
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'conditions': [ ['OS=="linux"', { 'compile_suid_client': 1, 'compile_credentials': 1, 'use_base_test...
[ "bino.zh@gmail.com" ]
bino.zh@gmail.com
7fea42d5d6e2f953ca1bc59e1a18b1b4ebe9d8f1
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/ctypes/test/test_slicing.py
c84caaf7855f513682056335febb29c971fb9bf0
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/python-3.7.7-oihhthdoxtgh4krvzpputn5ozwcnq2by/lib/python3.7/ctypes/test/test_slicing.py
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
b9095da8a1ed6d8c33f37c41cd94d2c31737a97d
cc2f91415451ba988a009c0e68303ef6a0b083c1
/trydjango/settings.py
adefa67a5c8bcd1037fcebd4c8ffbb300e50b2d1
[]
no_license
Jordan-Rob/Jcfe-Django-tutorial
12a4ed169c37020cef2708202cb2e2279ae5a691
fa970f92943cd613c455d8db187a22ce3508e7d4
refs/heads/master
2020-12-21T13:35:24.264645
2020-01-28T16:44:12
2020-01-28T16:44:12
236,446,098
1
0
null
null
null
null
UTF-8
Python
false
false
3,316
py
""" Django settings for trydjango project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "jordanrob709@gmail.com" ]
jordanrob709@gmail.com
75ae3936f8f66921218c81a81973c7132ac7ba0c
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.5/django/contrib/localflavor/se/utils.py
3a6cdf966ef46c2f855cef9304e79e2e6bc2de00
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
104
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.5/django/contrib/localflavor/se/utils.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
008b269902e9e83c6d68e09034f245162da4c7ff
2342b8737b9ffeb9715158b8ec74a33c7a4947f6
/koku/masu/util/azure/common.py
8456c9274467140607943451c04e58784967db68
[ "Apache-2.0" ]
permissive
project-koku/koku
444d8df05da5416c9cee606c42481c99be45f13d
0416e5216eb1ec4b41c8dd4999adde218b1ab2e1
refs/heads/main
2023-08-20T11:30:17.510182
2023-08-17T18:27:30
2023-08-17T18:27:30
126,496,611
225
94
Apache-2.0
2023-09-14T17:38:08
2018-03-23T14:29:23
Python
UTF-8
Python
false
false
7,156
py
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """Common util functions.""" import datetime import logging import re import uuid from enum import Enum from itertools import chain import pandas as pd from django_tenants.utils import schema_context from api.models import Provider from masu.data...
[ "noreply@github.com" ]
project-koku.noreply@github.com
ce7cef500f46983152daf5c63552763ab26651fc
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/third_party/google/auth/metrics.py
f7303282c9410598e9ec61290b667f7e8fed6423
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
5,089
py
# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
3106a84c83a2be4575d24d0c7b941bb53fec2b47
4024383a9ba300d266611c61e358dd72880350ae
/tests/tests_top/test_topchart_music.py
18588c4711e15462f6272b5bfdbcde80654e45c4
[ "MIT" ]
permissive
dbeley/senscritiquescraper
54bed18dc7c9348a780c15338ebd472cf33feff1
8e199422475c44f0dbef53f2471066c39afec949
refs/heads/master
2023-08-16T18:12:10.008142
2023-08-04T20:51:04
2023-08-04T20:51:04
192,126,896
15
1
MIT
2022-12-08T12:40:47
2019-06-15T21:52:51
Python
UTF-8
Python
false
false
1,620
py
from senscritiquescraper.utils.row_utils import row_utils def test_music_rank(topchart_row_music): rank = row_utils.get_rank(topchart_row_music) assert rank == "1" def test_music_title(topchart_row_music): title = row_utils.get_title(topchart_row_music) assert title == "The Dark Side of the Moon" ...
[ "6568955+dbeley@users.noreply.github.com" ]
6568955+dbeley@users.noreply.github.com
4e83059941f89096991608bfcdb404009f4e710c
55ceefc747e19cdf853e329dba06723a44a42623
/_CodeTopics/LeetCode_contest/weekly/weekly2020/193/WA--193_2.py
8a599c9e2ac46086ec219372aec9f53a4f8504f7
[]
no_license
BIAOXYZ/variousCodes
6c04f3e257dbf87cbe73c98c72aaa384fc033690
ee59b82125f100970c842d5e1245287c484d6649
refs/heads/master
2023-09-04T10:01:31.998311
2023-08-26T19:44:39
2023-08-26T19:44:39
152,967,312
0
1
null
null
null
null
UTF-8
Python
false
false
968
py
class Solution(object): def findLeastNumOfUniqueInts(self, arr, k): """ :type arr: List[int] :type k: int :rtype: int """ length = len(arr) numdic = dict() for i in range(length): if numdic.has_key(arr[i]): ...
[ "noreply@github.com" ]
BIAOXYZ.noreply@github.com
dfd413d017821009e8b3b472eccf594be8be195c
6a7fc59a1fe8c7cd9593ae436b222f96538998e1
/predict/predictor.py
38afe69d4d4425feb707771c57228882a8481a4c
[]
no_license
ductri/few_shot_learning
df57919b41aa1f299cadc3dff78e3ff5eb5735d2
ae24df58df5df031e517d221173e263d630d461c
refs/heads/master
2020-04-15T02:47:16.515192
2019-01-08T09:39:38
2019-01-08T09:39:38
164,324,655
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
import tensorflow as tf import logging import pickle import numpy as np class Predictor: def __init__(self, path_to_params, path_to_model): with open(path_to_params, 'rb') as input_file: self.params_dict = pickle.load(input_file) self.graph = tf.Graph() with self.graph.as_defa...
[ "ductricse@gmail.com" ]
ductricse@gmail.com
143defc4044544ced29f3f4e5c3d0fd502f1e6cc
aad164e4efe1d55cc189c35956bfd435b14a0f52
/eve-8.21.494548/eve/client/script/ui/shared/incursionJournal.py
88318ea8ca2a754c75e8d102ce6330f315ceff56
[]
no_license
Pluckyduck/eve
61cc41fe8fd4dca4fbdcc4761a37bcfeb27ed84f
9a277707ab1f162c6bd9618faf722c0be3ea93ad
refs/heads/master
2020-12-28T23:35:29.992875
2013-05-06T14:24:33
2013-05-06T14:24:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,882
py
#Embedded file name: c:/depot/games/branches/release/EVE-TRANQUILITY/eve/client/script/ui/shared/incursionJournal.py import uiconst import uicls import uiutil from mapcommon import STARMODE_INCURSION, STARMODE_FRIENDS_CORP import uix import util import taleCommon import localization MIDDLECONTAINER_WIDTH = 200 MARGIN =...
[ "ferox2552@gmail.com" ]
ferox2552@gmail.com
ccddd8581c9ee9fa1b2814939eb690869a35b89d
0308403d211ae8161d4ea5e283ccba9118ef11fb
/djangogirls/settings.py
03ead1b5dbfb437cd6d2e1a2f59d7533b31e47ca
[]
no_license
mkone112/my-first-blog
5dfe6c1221018c8df83059e985cfc0ec1d099168
977bdd68dd07f52733d5026bc190239d01e8964d
refs/heads/master
2021-04-14T09:14:24.235240
2020-04-13T05:32:23
2020-04-13T05:32:23
249,221,525
0
0
null
null
null
null
UTF-8
Python
false
false
3,261
py
""" Django settings for djangogirls project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import o...
[ "mkone112@gmail.com" ]
mkone112@gmail.com
2b4dd33d55994aa1a2b85efdc4c041ee32c81d8d
7a1768da35f0746274b894ee170e732cc3490b19
/file_server_box_sync/aiofiles/__init__.py
049c6e4936449e1d819877e9276f9f07ac45ff89
[ "Apache-2.0", "MIT" ]
permissive
dtrodger/file-server-box-syncer-public
5bf2e06b19a0ee6f382784ff2c9b0e7218175495
6296a66352df8c06ea691922a3728aeb487ab246
refs/heads/master
2023-04-16T03:47:29.161573
2021-04-30T03:04:34
2021-04-30T03:04:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
"""Utilities for asyncio-friendly file handling.""" from file_server_box_sync.aiofiles.threadpool import open from file_server_box_sync.aiofiles import os __version__ = "0.5.0.dev0" __all__ = ['open', 'os']
[ "dtrodger20@gmail.com" ]
dtrodger20@gmail.com
1013244a8cfb3d145b496f85e28b5a7569910cea
87a1e123c3ced5c54f15f3c2d1a9dbcaaf6c4be4
/post/admin.py
7156f502d5f3a2dab2287662bb759aed8d696db5
[]
no_license
aaogoltcov/blogAPI
c73c26043a4fb4244eca617a0c3494cf98b3a2f5
232d6d2ffb412b1112be25bc4321c5011267ce45
refs/heads/master
2023-07-10T03:45:47.172277
2021-08-11T19:58:52
2021-08-11T19:58:52
391,724,564
0
1
null
null
null
null
UTF-8
Python
false
false
225
py
from django.contrib import admin from mptt.admin import MPTTModelAdmin from post.models import Post, Comment @admin.register(Post) class PhotoAdmin(admin.ModelAdmin): pass admin.site.register(Comment, MPTTModelAdmin)
[ "aaogoltcov@mail.ru" ]
aaogoltcov@mail.ru
bcd6616c0ea6410289fa174d2124d9cb3307c79a
fcf870abec4a3fe936668ed14afcded9c10e4aa3
/descnucleotide/ENAC.py
78208ab2ceb01406948e589745a25cd7baebd939
[]
no_license
sirpan/iLearn
f8d81523720245cc1ab8368aeb609511fc93af5a
507aae17d9fea3d74a7c77984f1f1750eb734f53
refs/heads/master
2023-03-22T06:55:48.791894
2021-03-17T07:23:15
2021-03-17T07:23:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,672
py
#!/usr/bin/env python # _*_coding:utf-8_*_ import re, sys, os, platform from collections import Counter import argparse pPath = os.path.split(os.path.realpath(__file__))[0] sys.path.append(pPath) father_path = os.path.abspath( os.path.dirname(pPath) + os.path.sep + ".") + r'\pubscripts' if platform.system() == 'W...
[ "noreply@github.com" ]
sirpan.noreply@github.com
eafcf4f63787fb973da921348c4467ef4b604c5f
ba784177302ac10dbb38207867f8aba3c03f5cac
/nth_of_fibb.py
048d217f543a8a2836be3c2a623789a1a7c328cd
[]
no_license
veronicaerick/coding-challenges
8adee286c423f171d59866ce8325fecc8cd1d366
d9512ec2bf26658bd2fddbaed30839fa47c10877
refs/heads/master
2020-04-06T06:56:09.664810
2016-09-09T00:51:34
2016-09-09T00:51:34
64,095,860
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
def fib(n): if n < 2: return n else: return fib(n-2) + fib(n-1)
[ "veronicaeerick@gmail.com" ]
veronicaeerick@gmail.com
f460f77829192bbc19a1f0ff08e7bac4d07a4833
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py
34797d48de53f2cc544d611c93a490e005584cce
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
10,790
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import p...
[ "noreply@github.com" ]
Azure.noreply@github.com
28d773c01a93fe55f405b13365affa72ac82f085
c8633d2e72701f103d44e98960be8e1d0032bbcf
/Opuslog/settings/common.py
ddb10849521a25a0f423e660c0ed611b3e752e46
[]
no_license
rushil02/opuslog
c3165b21bfd8a2283e19a4251f8041eb7371e443
dd34e80302551dee674b8ec700620b47e339c7a2
refs/heads/master
2021-04-27T04:45:04.165429
2016-05-20T18:19:10
2016-05-20T18:19:10
122,584,452
0
0
null
null
null
null
UTF-8
Python
false
false
4,648
py
""" Django settings for Opuslog project. Generated by 'django-admin startproject' using Django 1.9.2. 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 i...
[ "rushil0195@gmail.com" ]
rushil0195@gmail.com