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
08f2d819aa16914cf3502f08883c8433fed8fb50
a27163953c34e9e569966b91524c2450dbbc72c4
/brigands/brigands/settings.py
9a8b8aa8f1831d6687f3962afe1ad58fd183b75f
[]
no_license
Sasooli/brigandrules
4c9f14031a533276953f7f1c30cdad37676549e1
8b99a43791833ec58e759e8eea3b05f1ed1c98e9
refs/heads/main
2023-03-22T10:37:47.076389
2021-03-15T16:55:44
2021-03-15T16:55:44
348,048,959
0
0
null
null
null
null
UTF-8
Python
false
false
3,578
py
""" Django settings for brigands project. Generated by 'django-admin startproject' using Django 2.2.7. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "olafdavis@googlemail.com" ]
olafdavis@googlemail.com
0f0685f8137ae113e06f7428ee41f7d757b0a252
15bfc574ae99ea02f10c1f549136bd9951f399cd
/articles/views.py
f5c3eaddddb2e91b794b65638563c13318ad1b73
[]
no_license
dimka1993kh/Dj_HW_5.3
a2b9a197729eb26fd4e6d3b4872b754542bd8c07
e891370b4cb740fd1bf44e19e27a17021a65f99c
refs/heads/master
2023-04-15T01:54:24.943214
2021-05-03T18:44:02
2021-05-03T18:44:02
364,027,709
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
from django.views.generic import ListView from django.shortcuts import render from .models import Article def articles_list(request): template_name = 'articles/news.html' news = Article.objects.all().select_related('author', 'genre').defer('author__phone') # news = Article.objects.all() context = {...
[ "dimka1993kh@gmail.com" ]
dimka1993kh@gmail.com
a6ba03e0e4a8062c8b63455aa01e52a7f24e0db4
8dcd3ee098b4f5b80879c37a62292f42f6b2ae17
/venv/Lib/site-packages/pandas/plotting/_core.py
17f6b990ba84c33027e706bda6f9149466ab80d2
[]
no_license
GregVargas1999/InfinityAreaInfo
53fdfefc11c4af8f5d2b8f511f7461d11a3f7533
2e4a7c6a2424514ca0ec58c9153eb08dc8e09a4a
refs/heads/master
2022-12-01T20:26:05.388878
2020-08-11T18:37:05
2020-08-11T18:37:05
286,821,452
0
0
null
null
null
null
UTF-8
Python
false
false
57,368
py
import importlib from pandas._config import get_option from pandas.core.base import PandasObject from pandas.core.dtypes.common import is_integer, is_list_like from pandas.core.dtypes.generic import ABCDataFrame, ABCSeries from pandas.util._decorators import Appender, Substitution def hist_series( self, ...
[ "44142880+GregVargas1999@users.noreply.github.com" ]
44142880+GregVargas1999@users.noreply.github.com
feb3bf7bb5c08b5de6847d3a915373aaf785a040
417166ec7656af2e1ccde0359d88c046d9277ef2
/backend.py
a23735702b8dfea1a9ff85d4c4e83d8a30be73a7
[]
no_license
jamesalbert/erincosgrove.com
7e4d3e0ff73cbcdb6baa9147bd9667065826d1c9
ac9088f85e2855a4726c334c31f6aaa97c012fa0
refs/heads/master
2016-09-05T18:24:42.525434
2014-12-20T04:10:59
2014-12-20T04:10:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,861
py
from jinja2 import Template from ast import literal_eval templates = { 'project': \ ''' <li class="divider"></li> <div class="row"> <div class="col-xs-6"> <a class="fancybox" data-fancybox-type="iframe" rel="{{ title }}" href="img/{{ big_filename }}" title="{{ ti...
[ "james.albert72@gmail.com" ]
james.albert72@gmail.com
5f58ecef0b8e82fcead874e63f358470565ad618
c5bfc4509bedafe822691bbb3eb927e1fdd6daef
/ProblemSet5/Coordinate.py
0d75033313b8a1597c52bb185feea8efdae00559
[]
no_license
BMariscal/MITx-6.00.1x
046f9891dcdc9c5fabf0543a01434a1304a7db9d
37951478f41f9f2e00bb2e1ec12ccbafb4ab8e78
refs/heads/master
2021-06-19T09:08:56.827010
2017-07-16T08:10:26
2017-07-16T08:10:26
82,771,759
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
"""Your task is to define the following two methods for the Coordinate class: 1.Add an __eq__ method that returns True if coordinates refer to same point in the plane (i.e., have the same x and y coordinate). 2.Define __repr__, a special method that returns a string that looks like a valid Python ex...
[ "BriceidaMariscal@gmail.com" ]
BriceidaMariscal@gmail.com
1fd4a407298333ce216b0add7233a98b551852d9
db38befb50d6a8f7027e22db52d025bffdc7ce29
/libs/networks/network_factory.py
7d166080241d8e7b860ee10be39c8a69c9b990fc
[]
no_license
kuku-sichuan/ComparisonDetector
cf497e19e44bb2e240eab32a70fcdf1b638f98ce
a2b60d4b89541eb052e6c4d6c98d1bd71290ea72
refs/heads/master
2023-05-10T21:56:44.275034
2023-05-05T16:20:23
2023-05-05T16:20:23
228,549,154
33
12
null
2020-12-29T12:47:01
2019-12-17T06:32:46
Jupyter Notebook
UTF-8
Python
false
false
3,273
py
from __future__ import division from __future__ import print_function from __future__ import absolute_import import tensorflow as tf import tensorflow.contrib.slim as slim import sys sys.path.insert(0, '../../') from libs.networks.nets import resnet_v1 from libs.networks.nets import inception_resnet_v2 from libs.netw...
[ "1819918485@qq.com" ]
1819918485@qq.com
8f071a813eee912ed9e9bee66b9d5dc9abeab6e2
7ff79f2a512676abbd558ca3f21c00dab85e6175
/tools/RecordSniffer.py
47641cdfcf77f84967a2ab45a8d654bcc64e0ba4
[]
no_license
ftheoleyre/exp-iotlab
9b67b85272f3e2cf3ede29335093a039c27f8935
862f1cd3f4c62dbb635609a8d52eecf1e366f217
refs/heads/master
2020-04-06T20:29:20.419700
2018-06-06T08:08:51
2018-06-06T08:08:51
37,065,936
0
1
null
2015-06-08T12:39:00
2015-06-08T12:39:00
null
UTF-8
Python
false
false
1,375
py
#--------------------------------------------------------------------------- # A "recording" aggregator # # Cedric Adjih - Inria - 2014 #--------------------------------------------------------------------------- import sys, time, struct, select, socket, fcntl, os nbSniffers = int(sys.argv[1]) outputFileName = sys.ar...
[ "cedric.adjih@inria.fr" ]
cedric.adjih@inria.fr
20bd42bce88fd0becceadd108dcc9df42d3d9ba1
b4f2b3b8c8a5c6015ad90facf3d4b2c031f9d1a6
/Python1000/Study/S1L3_function_show.py
4b6aee40e41a1379cc50c084d1cf7daa8d56722e
[]
no_license
soft9000/Python1000
141b0d0cf99d26ff915a28c40d27179ec9dc1490
d63179cad6a8ac6285d972a9566da75d767e7bc8
refs/heads/master
2022-11-12T11:53:33.215224
2020-07-11T07:18:49
2020-07-11T07:18:49
268,032,418
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
#!/usr/bin/env python3 def ShowChars(num, token): return "\t" + (token * (num + 4)) def Show(message): xx = len(message) stars = '' if xx > 5: stars = ShowChars(xx, '$') else: stars = ShowChars(xx, '*') print(stars) print("\t* " + message + " *") print(stars) Show("The is a MESSAGE") Show("Doh!...
[ "noreply@github.com" ]
noreply@github.com
be6f744ed74a9d985bf2d457c64dc8a20447b721
543e4a93fd94a1ebcadb7ba9bd8b1f3afd3a12b8
/maza/modules/creds/cameras/sentry360/ftp_default_creds.py
36767e634607918cc0d8f56a5cba7e413c92d652
[ "MIT" ]
permissive
ArturSpirin/maza
e3127f07b90034f08ff294cc4afcad239bb6a6c3
56ae6325c08bcedd22c57b9fe11b58f1b38314ca
refs/heads/master
2020-04-10T16:24:47.245172
2018-12-11T07:13:15
2018-12-11T07:13:15
161,144,181
2
0
null
null
null
null
UTF-8
Python
false
false
841
py
from maza.core.exploit import * from maza.modules.creds.generic.ftp_default import Exploit as FTPDefault class Exploit(FTPDefault): __info__ = { "name": "Sentry360 Camera Default FTP Creds", "description": "Module performs dictionary attack against Sentry360 Camera FTP service. " ...
[ "a.spirin@hotmail.com" ]
a.spirin@hotmail.com
64f2a31364a570008f356a9bd2f8b10ebdc0c6f4
ff1f859a4141f232eb90ee3f62b99a4b5bf98821
/Exercises/ex6.py
fd0dd8b0fac6c460bc77c0ec464d25fd9c458d3d
[]
no_license
adela8888/CS995-Introduction-To-Programming-Principles
ba704c1b41a6ec111c8b320b03a9fd5226472d81
64efdf934a8621db5e34a90e43f5af94134d35cb
refs/heads/master
2020-12-23T21:42:26.820623
2020-04-17T08:29:50
2020-04-17T08:29:50
237,283,707
0
0
null
2020-02-06T13:46:10
2020-01-30T18:59:21
Python
UTF-8
Python
false
false
297
py
""" Takes a list of number and creates a new list of odd number from the original list """ a = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100] b=[] # for every element in the list a if the remainder of %2 is 0 it adds the element to the list b for x in a: if x%2 == 0: b.append(x) print (b)
[ "noreply@github.com" ]
noreply@github.com
53bbaf0c1927f1dd6a655edc347f5f068614c4fe
a4681043cb56a9ab45be32a62fa9700b391f087f
/14-Statistics_with_Python/Histograms/Finding_your_Best_Bin_Size.py
ee5208c7421bb08d3d728fd281c28ccc5c4509db
[]
no_license
MarceloDL-A/Python
b16b221ae4355b6323092d069bf83d1d142b9975
c091446ae0089f03ffbdc47b3a6901f4fa2a25fb
refs/heads/main
2023-01-01T02:29:31.591861
2020-10-27T19:04:11
2020-10-27T19:04:11
301,565,957
0
0
null
2020-10-27T19:04:12
2020-10-05T23:41:30
Python
MacCentralEurope
Python
false
false
1,976
py
""" HISTOGRAMS Finding your Best Bin Size The figure below displays the graph that you created in the last exercise: Histogram This histogram is helpful for our store manager. The last six hours of the day are the busiest ó from 6 pm until midnight. Does this mean the manager should staff their grocery store with the ...
[ "marcelo.delmondes.lima@usp.br" ]
marcelo.delmondes.lima@usp.br
2aa88315ba210081a02274e09c7e59726276c367
e4bceb499098281253f01f93d5c4f11284febf2e
/wakeup.py
71ff96919c980606a2c9ddd0ded586b253c131a3
[]
no_license
Hemie143/gc_mysteries
d2a0a363767128bd599e079a1fab01822986d7e9
d26cf036f20f13d9a6c314000b7531e2f21d4d5e
refs/heads/master
2021-09-15T11:25:23.775079
2018-05-31T11:38:08
2018-05-31T11:38:08
125,210,054
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
import requests import filecmp import os import time import datetime ''' curl -A "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36" -e http://geocachewakeup.byethost7.com/?ckattempt=1 -b "__test=a7f64c693f5755629af2d2c71aa06d2a;referrer=" -o wakeup%TS%.png -H "C...
[ "hemie143@gmail.com" ]
hemie143@gmail.com
68b52eaab15e855c47aa44bfc318c70d8d29b2d7
e7c136c2e0e27649b4625b730e322002d441cc8b
/backend/api/urls.py
6559c5c85a90997ab18ec3c1b7de2973f328cc25
[]
no_license
irakliShengelia/todoapp
4fde0b8ddbf03bea61e7128739e0142a19ec87b3
f354020fad979ece8e8361c985b499b1e2c77a9a
refs/heads/main
2023-06-16T15:33:49.281252
2021-07-17T11:46:23
2021-07-17T11:46:23
386,881,004
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
"""api URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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='home') Class-based vie...
[ "iraklishengelia94@gmail.com" ]
iraklishengelia94@gmail.com
797a23d8f9e8f6fb1b1ef62c61457962f3b58e28
a6491f894d04cb00b4c5275b2e78d8edee63e20d
/menu/views.py
5421698d7a109515cc784956bf8b9f611caa034d
[]
no_license
naofumi-npd/hybrid-api
02e1c141edd26b8f171b7387492cc2a2d3e1b663
873e20da88e93820d3b504e2ae9f662ccf569796
refs/heads/master
2021-01-10T06:59:49.949510
2016-02-11T16:00:21
2016-02-11T16:00:21
51,094,228
0
1
null
null
null
null
UTF-8
Python
false
false
513
py
from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from rest_framework.renderers import JSONRenderer from rest_framework.parsers import JSONParser from menu.models import Menu from menu.serializer import MenuSerializer from common.json_response import JSONResponse # Create your v...
[ "Naofumi.Ezaky@ey.com" ]
Naofumi.Ezaky@ey.com
9552a4202c57da6683460a396c52a33330a68705
3906b448670dfc54f91dad58bc36ed8a4d8168b9
/emp_project/bin/pasteurize
a80a2d596b9a2a038ccb15bf984e42a1a1e8721a
[ "MIT" ]
permissive
jayfoleyiv/ANI
2a67c90aeec3d7a814e6463432183bef09d77283
bda77b9f372e4a4582a33b43857823775bc88e92
refs/heads/master
2022-11-16T09:24:06.788732
2017-07-25T19:52:53
2017-07-25T19:52:53
98,344,353
0
1
MIT
2022-10-25T10:50:47
2017-07-25T19:51:50
Python
UTF-8
Python
false
false
391
#!/Users/jay/CODE/EMpy/emp_project/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'future','console_scripts','pasteurize' __requires__ = 'future' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "jayfoleyiv@gmail.com" ]
jayfoleyiv@gmail.com
f047b7e7e7ffeddbf2f1357674c44aee7ab8d35a
6e8f2e28479566dbaa338300b2d61f784ff83f97
/.history/code/datasetup_20210414102701.py
67abb47540226e9e7256dd767a367bdddaf1b16d
[]
no_license
eeng5/CV-final-project
55a7d736f75602858233ebc380c4e1d67ab2b866
580e28819560b86f6974959efb1d31ef138198fc
refs/heads/main
2023-04-09T21:28:21.531293
2021-04-21T19:57:22
2021-04-21T19:57:22
352,703,734
0
0
null
null
null
null
UTF-8
Python
false
false
4,231
py
from PIL import Image import numpy as np import matplotlib.pyplot as plt import matplotlib.image as mpimg import pandas as pd import cv2 import os import glob from pathlib import Path def cleanTestDirs(): emotions = ['angry', 'happy', 'disgust', 'sad', 'neutral', 'surprise', 'fear'] for e in emotions: ...
[ "natalie_rshaidat@brown.edu" ]
natalie_rshaidat@brown.edu
1a9508bc54330982323ca71c3ce2b6369ad02352
277ff420e7b65f9ea1d80995620250aede8e465a
/main/views.py
a4fa43b2b70daec552b27a7f96e6fbf13791bc12
[]
no_license
pdfarhad/simple_company
8bca877321430d0ef2d458a488a160554139d8cc
be08975ab25dbab010827a64d1953f2bb675523e
refs/heads/master
2021-01-08T17:16:05.502417
2020-02-21T08:33:19
2020-02-21T08:33:19
242,090,955
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
from django.shortcuts import render from django.views.generic.edit import FormView from main import forms # Create your views here. class ContactUsView(FormView): template_name = "contact_form.html" form_class = forms.ContactForm success_url = "/" def form_valid(self, form): form.send_mail() ...
[ "farhad.alam@shohoz.com" ]
farhad.alam@shohoz.com
8cdd706344dff0e13cfd77f5b6b4f98005a35c96
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/bBExn57vLEsXgHC5m_13.py
a75afd38204a17adcd9211e34c8b31be9e80d941
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
def same_line(lst): try: return (lst[1][1] - lst[0][1]) / (lst[1][0] - lst[0][0]) == (lst[2][1] - lst[1][1]) / (lst[2][0] - lst[1][0]) except: return lst[0][0] == 0 and lst[1][0] == 0 and lst[2][0] == 0
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
2aad27eba4451cb440bcd52ff4cd8d3b9ec12213
2d953ed0c670c7d2599f3fdf198e7858fd11dcc6
/apps/users/models.py
e16e43a661a0c03fa3d2379b35b8861bc9e027ae
[]
no_license
rockingman/dailyfresh1
82830150b6998425b189f4eb33cee1f46dc3eea2
052eb0943bf358fcaec1e0210c531fa14499c2c5
refs/heads/master
2020-03-12T05:35:20.794597
2018-04-25T08:59:40
2018-04-25T08:59:40
130,466,509
0
0
null
null
null
null
UTF-8
Python
false
false
2,197
py
from django.contrib.auth.models import AbstractUser from django.db import models # Create your models here. from itsdangerous import TimedJSONWebSignatureSerializer from tinymce.models import HTMLField from dailyfresh import settings from utils.models import BaseModel class User(BaseModel, AbstractUser): """模型管理...
[ "1913307039@qq.com" ]
1913307039@qq.com
fb0ad1f1480d6d4839f0c76a440b978b0e071368
7c9f28e371e8dfa9290c05a48a9d924484b4b18c
/rgn.py
3a668bd7122d3cbb93110cc8b215dd74a2e7f72c
[]
no_license
Pavithralakshmi/corekata
1f9d963da44a6fdcdedaf2e39452545f6cc52e9b
06d1c7bba25681ce12e2ab93ce461228afb6b984
refs/heads/master
2021-04-30T01:53:37.414318
2018-10-11T17:58:39
2018-10-11T17:58:39
121,491,600
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
def sum_digits(n): ss = 0 while n: ss += n % 10 n //= 10 return ss
[ "noreply@github.com" ]
noreply@github.com
466f4bfb9d8c8f5b5ded6d2dbea4bb02c4b53898
213a898605bece74bbfd3e6a100d441496c78a0f
/tests/projects/dnsresolver/test_resolver.py
1b07dd62179eaf876160e5b727fabf307a850752
[]
no_license
palaju01/CS-430-Computer-Network
706989d9218c99882fec033b2bff663e89e55d63
5ce3c1a2ae530214bdb23ff68c38bde3b7037b2e
refs/heads/master
2023-01-31T18:02:19.791645
2020-10-18T18:24:21
2020-10-18T18:24:21
300,754,281
0
0
null
null
null
null
UTF-8
Python
false
false
11,541
py
#!/usr/bin/env python3 """ Testing the DNS resolver """ import pytest from src.projects.dnsresolver.resolver import val_to_2_bytes from src.projects.dnsresolver.resolver import val_to_n_bytes from src.projects.dnsresolver.resolver import bytes_to_val from src.projects.dnsresolver.resolver import get_2_bits from src.p...
[ "yasinovskyy@gmail.com" ]
yasinovskyy@gmail.com
747ae1bb1162326667eefdda0d9f8cace83ba35b
2d32aa71fd0826dcefa23c5fc43eb86d3828a137
/web/views/dashboard.py
e91b89d33fcfe60b4951720945f462f53b425272
[]
no_license
chenlikaih/Saas
f20c1aa25fa5f3d425a3e22e1627cc3cd82594e0
5cb6620908334281e49b9fd8827fc92861fa3c88
refs/heads/master
2023-05-07T02:00:05.119649
2021-05-26T09:55:50
2021-05-26T09:55:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,094
py
import collections import datetime import time from django.http import JsonResponse from django.db.models import Count from web.models import * from django.shortcuts import render from web.models import * def dashboard(request, project_id): """概揽""" # 问题数据处理 status_dict = collections.OrderedDict() # 有序...
[ "2399745557@qq.com" ]
2399745557@qq.com
8143e360de4b47b6e9fe22c2729c72ca87b0fa10
414bc1c7b5a63c50e1b0f42d8d4e34aa8bdbfc25
/lab3/datalink.py
0069cfb075e057b5e4933f5c92f8974c0553913d
[]
no_license
EvanSimpson/ComputerNetworks
fb1f889f0295bd4189c9074bc105d26561795227
5d0792e15f638d1d9fa50e14eedb00ef80c7b652
refs/heads/master
2020-02-26T15:19:50.601207
2015-04-27T15:56:22
2015-04-27T15:56:22
30,338,121
0
1
null
2015-04-21T16:22:19
2015-02-05T04:44:31
Python
UTF-8
Python
false
false
2,437
py
from crc import crc addresses = ['A', 'B', 'C', 'D'] protocols = ['NET'] class Mac(): def __init__(self, destination, source, next_protocol, payload): ''' Takes as input strings for each value of the ''' self.destination = destination self.source = source self.next_protocol = next_protocol self.payloa...
[ "cecelia.auerswald@gmail.com" ]
cecelia.auerswald@gmail.com
b9a54d4ff9b90e87a8ea95c6b793eee65193b3eb
205a68067ff96e81faa2ae5c9dfc03b86e3c1f7d
/silverstripe/installer.py
3c519240862c93a24cce0047eef42c2a5b79daef
[]
no_license
djdagovs/cherokee-webserver-distribution
4e1ce2ee9a81a59cb19d735a7b190dbda436a4e2
f30a9375c95617df048a56815702f00c90c9d080
refs/heads/master
2021-05-26T13:54:17.275899
2011-04-13T08:29:13
2011-04-13T08:29:13
109,217,535
1
0
null
2017-11-02T04:25:47
2017-11-02T04:25:47
null
UTF-8
Python
false
false
10,629
py
# -*- coding: utf-8 -*- # # Cherokee Distribution # # Authors: # Alvaro Lopez Ortega <alvaro@alobbs.com> # # Copyright (C) 2011 Alvaro Lopez Ortega # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as published by the Free...
[ "alo@cherokee-project.com" ]
alo@cherokee-project.com
6c8fc766af45b543220c2ad95816ce0649da7470
45ab1e397b5fc69ba84c8f5dfb66c09b79bca4c6
/Course_IV/Parallel computing/pract12/MPIMess/MPIMess.py
bd2fddbca6ce136cceff39e7631e81f3eb668d76
[ "WTFPL" ]
permissive
GeorgiyDemo/FA
926016727afa1ce0ee49e6ca9c9a3c60c755b35f
9575c43fa01c261ea1ed573df9b5686b5a6f4211
refs/heads/master
2023-06-28T00:35:43.166167
2023-06-16T14:45:00
2023-06-16T14:45:00
203,040,913
46
65
WTFPL
2022-04-09T21:16:39
2019-08-18T18:19:32
Jupyter Notebook
UTF-8
Python
false
false
807
py
from mpi4py import MPI from numpy import empty , array , int32 , float64 , dot # определяем коммуникатор comm – группу процессов, которые участвуют в вычислениях comm = MPI. COMM_WORLD # rank применяется для указания номера процесса rank = comm.Get_rank() numprocs = comm.Get_size() #Если номер процесса 0...
[ "16972045+GeorgiyDemo@users.noreply.github.com" ]
16972045+GeorgiyDemo@users.noreply.github.com
863a82578f363d6fae80430289a99afa0439e46d
9288eb470e07086c08714de99ef115ba705acf9a
/machine-learning/assignment-4/convnetjs/convnetJS_data.py
12715a7cb5649ff685d9dd115be07772d6cfbf64
[]
no_license
kuljotanand/cornell-tech
3205a6477d236bdddd10d81686908560cd162f13
13c135911f10cf7ac3938ec237de2f81131e13cb
refs/heads/master
2020-06-19T16:37:55.354607
2016-05-15T03:05:43
2016-05-15T03:05:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
210,716
py
from matplotlib import pylab as plt import numpy as np get_ipython().magic(u'matplotlib inline') loss_data = [0.08701109234449807,0.0867698515527921,0.08648842362361969,0.08613665264633835,0.08576907492778794,0.08544200723252081,0.08503090264421877,0.08463666288290092,0.08425082842178706,0.08387088447615063,0.08351666...
[ "DanielSpeiser93@gmail.com" ]
DanielSpeiser93@gmail.com
ad736b78161f3b5948687879008f4b2325b497af
01a14eac64b09317b0160c521fa41290c9d575dd
/mala/targets/ldos.py
10ef67b60975950aa81fd8874cedb44ee23c86c7
[ "BSD-3-Clause" ]
permissive
icamps/mala
03a1223fcf112b5a4e4162dc5292daa90d09058c
9cc771b0cdc4178c7f66fd717684658abbb0d95c
refs/heads/master
2023-08-23T11:20:06.526493
2021-07-07T11:18:35
2021-07-07T11:18:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,261
py
"""LDOS calculation class.""" from .cube_parser import read_cube from .target_base import TargetBase from .calculation_helpers import * from .dos import DOS from .density import Density import numpy as np import math from ase.units import Rydberg from mala.common.parameters import printout class LDOS(TargetBase): ...
[ "l.fiedler@hzdr.de" ]
l.fiedler@hzdr.de
f8ac091733b8dedd9a54a68c17fb0e8cfdd36957
f5ed026c4dbecbda2fcf286464e9c760c0ff3162
/py_try_grid_trade_workspace1/myoco/management/OcoManagement.py
ca8bf67398dec9b7c395d3a2e649f120ea963124
[ "MIT" ]
permissive
KeithLaiKB/py_try_grid_trade
494a96423968df8aac8506d9a1c209f141408d76
a0fa66bc87946bb95e84fbaa818e2cefe01d1655
refs/heads/main
2023-05-14T04:43:36.068760
2021-06-09T02:33:41
2021-06-09T02:33:41
371,605,112
1
1
null
null
null
null
UTF-8
Python
false
false
18,078
py
import json import logging import os from pip._vendor import requests from mytool.MyDealFileTool import MyDealFileTool from mytool.MyUrlTool import RequestMethod from client.MyClient import MyClient from mytool.MyTimeTool import MyTimeTool class OcoManagement: ''' [ { "orderListId":32802...
[ "laidelivery@163.com" ]
laidelivery@163.com
a4f0c4daed824f0ac16eaef1d5fe87e00b94e9b4
fe07983ed99464d3f0bccf7863da2b733022c3a5
/wk_show_password/__manifest__.py
28e203a38b586fb4c6e473a3c6dda57a0b4d8772
[]
no_license
pildekm/odoo13
2712c4ae8081936ea8ed5589332c481589199ae7
b2d7efb671627f42a5bd6f474a59bf4dac4d3bef
refs/heads/master
2022-07-15T21:15:33.895206
2020-05-18T11:21:50
2020-05-18T11:21:50
253,416,388
2
1
null
null
null
null
UTF-8
Python
false
false
1,335
py
# -*- coding: utf-8 -*- ################################################################################# # Author : Webkul Software Pvt. Ltd. (<https://webkul.com/>) # Copyright(c): 2015-Present Webkul Software Pvt. Ltd. # All Rights Reserved. # # # # This program is copyright property of the author mentioned abo...
[ "jurkaboy@gmail.com" ]
jurkaboy@gmail.com
4d260aa5aff30896a44b2742d3400a656abe627d
268147288158ef3ea04b93f06ea804f9669c87f0
/MAYA/codes/python/rig/blendAttrs.py
481c0bab585ea72a535c8e5e5d8b5a1778e6cce2
[]
no_license
satishgoda/EHM_tools
644713466838bed51ac713661699779338961c16
b407bcd33c1dc7a4f1bb0d0e06e47bfba44958b0
refs/heads/master
2021-01-21T03:50:38.142724
2016-03-18T00:05:38
2016-03-18T00:05:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
# blendAttrs # blends A and B by the amount of blender, connects them to C. # needs four attributes. #============================================================ import pymel.core as pm def BlendAttrs( A=None, B=None, C=None, blender=None ): result_bln = pm.createNode ( "blendColors", n = "_bln" ) if A==0:...
[ "hm.ehsan@yahoo.com" ]
hm.ehsan@yahoo.com
e2e902fe476469280d8f67738cf676ce097be6c5
48290f34b95013e1d25b98a73fdd8f879c4b5b7a
/login-register.py
06cfab88082c20f8d6c6d00093327aba2e0b705b
[]
no_license
anmolrajaroraa/core-python-july
584a3b055c39140b8c79c1158b366f8bdc4a015d
0fada23d8d969e548dadb6b9935aff1429f13a64
refs/heads/master
2022-12-15T23:17:19.786059
2020-09-13T17:37:51
2020-09-13T17:37:51
278,815,765
0
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
import csv # comma separated values print(''' 1. Login 2. Register ''') choice = int(input("Enter choice: ")) # if choice == 1: # isLoginSuccessful = False # usernameOrEmail = input("Enter username/email: ") # password = input("Enter password: ") # with open("users.csv") as fileStream: # read...
[ "anmolarora1711@gmail.com" ]
anmolarora1711@gmail.com
cfaac444662bb42ab5e5d32032625767f43c5a97
0f44d80a9ba27773c4792ca77bcb94fbbdb23ad0
/backend/replace_in_django_project/settings/local.py
5e219464b32fad020e22101a5089147af7b823c0
[]
no_license
bichocj/flutter-demo-server
0a6581ec75ae08907b8892eb32082bba515e575f
ff92162cb1c0aa954a4ebf4b7bc6cd37f33b5fc0
refs/heads/master
2020-04-02T13:45:55.560590
2018-11-06T05:11:18
2018-11-06T05:11:18
154,496,259
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
"""Local settings for development.""" from .base import * # noqa MIDDLEWARE += [ 'debug_toolbar.middleware.DebugToolbarMiddleware', ] # Email settings EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend' EMAIL_FILE_PATH = os.path.join(BASE_DIR, 'tmp', 'email') # Application definition INSTAL...
[ "bichocj@gmail.com" ]
bichocj@gmail.com
2e673462bf565b4ee11ba0aa01f46f705c8e9ce7
a6b9a7adbabef7fb70bfc87d54d6fd5bb58e66a1
/DFD/News/newswebsite/rssfeed/__init__.py
9de8fd2ea09e5bd5a1ec112ad95664909191593f
[]
no_license
vmmrahul/2k19-projects
14d023e2359b2bafe2eb9220f2fdf5776222bbbc
38d70b0a47dcd9e51c02e148b7163e7f4b5b01c5
refs/heads/main
2023-04-17T09:03:42.032584
2020-11-03T12:14:35
2020-11-03T12:14:35
309,672,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
import feedparser def trending(obj): print(obj) if obj == '/': # NewsFeed = feedparser.parse("http://feeds.feedburner.com/ndtvnews-trending-news") NewsFeed = feedparser.parse("http://feeds.feedburner.com/ndtvnews-top-stories") elif obj == "Entertainment": NewsFeed = feedpa...
[ "rkb9878@gmail.com" ]
rkb9878@gmail.com
8b5ae3a5892906f54abcc4cbc3632d94af95eb3e
fe00e0291da85b7899265acb31d74f445b3b280c
/Python Collections module.py
1dc05b463ad2e8d727048d9a02e92701db09e98b
[]
no_license
jnomellini/Udemy-Course-Workalongs
29169c861bc0a49cda69f4da7c04ac6dcc53dbc5
93248d51c3907d213d75012986cbaa8a8ca970ed
refs/heads/main
2023-02-22T05:27:29.855774
2021-01-29T01:31:07
2021-01-29T01:31:07
325,463,404
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
#!/usr/bin/env python # coding: utf-8 # In[1]: from collections import Counter # In[2]: mylist = [1,1,1,1,1,2,2,2,2,3,3,3,3,3,3] # In[3]: Counter(mylist) # In[4]: mylist = ['a','a',10,10,10] # In[5]: Counter(mylist) # In[6]: Counter('aaaaaaaaaabbbbbbbbbbbdfdfdfdfsfsfsffwerioter') # In[7]: sen...
[ "noreply@github.com" ]
noreply@github.com
3a05f78c5bf798618dd5ee046587dda53a0b9a0a
daa999a39d46fd45fd88f42d85521c753214227e
/brain_games/scripts/brain_calc.py
e1382df9be050e58196c3d4325972a7de9062432
[]
no_license
Wafflya/python_pract
987e484e34638a72d1f2726535ef29bd435edde4
aea77d666edcafdb6acd9ad86f044ed4b58fd31e
refs/heads/master
2023-04-17T15:03:57.381819
2023-04-03T20:15:46
2023-04-03T20:15:46
244,511,914
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
import operator import random from brain_games.cli import welcome_user from brain_games.service import ask_question, check_answer operands = { "+": operator.add, "-": operator.sub, "*": operator.mul } def main(): name = welcome_user() print('What is the result of the expression?') for _ in r...
[ "vmarat95@gmail.com" ]
vmarat95@gmail.com
0cf04666a8ddad1b55ff72f4fb0999faac77cbc0
51da056c52b592fb30da101d065c00df29ddff67
/env/bin/wheel
860a916210a12ba1b91ad82d9599a10ea1537e38
[]
no_license
Adinai949/djangogirl
fdff6a5980dbc4c3d5ebbc3ad273fb8870405bec
3b235807a3aaa09d17da3aad186955e33ea23045
refs/heads/master
2021-01-04T00:08:49.538591
2020-02-16T15:52:39
2020-02-16T15:52:39
240,290,173
0
0
null
null
null
null
UTF-8
Python
false
false
248
#!/home/adinai/Desktop/bootcamp/djangogirl/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "adika949@gmail.com" ]
adika949@gmail.com
a437b03ee5459f462e70f397e65233c11427933f
53fdd993702d747f121f95f6e007804a93dc1f68
/hello.py
c4b4d15b6c48ee8ddf3c973cab7642cda71b0552
[]
no_license
HoangCuongMTA/HW3-HoangCuong
476d81389559f559ca6d18ce463f8e8451145d9b
3d32f7e8dd5adf8bc44869e7bc4bb95e2fa20b59
refs/heads/main
2023-07-09T20:37:01.251183
2021-08-06T15:03:32
2021-08-06T15:03:32
393,408,730
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
from flask import Flask from flask import render_template, url_for app = Flask(__name__) @app.route("/") def index(): return render_template("main.html") if __name__ == "__main__": app.run(host="localhost", port='5000')
[ "hoangcuongmsa@gmail.com" ]
hoangcuongmsa@gmail.com
330a65e3a647bee90a48d3f323e928e718b549f5
1dc67a30f9af553243088668d51bc4e75e87d83d
/python/dazhewan/day19/打着玩/super_init.py
c76074a2ffcc59ce4d27de7f348f85e81ddb37c5
[]
no_license
houyinhu/AID1812
00db45b3e8905bd069b31f2e7689f83bca3fa61f
8eeb9f06ed9f4e742d480354ef0e336dfe8c2f17
refs/heads/master
2020-04-27T16:33:57.275890
2019-04-10T01:09:51
2019-04-10T01:09:51
174,486,040
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
#super_init.py #此示例示意,用super函数显示调用基类__init__初始化方法 class Human: def __init__(self,n,a): self.name = n self.age = a print("Human的__init__方法被调用") def infos(self): print('姓名:',self.name) print('年龄:',self.age) class Student(Human): def __init__(self,n,a,s=...
[ "ahu@163.com" ]
ahu@163.com
17a9ee711a1a28d420636942b679622db0b202e1
7bc904232185163d065bae608c12f5e6d1e25ebf
/CellsWithOddValue/main.py
367d31772075c7c8d073c2393944b12203ec7411
[]
no_license
tuankhaitran/Pythonpractices
6f66305313c640e6faf7369426307c97b88ea4ea
2e5dfd44069780ca392a2dadbbc5c68c0e6bb3e7
refs/heads/master
2021-06-29T20:02:40.112599
2020-10-15T02:12:41
2020-10-15T02:12:41
168,436,420
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
# Given n and m which are the dimensions of a matrix initialized by zeros and given an array indices where indices[i] = [ri, ci]. For each pair of [ri, ci] you have to increment all cells in row ri and column ci by 1. # Return the number of cells with odd values in the matrix after applying the increment to all indice...
[ "trankhaituan112@gmail.com" ]
trankhaituan112@gmail.com
65194f17de5d6bb89f0aa780e36525ec567335e6
2dff6957b68347c2dd5783334a8d8d53d038c9e6
/examples/emoji_suggestions.py
cce7299f8cb2bd14b37c1dd517fa4af90e7c62ec
[ "Apache-2.0" ]
permissive
pavelhouzva/ritetag-api-python
88760e5bacc311f6b97fa2e6bb25c3260b7c805b
e4f1555d393506fec052bc5eb7ad757645adb345
refs/heads/master
2022-12-10T16:04:11.184999
2021-05-24T14:25:48
2021-05-24T14:25:48
250,523,711
1
5
NOASSERTION
2021-06-02T01:18:24
2020-03-27T12:03:29
Python
UTF-8
Python
false
false
533
py
#!/usr/bin/env python from ritetag import RiteTagApi, read_env_file, get_env read_env_file('.env') access_token = get_env('ACCESS_TOKEN') client = RiteTagApi(access_token) result = client.emoji_suggestion('TIL the Austrian mathematician Kurt Godel had an obsessive fear of being poisoned,' ...
[ "phouzva@gmail.com" ]
phouzva@gmail.com
3947a664bd82ddbf704fb0ff2cce9b0bbd23f985
c8c7cb6f2a124d70eb50fa9e8bc7dca0f28b5be9
/main.py
81e25e5915a9b1fe545c12dc3dd167c5e2efbb58
[]
no_license
VincentGaoHJ/Spider-1905
1b97894ffa3831ffa76beb4e6773e6e75ad37e03
f4dd575ac220210422f473256b104e68a7ca937f
refs/heads/master
2021-05-18T12:40:33.836180
2020-05-17T08:31:28
2020-05-17T08:31:28
251,246,951
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
# -*- coding: utf-8 -*- """ @Time : 2020/3/31 9:58 @Author : Haojun Gao (github.com/VincentGaoHJ) @Email : gaohj@Scishang.com hjgao@std.uestc.edu.cn @Sketch : """ from scrapy.cmdline import execute execute(['scrapy', 'crawl', 'spider_1905'])
[ "gaohj@scishang.com" ]
gaohj@scishang.com
32efdaf61443fdcf9e5a0d3cb8f10ee369a7df07
f993ecdd883695e1a5177ad8b9f635865b9394e5
/kadai02_3.py
cfc7728443cdbd4716cad8b724c0e3e392a33b28
[]
no_license
shimataka0509/kadai02
6c656a1f0090aed65ef17491c1f07c6d88cca659
900131359cabf510cb849be1e9a89e5dec6f7454
refs/heads/main
2023-02-28T23:26:54.613127
2021-02-03T00:51:21
2021-02-03T00:51:21
335,460,523
0
0
null
null
null
null
UTF-8
Python
false
false
2,487
py
from collections import deque tsoot = ["S","C","D","H"] tcard = ["A","2","3","4","5","6","7","8","9","10","J","Q","K"] card = int(5) suuzi = [] soot =[] check = [0,0] #入力 for k in range(2): yaku = "ハイカード" for i in range(card): s = input().rstrip().split(' ') soot.append(int...
[ "noreply@github.com" ]
noreply@github.com
e5c8f227e63efd6b319513791323b9864ef626bc
13a87f608e0c5cae023dbc159eb6d489375e38dd
/Nädal 1/Ülesanne 7/Kasutaja.py
49a707a54387c64294c84c12d107186f395451e3
[]
no_license
KristjanKuus/Oop_Alused
60db552c074a19efa819797d67764f821ed26c0d
7cdccff6db84a39750fd9f624c23cc90ca2da44c
refs/heads/master
2023-03-14T09:21:15.994197
2021-03-02T08:06:48
2021-03-02T08:06:48
337,350,829
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
class Kasutaja(): def __init__(self, eesnimi, perenimi, privileeg = ""): self.eesnimi = eesnimi self.perenimi = perenimi self.privileeg = privileeg def get_privileeg(self): return self.privileeg def set_privileeg(self, x): self.privileeg = x def kirjelda_kasuta...
[ "kristjan.kuus.001@khk.ee" ]
kristjan.kuus.001@khk.ee
a7f2c0021ad9c5918e45f71a7a21ffa086500a05
6d2fd7069492c9f0b54b8ecbcd1ef3ae02811cb5
/Split_Task.py
9e6bd56dd2a03a591145fb78899518f2987ba5f1
[]
no_license
MaYihang/WisAPS_1.5
1a413599e40533277ebd5d7c708871a1fb70a4c2
ffb205af68a58630b1ef3caadd911f5fed95b60e
refs/heads/master
2020-05-02T01:51:20.217360
2019-03-26T08:50:50
2019-03-26T08:50:50
177,693,224
0
0
null
null
null
null
UTF-8
Python
false
false
4,607
py
#!/usr/bin/env python # coding: utf-8 #根据工艺BOM将订单拆分成生产任务 from Calculate_ProductionNum import calculatenum import copy,time,collections def Analysis_Sales_Order(Sales_Order,production,Materials,OUTPUT,urlpath): Order={} prioritylist=[] Keylist=[] for i in range(len(Sales_Order['saleOrder'])): ...
[ "noreply@github.com" ]
noreply@github.com
0a3a0097b6cf311e49d6da4a0de4b7ef22c3ab65
dff749b6652cc6b5ba804d491b3c981f2a9599e1
/pytests/cbas/cbas_dcp_state.py
03a677fa6579ceeecb3c6325aff0a53bb9c2c7d1
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pavithra-mahamani/TAF
7c6f40beee7fb14f28f7016a246c49d3e728b938
ff854adcc6ca3e50d9dc64e7756ca690251128d3
refs/heads/master
2020-07-29T01:18:56.807783
2019-09-20T22:51:50
2019-09-20T22:51:50
209,612,844
0
0
Apache-2.0
2019-09-19T17:35:20
2019-09-19T17:35:20
null
UTF-8
Python
false
false
15,424
py
import time import json from cbas.cbas_base import CBASBaseTest from remote.remote_util import RemoteMachineShellConnection from couchbase_helper.tuq_generators import JsonGenerator class CBASDCPState(CBASBaseTest): def setUp(self): super(CBASDCPState, self).setUp() self.log.info("Establish rem...
[ "ritesh.agarwal@couchbase.com" ]
ritesh.agarwal@couchbase.com
4c06fa4aacb00b12575f01a460389429a1fd1f1e
3e805a105601281eafba0663ec05c2e37c625587
/tests/adminx.py
2c99779efca63507b29d133049184bf6ed5bdbb2
[ "Apache-2.0" ]
permissive
ni8mr/django-xadmin-extras
158f9f6714f1cf8603cfcb9c2a84fab6bf88f751
ac62a86867ea44aeb779fc747d9261c830534db5
refs/heads/master
2021-07-17T05:37:43.651468
2017-10-24T09:02:06
2017-10-24T09:02:06
108,101,916
1
0
null
2017-10-24T08:57:50
2017-10-24T08:57:50
null
UTF-8
Python
false
false
441
py
# coding=utf-8 import xadmin import xadmin.views as views import xadmin_extras.views as ext_views from apps import TestAppConfig from models import ModelA, ModelB class ModelAAdmin(object): app_config = TestAppConfig() class TestCommView(ext_views.AppConfigViewMixin, views.CommAdminView): pass xadmin....
[ "jcorderomartinez@gmail.com" ]
jcorderomartinez@gmail.com
a456e19cd9296ebd7f72cb740ff6165d5b72db52
1384435f0e0cf706db82d0672d5fe9e3bc0cf5a8
/agilo/ticket/tests/workflow_test.py
4fc84cd6f5053468c692e14cb4e4a51a6219361f
[]
no_license
djangsters/agilo
1e85d776ab4ec2fa67a6366e72206bbad2930226
1059b76554363004887b2a60953957f413b80bb0
refs/heads/master
2016-09-05T12:16:51.476308
2013-12-18T21:19:09
2013-12-18T21:19:09
15,294,469
0
0
null
null
null
null
UTF-8
Python
false
false
11,979
py
# -*- encoding: utf-8 -*- # Copyright 2009 Agile42 GmbH, Berlin (Germany) # Copyright 2011 Agilo Software GmbH All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # ...
[ "bastir@gmail.com" ]
bastir@gmail.com
14e2bb21ba342418565ae2afe0de4b1f5e401027
491477ef55201848be191a0c4161ed1158b47cca
/MyGW/InsCompany/migrations/0051_auto_20190513_0032.py
dd12a9e4b3a11c1d2139cfd43c2f6ad72607e148
[]
no_license
meluzoff97/my_diploma
6224828aae8a1fbf08f262871444a21bfc4dc010
b20277e026bd20b4fde43865de42311975902a67
refs/heads/master
2020-12-23T05:34:47.810507
2020-01-29T18:36:38
2020-01-29T18:36:38
237,050,828
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# Generated by Django 2.1.7 on 2019-05-12 21:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('InsCompany', '0050_contractrisk_tcr_str_sum'), ] operations = [ migrations.AlterField( model_name='risk', name='rsk_...
[ "meluzovoleg1997@mail.ru" ]
meluzovoleg1997@mail.ru
4890adfba95e71254c99424f6f9296385bc6d674
5c81efefdf7aad6d4712077a1edf1f75b7a1d78a
/apps/documents/models.py
aea4e76f2678e6193db7b0db279263f0a069a0e3
[]
no_license
abogdanov87/safety_work
38fc3788dddfc775767ff612c7a379e7b0d20195
8e2f5a6f9267f0eb36224ca2cebe559e19341489
refs/heads/master
2022-05-02T08:51:06.785097
2020-05-25T16:00:59
2020-05-25T16:00:59
209,609,887
0
0
null
2022-04-22T22:36:02
2019-09-19T17:18:52
Python
UTF-8
Python
false
false
2,677
py
import os from django.db import models import uuid from django.apps import apps from datetime import datetime, timedelta from django.conf import settings from common.models import Entity from django.core.validators import FileExtensionValidator from django.utils.translation import gettext_lazy as _ def get_file_path...
[ "anybogdanov@sberbank.ru" ]
anybogdanov@sberbank.ru
08cff1c416ee885be7a603e99c2b144ecffaac48
caf548005686f0c43e892efd05c53e22af95165e
/apriori.py
4c097ce4eb739043e24bc3da36d1cc92173328f1
[]
no_license
NineTenth/Association-Analysis
c8955db290595259ce3c40084771e5d62e503d2c
7ee55e8e37bc5fbd6f9485dcca31416efe85d830
refs/heads/master
2020-08-19T20:49:50.343719
2019-10-18T06:09:24
2019-10-18T06:09:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,692
py
""" implement the Apriori algorithm tested with python 3.X """ import re from collections import defaultdict from itertools import combinations, chain from optparse import OptionParser import pickle def parse_file(filename): """ parset the file to get all transactions. Translate the bi...
[ "noreply@github.com" ]
noreply@github.com
296389490aace5681d56176f2a28a2d29eaf0359
aaf5bd6d931cf79935ee6234d4dc10858d12e763
/fig-supp5.py
23e54b5d940b19f4eada39e2879daa78f6cd0cf4
[]
no_license
weilin2018/PISCESiso_Ncycle_analysis
0f4a2fe9906bdcc0eebb7d718b02c4d91d62dce4
f85e1fcc3d8ff508751f3bce02fc6c3c185d5ab8
refs/heads/master
2023-02-03T15:37:08.752824
2020-12-18T17:23:28
2020-12-18T17:23:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,084
py
# -*- coding: utf-8 -*- """ Created on Fri Feb 14 10:45:58 2020 used in conjuction with ncycle_changes_climatechangeonly.jnl in /users/pearseb/analysis_picontrolfuture/ @author: pearseb """ #%% imports from __future__ import unicode_literals import os import numpy as np import netCDF4 as nc import matplotlib impo...
[ "pearseb@liverpool.ac.uk" ]
pearseb@liverpool.ac.uk
e8bb382d51faaf75eedbb9682001f8015f321704
4abcc0216e0fe8d63ff15918d8884bf2550046e6
/Asssignment11/main.py
99b66f9a22bbbd545c54023d8e8d87616625f8b9
[]
no_license
CBelcianu/Fundamentals-of-Programming
163a2105acb2e95137a151b1cb165953c70f979b
7aeadba0550e7ffac076eade4187fdedfe0b2314
refs/heads/master
2020-05-01T03:33:44.462806
2019-03-23T05:24:15
2019-03-23T05:24:15
177,247,813
1
0
null
null
null
null
UTF-8
Python
false
false
50
py
''' Created on 10 ian. 2018 @author: Catalin '''
[ "catalin.belcianu@gmail.com" ]
catalin.belcianu@gmail.com
047b96b5f23a5f677481e75436be67e963f16f40
0c110eb32f2eaea5c65d40bda846ddc05757ced6
/scripts/mastersort/scripts_dir/p7542_run2L4.py
d95b7a8dccc8565de88643a95318f55cc9b4a0c0
[]
no_license
nyspisoccog/ks_scripts
792148a288d1a9d808e397c1d2e93deda2580ff4
744b5a9dfa0f958062fc66e0331613faaaee5419
refs/heads/master
2021-01-18T14:22:25.291331
2018-10-15T13:08:24
2018-10-15T13:08:24
46,814,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
from __future__ import with_statement import os, csv, shutil,tarfile, uf, dcm_ops dest_root = '/ifs/scratch/pimri/soccog/test_working' dst_path_lst = ['7542', 'run2L4'] uf.buildtree(dest_root, dst_path_lst) uf.copytree('/ifs/scratch/pimri/soccog/old/SocCog_Raw_Data_By_Exam_Number/2727/E2727_e363504/s414724_1904_2L4_s23...
[ "katherine@Katherines-MacBook-Pro.local" ]
katherine@Katherines-MacBook-Pro.local
f137634b0821b9597b08027552f1db74ad9bc5dc
9508ccf2802becb4d19dd049b3496cf19d5f7b15
/tensorflow_probability/python/mcmc/internal/leapfrog_integrator_test.py
6ff15635b716756dbc78a4c7c242e3ac27e9390a
[ "Apache-2.0" ]
permissive
etarakci-hvl/probability
e89485968e4660050424944b0ffdbbf617533fe4
7a0ce5e5beff91051028258dfbc7bc6cf0c4998d
refs/heads/master
2020-11-25T20:39:53.290761
2019-12-18T02:13:04
2019-12-18T02:14:04
228,835,497
1
0
Apache-2.0
2019-12-18T12:27:56
2019-12-18T12:27:56
null
UTF-8
Python
false
false
3,873
py
# Copyright 2018 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
8ac47e70cea92610039e27232466aedce1b4d4b6
c5664503436bc77018387eb02916554e3e5d6edf
/users_app/forms.py
85c53397e32ce8c835c9a5eca626f9ed56d906a8
[]
no_license
99900999/TodoList
0e4d05f5c7c9becee1e8f4c3efce32563a9cac97
1be62b0b5af3056aae94c8b8b757b2f25e8149e8
refs/heads/master
2023-06-06T03:34:13.342379
2021-06-23T09:15:15
2021-06-23T09:15:15
379,517,670
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User class MyCustomForms(UserCreationForm): email = forms.EmailField() class Meta: model = User fields = ['username', 'email', 'password1', 'password2']
[ "alexbond0@protonmail.com" ]
alexbond0@protonmail.com
23df7434ab536aa03632fc11bee9095c7e4d847e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/64/usersdata/208/37039/submittedfiles/atm.py
fffc892d1e1eeab4114a3f231991c77f9faa11fd
[]
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
235
py
# -*- coding: utf-8 -*- v=int(input('digite o valor que deseja sacar:')) n1=v//20 n2=(v%20)//10 n3=((v%20)%10)//5 n4=(((v%20)%10)%5//2 n5=((((v%20)%10)%5)%2)//1 print('%d'%n1) print('%d'%n2) print('%d'%n3) print('%d'%n4) print('%d'%n5)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e3f890accfaebc27cdbdba58322ed3461881bb7e
871b5c6bedb36e85eeaae19fbec9be5dbc620baf
/NrTelFindall.py
515bc23c49bab0f5f7c4563d71f4f4bad61ff9d4
[]
no_license
Swantewit/Zadanka-Python
2e3af63a84aa4c5bce7282e1b6dcf66c8eb21a07
7e5061e0c048bfe8e64515c615eb1a5584e8236b
refs/heads/master
2022-12-27T18:38:07.928401
2020-10-04T09:31:20
2020-10-04T09:31:20
278,830,759
0
1
null
2020-08-11T18:57:00
2020-07-11T09:34:29
Python
UTF-8
Python
false
false
2,303
py
import re moList = [] phoneList = [] phoneRegex1 = re.compile(r'\(\d\d\d\)\s\d\d\s\d\d\s\d\d\d') #(022) 44 32 180 phoneRegex2 = re.compile(r'\(\d\d\)\s\d\d\s\d\d\d\s\d\d') #(22) 44 32 180 phoneRegex3 = re.compile(r'\d\d\d\d\d\d\d') #4432180 phoneRegex4 = re.compile(r'\(\d\d\)\s\d\d\d\s\d\d\s\d\d') #(22) 443 21 80 phon...
[ "feniks@Kubas-MacBook-Air.local" ]
feniks@Kubas-MacBook-Air.local
2f52aaac7e20119310401c3ba628d0ea489c2a5b
0845b9e00b0046c409eff2b55c835c331190a2dc
/Example_code/bullets.py
9f4598ab62b9538ba20843eecbbaf22de1f1f74d
[]
no_license
crazcalm/Learn_Pygame
edba44f4ff89add764ee3f6b2558172465f9cc26
e93c482fb9eb392912627855b11ff2c36c22a191
refs/heads/master
2020-04-05T22:56:29.928626
2014-09-27T07:08:29
2014-09-27T07:08:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,486
py
""" Show how to fire bullets. Sample Python/Pygame Programs Simpson College Computer Science http://programarcadegames.com/ http://simpson.edu/computer-science/ Explanation video: http://youtu.be/PpdJjaiLX6A """ import pygame import random # Define some colors BLACK = ( 0, 0, 0) WHITE = ( 255, 2...
[ "crazcalm@gmail.com" ]
crazcalm@gmail.com
f38e1dfcb655c6dbc788d7f7694c8cc180984438
1a827ce2bfacaa31ce58473f65cec94772c972ea
/tool/Sinwave/density_analysis_sinwave.py
736127fdbcfce59714de38586caf5803fb57ae4a
[]
no_license
CrazyAncestor/Multigrid_Poisson_Solver
b3fb607142aef0fea4f3605c5840c3cd7dfe1bc4
d215cf5d740179011f5fd41c73576a54499233b1
refs/heads/master
2023-06-03T17:37:30.319100
2021-06-29T11:17:10
2021-06-29T11:17:10
367,280,652
0
2
null
2021-06-22T04:42:52
2021-05-14T07:13:52
C++
UTF-8
Python
false
false
2,422
py
import numpy as np import matplotlib.pylab as plt from matplotlib.colors import LogNorm def plot_matrix( matrix, plot_title, savename="" ): fig, ax = plt.subplots(1, 1, figsize = (10, 10)) #im0 = ax[1].imshow(data, origin = 'lower', norm=LogNorm(vmin=1.e-1, vmax=1.)) im0 = ax.imshow(matrix, origin =...
[ "colonist288@gmail.com" ]
colonist288@gmail.com
89664b7d6b0d00870fd1ea6c501c6c7e2e2b6165
cabcdcd7cfb96a320df15303c173e6be69927894
/ptsemseg/metrics.py
0df42da6375364b94c4af9cc108762777b0d9404
[ "MIT" ]
permissive
htt1994/recurrent-unet-drive
5b760b8750998c8deca29519b1feeec248349c95
d260e39541a8224deebfd1bd47e7fefb1666cf05
refs/heads/master
2023-03-01T17:01:48.095357
2021-02-09T15:12:37
2021-02-09T15:12:37
337,642,256
3
0
null
null
null
null
UTF-8
Python
false
false
9,667
py
# Adapted from score written by wkentaro # https://github.com/wkentaro/pytorch-fcn/blob/master/torchfcn/utils.py import IPython import numpy as np # from sklearn import metrics def softmax(x): """Compute softmax values for each sets of scores in x.""" return np.exp(x) / np.sum(np.exp(x), axis=0) class running...
[ "1204908836ht@gmail.com" ]
1204908836ht@gmail.com
c58a59afa224e050c2b749dff2d5b56e62cb0988
33fdd062a2b8c6537814f9460a2f57ee18902e39
/events/models.py
53b7412b04eba1e59b5980eb5d86d1a991b7c548
[]
no_license
AnusiyaSs/Web-Calendar-
4b115e72e70c768f0150074a7ca028da9fd72baf
8168cbfb709415d6831246d082725e2b3a60920c
refs/heads/master
2023-01-30T12:05:14.542074
2020-12-13T18:04:09
2020-12-13T18:04:09
321,125,931
0
0
null
null
null
null
UTF-8
Python
false
false
1,945
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.core.exceptions import ValidationError from django.urls import reverse # Create your models here. class Event(models.Model): day = models.DateField(u'Day of the event', help_text=u'Day of the event') start...
[ "anusiyasubramanian@gmail.com" ]
anusiyasubramanian@gmail.com
e32a23c9ce2ef57f7dc91ac6f47085999b66c9c5
6b4aad5166fda5d3ac9c9592d89d057ac3d3198c
/Where2go/urls.py
affa87419394390b189bbbee2fc95a42989ad1eb
[]
no_license
Thitipat3006/Thitipat3006.github.io
591e52198cc093a9f8c32ea9224edeeef52b3440
576c84373d446fe0963f4811cee2d20c09a85d17
refs/heads/master
2023-01-23T04:21:28.615194
2020-11-20T15:53:51
2020-11-20T15:53:51
314,593,713
0
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
"""Where2go URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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...
[ "Thitipat.phongvhutivase.eig@gmail.com" ]
Thitipat.phongvhutivase.eig@gmail.com
030b8c613b906d3a24adb081e283f051b7de4093
738ca72f3375b23f6d2c07d2d24b6057db884477
/reward/comparative/train.py
bff9564222afeaa9e4717652678049188be1ccff
[ "Apache-2.0", "MIT" ]
permissive
JFCeron/turingadvice
cbc3e501012d4ac8957fe874345a4c6e5878a310
7f5a23ee7528bf13a650c862a86e1071ef1f7603
refs/heads/master
2023-08-12T08:39:18.555938
2021-09-07T12:16:01
2021-09-07T12:16:01
385,405,676
0
1
NOASSERTION
2021-08-25T14:14:07
2021-07-12T22:59:29
Python
UTF-8
Python
false
false
5,299
py
import os import sys import json from time import time from absl import flags import tensorflow.compat.v1 as tf from reward.comparative.model import ComparativeRewardModel from reward.comparative.data import SEQUENCE_LENGTH, MODEL_DIR PARAMS_OUT_PATH = os.path.join(MODEL_DIR, "params.json") PRETRAINED_MODEL_DIR = "g...
[ "juanfceron@gmail.com" ]
juanfceron@gmail.com
e86c28eacc4e52ddf846b6b241ca1f388c78734e
656def2ca5c0bd959b31b98cdbc53fea3420b2dc
/Python3.6-CDNSaveLogsIntoS3/src/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py
0c3fea121a28209f58e851e83686686fc98275cb
[]
no_license
tencentyun/serverless-demo
120271b96f8f960b6125c9d1481a5d8fe56165ae
4c324bb186c460fe78252f0ca5c28132a8bce6c9
refs/heads/master
2023-08-25T17:07:04.959745
2023-08-25T08:10:49
2023-08-25T08:10:49
281,120,881
94
119
null
2023-08-31T06:34:36
2020-07-20T13:15:46
null
UTF-8
Python
false
false
47,323
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
[ "franzcao@tencent.com" ]
franzcao@tencent.com
43c2d7552ae0cb24985f97e002e8cd52c67c1543
2a979f905411bc360db8f16713eb446df8e4c6bf
/installmissing.py
6462c3325b004c107bcbb89e0d90218706747e75
[]
no_license
bharathphani/sentiTweetAnalyser
e320c5700e042c198ca6740838231ceb44d8f8b1
ecf2e0622c3ff08f77e773fe30caa2ba0c987e90
refs/heads/master
2023-01-05T21:44:34.122121
2020-11-06T08:19:52
2020-11-06T08:19:52
310,527,096
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import nltk import ssl try: _create_unverified_https_context = ssl._create_unverified_context except AttributeError: pass else: ssl._create_default_https_context = _create_unverified_https_context nltk.download('rte') nltk.download('stopwords') nltk.classify.DecisionTreeClassifier.pretty_format()
[ "Bharath.Hogirala@iqvia.com" ]
Bharath.Hogirala@iqvia.com
22538c1872651bbd4379297308f9c18132212af5
ba419c981269f90bc90eebc5753c2101273b70a8
/scripts/previous_versions/emspost.py
29ef57206713602829aa8211adf818c14022246c
[]
no_license
postscanner/postscanner
1c88ac2905bffbcca3ff0d3a8d15e7ea2472b46a
c8fa29993848d7f173662ce36fbad09b67d8501c
refs/heads/master
2021-01-18T18:18:25.189096
2016-06-08T21:21:32
2016-06-08T21:21:32
60,731,128
0
1
null
null
null
null
UTF-8
Python
false
false
918
py
import json import requests import sys url = 'http://www.emspost.ru/api/rest' #print("Original city:") #originalCityName = input() originalCityName = sys.argv[1] #print("Deliviry city:") #deliviryCityName = input() deliviryCityName = sys.argv[2] #print("Weight:") #weight = input() weight = sys.argv[3] payload = {"me...
[ "dmitriy.supov@gmail.com" ]
dmitriy.supov@gmail.com
1d4abd406e5975787c37fe68fdc30ace92e9a531
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/pyexcel_20201111162515.py
eb28ae94c2e1ecfb48fe15a06c26ed612a6d0851
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
from openpyxl import Workbook from openpyxl.utils import get_column_letter wb = Workbook() dest_filename = 'empty_book.xlsx' ws1 = wb.active ws1.title = "range names" for row in range(1, 40): ws1.append(range(600)) ws2 = wb.create_sheet(title="Pi") ws2['F5'] = 3.14 ws3 = wb.create_sheet(title="Data") for row ...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
452bb4a716c3bd8adec7df2878cd13e873b5b57d
d75fbceb28ad14b07ae4057a8b23ec0bd3682628
/code/chap08/ZombieMobGame.py
1ca5ebc7b9173aa046b6f7eb320226cfc169fb42
[]
no_license
wubinbai/pygame-book
0707a0b36f41bc6f0b1282707e6c4f6cbed9c87a
9de1f7516a2aec940ffa97f9686cc0520bad2deb
refs/heads/master
2020-12-21T15:51:08.397619
2020-01-30T12:37:52
2020-01-30T12:37:52
236,478,999
0
0
null
null
null
null
UTF-8
Python
false
false
5,667
py
# Zombie Mob Game # Chapter 8 import itertools, sys, time, random, math, pygame from pygame.locals import * from MyLibrary import * def calc_velocity(direction, vel=1.0): velocity = Point(0,0) if direction == 0: #north velocity.y = -vel elif direction == 2: #east velocity.x = v...
[ "wubinbai@yahoo.com" ]
wubinbai@yahoo.com
d80cceffb15b6da1f32f7e511c4fb6433d8b362f
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Ablation4_ch016_ep003/W_w_M_to_C_pyr/pyr_6s/L3/step10_a.py
33a90e07ba8ad4d1d18aa65e7efbaf7acd074ac4
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
51,406
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
c04d44f0f6c5351e9d4b4c272a67500edc65c7af
ba4e017319aca6dc4a84d46dc7ea0d39578ac0e3
/triangle.py
d52c1819bb15e01ba0baad8a3add1fb69a8d7a15
[]
no_license
johnwmerrick/hello-world-git-tutorial
6d3d9a70af74ff1e3ac80fb8b3e1cb5f13969d90
f2d70f98aec68fd7d76777993050b0ad267ef4e0
refs/heads/master
2020-12-13T13:50:10.561495
2017-06-27T16:52:45
2017-06-27T16:52:45
95,578,837
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
import turtle painter = turtle.Turtle() for _ in range(4): painter.forward(100) painter.left(110) turtle.done()
[ "johnwmerrick@gmail.com" ]
johnwmerrick@gmail.com
8351c4458df01a6698c6fa4e750fac8b2a8632b0
5b87fe5ea1b58af5f5d711f8395cd302eb592544
/billow_web/config.py
bf451a1e0af1dfdbf860ac7770ee531babe1d33c
[ "BSD-2-Clause" ]
permissive
WrathOfChris/billow-web
63bab9330893d560c6a0618af7188026aa02f198
1a96a86a3648b4d0450fe033122a988b521e1ad5
refs/heads/master
2016-09-10T01:07:01.222741
2015-09-20T22:09:16
2015-09-20T22:09:16
30,422,520
0
2
null
2015-05-22T15:58:06
2015-02-06T16:50:26
HTML
UTF-8
Python
false
false
940
py
from billow_web import app import os, os.path import yaml # Load default config and override config from an environment variable app.config.update(dict( DEBUG=True, )) #app.config.from_object('yourapplication.default_settings') if 'BILLOW_SETTINGS' in os.environ: app.config.from_envvar('BILLOW_SETTINGS') ...
[ "chris@wrathofchris.com" ]
chris@wrathofchris.com
eaa4fef447966a8d507031bf60d3191e21d44c33
40d0e54f9dfdf351f6fa60d0ab4863155df6fa21
/lib/python3.4/functools.py
97e47ec426b53ae4674e3bb1f43b83fe1f07635b
[ "MIT" ]
permissive
lentebloem/all-in
a8d437940effd8b5466fac7ba7951aedc705021e
73f3b8382dfd7cb14ee93c5fb191442ee540a59a
refs/heads/master
2020-09-27T02:05:34.499462
2016-09-12T21:56:45
2016-09-12T21:56:45
67,833,696
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
/Users/lentebloem/anaconda3/lib/python3.4/functools.py
[ "thisisreallyaname@gmail.com" ]
thisisreallyaname@gmail.com
acd0fa056ebbd9a7239cee3d6c47af023bbbbbb6
3deb8547395318885455a1094bf32291ee84c5fd
/C01_Image_Processing/12Contrast.py
87d2a29b39e67e324ebf4bcf57627ed2fe03d18c
[]
no_license
SanjoyPator1/ImageProcessingSkillsTrackDataCamp
1978520dae29e89533d840af81e2252711f51bc0
a6b7eb1b9ad193336ea02b81619de0b437940744
refs/heads/master
2022-12-28T12:44:30.096203
2020-10-04T16:15:02
2020-10-04T16:15:02
298,842,849
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# Import the necessary modules from skimage import data, exposure # Load the image original_image = data.coffee() # Apply the adaptive equalization on the original image adapthist_eq_image = exposure.equalize_adapthist(original_image, clip_limit = 0.03) # Compare the original image to the equalized show_image(origin...
[ "sanjoypator1@gmail.com" ]
sanjoypator1@gmail.com
ae428ae1f940a3c45e8828a289e284ad3dfcf16f
7337b289bab3bd87a616025ac7a2d0b4fde57d6c
/Recommender System Scripts/recommender_cleaning.py
c51faa943cd24f6816f2a75ae35cff7e1ce36030
[]
no_license
abitbetter/CKME136
5192ab6de24633c2013da617daf25241e46365c3
3427a36b284a3dab45d1703598a47048181b0b52
refs/heads/master
2020-04-15T22:08:16.868266
2017-11-21T19:43:28
2017-11-21T19:43:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,431
py
#!C:\Users\Alex\Anaconda3\python.exe import cgi, json import pandas as pd import numpy as np from kmodes.kmodes import KModes import datetime print("Content-type: text/html\n\n") cluster_num = 3 #HANDLING POST REQUEST DATA form = cgi.FieldStorage() meal = int(form.getvalue("meal")) #incorperated into da...
[ "noreply@github.com" ]
noreply@github.com
54afde09056b04d1e0191dfd9bbd34890a6d8227
3a82909d088bed10a8a7b6f270f9f3f6dcc6365b
/newscatcher/__init__.py
82dcbe2e64f41063a5bfb7bb2ba5aac74e038cd1
[]
no_license
BecketTrotter/newscatcher-rewrite
f3aec94f4db965c5819281f93481a6d98435069e
090d7f98a6692a4a5ff76cb63fdeafe8e56e19b5
refs/heads/master
2022-07-17T01:29:01.525197
2020-05-20T18:36:51
2020-05-20T18:36:51
264,056,299
0
0
null
2020-05-19T18:06:51
2020-05-15T00:25:48
Python
UTF-8
Python
false
false
6,978
py
#Retrieve and analyze #24/7 streams of news data import sys import sqlite3 import requests import feedparser import pkg_resources from tldextract import extract DB_FILE = pkg_resources.resource_filename('newscatcher', 'data/package_rss.db') class Query: #Query class used to build subsequent sql queries def __init__...
[ "hbtrotter38@gmail.com" ]
hbtrotter38@gmail.com
e04df6e96e0af2e9b8800c912ee817bcde20a7e0
694a8f55f7fc2739568bf33c4261a6922a4c99ef
/subscribers/admin.py
69e0e90981b1559e5ed4c34b8b54d42ecbb35bda
[]
no_license
Chessy11/Wagtail-CMS-
52ac1161c2a98e065538180771a0f5c3ce85a11e
11445e82dfa7619f5edfdc0ce2824e0c3aa6e301
refs/heads/main
2023-04-25T00:26:21.104109
2021-05-19T17:02:13
2021-05-19T17:02:13
368,939,643
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
from django.contrib import admin from . models import Subscribers from wagtail.contrib.modeladmin.options import( ModelAdmin, modeladmin_register, ) class SubscriberAdmin(ModelAdmin): model = Subscribers menu_label = "Subscribers" menu_icon = "placeholder" menu_order = 290 add_t...
[ "noreply@github.com" ]
noreply@github.com
63605a30a33ff7941a30fedd5ce7f6319ab20aaa
79eb6050634c673b49005efba559a7cb69654814
/tools/roslaunch/test/unit/test_roslaunch_child.py
beac7e531b8d4518a205f1d4ca6df7f98ed24280
[]
no_license
meyerj/ros_comm
4df048aab7a738e83888328f196e8a897f72d445
2eeb24d50a1587a69e1cdab8a1f654a5645026b4
refs/heads/groovy-devel
2021-01-21T00:06:28.816807
2013-01-09T19:35:43
2013-01-09T19:35:43
7,527,514
1
3
null
2020-05-20T14:19:11
2013-01-09T19:33:35
C++
UTF-8
Python
false
false
6,290
py
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc. # 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...
[ "kwc@willowgarage.com" ]
kwc@willowgarage.com
336ca0b4a1b6749eeb4b4c2d22467077c259f670
61576234cd0b2addc5c2823a8d662ea9ffcafd9e
/checklist/core/models.py
ab855c6917a88447e9376143698b0e44e83bfa6f
[]
no_license
desaidhruv/CheckList-DRF
bfd75d9c9ba933268082bcca90de46e355d6870a
05d34560859997fdafa2c95cbd9ed3f0a2acb040
refs/heads/master
2023-04-27T11:33:00.429094
2021-05-10T14:41:22
2021-05-10T14:41:22
365,716,152
1
0
null
null
null
null
UTF-8
Python
false
false
932
py
from django.db import models from django.contrib.auth import get_user_model User = get_user_model() class CheckList(models.Model): title = models.CharField(max_length=100) is_delete = models.BooleanField(default=False) is_archived = models.BooleanField(default=False) created_on = models.DateTimeField(...
[ "dhruvshah28@gmail.com" ]
dhruvshah28@gmail.com
318b865387216d39ed0bd4472857241446accb5c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02390/s595695585.py
37891011aec61d584d08c47440668ca2b1330dfd
[]
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
119
py
s = int(input()) min = int(s/60) sec = s%60 hour = int(min/60) min = min%60 print("{0}:{1}:{2}".format(hour, min, sec))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d14ec836cc015536b3f4fbbea3e42722d329fe10
fc276597c51509a13bf2c622c91123eb4987d6b2
/setup.py
d45a7fa220a59b4a2f456f2596709f0d4c052620
[ "Apache-2.0" ]
permissive
zaquestion/requests-mv-integrations
df1150b0efb8bf4d97979e8ed3499737d98fa16d
b8f3332c1cd564ef106e725e0ee3436913fa8e19
refs/heads/master
2020-06-29T11:12:30.990262
2016-11-22T01:56:56
2016-11-22T01:56:56
74,429,832
0
0
null
2016-12-06T18:57:52
2016-11-22T03:21:53
Python
UTF-8
Python
false
false
2,180
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @namespace pycountry-convert from __future__ import with_statement # To install the tune-mv-integration-python library, open a Terminal shell, # then run this file by typing: # # python setup.py install # import sys import re from setuptools import setup REQUIREMENT...
[ "jefft@tune.com" ]
jefft@tune.com
45a02a6719fec9aa6232df31fedd69b017d0fe94
695d1135383abb4cb048e535f7de6e363484d199
/Routers/router_main.py
17a8fdf8d98e4a22e9232a0189a502577aae30ea
[]
no_license
jakenissley/4344_Project3
110072775bda210fbddb897732cf39031bad98ac
d983e7fae0b0799347d6ad6b294bdbce7123eb18
refs/heads/master
2020-03-14T14:10:57.598564
2018-05-08T23:23:15
2018-05-08T23:23:15
131,648,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
from collections import defaultdict from heapq import * import json ROUTER_DICT = {"A": 10000, "B": 10001, "C": 10002, "D": 10003, "E": 10004, "F": 10005, "G": 10006, "L": 10007, "Ann": 10010, "Chan": 10011, "Jan": 10012} # Reads each line of file and stores in a list called "content" def read_file(filename): with...
[ "jake.nissley@gmail.com" ]
jake.nissley@gmail.com
0f570f74b9b3b9d552b0e4f7869f248154c07d40
8add4f89c304b715bd998a5e0629f2d603f4bb8d
/multiclass_perceptron.py
1bb8be2962e4f811c7e805dd91b7ef97c329eb62
[]
no_license
buraktekin/text_normalization
55a4abf42649837fea663defeaaacb435cd151c0
77d3bccb2da67e6581bf06dcdb11802b425e68c1
refs/heads/master
2021-05-05T11:48:44.208841
2017-09-25T21:13:35
2017-09-25T21:13:35
104,714,407
1
0
null
null
null
null
UTF-8
Python
false
false
2,332
py
from features import Features from perceptron import Perceptron class MCP(object): """docstring for MCP""" def __init__(self): self.MAX_ITERATION = 10 self.perceptrons = dict() def create_perceptrons(self, corpus): for classname in corpus.get_list_of_unique_classnames(): p = Perceptron() p.set_name = c...
[ "tknbrk@gmail.com" ]
tknbrk@gmail.com
81146b5b73fa9c515a476c8bf531f60c1e4b6b89
a8289cb7273245e7ec1e6079c7f266db4d38c03f
/Anthony_Flask_Tutorials/Flask_GETAPI/run.py
4b5fb6680b2b2838fcc12f2b4cce3d759ec957a0
[]
no_license
palmarytech/Python_Snippet
6acbd572d939bc9d5d765800f35a0204bc044708
41b4ebe15509d166c82edd23b713a1f3bf0458c5
refs/heads/master
2022-10-06T22:51:00.469383
2020-03-13T08:32:11
2020-03-13T08:32:11
272,350,189
1
0
null
2020-06-15T05:30:44
2020-06-15T05:30:44
null
UTF-8
Python
false
false
617
py
from flask import Flask, jsonify, request app = Flask(__name__) languages = [{"name": "Javascript"}, {"name": "Python"}, {"name": "Ruby"}] @app.route("/", methods=["GET"]) def test(): return jsonify({"message": "API works"}) @app.route("/languages", methods=["GET"]) def returnAll(): return jsonify({"languag...
[ "leamon.lee13@gmail.com" ]
leamon.lee13@gmail.com
53c4dbc6a51566a842b80dffc77e2a596e987e85
e39d33665780d42679fc05f2129b8f8e2efb56df
/mrsurvey/routes/index.py
2bd84b1b447dde3dc1e5673f68aea53898d907ee
[]
no_license
mreider/fritter
e68e91a95b84373f46ab4e6d2989bdfa83d873ce
ccea1fe4516f2ed638c20b81fa2a341f9b142cc9
refs/heads/master
2021-01-19T15:01:43.566268
2016-09-20T04:25:10
2016-09-20T04:25:10
41,692,778
2
1
null
2016-09-20T04:25:11
2015-08-31T18:24:34
CSS
UTF-8
Python
false
false
411
py
# -*- coding: utf-8 -*- from flask import redirect, url_for, session, current_app from flask.ext.login import current_user def index(): current_app.logger.info('index') if current_user.is_authenticated(): current_app.logger.info('index::aready logged on') return redirect(url_for('home')) ...
[ "alp@steppechange.com" ]
alp@steppechange.com
9d4c70b7a682cb570385aaee98280e73d3fcecc1
13788caac473dc26c715fbb2cc127114c649e64e
/main.py
525e19a1bf63022c15ba43b6d300571e0e6c9066
[]
no_license
trulyepic/quiz_game_true_false
3ee9d80dd5161404036faa1ab20572e80459e780
e49ee06d22049fef1719c6631aef960931b53607
refs/heads/main
2023-08-17T13:50:13.032965
2021-09-21T23:40:33
2021-09-21T23:40:33
409,003,448
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
from question_model import Question from data import question_data from quiz_brain import QuizBrain question_bank = [] for question in question_data: new_question = Question(question["question"], question["correct_answer"]) question_bank.append(new_question) quiz = QuizBrain(question_bank) while quiz.still_...
[ "knwy@ymail.com" ]
knwy@ymail.com
12bff8442bde473301cd6a09eb4d387c4273d162
50e539aa32595a4ff429f0478532f52615b5d467
/TestSubmission.py
14f69be0c4936abcbc9cd069337559db74435172
[]
no_license
dawsboss/Math471
4fe233ae3027263e37ea98126ea27ee1f25b3ba0
931a01ab44fafc25e1a35d3f27011ccd8ae3e0b1
refs/heads/master
2023-01-28T01:18:26.069239
2020-12-14T16:55:07
2020-12-14T16:55:07
291,696,974
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Sep 30 15:35:35 2020 @author: grant """ print("Test submission for EC")
[ "gdawson2018@gmail.com" ]
gdawson2018@gmail.com
d270054e701e93f7c327aae36965b0927fbfa226
d77104b7bf6c1f955710cd432d1c3f3088763180
/Term 3/7/thread-python.py
229a08b7eaa477664b244cc0e03ed1aefa878ba2
[ "MIT" ]
permissive
theseana/apondaone
51d3f6887f029535ec6cb71afcab1a876c3655ba
7cbf3572a86c73220329804fee1f3d03842ae902
refs/heads/main
2023-03-17T22:32:45.546061
2021-03-08T15:34:40
2021-03-08T15:34:40
303,436,958
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from threading import Thread from time import sleep def timer(t): for i in range(t): print(i) sleep(1) thread1 = Thread(target=timer, args=(7, )) thread1.start() thread2 = Thread(target = timer, args = (8, )) thread2.start()
[ "sina.bakhshandeh@icloud.com" ]
sina.bakhshandeh@icloud.com
c9d3d73efd742fdf61608122f086a2169fe1966e
76e6f61c4b4adc163e95f5ac847a576cd8f416b5
/main.py
9e6ab7fa6b2495737f69473c86caa92c2fb0d5d4
[]
no_license
nick-andri/media
42880f4daa4a1cefa5ec7fc2c490de7ee43d8f63
568c7ca8899eec762f428a2b0d45c973d3b9ced6
refs/heads/master
2020-06-21T08:03:59.406873
2019-07-19T10:02:48
2019-07-19T10:02:48
197,389,790
0
0
null
null
null
null
UTF-8
Python
false
false
4,838
py
import sys from PySide2.QtWidgets import QApplication, QMainWindow,QFileDialog,QListWidgetItem from ui_media import Ui_MainWindow from PySide2.QtMultimedia import QMediaPlayer,QMediaContent from PySide2.QtCore import QUrl,QTime,QFileInfo class MainWindow(QMainWindow): def __init__(self): super(MainWin...
[ "nick.andriambahiny@gmail.com" ]
nick.andriambahiny@gmail.com
ea15b6fbf2fb77bf5e3baf35255c9312ab835705
a12ad311c7c410ef22154930c8da4d0e7488bf9c
/04_lekcja/Funkcje.py
fb563121d5b63560ed57ecd5df7871831f2ab131
[]
no_license
z0nky/kurs_python
edb27723a0fe33ad0c4bc20ab0f841bde3071738
4256c4a168249a6f7b306423391107ef7d8b4489
refs/heads/master
2020-08-07T10:55:39.899784
2019-12-01T19:03:37
2019-12-01T19:03:37
213,421,252
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
def my_mood(answer): #zliczamy wszystkie potrzebne parametry print('My mood today:') print(answer) resp = input('How are you?') #funkcja dostaje zmienną resp, która zastąpi answer my_mood(resp) #tworzymy funkcję przyjmującą parametr i zwraca odpowiedź dwukrotnie: def my_mood(answer): return answer * 2 ...
[ "aphesia90@gmail.com" ]
aphesia90@gmail.com
97b8a131ad39fb2a354fb339762d5111ad22cacc
c054cbdbff1226a02d45611dc8b01fcb3b5dc738
/src/forcity/trasherbot/tools/singleton.py
1ff884d643d44d7b63dc21e1e8bff3f6ef52031f
[]
no_license
yoyonel/forcity_trasherbot
b8ea51c56ed6233b750de9dd5c1fe163ea1e8838
aa12583169d6be70979ecafd43db386457641255
refs/heads/master
2020-04-09T00:15:17.162409
2019-03-17T09:33:04
2019-03-17T09:33:04
159,859,259
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
""" """ class Singleton(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs) return cls._instances[cls]
[ "yoyonel@hotmail.com" ]
yoyonel@hotmail.com
259bd4310a5b596b737a9ccae5087953d99928ea
74bc48ba64859a63855d204f1efd31eca47a223f
/Nature/9999.Reference_DataAugmentation.py
6ab2dd8feba11d86b67d6f5132136efada9cf3c9
[]
no_license
PraveenAdepu/kaggle_competitions
4c53d71af12a615d5ee5f34e5857cbd0fac7bc3c
ed0111bcecbe5be4529a2a5be2ce4c6912729770
refs/heads/master
2020-09-02T15:29:51.885013
2020-04-09T01:50:55
2020-04-09T01:50:55
219,248,958
0
0
null
null
null
null
UTF-8
Python
false
false
9,841
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 01 19:08:48 2017 @author: SriPrav """ # -*- coding: utf-8 -*- """ Created on Mon Jan 09 20:02:03 2017 @author: SriPrav """ import numpy as np np.random.seed(2016) import os import glob import cv2 import datetime import pandas as pd import time import warnings warning...
[ "padepu@wesfarmers.com.au" ]
padepu@wesfarmers.com.au
02d656562e12bbc17ad7aa50e609d1e8dee95fa7
9398b364c83701b06d602de06b7c3947eab60b3e
/tools.py
df7408013a4c4d585f851da7a5fedbcf01a08f50
[]
no_license
lkronecker13/search_prediction
2eb05830d1d635afd49470e3d37aa701ccaed472
69767c65a62d74c609f4238e25f702dd3ea5d109
refs/heads/master
2020-09-09T03:57:30.781460
2019-11-15T14:57:46
2019-11-15T14:57:46
221,341,984
0
0
null
null
null
null
UTF-8
Python
false
false
2,279
py
import numpy as np from keras.models import model_from_json import json def decode_vectors(binary_matrix): tokens = [] for vect in binary_matrix: tokens.append(np.argmax(vect)+1) return tokens; def decode_sequence(sequence, city_list): citys = [] for token in sequence: citys.a...
[ "lk13.dev@hotmail.com" ]
lk13.dev@hotmail.com
356ea49a5dc388247397132900752001c1b87906
ea26c75f47af6167dd7f5eaa279369f7692862ba
/WPHomepage.py
a64fd96ddfb48112527670f9d96079860897abe2
[]
no_license
annathepiper/wp-test-demo-python-selenium
db3ca1c7a8134a7cd97ec7b9ae1a53561b8cd18d
4d6c8ee15cf31ecf08ab2c1aa9a24162b0e8cdc2
refs/heads/main
2023-08-03T13:50:02.959872
2023-07-20T23:05:54
2023-07-20T23:05:54
169,342,882
2
1
null
2023-07-20T23:05:55
2019-02-06T01:57:59
Python
UTF-8
Python
false
false
2,666
py
import WPMenu import WPSidebar import WPFooter from selenium.webdriver.common.by import By # WPHomepage # Written by Angela Korra'ti # Last updated 7/20/2023 # # This is a helper class to define the layout of the homepage of the test site. class WPHomepage: driver = None wp_lib = None wp_menu = None ...
[ "annathepiper@fastmail.com" ]
annathepiper@fastmail.com
23a14f30b1e0e65c803eebb77f6202112e8470fc
5d02daf3e518fc13b0d21c362d52b8952582335b
/old_blockchain/model/NewConfig.py
8fff99314d980883f15d78a579198e3c732cb437
[]
no_license
davidway/auto_testing
aac60e7e4e1a523cc72b8309d0b633838aa8d732
eef17948f0697e856fe4dd2a393df5034598bbaf
refs/heads/master
2020-04-11T02:40:56.132938
2019-01-12T07:49:07
2019-01-12T07:49:07
161,452,316
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
# { # "createUserPrivateKey": "string", # "createUserPublicKey": "string", # "chainId": "string", # "ledgerId": "string", # "mchId": "string", # "nodeId": "string", # "host": "string" # } class NewConfig: createUserPrivateKey="" createUserPublicKey="" chainId="" customerName="" isTest=...
[ "zhuweiqiang@mail.weisanyun.com" ]
zhuweiqiang@mail.weisanyun.com
a8b08777614a5973aa360bce3f45762615229b66
6d4c8467f17171fb2fb6b731afd4055c488705b2
/ITSPfrontend/migrations/0014_alter_info_member2name.py
15481c05518b2179f252870e9212f253ff08f470
[]
no_license
pavitra971/2000040097_ITC_ITSPTEAMS
bb9294935a27ec528b0c414d747fdec62aca5fd2
1159d71d687c51bbb2282097da985415ed611f4f
refs/heads/master
2023-05-16T03:34:38.730829
2021-06-11T16:18:15
2021-06-11T16:18:15
376,078,268
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Generated by Django 3.2.2 on 2021-06-09 20:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ITSPfrontend', '0013_auto_20210610_0217'), ] operations = [ migrations.AlterField( model_name='info', name='member2n...
[ "pavitrabarwal@gmail.com" ]
pavitrabarwal@gmail.com
58d84ca7abfbb0f988c3a5b8fe8ca9e209f916b0
70ec588382af4b98f402a956422feec7824c78a8
/pathFinder.py
3dbfb43fd1ee58c77e21893a7fb01e034502f9bc
[]
no_license
paulojunqueira/Pathfinder-Project
ec4e0d33b45a4e639f56a294f39f748fb77a9cf7
b73885d2fc405ba46f860e13375f4a1499430e9e
refs/heads/master
2020-12-20T00:19:20.841063
2020-05-10T19:24:51
2020-05-10T19:24:51
235,897,103
0
0
null
null
null
null
UTF-8
Python
false
false
5,935
py
# Modules used import sys import numpy as np import random import matplotlib.pyplot as plt import matplotlib.cm as cm #A temporary fix for warnings when saving images plt.rcParams.update({'figure.max_open_warning': 0}) class PathFinderClass: """ A Pathfinder Algorithm """ def __init__(self,s...
[ "noreply@github.com" ]
noreply@github.com
41aa691943fe3026620f4f53e80614041b1091d5
314807ffb26beca108ba13287938dd48d94f24ed
/env/bin/python-config
f28cfddec6e5ab31d667314d06a5dac1fc095d4e
[]
no_license
pacok/PruebaEnr
baa1829eafa5aca345e0690110c07b8b22cd18fc
866409fd982b772fc457062a9c2f7cee7e7e5512
refs/heads/master
2020-03-21T11:43:35.879638
2018-06-24T22:42:51
2018-06-24T22:42:51
138,519,124
0
0
null
null
null
null
UTF-8
Python
false
false
2,375
#!/home/android-0174654321/PycharmProjects/PruebaEnreda/env/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('ab...
[ "pacocamas85@gmail.com" ]
pacocamas85@gmail.com
d321c6f56ad96366cd8858851bcde9c047f05333
53d726df56022e9d0ca41cbbf08c3afaca646949
/ArgoJob.py
e65b301322ac41d0aa7533fdc1452918c613236f
[ "Apache-2.0" ]
permissive
GNUBrinux/pilot
9dfdfc34fcbd85a17892077d8135477b0c4b5194
18d0ef3ea9822df7877fbe39b191f56a6288ada5
refs/heads/master
2020-03-19T04:11:41.418349
2020-02-19T10:56:39
2020-02-19T10:56:39
135,804,074
0
0
Apache-2.0
2020-02-18T14:28:00
2018-06-02T09:18:25
Python
UTF-8
Python
false
false
6,142
py
import sys from pUtil import serialize, deserialize, convert_unicode_string, tolog from BalsamJob import BalsamJob class ArgoJob: def __init__(self, preprocess = None, preprocess_args = None, postprocess = None,...
[ "Paul.Nilsson@cern.ch" ]
Paul.Nilsson@cern.ch
047d58045a0b73fe0763e441188e6f2626df5387
d7a8cd696be2b8c1e007fdda25144115481e062f
/assets/downloadscripts/maxProfit.py
0a1512c90f8442e36a6648fb5eb072e60e699900
[]
no_license
nielspineda/nielspineda.github.io
d6dfa7446a304579ecb2fd3cc57b0d59f345b0e8
2a8b76bb821af3804cd1bad081bb665e17e0940f
refs/heads/master
2021-06-24T00:55:11.121266
2020-12-02T02:13:47
2020-12-02T02:13:47
159,119,078
0
1
null
null
null
null
UTF-8
Python
false
false
1,622
py
#Pseudo Code # Iterate through all of the stock values within the provided list # Compare the ith index(buying) price and i+1 selling index price # If the selling price is larger, i is the buying index and i+1 is the selling index # Calcualte the current profit and check if it is a new maximum profit; restart this loo...
[ "niels.pineda@gmail.com" ]
niels.pineda@gmail.com
48ca7b3386e25d5892f895f88a931a8395c1e7be
8b6e06b97426d9e13ae01f88698ecf37228020f6
/website_multi/controllers/__init__.py
4246148e98f5b0240dcc0fd8240d3bc7044b76e0
[]
no_license
AULODE/somafish_2019
9a6caf3d6a74ed6bc0b26c981863380ebd3dbd6b
5a235827896e6d7bff420f85228d7609715a2efb
refs/heads/master
2020-04-15T02:46:59.495816
2019-09-25T07:14:30
2019-09-25T07:14:30
164,324,496
1
2
null
null
null
null
UTF-8
Python
false
false
66
py
# -*- coding: utf-8 -*- from . import backend from . import main
[ "kirankantesariya@gmail.com" ]
kirankantesariya@gmail.com