blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
e3c07ab1c0f8f850ba14972383d4621221272771
f36be49208238248fa155311a8fa115e3e672efb
/faq/migrations/0001_initial.py
6eb45e075d0be3bdde3f88467367a6da286b3f51
[ "MIT" ]
permissive
Sejong-Creative-Semester2021/OJ-BE
71eb3bd88ce6767952227811d922000a9f407867
cecc511b771f1979ba7a556abdae1cbefa8e17bd
refs/heads/main
2023-08-14T03:23:54.029155
2021-09-17T13:00:45
2021-09-17T13:00:45
397,147,494
0
0
MIT
2021-08-30T04:03:01
2021-08-17T07:12:44
Python
UTF-8
Python
false
false
1,141
py
# Generated by Django 3.2.6 on 2021-09-17 12:49 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import utils.models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MO...
[ "mksin00@naver.com" ]
mksin00@naver.com
d8229a35567ff7594f50dbb89b7cea36bec123ac
148125096da896fd93292d2cd408265d159fec28
/qa/rpc-tests/p2p-acceptblock.py
2267768dbfeb2685302144171cfdd388f4355b4c
[ "MIT" ]
permissive
lycion/lkcoinse
7cfbcbdfc1e98f20d9dfc497ea65fd75ca6de25d
9cf9ed5730217566b44466c22dc255f0134ad1bb
refs/heads/master
2020-03-30T03:24:44.245148
2018-09-28T04:55:30
2018-09-28T04:55:30
150,548,883
0
0
null
null
null
null
UTF-8
Python
false
false
12,678
py
#!/usr/bin/env python3 # Copyright (c) 2015-2016 The Lkcoinse Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import test_framework.loginit from test_framework.mininode import * from test_framework.test_framework im...
[ "lycion@gmail.com" ]
lycion@gmail.com
948f743d6e0bc327c25c496c6faeecf388f602ac
569970f62eca0ff81e1f3aaca7f14c08021fa1a3
/example1.py
459893bf3f7a622ea4c88414a80137553c732951
[ "MIT" ]
permissive
u9n/enron-modbus
c958c0af7408dcbc6efe3b526b55eba694e63c98
68418a07dbbd8b6e4763e4d1cb8eb2915ff040d7
refs/heads/main
2023-08-17T01:07:55.522410
2023-08-08T12:33:17
2023-08-08T12:33:17
377,763,911
2
0
null
null
null
null
UTF-8
Python
false
false
594
py
from enron_modbus.client import EnronModbusClient from enron_modbus.transports import SerialTransport transport = SerialTransport(port="/dev/tty.usbserial", baudrate=9600) client = EnronModbusClient(transport=transport) client.connect() print(client.read_numerics(1, 5160, 6)) print(client.read_numeric(1, 5160)) print(...
[ "henrik@pwit.se" ]
henrik@pwit.se
ce5dade7d36a431e3ec81dade64648f6c22eca35
7832e7dc8f1583471af9c08806ce7f1117cd228a
/aliyun-python-sdk-emr/aliyunsdkemr/request/v20160408/RunClusterServiceActionRequest.py
eb1c959505c70fd4e06aa43388665c4d9f9b06a3
[ "Apache-2.0" ]
permissive
dianplus/aliyun-openapi-python-sdk
d6494850ddf0e66aaf04607322f353df32959725
6edf1ed02994245dae1d1b89edc6cce7caa51622
refs/heads/master
2023-04-08T11:35:36.216404
2017-11-02T12:01:15
2017-11-02T12:01:15
109,257,597
0
0
NOASSERTION
2023-03-23T17:59:30
2017-11-02T11:44:27
Python
UTF-8
Python
false
false
3,508
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
1d0914e57305a093924e35492cdf55af4109608e
5805bf03876af7f32e75fbc467b257768676ce42
/compadre-appengine/compadre-server/run.py
5b81242d833dbdb0fafb4183df8d100cd0b475bd
[]
no_license
mtaziz/Compadre
53ce8c717674886cadb16c81f2d87bdc7a11fe78
83473b404597dcf7140e8a435ac4c1e4d894020f
refs/heads/master
2021-01-17T15:54:39.716474
2016-06-20T16:57:01
2016-06-20T16:57:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
import os import sys sys.path.insert(1, os.path.join(os.path.abspath('.'), 'lib')) import application
[ "yonatano@gmail.com" ]
yonatano@gmail.com
91f7b4d2efaf48ed26bfcc96e2670ac062a664fe
6515c886cc420539bed05b2250c76e1c6974e5da
/models/mxnet_resnet_50.py
708dbb07c13c01468c1d3fe4962f17ca8206bfd6
[]
no_license
yuanmengzhixing/pytorch_deep_metric_learning
a320fd4e8863b9b8c3768b61e46027ccfc2077ee
b57621355a49af89573447c72685694043548434
refs/heads/master
2020-03-22T23:10:11.622231
2018-03-11T08:02:56
2018-03-11T08:02:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
35,697
py
import torch.nn as nn import torch.nn.functional as F import torch import numpy as np __weights_dict = dict() pre_trained_path = '/home/zhengxiawu/project/pytorch_deep_metric_learning/pretrained_models/kit_pytorch.npy' #pre_trained_path = '/home/zhengxiawu/deep_learning/model/mxnet_2_resnet/mx2pt_resnet_50.npy' #pre_...
[ "zhengxiawu@126.com" ]
zhengxiawu@126.com
ad833abfa7ebc2a0c6d29bf5cc8502e93504ecf0
115dfb558763fe51bc6d065435e4181057907dee
/lintcode/空格替换.py
4bc2be3615ae4a137bf54514b44b36f8585a3a6f
[]
no_license
StSphinx/leetcode
a8f328f9f409ca57d56f2054598e2024c578c0a6
699e8ead451b570aed22d3a705a5ecbb7178cea1
refs/heads/master
2020-09-22T02:49:27.327193
2019-05-22T03:46:12
2019-05-22T03:46:12
37,531,684
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
# -*- coding:utf-8 -*- __author__ = 'Muming' class Solution: # @param {char[]} string: An array of Char # @param {int} length: The true length of the string # @return {int} The true length of new string def replaceBlank(self, string, length): # Write your code here for k, v in enumerate(...
[ "zhhljdb6014@gmail.com" ]
zhhljdb6014@gmail.com
f44cb8ff8292065f395502b902384d138c5b9281
f09ef05dbc335a095c3652089bd98c9ba2f0e1de
/project_model/blog/migrations/0004_blogpost_posted_by.py
442e65869d57a4228993da0add9fc0dbedf1a905
[]
no_license
Dzinsyah/DJANGO_MVC
be45e2900203717dba51c1221f899d1c54324c36
5dea4d592ffecd1918e78c2aae185076a4e21fa4
refs/heads/master
2020-04-22T02:50:53.661662
2019-02-13T11:58:45
2019-02-13T11:58:45
170,065,027
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
# Generated by Django 2.1.5 on 2019-02-11 07:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0003_blogpost'), ] operations = [ migrations.AddField( model_name='blogpost', ...
[ "dzinsyah@alphatech.id" ]
dzinsyah@alphatech.id
59394e931356467d27d5d2fb4d1f788d461283b7
026c31969fe43e3d14029a8dbf7b4e3e435a06d2
/users/tests/test_admin.py
7c8be906cd6030b7fe983ed5bab088036da8a00c
[ "MIT" ]
permissive
victorfsf/github-monitor
db83c9f2ad0e725f6adbfa2c56c299aeadd5bc3a
7192827d44ca616c0914864770f8f7910cbe55b3
refs/heads/master
2020-03-08T00:44:30.341022
2018-04-09T23:43:12
2018-04-09T23:43:12
127,812,813
2
0
null
null
null
null
UTF-8
Python
false
false
846
py
from django.test import TestCase from django.test.client import RequestFactory from model_mommy import mommy from common.site import GithubMonitorAdminSite from users.admin import GithubUserAdmin class TestGithubUserAdmin(TestCase): def setUp(self): factory = RequestFactory() self.user = mommy....
[ "victorfsf.dev@gmail.com" ]
victorfsf.dev@gmail.com
84eb65886a58255c2d3c09f27ece27c9be43b5bf
d55deb7b26277a647aff5887cdbe65f002035ac7
/jobs/models.py
b2cee414ec2ee17dd8d1ae2de7a8ea7258a12eae
[ "MIT" ]
permissive
cyndi088/recruitment
0af95ef6028c678e49952752e65dd7e58fd9799f
e25e29b8b6724f1dce7b9ed5d9efb409744907c0
refs/heads/main
2023-01-22T18:38:55.403025
2020-12-03T06:19:16
2020-12-03T06:19:16
318,094,536
0
0
MIT
2020-12-03T06:19:17
2020-12-03T06:13:45
Python
UTF-8
Python
false
false
1,226
py
from django.db import models from datetime import datetime from django.contrib.auth.models import User # Create your models here. JobTypes = [ (0, "技术类"), (1, "产品类"), (2, "运营类"), (3, "设计类") ] Cities = [ (0, "北京"), (1, "上海"), (2, "深圳"), (3, "杭州") ] class Job(models.Model): job_typ...
[ "cyndi088@163.com" ]
cyndi088@163.com
4d251c34bdbf56b6e283315909d38807e090ff38
66746ed38e13b2d069829b1e7d963e2a66808f4e
/37 - Estrutura de repetição WHILE - Cria menu.py
92ebdc45c4e59ce4ccd23fb7fb34b6fe0a53358f
[]
no_license
leanndropx/px-python-logica-de-programacao
23ea8064381646623556130c29c7ecec4a845eb1
72d852abc8b4f85c0963909aab8e6aa0e9278ec1
refs/heads/master
2023-06-17T09:22:47.516634
2021-07-15T11:42:19
2021-07-15T11:42:19
385,781,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
# - DESCREVENDO O DESAFIO print('37 - Crie um programa que leia DOIS valores e mostre um menu na tela:') print('1 - somar') print('2 - multiplicar') print('3 - maior') print('4 - novos números') print('5 - sair do programa') print() print() # - INICIALIZANDO O PROGRAMA # IMPORTA BIBLIOTECAS f...
[ "leanndrompeixoto1@gmail.com" ]
leanndrompeixoto1@gmail.com
552afe3365ed66d2b8652c89879abaa32a139ce6
548a195b2bd6e5857f008ef4b5a305983bada183
/popular-movie-nicer.py
c207732295d01f823104ab24c3592707649b22c2
[]
no_license
aashray18521/Udemy-Spark_Python
b404801aba3bcb9c896a34fcd3679172ef092caf
13174529199d581598902dadcf07dcb171cadf33
refs/heads/master
2020-03-28T10:55:32.160605
2018-09-17T06:44:21
2018-09-17T06:44:21
148,159,774
1
0
null
null
null
null
UTF-8
Python
false
false
794
py
from pyspark import SparkConf, SparkContext def loadMovieNames(): movieNames = {} with open("ml-100k/u.item") as f: for line in f: fields = line.split('|') movieNames[int(fields[0])] = fields[1] return movieNames conf = SparkConf().setMaster("local").setAppName("nicePopularMovie") sc = SparkContext(conf = ...
[ "noreply@github.com" ]
noreply@github.com
72ec7cf470d37dd39544d24e30dce4db9ee66c02
69d4577c856c8352f4b41a83431ca304bae3a8a2
/model/charcnn.py
286006f682bb6386485eaa862be0faef17d080aa
[ "Apache-2.0" ]
permissive
tagucci/NCRFpp
ecbdd6d9c6e87505bc200047eb4f2a21c651d2c9
3fd65685c26ed0686efde933d262b85daeb02697
refs/heads/master
2020-03-11T22:51:23.497036
2018-04-19T12:38:44
2018-04-19T12:38:44
130,304,515
0
0
Apache-2.0
2018-04-20T03:35:53
2018-04-20T03:35:53
null
UTF-8
Python
false
false
2,910
py
# -*- coding: utf-8 -*- # @Author: Jie Yang # @Date: 2017-10-17 16:47:32 # @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com # @Last Modified time: 2018-03-30 16:18:23 import torch import torch.autograd as autograd import torch.nn as nn import torch.nn.functional as F import numpy as np class CharCNN(nn....
[ "jie_yang@mymail.sutd.edu.sg" ]
jie_yang@mymail.sutd.edu.sg
9ef5be1266f315f4969221617ac232fd1647c121
1ed17b57788423eb62570020286daf3016749706
/CountryGroup.py
e88e6d468fe13afca192163b40994c5c0da6a8bc
[]
no_license
yuvapriya/TopCoder
b37749e4afae7fedf5a10881ba2dd2249dc08bc5
6dea4cc9bb70ab26ac70a846a2cd46a82061c033
refs/heads/master
2021-01-19T06:37:17.735811
2015-05-17T21:47:30
2015-05-17T21:47:30
35,783,828
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
#Problem Statement: http://community.topcoder.com/stat?c=problem_statement&pm=13687 def countryGroup(arr): countryGrp = {} prev = None for i in range(len(arr)): val = arr[i] if( val in countryGrp): countryGrp[val] +=1 if(val != 1): if prev != None and ...
[ "m.yuvapriya@gmail.com" ]
m.yuvapriya@gmail.com
05c06ff5850ee1f5cbab0d42f5704ce5b0f4acb3
57d1580fd540b4819abb67f9db43fdfbba63725f
/hydrogen_notebooks/option_pricing/binomial_european_call_delta_hedging.py
29f3ca209e1b50cb4571fff0cac52d807c607296
[]
no_license
glyfish/alpaca
49edfcb9d80551825dfa4cf071f21aeb95a3502f
2b5b69bcf50ed081a526742658be503706af94b4
refs/heads/master
2023-02-22T00:24:19.293502
2022-09-05T17:20:23
2022-09-05T17:20:23
186,169,438
1
3
null
2023-02-11T00:52:12
2019-05-11T18:38:58
Python
UTF-8
Python
false
false
2,302
py
# %% %load_ext autoreload %autoreload 2 import os import sys import numpy from matplotlib import pyplot from lib import config from scipy.stats import binom wd = os.getcwd() yahoo_root = os.path.join(wd, 'data', 'yahoo') pyplot.style.use(config.glyfish_style) # %% def qrn(U, D, R): return (R - D) / (U - D) def...
[ "troy.stribling@gmail.com" ]
troy.stribling@gmail.com
f1a9d5f8ac93d9af895ae5ffd7c6036d617c5d19
6b83e1eb08926bd2437c3a42bf53e262fda81cd3
/algorithms/envs/flow/envs/ring/lane_change_accel.py
ea40b24414a20e24a7db6c8d2e50716d09bf8c08
[]
no_license
TerryLiu2k/DMPO
a92d2b96458066cd441293f618aca10bd21fce22
060c4135973a1b9bdea0cd26ea8f78a3a7ad5d98
refs/heads/master
2023-08-15T16:09:08.202735
2021-10-16T04:07:38
2021-10-16T04:07:38
416,567,453
6
0
null
null
null
null
UTF-8
Python
false
false
10,406
py
"""Environments that can train both lane change and acceleration behaviors.""" from algorithms.envs.flow.envs.ring.accel import AccelEnv from algorithms.envs.flow.core import rewards from gym.spaces.box import Box import numpy as np ADDITIONAL_ENV_PARAMS = { # maximum acceleration for autonomous vehicles, in m/s...
[ "terrylyclow@yahoo.com" ]
terrylyclow@yahoo.com
3412b6740ab16c481792133ad7b3581fee11316c
604756ba3da355fffb1a1cf4b882441de2d75184
/app/util/py2mongo.py
d6d181192ddcc862daecdedcade7e3838cf2a87d
[]
no_license
gowthamlabs/python-rest-ml
4e93f64019e28f4436b4c634d275e98b70c98939
3aa0a1b6fddd52037bfcdb065a9ae63105fd9f6c
refs/heads/master
2020-07-29T01:59:28.579650
2019-09-30T04:46:39
2019-09-30T04:46:39
209,625,473
1
0
null
null
null
null
UTF-8
Python
false
false
890
py
from pymongo import MongoClient # pprint library is used to make the output look more pretty from pprint import pprint # connect to MongoDB, change the << MONGODB URL >> to reflect your own connection string # client = MongoClient("localhost:27017") --> this also works try: client = MongoClient(port=27017) except Exce...
[ "gowtham.venugopalan@cognizant.com" ]
gowtham.venugopalan@cognizant.com
74dd88c522c1f43180958ef5d5f77d70bc1a149a
529b575a77c6c39714704c60e9705eaf52bd48d3
/tictactoe.py
dea97741580f86f1c1e9f720054c2dca5e7284b3
[]
no_license
alevi0106/AI
82151cd5c415f0ab7d852cc8d76f88ae56490835
c9ab47e63d8f8a0a0f0d5b1fd824a5096f3115a8
refs/heads/master
2020-03-22T21:58:33.549768
2018-09-27T10:01:02
2018-09-27T10:01:02
140,725,573
2
0
null
null
null
null
UTF-8
Python
false
false
4,120
py
board=[2]*10 board_copy=[" "]*10 #To draw a board def draw(): for i in range(1,10): if board[i]==3: board_copy[i]="X" if board[i]==5: board_copy[i]="O" #print(board_copy) print(' {} | {} | {}'.format(board_copy[1],board_copy[2],board_copy[3])) print(' {} | {} | {}'.format(board_copy[4],board_copy[5],boa...
[ "noreply@github.com" ]
noreply@github.com
e30bf0195bbfc6ed9aa15d5e111172064f3af938
bc863127e5f44ede4cfe46316ec44ce00cffb2d4
/config.py
d27612bdaa7edb6acf23a584e67ea2f321b668d9
[]
no_license
yogeshBsht/FeedbackForm
d33ce048261177badbed07871711da6260b93086
8c87505100bda14add08b1bfa3918ffc95a97525
refs/heads/main
2023-06-02T15:42:36.984226
2021-06-21T17:06:31
2021-06-21T17:06:31
378,629,987
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
import os from dotenv import load_dotenv basedir = os.path.abspath(os.path.dirname(__file__)) load_dotenv(os.path.join(basedir, '.env')) class Config(object): SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \ 'sqlite:///' + os.path.join(basedir, 'app.db') SQLALCHEMY_TRACK_MODIFICATIONS = ...
[ "ybnsit@gmail.com" ]
ybnsit@gmail.com
9a6921acf2118b13a365d80619408f90133228ad
12596a0809bc4ce7eba4f1f32cbf96c8191f5628
/ProgramFlow/guessinggame.py
cd83bec8fcc24262a2d83ae812b093853753f8c7
[]
no_license
MichaelAntropov/python-masterclass
e19c34d11eab42b9a3c58d568c866fb747ffe3ff
037456ff3f67ae5adf16465e8882a42ada0ca6c1
refs/heads/master
2023-04-06T11:59:19.402503
2021-04-17T13:43:04
2021-04-17T13:43:04
342,575,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
import random highest = 10 lowest = 0 answer = random.randint(lowest, highest) print(answer) # TODO: Remove after testing print("Please guess a number between {} and {}:".format(lowest, highest)) while True: guess = int(input()) if guess == 0: print("U gave up :(") elif guess < lowest or guess...
[ "mikhael.antropov@gmail.com" ]
mikhael.antropov@gmail.com
3b02f493286c8655b3bc6b8e6da7a3105dcca05f
a3b46d9b89bf7cf984413845db604ec2c98df8b3
/code.py
78d1cca2ec8f0d4db535249a5eb54e431c8c5d2a
[]
no_license
asahazmy/Field-prediction
3c1b3cd1a057457648237db2933f5608dff6a305
6b7ff05371e20ac9da9cd54ca74ac606914c7f70
refs/heads/master
2023-01-03T06:14:01.879003
2020-10-25T13:08:21
2020-10-25T13:08:21
275,312,086
0
0
null
null
null
null
UTF-8
Python
false
false
6,972
py
import matplotlib.pyplot as plt import tensorflow as tf from tensorflow import reduce_sum from tensorflow.keras.backend import pow from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Conv2D, MaxPool2D, UpSampling2D, Concatenate, Add, Flatten from tensorflow.keras.losses import bin...
[ "noreply@github.com" ]
noreply@github.com
506ab3ede97c112af86c4a23956ee39a25c9aecd
83b1a267809c08a57a3bb16c103d71539502a650
/job/migrations/0011_apply_created_at.py
c9ebca4b68d4fe3dc9d8d3052bdac004ee5816f8
[]
no_license
rimatechcampus/django-jobboard-project-
c66933295b4692c7d3cb055dcf0cbaef80424b38
8823e1e7db011a4fbaa0fc87f1810bcd5dab08c6
refs/heads/master
2022-11-20T16:40:56.495550
2020-07-19T16:52:13
2020-07-19T16:52:13
279,794,420
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# Generated by Django 3.0.8 on 2020-07-18 08:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('job', '0010_apply_job'), ] operations = [ migrations.AddField( model_name='apply', name='created_at', fi...
[ "riyamtechcampus@gmail.com" ]
riyamtechcampus@gmail.com
55936ee6e0c535be6c763d5bbe570c3d5d24d065
5c7deaef83574a53416681063827cdbcb3004b7c
/PyGameMultiAgent/gameclient.py
3dc5ddca4fd9eafea0898bdf3db2f38152da05a0
[]
no_license
guotata1996/baselines
ba53ed2bb3d8015551f8e46dd8398a21b638ea80
d7e2bee2ce1d98e5f2c511d6ede4e627e1112ad6
refs/heads/master
2020-06-22T00:00:09.431445
2019-08-07T03:22:39
2019-08-07T03:22:39
138,416,090
0
0
null
null
null
null
UTF-8
Python
false
false
3,635
py
import pygame import pygame.locals import socket import select import random import numpy as np from baselines.PyGameMultiAgent.staticworld import StaticWorld class GameClient(object): def __init__(self, addr="127.0.0.1", serverport=9009): self.clientport = random.randrange(8000, 8999) self.conn =...
[ "jg4006@columbia.edu" ]
jg4006@columbia.edu
354f4e8b11fc7deaae648a37d207d137f827d66e
0aa87ee2e544f56c17c2dde28a3b3feed08daa14
/apps/users/urls.py
6dda1d1373eadae3c77476250c17308642600204
[]
no_license
yanshigou/mxonline
f2cc44724c1511418953e7e06d04661244b29455
cebc3295734713846828246fc54dd33f8df14f86
refs/heads/master
2022-12-09T12:11:05.734326
2022-08-17T10:38:13
2022-08-17T10:38:13
148,120,737
0
2
null
2022-12-08T02:58:15
2018-09-10T08:06:10
Python
UTF-8
Python
false
false
1,309
py
# -*- coding: utf-8 -*- __author__ = 'dzt' __date__ = '2018/12/21 23:48' from django.conf.urls import url from .views import UserInfoView, UploadImageView, UpdatePwdView, SendEmailCodeView, UpdateEmailView, MyCourses from .views import MyFavOrgView, MyFavTeacherView, MyFavCourseView, MyMessageView urlpatterns = [ ...
[ "569578851@qq.com" ]
569578851@qq.com
fdb4bdf1a20e33fa178f567d6dfa0aac72099ca5
c6716e87bde12a870d517ebe64c6916477ef3251
/tableFormats.py
dfc915f56ec17c0cb2887a8fce4b5c6e7c0c0ed0
[ "BSD-3-Clause" ]
permissive
adasilva/prettytable
efca75828341319e2962727e55f7cce5519eb4b7
899e255a53b257cf392565dc1d9f02bef25c4c4a
refs/heads/master
2021-01-25T04:01:43.633364
2015-08-19T15:26:49
2015-08-19T15:26:49
40,557,221
0
2
null
null
null
null
UTF-8
Python
false
false
2,591
py
from prettytable import PrettyTable import abc class TableString(object): """Metaclass for formatted table strings.""" __metaclass__ = abc.ABCMeta @abc.abstractmethod def __unicode__(self): return @abc.abstractmethod def __str__(self): return @abc.abstractmethod def get_s...
[ "awesomeashley527@gmail.com" ]
awesomeashley527@gmail.com
0861548899e4e325b8f98626824a5f2a3f40c4a1
d620b82c57adde1636826601e2b99209689ad2c4
/model/xgboost/xgboostprocess.py
8facdb750067deadb04ba3f2ca6276a0d2ee0326
[]
no_license
weigebushiyao/HFData-PitchSystemModel
1a75e2da6bef1bdbcae0eee1b1b9519bee03b56c
58c77cdfcf85e49d7ab1f7163374c906ac0df361
refs/heads/master
2022-07-11T22:30:35.794840
2020-05-18T06:36:54
2020-05-18T06:36:54
264,849,547
0
0
null
null
null
null
UTF-8
Python
false
false
3,260
py
#-*-coding:utf-8-*- from sklearn.model_selection import RandomizedSearchCV import pandas as pd from xgboost.sklearn import XGBRegressor from model.get_data_path import get_train_data_path,get_test_data_path from sklearn.model_selection import train_test_split import os from util.show_save_result import ShowAndSave cu...
[ "505456072@qq.com" ]
505456072@qq.com
7fdb76e70da796bb88882454749b09f5a59d1b45
ec4586abcc179293656f0afd837b0d521d072a75
/torchsl/mvsl/__init__.py
d61621ffcfa464dc736802882d9237e957f9b3a7
[]
no_license
ZDstandup/mvda
e483387e0b7e50c84bc28ffd864d44a724d23762
13f854e063f10a9374856d0e2005b233788a645f
refs/heads/master
2021-01-13T20:42:51.842836
2019-12-15T19:16:13
2019-12-15T19:16:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from .mvda import MvDA, MvDAvc, RMvDA, RMvDAvc from .pcmvda import pcMvDA from .mvcsda import MvCSDA, MvDAplusCS from .mvlfda import MvLFDA, MvLFDAvc, RMvLFDA, RMvLFDAvc from .mvccda import MvCCDA, MvDCCCDA __all__ = [ 'MvDA', 'MvDAvc', 'RMvDA', 'RMvDAvc', 'pcMvDA', 'MvCSDA', 'MvDAplusCS', 'MvLFDA', '...
[ "inspiros.tran@gmail.com" ]
inspiros.tran@gmail.com
ff0ea4acf2347925603c4adec3f917e249a6c633
eb0ff0b6979a4cef6b1d8509d10579da9a6aca90
/main.py
5c8cb04f647953e8faa71d2b9c1e2fbec3279661
[]
no_license
SusaOP/Motion-Detection-Security-Camera
71b44e2b80ddf99f611c85c375b68afa242f41e3
33468eb9a6743476e048fd2785c0ad82cf5feb79
refs/heads/main
2023-06-27T20:30:12.629899
2021-08-06T01:04:39
2021-08-06T01:04:39
393,207,450
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
import os import shutil from datetime import datetime from operateCamera import videoRecord from into_frames import toFrames from compare_frames import compare from send_email import fromFlaggedToSent from send_email import establishAttachment local_max = 0 for i in range(2): saveDir, videoFile = videoRecord() ...
[ "noreply@github.com" ]
noreply@github.com
a25c70b086e30d5453a6b2028947b60a2489d0ec
333b2e1284be6ea06a9989bcc76fd296f5c4f0a4
/modules/study.py
7aff8c48c34019e170d78e05afffc4ecb7954e76
[]
no_license
luomeng007/MyLife
567df155a30857e2c5f03049611d83eb0a847c02
76447fdfeaa83d7b77964560d56c67ce2cd36905
refs/heads/main
2023-01-20T14:17:30.613718
2020-11-29T10:46:26
2020-11-29T10:46:26
309,741,680
1
1
null
null
null
null
UTF-8
Python
false
false
2,352
py
# -*- coding: utf-8 -*- import os import time import speech class Study: def __init__(self): while True: print("请您选择,提示:请输入序号1或者2") print("1. 学习30分钟") print("2. 学习60分钟") self.choice = input("您的决定: ") print("") if self....
[ "noreply@github.com" ]
noreply@github.com
a0754fefb495c8c77a0ceb23a9ff13a8cc1d720f
0a669c18356f783fdd31ac54519b7c91f2fb3ef7
/01-Estrutura_Sequencial/08-Salario_hora_simples.py
8153ac315ed945727e1f63797c0f8bc3d3d8dd4d
[]
no_license
guilhermejcmarinho/Praticas_Python_Elson
5295bca77785c22c6502c7b35988a89e6e8fba8e
27145a99dd18c57281736079d94aef468d7276dc
refs/heads/main
2023-07-28T22:41:58.636331
2021-09-10T22:09:37
2021-09-10T22:09:37
400,654,904
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
sal_hora = float(input('Informe o valor da hora trabalhada: ')) hr_trab = float(input('Informe quantas horas trabalhou: ')) print('Salário total no mês: R$', round(sal_hora*hr_trab, 2))
[ "gui.the.great@gmail.com" ]
gui.the.great@gmail.com
c9593dfd5fb0088ce2c4645844975fd74e3c847e
7b53e120dc4022b09eed0cf87a975482dc1d2056
/M2/utils.py
93ee422692d9b63b45deed53160a1d656ec285cf
[]
no_license
YuanKQ/DDI-VAE
878ba120c2a61e7966bf1638680c5b39a610d690
fe2c5a699e5294287c0b05b60fd037c21c7fddd1
refs/heads/master
2020-03-17T12:34:12.895257
2018-05-16T01:50:45
2018-05-16T02:11:56
133,594,155
1
0
null
null
null
null
UTF-8
Python
false
false
1,766
py
import prettytensor as pt import tensorflow as tf import numpy as np logc = np.log(2.*np.pi) c = - 0.5 * np.log(2*np.pi) def tf_normal_logpdf(x, mu, log_sigma_sq): return ( - 0.5 * logc - log_sigma_sq / 2. - tf.div( tf.square( tf.subtract( x, mu ) ), 2 * tf.exp( log_sigma_sq ) ) ) def tf_stdnormal_logpdf(x): ret...
[ "kq_yuan@outlook.com" ]
kq_yuan@outlook.com
30049a45def159f6d425e056ab47ba6b13055d72
3fdf83182664bf1c5c8c5b91186ed1a476cdcae7
/manage.py
b82fa89d927388c22b2efe834deb746bcbac493a
[]
no_license
gauravdhingra99/Webkiosk-online-Student-portal-
7a3d47e1bd0e05d1a853685a66e28627ae04eef3
fa1369e0e616b6688f9f906fd0c5ea42efa06368
refs/heads/master
2020-04-06T19:46:05.882112
2019-02-27T16:30:13
2019-02-27T16:30:13
157,748,816
3
1
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", "webkiosk.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "gauravdhingra9999@gmail.com" ]
gauravdhingra9999@gmail.com
47220864385f35b099736c3ef297a7ae7f1cbe54
ca08100b33a78c01bf49f097f4e80ed10e4ee9ad
/intrepidboats/apps/owners_portal/utils.py
605fe7065629b6a2f9983f3de5ed580162b6c11a
[]
no_license
elite0401/intrepidpowerboats
347eae14b584d1be9a61ca14c014135ab0d14ad0
d2a475b60d17aa078bf0feb5e0298c927e7362e7
refs/heads/master
2021-09-11T01:51:47.615117
2018-04-06T02:20:02
2018-04-06T02:20:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,654
py
from django.conf import settings from django.contrib.sites.models import Site from django.core.mail import send_mail from django.template.loader import render_to_string from django.urls import reverse from django.utils.translation import gettext as _ def send_report_email(user_boat): context = { 'user': u...
[ "elite.wisdom@gmx.com" ]
elite.wisdom@gmx.com
fcf325192bb689fddfa24f58302b76220e0f8f1b
9708ad482f925fb5a57df285b478602ad2749196
/lib.py
af36fdf38a4f7b1c906176f91a90afb6c6a5b74c
[]
no_license
cczeus/project-euler
580b6e559da23554aaab06b82b671ebbf382c26c
57970c2f0a2b64c5e444050bb437ba3b3620bff1
refs/heads/master
2022-06-02T23:25:47.280066
2022-05-19T23:30:41
2022-05-19T23:30:41
68,892,531
0
1
null
null
null
null
UTF-8
Python
false
false
709
py
import math def isPrime(num): if num == 2: return True elif num % 2 == 0: return False elif num < 0: return False for j in range(3, int(math.sqrt(num)) + 1, 2): if(num % j == 0): return False return True def getFactors(num): factors = [] i = 1 ...
[ "chriszuis@MacBook-Pro.local" ]
chriszuis@MacBook-Pro.local
02af91d9a068eb13b6123c2f26b025668f5bb79f
6eaf69ffd454ed6933e3395516246d878cb09781
/repozeldapapp/tests/functional/test_authentication.py
f998f67ccdc2ccc018c17f9cecb7cb08697d7a58
[]
no_license
ralphbean/repoze-ldap-app
0d6658ef13b153736aaed6aa07fbdcaf65cbe1d9
cc00fe59bcc286fd44d1e22a14c40cfc8419e21d
refs/heads/master
2021-01-01T05:35:25.069715
2011-07-19T15:30:31
2011-07-19T15:30:31
2,072,811
0
0
null
null
null
null
UTF-8
Python
false
false
3,583
py
# -*- coding: utf-8 -*- """ Integration tests for the :mod:`repoze.who`-powered authentication sub-system. As repoze-ldap-app grows and the authentication method changes, only these tests should be updated. """ from repozeldapapp.tests import TestController class TestAuthentication(TestController): """Tests fo...
[ "ralph.bean@gmail.com" ]
ralph.bean@gmail.com
1d1dfcd44cf71fa592df181189c7efe1af6af40d
7a8560742946bfb95f4a252693264c34d4d0473d
/k2/centroid.py
e09491c999915180b3830fd138110d6e2140551a
[ "MIT" ]
permissive
benmontet/K2-noise
3781e475ed6d5e2748a7ac3ddd878b8eec334254
a4b682cdf33f85d2dffc4cef115dcedacfccb4b4
refs/heads/master
2016-09-05T13:02:09.051080
2014-10-25T14:36:22
2014-10-25T14:36:22
22,899,258
1
0
null
null
null
null
UTF-8
Python
false
false
604
py
# -*- coding: utf-8 -*- from __future__ import division, print_function __all__ = ["centroid"] import numpy as np from functools import partial from itertools import izip, imap from .c3k import find_centroid def centroid(tpf, **kwargs): # Load the data. data = tpf.read() times = data["TIME"] image...
[ "danfm@nyu.edu" ]
danfm@nyu.edu
2c4cfe1cd667b7a708c96b4978b00325826dfb19
0987f31e64bcacb41ba3a1e20054d7b8ac0d7346
/contests/panasonic2020/a.py
3c85e5a3a0a4b6b5ab170b052566849aab8ae7bf
[]
no_license
masakiaota/kyoupuro
81ae52ab3014fb2b1e10472994afa4caa9ea463b
74915a40ac157f89fe400e3f98e9bf3c10012cd7
refs/heads/master
2021-06-27T04:13:52.152582
2020-09-20T03:21:17
2020-09-20T03:21:17
147,049,195
1
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
import sys sys.setrecursionlimit(1 << 25) read = sys.stdin.readline def read_ints(): return list(map(int, read().split())) def read_a_int(): return int(read()) def read_tuple(H): ''' H is number of rows ''' ret = [] for _ in range(H): ret.append(tuple(map(int, read().split())))...
[ "aotamasakimail@gmail.com" ]
aotamasakimail@gmail.com
dc99e0b0e9ab6f25c323a84c139ce0ec4d9fcdeb
bcd33ba045b68fe6fba6f7a3a8fd95124106ac16
/tests/test_dates.py
d2c3b3422cc62b44cc924dd40f9e617529822d61
[ "MIT" ]
permissive
bfontaine/Romme
43d9ba2f6cd09f7b24f8916b121854521009cdd0
affdfb23a6bb882c17da95ec3767710d5bebd59a
refs/heads/master
2021-03-27T12:29:13.329232
2017-06-10T19:42:30
2017-06-10T19:42:30
93,895,352
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
# -*- coding: UTF-8 -*- import unittest from romme.dates import RepublicanDate class TestDates(unittest.TestCase): def test_str(self): rd = RepublicanDate(1, 1, 1) self.assertEqual("1 Vendémiaire, an I", str(rd))
[ "b@ptistefontaine.fr" ]
b@ptistefontaine.fr
a9f2bfe4189be9732b9d1c4db1fff1baab5cbbd9
94b8f8f7241545e614dc51f708c3b5b876f6db0c
/test.py
ce1d52ce890c992dc59565079f5e3c9ef7ba3cca
[ "MIT" ]
permissive
aliyun/The-Blessings-of-Unlabeled-Background-in-Untrimmed-Videos
b369155d11560508a43892da1e84f46cc7ae0852
aca214c56fc05778a1f9f382c2f634cbeca4d852
refs/heads/master
2023-06-23T20:32:16.577804
2021-07-27T06:40:45
2021-07-27T06:40:45
370,694,896
30
3
null
null
null
null
UTF-8
Python
false
false
7,256
py
import torch import torch.nn as nn import numpy as np import utils import os import os.path as osp import json from eval.eval_detection import ANETdetection from tqdm import tqdm import sys def test(net, config, logger, test_loader, test_info, step, model_file=None): with torch.no_grad(): net.eval() ...
[ "alen.ly@alibaba-inc.com" ]
alen.ly@alibaba-inc.com
ba04885de6ca2c1a171de58f0649c0d7f07f2428
a3e48885987e895d0d33b5dd903d51aaf4d21ce6
/duplicate_strings.py
b6413d4a9b2d69466c9d364f828210a31a44ee9a
[]
no_license
das-amrit/helper_scripts
2e17c0c585356dd6cf9bd84b5082f6a20dd815f7
fdca380e55bfaee5cf5fb3365421931513501db7
refs/heads/master
2021-03-24T04:23:54.449186
2019-02-17T06:44:45
2019-02-17T06:44:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
import itertools text = "aforapple" text_list = list(text) new_text = [k for k,g in itertools.groupby(text_list)] print("".join(new_text)
[ "noreply@github.com" ]
noreply@github.com
0249930c34da9815a0b78f5701b102bed3daa0b0
57a9d84e8bcf505795e7e4f2a57f096edebd0040
/read_statistics/migrations/0002_readdetail.py
c76c1ec0c7df8243dc8104d4804adc7e95280b51
[]
no_license
klllllsssss/mysite
03541240c3d8013da40e3fdcaefbf9cfffabdfe3
14fbce7d1cb5097f16d2002da5a7a709cc7953f6
refs/heads/master
2022-09-18T13:30:47.399220
2020-06-03T11:04:23
2020-06-03T11:04:23
269,059,986
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
# Generated by Django 2.0 on 2020-04-27 11:53 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('read_statistics', '0001_initial'), ...
[ "549284627@qq.com" ]
549284627@qq.com
86595f3567adfa865a0e8806fba2bb2cd8d64109
ade758c24cd547689012a61b55ccf77e33a2bbf2
/93/93.py
0ab93003b896e27ece999a42c10a5d8a9c0eaef6
[]
no_license
danmedani/euler
7f7dda0ee295a77eb6faca0a4aa15015850aed72
eeef3a4d9c188f954842f7c3adc37d58588c4781
refs/heads/master
2023-08-17T03:26:36.864451
2023-08-08T02:35:46
2023-08-08T02:35:46
14,157,392
0
0
null
null
null
null
UTF-8
Python
false
false
3,362
py
import math import copy SENT = -999999 def doOp(num1, num2, op): if op == '*': return num1 * num2 elif op == '+': return num1 + num2 elif op == '-': return num1 - num2 elif op == '/': if num2 == 0: return 1.9874352345 else: return 1.0 * num1 / num2 else: print 'oh crap!' ...
[ "danmedani@gmail.com" ]
danmedani@gmail.com
2b21f9bf32ec2ff92c015f407d8cc4df35ebc205
693431e2be60ac6f9d59996589c7023408537603
/talk/metrics_publisher/publisher.py
0855e20eee392393c3d46d0806aa5e8dfda83fa9
[]
no_license
rapyuta-robotics/io_tutorials
deb547590a4519f19923dc9593399cae2e2d6683
88cf45629e4c02dff385048ece4b2b344a6100a3
refs/heads/master
2023-05-27T15:46:33.673684
2023-02-22T08:52:32
2023-02-22T08:52:32
118,696,902
7
24
null
2023-05-23T03:37:59
2018-01-24T02:00:39
CMake
UTF-8
Python
false
false
1,629
py
#!/usr/bin/env python import random import rospy from std_msgs.msg import String from ros_monitoring_msgs.msg import MetricList, MetricData, MetricDimension def get_metric_list(cycle, count): robot_dimensions = [ MetricDimension(name='cycle', value='cycle' + str(cycle)), MetricDimension(name='r...
[ "noreply@github.com" ]
noreply@github.com
d9504d622907d7e7e0e6a6772e0fc6a072b448be
276e6b57d182875c3c9276360dcfbd26ba542492
/main.py
6cb0596d6d39368e67e622a9d677e1de169562b2
[ "MIT" ]
permissive
Charlie-kun/Loan
c9bf7ebff209dca6059bfe6141ad67420678b5be
930835221d9eb28ba7f6a3d6e1b1b72ab280683c
refs/heads/master
2022-12-09T07:24:40.351771
2020-09-21T21:55:06
2020-09-21T21:55:06
285,209,738
0
0
null
null
null
null
UTF-8
Python
false
false
7,155
py
import os import sys import logging import argparse import json import settings import utils import data_manager if __name__ == '__main__': # add parameters parser = argparse.ArgumentParser() parser.add_argument('--stock_code', nargs='+') # add stock_code parser.add_argument('--ver', choices=['v1', ...
[ "chlh@daum.net" ]
chlh@daum.net
1b20703b930ae2d775880d83cd617d40c9cdfa18
ea867a1db2b730964b471e5f198ac74988417fa5
/steemtools/helpers.py
5c4e3a5d73bff0aa5310093de2799d44d516835b
[ "MIT" ]
permissive
Denis007138/steemtools
0b58fa4bb2608c0134752b0855a36464cff9073a
c7f7ad9f482ff1b56e1218ceffbf574c95cf0c1f
refs/heads/master
2021-01-11T01:34:36.721177
2016-10-10T13:58:44
2016-10-10T13:58:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
import datetime import re import time import dateutil from dateutil import parser from funcy import contextmanager, decorator from werkzeug.contrib.cache import SimpleCache @contextmanager def timeit(): t1 = time.time() yield print("Time Elapsed: %.2f" % (time.time() - t1)) @decorator def simple_cache...
[ "_@furion.me" ]
_@furion.me
a602ed4d95af34413839a7d25ad1df255e16af0c
e67ae29c22eca0e23a63f871c008c0de3b0cf1df
/Civ4 Reimagined/PublicMaps/not_too_Big_or_Small.py
fddb4814cf8770bde44e7db1b6693f74db53c0c5
[ "CC-BY-3.0" ]
permissive
NilsBatram/Civ4-Reimagined
16f9e24174118ee7662723230f101fb563d31b4b
a9bc57908321dd12db3417b89bd569de7b99dea1
refs/heads/master
2020-12-08T11:30:46.160054
2020-06-18T20:32:55
2020-06-18T20:32:55
66,165,954
0
0
null
null
null
null
UTF-8
Python
false
false
6,732
py
## "not too Big or Small". A modified version of "big and small" to scale better with larger maps. ## by Karadoc. version 1.4 from CvPythonExtensions import * import CvUtil import CvMapGeneratorUtil from CvMapGeneratorUtil import FractalWorld from CvMapGeneratorUtil import TerrainGenerator from CvMapGenerato...
[ "Nils.Batram@gmx.de" ]
Nils.Batram@gmx.de
ffc5de43ef8bdec5bcaa803f057de2f9ed1be0f1
85be26cd8c2ee8afb3d7ce2495f320e81cb7582f
/pylearn2/minimun_sample/minimum_test.py
920a1de30bcb8c568241463c2154706aff0468da
[]
no_license
basharbme/deeplearning4windows
368f9faf5902d943bad053de62dcc6860d20ae79
20fea62a2f17ba142e68a349d1cffa582eb6312a
refs/heads/master
2020-05-24T05:31:28.835187
2016-02-03T10:13:04
2016-02-03T10:13:04
187,117,816
1
0
null
2019-05-17T00:09:27
2019-05-17T00:09:26
null
UTF-8
Python
false
false
1,482
py
# coding: UTF-8 import os,codecs,platform from pylearn2.config import yaml_parse from pylearn2.scripts.train import train import numpy as np from pylearn2.utils import serial os.environ["PYLEARN2_DATA_PATH"] = os.path.dirname(os.getcwd()) if platform.system() == "Windows": os.environ['THEANO_FLAGS'] = "floatX=fl...
[ "jgpuauno@gmail.com" ]
jgpuauno@gmail.com
b8d49ed51407d17cd6270de28b88938cd694fa87
49f875de9e18812b25ead4cd15a562e9f1347256
/selection_sort.py
357b07b8ad678f0c637fe113b98915da400095ef
[]
no_license
brandontarney/ds_algo_review
020499e7e81435b2475fd50acc717f3093fc0f7f
cabd42f01bd8f027db0d0e3de870263adbf9327a
refs/heads/master
2020-06-23T16:30:50.564707
2019-09-09T01:02:17
2019-09-09T01:02:17
198,680,204
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
#!/bin/python #NOTE - this is pseudocode, not real python code #Algorithm #Create sorted sublist (usually in the front of the list) #Find the next smallest value and swap it into front position of a sorted sublist #NOTE this is effectively iterating (inner loop) over the unsorted list vs. selection sort iterating...
[ "brandon.tarney@gmail.com" ]
brandon.tarney@gmail.com
88f5d9a2605d4624cc87af7e584ecdf570ac00dc
6eb302bf3456b5fe700a4e3281ca7bb4597477bf
/student_chatbot/app.py
646b9b82f4b4c27cc03f005615fed2b793fd3fae
[]
no_license
lekhya19311/Student-Informative-Chat-Bot-System
f39a99d219bef3e534077c2cf2abcd7dd8d4eec1
7cd420bb5a21383bddf0f5bea01335d3e8bcbf9e
refs/heads/master
2021-01-26T13:58:08.538530
2020-02-22T09:28:17
2020-02-22T09:28:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,486
py
import os from flask import send_file from flask import Flask, session, render_template, request, redirect, url_for, flash, jsonify from flask_bcrypt import Bcrypt from flask_session import Session from database import Base, Attendance, Marks,Accounts, Profile, Feedback from sqlalchemy import create_engine, exc from sq...
[ "satheeshgajula22@gmail.com" ]
satheeshgajula22@gmail.com
9994c856f9f6988cd9021ad10b5aef5d6047c41c
09e0940849ba15a2179b4418057aac28aac81bac
/app/doyin.py
97041f90e5e2688edc51ac2ae0f95cabb6dc9784
[ "MIT" ]
permissive
tqdonkey/app-bot
75886957114840877adf473e99cf05dcf424f2f5
df01784b3f2875facfe1e79d4614a906dc8e7a7b
refs/heads/master
2022-02-28T22:46:52.418077
2019-08-20T12:28:59
2019-08-20T12:28:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,215
py
# -*- coding: utf-8 -*- ''' create by: 小宝 mail: 1435682155@qq.com create date: 2019.8.11 Purpose: hehe Desc:just do it~ ''' import sys import time import os import shutil sys.path.append('./app') from common.app import app from common import config from common import screenshot from common import comm...
[ "root@lbp.localdomain" ]
root@lbp.localdomain
fa26cbfd0a0af998227fd24745c6f1b50a85ae34
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03046/s367901013.py
bd60026b909a76c85e533b517ac364ab9dac011a
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
from sys import stdout printn = lambda x: stdout.write(str(x)) inn = lambda : int(input()) inl = lambda: list(map(int, input().split())) inm = lambda: map(int, input().split()) ins = lambda : input().strip() DBG = True # and False BIG = 999999999 R = 10**9 + 7 def ddprint(x): if DBG: print(x) m,k = inm...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e924e94bc28ebc9f1f2c03016db85c413511282e
965ec7b89c996c51579561e944be93f054f94301
/test1.py
dc6a774ac0e491436d86533342ea435beb02201e
[ "MIT" ]
permissive
nayunhwan/SMaSH_Python
e26b20def4d6ca3ed042087a218150db6bac9d9a
6e80520f43f6e014be2abc40d6f51f76338e3ff8
refs/heads/master
2018-12-27T11:51:39.860739
2018-10-24T06:55:32
2018-10-24T06:55:32
34,496,868
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
#-*- coding: utf-8 -*- # 예제 ex_A.py unit_price = input("사과 1개의 가격은 얼마입니까? ") apple_count = input("사과의 개수는 모두 몇 개 입니까? ") price = apple_count * unit_price print "전체 사과의 가격은 ", price, "원 입니다."
[ "kbk9288@gmail.com" ]
kbk9288@gmail.com
b1c5a6fe4a11aa713099d0337893a6259fa2e086
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02973/s301790930.py
280647a2fd8669a6345ecf3a1ac6c75ef906c3dc
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from sys import stdin from bisect import bisect N = int(stdin.readline().rstrip()) A = [] for i in range(N): A.append(int(input())) dp = [] for a in A[::-1]: i = bisect(dp, a) if i < len(dp): dp[i] = a else: dp.append(a) print(len(dp))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
be1ca56a4c8e33d679fe761dc4faa412b354bfa3
61e68e3a4d6cc841da4350dc193315822ca4e354
/lecture/4_정렬/4_퀵정렬.py
45420f20a5eaaae9aafb31ff3bea12843c0068c4
[]
no_license
sswwd95/Algorithm
34360cd333019d6ded60f967c19aa70f1655e12a
a70bdf02580a39b9a5c282a04b0b2f8c2cb41636
refs/heads/master
2023-04-16T21:05:07.293929
2021-05-08T10:58:05
2021-05-08T10:58:05
362,651,885
0
0
null
null
null
null
UTF-8
Python
false
false
1,091
py
array = [5, 7, 9, 0, 3, 1, 6, 2, 4, 8] def quick_sort(array, start, end): if start >= end: # 원소가 1개인 경우 종료 return pivot = start # 피벗은 첫 번째 원소 left = start + 1 right = end while(left <= right): # 피벗보다 큰 데이터를 찾을 때까지 반복 while(left <= end and array[left] <= array[pivot]): ...
[ "sswwd95@gmail.com" ]
sswwd95@gmail.com
a2de64aec718958e8d3b7c4e7137f9309a3fd152
b79042eb362a9ba284f0c518854a3b7e6ee39284
/learning_users/basic_app/forms.py
7015436716565e7010f8c6798e71463f0e946b09
[]
no_license
Austin911/django-deployment-example
2dc2e7d8b777928b7fd6d631978581fff54aa9d6
eded8b839224b7202902f61a35f058693242ac55
refs/heads/master
2020-03-11T16:24:32.888430
2018-04-19T01:08:00
2018-04-19T01:08:00
130,115,703
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from django import forms from django.contrib.auth.models import User from basic_app.models import UserProfileInfo class UserForm(forms.ModelForm): password = forms.CharField(widget= forms.PasswordInput()) class Meta(): model= User fields = ('username','email','password') class UserProfileInfo...
[ "austin88yang@gmail.com" ]
austin88yang@gmail.com
e3082e2c45c280050b7ffcd31885765d334863b4
9424df118a26170f023a665bdf8b0dc462f91721
/project_utils.py
a22dd72aa5ba5acfa30a6a98965efbe8875a6bfb
[]
no_license
marcelthebridge/602_ml_Project1
65729b4faf8746554815f8e63089a1db33fec603
8f4afa9a6b36920e6869673df96d9c219014c2d0
refs/heads/main
2022-12-28T15:50:38.187531
2020-10-13T20:37:25
2020-10-13T20:37:25
302,507,432
0
0
null
null
null
null
UTF-8
Python
false
false
1,973
py
# Functions for use with Project_1 notebooks # Imports: from matplotlib.colors import ListedColormap import numpy as np import matplotlib.pyplot as plt import seaborn as sns def data_plot(hue, data): for i, col in enumerate(data.columns): plt.figure(i) sns.set(rc={'figure.figsize':(20, 5)}) ...
[ "noreply@github.com" ]
noreply@github.com
c465145274aa05d388e08fcefbcf65c084507859
8b9587f5548733ebf8c51af489abfae815355fd0
/templateCode/kakao_R/kakao/chatroom_analysis.py
032302f2db92fdc28d57fd2e172e486c310b3189
[]
no_license
jyp0802/Butherfly
d81b525a01781dc7633eca68d577b0dd9cb1f57d
d80a1eea4103e0f2e4f1aaf91f7f425936003081
refs/heads/master
2021-08-20T07:50:55.580648
2017-11-28T15:44:49
2017-11-28T15:44:49
112,354,531
0
0
null
null
null
null
UTF-8
Python
false
false
18,109
py
#-*- coding: utf-8 -*- # Revision: 6 (June 3th, 2017 3:10) # Author: Claude Jin, Sanggyu Nam, Seunghyun Han (DiscoveryChannel) # Logs # Revision 1: user anonymization, dateline, firstline, message types(emoticon, photo, video, link) # Revision 2: chatroomname, # of current participants, invitationline, multiple lines...
[ "jyp0802@hotmail.com" ]
jyp0802@hotmail.com
dd203b86fd8abbb163bbe54b4e921223fe92e53f
1ed65a23ea5d9a135096bc55ea9df9b96625d909
/core/migrations/0030_userprofile_is_active.py
905bbf27e4e80966ed1aa6b9747b3c4b8caca345
[]
no_license
nfishel48/simntx
367b8323e6b4f433912eb687888a456e0959c228
0dc7f6c41adff1c21a52aca6e2712e7fcb3e9a48
refs/heads/master
2022-12-31T02:22:28.344922
2020-10-16T02:21:23
2020-10-16T02:21:23
271,566,126
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# Generated by Django 2.2 on 2020-06-25 03:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0029_auto_20200624_2234'), ] operations = [ migrations.AddField( model_name='userprofile', name='is_active', ...
[ "nfishel@emich.edu" ]
nfishel@emich.edu
b1c1eca6d9cd2f7761661a9abe7a38a71c3ffc06
baec3aca9482e90605ac4e4ecee52b3d6eb44f1f
/21/d21.py
3cc7219aec0f5c0137007760f688852551e5a018
[]
no_license
grvn/aoc2017
9390d89dbcda7a10352ad65dae71eeec51c930ea
48d380d8ff7000d38fdba9fb93bcfa99c1f0c447
refs/heads/master
2021-10-08T06:06:35.298716
2018-12-08T18:52:36
2018-12-08T18:52:36
112,791,442
0
0
null
null
null
null
UTF-8
Python
false
false
1,623
py
#!/usr/bin/env python3 from sys import argv filename=argv[1] iterations=int(argv[2]) rules={} start=((".", "#", "."), (".", ".", "#"), ("#", "#", "#")) def rotate(sqgr): return tuple(tuple(x) for x in zip(*sqgr[::-1])) with open(filename) as f: input = f.readlines() input = [line.strip() for line in in...
[ "rickard" ]
rickard
327203d439300f410de4e56199b07bcb7a5b1cb1
3ca67d69abd4e74b7145b340cdda65532f90053b
/programmers/난이도별/level01.제일_작은_수_제거하기/Jaewon0702.py
9574b875696e370e939054a0279eb98293b8defd
[]
no_license
DKU-STUDY/Algorithm
19549516984b52a1c5cd73e1ed1e58f774d6d30e
6f78efdbefd8eedab24e43d74c7dae7f95c2893b
refs/heads/master
2023-02-18T06:48:39.309641
2023-02-09T07:16:14
2023-02-09T07:16:14
258,455,710
175
49
null
2023-02-09T07:16:16
2020-04-24T08:42:27
Python
UTF-8
Python
false
false
156
py
def solution(arr): arr.remove(min(arr)) return arr if len(arr) else [-1] print(solution([4, 3, 2, 1]) == [4, 3, 2]) print(solution([10]) == [-1])
[ "45033215+sangmandu@users.noreply.github.com" ]
45033215+sangmandu@users.noreply.github.com
b4ebea591ef98eba50becc2628f71215e816a37f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_84/306.py
0561a547b612e83a36f4cf677430a4ecdf3d37f6
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
import sys, math from multiprocessing import Pool def main(data): R,C,s = data for i in range(R): for j in range(C): try: if s[i][j] == "#": if s[i][j+1] == "#" and s[i+1][j] == "#" and s[i+1][j+1] == "#": s[i][j] = "/...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
1577628297a846c2742329c8bab3cffaef031e77
b298e8a971bf51036c61d1a2c4d5d61421fc47c5
/projects/migrations/0003_project_image.py
050ce465f6f7210e6eaed3e7571b1d25dc47b5ea
[]
no_license
jrusso0818/my-personal-site
5fe6dc1111669d5c8429703a304f7c08f6358327
dc2a179e6affb38303445d7a0c72e48c32ba6a8a
refs/heads/master
2023-03-07T22:03:58.395368
2021-02-06T06:53:32
2021-02-06T06:53:32
322,690,526
1
0
null
null
null
null
UTF-8
Python
false
false
437
py
# Generated by Django 2.2.17 on 2020-12-18 21:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0002_remove_project_image'), ] operations = [ migrations.AddField( model_name='project', name='image', ...
[ "jrusso0818@gmail.com" ]
jrusso0818@gmail.com
7ea07cb2116811e27e177f7323f15767d451495b
0045204c130599381ee69c771478ac1609dfe67e
/HW_1/problem_3.py
f841cdde32c6b0fa7f53ae9d6f96339525b533b4
[]
no_license
muzhts-anton/Differential-geometry
1dea9003a3450cbe89e5beb220804cff67a5a230
56da14cf1b71cd4fca2a9fa46de2ef2dedd39ac1
refs/heads/main
2023-06-05T21:53:58.032013
2021-06-25T08:34:02
2021-06-25T08:34:02
360,800,931
0
0
null
null
null
null
UTF-8
Python
false
false
2,826
py
# problem 3 diffGem HW1 from sympy import symbols, diff, sin, cos, sqrt, simplify, Matrix X_1, X_2, X_3 = symbols('X_1 X_2 X_3', positive=True) A = Matrix([[1, 0, 0], [0, sqrt(3)/2, -1/2], [0, 1/2, sqrt(3)/2]]) X = [X_1, X_2, X_3] x_sphere = [X_1 * sin(X_2) * cos(X_3...
[ "muzhts.anton@gmail.com" ]
muzhts.anton@gmail.com
c4315cc3d79adaa753717029196b2f1e64a56817
6bad224bb4c81facc0ed44d2330922d1826e23fb
/spamfilter.py
97357ab1a60999ea37c2aaa6a1babdd0a9a6e511
[]
no_license
zaid98/nlp
af7c83a692ec6e8cba1936a0288efa38d3a5ce26
4fbbcf9e35c9b882685abc1557a5e1c8cf78d565
refs/heads/master
2020-06-15T03:25:38.232934
2019-07-04T07:36:25
2019-07-04T07:36:25
195,192,157
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
import nltk from nltk.corpus import stopwords import string import pandas as pd from sklearn.model_selection import train_test_split from sklearn.pipeline import Pipeline from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfTransformer from sklearn.naive_bayes im...
[ "noreply@github.com" ]
noreply@github.com
63c03bea228aaf2bf3633ee0bc769131005dcc58
36a1a414847c29f406416db5c3e54916c647c8c1
/LinkedList/mergeSortedll.py
b91d2e709627080389085640261b76232b8eb207
[]
no_license
advaitp/Data-Structures-and-Algorithms
07c2dd18bb9892dfd4e3ea1e6ab60c6a50bebdf5
83567a1dbd92677eb60711865ab08a7b996f3128
refs/heads/main
2023-05-15T09:42:16.254654
2021-05-28T10:47:43
2021-05-28T10:47:43
371,667,378
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
class Node: def __init__(self, data): self.data = data self.next = None def merge(head1,head2): fh=None ft=None if head1.data<=head2.data : fh=head1 ft=head1 head1=head1.next else: fh=head2 ft=head2 head2=head2.next while ...
[ "advaitpatole@gmail.com" ]
advaitpatole@gmail.com
cbf9caf78e847840f44e9cd9c6f7768baa91eee8
de6f8466270d80d72fd696ebb8894d8ef02bca1e
/planner/search.py
ba2538bf9c59f687281c18739fd136a78549eba5
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
cocoflan/roundtrip
eac96231d1cc484e07317ef3068a661ee4dd474a
f2a740f7e6bb13acab979c6a7c09244c76466197
refs/heads/master
2022-04-30T13:59:21.736591
2021-07-01T21:13:26
2021-07-01T21:13:26
147,789,413
0
0
null
2022-04-22T20:57:11
2018-09-07T07:45:44
JavaScript
UTF-8
Python
false
false
5,576
py
import time import moment from splinter import Browser from planner.models import Flight, FlightPrice, NoFlights from planner.models import AirBNB from urllib.parse import quote_plus from math import ceil import json class Searcher: _browser = None def browser(self): if self._browser is None: ...
[ "nanne@mycel.nl" ]
nanne@mycel.nl
d61b6b6aa07912fb0f5b6d10f2b0e4d67c896405
d79f3e7df0fb9dcf23a9ae1adf3c285dd08a360f
/list.py
c25a37e7d50ab435e4c4d9ee894dae68382d6c4a
[]
no_license
ramkodgreat/python1
4930afb1bb7f63798bd4237e753aecf5b2ba072b
64ee9f210aab3b177fc41d351499106876a1d3fc
refs/heads/master
2020-11-25T18:15:04.315157
2019-12-18T07:51:42
2019-12-18T07:51:42
228,789,259
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
# List can contain strings integer or float points # Python index begins from zero a =["string","int",1,2] #indexing a list a[2] print(a[2]) # Returns all the values of a b = a[:] print(b) #Overwriting values in a string a[1] = "glo" print(a) print(b) # Skipping one item from a list a =[1,2,3,4,5,6,7,8,9,10] # S...
[ "ramkodgreat@gmail.com" ]
ramkodgreat@gmail.com
bd9a420a7684d527bcd274c32086f85330ec970b
2704ad14c83050ac28f403371daa8e3148440e00
/chiadoge/wallet/did_wallet/did_info.py
2294be358c05f883b729c58c3c37a27b0b590ce5
[ "Apache-2.0" ]
permissive
Bgihe/chiadoge-blockchain
d5e01a53c8e15fa17c47b44d9c95e6511aa98b7f
befb179c65ffe42aebbc47c211f78e193a095d2b
refs/heads/main
2023-06-01T05:31:51.503755
2021-07-05T20:47:32
2021-07-05T20:47:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
from dataclasses import dataclass from typing import List, Optional, Tuple from chiadoge.types.blockchain_format.sized_bytes import bytes32 from chiadoge.util.ints import uint64 from chiadoge.util.streamable import streamable, Streamable from chiadoge.wallet.cc_wallet.ccparent import CCParent from chiadoge.types.block...
[ "83430349+lionethan@users.noreply.github.com" ]
83430349+lionethan@users.noreply.github.com
093c9c5f1b37d499d6bb6486317cbdcbb89a838e
17b63416cf2f66246e1cf655ccfa2eb9a108da3c
/abupy/AlphaBu/ABuPickStockExecute.py
f344c2ed857ae0f8c94dc194d151f49cddb60f57
[]
no_license
cmy00cmy/qtLearning
58aec5cf9fccf9d8f14adf1793306b8b8b5ecb7f
2b5fee7b9bbd832b20ba4e1b508be16b606249e0
refs/heads/master
2020-03-20T01:42:19.882639
2018-06-12T14:52:00
2018-06-12T14:52:00
137,085,926
0
2
null
null
null
null
UTF-8
Python
false
false
1,835
py
# -*- encoding:utf-8 -*- """ 包装选股worker进行,完善前后工作 """ from __future__ import absolute_import from __future__ import print_function from __future__ import division from .ABuPickStockWorker import AbuPickStockWorker from ..CoreBu.ABuEnvProcess import add_process_env_sig from ..MarketBu.ABuMarket import sp...
[ "chenmyuan@163.com" ]
chenmyuan@163.com
c08a05fcca3a38d83fa5e5c0f599e925d0a2c97b
56a4d0d73c349aeaca7580ca248caf0cf893a8c5
/w2/using_find.py
af6a320679d645b836416da8a37d141b0a0c269d
[]
no_license
alejo8591/m101
79e62e0110bcc3e6ca82ac02ae3cdcbe13d51c67
d93d34a161ecede77defb9a6a3db389d4a9b0de8
refs/heads/master
2020-05-18T21:42:46.651036
2012-12-17T23:36:49
2012-12-17T23:36:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
#!/usr/bin/env python import pymongo import sys connect = pymongo.Connection("mongodb://127.0.0.1", safe=True) db = connect.school scores = db.scores def find(): print "Find, reporting for duty" query = {'type':'exam'} try: iter = scores.find(query) except: print "Unexpected error:",s...
[ "alejo8591@gmail.com" ]
alejo8591@gmail.com
42d1a243ee0f6e26eac7dbafad461f06f46e2a6c
ef51e831de7776d273b5384a5ad5b110782ed6f2
/python script/Linux/update.py
d0917c560b2e2963023a5eb020b1940fd8ffac25
[]
no_license
sudkumar/Summer-Project-2014
c6f08d025a17cdb4ed5a9a383e03590368bcb36a
27f805c5171afc44d61a6b2f877f4428967b5519
refs/heads/master
2021-01-10T20:39:29.224258
2014-08-02T08:46:19
2014-08-02T08:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
import serial import MySQLdb conn = MySQLdb.connect(host="localhost", user="root", passwd="name", db="attendance") myc = conn.cursor() # for linux src = serial.Serial('/dev/ttyACM0', 9600) # we can find the path by # but remove the arduino first # ls /dev/tty* # now plugIn arduino and run the command again # if th...
[ "luckysud4@gmail.com" ]
luckysud4@gmail.com
baf02d6d1f7af369aaccc549e18727ba85123b46
9737aa767b5cb2baa4e1ac6af64e3acb614e9265
/smyt/smyt/urls.py
c5bff7d884d2a379fd6c17cdb564a90188291241
[]
no_license
leotrubach/smyt
1b11072a89067370f69c55465b84c5a7099d576f
8398a60ebf5d6a2b490301276c7d6866def1d9a5
refs/heads/master
2016-09-05T16:45:10.698129
2012-06-19T23:13:56
2012-06-19T23:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() from dynmodels.views import HomeView, list_models, model_data urlpatterns = patterns('', # Examples: # url(r'^$', 'smyt.views.home', name='home'), ...
[ "leotrubach@gmail.com" ]
leotrubach@gmail.com
41da3a83b961f3970b11aac3c48a97022b4627c8
5f9c05b3bee55b0a311e7b0fba452ac13f60eefd
/py/coordinator.py
ae7cc1a7eebf83d2cbecbc980476ba3ad0f82a11
[]
no_license
Ard1tti/serialdet
d0fb84704239e207009368b0341b6ab974fa7a29
bc04065f1607ced571c141d59ff35084d144cb27
refs/heads/master
2021-01-10T23:13:02.670703
2016-10-12T09:03:45
2016-10-12T09:03:45
70,608,298
0
0
null
null
null
null
UTF-8
Python
false
false
17,370
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "blueconet@gmail.com" ]
blueconet@gmail.com
8727efc17619467964719851112b2714b7a40e24
3bdad3e626daaf079d316a8ce56b79af095327d4
/api/migrations/0002_maincycle_user.py
575c15fda6f25e37b1e083211a8d6d71084f8e60
[]
no_license
kirussshin/djangoClicker
3ab2ba798c993d6a42bbb352ca2951b5f094bf82
1922abd13289529f0f314cd744d137e84228aaae
refs/heads/master
2023-06-01T19:34:37.280301
2021-06-13T18:54:00
2021-06-13T18:54:00
376,618,804
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
# Generated by Django 3.2.4 on 2021-06-13 17:02 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('api', '0001_initial'), ...
[ "egorka-knopka@mail.ru" ]
egorka-knopka@mail.ru
49245674d0105a3e9f82730ebdb250b147a85355
eb685438961de82301a31e0798630ae1844a82f8
/migrations/versions/4571ea43dd63_.py
74d7288c4070368728d1028206f97dc6bcdd35f6
[]
no_license
Peter-White/base_64_test_python
2fcd28f517f74b7dac6a68622ce1fd8d6d81373e
302e5aa13260d4fe13b057fec93c3942320fc7ce
refs/heads/master
2020-07-16T02:43:19.593580
2019-09-09T14:36:39
2019-09-09T14:36:39
205,700,865
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
"""empty message Revision ID: 4571ea43dd63 Revises: Create Date: 2019-08-26 15:47:45.221174 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '4571ea43dd63' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "pwhitedeveloper@gmail.com" ]
pwhitedeveloper@gmail.com
b7c734fbbfa3614e2f49ef72774e5dfc16bc2550
6c12904dde5ee546cb965c6c0af6901c7f89bea7
/volume.py
97951333780cd6388510ea93a05350fd9178a8f1
[]
no_license
ad52825196/simple-file-system
59eff6e1e628a5b49460b18bc339625b776bb89d
58256b29ef6ebef6a154c831c619a340644d6b57
refs/heads/master
2020-04-06T03:35:16.877249
2017-04-25T00:11:05
2017-04-25T00:11:05
68,357,972
0
0
null
null
null
null
UTF-8
Python
false
false
10,261
py
import drive import directoryentry class Volume: BITMAP_FREE_BLOCK = '-' BITMAP_USED_BLOCK = '+' def __init__(self, name): self.name = name self.drive = drive.Drive(name) def format(self): self.drive.format() block = drive.Drive.EMPTY_BLK block = Volume.modify_...
[ "me@zhen-chen.com" ]
me@zhen-chen.com
db929563c62dbc7ae58ceeddfa21da2f076be5a0
15e0a3148c311ded5bfc24712edbdc2c712fde17
/DigitsCombination.py
e12e42abde92fd9fb7bfbc5971266ef6af9f19ca
[]
no_license
BrindaSahoo2020/Python-Programs
f70c9887f07c9c32c249d569c5a53c65c8aff03e
70e0af223f2cf36b7b01c0f2e7c599efb2f6473c
refs/heads/master
2022-12-30T07:00:44.320035
2020-10-18T03:59:18
2020-10-18T03:59:18
256,928,406
0
1
null
2020-10-11T12:57:50
2020-04-19T06:15:07
Python
UTF-8
Python
false
false
540
py
#Python program to accept three digits and print all possible combinations from the digits #Sample Input ''' Enter first number:4 Enter second number:5 Enter third number:6 ''' #Sample Output ''' 4 5 6 4 6 5 5 4 6 5 6 4 6 4 5 6 5 4 ''' a = int(input("Enter first number:")) b = int(input("Enter second number:")) c = i...
[ "brindasahoo.it@gmail.com" ]
brindasahoo.it@gmail.com
db21ad96464e1a48621b1e1b2bac81478f8c4e9c
34089a1005c9cc36c24a2b385a876b9500b0d2dd
/oscillate.py
8d1368fb295c2f6253f62b4ad07c4e5a5daf0afc
[]
no_license
ericnegron/pythonScripts
d955802e9dc5aa6124507b95812acfdc433cfc98
9d877724f4063f472433456755eecc415101f0ec
refs/heads/master
2021-01-17T15:03:48.634505
2014-03-10T23:22:27
2014-03-10T23:22:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,946
py
import maya.cmds as mc import math # This script allows the user to create a polygon primitive and then specify how the object will oscillate. # Creates the custom window class called EN_BaseUIWindow. class EN_BaseUIWindow(object): @classmethod def showUI(cls): win=cls() win.create() ...
[ "esnegron@icloud.com" ]
esnegron@icloud.com
dad02ea4f0608d5be5fe199a38b3181d93ce7718
dc91e5c22ed3b9128c649392c3dfb04ec74a3976
/Meter-Distributed/Meter_cfba.py
27f4d7a28382ad20b632b72672dbbb06fc4e1af1
[]
no_license
Agrawalayushi/Closeness-Factor-Based-Algorithm-for-Incremental-Clustering-of-Images-
5744ac2774f0e0d54ba2ffbf6998bdcc80554f79
544bda25d861a8ee656afd60e26bfbbde07016fd
refs/heads/main
2023-04-13T12:38:53.455953
2021-04-27T17:04:03
2021-04-27T17:04:03
361,854,229
0
0
null
null
null
null
UTF-8
Python
false
false
7,509
py
import pandas as pd import math as mp import time from sklearn.preprocessing import MinMaxScaler from sklearn.model_selection import train_test_split import matplotlib.pyplot as plt def visualize(df_basic,df_incremental,df_merge): ax = df_basic.groupby(['CNumber'])['CNumber'].count().plot.bar(title = "Basic...") ...
[ "noreply@github.com" ]
noreply@github.com
8a58387defcb67cfd652d2f25881520516b9f458
f741f7f070d150cffbb63f13666fec5dceb4c7c4
/3.massives/5.py
2c448a2722cdcbb8ded28131ad1b8cfff5321d19
[]
no_license
mahhets/algorithms-and-data-structures
7e2359c15a1cfd46200f9f2008a3a4050e2a5f40
d1d198020e9d1f7f5085188678828520e4da36c8
refs/heads/main
2023-05-29T02:38:05.716730
2021-06-10T20:26:34
2021-06-10T20:26:34
367,147,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
# Ассоциативный массив, словарь (ключ - значение других столбцов, как в SQL) """ Пользователь вводит кол-во предприятий, названия, плановую и фактическую прибыль каждого предприятия Вычислить процент выполнения плана и вывести данные с предварительной фильтрацией """ k = int(input('Введите кол-во предприятий: ')) ent...
[ "the_mahh@mail.ru" ]
the_mahh@mail.ru
42e64f9eabca1da6ef4c05025e9e1c63b6a4cea6
1b037639fad280142ee84d10412c4bc1d729148c
/act_complementaryMedicine/db_method/insert.py
fb71ce5dc7599f5a985194c1f37fbb51b23a7644
[]
no_license
Tohsaka-Rin/act-cm
fb36f5a16638f52646c2834a0d73c1fb1fab1f1d
c99dae527510fc0352fac29df36bd3090d361b89
refs/heads/master
2021-01-23T01:55:42.703190
2017-03-22T04:27:28
2017-03-22T04:27:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,500
py
# -*- coding:UTF-8 -*- from act_db.models import DoctorInfo,GroupInfo,PatientGroup,PatientInfo,RelationInfo,OutPatientServiceInfo,EmergCallInfo,InHospitalInfo,Clinic,ESS,MBQ,SGRO,AttachInfo,AccessoryExamination import time import datetime # 添加新用户 # 参数是一个字典,包含医生的所有信息 # 成功返回True,失败返回False def addDoctorInfo(data): #T...
[ "1021369745@qq.com" ]
1021369745@qq.com
eba364f9af767f3702b519b7192b96c2b9890d8d
cc08f8eb47ef92839ba1cc0d04a7f6be6c06bd45
/Personal/Developent/advance-django-blog-master/venv/bin/coverage
49a1df365828a4beab01a74ad814ac7cc6b66a9d
[ "Apache-2.0" ]
permissive
ProsenjitKumar/PycharmProjects
d90d0e7c2f4adc84e861c12a3fcb9174f15cde17
285692394581441ce7b706afa3b7af9e995f1c55
refs/heads/master
2022-12-13T01:09:55.408985
2019-05-08T02:21:47
2019-05-08T02:21:47
181,052,978
1
1
null
2022-12-08T02:31:17
2019-04-12T17:21:59
null
UTF-8
Python
false
false
281
#!/root/PycharmProjects/Developent/advance-django-blog-master/venv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from coverage.cmdline import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "prosenjitearnkuar@gmail.com" ]
prosenjitearnkuar@gmail.com
1e1ab5399a265c7f7c0489fb511803501de552fd
3f556df088c1f074a8c5d4eaf2b45dcbcd8c91a2
/thrift/lib/py/server/TServer.py
aca37957e65a349cfce8d045348688d4b8870398
[ "Apache-2.0" ]
permissive
rezacute/fbthrift
cc622c408dde9cf273cb1cfef4179678d7673ac6
7ea5e86a95eea80805bf99eb88371dbcb32f96e1
refs/heads/master
2020-04-28T07:54:07.094567
2014-11-19T21:18:53
2014-11-19T21:18:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,000
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "davejwatson@fb.com" ]
davejwatson@fb.com
323e6dbcabc39627ea900df0e1e0063631c79908
9222f00f40ae22ec71a61cd6627b11ec89958c5b
/v0_2017/lib/common.py
386dee3834e99a3849fe778b1623f1ff1c74da46
[]
no_license
ebensh/pinball_cv
635d051b296dcdfb6c7c001709ef30a710f96549
e2e67fd3f7e33f9583a46f2a63130c1cec791315
refs/heads/master
2021-07-15T16:35:07.878569
2018-12-27T05:03:57
2018-12-27T05:03:57
106,141,146
0
0
null
null
null
null
UTF-8
Python
false
false
8,640
py
from collections import namedtuple import cv2 import inspect import json import matplotlib.pyplot as plt import numpy as np def eprint(*args, **kwargs): print(*args, file=sys.stderr, **kwargs) def numpy_print_cols(cols=160): np.core.arrayprint._line_width = cols # http://ipython-books.github.io/featured-01/ def g...
[ "ebensh@gmail.com" ]
ebensh@gmail.com
58015f5e17eecc12024afa29b2a1038ae3cc9c8a
843c06cb6838d3c79efc91003b633866b2b9d839
/Kaggle_SVHN_Final/codes/test_CNN.py
ff27214f48a0be1ada24748d7583c240a5aeb9bf
[]
no_license
semper21/StatisticalML
901fd36b5497ca73e145a67807b0b4bc694bc9ff
e8d1e80430babf924f75397a2986f0487a207c9d
refs/heads/master
2020-06-01T13:44:12.965501
2019-06-07T20:27:26
2019-06-07T20:27:26
190,798,666
0
0
null
null
null
null
UTF-8
Python
false
false
15,279
py
#! /home/vision/anaconda2/bin/python ''' Created on Apr 12, 2017 @author: ywkim - ReLU neurons - stride = 1 - zero padded - max pooling over 2x2 blocks - conv1: 32 filters (5x5) - conv2: 64 filters (5x5) ''' import csv from csv import reader from sys import argv import numpy as np import tensorflow as tf import c...
[ "ywkim@bcm.edu" ]
ywkim@bcm.edu
6a2ed3c32e208f9299ed262c00312288f929adf8
4811d601e11528b1bef7d20429c20447288b608e
/coolscrapy/pipelines.py
02f9ca965030d086564e399bf5a629b69742d689
[]
no_license
dover-xu/coolscrapy
8c97d790e90aceeb47fecaaa15767f5a8b20827a
ace564be07177992629ee58331ea26e079ac4067
refs/heads/master
2020-12-30T14:12:40.981166
2017-05-21T08:14:19
2017-05-21T08:14:19
91,288,288
0
0
null
2017-05-21T08:14:20
2017-05-15T02:43:36
null
UTF-8
Python
false
false
2,395
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import datetime import json import urllib2 import pymongo from scrapy.conf import settings from scrapy import log from scrapy.ex...
[ "v-doxu1@microsoft.com" ]
v-doxu1@microsoft.com
8606cc74a4c66fcb0fdeafb43e19ff547862ccda
590b366fe2bfa8bd009992a5d3d358af4570367b
/test_api_2gis.py
73202c4ac40bd471984ce9b901c0cfebd456aba0
[]
no_license
potemkuh/test_api_2gis
eaece6d5b71a5d9f2599fdb7458f256785cccf4b
64b8143a81254011444c5b0125910cbcd95f95bb
refs/heads/main
2023-07-16T22:04:31.575081
2021-08-28T08:40:50
2021-08-28T08:40:50
400,744,033
0
0
null
null
null
null
UTF-8
Python
false
false
3,000
py
import requests import pytest import data_test def test_total_count(): response = requests.get(data_test.url) response = response.json() assert response['total'] == 22 def test_default_page_size(): response = requests.get(data_test.url) response = response.json() assert len(res...
[ "noreply@github.com" ]
noreply@github.com
f34fe8f4f6f06313a6b776461d3fc8e3572bcfa5
f45a9dcb4660e2af6239ee599198bcb264f666d0
/Lab2/Homework/Youtube/ex1.py
af4a8b1745566a21a5849a7a021da78dc37fef16
[]
no_license
duyvukhanh/vukhanhduy-lab-c4e18
89c6ff648f03c928520a8af7a7ac65f98084cda2
8047479944efa91f1de90a4012a7ba25fd2592e2
refs/heads/master
2020-03-19T16:55:05.303978
2018-06-15T09:04:23
2018-06-15T09:04:23
136,736,193
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
from youtube_dl import YoutubeDL # Sample 1: Download a single youtube video dl = YoutubeDL() dl.download(['https://www.youtube.com/watch?v=WHK5p7JL7g4']) # Sample 2: Download multiple youtube videos # Put list of song urls in download function to download them, one by one dl.download(['https://www.youtube.com/watch...
[ "duy@Duys-MacBook-Air.local" ]
duy@Duys-MacBook-Air.local
edcd8e182d7a8857d017633df27c9b861b594cb8
3d7e122dae6ed0e71fec825960f928051e75b68b
/Jakob_CameraCode/Pathfinding/simPathMap.py
fff0ab4d2cffad2d946793e9137ccf391d9c0dd8
[]
no_license
Hochbotaniker/Fugaintegrum
dd250691b5c6a24ee76d75ac86a31926e0173eda
f0423d51b35881c8ffae36572b2e06b833e07626
refs/heads/master
2023-08-23T20:47:30.373464
2021-10-06T14:29:22
2021-10-06T14:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,380
py
import matplotlib.pyplot as plt import numpy as np from math import atan, degrees def getDist(pos_drone, pos_dest): return sum((pos_drone - pos_dest) ** 2) ** 0.5 # 6366 -> Earth radius at ~50° lat class simPathMap: def __init__(self, pos_drone, pos_dest, radius=5, pixel_size=1.0): self.root = pos...
[ "MarcLorenz.Doehmer@googlemail.com" ]
MarcLorenz.Doehmer@googlemail.com
0b32c13516210faf3744f8bf6adf1ffdc47891a2
7bed907b24f9a12daab675028c356fffc3bef25b
/setup.py
9aa0ce1c21b8bd4a588c69f05d7c93673610ff0f
[ "MIT" ]
permissive
bakera81/siuba
9ff6c5812aabfbb17b38af65a528361777b1c307
568729989333193ff38c26ac68604aa8ba9b490b
refs/heads/master
2020-07-06T07:30:00.049844
2019-08-16T20:09:55
2019-08-16T20:09:55
202,940,072
0
0
MIT
2019-08-17T23:26:46
2019-08-17T23:26:46
null
UTF-8
Python
false
false
996
py
from setuptools import setup, find_packages # parse version --------------------------------------------------------------- import re import ast _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('siuba/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decod...
[ "machow@princeton.edu" ]
machow@princeton.edu
f78b97bc9bb5530abd9d49f9255ef8b5c1d50c60
64ecdfd4fdde040b5fc6f576e2409fae25f4d30f
/Tarea/logica_proyecto.py
1c4b8aa5d63ef965f3372d7920d32b52f319e375
[]
no_license
AldoAlonsoS/EjerciciosPython3_AldoAlonso
974ebdeb02e3fc00b25fe95e03e206e5590122d9
a43d616294a77a40e81b36fcb5c05a0cd99372ae
refs/heads/master
2022-11-05T12:59:03.690242
2020-07-03T16:57:08
2020-07-03T16:57:08
271,856,769
0
1
null
null
null
null
UTF-8
Python
false
false
2,759
py
from PySide2.QtWidgets import QApplication, QMainWindow, QFileDialog from PySide2.QtCore import Slot from ui_proyecto import Ui_MainWindow from estudiante import Estudiante import socket as s import pickle import sys class MainWindow(QMainWindow): def __init__(self): super(MainWindow, self).__init__() ...
[ "aldoalonsos18@gmail.com" ]
aldoalonsos18@gmail.com
963aa4e4fb0d5b0a6e95edc7422839ca52cfaa72
45cc43cacadbcb53af8e41d42b9fe5d170b75f17
/steps/post_pics_to_pr.py
8977d51cceca52d316aef544c731510b9f73f4e7
[ "Apache-2.0" ]
permissive
pollockm/buildsystem
71e3197044c8f2b9ea0966ededc0bb1e09e0b177
94dde7f27bd265d41dd71b14b04363dfacb3d5f7
refs/heads/master
2020-03-25T16:15:09.366428
2018-08-07T20:44:17
2018-08-07T20:44:17
143,921,918
0
0
Apache-2.0
2018-08-07T20:09:59
2018-08-07T20:09:59
null
UTF-8
Python
false
false
2,503
py
#!/usr/bin/env python3 import requests import json import base64 import os import datetime import logging _moduleLogger = logging.getLogger(__name__) def _create_header(token): return {'Authorization': 'token %s' % token.strip()} def _read_picture(file_name): with open(file_name, 'rb') as text: ret...
[ "john.boyd@ni.com" ]
john.boyd@ni.com
93210f2559dedc461d06fd3785d80e20905b0916
39f4cbaee6d219c715a1919b40d32c39592a7796
/plot_percentile_elev.py
713198c8a9f2274bcb6ddfefd5d43c2b209a793f
[]
no_license
XUEYANZHANG9/IS_snowfire
3e46bfe782e8a591d3992c0671668d9f2a47a1b1
257c70ec1238510b1940e5460c6a0655e5f0d624
refs/heads/master
2021-12-12T13:57:55.397049
2017-01-19T22:38:30
2017-01-19T22:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
### plot elevation percentiles # basins=['cascades','california','southernrockies','northernrockies','whites'] import numpy as np import sys from snowpack_functions import unpack_netcdf_swe_ensavg import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import netCDF4 from netCDF4 import num2date import ...
[ "gergel@hydra.hydro.washington.edu" ]
gergel@hydra.hydro.washington.edu
e0f48ba17a7c20b092c105fc0d304198b54a984a
05876e85e73eb1df6c377d37a5c45b78abab5c1e
/batallas_turnos/main.py
1a6824194a5c44d13d076856e5fcb771230ab04b
[]
no_license
DiegoFHG/batallas_turnos
e50fddf054ed9c0ad7115d9fa8101267a6dc6b51
30e2100399c0ac3d4260f629761cb2612c26e73e
refs/heads/master
2023-03-30T07:02:53.239849
2019-10-08T15:41:45
2019-10-08T15:41:45
213,608,968
0
0
null
2021-03-29T20:38:53
2019-10-08T10:04:29
Python
UTF-8
Python
false
false
8,941
py
import random from os import system, name from time import sleep from PyInquirer import prompt class Game: def __init__(self): self.hero_life = 150 self.vampire_life = 60 self.game_over = False self.defense = False self.hero_fainted = False self.vampire_fainted = F...
[ "diego.hernandez2@alumnos.uneatlantico.es" ]
diego.hernandez2@alumnos.uneatlantico.es
8a88cfdb5eec2620ade3ee7b5d247e95d23ba520
3202f4da43428bbcc4f89341dc93738890632664
/src/gen_graph.py
5d91065d6ab171a0381f94672832da9218f22ed7
[ "GPL-3.0-only" ]
permissive
yjzhang3/ec504_project
906caf182bbcd8e9db3e581a9b899c20e27aa93f
2984ea3ff612b96f10edcc7fafd716eded049342
refs/heads/main
2023-05-08T11:14:22.062727
2021-06-01T20:48:53
2021-06-01T20:48:53
372,079,539
0
0
MIT
2021-05-29T22:23:42
2021-05-29T22:23:41
null
UTF-8
Python
false
false
638
py
import sys import networkx as nx from itertools import combinations from random import random def ER(n, p): V = set([v for v in range(n)]) E = set() for combination in combinations(V, 2): a = random() if a < p: E.add(combination) g = nx.Graph() g.add_nodes_from(V) ...
[ "ronrat@bu.edu" ]
ronrat@bu.edu
a7c60b78f32abc44f71b77a5227cb86f6803806d
659d41f0c737dffc2a6ebd5e773a6513da32e5ba
/scripts/experiments/Experiments729/dephasing_scan_duration.py
adf770c56bb5fd14721f410bb6a9d3b6978b1e37
[]
no_license
HaeffnerLab/sqip
b3d4d570becb1022083ea01fea9472115a183ace
5d18f167bd9a5344dcae3c13cc5a84213fb7c199
refs/heads/master
2020-05-21T23:11:10.448549
2019-11-21T02:00:58
2019-11-21T02:00:58
19,164,232
0
0
null
2019-11-04T04:39:37
2014-04-25T23:54:47
Python
UTF-8
Python
false
false
7,104
py
from common.abstractdevices.script_scanner.scan_methods import experiment from excitations import excitation_dephase from sqip.scripts.scriptLibrary.common_methods_729 import common_methods_729 as cm from sqip.scripts.scriptLibrary import dvParameters import time import labrad from labrad.units import WithUnit from num...
[ "haeffnerlab@gmail.com" ]
haeffnerlab@gmail.com
e622b509f76fcf2d70ef7558ea382ec013669bdf
e8af6df98cb905e839cc2b8a45befbb56109abf7
/NetCoding/with_operation.py
27a10bcdb1b1c0d4a9c0e128d2af613c20d458f9
[]
no_license
csy1030/pyCourse
d075333c5d89d81eebc1ef72f43f96ea40c171ae
67c25ea7cee9c0ea4b0583bfb798575bca8488d0
refs/heads/master
2021-05-23T11:03:11.360747
2020-04-09T21:05:42
2020-04-09T21:05:42
253,257,917
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
# with open('test') as f: # data = f.read() # print(data) f_name = input("input name:") with open(f_name) as f: while True: data = f.read(1024) f_new = open('new_file','w') f_new.write(data)
[ "shuyangc97@gmail.com" ]
shuyangc97@gmail.com
b6a2760e083ef2662b8cb1a29ee20d3d09c6f19b
e76aa4de68988abcfceb7f90ea680505a9159995
/outrigger/__init__.py
358e6751f654522e24e8680c88312573f25843fb
[ "BSD-3-Clause" ]
permissive
ggraham/outrigger
3ab1798fbeb3c871cae4d2a12bcd721032c3a96c
135388192bd8b15fc248653ee50943448ff19160
refs/heads/master
2021-05-26T09:58:02.547479
2020-04-29T19:32:34
2020-04-29T19:32:34
254,086,816
0
0
BSD-3-Clause
2020-04-29T19:32:35
2020-04-08T12:52:08
null
UTF-8
Python
false
false
201
py
# -*- coding: utf-8 -*- __author__ = 'Olga Botvinnik' __email__ = 'olga.botvinnik@gmail.com' __version__ = '1.1.1' __all__ = ['psi', 'region', 'util', 'io', 'validate', 'index', 'common']
[ "olga.botvinnik@gmail.com" ]
olga.botvinnik@gmail.com
6c298475750028ddc507024c20d0d2fb7fe96055
c3e2fd391265f13e9104e2d441d4b046e1b892b5
/Pattern_TD_Trap.py
d0ce2792f0af14cb63f1c9dd57b1ae33cc87077a
[]
no_license
jamesliu1/The-Book-of-Trading-Strategies
262f0824ca3b6ba34daea63fba80bca6492c4a6e
11ecc59db0e0d6ff5ec0685bb6d3dcd26780cacf
refs/heads/main
2023-08-23T15:28:38.112508
2021-10-19T13:28:19
2021-10-19T13:28:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
# Base parameters expected_cost = 0.5 * (lot / 10000) assets = asset_list(1) window = 1000 # Trading parameters horizon = 'H1' # Mass imports my_data = mass_import(0, horizon) def signal(Data): # Adding columns # Bullish signal for i in range(len(Da...
[ "noreply@github.com" ]
noreply@github.com
444220ef6344dec68b3c69e3cc8015b90ab484c2
a9e4c2e9b84481761fc7517f79258a3bea327906
/0x0B-python-input_output/5-save_to_json_file.py
b7a25b7d524e0f31240ab1e706298ad89718a9e4
[]
no_license
jeanpierreba/holbertonschool-higher_level_programming
91aa222d04515358c79714e1d08e3d64d26b73a0
8ddaa1bb0fc157b1e71816fe801d9ed4ec66aa16
refs/heads/main
2023-08-18T05:58:07.494956
2021-09-22T19:13:47
2021-09-22T19:13:47
361,840,380
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
#!/usr/bin/python3 """ Module to save an object into a file """ import json def save_to_json_file(my_obj, filename): """ Write an object to a text file, using a JSON representation """ with open(filename, 'w') as my_file: json.dump(my_obj, my_file)
[ "2713@holbertonschool.com" ]
2713@holbertonschool.com