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
5cfab9db402b8e67c21d32c6243a3daf5fc7270b
2f1dd60a4b9a4dbe13a8429baa402e49379a9c2f
/math_model/test/test.py
d6687dc173f9ef8c8c555fdd9ddb525d477d7abb
[]
no_license
lyz21/MachineLearning
b3de2e218050b7ec7d571367f9f455c6fdb4f4e9
3624b5bf4edf52125f91666ddf25fbf957c723ed
refs/heads/master
2022-11-11T12:07:06.336485
2020-07-01T15:39:34
2020-07-01T15:39:34
276,404,490
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
# encoding=utf-8 """ @Time : 2020/6/21 20:07 @Author : LiuYanZhe @File : test.py @Software: PyCharm @Description: 一些基本不会复用的方法 """
[ "liuyenzhe@163.com" ]
liuyenzhe@163.com
93343708920188248d56b7182815d65a56fbde02
e77eef0040bf8158ff7734bb49336b32e99fb866
/PythonTrainee/Packages/getrequests.py
9061f6eb597276e36ad6f10e5906dcfbf86a075f
[]
no_license
xistadi/homework
c7bf34b873370c9bede8eb9752b3afcd4cc9a1b5
0a6ebf7c2b05d3f750f165f48dadadb14befcfef
refs/heads/main
2023-03-28T19:16:47.181381
2021-04-03T15:28:49
2021-04-03T15:28:49
294,196,272
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
import requests from requests.exceptions import HTTPError class GetRequests: """Class for working with the requests library""" def __init__(self, url): self.url = url def get_response(self): """Get requests by url""" try: headers = {'User-Agent': 'Mozilla/5.0'} # use...
[ "xistadi@gmail.com" ]
xistadi@gmail.com
7f453ee788ea3c55a8a31bf385c548409caa9c8b
e5c3772f5d70eb4eaba69261c0a6af9e522aad3c
/proj_euler/problems/p138.py
dcccfdca0e78b29913d4c56b43a3f29c5b2dd4a1
[]
no_license
ztalloC/ProjectEuler
60b1600150a2f7256b8eade83175bbbd0d98bf12
39d37ddd257c52f536bb6cfe3703eda4cd365f92
refs/heads/main
2021-05-31T00:03:29.025752
2016-04-01T03:43:39
2016-04-01T03:43:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,206
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 22 21:24:24 2016 @author: mjcosta """ from itertools import islice from proj_euler.utils.timing import timefunc # Returns an infinite generator of solutions for the equation y^2 = 5L^2 - 1 # where solutions are returned in the format (L, y). def diophantine_solutions(...
[ "cosmic@seas.upenn.edu" ]
cosmic@seas.upenn.edu
ffb4543aa41b64b881c293934398b1479120481a
202d2685dabf67ac7a26d32b99cdf3e289691faa
/simpson_faster_rcnn/simpson.py
0f062ca8a49d434f55074c3f9f02dc3750088dc6
[]
no_license
cenkbircanoglu/simpson-recognition
0d2bbdb2283f89136e6fe676765845b5a82e460b
fe48dddb7c2df065e2c2a943c4008e20af093b90
refs/heads/master
2022-12-01T07:02:15.737824
2022-01-02T12:53:57
2022-01-02T12:53:57
187,513,224
1
0
null
2022-11-21T21:23:32
2019-05-19T18:26:36
Jupyter Notebook
UTF-8
Python
false
false
2,705
py
import csv import os import os.path import torch.utils.data as data from PIL import Image def find_classes(dir): fname = os.path.join(dir, 'annotation.txt') # read the content of the file with open(fname) as f: content = f.readlines() # remove whitespace characters like `\n` at the end of eac...
[ "cenk@voltlines.com" ]
cenk@voltlines.com
74bb432487665c9dafc8bef8671f7ec5d50da97d
f4efeb9333d92bf4ece483d19916218bd9fcc9da
/clientes/migrations/0001_initial.py
af66494980aed45220d0756f006190fc48d53df7
[]
no_license
veronicaasilva/django-crud-fbv
79473fadc23514ac8d40aa0307eb5ed8e1bb9616
c20857df6249ad7b278d67dbe78ffac66b3e3b62
refs/heads/master
2023-08-16T23:45:42.383977
2020-07-10T21:42:25
2020-07-10T21:42:25
275,207,775
1
0
null
2021-09-22T19:21:18
2020-06-26T17:08:40
HTML
UTF-8
Python
false
false
1,121
py
# Generated by Django 3.0.7 on 2020-06-26 12:14 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cliente', fields=[ ('id', models.AutoField(...
[ "veh.silva@gmail.com" ]
veh.silva@gmail.com
68d81e16c4ab27cbf8211219e8f06aa614c009f2
3679b977de9b33233fc846e151b994acece71db6
/Phenophase_Classification/evaluate_ensemble.py
78d0c2b027c1c76d757e41ae848fff37fcbf802d
[ "MIT" ]
permissive
n8srumsey/ISEF-2020-Phenology
1242433dc0da550bb4634c0dabd2dfd29a6be0ac
881e0ba096ea5c20ebb1fcc7a066cdc1df5c3843
refs/heads/master
2023-04-03T16:56:46.580206
2021-04-01T17:05:43
2021-04-01T17:05:43
316,903,895
0
0
null
null
null
null
UTF-8
Python
false
false
3,100
py
"""Evaluate the ensemble of models trained with k-fold cross validation.""" import os from statistics import mode import numpy as np from tensorflow.keras.models import load_model from tqdm import tqdm from .generator_dataset import get_generators from .utils import MODELS_DIR, RESULTS_DIR def load_models(path): ...
[ "nathan.s.rumsey@gmail.com" ]
nathan.s.rumsey@gmail.com
7ba77fcadf0c114f543e83167777171881f8ed86
2d812a812eb19ed1687058a88f8806217198a2d1
/account/forms.py
52ced73be99997b18875ad863cb8d8c8eda1a4ba
[]
no_license
Ahmed075/World
553181358279df0c8b265ff32e147f12574e512a
7ab93eb56d1c5db618311dd42a0b09f0e189ef2a
refs/heads/main
2023-02-18T00:26:45.916065
2021-01-11T04:10:55
2021-01-11T04:10:55
328,421,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
from django import forms from .models import User class RegistrationForm(forms.ModelForm): password = forms.CharField(min_length=8, required=True, widget=forms.PasswordInput) password_confirmation = forms.CharField(min_length=8, required=True, widget=forms.PasswordInput) class Meta: model = User ...
[ "akhmed096@mail.ru" ]
akhmed096@mail.ru
a8330e9e1cec37a1ea43903ccf3e36b9c86c9794
dd9b1b05db4968ee546be944f1e79f42dda143f3
/SOvSO.py
f635fa145be7b4649aec5c953e8f7c31631a22b0
[]
no_license
SOvSO/QLQ
e66b00713c53c6ee873821b929400688425cd0a5
c863e141ff947bac1e2dc57b39c95069c634f9ed
refs/heads/master
2020-06-11T23:30:33.912593
2019-06-28T09:07:03
2019-06-28T09:07:03
194,122,184
1
0
null
null
null
null
UTF-8
Python
false
false
321,488
py
from linepy import * from liff.ttypes import LiffChatContext, LiffContext, LiffSquareChatContext, LiffNoneContext, LiffViewRequest from akad.ttypes import Message from akad.ttypes import ContentType as Type from akad.ttypes import TalkException from datetime import datetime, timedelta from time import sleep from bs4 im...
[ "noreply@github.com" ]
noreply@github.com
d825976a680205df6ff714cd107c46aa4117496c
7738a8dfdc16ba4cd99c85bd07499af5f3916115
/02_strings.py
d4d3142fa0388329d19284c7d1662175d2c0cc75
[ "MIT" ]
permissive
BijuAle/PythonBasics
b7575e6173005178cdc3887968ea94453a3e423a
b7c4522114d8bc5bd2b7ddf7ea0179d9078dee35
refs/heads/master
2021-07-25T06:57:45.105139
2020-05-12T10:15:27
2020-05-12T10:15:27
171,409,391
0
0
null
null
null
null
UTF-8
Python
false
false
1,959
py
# Copyright (c) 2019 BIJU ALE # Author: BIJU ALE (github.com/BijuAle) # License: MIT License # 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 limitat...
[ "bijuale@hotmail.com" ]
bijuale@hotmail.com
c6da96e57e9679a40dedeb0a219a652c55337d16
c224275ff2ff634abcd072c3aa94b68bb5801944
/abcli/commands/test/__init__.py
d6e8574dda0ba95f58cd090bd9e929d370a2461e
[ "MIT" ]
permissive
john5f35/abcli
5dc6d07db5a898151848ac3defc2dbe3eb049203
fa696cf6bcc2f26fbd754e01952553ce09e5e006
refs/heads/master
2021-06-28T05:04:20.806246
2020-02-03T07:00:23
2020-02-03T07:00:23
216,186,047
3
1
MIT
2021-04-20T18:47:12
2019-10-19T10:08:29
Python
UTF-8
Python
false
false
775
py
from pathlib import Path import json from typing import * from click.testing import Result, CliRunner from pony.orm import Database from abcli.main import cli from abcli.model import init_orm def setup_db(tmp_path: Path): tmpfile = tmp_path / 'tmp.db' db = Database(provider='sqlite', filename=str(tmpfile),...
[ "john.u5f35@gmail.com" ]
john.u5f35@gmail.com
387f51e0f8907ab9ea32d68006e9dec8eae78b6c
7d9bf6444ef321d3b8264f814fc52036c9373805
/ba_data_paths/__init__.py
19a5403cda72cfbf2efcef05a4c4be3112cc29da
[ "Apache-2.0" ]
permissive
knu2xs/ba_data_paths
ef5f34d1f054bed2beddd2eb0461c981ade7a4db
c161feec529882a2edfb2ed88b8a89cf07ec3243
refs/heads/master
2020-07-09T21:12:17.956351
2019-10-14T19:59:42
2019-10-14T19:59:42
204,085,377
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
from ba_data_paths.ba_data import ba_data
[ "knu2xs@gmail.com" ]
knu2xs@gmail.com
56efb9441995eb2fda459e9d9f9ae46429b1659e
ba560dfeb43f02020057cc2f7656728c99243df5
/Cursos/Services/ListarCurso.py
aaddf05386ce21a5beb25fa6298e9555c059d5e7
[]
no_license
fabiana-carneiro/agencia-emprego
5d5746546809b479edb1d33e29d2f0ce7e657b91
9cdb1e7879f30df37e79a0011a6450cbd4d69555
refs/heads/master
2021-07-16T09:18:08.116486
2020-05-19T04:57:48
2020-05-19T04:57:48
157,045,455
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
################################################# # Web API Cursos # Listagem de Cursos ################################################# from Cursos.Models.Cursos import Cursos def ListarCurso(): return Cursos
[ "fabiana.lima149@gmail.com" ]
fabiana.lima149@gmail.com
877d8cc7e9fae6f765ffa10ecee924287a1c6710
de9a7bece474db741dab82a1fe1ff2b11e934767
/POMBU/V_estimators/__init__.py
dc2e99d14456be5107c9724fff1f591601c35131
[]
no_license
GoingMyWay/RL-POMBU
9c54532ac7809b5fa31464f94f1873464c64b8c6
dbd8a9eee8cb0ece6b394921dc5fc6eaf14ac948
refs/heads/master
2022-03-20T15:31:53.168345
2019-12-19T03:00:36
2019-12-19T03:00:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
import tensorflow as tf import warnings class VEstimator: def __init__(self, env): self.env = env self.state_space = self.env.observation_space def tf_value(self, state_input): warnings.warn("Please rewrite the tf_value funciton") return None, tf.placeholder(dtype=tf.float32, sh...
[ "qizhou@miralab.ai" ]
qizhou@miralab.ai
76688249427204abd0d2879d1ba29284a2768925
1a8a7000bc8bb3abcd51d33dfbfe952e89444313
/arodnap/wsgi.py
0d1921f88fc89c2ed08b93b7c4019216708f804c
[]
no_license
RashimNarayanTiku/arodnap
5bf996f92aea28dc32eaef2bf2d208c2ee59a477
6726760058ef9d842b867a07078ab467172d6f5a
refs/heads/main
2023-02-28T19:04:54.172659
2021-02-10T17:07:36
2021-02-10T17:07:36
336,744,352
2
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for arodnap project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "rnt11223344@tutanota.com" ]
rnt11223344@tutanota.com
b87d3c6c3e1f49c4c0cfbc2f7d0ecab4016fc060
fb2cc597f319380d228fc15c4008760a82203687
/var/spack/repos/builtin/packages/py-linear-operator/package.py
8133edf5144a33322dd069c679c2a2a0f9be91e9
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LGPL-2.1-only" ]
permissive
JayjeetAtGithub/spack
c41b5debcbe139abb2eab626210505b7f930d637
6c2df00443a2cd092446c7d84431ae37e64e4296
refs/heads/develop
2023-03-21T02:35:58.391230
2022-10-08T22:57:45
2022-10-08T22:57:45
205,764,532
0
0
MIT
2019-09-02T02:44:48
2019-09-02T02:44:47
null
UTF-8
Python
false
false
888
py
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * class PyLinearOperator(PythonPackage): """A linear operator implementation, primarily de...
[ "noreply@github.com" ]
noreply@github.com
ffcc1b9e6e1ec606918e23f06f4ec02ac7316151
a8a661a433e8539468d1763b2971120c5c72e708
/mysite/blog/views.py
32f6b5fc67a8723e281fb3d354b07150552d74ba
[]
no_license
dynaanywhere/workingapp
0db9855b1c80a93b06e04813c2b794c4d17a9c0d
dd3ee42e0df2870362baf7ceacfc24d050f8004d
refs/heads/master
2022-07-14T16:26:35.128584
2020-05-19T16:11:44
2020-05-19T16:11:44
257,063,805
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
from django.views import generic from .models import Post class PostList(generic.ListView): queryset = Post.objects.filter(status=1).order_by('-created_on') template_name = 'index.html' paginate_by = 5 class PostDetail(generic.DetailView): model = Post template_name = 'post_detail.html'
[ "seunogidan@gmail.com" ]
seunogidan@gmail.com
1d8790c8a85b8e0720062a80ef94772cd8f97820
27c1356be8b459f19e3daebc049a5753d627a58f
/imageout_f.py
5cc2b3ea8e039d15d8545f5642fea7c4c84022aa
[]
no_license
kwandongSong/flower
ba187e5c01ff677378ef27f3a5e07d4cfaeaca7d
0af2b41187d864dbf42210dbaa51c23148741dba
refs/heads/master
2020-04-05T14:52:19.443738
2018-11-11T00:17:52
2018-11-11T00:17:52
156,944,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,445
py
import serial import pygame import threading import time import datetime WHITE = (255,255,255) # white RGB pad_width = 600 pad_height = 400 def gainsensorval(): ser = serial.Serial('/dev/ttyACM0', 9600, timeout=1) sumoutput = ser.readline() output= str(sumoutput) output= output.replace("b'","") output= output....
[ "kdh4714@naver.com" ]
kdh4714@naver.com
140475678049842dcc7a9513455b15a220182ac9
fe8d49331e73fe89be9195bf748159830d2c3622
/zerver/views/drafts.py
47b5c6fa242f0d66e718fb84c1ffb31a7fce178b
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
lizzzp1/zulip
13e1a4428b5ed6d9cdc06cb291b126ee127a03e8
4e8067aadc7d5a4b2644e383898c5c731740ffd5
refs/heads/master
2022-12-13T23:44:52.351757
2020-09-12T19:04:24
2020-09-12T19:04:24
295,025,435
1
0
Apache-2.0
2020-09-12T21:00:35
2020-09-12T21:00:34
null
UTF-8
Python
false
false
5,766
py
import time from typing import Any, Dict, List, Set from django.core.exceptions import ValidationError from django.http import HttpRequest, HttpResponse from django.utils.translation import ugettext as _ from zerver.lib.actions import recipient_for_user_profiles from zerver.lib.addressee import get_user_profiles_by_i...
[ "tabbott@zulip.com" ]
tabbott@zulip.com
b1c806080769dbbd96a828a4f775b7cd730fbd53
8eeef7742573a8b671648d94e448d5614272c5d6
/core2web/week2/day7/printNumber.py
33b2619d33b2dfbf88f662253e9577e0f68a5cc6
[]
no_license
damodardikonda/Python-Basics
582d18bc9d003d90b1a1930c68b9b39a85778ea7
fd239722fc6e2a7a02dae3e5798a5f1172f40378
refs/heads/master
2023-01-28T16:22:19.153514
2020-12-11T06:36:49
2020-12-11T06:36:49
270,733,918
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
""" Program 1: Write a program that accepts an integer from user and print it. Input: 11 Output: 11 """ v=(int)(input("enter the number")) print("output",v)
[ "damodar2dikonda@gmail.com" ]
damodar2dikonda@gmail.com
d60ba409026c0f28c8df428740be38b2c140b052
c3b75410ee83053ac53e7229708bc6c72ad47d67
/프로그래밍기초/트리재귀코드들.py
d5862ca369f002acef1f496ab20e9acc4ce52c5c
[]
no_license
sooyeon9/python
a60a0b3f3ec9327db22f5a14136c5cf6e3d8b6f7
bf5f00ed9cd8499c83ad9dbf114a7041e3943dfd
refs/heads/master
2021-04-09T10:47:50.062357
2018-03-16T08:00:25
2018-03-16T08:00:25
125,483,269
0
0
null
null
null
null
UTF-8
Python
false
false
3,659
py
# 트리재귀 모범코드들 # Tree Recursion # Fibonacci Sequence def fib(n): if n > 1: return fib(n-1) + fib(n-2) else: return n def fibtail(n): def loop(k,old,new): if counter < n: return loop(k+1,new,old+new) else: # k == n return new return loop(1,...
[ "sooyean9@naver.com" ]
sooyean9@naver.com
4226a33df187e6cbc3842c4c6d0f777e82bd2e15
3ab618da41c4ad11cbfba8de1ce0961dc0affcaa
/cnavg/preprocess/segmentCNVs.py
b7dcfaea4c2427e19446d4220a7c382788461324
[ "BSD-3-Clause" ]
permissive
dzerbino/cn-avg
35ca23c225b548258ab07de64971cf7800247ae8
884e02aa8ba8ca643485d9969999be975a71b1df
refs/heads/master
2021-01-21T21:48:53.438206
2015-09-11T08:09:45
2015-09-11T08:09:45
6,695,890
3
3
null
null
null
null
UTF-8
Python
false
false
5,878
py
# Copyright (c) 2012, Daniel Zerbino # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # (1) Redistributions of source code must retain the above copyright # notice, this list of conditions an...
[ "dzerbino@soe.ucsc.edu" ]
dzerbino@soe.ucsc.edu
e4e5e481233d10aa848528ddd6839ce75ca7e3ec
d485838edf2a80d583f8cb35926367deb51a7f80
/py/net_proto/proto.py
770d9de7bcceb78eb1a1d1ce6b797b5a4cdabf43
[]
no_license
xuy1202/projects
fc0a8870b51ebd54109ac479198dc13fca3241a7
627fd87a050d4e1798f3b5a9fec1dbb4b38f3a21
refs/heads/master
2021-01-23T13:38:10.581358
2017-07-26T11:39:07
2017-07-26T11:39:07
42,382,953
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
#coding: utf-8 ParseError = '_parse_error'
[ "xuyang-pd@dev1.netlab.corp.qihoo.net" ]
xuyang-pd@dev1.netlab.corp.qihoo.net
3580c0c25dc1cefc1b8530f46a50b057a46d0467
a0690baf8400629d27baeb0b72bdad1aaaa1074a
/basis_readme/6.DNN-IRM/dataset.py
d1b6da953314c4d93eebe642c6eee638bb634f23
[]
no_license
HuaChung/speech_enhancement_awesome
09313e8240823812cad7236ebd44d13f20d06e65
f53d8279550de2d49e11e601f4f2c89efe25e3d1
refs/heads/master
2023-08-22T18:47:19.313004
2021-10-27T02:04:17
2021-10-27T02:04:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,315
py
import os import torch import numpy as np from torch.utils.data import Dataset,DataLoader from hparams import hparams import librosa import random import soundfile as sf def feature_stft(wav,para): spec = librosa.stft(wav, n_fft=para["N_fft"], win_length = para["win_le...
[ "tower.ysable@gmail.com" ]
tower.ysable@gmail.com
ef503885f150b97c1b8d4603130113bbdeee0874
bb65865a35137450140faba9622a0caa5d74ae21
/phasing/plot-N50-coverages.py
6f5cc4cec04ac26497134feda91764da9a514a32
[]
no_license
PacificBiosciences/hg002-ccs
3b98630b799a528226954addd9d033b8a37934f0
dded2678b0bd758f5cc6faf4557df712714c624c
refs/heads/master
2021-08-07T14:58:15.821694
2021-08-01T02:50:22
2021-08-01T02:50:22
169,060,449
17
9
null
2021-08-01T02:30:53
2019-02-04T10:17:27
Python
UTF-8
Python
false
false
1,127
py
import matplotlib.pyplot as plt; plt.rcdefaults() import numpy as np import matplotlib.pyplot as plt import argparse parser = argparse.ArgumentParser(prog='plot-N50-coverages.py', description=__doc__) parser.add_argument('tsv', metavar='FILE', nargs='+', help='tsv files containing N50s') parser.add_argument('output', ...
[ "awenger@pacificbiosciences.com" ]
awenger@pacificbiosciences.com
0eb66d998b161fbbd062f926526bb83adaeeba70
1d0a223b743b005cd2ecd904337178e322e63534
/chapter10/file.reader.py
15088ab8515910c4dc81f9a8f361f65a07a60000
[]
no_license
Stefanroets180/all-my-Python-work
285607ce1ef50aac4897e0721ead4daca01fa6e0
d7937b51a309ebd051bef90e78154447b6e9a8ea
refs/heads/main
2023-03-27T10:15:54.793489
2021-03-18T12:26:20
2021-03-18T12:26:20
349,063,278
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
filename = 'pi_digital.txt' with open(filename) as file_object: for line in file_object: print(line)
[ "61413955+Stefanroets180@users.noreply.github.com" ]
61413955+Stefanroets180@users.noreply.github.com
2d185bbe654caec61b928db73a33eeb507cd8e72
ffac7f80e02a0a6ddb125b30086f022d4114a4c2
/Scan-Small-ROI-Della/scan_interface.py
2a55a8aa66d892f0cdc55e184acc837676401b4c
[]
no_license
jeansom/DM-Catalog-Scan
ca20400f1a4133ca0aa49a23932e6d6bbe2a871a
6c22043fdc837de606733a4ef2e7c30462bdaab8
refs/heads/master
2021-04-25T06:46:43.883494
2017-10-11T13:58:59
2017-10-11T13:58:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,439
py
import argparse from scan import Scan from local_dirs import * parser = argparse.ArgumentParser() parser.add_argument("--perform_scan", action="store", dest="perform_scan", default=1,type=int) parser.add_argument("--perform_postprocessing", action="store", dest="perform_postprocess...
[ "smsharma@princeton.edu" ]
smsharma@princeton.edu
b4358aa6af74467e6805dc7e3b11ff77c479f70a
09744f85b0aa4c1e8525260cfdb894c76bf2d58e
/Resources/Examples/PycharmProjects/Image Processing/Image4.py
4135bc25ca44edf82ffd06dd20340548e6a994d0
[ "CC0-1.0" ]
permissive
ehfo0/eYSIP_2015_Depth_Mapping_Kinect
5ad2ca7dbd6a5a8d721fc7d033648b53a643416c
f8e9e0297ed3ef9f9ab6e35252a1329f6e5a1623
refs/heads/master
2021-01-25T08:23:01.711296
2015-07-15T15:04:42
2015-07-15T15:04:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
__author__ = 'aniket' import cv2 import numpy as np from matplotlib import pyplot as plt img = cv2.imread('paka.jpg',0) ret1,th1 = cv2.threshold(img,127,255,cv2.THRESH_BINARY) ret2,th2 = cv2.threshold(img,0,255,cv2.THRESH_BINARY+cv2.THRESH_OTSU) blur = cv2.GaussianBlur(img,(5,5),0) ret3,th3 = cv2.threshold(blur,0,2...
[ "aniket10051994@gmail.com" ]
aniket10051994@gmail.com
a83a11d7de133095f348d5920113cb836562415e
8e95e79840005f6c34dfb978e8fe6e0ec4f7f643
/7_Image Processing in Python_/29_Edges.py
f4953bd068a7dbf38dcc7620a093d0b9b0858f0d
[]
no_license
Naysla/Machine_Learning
a0593cac41ef1561f14bec55780570b82fc37720
e75d5cd2894ccb005228ab3da87dde9025385a08
refs/heads/master
2023-02-01T17:19:32.413609
2020-12-22T20:36:45
2020-12-22T20:36:45
323,708,628
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
#Edges #In this exercise you will identify the shapes in a grapefruit image by detecting the edges, using the Canny algorithm. #Image preloaded as grapefruit. #The color module has already been preloaded for you. # Import the canny edge detector from skimage.feature import canny # Convert image to grayscale grapefru...
[ "60472499+Naysla@users.noreply.github.com" ]
60472499+Naysla@users.noreply.github.com
e41804e5078006e13023aee28491f1f6eb99284b
736cd2f00631fed8a2f545ac9da0b0164862407e
/Face_Recognition(using KNN)/face_recog.py
c9b9d2ac303d3b8ced767c1d9c1b1da2bd778f95
[]
no_license
mihirsood/kNN-Face-Detection-Recognition
9428eeca996185a3e5bccbfc161d49e5631490f0
86c42d4c7167a376d2ac27811babcc94425601bc
refs/heads/master
2022-11-30T12:20:42.967465
2020-08-05T21:57:55
2020-08-05T21:57:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
# Recognise Faces using some classification algorithms like KNN #1. Load the training data(numpy arrays of all the persons) # x- values are stores in the numpy arrays # y- values we need to assign for each Person # 2. Read a video stream using opencv # 3. Extract faces out of it # 4. Use knn to find the prediction ...
[ "noreply@github.com" ]
noreply@github.com
6f336c38ab7c777f19b1fdd414f93f0af5423883
c8ef98a2fb6d2592b53bf3338e639d0707224944
/scott/leaf/nn_multi_leaf.py
414f140d96dd7f05510083761582267d9dc8b675
[]
no_license
yysy2/CAS-projects
0bc374c318c04a1c5aa1fe41c1779bd42d4f1e13
d1e353e8b189748f401fef09c58f03240a52e465
refs/heads/master
2020-07-27T01:19:19.678379
2016-12-09T12:39:47
2016-12-09T12:39:47
73,706,887
1
0
null
2016-11-30T18:20:23
2016-11-14T13:25:09
Python
UTF-8
Python
false
false
19,778
py
#-----------------BEGIN HEADERS----------------- import numpy as np #import matplotlib.pyplot as plt from scipy import stats import csv import scipy np.set_printoptions(threshold=np.nan) import contextlib import pdb from random import shuffle import myfunctions_leaf as mf @contextlib.contextmanager def printoptions(*...
[ "yysy2@cam.ac.uk" ]
yysy2@cam.ac.uk
3ecd780fadd66086a58de5752e5b3af54de3c7b4
49f7929ef547197b91aa0e40a49afcc27c64c069
/PAC-MAN.py
cef0267d248167ffd585d2fae4ea5f3115ea49e3
[]
no_license
lin233/PACMAN
bd4c74f99ec48c8588a693c43033e2faa0950c1e
bd967ecec7721245ce21fc8bfaa4358c1c967891
refs/heads/master
2023-01-05T23:33:26.524554
2017-10-08T12:59:24
2017-10-08T12:59:24
106,176,179
0
0
null
null
null
null
UTF-8
Python
false
false
66,148
py
# -*- coding:utf-8 -*- #'eater.gif'是吃豆人的图像 #'demon.gif'是怪物的图像 # map1,map2,map3,map4,map5的txt文件中储存了要用的地图的墙的分割为小矩形的坐标 from Tkinter import * from string import * from random import random from time import * def rebackLevel1(): #第一关失败后重来的窗口按钮调用的函数,关闭该窗口并重新开始这一关 askFail.destroy() #关闭 paintCanvas1() ...
[ "noreply@github.com" ]
noreply@github.com
d3f738a922c2ea7fe1926992b5765c878b180712
6899f55b07bd6d49da2d331dfce217f92673ed34
/Accounts/views.py
8bbba8102db9276f6aa4bd89a08304dd6d7071ad
[ "MIT" ]
permissive
Khushiraikar1/sudhaksha_maxo
e72945f2d2e6ec985b27a67f2db4465cf3a72ce2
ccaba5426b8fcac0d6772bdb78916cb0cd0c09e7
refs/heads/main
2023-02-11T12:09:35.046523
2021-01-15T16:37:55
2021-01-15T16:37:55
317,636,328
2
6
MIT
2021-01-15T15:40:49
2020-12-01T18:46:39
HTML
UTF-8
Python
false
false
1,536
py
from django.shortcuts import render,redirect,get_object_or_404 from django.contrib.auth import authenticate,login,logout from django.contrib.auth.models import User from .forms import Registrationform,Profileform,Register from django.contrib import messages from .models import profile from django.contrib.auth.decorato...
[ "anandajith911@gmail.com" ]
anandajith911@gmail.com
e504b3eab9169f7b66094ab0d02abc8b8d857565
3f854f15ed22c0dc5a14f6d9d62f4e69657fa13c
/updated/catkin_ws/build/catkin_generated/installspace/_setup_util.py
97ac002b9ced133a8aa05a680da2a0d4b7b0f25a
[ "BSD-2-Clause" ]
permissive
JisuHann/Point-Cloud-Grasp
3bbbcaa30c83cd07a4b73e45064d72d440e78c7a
083244632412709dbc29ac7841b6a837e4ed3cb6
refs/heads/main
2023-06-22T01:18:59.809150
2021-07-23T10:23:15
2021-07-23T10:23:15
353,249,941
2
1
BSD-2-Clause
2021-05-26T02:35:31
2021-03-31T06:26:38
Makefile
UTF-8
Python
false
false
13,338
py
#!/usr/bin/python2 # -*- coding: utf-8 -*- # Software License Agreement (BSD License) # # Copyright (c) 2012, 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: # # * Redistri...
[ "sammin9614@gmail.com" ]
sammin9614@gmail.com
4681f93f39d6f4d7e12d2abc33f56032b610f0e0
d50dec961435073f35bd89be322341862cf7ae6c
/enaml/qt/docking/q_dock_container.py
7c95686787621238b95078e2b6c0b4259b34ad77
[ "BSD-3-Clause" ]
permissive
johnelund/enaml
19971d298b46c5c08f662110cb1c3b6bab976936
1e957da694e84d016a19c4866a1801ca04651fa5
refs/heads/master
2021-01-18T08:51:44.403979
2013-07-03T20:37:36
2013-07-03T20:37:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,875
py
#------------------------------------------------------------------------------ # Copyright (c) 2013, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-------------------------------------------------...
[ "sccolbert@gmail.com" ]
sccolbert@gmail.com
4d5cf3b281253a0ff8110f76cc5142cb3cf4c837
4c6c2a8257c12c0b1d4aff84089c9ee33823acc8
/ex041.py
6f93e0ea1ee9e222119b058cdd05faaa6129b03f
[]
no_license
AilanPaula/Curso_em_video_Python3
ab69295424b327e42690196a5d710e25d7846086
8fbe2964b232969c493438997d18762d7f89ebc0
refs/heads/master
2020-06-26T05:20:30.001036
2019-08-05T13:25:42
2019-08-05T13:25:42
199,545,008
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
''' Crie um programa que leia duas notas de um aluno e calcule sua média, mostrando uma mensagem no final, de acordo com a média atingida: -> Média abaixo de 5.0: REPROVADO -> Média entre 5.0 e 6.9: RECUPERAÇÃO -> Média 7.0 ou superior: APROVADO ''' nota1 = float(input('Nota 1: ')) nota2 = float(input('Nota 2: ')) medi...
[ "ailanpaula@hotmail.com" ]
ailanpaula@hotmail.com
2b0925270cc4865750383848e14aa68b739cf6fb
d252c3496a4dc715df1f5f1d0db4e4228811d29a
/caching/CacheInstance.py
1c7f2ad0b277da8a22d9e70b83f402ab7709ba20
[]
no_license
aredev/quic-scapy
df0ca35d937ea877ddbf2894c03d9c4b635da1e7
3df8e8b9d2db7ba9ebf75f7fdf2029c855bb432f
refs/heads/master
2021-04-06T09:35:03.685639
2018-06-26T17:40:41
2018-06-26T17:40:41
125,071,319
11
0
null
null
null
null
UTF-8
Python
false
false
934
py
import peewee from caching.SessionModel import SessionModel class CacheInstance: """ """ __instance = None __db = None @staticmethod def get_instance(): if CacheInstance.__instance is None: return CacheInstance() else: return CacheInstance.__instance ...
[ "appierasool@gmail.com" ]
appierasool@gmail.com
dfcb7dfeeb3c6b1f35413b7208110d79c55af59a
a05fbee56f08f09a839ae9e9c4d909dfac0f58e2
/crossdomain/read_ud.py
6cb6bccd91977f66c1a9b7ce74125649afd4ba85
[ "MIT" ]
permissive
INK-USC/ConNet
b67d7c1d9d0379e8a3205273ee428cb0aa4c9179
adb299f160556004561df302c19578200bd3835b
refs/heads/master
2020-08-04T15:09:09.969997
2020-04-14T05:00:33
2020-04-14T05:00:33
212,179,312
12
2
null
null
null
null
UTF-8
Python
false
false
5,791
py
from pathlib import Path import pickle import sys, os import argparse from collections import defaultdict, Counter, OrderedDict import logging as log import numpy as np import random import math, re import time import copy import torch import torch.nn as nn torch.manual_seed(123) np.random.seed(123) random.seed(123) ...
[ "huan183@usc.edu" ]
huan183@usc.edu
bd44b5d8494ad55030d5d025e1f24e94f5c0e5ca
20125d3579eff08bd4e28f4c4ba914a185d3f9ea
/collision_map.py
75999d7a3ee739632c2f681265c057f71474b2a9
[ "MIT" ]
permissive
incherre/slam-bot
9e3b519a1197fd288f12a7b92864133eaa248bfa
b9835ba42ba1c06e5f68d73bdc9791e98ccfa632
refs/heads/master
2022-06-16T15:04:05.082016
2022-06-05T18:40:06
2022-06-05T18:40:06
137,243,316
0
0
null
null
null
null
UTF-8
Python
false
false
13,524
py
'''A map to record possible obstacles.''' from math import sin, cos, inf, sqrt REPR_VERSION_STRING = "v1" class MapLocation: '''A location of the map that stores various counts.''' def __init__(self): # The number of times an agent has stepped in this location, strong evidence it is clear. se...
[ "incherre2526@gmail.com" ]
incherre2526@gmail.com
77a35dc40a9073587aaadf01130767449aed2a7e
6f6b5f86080d8e5b9895c13f60be6c30f1fa516d
/accounts/urls.py
0a8bfbcc9f1daf931f70f3fdd2f2707de9e256bc
[]
no_license
SurajT22/carzone-project
4565c0be6295f89259670006b43549f87c42a0cc
08186f41d84b952321a230a2966fa8616991e440
refs/heads/main
2023-05-12T08:58:23.707969
2023-05-08T15:11:37
2023-05-08T15:11:37
362,905,594
0
0
null
2023-05-06T13:00:53
2021-04-29T18:06:15
Python
UTF-8
Python
false
false
275
py
from django.urls import path from .import views urlpatterns = [ path('login', views.login,name='login'), path('register', views.register, name='register'), path('logout', views.logout, name='logout'), path('dashboard', views.dashboard, name='dashboard'), ]
[ "rapid.suraj@gmail.com" ]
rapid.suraj@gmail.com
bd112b6b91db0e8519d273c4522bb251c13e67ed
b6b0196d11e1c7a4dd36d41c255285e751ec1a6f
/Python/Delete occurrences of an element if it occurs more than n times/solution.py
98eb9d44699dad244bbc5001e6a4253772644100
[]
no_license
tejanke/Codewars
967abb17babe7540bafb3880c647516d7f3c6a34
79ae819321e2f10a7d4c8d2b3aa1d2dad1422f30
refs/heads/main
2023-03-12T23:02:04.983427
2021-03-01T23:21:43
2021-03-01T23:21:43
313,048,975
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
def delete_nth(order,max_e): result = [] for o in order: if o not in result: result.append(o) else: if result.count(o) < max_e: result.append(o) return result
[ "noreply@github.com" ]
noreply@github.com
dbe0a5a91d774e8c317b43293a42fde45b272cee
e5b8a5d93989dd53933c5cd417afa8b2a39ad307
/ultracart/models/oauth_token_response.py
3c0fa3d282238a67a49514ccec2bfe343dd0916b
[ "Apache-2.0" ]
permissive
gstingy/uc_python_api
f3586bfce9c962af2e8c1bc266ff25e0f1971278
9a0bd3f6e63f616586681518e44fe37c6bae2bba
refs/heads/master
2020-03-28T11:13:22.537641
2018-09-10T17:07:59
2018-09-10T17:07:59
148,190,066
0
0
null
null
null
null
UTF-8
Python
false
false
8,949
py
# coding: utf-8 """ UltraCart Rest API V2 UltraCart REST API Version 2 OpenAPI spec version: 2.0.0 Contact: support@ultracart.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class OauthTokenResponse(object...
[ "perry@ultracart.com" ]
perry@ultracart.com
3a8e593b81b23b2f274a801b086735a0e264183a
109fdd9d849376c31a0f0bd8c658c5fe5ae32fdb
/FunctionalTests/test_AddItemToCart.py
9cbf0771f9e3d5775c79a7053026e31ee4598d17
[]
no_license
jaggureddy/PythonSelenium
370e6a3e87a2559d77218992c092d3b2dcdf80bf
a44df0e446a591128e86a755e4bcc9a97aa8fe23
refs/heads/master
2022-12-03T06:58:28.365415
2020-08-22T02:17:57
2020-08-22T02:17:57
287,144,539
0
0
null
null
null
null
UTF-8
Python
false
false
2,028
py
from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.wait import WebDriverWait from time import sleep from Pages.CheckOutPage import CheckOutPage from Pages.Confirmpage import ConfirmPage from Pages.HomePage import HomePage from Utilitie...
[ "Jagadeesh6010@gmail.com" ]
Jagadeesh6010@gmail.com
ad41e857d0ed042e01c4bab91e33751edd6153d1
552ddf9821a195762985f032f507b0cd9172fcfb
/Using_Databases_with_Python_(py4e_Coursera)/Week_3/Tracks.py
6abc28b7dea993623653433ac1adbace59c54bb5
[]
no_license
rmahmadkhan/PythonForEverybody-py4e-Coursera
00d68e0d1ef017cf0badbb271944d097b5675a26
513dd2eb6608caa789bb4512231e525263f1ab1d
refs/heads/master
2022-04-19T22:37:48.999191
2020-04-21T17:59:24
2020-04-21T17:59:24
201,275,150
1
0
null
null
null
null
UTF-8
Python
false
false
3,776
py
# In this assignment you will parse an XML list of albums, artists, and # Genres and produce a properly normalized database using a Python program. # You can use this code as a starting point for your application: http://www.py4e.com/code3/tracks.zip. # The ZIP file contains the Library.xml file to be used for this a...
[ "noreply@github.com" ]
noreply@github.com
4c0ebc99422d109803628e1c5b84a2f0dac3ea31
7907b042b5c0dc96c387a3a9827e64f5ad2ec190
/booking/sync/payments.py
81b041623b75f886c70d49b6decdd6f3d7441a3d
[]
no_license
Stranger6667/testing-network
6dbfd6429bcd730f72aa857c4bc41e1150e59134
d8441ab29c125697f176be9fb4f40de739ab332e
refs/heads/master
2022-12-21T21:12:11.279830
2021-04-20T20:00:04
2021-04-20T20:09:08
160,372,537
0
0
null
2022-12-08T01:27:40
2018-12-04T14:45:04
Python
UTF-8
Python
false
false
450
py
from decimal import Decimal from . import exchange from ..models import db, Transaction def save_transaction(booking_id: int, amount: Decimal, currency: str): """We need to store EUR amount as well.""" amount_eur = exchange.to_eur(amount, currency) transaction = Transaction(booking_id=booking_id, amount...
[ "dmitry.dygalo@kiwi.com" ]
dmitry.dygalo@kiwi.com
a609eee87d2413308232d12e0b2a2feeb8ca9541
5b24e15d3c477c723f22e460cff345c8079c2559
/Main.py
6ca06d96284e4383cd03a27fd6c0928ea7206064
[]
no_license
mguthrie45/Sudoku-Solver
080bed6ed424d2e8d295ec8df9ea539a65258b93
00a19e9f4044a3d847246914158e01fbfe0e8fd9
refs/heads/master
2022-12-22T03:29:39.979530
2020-09-27T03:24:32
2020-09-27T03:24:32
288,836,765
0
0
null
null
null
null
UTF-8
Python
false
false
2,875
py
import pprint import time from Generator import generate_board pp = pprint.PrettyPrinter(depth=6) def missing_numbers(num_list): numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9] for i in range(len(num_list)): for j in numbers: if num_list[i] == j: numbers.remove(j) return numbers...
[ "mguthrie451@gmail.com" ]
mguthrie451@gmail.com
3091920acde66028b88c52eb008ed4d4557a0162
1806d42a4b34d4af586c04293bf993d849be6627
/2015/Day18/test_solution.py
3ad0aacd809221023f7505d854605c2357e40ead
[]
no_license
AlexHorch/AoC_Python
590ea0cee5fd814d48d7e0f378f6799e7c452522
ce519d059afbacfcb53052f06472ff4078b42c9e
refs/heads/master
2022-12-07T00:52:41.928077
2020-08-26T07:43:46
2020-08-26T07:43:46
282,877,690
0
0
null
null
null
null
UTF-8
Python
false
false
1,635
py
import unittest import solution examples = [""".#.#.# ...##. #....# ..#... #.#..# ####..""", """..##.. ..##.# ...##. ...... #..... #.##..""", """..###. ...... ..###. ...... .#.... .#....""", """...#.. ...... ...#.. ..##.. ...... ......""", """...... ...... ..##.. ..##.. ...... ......"""] class TestSolution(unittest....
[ "alexander@Alexanders-MacBook-Air.local" ]
alexander@Alexanders-MacBook-Air.local
f78c5a609bc06e6f4e623960f93838db21432089
eccfdf2975c0b97f744f208701c2019d38e2235a
/0x05-python-exceptions/0-safe_print_list.py
cdc1d239f1700edd1cb8bcf68b444d20529d047f
[]
no_license
valerienierenberg/holbertonschool-higher_level_programming
cefde34fcc678eabbcb84777cd56c1dcdc927a3f
d309df4ebf2b0aa611f9e65208b54719abae1ade
refs/heads/main
2023-04-20T06:33:55.658256
2021-05-13T13:35:29
2021-05-13T13:35:29
319,346,543
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
#!/usr/bin/python3 def safe_print_list(my_list=[], x=0): a = 0 for y in range(x): try: print("{}".format(my_list[y]), end="") a += 1 except IndexError: break print("") return(a) # --gives correct output-- # def safe_print_list(my_list=[], x=0): # ...
[ "valerie.nierenberg@gmail.com" ]
valerie.nierenberg@gmail.com
cfb7d656e58c4a233384f41bdd7246af27c42da1
ec476ad50f70ea9c1fd796faf92e634efb877af0
/venv/Lib/site-packages/dash_html_components/Data.py
572fcdf800596cfa007669e138f837270b87f131
[]
no_license
Mubeen31/Arduino-Sensor-data-Real-time-temperature-and-humidity-data-in-python-by-plotly-dash
e915cc9cfae5fdba324c57dd7bf6ad2440926ba7
2a80d1512198ea4e8e074ed437f35ac61920bb5c
refs/heads/main
2023-07-13T12:20:13.802937
2021-08-20T21:09:15
2021-08-20T21:09:15
398,258,681
2
0
null
null
null
null
UTF-8
Python
false
false
5,027
py
# AUTO GENERATED FILE - DO NOT EDIT from dash.development.base_component import Component, _explicitize_args class Data(Component): """A Data component. Data is a wrapper for the <data> HTML5 element. For detailed attribute info see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data Keyword argumen...
[ "qs6272527@gmail.com" ]
qs6272527@gmail.com
1e09a1afad05e40415362ebcf4ab5e7d018788f5
1388c8381e7b179887a53db15b2882a4e51b820e
/paypal/migrations/0006_auto_20150721_1921.py
d597177d5c80f23541162dd9e476c3af94c9f2b6
[]
no_license
laurentenhoor/samsamsam
d0d2d688ecc682bb885cdc398bfda0ddab97cbd4
923647186ee2a074ec186b4ff46fb5ca7ff53d32
refs/heads/master
2023-01-13T10:33:28.666076
2015-08-28T08:57:51
2015-08-28T08:57:51
154,669,877
0
0
null
2022-12-26T20:15:27
2018-10-25T12:48:39
Python
UTF-8
Python
false
false
373
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('paypal', '0005_contact_last_used'), ] operations = [ migrations.AlterModelOptions( name='contact', o...
[ "laurentenhoor@gmail.com" ]
laurentenhoor@gmail.com
6b89749fe8823ae962abbaa45373e75891ef3212
15e6385746ccf4b8eb6c6e302aca236021bb8781
/LintcodePartII/li405_submatrixSum.py
443777a2c60f7562a7b839a401d41945fa35145d
[]
no_license
akb46mayu/Data-Structures-and-Algorithms
11c4bbddc9b4d286e1aeaa9481eb6a620cd54746
de98494e14fff3e2a468da681c48d60b4d1445a1
refs/heads/master
2021-01-12T09:51:32.618362
2018-05-16T16:37:18
2018-05-16T16:37:18
76,279,268
3
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
""" Given an integer matrix, find a submatrix where the sum of numbers is zero. Your code should return the coordinate of the left-up and right-down number. Have you met this question in a real interview? Yes Example Given matrix [ [1 ,5 ,7], [3 ,7 ,-8], [4 ,-8 ,9], ] return [(1,1), (2,2)] """ class Solution...
[ "noreply@github.com" ]
noreply@github.com
144ee5c0f1f859e617b1d48c45f30ee8867c70bf
b5cca4f03ee8ea511235adfbe3e15e0c9d0cfcf0
/solarroof/settings.py
183d6963bed4ef7e3d70055fcbb6d4e19d32a8bb
[ "MIT" ]
permissive
saksham1991999/Solar-Roof-Potential
29977aa6e7a37bd3f011cd5301a90cba5a1ad63b
cc0b9b6af5abbe005aaeaef5ffdd7307a971fbbc
refs/heads/main
2023-04-07T00:16:04.313551
2021-04-05T20:46:27
2021-04-05T20:46:27
352,153,718
0
0
null
null
null
null
UTF-8
Python
false
false
3,316
py
""" Django settings for solarroof project. Generated by 'django-admin startproject' using Django 3.1.7. 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 pathl...
[ "181210045@nitdelhi.ac.in" ]
181210045@nitdelhi.ac.in
36b814ddadae57354bfa080d2e733b36281f8b2d
34d3c58afa95fcb4cee7f0da1b01466fc291e1bb
/src/Account.py
2820ebb0d9125b1ae74e8583c67f91d7c235aa9e
[]
no_license
leolo0626/portfolio_bactest
aa769a82ff7639c0dd1a2099304f52b4ae96dbb1
5a27f3b535f45cedb66d2ba6600372b5fd3d7295
refs/heads/main
2023-07-25T22:27:12.843882
2021-09-11T14:50:26
2021-09-11T14:50:26
392,228,758
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
class Account : def __init__(self): self.initial_capital = 0 self.cash = 0 self.net_asset_value = 0 def add_capital(self, cash_amount): self.initial_capital = self.initial_capital + cash_amount self.cash = self.cash + cash_amount self.net_asset_value = self....
[ "leolo0626@gmail.com" ]
leolo0626@gmail.com
692a9e6559e097c15108dc25e36eb37ad7a4e73f
5b7e7457c0214280d28065d14aee004d8b0a403e
/src/libxslt/python/tests/extfunc.py
6fd908ea5ebaba6be062400aa48b3e1c1849ca90
[ "LicenseRef-scancode-x11-xconsortium-veillard", "X11", "MIT" ]
permissive
webkitdotnet/WinCairoRequirements
0e567e98d45415e389a80e5477d9083e43409036
45cd0bdac280e58792428bc41f0c08ad93f4cf92
refs/heads/master
2021-01-16T22:46:15.321638
2013-02-17T21:27:12
2013-02-17T21:27:12
8,255,164
3
2
null
null
null
null
UTF-8
Python
false
false
1,677
py
#!/usr/bin/python -u import sys import string import libxml2 # Memory debug specific libxml2.debugMemory(1) import libxslt nodeName = None def f(ctx, str): global nodeName # # Small check to verify the context is correcly accessed # try: pctxt = libxslt.xpathParserContext...
[ "bfulgham@gmail.com" ]
bfulgham@gmail.com
dd749bd41c4159bf4470b8fa036cb104ddad6be2
18f3c47b55635128a8db45dda340df2c7393468d
/map/models.py
2972b9e4d880c50ee0080cb42e9a3e9449536476
[]
no_license
rheehot/Zigbang
c62ec77f7f8352f09622f54a377a4fb69f2a4417
b120559767a0aa286dc3a632a193bf25a0b90aee
refs/heads/master
2022-11-27T14:26:33.413310
2020-08-06T07:45:59
2020-08-06T07:45:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,031
py
from django.db import models class City(models.Model): name = models.CharField(max_length = 50) class Meta: db_table = 'cities' class District(models.Model): name = models.CharField(max_length = 50) city = models.ForeignKey('City', on_delete = models.SET_NULL, null = True) class Meta: ...
[ "nogwang-o@nogwang-oui-MacBookPro.local" ]
nogwang-o@nogwang-oui-MacBookPro.local
9f62583507c99cb0c1fdc4fbddd3bd3f193c5132
0a2190bdd257d8b4a9f879fbc1474337c02da32d
/devel/lib/python2.7/dist-packages/rococo_navigation/msg/_TurnActionGoal.py
53a4e04cdc144fdf63ddbb8ece1ebf8b0887154a
[]
no_license
bitCluod/AkiraRobotService
af4ed667590f33fea11488445787d793e6aaf389
accc6acf0480818306462dc74e6b7adf11cfa220
refs/heads/master
2023-04-18T08:28:54.632006
2021-05-01T02:35:18
2021-05-01T02:35:18
363,306,688
0
0
null
null
null
null
UTF-8
Python
false
false
10,957
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from rococo_navigation/TurnActionGoal.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import actionlib_msgs.msg import genpy import rococo_navigation.msg imp...
[ "scheneider12.12@gmail.com" ]
scheneider12.12@gmail.com
1a573cda6c2a4d96f172917b8c70da2ab8f0288e
c2d5a7bf3d5f6bcf07b8293b1bf7eff838a5dcbe
/app/migrations/0002_central_ciudad_cluster_ce_estado.py
36f568fee9bbf653e047ec4ce65db547b929f3b8
[]
no_license
leocordero/cuenta
e0a881a6cb01af905c6fd2395dff7b941cf0f9c5
907776df30408f00a413b0a7ed1f9ef45b71e008
refs/heads/master
2023-06-30T08:43:42.626282
2021-07-30T21:21:31
2021-07-30T21:21:31
390,870,143
0
0
null
null
null
null
UTF-8
Python
false
false
1,878
py
# Generated by Django 3.2.5 on 2021-07-13 03:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.CreateModel( name='cluster_ce', ...
[ "lchaconz@cisco.com" ]
lchaconz@cisco.com
963bd6d3840d499bef787d38ba22b3d8a5291ba5
5207b5bc504bd4253da6e78a4e361db61c5b1e70
/game/services/game/event/draw.py
132c8665400fd62d291a91a130a97b8131ad1db5
[]
no_license
luiz290788/ajani
442853cc7c6865ae13cbbf7aee25dae9f798c3de
fdfa112893c4808508376ea308bfc7337169240a
refs/heads/master
2021-01-01T20:34:47.968248
2015-06-14T20:54:49
2015-06-14T20:54:49
34,073,394
1
0
null
null
null
null
UTF-8
Python
false
false
953
py
from google.appengine.ext import ndb from services.game import library, response_util from services.model import Hand, Library def load(incoming_event, player_id, game_key): hand_key = ndb.Key(Hand, player_id, parent=game_key) library_key = ndb.Key(Library, player_id, parent=game_key) return [hand_key, library_...
[ "luiz290788@gmail.com" ]
luiz290788@gmail.com
185c7b7f95c8487e2f85422f38c93095e8bd3438
3f36a8e71ea13a135467ea64367d6e3358333f74
/movie_details.py
b88daf458d68088e861cd4d0c53e98e1ee709f51
[ "MIT" ]
permissive
gorpo/Exemplos-Python
4257873af5a23b79d51cc60e8ea84185b7e299c4
2cc11e0604d83c4f0a46645ceef0b209e467e6e6
refs/heads/master
2023-03-09T00:24:27.404626
2020-08-24T04:49:59
2020-08-24T04:49:59
264,974,378
4
4
MIT
2021-02-26T02:53:36
2020-05-18T15:02:56
Python
UTF-8
Python
false
false
1,600
py
import urllib.request import mechanize from bs4 import BeautifulSoup # Create a Browser browser = mechanize.Browser() # Disable loading robots.txt browser.set_handle_robots(False) browser.addheaders = [('User-agent', 'Mozilla/4.0 (compatible; MSIE 5.0; Windows 98;)')] movie_title = input("En...
[ "noreply@github.com" ]
noreply@github.com
bc6ba20afd61f6bf37f412a650eae3cd5cd072c4
6596e7eaa8abdc7cd715aecf1b6a9c4b532d042c
/ciftlik.yem.problemi.py
6d1fb1ae14e21f63ae28f1f0df91cc9480827831
[]
no_license
hasanHIDIROGLU/pythonexamples
5fef51032f2b1f3ca4dd53becd39bf8b937e2078
12e23ade5f8186a84be9eda8afafb6cf89bd679f
refs/heads/master
2021-07-11T14:02:37.662536
2021-07-06T07:16:08
2021-07-06T07:16:08
166,395,043
0
0
null
null
null
null
UTF-8
Python
false
false
1,387
py
# S.3. Bir çiftlikte bulunan koyunların beslenmesi şu şekilde yapılmaktadır. Öncelikle besleme makinesine belirlenen bir miktarda # yem doldurulmaktadır. Daha sonra görevli personel koyunlara verilecek günlük üst limit yem miktarını uygulamaya girmektedir. # Uygulama 1,3,5 gibi tek günlerde üst limitin yarısı, çift gün...
[ "noreply@github.com" ]
noreply@github.com
d3c5e8c30ac270fd164e79ae288a7f1a7b2aeb2d
49e145c536964b1dc72946a19560741c492482d7
/TTA06p2.py
ef4402c2f5c9b9af9a54875e0b34a4b648a921f7
[]
no_license
mueller14003/CS241
502a1cb8f7706ff22741896ea4d612df96515f13
37e539b59e47f4b522c624e5e14e6675eb5be2f3
refs/heads/master
2021-09-20T01:14:58.650239
2018-08-02T06:26:34
2018-08-02T06:26:34
113,709,350
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
""" I think that this approach is better because a circle is not a type of point, but rather, it has a location, or point. Thus, it should not inherit from Point, but rather, it should create a class variable that is a point type. This makes much more sense, as a circle will have a point attribute, but is not a type of...
[ "34406644+mueller14003@users.noreply.github.com" ]
34406644+mueller14003@users.noreply.github.com
58bcf3d3d7a9e42fa01ca8b29a710f6e81cfde90
b086a1caa4e3457c1faa0889d7a7291e653a0248
/tests/test_decontaminate.py
ed588a42754b1f20fbaafdd1f11bfdc4e4ef65af
[ "MIT" ]
permissive
hover2pi/specialsoss
a29381bbfcf7cc15a82e0aba8e607b99192dc48f
6afde9fbd83bb33afa9e606e681c330b64e64aa2
refs/heads/master
2023-01-12T19:22:03.636104
2022-11-30T18:51:16
2022-11-30T18:51:16
152,112,781
1
1
MIT
2022-12-26T20:46:35
2018-10-08T16:36:32
Jupyter Notebook
UTF-8
Python
false
false
500
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `decontaminate` module.""" import unittest from pkg_resources import resource_filename from specialsoss import decontaminate class TestDecontaminate(unittest.TestCase): """Test functions in decontaminate.py""" def setUp(self): """Test insta...
[ "jfilippazzo@stsci.edu" ]
jfilippazzo@stsci.edu
a95634a6ae723a37422e4449df51ccd9fdcd283a
1fa3016c1b67178910b477fd5885cc0fff17e923
/Learning Python/Bank Account.py
19e95929801694bca67dd4cd2e1d8495f5cf85f4
[]
no_license
Charnub/python-code
9f1c952075ed725b8561a2115acb30872ba0b797
3e35510756e8635e26fc3b71396a0c8856385b69
refs/heads/master
2021-04-15T09:26:34.691921
2018-03-22T18:09:51
2018-03-22T18:09:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
class Account: def __init__(self): self.savings = 100 def __init__(self): self.withdraw = 0 account1 = Account() account1.savings = 400 account2 = Account() account2.savings = 50 account3 = Account() account3.savings = 1000 def withdraw(self, withdraw): withdraw = input("...
[ "noreply@github.com" ]
noreply@github.com
08bb23fdc4d27bf24fc8acba539dc31a6c16a40d
0412893529999de784ab9cb914f385ba788a3684
/logicmonitor_sdk/models/service_alert.py
f140a8c85cf85576b2c428c2b3678d325ef7a839
[ "Apache-2.0" ]
permissive
JeremyTangCD/lm-sdk-python
0326bf034c16b022b760600dc18fe7aaad42fa26
2a15e055e5a3f72d2f2e4fb43bdbed203c5a9983
refs/heads/master
2020-04-15T15:39:59.276224
2019-01-09T09:55:36
2019-01-09T09:55:36
164,803,314
0
0
Apache-2.0
2019-01-09T09:58:55
2019-01-09T06:33:40
Python
UTF-8
Python
false
false
14,296
py
# coding: utf-8 """ LogicMonitor REST API LogicMonitor is a SaaS-based performance monitoring platform that provides full visibility into complex, hybrid infrastructures, offering granular performance monitoring and actionable data and insights. logicmonitor_sdk enables you to manage your LogicMonitor account...
[ "jeremy.tang@logicmonitor.com" ]
jeremy.tang@logicmonitor.com
47f279fb0f8e4364b04cdc930d764cfe6abe6001
7d257e13bb2ebe6621e58483f7412fc91b6e641e
/assesmentmanagementsystem/Flask/web_app/git_API_functions.py
580fe4293dca944abe8601093a835054b7be7ab6
[]
no_license
19059019/HonoursProject
da625435a79e8efd85222d511f0e07b25068953f
12fbc29b08fe642b3115e1c423c501ae41550cd2
refs/heads/master
2022-12-26T03:09:39.138365
2020-03-20T12:56:54
2020-03-20T12:56:54
248,755,004
0
0
null
2022-12-08T07:26:10
2020-03-20T12:54:03
Python
UTF-8
Python
false
false
152
py
from config import * import gitlab GIT_SERVER = config["git_server"] TOKEN = config["git_token"] gl = gitlab.Gitlab(GIT_SERVER, private_token=TOKEN)
[ "mikesheep24@gmail.com" ]
mikesheep24@gmail.com
2ae16a9e9e78108fc155c5ad03fae33bc317ad74
d63222abe326a3c8debd59bb8d24cb7eab3de09e
/leetcode/mock-interviews/reorganize_string/solve2.py
457e7f2208383c86f7b71461edd8321eeb4e2c1e
[]
no_license
tariqrahiman/pyComPro
91f47e93eb0a077d489659fcf0a75d5c1a65fc17
86ec13f47506a2495ab6b6bbb58d4e8b2a21538b
refs/heads/master
2022-02-10T04:15:40.194828
2019-06-16T10:22:38
2019-06-16T10:22:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
class Solution(object): def reorganizeString(self, S): count_letter = [[0, i] for i in xrange(25)] for char in S: count_letter[ord(char) - 97][0] += 1 count_letter.sort(reverse=True) count_letter = [k for k in count_letter if k[0] > 0] res = [""] def decrease(index): ...
[ "alexsolbiati@hotmail.it" ]
alexsolbiati@hotmail.it
8b4b8b5b6d763fd2a7db57022a79bde58116674a
9692a20a1e7a224a72785e4495f31421639b9f3b
/frex/stores/sparql_queryable.py
ca7711df4642f8043fbcf8e36450204ce9c9d5df
[]
no_license
solashirai/FREx
6b0cb040930761a0e269f4591d7dde36e3f636d1
36ad09a0cb0020661ee990c7800bafd110e2ec04
refs/heads/master
2023-08-14T08:49:49.270281
2021-09-29T14:58:23
2021-09-29T14:58:23
291,760,109
0
0
null
2021-09-24T22:41:19
2020-08-31T15:57:47
Python
UTF-8
Python
false
false
526
py
from abc import ABC, abstractmethod from rdflib.query import Result class SparqlQueryable(ABC): """ SparqlQueryable is the base class for stores that can be queried in some way using SPARQL queries. """ @abstractmethod def query(self, *, sparql: str) -> Result: """ Query the sparq...
[ "solashakashirai@gmail.com" ]
solashakashirai@gmail.com
5b215f0420808f7de11704061dc9500c57c7f5fa
d57b817ea296970727616dbd6dcdde51479abeef
/Rajesh/Calculator.py
d60bcd8e7357ccdabe20b0541c1f52f1a2a7f9bb
[]
no_license
sharedrepo2021/AWS_Python
fefa0e6564621302c07006222856dde2204af06e
a1f8a6848ce62b6411e9a54fc63f6a41d8bfc875
refs/heads/main
2023-03-07T12:45:47.755159
2021-02-16T22:03:50
2021-02-16T22:03:50
330,518,230
0
0
null
null
null
null
UTF-8
Python
false
false
3,319
py
class Calculator: def __init__(self, number1, number2, result, chc, div0): self.a = number1 self.b = number2 self.result = result self.choice = chc self.d = div0 def add(self): self.result = self.a + self.b return self.result def sub(self): ...
[ "rajeshvarghese@gmail.com" ]
rajeshvarghese@gmail.com
24b225f065ed151eb22a92e8b8d904ab8f8a5b5d
ad01faab6dd663dc5193eb8383fdc2d24c2df23d
/_flask/_flask/src/models.py
65bcffc85e3d1501298f09252d2b8c292996163d
[]
no_license
jurgeon018/snippets
585db91b8120076b37deaa37393b34f7c61fec66
e0ab24a99791c3b25422a3208f02919cf98ca084
refs/heads/master
2023-05-14T12:31:48.139452
2023-01-23T03:33:41
2023-01-23T03:33:41
222,001,233
0
0
null
2023-05-01T22:16:48
2019-11-15T20:51:27
Python
UTF-8
Python
false
false
2,368
py
from flask_security import UserMixin, RoleMixin from datetime import datetime import re from app import db def slugify(s): pattern = r'[^\w+]' return re.sub(pattern, '-', str(s)) post_tags = db.Table( 'post_tags', db.Column('post_id', db.Integer, db.ForeignKey('post.id')), db.Column('tag_id', d...
[ "jurgeon018@gmail.com" ]
jurgeon018@gmail.com
e17959a66a7bad08e04d87207e82ac8682bbc421
2fe9381ea17e68572521370de6d3519ed1f8a669
/mysite/game/views.py
ebba74a15b4cfd45bf30f1b1106a314f7e508544
[]
no_license
vittesharora/sarcasm-sample
5909fd333e30e8cd430d98b0a69313be6030f682
aa332f9a74fe6179c61bc8f29867d69996509b3e
refs/heads/master
2020-05-27T15:02:27.258571
2019-05-26T11:04:28
2019-05-26T11:04:28
188,670,761
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
from django.shortcuts import render, get_object_or_404, redirect from .models import Question from .forms import SignUpForm from django.contrib.auth.forms import UserCreationForm # Create your views here. def gaming(request): questions=Question.objects.all() return render(request, 'game/home.html', {'questions':ques...
[ "avittesh@gmaill.com" ]
avittesh@gmaill.com
7ce5a5a7e987b5117fe0c6627da59256dd274079
09f0505f3ac1dccaf301c1e363423f38768cc3cc
/r_DailyProgrammer/Hard/C261/__init__.py
7fb10a7e3f3dd524eca4b11a7704983484b081b8
[]
no_license
Awesome-Austin/PythonPractice
02212292b92814016d062f0fec1c990ebde21fe7
9a717f91d41122be6393f9fcd1a648c5e62314b3
refs/heads/master
2023-06-21T11:43:59.366064
2021-07-29T23:33:00
2021-07-29T23:33:00
270,854,302
0
0
null
2020-08-11T20:47:10
2020-06-08T23:24:09
Python
UTF-8
Python
false
false
63
py
#! python3 from r_DailyProgrammer.Hard.C261.main import main
[ "{ID}+{username}@users.noreply.github.com" ]
{ID}+{username}@users.noreply.github.com
f86e34acdf5f4cfe3017b4eb336412a36a9ee039
4df51c5b80555f04c93bc7af29ddf99621198b8f
/codechef_TheLeadGame.py
b2e9c98e7058a9a3d1202d727e97bab2829472dc
[]
no_license
Rup-Royofficial/Codechef_solutions
4752fdf2040a0bd4efaed075f34f65fdfcbc2872
62edb5e0cf3dfc7db68c98f23033b7d2e2007566
refs/heads/main
2023-06-24T07:40:30.848869
2021-07-22T15:47:44
2021-07-22T15:47:44
388,516,041
1
0
null
null
null
null
UTF-8
Python
false
false
873
py
n = int(input()) d = [] f = [] x = 0 y = 0 c_1 = [] c_2 = [] for i in range(n): a,b = map(int,input().split()) if a>b: c = a-b d.append(c) c_1.append(a) c_2.append(b) if b>a: e = b-a f.append(e) c_1.append(a) c_2.append(...
[ "noreply@github.com" ]
noreply@github.com
9fa85e205aedaa36233270fd54d0d9466f74e4e1
bfc58d03880345345459d49d8c57d63cfc941554
/Z1.2.py
db7ede5e7af07896bfb434cd7678aaca70746544
[]
no_license
Gordey007/MADE
cf1684174cfd4b391beff624ee1dc1d2bc4e0ddd
db4d2a1e1f26970c7267f2ee368e22cafae9e178
refs/heads/main
2023-01-30T11:50:54.170479
2020-12-14T13:54:55
2020-12-14T13:54:55
321,359,343
1
0
null
null
null
null
UTF-8
Python
false
false
1,887
py
# многослойная модель персептрона для задачи двух окружностей from sklearn.datasets import make_circles from keras.models import Sequential from keras.layers import Dense from matplotlib import pyplot # # генерировать набор данных X, y = make_circles(n_samples=1000, noise=0.1, random_state=1) # разделить на ...
[ "noreply@github.com" ]
noreply@github.com
5e533e4548295d223cc6fd1155ddcb18b11144ec
103e04fe44bf613bbc4c93e7a2d4d044bdca947f
/mysite/urls.py
5e05c26c34cd5c0972403ad74ece322765135b17
[]
no_license
fij0/my-first-blog
3bb00b5567fb8eaa3020948703705fd73923befa
91aff421e69ffb58c7c4142fc0b4cee9bc52826d
refs/heads/master
2016-09-12T16:28:01.698961
2016-04-23T19:22:01
2016-04-23T19:22:01
56,926,273
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'', include ('blog.urls')), ]
[ "fortigala@gmail.com" ]
fortigala@gmail.com
a39a4020e3c0bd37e28ab0cc5f23365d3101cb61
fbc6af0a6bd232f8501822ad75a75e397b4ee05e
/Convert CamelCase to Sname_case.py
922f56b6c3c133136a8a604e94a1277610cabebf
[]
no_license
DushyantVermaCS/Python-Tuts
2d0438974ed0425cd32f15351c758af14fa5fdc6
356a43be77f21cebff64be3c06130a09d932028e
refs/heads/main
2023-05-08T02:50:50.336586
2021-05-25T17:10:07
2021-05-25T17:10:07
370,689,589
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
# Convert Lettrs from CamelCase to snake_case :>--------------------------------- ph = input() #input any phase fis = ph[0].lower() #first letter of phase letter = "" for word in ph[1: ]: if word.isupper(): word ="_"+word.lower() #print(word) letter += word print(fis+letter) ...
[ "noreply@github.com" ]
noreply@github.com
c959f7846d359b08fddf15504810577c09e79d06
afa8d16eefad352022461d9752cc3fec7cddb0c0
/venv/Scripts/pip-script.py
c252ecb351b1c5da5afaf73ae6da2332c1fe2ae8
[]
no_license
vermamuskan/Sudoku_Solver
3252bbb0b0b39aa35fcef6fe3a8ab6883aff4c6e
0fff3b77c4eb3eaa0706806635f81c17d7dae131
refs/heads/master
2023-07-18T03:42:15.773716
2021-08-30T17:43:05
2021-08-30T17:43:05
276,735,689
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
#!H:\untitled\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' 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( lo...
[ "themuskanverma@gmail.com" ]
themuskanverma@gmail.com
552ab2bbd2ef44a5026c219a56b2ffd8ce677ca4
c73fc798764f40ea6fa466a573fb01223e367ce3
/recursion/dequeue.py
0cb394faf20083a3b1185caeaf1124bf8907044b
[]
no_license
mohitsh/python_work
b1385f62104aa6b932f5452ca5c2421526345455
223a802dea5cdb73f44a159856c7432983655668
refs/heads/master
2020-04-24T00:34:15.427060
2018-08-21T19:12:07
2018-08-21T19:12:07
37,491,449
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
''' in this deque example I have considered position 0 to be FRONT in other deque exmaples like Palindrome checker last element has been considered as front. Usually first element is considered rear and last one is considered front. I have to manipulate 0 twice to make this code compatible with 0 as rear and last a...
[ "mohitsh114@gmail.com" ]
mohitsh114@gmail.com
b13067dd270bc42aaa0289e9252634ac5e07ecc2
3f2ebe9b8c3a249de9b81e76fefcec82e1ab61c7
/Breaking4thwall/BreakFourthWall.py
d3f2a27d6e48d1722cec8a8527071390b1d82a45
[]
no_license
AlekseyPanas/BreakingFourthWall
b0b376fabddb899070c3f6b3fd587db8aa613e61
ee9fe4cfdcdbc0c6d6c0f1ec2086ccc750bf9426
refs/heads/main
2023-04-22T20:54:45.540394
2021-05-07T01:24:37
2021-05-07T01:24:37
364,835,823
0
0
null
null
null
null
UTF-8
Python
false
false
35,365
py
import pygame import copy import math import random import time pygame.init() class Game: FRICTION = 0.99 def __init__(self, fourth_wall=False, player_hp=None): self.RESET_GAME = False self.PAUSED = False self.WIN = False self.LOSS = False self.UNPAUSABLE = False ...
[ "panasaleksey3@gmail.com" ]
panasaleksey3@gmail.com
a27d7d0745d6d09b855f6a9cb674255fdb6a1ffa
d1b14f6a72c8a716594117143080fab004e937b0
/leetcode/LC1290.py
55f3df89e08487ad673f83b2fb2f88fafc65fcd4
[ "MIT" ]
permissive
vgb-codes/leetcode-cp-solutions
738a84a7e83ea323710c81477115ea540be4cf3e
f1953b10bf2854bc01a6fc18b300e4e2671291c7
refs/heads/master
2023-05-12T15:48:15.800467
2021-05-26T07:41:42
2021-05-26T07:41:42
260,933,699
1
0
null
null
null
null
UTF-8
Python
false
false
329
py
class Node: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def getDecimalValue(self, head: Node) -> int: num = head.val while head.next: num = num << 1 num = num | head.next.val head = head.next r...
[ "vijaya.gajanan@outlook.com" ]
vijaya.gajanan@outlook.com
28695cb41961f9b7f6d93c97584d9999c98e5d78
cb4c67ff2ad27834bed67f7e920a12fb1c545fcd
/tensorflow/python/keras/callbacks.py
f2feeb85a1e0db976a1c29e47257558ba40cc856
[ "Apache-2.0" ]
permissive
ahoneybun/tensorflow
b67668cc0d9375eaab3bee4ed0791626f6eac02d
5134e65300d1ac384eeb1f4ca72a011ad7225bc8
refs/heads/master
2020-03-26T00:53:51.554467
2018-08-13T13:36:55
2018-08-13T13:36:55
144,342,477
0
0
Apache-2.0
2018-08-13T13:36:56
2018-08-11T00:07:43
C++
UTF-8
Python
false
false
51,653
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
e4d331190d0951613bfb2dd2e5c596a4220fc079
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-4642.py
e44d50bd03724d6fd15dac3b8b839dc0d38c9563
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,755
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
1bf4ffff53b8443cb6cfe76a345fc9e1f3d53794
ce2573d39de26cc3dda2a87c1e8746d1d3ff7e4c
/xml_to_csv.py
8f62e960c4fcbef47d7c7dad0a1845c5c42adda6
[]
no_license
krestovolt/cat-dog-breed-detection
2779e30528d4dd63e795439cfa9a9c3b7b3da82d
5fe3566266e087b251c84054f565561adccafa84
refs/heads/master
2021-05-05T12:09:29.605083
2018-01-20T07:44:45
2018-01-20T07:44:45
118,212,311
0
2
null
null
null
null
UTF-8
Python
false
false
2,330
py
import os import glob import pandas as pd import xml.etree.ElementTree as ET from tqdm import tqdm def xml_to_csv(path): xml_list = [] _files = glob.glob(path + '/*.xml') for xml_file in tqdm(_files, total = len(_files)): image_name = os.path.basename(xml_file) image_name = image_n...
[ "kautsar.ab@gmail.com" ]
kautsar.ab@gmail.com
8939cb11b44574e3ae4666bb7ed1698550d192c4
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5756407898963968_0/Python/eding/A-small-code.py
e5ebfa779d5c7ca729204629dbea0f829a594e03
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
939
py
import codecs import sys N_ROWS = 4 def main(): file = codecs.open(sys.argv[1], "r", "utf-8-sig") lines = [line.strip() for line in file] T = int(lines[0]) cards1 = [] cards2 = [] index = 1 for trial in xrange(0,T): ans1 = int(lines[index]) ca...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
939366fbf9f7400868db1cfbd33d24ecd10c9608
51a0077af1cd234e081b8d0c4f9fb9cccf983fa6
/examples/drawDistribution.py
c67a7464c97fae610fbe523684262b328014ee51
[ "MIT" ]
permissive
wangyuan249/Mymmt767
9a2e127f086a3feaa4538d6c5dce87f89bd04bd0
6b9bb566d290bd3157350f6496fcb5df8c2b515c
refs/heads/main
2023-04-20T01:03:20.407482
2021-05-16T16:44:28
2021-05-16T16:44:28
367,935,789
0
0
null
null
null
null
UTF-8
Python
false
false
1,479
py
import matplotlib.pyplot as plt import numpy as np import math import pdb def dotProduct(v1, v2): v1 = np.mat(v1) v2 = np.mat(v2) z = v1 * v2.T return z if __name__ == '__main__': feature = np.load("similarity_list_3.npy") print(feature.__class__) print(feature.shape) ...
[ "249401644@qq.com" ]
249401644@qq.com
31568c8831b174a67e23d04ae523c6729bc766c7
ed9b2c3d96e4251acaa93412b0982cfea51d9dba
/Batch Lesson/operadores_asignacion.py
2d6f826473724556dd5cfeabcdd0b5c9ef79f082
[]
no_license
Dagorik/Batch17Roja
f98c49dc2a24bc74df725e1ecd937fc9b78757fe
266948741d0c2900a9885e3dedc7e894d8573e3b
refs/heads/master
2021-08-23T22:02:40.672409
2017-12-06T19:14:25
2017-12-06T19:14:25
108,353,295
1
4
null
null
null
null
UTF-8
Python
false
false
59
py
x = 5 print(x) x+=10 print(x) x-=10 print(x) x*=10 print(x)
[ "dagorik@gmail.com" ]
dagorik@gmail.com
57dba22400c00b7b658ab8feeab0d24681e26898
a1a8b087a2fe9bf3f6ac27cf37c23484039e9b4f
/env/bin/flask
c9828d13240e322a069af19dbb315a6e42e5cf72
[]
no_license
16014958/week_03
4b0ffe496d10d50ec57a7f6b56532193d019b4cf
76d95cea83a656b29809322b618344492a28a78d
refs/heads/master
2020-03-25T12:33:52.312395
2018-08-06T20:56:01
2018-08-06T20:56:01
143,782,409
0
0
null
null
null
null
UTF-8
Python
false
false
248
#!/Users/callumradford/Desktop/week_03/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "callumradford26@gmail.com" ]
callumradford26@gmail.com
e2f530e510936ac5f726ee45cd632a5f4b2067bc
eb0681df9f79394b6d6b6ef51cdb09e96b351567
/faculty/views.py
19a99d5e3c88b45a05add839c531540e7a77d8b5
[]
no_license
sinaesmaili216/univercity
4ff4e06f212f57667b987bc09a3879e077c353c5
5bc90db373c702aca60082129a6294da436e9726
refs/heads/master
2023-07-21T22:46:56.309763
2021-09-02T19:58:39
2021-09-02T19:58:39
400,893,312
0
0
null
null
null
null
UTF-8
Python
false
false
5,774
py
from django.db.models import Q from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render, redirect from faculty.models import Class, Student, Lesson, Master, User from .forms import CreateStudent, SelectLesson, LoginForm, EditLessonsByMaster, RegisterMaster from django.contrib.auth ...
[ "sinaesmaili216@gmail.com" ]
sinaesmaili216@gmail.com
2a71d4e4609f4cb41aed46f48f4dc1917e9612b9
9c570e147dab670a91505eef1ca56c3aab64e5a5
/Crypto/urls.py
9dc922ae67e15d61112f52a75a10afd138edcdc6
[]
no_license
Alireza-Helali/crypto-price-tracker
b0a71cf61b59b8723d407532c3c638ae32f44c4e
e7ac3fcb8a103ae5199a12d2e1ad715d86d8c3cb
refs/heads/master
2023-04-12T01:06:21.614706
2021-05-14T17:51:44
2021-05-14T17:51:44
349,701,824
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
"""Crypto 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-based ...
[ "a.helali1995@example.com" ]
a.helali1995@example.com
ae8d67d7deda38b735bb7e18ddb5f030a8c4027e
be699e538fc03a2087c430e4771cf9f26e19b16c
/cifar10/resnet_keras_feature_fusion_v2.py
8cec36117d0816e366c91db4996cf0b4c489241b
[]
no_license
fanW96/Fusion_Diversity
ed671ebf266c6cb0740ff8a7853d1ba0be42c21e
a66b0b49f24b81b72a9483244e28649cecfa2d9d
refs/heads/main
2023-02-04T21:38:08.590034
2020-12-28T11:21:52
2020-12-28T11:21:52
324,986,899
0
0
null
null
null
null
UTF-8
Python
false
false
12,282
py
import keras import numpy as np import tensorflow as tf from keras.datasets import cifar10 from keras.preprocessing.image import ImageDataGenerator from keras.layers import Conv2D, Dense, Input, Add, Activation, GlobalAveragePooling2D, BatchNormalization, UpSampling2D, Concatenate, Reshape, Flatten, Average from keras...
[ "fanw9611@163.com" ]
fanw9611@163.com
2128f2350f92bfc597eb04b261dba5bd11281714
65402c579b40377184baa65a806044a8cc760540
/myproducts/myproducts/www/stock.py
f7cc1db1fa11f2a3a2624f123bec400f39d89c75
[ "MIT" ]
permissive
mado2461990/ERPNext-E-Commerce-
040862653eb7472766a01aa9f824edfd567bb23d
b20d171faaa75eea2a21e1a40602799bd4aebd67
refs/heads/master
2021-01-12T08:00:15.348165
2016-12-21T16:46:21
2016-12-21T16:46:21
77,080,800
1
0
null
2016-12-21T19:37:18
2016-12-21T19:37:18
null
UTF-8
Python
false
false
969
py
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals import sys reload(sys) sys.setdefaultencoding('utf-8') base_template_path = "stock.html" import os, re import frappe from frappe import _ def get_context(context): # conte...
[ "noreply@github.com" ]
noreply@github.com
a2a4196517debb6b29438efaef7424708c6a4b21
8ab0d1c0f60805d5bcf17fff95da262a6361437b
/pages/migrations/0001_initial.py
a266b0418b490a8af96b48658f20ae47febe7c24
[]
no_license
singadkamlesh/new_carzone
b556bbb16f6f7336abe83f11cf300a54700c630a
a45f818949a9d6435a537e974c172bdd890405df
refs/heads/main
2023-08-21T23:06:41.769820
2021-10-17T18:12:54
2021-10-17T18:12:54
410,552,697
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
# Generated by Django 3.2.7 on 2021-10-05 19:13 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Trainers', fields=[ ('id', models.BigAutoFi...
[ "singadkamlesh1112@gmail.com" ]
singadkamlesh1112@gmail.com
8fa22e266e0395f7382bd4b576c237e3c295500c
97d4111cdd3b0657c05313eba0f555d4c5b9591a
/python/Find_Cuts.py
123924453c8190aaac165044998a81a15fd8d9cd
[]
no_license
ViniciusMikuni/ttbb-analysis
9d2b6fcf5adb4f26f813a0ca479657c5e62201e5
5d48e5e03bdd0ca162d3dd058f4ee02ef33a8460
refs/heads/master
2021-04-06T02:27:26.282579
2020-01-31T11:34:50
2020-01-31T11:34:50
125,236,195
0
1
null
2020-01-31T11:34:52
2018-03-14T15:44:17
C
UTF-8
Python
false
false
1,442
py
import os import sys import ROOT as rt import tdrstyle import CMS_lumi import array from Plotting_cfg import * import numpy as np from math import * from itertools import product rt.gROOT.SetBatch(True) rt.gROOT.LoadMacro("triggerWeightRound.h+") watch = rt.TStopwatch() npoints = 2 ntrials = 2 processlist = ['dat...
[ "vinicius.mikuni@gmail.com" ]
vinicius.mikuni@gmail.com
82988061d49923ba2608f9ad81a26352284fa476
cffd34002a945a7b7df40faea9b61c88c7a6cdb2
/content/migrations/0002_alter_customuser_options.py
a0acd30726342c49f8f8ec3177fd56aa91f83afd
[]
no_license
binel01/binel_blog_api
c6f21e8c939e912c65f5ab8e49f9960fc9fb24e9
e939dadcd84cec7a41367d702303ef2c543ca328
refs/heads/main
2023-06-15T16:48:21.774169
2021-07-18T21:17:12
2021-07-18T21:17:12
387,239,410
1
0
null
null
null
null
UTF-8
Python
false
false
382
py
# Generated by Django 3.2 on 2021-07-18 20:36 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('content', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='customuser', options={'verbose_name': 'customu...
[ "binelimanga@gmail.com" ]
binelimanga@gmail.com
9273d11433c99cd486d59b7efcdbdf73ababd159
83ed75056a4fa0a26e363ecf80fdb5390b9abe76
/web/decisions/subscriptions/__init__.py
ec796c778fac00714e1a872800e4d04f22d29a5c
[ "BSD-3-Clause" ]
permissive
okffi/decisions
a67ef9150dfa8585b82bb95da323e5b354be4532
e45d8c56cf244ef277ffeba6808e942564028b7f
refs/heads/master
2021-01-21T13:34:03.416056
2016-05-25T09:58:51
2016-05-25T09:58:51
53,145,413
3
2
null
2016-05-02T11:31:34
2016-03-04T15:36:21
JavaScript
UTF-8
Python
false
false
72
py
default_app_config = 'decisions.subscriptions.apps.SubscriptionsConfig'
[ "leo.o.honkanen@gmail.com" ]
leo.o.honkanen@gmail.com
90bd6692ba1c920aebf545909f10a2d5fe660622
c8036cb365243439b4a3593124eafdfba933a034
/src/loss/normal_6_class.py
445ac4273311e941f342bfc5794d5eeaf8cc2e37
[]
no_license
koike-ya/rsna
3a1150dc878bde6320ae4c1d965675460dd7de0d
c88c45cfa280b47f0fb48cc9df88954f83a551b4
refs/heads/master
2022-03-16T00:36:55.846905
2019-11-02T00:49:15
2019-11-02T00:49:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,715
py
dir_csv = '../../input/' dir_train_img = '../../input/stage_1_train_pngs/' dir_test_img = '../../input/stage_1_test_pngs/' # Parameters n_classes = 6 n_epochs = 5 batch_size = 32 import glob import os from pathlib import Path import cv2 import numpy as np import pandas as pd import pydicom import torch import to...
[ "makeffort134@gmail.com" ]
makeffort134@gmail.com
a9842b561d434c08f0edcb70fe2249ef742611fe
f759794cb30b8ad958544d64859f77700a83e7ab
/turdshovel/commands/dump.py
99dd5310c1503ab8892a1b11b489f90c73e1ea21
[ "MIT" ]
permissive
security-kma/turdshovel
6c209ca9bddf3a054007c76d7bcdaa80430cf66e
6f9d9b08734028fa819c590e8573ae49481dc769
refs/heads/main
2023-09-02T19:12:17.130267
2021-11-07T03:50:30
2021-11-07T03:50:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,870
py
import time from collections import Counter from typing import List import orjson import numpy as np import System from nubia import argument, command, context from rich import inspect from rich.console import Console from rich.table import Table from ..context import TurdshovelContext from ..core.parsing import pars...
[ "daddycocoaman@gmail.com" ]
daddycocoaman@gmail.com
b60b249ea8589a40ae6b771023665223f5155759
f4a903ab7c1cf4794eb68e6dd4585beb6a6fb67f
/capture_email/settings.py
ccd45961818e4d223070bb10c235b0c5a5c20492
[]
no_license
victorsls/capture_email
2c659519e1cd0f0bdf056287e7a02adc5acca97a
3d50c3dc25feb1a9ff66cd3970861d19dd416254
refs/heads/master
2020-04-18T13:29:02.510963
2019-01-25T15:09:23
2019-01-25T15:09:23
167,562,771
0
0
null
null
null
null
UTF-8
Python
false
false
3,313
py
""" Django settings for capture_email project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import...
[ "victorrafael@vago.online" ]
victorrafael@vago.online
f45f67405c41b10219c6e8c520535e03f857f815
2c338c524996844569a0ae36bb252af2b02e116b
/day_1.py
af5efd1d0f1fd50c37f2e5152d22afb76731f24d
[]
no_license
Thomas-G-Steinberg/advent-of-code-2020
dbc3cbeb7ef29c9ca1a2031cbfa3d2b63e3e6718
c3b04cc19cff598e51913618bbe8c1e691458d8e
refs/heads/master
2023-07-10T15:55:19.777471
2021-08-21T18:08:32
2021-08-21T18:08:32
398,625,139
0
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
from time import perf_counter def process_args(args): arglist = [] with open(args[1]) as fil: for line in fil: line = line.strip() if line: arglist.append(int(line)) return arglist def part_1(arglist): for x in arglist: for y in argl...
[ "67569229+Thomas-G-Steinberg@users.noreply.github.com" ]
67569229+Thomas-G-Steinberg@users.noreply.github.com
4d0508e30885cf44a76ce69e38cfca87985c97eb
0be02fc1ba339cfc895e79ac4f51b9e5c685ac79
/objects.py
89ca8b38f1c6c33398f6ece546cca0fd4e2f4ec9
[]
no_license
ezzatisawesome/python-practice
53afc04d7871d6f11e721b41d0bce72d64c9497b
1255ac842998f3aac21a8273d2a71ab6d0fd2671
refs/heads/master
2023-04-09T21:01:53.932381
2016-06-18T19:04:46
2016-06-18T19:04:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,157
py
class Parent: """A class representing a parent""" def __init__(self, fName="",lName=""): self.fName = fName self.lName = lName fName = "" lName = "" def printName(self): print("Full Name: " + self.fName + " " + self.lName) class Mom(Parent): """A class representing a m...
[ "weirdo weirdness" ]
weirdo weirdness
3034e22db3590a3232dd046d24f8618aed25a471
396c4a3b5bd37d0e11c436209fa84906ab3edc69
/LogisticServer/transaction/constants.py
75f115bea4b64daa89955803870d8ae7138da09f
[]
no_license
Sonal305/Major-Project
85a2357eeb6048aedc780688edb6d3d8c81efb61
d86d4063d4dddf4a5b35da878f37068df6e929e7
refs/heads/master
2023-04-01T11:47:37.531344
2021-04-07T09:55:10
2021-04-07T09:55:10
355,492,689
0
0
null
null
null
null
UTF-8
Python
false
false
13,308
py
contractAddress= '0x3c8092C319F87264f20933aD9EeBda977854fcC5' abi = '[{"inputs":[{"internalType":"string","name":"shipmentID","type":"string"}],"name":"getBOL_No","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"shi...
[ "sonalagrawal1515@gmail.com" ]
sonalagrawal1515@gmail.com
586a5cbeea1d2983ce82e60cd7eb36d91fed2790
aabff8fe30664a77853f0452d9ffa8cf81245710
/main.py
fd4e8158306db52237db1069974fb71be78c183d
[]
no_license
devansh-srivastav/licence_plate_detection
c90dfc48152be993a68c9c948b24ca3c23976bdc
4dc8ed1ff00e5ef5b16eda3bf5ce43267b5986e7
refs/heads/master
2022-08-01T00:29:33.117314
2020-05-27T16:49:34
2020-05-27T16:49:34
267,373,533
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
import cv2 as cv import os from process_images import ProcessVehicleImage from process_images import ProcessNumberPlateImage from process_images import write_on_image from segment_characters import segmentation from predict_characters import predict image_number = 1 image_extension = '.jpg' image_path = "car...
[ "noreply@github.com" ]
noreply@github.com