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
c4767da8378f003ac9190282710ba96538a83da9
03a5eae24136bad8af882f84bf988681712cbe88
/Python/sorting/generateRandom.py
4f3a430f77b844f90579056a3c911072946be0ac
[]
no_license
shivapbhusal/Algorithms
a1ff2e49533ae378d92f40f4f50f91acbc3d295f
f12edfa03d0602d140a8d0da1aa5353adbb35082
refs/heads/master
2018-10-04T22:23:44.371554
2018-08-28T02:15:18
2018-08-28T02:15:18
79,679,777
0
1
null
2018-06-07T23:02:22
2017-01-21T23:32:38
Python
UTF-8
Python
false
false
564
py
''' Python program to generate random numbers taking inputs from users. Author : Shiva Bhusal, Bowling Green State University Example, python generateRandom.py 10 20 50. Example generates 50 random numbers in between 10 and 20. ''' import sys from random import * inputs=sys.argv if len(inputs)>4: print('To many...
[ "civabhusal@gmail.com" ]
civabhusal@gmail.com
ee64a96adf0a748432514b471b63a1a09b6a5b00
5bafbb876741c44b2862b4e1ce7268a16dedbe88
/medical/diagnose/migrations/0003_auto_20190410_1809.py
d5bc64dbb258acc97c9c2497a53af9a8890d6ca1
[]
no_license
mostafa-yasen/MedicalHub
89013f4318be6da1915ca8979922e7d4dab33a18
9e03930680bc60bc22b99e6c1cd5847afed0df03
refs/heads/master
2020-05-07T14:42:39.179653
2019-04-11T01:38:36
2019-04-11T01:38:36
180,605,946
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# Generated by Django 2.2 on 2019-04-10 16:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('diagnose', '0002_diagnose_date_time'), ] operations = [ migrations.AlterField( model_name='diagnose', name='date_time'...
[ "mostafa.a.yasin@gmail.com" ]
mostafa.a.yasin@gmail.com
76533feaf853a436b1e82f3afca9979f1660a043
2c3dd44d29f0608aee12650ddd82d7728aaeff05
/Window.py
a3737483264aac7e9348f71c44b9f0695504f75b
[]
no_license
I-Agreed/chat
34b1c4aad6b1034f63dca4db77100e77422f2ad5
e38a2cb4bda0fb4837a596695c345a7ca66d76ad
refs/heads/master
2021-01-03T15:37:08.236893
2020-02-12T23:08:34
2020-02-12T23:08:34
240,134,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
from tkinter import * class Window(Tk): def __init__(self): Tk.__init__(self) self.text = Text(self) self.entryBar = Frame(self) self.input = Entry(self.entryBar,width=80) self.button = Button(self.entryBar,text="⮐",command=self._addEvent) self.text....
[ "noreply@github.com" ]
I-Agreed.noreply@github.com
7f2e92418ebc961674daa72de7125e47b7dde02c
6c187858cc31feafe5511e87c8421a6d1db15e57
/today.py
e019b5a209402a675508a7df881d302380e184a6
[]
no_license
harrisonzhou/learn-git
967b5a3072dc16fc959c3c3bf243cfcf239be4f6
e84e419ad01266b9d62e17055542c6ff18a8f1ec
refs/heads/master
2020-09-07T12:37:06.048719
2019-11-10T11:51:05
2019-11-10T11:51:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
9
py
snkdnkdss
[ "menghui1126@gmail.com" ]
menghui1126@gmail.com
336612530ea3fdc84f4dbb17020db43c0cb9183b
de1aa69f6527ff7694cb2a0e5b26835c8ce9f811
/test.py
edfc0453705e3d06fb9d5527cf8d9b6488a60b7c
[]
no_license
MitsuruFujiwara/Multi-Class
d35ea56986a79586286a98cd3737ad1627fae4a3
90d1419cf6420cd1c0c736470a15ac607a5f07b2
refs/heads/master
2021-01-11T01:28:05.286280
2016-11-05T00:59:08
2016-11-05T00:59:08
70,702,591
0
0
null
null
null
null
UTF-8
Python
false
false
1,756
py
# -*- coding: utf-8 -*- import numpy as np import pandas as pd from keras.models import load_model import matplotlib.pyplot as plt # load dataset df = pd.read_csv('dorcus_DL_test.csv') # number of class Cls = list(df['class'].unique()) # [1, 2, 3, 4] numCls = len(Cls) # set data Y = df['class'] X = df[['days_elap...
[ "fujiwara52jp@gmail.com" ]
fujiwara52jp@gmail.com
441f04ec37f00f1a178f6a4b96464e3bfdac3cad
cd972950f74ec33b3dde663c8d52ce3670941bc8
/T2F/implementation/data_processing/DataLoader.py
3075f27e7f78d334341b7cbac9c65fe3f35816ec
[ "MIT" ]
permissive
VishnuPrasad1998/Text_to_Face
623524e81ac86b0e527d4505b8047895eeaca0cf
7e9511db5ad0216aae557d7312bb7d0956c73896
refs/heads/master
2022-10-16T19:51:08.745120
2020-06-14T18:34:45
2020-06-14T18:34:45
271,945,627
0
0
null
2020-06-13T05:18:23
2020-06-13T05:18:22
null
UTF-8
Python
false
false
5,960
py
""" Module for the data loading pipeline for the model to train """ import PIL import torch as th import os from torch.utils.data import Dataset class Face2TextDataset(Dataset): """ PyTorch Dataset wrapper around the Face2Text dataset """ def __load_data(self): """ private helper for loadin...
[ "ajaydevofficial@gmail.com" ]
ajaydevofficial@gmail.com
30db2b179e3de1cf7fb03781514373c02c7764b9
4569d707a4942d3451f3bbcfebaa8011cc5a128d
/ticketimportplugin/0.11/talm_importer/ticket.py
b6f4af6dda51c4bc9d20d5862680362f812f9c3e
[]
no_license
woochica/trachacks
28749b924c897747faa411876a3739edaed4cff4
4fcd4aeba81d734654f5d9ec524218b91d54a0e1
refs/heads/master
2021-05-30T02:27:50.209657
2013-05-24T17:31:23
2013-05-24T17:31:23
13,418,837
0
1
null
null
null
null
UTF-8
Python
false
false
1,934
py
# # Copyright (c) 2007-2008 by nexB, Inc. http://www.nexb.com/ - All rights reserved. # Author: Francois Granade - fg at nexb dot com # Licensed under the same license as Trac - http://trac.edgewall.org/wiki/TracLicense # def PatchedTicket(*args, **argv): # Workaround a bug in Agilo, which # So import at the...
[ "farialima@7322e99d-02ea-0310-aa39-e9a107903beb" ]
farialima@7322e99d-02ea-0310-aa39-e9a107903beb
af530164828bc15363d0fe7b2cda91f65ffcb7e0
b2995f3a4774e756bba399c697158cba6e13fa0e
/climetlab_meteonet/ground_stations.py
6627d6b503d10848a2f65d1b22adc920f6974e84
[]
no_license
ecmwf-lab/climetlab-meteonet
1a477c312ccee93f19f1ccc9f14900faba73d7a2
e568ac32c3135689866a1d8db1e0f1a2b789f64d
refs/heads/main
2023-05-11T00:17:54.413208
2021-05-25T09:14:43
2021-05-25T09:14:43
351,114,421
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
# (C) Copyright 2020 ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status as an intergovernmenta...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
02260f9e4c5f481968d7ee331f69e52de8470aca
24a291e5eb298b7c2b4f1105d789ac488457b59c
/Python_Pandas_Basics/Pandas03_02_ClassEx02_김민교.py
dce85a08562d4572870e36702507d7725c4d3ad5
[]
no_license
gmrdns03/Python-Introductory-Course_Minkyo
da3afff502ed44f178d5b3885fbb1b01249ad1de
ef0d4e16aee3dba6a4a10c422ef68b1465745833
refs/heads/main
2023-05-29T16:08:31.814542
2021-06-23T13:32:14
2021-06-23T13:32:14
379,300,979
1
0
null
null
null
null
UTF-8
Python
false
false
709
py
''' [메서드의 또 다른 호출 방법] - 클래스를 통해 메서드를 호출하는 것도 가능 - 클래스 이름.메서드 형태로 호출할 때는 객체 a를 첫 번째 매개변수 self에 꼭 전달해주어야 한다. - 반면에 다음처럼 객체.메서드 형태로 호출할 때는 self를 반드시 생략해서 호출해야 한다 [함수] - 재사용을 하기위한 것 - 함수명() - 매서드: 클래스 안에 들어가 있는 함수 ''' class FourCal: def detdata(self, first, second): self.first = first sel...
[ "noreply@github.com" ]
gmrdns03.noreply@github.com
73b5d3ea1c057eb7356ee3d15832d64d09ff9e6e
2c32fca525d8ad6e9e7351a4602e4c65430c30bd
/synful/gunpowder/cloud_volume_source.py
0cafa5326db3c85069bedf4bb7b0bad55b25cd4f
[ "MIT" ]
permissive
funkelab/synful
c827596e3a8881e6ec1fdf8bdbbdb7dd3a3de478
dbd9fd6f822252fe3bc2501be13bf1087f31edca
refs/heads/master
2022-05-05T09:17:09.419825
2022-04-29T10:48:03
2022-04-29T10:48:03
166,422,086
7
1
null
null
null
null
UTF-8
Python
false
false
5,622
py
import logging import numpy as np from gunpowder.batch import Batch from gunpowder.coordinate import Coordinate from gunpowder.profiling import Timing from gunpowder.roi import Roi from gunpowder.array import Array from gunpowder.array_spec import ArraySpec from gunpowder.nodes.batch_provider import BatchProvider fro...
[ "juliab@ini.phys.ethz.ch" ]
juliab@ini.phys.ethz.ch
d28b1c5a0107a0a92dcf90fdfd7b20bf08fbb048
91e72ef337a34eb7e547fa96d99fca5a4a6dc89e
/workflows/reports/utils.py
6673c01a2476b7febcbc04b92c1909ad712057f5
[]
no_license
STAMP-project/descartes-amplification-experiments
deda5e2f1a122b9d365f7c76b74fb2d99634aad4
a5709fd78bbe8b4a4ae590ec50704dbf7881e882
refs/heads/master
2021-06-27T04:13:17.035471
2020-10-14T08:17:05
2020-10-14T08:17:05
169,711,716
0
0
null
2020-10-14T08:17:07
2019-02-08T09:32:43
Java
UTF-8
Python
false
false
2,292
py
import json from glob import glob from collections.abc import Iterable from collections import namedtuple, defaultdict from IPython.display import HTML, display class TableBuilder: def __init__(self, *headers): self.headers = headers or [] def display(self, content): cells = lambda va...
[ "oscarlvp@gmail.com" ]
oscarlvp@gmail.com
5a73e4c66269d897d23b753420192aeb686f6f46
ec82d46c0315ac58bff8afb1825e19ce3072387b
/UNIT/main.py
c21243e6521c9c32c8049c2b5102702a2eb750e7
[]
no_license
qaz754/Computer-Vision
b18263bbfc2b6dd165c34c349a0b461666082184
448e82fb94e9c1ad2f62aea348bb33832f11557a
refs/heads/master
2021-05-17T08:36:10.863641
2019-04-29T04:02:03
2019-04-29T04:02:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,466
py
from data_loader import AB_Combined_ImageLoader from image_folder import get_folders import torch from torch.utils.data import DataLoader import torch.optim as optim import torch.nn as nn from UNIT_Tester import Tester from network import Encoder, discriminator, ResBlock, Decoder from UNIT_Trainer import trainer i...
[ "noreply@github.com" ]
qaz754.noreply@github.com
e2242b101df482adf4254de71594955950200b6d
fd877cb919622d6a4efa305fb9eaec8a31e8dd37
/htdocs/plotting/auto/scripts/p3.py
43a473a9337effc87daa87f4482534026cdac275
[ "MIT" ]
permissive
NCiobo/iem
37df9bc466ffcbe4f6b1f9c29c6b5266559f200c
75da5e681b073c6047f5a2fb76721eaa0964c2ed
refs/heads/master
2021-01-23T09:39:33.090955
2017-09-05T16:34:12
2017-09-05T16:34:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,594
py
"""Plot monthly data over all years""" import calendar import datetime from collections import OrderedDict import psycopg2 import numpy as np from pandas.io.sql import read_sql from pyiem import network from pyiem.util import get_autoplot_context PDICT = OrderedDict([ ('max-high', 'Maximum High'), (...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
f8d9ea41782031890cc4878aa636451834b90db1
c422bbe672e9cdc3b456e86e34df1100c43f1d55
/BTheTools/raster/BinArray2Raster.py
bbc6d57d5399776ff393081dffa06906084b4e43
[]
no_license
brittth/Geoprocessing_with_Python
64647c9c675b1f6e61952312d4ddbcaa2ce6027b
6c952cbbc51da4fe23a41e34f7acb915ec09edae
refs/heads/master
2020-03-12T22:00:57.624405
2018-08-09T19:54:45
2018-08-09T19:54:45
130,838,939
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
from osgeo import gdal #BinArray2Raster --> write a binary array into a raster file # input requires template raster file (originfile_path) def BinArray2Raster(outfile_name, originfile_path, x_offset, y_offset, array): ds = gdal.Open(originfile_path) # Get the basic properties of the raster file gt = d...
[ "britta.themann@web.de" ]
britta.themann@web.de
d566c7f2c5700454289a6610752998e9a5bc2671
91b8a4c7278e25012733de1af7c3f14d5d3c6688
/reservation/views.py
52520b64f7e88f59ba0c393479981b69222639f7
[]
no_license
FernandoSka/dogger
ab35d5730f579b5798a6f1db9e9c134a4eedb440
b2a8a550936f4d9947518f71acf643d651c99f2d
refs/heads/master
2020-04-18T16:19:03.458129
2019-01-28T18:15:26
2019-01-28T18:15:26
167,631,179
0
0
null
null
null
null
UTF-8
Python
false
false
11,920
py
from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from .serializers import ( ReservationSerializer, CheckSlotSerializer, ReservationItemSerializer, ReservationDetailSerializer, ReservationEditSerializer, ReservationStatusSeria...
[ "yayo280.fl@gmail.com" ]
yayo280.fl@gmail.com
bf8c6906fc14704e22097081fd8e3aec9c046f8e
88df1211899f2a1e78a3230133895b0870197ead
/rango/admin.py
2d1181ee7039fbec248048851ef08c462c8928e6
[]
no_license
Hindu7/django
62f7a296720d92eb7b9bf318ba0f32279cfc4b21
8b2d28cdace89f26eb0e2e8ecdc374f3bfb2ffdd
refs/heads/master
2021-01-23T06:10:36.164126
2017-06-01T06:31:44
2017-06-01T06:31:44
93,014,327
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from django.contrib import admin #from django.contrib import admin from rango.models import Category, Page admin.site.register(Category) admin.site.register(Page)
[ "hindu.gundala@gmail.com" ]
hindu.gundala@gmail.com
d852d22ac25a7361a6e0a4b0666ee46e3e2ee712
14331a9e96087cc1c02e76f1a35301d1331d3655
/metpy/bl/__init__.py
88fc180bf9161fc2e7544d614a84a2e854b63e25
[ "BSD-2-Clause" ]
permissive
rayg-ssec/MetPy
3cc50a1e1138fa90b7cac22605889bb77c2910fa
37ccacd151b933a1bdbe4579ed4fa0a2a72201a5
refs/heads/master
2021-01-17T14:36:01.604935
2013-11-15T17:42:31
2013-11-15T17:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
from rotations import * from mos import * from fluxes import * from spectra import * from hos import * __all__ = [] __all__.extend(rotations.__all__) __all__.extend(mos.__all__) __all__.extend(fluxes.__all__) __all__.extend(spectra.__all__) __all__.extend(hos.__all__)
[ "sarms@150532fb-1d5b-0410-a8ab-efec50f980d4" ]
sarms@150532fb-1d5b-0410-a8ab-efec50f980d4
686fe7bceaf067068da8ff5453e29fc1b1837c5c
58b293a0fe4e5184eadd65ea0471563b1d70f416
/Helper/Boards.py
d3b2d63b382b27f0db5e5d51e6af3d6dae59d7d1
[]
no_license
JustJust03/Sudoku-Solver
d5ee833675288a59ce8677c6b1c4b45971bf2645
33871ff31ee9a3a00d8436c6579ff960928293fd
refs/heads/master
2023-01-19T08:48:27.485211
2020-10-31T23:26:30
2020-10-31T23:26:30
303,111,353
1
0
null
null
null
null
UTF-8
Python
false
false
2,663
py
# 10 means the cell is emtpy, 11 means the cell is selected, all the other numbers represent themself. from copy import deepcopy import json with open(r"Z:\justh\pycode\Shared_project\Sudoku\Helper\boards_data.json", "r") as json_read_file: board_data = json.load(json_read_file) def get_name(): print("\nPl...
[ "62966005+JustJust03@users.noreply.github.com" ]
62966005+JustJust03@users.noreply.github.com
370515743a6d765b7e325016b54c799e6ddeba05
0add7953d3e3ce2df9e8265102be39b758579753
/built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/datasets/pytorch/common/avazu_util.py
c620932c8557412d45a9a11d60479a24affe57f7
[ "MIT", "Apache-2.0" ]
permissive
Huawei-Ascend/modelzoo
ae161c0b4e581f8b62c77251e9204d958c4cf6c4
df51ed9c1d6dbde1deef63f2a037a369f8554406
refs/heads/master
2023-04-08T08:17:40.058206
2020-12-07T08:04:57
2020-12-07T08:04:57
319,219,518
1
1
Apache-2.0
2023-03-24T22:22:00
2020-12-07T06:01:32
Python
UTF-8
Python
false
false
12,229
py
# -*- coding: utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the...
[ "1571856591@qq.com" ]
1571856591@qq.com
b87371ab7fd14622a0ebe282be2dbbe4418af1d8
6f8267e19ad9bf828432d34780e7dde92fed054b
/src/net/left1Net.py
92229151ca8d33c0c35ecd3503cb26d2cced4a28
[]
no_license
ravika/expresso
3129b5227cfc664d2adbec8c768bea9751898e0b
319380d25e2ca4fc6111651d8e1c7cd98ad44a25
refs/heads/master
2016-08-03T19:32:15.823161
2015-05-02T10:16:37
2015-05-02T10:16:37
35,533,945
1
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'left1Default.ui' # # Created: Sat Mar 7 00:20:17 2015 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except A...
[ "ravika@gmail.com" ]
ravika@gmail.com
36ef0a8f9aa9263a3e31b77cbfcb1e1ec6ca486f
28b4243e031772102433bc951a75ff04b2d6e51f
/src/utils/dataset.py
c70ff88b4a24a00f47b876ef09db43b79c746db2
[]
no_license
mana-ysh/gaussian-embedding
6ffb8389e58cc21dc580da0b642a506b0963b961
1bfa3ad1d132074a8a4903a333c4d009e760f26c
refs/heads/master
2020-03-11T14:27:46.106834
2018-04-23T12:34:01
2018-04-23T12:34:01
130,055,158
2
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
import numpy as np np.random.seed(46) class TripletDataset(object): def __init__(self, samples, n_entity, n_relation): """ Args: samples (list): each element has (sub, rel, obj) tuple """ self.samples = samples self.n_entity = n_entity self.n_relation ...
[ "manabe.hitoshi.me0@is.naist.jp" ]
manabe.hitoshi.me0@is.naist.jp
c9e57d610ba266cc60bfcc1818fd8408ed429738
bdbdba10cd0d1fa501296262d5f26a6307a98004
/Back End/LoadRecommendation.py
d789056f0d79a158489812b0d62093fa677766f6
[]
no_license
ben444422/Recommendit
7ed796f830bf1c9a11d4c6c0d48471232ac8a035
f3f1e5573a7e8ec30767759111ce8978e4bf5def
refs/heads/master
2021-01-22T01:28:06.250631
2013-05-13T03:55:05
2013-05-13T03:55:05
9,990,109
1
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
#!c:\Python27\python.exe import sys sys.path.append('C:\cgi') from test import * import json import cgi import string import operator import praw from time import sleep from Recommender import Recommender sys.stdout.write("Content-Type: application/json") #sys.stdout.write("Access-Control-Allow-Origin: *") #sys.std...
[ "ben444422@gmail.com" ]
ben444422@gmail.com
319cf34f2dfa9440f2440fd2bef95c5747f4bd07
c2fffb21b428333d323499becdfddddf4669a19b
/myproject/accounts/views.py
6d952c1c6bf640433c24b764d37cb778e011f43d
[]
no_license
NoorHudaNusantara/CoffeShopku
274acc2863b77aa446ad4d22da8c8fd6d7ea5ff8
3de06c17887d68556253307f71c214c85d615f77
refs/heads/master
2023-08-28T00:04:51.639117
2021-05-02T06:38:22
2021-05-02T06:38:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,529
py
from django.shortcuts import render, redirect from django.http import HttpResponse from .models import User from .forms import UpdateUserForm,AddUserForm,GroupsForm,PermissionsForm,ProfileUserForm from django.views.generic import CreateView, DeleteView, UpdateView,ListView from django.shortcuts import render_to_respons...
[ "muhamadfahri3rd@gmail.com" ]
muhamadfahri3rd@gmail.com
78ff1d64ba6566189c91a8b351b277f04b668620
e229df610461f7a8c30b78913be752be1c782003
/leetcode/0006.py
533f9a43f72c7ee494c60a75e788e6a458867732
[]
no_license
DorakAlba/AlgorithmPractice
4ea2de99d961b8b78f9fe6feb00b773546e06afa
ac748d18158217b32fb72bcf4123adc4ae07b21d
refs/heads/master
2023-08-17T14:31:18.567241
2021-10-10T03:44:49
2021-10-10T03:44:49
395,757,118
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
class Solution: def convert(self, s: str, numRows: int) -> str: if numRows==1: return(s) left = True index = 0 word = ['' for _ in range(numRows)] for number, letter in enumerate (s): word[index]+=letter if index == numRows-1 or index ==0: ...
[ "mr.demyank@gmail.com" ]
mr.demyank@gmail.com
e671a62633f1f02b19a488dc9a39f314d2417282
b2ae2ba33c4dea5c80e1088003a71c60aa1fe709
/views.py
17d51019de081ea7ff7ca37a3fcb339f5e50fa57
[]
no_license
TaktEsy/djaler
ddc6523d4bc89957a1940b79d2ec37803866d4de
6f09721805c8094883155528b4d2fe4601dc553b
refs/heads/master
2020-03-31T22:50:55.774390
2019-02-24T19:37:29
2019-02-24T19:37:29
150,972,293
0
0
null
null
null
null
UTF-8
Python
false
false
4,475
py
from backends.ajaxmixin.edit import * from backends.base import BaseProtection from backends.abc.basic_abc import basicViewAbstract from django.contrib.auth.decorators import login_required from django.http import * from django.views.generic.edit import CreateView from django.views.generic import ListView from django....
[ "adam3145@yandex.ru" ]
adam3145@yandex.ru
cc3a5c2278d6e43fcecbf25ab80c5f46ae96e0b9
4420e640424e837749ec95b0ca645627817ce322
/open-hackathon-server/src/hackathon/hack/admin_manager.py
255adb3975c1d21de95f14f8c0f3e67a03f17f26
[ "MIT" ]
permissive
Fendoe/open-hackathon-o
579d732c151c00e1eefddb8b833887237dd38c69
39689ab7a9a4d41b6a2d35a61e28a022705c60b8
refs/heads/master
2021-01-17T23:25:48.581552
2015-08-13T07:29:10
2015-08-13T07:29:10
32,976,428
0
1
MIT
2019-04-03T19:51:40
2015-03-27T08:55:25
Python
UTF-8
Python
false
false
7,872
py
# -*- coding: utf-8 -*- """ Copyright (c) Microsoft Open Technologies (Shanghai) Co. Ltd.  All rights reserved. The MIT License (MIT) 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 res...
[ "juniwang@microsoft.com" ]
juniwang@microsoft.com
212868cd2650c479903543906d773c55501357da
7efabf599aaf53728a681639bc57cadc3abe6bde
/python/cugraph/cugraph/gnn/data_loading/__init__.py
6150bf5b42270f46b91e3bd32580849d8095d1c1
[ "Apache-2.0" ]
permissive
rapidsai/cugraph
49b5378271c72c155f55d916a3c1cc1fbe05ceca
cafded113c9545e5e7211cc965f53c00939307c0
refs/heads/branch-23.10
2023-08-26T19:36:33.631587
2023-08-25T13:49:23
2023-08-25T13:49:23
157,752,451
1,403
310
Apache-2.0
2023-09-13T17:01:25
2018-11-15T18:07:11
Cuda
UTF-8
Python
false
false
663
py
# Copyright (c) 2023, NVIDIA CORPORATION. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "noreply@github.com" ]
rapidsai.noreply@github.com
bec84b1be3c3866bc52141724cb43957de3e8931
655f463e8a357a649972782b2a338be03044b119
/triangle_P3.py
fe379fe16708a57cd248037e62b51ef9dc22d067
[]
no_license
covy92/algorithmPrac
01c29476ebe869c1bcd15133f95e44ba7e9b59b2
86c9691d86b6275026195e3c2fe0e34778f03159
refs/heads/master
2023-09-04T16:49:09.994580
2021-11-05T01:54:28
2021-11-05T01:54:28
422,837,985
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
from rich.console import Console console = Console() def solution(triangle): len_t = len(triangle) ans_list = [[0]*len_t for _ in range(len_t)] i = 1 k = 1 first = triangle[0][0] ans_list[0][0] = first while i < len_t: while k < len(triangle[i]): ans_list[i][k-1] = ma...
[ "tjddlf1232@gmail.com" ]
tjddlf1232@gmail.com
92e5e130438b23b67c99c2f8a7a6561226c0ff88
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/doc_vector/RogePAV2.py
7f12c1719fc6f0d957fb8e9021988655bd0ca424
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
1,061,277
py
vect = [0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 0, 0, 0.0, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0.0, 0.0, 0.0, 0.0, 0, 0.0, 0, 0.0, 0.0, 0, 5.723585101952381, 5.723585101952381, 5.723585101952381, 5.723585101952381, 0, 0.0, 0.0, 0, 0.0, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 0.0, 0.0, 0.0,...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
31fbc26c5f2ca35a6766f16bb06e1406b475538c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02797/s574616927.py
cbde4f36049a32862b9db2085b2fa2bab691cfb8
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
N,K,S = map(int,input().rstrip().split(" ")) ans = [] if S != 10 ** 9: for i in range(K): ans.append(S) for i in range(N - K): ans.append(S + 1) else: for i in range(K): ans.append(S) for i in range(N - K): ans.append(1) print(" ".join(map(str,ans)))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9095c4054c9f569fbabcf967d83cd232a157ffa1
ee5e2e7962c9ca47cde67e493bb193637ce995bb
/word-embeddings/fconv.py
908a5202b78aafe388b55c1c63f3ceaeda5e092b
[]
no_license
xinlux97/topic-aware-CNN-experiments
f9affbf0f67b56b9be0f0700e6e7cd30e388fed2
e69de73798ec93a13267826b050723050bdc38ca
refs/heads/master
2022-12-07T04:55:16.240426
2020-09-06T23:20:16
2020-09-06T23:20:16
293,358,406
0
0
null
null
null
null
UTF-8
Python
false
false
32,879
py
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. # # Modified by Shashi Narayan (201...
[ "noreply@github.com" ]
xinlux97.noreply@github.com
8c8de8748aa98261f5fc68b1a8e9557927bf074d
e2ab8200b81d7c3d5b0f6bd090aa8c587fe8ae35
/linearsearch.py
0c7e49593ec4237d76eff4f2f854538710c4b782
[]
no_license
Ananth-Adhikarla/Python-Programming
d13c320e5d23407acc62842848975051fde2057b
b3b03dac771c3c6337c1cd5016ce4f8826e1058d
refs/heads/master
2020-03-12T04:54:55.975415
2018-04-21T08:13:06
2018-04-21T08:13:06
130,453,799
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
""" Linear Search """ def linear_search(dataset): key = int(input("Enter the key to search in list ")) flag = False for i in range(len(dataset)): if(dataset[i] == key): flag = True print("Found the key : ", key , " in the index " , i) break; if(flag == False): print("The key you are searching ...
[ "ananth.adhikarla@gmail.com" ]
ananth.adhikarla@gmail.com
ab2ad605ce880afe56fc9105be7433ff9e0f75da
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/Others/paken/pakencamp-2018-day2/b.py
53715b5e2a203b9598c24c48fae7793384caf6c1
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
309
py
# -*- coding: utf-8 -*- def main(): n, d = map(int, input().split()) a = sorted(list(map(int, input().split())), reverse=True) if n < d: print(0) else: members = [0] + a[:(n // d) * d] print(sum(members[::d])) if __name__ == '__main__': main()
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
ce668581e27c25cea5b5d1ea425782c14a0b9972
76248f61de4008133e0f57e61be09fc6acc6bcbe
/relativipy/classes/05/ET.py
bbaf96856e8f2d4c580a131931995a776f6a1d2e
[]
no_license
gausstein/relativipy
dd4a5cae0aef28b6f8da8b7705ff644361890242
536b78c4d0efee94af1df4672e5376bffdde4c10
refs/heads/master
2016-09-16T14:18:03.240265
2011-03-11T20:51:28
2011-03-11T20:51:28
1,469,528
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
# -*- coding: utf-8 -*- from sympy import * from Tensor import * #from Metric import * #from Ricci import * #from Rscalar import * class ET(Tensor): def __init__(self, Ric, g, Rs, dim=4, tensortype=(0,2), symbol='G'): Tensor.__init__(self, symbol, tensortype, dim ) self.g = g self.Ric = Ric self.Rs = Rs ...
[ "gausstein@gmail.com" ]
gausstein@gmail.com
104440a17d17d0cbf6842f048d363baeda375f4a
76f3d94b41d560fd803ba64bd00bb3f2ca10767b
/env/lib/python2.7/site-packages/selectable/base.py
9570a19454695dfc7ee5a556ace3a93031448dc3
[]
no_license
Akinrinade/aptoide
9877a1e81a259e35453fe4ffe39a56fc9f6a787b
bb5468289398c1708712488bc345e6f752e34746
refs/heads/master
2020-05-18T11:45:33.423178
2019-05-05T18:55:42
2019-05-05T18:55:42
184,386,803
0
1
null
null
null
null
UTF-8
Python
false
false
5,079
py
"Base classes for lookup creation." from __future__ import unicode_literals import operator import re from functools import reduce from django.conf import settings from django.core.paginator import Paginator, InvalidPage, EmptyPage from django.http import JsonResponse from django.db.models import Q, Model from django...
[ "aakinrinade@igc.glbenkian.pt" ]
aakinrinade@igc.glbenkian.pt
1213885197311c64a066c68e8d7564ce1217652b
87df068bd46b7a3d2d7f1132bd282fa316271ed9
/pgv_example.py
50e2f59b7375196587ec7842c325a8b0208abcbf
[ "MIT" ]
permissive
MelyPic/labgaif
e888a455c28691692f44d06a2b57d40aa90981c6
d5e10a8fa9a5117fccab1e73fddd09fddba1001d
refs/heads/main
2023-07-20T04:57:37.143536
2021-08-29T05:32:36
2021-08-29T05:32:36
392,069,141
0
0
MIT
2021-08-30T18:53:21
2021-08-02T19:23:03
Python
UTF-8
Python
false
false
798
py
from itertools import product import pygraphviz as pgv d = pgv.AGraph(compound = "True") # compound allows for edge clipping at clusters d.add_edges_from(product('ABCD', 'FGH')) d.add_subgraph(nbunch = 'BC', name = 'clusterBC', style = 'filled', color = 'yellow') d.add_node('X') d.add_edge('X', 'B', lhead = 'clusterBC...
[ "jose.luis.balcazar@upc.edu" ]
jose.luis.balcazar@upc.edu
1710f51b8d90f4b69bb2ffef7a00b214652a274c
3b85d4cb3bc27c73d78eeeae6698d661dfca9353
/366A.py
3b439d554276da5fb4edfb60c32d6e35bcdd1ff4
[]
no_license
nazmul1487/CodeForces-Solution
10ab47eafc16e84023683ee6e703a0b15eb883cd
813f17a01383d0f64b10c948a386c399a79e353a
refs/heads/master
2021-07-02T15:12:04.018457
2021-02-24T05:29:02
2021-02-24T05:29:02
224,510,211
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
n = input() a="" b="" for i in range(1,n): if i>1: a+="that " if i%2==1: a+="I hate " else: a+="I love " a+="it" print(a)
[ "nazmulhasannoman111@gmail.com" ]
nazmulhasannoman111@gmail.com
be6b93b9ddc0f94173d7ad47daf9a87992d3e72e
d90ce95b904c2ecf2376c8ec87069e8a4ba606e6
/Code/SubsectionOfCode/mavutilTest.py
e8aae1eee67a60019708091ea2ea2c4c85aac1cb
[]
no_license
AZAutonomous/2019_SensingTeam_Code
cbdf108718662af498afd13f3a9a1a12db960c67
ce5e563d0866b0defb1a95ad446044e86b6e8622
refs/heads/master
2020-07-29T05:45:32.875934
2020-02-07T00:19:50
2020-02-07T00:19:50
209,688,567
0
0
null
2019-11-09T19:08:01
2019-09-20T02:29:47
Python
UTF-8
Python
false
false
1,542
py
from pymavlink import mavutil import serial import threading import os import sys def getPos(): global latitude global longitude global altitude global heading threading.Timer(0.2, getPos).start() try: posMsg = pixhawk.recv_match(type="GLOBAL_POSITION_INT", blocking=False, timeout=10.0...
[ "andresbarragan@email.arizona.edu" ]
andresbarragan@email.arizona.edu
bb94e1974d12eb3a54ee4976b7d4394e6f4fa2f2
1b90c4af5cafdc0906f358b7dc7749ee0318ec0a
/Testcase/_0BackOfGw_Case/_1GateAccount_TestCase.py
031020b520f53ccf8b7dd0b75c2fb68752992a9e
[]
no_license
qiaohj123/myproject_auto
8a63005f7932edd8a48f6d39061586146ac2cea4
2cf64a3bdbd462247e4b2587fcf11d6cbec04322
refs/heads/master
2020-11-28T02:51:45.217860
2019-12-24T03:09:27
2019-12-24T03:09:27
229,686,362
0
0
null
null
null
null
UTF-8
Python
false
false
6,165
py
# -*- coding:utf-8 -*- from rbemp_po.Common.CommonLib import * from rbemp_po.Pages.BackEndGw_module.GateAccountpage import GateAccountpage import unittest from selenium import webdriver class GateAccount(unittest.TestCase): def setUp(self): self.dr = webdriver.Chrome() self.dr.maximize_window() ...
[ "2920143453@qq.com" ]
2920143453@qq.com
3e43f9b2458f2b095c64f00e5a2e10b8f6fbccc6
cca3f6a0accb18760bb134558fea98bb87a74806
/abc149/E/main.py
e76c6169abe19abed9ce53d21434c44e78ae17a3
[]
no_license
Hashizu/atcoder_work
5ec48cc1147535f8b9d0f0455fd110536d9f27ea
cda1d9ac0fcd56697ee5db93d26602dd8ccee9df
refs/heads/master
2023-07-15T02:22:31.995451
2021-09-03T12:10:57
2021-09-03T12:10:57
382,987,918
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
#!/usr/bin/env python3 import sys def solve(N: int, M: int, A: "List[int]"): return # Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template) def main(): def iterate_tokens(): for line in sys....
[ "athenenoctus@gmail.com" ]
athenenoctus@gmail.com
bafc251a7929a86e5c993f1ca9a6bb7b9bafef3c
b547f0ef3eef68cd5ae65a1daf9d4334e77482da
/euler 13_digit finder summer.py
ed5f95f35fae34911801b6236f2b0305d0f3b65e
[]
no_license
Justintc217/recursiveparadox
643585cda69df8d48baac1ec0183bf48d302b771
4e3075f6177df084e4e6bb03a50f3b3eb09016ca
refs/heads/master
2021-01-12T11:52:54.147621
2017-11-20T04:54:06
2017-11-20T04:54:06
69,512,714
0
1
null
2016-10-06T01:37:16
2016-09-28T23:44:30
Python
UTF-8
Python
false
false
5,592
py
# goal: find first 10 digits of these 100 50-digit numbers summed together cat = ('''37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574161572522430563301811072406154908250 23067588207539346171...
[ "noreply@github.com" ]
Justintc217.noreply@github.com
4a2fa58066a361efa31eceb89fb89ecbcd87e6a2
e3caef80d8af92cc5494b6925719b873965c7d82
/Garbage_FlyAI/model.py
7cf0340b77a9df72747505037b73c81776189891
[]
no_license
passionzhan/flyai_contest
1791312bb5787b68f1d14b3e7e1e6c1293b997c2
45d0b7d37c515e90ac355be406be5b04e7b250cf
refs/heads/master
2020-06-18T16:01:01.817263
2019-12-17T03:17:13
2019-12-17T03:17:13
196,356,962
6
2
null
null
null
null
UTF-8
Python
false
false
1,356
py
# -*- coding: utf-8 -* import os from flyai.model.base import Base from keras.engine.saving import load_model from path import MODEL_PATH KERAS_MODEL_NAME = "model.h5" class Model(Base): def __init__(self, dataset): self.dataset = dataset self.model_path = os.path.join(MODEL_PATH, KERAS_MODEL_NA...
[ "9824373@qq.com" ]
9824373@qq.com
17736c42adf8ba9e2d97ddaa9e38369985c56281
8f1f94c777e14d3b02f3590cca32318ed1ae345d
/currency/apps/currency_processor/tests/tests_processor.py
d76d67991a10569ccb2441a9271c3082cf6f556a
[]
no_license
rizkiihza/currency
8ee617826a10b155dae8bbb7b22efe4e2f5c965b
eaff557e20ab1ce41d9a2063330ce969c5666c68
refs/heads/master
2020-04-22T16:29:08.780310
2019-02-17T04:59:20
2019-02-17T04:59:20
170,509,040
0
0
null
null
null
null
UTF-8
Python
false
false
7,255
py
from django.apps import apps from django.test import TestCase from django.utils import timezone from datetime import timedelta from currency.apps.currency_processor.processor.rate_processor import RateProcessor from currency.apps.currency_processor.processor.rate_watched_processor import RateWatchedProcessor from curr...
[ "rizki.ihza@gmail.com" ]
rizki.ihza@gmail.com
7cb60478220ec961a16fc14a04aec13046b2820f
c6e128d371af378fdb0dcf2cdbdd1648bd2ec1de
/04_test_templat/SConstruct
76533c503eee8381db4d48f4662fa795651b4470
[]
no_license
qshan/cpptest_qshan
a1c0cd7118fcf1eaf07ee4c78d9680b3776383d2
d7825d98ac00ca6846a86f697c4fda257307d32d
refs/heads/master
2022-03-06T01:28:20.067791
2022-02-24T16:56:35
2022-02-24T16:56:35
72,749,993
0
0
null
null
null
null
UTF-8
Python
false
false
2,500
#good doc #https://scons.org/doc/production/HTML/scons-user.html#app-functions #Library('',[]) #Library('TestSharedLib', ['../src_shared/test_shared.c']) #Library('TestSharedLib', ['../src_shared/test_shared.c'] ,CPPPATH=['../include']) #Program('',[]) #Program('test' ,['../src/test.c' ,CPPPATH=['../src' ,'../scr_sh...
[ "frankqs0304@hotmail.com" ]
frankqs0304@hotmail.com
41318527630efa3a7ec49846da7799fb97722c02
236ded75aefcf965c582538f1b56d21b161cd3c5
/trustery/testDir/callct836.py
c0f8191b3a15ac5b79b212f10fcf4f35ba2329e6
[]
no_license
rogerioita/ICPChain
7fc1c7c5df289ed31fd2ad71cee400eac3d253cb
87f2b001f5297396be6cb3aa9dd0c42236587038
refs/heads/master
2023-03-10T20:57:49.479052
2021-02-16T16:27:23
2021-02-16T16:27:23
336,806,143
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
#!/usr/bin/env python import os os.system('node ct836.js')
[ "rogerio.santos@ga.ita.br" ]
rogerio.santos@ga.ita.br
a9dc59d29ac6dda0c42dd59a36f6741176791d58
71e30ebb56ba12516b40231620f4eb5d62cd0551
/test/test_linuxCNC_formatter.py
dd3b28093f78c98adfc7a243805058c70f295a01
[ "Unlicense" ]
permissive
MrSamuelLaw/sherline_lathe
ab370e9ee85f32cb07fa77524ff8b88e508c4eff
7e5d0e38ac72c96587f4e7fe2ffa7e2d03b7ff32
refs/heads/master
2020-12-22T12:20:06.349889
2020-10-29T15:33:22
2020-10-29T15:33:22
236,777,585
0
0
Unlicense
2020-10-29T15:33:23
2020-01-28T16:10:35
Python
UTF-8
Python
false
false
4,773
py
#!/usr/bin/env python from linuxCNC_formatter import linuxCNCLatheFormatter import unittest from os import path from inspect import cleandoc class test_linuxCNCLatheFormatter(unittest.TestCase): def setUp(self): self.lf = linuxCNCLatheFormatter() def loadTestFile(self, fname="nc_no_edits.nc"): ...
[ "samuel.law2@gmail.com" ]
samuel.law2@gmail.com
dbf6d153ee58f9f0502bccc4e305ad490011da1a
7a1b08c64b29522d4bbb913475275c1bc8ad61a4
/labo/resultlabo23.py
1dfee5d83c5cd7567f5c2d07058ea0435d50f19c
[ "MIT" ]
permissive
erichilarysmithsr/time-track
8f84d4cc92cebaedce550b3741982d204e734a6c
dc0a7b63c937d561309f9b1c84af65fb581a8e18
refs/heads/master
2023-03-27T08:07:46.717221
2021-03-30T16:45:50
2021-03-30T16:45:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,686
py
#!/usr/bin/python3 # -*-coding:utf-8-*- from tkinter import * import tkinter from tkinter import messagebox import os import subprocess import platform import time def sheetLabo(): """ For openning file at pdf format with a bit prog-sys code. For Linux, Windows and MAC. """ beca...
[ "philogenie@protonmail.com" ]
philogenie@protonmail.com
cbebdc767233870c39e90ab0362c47d74b9ca378
28ea1b1d1639aa2621165e544c9c3c4f3696a17a
/isinstance.py
d78d5c146fa4f5bb1daab5e46513ed930c945208
[]
no_license
rohini-nubolab/Python-Learning
1ae27f25c489fdc8639ebb9db4d393c732522a5f
78a13040f9b30f665e987b1464dca63ff77f2a8b
refs/heads/main
2023-07-17T16:14:55.325237
2021-08-24T13:36:04
2021-08-24T13:36:04
337,945,785
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# Determine if School_bus is also an instance of the Vehicle class class Vehicle: def __init__(self, name, mileage, capacity): self.name = name self.mileage = mileage self.capacity = capacity class Bus(Vehicle): pass School_bus = Bus("School Volvo", 12, 50) ## use Python's built-in ...
[ "rohini@nubo-lab.com" ]
rohini@nubo-lab.com
96ae6eaac3f98ee768770f0f64830b5139381142
42c44f014cee159ffc964c7279a39b23b37a9090
/hafaproj/settings.py
0c5322c467d7c7598a5b4b6bf6c7ab4f5e34faf4
[]
no_license
umasongo/hafa-project
44646b836457a046fa0be18716aff3d5193e4374
22f4009c1703091f779c692f6d4febaf9876931b
refs/heads/master
2021-01-20T11:22:44.043252
2015-07-26T01:27:30
2015-07-26T01:27:30
39,567,339
0
0
null
null
null
null
UTF-8
Python
false
false
2,703
py
""" Django settings for hafaproj project. Generated by 'django-admin startproject' using Django 1.8.3. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build pat...
[ "umasongo@gmail.com" ]
umasongo@gmail.com
745dd5e6bcbe1e8c29b0c422ab8644797a031295
155cac3303669df86e1a863f13c5a45eac24e60d
/flint/fortlines.py
9aa486ddd40ddac2007ae7f265d5a30351057edc
[]
no_license
aidanheerdegen/flint
dbcd9452f36fd1df15ac5d63d1c683a631e839fe
551c3a8d7c0bec79047ab505c296155ec3e8d648
refs/heads/master
2021-01-22T04:32:58.793691
2017-05-29T04:39:02
2017-05-29T04:39:02
92,471,144
0
0
null
2017-05-26T04:09:42
2017-05-26T04:09:42
null
UTF-8
Python
false
false
1,009
py
class FortLines(object): """Fortran source line iterator.""" def __init__(self, lines): self.lines = iter(lines) self.current_line = None # Split lines self.buffered_line = None def __iter__(self): return self def next(self): return self.__next__() ...
[ "marshall.ward@gmail.com" ]
marshall.ward@gmail.com
48ef2d45085aea6f58b312ae81222fc5bf6f8c6b
7564b7975004f37fe2f724523d4ba628fd27315c
/run_fakedata.py
bd52da0149790cbb3a05bb8db3200cf78abda154
[]
no_license
vashineyu/hpc_benchmark
fb01d489b950f5dfb4512608fbf480e3934f8794
f7381f731cd6f88aa55f41acf3eda898f42f648d
refs/heads/master
2020-04-07T16:26:04.306906
2018-12-19T04:10:55
2018-12-19T04:10:55
158,529,098
0
0
null
null
null
null
UTF-8
Python
false
false
10,189
py
from __future__ import print_function import os import sys import numpy as np import pandas as pd import time import glob import re import random import datetime import pickle #import cv2 import tensorflow as tf import argparse ##################### ####### Setup ####### ##################### parser = argparse.Argume...
[ "vashineyu@gmail.com" ]
vashineyu@gmail.com
f1883258b92a99de57a9e07265af719defcdfd7d
5a2c7890fb322625131cbfe78f0f40d60f939851
/04/IterateOnItemsInSeparateContainers.py
51f1184fdebc1670194f64e8bc0d8e31fdeba8ce
[]
no_license
srea8/cookbook_python
4fb16e2d67a1ff9c6e1b915862147d3282cc5107
770fbe39d337ed654a58bdfa2fe6018a0868893c
refs/heads/master
2021-07-07T09:49:45.374026
2020-11-11T15:47:45
2020-11-11T15:47:45
207,128,041
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
# !/usr/bin/env python # -*- coding: utf-8 -*- # @Author: Srea # @Date: 2019-09-30 17:55:59 # @Last Modified by: shenzhijie # @Last Modified time: 2019-09-30 18:00:42 #****************************# #想在多个对象执行相同的操作,但是这些对象在不同的容器中,你希望代码在不失可读性的情况下避免写重复的循环 #itertools.chain() 方法可以用来简化这个任务。 它接受一个可迭代对象列表作为输入,并返回一个迭代器,有效的屏蔽...
[ "shenzhijie@corp.netease.com" ]
shenzhijie@corp.netease.com
e02543cd0fd3ca1c57622a834f16198c4997ad3a
6ed8bd58f3dd9193a1f0a08301a4043da6c6e0e8
/src/services/migrations/0060_auto_20210107_1757.py
704766a1bef098886c381002567f69e6ea15aa3d
[]
no_license
littlelight-store/backend
7e5b8268e212318a54e82cf106515d2139b183fc
c30d79ff7ec29d783cbaacbd0258fc087953b96d
refs/heads/main
2023-05-25T07:46:17.727351
2021-06-14T07:55:01
2021-06-14T07:55:01
325,072,350
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
# Generated by Django 3.0.8 on 2021-01-07 17:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('services', '0059_auto_20210107_1753'), ] operations = [ migrations.AlterModelOptions( name='servicegrouptagorm', opt...
[ "merkushin@tochka.com" ]
merkushin@tochka.com
04eba9a7b00116a5222a139ae49457c787368fb8
8387173b189e8894076ea12fcd578d4d70efadd8
/test_instr_Andor_iXon_ultra.py
127f6425ff1153ae9b2d770498026212a945e87b
[]
no_license
iontrapimperial2/XCon_Imperial_Camera_2
50afc0e2deb393d52d3ae84976d8b836d92a6bc7
3c6c8f542cf235e740a15fe683c9785ca1919bb2
refs/heads/master
2020-06-03T00:16:58.700776
2019-06-12T15:25:26
2019-06-12T15:25:26
191,352,435
0
0
null
2019-06-11T10:53:02
2019-06-11T10:53:01
null
UTF-8
Python
false
false
2,256
py
# -*- coding: utf-8 -*- """ Created on Tue May 28 09:37:04 2019 @author: IonTrap/JMHeinrich """ from time import time from instr_Andor_iXon_ultra import Andor #--- create an empty container for the cam object ----------------------------# cam = Andor() #--- check how many cameras are in the system and get thei...
[ "iontrapimperial@gmail.com" ]
iontrapimperial@gmail.com
2abeca054a4804ab0c6b7ef5f3ccf6ee598275ab
e6e65a6704c20e6e0288cfc54915ee7ea9e1c0a7
/archive/otherModels/2gens/networks/modifiedI3D.py
86431f1707697e8c0e7104415292bdd413fd9aff
[]
no_license
schatzkara/REU2019
fbb1f17d860c5d51a7ccae3ba106960d4c733949
6de28b5a8992f6122f2e9813de8b92d9e97ccbf3
refs/heads/master
2020-06-06T03:50:40.753334
2019-11-07T14:11:50
2019-11-07T14:11:50
192,629,267
0
0
null
null
null
null
UTF-8
Python
false
false
19,951
py
# phase 2 # modified from https://github.com/piergiaj/pytorch-i3d import torch import torch.nn as nn import torch.nn.functional as F import numpy as np from torchsummary import summary class MaxPool3dSamePadding(nn.MaxPool3d): """ Class respresenting a 3D Max Pooling layer that computes padding necessary fo...
[ "36019128+schatzkara@users.noreply.github.com" ]
36019128+schatzkara@users.noreply.github.com
255b9aa37927e425d111d6313b7cf6d755b2b17b
a29550578f419a682994b2b4d9cfcd1c72d5ec4a
/pyzoo/zoo/orca/automl/xgboost/XGBoost.py
26592ef6ceba70a35a0c4562e8e6350b9acb5daf
[ "Apache-2.0" ]
permissive
yaxinchen666/analytics-zoo
7915e037460391d29aece1ae6b60911f9947eeda
a5834cee2bda3187568e4bb43172e0051f771455
refs/heads/master
2023-06-21T17:05:59.855655
2021-07-28T08:11:50
2021-07-28T08:11:50
349,112,005
1
0
Apache-2.0
2021-03-18T14:51:55
2021-03-18T14:51:54
null
UTF-8
Python
false
false
11,988
py
# Copyright 2018 Analytics Zoo 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 or agreed to i...
[ "noreply@github.com" ]
yaxinchen666.noreply@github.com
e58d52f2783dc023ac51d828b8d4fc5e17e47ca1
0a3b08678e2d6669188649bfc8d38439ac076f61
/odziez/clothes/admin.py
fbd8c3fa8bfc886207fbb8be20c2df196d23ffd1
[ "MIT" ]
permissive
szymanskirafal/odziez
48f31fb72a8875511000f6aa5d9032770a670e64
029d20da0474a0380e8383f9f89c1072666c5399
refs/heads/master
2020-05-25T08:18:58.783882
2020-05-10T19:19:29
2020-05-10T19:19:29
187,707,616
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
from django.contrib import admin from django.utils.translation import ugettext_lazy as _ from .models import Clothe, KindOfClothe, Manufacturer @admin.register(KindOfClothe) class KindOfClotheAdmin(admin.ModelAdmin): pass @admin.register(Clothe) class ClotheAdmin(admin.ModelAdmin): pass @admin.register(...
[ "r.szymansky@gmail.com" ]
r.szymansky@gmail.com
d5c9074371a5622ac73b4c501a5cf834ad9ad2d1
3559aee2f9f787673fe8e1876e9f84400aede47c
/PythonCrashCourse/lambda_expression_one.py
aecc3b8a544413f900797f9881ab70518fa6a52e
[]
no_license
bijaythapaa/fluffy-octo-parakeet
68899ce6674e9dcb83feb3c5cbc165300c425770
9478b5ec51ffabdc6f38115404c92de10fd30a26
refs/heads/master
2023-02-12T03:05:07.020019
2021-01-05T05:14:57
2021-01-05T05:14:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
# def timesTwo(var): # return var*3 # def timesTwo(var): return var*3 # f = lambda var: var*3 # print(f(6)) seq = [1, 2, 3, 4, 5, 6] # values = list(map(timesTwo, seq)) values = list(map(lambda x: x*3, seq)) print(values)
[ "bijay.iwacademy@gmail.com" ]
bijay.iwacademy@gmail.com
d72488f05fd6d001283d55312ba7459788d105e7
e04e15b196fc6a06439307cdc6e7ecba347ec8e4
/07-04-2021/uklad.py
cb1ac595b981b5ed9e0905426d84ba4189fca567
[]
no_license
bhryniewicz/python
26e513441c451d562900cef17bb807fc05479720
7694fdb42080b9c7e5ca66b6c91220916a905d84
refs/heads/main
2023-04-24T14:45:43.512671
2021-05-05T16:14:11
2021-05-05T16:14:11
355,272,130
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
x = int(input('podaj x: ')) y = int(input('podaj y: ')) if(x == 0 or y == 0): print('Punkt nie znajduej sie w zadnej cwiartce') elif(x > 0 and y > 0): print("punkt znajduje sie w I cwiartce") elif(x < 0 and y > 0): print('punkt znajduje sie w II cwiartce') elif(x < 0 and y < 0): print('punk...
[ "bartosz.hryniewicz3@gmail.com" ]
bartosz.hryniewicz3@gmail.com
fad24df1220aaa705565118f5e62ca780a812506
a774284c6cb5c153ae4dafe28308b8c018f3e60e
/KuttyPyLib.py
047ce921b1e5ebd2939a0b3dc06485717dd27315
[ "MIT" ]
permissive
sayanchowdhury/KuttyPy-GUI
4db4c728c0b13be22b0391703b555c608dfbd311
d80a80f50ce0940f821da2734ebdc908aa8679a8
refs/heads/master
2021-01-13T22:33:00.378956
2019-12-02T18:13:15
2019-12-02T18:13:15
242,516,047
0
0
MIT
2020-02-23T12:50:07
2020-02-23T12:50:07
null
UTF-8
Python
false
false
39,424
py
''' Code snippet for reading data from the kuttypy ''' import serial, struct, time,platform,os,sys,functools from utilities import REGISTERS from collections import OrderedDict import numpy as np if 'inux' in platform.system(): #Linux based system import fcntl Byte = struct.Struct("B") # size 1 ShortInt = struc...
[ "csparkresearch@gmail.com" ]
csparkresearch@gmail.com
b1b74b69dd3113ff74ef00811a66eba3100ed302
d93fbb0d943890ae69589a982c09f827d82e74dc
/monomer-analysis/contact-plot-HpPflB.py
9892a66652e514e0232dc150d7caea49a8660304
[]
no_license
tinadro/gremlin
45fcf1c8db39d206e5c8ff0e29b2971633f819ae
7357568503146a9ec083fede07a97a484fb3bb6c
refs/heads/master
2020-06-17T21:21:35.814781
2019-07-22T13:11:21
2019-07-22T13:11:21
196,058,431
0
0
null
null
null
null
UTF-8
Python
false
false
3,048
py
import matplotlib.pyplot as plt import numpy as np import pandas as pd from matplotlib.ticker import MultipleLocator, AutoMinorLocator import matplotlib.colors as mcolors import sys data = 'other-e-proteobacteria/HpPflB-contact-prediction-scores.tsv' #~~~~~~~~~~~~~~~~~~ # GET GREMLIN DATA #~~~~~~~~~~~~~~~~~~ gremli...
[ "td1515@ls-msc01.bc.ic.ac.uk" ]
td1515@ls-msc01.bc.ic.ac.uk
22fe95e98533f040ba0a2d4091c8dee71837c097
eb19419f9da699263b5fad3f2f0864edd680d7cb
/coverage_rep_analysis_v1_new.py
e427358cc058055d8e59dbd49f17183a6ca650c2
[]
no_license
sternberglab/Klompe_etal_2019
b2eb1ef7f9f2f7d9d8fe478ec213a6ff5ec32453
49048a5bf9dbd59655ec9c2ec59409269108f238
refs/heads/master
2020-05-31T04:46:51.096171
2019-06-04T01:17:49
2019-06-04T01:17:49
190,106,036
1
0
null
null
null
null
UTF-8
Python
false
false
7,230
py
py_name = 'coverage_rep_analysis_v1_new.py' # Leo Vo Feb 2019 # Script Function: # Plots a 2D graph of integration reads/events to probe for reproducibility of genome wide read coverage across # Script Input(s): # 1/ Csv files from either Geneious output (as Coverage) or from python code (as Reads representi...
[ "noreply@github.com" ]
sternberglab.noreply@github.com
166df80999c8646eae2bc3d048ace631946ba896
6bcafe697aff474a77c6e16461b3240ff032289c
/chapter2/pgm37-valuesort.py
72fd2b61e445dc712a2c2cfac11262da0499db02
[]
no_license
aslamup/anandhpython
fc6089dc353cf7781fbafb8096880d542ccc7b2b
7d7b7a9b61624492455305e9ff8196dd62ebc329
refs/heads/master
2021-01-01T06:12:12.422417
2014-08-28T09:24:38
2014-08-28T09:24:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
def valuesort(d): l=[] for key in d: l.append(key) s=[] for i in sorted(l): s.append(d[i]) return s print valuesort({'x':1, 'y':2,'a':3,})
[ "aslamup0042@gmail.com" ]
aslamup0042@gmail.com
afa15f3a38b388239611614fdf3251bc4e72d737
2c573d13404dcebf432894c3156a5b7fb50b86a1
/data_preprocessing/biorxiv/detect_duplicate_records.py
ce71674b91b990c303d51845d75f984fa39313e0
[ "MIT" ]
permissive
janinaj/preprints
48a3b849b2e857a4fc2eb588aa02a7e38ded67e2
f0bd80c30ab18261e47a3fca8e87a8bab50d3c87
refs/heads/master
2020-06-03T15:24:11.293142
2019-08-27T17:40:57
2019-08-27T17:40:57
191,627,593
2
0
null
2019-06-12T18:51:54
2019-06-12T18:51:54
null
UTF-8
Python
false
false
4,896
py
import os, json, itertools, csv, sys import multiprocessing as mp from fuzzywuzzy import fuzz sys.path.append(os.path.join('..', '..', 'util')) import util def get_ratio(records): record_1, record_2 = records return record_1, record_2, fuzz.ratio(record_1['normalized_title'], record_2['normalized_title']) def get_...
[ "mjsarol@d207-023-208-205.wireless.sfu.ca" ]
mjsarol@d207-023-208-205.wireless.sfu.ca
69475e68e8ee8f4aee01716ad513f0d721404e18
d846ff95798d412a9749fa42ae3f99f8756c49f2
/greenskiosk/kiosks/models.py
ca163b8001d08ca955d263a725a0bad31fd17e74
[]
no_license
Hellenivy/GREENS
8e95387dae1986771650224ed26ebf17b52ba9d3
a7b65cb09d472d38695aeea89eff9efe9054e918
refs/heads/master
2022-12-23T04:23:07.340136
2020-10-01T13:29:06
2020-10-01T13:29:06
300,285,640
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
# Create your models here. from django.db import models from django.contrib.auth.models import User class KioskOwner(models.Model): GENDERS = ( ("m", "male"), ("f", "female") ) user = models.ForeignKey(User, on_delete=models.CASCADE) gender = models.CharField(max_length=6, choices=GEN...
[ "wanjirushee@gmail.com" ]
wanjirushee@gmail.com
282f15e37aa180e730771c071a0b1b045ec6d388
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03417/s467757067.py
1a0d1ac89225ce6d493e91d2e4a3c9755848b8c2
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
def main(): N, M = map(int, input().split()) if N == 1: if M > 2: print(M-2) elif M == 2: print(0) else: print(1) elif M == 1: if N > 2: print(N-2) elif N == 2: print(0) else: print(1) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
050e26ca2b5678da6dfd1cf44dc1ec2ac820f4fd
d7e0239341cd5b470e44a48b74fc14f448673858
/assessment.py
23ff36281f6a77117536f6818dfb10f638383ecd
[]
no_license
laurengordonfahn/hb_skills_week2_dictionaries
de01b8a1a1067d2b4e08d52cdfd89b9be68bae5b
3d9b7bbcfcf708d09935152d83dd22d0fcc527c4
refs/heads/master
2021-01-10T23:32:43.370252
2016-10-09T04:16:12
2016-10-09T04:16:12
70,430,833
0
0
null
null
null
null
UTF-8
Python
false
false
7,077
py
"""Dictionaries Assessment **IMPORTANT:** these problems are meant to be solved using dictionaries and sets. """ def count_words(phrase): """Count unique words in a string. This function should take a single string and return a dictionary that has all of the distinct words as keys, and the number of ...
[ "laurengordonfahn@gmail.com" ]
laurengordonfahn@gmail.com
cea9aac657240574903ca0e63e34c04d0f3ec992
d164e69bc4d9eefb8d2f87ba0964978d8b59e1c0
/generate_caption_nn.py
b590b36bee504409528914cd0c03dd4d8fcfbc69
[]
no_license
Zumbalamambo/ActivityNetVideoCaptioning
ef17a558c19e56aa1a87cf45f9b682d040ba9bf8
8ef7b985857a81e74531233d8200edea39d046fc
refs/heads/master
2021-08-22T03:38:27.693331
2017-11-29T05:03:44
2017-11-29T05:03:44
112,466,115
1
1
null
2017-11-29T11:18:02
2017-11-29T11:18:02
null
UTF-8
Python
false
false
3,594
py
import argparse import time import json from json import encoder encoder.FLOAT_REPR = lambda o: format(o, '.2f') from data_manager import DataManager def load_data_manager(file): data_manager = DataManager() data_manager.load(file) return data_manager def main(): parser = argparse.ArgumentParser() ...
[ "yumao@cmu.edu" ]
yumao@cmu.edu
89d556741a5a09d05846212e121766442b97d66f
c38dba61633013c70428f3606f8431a31eb26ea8
/intraction with database/commandr/cmdr/urls.py
04720bb2c15b2fca9cdab746d5872017bfb26f13
[]
no_license
rishikeshpuri/Django
63d9088c043f34ec6e5dc1385d1e70fb0f4b4f50
09f362eebf4c38d02414b811ff54f4a0b28fbacc
refs/heads/master
2020-04-30T22:43:11.509382
2019-03-22T11:21:41
2019-03-22T11:21:41
177,126,426
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
from django.urls import path from . import views urlpatterns = [ path('', views.HomePageView.as_view(), name = 'home'), ]
[ "rishikesh0296@gmail.com" ]
rishikesh0296@gmail.com
7a90de02c97679c91474f995f2a0f0d940daf52f
0eb7331440eceab45857dc1c964a4018ab0b1157
/Fundamentos/mayor_de_dos_numero.py
1c9f0c8b86705775b5e25329186a7455fbbfdd65
[]
no_license
jsebastianrincon/curso_python
9ce36e879104e530f3372055b02315099d8ac955
41f4716bd9486d51373ff8619f5c094e94aeaefa
refs/heads/main
2023-07-11T03:14:06.310618
2021-08-20T02:55:24
2021-08-20T02:55:24
358,447,626
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
num1 = input("Ingrese Numero 1:") num2 = input("Ingrese Numero 2:") if(num1 > num2): print(num1, "es el numero mayor") else: print(num2, "es el numero mayor")
[ "juanrinconaxl926@gmail.com" ]
juanrinconaxl926@gmail.com
be35cc9e656a7cc99620faee402769a466b80672
c99904d16c5dd7fdc4e91a6e78148e584f65b8d4
/ebenezer/atencion/migrations/0012_level_taxonomy.py
6840084dd7ea200b47e0599f9ccfbc12ceb6627d
[ "Apache-2.0" ]
permissive
davrv93/ebenezer-backend
134a61179e01491d7e6df85ea1bebe026f8befc2
d3db4dafd9a8c35bea9f32afe2be1dd451f64298
refs/heads/master
2022-12-13T13:29:45.301907
2018-10-16T07:15:06
2018-10-16T07:15:06
151,650,023
0
0
Apache-2.0
2022-12-08T02:55:48
2018-10-04T23:54:13
JavaScript
UTF-8
Python
false
false
547
py
# Generated by Django 2.1.2 on 2018-10-05 17:35 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('atencion', '0011_taxonomy'), ] operations = [ migrations.AddField( model_name='level', ...
[ "samuel.roncal@upeu.edu.pe" ]
samuel.roncal@upeu.edu.pe
c61e6872df39d63e4badbf1fffd71ac9f23840e8
adbca58834bceefbe70e1614167677b59e3a4bda
/venv/bin/django-admin
0ca68c5c947ef5628eee2f770a55c92b69dcab6f
[]
no_license
hammadshaukat/creative-agency-django
1da7481ee1d97c3f65bef75765d1802d774b00d6
1c5d0c128ef560a87218bdae59f97384d33aa72b
refs/heads/master
2020-03-19T13:26:21.071645
2018-06-11T11:57:07
2018-06-11T11:57:07
136,579,525
0
0
null
null
null
null
UTF-8
Python
false
false
306
#!/home/hammad/PycharmProjects/newproject/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "ch.hammad.shaukat@gmail.com" ]
ch.hammad.shaukat@gmail.com
a0b78abd6d9cbe5aac8560e176823701014539f7
22c04e2884598d1ddbe8c21562825884be80ed09
/app.py
aecd2de2774aa36934d2c141be89f541effd22c0
[]
no_license
taylorguo/multiple-consumers-in-kafka-python
689f321bbc1a5aceaa6c820c3a4881891cfd4799
0a0f591bd132316f1f475a0032876c7eae1e50b9
refs/heads/master
2023-04-01T02:15:47.924445
2020-06-22T05:16:48
2020-06-22T05:16:48
262,076,148
1
0
null
2021-03-25T23:53:06
2020-05-07T14:40:05
Python
UTF-8
Python
false
false
8,174
py
import os, time, datetime, shutil, uuid from classifier.predict import classifier_init, classifier_predict, get_cn_class from classifier_DCL.infer import load_models_DCL, DCL_test from utils import consumer from utils import oss_upload, get_oss_dict, update_db, oss_download, insert_db from utils import post_server f...
[ "taylorguo@126.com" ]
taylorguo@126.com
42ae87dda9df232c879e6804ef8fbf3bf9914142
95d7addac4448017bef6fd2887dac60ad7cd8e09
/tests/functional/__init__.py
ba1992e68c26274d61bc29f81390516c0d29e0ac
[ "Apache-2.0" ]
permissive
quixey/python-aliyun
d3b911146c01712c3548c7f3aa036f64659854a3
c07286da8bb6a1c80e8a5f77b19a7c9a132ab5ed
refs/heads/develop
2020-05-21T12:19:37.105170
2018-04-16T04:28:44
2018-04-16T04:28:44
19,708,625
39
27
Apache-2.0
2018-04-16T04:28:45
2014-05-12T17:39:46
Python
UTF-8
Python
false
false
608
py
# -*- coding:utf-8 -*- # Copyright 2014, Quixey Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in self.c.mpliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "adam@addumb.com" ]
adam@addumb.com
35326015df7a44bde85ed868104827d91cd9262e
add89b94048a1cfa7c66453b7fb6e5a49add2f19
/kd_tree.py
77def11c43ef59f722ec499d20ee3ff314d93534
[]
no_license
richardOlson/cs-module-project-iterative-sorting
f6ea5ea6fd1315645a36d605b0b831c972f99bea
92cfbf404889f308127ac5d5a57d9b3f69619d40
refs/heads/master
2022-12-06T17:58:21.561995
2020-09-01T00:20:25
2020-09-01T00:20:25
283,840,228
0
0
null
2020-07-30T17:45:55
2020-07-30T17:45:54
null
UTF-8
Python
false
false
1,208
py
# my implementation of the kd_tree class Node: def __init__(self, data): self.data = data self.right = None self.left = None self.median_point = None self.dimension = None # This will tell the dimension that the # cut is found at class KD_tre...
[ "8571182+richardOlson@users.noreply.github.com" ]
8571182+richardOlson@users.noreply.github.com
df3ee09f865de63c72dedf69ed5ebe063a4cc73f
7d90d2ce27c6ee0af74391b09909edbd45fdc2f0
/renix_py_api/api_gen/VerifyTrafficForwardingCommand_Autogen.py
1178e0df170f51a2b5b7cdd050ea1abe70b7c3ec
[]
no_license
gaoxingyu-hub/54testframework-master-e284
d7ea0d4a715b65c8652430e963a86b9522a7237a
57dd2197e7d91b8ad8fb2bd0e3503f10afa08544
refs/heads/master
2023-04-30T05:50:41.542402
2021-05-28T09:19:37
2021-05-28T09:19:37
309,922,838
0
0
null
null
null
null
UTF-8
Python
false
false
4,823
py
""" Auto-generated File Create Time: 2019-12-27 02:33:28 """ from .ROMEnum_Autogen import * from renix_py_api.renix_common_api import * from renix_py_api import rom_manager from .ROMCommand_Autogen import ROMCommand @rom_manager.rom class VerifyTrafficForwardingCommand(ROMCommand): def __init__(self, StreamTempl...
[ "gaoxingyu@example.com" ]
gaoxingyu@example.com
7dee20d5b7c7d3b8ad43dbf0d22763c5e5b0ed6e
8e1a456068c11096854fe9d929490c7e3e30ca6e
/new_jersey/lien_import.py
07aea4f6e2af8878c54ffe33e450997c3f3c0e02
[]
no_license
rwhughes91/nj_tax_liens
4833a0f77574905415a65232abf6af12486a4929
1efbc776af3443c188e1bc86d932d90fc18c3be3
refs/heads/master
2020-09-21T22:58:50.843966
2019-12-01T06:38:52
2019-12-01T06:38:52
224,963,585
0
0
null
null
null
null
UTF-8
Python
false
false
2,174
py
import pandas as pd import os import math from datetime import datetime, date from pathlib import Path from new_jersey.models import Lien, Sub path = os.path.join(Path(os.path.abspath(__file__)).parent.parent, "liens_workspace", "liens_to_import.xlsx") def lien_modifier(lien): keys_to_delete = [] for index,...
[ "rwhughes91@gmail.com" ]
rwhughes91@gmail.com
1a017189c041367880b8e49483245f3ef63d6b93
46d5d0769b0ac452a29c3387521035a1286ed40a
/learning_logs/migrations/0002_entry.py
5738b6384650a0de440c5d9d8d49f5d8e7e47025
[]
no_license
jeffreylozano1376/learning-log
e71899b28c11874ffd6a0274a63bc5e1f3379721
33e5105490a5a87aed3be8b735362287f374f3dc
refs/heads/master
2023-07-30T23:02:14.448855
2020-06-09T11:56:38
2020-06-09T11:56:38
270,993,682
0
0
null
2021-09-22T19:12:07
2020-06-09T12:14:57
Python
UTF-8
Python
false
false
804
py
# Generated by Django 3.0.7 on 2020-06-09 07:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('learning_logs', '0001_initial'), ] operations = [ migrations.CreateModel( name='Entry', ...
[ "jeffreylozano1376@yahoo.com.ph" ]
jeffreylozano1376@yahoo.com.ph
c8bda47362a44894337c71eef12138e0c7428250
d0334acb7c90e2088fc60d0f0bf438a5bc24a445
/fara.py
858e4d351b920233f246728a2a615eddacc58161
[]
no_license
nitheeshmuthuraj/IOT-farmhouse
19447b23da4d727bf2c41959a55a100d64917dc4
fc8ae227aa617216a596f7f5c609c8deab3fbfa5
refs/heads/master
2020-03-31T02:05:11.290802
2018-10-06T05:20:21
2018-10-06T05:20:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
from tkinter import * import sys import os root = Tk() def close_window(): pass def take(event): os.system('python3 farming.py') os.system('sudo poweroff') bu_1=Button(root,text="AUTOFARM") bu_1.bind("<Button-1>",take) bu_1.pack() bu_2=Button(root, text = "Good-bye.", command = close_window) bu_2.bind("<Button-2>...
[ "noreply@github.com" ]
nitheeshmuthuraj.noreply@github.com
6716d3d20705ef56a1af7a50bc30976c19eae91e
b4da2201d2df789e28472aeded28720d5269ade5
/Komodo-Edit-7/lib/mozilla/components/koFileNotificationService.py
904605ceb045b60b51cf750ce3a5c08acb4c7075
[]
no_license
AeonSaber/first_app
5ad89d4fb05d7662e2a39ce68176f43f1e618bf0
522fdfa6d33419fd49e431766fff85b40d21e78e
refs/heads/master
2020-06-12T17:22:09.786142
2013-09-09T23:57:51
2013-09-09T23:57:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,493
py
# ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License # Version 1.1 (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.mozilla.org/MPL/ # # Soft...
[ "jpsutton@madisoncollege.edu" ]
jpsutton@madisoncollege.edu
acf979503d09f8ba4520a4a5bea2e84766cbc017
cb236edd4f4f3815d2c44755ef4b3404586ca26d
/locallibrary/urls.py
e377b64c5ba68bca811e51eea7bfec5907deff81
[]
no_license
hvaddi1129/PersonalLocallibrary
fff7bb9e5888e6b2905c03f7d04e6e6fd09ec991
c1976444b8b6f4371a1d3a6296d8338d31cced40
refs/heads/main
2023-08-15T12:15:33.642315
2021-09-18T22:23:54
2021-09-18T22:23:54
407,975,433
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
from django.contrib import admin from django.urls import path from django.urls import include from django.views.generic import RedirectView from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), path('catalog/', include('catalog.urls')), ...
[ "hvaddi@unomaha.edu" ]
hvaddi@unomaha.edu
863d1ea7cc50d8fe9dd07ab5ee4d27dc690c34fd
117d788706884ffc8322ce7d89f381cc99bbfdd1
/simple_auth/simple_auth/wsgi.py
b4798b84c5a066d8cb90fcdaecc5ab1b1bcb40d8
[ "MIT" ]
permissive
appsembler/simple-auth
debd5d58a4f15860dc54a00740659cbe4805ce9d
28134b9b10b35d8104b5fd59acf02f3a36092e16
refs/heads/master
2021-06-01T13:51:16.556134
2020-06-06T07:51:02
2020-06-06T07:51:02
93,630,702
1
0
MIT
2020-06-06T07:51:04
2017-06-07T12:02:25
JavaScript
UTF-8
Python
false
false
400
py
""" WSGI config for simple_auth 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/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "deni@denibertovic.com" ]
deni@denibertovic.com
e8a3d941142844171847757661e92a16d52c7d99
4ccff9d6c4d80d2366f493d8ba44ca49fa7876a3
/alembic/versions/57d44fd72e00_add_fixes_tel_numbers_column.py
fbe2e95de4b68fbfa0105c203fc7512905b4a139
[]
no_license
Ranc58/29_phones
419531927a6e919d954bcee9f1e982ca2ef4873a
35287409fe6d0e8840b2637dc1ce3b0feb9f5063
refs/heads/master
2021-01-21T11:34:35.712536
2018-06-28T07:23:36
2018-06-28T07:23:36
102,016,711
0
0
null
2017-08-31T15:35:58
2017-08-31T15:35:58
null
UTF-8
Python
false
false
454
py
"""add fixes tel_numbers column Revision ID: 57d44fd72e00 Revises: Create Date: 2017-09-12 15:03:03.581830 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '57d44fd72e00' down_revision = None branch_labels = None depends_on = None def upgrade(): op.add_co...
[ "rancvova@gmail.com" ]
rancvova@gmail.com
86c3183ff8baeaa8990028a7bcb9836895b4e28f
2ea49bfaa6bc1b9301b025c5b2ca6fde7e5bb9df
/contributions/jbkimes82/Python/Data Structures/2016-10-06.py
4e6d56afee7692c4cad9ca6ad0f79ffa3cedadad
[]
no_license
0x8801/commit
18f25a9449f162ee92945b42b93700e12fd4fd77
e7692808585bc7e9726f61f7f6baf43dc83e28ac
refs/heads/master
2021-10-13T08:04:48.200662
2016-12-20T01:59:47
2016-12-20T01:59:47
76,935,980
1
0
null
null
null
null
UTF-8
Python
false
false
140
py
Your own Python `calendar` The fundamental `tuples` `Module`s everywhere! Get the most of `float`s Operations with `bytes` and `bytearray`
[ "jbkimes@gmail.com" ]
jbkimes@gmail.com
2e6516083e2544fe05840624c156bed721145ce0
564d8f37e9b12bc70f16452a83b5f04c59fa5483
/intervaleven.py
3734d54c8d84a6f9adc58dd910fb4ceb1a4774bc
[]
no_license
SathishkumarGUVI/Sk
5e1e69a07628dab909cd1cf149a4185f6aa19d62
1cc9239b8e7c557344ef73348fa58c86e8ad661d
refs/heads/master
2020-06-22T14:02:41.299703
2019-08-24T13:44:18
2019-08-24T13:44:18
197,726,308
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
x,y=input().split() x=int(x) y=int(y) x=x+1 st=[] for i in range(x,y): if(i%2==0): st.append(str(i)) else: continue print(" ".join(st))
[ "noreply@github.com" ]
SathishkumarGUVI.noreply@github.com
5e10258493cdd917f1c3cfda904e2a838a471d66
2da8a6fcd1e541ecf7920d3c2b72de24bbcc5bfa
/django/django.wsgi
e6813e07610469e44ad3175bdff8d50872146097
[]
no_license
jdost/django-legend
36c185e9c9c080b98de3cab7657402a52393cdeb
df347527ed128b24f67ce7de104491818b7a0217
refs/heads/master
2021-01-20T13:48:26.951476
2013-04-18T00:46:23
2013-04-18T00:46:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
380
wsgi
#!/usr/bin/python2 import os import sys path = '/srv/http/jostendorf/django' if path not in sys.path: sys.path.append(path) app_path = '/srv/http/jostendorf/django/legend' if app_path not in sys.path: sys.path.append(app_path) os.environ['DJANGO_SETTINGS_MODULE'] = 'legend.settings' import django.core.handlers...
[ "jeff@Ozzie.localdomain" ]
jeff@Ozzie.localdomain
5fb7545e1191f135403398896c54de07cee5359c
8d38445907cd1a2e0873be17f87789597e5169c9
/venv/lib/python3.7/site-packages/werkzeug/test.py
9f2302a0d2f0741914a720cefdf8608a833b6e63
[]
no_license
CobraPi/FirearmsDatabase
b94682280ddd5dccb6ecac1b615b7851498a1da0
9736a1e39fde9411ed428f95f5c37884a51d5b5c
refs/heads/master
2023-06-03T17:55:26.367605
2021-06-17T23:57:20
2021-06-17T23:57:20
317,317,658
0
0
null
null
null
null
UTF-8
Python
false
false
39,572
py
# -*- coding: utf-8 -*- """ werkzeug.test ~~~~~~~~~~~~~ This module implements a client to WSGI applications for testing. :copyright: 2007 Pallets :license: BSD-3-Clause """ import mimetypes import sys from io import BytesIO from itertools import chain from random import random from tempfile impor...
[ "joey.orduna@gmail.com" ]
joey.orduna@gmail.com
995f14aacd903f974f6649746b732eb6f10a36a2
cf473bc4bad045119f757780e1a2a82c1fdcf97f
/tests/lect_02_14_solution.py
126d8d77d823b9cb372e61eeda214f35549fc525
[]
no_license
easyfly007/carnd_term3_proj
feb13401cbb05102dbf8d9a416ba738f4b6ff551
98afdf814a30a3aaf4fdaf2fc58439449c317964
refs/heads/master
2021-01-25T13:18:04.778116
2018-06-11T15:11:21
2018-06-11T15:11:21
123,550,017
0
0
null
null
null
null
UTF-8
Python
false
false
2,654
py
# ----------- # User Instructions: # # Modify the the search function so that it becomes # an A* search algorithm as defined in the previous # lectures. # # Your function should return the expanded grid # which shows, for each element, the count when # it was expanded or -1 if the element was never expanded. # # If th...
[ "easyfly.huang@gmail.com" ]
easyfly.huang@gmail.com
96647ffbc542e88d30cfebe7cf01e50e6b2b08f2
791d73bcba74006c4b99ed19ec9f91a499a04a81
/EPI/ch5v_boolean_ordering_partition.py
53aabad24eb1bde0f1735f86c022a12d6b15b7dc
[]
no_license
morningred88/data-structure-algorithms-in-python
46d213b4108ee5da566bd5fabad3f59ac1f94519
6141666354456737f879ad6c3e9407aa0326f4c0
refs/heads/main
2023-08-24T06:45:03.119860
2021-10-16T14:31:26
2021-10-16T14:31:26
405,500,841
0
0
null
null
null
null
UTF-8
Python
false
false
2,743
py
""" Variation problem 4: Given an array A of n objects with Boolean-valued key, reorder the array so that all objects false appear first. The relative ordering of key true should not be change. Use O(1) additional space and O(N) time. """ """ 2 partitions for this problem: False key, True key From ch5.0_even_odd_array....
[ "xma50089@gmail.com" ]
xma50089@gmail.com
132e4dc39b47b7f185e7fc980cba2481029b0782
64b5aa1eb27eb88adfa6615569cc841ca1559da2
/model.py
b04a8a36a1cb62c04e87dd6ddb8d3b7c54b4933e
[]
no_license
Orientsoft/moop-project-service
5150a5cc94cd0ae80d8a9f5217d6a03f83cb8e58
125c1c38698e3166c1233918813eb0374c6fc24e
refs/heads/master
2021-06-13T22:11:34.557834
2019-08-19T04:20:28
2019-08-19T04:20:28
180,714,034
0
1
null
2021-03-25T22:34:31
2019-04-11T04:26:44
Python
UTF-8
Python
false
false
1,859
py
from pymodm import CharField, ReferenceField, ListField, \ IntegerField, BooleanField, DateTimeField, ObjectIdField, FloatField from pymodm.connection import connect from pymodm import MongoModel from app import app connect(app.config['MONGODB_URL']) class CATEGORY(MongoModel): name = CharField() delete ...
[ "xuyilin@orientsoft.cn" ]
xuyilin@orientsoft.cn
ef5806f2b7e2fcb8f91a277225c28611c8bb9372
912a92696f6a7af147957b4ca631d2d54c894708
/mysql_insert.py
762a0adf1bc227aa8f9c62ede6f72de1c486eaa8
[]
no_license
mbu4135/syntax
169801d454f61470ee9d9f2eb5848b64048e1526
49df6f5d9aabe1549d576c5874f805d91de7e4b3
refs/heads/master
2022-11-11T13:47:23.625279
2020-07-02T11:59:50
2020-07-02T11:59:50
276,634,360
0
0
null
null
null
null
UTF-8
Python
false
false
5,539
py
#!python import mysql.connector # MySQL Connection 연결 mydb = mysql.connector.connect( host="localhost", user="mbu4135", passwd="1288zpmqal", charset="utf8", database="menshut" ) mycursor = mydb.cursor() sql = "insert into products(id, pid, pName, price, description, available, category, item, pCode, pictur...
[ "mbu4135@gmail.com" ]
mbu4135@gmail.com
1f6afb30746022d633cebe4683fd56aa66329559
a9b13c8cb02197cfed32af7b36f7689fc341923d
/third_party/pointnet2/pointnet2/utils/pointnet2_modules.py
ccf1931036e305d6eca5dee0e69cba9808f4cfab
[ "Unlicense" ]
permissive
zeta1999/PUGAN-pytorch
3ab896fefdb15e1575f3e3983658143aefccea50
d98803ac0b02270d5f1f187362228391bc16ee81
refs/heads/master
2022-11-28T05:56:29.444569
2020-08-05T07:45:46
2020-08-05T07:45:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,338
py
from __future__ import ( division, absolute_import, with_statement, print_function, unicode_literals, ) import torch import torch.nn as nn import torch.nn.functional as F import etw_pytorch_utils as pt_utils from pointnet2.utils import pointnet2_utils if False: # Workaround for type hints with...
[ "115010192@link.cuhk.edu.cn" ]
115010192@link.cuhk.edu.cn
6abd2f24cc4ad733006580282ac09bf510536f72
936d1c2415f2a3aca5260d53d02d14aa2bc32cab
/blog/forms.py
9f51c09d0aa8063314d7c3c7769472eb23f1fb85
[]
no_license
GiancarloLainati/misperris
7780fc651af6b00ea07c539aaeedcd0c0b39090a
e9a6de2b7b72fb5c8c596a5c94255bbe49e920bb
refs/heads/master
2020-04-03T09:07:03.508369
2018-11-29T07:29:09
2018-11-29T07:29:09
155,153,978
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
from django import forms from .models import Rescatado from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django.utils.translation import ugettext, ugettext_lazy as _ class RescatadoForm(forms.ModelForm): class Meta: model = Rescatado field...
[ "giancarlo.lainati@gmail.com" ]
giancarlo.lainati@gmail.com
2f212cbdaff33e04a0d6a82a973081554b25887e
7a75a1693682699429c8316a9616fa78a7ca112d
/tools/corals/unique_mlg_id/unique_mlg_id.py
faeaef14a45e2a0138b686b7751a39dfb8f5166b
[ "MIT" ]
permissive
gregvonkuster/galaxy_tools
da1c36f155df1dd4adb0e971dbe7024953023082
e9edd90c95f0d12da19f45d4d11b374f87149550
refs/heads/master
2023-07-06T13:13:03.839910
2023-06-27T13:59:33
2023-06-27T13:59:33
87,340,615
4
2
MIT
2021-11-24T17:51:21
2017-04-05T18:00:56
Python
UTF-8
Python
false
false
1,859
py
#!/usr/bin/env python import argparse import sys import psycopg2 from sqlalchemy import MetaData, create_engine from sqlalchemy.engine.url import make_url class UniqueMGLIDGenerator(object): def __init__(self): self.args = None self.conn = None self.parse_args() self.outfh = open...
[ "ghv2@psu.edu" ]
ghv2@psu.edu
aecae2495ee934f94b0d6207d9604948f7df3c18
30cb3825d3896846d7212cfa2211f09a1fc51660
/Blackjack/Blackjack_Minimax.py
d72c437fd5546f664e897aa8baa1bbcf586e9260
[]
no_license
ac185467/Dank-Miner
1fe7b18c0e9742744e4021f93ac5e2938b1883c1
d6bc32edc12a2f9509f7a3029ec39f37d0f03514
refs/heads/main
2023-03-18T03:06:44.137204
2021-02-11T15:42:00
2021-02-11T15:42:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,344
py
number_of_decks=1 deck = { 1: 4*number_of_decks, 2: 4*number_of_decks, 3: 4*number_of_decks, 4: 4*number_of_decks, 5: 4*number_of_decks, 6: 4*number_of_decks, 7: 4*number_of_decks, 8: 4*number_of_decks, 9: 4*number_of_decks, 10: 16*number_of_decks, } def updated...
[ "noreply@github.com" ]
ac185467.noreply@github.com
f9cb487f622a05284e59137684f3b7ea9503bc47
1b8a99a4ff80da51dc81dd8354bf9bf1cbd25a8b
/2022/maximum_sum_bst_in_binary_tree.py
b3643876edb6da66773e8dcb866d0c9d5a497201
[]
no_license
eronekogin/leetcode
ea639eebe0cd70af9eb4cba59bc68f636d7b3e0c
edb870f83f0c4568cce0cacec04ee70cf6b545bf
refs/heads/master
2023-08-16T10:35:57.164176
2023-08-14T11:25:33
2023-08-14T11:25:33
163,679,450
0
0
null
2021-09-09T12:04:44
2018-12-31T15:33:06
Python
UTF-8
Python
false
false
982
py
""" https://leetcode.com/problems/maximum-sum-bst-in-binary-tree/ """ from test_helper import TreeNode class Solution: def maxSumBST(self, root: TreeNode) -> int: def post_order_traversal(root: TreeNode): if not root: return [float('inf'), float('-inf'), 0] lmin,...
[ "mengyu.jiang@gmail.com" ]
mengyu.jiang@gmail.com
50d2583280c97df9989918679eb990f1cdb78f30
71c0afa66e6c57ce8dead56e3fba52e47d76a4f7
/rainfall.py
caa1184fc0cec8a8ed979080ae5d40ae232931a2
[]
no_license
Ghits9/Neural-Network
570fc195c1118eb3b790c8a36ef9345dd226fe6f
2748a6bf152d7ded8d8b9cd8522d663fa97da87b
refs/heads/master
2022-11-07T16:13:17.869053
2020-06-24T22:22:56
2020-06-24T22:22:56
274,779,527
0
0
null
null
null
null
UTF-8
Python
false
false
4,700
py
#!/usr/bin/env python # coding: utf-8 # In[2]: import pandas as pd import numpy as np import math import sklearn from sklearn.model_selection import train_test_split from sklearn.metrics import mean_squared_error,r2_score,mean_absolute_error import matplotlib.pyplot as plt import seaborn as sb from sklearn import pr...
[ "ghits9502@gmail.com" ]
ghits9502@gmail.com
1e44c0cd28655bcf945cff142dcbc0131309cc14
784c18ff7441b117abf33290ba4c25270fc1ba34
/projects/maw/marshal1/env/Scripts/jwk_create.py
94bbf6ecf277cef4a82679404ca89463e7540e69
[]
no_license
kshitijvr93/Django-Work-Library
a1b4dd0fd2936c3303cdce9b508bd9b63c4957cc
dd173422d1347f8e464facd2dc137e439df8a34f
refs/heads/master
2022-12-12T08:23:08.032627
2018-12-30T06:59:18
2018-12-30T06:59:18
152,334,131
0
0
null
2022-12-07T23:52:46
2018-10-09T23:21:56
Python
UTF-8
Python
false
false
1,311
py
#!c:\users\kshit\downloads\library_maw_project\marshal\projects\maw\marshal1\env\scripts\python.exe import json from Cryptodome.PublicKey import RSA import argparse import os from jwkest.jwk import RSAKey __author__ = 'rolandh' def create_and_store_rsa_key_pair(name="pyoidc", path=".", size=1024): key = RSA.gene...
[ "kshitijvr93@gmail.com" ]
kshitijvr93@gmail.com
622c344ba3007dee7801c57da7b60477a440dd37
cdd47579f35f81778615539908d47c43eb8cbe7c
/bioinformatics-stronghold/counting-dna-nucelotides.py
fd9c5205c05c7018069da56c74bd63914b4c205b
[]
no_license
samleenz/rosalind
9e77ca4ca47787af5fd4d98c6320fc8be8a86369
99174805366535ac4eab2d1f23f9a4b43d8ad240
refs/heads/master
2020-04-05T07:47:32.367061
2017-07-08T09:19:16
2017-07-08T09:19:16
81,866,658
1
0
null
null
null
null
UTF-8
Python
false
false
674
py
fh = raw_input('data import filename:') wfile = raw_input('write to filename:') # fh = 'dataset1.txt' # wfile = 'testoutput.txt' ## Open file and create a list of bases with open(fh, 'r') as f: string = f.readline() lst = list(string) ## Create a dictionary where key = base and value = count basecount = dict() for ba...
[ "samleenz@me.com" ]
samleenz@me.com
877fd3a48615167668e00f1a778732404c2124d2
24f218ad623fd583e94cc6bb93d4fa9a394adff6
/ResNet_CatDog_FN.py
f835ac947fc5f664d54eb0ca00812ca6855ae548
[]
no_license
HazardNeo4869/FactorNormalization
98b2bf4b16e0762e6be61f3cb5413c594c8facf5
e762cdd6ed19d8d9252c08210573285c5f17e918
refs/heads/master
2023-01-20T05:04:45.285999
2020-11-23T15:11:05
2020-11-23T15:11:05
298,794,462
2
0
null
null
null
null
UTF-8
Python
false
false
5,290
py
#!/usr/bin/env python # coding: utf-8 # In[8]: import os import numpy as np import random as random import gc import time import tensorflow as tf from keras.layers import (Activation, Conv2D, Dense, Dropout, Flatten,BatchNormalization, GlobalAveragePooling2D, Input, MaxPooling2D, add,concat...
[ "noreply@github.com" ]
HazardNeo4869.noreply@github.com