blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
367554ff872d60ab6c646ecd8d43479f42fd9427
69612b4c65b303bca899d31aa9d15ff581117de4
/problem set 2/ispalindrom.py
fd05c49a89a44d87303852497e23bfa870cd262f
[]
no_license
Divya0406/python-assignments
de6032b13854c4ee222a6a820300703bab183fb3
860de5271037e7d98f92751c582e9a3342c78587
refs/heads/master
2021-09-01T19:09:21.060843
2017-12-28T10:46:15
2017-12-28T10:46:15
113,019,561
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
'''Doc: solution <problemset 2> Question : 7 Author: divya.natarajan@accenture.com Date: 04/12/2017''' n=raw_input('enter the string') l=[] for i in n: if i.isalpha(): j=i.lower() l.append(j) str1="".join(l) str2=str1[::-1] if str1==str2: print 'palindrome' else: print 'not a palindrome'
[ "divya.natarajan@accenture.com" ]
divya.natarajan@accenture.com
1ada67cfc6ed637658d9ad1b2cbe46d805ac4e7d
3f51884d052062255f6d00f79f08f8c2003c3cb3
/transistor/schedulers/__init__.py
2598b8d3b554aad7a76fe42df0ea1e1ae696f6f1
[ "MIT" ]
permissive
awesome-archive/transistor
aaf5a4b7445e8e77a1f51ef065296c037e812143
d164438474f91dd38bae693af426a0ac4187511f
refs/heads/master
2021-07-10T09:08:01.775403
2019-05-07T03:13:58
2019-05-07T03:13:58
189,194,244
0
0
MIT
2020-01-13T04:12:23
2019-05-29T09:29:53
Python
UTF-8
Python
false
false
463
py
# -*- coding: utf-8 -*- """ transistor.schedulers ~~~~~~~~~~~~ This module implements classes, functions, and methods for Transistor to ingest and export data. During ingest, it transforms target data into tasks, to be later assigned in the course of gevent based asynchronous I/O execution. :copyright: Copyright (C) ...
[ "bob@smewp.net" ]
bob@smewp.net
263feec81bd5161ad7aca3304939729b59c6e0f5
6e466112c3682338ec56c892c883284704fbb727
/bflib/restrictions/weapons.py
e21e12d074b299dcaffacd3c90e51a5f8e5dbcfd
[ "MIT" ]
permissive
ChrisLR/BFLib
5aee153aeaef72516f737abf74cf89e7ec1cb90a
2af49cc113792c4967c0c8c5bf32a1b76876e6e2
refs/heads/master
2021-01-22T17:52:58.790057
2017-11-15T17:46:56
2017-11-15T17:46:56
102,407,112
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
from bflib.keywords.weapons import WeaponWieldKeyword from bflib.restrictions.base import Restriction class WeaponRestrictionSet(Restriction): __slots__ = ["included", "excluded"] def __init__(self, included=None, excluded=None): self.included = included self.excluded = excluded class Weapo...
[ "arzhul@gmail.com" ]
arzhul@gmail.com
f6996e5f9ebb2f30995fc3f1b919ee2f3bb8e129
42008a89b43978029b0e3caa61705ee865d764c2
/Sort/Merge.py
1af991dec91ed17f0f47b45257ed270c64c49a75
[]
no_license
KennyTC/Algorithm
f8e62399be323612eadaa1250334f0b457fb96cd
3ff3fab35a6dca32209976ed9dafd9f7bba4c7c0
refs/heads/master
2023-07-07T11:12:33.926294
2023-06-22T20:34:06
2023-06-22T20:34:06
117,035,180
0
0
null
null
null
null
UTF-8
Python
false
false
2,942
py
##################################################################################### # Merge sort 1 ##################################################################################### def Sort(num): if (len(num) <= 1): return num else: middle = len(num) // 2 left = num[:middle] ...
[ "thinh.caoducvn@gmail.com" ]
thinh.caoducvn@gmail.com
c5411cd29c8f9aeedca688ecbe13376d36ff94f9
4996755289baffcc5244fc2748dafd171d2435fc
/bridge/test_bridge.py
2b4a9422bdaae01de0515f81b07f60f540e808b1
[]
no_license
marksutherland/python-playground
8df018cb0d679fd5680ecfa8df8ccab379cb3548
16b1e764a5d08a7bc3a3e33b9a049762d0466ac8
refs/heads/master
2020-05-31T15:29:33.666025
2019-06-05T08:49:31
2019-06-05T08:49:31
190,359,362
1
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
import bridge import pytest @pytest.fixture def src(): return bridge.TrafficSource() @pytest.fixture def sink(): return bridge.TrafficSink() class TestTrafficSource: def test_source_issues_traffic(self, src): vehicle = next(src) assert isinstance(vehicle, bridge.Vehicle) def sour...
[ "mark.sutherland@intl.att.com" ]
mark.sutherland@intl.att.com
d89473306bec9174411e6a5e2fc15be0571ab39e
81b61522a04ba8130ce314ff12bf801c82124edc
/sample_scenarios/sample_data.py
ba38f4609be800df723c102bdbf32be3df52ecd2
[ "MIT-0" ]
permissive
sreevaddi/amazon-qldb-streaming-amazon-opensearch-service-sample-python
70b95aa6e2e04a160f6e5751cdb2488c4066332d
da5e65a70a23f237437cf4e2683ec29eb0ed9fd0
refs/heads/master
2023-06-05T22:12:44.335881
2021-06-28T20:30:00
2021-06-28T20:30:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,881
py
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 # # 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 wit...
[ "57679544+saumehta9@users.noreply.github.com" ]
57679544+saumehta9@users.noreply.github.com
ecc46b7e2572ac0518fbb8993ff18f2697d0fd5b
deacfafba05e995a07e586cf6d5c8aee3e7936ed
/cats/views.py
5250a18661023dd34e30fcebc7959c6df8e65185
[]
no_license
syfy/dj4e-own
495505b0d76d5b18abe324057382c73ed057ce44
adf6dca636fef795eb27e486fd7e675e7d700097
refs/heads/main
2023-01-11T14:26:34.704083
2020-10-23T12:30:26
2020-10-23T12:30:26
301,067,940
0
0
null
null
null
null
UTF-8
Python
false
false
1,988
py
from django.contrib.auth.mixins import LoginRequiredMixin from django.shortcuts import render, redirect, get_object_or_404 from django.views import View from django.views.generic.edit import CreateView, UpdateView, DeleteView from cats.forms import BreedForm # Create your views here. from cats.models import Cat,Breed f...
[ "randomblitz9@gmail.com" ]
randomblitz9@gmail.com
27f8753d0cc2059925cc3f6ff3fdcc8c02913d9e
5ec74910c0c3fa39c36d64d431f637901b4de9c7
/src/bspline.py
dfc23c16a51a194f44c7d7eed901b6fae2175d66
[]
no_license
stefda/qgis-bspline
c4b75d78b8387e30f36d0b4be91fd1fa57101bac
b92f928baeb3e8c08f974f702767fc66d256f2d1
refs/heads/master
2021-08-19T08:37:58.279695
2017-11-25T14:57:04
2017-11-25T14:57:04
112,010,902
0
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
from PyQt4.QtGui import QIcon, QAction from qgis.gui import QgsMapTool from bspline_canvas import BSplineCanvas class BSpline(QgsMapTool): def __init__(self, iface): self.iface = iface self.canvas = iface.mapCanvas() self.bsplineCanvas = BSplineCanvas(self.canvas) QgsMapTool.__ini...
[ "stefda@gmail.com" ]
stefda@gmail.com
a74a8c21e9ca8c169c12c8b938e110902a53c07d
29f3e20ad07b22225a4890927b3c71bff69590d5
/apps/budget_app/urls.py
9a3a654045f29c0c80fda40ef61821f1e97565aa
[]
no_license
LiseWelch/SaveYoDough
52a9a4a86af830cb7af97b17d47d07e744dbba87
ee02e584d299f13e30d50f5e7c67e4f0633503f7
refs/heads/master
2020-12-05T01:34:13.709893
2020-05-19T19:51:48
2020-05-19T19:51:48
231,968,562
0
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
from django.conf.urls import url from . import views urlpatterns =[ url(r'^$', views.root), url(r'^accountname$', views.account_name), url(r'^cardname$', views.card_name), url(r'^edit/cardname$', views.edit_card_name), url(r'^edit/accountname$', views.edit_account_name), url(r'^payment$', views...
[ "lise.welch@outlook.com" ]
lise.welch@outlook.com
e9b7dc41e5bfc6763ef4fbfbcb30a4bd2dd80b9d
444e2142c29df554f6fb47a93ef3d77309b23ce0
/rsbb_mocap_helpers/src/FBM5_mock.py
0b28caf7732b3e711acd4853b7c28e5e0b4cb002
[]
no_license
rockin-robot-challenge/rsbb
3e5583926c2ebfac745679367b4706c7e07491ea
d200a48264d8c435afbb7bdefc54cbd5f67c361d
refs/heads/master
2021-05-10T20:10:38.648171
2020-02-18T14:15:26
2020-02-18T14:15:26
118,177,991
0
3
null
2019-04-08T22:11:57
2018-01-19T21:00:58
C++
UTF-8
Python
false
false
918
py
#!/usr/bin/env python import rospy import tf rospy.init_node('FBM5_mock') rospy.loginfo(''' FBM5 helper: Emitting 2 tfs: testbed_origin->actor_markerset and testbed_origin->robot_markerset at 120Hz. actor_markerset (x,y) = (0.5, 0.5). robot_markerset (x,y) = (1, 1) ''') # Emit transforms continuously: robot_markerse...
[ "noreply@github.com" ]
noreply@github.com
28ab99c19eab747771628ecc969b9664add8722c
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc055/A/4872849.py
d058a529a0e1165d93ce465dc51afd09472ccc13
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
75
py
N = int(input()) wari = N //15 goukei = N*800 - wari*200 print(goukei)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
1eeb7fe3b8cfc1add80f4ae3ab66c86caee92869
0ee95bef5d6beb053774f5b1d610ed4d2e24f36c
/gp/clustering.py
d1c668e1375f4937f7787afda1f71bdb35b0af52
[]
no_license
musbel/ML
9c65b34f42a702dbc890028d4c765bf0fec56041
007d60d65504d099fc93af0220449a143d472c3c
refs/heads/master
2021-01-19T23:02:23.395622
2017-06-22T18:28:49
2017-06-22T18:28:49
88,911,717
0
0
null
null
null
null
UTF-8
Python
false
false
3,131
py
import numpy as np def euclideanDist(a, b): return np.linalg.norm(a - b) # return np.sqrt(np.sum(np.power(a - b, 2))) def randomInit(dataSet, numClusters): ''' Initialise cluster centroids randomly within the data channel range. param dataSet: The data set used to bound the randomly generated cluster centr...
[ "musbel@gmail.com" ]
musbel@gmail.com
00c0b0cfc6d43856b8c8354dd1095c8801b7699e
317e68dc7045390f41b10b8aa35d593f93c507d5
/test/test_cluster_collection.py
5e158a5a71b90c0e87c505d8f2392831b6de5bad
[]
no_license
daletcoreil/facerecognition-client-python-sdk
e3302b00c4309790db6aad6f111cc86f09152c4a
50934b0ec247a4005e84652e10f679d3a7652dfb
refs/heads/master
2021-04-23T08:45:44.475121
2020-07-22T12:57:56
2020-07-22T12:57:56
249,914,273
0
0
null
null
null
null
UTF-8
Python
false
false
6,755
py
# coding: utf-8 """ Dalet Media Mediator API # Scope Dalet Mediator API allows you to submit long running media jobs managed by Dalet services. Long running media jobs include: - **Media processing** such as transcoding or automatic QC. - **Automatic metadata extraction** such as automatic speech transcripti...
[ "daletcoreil@gmail.com" ]
daletcoreil@gmail.com
75460cac58563c657d61c6eeb54d08a683795f75
bf0c69a01be86958f52dbf622f965351f418069d
/tests/test_OTF_qe_par.py
1046327ee3ae7ad81fbd7ccdbe9a93fd0e7ab607
[ "MIT" ]
permissive
mayankaditya/flare
8ac4f385dbcd72129585a71ae0c9a6de3a99a946
6ee5a76891c9bf90879b18a2e61c8c0e14d9e257
refs/heads/master
2020-09-06T23:53:28.693968
2019-11-05T16:10:08
2019-11-05T16:10:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,935
py
import pytest import os import sys import numpy as np from flare.otf import OTF from flare.gp import GaussianProcess from flare.struc import Structure import flare.kernels as en def cleanup_espresso_run(target: str = None): os.system('rm pwscf.out') os.system('rm pwscf.wfc') os.system('rm -r pwscf.save') ...
[ "lixinsun@g.harvard.edu" ]
lixinsun@g.harvard.edu
d4637675f6ebc814a613508b9e21033b465b1a09
0bbd8ecc1284c3fc989c6f251a876676454ea886
/linear_function.py
1758dcd29fb1c39389eed103da7eeab23b6a3143
[ "MIT" ]
permissive
kcosta42/Linear_Regression
f36a154bc69440de01239289699f4e0e3deace26
5a8227d29d4035fd925ba18b1b06b221a24f27f2
refs/heads/master
2020-04-07T12:38:44.336646
2019-03-11T13:22:26
2019-03-11T13:22:26
158,375,597
1
1
null
null
null
null
UTF-8
Python
false
false
276
py
import argparse import linear_regression.core as core if __name__ == '__main__': parser = argparse.ArgumentParser(description='Linear Function.') parser.add_argument("mileage", type=int, help="Mileage") args = parser.parse_args() core.linear_function(args.mileage)
[ "kcosta@student.42.fr" ]
kcosta@student.42.fr
634bb81e67269140549fa589655f9e8095636098
a920ae4837161ba75d82efaec118a73f846bab7b
/eelbrain/wxterm/about_dialog.py
65867690cdd24fa9703c50ed7c9fdfbcbcb068fc
[]
no_license
kriek197/Eelbrain
316b422e7137d32003d9c787c3aee7c444f2a438
03c06ba4517307821ff2c1811a3edd34b7274cf0
refs/heads/master
2020-12-25T09:00:40.915929
2012-03-07T16:44:31
2012-03-07T16:44:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,044
py
''' About dialog for Eelbrain wx-terminal Created on Feb 20, 2012 @author: christian ''' import wx from wx.lib.agw import hyperlink from eelbrain import __version__ from eelbrain.wxutils import Icon class AboutFrame(wx.MiniFrame): def __init__(self, parent): wx.MiniFrame.__init__(self, parent, -1, p...
[ "christian@Christian-Brodbecks-MacBook-Pro.local" ]
christian@Christian-Brodbecks-MacBook-Pro.local
c6bc86ec5c3f50f6913ae3ac44bab9ac0990b278
63e0fb2c8ea0a2202c64653e005cd86a0bdc07c0
/django_crawler/urls.py
2f90dba6d4e1ecff2adc54246da53f9098feb89e
[]
no_license
sajid1189/django-celery-crawler
046fa570282b241fa401d06cb2acebbf0647ebca
4d97081b50bcaa4089d1add273a36b7e38d0b875
refs/heads/master
2022-12-10T12:12:08.271771
2018-06-27T13:25:08
2018-06-27T13:25:08
131,742,753
0
0
null
2022-12-08T00:58:07
2018-05-01T17:33:20
Python
UTF-8
Python
false
false
873
py
"""django_crawler URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') C...
[ "sajidur89@gmail.com" ]
sajidur89@gmail.com
25bac2e561ceef5c4721971c2949fa196cda9976
6056083544548342c2d0359e52d7a025bece9a3a
/main.py
bdfa578aaeaa4149f1dd10995b3d878cc59e60e6
[]
no_license
stuartgraham/MQTTRMBot
a6cebabfa82a234db97b653e57da626d9b4dbc62
a52a76e07afe9a2892ed3e889ca2f71eb623c85d
refs/heads/master
2022-11-05T09:03:41.761656
2020-06-15T03:04:03
2020-06-15T03:04:03
272,305,015
0
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
import paho.mqtt.client as paho import os import json import logging # .ENV FILE FOR TESTING #if os.path.exists('.env'): # from dotenv import load_dotenv # load_dotenv() # GLOBALS MQTT_BROKER = os.environ.get('MQTT_BROKER','') MQTT_PORT = int(os.environ.get('MQTT_PATH', 1883)) MQTT_PUB_TOPIC = os.environ.get('M...
[ "stuart@stuart-graham.com" ]
stuart@stuart-graham.com
c0ca7ba1b11a8a6190e94a662b1a796280f654b2
cb68ce1cb373ef89e5b64408d4f20a059cc6ef51
/Crawling/urls.py
00c50c5e31401d98769bfef881df5463f0d4bfac
[]
no_license
min343/blockchain_article
b444bae54976bdf1148216c6f8e308a71435f1ea
70ca23a8f37f4aff0eace39f4ab3e9f23c29200b
refs/heads/master
2020-04-28T11:25:27.505617
2019-03-12T15:25:53
2019-03-12T15:25:53
175,238,479
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
"""Crawling URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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='home') Class-base...
[ "gyeongminlee343@gmail.com" ]
gyeongminlee343@gmail.com
a55bff47e534d20e9888cc12c2f45458ca81920b
1a041354f52cca919bd7b14c8ae42d92008c3272
/trunk/crawlers/crawler/example/example/spiders/sample_spider.py
844b0e84cfff86f4cf808e2d610a547dd4c89a83
[]
no_license
htg-nice/moon
e2e414a5b47f99158097a262bd81886c95977040
d4a9c38d881cc498006af3decd111d602a1f46a6
refs/heads/master
2020-11-23T22:30:20.347701
2019-12-13T10:12:52
2019-12-13T10:12:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,788
py
"""Spider类基础属性和方法 属性: 含义: name 爬虫名称,它必须是唯一的,用来启动爬虫 allowed_domains 允许爬取的域名,是可选配置 start_urls 起始URL列表,当没有重写start_requests()方法时,默认使用这个列表 custom_settings 它是一个字典,专属与本Spider的配置,此设置会覆盖项目全局的设置,必须在初始化前被更新,必须定义成类变量 crawler 它是由fro...
[ "1872863416@qq.com" ]
1872863416@qq.com
6c3a09d082fb3352b56c1579f9a030e4ab080677
3dab7e085b189f8e91dc7326a9035681183ce8f8
/mysite/urls.py
3bbbf3ca8a0a67223347ff8d55529308c5afe8f7
[]
no_license
yutanihei/my-first-blog
15f09c42978c7b98ef91e59729d581fc2977435a
e392ace4707445cdac967f0b651d4b9e6f323132
refs/heads/master
2020-06-24T02:00:20.640575
2019-07-25T15:13:52
2019-07-25T15:13:52
164,426,990
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "becket.japan@gmail.com" ]
becket.japan@gmail.com
9a85e7d038668da854e95506879b4851d43f12cb
f8ce1c4870ac4cccb1f33cfa22052a069710abd8
/cawachone/asset/serializers.py
9b2ec4088f6482e3c033f39cf7319b75af107ca8
[]
no_license
VacusTechnology/cawach1_backend
642ad191259226753738aceb11e17d3837214978
f3fc030c253986c8fb81bc35874b4a570d40fc3d
refs/heads/main
2023-04-14T10:54:40.479407
2021-04-09T10:07:47
2021-04-09T10:07:47
352,951,060
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
from rest_framework import serializers from .models import AssetHealth class AssetSerializers(serializers.Serializer): studentName = serializers.CharField(max_length=50) tagId = serializers.CharField(max_length=30) registrationNo = serializers.CharField(max_length=20) department = serializers.CharFie...
[ "sanjubodagalla@gmail.com" ]
sanjubodagalla@gmail.com
10d89ed1d17e8572bb63675e344f1d2dfc6ff8fe
0c31446b67a5c41fa0a2ef54fafb119a854642f4
/config.py
efd76b15e6f4740aca7510a5c730a0bd031b49c6
[ "MIT" ]
permissive
koyoo-maxwel/Personal-Blog
1f6e6c381e7c0816e3d94196641e73af8de4bd3c
dcfc2421f1cd129dc5b3dd6c97b76ff9516862e8
refs/heads/master
2022-12-08T13:24:45.265502
2018-09-19T06:26:23
2018-09-19T06:26:23
148,798,878
0
0
MIT
2022-12-08T02:56:06
2018-09-14T14:20:20
Python
UTF-8
Python
false
false
884
py
import os class Config: SECRET_KEY = os.environ.get('SECRET_KEY') SQLALCHEMY_TRACK_MODIFICATIONS = False UPLOADED_PHOTOS_DEST = 'app/static/photos' #email configurations MAIL_SERVER = 'smtp.googlemail.com' MAIL_PORT = 587 MAIL_USE_TLS = True MAIL_USERNAME = os.environ.get("MAIL_USERNAM...
[ "koyoomaxwel@.com" ]
koyoomaxwel@.com
0154e2ac78f14a7410b770b150e247640bbd0bda
706fd5c86fe526f26e2b42fba9e7617959ec45ea
/Singleton/Singleton.py
1a62326ac30d71d5246f5a6cf4d32fc11391328e
[]
no_license
rmartinez2/Python_Design_Patterns
ea4654637ad624631fda15ef7f42e4c4cadd2aeb
df6a47307bd57baec3ae5daa9df24587bad05c58
refs/heads/master
2021-04-27T19:10:10.721429
2018-02-21T15:22:04
2018-02-21T15:22:04
122,352,845
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
''' Created on Oct 30, 2017 @author: rene ''' class Singleton(object): ''' classdocs ''' def __new__(cls): if not hasattr(cls, 'instance'): cls.instance = super(Singleton, cls).__new__(cls) return cls.instance
[ "rmartinez@knights.ucf.edu" ]
rmartinez@knights.ucf.edu
98ae49cc4f9efdbb765230a3157360b3e6d55412
ddf281e1afdba84111f6a9fab296c3ca4c2a84d2
/main.py
391b78c281e61cf6ebb11b26b5468d15c368e3f7
[]
no_license
sarahshekeran/Naive-Webpage-Predictor
e89bdd98f028df15e8ef43ced3ea9f2fb009152e
f8af9dd94d87f1fa1485896209abd40b6f83e202
refs/heads/master
2020-12-24T12:33:44.984376
2016-11-06T09:36:40
2016-11-06T09:36:40
72,980,547
1
0
null
null
null
null
UTF-8
Python
false
false
6,199
py
############################################################################################ ##########################################STATISTICS######################################## ############################################################################################ def statistics(actualClassList, predicte...
[ "sarahshekeran@gmail.com" ]
sarahshekeran@gmail.com
8520cda3561bf8b7c960f8602b2bced270173fa2
7c0acdc46cfce5dc116d394f6990ee5ab1c0fa0c
/venv/lib/python3.7/site-packages/builders/logger.py
2315b5710fc7b44fd1e8f35c660d87e62010e1e9
[ "MIT" ]
permissive
Vatansever27/ExchangeCode
84fb4a02371fdda7cd94d00971be76bcd1068be0
ab284653a337937139a9a28c036efe701fb376c7
refs/heads/master
2020-04-07T16:38:59.819929
2018-11-21T12:18:30
2018-11-21T12:18:30
158,537,067
0
0
null
2018-11-21T12:18:31
2018-11-21T11:22:14
null
UTF-8
Python
false
false
284
py
''' Created on Sep 10, 2013 This module holds logger configuration for builders @author: pupssman ''' import logging logger = logging.getLogger('builders') logger.setLevel(logging.INFO) handler = logging.StreamHandler() handler.setLevel(logging.WARN) logger.addHandler(handler)
[ "doguhan@puentedev.io" ]
doguhan@puentedev.io
e944ac632c5986200ef656717afb0a52d305c33e
5ec48e90f711c9514a6d2ee36dbb46bc1ba71b74
/shop/urls.py
c552e41a6565ef31e6acd61ea30c24f84cf3f152
[]
no_license
hanieh-mav/hanieh_shop
1ca5042fefb970459d9f48fb716a95fec6a530bb
b7cf253e11b6c167e78b245f253a8d057f435026
refs/heads/main
2023-06-10T16:37:26.385048
2021-07-07T14:19:58
2021-07-07T14:19:58
372,892,835
2
0
null
2021-07-07T14:19:59
2021-06-01T16:19:48
CSS
UTF-8
Python
false
false
443
py
from django.urls import path from .views import home , category_detail , ProductDetail app_name = 'shop' urlpatterns = [ path('',home,name='home'), path('page/<int:page>',home,name='home'), path('category/<slug:slug>',category_detail,name='category_detail'), path('category/<slug:slug>/<int:page>',cate...
[ "h.mehdiabadi@gmail.com" ]
h.mehdiabadi@gmail.com
762943d57d73a42813fd826e1b0c4f6d17f17cc5
c7f479a55a005bafa979d9d15cc45886121a0b97
/ClassDef.py
7eded3d5f63d6896ce099ab29a3d25faad0a76e7
[]
no_license
LucasHynes/Truck-Scheduling-Software
5324ca1edb3a82df69a6d9de170fbb71e01cabe5
75e13fd409a3eb3993314d1f595b876e151a59ab
refs/heads/main
2023-02-26T20:51:38.697690
2021-02-08T21:26:07
2021-02-08T21:26:07
337,213,270
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
# Class definition for the route a truck takes, holds the truck, the delivery list (dictionary with location as key and # list of packages as the associated values) and packages applied which holds the total number of packages that the # truck is carrying class Route: def __init__(self, truck, deliveryList): ...
[ "noreply@github.com" ]
noreply@github.com
df7281a7926eb33f1778ef246c2fdeca5fbffa99
aafc9140c662fcb2b36fb092cbf861d80e4da7e9
/examples/misc/chained_callbacks.py
87879ff42488aca6c81fd210a4a5cc2f14054791
[]
no_license
alecordev/dashing
12fb8d303143130f3351c8042615a0f7497f59cf
aac810147f8459834b6c693291b1276e8a84c36e
refs/heads/master
2023-02-18T08:55:22.410205
2022-04-07T08:17:37
2022-04-07T08:17:37
99,436,393
0
0
null
2023-02-16T03:20:21
2017-08-05T17:01:29
CSS
UTF-8
Python
false
false
1,473
py
import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output external_stylesheets = ["https://codepen.io/chriddyp/pen/bWLwgP.css"] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) all_options = { "America": ["New York City", "S...
[ "alecor.dev@gmail.com" ]
alecor.dev@gmail.com
be302e0706e2794ea3306d1e0fd8b9e27cb8dd64
0eb245b181d0455cb810bd188c0e5607f7702f88
/impacts/composites_VAR_PV_ninio.py
a9cbc5060d2dc9c2196c65cd382e8f32c41aca0a
[]
no_license
marisolosman/ENSO_SPV_SH_climate
1d3601cfa793dbce4de5db4f8e9e5c20839bab09
7128f0f620698145dbcf69e53c19786973006423
refs/heads/master
2023-02-08T13:56:46.220639
2020-12-29T20:52:48
2020-12-29T20:52:48
325,384,684
0
0
null
null
null
null
UTF-8
Python
false
false
21,092
py
#composites on PV years conditioned on ENSO strength import sys import numpy as np import xarray as xr import os import regional_plots import plots NAME = sys.argv[1] os.environ['HDF5_USE_FILE_LOCKING'] = 'FALSE' PATH_DATA = '/pikachu/datos/osman/assessment_SH_zonal_asymmetries/data/' FIG_PATH = '/pikachu/datos/osman/a...
[ "marisolosman17@gmail.com" ]
marisolosman17@gmail.com
4f122446d7f74b618c9d6df7407213c5b1993795
70744b927246edb4cfdc405bd3528513d9ea9ded
/envios/autocomplete_light_registry.py
cd1e842920390dfa7c8bab2e7b617952f2f99540
[]
no_license
jesusmaherrera/enviamexpaisano
e0616cbba47a4b4bddc897fbf2244d92c59c10fd
dd9e3e8270616a8cb73704dc7076791e36ecc98f
refs/heads/master
2016-09-06T04:30:19.848954
2013-06-07T06:05:27
2013-06-07T06:05:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
import autocomplete_light from cities_light.models import City autocomplete_light.register(City, search_fields=('search_names',), autocomplete_js_attributes={'placeholder': 'Nombre de la ciudad..'}) autocomplete_light.register(City, search_fields=('name',), autocomplete_js_attributes={'placeholder': 'Nombre de...
[ "jesusmaherrera@gmail.com" ]
jesusmaherrera@gmail.com
78e17f3ea34ab5a4ecd6bd202a092b8458632b53
09177e23d13495397289bfeb2459c1b80345c9f1
/Prediction.py
bfaba616389568b03e19db8a2cda8d96b97182ae
[]
no_license
firfre/Chinese-Text-sentiment-analysis-with-key-word
26e36f202d1cf2edf43a7e20d391ccba7137e8bb
5032f4b189e9fe1ecad8c5e465b39c37731d954f
refs/heads/master
2020-03-21T22:10:36.447620
2018-07-01T19:20:24
2018-07-01T19:20:24
139,109,021
3
1
null
null
null
null
UTF-8
Python
false
false
1,633
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jun 27 13:47:53 2018 @author: maorongrao """ ## clean raw test text file def PreTest(testFile,maxlen=6): f = open(testFile, 'r', encoding='utf-8') line = f.readlines() f.close() test = pd.DataFrame(line, columns=['review']...
[ "noreply@github.com" ]
noreply@github.com
b08337bf026daf3055020171f6702cb6d31ed87b
2c541e4a960ec6abe18ba288b865eacd03efb7f4
/tests/test_constructor.py
07cd53689797712d2bcefd15dfa32c88339dd1d6
[ "Apache-2.0" ]
permissive
EFXCIA/Infoblox-API-Python
452f393a07735513b98f2607a8e38130ed24e8b0
a181c70c6aaddbdca1c362c04daceef189bb24f1
refs/heads/master
2020-04-05T14:58:58.226422
2018-10-17T20:58:53
2018-10-17T20:58:53
46,722,108
5
6
Apache-2.0
2018-10-02T14:54:47
2015-11-23T13:31:36
Python
UTF-8
Python
false
false
907
py
from infoblox import infoblox from . import testcasefixture class TestConstructor(testcasefixture.TestCaseWithFixture): fixture_name = 'alias_add' @classmethod def setUpClass(cls): super(TestConstructor, cls).setUpClass() def test_iba_host_is_set_from_init(self): self.assertEqual(se...
[ "jpt@jeffx.com" ]
jpt@jeffx.com
18930ec02640d88d9249a496421df84a048f1e75
f1a3bd9ad5ef76204c24dc96f113c405ece21b6d
/main/migrations/0082_auto__add_field_profile_email_notifications__add_field_profile_email_n.py
833ee2eb84ebdd15ca7fc46600cfbce256d7e61f
[]
no_license
JamesLinus/solidcomposer
02f83c3731774e8008d46b418f3bf4fb5d9dab36
ed75e576ce1c50487403437b5b537f9bfbb6397e
refs/heads/master
2020-12-28T23:50:06.745329
2014-01-24T02:34:41
2014-01-24T02:34:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,625
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Profile.email_notifications' db.add_column('main_profile', 'email_notifications', self.gf(...
[ "superjoe30@gmail.com" ]
superjoe30@gmail.com
29a2cd8efc2aaa2e4516c00dfb1c4ee3a55e932d
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fiftyPercent/rank_2j1k_T.py
01f79cb0649b2afd54bbb504d7a26370bac53377
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,390
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
a343e4a664a97534f3e990ab3baf3816c527e80b
c936c38cc87ec3b9d6e2f99da38129aaed311f05
/sentimentapp/documents/views.py
c6c7f889199c1a1eff5e35d74b6161e56dbc5ec9
[]
no_license
HareeshBahuleyan/sentiment-webapp
daf65a3868a8e950037bc6ca10bf83a046030f98
863c775f615e4c24d40f37e987a2d16ed8ba9f78
refs/heads/master
2021-01-12T09:37:46.444405
2016-12-12T00:03:24
2016-12-12T00:03:24
76,206,163
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
from django.shortcuts import render from django.http import HttpResponse from django.template import loader from django.http import Http404 from django.shortcuts import render, get_object_or_404 from mlclassifiers import all_taggers # Create your views here. def index(request): template = loader.get_template('docu...
[ "hareeshbahuleyan@gmail.com" ]
hareeshbahuleyan@gmail.com
811b3571c834932f18922b24d3b1066e4b61ca6c
2d42a958ba37ff00c7b198c76cf7c01ef27cbb30
/flex/migrations/0021_auto_20190819_1403.py
24a505329eee6d3f48374f5174c9f28cd7c8483b
[]
no_license
luminous-digital/YG-Corp.
2501602d50f22284dad7c0f478da760cf5ae6eb6
157f21fd7876524e02747cf5a45bff9e86d916d2
refs/heads/master
2023-08-05T03:48:30.135069
2019-10-03T13:25:48
2019-10-03T13:25:48
194,648,768
0
1
null
2023-07-22T09:47:40
2019-07-01T10:08:23
Python
UTF-8
Python
false
false
39,492
py
# Generated by Django 2.2.4 on 2019-08-19 14:03 from django.db import migrations import streams.blocks import wagtail.contrib.table_block.blocks import wagtail.core.blocks import wagtail.core.fields import wagtail.documents.blocks import wagtail.embeds.blocks import wagtail.images.blocks import wagtailmedia.blocks imp...
[ "34714976+piotrkrych2@users.noreply.github.com" ]
34714976+piotrkrych2@users.noreply.github.com
756b17e6fd94d53d19546d24156ec493e26723a8
d34f08169b24979b25bd59e3b044d8a276836dc7
/latentneural/plot/lorenz_behaviour_weights.py
e239ff9232a79d1a003cf4f19967691aae3a3560
[]
no_license
alessandrofacchin/msc-project
bb1041413b36d3317d7b5eebb84c03b8aa0c51cf
254a4dd91fa9b7ecd1815a2b96a84525cf67117b
refs/heads/main
2023-08-31T10:06:23.625077
2021-10-21T10:20:40
2021-10-21T10:20:40
351,514,716
0
1
null
2021-08-13T07:44:20
2021-03-25T17:05:52
Jupyter Notebook
UTF-8
Python
false
false
1,058
py
import pandas as pd import numpy as np import plotly.express as px def lorenz_behaviour_weights(condition: int, behaviour_w: np.ndarray): data = pd.DataFrame({ 'weight': behaviour_w[condition, :, :].flatten(), 'latent': [np.floor_divide(i, behaviour_w.shape[-1]) for i in range(behaviour_w[conditio...
[ "noreply@github.com" ]
noreply@github.com
12d872cab906f42afbe2856a0242e004ff7c7afb
68b257b1651d8581b090d62c11fef402cce545c8
/citrination_client/data/ingest/__init__.py
40d27d0382fbc7a1833186d49c38b645667e5b0f
[ "Apache-2.0" ]
permissive
CitrineInformatics/python-citrination-client
60e31f9a51ec3065a795b8c219b068b962d7d13f
2cda4dd2a600224acd4e19ae2df66a922dd93342
refs/heads/develop
2021-08-01T07:48:51.994046
2020-07-21T22:07:50
2020-07-21T22:07:50
39,215,340
20
18
Apache-2.0
2021-07-22T22:26:46
2015-07-16T19:10:36
Python
UTF-8
Python
false
false
194
py
from citrination_client.data.ingest.ingester import Ingester from citrination_client.data.ingest.ingester_list import IngesterList from citrination_client.data.ingest.client import IngestClient
[ "tludlum@citrine.io" ]
tludlum@citrine.io
7d1beb04eb3b36f9e84c0b6be1e4afabffd11775
997b4268d71db634d1dfd5cca61f1175a955e8b0
/DataStructures/stack.py
2114fb6215a760e74da88d3d48d8529aeb38aea7
[]
no_license
kaushikamaravadi/Python_Practice
ec04b7756cd54cf0411d4558f4ca0ef10910c5e6
f6e1c8b72ede73bc42b89d0f5693be2b16765090
refs/heads/master
2020-04-06T03:55:34.208816
2017-06-26T03:49:59
2017-06-26T03:49:59
83,100,997
1
0
null
null
null
null
UTF-8
Python
false
false
945
py
class Stack: def __init__(self): self.items = [] def is_empty(self): return self.items == [] def push(self, item): self.items.append(item) def pop(self): return self.items.pop() def peek(self): return self.items[len(self.items) - 1] def size(self): ...
[ "kaushik.amaravadi@gmail.com" ]
kaushik.amaravadi@gmail.com
b5f7ae57709b4e71dc5f4244a16c54a5030b61b7
b16550320baa4368a398b99299037f483fa08ef1
/cohpy/python_resources/migrations/0001_initial.py
7119a5aba4b303c2e908537bb3d111fdd71d8ad1
[]
no_license
cohpy/cohpy.org
8c1afffae0dc8e6eb4db9d6850a658834e8c5f29
5060b83630fb14920b3ac3450ffe4c22ff09e007
refs/heads/master
2022-08-31T06:36:46.544133
2022-07-28T22:50:41
2022-07-28T22:50:41
35,778,450
2
2
null
2022-07-28T22:50:42
2015-05-17T18:56:23
HTML
UTF-8
Python
false
false
1,189
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(ver...
[ "janmilosh@gmail.com" ]
janmilosh@gmail.com
748eb1b3110d4ce4036007555737afa714ca4d1e
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/rdbms/azure-mgmt-rdbms/generated_samples/mysql/virtual_network_rules_create_or_update.py
d18659e34af6cf458a211fb1e990c431312e142a
[ "MIT", "LicenseRef-scancode-generic-cla", "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
2,010
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" ]
noreply@github.com
3c847673e4923a5baea90af669454f78080e3357
e10fbbd9a51b49887b395285f3a4f39b0dd10893
/src/host_moniter/settings.py
5a418f3095438f16756fae86f364de698ce40c83
[]
no_license
wangjiaqi-/host_moniter
72c2d25df679df0522c9d41072290cc2a8744696
d2527f9910de3a497f36ddb076e00cbbf6dc71e0
refs/heads/master
2021-01-10T01:35:31.574516
2016-01-27T10:12:50
2016-01-27T10:14:48
50,496,866
0
0
null
null
null
null
UTF-8
Python
false
false
3,031
py
""" Django settings for host_moniter project. Generated by 'django-admin startproject' using Django 1.8.3. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build...
[ "wangjiaqi@qingting.fm" ]
wangjiaqi@qingting.fm
bce71ef4ba2e169afb348c32d71a357d671e47a2
02424df5eeb97faa36d9d85c167f597e13e0f695
/Demo/SampleFirefox.py
e0cfe4918cbda39501694003d5985461234c0879
[]
no_license
soumyansh/SeleniumDemo_Python
0135e56883b5f64f4087fae275e0b8588d2a550a
4484a57ed90fc701bc2523e8dc26424e40cce55f
refs/heads/master
2020-04-09T21:17:56.168262
2018-12-06T00:54:28
2018-12-06T00:54:28
160,597,686
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
import time from selenium import webdriver driver=webdriver.Firefox(executable_path="../Executables/geckodriver.exe") driver.set_page_load_timeout(30); driver.get("https://www.google.com") driver.maximize_window() driver.find_element_by_name("q").send_keys("Hello world") time.sleep(5) driver.quit() print("Test Com...
[ "soumyansh@gmail.com" ]
soumyansh@gmail.com
949a06c862c4e3dbc3d8fce73b80368c7088991c
031e60d313bcdc60a2ec3e710f36a4bc308d6efa
/PANDAS_SERGIO_2.py
ddb33398fea4fb6964fe1220bab9a72e6a0148e4
[]
no_license
Biroguuu/PANDAS
8aa0b00bf7724273a31bef9f328a36f13b6b0f90
d4aad79c6caa0ca68108e73413a6dd50e42e4b72
refs/heads/master
2020-09-17T03:11:53.431464
2019-11-25T14:42:45
2019-11-25T14:42:45
223,970,620
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
#EXPT 8_ PROBLEM 2 _ SERGIO _ 2ECE-A import pandas as pd cars = pd.read_csv('cars.csv') cd = pd.DataFrame(cars, columns = ['Model', 'mpg', 'cyl','disp','hp','drat','wt','qsec','vs','am','gear','carb' ]) #A print(cd.iloc[1:10:2]) #B print(cd.iloc[:1]) #C print(cd.loc[[23],['Model','cyl']]) #D print(cd...
[ "noreply@github.com" ]
noreply@github.com
fb2a5ba96ca24f614cac37db2dbc94f81c00928d
e838076bc1c8aedbb8c77710b1a1a32efc3a4da1
/site_selection/migrations/0002_siteselectionselectedsites.py
6d1aaf6ccd16ac174ac7cf7e4c86b045fbcf5e69
[]
no_license
abbasgis/ferrp
5f2f7768f0e38e299498c2e74379311698b6321f
77736c33e7ec82b6adf247a1bf30ccbc4897f02e
refs/heads/master
2023-05-25T09:59:45.185025
2021-06-12T09:15:07
2021-06-12T09:15:07
376,236,936
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-11-15 20:28 from __future__ import unicode_literals import django.contrib.gis.db.models.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('site_selection', '0001_initial'), ] ope...
[ "abbas123@abc" ]
abbas123@abc
3b08994748c30a31baf779c095991557e4427e44
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/rasbt_mlxtend/mlxtend-master/mlxtend/classifier/softmax_regression.py
04e5d621bb0f443e834b5ed9ae559e12551abd2b
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
5,868
py
# Sebastian Raschka 2014-2017 # mlxtend Machine Learning Library Extensions # # Implementation of the mulitnomial logistic regression algorithm for # classification. # Author: Sebastian Raschka <sebastianraschka.com> # # License: BSD 3 clause import numpy as np from time import time from .._base import _BaseModel fro...
[ "659338505@qq.com" ]
659338505@qq.com
c52a4a969c82465af49bfbd1a29225e9aec50a10
4ed038a638725ac77731b0b97ddd61aa37dd8d89
/cairis/mio/GoalsContentHandler.py
b44493b44231270bdbf5c2611db7bf07b9c58cee
[ "Apache-2.0" ]
permissive
RachelLar/cairis_update
0b784101c4aff81ff0390328eb615e335301daa2
0b1d6d17ce49bc74887d1684e28c53c1b06e2fa2
refs/heads/master
2021-01-19T06:25:47.644993
2016-07-11T20:48:11
2016-07-11T20:48:11
63,103,727
0
0
null
null
null
null
UTF-8
Python
false
false
12,306
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may...
[ "shamal.faily@googlemail.com" ]
shamal.faily@googlemail.com
a2e126193720517843439923118b13b875d7f842
bd2a3d466869e0f8cb72075db7daec6c09bbbda1
/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_paged_models.py
fdec95712a6365532286786ba2a82a0e79c2e307
[ "MIT" ]
permissive
samvaity/azure-sdk-for-python
7e8dcb2d3602d81e04c95e28306d3e2e7d33b03d
f2b072688d3dc688fed3905c558cff1fa0849b91
refs/heads/master
2021-08-11T21:14:29.433269
2019-07-19T17:40:10
2019-07-19T17:40:10
179,733,339
0
1
MIT
2019-04-05T18:17:43
2019-04-05T18:17:42
null
UTF-8
Python
false
false
3,607
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 ...
[ "laurent.mazuel@gmail.com" ]
laurent.mazuel@gmail.com
e5ba4b9708509eb9cc9c94f851073b83b2994f65
a795e0be6eee0ec6d064874203cbe1688298c245
/compilebot/tests/__init__.py
0eaec7de78281390e79e1d42b2a3b7d7ac55a6f4
[ "Apache-2.0" ]
permissive
turbidsoul/compilebot
6f8b059034d60ee426b3e778eefc5772725c6cea
0af990ac1ae9959f39943dd8e275d3b2f52c4e00
refs/heads/master
2021-01-17T05:56:48.495802
2014-06-05T00:55:57
2014-06-05T00:55:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
__all__ = ['test_reply', 'test_compiler']
[ "renfredxh@gmail.com" ]
renfredxh@gmail.com
0f478534f7fcad7d99d58f79b2fc2d2cc39d3729
d2332604fc80b6d622a263b2af644425a7e703de
/fast-track/dynamic_programming/11_decode_ways.py
24d39552909846b648b35486f8055c00aeb4d3b3
[]
no_license
abhijitdey/coding-practice
b3b83a237c1930266768ce38500d6812fc31c529
6ae2a565042bf1d6633cd98ed774e4a77f492cc8
refs/heads/main
2023-08-14T23:31:06.090613
2021-10-18T21:35:56
2021-10-18T21:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
""" A message containing letters from A-Z can be encoded into numbers using the following mapping: 'A' -> "1" 'B' -> "2" ... 'Z' -> "26" To decode an encoded message, all the digits must be grouped then mapped back into letters using the reverse of the mapping above (there may be multiple ways). For example, "11106" ...
[ "ashiz2013@gmail.com" ]
ashiz2013@gmail.com
810bc6070fc17d274aaf6c2ad701d18bc4e692f3
98e0365589f67f47e65f14ae56c9e8428f0bfda0
/demo/process.py
d91a855afc1e7a475f75b09b4bea8ef2b507a357
[]
no_license
xiaohongxiao/study_tensorflow
77f06be42c0c039b89941c00da762311f05baac6
d3c0d1a76243c8d1c7de199a3d1be357cd3a1d99
refs/heads/master
2020-04-19T02:01:58.453324
2018-09-28T05:34:21
2018-09-28T05:34:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
import threading from multiprocessing import Pool from multiprocessing import Process import os, time, random # 子进程要执行的代码 # def run_proc(name): # print('Run child process %s (%s)...' % (name, os.getpid())) # # # if __name__ == '__main__': # # print('Parent process %s.' % os.getpid()) # # p = Process(targe...
[ "664395856@qq,com" ]
664395856@qq,com
a13718649c9674470c959c1298fc5fbc8765c7d3
4755c6e7a9312b122e1e38911fdbd89860700d9b
/signal/event_handler/telegram/api.py
6a082cea475135d9eb177f588698183696a1212f
[]
no_license
alex-shostak/Smart-house
b15f6e49b1b4578548ec39c3d3ad02f53d265607
3d10172c8d978c378bbda93b16f61c82c60cc1bc
refs/heads/master
2021-06-07T09:27:46.881609
2020-02-01T21:28:43
2020-02-01T21:28:43
167,862,127
0
0
null
2021-06-02T00:03:00
2019-01-27T21:43:30
Python
UTF-8
Python
false
false
965
py
import requests import json import urllib class TelegramApi: @staticmethod def send_message(token, chat_id, text, reply_markup=None): if reply_markup: reply_markup_str = f'&reply_markup={json.dumps(reply_markup)}' else: reply_markup_str = '' encoded_text = urlli...
[ "shostak.alexandr92@gmail.com" ]
shostak.alexandr92@gmail.com
178ff933254be13ad357c343e9bbb508a6eab433
cc98c4be8441989e35765f2916e646825a161912
/input_data_generator.py
94ed29a7199643abf61902721c89f2715c0ab6ee
[]
no_license
alcatraz47/Fraud_Detection_From_Image_Video
9ff445aa46313c58c49bace280cfe75bf5424ff5
0a70ad7f6722fd58cd829056b06e81a775f010f0
refs/heads/master
2020-05-27T02:29:04.322476
2019-05-24T16:13:14
2019-05-24T16:13:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,548
py
import numpy as np import argparse import cv2 import os import imutils import glob import time from imutils.video import FPS ap = argparse.ArgumentParser() ap.add_argument("-i", "--input", type=str, required=True, help="provide path to input video") #ap.add_argument("-m", "--model", type = str, required =...
[ "noreply@github.com" ]
noreply@github.com
5f30e1fc73a1e80126a3f8b8ee30cb3f48b3bf0b
6c40a86ed4aa8ca87c25db905f4b6e3a92116646
/blog/models.py
65d6eb1b7c094c97f9c0cd3eb23b002984199c1b
[]
no_license
jones2130/suorganizer
054d8ecc515192a137c4697bd168c7ac7c37e7b9
13b32c531736ec5dd533bec241155f50411fbb8f
refs/heads/master
2021-01-10T09:19:21.999797
2016-04-10T22:03:37
2016-04-10T22:03:37
55,371,286
0
0
null
null
null
null
UTF-8
Python
false
false
1,792
py
from __future__ import unicode_literals from django.core.urlresolvers import reverse from django.db import models from organizer.models import Startup, Tag class Post(models.Model): title = models.CharField(max_length=63) slug = models.SlugField(max_length=63, unique_for_month='pub_date', help_text='A label ...
[ "jjones@cfday.net" ]
jjones@cfday.net
7a62e63ec33c6a721101fbb0aa531df4b9d7da79
5704857e912ab2f7f1b04bd3fb1d09c493a4bfc4
/CNV_analysis/reva_parallelization.py
05dfd107672fd9d7875d778789199c08e092ed82
[]
no_license
johnholt2915/bioinformatics
a9fc3e6ef5658b4316ef36db9f1036e6ab94b4d7
ddb06d58c9cc43b9d838059a868083df10d861e2
refs/heads/master
2021-06-28T06:30:34.638464
2019-04-24T14:23:52
2019-04-24T14:23:52
99,173,448
0
0
null
null
null
null
UTF-8
Python
false
false
7,671
py
import os import sys import time from itertools import combinations import subprocess from math import ceil def room_for_data(dir): p = subprocess.Popen(["df",dir],stdout=subprocess.PIPE,stderr=subprocess.PIPE,shell=True) out,err = p.communicate() for s in out.split(' '): try: sp = s.sp...
[ "holtj02@Johns-MacBook-Pro.local" ]
holtj02@Johns-MacBook-Pro.local
e539a58e7e173ca0533c933bdc9f944a3fa9ab3a
217b5991d6ad0a237947e1abf48d2a65840fd5ea
/torch_exp/resnet.py
810854d4b182d35e761c85bb170b045c4a9819c4
[]
no_license
aqbewtra/recycling-classifier
c135e79c123ff5e53bcb723946405594c1d3bed2
96c6b93164c750cec9602cfb8ca49c89950666c5
refs/heads/main
2023-03-24T22:23:59.130204
2021-03-26T13:00:38
2021-03-26T13:00:38
350,901,523
0
0
null
null
null
null
UTF-8
Python
false
false
3,721
py
import torch import torch.nn as nn import torch.nn.functional as F import torch.nn.init as init from torch.autograd import Variable class LeNet(nn.Module): def __init__(self, n_classes=10): super(LeNet, self).__init__() self.conv1 = nn.Conv2d(3, 6, 5) self.conv2 = nn.Conv2d(6, 16, 5) ...
[ "aqbewtra@gmail.com" ]
aqbewtra@gmail.com
1ed9e1cd4872c4b40edef7c112695edd51457f4a
170cc1ac457b827dd9e5a54f0ca5434b36454ba7
/PC13.py
20970b7ba776cbdebf34afca0c8e289daebac93f
[]
no_license
dylan-pham/Python-Challenges
3354fd1ddd8b57646de7d27590ec2d0efb3d5a8e
978153c70724b4e1f77036036d12a75bea635325
refs/heads/master
2020-04-06T21:59:43.647712
2018-11-22T18:00:15
2018-11-22T18:00:15
157,819,630
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
import xmlrpc.client server = xmlrpc.client.ServerProxy("http://www.pythonchallenge.com/pc/phonebook.php") print(server.system.listMethods()) print(server.phone("Bert")) # from python challenge 12, check PC13.jpg, "Bert is evil" # 555-ITALY
[ "32346117+pham-d@users.noreply.github.com" ]
32346117+pham-d@users.noreply.github.com
ecb99f3b0a5eebd8bd99cd351d11bd2d457ca02d
e49a78a226bc46051f9c1d59ffdd3714ef68b845
/pox/pox/ext/plot_aggregate_throughput.py
95608553d9b1715b03a8707f08a986811f23c078
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
onlylukejohnson/DCell-repeat-experiment
28381755dbe9800926b47bf0059b996b559279ff
c9353d0248ad90bb6ae15381612f76708c52762d
refs/heads/master
2021-05-06T10:50:46.054016
2017-12-13T21:55:57
2017-12-13T21:55:57
114,171,131
0
0
null
null
null
null
UTF-8
Python
false
false
1,556
py
from helper import * import plot_defaults from matplotlib.ticker import MaxNLocator from pylab import figure import argparse import itertools import os parser = argparse.ArgumentParser() parser.add_argument('--directory', '-d', help="Iperf output dir to crawl", required=True, action="store") parser.add_argument('--...
[ "onlylukejohnson@gmail.com" ]
onlylukejohnson@gmail.com
0653255d72b56303499352f3c256954ea71f953d
0ad31944ad7b8031f40e19f9d2f2623ec17a3658
/temp-reporter/main.py
cdaeaf8f0d124dda104b72c8ff2f4c5753ce5fec
[]
no_license
gentoopng/Temp-Reporter
1654a34ecb4a1b51cafd9dd3f5a81b04d5781515
c9a0dd457bf67b9ad73f0047c6e85fba46ff6689
refs/heads/master
2022-11-07T17:08:28.175869
2020-06-22T01:48:00
2020-06-22T01:48:00
273,705,232
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
import GetTemp, Tweet import time, datetime interval = 60 # in minute(s) get = GetTemp.GetTemp("/dev/tty.usbmodem14401", 115200) tweet = Tweet.Tweet() prevmin = 0 nextmin = 0 def makeContent(): values = get.getFromArduino() temp = values["temp"] humidity = values["humidity"] thi = int(get.calcTHI...
[ "58542728+gentoopng@users.noreply.github.com" ]
58542728+gentoopng@users.noreply.github.com
56ce3a48941ce89542ddc6157696922a6d578227
9b6d3bc77d43a2c06bf0bb1d517c309ec4a3a8ef
/record_arrivals.py
938369a6bf5490884fbe78ed714ea0d4c3762f5a
[]
no_license
YoRyan/clumpmetro
5a26ab2e89c03929c87f9a2bd2a05121e551c9a6
eed8ed52e5dd28c536797bfb761f37b8fa540fcc
refs/heads/master
2020-03-11T00:04:47.384652
2018-04-30T08:32:51
2018-04-30T08:32:51
129,654,662
0
0
null
null
null
null
UTF-8
Python
false
false
2,595
py
#!/usr/bin/env python3 # use me: ./record_arrivals.py 559 4039 591 610 2821 >dump.csv import json import sys import urllib.request from datetime import datetime, timedelta from socket import timeout from time import sleep __author__ = "Ryan Young" __email__ = "rayoung@utexas.edu" __license__ = "public domain" def g...
[ "rayoung@utexas.edu" ]
rayoung@utexas.edu
3bb3f0f26c82d632406baf4da93d54a98e633d87
474e74c654916d0a1b0311fc80eff206968539b1
/venv/Lib/site-packages/asposewordscloud/models/graphics_quality_options_data.py
a079c87bbc4c8d4978856d861c26fe5f9f3dd00c
[]
no_license
viktor-tchemodanov/Training_Tasks_Python_Cloud
4592cf61c2f017b314a009c135340b18fa23fc8f
b7e6afab4e9b76bc817ef216f12d2088447bd4cd
refs/heads/master
2020-09-04T10:39:23.023363
2019-11-05T10:36:45
2019-11-05T10:36:45
219,712,295
0
0
null
null
null
null
UTF-8
Python
false
false
12,947
py
# coding: utf-8 # ----------------------------------------------------------------------------------- # <copyright company="Aspose" file="GraphicsQualityOptionsData.py"> # Copyright (c) 2018 Aspose.Words for Cloud # </copyright> # <summary> # Permission is hereby granted, free of charge, to any person obtaining a c...
[ "vtchemodanov@hotmail.com" ]
vtchemodanov@hotmail.com
fd6d7f13dc72b1fb0e02c338c886b06c34537de9
202f9fbe61fecd714a7bc306fe720113bb780245
/game_vars.py
a963f1891053ae88471b0750649214c7a9a1ab17
[]
no_license
LotiPotar/Test_Game
59b76d92f21b6db92af4985d6512b664cbd31331
58e37e5a9fb5435447271c58c15bf56ab408034a
refs/heads/master
2022-10-06T08:35:37.817963
2020-06-10T11:06:35
2020-06-10T11:06:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
import pygame pygame.font.init() SCREEN_WIDTH = 700 SCREEN_HEIGHT = 700 pause_text = pygame.font.SysFont('Consolas', 32).render('Pause', False, pygame.color.Color('White')) title_text = pygame.font.SysFont('Consolas', 32).render('Test_game V.1', False, pygame.color.Color('White')) prompt_text = pygame.font.Sy...
[ "noreply@github.com" ]
noreply@github.com
cb13e216b304e5f0eb095becb9bd9dd5b315acd3
5c401b7601d58eef3117f11a23ccf2db2dd07ab7
/interview/migrations/0006_auto_20200816_2208.py
2b81dc78b893fbc532fa59f8719b71334fb41b6f
[ "MIT" ]
permissive
Lodek/interview
f202a1ff5a8c76ff72db5cea96a4c15dba90b839
d80fa8ac8b2e3eebcb5a742b12ea3cc04a94aab5
refs/heads/master
2023-03-29T21:09:01.131308
2020-10-04T22:27:55
2020-10-04T22:31:28
283,250,149
0
0
MIT
2021-03-30T14:05:19
2020-07-28T15:17:48
Python
UTF-8
Python
false
false
697
py
# Generated by Django 3.0.7 on 2020-08-17 01:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('base', '0003_auto_20200816_2208'), ('interview', '0005_auto_20200730_0858'), ] operations = [ migra...
[ "23224552+Lodek@users.noreply.github.com" ]
23224552+Lodek@users.noreply.github.com
3231ba1de3f149005884a289eb7b432c5fb3241e
47495e234066e2161c069d1090565e962875397c
/archive/2015/02/main.py
9b74161cb2ab501b48a6867491207763580a033c
[]
no_license
connorjayr/AdventOfCode
d4e1f72e515fc1db5d915595218748c7ff470754
cf0ea68f4e7b32e741f660199c0777af136edeae
refs/heads/master
2023-01-08T10:43:10.834323
2022-12-23T05:59:53
2022-12-23T05:59:53
163,073,728
7
1
null
2022-12-11T05:31:27
2018-12-25T10:41:52
Python
UTF-8
Python
false
false
1,327
py
import collections import functools import itertools import operator import re import typing def calc_surface_area(dims: str) -> int: """Calculates the total surface area of wrapping paper required to wrap the present. Arguments: dims -- the dimensions of the present: lxwxh """ l, w, h = [int(dim) for dim...
[ "connorjayr@gmail.com" ]
connorjayr@gmail.com
4dc5a87e496dcc0b466c5075127d4978d05d764a
20eac8f94ef0a59ef65670545e2f1b8fb719425f
/AlaricoGomez/asgi.py
deb0607a47c3102a07b3d5e14cc0e5b8965866ec
[]
no_license
edgardo28081/gomez
fcc1c3fd9d9ce76a8a892d16c78d162556f067dc
b51f3af15d413789298488736365011acd77ee43
refs/heads/main
2023-05-31T17:39:06.234220
2021-06-10T19:54:46
2021-06-10T19:54:46
375,813,783
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for AlaricoGomez 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.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "edgardomarcano04@gmail.com" ]
edgardomarcano04@gmail.com
ece90d1b27b7bda334a307b0a1726b78af015b34
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_20866.py
43b89f649be556f519aaca98d7c1a6b0b17da9d8
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
# Python: Splitting a string into elements and adding them in a list foo = '"MARY","PATRICIA","LINDA","BARBARA","ELIZABETH","JENNIFER","MARIA","SUSAN","MARGARET","DOROTHY","LISA","NANCY","KAREN","BETTY","HELEN","SANDRA","DONNA","CAROL"' output = foo.replace('"','').split(",")
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
0efc657b8dcb8e6b318ea4ca6e2a6c04543e1dbd
891902687207fb335b65dbb8d31d6e20301764f9
/pe048.py
bc475ea81eba7af44d87a0dfa5b0a74bcdc8ceb0
[]
no_license
maecchi/PE
93bd050eaca2733aa37db6ca493b820fe3d7a351
3d9092635807f0036719b65adb16f1c0926c2321
refs/heads/master
2020-05-04T16:38:36.476355
2012-06-10T05:26:10
2012-06-10T05:26:10
1,746,853
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # # pe048.py - Project Euler # LIMIT = 1000 series = [pow(x,x) for x in xrange(1, LIMIT+1)] total = sum(series) total_str = str(total) ten_digit_str = total_str[-10:] print ten_digit_str
[ "aos81922710@yahoo.co.jp" ]
aos81922710@yahoo.co.jp
44cd090561214cf1fcc7e6a5af6781e004900fb7
63dacf92d28131f655dddd280c1793c0694ba9f5
/blog/migrations/0007_article_tag_name.py
6d3eec085ad5beaf0f28db0c6a2638ce53c1a5a2
[]
no_license
Wanghaiw/wxlr_Blog
a6a568c03fe0b34009016081e33fcae0967b9d8c
77d442a55b8d48a7712dd8386a0704a1b3ab90f7
refs/heads/master
2020-12-30T23:49:14.058974
2017-04-06T06:51:52
2017-04-06T06:51:52
86,600,951
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-07 12:48 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0006_auto_20170307_1821'), ] operations = [ migrations.AddField( ...
[ "1192328490@qq.com" ]
1192328490@qq.com
dad0579d56b4f97073e807f4d8c9f97bf188480d
0ba198d0df3f915c52aac415e87e3e8eda1e6944
/app/models/product.py
2470980201decd057682d61040f7198abef7e434
[ "MIT" ]
permissive
timothyakinyelu/point-of-sale-system-with-flask
663b76ac46cac70700c0a96cf6fc4d20ef45a84e
f23849ecfdcaa7a7367c4972f020cff8fc1129a9
refs/heads/master
2023-08-12T07:51:21.417857
2021-09-17T11:11:59
2021-09-17T11:11:59
303,535,221
0
1
MIT
2021-09-17T11:11:59
2020-10-12T23:17:49
Python
UTF-8
Python
false
false
1,265
py
from app.db import db class Product(db.Model): __tablename__ = 'products' id = db.Column( db.Integer, primary_key = True, autoincrement = True ) sku = db.Column( db.String(50), nullable = False ) gtin = db.Column( db.String(50) ) bra...
[ "tolujamal1@gmail.com" ]
tolujamal1@gmail.com
ca229590a9496536a606d588dd346d267407ddb0
6e480f4d19e9e40a032cdbd79e6acfaaaf0fa192
/match_album.py
c04ae59eb6620890f755756661639c3b66f90d1f
[]
no_license
hannerson/autodms_multi
97f6f5978717b883eb7e5ed2a20f59baabfe267a
83689018735cc279f51c63dbe1ec70c52bf41e98
refs/heads/master
2020-04-04T02:47:17.685513
2019-01-09T02:12:12
2019-01-09T02:12:12
155,696,370
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# -*- coding=utf-8 -*- import os,sys import MySQLdb import traceback from pooldb import * from logger import * from taskProcessor import * from dispatcher_match import * reload(sys) sys.setdefaultencoding('utf-8') if __name__ == '__main__': #print g_config.configinfo dispatcher_album = dispatcher_match(g_config,log...
[ "autodms@localhost.localdomain" ]
autodms@localhost.localdomain
15692f1002dcb3ac65e3d2483e4a348842a05dd6
364644ee33162a5ac15803eab2fc402e634dc985
/fundsofhope/migrations/0004_merge.py
cb354d8aa8ecf5f325bf79dbc71d7ba118726023
[]
no_license
fundsofhope/foh-py-v0
9b3b3579f67ee5e5dc4347d3e2257017029bd1f2
090cc21652f6210dc02171e4cf0164fd4472d406
refs/heads/master
2020-04-01T18:30:12.308465
2017-03-16T09:28:56
2017-03-16T09:28:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-09 20:20 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('fundsofhope', '0002_auto_20160709_1024'), ('fundsofhope', '0003_auto_20160709_0011'), ] ...
[ "anipmehta13@gmail.com" ]
anipmehta13@gmail.com
fc9419b02233655e3c0bdf24e6a78f408706326d
436da49d82df227fc2654c7e3c6acc72d6a6aad6
/manavmitra/migrations/0002_auto_20170717_1940.py
b2cf571dc7b8c5c401c6e4a59ca86bb5eccdf982
[]
no_license
mc639/Manavmitra
c91a2178f01427284d256ff152a4032f978e48a4
567d3b483d52e9285681916bfeda773a7b9ae0ed
refs/heads/master
2020-07-30T14:41:55.736634
2019-09-23T05:02:26
2019-09-23T05:02:26
210,266,603
0
0
null
null
null
null
UTF-8
Python
false
false
2,825
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-07-17 14:10 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('manavmitra', '0001_initial'), ] operations = [ ...
[ "noreply@github.com" ]
noreply@github.com
8584c7e3422fb338d013760460d819e18d7eb795
0e823793d977fbc33ffc981dcdd0ea568182a80b
/yammi/yammiDeal/urls.py
30a7e5e815e3f872695cdf9598cb4bda7fa20659
[]
no_license
rngus3698/yconsTest
05cdc2518f2e07404849bec57d02cccdfaae7f5b
3fc1d1c734708a0a88b1d63824a6cc27f3384805
refs/heads/master
2023-03-14T22:48:00.644211
2021-03-24T05:12:38
2021-03-24T05:12:38
304,937,026
1
0
null
null
null
null
UTF-8
Python
false
false
185
py
from django.urls import path from .views import * urlpatterns = [ path('deal/', DealView.as_view(), name='deal'), path('deal/detail/', DetailDeal.as_view(), name='detail'), ]
[ "rngus3698@naver.com" ]
rngus3698@naver.com
772edd41b14dcf0e3dfbd8d6a2cd5dfd35fc6b6b
6fef7a57325d665612866286ef61dddaeed8683d
/pretrainedvgg16.py
47a2722966746c227d5d5b125a872ec046fec119
[]
no_license
oxfordhalfblood/Transferlearning
50658db3692e8ceb64f1ef0d2fa979d71f9e697e
bca49f3c46fcaa2950083795693d69774471fa29
refs/heads/master
2020-08-27T03:16:38.180294
2019-10-24T06:45:07
2019-10-24T06:45:07
217,230,046
0
0
null
null
null
null
UTF-8
Python
false
false
4,142
py
import os import numpy as np import pandas as pd from keras.preprocessing.image import ImageDataGenerator, img_to_array, load_img from keras import applications import os from keras.models import load_model from keras.models import Model from keras.applications.vgg16 import preprocess_input model = applications.VGG16(...
[ "noreply@github.com" ]
noreply@github.com
6a51e12f7a32aaa10eff1954b31dffd2d63024dd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/193/usersdata/274/70731/submittedfiles/al7.py
1054fb07641b98114c1cfba9aaba25c980ae4b02
[]
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
193
py
# -*- coding: utf-8 -*- n = int(input("Valor de n: ")) i=1 s=0 while (i<n): if (n%i)==0: s-s+1 i=i+1 print(s) if s==n: print("PERFEITO") else: print("NÃO PERFEITO")
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7b46f5761fbed7cb98152ac3384dc472e21fbcc6
fb1e852da0a026fb59c8cb24aeb40e62005501f1
/edgelm/fairseq/file_io.py
dd2865cd448fe581b22d069b32f12c045efc8c1f
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
microsoft/unilm
134aa44867c5ed36222220d3f4fd9616d02db573
b60c741f746877293bb85eed6806736fc8fa0ffd
refs/heads/master
2023-08-31T04:09:05.779071
2023-08-29T14:07:57
2023-08-29T14:07:57
198,350,484
15,313
2,192
MIT
2023-08-19T11:33:20
2019-07-23T04:15:28
Python
UTF-8
Python
false
false
5,806
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import logging import os import shutil from typing import List, Optional logger = logging.getLogger(__f...
[ "tage@sandbox12.t0ekrjpotp2uhbmhwy0wiwkeya.xx.internal.cloudapp.net" ]
tage@sandbox12.t0ekrjpotp2uhbmhwy0wiwkeya.xx.internal.cloudapp.net
6dc7a6e31675edd6350d5b2d63b46fe20ee33182
712580182cff081d5a93daa57f9e038726830a41
/Python/venv/Lib/site-packages/pylint/checkers/base.py
829c44f4c5b6fbd585a3e8e715c1118e00ef32d2
[]
no_license
ddusi/TIL
8f79cc5107ad9da3d1bf396fee11ae7e6925fa39
287ad15736381753edcc02bd53e4c01d550ae962
refs/heads/master
2020-11-24T21:05:46.447613
2020-05-17T13:19:51
2020-05-17T13:19:51
228,338,811
0
0
null
null
null
null
UTF-8
Python
false
false
91,928
py
# -*- coding: utf-8 -*- # Copyright (c) 2006-2016 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> # Copyright (c) 2010 Daniel Harding <dharding@gmail.com> # Copyright (c) 2012-2014 Google, Inc. # Copyright (c) 2013-2018 Claudiu Popa <pcmanticore@gmail.com> # Copyright (c) 2014 Brett Cannon <brett@python.org> # ...
[ "knormla@naver.com" ]
knormla@naver.com
3fb2e07f62201caffa8b67a78f4e24fe0fe44f69
0d178d54334ddb7d669d212b11dd23ef5607cf8e
/LeetCode/Array/4Sum.py
11f7a1109fd6bbfb0bdb4c287a979f1a7fa60b2f
[]
no_license
mrunalhirve12/Python_CTCI-practise
2851d2c61fd59c76d047bd63bd591849c0781dda
f41348fd7da3b7af9f9b2df7c01457c7bed8ce0c
refs/heads/master
2020-04-17T11:09:29.213922
2019-09-28T02:36:24
2019-09-28T02:36:24
166,529,867
3
0
null
null
null
null
UTF-8
Python
false
false
1,440
py
""" Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note: The solution set must not contain duplicate quadruplets. Example: Given array nums = [1, 0, -1, 0, -2...
[ "mrunalhirve@gmail.com" ]
mrunalhirve@gmail.com
7569b47f4b41238979bc2d1dad6011efeafe67ef
ac2b1d6fe4338949557c49e9c27e808bcfd8d3df
/src/generate_qid_rid_term_value_weight.py
d59c53b404b7fb91a05ee8feae26c1e6695b6e3d
[]
no_license
krivard/nilmodule
194a9b5287e981d42dd3f34623acab4323768bcf
ab6bdaa7cb92c1ff62fa31742e81944814a2038b
refs/heads/master
2021-01-24T21:53:42.323858
2014-09-22T19:55:59
2014-09-22T19:55:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
# coding: utf-8 import argparse import pandas as pd import sys # Parse path to input files parser = argparse.ArgumentParser() parser.add_argument('DID_TOK') parser.add_argument('DID_FEATURE') args = parser.parse_args() DID_TOK = args.DID_TOK DID_FEATURE = args.DID_FEATURE # Load 'did term' and 'qid rid feature did ...
[ "jakobworldpeace@bluewin.ch" ]
jakobworldpeace@bluewin.ch
c287fc90f3953a19524555a4d29ec305de982dc9
e898c17d21976b75cbfe2edb39b3b92a65fb0e03
/layers4all/config.py
50eb982d8783259ac82468a9155cd99da67362d2
[]
no_license
leolimasa/layers4all
83c8893eaa18bb9b0d1b1f1dd1fccd4265b9e1f8
3623a26a98cc1064010908562d2c4250843684b2
refs/heads/master
2021-05-20T08:12:15.937566
2020-04-07T03:31:44
2020-04-07T03:31:44
252,186,826
0
0
null
2021-03-25T23:40:21
2020-04-01T13:43:39
Python
UTF-8
Python
false
false
1,018
py
import os from . import layer from . import template from .common import read_file, list_dirs, list_dirs, create_file_if_not_exists from .model import Config, Layer, Template, Collection, TemplateConfig from typing import List def enabled_layers(config: Config) -> List[Layer]: create_file_if_not_exists(config.en...
[ "leo@leo-sa.com" ]
leo@leo-sa.com
a982c4d0b3d6297afc1494437f3578e13e70ce6e
b070983649aee207ff4d37cb81f5fda7eb84bc80
/rookie/eclass/migrations/0003_auto_20181109_1805.py
d8149b861fc47a55ee40a1482dd70674eaacf59e
[ "MIT" ]
permissive
rookie0806/ajounice
8bc848e0b3587236bec14382f6a9cc8572a2ec76
eb1780a8f94d847cfcfe83f4b555729ab9f9a44a
refs/heads/master
2022-12-13T23:07:58.628844
2018-11-26T06:45:23
2018-11-26T06:45:23
156,672,487
0
0
MIT
2022-12-08T15:41:21
2018-11-08T08:13:07
JavaScript
UTF-8
Python
false
false
502
py
# Generated by Django 2.0.7 on 2018-11-09 09:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('eclass', '0002_auto_20181109_1803'), ] operations = [ migrations.AlterModelOptions( name='zipfile', options={}, ...
[ "kpho97@gmail.com" ]
kpho97@gmail.com
5bb52263b685032395235366d4dc2f035ec81158
fd0ca433152dd71b378c79e1e33b38e274ba6b4b
/src/league/database/generator/difftool.py
a900520a1a40d30ce7685aaa954931f493b4034c
[]
no_license
NHALX/llio
94e627d3834780219fd03c209b9331e18692ad25
b4f50da7757358c4246044bb617bffce4e54e0da
refs/heads/master
2021-01-13T01:45:57.392698
2015-02-11T12:59:10
2015-02-11T12:59:10
13,360,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,544
py
import ll_inibin #0xf1e4103f onhit ad bonus? same_files = [ #"D:\Dargon\output_dump\DATA\Spells\IreliaHitenStyle.inibin", #"D:\dargon\output_dump\DATA\Spells\OlafRecklessStrike.inibin" # "D:\Dargon\output_dump\DATA\Spells\IreliaGatotsu.inibin", # "D:\Dargon\output_dump\DATA\Spells\Parley.inibin", # "D:\Dargo...
[ "relapse.dev@gmx.com" ]
relapse.dev@gmx.com
050226a84dddef984f98f0297c465a7b632b6f34
5feb25c08f2d38caaa0db962f839304349aedc84
/pydota2/env/dota2_env.py
355890149f256b4b6a99c03541a7570335addc86
[ "Apache-2.0" ]
permissive
yyyokata/pydota2_archive
162b7cbaa1903d88dc0ba43ebf6cc9a85221edc9
f33233ee5393a248e9845bb25ff234bf7ac9ff82
refs/heads/master
2023-03-18T14:10:50.380467
2018-12-04T22:08:52
2018-12-04T22:08:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,954
py
# NOTE: This code is to a large degree based on DeepMind work for # AI in StarCraft2, just ported towards the Dota 2 game. # DeepMind's License is posted below. """A Dota 2 environment.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from ...
[ "nostrademous@hotmail.com" ]
nostrademous@hotmail.com
52166dcd3e6dc3fa649076a2957e62f25058b9ae
86e7371f7977f7bc8cb32da33f758945743709f3
/base/__init__.py
54fe4ded679233701e406b51ad5a7c5c8c77d210
[]
no_license
vmture01/rush_leetcode
4675a54a1716ab62081934b18400787f8db4d7be
38d90a9a72d9e1c460ab4104bd41bf9981640202
refs/heads/master
2022-12-27T12:30:54.197181
2020-09-18T02:32:59
2020-09-18T02:32:59
291,631,557
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @File : __init__.py.py # @Author: vmture # @Date : 2020/9/15 # @Desc :
[ "zihong.dzh@alibaba-inc.com" ]
zihong.dzh@alibaba-inc.com
74abf7bc17708bc3399ed3d7ad0c654dfb41a28c
b864b9da2d5b8aab721f738e9e46f4a42945a621
/student_predictor/forms.py
069c611dda54729854864fec2437b3f50a09592b
[]
no_license
NicMuir/Software_Design_Project-2020
95e6830a07143a66b42b33570d41816ad263866e
e3528228e2ebe9d0ff206cab780f675fa8ab46eb
refs/heads/master
2023-05-01T05:22:58.750953
2020-10-13T11:47:54
2020-10-13T11:47:54
241,100,998
0
2
null
2023-04-21T20:47:23
2020-02-17T12:22:05
JavaScript
UTF-8
Python
false
false
1,145
py
from django import forms from django.core.validators import FileExtensionValidator import pandas as pd from django.core.exceptions import ValidationError def file_validator(file): # print("Hello") try: df = pd.read_csv(file) except: raise ValidationError("An error occurred while reading th...
[ "simonrosen173@gmail.com" ]
simonrosen173@gmail.com
084961a3aca1898d1f530c4e1709308cfe9c164d
f47f56147b11d7da49e9beb81030b4699f2b5547
/myblog/blog/migrations/0002_post_tags.py
fd14286eef32e01246d76be846a4dd800b4ee2e0
[]
no_license
yuhongqian/myblog
e0580b30d6094ca260a47de8386e28fbf060028f
a4fb0b763b4cb097853b5c07757b81a5f6cb6d6a
refs/heads/master
2020-04-15T09:47:00.432441
2019-01-10T21:04:26
2019-01-10T21:04:26
164,565,061
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# Generated by Django 2.1.5 on 2019-01-09 16:41 from django.db import migrations import taggit.managers class Migration(migrations.Migration): dependencies = [ ('taggit', '0002_auto_20150616_2121'), ('blog', '0001_initial'), ] operations = [ migrations.AddField( mode...
[ "hongqiay@andrew.cmu.edu" ]
hongqiay@andrew.cmu.edu
bee61c73d90cb9a7a4e2dbc1a0e049a350545283
c708aa47a2d4b52cc6ea8d2dd54f00e7db008066
/renderer/drawer.py
66324d447545e9a4a4b050c9c49bcf485378d4b1
[]
no_license
ousttrue/pyVBO
133635da4f4ef062168c30c4899f48b32e46bcfd
6b893ab600e25b4101756cd89614132b28a39175
refs/heads/master
2023-08-23T10:46:53.149242
2018-10-01T19:41:19
2018-10-01T19:41:19
109,603,395
1
0
null
null
null
null
UTF-8
Python
false
false
4,460
py
# pylint: disable=W0401,W0614,W0621,W0622 from logging import getLogger logger = getLogger(__name__) from OpenGL.GL import * from .vbo import ArrayVBO, ArrayVBOIndex, CtypesVBO from .texture import Texture from .vertexbuffer import Topology, AttributeLayout, Semantics, MeshBuilder from .rendercontext import ...
[ "oustrrue@gmail.com" ]
oustrrue@gmail.com
446b9a10947cac65eabc550bd561422d117328f2
d5127f7644f89b9bd924d6b958ee2b87e558f874
/gprest/wsgi.py
847241e6e96207235fc64589c0b656c96853aea7
[]
no_license
andrewpchristensen701/gpost2back
0f2e2c3dba706f4db5f76c9e33609d6ab8643218
d6f8a114d0147fb0446bfb357a33ebb0838c7cc5
refs/heads/master
2020-12-13T08:32:45.544709
2020-01-16T19:25:24
2020-01-16T19:25:24
234,362,593
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for gprest project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "andrewpchristensen701@gmail.com" ]
andrewpchristensen701@gmail.com
612d114795f199553f08ba8ee1415da747179582
b2266d4020b932e45022418e10616cf632122fc0
/scripts/opt_half_cilinder.py
d753ef23480d06030016b4c8a90bbc07b190928d
[]
no_license
slovak194/spgrid_topo_opt
becc91f2346b4a85ba6cfb7cd7f1b3894dd81e93
e0f422bdfb0107f817e132b29a20cad4fe0725f8
refs/heads/master
2021-03-05T03:39:50.548160
2020-06-28T19:31:35
2020-06-28T19:31:35
246,092,249
0
0
null
2020-03-09T16:54:13
2020-03-09T16:54:12
null
UTF-8
Python
false
false
2,951
py
from topo_opt import TopoOpt import taichi as tc # import crash_report # crash_report.enable() version = 10 narrow_band = True volume_fraction = 0.2 # Initialize n = 128 opt = TopoOpt(res=(n, n, n), version=version, volume_fraction=volume_fraction, grid_update_start=2 if narrow_band else 1000000, ...
[ "slovak194@gmail.com" ]
slovak194@gmail.com
513c4db4c0a72881d6b17d254644190a7dcf1f17
25836d2ce801487e82024001de374100fb70d385
/chest/robot.py
f75436c15052619f4e2534bb9f1a5e7165ad43da
[]
no_license
zeuxisoo/python-curator-chest
0de4405f0fec6b87472a69a99c3080d4bd34aa39
4b760a3c81c7beda046d34fa9f05584ffe456340
refs/heads/master
2020-04-08T06:44:28.424964
2014-02-06T09:31:57
2014-02-06T09:31:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,603
py
# -*- coding: utf-8 -*- import os import logging from curator import Curator from fetcher import Ranch class Robot(object): def __init__(self, token): self.set_token(token) self.get_logger() def set_token(self, token): self.token = token def get_logger(self): logger = lo...
[ "seekstudio@gmail.com" ]
seekstudio@gmail.com
494a7df0efd0f789d3605ba582ad52e14b38a487
baeae3169cf657ff8a43fe8b246bf52058f3db7b
/pyvenv/bin/pint-convert
21d2233e35f53314eb14863f94e7f81c264bfd15
[ "MIT", "BSD-3-Clause" ]
permissive
pycroscopy/SciFiReaders
42749aef6c507a2af8a85e0398423e32629b8309
2285dd4f5e18b6e5acb536850247dcb7d86b9c94
refs/heads/main
2023-08-03T04:47:30.938448
2023-07-31T20:50:32
2023-07-31T20:50:32
289,742,569
14
9
MIT
2023-09-11T00:01:31
2020-08-23T18:17:56
Jupyter Notebook
UTF-8
Python
false
false
5,440
#!/Users/borisslautin/Documents/GitHub/SciFiReaders/pyvenv/bin/python """ pint-convert ~~~~~~~~~~~~ :copyright: 2020 by Pint Authors, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import annotations import argparse import re from pint import UnitRegi...
[ "bslautin@gmail.com" ]
bslautin@gmail.com
a886d5b22df04e10d1c1002d8702383c2f9bae53
fbd3166e4ee0354ea311c2d451315b131e856599
/2_way_category_level/show_results.py
96de07fdeab2a7611894509f5a9aaaad64fed2d4
[]
no_license
SatwantKumar/BehavioralBenchmark
1970ff7fa46f1dc37e325de2d4843c41e6806b9c
a1106149c9d1ede7fd35da380398d2520117316e
refs/heads/master
2021-01-17T08:13:48.635586
2015-04-27T21:34:59
2015-04-27T21:34:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
__author__ = 'ardila' import pymongo as pm db = pm.MongoClient(port=22334)['BehavioralBenchmarkResults'] task_sets = {'9c1362cca709800db514e1334e7e6f4ce2e04057': 'HvM Basic Categorization', '6bf1f29c098c98147466076bb6977357250aec8c': 'HvM Subordinate Tasks', '680368705caeb5758cb961b1c09845db8...
[ "ardila@mit.edu" ]
ardila@mit.edu
0ef73516f83d0b2e4bba2f634ea97ca51e19ba96
82982895f284076b2ed59eb80900548cb7b054a3
/banks/migrations/0020_eurcurve_plncurve_usdcurve.py
ec6ae308f863e5f44c8ea2139308aa33bcfe3a6d
[]
no_license
ArturWrobel/liquidity-manager
e4ab641553509d7e34d16f8e0038de5581a9bb42
a9ffa7e2e4daacb8b9c82a891eeb9daec4dd1909
refs/heads/master
2022-12-13T11:27:34.385889
2020-03-11T18:55:07
2020-03-11T18:55:07
200,835,570
0
0
null
2022-12-08T06:14:56
2019-08-06T11:11:24
Python
UTF-8
Python
false
false
3,616
py
# Generated by Django 2.2.2 on 2019-07-10 14:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('banks', '0019_auto_20190701_1738'), ] operations = [ migrations.CreateModel( name='EurCurve', fields=[ ...
[ "artur.r.wrobel@gmail.com" ]
artur.r.wrobel@gmail.com
ae66ea35f3719e6ebf849d07d62effdb5f141505
6e965a89f70403bf18a6e88c645913b49a8c5906
/weather_app/1.py
8b85948a3de3aa065bc8c6f0c417500a6571dcb3
[]
no_license
YeonjiKim0316/React-Study
317748b3ed2fa2c85ca037ce73730edd2a82f939
de0896e2b7a86c6f4f95ee631ca0ee5f0fbba8eb
refs/heads/master
2023-06-17T15:58:19.802469
2021-07-20T07:35:04
2021-07-20T07:35:04
380,920,583
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
# a, b = map(int, input().strip().split(' ')) for i in range(b): print('*' * a, sep='/n') # print(a + b)
[ "kimyeonji3@gmail.com" ]
kimyeonji3@gmail.com
79a91e47db28a01386fb815a32b47a218c215852
f3b233e5053e28fa95c549017bd75a30456eb50c
/tyk2_input/31/31-46_MD_NVT_rerun/set_7.py
83bf1b35f537aee7c2dd8f6127d9919cfeab9ce4
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/tyk2/L31/MD_NVT_rerun/ti_one-step/31_46/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_7.in' temp_pbs = filesdir + 'temp_7.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
028040569fa4535f11994468f5375bb5da63947f
d185ba9549141b0b223969b69179960df088aa55
/bugzilla.py
9a74b328276eef01201cc18470d444c74a17c184
[]
no_license
davidwallacejackson/sublime-bugzilla
4138d3c4940588425212a008b6bd5d8eb00e5329
bb329c903d94c04064e95261bef03a25e01f2432
refs/heads/master
2021-05-27T17:27:10.167486
2015-03-26T19:38:14
2015-03-26T19:38:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
import sublime_plugin from .utils import bugzilla_command class BugzillaTitleCommand(sublime_plugin.TextCommand): '''Outputs the title of the given bug to the current buffer.''' def run(self, edit, **kwargs): bug_id = kwargs['bug_id'] title = bugzilla_command('list', bug_id) self.view...
[ "altmail@jackson-wallace.net" ]
altmail@jackson-wallace.net
c711d1820775a4a98fac69c75f2fbe14eba2dc06
305d2d7b3db786f68b8569b138e6243a8087843c
/flow_cal_test.py
c85929352d1478f166bd7e0e26822df98a3e9547
[]
no_license
SenneVanPutte/GlueDispenser
7d51141b2be1fb617ecfa9a3ad1c6f900912afa0
0b9ecf8a21984e8e6a0916edfc5180b433bdd46b
refs/heads/master
2021-11-24T15:44:05.729714
2020-04-15T10:19:47
2020-04-15T10:19:47
214,992,267
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
from scale_handler import scale_handler, measure_delay, delay_and_flow_regulation from gcode_handler import gcode_handler import matplotlib from matplotlib import pyplot if __name__ == '__main__': machiene = gcode_handler() #machiene.init_code() scale = scale_handler() #scale.conf_avg("b") #scale.calibrate() ...
[ "yannick.allard@cern.ch" ]
yannick.allard@cern.ch
3d7adadfc746ad6e312e3176c6b8c4e3d98fbde1
1b572c82be33aabd9ca93d4d1302e2ee44417941
/algorithm/greed.py
9a327c71e249dd26853e370acec5157428a8690d
[]
no_license
Wqymai/Python_Spider
5cde16ea166d4a5ee4eed9de293507ac03fc4214
cf54429cada24be8dc01c6e20c0968a900a92d47
refs/heads/master
2021-01-12T12:02:28.520065
2018-01-26T10:34:27
2018-01-26T10:34:27
69,227,122
1
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
# -*- coding:utf-8 -*- # 贪婪算法(用于解决NP问题) states_needed = set(['mt', 'wa', 'or', 'id', 'nv', 'ut', 'ca', 'az']) stations = {} stations['kone'] = set(['id', 'nv', 'ut']) stations['ktwo'] = set(['wa', 'id', 'mt']) stations['kthree'] = set(['or', 'nv', 'ca']) stations['kfour'] = set(['nv', 'ut']) stations['kfive'] = set(['...
[ "qiyan.wu@maimob.cn" ]
qiyan.wu@maimob.cn
99d474d6de01788f9f44e8db380fcd8057be8c85
2e996d6870424205bc6af7dabe8685be9b7f1e56
/code/processing/20190325_r3_O3_IND_titration_flow/file_rename.py
51d27275b95739132c62e7ef1b063c6806355426
[ "CC-BY-4.0", "MIT" ]
permissive
minghao2016/mwc_mutants
fd705d44e57e3b2370d15467f31af0ee3945dcc2
0f89b3920c6f7a8956f48874615fd1977891e33c
refs/heads/master
2023-03-25T03:56:33.199379
2020-06-26T20:09:00
2020-06-26T20:09:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
# -*- coding: utf-8 -*- import numpy as np import fcsparser import os import glob # Define the details fo the expriment. USERNAME = 'gchure' DATE = 20190325 RUN_NO = 3 FCS_PATTERN = 'RP2019-03-25' savedir = '../../../data/flow/csv/' # Define the order of rows and the cols. R = (0, 0, 260, 260, 260, 260) ROWS = ('aut...
[ "gchure@caltech.edu" ]
gchure@caltech.edu