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
f1b02f8633cfc167c881db6c90101e38b82fd0a1
48f6b50c7765d427db95cf5c643240f00d37ee28
/docs/conf.py
f18ef64f5ac74de0118839f484da396e544f4b3d
[ "BSD-2-Clause" ]
permissive
PlayerYrcHen/cdlib
943bdbf2a26cc80a6f567268a958ffb12a140c97
bc2b5acf81fde1aef5bd9f9a24299cd8eb10b2d4
refs/heads/master
2023-03-12T15:19:59.028367
2021-03-04T12:48:35
2021-03-04T12:48:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,694
py
# -*- coding: utf-8 -*- # # CDlib documentation build configuration file, created by # sphinx-quickstart on Wed May 24 10:59:33 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All...
[ "giulio.rossetti@gmail.com" ]
giulio.rossetti@gmail.com
e44657d373b7abb167b5cd7ba6bcc10e855de8e4
8260dfeb7af3480fe164acc1959af16561d6e85b
/workgroup/Addons/gear/Application/Plugins/gear_curveTools.py
7a9621414630d7c2c35a4a366f086a7953e30288
[]
no_license
jpasserin/gear
78e9c93f08d1696a416d2659f1ce29a0fcbfca04
9729a7ced44bc1b0e903b64a256af0b6071a000a
refs/heads/master
2016-09-08T02:01:11.547362
2011-07-17T11:01:48
2011-07-17T11:01:48
2,061,266
6
2
null
null
null
null
UTF-8
Python
false
false
11,419
py
''' This file is part of GEAR. GEAR is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distrib...
[ "geerem@hotmail.com" ]
geerem@hotmail.com
3cfbf21556fcfdb61b05267fd0a89e6829891eaf
3b1b5a931e44566c97c6e4661d6c1c1d4ff1e9f5
/8queen.py
dfadd235e5487d174297d13b870cabf4e8467540
[]
no_license
Mahnoor507/8-Queen-Problem
b32530291cc1a9422839e4d2c99ecf036acd4777
88a09e91b60242b6e4878cb24a30ec1fba9d702c
refs/heads/main
2023-02-20T00:22:01.167763
2021-01-16T11:34:24
2021-01-16T11:34:24
330,147,948
0
0
null
null
null
null
UTF-8
Python
false
false
4,467
py
#!/usr/bin/env python # coding: utf-8 # In[456]: from random import randint import numpy as np for j in range(8): k=randint(0,7) cl1[j]=k for j in range(8): k=randint(0,7) cl2[j]=k for j in range(8): k=randint(0,7) cl3[j]=k for j in range(8): k=randint(0,7) cl4[j]=k #defining intial...
[ "noreply@github.com" ]
Mahnoor507.noreply@github.com
d19c3c52e2d9e87f01762f3ff3c0cbad3fdf54ad
505b9e87b297db12ad805979dd4455f4dbe0a38a
/techtrends/app.py
e512abcd87fd7d748c205cb6c823d17dec0a1c00
[]
no_license
sahil8060/TechTrends
0f18f878f0a5078892669d2bc9b996c61865cb13
666ff9e4670dc854508f27c8907d1d785dde4759
refs/heads/main
2023-03-05T11:11:39.785775
2021-02-18T09:14:13
2021-02-18T09:14:13
333,056,955
0
0
null
null
null
null
UTF-8
Python
false
false
3,619
py
import sqlite3 from flask import Flask, jsonify, json, render_template, request, url_for, redirect, flash from werkzeug.exceptions import abort import logging # Function to get a database connection. # This function connects to database with the name `database.db` db_file = "database.db" number_of_connections = 0 ...
[ "sahilgoyal8060@gmail.com" ]
sahilgoyal8060@gmail.com
1c48c3df7db99ebc81d5a25661d1e37ddb9d6d58
a1b5036b5397fccd537bf492b83f52cede2ae254
/assistenza/migrations/0009_auto_20210222_1044.py
27a2467c2520bd782bf93adcc262ee095b0b3a47
[]
no_license
mat0ccdeekk/biomedicalservice
a78160902d5698724620b35b7d5a7f56f6cbd935
2e8a1306ab01460cff26a8bbdc20eeb8f8ce146a
refs/heads/main
2023-03-08T15:58:42.054744
2021-02-26T10:16:36
2021-02-26T10:16:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,568
py
# Generated by Django 2.0 on 2021-02-22 09:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('assistenza', '0008_verifica_tornaindietro'), ] operations = [ migrations.AddField( model_name='verifica', name='ceiMul...
[ "mattia.lavecchia@gmail.com" ]
mattia.lavecchia@gmail.com
db2f1df0ecb4adf327b4598cd6d38a501510a22f
d44b82d6477f965509a537db45c2d06215169724
/tests/files/isort/permuted_imports/mine.py
faab7f66854264eddf2242fd7b46a6c700ac1aff
[]
no_license
reef-technologies/reefmerge
caaf4a1c70cb51c86ed97bd80f825afeafb749a5
19a634627283a52ae5f1fc9528adbc2bd63cab35
refs/heads/master
2021-03-24T12:39:05.733618
2018-01-27T12:50:12
2018-01-27T12:50:12
100,640,609
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
import a import b import c import d
[ "grzegorz.konefal@reef.pl" ]
grzegorz.konefal@reef.pl
97ba5f2f05e3c6e16b08094510599f2617d5f3cb
7c611e76eb9f1fe527365c11fc4ca4dcbfa3391b
/tests/project/polls/tests.py
81fa971bc9dc8accfc13c5cffbfa331b847bf714
[]
no_license
Scott-Wheeler/django-scenic
41b911039cf02a9f3bfb4513699c0bc23c913876
74465c7df68a535b6b9dfd35f0af06ea21e1c9e8
refs/heads/master
2020-04-02T01:04:53.308960
2016-01-10T17:26:18
2016-01-10T17:26:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,836
py
from django.core.urlresolvers import reverse from django.test import TestCase from django.utils.timezone import now from .models import Poll, Choice STATUS_OK = 200 STATUS_REDIRECT = 302 class MainIndexViewTests(TestCase): def test_index(self): response = self.client.get(reverse('main:index')) ...
[ "m.pricejones@gmail.com" ]
m.pricejones@gmail.com
202b670956a705c801ec7dd05df6991ae81bf928
11b4989e30bfbc4867a2fd3a2bcefb1eb290ec43
/quantrocket/cli/subcommands/blotter.py
0758fea01e41246bda5884adcddd14eb4401f131
[ "Apache-2.0" ]
permissive
stjordanis/quantrocket-client
138f0045eac553df3c1d998179669f96fcb66b84
a2eba9f5819c76a3327f85a8f3667101240eea99
refs/heads/master
2023-05-08T18:18:48.001971
2021-06-02T20:29:18
2021-06-02T20:29:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,372
py
# Copyright 2018 QuantRocket - All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "brian@quantrocket.com" ]
brian@quantrocket.com
b2de7e068783a9d963576481237545608664344f
3ede6ba53725febc6b30de297297656e4f41a259
/Neural Networks/nueral_nets/neuralnet.py
c86c19452301ff6e79cc94ceac911ede6db8073a
[]
no_license
PranathiPeri/Machine-Learning
8265201cd83f6511a6c97120dba81a18e315e28c
c8030f50747e2cff2dc2bead18a1deebd4cdf547
refs/heads/master
2020-03-13T16:24:54.842678
2018-04-26T19:05:15
2018-04-26T19:05:15
131,197,215
0
0
null
null
null
null
UTF-8
Python
false
false
7,960
py
import csv import sys import os import math import random import re import numpy as np # Reading Input File and different parameters neurons=list() input_file=sys.argv[1] error_tol = float(sys.argv[3]) train_per = float(sys.argv[2]) no_of_layers = int(sys.argv[4]) for k in range(no_of_layers): neu...
[ "noreply@github.com" ]
PranathiPeri.noreply@github.com
b0f2deb61589ddb276a4b53f9daa48f992546e8b
153b794b5c142065be19ada86177258d80b8d991
/scripts/isb_curl.py
b95a716334ec1d17c940062b2e3becb09428b7f6
[ "Apache-2.0" ]
permissive
isb-cgc/ISB-CGC-API
248baa26894f09ea68cb6b16d95f9ae63d674789
df3c7cbf3ef3a1cfc2d4dad6f90a75efb7f52481
refs/heads/master
2023-07-10T08:16:56.465584
2023-06-23T17:17:32
2023-06-23T17:17:32
45,219,634
2
1
Apache-2.0
2023-08-29T19:11:02
2015-10-30T00:41:28
Python
UTF-8
Python
false
false
4,449
py
#! /usr/bin/python2.7 ''' Copyright 2015, Institute for Systems Biology 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 ...
[ "spaquett@systemsbiology.org" ]
spaquett@systemsbiology.org
97f73f1b895eab9fa6064e7d70d372d8016c0db5
0ccc31838ee8a357264fea9037f9d70bbf523b99
/printTable.py
3cb9f518c77550567c745ee635dd4c15fb0ff3c9
[]
no_license
AnjaliG1999/Python-Mini-Projects
2062734969ede62d3561d337dd9de540880b3ab3
13577b511cefaa0c29a189ff89e087e357c340d2
refs/heads/master
2022-11-07T07:46:29.998363
2020-06-28T12:12:09
2020-06-28T12:12:09
273,784,328
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
#! python3 #take a list of lists of strings and display it in a well-organized table with each column right-justified tableData = [['apples', 'oranges', 'cherries', 'banana'], ['Alice', 'Bob', 'Carol', 'David'], ['dogs', 'cats', 'moose', 'goose']] colWidths = list() for lst in tableData: lrg = 0 for...
[ "noreply@github.com" ]
AnjaliG1999.noreply@github.com
4ba11d700b9938fd578d7d235221b919038e955c
4db34f4ac120894642ff9404a2d06af2e3d5a3f3
/backends/src/apollo/hiddenOfSafeInfo/sharingInfo.py
2fed72e7e736d977760eada4d8c5c474ce62aa4f
[]
no_license
zhanrui/apollo
a233449f27d7469e9d33d76bd4709bd05815ddc1
a43c007c9db340797b56649bc2b396d21ca50023
refs/heads/master
2020-05-19T18:55:37.053102
2015-05-24T22:45:54
2015-05-24T22:45:54
29,225,236
1
2
null
null
null
null
UTF-8
Python
false
false
920
py
#! /usr/bin/python #-*-coding:utf-8-*- import sys import os sys.path.append(os.path.dirname(os.getcwd())) from common.utils.log import log4py from apollo.commHandler import CommHandler class SharingInfo(CommHandler): def __init__(self): CommHandler.__init__(self) pass def getSharingInfo(self):...
[ "yuxiangyang@rongshangsoft.com" ]
yuxiangyang@rongshangsoft.com
2c93a899ee9b847648dc183b13db47e7f6d55298
135c04de6b62c94e0f444689cf6cce9bd7f15754
/demo/migrations/0003_auto_20201128_1756.py
6e90bd83ae026ac8b248363efd27f78f3e5b8250
[]
no_license
nikolata/React-and-Django-Full-Stack
00781bee75fbf71ae5f75084a2cdf5e17d301112
ebd815b191d61330e255f0abe721483a7359b116
refs/heads/main
2023-01-27T23:35:59.894326
2020-12-01T23:37:28
2020-12-01T23:37:28
316,780,225
1
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
# Generated by Django 3.1.3 on 2020-11-28 17:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('demo', '0002_auto_20201128_1745'), ] operations = [ migrations.AddField( model_name='book', name='cover', ...
[ "npmetodiev@gmail.com" ]
npmetodiev@gmail.com
d27210c3e09681fd8068bbef5a96b896d1101486
4bfc3c184e736bb68dccbb6d5657f11c950df002
/tests/common/test_op/prelu_grad.py
252d3596ca9e9a3489c806cc07e116a7f75ad335
[ "Apache-2.0", "Zlib", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-2-Clause" ]
permissive
laekov/akg
159aa64ef6135222b5af784c408731275dfa9bdb
5316b8cb2340bbf71bdc724dc9d81513a67b3104
refs/heads/master
2022-12-01T04:09:03.548063
2020-08-19T08:38:57
2020-08-19T08:41:28
288,678,192
0
0
Apache-2.0
2020-08-19T08:41:30
2020-08-19T08:36:53
Python
UTF-8
Python
false
false
10,574
py
# Copyright 2019 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...
[ "ckey.chengbin@huawei.com" ]
ckey.chengbin@huawei.com
ee3adc81c5be7820b0c771c7d02a4e8adaeef85c
ac16a937f32602cf16114463f8e875a972f64c27
/docs/dolfin/1.4.0/python/source/demo/documented/neumann-poisson/python/demo_neumann-poisson.py
ac37eacd166e14d35fa167b4c5851f1a81f8b70c
[]
no_license
mparno/fenics-web
2073248da6f9918ffedbe9be8a3433bc1cbb7ffb
7202752da876b1f9ab02c1d5a5f28ff5da526528
refs/heads/master
2021-05-05T04:45:46.436236
2016-12-06T20:25:44
2016-12-06T20:25:44
118,628,385
2
0
null
2018-01-23T15:21:47
2018-01-23T15:21:46
null
UTF-8
Python
false
false
1,948
py
""" This demo program illustrates how to solve Poisson's equation - div grad u(x, y) = f(x, y) on the unit square with pure Neumann boundary conditions: du/dn(x, y) = -sin(5*x) and source f given by f(x, y) = 10*exp(-((x - 0.5)^2 + (y - 0.5)^2) / 0.02) Since only Neumann conditions are applied, u is o...
[ "johannr@simula.no" ]
johannr@simula.no
b474c5650b5e463828451cdff9bd01b8d5ecb122
32c915adc51bdb5d2deab2a592d9f3ca7b7dc375
/Chapter_6_programming_tasks/printscreen_students.py
bd8ab316a53d216d9d384dd18f15599fc81cefa2
[]
no_license
nervig/Starting_Out_With_Python
603c2b8c9686edcf92c1a90596d552b873fe6229
d617ee479c7c77038331b5f262e00f59e8e90070
refs/heads/master
2023-02-25T07:14:12.685417
2021-02-02T18:45:00
2021-02-02T18:45:00
335,391,362
2
1
null
null
null
null
UTF-8
Python
false
false
500
py
def main(): read_students = open('students.txt', 'r') name_student = read_students.readline() while name_student != '': score_student = int(read_students.readline()) name_student = name_student.rstrip('\n') # show the record print("Name of students: ", name_student) ...
[ "solide@yandex.ru" ]
solide@yandex.ru
a89627ea6bf41889f9a0abb3633d45f5089c6a2a
a46e07b2914dbbf9f350a9280a8436305584a16b
/app_comments.py
a8de2f83633ed74f561660f8492652491641554f
[]
no_license
kllelndhlm/kllelndhlm-lists
04bcf7fa5ffc739ec075e37a83f641df1afb9ff6
cfe89c5f342df655a765d228f425047dd3d2f5f1
refs/heads/main
2023-04-25T03:39:53.487096
2021-05-09T19:53:38
2021-05-09T19:53:38
349,972,112
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
from flask import session, render_template, redirect, request from db import db from werkzeug.security import check_password_hash, generate_password_hash import secrets from datetime import datetime, timezone def send_comment(username, list_name, content, visible): sent_at = datetime.now(timezone.utc) sql = "I...
[ "kalle.lindholm@helsinki.fi" ]
kalle.lindholm@helsinki.fi
b138033de087935a641b4d090a3a255f40998e4f
5413990914fbfd5eb928a5aae57c5554ccd07264
/HRD/HRD/settings.py
0e1bdc528e227dea1a993cc95648e13f2f9e88f0
[]
no_license
jhoveID/DsignV2
16095165199cdc709568ddf60808c6f2055fc1a9
495d17ff17726c1e2d602c41ba26d7fb359272f6
refs/heads/master
2023-04-15T09:04:14.497653
2021-04-23T00:42:41
2021-04-23T00:42:41
360,357,051
0
0
null
null
null
null
UTF-8
Python
false
false
3,285
py
""" Django settings for HRD project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib impor...
[ "jhoveHQ@gmail.com" ]
jhoveHQ@gmail.com
f489ad3f083ebeb1bc6342c14459de37ca0830a5
04f6dac45bfba48d14f00f7b9d05e1071bc2f064
/baselines/deepq/simple_conservative.py
968a0bd7db48f601dae88147531e514889fdf0b1
[ "MIT" ]
permissive
masonwright14/baselines
d34eea5ff6b17d57e2e18ba5a5f687c9e4bbfb32
e7f08bdf154cc22bcba4ff76d53ca08f544cc15f
refs/heads/master
2020-03-13T16:39:26.580214
2018-08-08T20:10:49
2018-08-08T20:10:49
131,203,102
0
0
null
2018-04-26T19:45:34
2018-04-26T19:45:34
null
UTF-8
Python
false
false
61,739
py
import os import tempfile import zipfile import tensorflow as tf import cloudpickle import numpy as np import baselines.common.tf_util as U from baselines import logger from baselines.common.schedules import LinearSchedule from baselines import deepq from baselines.deepq.replay_buffer import ReplayBuffer, Prioritized...
[ "masonwright14@gmail.com" ]
masonwright14@gmail.com
69531891167d3e1b664371e3748feec5e264a3c5
2d9ae5e7493a983e0673f3ee2fb2ee357df38089
/wraling_data_with_python/chpt8/scr_wiki.py
1ff6ff3f1cb9586e7bbc2e89b253c0f71bd8fe0b
[]
no_license
saksim/python_data_analysis
e836a8e0f6e08a232725d9a4e427aa2665ac4f46
e5db206aeb95f028f725a2854fd1fc6f52916d37
refs/heads/master
2021-01-18T15:53:26.097424
2017-08-25T17:08:18
2017-08-25T17:08:18
86,688,449
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
#!-*-encoding=utf-8-*- from urllib import urlopen from bs4 import BeautifulSoup import re import datetime import random import pymysql conn = pymysql.connect(host='127.0.0.1', user='root', passwd='MYFyxy5hww21', database='python_test', port=28080, charset='utf8') cur = conn.cursor() def crete_t...
[ "heweiwei0107@163.com" ]
heweiwei0107@163.com
41102e0fbd612f25a5a9c254b74f9855d5ecc203
a4d577b74e80c79ac94e0ded13ff25f06aa3bc13
/mysite/mysite/urls.py
60ea7f134a8c840077228d29e48f344d82a7a5ac
[]
no_license
lmdcma27/Progra-2-Practica1
1572ae02144ec7aad14a3946e5af8a28b86cff4b
f9b9943b45749844cbda746667b88146800f119c
refs/heads/master
2020-05-03T19:26:15.608056
2019-06-08T18:33:42
2019-06-08T18:33:42
178,783,991
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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 ...
[ "lmdcma27@gmail.com" ]
lmdcma27@gmail.com
1d988a601334f866cf0cfa29b4c28f8a8d0eb042
46afea2e3bef90b7fe21e6762c614ac98150df0a
/SMS19/wsgi.py
edea5478acd78f8cfc31ec2d6a0e340e6f4bc52a
[ "MIT" ]
permissive
bitsacm/SMS19
7dca5dc3a1f1683850e9a7fd548252e876dff315
03148e03165e06e97196ed8221c19151a68db9ea
refs/heads/master
2021-06-17T02:18:21.049015
2019-04-15T10:16:38
2019-04-15T10:16:38
184,020,771
0
2
MIT
2021-03-20T19:04:11
2019-04-29T07:22:57
HTML
UTF-8
Python
false
false
387
py
""" WSGI config for SMS19 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "siddhantrkhandelwal@gmail.com" ]
siddhantrkhandelwal@gmail.com
d91bbfd4fdd6e554f03a9e6e836d1a9c3766be73
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_service_tags_operations.py
f9bdf3fc48b69402169eb1941b8801212dcb620f
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
4,510
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
bbf9ef3f31be84a570b427f39ccb042200d4cd05
42792862e02664907a137b2db84f6c4337ca5ac2
/main.py
dc1d5c9b407c5a0168036027187dbadcedaa5691
[]
no_license
AlexeyBurkov/statisticLabs
87b4e07f02284d386b8ea6bc80bc163196588d04
7cdee9cb4d0f0fdeb0d6ca1c5ec608977cbdedea
refs/heads/master
2023-04-24T06:48:16.480240
2021-05-09T02:39:44
2021-05-09T02:39:44
358,225,168
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
import numpy as np from lab1 import do_hist_research from lab2 import do_characteristics_research from lab3 import do_boxplot_research from lab4 import do_func_plus_density_research from lab5 import do_correlation_research, do_ellipse_research if __name__ == '__main__': do_correlation_research() # do_ellipse_...
[ "rubicks_cube@mail.ru" ]
rubicks_cube@mail.ru
710d650df521be4558296200acfa411b41f16e57
350db570521d3fc43f07df645addb9d6e648c17e
/0432_All_O`one_Data_Structure/solution.py
f9950ad44aecca27f66a9cb7b101ee26ce498043
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
967
py
''' 432. All O`one Data Structure Level: Hard https://leetcode.com/problems/all-oone-data-structure ''' ''' Solution: ''' class AllOne: def __init__(self): """ Initialize your data structure here. """ def inc(self, key: str) -> None: """ Inserts a new key ...
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
c479330cbce640dd7b11335f7ba3f16c96e55c22
f61aa4d5791fc858e52db956f447cfd0af5182cf
/break_statement.py
7886f134ac68d97318181108c520437d6d9c7a19
[]
no_license
AshutoshPanwar/Python_udemy_course
70abda4418c4532dd886a2b98c0bfb0bc8fbc138
7b4698f47a9a80b4cbe07e2334ccc6bc1427118c
refs/heads/master
2023-04-19T00:02:48.129265
2021-05-05T10:23:52
2021-05-05T10:23:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
l = [10, 54 ,2 ,61, 14] n = int(input('Enter search key:')) for i in l: print(i,n) if i == n: print('found') break #continue statement l = [10, 54 , 2, 61, 15] for i in l: if i % 2 != 0: continue print(i)
[ "ashupanwar1100@gmail.com" ]
ashupanwar1100@gmail.com
ce94ad704754398daf3643ee705966752a50804f
7bbc83f3f84d7e5057cb04f6895082ab3e016e90
/ml/m22_pca3_cifar100.py
34b9db2a7cd8e68feed22b981d54296f0365123a
[]
no_license
osy1223/bit_seoul
908f6adf007c0a7d0df2659b4fae75eb705acaea
b523d78c7b80d378a2d148b35466304f10bf4af4
refs/heads/master
2023-02-02T14:26:40.120989
2020-12-18T00:46:04
2020-12-18T00:46:04
311,279,034
0
0
null
null
null
null
UTF-8
Python
false
false
2,930
py
import numpy as np from tensorflow.keras.datasets import cifar100 from sklearn.model_selection import train_test_split from sklearn.decomposition import PCA from tensorflow.keras.utils import to_categorical from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Dropout from tensorflow...
[ "osu1223@gmail.com" ]
osu1223@gmail.com
9f9f3712a05a0efffe7c2c99073775c38e808e62
a45e8ebc8030eeb080f0b2f483375173b05ccf60
/HRank/30days/day9.py
d74724f79f8801cea2a6df7426b08fd7e361f10f
[]
no_license
santoshr1016/OpenCV
436098b8cba2a2a2e955181eab9be096c57cb1ec
69456ea144e1586106bba7bdd92369aebc8625e2
refs/heads/master
2021-06-04T14:51:45.034114
2016-09-01T12:34:03
2016-09-01T12:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
def factorial(n): if n<=1: return 1 else: return n*factorial(n-1) N = int(input()) print(factorial(N))
[ "santy1016@gmail.com" ]
santy1016@gmail.com
34559726c4acdaebfc64114d524060dcad146149
d8f5bfee3f54d2d003575323c0ef305653fe77a2
/py/helpers/mongo_client.py
567044ef3bd07c215e47a7c96998135dad985477
[]
no_license
aspotashev/stupid-ids
c8ab7abe546a95fd79637c6ba94e6393ae400f8b
978c995c7fc0be90d181bc098d36219da333bdd1
refs/heads/master
2021-01-10T14:00:59.065046
2017-05-16T21:22:24
2017-05-16T21:22:24
44,253,139
0
1
null
null
null
null
UTF-8
Python
false
false
416
py
import pymongo class MongoClient(object): def __init__(self): connection = pymongo.MongoClient() self.__db = connection['stupids_db']['template_parts'] def get_first_id(self, tp_hash): rows = list(self.__db.find({'_id': tp_hash})) assert len(rows) <= 1 if len(rows) ==...
[ "aspotashev@gmail.com" ]
aspotashev@gmail.com
20fb69cd069a164cee603d069a7a5f6b096580b3
494834a657d7419ebd1757ee4adb9661396c8b98
/Face Mask Detection/face_mask.py
5c9dee64ce7773e510305a3ac5db5dfc6abe396d
[]
no_license
AbhiGupta06/Project-face-mask-detection-
a0b05665590c50054e6475ccb69dc7113af2456e
4c81a7e187dbb30b8d51777e235823d62bd797e4
refs/heads/main
2023-03-13T02:04:00.668742
2021-02-26T07:52:37
2021-02-26T07:52:37
342,499,488
0
0
null
null
null
null
UTF-8
Python
false
false
6,612
py
# -*- coding: utf-8 -*- """face_mask.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1vFrGES-YoQk2rS1NFoRYaY_-GCuQBxTN **Let us first import all the necessary libraries we are going to need.** """ # from tensorflow.keras.preprocessing...
[ "noreply@github.com" ]
AbhiGupta06.noreply@github.com
06f8c7e9b4817b1e660c155e751e1e20b9c1c96c
f1dbf2a4ddad50b53dacd2acf4071b12d393f232
/programming/basics/python/binary_search.py
916cd2ed15302f8a28e0a718b7f23b2cb80f6152
[]
no_license
adikabintang/kolor-di-dinding
e25b6033c3cc7a5da53681ec7904eb6c015a18ca
7450002fc8f9b8c276b021be21b9cd368bc5200e
refs/heads/master
2021-07-05T10:36:04.616308
2021-01-04T16:32:09
2021-01-04T16:32:09
218,272,042
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
def bin_search(nums: [int], target: int) -> int: right = len(nums) middle_index = right // 2 left = 0 found_index = -1 while right > left: if target < nums[middle_index]: right = middle_index middle_index = (right - left) // 2 elif target > nums[middle_in...
[ "adika.bintang@ui.ac.id" ]
adika.bintang@ui.ac.id
7afe18193da612a4967d92db2639a1c5640c40bf
a6bdf7aa8f0a6282cc81e1acf97917dcd8821a7e
/module1.py
7f620c2f9cfa819d81da3a33c60119cb6cd413a9
[]
no_license
SNBhushan/BASICS-OF-PYTHON
28f66a24c774d24075ccd7ebea19286869ce15c8
beb5df71a9ef128b8800d5059778413521dd53f4
refs/heads/main
2023-05-27T16:57:15.709339
2021-06-08T09:26:09
2021-06-08T09:26:09
374,953,617
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
import math print(math.factorial(6))
[ "noreply@github.com" ]
SNBhushan.noreply@github.com
5cdd4ba6e42de150b30b0b660ce41f49f79da705
1eef92b94fb2a1af46714fc2309adb1eafdbeeaf
/shop/urls.py
6f5feef1e3659ecc8deb6ee6bbd184d6ac117af2
[]
no_license
Luxlorys/armeta
0201278ead2702868799863ed82a61576ca7cfec
8a8d8941efcd078ac950f2eb41502792757ca2db
refs/heads/master
2023-06-01T12:13:08.193469
2021-06-21T12:29:31
2021-06-21T12:29:31
375,623,727
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
from django.contrib import admin from django.urls import include, path from django.conf.urls.static import static from django.conf import settings urlpatterns = [ path('', include('main.urls')), path('admin/', admin.site.urls), ] urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROO...
[ "bossbyrcev221@gmail.com" ]
bossbyrcev221@gmail.com
9002d90dcbc6c3137048964b4c1bd3cd7d83fd19
cf0d80a7f8a7e89405f2b818af416651d5667298
/docker-mapnik-polar/render-polar-tiles-3411.py
8c026b48223573f82369e801e56140f0fa22b509
[]
no_license
ingmapping/mapnik-stylesheets-polar
98ba249ab2be0128b5fa7a3471a40b6b90738c93
35e87e041d105f54d4d2baf1f03e4f42ba780c34
refs/heads/master
2020-03-21T12:47:13.604397
2018-07-06T12:22:34
2018-07-06T12:22:34
138,571,899
0
0
null
2018-06-25T09:21:01
2018-06-25T09:21:01
null
UTF-8
Python
false
false
10,201
py
#!/usr/bin/python # # Render tiles in an polar projection: EPSG 3411 (https://nsidc.org/data/atlas/epsg_3411.html) # OriginX:-12400000 / OriginY: 12400000 / Resolution: 96875 / BBOX: 12400000, 12400000, 12400000, 12400000. # from optparse import OptionParser import sys, os, multiprocessing import Queue try: impo...
[ "noreply@github.com" ]
ingmapping.noreply@github.com
5cb97df2409a65e5747704f8b77e52f8006b7bfd
9f95df6184ddc375d625a0655533f5cae3fc0fa4
/car/get_credentials.py
8022c4fdf356eb0640692f04e71940c3f9edb8f5
[ "BSD-3-Clause" ]
permissive
stvhay/car
401721e03a2f49ee5aaec0dbab003e9776cadf6b
c4e1810d6fa8869e33fcc77ac85614fd05620498
refs/heads/master
2022-04-09T13:59:48.862986
2020-03-17T00:14:58
2020-03-17T00:14:58
238,547,333
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
"""Get credentials function.""" import getpass import yaml def get_credentials(args): """ Load credentials from file or arguments. :param password: Password string. @return: (username, password) """ try: with open('.credentials') as f: c = yaml.safe_load(f.read()) ...
[ "hay.steve@gmail.com" ]
hay.steve@gmail.com
44816a213498e7601004b6e75d6fd842b6107828
1d5a8f91ca705482ac0d0d196797f7d9f4c4c669
/pico-ups/picofu.py
e4beb24ab3c222425d08a1b43999e1544b3408d9
[]
no_license
johkin/ohserver-install
a06c50e29be5992a22e927fa645c8336d8559879
58ee4be0e77d21db7b9f807f2d8f9c8eb8f764a9
refs/heads/master
2021-01-10T09:52:14.094275
2015-11-19T23:25:26
2015-11-19T23:25:26
46,526,441
0
0
null
null
null
null
UTF-8
Python
false
false
20,360
py
#!/usr/bin/python # -*- coding: iso8859_2 -*- #=============================================================================== # # USAGE: picofu.py -f <fw_file> [ -v | -h | -s | -p serial | --force ] # # DESCRIPTION: # This script uploads firmware to UPS PIco. Only mandatory input is new UPS PIco ...
[ "johan.kindgren@acrend.se" ]
johan.kindgren@acrend.se
e9c9f4f5309528d037dad01dd4af1472ed2e2ea5
49a9317592e84cac5e9cea791f33423bc2222462
/tests/test_full_stack.py
d8c4eb4b8b2c6f5785a5a298c558cb9acc6025fa
[ "Apache-2.0" ]
permissive
juju-solutions/matrix
874291b867c500968facdad05a60bbc60db03f7d
60ff9290591f034dbf92a1cd9494c02d51f28929
refs/heads/master
2021-01-11T02:09:55.674968
2017-04-28T14:10:14
2017-04-28T14:10:14
70,099,250
8
6
null
2017-04-28T13:56:10
2016-10-05T21:02:43
Python
UTF-8
Python
false
false
479
py
from pathlib import Path import pytest import unittest from matrix.main import main from matrix.utils import new_event_loop class TestFullStack(unittest.TestCase): def test_stack(self): controller = pytest.config.getoption('--controller') if not controller: raise unittest.SkipTest() ...
[ "petevg@gmail.com" ]
petevg@gmail.com
3ccb2810111cc7c17fff1237b94360a7db98e23c
a573577081d7d33b4f8f52a7e5cfc5878a82161c
/backend/General/linear_search.py
6108582343e7f1646d079d93e632600befd7675c
[]
no_license
akshaygoregaonkar/Interview_prep
38d320aa92e0bfba5e6d8c36ad8f93bff6a11e97
abf6f2ffb969c7e1cd6c80cb79f41d4659de53ad
refs/heads/main
2023-06-18T00:47:51.102679
2021-07-19T06:51:30
2021-07-19T06:51:30
387,366,390
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
my_list=[1,2,4,5,6,7,8,1,2] def linear_search(arr,num): for i in range(len(arr)): if num==arr[i]: return f'fount at and index {i}' else: return "not found" print('hee') if __name__ =='__main__': print(linear_search(my_list,8))
[ "akshaygoregaonkar@gmail.com" ]
akshaygoregaonkar@gmail.com
d776256b9c0888939a4ddb81ebaea252992d1067
be2105e01881d4806c78e79fa05b73133a7a1d0b
/ABC/core/storage/storage.py
9331481eea8884445d2595c60f9b615911b82a2f
[]
no_license
git-alice/auto_bin_classification
8cbea0a5d356a0e041c92cc43f3f11ff68e9ac4b
0f07005cc99ca08437219a587d1a3d276503caab
refs/heads/master
2023-01-12T19:19:38.819864
2020-11-22T22:28:17
2020-11-22T22:28:17
313,606,108
0
0
null
null
null
null
UTF-8
Python
false
false
2,874
py
import cloudpickle as pickle from pathlib import Path from typing import Dict, Any, List, Union from ABC.core.storage.pickled import Pickled class Storage: root: Path = Path('./data/') verbose: bool = True _verbose_print_margin: str = '\t' @classmethod def set_root(cls, root: Union[str, Path]) -...
[ "art.oxbow@gmail.com" ]
art.oxbow@gmail.com
08f1569e594d0509eedf93ee0f374cdca24efc59
59478c1c4146a49efbf3af2e86e0c6c76a7b6f47
/section16_DataAnalysis/IdentifyUniqueValueInSeries.py
80fe125b4bf7d1a3e032f062463e77c15135ff05
[]
no_license
CRUZEAAKASH/PyCharmProjects
ac7c0cc49a0be07d25723401609dc09692908e68
4037ce9022d1fa76f4e6b906c34718942b3bc01c
refs/heads/master
2020-06-06T15:22:13.442484
2019-07-19T04:09:23
2019-07-19T04:09:23
192,776,045
1
0
null
null
null
null
UTF-8
Python
false
false
137
py
from pandas import Series series = Series([100, 200, 300, 400, 500], index=[1, 1, 2, 2, 3]) print(series) print(series.index.is_unique)
[ "aakash.shinghal@gmail.com" ]
aakash.shinghal@gmail.com
0c7a9e9338398106e5ed1e1b8552fce1ccd6c84b
97b9e22b3177975ab14e2559dd2ab4b3078dc54a
/NEAL/NEAL/settings.py
c967198a4c4c42d7652970280bf135d1f5dbfe64
[ "Apache-2.0" ]
permissive
ankitshah009/Never_Ending_Learning_of_Sound
c969cbaa7827cf2349cf5212bbe112aed687bcd3
4f9425e8c16145def9e5d2fc9b5a397ad4c7d6ac
refs/heads/master
2021-01-21T19:19:13.586834
2015-03-28T13:15:16
2015-03-28T13:15:16
28,266,575
2
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
""" Django settings for NEAL project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) impor...
[ "rohan.badlani@gmail.com" ]
rohan.badlani@gmail.com
b870395af63b1f010c5ef303162cc4266d545fe5
47bbbb5819fb18274a2a1b48ead23d62f22f0480
/Infection_vs_Inflammation/Code/Process_Data_V2.py
8c814d9d58ad9d0c75a1163e09e732ffc3a95126
[ "MIT" ]
permissive
MosabAboidrees/Machine-Learning-4-MRI
84df6def566d33d142f9e372183e3f4d2bf1ec39
973196063d69115048bfa97f213dd6ff0400f74d
refs/heads/master
2021-06-19T21:50:49.283163
2017-07-28T18:40:27
2017-07-28T18:40:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,314
py
# Import Modules as needed import numpy as np #import seaborn as sn import pandas as pd from mylocal_functions import * import matplotlib.pyplot as plt # ======== CEST============= # # Make list of all CEST.txt files CEST_list=get_ipython().getoutput('ls ../Study_03_CBA/*CEST.txt') # create function to normalize data...
[ "cardenaj@email.arizona.edu" ]
cardenaj@email.arizona.edu
e100368d8011cacb0b33df604df945f44851ff6d
4e82346452869030bd22c6c529fd8ce93ed9218b
/venv/bin/pip
faf00e9528fcca23fe1a046975f73e108eccfe7e
[]
no_license
rhofvendahl/factor_graph
155df6a11ee6c5c1217c79f14e205bebf7c73455
2ab9d05eadeb13340adb03b1798859dd7df68a76
refs/heads/master
2020-04-08T01:43:58.466840
2018-11-24T06:05:29
2018-11-24T06:05:29
158,907,575
0
0
null
null
null
null
UTF-8
Python
false
false
243
#!/home/russell/factor_graph/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rhofvendahl@gmail.com" ]
rhofvendahl@gmail.com
09f9604f9c8ea22ee6f81a3c1d977d3508559134
f1738cd603e0b2e31143f4ebf7eba403402aecd6
/ucs/management/univention-directory-manager-modules/univention-cli-client
4d826e3ec396991d416322d0414d98e410fa4de7
[]
no_license
m-narayan/smart
92f42bf90d7d2b24f61915fac8abab70dd8282bc
1a6765deafd8679079b64dcc35f91933d37cf2dd
refs/heads/master
2016-08-05T17:29:30.847382
2013-01-04T04:50:26
2013-01-04T04:50:26
7,079,786
8
6
null
2015-04-29T08:54:12
2012-12-09T14:56:27
Python
UTF-8
Python
false
false
4,125
#!/usr/bin/python2.6 # -*- coding: utf-8 -*- # # Univention Admin Modules # the command line client program # # Copyright 2004-2012 Univention GmbH # # http://www.univention.de/ # # All rights reserved. # # The source code of this program is made available # under the terms of the GNU Affero General Public License ver...
[ "kartik@debian.org" ]
kartik@debian.org
485b3825671ed5a47eb13c5cc6185a30b8d8dace
8ff04ffaff45a852da164acff411b7eca2cc4039
/20.02.2017/4.9.5.py
63efcc8fd0a90d102def648a12797165cfacfbde
[]
no_license
NguyenVietTrung/Techkids-C4E8
477c1b8dff70a871374340efe9343a41db7df3bb
e54257ce8c1407cde69d9dc93c69df881c7060ae
refs/heads/master
2021-01-19T09:52:13.944261
2017-03-24T17:06:15
2017-03-24T17:06:15
82,156,797
0
1
null
null
null
null
UTF-8
Python
false
false
320
py
from turtle import * bgcolor("lightgreen") color("blue") pensize(2) speed(-1) def ds1(n, side): for i in range(n): forward(side) left(90) side = side + 1 def ds2(n, side): for i in range(n): forward(side) left(70) side = side + 1 ds1(100, 1) ds2(100, 1)
[ "trungnv.1710@gmail.com" ]
trungnv.1710@gmail.com
be4ba72cbcb00b5350e68c0fc76a4d61c8bed511
1cf9771570cd18202efc94cf42ca93dafdb98a7f
/python/pan.py
dc948c820c0792bf1f916e71e2bb67fe8ec235aa
[]
no_license
webis-de/python_deVel-01-email-authorship-forensics
6e95250f2711cd6d2f5b746f42cea6c22de98316
4f4725484199f012476f1eb0768a05f6d165478e
refs/heads/master
2021-08-24T01:55:31.384045
2017-12-07T14:57:14
2017-12-07T14:57:14
107,246,201
0
0
null
null
null
null
UTF-8
Python
false
false
2,768
py
# Credits to: https://raw.githubusercontent.com/webis-de/savoy13-authorship-attribution/master/pan.py?token=AVfOvTqGcG9_-XTWbTq1SMnuw_-OfUWaks5aKUj1wA%3D%3D from bs4 import BeautifulSoup from collections import Counter from heapq import nlargest import re class PAN_training: def cleanup(self, path): wit...
[ "marcel.schliebs@sciencespo.fr" ]
marcel.schliebs@sciencespo.fr
55ff97a0fcc757d4a27ac0c45b8f09b5d4eac8bb
c0809283f8747fb39a960a8f0d1ae08e90f738c5
/bezman_shop/accounts/decorators.py
aa2d89c58a5347458be84a42a0821c61f3f82914
[]
no_license
zarina494/BEZMAN
df8570b0178603c3ad193e47e3eaa359358ef870
279bf93cdab40d795ac00e4fb4200b9bd89bff1d
refs/heads/main
2023-01-30T11:52:23.954619
2020-12-16T05:54:08
2020-12-16T05:54:08
317,106,894
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
from django.shortcuts import redirect def admin_only(function): def wrap(request,*args,**kwargs): if request.user.is_staff: return function(request,*args,**kwargs) else: return redirect('products') return wrap
[ "Sadykova-zarina@inbox.ru" ]
Sadykova-zarina@inbox.ru
ffd5136b4c1fc3303bbea7946185e8061c4ec266
3b91490de7037e81092802b4e4dbbdc5c82d7764
/OP_ELM/elm.py
919af66ba238a03fef79927f1eb8734e346eb452
[]
no_license
tylerwmarrs/elm-skin-segmentation
199dc20fef2528ba27fcd662ec34ee64fa6d4ff9
88bc06321c462c940b6fd21d86e2f5cad1dfbbfd
refs/heads/master
2021-01-11T16:30:09.480761
2016-12-10T18:41:36
2016-12-10T18:41:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,083
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 27 14:07:48 2013 @author: akusoka1 """ import numpy as np from numpy.linalg import inv from scipy.optimize import minimize from mrsr import mrsr from slfn import SLFN class ELMError(Exception): def __init__(self, v): self.val = v def __str__(self): ...
[ "noreply@github.com" ]
tylerwmarrs.noreply@github.com
688f53121ca85a7233c64051dc740b97edb52db7
c4b618ae721abc13862c617f91c6ccf0f86fc01b
/neutron/db/migration/alembic_migrations/versions/33dd0a9fa487_embrane_lbaas_driver.py
f1d5fd016160e72e2c73b888deb23d4dd724b8ba
[ "Apache-2.0" ]
permissive
virtualopensystems/neutron
2c3938375d02e3b80a0a32640573e3ed0dffa11d
067acd95ab6042ca5d123342abd420a2a938acd2
refs/heads/master
2020-07-02T03:22:36.448097
2019-04-18T09:46:34
2019-04-18T09:46:34
22,715,796
3
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
# Copyright 2014 OpenStack Foundation # # 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 ...
[ "ivar@embrane.com" ]
ivar@embrane.com
402eeea77c85ca02c197b2159a413415b91cc1e2
776a40cd263156146da7d9efb425daa9a06f1de1
/manage.py
e7dde1f7f0f8e42e7c318c92ef0fbd32222b5063
[]
no_license
VikkyyChavan/pdazure
5d5367785e17713466e409caf8eaa6a58106f48e
2fc91979f2b03a516d7ddc40de5b16fbb5b44861
refs/heads/master
2023-01-03T19:37:38.986642
2020-11-02T08:37:39
2020-11-02T08:37:39
309,304,231
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', 'pddjango01.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. A...
[ "prafula.chavan@in.abb.com" ]
prafula.chavan@in.abb.com
6b7aef28c6bdd7ea5e6a9d231eeed282eb8e4034
5ed4a18dda71dcfe082326a2737a3c4d92a14b02
/blog/models.py
86fad0f01f134e963368845bb7fece31fa8178a1
[]
no_license
Shubham7567/blog-example
67b4f29981b4b0db08a635c13fbf65e9f61c41a8
8f1df3b391a5a499427d2ad858818f78b5c54e99
refs/heads/main
2023-04-09T00:15:14.318510
2021-04-23T04:37:37
2021-04-23T04:37:37
359,691,133
0
0
null
null
null
null
UTF-8
Python
false
false
1,859
py
from django.db import models from django.db.models.expressions import OrderBy from django.utils import timezone from django.contrib.auth.models import User from django.urls import reverse from taggit.managers import TaggableManager class PublishedManager(models.Manager): def get_queryset(self): return supe...
[ "shubhamrathore7567@gmail.com" ]
shubhamrathore7567@gmail.com
1a813f9881b069bb5007acf25da307c780bbc231
90914b7d84d69a86652e69d1ad72888af363367b
/sale_invoice_grouping/sale.py
2440c23b6557ffd7e215463fa95a4bb599b1af5b
[]
no_license
emperadorxp1/TrytonModules
754a3ca92c0ac7b2db9165208b1bc5fda5fe4a73
33ef61752e1c5f490e7ed4ee8a3f0cff63a8fc89
refs/heads/master
2020-12-19T18:41:05.260174
2020-01-23T15:32:57
2020-01-23T15:32:57
235,815,084
0
0
null
null
null
null
UTF-8
Python
false
false
2,027
py
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. from trytond.pool import PoolMeta from trytond.transaction import Transaction __all__ = ['Sale'] class Sale(metaclass=PoolMeta): __name__ = 'sale.sale' @property ...
[ "joxua.1995@gmail.com" ]
joxua.1995@gmail.com
3ce5dbffdf45eda8cfd3efc1430f079848517ab7
2b62026b80f5f7ec9ccf179739baecd390ca4e05
/AuthApp/admin.py
0e19232a04fe17634a7236d8040224f222487679
[ "MIT" ]
permissive
ashwani202/DjangoProject
8abb51ccb552683199d71163bf1fe4e05fa6c8b7
b97ca37ad023c0ecba62a3fd63cf1ad55dd7f65f
refs/heads/master
2023-05-27T21:20:43.002211
2021-06-09T11:50:39
2021-06-09T11:50:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
from django.contrib import admin from .models import * # Register your models here. class MyUserAccountAdmin(admin.ModelAdmin): list_display = ('email', 'first_name', 'last_name', 'created_on',) search_fields = ['email', 'first_name', 'last_name'] list_filter = ('email',) admin.site.register(MyUserAccou...
[ "48996332+creativeweb-aj@users.noreply.github.com" ]
48996332+creativeweb-aj@users.noreply.github.com
8dea84c38579a1a042af9682a8b70c4e2f0de8a0
493b97dd77b094024188279a35de715716d6f63c
/main.py
62c66ffd894557e1dd69502f063e6e521791339b
[]
no_license
ztyoung86/brain-hole
2b58f95b16a996c4dac27ca59508cc158e47b336
d27e9249c9c3dc4d6c3462f9a4c8f87cd3b31987
refs/heads/master
2022-12-04T23:20:40.547801
2022-11-28T03:42:05
2022-11-28T03:42:05
12,968,127
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
# -*- coding: utf-8 -*- import jieba import operator jieba.enable_parallel(4) words = {} novel = open('lingyu.txt') for line in novel.readlines(): for word in jieba.cut(line): if words.has_key(word): words[word] = words[word] + 1 else: words[word] = 1 novel.close() # sort w...
[ "albertyang@keep.edu.hk" ]
albertyang@keep.edu.hk
62c18da37f3b5289cbc746707a3236dfb64489f3
5994b1b618d59ae057b66eb4e619c28bfe7ccf05
/books/learn-python-the-hard-way/ex_0/ex25.py
b18559041c9fb506533c8992241ce1a728eec1f9
[]
no_license
NBR-hugh/python
3e2c821232c7b1f5e461fbffe209a0d8ba9084ca
68ce4140f5c8e39fc2582ee3c072ed5875f3e152
refs/heads/master
2021-01-13T15:47:58.057862
2017-08-17T08:40:41
2017-08-17T08:40:41
76,856,759
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
def break_words(stuff): """This function will break up words for us.""" words = stuff.split(' ') return words def sort_words(words): """Sorts the words.""" return sorted(words) def print_first_word(words): """Prints the first word after popping it off.""" word = words.pop(0) print word...
[ "574168029@qq.com" ]
574168029@qq.com
148cbbaeaa8bac4d568f343d244063e18bc01502
0aa5749bffebd13598452a9ca589bd5eaadeb3e0
/usuario/admin.py
951e261d668bedd366325d8f3e053e182365e711
[]
no_license
BrenBc/subastaonlineproyecto
f1711196a3afba7d67ee4320e09308a07af4bdcc
a21311b8f0db19cabb189ef59b9b174e4a613270
refs/heads/master
2023-01-11T08:32:44.963799
2020-11-14T11:26:40
2020-11-14T11:26:40
312,799,832
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
from django.contrib import admin from . models import Banco, Cliente, Proveedor, Tipotarjeta, Venta, Tarjeta, Puja from . models import * # Register your models here. admin.site.register(Banco) admin.site.register(Cliente) admin.site.register(Proveedor) admin.site.register(Tipotarjeta) admin.site.register(Venta) admi...
[ "bren_tn5@hotmail.es" ]
bren_tn5@hotmail.es
370dc6f0e4efc80901dc654ec759b386b86d8c68
a30166ac71e4b1c1e07d67d07a07c99b12811005
/Topicos Especiais em Programação/rede_social/manage.py
a8297a1acdc2495c0a01a0ece10dbb175f394b53
[]
no_license
WalterBluman/Tecnologo-ADS
3615422a36d4b3169f7534601c8bbc9abe25f1ef
cebf94e482fa0e348aeda0f66b34ca3f26a2aa27
refs/heads/master
2020-12-03T19:15:28.025905
2018-07-18T18:22:54
2018-07-18T18:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "rede_social.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. ...
[ "sywrahgabriella@hotmail.com" ]
sywrahgabriella@hotmail.com
94efcfe4d501d4833645593f4f7ae01f97cfe608
aad55a3fbb66d05408c69e032c9188dc870a3df2
/TestCase/__init__.py
26588af7267c2c2ccd51ca85644b8b8dfdd7b3ce
[]
no_license
zjunbin/InternetThingsplatform
f2f86ca2e81a5edf732c677aa2e9e072eb784875
a8710f66f87fba0213fce62e3bd6483605a3ec8b
refs/heads/master
2020-05-24T05:59:43.446369
2019-07-05T09:16:56
2019-07-05T09:16:56
187,130,923
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
# coding utf-8 # @time :2019/5/615:02 # @Author :zjunbin # @Email :648060307@qq.com # @File :__init__.py.py
[ "648260307@qq.com" ]
648260307@qq.com
b3dcb41902a8b4ff489f8df77bc9a2de43e6826e
4a12ee57e670bfc574a1da1d6d61be1072d7c603
/interrogation/admin.py
d4f3790546036edff8b57d1687bc780181afc8ed
[]
no_license
Ganin-Alexey/TZ
cab1639cc6595b7608c214faf78d04c52c425231
3f62391a470c0705d08435192fc650c3ab804ad8
refs/heads/master
2023-06-12T12:00:31.376963
2021-07-05T11:44:00
2021-07-05T11:44:00
382,894,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
from django.contrib import admin from .models import Interrogation, Question, Answer, Choice class ChoiceInline(admin.TabularInline): model = Choice extra = 0 @admin.register(Question) class QuestionAdmin(admin.ModelAdmin): list_display = [field.attname for field in Question._meta.fields] list_filte...
[ "anonim.minona.80@mail.ru" ]
anonim.minona.80@mail.ru
8db5fccd818f11b5aa9b4aa8217eea91ebb4770c
4beaf162bb9dc4fb555d06777b64ad8c21b4c607
/api/models.py
11f57128718f6d11492188a975e44546fcf78222
[]
no_license
fedotovdmitriy14/django_react_spotify
fd858fa8ff11a2a9bbf5516e443f08026d19e82b
6be94500a79f8b8eb7f4907a376bc580f91925cc
refs/heads/master
2023-08-23T00:33:16.329821
2021-10-24T14:26:59
2021-10-24T14:26:59
419,827,995
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
from django.db import models import string import random def generate_unique_code(): length = 6 while True: code = "".join(random.choices(string.ascii_uppercase, k=length)) if Room.objects.filter(code=code).count() == 0: break return code class Room(models.Model): code =...
[ "fedotovdmitriy14@gmail" ]
fedotovdmitriy14@gmail
3a41eb79f7221cfd5e494b7d0967592147d0d134
0560aee2a84c507d2e91cb712393b37a7cfd4117
/trunk/testing/multi-mechanize_1.010/projects/constellation/test_scripts/mech_browsers.py
93c701b32c74ceb152c97324e5f0252a5dd9a409
[]
no_license
Mujj/Constellation
804df1190c7bf09c7498e0b6bcff247f5ae9c376
6bd9413cdd6bc835c0eddc48b1288b4132293cb6
refs/heads/master
2020-12-03T05:12:41.365567
2013-06-20T20:29:02
2013-06-20T20:29:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,805
py
#!/usr/bin/env python # # Copyright (c) 2010 Corey Goldberg (corey@goldb.org) # License: GNU LGPLv3 # # This file is part of Multi-Mechanize import sys import re import mechanize import cookielib import json import time import random import uuid from datetime import date from datetime import d...
[ "root@development.motormeme.com" ]
root@development.motormeme.com
36f361356f2ca7bb600caea0da4248477a0b47ce
ff398239187d3b911f4c87bc607ec3690dbfa8aa
/batch_state.py
ae28ba275031aae0fdaa105a72aa9095187efd31
[]
no_license
xiefei0117/USDA-census-data-extraction-tool
95af513bc0b520ff5ab8c16767b87c2efa6ce99c
c8c95d2e32e1f88a97665d982d753fa7e03b6af5
refs/heads/main
2023-09-01T02:24:27.993687
2021-09-14T16:52:48
2021-09-14T16:52:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,647
py
""" This code creates batch processing of all required data from the USDA census file. Users need downloaded required state USDA file from the census and specifify the state name. Example usage is: state_batch = Batch_Process_State("California", "06") state_batch.run() @author: Fei Xie """ import pandas a...
[ "xiefei0117@gmail.com" ]
xiefei0117@gmail.com
af489b1b3636ad41953b1e94d5c6585ab4073d41
1e79f9969a0705ecd6558e1169d201a0227e6c38
/PageObject/all_sites/RS/Oplata/pagePayRS.py
a5281f2541e06aa3533293d3e1b7a97af5344b83
[]
no_license
mfcdnepr/Selenium_keyua
0d88be4160941b2279a3900999fc4b83f6d5d644
097f7a8ad7a026fc89ec532d8a570ce187f66757
refs/heads/master
2023-02-15T13:24:47.365241
2021-01-15T16:43:02
2021-01-15T16:43:02
313,406,002
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
def pagePayRS(browser,): #Payment browser.find_element_by_xpath('//*[@id="id_ccnum"]').send_keys('5169360004480400') browser.find_element_by_xpath('//*[@id="id_ccexp_m"]/option[4]').click() browser.find_element_by_xpath('//*[@id="id_ccexp_y"]/option[8]').click() # browser.find_element_by_xpath('//...
[ "zeleniyanton@gmail.com" ]
zeleniyanton@gmail.com
6ef4f5dd5a38840b4bac64b24e2ef3679dea832b
10e5ecf13d2fa4e9e3d866fd42d68a99258d28b3
/tensor-note/tensor2.10/class5/tf_5_2_baseline.py
90bb3d3437ee463d29fbeef4a0b8757bdfd557ca
[]
no_license
FictionDk/python-repo
2ba20bece0e900040833be305eb81157704533cf
41fa3a95d62f16d7cf632cfefb09226ec24f4e1a
refs/heads/master
2023-04-27T18:39:53.998065
2023-04-18T10:33:23
2023-04-18T10:33:23
91,284,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,653
py
# -*- coding: utf-8 -*- from tensorflow.keras import Model from tensorflow.keras.layers import Conv2D, BatchNormalization, Activation, MaxPool2D, Dropout, Flatten, Dense from tf_5_1_data_set import DataSets import tf_5_0_utils as tf_utils class Baseline(Model): def __init__(self): super(Baseline, self).__i...
[ "ficito.d2k@gmail.com" ]
ficito.d2k@gmail.com
b1f161576f69b29eea2c147ec803d1ac8dfb9f9d
a515800cfa247f52edfaebb2b94554a95278cef6
/load_weights.py
fc126d4045e7b8837d9ce6302ce51fec4a055caf
[ "Apache-2.0" ]
permissive
lilun-cheng/vehicle_highway_tracking
5cc1111516ad64564b5074102e642c16b6189de3
99c9981c2d9f998d90df070d271b7b88f6dc0a35
refs/heads/master
2023-02-09T22:11:32.889245
2021-01-05T01:30:51
2021-01-05T01:30:51
326,847,720
1
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
from absl import app, flags, logging from absl.flags import FLAGS import numpy as np from yolov3_tf2.models import YoloV3, YoloV3Tiny from yolov3_tf2.utils import load_darknet_weights flags.DEFINE_string('weights', 'weights/yolov3_custom_train_final.weights', 'path to weights file') flags.DEFINE_string('output'...
[ "liluncheng@liluns-mbp-2.lan" ]
liluncheng@liluns-mbp-2.lan
72196bb5c3dbf9d5373b0e4f6e101a46c1e6d59d
f2dc4d2c716971b09205ed7c81e4d792a3b892a3
/mask-rcnn/libraries/mcoco/coco.py
075d578316c16cce04da32e553133d3173c9e945
[ "Apache-2.0" ]
permissive
pandamax/current-lane-drivable
c0412b5ee814e820b5a8673c11478f34d8718eb9
0727b101cec3d5663aa953209abf1f323b062a4f
refs/heads/master
2022-07-01T07:35:30.797585
2020-05-14T02:56:28
2020-05-14T02:56:28
262,209,978
6
0
null
null
null
null
UTF-8
Python
false
false
21,502
py
""" Mask R-CNN Configurations and data loading code for MS COCO. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE for details) Written by Waleed Abdulla ------------------------------------------------------------ Usage: import the module (see Jupyter notebooks for examples), or run fr...
[ "noreply@github.com" ]
pandamax.noreply@github.com
de2c917992ce5b7f0f60750a7cea903d616e6bf6
5076013d00eebdcdc74b3de358c3c59bd34847c0
/venv/Scripts/pip-script.py
4b8ba4f8b61f40c8f1d75a6975b48670a9766b18
[]
no_license
arijit05saha/nopcommerceapp
ff1708440097d4c8cf608b26d9b247d7bfbb6caa
388b375cc9ac1ba2967d8099a412e0dbfb5f39db
refs/heads/master
2023-03-07T20:15:04.999737
2021-02-24T21:09:30
2021-02-24T21:09:30
342,031,902
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
#!C:\Users\Arijit\PycharmProjects\noCommerceApp\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys...
[ "arijit05saha@gmail.com" ]
arijit05saha@gmail.com
96caa9d7593ea74a948e4142a3d16877eaeb220f
48ea0bdd3985b76aacee3ab2c6f5334c08aa671b
/09day/3三角形.py
999372cd39064ff728ec1e114b964e949aed4835
[]
no_license
caozongliang/1805
d19a7dfe82bdb5bd572aa774c0911b1cb50ad952
00ea195af5567a5998c3987ddceaa51134f1a95b
refs/heads/master
2020-03-19T20:58:07.789690
2018-06-25T09:31:03
2018-06-25T09:31:03
136,141,802
2
0
null
null
null
null
UTF-8
Python
false
false
108
py
i = 1 while i < 6: t = 0 while t < i: print("*",end="") t+=1 print("") i+=1
[ "3141360536@qq.com" ]
3141360536@qq.com
264bd6975be7662b1e729d1229a5ecf0315961d0
4ff9529ec12b75a8453fdca7f36fc3d9e03e7615
/xcessiv/__init__.py
d02b77e2c1371871f43fafedb49a47daaf4c00b3
[ "Apache-2.0" ]
permissive
ferplascencia/xcessiv
5f1d6feaaf4783e6c0c9c3dce45720b3cb4c1fa3
fc7df4e42ee51859fc84b05725f3512d85e71bf4
refs/heads/master
2021-01-01T06:16:26.094662
2017-07-13T09:55:47
2017-07-13T09:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
from __future__ import absolute_import, print_function, division, unicode_literals from flask import Flask __version__ = '0.5.0' app = Flask(__name__, static_url_path='/static', static_folder='ui/build/static') app.config.from_object('xcessiv.config') import xcessiv.views
[ "reiichiro.s.nakano@gmail.com" ]
reiichiro.s.nakano@gmail.com
9f476d12b85c867f987ddf81d7744fd5102dcca5
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Tensorflow_Pandas_Numpy/source3.6/tensorflow/contrib/memory_stats/ops/gen_memory_stats_ops.py
c07803ef193dbda5354cef2be4381457f0307e96
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
3,855
py
"""Python wrappers around TensorFlow ops. This file is MACHINE GENERATED! Do not edit. Original C++ source file: memory_stats_ops.cc """ import collections as _collections from tensorflow.python.eager import execute as _execute from tensorflow.python.eager import context as _context from tensorflow.python.eager impo...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
81e057f75dd9cb80d8baccb74262ea4edcf325b8
d9d6fbe56103b3372aba402d1472226820b8466b
/anagrafiche/myTests_Libro_cap06.py
7eb1b59b754c0f41f4e87d35b63659dd9979979a
[]
no_license
ghiblin/wms2
673731f39ae8d82201acfd7e228bfc1cef6bf126
07a97e6136637830ca99ae0bb06d944755eab87c
refs/heads/master
2021-06-24T06:00:43.207129
2018-10-14T22:46:30
2018-10-14T22:46:30
214,431,330
0
0
null
2021-06-10T22:04:52
2019-10-11T12:30:57
Python
UTF-8
Python
false
false
4,389
py
#!/usr/bin/python # -*- coding: utf-8 -*- from django.core.urlresolvers import resolve from django.http import HttpRequest from django.template.loader import render_to_string from django.test import TestCase from lists.models import Item, List from lists.views import home_page class HomePageTest(TestCase): def ...
[ "sergio.morstabilini@studiogammasnc.it" ]
sergio.morstabilini@studiogammasnc.it
86170857d96fa7d35c1f3d3d66444850e3e7b6e3
b75fa0885bc3ba3f153225fd3396aadef6c1f97e
/slides/pypyjs/lib-py3k/modules/test/test_site.py
ff1a5515931093585af46aef3c348e3a831a3f8f
[ "MIT" ]
permissive
rfk/talk-pypyjs-what-how-why
e084303185167dbc9b704c3568e0c31d0a1f6885
1ab62ee32ff9495ae9313ec81e8ee2044212ea71
refs/heads/master
2016-09-06T05:27:09.800382
2015-04-10T03:12:07
2015-04-10T03:12:07
22,421,369
2
0
null
null
null
null
UTF-8
Python
false
false
16,688
py
"""Tests for 'site'. Tests assume the initial paths in sys.path once the interpreter has begun executing have not been removed. """ import unittest from test.support import run_unittest, TESTFN, EnvironmentVarGuard from test.support import captured_stderr, check_impl_detail import builtins import os import sys import...
[ "ryan@rfk.id.au" ]
ryan@rfk.id.au
bb65a6f3ade0146e33605ebc9725287bcf876ccf
d028fe782122a52b2e8664296a3b7091016f4f8e
/reports/views.py
fb9fd75cf95647724dda4993490d1439c23156c5
[]
no_license
uhexos/Online-Learning-Platform
74b44650c4cc7234becff208a8030cc339973602
364d6e2a00ce3800c88e8a83b616a9a341bea7a4
refs/heads/master
2022-11-13T06:22:13.809303
2020-07-05T00:39:06
2020-07-05T00:39:06
224,997,720
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
from django.shortcuts import render from rest_framework import generics, permissions from courses.models import EnrolledCourses from .serializers import SalesSerializer # Create your views here. from django.db.models import Sum class SalesList(generics.ListAPIView): queryset = EnrolledCourses.objects.all() se...
[ "uhexos@gmail.com" ]
uhexos@gmail.com
c662727a689e9edfd8365de13c7fc29fe0578ba0
1b6e60aa1b7b10ffc4f64f89fca9d33761d10764
/alembic/versions/7d92610a4f0d_create_post_table.py
1e133101adef7ac41e5323553f885498e2f642fa
[]
no_license
epm157/fastapitutorial
2e9464df1f843c07447a7c58153b7bf8590bae81
56944bd8bb5402eed72a300fc603992a83d61c96
refs/heads/main
2023-08-27T08:13:04.850666
2021-11-15T06:51:45
2021-11-15T06:51:45
425,637,473
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
"""create post table Revision ID: 7d92610a4f0d Revises: Create Date: 2021-11-07 17:44:45.124468 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '7d92610a4f0d' down_revision = None branch_labels = None depends_on = None def upgrade(): op.create_table('pos...
[ "ehsan.poormohammady@gdata.de" ]
ehsan.poormohammady@gdata.de
d32fa628d376417ab535348d4f96ac45c4116ea7
7b1af6defe4797d9d4a815c73f72965bd5cf0245
/python string formatting.py
4683b9c5a780b6aa9c6c9712cc6b3aecaea51cd1
[]
no_license
sivathedev/python65
e60a6777a02dfd664aeac8a0f0b6173c79db9c02
d16848c9b7889d7b51a49814af02d01e9c8162b7
refs/heads/master
2023-02-23T21:05:54.456743
2021-01-26T14:02:14
2021-01-26T14:02:14
289,531,925
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
quantity = 3 itemno = 567 price = 49 myorder = "I want {} pieces of item number {} for {:.2f} dollars." print(myorder.format(quantity, itemno, price))
[ "noreply@github.com" ]
sivathedev.noreply@github.com
9ca816dea7c494fb4a933882aa28ad760c09847e
29c70f2129b1f7882abb7858c556c0287a0d1a6b
/data.py
926b485a09b547d8062eb0a2d818941f393714e9
[]
no_license
rakeshls/class103
379ccf8b77cc1589f919b2617a7deadac63397ed
34b2e0b3dbc31c75ee5984822679603bb93e1a3b
refs/heads/main
2023-05-24T01:24:22.772724
2021-06-09T13:26:49
2021-06-09T13:26:49
375,364,432
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
import pandas as pd import plotly.express as px #data = [10,20,30,40,50] #df = pd.DataFrame(data) #print(df) df = pd.read_csv('csvfiles/line_chart.csv') fig = px.line(df,x="Year",y="Per capita income",color="Country",title="Per capita income") fig.show()
[ "noreply@github.com" ]
rakeshls.noreply@github.com
f322a1c72f7e1c96948330f94ad1172954476178
a081bd5057e7deb8c1596b673b4a35d719477e20
/cliente.py
1311b2a5ba40b559612cd0b2178abe1df21c74be
[]
no_license
pablocandela/Practica08-Modelado20171
39e373b1ddc284d27b115d22a920ed35c47528bf
1f0d8290a735b44f96cd5b05e43d40498df612de
refs/heads/master
2021-01-24T11:28:21.170076
2016-10-07T01:49:20
2016-10-07T01:49:20
70,206,879
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
import sys from PyQt4 import QtGui,QtCore, uic class Ventana(QtGui.QMainWindow): def __init__(self): super(Ventana, self).__init__() uic.loadUi('cliente.ui', self) header_horizontal = self.tableWidget.horizontalHeader() header_horizontal.setResizeMode(QtGui.QHeaderView.Stretch) ...
[ "pabloantonio@ciencias.unam.mx" ]
pabloantonio@ciencias.unam.mx
365c552603fdb1b0f4540f30a40ca52234d87850
f6f02db9ea3fe650c759c0873d92a2a42edb588d
/bracketed.py
a5c276ec87a3fb5e8c9d09d4d90a8c97e8e03edc
[]
no_license
eclairss17/Python-test-cases-solving
f54e38b9f266bfdeea2431025744c2b95c4174bb
aeee800bad54dc41d1a6ff80329f7e169f2ad797
refs/heads/master
2021-02-18T06:26:34.084673
2020-03-05T13:30:53
2020-03-05T13:30:53
245,170,592
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
#count pair bracket and return true PAIRINGS = { '(': ')' } def bracketed(symbols): stack = [] for s in symbols: if s in PAIRINGS: stack.append(s) continue try: expected_opening_symbol = stack.pop() except IndexError: # too many closing symbols ...
[ "td_1" ]
td_1
8e00f6ef0dc2ae442b4838f710c9a49f9afad966
426596e98832bded86dbc7ea829cff98aaec520e
/mysite/news/migrations/0008_auto_20210112_1636.py
ed9da176ed6c7023caabf61949acaab83ee76d46
[]
no_license
yaki771/yakiswork
8382458b23801e901be255dc6ec7146464a1c32b
679bb644ae119ba4fe87faa5eca3b128e70926b2
refs/heads/master
2023-02-15T23:01:29.422690
2021-01-12T15:24:50
2021-01-12T15:24:50
309,275,422
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
# Generated by Django 3.1.2 on 2021-01-12 08:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('news', '0007_交通工具'), ] operations = [ migrations.AlterField( model_name='homework', ...
[ "fqjxxlyq@163.com" ]
fqjxxlyq@163.com
72dd8fbe932cd89098d3f68000ca5f2becadaee9
36548a42ad2e651d670d225c9b0d72fe3138dce2
/Exercise/4_Astrologer's_Stars.py
42f8f606c57db4a5c6a3b71afe97a654abda2c23
[]
no_license
Parth731/Python-Tutorial
a46f2f1ed85211eb23567778f092c24c5752f62a
a8ab0effe31e8d186b20296de171bc6e964b627c
refs/heads/master
2023-01-11T19:55:14.979699
2020-11-03T08:58:57
2020-11-03T08:58:57
288,523,912
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# pattern printing ''' input = integer n Boolean = true/false True n=5 * ** *** **** false n=5 **** *** ** * ''' n = int(input("How many rows want to print\n")) b = bool(int(input("Please enter True or False"))) print(b) if b == True: for x in range(n): for y in range(x+1): print("*",end=""...
[ "patelparth31795@gmail.com" ]
patelparth31795@gmail.com
dfebb92b8ffa8311fe658092c45a2e4618fbedc4
0b26df6178c717f914356d17e5e78731b88e2de5
/session4/exercise2.py
112e877d297a076103c4209914bc9452d83e9b46
[]
no_license
Jacquelinediaznieto/PythonCourse
a6509656dbfcc71ab642b50da304e9506517846f
623579ed924cc33ea6c44956f798759bffa8ff07
refs/heads/main
2023-06-11T11:02:50.563680
2021-07-01T07:45:08
2021-07-01T07:45:08
371,450,061
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
#2a def shopping_calculator(shopping_cost, discount_applicable): if (discount_applicable == 'y'): total_cost = shopping_cost * 0.9 return total_cost elif(shopping_cost > 100): total_cost = shopping_cost * 0.95 return total_cost else: total_cost = shopping_cost ...
[ "Jacquelinediaznieto@hotmail.com" ]
Jacquelinediaznieto@hotmail.com
9c67ad30e03acf740b3284a4d84c947ee548dd6a
395aa16d8d8a1e34445387d40a02488c6c94db95
/lex/RE2NFA.py
33169968295b4a023bed937b421047fc308fd5c5
[]
no_license
1170300808/LexicalAnalysis
bf0a9827de2d4b158057e9b00e73197fe1d261c7
856e5f5899871e3db2f0ece10ee73ab0d21952f7
refs/heads/master
2021-05-22T00:43:46.971638
2020-04-04T03:46:13
2020-04-04T03:46:13
252,890,535
0
0
null
null
null
null
UTF-8
Python
false
false
8,308
py
# -*- coding: utf-8 -*- # @Time : 2020/3/27 12:06 # @Author : WDW # @File : RE2NFA.py ''' 使用thompson算法构建nfa,首先分析语法树,自底向上构建nfa 例子 ab*(a|b)* 语法树为 + + * a * | b a b 构建语法树的算法是: 使用两个栈,一个存放符号+,*,( 一个存放子表达式对应的子树 扫描表达式,遇到符号入栈1,遇到字符入栈2. (+表示连接) 理论上符号优先级 () > * > + > | 符号栈应该满足优先级递增.遇到右括号就一直出栈直到左括号出栈...
[ "40755640+1170300808@users.noreply.github.com" ]
40755640+1170300808@users.noreply.github.com
d43dbdace5111dbc765bf9b16abcd3affd99e162
07a1d15b4ab9b34ae845a056f21ee5d407ec42da
/gx_gltf_type.py
5242828b7eca97cc6fa95c1c0662b11d16f04e64
[]
no_license
andreytata/py_gen_util
d987ebb2c04aca244e99f1cae9f61eacf568b0aa
f7bf2877ab511de860febf7949acd788cae9aef8
refs/heads/master
2020-06-01T03:56:59.335305
2019-07-26T12:43:34
2019-07-26T12:43:34
190,624,753
0
0
null
null
null
null
UTF-8
Python
false
false
50,207
py
#!/usr/bin/env python # coding: utf-8 """GLTF Definitions (schema: http://json-schema.org/draft-04/schema)""" # LESSONS/06 DIFFS: Tests delegated to python "unittest" framework # Tests code moved to test_gx_gltf_type.py # VSCode unittest support must be enabled and configured impo...
[ "andreytata@ex.ua" ]
andreytata@ex.ua
7013dae4b744ed9423390c43b9f1563544a5bd17
5f3fff9854b6e2c52b7dc28c4854387867a5f761
/GDog/681. Next Closest Time.py
81064a5757776daa0c9ddbe7cd0e00af16edf3af
[]
no_license
taochenlei/leetcode_algorithm
444cc2204676fd703ae5f0f976fabd74868c2c98
b1a1d965ea99586e03fd975afca8815cd47a3c0f
refs/heads/master
2020-06-06T10:20:40.231897
2019-04-28T11:55:21
2019-04-28T11:55:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
class Solution: def nextClosestTime(self, time: str) -> str: h, m = time.split(":") origin = set(time) i = int(h) j = int(m) while True: j += 1 if j == 60: j = 0 i += 1 if i == 24: i ...
[ "noreply@github.com" ]
taochenlei.noreply@github.com
2801eeab4a6e20f5849681320dd45c0e879000c8
09eb1bf36a025af39dd10d28cf6fe94bacd4ce7f
/tests/test_core.py
b8abdc61c59b14e2863a3f3fc34caf0b26e54780
[ "MIT" ]
permissive
ExpertsTreinamentos/iron-erp
a538c34e96e8ed04142033815debe4cfc2d82d56
ca6d018eea8daef98d87b676beca371de92e2df2
refs/heads/master
2020-04-08T20:15:29.085835
2018-12-05T21:40:06
2018-12-05T21:40:06
159,691,047
1
0
null
null
null
null
UTF-8
Python
false
false
1,465
py
from datetime import date from django.db.utils import IntegrityError from django.utils import timezone import pytest pytestmark = pytest.mark.django_db from iron.core import models def test_cadastros_basicos(): curso = models.Curso.objects.create(nome='Curso', carga_horaria=20) prof = models.Professor.obj...
[ "david@kwast.net" ]
david@kwast.net
106b8ec454d21701a83da39b2bcf05c80452ce3d
7fb9d4e18e915e4be50a4f387586eee01c2c6d74
/venv/bin/flask
ce2b74cc4df4fa54c21d939cea2b4831346732ff
[]
no_license
Dezynre/project19
08825d583f340e0b394495f6549092dd717c1e99
22f51ab0157100e65818b89914936f9f42157337
refs/heads/master
2023-01-02T20:06:45.783947
2020-10-31T08:17:48
2020-10-31T08:17:48
308,834,896
2
1
null
null
null
null
UTF-8
Python
false
false
264
#!/home/super-user/Desktop/WEB_PROJECTS/PUBLIC_BLOG/venv/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "dezynre254@gmail.com" ]
dezynre254@gmail.com
bc0d107eda0134dbc9d7e3850953956f9a76fa90
acc45babeb8c7d49b4845b24b3be5b55c4dff2ba
/motif_mark.py
9f4bae9e93a6de06dcb5a7876c1eb6089374ea6d
[]
no_license
ryanjdecourcy/motif-mark
3cacce10213685d97dff4647a28e4e697d33cbee
e2bf4716fc5243d5b86c92f51a2c36dfcf232188
refs/heads/main
2023-03-13T17:19:08.439642
2021-03-06T03:54:01
2021-03-06T03:54:01
335,823,957
0
0
null
null
null
null
UTF-8
Python
false
false
14,901
py
#!/usr/bin/env python # Importing modules # in bash terminal run "pip install pycairo" import cairo import re import argparse # Setting up argparse inputs parser = argparse.ArgumentParser(description="'-fa' to specify fasta file; '-m' to specify motif mark file") parser.add_argument("-fa", "--fasta_file", help="input...
[ "ryanjdecourcy@gmail.com" ]
ryanjdecourcy@gmail.com
707db000c00d3186f450c3d7d0744a961b6c3e59
d9ca319514ffe757ab36e87597f562b81153aefe
/estimator/TrainValTensorBoard.py
3028fd4759f4b4a693b510da10656d7c3076d1a2
[]
no_license
josecyc/PUBG
0f9ebde4dcc147ab52db0d237aa084121b898e5b
1b3cd74e101e6d56fd4099313a9e4dede91d193a
refs/heads/master
2020-04-27T22:24:18.404145
2019-03-11T18:15:41
2019-03-11T18:15:41
174,735,649
0
0
null
null
null
null
UTF-8
Python
false
false
1,920
py
import os import tensorflow as tf from tensorflow.keras.callbacks import TensorBoard from tensorflow.python.eager import context from time import gmtime, strftime class TrainValTensorBoard(TensorBoard): def __init__(self, log_dir='./logs', **kwargs): st = strftime("training %a_%d_%b_%Y_%H:%M", gmtime()) ...
[ "jcruz-y-@e1z4r13p9.42.us.org" ]
jcruz-y-@e1z4r13p9.42.us.org
9caa5ee05bebb29025bf46c0402d861d527d04ca
76ee0f818060fa568b00b3eebf8ab65743820069
/polls/views.py
f955bb01b6b83665363d93246ee1383a1250e46a
[]
no_license
seal031/DjangoProject
b592685616d7511dccd5a9826e08e1fa67655d3c
7c21affaf3a670a8e3b0a8823382cef8f89db492
refs/heads/master
2021-08-15T22:44:21.198212
2017-11-18T13:54:00
2017-11-18T13:54:00
111,088,091
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.http import HttpResponse from .models import Question from django.shortcuts import get_object_or_404, render def index(request): latest_question_list = Question.objects.order_by('-pub_date')[:5] context = { 'latest_question_lis...
[ "87749356@qq.com" ]
87749356@qq.com
8bdbcae864b577faa345cd9b564655bdc7663ecc
8fe3e891cbe304b1a0261dbcc3cb95e4ecbddd90
/bettron/soccer/views.py
36f51755b19c5c89efb4e3ec1d5e5ba1b032eb2b
[]
no_license
jtorresr1/BETTRON
e1be746b0fbb6f855c86fad5793c453519a59574
2e7d8b93945b391952e0714ca03085389d75f02e
refs/heads/master
2020-08-08T05:39:38.023916
2019-10-08T19:39:27
2019-10-08T19:39:27
213,737,108
0
0
null
null
null
null
UTF-8
Python
false
false
7,665
py
from django.shortcuts import render, redirect from django.http import HttpResponse from django.db.models import Count import csv from soccer.models import Ligas,Partidos,Equipos from soccer.forms import * from soccer.utils import * import os import time from datetime import datetime,timedelta from django.template.loade...
[ "jaimetr97@gmail.com" ]
jaimetr97@gmail.com
775808f38e23723aac6429aafe7a2baf9dfd7c3b
b6e31b6160efd3209badacf194b748dfbca3b2df
/blog/tests.py
99aea8f491c8cd1c815d91ccede6965e6a2fcc57
[]
no_license
AntonChernov/wonderslab_test
ef68f86a4c5b4f8de9973c48ad0c18a22f3ffc8a
3b394f9830244d7e469cf3b8585f27fc62524e6d
refs/heads/master
2021-05-07T17:23:32.851068
2017-11-01T05:51:29
2017-11-01T05:51:29
108,728,306
0
0
null
null
null
null
UTF-8
Python
false
false
2,704
py
from django.contrib.auth import get_user_model from django.test import Client from django.test import TestCase # Create your tests here. from django.urls import reverse_lazy from blog.models import Post class PostTests(TestCase): def setUp(self): self.user1 = get_user_model().objects.create( ...
[ "anton.chernov@steelkiwi.com" ]
anton.chernov@steelkiwi.com
70ee1afcd2e3855551589e7899518ff75e94ec41
656def2ca5c0bd959b31b98cdbc53fea3420b2dc
/Python3.7-VideoComposition/src/tencentcloud/cbs/v20170312/models.py
5b4e27df779ac6484fcc48eafcc445c9ede68e0e
[]
no_license
tencentyun/serverless-demo
120271b96f8f960b6125c9d1481a5d8fe56165ae
4c324bb186c460fe78252f0ca5c28132a8bce6c9
refs/heads/master
2023-08-25T17:07:04.959745
2023-08-25T08:10:49
2023-08-25T08:10:49
281,120,881
94
119
null
2023-08-31T06:34:36
2020-07-20T13:15:46
null
UTF-8
Python
false
false
128,684
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
[ "colorguitar@hotmail.com" ]
colorguitar@hotmail.com
283c6b43e1fb09e472f80084576279baec25468a
dbd1dd2b00a3c3cb25f7dd4faf08c3fc35aae7bf
/leetcode/add-one-row-to-tree.py
6d765a9da7de47530ff7f21eacfe56ba1e0aa231
[ "MIT" ]
permissive
hg-pyun/algorithm
2fa4260e96fbef1c23daf2c330db1e863401ea85
305100c9e9a09ee08082a1798e2599f2d4d3ebad
refs/heads/master
2023-08-03T12:52:00.362607
2023-07-25T13:24:52
2023-07-25T13:24:52
148,906,547
9
1
null
null
null
null
UTF-8
Python
false
false
992
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def addOneRow(self, root: TreeNode, v: int, d: int) -> TreeNode: if d == 1: ret...
[ "noreply@github.com" ]
hg-pyun.noreply@github.com
823e3eb060b99776cbbc0b7143e98b3dadd30ec0
064a8e3d4e2a31b322dff757daf11408241a0974
/webeloper2021/wsgi.py
658ddeb56dda47b66f410e7cb331b88be208ac11
[]
no_license
mohammadsedehi78/mosabeghe
f556334875986d33322e56217c86b16a6e4602e9
6ea5083894ba80041793c015641d1738ec3bbcca
refs/heads/master
2023-03-18T08:59:10.344490
2021-03-05T11:09:29
2021-03-05T11:09:29
344,783,574
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for webeloper2021 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "mohammad.sedehi78@gmail.com" ]
mohammad.sedehi78@gmail.com
6bbae3d5e5fcfab52cf056ce10cfcd8242cb6d43
f569978afb27e72bf6a88438aa622b8c50cbc61b
/douyin_open/EnterpriseGrouponGrouponCommonGrouponEvent/models/order_info.py
1c155ea165949da316be534caa2cc9ea5ce8beb2
[]
no_license
strangebank/swagger-petstore-perl
4834409d6225b8a09b8195128d74a9b10ef1484a
49dfc229e2e897cdb15cbf969121713162154f28
refs/heads/master
2023-01-05T10:21:33.518937
2020-11-05T04:33:16
2020-11-05T04:33:16
310,189,316
1
0
null
null
null
null
UTF-8
Python
false
false
14,221
py
# coding: utf-8 """ 团购活动事件回调 No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six c...
[ "strangebank@gmail.com" ]
strangebank@gmail.com
91532410123870d4d3c1bb39763e33fc807220b4
931b39931325cfc51494e80439355b8a8a03ab1e
/parameter_fitting/FRET/compute_Jacobian_mkVI.py
d45ae61a0c94ae0cc439e344fe37a81d671824b1
[]
no_license
ajkluber/project_tools
908fca3babd173eb22a1c2d28cbb930137c5a4a8
5ebbbcb10b3d8efe555e981eba6c5a401db80884
refs/heads/master
2021-06-06T15:04:29.394560
2017-09-08T20:10:54
2017-09-08T20:10:54
15,809,249
1
1
null
2014-11-13T22:11:32
2014-01-10T20:48:50
Python
UTF-8
Python
false
false
11,351
py
""" Compute Jacobian for matching a distance distribution Description: This module computes the jacobian of a distance distribution such as measured with FRET. note: as of now, only compute distances for FRET is updated last updated: Justin Chen, May 05, 2015 """ import numpy as np import os import time im...
[ "jc75@rice.edu" ]
jc75@rice.edu
93fda853410026abf9e2436c1f5c95874f6cee15
f5963c8644391770a2fbc0aaf1af6d7545d533e2
/src/lib/trains/train_factory.py
21c6a4cef331461361faf667545a60224d3b9ab0
[ "MIT", "BSD-3-Clause" ]
permissive
ajaichemmanam/CenterSeg
d33c181a952355bd6196e50b1901816ee3a5b15d
7a6d181961ae8a195d21c71d1fd68da36bcac70f
refs/heads/master
2022-12-24T19:01:55.609704
2020-09-16T06:14:01
2020-09-17T04:18:12
267,252,926
13
1
null
null
null
null
UTF-8
Python
false
false
435
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from .ctdet import CtdetTrainer from .ddd import DddTrainer from .exdet import ExdetTrainer from .multi_pose import MultiPoseTrainer from .ctseg import CtsegTrainer train_factory = { 'exdet': ExdetTrainer,...
[ "ajaichemmanam@gmail.com" ]
ajaichemmanam@gmail.com
cf644a12670d8aff34b7a1413556ac7855213a69
3e19165859b69351301f683292135cba75549db6
/Stanford/CS224n/a3/parser_model.py
05b40e4ed8149b60b1c996c72d73acb6abfa0832
[]
no_license
k-ye/OpenCourses
b084638e212920a831a6baf74d740dd704b9447f
7ac57b6fbfe1ae574f60378cf15d308e191be3eb
refs/heads/master
2021-07-04T19:50:34.040105
2020-04-05T09:02:14
2020-04-05T09:02:14
99,991,859
27
9
null
null
null
null
UTF-8
Python
false
false
8,174
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CS224N 2018-19: Homework 3 parser_model.py: Feed-Forward Neural Network for Dependency Parsing Sahil Chopra <schopra8@stanford.edu> """ import pickle import os import time import torch import torch.nn as nn import torch.nn.functional as F class ParserModel(nn.Module...
[ "yekuang.ky@gmail.com" ]
yekuang.ky@gmail.com
841d788c0340dbd5bee7b8992b8b850a786977ba
3ca1902888282bc4c0ca9ffb4d1f13487df889c2
/tito/compiler/ir.py
424aa265e29adcc7de7fbc4fbea93b5267caa766
[]
no_license
minttu/tito.py
0d3e2e3ca6222ca02638bdf6ea1dda1219779c6d
efd54c56f6944597a677785780b02dc8965418e9
refs/heads/master
2020-04-09T08:38:10.589300
2015-03-13T17:48:00
2015-03-13T17:48:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,054
py
from collections import OrderedDict from tito.errors import InvalidCommandError, MalformedAddressError from tito.data.commands import commands from tito.data.registers import registers from tito.data.symbols import symbols from .binary_command import BinaryCommand class IR(object): def __init__(self): se...
[ "juhani@imberg.fi" ]
juhani@imberg.fi
92d205d31d38912cad2577572b1027e6e26ac755
47030207bc09be135fe9f7647610a1bb190e51dd
/sequencer/frontend.py
4000e0befa3e00d395583ab2403d69661f5f7e5f
[]
no_license
ETH-NEXUS/lego_sequencer
df974c440264bf5f58bdc0a60cd65c6ddcc07108
ddea7b2753b577cc2c24603f7e5ee948fb789698
refs/heads/master
2022-12-11T08:44:31.957695
2019-09-24T14:02:06
2019-09-24T14:02:06
203,398,224
1
0
null
2022-12-11T06:50:05
2019-08-20T14:56:09
Python
UTF-8
Python
false
false
577
py
from flask import ( Blueprint, flash, g, redirect, render_template, request, session, url_for, jsonify ) bp = Blueprint( 'frontend', __name__, url_prefix='/', static_folder="../frontend/dist", template_folder="../frontend/dist" ) @bp.route('/', defaults={'path': ''}) @bp.route('/<path:path>') ...
[ "alquaddoomi@nexus.ethz.ch" ]
alquaddoomi@nexus.ethz.ch