blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
e6f0940e31730d133d2c2e850edd277b34585500
8910c318bb18337ffc206e598ef6f1246f25d671
/ghRepo/ghRepo/views.py
7da3522081a7cf5f18372888f60289979e810e85
[]
no_license
hemantjadon/gh-repo
155c3df97b9f0528b3c2950dc6f8d7be926b8085
4ef1dea61c46bb21ab8feb571d50dddb4a62dd9c
refs/heads/master
2021-01-10T10:39:28.762048
2016-04-05T09:36:39
2016-04-05T09:36:39
55,286,989
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from django.shortcuts import render,redirect from django.http import HttpResponse,JsonResponse from django.core.urlresolvers import reverse def Home(request): return render(request,'index.html',{})
[ "hemantjadon.hemu@gmail.com" ]
hemantjadon.hemu@gmail.com
cda847c5e07cc1abb7c228936cccb2176999d210
58447c19379766653c8c9ec6800ac341a932bb0f
/micro_dl/deprecated/image_validator.py
ee07a421874b9f51aa247a600b26c7ca4b13a0cd
[]
no_license
bryantChhun/microDL
70eed48011092f587b4c1cfe6616a68ae26656c1
cb47f7c3adcdc7c82d8de89444453e13bdcd2543
refs/heads/master
2022-10-18T20:11:05.823516
2018-11-20T01:15:33
2018-11-20T01:15:33
158,441,077
0
0
null
2019-01-15T23:12:03
2018-11-20T19:30:12
Python
UTF-8
Python
false
false
10,325
py
"""Classes for handling microscopy data in image file format, NOT LIF! Uses dir structure: input_dir |-image_volume, image_volumes_info.csv |-tp0 |-channel0 |-img_512_512_8_.., cropped_images_info.csv |-tp-0 |-channel0: contains all npy files for cropped images from channel0 |-channel...
[ "noreply@github.com" ]
bryantChhun.noreply@github.com
47b6667c47136aac7d50731f707df679abe1acb2
87dc44f5ae9a5e8fea4f19130bdb84aabc4c27a1
/sf_hii_interface/sf_hii_interface/urls.py
dbc9503a5d1db1fa13aa97f7380e0373a9aecb04
[]
no_license
yanspineiro/HII
2cece07fe0912292ad1c2d39e6199241212c022b
b9684080db733fe81594b70ecd6cb9e4f883c5d8
refs/heads/master
2021-01-22T07:13:34.339727
2015-08-02T20:02:12
2015-08-02T20:02:12
40,090,459
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
import debug_toolbar from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^sf_bridge/', include('sf_bridge.urls')), url(r...
[ "yanspineiro@hbcinsure.com" ]
yanspineiro@hbcinsure.com
4a9f201bd46ed928be0fe13e3c58b666905774ad
a37dd35ca10458424bc694c3c1d82dc36397f7c4
/faux_craigslist/urls.py
d34d9490bc78fd0a3b214ed479b0912b6aa05ce3
[]
no_license
eileendwyer/faux_craigslist
6675c5464d4dac9d6d2add1b19f86386fd5bf1ab
9c17091927a06ca331bf66e7d6723e000a916369
refs/heads/master
2021-01-20T17:12:35.331043
2016-06-25T18:28:56
2016-06-25T18:28:56
61,836,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
"""faux_craigslist URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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...
[ "eolson@smalltalku.com" ]
eolson@smalltalku.com
8586efce94570fd36dc6376165ffc8e9a732f066
f0c4b4fde64863817a476667448ee25d6bbada32
/master_thesis_version/experiment4.py
a6037e9ae53b9a71631139768ee768aad6688bb5
[ "MIT" ]
permissive
tobias-freidling/hsic-lasso-psi
18d67eb9beed738aff824c71e51b01d97291cef1
01f32f6ed1c1514539b6bc79f0e3aab7566f56e3
refs/heads/master
2023-06-02T05:24:14.370549
2021-06-17T15:20:24
2021-06-17T15:20:24
298,973,860
4
1
null
null
null
null
UTF-8
Python
false
false
4,597
py
from psi.simulation import Data_Generator, Evaluator, Visualisation from psi.linear import Linear_Model from psi.poly_multi import Poly_Multi_HSIC from psi.hsic_lasso_psi import Split_HSIC_Lasso """ Comparison with other method for (model-free) post-selection inference """ dg_id = Data_Generator(p = 500, experiment =...
[ "tobias.freidling@gmail.com" ]
tobias.freidling@gmail.com
7983e4ca4e3edbea12d64c6439b721c3e33251bc
d2cadd78166781f0bddc0ea10ed737d28341d3ab
/venv/bin/pip3.7
74022e3ffe951acd468bd2400aa4bdabdeb63e85
[]
no_license
fernndzaky/FP_IS
45c40deec74773fc644796e7cef80c6ee4737450
a89c9f3bd442467dba8ac3b11792b4e7219b8b32
refs/heads/master
2022-11-09T08:07:27.029094
2020-06-15T19:57:07
2020-06-15T19:57:07
272,520,855
0
0
null
null
null
null
UTF-8
Python
false
false
418
7
#!/Applications/XAMPP/xamppfiles/htdocs/php/FP_IS/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar...
[ "fernandhadzaky@hotmail.com" ]
fernandhadzaky@hotmail.com
f40501420b9dfbaed6985ce1eb838f5072a0e8cd
4afe7bd69a030cf2c51045cf8dc808d4ac5d5ef2
/maoyan(vue+django)/maoyan-Django/venv/Lib/site-packages/pytz/tzinfo.py
0d0f62081d53293440fd73b0a5631a42bc4eba73
[]
no_license
jbxdlele/python
e19aa83f8eca45cbd64c79fe302fba88e101f646
b5444fa759168e4deed6e472f558f522390bf879
refs/heads/master
2020-09-02T07:15:19.849700
2019-11-02T17:37:04
2019-11-02T17:37:04
219,164,400
1
0
null
null
null
null
UTF-8
Python
false
false
19,273
py
'''Base classes and helpers for building zone specific tzinfo classes''' from bisect import bisect_right from datetime import datetime, timedelta, tzinfo try: set except NameError: from sets import Set as set import pytz from pytz.exceptions import AmbiguousTimeError, NonExistentTimeError __all__ = [] _tim...
[ "2544478199@qq.com" ]
2544478199@qq.com
4833f5befa09e074405d298fb725b42817e4fc7d
d83fde3c891f44014f5339572dc72ebf62c38663
/_bin/google-cloud-sdk/.install/.backup/lib/surface/emulators/bigtable/__init__.py
ccb697c875b01fa3825b38808c007f7b95f64c41
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
gyaresu/dotfiles
047cc3ca70f4b405ba272856c69ee491a79d2ebe
e5e533b3a081b42e9492b228f308f6833b670cfe
refs/heads/master
2022-11-24T01:12:49.435037
2022-11-01T16:58:13
2022-11-01T16:58:13
17,139,657
1
1
null
2020-07-25T14:11:43
2014-02-24T14:59:59
Python
UTF-8
Python
false
false
1,581
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "me@gareth.codes" ]
me@gareth.codes
986e0045bf977f4349d5a6d36279edec5d1f8e06
e200208aa8fc42f48e7e0f3abaa0bea28f46eca1
/main.py
67668159fe0463b13633deec4f1d64a746dc5596
[]
no_license
sahil150395/Higher-Lower-Game
2580c7c1fe5f12ddcc6755db7a9905d259774977
3d2b5b5a329be637f743bd65ab0909458dd79f85
refs/heads/master
2023-07-19T04:04:29.132494
2021-09-02T04:55:28
2021-09-02T04:55:28
401,937,510
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
from game_data import data import random import art from replit import clear def format_data(account): """Format the account data in printable form""" accountName = account["name"] accountDesc = account["description"] accountCountry = account["country"] return f'{accountName}, a {accountDesc}, fro...
[ "64752326+sahil150395@users.noreply.github.com" ]
64752326+sahil150395@users.noreply.github.com
e6e15fb040527dcb46faee488520b93fbfbcb714
5b99825807822a7483c69a38feddf240543d1d1a
/CreateSendingProfiles.py
17abbb6a80559588e8f70c78ebc89379f1981d41
[]
no_license
lucjb/skillmatch
3143d98dfab420d3966ba839dc365ef134939978
e41e64bc805fa9dc7b32c298c55b4fd0964d5839
refs/heads/master
2021-06-26T07:02:57.000877
2017-09-11T20:40:17
2017-09-11T20:40:17
103,062,918
1
1
null
null
null
null
UTF-8
Python
false
false
3,005
py
from email.parser import Parser from email_reply_parser import EmailReplyParser from os import listdir from os.path import isfile, join import sys import numpy as np import six import operator import io import os import talon import re import nltk from talon import quotations from talon.signature.bruteforce import e...
[ "lucas.bernardi@booking.com" ]
lucas.bernardi@booking.com
6b3a38302b6169e357bf72c55bb8031402624ea0
4d6a73019413ed4a9eae15277b780125fa4c3e60
/보물상자비밀번호.py
e200285fd5665ed609c6192b99bb5d77f3143404
[]
no_license
jungjy14/Algorithms
f72187efb9904dfac7c1f692424d6153fe046b43
678cbf3600f56ccf8ed7fa4be7b67a67dd2b946a
refs/heads/master
2020-04-01T14:54:31.067918
2018-10-20T15:05:32
2018-10-20T15:05:32
153,313,002
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
T = int(input()) for i in range(T): N, K = map(int, input().split()) num = input().strip() line = int(N / 4) sum = set() for j in range(line): for k in range(4): sum.add(int(num[k * line:(k + 1) * line], 16)) num = num[-1] + num[:-1] answer = list(sum) answer....
[ "jeongjy14@gmail.com" ]
jeongjy14@gmail.com
ee2bcf56d3c065ddadaae8981da37e2e8bfca510
95f504c2ee61f09df786e7a0a403b9972f574af3
/python/Practice/TraverseAllGraphertices.py
09076dde5973b0e245993e57f4830a667201dd3b
[]
no_license
Sumedh31/algos
16d2eee260718fedda276976b8e4f7ea5a6fe414
f5e349ea26d95a1cb45ba019fb39e2d3dd9b69cf
refs/heads/master
2023-08-11T18:42:59.609503
2021-09-22T04:33:24
2021-09-22T04:33:24
304,841,006
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
''' Created on 11-Jul-2019 @author: Sumedh.Tambe ''' from _collections import defaultdict class graph(): def __init__(self): self.graph=defaultdict(list) def addEdge(self,vertice,edge): self.graph[vertice].append(edge) def DFSTraverse(self,vertice,visited): visited[vertice]=Tru...
[ "sumedhrtv@gmail.com" ]
sumedhrtv@gmail.com
99e0dd19851d2e57e9d43a3cab22f452775b2b89
f7bae15820d3615cd6dd3828f8196a064db955bf
/MPI/mpi_cbet.py
8f1900a5660f40a13f068bb5091f1ed3d9f5f953
[]
no_license
cepheid42/CBET_python
c3169fd8b8036553e2d034e282f8e76509fd59c9
0d92a39dd17ada66553801e825bff0d675f80c83
refs/heads/master
2022-07-16T20:00:12.363291
2020-05-11T17:25:38
2020-05-11T17:25:38
256,596,588
1
0
null
null
null
null
UTF-8
Python
false
false
19,798
py
from mpi4py import MPI from mpi_constants import * import mpi_launch_ray as lr # from plotter import plot_everything import numpy as np from time import monotonic comm = MPI.COMM_WORLD size = comm.Get_size() rank = comm.Get_rank() if rank == 0: start_time = monotonic() x = np.zeros((nx, nz), dtype=np.float32, ...
[ "andrew.sexton.42@gmail.com" ]
andrew.sexton.42@gmail.com
7b9fa5a24352753ce2cea24c1f44d6212d0ee88f
b588151eff85d9dec096e65980d0eec9ff353973
/course_gather/viewsets.py
1f6b20541ba7298d4110d20bd5e364fdf69094b4
[]
no_license
Blu3spirits/MTU-Transfer-Course-Gatherer
86d668cc61c2ff5109970c3ea7c427deacab6a5f
b4a419492feb6bfb507d63b849eb0b8846b233d1
refs/heads/master
2021-05-22T00:40:42.211029
2020-05-03T17:45:49
2020-05-03T17:45:49
219,623,368
1
0
null
2019-11-05T00:32:56
2019-11-05T00:32:56
null
UTF-8
Python
false
false
1,644
py
from course_gather.models import ( College, Course, MTUCourse, State, ) from course_gather.serializers import ( CollegeSerializer, CourseSerializer, MTUCourseSerializer, StateSerializer ) from course_gather.filters import ( CollegeFilter, CourseFilter, MTUCourseFilter, ...
[ "blu3spirits@gmail.com" ]
blu3spirits@gmail.com
90d236ea0df30a603b84446a3b97662b75e3c27f
6c1d75591aeece9902b201ae1a902eee2de93725
/CS 1064/Code Comprehension Lab/mystery-hard1.py
0e7fb5bb4f90d86f96f05b0870387bb7f364ba1c
[]
no_license
pahuja-gor/Python-Lectures
85a8630bb1a707daf98b621dd105c5163155efc0
2d16dba4b39703c255a4059318da6866028595bb
refs/heads/master
2022-11-27T03:45:42.254849
2020-08-01T23:59:09
2020-08-01T23:59:09
256,677,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
# TODO: # 1. Write documentation for the function -- what does it do, what is the input meaning and type, what is the output meaning and type # 2. Make any changes needed for readability -- update variable names, update function names, # add extra documentation within the function if necessary # 2.1. The logi...
[ "36912136+pahuja-gor@users.noreply.github.com" ]
36912136+pahuja-gor@users.noreply.github.com
5242e0cfc2df3a36ba6e3483685cda8f090d40a4
5b166c31744ee792d9c1ca1b3c14cfb5e0e4f591
/examples/01_integer_var2.py
3acede0107edca3a2547e13decbed726f88e985e
[]
no_license
DoOR-Team/ortools_examples
8a286f8b824bc5a6183eaa3d6f1fcf8283170557
2a4fb54de931ca83a26d8afe2fc8358dfc2fa7a6
refs/heads/master
2022-11-27T04:14:25.426232
2020-08-07T02:45:27
2020-08-07T02:45:27
284,651,170
3
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from ortools.sat.python import cp_model # 鸡兔同笼问题 def RabbitsAndPheasantsSat(): model = cp_model.CpModel() r = model.NewIntVar(0, 100, 'r') p = model.NewIntVar(0, 100, 'p') # 20 heads...
[ "jiangpeng285@qq.com" ]
jiangpeng285@qq.com
b718a949f2f549d464c3f8126f3a669decc1f4f0
47654f8eb4402b39d8c1b541a93e9518796ed9f5
/example/test_ctp2.py
9f332a7e9c8123fa9ee393666ce951957d2873dc
[]
no_license
eelxpeng/pyLTM
d588aeec77959d71146aa343a7ec07bf6ca64edc
f30ddcdb443646ce830ab6dfc34c92c4c16db24e
refs/heads/master
2020-03-13T20:31:45.977958
2018-09-18T03:18:59
2018-09-18T03:18:59
131,276,442
3
2
null
2018-04-28T04:02:29
2018-04-27T09:35:26
Python
UTF-8
Python
false
false
1,041
py
''' Created on 14 Feb 2018 @author: Bryan ''' import sys sys.path.append("..") from pyltm.model import Gltm from pyltm.model import DiscreteVariable, SingularContinuousVariable from pyltm.reasoner import NaturalCliqueTreePropagation, Evidence from pyltm.io import BifParser from pyltm.data import ContinuousDatacase im...
[ "eelxpeng@gmail.com" ]
eelxpeng@gmail.com
f30d969d62567611dd3d15370564683a645439e0
4544f04da8dd6faf602af706e523f4929941ba41
/tests/test_orders.py
bdd3bba77db83483c9ff9e41fa4dcf0da87443e1
[ "MIT" ]
permissive
hpsilva/oanda-api-v20
78febf98384945ded213f517ed1bf00d696e5dcb
a8d82dff91787bde08a4d8733283a62ecd0ef7f3
refs/heads/master
2021-01-12T11:43:45.763974
2016-10-22T16:34:46
2016-10-22T16:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,625
py
import sys import unittest import json from . import unittestsetup from .unittestsetup import environment as environment import requests_mock try: from nose_parameterized import parameterized except: print("*** Please install 'nose_parameterized' to run these tests ***") exit(0) import oandapyV20 from oa...
[ "f.brekeveld@gmail.com" ]
f.brekeveld@gmail.com
dc26c0c524546f6abd875e3e66f4199c9995bb59
5e8dd0f82de8777250fa7e3e64d9f77f8a66b37d
/flaggy/doppio/api/responses.py
433790723c4c0512ac031efb7d9a3fc35fb0871c
[]
no_license
mihirpandya/flaggy-server
d461bbee75d2ab9c6c419c2f4fdc1a3299118ab2
30570df5d724ceca29a64daf4f98164ee9653404
refs/heads/master
2020-05-30T18:23:15.358268
2014-12-28T04:11:59
2014-12-28T04:11:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
## SUCCESS/ERROR RESPONSES ## def success(msg): return {'status': 'success', 'msg': msg} def error(msg): return {'status': 'error', 'msg': msg} def is_Success(obj): return (obj['status'] == "success") def is_Error(obj): return (obj['status'] == "error") def get_Msg(obj): return obj['msg']
[ "mihir.m.pandya@gmail.com" ]
mihir.m.pandya@gmail.com
0d7ecae510ab892edb50401c8c1b872ed79e8e91
48015ac20ec07ff1bf8a1989321efe180376773e
/hello.ppy.py
f8c151a7e1b05bad4ff010ca50d6a5892b42776f
[]
no_license
hmangal1/IntroProgramming-Labs
c9f821a9dfc1e1a9a2bf31ee362acd4c2cbb151e
72fe115393be76ab287a6be9ce90d8af9733ee73
refs/heads/master
2021-01-21T13:29:37.014796
2017-12-01T17:10:49
2017-12-01T17:10:49
102,128,214
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
# Introduction to Programming # Author: Herrick Mangal # Date: 9/1/17 def main(): print("Hello, instructor!") print("Good-bye!") main()
[ "herrick.mangal1@marist.edu" ]
herrick.mangal1@marist.edu
ac84c45542a5d9969ce52a966acd81916c428d2b
fddcc8c32861626ca84c1dd501729e6c73f67c68
/tests/functional/test_customer_debit.py
a080814bcac335566cf53d0d1e9c11bf1e6adb4f
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Vantiv/vantiv-sdk-for-python
773baf42b2a54bf447481f0c4228f153f8012c29
52f1cbf90e9b19ba817ec19818d46276059195f0
refs/heads/12.x
2023-08-08T13:41:39.197289
2023-07-27T13:21:51
2023-07-27T13:21:51
85,575,691
5
17
MIT
2023-07-27T13:21:52
2017-03-20T12:44:52
Python
UTF-8
Python
false
false
2,395
py
# -*- coding: utf-8 -*- # Copyright (c) 2017 Vantiv eCommerce # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the 'Software'), to deal in the Software without # restriction, including without limitation the rights to use, # copy, ...
[ "Immaniyelu.Sunnapudi@fisglobal.com" ]
Immaniyelu.Sunnapudi@fisglobal.com
54f8110f7ff5bffedaa4751f92a398e1a582e99a
4282a63e4800be65a39dedb0b05864525912ae19
/codegen/architectures/arm/operands.py
732409f9c187a634ee8a4eb438933edb83234037
[ "BSD-3-Clause" ]
permissive
peterwauligmann/PSpaMM
2e652ed57425c665cf0b0254a44bc5090d2d6537
344c06c183854f72224c1e88ad2ced2e092d4efb
refs/heads/master
2020-03-24T07:44:05.958222
2019-07-16T15:34:33
2019-07-16T15:34:33
142,573,247
0
2
null
null
null
null
UTF-8
Python
false
false
1,402
py
from codegen.operands import * class Operand_ARM: @property def ugly(self): raise NotImplementedError() # TODO: Rename this 'Immediate' class Constant_ARM(Constant): @property def ugly(self): return "#{}".format(self.value) def c(n): """Sugar for conveniently defining integer ...
[ "peter.wauligmann@gmail.com" ]
peter.wauligmann@gmail.com
f666eb4210fdf3708d5784fe65261d8bbd9b2510
d1742451b25705fc128acc245524659628ab3e7d
/Codeforces with Python/F - Annoying Present.py
c7e3cd5fbc6ac5c66e92713582ac07328200ab12
[]
no_license
Shovon588/Programming
ebab793a3c97aedddfcad5ea06e7e22f5c54a86e
e4922c9138998358eed09a1be7598f9b060c685f
refs/heads/master
2022-12-23T18:29:10.141117
2020-10-04T17:29:32
2020-10-04T17:29:32
256,915,133
1
0
null
null
null
null
UTF-8
Python
false
false
139
py
n,m=map(int,input().split()) result=0 for i in range(m): x,d=map(int,input().split()) result+=(n*x)+d*(n-1)*(n/2) print(result/n)
[ "mainulislam588@gmail.com" ]
mainulislam588@gmail.com
7a0506344152b79bf3e9b1671a36b2cdb326497b
f5d40767fa1fd0a090b98a43015cbb65628ed0fd
/basic_password/basic_password/urls.py
4ffb8e738b4055ebd9152f4ac31501308fac1424
[]
no_license
Akashshere19/social
a5fda2b51cfc3c500f526b41b7601831c4188ca4
75d78fa6b9b7b8e6b09d25e20aa663c36a912d93
refs/heads/main
2023-08-27T02:22:49.025973
2021-11-06T14:44:30
2021-11-06T14:44:30
425,266,915
1
0
null
null
null
null
UTF-8
Python
false
false
993
py
"""basic_password 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') Clas...
[ "akash@gmail.com" ]
akash@gmail.com
8b6c4f8c0db588496506a3f861ba6e7cd27ca2aa
70b03133176e54db8856881569d33fa969159a77
/users/api/serializers.py
da92e6afe209503848813fed3488393631d7b17a
[]
no_license
BrenoOsvaldoFunicheli/naveapi
504102d3fe79acd866daca08094b895336018710
7929991eeb84c64cb3fefdf76775ce7d92c57734
refs/heads/master
2022-12-03T18:02:32.036049
2020-08-17T20:55:28
2020-08-17T20:55:28
279,436,135
1
0
null
null
null
null
UTF-8
Python
false
false
231
py
from django.contrib.auth.models import User, Group from rest_framework import serializers class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ['username', 'email']
[ "osvaldobreno99@gmail.com" ]
osvaldobreno99@gmail.com
f26251d0d88cabf18cbd783821f5e00d3ef4eac8
5c7cfebc992873adce8eff71f24a632555106deb
/challenges/python/bicalc.py
2f52a3d54e4f745fbcb0fa9984e7760337c72066
[]
no_license
bledidalipaj/codefights
bf103d7a05a16a436b68264b4610acd8e8b76bfe
e52ebf22b7eb018375adef7b4738a5b7eee0355d
refs/heads/master
2021-01-09T20:42:01.659494
2019-03-05T20:02:15
2019-03-05T20:02:15
62,514,063
0
0
null
null
null
null
UTF-8
Python
false
false
2,039
py
""" You have a calculator called BiCalc, which is very strange, as it can only perform two operations: multiply by 2, denoted as x2, and subtract by 1, denoted -1. You have a lot of time on your hands, so write a program that will help you determine the minimum number of button presses required to get from the start ...
[ "bledikv@gmail.com" ]
bledikv@gmail.com
96f8bb2b0b7cac97ab2c14732709d42e18eac054
df2f413970cb95bbfc294ae15df7237ae28d985a
/twd/rango/migrations/0003_category_slug.py
c9ad37ed41b977205f5bd152573db8f8e7d1f7f9
[]
no_license
mcgeorgiev/tango_with_django
7033598ae5fe79c5b603bdaf88aef0262a06c075
6fa447349150a760fbc18f9af232363ea3b59952
refs/heads/master
2021-01-12T00:26:13.219718
2017-02-24T19:49:43
2017-02-24T19:49:43
78,726,716
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-01-26 13:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rango', '0002_auto_20170120_1724'), ] operations = [ migrations.AddField( ...
[ "michael_georgiev@hotmail.co.uk" ]
michael_georgiev@hotmail.co.uk
098fb4e8dbae6bbc9a3221ab06d0021fd72218f8
f426daf0544bf3edc39c16c62d344f3d7ef96306
/migrations/versions/6dd034695410_initialmigration.py
ae25d3023f5717add5ed9050bfeae0f4d0f70537
[]
no_license
jesskarl/BOLG-python-webapp
92d1fced5019772e2790eea4a10698c2127e2d63
ebac4fdd3e543c9f4725f4d7962c56df7919fac8
refs/heads/master
2020-03-18T21:43:23.054520
2018-05-29T15:29:57
2018-05-29T15:29:57
135,298,330
1
0
null
null
null
null
UTF-8
Python
false
false
656
py
"""initialmigration Revision ID: 6dd034695410 Revises: f0a8edad350a Create Date: 2017-05-08 21:35:32.065000 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '6dd034695410' down_revision = 'f0a8edad350a' branch_labels = None depends_on = None def upgrade(): ...
[ "heyixueeeee@163.com" ]
heyixueeeee@163.com
39ee15326027b428b34b878729f3109081d99b0e
cbc409dfc0e065c970d3451af1b726b7b0a9f8da
/lab3/lab3_4.py
aeaa6eaa7f88eb3709087a1a1eda6f681780bbcd
[]
no_license
Tsirtsey/Python
91d843542cfedd719e5891999a125cf46221d3a1
05214bd5da7866c8a37902885c5ad2a3f60016b8
refs/heads/master
2021-04-17T11:29:19.465996
2020-05-16T16:40:44
2020-05-16T16:40:44
249,441,802
0
0
null
null
null
null
UTF-8
Python
false
false
1,810
py
""" Напишите простой класс StringFormatter для форматирования строк со следующим функционалом: – удаление всех слов из строки, длина которых меньше n букв; – замена всех цифр в строке на знак «*»; – вставка по одному пробелу между всеми символами в строке; – сортировка слов по размеру; – сортировка слов в лексикогр...
[ "noreply@github.com" ]
Tsirtsey.noreply@github.com
6dae55ebac1694f37ebb2d93a70f91307a4c212f
ebfad103f30d6eb7b8d53af4bbe59717a0aefb77
/yield.py
cb1edbac00f56088e9ca9a0977b4e57a8d138344
[]
no_license
barucAlmaguer/py_learning
190832d139f6ee6f03027c10af8ab2400b9b8690
da51c713703fea787fa40dce78a85ce4469226a7
refs/heads/master
2021-05-15T16:38:03.315295
2017-10-19T14:38:49
2017-10-19T14:38:49
107,469,031
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
def yielding(txt) : for char in txt : yield char.upper() def squaring(num) : for i in range(1, num) : yield i * i
[ "baruc.almaguer@gmail.com" ]
baruc.almaguer@gmail.com
4cf3156f5bda4a6d3722d100f183d2c04c3177ba
951690846b6560ebb551f47151cedf4660dd907e
/Project/settings.py
003eb4863bf69c2f2c4749a3d1fd7f03d1507a08
[]
no_license
Django-Nawaz/Project
7cf597d96407701434b110dd545c4f63583d9eef
2225de4f32399fb4952c6bcd8f08707a09c866aa
refs/heads/master
2020-06-11T08:10:03.055939
2016-12-06T07:53:21
2016-12-06T07:53:21
75,726,791
0
0
null
null
null
null
UTF-8
Python
false
false
3,568
py
""" Django settings for Project project. Generated by 'django-admin startproject' using Django 1.10.1. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os...
[ "khazinawazaws@gmail.com" ]
khazinawazaws@gmail.com
24b69f5344e10e8e91a8f19fbc7f9af8668d6232
7d78dbc0b34c92aa6040b291016a1c2a2f0811b5
/sms_notification_drc/models/sms_template.py
e165af1ce5cd0ac46416f2611583289bbcff257a
[]
no_license
odoo258/apps
c623b0e4b3dc54b1545eafedb1a10a32fc0bc81a
4b2c97677ebb0c6c838d2c5ed2e2c05bb57ed842
refs/heads/master
2020-04-08T01:37:40.269249
2018-02-21T04:23:39
2018-02-21T04:23:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
# -*- coding: utf-8 -*- from odoo import fields, models class TemplateSms(models.Model): _name = "template.sms" _rec_name = 'template_name' template_name = fields.Char(string="Name", required=True) template_global = fields.Boolean(string="Global") template_condition = fields.Selection([('order_pl...
[ "bansi.viradiya@drcsystems.com" ]
bansi.viradiya@drcsystems.com
04aef65bbb2620a26219bf0e742b8b4cfbc302c8
cf8e0179cca7be3b40a3362eb5cbd4d17c2f0e28
/targ_pos_socket/scripts/send_target_socket.py
73f3c5d961a2104d10229f9f7cb3845546cea3bc
[]
no_license
robertoalbanese/GP_App
35c187b2a9417d97ab575e033ae176f1def6ffd7
cf3f4d8c50029ed332bdf34ee9251e64b73b90cc
refs/heads/main
2023-03-30T13:25:13.046050
2021-04-01T13:11:35
2021-04-01T13:11:35
351,187,149
0
0
null
null
null
null
UTF-8
Python
false
false
1,860
py
#!/usr/bin/env python # -*- coding: iso-8859-15 -*- import os import sys import socket import json import time # ROS import rospy from geometry_msgs.msg import Point class send_target_socket(): FORMAT = "utf-8" DISCONNECT_MESSAGE = "!DISCONNECT" def __init__(self, ip_server, port): rospy.init_...
[ "ralbanese18@gmail.com" ]
ralbanese18@gmail.com
a4a1af6dd0b77de844752031489160a61c9b5bf1
a3a98c9b882835fdf1f89008911879406e1785a0
/sort.py
3aecf4a9f159075d3a728fd9d9ec23ada85008b1
[ "Apache-2.0" ]
permissive
currysesame/sort_method
69df4647f88093e937a99b49accbce85c9476511
e603ee4048232c3f4d03f58577d0a20922007fc6
refs/heads/master
2022-11-25T11:59:37.704260
2020-08-08T07:36:30
2020-08-08T07:36:30
280,795,738
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
#insert sort import numpy as np arr1 = np.array([233,646,242,6,24,7,234,-323,66,-24,23,2,18,122,233,34,11]) print(arr1) def switch(array_, x, y): if(x < (len(array_)) and y < (len(array_))): buffer1 = array_[x] array_[x] = array_[y] array_[y] = buffer1 return array_ for i in range(len(arr1...
[ "noreply@github.com" ]
currysesame.noreply@github.com
196e71e3cfeddd2e4c3953c160c4ad91cf327a90
1e45ec7a39b66478a766b753445af8fea4b0045d
/reddwarf/guestagent/manager/mysql.py
2e733072e8dfd315e553fcf45af8aa4c7d13d6ea
[ "Apache-2.0" ]
permissive
mmcdaris/reddwarf
54d703e3cf81654d4800d68943898347a53bdd51
c6b2d78e82f8de781c6750e0132e84f9438a0ced
refs/heads/master
2021-01-15T22:41:54.663997
2013-05-10T19:39:19
2013-05-10T19:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,466
py
import os import re import time import uuid from datetime import date from sqlalchemy import create_engine from sqlalchemy import exc from sqlalchemy import interfaces from sqlalchemy.sql.expression import text from reddwarf import db from reddwarf.common.exception import ProcessExecutionError from reddwarf.common im...
[ "mbasnight@gmail.com" ]
mbasnight@gmail.com
1dcf7100804c87590039c11f80193c2082f9ad92
8d64f91ad22ddc10d313220fdd6d8748fcc620cb
/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts.py
a53c04497daab42b17eda68dde1b98b87f67c17b
[ "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
openapi-env-ppe/azure-sdk-for-python
da8202c39aa757b5eac956fc473ce28b8d075236
93c10270978f1d8c9d3728609866a8408c437630
refs/heads/master
2020-09-12T09:58:37.172980
2020-06-06T03:40:24
2020-06-06T03:40:24
222,384,881
0
0
MIT
2019-11-18T07:09:18
2019-11-18T07:09:17
null
UTF-8
Python
false
false
4,060
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. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
openapi-env-ppe.noreply@github.com
9e8c11f95b2b779b5172eebc98046e5a2585afc2
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/pandas/_testing/_io.py
4c7e669f947341ed8362b802a9e8836484fe7e05
[ "MIT" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
12,024
py
from __future__ import annotations import bz2 from functools import wraps import gzip import socket from typing import ( TYPE_CHECKING, Any, Callable, ) import zipfile from pandas._typing import ( FilePath, ReadPickleBuffer, ) from pandas.compat import get_lzma_file from pandas.compat._optional im...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
1d1507e47706ec4d6148821d1c194eafc2b495f8
353b1065e5dfce1878d367bf9758387cf34ce52f
/gallery/migrations/0003_auto_20200512_1841.py
864a55eddd5bddc5a6e66705c875d147284dc73b
[]
no_license
Vaibhav-21-git/Gym-Website-Project
62d19c2708f602b165fb4fecd0659a56b38d3008
9ff78ae40a8e14ffdbce4f87e2b9915a8fe5bc0d
refs/heads/master
2022-11-28T04:16:44.877412
2020-08-06T09:48:04
2020-08-06T09:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# Generated by Django 3.0.6 on 2020-05-12 14:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gallery', '0002_auto_20200512_1826'), ] operations = [ migrations.AlterField( model_name='gallery', name='image', ...
[ "6438087-Noferesti@users.noreply.gitlab.com" ]
6438087-Noferesti@users.noreply.gitlab.com
12fe1e9ca7b7d66b0262bd3120a66ba3ee706e76
8bcd0d995d5441f4519b8b7b8d23391bfb7a9e28
/Python Homework/20-09-18-week02/上机/daydayup-three.py
b863d82a49aeddd26c0ab4dc0c620b8ba9522f0a
[]
no_license
EdwinVan/Python
6cd193b52929521a4bbe35537754cdbb933e8f7d
5c853f754ada423dff9af68ed278336deda21ca0
refs/heads/master
2023-05-08T03:11:01.575372
2021-06-05T06:11:32
2021-06-05T06:11:32
299,629,274
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Daydayup365-“三天打鱼两天晒网”式学习 # 2020/09/18 # fyj dayup,dayfactor = 1.0, 0.01 #初始设为1.0,每天变化为前一天的%1 for i in range(365): if i % 5 in [0, 1, 2]: dayup = dayup * (1 + dayfactor) # 提升 else: dayup = dayup * (1 - dayfactor) # 下降 print("三天打鱼两天晒网式学习后一年:{:.2f}." .format(dayup))
[ "2576420317@qq.com" ]
2576420317@qq.com
497e63b9b10e6909610456e26aa112b51033dba3
8481e401985cfbe5969103fb0a8e6cbdc7cb4c30
/manage.py
287c640bd224fd267edb3ae714125c0ec08ab905
[]
no_license
crowdbotics-apps/test-18441
00523c529eac54cc1b75dd0dab3c6abde2ce6869
ce112e391c6ec1750f661112f818cded2927e9f7
refs/heads/master
2022-11-13T13:41:59.355446
2020-06-26T22:34:43
2020-06-26T22:34:43
275,259,389
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_18441.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
79b9c9c08b7324f14dbbf8e8b1796cdb4db1abdc
ffa970f1ca42e70685a89a62df9c8f2f3caa784c
/nifpga_dll_calls_5775.py
fb2641013dd2eb535db4bf0b04f67700f9ab3771
[]
no_license
kalyanramu/FlexRIO_Python
57db5988a55358100fdbd89277438659010933d0
f82ee6dff413fc4ce5e880b8200bd556a3a57362
refs/heads/master
2020-12-29T11:48:20.440358
2020-04-13T03:30:14
2020-04-13T03:30:14
238,596,973
0
0
null
null
null
null
UTF-8
Python
false
false
5,016
py
#C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\include from ctypes import * class nifga_dll(): dll_path = r"C:\Windows\System32\niflexrioapi.dll" def __init__(self, session): try: self.nifpga_dll = cdll.LoadLibrary(self.dll_path) ...
[ "noreply@github.com" ]
kalyanramu.noreply@github.com
ba180eff9a73705043105ef9940ba13d10c5214a
59d5a801dd8361fe2b68f0cdfc1a0c06bbe9d275
/Competition/恶意样本检测/features/backup/v2/strings.py
2a2bcc9a224d91e07b94570ea11e642a4d6cbb9c
[]
no_license
HanKin2015/Machine_to_DeepingLearning
2ff377aa68655ca246eb19bea20fec232cec5d77
58fa8d06ef8a8eb0762e7cbd32a09552882c5412
refs/heads/master
2023-01-25T01:16:41.440064
2023-01-18T08:23:49
2023-01-18T08:23:49
134,238,811
0
1
null
null
null
null
UTF-8
Python
false
false
9,246
py
import subprocess import os import numpy from sklearn.ensemble import RandomForestClassifier from sklearn import tree from sklearn.feature_extraction import FeatureHasher from sklearn.model_selection import train_test_split import time from log import logger import pandas as pd SAMPLE_PATH = './test/' ...
[ "1058198502@qq.com" ]
1058198502@qq.com
786a5dded9fde0f9385c8a94df1e5896755d4613
2c74bb301f1ed83b79254944183ac5a18a639fdf
/homeassistant/components/devolo_home_network/binary_sensor.py
2e87bd180b1c5fcc960d698d5298ae2db6a29232
[ "Apache-2.0" ]
permissive
Adminiuga/home-assistant
5bec93007ddac1a268cc359bf7e48530c5f73b38
dcf68d768e4f628d038f1fdd6e40bad713fbc222
refs/heads/dev
2023-02-22T22:03:31.013931
2022-11-09T00:27:20
2022-11-09T00:27:20
123,929,062
5
4
Apache-2.0
2023-02-22T06:14:31
2018-03-05T14:11:09
Python
UTF-8
Python
false
false
3,169
py
"""Platform for binary sensor integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from devolo_plc_api.device import Device from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEn...
[ "noreply@github.com" ]
Adminiuga.noreply@github.com
e0a9b0e049c5cdf5f4693d5b8e8739d79ea91337
b55bfb7e3587772a0949dcaaf3f839330d9609bc
/www/user/amand_tihon/createDIP.py
08e6aa227025e143b9ea22511914dee4ddf2e885
[]
no_license
baptistelabat/gedasymbols
4cdd403c93551b3f553470b83abd02fdecfdeeaa
b9a118308ee26e29458b3ea365958d76f3d22ca0
refs/heads/master
2021-01-17T23:10:12.043442
2015-03-04T14:01:21
2015-03-04T14:01:21
31,658,196
1
0
null
2015-03-04T13:24:40
2015-03-04T13:24:40
null
UTF-8
Python
false
false
5,478
py
#! /usr/bin/python3.1 # -*- coding: utf-8 -*- # kate: space-indent on; indent-width 2; mixedindent off; indent-mode python; # Copyright (C) 2009 Amand Tihon <amand.tihon@alrj.org> # # You can redistribute this file and/or modify it under the terms of the # GNU General Public License as published by the Free Software F...
[ "" ]
43924e80cdbe766dc459183fc0228ac12c6fdaf8
59cd3ca83aadc9a4c830e6dda57922e682e7a317
/django_project/geocontext/utilities/xml.py
dfe023e8b8f88d56907fb2d9629099c106a223d1
[]
no_license
kartoza/geocontext
a8df6f4f17086301a6e7384056e49784fa6e2580
ae35b96356e3e21c18412b3e5fc529d8568866b4
refs/heads/develop
2022-09-11T06:15:15.108151
2022-09-01T13:37:01
2022-09-01T13:37:01
126,920,992
6
11
null
2022-09-01T13:37:02
2018-03-27T03:05:13
Python
UTF-8
Python
false
false
1,094
py
from xml.etree import ElementTree import logging LOGGER = logging.getLogger(__name__) def get_bounding_box_srs(service, content): root = ElementTree.fromstring(content) tag = root.tag.split('}') layer_tag = 'Layer' bound_tag = 'BoundingBox' name_tag = 'Name' if len(tag) > 1: layer_tag...
[ "fanevanjanahary@gmail.com" ]
fanevanjanahary@gmail.com
a88f5c1c605745175557dbfed78336036dd4ee49
a7b07e14f58008e4c9567a9ae67429cedf00e1dc
/docs/jnpr_healthbot_swagger/swagger_client/models/__init__.py
c8d66650da9abc89ba8d93e7de9bbe4d54dc38d7
[ "Apache-2.0" ]
permissive
dmontagner/healthbot-py-client
3750d8375bc4fa7bedcdbc6f85f17fb812c19ea9
0952e0a9e7ed63c9fe84879f40407c3327735252
refs/heads/master
2020-08-03T12:16:38.428848
2019-09-30T01:57:24
2019-09-30T01:57:24
211,750,200
0
0
Apache-2.0
2019-09-30T01:17:48
2019-09-30T01:17:47
null
UTF-8
Python
false
false
14,798
py
# coding: utf-8 # flake8: noqa """ Healthbot APIs API interface for Healthbot application # noqa: E501 OpenAPI spec version: 1.0.0 Contact: healthbot-hackers@juniper.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import # import models...
[ "nitinkr@juniper.net" ]
nitinkr@juniper.net
e2cca9a8fad4f216f575087dd3d1af8b2cf2e0c8
8c8037f70bcc8b848c2fba3f27b5c01d341bfd11
/abca/manage.py
89ddba2d3afe50bcb9f092c394a3bbb7a3c9f89a
[]
no_license
maufarinelli/abca
e8977d9d0fff1e3782155070300036d43c621032
fc354bd8ffbe8e40e6f9401706df48913d19925e
refs/heads/master
2020-05-18T16:42:52.988373
2014-05-22T21:01:11
2014-05-22T21:01:11
19,862,052
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "abca.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "mfarinelli@auto123.com" ]
mfarinelli@auto123.com
190c88b738926f8cd336a581c1de43d1dbb1d189
a2d44312a3b8b769196623cea08524ac7fcd99a2
/io_scene_fbx/__init__.py
9611cb1f2600fa3c84c2dde7747b8a22a4f7d468
[ "Unlicense" ]
permissive
1-MillionParanoidTterabytes/blender-addons-master
2491321430993d8f867e1dcbbeb97601a043effd
acc8fc23a38e6e89099c3e5079bea31ce85da06a
refs/heads/master
2020-03-20T20:56:38.302065
2018-06-18T05:47:11
2018-06-18T05:47:11
137,715,574
1
0
null
null
null
null
UTF-8
Python
false
false
25,891
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "nikola.tesla.mandici.fundation@gmail.com" ]
nikola.tesla.mandici.fundation@gmail.com
d74236cdbb87c68656abea942412de4ccb0d64a9
a1c219c95e687fbc7f84c752f1714c7e85b4d5af
/mask-RCNN/maskRCNN/Mask_RCNN/samples/maskrcnn1.py
a97d0512bd0b2c75d3c7396012d602a96899c74c
[ "MIT" ]
permissive
fmigone/vehicle_recognition_suite
2d16b15425be3fa903a971be418d0f98a30a8ecd
fe1aecefd55e06bdbbda159a8728d6b7e6098bae
refs/heads/master
2020-07-05T19:45:29.027336
2018-11-13T21:24:48
2018-11-13T21:24:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,372
py
import os import sys #import skimage.io #import matplotlib.pyplot as plt import cv2 # Root directory of the project ROOT_DIR = os.path.abspath("../") # Import Mask RCNN sys.path.append(ROOT_DIR) # To find local version of the library from mrcnn import utils import mrcnn.model as modellib from mrcnn import visualize_cv...
[ "ctovictor@gmail.com" ]
ctovictor@gmail.com
2ff6fee5e28e362384ede9ace71cf0ce33283eaf
ac69ba64eefe9260f54f09d0073fb648fea99b1d
/singel.py
c8c6494ffb7414f733a2161fad1f6ba4a65493c8
[]
no_license
abushaik/Coding-fun
7786881f1c9e4a5590ad14735bc75d466464a8dc
fdf17f49950d95ddebef2f14a50ce0c7e6fc8a71
refs/heads/master
2023-04-13T07:31:02.989765
2023-03-26T18:06:32
2023-03-26T18:06:32
117,871,146
0
0
null
null
null
null
UTF-8
Python
false
false
5,382
py
import matplotlib.pyplot as plt from reportlab.lib.pagesizes import letter from reportlab.pdfgen import canvas import random print("SIMULATION PROJECT\n") len=int(input("Enter Arrival time: ")) arv = [random.randint(10,80) for _ in range(len-1)] serv = [random.randint(10,80) for _ in range(len)] arrRandom=[...
[ "noreply@github.com" ]
abushaik.noreply@github.com
40473e122c6e64c3b0f9a5bad0386866cdf0a30b
85582ec08c7c58501edae203f66c9b31749ff1d8
/note/migrations/0001_initial.py
02c783c58b8e32398894326ad56ca6c63f3886e5
[]
no_license
pedroeagle/django-notes-app
fca51ec239905e090907c7ea124578774aa3d545
55b6e79ea8c2d1dc981246a57c5ba708f3a8d9af
refs/heads/master
2023-07-17T09:03:11.559029
2021-09-02T20:47:24
2021-09-02T20:47:24
401,793,704
1
0
null
null
null
null
UTF-8
Python
false
false
806
py
# Generated by Django 3.2.6 on 2021-09-01 01:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "pedroigor.silva@outlook.com" ]
pedroigor.silva@outlook.com
71ab8eb17ca6951457756a58b0a25d39c96bbef8
dcbd17cacf44bea74655242ea9bd59cf0ea86730
/backend/hashing.py
4f780a3096f8b73aa24ed23af13a6abb093be701
[]
no_license
Penta301/Institute_JHAM
34c799ffadd244913fc70ead7c6be206aad5a6fe
66de8cf0024879e8b1355637ab6666926e91a860
refs/heads/main
2023-07-12T02:23:18.992335
2021-08-18T20:24:29
2021-08-18T20:24:29
388,658,469
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
from passlib.context import CryptContext pwd_cxt = CryptContext(schemes=['bcrypt'], deprecated='auto') class Hash(): def encrypt(password): return pwd_cxt.hash(password) def verify(plain_password, hashed_password): return pwd_cxt.verify(plain_password, hashed_password)
[ "theprof301@gmail.com" ]
theprof301@gmail.com
271fcc479089aac99db3c2fff510481a840c6ef1
5b4312ddc24f29538dce0444b7be81e17191c005
/autoware.ai/1.12.0_cuda/install/autoware_system_msgs/lib/python2.7/dist-packages/autoware_system_msgs/msg/_SystemStatus.py
0a28bb4a5d1599d1d13d76ce22070dc6303ed3bf
[ "MIT" ]
permissive
muyangren907/autoware
b842f1aeb2bfe7913fb2be002ea4fc426b4e9be2
5ae70f0cdaf5fc70b91cd727cf5b5f90bc399d38
refs/heads/master
2020-09-22T13:08:14.237380
2019-12-03T07:12:49
2019-12-03T07:12:49
225,167,473
0
0
null
null
null
null
UTF-8
Python
false
false
42,350
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from autoware_system_msgs/SystemStatus.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import autoware_system_msgs.msg import rosgraph_msgs.msg import genpy import std_msg...
[ "907097904@qq.com" ]
907097904@qq.com
8e392d4061af3dde2fd15069c9bf097705824883
4eaf53e9259d26d114f52a7c3823e6b27daccfaf
/tensorflow_probability/python/layers/distribution_layer_test.py
2563eaac5d3c3de888f949732903ca17059d3a86
[ "Apache-2.0" ]
permissive
oahziur/probability
f700ea6bd16bd2be0b39237221158299f6646b5c
11645be43d2845da65a4fbafde4cfa95780280c0
refs/heads/master
2020-04-17T08:26:13.888698
2019-01-18T15:24:06
2019-01-18T15:24:06
166,412,051
0
0
Apache-2.0
2019-01-18T13:49:04
2019-01-18T13:49:04
null
UTF-8
Python
false
false
30,600
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
4cb9f2aca7bafdf2b4cef1d0d23c4d476b321127
64c5d603fa97a22afc3cd010858b00bb26da795f
/breezy/settings.py
2fbd840e22de3b5780bb7b4261c48a3bdd6f3388
[]
no_license
welz-atm/MusicPlayerAppDjangoandBulma
7360be06333ad37b8f94c397e06b698b24db8519
4194b12d865e123a8b2bcfd6ec7660d1a59b145e
refs/heads/main
2023-01-23T06:58:15.811108
2020-12-10T17:27:54
2020-12-10T17:27:54
310,572,957
0
0
null
null
null
null
UTF-8
Python
false
false
3,998
py
""" Django settings for breezy project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "59687594+welz-atm@users.noreply.github.com" ]
59687594+welz-atm@users.noreply.github.com
66dbd62812d3b9270e01ed5891186f2b6506efa8
0f141dd46f9214dec5d3f68e1ea0bea117460300
/scripts/extractReviews.py
5545f5d825500e5bafd3f91e058a09eb297b4ca7
[]
no_license
Libardo1/YelpAcademicDataAnalysis
af28a8aace39a7a802ac1276067775c201f7213d
a4084fba88907f0a6bdd847346a0ed9b20a1888a
refs/heads/master
2021-01-19T07:21:08.697977
2014-02-03T13:47:06
2014-02-03T13:47:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import pandas as pd import nltk def main(): global daysOfWeek daysOfWeek = {0:'Sunday', 1: 'Monday', 2: 'Tuesday', 3: 'Wednesday', 4:'Thursday', 5:'Friday', 6:'Saturday'} df = pd.read_csv('../data/processed/yelp_review.tsv',sep = '\t') df.apply(exportReviewText, axis = 1) def exportReviewText...
[ "ben.y.cheng@gmail.com" ]
ben.y.cheng@gmail.com
c889a7755276b858a3522aeab8b76a0881280e68
14c1d9e436e19893491e66c51e25834e40bed294
/flask_app/legacy/__init__.py
9528e0f01a19bc5a92f09fbc766451ff1db47534
[ "MIT" ]
permissive
crazynayan/za2019
90bfba8e05f2e747b4adcc96bcb31c47dd85d169
7f8e71b15a81dd1c3162a4fa42a38d0b7ff15f10
refs/heads/master
2022-12-13T12:05:20.071945
2021-08-14T08:49:42
2021-08-14T08:49:42
224,970,397
0
0
MIT
2022-12-08T10:54:53
2019-11-30T06:32:49
Python
UTF-8
Python
false
false
101
py
from flask import Blueprint bp = Blueprint("legacy", __name__) from flask_app.legacy import routes
[ "nayan@crazyideas.co.in" ]
nayan@crazyideas.co.in
ae975c775649babd03b37a818cb64b731b2f5297
151a1ffebbc162c16a14dade1db27d5815caca6a
/todolist/tests.py
a3c1c4134fe588712f95fb837fa63585f39d0b72
[]
no_license
JordanField/Bizzorg-Server
1958c01f715ef8811d27906191c7eb1e89e049d1
6396256f8e1d6203cb3b353492e3730af5e95474
refs/heads/master
2020-04-21T21:22:48.281391
2019-02-09T14:53:21
2019-02-09T14:53:21
169,877,113
0
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
from django.test import TestCase from .models import ToDoList, ToDoListItem from groups.models import EmployeeGroup, GroupMembership from django.contrib.auth.models import User from django.core.exceptions import FieldError class ToDoListTestCase(TestCase): def test_that_delegated_employee_must_be_member_of_to_do_...
[ "j.field.2@warwick.ac.uk" ]
j.field.2@warwick.ac.uk
062a7d5952bd18457d17b100b6ca360af17c1b47
6336c7aaafa5bcb58477fb51231f4348d32f78f6
/drawing_and_style_transfer/util/visualizer.py
cc4b9badf7749f2baee317f01669149938f5180c
[ "MIT", "BSD-2-Clause" ]
permissive
guy-oren/OneShotTranslationExt
c1475ab06c3c685f1f5987c4fe3e7da41f62ddf9
b4a8c54105f7f41e71f86a6aa285ec702fee09eb
refs/heads/master
2020-04-02T16:35:28.071314
2018-11-05T06:59:32
2018-11-05T06:59:32
154,619,413
2
0
null
null
null
null
UTF-8
Python
false
false
6,788
py
import numpy as np import os import ntpath import time from . import util from . import html from scipy.misc import imresize class Visualizer(): def __init__(self, opt): # self.opt = opt self.display_id = opt.display_id self.use_html = opt.isTrain and not opt.no_html self.win_size ...
[ "sagiebenaim@gmail.com" ]
sagiebenaim@gmail.com
2614d9c46b453939b0a72f979dfa8b427fa9e68c
15d29433c552e68215fc8a54e8f178f5c01dea67
/orders/migrations/0004_foundry.py
02b709cb14ce058a8487f7f81a64e7b25a79258c
[]
no_license
Jack-Xu-1996/Shapes-May-2020
3dbbd7d55c074505707b4b00a3259ad35e0bc3bc
4870f6ba233c9c2f838f2ef8bc94768c664b3e26
refs/heads/master
2022-12-21T21:14:31.993703
2020-09-24T16:10:19
2020-09-24T16:10:19
266,877,986
0
0
null
null
null
null
UTF-8
Python
false
false
2,610
py
# Generated by Django 2.0 on 2020-04-21 19:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0003_auto_20200408_1546'), ] operations = [ migrations.CreateModel( name='Foundry', fields=[ ...
[ "52380119+Samuel-Xu-1996@users.noreply.github.com" ]
52380119+Samuel-Xu-1996@users.noreply.github.com
46d861589dadfbcbd06cff4a5f03b32e6884ad33
024a2fc57bb49fcc4defecdb7a0fa61933e14683
/SecureFileSharing/settings.py
cc17cc1d80e6aac6391bea49047bf4353275e340
[]
no_license
Sanju-S/SecureFileSharing
3cd68568dfe7b54ed47a656c4e2f76f6be7290a5
592a2be4cdea844d1666fb8d6fb250166a2cc85a
refs/heads/master
2022-12-10T08:23:19.839709
2020-09-13T23:31:01
2020-09-13T23:31:01
174,567,340
0
0
null
null
null
null
UTF-8
Python
false
false
3,429
py
""" Django settings for SecureFileSharing project. Generated by 'django-admin startproject' using Django 2.0.7. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings...
[ "sarkarsanju97@gmail.com" ]
sarkarsanju97@gmail.com
2cf39451572b8619fac70c570ebd20d92c803b10
f5502b44cca7580201ae5b8119866a9fcdf2ffd8
/Backend/myproject/myapp/admin.py
f8f3792a5b9491feb7038b82f281f150f7317aa0
[]
no_license
aboli-naik/Assignment3
0bdf37ea337f43c9b3639b9951ce000b8ad0f009
a5af11ae3e59bcc24a0001b28e76d11a66f85c73
refs/heads/master
2023-03-11T07:08:18.663440
2021-03-02T12:23:13
2021-03-02T12:23:13
343,751,367
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
from django.contrib import admin from .models import students,professor, courses,registration,evaluation admin.site.register(students) admin.site.register(professor) admin.site.register(courses) admin.site.register(registration) admin.site.register(evaluation)
[ "aboli.naik@gmail.com" ]
aboli.naik@gmail.com
590b6f5403f5043e59a7aec47dcce8c815e380ab
4f327c57822ca3f43ee001e83040799f4721b97d
/coinchange.py
970858f4ba3972e72c404d15ec69cac773ab7594
[]
no_license
abhi8292/recursionAndDynamicProgramming
3a4809d2ee10dd50b1a94dd7833201d149bee786
53234dd0c3ef17696ffe4909b0d7afed5cb476a1
refs/heads/master
2023-06-09T23:39:07.779056
2021-07-04T17:15:09
2021-07-04T17:15:09
330,320,612
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
class Solution: def coinChange(self, coins: list[int], amount: int) -> int: self.ans = [] self.minLen=amount+1 def option(coins, target, cur): if target < 0: return 0 if target == 0: self.ans.append(cur.copy()) self.mi...
[ "simplyabhimanyu8292@gmail.com" ]
simplyabhimanyu8292@gmail.com
f932c2b000f29193cb270c85efc77d991b8056b0
0f9f23561dca860ffc29b549d0a3c31ddcb0cd08
/Coding Challenge/Day_1/Day1.py
63d14b64922fae47d84707fc82175c0e190082ac
[]
no_license
jayshreevashistha/forskml
17963047ed54bd18689e1571f9de25e2b3a0efc0
bfc99f3bfd30c18d0c475f13fe1066c7d2d39991
refs/heads/master
2020-05-24T07:16:49.810102
2019-07-15T11:47:45
2019-07-15T11:47:45
187,156,385
0
0
null
null
null
null
UTF-8
Python
false
false
5,140
py
# -*- coding: utf-8 -*- """ Created on Tue May 7 11:52:56 2019 @author: computer """ Conversation opened. 1 read message. Skip to content Using Gmail with screen readers 1 of 14,013 [Forsk] FSSDP - Day 1 Inbox x Forsk Labs <forsklabs@gmail.com> Attachments10:25 AM (1 hour ago) to bcc: me Dear Student, Please...
[ "jayshreevashistha18@gmail.com" ]
jayshreevashistha18@gmail.com
614ffd8081156d09c9b26112c5fc19d3c6747938
4ecf6ab7d881bb65cdcdea2261ee0cab168a94b1
/admin/products/producer.py
a42d3fb0f78ae7e39624104fdb0abb7954ba9f4a
[]
no_license
BryceHamilton/python-microservices
cd16d30bf9bb3908f6763519f8854f18f85ce1d7
d3bd50b725fc5d8a6efab61b6fb5166b92b434d5
refs/heads/main
2023-02-11T06:03:29.326115
2021-01-11T08:27:32
2021-01-11T08:27:32
328,257,397
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
import pika, json params = pika.URLParameters('amqps://qkyaxufh:GFgCv8Kep_rJaxoyd3v8R8UfmS_oq-lZ@shark.rmq.cloudamqp.com/qkyaxufh') connection = pika.BlockingConnection(params) channel = connection.channel() def publish(method, body): properties = pika.BasicProperties(method) channel.basic_publish(exchan...
[ "bhamilton@haivision.com" ]
bhamilton@haivision.com
0a7ba0dabfda565747d5ea000baa65de80c76e9e
f00b8e2d1ed9dee22b50c8a678b081c45840522b
/simple_pipeline.py
ea79566501218f693d6b283fbc4aabf39b895174
[]
no_license
valeedmalik/145_whats_cooking
c365e6044beccaa4bb80ea664000304683834490
2be0a18424ddeb1fdb4d5b8ba9900058bf057206
refs/heads/master
2021-01-11T05:10:36.232484
2015-11-24T21:24:22
2015-11-24T21:24:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,221
py
__author__ = 'davidnola' import sklearn.pipeline as skpipe import sklearn.cross_validation import sklearn.feature_extraction as skfe import numpy as np import json # import my stuff from pipeline_helpers.py from pipeline_helpers import Printer,DeSparsify,JSONtoString # Load up data. We transform it inside the pipeli...
[ "dnola@scu.edu" ]
dnola@scu.edu
3570bfbd6bc739bcbc15159e8235cbe8019311c5
8c11962530bd5f5a8aaee806e481d7ca9c4127ba
/multithread invoke testcode.py
dc1648f120eaaf1c57665cef17b1e47b08629410
[]
no_license
yewonbahn/chaincode-invoke-test-ex-
a2c82f60f10fd46cc6b996b22d3f4a388f063beb
7bb856f563562d94d3bb8cb89a7d8ea417e345a4
refs/heads/main
2023-07-13T19:25:21.647595
2021-08-18T01:56:18
2021-08-18T01:56:18
397,440,667
0
0
null
null
null
null
UTF-8
Python
false
false
1,755
py
#!/usr/bin/env python import time import os import random from threading import Thread from multiprocessing import Pool from datetime import datetime now = datetime.today() start_time=time.time() def f(name,start,end): a="peer chaincode invoke -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tl...
[ "banyaewon98@gmail.com" ]
banyaewon98@gmail.com
5855c6f2590a1965838f29018eab23c08aeb3916
fb0ddefaa2fec8b80b5f0d5f27eb201703e8599c
/Days/day13/image.py
a6fb455e29ff47ed018e7e00393ecc8d805496a4
[]
no_license
hamidihekmat/Programming-Practice
faa10e8277bc6da3f413b35565b66a8e489f3064
2119357634482ca3c73de28818b9a6b4fa34a6cf
refs/heads/master
2020-07-13T12:00:10.223812
2019-10-04T18:37:08
2019-10-04T18:37:08
205,078,317
1
0
null
null
null
null
UTF-8
Python
false
false
657
py
from threading import Thread import requests counter = 0 def image_downloader(image): global counter name = image.split('/') image = requests.get(image).content counter += 1 with open('file{}.jpg'.format(counter), 'wb') as image_file: image_file.write(image) print('im...
[ "theonehamidi@gmail.com" ]
theonehamidi@gmail.com
fae7ce6103432e5ee3ffc1da5cead980cbd4d6e9
0071bdbc2817c6bfe89fb9aef5d4f4ddb582ae2e
/build/aeriaman/cmake/aeriaman-genmsg-context.py
6d6109825f958fc82ca48ace37351f1a4fa08620
[]
no_license
ibrncfe/Aerial_HumanLike_Manipulator_ROS
bcc2073afea4413174f67c1935ede6e6c7c8f346
9677becadb75b437d64f7858b1fd9a88c1ff29ff
refs/heads/master
2020-05-20T00:06:59.406556
2019-05-10T09:26:46
2019-05-10T09:26:46
185,279,492
2
1
null
null
null
null
UTF-8
Python
false
false
624
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/ibrncfe/manipulator_ws/src/aeriaman/msg/Num.msg" services_str = "/home/ibrncfe/manipulator_ws/src/aeriaman/srv/AddTwoInts.srv" pkg_name = "aeriaman" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_...
[ "ibrncfe@gmail.com" ]
ibrncfe@gmail.com
b974eaa97cef6e176f618c6acaa768aed3ec961e
f9dbe4b28fc7b9611fc2f48c8abc1f24859e55a7
/mysite/gl_ObjLoader.py
141f95486c836bc93c3d2438402a03a76f2f7b57
[]
no_license
jhn5052/3dImoji_Django
644e813e529a9155ce0ecb450287a548be2c8e92
1cc0c5c680f878eca3974e9b2aa940c5b33ebee9
refs/heads/master
2020-06-02T00:22:12.678456
2019-06-09T09:22:09
2019-06-09T09:22:09
190,976,154
0
0
null
null
null
null
UTF-8
Python
false
false
2,663
py
import numpy as np class ObjLoader: def __init__(self): self.vert_coords = [] self.text_coords = [] self.norm_coords = [] self.vertex_index = [] self.texture_index = [] self.normal_index = [] self.model = [] self.flag = -1 ...
[ "noreply@github.com" ]
jhn5052.noreply@github.com
e1445bde9f63484fff8644b27e3c5a9774a28588
360edfcbbc0a221e06b21ced12e818fe83a22122
/adv-log-likelihoods/mle_geneconv_common.py
961853199ab7732ae45b99966f21df30996f3c4d
[]
no_license
argriffing/ctmcaas
068dcdfe69875fa26caf1e09e48ab026170dcf7a
0d555447eada750056ed6c3eff72790f0e68637e
refs/heads/master
2020-04-09T07:37:02.749389
2015-01-12T17:09:13
2015-01-12T17:09:13
24,764,097
0
0
null
null
null
null
UTF-8
Python
false
false
12,052
py
""" Common functions for gene conversion MLE. """ from __future__ import division, print_function import functools import json import subprocess import requests import copy import multiprocessing from guppy import hpy import numpy as np from numpy.testing import assert_equal import ll import jsonctmctree.ll __all...
[ "argriffi@ncsu.edu" ]
argriffi@ncsu.edu
fca480dadad19618acaf1c4253cfda6b34166472
c41e62d099db6ac01032dfefa1a554b2335211b3
/advent_of_cyber_16_where-is-santa.py
123490323cfca27d7e42a3c2b38a4ff74cb1e0a9
[]
no_license
philnipyo/various-scripts
bf6cb138666edea88cbff98b5b8bc398e315fbc8
9f8b171b80ef288fd71385a0d9d540ecca80a450
refs/heads/master
2023-02-12T12:58:45.467823
2021-01-17T05:02:53
2021-01-17T05:02:53
295,817,457
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
import requests # Define the URL to send+retrieve requests u = 'http://TRYHACKME_MACHINE_IP/api/' for i in range(1, 100, 2): # Append string version of i to the URL URL = u + str(i) r = requests.get(url = URL) # Decode the JSON into string data data = r.json() # Prints out information in the ...
[ "philnipyo@yahoo.com" ]
philnipyo@yahoo.com
3d643a64973393ab701c545ab423cb75a3228c37
f785e0ac303ef6c20748123b66c7b5cd179c03f6
/FreeFallApp/migrations/0015_auto_20200118_1346.py
1fd0dfc2e244e006cbf1aca025ad3ab7c1568c4e
[]
no_license
vasa911/snproject
37e92a3defc19584cdc2306e7c08ddd21f970554
d985a363e877954bca1507b6b2e7f7fd911f10b5
refs/heads/master
2020-08-30T02:27:28.852577
2020-08-18T16:09:32
2020-08-18T16:09:32
218,234,287
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
# Generated by Django 2.2.6 on 2020-01-18 11:46 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('FreeFallApp', '0014_auto_20200114_0936'), ] operations = [ migrations.AddField( model_name='landmark', ...
[ "kasjanov.jaroslav@rl.odessa.ua" ]
kasjanov.jaroslav@rl.odessa.ua
ee173a7e2b21e8aa89a60077bc05eee44a53ee25
6cd1133b3d86635c2864b4bda5537de7278ba727
/chapter9/selectiveCopy.py
63ac9321e4d65f7b5e805df94c11eedc4891a174
[]
no_license
jpsalviano/ATBSWP_exercises
6ff7409908452a4d6640741737b2e0f01e467c10
e4e6513e6b6a82d59c1cff615bc31472ac5a9ff3
refs/heads/master
2021-07-02T13:44:03.588698
2020-10-21T15:45:46
2020-10-21T15:45:46
170,361,197
0
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
#! /usr/bin/python3 # This code is my solution to Practice Project: Selective Copy in the book Automate the Boring Stuff with Python by Al Sweigart # selectiveCopy.py - Searches all files for an extension in a folder tree and copies them into a new folder. # Usage: selectiveCopy.py <extension> <source> <destination>: #...
[ "jpfsalviano@gmail.com" ]
jpfsalviano@gmail.com
11645dba3721936f5e4e5cf84bb238869849f386
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/zulip/2018/8/setup_stripe.py
7a07915d4153718a64bf53c4b1d55037db5cf5b3
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
1,760
py
from zerver.lib.management import ZulipBaseCommand from zilencer.models import Plan, Coupon from zproject.settings import get_secret from typing import Any import stripe stripe.api_key = get_secret('stripe_secret_key') class Command(ZulipBaseCommand): help = """Script to add the appropriate products and plans to...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
4e7554623a7c9fe5cc32ddac57daea973229cb01
068ac579a7d0f5c70ee5cf35975d96d8943ae010
/api/admin.py
3fb45ad64da3768e06e21c04f5ab7c4854bbfdc4
[]
no_license
Mesh-project/Briefing_Server
dcc84b50d01a78daf0e279793ea8e780ddfd5e95
e287b83be4ab886e43b437cf4cbf6a6332f9030d
refs/heads/master
2023-08-22T12:59:33.447914
2021-10-03T06:45:01
2021-10-03T06:45:01
340,539,528
3
0
null
null
null
null
UTF-8
Python
false
false
101
py
# from rest_framework.authtoken.admin import TokenAdmin # # TokenAdmin.raw_id_fields = ['model_user']
[ "soobin796@gmail.com" ]
soobin796@gmail.com
f92d0a9d2ccfc69b1c81ccb440faf4bd514e741d
7a2758a072cc72e4373b30232703948ce8226597
/coin.py
77d8b64eb531859dd0171c1356f40c8bccb7de16
[]
no_license
lHunniche/WorldsHardestGame
1fccf51e02aee017625873c5a8818e0dd5de1a8b
2ab8808a2d4034af889a88104a593bbd79d1331c
refs/heads/main
2023-04-08T12:48:29.400314
2021-04-04T20:42:26
2021-04-04T20:42:26
351,906,931
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
import pygame from game import BLACK COIN_YELLOW = (255, 213, 0) class Coin: def __init__(self, x, y): self.outer_radius = 13 self.inner_radius = 7 self.rect = pygame.Rect(0,0,self.outer_radius*2, self.outer_radius*2) self.rect.centerx = x self.rect.centery = y self...
[ "lklev16@student.sdu.dk" ]
lklev16@student.sdu.dk
f4f8273a566211572f2d95eaeb61f48094a29f41
7be63391f6ad1d084a4d1ff3ba511ddc84b10d74
/atomic/pec.py
66733f27bf608a0bb845a419318e87eaeb3e7e9d
[ "MIT" ]
permissive
TBody/atomic1D
918b9bdcad8fb9312b56e04cbead042b1593a0e9
fcab88f3b303468f23ac75b847c76244593f4b7f
refs/heads/master
2020-06-27T12:06:27.915332
2017-07-26T17:13:08
2017-07-26T17:13:08
97,054,421
1
0
null
null
null
null
UTF-8
Python
false
false
7,020
py
from __future__ import absolute_import import glob import numpy as np from scipy.interpolate import RectBivariateSpline import scipy.constants as constants from .adf15 import Adf15 from .atomic_data import RateCoefficient class Transition(object): def __init__(self, type_, element, nuclear_charge, charge, wavel...
[ "thomas.body@outlook.com" ]
thomas.body@outlook.com
3370ae9c427b633082564939bdc494177a90f86f
670b5e67f7d818bad82f060d7c25a782038d6deb
/user_modules/catalog_matching_scatter_plot.py
7bd6e046fbe47d29832a6d82a6f0d98ae3a4e017
[]
no_license
rongpu/Python
087ed1784f7f1d584867638c6cb28e5a8871ae80
e0ddf26e7490de77ed62606b30a83c312542e5f9
refs/heads/master
2023-08-23T19:13:42.229304
2023-08-11T17:06:16
2023-08-11T17:06:16
65,158,528
1
0
null
null
null
null
UTF-8
Python
false
false
2,280
py
from __future__ import print_function, division import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import NullFormatter def scatter_plot(d_ra, d_dec, title='', x_label='$\\mathbf{RA_{cat2} - RA_{cat1}(arcsec)}$', y_label='$\\mathbf{dec_{cat2} - dec_{cat1}(arcsec)}$'): ''' INPUTS: d...
[ "rongpu.zhou@gmail.com" ]
rongpu.zhou@gmail.com
a3d10f9625b8970533beb336305ff9a5b2b9f93b
9a6b37861373187b26f95822ebc1a98b25b3de22
/requirements/pypy2-v6.0.0-linux-armhf-raspbian/lib-python/2.7/ctypes/test/test_values.py
1f56122caf24558a2f1254121ce878c1387651d3
[ "LicenseRef-scancode-unicode", "OpenSSL", "GPL-1.0-or-later", "Apache-2.0", "MIT", "LGPL-3.0-only", "LGPL-2.1-or-later", "LicenseRef-scancode-unknown-license-reference" ]
permissive
AhmedBHameed/TB_NFC_Cardreader
0295c389e2a6cbd82ffcb497a636395518c9f5d8
9533212094ee2ba2403a37535550d9cf5c0184ea
refs/heads/master
2022-11-03T13:48:38.146793
2019-05-18T17:01:55
2019-05-18T17:01:55
131,431,998
0
0
MIT
2022-10-18T18:26:03
2018-04-28T17:56:09
Python
UTF-8
Python
false
false
2,988
py
""" A testcase which accesses *values* in a dll. """ import unittest import sys from ctypes import * from ctypes.test import xfail import _ctypes_test class ValuesTestCase(unittest.TestCase): def test_an_integer(self): ctdll = CDLL(_ctypes_test.__file__) an_integer = c_int.in_dll(ctdll, "an_inte...
[ "ahmedbazy@gmail.com" ]
ahmedbazy@gmail.com
8730fdfbfb8689cdcb58e11f1b0caa7d861f6fc5
1f0a79249de6a3088cec2b335667f50819f8cda5
/www/models.py
ae18caddc916888df129fa8f3e7801e102a7b5ad
[]
no_license
FineArtz/PythonPractice
b08516649fda56c02b4ee76ef61afadc701c5969
b9d259fb1a07ac2c260c1b7e532ffc4ce4becb1d
refs/heads/master
2021-05-10T07:32:38.128990
2018-01-26T13:25:29
2018-01-26T13:25:29
118,839,469
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import time, uuid from orm import Model, StringField, BooleanField, FloatField, TextField def next_id(): return '%015d%s000' % (int(time.time() * 1000), uuid.uuid4().hex) #=====models===== class User(Model): __table__ = 'users' id = StringField(primary...
[ "fineartz@qq.com" ]
fineartz@qq.com
b573863aabf604ac99ef02e732e3b1cfac6e70d3
68439002c2919a677a37657bf5eb5a014bf4236d
/KeepAccount.py
0923782ca65a75e29b40b1bae76471926947dd14
[]
no_license
waadene-wi/KeepAccount
358f00f3663b4eba0b69c7274e768ea53ab83046
96c9ee2924a015a18352de7a298508576d3099ef
refs/heads/master
2023-04-20T00:58:00.946995
2021-04-23T15:15:36
2021-04-23T15:15:36
366,339,496
0
0
null
null
null
null
UTF-8
Python
false
false
2,078
py
import flask import json import copy from Account import * from Category import * from Record import * from Statistic import * from Budget import * from Currency import * from Common import * from URLBackup import * app = flask.Flask(__name__) app.debug = True url_backup = URLBackup() def executeService(typeOfClass, ...
[ "laili8202914@163.com" ]
laili8202914@163.com
67f4499a0e0385f095e27a510268471bbe024066
1dced307e8aec0f895a201fec060e09e8b8ab901
/instructor/Demo_Django실습완료/django/Scripts/mysite/mysite/settings.py
4ed5fc7e60fef2b7927c7032014dc99d5bd714a7
[]
no_license
CheolminConanShin/PythonTakeNote
6171936541b49c77878094cd8173fff4ec1d3841
9ec506861066f91e5584a0b20b6cd7267b1eb12e
refs/heads/master
2021-01-20T10:06:46.862051
2016-12-30T07:03:26
2016-12-30T07:03:26
77,347,682
0
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.9.1. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # ...
[ "scm0226@gmail.com" ]
scm0226@gmail.com
b9a49fb55acddea878bf534c42bafd4cb724bb70
d4de204801a3aa63ae6dbfdb0afbe8b7bb362c8c
/organizer_files_timit.py
171aa2247139bf44ac35326f41bfaa03d467a342
[]
no_license
luigifaticoso/Quaternion-speech-recognition
b3ae1cf12a23e844e2faf582dafc39d9dcad50df
ce624d098014deb555a56e91c128734afcd8a39c
refs/heads/master
2020-04-29T05:20:24.106340
2019-05-13T23:50:16
2019-05-13T23:50:16
175,879,248
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
import os, sys from shutil import copy # Open a file os.makedirs("preprocessed_files") preprocessed_path = path = os.path.abspath("preprocessed_files") path = os.path.abspath("TRAIN") dirs = os.listdir( path ) count = 0 # This would print all the files and directories for file in dirs: dialectpath = os.path.join(pa...
[ "faticosoluigi@gmail.com" ]
faticosoluigi@gmail.com
8cbf511b3b0612a358037cc06eb24661fab2b0c1
05b80d92bb2efec76f898c527cc803f931031266
/Airbnb Interview ImplementQueuewithFixedSizeofArrays.py
aad631853256c05eca1636f0c70951bac37fada3
[]
no_license
PriyankaKhire/ProgrammingPracticePython
b5a6af118f3d4ec19de6fcccb7933d84f7522d1a
8dd152413dce2df66957363ff85f0f4cefa836e8
refs/heads/master
2022-08-28T00:44:34.595282
2022-08-12T19:08:32
2022-08-12T19:08:32
91,215,578
18
11
null
null
null
null
UTF-8
Python
false
false
1,908
py
''' Implement a Queue with help of fix sized arrays. Such that, if the array runs out of space, then the queue should duplicate same sized array and keep on adding elements further. Example: Q with fixed array size 3 Q [[None, None, None]] push(1) push(2) push(3) Q [[1,2,3]] push(4) push(5) Q [[1,2,3], [4,...
[ "priyanka.khire@gmail.com" ]
priyanka.khire@gmail.com
09e77c14accf469d7e3df8c14423a66fda5c0299
b7fef448efdfd7d2cb5235c35ec1f04c6cb97414
/official_TensorFlow_tutorials/cnn_mnist/cnn_mnist.py
65d102a8e1b983fbb73508ff48be2c57730cec3a
[ "Apache-2.0" ]
permissive
PwnySQL/learning_tensorflow_for_GANs
578c2cea0469b2173ac339f263ee78b7f31674b0
bf0794726407fd9caf9030732381f5954beedad8
refs/heads/master
2020-05-31T15:13:01.473919
2019-06-05T08:15:53
2019-06-05T08:15:53
190,351,512
0
0
null
null
null
null
UTF-8
Python
false
false
7,781
py
import numpy as np import tensorflow as tf tf.logging.set_verbosity(tf.logging.INFO) # ARCHITECTURE ################################################################ """ Conv Layer 1: applies 32 5x5 filters with ReLU activation function Pool Layer 1: max pooling with 2x2 filter and stride of 2 (pooling regions...
[ "max16.meyer@tum.de" ]
max16.meyer@tum.de
91d3def9f282c678febe2a5bbf11d0bfcf1a8960
75d9934b566016aa86abc87a5db018c8c855ba65
/lenet.py
c7ed9385ca8629133618a362109726c403fbe60d
[]
no_license
robustml-eurecom/model_monitoring_selection
c05e5caccbf1758c6a434c88924402b4cf767c49
42a15c6f5d4fae29a3583272ace13f99e26f711b
refs/heads/master
2023-09-04T02:23:49.725444
2021-11-04T11:53:25
2021-11-04T11:53:25
273,566,555
3
1
null
null
null
null
UTF-8
Python
false
false
4,122
py
from numpy.random import seed from tensorflow import set_random_seed from math import sqrt import numpy as np import pandas as pd import seaborn as sns from numpy import array from keras import Input, Model from keras.models import InputLayer from keras.models import Sequential from keras.layers import Dense ...
[ "rosybus93@hotmail.it" ]
rosybus93@hotmail.it
5191cde8a942de5efe1de5976fd48b264736fa0d
6531a7276dca2124f726f32166196c2102e273b2
/src/helpers/exceptions.py
98a030808a2ff931af0e68729aa94b19829f32ac
[]
no_license
antongorshkov/nycsamosa
e4e2b71b7c5465c514f9d204dab36778ca37abe3
c0fc9661bc64a7dc5b4ffff67a6be40e7c0a0656
refs/heads/master
2021-01-23T08:56:20.716251
2010-01-05T06:31:28
2010-01-05T06:31:28
32,231,949
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
''' Created on Dec 10, 2009 @author: Anton Gorshkov ''' class ValidationError(Exception): def __init__(self, value): self.value=value def __str__(self): return repr(self.value)
[ "antong@80da951e-da95-11de-849f-b362a63f070a" ]
antong@80da951e-da95-11de-849f-b362a63f070a
3624be7a79db8cc672aba9b8efa9ddceecc3d57b
3630d6577d8995efc29aa72705ff63850d6008ad
/TwentySix.py
229a8fbc0b2bac8e5b6cd0556f353850cc26737d
[]
no_license
egflo/Informatics
fbf76d7ce7335916f6489edaabc823e9b5489d05
41ce8e1013b46a72d9c2e6f734ccadd82bfa7edc
refs/heads/main
2023-06-15T11:14:19.339756
2021-07-12T23:52:48
2021-07-12T23:52:48
385,415,204
0
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
import sys, re, itertools, operator # # The columns. Each column is a data element and a formula. # The first 2 columns are the input data, so no formulas. # all_words = [(), None] stop_words = [(), None] non_stop_words = [(), lambda : \ map(lambda w : \ ...
[ "noreply@github.com" ]
egflo.noreply@github.com
6a60cbbecdcf92b44ed9d25a3c28598a01d0c4c4
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/containerinstance/azure-mgmt-containerinstance/generated_samples/subnet_service_association_link_delete.py
6d45c381ce3777604c49fcbb463f9927408cbe7d
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,676
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" ]
Azure.noreply@github.com
c25cab2fe35b81cbb862252c8a516d4b0214269b
2acb5f7b8064e7bdfd1a7e5c6bd9c1b42d6db686
/src/homework2/task2.py
c596d4bb5677a8db5ade5024ffc7139dc0195cee
[]
no_license
sailorbl/Homework2-Anastasia_Valkevich
5158f9c2db338107f6bf2b8100869b5c8abe0251
796e2d65a5d8e8650d12549e447d6ee3fabec5e1
refs/heads/master
2023-01-21T19:31:56.864262
2020-12-06T15:41:02
2020-12-06T15:41:02
318,797,511
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
"""2. Найти самое длинное слово в введенном предложении. Учтите что в предложении есть знаки препинания. """ str_ = input('Введите текст: ') new_str = str_.split() long_word = '' for words in new_str: if len(words) > len(long_word): long_word = words print(long_word)
[ "72577047+sailorbl@users.noreply.github.com" ]
72577047+sailorbl@users.noreply.github.com
42418f555306c5613a0d66270dc1dde68a17ab40
f4a3bc0399b0e087e97c01d5b26740ce88cd2466
/server/backend/geom/gait2392geomcustomiser.py
d8136c54d6213576949bbfc44478ac9d0010d899
[]
no_license
mkeo2524/MC
94f194bb4d4fca16115d8a527e193316921cf6a3
0774f503f8b33309766530cae1a2f025355ea9b8
refs/heads/master
2023-01-29T13:20:22.091575
2020-10-12T19:33:23
2020-10-12T19:33:23
253,175,728
0
1
null
2022-12-12T09:40:20
2020-04-05T07:05:30
Python
UTF-8
Python
false
false
51,420
py
""" MAP Client, a program to generate detailed musculoskeletal models for OpenSim. Copyright (C) 2012 University of Auckland This file is part of MAP Client. (http://launchpad.net/mapclient) MAP Client is free software: you can redistribute it and/or modify it under the terms of the GNU General Publi...
[ "meo482@aucklanduni.ac.nz" ]
meo482@aucklanduni.ac.nz
a933800e64877f2791fd57bcc107e47a615570b4
8fb29868ab643ad6b4917bbcd0ebd7f14c269dd3
/learning_logs/models.py
07374f15a1dd80c0da30da5f613c24be01bddedc
[]
no_license
radybsb/Learning_log
44707e62cc5819b1f467a68df187c2baaf41eed6
035d6669ec5080a032767e44e8b900b84fad5c9c
refs/heads/master
2023-06-14T20:28:28.211527
2021-07-10T22:03:35
2021-07-10T22:03:35
384,798,371
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Topic(models.Model): """A topic the user is learning about""" text = models.CharField(max_length=200) date_added = models.DateTimeField(auto_now_add=True) owner = models.ForeignKey(User, on_delet...
[ "radybsb@gmail.com" ]
radybsb@gmail.com
f5f5c3aae737b64e06ecd0a7e4bf5200866fa6bb
294ab0a0cc02b12b5a5a0e4e0d0ed0ee3d812d5f
/pystagram/settings.py
1a19f94c0ae6f81e979f39acbceef9176d47c531
[]
no_license
supegate/imageupload
83ae83c43ac723a94ba8785ae029e92026a57607
dcb534a56b5aa9be553497f989fae66fcc8735d2
refs/heads/master
2021-05-05T17:49:30.920635
2018-01-15T12:35:05
2018-01-15T12:35:05
117,515,933
0
0
null
null
null
null
UTF-8
Python
false
false
3,458
py
""" Django settings for pystagram project. Generated by 'django-admin startproject' using Django 1.11.7. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import ...
[ "supegate@gmail.com" ]
supegate@gmail.com
d68598d3f5bbfffbffbed80e78e7dd09c5066061
bba645705f6fdf0605f3da2b426385c93e40da7d
/unit38/try_except_raise_in_except.py
e8886ee6d48478a079a078fef249e716a9cb6bff
[]
no_license
chichchic/coding-studio
f053b7ffafe5b9bc331facb07d4d74a025d32931
f2dcd24de7761f7dcbf6a84517622d8338fe8017
refs/heads/main
2023-08-07T07:24:25.658640
2021-08-29T17:22:09
2021-08-29T17:22:09
391,098,283
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
def three_multiple(): try: x = int(input('3의 배수를 입력하세요: ')) if x % 3 != 0: # x가 3의 배수가 아니면 raise Exception('3의 배수가 아닙니다.') # 예외를 발생시킴 print(x) except Exception as e: # 함수 안에서 예외를 처리함 print('three_multiple ...
[ "pch6789@naver.com" ]
pch6789@naver.com
7612152051700db815866e680db4a609cf9106b9
f9a72e61c415fdcf5b01389749f496b831a735ae
/quickness of pandas.py
ba6c0355c624c379dc5b4e23e1eccda6c0525c93
[]
no_license
alexanu/PythonLearn
1b94e1af25496adb8420692c79b870b34beafc79
06362c3c6c6bd2bdb12b911ae6efb5b1b973b7e6
refs/heads/master
2020-03-20T16:21:26.848283
2018-09-26T15:38:18
2018-09-26T15:38:18
137,537,072
0
0
null
null
null
null
UTF-8
Python
false
false
1,557
py
''' Operating on NumPy arrays is a lot more efficient than operating on Python objects. There are two big factors that contribute to this: 1) It takes longer to add 1 to a number in pure Python than in NumPy: - Python doesn’t know until runtime that the number is an integer: - It must check for each ...
[ "noreply@github.com" ]
alexanu.noreply@github.com
c11ff8783c5e1b31a53fa32f228e93a78addae87
8c16d90a63f561c42042531a137827bd3e16655c
/setup.py
44502eacb5881c78f94557e8c38d6ccbc8300521
[ "BSD-3-Clause" ]
permissive
alisterburt/mrchead
252735382fb0ccbc8757a0262dad4a4968591280
8bfbfcb5e572a3e5c48726b45558692274b75113
refs/heads/main
2023-09-02T11:18:35.029882
2021-10-19T13:54:06
2021-10-19T13:54:06
418,932,612
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
import setuptools setuptools.setup(use_scm_version={"write_to": "mrchead/_version.py"})
[ "alisterburt@gmail.com" ]
alisterburt@gmail.com
df69ac51d7eb7d05336fc51882b5aeac4bb6f0cf
f0c402d3858f0643561886797578b1e64655b1b3
/utils/regression/classes/exec_controller.py
8b4abf61309907009c487f59fd31956639b4b509
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Leo-Wang-JL/force-riscv
39ad2a72abd814df4b63879ce9825b6b06a9391a
deee6acaaee092eb90ac2538de122303334e5be3
refs/heads/master
2023-01-28T00:06:58.135651
2020-11-18T02:54:10
2020-11-18T02:54:10
271,873,013
0
0
NOASSERTION
2020-06-28T00:51:26
2020-06-12T19:15:26
C++
UTF-8
Python
false
false
4,451
py
# # Copyright (C) [2020] Futurewei Technologies, Inc. # # FORCE-RISCV is 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 # # THIS SOFTWARE IS PRO...
[ "jwang1@futurewei.com" ]
jwang1@futurewei.com
214a6ddf5af4631b2a22e9d394592c9d2a30ccba
2bca59a89b04e65e3b464e3f3ecd914e005bbb04
/src/lattice.py
4599ca183c0d454eb05ea83f3b06703bb46efcbd
[]
no_license
johannesnauta/sllvm-fragmented
856128a40b3911601ad6f726497146c615a05713
3348bbbef4924ba087d269dddcc21c44d71b2058
refs/heads/main
2023-04-14T20:37:00.320107
2022-05-26T09:31:39
2022-05-26T09:31:39
369,608,459
0
1
null
null
null
null
UTF-8
Python
false
false
4,805
py
""" Holds modules for generating resource lattices using fractional Brownian motion Currently, the main function that generates an L x L landscape uses the two-dimensional spectral synthesis from (Saupe, 1988, Algorithms for random fractals). """ # Import necessary libraries import numpy as np import numba fr...
[ "johannes.nauta@ugent.be" ]
johannes.nauta@ugent.be
bf984d5039627f947dc2053c32f7bff7512e96b7
4a8893d1b23c226bf2d493c11d787fbf774488ef
/verifier.py
06e8b4182e0abe39ec088b7c639ec86ecb3e1fda
[]
no_license
multisignature/flashflip-verifier
6e4f1c6858e8c6a2c5504d3c378e77e69d3903d0
c132a93887b45aa62fe8f53e0b9d0836e3fa7073
refs/heads/main
2022-12-27T14:04:32.603950
2020-10-12T08:31:37
2020-10-12T08:31:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,790
py
import hashlib import hmac import base64 import random import sys import math def provabilitySeed(dailySecret,clientSecret,nonce): clientSecretAndNounce = clientSecret+"-"+str(nonce) hmacOutput = hmac.new(dailySecret.encode('utf8'), clientSecretAndNounce.encode('utf8'), hashlib.sha512).hexdigest() return(hmacOutp...
[ "noreply@github.com" ]
multisignature.noreply@github.com