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
9a79b658c9c411eb6db1123df6286153aa342245
ca020020c60ce4c65b3ceba8c9b405ef5d4bbac2
/manage.py
0dc0a269164d3d0c0f98c51cd976b1da2b9d2ce6
[]
no_license
akononen/filmswithfriends
623140460b57b52fc5061bbde4a2d379704c794c
e90d97d974c0f3c3fcab1500dd1f724264b2524d
refs/heads/master
2020-04-21T02:23:39.011541
2019-05-03T06:06:06
2019-05-03T06:06:06
169,252,893
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "filmswithfriends.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't ...
[ "aleksi.kononen@student.tut.fi" ]
aleksi.kononen@student.tut.fi
533952e656f8071b071330c312ac496fb79bd4c4
e5c20767e48e579c3ab8e45c581476e1c4575243
/3DSLICER/4.2.2/binaries/lib/Slicer-4.2/qt-scripted-modules/RSNA2012ProstateDemo.py
9478223e572335f16981170686d96f4cf4cfb418
[]
no_license
leoliuf/Neuroimaging
f8e01bf49026e4a2acc95e1c78219c25ea27a46f
391777650c10449f56ecd32707c03263b98391db
refs/heads/master
2023-03-01T22:05:57.745322
2015-06-19T02:18:32
2015-06-19T02:18:32
67,168,526
0
1
null
2016-09-01T21:44:50
2016-09-01T21:44:50
null
UTF-8
Python
false
false
7,589
py
import os import unittest from __main__ import vtk, qt, ctk, slicer # # RSNA2012ProstateDemo # class RSNA2012ProstateDemo: def __init__(self, parent): parent.title = "RSNA2012ProstateDemo" # TODO make this more human readable by adding spaces parent.categories = ["Testing.TestCases"] parent.dependencies...
[ "harald.waxenegger@gmail.com" ]
harald.waxenegger@gmail.com
58c55c37a28dfaf4b6268d6b6d9d66081dbce2b3
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/numpy/2017/8/legendre.py
5128643cd8480ed49db001f54918bc6838354373
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
57,260
py
""" Legendre Series (:mod: `numpy.polynomial.legendre`) =================================================== .. currentmodule:: numpy.polynomial.polynomial This module provides a number of objects (mostly functions) useful for dealing with Legendre series, including a `Legendre` class that encapsulates the usual arith...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
5e81c170611b6892c281a43dccde965414035113
c7cf3ea88e562a641a89545b82300368cbd106f1
/image_rotation.py
86eee779543101c993b63968695c07b93c31c7e8
[]
no_license
garimellahoney2/OpencvLab
6c5fafd0bde443e078edd445d18b9cf2231735ec
65f34834496855fc638c7ce331e3275a6a731cec
refs/heads/master
2022-12-13T06:54:31.931345
2020-09-16T12:09:58
2020-09-16T12:09:58
274,964,305
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
#https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_geometric_transformations/py_geometric_transformations.html#transformations import cv2 img = cv2.imread(r"C:\Users\Personal\Documents\3rdyear\lab_manuals\noised_image.jpg",0) rows,cols = img.shape#it only works for black and white be...
[ "noreply@github.com" ]
noreply@github.com
b3ab80fc9ff47764f6c0bf07ebfada6f13074ce2
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_355/ch131_2020_04_01_17_55_42_755784.py
4c58703c96d166274d0324a80fa7cc166fe51e65
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
import random a = random.randint(1, 10) b = random.randint(1, 10) s = a + b contador = 0 print ("Vc tem 10 dinheiros") chutes = input("quantos chutes quer comprar?") while contador < chutes: pri_numero = input("aposte 1 numero") seg_numeros = input("aposte outro numero, este deve ser maior ou igual ao anterior"...
[ "you@example.com" ]
you@example.com
3442d2ddf3b9c68f0ee4fcc3d22e673e983a2d03
3dde7ed023f2fb7b4ad3996894e82a72794565ad
/src/vlab/asgi.py
955e0e87ce3806684dc90bf1162996b84773017d
[]
no_license
harshit37/vlab
9fc038ca24757ba402949c592153c1e51010fa75
7e400dd7089cb9512bd01ddb7b07e1882a14809f
refs/heads/main
2023-05-01T19:44:22.973221
2021-05-14T18:44:40
2021-05-14T18:44:40
366,010,794
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for vlab project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJ...
[ "root@Dell-PC.localdomain" ]
root@Dell-PC.localdomain
7836a38150fdd249abc279976af5f7e338ec908d
24924453c07e6002d66e9a951f8523fc1feaf83d
/Lectures/Lecture 4 - Introduction to Python/leapyear.py
503b0095d5a079ecfd3cd2a966fbd61dfff588b0
[]
no_license
ShonnyAIO/Code-In-Place-Stanford-Univeristy-2021
e1fc87b38641b252e2493e5cc5c1be9c829a7f09
c372465cc8a8b2fc0f40ec00c3f38e24e8def6c9
refs/heads/main
2023-05-08T21:55:28.787768
2021-05-29T03:23:00
2021-05-29T03:23:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
def main(): year = int(input("Give your year: ")) if(not year % 4): if(not year % 100): if(not year % 400): print("That's leap year!") else: print("That's not a leap year") else: print("That's leap year!") else: prin...
[ "exodiakah@gmail.com" ]
exodiakah@gmail.com
47dbfd79684e1c1de391ab0f088f07468a32f0a0
761442df47845984e777a342a9c17beaff112835
/config/settings/stg.py
fbf974ecc65e790e24b4fc9a5684defe6db3689e
[ "MIT" ]
permissive
SportySpots/seedorf
8dcd80c0b3bd794cd09354740dbf15628f20dfee
3f09c720ea8df0d1171022b68b494c2758f75d44
refs/heads/master
2023-09-03T16:08:18.586144
2019-12-21T22:32:36
2019-12-21T22:32:36
106,041,744
3
0
MIT
2023-09-04T20:46:33
2017-10-06T19:17:40
CSS
UTF-8
Python
false
false
288
py
from .prd import * # noqa MEDIA_URL = "https://sportyspots-stg.s3.amazonaws.com/" CORS_ORIGIN_WHITELIST = [ "https://training.sportyspots.com", "http://localhost:8000", "http://localhost:8080", "http://127.0.0.1:8000" "http://127.0.0.1:8080", ] + CORS_ORIGIN_WHITELIST
[ "ashutoshb@gmail.com" ]
ashutoshb@gmail.com
8b68148df57be36fa8e9062b4bf609759566fc8a
66310d12b0afd748bb40aa5bc5fce8d9625838bc
/devtest/physics/numberdict.py
8f1b3ac1a37fafd671d162a4daf0f7c142a161e8
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
chaulaode1257/devtest
02fd8c31a801c0dfba28ff3e19be89d8d185d558
9ec93045ba4bab5b20ce99dc61cebd5b5a234d01
refs/heads/master
2023-03-19T17:39:05.775529
2020-12-21T01:11:12
2020-12-21T01:11:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,894
py
# Dictionary containing numbers # # These objects are meant to be used like arrays with generalized # indices. Non-existent elements default to zero. Global operations # are addition, subtraction, and multiplication/division by a scalar. # # Written by Konrad Hinsen <hinsen@cnrs-orleans.fr> # last revision: 1999-7-23 #...
[ "dart@google.com" ]
dart@google.com
eb0af1cae0abc9f558c4b2dbf6c5134c2923070c
b5b3642dd43599f375baac26de6fe72aacaa0a38
/8/a.py
bc1ad96065ee82d8eb2eb62b494fd4cf2d49a7c8
[]
no_license
the-glu/aoc2019
61eea9f4c8fab86786f89d1545a0c4301767431f
5590294e9d4f040d7c17792ac02efb52b0674387
refs/heads/master
2020-09-30T15:10:55.719241
2019-12-20T09:50:16
2019-12-20T09:50:16
227,313,232
0
0
null
null
null
null
UTF-8
Python
false
false
15,864
py
d = """1122222222222222122221222202122222222022222222222221222222222021002222221202221012222221222222222212222201022222222220202222222122212222222222222212221022222222222222122222222202222222222022222222222221222222222221002222221202221212222221222222222212222210022222222222222222222022212222222222222222220222222222222...
[ "maximilien@theglu.org" ]
maximilien@theglu.org
37b16598f173de07ea41f4d67978f031034c90e7
ee838d827f128b6d651675fbc11c6127be58280a
/scipy_341_ex3.py
2c29670607e0bd65654f760b0260cb4d971ce5e0
[]
no_license
CodedQuen/Scipy-and-Numpy
80a4b2d6792ba4702634849d583e0ce86e4a2820
1b333d5f7cf2c6310c64523f9de80718c6a84cb4
refs/heads/master
2022-11-09T23:12:17.624938
2020-06-27T04:38:01
2020-06-27T04:38:01
275,300,153
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
import numpy as np from scipy.stats import geom # Here set up the parameters for the normal distribution. # where loc is the mean and scale is the standard deviation. p = 0.5 dist = geom(p) # Setup the sample range x = np.linspace(0, 5, 1000) # Calling norm's PMF and CDF pmf = dist.pmf(x) cdf = dist....
[ "noreply@github.com" ]
noreply@github.com
cb0905fda3cb7d3af65e15d93cfc3e24e05aac02
8d1c63af604114d488dea3f0ab55c148b8f2de43
/EMRClusterWithHbase/emr_cluster_with_hbase/emr_cluster_with_hbase_stack.py
2ea002afac6c8f61910bcb2aaa6ae1944d4bef08
[]
no_license
G1Yara/AWSCDKProjects
9ebe87b689934484c68b036d466d1e9c5b752e94
bd7781ba6c0666f91cd94b4550140ed0b3f0e55c
refs/heads/main
2023-07-04T03:48:05.239215
2021-08-08T11:48:41
2021-08-08T11:48:41
382,611,945
0
0
null
null
null
null
UTF-8
Python
false
false
5,829
py
from aws_cdk import core as cdk from aws_cdk import aws_emr as _emr from aws_cdk import aws_ec2 as _ec2 # For consistency with other languages, `cdk` is the preferred import name for # the CDK's core module. The following line also imports it as `core` for use # with examples from the CDK Developer's Guide, which are...
[ "jeevan.yara@costrategix.com" ]
jeevan.yara@costrategix.com
aabe87fa211f6a080703506ca296b4e66a5a0250
daf4d684435b7f68c9801b53ebd2843927cb8f7b
/blog/migrations/0001_initial.py
ddda976f0c73a18442d002f9cd9151557e7a27a5
[]
no_license
f-vitorio/projeto_fvblog
97225e930e302260f6ff2d58ee571c03c49447dd
d4ff00235ed464507a7bd59bd4c65a9962468a40
refs/heads/master
2023-04-30T15:58:43.730839
2021-05-16T15:37:11
2021-05-16T15:37:11
365,357,439
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
# Generated by Django 3.2.2 on 2021-05-08 22:56 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "fabio.vitorios@gmail.com" ]
fabio.vitorios@gmail.com
2fa9a4345cb0ce267a252e6a85ac0ed094801074
d220b1ce312153f70e776eafbb44bf4fadb50870
/translation/transformer/mindspore/train.py
43565da0bbabfd8306f19dde6a88862a14bf5366
[]
no_license
luweizheng/nn-bench
1012a6e84759cf7b6392ed5b138a6961b4c30b50
5644d22257b4e1e4418b66914940acab99deaba3
refs/heads/master
2023-04-11T12:39:18.969953
2021-04-22T12:02:10
2021-04-22T12:02:10
343,982,095
0
1
null
null
null
null
UTF-8
Python
false
false
9,042
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "luweizheng36@hotmail.com" ]
luweizheng36@hotmail.com
1c58e39e99b670be9e8d2f6c4131c0c5d37638b3
6a1595e33051ebbd098f78cb0ff7d09cfc0a57dc
/day3/work_day3.py
64838662dc94e940f40402a3a1643dba55a2d0ff
[]
no_license
MannixZ/Python_1-100
f3514ef1255ca27b656209716bdb27d3821df46e
740c3d2800f8d55fd2bcd8f789486253e01c9d53
refs/heads/master
2020-07-04T03:18:10.125091
2019-11-18T16:45:11
2019-11-18T16:45:11
202,135,554
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/7/29 15:05 # @Author : Mannix # @File : work_day3.py # @Software: PyCharm def work_1(): '''英制单位英寸和公制单位厘米互换''' value = float(input('请输入长度: ')) unit = input('请输入单位: ') if unit == 'in' or unit == '英寸': print('%f英寸 = %f...
[ "noreply@github.com" ]
noreply@github.com
2cdf52486711ebe99c6646a833bcf3b370fd8337
d6c9c730ca514af81307018c669bd2f7e5de51c6
/Stack_20190722/stack_class.py
fea59faa2fbd2e6bd8c2179dd296a356f5911880
[]
no_license
itbullet/python_projects
a1a56d070a6a70b0814cdc2a83cbd1ce9bc0dab8
06d171f1cab7f45c704944e40ffb0b7a175c1d2d
refs/heads/master
2020-06-22T15:07:40.768297
2019-09-09T13:49:02
2019-09-09T13:49:02
197,734,778
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
class Stack: def __init__(self): self.items = [] def is_empty(self): return self.items == [] def push(self, item): self.items.append(item) def pop(self): return self.items.pop() def peek(self): last = len(self.items) - 1 return self.items[la...
[ "eduard.shapirov@gmail.com" ]
eduard.shapirov@gmail.com
d16669265ce1d3d275559219e2fae8d5d8e1a567
dd673e10e2b3e6da88971e2d428b89aeb019efa9
/setup.py
25c07b4c89bb8f05b9ca7626ebe27400aabfb3d8
[]
no_license
JaFro96/helloworld-cli
5cbe47b95d8b9d62ba16d3fe2d16b424b1fbd03c
a151f3d8cf5b75363dea8c26c1abcf74ff89e9a1
refs/heads/master
2020-04-07T23:36:36.161841
2018-11-23T14:14:04
2018-11-23T14:14:04
158,819,049
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from setuptools import setup setup( name = 'helloworld-cli', version = '0.1.0', packages = ['helloworld'], entry_points = { 'console_scripts': [ 'helloworld = helloworld.__main__:main' ] })
[ "jannis.froehlking@gmail.com" ]
jannis.froehlking@gmail.com
83865e2461c7fdd4cb466554d9f685060a332d9a
345b37bd2d062f4d020b3c974854e016e727afd7
/black.py
24c57ca4aee1d54ae862e8e879a4d27f9577f029
[ "MIT" ]
permissive
AfolabiOlaoluwa/black
04d458de4aa841e12bdc1e0b577fcee09392915e
4c086b137e8869166282765a8242808785605278
refs/heads/master
2021-04-06T02:26:23.245318
2018-03-14T21:38:33
2018-03-14T21:38:33
125,282,966
1
1
MIT
2018-03-14T22:43:03
2018-03-14T22:43:02
null
UTF-8
Python
false
false
47,591
py
#!/usr/bin/env python3 import asyncio from asyncio.base_events import BaseEventLoop from concurrent.futures import Executor, ProcessPoolExecutor from functools import partial import keyword import os from pathlib import Path import tokenize from typing import ( Dict, Generic, Iterable, Iterator, List, Optional, Set...
[ "lukasz@langa.pl" ]
lukasz@langa.pl
f349f95dd59e3f2da5fac2f55430ae681541b0d6
70f52a9fb99c992c9ee092a6f6be516ec210c7e3
/app/projects/service.py
b7bff8218065f55559a22898eb6d6fc8dbb20851
[]
no_license
LilaKIM/arborator-backend
c92634165b52af8af70928ad3662dd399248e864
ac900ee8df0a4a9d792f12401d7e64e06e2e3d69
refs/heads/main
2023-05-30T20:43:40.676374
2021-06-21T13:54:27
2021-06-21T13:54:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,547
py
from typing import Dict, List import json import base64 from app import db from flask import abort, current_app from flask_login import current_user from .interface import ProjectExtendedInterface, ProjectInterface from .model import Project, ProjectAccess, ProjectFeature, ProjectMetaFeature, DefaultUserTrees from .....
[ "kirianguiller@gmail.com" ]
kirianguiller@gmail.com
07633b13bd1cf0f0286c52bae03096144bf0adb2
868cd4895a8da17a7e3e2c8da0ec9e139f8d0c30
/keras/keras35_lstm_sequences.py
13dc52d0ca3c1cfc6a2f3bdc6e3f021efc2c58f9
[]
no_license
inJAJA/Study
35d4e410df7b476a4c298664bb99ce9b09bf6296
c2fd9a1e1f3a31cb3737cbb4891d848cc802f1d4
refs/heads/master
2022-12-21T11:41:15.396610
2020-09-20T23:51:45
2020-09-20T23:51:45
263,212,524
3
3
null
null
null
null
UTF-8
Python
false
false
3,440
py
## LSTM_Sequence : LSTM을 2개 연결하기 from numpy import array from keras.models import Model from keras.layers import Dense, LSTM, Input # 1. 데이터 x = array([[1,2,3],[2,3,4],[3,4,5],[4,5,6], [5,6,7],[6,7,8],[7,8,9],[8,9,10], [9,10,11],[11,12,13], [20,30,40],[30,40,50],[40,50,60...
[ "zaiin4050@gmail.com" ]
zaiin4050@gmail.com
4b3016bfcd3071fffd9aa21d51d55071e41cbcdd
117250ff85300373ee6f51be278563a05527fef7
/jurivoc/Scripts/test-word2vec.py
ae1084ff60d888380d70c5eca8e9cf1a2f0fa20e
[]
no_license
xianfanZ/thesaurus_juridique
e216686f1e16fd128d3e0c4d2976a1aa1501b615
32704986cff712cb40696b6c576760a0a59c01dd
refs/heads/master
2021-01-21T06:55:26.816080
2017-04-14T23:58:49
2017-04-14T23:58:49
83,296,569
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# -*- coding: utf-8 -*- from gensim.models import word2vec import logging # main program logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO) sentences = word2vec.Text8Corpus("../../Corpus/types/ABUS_DE_CONFIANCE.txt") # load corpus model = word2vec.Word2Vec(sentences, size=200...
[ "zhangxianfan.cheryl@gmail.com" ]
zhangxianfan.cheryl@gmail.com
a1114a9398ef20a6155681319bce9f66984d1d74
df7551294967bf85d759545271fe75bd57ad3adf
/Multiclass classification.py
bf49c01595a2860addedd98a55b0c44555a97266
[]
no_license
raghavkabra/Machine-learninig
c02f3bd8b4cbbab0680109dc43fd69c73eb07280
ca9b1969be8a89344c16d8d7413404b34f7b6c21
refs/heads/master
2021-01-20T15:50:37.477218
2016-06-27T09:30:12
2016-06-27T09:30:12
61,787,241
0
0
null
null
null
null
UTF-8
Python
false
false
1,937
py
## 1. Introduction to the data import pandas as pd cars = pd.read_csv("auto.csv") print(cars.head()) unique_regions = cars["origin"].unique() print(unique_regions) ##2. Dummy variables dummy_cylinders = pd.get_dummies(cars["cylinders"], prefix="cyl") cars = pd.concat([cars, dummy_cylinders], ...
[ "noreply@github.com" ]
noreply@github.com
723c56869dcbe51563a60e055a7706f3999667c7
43c24c890221d6c98e4a45cd63dba4f1aa859f55
/test/cpython/test_shelve.py
8f8bff4866c04207c68433d618ae4b4cbfeb0b4c
[ "Python-2.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
jmgc/pyston
c8e4df03c33c6b81d20b7d51a781d9e10148238e
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
refs/heads/master
2020-12-11T07:51:58.968440
2020-09-11T14:38:38
2020-09-11T14:38:38
39,242,644
0
0
NOASSERTION
2020-09-11T14:38:39
2015-07-17T08:09:31
Python
UTF-8
Python
false
false
42
py
../../from_cpython/Lib/test/test_shelve.py
[ "kmod@dropbox.com" ]
kmod@dropbox.com
385482e1ff987a86454cad4be76b6a7843637fba
3e393878c487013c793a7b7e623359e9dea4670e
/adversarial_robustness_toolbox/art/classifiers/tensorflow.py
ac7d9ed57dff29739f0d705382f20e61978e6df5
[]
no_license
mattgorb/detecting_erroneous_inputs
241b25194c53f177259213f0149836eca96b7b5c
6e191c920a06437703aa46d4a5aa8b3875d90b81
refs/heads/master
2021-01-09T19:55:21.082681
2020-02-28T06:33:39
2020-02-28T06:33:39
242,439,913
4
1
null
null
null
null
UTF-8
Python
false
false
39,283
py
# MIT License # # Copyright (C) IBM Corporation 2018 # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated # documentation files (the "Software"), to deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge...
[ "Idontknow8112@@@" ]
Idontknow8112@@@
2e5b8495a8a6785b298450a12c2423c57bffeb2c
968932c0550f7a0e19dfe354114a5196f9d1aee6
/manage.py
36d568ccb31ba38d01aa135ef41751d8bde463d1
[ "MIT" ]
permissive
kaphie/InstaClone
4589bf8de0b747c0297e03becb1e23eed6403d38
801853615b99071d8eb31498144cac039fa0fa2c
refs/heads/master
2023-08-02T12:13:20.815748
2020-06-04T08:32:08
2020-06-04T08:32:08
267,879,326
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "instaClone.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. A...
[ "bkafrika144@gmail.com" ]
bkafrika144@gmail.com
1d95b787262c812df63310329f558d1fb2407a77
8bee8da678b972dc038a458bdb4a71ffa1935e8b
/Scripts_MT_Structure/Reflectivity_test_BK.py
e4304282747d401e51baeea77dd86c8bba0a5c27
[ "BSD-3-Clause", "MIT" ]
permissive
nienkebrinkman/SS_MTI
f00674cafe92d5459d16d9a64265fb68b981e24c
2632214f7df9caaa53d33432193ba0602470d21a
refs/heads/master
2023-04-11T10:11:29.346463
2021-08-04T14:37:41
2021-08-04T14:37:41
274,366,567
0
0
null
null
null
null
UTF-8
Python
false
false
1,396
py
import erzsol3Py.erzsol3Py as erz """ 1. Create csv-model file """ import numpy as np # depth_model = np.arange(0, 3450, 50) # dz = (depth_model[1] - depth_model[0]) / 1000 # convert to km # Vp_model = np.linspace(5, 5, len(depth_model)) # Vs_model = Vp_model / 2 dz = np.array([1.0]) Vp_model = np.array([5.0]) Vs_...
[ "nienke.brinkman@erdw.ethz.ch" ]
nienke.brinkman@erdw.ethz.ch
b03c6bdfebfbe7358825863a45d6d3a2564c5301
608a922d4ff844589ae529e5b1d6acafc9d8f655
/core/migrations/0004_auto_20210218_0351.py
7ac7f39650efef114771948908e05f48794cc639
[ "MIT" ]
permissive
Agyey/Restaurant-API
14dd0629208283fbd48203fad0c0e8d586e1ca97
ecef12da1dde087e545bb89d132309b5c91943c6
refs/heads/main
2023-03-03T16:05:04.888811
2021-02-18T00:31:13
2021-02-18T00:31:13
339,881,297
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
# Generated by Django 3.1.6 on 2021-02-17 22:21 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("core", "0003_auto_20210218_0341"), ] operations = [ migrations.AlterField( model_name="restaurant", ...
[ "agyey27@yahoo.co.in" ]
agyey27@yahoo.co.in
e945933bb1181d2976332caa4371b920cbec54b0
ec56cadfe20834b9e6536ce075f0d807f509c967
/VGG/utils/vgg_utils.py
21f45b5a57e6cf7d9b9a6845f1aa69e9ab35d02d
[]
no_license
joao-afonso-pereira/Fingerprint-Antispoofing-Domain-Adaptation-and-Adversarial-Learning
3ecb2f795b63490b76c0427f3262af254dd118ea
5607c3d1f02efa285d04b933b9d1f601903e6535
refs/heads/master
2022-12-07T20:53:29.842211
2020-09-02T20:41:23
2020-09-02T20:41:23
284,818,782
1
1
null
null
null
null
UTF-8
Python
false
false
460
py
import numpy as np def _nanargmin(arr): try: return np.nanargmin(arr) except ValueError: return np.nan def frange(start, stop, step): num = start _list = [] while num <= stop: _list.append(num) num = num + step return _list def set_parameter_requires_...
[ "joaoappereira@gmail.com" ]
joaoappereira@gmail.com
a20838320324c0d78d3f26c32300498cc1369aba
e3cacb42b3eaced8ad68b5d9c871cb212a9026a5
/profile_project/urls.py
0f97233a86f963449ce82de8653625c658cf24a9
[ "MIT" ]
permissive
Vishal2602/profiles-rest-api
fb0673356f0d45002a3062ef499c22bfb89428b1
d869ce3f5bd2ad7b87655cc2fa691ccba5b9f4fa
refs/heads/main
2022-12-29T10:32:47.528189
2020-10-14T09:01:46
2020-10-14T09:01:46
303,087,889
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
"""profile_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "vishals2602@gmail.com" ]
vishals2602@gmail.com
3c45d1ba786cee4c5a59c34859e5c387fea12955
17c7ca173a8619ec6b3138d1cf96dad5fe8916da
/make_kdd.py
e9d464a8017767a15b2aa055e8272fae8f24956d
[]
no_license
rob-n3ikc/continuous-Boltzmann-Machine
81adcf6f630b526bb38e27faad863419bd9e2e65
b0a239ae57804832034cb05270e5a671549beb97
refs/heads/master
2021-06-25T20:43:04.394980
2021-01-15T19:52:38
2021-01-15T19:52:38
203,423,404
0
0
null
2021-01-15T19:52:39
2019-08-20T17:29:58
C++
UTF-8
Python
false
false
1,374
py
#!/usr/bin/python # nominally python2, but python3 should work as it isn't anything fancy import math import sys def square( nsample, nwide, start): retval = [] for i in range( start, nsample+start): if (i/nwide)%2 == 0 : retval.append(1.) else: retval.append(-1.) ...
[ "noreply@github.com" ]
noreply@github.com
26864c7ca7f2c60cdd522839d715e9bc97910ed5
1c2fdf5e2c02ac497e0054d7f6b171c97ab9d669
/myapp/urls.py
6e7764972545ca9612a5f1c0383d5d7a0bb46a68
[]
no_license
sachingowda1996/p10
3bf5ced5fbf10b2903c7b85a4af6b9bcabac236a
8e1dcaa6228d528a1bdb6a12e6a7bd74481f63bc
refs/heads/master
2022-11-29T09:18:55.164044
2020-08-10T16:42:24
2020-08-10T16:42:24
286,528,813
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
from django.urls import path from myapp import views app_name="myapp" urlpatterns = [ path('trail/',views.trail,name="Trail"), path('profile/',views.profile,name="profile"), path('get_demo/',views.get_demo,name="get_demo"), path('post_demo/',views.post_demo,name="post_demo"), ]
[ "sachinkn2019@gmail.com" ]
sachinkn2019@gmail.com
547e6a3a571c9e2c706f867b40ebd19184612a68
4b64dd47fa9321b50875e96298a5f0766ffe97c9
/adventofcode/2020/day7/run.py
9046f4736d837a0d56f7717eedabdfc086788e75
[]
no_license
choupi/puzzle
2ce01aa85201660da41378c6df093036fa2d3a19
736964767717770fe786197aecdf7b170d421c8e
refs/heads/master
2021-07-23T13:17:45.086526
2021-07-20T11:06:28
2021-07-20T11:06:28
13,580,701
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
def dfs(bag): if bag == 'shiny gold': bag_result[bag] = 1 return 1 if bag in bag_result: return bag_result[bag] if bag not in bag_dict or not bag_dict[bag]: #print(bag) bag_result[bag] = 0 return 0 for b in bag_dict[bag]: if b in bag_result and bag...
[ "chromosome460@gmail.com" ]
chromosome460@gmail.com
3eeafad473611f2134280a3625dfe10dba05c18c
9d28b8d5e2416f0f2037c7bc27266a017c201d8f
/manage.py
f3998254019c831f1fe8b08b3f189249a4762e97
[]
no_license
njs03332/soup
ac39451c447ef3de178884eb3987cffc18e1a3af
aab45edeb99dd0ad3014018d834bf655b71e1b80
refs/heads/master
2021-10-27T22:21:43.632550
2019-04-20T08:26:07
2019-04-20T08:26:07
181,488,857
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mynewsdiary.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "njs03332@gmail.com" ]
njs03332@gmail.com
76f55e7c8955a43c6f2ee8943674c16a479335be
3898aadbdee48ba30e7186a381b3949445df1f34
/build/catkin_generated/generate_cached_setup.py
9d114b92d0cf4c89d80e5db389b9e36644434892
[]
no_license
AdrianKlei/Studienarbeit
968f632b9ab1860e6a92e10d1de864a3c2b66a6a
4f6cec57d2bd43a2e5d249857bd77fd95639dde2
refs/heads/master
2022-12-10T00:26:42.068418
2020-09-09T11:58:12
2020-09-09T11:58:12
293,834,927
0
0
null
null
null
null
UTF-8
Python
false
false
1,332
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "a.kleimeier9@gmail.com" ]
a.kleimeier9@gmail.com
2fd8f4c115292d74b608708a12cf0e05d045b84f
fb8666ba2f687441fb462482ddc2465669ab815f
/my_funcs.py
f661f67cc3dd41b03181ba1e5b4f1dc6385a14c6
[ "Apache-2.0" ]
permissive
wchunhao2000/pyneta
407315bcabdb5c95e277ad6d8f9e2b6f9650f212
3c03dff486e3a777e3e6cca4e0de5b823cf64256
refs/heads/main
2023-06-14T04:40:39.348164
2021-07-12T19:20:56
2021-07-12T19:20:56
359,228,154
0
0
Apache-2.0
2021-07-12T19:20:56
2021-04-18T18:54:37
Python
UTF-8
Python
false
false
473
py
import yaml def yaml_load_devices(filename="arista_devices.yml"): with open(filename, "r") as f: return yaml.safe_load(f) raise ValueError("Reading YAML file failed") def output_printer(arp_list): print() print("-" * 40) for arp_entry in arp_list: mac_address = arp_entry["hwAddre...
[ "wchunhao2000@hotmail.com" ]
wchunhao2000@hotmail.com
ce12c3bac2fa1e50590db1267dd69ad54d66dae2
1bfca35cb83842000a3e37f81a69627535a12bf6
/examples/testWhile3.py
78d24d522215b5cd084dafeb3a2c0b6ab0f53bc6
[]
no_license
scar86/python_scripts
4a8a51f15d21f3b71fa8f0cd2131f75612c40613
686b1229c6736147b7cfcd2d0bf31e5f12e85e00
refs/heads/master
2021-01-11T00:28:31.989712
2016-11-04T18:52:21
2016-11-04T18:52:21
70,526,392
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
'''Test yourself again: what happens?''' nums = list() i = 4 while (i < 9): nums.append(i) i = i+2 print(nums)
[ "gogs@fake.local" ]
gogs@fake.local
52ce23e7f3882bef68452fb5455b78d398f419b7
335852dcc77acd702a7b62bb32f1773888f9c524
/src/finetune_eval_config.py
446973721ed341b598caf3369dc59c86fcfc6ee8
[ "MIT" ]
permissive
lvyufeng/emotect_mindspore
107c6cdd8cc9eac1b53b67915de08ec60b3bef22
d36172969c3adce018f97e6adaeb46d9ec9e241c
refs/heads/main
2023-03-12T10:58:56.355157
2021-02-25T23:40:15
2021-02-25T23:40:15
340,881,320
5
0
null
null
null
null
UTF-8
Python
false
false
1,332
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "lvyufeng@cqu.edu.cn" ]
lvyufeng@cqu.edu.cn
abf926933f8f8d4dabf73aa3ae493088c66fad10
13e4a2e3014777f8be4cf169e51665b4da385ee2
/bin/ewf2mattock
27955c3654901730c73d02c7a4aadfb216909046
[]
no_license
robklpd/MattockFS
3c249f07ab982454eda5b8ad8209d26f16f29b2f
38146dd4390314e79380f2571db9b253cc336b16
refs/heads/master
2021-01-17T18:45:50.186072
2016-08-21T00:38:50
2016-08-21T00:38:50
66,283,336
0
0
null
2016-08-22T15:13:50
2016-08-22T15:13:50
null
UTF-8
Python
false
false
1,897
#!/usr/bin/python # NOTE: This script is meant mainly for testing purposes. # It does not respect mattock throttling considerations from mattock.api import MountPoint import pyewf import sys import json ewffiles = sys.argv[1:] if len(ewffiles) == 0: print "Please specify EWF file to use." else: mp = Moun...
[ "pibara@gmail.com" ]
pibara@gmail.com
97f5234c19b1e8eed56e1695c2261be1efff2775
87a3082f6de154aa29b9ca94859940bd21d5a174
/1_code/2_ensembles.py
281274d852eb58560448f1d5368f9e424177c103
[]
no_license
purrlab/ENHANCE
c4b9dc1750bbeebdcbe679cfe0fba9bf8f98d09b
61b4176c4e8b90e6670c5fde67e98dc6babc4308
refs/heads/main
2023-07-27T04:06:29.234375
2021-09-13T10:47:54
2021-09-13T10:47:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,884
py
# coding: utf-8 # Introduction """ We based the ensembles on the predictions of three available multi-task models: asymmetry, border and color. Per annotation source (student, crowd and automated), we calculate using averaging ensemble technique the class prediction (abnormal or healthy). """ from statistics import m...
[ "noreply@github.com" ]
noreply@github.com
b592bfd26e518c213f887d4d3836f718c8a09754
4234dc363d0599e93abc1d9a401540ad67702b3b
/clients/client/python/test/test_ui_container.py
c3e92fd3828cd09328d2c9a7225f247880fd3b55
[ "Apache-2.0" ]
permissive
ninjayoto/sdk
8065d3f9e68d287fc57cc2ae6571434eaf013157
73823009a416905a4ca1f9543f1a94dd21e4e8da
refs/heads/master
2023-08-28T03:58:26.962617
2021-11-01T17:57:24
2021-11-01T17:57:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
""" Ory APIs Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501 The version of the OpenAPI document: v0.0.1-alpha.21 Contact: support@ory.sh Generated by: htt...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
1430f7e16fa54fc01134cf993d1d04dd603472f9
f185d465b4cfb87d1d6b909566299218ac81e0f9
/hw6/solutions/ukf_slam.py
3c406bf137f1a4ec30eccfebb74a7de1f41ef20a
[]
no_license
handsomeboy/FreiburgSLAM
1d10d7762e041742ee235b88f56d47d43ef2528b
16d4bbe6c9bcc0cf3c7a7acb02bd87409fb62d00
refs/heads/master
2020-04-16T09:42:55.623665
2019-01-12T10:17:42
2019-01-12T10:17:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,944
py
import scipy import main def prediction(mu, sigma, u): """Updates the belief concerning the robot pose according to the motion model (From the original MATLAB code: Use u.r1, u.t, and u.r2 to access the rotation and translation values) In this case u['r1'], u['t'] and u['r2'] to access values...
[ "icfaust@gmail.com" ]
icfaust@gmail.com
e9ebc7aaca1f90e2f3771a9aa5a6dcfda029d314
762de1c66746267e05d53184d7854934616416ee
/tools/MolSurfGenService/MolSurfaceGen32/chimera/share/AddAttr/gui.py
6e64524fe36c39941dcf1ec1fd3c40af7584d9e7
[]
no_license
project-renard-survey/semanticscience
6e74f5d475cf0ebcd9bb7be6bb9522cf15ed8677
024890dba56c3e82ea2cf8c773965117f8cda339
refs/heads/master
2021-07-07T21:47:17.767414
2017-10-04T12:13:50
2017-10-04T12:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,341
py
# --- UCSF Chimera Copyright --- # Copyright (c) 2000 Regents of the University of California. # All rights reserved. This software provided pursuant to a # license agreement containing restrictions on its disclosure, # duplication and use. This notice must be embedded in or # attached to all copies, including partia...
[ "alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5" ]
alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5
bb18aefd362885d2dd59a4b42d6c8feec042ccd5
879677f51fed955b6f4c3c735546d43472540d4b
/parse_input.py
e69e689105c5f403364a853e07fcf8610febd008
[]
no_license
bhaktipriya/Vanilla-Neural-Nets
5a79f9bc2a213d5032c28cd4add28ec2255a8154
430fdc901a6b782073583e3be20d9ca1d48354f4
refs/heads/master
2021-01-11T15:20:10.180002
2017-01-29T08:08:43
2017-01-29T08:08:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
import numpy as np import scipy.misc import copy import scipy.ndimage.interpolation import cv2 import matplotlib.pyplot as plt import matplotlib.image as mpimg def parse(filename): content = [line.rstrip('\n') for line in open(filename)] digits = {'0':[],'1':[],'2':[],'3':[],'4':[],'5':[],'6':[],'7':[],'8':[],'9':[]...
[ "bhaktipriya96@gmail.com" ]
bhaktipriya96@gmail.com
29131f57a53f289fa1acbf453e12bd04d8254414
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03971/s324739743.py
cf8d957b84e9ee6c1e59d6f5affdedeba9c06742
[]
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
376
py
N, A, B = map(int, input().split()) S = input() ac_count = 0 ac_b_count = 0 for s in S: if ac_count < A + B: if s == 'a': print('Yes') ac_count += 1 elif s == 'b' and ac_b_count < B: print('Yes') ac_count += 1 ac_b_count += 1 els...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0e99241442ef4baba926c3f67fdd64a90cfc019f
d47be173a3ad7bdc3839fbefdafae8235fb2542f
/components/equipment.py
430f8fdcdba1b58ce7a0f2d6b9d1b30626c6613f
[]
no_license
ignaoya/caster
ce4ccefc69bbc4a08412414c8ace1df20a427f9c
e64276707dbe85315571486494be8f48964b8dc1
refs/heads/master
2021-07-12T16:20:14.567858
2020-07-28T11:03:44
2020-07-28T11:03:44
177,807,388
0
0
null
null
null
null
UTF-8
Python
false
false
2,801
py
from equipment_slots import EquipmentSlots class Equipment: def __init__(self, main_hand=None, off_hand=None): self.main_hand = main_hand self.off_hand = off_hand @property def max_hp_bonus(self): bonus = 0 if self.main_hand and self.main_hand.equippable: bonu...
[ "ignaoya93@gmail.com" ]
ignaoya93@gmail.com
b0ebcf408ec96db2f5de565245fba1fe6890b293
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/6e9ea2f74da3868e106375d8efe39de34707e2ee-<_check_result>-bug.py
7dbf8d31b95766ecf041fb78095a44679e970643
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,414
py
def _check_result(x, fun, status, slack, con, lb, ub, tol, message): '\n Check the validity of the provided solution.\n\n A valid (optimal) solution satisfies all bounds, all slack variables are\n negative and all equality constraint residuals are strictly non-zero.\n Further, the lower-bounds, upper-...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
c2dc614ebb35d37b1f02d60a7a2b4379aa756714
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/eventgrid/v20200601/list_domain_shared_access_keys.py
1f55623514778ec7b92005163dffba4572484403
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
2,637
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
d4d226e3bce3c4641da843ae4ccd09546e6dfbed
7e3ddf4db2cc7007aec900894bf5a1fa26af683d
/mictnet/utils/metrics.py
658c6b9642943493706eb12cb19aafdaab903adc
[ "Apache-2.0" ]
permissive
scenarios/MiCT-Net-PyTorch
b7a1524add0854332ae4d1ba3db976aa77d57288
fdd72270f70cfe81c24e5cb1daa9df65ecc5b035
refs/heads/master
2022-04-07T09:37:42.459989
2020-02-18T15:44:32
2020-02-18T15:44:32
295,692,958
1
0
Apache-2.0
2020-09-15T10:30:15
2020-09-15T10:30:14
null
UTF-8
Python
false
false
1,153
py
import torch class AverageMeter(object): """Computes and stores the average and current value""" def __init__(self, name, fmt=':f'): self.name = name self.fmt = fmt self.reset() def reset(self): self.val = 0 self.avg = 0 self.sum = 0 self.count = 0 ...
[ "noreply@github.com" ]
noreply@github.com
aa0eb817d55c9b1f59e8368528f940d9451cafe1
a5279a284802084e694be1d419dd816abfd87be4
/C-IDK.py
d9522a87e45c2dc37f9c71645fad257be56dae16
[]
no_license
raghunandan15102009/MOVE
ffbafdca0d341a5a1a3943063aa3c99c03503f41
efb2f86bbe0cedfdbb050d6c7bb4e99308b0a566
refs/heads/main
2023-07-06T00:15:17.227518
2021-08-09T07:35:48
2021-08-09T07:35:48
394,195,438
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
import dropbox class TransferData: def __init__(self, access_token): self.access_token = access_token def upload_file(self, file_from, file_to): dbx = dropbox.Dropbox(self.access_token) f = open(file_from, 'rb') dbx.files_upload(f.read(), file_to) def main(): ...
[ "noreply@github.com" ]
noreply@github.com
782df01ee7388692ea2870c9a5f8b636234f32e9
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/validators/isosurface/colorbar/title/font/_color.py
3d45a80274dd4a6a4d2f5e5279d0ca5accc9ccbe
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
497
py
import _plotly_utils.basevalidators class ColorValidator(_plotly_utils.basevalidators.ColorValidator): def __init__( self, plotly_name='color', parent_name='isosurface.colorbar.title.font', **kwargs ): super(ColorValidator, self).__init__( plotly_name=plotl...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
237b5db6e779a7de6c8b385bcac3bf982604e07e
931aa9c6a44f86e86440c17de62801b26b66fce8
/constance/LV/getLineUnbalanceAndLosses.py
f92c4871027b8e1d87960321b14354a1e8ea4bb7
[]
no_license
Constancellc/epg-psopt
3f1b4a9f9dcaabacf0c7d2a5dbc10947ac0e0510
59bdc7951bbbc850e63e813ee635474012a873a4
refs/heads/master
2021-06-08T11:33:57.467689
2020-04-01T13:19:18
2020-04-01T13:19:18
96,895,185
1
0
null
null
null
null
UTF-8
Python
false
false
7,785
py
import csv import random import copy import numpy as np import matplotlib.pyplot as plt from lv_optimization_new import LVTestFeeder import pickle #outfile = '../../../Documents/simulation_results/LV/voltages.csv' stem = '../../../Documents/ccModels/eulv/' alpha = 0.328684513701 g = open(stem+'lnsYprims.pkl','rb') da...
[ "constancellc@gmail.com" ]
constancellc@gmail.com
b8709100989393624db5f2ddeddd1a9db4dfe293
1eaef7b2f8d138cfd377abc4427aa8dfeffca2ff
/QuickFTP.py
4b5895298b2ba302b3c80db2293f3b788b5771df
[]
no_license
ratchet-Inc/QuickFTP_UE4_PY
2ad326d41c0937cc0fec64c1f0bee6d97cf034d5
1f9d0f092297b74d68a12c6e584111ffc7155c4a
refs/heads/master
2023-03-16T19:20:44.921600
2021-03-09T08:23:08
2021-03-09T08:23:08
333,596,278
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
import SocketController class QuickFTP(object): """ description:- A simple file transfer class to send binary files over a socket. """ def __init__(self, dir: str, socket: SocketController.SocketController): self.filesDirectory = dir self.curFile = None self.sock = socket ...
[ "deniroturboman@hotmail.com" ]
deniroturboman@hotmail.com
1e877888ec765a400293dfc038262acb74aba999
3baad9ca9756a8dbe6463df6e7f535aa2e0bffa3
/{{ cookiecutter.site_name }}/{{ cookiecutter.main_module }}.py
31d3b2b7913d472088c2dc695f0841b9d91b3e82
[ "MIT" ]
permissive
brettcannon/python-azure-web-app-cookiecutter
7fcaece747e7cef6d584c236aad4b842b63fa2f0
e7a3fbc3a724b7bbde43eb5904881d2e0cc07c42
refs/heads/master
2023-07-12T07:10:22.594048
2017-02-27T20:00:29
2017-02-27T20:00:29
63,901,465
5
2
null
null
null
null
UTF-8
Python
false
false
1,264
py
{% if cookiecutter.site_type == "socket" %} """An example HTTP server using sockets on Azure Web Apps.""" try: from http.server import HTTPServer, BaseHTTPRequestHandler except ImportError: from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler import os import sys class PythonVersionHandler(BaseHTTPRe...
[ "brett@python.org" ]
brett@python.org
233772e33dc528ca05905cbb759c6e51a5b29fe8
0cf55907660c0ea25079f6019cc98af12ccf4073
/EditDistance.py
bf7d68c24e36ac66ef690c4a9543dfe5e00a5e2b
[]
no_license
WeiTang1/DailyCoding
85c6276572acd501e1093c2e6258189078389935
2b6e5a0d974152562d82fff59232448fc5e32280
refs/heads/master
2020-04-04T11:02:17.982293
2019-02-11T04:11:04
2019-02-11T04:11:04
155,876,617
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
def editDistDP(str1, str2): # Create a table to store results of subproblems dp = [[0 for i in range(len(str2) + 1)] for _ in range(len(str1) + 1)] # Fill d[][] in bottom up manner for i in range(len(str1) + 1): for j in range(len(str2) + 1): # If first string is empty, only option...
[ "donatshanghai@gmail.com" ]
donatshanghai@gmail.com
d9dfa81dcdef58d13ec70d0d1b2dbd983f6dba11
8e6be7cac8eb2c95f2d659e6a2a78774cafe5826
/InsaneLearner.py
40c3b6da39f0f724b170a8d5371028561b3f4ac2
[]
no_license
Neil621/Decision_Tree
bffa7baefa7b0100f98142a244a0f0405d594737
40dc2f425f5a20df7d50bfa82fe66b83590694bb
refs/heads/master
2020-07-31T02:42:49.157094
2019-09-30T18:56:12
2019-09-30T18:56:12
210,456,670
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
import BagLearner as bl import LinRegLearner as lrl class InsaneLearner(object): def __init__(self, verbose=False): self.learner = bl.BagLearner(learner=bl.BagLearner, kwargs={"learner": lrl.LinRegLearner, "kwargs": {}, "bags": 20, "boost": False, "verbose": verbose}, bags=20, boost=False, verbose=verbo...
[ "neil.watt@ymail.com" ]
neil.watt@ymail.com
a89d0a7db49b9c97787f5713a000415bb2870f84
a97db7d2f2e6de010db9bb70e4f85b76637ccfe6
/leetcode/743-Network-Delay-Time.py
89a0689140f2f23f05b225a027399d92382c2f3c
[]
no_license
dongxiaohe/Algorithm-DataStructure
34547ea0d474464676ffffadda26a92c50bff29f
a9881ac5b35642760ae78233973b1608686730d0
refs/heads/master
2020-05-24T20:53:45.689748
2019-07-19T03:46:35
2019-07-19T03:46:35
187,463,938
0
1
null
null
null
null
UTF-8
Python
false
false
557
py
class Solution(object): def networkDelayTime(self, times, N, K): routes, seen, minHeap = collections.defaultdict(list), {}, [] for u, v, w in times: routes[u].append([v, w]) heapq.heappush(minHeap, [0, K]) while minHeap: time, tmpNode = heapq.heappop(minHeap) ...
[ "ddong@zendesk.com" ]
ddong@zendesk.com
f68f3963d1b07205e946987a8cdae6983f09b17b
b32fa26f60e71311a51055122a21fc908d4e9566
/0x04-python-more_data_structures/3-common_elements.py
4d0ebf389400a9e00ea67c424e45d465d8bc12a8
[]
no_license
felipeserna/holbertonschool-higher_level_programming
3ac4fdc91bf70477285994a1d41a72cd6987a277
9529bcdd50834569e25f1e0407922b3703807d45
refs/heads/master
2023-06-30T04:34:49.806549
2021-08-04T02:42:35
2021-08-04T02:42:35
259,475,665
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
#!/usr/bin/python3 def common_elements(set_1, set_2): common = set_1 & set_2 return(common)
[ "feserna86@gmail.com" ]
feserna86@gmail.com
8cd013a5cfbea88a36682c33babb0f3b7dae5129
b0c39c21ea63904d3e3c610a06c1e11b0a0c80d9
/setup.py
3998246ca1e02d4c827786524e5a89b7b902ab42
[ "Apache-2.0" ]
permissive
kevenli/FeedIn
d9893d6f7c29d818460da875d5abcb5b9f25b958
9b45ba9090d279834ac59887a24154e6ac7f4593
refs/heads/master
2021-01-23T00:48:30.404336
2015-05-26T06:33:05
2015-05-26T06:33:05
27,056,323
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
from distutils.core import setup from setuptools import find_packages setup(name='FeedIn', version='0.1', author='Keven Li', author_email='kevenli@users.noreply.github.com', url='https://github.com/kevenli/FeedIn', download_url='https://github.com/kevenli/FeedIn', description='Web...
[ "pbleester@gmail.com" ]
pbleester@gmail.com
4cef21cb04ce0dbc44850ee4541694bc74724d45
beae8c1491857a48c1d0cc4d0248f64eb43bd575
/quest_data.py
29feb4c61e3b4b23b0c3ec1d37496ed1a3d44e92
[]
no_license
qazlal/Runescape_Quest_Manager
838b852d3affbd5d18655da6425178b17a176432
b53ca8f65c7ecba58ee2511a2d2176261ba14d77
refs/heads/master
2021-01-10T04:49:34.952778
2016-02-05T07:20:05
2016-02-05T07:20:05
50,892,538
1
1
null
null
null
null
UTF-8
Python
false
false
15,689
py
# quest ordering is mainly based off release date. the information was taken from # http://runescape.wikia.com/wiki/List_of_quest_release_dates # quests are owned by Jagex ''' 0: number 1: name 2: skill req 3: skill rec 4: quest req 5: quest rec ''' quests = [] #this is an empty entry so that the indexing can s...
[ "qazlal.the.shark@gmail.com" ]
qazlal.the.shark@gmail.com
2e17e9328da49803d12a9e44b705c42f7ddaded9
6eca5db3070fb8d0b21bf9a627983fa1448ab020
/kata/5kyu/pagination_helper.py
de8a5ba3549beaff4b4e912d115c8afb84d430ca
[]
no_license
stevenedixon/codewars-python
9f1e20e8afa064da82d2492a8e93fd736b78c58f
8bf393751a4417ed6a0f2d24542b58ccb3897067
refs/heads/master
2021-02-03T21:56:26.896727
2020-03-11T15:17:59
2020-03-11T15:17:59
243,552,844
0
0
null
null
null
null
UTF-8
Python
false
false
2,585
py
# For this exercise you will be strengthening your page-fu mastery. You will complete the PaginationHelper class, # which is a utility class helpful for querying paging information related to an array. # # The class is designed to take in an array of values and an integer indicating how many items will be allowed per #...
[ "stevenedixon@outlook.com" ]
stevenedixon@outlook.com
37c24b3960134c61b5a8710012b9ad3ebf8a62fe
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Python/Scripts/Auto py to exe/build/lib/auto_py_to_exe/dialogs.py
08ced7a66201b6e9c57607cc3cabb9a7329be462
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:17632a1084b74f79b082631a021c864a01bee63a94b1fb5768945e30f05a405b size 2899
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
7461b94a60fcbe15ed116a2853262476e06aaafd
c06d18ac5b87b3b82fc486454c422b119d6c1ee9
/src/demo/_tensorflow/linear/linear.py
70f197e8d2ad5074603c813b803127c0355fe803
[ "MIT" ]
permissive
tangermi/nlp
b3a4c9612e6049463bf12bc9abb7aff06a084ace
aa36b8b20e8c91807be73a252ff7799789514302
refs/heads/master
2022-12-09T12:33:15.009413
2020-04-03T04:03:24
2020-04-03T04:03:24
252,056,010
0
0
null
2022-12-08T07:26:55
2020-04-01T02:55:05
Jupyter Notebook
UTF-8
Python
false
false
1,092
py
# -*- coding: utf-8 -*- import tensorflow as tf class Linear(tf.keras.Model): def __init__(self): super().__init__() self.dense = tf.keras.layers.Dense( units=1, activation=None, kernel_initializer=tf.zeros_initializer(), bias_initializer=tf.zeros_in...
[ "n10057862@qut.edu.au" ]
n10057862@qut.edu.au
4750d23eda0e90ffef0ab83bf69fdc986388f472
9901588400e1755fb050421ceb1a25ddcd78ac50
/PythonSS/pdfminer/encodingdb.py
a6d4c3abd46779ce954a119f021ef928f5d6bd81
[]
no_license
COMP3001D/Python
95b4f3338f6ef9578008bd2cc23631231d0e09ad
abd542998564a7fa2396cd7f5e41da8f23c1e7a0
refs/heads/master
2019-01-21T23:40:27.124220
2013-01-09T13:27:32
2013-01-09T13:27:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
#!/usr/bin/env python2 import re from psparser import PSLiteral from glyphlist import glyphname2unicode from latin_enc import ENCODING ## name2unicode ## STRIP_NAME = re.compile(r'[0-9]+') def name2unicode(name): """Converts Adobe glyph names to Unicode numbers.""" if name in glyphname2unicode:...
[ "amrinderjit9211@yahoo.co.uk" ]
amrinderjit9211@yahoo.co.uk
32ce5b17ea9bcb319e977bff38ba4db7022d77ea
a4aa9c52276db10001a54881fc2644e1872038ad
/the_wall_app/migrations/0002_comment_message.py
4c05fd55c91e5b91235494a6b0ff1ce4ed9f4f07
[]
no_license
ANDREW-LIVINGSTON/the_wall
2549e6115abe65d43c87e04e2c7e35771deffcd4
9d41278ee48e9b4c9400f975968453e9807a1862
refs/heads/main
2023-03-29T19:34:32.287966
2021-03-26T02:22:17
2021-03-26T02:22:17
351,636,703
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
# Generated by Django 2.2.4 on 2021-03-25 18:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('the_wall_app', '0001_initial'), ] operations = [ migrations.CreateModel( name='Message', ...
[ "andrewlivingston@MacBook-Pro.attlocal.net" ]
andrewlivingston@MacBook-Pro.attlocal.net
16570936b50459644a2f3a4f4eef94df97b616a0
e198950478bea292ba0ed44c07278ea1c7e8ddcd
/show.py
cf57e226061215b08349e810c4d663ffca2eac02
[]
no_license
ric-bianchi/radiation
9ec1fc7d3dcfc27927e98ec9679afca67ccba4e3
9c4f14cef27d28d1579652e405c93c1c633c1556
refs/heads/master
2021-05-12T06:55:02.858656
2016-07-08T16:14:34
2016-07-08T16:14:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
from astro_pi import AstroPi ap = AstroPi() def draw(rate,subtracted): ap.show_message(str(rate), scroll_speed=1, text_colour=[255,0,0]) # red for count rate ap.show_message(str(subtracted), scroll_speed=1, text_colour=[0,0,255]) #blue for faulty/noisy pixels def calibrateMessage(): ap.show_letter(...
[ "david.honess+github@gmail.com" ]
david.honess+github@gmail.com
ef3126368dbc5fb7408a2d35f7fc575b6e8fb814
5aee5e9274aad752f4fc1940030e9844ef8be17d
/HeavyIonsAnalysis/JetAnalysis/python/jets/akPu7CaloJetSequence_pPb_jec_cff.py
d5e8f0b11759a74be3f22036f437b49b4dd08852
[]
no_license
jiansunpurdue/5316_dmesonreco_hiforest
1fb65af11ea673646efe1b25bd49e88de9bf3b44
a02224ad63160d91aab00ed2f92d60a52f0fd348
refs/heads/master
2021-01-22T02:53:43.471273
2014-04-26T16:10:12
2014-04-26T16:10:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,574
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.patHeavyIonSequences_cff import * from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * akPu7Calomatch = patJetGenJetMatch.clone( src = cms.InputTag("akPu7CaloJets"), matched = cms.InputTag("ak7HiGenJetsCleaned") ) akPu7C...
[ "sun229@purdue.edu" ]
sun229@purdue.edu
4c7db02e19474a523a3347f94899ab002bba224e
f36ddb95c743c89bfc4bdca3507a5f02337343ba
/Test/lib/data_process.py
318255c6a8c14cc313a3d30d49521d8f27947d19
[]
no_license
nanahebao/Test
b6b151cbc7de0347b70179eb8aee87dec25ff5b5
c031caaa3a096e0ecab49233954258f50b41b75a
refs/heads/master
2020-06-06T07:56:48.886521
2019-06-19T07:47:11
2019-06-19T07:48:39
192,681,127
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# encoding=utf-8 import json from lib.file_process import read_file def to_json(content): # print(type(content)) if isinstance(content, str): return json.loads(content) elif isinstance(content, bytes): content = content.decode('utf-8') # print('type after decode',type(content)) ...
[ "liuna@nexbrio.com" ]
liuna@nexbrio.com
ee15d8adddc7d8636aa76e3443668b9c91ffc9b0
fdaed901af8cbc0347f53146b53f021869e9872d
/documentum_app/admin.py
5f10ea5ae4f9f4ef2dfd39cb1771838d5ebf788a
[]
no_license
surajprasadgupta/Documentum
92e29220ac51ae6c2fbe96c751d6cd8e2cfc4edd
f1931ddf05c83ed0602b02d483cec158d123072b
refs/heads/master
2022-11-30T12:24:01.591843
2019-11-26T10:25:43
2019-11-26T10:25:43
211,777,874
0
0
null
2022-11-22T04:37:14
2019-09-30T04:53:08
CSS
UTF-8
Python
false
false
188
py
from django.contrib import admin from documentum_app.models import * # Register your models here. admin.site.register(DocumentumFiles) admin.site.register(Tags) admin.site.register(Post)
[ "spgupta082@gmail.com" ]
spgupta082@gmail.com
9c541ff8948b8d049f61e4e3e61cfa30a9bb0056
33170e7fc26b6af2ab61b67aa520c307bbd0e118
/py/trash/947_predict_0228-4.py
09ef21e955ea5f5f8ebc8ba007660cc1fa85d498
[ "MIT" ]
permissive
alaskaw/Microsoft-Malware-Prediction
26e56adb803184328d1a8f5a3423d5edda7fc400
103cbf7c4fc98ae584e1aa9d1c220bb79ddbbd80
refs/heads/master
2020-04-28T21:22:06.403542
2019-03-14T04:36:01
2019-03-14T04:36:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,407
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Feb 28 16:52:33 2019 @author: kazuki.onodera """ import numpy as np import pandas as pd import os, gc from glob import glob from tqdm import tqdm import sys sys.path.append(f'/home/{os.environ.get("USER")}/PythonLibrary') import lgbextension as ex im...
[ "luvsic02@gmail.com" ]
luvsic02@gmail.com
7c147996d68715789c74b3b96e8b0caa93ce93b5
84ef17f09c47fdef4619c40242f15e96ceff693e
/programas_ramificados.py
4a38e1c147355f5acc3b14192e7252065086b693
[]
no_license
nicolo0312/curso-pensamiento-computacional
c3bc4782677f28c6730a808652b43d02cd5dd971
4d3af6adbe3cacbf924319b34a3743a256894fd3
refs/heads/main
2023-03-31T23:37:17.402616
2021-04-09T15:15:52
2021-04-09T15:15:52
356,312,916
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
numero_1 = int(input('Escoge un entero: ')) numero_2 = int(input('Escoge otro entero: ')) if numero_1 < numero_2: print('El primer numero es menor que el segundo') elif numero_1 > numero_2: print('El primer numero es mayor que el segundo') elif numero_1 == numero_2: print('El primer numero es igual al seg...
[ "moranni@globalhitss.com" ]
moranni@globalhitss.com
8771d96e92a6351aa1051fd247148c3df97ae325
f27996a45d59afbd9619f2cb92639e088e6bea3c
/python/geodjango/fishtracking_receivers/manage.py
5718fae7f83fc3162c599c88b338320c96e1adb6
[]
no_license
bopopescu/snippets
d7e689b5c74207f716b0f9c57a342b86662f39a5
1924cd8c7938dc32b6c1a50137cc7f053d4aafb2
refs/heads/master
2021-05-31T12:04:26.588555
2016-05-04T14:05:26
2016-05-04T14:05:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fishtracking_receivers.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "bart.aelterman@gmail.com" ]
bart.aelterman@gmail.com
ec54451f6f85a1afd92fbcec989020e9e73f4419
875e1271fe2cdf87545bc24da31851088da58418
/tests/caffe_test_runner.py
ad002885401bd3f7f9eba88f86697e4311f43cec
[ "Apache-2.0" ]
permissive
zhen8838/nncase
2278d245560f5b9e6736784dff73bb9908da3df7
5d2e0223e4c1a8e54883db3b9e7b46bb9c7d4f58
refs/heads/master
2022-05-28T13:33:01.676950
2021-11-29T13:32:57
2021-11-29T13:32:57
377,750,282
2
1
Apache-2.0
2021-07-27T12:54:36
2021-06-17T07:56:40
C++
UTF-8
Python
false
false
2,522
py
import caffe from test_runner import * import os import shutil import numpy as np # from typing import Dict, List, Tuple, Union class CaffeTestRunner(TestRunner): def __init__(self, case_name, targets=None, overwrite_configs: dict = None): super().__init__(case_name, targets, overwrite_configs) se...
[ "noreply@github.com" ]
noreply@github.com
f1e12a8157807f471f58de6ec2c92fe27718cbc3
a7f0b22a58d3b4a192a33c4e61f6cdb48bf3c3e0
/restapi/urls.py
d59f31e35bdd866ffffb2b03b846de756152e8eb
[]
no_license
dishantr16/django-restapi
c704ee078d754e5ff02db646b50a031ee223feb3
4bc27d935ab3910c72dc68b420f388b12020ca6a
refs/heads/main
2023-03-14T09:13:39.990762
2021-03-03T05:12:57
2021-03-03T05:12:57
343,438,888
2
0
null
null
null
null
UTF-8
Python
false
false
951
py
"""restapi 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...
[ "dishant16rathi@gmail.com" ]
dishant16rathi@gmail.com
f13ea54a8025edf6aefe70cbdd3ef7f3eb03266a
b9e58a0be125f8daa265b9d45f18641145bed723
/Dictionaries and Sets/key_match.py
3752fca2476542a1433dceeb307c07b3121039d9
[]
no_license
CharlesMontgomery2/Python-Class-Exercises
4bba7d5981be0fbc5f78625610b9091d0bdfeefe
b2e4b80558a68558e615ea8cac40f6f49fff46e7
refs/heads/main
2023-01-29T11:08:18.140052
2020-12-17T06:59:16
2020-12-17T06:59:16
322,202,576
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
############## Match key values in two dictionaries ##################################### print("Dogs") # Display the title of the code d1 = {"Name": "Bruno", "Age": 5, "Breed": "Bulldog"} # create a dictionary d2 = {"Name": "Bruno", "Age": 2, "Breed": "Pitbull"} #Create another dictionary for (key, value) in set(d1....
[ "charles.montgomery2@outlook.com" ]
charles.montgomery2@outlook.com
2a6303f5265df9a0d6b5ecd491ed8110ad0aed64
4b2d84b6e423e8435a8cd800970d75720e362763
/gestionVotos/forms.py
9295d10b406310d34353f52e0f73d943d93879d6
[ "Apache-2.0" ]
permissive
rmatico1306/rmatico
f23a938edb4867e3bef1af3d1f76e472a16849ab
bf2a54cb18728c0e6f1e85055a06c85751883ae1
refs/heads/main
2023-05-10T04:30:06.860205
2021-06-09T17:22:13
2021-06-09T17:22:13
372,636,536
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
from django import forms class FormularioContacto(forms.Form): asunto= forms.CharField() email=forms.EmailField() mensaje= forms.CharField() class FormularioActa(forms.Form): seccion=forms.CharField(label='BUSQUEDA POR SECCION', max_length=4)
[ "rmatico13@gmail.com" ]
rmatico13@gmail.com
450649f150b276a33ad258ee1acecf89541b6c41
1b2ea153866cc11c47ed43cf0d0cb6c7ad3006b6
/Verenicy_na_kosmicheskih_snimkax/kontur.py
1e2ed2abd3dbfdea0930ba398f3ee2a61cb012a6
[]
no_license
irina19951908/project
c69d02dabbe599d8ff1289bd05225b5cc698ce3b
97fac91e98146d2cb532b2d385085599208bb89e
refs/heads/master
2020-06-24T13:10:28.388285
2019-07-26T08:23:26
2019-07-26T08:23:26
198,970,868
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
# -*- coding: utf-8 -*- """ Created on Tue Oct 2 15:49:55 2018 @author: User """ #контурирование #import random import glob from PIL import Image, ImageDraw #Подключим необходимые библиотеки. import numpy import scipy from scipy import ndimage #image = Image.open("C:/Users/User/Desktop/image/origi...
[ "noreply@github.com" ]
noreply@github.com
e90dcd78bc4629be7d9cf48e3f2d6f93f21ae201
cdcbe6ea97dd870357998b17f0cdedec0636781d
/extra_apps/xadmin/views/dashboard.py
a6b43c1b335ff64a990a360ffc76b0dbe1ea8264
[]
no_license
supermanfeng/eduplatform
8815fad056ac9d1206f219220453f9f7e7382128
a4288c7af7f4dd980a3f4f2e337899cdf9d15b43
refs/heads/master
2022-12-09T23:04:57.239321
2018-04-10T11:11:11
2018-04-10T11:11:11
128,721,691
1
0
null
2022-12-08T00:51:44
2018-04-09T05:57:55
Python
UTF-8
Python
false
false
23,644
py
from django import forms from django.apps import apps from django.core.exceptions import PermissionDenied from django.core.urlresolvers import reverse, NoReverseMatch from django.template.context_processors import csrf from django.db.models.base import ModelBase from django.forms.forms import DeclarativeFieldsMetaclass...
[ "2252506855@qq.com" ]
2252506855@qq.com
abe34b21c859a40398f14095535c9e0df16c24ed
9c4a55222e124768872d99f99b07e96796adae8f
/Exercicios/ex029.py
163ce4024c044dc80390cc4f1593e21d938fb354
[]
no_license
Diegodesouza7/Python-Conceitos-Exercicios
953a5caa9a0949ac58b6255fadae396f5a8f545e
3238733980dcf5feea0811e1527cd9f898759225
refs/heads/master
2023-02-03T03:55:53.464673
2020-12-18T14:20:39
2020-12-18T14:20:39
312,084,758
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
"""Escreva um programa que leia a velocidade de um carro. Se ele ultrapassar 80Km/h, mostre uma mensagem dizendo que ele foi multado. A multa vai custar R$7,00 por cada Km acima do limite.""" velocidade = float(input('Qual é a velocidade atual do carro ? ')) if velocidade > 80: print('MULTADO!! você excedeu ...
[ "56520069+Diegodesouza7@users.noreply.github.com" ]
56520069+Diegodesouza7@users.noreply.github.com
f8e9f1a1e2241c12b35f3ada69cb9d3d5024bf93
9d49a1d08b0be3288778b474a11a33c9219e75e8
/Tutorials Point/Data Analysis/Loading_the_Dataset.py
84bc4d91bf3b6d2d24e568fa85ce2d098b68d2e2
[]
no_license
ArunaMahaGamage/Python-Machine-Learning
f4e2bb3ab383e85ffbf05e509053ebc8db33f182
bcd5b5f5a55fe906f0f32e58e032faf16e0e43d9
refs/heads/master
2020-04-16T09:38:37.946963
2019-01-13T06:05:58
2019-01-13T06:05:58
165,471,778
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
import pandas data = ("pima_indians.csv") names = ['Pregnancies', 'Glucose', 'BloodPressure', 'SkinThickness', 'Insulin','weight in kg','Diabetes pedigree','Age','Outcome'] dataset = pandas.read_csv(data, names=names) print(dataset.shape) print(dataset.head(20))
[ "admgbit@gmail.com" ]
admgbit@gmail.com
a35fc53dc372a7043d387c5d0f9de9ea4252766a
788bb28fe8540272588e9fffaa8aebc1f16be7a6
/utils.py
3abca1f9ff96013d19ac414c048e3cdac1dd2618
[ "MIT" ]
permissive
Asgardrobotics/HydraNet-WikiSQL
6fccfb095854f97e678f2484bc60296998792267
afdf1e5c32a5259bc926e7d3f095e06019eaef6d
refs/heads/master
2023-04-14T02:03:54.110678
2021-04-27T08:04:33
2021-04-27T08:04:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
import os import json import transformers pretrained_weights = { ("bert", "base"): "bert-base-uncased", ("bert", "large"): "bert-large-uncased-whole-word-masking", ("roberta", "base"): "roberta-base", ("roberta", "large"): "roberta-large", ("albert", "xlarge"): "albert-xlarge-v2" } def read_jsonl...
[ "unifius.l@gmail.com" ]
unifius.l@gmail.com
7daca2c6729cc73ee0246c7880a578a9123d3b10
099f581e33fdb988ab903c8533e9e6c92a6c0f6b
/FileIO.py
97bb062761cc8ce407484e1b0c07af2ceb37a979
[]
no_license
chryshbk/PythonSpecialization
688bb5fe6889a1207519c63fe6d30a69b3d17a86
9e63f3002d2ff298d4ea687f0481fdf1ef140631
refs/heads/master
2020-04-21T14:56:38.953192
2019-02-08T20:21:40
2019-02-08T20:21:40
169,651,422
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
fname = input("Enter file name: ") if len(fname) < 1 : fname = "mbox-short.txt" # Author: Chrystian Santos # Date: February 2, 2018 # Details: Reads the file mbox-short.txt and extracts information from it. Counts how many lines start with "from" fh = open(fname) count = 0 for line in fh: if line.startswith("Fro...
[ "chrystian.hbk2@gmail.com" ]
chrystian.hbk2@gmail.com
ac781726298cd7bcab9588034e48921926aa64b4
ce2cf775f7c092a4ee9ef74a9cf40dc7478f0eae
/semantic/both_models_new_dataset/source_pytorch/data_exploration.py
3885e7a1d3defd6f2f5512217d16b72d6719da05
[]
no_license
vyaskartik20/Semantic_Plagiarism_Checker_for_Handwritten_Scripts
8b2118745cf7bc29d2160d106106c75a5a72ed8e
06312a4a134335b94e9cc616f976e9cf52c56965
refs/heads/master
2023-04-11T06:45:14.480843
2021-04-13T15:53:14
2021-04-13T15:53:14
319,244,321
2
0
null
null
null
null
UTF-8
Python
false
false
8,512
py
# import os # import matplotlib.pyplot as plt # import numpy as np # import pandas as pd # csv_file = 'data/file_information.csv' # plagiarism_df = pd.read_csv(csv_file) # # print out the first few rows of data info # print(plagiarism_df.head(10)) # # print out some stats about the data # print('Number of files: ',...
[ "vyas.2@iitj.ac.in" ]
vyas.2@iitj.ac.in
aa7714a63d8bb03ffbd3500253ef8dda717a6714
c2ae7c1ef14067574c100d66f9eb8ce8d9a67fcc
/assignment-2020-1/count_fixed_polyominoes.py.py
8734ffa5420a7bf97b88eec268fb95987967b3f4
[]
no_license
pxara/hello-world
a57cba4cf6103b506f69aa3db7128e4ccce66c0e
eb212558bd087fd60d12fef32dcaa6729d87808e
refs/heads/master
2020-04-07T02:35:45.221868
2020-03-24T20:50:35
2020-03-24T20:50:35
157,982,147
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
import sys import pprint import argparse def Neighbors(p,u,v): for i in p: if i==u: continue up=(i[0] ,i[1]+1 ) down=(i[0] ,i[1]-1 ) right=(i[0]+1 ,i[1] ) left=(i[0]-1 ,i[1] ) if right==v or up==v or down==v or left==v: return Tru...
[ "noreply@github.com" ]
noreply@github.com
cfcce11b27b774b37598f14b5d28dc3399471305
35732ac0df40726a3db8efc8365485482f9787ae
/WEB/FRAMEWORK/intra1/polls/urls.py
cac50871090d8f8d60137e38259b430b633dbfaf
[]
no_license
maksru/42
14460fe8e4a1963f30fca8460de364eaafe50617
6a6f7031a3f4bd52948e68c4a4afe11265034cfe
refs/heads/master
2020-03-09T11:49:37.825174
2014-05-21T00:04:11
2014-05-21T00:04:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
from django.conf.urls import patterns, url from polls import views urlpatterns = patterns('', url(r'^$', views.IndexView.as_view(), name='index'), url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name = "detail"), url(r'^(?P<pk>\d+)/results/$', views.ResultsView.as_view(), name = "results"), url(r'^(?P<pol...
[ "mfassi-f@e1r5p5.42.fr" ]
mfassi-f@e1r5p5.42.fr
fee775131caf37bc5ea889d3b4d1e4cce1797648
b5d7c7956774e6829c445d4c05d8360152b173ef
/TiendaEnLineaa/TiendaEnLineaa/asgi.py
5f98c0e495b01b280e9b5867dab0c781dde5abc2
[]
no_license
GustavoR0dr1gu3z/Tienda_En_Linea
63e3e270e9482a2b639a91409726ce3813d8a350
ce26018bf22e83af24848439c21f6073a07cba7e
refs/heads/master
2023-02-26T04:28:35.187384
2021-02-06T03:28:50
2021-02-06T03:28:50
257,765,623
1
0
null
2021-02-01T23:44:45
2020-04-22T02:04:15
Python
UTF-8
Python
false
false
405
py
""" ASGI config for TiendaEnLineaa project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANG...
[ "gustavo.soader.cx@gmail.com" ]
gustavo.soader.cx@gmail.com
a48e7fa7096b0f0e00f6fc0077ea4b25cb583e86
a23e027ef46b7c34be12e9336ada303d0780a8d5
/CODE/Get_key.py
7f507e64f153feb6222877431d36df6783e08f4a
[]
no_license
PaulDalous/Vigenere_project
266b431553dc35c86bf4933c0a3a917135334cdc
e0de1e9776479f10d8003a20a2faac6911f8c471
refs/heads/master
2020-04-27T03:47:47.226316
2019-03-05T23:17:47
2019-03-05T23:17:47
174,035,003
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
def get_key(sort_dict_frequencies, length_key, which_letter): """ Get the key of a ciphered message given its dict_frequencies attribute :param sort_dict_frequencies: list - list of sorted list where the first element is the most frequent letter for the correspondant letter of the key :param length_...
[ "paul.dalous@gmail.com" ]
paul.dalous@gmail.com
54b9422df048da72332828a957305b5624b42878
32e1c91466bc33a638aae52b0eb43b1bf0d54b12
/label_image.py
9f258c29ccee36c3c6a023fb550c7664ca612dd0
[]
no_license
projectsforus/Animal-Classification
328fdde22af050f9f53aa95b99aa08f27977f0c7
a63bba2bef92ba7723428467dc123111b3446dd1
refs/heads/master
2020-05-17T19:03:10.172385
2019-04-28T12:14:53
2019-04-28T12:14:53
183,903,839
0
0
null
null
null
null
UTF-8
Python
false
false
2,522
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import tensorflow as tf def load_graph(model_file): graph = tf.Graph() graph_def = tf.GraphDef() with open(model_file, "rb") as f: graph_def.ParseFromString(f.read()) with gra...
[ "mohamedelzallat3@gmail.com" ]
mohamedelzallat3@gmail.com
d77ef1ccddd7a308942ebe5dac9e380deafe4e34
ac3406b9e294679f77b2580d8783458a4fb303af
/lib/titlecase.py
17fa2414e1c96f2bb48afd53b4c83fec43814198
[ "MIT" ]
permissive
zackw/active-geolocator
ae8d0a08426f47dd38e20311ba433c2056bf5a86
4a1f3fd7c17e26c58024efb23e3831a1b23b2a1a
refs/heads/master
2021-01-17T03:14:07.908676
2018-11-21T19:36:20
2018-11-21T19:36:20
54,581,951
29
4
MIT
2018-11-21T19:36:21
2016-03-23T18:01:05
JavaScript
UTF-8
Python
false
false
4,277
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ https://github.com/ppannuto/python-titlecase/ Original Perl version by: John Gruber http://daringfireball.net/ 10 May 2008 Python version by Stuart Colville http://muffinresearch.co.uk License: http://www.opensource.org/licenses/mit-license.php """ import re __all__...
[ "zackw@panix.com" ]
zackw@panix.com
faadcc1ed3ca705c5b80a43be8f58f6bc6c55a5b
7dd0c39502d39b8f88199b8614bd0f3cc17874b7
/next-time.py
08fd0aecdc43617031ab7e4438cd91da7bb3e7ad
[]
no_license
nealav/Data-Structures-and-Algorithms
4c47d20b0b76c79a4dce2701bd372c260f1ebd1b
0cc47f012107784d58dfdc869a80440ca7a3b1ea
refs/heads/master
2020-03-22T12:38:49.731324
2018-10-04T09:36:13
2018-10-04T09:36:13
140,052,953
0
1
null
2019-10-02T17:03:29
2018-07-07T04:35:54
Python
UTF-8
Python
false
false
669
py
def next_time_permute(S): hour = int(S[:2]) min = int(S[3:]) t1 = S[:2] + S[3:] while True: min -= 1 if (min == -1): min = 59 hour -= 1 if (hour == -1): hour = 23 t2 = '' if (hour < 10): t2 = t2 + '0' + str...
[ "neal.viswanath@gmail.com" ]
neal.viswanath@gmail.com
cd7a6929bc5b9db78d6cc4535e54a1e82689ae66
98e9ea1c05b3c696e30123f0647773d53a042dc8
/src/ml_model.py
f6cc969ea242fc58b4f307e7fe9dfdb4970216f8
[]
no_license
kevinbdsouza/lstm_glif
f1309fe16dbc308690432d24d34edb290b11f019
231152419bf702f1859ad95717db333fe4a8785a
refs/heads/master
2020-07-27T05:12:11.427535
2019-09-21T20:43:49
2019-09-21T20:43:49
208,881,081
1
0
null
null
null
null
UTF-8
Python
false
false
756
py
import torch.nn as nn class SeqParamModel(nn.Module): def __init__(self, cfg): super(SeqParamModel, self).__init__() self.input_dim = cfg.input_dim self.hidden_dim = cfg.hidden_dim self.param_dim = cfg.param_dim self.encode_lstm = nn.LSTM(self.input_dim, self.hidden_dim, 1...
[ "kdsouza1496@gmail.com" ]
kdsouza1496@gmail.com
4c94a35aedb0a78a566827ad4cc80a358349cf40
cd5d4b0907b694a2b1446f904567a2bfdd352db5
/utilities.py
95558d7167579061f441b9a7265a26d609ef654c
[ "MIT" ]
permissive
jaredvonhalle/CSC478WorldFoodFacts
0ff5a6af9ad5050127f5f85c04c875e11e978ac7
d86c65e5c4c6d2d88f2b59abc5a73c45736ed7e9
refs/heads/master
2021-01-19T05:59:23.348013
2016-06-04T20:16:55
2016-06-04T20:16:55
60,126,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
############### Utility Functions For World-Food-Facts Dataset ############# import pandas as pd def getByCountry(dataset, country_name): country_regex = r'%s' % country_name isInCountry = dataset.countries_en.str.contains(country_regex) isInCountry = isInCountry.fillna(False) return dataset.loc[isInCountry] def ...
[ "davidshchang@gmail.com" ]
davidshchang@gmail.com
741ddcea17c8efd82e9c0094729f2b871d0a1a0d
4a43a33db281d75bdc6b512cf9b8183667587605
/benchmarks/unary.py
a9c4f82110ad890bcac1bf1d9c4b211bc5ca657d
[]
no_license
mruberry/nestedtensor
41e02aa2f7cad18955ad63cdc9f82ad91940a9cf
5026e29c6b388c73357e6d7c136073cf3b46ee9c
refs/heads/master
2021-05-17T20:57:20.467867
2020-03-29T01:15:22
2020-03-29T01:15:22
250,949,151
0
0
null
2020-03-29T03:56:04
2020-03-29T03:56:04
null
UTF-8
Python
false
false
1,117
py
import torch import nestedtensor import utils import random RAND_INTS = [random.randint(10, 30) for _ in range(2000)] # Performance tanks hard for lots of small Tensors as expected RAND_INTS = [random.randint(100, 300) for _ in range(20)] def gen_t_cos(): tensor = torch.cat([torch.rand(i, 2560).reshape(-1) for...
[ "noreply@github.com" ]
noreply@github.com
29069b7bf4a02cecc9619fa5e2ca992e6a3f59f0
ca624da79382caeb2dc9f01f33fc31db2b3bb701
/plms/plms_pages/company_list.py
79ee14d186503bd8b0896a7b0794ae520f1896d3
[]
no_license
buxiangjie/CloudLoanWeb
890a0210cb46caaa255aa3e1e45252293e884eb3
ff441d001c2ffcdec532b6aae4ff66c585ce8b99
refs/heads/master
2023-05-05T01:27:15.208364
2021-05-25T03:22:55
2021-05-25T03:22:55
271,734,319
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# -*- coding: UTF-8 -*- """ @auth:buxiangjie @date:2020-05-12 11:26:00 @describe: 企业列表 """ import time from selenium.webdriver.common.by import By from common.base import Base class CompanyList(Base): company_name = (By.XPATH, "//form[@class='el-form reqForm el-form--inline']/div[1]/label") def check_company_lis...
[ "bxj3416162@163.com" ]
bxj3416162@163.com
abc92ff4af707ac89bad47fec0d739190b3d6d37
4b5d0c384b62004d302f22aabfc6c25d969e0ef8
/gen.py
03aa0b109fd4b8a5f4e17570b9084516db1cd3a6
[]
no_license
Integralist/WWENetworkDownload
e7a10c7d0c088210a59953bf30922039e5ce74da
2ab9d2c65b3fa9499423a678bb54f7ac7f92c4fb
refs/heads/master
2021-07-12T09:49:31.339253
2020-11-28T12:56:52
2020-11-28T12:56:52
216,238,220
6
0
null
null
null
null
UTF-8
Python
false
false
5,942
py
import argparse import subprocess def extract_episodes(): """generates data structure containing videos with their time segments. output will resemble: { "video_title_A": [ [00:02:16], [00:10:00, 00:20:00], [00:30:00, 00:40:00], ... ] ...
[ "mark.mcdx@gmail.com" ]
mark.mcdx@gmail.com
c3457c29c2f2be6f4aa5f3b116bc5b45af2d46a4
be6ce809784da5d4644f5be36819d90a0a4fc612
/app.py
dc9c524202c10cd14e8f4c84338dc520cf5ce95f
[]
no_license
AliElzaa/Web-app
23ff91a10602b06d5fb722bcd20c808e1c8134a7
9857afc2b14ee31b22d767a970af58286a025494
refs/heads/master
2020-03-19T02:02:37.224098
2018-05-31T14:24:48
2018-05-31T14:24:48
135,593,454
0
0
null
null
null
null
UTF-8
Python
false
false
3,978
py
from flask_sqlalchemy import SQLAlchemy from flask import Flask, render_template, request, redirect, url_for, flash #import flask from vs_url_for import vs_url_for from flask_bootstrap import Bootstrap from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField from wtforms.validators i...
[ "aelza001@gold.ac.uk" ]
aelza001@gold.ac.uk
ae4c1c1b0df6cf9a31d0f6d154fe645dd8e7fe8e
fd5c2d6e8a334977cda58d4513eb3385b431a13a
/extract_census_doc.py
a1445f608f735d677f398b8b2b123c44cf91d16e
[ "MIT" ]
permissive
censusreporter/census-api
817c616b06f6b1c70c7b3737f82f45a80544c44d
c8d2c04c7be19cdee1000001772adda541710a80
refs/heads/master
2023-07-28T06:17:26.572796
2023-07-05T20:37:03
2023-07-05T20:37:03
9,879,953
146
52
MIT
2022-07-11T07:16:19
2013-05-06T05:24:57
Python
UTF-8
Python
false
false
7,414
py
#!/bin/python import psycopg2 import psycopg2.extras import json from collections import OrderedDict conn = psycopg2.connect(database='postgres') cur = conn.cursor(cursor_factory=psycopg2.extras.RealDictCursor) state = 'IL' logrecno = '89' # Evanston city, IL def sum(data, *columns): def reduce_fn(x, y): ...
[ "ian.dees@gmail.com" ]
ian.dees@gmail.com
f9c568a46854f97c14938d17f5845aa1f9cf72f9
915ea8bcabf4da0833d241050ef226100f7bd233
/SDKs/Python/test/test_contract_item.py
d3f8d89ca8fd4f3b3678876eb22038d67bad2eb9
[ "BSD-2-Clause" ]
permissive
parserrr/API-Examples
03c3855e2aea8588330ba6a42d48a71eb4599616
0af039afc104316f1722ee2ec6d2881abd3fbc07
refs/heads/master
2020-07-10T22:17:24.906233
2019-08-26T03:06:21
2019-08-26T03:06:21
204,382,917
0
0
null
2019-08-26T02:48:16
2019-08-26T02:48:15
null
UTF-8
Python
false
false
922
py
# coding: utf-8 """ MINDBODY Public API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import impo...
[ "christopher.volpi@mindbodyonline.com" ]
christopher.volpi@mindbodyonline.com
593d512b094c27ccc5ddd8c5e9a4aea17a001183
35673a5d855b68cc2674e7d7c728784b61ddd6cc
/fashion_mnist_keras_cnn.py
433c87a4fa7d5b4ffd102b04145b75567dd8a431
[]
no_license
MinaSeddik/MachineLearning
d5f4a29e7f72ee841a4ce0f9e0aa74f688f5c20b
54561def4a39c804e3b52c88a84e211eecdc8a25
refs/heads/master
2020-08-07T01:05:10.916865
2020-02-09T15:07:03
2020-02-09T15:07:03
213,226,964
0
0
null
null
null
null
UTF-8
Python
false
false
3,235
py
import logging import numpy as np from keras.layers import Dense, Conv2D, Flatten, MaxPooling2D, Dropout from keras.models import Sequential from keras.optimizers import Adam from keras.utils import to_categorical from fashion_mnist_reader import load_fashion_mnist_dataset logging.basicConfig(level=logging.DEBUG) lo...
[ "menaibrahim2006@yahoo.com" ]
menaibrahim2006@yahoo.com
bc4dde6205e2dc08c3f1b2c7b8d97523b58c76b8
8b00e2b136636841b38eb182196e56f4721a1e4c
/trio/_core/_exceptions.py
45f21d389ae8d6f15662d6ff796adfea373bad80
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
xyicheng/trio
77c8c1e08e3aa4effe8cf04e879720ccfcdb7d33
fa091e2e91d196c2a57b122589a166949ea03103
refs/heads/master
2021-01-23T00:05:59.618483
2017-03-16T04:25:05
2017-03-16T04:25:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
import attr # Re-exported __all__ = [ "TrioInternalError", "RunFinishedError", "WouldBlock", "Cancelled", "PartialResult", ] class TrioInternalError(Exception): """Raised by :func:`run` if we encounter a bug in trio, or (possibly) a misuse of one of the low-level :mod:`trio.hazmat` APIs. This sho...
[ "njs@pobox.com" ]
njs@pobox.com
537ecd9ff7dea52514e94a67ec8488f4a88abd28
10f1f4ce92c83d34de1531e8e891f2a074b3fefd
/graph/gcn_utils/feeder.py
9b012bf3355a26228cac9c53bbd94c997bfe56d8
[ "MIT" ]
permissive
sourabhyadav/test_track
d88c4d35753d2b21e3881fc10233bf7bbb1e2cec
d2b4813aaf45dd35db5de3036eda114ef14d5022
refs/heads/master
2021-01-06T12:38:56.883549
2020-02-05T07:08:46
2020-02-05T07:08:46
241,328,706
1
0
MIT
2020-02-18T10:06:14
2020-02-18T10:06:13
null
UTF-8
Python
false
false
2,751
py
''' Author: Guanghan Ning E-mail: guanghan.ning@jd.com October 24th, 2018 Feeder of Siamese Graph Convolutional Networks for Pose Tracking Code partially borrowed from: https://github.com/yysijie/st-gcn/blob/master/feeder/feeder.py ''' # sys import os import sys import numpy as np import random...
[ "chenhaomingbob@163.com" ]
chenhaomingbob@163.com